|
|
!(function(){var By=Object.defineProperty,Ly=Object.defineProperties;var Oy=Object.getOwnPropertyDescriptors;var fh=Object.getOwnPropertySymbols;var Np=Object.prototype.hasOwnProperty,Ip=Object.prototype.propertyIsEnumerable;var Mc=Math.pow,kp=(Hn,ln,ee)=>ln in Hn?By(Hn,ln,{enumerable:!0,configurable:!0,writable:!0,value:ee}):Hn[ln]=ee,ql=(Hn,ln)=>{for(var ee in ln||(ln={}))Np.call(ln,ee)&&kp(Hn,ee,ln[ee]);if(fh)for(var ee of fh(ln))Ip.call(ln,ee)&&kp(Hn,ee,ln[ee]);return Hn},tu=(Hn,ln)=>Ly(Hn,Oy(ln));var hh=(Hn,ln)=>{var ee={};for(var ne in Hn)Np.call(Hn,ne)&&ln.indexOf(ne)<0&&(ee[ne]=Hn[ne]);if(Hn!=null&&fh)for(var ne of fh(Hn))ln.indexOf(ne)<0&&Ip.call(Hn,ne)&&(ee[ne]=Hn[ne]);return ee};var od=(Hn,ln,ee)=>new Promise((ne,fe)=>{var De=ke=>{try{we(ee.next(ke))}catch(de){fe(de)}},qe=ke=>{try{we(ee.throw(ke))}catch(de){fe(de)}},we=ke=>ke.done?ne(ke.value):Promise.resolve(ke.value).then(De,qe);we((ee=ee.apply(Hn,ln)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[4030],{33463:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},28575:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},18299:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},81893:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},42922:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},25877:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},55304:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},63237:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},99569:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},73148:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},56747:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},50881:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},22751:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},34182:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},38308:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},74664:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},17663:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},91034:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},72395:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},53978:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return de}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(me,Pe){return fe.createElement(we.Z,(0,ne.Z)({},me,{ref:Pe,icon:qe}))},de=fe.forwardRef(ke)},60887:function(Hn,ln,ee){"use strict";ee.d(ln,{LB:function(){return wl},g4:function(){return qt},we:function(){return Jn},pE:function(){return st},VK:function(){return At},Cj:function(){return Sl},O1:function(){return bl},Zj:function(){return Pi},VT:function(){return vt}});var ne=ee(67294),fe=ee(73935),De=ee(24285);const qe={display:"none"};function we(He){let{id:tt,value:Nt}=He;return ne.createElement("div",{id:tt,style:qe},Nt)}function ke(He){let{id:tt,announcement:Nt,ariaLiveType:pe="assertive"}=He;const Oe={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return ne.createElement("div",{id:tt,style:Oe,role:"status","aria-live":pe,"aria-atomic":!0},Nt)}function de(){const[He,tt]=(0,ne.useState)("");return{announce:(0,ne.useCallback)(pe=>{pe!=null&&tt(pe)},[]),announcement:He}}const Se=(0,ne.createContext)(null);function me(He){const tt=(0,ne.useContext)(Se);(0,ne.useEffect)(()=>{if(!tt)throw new Error("useDndMonitor must be used within a children of <DndContext>");return tt(He)},[He,tt])}function Pe(){const[He]=(0,ne.useState)(()=>new Set),tt=(0,ne.useCallback)(pe=>(He.add(pe),()=>He.delete(pe)),[He]);return[(0,ne.useCallback)(pe=>{let{type:Oe,event:Ae}=pe;He.forEach(Ke=>{var Qe;return(Qe=Ke[Oe])==null?void 0:Qe.call(Ke,Ae)})},[He]),tt]}const rt={draggable:`
|
|
|
To pick up a draggable item, press the space bar.
|
|
|
While dragging, use the arrow keys to move the item.
|
|
|
Press space again to drop the item in its new position, or press escape to cancel.
|
|
|
`},ue={onDragStart(He){let{active:tt}=He;return"Picked up draggable item "+tt.id+"."},onDragOver(He){let{active:tt,over:Nt}=He;return Nt?"Draggable item "+tt.id+" was moved over droppable area "+Nt.id+".":"Draggable item "+tt.id+" is no longer over a droppable area."},onDragEnd(He){let{active:tt,over:Nt}=He;return Nt?"Draggable item "+tt.id+" was dropped over droppable area "+Nt.id:"Draggable item "+tt.id+" was dropped."},onDragCancel(He){let{active:tt}=He;return"Dragging was cancelled. Draggable item "+tt.id+" was dropped."}};function Ue(He){let{announcements:tt=ue,container:Nt,hiddenTextDescribedById:pe,screenReaderInstructions:Oe=rt}=He;const{announce:Ae,announcement:Ke}=de(),Qe=(0,De.Ld)("DndLiveRegion"),[at,pt]=(0,ne.useState)(!1);if((0,ne.useEffect)(()=>{pt(!0)},[]),me((0,ne.useMemo)(()=>({onDragStart(tn){let{active:Yn}=tn;Ae(tt.onDragStart({active:Yn}))},onDragMove(tn){let{active:Yn,over:fr}=tn;tt.onDragMove&&Ae(tt.onDragMove({active:Yn,over:fr}))},onDragOver(tn){let{active:Yn,over:fr}=tn;Ae(tt.onDragOver({active:Yn,over:fr}))},onDragEnd(tn){let{active:Yn,over:fr}=tn;Ae(tt.onDragEnd({active:Yn,over:fr}))},onDragCancel(tn){let{active:Yn,over:fr}=tn;Ae(tt.onDragCancel({active:Yn,over:fr}))}}),[Ae,tt])),!at)return null;const $t=ne.createElement(ne.Fragment,null,ne.createElement(we,{id:pe,value:Oe.draggable}),ne.createElement(ke,{id:Qe,announcement:Ke}));return Nt?(0,fe.createPortal)($t,Nt):$t}var mt;(function(He){He.DragStart="dragStart",He.DragMove="dragMove",He.DragEnd="dragEnd",He.DragCancel="dragCancel",He.DragOver="dragOver",He.RegisterDroppable="registerDroppable",He.SetDroppableDisabled="setDroppableDisabled",He.UnregisterDroppable="unregisterDroppable"})(mt||(mt={}));function ot(){}function vt(He,tt){return(0,ne.useMemo)(()=>({sensor:He,options:tt!=null?tt:{}}),[He,tt])}function Ee(){for(var He=arguments.length,tt=new Array(He),Nt=0;Nt<He;Nt++)tt[Nt]=arguments[Nt];return useMemo(()=>[...tt].filter(pe=>pe!=null),[...tt])}const wt=Object.freeze({x:0,y:0});function Tt(He,tt){return Math.sqrt(Math.pow(He.x-tt.x,2)+Math.pow(He.y-tt.y,2))}function $e(He,tt){const Nt=getEventCoordinates(He);if(!Nt)return"0 0";const pe={x:(Nt.x-tt.left)/tt.width*100,y:(Nt.y-tt.top)/tt.height*100};return pe.x+"% "+pe.y+"%"}function ut(He,tt){let{data:{value:Nt}}=He,{data:{value:pe}}=tt;return Nt-pe}function ye(He,tt){let{data:{value:Nt}}=He,{data:{value:pe}}=tt;return pe-Nt}function ce(He){let{left:tt,top:Nt,height:pe,width:Oe}=He;return[{x:tt,y:Nt},{x:tt+Oe,y:Nt},{x:tt,y:Nt+pe},{x:tt+Oe,y:Nt+pe}]}function Xe(He,tt){if(!He||He.length===0)return null;const[Nt]=He;return tt?Nt[tt]:Nt}function et(He,tt,Nt){return tt===void 0&&(tt=He.left),Nt===void 0&&(Nt=He.top),{x:tt+He.width*.5,y:Nt+He.height*.5}}const st=He=>{let{collisionRect:tt,droppableRects:Nt,droppableContainers:pe}=He;const Oe=et(tt,tt.left,tt.top),Ae=[];for(const Ke of pe){const{id:Qe}=Ke,at=Nt.get(Qe);if(at){const pt=Tt(et(at),Oe);Ae.push({id:Qe,data:{droppableContainer:Ke,value:pt}})}}return Ae.sort(ut)},ft=He=>{let{collisionRect:tt,droppableRects:Nt,droppableContainers:pe}=He;const Oe=ce(tt),Ae=[];for(const Ke of pe){const{id:Qe}=Ke,at=Nt.get(Qe);if(at){const pt=ce(at),$t=Oe.reduce((Yn,fr,Cr)=>Yn+Tt(pt[Cr],fr),0),tn=Number(($t/4).toFixed(4));Ae.push({id:Qe,data:{droppableContainer:Ke,value:tn}})}}return Ae.sort(ut)};function Re(He,tt){const Nt=Math.max(tt.top,He.top),pe=Math.max(tt.left,He.left),Oe=Math.min(tt.left+tt.width,He.left+He.width),Ae=Math.min(tt.top+tt.height,He.top+He.height),Ke=Oe-pe,Qe=Ae-Nt;if(pe<Oe&&Nt<Ae){const at=tt.width*tt.height,pt=He.width*He.height,$t=Ke*Qe,tn=$t/(at+pt-$t);return Number(tn.toFixed(4))}return 0}const Be=He=>{let{collisionRect:tt,droppableRects:Nt,droppableContainers:pe}=He;const Oe=[];for(const Ae of pe){const{id:Ke}=Ae,Qe=Nt.get(Ke);if(Qe){const at=Re(Qe,tt);at>0&&Oe.push({id:Ke,data:{droppableContainer:Ae,value:at}})}}return Oe.sort(ye)};function gt(He,tt){const{top:Nt,left:pe,bottom:Oe,right:Ae}=tt;return Nt<=He.y&&He.y<=Oe&&pe<=He.x&&He.x<=Ae}const ze=He=>{let{droppableContainers:tt,droppableRects:Nt,pointerCoordinates:pe}=He;if(!pe)return[];const Oe=[];for(const Ae of tt){const{id:Ke}=Ae,Qe=Nt.get(Ke);if(Qe&>(pe,Qe)){const pt=ce(Qe).reduce((tn,Yn)=>tn+Tt(pe,Yn),0),$t=Number((pt/4).toFixed(4));Oe.push({id:Ke,data:{droppableContainer:Ae,value:$t}})}}return Oe.sort(ut)};function ct(He,tt,Nt){return tu(ql({},He),{scaleX:tt&&Nt?tt.width/Nt.width:1,scaleY:tt&&Nt?tt.height/Nt.height:1})}function nt(He,tt){return He&&tt?{x:He.left-tt.left,y:He.top-tt.top}:wt}function Ot(He){return function(Nt){for(var pe=arguments.length,Oe=new Array(pe>1?pe-1:0),Ae=1;Ae<pe;Ae++)Oe[Ae-1]=arguments[Ae];return Oe.reduce((Ke,Qe)=>tu(ql({},Ke),{top:Ke.top+He*Qe.y,bottom:Ke.bottom+He*Qe.y,left:Ke.left+He*Qe.x,right:Ke.right+He*Qe.x}),ql({},Nt))}}const Rt=Ot(1);function an(He){if(He.startsWith("matrix3d(")){const tt=He.slice(9,-1).split(/, /);return{x:+tt[12],y:+tt[13],scaleX:+tt[0],scaleY:+tt[5]}}else if(He.startsWith("matrix(")){const tt=He.slice(7,-1).split(/, /);return{x:+tt[4],y:+tt[5],scaleX:+tt[0],scaleY:+tt[3]}}return null}function ht(He,tt,Nt){const pe=an(tt);if(!pe)return He;const{scaleX:Oe,scaleY:Ae,x:Ke,y:Qe}=pe,at=He.left-Ke-(1-Oe)*parseFloat(Nt),pt=He.top-Qe-(1-Ae)*parseFloat(Nt.slice(Nt.indexOf(" ")+1)),$t=Oe?He.width/Oe:He.width,tn=Ae?He.height/Ae:He.height;return{width:$t,height:tn,top:pt,right:at+$t,bottom:pt+tn,left:at}}const Ne={ignoreTransform:!1};function At(He,tt){tt===void 0&&(tt=Ne);let Nt=He.getBoundingClientRect();if(tt.ignoreTransform){const{transform:pt,transformOrigin:$t}=(0,De.Jj)(He).getComputedStyle(He);pt&&(Nt=ht(Nt,pt,$t))}const{top:pe,left:Oe,width:Ae,height:Ke,bottom:Qe,right:at}=Nt;return{top:pe,left:Oe,width:Ae,height:Ke,bottom:Qe,right:at}}function An(He){return At(He,{ignoreTransform:!0})}function jt(He){const tt=He.innerWidth,Nt=He.innerHeight;return{top:0,left:0,right:tt,bottom:Nt,width:tt,height:Nt}}function Mt(He,tt){return tt===void 0&&(tt=(0,De.Jj)(He).getComputedStyle(He)),tt.position==="fixed"}function Kt(He,tt){tt===void 0&&(tt=(0,De.Jj)(He).getComputedStyle(He));const Nt=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(Oe=>{const Ae=tt[Oe];return typeof Ae=="string"?Nt.test(Ae):!1})}function sn(He,tt){const Nt=[];function pe(Oe){if(tt!=null&&Nt.length>=tt||!Oe)return Nt;if((0,De.qk)(Oe)&&Oe.scrollingElement!=null&&!Nt.includes(Oe.scrollingElement))return Nt.push(Oe.scrollingElement),Nt;if(!(0,De.Re)(Oe)||(0,De.vZ)(Oe)||Nt.includes(Oe))return Nt;const Ae=(0,De.Jj)(He).getComputedStyle(Oe);return Oe!==He&&Kt(Oe,Ae)&&Nt.push(Oe),Mt(Oe,Ae)?Nt:pe(Oe.parentNode)}return He?pe(He):Nt}function wn(He){const[tt]=sn(He,1);return tt!=null?tt:null}function vn(He){return!De.Nq||!He?null:(0,De.FJ)(He)?He:(0,De.UG)(He)?(0,De.qk)(He)||He===(0,De.r3)(He).scrollingElement?window:(0,De.Re)(He)?He:null:null}function cn(He){return(0,De.FJ)(He)?He.scrollX:He.scrollLeft}function Nn(He){return(0,De.FJ)(He)?He.scrollY:He.scrollTop}function dr(He){return{x:cn(He),y:Nn(He)}}var En;(function(He){He[He.Forward=1]="Forward",He[He.Backward=-1]="Backward"})(En||(En={}));function Ge(He){return!De.Nq||!He?!1:He===document.scrollingElement}function ve(He){const tt={x:0,y:0},Nt=Ge(He)?{height:window.innerHeight,width:window.innerWidth}:{height:He.clientHeight,width:He.clientWidth},pe={x:He.scrollWidth-Nt.width,y:He.scrollHeight-Nt.height},Oe=He.scrollTop<=tt.y,Ae=He.scrollLeft<=tt.x,Ke=He.scrollTop>=pe.y,Qe=He.scrollLeft>=pe.x;return{isTop:Oe,isLeft:Ae,isBottom:Ke,isRight:Qe,maxScroll:pe,minScroll:tt}}const he={x:.2,y:.2};function be(He,tt,Nt,pe,Oe){let{top:Ae,left:Ke,right:Qe,bottom:at}=Nt;pe===void 0&&(pe=10),Oe===void 0&&(Oe=he);const{isTop:pt,isBottom:$t,isLeft:tn,isRight:Yn}=ve(He),fr={x:0,y:0},Cr={x:0,y:0},Dn={height:tt.height*Oe.y,width:tt.width*Oe.x};return!pt&&Ae<=tt.top+Dn.height?(fr.y=En.Backward,Cr.y=pe*Math.abs((tt.top+Dn.height-Ae)/Dn.height)):!$t&&at>=tt.bottom-Dn.height&&(fr.y=En.Forward,Cr.y=pe*Math.abs((tt.bottom-Dn.height-at)/Dn.height)),!Yn&&Qe>=tt.right-Dn.width?(fr.x=En.Forward,Cr.x=pe*Math.abs((tt.right-Dn.width-Qe)/Dn.width)):!tn&&Ke<=tt.left+Dn.width&&(fr.x=En.Backward,Cr.x=pe*Math.abs((tt.left+Dn.width-Ke)/Dn.width)),{direction:fr,speed:Cr}}function ge(He){if(He===document.scrollingElement){const{innerWidth:Ae,innerHeight:Ke}=window;return{top:0,left:0,right:Ae,bottom:Ke,width:Ae,height:Ke}}const{top:tt,left:Nt,right:pe,bottom:Oe}=He.getBoundingClientRect();return{top:tt,left:Nt,right:pe,bottom:Oe,width:He.clientWidth,height:He.clientHeight}}function se(He){return He.reduce((tt,Nt)=>(0,De.IH)(tt,dr(Nt)),wt)}function Ye(He){return He.reduce((tt,Nt)=>tt+cn(Nt),0)}function xt(He){return He.reduce((tt,Nt)=>tt+Nn(Nt),0)}function pn(He,tt){if(tt===void 0&&(tt=At),!He)return;const{top:Nt,left:pe,bottom:Oe,right:Ae}=tt(He);wn(He)&&(Oe<=0||Ae<=0||Nt>=window.innerHeight||pe>=window.innerWidth)&&He.scrollIntoView({block:"center",inline:"center"})}const on=[["x",["left","right"],Ye],["y",["top","bottom"],xt]];class In{constructor(tt,Nt){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const pe=sn(Nt),Oe=se(pe);this.rect=ql({},tt),this.width=tt.width,this.height=tt.height;for(const[Ae,Ke,Qe]of on)for(const at of Ke)Object.defineProperty(this,at,{get:()=>{const pt=Qe(pe),$t=Oe[Ae]-pt;return this.rect[at]+$t},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Qn{constructor(tt){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(Nt=>{var pe;return(pe=this.target)==null?void 0:pe.removeEventListener(...Nt)})},this.target=tt}add(tt,Nt,pe){var Oe;(Oe=this.target)==null||Oe.addEventListener(tt,Nt,pe),this.listeners.push([tt,Nt,pe])}}function _n(He){const{EventTarget:tt}=(0,De.Jj)(He);return He instanceof tt?He:(0,De.r3)(He)}function Vt(He,tt){const Nt=Math.abs(He.x),pe=Math.abs(He.y);return typeof tt=="number"?Math.sqrt(Mc(Nt,2)+Mc(pe,2))>tt:"x"in tt&&"y"in tt?Nt>tt.x&&pe>tt.y:"x"in tt?Nt>tt.x:"y"in tt?pe>tt.y:!1}var gn;(function(He){He.Click="click",He.DragStart="dragstart",He.Keydown="keydown",He.ContextMenu="contextmenu",He.Resize="resize",He.SelectionChange="selectionchange",He.VisibilityChange="visibilitychange"})(gn||(gn={}));function Fn(He){He.preventDefault()}function Tn(He){He.stopPropagation()}var qt;(function(He){He.Space="Space",He.Down="ArrowDown",He.Right="ArrowRight",He.Left="ArrowLeft",He.Up="ArrowUp",He.Esc="Escape",He.Enter="Enter"})(qt||(qt={}));const Dr={start:[qt.Space,qt.Enter],cancel:[qt.Esc],end:[qt.Space,qt.Enter]},Ut=(He,tt)=>{let{currentCoordinates:Nt}=tt;switch(He.code){case qt.Right:return tu(ql({},Nt),{x:Nt.x+25});case qt.Left:return tu(ql({},Nt),{x:Nt.x-25});case qt.Down:return tu(ql({},Nt),{y:Nt.y+25});case qt.Up:return tu(ql({},Nt),{y:Nt.y-25})}};class nn{constructor(tt){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=tt;const{event:{target:Nt}}=tt;this.props=tt,this.listeners=new Qn((0,De.r3)(Nt)),this.windowListeners=new Qn((0,De.Jj)(Nt)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(gn.Resize,this.handleCancel),this.windowListeners.add(gn.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(gn.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:tt,onStart:Nt}=this.props,pe=tt.node.current;pe&&pn(pe),Nt(wt)}handleKeyDown(tt){if((0,De.vd)(tt)){const{active:Nt,context:pe,options:Oe}=this.props,{keyboardCodes:Ae=Dr,coordinateGetter:Ke=Ut,scrollBehavior:Qe="smooth"}=Oe,{code:at}=tt;if(Ae.end.includes(at)){this.handleEnd(tt);return}if(Ae.cancel.includes(at)){this.handleCancel(tt);return}const{collisionRect:pt}=pe.current,$t=pt?{x:pt.left,y:pt.top}:wt;this.referenceCoordinates||(this.referenceCoordinates=$t);const tn=Ke(tt,{active:Nt,context:pe.current,currentCoordinates:$t});if(tn){const Yn=(0,De.$X)(tn,$t),fr={x:0,y:0},{scrollableAncestors:Cr}=pe.current;for(const Dn of Cr){const qn=tt.code,{isTop:Xn,isRight:Ar,isLeft:Or,isBottom:Kr,maxScroll:Tr,minScroll:_r}=ve(Dn),Zr=ge(Dn),qr={x:Math.min(qn===qt.Right?Zr.right-Zr.width/2:Zr.right,Math.max(qn===qt.Right?Zr.left:Zr.left+Zr.width/2,tn.x)),y:Math.min(qn===qt.Down?Zr.bottom-Zr.height/2:Zr.bottom,Math.max(qn===qt.Down?Zr.top:Zr.top+Zr.height/2,tn.y))},Dt=qn===qt.Right&&!Ar||qn===qt.Left&&!Or,Pt=qn===qt.Down&&!Kr||qn===qt.Up&&!Xn;if(Dt&&qr.x!==tn.x){const Kn=Dn.scrollLeft+Yn.x,Bn=qn===qt.Right&&Kn<=Tr.x||qn===qt.Left&&Kn>=_r.x;if(Bn&&!Yn.y){Dn.scrollTo({left:Kn,behavior:Qe});return}Bn?fr.x=Dn.scrollLeft-Kn:fr.x=qn===qt.Right?Dn.scrollLeft-Tr.x:Dn.scrollLeft-_r.x,fr.x&&Dn.scrollBy({left:-fr.x,behavior:Qe});break}else if(Pt&&qr.y!==tn.y){const Kn=Dn.scrollTop+Yn.y,Bn=qn===qt.Down&&Kn<=Tr.y||qn===qt.Up&&Kn>=_r.y;if(Bn&&!Yn.x){Dn.scrollTo({top:Kn,behavior:Qe});return}Bn?fr.y=Dn.scrollTop-Kn:fr.y=qn===qt.Down?Dn.scrollTop-Tr.y:Dn.scrollTop-_r.y,fr.y&&Dn.scrollBy({top:-fr.y,behavior:Qe});break}}this.handleMove(tt,(0,De.IH)((0,De.$X)(tn,this.referenceCoordinates),fr))}}}handleMove(tt,Nt){const{onMove:pe}=this.props;tt.preventDefault(),pe(Nt)}handleEnd(tt){const{onEnd:Nt}=this.props;tt.preventDefault(),this.detach(),Nt()}handleCancel(tt){const{onCancel:Nt}=this.props;tt.preventDefault(),this.detach(),Nt()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}nn.activators=[{eventName:"onKeyDown",handler:(He,tt,Nt)=>{let{keyboardCodes:pe=Dr,onActivation:Oe}=tt,{active:Ae}=Nt;const{code:Ke}=He.nativeEvent;if(pe.start.includes(Ke)){const Qe=Ae.activatorNode.current;return Qe&&He.target!==Qe?!1:(He.preventDefault(),Oe==null||Oe({event:He.nativeEvent}),!0)}return!1}}];function Nr(He){return!!(He&&"distance"in He)}function cr(He){return!!(He&&"delay"in He)}class Fr{constructor(tt,Nt,pe){var Oe;pe===void 0&&(pe=_n(tt.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=tt,this.events=Nt;const{event:Ae}=tt,{target:Ke}=Ae;this.props=tt,this.events=Nt,this.document=(0,De.r3)(Ke),this.documentListeners=new Qn(this.document),this.listeners=new Qn(pe),this.windowListeners=new Qn((0,De.Jj)(Ke)),this.initialCoordinates=(Oe=(0,De.DC)(Ae))!=null?Oe:wt,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:tt,props:{options:{activationConstraint:Nt,bypassActivationConstraint:pe}}}=this;if(this.listeners.add(tt.move.name,this.handleMove,{passive:!1}),this.listeners.add(tt.end.name,this.handleEnd),this.windowListeners.add(gn.Resize,this.handleCancel),this.windowListeners.add(gn.DragStart,Fn),this.windowListeners.add(gn.VisibilityChange,this.handleCancel),this.windowListeners.add(gn.ContextMenu,Fn),this.documentListeners.add(gn.Keydown,this.handleKeydown),Nt){if(pe!=null&&pe({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(cr(Nt)){this.timeoutId=setTimeout(this.handleStart,Nt.delay);return}if(Nr(Nt))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:tt}=this,{onStart:Nt}=this.props;tt&&(this.activated=!0,this.documentListeners.add(gn.Click,Tn,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(gn.SelectionChange,this.removeTextSelection),Nt(tt))}handleMove(tt){var Nt;const{activated:pe,initialCoordinates:Oe,props:Ae}=this,{onMove:Ke,options:{activationConstraint:Qe}}=Ae;if(!Oe)return;const at=(Nt=(0,De.DC)(tt))!=null?Nt:wt,pt=(0,De.$X)(Oe,at);if(!pe&&Qe){if(Nr(Qe)){if(Qe.tolerance!=null&&Vt(pt,Qe.tolerance))return this.handleCancel();if(Vt(pt,Qe.distance))return this.handleStart()}return cr(Qe)&&Vt(pt,Qe.tolerance)?this.handleCancel():void 0}tt.cancelable&&tt.preventDefault(),Ke(at)}handleEnd(){const{onEnd:tt}=this.props;this.detach(),tt()}handleCancel(){const{onCancel:tt}=this.props;this.detach(),tt()}handleKeydown(tt){tt.code===qt.Esc&&this.handleCancel()}removeTextSelection(){var tt;(tt=this.document.getSelection())==null||tt.removeAllRanges()}}const aa={move:{name:"pointermove"},end:{name:"pointerup"}};class Jn extends Fr{constructor(tt){const{event:Nt}=tt,pe=(0,De.r3)(Nt.target);super(tt,aa,pe)}}Jn.activators=[{eventName:"onPointerDown",handler:(He,tt)=>{let{nativeEvent:Nt}=He,{onActivation:pe}=tt;return!Nt.isPrimary||Nt.button!==0?!1:(pe==null||pe({event:Nt}),!0)}}];const Ia={move:{name:"mousemove"},end:{name:"mouseup"}};var Ta;(function(He){He[He.RightClick=2]="RightClick"})(Ta||(Ta={}));class ti extends Fr{constructor(tt){super(tt,Ia,(0,De.r3)(tt.event.target))}}ti.activators=[{eventName:"onMouseDown",handler:(He,tt)=>{let{nativeEvent:Nt}=He,{onActivation:pe}=tt;return Nt.button===Ta.RightClick?!1:(pe==null||pe({event:Nt}),!0)}}];const Jr={move:{name:"touchmove"},end:{name:"touchend"}};class ja extends Fr{constructor(tt){super(tt,Jr)}static setup(){return window.addEventListener(Jr.move.name,tt,{capture:!1,passive:!1}),function(){window.removeEventListener(Jr.move.name,tt)};function tt(){}}}ja.activators=[{eventName:"onTouchStart",handler:(He,tt)=>{let{nativeEvent:Nt}=He,{onActivation:pe}=tt;const{touches:Oe}=Nt;return Oe.length>1?!1:(pe==null||pe({event:Nt}),!0)}}];var Si;(function(He){He[He.Pointer=0]="Pointer",He[He.DraggableRect=1]="DraggableRect"})(Si||(Si={}));var $a;(function(He){He[He.TreeOrder=0]="TreeOrder",He[He.ReversedTreeOrder=1]="ReversedTreeOrder"})($a||($a={}));function ji(He){let{acceleration:tt,activator:Nt=Si.Pointer,canScroll:pe,draggingRect:Oe,enabled:Ae,interval:Ke=5,order:Qe=$a.TreeOrder,pointerCoordinates:at,scrollableAncestors:pt,scrollableAncestorRects:$t,delta:tn,threshold:Yn}=He;const fr=Ln({delta:tn,disabled:!Ae}),[Cr,Dn]=(0,De.Yz)(),qn=(0,ne.useRef)({x:0,y:0}),Xn=(0,ne.useRef)({x:0,y:0}),Ar=(0,ne.useMemo)(()=>{switch(Nt){case Si.Pointer:return at?{top:at.y,bottom:at.y,left:at.x,right:at.x}:null;case Si.DraggableRect:return Oe}},[Nt,Oe,at]),Or=(0,ne.useRef)(null),Kr=(0,ne.useCallback)(()=>{const _r=Or.current;if(!_r)return;const Zr=qn.current.x*Xn.current.x,qr=qn.current.y*Xn.current.y;_r.scrollBy(Zr,qr)},[]),Tr=(0,ne.useMemo)(()=>Qe===$a.TreeOrder?[...pt].reverse():pt,[Qe,pt]);(0,ne.useEffect)(()=>{if(!Ae||!pt.length||!Ar){Dn();return}for(const _r of Tr){if((pe==null?void 0:pe(_r))===!1)continue;const Zr=pt.indexOf(_r),qr=$t[Zr];if(!qr)continue;const{direction:Dt,speed:Pt}=be(_r,qr,Ar,tt,Yn);for(const Kn of["x","y"])fr[Kn][Dt[Kn]]||(Pt[Kn]=0,Dt[Kn]=0);if(Pt.x>0||Pt.y>0){Dn(),Or.current=_r,Cr(Kr,Ke),qn.current=Pt,Xn.current=Dt;return}}qn.current={x:0,y:0},Xn.current={x:0,y:0},Dn()},[tt,Kr,pe,Dn,Ae,Ke,JSON.stringify(Ar),JSON.stringify(fr),Cr,pt,Tr,$t,JSON.stringify(Yn)])}const Ni={x:{[En.Backward]:!1,[En.Forward]:!1},y:{[En.Backward]:!1,[En.Forward]:!1}};function Ln(He){let{delta:tt,disabled:Nt}=He;const pe=(0,De.D9)(tt);return(0,De.Gj)(Oe=>{if(Nt||!pe||!Oe)return Ni;const Ae={x:Math.sign(tt.x-pe.x),y:Math.sign(tt.y-pe.y)};return{x:{[En.Backward]:Oe.x[En.Backward]||Ae.x===-1,[En.Forward]:Oe.x[En.Forward]||Ae.x===1},y:{[En.Backward]:Oe.y[En.Backward]||Ae.y===-1,[En.Forward]:Oe.y[En.Forward]||Ae.y===1}}},[Nt,tt,pe])}function Pn(He,tt){const Nt=tt!==null?He.get(tt):void 0,pe=Nt?Nt.node.current:null;return(0,De.Gj)(Oe=>{var Ae;return tt===null?null:(Ae=pe!=null?pe:Oe)!=null?Ae:null},[pe,tt])}function rr(He,tt){return(0,ne.useMemo)(()=>He.reduce((Nt,pe)=>{const{sensor:Oe}=pe,Ae=Oe.activators.map(Ke=>({eventName:Ke.eventName,handler:tt(Ke.handler,pe)}));return[...Nt,...Ae]},[]),[He,tt])}var or;(function(He){He[He.Always=0]="Always",He[He.BeforeDragging=1]="BeforeDragging",He[He.WhileDragging=2]="WhileDragging"})(or||(or={}));var $r;(function(He){He.Optimized="optimized"})($r||($r={}));const Br=new Map;function jr(He,tt){let{dragging:Nt,dependencies:pe,config:Oe}=tt;const[Ae,Ke]=(0,ne.useState)(null),{frequency:Qe,measure:at,strategy:pt}=Oe,$t=(0,ne.useRef)(He),tn=qn(),Yn=(0,De.Ey)(tn),fr=(0,ne.useCallback)(function(Xn){Xn===void 0&&(Xn=[]),!Yn.current&&Ke(Ar=>Ar===null?Xn:Ar.concat(Xn.filter(Or=>!Ar.includes(Or))))},[Yn]),Cr=(0,ne.useRef)(null),Dn=(0,De.Gj)(Xn=>{if(tn&&!Nt)return Br;if(!Xn||Xn===Br||$t.current!==He||Ae!=null){const Ar=new Map;for(let Or of He){if(!Or)continue;if(Ae&&Ae.length>0&&!Ae.includes(Or.id)&&Or.rect.current){Ar.set(Or.id,Or.rect.current);continue}const Kr=Or.node.current,Tr=Kr?new In(at(Kr),Kr):null;Or.rect.current=Tr,Tr&&Ar.set(Or.id,Tr)}return Ar}return Xn},[He,Ae,Nt,tn,at]);return(0,ne.useEffect)(()=>{$t.current=He},[He]),(0,ne.useEffect)(()=>{tn||fr()},[Nt,tn]),(0,ne.useEffect)(()=>{Ae&&Ae.length>0&&Ke(null)},[JSON.stringify(Ae)]),(0,ne.useEffect)(()=>{tn||typeof Qe!="number"||Cr.current!==null||(Cr.current=setTimeout(()=>{fr(),Cr.current=null},Qe))},[Qe,tn,fr,...pe]),{droppableRects:Dn,measureDroppableContainers:fr,measuringScheduled:Ae!=null};function qn(){switch(pt){case or.Always:return!1;case or.BeforeDragging:return Nt;default:return!Nt}}}function hn(He,tt){return(0,De.Gj)(Nt=>He?Nt||(typeof tt=="function"?tt(He):He):null,[tt,He])}function It(He,tt){return hn(He,tt)}function Zt(He){let{callback:tt,disabled:Nt}=He;const pe=(0,De.zX)(tt),Oe=(0,ne.useMemo)(()=>{if(Nt||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:Ae}=window;return new Ae(pe)},[pe,Nt]);return(0,ne.useEffect)(()=>()=>Oe==null?void 0:Oe.disconnect(),[Oe]),Oe}function Gt(He){let{callback:tt,disabled:Nt}=He;const pe=(0,De.zX)(tt),Oe=(0,ne.useMemo)(()=>{if(Nt||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:Ae}=window;return new Ae(pe)},[Nt]);return(0,ne.useEffect)(()=>()=>Oe==null?void 0:Oe.disconnect(),[Oe]),Oe}function Gn(He){return new In(At(He),He)}function kt(He,tt,Nt){tt===void 0&&(tt=Gn);const[pe,Oe]=(0,ne.useReducer)(Qe,null),Ae=Zt({callback(at){if(He)for(const pt of at){const{type:$t,target:tn}=pt;if($t==="childList"&&tn instanceof HTMLElement&&tn.contains(He)){Oe();break}}}}),Ke=Gt({callback:Oe});return(0,De.LI)(()=>{Oe(),He?(Ke==null||Ke.observe(He),Ae==null||Ae.observe(document.body,{childList:!0,subtree:!0})):(Ke==null||Ke.disconnect(),Ae==null||Ae.disconnect())},[He]),pe;function Qe(at){if(!He)return null;if(He.isConnected===!1){var pt;return(pt=at!=null?at:Nt)!=null?pt:null}const $t=tt(He);return JSON.stringify(at)===JSON.stringify($t)?at:$t}}function mn(He){const tt=hn(He);return nt(He,tt)}const Zn=[];function Mn(He){const tt=(0,ne.useRef)(He),Nt=(0,De.Gj)(pe=>He?pe&&pe!==Zn&&He&&tt.current&&He.parentNode===tt.current.parentNode?pe:sn(He):Zn,[He]);return(0,ne.useEffect)(()=>{tt.current=He},[He]),Nt}function ar(He){const[tt,Nt]=(0,ne.useState)(null),pe=(0,ne.useRef)(He),Oe=(0,ne.useCallback)(Ae=>{const Ke=vn(Ae.target);Ke&&Nt(Qe=>Qe?(Qe.set(Ke,dr(Ke)),new Map(Qe)):null)},[]);return(0,ne.useEffect)(()=>{const Ae=pe.current;if(He!==Ae){Ke(Ae);const Qe=He.map(at=>{const pt=vn(at);return pt?(pt.addEventListener("scroll",Oe,{passive:!0}),[pt,dr(pt)]):null}).filter(at=>at!=null);Nt(Qe.length?new Map(Qe):null),pe.current=He}return()=>{Ke(He),Ke(Ae)};function Ke(Qe){Qe.forEach(at=>{const pt=vn(at);pt==null||pt.removeEventListener("scroll",Oe)})}},[Oe,He]),(0,ne.useMemo)(()=>He.length?tt?Array.from(tt.values()).reduce((Ae,Ke)=>(0,De.IH)(Ae,Ke),wt):se(He):wt,[He,tt])}function hr(He,tt){tt===void 0&&(tt=[]);const Nt=(0,ne.useRef)(null);return(0,ne.useEffect)(()=>{Nt.current=null},tt),(0,ne.useEffect)(()=>{const pe=He!==wt;pe&&!Nt.current&&(Nt.current=He),!pe&&Nt.current&&(Nt.current=null)},[He]),Nt.current?(0,De.$X)(He,Nt.current):wt}function dn(He){(0,ne.useEffect)(()=>{if(!De.Nq)return;const tt=He.map(Nt=>{let{sensor:pe}=Nt;return pe.setup==null?void 0:pe.setup()});return()=>{for(const Nt of tt)Nt==null||Nt()}},He.map(tt=>{let{sensor:Nt}=tt;return Nt}))}function za(He,tt){return(0,ne.useMemo)(()=>He.reduce((Nt,pe)=>{let{eventName:Oe,handler:Ae}=pe;return Nt[Oe]=Ke=>{Ae(Ke,tt)},Nt},{}),[He,tt])}function pa(He){return(0,ne.useMemo)(()=>He?jt(He):null,[He])}const ma=[];function Sa(He,tt){tt===void 0&&(tt=At);const[Nt]=He,pe=pa(Nt?(0,De.Jj)(Nt):null),[Oe,Ae]=(0,ne.useReducer)(Qe,ma),Ke=Gt({callback:Ae});return He.length>0&&Oe===ma&&Ae(),(0,De.LI)(()=>{He.length?He.forEach(at=>Ke==null?void 0:Ke.observe(at)):(Ke==null||Ke.disconnect(),Ae())},[He]),Oe;function Qe(){return He.length?He.map(at=>Ge(at)?pe:new In(tt(at),at)):ma}}function Aa(He){if(!He)return null;if(He.children.length>1)return He;const tt=He.children[0];return(0,De.Re)(tt)?tt:He}function ka(He){let{measure:tt}=He;const[Nt,pe]=(0,ne.useState)(null),Oe=(0,ne.useCallback)(pt=>{for(const{target:$t}of pt)if((0,De.Re)($t)){pe(tn=>{const Yn=tt($t);return tn?tu(ql({},tn),{width:Yn.width,height:Yn.height}):Yn});break}},[tt]),Ae=Gt({callback:Oe}),Ke=(0,ne.useCallback)(pt=>{const $t=Aa(pt);Ae==null||Ae.disconnect(),$t&&(Ae==null||Ae.observe($t)),pe($t?tt($t):null)},[tt,Ae]),[Qe,at]=(0,De.wm)(Ke);return(0,ne.useMemo)(()=>({nodeRef:Qe,rect:Nt,setRef:at}),[Nt,Qe,at])}const Er=[{sensor:Jn,options:{}},{sensor:nn,options:{}}],Gr={current:{}},Zi={draggable:{measure:An},droppable:{measure:An,strategy:or.WhileDragging,frequency:$r.Optimized},dragOverlay:{measure:At}};class Ii extends Map{get(tt){var Nt;return tt!=null&&(Nt=super.get(tt))!=null?Nt:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(tt=>{let{disabled:Nt}=tt;return!Nt})}getNodeFor(tt){var Nt,pe;return(Nt=(pe=this.get(tt))==null?void 0:pe.node.current)!=null?Nt:void 0}}const ni={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Ii,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:ot},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Zi,measureDroppableContainers:ot,windowRect:null,measuringScheduled:!1},hi={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:ot,draggableNodes:new Map,over:null,measureDroppableContainers:ot},io=(0,ne.createContext)(hi),ri=(0,ne.createContext)(ni);function ho(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Ii}}}function ia(He,tt){switch(tt.type){case mt.DragStart:return tu(ql({},He),{draggable:tu(ql({},He.draggable),{initialCoordinates:tt.initialCoordinates,active:tt.active})});case mt.DragMove:return He.draggable.active?tu(ql({},He),{draggable:tu(ql({},He.draggable),{translate:{x:tt.coordinates.x-He.draggable.initialCoordinates.x,y:tt.coordinates.y-He.draggable.initialCoordinates.y}})}):He;case mt.DragEnd:case mt.DragCancel:return tu(ql({},He),{draggable:tu(ql({},He.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case mt.RegisterDroppable:{const{element:Nt}=tt,{id:pe}=Nt,Oe=new Ii(He.droppable.containers);return Oe.set(pe,Nt),tu(ql({},He),{droppable:tu(ql({},He.droppable),{containers:Oe})})}case mt.SetDroppableDisabled:{const{id:Nt,key:pe,disabled:Oe}=tt,Ae=He.droppable.containers.get(Nt);if(!Ae||pe!==Ae.key)return He;const Ke=new Ii(He.droppable.containers);return Ke.set(Nt,tu(ql({},Ae),{disabled:Oe})),tu(ql({},He),{droppable:tu(ql({},He.droppable),{containers:Ke})})}case mt.UnregisterDroppable:{const{id:Nt,key:pe}=tt,Oe=He.droppable.containers.get(Nt);if(!Oe||pe!==Oe.key)return He;const Ae=new Ii(He.droppable.containers);return Ae.delete(Nt),tu(ql({},He),{droppable:tu(ql({},He.droppable),{containers:Ae})})}default:return He}}function so(He){let{disabled:tt}=He;const{active:Nt,activatorEvent:pe,draggableNodes:Oe}=(0,ne.useContext)(io),Ae=(0,De.D9)(pe),Ke=(0,De.D9)(Nt==null?void 0:Nt.id);return(0,ne.useEffect)(()=>{if(!tt&&!pe&&Ae&&Ke!=null){if(!(0,De.vd)(Ae)||document.activeElement===Ae.target)return;const Qe=Oe.get(Ke);if(!Qe)return;const{activatorNode:at,node:pt}=Qe;if(!at.current&&!pt.current)return;requestAnimationFrame(()=>{for(const $t of[at.current,pt.current]){if(!$t)continue;const tn=(0,De.so)($t);if(tn){tn.focus();break}}})}},[pe,tt,Oe,Ke,Ae]),null}function xo(He,tt){let Oe=tt,{transform:Nt}=Oe,pe=hh(Oe,["transform"]);return He!=null&&He.length?He.reduce((Ae,Ke)=>Ke(ql({transform:Ae},pe)),Nt):Nt}function ml(He){return(0,ne.useMemo)(()=>({draggable:ql(ql({},Zi.draggable),He==null?void 0:He.draggable),droppable:ql(ql({},Zi.droppable),He==null?void 0:He.droppable),dragOverlay:ql(ql({},Zi.dragOverlay),He==null?void 0:He.dragOverlay)}),[He==null?void 0:He.draggable,He==null?void 0:He.droppable,He==null?void 0:He.dragOverlay])}function vl(He){let{activeNode:tt,measure:Nt,initialRect:pe,config:Oe=!0}=He;const Ae=(0,ne.useRef)(!1),{x:Ke,y:Qe}=typeof Oe=="boolean"?{x:Oe,y:Oe}:Oe;(0,De.LI)(()=>{if(!Ke&&!Qe||!tt){Ae.current=!1;return}if(Ae.current||!pe)return;const pt=tt==null?void 0:tt.node.current;if(!pt||pt.isConnected===!1)return;const $t=Nt(pt),tn=nt($t,pe);if(Ke||(tn.x=0),Qe||(tn.y=0),Ae.current=!0,Math.abs(tn.x)>0||Math.abs(tn.y)>0){const Yn=wn(pt);Yn&&Yn.scrollBy({top:tn.y,left:tn.x})}},[tt,Ke,Qe,pe,Nt])}const Yo=(0,ne.createContext)(tu(ql({},wt),{scaleX:1,scaleY:1}));var uo;(function(He){He[He.Uninitialized=0]="Uninitialized",He[He.Initializing=1]="Initializing",He[He.Initialized=2]="Initialized"})(uo||(uo={}));const wl=(0,ne.memo)(function(tt){var Nt,pe,Oe,Ae;let Ql=tt,{id:Ke,accessibility:Qe,autoScroll:at=!0,children:pt,sensors:$t=Er,collisionDetection:tn=Be,measuring:Yn,modifiers:fr}=Ql,Cr=hh(Ql,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const Dn=(0,ne.useReducer)(ia,void 0,ho),[qn,Xn]=Dn,[Ar,Or]=Pe(),[Kr,Tr]=(0,ne.useState)(uo.Uninitialized),_r=Kr===uo.Initialized,{draggable:{active:Zr,nodes:qr,translate:Dt},droppable:{containers:Pt}}=qn,Kn=Zr?qr.get(Zr):null,Bn=(0,ne.useRef)({initial:null,translated:null}),xr=(0,ne.useMemo)(()=>{var Al;return Zr!=null?{id:Zr,data:(Al=Kn==null?void 0:Kn.data)!=null?Al:Gr,rect:Bn}:null},[Zr,Kn]),zr=(0,ne.useRef)(null),[Lr,ca]=(0,ne.useState)(null),[un,Jt]=(0,ne.useState)(null),yn=(0,De.Ey)(Cr,Object.values(Cr)),lr=(0,De.Ld)("DndDescribedBy",Ke),Xr=(0,ne.useMemo)(()=>Pt.getEnabled(),[Pt]),Ir=ml(Yn),{droppableRects:yr,measureDroppableContainers:ba,measuringScheduled:va}=jr(Xr,{dragging:_r,dependencies:[Dt.x,Dt.y],config:Ir.droppable}),Oa=Pn(qr,Zr),da=(0,ne.useMemo)(()=>un?(0,De.DC)(un):null,[un]),Ur=ls(),Wa=It(Oa,Ir.draggable.measure);vl({activeNode:Zr?qr.get(Zr):null,config:Ur.layoutShiftCompensation,initialRect:Wa,measure:Ir.draggable.measure});const ai=kt(Oa,Ir.draggable.measure,Wa),_a=kt(Oa?Oa.parentElement:null),Va=(0,ne.useRef)({activatorEvent:null,active:null,activeNode:Oa,collisionRect:null,collisions:null,droppableRects:yr,draggableNodes:qr,draggingNode:null,draggingNodeRect:null,droppableContainers:Pt,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),ei=Pt.getNodeFor((Nt=Va.current.over)==null?void 0:Nt.id),Yi=ka({measure:Ir.dragOverlay.measure}),Ei=(pe=Yi.nodeRef.current)!=null?pe:Oa,Wi=_r?(Oe=Yi.rect)!=null?Oe:ai:null,Gi=!!(Yi.nodeRef.current&&Yi.rect),po=mn(Gi?null:ai),Qi=pa(Ei?(0,De.Jj)(Ei):null),So=Mn(_r?ei!=null?ei:Oa:null),Ki=Sa(So),Ai=xo(fr,{transform:{x:Dt.x-po.x,y:Dt.y-po.y,scaleX:1,scaleY:1},activatorEvent:un,active:xr,activeNodeRect:ai,containerNodeRect:_a,draggingNodeRect:Wi,over:Va.current.over,overlayNodeRect:Yi.rect,scrollableAncestors:So,scrollableAncestorRects:Ki,windowRect:Qi}),ko=da?(0,De.IH)(da,Dt):null,Bo=ar(So),zi=hr(Bo),gl=hr(Bo,[ai]),El=(0,De.IH)(Ai,zi),il=Wi?Rt(Wi,Ai):null,Vo=xr&&il?tn({active:xr,collisionRect:il,droppableRects:yr,droppableContainers:Xr,pointerCoordinates:ko}):null,go=Xe(Vo,"id"),[_l,jo]=(0,ne.useState)(null),mo=Gi?Ai:(0,De.IH)(Ai,gl),el=ct(mo,(Ae=_l==null?void 0:_l.rect)!=null?Ae:null,ai),Vl=(0,ne.useCallback)((Al,Tl)=>{let{sensor:$l,options:Rl}=Tl;if(zr.current==null)return;const Il=qr.get(zr.current);if(!Il)return;const ss=Al.nativeEvent,us=new $l({active:zr.current,activeNode:Il,event:ss,options:Rl,context:Va,onStart(ts){const ns=zr.current;if(ns==null)return;const Go=qr.get(ns);if(!Go)return;const{onDragStart:ol}=yn.current,Wl={active:{id:ns,data:Go.data,rect:Bn}};(0,fe.unstable_batchedUpdates)(()=>{ol==null||ol(Wl),Tr(uo.Initializing),Xn({type:mt.DragStart,initialCoordinates:ts,active:ns}),Ar({type:"onDragStart",event:Wl})})},onMove(ts){Xn({type:mt.DragMove,coordinates:ts})},onEnd:ms(mt.DragEnd),onCancel:ms(mt.DragCancel)});(0,fe.unstable_batchedUpdates)(()=>{ca(us),Jt(Al.nativeEvent)});function ms(ts){return function(){return od(this,null,function*(){const{active:Go,collisions:ol,over:Wl,scrollAdjustedTranslate:Xl}=Va.current;let hs=null;if(Go&&Xl){const{cancelDrop:xs}=yn.current;hs={activatorEvent:ss,active:Go,collisions:ol,delta:Xl,over:Wl},ts===mt.DragEnd&&typeof xs=="function"&&(yield Promise.resolve(xs(hs)))&&(ts=mt.DragCancel)}zr.current=null,(0,fe.unstable_batchedUpdates)(()=>{Xn({type:ts}),Tr(uo.Uninitialized),jo(null),ca(null),Jt(null);const xs=ts===mt.DragEnd?"onDragEnd":"onDragCancel";if(hs){const Ms=yn.current[xs];Ms==null||Ms(hs),Ar({type:xs,event:hs})}})})}}},[qr]),fl=(0,ne.useCallback)((Al,Tl)=>($l,Rl)=>{const Il=$l.nativeEvent,ss=qr.get(Rl);if(zr.current!==null||!ss||Il.dndKit||Il.defaultPrevented)return;const us={active:ss};Al($l,Tl.options,us)===!0&&(Il.dndKit={capturedBy:Tl.sensor},zr.current=Rl,Vl($l,Tl))},[qr,Vl]),Dl=rr($t,fl);dn($t),(0,De.LI)(()=>{ai&&Kr===uo.Initializing&&Tr(uo.Initialized)},[ai,Kr]),(0,ne.useEffect)(()=>{const{onDragMove:Al}=yn.current,{active:Tl,activatorEvent:$l,collisions:Rl,over:Il}=Va.current;if(!Tl||!$l)return;const ss={active:Tl,activatorEvent:$l,collisions:Rl,delta:{x:El.x,y:El.y},over:Il};(0,fe.unstable_batchedUpdates)(()=>{Al==null||Al(ss),Ar({type:"onDragMove",event:ss})})},[El.x,El.y]),(0,ne.useEffect)(()=>{const{active:Al,activatorEvent:Tl,collisions:$l,droppableContainers:Rl,scrollAdjustedTranslate:Il}=Va.current;if(!Al||zr.current==null||!Tl||!Il)return;const{onDragOver:ss}=yn.current,us=Rl.get(go),ms=us&&us.rect.current?{id:us.id,rect:us.rect.current,data:us.data,disabled:us.disabled}:null,ts={active:Al,activatorEvent:Tl,collisions:$l,delta:{x:Il.x,y:Il.y},over:ms};(0,fe.unstable_batchedUpdates)(()=>{jo(ms),ss==null||ss(ts),Ar({type:"onDragOver",event:ts})})},[go]),(0,De.LI)(()=>{Va.current={activatorEvent:un,active:xr,activeNode:Oa,collisionRect:il,collisions:Vo,droppableRects:yr,draggableNodes:qr,draggingNode:Ei,draggingNodeRect:Wi,droppableContainers:Pt,over:_l,scrollableAncestors:So,scrollAdjustedTranslate:El},Bn.current={initial:Wi,translated:il}},[xr,Oa,Vo,il,qr,Ei,Wi,yr,Pt,_l,So,El]),ji(tu(ql({},Ur),{delta:Dt,draggingRect:il,pointerCoordinates:ko,scrollableAncestors:So,scrollableAncestorRects:Ki}));const Oo=(0,ne.useMemo)(()=>({active:xr,activeNode:Oa,activeNodeRect:ai,activatorEvent:un,collisions:Vo,containerNodeRect:_a,dragOverlay:Yi,draggableNodes:qr,droppableContainers:Pt,droppableRects:yr,over:_l,measureDroppableContainers:ba,scrollableAncestors:So,scrollableAncestorRects:Ki,measuringConfiguration:Ir,measuringScheduled:va,windowRect:Qi}),[xr,Oa,ai,un,Vo,_a,Yi,qr,Pt,yr,_l,ba,So,Ki,Ir,va,Qi]),jl=(0,ne.useMemo)(()=>({activatorEvent:un,activators:Dl,active:xr,activeNodeRect:ai,ariaDescribedById:{draggable:lr},dispatch:Xn,draggableNodes:qr,over:_l,measureDroppableContainers:ba}),[un,Dl,xr,ai,Xn,lr,qr,_l,ba]);return ne.createElement(Se.Provider,{value:Or},ne.createElement(io.Provider,{value:jl},ne.createElement(ri.Provider,{value:Oo},ne.createElement(Yo.Provider,{value:el},pt)),ne.createElement(so,{disabled:(Qe==null?void 0:Qe.restoreFocus)===!1})),ne.createElement(Ue,tu(ql({},Qe),{hiddenTextDescribedById:lr})));function ls(){const Al=(Lr==null?void 0:Lr.autoScrollEnabled)===!1,Tl=typeof at=="object"?at.enabled===!1:at===!1,$l=_r&&!Al&&!Tl;return typeof at=="object"?tu(ql({},at),{enabled:$l}):{enabled:$l}}}),Qo=(0,ne.createContext)(null),dl="button",zl="Droppable";function bl(He){let{id:tt,data:Nt,disabled:pe=!1,attributes:Oe}=He;const Ae=(0,De.Ld)(zl),{activators:Ke,activatorEvent:Qe,active:at,activeNodeRect:pt,ariaDescribedById:$t,draggableNodes:tn,over:Yn}=(0,ne.useContext)(io),{role:fr=dl,roleDescription:Cr="draggable",tabIndex:Dn=0}=Oe!=null?Oe:{},qn=(at==null?void 0:at.id)===tt,Xn=(0,ne.useContext)(qn?Yo:Qo),[Ar,Or]=(0,De.wm)(),[Kr,Tr]=(0,De.wm)(),_r=za(Ke,tt),Zr=(0,De.Ey)(Nt);(0,De.LI)(()=>(tn.set(tt,{id:tt,key:Ae,node:Ar,activatorNode:Kr,data:Zr}),()=>{const Dt=tn.get(tt);Dt&&Dt.key===Ae&&tn.delete(tt)}),[tn,tt]);const qr=(0,ne.useMemo)(()=>({role:fr,tabIndex:Dn,"aria-disabled":pe,"aria-pressed":qn&&fr===dl?!0:void 0,"aria-roledescription":Cr,"aria-describedby":$t.draggable}),[pe,fr,Dn,qn,Cr,$t.draggable]);return{active:at,activatorEvent:Qe,activeNodeRect:pt,attributes:qr,isDragging:qn,listeners:pe?void 0:_r,node:Ar,over:Yn,setNodeRef:Or,setActivatorNodeRef:Tr,transform:Xn}}function Sl(){return(0,ne.useContext)(ri)}const Ci="Droppable",Do={timeout:25};function Pi(He){let{data:tt,disabled:Nt=!1,id:pe,resizeObserverConfig:Oe}=He;const Ae=(0,De.Ld)(Ci),{active:Ke,dispatch:Qe,over:at,measureDroppableContainers:pt}=(0,ne.useContext)(io),$t=(0,ne.useRef)({disabled:Nt}),tn=(0,ne.useRef)(!1),Yn=(0,ne.useRef)(null),fr=(0,ne.useRef)(null),{disabled:Cr,updateMeasurementsFor:Dn,timeout:qn}=ql(ql({},Do),Oe),Xn=(0,De.Ey)(Dn!=null?Dn:pe),Ar=(0,ne.useCallback)(()=>{if(!tn.current){tn.current=!0;return}fr.current!=null&&clearTimeout(fr.current),fr.current=setTimeout(()=>{pt(Array.isArray(Xn.current)?Xn.current:[Xn.current]),fr.current=null},qn)},[qn]),Or=Gt({callback:Ar,disabled:Cr||!Ke}),Kr=(0,ne.useCallback)((qr,Dt)=>{Or&&(Dt&&(Or.unobserve(Dt),tn.current=!1),qr&&Or.observe(qr))},[Or]),[Tr,_r]=(0,De.wm)(Kr),Zr=(0,De.Ey)(tt);return(0,ne.useEffect)(()=>{!Or||!Tr.current||(Or.disconnect(),tn.current=!1,Or.observe(Tr.current))},[Tr,Or]),(0,De.LI)(()=>(Qe({type:mt.RegisterDroppable,element:{id:pe,key:Ae,disabled:Nt,node:Tr,rect:Yn,data:Zr}}),()=>Qe({type:mt.UnregisterDroppable,key:Ae,id:pe})),[pe]),(0,ne.useEffect)(()=>{Nt!==$t.current.disabled&&(Qe({type:mt.SetDroppableDisabled,id:pe,key:Ae,disabled:Nt}),$t.current.disabled=Nt)},[pe,Ae,Nt,Qe]),{active:Ke,rect:Yn,isOver:(at==null?void 0:at.id)===pe,node:Tr,over:at,setNodeRef:_r}}function Bi(He){let{animation:tt,children:Nt}=He;const[pe,Oe]=useState(null),[Ae,Ke]=useState(null),Qe=usePrevious(Nt);return!Nt&&!pe&&Qe&&Oe(Qe),useIsomorphicLayoutEffect(()=>{if(!Ae)return;const at=pe==null?void 0:pe.key,pt=pe==null?void 0:pe.props.id;if(at==null||pt==null){Oe(null);return}Promise.resolve(tt(pt,Ae)).then(()=>{Oe(null)})},[tt,pe,Ae]),React.createElement(React.Fragment,null,Nt,pe?cloneElement(pe,{ref:Ke}):null)}const zn={x:0,y:0,scaleX:1,scaleY:1};function Cn(He){let{children:tt}=He;return React.createElement(io.Provider,{value:hi},React.createElement(Yo.Provider,{value:zn},tt))}const mr={position:"fixed",touchAction:"none"},Yr=He=>isKeyboardEvent(He)?"transform 250ms ease":void 0,ha=null,Ui={duration:250,easing:"ease",keyframes:He=>{let{transform:{initial:tt,final:Nt}}=He;return[{transform:De.ux.Transform.toString(tt)},{transform:De.ux.Transform.toString(Nt)}]},sideEffects:(He=>tt=>{let{active:Nt,dragOverlay:pe}=tt;const Oe={},{styles:Ae,className:Ke}=He;if(Ae!=null&&Ae.active)for(const[Qe,at]of Object.entries(Ae.active))at!==void 0&&(Oe[Qe]=Nt.node.style.getPropertyValue(Qe),Nt.node.style.setProperty(Qe,at));if(Ae!=null&&Ae.dragOverlay)for(const[Qe,at]of Object.entries(Ae.dragOverlay))at!==void 0&&pe.node.style.setProperty(Qe,at);return Ke!=null&&Ke.active&&Nt.node.classList.add(Ke.active),Ke!=null&&Ke.dragOverlay&&pe.node.classList.add(Ke.dragOverlay),function(){for(const[at,pt]of Object.entries(Oe))Nt.node.style.setProperty(at,pt);Ke!=null&&Ke.active&&Nt.node.classList.remove(Ke.active)}})({styles:{active:{opacity:"0"}}})};function di(He){let{config:tt,draggableNodes:Nt,droppableContainers:pe,measuringConfiguration:Oe}=He;return useEvent((Ae,Ke)=>{if(tt===null)return;const Qe=Nt.get(Ae);if(!Qe)return;const at=Qe.node.current;if(!at)return;const pt=Aa(Ke);if(!pt)return;const{transform:$t}=getWindow(Ke).getComputedStyle(Ke),tn=an($t);if(!tn)return;const Yn=typeof tt=="function"?tt:Mi(tt);return pn(at,Oe.draggable.measure),Yn({active:{id:Ae,data:Qe.data,node:at,rect:Oe.draggable.measure(at)},draggableNodes:Nt,dragOverlay:{node:Ke,rect:Oe.dragOverlay.measure(pt)},droppableContainers:pe,measuringConfiguration:Oe,transform:tn})})}function Mi(He){const{duration:tt,easing:Nt,sideEffects:pe,keyframes:Oe}=ql(ql({},Ui),He);return Ae=>{let Ar=Ae,{active:Ke,dragOverlay:Qe,transform:at}=Ar,pt=hh(Ar,["active","dragOverlay","transform"]);if(!tt)return;const $t={x:Qe.rect.left-Ke.rect.left,y:Qe.rect.top-Ke.rect.top},tn={scaleX:at.scaleX!==1?Ke.rect.width*at.scaleX/Qe.rect.width:1,scaleY:at.scaleY!==1?Ke.rect.height*at.scaleY/Qe.rect.height:1},Yn=ql({x:at.x-$t.x,y:at.y-$t.y},tn),fr=Oe(tu(ql({},pt),{active:Ke,dragOverlay:Qe,transform:{initial:at,final:Yn}})),[Cr]=fr,Dn=fr[fr.length-1];if(JSON.stringify(Cr)===JSON.stringify(Dn))return;const qn=pe==null?void 0:pe(ql({active:Ke,dragOverlay:Qe},pt)),Xn=Qe.node.animate(fr,{duration:tt,easing:Nt,fill:"forwards"});return new Promise(Or=>{Xn.onfinish=()=>{qn==null||qn(),Or()}})}}let Ao=0;function Wo(He){return useMemo(()=>{if(He!=null)return Ao++,Ao},[He])}const $o=null},32339:function(Hn,ln,ee){"use strict";ee.d(ln,{DL:function(){return de}});var ne=ee(24285);function fe(Pe){return rt=>{let{transform:ue}=rt;return tu(ql({},ue),{x:Math.ceil(ue.x/Pe)*Pe,y:Math.ceil(ue.y/Pe)*Pe})}}const De=Pe=>{let{transform:rt}=Pe;return tu(ql({},rt),{y:0})};function qe(Pe,rt,ue){const Ue=ql({},Pe);return rt.top+Pe.y<=ue.top?Ue.y=ue.top-rt.top:rt.bottom+Pe.y>=ue.top+ue.height&&(Ue.y=ue.top+ue.height-rt.bottom),rt.left+Pe.x<=ue.left?Ue.x=ue.left-rt.left:rt.right+Pe.x>=ue.left+ue.width&&(Ue.x=ue.left+ue.width-rt.right),Ue}const we=Pe=>{let{containerNodeRect:rt,draggingNodeRect:ue,transform:Ue}=Pe;return!ue||!rt?Ue:qe(Ue,ue,rt)},ke=Pe=>{let{draggingNodeRect:rt,transform:ue,scrollableAncestorRects:Ue}=Pe;const mt=Ue[0];return!rt||!mt?ue:qe(ue,rt,mt)},de=Pe=>{let{transform:rt}=Pe;return tu(ql({},rt),{x:0})},Se=Pe=>{let{transform:rt,draggingNodeRect:ue,windowRect:Ue}=Pe;return!ue||!Ue?rt:qe(rt,ue,Ue)},me=Pe=>{let{activatorEvent:rt,draggingNodeRect:ue,transform:Ue}=Pe;if(ue&&rt){const mt=getEventCoordinates(rt);if(!mt)return Ue;const ot=mt.x-ue.left,vt=mt.y-ue.top;return tu(ql({},Ue),{x:Ue.x+ot-ue.width/2,y:Ue.y+vt-ue.height/2})}return Ue}},45587:function(Hn,ln,ee){"use strict";ee.d(ln,{Fo:function(){return $e},PG:function(){return rt},Rp:function(){return qe},nB:function(){return Re},qw:function(){return vt}});var ne=ee(67294),fe=ee(60887),De=ee(24285);function qe(Rt,an,ht){const Ne=Rt.slice();return Ne.splice(ht<0?Ne.length+ht:ht,0,Ne.splice(an,1)[0]),Ne}function we(Rt,an,ht){const Ne=Rt.slice();return Ne[an]=Rt[ht],Ne[ht]=Rt[an],Ne}function ke(Rt,an){return Rt.reduce((ht,Ne,At)=>{const An=an.get(Ne);return An&&(ht[At]=An),ht},Array(Rt.length))}function de(Rt){return Rt!==null&&Rt>=0}function Se(Rt,an){if(Rt===an)return!0;if(Rt.length!==an.length)return!1;for(let ht=0;ht<Rt.length;ht++)if(Rt[ht]!==an[ht])return!1;return!0}function me(Rt){return typeof Rt=="boolean"?{draggable:Rt,droppable:Rt}:Rt}const Pe={scaleX:1,scaleY:1},rt=Rt=>{var an;let{rects:ht,activeNodeRect:Ne,activeIndex:At,overIndex:An,index:jt}=Rt;const Mt=(an=ht[At])!=null?an:Ne;if(!Mt)return null;const Kt=ue(ht,jt,At);if(jt===At){const sn=ht[An];return sn?ql({x:At<An?sn.left+sn.width-(Mt.left+Mt.width):sn.left-Mt.left,y:0},Pe):null}return jt>At&&jt<=An?ql({x:-Mt.width-Kt,y:0},Pe):jt<At&&jt>=An?ql({x:Mt.width+Kt,y:0},Pe):ql({x:0,y:0},Pe)};function ue(Rt,an,ht){const Ne=Rt[an],At=Rt[an-1],An=Rt[an+1];return!Ne||!At&&!An?0:ht<an?At?Ne.left-(At.left+At.width):An.left-(Ne.left+Ne.width):An?An.left-(Ne.left+Ne.width):Ne.left-(At.left+At.width)}const Ue=Rt=>{let{rects:an,activeIndex:ht,overIndex:Ne,index:At}=Rt;const An=qe(an,Ne,ht),jt=an[At],Mt=An[At];return!Mt||!jt?null:{x:Mt.left-jt.left,y:Mt.top-jt.top,scaleX:Mt.width/jt.width,scaleY:Mt.height/jt.height}},mt=Rt=>{let{activeIndex:an,index:ht,rects:Ne,overIndex:At}=Rt,An,jt;return ht===an&&(An=Ne[ht],jt=Ne[At]),ht===At&&(An=Ne[ht],jt=Ne[an]),!jt||!An?null:{x:jt.left-An.left,y:jt.top-An.top,scaleX:jt.width/An.width,scaleY:jt.height/An.height}},ot={scaleX:1,scaleY:1},vt=Rt=>{var an;let{activeIndex:ht,activeNodeRect:Ne,index:At,rects:An,overIndex:jt}=Rt;const Mt=(an=An[ht])!=null?an:Ne;if(!Mt)return null;if(At===ht){const sn=An[jt];return sn?ql({x:0,y:ht<jt?sn.top+sn.height-(Mt.top+Mt.height):sn.top-Mt.top},ot):null}const Kt=Ee(An,At,ht);return At>ht&&At<=jt?ql({x:0,y:-Mt.height-Kt},ot):At<ht&&At>=jt?ql({x:0,y:Mt.height+Kt},ot):ql({x:0,y:0},ot)};function Ee(Rt,an,ht){const Ne=Rt[an],At=Rt[an-1],An=Rt[an+1];return Ne?ht<an?At?Ne.top-(At.top+At.height):An?An.top-(Ne.top+Ne.height):0:An?An.top-(Ne.top+Ne.height):At?Ne.top-(At.top+At.height):0:0}const wt="Sortable",Tt=ne.createContext({activeIndex:-1,containerId:wt,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:Ue,disabled:{draggable:!1,droppable:!1}});function $e(Rt){let{children:an,id:ht,items:Ne,strategy:At=Ue,disabled:An=!1}=Rt;const{active:jt,dragOverlay:Mt,droppableRects:Kt,over:sn,measureDroppableContainers:wn}=(0,fe.Cj)(),vn=(0,De.Ld)(wt,ht),cn=Mt.rect!==null,Nn=(0,ne.useMemo)(()=>Ne.map(Ye=>typeof Ye=="object"&&"id"in Ye?Ye.id:Ye),[Ne]),dr=jt!=null,En=jt?Nn.indexOf(jt.id):-1,Ge=sn?Nn.indexOf(sn.id):-1,ve=(0,ne.useRef)(Nn),he=!Se(Nn,ve.current),be=Ge!==-1&&En===-1||he,ge=me(An);(0,De.LI)(()=>{he&&dr&&wn(Nn)},[he,Nn,dr,wn]),(0,ne.useEffect)(()=>{ve.current=Nn},[Nn]);const se=(0,ne.useMemo)(()=>({activeIndex:En,containerId:vn,disabled:ge,disableTransforms:be,items:Nn,overIndex:Ge,useDragOverlay:cn,sortedRects:ke(Nn,Kt),strategy:At}),[En,vn,ge.draggable,ge.droppable,be,Nn,Ge,Kt,cn,At]);return ne.createElement(Tt.Provider,{value:se},an)}const ut=Rt=>{let{id:an,items:ht,activeIndex:Ne,overIndex:At}=Rt;return qe(ht,Ne,At).indexOf(an)},ye=Rt=>{let{containerId:an,isSorting:ht,wasDragging:Ne,index:At,items:An,newIndex:jt,previousItems:Mt,previousContainerId:Kt,transition:sn}=Rt;return!sn||!Ne||Mt!==An&&At===jt?!1:ht?!0:jt!==At&&an===Kt},ce={duration:200,easing:"ease"},Xe="transform",et=De.ux.Transition.toString({property:Xe,duration:0,easing:"linear"}),st={roleDescription:"sortable"};function ft(Rt){let{disabled:an,index:ht,node:Ne,rect:At}=Rt;const[An,jt]=(0,ne.useState)(null),Mt=(0,ne.useRef)(ht);return(0,De.LI)(()=>{if(!an&&ht!==Mt.current&&Ne.current){const Kt=At.current;if(Kt){const sn=(0,fe.VK)(Ne.current,{ignoreTransform:!0}),wn={x:Kt.left-sn.left,y:Kt.top-sn.top,scaleX:Kt.width/sn.width,scaleY:Kt.height/sn.height};(wn.x||wn.y)&&jt(wn)}}ht!==Mt.current&&(Mt.current=ht)},[an,ht,Ne,At]),(0,ne.useEffect)(()=>{An&&jt(null)},[An]),An}function Re(Rt){let{animateLayoutChanges:an=ye,attributes:ht,disabled:Ne,data:At,getNewIndex:An=ut,id:jt,strategy:Mt,resizeObserverConfig:Kt,transition:sn=ce}=Rt;const{items:wn,containerId:vn,activeIndex:cn,disabled:Nn,disableTransforms:dr,sortedRects:En,overIndex:Ge,useDragOverlay:ve,strategy:he}=(0,ne.useContext)(Tt),be=Be(Ne,Nn),ge=wn.indexOf(jt),se=(0,ne.useMemo)(()=>ql({sortable:{containerId:vn,index:ge,items:wn}},At),[vn,At,ge,wn]),Ye=(0,ne.useMemo)(()=>wn.slice(wn.indexOf(jt)),[wn,jt]),{rect:xt,node:pn,isOver:on,setNodeRef:In}=(0,fe.Zj)({id:jt,data:se,disabled:be.droppable,resizeObserverConfig:ql({updateMeasurementsFor:Ye},Kt)}),{active:Qn,activatorEvent:_n,activeNodeRect:Vt,attributes:gn,setNodeRef:Fn,listeners:Tn,isDragging:qt,over:Dr,setActivatorNodeRef:Ut,transform:nn}=(0,fe.O1)({id:jt,data:se,attributes:ql(ql({},st),ht),disabled:be.draggable}),Nr=(0,De.HB)(In,Fn),cr=!!Qn,Fr=cr&&!dr&&de(cn)&&de(Ge),aa=!ve&&qt,Jn=aa&&Fr?nn:null,Ia=Mt!=null?Mt:he,Ta=Fr?Jn!=null?Jn:Ia({rects:En,activeNodeRect:Vt,activeIndex:cn,overIndex:Ge,index:ge}):null,ti=de(cn)&&de(Ge)?An({id:jt,items:wn,activeIndex:cn,overIndex:Ge}):ge,Jr=Qn==null?void 0:Qn.id,ja=(0,ne.useRef)({activeId:Jr,items:wn,newIndex:ti,containerId:vn}),Si=wn!==ja.current.items,$a=an({active:Qn,containerId:vn,isDragging:qt,isSorting:cr,id:jt,index:ge,items:wn,newIndex:ja.current.newIndex,previousItems:ja.current.items,previousContainerId:ja.current.containerId,transition:sn,wasDragging:ja.current.activeId!=null}),ji=ft({disabled:!$a,index:ge,node:pn,rect:xt});return(0,ne.useEffect)(()=>{cr&&ja.current.newIndex!==ti&&(ja.current.newIndex=ti),vn!==ja.current.containerId&&(ja.current.containerId=vn),wn!==ja.current.items&&(ja.current.items=wn)},[cr,ti,vn,wn]),(0,ne.useEffect)(()=>{if(Jr===ja.current.activeId)return;if(Jr&&!ja.current.activeId){ja.current.activeId=Jr;return}const Ln=setTimeout(()=>{ja.current.activeId=Jr},50);return()=>clearTimeout(Ln)},[Jr]),{active:Qn,activeIndex:cn,attributes:gn,data:se,rect:xt,index:ge,newIndex:ti,items:wn,isOver:on,isSorting:cr,isDragging:qt,listeners:Tn,node:pn,overIndex:Ge,over:Dr,setNodeRef:Nr,setActivatorNodeRef:Ut,setDroppableNodeRef:In,setDraggableNodeRef:Fn,transform:ji!=null?ji:Ta,transition:Ni()};function Ni(){if(ji||Si&&ja.current.newIndex===ge)return et;if(!(aa&&!(0,De.vd)(_n)||!sn)&&(cr||$a))return De.ux.Transition.toString(tu(ql({},sn),{property:Xe}))}}function Be(Rt,an){var ht,Ne;return typeof Rt=="boolean"?{draggable:Rt,droppable:!1}:{draggable:(ht=Rt==null?void 0:Rt.draggable)!=null?ht:an.draggable,droppable:(Ne=Rt==null?void 0:Rt.droppable)!=null?Ne:an.droppable}}function gt(Rt){if(!Rt)return!1;const an=Rt.data.current;return!!(an&&"sortable"in an&&typeof an.sortable=="object"&&"containerId"in an.sortable&&"items"in an.sortable&&"index"in an.sortable)}const ze=[fe.g4.Down,fe.g4.Right,fe.g4.Up,fe.g4.Left],ct=(Rt,an)=>{let{context:{active:ht,collisionRect:Ne,droppableRects:At,droppableContainers:An,over:jt,scrollableAncestors:Mt}}=an;if(ze.includes(Rt.code)){if(Rt.preventDefault(),!ht||!Ne)return;const Kt=[];An.getEnabled().forEach(vn=>{if(!vn||vn!=null&&vn.disabled)return;const cn=At.get(vn.id);if(cn)switch(Rt.code){case KeyboardCode.Down:Ne.top<cn.top&&Kt.push(vn);break;case KeyboardCode.Up:Ne.top>cn.top&&Kt.push(vn);break;case KeyboardCode.Left:Ne.left>cn.left&&Kt.push(vn);break;case KeyboardCode.Right:Ne.left<cn.left&&Kt.push(vn);break}});const sn=closestCorners({active:ht,collisionRect:Ne,droppableRects:At,droppableContainers:Kt,pointerCoordinates:null});let wn=getFirstCollision(sn,"id");if(wn===(jt==null?void 0:jt.id)&&sn.length>1&&(wn=sn[1].id),wn!=null){const vn=An.get(ht.id),cn=An.get(wn),Nn=cn?At.get(cn.id):null,dr=cn==null?void 0:cn.node.current;if(dr&&Nn&&vn&&cn){const Ge=getScrollableAncestors(dr).some((Ye,xt)=>Mt[xt]!==Ye),ve=nt(vn,cn),he=Ot(vn,cn),be=Ge||!ve?{x:0,y:0}:{x:he?Ne.width-Nn.width:0,y:he?Ne.height-Nn.height:0},ge={x:Nn.left,y:Nn.top};return be.x&&be.y?ge:subtract(ge,be)}}}};function nt(Rt,an){return!gt(Rt)||!gt(an)?!1:Rt.data.current.sortable.containerId===an.data.current.sortable.containerId}function Ot(Rt,an){return!gt(Rt)||!gt(an)||!nt(Rt,an)?!1:Rt.data.current.sortable.index<an.data.current.sortable.index}},24285:function(Hn,ln,ee){"use strict";ee.d(ln,{$X:function(){return ye},D9:function(){return Ee},DC:function(){return st},Ey:function(){return mt},FJ:function(){return qe},Gj:function(){return ot},HB:function(){return fe},IH:function(){return ut},Jj:function(){return ke},LI:function(){return rt},Ld:function(){return Tt},Nq:function(){return De},Re:function(){return Se},UG:function(){return we},Yz:function(){return Ue},qk:function(){return de},r3:function(){return Pe},so:function(){return Be},ux:function(){return ft},vZ:function(){return me},vd:function(){return Xe},wm:function(){return vt},zX:function(){return ue}});var ne=ee(67294);function fe(){for(var gt=arguments.length,ze=new Array(gt),ct=0;ct<gt;ct++)ze[ct]=arguments[ct];return(0,ne.useMemo)(()=>nt=>{ze.forEach(Ot=>Ot(nt))},ze)}const De=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function qe(gt){const ze=Object.prototype.toString.call(gt);return ze==="[object Window]"||ze==="[object global]"}function we(gt){return"nodeType"in gt}function ke(gt){var ze,ct;return gt?qe(gt)?gt:we(gt)&&(ze=(ct=gt.ownerDocument)==null?void 0:ct.defaultView)!=null?ze:window:window}function de(gt){const{Document:ze}=ke(gt);return gt instanceof ze}function Se(gt){return qe(gt)?!1:gt instanceof ke(gt).HTMLElement}function me(gt){return gt instanceof ke(gt).SVGElement}function Pe(gt){return gt?qe(gt)?gt.document:we(gt)?de(gt)?gt:Se(gt)||me(gt)?gt.ownerDocument:document:document:document}const rt=De?ne.useLayoutEffect:ne.useEffect;function ue(gt){const ze=(0,ne.useRef)(gt);return rt(()=>{ze.current=gt}),(0,ne.useCallback)(function(){for(var ct=arguments.length,nt=new Array(ct),Ot=0;Ot<ct;Ot++)nt[Ot]=arguments[Ot];return ze.current==null?void 0:ze.current(...nt)},[])}function Ue(){const gt=(0,ne.useRef)(null),ze=(0,ne.useCallback)((nt,Ot)=>{gt.current=setInterval(nt,Ot)},[]),ct=(0,ne.useCallback)(()=>{gt.current!==null&&(clearInterval(gt.current),gt.current=null)},[]);return[ze,ct]}function mt(gt,ze){ze===void 0&&(ze=[gt]);const ct=(0,ne.useRef)(gt);return rt(()=>{ct.current!==gt&&(ct.current=gt)},ze),ct}function ot(gt,ze){const ct=(0,ne.useRef)();return(0,ne.useMemo)(()=>{const nt=gt(ct.current);return ct.current=nt,nt},[...ze])}function vt(gt){const ze=ue(gt),ct=(0,ne.useRef)(null),nt=(0,ne.useCallback)(Ot=>{Ot!==ct.current&&(ze==null||ze(Ot,ct.current)),ct.current=Ot},[]);return[ct,nt]}function Ee(gt){const ze=(0,ne.useRef)();return(0,ne.useEffect)(()=>{ze.current=gt},[gt]),ze.current}let wt={};function Tt(gt,ze){return(0,ne.useMemo)(()=>{if(ze)return ze;const ct=wt[gt]==null?0:wt[gt]+1;return wt[gt]=ct,gt+"-"+ct},[gt,ze])}function $e(gt){return function(ze){for(var ct=arguments.length,nt=new Array(ct>1?ct-1:0),Ot=1;Ot<ct;Ot++)nt[Ot-1]=arguments[Ot];return nt.reduce((Rt,an)=>{const ht=Object.entries(an);for(const[Ne,At]of ht){const An=Rt[Ne];An!=null&&(Rt[Ne]=An+gt*At)}return Rt},ql({},ze))}}const ut=$e(1),ye=$e(-1);function ce(gt){return"clientX"in gt&&"clientY"in gt}function Xe(gt){if(!gt)return!1;const{KeyboardEvent:ze}=ke(gt.target);return ze&> instanceof ze}function et(gt){if(!gt)return!1;const{TouchEvent:ze}=ke(gt.target);return ze&> instanceof ze}function st(gt){if(et(gt)){if(gt.touches&>.touches.length){const{clientX:ze,clientY:ct}=gt.touches[0];return{x:ze,y:ct}}else if(gt.changedTouches&>.changedTouches.length){const{clientX:ze,clientY:ct}=gt.changedTouches[0];return{x:ze,y:ct}}}return ce(gt)?{x:gt.clientX,y:gt.clientY}:null}const ft=Object.freeze({Translate:{toString(gt){if(!gt)return;const{x:ze,y:ct}=gt;return"translate3d("+(ze?Math.round(ze):0)+"px, "+(ct?Math.round(ct):0)+"px, 0)"}},Scale:{toString(gt){if(!gt)return;const{scaleX:ze,scaleY:ct}=gt;return"scaleX("+ze+") scaleY("+ct+")"}},Transform:{toString(gt){if(gt)return[ft.Translate.toString(gt),ft.Scale.toString(gt)].join(" ")}},Transition:{toString(gt){let{property:ze,duration:ct,easing:nt}=gt;return ze+" "+ct+"ms "+nt}}}),Re="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Be(gt){return gt.matches(Re)?gt:gt.querySelector(Re)}},71749:function(){"use strict"},30483:function(){"use strict"},71736:function(Hn,ln){"use strict";ln.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},39886:function(Hn,ln){"use strict";ln.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"}},57971:function(Hn,ln,ee){"use strict";var ne=ee(67294),fe=Object.defineProperty,De=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,ke=(me,Pe,rt)=>Pe in me?fe(me,Pe,{enumerable:!0,configurable:!0,writable:!0,value:rt}):me[Pe]=rt,de=(me,Pe)=>{for(var rt in Pe||(Pe={}))qe.call(Pe,rt)&&ke(me,rt,Pe[rt]);if(De)for(var rt of De(Pe))we.call(Pe,rt)&&ke(me,rt,Pe[rt]);return me};const Se=me=>React.createElement("svg",de({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},me),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));ln.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},36913:function(Hn,ln,ee){"use strict";var ne=ee(67294),fe=Object.defineProperty,De=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,ke=(me,Pe,rt)=>Pe in me?fe(me,Pe,{enumerable:!0,configurable:!0,writable:!0,value:rt}):me[Pe]=rt,de=(me,Pe)=>{for(var rt in Pe||(Pe={}))qe.call(Pe,rt)&&ke(me,rt,Pe[rt]);if(De)for(var rt of De(Pe))we.call(Pe,rt)&&ke(me,rt,Pe[rt]);return me};const Se=me=>React.createElement("svg",de({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},me),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));ln.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Hn={},ln="5.0",ee={},ne=null,fe=!1,De=!1,qe=null,we=!1,ke=null,de=null,Se=0;Se<arguments.length;Se++){var me=arguments[Se];if(me!==null)switch(typeof me){case"number":ln=me.toFixed(1);break;case"string":me.match(new RegExp("^[0-9]\\.[0-9]+$"))?ln=me:qe=me;break;case"object":typeof me.is3D!="undefined"?ne=me:ee=me;break;case"boolean":fe=me,De=!0;break}}ne===null&&(ne={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ee.material_id!==void 0&&!De&&(fe=!0)),qe!==null&&ee.id===void 0&&(ee.id=qe);var Pe="",rt="",ue=!1,Ue=null,mt=null,ot=null,vt=!1,Ee=null,wt=null,Tt=null,$e=null,ut=null;ee.height!==void 0&&(ee.height=Math.round(ee.height)),ee.width!==void 0&&(ee.width=Math.round(ee.width));var ye=function(Mt){return parseFloat(Mt)>4?parseFloat(Mt):5};Hn.setHTML5Codebase=function(Mt,Kt){de=Mt,At(Mt,Kt)},Hn.setJavaCodebase=Hn.setJavaCodebaseVersion=Hn.isCompiledInstalled=Hn.setPreCompiledScriptPath=Hn.setPreCompiledResourcePath=function(){},Hn.setHTML5CodebaseVersion=function(Mt,Kt){var sn=parseFloat(Mt);if(sn!==NaN&&sn<5){console.log("The GeoGebra HTML5 codebase version "+sn+" is deprecated. Using version latest instead.");return}ke=Mt,Ne(Mt,Kt)},Hn.getHTML5CodebaseVersion=function(){return mt},Hn.getParameters=function(){return ee},Hn.setFontsCSSURL=function(Mt){$e=Mt},Hn.setGiacJSURL=function(Mt){},Hn.setJNLPFile=function(Mt){Pe=Mt},Hn.setJNLPBaseDir=function(Mt){},Hn.inject=function(){function Mt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Kt="auto",sn=ee.id,wn,vn=!1,cn=0;cn<arguments.length;cn++){var Nn=arguments[cn];typeof Nn=="string"?(Nn=Nn.toLowerCase(),Nn.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Kt=Nn:sn=arguments[cn]):typeof Nn=="boolean"?vn=Nn:Nn instanceof HTMLElement&&(wn=Nn)}dr();function dr(){if(!we){setTimeout(dr,200);return}Kt=an(Kt);var En=wn||document.getElementById(sn);if(!En){console.log("possibly bug on ajax loading? ");return}if(Hn.removeExistingApplet(En,!1),ee.width===void 0&&En.clientWidth&&(ee.width=En.clientWidth),ee.height===void 0&&En.clientHeight&&(ee.height=En.clientHeight),!(ee.width&&ee.height)&&Kt==="html5"&&(delete ee.width,delete ee.height),Ue=Kt,Kt==="screenshot")ze(En,ee);else{var Ge=!1;ee.hasOwnProperty("playButton")&&ee.playButton||ee.hasOwnProperty("clickToLoad")&&ee.clickToLoad?Ge=!0:ee.hasOwnProperty("playButtonAutoDecide")&&ee.playButtonAutoDecide&&(Ge=(!ce()||Mt())&&Xe()),Ge?(Ue="screenshot",nt(En,ee,vn,Kt)):gt(En,ee,vn)}}};function ce(){try{return window.self!==window.top}catch(Mt){return!0}}function Xe(){return ee.hasOwnProperty("screenshotGenerator")&&ee.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Hn.getViews=function(){return ne},Hn.isJavaInstalled=function(){return!1};var et=function(Mt){var Kt=function(cn){var Nn=JSON.parse(cn),dr=function(ve){return ve.type=="G"||ve.type=="E"},En=Nn.elements?Nn.elements.filter(dr)[0]:Nn;if(!En||!En.url){sn();return}ee.fileName=En.url,st(En.settings||{}),ne.is3D=!0;var Ge="https://www.geogebra.org/images/";Hn.setPreviewImage(Ee||En.previewUrl,Ge+"GeoGebra_loading.png",Ge+"applet_play.png"),Mt()},sn=function(){ee.onError&&ee.onError(),An("Error: Fetching material (id "+ee.material_id+") failed.",ee)},wn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",vn="/materials/"+ee.material_id+"?scope=basic";ft("https://"+wn+"/api/proxy.php?path="+encodeURIComponent(vn),Kt,sn)};function st(Mt){var Kt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(sn){Mt[sn]=!!Mt[sn]}),Kt.forEach(function(sn){ee[sn]===void 0&&Mt[sn]!==void 0&&(ee[sn]=Mt[sn])}),ee.showToolBarHelp===void 0&&(ee.showToolBarHelp=ee.showToolBar)}function ft(Mt,Kt,sn){var wn=new XMLHttpRequest;wn.open("GET",Mt),wn.onload=function(){Kt(wn.responseText)},wn.onerror=sn,wn.send()}Hn.isHTML5Installed=function(){return!0},Hn.getLoadedAppletType=function(){return Ue},Hn.setPreviewImage=function(Mt,Kt,sn){Ee=Mt,wt=Kt,Tt=sn},Hn.removeExistingApplet=function(Mt,Kt){var sn;typeof Mt=="string"&&(Mt=document.getElementById(Mt)),Ue=null;var wn=null;for(sn=0;sn<Mt.childNodes.length;sn++){var vn=Mt.childNodes[sn],cn=vn.className;cn==="applet_screenshot"?Kt?(vn.style.display="block",Ue="screenshot"):vn.style.display="none":cn!=="applet_scaler prerender"&&(Mt.removeChild(vn),wn=cn&&cn.indexOf("appletParameters")!=-1?vn.id:null,sn--)}var Nn=ee.id!==void 0?ee.id:wn,dr=window[Nn];dr&&typeof dr.getBase64=="function"&&(dr.remove(),window[Nn]=null)},Hn.refreshHitPoints=function(){if(ye(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Mt=Hn.getAppletObject();return Mt&&typeof Mt.recalculateEnvironments=="function"?(Mt.recalculateEnvironments(),!0):!1},Hn.startAnimation=function(){var Mt=Hn.getAppletObject();return Mt&&typeof Mt.startAnimation=="function"?(Mt.startAnimation(),!0):!1},Hn.stopAnimation=function(){var Mt=Hn.getAppletObject();return Mt&&typeof Mt.stopAnimation=="function"?(Mt.stopAnimation(),!0):!1},Hn.getAppletObject=function(){var Mt=ee.id!==void 0?ee.id:"ggbApplet";return window[Mt]},Hn.resize=function(){};var Re=function(Mt,Kt,sn){var wn=document.createElement("param");wn.setAttribute("name",Kt),wn.setAttribute("value",sn),Mt.appendChild(wn)},Be=function(Mt){return Mt&&Mt!=="false"},gt=function(Mt,Kt,sn){ye(mt)<=4.2&&(sn=!0);var wn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==mt||ggbHTML5LoadedCodebaseIsWebSimple&&!vt)&&(wn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var vn=document.createElement("div");vn.classList.add("appletParameters","notranslate");var cn=Kt.width,Nn=Kt.height;if(Kt.disableAutoScale=Kt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Kt.disableAutoScale,Kt.width!==void 0)if(ye(mt)<=4.4)Be(Kt.showToolBar)&&(Kt.height-=7),Be(Kt.showAlgebraInput)&&(Kt.height-=37),Kt.width<605&&Be(Kt.showToolBar)&&(Kt.width=605,cn=605);else{var dr=100;(Be(Kt.showToolBar)||Be(Kt.showMenuBar))&&(Kt.hasOwnProperty("customToolBar")&&(Kt.customToolbar=Kt.customToolBar),dr=Be(Kt.showMenuBar)?245:155),cn<dr&&(Kt.width=dr,cn=dr)}vn.style.border="none",vn.style.display="inline-block";for(var En in Kt)Kt.hasOwnProperty(En)&&En!=="appletOnLoad"&&vn.setAttribute("data-param-"+En,Kt[En]);$e&&vn.setAttribute("data-param-fontscssurl",$e),Hn.resize=function(){GGBAppletUtils.responsiveResize(Mt,Kt)},window.addEventListener("resize",function(_n){Hn.resize()});var Ge=typeof Kt.appletOnLoad=="function"?Kt.appletOnLoad:function(){};if(!sn&&Kt.width!==void 0){Kt.hasOwnProperty("showSplash")||vn.setAttribute("data-param-showSplash","false");var ve=Mt.querySelector(".applet_scaler.prerender"),he=ve!==null;if(he)var be=ve.querySelector(".ggb_preview");else{var be=Rt(cn,Nn,Kt.borderColor,!1);ve=document.createElement("div"),ve.className="applet_scaler",ve.style.position="relative",ve.style.display="block",ve.style.width=cn+"px",ve.style.height=Nn+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ve,"66%"),ye(mt)>=5?(Kt.appletOnLoad=function(_n){var Vt=Mt.querySelector(".ggb_preview");Vt&&Vt.parentNode.removeChild(Vt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ve),window.GGBT_wsf_view&&$(window).trigger("resize"),Ge(_n)},he||ve.appendChild(be)):vn.appendChild(be),ve.appendChild(vn),he||Mt.appendChild(ve),setTimeout(function(){Hn.resize()},1)}else{var ge=document.createElement("div");ge.className="applet_scaler",ge.style.position="relative",ge.style.display="block",ge.appendChild(vn),Mt.appendChild(ge),Kt.appletOnLoad=function(_n){Hn.resize(),Ge(_n)}}function se(_n,Vt){Vt&&typeof Vt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(_n,Vt.appletOnLoad):renderGGBElement(_n),An("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Vt)}function Ye(_n,Vt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:_n,params:Vt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(gn){se(gn.article,gn.params)}),html5AppletsToProcess=null)},ye(mt)<5&&(_n.className+=" geogebraweb")):se(_n,Vt)}if(wn){scriptLoadStarted=!0;for(var xt=0;xt<vn.childNodes.length;xt++){var pn=vn.childNodes[xt].tagName;pn==="TABLE"&&(vn.removeChild(vn.childNodes[xt]),xt--)}if(ggbHTML5LoadedScript!==null){var on=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');on!=null&&on.parentNode.removeChild(on)}var In=document.createElement("script"),Qn=function(){Ye(vn,Kt)};In.src=rt+ot,ggbHTML5LoadedCodebaseIsWebSimple=vt,ggbHTML5LoadedCodebaseVersion=mt,ggbHTML5LoadedScript=In.src,An("GeoGebra HTML5 codebase loaded: '"+rt+"'.",Kt),!de&&(!ke||ke=="5.0")?(vt?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Qn()):rt.requirejs?__webpack_require__.e(12).then(function(){var _n=[__webpack_require__(12)];Qn.apply(null,_n)}.bind(this)).catch(__webpack_require__.oe):(In.onload=Qn,Mt.appendChild(In))}else Ye(vn,Kt);Kt.height=Nn,Kt.width=cn},ze=function(Mt,Kt,sn){var wn=Rt(Kt.width,Kt.height,Kt.borderColor,sn),vn=document.createElement("div");vn.style.position="relative",vn.style.display="block",vn.style.width=Kt.width+"px",vn.style.height=Kt.height+"px",vn.className="applet_screenshot applet_scaler"+(sn?" applet_screenshot_play":""),vn.appendChild(wn);var cn=GGBAppletUtils.getScale(Kt,Mt,sn);sn?(Mt.appendChild(Ot()),window.GGBT_wsf_view||(Mt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(vn,"66%"),Mt.appendChild(vn),cn!==1&&!isNaN(cn)&&(GGBAppletUtils.scaleElement(vn,cn),vn.style.width=Kt.width+"px",vn.style.height=Kt.height+"px",vn.parentNode.style.width=Kt.width*cn+"px",vn.parentNode.style.height=Kt.height*cn+"px"),Hn.resize=function(){ct(Mt,wn,vn,sn)},window.addEventListener("resize",function(Nn){Hn.resize()}),Hn.resize()};function ct(Mt,Kt,sn,wn){if(Mt.contains(Kt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Mt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Mt)}var vn=GGBAppletUtils.getScale(ee,Mt,wn);sn.parentNode!==null&&(!isNaN(vn)&&vn!==1?(GGBAppletUtils.scaleElement(sn,vn),sn.parentNode.style.width=ee.width*vn+"px",sn.parentNode.style.height=ee.height*vn+"px"):(GGBAppletUtils.scaleElement(sn,1),sn.parentNode.style.width=ee.width+"px",sn.parentNode.style.height=ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Mt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Hn.onExitFullscreen=function(Mt,Kt){Kt.appendChild(Mt)};var nt=function(Mt,Kt,sn,wn){ze(Mt,Kt,!0);for(var vn=function(){var dr=[];for(Nn=0;Nn<Mt.childNodes.length;Nn++)dr.push(Mt.childNodes[Nn]);if(window.GGBT_wsf_view){var En=window.GGBT_wsf_view.renderFullScreen(Mt,Kt.id),Ge=document.getElementById("fullscreencontainer"),ve=jQuery(Mt).find(".fullscreencontent");ve.length>0?(En.remove(),ve.attr("id","fullscreencontent").show(),jQuery(Ge).append(ve),window.dispatchEvent(new Event("resize"))):gt(En,Kt,!1),window.GGBT_wsf_view.launchFullScreen(Ge)}else Ue=wn,gt(Mt,Kt,!1);if(!window.GGBT_wsf_view)for(Nn=0;Nn<dr.length;Nn++)Mt.removeChild(dr[Nn])},cn=Mt.getElementsByClassName("ggb_preview_play"),Nn=0;Nn<cn.length;Nn++)cn[Nn].addEventListener("click",vn,!1),cn[Nn].addEventListener("ontouchstart",vn,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Mt),Xe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ot=function(){var Mt=document.createElement("div");if(Mt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Kt='.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");}',sn=document.createElement("style");sn.styleSheet?sn.styleSheet.cssText=Kt:sn.appendChild(document.createTextNode(Kt)),document.getElementsByTagName("head")[0].appendChild(sn)}return Mt},Rt=function(Mt,Kt,sn,wn){var vn=document.createElement("div");vn.className="ggb_preview",vn.style.position="absolute",vn.style.zIndex="90",vn.style.width=Mt-2+"px",vn.style.height=Kt-2+"px",vn.style.top="0px",vn.style.left="0px",vn.style.overflow="hidden",vn.style.backgroundColor="white";var cn="lightgrey";sn!==void 0&&(sn==="none"?cn="transparent":cn=sn),vn.style.border="1px solid "+cn;var Nn=document.createElement("img");if(Nn.style.position="relative",Nn.style.zIndex="1000",Nn.style.top="-1px",Nn.style.left="-1px",Ee!==null&&Nn.setAttribute("src",Ee),Nn.style.opacity=.7,wt!==null){var dr,En,Ge;if(!wn){dr=document.createElement("img"),dr.style.position="absolute",dr.style.zIndex="1001",dr.style.opacity=1,Nn.style.opacity=.3,En=360,En>Mt/4*3&&(En=Mt/4*3),Ge=En/5.8,dr.setAttribute("src",wt),dr.setAttribute("width",En),dr.setAttribute("height",Ge);var ve=(Mt-En)/2,he=(Kt-Ge)/2;dr.style.left=ve+"px",dr.style.top=he+"px",vn.appendChild(dr)}}return vn.appendChild(Nn),vn},an=function(Mt){return Mt=Mt.toLowerCase(),Mt==="html5"||Mt==="screenshot"?Mt:"html5"},ht=["web","webSimple","web3d","tablet","tablet3d","phone"],Ne=function(Mt,Kt){if(mt=Mt,Kt){At(mt,!0);return}var sn=!fe;if(sn){var wn=ye(mt);!isNaN(wn)&&wn<4.4&&(sn=!1)}var vn,cn;window.location.protocol.substr(0,4)==="http"?vn=window.location.protocol:vn="http:";var Nn=mt.indexOf("//");Nn>0?cn=mt:Nn===0?cn=vn+mt:cn="https://www.geogebra.org/apps/5.2.814.0/";for(var dr in ht)if(mt.slice(ht[dr].length*-1)===ht[dr]||mt.slice((ht[dr].length+1)*-1)===ht[dr]+"/"){At(cn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&sn&&!ne.is3D&&!ne.AV&&!ne.SV&&!ne.CV&&!ne.EV2&&!ne.CP&&!ne.PC&&!ne.DA&&!ne.FI&&!ne.PV&&!Be(ee.showToolBar)&&!Be(ee.showMenuBar)&&!Be(ee.showAlgebraInput)&&!Be(ee.enableRightClick)&&(!ee.appName||ee.appName=="classic")?cn+="webSimple/":cn+="web3d/",At(cn,!1)},At=function(Mt,Kt){if(Mt.requirejs){rt=Mt;return}Mt.slice(-1)!=="/"&&(Mt+="/"),rt=Mt,Kt===null&&(Kt=Mt.indexOf("http")===-1),ue=Kt,ot="web.nocache.js",vt=!1;var sn=rt.split("/");sn.length>1&&(!Kt&&sn[sn.length-2]==="webSimple"?(ot="webSimple.nocache.js",vt=!0):ht.indexOf(sn[sn.length-2])>=0&&(ot=sn[sn.length-2]+".nocache.js")),sn=Mt.split("/"),mt=sn[sn.length-3],mt.substr(0,4)==="test"?mt=mt.substr(4,1)+"."+mt.substr(5,1):(mt.substr(0,3)==="war"||mt.substr(0,4)==="beta")&&(mt="5.0");var wn=parseFloat(mt);wn!==NaN&&wn<5&&Mt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+wn+" is deprecated. Using version latest instead."),Ne("5.0",Kt))},An=function(Mt,Kt){window.console&&window.console.log&&(!Kt||typeof Kt.showLogging=="undefined"||Kt.showLogging&&Kt.showLogging!=="false")&&console.log(Mt)};ee.material_id!==void 0?et(jt):jt();function jt(){var Mt=ln;ke!==null?Mt=ke:parseFloat(Mt)<5&&(Mt="5.0"),Ne(Mt,!1),de!==null&&At(de,ue),we=!0}return Hn},GGBAppletUtils=function(){"use strict";function Hn(){return window.GGBT_wsf_edit!==void 0}function ln(we,ke){ke!=1?(we.style.transformOrigin="0% 0% 0px",we.style.webkitTransformOrigin="0% 0% 0px",we.style.transform="scale("+ke+","+ke+")",we.style.webkitTransform="scale("+ke+","+ke+")",we.style.maxWidth="initial",we.querySelector(".ggb_preview")!==null&&(we.querySelector(".ggb_preview").style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[0]!==void 0&&(we.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[1]!==void 0&&(we.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(we.style.transform="none",we.style.webkitTransform="none")}function ee(we,ke,de,Se,me,Pe){var rt=null;if(Pe!=null&&Pe!="")for(var ue=we.parentNode;ue!=null;)if((" "+ue.className+" ").indexOf(" "+Pe+" ")>-1){rt=ue;break}else ue=ue.parentNode;var Ue=0,mt=0,ot=0,vt=0,Ee=0,wt=0,Tt=0;if(rt)Ue=rt.offsetWidth,mt=Math.max(Se?rt.offsetWidth:0,rt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ue=Math.min(window.innerWidth,document.documentElement.clientWidth),mt=Math.min(window.innerHeight,document.documentElement.clientHeight),ot=Ue):(Ue=window.innerWidth,mt=window.innerHeight,ot=window.innerWidth),we){var $e=we.getBoundingClientRect();$e.left>0&&$e.left<=Ue&&(me===void 0||!me)&&(document.dir==="rtl"?(Ee=Ue-$e.width-$e.left,wt=ot<=480?10:30):(wt=$e.left,Ee=ot<=480?10:30),vt=wt+Ee)}if(we&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ut=we.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(vt=40,Tt=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(vt=0,Tt=40)}}return we&&((de===void 0||!de)&&ke>0&&ke+vt<Ue?Ue=ke:Ue-=vt,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(de===void 0||!de)&&(mt-=Tt)),{width:Ue,height:mt}}function ne(we,ke,de,Se,me){if(we.isScreenshoGenerator)return 1;var Pe=Se!==void 0&&Se,rt=we.noScaleMargin!=null&&we.noScaleMargin,ue=function(ut){return ut&&ut!=="false"},Ue=ue(we.autoHeight),mt=ee(ke,we.width,de,Ue,Pe&&window.GGBT_wsf_view||rt,me),ot=parseInt(mt.width),vt=we.width,Ee=we.height;if(vt===void 0){var wt=ke.querySelector(".appletParameters");wt&&(vt=wt.offsetWidth,Ee=wt.offsetHeight)}var Tt=ot/vt,$e=Pe?1:mt.height/Ee;return de!==void 0&&!de&&(Tt=Math.min(1,Tt),$e=Math.min(1,$e)),Math.min(Tt,$e)}function fe(we,ke,de){var Se=1,me,Pe=!1;if(we.hasOwnProperty("allowUpscale")&&(Pe=we.allowUpscale),we.hasOwnProperty("scale")&&(Se=parseFloat(we.scale),(isNaN(Se)||Se===null||Se===0)&&(Se=1),Se>1&&(Pe=!0)),ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Pe=!0),!(we.hasOwnProperty("disableAutoScale")&&we.disableAutoScale))me=ne(we,ke,Pe,de,we.scaleContainerClass);else return Se;return Pe&&(!we.hasOwnProperty("scale")||Se===1)?me:Math.min(Se,me)}function De(we){var ke=Math.min(window.innerWidth,document.documentElement.clientWidth),de=Math.min(window.innerHeight,document.documentElement.clientHeight),Se=we.getBoundingClientRect(),me=(ke-Se.width)/2,Pe=(de-Se.height)/2;Pe<0&&(Pe=0),we.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(me<40?we.style.left="40px":we.style.left=me+"px",we.style.top=Pe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Pe<40?we.style.top="40px":we.style.top=Pe+"px",we.style.left=me+"px")}function qe(we,ke){var de=we.querySelector(".appletParameters");if(de){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ke.id!==de.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(we)}if(de.parentElement&&/fullscreen/.test(de.parentElement.className))return;var Se=fe(ke,we);Hn()&&de.setAttribute("data-param-scale",Se);for(var me=null,Pe=0;Pe<we.childNodes.length;Pe++)if(we.childNodes[Pe].className!==void 0&&we.childNodes[Pe].className.match(/^applet_scaler/)){me=we.childNodes[Pe];break}if(me!==null&&me.querySelector(".noscale")!==null)return;var rt=ke.id!==void 0?ke.id:"ggbApplet",ue=window[rt];(ue==null||!ue.recalculateEnvironments)&&me!==null&&!me.className.match(/fullscreen/)&&(me.parentNode.style.transform="",!isNaN(Se)&&Se!==1?(me.parentNode.style.width=ke.width*Se+"px",me.parentNode.style.height=ke.height*Se+"px",ln(me,Se)):(ln(me,1),me.parentNode.style.width=ke.width+"px",me.parentNode.style.height=ke.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&De(we),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(de).parents(".content-added-content"))}}return{responsiveResize:qe,isFlexibleWorksheetEditor:Hn,positionCenter:De,getScale:fe,scaleElement:ln}}();__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 Hn=n.location.search;return Hn.indexOf(J)!=-1||Hn.indexOf(K)!=-1}function q(Hn,ln){}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(Hn){var ln=s[L].bindings;s[L].bindings=function(){for(var ee=ln?ln():{},ne=Hn[webModule.__softPermutationId],fe=O;fe<ne.length;fe++){var De=ne[fe];ee[De[O]]=De[P]}return ee}};var t;function u(){return v(),t}function v(){if(!t){var Hn=o.createElement(Q);if(Hn.id=L,Hn.style.cssText=R+S,Hn.tabIndex=-1,o.body.appendChild(Hn),t=Hn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var ln=document.compatMode==U?V:W;t.write(ln+X),t.close()}}}function w(Hn){function ln(ne){function fe(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var De=fe();if(De){ne();return}function qe(){if(!De){if(!fe())return;De=!0,ne(),o.removeEventListener&&o.removeEventListener(Z,qe,!1),we&&clearInterval(we)}}o.addEventListener&&o.addEventListener(Z,qe,!1);var we=setInterval(function(){qe()},$)}function ee(ne){var fe=u(),De=fe.body,qe=fe.createElement(_);qe.language=ab,qe.crossOrigin=W,qe.src=ne,webModule.__errFn&&(qe.onerror=function(){webModule.__errFn(L,new Error(bb+ne))}),De.appendChild(qe)}ln(function(){ee(Hn)})}webModule.__startLoadingFragment=function(Hn){return C(Hn)},webModule.__installRunAsyncCode=function(Hn){var ln=u(),ee=ln.body,ne=ln.createElement(_);ne.language=ab,ne.text=Hn,ee.appendChild(ne),ee.removeChild(ne)};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(Hn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Hn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Hn){var ln=c[Hn];return ln==null?null:ln},r=d,webModule.__errFn=e}function B(){function Hn(we){var ke=we.lastIndexOf(rb);ke==-1&&(ke=we.length);var de=we.indexOf(sb);de==-1&&(de=we.length);var Se=we.lastIndexOf(tb,Math.min(de,ke));return Se>=O?we.substring(O,Se+P):W}function ln(we){if(!we.match(/^\w+:\/\//)){var ke=o.createElement(ub);ke.src=we+vb,we=Hn(ke.src)}return we}function ee(){var we=__gwt_getMetaProperty(wb);return we!=null?we:W}function ne(){for(var we=o.getElementsByTagName(_),ke=O;ke<we.length;++ke)if(we[ke].src.indexOf(xb)!=-1)return Hn(we[ke].src);return W}function fe(){var we=o.getElementsByTagName(yb);return we.length>O?we[we.length-P].href:W}function De(){var we=o.location;return we.href==we.protocol+zb+we.host+we.pathname+we.search+we.hash}var qe=ee();return qe==W&&(qe=ne()),qe==W&&(qe=fe()),qe==W&&De()&&(qe=Hn(o.location.href)),qe=ln(qe),qe}function C(Hn){return Hn.match(/^\//)||Hn.match(/^[a-zA-Z]+:\/\//)?Hn:webModule.__moduleBase+Hn}function D(){var Hn=[],ln=O,ee=[],ne=[];function fe(we){var ke=ne[we](),de=ee[we];if(ke in de)return ke;var Se=[];for(var me in de)Se[de[me]]=me;throw r&&r(we,Se,ke),null}if(__gwt_isKnownPropertyValue=function(we,ke){return ke in ee[we]},webModule.__getPropMap=function(){var we={};for(var ke in ee)ee.hasOwnProperty(ke)&&(we[ke]=fe(ke));return we},webModule.__computePropValue=fe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var De;try{De=Cb;var qe=De.indexOf(Db);qe!=-1&&(ln=parseInt(De.substring(qe+P),$),De=De.substring(O,qe))}catch(we){}return webModule.__softPermutationId=ln,C(De+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(Hn,ln,ee){"use strict";ee.d(ln,{Ax:function(){return qe},Ds:function(){return we},KI:function(){return de},SI:function(){return De},f1:function(){return fe}});var ne=ee(11320);function fe(Se){let me=!0;if(Se.length>0){for(let Pe=0;Pe<Se.length;Pe++)if(Se[Pe].compile_success==0||!Se[Pe].compile_success){me=!1;break}}else me=!1;return me}function De(Se,me=""){let Pe=[];for(let rt=0;rt<Se.length;rt++){let ue=Se[rt],Ue=me?`${me}/${ue.name}`:`${ue.name}`;Pe.push({title:ue.name,type:ue.type,isLeaf:ue.type!=="tree",key:Ue})}return Pe}function qe(Se,me,Pe){for(let rt=0;rt<Se.length;rt++){let ue=Se[rt];if(ue.key===me){ue.children=Pe;break}ue.children&&qe(ue.children,me,Pe)}return Se}function we(Se,me,Pe){let rt;return function(){let ue=this,Ue=arguments,mt=function(){rt=null,Pe||Se.apply(ue,Ue)},ot=Pe&&!rt;clearTimeout(rt),rt=setTimeout(mt,me),ot&&Se.apply(ue,Ue)}}const ke=!0,de=ne.Z.API_SERVER},63205:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return rt}});var ne=ee(67294),fe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},De=ee(94184),qe=ee.n(De),we=ee(57953),ke=ee(15979),de=ee(33170),Se=ee(28706),me=(ue,Ue,mt)=>new Promise((ot,vt)=>{var Ee=$e=>{try{Tt(mt.next($e))}catch(ut){vt(ut)}},wt=$e=>{try{Tt(mt.throw($e))}catch(ut){vt(ut)}},Tt=$e=>$e.done?ot($e.value):Promise.resolve($e.value).then(Ee,wt);Tt((mt=mt.apply(ue,Ue)).next())}),rt=({data:ue,className:Ue,fullWidth:mt,style:ot={},onClose:vt,onOk:Ee,showFullTools:wt,noAssociationId:Tt})=>{const $e=(0,ne.useRef)(null),ut=(0,ne.useRef)(null),ye=(0,ne.useRef)(null),ce=(0,ne.useRef)(null),[Xe,et]=(0,ne.useState)(!1),[st,ft]=(0,ne.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ne.useEffect)(()=>{ye.current||(ye.current=document.createElement("style"),document.head.appendChild(ye.current)),ue!=null&&ue.visible?(document.body.setAttribute("data-custom","y-hidden"),ye.current.innerHTML=" html { overflow-y: hidden; }",ue!=null&&ue.src&&Re()):(document.body.removeAttribute("data-custom"),ye.current&&(document.head.removeChild(ye.current),ye.current=null))},[ue==null?void 0:ue.visible]);const Re=()=>me(void 0,null,function*(){et(!0),ft("\u6B63\u5728\u52A0\u8F7D\u4E2D");const nt=yield(0,Se.ZJ)(ue==null?void 0:ue.src);$e.current.src="",$e.current.src=nt,$e.current.onload=function(){ct()},et(!1),ft("")}),Be=()=>{document.body.removeAttribute("data-custom"),ye.current.innerHTML=" ",vt()},gt=nt=>me(void 0,null,function*(){et(!0),ft("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ot=yield(0,de.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ue.title,file:nt.dataUrl}});Ot!=null&&Ot.id&&!Tt?(yield(0,de.ZP)(`/api/attachments/${ue.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ot==null?void 0:Ot.id,settings:JSON.stringify(nt.state)}})).status===0&&Ee():Ot!=null&&Ot.id&&Ee(Ot),document.body.removeAttribute("data-custom"),ye.current.innerHTML=" ",et(!1),ft("")}),ze=()=>{const nt=document.querySelector('a[href="https://markerjs.com/"]');nt&&nt.parentNode&&(nt.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(Rt=>{const an=document.querySelector(Rt.name);an&&an.setAttribute("title",Rt.title)})},ct=()=>{ut.current=new ke.hP($e.current),ut.current.targetRoot=ce.current,ut.current.addEventListener("render",gt),ut.current.addEventListener("beforeclose",Be),wt&&(ut.current.availableMarkerTypes=ut.current.ALL_MARKER_TYPES,ut.current.uiStyleSettings.redoButtonVisible=!0,ut.current.uiStyleSettings.notesButtonVisible=!0,ut.current.uiStyleSettings.zoomButtonVisible=!0,ut.current.uiStyleSettings.zoomOutButtonVisible=!0,ut.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ut.current.uiStyleSettings,ut.current.show(),ue!=null&&ue.snapshotData&&ut.current.restoreState(ue.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ze()},300)};return ne.createElement(ne.Fragment,null,(ue==null?void 0:ue.visible)&&ne.createElement(we.Z,{spinning:Xe,tip:st,style:{position:"absolute"}},ne.createElement("div",{ref:ce,className:qe()(fe.imageDimensions,Ue,mt?fe.fullWidth:""),style:ot},ne.createElement("img",{className:fe.img,ref:$e}))))}},36527:function(Hn,ln,ee){"use strict";var ne=ee(67294),fe=ee(71230),De=ee(15746),qe=ee(66368),we=ee(71577),ke=ee(35598),de=ee(71736),Se=ee(84279),me=ee(67294);const Pe=(0,ne.forwardRef)(({callback:rt,showSaveButton:ue,value:Ue=""},mt)=>{const ot=(0,ne.useRef)(),vt=[{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 "}]}]}],Ee=[{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}`}]}]}],wt=ut=>{ot.current.setValue(ot.current.getValue()+" "+ut.value+" ")},Tt=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:me.createElement(fe.Z,{className:de.Z.lists,gutter:[10,10]},vt.map((ut,ye)=>me.createElement(De.Z,{flex:"110px",className:de.Z.item},me.createElement("div",null,me.createElement(ke.Z,{value:`$$${ut.value}$$`}),ut.name),me.createElement("div",{className:de.Z.children},ut.children.map((ce,Xe)=>me.createElement("div",{key:Xe},me.createElement("h1",null,ce.name),me.createElement(fe.Z,{gutter:[10,10]},ce.data.map((et,st)=>me.createElement(De.Z,{key:st,onClick:()=>wt(et),className:de.Z.diamond},me.createElement(ke.Z,{value:"`$$"+et.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:me.createElement(fe.Z,{className:de.Z.lists,gutter:[10,10]},Ee.map((ut,ye)=>me.createElement(De.Z,{flex:"110px",className:de.Z.item},me.createElement("div",null,me.createElement(ke.Z,{value:"`$$"+ut.value+"$$`"}),ut.name),me.createElement("div",{className:de.Z.children},ut.children.map((ce,Xe)=>me.createElement("div",{key:Xe},ce.name&&me.createElement("h1",null,ce.name),me.createElement(fe.Z,{gutter:[10,10]},ce.data.map((et,st)=>me.createElement(De.Z,{key:st,onClick:()=>wt(et),className:de.Z.diamond},me.createElement(ke.Z,{value:"`$$"+et.value+"$$`"}))))))))))}],$e=()=>{var ut=document.createElement("div");ut.innerHTML=ot.current.getValue();var ye=ut.innerText;return rt&&rt(ye),ye};return(0,ne.useImperativeHandle)(mt,()=>({getData:$e})),me.createElement("div",{className:de.Z.mathWrap},me.createElement(qe.default,{defaultActiveKey:"1",items:Tt}),me.createElement("math-field",{locale:"zh_cn",className:de.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:ot,style:{width:800,marginTop:30,fontSize:18}},Ue||""),ue&&me.createElement("div",{className:de.Z.button},me.createElement(we.ZP,{size:"large",onClick:$e,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});ln.Z=Pe},39717:function(Hn,ln,ee){"use strict";ee.d(ln,{Q:function(){return ke}});var ne=ee(67294),fe=ee(11713),De=ee(78045),qe=ee(31795),we=ee(67294),ke=(Se=>(Se[Se.Number=1]="Number",Se[Se.Percent=2]="Percent",Se))(ke||{});const de=({value:Se,onChange:me,disabled:Pe,hidePercentOption:rt=!1,percentType:ue="select"})=>{const Ue=(0,ne.useMemo)(()=>rt?1:2,[rt]),[mt,ot]=(0,ne.useState)(Ue);console.log(mt);const vt=wt=>Se.type===1?`${wt}\u5206`:`${wt}%`,Ee=(0,ne.useCallback)(wt=>{if(mt===1){const Tt=wt.replace("\u5206","");return isNaN(parseInt(Tt,10))?0:Tt}else return wt.replace("%","")},[mt]);return(0,ne.useEffect)(()=>{ot(Se.type)},[Se]),we.createElement("div",{style:{display:"flex",alignItems:"center"}},ue=="select"&&we.createElement(fe.default,{size:"large",onChange:wt=>{ot(wt),me({type:wt,inputValue:wt===1?5:20})},value:mt||Ue,style:{width:100},options:rt?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Pe}),ue=="radio"&&we.createElement(De.ZP.Group,{size:"large",onChange:wt=>{const Tt=wt.target.value;ot(Tt),me({type:Tt,inputValue:Tt===1?5:20})},value:mt||Ue,disabled:Pe},!rt&&we.createElement(De.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),we.createElement(De.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),ue=="radio"&&we.createElement("div",{style:{marginRight:"10px",color:"#000000"}},Se.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),we.createElement(qe.Z,{size:"large",disabled:Pe,value:Se.inputValue,style:{width:"120px"},parser:Ee,addonAfter:Se.type===1?"\u5206":"%",max:mt===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:wt=>{me({type:mt,inputValue:wt})}}),ue=="radio"&&Se.type==2&&we.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};ln.Z=de},96332:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return Se}});var ne=ee(67294),fe={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"},De=ee(14446),qe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",we="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",ke=(me,Pe,rt)=>new Promise((ue,Ue)=>{var mt=Ee=>{try{vt(rt.next(Ee))}catch(wt){Ue(wt)}},ot=Ee=>{try{vt(rt.throw(Ee))}catch(wt){Ue(wt)}},vt=Ee=>Ee.done?ue(Ee.value):Promise.resolve(Ee.value).then(mt,ot);vt((rt=rt.apply(me,Pe)).next())}),Se=({type:me,resdata:Pe,onok:rt,oktext:ue,okloading:Ue})=>{const[mt,ot]=(0,ne.useState)(!1),{can_copy_list:vt,can_copy_num:Ee,challenge_type:wt,course_data_list:Tt,no_copy_list:$e,no_copy_num:ut,no_use_list:ye,no_use_num:ce,repeat_shixun_num:Xe,student_count:et,total_num:st,use_num:ft}=Pe;let Re=Ee>0||me==="exercise";(0,ne.useEffect)(()=>{(Pe==null?void 0:Pe.student_count)>0&&ot(!0)},[Pe]),console.log("---11",Ue),(0,ne.useEffect)(()=>{Ue||ot(!1)},[Ue]);const Be=()=>{if(me==="exercise"&&wt===1)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:fe.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ne.createElement("span",{className:fe.orangeColor},ft),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:fe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(me==="exercise"&&wt===2)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:fe.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ne.createElement("span",{className:fe.orangeColor},ft),"\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",ne.createElement("span",{className:fe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="shixun"&&wt===1)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:fe.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:fe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="shixun"&&wt===2)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:fe.orangeColor},et),"\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",ne.createElement("span",{className:fe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="subject"&&wt===1)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:fe.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ne.createElement("span",{className:fe.orangeColor},ft),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:fe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="subject"&&wt===2)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",ne.createElement("span",{className:fe.orangeColor},et)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",ne.createElement("span",{className:fe.orangeColor},ft)," \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",ne.createElement("span",{className:fe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="exercisepush")return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:fe.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",ne.createElement("span",{className:fe.orangeColor},ft),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",ne.createElement("span",{className:fe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(me==="shixunpush"&&wt===1)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:fe.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ne.createElement("span",{className:fe.orangeColor},ft),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:fe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="shixunpush"&&wt===2)return ne.createElement(ne.Fragment,null,"\u8BFE\u5802\u5185\u6709",ne.createElement("span",{className:fe.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",ne.createElement("span",{className:fe.orangeColor},ft),"\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",ne.createElement("span",{className:fe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},gt=()=>{if(me==="exercise"||me==="subject"||me==="exercisepush"||me==="shixunpush")return ne.createElement("div",{style:{marginTop:20}},ut>0&&ne.createElement("div",null,ne.createElement("span",{className:fe.flex},ne.createElement("img",{src:we,style:{width:14}}),ne.createElement("span",{className:fe.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ne.createElement("div",{className:fe.statusbody},me==="exercise"&&ne.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ne.createElement("span",{className:fe.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(me==="subject"||me==="exercisepush")&&ne.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Re&&ne.createElement("span",{className:fe.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),me==="shixunpush"&&ne.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Re&&ne.createElement("span",{className:fe.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"),ne.createElement("div",null,$e==null?void 0:$e.map((ze,ct)=>ne.createElement("a",{href:`/shixuns/${ze.identifier}/challenges`,target:"_blank"},"\u300A",ze==null?void 0:ze.name,"\u300B",ct+1!==ut&&"\u3001"))))),Ee>0&&ne.createElement("div",{style:{marginTop:20}},ne.createElement("span",{className:fe.flex},ne.createElement("img",{src:qe,style:{width:14}}),ne.createElement("span",{className:fe.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ne.createElement("div",{className:fe.statusbody},me==="exercise"&&ne.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(me==="subject"||me==="exercisepush")&&ne.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),me==="shixunpush"&&ne.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"),ne.createElement("div",null,vt==null?void 0:vt.map((ze,ct)=>ne.createElement("a",{href:`/shixuns/${ze.identifier}/challenges`,target:"_blank"},"\u300A",ze==null?void 0:ze.name,"\u300B",ct+1!==Ee&&"\u3001"))))));if(me==="shixun")return ne.createElement("div",{style:{marginTop:20}},Ee>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 ne.createElement(De.default,{open:mt,onCancel:()=>{ot(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Re&&"none"}},zIndex:1003,confirmLoading:Ue,okText:Re?ue:"\u6211\u77E5\u9053\u4E86",onOk:()=>ke(void 0,null,function*(){Re?yield rt([...vt,...ye]):ot(!1)})},ne.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Be(),gt()))}},57444:function(Hn,ln,ee){"use strict";ee.d(ln,{h:function(){return ut}});var ne=ee(67294),fe=ee(11713),De=ee(22150),qe=ee(71577),we=ee(4631),ke=ee.n(we),de=ee(71749),Se=ee(30483),me=Object.defineProperty,Pe=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,ot=(ye,ce,Xe)=>ce in ye?me(ye,ce,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):ye[ce]=Xe,vt=(ye,ce)=>{for(var Xe in ce||(ce={}))Ue.call(ce,Xe)&&ot(ye,Xe,ce[Xe]);if(ue)for(var Xe of ue(ce))mt.call(ce,Xe)&&ot(ye,Xe,ce[Xe]);return ye},Ee=(ye,ce)=>Pe(ye,rt(ce));const wt=fe.default.Option,Tt={labelCol:{span:4},wrapperCol:{span:20}},$e={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"]};ln.Z=({callback:ye,onCancel:ce})=>{const[Xe,et]=(0,ne.useState)("python");function st(Re){et($e[Re][1])}function ft(Re){ye(Re)}return ne.createElement(De.default,Ee(vt({},Tt),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ft,style:{width:500}}),ne.createElement(De.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ne.createElement(fe.default,{getPopupContainer:Re=>Re.parentNode,onChange:st},Object.keys($e).map(Re=>ne.createElement(wt,{key:Re,value:Re},$e[Re][0])))),ne.createElement(De.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ne.createElement(ut,{mode:Xe})),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(qe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(qe.ZP,{type:"ghost",onClick:ce},"\u53D6\u6D88")))};function ut({value:ye,onChange:ce,mode:Xe,options:et={}}){const st=(0,ne.useRef)(),[ft,Re]=(0,ne.useState)();return(0,ne.useEffect)(()=>{if(ft){let Be=function(gt){const ze=gt.getValue();ce&&ce(ze)};return ft.on("change",Be),()=>{ft.off("change",Be)}}},[ft,ce]),(0,ne.useEffect)(()=>{ft&&ft.setOption("mode",Xe)},[ft,Xe]),(0,ne.useEffect)(()=>{ft&&(ye!==ft.getValue()||ye==="")&&setTimeout(()=>{ft.setValue(ye||"")},300)},[ft,ye]),(0,ne.useEffect)(()=>{if(st.current&&!ft){const Be=ke().fromTextArea(st.current,vt({mode:Xe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},et));Re(Be)}},[st.current,ft]),ne.createElement("div",{className:"my-codemirror-container"},ne.createElement("textarea",{ref:st}))}},91304:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return jr}});var ne=ee(67294),fe=ee(4631),De=ee.n(fe),qe=ee(91033),we=ee(71749),ke=ee(57341),de=ee(82801),Se=ee(88386),me=ee(49047),Pe=ee(80785),rt=ee(35598),ue=({value:hn="",className:It,showTextOnly:Zt,showLines:Gt,style:Gn={}})=>{const kt=(0,ne.useMemo)(()=>"",[hn]);return ne.createElement(ne.Fragment,null,ne.createElement("div",{dangerouslySetInnerHTML:{__html:kt}}))},Ue=ee(67294),mt=Object.defineProperty,ot=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,$e=(hn,It,Zt)=>It in hn?mt(hn,It,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):hn[It]=Zt,ut=(hn,It)=>{for(var Zt in It||(It={}))wt.call(It,Zt)&&$e(hn,Zt,It[Zt]);if(Ee)for(var Zt of Ee(It))Tt.call(It,Zt)&&$e(hn,Zt,It[Zt]);return hn},ye=(hn,It)=>ot(hn,vt(It));let ce=[{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 Xe({onActionCallback:hn,title:It,icon:Zt,actionName:Gt,className:Gn="",children:kt}){function mn(){hn(Gt)}return Ue.createElement("a",{title:It,className:Gn,onClick:mn},Ue.createElement("i",{className:`${Zt}`}),kt)}var et=({watch:hn,showNullButton:It,showNullProgramButton:Zt,onActionCallback:Gt,fullScreen:Gn,insertTemp:kt,hidetoolBar:mn,extraUse:Zn})=>{const Mn=[...ce,{title:`${hn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${hn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ue.createElement("ul",{className:"markdown-toolbar-container"},!mn&&Mn.map((ar,hr)=>Ue.createElement("li",{key:hr},ar.actionName?Ue.createElement(Xe,ye(ut({},ar),{onActionCallback:Gt})):Ue.createElement("span",{className:"v-line"}))),It?Ue.createElement("li",null,Ue.createElement(Xe,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Gt},Ue.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Zt?Ue.createElement(Ue.Fragment,null,Ue.createElement("li",null,Ue.createElement(Xe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Gt},Ue.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ue.createElement("li",null,Ue.createElement(Xe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Gt},Ue.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,kt&&Ue.createElement("li",null,Ue.createElement(Xe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${kt}`,onActionCallback:Gt},Ue.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Zn&&Ue.createElement("li",null,Zn),Ue.createElement("li",{className:"btn-full-screen"},Ue.createElement(Xe,{icon:`${Gn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Gn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Gt})))},st=ee(76621),ft=ee(22150),Re=ee(69677),Be=ee(71577),gt=Object.defineProperty,ze=Object.defineProperties,ct=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,an=(hn,It,Zt)=>It in hn?gt(hn,It,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):hn[It]=Zt,ht=(hn,It)=>{for(var Zt in It||(It={}))Ot.call(It,Zt)&&an(hn,Zt,It[Zt]);if(nt)for(var Zt of nt(It))Rt.call(It,Zt)&&an(hn,Zt,It[Zt]);return hn},Ne=(hn,It)=>ze(hn,ct(It));const At={labelCol:{span:4},wrapperCol:{span:20}};var An=({callback:hn,onCancel:It})=>{function Zt(Gt){hn(Gt)}return ne.createElement(ft.default,Ne(ht({},At),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Zt,style:{width:500}}),ne.createElement(ft.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ne.createElement(Re.default,null)),ne.createElement(ft.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ne.createElement(Re.default,null)),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(Be.ZP,{type:"ghost",onClick:It},"\u53D6\u6D88")))},jt=ee(57444),Mt=ee(70859),Kt=ee(14446),sn=ee(71230),wn=ee(63205),vn=ee(67294),cn=({callback:hn,onCancel:It})=>{const Zt=document.createElement("canvas"),Gt=Zt.getContext("2d");Zt.width=1e3,Zt.height=800,Gt.fillStyle="#ffffff",Gt.fillRect(0,0,Zt.width,Zt.height);const Gn=Zt.toDataURL("image/png");return vn.createElement(Kt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},vn.createElement(sn.Z,{style:{height:"100vh"}},vn.createElement(wn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Gn,visible:!0,title:String(Date.now())},onOk:kt=>{hn({src:kt.url})},onClose:It})))},Nn=ee(72565),dr=ee(15746),En=ee(2453),Ge={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ve=ee(67294),be=(0,ne.forwardRef)(({onCancel:hn,editImgId:It,callback:Zt},Gt)=>{let Gn=(0,ne.useRef)(),kt=(0,ne.useRef)(),mn=(0,ne.useRef)(),Zn=(0,ne.useRef)(!1);const Mn=(0,ne.useRef)(!1);console.log("ref:",Gt);const[ar,hr]=(0,ne.useState)(0),[dn,za]=(0,ne.useState)("100vh");return(0,ne.useEffect)(()=>{hr(1);try{indexedDB.databases().then(pa=>{pa.forEach(ma=>indexedDB.deleteDatabase(ma.name))})}catch(pa){}},[]),(0,ne.useImperativeHandle)(Gt,()=>({setHeight:za})),ve.createElement("div",{ref:Mn,className:"body-overflow-initial"},ve.createElement(Nn.Z,{width:"100vw",height:dn,footer:null,closable:!0,placement:"bottom",open:!!ar,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${Ge.drawerWrap}`,onClose:()=>{window.saveDrawData(pa=>{Zt({src:`/api/attachments/${pa}`,id:pa})})},title:ve.createElement(sn.Z,{align:"middle"},ve.createElement(dr.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ve.createElement(dr.Z,{onClick:()=>{za(dn==="60px"?"100vh":"60px")}},ve.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ve.createElement(dr.Z,{onClick:()=>{window.saveDrawData(pa=>{if(pa===null){En.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}En.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Zt({src:`/api/attachments/${pa}`,id:pa,disabledClose:!0})})}},ve.createElement(Be.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ve.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${It||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:kt})))}),ge=ee(11320),se=ee(78045),Ye=ee(31795);const xt=se.ZP.Group,pn={margin:"0 8px"};var on=({callback:hn,onCancel:It})=>{function Zt(Gt){hn(Gt)}return ne.createElement(ft.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Zt},ne.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ne.createElement("span",{style:pn},"\u5355\u5143\u683C\u6570\uFF1A"),ne.createElement("span",{style:pn},"\u884C\u6570"),ne.createElement(ft.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ne.createElement(Ye.Z,null)),ne.createElement("span",{style:pn},"\u5217\u6570"),ne.createElement(ft.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ne.createElement(Ye.Z,null))),ne.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ne.createElement("span",{style:pn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ne.createElement(ft.default.Item,{name:"align"},ne.createElement(xt,null,ne.createElement(se.ZP,{value:"default"},ne.createElement("i",{className:"fa fa-align-justify"})),ne.createElement(se.ZP,{value:"left"},ne.createElement("i",{className:"fa fa-align-left"})),ne.createElement(se.ZP,{value:"center"},ne.createElement("i",{className:"fa fa-align-center"})),ne.createElement(se.ZP,{value:"right"},ne.createElement("i",{className:"fa fa-align-right"}))))),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(Be.ZP,{type:"ghost",onClick:It},"\u53D6\u6D88")))},In=ee(47897),Qn=ee(61016),_n=ee.n(Qn),gn=(0,ne.forwardRef)(({use3d:hn,width:It,height:Zt,callback:Gt,showSaveButton:Gn},kt)=>{const mn=(0,ne.useRef)(),Zn=(0,ne.useRef)(),[Mn,ar]=(0,ne.useState)(!1),hr=(0,ne.useRef)({id:mn,appName:"graphing",width:It||1e3,height:Zt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ne.useEffect)(()=>{Zn.current=new(_n())(hr.current,!0),window.onload=function(){Zn.current.inject("applet_container")}},[]);const dn=()=>{var za=window.ggbApplet.getPNGBase64(1,!0,72);return Gt&&Gt(za),za};return(0,ne.useEffect)(()=>{hr.current.appName=Mn?"3D":"graphing",Zn.current.inject("applet_container")},[Mn]),(0,ne.useEffect)(()=>{ar(hn)},[hn]),(0,ne.useImperativeHandle)(kt,()=>({getImgData:dn})),ne.createElement(ne.Fragment,null,ne.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:mn}),ne.createElement(sn.Z,{align:"middle"},ne.createElement(dr.Z,{flex:1},ne.createElement(In.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Mn,onChange:za=>ar(za)})),ne.createElement(dr.Z,null,ne.createElement(Be.ZP,{size:"large",onClick:dn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Fn=ee(36527),Tn=ee(25934);const qt="link",Dr="upload-image",Ut="add-flowchart",nn="draw-image",Nr="add-flowchart",cr="code-block",Fr="add-table",aa="------------",Jn={default:aa,left:`:${aa}`,center:`:${aa}:`,right:`${aa}:`};var Ia=ee(99914),Ta=(hn,It,Zt)=>new Promise((Gt,Gn)=>{var kt=Mn=>{try{Zn(Zt.next(Mn))}catch(ar){Gn(ar)}},mn=Mn=>{try{Zn(Zt.throw(Mn))}catch(ar){Gn(ar)}},Zn=Mn=>Mn.done?Gt(Mn.value):Promise.resolve(Mn.value).then(kt,mn);Zn((Zt=Zt.apply(hn,It)).next())});function ti(){}let Jr=0;const ja=1e4,Si="\u2581",$a="@\u2581\u2581@",ji="@\u2581@",Ni=`
|
|
|
**\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`,Ln=["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 Pn(hn){return/^\d+$/.test(hn)?`${hn}px`:hn}const or=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",$r={[or+"-B"]:"bold",[or+"-I"]:"italic"},Br={[qt]:"\u6DFB\u52A0\u94FE\u63A5",[cr]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Dr]:"\u6DFB\u52A0\u56FE\u7247",[nn]:"\u6DFB\u52A0\u753B\u56FE",[Ut]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Fr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var jr=({defaultValue:hn="",onChange:It,width:Zt="100%",height:Gt=400,miniToolbar:Gn=!1,isFocus:kt=!1,watch:mn,insertTemp:Zn,mode:Mn="markdown",id:ar="markdown-editor-id",showResizeBar:hr=!1,noStorage:dn=!1,showNullButton:za=!1,showNullProgramButton:pa=!1,hidetoolBar:ma=!1,fullScreen:Sa=!1,onBlur:Aa,onCMBeforeChange:ka,onFullScreen:Er,className:Gr="",disablePaste:Zi=!1,disabled:Ii=!1,disabledFill:ni=!1,placeholder:hi="",values:io="",extraUse:ri,onAddBlank:ho})=>{const[ia,so]=(0,ne.useState)(null),[xo,ml]=(0,ne.useState)(hn),[vl,Yo]=(0,ne.useState)(mn),[uo,wl]=(0,ne.useState)(Sa),[Qo,dl]=(0,ne.useState)(""),[zl,bl]=(0,ne.useState)(0),[Sl,Ci]=(0,ne.useState)(Gt),[Do,Pi]=(0,ne.useState)(!1),Bi=(0,ne.useRef)((0,Tn.Z)()),zn=(0,ne.useRef)(!1),Cn=(0,ne.useRef)(),[mr,Yr]=(0,ne.useState)(0),[ha,mi]=(0,ne.useState)(0),xi=(0,ne.useRef)(),Ui=(0,ne.useRef)(),di=(0,ne.useRef)(),Mi=(0,ne.useRef)(),Ao=(0,ne.useRef)(),Wo=(0,ne.useRef)(),$o=()=>Ta(void 0,null,function*(){var Dn;const qn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Bi.current}});(Dn=qn==null?void 0:qn.attachments)!=null&&Dn.length&&(console.log("cm:",ia,xi),qn.attachments.map(Xn=>{Xn.content_type.indexOf("image")>-1?ia.replaceSelection(``):Xn.content_type.indexOf("video")>-1?ia.replaceSelection(`<video width="100%" controls src="${ge.Z.API_SERVER}/api/attachments/${data.id}"></video>`):Xn.content_type.indexOf("pdf")>-1?ia.replaceSelection(`<a href="${ge.Z.API_SERVER}/api/attachments/${Xn.id}?type=${Xn.content_type}&disposition=inline" target="_blank">${Xn.name}</a>`):ia.replaceSelection(`[${Xn.name}](${ge.Z.API_SERVER}/api/attachments/${Xn.id}?type=${Xn.content_type})`)}))});(0,ne.useEffect)(()=>{const Dn=window.scrollY||window.pageYOffset;ml(io),ia==null||ia.setValue(io),window.scrollTo(0,Dn)},[io]),(0,ne.useEffect)(()=>{Er==null||Er(uo)},[uo]),(0,ne.useEffect)(()=>{if(xi.current){let Dn=function(Xn,Ar){var Or;if(Zi){Ar.preventDefault();return}const Kr=Ar.clipboardData;if(Kr){const Tr=Kr.types.toString(),_r=Kr.items;if(Tr==="Files"||Kr.types.indexOf("Files")>-1){if(Ar.preventDefault(),Mn=="stex")return;try{let Zr=_r[1];((Or=_r[0])==null?void 0:Or.kind)==="file"&&(Zr=_r[0]);const qr=Zr.getAsFile(),Dt=qr.name.split(".").pop();(0,Mt.I)(qr,Pt=>{var Kn,Bn,xr;Pt.id?((Kn=qr==null?void 0:qr.type)==null?void 0:Kn.indexOf("image"))>-1?qn.replaceSelection(`<img width="100%" src="/api/attachments/${Pt.id}?type=${Pt.content_type})" alt="" />`):((Bn=qr==null?void 0:qr.type)==null?void 0:Bn.indexOf("video"))>-1?qn.replaceSelection(`<video width="100%" controls src="/api/attachments/${Pt.id}"></video>`):((xr=qr==null?void 0:qr.type)==null?void 0:xr.indexOf("pdf"))>-1?qn.replaceSelection(`<a href="/api/attachments/${Pt.id}?type=${qr.type}&disposition=inline" target="_blank">${qr.name}</a>`):Ln.includes(Dt)?qn.replaceSelection(`<a href="/api/attachments/${Pt.id}?type=office&disposition=inline" target="_blank">${qr.name}</a>`):qn.replaceSelection(`[${qr.name}](/api/attachments/${Pt.id}?type=${Pt.content_type})`):(Pt==null?void 0:Pt.status)===401&&(En.ZP.warning((Pt==null?void 0:Pt.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Zr){En.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const qn=De().fromTextArea(xi.current,{mode:Mn,lineNumbers:!Gn,lineWrapping:!0,value:hn,autoCloseTags:!pa,autoCloseBrackets:!0});return qn.on("keyup",function(Xn,Ar){Ar.keyCode===8&&(Xn.getValue()==""?qn.setOption("placeholder",hi):qn.setOption("placeholder",null))}),qn.on("keydown",function(Xn,Ar){if(Ar.keyCode===8){var Or=tt(Xn);Or&&Ar.preventDefault()}}),kt&&qn.focus(),qn.on("paste",Dn),qn.on("dragleave",function(Xn,Ar){Ui.current.classList.remove("mouse-hover-md")}),Ii&&qn.on("beforeChange",function(Xn,Ar){(Ar.origin==="paste"||Ar.origin==="+input")&&Ar.cancel()}),so(qn),()=>{qn.off("paste",Dn)}}},[]);const He=(0,ne.useCallback)(()=>{if(Ui.current)try{}catch(Dn){console.log(Dn,"---- to set md editor body height")}},[Sl,Ui,uo]);(0,ne.useEffect)(()=>{function Dn(){let qn=new qe.Z(Xn=>{for(let Ar of Xn)(Ar.target.offsetHeight>0||Ar.target.offsetWidth>0)&&(He(),ia.setSize("100%","100%"),ia.refresh())});return qn.observe(xi.current.parentElement),qn}if(ia){const qn=Dn();return()=>{var Xn,Ar;(Xn=xi.current)!=null&&Xn.parentElement&&qn.unobserve((Ar=xi.current)==null?void 0:Ar.parentElement)}}},[ia,He]),(0,ne.useEffect)(()=>{if(ia){let Dn=[];for(const[qn,Xn]of Object.entries($r)){let Ar={[qn]:()=>{Nt(Xn)}};Dn.push(Ar),ia.addKeyMap(Ar)}return Cn.current=setInterval(()=>{zn.current&&$o()},4e3),()=>{clearInterval(Cn.current);for(let qn of Dn)ia.removeKeyMap(qn)}}},[ia]),(0,ne.useEffect)(()=>{Sa!==uo&&wl(Sa)},[Sa]),(0,Ia.Z)(()=>{if(!dn&&zl>0){let Dn=new Date().getTime(),qn=window.sessionStorage.getItem(ar);Dn>=zl+ja&&(!qn||qn!==xo)&&(window.sessionStorage.setItem(ar,xo),Pi(!0))}},ja),(0,ne.useEffect)(()=>{Yo(mn)},[ia,mn]),(0,ne.useEffect)(()=>{ia&&kt&&ia.focus()},[ia,kt]),(0,ne.useEffect)(()=>{if(vl&&ia){let Dn=function(Xn){let Ar=Xn.target;if(Mi.current){let Or=Ar.scrollTop/Ar.scrollHeight;Mi.current.scrollTop=Mi.current.scrollHeight*Or}};const qn=ia.getScrollerElement();return qn.addEventListener("scroll",Dn),()=>{qn.removeEventListener("scroll",Dn)}}},[ia,vl]),(0,ne.useEffect)(()=>{if(ia&&ka){let Dn=function(qn,Xn){ka(qn,Xn)};return ia.on("beforeChange",Dn),()=>{ia.off("beforeChange",Dn)}}},[ia,ka]),(0,ne.useEffect)(()=>{if(ia&&Aa){let Dn=function(){Aa(ia.getValue())};return ia.on("blur",Dn),()=>{ia.off("blur",Dn)}}},[ia,Aa]);function tt(Dn,qn){var Xn=Dn.getDoc(),Ar=Xn.getCursor(),Or=Xn.getLine(Ar.line),Kr=Or.charAt(Ar.ch-1),Tr=Or.lastIndexOf("@\u2581@",Ar.ch),_r=Or.lastIndexOf("@\u2581\u2581@",Ar.ch),Zr=Tr>_r?Tr:_r,qr=Tr>_r?3:4;if($a.indexOf(Kr)===-1)return null;if(console.log("change1:",qn,Dn,Or,Ar,Zr,Tr,_r,Kr),Zr>=0&&Ar.ch-Zr<5){var Dt=Zr+qr;return Xn.replaceRange("",{line:Ar.line,ch:Zr},{line:Ar.line,ch:Dt}),{line:Ar.line,ch:Dt}}return null}(0,ne.useEffect)(()=>{if(ia){let Dn=function(qn,Xn){const Ar=qn.getValue();ml(Ar),bl(new Date().getTime()),qn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),It&&(pa?It(Ar,$t(Ar)):It(Ar))};return ia.on("change",Dn),()=>{ia.off("change",Dn)}}},[ia,It]),(0,ne.useEffect)(()=>{if(ia)if(hn==null)ia.setValue(""),ml("");else{const Dn=window.scrollY||window.pageYOffset;hn!==ia.getValue()&&(ia.setValue(hn),ml(hn),ia.setCursor(Ii?1:ia.lineCount(),0),window.scrollTo(0,Dn))}},[ia,hn]);const Nt=(0,ne.useCallback)(Dn=>{const qn=ia.getCursor(),Xn=ia.getSelection();let Ar=Xn.split(`
|
|
|
`);switch(Dn){case"bold":return ia.replaceSelection("**"+Xn+"**"),Xn===""&&ia.setCursor(qn.line,qn.ch+2),ia.focus();case"italic":return ia.replaceSelection("*"+Xn+"*"),Xn===""&&ia.setCursor(qn.line,qn.ch+1),ia.focus();case"code":return ia.replaceSelection("`"+Xn+"`"),Xn===""&&ia.setCursor(qn.line,qn.ch+1),ia.focus();case"inline-latex":return dl("inline-latex"),ia.focus();case"latex":return ia.replaceSelection("```latex\n"+Xn+"\n```"),ia.setCursor(qn.line+1,Xn.length+1),ia.focus();case"line-break":return ia.replaceSelection(`<br/>
|
|
|
`),ia.focus();case"list-ul":return Xn===""?ia.replaceSelection("- "+Xn):ia.replaceSelection(Ar.map(Or=>Or===""?"":`- ${Or}`).join(`
|
|
|
`)),ia.focus();case"list-ol":return Xn===""?ia.replaceSelection("1. "+Xn):ia.replaceSelection(Ar.map((Or,Kr)=>Or===""?"":`${Kr+1}. ${Or}`).join(`
|
|
|
`)),ia.focus();case"add-null-ch":ho==null||ho();return;case"add-signal":return Xn===""&&ia.setCursor(qn.line,qn.ch),ia.replaceSelection(ji),ia.focus();case"add-multiple":return Xn===""&&ia.setCursor(qn.line,qn.ch),ia.replaceSelection($a),ia.focus();case"inster-template-1":return Xn===""&&ia.setCursor(qn.line,qn.ch),ia.replaceSelection(Ni),ia.focus();case"eraser":return ia.setValue(""),ia.focus();case"trigger-watch":return Yo(!vl),ia.focus();case"trigger-full-screen":return wl(!uo),ia.focus();case qt:dl(qt);return;case cr:dl(cr);return;case Dr:dl(Dr);return;case nn:dl(nn);return;case"maths-latex":dl("maths-latex");return;case Ut:Ao.current="",sessionStorage.removeItem("file_id"),dl(Ut);return;case Fr:dl(Fr);return;default:throw new Error}},[ia,vl,uo]),pe=(0,ne.useCallback)((Dn,qn)=>{var Xn,Ar,Or,Kr,Tr,_r;dl("");const{src:Zr,alt:qr,id:Dt}=Dn||{};switch(Qo){case qt:const{title:zr,link:Lr}=Dn;return ia.replaceSelection(`[${zr}](${Lr})`),ia.focus();case cr:const{language:ca,content:un}=Dn;return ia.replaceSelection(["```"+ca,un,"```"].join(`
|
|
|
`)),ia.focus();case"maths-latex":for(var Pt=atob(Dn),Kn=new Uint8Array(Pt.length),Bn=0;Bn<Pt.length;Bn++)Kn[Bn]=Pt.charCodeAt(Bn);var xr=new Blob([Kn],{type:"image/png"});(0,Mt.I)(xr,ba=>{ba.id?ia.replaceSelection(``):(ba==null?void 0:ba.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":ia.replaceSelection("`$$"+Dn+"$$`");break;case Nr:if(!Dt)return;ia.focus(),ia.getValue().indexOf(Zr)===-1?ia.replaceSelection(`<center><img id="${Dt}" width="80%" src="${Zr}" class="draw-flowchart" alt="${qr||""}" /></center>`):document.getElementById(Dt).src=ge.Z.API_SERVER+Zr+"?t="+Date.now();try{setTimeout(()=>{Aa(ia.getValue())},100)}catch(ba){}break;case Dr:case nn:const Jt=qn,yn=(Or=(Ar=(Xn=Jt==null?void 0:Jt.name)==null?void 0:Xn.split("."))==null?void 0:Ar.pop)==null?void 0:Or.call(Ar);return((Kr=Jt==null?void 0:Jt.type)==null?void 0:Kr.indexOf("image"))>-1||!(Jt!=null&&Jt.type)?Jt!=null&&Jt.align||Jt!=null&&Jt.width?ia.replaceSelection(`<p style="text-align:${Jt.align||"initial"}"><img width="${Jt.width?Jt.width+"%":"initial"}" src="${Zr}" alt="${qr||""}" /></p>`):ia.replaceSelection(`<img width="100%" src="${Zr}" alt="${qr||""}" />`):((Tr=Jt==null?void 0:Jt.type)==null?void 0:Tr.indexOf("video"))>-1?ia.replaceSelection(`<video width="100%" controls src="${Zr}"></video>`):((_r=Jt==null?void 0:Jt.type)==null?void 0:_r.indexOf("pdf"))>-1?ia.replaceSelection(`<a href="${Zr}?type=${Jt.type}&disposition=inline" target="_blank">${Jt.name}</a>`):Ln.includes(yn)?ia.replaceSelection(`<a href="${Zr}?type=office&disposition=inline" target="_blank">${Jt.name}</a>`):ia.replaceSelection(`[${Jt.name}](${Zr})`),ia.focus();case Fr:const{row:lr,col:Xr,align:Ir}=Dn;let yr=`
|
|
|
`;for(let ba=0;ba<lr;ba++){let va=[],Oa=[];for(let da=0;da<Xr;da++)ba===1&&Oa.push(Jn[Ir]),va.push(" ");ba===1&&(yr+=`| ${Oa.join(" | ")} |
|
|
|
`),yr+=`| ${va.join(Xr===1?"":" | ")} |
|
|
|
`}return ia.replaceSelection(yr+`
|
|
|
`),ia.focus();default:throw new Error}},[ia,Qo]),Oe=(0,ne.useMemo)(()=>{switch(Qo){case qt:return ne.createElement(An,{callback:pe,onCancel:Ae});case cr:return ne.createElement(jt.Z,{callback:pe,onCancel:Ae});case Dr:return ne.createElement(Mt.Z,{callback:pe,onCancel:Ae});case Ut:return ne.createElement(be,{editImgId:Ao.current,callback:pe,onCancel:Ae});case Fr:return ne.createElement(on,{callback:pe,onCancel:Ae});case"maths-latex":return ne.createElement(gn,{showSaveButton:!0,callback:pe});case"inline-latex":return ne.createElement(Fn.Z,{showSaveButton:!0,callback:pe});default:return null}},[Qo]);function Ae(){dl("")}(0,ne.useEffect)(()=>{if(di.current){let Dn=function(Tr){Or=!0,Kr=Tr.pageY},qn=function(){Or=!1},Xn=function(Tr){if(Or){let _r=Tr.pageY-Kr;_r<0&&(_r=0),_r>300&&(_r=300);let Zr=Gt+_r+"px";Ci(Zr)}},Ar=di.current,Or=!1,Kr=0;return Ar.addEventListener("mousedown",Dn),document.addEventListener("mousemove",Xn),document.addEventListener("mouseup",qn),()=>{Ar.removeEventListener("mousedown",Dn),document.removeEventListener("mousemove",Xn),document.removeEventListener("mouseup",qn)}}},[ia,di]),(0,ne.useEffect)(()=>{Ci(Gt)},[Gt]);const Ke=Pn(Zt),Qe=Pn(Sl),at={width:Ke,height:Qe},pt=(0,ne.useMemo)(()=>{if(zl){let Dn=new Date(zl),qn=Dn.getHours(),Xn=Dn.getMinutes(),Ar=Dn.getSeconds();return qn=qn<10?"0"+qn:qn,Xn=Xn<10?"0"+Xn:Xn,Ar=Ar<10?"0"+Ar:Ar,`${qn}:${Xn}:${Ar}`}return 0},[zl]),$t=Dn=>{const qn=[];if(pa){let Xn=-1;Dn=Dn.replace(/(@▁▁@|@▁@)/g,function(Ar,Or,Kr){qn.push({multiLine:Ar!==ji})})}return qn};function tn(){window.sessionStorage.removeItem(ar),Pi(!1),bl(0)}function Yn(){Pi(!1),bl(0),ia.setValue(window.sessionStorage.getItem(ar))}(0,ne.useEffect)(()=>{Br[Qo]&&Qo!==nn&&Qo!==Ut&&setTimeout(()=>{const Dn=document.getElementsByClassName("markdown-popup-form")[0],qn=window.innerWidth/2-Dn.offsetWidth/2,Xn=window.innerHeight/2-Dn.offsetHeight/2;Yr(qn),mi(Xn)},0)},[Qo]);const fr=Dn=>{Dn.preventDefault();const qn=Dn.clientX-mr,Xn=Dn.clientY-ha;document.body.onmousemove=Ar=>{let Or=Ar.clientX-qn,Kr=Ar.clientY-Xn;const Tr=document.getElementsByClassName("markdown-popup-form")[0],_r=window.innerWidth-Tr.offsetWidth,Zr=window.innerHeight-Tr.offsetHeight;Or=Math.max(0,Math.min(Or,_r)),Kr=Math.max(0,Math.min(Kr,Zr)),Cr(Ar.clientX,Ar.clientY,qn,Xn)&&(Yr(Or),mi(Kr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Cr=(Dn,qn,Xn,Ar)=>{const Or=document.body.clientHeight,Kr=document.body.clientWidth;return Dn<20&&Xn>Dn||Dn>Kr-20&&Xn<Dn||qn<20&&Ar>qn||qn>Or-20&&Ar<qn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"markdown-editor-wrapper",ref:Ui},ne.createElement("div",{className:`markdown-editor-container ${Gr} ${vl?"on-preview":""} ${Gn?"mini":""} ${uo?"full-screen":""}`,style:at},ne.createElement(et,{insertTemp:Zn,watch:vl,fullScreen:uo,showNullButton:za,showNullProgramButton:pa,onActionCallback:Nt,hidetoolBar:ma,extraUse:ri}),ne.createElement("div",{className:"markdown-editor-body"},ne.createElement("div",{className:"codemirror-container"},ne.createElement("textarea",{ref:xi,placeholder:hi})),vl?ne.createElement("div",{ref:Mi,className:"preview-container"},Mn==="stex"&&ne.createElement(ue,{value:xo}),Mn!=="stex"&&ne.createElement(rt.Z,{edit:!0,disabledFill:ni,showProgramFill:pa,value:xo,openEditor:Dn=>{var qn;Ao.current=Dn,(qn=Wo.current)==null||qn.setHeight("100vh"),setTimeout(()=>{dl("add-flowchart")},150)}})):null))),hr?ne.createElement("a",{ref:di,className:"editor-resize"}):null,Qo===nn&&ne.createElement(cn,{callback:pe,onCancel:Ae}),Qo===Ut&&ne.createElement(be,{ref:Wo,editImgId:Ao.current,callback:pe,onCancel:Ae}),ne.createElement(st.Z,null,Br[Qo]&&Qo!==nn&&Qo!==Ut?ne.createElement(Kt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:mr,top:ha},title:ne.createElement("div",{style:{cursor:"move"},onMouseDown:fr},Br[Qo]),open:!0,onCancel:Ae,footer:null,destroyOnClose:!0,width:Qo===Ut?"1200px":null,height:Qo===Ut?"80vh":null,className:"markdown-popup-form"},Oe):null))}},70859:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return Xe},I:function(){return st}});var ne=ee(22150),fe=ee(2453),De=ee(69677),qe=ee(93421),we=ee(31795),ke=ee(78045),de=ee(71577),Se=ee(15476),me=ee(67294),Pe=ee(52262),rt=ee(67294),ue=Object.defineProperty,Ue=Object.defineProperties,mt=Object.getOwnPropertyDescriptors,ot=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,wt=(ft,Re,Be)=>Re in ft?ue(ft,Re,{enumerable:!0,configurable:!0,writable:!0,value:Be}):ft[Re]=Be,Tt=(ft,Re)=>{for(var Be in Re||(Re={}))vt.call(Re,Be)&&wt(ft,Be,Re[Be]);if(ot)for(var Be of ot(Re))Ee.call(Re,Be)&&wt(ft,Be,Re[Be]);return ft},$e=(ft,Re)=>Ue(ft,mt(Re));const{useForm:ut}=ne.default,ye={width:280,marginRight:10},ce={labelCol:{span:5},wrapperCol:{span:19}};var Xe=({callback:ft,onCancel:Re})=>{const[Be]=ut();let gt=(0,me.useRef)();function ze(Ot){gt.current.width=Be.getFieldValue("width"),gt.current.align=Be.getFieldValue("align"),ft(Ot,gt.current)}function ct(Ot,Rt){if(Ot.status===-1){fe.ZP.error(Ot.message);return}Be.setFieldsValue({src:`/api/attachments/${Ot.id}`,type:Rt.type})}function nt(Ot){let Rt=Ot.target.files[0];gt.current=Rt,st(Rt,ct)}return rt.createElement(ne.default,$e(Tt({form:Be},ce),{className:"upload-image-panel",onFinish:ze,style:{width:470,overflow:"hidden"}}),rt.createElement(ne.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},rt.createElement("div",{className:"flex-container"},rt.createElement(ne.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},rt.createElement(De.default,{style:ye})),rt.createElement(et,{onFileChange:nt}))),rt.createElement(ne.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},rt.createElement(De.default,{style:{width:264}})),rt.createElement(ne.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},rt.createElement(qe.Z,null,rt.createElement(ne.default.Item,{name:"width",style:{margin:0}},rt.createElement(we.Z,{style:{width:264}})),rt.createElement("span",{className:"ml8"},"%"))),rt.createElement(ne.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},rt.createElement(ke.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(ne.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},rt.createElement(de.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),rt.createElement(de.ZP,{type:"default",onClick:Re},"\u53D6\u6D88"))))};function et({onFileChange:ft}){return rt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",rt.createElement("input",{type:"file",onChange:ft}))}function st(ft,Re){if(!ft)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Pe.bg)())throw fe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Be=new FormData;Be.append("editormd-image-file",ft),Be.append("file_param_name","editormd-image-file"),Be.append("byxhr","true");var gt=new window.XMLHttpRequest;gt.withCredentials=!0,gt.addEventListener("load",function(ze){Re(JSON.parse(ze.target.responseText),ft)},!1),gt.addEventListener("error",function(ze){console.error(ze)},!1),gt.open("POST",`${Se.KI}/api/attachments.json`),gt.send(Be)}},76621:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return De}});var ne=ee(67294),fe=ee(73935);class De extends ne.Component{constructor(we){super(we);const ke=window.document;this.node=ke.createElement("div"),ke.body.appendChild(this.node)}render(){const{children:we}=this.props;return(0,fe.createPortal)(we,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},5476:function(Hn,ln,ee){"use strict";ee.d(ln,{i:function(){return ce},Z:function(){return et}});var ne={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"},fe=ee(57953),De=ee(83062),qe=ee(38703),we=ee(94184),ke=ee.n(we),de=ee(28706),Se=ee(26194),me=ee(52262),Pe=ee(79005),rt=ee(20345),ue=ee(77882),Ue=ee(31081),mt=ee(75309),ot=ee(71979),vt=ee(47558),Ee=ee(60345),wt=ee(66832),Tt=ee(96593),$e=ee(19664),ut=ee(91833),ye=ee(67294);const ce=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Pe,swimg:rt},{name:"101\u8BA1\u5212",ptimg:ue,swimg:Ue},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:mt,swimg:ot},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:vt,swimg:Ee},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:wt,swimg:Tt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:$e,swimg:ut}];var et=({className:st,dataSource:ft=[],col:Re=4,right:Be,bottom:gt=23,precision:ze=0,wrapWidth:ct=1200,trackEventItems:nt,loading:Ot,onRemove:Rt=()=>{},isCurrent:an=!0,showAlias:ht=!1,showProgress:Ne=!1})=>{const At=Math.floor((ct-(Re-1)*Be)/Re),An=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(jt=>(window.ENV==="build"&&(jt.ptimg=`/react/build${jt.ptimg}`,jt.swimg=`/react/build${jt.swimg}`),jt));return ye.createElement(fe.Z,{spinning:Ot},ye.createElement("div",{className:ke()(ne.list,st)},!!(ft!=null&&ft.length)&&(ft==null?void 0:ft.map((jt,Mt)=>{var Kt,sn,wn,vn,cn,Nn;const{name:dr,id:En,identifier:Ge,featured:ve,school_name:he,image_url:be,excellent:ge,is_plan:se}=jt;return ye.createElement("div",{key:En,className:an&&Ne?ne.wrapisCurrent:ne.wrap,style:{width:At,marginRight:(1+Mt)%Re===0?0:Be+ze,marginBottom:gt}},ye.createElement("a",{className:ne.li,onClick:Ye=>{Ye.preventDefault(),Ye.stopPropagation(),nt&&(0,de.L9)([nt]),(0,de.xg)(`/paths/${Ge}`)}},ye.createElement("div",{className:ne.img},ye.createElement("img",{className:ne.cover,src:`${be}`}),an&&(0,me.bg)()&&(jt==null?void 0:jt.studying)&&ye.createElement("div",{className:`${ne.movebq} user-path-items`,onClick:Ye=>{Ye.stopPropagation(),Rt(jt)}},ye.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ye.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Kt=jt==null?void 0:jt.subject_tags)==null?void 0:Kt.map((Ye,xt)=>{var pn,on;if(xt===0){const Qn=(pn=An.find(_n=>_n.name==Ye))==null?void 0:pn.swimg;return ye.createElement("img",{className:ne.sign,src:Qn,style:{left:"-4px"}})}const In=(on=An.find(Qn=>Qn.name==Ye))==null?void 0:on.ptimg;return ye.createElement("img",{className:ne.sign,src:In,style:{left:`${48+52*(xt-1)+2*xt}px`}})}),ye.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(jt==null?void 0:jt.excellent)&&ye.createElement("div",{className:ne.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ye.createElement("div",{className:ne.name},ye.createElement(De.Z,{title:ht&&(jt!=null&&jt.excellent_alias_name)?ye.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${dr}`,ye.createElement("br",null),ye.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${jt==null?void 0:jt.excellent_alias_name}`)):dr},ye.createElement("span",{className:ne.e},ht&&(jt==null?void 0:jt.excellent_alias_name)||dr))),an&&Ne&&((sn=jt==null?void 0:jt.progress)==null?void 0:sn.all_score)!=0&&ye.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ye.createElement(qe.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((wn=jt==null?void 0:jt.progress)==null?void 0:wn.my_score)/((vn=jt==null?void 0:jt.progress)==null?void 0:vn.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(cn=jt==null?void 0:jt.progress)==null?void 0:cn.my_score,"/",(Nn=jt==null?void 0:jt.progress)==null?void 0:Nn.all_score),(!an||!Ne)&&ye.createElement("div",{className:ne.tags},ye.createElement("div",null,ye.createElement(De.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ye.createElement("span",null,ye.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ye.createElement("span",null,jt.stages_count))),ye.createElement(De.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ye.createElement("span",null,ye.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ye.createElement("span",null,jt.members_count)))))))})),!ft.length&&ye.createElement(Se.Z,null)))}},80150:function(Hn,ln,ee){"use strict";ee.d(ln,{jL:function(){return we},w9:function(){return Br},vv:function(){return mn},dN:function(){return Zt},QD:function(){return Yr},cQ:function(){return xt.Z},vg:function(){return Ln},Oz:function(){return Jr},op:function(){return Do},O5:function(){return $t},_b:function(){return Mi},t7:function(){return gt},tT:function(){return nt},Gi:function(){return Er},YG:function(){return hr},Ed:function(){return Aa},kT:function(){return pa},qp:function(){return Ee},Um:function(){return ce},K3:function(){return $e},vr:function(){return xi},qE:function(){return zn},Je:function(){return an},wb:function(){return Nn},rC:function(){return Ye},lB:function(){return Ge},cq:function(){return io},kO:function(){return so},tp:function(){return st},Si:function(){return fr},k8:function(){return ca},Du:function(){return Tr}});var ne=ee(67294),fe={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"},De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLT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PeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",we=({dataSource:un=[],img:Jt,imgWidth:yn=346,title:lr,sunTitle:Xr,bannerExtraContent:Ir})=>ne.createElement("div",{className:fe.banner},ne.createElement("div",{className:fe.content},ne.createElement("aside",null,ne.createElement("p",null,ne.createElement("b",null,lr),ne.createElement("span",null,Xr)),un.length>0&&ne.createElement("div",{className:fe.btns},un.map((yr,ba)=>ne.createElement("div",{key:ba,onClick:yr.click},yr.name,yr.sign?ne.createElement("img",{src:De,width:39}):null))),Ir),Jt&&ne.createElement("img",{style:{marginTop:33,marginRight:38},src:Jt,width:yn}))),ke={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"},de=ee(94184),Se=ee.n(de),me=ee(96486),Pe=Object.defineProperty,rt=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,mt=(un,Jt,yn)=>Jt in un?Pe(un,Jt,{enumerable:!0,configurable:!0,writable:!0,value:yn}):un[Jt]=yn,ot=(un,Jt)=>{for(var yn in Jt||(Jt={}))ue.call(Jt,yn)&&mt(un,yn,Jt[yn]);if(rt)for(var yn of rt(Jt))Ue.call(Jt,yn)&&mt(un,yn,Jt[yn]);return un},Ee=({dataSource:un=[],value:Jt,onChange:yn,onTitleChange:lr,className:Xr,title:Ir,titleWidth:yr=41,style:ba={},fontColor:va="#6A7283",showCount:Oa,classNameActive:da,styleItem:Ur={}})=>{const[Wa,ai]=(0,ne.useState)(0),[_a,Va]=(0,ne.useState)(!1),ei=(0,ne.useRef)(null),Yi=(0,ne.useRef)(null);return(0,ne.useEffect)(()=>{var Ei;un.length!==0&&(((Ei=ei==null?void 0:ei.current)==null?void 0:Ei.clientHeight)>97?ai(1):ai(0)),un.length===0&&ai(0),Va(!1)},[un]),ne.createElement("div",{className:Se()(ke.row,Xr),style:ba},ne.createElement("div",{onClick:(0,me.throttle)(()=>lr==null?void 0:lr(),2e3),style:{width:yr,marginTop:_a?12:4},className:`${ke.title} ${lr?"current":""}`},Ir),ne.createElement("div",{className:_a?`${ke.tagsWrap} ${ke.tagsBorderWrap}`:ke.tagsWrap},ne.createElement("div",{className:ke.bar,ref:Yi,style:Wa>0?{height:Wa===1?97:"auto",overflow:Wa===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ne.createElement("div",{className:ke.tag,ref:ei},un==null?void 0:un.map(Ei=>ne.createElement("span",{onClick:()=>yn(Ei.id),key:Ei.id,style:ot(ot({color:va},Ur),(Ei==null?void 0:Ei.style)||{}),className:Jt===Ei.id?Se()(da||ke.active,Ei.classNameActive):""},ne.createElement("span",{title:Ei.name,className:ke.name},Ei.name),!!Oa&&ne.createElement("span",{className:ke.num},Ei.count))))),!!Wa&&ne.createElement(ne.Fragment,null,Wa===1?ne.createElement("div",{onClick:()=>{var Ei;ai(2),((Ei=ei==null?void 0:ei.current)==null?void 0:Ei.clientHeight)>245?Va(!0):Va(!1)},className:ke.action},"\u5C55\u5F00",ne.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ne.createElement("div",{onClick:()=>{Yi.current.scrollTop=0,ai(1),Va(!1)},className:ke.action},"\u6536\u8D77",ne.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},wt={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"},$e=({dataSource:un=[],value:Jt,onChange:yn,onTitleChange:lr,className:Xr,title:Ir,titleWidth:yr=41,style:ba={},fontColor:va="#6A7283",showCount:Oa,expand:da=!0})=>{const[Ur,Wa]=(0,ne.useState)(0),[ai,_a]=(0,ne.useState)(!1),Va=(0,ne.useRef)(null),ei=(0,ne.useRef)(null),[Yi,Ei]=(0,ne.useState)(da);return ne.createElement("div",{className:Se()(wt.row,Xr),style:ba},ne.createElement("div",{className:"flex item-center justify-between"},ne.createElement("div",{onClick:(0,me.throttle)(()=>lr==null?void 0:lr(),2e3),style:{width:yr,marginTop:ai?12:4},className:`${wt.title} ${lr?"current":""}`},Ir),ne.createElement("i",{className:`iconfont ${Yi?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Yi?8:10},onClick:()=>Ei(!Yi)})),Yi&&ne.createElement("div",{className:ai?`${wt.tagsWrap} ${wt.tagsBorderWrap}`:wt.tagsWrap},ne.createElement("div",{className:wt.fenge}),ne.createElement("div",{className:wt.bar,ref:ei},ne.createElement("div",{className:wt.tag,ref:Va},un==null?void 0:un.map(Wi=>ne.createElement("span",{onClick:()=>yn(Wi.id),key:Wi.id,style:{color:va},className:Jt===Wi.id?wt.active:""},ne.createElement("span",{title:Wi.name,className:wt.name},Wi.name),!!Oa&&ne.createElement("span",{className:wt.num},Wi.count)))))))},ut={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"},ce=({dataSource:un=[],value:Jt,onChange:yn,onTitleChange:lr,className:Xr,title:Ir,titleWidth:yr=41,style:ba={},fontColor:va="#fff",showCount:Oa,expand:da=!0})=>{const[Ur,Wa]=(0,ne.useState)(0),[ai,_a]=(0,ne.useState)(!1),Va=(0,ne.useRef)(null),ei=(0,ne.useRef)(null),[Yi,Ei]=(0,ne.useState)(da);return ne.createElement("div",{className:Se()(ut.row,Xr),style:ba},ne.createElement("div",{className:"flex item-center justify-between"},ne.createElement("div",{onClick:(0,me.throttle)(()=>lr==null?void 0:lr(),2e3),style:{width:yr},className:`${ut.title} ${lr?"current":""}`},Ir),ne.createElement("i",{className:`iconfont ${Yi?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Yi?"#00DDC7":"#037F74",fontSize:Yi?10:12},onClick:()=>Ei(!Yi)})),Yi&&ne.createElement("div",{className:ai?`${ut.tagsWrap} ${ut.tagsBorderWrap}`:ut.tagsWrap},ne.createElement("div",{className:ut.bar,ref:ei},ne.createElement("div",{className:ut.tag,ref:Va},un==null?void 0:un.map(Wi=>ne.createElement("span",{onClick:()=>yn(Wi.id),key:Wi.id,style:{color:va},className:Jt===Wi.id?ut.active:""},ne.createElement("span",{title:Wi.name,className:ut.name},Wi.name),!!Oa&&ne.createElement("span",{className:ut.num},Wi.count)))))))},Xe={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"},st=({dataSource:un=[],value:Jt,onChange:yn,className:lr,style:Xr={}})=>ne.createElement("div",{style:Xr,className:Se()(Xe.tabs,lr)},un.map(Ir=>ne.createElement("span",{onClick:()=>yn(Ir.id),className:Jt===Ir.id?Xe.active:"",key:Ir.id},Ir.name))),ft={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"},Re=ee(69677),gt=({dataSource:un=[],value:Jt="",onChange:yn,onInputChange:lr=()=>{},className:Xr,style:Ir={},placeholder:yr,allowClear:ba=!1})=>{var va;const[Oa,da]=(0,ne.useState)(""),[Ur,Wa]=(0,ne.useState)("");(0,ne.useEffect)(()=>{var Va;let ei=Jt;(Va=JSON.stringify(Jt))!=null&&Va.includes("{")&&(da(Jt.id),ei=Jt.value||"");try{Wa(decodeURIComponent(ei||""))}catch(Yi){Wa(decodeURIComponent(ei||""))}},[Jt]);const ai=()=>{yn(encodeURIComponent(Ur),Oa||null)},_a=Va=>{Va!==Oa&&(da(Va),yn(encodeURIComponent(Ur),Va))};return ne.createElement("div",{className:Se()(ft.input,Xr),style:Ir},!!un.length&&ne.createElement("div",{className:ft.dropdown},ne.createElement("div",{className:ft.text},(va=un.find(Va=>Va.id===Oa))==null?void 0:va.name,ne.createElement("i",{className:"iconfont icon-zhankai4"}),ne.createElement("b",{className:ft.b1}),ne.createElement("b",{className:ft.b2})),ne.createElement("div",{className:ft.menu},un.map((Va,ei)=>ne.createElement("div",{key:ei,onClick:()=>_a(Va.id)},Va.name)))),ne.createElement(Re.default,{onPressEnter:ai,value:Ur,onChange:Va=>{Wa(Va.target.value),lr(encodeURIComponent(Va.target.value),Oa||null)},bordered:!1,placeholder:yr}),ne.createElement("i",{onClick:ai,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"},nt=({dataSource:un=[],value:Jt="",onChange:yn,onInputChange:lr=()=>{},className:Xr,style:Ir={},placeholder:yr,allowClear:ba=!1})=>{var va;const[Oa,da]=(0,ne.useState)(""),[Ur,Wa]=(0,ne.useState)("");(0,ne.useEffect)(()=>{var Va;let ei=Jt;(Va=JSON.stringify(Jt))!=null&&Va.includes("{")&&(da(Jt.id),ei=Jt.value||"");try{Wa(decodeURIComponent(ei||""))}catch(Yi){Wa(decodeURIComponent(ei||""))}},[Jt]);const ai=()=>{yn(encodeURIComponent(Ur),Oa||null)},_a=Va=>{Va!==Oa&&(da(Va),yn(encodeURIComponent(Ur),Va))};return ne.createElement("div",{className:Se()(ze.input,Xr),style:Ir},!!un.length&&ne.createElement("div",{className:ze.dropdown},ne.createElement("div",{className:ze.text},(va=un.find(Va=>Va.id===Oa))==null?void 0:va.name,ne.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),ne.createElement("div",{className:ze.menu},un.map((Va,ei)=>ne.createElement("div",{key:ei,onClick:()=>_a(Va.id)},Va.name)))),ne.createElement(Re.default,{onPressEnter:ai,value:Ur,onChange:Va=>{Wa(Va.target.value),lr(encodeURIComponent(Va.target.value),Oa||null)},bordered:!1,placeholder:yr}),ne.createElement("i",{onClick:ai,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Ot={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},an=({value:un,onChange:Jt,className:yn,total:lr,pageSize:Xr,style:Ir={}})=>{const yr=un<2,ba=un>=Math.ceil(lr/Xr);return lr<=Xr?ne.createElement(ne.Fragment,null):ne.createElement("div",{className:Se()(Ot.quickPager,yn),style:Ir},ne.createElement("div",{onClick:()=>{yr||Jt(un-1,"prev")},className:yr?Ot.disabled:""},"\u4E0A\u4E00\u9875"),ne.createElement("div",{onClick:()=>{ba||Jt(un+1,"next")},className:ba?Ot.disabled:""},"\u4E0B\u4E00\u9875"))},ht={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"},Ne=ee(57953),At=ee(83062),An=ee(12604),jt=ee(11320),Mt=ee(28706),Kt=ee(96908),sn=ee(57177),wn=ee(81378),vn=ee(26194),Nn=({className:un,dataSource:Jt=[],col:yn=4,right:lr,bottom:Xr=23,precision:Ir=0,wrapWidth:yr=1200,trackEventItems:ba,loading:va})=>{const Oa=Math.floor((yr-(yn-1)*lr)/yn);return ne.createElement(Ne.Z,{spinning:va},ne.createElement("div",{className:Se()(ht.list,un)},!!Jt.length&&Jt.map((da,Ur)=>{const{name:Wa,id:ai,identifier:_a,power:Va,cover_image_id:ei,pic:Yi}=da;return ne.createElement("div",{className:ht.wrap,key:ai,style:{width:Oa,marginRight:(1+Ur)%yn===0?0:lr+Ir,marginBottom:Xr}},ne.createElement("a",{target:"_blank",href:`/shixuns/${_a}/challenges`,className:ht.li,onClick:Ei=>{Ei.preventDefault(),ba&&(0,Mt.L9)([ba]),Va&&(0,Mt.xg)(`/shixuns/${_a}/challenges`)}},ne.createElement("div",{className:ht.img},ne.createElement("img",{className:ht.cover,src:`${Yi}`}),da.is_jupyter&&ne.createElement("img",{className:ht.sign,src:Kt}),da.is_jupyter_lab&&ne.createElement("img",{className:ht.sign,src:sn}),da.is_unity_3d&&ne.createElement("img",{className:ht.sign,src:wn})),ne.createElement("div",{className:ht.name},ne.createElement(At.Z,{title:Wa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ne.createElement("span",{className:ht.e},Wa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ne.createElement("div",{className:ht.tags},ne.createElement(At.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ne.createElement("span",null,da.challenges_count))),!!da.myshixuns_count&&ne.createElement(At.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ne.createElement("span",null,da.myshixuns_count))),ne.createElement(At.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ne.createElement("span",null,ne.createElement("span",null,da.level))),ne.createElement("div",{className:ht.rate},ne.createElement(An.Z,{allowHalf:!0,disabled:!0,defaultValue:da.score_info}),ne.createElement("span",null,"\xA0",da.score_info?`${da.score_info}\u5206`:"5\u5206")))),!Va&&ne.createElement("div",{className:ht.lockWrap},ne.createElement("img",{src:`${jt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ne.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jt.length&&ne.createElement(vn.Z,null)))},dr={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"},Ge=({className:un,dataSource:Jt=[],col:yn=4,right:lr,bottom:Xr=23,precision:Ir=0,wrapWidth:yr=1200,wrapClassName:ba,trackEventItems:va,loading:Oa})=>{const da=Math.floor((yr-(yn-1)*lr)/yn);return ne.createElement(Ne.Z,{spinning:Oa},ne.createElement("div",{className:Se()(dr.list,un)},!!Jt.length&&Jt.map((Ur,Wa)=>{const{name:ai,id:_a,identifier:Va,power:ei,cover_image_id:Yi,pic:Ei}=Ur;return ne.createElement("div",{className:Se()(dr.wrap,ba),key:_a,style:{width:da,marginRight:(1+Wa)%yn===0?0:lr+Ir,marginBottom:Xr}},ne.createElement("a",{target:"_blank",href:`/shixuns/${Va}/challenges`,className:dr.li,onClick:Wi=>{Wi.preventDefault(),va&&(0,Mt.L9)([va]),ei&&(0,Mt.xg)(`/shixuns/${Va}/challenges`)}},ne.createElement("img",{src:ee(79633),className:dr.titleBg}),ne.createElement("div",{className:dr.name},ne.createElement(At.Z,{title:ai||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ne.createElement("span",{className:dr.e},ai||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ne.createElement("div",{style:{padding:"14px",paddingBottom:0}},ne.createElement("div",{className:dr.img},ne.createElement("img",{className:dr.cover,src:Yi?`${jt.Z.API_SERVER}/api/attachments/${Yi}`:`${jt.Z.IMG_SERVER+Ei}`}),Ur.is_jupyter&&ne.createElement("div",{className:dr.bq},"Jupyter"),Ur.is_jupyter_lab&&ne.createElement("div",{className:dr.bq},"JupyterLab"),Ur.is_unity_3d&&ne.createElement("div",{className:dr.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),ne.createElement("div",{className:"mt20 flex item-center justify-between"},ne.createElement("div",null,ne.createElement("span",{className:dr.text},"\u5B66\u4E60\u4EBA\u6570"),ne.createElement("span",{className:dr.value},Ur.myshixuns_count)),ne.createElement("div",null,ne.createElement("span",{className:dr.text},"\u56F0\u96BE\u7B49\u7EA7"),ne.createElement("span",{className:dr.value},Ur.level))),ne.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ne.createElement("div",null,ne.createElement("span",{className:dr.text},"\u5173\u5361\u6570"),ne.createElement("span",{className:dr.value},Ur.challenges_count)),ne.createElement("div",{className:dr.rate},ne.createElement(An.Z,{allowHalf:!0,disabled:!0,defaultValue:Ur.score_info}),ne.createElement("span",{className:dr.value,style:{color:"#FF9C00"}},"\xA0",Ur.score_info?`${Ur.score_info}\u5206`:"5\u5206"))))),!ei&&ne.createElement("div",{className:dr.lockWrap},ne.createElement("img",{src:`${jt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ne.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jt.length&&ne.createElement(vn.Z,null)))},ve={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"},he="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+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmswAGkTUN1W7aDBsHIieiHjkVDlhpuavbkU7ThE9wtjQLMbTosyFzGc5pGoD/RyQ13ANnJBk9YdSm9YVg6+tB0NC2ZtqZ6dn/1P+rKirwqaRqrknVuSM9mZ8J0FD2CetmJ1MipO74WkPXn0VOg72CvY1ZRuJU9uRvQPW4ZLes0jdszlvG3+CoRWroDyERZPtH1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jxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Ye=({className:un,dataSource:Jt=[],col:yn=4,right:lr,bottom:Xr=23,precision:Ir=0,wrapWidth:yr=1200,trackEventItems:ba,loading:va,wrapClassName:Oa,imgClassName:da})=>{const Ur=Math.floor((yr-(yn-1)*lr)/yn);return ne.createElement(Ne.Z,{spinning:va},ne.createElement("div",{className:Se()(ve.list,un)},!!Jt.length&&Jt.map((Wa,ai)=>{const{name:_a,id:Va,identifier:ei,power:Yi,cover_image_id:Ei,pic:Wi}=Wa;return ne.createElement("div",{className:Se()(ve.wrap,Oa),key:Va,style:{width:Ur,marginRight:(1+ai)%yn===0?0:lr+Ir,marginBottom:Xr}},ne.createElement("a",{target:"_blank",href:`/shixuns/${ei}/challenges`,className:ve.li,onClick:Gi=>{Gi.preventDefault(),ba&&(0,Mt.L9)([ba]),Yi&&(0,Mt.xg)(`/shixuns/${ei}/challenges`)}},ne.createElement("div",{className:Se()(ve.img,da)},ne.createElement("img",{className:ve.cover,src:Ei?`${jt.Z.API_SERVER}/api/attachments/${Ei}`:`${jt.Z.IMG_SERVER+Wi}`}),Wa.is_jupyter&&ne.createElement("img",{className:ve.sign,src:he}),Wa.is_jupyter_lab&&ne.createElement("img",{className:ve.sign,src:be}),Wa.is_unity_3d&&ne.createElement("img",{className:ve.sign,src:ge})),ne.createElement("div",{className:ve.name},ne.createElement(At.Z,{title:_a||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ne.createElement("span",{className:ve.e},_a||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ne.createElement("div",{className:ve.tags},ne.createElement(At.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ne.createElement("span",null,Wa.challenges_count))),!!Wa.myshixuns_count&&ne.createElement(At.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ne.createElement("span",null,Wa.myshixuns_count))),ne.createElement(At.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ne.createElement("span",null,ne.createElement("span",null,Wa.level))),ne.createElement("div",{className:ve.rate},ne.createElement(An.Z,{allowHalf:!0,disabled:!0,defaultValue:Wa.score_info}),ne.createElement("span",null,"\xA0",Wa.score_info?`${Wa.score_info}\u5206`:"5\u5206")))),!Yi&&ne.createElement("div",{className:ve.lockWrap},ne.createElement("img",{src:`${jt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ne.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Jt.length&&ne.createElement(vn.Z,null)))},xt=ee(5476),pn={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"},on=ee(79005),In=ee(20345),Qn=ee(77882),_n=ee(31081),Vt=ee(75309),gn=ee(71979),Fn=ee(47558),Tn=ee(60345),qt=ee(66832),Dr=ee(96593),Ut=ee(19664),nn=ee(91833),Nr=Object.defineProperty,cr=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,aa=Object.prototype.propertyIsEnumerable,Jn=(un,Jt,yn)=>Jt in un?Nr(un,Jt,{enumerable:!0,configurable:!0,writable:!0,value:yn}):un[Jt]=yn,Ia=(un,Jt)=>{for(var yn in Jt||(Jt={}))Fr.call(Jt,yn)&&Jn(un,yn,Jt[yn]);if(cr)for(var yn of cr(Jt))aa.call(Jt,yn)&&Jn(un,yn,Jt[yn]);return un};const Ta=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:on,swimg:In},{name:"101\u8BA1\u5212",ptimg:Qn,swimg:_n},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Vt,swimg:gn},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Fn,swimg:Tn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:qt,swimg:Dr},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Ut,swimg:nn}];var Jr=({className:un,dataSource:Jt=[],col:yn=4,right:lr,bottom:Xr=23,precision:Ir=0,wrapWidth:yr=1200,trackEventItems:ba,loading:va,wrapClassName:Oa,imgClassName:da,isArrow:Ur=!1,imgStyle:Wa={}})=>{const ai=Math.floor((yr-(yn-1)*lr)/yn),[_a,Va]=(0,ne.useState)(),[ei,Yi]=(0,ne.useState)(),Ei=Gi=>Va(Gi),Wi=()=>Va(-1);return ne.createElement(Ne.Z,{spinning:va},ne.createElement("div",{className:Se()(pn.list,un)},!!(Jt!=null&&Jt.length)&&(Jt==null?void 0:Jt.map((Gi,po)=>{var Qi;const{name:So,id:Ki,identifier:Ai,featured:ko,school_name:Bo,image_url:zi,excellent:gl,is_plan:El}=Gi;return ne.createElement("div",{key:Ki,className:Se()(pn.wrap,Oa),style:{width:ai,marginRight:(1+po)%yn===0?0:lr+Ir,marginBottom:Xr}},ne.createElement("a",{target:"_blank",href:`/paths/${Ai}`,className:pn.li,onClick:il=>{il.preventDefault(),ba&&(0,Mt.L9)([ba]),(0,Mt.xg)(`/paths/${Ai}`)}},ne.createElement("img",{src:ee(39057),className:pn.titleBg}),ne.createElement("div",{className:pn.name},ne.createElement(At.Z,{title:So},ne.createElement("span",{className:pn.e,style:{color:Ur&&_a===po?"#145DFF":"#000000"},onMouseEnter:()=>{Ei(po)},onMouseLeave:Wi},So))),ne.createElement("div",{style:{padding:"14px",paddingBottom:0}},ne.createElement("div",{className:Se()(pn.img,da)},ne.createElement("img",{className:pn.cover,style:Ia({},Wa),src:`${jt.Z.IMG_SERVER+zi}`}),(Qi=Gi==null?void 0:Gi.subject_tags)==null?void 0:Qi.map((il,Vo)=>{var go,_l;if(Vo===0){const mo=(go=Ta.find(el=>el.name==il))==null?void 0:go.swimg;return ne.createElement("img",{className:pn.sign,src:mo,style:{left:"-4px"}})}const jo=(_l=Ta.find(mo=>mo.name==il))==null?void 0:_l.ptimg;return ne.createElement("img",{className:pn.sign,src:jo,style:{left:`${48+52*(Vo-1)+2*Vo}px`}})}),ne.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Gi==null?void 0:Gi.excellent)&&ne.createElement("div",{className:pn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ne.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ne.createElement("div",null,ne.createElement("span",{className:pn.text},"\u7AE0\u8282\u6570"),ne.createElement("span",{className:pn.value},Gi.stages_count)),ne.createElement("div",null,ne.createElement("span",{className:pn.text},"\u5B66\u4E60\u4EBA\u6570"),ne.createElement("span",{className:pn.value},Gi.members_count))))))})),!Jt.length&&ne.createElement(vn.Z,null)))},ja={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"},Si=ee(52262),$a=ee(67294);const ji=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:on,swimg:In},{name:"101\u8BA1\u5212",ptimg:Qn,swimg:_n},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Vt,swimg:gn},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Fn,swimg:Tn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:qt,swimg:Dr},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Ut,swimg:nn}];var Ln=({className:un,dataSource:Jt=[],col:yn=4,right:lr,bottom:Xr=23,precision:Ir=0,wrapWidth:yr=1200,trackEventItems:ba,loading:va,onRemove:Oa=()=>{},isCurrent:da=!0,showAlias:Ur=!1,wrapClassName:Wa,imgClassName:ai})=>{const _a=Math.floor((yr-(yn-1)*lr)/yn),Va=[{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(ei=>(window.ENV==="build"&&(ei.ptimg=`/react/build${ei.ptimg}`,ei.swimg=`/react/build${ei.swimg}`),ei));return $a.createElement(Ne.Z,{spinning:va},$a.createElement("div",{className:Se()(ja.list,un)},!!(Jt!=null&&Jt.length)&&(Jt==null?void 0:Jt.map((ei,Yi)=>{var Ei;const{name:Wi,id:Gi,identifier:po,featured:Qi,school_name:So,image_url:Ki,excellent:Ai,is_plan:ko}=ei;return $a.createElement("div",{key:Gi,className:Se()(ja.wrap,Wa),style:{width:_a,marginRight:(1+Yi)%yn===0?0:lr+Ir,marginBottom:Xr}},$a.createElement("a",{className:ja.li,onClick:Bo=>{Bo.preventDefault(),Bo.stopPropagation(),ba&&(0,Mt.L9)([ba]),(0,Mt.xg)(`/paths/${po}`)}},$a.createElement("div",{className:Se()(ja.img,ai)},$a.createElement("img",{className:ja.cover,src:`${jt.Z.IMG_SERVER+Ki}`}),da&&(0,Si.bg)()&&(ei==null?void 0:ei.studying)&&$a.createElement("div",{className:`${ja.movebq} user-path-items`,onClick:Bo=>{Bo.stopPropagation(),Oa(ei)}},$a.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),$a.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Ei=ei==null?void 0:ei.subject_tags)==null?void 0:Ei.map((Bo,zi)=>{var gl,El;if(zi===0){const Vo=(gl=Va.find(go=>go.name==Bo))==null?void 0:gl.swimg;return $a.createElement("img",{className:ja.sign,src:Vo,style:{left:"-4px"}})}const il=(El=Va.find(Vo=>Vo.name==Bo))==null?void 0:El.ptimg;return $a.createElement("img",{className:ja.sign,src:il,style:{left:`${48+52*(zi-1)+2*zi}px`}})}),$a.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(ei==null?void 0:ei.excellent)&&$a.createElement("div",{className:ja.bq},"\u5F00\u653E\u8BFE\u7A0B"))),$a.createElement("div",{className:ja.name},$a.createElement(At.Z,{title:Ur&&(ei!=null&&ei.excellent_alias_name)?$a.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Wi}`,$a.createElement("br",null),$a.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${ei==null?void 0:ei.excellent_alias_name}`)):Wi},$a.createElement("span",{className:ja.e},Ur&&(ei==null?void 0:ei.excellent_alias_name)||Wi))),$a.createElement("div",{className:ja.tags},$a.createElement("div",null,$a.createElement(At.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},$a.createElement("span",null,$a.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),$a.createElement("span",null,ei.stages_count))),$a.createElement(At.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},$a.createElement("span",null,$a.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),$a.createElement("span",null,ei.members_count)))))))})),!Jt.length&&$a.createElement(vn.Z,null)))},Pn={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"},rr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCe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precision:Ir=0,wrapWidth:yr=1200,trackEventItems:ba,loading:va})=>{const Oa=Math.floor((yr-(yn-1)*lr)/yn);return or.createElement(Ne.Z,{spinning:va},or.createElement("div",{className:Se()(Pn.list,un)},!!Jt.length&&Jt.map((da,Ur)=>{const{subject_identifier:Wa,id:ai,identifier:_a,power:Va}=da,ei=da.is_public!=0&&da.is_public;return or.createElement("div",{className:Pn.wrap,key:ai,style:{width:Oa,marginRight:(1+Ur)%yn===0?0:lr+Ir,marginBottom:Xr}},or.createElement("a",{className:Pn.li,onClick:Yi=>{Yi.preventDefault(),ba&&(0,Mt.L9)([ba]),(0,Mt.xg)(da.first_category_url)}},or.createElement("div",{className:Pn.top},or.createElement(At.Z,{title:da.name},or.createElement("div",{className:Pn.name},da.name)),or.createElement("img",{className:Pn.img,src:jt.Z.IMG_SERVER+"/images/"+da.avatar_url}),or.createElement("div",{className:Pn.text,title:da.creator},da.creator),Wa&&or.createElement("div",{className:Pn.btns},or.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),or.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),ei&&or.createElement("div",{className:Pn.sign},"\u516C\u5F00")),or.createElement("div",{className:Pn.bottom},da.visits>0&&or.createElement(At.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},or.createElement("span",null,or.createElement("i",{className:"iconfont icon-liulanyan"}),or.createElement("span",null,da.visits))),da.course_members_count>0&&or.createElement(At.Z,{title:"\u6210\u5458",placement:"bottom"},or.createElement("span",null,or.createElement("i",{className:"iconfont icon-chengyuan"}),da.course_members_count)),da.tasks_count>0&&or.createElement(At.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},or.createElement("span",null,or.createElement("i",{className:"iconfont icon-zuoye"}),da.tasks_count)),da.is_end?or.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):or.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!da.is_accessible&&or.createElement("div",{className:Pn.lockWrap},or.createElement("img",{src:`${jt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),or.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jt.length&&or.createElement(vn.Z,null)))},jr={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"},hn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0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V6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Zt=({className:un,dataSource:Jt=[],col:yn=4,right:lr,bottom:Xr=23,precision:Ir=0,wrapWidth:yr=1200,wrapClassName:ba,trackEventItems:va,loading:Oa})=>{const da=Math.floor((yr-(yn-1)*lr)/yn);return ne.createElement(Ne.Z,{spinning:Oa},ne.createElement("div",{className:Se()(jr.list,un)},!!Jt.length&&Jt.map((Ur,Wa)=>{const{subject_identifier:ai,id:_a,identifier:Va,power:ei}=Ur,Yi=Ur.is_public!=0&&Ur.is_public;return ne.createElement("div",{className:Se()(`${jr.wrap} ${Ur.is_accessible?"":jr.warpStyle}`,ba),key:_a,style:{width:da,marginRight:(1+Wa)%yn===0?0:lr+Ir,marginBottom:Xr}},ne.createElement("a",{className:jr.li,onClick:Ei=>{Ei.preventDefault(),va&&(0,Mt.L9)([va]),(0,Mt.xg)(Ur.first_category_url)}},ne.createElement("div",{className:jr.creator},ne.createElement("img",{className:jr.img,src:jt.Z.IMG_SERVER+"/images/"+Ur.avatar_url}),ne.createElement("div",{className:jr.text,title:Ur.creator},Ur.creator)),ne.createElement("div",{className:jr.top},ne.createElement(At.Z,{title:Ur.name},ne.createElement("div",{className:jr.name},Ur.name)),Yi&&ne.createElement("div",{className:jr.sign},"\u516C\u5F00")),ne.createElement("div",{className:jr.middle},ne.createElement("div",{className:jr.row,style:{marginBottom:6}},ne.createElement("div",null,ne.createElement("span",{className:jr.text},"\u8BBF\u95EE\u91CF"),ne.createElement("span",{className:jr.value},(Ur==null?void 0:Ur.visits)||0)),ne.createElement("div",null,ne.createElement("span",{className:jr.text},"\u6210\u5458"),ne.createElement("span",{className:jr.value},(Ur==null?void 0:Ur.course_members_count)||0))),ne.createElement("div",{className:jr.row},ne.createElement("div",null,ne.createElement("span",{className:jr.text,style:{width:42}},"\u4F5C",ne.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ne.createElement("span",{className:jr.value},(Ur==null?void 0:Ur.tasks_count)||0)),ne.createElement("div",null,ne.createElement("span",{className:jr.text},"\u72B6\u6001"),Ur.is_end?ne.createElement("span",{className:jr.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ne.createElement("span",{className:jr.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ai&&ne.createElement("div",{className:jr.btns},ne.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ne.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ur.is_accessible&&ne.createElement("div",{className:jr.lockWrap},ne.createElement("img",{src:`${jt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ne.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jt.length&&ne.createElement(vn.Z,null)))},Gt={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"},Gn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9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EHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",mn=({className:un,dataSource:Jt=[],col:yn=4,right:lr,bottom:Xr=23,precision:Ir=0,wrapWidth:yr=1200,wrapClassName:ba,trackEventItems:va,loading:Oa})=>{const da=Math.floor((yr-(yn-1)*lr)/yn);return ne.createElement(Ne.Z,{spinning:Oa},ne.createElement("div",{className:Se()(Gt.list,un)},!!Jt.length&&Jt.map((Ur,Wa)=>{const{subject_identifier:ai,id:_a,identifier:Va,power:ei}=Ur,Yi=Ur.is_public!=0&&Ur.is_public;return ne.createElement("div",{className:Se()(`${Gt.wrap} ${Ur.is_accessible?"":Gt.warpStyle}`,ba),key:_a,style:{width:da,marginRight:(1+Wa)%yn===0?0:lr+Ir,marginBottom:Xr}},ne.createElement("a",{className:Gt.li,onClick:Ei=>{Ei.preventDefault(),va&&(0,Mt.L9)([va]),(0,Mt.xg)(Ur.first_category_url)}},ne.createElement("div",{className:Gt.creator},ne.createElement("img",{className:Gt.img,src:jt.Z.IMG_SERVER+"/images/"+Ur.avatar_url}),ne.createElement("div",{className:Gt.text,title:Ur.creator},Ur.creator)),ne.createElement("div",{className:Gt.top},ne.createElement(At.Z,{title:Ur.name},ne.createElement("div",{className:Gt.name},Ur.name)),Yi&&ne.createElement("div",{className:Gt.sign})),ne.createElement("div",{className:Gt.middle},ne.createElement("div",{className:Gt.row,style:{marginBottom:6}},ne.createElement("div",null,ne.createElement("span",{className:Gt.text},"\u8BBF\u95EE\u91CF"),ne.createElement("span",{className:Gt.value},(Ur==null?void 0:Ur.visits)||0)),ne.createElement("div",null,ne.createElement("span",{className:Gt.text},"\u6210\u5458"),ne.createElement("span",{className:Gt.value},(Ur==null?void 0:Ur.course_members_count)||0))),ne.createElement("div",{className:Gt.row},ne.createElement("div",null,ne.createElement("span",{className:Gt.text,style:{width:42}},"\u4F5C",ne.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ne.createElement("span",{className:Gt.value},(Ur==null?void 0:Ur.tasks_count)||0)),ne.createElement("div",null,ne.createElement("span",{className:Gt.text},"\u72B6\u6001"),Ur.is_end?ne.createElement("span",{className:Gt.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ne.createElement("span",{className:Gt.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),ai&&ne.createElement("div",{className:Gt.btns},ne.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ne.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ur.is_accessible&&ne.createElement("div",{className:Gt.lockWrap},ne.createElement("img",{src:`${jt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ne.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Jt.length&&ne.createElement(vn.Z,null)))},Zn={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"},Mn=ee(35973),hr=({dataSource:un=[],value:Jt,onChange:yn,className:lr,style:Xr={},tabBarExtraContent:Ir})=>ne.createElement("div",{className:Se()(Zn.tabs,lr),style:Xr},ne.createElement("div",{className:Zn.tabsWrap},un.map((yr,ba)=>ne.createElement("aside",{className:Zn.tab,onClick:()=>{yn(yr.id),yr.link&&Mn.history.push(yr.link)},key:ba},ne.createElement("div",{className:Jt===yr.id?Zn.active:""},yr.name),(yr==null?void 0:yr.resetCount)==null&&(yr==null?void 0:yr.total)!==void 0&&ne.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&&ne.createElement(At.Z,{title:(yr==null?void 0:yr.tip)!=null?yr==null?void 0:yr.tip:""},ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ne.createElement("span",{style:{color:"#000"}},yr==null?void 0:yr.resetCount),"/",ne.createElement("span",null,yr==null?void 0:yr.total),"\uFF09"))))),ne.createElement("div",{className:Zn.tabBar},Ir)),dn={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"},pa=({dataSource:un=[],value:Jt,onChange:yn,className:lr,style:Xr={},tabBarExtraContent:Ir})=>ne.createElement("div",{className:Se()(dn.tabs,lr),style:Xr},ne.createElement("div",{className:dn.tabsWrap},un.map((yr,ba)=>ne.createElement("aside",{className:dn.tab,onClick:()=>{yn(yr.id),yr.link&&Mn.history.push(yr.link)},key:ba},ne.createElement("div",{className:Jt===yr.id?dn.active:""},yr.name),(yr==null?void 0:yr.resetCount)==null&&(yr==null?void 0:yr.total)!==void 0&&ne.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&&ne.createElement(At.Z,{title:(yr==null?void 0:yr.tip)!=null?yr==null?void 0:yr.tip:""},ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ne.createElement("span",{style:{color:"#000"}},yr==null?void 0:yr.resetCount),"/",ne.createElement("span",null,yr==null?void 0:yr.total),"\uFF09"))))),ne.createElement("div",{className:dn.tabBar},Ir)),ma={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"},Aa=({dataSource:un=[],value:Jt,onChange:yn,className:lr,style:Xr={},tabBarExtraContent:Ir})=>ne.createElement("div",{className:Se()(ma.tabs,lr),style:Xr},ne.createElement("div",{className:ma.tabsWrap},un.map((yr,ba)=>ne.createElement("aside",{className:`${ma.tab} ${Jt===yr.id?ma.active:""}`,onClick:()=>{yn(yr.id),yr.link&&Mn.history.push(yr.link)},key:ba},ne.createElement("div",null,yr.name),(yr==null?void 0:yr.resetCount)==null&&(yr==null?void 0:yr.total)!==void 0&&ne.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&&ne.createElement(At.Z,{title:(yr==null?void 0:yr.tip)!=null?yr==null?void 0:yr.tip:""},ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ne.createElement("span",{style:{color:"#000"}},yr==null?void 0:yr.resetCount),"/",ne.createElement("span",null,yr==null?void 0:yr.total),"\uFF09"))))),ne.createElement("div",{className:ma.tabBar},Ir)),Er=({className:un,style:Jt={},children:yn})=>ne.createElement("div",{className:Se()(un),style:Jt},yn),Gr={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"},Zi=ee(85418),Ii=ee(68508);const ni=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var io=({sortValue:un,dropValue:Jt,className:yn,onSort:lr,onDrop:Xr,dataSource:Ir=ni})=>{var yr;return ne.createElement("div",{className:Se()(Gr.orderWrap,yn)},ne.createElement(Zi.Z,{dropdownRender:()=>ne.createElement(Ii.default,null,Ir.map((ba,va)=>ne.createElement(Ii.default.Item,{key:va,onClick:()=>Xr(ba.id)},ba.name)))},ne.createElement("span",{className:Gr.orderTextWrap},(yr=Ir.find(ba=>Jt===ba.id))==null?void 0:yr.name)),ne.createElement("span",{className:Gr.orderIconWrap},ne.createElement("span",{className:Gr.orderAsc},ne.createElement("i",{className:un==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Gr.cursorPointer} ${Gr.active}`:`iconfont icon-sanjiaoxing-up font12 ${Gr.cursorPointer}`,onClick:()=>lr(un==="asc"?"desc":"asc")})),ne.createElement("span",{className:Gr.orderDesc},ne.createElement("i",{className:un==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Gr.cursorPointer} ${Gr.active}`:`iconfont icon-sanjiaoxing-down font12 ${Gr.cursorPointer}`,onClick:()=>lr(un==="asc"?"desc":"asc")}))))},ri={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 ho=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var so=({sortValue:un,dropValue:Jt,className:yn,onSort:lr,onDrop:Xr,dataSource:Ir=ho})=>{var yr;return ne.createElement("div",{className:Se()(ri.orderWrap,yn)},ne.createElement(Zi.Z,{dropdownRender:()=>ne.createElement(Ii.default,null,Ir.map((ba,va)=>ne.createElement(Ii.default.Item,{key:va,onClick:()=>Xr(ba.id)},ba.name)))},ne.createElement("span",{className:ri.orderTextWrap},(yr=Ir.find(ba=>Jt===ba.id))==null?void 0:yr.name)),ne.createElement("span",{className:ri.orderIconWrap},ne.createElement("span",{className:ri.orderAsc},ne.createElement("i",{className:un==="asc"?`iconfont icon-sanjiaoxing-up font12 ${ri.cursorPointer} ${ri.active}`:`iconfont icon-sanjiaoxing-up font12 ${ri.cursorPointer}`,onClick:()=>lr(un==="asc"?"desc":"asc")})),ne.createElement("span",{className:ri.orderDesc},ne.createElement("i",{className:un==="desc"?`iconfont icon-sanjiaoxing-down font12 ${ri.cursorPointer} ${ri.active}`:`iconfont icon-sanjiaoxing-down font12 ${ri.cursorPointer}`,onClick:()=>lr(un==="asc"?"desc":"asc")}))))},xo={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"},ml=ee(71577),vl=ee(52810),Yo=Object.defineProperty,uo=Object.getOwnPropertySymbols,wl=Object.prototype.hasOwnProperty,Qo=Object.prototype.propertyIsEnumerable,dl=(un,Jt,yn)=>Jt in un?Yo(un,Jt,{enumerable:!0,configurable:!0,writable:!0,value:yn}):un[Jt]=yn,zl=(un,Jt)=>{for(var yn in Jt||(Jt={}))wl.call(Jt,yn)&&dl(un,yn,Jt[yn]);if(uo)for(var yn of uo(Jt))Qo.call(Jt,yn)&&dl(un,yn,Jt[yn]);return un},bl=(un,Jt)=>{var yn={};for(var lr in un)wl.call(un,lr)&&Jt.indexOf(lr)<0&&(yn[lr]=un[lr]);if(un!=null&&uo)for(var lr of uo(un))Jt.indexOf(lr)<0&&Qo.call(un,lr)&&(yn[lr]=un[lr]);return yn},Sl=(un,Jt,yn)=>new Promise((lr,Xr)=>{var Ir=va=>{try{ba(yn.next(va))}catch(Oa){Xr(Oa)}},yr=va=>{try{ba(yn.throw(va))}catch(Oa){Xr(Oa)}},ba=va=>va.done?lr(va.value):Promise.resolve(va.value).then(Ir,yr);ba((yn=yn.apply(un,Jt)).next())}),Do=un=>{var Jt=un,{className:yn,style:lr,children:Xr,loading:Ir=!1,openLoading:yr,onClick:ba=()=>{},size:va="middle",shape:Oa="round",theme:da}=Jt,Ur=bl(Jt,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Wa,ai]=(0,ne.useState)(!1),_a=(0,ne.useMemo)(()=>{switch(da){case vl.Fy.THEMEONE:return xo.ThemeOne;case vl.Fy.DEFAULT:default:return xo.btn}},[da]);return ne.createElement(ml.ZP,zl({onClick:(0,me.throttle)(Va=>Sl(void 0,null,function*(){yr&&ai(!0);try{yield ba(Va)}catch(ei){console.log("error",ei)}yr&&ai(!1)}),2e3,{leading:!0,trailing:!1}),className:Se()(_a,xo[`${va}-${Oa}`],yn),style:lr,size:va,shape:Oa,loading:Wa||Ir},Ur),Xr)},Pi={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"},zn=({className:un,style:Jt,children:yn=null,onClick:lr,title:Xr})=>ne.createElement("div",{className:Se()(Pi.head,un),style:Jt},ne.createElement("span",{className:"primary-hover",onClick:lr},ne.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ne.createElement("b",{title:Xr},Xr),ne.createElement("div",{className:Pi.node},yn)),Cn={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"},Yr=({confirmShow:un=!0,confirmTitle:Jt,confirmClick:yn,cancelShow:lr=!0,cancelTitle:Xr,cancelClick:Ir,className:yr,style:ba,confirmLoading:va=!1})=>ne.createElement("div",{className:Se()(Cn.btns,yr),style:ba},un&&ne.createElement(ml.ZP,{loading:va,onClick:yn,type:"primary",className:Cn.confirm},Jt),lr&&ne.createElement(ml.ZP,{onClick:Ir,className:Cn.cancel},Xr)),ha={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"},xi=({className:un,style:Jt={},LeftContent:yn,children:lr,RightContent:Xr})=>ne.createElement("div",{className:Se()(ha.fixedBottom,un),style:Jt},ne.createElement("div",{className:ha.wrap},ne.createElement("div",{className:ha.left},yn),ne.createElement("div",{className:ha.center},lr),ne.createElement("div",{className:ha.right},Xr))),Ui={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"},Mi=({className:un,style:Jt={},dataSource:yn=[]})=>ne.createElement("div",{className:Se()(Ui.crumbs,un),style:Jt},yn.map((lr,Xr)=>Xr<yn.length-1?ne.createElement(ne.Fragment,{key:Xr},lr.path||lr.onClick?ne.createElement("span",{className:Ui.hover,onClick:lr!=null&&lr.onClick?lr.onClick:()=>Mn.history.push(lr.path)},lr.name):ne.createElement("span",null,lr.name),ne.createElement("span",null,"\xA0",">","\xA0")):ne.createElement("span",{key:Xr,style:{color:"#5F6368"}},lr.name))),Ao=ee(55054),Wo=Object.defineProperty,$o=Object.defineProperties,He=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Oe=(un,Jt,yn)=>Jt in un?Wo(un,Jt,{enumerable:!0,configurable:!0,writable:!0,value:yn}):un[Jt]=yn,Ae=(un,Jt)=>{for(var yn in Jt||(Jt={}))Nt.call(Jt,yn)&&Oe(un,yn,Jt[yn]);if(tt)for(var yn of tt(Jt))pe.call(Jt,yn)&&Oe(un,yn,Jt[yn]);return un},Ke=(un,Jt)=>$o(un,He(Jt)),Qe=(un,Jt)=>{var yn={};for(var lr in un)Nt.call(un,lr)&&Jt.indexOf(lr)<0&&(yn[lr]=un[lr]);if(un!=null&&tt)for(var lr of tt(un))Jt.indexOf(lr)<0&&pe.call(un,lr)&&(yn[lr]=un[lr]);return yn};const{Countdown:at}=Ao.default;var $t=un=>{var Jt=un,{onChange:yn}=Jt,lr=Qe(Jt,["onChange"]);const[Xr,Ir]=(0,ne.useState)(null);(0,ne.useEffect)(()=>{typeof Xr=="number"&&Xr>=0&&yn(Xr)},[Xr]);const yr=ba=>{const va=Math.floor(ba/1e3);Ir(va)};return ne.createElement(at,Ke(Ae({},lr),{onChange:yr}))},tn={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},fr=({DataProps:un,className:Jt,style:yn={}})=>{var lr;return ne.createElement("div",{className:Se()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",tn.ClassRoomItem,Jt),style:yn,onClick:()=>{(0,Mt.xg)(un==null?void 0:un.first_category_url)}},ne.createElement("div",{className:"flex flex-col item-center"},ne.createElement("img",{src:`${(lr=jt.Z)==null?void 0:lr.IMG_SERVER}/images/${un==null?void 0:un.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(un==null?void 0:un.subject_identifier)&&ne.createElement("div",{className:"mt-40px"},ne.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),ne.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),ne.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},ne.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(un!=null&&un.is_public)&&ne.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"),ne.createElement("span",{className:Se()("text-16px font-medium",tn.TitleDom)},un==null?void 0:un.name)),ne.createElement("div",{className:"c-grey-333 font-medium"},un==null?void 0:un.creator),ne.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",un==null?void 0:un.course_members_count),ne.createElement("div",{className:"c-grey-333 flex item-center justify-between"},ne.createElement("div",null,"\u4F5C\u4E1A\uFF1A",un==null?void 0:un.tasks_count),un!=null&&un.is_end?ne.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):ne.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Cr=Object.defineProperty,Dn=Object.getOwnPropertySymbols,qn=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,Ar=(un,Jt,yn)=>Jt in un?Cr(un,Jt,{enumerable:!0,configurable:!0,writable:!0,value:yn}):un[Jt]=yn,Or=(un,Jt)=>{for(var yn in Jt||(Jt={}))qn.call(Jt,yn)&&Ar(un,yn,Jt[yn]);if(Dn)for(var yn of Dn(Jt))Xn.call(Jt,yn)&&Ar(un,yn,Jt[yn]);return un},Tr=({DataProps:un=[],selectValue:Jt,onChange:yn,className:lr,style:Xr={},extra:Ir,classNameItem:yr,styleItem:ba={},barHidden:va})=>{const[Oa,da]=(0,ne.useState)();return(0,ne.useEffect)(()=>{da(Array.isArray(Jt)?Jt:[Jt])},[Jt]),ne.createElement("div",{className:Se()("flex px-20px py-10px gap-40px",lr),style:Or({borderBottom:"1px solid #D3F0FF"},Xr)},un==null?void 0:un.map(Ur=>ne.createElement("div",{key:Ur==null?void 0:Ur.id,className:Se()("flex item-center justify-center current c-grey-333 text-16 relative",yr,Ur==null?void 0:Ur.className),style:Or(Or({color:Oa!=null&&Oa.includes(Ur==null?void 0:Ur.id)?"#1890FF":"",minWidth:88},ba),(Ur==null?void 0:Ur.style)||{}),onClick:Wa=>{yn==null||yn({domEvent:Wa,item:Ur}),Ur!=null&&Ur.link&&Mn.history.push(Ur==null?void 0:Ur.link)}},Ur==null?void 0:Ur.name,!va&&(Oa==null?void 0:Oa.includes(Ur==null?void 0:Ur.id))&&ne.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),ne.createElement("div",{className:"ml-auto"},Ir))},_r=Object.defineProperty,Zr=Object.defineProperties,qr=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,Pt=Object.prototype.hasOwnProperty,Kn=Object.prototype.propertyIsEnumerable,Bn=(un,Jt,yn)=>Jt in un?_r(un,Jt,{enumerable:!0,configurable:!0,writable:!0,value:yn}):un[Jt]=yn,xr=(un,Jt)=>{for(var yn in Jt||(Jt={}))Pt.call(Jt,yn)&&Bn(un,yn,Jt[yn]);if(Dt)for(var yn of Dt(Jt))Kn.call(Jt,yn)&&Bn(un,yn,Jt[yn]);return un},zr=(un,Jt)=>Zr(un,qr(Jt)),ca=({value:un,onChange:Jt,onInputChange:yn,className:lr,style:Xr={},InputProps:Ir})=>{const[yr,ba]=(0,ne.useState)(un);return ne.createElement("div",{className:Se()("flex item-center rounded-full px-10px py-2px",lr),style:xr({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Xr)},ne.createElement(Re.default,zr(xr({bordered:!1},Ir),{onChange:va=>{ba(va.target.value),yn==null||yn(encodeURIComponent(va.target.value))},onPressEnter:va=>{Jt==null||Jt({domEvent:va,item:{value:yr}})}})),ne.createElement("img",{className:"h-22px current",src:ee(25365),height:22,onClick:va=>{Jt==null||Jt({domEvent:va,item:{value:yr}})}}))}},99914:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return fe}});var ne=ee(67294);function fe(De,qe){const we=(0,ne.useRef)();(0,ne.useEffect)(()=>{we.current=De}),(0,ne.useEffect)(()=>{function ke(){we.current()}if(qe!==null){let de=setInterval(ke,qe);return()=>clearInterval(de)}},[qe])}},81119:function(Hn,ln,ee){"use strict";ee.r(ln),ee.d(ln,{default:function(){return jr}});var ne=ee(67294),fe={card:"card___c4ypw",head:"head___d2Dfo",element:"element___PyfcV",collaborator:"collaborator___o6MF4",btn:"btn___CF6mw",delSty:"delSty___Wm5pj",delBorder:"delBorder___IVg2Z",copHover:"copHover___rNmmw",wrap:"wrap___feope",center:"center___uU09V",tip:"tip___yCX57",title:"title___OpV1r",content:"content___XU4yH",fixedBtns:"fixedBtns___ItSdd"},De=ee(94184),qe=ee.n(De),we=ee(80150),ke=ee(91304),de=ee(71230),Se=ee(71577),me=ee(14446),Pe=ee(69677),rt=ee(9430),ue=ee(22150),Ue=ee(83062),mt=ee(31795),ot=ee(2453),vt=ee(57953),Ee=ee(84567),wt=ee(78045),Tt=ee(34336),$e=ee(28706),ut=ee(35973),ye=ee(50881),ce=ee(60887),Xe=ee(32339),et=ee(45587),st=ee(24285),ft=ee(26194),Re=Object.defineProperty,Be=Object.defineProperties,gt=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable,Ot=(hn,It,Zt)=>It in hn?Re(hn,It,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):hn[It]=Zt,Rt=(hn,It)=>{for(var Zt in It||(It={}))ct.call(It,Zt)&&Ot(hn,Zt,It[Zt]);if(ze)for(var Zt of ze(It))nt.call(It,Zt)&&Ot(hn,Zt,It[Zt]);return hn},an=(hn,It)=>Be(hn,gt(It));const ht=ne.createContext({}),Ne=()=>{const{setActivatorNodeRef:hn,listeners:It}=(0,ne.useContext)(ht);return ne.createElement(Se.ZP,Rt({type:"text",size:"small",icon:ne.createElement(Ue.Z,{title:"\u53EF\u9F20\u6807\u62D6\u62FD\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"},ne.createElement(ye.Z,null)),style:{cursor:"move"},ref:hn},It))},At=hn=>{const{attributes:It,listeners:Zt,setNodeRef:Gt,setActivatorNodeRef:Gn,transform:kt,transition:mn,isDragging:Zn}=(0,et.nB)({id:hn["data-row-key"]}),Mn=Rt(an(Rt({},hn.style),{transform:st.ux.Translate.toString(kt),transition:mn}),Zn?{position:"relative",zIndex:99}:{}),ar=(0,ne.useMemo)(()=>({setActivatorNodeRef:Gn,listeners:Zt}),[Gn,Zt]);return ne.createElement(ht.Provider,{value:ar},ne.createElement("tr",Rt(an(Rt({},hn),{ref:Gt,style:Mn}),It)))};var jt=({columns:hn,dataSource:It,setDataSource:Zt,loading:Gt})=>{const Gn=({active:kt,over:mn})=>{kt.id!==(mn==null?void 0:mn.id)&&Zt(Zn=>{const Mn=Zn.findIndex(hr=>hr.id===(kt==null?void 0:kt.id)),ar=Zn.findIndex(hr=>hr.id===(mn==null?void 0:mn.id));return(0,et.Rp)(Zn,Mn,ar)})};return ne.createElement(ce.LB,{modifiers:[Xe.DL],onDragEnd:Gn},ne.createElement(et.Fo,{items:It.map(kt=>kt.id),strategy:et.qw},ne.createElement(rt.default,{pagination:!1,scroll:{y:400},rowKey:"id",loading:Gt,locale:{emptyText:ne.createElement(ft.Z,{styles:{margin:"80px auto"},customText:ne.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",ne.createElement("span",{style:{color:"#CA7720"}},"\u53F3\u4E0A\u89D2\u64CD\u4F5C\u6309\u94AE"),"\u8FDB\u884C\u6DFB\u52A0\uFF5E")})},dataSource:It,components:{body:{row:At}},columns:[{key:"sort",align:"center",width:80,render:()=>ne.createElement(Ne,null)},...hn],size:"middle"})))},Mt=ee(66368),Kt=ee(85546),sn=ee(11713),wn=ee(48305),vn=ee(28452),cn=ee(33170),Nn={flex_box_center:"flex_box_center___Iqqr9",flex_space_between:"flex_space_between___y0uZc",flex_box_vertical_center:"flex_box_vertical_center___akeKA",flex_box_center_end:"flex_box_center_end___DEJG9",flex_box_column:"flex_box_column___pgYr1",scoremodal:"scoremodal___PYXCN",selectWrapper:"selectWrapper___RNoPX",selectWrappers:"selectWrappers___fUTXA",allqingchu:"allqingchu___k6Qgb",title:"title___AAfdA",score:"score___oYtrM",close:"close___i8V3V",content:"content___JpTOI",items:"items___je5K0",bottom:"bottom___jjylc",yes:"yes___Wh4La",no:"no___fIya2",titlecount:"titlecount___pZQaF",add:"add___hT0xx",search:"search___WBmWG",searchIcon:"searchIcon___LgZF_",tabWrap:"tabWrap___lGZ3A",previewModal:"previewModal___jPoO2"},dr=ee(53430),En={flex_box_center:"flex_box_center____Tkex",flex_space_between:"flex_space_between___EZnYm",flex_box_vertical_center:"flex_box_vertical_center___e6Uyw",flex_box_center_end:"flex_box_center_end___FubGu",flex_box_column:"flex_box_column___ibm4g",warp:"warp___IgClr",shixunbutton:"shixunbutton___DTP9s",redio:"redio___wfYmJ",redioitem:"redioitem___Lx8l8",redioitemyes:"redioitemyes___KKsIv",title:"title___GXJmE",titleyes:"titleyes___yYOlS",yestag:"yestag___WQlWV",qcount:"qcount___QpuQ9",score:"score___WkTL9",qtitle:"qtitle___TQM3w",checkbox:"checkbox___XWcyb",checkboxitem:"checkboxitem___eUzWD",checkboxitemyes:"checkboxitemyes___LOyRE",bottom:"bottom___IKM1j",bottomitem:"bottomitem___TaUK6",left:"left___szEjt",right:"right___XEuVG",completion:"completion___bVp0S",content:"content___R3KZ7",items:"items___DCx2v",simple:"simple___GPeTT",shixun:"shixun___hhixj",combination:"combination___toZnZ",program:"program___alaBk"},Ge=ee(35598),ve=ee(19575);const he=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var ge=({qitem:hn})=>{var It,Zt,Gt,Gn,kt,mn,Zn,Mn,ar,hr;return ne.createElement("div",{className:En.warp},ne.createElement("div",{className:En.mainPart},ne.createElement("div",{className:En.qcount},(hn==null?void 0:hn.question_type)===8&&ne.createElement(Ge.Z,{className:En.content,showProgramFill:!0,value:(It=hn==null?void 0:hn.program_attr)==null?void 0:It.description}),(hn==null?void 0:hn.question_type)!=8&&ne.createElement(Ge.Z,{className:En.qtitle,value:(hn==null?void 0:hn.name)||(hn==null?void 0:hn.title)})),((hn==null?void 0:hn.question_type)===0||(hn==null?void 0:hn.question_type)===2)&&ne.createElement("div",null,(Zt=hn==null?void 0:hn.choices)==null?void 0:Zt.map((dn,za)=>ne.createElement("div",{className:En.redio},!(dn!=null&&dn.is_answer)&&ne.createElement("span",{className:En.redioitem}),(dn==null?void 0:dn.is_answer)&&ne.createElement("i",{className:`${En.redioitemyes} icon-duigou1`}),ne.createElement(Ge.Z,{className:dn!=null&&dn.is_answer?En.titleyes:En.title,value:he[za]+(dn==null?void 0:dn.choice_text)}),(dn==null?void 0:dn.is_answer)&&ne.createElement("div",{className:En.yestag},"\u6B63\u786E\u7B54\u6848")))),(hn==null?void 0:hn.question_type)===1&&ne.createElement("div",null,(Gt=hn==null?void 0:hn.choices)==null?void 0:Gt.map((dn,za)=>ne.createElement("div",{className:En.checkbox},!(dn!=null&&dn.is_answer)&&ne.createElement("span",{className:En.checkboxitem}),(dn==null?void 0:dn.is_answer)&&ne.createElement("i",{className:`${En.checkboxitemyes} icon-duigou1`}),ne.createElement(Ge.Z,{className:dn!=null&&dn.is_answer?En.titleyes:En.title,value:he[za]+(dn==null?void 0:dn.choice_text)}),(dn==null?void 0:dn.is_answer)&&ne.createElement("div",{className:En.yestag},"\u6B63\u786E\u7B54\u6848")))),(hn==null?void 0:hn.question_type)===3&&ne.createElement("div",{className:En.completion},(Gn=hn==null?void 0:hn.standard_answer)==null?void 0:Gn.map((dn,za)=>{var pa;return ne.createElement("div",{style:{display:"flex"}},ne.createElement("span",{className:En.title},"\u586B\u7A7A\u9879",za+1),ne.createElement("div",{className:En.content},(pa=dn==null?void 0:dn.answer_text)==null?void 0:pa.map((ma,Sa)=>ne.createElement("div",{className:En.items},ma))))})),(hn==null?void 0:hn.question_type)===4&&ne.createElement("div",{className:En.simple},ne.createElement("div",{className:En.title},"\u53C2\u8003\u7B54\u6848"),ne.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(kt=hn==null?void 0:hn.answer_texts)!=null&&kt[0]?ne.createElement(Ge.Z,{className:En.content,value:(mn=hn==null?void 0:hn.answer_texts)==null?void 0:mn[0]}):ne.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(hn==null?void 0:hn.question_type)===5&&((Zn=hn==null?void 0:hn.challenge_names)==null?void 0:Zn.map((dn,za)=>ne.createElement("div",{className:En.shixun},ne.createElement("span",{className:En.qtitle},ne.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,$e.EM)(za+1),"\u9898"),dn)))),(hn==null?void 0:hn.question_type)===6&&ne.createElement("div",{className:En.program},ne.createElement(Ge.Z,{className:En.content,value:((Mn=hn==null?void 0:hn.program_attr)==null?void 0:Mn.description)||"- -"})),(hn==null?void 0:hn.question_type)===7&&((ar=hn==null?void 0:hn.sub_item_banks)==null?void 0:ar.map((dn,za)=>{var pa,ma,Sa,Aa,ka;return ne.createElement("div",null,ne.createElement("div",{className:En.combination},ne.createElement("span",{className:En.qtitle},dn==null?void 0:dn.name)),ne.createElement("div",{className:En.warp,style:{padding:"0px",paddingTop:20}},ne.createElement("div",null,((dn==null?void 0:dn.item_type)=="SINGLE"||(dn==null?void 0:dn.item_type)=="JUDGMENT")&&((pa=dn==null?void 0:dn.choices)==null?void 0:pa.map((Er,Gr)=>ne.createElement("div",{className:En.redio},!(Er!=null&&Er.is_answer)&&ne.createElement("span",{className:En.redioitem}),(Er==null?void 0:Er.is_answer)&&ne.createElement("i",{className:`${En.redioitemyes} icon-duigou1`}),ne.createElement(Ge.Z,{className:Er!=null&&Er.is_answer?En.titleyes:En.title,value:he[Gr]+(Er==null?void 0:Er.choice_text)}),(Er==null?void 0:Er.is_answer)&&ne.createElement("div",{className:En.yestag},"\u6B63\u786E\u7B54\u6848")))),(dn==null?void 0:dn.item_type)=="MULTIPLE"&&((ma=dn==null?void 0:dn.choices)==null?void 0:ma.map((Er,Gr)=>ne.createElement("div",{className:En.checkbox},!(Er!=null&&Er.is_answer)&&ne.createElement("span",{className:En.checkboxitem}),(Er==null?void 0:Er.is_answer)&&ne.createElement("i",{className:`${En.checkboxitemyes} icon-duigou1`}),ne.createElement(Ge.Z,{className:Er!=null&&Er.is_answer?En.titleyes:En.title,value:he[Gr]+(Er==null?void 0:Er.choice_text)}),(Er==null?void 0:Er.is_answer)&&ne.createElement("div",{className:En.yestag},"\u6B63\u786E\u7B54\u6848")))),(dn==null?void 0:dn.item_type)=="COMPLETION"&&ne.createElement("div",{className:En.completion},(Sa=dn==null?void 0:dn.standard_answer)==null?void 0:Sa.map((Er,Gr)=>{var Zi;return ne.createElement("div",{style:{display:"flex"}},ne.createElement("span",{className:En.title},"\u586B\u7A7A\u9879",Gr+1),ne.createElement("div",{className:En.content},(Zi=Er==null?void 0:Er.answer_text)==null?void 0:Zi.map((Ii,ni)=>ne.createElement("div",{className:En.items},Ii))))})),(dn==null?void 0:dn.item_type)=="SUBJECTIVE"&&ne.createElement("div",{className:En.simple},ne.createElement("div",{className:En.title},"\u53C2\u8003\u7B54\u6848"),ne.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Aa=dn==null?void 0:dn.answer_texts)!=null&&Aa[0]?ne.createElement(Ge.Z,{className:En.content,value:(ka=dn==null?void 0:dn.answer_texts)==null?void 0:ka[0]}):ne.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(hn==null?void 0:hn.question_type)===8&&ne.createElement("div",null,ne.createElement(Ge.Z,{disabledFill:!0,className:En.content,showProgramFill:!0,value:ve.Base64.decode(((hr=hn==null?void 0:hn.program_attr)==null?void 0:hr.code)||"")})),(hn==null?void 0:hn.question_type)===5&&ne.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},ne.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},ne.createElement("div",{style:{marginRight:30}},ne.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),ne.createElement("span",{style:{color:"#000000"}},(hn==null?void 0:hn.author_name)||"- -")),ne.createElement("div",{style:{marginRight:30}},ne.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),ne.createElement("span",{style:{color:"#000000"}},(hn==null?void 0:hn.author_school_name)||"- -")),ne.createElement("div",{style:{marginRight:30}},ne.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),ne.createElement("span",{style:{color:"#000000"}},(hn==null?void 0:hn.study_count)||"0"))),ne.createElement("a",{className:En.shixunbutton,href:`/shixuns/${hn==null?void 0:hn.identifier}/challenges?exercise=true`,target:"_blank"},ne.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((hn==null?void 0:hn.question_type)<=4||[6,8].includes(hn==null?void 0:hn.question_type))&&ne.createElement("div",{className:En.bottom},ne.createElement("div",{className:En.bottomitem},ne.createElement("span",{className:En.left},"\u89E3\u6790"),ne.createElement("span",{className:En.right},hn!=null&&hn.analysis?ne.createElement(Ge.Z,{value:hn==null?void 0:hn.analysis}):ne.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),ne.createElement("div",{className:En.bottomitem},ne.createElement("span",{className:En.left},"\u96BE\u5EA6"),ne.createElement("span",{className:En.right},(hn==null?void 0:hn.difficulty)===1?"\u7B80\u5355":(hn==null?void 0:hn.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),ne.createElement("div",{className:En.bottomitem},ne.createElement("span",{className:En.left},"\u77E5\u8BC6\u70B9"),ne.createElement("span",{className:En.right},hn!=null&&hn.tag_discipline?hn==null?void 0:hn.tag_discipline:ne.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},se=ee(36913),Ye=ee(57971),xt=ee(38244),pn=ee(17663),on=ee(67294),In=Object.defineProperty,Qn=Object.defineProperties,_n=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,Fn=Object.prototype.propertyIsEnumerable,Tn=(hn,It,Zt)=>It in hn?In(hn,It,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):hn[It]=Zt,qt=(hn,It)=>{for(var Zt in It||(It={}))gn.call(It,Zt)&&Tn(hn,Zt,It[Zt]);if(Vt)for(var Zt of Vt(It))Fn.call(It,Zt)&&Tn(hn,Zt,It[Zt]);return hn},Dr=(hn,It)=>Qn(hn,_n(It)),Ut=(hn,It,Zt)=>new Promise((Gt,Gn)=>{var kt=Mn=>{try{Zn(Zt.next(Mn))}catch(ar){Gn(ar)}},mn=Mn=>{try{Zn(Zt.throw(Mn))}catch(ar){Gn(ar)}},Zn=Mn=>Mn.done?Gt(Mn.value):Promise.resolve(Mn.value).then(kt,mn);Zn((Zt=Zt.apply(hn,It)).next())});const nn=({setScoreShow:hn,ScoreShow:It,onOk:Zt,isshixuns:Gt,isloadings:Gn,dispatch:kt,selectedIds:mn,user:Zn,virtualId:Mn,shixunsDetail:ar})=>{var hr;let[dn,za]=(0,ne.useState)({type:"0",page:1,per_page:10,updated_at:"",quotes:"",item_type:"PROGRAM"}),[pa,ma]=(0,ne.useState)([]),[Sa,Aa]=(0,ne.useState)([]),[ka,Er]=(0,ne.useState)([]),[Gr,Zi]=(0,ne.useState)([]);const[Ii,ni]=(0,ne.useState)(!1),[hi]=ue.default.useForm(),[io,ri]=(0,ne.useState)(),[ho,ia]=(0,ne.useState)(!1);let[so,xo]=(0,ne.useState)(Gt);const[ml,vl]=(0,ne.useState)([]),[Yo,uo]=(0,ne.useState)(0),[wl,Qo]=(0,ne.useState)(!0),[dl,zl]=(0,ne.useState)([]),[bl,Sl]=(0,ne.useState)([]),Ci=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],[Do,Pi]=(0,ne.useState)([]),Bi=(0,ne.useRef)(new Set),zn=(0,ne.useRef)(new Set),Cn=(0,ne.useRef)(1),mr=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],Yr=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],ha=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[mi,xi]=(0,ne.useState)(!1),Ui=()=>{hi.resetFields(),so=!1,xo(!1),xi(!1),hi.submit()};(0,ne.useEffect)(()=>{It&&(hi.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,teach_group_id:null}),wl&&so&&(hi.setFieldsValue({item_type:"SHIXUN"}),dn.item_type="SHIXUN",za(qt({},dn)),Qo(!1)),dn.type="0",Aa(mn),Er(mn),zn.current=new Set(mn),di(dn),Mi(),Ao({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Wo())},[It]),console.log(Sa,ka,"listitems"),(0,ne.useEffect)(()=>{Yo>0&&setTimeout(()=>{uo(0)},2e3)},[Yo]);function di(Ae){return Ut(this,null,function*(){var Ke,Qe,at;if(ni(!0),za(qt({},Ae)),(ka==null?void 0:ka.length)<=0&&Ae.type==="5"){Zi([]),ni(!1);return}let pt=Ae.type==="5"?ka==null?void 0:ka.filter(fr=>!ml.includes(fr)):null,$t=Ae.type==="5"?ka==null?void 0:ka.filter(fr=>ml.includes(fr)):null;Cn.current=Cn.current+1;const tn=Cn.current;Ae.group_id=((Ke=Ae.group_id)==null?void 0:Ke.map(fr=>fr==null?void 0:fr.value))||null;let Yn=yield(0,cn.ZP)("/api/item_banks.json",{method:"get",params:Dr(qt({},Ae),{discipline_id:((Qe=Ae==null?void 0:Ae.courseid)==null?void 0:Qe[0])||null,sub_discipline_id:((at=Ae==null?void 0:Ae.courseid)==null?void 0:at[1])||null,ids:pt,shixun_ids:$t,include_shixuns:!0,keyword:Ae.keyword?encodeURIComponent(Ae.keyword):Ae.keyword,type:Ae.type==="5"?null:Ae.type,clazz:Ae.type==="3"?"ItemBanksGroup":null})});Cn.current===tn&&(Zi(Yn),ni(!1))})}function Mi(){return Ut(this,null,function*(){let Ae=yield(0,cn.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:dn.type==="5"?null:dn.type,clazz:"ItemBanksGroup"}});ma((0,dr.L)(Ae==null?void 0:Ae.disciplines))})}function Ao(Ae){return Ut(this,null,function*(){var Ke;let Qe=yield(0,cn.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Ae}),at=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(Ke=Qe==null?void 0:Qe.data)==null?void 0:Ke.map(pt=>({title:pt.name,id:pt.id,pid:pt.id,value:pt.id,key:pt.id,isLeaf:!pt.have_child}))}];zl(at)})}function Wo(){return Ut(this,null,function*(){let Ae=yield(0,xt.Dm)({});(Ae==null?void 0:Ae.status)===0&&Sl(Ae==null?void 0:Ae.groups)})}function $o(Ae){return Ut(this,null,function*(){var Ke,Qe,at,pt;ni(!0);let $t=(Ke=Ae.list)==null?void 0:Ke.filter(fr=>!ml.includes(fr)),tn=(Qe=Ae.list)==null?void 0:Qe.filter(fr=>ml.includes(fr));if($t.length===0&&tn.length===0){ni(!1),Zi([]);return}let Yn=yield(0,cn.ZP)("/api/item_banks.json",{method:"get",params:Dr(qt({},Ae),{discipline_id:((at=Ae==null?void 0:Ae.courseid)==null?void 0:at[0])||null,sub_discipline_id:((pt=Ae==null?void 0:Ae.courseid)==null?void 0:pt[1])||null,ids:$t,shixun_ids:tn,type:Ae.type==="5"?null:Ae.type,clazz:Ae.type==="3"?"ItemBanksGroup":null})});ni(!1),Zi(Yn)})}const He=Ae=>Ut(void 0,null,function*(){const Ke=yield kt({type:"shixunsDetail/release",payload:{id:Ae}});let Qe=Ke==null?void 0:Ke.tag_position,at=(Ke==null?void 0:Ke.evaluation_set_position)||[],pt=Ke.status;return pt===0?(ot.ZP.success("\u53D1\u5E03\u6210\u529F"),di(dn),!0):(pt===2?ot.ZP.error(`\u7B2C${at.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):pt===3?ot.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Qe.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):ot.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),tt=Ae=>(Ae==null?void 0:Ae.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",Nt=()=>Ii?"\u6682\u65E0\u6570\u636E":dn.type==="3"&&!(bl!=null&&bl.length)?on.createElement("span",null,"\u4F60\u8FD8\u672A\u52A0\u5165\u6559\u7814\u56E2\u961F\uFF0C\u8BF7\u5148 ",on.createElement("span",{onClick:()=>{var Ae;return(0,$e.xg)(`/users/${(Ae=Zn==null?void 0:Zn.userInfo)==null?void 0:Ae.login}/teach-group`)},style:{color:"#3061D0",cursor:"pointer"}},"\u65B0\u521B\u5EFA\u6559\u7814\u56E2\u961F")):dn.type==="0"&&(Gr==null?void 0:Gr.items_count)===0&&!(dn!=null&&dn.tag_discipline_id)&&!(dn!=null&&dn.difficulty)&&!(dn!=null&&dn.keyword)&&!(dn!=null&&dn.group_id)&&!(dn!=null&&dn.difficulty)?on.createElement("span",null,"\u4F60\u8FD8\u672A\u521B\u5EFA\u8FC7\u7F16\u7A0B\u9898\uFF0C\u8BF7\u5148 ",on.createElement("span",{onClick:()=>{(0,$e.xg)(`/problems/newcreate?&pageId=${Mn}`),hn(!1)},style:{color:"#3061D0",cursor:"pointer"}},"\u521B\u5EFA\u7F16\u7A0B\u9898")):"\u6682\u65E0\u6570\u636E",pe=(Ae,Ke,Qe)=>Ae.map(at=>at.key===Ke?qt(qt({},at),Qe):at.children?Dr(qt({},at),{children:pe(at.children,Ke,Qe)}):at),Oe=Ae=>Ut(void 0,null,function*(){const{key:Ke}=Ae;let Qe=dn.type;const at=yield(0,xt.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(Ke),type:Qe}),{data:pt,total_count:$t}=at||{};$t>0&&zl(tn=>pe(tn,Ke,{children:pt.map(Yn=>({title:Yn.name,id:Yn.id,pid:Yn.id,value:Yn.id,key:Yn.id,isLeaf:!Yn.have_child}))}))});return on.createElement("div",null,on.createElement(me.default,{title:!1,footer:!1,open:It,width:1200,centered:!0,className:Nn.scoremodal,onCancel:()=>{hn(!1)}},on.createElement("div",{style:{display:"flex",alignItems:"center"}},on.createElement("div",{className:Nn.title},"\u9009\u62E9\u7F16\u7A0B\u9898")),on.createElement(Mt.default,{className:Nn.tabWrap,activeKey:dn.type,onChange:Ae=>{Ae==="3"?(dn.show_all_share=!0,Ao({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):dn.show_all_share=null,Ae==="0"&&Ao({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),dn.type=Ae,dn.page=1,dn.updated_at="",dn.quotes="",dn.courseid="",dn.tag_discipline_id=null,dn.difficulty=null,dn.keyword=null,dn.group_id=null,dn.teach_group_id=null,hi.setFieldsValue({courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[],teach_group_id:null}),(dn==null?void 0:dn.item_type)==="SHIXUN"&&dn.type!=="5"&&(so=!0,xo(!0)),xi(!1),dn.type==="5"&&(so=!1,xo(!1)),za(qt({},dn)),di(qt({},dn)),Mi()},items:[{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u516C\u5171",key:"1"},{label:on.createElement("div",null,"\u5DF2\u9009",ka.length>0&&on.createElement("span",{className:Nn.titlecount},ka.length),Yo>0&&on.createElement("span",{className:Nn.add},"+",Yo)),key:"5"}]}),on.createElement(ue.default,{layout:"inline",form:hi,onValuesChange:(Ae,Ke)=>{const Qe=Object.values(Ke).some(pt=>pt!==null&&pt!==""&&pt!==void 0),at=Ke.keyword==="";if(xi(Qe||!at),dn.page=1,(Ke==null?void 0:Ke.item_type)==="SHIXUN"){if(dn.type==="5"?xo(!1):xo(!0),Ae.keyword||Ae.keyword==="")return;hi.submit()}else{if(Ae!=null&&Ae.courseid&&hi.setFieldsValue({tag_discipline_id:""}),xo(!1),Ae.keyword||Ae.keyword==="")return;hi.submit()}},onFinish:Ae=>{var Ke;dn.type==="3"&&(!Ae.group_id||((Ke=Ae==null?void 0:Ae.group_id)==null?void 0:Ke.length)===0)?dn.show_all_share=!0:dn.show_all_share=null,za(qt(qt({},dn),Ae)),di(qt(qt({},dn),Ae))}},on.createElement(ue.default.Item,{name:"courseid"},on.createElement(Kt.Z,{className:Nn.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:pa})),!so&&on.createElement(ue.default.Item,{name:"tag_discipline_id"},on.createElement(sn.default,{className:Nn.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(hr=Gr==null?void 0:Gr.tag_disciplines)==null?void 0:hr.map(Ae=>on.createElement(sn.default.Option,{key:Ae.id},Ae.name)))),on.createElement(ue.default.Item,{name:so?"diff":"difficulty"},on.createElement(sn.default,{className:Nn.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!so&&mr.map(Ae=>on.createElement(sn.default.Option,{key:Ae.value},Ae.name)),so&&Yr.map(Ae=>on.createElement(sn.default.Option,{key:Ae.value},Ae.name)))),so&&on.createElement(ue.default.Item,{name:"shixun_publish_status"},on.createElement(sn.default,{className:Nn.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},ha.map(Ae=>on.createElement(sn.default.Option,{key:Ae.value},Ae.name)))),dn.type==="3"&&!so&&on.createElement(ue.default.Item,{name:"teach_group_id"},on.createElement(sn.default,{className:Nn.selectWrapper,placeholder:"\u56E2\u961F",style:{width:118},size:"middle",showSearch:!0,allowClear:!0,filterOption:(Ae,Ke)=>(console.log("---",Ae,Ke),Ke.children.toUpperCase().indexOf(Ae.toUpperCase())!==-1)},bl==null?void 0:bl.map(Ae=>on.createElement(sn.default.Option,{key:Ae.group_id},Ae.name)))),(dn.type==="3"||dn.type==="0")&&!so&&on.createElement(ue.default.Item,{name:"group_id"},on.createElement(wn.default,{treeDataSimpleMode:!0,style:{width:118},className:Nn.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(Ae,Ke)=>Ke.title.toUpperCase().indexOf(Ae.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:Oe,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:dl})),mi&&on.createElement("span",{className:Nn.allqingchu,onClick:Ui},on.createElement("i",{className:"iconfont icon-guanbi4"}),on.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),on.createElement(ue.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},on.createElement(Pe.default.Search,{className:Nn.search,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u9898\u7F16\u53F7\u6216\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:on.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Nn.searchIcon}`,onClick:()=>hi.submit()}),onSearch:Ae=>{hi.submit()}}))),on.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},on.createElement("div",{onClick:()=>{dn.updated_at==="asc"?dn.updated_at="desc":dn.updated_at="asc",za(Dr(qt({},dn),{page:1})),di(Dr(qt({},dn),{page:1}))}}," ",dn.updated_at?on.createElement("img",{src:dn.updated_at==="asc"?se.Z:Ye.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):on.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),on.createElement("div",{onClick:()=>{dn.quotes==="asc"?dn.quotes="desc":dn.quotes="asc",za(Dr(qt({},dn),{page:1})),di(Dr(qt({},dn),{page:1}))},style:{marginLeft:20}}," ",dn.quotes?on.createElement("img",{src:dn.quotes==="asc"?se.Z:Ye.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):on.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),on.createElement(rt.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Gr==null?void 0:Gr.items)||(Gr==null?void 0:Gr.shixun_list),pagination:!1,locale:{emptyText:on.createElement(ft.Z,{styles:{margin:"18px auto"},customText:Nt()})},loading:Ii,rowKey:Ae=>Ae.id,rowSelection:{type:"checkbox",selectedRowKeys:Sa,getCheckboxProps:Ae=>({disabled:Ae.shixun_tag_num===1}),onSelect(Ae,Ke,Qe){if(Ke)(so||Ae!=null&&Ae.challenge_names)&&vl([...ml,Ae.id]),Aa([...Sa,Ae.id]),Pi([...Do,Ae]),Ae.identifier?Bi.current.add(Ae.id):zn.current.add(Ae.id),uo(1),Er([...ka,Ae.id]);else{const at=Do.filter(tn=>tn.id!==Ae.id);Pi(at);const pt=at.map(tn=>tn.id);Aa([...pt]),Ae.identifier?Bi.current.delete(Ae.id):zn.current.delete(Ae.id);let $t=ka.filter(tn=>tn!==Ae.id);if(Er($t),so||Ae!=null&&Ae.challenge_names){let tn=ml.filter(Yn=>Yn!==Ae.id);vl([...tn])}if(dn.type==="5"){$o(Dr(qt({},dn),{list:[...$t]}));return}}},onSelectAll(Ae,Ke,Qe){var at,pt;if(Ae){const $t=Qe.map(Yn=>Yn.id),tn=(pt=Qe==null?void 0:Qe.filter(Yn=>Yn==null?void 0:Yn.challenge_names))==null?void 0:pt.map(Yn=>Yn.id);vl([...ml,...tn]),Pi([...Do,...Qe]),Aa([...Sa,...$t]),Er([...ka,...$t]);for(const Yn of Qe)Yn.identifier?Bi.current.add(Yn.id):zn.current.add(Yn.id)}else{const $t=Qe.map(Dn=>Dn.id),tn=Sa.filter(Dn=>!$t.some(qn=>qn===Dn)),Yn=Do.filter(Dn=>!$t.some(qn=>qn===Dn.id)),fr=(at=Qe==null?void 0:Qe.filter(Dn=>Dn==null?void 0:Dn.challenge_names))==null?void 0:at.map(Dn=>Dn.id);Pi(Yn),Aa([...tn]),Er([...tn]);let Cr=ml.filter(Dn=>!fr.some(qn=>qn===Dn.id));vl([...Cr]),dn.type==="5"&&$o(Dr(qt({},dn),{list:[...tn]}));for(const Dn of $t)Dn.identifier?Bi.current.delete(Dn):zn.current.delete(Dn)}}},columns:[{title:"\u8BD5\u9898\u7F16\u53F7",dataIndex:"id",key:"id",width:110,render:(Ae,Ke,Qe)=>{const at=`No.${Ae}`;return on.createElement(Ue.Z,{title:at},on.createElement("span",null,at))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:so?"30%":"60%",key:"name",render:(Ae,Ke,Qe)=>{var at;return on.createElement(Ue.Z,{title:tt(Ke)},on.createElement("span",null,on.createElement(Ge.Z,{key:1,showLines:1,showTextOnly:!0,value:so||Ke!=null&&Ke.challenge_names?Ke!=null&&Ke.title||Ae===null?"--":Ae:(Ke==null?void 0:Ke.item_type)=="BPROGRAM"?(at=Ke==null?void 0:Ke.program_attr)==null?void 0:at.description:Ae})))}},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",key:"tag_discipline",ellipsis:!0,width:150,render:(Ae,Ke,Qe)=>on.createElement(Ue.Z,{title:Ae},on.createElement("span",null,Ae||"- -"))},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!so,render:(Ae,Ke,Qe)=>{var at;return on.createElement(Ue.Z,{title:tt(Ke)},on.createElement("span",null,Ae?(at=Ae==null?void 0:Ae.split("\u3001"))==null?void 0:at[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!so,render:(Ae,Ke,Qe)=>on.createElement(Ue.Z,{title:tt(Ke)},on.createElement("span",null,Ae||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",width:50,render:(Ae,Ke,Qe)=>{var at,pt,$t,tn;return on.createElement(Ue.Z,{title:tt(Ke)},on.createElement("div",null,so||Ke!=null&&Ke.challenge_names?(Ke==null?void 0:Ke.level)||((pt=(at=mr==null?void 0:mr.filter(Yn=>Yn.value===Ae))==null?void 0:at[0])==null?void 0:pt.name):(tn=($t=mr==null?void 0:mr.filter(Yn=>Yn.value===Ae))==null?void 0:$t[0])==null?void 0:tn.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!so,render:(Ae,Ke,Qe)=>on.createElement(Ue.Z,{title:tt(Ke)},on.createElement("div",null,Ae||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",width:74,render:(Ae,Ke,Qe)=>on.createElement(Ue.Z,{title:tt(Ke)},on.createElement("div",null,so||Ke!=null&&Ke.challenge_names?(Ke==null?void 0:Ke.study_count)||(Ke==null?void 0:Ke.stu_num):Ae))},{title:on.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",on.createElement(Ue.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},on.createElement(pn.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!so,render:(Ae,Ke,Qe)=>on.createElement(Ue.Z,{title:tt(Ke)},on.createElement("div",null,Ae||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",width:50,align:"right",render:(Ae,Ke,Qe)=>on.createElement(Ue.Z,{title:tt(Ke)},on.createElement("div",{style:{flex:1,textAlign:"start"}},on.createElement("a",{onClick:()=>{var at,pt;ri(Dr(qt({},Ke),{question_type:so||Ke!=null&&Ke.challenge_names?5:(pt=(at=Ci==null?void 0:Ci.filter($t=>$t.value===(Ke==null?void 0:Ke.item_type)))==null?void 0:at[0])==null?void 0:pt.question_type})),ia(!0)}},"\u67E5\u770B"),(Ke==null?void 0:Ke.shixun_tag_num)===1&&on.createElement("a",{style:{marginLeft:10},onClick:()=>{me.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:on.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",on.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${Ke==null?void 0:Ke.identifier}/challenges`)}},(Ke==null?void 0:Ke.shixun_name)||"--"),"\uFF1F"),onOk:()=>Ut(void 0,null,function*(){if(!He(Ke==null?void 0:Ke.identifier))return new Promise((at,pt)=>{pt()})})})}},"\u53D1\u5E03")))}].filter(Ae=>!Ae.hidden)}),on.createElement(vn.Z,{current:dn.page,total:(Gr==null?void 0:Gr.items_count)||(Gr==null?void 0:Gr.shixuns_count),style:{marginBottom:20},defaultPageSize:dn.per_page,hideOnSinglePage:!(Gr!=null&&Gr.items_count),showTotal:Ae=>on.createElement("span",null,"\u5171\xA0",on.createElement("span",{style:{color:"#165DFF"}},Ae),"\xA0\u6761\u6570\u636E"),pageSize:dn.per_page,onChange:(Ae,Ke)=>{dn.page=Ae,dn.per_page=Ke,za(qt({},dn)),di(qt({},dn))}}),on.createElement("div",{className:Nn.bottom},on.createElement(Se.ZP,{className:Nn.no,onClick:()=>{hn(!1)}},"\u53D6\u6D88"),on.createElement(Se.ZP,{loading:Gn,style:{width:Gn&&75},className:Nn.yes,onClick:()=>Ut(void 0,null,function*(){if((ka==null?void 0:ka.length)<=0){ot.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}Zt([...zn.current],[...Bi.current],!0,ka==null?void 0:ka.length)})},"\u786E\u8BA4"))),on.createElement(me.default,{open:ho,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:Nn.previewModal,width:1e3,centered:!0,onCancel:()=>{ia(!1)},onOk:()=>{ia(!1)}},on.createElement(ge,{qitem:io})))};var Nr=(0,ut.connect)(({shixunsDetail:hn,user:It})=>({shixunsDetail:hn,user:It}))(nn),cr=ee(12082),Fr=ee(27484),aa=ee.n(Fr),Jn=ee(67294),Ia=Object.defineProperty,Ta=Object.defineProperties,ti=Object.getOwnPropertyDescriptors,Jr=Object.getOwnPropertySymbols,ja=Object.prototype.hasOwnProperty,Si=Object.prototype.propertyIsEnumerable,$a=(hn,It,Zt)=>It in hn?Ia(hn,It,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):hn[It]=Zt,ji=(hn,It)=>{for(var Zt in It||(It={}))ja.call(It,Zt)&&$a(hn,Zt,It[Zt]);if(Jr)for(var Zt of Jr(It))Si.call(It,Zt)&&$a(hn,Zt,It[Zt]);return hn},Ni=(hn,It)=>Ta(hn,ti(It)),Ln=(hn,It)=>{var Zt={};for(var Gt in hn)ja.call(hn,Gt)&&It.indexOf(Gt)<0&&(Zt[Gt]=hn[Gt]);if(hn!=null&&Jr)for(var Gt of Jr(hn))It.indexOf(Gt)<0&&Si.call(hn,Gt)&&(Zt[Gt]=hn[Gt]);return Zt},Pn=(hn,It,Zt)=>new Promise((Gt,Gn)=>{var kt=Mn=>{try{Zn(Zt.next(Mn))}catch(ar){Gn(ar)}},mn=Mn=>{try{Zn(Zt.throw(Mn))}catch(ar){Gn(ar)}},Zn=Mn=>Mn.done?Gt(Mn.value):Promise.resolve(Mn.value).then(kt,mn);Zn((Zt=Zt.apply(hn,It)).next())});const rr=({title:hn,icon:It,className:Zt,style:Gt,children:Gn})=>Jn.createElement("div",{className:qe()(fe.card,Zt),style:Gt},Jn.createElement("div",{className:fe.head},Jn.createElement("i",{className:It}),Jn.createElement("b",null,hn)),Jn.createElement("div",{className:fe.element},Gn)),or=hn=>{var It=hn,{value:Zt,onChange:Gt}=It,Gn=Ln(It,["value","onChange"]);return Jn.createElement(ke.Z,Ni(ji({},Gn),{defaultValue:Zt,onChange:Gt}))},$r=({value:hn=[],onChange:It,params:Zt,className:Gt})=>{const[Gn,kt]=(0,ne.useState)(!1),[mn,Zn]=(0,ne.useState)([]),[Mn,ar]=(0,ne.useState)(""),[hr,dn]=(0,ne.useState)([]),[za,pa]=(0,ne.useState)("");(0,ne.useEffect)(()=>{ma()},[]);function ma(){return Pn(this,null,function*(){let Sa=yield(0,cn.ZP)(`/api/courses/${Zt==null?void 0:Zt.coursesId}/teachers`,{method:"get",params:{homework_id:Zt.categoryId,limit:1e3}});dn((Sa==null?void 0:Sa.teacher_list)||[])})}return Jn.createElement(ne.Fragment,null,Jn.createElement("div",{className:qe()(fe.collaborator,Gt)},hn==null?void 0:hn.map(Sa=>Jn.createElement(de.Z,{align:"middle",className:`${fe.btn} ${za==(Sa==null?void 0:Sa.user_id)?fe.delBorder:""}`,key:Sa.user_id},Jn.createElement("span",{className:"c-grey-333"},Sa==null?void 0:Sa.name),Jn.createElement("span",{className:`iconfont icon-guanbi11 current ml20 c-grey-ccc ${fe.delSty}`,onMouseEnter:()=>{pa(Sa==null?void 0:Sa.user_id)},onMouseLeave:()=>{pa("")},onClick:()=>{const Aa=hn.filter(ka=>ka.user_id!==Sa.user_id);Zn(Aa.map(ka=>ka.user_id)),It(Aa)}}))),Jn.createElement(Se.ZP,{className:fe.copHover,style:{height:38,padding:"6px 15px"},type:"primary",ghost:!0,onClick:()=>kt(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),Jn.createElement(me.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:Gn,onCancel:()=>kt(!1),onOk:()=>{const Sa=hr.filter(Aa=>mn.includes(Aa.user_id));It(Sa),kt(!1)},afterClose:()=>{ar("")}},Jn.createElement(de.Z,{align:"middle"},Jn.createElement("label",null,"\u59D3\u540D\uFF1A"),Jn.createElement(Pe.default.Search,{value:Mn,size:"middle",style:{flex:1},onChange:Sa=>ar(Sa.target.value)})),Jn.createElement(rt.default,{style:{marginTop:10,height:300,overflow:"auto"},rowSelection:{type:"checkbox",onChange:Sa=>{Zn(Sa)},selectedRowKeys:mn,getCheckboxProps:Sa=>({disabled:Sa.is_collaborator})},pagination:!1,rowKey:"user_id",size:"middle",dataSource:hr.filter(Sa=>Sa.name.includes(Mn)),columns:[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u89D2\u8272",dataIndex:"role"}]})))};var jr=()=>{var hn;const It=(0,ut.useParams)(),Zt=(0,ut.useDispatch)(),[Gt]=ue.default.useForm(),Gn=ue.default.useWatch("hack_score_settings",Gt),kt=ue.default.useWatch("open_code",Gt),mn=ue.default.useWatch("rank_forbidden",Gt),Zn=ue.default.useWatch("hack_analysis",Gt),Mn=ue.default.useWatch("hack_answer",Gt),[ar,hr]=(0,ne.useState)([]),[dn,za]=(0,ne.useState)({}),[pa,ma]=(0,ne.useState)({course_end_date:null,manage_all_group:!0,send_type:0,can_publish:!0,difficult_settings:[],difficult_count:[],unified_setting:!0}),[Sa,Aa]=(0,ne.useState)(!0),[ka,Er]=(0,ne.useState)(!1),[Gr,Zi]=(0,ne.useState)(!1),[Ii,ni]=(0,ne.useState)({}),[hi,io]=(0,ne.useState)(!1),[ri,ho]=(0,ne.useState)(!1),ia=(0,ne.useRef)(!1),so=(0,ne.useRef)(String(Math.random()).slice(-6)),xo=(hn=window.location.pathname)==null?void 0:hn.includes("add");(0,ne.useEffect)(()=>(window.addEventListener("visibilitychange",ml),()=>{window.removeEventListener("visibilitychange",ml)}),[ar,Ii]),(0,ne.useEffect)(()=>(Zt({type:"globalSetting/footerToggle",payload:!1}),()=>{Zt({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ne.useEffect)(()=>{ar.length&&Gn!==void 0&&dl()},[Gn,JSON.stringify(ar==null?void 0:ar.map(Ci=>Ci.id+Ci.hack_score))]),(0,ne.useEffect)(()=>{vl(),xo?Aa(!1):Yo()},[]);const ml=()=>Pn(void 0,null,function*(){var Ci;if(document.visibilityState==="visible"){ho(!0);let Do=ar.map(zn=>zn.id),Pi=localStorage.getItem(so.current);Pi&&(Pi=JSON.parse(Pi),Pi=Array.isArray(Pi)?Pi:[],Do=[...Do,...Pi],localStorage.removeItem(so.current));const Bi=yield(0,cn.ZP)("/api/item_banks.json",{method:"get",params:{hack_item_bank_ids:Do.length?Do:-1,homework_common_id:xo?null:Ii==null?void 0:Ii.homework_id}});if(Bi!=null&&Bi.items){const zn=(Ci=Bi==null?void 0:Bi.items)==null?void 0:Ci.map(Cn=>{const mr=ar.find(Yr=>Yr.id===Cn.id);return mr?Ni(ji({},Cn),{hack_score:mr.hack_score}):Cn});hr(zn)}ho(!1)}}),vl=()=>Pn(void 0,null,function*(){const Ci=yield(0,cn.ZP)(`/api/courses/${It.coursesId}/homework_commons/new.json`,{method:"get",params:{category:It==null?void 0:It.categoryId,type:5}});Ci!=null&&Ci.course_name&&za(Ci)}),Yo=()=>Pn(void 0,null,function*(){var Ci,Do;const Pi=yield(0,cn.ZP)(`/api/homework_commons/${It==null?void 0:It.categoryId}/edit_hack.json`,{method:"get"});if((Pi==null?void 0:Pi.status)===0){const Bi=(Ci=Pi==null?void 0:Pi.collaborators_data)==null?void 0:Ci.map(Cn=>({user_id:Cn.id,name:Cn.real_name}));Gt.setFieldsValue(Ni(ji({},Pi),{user_ids:Bi,rank_forbidden_start:Pi!=null&&Pi.rank_forbidden_start?aa()(Pi==null?void 0:Pi.rank_forbidden_start):"",rank_forbidden_end:Pi!=null&&Pi.rank_forbidden_end?aa()(Pi==null?void 0:Pi.rank_forbidden_end):""}));const zn=(Do=Pi==null?void 0:Pi.items)==null?void 0:Do.map((Cn,mr)=>{var Yr,ha;return Ni(ji({},Cn),{hack_score:(ha=(Yr=Pi==null?void 0:Pi.hack_settings)==null?void 0:Yr[mr])==null?void 0:ha.hack_score})});hr(zn||[]),ni(ji({},Pi))}Aa(!1)}),uo=()=>{let Ci=`/classrooms/${It==null?void 0:It.coursesId}/program_homework`;return xo||(Ci=`/classrooms/${It==null?void 0:It.coursesId}/program_homework/${It==null?void 0:It.categoryId}/detail`),Ci},wl=[{name:(dn==null?void 0:dn.course_name)||"",path:`/classrooms/${dn==null?void 0:dn.course_id}/program_homework`},{name:xo?"\u7F16\u7A0B\u4F5C\u4E1A":Ii==null?void 0:Ii.name,path:uo()},{name:(xo?"\u65B0\u5EFA":"\u7F16\u8F91")+"\u7F16\u7A0B\u4F5C\u4E1A"}],Qo=[{title:"\u5E8F\u53F7",dataIndex:"index",width:80,render:(Ci,Do,Pi)=>Pi+1},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,render:Ci=>Jn.createElement(Ue.Z,{placement:"topLeft",title:Ci},Jn.createElement("span",null,Ci||"--"))},{title:"\u5206\u503C",dataIndex:"hack_score",render:(Ci,Do,Pi)=>Jn.createElement(mt.Z,{disabled:Gn!==2,size:"middle",min:0,precision:1,addonAfter:"\u5206",value:Ci,onChange:Bi=>{ar[Pi].hack_score=Bi;const zn=ar.reduce((Cn,mr)=>Cn+Number(mr.hack_score||0),0);Gt.setFieldsValue({total_score:zn.toFixed(2)}),hr([...ar])}})},{title:"\u96BE\u5EA6",dataIndex:"difficulty",align:"center",width:90,render:Ci=>Jn.createElement("span",null,Ci===1?"\u7B80\u5355":Ci===2?"\u4E2D\u7B49":"\u56F0\u96BE")},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",render:Ci=>Jn.createElement(Ue.Z,{placement:"topLeft",title:Ci},Jn.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},Ci||"--"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes"},{title:"\u64CD\u4F5C",dataIndex:"action",width:146,render:(Ci,Do)=>Jn.createElement("span",null,Jn.createElement("span",{onClick:()=>Pn(void 0,null,function*(){var Pi;Zt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u521D\u59CB\u5316\uFF0C\u8BF7\u7A0D\u540E..."}});let Bi=yield(0,cn.ZP)(`/api/problems/${(Pi=Do==null?void 0:Do.program_attr)==null?void 0:Pi.identifier}/start.json`,{method:"get"});(Bi==null?void 0:Bi.status)===0&&(0,$e.xg)(`/myproblems/${Bi==null?void 0:Bi.identifier}?type=1&pageId=edit&backUrl=${uo()}`),Zt({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),className:"c-light-primary current"},"\u4F53\u9A8C"),Jn.createElement("span",{onClick:()=>{var Pi;return(0,$e.xg)(`/problems/newedit/${(Pi=Do==null?void 0:Do.program_attr)==null?void 0:Pi.identifier}?type=1&pageId=edit&backUrl=${window.location.pathname}`)},className:"c-light-primary current mr20 ml20"},"\u7F16\u8F91"),Jn.createElement("span",{onClick:()=>{const Pi=ar.filter(Bi=>Bi.id!==Do.id);hr(Pi),ot.ZP.success("\u5220\u9664\u6210\u529F")},className:"current",style:{color:"#E30000"}},"\u5220\u9664"))}],dl=()=>{const Ci=[...ar],Do=Gt.getFieldValue("total_score"),Pi=Ci==null?void 0:Ci.length;let Bi=0,zn;switch(Gn){case 0:const Cn=(Do/Pi).toFixed(2);Ci.map((Mi,Ao)=>{Bi=Ao,Mi.hack_score=Cn>0?Cn:0}),zn=(Do-Cn*(Pi-1)).toFixed(2),Ci[Bi].hack_score=zn>0?zn:0;break;case 1:const mr=[0,1,3,6];let Yr=0;const ha=Ci.filter(Mi=>Mi.difficulty===1).length*mr[1],mi=Ci.filter(Mi=>Mi.difficulty===2).length*mr[2],xi=Ci.filter(Mi=>Mi.difficulty===3).length*mr[3],Ui=Do/(ha+mi+xi);Ci.map((Mi,Ao)=>{Bi=Ao,Mi.hack_score=(mr[Mi.difficulty]*Ui).toFixed(2),Yr=Yr+Number(Mi.hack_score)});let di=Ci[Bi].hack_score;zn=(Do-Yr+Number(di)).toFixed(2),Ci[Bi].hack_score=zn>0?zn:0;break}hr(Ci)},zl=Ci=>{ia.current=Ci,Gt.submit()},bl=Ci=>Pn(void 0,null,function*(){var Do;if(!ar.length){ot.ZP.error("\u672A\u8BBE\u7F6E\u7F16\u7A0B\u9898\uFF0C\u8BF7\u6DFB\u52A0\u7F16\u7A0B\u9898"),Gt.scrollToField("hack_score_settings",{behavior:"smooth",block:"center"});return}io(!0);const Pi=[],Bi=ar.map(mr=>(Pi.push(mr.hack_id),{hack_id:mr.hack_id,hack_name:mr.name,hack_score:mr.hack_score,difficult:mr.difficulty})),zn=(Do=Ci==null?void 0:Ci.user_ids)==null?void 0:Do.map(mr=>mr.user_id),Cn=yield(0,cn.ZP)(`/api/courses/${It.coursesId}/homework_commons/create_hack_homework.json`,{method:"post",body:Ni(ji({},Ci),{category:xo?Number(It==null?void 0:It.categoryId):null,homework_id:xo?null:Ii==null?void 0:Ii.homework_id,hack_settings:Bi,user_ids:zn,hack_ids:Pi})});if((Cn==null?void 0:Cn.status)===0)if(ot.ZP.success("\u4FDD\u5B58\u6210\u529F"),ia.current){const mr=ji({},Cn);ma(mr),Zt({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[Cn==null?void 0:Cn.id],selectArrsAll:[mr],params:It,detail:!0,type:2,manage_all_group:mr==null?void 0:mr.manage_all_group}})}else ut.history.push(`/classrooms/${It.coursesId}/program_homework/${Cn==null?void 0:Cn.id}/detail`);io(!1)}),Sl=Ci=>Pn(void 0,null,function*(){if(!Ci.length){ot.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u9898");return}if(Ci.length>200){ot.ZP.warning("\u7F16\u7A0B\u9898\u6570\u91CF\u4E0D\u5F97\u8D85\u8FC7200\u9053");return}const Do=[],Pi=ar.map(Cn=>{var mr;return(mr=Cn.program_attr)==null?void 0:mr.origin_item_bank_id}),Bi=[];Ci.forEach(Cn=>{if(Pi.includes(Cn)){const mr=ar.find(Yr=>{var ha;return((ha=Yr.program_attr)==null?void 0:ha.origin_item_bank_id)===Cn});Bi.push(mr)}else Do.push(Cn)}),Zi(!0);const zn=yield(0,cn.ZP)("/api/problems/copy_item_banks.json",{method:"post",body:{ids:Do}});if(zn!=null&&zn.items){const Cn=[...Bi,...zn==null?void 0:zn.items];if(Gn===2){const mr=Cn.reduce((Yr,ha)=>Yr+Number(ha.hack_score||0),0);Gt.setFieldsValue({total_score:mr.toFixed(2)})}hr(Cn),Er(!1)}Zi(!1)});return Jn.createElement("div",{className:fe.wrap},Jn.createElement(vt.Z,{spinning:Sa},Jn.createElement("div",{className:fe.center},Jn.createElement(we._b,{dataSource:wl,className:"mb20"}),Jn.createElement(ue.default,{form:Gt,preserve:!1,onValuesChange:Ci=>{"total_score"in Ci&&dl()},onFinishFailed:Ci=>Pn(void 0,null,function*(){var Do,Pi;ot.ZP.error(Ci.errorFields[0].errors[0]),Gt.scrollToField((Pi=(Do=Ci==null?void 0:Ci.errorFields)==null?void 0:Do[0])==null?void 0:Pi.name,{behavior:"smooth",block:"center"})}),onFinish:bl,colon:!1,size:"large"},Jn.createElement(rr,{className:"mb20",title:"\u57FA\u672C\u4FE1\u606F",icon:"iconfont icon-jibenxinxi2"},Jn.createElement(ue.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"},{whitespace:!0,message:"\u4F5C\u4E1A\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}]},Jn.createElement(Pe.default,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0",showCount:!0,maxLength:60})),Jn.createElement(ue.default.Item,{labelCol:{flex:"81px"},label:"\u4F5C\u4E1A\u8BF4\u660E",name:"description",initialValue:"",rules:[{max:5e4,message:"\u4F5C\u4E1A\u8BF4\u660E\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26"}]},Jn.createElement(or,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26",watch:!0}))),Jn.createElement(rr,{className:"mb20",title:"\u9898\u76EE\u8BBE\u7F6E",icon:"iconfont icon-timushezhi"},Jn.createElement(ue.default.Item,{label:"\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00",name:"languages",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00"}]},Jn.createElement(Ee.default.Group,null,Jn.createElement(Ee.default,{value:"c"},"C\u8BED\u8A00"),Jn.createElement(Ee.default,{value:"c++"},"C++\u8BED\u8A00"),Jn.createElement(Ee.default,{value:"java"},"Java\u8BED\u8A00"),Jn.createElement(Ee.default,{value:"python"},"Python\u8BED\u8A00"))),Jn.createElement(de.Z,{align:"middle"},Jn.createElement(ue.default.Item,{label:"\u603B\u5206\u503C",name:"total_score",rules:[{required:!0,message:"\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A"}],initialValue:100},Jn.createElement(mt.Z,{precision:1,disabled:Gn===2,min:0,style:{width:223},addonAfter:"\u5206"})),Jn.createElement(ue.default.Item,{label:"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F",name:"punish_time",initialValue:0,style:{marginLeft:40}},Jn.createElement(mt.Z,{min:0,style:{width:223},addonAfter:"\u5206\u949F"}))),Jn.createElement(ue.default.Item,{label:"\u8BD5\u9898\u5206\u503C",name:"hack_score_settings",initialValue:0},Jn.createElement(wt.ZP.Group,null,Jn.createElement(wt.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),Jn.createElement(wt.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),Jn.createElement(wt.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),Jn.createElement(de.Z,{align:"middle"},Jn.createElement("span",null,"\u9898\u76EE\u5217\u8868"),Jn.createElement(Se.ZP,{onClick:()=>Er(!0),style:{marginLeft:"auto",width:110},type:"primary",ghost:!0},"\u9009\u62E9\u7F16\u7A0B\u9898"),Jn.createElement(Se.ZP,{onClick:()=>(0,$e.xg)(`/problems/newcreate?pageId=${so.current}`),style:{marginLeft:20,width:110},type:"primary"},"\u65B0\u589E\u7F16\u7A0B\u9898")),Jn.createElement("div",{className:fe.tip},Jn.createElement("i",{className:"iconfont icon-tishi12 mr5 font14"}),"\u63D0\u793A\uFF1A\u53EF\u4EE5\u70B9\u51FB\u201C\u7F16\u8F91\u201D\u5BF9\u8BE5\u8BD5\u9898\u7684\u6D4B\u8BD5\u7528\u4F8B/\u521D\u59CB\u4EE3\u7801\u8FDB\u884C\u4FEE\u6539\uFF0C\u4FEE\u6539\u7684\u5185\u5BB9\u5E76\u4E0D\u4F1A\u540C\u6B65\u5230\u8BD5\u9898\u5E93"),Jn.createElement(ue.default.Item,{name:"hack_settings",className:"mb0",initialValue:[]},Jn.createElement(jt,{dataSource:ar,setDataSource:hr,columns:Qo,loading:ri}))),Jn.createElement(rr,{style:{marginBottom:100},title:"\u4F5C\u4E1A\u8BBE\u7F6E",icon:"iconfont icon-zuoyeshezhi"},Jn.createElement("div",{className:fe.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),Jn.createElement("div",{className:`${fe.content} mb30`},Jn.createElement(ue.default.Item,{name:"hack_rank_rule",noStyle:!0,initialValue:0},Jn.createElement(wt.ZP.Group,null,Jn.createElement(wt.ZP,{value:0},Jn.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),Jn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),Jn.createElement(wt.ZP,{style:{marginLeft:40},value:1},Jn.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),Jn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09"))))),Jn.createElement("div",{className:`${fe.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),Jn.createElement("div",{className:fe.content},Jn.createElement(ue.default.Item,{name:"show_late_code",noStyle:!0,valuePropName:"checked",initialValue:!0},Jn.createElement(Ee.default,null,Jn.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),Jn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u52FE\u9009\u540E\uFF0C\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801\uFF0C\u5426\u5219\u53EA\u5C55\u793A\u5728\u4F5C\u4E1A\u65F6\u95F4\u8303\u56F4\u5185\u63D0\u4EA4\u7684\u4EE3\u7801\uFF09")))),Jn.createElement("div",{className:`${fe.title} mt30`},"\u516C\u5F00\u8BBE\u7F6E"),Jn.createElement("div",{className:fe.content},Jn.createElement(ue.default.Item,{name:"score_open",valuePropName:"checked",className:"mb0",initialValue:!1},Jn.createElement(Ee.default,null,Jn.createElement("span",{className:"c-black"},"\u516C\u5F00\u6210\u7EE9"),Jn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u52FE\u9009\u540E\u5B66\u751F\u5728\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u7ED3\u675F\u540E\uFF0C\u53EF\u67E5\u770B\u5176\u4ED6\u5B66\u751F\u7684\u6210\u7EE9\uFF09"))),Jn.createElement(ue.default.Item,{name:"open_code",valuePropName:"checked",className:"mb0",initialValue:!1},Jn.createElement(Ee.default,null,Jn.createElement("span",{className:"c-black"},"\u516C\u5F00\u4EE3\u7801"),Jn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u53EF\u5728\u6392\u884C\u699C\u4E2D\u67E5\u770B\u4ED6\u4EBA\u8BD5\u9898\u901A\u8FC7\u4EE3\u7801\u8BE6\u60C5\uFF09"))),!!kt&&Jn.createElement(ue.default.Item,{name:"open_code_type",className:"mb0 ml25",initialValue:1},Jn.createElement(wt.ZP.Group,null,Jn.createElement(wt.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Jn.createElement(wt.ZP,{style:{marginLeft:60},value:0},"\u4EFB\u610F\u65F6\u95F4"))),Jn.createElement(ue.default.Item,{name:"rank_forbidden",valuePropName:"checked",className:"mb0",initialValue:!1},Jn.createElement(Ee.default,null,Jn.createElement("span",{className:"c-black"},"\u5F00\u542F\u5C01\u699C"),Jn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u4E0D\u53EF\u67E5\u770B\u6392\u884C\u699C\u4FE1\u606F\u7684\u65F6\u95F4\u6BB5\uFF09"))),!!mn&&Jn.createElement(de.Z,{align:"middle",className:"ml25"},Jn.createElement(ue.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"rank_forbidden_start",initialValue:"",rules:[{required:!0,message:"\u5C01\u699C\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"}],className:"mb0"},Jn.createElement(Tt.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:$e.Q8,disabledTime:$e.d0})),Jn.createElement(ue.default.Item,{label:"\u622A\u6B62\u65F6\u95F4",name:"rank_forbidden_end",style:{marginLeft:40},initialValue:"",rules:[{required:!0,message:"\u5C01\u699C\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"}],className:"mb0"},Jn.createElement(Tt.default,{style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",disabledDate:$e.Q8,disabledTime:$e.d0}))),Jn.createElement(ue.default.Item,{name:"hack_analysis",valuePropName:"checked",className:"mb0",initialValue:!1},Jn.createElement(Ee.default,null,Jn.createElement("span",{className:"c-black"},"\u516C\u5F00\u89E3\u6790"),Jn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09"))),!!Zn&&Jn.createElement(ue.default.Item,{name:"hack_analysis_type",className:"mb0 ml25",initialValue:2},Jn.createElement(wt.ZP.Group,null,Jn.createElement(wt.ZP,{value:2},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Jn.createElement(wt.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4"),Jn.createElement(wt.ZP,{style:{marginLeft:60},value:1},"\u5B66\u751F\u901A\u8FC7\u7B54\u9898\u540E/\u672A\u901A\u8FC7\u7684\u5B66\u751F\u4F5C\u4E1A\u622A\u6B62\u540E"))),Jn.createElement(ue.default.Item,{name:"hack_answer",valuePropName:"checked",className:"mb0",initialValue:!1},Jn.createElement(Ee.default,null,Jn.createElement("span",{className:"c-black"},"\u516C\u5F00\u7B54\u6848"),Jn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09"))),!!Mn&&Jn.createElement(ue.default.Item,{name:"hack_answer_type",className:"mb0 ml25",initialValue:1},Jn.createElement(wt.ZP.Group,null,Jn.createElement(wt.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Jn.createElement(wt.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4")))),Jn.createElement("div",{className:`${fe.title} mt30`},"\u534F\u4F5C\u8BBE\u7F6E"),Jn.createElement(ue.default.Item,{name:"user_ids",noStyle:!0,initialValue:[]},Jn.createElement($r,{params:It}))))),Jn.createElement("div",{className:fe.fixedBtns},Jn.createElement(de.Z,{align:"middle",className:fe.center},Jn.createElement(Se.ZP,{onClick:()=>ut.history.push(uo()),style:{padding:"6px 15px"},type:"primary",ghost:!0},"\u53D6\u6D88"),Jn.createElement(Se.ZP,{loading:hi&&!ia.current,disabled:hi&&ia.current,onClick:()=>zl(!1),style:{marginLeft:"auto",marginRight:20,padding:"6px 40px"},type:"primary",ghost:!0},"\u4FDD\u5B58\u4F5C\u4E1A"),Jn.createElement(Se.ZP,{loading:hi&&ia.current,disabled:hi&&!ia.current,onClick:()=>zl(!0),style:{padding:"6px 19px"},type:"primary"},"\u4FDD\u5B58\u5E76\u53D1\u5E03\u4F5C\u4E1A")))),Jn.createElement(Nr,{setScoreShow:Er,isshixuns:!1,ScoreShow:ka,virtualId:so.current,isloadings:Gr,onOk:Sl,selectedIds:ar.map(Ci=>{var Do;return(Do=Ci.program_attr)==null?void 0:Do.origin_item_bank_id})||[]}),Jn.createElement(cr.Z,{courseEndTime:pa==null?void 0:pa.course_end_date,onWindowBack:()=>{window.location.href=`/classrooms/${It==null?void 0:It.coursesId}/program_homework/${pa==null?void 0:pa.id}/detail`}}))}},12082:function(Hn,ln,ee){"use strict";var ne=ee(67294),fe=ee(22150),De=ee(2453),qe=ee(14446),we=ee(71230),ke=ee(78045),de=ee(31795),Se=ee(15746),me=ee(34336),Pe=ee(84567),rt=ee(27484),ue=ee.n(rt),Ue=ee(33170),mt=ee(52262),ot=ee(28706),vt=ee(35973),Ee=ee(12317),wt=ee(89779),Tt=ee(17998),$e=ee(67294),ut=Object.defineProperty,ye=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,ft=(nt,Ot,Rt)=>Ot in nt?ut(nt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):nt[Ot]=Rt,Re=(nt,Ot)=>{for(var Rt in Ot||(Ot={}))et.call(Ot,Rt)&&ft(nt,Rt,Ot[Rt]);if(Xe)for(var Rt of Xe(Ot))st.call(Ot,Rt)&&ft(nt,Rt,Ot[Rt]);return nt},Be=(nt,Ot)=>ye(nt,ce(Ot)),gt=(nt,Ot)=>{var Rt={};for(var an in nt)et.call(nt,an)&&Ot.indexOf(an)<0&&(Rt[an]=nt[an]);if(nt!=null&&Xe)for(var an of Xe(nt))Ot.indexOf(an)<0&&st.call(nt,an)&&(Rt[an]=nt[an]);return Rt},ze=(nt,Ot,Rt)=>new Promise((an,ht)=>{var Ne=jt=>{try{An(Rt.next(jt))}catch(Mt){ht(Mt)}},At=jt=>{try{An(Rt.throw(jt))}catch(Mt){ht(Mt)}},An=jt=>jt.done?an(jt.value):Promise.resolve(jt.value).then(Ne,At);An((Rt=Rt.apply(nt,Ot)).next())});const ct=nt=>{var Ot=nt,{classroomList:Rt,dispatch:an,courseEndTime:ht,onWindowBack:Ne}=Ot,At=gt(Ot,["classroomList","dispatch","courseEndTime","onWindowBack"]),An,jt,Mt,Kt,sn,wn,vn,cn,Nn,dr,En,Ge,ve,he,be,ge,se,Ye,xt,pn,on,In,Qn,_n,Vt,gn,Fn,Tn,qt,Dr,Ut,nn,Nr,cr,Fr,aa,Jn,Ia,Ta;const ti=(0,vt.useParams)(),[Jr]=fe.default.useForm(),[ja,Si]=(0,ne.useState)(1),[$a,ji]=(0,ne.useState)([]),[Ni,Ln]=(0,ne.useState)(0),[Pn,rr]=(0,ne.useState)(2e3),[or,$r]=(0,ne.useState)(!0),[Br,jr]=(0,ne.useState)(!1),[hn,It]=(0,ne.useState)(!1),[Zt,Gt]=(0,ne.useState)([]),[Gn,kt]=(0,ne.useState)(!0),[mn,Zn]=(0,ne.useState)(!((Mt=(jt=(An=Rt.actionTabs)==null?void 0:An.selectArrsAll)==null?void 0:jt[0])!=null&&Mt.send_type));let[Mn,ar]=(0,ne.useState)([0,0,0]);(0,ne.useEffect)(()=>{var ka,Er,Gr,Zi,Ii,ni,hi,io,ri,ho,ia,so,xo;if(Rt.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(pa(),(Gr=(Er=(ka=Rt.actionTabs)==null?void 0:ka.selectArrsAll)==null?void 0:Er[0])!=null&&Gr.can_publish?ar([...(ri=(io=(hi=Rt.actionTabs)==null?void 0:hi.selectArrsAll)==null?void 0:io[0])==null?void 0:ri.difficult_count]):ar([...(ni=(Ii=(Zi=Rt.actionTabs)==null?void 0:Zi.selectArrsAll)==null?void 0:Ii[0])==null?void 0:ni.difficult_settings]),Zn(!((so=(ia=(ho=Rt.actionTabs)==null?void 0:ho.selectArrsAll)==null?void 0:ia[0])!=null&&so.send_type)),hr(),Rt.actionTabs.type===2){const ml=(xo=Rt.actionTabs.selectArrsAll)==null?void 0:xo[0];kt(ml.unified_setting)}else kt(!1)},[Rt.actionTabs]),(0,ne.useEffect)(()=>{if(Br){if(hn)return;an({type:"classroomList/setActionTabs",payload:{}}),(0,mt.GJ)()?(an({type:"classroomList/getClassroomTeacherCommonList",payload:Be(Re({},Rt.actionTabs.params),{type:1})}),an({type:"shixunHomeworks/getWorkList",payload:Re({},ti)})):an({type:"classroomList/getClassroomCommonList",payload:Re({},Rt.actionTabs.params)})}},[Br]);const hr=ka=>ze(void 0,null,function*(){$r(!0);const Er=yield(0,wt.c_)(Be(Re({},ti),{page:ka||ja,limit:2e4,homework_id:Rt.actionTabs.type===1?"":Rt.actionTabs.selectArrs[0]}));Er==null||Er.course_groups.map((Gr,Zi)=>{Gr.key=Gr.id,Gr.title=Gr.name,Gr.disabled=Gr.is_published}),Er&&(ji([...Er==null?void 0:Er.course_groups]),Ln(Er==null?void 0:Er.course_groups_count),$r(!1),ka||Jr.setFieldsValue({publish_time:ue()(ue()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:ue()(ue()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),dn=()=>{(0,mt.GJ)()?Rt.actionTabs.detail?(an({type:"shixunHomeworks/setActionTabs",payload:{}}),an({type:"shixunHomeworks/getWorkList",payload:Re({},ti)}),an({type:"shixunHomeworks/getWorkSetting",payload:Re({},ti)})):an({type:"classroomList/getClassroomTeacherCommonList",payload:Be(Re({},Rt.actionTabs.params),{type:5,category:Rt.actionTabs.params.categoryId})}):an({type:"classroomList/getClassroomCommonList",payload:Re({},Rt.actionTabs.params)})},za=()=>ze(void 0,null,function*(){var ka,Er;if((0,mt.Rm)()&&!((ka=Rt.AssistantObject.hack)!=null&&ka.can_publish)){De.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"),Aa(!1);return}const Gr=Re({},Jr.getFieldsValue());if(Gr.end_time<=Gr.publish_time){De.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),Aa(!1);return}if((Zt==null?void 0:Zt.length)<=0&&!Gn&&$a.length>0){De.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),Aa(!1);return}if(Mn.reduce((ni,hi)=>ni+hi)===0&&!mn){De.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),Aa(!1);return}let Zi={homework_ids:[...Rt.actionTabs.selectArrs],group_ids:Zt.length>0?Zt.map(ni=>ni.id):(Er=Rt.detailCommonHomeworksList)==null?void 0:Er.course_groups,end_time:ue()(Gr.end_time).format("YYYY-MM-DD HH:mm"),publish_time:ue()(Gr.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:Mn==null?void 0:Mn.map(ni=>ni),send_type:mn?"0":"1",unified_setting:!Zt.length};if(Aa(!0),(yield(0,Ue.ZP)(`/api/courses/${ti.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:Re({},Zi)})).status===0){if(Aa(!1),(0,ot.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),De.ZP.success("\u53D1\u5E03\u6210\u529F"),an({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),Ne){Ne();return}At.onCallback&&At.onCallback(),dn(),localStorage.getItem("Noviceguide")==="0"||an({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:$e.createElement("div",null,"\u6700\u540E\uFF0C\u54B1\u4EEC\u7ED9\u6559\u5B66\u8BFE\u5802\u6DFB\u52A0\u4E00\u540D\u5B66\u751F~\u70B9\u51FB\u201C\u6DFB\u52A0\u5B66\u751F\u201D\uFF0C\u5728\u5F39\u7A97\u9875\u9762\u4E2D\u8F93\u5165\u5E76\u641C\u7D22\u5B66\u751F\u59D3\u540D\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5C31\u53EF\u4EE5\u4E3A\u60A8\u7684\u8BFE\u5802\u6DFB\u52A0\u7B2C\u4E00\u4F4D\u5B66\u751F\u5566~")}})}else Aa(!1)}),pa=()=>{Si(1),ji([]),Gt([])},ma=Ni>ja*Pn,[Sa,Aa]=(0,ne.useState)(!1);return $e.createElement(qe.default,{width:600,confirmLoading:Sa,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:Rt.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:za,onCancel:()=>{if(pa(),an({type:"classroomList/setActionTabs",payload:{}}),Ne){Ne();return}dn()}},$e.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",$e.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),$a&&$e.createElement(fe.default,{form:Jr},$e.createElement("div",{style:{paddingLeft:0}},Rt.actionTabs.type===2&&$e.createElement(we.Z,{style:{marginBottom:"10px"}},$e.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),$e.createElement(ke.ZP.Group,{value:mn,disabled:!((wn=(sn=(Kt=Rt.actionTabs)==null?void 0:Kt.selectArrsAll)==null?void 0:sn[0])!=null&&wn.can_publish),onChange:ka=>{Zn(ka.target.value)}},$e.createElement(ke.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),$e.createElement(ke.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!mn&&$e.createElement(we.Z,{style:{marginBottom:"10px"}},$e.createElement("span",{style:{marginRight:65}}),$e.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",$e.createElement(de.Z,{value:Mn[0],onChange:ka=>{Mn[0]=ka,ar([...Mn])},min:0,disabled:!((Nn=(cn=(vn=Rt.actionTabs)==null?void 0:vn.selectArrsAll)==null?void 0:cn[0])!=null&&Nn.can_publish),placeholder:`\u6700\u5927${(ve=(Ge=(En=(dr=Rt.actionTabs)==null?void 0:dr.selectArrsAll)==null?void 0:En[0])==null?void 0:Ge.difficult_count)==null?void 0:ve[0]}`,max:(se=(ge=(be=(he=Rt.actionTabs)==null?void 0:he.selectArrsAll)==null?void 0:be[0])==null?void 0:ge.difficult_count)==null?void 0:se[0],style:{width:60}})),$e.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",$e.createElement(de.Z,{value:Mn[1],onChange:ka=>{Mn[1]=ka,ar([...Mn])},min:0,disabled:!((pn=(xt=(Ye=Rt.actionTabs)==null?void 0:Ye.selectArrsAll)==null?void 0:xt[0])!=null&&pn.can_publish),max:(_n=(Qn=(In=(on=Rt.actionTabs)==null?void 0:on.selectArrsAll)==null?void 0:In[0])==null?void 0:Qn.difficult_count)==null?void 0:_n[1],placeholder:`\u6700\u5927${(Tn=(Fn=(gn=(Vt=Rt.actionTabs)==null?void 0:Vt.selectArrsAll)==null?void 0:gn[0])==null?void 0:Fn.difficult_count)==null?void 0:Tn[1]}`,style:{width:60}})),$e.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",$e.createElement(de.Z,{value:Mn[2],onChange:ka=>{Mn[2]=ka,ar([...Mn])},min:0,disabled:!((Ut=(Dr=(qt=Rt.actionTabs)==null?void 0:qt.selectArrsAll)==null?void 0:Dr[0])!=null&&Ut.can_publish),placeholder:`\u6700\u5927${(Fr=(cr=(Nr=(nn=Rt.actionTabs)==null?void 0:nn.selectArrsAll)==null?void 0:Nr[0])==null?void 0:cr.difficult_count)==null?void 0:Fr[2]}`,max:(Ta=(Ia=(Jn=(aa=Rt.actionTabs)==null?void 0:aa.selectArrsAll)==null?void 0:Jn[0])==null?void 0:Ia.difficult_count)==null?void 0:Ta[2],style:{width:60}}))),$e.createElement(we.Z,{className:"mt30",align:"middle"},$e.createElement(Se.Z,null,$e.createElement(fe.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},$e.createElement(me.default,{style:{width:170,marginRight:"25px"},disabledDate:ka=>(0,Tt.Q8)(ka,ht),disabledTime:ka=>(0,Tt.d0)(ka),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ue()((0,ot.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),$e.createElement(Se.Z,{className:"ml20"},$e.createElement(fe.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},$e.createElement(me.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ue()((0,ot.U6)(),"HH:mm")},disabledDate:ka=>(0,Tt.Q8)(ka,ht,Jr.getFieldValue("publish_time")),disabledTime:ka=>(0,Tt.d0)(ka,Jr.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),Rt.actionTabs.type===2&&$e.createElement(we.Z,{style:{marginBottom:"10px"}},$e.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),$e.createElement(ke.ZP.Group,{value:Gn,onChange:ka=>{kt(ka.target.value),Gt([])}},$e.createElement(ke.ZP,{value:!0,disabled:!Rt.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),$e.createElement(ke.ZP,{className:"ml20",disabled:$a.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),$a.length<=0&&Rt.actionTabs.type===2&&$e.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"')),(Rt.actionTabs.type===1||!Gn)&&$a.length>0&&$e.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},$e.createElement("span",{style:{flex:1}},$e.createElement(Pe.default,{checked:Zt.length===$a.length,onChange:ka=>{Zt.length===$a.length?Gt([]):Gt($a.filter(Er=>!Er.is_published))}},"\u5168\u9009")," "),$e.createElement("span",{style:{width:16}}),$e.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",Zt.length||0,"\u4E2A\u5206\u73ED")),(Rt.actionTabs.type===1||!Gn)&&$a.length>0&&$e.createElement(Ee.Z,{data:$a,selectedRowKeys:Zt,setSelectedRowKeys:Gt})))};ln.Z=(0,vt.connect)(({classroomList:nt})=>({classroomList:nt}))(ct)},17998:function(Hn,ln,ee){"use strict";ee.d(ln,{Q8:function(){return Ne},d0:function(){return At},w6:function(){return ht}});var ne=ee(67294),fe=ee(34336),De=ee(11713),qe=ee(2453),we=ee(14446),ke=ee(78045),de=ee(71230),Se=ee(15746),me=ee(83062),Pe=ee(84567),rt=ee(71577),ue=ee(27484),Ue=ee.n(ue),mt=ee(52262),ot=ee(33170),vt=ee(96486),Ee=ee.n(vt),wt=ee(28706),Tt=ee(39886),$e=ee(35973),ut=ee(39717),ye=ee(78207),ce=ee(92882),Xe=ee(96332),et=ee(93686),st=ee(67294),ft=Object.defineProperty,Re=Object.defineProperties,Be=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,nt=(Kt,sn,wn)=>sn in Kt?ft(Kt,sn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):Kt[sn]=wn,Ot=(Kt,sn)=>{for(var wn in sn||(sn={}))ze.call(sn,wn)&&nt(Kt,wn,sn[wn]);if(gt)for(var wn of gt(sn))ct.call(sn,wn)&&nt(Kt,wn,sn[wn]);return Kt},Rt=(Kt,sn)=>Re(Kt,Be(sn)),an=(Kt,sn,wn)=>new Promise((vn,cn)=>{var Nn=Ge=>{try{En(wn.next(Ge))}catch(ve){cn(ve)}},dr=Ge=>{try{En(wn.throw(Ge))}catch(ve){cn(ve)}},En=Ge=>Ge.done?vn(Ge.value):Promise.resolve(Ge.value).then(Nn,dr);En((wn=wn.apply(Kt,sn)).next())});function ht(Kt,sn){const wn=[];for(let vn=Kt;vn<sn;vn++)wn.push(vn);return wn}const Ne=(Kt,sn,wn)=>{const vn=Kt<Ue()().startOf("day"),cn=Kt>Ue()(sn).endOf("day"),Nn=Kt<Ue()(wn).startOf("day");return sn?wn?Ue()()<=Ue()(wn)?Nn||cn:vn||cn:Kt&&vn||cn:wn&&Ue()()<=Ue()(wn)?Nn:vn},At=(Kt,sn)=>{const wn=parseInt(Ue()(Kt).format("HH")),vn=parseInt(Ue()().format("HH")),cn=parseInt(Ue()().format("mm"));if(!Kt)return{disabledHours:()=>ht(0,vn),disabledMinutes:()=>ht(0,cn)};if(sn){const Nn=parseInt(Ue()(sn).format("HH")),dr=parseInt(Ue()(sn).format("mm"));return Ue()(Kt).isSame(Ue()(sn),"day")?{disabledHours:()=>ht(0,Nn),disabledMinutes:()=>wn<=Nn?ht(0,dr):[]}:void 0}if(Ue()(Kt).isSame(Ue()(),"day"))return{disabledHours:()=>ht(0,vn),disabledMinutes:()=>Ue()(Kt).isSame(Ue()(),"hour")&&wn<=vn?ht(0,cn):[]}},{RangePicker:An}=fe.default,{Option:jt}=De.default,Mt=({shixunHomeworks:Kt,loading:sn,dispatch:wn,classroomList:vn,user:cn})=>{var Nn,dr,En,Ge,ve,he,be,ge,se;const Ye=(0,$e.useParams)(),{workSetting:xt,workList:pn,shixunWorkList:on,headerInfo:In,changeData:Qn}=Kt,[_n,Vt]=(0,ne.useState)(!1),[gn,Fn]=(0,ne.useState)(!1);let[Tn,qt]=(0,ne.useState)([]),[Dr,Ut]=(0,ne.useState)([]),[nn,Nr]=(0,ne.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:ut.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[cr,Fr]=(0,ne.useState)({}),[aa,Jn]=(0,ne.useState)({});(0,ne.useEffect)(()=>()=>{qt([])},[]),(0,ne.useEffect)(()=>{Vt(!(0,mt.GJ)())},[(0,mt.GJ)()]);const Ia=()=>{wn({type:"shixunHomeworks/getWorkSetting",payload:Ot({},Ye)})};(0,ne.useEffect)(()=>{if(!(xt!=null&&xt.course_id))return;Object.keys(nn).map(function(rr){nn[rr]=xt[rr]}),(!nn.allow_late||!nn.unified_late)&&(nn.late_penalty=20,nn.penalty_type=ut.Q.Percent),nn.unified_setting||(nn.unified_late=!1,nn.unified_anonymous_comment=!1,nn.unified_anonymous_appeal=!1),Tn=JSON.parse(JSON.stringify(xt.group_settings.map(rr=>Rt(Ot({},rr),{group_name:[rr.group_name]})).filter(rr=>rr.publish_time!==null))),Dr=JSON.parse(JSON.stringify(xt.allow_late_settings.map(rr=>Rt(Ot({},rr),{group_name:[rr.group_name]})).filter(rr=>rr.late_time!==null))),Nr(Ot({},nn));const Pn=(0,wt.QE)((Tn==null?void 0:Tn.length)>0?Tn:[]);qt([...Pn]),(Dr==null?void 0:Dr.length)<=0?Ut([{penalty_type:ut.Q.Percent,late_penalty:20}]):Ut([...Dr])},[xt]);const Ta=()=>an(void 0,null,function*(){var Pn,rr;if(((Pn=cn==null?void 0:cn.userInfo)==null?void 0:Pn.user_status)===2){(0,ye.Rd)();return}const or=JSON.parse(JSON.stringify(nn));if(or.challenge_settings.filter(Br=>!Br.hide),or.categoryId=Ye.categoryId,(rr=or.challenge_settings)!=null&&rr.every(Br=>!Br.checked)){qe.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(Tn),!nn.unified_setting)Tn=Tn==null?void 0:Tn.map(Br=>{var jr;if(!Br.publish_time||!Br.end_time)throw qe.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(!Br.group_name)throw qe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Br.group_name=typeof(Br==null?void 0:Br.group_name)=="string"?[Br==null?void 0:Br.group_name]:Br==null?void 0:Br.group_name,Br.group_id=(jr=xt.group_settings)==null?void 0:jr.filter(hn=>{var It;return(It=Br==null?void 0:Br.group_name)==null?void 0:It.includes(hn.group_name)}).map(hn=>hn.group_id||hn.id).toString().split(","),Br});else if(!nn.publish_time||!nn.end_time)throw qe.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(or.group_settings=Tn,nn.allow_late)if(nn.unified_late){if(nn.late_penalty===null||nn.late_penalty===void 0||nn.late_penalty<0||nn.late_penalty>100)throw qe.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(!nn.late_time)throw qe.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 Dr=Dr==null?void 0:Dr.map(Br=>{var jr,hn;if(Br.late_penalty===null||Br.late_penalty===void 0||Br.late_penalty<0||Br.late_penalty>100)throw qe.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(!Br.late_time)throw qe.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(!Br.group_name)throw qe.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Br.group_name=typeof(Br==null?void 0:Br.group_name)=="string"?[Br==null?void 0:Br.group_name]:Br==null?void 0:Br.group_name,Br.group_id=(hn=(jr=Br==null?void 0:Br.group_name)==null?void 0:jr.map(It=>{var Zt,Gt;let Gn=(Gt=(Zt=xt.group_settings)==null?void 0:Zt.filter(kt=>(kt==null?void 0:kt.group_name)===It))==null?void 0:Gt[0];return Gn==null?void 0:Gn.group_id}))==null?void 0:hn.toString().split(","),Br}),or.allow_late_settings=Dr;let $r=yield(0,et.Tr)({homework_common_ids:[parseInt(Ye.categoryId)],course_id:Ye.coursesId,type:"homework_common"});($r==null?void 0:$r.student_count)===0?ti(or):(Jn(or),Fr($r))}),ti=Pn=>{var rr;if(Pn.total_score===null){qe.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Pn!=null&&Pn.work_efficiency&&Pn.eff_score===null){qe.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const or=Pn.challenge_settings.reduce((jr,hn)=>jr+Number(hn.challenge_score),0);if((or==null?void 0:or.toFixed(10))!==((rr=Pn.total_score-Pn.eff_score)==null?void 0:rr.toFixed(10))){qe.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Pn.total_score}\u5206`);return}const $r={shixun_evaluation:Pn.shixun_evaluation,challenge_settings:Pn.challenge_settings};let Br=()=>{var jr;const hn=()=>an(void 0,null,function*(){Fn(!0),(yield(0,ot.ZP)(`/api/homework_commons/${Ye.categoryId}/publish_setting.json`,{method:"post",body:Ot({},Pn)})).status===0&&(qe.ZP.success("\u66F4\u65B0\u6210\u529F"),Ia(),wn({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Ot({},Ye)})),Fn(!1)});!(0,vt.isEqual)(Qn,$r)&&!((jr=In==null?void 0:In.homework_status)!=null&&jr.includes("\u672A\u53D1\u5E03"))?we.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:hn}):hn()};xt!=null&&xt.high_resources_consume&&!(xt!=null&&xt.high_resources_consume_permission)?wn({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Ye.coursesId,type:"shixun",type_id:Ye.categoryId,name:xt.homework_name,fn:()=>{Br()}}}):Br()},Jr=(Pn,rr,or="group_id")=>{var $r;return rr?rr.find(Br=>Br[or]===Pn):($r=xt==null?void 0:xt.group_settings)==null?void 0:$r.find(Br=>Br.group_id[0]===Pn)},ja=(xt==null?void 0:xt.allow_late)||(xt==null?void 0:xt.anonymous_comment),Si=Pn=>{var rr,or;const $r=Jr(Pn,xt==null?void 0:xt.allow_late_settings,"id"),Br=Jr(Pn,xt==null?void 0:xt.anonymous_comment_settings),jr=Jr(Pn);return(xt==null?void 0:xt.allow_late)&&$r&&Ue()($r==null?void 0:$r.late_time)<=Ue()()||(xt==null?void 0:xt.anonymous_comment)&&Br&&(Br==null?void 0:Br.evaluation_start)!==null||((or=(Ue()(jr==null?void 0:jr.end_time)<=Ue()()&&((rr=xt==null?void 0:xt.allow_late_settings)==null?void 0:rr.filter(hn=>hn.group_id.includes(Pn))))[0])==null?void 0:or.late_time)!=null},$a=(0,ne.useMemo)(()=>(xt==null?void 0:xt.allow_late)||(xt==null?void 0:xt.all_group_late),[xt,In]),ji=xt==null?void 0:xt.anonymous_comment,Ni=Pn=>{if(!Pn)return!1;const rr=Jr(Pn,xt==null?void 0:xt.anonymous_comment_settings);return(xt==null?void 0:xt.anonymous_comment)&&rr&&(rr==null?void 0:rr.evaluation_start)!==null},Ln=(Pn,rr)=>{var or,$r,Br;wn({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Pn,index:rr,rangePickerDisabled:_n||(Ue()()<=Ue()(($r=Jr((or=Pn==null?void 0:Pn.group_id)==null?void 0:or[0]))==null?void 0:$r.publish_time)?!1:[!0,Si((Br=Pn==null?void 0:Pn.group_id)==null?void 0:Br[0])]),disabledDate:xt==null?void 0:xt.course_end_date}})};return st.createElement("section",{className:Tt.Z.form},st.createElement("div",{className:Tt.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",st.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")),st.createElement("div",null,st.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},st.createElement(ke.ZP.Group,{disabled:_n||!((Nn=In==null?void 0:In.homework_status)!=null&&Nn.includes("\u672A\u53D1\u5E03"))||(0,mt.Rm)()&&!((dr=vn.AssistantObject.practice)!=null&&dr.can_publish),value:nn.unified_setting,onChange:Pn=>{var rr;if(!((rr=In==null?void 0:In.homework_status)!=null&&rr.includes("\u672A\u53D1\u5E03"))){qe.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(nn.unified_setting=!nn.unified_setting,nn.unified_setting||(nn.unified_late=!1,Ut([{late_penalty:5}])),Nr(Object.assign({},nn)),nn.unified_setting===!1&&Tn==""){qt(Tn.concat({}));return}nn.unified_setting&&(qt([]),Ut([{late_penalty:5}]))}},st.createElement(ke.ZP,{value:!0,disabled:_n||!(xt!=null&&xt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),st.createElement(ke.ZP,{disabled:_n||!((En=xt==null?void 0:xt.group_settings)!=null&&En.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((Ge=xt==null?void 0:xt.group_settings)==null?void 0:Ge.length)===0&&st.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")),nn.unified_setting&&st.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},st.createElement(de.Z,{align:"middle"},st.createElement(Se.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),st.createElement(Se.Z,{className:"ml10"},st.createElement(fe.default,{size:"large",disabled:_n||!((ve=In==null?void 0:In.homework_status)!=null&&ve.includes("\u672A\u53D1\u5E03")||(he=In==null?void 0:In.homework_status)!=null&&he.includes("\u672A\u5F00\u59CB"))||(0,mt.Rm)()&&!((be=vn.AssistantObject.practice)!=null&&be.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:Pn=>Ne(Pn,xt==null?void 0:xt.course_end_date),disabledTime:Pn=>At(Pn),value:nn.publish_time?Ue()(nn.publish_time):"",onChange:(Pn,rr)=>{nn.publish_time=rr,(nn.end_time==""||!nn.end_time)&&nn.unified_setting&&(nn.end_time=Ue()(Pn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),Nr(Object.assign({},nn))}}))),st.createElement(de.Z,{align:"middle",className:"pl30"},st.createElement(Se.Z,null,"\u622A\u6B62\u65F6\u95F4"),st.createElement(Se.Z,{className:"ml10"},st.createElement(fe.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ue()((0,wt.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(xt==null?void 0:xt.allow_late)&&(xt==null?void 0:xt.homework_status.includes("\u5DF2\u622A\u6B62"))||_n||(xt==null?void 0:xt.allow_late)&&Ue()()>=Ue()(xt==null?void 0:xt.end_time)||(0,mt.Rm)()&&!((ge=vn.AssistantObject.practice)!=null&&ge.can_publish),disabledDate:Pn=>Ne(Pn,xt==null?void 0:xt.course_end_date,nn.publish_time),disabledTime:Pn=>At(Pn,nn.publish_time),value:nn.end_time?Ue()(nn.end_time):"",onChange:(Pn,rr)=>{nn.end_time=rr,Nr(Object.assign({},nn))}})))),!nn.unified_setting&&(Tn==null?void 0:Tn.length)>0&&st.createElement(de.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Tn&&Tn.map(function(Pn,rr){var or,$r,Br,jr,hn,It,Zt;return st.createElement(Se.Z,{span:24,key:rr},st.createElement(de.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:rr==(Tn==null?void 0:Tn.length)-1?"0px":"10px"}},st.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",rr+1),st.createElement(De.default,{disabled:_n||((or=In==null?void 0:In.homework_status)!=null&&or.includes("\u672A\u53D1\u5E03")&&Pn.id||Ue()()<Ue()(Pn==null?void 0:Pn.publish_time)?!1:!!(Pn!=null&&Pn.publish_time))||(0,mt.Rm)()&&!(($r=vn.AssistantObject.practice)!=null&&$r.can_publish),mode:"multiple",className:Tt.Z.multiple_select,style:{width:"250px"},value:Pn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Gt=>{var Gn;if((0,mt.Rm)()&&!((Gn=vn.AssistantObject.practice)!=null&&Gn.can_publish)){qe.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}Tn[rr].group_name=Gt,Tn[rr].group_id=Pn.group_id;const kt=(0,vt.flattenDeep)(Tn.map(Zn=>Zn.group_name)),mn=Dr.map(Zn=>{let Mn=(Zn==null?void 0:Zn.group_name)||[];return Rt(Ot({},Zn),{group_name:(0,vt.remove)(Mn,ar=>kt.includes(ar))})});Ut(mn),qt(Tn.slice())},maxTagCount:4,maxTagPlaceholder:Gt=>st.createElement("div",{style:{cursor:"pointer"},onClick:()=>Ln(Pn,rr)},"+",Gt==null?void 0:Gt.length)},xt.group_settings&&xt.group_settings.map(function(Gt){if(!Tn.map(kt=>kt.group_name).flat().includes(Gt.group_name))return st.createElement(jt,{value:Gt.group_name,key:Gt.id},Gt.group_name)})),st.createElement("div",{className:"ml20"},st.createElement(An,{size:"large",ranges:{\u6B64\u523B:[Pn.publish_time?Ue()(Pn.publish_time):Ue()(),Ue()()]},allowClear:!1,disabled:_n||(Ue()()<=Ue()((jr=Jr((Br=Pn==null?void 0:Pn.group_id)==null?void 0:Br[0]))==null?void 0:jr.publish_time)?!1:[!0,Si((hn=Pn==null?void 0:Pn.group_id)==null?void 0:hn[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:Gt=>Ne(Gt,xt==null?void 0:xt.course_end_date),disabledTime:Gt=>At(Gt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ue()((0,wt.U6)(),"HH:mm"),Ue()((0,wt.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Pn.publish_time&&[Ue()(Pn.publish_time),Pn.end_time?Ue()(Pn.end_time):void 0],onChange:(Gt,Gn)=>{var kt;if((0,mt.Rm)()&&!((kt=vn.AssistantObject.practice)!=null&&kt.can_publish)){qe.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}Tn[rr].publish_time=Gn[0],!Pn.end_time&&Gn[0]?Tn[rr].end_time=Ue()(Gn[0]).add(7,"days"):Tn[rr].end_time=Gn[1],qt([...Tn])},onCalendarChange:(Gt,Gn,kt)=>{if(Gn!=null&&Gn[0]&&!Gn[1]){const mn=Ue()(Gn[0]).add(7,"days");Tn[rr].publish_time=Gn[0],Tn[rr].end_time=mn,qt([...Tn])}}})),!_n&&st.createElement("div",{style:{display:"flex",width:"50px"}},((It=Pn==null?void 0:Pn.group_id)==null?void 0:It.length)>1&&st.createElement(me.Z,{title:"\u89C4\u5219\u62C6\u5206"},st.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Ln(Pn,rr)})),Tn.length<((Zt=xt==null?void 0:xt.group_settings)==null?void 0:Zt.length)&&st.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Gt;if((0,mt.Rm)()&&!((Gt=vn.AssistantObject.practice)!=null&&Gt.can_publish)){qe.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}qt(Tn.concat({}))}}),((Pn==null?void 0:Pn.publish_time)&&Ue()()<Ue()(Pn==null?void 0:Pn.publish_time)||!(Pn!=null&&Pn.publish_time))&&rr!=0&&st.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Gt=(0,vt.cloneDeep)(Dr);Gt.forEach((Gn,kt)=>{Gn.group_name&&(Gn.group_name=Gn.group_name.filter(mn=>{var Zn;return!((Zn=Tn[rr].group_name)!=null&&Zn.includes(mn))}))}),Tn=Tn.filter((Gn,kt)=>rr!==kt),Ut(Gt),qt(Tn.slice()),setTimeout(()=>qt(Tn.slice()),10)}}))))}))),st.createElement(de.Z,null,st.createElement(Se.Z,null,st.createElement("div",{className:Tt.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",st.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"))),st.createElement(Se.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},st.createElement(Pe.default,{checked:nn.allow_late,disabled:_n||$a,onChange:Pn=>{var rr;if((0,mt.Rm)()&&!((rr=vn.AssistantObject.practice)!=null&&rr.can_late)){qe.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}Pn.target.checked&&we.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:st.createElement("div",{style:{padding:10,background:"#f5f6f9"}},st.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"),st.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),st.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"))}),nn.allow_late=!nn.allow_late,Dr==""&&Ut([{late_penalty:5}]),Nr(Object.assign({},nn))}},st.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(nn==null?void 0:nn.allow_late)&&st.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},st.createElement("div",{style:{display:"flex"}},st.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),st.createElement(ke.ZP.Group,{style:{marginLeft:"20px"},disabled:_n||(xt==null?void 0:xt.anonymous_comment)||(xt==null?void 0:xt.allow_late),value:nn.unified_late,onChange:Pn=>{var rr;if((0,mt.Rm)()&&!((rr=vn.AssistantObject.practice)!=null&&rr.can_late)){qe.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}nn.unified_late=Pn.target.value,Dr==""&&!Pn.target.value&&Ut([{penalty_type:ut.Q.Percent,late_penalty:20}]),Nr(Ot({},nn))}},(nn==null?void 0:nn.unified_setting)&&st.createElement(ke.ZP,{value:!0,disabled:!(xt!=null&&xt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((se=xt==null?void 0:xt.group_settings)==null?void 0:se.length)>0&&st.createElement(ke.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),nn!=null&&nn.unified_late?st.createElement(st.Fragment,null,st.createElement(de.Z,{align:"middle",style:{marginTop:"10px"}},st.createElement(Se.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),st.createElement(Se.Z,{className:"ml20"},st.createElement(ut.Z,{disabled:_n||ji,value:{type:nn.penalty_type,inputValue:nn.late_penalty},onChange:Pn=>{var rr;if((0,mt.Rm)()&&!((rr=vn.AssistantObject.practice)!=null&&rr.can_late)){qe.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}Nr(Rt(Ot({},nn),{late_penalty:Pn.inputValue,penalty_type:Pn.type}))}})),st.createElement(Se.Z,{flex:"1",className:"ml5"},st.createElement("span",{className:"c-grey-c ml10"},nn.penalty_type===ut.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)"))),st.createElement(de.Z,{align:"middle",style:{marginTop:"15px"}},st.createElement(Se.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),st.createElement(Se.Z,{className:"ml20"},st.createElement(fe.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ue()((0,wt.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:_n||ji,value:nn.late_time?Ue()(nn.late_time):"",disabledDate:Pn=>Ne(Pn,xt==null?void 0:xt.course_end_date),onChange:(Pn,rr)=>{var or;if((0,mt.Rm)()&&!((or=vn.AssistantObject.practice)!=null&&or.can_late)){qe.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}nn.late_time=rr,Nr(Object.assign({},nn))}})))):Dr.map(function(Pn,rr){var or;return st.createElement(Se.Z,{span:24,key:rr},st.createElement(de.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},st.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",rr+1),st.createElement(De.default,{disabled:_n||!((or=In==null?void 0:In.homework_status)!=null&&or.includes("\u672A\u53D1\u5E03"))&&Pn.id||(xt==null?void 0:xt.anonymous_comment),mode:"multiple",className:Tt.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Pn.group_name=="string"?[Pn.group_name]:Pn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:$r=>{var Br;if((0,mt.Rm)()&&!((Br=vn.AssistantObject.practice)!=null&&Br.can_late)){qe.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}Dr[rr].group_name=$r,Dr[rr].group_id=Pn.group_id,Ut(Dr.slice())}},xt.group_settings&&xt.group_settings.map(function($r){const Br=Dr.map(hn=>hn.group_name).flat(),jr=Tn.map(hn=>hn.group_name).flat();if(nn!=null&&nn.unified_setting){if(!Br.includes($r.group_name))return st.createElement(jt,{value:$r.group_name,key:$r.id},$r.group_name)}else if(jr.includes($r.group_name)&&!Br.includes($r.group_name))return st.createElement(jt,{value:$r.group_name,key:$r.id},$r.group_name)})),st.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),st.createElement(ut.Z,{disabled:_n||Ni(Pn.id),value:{type:Pn.penalty_type,inputValue:Pn.late_penalty},onChange:$r=>{var Br;if((0,mt.Rm)()&&!((Br=vn.AssistantObject.practice)!=null&&Br.can_late)){qe.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}Dr[rr].late_penalty=$r.inputValue,Dr[rr].penalty_type=$r.type,Ut([...Dr])}}),st.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),st.createElement(fe.default,{size:"large",disabled:_n||Ni(Pn.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:Ue()((0,wt.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:$r=>Ne($r,xt==null?void 0:xt.course_end_date),format:"YYYY-MM-DD HH:mm",value:Pn!=null&&Pn.late_time?Ue()(Pn.late_time):void 0,onChange:($r,Br)=>{var jr;if((0,mt.Rm)()&&!((jr=vn.AssistantObject.practice)!=null&&jr.can_late)){qe.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}Dr[rr].late_time=Br,Ut([...Dr])}}),!_n&&st.createElement("div",{style:{display:"flex",width:"50px"}},st.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var $r;if((0,mt.Rm)()&&!(($r=vn.AssistantObject.practice)!=null&&$r.can_late)){qe.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}Ut(Dr.concat({penalty_type:ut.Q.Percent,late_penalty:20}))}}),rr>0&&!Pn.id&&st.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var $r;if((0,mt.Rm)()&&!(($r=vn.AssistantObject.practice)!=null&&$r.can_late)){qe.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}Dr=Dr.filter((Br,jr)=>rr!==jr),Ut(Dr.slice()),setTimeout(()=>Ut(Dr.slice()),10)}}))))})),!_n&&st.createElement(st.Fragment,null,st.createElement(rt.ZP,{type:"primary",size:"large",loading:gn,style:{width:"138px",marginTop:"30px"},onClick:()=>Ta()},"\u4FDD\u5B58")),st.createElement(ce.Z,{onConfirm:(Pn,rr)=>{Tn.splice(Pn,0,...rr),Tn.splice(Pn+rr.length,1);const or=(0,wt.QE)([...Tn]);qt([...or])}}),st.createElement(Xe.Z,{resdata:cr,type:"shixun",okloading:gn,oktext:(cr==null?void 0:cr.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Pn=>an(void 0,null,function*(){Fn(!0);let rr=yield(0,ot.ZP)(`/api/courses/${Ye.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(Ye.categoryId)]}});Fn(!1),(rr==null?void 0:rr.status)===0&&ti(aa)})}))};ln.ZP=(0,$e.connect)(({shixunHomeworks:Kt,classroomList:sn,loading:wn,user:vn})=>({shixunHomeworks:Kt,classroomList:sn,loading:wn.effects,user:vn}))(Mt)},12317:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return Pe}});var ne=ee(67294),fe=ee(69677),De=ee(84567),qe=ee(71230),we={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",de=ee(26194),Se=(rt,ue,Ue)=>new Promise((mt,ot)=>{var vt=Tt=>{try{wt(Ue.next(Tt))}catch($e){ot($e)}},Ee=Tt=>{try{wt(Ue.throw(Tt))}catch($e){ot($e)}},wt=Tt=>Tt.done?mt(Tt.value):Promise.resolve(Tt.value).then(vt,Ee);wt((Ue=Ue.apply(rt,ue)).next())}),Pe=({data:rt,value:ue=[],handleChangePage:Ue,setSelectedRowKeys:mt,selectedRowKeys:ot,onChange:vt=()=>{}})=>{const[Ee,wt]=(0,ne.useState)([]),[Tt,$e]=(0,ne.useState)([]),[ut,ye]=(0,ne.useState)([]);let[ce,Xe]=(0,ne.useState)(1),[et,st]=(0,ne.useState)();return(0,ne.useEffect)(()=>{wt(rt),$e([]),ye([])},[rt]),(0,ne.useEffect)(()=>{mt&&($e(ot),ye(ot))},[ot]),ne.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},ne.createElement("div",{className:we.leftdiv},ne.createElement(fe.default.Search,{size:"middle",onChange:ft=>Se(void 0,null,function*(){wt(rt.filter(Re=>{var Be;return(Be=Re==null?void 0:Re.name)==null?void 0:Be.includes(ft.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Ee.length===0&&ne.createElement(de.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),ne.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},ne.createElement(De.default.Group,{value:Tt.map(ft=>`${ft.id}`),onChange:ft=>{mt(Ee.filter(Re=>ft.includes(`${Re.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},Ee.map((ft,Re)=>ne.createElement(qe.Z,{key:ft.id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},ne.createElement(De.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:ft.is_published,value:`${ft.id}`},ne.createElement("div",{className:we.listClass},ne.createElement("span",{className:we.spantitle,style:{width:ft.is_published?"108px":"170px"}},ft.name),ft.is_published&&ne.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),ne.createElement("div",{className:we.rightdiv},ne.createElement(fe.default.Search,{onChange:ft=>{ye(Tt.filter(Re=>Re.name.includes(ft.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ut.length===0&&ne.createElement(de.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),ut.length>0&&ne.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},ne.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},ut.map((ft,Re)=>ne.createElement(qe.Z,{justify:"space-between",style:{marginTop:"10px"},key:ft.id},ne.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},ft.name),ne.createElement("img",{src:ke,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{mt(Tt.filter(Be=>`${Be.id}`!=`${ft.id}`))}})))))))}},92882:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return vt}});var ne=ee(67294),fe=ee(35973),De=ee(34336),qe=ee(14446),we=ee(69677),ke=ee(71230),de=ee(15746),Se={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},me=ee(27484),Pe=ee.n(me),rt=ee(28706),ue=ee(26194),Ue=ee(67294);const{RangePicker:mt}=De.default,ot=({dispatch:Ee,classroomList:wt,onConfirm:Tt})=>{const[$e,ut]=(0,ne.useState)([]),[ye,ce]=(0,ne.useState)([]),[Xe,et]=(0,ne.useState)("");(0,ne.useEffect)(()=>{var Re;if(wt.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let Be=wt.actionTabs.data;console.log("data",Be);let gt=(Re=Be==null?void 0:Be.group_name)==null?void 0:Re.map((ze,ct)=>{var nt;return{group_id:Be==null?void 0:Be.group_id[ct],group_name:Be==null?void 0:Be.group_name[ct],is_admin:Be==null?void 0:Be.is_admin,end_time:Be==null?void 0:Be.end_time,publish_time:Array.isArray(Be==null?void 0:Be.publish_time)?(nt=Be==null?void 0:Be.publish_time)==null?void 0:nt[0]:Be==null?void 0:Be.publish_time}});gt&&(ut([...gt]),ce([...gt]))}},[wt.actionTabs]);const st=()=>{Ee({type:"classroomList/setActionTabs",payload:{}}),et("")},ft=Re=>{if(Re){const Be=ye==null?void 0:ye.filter(gt=>{var ze,ct;return(ct=(ze=gt==null?void 0:gt.group_name)==null?void 0:ze.toLowerCase())==null?void 0:ct.includes(Re==null?void 0:Re.toLowerCase())});ut(Be)}else ut(ye)};return Ue.createElement(qe.default,{width:980,title:Ue.createElement("div",{style:{fontWeight:"bold",display:"flex"}},Ue.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",Ue.createElement("span",{className:Se.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")),Ue.createElement(we.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:Xe,onChange:Re=>{et(Re.target.value.trim()),ft(Re.target.value.trim())}})),centered:!0,maskClosable:!1,open:wt.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>st(),onOk:()=>{var Re;Tt((Re=wt.actionTabs)==null?void 0:Re.index,ye),st()}},Ue.createElement("div",{className:Se.modal_con},Ue.createElement(ke.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},($e==null?void 0:$e.length)>0?$e.map(function(Re,Be){var gt,ze;return Ue.createElement(de.Z,{span:24,key:Be},Ue.createElement(ke.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Be==($e==null?void 0:$e.length)-1?"0px":"10px"}},Ue.createElement("div",{className:Se.multiple_select,title:Re.group_name},Re.group_name),Ue.createElement("div",{className:"ml20"},Ue.createElement(mt,{size:"large",ranges:{\u6B64\u523B:[Re.publish_time?Pe()(Re.publish_time):Pe()(),Pe()()]},allowClear:!1,disabled:(gt=wt.actionTabs)==null?void 0:gt.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:ct=>{var nt;return(0,rt.Q8)(ct,(nt=wt.actionTabs)==null?void 0:nt.disabledDate)},disabledTime:ct=>(0,rt.d0)(ct),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Pe()((0,rt.U6)(),"HH:mm"),Pe()((0,rt.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Re.publish_time&&[Pe()(Re.publish_time),Re.end_time?Pe()(Re.end_time):void 0],onChange:(ct,nt)=>{$e[Be].publish_time=nt[0],$e[Be].end_time=nt[1],ut([...$e]),ye.forEach(Ot=>{Ot.group_id===Re.group_id&&(Ot.publish_time=nt[0],Ot.end_time=nt[1])}),ce([...ye])}})),(ze=wt.actionTabs)!=null&&ze.rangePickerDisabled?Ue.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):Ue.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{$e.splice(Be,1),ut([...$e]),ye.forEach((ct,nt)=>{ct.group_id===Re.group_id&&ye.splice(nt,1)}),ce([...ye])}})))}):Ue.createElement(ue.Z,null))))};var vt=(0,fe.connect)(({classroomList:Ee})=>({classroomList:Ee}))(ot)},78207:function(Hn,ln,ee){"use strict";ee.d(ln,{rX:function(){return ut},pW:function(){return ye},gy:function(){return ce},xY:function(){return $e},O5:function(){return Tt},tJ:function(){return mt},o1:function(){return ot},Rd:function(){return wt}});var ne=ee(35973),fe=ee(14446),De=ee(96074),qe=ee(2453),we=ee(52262),ke=ee(28706),de=ee(55304),Se=ee(25510),me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqO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WdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",Pe=ee.p+"static/newqrcode.a8740efb.png",rt=ee(32637),ue=ee(67294),Ue=(Xe,et,st)=>new Promise((ft,Re)=>{var Be=ct=>{try{ze(st.next(ct))}catch(nt){Re(nt)}},gt=ct=>{try{ze(st.throw(ct))}catch(nt){Re(nt)}},ze=ct=>ct.done?ft(ct.value):Promise.resolve(ct.value).then(Be,gt);ze((st=st.apply(Xe,et)).next())});const mt=(Xe,et=!1)=>!!(ot(Xe)&&vt(et)),ot=Xe=>(0,we.bg)()?!0:(Xe({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),vt=(Xe=!1)=>{var et;const{user:st}=(0,ne.getDvaApp)()._store.getState();return(et=st.userInfo)!=null&&et.profile_completed?!0:(fe.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,ke.xg)("/account/profile/edit"),Ee()}}),!1)},Ee=()=>{fe.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()}})},wt=()=>{fe.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:ue.createElement("div",{style:{textAlign:"center"}},ue.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"),ue.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:rt}),ue.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Tt=()=>{var Xe;const{user:et}=(0,ne.getDvaApp)()._store.getState();return(Xe=et.userInfo)!=null&&Xe.professional_certification?!0:(fe.default.confirm({title:"\u63D0\u793A",centered:!0,content:ue.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,ke.xg)("/account/certification")}}),!1)},$e=()=>(0,we.V9)()?!0:(fe.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:ue.createElement("div",{className:"tc",style:{marginLeft:-38}},ue.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),ue.createElement("img",{src:Pe,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ut=(Xe,et)=>Xe?!0:(fe.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:ue.createElement("div",null,ue.createElement("p",null,et||"\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"),ue.createElement("div",{style:{marginLeft:"110px"}},ue.createElement("img",{src:me,width:200}),ue.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ke.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),ye=Xe=>{fe.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:ue.createElement("div",null,ue.createElement("div",null,ue.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"),ue.createElement(De.Z,null),ue.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ue.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 ",ue.createElement("a",null,Xe),"\u5929\u3002"),ue.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ue.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")),ue.createElement("div",{style:{textAlign:"center",marginTop:30}},ue.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Se,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ce=(Xe,et="")=>{const{shixunsDetail:{detail:st}}=(0,ne.getDvaApp)()._store.getState();if((st==null?void 0:st.public)===2||(st==null?void 0:st.public)===1||(st==null?void 0:st.shixun_status)===3){let ft="";return(st==null?void 0:st.public)===2&&(ft="\u5DF2\u516C\u5F00"),(st==null?void 0:st.public)===1&&(ft="\u5F85\u5BA1\u6838"),(st==null?void 0:st.shixun_status)===3&&(ft="\u5DF2\u5173\u95ED"),fe.default.info({centered:!0,icon:ue.createElement(de.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:ue.createElement("div",{className:"tc",style:{marginLeft:-38}},ue.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},ue.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",ft,"\uFF0C",et,"\u3002"),ue.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),ue.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Se,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(st==null?void 0:st.shixun_status)===2?(fe.default.confirm({centered:!0,icon:ue.createElement(de.Z,null),title:"\u63D0\u793A",content:ue.createElement("div",null,ue.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",et,"\u3002"),ue.createElement("br",null),ue.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:()=>{fe.default.confirm({width:440,centered:!0,icon:ue.createElement(de.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:()=>Ue(void 0,null,function*(){(yield Xe({type:"shixunsDetail/cancelRelease",payload:{id:st==null?void 0:st.identifier}})).status!==401&&(qe.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),Xe({type:"shixunsDetail/getShixunsDetail",payload:{id:st==null?void 0:st.identifier}}),Xe({type:"practiceSetting/getCommonData",payload:{id:st==null?void 0:st.identifier}}))})})}}),!0):!1}},38780:function(Hn,ln){"use strict";function ee(){const ne=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let fe=1;fe<arguments.length;fe++){const De=fe<0||arguments.length<=fe?void 0:arguments[fe];De&&Object.keys(De).forEach(qe=>{const we=De[qe];we!==void 0&&(ne[qe]=we)})}return ne}ln.Z=ee},66367:function(Hn,ln,ee){"use strict";ee.d(ln,{F:function(){return ne},Z:function(){return fe}});function ne(De){return De!=null&&De===De.window}function fe(De,qe){var we,ke;if(typeof window=="undefined")return 0;const de=qe?"scrollTop":"scrollLeft";let Se=0;return ne(De)?Se=De[qe?"pageYOffset":"pageXOffset"]:De instanceof Document?Se=De.documentElement[de]:(De instanceof HTMLElement||De)&&(Se=De[de]),De&&!ne(De)&&typeof Se!="number"&&(Se=(ke=((we=De.ownerDocument)!==null&&we!==void 0?we:De).documentElement)===null||ke===void 0?void 0:ke[de]),Se}},57838:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return fe}});var ne=ee(67294);function fe(){const[,De]=ne.useReducer(qe=>qe+1,0);return De}},58375:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return qe}});var ne=ee(96523);function fe(we,ke,de,Se){const me=de-ke;return we/=Se/2,we<1?me/2*we*we*we+ke:me/2*((we-=2)*we*we+2)+ke}var De=ee(66367);function qe(we){let ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:de=()=>window,callback:Se,duration:me=450}=ke,Pe=de(),rt=(0,De.Z)(Pe,!0),ue=Date.now(),Ue=()=>{const ot=Date.now()-ue,vt=fe(ot>me?me:ot,rt,we,me);(0,De.F)(Pe)?Pe.scrollTo(window.pageXOffset,vt):Pe instanceof Document||Pe.constructor.name==="HTMLDocument"?Pe.documentElement.scrollTop=vt:Pe.scrollTop=vt,ot<me?(0,ne.Z)(Ue):typeof Se=="function"&&Se()};(0,ne.Z)(Ue)}},9708:function(Hn,ln,ee){"use strict";ee.d(ln,{F:function(){return we},Z:function(){return qe}});var ne=ee(94184),fe=ee.n(ne);const De=null;function qe(ke,de,Se){return fe()({[`${ke}-status-success`]:de==="success",[`${ke}-status-warning`]:de==="warning",[`${ke}-status-error`]:de==="error",[`${ke}-status-validating`]:de==="validating",[`${ke}-has-feedback`]:Se})}const we=(ke,de)=>de||ke},85546:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return it}});var ne=ee(74902),fe=ee(67294),De=ee(22751),qe=ee(3407),we=ee(91034),ke=ee(94184),de=ee.n(ke),Se=ee(87462),me=ee(97685),Pe=ee(45987),rt=ee(4942),ue=ee(1413),Ue=ee(71002);function mt(Ce){var Ie=fe.useRef();Ie.current=Ce;var St=fe.useCallback(function(){for(var bt,en=arguments.length,_t=new Array(en),Wt=0;Wt<en;Wt++)_t[Wt]=arguments[Wt];return(bt=Ie.current)===null||bt===void 0?void 0:bt.call.apply(bt,[Ie].concat(_t))},[]);return St}function ot(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var vt=ot()?fe.useLayoutEffect:fe.useEffect,Ee=vt,wt=function(Ie,St){var bt=fe.useRef(!0);vt(function(){if(!bt.current)return Ie()},St),vt(function(){return bt.current=!1,function(){bt.current=!0}},[])};function Tt(Ce){var Ie=fe.useRef(!1),St=fe.useState(Ce),bt=(0,me.Z)(St,2),en=bt[0],_t=bt[1];fe.useEffect(function(){return Ie.current=!1,function(){Ie.current=!0}},[]);function Wt(Wn,bn){bn&&Ie.current||_t(Wn)}return[en,Wt]}function $e(Ce){return Ce!==void 0}function ut(Ce,Ie){var St=Ie||{},bt=St.defaultValue,en=St.value,_t=St.onChange,Wt=St.postState,Wn=Tt(function(){return $e(en)?en:$e(bt)?typeof bt=="function"?bt():bt:typeof Ce=="function"?Ce():Ce}),bn=(0,me.Z)(Wn,2),On=bn[0],Mr=bn[1],vr=en!==void 0?en:On,ir=Wt?Wt(vr):vr,ur=mt(_t),Pr=Tt([vr]),Wr=(0,me.Z)(Pr,2),na=Wr[0],Ma=Wr[1];wt(function(){var yt=na[0];On!==yt&&ur(On,yt)},[na]),wt(function(){$e(en)||Mr(en)},[en]);var _e=mt(function(yt,Ht){Mr(yt,Ht),Ma([vr],Ht)});return[ir,_e]}var ye={};function ce(Ce,Ie){}function Xe(Ce,Ie){}function et(){ye={}}function st(Ce,Ie,St){!Ie&&!ye[St]&&(Ce(!1,St),ye[St]=!0)}function ft(Ce,Ie){st(ce,Ce,Ie)}function Re(Ce,Ie){st(Xe,Ce,Ie)}var Be=ft,gt=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Ce=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Ce)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Ce==null?void 0:Ce.substr(0,4))},ze={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Ie){var St=Ie.keyCode;if(Ie.altKey&&!Ie.ctrlKey||Ie.metaKey||St>=ze.F1&&St<=ze.F12)return!1;switch(St){case ze.ALT:case ze.CAPS_LOCK:case ze.CONTEXT_MENU:case ze.CTRL:case ze.DOWN:case ze.END:case ze.ESC:case ze.HOME:case ze.INSERT:case ze.LEFT:case ze.MAC_FF_META:case ze.META:case ze.NUMLOCK:case ze.NUM_CENTER:case ze.PAGE_DOWN:case ze.PAGE_UP:case ze.PAUSE:case ze.PRINT_SCREEN:case ze.RIGHT:case ze.SHIFT:case ze.UP:case ze.WIN_KEY:case ze.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Ie){if(Ie>=ze.ZERO&&Ie<=ze.NINE||Ie>=ze.NUM_ZERO&&Ie<=ze.NUM_MULTIPLY||Ie>=ze.A&&Ie<=ze.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ie===0)return!0;switch(Ie){case ze.SPACE:case ze.QUESTION_MARK:case ze.NUM_PLUS:case ze.NUM_MINUS:case ze.NUM_PERIOD:case ze.NUM_DIVISION:case ze.SEMICOLON:case ze.DASH:case ze.EQUALS:case ze.COMMA:case ze.PERIOD:case ze.SLASH:case ze.APOSTROPHE:case ze.SINGLE_QUOTE:case ze.OPEN_SQUARE_BRACKET:case ze.BACKSLASH:case ze.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ct=ze,nt=ee(16357);function Ot(Ce,Ie,St){var bt=fe.useRef({});return(!("value"in bt.current)||St(bt.current.condition,Ie))&&(bt.current.value=Ce(),bt.current.condition=Ie),bt.current.value}function Rt(Ce,Ie){typeof Ce=="function"?Ce(Ie):(0,Ue.Z)(Ce)==="object"&&Ce&&"current"in Ce&&(Ce.current=Ie)}function an(){for(var Ce=arguments.length,Ie=new Array(Ce),St=0;St<Ce;St++)Ie[St]=arguments[St];var bt=Ie.filter(function(en){return en});return bt.length<=1?bt[0]:function(en){Ie.forEach(function(_t){Rt(_t,en)})}}function ht(){for(var Ce=arguments.length,Ie=new Array(Ce),St=0;St<Ce;St++)Ie[St]=arguments[St];return Ot(function(){return an.apply(void 0,Ie)},Ie,function(bt,en){return bt.length===en.length&&bt.every(function(_t,Wt){return _t===en[Wt]})})}function Ne(Ce){var Ie,St,bt=isMemo(Ce)?Ce.type.type:Ce.type;return!(typeof bt=="function"&&!((Ie=bt.prototype)!==null&&Ie!==void 0&&Ie.render)||typeof Ce=="function"&&!((St=Ce.prototype)!==null&&St!==void 0&&St.render))}var At=function(Ie){var St=Ie.className,bt=Ie.customizeIcon,en=Ie.customizeIconProps,_t=Ie.onMouseDown,Wt=Ie.onClick,Wn=Ie.children,bn;return typeof bt=="function"?bn=bt(en):bn=bt,fe.createElement("span",{className:St,onMouseDown:function(Mr){Mr.preventDefault(),_t&&_t(Mr)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Wt,"aria-hidden":!0},bn!==void 0?bn:fe.createElement("span",{className:de()(St.split(/\s+/).map(function(On){return"".concat(On,"-icon")}))},Wn))},An=At;function jt(Ce,Ie,St,bt,en){var _t=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Wt=arguments.length>6?arguments[6]:void 0,Wn=arguments.length>7?arguments[7]:void 0,bn=fe.useMemo(function(){if((0,Ue.Z)(bt)==="object")return bt.clearIcon;if(en)return en},[bt,en]),On=fe.useMemo(function(){return!!(!_t&&bt&&(St.length||Wt)&&!(Wn==="combobox"&&Wt===""))},[bt,_t,St.length,Wt,Wn]);return{allowClear:On,clearIcon:fe.createElement(An,{className:"".concat(Ce,"-clear"),onMouseDown:Ie,customizeIcon:bn},"\xD7")}}var Mt=fe.createContext(null);function Kt(){return fe.useContext(Mt)}function sn(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ie=fe.useState(!1),St=(0,me.Z)(Ie,2),bt=St[0],en=St[1],_t=fe.useRef(null),Wt=function(){window.clearTimeout(_t.current)};fe.useEffect(function(){return Wt},[]);var Wn=function(On,Mr){Wt(),_t.current=window.setTimeout(function(){en(On),Mr&&Mr()},Ce)};return[bt,Wn,Wt]}function wn(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ie=fe.useRef(null),St=fe.useRef(null);fe.useEffect(function(){return function(){window.clearTimeout(St.current)}},[]);function bt(en){(en||Ie.current===null)&&(Ie.current=en),window.clearTimeout(St.current),St.current=window.setTimeout(function(){Ie.current=null},Ce)}return[function(){return Ie.current},bt]}function vn(Ce,Ie,St,bt){var en=fe.useRef(null);en.current={open:Ie,triggerOpen:St,customizedTrigger:bt},fe.useEffect(function(){function _t(Wt){var Wn;if(!((Wn=en.current)!==null&&Wn!==void 0&&Wn.customizedTrigger)){var bn=Wt.target;bn.shadowRoot&&Wt.composed&&(bn=Wt.composedPath()[0]||bn),en.current.open&&Ce().filter(function(On){return On}).every(function(On){return!On.contains(bn)&&On!==bn})&&en.current.triggerOpen(!1)}}return window.addEventListener("mousedown",_t),function(){return window.removeEventListener("mousedown",_t)}},[])}var cn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,Nn=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,dr="".concat(cn," ").concat(Nn).split(/[\s\n]+/),En="aria-",Ge="data-";function ve(Ce,Ie){return Ce.indexOf(Ie)===0}function he(Ce){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,St;Ie===!1?St={aria:!0,data:!0,attr:!0}:Ie===!0?St={aria:!0}:St=(0,ue.Z)({},Ie);var bt={};return Object.keys(Ce).forEach(function(en){(St.aria&&(en==="role"||ve(en,En))||St.data&&ve(en,Ge)||St.attr&&dr.includes(en))&&(bt[en]=Ce[en])}),bt}var be=ee(48555);function ge(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var se=ge()?fe.useLayoutEffect:fe.useEffect,Ye=function(Ie,St){var bt=fe.useRef(!0);se(function(){return Ie(bt.current)},St),se(function(){return bt.current=!1,function(){bt.current=!0}},[])},xt=function(Ie,St){Ye(function(bt){if(!bt)return Ie()},St)},pn=Ye,on=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],In=void 0;function Qn(Ce,Ie){var St=Ce.prefixCls,bt=Ce.invalidate,en=Ce.item,_t=Ce.renderItem,Wt=Ce.responsive,Wn=Ce.responsiveDisabled,bn=Ce.registerSize,On=Ce.itemKey,Mr=Ce.className,vr=Ce.style,ir=Ce.children,ur=Ce.display,Pr=Ce.order,Wr=Ce.component,na=Wr===void 0?"div":Wr,Ma=(0,Pe.Z)(Ce,on),_e=Wt&&!ur;function yt(Rn){bn(On,Rn)}fe.useEffect(function(){return function(){yt(null)}},[]);var Ht=_t&&en!==In?_t(en):ir,je;bt||(je={opacity:_e?0:1,height:_e?0:In,overflowY:_e?"hidden":In,order:Wt?Pr:In,pointerEvents:_e?"none":In,position:_e?"absolute":In});var Yt={};_e&&(Yt["aria-hidden"]=!0);var fn=fe.createElement(na,(0,Se.Z)({className:de()(!bt&&St,Mr),style:(0,ue.Z)((0,ue.Z)({},je),vr)},Yt,Ma,{ref:Ie}),Ht);return Wt&&(fn=fe.createElement(be.Z,{onResize:function(Bt){var Qt=Bt.offsetWidth;yt(Qt)},disabled:Wn},fn)),fn}var _n=fe.forwardRef(Qn);_n.displayName="Item";var Vt=_n;function gn(Ce){var Ie=fe.useRef();Ie.current=Ce;var St=fe.useCallback(function(){for(var bt,en=arguments.length,_t=new Array(en),Wt=0;Wt<en;Wt++)_t[Wt]=arguments[Wt];return(bt=Ie.current)===null||bt===void 0?void 0:bt.call.apply(bt,[Ie].concat(_t))},[]);return St}var Fn=ee(73935),Tn=function(Ie){return+setTimeout(Ie,16)},qt=function(Ie){return clearTimeout(Ie)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Tn=function(Ie){return window.requestAnimationFrame(Ie)},qt=function(Ie){return window.cancelAnimationFrame(Ie)});var Dr=0,Ut=new Map;function nn(Ce){Ut.delete(Ce)}var Nr=function(Ie){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Dr+=1;var bt=Dr;function en(_t){if(_t===0)nn(bt),Ie();else{var Wt=Tn(function(){en(_t-1)});Ut.set(bt,Wt)}}return en(St),bt};Nr.cancel=function(Ce){var Ie=Ut.get(Ce);return nn(Ie),qt(Ie)};var cr=Nr;function Fr(Ce){if(typeof MessageChannel=="undefined")cr(Ce);else{var Ie=new MessageChannel;Ie.port1.onmessage=function(){return Ce()},Ie.port2.postMessage(void 0)}}function aa(){var Ce=fe.useRef(null),Ie=function(bt){Ce.current||(Ce.current=[],Fr(function(){(0,Fn.unstable_batchedUpdates)(function(){Ce.current.forEach(function(en){en()}),Ce.current=null})})),Ce.current.push(bt)};return Ie}function Jn(Ce,Ie){var St=fe.useState(Ie),bt=(0,me.Z)(St,2),en=bt[0],_t=bt[1],Wt=gn(function(Wn){Ce(function(){_t(Wn)})});return[en,Wt]}var Ia=fe.createContext(null),Ta=["component"],ti=["className"],Jr=["className"],ja=function(Ie,St){var bt=fe.useContext(Ia);if(!bt){var en=Ie.component,_t=en===void 0?"div":en,Wt=(0,Pe.Z)(Ie,Ta);return fe.createElement(_t,(0,Se.Z)({},Wt,{ref:St}))}var Wn=bt.className,bn=(0,Pe.Z)(bt,ti),On=Ie.className,Mr=(0,Pe.Z)(Ie,Jr);return fe.createElement(Ia.Provider,{value:null},fe.createElement(Vt,(0,Se.Z)({ref:St,className:de()(Wn,On)},bn,Mr)))},Si=fe.forwardRef(ja);Si.displayName="RawItem";var $a=Si,ji=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Ni="responsive",Ln="invalidate";function Pn(Ce){return"+ ".concat(Ce.length," ...")}function rr(Ce,Ie){var St=Ce.prefixCls,bt=St===void 0?"rc-overflow":St,en=Ce.data,_t=en===void 0?[]:en,Wt=Ce.renderItem,Wn=Ce.renderRawItem,bn=Ce.itemKey,On=Ce.itemWidth,Mr=On===void 0?10:On,vr=Ce.ssr,ir=Ce.style,ur=Ce.className,Pr=Ce.maxCount,Wr=Ce.renderRest,na=Ce.renderRawRest,Ma=Ce.suffix,_e=Ce.component,yt=_e===void 0?"div":_e,Ht=Ce.itemComponent,je=Ce.onVisibleChange,Yt=(0,Pe.Z)(Ce,ji),fn=vr==="full",Rn=aa(),Bt=Jn(Rn,null),Qt=(0,me.Z)(Bt,2),rn=Qt[0],Vn=Qt[1],$n=rn||0,br=Jn(Rn,new Map),sr=(0,me.Z)(br,2),kr=sr[0],Hr=sr[1],ta=Jn(Rn,0),Rr=(0,me.Z)(ta,2),Pa=Rr[0],sa=Rr[1],Da=Jn(Rn,0),Ga=(0,me.Z)(Da,2),la=Ga[0],ga=Ga[1],fa=Jn(Rn,0),Ba=(0,me.Z)(fa,2),Ea=Ba[0],ua=Ba[1],Xa=(0,fe.useState)(null),ra=(0,me.Z)(Xa,2),Ya=ra[0],Ha=ra[1],Ua=(0,fe.useState)(null),La=(0,me.Z)(Ua,2),si=La[0],gi=La[1],zo=fe.useMemo(function(){return si===null&&fn?Number.MAX_SAFE_INTEGER:si||0},[si,rn]),No=(0,fe.useState)(!1),yo=(0,me.Z)(No,2),ll=yo[0],Lo=yo[1],kl="".concat(bt,"-item"),Pl=Math.max(Pa,la),_i=Pr===Ni,fi=_t.length&&_i,bo=Pr===Ln,Ho=fi||typeof Pr=="number"&&_t.length>Pr,co=(0,fe.useMemo)(function(){var no=_t;return fi?rn===null&&fn?no=_t:no=_t.slice(0,Math.min(_t.length,$n/Mr)):typeof Pr=="number"&&(no=_t.slice(0,Pr)),no},[_t,Mr,rn,Pr,fi]),wo=(0,fe.useMemo)(function(){return fi?_t.slice(zo+1):_t.slice(co.length)},[_t,co,fi,zo]),oo=(0,fe.useCallback)(function(no,Ja){var Di;return typeof bn=="function"?bn(no):(Di=bn&&(no==null?void 0:no[bn]))!==null&&Di!==void 0?Di:Ja},[bn]),_o=(0,fe.useCallback)(Wt||function(no){return no},[Wt]);function sl(no,Ja,Di){si===no&&(Ja===void 0||Ja===Ya)||(gi(no),Di||(Lo(no<_t.length-1),je==null||je(no)),Ja!==void 0&&Ha(Ja))}function Nl(no,Ja){Vn(Ja.clientWidth)}function Fl(no,Ja){Hr(function(Di){var Ri=new Map(Di);return Ja===null?Ri.delete(no):Ri.set(no,Ja),Ri})}function Fo(no,Ja){ga(Ja),sa(la)}function to(no,Ja){ua(Ja)}function tl(no){return kr.get(oo(co[no],no))}pn(function(){if($n&&typeof Pl=="number"&&co){var no=Ea,Ja=co.length,Di=Ja-1;if(!Ja){sl(0,null);return}for(var Ri=0;Ri<Ja;Ri+=1){var ya=tl(Ri);if(fn&&(ya=ya||0),ya===void 0){sl(Ri-1,void 0,!0);break}if(no+=ya,Di===0&&no<=$n||Ri===Di-1&&no+tl(Di)<=$n){sl(Di,null);break}else if(no+Pl>$n){sl(Ri-1,no-ya-Ea+la);break}}Ma&&tl(0)+Ea>$n&&Ha(null)}},[$n,kr,la,Ea,oo,co]);var hl=ll&&!!wo.length,Io={};Ya!==null&&fi&&(Io={position:"absolute",left:Ya,top:0});var Zo={prefixCls:kl,responsive:fi,component:Ht,invalidate:bo},Xi=Wn?function(no,Ja){var Di=oo(no,Ja);return fe.createElement(Ia.Provider,{key:Di,value:(0,ue.Z)((0,ue.Z)({},Zo),{},{order:Ja,item:no,itemKey:Di,registerSize:Fl,display:Ja<=zo})},Wn(no,Ja))}:function(no,Ja){var Di=oo(no,Ja);return fe.createElement(Vt,(0,Se.Z)({},Zo,{order:Ja,key:Di,item:no,renderItem:_o,itemKey:Di,registerSize:Fl,display:Ja<=zo}))},Oi,nl={order:hl?zo:Number.MAX_SAFE_INTEGER,className:"".concat(kl,"-rest"),registerSize:Fo,display:hl};if(na)na&&(Oi=fe.createElement(Ia.Provider,{value:(0,ue.Z)((0,ue.Z)({},Zo),nl)},na(wo)));else{var Uo=Wr||Pn;Oi=fe.createElement(Vt,(0,Se.Z)({},Zo,nl),typeof Uo=="function"?Uo(wo):Uo)}var Bl=fe.createElement(yt,(0,Se.Z)({className:de()(!bo&&bt,ur),style:ir,ref:Ie},Yt),co.map(Xi),Ho?Oi:null,Ma&&fe.createElement(Vt,(0,Se.Z)({},Zo,{responsive:_i,responsiveDisabled:!fi,order:zo,className:"".concat(kl,"-suffix"),registerSize:to,display:!0,style:Io}),Ma));return _i&&(Bl=fe.createElement(be.Z,{onResize:Nl,disabled:!fi},Bl)),Bl}var or=fe.forwardRef(rr);or.displayName="Overflow",or.Item=$a,or.RESPONSIVE=Ni,or.INVALIDATE=Ln;var $r=or,Br=$r,jr=function(Ie,St){var bt,en,_t=Ie.prefixCls,Wt=Ie.id,Wn=Ie.inputElement,bn=Ie.disabled,On=Ie.tabIndex,Mr=Ie.autoFocus,vr=Ie.autoComplete,ir=Ie.editable,ur=Ie.activeDescendantId,Pr=Ie.value,Wr=Ie.maxLength,na=Ie.onKeyDown,Ma=Ie.onMouseDown,_e=Ie.onChange,yt=Ie.onPaste,Ht=Ie.onCompositionStart,je=Ie.onCompositionEnd,Yt=Ie.open,fn=Ie.attrs,Rn=Wn||fe.createElement("input",null),Bt=Rn,Qt=Bt.ref,rn=Bt.props,Vn=rn.onKeyDown,$n=rn.onChange,br=rn.onMouseDown,sr=rn.onCompositionStart,kr=rn.onCompositionEnd,Hr=rn.style;return"maxLength"in Rn.props,Rn=fe.cloneElement(Rn,(0,ue.Z)((0,ue.Z)((0,ue.Z)({type:"search"},rn),{},{id:Wt,ref:an(St,Qt),disabled:bn,tabIndex:On,autoComplete:vr||"off",autoFocus:Mr,className:de()("".concat(_t,"-selection-search-input"),(bt=Rn)===null||bt===void 0||(en=bt.props)===null||en===void 0?void 0:en.className),role:"combobox","aria-label":"Search","aria-expanded":Yt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Wt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Wt,"_list"),"aria-activedescendant":Yt?ur:void 0},fn),{},{value:ir?Pr:"",maxLength:Wr,readOnly:!ir,unselectable:ir?null:"on",style:(0,ue.Z)((0,ue.Z)({},Hr),{},{opacity:ir?null:0}),onKeyDown:function(Rr){na(Rr),Vn&&Vn(Rr)},onMouseDown:function(Rr){Ma(Rr),br&&br(Rr)},onChange:function(Rr){_e(Rr),$n&&$n(Rr)},onCompositionStart:function(Rr){Ht(Rr),sr&&sr(Rr)},onCompositionEnd:function(Rr){je(Rr),kr&&kr(Rr)},onPaste:yt})),Rn},hn=fe.forwardRef(jr);hn.displayName="Input";var It=hn;function Zt(Ce){return Array.isArray(Ce)?Ce:Ce!==void 0?[Ce]:[]}var Gt=typeof window!="undefined"&&window.document&&window.document.documentElement,Gn=Gt;function kt(Ce){return Ce!=null}function mn(Ce){return!Ce&&Ce!==0}function Zn(Ce){return["string","number"].includes((0,Ue.Z)(Ce))}function Mn(Ce){var Ie=void 0;return Ce&&(Zn(Ce.title)?Ie=Ce.title.toString():Zn(Ce.label)&&(Ie=Ce.label.toString())),Ie}function ar(Ce,Ie){Gn?fe.useLayoutEffect(Ce,Ie):fe.useEffect(Ce,Ie)}function hr(Ce){var Ie;return(Ie=Ce.key)!==null&&Ie!==void 0?Ie:Ce.value}var dn=function(Ie){Ie.preventDefault(),Ie.stopPropagation()},za=function(Ie){var St=Ie.id,bt=Ie.prefixCls,en=Ie.values,_t=Ie.open,Wt=Ie.searchValue,Wn=Ie.autoClearSearchValue,bn=Ie.inputRef,On=Ie.placeholder,Mr=Ie.disabled,vr=Ie.mode,ir=Ie.showSearch,ur=Ie.autoFocus,Pr=Ie.autoComplete,Wr=Ie.activeDescendantId,na=Ie.tabIndex,Ma=Ie.removeIcon,_e=Ie.maxTagCount,yt=Ie.maxTagTextLength,Ht=Ie.maxTagPlaceholder,je=Ht===void 0?function(Ha){return"+ ".concat(Ha.length," ...")}:Ht,Yt=Ie.tagRender,fn=Ie.onToggleOpen,Rn=Ie.onRemove,Bt=Ie.onInputChange,Qt=Ie.onInputPaste,rn=Ie.onInputKeyDown,Vn=Ie.onInputMouseDown,$n=Ie.onInputCompositionStart,br=Ie.onInputCompositionEnd,sr=fe.useRef(null),kr=(0,fe.useState)(0),Hr=(0,me.Z)(kr,2),ta=Hr[0],Rr=Hr[1],Pa=(0,fe.useState)(!1),sa=(0,me.Z)(Pa,2),Da=sa[0],Ga=sa[1],la="".concat(bt,"-selection"),ga=_t||vr==="multiple"&&Wn===!1||vr==="tags"?Wt:"",fa=vr==="tags"||vr==="multiple"&&Wn===!1||ir&&(_t||Da);ar(function(){Rr(sr.current.scrollWidth)},[ga]);function Ba(Ha,Ua,La,si,gi){return fe.createElement("span",{className:de()("".concat(la,"-item"),(0,rt.Z)({},"".concat(la,"-item-disabled"),La)),title:Mn(Ha)},fe.createElement("span",{className:"".concat(la,"-item-content")},Ua),si&&fe.createElement(An,{className:"".concat(la,"-item-remove"),onMouseDown:dn,onClick:gi,customizeIcon:Ma},"\xD7"))}function Ea(Ha,Ua,La,si,gi){var zo=function(yo){dn(yo),fn(!_t)};return fe.createElement("span",{onMouseDown:zo},Yt({label:Ua,value:Ha,disabled:La,closable:si,onClose:gi}))}function ua(Ha){var Ua=Ha.disabled,La=Ha.label,si=Ha.value,gi=!Mr&&!Ua,zo=La;if(typeof yt=="number"&&(typeof La=="string"||typeof La=="number")){var No=String(zo);No.length>yt&&(zo="".concat(No.slice(0,yt),"..."))}var yo=function(Lo){Lo&&Lo.stopPropagation(),Rn(Ha)};return typeof Yt=="function"?Ea(si,zo,Ua,gi,yo):Ba(Ha,zo,Ua,gi,yo)}function Xa(Ha){var Ua=typeof je=="function"?je(Ha):je;return Ba({title:Ua},Ua,!1)}var ra=fe.createElement("div",{className:"".concat(la,"-search"),style:{width:ta},onFocus:function(){Ga(!0)},onBlur:function(){Ga(!1)}},fe.createElement(It,{ref:bn,open:_t,prefixCls:bt,id:St,inputElement:null,disabled:Mr,autoFocus:ur,autoComplete:Pr,editable:fa,activeDescendantId:Wr,value:ga,onKeyDown:rn,onMouseDown:Vn,onChange:Bt,onPaste:Qt,onCompositionStart:$n,onCompositionEnd:br,tabIndex:na,attrs:he(Ie,!0)}),fe.createElement("span",{ref:sr,className:"".concat(la,"-search-mirror"),"aria-hidden":!0},ga,"\xA0")),Ya=fe.createElement(Br,{prefixCls:"".concat(la,"-overflow"),data:en,renderItem:ua,renderRest:Xa,suffix:ra,itemKey:hr,maxCount:_e});return fe.createElement(fe.Fragment,null,Ya,!en.length&&!ga&&fe.createElement("span",{className:"".concat(la,"-placeholder")},On))},pa=za,ma=function(Ie){var St=Ie.inputElement,bt=Ie.prefixCls,en=Ie.id,_t=Ie.inputRef,Wt=Ie.disabled,Wn=Ie.autoFocus,bn=Ie.autoComplete,On=Ie.activeDescendantId,Mr=Ie.mode,vr=Ie.open,ir=Ie.values,ur=Ie.placeholder,Pr=Ie.tabIndex,Wr=Ie.showSearch,na=Ie.searchValue,Ma=Ie.activeValue,_e=Ie.maxLength,yt=Ie.onInputKeyDown,Ht=Ie.onInputMouseDown,je=Ie.onInputChange,Yt=Ie.onInputPaste,fn=Ie.onInputCompositionStart,Rn=Ie.onInputCompositionEnd,Bt=Ie.title,Qt=fe.useState(!1),rn=(0,me.Z)(Qt,2),Vn=rn[0],$n=rn[1],br=Mr==="combobox",sr=br||Wr,kr=ir[0],Hr=na||"";br&&Ma&&!Vn&&(Hr=Ma),fe.useEffect(function(){br&&$n(!1)},[br,Ma]);var ta=Mr!=="combobox"&&!vr&&!Wr?!1:!!Hr,Rr=Bt===void 0?Mn(kr):Bt,Pa=function(){if(kr)return null;var Da=ta?{visibility:"hidden"}:void 0;return fe.createElement("span",{className:"".concat(bt,"-selection-placeholder"),style:Da},ur)};return fe.createElement(fe.Fragment,null,fe.createElement("span",{className:"".concat(bt,"-selection-search")},fe.createElement(It,{ref:_t,prefixCls:bt,id:en,open:vr,inputElement:St,disabled:Wt,autoFocus:Wn,autoComplete:bn,editable:sr,activeDescendantId:On,value:Hr,onKeyDown:yt,onMouseDown:Ht,onChange:function(Da){$n(!0),je(Da)},onPaste:Yt,onCompositionStart:fn,onCompositionEnd:Rn,tabIndex:Pr,attrs:he(Ie,!0),maxLength:br?_e:void 0})),!br&&kr?fe.createElement("span",{className:"".concat(bt,"-selection-item"),title:Rr,style:ta?{visibility:"hidden"}:void 0},kr.label):null,Pa())},Sa=ma;function Aa(Ce){return![ct.ESC,ct.SHIFT,ct.BACKSPACE,ct.TAB,ct.WIN_KEY,ct.ALT,ct.META,ct.WIN_KEY_RIGHT,ct.CTRL,ct.SEMICOLON,ct.EQUALS,ct.CAPS_LOCK,ct.CONTEXT_MENU,ct.F1,ct.F2,ct.F3,ct.F4,ct.F5,ct.F6,ct.F7,ct.F8,ct.F9,ct.F10,ct.F11,ct.F12].includes(Ce)}var ka=function(Ie,St){var bt=(0,fe.useRef)(null),en=(0,fe.useRef)(!1),_t=Ie.prefixCls,Wt=Ie.open,Wn=Ie.mode,bn=Ie.showSearch,On=Ie.tokenWithEnter,Mr=Ie.autoClearSearchValue,vr=Ie.onSearch,ir=Ie.onSearchSubmit,ur=Ie.onToggleOpen,Pr=Ie.onInputKeyDown,Wr=Ie.domRef;fe.useImperativeHandle(St,function(){return{focus:function(){bt.current.focus()},blur:function(){bt.current.blur()}}});var na=wn(0),Ma=(0,me.Z)(na,2),_e=Ma[0],yt=Ma[1],Ht=function(Hr){var ta=Hr.which;(ta===ct.UP||ta===ct.DOWN)&&Hr.preventDefault(),Pr&&Pr(Hr),ta===ct.ENTER&&Wn==="tags"&&!en.current&&!Wt&&(ir==null||ir(Hr.target.value)),Aa(ta)&&ur(!0)},je=function(){yt(!0)},Yt=(0,fe.useRef)(null),fn=function(Hr){vr(Hr,!0,en.current)!==!1&&ur(!0)},Rn=function(){en.current=!0},Bt=function(Hr){en.current=!1,Wn!=="combobox"&&fn(Hr.target.value)},Qt=function(Hr){var ta=Hr.target.value;if(On&&Yt.current&&/[\r\n]/.test(Yt.current)){var Rr=Yt.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ta=ta.replace(Rr,Yt.current)}Yt.current=null,fn(ta)},rn=function(Hr){var ta=Hr.clipboardData,Rr=ta.getData("text");Yt.current=Rr},Vn=function(Hr){var ta=Hr.target;if(ta!==bt.current){var Rr=document.body.style.msTouchAction!==void 0;Rr?setTimeout(function(){bt.current.focus()}):bt.current.focus()}},$n=function(Hr){var ta=_e();Hr.target!==bt.current&&!ta&&Wn!=="combobox"&&Hr.preventDefault(),(Wn!=="combobox"&&(!bn||!ta)||!Wt)&&(Wt&&Mr!==!1&&vr("",!0,!1),ur())},br={inputRef:bt,onInputKeyDown:Ht,onInputMouseDown:je,onInputChange:Qt,onInputPaste:rn,onInputCompositionStart:Rn,onInputCompositionEnd:Bt},sr=Wn==="multiple"||Wn==="tags"?fe.createElement(pa,(0,Se.Z)({},Ie,br)):fe.createElement(Sa,(0,Se.Z)({},Ie,br));return fe.createElement("div",{ref:Wr,className:"".concat(_t,"-selector"),onClick:Vn,onMouseDown:$n},sr)},Er=fe.forwardRef(ka);Er.displayName="Selector";var Gr=Er,Zi=ee(62709),Ii=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],ni=function(Ie){var St=Ie===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:St,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:St,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:St,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:St,adjustY:1},htmlRegion:"scroll"}}},hi=function(Ie,St){var bt=Ie.prefixCls,en=Ie.disabled,_t=Ie.visible,Wt=Ie.children,Wn=Ie.popupElement,bn=Ie.animation,On=Ie.transitionName,Mr=Ie.dropdownStyle,vr=Ie.dropdownClassName,ir=Ie.direction,ur=ir===void 0?"ltr":ir,Pr=Ie.placement,Wr=Ie.builtinPlacements,na=Ie.dropdownMatchSelectWidth,Ma=Ie.dropdownRender,_e=Ie.dropdownAlign,yt=Ie.getPopupContainer,Ht=Ie.empty,je=Ie.getTriggerDOMNode,Yt=Ie.onPopupVisibleChange,fn=Ie.onPopupMouseEnter,Rn=(0,Pe.Z)(Ie,Ii),Bt="".concat(bt,"-dropdown"),Qt=Wn;Ma&&(Qt=Ma(Wn));var rn=fe.useMemo(function(){return Wr||ni(na)},[Wr,na]),Vn=bn?"".concat(Bt,"-").concat(bn):On,$n=typeof na=="number",br=fe.useMemo(function(){return $n?null:na===!1?"minWidth":"width"},[na,$n]),sr=Mr;$n&&(sr=(0,ue.Z)((0,ue.Z)({},sr),{},{width:na}));var kr=fe.useRef(null);return fe.useImperativeHandle(St,function(){return{getPopupElement:function(){return kr.current}}}),fe.createElement(Zi.Z,(0,Se.Z)({},Rn,{showAction:Yt?["click"]:[],hideAction:Yt?["click"]:[],popupPlacement:Pr||(ur==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:rn,prefixCls:Bt,popupTransitionName:Vn,popup:fe.createElement("div",{ref:kr,onMouseEnter:fn},Qt),stretch:br,popupAlign:_e,popupVisible:_t,getPopupContainer:yt,popupClassName:de()(vr,(0,rt.Z)({},"".concat(Bt,"-empty"),Ht)),popupStyle:sr,getTriggerDOMNode:je,onPopupVisibleChange:Yt}),Wt)},io=fe.forwardRef(hi);io.displayName="SelectTrigger";var ri=io,ho=ee(84506);function ia(Ce,Ie){var St=Ce.key,bt;return"value"in Ce&&(bt=Ce.value),St!=null?St:bt!==void 0?bt:"rc-index-key-".concat(Ie)}function so(Ce,Ie){var St=Ce||{},bt=St.label,en=St.value,_t=St.options,Wt=St.groupLabel,Wn=bt||(Ie?"children":"label");return{label:Wn,value:en||"value",options:_t||"options",groupLabel:Wt||Wn}}function xo(Ce){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},St=Ie.fieldNames,bt=Ie.childrenAsData,en=[],_t=so(St,!1),Wt=_t.label,Wn=_t.value,bn=_t.options,On=_t.groupLabel;function Mr(vr,ir){vr.forEach(function(ur){if(ir||!(bn in ur)){var Pr=ur[Wn];en.push({key:ia(ur,en.length),groupOption:ir,data:ur,label:ur[Wt],value:Pr})}else{var Wr=ur[On];Wr===void 0&&bt&&(Wr=ur.label),en.push({key:ia(ur,en.length),group:!0,data:ur,label:Wr}),Mr(ur[bn],!0)}})}return Mr(Ce,!1),en}function ml(Ce){var Ie=(0,ue.Z)({},Ce);return"props"in Ie||Object.defineProperty(Ie,"props",{get:function(){return Be(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ie}}),Ie}function vl(Ce,Ie){if(!Ie||!Ie.length)return null;var St=!1;function bt(_t,Wt){var Wn=(0,ho.Z)(Wt),bn=Wn[0],On=Wn.slice(1);if(!bn)return[_t];var Mr=_t.split(bn);return St=St||Mr.length>1,Mr.reduce(function(vr,ir){return[].concat((0,ne.Z)(vr),(0,ne.Z)(bt(ir,On)))},[]).filter(function(vr){return vr})}var en=bt(Ce,Ie);return St?en:null}var Yo=["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"],uo=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function wl(Ce){return Ce==="tags"||Ce==="multiple"}var Qo=fe.forwardRef(function(Ce,Ie){var St,bt,en=Ce.id,_t=Ce.prefixCls,Wt=Ce.className,Wn=Ce.showSearch,bn=Ce.tagRender,On=Ce.direction,Mr=Ce.omitDomProps,vr=Ce.displayValues,ir=Ce.onDisplayValuesChange,ur=Ce.emptyOptions,Pr=Ce.notFoundContent,Wr=Pr===void 0?"Not Found":Pr,na=Ce.onClear,Ma=Ce.mode,_e=Ce.disabled,yt=Ce.loading,Ht=Ce.getInputElement,je=Ce.getRawInputElement,Yt=Ce.open,fn=Ce.defaultOpen,Rn=Ce.onDropdownVisibleChange,Bt=Ce.activeValue,Qt=Ce.onActiveValueChange,rn=Ce.activeDescendantId,Vn=Ce.searchValue,$n=Ce.autoClearSearchValue,br=Ce.onSearch,sr=Ce.onSearchSplit,kr=Ce.tokenSeparators,Hr=Ce.allowClear,ta=Ce.suffixIcon,Rr=Ce.clearIcon,Pa=Ce.OptionList,sa=Ce.animation,Da=Ce.transitionName,Ga=Ce.dropdownStyle,la=Ce.dropdownClassName,ga=Ce.dropdownMatchSelectWidth,fa=Ce.dropdownRender,Ba=Ce.dropdownAlign,Ea=Ce.placement,ua=Ce.builtinPlacements,Xa=Ce.getPopupContainer,ra=Ce.showAction,Ya=ra===void 0?[]:ra,Ha=Ce.onFocus,Ua=Ce.onBlur,La=Ce.onKeyUp,si=Ce.onKeyDown,gi=Ce.onMouseDown,zo=(0,Pe.Z)(Ce,Yo),No=wl(Ma),yo=(Wn!==void 0?Wn:No)||Ma==="combobox",ll=(0,ue.Z)({},zo);uo.forEach(function(Za){delete ll[Za]}),Mr==null||Mr.forEach(function(Za){delete ll[Za]});var Lo=fe.useState(!1),kl=(0,me.Z)(Lo,2),Pl=kl[0],_i=kl[1];fe.useEffect(function(){_i(gt())},[]);var fi=fe.useRef(null),bo=fe.useRef(null),Ho=fe.useRef(null),co=fe.useRef(null),wo=fe.useRef(null),oo=sn(),_o=(0,me.Z)(oo,3),sl=_o[0],Nl=_o[1],Fl=_o[2];fe.useImperativeHandle(Ie,function(){var Za,Ka;return{focus:(Za=co.current)===null||Za===void 0?void 0:Za.focus,blur:(Ka=co.current)===null||Ka===void 0?void 0:Ka.blur,scrollTo:function(Ti){var lo;return(lo=wo.current)===null||lo===void 0?void 0:lo.scrollTo(Ti)}}});var Fo=fe.useMemo(function(){var Za;if(Ma!=="combobox")return Vn;var Ka=(Za=vr[0])===null||Za===void 0?void 0:Za.value;return typeof Ka=="string"||typeof Ka=="number"?String(Ka):""},[Vn,Ma,vr]),to=Ma==="combobox"&&typeof Ht=="function"&&Ht()||null,tl=typeof je=="function"&&je(),hl=ht(bo,tl==null||(St=tl.props)===null||St===void 0?void 0:St.ref),Io=fe.useState(!1),Zo=(0,me.Z)(Io,2),Xi=Zo[0],Oi=Zo[1];Ee(function(){Oi(!0)},[]);var nl=ut(!1,{defaultValue:fn,value:Yt}),Uo=(0,me.Z)(nl,2),Bl=Uo[0],no=Uo[1],Ja=Xi?Bl:!1,Di=!Wr&&ur;(_e||Di&&Ja&&Ma==="combobox")&&(Ja=!1);var Ri=Di?!1:Ja,ya=fe.useCallback(function(Za){var Ka=Za!==void 0?Za:!Ja;_e||(no(Ka),Ja!==Ka&&(Rn==null||Rn(Ka)))},[_e,Ja,no,Rn]),Qa=fe.useMemo(function(){return(kr||[]).some(function(Za){return[`
|
|
|
`,`\r
|
|
|
`].includes(Za)})},[kr]),Ji=function(Ka,ii,Ti){var lo=!0,rl=Ka;Qt==null||Qt(null);var Po=Ti?null:vl(Ka,kr);return Ma!=="combobox"&&Po&&(rl="",sr==null||sr(Po),ya(!1),lo=!1),br&&Fo!==rl&&br(rl,{source:ii?"typing":"effect"}),lo},ul=function(Ka){!Ka||!Ka.trim()||br(Ka,{source:"submit"})};fe.useEffect(function(){!Ja&&!No&&Ma!=="combobox"&&Ji("",!1,!1)},[Ja]),fe.useEffect(function(){Bl&&_e&&no(!1),_e&&Nl(!1)},[_e]);var Jl=wn(),ws=(0,me.Z)(Jl,2),Te=ws[0],Ze=ws[1],Et=function(Ka){var ii=Te(),Ti=Ka.which;if(Ti===ct.ENTER&&(Ma!=="combobox"&&Ka.preventDefault(),Ja||ya(!0)),Ze(!!Fo),Ti===ct.BACKSPACE&&!ii&&No&&!Fo&&vr.length){for(var lo=(0,ne.Z)(vr),rl=null,Po=lo.length-1;Po>=0;Po-=1){var To=lo[Po];if(!To.disabled){lo.splice(Po,1),rl=To;break}}rl&&ir(lo,{type:"remove",values:[rl]})}for(var Ml=arguments.length,pl=new Array(Ml>1?Ml-1:0),Kl=1;Kl<Ml;Kl++)pl[Kl-1]=arguments[Kl];if(Ja&&wo.current){var Gl;(Gl=wo.current).onKeyDown.apply(Gl,[Ka].concat(pl))}si==null||si.apply(void 0,[Ka].concat(pl))},Lt=function(Ka){for(var ii=arguments.length,Ti=new Array(ii>1?ii-1:0),lo=1;lo<ii;lo++)Ti[lo-1]=arguments[lo];if(Ja&&wo.current){var rl;(rl=wo.current).onKeyUp.apply(rl,[Ka].concat(Ti))}La==null||La.apply(void 0,[Ka].concat(Ti))},Xt=function(Ka){var ii=vr.filter(function(Ti){return Ti!==Ka});ir(ii,{type:"remove",values:[Ka]})},Sn=fe.useRef(!1),nr=function(){Nl(!0),_e||(Ha&&!Sn.current&&Ha.apply(void 0,arguments),Ya.includes("focus")&&ya(!0)),Sn.current=!0},wr=function(){Nl(!1,function(){Sn.current=!1,ya(!1)}),!_e&&(Fo&&(Ma==="tags"?br(Fo,{source:"submit"}):Ma==="multiple"&&br("",{source:"blur"})),Ua&&Ua.apply(void 0,arguments))},jn=[];fe.useEffect(function(){return function(){jn.forEach(function(Za){return clearTimeout(Za)}),jn.splice(0,jn.length)}},[]);var Un=function(Ka){var ii,Ti=Ka.target,lo=(ii=Ho.current)===null||ii===void 0?void 0:ii.getPopupElement();if(lo&&lo.contains(Ti)){var rl=setTimeout(function(){var pl=jn.indexOf(rl);if(pl!==-1&&jn.splice(pl,1),Fl(),!Pl&&!lo.contains(document.activeElement)){var Kl;(Kl=co.current)===null||Kl===void 0||Kl.focus()}});jn.push(rl)}for(var Po=arguments.length,To=new Array(Po>1?Po-1:0),Ml=1;Ml<Po;Ml++)To[Ml-1]=arguments[Ml];gi==null||gi.apply(void 0,[Ka].concat(To))},Sr=fe.useState({}),kn=(0,me.Z)(Sr,2),Vr=kn[1];function xa(){Vr({})}var wa;tl&&(wa=function(Ka){ya(Ka)}),vn(function(){var Za;return[fi.current,(Za=Ho.current)===null||Za===void 0?void 0:Za.getPopupElement()]},Ri,ya,!!tl);var Ra=fe.useMemo(function(){return(0,ue.Z)((0,ue.Z)({},Ce),{},{notFoundContent:Wr,open:Ja,triggerOpen:Ri,id:en,showSearch:yo,multiple:No,toggleOpen:ya})},[Ce,Wr,Ri,Ja,en,yo,No,ya]),Qr=!!ta||yt,li;Qr&&(li=fe.createElement(An,{className:de()("".concat(_t,"-arrow"),(0,rt.Z)({},"".concat(_t,"-arrow-loading"),yt)),customizeIcon:ta,customizeIconProps:{loading:yt,searchValue:Fo,open:Ja,focused:sl,showSearch:yo}}));var qa=function(){var Ka;na==null||na(),(Ka=co.current)===null||Ka===void 0||Ka.focus(),ir([],{type:"clear",values:vr}),Ji("",!1,!1)},Fi=jt(_t,qa,vr,Hr,Rr,_e,Fo,Ma),vi=Fi.allowClear,pi=Fi.clearIcon,yi=fe.createElement(Pa,{ref:wo}),Vi=de()(_t,Wt,(bt={},(0,rt.Z)(bt,"".concat(_t,"-focused"),sl),(0,rt.Z)(bt,"".concat(_t,"-multiple"),No),(0,rt.Z)(bt,"".concat(_t,"-single"),!No),(0,rt.Z)(bt,"".concat(_t,"-allow-clear"),Hr),(0,rt.Z)(bt,"".concat(_t,"-show-arrow"),Qr),(0,rt.Z)(bt,"".concat(_t,"-disabled"),_e),(0,rt.Z)(bt,"".concat(_t,"-loading"),yt),(0,rt.Z)(bt,"".concat(_t,"-open"),Ja),(0,rt.Z)(bt,"".concat(_t,"-customize-input"),to),(0,rt.Z)(bt,"".concat(_t,"-show-search"),yo),bt)),Ko=fe.createElement(ri,{ref:Ho,disabled:_e,prefixCls:_t,visible:Ri,popupElement:yi,animation:sa,transitionName:Da,dropdownStyle:Ga,dropdownClassName:la,direction:On,dropdownMatchSelectWidth:ga,dropdownRender:fa,dropdownAlign:Ba,placement:Ea,builtinPlacements:ua,getPopupContainer:Xa,empty:ur,getTriggerDOMNode:function(){return bo.current},onPopupVisibleChange:wa,onPopupMouseEnter:xa},tl?fe.cloneElement(tl,{ref:hl}):fe.createElement(Gr,(0,Se.Z)({},Ce,{domRef:bo,prefixCls:_t,inputElement:to,ref:co,id:en,showSearch:yo,autoClearSearchValue:$n,mode:Ma,activeDescendantId:rn,tagRender:bn,values:vr,open:Ja,onToggleOpen:ya,activeValue:Bt,searchValue:Fo,onSearch:Ji,onSearchSubmit:ul,onRemove:Xt,tokenWithEnter:Qa}))),Li;return tl?Li=Ko:Li=fe.createElement("div",(0,Se.Z)({className:Vi},ll,{ref:fi,onMouseDown:Un,onKeyDown:Et,onKeyUp:Lt,onFocus:nr,onBlur:wr}),sl&&!Ja&&fe.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(vr.map(function(Za){var Ka=Za.label,ii=Za.value;return["number","string"].includes((0,Ue.Z)(Ka))?Ka:ii}).join(", "))),Ko,li,vi&&pi),fe.createElement(Mt.Provider,{value:Ra},Li)}),dl=Qo,zl=function(Ce,Ie){var St=fe.useRef({values:new Map,options:new Map}),bt=fe.useMemo(function(){var _t=St.current,Wt=_t.values,Wn=_t.options,bn=Ce.map(function(vr){if(vr.label===void 0){var ir;return(0,ue.Z)((0,ue.Z)({},vr),{},{label:(ir=Wt.get(vr.value))===null||ir===void 0?void 0:ir.label})}return vr}),On=new Map,Mr=new Map;return bn.forEach(function(vr){On.set(vr.value,vr),Mr.set(vr.value,Ie.get(vr.value)||Wn.get(vr.value))}),St.current.values=On,St.current.options=Mr,bn},[Ce,Ie]),en=fe.useCallback(function(_t){return Ie.get(_t)||St.current.options.get(_t)},[Ie]);return[bt,en]};function bl(Ce,Ie){return Zt(Ce).join("").toUpperCase().includes(Ie)}var Sl=function(Ce,Ie,St,bt,en){return fe.useMemo(function(){if(!St||bt===!1)return Ce;var _t=Ie.options,Wt=Ie.label,Wn=Ie.value,bn=[],On=typeof bt=="function",Mr=St.toUpperCase(),vr=On?bt:function(ur,Pr){return en?bl(Pr[en],Mr):Pr[_t]?bl(Pr[Wt!=="children"?Wt:"label"],Mr):bl(Pr[Wn],Mr)},ir=On?function(ur){return ml(ur)}:function(ur){return ur};return Ce.forEach(function(ur){if(ur[_t]){var Pr=vr(St,ir(ur));if(Pr)bn.push(ur);else{var Wr=ur[_t].filter(function(na){return vr(St,ir(na))});Wr.length&&bn.push((0,ue.Z)((0,ue.Z)({},ur),{},(0,rt.Z)({},_t,Wr)))}return}vr(St,ir(ur))&&bn.push(ur)}),bn},[Ce,bt,en,St,Ie])},Ci=0,Do=ot();function Pi(){var Ce;return Do?(Ce=Ci,Ci+=1):Ce="TEST_OR_SSR",Ce}function Bi(Ce){var Ie=fe.useState(),St=(0,me.Z)(Ie,2),bt=St[0],en=St[1];return fe.useEffect(function(){en("rc_select_".concat(Pi()))},[]),Ce||bt}function zn(Ce){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},St=[];return fe.Children.forEach(Ce,function(bt){bt==null&&!Ie.keepEmpty||(Array.isArray(bt)?St=St.concat(zn(bt)):(0,nt.isFragment)(bt)&&bt.props?St=St.concat(zn(bt.props.children,Ie)):St.push(bt))}),St}var Cn=["children","value"],mr=["children"];function Yr(Ce){var Ie=Ce,St=Ie.key,bt=Ie.props,en=bt.children,_t=bt.value,Wt=(0,Pe.Z)(bt,Cn);return(0,ue.Z)({key:St,value:_t!==void 0?_t:St,children:en},Wt)}function ha(Ce){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return zn(Ce).map(function(St,bt){if(!fe.isValidElement(St)||!St.type)return null;var en=St,_t=en.type.isSelectOptGroup,Wt=en.key,Wn=en.props,bn=Wn.children,On=(0,Pe.Z)(Wn,mr);return Ie||!_t?Yr(St):(0,ue.Z)((0,ue.Z)({key:"__RC_SELECT_GRP__".concat(Wt===null?bt:Wt,"__"),label:Wt},On),{},{options:ha(bn)})}).filter(function(St){return St})}function mi(Ce,Ie,St,bt,en){return fe.useMemo(function(){var _t=Ce,Wt=!Ce;Wt&&(_t=ha(Ie));var Wn=new Map,bn=new Map,On=function(ir,ur,Pr){Pr&&typeof Pr=="string"&&ir.set(ur[Pr],ur)};function Mr(vr){for(var ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ur=0;ur<vr.length;ur+=1){var Pr=vr[ur];!Pr[St.options]||ir?(Wn.set(Pr[St.value],Pr),On(bn,Pr,St.label),On(bn,Pr,bt),On(bn,Pr,en)):Mr(Pr[St.options],!0)}}return Mr(_t),{options:_t,valueOptions:Wn,labelOptions:bn}},[Ce,Ie,St,bt,en])}function xi(Ce){var Ie=fe.useRef();Ie.current=Ce;var St=fe.useCallback(function(){return Ie.current.apply(Ie,arguments)},[]);return St}var Ui=function(){return null};Ui.isSelectOptGroup=!0;var di=Ui,Mi=function(){return null};Mi.isSelectOption=!0;var Ao=Mi;function Wo(Ce,Ie){var St=(0,ue.Z)({},Ce);return Array.isArray(Ie)&&Ie.forEach(function(bt){delete St[bt]}),St}var $o=ee(73299),He=fe.createContext(null),tt=He;function Nt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var pe=["disabled","title","children","style","className"];function Oe(Ce){return typeof Ce=="string"||typeof Ce=="number"}var Ae=function(Ie,St){var bt=Kt(),en=bt.prefixCls,_t=bt.id,Wt=bt.open,Wn=bt.multiple,bn=bt.mode,On=bt.searchValue,Mr=bt.toggleOpen,vr=bt.notFoundContent,ir=bt.onPopupScroll,ur=fe.useContext(tt),Pr=ur.flattenOptions,Wr=ur.onActiveValue,na=ur.defaultActiveFirstOption,Ma=ur.onSelect,_e=ur.menuItemSelectedIcon,yt=ur.rawValues,Ht=ur.fieldNames,je=ur.virtual,Yt=ur.direction,fn=ur.listHeight,Rn=ur.listItemHeight,Bt="".concat(en,"-item"),Qt=Ot(function(){return Pr},[Wt,Pr],function(Ba,Ea){return Ea[0]&&Ba[1]!==Ea[1]}),rn=fe.useRef(null),Vn=function(Ea){Ea.preventDefault()},$n=function(Ea){rn.current&&rn.current.scrollTo(typeof Ea=="number"?{index:Ea}:Ea)},br=function(Ea){for(var ua=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Xa=Qt.length,ra=0;ra<Xa;ra+=1){var Ya=(Ea+ra*ua+Xa)%Xa,Ha=Qt[Ya],Ua=Ha.group,La=Ha.data;if(!Ua&&!La.disabled)return Ya}return-1},sr=fe.useState(function(){return br(0)}),kr=(0,me.Z)(sr,2),Hr=kr[0],ta=kr[1],Rr=function(Ea){var ua=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ta(Ea);var Xa={source:ua?"keyboard":"mouse"},ra=Qt[Ea];if(!ra){Wr(null,-1,Xa);return}Wr(ra.value,Ea,Xa)};(0,fe.useEffect)(function(){Rr(na!==!1?br(0):-1)},[Qt.length,On]);var Pa=fe.useCallback(function(Ba){return yt.has(Ba)&&bn!=="combobox"},[bn,(0,ne.Z)(yt).toString(),yt.size]);(0,fe.useEffect)(function(){var Ba=setTimeout(function(){if(!Wn&&Wt&&yt.size===1){var ua=Array.from(yt)[0],Xa=Qt.findIndex(function(ra){var Ya=ra.data;return Ya.value===ua});Xa!==-1&&(Rr(Xa),$n(Xa))}});if(Wt){var Ea;(Ea=rn.current)===null||Ea===void 0||Ea.scrollTo(void 0)}return function(){return clearTimeout(Ba)}},[Wt,On,Pr.length]);var sa=function(Ea){Ea!==void 0&&Ma(Ea,{selected:!yt.has(Ea)}),Wn||Mr(!1)};if(fe.useImperativeHandle(St,function(){return{onKeyDown:function(Ea){var ua=Ea.which,Xa=Ea.ctrlKey;switch(ua){case ct.N:case ct.P:case ct.UP:case ct.DOWN:{var ra=0;if(ua===ct.UP?ra=-1:ua===ct.DOWN?ra=1:Nt()&&Xa&&(ua===ct.N?ra=1:ua===ct.P&&(ra=-1)),ra!==0){var Ya=br(Hr+ra,ra);$n(Ya),Rr(Ya,!0)}break}case ct.ENTER:{var Ha=Qt[Hr];Ha&&!Ha.data.disabled?sa(Ha.value):sa(void 0),Wt&&Ea.preventDefault();break}case ct.ESC:Mr(!1),Wt&&Ea.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Ea){$n(Ea)}}}),Qt.length===0)return fe.createElement("div",{role:"listbox",id:"".concat(_t,"_list"),className:"".concat(Bt,"-empty"),onMouseDown:Vn},vr);var Da=Object.keys(Ht).map(function(Ba){return Ht[Ba]}),Ga=function(Ea){return Ea.label};function la(Ba,Ea){var ua=Ba.group;return{role:ua?"presentation":"option",id:"".concat(_t,"_list_").concat(Ea)}}var ga=function(Ea){var ua=Qt[Ea];if(!ua)return null;var Xa=ua.data||{},ra=Xa.value,Ya=ua.group,Ha=he(Xa,!0),Ua=Ga(ua);return ua?fe.createElement("div",(0,Se.Z)({"aria-label":typeof Ua=="string"&&!Ya?Ua:null},Ha,{key:Ea},la(ua,Ea),{"aria-selected":Pa(ra)}),ra):null},fa={role:"listbox",id:"".concat(_t,"_list")};return fe.createElement(fe.Fragment,null,je&&fe.createElement("div",(0,Se.Z)({},fa,{style:{height:0,width:0,overflow:"hidden"}}),ga(Hr-1),ga(Hr),ga(Hr+1)),fe.createElement($o.Z,{itemKey:"key",ref:rn,data:Qt,height:fn,itemHeight:Rn,fullHeight:!1,onMouseDown:Vn,onScroll:ir,virtual:je,direction:Yt,innerProps:je?null:fa},function(Ba,Ea){var ua,Xa=Ba.group,ra=Ba.groupOption,Ya=Ba.data,Ha=Ba.label,Ua=Ba.value,La=Ya.key;if(Xa){var si,gi=(si=Ya.title)!==null&&si!==void 0?si:Oe(Ha)?Ha.toString():void 0;return fe.createElement("div",{className:de()(Bt,"".concat(Bt,"-group")),title:gi},Ha!==void 0?Ha:La)}var zo=Ya.disabled,No=Ya.title,yo=Ya.children,ll=Ya.style,Lo=Ya.className,kl=(0,Pe.Z)(Ya,pe),Pl=Wo(kl,Da),_i=Pa(Ua),fi="".concat(Bt,"-option"),bo=de()(Bt,fi,Lo,(ua={},(0,rt.Z)(ua,"".concat(fi,"-grouped"),ra),(0,rt.Z)(ua,"".concat(fi,"-active"),Hr===Ea&&!zo),(0,rt.Z)(ua,"".concat(fi,"-disabled"),zo),(0,rt.Z)(ua,"".concat(fi,"-selected"),_i),ua)),Ho=Ga(Ba),co=!_e||typeof _e=="function"||_i,wo=typeof Ho=="number"?Ho:Ho||Ua,oo=Oe(wo)?wo.toString():void 0;return No!==void 0&&(oo=No),fe.createElement("div",(0,Se.Z)({},he(Pl),je?{}:la(Ba,Ea),{"aria-selected":_i,className:bo,title:oo,onMouseMove:function(){Hr===Ea||zo||Rr(Ea)},onClick:function(){zo||sa(Ua)},style:ll}),fe.createElement("div",{className:"".concat(fi,"-content")},wo),fe.isValidElement(_e)||_i,co&&fe.createElement(An,{className:"".concat(Bt,"-option-state"),customizeIcon:_e,customizeIconProps:{isSelected:_i}},_i?"\u2713":null))}))},Ke=fe.forwardRef(Ae);Ke.displayName="OptionList";var Qe=Ke;function at(Ce){var Ie=Ce.mode,St=Ce.options,bt=Ce.children,en=Ce.backfill,_t=Ce.allowClear,Wt=Ce.placeholder,Wn=Ce.getInputElement,bn=Ce.showSearch,On=Ce.onSearch,Mr=Ce.defaultOpen,vr=Ce.autoFocus,ir=Ce.labelInValue,ur=Ce.value,Pr=Ce.inputValue,Wr=Ce.optionLabelProp,na=isMultiple(Ie),Ma=bn!==void 0?bn:na||Ie==="combobox",_e=St||convertChildrenToData(bt);if(warning(Ie!=="tags"||_e.every(function(Yt){return!Yt.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ie==="tags"||Ie==="combobox"){var yt=_e.some(function(Yt){return Yt.options?Yt.options.some(function(fn){return typeof("value"in fn?fn.value:fn.key)=="number"}):typeof("value"in Yt?Yt.value:Yt.key)=="number"});warning(!yt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ie!=="combobox"||!Wr,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ie==="combobox"||!en,"`backfill` only works with `combobox` mode."),warning(Ie==="combobox"||!Wn,"`getInputElement` only work with `combobox` mode."),noteOnce(Ie!=="combobox"||!Wn||!_t||!Wt,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),On&&!Ma&&Ie!=="combobox"&&Ie!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Mr||vr,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),ur!=null){var Ht=toArray(ur);warning(!ir||Ht.every(function(Yt){return _typeof(Yt)==="object"&&("key"in Yt||"value"in Yt)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!na||Array.isArray(ur),"`value` should be array when `mode` is `multiple` or `tags`")}if(bt){var je=null;toNodeArray(bt).some(function(Yt){if(!React.isValidElement(Yt)||!Yt.type)return!1;var fn=Yt,Rn=fn.type;if(Rn.isSelectOption)return!1;if(Rn.isSelectOptGroup){var Bt=toNodeArray(Yt.props.children).every(function(Qt){return!React.isValidElement(Qt)||!Yt.type||Qt.type.isSelectOption?!0:(je=Qt.type,!1)});return!Bt}return je=Rn,!0}),je&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(je.displayName||je.name||je,"`.")),warning(Pr===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function pt(Ce,Ie){if(Ce){var St=function bt(en){for(var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Wt=0;Wt<en.length;Wt++){var Wn=en[Wt];if(Wn[Ie==null?void 0:Ie.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!_t&&Array.isArray(Wn[Ie==null?void 0:Ie.options])&&bt(Wn[Ie==null?void 0:Ie.options],!0))break}};St(Ce)}}var $t=null,tn=["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"],Yn=["inputValue"];function fr(Ce){return!Ce||(0,Ue.Z)(Ce)!=="object"}var Cr=fe.forwardRef(function(Ce,Ie){var St=Ce.id,bt=Ce.mode,en=Ce.prefixCls,_t=en===void 0?"rc-select":en,Wt=Ce.backfill,Wn=Ce.fieldNames,bn=Ce.inputValue,On=Ce.searchValue,Mr=Ce.onSearch,vr=Ce.autoClearSearchValue,ir=vr===void 0?!0:vr,ur=Ce.onSelect,Pr=Ce.onDeselect,Wr=Ce.dropdownMatchSelectWidth,na=Wr===void 0?!0:Wr,Ma=Ce.filterOption,_e=Ce.filterSort,yt=Ce.optionFilterProp,Ht=Ce.optionLabelProp,je=Ce.options,Yt=Ce.children,fn=Ce.defaultActiveFirstOption,Rn=Ce.menuItemSelectedIcon,Bt=Ce.virtual,Qt=Ce.direction,rn=Ce.listHeight,Vn=rn===void 0?200:rn,$n=Ce.listItemHeight,br=$n===void 0?20:$n,sr=Ce.value,kr=Ce.defaultValue,Hr=Ce.labelInValue,ta=Ce.onChange,Rr=(0,Pe.Z)(Ce,tn),Pa=Bi(St),sa=wl(bt),Da=!!(!je&&Yt),Ga=fe.useMemo(function(){return Ma===void 0&&bt==="combobox"?!1:Ma},[Ma,bt]),la=fe.useMemo(function(){return so(Wn,Da)},[JSON.stringify(Wn),Da]),ga=ut("",{value:On!==void 0?On:bn,postState:function(Di){return Di||""}}),fa=(0,me.Z)(ga,2),Ba=fa[0],Ea=fa[1],ua=mi(je,Yt,la,yt,Ht),Xa=ua.valueOptions,ra=ua.labelOptions,Ya=ua.options,Ha=fe.useCallback(function(Ja){var Di=Zt(Ja);return Di.map(function(Ri){var ya,Qa,Ji,ul,Jl;if(fr(Ri))ya=Ri;else{var ws;Ji=Ri.key,Qa=Ri.label,ya=(ws=Ri.value)!==null&&ws!==void 0?ws:Ji}var Te=Xa.get(ya);if(Te){var Ze;if(Qa===void 0&&(Qa=Te==null?void 0:Te[Ht||la.label]),Ji===void 0&&(Ji=(Ze=Te==null?void 0:Te.key)!==null&&Ze!==void 0?Ze:ya),ul=Te==null?void 0:Te.disabled,Jl=Te==null?void 0:Te.title,0)var Et}return{label:Qa,value:ya,key:Ji,disabled:ul,title:Jl}})},[la,Ht,Xa]),Ua=ut(kr,{value:sr}),La=(0,me.Z)(Ua,2),si=La[0],gi=La[1],zo=fe.useMemo(function(){var Ja,Di=Ha(si);return bt==="combobox"&&mn((Ja=Di[0])===null||Ja===void 0?void 0:Ja.value)?[]:Di},[si,Ha,bt]),No=zl(zo,Xa),yo=(0,me.Z)(No,2),ll=yo[0],Lo=yo[1],kl=fe.useMemo(function(){if(!bt&&ll.length===1){var Ja=ll[0];if(Ja.value===null&&(Ja.label===null||Ja.label===void 0))return[]}return ll.map(function(Di){var Ri;return(0,ue.Z)((0,ue.Z)({},Di),{},{label:(Ri=Di.label)!==null&&Ri!==void 0?Ri:Di.value})})},[bt,ll]),Pl=fe.useMemo(function(){return new Set(ll.map(function(Ja){return Ja.value}))},[ll]);fe.useEffect(function(){if(bt==="combobox"){var Ja,Di=(Ja=ll[0])===null||Ja===void 0?void 0:Ja.value;Ea(kt(Di)?String(Di):"")}},[ll]);var _i=xi(function(Ja,Di){var Ri,ya=Di!=null?Di:Ja;return Ri={},(0,rt.Z)(Ri,la.value,Ja),(0,rt.Z)(Ri,la.label,ya),Ri}),fi=fe.useMemo(function(){if(bt!=="tags")return Ya;var Ja=(0,ne.Z)(Ya),Di=function(ya){return Xa.has(ya)};return(0,ne.Z)(ll).sort(function(Ri,ya){return Ri.value<ya.value?-1:1}).forEach(function(Ri){var ya=Ri.value;Di(ya)||Ja.push(_i(ya,Ri.label))}),Ja},[_i,Ya,Xa,ll,bt]),bo=Sl(fi,la,Ba,Ga,yt),Ho=fe.useMemo(function(){return bt!=="tags"||!Ba||bo.some(function(Ja){return Ja[yt||"value"]===Ba})||bo.some(function(Ja){return Ja[la.value]===Ba})?bo:[_i(Ba)].concat((0,ne.Z)(bo))},[_i,yt,bt,bo,Ba,la]),co=fe.useMemo(function(){return _e?(0,ne.Z)(Ho).sort(function(Ja,Di){return _e(Ja,Di)}):Ho},[Ho,_e]),wo=fe.useMemo(function(){return xo(co,{fieldNames:la,childrenAsData:Da})},[co,la,Da]),oo=function(Di){var Ri=Ha(Di);if(gi(Ri),ta&&(Ri.length!==ll.length||Ri.some(function(Ji,ul){var Jl;return((Jl=ll[ul])===null||Jl===void 0?void 0:Jl.value)!==(Ji==null?void 0:Ji.value)}))){var ya=Hr?Ri:Ri.map(function(Ji){return Ji.value}),Qa=Ri.map(function(Ji){return ml(Lo(Ji.value))});ta(sa?ya:ya[0],sa?Qa:Qa[0])}},_o=fe.useState(null),sl=(0,me.Z)(_o,2),Nl=sl[0],Fl=sl[1],Fo=fe.useState(0),to=(0,me.Z)(Fo,2),tl=to[0],hl=to[1],Io=fn!==void 0?fn:bt!=="combobox",Zo=fe.useCallback(function(Ja,Di){var Ri=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ya=Ri.source,Qa=ya===void 0?"keyboard":ya;hl(Di),Wt&&bt==="combobox"&&Ja!==null&&Qa==="keyboard"&&Fl(String(Ja))},[Wt,bt]),Xi=function(Di,Ri,ya){var Qa=function(){var Sn,nr=Lo(Di);return[Hr?{label:nr==null?void 0:nr[la.label],value:Di,key:(Sn=nr==null?void 0:nr.key)!==null&&Sn!==void 0?Sn:Di}:Di,ml(nr)]};if(Ri&&ur){var Ji=Qa(),ul=(0,me.Z)(Ji,2),Jl=ul[0],ws=ul[1];ur(Jl,ws)}else if(!Ri&&Pr&&ya!=="clear"){var Te=Qa(),Ze=(0,me.Z)(Te,2),Et=Ze[0],Lt=Ze[1];Pr(Et,Lt)}},Oi=xi(function(Ja,Di){var Ri,ya=sa?Di.selected:!0;ya?Ri=sa?[].concat((0,ne.Z)(ll),[Ja]):[Ja]:Ri=ll.filter(function(Qa){return Qa.value!==Ja}),oo(Ri),Xi(Ja,ya),bt==="combobox"?Fl(""):(!wl||ir)&&(Ea(""),Fl(""))}),nl=function(Di,Ri){oo(Di);var ya=Ri.type,Qa=Ri.values;(ya==="remove"||ya==="clear")&&Qa.forEach(function(Ji){Xi(Ji.value,!1,ya)})},Uo=function(Di,Ri){if(Ea(Di),Fl(null),Ri.source==="submit"){var ya=(Di||"").trim();if(ya){var Qa=Array.from(new Set([].concat((0,ne.Z)(Pl),[ya])));oo(Qa),Xi(ya,!0),Ea("")}return}Ri.source!=="blur"&&(bt==="combobox"&&oo(Di),Mr==null||Mr(Di))},Bl=function(Di){var Ri=Di;bt!=="tags"&&(Ri=Di.map(function(Qa){var Ji=ra.get(Qa);return Ji==null?void 0:Ji.value}).filter(function(Qa){return Qa!==void 0}));var ya=Array.from(new Set([].concat((0,ne.Z)(Pl),(0,ne.Z)(Ri))));oo(ya),ya.forEach(function(Qa){Xi(Qa,!0)})},no=fe.useMemo(function(){var Ja=Bt!==!1&&na!==!1;return(0,ue.Z)((0,ue.Z)({},ua),{},{flattenOptions:wo,onActiveValue:Zo,defaultActiveFirstOption:Io,onSelect:Oi,menuItemSelectedIcon:Rn,rawValues:Pl,fieldNames:la,virtual:Ja,direction:Qt,listHeight:Vn,listItemHeight:br,childrenAsData:Da})},[ua,wo,Zo,Io,Oi,Rn,Pl,la,Bt,na,Vn,br,Da]);return fe.createElement(tt.Provider,{value:no},fe.createElement(dl,(0,Se.Z)({},Rr,{id:Pa,prefixCls:_t,ref:Ie,omitDomProps:Yn,mode:bt,displayValues:kl,onDisplayValuesChange:nl,direction:Qt,searchValue:Ba,onSearch:Uo,autoClearSearchValue:ir,onSearchSplit:Bl,dropdownMatchSelectWidth:na,OptionList:Qe,emptyOptions:!wo.length,activeValue:Nl,activeDescendantId:"".concat(Pa,"_list_").concat(tl)})))}),Dn=Cr;Dn.Option=Ao,Dn.OptGroup=di;var qn=null,Xn=null,Ar=ee(17341);function Or(Ce){var Ie=fe.useRef(!1),St=fe.useState(Ce),bt=(0,me.Z)(St,2),en=bt[0],_t=bt[1];fe.useEffect(function(){return Ie.current=!1,function(){Ie.current=!0}},[]);function Wt(Wn,bn){bn&&Ie.current||_t(Wn)}return[en,Wt]}function Kr(Ce){return Ce!==void 0}function Tr(Ce,Ie){var St=Ie||{},bt=St.defaultValue,en=St.value,_t=St.onChange,Wt=St.postState,Wn=Or(function(){return Kr(en)?en:Kr(bt)?typeof bt=="function"?bt():bt:typeof Ce=="function"?Ce():Ce}),bn=(0,me.Z)(Wn,2),On=bn[0],Mr=bn[1],vr=en!==void 0?en:On,ir=Wt?Wt(vr):vr,ur=gn(_t),Pr=Or([vr]),Wr=(0,me.Z)(Pr,2),na=Wr[0],Ma=Wr[1];xt(function(){var yt=na[0];On!==yt&&ur(On,yt)},[na]),xt(function(){Kr(en)||Mr(en)},[en]);var _e=gn(function(yt,Ht){Mr(yt,Ht),Ma([vr],Ht)});return[ir,_e]}var _r=fe.createContext(null),Zr=_r,qr="__rc_cascader_search_mark__",Dt=function(Ie,St,bt){var en=bt.label;return St.some(function(_t){return String(_t[en]).toLowerCase().includes(Ie.toLowerCase())})},Pt=function(Ie,St,bt,en){return St.map(function(_t){return _t[en.label]}).join(" / ")},Kn=function(Ce,Ie,St,bt,en,_t){var Wt=en.filter,Wn=Wt===void 0?Dt:Wt,bn=en.render,On=bn===void 0?Pt:bn,Mr=en.limit,vr=Mr===void 0?50:Mr,ir=en.sort;return fe.useMemo(function(){var ur=[];if(!Ce)return[];function Pr(Wr,na){var Ma=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Wr.forEach(function(_e){if(!(!ir&&vr!==!1&&vr>0&&ur.length>=vr)){var yt=[].concat((0,ne.Z)(na),[_e]),Ht=_e[St.children],je=Ma||_e.disabled;if((!Ht||Ht.length===0||_t)&&Wn(Ce,yt,{label:St.label})){var Yt;ur.push((0,ue.Z)((0,ue.Z)({},_e),{},(Yt={disabled:je},(0,rt.Z)(Yt,St.label,On(Ce,yt,bt,St)),(0,rt.Z)(Yt,qr,yt),(0,rt.Z)(Yt,St.children,void 0),Yt)))}Ht&&Pr(_e[St.children],yt,je)}})}return Pr(Ie,[]),ir&&ur.sort(function(Wr,na){return ir(Wr[qr],na[qr],Ce,St)}),vr!==!1&&vr>0?ur.slice(0,vr):ur},[Ce,Ie,St,bt,On,_t,Wn,ir,vr])},Bn="__RC_CASCADER_SPLIT__",xr="SHOW_PARENT",zr="SHOW_CHILD";function Lr(Ce){return Ce.join(Bn)}function ca(Ce){return Ce.map(Lr)}function un(Ce){return Ce.split(Bn)}function Jt(Ce){var Ie=Ce||{},St=Ie.label,bt=Ie.value,en=Ie.children,_t=bt||"value";return{label:St||"label",value:_t,key:_t,children:en||"children"}}function yn(Ce,Ie){var St,bt;return(St=Ce.isLeaf)!==null&&St!==void 0?St:!((bt=Ce[Ie.children])!==null&&bt!==void 0&&bt.length)}function lr(Ce){var Ie=Ce.parentElement;if(Ie){var St=Ce.offsetTop-Ie.offsetTop;St-Ie.scrollTop<0?Ie.scrollTo({top:St}):St+Ce.offsetHeight-Ie.scrollTop>Ie.offsetHeight&&Ie.scrollTo({top:St+Ce.offsetHeight-Ie.offsetHeight})}}function Xr(Ce,Ie){return Ce.map(function(St){var bt;return(bt=St[qr])===null||bt===void 0?void 0:bt.map(function(en){return en[Ie.value]})})}function Ir(Ce,Ie,St){var bt=new Set(Ce),en=Ie();return Ce.filter(function(_t){var Wt=en[_t],Wn=Wt?Wt.parent:null,bn=Wt?Wt.children:null;return Wt&&Wt.node.disabled?!0:St===zr?!(bn&&bn.some(function(On){return On.key&&bt.has(On.key)})):!(Wn&&!Wn.node.disabled&&bt.has(Wn.key))})}function yr(Ce,Ie,St){for(var bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,en=Ie,_t=[],Wt=function(){var On,Mr,vr,ir=Ce[Wn],ur=(On=en)===null||On===void 0?void 0:On.findIndex(function(Wr){var na=Wr[St.value];return bt?String(na)===String(ir):na===ir}),Pr=ur!==-1?(Mr=en)===null||Mr===void 0?void 0:Mr[ur]:null;_t.push({value:(vr=Pr==null?void 0:Pr[St.value])!==null&&vr!==void 0?vr:ir,index:ur,option:Pr}),en=Pr==null?void 0:Pr[St.children]},Wn=0;Wn<Ce.length;Wn+=1)Wt();return _t}var ba=function(Ce,Ie,St,bt,en){return fe.useMemo(function(){var _t=en||function(Wt){var Wn=bt?Wt.slice(-1):Wt,bn=" / ";return Wn.every(function(On){return["string","number"].includes((0,Ue.Z)(On))})?Wn.join(bn):Wn.reduce(function(On,Mr,vr){var ir=fe.isValidElement(Mr)?fe.cloneElement(Mr,{key:vr}):Mr;return vr===0?[ir]:[].concat((0,ne.Z)(On),[bn,ir])},[])};return Ce.map(function(Wt){var Wn,bn,On=yr(Wt,Ie,St),Mr=_t(On.map(function(ir){var ur,Pr=ir.option,Wr=ir.value;return(ur=Pr==null?void 0:Pr[St.label])!==null&&ur!==void 0?ur:Wr}),On.map(function(ir){var ur=ir.option;return ur})),vr=Lr(Wt);return{label:Mr,value:vr,key:vr,valueCells:Wt,disabled:(Wn=On[On.length-1])===null||Wn===void 0||(bn=Wn.option)===null||bn===void 0?void 0:bn.disabled}})},[Ce,Ie,St,en,bt])},va=ee(1089),Oa=function(Ce,Ie){var St=fe.useRef({options:null,info:null}),bt=fe.useCallback(function(){return St.current.options!==Ce&&(St.current.options=Ce,St.current.info=(0,va.I8)(Ce,{fieldNames:Ie,initWrapper:function(_t){return(0,ue.Z)((0,ue.Z)({},_t),{},{pathKeyEntities:{}})},processEntity:function(_t,Wt){var Wn=_t.nodes.map(function(bn){return bn[Ie.value]}).join(Bn);Wt.pathKeyEntities[Wn]=_t,_t.key=Wn}})),St.current.info.pathKeyEntities},[Ie,Ce]);return bt},da=function(Ce,Ie){return fe.useCallback(function(St){var bt=[],en=[];return St.forEach(function(_t){var Wt=yr(_t,Ce,Ie);Wt.every(function(Wn){return Wn.option})?en.push(_t):bt.push(_t)}),[en,bt]},[Ce,Ie])},Ur={},Wa=[],ai=function(Ie){Wa.push(Ie)};function _a(Ce,Ie){if(0)var St}function Va(Ce,Ie){if(0)var St}function ei(){Ur={}}function Yi(Ce,Ie,St){!Ie&&!Ur[St]&&(Ce(!1,St),Ur[St]=!0)}function Ei(Ce,Ie){Yi(_a,Ce,Ie)}function Wi(Ce,Ie){Yi(Va,Ce,Ie)}Ei.preMessage=ai,Ei.resetWarned=ei,Ei.noteOnce=Wi;var Gi=null;function po(Ce){return fe.useMemo(function(){if(!Ce)return[!1,{}];var Ie={matchInputWidth:!0,limit:50};return Ce&&(0,Ue.Z)(Ce)==="object"&&(Ie=(0,ue.Z)((0,ue.Z)({},Ie),Ce)),Ie.limit<=0&&delete Ie.limit,[!0,Ie]},[Ce])}var Qi=fe.memo(function(Ce){var Ie=Ce.children;return Ie},function(Ce,Ie){return!Ie.open}),So=Qi;function Ki(Ce){var Ie,St=Ce.prefixCls,bt=Ce.checked,en=Ce.halfChecked,_t=Ce.disabled,Wt=Ce.onClick,Wn=Ce.disableCheckbox,bn=fe.useContext(Zr),On=bn.checkable,Mr=typeof On!="boolean"?On:null;return fe.createElement("span",{className:de()("".concat(St),(Ie={},(0,rt.Z)(Ie,"".concat(St,"-checked"),bt),(0,rt.Z)(Ie,"".concat(St,"-indeterminate"),!bt&&en),(0,rt.Z)(Ie,"".concat(St,"-disabled"),_t||Wn),Ie)),onClick:Wt},Mr)}var Ai="__cascader_fix_label__";function ko(Ce){var Ie=Ce.prefixCls,St=Ce.multiple,bt=Ce.options,en=Ce.activeValue,_t=Ce.prevValuePath,Wt=Ce.onToggleOpen,Wn=Ce.onSelect,bn=Ce.onActive,On=Ce.checkedSet,Mr=Ce.halfCheckedSet,vr=Ce.loadingKeys,ir=Ce.isSelectable,ur=Ce.searchValue,Pr="".concat(Ie,"-menu"),Wr="".concat(Ie,"-menu-item"),na=fe.useContext(Zr),Ma=na.fieldNames,_e=na.changeOnSelect,yt=na.expandTrigger,Ht=na.expandIcon,je=na.loadingIcon,Yt=na.dropdownMenuColumnStyle,fn=yt==="hover",Rn=fe.useMemo(function(){return bt.map(function(Bt){var Qt,rn=Bt.disabled,Vn=Bt.disableCheckbox,$n=Bt[qr],br=(Qt=Bt[Ai])!==null&&Qt!==void 0?Qt:Bt[Ma.label],sr=Bt[Ma.value],kr=yn(Bt,Ma),Hr=$n?$n.map(function(Da){return Da[Ma.value]}):[].concat((0,ne.Z)(_t),[sr]),ta=Lr(Hr),Rr=vr.includes(ta),Pa=On.has(ta),sa=Mr.has(ta);return{disabled:rn,label:br,value:sr,isLeaf:kr,isLoading:Rr,checked:Pa,halfChecked:sa,option:Bt,disableCheckbox:Vn,fullPath:Hr,fullPathKey:ta}})},[bt,On,Ma,Mr,vr,_t]);return fe.createElement("ul",{className:Pr,role:"menu"},Rn.map(function(Bt){var Qt,rn=Bt.disabled,Vn=Bt.label,$n=Bt.value,br=Bt.isLeaf,sr=Bt.isLoading,kr=Bt.checked,Hr=Bt.halfChecked,ta=Bt.option,Rr=Bt.fullPath,Pa=Bt.fullPathKey,sa=Bt.disableCheckbox,Da=function(){if(!(rn||ur)){var fa=(0,ne.Z)(Rr);fn&&br&&fa.pop(),bn(fa)}},Ga=function(){ir(ta)&&Wn(Rr,br)},la;return typeof ta.title=="string"?la=ta.title:typeof Vn=="string"&&(la=Vn),fe.createElement("li",{key:Pa,className:de()(Wr,(Qt={},(0,rt.Z)(Qt,"".concat(Wr,"-expand"),!br),(0,rt.Z)(Qt,"".concat(Wr,"-active"),en===$n||en===Pa),(0,rt.Z)(Qt,"".concat(Wr,"-disabled"),rn),(0,rt.Z)(Qt,"".concat(Wr,"-loading"),sr),Qt)),style:Yt,role:"menuitemcheckbox",title:la,"aria-checked":kr,"data-path-key":Pa,onClick:function(){Da(),!sa&&(!St||br)&&Ga()},onDoubleClick:function(){_e&&Wt(!1)},onMouseEnter:function(){fn&&Da()},onMouseDown:function(fa){fa.preventDefault()}},St&&fe.createElement(Ki,{prefixCls:"".concat(Ie,"-checkbox"),checked:kr,halfChecked:Hr,disabled:rn||sa,disableCheckbox:sa,onClick:function(fa){sa||(fa.stopPropagation(),Ga())}}),fe.createElement("div",{className:"".concat(Wr,"-content")},Vn),!sr&&Ht&&!br&&fe.createElement("div",{className:"".concat(Wr,"-expand-icon")},Ht),sr&&je&&fe.createElement("div",{className:"".concat(Wr,"-loading-icon")},je))}))}var Bo=function(){var Ce=Kt(),Ie=Ce.multiple,St=Ce.open,bt=fe.useContext(Zr),en=bt.values,_t=fe.useState([]),Wt=(0,me.Z)(_t,2),Wn=Wt[0],bn=Wt[1];return fe.useEffect(function(){if(St&&!Ie){var On=en[0];bn(On||[])}},[St]),[Wn,bn]},zi={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Ie){var St=Ie.keyCode;if(Ie.altKey&&!Ie.ctrlKey||Ie.metaKey||St>=zi.F1&&St<=zi.F12)return!1;switch(St){case zi.ALT:case zi.CAPS_LOCK:case zi.CONTEXT_MENU:case zi.CTRL:case zi.DOWN:case zi.END:case zi.ESC:case zi.HOME:case zi.INSERT:case zi.LEFT:case zi.MAC_FF_META:case zi.META:case zi.NUMLOCK:case zi.NUM_CENTER:case zi.PAGE_DOWN:case zi.PAGE_UP:case zi.PAUSE:case zi.PRINT_SCREEN:case zi.RIGHT:case zi.SHIFT:case zi.UP:case zi.WIN_KEY:case zi.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Ie){if(Ie>=zi.ZERO&&Ie<=zi.NINE||Ie>=zi.NUM_ZERO&&Ie<=zi.NUM_MULTIPLY||Ie>=zi.A&&Ie<=zi.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ie===0)return!0;switch(Ie){case zi.SPACE:case zi.QUESTION_MARK:case zi.NUM_PLUS:case zi.NUM_MINUS:case zi.NUM_PERIOD:case zi.NUM_DIVISION:case zi.SEMICOLON:case zi.DASH:case zi.EQUALS:case zi.COMMA:case zi.PERIOD:case zi.SLASH:case zi.APOSTROPHE:case zi.SINGLE_QUOTE:case zi.OPEN_SQUARE_BRACKET:case zi.BACKSLASH:case zi.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},gl=zi,El=function(Ce,Ie,St,bt,en,_t){var Wt=Kt(),Wn=Wt.direction,bn=Wt.searchValue,On=Wt.toggleOpen,Mr=Wt.open,vr=Wn==="rtl",ir=fe.useMemo(function(){for(var Yt=-1,fn=Ie,Rn=[],Bt=[],Qt=bt.length,rn=Xr(Ie,St),Vn=function(ta){var Rr=fn.findIndex(function(Pa,sa){return(rn[sa]?Lr(rn[sa]):Pa[St.value])===bt[ta]});if(Rr===-1)return"break";Yt=Rr,Rn.push(Yt),Bt.push(bt[ta]),fn=fn[Yt][St.children]},$n=0;$n<Qt&&fn;$n+=1){var br=Vn($n);if(br==="break")break}for(var sr=Ie,kr=0;kr<Rn.length-1;kr+=1)sr=sr[Rn[kr]][St.children];return[Bt,Yt,sr,rn]},[bt,St,Ie]),ur=(0,me.Z)(ir,4),Pr=ur[0],Wr=ur[1],na=ur[2],Ma=ur[3],_e=function(fn){en(fn)},yt=function(fn){var Rn=na.length,Bt=Wr;Bt===-1&&fn<0&&(Bt=Rn);for(var Qt=0;Qt<Rn;Qt+=1){Bt=(Bt+fn+Rn)%Rn;var rn=na[Bt];if(rn&&!rn.disabled){var Vn=Pr.slice(0,-1).concat(Ma[Bt]?Lr(Ma[Bt]):rn[St.value]);_e(Vn);return}}},Ht=function(){if(Pr.length>1){var fn=Pr.slice(0,-1);_e(fn)}else On(!1)},je=function(){var fn,Rn=((fn=na[Wr])===null||fn===void 0?void 0:fn[St.children])||[],Bt=Rn.find(function(rn){return!rn.disabled});if(Bt){var Qt=[].concat((0,ne.Z)(Pr),[Bt[St.value]]);_e(Qt)}};fe.useImperativeHandle(Ce,function(){return{onKeyDown:function(fn){var Rn=fn.which;switch(Rn){case gl.UP:case gl.DOWN:{var Bt=0;Rn===gl.UP?Bt=-1:Rn===gl.DOWN&&(Bt=1),Bt!==0&&yt(Bt);break}case gl.LEFT:{if(bn)break;vr?je():Ht();break}case gl.RIGHT:{if(bn)break;vr?Ht():je();break}case gl.BACKSPACE:{bn||Ht();break}case gl.ENTER:{if(Pr.length){var Qt=na[Wr],rn=(Qt==null?void 0:Qt[qr])||[];rn.length?_t(rn.map(function(Vn){return Vn[St.value]}),rn[rn.length-1]):_t(Pr,na[Wr])}break}case gl.ESC:On(!1),Mr&&fn.stopPropagation()}},onKeyUp:function(){}}})},il=fe.forwardRef(function(Ce,Ie){var St,bt,en,_t,Wt=Kt(),Wn=Wt.prefixCls,bn=Wt.multiple,On=Wt.searchValue,Mr=Wt.toggleOpen,vr=Wt.notFoundContent,ir=Wt.direction,ur=Wt.open,Pr=fe.useRef(),Wr=ir==="rtl",na=fe.useContext(Zr),Ma=na.options,_e=na.values,yt=na.halfValues,Ht=na.fieldNames,je=na.changeOnSelect,Yt=na.onSelect,fn=na.searchOptions,Rn=na.dropdownPrefixCls,Bt=na.loadData,Qt=na.expandTrigger,rn=Rn||Wn,Vn=fe.useState([]),$n=(0,me.Z)(Vn,2),br=$n[0],sr=$n[1],kr=function(La){if(!(!Bt||On)){var si=yr(La,Ma,Ht),gi=si.map(function(yo){var ll=yo.option;return ll}),zo=gi[gi.length-1];if(zo&&!yn(zo,Ht)){var No=Lr(La);sr(function(yo){return[].concat((0,ne.Z)(yo),[No])}),Bt(gi)}}};fe.useEffect(function(){br.length&&br.forEach(function(Ua){var La=un(Ua),si=yr(La,Ma,Ht,!0).map(function(zo){var No=zo.option;return No}),gi=si[si.length-1];(!gi||gi[Ht.children]||yn(gi,Ht))&&sr(function(zo){return zo.filter(function(No){return No!==Ua})})})},[Ma,br,Ht]);var Hr=fe.useMemo(function(){return new Set(ca(_e))},[_e]),ta=fe.useMemo(function(){return new Set(ca(yt))},[yt]),Rr=Bo(),Pa=(0,me.Z)(Rr,2),sa=Pa[0],Da=Pa[1],Ga=function(La){Da(La),kr(La)},la=function(La){var si=La.disabled,gi=yn(La,Ht);return!si&&(gi||je||bn)},ga=function(La,si){var gi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Yt(La),!bn&&(si||je&&(Qt==="hover"||gi))&&Mr(!1)},fa=fe.useMemo(function(){return On?fn:Ma},[On,fn,Ma]),Ba=fe.useMemo(function(){for(var Ua=[{options:fa}],La=fa,si=Xr(La,Ht),gi=function(){var ll=sa[zo],Lo=La.find(function(Pl,_i){return(si[_i]?Lr(si[_i]):Pl[Ht.value])===ll}),kl=Lo==null?void 0:Lo[Ht.children];if(!(kl!=null&&kl.length))return"break";La=kl,Ua.push({options:kl})},zo=0;zo<sa.length;zo+=1){var No=gi();if(No==="break")break}return Ua},[fa,sa,Ht]),Ea=function(La,si){la(si)&&ga(La,yn(si,Ht),!0)};El(Ie,fa,Ht,sa,Ga,Ea),fe.useEffect(function(){for(var Ua=0;Ua<sa.length;Ua+=1){var La,si=sa.slice(0,Ua+1),gi=Lr(si),zo=(La=Pr.current)===null||La===void 0?void 0:La.querySelector('li[data-path-key="'.concat(gi.replace(/\\{0,2}"/g,'\\"'),'"]'));zo&&lr(zo)}},[sa]);var ua=!((St=Ba[0])!==null&&St!==void 0&&(bt=St.options)!==null&&bt!==void 0&&bt.length),Xa=[(en={},(0,rt.Z)(en,Ht.value,"__EMPTY__"),(0,rt.Z)(en,Ai,vr),(0,rt.Z)(en,"disabled",!0),en)],ra=(0,ue.Z)((0,ue.Z)({},Ce),{},{multiple:!ua&&bn,onSelect:ga,onActive:Ga,onToggleOpen:Mr,checkedSet:Hr,halfCheckedSet:ta,loadingKeys:br,isSelectable:la}),Ya=ua?[{options:Xa}]:Ba,Ha=Ya.map(function(Ua,La){var si=sa.slice(0,La),gi=sa[La];return fe.createElement(ko,(0,Se.Z)({key:La},ra,{searchValue:On,prefixCls:rn,options:Ua.options,prevValuePath:si,activeValue:gi}))});return fe.createElement(So,{open:ur},fe.createElement("div",{className:de()("".concat(rn,"-menus"),(_t={},(0,rt.Z)(_t,"".concat(rn,"-menu-empty"),ua),(0,rt.Z)(_t,"".concat(rn,"-rtl"),Wr),_t)),ref:Pr},Ha))}),Vo=il;function go(Ce){var Ie=Ce.onPopupVisibleChange,St=Ce.popupVisible,bt=Ce.popupClassName,en=Ce.popupPlacement;warning(!Ie,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(St===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(bt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(en===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function _l(Ce,Ie){if(Ce){var St=function bt(en){for(var _t=0;_t<en.length;_t++){var Wt=en[_t];if(Wt[Ie==null?void 0:Ie.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(Wt[Ie==null?void 0:Ie.children])&&bt(Wt[Ie==null?void 0:Ie.children]))return!0}};St(Ce)}}var jo=null,mo=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function el(Ce){return Array.isArray(Ce)&&Array.isArray(Ce[0])}function Vl(Ce){return Ce?el(Ce)?Ce:(Ce.length===0?[]:[Ce]).map(function(Ie){return Array.isArray(Ie)?Ie:[Ie]}):[]}var fl=fe.forwardRef(function(Ce,Ie){var St=Ce.id,bt=Ce.prefixCls,en=bt===void 0?"rc-cascader":bt,_t=Ce.fieldNames,Wt=Ce.defaultValue,Wn=Ce.value,bn=Ce.changeOnSelect,On=Ce.onChange,Mr=Ce.displayRender,vr=Ce.checkable,ir=Ce.autoClearSearchValue,ur=ir===void 0?!0:ir,Pr=Ce.searchValue,Wr=Ce.onSearch,na=Ce.showSearch,Ma=Ce.expandTrigger,_e=Ce.options,yt=Ce.dropdownPrefixCls,Ht=Ce.loadData,je=Ce.popupVisible,Yt=Ce.open,fn=Ce.popupClassName,Rn=Ce.dropdownClassName,Bt=Ce.dropdownMenuColumnStyle,Qt=Ce.popupPlacement,rn=Ce.placement,Vn=Ce.onDropdownVisibleChange,$n=Ce.onPopupVisibleChange,br=Ce.expandIcon,sr=br===void 0?">":br,kr=Ce.loadingIcon,Hr=Ce.children,ta=Ce.dropdownMatchSelectWidth,Rr=ta===void 0?!1:ta,Pa=Ce.showCheckedStrategy,sa=Pa===void 0?xr:Pa,Da=(0,Pe.Z)(Ce,mo),Ga=Bi(St),la=!!vr,ga=Tr(Wt,{value:Wn,postState:Vl}),fa=(0,me.Z)(ga,2),Ba=fa[0],Ea=fa[1],ua=fe.useMemo(function(){return Jt(_t)},[JSON.stringify(_t)]),Xa=fe.useMemo(function(){return _e||[]},[_e]),ra=Oa(Xa,ua),Ya=fe.useCallback(function(Zo){var Xi=ra();return Zo.map(function(Oi){var nl=Xi[Oi].nodes;return nl.map(function(Uo){return Uo[ua.value]})})},[ra,ua]),Ha=Tr("",{value:Pr,postState:function(Xi){return Xi||""}}),Ua=(0,me.Z)(Ha,2),La=Ua[0],si=Ua[1],gi=function(Xi,Oi){si(Xi),Oi.source!=="blur"&&Wr&&Wr(Xi)},zo=po(na),No=(0,me.Z)(zo,2),yo=No[0],ll=No[1],Lo=Kn(La,Xa,ua,yt||en,ll,bn),kl=da(Xa,ua),Pl=fe.useMemo(function(){var Zo=kl(Ba),Xi=(0,me.Z)(Zo,2),Oi=Xi[0],nl=Xi[1];if(!la||!Ba.length)return[Oi,[],nl];var Uo=ca(Oi),Bl=ra(),no=(0,Ar.S)(Uo,!0,Bl),Ja=no.checkedKeys,Di=no.halfCheckedKeys;return[Ya(Ja),Ya(Di),nl]},[la,Ba,ra,Ya,kl]),_i=(0,me.Z)(Pl,3),fi=_i[0],bo=_i[1],Ho=_i[2],co=fe.useMemo(function(){var Zo=ca(fi),Xi=Ir(Zo,ra,sa);return[].concat((0,ne.Z)(Ho),(0,ne.Z)(Ya(Xi)))},[fi,ra,Ya,Ho,sa]),wo=ba(co,Xa,ua,la,Mr),oo=gn(function(Zo){if(Ea(Zo),On){var Xi=Vl(Zo),Oi=Xi.map(function(Bl){return yr(Bl,Xa,ua).map(function(no){return no.option})}),nl=la?Xi:Xi[0],Uo=la?Oi:Oi[0];On(nl,Uo)}}),_o=gn(function(Zo){if((!la||ur)&&si(""),!la)oo(Zo);else{var Xi=Lr(Zo),Oi=ca(fi),nl=ca(bo),Uo=Oi.includes(Xi),Bl=Ho.some(function(Jl){return Lr(Jl)===Xi}),no=fi,Ja=Ho;if(Bl&&!Uo)Ja=Ho.filter(function(Jl){return Lr(Jl)!==Xi});else{var Di=Uo?Oi.filter(function(Jl){return Jl!==Xi}):[].concat((0,ne.Z)(Oi),[Xi]),Ri=ra(),ya;if(Uo){var Qa=(0,Ar.S)(Di,{checked:!1,halfCheckedKeys:nl},Ri);ya=Qa.checkedKeys}else{var Ji=(0,Ar.S)(Di,!0,Ri);ya=Ji.checkedKeys}var ul=Ir(ya,ra,sa);no=Ya(ul)}oo([].concat((0,ne.Z)(Ja),(0,ne.Z)(no)))}}),sl=function(Xi,Oi){if(Oi.type==="clear"){oo([]);return}var nl=Oi.values[0],Uo=nl.valueCells;_o(Uo)},Nl=Yt!==void 0?Yt:je,Fl=Rn||fn,Fo=rn||Qt,to=function(Xi){Vn==null||Vn(Xi),$n==null||$n(Xi)},tl=fe.useMemo(function(){return{options:Xa,fieldNames:ua,values:fi,halfValues:bo,changeOnSelect:bn,onSelect:_o,checkable:vr,searchOptions:Lo,dropdownPrefixCls:yt,loadData:Ht,expandTrigger:Ma,expandIcon:sr,loadingIcon:kr,dropdownMenuColumnStyle:Bt}},[Xa,ua,fi,bo,bn,_o,vr,Lo,yt,Ht,Ma,sr,kr,Bt]),hl=!(La?Lo:Xa).length,Io=La&&ll.matchInputWidth||hl?{}:{minWidth:"auto"};return fe.createElement(Zr.Provider,{value:tl},fe.createElement(dl,(0,Se.Z)({},Da,{ref:Ie,id:Ga,prefixCls:en,autoClearSearchValue:ur,dropdownMatchSelectWidth:Rr,dropdownStyle:Io,displayValues:wo,onDisplayValuesChange:sl,mode:la?"multiple":void 0,searchValue:La,onSearch:gi,showSearch:yo,OptionList:Vo,emptyOptions:hl,open:Nl,dropdownClassName:Fl,placement:Fo,onDropdownVisibleChange:to,getRawInputElement:function(){return Hr}})))});fl.SHOW_PARENT=xr,fl.SHOW_CHILD=zr;var Dl=fl,Oo=Dl,jl=ee(10366),ls=ee(33603),Ql=ee(8745),Al=ee(9708),Tl=ee(53124),$l=ee(88258),Rl=ee(98866),Il=ee(98675),ss=ee(65223),us=ee(87244),ms=ee(13458),ts=ee(78642),ns=ee(46163),Go=ee(4173),ol=ee(63185),Wl=ee(14747),Xl=ee(80110),hs=ee(67968);const xs=Ce=>{const{prefixCls:Ie,componentCls:St,antCls:bt}=Ce,en=`${St}-menu-item`,_t=`
|
|
|
&${en}-expand ${en}-expand-icon,
|
|
|
${en}-loading-icon
|
|
|
`;return[{[St]:{width:Ce.controlWidth}},{[`${St}-dropdown`]:[(0,ol.C2)(`${Ie}-checkbox`,Ce),{[`&${bt}-select-dropdown`]:{padding:0}},{[St]:{"&-checkbox":{top:0,marginInlineEnd:Ce.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${St}-menu-empty`]:{[`${St}-menu`]:{width:"100%",height:"auto",[en]:{color:Ce.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Ce.controlItemWidth,height:Ce.dropdownHeight,margin:0,padding:Ce.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Ce.lineWidth}px ${Ce.lineType} ${Ce.colorSplit}`},"&-item":Object.assign(Object.assign({},Wl.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Ce.optionPadding,lineHeight:Ce.lineHeight,cursor:"pointer",transition:`all ${Ce.motionDurationMid}`,borderRadius:Ce.borderRadiusSM,"&:hover":{background:Ce.controlItemBgHover},"&-disabled":{color:Ce.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[_t]:{color:Ce.colorTextDisabled}},[`&-active:not(${en}-disabled)`]:{"&, &:hover":{fontWeight:Ce.optionSelectedFontWeight,backgroundColor:Ce.optionSelectedBg}},"&-content":{flex:"auto"},[_t]:{marginInlineStart:Ce.paddingXXS,color:Ce.colorTextDescription,fontSize:Ce.fontSizeIcon},"&-keyword":{color:Ce.colorHighlight}})}}}]},{[`${St}-dropdown-rtl`]:{direction:"rtl"}},(0,Xl.c)(Ce)]};var Ms=(0,hs.Z)("Cascader",Ce=>[xs(Ce)],Ce=>{const Ie=Math.round((Ce.controlHeight-Ce.fontSize*Ce.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Ce.controlItemBgActive,optionSelectedFontWeight:Ce.fontWeightStrong,optionPadding:`${Ie}px ${Ce.paddingSM}px`,menuPadding:Ce.paddingXXS}}),zs=function(Ce,Ie){var St={};for(var bt in Ce)Object.prototype.hasOwnProperty.call(Ce,bt)&&Ie.indexOf(bt)<0&&(St[bt]=Ce[bt]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var en=0,bt=Object.getOwnPropertySymbols(Ce);en<bt.length;en++)Ie.indexOf(bt[en])<0&&Object.prototype.propertyIsEnumerable.call(Ce,bt[en])&&(St[bt[en]]=Ce[bt[en]]);return St};const{SHOW_CHILD:Ws,SHOW_PARENT:Bs}=Oo;function Xs(Ce,Ie,St){const bt=Ce.toLowerCase().split(Ie).reduce((Wt,Wn,bn)=>bn===0?[Wn]:[].concat((0,ne.Z)(Wt),[Ie,Wn]),[]),en=[];let _t=0;return bt.forEach((Wt,Wn)=>{const bn=_t+Wt.length;let On=Ce.slice(_t,bn);_t=bn,Wn%2===1&&(On=fe.createElement("span",{className:`${St}-menu-item-keyword`,key:`separator-${Wn}`},On)),en.push(On)}),en}const Ul=(Ce,Ie,St,bt)=>{const en=[],_t=Ce.toLowerCase();return Ie.forEach((Wt,Wn)=>{Wn!==0&&en.push(" / ");let bn=Wt[bt.label];const On=typeof bn;(On==="string"||On==="number")&&(bn=Xs(String(bn),_t,St)),en.push(bn)}),en},Le=fe.forwardRef((Ce,Ie)=>{const{prefixCls:St,size:bt,disabled:en,className:_t,rootClassName:Wt,multiple:Wn,bordered:bn=!0,transitionName:On,choiceTransitionName:Mr="",popupClassName:vr,dropdownClassName:ir,expandIcon:ur,placement:Pr,showSearch:Wr,allowClear:na=!0,notFoundContent:Ma,direction:_e,getPopupContainer:yt,status:Ht,showArrow:je,builtinPlacements:Yt,style:fn}=Ce,Rn=zs(Ce,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Bt=(0,jl.Z)(Rn,["suffixIcon"]),{getPopupContainer:Qt,getPrefixCls:rn,renderEmpty:Vn,direction:$n,popupOverflow:br,cascader:sr}=fe.useContext(Tl.E_),kr=_e||$n,Hr=kr==="rtl",{status:ta,hasFeedback:Rr,isFormItemInput:Pa,feedbackIcon:sa}=fe.useContext(ss.aM),Da=(0,Al.F)(ta,Ht),Ga=Ma||(Vn==null?void 0:Vn("Cascader"))||fe.createElement($l.Z,{componentName:"Cascader"}),la=rn(),ga=rn("select",St),fa=rn("cascader",St),[Ba,Ea]=(0,us.Z)(ga),[ua]=Ms(fa),{compactSize:Xa,compactItemClassnames:ra}=(0,Go.ri)(ga,_e),Ya=de()(vr||ir,`${fa}-dropdown`,{[`${fa}-dropdown-rtl`]:kr==="rtl"},Wt,Ea),Ha=fe.useMemo(()=>{if(!Wr)return Wr;let Ho={render:Ul};return typeof Wr=="object"&&(Ho=Object.assign(Object.assign({},Ho),Wr)),Ho},[Wr]),Ua=(0,Il.Z)(Ho=>{var co;return(co=bt!=null?bt:Xa)!==null&&co!==void 0?co:Ho}),La=fe.useContext(Rl.Z),si=en!=null?en:La;let gi=ur;ur||(gi=Hr?fe.createElement(De.Z,null):fe.createElement(we.Z,null));const zo=fe.createElement("span",{className:`${ga}-menu-item-loading-icon`},fe.createElement(qe.Z,{spin:!0})),No=fe.useMemo(()=>Wn?fe.createElement("span",{className:`${fa}-checkbox-inner`}):!1,[Wn]),yo=(0,ts.Z)(Ce.suffixIcon,je),{suffixIcon:ll,removeIcon:Lo,clearIcon:kl}=(0,ns.Z)(Object.assign(Object.assign({},Ce),{hasFeedback:Rr,feedbackIcon:sa,showSuffixIcon:yo,multiple:Wn,prefixCls:ga,componentName:"Cascader"})),Pl=fe.useMemo(()=>Pr!==void 0?Pr:Hr?"bottomRight":"bottomLeft",[Pr,Hr]),_i=(0,ms.Z)(Yt,br),fi=na===!0?{clearIcon:kl}:na,bo=fe.createElement(Oo,Object.assign({prefixCls:ga,className:de()(!St&&fa,{[`${ga}-lg`]:Ua==="large",[`${ga}-sm`]:Ua==="small",[`${ga}-rtl`]:Hr,[`${ga}-borderless`]:!bn,[`${ga}-in-form-item`]:Pa},(0,Al.Z)(ga,Da,Rr),ra,sr==null?void 0:sr.className,_t,Wt,Ea),disabled:si,style:Object.assign(Object.assign({},sr==null?void 0:sr.style),fn)},Bt,{builtinPlacements:_i,direction:kr,placement:Pl,notFoundContent:Ga,allowClear:fi,showSearch:Ha,expandIcon:gi,suffixIcon:ll,removeIcon:Lo,loadingIcon:zo,checkable:No,dropdownClassName:Ya,dropdownPrefixCls:St||fa,choiceTransitionName:(0,ls.m)(la,"",Mr),transitionName:(0,ls.m)(la,"slide-up",On),getPopupContainer:yt||Qt,ref:Ie}));return ua(Ba(bo))}),Je=(0,Ql.Z)(Le);Le.SHOW_PARENT=Bs,Le.SHOW_CHILD=Ws,Le._InternalPanelDoNotUseOrYouWillBeFired=Je;var it=Le},84567:function(Hn,ln,ee){"use strict";ee.d(ln,{default:function(){return Xe}});var ne=ee(94184),fe=ee.n(ne),De=ee(95860),qe=ee(67294),we=ee(53124),ke=ee(98866),de=ee(65223),me=qe.createContext(null),Pe=ee(63185),rt=ee(45353),ue=ee(92429),Ue=function(et,st){var ft={};for(var Re in et)Object.prototype.hasOwnProperty.call(et,Re)&&st.indexOf(Re)<0&&(ft[Re]=et[Re]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,Re=Object.getOwnPropertySymbols(et);Be<Re.length;Be++)st.indexOf(Re[Be])<0&&Object.prototype.propertyIsEnumerable.call(et,Re[Be])&&(ft[Re[Be]]=et[Re[Be]]);return ft};const mt=(et,st)=>{var ft;const{prefixCls:Re,className:Be,rootClassName:gt,children:ze,indeterminate:ct=!1,style:nt,onMouseEnter:Ot,onMouseLeave:Rt,skipGroup:an=!1,disabled:ht}=et,Ne=Ue(et,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:At,direction:An,checkbox:jt}=qe.useContext(we.E_),Mt=qe.useContext(me),{isFormItemInput:Kt}=qe.useContext(de.aM),sn=qe.useContext(ke.Z),wn=(ft=(Mt==null?void 0:Mt.disabled)||ht)!==null&&ft!==void 0?ft:sn,vn=qe.useRef(Ne.value);qe.useEffect(()=>{Mt==null||Mt.registerValue(Ne.value)},[]),qe.useEffect(()=>{if(!an)return Ne.value!==vn.current&&(Mt==null||Mt.cancelValue(vn.current),Mt==null||Mt.registerValue(Ne.value),vn.current=Ne.value),()=>Mt==null?void 0:Mt.cancelValue(Ne.value)},[Ne.value]);const cn=At("checkbox",Re),[Nn,dr]=(0,Pe.ZP)(cn),En=Object.assign({},Ne);Mt&&!an&&(En.onChange=function(){Ne.onChange&&Ne.onChange.apply(Ne,arguments),Mt.toggleOption&&Mt.toggleOption({label:ze,value:Ne.value})},En.name=Mt.name,En.checked=Mt.value.includes(Ne.value));const Ge=fe()(`${cn}-wrapper`,{[`${cn}-rtl`]:An==="rtl",[`${cn}-wrapper-checked`]:En.checked,[`${cn}-wrapper-disabled`]:wn,[`${cn}-wrapper-in-form-item`]:Kt},jt==null?void 0:jt.className,Be,gt,dr),ve=fe()({[`${cn}-indeterminate`]:ct},ue.A,dr),he=ct?"mixed":void 0;return Nn(qe.createElement(rt.Z,{component:"Checkbox",disabled:wn},qe.createElement("label",{className:Ge,style:Object.assign(Object.assign({},jt==null?void 0:jt.style),nt),onMouseEnter:Ot,onMouseLeave:Rt},qe.createElement(De.Z,Object.assign({"aria-checked":he},En,{prefixCls:cn,className:ve,disabled:wn,ref:st})),ze!==void 0&&qe.createElement("span",null,ze))))};var vt=qe.forwardRef(mt),Ee=ee(74902),wt=ee(10366),Tt=function(et,st){var ft={};for(var Re in et)Object.prototype.hasOwnProperty.call(et,Re)&&st.indexOf(Re)<0&&(ft[Re]=et[Re]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,Re=Object.getOwnPropertySymbols(et);Be<Re.length;Be++)st.indexOf(Re[Be])<0&&Object.prototype.propertyIsEnumerable.call(et,Re[Be])&&(ft[Re[Be]]=et[Re[Be]]);return ft};const $e=(et,st)=>{const{defaultValue:ft,children:Re,options:Be=[],prefixCls:gt,className:ze,rootClassName:ct,style:nt,onChange:Ot}=et,Rt=Tt(et,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:an,direction:ht}=qe.useContext(we.E_),[Ne,At]=qe.useState(Rt.value||ft||[]),[An,jt]=qe.useState([]);qe.useEffect(()=>{"value"in Rt&&At(Rt.value||[])},[Rt.value]);const Mt=qe.useMemo(()=>Be.map(be=>typeof be=="string"||typeof be=="number"?{label:be,value:be}:be),[Be]),Kt=be=>{jt(ge=>ge.filter(se=>se!==be))},sn=be=>{jt(ge=>[].concat((0,Ee.Z)(ge),[be]))},wn=be=>{const ge=Ne.indexOf(be.value),se=(0,Ee.Z)(Ne);ge===-1?se.push(be.value):se.splice(ge,1),"value"in Rt||At(se),Ot==null||Ot(se.filter(Ye=>An.includes(Ye)).sort((Ye,xt)=>{const pn=Mt.findIndex(In=>In.value===Ye),on=Mt.findIndex(In=>In.value===xt);return pn-on}))},vn=an("checkbox",gt),cn=`${vn}-group`,[Nn,dr]=(0,Pe.ZP)(vn),En=(0,wt.Z)(Rt,["value","disabled"]),Ge=Be.length?Mt.map(be=>qe.createElement(vt,{prefixCls:vn,key:be.value.toString(),disabled:"disabled"in be?be.disabled:Rt.disabled,value:be.value,checked:Ne.includes(be.value),onChange:be.onChange,className:`${cn}-item`,style:be.style,title:be.title},be.label)):Re,ve={toggleOption:wn,value:Ne,disabled:Rt.disabled,name:Rt.name,registerValue:sn,cancelValue:Kt},he=fe()(cn,{[`${cn}-rtl`]:ht==="rtl"},ze,ct,dr);return Nn(qe.createElement("div",Object.assign({className:he,style:nt},En,{ref:st}),qe.createElement(me.Provider,{value:ve},Ge)))},ut=qe.forwardRef($e);var ye=qe.memo(ut);const ce=vt;ce.Group=ye,ce.__ANT_CHECKBOX=!0;var Xe=ce},63185:function(Hn,ln,ee){"use strict";ee.d(ln,{C2:function(){return we}});var ne=ee(14747),fe=ee(45503),De=ee(67968);const qe=ke=>{const{checkboxCls:de}=ke,Se=`${de}-wrapper`;return[{[`${de}-group`]:Object.assign(Object.assign({},(0,ne.Wf)(ke)),{display:"inline-flex",flexWrap:"wrap",columnGap:ke.marginXS,[`> ${ke.antCls}-row`]:{flex:1}}),[Se]:Object.assign(Object.assign({},(0,ne.Wf)(ke)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Se}`]:{marginInlineStart:0},[`&${Se}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[de]:Object.assign(Object.assign({},(0,ne.Wf)(ke)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ke.borderRadiusSM,alignSelf:"center",[`${de}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${de}-inner`]:Object.assign({},(0,ne.oN)(ke))},[`${de}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ke.checkboxSize,height:ke.checkboxSize,direction:"ltr",backgroundColor:ke.colorBgContainer,border:`${ke.lineWidth}px ${ke.lineType} ${ke.colorBorder}`,borderRadius:ke.borderRadiusSM,borderCollapse:"separate",transition:`all ${ke.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ke.checkboxSize/14*5,height:ke.checkboxSize/14*8,border:`${ke.lineWidthBold}px solid ${ke.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ke.motionDurationFast} ${ke.motionEaseInBack}, opacity ${ke.motionDurationFast}`}},"& + span":{paddingInlineStart:ke.paddingXS,paddingInlineEnd:ke.paddingXS}})},{[`
|
|
|
${Se}:not(${Se}-disabled),
|
|
|
${de}:not(${de}-disabled)
|
|
|
`]:{[`&:hover ${de}-inner`]:{borderColor:ke.colorPrimary}},[`${Se}:not(${Se}-disabled)`]:{[`&:hover ${de}-checked:not(${de}-disabled) ${de}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${de}-checked:not(${de}-disabled):after`]:{borderColor:ke.colorPrimaryHover}}},{[`${de}-checked`]:{[`${de}-inner`]:{backgroundColor:ke.colorPrimary,borderColor:ke.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ke.motionDurationMid} ${ke.motionEaseOutBack} ${ke.motionDurationFast}`}}},[`
|
|
|
${Se}-checked:not(${Se}-disabled),
|
|
|
${de}-checked:not(${de}-disabled)
|
|
|
`]:{[`&:hover ${de}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"}}},{[de]:{"&-indeterminate":{[`${de}-inner`]:{backgroundColor:ke.colorBgContainer,borderColor:ke.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ke.fontSizeLG/2,height:ke.fontSizeLG/2,backgroundColor:ke.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Se}-disabled`]:{cursor:"not-allowed"},[`${de}-disabled`]:{[`&, ${de}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${de}-inner`]:{background:ke.colorBgContainerDisabled,borderColor:ke.colorBorder,"&:after":{borderColor:ke.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ke.colorTextDisabled},[`&${de}-indeterminate ${de}-inner::after`]:{background:ke.colorTextDisabled}}}]};function we(ke,de){const Se=(0,fe.TS)(de,{checkboxCls:`.${ke}`,checkboxSize:de.controlInteractiveSize});return[qe(Se)]}ln.ZP=(0,De.Z)("Checkbox",(ke,de)=>{let{prefixCls:Se}=de;return[we(Se,ke)]})},88258:function(Hn,ln,ee){"use strict";var ne=ee(67294),fe=ee(53124),De=ee(32983);const qe=we=>{const{componentName:ke}=we,{getPrefixCls:de}=(0,ne.useContext)(fe.E_),Se=de("empty");switch(ke){case"Table":case"List":return ne.createElement(De.Z,{image:De.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ne.createElement(De.Z,{image:De.Z.PRESENTED_IMAGE_SIMPLE,className:`${Se}-small`});default:return ne.createElement(De.Z,null)}};ln.Z=qe},34336:function(Hn,ln,ee){"use strict";ee.d(ln,{default:function(){return Ul}});var ne=ee(97909),fe=ee.n(ne),De=ee(68291),qe=ee(33088),we=ee.n(qe),ke=ee(26850),de=ee.n(ke),Se=ee(23082),me=ee.n(Se),Pe=ee(99873),rt=ee.n(Pe),ue=ee(86625),Ue=ee.n(ue),mt=ee(40618),ot=ee.n(mt);fe().extend(ot()),fe().extend(Ue()),fe().extend(we()),fe().extend(de()),fe().extend(me()),fe().extend(rt()),fe().extend(function(Le,Je){var it=Je.prototype,Ce=it.format;it.format=function(St){var bt=(St||"").replace("Wo","wo");return Ce.bind(this)(bt)}});var vt={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"},Ee=function(Je){var it=vt[Je];return it||Je.split("_")[0]},wt=function(){(0,De.ET)(!1,"Not match any format. Please help to fire a issue about this.")},Tt={getNow:function(){return fe()()},getFixedDate:function(Je){return fe()(Je,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(Je){return Je.endOf("month")},getWeekDay:function(Je){var it=Je.locale("en");return it.weekday()+it.localeData().firstDayOfWeek()},getYear:function(Je){return Je.year()},getMonth:function(Je){return Je.month()},getDate:function(Je){return Je.date()},getHour:function(Je){return Je.hour()},getMinute:function(Je){return Je.minute()},getSecond:function(Je){return Je.second()},addYear:function(Je,it){return Je.add(it,"year")},addMonth:function(Je,it){return Je.add(it,"month")},addDate:function(Je,it){return Je.add(it,"day")},setYear:function(Je,it){return Je.year(it)},setMonth:function(Je,it){return Je.month(it)},setDate:function(Je,it){return Je.date(it)},setHour:function(Je,it){return Je.hour(it)},setMinute:function(Je,it){return Je.minute(it)},setSecond:function(Je,it){return Je.second(it)},isAfter:function(Je,it){return Je.isAfter(it)},isValidate:function(Je){return Je.isValid()},locale:{getWeekFirstDay:function(Je){return fe()().locale(Ee(Je)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Je,it){return it.locale(Ee(Je)).weekday(0)},getWeek:function(Je,it){return it.locale(Ee(Je)).week()},getShortWeekDays:function(Je){return fe()().locale(Ee(Je)).localeData().weekdaysMin()},getShortMonths:function(Je){return fe()().locale(Ee(Je)).localeData().monthsShort()},format:function(Je,it,Ce){return it.locale(Ee(Je)).format(Ce)},parse:function(Je,it,Ce){for(var Ie=Ee(Je),St=0;St<Ce.length;St+=1){var bt=Ce[St],en=it;if(bt.includes("wo")||bt.includes("Wo")){for(var _t=en.split("-")[0],Wt=en.split("-")[1],Wn=fe()(_t,"YYYY").startOf("year").locale(Ie),bn=0;bn<=52;bn+=1){var On=Wn.add(bn,"week");if(On.format("Wo")===Wt)return On}return wt(),null}var Mr=fe()(en,bt,!0).locale(Ie);if(Mr.isValid())return Mr}return it&&wt(),null}}},$e=Tt,ut=ee(8745),ye=ee(87462),ce=ee(67294),Xe={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"},et=Xe,st=ee(74643),ft=function(Je,it){return ce.createElement(st.Z,(0,ye.Z)({},Je,{ref:it,icon:et}))},Re=ce.forwardRef(ft),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},gt=Be,ze=function(Je,it){return ce.createElement(st.Z,(0,ye.Z)({},Je,{ref:it,icon:gt}))},ct=ce.forwardRef(ze),nt=ee(16646),Ot={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"},Rt=Ot,an=function(Je,it){return ce.createElement(st.Z,(0,ye.Z)({},Je,{ref:it,icon:Rt}))},ht=ce.forwardRef(an),Ne=ee(94184),At=ee.n(Ne),An=ee(15671),jt=ee(43144),Mt=ee(97326),Kt=ee(60136),sn=ee(51630),wn=ee(4942),vn=ee(1413),cn=ee(97685),Nn=ee(5663),dr=ee(1337),En=ee(92739),Ge=ee(7699),ve=10,he=ve*10,be=7;function ge(Le,Je){if(!Le&&!Je)return!0;if(!Le||!Je)return!1}function se(Le,Je,it){var Ce=ge(Je,it);if(typeof Ce=="boolean")return Ce;var Ie=Math.floor(Le.getYear(Je)/10),St=Math.floor(Le.getYear(it)/10);return Ie===St}function Ye(Le,Je,it){var Ce=ge(Je,it);return typeof Ce=="boolean"?Ce:Le.getYear(Je)===Le.getYear(it)}function xt(Le,Je){var it=Math.floor(Le.getMonth(Je)/3);return it+1}function pn(Le,Je,it){var Ce=ge(Je,it);return typeof Ce=="boolean"?Ce:Ye(Le,Je,it)&&xt(Le,Je)===xt(Le,it)}function on(Le,Je,it){var Ce=ge(Je,it);return typeof Ce=="boolean"?Ce:Ye(Le,Je,it)&&Le.getMonth(Je)===Le.getMonth(it)}function In(Le,Je,it){var Ce=ge(Je,it);return typeof Ce=="boolean"?Ce:Le.getYear(Je)===Le.getYear(it)&&Le.getMonth(Je)===Le.getMonth(it)&&Le.getDate(Je)===Le.getDate(it)}function Qn(Le,Je,it){var Ce=ge(Je,it);return typeof Ce=="boolean"?Ce:Le.getHour(Je)===Le.getHour(it)&&Le.getMinute(Je)===Le.getMinute(it)&&Le.getSecond(Je)===Le.getSecond(it)}function _n(Le,Je,it,Ce){var Ie=ge(it,Ce);return typeof Ie=="boolean"?Ie:Ye(Le,it,Ce)&&Le.locale.getWeek(Je,it)===Le.locale.getWeek(Je,Ce)}function Vt(Le,Je,it){return In(Le,Je,it)&&Qn(Le,Je,it)}function gn(Le,Je,it,Ce){return!Je||!it||!Ce?!1:!In(Le,Je,Ce)&&!In(Le,it,Ce)&&Le.isAfter(Ce,Je)&&Le.isAfter(it,Ce)}function Fn(Le,Je,it){var Ce=Je.locale.getWeekFirstDay(Le),Ie=Je.setDate(it,1),St=Je.getWeekDay(Ie),bt=Je.addDate(Ie,Ce-St);return Je.getMonth(bt)===Je.getMonth(it)&&Je.getDate(bt)>1&&(bt=Je.addDate(bt,-7)),bt}function Tn(Le,Je,it){var Ce=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Je){case"year":return it.addYear(Le,Ce*10);case"quarter":case"month":return it.addYear(Le,Ce);default:return it.addMonth(Le,Ce)}}function qt(Le,Je){var it=Je.generateConfig,Ce=Je.locale,Ie=Je.format;return typeof Ie=="function"?Ie(Le):it.locale.format(Ce.locale,Le,Ie)}function Dr(Le,Je){var it=Je.generateConfig,Ce=Je.locale,Ie=Je.formatList;return!Le||typeof Ie[0]=="function"?null:it.locale.parse(Ce.locale,Le,Ie)}function Ut(Le){var Je=Le.cellDate,it=Le.mode,Ce=Le.disabledDate,Ie=Le.generateConfig;if(!Ce)return!1;var St=function(vr,ir,ur){for(var Pr=ir;Pr<=ur;){var Wr=void 0;switch(vr){case"date":{if(Wr=Ie.setDate(Je,Pr),!Ce(Wr))return!1;break}case"month":{if(Wr=Ie.setMonth(Je,Pr),!Ut({cellDate:Wr,mode:"month",generateConfig:Ie,disabledDate:Ce}))return!1;break}case"year":{if(Wr=Ie.setYear(Je,Pr),!Ut({cellDate:Wr,mode:"year",generateConfig:Ie,disabledDate:Ce}))return!1;break}}Pr+=1}return!0};switch(it){case"date":case"week":return Ce(Je);case"month":{var bt=1,en=Ie.getDate(Ie.getEndDate(Je));return St("date",bt,en)}case"quarter":{var _t=Math.floor(Ie.getMonth(Je)/3)*3,Wt=_t+2;return St("month",_t,Wt)}case"year":return St("month",0,11);case"decade":{var Wn=Ie.getYear(Je),bn=Math.floor(Wn/ve)*ve,On=bn+ve-1;return St("year",bn,On)}}}function nn(Le,Je){var it=Je.formatList,Ce=Je.generateConfig,Ie=Je.locale;return(0,En.Z)(function(){if(!Le)return[[""],""];for(var St="",bt=[],en=0;en<it.length;en+=1){var _t=it[en],Wt=qt(Le,{generateConfig:Ce,locale:Ie,format:_t});bt.push(Wt),en===0&&(St=Wt)}return[bt,St]},[Le,it,Ie],function(St,bt){return!Vt(Ce,St[0],bt[0])||!(0,Ge.Z)(St[1],bt[1],!0)||!(0,Ge.Z)(St[2],bt[2],!0)})}function Nr(Le,Je){var it=Je.formatList,Ce=Je.generateConfig,Ie=Je.locale,St=(0,ce.useState)(null),bt=(0,cn.Z)(St,2),en=bt[0],_t=bt[1],Wt=(0,ce.useRef)(null);function Wn(ur){var Pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Wt.current),Pr){_t(ur);return}Wt.current=requestAnimationFrame(function(){_t(ur)})}var bn=nn(en,{formatList:it,generateConfig:Ce,locale:Ie}),On=(0,cn.Z)(bn,2),Mr=On[1];function vr(ur){Wn(ur)}function ir(){var ur=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Wn(null,ur)}return(0,ce.useEffect)(function(){ir(!0)},[Le]),(0,ce.useEffect)(function(){return function(){return cancelAnimationFrame(Wt.current)}},[]),[Mr,vr,ir]}var cr=ee(92389),Fr=ee(96523),aa=ee(74902),Jn=ee(48130),Ia=new Map;function Ta(Le,Je){var it;function Ce(){(0,Jn.Z)(Le)?Je():it=(0,Fr.Z)(function(){Ce()})}return Ce(),function(){Fr.Z.cancel(it)}}function ti(Le,Je,it){if(Ia.get(Le)&&cancelAnimationFrame(Ia.get(Le)),it<=0){Ia.set(Le,requestAnimationFrame(function(){Le.scrollTop=Je}));return}var Ce=Je-Le.scrollTop,Ie=Ce/it*10;Ia.set(Le,requestAnimationFrame(function(){Le.scrollTop+=Ie,Le.scrollTop!==Je&&ti(Le,Je,it-10)}))}function Jr(Le,Je){var it=Je.onLeftRight,Ce=Je.onCtrlLeftRight,Ie=Je.onUpDown,St=Je.onPageUpDown,bt=Je.onEnter,en=Le.which,_t=Le.ctrlKey,Wt=Le.metaKey;switch(en){case cr.Z.LEFT:if(_t||Wt){if(Ce)return Ce(-1),!0}else if(it)return it(-1),!0;break;case cr.Z.RIGHT:if(_t||Wt){if(Ce)return Ce(1),!0}else if(it)return it(1),!0;break;case cr.Z.UP:if(Ie)return Ie(-1),!0;break;case cr.Z.DOWN:if(Ie)return Ie(1),!0;break;case cr.Z.PAGE_UP:if(St)return St(-1),!0;break;case cr.Z.PAGE_DOWN:if(St)return St(1),!0;break;case cr.Z.ENTER:if(bt)return bt(),!0;break}return!1}function ja(Le,Je,it,Ce){var Ie=Le;if(!Ie)switch(Je){case"time":Ie=Ce?"hh:mm:ss a":"HH:mm:ss";break;case"week":Ie="gggg-wo";break;case"month":Ie="YYYY-MM";break;case"quarter":Ie="YYYY-[Q]Q";break;case"year":Ie="YYYY";break;default:Ie=it?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Ie}function Si(Le,Je,it){var Ce=Le==="time"?8:10,Ie=typeof Je=="function"?Je(it.getNow()).length:Je.length;return Math.max(Ce,Ie)+2}var $a=null,ji=new Set;function Ni(Le){return!$a&&typeof window!="undefined"&&window.addEventListener&&($a=function(it){(0,aa.Z)(ji).forEach(function(Ce){Ce(it)})},window.addEventListener("mousedown",$a)),ji.add(Le),function(){ji.delete(Le),ji.size===0&&(window.removeEventListener("mousedown",$a),$a=null)}}function Ln(Le){var Je=Le.target;if(Le.composed&&Je.shadowRoot){var it;return((it=Le.composedPath)===null||it===void 0?void 0:it.call(Le)[0])||Je}return Je}var Pn=function(Je){return Je==="month"||Je==="date"?"year":Je},rr=function(Je){return Je==="date"?"month":Je},or=function(Je){return Je==="month"||Je==="date"?"quarter":Je},$r=function(Je){return Je==="date"?"week":Je},Br={year:Pn,month:rr,quarter:or,week:$r,time:null,date:null};function jr(Le,Je){return Le.some(function(it){return it&&it.contains(Je)})}function hn(Le){var Je=Le.open,it=Le.value,Ce=Le.isClickOutside,Ie=Le.triggerOpen,St=Le.forwardKeyDown,bt=Le.onKeyDown,en=Le.blurToCancel,_t=Le.onSubmit,Wt=Le.onCancel,Wn=Le.onFocus,bn=Le.onBlur,On=Le.changeOnBlur,Mr=(0,ce.useState)(!1),vr=(0,cn.Z)(Mr,2),ir=vr[0],ur=vr[1],Pr=(0,ce.useState)(!1),Wr=(0,cn.Z)(Pr,2),na=Wr[0],Ma=Wr[1],_e=(0,ce.useRef)(!1),yt=(0,ce.useRef)(!1),Ht=(0,ce.useRef)(!1),je={onMouseDown:function(){ur(!0),Ie(!0)},onKeyDown:function(fn){var Rn=function(){Ht.current=!0};if(bt(fn,Rn),!Ht.current){switch(fn.which){case cr.Z.ENTER:{Je?_t()!==!1&&ur(!0):Ie(!0),fn.preventDefault();return}case cr.Z.TAB:{ir&&Je&&!fn.shiftKey?(ur(!1),fn.preventDefault()):!ir&&Je&&!St(fn)&&fn.shiftKey&&(ur(!0),fn.preventDefault());return}case cr.Z.ESC:{ur(!0),Wt();return}}!Je&&![cr.Z.SHIFT].includes(fn.which)?Ie(!0):ir||St(fn)}},onFocus:function(fn){ur(!0),Ma(!0),Wn&&Wn(fn)},onBlur:function(fn){if(_e.current||!Ce(document.activeElement)){_e.current=!1;return}en?setTimeout(function(){for(var Rn=document,Bt=Rn.activeElement;Bt&&Bt.shadowRoot;)Bt=Bt.shadowRoot.activeElement;Ce(Bt)&&Wt()},0):Je&&(Ie(!1),yt.current&&_t()),Ma(!1),bn==null||bn(fn)}};return(0,ce.useEffect)(function(){yt.current=!1},[Je]),(0,ce.useEffect)(function(){yt.current=!0},[it]),(0,ce.useEffect)(function(){return Ni(function(Yt){var fn=Ln(Yt),Rn=Ce(fn);Je&&(Rn?!On&&(!na||Rn)&&Ie(!1):(_e.current=!0,(0,Fr.Z)(function(){_e.current=!1})))})}),[je,{focused:na,typing:ir}]}function It(Le,Je){return ce.useMemo(function(){return Le||(Je?((0,De.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Je).map(function(it){var Ce=(0,cn.Z)(it,2),Ie=Ce[0],St=Ce[1];return{label:Ie,value:St}})):[])},[Le,Je])}var Zt=ee(14075);function Gt(Le){var Je=Le.valueTexts,it=Le.onTextChange,Ce=ce.useState(""),Ie=(0,cn.Z)(Ce,2),St=Ie[0],bt=Ie[1],en=ce.useRef([]);en.current=Je;function _t(Wn){bt(Wn),it(Wn)}function Wt(){bt(en.current[0])}return(0,Zt.Z)(function(){Je.every(function(Wn){return Wn!==St})&&Wt()},[Je.join("||")]),[St,_t,Wt]}var Gn=ce.createContext({}),kt=Gn,mn=ee(71002);function Zn(Le){var Je=Le.cellRender,it=Le.monthCellRender,Ce=Le.dateRender,Ie=ce.useMemo(function(){if(Je)return Je;if(!(!it&&!Ce))return function(St,bt){var en=St;return Ce&&bt.type==="date"?Ce(en,bt.today):it&&bt.type==="month"?it(en,bt.locale):bt.originNode}},[Je,it,Ce]);return Ie}function Mn(Le,Je){for(var it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ce=String(Le);Ce.length<Je;)Ce="".concat(it).concat(Le);return Ce}var ar=function(){for(var Je=arguments.length,it=new Array(Je),Ce=0;Ce<Je;Ce++)it[Ce]=arguments[Ce];return it};function hr(Le){return Le==null?[]:Array.isArray(Le)?Le:[Le]}function dn(Le,Je){return Le?Le[Je]:null}function za(Le,Je,it){var Ce=[dn(Le,0),dn(Le,1)];return Ce[it]=typeof Je=="function"?Je(Ce[it]):Je,!Ce[0]&&!Ce[1]?null:Ce}function pa(Le){return typeof Le=="function"?Le():Le}function ma(Le){var Je=Le.cellPrefixCls,it=Le.generateConfig,Ce=Le.rangedValue,Ie=Le.hoverRangedValue,St=Le.isInView,bt=Le.isSameCell,en=Le.offsetCell,_t=Le.today,Wt=Le.value;function Wn(bn){var On,Mr=en(bn,-1),vr=en(bn,1),ir=dn(Ce,0),ur=dn(Ce,1),Pr=dn(Ie,0),Wr=dn(Ie,1),na=gn(it,Pr,Wr,bn);function Ma(fn){return bt(ir,fn)}function _e(fn){return bt(ur,fn)}var yt=bt(Pr,bn),Ht=bt(Wr,bn),je=(na||Ht)&&(!St(Mr)||_e(Mr)),Yt=(na||yt)&&(!St(vr)||Ma(vr));return On={},(0,wn.Z)(On,"".concat(Je,"-in-view"),St(bn)),(0,wn.Z)(On,"".concat(Je,"-in-range"),gn(it,ir,ur,bn)),(0,wn.Z)(On,"".concat(Je,"-range-start"),Ma(bn)),(0,wn.Z)(On,"".concat(Je,"-range-end"),_e(bn)),(0,wn.Z)(On,"".concat(Je,"-range-start-single"),Ma(bn)&&!ur),(0,wn.Z)(On,"".concat(Je,"-range-end-single"),_e(bn)&&!ir),(0,wn.Z)(On,"".concat(Je,"-range-start-near-hover"),Ma(bn)&&(bt(Mr,Pr)||gn(it,Pr,Wr,Mr))),(0,wn.Z)(On,"".concat(Je,"-range-end-near-hover"),_e(bn)&&(bt(vr,Wr)||gn(it,Pr,Wr,vr))),(0,wn.Z)(On,"".concat(Je,"-range-hover"),na),(0,wn.Z)(On,"".concat(Je,"-range-hover-start"),yt),(0,wn.Z)(On,"".concat(Je,"-range-hover-end"),Ht),(0,wn.Z)(On,"".concat(Je,"-range-hover-edge-start"),je),(0,wn.Z)(On,"".concat(Je,"-range-hover-edge-end"),Yt),(0,wn.Z)(On,"".concat(Je,"-range-hover-edge-start-near-range"),je&&bt(Mr,ur)),(0,wn.Z)(On,"".concat(Je,"-range-hover-edge-end-near-range"),Yt&&bt(vr,ir)),(0,wn.Z)(On,"".concat(Je,"-today"),bt(_t,bn)),(0,wn.Z)(On,"".concat(Je,"-selected"),bt(Wt,bn)),On}return Wn}var Sa=ce.createContext({}),Aa=Sa;function ka(Le,Je,it,Ce,Ie){var St=Le.setHour(Je,it);return St=Le.setMinute(St,Ce),St=Le.setSecond(St,Ie),St}function Er(Le,Je,it){if(!it)return Je;var Ce=Je;return Ce=Le.setHour(Ce,Le.getHour(it)),Ce=Le.setMinute(Ce,Le.getMinute(it)),Ce=Le.setSecond(Ce,Le.getSecond(it)),Ce}function Gr(Le,Je,it,Ce,Ie,St){var bt=Math.floor(Le/Ce)*Ce;if(bt<Le)return[bt,60-Ie,60-St];var en=Math.floor(Je/Ie)*Ie;if(en<Je)return[bt,en,60-St];var _t=Math.floor(it/St)*St;return[bt,en,_t]}function Zi(Le,Je){var it=Le.getYear(Je),Ce=Le.getMonth(Je)+1,Ie=Le.getEndDate(Le.getFixedDate("".concat(it,"-").concat(Ce,"-01"))),St=Le.getDate(Ie),bt=Ce<10?"0".concat(Ce):"".concat(Ce);return"".concat(it,"-").concat(bt,"-").concat(St)}function Ii(Le){for(var Je=Le.prefixCls,it=Le.disabledDate,Ce=Le.onSelect,Ie=Le.picker,St=Le.rowNum,bt=Le.colNum,en=Le.prefixColumn,_t=Le.rowClassName,Wt=Le.baseDate,Wn=Le.getCellClassName,bn=Le.getCellText,On=Le.getCellNode,Mr=Le.getCellDate,vr=Le.generateConfig,ir=Le.titleCell,ur=Le.headerCells,Pr=ce.useContext(kt),Wr=Pr.onDateMouseEnter,na=Pr.onDateMouseLeave,Ma=Pr.mode,_e="".concat(Je,"-cell"),yt=[],Ht=0;Ht<St;Ht+=1){for(var je=[],Yt=void 0,fn=function(){var Qt,rn=Ht*bt+Rn,Vn=Mr(Wt,rn),$n=Ut({cellDate:Vn,mode:Ma,disabledDate:it,generateConfig:vr});Rn===0&&(Yt=Vn,en&&je.push(en(Yt)));var br=ir&&ir(Vn),sr=ce.createElement("div",{className:"".concat(_e,"-inner")},bn(Vn));je.push(ce.createElement("td",{key:Rn,title:br,className:At()(_e,(0,vn.Z)((Qt={},(0,wn.Z)(Qt,"".concat(_e,"-disabled"),$n),(0,wn.Z)(Qt,"".concat(_e,"-start"),bn(Vn)===1||Ie==="year"&&Number(br)%10===0),(0,wn.Z)(Qt,"".concat(_e,"-end"),br===Zi(vr,Vn)||Ie==="year"&&Number(br)%10===9),Qt),Wn(Vn))),onClick:function(){$n||Ce(Vn)},onMouseEnter:function(){!$n&&Wr&&Wr(Vn)},onMouseLeave:function(){!$n&&na&&na(Vn)}},On?On(Vn,sr):sr))},Rn=0;Rn<bt;Rn+=1)fn();yt.push(ce.createElement("tr",{key:Ht,className:_t&&_t(Yt)},je))}return ce.createElement("div",{className:"".concat(Je,"-body")},ce.createElement("table",{className:"".concat(Je,"-content")},ur&&ce.createElement("thead",null,ce.createElement("tr",null,ur)),ce.createElement("tbody",null,yt)))}function ni(Le){var Je=Le.prefixCls,it=Le.generateConfig,Ce=Le.prefixColumn,Ie=Le.locale,St=Le.rowCount,bt=Le.viewDate,en=Le.value,_t=Le.cellRender,Wt=Le.isSameCell,Wn=ce.useContext(Aa),bn=Wn.rangedValue,On=Wn.hoverRangedValue,Mr=Fn(Ie.locale,it,bt),vr="".concat(Je,"-cell"),ir=it.locale.getWeekFirstDay(Ie.locale),ur=it.getNow(),Pr=[],Wr=Ie.shortWeekDays||(it.locale.getShortWeekDays?it.locale.getShortWeekDays(Ie.locale):[]);Ce&&Pr.push(ce.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var na=0;na<be;na+=1)Pr.push(ce.createElement("th",{key:na},Wr[(na+ir)%be]));var Ma=ma({cellPrefixCls:vr,today:ur,value:en,generateConfig:it,rangedValue:Ce?null:bn,hoverRangedValue:Ce?null:On,isSameCell:Wt||function(yt,Ht){return In(it,yt,Ht)},isInView:function(Ht){return on(it,Ht,bt)},offsetCell:function(Ht,je){return it.addDate(Ht,je)}}),_e=_t?function(yt,Ht){return _t(yt,{originNode:Ht,today:ur,type:"date",locale:Ie})}:void 0;return ce.createElement(Ii,(0,ye.Z)({},Le,{rowNum:St,colNum:be,baseDate:Mr,getCellNode:_e,getCellText:it.getDate,getCellClassName:Ma,getCellDate:it.addDate,titleCell:function(Ht){return qt(Ht,{locale:Ie,format:"YYYY-MM-DD",generateConfig:it})},headerCells:Pr}))}var hi=ni,io={visibility:"hidden"};function ri(Le){var Je=Le.prefixCls,it=Le.prevIcon,Ce=it===void 0?"\u2039":it,Ie=Le.nextIcon,St=Ie===void 0?"\u203A":Ie,bt=Le.superPrevIcon,en=bt===void 0?"\xAB":bt,_t=Le.superNextIcon,Wt=_t===void 0?"\xBB":_t,Wn=Le.onSuperPrev,bn=Le.onSuperNext,On=Le.onPrev,Mr=Le.onNext,vr=Le.children,ir=ce.useContext(kt),ur=ir.hideNextBtn,Pr=ir.hidePrevBtn;return ce.createElement("div",{className:Je},Wn&&ce.createElement("button",{type:"button",onClick:Wn,tabIndex:-1,className:"".concat(Je,"-super-prev-btn"),style:Pr?io:{}},en),On&&ce.createElement("button",{type:"button",onClick:On,tabIndex:-1,className:"".concat(Je,"-prev-btn"),style:Pr?io:{}},Ce),ce.createElement("div",{className:"".concat(Je,"-view")},vr),Mr&&ce.createElement("button",{type:"button",onClick:Mr,tabIndex:-1,className:"".concat(Je,"-next-btn"),style:ur?io:{}},St),bn&&ce.createElement("button",{type:"button",onClick:bn,tabIndex:-1,className:"".concat(Je,"-super-next-btn"),style:ur?io:{}},Wt))}var ho=ri;function ia(Le){var Je=Le.prefixCls,it=Le.generateConfig,Ce=Le.locale,Ie=Le.viewDate,St=Le.onNextMonth,bt=Le.onPrevMonth,en=Le.onNextYear,_t=Le.onPrevYear,Wt=Le.onYearClick,Wn=Le.onMonthClick,bn=ce.useContext(kt),On=bn.hideHeader;if(On)return null;var Mr="".concat(Je,"-header"),vr=Ce.shortMonths||(it.locale.getShortMonths?it.locale.getShortMonths(Ce.locale):[]),ir=it.getMonth(Ie),ur=ce.createElement("button",{type:"button",key:"year",onClick:Wt,tabIndex:-1,className:"".concat(Je,"-year-btn")},qt(Ie,{locale:Ce,format:Ce.yearFormat,generateConfig:it})),Pr=ce.createElement("button",{type:"button",key:"month",onClick:Wn,tabIndex:-1,className:"".concat(Je,"-month-btn")},Ce.monthFormat?qt(Ie,{locale:Ce,format:Ce.monthFormat,generateConfig:it}):vr[ir]),Wr=Ce.monthBeforeYear?[Pr,ur]:[ur,Pr];return ce.createElement(ho,(0,ye.Z)({},Le,{prefixCls:Mr,onSuperPrev:_t,onPrev:bt,onNext:St,onSuperNext:en}),Wr)}var so=ia,xo=6;function ml(Le){var Je=Le.prefixCls,it=Le.panelName,Ce=it===void 0?"date":it,Ie=Le.keyboardConfig,St=Le.active,bt=Le.operationRef,en=Le.generateConfig,_t=Le.value,Wt=Le.viewDate,Wn=Le.onViewDateChange,bn=Le.onPanelChange,On=Le.onSelect,Mr="".concat(Je,"-").concat(Ce,"-panel");bt.current={onKeyDown:function(Pr){return Jr(Pr,(0,vn.Z)({onLeftRight:function(na){On(en.addDate(_t||Wt,na),"key")},onCtrlLeftRight:function(na){On(en.addYear(_t||Wt,na),"key")},onUpDown:function(na){On(en.addDate(_t||Wt,na*be),"key")},onPageUpDown:function(na){On(en.addMonth(_t||Wt,na),"key")}},Ie))}};var vr=function(Pr){var Wr=en.addYear(Wt,Pr);Wn(Wr),bn(null,Wr)},ir=function(Pr){var Wr=en.addMonth(Wt,Pr);Wn(Wr),bn(null,Wr)};return ce.createElement("div",{className:At()(Mr,(0,wn.Z)({},"".concat(Mr,"-active"),St))},ce.createElement(so,(0,ye.Z)({},Le,{prefixCls:Je,value:_t,viewDate:Wt,onPrevYear:function(){vr(-1)},onNextYear:function(){vr(1)},onPrevMonth:function(){ir(-1)},onNextMonth:function(){ir(1)},onMonthClick:function(){bn("month",Wt)},onYearClick:function(){bn("year",Wt)}})),ce.createElement(hi,(0,ye.Z)({},Le,{onSelect:function(Pr){return On(Pr,"mouse")},prefixCls:Je,value:_t,viewDate:Wt,rowCount:xo})))}var vl=ml;function Yo(Le){var Je=ce.useContext(kt),it=Je.hideHeader;if(it)return null;var Ce=Le.prefixCls,Ie=Le.generateConfig,St=Le.locale,bt=Le.value,en=Le.format,_t="".concat(Ce,"-header");return ce.createElement(ho,{prefixCls:_t},bt?qt(bt,{locale:St,format:en,generateConfig:Ie}):"\xA0")}var uo=Yo;function wl(Le){var Je=Le.value,it=Le.generateConfig,Ce=Le.disabledMinutes,Ie=Le.disabledSeconds,St=Le.minutes,bt=Le.seconds,en=Le.use12Hours,_t=function(Wn,bn,On,Mr){var vr=it.getNow(),ir=Je||vr,ur=bn<0?it.getHour(vr):bn,Pr=On<0?it.getMinute(vr):On,Wr=Mr<0?it.getSecond(vr):Mr,na=Ce&&Ce(ur);if(na!=null&&na.includes(Pr)){var Ma=St.find(function(Ht){return!na.includes(Ht.value)});if(Ma)Pr=Ma.value;else return null}var _e=Ie&&Ie(ur,Pr);if(_e!=null&&_e.includes(Wr)){var yt=bt.find(function(Ht){return!_e.includes(Ht.value)});if(yt)Wr=yt.value;else return null}return ir=ka(it,ir,!en||!Wn?ur:ur+12,Pr,Wr),ir};return _t}function Qo(Le){var Je=Le.prefixCls,it=Le.units,Ce=Le.onSelect,Ie=Le.value,St=Le.active,bt=Le.hideDisabledOptions,en=Le.info,_t=Le.type,Wt="".concat(Je,"-cell"),Wn=ce.useContext(kt),bn=Wn.open,On=(0,ce.useRef)(null),Mr=(0,ce.useRef)(new Map),vr=(0,ce.useRef)();return(0,ce.useLayoutEffect)(function(){var ir=Mr.current.get(Ie);ir&&bn!==!1&&ti(On.current,ir.offsetTop,120)},[Ie]),(0,ce.useLayoutEffect)(function(){if(bn){var ir=Mr.current.get(Ie);ir&&(vr.current=Ta(ir,function(){ti(On.current,ir.offsetTop,0)}))}return function(){var ur;(ur=vr.current)===null||ur===void 0||ur.call(vr)}},[bn]),ce.createElement("ul",{className:At()("".concat(Je,"-column"),(0,wn.Z)({},"".concat(Je,"-column-active"),St)),ref:On,style:{position:"relative"}},it.map(function(ir){var ur;return bt&&ir.disabled?null:ce.createElement("li",{key:ir.value,ref:function(Wr){Mr.current.set(ir.value,Wr)},className:At()(Wt,(ur={},(0,wn.Z)(ur,"".concat(Wt,"-disabled"),ir.disabled),(0,wn.Z)(ur,"".concat(Wt,"-selected"),Ie===ir.value),ur)),onClick:function(){ir.disabled||Ce(ir.value)}},en.cellRender?en.cellRender(ir.value,{today:en.today,locale:en.locale,originNode:ce.createElement("div",{className:"".concat(Wt,"-inner")},ir.label),type:"time",subType:_t}):ce.createElement("div",{className:"".concat(Wt,"-inner")},ir.label))}))}var dl=Qo;function zl(Le,Je){if(Le.length!==Je.length)return!0;for(var it=0;it<Le.length;it+=1)if(Le[it].disabled!==Je[it].disabled)return!0;return!1}function bl(Le,Je,it,Ce){for(var Ie=[],St=it>=1?it|0:1,bt=Le;bt<=Je;bt+=St)Ie.push({label:Mn(bt,2),value:bt,disabled:(Ce||[]).includes(bt)});return Ie}function Sl(Le){var Je=Le.generateConfig,it=Le.prefixCls,Ce=Le.operationRef,Ie=Le.activeColumnIndex,St=Le.value,bt=Le.showHour,en=Le.showMinute,_t=Le.showSecond,Wt=Le.use12Hours,Wn=Le.hourStep,bn=Wn===void 0?1:Wn,On=Le.minuteStep,Mr=On===void 0?1:On,vr=Le.secondStep,ir=vr===void 0?1:vr,ur=Le.disabledHours,Pr=Le.disabledMinutes,Wr=Le.disabledSeconds,na=Le.disabledTime,Ma=Le.hideDisabledOptions,_e=Le.onSelect,yt=Le.cellRender,Ht=Le.locale,je=[],Yt="".concat(it,"-content"),fn="".concat(it,"-time-panel"),Rn,Bt=St?Je.getHour(St):-1,Qt=Bt,rn=St?Je.getMinute(St):-1,Vn=St?Je.getSecond(St):-1,$n=Je.getNow(),br=ce.useMemo(function(){if(na){var ra=na($n);return[ra.disabledHours,ra.disabledMinutes,ra.disabledSeconds]}return[ur,Pr,Wr]},[ur,Pr,Wr,na,$n]),sr=(0,cn.Z)(br,3),kr=sr[0],Hr=sr[1],ta=sr[2],Rr=bl(0,23,bn,kr&&kr()),Pa=(0,En.Z)(function(){return Rr},Rr,zl);Wt&&(Rn=Qt>=12,Qt%=12);var sa=ce.useMemo(function(){if(!Wt)return[!1,!1];var ra=[!0,!0];return Pa.forEach(function(Ya){var Ha=Ya.disabled,Ua=Ya.value;Ha||(Ua>=12?ra[1]=!1:ra[0]=!1)}),ra},[Wt,Pa]),Da=(0,cn.Z)(sa,2),Ga=Da[0],la=Da[1],ga=ce.useMemo(function(){return Wt?Pa.filter(Rn?function(ra){return ra.value>=12}:function(ra){return ra.value<12}).map(function(ra){var Ya=ra.value%12,Ha=Ya===0?"12":Mn(Ya,2);return(0,vn.Z)((0,vn.Z)({},ra),{},{label:Ha,value:Ya})}):Pa},[Wt,Rn,Pa]),fa=bl(0,59,Mr,Hr&&Hr(Bt)),Ba=bl(0,59,ir,ta&&ta(Bt,rn)),Ea=wl({value:St,generateConfig:Je,disabledMinutes:Hr,disabledSeconds:ta,minutes:fa,seconds:Ba,use12Hours:Wt});Ce.current={onUpDown:function(Ya){var Ha=je[Ie];if(Ha)for(var Ua=Ha.units.findIndex(function(zo){return zo.value===Ha.value}),La=Ha.units.length,si=1;si<La;si+=1){var gi=Ha.units[(Ua+Ya*si+La)%La];if(gi.disabled!==!0){Ha.onSelect(gi.value);break}}}};function ua(ra,Ya,Ha,Ua,La){ra!==!1&&je.push({node:ce.cloneElement(Ya,{prefixCls:fn,value:Ha,active:Ie===je.length,onSelect:La,units:Ua,hideDisabledOptions:Ma}),onSelect:La,value:Ha,units:Ua})}ua(bt,ce.createElement(dl,{key:"hour",type:"hour",info:{today:$n,locale:Ht,cellRender:yt}}),Qt,ga,function(ra){_e(Ea(Rn,ra,rn,Vn),"mouse")}),ua(en,ce.createElement(dl,{key:"minute",type:"minute",info:{today:$n,locale:Ht,cellRender:yt}}),rn,fa,function(ra){_e(Ea(Rn,Qt,ra,Vn),"mouse")}),ua(_t,ce.createElement(dl,{key:"second",type:"second",info:{today:$n,locale:Ht,cellRender:yt}}),Vn,Ba,function(ra){_e(Ea(Rn,Qt,rn,ra),"mouse")});var Xa=-1;return typeof Rn=="boolean"&&(Xa=Rn?1:0),ua(Wt===!0,ce.createElement(dl,{key:"meridiem",type:"meridiem",info:{today:$n,locale:Ht,cellRender:yt}}),Xa,[{label:"AM",value:0,disabled:Ga},{label:"PM",value:1,disabled:la}],function(ra){_e(Ea(!!ra,Qt,rn,Vn),"mouse")}),ce.createElement("div",{className:Yt},je.map(function(ra){var Ya=ra.node;return Ya}))}var Ci=Sl,Do=function(Je){return Je.filter(function(it){return it!==!1}).length};function Pi(Le){var Je=Le.generateConfig,it=Le.format,Ce=it===void 0?"HH:mm:ss":it,Ie=Le.prefixCls,St=Le.active,bt=Le.operationRef,en=Le.showHour,_t=Le.showMinute,Wt=Le.showSecond,Wn=Le.use12Hours,bn=Wn===void 0?!1:Wn,On=Le.onSelect,Mr=Le.value,vr="".concat(Ie,"-time-panel"),ir=ce.useRef(),ur=ce.useState(-1),Pr=(0,cn.Z)(ur,2),Wr=Pr[0],na=Pr[1],Ma=Do([en,_t,Wt,bn]);return bt.current={onKeyDown:function(yt){return Jr(yt,{onLeftRight:function(je){na((Wr+je+Ma)%Ma)},onUpDown:function(je){Wr===-1?na(0):ir.current&&ir.current.onUpDown(je)},onEnter:function(){On(Mr||Je.getNow(),"key"),na(-1)}})},onBlur:function(){na(-1)}},ce.createElement("div",{className:At()(vr,(0,wn.Z)({},"".concat(vr,"-active"),St))},ce.createElement(uo,(0,ye.Z)({},Le,{format:Ce,prefixCls:Ie})),ce.createElement(Ci,(0,ye.Z)({},Le,{prefixCls:Ie,activeColumnIndex:Wr,operationRef:ir})))}var Bi=Pi,zn=ar("date","time");function Cn(Le){var Je=Le.prefixCls,it=Le.operationRef,Ce=Le.generateConfig,Ie=Le.value,St=Le.defaultValue,bt=Le.disabledTime,en=Le.showTime,_t=Le.onSelect,Wt=Le.cellRender,Wn="".concat(Je,"-datetime-panel"),bn=ce.useState(null),On=(0,cn.Z)(bn,2),Mr=On[0],vr=On[1],ir=ce.useRef({}),ur=ce.useRef({}),Pr=(0,mn.Z)(en)==="object"?(0,vn.Z)({},en):{};function Wr(yt){var Ht=zn.indexOf(Mr)+yt,je=zn[Ht]||null;return je}var na=function(Ht){ur.current.onBlur&&ur.current.onBlur(Ht),vr(null)};it.current={onKeyDown:function(Ht){if(Ht.which===cr.Z.TAB){var je=Wr(Ht.shiftKey?-1:1);return vr(je),je&&Ht.preventDefault(),!0}if(Mr){var Yt=Mr==="date"?ir:ur;return Yt.current&&Yt.current.onKeyDown&&Yt.current.onKeyDown(Ht),!0}return[cr.Z.LEFT,cr.Z.RIGHT,cr.Z.UP,cr.Z.DOWN].includes(Ht.which)?(vr("date"),!0):!1},onBlur:na,onClose:na};var Ma=function(Ht,je){var Yt=Ht;je==="date"&&!Ie&&Pr.defaultValue?(Yt=Ce.setHour(Yt,Ce.getHour(Pr.defaultValue)),Yt=Ce.setMinute(Yt,Ce.getMinute(Pr.defaultValue)),Yt=Ce.setSecond(Yt,Ce.getSecond(Pr.defaultValue))):je==="time"&&!Ie&&St&&(Yt=Ce.setYear(Yt,Ce.getYear(St)),Yt=Ce.setMonth(Yt,Ce.getMonth(St)),Yt=Ce.setDate(Yt,Ce.getDate(St))),_t&&_t(Yt,"mouse")},_e=bt?bt(Ie||null):{};return ce.createElement("div",{className:At()(Wn,(0,wn.Z)({},"".concat(Wn,"-active"),Mr))},ce.createElement(vl,(0,ye.Z)({},Le,{cellRender:Wt,operationRef:ir,active:Mr==="date",onSelect:function(Ht){Ma(Er(Ce,Ht,!Ie&&(0,mn.Z)(en)==="object"?en.defaultValue:null),"date")}})),ce.createElement(Bi,(0,ye.Z)({},Le,{cellRender:Wt?function(yt,Ht){return Wt(yt,(0,vn.Z)((0,vn.Z)({},Ht),{},{type:"time"}))}:void 0,format:void 0},Pr,_e,{disabledTime:null,defaultValue:void 0,operationRef:ur,active:Mr==="time",onSelect:function(Ht){Ma(Ht,"time")}})))}var mr=Cn;function Yr(Le){var Je=Le.prefixCls,it=Le.generateConfig,Ce=Le.viewDate,Ie=Le.onPrevDecades,St=Le.onNextDecades,bt=ce.useContext(kt),en=bt.hideHeader;if(en)return null;var _t="".concat(Je,"-header"),Wt=it.getYear(Ce),Wn=Math.floor(Wt/he)*he,bn=Wn+he-1;return ce.createElement(ho,(0,ye.Z)({},Le,{prefixCls:_t,onSuperPrev:Ie,onSuperNext:St}),Wn,"-",bn)}var ha=Yr,mi=3,xi=4;function Ui(Le){var Je=ve-1,it=Le.prefixCls,Ce=Le.viewDate,Ie=Le.generateConfig,St=Le.cellRender,bt=Le.locale,en="".concat(it,"-cell"),_t=Ie.getYear(Ce),Wt=Math.floor(_t/ve)*ve,Wn=Math.floor(_t/he)*he,bn=Wn+he-1,On=Ie.setYear(Ce,Wn-Math.ceil((mi*xi*ve-he)/2)),Mr=function(ur){var Pr,Wr=Ie.getYear(ur),na=Wr+Je;return Pr={},(0,wn.Z)(Pr,"".concat(en,"-in-view"),Wn<=Wr&&na<=bn),(0,wn.Z)(Pr,"".concat(en,"-selected"),Wr===Wt),Pr},vr=St?function(ir,ur){return St(ir,{originNode:ur,today:Ie.getNow(),type:"decade",locale:bt})}:void 0;return ce.createElement(Ii,(0,ye.Z)({},Le,{rowNum:xi,colNum:mi,baseDate:On,getCellNode:vr,getCellText:function(ur){var Pr=Ie.getYear(ur);return"".concat(Pr,"-").concat(Pr+Je)},getCellClassName:Mr,getCellDate:function(ur,Pr){return Ie.addYear(ur,Pr*ve)}}))}var di=Ui;function Mi(Le){var Je=Le.prefixCls,it=Le.onViewDateChange,Ce=Le.generateConfig,Ie=Le.viewDate,St=Le.operationRef,bt=Le.onSelect,en=Le.onPanelChange,_t="".concat(Je,"-decade-panel");St.current={onKeyDown:function(On){return Jr(On,{onLeftRight:function(vr){bt(Ce.addYear(Ie,vr*ve),"key")},onCtrlLeftRight:function(vr){bt(Ce.addYear(Ie,vr*he),"key")},onUpDown:function(vr){bt(Ce.addYear(Ie,vr*ve*mi),"key")},onEnter:function(){en("year",Ie)}})}};var Wt=function(On){var Mr=Ce.addYear(Ie,On*he);it(Mr),en(null,Mr)},Wn=function(On){bt(On,"mouse"),en("year",On)};return ce.createElement("div",{className:_t},ce.createElement(ha,(0,ye.Z)({},Le,{prefixCls:Je,onPrevDecades:function(){Wt(-1)},onNextDecades:function(){Wt(1)}})),ce.createElement(di,(0,ye.Z)({},Le,{prefixCls:Je,onSelect:Wn})))}var Ao=Mi;function Wo(Le){var Je=Le.prefixCls,it=Le.generateConfig,Ce=Le.locale,Ie=Le.viewDate,St=Le.onNextYear,bt=Le.onPrevYear,en=Le.onYearClick,_t=ce.useContext(kt),Wt=_t.hideHeader;if(Wt)return null;var Wn="".concat(Je,"-header");return ce.createElement(ho,(0,ye.Z)({},Le,{prefixCls:Wn,onSuperPrev:bt,onSuperNext:St}),ce.createElement("button",{type:"button",onClick:en,className:"".concat(Je,"-year-btn")},qt(Ie,{locale:Ce,format:Ce.yearFormat,generateConfig:it})))}var $o=Wo,He=3,tt=4;function Nt(Le){var Je=Le.prefixCls,it=Le.locale,Ce=Le.value,Ie=Le.viewDate,St=Le.generateConfig,bt=Le.cellRender,en=ce.useContext(Aa),_t=en.rangedValue,Wt=en.hoverRangedValue,Wn="".concat(Je,"-cell"),bn=ma({cellPrefixCls:Wn,value:Ce,generateConfig:St,rangedValue:_t,hoverRangedValue:Wt,isSameCell:function(ur,Pr){return on(St,ur,Pr)},isInView:function(){return!0},offsetCell:function(ur,Pr){return St.addMonth(ur,Pr)}}),On=it.shortMonths||(St.locale.getShortMonths?St.locale.getShortMonths(it.locale):[]),Mr=St.setMonth(Ie,0),vr=bt?function(ir,ur){return bt(ir,{originNode:ur,locale:it,today:St.getNow(),type:"month"})}:void 0;return ce.createElement(Ii,(0,ye.Z)({},Le,{rowNum:tt,colNum:He,baseDate:Mr,getCellNode:vr,getCellText:function(ur){return it.monthFormat?qt(ur,{locale:it,format:it.monthFormat,generateConfig:St}):On[St.getMonth(ur)]},getCellClassName:bn,getCellDate:St.addMonth,titleCell:function(ur){return qt(ur,{locale:it,format:"YYYY-MM",generateConfig:St})}}))}var pe=Nt;function Oe(Le){var Je=Le.prefixCls,it=Le.operationRef,Ce=Le.onViewDateChange,Ie=Le.generateConfig,St=Le.value,bt=Le.viewDate,en=Le.onPanelChange,_t=Le.onSelect,Wt="".concat(Je,"-month-panel");it.current={onKeyDown:function(On){return Jr(On,{onLeftRight:function(vr){_t(Ie.addMonth(St||bt,vr),"key")},onCtrlLeftRight:function(vr){_t(Ie.addYear(St||bt,vr),"key")},onUpDown:function(vr){_t(Ie.addMonth(St||bt,vr*He),"key")},onEnter:function(){en("date",St||bt)}})}};var Wn=function(On){var Mr=Ie.addYear(bt,On);Ce(Mr),en(null,Mr)};return ce.createElement("div",{className:Wt},ce.createElement($o,(0,ye.Z)({},Le,{prefixCls:Je,onPrevYear:function(){Wn(-1)},onNextYear:function(){Wn(1)},onYearClick:function(){en("year",bt)}})),ce.createElement(pe,(0,ye.Z)({},Le,{prefixCls:Je,onSelect:function(On){_t(On,"mouse"),en("date",On)}})))}var Ae=Oe;function Ke(Le){var Je=Le.prefixCls,it=Le.generateConfig,Ce=Le.locale,Ie=Le.viewDate,St=Le.onNextYear,bt=Le.onPrevYear,en=Le.onYearClick,_t=ce.useContext(kt),Wt=_t.hideHeader;if(Wt)return null;var Wn="".concat(Je,"-header");return ce.createElement(ho,(0,ye.Z)({},Le,{prefixCls:Wn,onSuperPrev:bt,onSuperNext:St}),ce.createElement("button",{type:"button",onClick:en,className:"".concat(Je,"-year-btn")},qt(Ie,{locale:Ce,format:Ce.yearFormat,generateConfig:it})))}var Qe=Ke,at=4,pt=1;function $t(Le){var Je=Le.prefixCls,it=Le.locale,Ce=Le.value,Ie=Le.viewDate,St=Le.generateConfig,bt=Le.cellRender,en=ce.useContext(Aa),_t=en.rangedValue,Wt=en.hoverRangedValue,Wn="".concat(Je,"-cell"),bn=ma({cellPrefixCls:Wn,value:Ce,generateConfig:St,rangedValue:_t,hoverRangedValue:Wt,isSameCell:function(ir,ur){return pn(St,ir,ur)},isInView:function(){return!0},offsetCell:function(ir,ur){return St.addMonth(ir,ur*3)}}),On=St.setDate(St.setMonth(Ie,0),1),Mr=bt?function(vr,ir){return bt(vr,{originNode:ir,locale:it,today:St.getNow(),type:"quarter"})}:void 0;return ce.createElement(Ii,(0,ye.Z)({},Le,{rowNum:pt,colNum:at,baseDate:On,getCellNode:Mr,getCellText:function(ir){return qt(ir,{locale:it,format:it.quarterFormat||"[Q]Q",generateConfig:St})},getCellClassName:bn,getCellDate:function(ir,ur){return St.addMonth(ir,ur*3)},titleCell:function(ir){return qt(ir,{locale:it,format:"YYYY-[Q]Q",generateConfig:St})}}))}var tn=$t;function Yn(Le){var Je=Le.prefixCls,it=Le.operationRef,Ce=Le.onViewDateChange,Ie=Le.generateConfig,St=Le.value,bt=Le.viewDate,en=Le.onPanelChange,_t=Le.onSelect,Wt="".concat(Je,"-quarter-panel");it.current={onKeyDown:function(On){return Jr(On,{onLeftRight:function(vr){_t(Ie.addMonth(St||bt,vr*3),"key")},onCtrlLeftRight:function(vr){_t(Ie.addYear(St||bt,vr),"key")},onUpDown:function(vr){_t(Ie.addYear(St||bt,vr),"key")}})}};var Wn=function(On){var Mr=Ie.addYear(bt,On);Ce(Mr),en(null,Mr)};return ce.createElement("div",{className:Wt},ce.createElement(Qe,(0,ye.Z)({},Le,{prefixCls:Je,onPrevYear:function(){Wn(-1)},onNextYear:function(){Wn(1)},onYearClick:function(){en("year",bt)}})),ce.createElement(tn,(0,ye.Z)({},Le,{prefixCls:Je,onSelect:function(On){_t(On,"mouse")}})))}var fr=Yn;function Cr(Le){var Je=Le.prefixCls,it=Le.generateConfig,Ce=Le.locale,Ie=Le.value,St=Le.disabledDate,bt=Le.onSelect,en=ce.useContext(Aa),_t=en.rangedValue,Wt=en.hoverRangedValue,Wn=ce.useContext(kt),bn=Wn.onDateMouseEnter,On=Wn.onDateMouseLeave,Mr=(Wt==null?void 0:Wt[0])||(_t==null?void 0:_t[0]),vr=(Wt==null?void 0:Wt[1])||(_t==null?void 0:_t[1]),ir="".concat(Je,"-cell"),ur=function(Ma){var _e=Ut({cellDate:Ma,mode:"week",disabledDate:St,generateConfig:it});return ce.createElement("td",{key:"week",className:At()(ir,"".concat(ir,"-week")),onClick:function(){_e||bt(Ma,"mouse")},onMouseEnter:function(){!_e&&bn&&bn(Ma)},onMouseLeave:function(){!_e&&On&&On(Ma)}},ce.createElement("div",{className:"".concat(ir,"-inner")},it.locale.getWeek(Ce.locale,Ma)))},Pr="".concat(Je,"-week-panel-row"),Wr=function(Ma){var _e,yt=_n(it,Ce.locale,Mr,Ma),Ht=_n(it,Ce.locale,vr,Ma);return At()(Pr,(_e={},(0,wn.Z)(_e,"".concat(Pr,"-selected"),!_t&&_n(it,Ce.locale,Ie,Ma)),(0,wn.Z)(_e,"".concat(Pr,"-range-start"),yt),(0,wn.Z)(_e,"".concat(Pr,"-range-end"),Ht),(0,wn.Z)(_e,"".concat(Pr,"-range-hover"),!yt&&!Ht&&gn(it,Mr,vr,Ma)),_e))};return ce.createElement(vl,(0,ye.Z)({},Le,{panelName:"week",prefixColumn:ur,rowClassName:Wr,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var Dn=Cr,qn=10;function Xn(Le){var Je=Le.prefixCls,it=Le.generateConfig,Ce=Le.viewDate,Ie=Le.onPrevDecade,St=Le.onNextDecade,bt=Le.onDecadeClick,en=ce.useContext(kt),_t=en.hideHeader;if(_t)return null;var Wt="".concat(Je,"-header"),Wn=it.getYear(Ce),bn=Math.floor(Wn/qn)*qn,On=bn+qn-1;return ce.createElement(ho,(0,ye.Z)({},Le,{prefixCls:Wt,onSuperPrev:Ie,onSuperNext:St}),ce.createElement("button",{type:"button",onClick:bt,className:"".concat(Je,"-decade-btn")},bn,"-",On))}var Ar=Xn,Or=3,Kr=4;function Tr(Le){var Je=Le.prefixCls,it=Le.value,Ce=Le.viewDate,Ie=Le.locale,St=Le.generateConfig,bt=Le.cellRender,en=ce.useContext(Aa),_t=en.rangedValue,Wt=en.hoverRangedValue,Wn="".concat(Je,"-cell"),bn=St.getYear(Ce),On=Math.floor(bn/qn)*qn,Mr=On+qn-1,vr=St.setYear(Ce,On-Math.ceil((Or*Kr-qn)/2)),ir=St.getNow(),ur=function(Ma){var _e=St.getYear(Ma);return On<=_e&&_e<=Mr},Pr=ma({cellPrefixCls:Wn,value:it,generateConfig:St,rangedValue:_t,hoverRangedValue:Wt,isSameCell:function(Ma,_e){return Ye(St,Ma,_e)},isInView:ur,offsetCell:function(Ma,_e){return St.addYear(Ma,_e)}}),Wr=bt?function(na,Ma){return bt(na,{originNode:Ma,today:ir,type:"year",locale:Ie})}:void 0;return ce.createElement(Ii,(0,ye.Z)({},Le,{rowNum:Kr,colNum:Or,baseDate:vr,getCellNode:Wr,getCellText:St.getYear,getCellClassName:Pr,getCellDate:St.addYear,titleCell:function(Ma){return qt(Ma,{locale:Ie,format:"YYYY",generateConfig:St})}}))}var _r=Tr;function Zr(Le){var Je=Le.prefixCls,it=Le.operationRef,Ce=Le.onViewDateChange,Ie=Le.generateConfig,St=Le.value,bt=Le.viewDate,en=Le.sourceMode,_t=Le.onSelect,Wt=Le.onPanelChange,Wn="".concat(Je,"-year-panel");it.current={onKeyDown:function(Mr){return Jr(Mr,{onLeftRight:function(ir){_t(Ie.addYear(St||bt,ir),"key")},onCtrlLeftRight:function(ir){_t(Ie.addYear(St||bt,ir*qn),"key")},onUpDown:function(ir){_t(Ie.addYear(St||bt,ir*Or),"key")},onEnter:function(){Wt(en==="date"?"date":"month",St||bt)}})}};var bn=function(Mr){var vr=Ie.addYear(bt,Mr*10);Ce(vr),Wt(null,vr)};return ce.createElement("div",{className:Wn},ce.createElement(Ar,(0,ye.Z)({},Le,{prefixCls:Je,onPrevDecade:function(){bn(-1)},onNextDecade:function(){bn(1)},onDecadeClick:function(){Wt("decade",bt)}})),ce.createElement(_r,(0,ye.Z)({},Le,{prefixCls:Je,onSelect:function(Mr){Wt(en==="date"?"date":"month",Mr),_t(Mr,"mouse")}})))}var qr=Zr;function Dt(Le,Je,it){return it?ce.createElement("div",{className:"".concat(Le,"-footer-extra")},it(Je)):null}function Pt(Le){var Je=Le.prefixCls,it=Le.components,Ce=it===void 0?{}:it,Ie=Le.needConfirmButton,St=Le.onNow,bt=Le.onOk,en=Le.okDisabled,_t=Le.showNow,Wt=Le.locale,Wn,bn;if(Ie){var On=Ce.button||"button";St&&_t!==!1&&(Wn=ce.createElement("li",{className:"".concat(Je,"-now")},ce.createElement("a",{className:"".concat(Je,"-now-btn"),onClick:St},Wt.now))),bn=Ie&&ce.createElement("li",{className:"".concat(Je,"-ok")},ce.createElement(On,{disabled:en,onClick:bt},Wt.ok))}return!Wn&&!bn?null:ce.createElement("ul",{className:"".concat(Je,"-ranges")},Wn,bn)}var Kn=["date","month"];function Bn(Le){var Je,it=Le,Ce=it.prefixCls,Ie=Ce===void 0?"rc-picker":Ce,St=it.className,bt=it.style,en=it.locale,_t=it.generateConfig,Wt=it.value,Wn=it.defaultValue,bn=it.pickerValue,On=it.defaultPickerValue,Mr=it.disabledDate,vr=it.mode,ir=it.picker,ur=ir===void 0?"date":ir,Pr=it.tabIndex,Wr=Pr===void 0?0:Pr,na=it.showNow,Ma=it.showTime,_e=it.showToday,yt=it.renderExtraFooter,Ht=it.hideHeader,je=it.onSelect,Yt=it.onChange,fn=it.onPanelChange,Rn=it.onMouseDown,Bt=it.onPickerValueChange,Qt=it.onOk,rn=it.components,Vn=it.direction,$n=it.hourStep,br=$n===void 0?1:$n,sr=it.minuteStep,kr=sr===void 0?1:sr,Hr=it.secondStep,ta=Hr===void 0?1:Hr,Rr=it.dateRender,Pa=it.monthCellRender,sa=it.cellRender,Da=ur==="date"&&!!Ma||ur==="time",Ga=24%br===0,la=60%kr===0,ga=60%ta===0,fa=ce.useContext(kt),Ba=fa.operationRef,Ea=fa.onSelect,ua=fa.hideRanges,Xa=fa.defaultOpenValue,ra=ce.useContext(Aa),Ya=ra.inRange,Ha=ra.panelPosition,Ua=ra.rangedValue,La=ra.hoverRangedValue,si=ce.useRef({}),gi=ce.useRef(!0),zo=(0,Nn.Z)(null,{value:Wt,defaultValue:Wn,postState:function(Qa){return!Qa&&Xa&&ur==="time"?Xa:Qa}}),No=(0,cn.Z)(zo,2),yo=No[0],ll=No[1],Lo=(0,Nn.Z)(null,{value:bn,defaultValue:On||yo,postState:function(Qa){var Ji=_t.getNow();if(!Qa)return Ji;if(!yo&&Ma){var ul=(0,mn.Z)(Ma)==="object"?Ma.defaultValue:Wn;return Er(_t,Array.isArray(Qa)?Qa[0]:Qa,ul||Ji)}return Array.isArray(Qa)?Qa[0]:Qa}}),kl=(0,cn.Z)(Lo,2),Pl=kl[0],_i=kl[1],fi=function(Qa){_i(Qa),Bt&&Bt(Qa)},bo=function(Qa){var Ji=Br[ur];return Ji?Ji(Qa):Qa},Ho=(0,Nn.Z)(function(){return ur==="time"?"time":bo("date")},{value:vr}),co=(0,cn.Z)(Ho,2),wo=co[0],oo=co[1];ce.useEffect(function(){oo(ur)},[ur]);var _o=ce.useState(function(){return wo}),sl=(0,cn.Z)(_o,2),Nl=sl[0],Fl=sl[1],Fo=function(Qa,Ji){var ul=bo(Qa||wo);Fl(wo),oo(ul),fn&&(wo!==ul||Vt(_t,Pl,Pl))&&fn(Ji,ul)},to=function(Qa,Ji){var ul=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(wo===ur||ul)&&(ll(Qa),je&&je(Qa),Ea&&Ea(Qa,Ji),Yt&&!Vt(_t,Qa,yo)&&!(Mr!=null&&Mr(Qa))&&Yt(Qa))},tl=function(Qa){if(Kn.includes(wo)){var Ji,ul,Jl=wo==="date";switch(Qa===cr.Z.PAGE_UP||Qa===cr.Z.PAGE_DOWN?ul=Jl?_t.addMonth:_t.addYear:ul=Jl?_t.addDate:_t.addMonth,Qa){case cr.Z.LEFT:case cr.Z.PAGE_UP:Ji=ul(Pl,-1);break;case cr.Z.RIGHT:case cr.Z.PAGE_DOWN:Ji=ul(Pl,1);break;case cr.Z.UP:case cr.Z.DOWN:Ji=ul(Pl,Number("".concat(Qa===cr.Z.UP?"-":"").concat(Jl?be:He)));break}if(Ji)return!(Mr!=null&&Mr(Ji))}return!0},hl=function(Qa){if(si.current&&si.current.onKeyDown){var Ji=!0,ul=Qa.which;if([cr.Z.LEFT,cr.Z.RIGHT,cr.Z.UP,cr.Z.DOWN,cr.Z.PAGE_UP,cr.Z.PAGE_DOWN,cr.Z.ENTER].includes(ul)&&(Qa.preventDefault(),ul!==cr.Z.ENTER&&Wr===0&&(Ji=tl(ul))),Ji)return si.current.onKeyDown(Qa)}return(0,De.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Io=function(Qa){si.current&&si.current.onBlur&&si.current.onBlur(Qa)};Ba&&Ha!=="right"&&(Ba.current={onKeyDown:hl,onClose:function(){si.current&&si.current.onClose&&si.current.onClose()}}),ce.useEffect(function(){Wt&&!gi.current&&_i(Wt)},[Wt]),ce.useEffect(function(){gi.current=!1},[]);var Zo,Xi=Zn({cellRender:sa,monthCellRender:Pa,dateRender:Rr}),Oi=(0,vn.Z)((0,vn.Z)({},Le),{},{cellRender:Xi,operationRef:si,prefixCls:Ie,viewDate:Pl,value:yo,onViewDateChange:fi,sourceMode:Nl,onPanelChange:Fo,disabledDate:Mr});switch(delete Oi.onChange,delete Oi.onSelect,wo){case"decade":Zo=ce.createElement(Ao,(0,ye.Z)({},Oi,{onSelect:function(Qa,Ji){fi(Qa),to(Qa,Ji)}}));break;case"year":Zo=ce.createElement(qr,(0,ye.Z)({},Oi,{onSelect:function(Qa,Ji){fi(Qa),to(Qa,Ji)}}));break;case"month":Zo=ce.createElement(Ae,(0,ye.Z)({},Oi,{onSelect:function(Qa,Ji){fi(Qa),to(Qa,Ji)}}));break;case"quarter":Zo=ce.createElement(fr,(0,ye.Z)({},Oi,{onSelect:function(Qa,Ji){fi(Qa),to(Qa,Ji)}}));break;case"week":Zo=ce.createElement(Dn,(0,ye.Z)({},Oi,{onSelect:function(Qa,Ji){fi(Qa),to(Qa,Ji)}}));break;case"time":delete Oi.showTime,Zo=ce.createElement(Bi,(0,ye.Z)({},Oi,(0,mn.Z)(Ma)==="object"?Ma:null,{onSelect:function(Qa,Ji){fi(Qa),to(Qa,Ji)}}));break;default:Ma?Zo=ce.createElement(mr,(0,ye.Z)({},Oi,{onSelect:function(Qa,Ji){fi(Qa),to(Qa,Ji)}})):Zo=ce.createElement(vl,(0,ye.Z)({},Oi,{onSelect:function(Qa,Ji){fi(Qa),to(Qa,Ji)}}))}var nl,Uo,Bl=function(){var Qa=_t.getNow(),Ji=Gr(_t.getHour(Qa),_t.getMinute(Qa),_t.getSecond(Qa),Ga?br:1,la?kr:1,ga?ta:1),ul=ka(_t,Qa,Ji[0],Ji[1],Ji[2]);to(ul,"submit")};ua||(nl=Dt(Ie,wo,yt),Ma&&wo!=="date"?Uo=null:Uo=Pt({prefixCls:Ie,components:rn,needConfirmButton:Da,okDisabled:!yo||Mr&&Mr(yo),locale:en,showNow:na,onNow:Da&&Bl,onOk:function(){yo&&(to(yo,"submit",!0),Qt&&Qt(yo))}}));var no;if(_e&&wo==="date"&&ur==="date"&&!Ma){var Ja=_t.getNow(),Di="".concat(Ie,"-today-btn"),Ri=Mr&&Mr(Ja);no=ce.createElement("a",{className:At()(Di,Ri&&"".concat(Di,"-disabled")),"aria-disabled":Ri,onClick:function(){Ri||to(Ja,"mouse",!0)}},en.today)}return ce.createElement(kt.Provider,{value:(0,vn.Z)((0,vn.Z)({},fa),{},{mode:wo,hideHeader:"hideHeader"in Le?Ht:fa.hideHeader,hidePrevBtn:Ya&&Ha==="right",hideNextBtn:Ya&&Ha==="left"})},ce.createElement("div",{tabIndex:Wr,className:At()("".concat(Ie,"-panel"),St,(Je={},(0,wn.Z)(Je,"".concat(Ie,"-panel-has-range"),Ua&&Ua[0]&&Ua[1]),(0,wn.Z)(Je,"".concat(Ie,"-panel-has-range-hover"),La&&La[0]&&La[1]),(0,wn.Z)(Je,"".concat(Ie,"-panel-rtl"),Vn==="rtl"),Je)),style:bt,onKeyDown:hl,onBlur:Io,onMouseDown:Rn},Zo,nl||Uo||no?ce.createElement("div",{className:"".concat(Ie,"-footer")},nl,Uo,no):null))}var xr=Bn,zr=ee(62709),Lr={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 ca(Le){var Je,it=Le.prefixCls,Ce=Le.popupElement,Ie=Le.popupStyle,St=Le.visible,bt=Le.dropdownClassName,en=Le.dropdownAlign,_t=Le.transitionName,Wt=Le.getPopupContainer,Wn=Le.children,bn=Le.range,On=Le.popupPlacement,Mr=Le.direction,vr="".concat(it,"-dropdown"),ir=function(){return On!==void 0?On:Mr==="rtl"?"bottomRight":"bottomLeft"};return ce.createElement(zr.Z,{showAction:[],hideAction:[],popupPlacement:ir(),builtinPlacements:Lr,prefixCls:vr,popupTransitionName:_t,popup:Ce,popupAlign:en,popupVisible:St,popupClassName:At()(bt,(Je={},(0,wn.Z)(Je,"".concat(vr,"-range"),bn),(0,wn.Z)(Je,"".concat(vr,"-rtl"),Mr==="rtl"),Je)),popupStyle:Ie,getPopupContainer:Wt},Wn)}var un=ca;function Jt(Le){var Je=Le.prefixCls,it=Le.presets,Ce=Le.onClick,Ie=Le.onHover;return it.length?ce.createElement("div",{className:"".concat(Je,"-presets")},ce.createElement("ul",null,it.map(function(St,bt){var en=St.label,_t=St.value;return ce.createElement("li",{key:bt,onClick:function(){return Ce==null?void 0:Ce(pa(_t))},onMouseEnter:function(){return Ie==null?void 0:Ie(pa(_t))},onMouseLeave:function(){return Ie==null?void 0:Ie(null)}},en)}))):null}function yn(Le){var Je=Le.picker,it=Le.disabledHours,Ce=Le.disabledMinutes,Ie=Le.disabledSeconds;Je==="time"&&(it||Ce||Ie)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function lr(Le,Je,it){var Ce=(0,mn.Z)(Je)==="object"?Je.clearIcon:it;return Ce||ce.createElement("span",{className:"".concat(Le,"-clear-btn")})}function Xr(Le){var Je,it=Le,Ce=it.prefixCls,Ie=Ce===void 0?"rc-picker":Ce,St=it.id,bt=it.name,en=it.tabIndex,_t=it.style,Wt=it.className,Wn=it.dropdownClassName,bn=it.dropdownAlign,On=it.popupStyle,Mr=it.transitionName,vr=it.generateConfig,ir=it.locale,ur=it.inputReadOnly,Pr=it.allowClear,Wr=it.autoFocus,na=it.showTime,Ma=it.picker,_e=Ma===void 0?"date":Ma,yt=it.format,Ht=it.use12Hours,je=it.value,Yt=it.defaultValue,fn=it.presets,Rn=it.open,Bt=it.defaultOpen,Qt=it.defaultOpenValue,rn=it.suffixIcon,Vn=it.clearIcon,$n=it.disabled,br=it.disabledDate,sr=it.placeholder,kr=it.getPopupContainer,Hr=it.pickerRef,ta=it.panelRender,Rr=it.onChange,Pa=it.onOpenChange,sa=it.onFocus,Da=it.onBlur,Ga=it.onMouseDown,la=it.onMouseUp,ga=it.onMouseEnter,fa=it.onMouseLeave,Ba=it.onContextMenu,Ea=it.onClick,ua=it.onKeyDown,Xa=it.onSelect,ra=it.direction,Ya=it.autoComplete,Ha=Ya===void 0?"off":Ya,Ua=it.inputRender,La=it.changeOnBlur,si=ce.useRef(null),gi=_e==="date"&&!!na||_e==="time",zo=It(fn),No=hr(ja(yt,_e,na,Ht)),yo=ce.useRef(null),ll=ce.useRef(null),Lo=ce.useRef(null),kl=(0,Nn.Z)(null,{value:je,defaultValue:Yt}),Pl=(0,cn.Z)(kl,2),_i=Pl[0],fi=Pl[1],bo=ce.useState(_i),Ho=(0,cn.Z)(bo,2),co=Ho[0],wo=Ho[1],oo=ce.useRef(null),_o=(0,Nn.Z)(!1,{value:Rn,defaultValue:Bt,postState:function(Qr){return $n?!1:Qr},onChange:function(Qr){Pa&&Pa(Qr),!Qr&&oo.current&&oo.current.onClose&&oo.current.onClose()}}),sl=(0,cn.Z)(_o,2),Nl=sl[0],Fl=sl[1],Fo=nn(co,{formatList:No,generateConfig:vr,locale:ir}),to=(0,cn.Z)(Fo,2),tl=to[0],hl=to[1],Io=Gt({valueTexts:tl,onTextChange:function(Qr){var li=Dr(Qr,{locale:ir,formatList:No,generateConfig:vr});li&&(!br||!br(li))&&wo(li)}}),Zo=(0,cn.Z)(Io,3),Xi=Zo[0],Oi=Zo[1],nl=Zo[2],Uo=function(Qr){wo(Qr),fi(Qr),Rr&&!Vt(vr,_i,Qr)&&Rr(Qr,Qr?qt(Qr,{generateConfig:vr,locale:ir,format:No[0]}):"")},Bl=function(Qr){$n&&Qr||Fl(Qr)},no=function(Qr){return Nl&&oo.current&&oo.current.onKeyDown?oo.current.onKeyDown(Qr):((0,De.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Ja=function(){for(var Qr=arguments.length,li=new Array(Qr),qa=0;qa<Qr;qa++)li[qa]=arguments[qa];Ea==null||Ea.apply(void 0,li),si.current&&(si.current.focus(),Bl(!0))},Di=function(Qr){La&&Uo(co),Da==null||Da(Qr)},Ri=hn({blurToCancel:gi,open:Nl,value:Xi,triggerOpen:Bl,forwardKeyDown:no,isClickOutside:function(Qr){return!jr([yo.current,ll.current,Lo.current],Qr)},onSubmit:function(){return!co||br&&br(co)?!1:(Uo(co),Bl(!1),nl(),!0)},onCancel:function(){Bl(!1),wo(_i),nl()},onKeyDown:function(Qr,li){ua==null||ua(Qr,li)},onFocus:sa,onBlur:Di,changeOnBlur:La}),ya=(0,cn.Z)(Ri,2),Qa=ya[0],Ji=ya[1],ul=Ji.focused,Jl=Ji.typing;ce.useEffect(function(){Nl||(wo(_i),!tl.length||tl[0]===""?Oi(""):hl!==Xi&&nl())},[Nl,tl]),ce.useEffect(function(){Nl||nl()},[_e]),ce.useEffect(function(){wo(_i)},[_i]),Hr&&(Hr.current={focus:function(){var Qr;(Qr=si.current)===null||Qr===void 0||Qr.focus()},blur:function(){var Qr;(Qr=si.current)===null||Qr===void 0||Qr.blur()}});var ws=Nr(Xi,{formatList:No,generateConfig:vr,locale:ir}),Te=(0,cn.Z)(ws,3),Ze=Te[0],Et=Te[1],Lt=Te[2],Xt=(0,vn.Z)((0,vn.Z)({},Le),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Sn=ce.createElement("div",{className:"".concat(Ie,"-panel-layout")},ce.createElement(Jt,{prefixCls:Ie,presets:zo,onClick:function(Qr){Uo(Qr),Bl(!1)}}),ce.createElement(xr,(0,ye.Z)({},Xt,{generateConfig:vr,className:At()((0,wn.Z)({},"".concat(Ie,"-panel-focused"),!Jl)),value:co,locale:ir,tabIndex:-1,onSelect:function(Qr){Xa==null||Xa(Qr),wo(Qr)},direction:ra,onPanelChange:function(Qr,li){var qa=Le.onPanelChange;Lt(!0),qa==null||qa(Qr,li)}})));ta&&(Sn=ta(Sn));var nr=ce.createElement("div",{className:"".concat(Ie,"-panel-container"),ref:yo,onMouseDown:function(Qr){Qr.preventDefault()}},Sn),wr;rn&&(wr=ce.createElement("span",{className:"".concat(Ie,"-suffix"),onMouseDown:function(Qr){Qr.preventDefault()}},rn));var jn=lr(Ie,Pr,Vn),Un=ce.createElement("span",{onMouseDown:function(Qr){Qr.preventDefault(),Qr.stopPropagation()},onMouseUp:function(Qr){Qr.preventDefault(),Qr.stopPropagation(),Uo(null),Bl(!1)},className:"".concat(Ie,"-clear"),role:"button"},jn),Sr=!!Pr&&_i&&!$n,kn=(0,vn.Z)((0,vn.Z)((0,vn.Z)({id:St,tabIndex:en,disabled:$n,readOnly:ur||typeof No[0]=="function"||!Jl,value:Ze||Xi,onChange:function(Qr){Oi(Qr.target.value)},autoFocus:Wr,placeholder:sr,ref:si,title:Xi},Qa),{},{size:Si(_e,No[0],vr),name:bt},(0,dr.Z)(Le,{aria:!0,data:!0})),{},{autoComplete:Ha}),Vr=Ua?Ua(kn):ce.createElement("input",kn),xa=function(Qr,li){(li==="submit"||li!=="key"&&!gi)&&(Uo(Qr),Bl(!1))},wa=ra==="rtl"?"bottomRight":"bottomLeft";return ce.createElement(kt.Provider,{value:{operationRef:oo,hideHeader:_e==="time",onSelect:xa,open:Nl,defaultOpenValue:Qt,onDateMouseEnter:Et,onDateMouseLeave:Lt}},ce.createElement(un,{visible:Nl,popupElement:nr,popupStyle:On,prefixCls:Ie,dropdownClassName:Wn,dropdownAlign:bn,getPopupContainer:kr,transitionName:Mr,popupPlacement:wa,direction:ra},ce.createElement("div",{ref:Lo,className:At()(Ie,Wt,(Je={},(0,wn.Z)(Je,"".concat(Ie,"-disabled"),$n),(0,wn.Z)(Je,"".concat(Ie,"-focused"),ul),(0,wn.Z)(Je,"".concat(Ie,"-rtl"),ra==="rtl"),Je)),style:_t,onMouseDown:Ga,onMouseUp:la,onMouseEnter:ga,onMouseLeave:fa,onContextMenu:Ba,onClick:Ja},ce.createElement("div",{className:At()("".concat(Ie,"-input"),(0,wn.Z)({},"".concat(Ie,"-input-placeholder"),!!Ze)),ref:ll},Vr,wr,Sr&&Un))))}var Ir=function(Le){(0,Kt.Z)(it,Le);var Je=(0,sn.Z)(it);function it(){var Ce;(0,An.Z)(this,it);for(var Ie=arguments.length,St=new Array(Ie),bt=0;bt<Ie;bt++)St[bt]=arguments[bt];return Ce=Je.call.apply(Je,[this].concat(St)),(0,wn.Z)((0,Mt.Z)(Ce),"pickerRef",ce.createRef()),(0,wn.Z)((0,Mt.Z)(Ce),"focus",function(){Ce.pickerRef.current&&Ce.pickerRef.current.focus()}),(0,wn.Z)((0,Mt.Z)(Ce),"blur",function(){Ce.pickerRef.current&&Ce.pickerRef.current.blur()}),Ce}return(0,jt.Z)(it,[{key:"render",value:function(){return ce.createElement(Xr,(0,ye.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),it}(ce.Component),yr=Ir;function ba(Le,Je){var it=Le.picker,Ce=Le.locale,Ie=Le.selectedValue,St=Le.disabledDate,bt=Le.disabled,en=Le.generateConfig,_t=dn(Ie,0),Wt=dn(Ie,1);function Wn(ir){return en.locale.getWeekFirstDate(Ce.locale,ir)}function bn(ir){var ur=en.getYear(ir),Pr=en.getMonth(ir);return ur*100+Pr}function On(ir){var ur=en.getYear(ir),Pr=xt(en,ir);return ur*10+Pr}var Mr=ce.useCallback(function(ir){if(bt[0]||St&&St(ir))return!0;if(bt[1]&&Wt)return!In(en,ir,Wt)&&en.isAfter(ir,Wt);if(!Je&&Wt)switch(it){case"quarter":return On(ir)>On(Wt);case"month":return bn(ir)>bn(Wt);case"week":return Wn(ir)>Wn(Wt);default:return!In(en,ir,Wt)&&en.isAfter(ir,Wt)}return!1},[St,bt[1],Wt,Je]),vr=ce.useCallback(function(ir){if(bt[1]||St&&St(ir))return!0;if(bt[0]&&_t)return!In(en,ir,Wt)&&en.isAfter(_t,ir);if(!Je&&_t)switch(it){case"quarter":return On(ir)<On(_t);case"month":return bn(ir)<bn(_t);case"week":return Wn(ir)<Wn(_t);default:return!In(en,ir,_t)&&en.isAfter(_t,ir)}return!1},[St,bt[0],_t,Je]);return[Mr,vr]}var va=ee(60276),Oa=ee(77527);function da(Le,Je,it,Ce,Ie,St,bt,en,_t,Wt){var Wn=ce.useState(!1),bn=(0,cn.Z)(Wn,2),On=bn[0],Mr=bn[1],vr=(0,va.useMergedState)(Le||!1,{value:Je}),ir=(0,cn.Z)(vr,2),ur=ir[0],Pr=ir[1],Wr=(0,va.useMergedState)(Le||!1,{value:Je,onChange:function(br){Wt==null||Wt(br)}}),na=(0,cn.Z)(Wr,2),Ma=na[0],_e=na[1],yt=(0,va.useMergedState)(0,{value:it}),Ht=(0,cn.Z)(yt,2),je=Ht[0],Yt=Ht[1],fn=ce.useState(null),Rn=(0,cn.Z)(fn,2),Bt=Rn[0],Qt=Rn[1];ce.useEffect(function(){Ma&&Mr(!0)},[Ma]);var rn=function(br){return br===0?1:0},Vn=(0,Oa.Z)(function($n,br,sr){if(br===!1)_e($n);else if($n){Yt(br),_e($n);var kr=rn(br);!Ma||![bt,en][kr]?Qt(kr):(Mr(!1),Bt!==null&&Qt(null))}else if(sr==="confirm"||sr==="blur"&&Ce){var Hr=ur?rn(br):Bt;Hr!==null&&(Mr(!1),Yt(Hr)),Qt(null),Hr!==null&&!_t[Hr]?(0,Fr.Z)(function(){var ta,Rr=[Ie,St][Hr];(ta=Rr.current)===null||ta===void 0||ta.focus()}):_e(!1)}else _e(!1),Pr(!1)});return[Ma,je,On,Vn]}function Ur(Le,Je,it,Ce){var Ie=Tn(Le,it,Ce,1);function St(bt){return bt(Le,Je)?"same":bt(Ie,Je)?"closing":"far"}switch(it){case"year":return St(function(bt,en){return se(Ce,bt,en)});case"quarter":case"month":return St(function(bt,en){return Ye(Ce,bt,en)});default:return St(function(bt,en){return on(Ce,bt,en)})}}function Wa(Le,Je,it,Ce){var Ie=dn(Le,0),St=dn(Le,1);if(Je===0)return Ie;if(Ie&&St){var bt=Ur(Ie,St,it,Ce);switch(bt){case"same":return Ie;case"closing":return Ie;default:return Tn(St,it,Ce,-1)}}return Ie}function ai(Le){var Je=Le.values,it=Le.picker,Ce=Le.defaultDates,Ie=Le.generateConfig,St=ce.useState(function(){return[dn(Ce,0),dn(Ce,1)]}),bt=(0,cn.Z)(St,2),en=bt[0],_t=bt[1],Wt=ce.useState(null),Wn=(0,cn.Z)(Wt,2),bn=Wn[0],On=Wn[1],Mr=dn(Je,0),vr=dn(Je,1);function ir(Pr){return en[Pr]?en[Pr]:dn(bn,Pr)||Wa(Je,Pr,it,Ie)||Mr||vr||Ie.getNow()}function ur(Pr,Wr){if(Pr){var na=za(bn,Pr,Wr);_t(za(en,null,Wr)||[null,null]);var Ma=(Wr+1)%2;dn(Je,Ma)||(na=za(na,Pr,Ma)),On(na)}else(Mr||vr)&&On(null)}return[ir,ur]}function _a(Le,Je){return Le&&Le[0]&&Le[1]&&Je.isAfter(Le[0],Le[1])?[Le[1],Le[0]]:Le}function Va(Le,Je,it,Ce){return!!(Le||Ce&&Ce[Je]||it[(Je+1)%2])}function ei(Le){var Je,it,Ce,Ie=Le,St=Ie.prefixCls,bt=St===void 0?"rc-picker":St,en=Ie.id,_t=Ie.style,Wt=Ie.className,Wn=Ie.popupStyle,bn=Ie.dropdownClassName,On=Ie.transitionName,Mr=Ie.dropdownAlign,vr=Ie.getPopupContainer,ir=Ie.generateConfig,ur=Ie.locale,Pr=Ie.placeholder,Wr=Ie.autoFocus,na=Ie.disabled,Ma=Ie.format,_e=Ie.picker,yt=_e===void 0?"date":_e,Ht=Ie.showTime,je=Ie.use12Hours,Yt=Ie.separator,fn=Yt===void 0?"~":Yt,Rn=Ie.value,Bt=Ie.defaultValue,Qt=Ie.defaultPickerValue,rn=Ie.open,Vn=Ie.defaultOpen,$n=Ie.disabledDate,br=Ie.disabledTime,sr=Ie.dateRender,kr=Ie.monthCellRender,Hr=Ie.cellRender,ta=Ie.panelRender,Rr=Ie.presets,Pa=Ie.ranges,sa=Ie.allowEmpty,Da=Ie.allowClear,Ga=Ie.suffixIcon,la=Ie.clearIcon,ga=Ie.pickerRef,fa=Ie.inputReadOnly,Ba=Ie.mode,Ea=Ie.renderExtraFooter,ua=Ie.onChange,Xa=Ie.onOpenChange,ra=Ie.onPanelChange,Ya=Ie.onCalendarChange,Ha=Ie.onFocus,Ua=Ie.onBlur,La=Ie.onMouseDown,si=Ie.onMouseUp,gi=Ie.onMouseEnter,zo=Ie.onMouseLeave,No=Ie.onClick,yo=Ie.onOk,ll=Ie.onKeyDown,Lo=Ie.components,kl=Ie.order,Pl=Ie.direction,_i=Ie.activePickerIndex,fi=Ie.autoComplete,bo=fi===void 0?"off":fi,Ho=Ie.changeOnBlur,co=yt==="date"&&!!Ht||yt==="time",wo=(0,ce.useRef)(null),oo=(0,ce.useRef)(null),_o=(0,ce.useRef)(null),sl=(0,ce.useRef)(null),Nl=(0,ce.useRef)(null),Fl=(0,ce.useRef)(null),Fo=(0,ce.useRef)(null),to=(0,ce.useRef)(null),tl=hr(ja(Ma,yt,Ht,je)),hl=(0,ce.useRef)(null),Io=ce.useMemo(function(){return Array.isArray(na)?na:[na||!1,na||!1]},[na]),Zo=(0,Nn.Z)(null,{value:Rn,defaultValue:Bt,postState:function(yl){return yt==="time"&&!kl?yl:_a(yl,ir)}}),Xi=(0,cn.Z)(Zo,2),Oi=Xi[0],nl=Xi[1],Uo=ai({values:Oi,picker:yt,defaultDates:Qt,generateConfig:ir}),Bl=(0,cn.Z)(Uo,2),no=Bl[0],Ja=Bl[1],Di=(0,Nn.Z)(Oi,{postState:function(yl){var Hl=yl;if(Io[0]&&Io[1])return Hl;for(var ys=0;ys<2;ys+=1)Io[ys]&&!Hl&&!dn(Hl,ys)&&!dn(sa,ys)&&(Hl=za(Hl,ir.getNow(),ys));return Hl}}),Ri=(0,cn.Z)(Di,2),ya=Ri[0],Qa=Ri[1],Ji=(0,Nn.Z)([yt,yt],{value:Ba}),ul=(0,cn.Z)(Ji,2),Jl=ul[0],ws=ul[1];(0,ce.useEffect)(function(){ws([yt,yt])},[yt]);var Te=function(yl,Hl){ws(yl),ra&&ra(Hl,yl)},Ze=da(Vn,rn,_i,Ho,Fl,Fo,dn(ya,0),dn(ya,1),Io,Xa),Et=(0,cn.Z)(Ze,4),Lt=Et[0],Xt=Et[1],Sn=Et[2],nr=Et[3],wr=Lt&&Xt===0,jn=Lt&&Xt===1,Un=ba({picker:yt,selectedValue:ya,locale:ur,disabled:Io,disabledDate:$n,generateConfig:ir},!Lt||Sn),Sr=(0,cn.Z)(Un,2),kn=Sr[0],Vr=Sr[1],xa=(0,ce.useState)(0),wa=(0,cn.Z)(xa,2),Ra=wa[0],Qr=wa[1];(0,ce.useEffect)(function(){!Lt&&wo.current&&Qr(wo.current.offsetWidth)},[Lt]);function li(Cs){nr(!0,Cs,"open"),(0,Fr.Z)(function(){var yl,Hl=[Fl,Fo][Cs];(yl=Hl.current)===null||yl===void 0||yl.focus()},0)}function qa(Cs,yl){var Hl=Cs,ys=dn(Hl,0),Rs=dn(Hl,1);ys&&Rs&&ir.isAfter(ys,Rs)&&(yt==="week"&&!_n(ir,ur.locale,ys,Rs)||yt==="quarter"&&!pn(ir,ys,Rs)||yt!=="week"&&yt!=="quarter"&&yt!=="time"&&!In(ir,ys,Rs)?yl===0?(Hl=[ys,null],Rs=null):(ys=null,Hl=[null,Rs]):(yt!=="time"||kl!==!1)&&(Hl=_a(Hl,ir))),Qa(Hl);var pu=Hl&&Hl[0]?qt(Hl[0],{generateConfig:ir,locale:ur,format:tl[0]}):"",wu=Hl&&Hl[1]?qt(Hl[1],{generateConfig:ir,locale:ur,format:tl[0]}):"";if(Ya){var rc={range:yl===0?"start":"end"};Ya(Hl,[pu,wu],rc)}var ac=Va(ys,0,Io,sa),Xu=Va(Rs,1,Io,sa),fc=Hl===null||ac&&Xu;fc&&(nl(Hl),ua&&(!Vt(ir,dn(Oi,0),ys)||!Vt(ir,dn(Oi,1),Rs))&&ua(Hl,[pu,wu]))}var Fi=function(yl){return Lt&&hl.current&&hl.current.onKeyDown?hl.current.onKeyDown(yl):((0,De.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},vi={formatList:tl,generateConfig:ir,locale:ur},pi=nn(dn(ya,0),vi),yi=(0,cn.Z)(pi,2),Vi=yi[0],Ko=yi[1],Li=nn(dn(ya,1),vi),Za=(0,cn.Z)(Li,2),Ka=Za[0],ii=Za[1],Ti=function(yl,Hl){var ys=Dr(yl,{locale:ur,formatList:tl,generateConfig:ir}),Rs=Hl===0?kn:Vr;ys&&!Rs(ys)&&(Qa(za(ya,ys,Hl)),Ja(ys,Hl))},lo=Gt({valueTexts:Vi,onTextChange:function(yl){return Ti(yl,0)}}),rl=(0,cn.Z)(lo,3),Po=rl[0],To=rl[1],Ml=rl[2],pl=Gt({valueTexts:Ka,onTextChange:function(yl){return Ti(yl,1)}}),Kl=(0,cn.Z)(pl,3),Gl=Kl[0],Is=Kl[1],Ps=Kl[2],Yl=(0,ce.useState)(null),_s=(0,cn.Z)(Yl,2),ps=_s[0],gs=_s[1],Jo=(0,ce.useState)(null),$i=(0,cn.Z)(Jo,2),ki=$i[0],Co=$i[1],Eo=Nr(Po,{formatList:tl,generateConfig:ir,locale:ur}),eo=(0,cn.Z)(Eo,3),rs=eo[0],ro=eo[1],xl=eo[2],cs=Nr(Gl,{formatList:tl,generateConfig:ir,locale:ur}),es=(0,cn.Z)(cs,3),au=es[0],nu=es[1],Au=es[2],ui=function(yl){Co(za(ya,yl,Xt)),Xt===0?ro(yl):nu(yl)},Hu=function(){Co(za(ya,null,Xt)),Xt===0?xl():Au()},js=ce.useState(Lt),bu=(0,cn.Z)(js,2),Nu=bu[0],vs=bu[1];ce.useEffect(function(){vs(Lt)},[Lt]);var Ss=function(yl){if(Ho&&Nu){var Hl=dn(ya,Xt);Hl&&qa(ya,Xt)}return Ua==null?void 0:Ua(yl)},Ls=function(yl,Hl){return{blurToCancel:!Ho&&co,forwardKeyDown:Fi,onBlur:Ss,isClickOutside:function(Rs){return!jr([oo.current,_o.current,sl.current,wo.current],Rs)},onFocus:function(Rs){Ha&&Ha(Rs)},triggerOpen:function(Rs){Rs?nr(Rs,yl,"open"):nr(Rs,dn(ya,yl)?yl:!1,"blur")},onSubmit:function(){if(!ya||$n&&$n(ya[yl]))return!1;qa(ya,yl),Hl(),nr(!1,Xt,"confirm")},onCancel:function(){nr(!1,yl,"cancel"),Qa(Oi),Hl()}}},as={onKeyDown:function(yl,Hl){ll==null||ll(yl,Hl)},changeOnBlur:Ho},su=hn((0,vn.Z)((0,vn.Z)({},Ls(0,Ml)),{},{open:wr,value:Po},as)),ds=(0,cn.Z)(su,2),ru=ds[0],uu=ds[1],cu=uu.focused,Iu=uu.typing,Us=hn((0,vn.Z)((0,vn.Z)({},Ls(1,Ps)),{},{open:jn,value:Gl},as)),Pu=(0,cn.Z)(Us,2),Gs=Pu[0],du=Pu[1],fu=du.focused,Ys=du.typing,Vs=function(yl){No&&No(yl),!Lt&&!Fl.current.contains(yl.target)&&!Fo.current.contains(yl.target)&&(Io[0]?Io[1]||li(1):li(0))},Hs=function(yl){La&&La(yl),Lt&&(cu||fu)&&!Fl.current.contains(yl.target)&&!Fo.current.contains(yl.target)&&yl.preventDefault()},Qu=Oi&&Oi[0]?qt(Oi[0],{locale:ur,format:"YYYYMMDDHHmmss",generateConfig:ir}):"",dc=Oi&&Oi[1]?qt(Oi[1],{locale:ur,format:"YYYYMMDDHHmmss",generateConfig:ir}):"";(0,ce.useEffect)(function(){Lt||(Qa(Oi),!Vi.length||Vi[0]===""?To(""):Ko!==Po&&Ml(),!Ka.length||Ka[0]===""?Is(""):ii!==Gl&&Ps())},[Lt,Vi,Ka]),(0,ce.useEffect)(function(){Qa(Oi)},[Qu,dc]);var Ts=Zn({cellRender:Hr,monthCellRender:kr,dateRender:sr}),xu=ce.useMemo(function(){if(Ts)return function(Cs,yl){return Ts(Cs,(0,vn.Z)((0,vn.Z)({},yl),{},{range:Xt?"end":"start"}))}},[Xt,Ts]);ga&&(ga.current={focus:function(){Fl.current&&Fl.current.focus()},blur:function(){Fl.current&&Fl.current.blur(),Fo.current&&Fo.current.blur()}});var Rc=It(Rr,Pa);function ec(){var Cs=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,yl=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Hl=null;Lt&&ki&&ki[0]&&ki[1]&&ir.isAfter(ki[1],ki[0])&&(Hl=ki);var ys=Ht;if(Ht&&(0,mn.Z)(Ht)==="object"&&Ht.defaultValue){var Rs=Ht.defaultValue;ys=(0,vn.Z)((0,vn.Z)({},Ht),{},{defaultValue:dn(Rs,Xt)||void 0})}return ce.createElement(Aa.Provider,{value:{inRange:!0,panelPosition:Cs,rangedValue:ps||ya,hoverRangedValue:Hl}},ce.createElement(xr,(0,ye.Z)({},Le,yl,{cellRender:xu,showTime:ys,mode:Jl[Xt],generateConfig:ir,style:void 0,direction:Pl,disabledDate:Xt===0?kn:Vr,disabledTime:function(wu){return br?br(wu,Xt===0?"start":"end"):!1},className:At()((0,wn.Z)({},"".concat(bt,"-panel-focused"),Xt===0?!Iu:!Ys)),value:dn(ya,Xt),locale:ur,tabIndex:-1,onPanelChange:function(wu,rc){Xt===0&&xl(!0),Xt===1&&Au(!0),Te(za(Jl,rc,Xt),za(ya,wu,Xt));var ac=wu;Cs==="right"&&Jl[Xt]===rc&&(ac=Tn(ac,rc,ir,-1)),Ja(ac,Xt)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Xt===0?dn(ya,1):dn(ya,0)})))}var os=0,cl=0;if(Xt&&_o.current&&Nl.current&&oo.current&&to.current){os=_o.current.offsetWidth+Nl.current.offsetWidth;var iu=to.current.offsetLeft>os?to.current.offsetLeft-os:to.current.offsetLeft,As=oo.current.offsetWidth,hu=to.current.offsetWidth;As&&hu&&os>As-hu-(Pl==="rtl"?0:iu)&&(cl=os)}var Fa=Pl==="rtl"?{right:os}:{left:os};function Ou(){var Cs,yl=Dt(bt,Jl[Xt],Ea),Hl=Pt({prefixCls:bt,components:Lo,needConfirmButton:co,okDisabled:!dn(ya,Xt)||$n&&$n(ya[Xt]),locale:ur,onOk:function(){var Ku=dn(ya,Xt);Ku&&(qa(ya,Xt),yo==null||yo(ya),nr(!1,Xt,"confirm"))}});if(yt!=="time"&&!Ht){var ys=no(Xt),Rs=Tn(ys,yt,ir),pu=Jl[Xt],wu=pu===yt,rc=ec(wu?"left":!1,{pickerValue:ys,onPickerValueChange:function(Ku){Ja(Ku,Xt)}}),ac=ec("right",{pickerValue:Rs,onPickerValueChange:function(Ku){Ja(Tn(Ku,yt,ir,-1),Xt)}});Pl==="rtl"?Cs=ce.createElement(ce.Fragment,null,ac,wu&&rc):Cs=ce.createElement(ce.Fragment,null,rc,wu&&ac)}else Cs=ec();var Xu=ce.createElement("div",{className:"".concat(bt,"-panel-layout")},ce.createElement(Jt,{prefixCls:bt,presets:Rc,onClick:function(Ku){qa(Ku,null),nr(!1,Xt,"preset")},onHover:function(Ku){gs(Ku)}}),ce.createElement("div",null,ce.createElement("div",{className:"".concat(bt,"-panels")},Cs),(yl||Hl)&&ce.createElement("div",{className:"".concat(bt,"-footer")},yl,Hl)));return ta&&(Xu=ta(Xu)),ce.createElement("div",{className:"".concat(bt,"-panel-container"),style:{marginLeft:cl},ref:oo,onMouseDown:function(Ku){Ku.preventDefault()}},Xu)}var tc=ce.createElement("div",{className:At()("".concat(bt,"-range-wrapper"),"".concat(bt,"-").concat(yt,"-range-wrapper")),style:{minWidth:Ra}},ce.createElement("div",{ref:to,className:"".concat(bt,"-range-arrow"),style:Fa}),Ou()),kc;Ga&&(kc=ce.createElement("span",{className:"".concat(bt,"-suffix"),onMouseDown:function(yl){yl.preventDefault()}},Ga));var Jc=lr(bt,Da,la),nc=ce.createElement("span",{onMouseDown:function(yl){yl.preventDefault(),yl.stopPropagation()},onMouseUp:function(yl){yl.preventDefault(),yl.stopPropagation();var Hl=Oi;Io[0]||(Hl=za(Hl,null,0)),Io[1]||(Hl=za(Hl,null,1)),qa(Hl,null),nr(!1,Xt,"clear")},className:"".concat(bt,"-clear"),role:"button"},Jc),Nc=Da&&(dn(Oi,0)&&!Io[0]||dn(Oi,1)&&!Io[1]),qc={size:Si(yt,tl[0],ir)},ou=0,Fu=0;_o.current&&sl.current&&Nl.current&&(Xt===0?Fu=_o.current.offsetWidth:(ou=os,Fu=sl.current.offsetWidth));var Ic=Pl==="rtl"?{right:ou}:{left:ou},Fc=function(yl,Hl){var ys=za(ya,yl,Xt);if(Hl==="submit"||Hl!=="key"&&!co){qa(ys,Xt),Xt===0?xl():Au();var Rs=Xt===0?1:0;Io[Rs]?nr(!1,!1,"confirm"):nr(!1,Xt,"confirm")}else Qa(ys)};return ce.createElement(kt.Provider,{value:{operationRef:hl,hideHeader:yt==="time",onDateMouseEnter:ui,onDateMouseLeave:Hu,hideRanges:!0,onSelect:Fc,open:Lt}},ce.createElement(un,{visible:Lt,popupElement:tc,popupStyle:Wn,prefixCls:bt,dropdownClassName:bn,dropdownAlign:Mr,getPopupContainer:vr,transitionName:On,range:!0,direction:Pl},ce.createElement("div",(0,ye.Z)({ref:wo,className:At()(bt,"".concat(bt,"-range"),Wt,(Je={},(0,wn.Z)(Je,"".concat(bt,"-disabled"),Io[0]&&Io[1]),(0,wn.Z)(Je,"".concat(bt,"-focused"),Xt===0?cu:fu),(0,wn.Z)(Je,"".concat(bt,"-rtl"),Pl==="rtl"),Je)),style:_t,onClick:Vs,onMouseEnter:gi,onMouseLeave:zo,onMouseDown:Hs,onMouseUp:si},(0,dr.Z)(Le,{aria:!0,data:!0})),ce.createElement("div",{className:At()("".concat(bt,"-input"),(it={},(0,wn.Z)(it,"".concat(bt,"-input-active"),Xt===0),(0,wn.Z)(it,"".concat(bt,"-input-placeholder"),!!rs),it)),ref:_o},ce.createElement("input",(0,ye.Z)({id:en,disabled:Io[0],readOnly:fa||typeof tl[0]=="function"||!Iu,value:rs||Po,onChange:function(yl){To(yl.target.value)},autoFocus:Wr,placeholder:dn(Pr,0)||"",ref:Fl},ru,qc,{autoComplete:bo}))),ce.createElement("div",{className:"".concat(bt,"-range-separator"),ref:Nl},fn),ce.createElement("div",{className:At()("".concat(bt,"-input"),(Ce={},(0,wn.Z)(Ce,"".concat(bt,"-input-active"),Xt===1),(0,wn.Z)(Ce,"".concat(bt,"-input-placeholder"),!!au),Ce)),ref:sl},ce.createElement("input",(0,ye.Z)({disabled:Io[1],readOnly:fa||typeof tl[0]=="function"||!Ys,value:au||Gl,onChange:function(yl){Is(yl.target.value)},placeholder:dn(Pr,1)||"",ref:Fo},Gs,qc,{autoComplete:bo}))),ce.createElement("div",{className:"".concat(bt,"-active-bar"),style:(0,vn.Z)((0,vn.Z)({},Ic),{},{width:Fu,position:"absolute"})}),kc,Nc&&nc)))}var Yi=function(Le){(0,Kt.Z)(it,Le);var Je=(0,sn.Z)(it);function it(){var Ce;(0,An.Z)(this,it);for(var Ie=arguments.length,St=new Array(Ie),bt=0;bt<Ie;bt++)St[bt]=arguments[bt];return Ce=Je.call.apply(Je,[this].concat(St)),(0,wn.Z)((0,Mt.Z)(Ce),"pickerRef",ce.createRef()),(0,wn.Z)((0,Mt.Z)(Ce),"focus",function(){Ce.pickerRef.current&&Ce.pickerRef.current.focus()}),(0,wn.Z)((0,Mt.Z)(Ce),"blur",function(){Ce.pickerRef.current&&Ce.pickerRef.current.blur()}),Ce}return(0,jt.Z)(it,[{key:"render",value:function(){return ce.createElement(ei,(0,ye.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),it}(ce.Component),Ei=Yi,Wi=yr,Gi=ee(9708),po=ee(53124),Qi=ee(98866),So=ee(98675),Ki=ee(65223),Ai=ee(10110),ko=ee(4173),Bo=ee(16516),zi=ee(84780),gl=ee(47673),El=ee(14747),il=ee(79511),Vo=ee(80110),go=ee(67771),_l=ee(33297),jo=ee(45503),mo=ee(67968);const el=(Le,Je,it,Ce)=>{const{lineHeight:Ie}=Le,St=Math.floor(it*Ie)+2,bt=Math.max((Je-St)/2,0),en=Math.max(Je-St-bt,0);return{padding:`${bt}px ${Ce}px ${en}px`}},Vl=Le=>{const{componentCls:Je,pickerCellCls:it,pickerCellInnerCls:Ce,cellHeight:Ie,motionDurationSlow:St,borderRadiusSM:bt,motionDurationMid:en,cellHoverBg:_t,lineWidth:Wt,lineType:Wn,colorPrimary:bn,cellActiveWithRangeBg:On,colorTextLightSolid:Mr,controlHeightSM:vr,cellRangeBorderColor:ir,pickerCellBorderGap:ur,cellHoverWithRangeBg:Pr,cellWidth:Wr,colorTextDisabled:na,cellBgDisabled:Ma}=Le;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Ie,transform:"translateY(-50%)",transition:`all ${St}`,content:'""'},[Ce]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Ie,height:Ie,lineHeight:`${Ie}px`,borderRadius:bt,transition:`background ${en}, border ${en}`},"&-range-hover-start, &-range-hover-end":{[Ce]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${it}-in-view),
|
|
|
&:hover:not(${it}-selected):not(${it}-range-start):not(${it}-range-end):not(${it}-range-hover-start):not(${it}-range-hover-end)`]:{[Ce]:{background:_t}},[`&-in-view${it}-today ${Ce}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Wt}px ${Wn} ${bn}`,borderRadius:bt,content:'""'}},[`&-in-view${it}-in-range`]:{position:"relative","&::before":{background:On}},[`&-in-view${it}-selected ${Ce},
|
|
|
&-in-view${it}-range-start ${Ce},
|
|
|
&-in-view${it}-range-end ${Ce}`]:{color:Mr,background:bn},[`&-in-view${it}-range-start:not(${it}-range-start-single),
|
|
|
&-in-view${it}-range-end:not(${it}-range-end-single)`]:{"&::before":{background:On}},[`&-in-view${it}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${it}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${it}-range-hover-start:not(${it}-in-range):not(${it}-range-start):not(${it}-range-end),
|
|
|
&-in-view${it}-range-hover-end:not(${it}-in-range):not(${it}-range-start):not(${it}-range-end),
|
|
|
&-in-view${it}-range-hover-start${it}-range-start-single,
|
|
|
&-in-view${it}-range-hover-start${it}-range-start${it}-range-end${it}-range-end-near-hover,
|
|
|
&-in-view${it}-range-hover-end${it}-range-start${it}-range-end${it}-range-start-near-hover,
|
|
|
&-in-view${it}-range-hover-end${it}-range-end-single,
|
|
|
&-in-view${it}-range-hover:not(${it}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:vr,borderTop:`${Wt}px dashed ${ir}`,borderBottom:`${Wt}px dashed ${ir}`,transform:"translateY(-50%)",transition:`all ${St}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:ur},[`&-in-view${it}-in-range${it}-range-hover::before,
|
|
|
&-in-view${it}-in-range${it}-range-hover-start::before,
|
|
|
&-in-view${it}-in-range${it}-range-hover-end::before,
|
|
|
&-in-view${it}-range-start${it}-range-hover::before,
|
|
|
&-in-view${it}-range-end${it}-range-hover::before,
|
|
|
&-in-view${it}-range-start:not(${it}-range-start-single)${it}-range-hover-start::before,
|
|
|
&-in-view${it}-range-end:not(${it}-range-end-single)${it}-range-hover-end::before,
|
|
|
${Je}-panel
|
|
|
> :not(${Je}-date-panel)
|
|
|
&-in-view${it}-in-range${it}-range-hover-start::before,
|
|
|
${Je}-panel
|
|
|
> :not(${Je}-date-panel)
|
|
|
&-in-view${it}-in-range${it}-range-hover-end::before`]:{background:Pr},[`&-in-view${it}-range-start:not(${it}-range-start-single):not(${it}-range-end) ${Ce}`]:{borderStartStartRadius:bt,borderEndStartRadius:bt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${it}-range-end:not(${it}-range-end-single):not(${it}-range-start) ${Ce}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:bt,borderEndEndRadius:bt},[`&-range-hover${it}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${it}-range-hover:first-child::after,
|
|
|
tr > &-in-view${it}-range-hover-end:first-child::after,
|
|
|
&-in-view${it}-start${it}-range-hover-edge-start${it}-range-hover-edge-start-near-range::after,
|
|
|
&-in-view${it}-range-hover-edge-start:not(${it}-range-hover-edge-start-near-range)::after,
|
|
|
&-in-view${it}-range-hover-start::after`]:{insetInlineStart:(Wr-Ie)/2,borderInlineStart:`${Wt}px dashed ${ir}`,borderStartStartRadius:bt,borderEndStartRadius:bt},[`tr > &-in-view${it}-range-hover:last-child::after,
|
|
|
tr > &-in-view${it}-range-hover-start:last-child::after,
|
|
|
&-in-view${it}-end${it}-range-hover-edge-end${it}-range-hover-edge-end-near-range::after,
|
|
|
&-in-view${it}-range-hover-edge-end:not(${it}-range-hover-edge-end-near-range)::after,
|
|
|
&-in-view${it}-range-hover-end::after`]:{insetInlineEnd:(Wr-Ie)/2,borderInlineEnd:`${Wt}px dashed ${ir}`,borderStartEndRadius:bt,borderEndEndRadius:bt},"&-disabled":{color:na,pointerEvents:"none",[Ce]:{background:"transparent"},"&::before":{background:Ma}},[`&-disabled${it}-today ${Ce}::before`]:{borderColor:na}}},fl=Le=>{const{componentCls:Je,pickerCellCls:it,pickerCellInnerCls:Ce,pickerYearMonthCellWidth:Ie,pickerControlIconSize:St,cellWidth:bt,paddingSM:en,paddingXS:_t,paddingXXS:Wt,colorBgContainer:Wn,lineWidth:bn,lineType:On,borderRadiusLG:Mr,colorPrimary:vr,colorTextHeading:ir,colorSplit:ur,pickerControlIconBorderWidth:Pr,colorIcon:Wr,textHeight:na,motionDurationMid:Ma,colorIconHover:_e,fontWeightStrong:yt,cellHeight:Ht,pickerCellPaddingVertical:je,colorTextDisabled:Yt,colorText:fn,fontSize:Rn,cellHoverWithRangeBg:Bt,motionDurationSlow:Qt,withoutTimeCellHeight:rn,pickerQuarterPanelContentHeight:Vn,colorLink:$n,colorLinkActive:br,colorLinkHover:sr,cellRangeBorderColor:kr,borderRadiusSM:Hr,colorTextLightSolid:ta,cellHoverBg:Rr,timeColumnHeight:Pa,timeColumnWidth:sa,timeCellHeight:Da,controlItemBgActive:Ga,marginXXS:la,pickerDatePanelPaddingHorizontal:ga}=Le,fa=bt*7+ga*2,Ba=(fa-_t*2)/3-Ie-en,Ea=(fa-_t*2)/4-Ie;return{[Je]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Wn,border:`${bn}px ${On} ${ur}`,borderRadius:Mr,outline:"none","&-focused":{borderColor:vr},"&-rtl":{direction:"rtl",[`${Je}-prev-icon,
|
|
|
${Je}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Je}-next-icon,
|
|
|
${Je}-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:fa},"&-header":{display:"flex",padding:`0 ${_t}px`,color:ir,borderBottom:`${bn}px ${On} ${ur}`,"> *":{flex:"none"},button:{padding:0,color:Wr,lineHeight:`${na}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Ma}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Rn,"&:hover":{color:_e}},"&-view":{flex:"auto",fontWeight:yt,lineHeight:`${na}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:_t},"&:hover":{color:vr}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:St,height:St,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:St,height:St,border:"0 solid currentcolor",borderBlockStartWidth:Pr,borderBlockEndWidth:0,borderInlineStartWidth:Pr,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(St/2),insetInlineStart:Math.ceil(St/2),display:"inline-block",width:St,height:St,border:"0 solid currentcolor",borderBlockStartWidth:Pr,borderBlockEndWidth:0,borderInlineStartWidth:Pr,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:Ht,fontWeight:"normal"},th:{height:Ht+je*2,color:fn,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${je}px 0`,color:Yt,cursor:"pointer","&-in-view":{color:fn}},Vl(Le)),[`&-date-panel ${Je}-cell-in-view${Je}-cell-in-range${Je}-cell-range-hover-start ${Ce},
|
|
|
&-date-panel ${Je}-cell-in-view${Je}-cell-in-range${Je}-cell-range-hover-end ${Ce}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Bt,transition:`all ${Qt}`,content:'""'}},[`&-date-panel
|
|
|
${Je}-cell-in-view${Je}-cell-in-range${Je}-cell-range-hover-start
|
|
|
${Ce}::after`]:{insetInlineEnd:-(bt-Ht)/2,insetInlineStart:0},[`&-date-panel ${Je}-cell-in-view${Je}-cell-in-range${Je}-cell-range-hover-end ${Ce}::after`]:{insetInlineEnd:0,insetInlineStart:-(bt-Ht)/2},[`&-range-hover${Je}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Je}-content`]:{height:rn*4},[Ce]:{padding:`0 ${_t}px`}},"&-quarter-panel":{[`${Je}-content`]:{height:Vn},[`${Je}-cell-range-hover-start::after`]:{insetInlineStart:Ea,borderInlineStart:`${bn}px dashed ${kr}`,[`${Je}-panel-rtl &`]:{insetInlineEnd:Ea,borderInlineEnd:`${bn}px dashed ${kr}`}},[`${Je}-cell-range-hover-end::after`]:{insetInlineEnd:Ea,borderInlineEnd:`${bn}px dashed ${kr}`,[`${Je}-panel-rtl &`]:{insetInlineStart:Ea,borderInlineStart:`${bn}px dashed ${kr}`}}},[`&-panel ${Je}-footer`]:{borderTop:`${bn}px ${On} ${ur}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${na-2*bn}px`,textAlign:"center","&-extra":{padding:`0 ${en}px`,lineHeight:`${na-2*bn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${bn}px ${On} ${ur}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:$n,"&:hover":{color:sr},"&:active":{color:br},[`&${Je}-today-btn-disabled`]:{color:Yt,cursor:"not-allowed"}},"&-decade-panel":{[Ce]:{padding:`0 ${_t/2}px`},[`${Je}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Je}-body`]:{padding:`0 ${_t}px`},[Ce]:{width:Ie},[`${Je}-cell-range-hover-start::after`]:{borderStartStartRadius:Hr,borderEndStartRadius:Hr,borderStartEndRadius:0,borderEndEndRadius:0,[`${Je}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Hr,borderEndEndRadius:Hr}},[`${Je}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Hr,borderEndEndRadius:Hr,[`${Je}-panel-rtl &`]:{borderStartStartRadius:Hr,borderEndStartRadius:Hr,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${Je}-cell-range-hover-start::after`]:{insetInlineStart:Ba,borderInlineStart:`${bn}px dashed ${kr}`,[`${Je}-panel-rtl &`]:{insetInlineEnd:Ba,borderInlineEnd:`${bn}px dashed ${kr}`}},[`${Je}-cell-range-hover-end::after`]:{insetInlineEnd:Ba,borderInlineEnd:`${bn}px dashed ${kr}`,[`${Je}-panel-rtl &`]:{insetInlineStart:Ba,borderInlineStart:`${bn}px dashed ${kr}`}}},"&-week-panel":{[`${Je}-body`]:{padding:`${_t}px ${en}px`},[`${Je}-cell`]:{[`&:hover ${Ce},
|
|
|
&-selected ${Ce},
|
|
|
${Ce}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Ma}`},"&:first-child:before":{borderStartStartRadius:Hr,borderEndStartRadius:Hr},"&:last-child:before":{borderStartEndRadius:Hr,borderEndEndRadius:Hr}},"&:hover td":{"&:before":{background:Rr}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${it}`]:{"&:before":{background:vr},[`&${Je}-cell-week`]:{color:new zi.C(ta).setAlpha(.5).toHexString()},[Ce]:{color:ta}}},"&-range-hover td:before":{background:Ga}}},"&-date-panel":{[`${Je}-body`]:{padding:`${_t}px ${ga}px`},[`${Je}-content`]:{width:bt*7,th:{width:bt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${Je}-time-panel`]:{borderInlineStart:`${bn}px ${On} ${ur}`},[`${Je}-date-panel,
|
|
|
${Je}-time-panel`]:{transition:`opacity ${Qt}`},"&-active":{[`${Je}-date-panel,
|
|
|
${Je}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${Je}-content`]:{display:"flex",flex:"auto",height:Pa},"&-column":{flex:"1 0 auto",width:sa,margin:`${Wt}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Ma}`,overflowX:"hidden","&::after":{display:"block",height:Pa-Da,content:'""'},"&:not(:first-child)":{borderInlineStart:`${bn}px ${On} ${ur}`},"&-active":{background:new zi.C(Ga).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Je}-time-panel-cell`]:{marginInline:la,[`${Je}-time-panel-cell-inner`]:{display:"block",width:sa-2*la,height:Da,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(sa-Da)/2,color:fn,lineHeight:`${Da}px`,borderRadius:Hr,cursor:"pointer",transition:`background ${Ma}`,"&:hover":{background:Rr}},"&-selected":{[`${Je}-time-panel-cell-inner`]:{background:Ga}},"&-disabled":{[`${Je}-time-panel-cell-inner`]:{color:Yt,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${Je}-time-panel-column:after`]:{height:Pa-Da+Wt*2}}}},Dl=Le=>{const{componentCls:Je,colorBgContainer:it,colorError:Ce,errorActiveShadow:Ie,colorWarning:St,warningActiveShadow:bt}=Le;return{[`${Je}:not(${Je}-disabled)`]:{[`&${Je}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:it,borderColor:Ce},[`&${Je}-focused, &:focus`]:Object.assign({},(0,gl.M1)((0,jo.TS)(Le,{activeBorderColor:Ce,activeShadow:Ie}))),[`${Je}-active-bar`]:{background:Ce}},[`&${Je}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:it,borderColor:St},[`&${Je}-focused, &:focus`]:Object.assign({},(0,gl.M1)((0,jo.TS)(Le,{activeBorderColor:St,activeShadow:bt}))),[`${Je}-active-bar`]:{background:St}}}}},Oo=Le=>{const{componentCls:Je,antCls:it,controlHeight:Ce,fontSize:Ie,paddingInline:St,colorBgContainer:bt,lineWidth:en,lineType:_t,colorBorder:Wt,borderRadius:Wn,motionDurationMid:bn,colorBgContainerDisabled:On,colorTextDisabled:Mr,colorTextPlaceholder:vr,controlHeightLG:ir,fontSizeLG:ur,controlHeightSM:Pr,paddingInlineSM:Wr,paddingXS:na,marginXS:Ma,colorTextDescription:_e,lineWidthBold:yt,lineHeight:Ht,colorPrimary:je,motionDurationSlow:Yt,zIndexPopup:fn,paddingXXS:Rn,paddingSM:Bt,textHeight:Qt,cellActiveWithRangeBg:rn,colorPrimaryBorder:Vn,sizePopupArrow:$n,borderRadiusXS:br,borderRadiusOuter:sr,colorBgElevated:kr,borderRadiusLG:Hr,boxShadowSecondary:ta,borderRadiusSM:Rr,colorSplit:Pa,cellHoverBg:sa,presetsWidth:Da,presetsMaxWidth:Ga,boxShadowPopoverArrow:la,colorTextQuaternary:ga}=Le;return[{[Je]:Object.assign(Object.assign(Object.assign({},(0,El.Wf)(Le)),el(Le,Ce,Ie,St)),{position:"relative",display:"inline-flex",alignItems:"center",background:bt,lineHeight:1,border:`${en}px ${_t} ${Wt}`,borderRadius:Wn,transition:`border ${bn}, box-shadow ${bn}`,"&:hover, &-focused":Object.assign({},(0,gl.pU)(Le)),"&-focused":Object.assign({},(0,gl.M1)(Le)),[`&${Je}-disabled`]:{background:On,borderColor:Wt,cursor:"not-allowed",[`${Je}-suffix`]:{color:ga}},[`&${Je}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${Je}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,gl.ik)(Le)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${Je}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:vr}}},"&-large":Object.assign(Object.assign({},el(Le,ir,ur,St)),{[`${Je}-input > input`]:{fontSize:ur}}),"&-small":Object.assign({},el(Le,Pr,Ie,Wr)),[`${Je}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:na/2,color:Mr,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Ma}}},[`${Je}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Mr,lineHeight:1,background:bt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${bn}, color ${bn}`,"> *":{verticalAlign:"top"},"&:hover":{color:_e}},[`${Je}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:ur,color:Mr,fontSize:ur,verticalAlign:"top",cursor:"default",[`${Je}-focused &`]:{color:_e},[`${Je}-range-separator &`]:{[`${Je}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Je}-clear`]:{insetInlineEnd:St},"&:hover":{[`${Je}-clear`]:{opacity:1}},[`${Je}-active-bar`]:{bottom:-en,height:yt,marginInlineStart:St,background:je,opacity:0,transition:`all ${Yt} ease-out`,pointerEvents:"none"},[`&${Je}-focused`]:{[`${Je}-active-bar`]:{opacity:1}},[`${Je}-range-separator`]:{alignItems:"center",padding:`0 ${na}px`,lineHeight:1},[`&${Je}-small`]:{[`${Je}-clear`]:{insetInlineEnd:Wr},[`${Je}-active-bar`]:{marginInlineStart:Wr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,El.Wf)(Le)),fl(Le)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:fn,[`&${Je}-dropdown-hidden`]:{display:"none"},[`&${Je}-dropdown-placement-bottomLeft`]:{[`${Je}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Je}-dropdown-placement-topLeft`]:{[`${Je}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${it}-slide-up-enter${it}-slide-up-enter-active${Je}-dropdown-placement-topLeft,
|
|
|
&${it}-slide-up-enter${it}-slide-up-enter-active${Je}-dropdown-placement-topRight,
|
|
|
&${it}-slide-up-appear${it}-slide-up-appear-active${Je}-dropdown-placement-topLeft,
|
|
|
&${it}-slide-up-appear${it}-slide-up-appear-active${Je}-dropdown-placement-topRight`]:{animationName:go.Qt},[`&${it}-slide-up-enter${it}-slide-up-enter-active${Je}-dropdown-placement-bottomLeft,
|
|
|
&${it}-slide-up-enter${it}-slide-up-enter-active${Je}-dropdown-placement-bottomRight,
|
|
|
&${it}-slide-up-appear${it}-slide-up-appear-active${Je}-dropdown-placement-bottomLeft,
|
|
|
&${it}-slide-up-appear${it}-slide-up-appear-active${Je}-dropdown-placement-bottomRight`]:{animationName:go.fJ},[`&${it}-slide-up-leave${it}-slide-up-leave-active${Je}-dropdown-placement-topLeft,
|
|
|
&${it}-slide-up-leave${it}-slide-up-leave-active${Je}-dropdown-placement-topRight`]:{animationName:go.ly},[`&${it}-slide-up-leave${it}-slide-up-leave-active${Je}-dropdown-placement-bottomLeft,
|
|
|
&${it}-slide-up-leave${it}-slide-up-leave-active${Je}-dropdown-placement-bottomRight`]:{animationName:go.Uw},[`${Je}-panel > ${Je}-time-panel`]:{paddingTop:Rn},[`${Je}-ranges`]:{marginBottom:0,padding:`${Rn}px ${Bt}px`,overflow:"hidden",lineHeight:`${Qt-2*en-na/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${Je}-preset > ${it}-tag-blue`]:{color:je,background:rn,borderColor:Vn,cursor:"pointer"},[`${Je}-ok`]:{marginInlineStart:"auto"}},[`${Je}-range-wrapper`]:{display:"flex",position:"relative"},[`${Je}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:St*1.5,transition:`left ${Yt} ease-out`},(0,il.r)($n,br,sr,kr,la)),[`${Je}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:kr,borderRadius:Hr,boxShadow:ta,transition:`margin ${Yt}`,[`${Je}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Je}-presets`]:{display:"flex",flexDirection:"column",minWidth:Da,maxWidth:Ga,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:na,borderInlineEnd:`${en}px ${_t} ${Pa}`,li:Object.assign(Object.assign({},El.vS),{borderRadius:Rr,paddingInline:na,paddingBlock:(Pr-Math.round(Ie*Ht))/2,cursor:"pointer",transition:`all ${Yt}`,"+ li":{marginTop:Ma},"&:hover":{background:sa}})}},[`${Je}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${Je}-panel`]:{borderWidth:`0 0 ${en}px`},"&:last-child":{[`${Je}-panel`]:{borderWidth:0}}},[`${Je}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Je}-content,
|
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:Wt}}}}),"&-dropdown-range":{padding:`${$n*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Je}-separator`]:{transform:"rotate(180deg)"},[`${Je}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,go.oN)(Le,"slide-up"),(0,go.oN)(Le,"slide-down"),(0,_l.Fm)(Le,"move-up"),(0,_l.Fm)(Le,"move-down")]},jl=Le=>{const{componentCls:Je,controlHeightLG:it,paddingXXS:Ce,padding:Ie}=Le;return{pickerCellCls:`${Je}-cell`,pickerCellInnerCls:`${Je}-cell-inner`,pickerYearMonthCellWidth:it*1.5,pickerQuarterPanelContentHeight:it*1.4,pickerCellPaddingVertical:Ce+Ce/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Ie+Ce/2}},ls=Le=>({cellHoverBg:Le.controlItemBgHover,cellActiveWithRangeBg:Le.controlItemBgActive,cellHoverWithRangeBg:new zi.C(Le.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new zi.C(Le.colorPrimary).lighten(20).toHexString(),cellBgDisabled:Le.colorBgContainerDisabled,timeColumnWidth:Le.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:Le.controlHeightSM*1.5,cellHeight:Le.controlHeightSM,textHeight:Le.controlHeightLG,withoutTimeCellHeight:Le.controlHeightLG*1.65});var Ql=(0,mo.Z)("DatePicker",Le=>{const Je=(0,jo.TS)((0,gl.e5)(Le),jl(Le));return[Oo(Je),Dl(Je),(0,Vo.c)(Le,{focusElCls:`${Le.componentCls}-focused`})]},Le=>Object.assign(Object.assign(Object.assign({},(0,gl.TM)(Le)),ls(Le)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:Le.zIndexPopupBase+50}));function Al(Le,Je,it){return it!==void 0?it:Je==="year"&&Le.lang.yearPlaceholder?Le.lang.yearPlaceholder:Je==="quarter"&&Le.lang.quarterPlaceholder?Le.lang.quarterPlaceholder:Je==="month"&&Le.lang.monthPlaceholder?Le.lang.monthPlaceholder:Je==="week"&&Le.lang.weekPlaceholder?Le.lang.weekPlaceholder:Je==="time"&&Le.timePickerLocale.placeholder?Le.timePickerLocale.placeholder:Le.lang.placeholder}function Tl(Le,Je,it){return it!==void 0?it:Je==="year"&&Le.lang.yearPlaceholder?Le.lang.rangeYearPlaceholder:Je==="quarter"&&Le.lang.quarterPlaceholder?Le.lang.rangeQuarterPlaceholder:Je==="month"&&Le.lang.monthPlaceholder?Le.lang.rangeMonthPlaceholder:Je==="week"&&Le.lang.weekPlaceholder?Le.lang.rangeWeekPlaceholder:Je==="time"&&Le.timePickerLocale.placeholder?Le.timePickerLocale.rangePlaceholder:Le.lang.rangePlaceholder}function $l(Le,Je){const it={adjustX:1,adjustY:1};switch(Je){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:it};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:it};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:it};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:it};default:return{points:Le==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:it}}}function Rl(Le){return Le?Array.isArray(Le)?Le:[Le]:[]}function Il(Le){const{format:Je,picker:it,showHour:Ce,showMinute:Ie,showSecond:St,use12Hours:bt}=Le,en=Rl(Je)[0],_t=Object.assign({},Le);return Je&&Array.isArray(Je)&&(_t.format=en),en&&typeof en=="string"&&(!en.includes("s")&&St===void 0&&(_t.showSecond=!1),!en.includes("m")&&Ie===void 0&&(_t.showMinute=!1),!en.includes("H")&&!en.includes("h")&&!en.includes("K")&&!en.includes("k")&&Ce===void 0&&(_t.showHour=!1),(en.includes("a")||en.includes("A"))&&bt===void 0&&(_t.use12Hours=!0)),it==="time"?_t:(typeof en=="function"&&delete _t.format,{showTime:_t})}function ss(Le,Je,it){if(Le===!1)return!1;const Ce={clearIcon:Je!=null?Je:it};return typeof Le=="object"?Object.assign(Object.assign({},Ce),Le):Ce}var us=ee(71577);function ms(Le){return ce.createElement(us.ZP,Object.assign({size:"small",type:"primary"},Le))}var ns={button:ms},Go=function(Le,Je){var it={};for(var Ce in Le)Object.prototype.hasOwnProperty.call(Le,Ce)&&Je.indexOf(Ce)<0&&(it[Ce]=Le[Ce]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Ce=Object.getOwnPropertySymbols(Le);Ie<Ce.length;Ie++)Je.indexOf(Ce[Ie])<0&&Object.prototype.propertyIsEnumerable.call(Le,Ce[Ie])&&(it[Ce[Ie]]=Le[Ce[Ie]]);return it};function ol(Le){return(0,ce.forwardRef)((it,Ce)=>{const{prefixCls:Ie,getPopupContainer:St,className:bt,placement:en,size:_t,disabled:Wt,bordered:Wn=!0,placeholder:bn,popupClassName:On,dropdownClassName:Mr,status:vr,clearIcon:ir,allowClear:ur,rootClassName:Pr}=it,Wr=Go(it,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),na=ce.useRef(null),{getPrefixCls:Ma,direction:_e,getPopupContainer:yt}=(0,ce.useContext)(po.E_),Ht=Ma("picker",Ie),{compactSize:je,compactItemClassnames:Yt}=(0,ko.ri)(Ht,_e),{format:fn,showTime:Rn,picker:Bt}=it,Qt=Ma(),[rn,Vn]=Ql(Ht),$n=Object.assign(Object.assign({},Rn?Il(Object.assign({format:fn,picker:Bt},Rn)):{}),Bt==="time"?Il(Object.assign(Object.assign({format:fn},it),{picker:Bt})):{}),br=(0,So.Z)(la=>{var ga;return(ga=_t!=null?_t:je)!==null&&ga!==void 0?ga:la}),sr=ce.useContext(Qi.Z),kr=Wt!=null?Wt:sr,Hr=(0,ce.useContext)(Ki.aM),{hasFeedback:ta,status:Rr,feedbackIcon:Pa}=Hr,sa=ce.createElement(ce.Fragment,null,Bt==="time"?ce.createElement(ct,null):ce.createElement(Re,null),ta&&Pa);(0,ce.useImperativeHandle)(Ce,()=>({focus:()=>{var la;return(la=na.current)===null||la===void 0?void 0:la.focus()},blur:()=>{var la;return(la=na.current)===null||la===void 0?void 0:la.blur()}}));const[Da]=(0,Ai.Z)("Calendar",Bo.Z),Ga=Object.assign(Object.assign({},Da),it.locale);return rn(ce.createElement(Ei,Object.assign({separator:ce.createElement("span",{"aria-label":"to",className:`${Ht}-separator`},ce.createElement(ht,null)),disabled:kr,ref:na,dropdownAlign:$l(_e,en),placeholder:Tl(Ga,Bt,bn),suffixIcon:sa,prevIcon:ce.createElement("span",{className:`${Ht}-prev-icon`}),nextIcon:ce.createElement("span",{className:`${Ht}-next-icon`}),superPrevIcon:ce.createElement("span",{className:`${Ht}-super-prev-icon`}),superNextIcon:ce.createElement("span",{className:`${Ht}-super-next-icon`}),transitionName:`${Qt}-slide-up`},Wr,$n,{className:At()({[`${Ht}-${br}`]:br,[`${Ht}-borderless`]:!Wn},(0,Gi.Z)(Ht,(0,Gi.F)(Rr,vr),ta),Vn,Yt,bt,Pr),locale:Ga.lang,prefixCls:Ht,getPopupContainer:St||yt,generateConfig:Le,components:ns,direction:_e,dropdownClassName:At()(Vn,On||Mr,Pr),allowClear:ss(ur,ir,ce.createElement(nt.Z,null))})))})}var Wl=function(Le,Je){var it={};for(var Ce in Le)Object.prototype.hasOwnProperty.call(Le,Ce)&&Je.indexOf(Ce)<0&&(it[Ce]=Le[Ce]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Ce=Object.getOwnPropertySymbols(Le);Ie<Ce.length;Ie++)Je.indexOf(Ce[Ie])<0&&Object.prototype.propertyIsEnumerable.call(Le,Ce[Ie])&&(it[Ce[Ie]]=Le[Ce[Ie]]);return it};function Xl(Le){function Je(_t,Wt){const Wn=Wt==="TimePicker"?"timePicker":"datePicker",bn=(0,ce.forwardRef)((On,Mr)=>{const{prefixCls:vr,getPopupContainer:ir,style:ur,className:Pr,rootClassName:Wr,size:na,bordered:Ma=!0,placement:_e,placeholder:yt,popupClassName:Ht,dropdownClassName:je,disabled:Yt,status:fn,clearIcon:Rn,allowClear:Bt}=On,Qt=Wl(On,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:rn,direction:Vn,getPopupContainer:$n,[Wn]:br}=(0,ce.useContext)(po.E_),sr=rn("picker",vr),{compactSize:kr,compactItemClassnames:Hr}=(0,ko.ri)(sr,Vn),ta=ce.useRef(null),{format:Rr,showTime:Pa}=On,[sa,Da]=Ql(sr);(0,ce.useImperativeHandle)(Mr,()=>({focus:()=>{var gi;return(gi=ta.current)===null||gi===void 0?void 0:gi.focus()},blur:()=>{var gi;return(gi=ta.current)===null||gi===void 0?void 0:gi.blur()}}));const Ga={showToday:!0};let la={};_t&&(la.picker=_t);const ga=_t||On.picker;la=Object.assign(Object.assign(Object.assign({},la),Pa?Il(Object.assign({format:Rr,picker:ga},Pa)):{}),ga==="time"?Il(Object.assign(Object.assign({format:Rr},On),{picker:ga})):{});const fa=rn(),Ba=(0,So.Z)(gi=>{var zo;return(zo=na!=null?na:kr)!==null&&zo!==void 0?zo:gi}),Ea=ce.useContext(Qi.Z),ua=Yt!=null?Yt:Ea,Xa=(0,ce.useContext)(Ki.aM),{hasFeedback:ra,status:Ya,feedbackIcon:Ha}=Xa,Ua=ce.createElement(ce.Fragment,null,ga==="time"?ce.createElement(ct,null):ce.createElement(Re,null),ra&&Ha),[La]=(0,Ai.Z)("DatePicker",Bo.Z),si=Object.assign(Object.assign({},La),On.locale);return sa(ce.createElement(Wi,Object.assign({ref:ta,placeholder:Al(si,ga,yt),suffixIcon:Ua,dropdownAlign:$l(Vn,_e),prevIcon:ce.createElement("span",{className:`${sr}-prev-icon`}),nextIcon:ce.createElement("span",{className:`${sr}-next-icon`}),superPrevIcon:ce.createElement("span",{className:`${sr}-super-prev-icon`}),superNextIcon:ce.createElement("span",{className:`${sr}-super-next-icon`}),transitionName:`${fa}-slide-up`},Ga,Qt,la,{locale:si.lang,className:At()({[`${sr}-${Ba}`]:Ba,[`${sr}-borderless`]:!Ma},(0,Gi.Z)(sr,(0,Gi.F)(Ya,fn),ra),Da,Hr,br==null?void 0:br.className,Pr,Wr),style:Object.assign(Object.assign({},br==null?void 0:br.style),ur),prefixCls:sr,getPopupContainer:ir||$n,generateConfig:Le,components:ns,direction:Vn,disabled:ua,dropdownClassName:At()(Da,Wr,Ht||je),allowClear:ss(Bt,Rn,ce.createElement(nt.Z,null))})))});return Wt&&(bn.displayName=Wt),bn}const it=Je(),Ce=Je("week","WeekPicker"),Ie=Je("month","MonthPicker"),St=Je("year","YearPicker"),bt=Je("time","TimePicker"),en=Je("quarter","QuarterPicker");return{DatePicker:it,WeekPicker:Ce,MonthPicker:Ie,YearPicker:St,TimePicker:bt,QuarterPicker:en}}const hs=null;function xs(Le){const{DatePicker:Je,WeekPicker:it,MonthPicker:Ce,YearPicker:Ie,TimePicker:St,QuarterPicker:bt}=Xl(Le),en=ol(Le),_t=Je;return _t.WeekPicker=it,_t.MonthPicker=Ce,_t.YearPicker=Ie,_t.RangePicker=en,_t.TimePicker=St,_t.QuarterPicker=bt,_t}var Ms=xs;const zs=Ms($e);function Ws(Le){const Je=$l(Le.direction,Le.placement);return Je.overflow.adjustY=!1,Je.overflow.adjustX=!1,Object.assign(Object.assign({},Le),{dropdownAlign:Je})}const Bs=(0,ut.Z)(zs,"picker",null,Ws);zs._InternalPanelDoNotUseOrYouWillBeFired=Bs;const Xs=(0,ut.Z)(zs.RangePicker,"picker",null,Ws);zs._InternalRangePanelDoNotUseOrYouWillBeFired=Xs,zs.generatePicker=Ms;var Ul=zs},96074:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return ue}});var ne=ee(94184),fe=ee.n(ne),De=ee(67294),qe=ee(53124),we=ee(14747),ke=ee(67968),de=ee(45503);const Se=Ue=>{const{componentCls:mt,sizePaddingEdgeHorizontal:ot,colorSplit:vt,lineWidth:Ee,textPaddingInline:wt,orientationMargin:Tt,verticalMarginInline:$e}=Ue;return{[mt]:Object.assign(Object.assign({},(0,we.Wf)(Ue)),{borderBlockStart:`${Ee}px solid ${vt}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:$e,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Ee}px solid ${vt}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ue.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${mt}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ue.dividerHorizontalWithTextGutterMargin}px 0`,color:Ue.colorTextHeading,fontWeight:500,fontSize:Ue.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${vt}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Ee}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${mt}-with-text-left`]:{"&::before":{width:`${Tt*100}%`},"&::after":{width:`${100-Tt*100}%`}},[`&-horizontal${mt}-with-text-right`]:{"&::before":{width:`${100-Tt*100}%`},"&::after":{width:`${Tt*100}%`}},[`${mt}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:wt},"&-dashed":{background:"none",borderColor:vt,borderStyle:"dashed",borderWidth:`${Ee}px 0 0`},[`&-horizontal${mt}-with-text${mt}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${mt}-dashed`]:{borderInlineStartWidth:Ee,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${mt}-with-text`]:{color:Ue.colorText,fontWeight:"normal",fontSize:Ue.fontSize},[`&-horizontal${mt}-with-text-left${mt}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${mt}-inner-text`]:{paddingInlineStart:ot}},[`&-horizontal${mt}-with-text-right${mt}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${mt}-inner-text`]:{paddingInlineEnd:ot}}})}};var me=(0,ke.Z)("Divider",Ue=>{const mt=(0,de.TS)(Ue,{dividerHorizontalWithTextGutterMargin:Ue.margin,dividerHorizontalGutterMargin:Ue.marginLG,sizePaddingEdgeHorizontal:0});return[Se(mt)]},Ue=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ue.marginXS})),Pe=function(Ue,mt){var ot={};for(var vt in Ue)Object.prototype.hasOwnProperty.call(Ue,vt)&&mt.indexOf(vt)<0&&(ot[vt]=Ue[vt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,vt=Object.getOwnPropertySymbols(Ue);Ee<vt.length;Ee++)mt.indexOf(vt[Ee])<0&&Object.prototype.propertyIsEnumerable.call(Ue,vt[Ee])&&(ot[vt[Ee]]=Ue[vt[Ee]]);return ot},ue=Ue=>{const{getPrefixCls:mt,direction:ot,divider:vt}=De.useContext(qe.E_),{prefixCls:Ee,type:wt="horizontal",orientation:Tt="center",orientationMargin:$e,className:ut,rootClassName:ye,children:ce,dashed:Xe,plain:et,style:st}=Ue,ft=Pe(Ue,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Re=mt("divider",Ee),[Be,gt]=me(Re),ze=Tt.length>0?`-${Tt}`:Tt,ct=!!ce,nt=Tt==="left"&&$e!=null,Ot=Tt==="right"&&$e!=null,Rt=fe()(Re,vt==null?void 0:vt.className,gt,`${Re}-${wt}`,{[`${Re}-with-text`]:ct,[`${Re}-with-text${ze}`]:ct,[`${Re}-dashed`]:!!Xe,[`${Re}-plain`]:!!et,[`${Re}-rtl`]:ot==="rtl",[`${Re}-no-default-orientation-margin-left`]:nt,[`${Re}-no-default-orientation-margin-right`]:Ot},ut,ye),an=De.useMemo(()=>typeof $e=="number"?$e:/^\d+$/.test($e)?Number($e):$e,[$e]),ht=Object.assign(Object.assign({},nt&&{marginLeft:an}),Ot&&{marginRight:an});return Be(De.createElement("div",Object.assign({className:Rt,style:Object.assign(Object.assign({},vt==null?void 0:vt.style),st)},ft,{role:"separator"}),ce&&wt!=="vertical"&&De.createElement("span",{className:`${Re}-inner-text`,style:ht},ce)))}},72565:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return Bi}});var ne=ee(94184),fe=ee.n(ne),De=ee(1413),qe=ee(97685),we=ee(67294),ke=ee(73935);function de(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Se={};function me(zn,Cn){}function Pe(zn,Cn){}function rt(){Se={}}function ue(zn,Cn,mr){!Cn&&!Se[mr]&&(zn(!1,mr),Se[mr]=!0)}function Ue(zn,Cn){ue(me,zn,Cn)}function mt(zn,Cn){ue(Pe,zn,Cn)}var ot=null,vt=ee(71002),Ee=ee(18459);function wt(zn,Cn,mr){var Yr=we.useRef({});return(!("value"in Yr.current)||mr(Yr.current.condition,Cn))&&(Yr.current.value=zn(),Yr.current.condition=Cn),Yr.current.value}function Tt(zn,Cn){typeof zn=="function"?zn(Cn):(0,vt.Z)(zn)==="object"&&zn&&"current"in zn&&(zn.current=Cn)}function $e(){for(var zn=arguments.length,Cn=new Array(zn),mr=0;mr<zn;mr++)Cn[mr]=arguments[mr];var Yr=Cn.filter(function(ha){return ha});return Yr.length<=1?Yr[0]:function(ha){Cn.forEach(function(mi){Tt(mi,ha)})}}function ut(){for(var zn=arguments.length,Cn=new Array(zn),mr=0;mr<zn;mr++)Cn[mr]=arguments[mr];return wt(function(){return $e.apply(void 0,Cn)},Cn,function(Yr,ha){return Yr.length===ha.length&&Yr.every(function(mi,xi){return mi===ha[xi]})})}function ye(zn){var Cn,mr,Yr=(0,Ee.isMemo)(zn)?zn.type.type:zn.type;return!(typeof Yr=="function"&&!((Cn=Yr.prototype)!==null&&Cn!==void 0&&Cn.render)||typeof zn=="function"&&!((mr=zn.prototype)!==null&&mr!==void 0&&mr.render))}var ce=we.createContext(null),Xe=ce,et=ee(74902),st=de()?we.useLayoutEffect:we.useEffect,ft=st,Re=function(Cn,mr){var Yr=React.useRef(!0);st(function(){if(!Yr.current)return Cn()},mr),st(function(){return Yr.current=!1,function(){Yr.current=!0}},[])},Be=[];function gt(zn,Cn){var mr=we.useState(function(){if(!de())return null;var tt=document.createElement("div");return tt}),Yr=(0,qe.Z)(mr,1),ha=Yr[0],mi=we.useRef(!1),xi=we.useContext(Xe),Ui=we.useState(Be),di=(0,qe.Z)(Ui,2),Mi=di[0],Ao=di[1],Wo=xi||(mi.current?void 0:function(tt){Ao(function(Nt){var pe=[tt].concat((0,et.Z)(Nt));return pe})});function $o(){ha.parentElement||document.body.appendChild(ha),mi.current=!0}function He(){var tt;(tt=ha.parentElement)===null||tt===void 0||tt.removeChild(ha),mi.current=!1}return ft(function(){return zn?xi?xi($o):$o():He(),He},[zn]),ft(function(){Mi.length&&(Mi.forEach(function(tt){return tt()}),Ao(Be))},[Mi]),[ha,Wo]}function ze(zn,Cn){if(!zn)return!1;if(zn.contains)return zn.contains(Cn);for(var mr=Cn;mr;){if(mr===zn)return!0;mr=mr.parentNode}return!1}var ct="data-rc-order",nt="rc-util-key",Ot=new Map;function Rt(){var zn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Cn=zn.mark;return Cn?Cn.startsWith("data-")?Cn:"data-".concat(Cn):nt}function an(zn){if(zn.attachTo)return zn.attachTo;var Cn=document.querySelector("head");return Cn||document.body}function ht(zn){return zn==="queue"?"prependQueue":zn?"prepend":"append"}function Ne(zn){return Array.from((Ot.get(zn)||zn).children).filter(function(Cn){return Cn.tagName==="STYLE"})}function At(zn){var Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!de())return null;var mr=Cn.csp,Yr=Cn.prepend,ha=document.createElement("style");ha.setAttribute(ct,ht(Yr)),mr!=null&&mr.nonce&&(ha.nonce=mr==null?void 0:mr.nonce),ha.innerHTML=zn;var mi=an(Cn),xi=mi.firstChild;if(Yr){if(Yr==="queue"){var Ui=Ne(mi).filter(function(di){return["prepend","prependQueue"].includes(di.getAttribute(ct))});if(Ui.length)return mi.insertBefore(ha,Ui[Ui.length-1].nextSibling),ha}mi.insertBefore(ha,xi)}else mi.appendChild(ha);return ha}function An(zn){var Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mr=an(Cn);return Ne(mr).find(function(Yr){return Yr.getAttribute(Rt(Cn))===zn})}function jt(zn){var Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mr=An(zn,Cn);if(mr){var Yr=an(Cn);Yr.removeChild(mr)}}function Mt(zn,Cn){var mr=Ot.get(zn);if(!mr||!ze(document,mr)){var Yr=At("",Cn),ha=Yr.parentNode;Ot.set(zn,ha),zn.removeChild(Yr)}}function Kt(){Ot.clear()}function sn(zn,Cn){var mr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Yr=an(mr);Mt(Yr,mr);var ha=An(Cn,mr);if(ha){var mi,xi;if((mi=mr.csp)!==null&&mi!==void 0&&mi.nonce&&ha.nonce!==((xi=mr.csp)===null||xi===void 0?void 0:xi.nonce)){var Ui;ha.nonce=(Ui=mr.csp)===null||Ui===void 0?void 0:Ui.nonce}return ha.innerHTML!==zn&&(ha.innerHTML=zn),ha}var di=At(zn,mr);return di.setAttribute(Rt(mr),Cn),di}var wn;function vn(zn){if(typeof document=="undefined")return 0;if(zn||wn===void 0){var Cn=document.createElement("div");Cn.style.width="100%",Cn.style.height="200px";var mr=document.createElement("div"),Yr=mr.style;Yr.position="absolute",Yr.top="0",Yr.left="0",Yr.pointerEvents="none",Yr.visibility="hidden",Yr.width="200px",Yr.height="150px",Yr.overflow="hidden",mr.appendChild(Cn),document.body.appendChild(mr);var ha=Cn.offsetWidth;mr.style.overflow="scroll";var mi=Cn.offsetWidth;ha===mi&&(mi=mr.clientWidth),document.body.removeChild(mr),wn=ha-mi}return wn}function cn(zn){var Cn=zn.match(/^(.*)px$/),mr=Number(Cn==null?void 0:Cn[1]);return Number.isNaN(mr)?vn():mr}function Nn(zn){if(typeof document=="undefined"||!zn||!(zn instanceof Element))return{width:0,height:0};var Cn=getComputedStyle(zn,"::-webkit-scrollbar"),mr=Cn.width,Yr=Cn.height;return{width:cn(mr),height:cn(Yr)}}function dr(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var En="rc-util-locker-".concat(Date.now()),Ge=0;function ve(zn){var Cn=!!zn,mr=we.useState(function(){return Ge+=1,"".concat(En,"_").concat(Ge)}),Yr=(0,qe.Z)(mr,1),ha=Yr[0];ft(function(){if(Cn){var mi=Nn(document.body).width,xi=dr();sn(`
|
|
|
html body {
|
|
|
overflow-y: hidden;
|
|
|
`.concat(xi?"width: calc(100% - ".concat(mi,"px);"):"",`
|
|
|
}`),ha)}else jt(ha);return function(){jt(ha)}},[Cn,ha])}var he=!1;function be(zn){return typeof zn=="boolean"&&(he=zn),he}var ge=function(Cn){return Cn===!1?!1:!de()||!Cn?null:typeof Cn=="string"?document.querySelector(Cn):typeof Cn=="function"?Cn():Cn},se=we.forwardRef(function(zn,Cn){var mr=zn.open,Yr=zn.autoLock,ha=zn.getContainer,mi=zn.debug,xi=zn.autoDestroy,Ui=xi===void 0?!0:xi,di=zn.children,Mi=we.useState(mr),Ao=(0,qe.Z)(Mi,2),Wo=Ao[0],$o=Ao[1],He=Wo||mr;we.useEffect(function(){(Ui||mr)&&$o(mr)},[mr,Ui]);var tt=we.useState(function(){return ge(ha)}),Nt=(0,qe.Z)(tt,2),pe=Nt[0],Oe=Nt[1];we.useEffect(function(){var Dn=ge(ha);Oe(Dn!=null?Dn:null)});var Ae=gt(He&&!pe,mi),Ke=(0,qe.Z)(Ae,2),Qe=Ke[0],at=Ke[1],pt=pe!=null?pe:Qe;ve(Yr&&mr&&de()&&(pt===Qe||pt===document.body));var $t=null;if(di&&ye(di)&&Cn){var tn=di;$t=tn.ref}var Yn=ut($t,Cn);if(!He||!de()||pe===void 0)return null;var fr=pt===!1||be(),Cr=di;return Cn&&(Cr=we.cloneElement(di,{ref:Yn})),we.createElement(Xe.Provider,{value:at},fr?Cr:(0,ke.createPortal)(Cr,pt))}),Ye=se,xt=Ye;function pn(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var on=pn()?we.useLayoutEffect:we.useEffect,In=function(Cn,mr){var Yr=we.useRef(!0);on(function(){return Cn(Yr.current)},mr),on(function(){return Yr.current=!1,function(){Yr.current=!0}},[])},Qn=function(Cn,mr){In(function(Yr){if(!Yr)return Cn()},mr)},_n=In,Vt=we.createContext(null),gn=we.createContext({}),Fn=Vt,Tn=ee(4942),qt=ee(87462),Dr=ee(62874),Ut={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Cn){var mr=Cn.keyCode;if(Cn.altKey&&!Cn.ctrlKey||Cn.metaKey||mr>=Ut.F1&&mr<=Ut.F12)return!1;switch(mr){case Ut.ALT:case Ut.CAPS_LOCK:case Ut.CONTEXT_MENU:case Ut.CTRL:case Ut.DOWN:case Ut.END:case Ut.ESC:case Ut.HOME:case Ut.INSERT:case Ut.LEFT:case Ut.MAC_FF_META:case Ut.META:case Ut.NUMLOCK:case Ut.NUM_CENTER:case Ut.PAGE_DOWN:case Ut.PAGE_UP:case Ut.PAUSE:case Ut.PRINT_SCREEN:case Ut.RIGHT:case Ut.SHIFT:case Ut.UP:case Ut.WIN_KEY:case Ut.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Cn){if(Cn>=Ut.ZERO&&Cn<=Ut.NINE||Cn>=Ut.NUM_ZERO&&Cn<=Ut.NUM_MULTIPLY||Cn>=Ut.A&&Cn<=Ut.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Cn===0)return!0;switch(Cn){case Ut.SPACE:case Ut.QUESTION_MARK:case Ut.NUM_PLUS:case Ut.NUM_MINUS:case Ut.NUM_PERIOD:case Ut.NUM_DIVISION:case Ut.SEMICOLON:case Ut.DASH:case Ut.EQUALS:case Ut.COMMA:case Ut.PERIOD:case Ut.SLASH:case Ut.APOSTROPHE:case Ut.SINGLE_QUOTE:case Ut.OPEN_SQUARE_BRACKET:case Ut.BACKSLASH:case Ut.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},nn=Ut,Nr=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,cr=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Fr="".concat(Nr," ").concat(cr).split(/[\s\n]+/),aa="aria-",Jn="data-";function Ia(zn,Cn){return zn.indexOf(Cn)===0}function Ta(zn){var Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,mr;Cn===!1?mr={aria:!0,data:!0,attr:!0}:Cn===!0?mr={aria:!0}:mr=(0,De.Z)({},Cn);var Yr={};return Object.keys(zn).forEach(function(ha){(mr.aria&&(ha==="role"||Ia(ha,aa))||mr.data&&Ia(ha,Jn)||mr.attr&&Fr.includes(ha))&&(Yr[ha]=zn[ha])}),Yr}function ti(zn){var Cn=React.useRef();Cn.current=zn;var mr=React.useCallback(function(){for(var Yr,ha=arguments.length,mi=new Array(ha),xi=0;xi<ha;xi++)mi[xi]=arguments[xi];return(Yr=Cn.current)===null||Yr===void 0?void 0:Yr.call.apply(Yr,[Cn].concat(mi))},[]);return mr}function Jr(zn){var Cn=React.useRef(!1),mr=React.useState(zn),Yr=_slicedToArray(mr,2),ha=Yr[0],mi=Yr[1];React.useEffect(function(){return Cn.current=!1,function(){Cn.current=!0}},[]);function xi(Ui,di){di&&Cn.current||mi(Ui)}return[ha,xi]}function ja(zn){return zn!==void 0}function Si(zn,Cn){var mr=Cn||{},Yr=mr.defaultValue,ha=mr.value,mi=mr.onChange,xi=mr.postState,Ui=useState(function(){return ja(ha)?ha:ja(Yr)?typeof Yr=="function"?Yr():Yr:typeof zn=="function"?zn():zn}),di=_slicedToArray(Ui,2),Mi=di[0],Ao=di[1],Wo=ha!==void 0?ha:Mi,$o=xi?xi(Wo):Wo,He=useEvent(mi),tt=useState([Wo]),Nt=_slicedToArray(tt,2),pe=Nt[0],Oe=Nt[1];useLayoutUpdateEffect(function(){var Ke=pe[0];Mi!==Ke&&He(Mi,Ke)},[pe]),useLayoutUpdateEffect(function(){ja(ha)||Ao(ha)},[ha]);var Ae=useEvent(function(Ke,Qe){Ao(Ke,Qe),Oe([Wo],Qe)});return[$o,Ae]}var $a=ee(33993);function ji(zn,Cn,mr){var Yr=we.useRef({});return(!("value"in Yr.current)||mr(Yr.current.condition,Cn))&&(Yr.current.value=zn(),Yr.current.condition=Cn),Yr.current.value}function Ni(zn,Cn){typeof zn=="function"?zn(Cn):(0,vt.Z)(zn)==="object"&&zn&&"current"in zn&&(zn.current=Cn)}function Ln(){for(var zn=arguments.length,Cn=new Array(zn),mr=0;mr<zn;mr++)Cn[mr]=arguments[mr];var Yr=Cn.filter(function(ha){return ha});return Yr.length<=1?Yr[0]:function(ha){Cn.forEach(function(mi){Ni(mi,ha)})}}function Pn(){for(var zn=arguments.length,Cn=new Array(zn),mr=0;mr<zn;mr++)Cn[mr]=arguments[mr];return ji(function(){return Ln.apply(void 0,Cn)},Cn,function(Yr,ha){return Yr.length!==ha.length||Yr.every(function(mi,xi){return mi!==ha[xi]})})}function rr(zn){var Cn,mr,Yr=isMemo(zn)?zn.type.type:zn.type;return!(typeof Yr=="function"&&!((Cn=Yr.prototype)!==null&&Cn!==void 0&&Cn.render)||typeof zn=="function"&&!((mr=zn.prototype)!==null&&mr!==void 0&&mr.render))}function or(zn){return!isValidElement(zn)||isFragment(zn)?!1:rr(zn)}function $r(zn,Cn,mr,Yr){if(!Cn.length)return mr;var ha=_toArray(Cn),mi=ha[0],xi=ha.slice(1),Ui;return!zn&&typeof mi=="number"?Ui=[]:Array.isArray(zn)?Ui=_toConsumableArray(zn):Ui=_objectSpread({},zn),Yr&&mr===void 0&&xi.length===1?delete Ui[mi][xi[0]]:Ui[mi]=$r(Ui[mi],xi,mr,Yr),Ui}function Br(zn,Cn,mr){var Yr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Cn.length&&Yr&&mr===void 0&&!get(zn,Cn.slice(0,-1))?zn:$r(zn,Cn,mr,Yr)}function jr(zn){return _typeof(zn)==="object"&&zn!==null&&Object.getPrototypeOf(zn)===Object.prototype}function hn(zn){return Array.isArray(zn)?[]:{}}var It=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Zt(){for(var zn=arguments.length,Cn=new Array(zn),mr=0;mr<zn;mr++)Cn[mr]=arguments[mr];var Yr=hn(Cn[0]);return Cn.forEach(function(ha){function mi(xi,Ui){var di=new Set(Ui),Mi=get(ha,xi),Ao=Array.isArray(Mi);if(Ao||jr(Mi)){if(!di.has(Mi)){di.add(Mi);var Wo=get(Yr,xi);Ao?Yr=Br(Yr,xi,[]):(!Wo||_typeof(Wo)!=="object")&&(Yr=Br(Yr,xi,hn(Mi))),It(Mi).forEach(function($o){mi([].concat(_toConsumableArray(xi),[$o]),di)})}}else Yr=Br(Yr,xi,Mi)}mi([])}),Yr}var Gt={},Gn=[],kt=function(Cn){Gn.push(Cn)};function mn(zn,Cn){if(0)var mr}function Zn(zn,Cn){if(0)var mr}function Mn(){Gt={}}function ar(zn,Cn,mr){!Cn&&!Gt[mr]&&(zn(!1,mr),Gt[mr]=!0)}function hr(zn,Cn){ar(mn,zn,Cn)}function dn(zn,Cn){ar(Zn,zn,Cn)}hr.preMessage=kt,hr.resetWarned=Mn,hr.noteOnce=dn;var za=hr,pa=function(Cn){var mr=Cn.prefixCls,Yr=Cn.className,ha=Cn.style,mi=Cn.children,xi=Cn.containerRef,Ui=Cn.id,di=Cn.onMouseEnter,Mi=Cn.onMouseOver,Ao=Cn.onMouseLeave,Wo=Cn.onClick,$o=Cn.onKeyDown,He=Cn.onKeyUp,tt={onMouseEnter:di,onMouseOver:Mi,onMouseLeave:Ao,onClick:Wo,onKeyDown:$o,onKeyUp:He},Nt=we.useContext(gn),pe=Nt.panel,Oe=Pn(pe,xi);return we.createElement(we.Fragment,null,we.createElement("div",(0,qt.Z)({id:Ui,className:fe()("".concat(mr,"-content"),Yr),style:(0,De.Z)({},ha),"aria-modal":"true",role:"dialog",ref:Oe},tt),mi))},ma=pa;function Sa(zn){return typeof zn=="string"&&String(Number(zn))===zn?(za(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(zn)):zn}function Aa(zn){warning(!("wrapperClassName"in zn),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!zn.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ka={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Er(zn,Cn){var mr,Yr,ha,mi,xi=zn.prefixCls,Ui=zn.open,di=zn.placement,Mi=zn.inline,Ao=zn.push,Wo=zn.forceRender,$o=zn.autoFocus,He=zn.keyboard,tt=zn.rootClassName,Nt=zn.rootStyle,pe=zn.zIndex,Oe=zn.className,Ae=zn.id,Ke=zn.style,Qe=zn.motion,at=zn.width,pt=zn.height,$t=zn.children,tn=zn.contentWrapperStyle,Yn=zn.mask,fr=zn.maskClosable,Cr=zn.maskMotion,Dn=zn.maskClassName,qn=zn.maskStyle,Xn=zn.afterOpenChange,Ar=zn.onClose,Or=zn.onMouseEnter,Kr=zn.onMouseOver,Tr=zn.onMouseLeave,_r=zn.onClick,Zr=zn.onKeyDown,qr=zn.onKeyUp,Dt=we.useRef(),Pt=we.useRef(),Kn=we.useRef();we.useImperativeHandle(Cn,function(){return Dt.current});var Bn=function(Ur){var Wa=Ur.keyCode,ai=Ur.shiftKey;switch(Wa){case nn.TAB:{if(Wa===nn.TAB){if(!ai&&document.activeElement===Kn.current){var _a;(_a=Pt.current)===null||_a===void 0||_a.focus({preventScroll:!0})}else if(ai&&document.activeElement===Pt.current){var Va;(Va=Kn.current)===null||Va===void 0||Va.focus({preventScroll:!0})}}break}case nn.ESC:{Ar&&He&&(Ur.stopPropagation(),Ar(Ur));break}}};we.useEffect(function(){if(Ui&&$o){var da;(da=Dt.current)===null||da===void 0||da.focus({preventScroll:!0})}},[Ui]);var xr=we.useState(!1),zr=(0,qe.Z)(xr,2),Lr=zr[0],ca=zr[1],un=we.useContext(Fn),Jt;Ao===!1?Jt={distance:0}:Ao===!0?Jt={}:Jt=Ao||{};var yn=(mr=(Yr=(ha=Jt)===null||ha===void 0?void 0:ha.distance)!==null&&Yr!==void 0?Yr:un==null?void 0:un.pushDistance)!==null&&mr!==void 0?mr:180,lr=we.useMemo(function(){return{pushDistance:yn,push:function(){ca(!0)},pull:function(){ca(!1)}}},[yn]);we.useEffect(function(){if(Ui){var da;un==null||(da=un.push)===null||da===void 0||da.call(un)}else{var Ur;un==null||(Ur=un.pull)===null||Ur===void 0||Ur.call(un)}},[Ui]),we.useEffect(function(){return function(){var da;un==null||(da=un.pull)===null||da===void 0||da.call(un)}},[]);var Xr=Yn&&we.createElement(Dr.Z,(0,qt.Z)({key:"mask"},Cr,{visible:Ui}),function(da,Ur){var Wa=da.className,ai=da.style;return we.createElement("div",{className:fe()("".concat(xi,"-mask"),Wa,Dn),style:(0,De.Z)((0,De.Z)({},ai),qn),onClick:fr&&Ui?Ar:void 0,ref:Ur})}),Ir=typeof Qe=="function"?Qe(di):Qe,yr={};if(Lr&&yn)switch(di){case"top":yr.transform="translateY(".concat(yn,"px)");break;case"bottom":yr.transform="translateY(".concat(-yn,"px)");break;case"left":yr.transform="translateX(".concat(yn,"px)");break;default:yr.transform="translateX(".concat(-yn,"px)");break}di==="left"||di==="right"?yr.width=Sa(at):yr.height=Sa(pt);var ba={onMouseEnter:Or,onMouseOver:Kr,onMouseLeave:Tr,onClick:_r,onKeyDown:Zr,onKeyUp:qr},va=we.createElement(Dr.Z,(0,qt.Z)({key:"panel"},Ir,{visible:Ui,forceRender:Wo,onVisibleChanged:function(Ur){Xn==null||Xn(Ur)},removeOnLeave:!1,leavedClassName:"".concat(xi,"-content-wrapper-hidden")}),function(da,Ur){var Wa=da.className,ai=da.style;return we.createElement("div",(0,qt.Z)({className:fe()("".concat(xi,"-content-wrapper"),Wa),style:(0,De.Z)((0,De.Z)((0,De.Z)({},yr),ai),tn)},Ta(zn,{data:!0})),we.createElement(ma,(0,qt.Z)({id:Ae,containerRef:Ur,prefixCls:xi,className:Oe,style:Ke},ba),$t))}),Oa=(0,De.Z)({},Nt);return pe&&(Oa.zIndex=pe),we.createElement(Fn.Provider,{value:lr},we.createElement("div",{className:fe()(xi,"".concat(xi,"-").concat(di),tt,(mi={},(0,Tn.Z)(mi,"".concat(xi,"-open"),Ui),(0,Tn.Z)(mi,"".concat(xi,"-inline"),Mi),mi)),style:Oa,tabIndex:-1,ref:Dt,onKeyDown:Bn},Xr,we.createElement("div",{tabIndex:0,ref:Pt,style:ka,"aria-hidden":"true","data-sentinel":"start"}),va,we.createElement("div",{tabIndex:0,ref:Kn,style:ka,"aria-hidden":"true","data-sentinel":"end"})))}var Gr=we.forwardRef(Er),Zi=Gr,Ii=function(Cn){var mr=Cn.open,Yr=mr===void 0?!1:mr,ha=Cn.prefixCls,mi=ha===void 0?"rc-drawer":ha,xi=Cn.placement,Ui=xi===void 0?"right":xi,di=Cn.autoFocus,Mi=di===void 0?!0:di,Ao=Cn.keyboard,Wo=Ao===void 0?!0:Ao,$o=Cn.width,He=$o===void 0?378:$o,tt=Cn.mask,Nt=tt===void 0?!0:tt,pe=Cn.maskClosable,Oe=pe===void 0?!0:pe,Ae=Cn.getContainer,Ke=Cn.forceRender,Qe=Cn.afterOpenChange,at=Cn.destroyOnClose,pt=Cn.onMouseEnter,$t=Cn.onMouseOver,tn=Cn.onMouseLeave,Yn=Cn.onClick,fr=Cn.onKeyDown,Cr=Cn.onKeyUp,Dn=Cn.panelRef,qn=we.useState(!1),Xn=(0,qe.Z)(qn,2),Ar=Xn[0],Or=Xn[1],Kr=we.useState(!1),Tr=(0,qe.Z)(Kr,2),_r=Tr[0],Zr=Tr[1];_n(function(){Zr(!0)},[]);var qr=_r?Yr:!1,Dt=we.useRef(),Pt=we.useRef();_n(function(){qr&&(Pt.current=document.activeElement)},[qr]);var Kn=function(ca){var un;if(Or(ca),Qe==null||Qe(ca),!ca&&Pt.current&&!((un=Dt.current)!==null&&un!==void 0&&un.contains(Pt.current))){var Jt;(Jt=Pt.current)===null||Jt===void 0||Jt.focus({preventScroll:!0})}},Bn=we.useMemo(function(){return{panel:Dn}},[Dn]);if(!Ke&&!Ar&&!qr&&at)return null;var xr={onMouseEnter:pt,onMouseOver:$t,onMouseLeave:tn,onClick:Yn,onKeyDown:fr,onKeyUp:Cr},zr=(0,De.Z)((0,De.Z)({},Cn),{},{open:qr,prefixCls:mi,placement:Ui,autoFocus:Mi,keyboard:Wo,width:He,mask:Nt,maskClosable:Oe,inline:Ae===!1,afterOpenChange:Kn,ref:Dt},xr);return we.createElement(gn.Provider,{value:Bn},we.createElement(xt,{open:qr||Ke||Ar,autoDestroy:!1,getContainer:Ae,autoLock:Nt&&(qr||Ar)},we.createElement(Zi,zr)))},ni=Ii,hi=ni,io=ee(33603),ri=ee(53124),ho=ee(65223),ia=ee(69760),xo=zn=>{const{prefixCls:Cn,title:mr,footer:Yr,extra:ha,closeIcon:mi,closable:xi,onClose:Ui,headerStyle:di,drawerStyle:Mi,bodyStyle:Ao,footerStyle:Wo,children:$o}=zn,He=we.useCallback(Ae=>we.createElement("button",{type:"button",onClick:Ui,"aria-label":"Close",className:`${Cn}-close`},Ae),[Ui]),[tt,Nt]=(0,ia.Z)(xi,mi,He,void 0,!0),pe=we.useMemo(()=>!mr&&!tt?null:we.createElement("div",{style:di,className:fe()(`${Cn}-header`,{[`${Cn}-header-close-only`]:tt&&!mr&&!ha})},we.createElement("div",{className:`${Cn}-header-title`},Nt,mr&&we.createElement("div",{className:`${Cn}-title`},mr)),ha&&we.createElement("div",{className:`${Cn}-extra`},ha)),[tt,Nt,ha,di,Cn,mr]),Oe=we.useMemo(()=>{if(!Yr)return null;const Ae=`${Cn}-footer`;return we.createElement("div",{className:Ae,style:Wo},Yr)},[Yr,Wo,Cn]);return we.createElement("div",{className:`${Cn}-wrapper-body`,style:Mi},pe,we.createElement("div",{className:`${Cn}-body`,style:Ao},$o),Oe)},ml=ee(4173),vl=ee(67968),Yo=ee(45503),wl=zn=>{const{componentCls:Cn,motionDurationSlow:mr}=zn,Yr={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${mr}`}}};return{[Cn]:{[`${Cn}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${mr}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Cn}-panel-motion`]:{"&-left":[Yr,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Yr,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Yr,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Yr,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Qo=zn=>{const{componentCls:Cn,zIndexPopup:mr,colorBgMask:Yr,colorBgElevated:ha,motionDurationSlow:mi,motionDurationMid:xi,padding:Ui,paddingLG:di,fontSizeLG:Mi,lineHeightLG:Ao,lineWidth:Wo,lineType:$o,colorSplit:He,marginSM:tt,colorIcon:Nt,colorIconHover:pe,colorText:Oe,fontWeightStrong:Ae,footerPaddingBlock:Ke,footerPaddingInline:Qe}=zn,at=`${Cn}-content-wrapper`;return{[Cn]:{position:"fixed",inset:0,zIndex:mr,pointerEvents:"none","&-pure":{position:"relative",background:ha,[`&${Cn}-left`]:{boxShadow:zn.boxShadowDrawerLeft},[`&${Cn}-right`]:{boxShadow:zn.boxShadowDrawerRight},[`&${Cn}-top`]:{boxShadow:zn.boxShadowDrawerUp},[`&${Cn}-bottom`]:{boxShadow:zn.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Cn}-mask`]:{position:"absolute",inset:0,zIndex:mr,background:Yr,pointerEvents:"auto"},[at]:{position:"absolute",zIndex:mr,maxWidth:"100vw",transition:`all ${mi}`,"&-hidden":{display:"none"}},[`&-left > ${at}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:zn.boxShadowDrawerLeft},[`&-right > ${at}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:zn.boxShadowDrawerRight},[`&-top > ${at}`]:{top:0,insetInline:0,boxShadow:zn.boxShadowDrawerUp},[`&-bottom > ${at}`]:{bottom:0,insetInline:0,boxShadow:zn.boxShadowDrawerDown},[`${Cn}-content`]:{width:"100%",height:"100%",overflow:"auto",background:ha,pointerEvents:"auto"},[`${Cn}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Cn}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Ui}px ${di}px`,fontSize:Mi,lineHeight:Ao,borderBottom:`${Wo}px ${$o} ${He}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Cn}-extra`]:{flex:"none"},[`${Cn}-close`]:{display:"inline-block",marginInlineEnd:tt,color:Nt,fontWeight:Ae,fontSize:Mi,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${xi}`,textRendering:"auto","&:focus, &:hover":{color:pe,textDecoration:"none"}},[`${Cn}-title`]:{flex:1,margin:0,color:Oe,fontWeight:zn.fontWeightStrong,fontSize:Mi,lineHeight:Ao},[`${Cn}-body`]:{flex:1,minWidth:0,minHeight:0,padding:di,overflow:"auto"},[`${Cn}-footer`]:{flexShrink:0,padding:`${Ke}px ${Qe}px`,borderTop:`${Wo}px ${$o} ${He}`},"&-rtl":{direction:"rtl"}}}};var dl=(0,vl.Z)("Drawer",zn=>{const Cn=(0,Yo.TS)(zn,{});return[Qo(Cn),wl(Cn)]},zn=>({zIndexPopup:zn.zIndexPopupBase,footerPaddingBlock:zn.paddingXS,footerPaddingInline:zn.padding})),zl=ee(16569),bl=function(zn,Cn){var mr={};for(var Yr in zn)Object.prototype.hasOwnProperty.call(zn,Yr)&&Cn.indexOf(Yr)<0&&(mr[Yr]=zn[Yr]);if(zn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ha=0,Yr=Object.getOwnPropertySymbols(zn);ha<Yr.length;ha++)Cn.indexOf(Yr[ha])<0&&Object.prototype.propertyIsEnumerable.call(zn,Yr[ha])&&(mr[Yr[ha]]=zn[Yr[ha]]);return mr};const Sl=null,Ci={distance:180},Do=zn=>{var Cn;const{rootClassName:mr,width:Yr,height:ha,size:mi="default",mask:xi=!0,push:Ui=Ci,open:di,afterOpenChange:Mi,onClose:Ao,prefixCls:Wo,getContainer:$o,style:He,className:tt,visible:Nt,afterVisibleChange:pe}=zn,Oe=bl(zn,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Ae,getPrefixCls:Ke,direction:Qe,drawer:at}=we.useContext(ri.E_),pt=Ke("drawer",Wo),[$t,tn]=dl(pt),Yn=$o===void 0&&Ae?()=>Ae(document.body):$o,fr=fe()({"no-mask":!xi,[`${pt}-rtl`]:Qe==="rtl"},mr,tn),Cr=we.useMemo(()=>Yr!=null?Yr:mi==="large"?736:378,[Yr,mi]),Dn=we.useMemo(()=>ha!=null?ha:mi==="large"?736:378,[ha,mi]),qn={motionName:(0,io.m)(pt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Xn=Or=>({motionName:(0,io.m)(pt,`panel-motion-${Or}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Ar=(0,zl.H)();return $t(we.createElement(ml.BR,null,we.createElement(ho.Ux,{status:!0,override:!0},we.createElement(hi,Object.assign({prefixCls:pt,onClose:Ao,maskMotion:qn,motion:Xn},Oe,{open:di!=null?di:Nt,mask:xi,push:Ui,width:Cr,height:Dn,style:Object.assign(Object.assign({},at==null?void 0:at.style),He),className:fe()(at==null?void 0:at.className,tt),rootClassName:fr,getContainer:Yn,afterOpenChange:Mi!=null?Mi:pe,panelRef:Ar}),we.createElement(xo,Object.assign({prefixCls:pt},Oe,{onClose:Ao}))))))},Pi=zn=>{const{prefixCls:Cn,style:mr,className:Yr,placement:ha="right"}=zn,mi=bl(zn,["prefixCls","style","className","placement"]),{getPrefixCls:xi}=we.useContext(ri.E_),Ui=xi("drawer",Cn),[di,Mi]=dl(Ui),Ao=fe()(Ui,`${Ui}-pure`,`${Ui}-${ha}`,Mi,Yr);return di(we.createElement("div",{className:Ao,style:mr},we.createElement(xo,Object.assign({prefixCls:Ui},mi))))};Do._InternalPanelDoNotUseOrYouWillBeFired=Pi;var Bi=Do},35874:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return ge}});var ne=ee(67294),fe=ee(91034),De=ee(94184),qe=ee.n(De),we=ee(87462),ke=ee(4942),de=ee(97685),Se=ee(45987),me=ee(62709),Pe=ee(71002),rt=ee(12060);function ue(se,Ye,xt){var pn=React.useRef({});return(!("value"in pn.current)||xt(pn.current.condition,Ye))&&(pn.current.value=se(),pn.current.condition=Ye),pn.current.value}function Ue(se,Ye){typeof se=="function"?se(Ye):(0,Pe.Z)(se)==="object"&&se&&"current"in se&&(se.current=Ye)}function mt(){for(var se=arguments.length,Ye=new Array(se),xt=0;xt<se;xt++)Ye[xt]=arguments[xt];var pn=Ye.filter(function(on){return on});return pn.length<=1?pn[0]:function(on){Ye.forEach(function(In){Ue(In,on)})}}function ot(){for(var se=arguments.length,Ye=new Array(se),xt=0;xt<se;xt++)Ye[xt]=arguments[xt];return useMemo(function(){return mt.apply(void 0,Ye)},Ye,function(pn,on){return pn.length===on.length&&pn.every(function(In,Qn){return In===on[Qn]})})}function vt(se){var Ye,xt,pn=(0,rt.isMemo)(se)?se.type.type:se.type;return!(typeof pn=="function"&&!((Ye=pn.prototype)!==null&&Ye!==void 0&&Ye.render)||typeof se=="function"&&!((xt=se.prototype)!==null&&xt!==void 0&&xt.render))}var Ee={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Ye){var xt=Ye.keyCode;if(Ye.altKey&&!Ye.ctrlKey||Ye.metaKey||xt>=Ee.F1&&xt<=Ee.F12)return!1;switch(xt){case Ee.ALT:case Ee.CAPS_LOCK:case Ee.CONTEXT_MENU:case Ee.CTRL:case Ee.DOWN:case Ee.END:case Ee.ESC:case Ee.HOME:case Ee.INSERT:case Ee.LEFT:case Ee.MAC_FF_META:case Ee.META:case Ee.NUMLOCK:case Ee.NUM_CENTER:case Ee.PAGE_DOWN:case Ee.PAGE_UP:case Ee.PAUSE:case Ee.PRINT_SCREEN:case Ee.RIGHT:case Ee.SHIFT:case Ee.UP:case Ee.WIN_KEY:case Ee.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Ye){if(Ye>=Ee.ZERO&&Ye<=Ee.NINE||Ye>=Ee.NUM_ZERO&&Ye<=Ee.NUM_MULTIPLY||Ye>=Ee.A&&Ye<=Ee.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ye===0)return!0;switch(Ye){case Ee.SPACE:case Ee.QUESTION_MARK:case Ee.NUM_PLUS:case Ee.NUM_MINUS:case Ee.NUM_PERIOD:case Ee.NUM_DIVISION:case Ee.SEMICOLON:case Ee.DASH:case Ee.EQUALS:case Ee.COMMA:case Ee.PERIOD:case Ee.SLASH:case Ee.APOSTROPHE:case Ee.SINGLE_QUOTE:case Ee.OPEN_SQUARE_BRACKET:case Ee.BACKSLASH:case Ee.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},wt=Ee,Tt=function(Ye){return+setTimeout(Ye,16)},$e=function(Ye){return clearTimeout(Ye)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Tt=function(Ye){return window.requestAnimationFrame(Ye)},$e=function(Ye){return window.cancelAnimationFrame(Ye)});var ut=0,ye=new Map;function ce(se){ye.delete(se)}var Xe=function(Ye){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ut+=1;var pn=ut;function on(In){if(In===0)ce(pn),Ye();else{var Qn=Tt(function(){on(In-1)});ye.set(pn,Qn)}}return on(xt),pn};Xe.cancel=function(se){var Ye=ye.get(se);return ce(Ye),$e(Ye)};var et=Xe,st=wt.ESC,ft=wt.TAB;function Re(se){var Ye=se.visible,xt=se.triggerRef,pn=se.onVisibleChange,on=se.autoFocus,In=se.overlayRef,Qn=ne.useRef(!1),_n=function(){if(Ye){var Tn,qt;(Tn=xt.current)===null||Tn===void 0||(qt=Tn.focus)===null||qt===void 0||qt.call(Tn),pn==null||pn(!1)}},Vt=function(){var Tn;return(Tn=In.current)!==null&&Tn!==void 0&&Tn.focus?(In.current.focus(),Qn.current=!0,!0):!1},gn=function(Tn){switch(Tn.keyCode){case st:_n();break;case ft:{var qt=!1;Qn.current||(qt=Vt()),qt?Tn.preventDefault():_n();break}}};ne.useEffect(function(){return Ye?(window.addEventListener("keydown",gn),on&&et(Vt,3),function(){window.removeEventListener("keydown",gn),Qn.current=!1}):function(){Qn.current=!1}},[Ye])}var Be=(0,ne.forwardRef)(function(se,Ye){var xt=se.overlay,pn=se.arrow,on=se.prefixCls,In=(0,ne.useMemo)(function(){var _n;return typeof xt=="function"?_n=xt():_n=xt,_n},[xt]),Qn=mt(Ye,In==null?void 0:In.ref);return ne.createElement(ne.Fragment,null,pn&&ne.createElement("div",{className:"".concat(on,"-arrow")}),ne.cloneElement(In,{ref:vt(In)?Qn:void 0}))}),gt=Be,ze={adjustX:1,adjustY:1},ct=[0,0],nt={topLeft:{points:["bl","tl"],overflow:ze,offset:[0,-4],targetOffset:ct},top:{points:["bc","tc"],overflow:ze,offset:[0,-4],targetOffset:ct},topRight:{points:["br","tr"],overflow:ze,offset:[0,-4],targetOffset:ct},bottomLeft:{points:["tl","bl"],overflow:ze,offset:[0,4],targetOffset:ct},bottom:{points:["tc","bc"],overflow:ze,offset:[0,4],targetOffset:ct},bottomRight:{points:["tr","br"],overflow:ze,offset:[0,4],targetOffset:ct}},Ot=nt,Rt=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function an(se,Ye){var xt,pn=se.arrow,on=pn===void 0?!1:pn,In=se.prefixCls,Qn=In===void 0?"rc-dropdown":In,_n=se.transitionName,Vt=se.animation,gn=se.align,Fn=se.placement,Tn=Fn===void 0?"bottomLeft":Fn,qt=se.placements,Dr=qt===void 0?Ot:qt,Ut=se.getPopupContainer,nn=se.showAction,Nr=se.hideAction,cr=se.overlayClassName,Fr=se.overlayStyle,aa=se.visible,Jn=se.trigger,Ia=Jn===void 0?["hover"]:Jn,Ta=se.autoFocus,ti=se.overlay,Jr=se.children,ja=se.onVisibleChange,Si=(0,Se.Z)(se,Rt),$a=ne.useState(),ji=(0,de.Z)($a,2),Ni=ji[0],Ln=ji[1],Pn="visible"in se?aa:Ni,rr=ne.useRef(null),or=ne.useRef(null),$r=ne.useRef(null);ne.useImperativeHandle(Ye,function(){return rr.current});var Br=function(Zn){Ln(Zn),ja==null||ja(Zn)};Re({visible:Pn,triggerRef:$r,onVisibleChange:Br,autoFocus:Ta,overlayRef:or});var jr=function(Zn){var Mn=se.onOverlayClick;Ln(!1),Mn&&Mn(Zn)},hn=function(){return ne.createElement(gt,{ref:or,overlay:ti,prefixCls:Qn,arrow:on})},It=function(){return typeof ti=="function"?hn:hn()},Zt=function(){var Zn=se.minOverlayWidthMatchTrigger,Mn=se.alignPoint;return"minOverlayWidthMatchTrigger"in se?Zn:!Mn},Gt=function(){var Zn=se.openClassName;return Zn!==void 0?Zn:"".concat(Qn,"-open")},Gn=ne.cloneElement(Jr,{className:qe()((xt=Jr.props)===null||xt===void 0?void 0:xt.className,Pn&&Gt()),ref:vt(Jr)?mt($r,Jr.ref):void 0}),kt=Nr;return!kt&&Ia.indexOf("contextMenu")!==-1&&(kt=["click"]),ne.createElement(me.Z,(0,we.Z)({builtinPlacements:Dr},Si,{prefixCls:Qn,ref:rr,popupClassName:qe()(cr,(0,ke.Z)({},"".concat(Qn,"-show-arrow"),on)),popupStyle:Fr,action:Ia,showAction:nn,hideAction:kt,popupPlacement:Tn,popupAlign:gn,popupTransitionName:_n,popupAnimation:Vt,popupVisible:Pn,stretch:Zt()?"minWidth":"",popup:It(),onPopupVisibleChange:Br,onPopupClick:jr,getPopupContainer:Ut}),Gn)}var ht=ne.forwardRef(an),Ne=ht,At=ee(60276),An=ee(5663),jt=ee(10366),Mt=ee(80636),Kt=ee(8745),sn=ee(96159),wn=ee(53124),vn=ee(68508),cn=ee(76529),Nn=ee(46605),dr=ee(66748);const En=null,Ge=se=>{const{menu:Ye,arrow:xt,prefixCls:pn,children:on,trigger:In,disabled:Qn,dropdownRender:_n,getPopupContainer:Vt,overlayClassName:gn,rootClassName:Fn,open:Tn,onOpenChange:qt,visible:Dr,onVisibleChange:Ut,mouseEnterDelay:nn=.15,mouseLeaveDelay:Nr=.1,autoAdjustOverflow:cr=!0,placement:Fr="",overlay:aa,transitionName:Jn}=se,{getPopupContainer:Ia,getPrefixCls:Ta,direction:ti}=ne.useContext(wn.E_),Jr=ne.useMemo(()=>{const Gn=Ta();return Jn!==void 0?Jn:Fr.includes("top")?`${Gn}-slide-down`:`${Gn}-slide-up`},[Ta,Fr,Jn]),ja=ne.useMemo(()=>Fr?Fr.includes("Center")?Fr.slice(0,Fr.indexOf("Center")):Fr:ti==="rtl"?"bottomRight":"bottomLeft",[Fr,ti]),Si=Ta("dropdown",pn),[$a,ji]=(0,dr.Z)(Si),[,Ni]=(0,Nn.Z)(),Ln=ne.Children.only(on),Pn=(0,sn.Tm)(Ln,{className:qe()(`${Si}-trigger`,{[`${Si}-rtl`]:ti==="rtl"},Ln.props.className),disabled:Qn}),rr=Qn?[]:In;let or;rr&&rr.includes("contextMenu")&&(or=!0);const[$r,Br]=(0,An.Z)(!1,{value:Tn!=null?Tn:Dr}),jr=(0,At.useEvent)(Gn=>{qt==null||qt(Gn),Ut==null||Ut(Gn),Br(Gn)}),hn=qe()(gn,Fn,ji,{[`${Si}-rtl`]:ti==="rtl"}),It=(0,Mt.Z)({arrowPointAtCenter:typeof xt=="object"&&xt.pointAtCenter,autoAdjustOverflow:cr,offset:Ni.marginXXS,arrowWidth:xt?Ni.sizePopupArrow:0,borderRadius:Ni.borderRadius}),Zt=ne.useCallback(()=>{Br(!1)},[]),Gt=()=>{let Gn;return Ye!=null&&Ye.items?Gn=ne.createElement(vn.default,Object.assign({},Ye)):typeof aa=="function"?Gn=aa():Gn=aa,_n&&(Gn=_n(Gn)),Gn=ne.Children.only(typeof Gn=="string"?ne.createElement("span",null,Gn):Gn),ne.createElement(cn.J,{prefixCls:`${Si}-menu`,expandIcon:ne.createElement("span",{className:`${Si}-menu-submenu-arrow`},ne.createElement(fe.Z,{className:`${Si}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Zt,validator:kt=>{let{mode:mn}=kt}},Gn)};return $a(ne.createElement(Ne,Object.assign({alignPoint:or},(0,jt.Z)(se,["rootClassName"]),{mouseEnterDelay:nn,mouseLeaveDelay:Nr,visible:$r,builtinPlacements:It,arrow:!!xt,overlayClassName:hn,prefixCls:Si,getPopupContainer:Vt||Ia,transitionName:Jr,trigger:rr,overlay:Gt,placement:ja,onVisibleChange:jr}),Pn))};function ve(se){return Object.assign(Object.assign({},se),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const he=(0,Kt.Z)(Ge,"dropdown",se=>se,ve),be=se=>ne.createElement(he,Object.assign({},se),ne.createElement("span",null));Ge._InternalPanelDoNotUseOrYouWillBeFired=be;var ge=Ge},85418:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return ot}});var ne=ee(35874),fe=ee(94184),De=ee.n(fe),qe=ee(67294),we=ee(25877),ke=ee(71577),de=ee(53124),Se=ee(93421),me=ee(4173),Pe=ee(66748),rt=function(vt,Ee){var wt={};for(var Tt in vt)Object.prototype.hasOwnProperty.call(vt,Tt)&&Ee.indexOf(Tt)<0&&(wt[Tt]=vt[Tt]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,Tt=Object.getOwnPropertySymbols(vt);$e<Tt.length;$e++)Ee.indexOf(Tt[$e])<0&&Object.prototype.propertyIsEnumerable.call(vt,Tt[$e])&&(wt[Tt[$e]]=vt[Tt[$e]]);return wt};const ue=vt=>{const{getPopupContainer:Ee,getPrefixCls:wt,direction:Tt}=qe.useContext(de.E_),{prefixCls:$e,type:ut="default",danger:ye,disabled:ce,loading:Xe,onClick:et,htmlType:st,children:ft,className:Re,menu:Be,arrow:gt,autoFocus:ze,overlay:ct,trigger:nt,align:Ot,open:Rt,onOpenChange:an,placement:ht,getPopupContainer:Ne,href:At,icon:An=qe.createElement(we.Z,null),title:jt,buttonsRender:Mt=Qn=>Qn,mouseEnterDelay:Kt,mouseLeaveDelay:sn,overlayClassName:wn,overlayStyle:vn,destroyPopupOnHide:cn,dropdownRender:Nn}=vt,dr=rt(vt,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),En=wt("dropdown",$e),Ge=`${En}-button`,[ve,he]=(0,Pe.Z)(En),be={menu:Be,arrow:gt,autoFocus:ze,align:Ot,disabled:ce,trigger:ce?[]:nt,onOpenChange:an,getPopupContainer:Ne||Ee,mouseEnterDelay:Kt,mouseLeaveDelay:sn,overlayClassName:wn,overlayStyle:vn,destroyPopupOnHide:cn,dropdownRender:Nn},{compactSize:ge,compactItemClassnames:se}=(0,me.ri)(En,Tt),Ye=De()(Ge,se,Re,he);"overlay"in vt&&(be.overlay=ct),"open"in vt&&(be.open=Rt),"placement"in vt?be.placement=ht:be.placement=Tt==="rtl"?"bottomLeft":"bottomRight";const xt=qe.createElement(ke.ZP,{type:ut,danger:ye,disabled:ce,loading:Xe,onClick:et,htmlType:st,href:At,title:jt},ft),pn=qe.createElement(ke.ZP,{type:ut,danger:ye,icon:An}),[on,In]=Mt([xt,pn]);return ve(qe.createElement(Se.Z.Compact,Object.assign({className:Ye,size:ge,block:!0},dr),on,qe.createElement(ne.Z,Object.assign({},be),In)))};ue.__ANT_BUTTON=!0;var Ue=ue;const mt=ne.Z;mt.Button=Ue;var ot=mt},66748:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return rt}});var ne=ee(14747),fe=ee(67771),De=ee(33297),qe=ee(50438),we=ee(97414),ke=ee(67968),de=ee(45503),me=ue=>{const{componentCls:Ue,menuCls:mt,colorError:ot,colorTextLightSolid:vt}=ue,Ee=`${mt}-item`;return{[`${Ue}, ${Ue}-menu-submenu`]:{[`${mt} ${Ee}`]:{[`&${Ee}-danger:not(${Ee}-disabled)`]:{color:ot,"&:hover":{color:vt,backgroundColor:ot}}}}}};const Pe=ue=>{const{componentCls:Ue,menuCls:mt,zIndexPopup:ot,dropdownArrowDistance:vt,sizePopupArrow:Ee,antCls:wt,iconCls:Tt,motionDurationMid:$e,dropdownPaddingVertical:ut,fontSize:ye,dropdownEdgeChildPadding:ce,colorTextDisabled:Xe,fontSizeIcon:et,controlPaddingHorizontal:st,colorBgElevated:ft}=ue;return[{[Ue]:Object.assign(Object.assign({},(0,ne.Wf)(ue)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ot,display:"block","&::before":{position:"absolute",insetBlock:-vt+Ee/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${wt}-btn`]:{[`& > ${Tt}-down, & > ${wt}-btn-icon > ${Tt}-down`]:{fontSize:et}},[`${Ue}-wrap`]:{position:"relative",[`${wt}-btn > ${Tt}-down`]:{fontSize:et},[`${Tt}-down::before`]:{transition:`transform ${$e}`}},[`${Ue}-wrap-open`]:{[`${Tt}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${wt}-slide-down-enter${wt}-slide-down-enter-active${Ue}-placement-bottomLeft,
|
|
|
&${wt}-slide-down-appear${wt}-slide-down-appear-active${Ue}-placement-bottomLeft,
|
|
|
&${wt}-slide-down-enter${wt}-slide-down-enter-active${Ue}-placement-bottom,
|
|
|
&${wt}-slide-down-appear${wt}-slide-down-appear-active${Ue}-placement-bottom,
|
|
|
&${wt}-slide-down-enter${wt}-slide-down-enter-active${Ue}-placement-bottomRight,
|
|
|
&${wt}-slide-down-appear${wt}-slide-down-appear-active${Ue}-placement-bottomRight`]:{animationName:fe.fJ},[`&${wt}-slide-up-enter${wt}-slide-up-enter-active${Ue}-placement-topLeft,
|
|
|
&${wt}-slide-up-appear${wt}-slide-up-appear-active${Ue}-placement-topLeft,
|
|
|
&${wt}-slide-up-enter${wt}-slide-up-enter-active${Ue}-placement-top,
|
|
|
&${wt}-slide-up-appear${wt}-slide-up-appear-active${Ue}-placement-top,
|
|
|
&${wt}-slide-up-enter${wt}-slide-up-enter-active${Ue}-placement-topRight,
|
|
|
&${wt}-slide-up-appear${wt}-slide-up-appear-active${Ue}-placement-topRight`]:{animationName:fe.Qt},[`&${wt}-slide-down-leave${wt}-slide-down-leave-active${Ue}-placement-bottomLeft,
|
|
|
&${wt}-slide-down-leave${wt}-slide-down-leave-active${Ue}-placement-bottom,
|
|
|
&${wt}-slide-down-leave${wt}-slide-down-leave-active${Ue}-placement-bottomRight`]:{animationName:fe.Uw},[`&${wt}-slide-up-leave${wt}-slide-up-leave-active${Ue}-placement-topLeft,
|
|
|
&${wt}-slide-up-leave${wt}-slide-up-leave-active${Ue}-placement-top,
|
|
|
&${wt}-slide-up-leave${wt}-slide-up-leave-active${Ue}-placement-topRight`]:{animationName:fe.ly}})},(0,we.ZP)(ue,{colorBg:ft,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ue} ${mt}`]:{position:"relative",margin:0},[`${mt}-submenu-popup`]:{position:"absolute",zIndex:ot,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ue}, ${Ue}-menu-submenu`]:{[mt]:Object.assign(Object.assign({padding:ce,listStyleType:"none",backgroundColor:ft,backgroundClip:"padding-box",borderRadius:ue.borderRadiusLG,outline:"none",boxShadow:ue.boxShadowSecondary},(0,ne.Qy)(ue)),{[`${mt}-item-group-title`]:{padding:`${ut}px ${st}px`,color:ue.colorTextDescription,transition:`all ${$e}`},[`${mt}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${mt}-item-icon`]:{minWidth:ye,marginInlineEnd:ue.marginXS,fontSize:ue.fontSizeSM},[`${mt}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${$e}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${mt}-item, ${mt}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ut}px ${st}px`,color:ue.colorText,fontWeight:"normal",fontSize:ye,lineHeight:ue.lineHeight,cursor:"pointer",transition:`all ${$e}`,borderRadius:ue.borderRadiusSM,"&:hover, &-active":{backgroundColor:ue.controlItemBgHover}},(0,ne.Qy)(ue)),{"&-selected":{color:ue.colorPrimary,backgroundColor:ue.controlItemBgActive,"&:hover, &-active":{backgroundColor:ue.controlItemBgActiveHover}},"&-disabled":{color:Xe,cursor:"not-allowed","&:hover":{color:Xe,backgroundColor:ft,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${ue.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:ue.colorSplit},[`${Ue}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ue.paddingXS,[`${Ue}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ue.colorTextDescription,fontSize:et,fontStyle:"normal"}}}),[`${mt}-item-group-list`]:{margin:`0 ${ue.marginXS}px`,padding:0,listStyle:"none"},[`${mt}-submenu-title`]:{paddingInlineEnd:st+ue.fontSizeSM},[`${mt}-submenu-vertical`]:{position:"relative"},[`${mt}-submenu${mt}-submenu-disabled ${Ue}-menu-submenu-title`]:{[`&, ${Ue}-menu-submenu-arrow-icon`]:{color:Xe,backgroundColor:ft,cursor:"not-allowed"}},[`${mt}-submenu-selected ${Ue}-menu-submenu-title`]:{color:ue.colorPrimary}})}},[(0,fe.oN)(ue,"slide-up"),(0,fe.oN)(ue,"slide-down"),(0,De.Fm)(ue,"move-up"),(0,De.Fm)(ue,"move-down"),(0,qe._y)(ue,"zoom-big")]]};var rt=(0,ke.Z)("Dropdown",(ue,Ue)=>{let{rootPrefixCls:mt}=Ue;const{marginXXS:ot,sizePopupArrow:vt,controlHeight:Ee,fontSize:wt,lineHeight:Tt,paddingXXS:$e,componentCls:ut,borderRadiusLG:ye}=ue,ce=(Ee-wt*Tt)/2,{dropdownArrowOffset:Xe}=(0,we.fS)({contentRadius:ye}),et=(0,de.TS)(ue,{menuCls:`${ut}-menu`,rootPrefixCls:mt,dropdownArrowDistance:vt/2+ot,dropdownArrowOffset:Xe,dropdownPaddingVertical:ce,dropdownEdgeChildPadding:$e});return[Pe(et),me(et)]},ue=>({zIndexPopup:ue.zIndexPopupBase+50}))},32983:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return $e}});var ne=ee(94184),fe=ee.n(ne),De=ee(67294),qe=ee(53124),we=ee(10110),ke=ee(84780),de=ee(46605),me=()=>{const[,ut]=(0,de.Z)(),ce=new ke.C(ut.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return De.createElement("svg",{style:ce,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},De.createElement("g",{fill:"none",fillRule:"evenodd"},De.createElement("g",{transform:"translate(24 31.67)"},De.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),De.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"}),De.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)"}),De.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"}),De.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"})),De.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"}),De.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},De.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),De.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},rt=()=>{const[,ut]=(0,de.Z)(),{colorFill:ye,colorFillTertiary:ce,colorFillQuaternary:Xe,colorBgContainer:et}=ut,{borderColor:st,shadowColor:ft,contentColor:Re}=(0,De.useMemo)(()=>({borderColor:new ke.C(ye).onBackground(et).toHexShortString(),shadowColor:new ke.C(ce).onBackground(et).toHexShortString(),contentColor:new ke.C(Xe).onBackground(et).toHexShortString()}),[ye,ce,Xe,et]);return De.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},De.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},De.createElement("ellipse",{fill:ft,cx:"32",cy:"33",rx:"32",ry:"7"}),De.createElement("g",{fillRule:"nonzero",stroke:st},De.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"}),De.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:Re}))))},ue=ee(67968),Ue=ee(45503);const mt=ut=>{const{componentCls:ye,margin:ce,marginXS:Xe,marginXL:et,fontSize:st,lineHeight:ft}=ut;return{[ye]:{marginInline:Xe,fontSize:st,lineHeight:ft,textAlign:"center",[`${ye}-image`]:{height:ut.emptyImgHeight,marginBottom:Xe,opacity:ut.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${ye}-description`]:{color:ut.colorText},[`${ye}-footer`]:{marginTop:ce},"&-normal":{marginBlock:et,color:ut.colorTextDisabled,[`${ye}-description`]:{color:ut.colorTextDisabled},[`${ye}-image`]:{height:ut.emptyImgHeightMD}},"&-small":{marginBlock:Xe,color:ut.colorTextDisabled,[`${ye}-image`]:{height:ut.emptyImgHeightSM}}}}};var ot=(0,ue.Z)("Empty",ut=>{const{componentCls:ye,controlHeightLG:ce}=ut,Xe=(0,Ue.TS)(ut,{emptyImgCls:`${ye}-img`,emptyImgHeight:ce*2.5,emptyImgHeightMD:ce,emptyImgHeightSM:ce*.875});return[mt(Xe)]}),vt=function(ut,ye){var ce={};for(var Xe in ut)Object.prototype.hasOwnProperty.call(ut,Xe)&&ye.indexOf(Xe)<0&&(ce[Xe]=ut[Xe]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Xe=Object.getOwnPropertySymbols(ut);et<Xe.length;et++)ye.indexOf(Xe[et])<0&&Object.prototype.propertyIsEnumerable.call(ut,Xe[et])&&(ce[Xe[et]]=ut[Xe[et]]);return ce};const Ee=De.createElement(me,null),wt=De.createElement(rt,null),Tt=ut=>{var{className:ye,rootClassName:ce,prefixCls:Xe,image:et=Ee,description:st,children:ft,imageStyle:Re,style:Be}=ut,gt=vt(ut,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:ze,direction:ct,empty:nt}=De.useContext(qe.E_),Ot=ze("empty",Xe),[Rt,an]=ot(Ot),[ht]=(0,we.Z)("Empty"),Ne=typeof st!="undefined"?st:ht==null?void 0:ht.description,At=typeof Ne=="string"?Ne:"empty";let An=null;return typeof et=="string"?An=De.createElement("img",{alt:At,src:et}):An=et,Rt(De.createElement("div",Object.assign({className:fe()(an,Ot,nt==null?void 0:nt.className,{[`${Ot}-normal`]:et===wt,[`${Ot}-rtl`]:ct==="rtl"},ye,ce),style:Object.assign(Object.assign({},nt==null?void 0:nt.style),Be)},gt),De.createElement("div",{className:`${Ot}-image`,style:Re},An),Ne&&De.createElement("div",{className:`${Ot}-description`},Ne),ft&&De.createElement("div",{className:`${Ot}-footer`},ft)))};Tt.PRESENTED_IMAGE_DEFAULT=Ee,Tt.PRESENTED_IMAGE_SIMPLE=wt;var $e=Tt},22150:function(Hn,ln,ee){"use strict";ee.d(ln,{default:function(){return Gn}});var ne=ee(74902),fe=ee(94184),De=ee.n(fe),qe=ee(38379),we=ee(67294),ke=ee(33603),de=ee(65223);function Se(kt){const[mn,Zn]=we.useState(kt);return we.useEffect(()=>{const Mn=setTimeout(()=>{Zn(kt)},kt.length?0:10);return()=>{clearTimeout(Mn)}},[kt]),mn}var me=ee(14747),Pe=ee(50438),rt=ee(33507),ue=ee(45503),Ue=ee(67968),ot=kt=>{const{componentCls:mn}=kt,Zn=`${mn}-show-help`,Mn=`${mn}-show-help-item`;return{[Zn]:{transition:`opacity ${kt.motionDurationSlow} ${kt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Mn]:{overflow:"hidden",transition:`height ${kt.motionDurationSlow} ${kt.motionEaseInOut},
|
|
|
opacity ${kt.motionDurationSlow} ${kt.motionEaseInOut},
|
|
|
transform ${kt.motionDurationSlow} ${kt.motionEaseInOut} !important`,[`&${Mn}-appear, &${Mn}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Mn}-leave-active`]:{transform:"translateY(-5px)"}}}}};const vt=kt=>({legend:{display:"block",width:"100%",marginBottom:kt.marginLG,padding:0,color:kt.colorTextDescription,fontSize:kt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${kt.lineWidth}px ${kt.lineType} ${kt.colorBorder}`},label:{fontSize:kt.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 ${kt.controlOutlineWidth}px ${kt.controlOutline}`},output:{display:"block",paddingTop:15,color:kt.colorText,fontSize:kt.fontSize,lineHeight:kt.lineHeight}}),Ee=(kt,mn)=>{const{formItemCls:Zn}=kt;return{[Zn]:{[`${Zn}-label > label`]:{height:mn},[`${Zn}-control-input`]:{minHeight:mn}}}},wt=kt=>{const{componentCls:mn}=kt;return{[kt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,me.Wf)(kt)),vt(kt)),{[`${mn}-text`]:{display:"inline-block",paddingInlineEnd:kt.paddingSM},"&-small":Object.assign({},Ee(kt,kt.controlHeightSM)),"&-large":Object.assign({},Ee(kt,kt.controlHeightLG))})}},Tt=kt=>{const{formItemCls:mn,iconCls:Zn,componentCls:Mn,rootPrefixCls:ar,labelRequiredMarkColor:hr,labelColor:dn,labelFontSize:za,labelHeight:pa,labelColonMarginInlineStart:ma,labelColonMarginInlineEnd:Sa,itemMarginBottom:Aa}=kt;return{[mn]:Object.assign(Object.assign({},(0,me.Wf)(kt)),{marginBottom:Aa,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden.${ar}-row`]:{display:"none"},"&-has-warning":{[`${mn}-split`]:{color:kt.colorError}},"&-has-error":{[`${mn}-split`]:{color:kt.colorWarning}},[`${mn}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${kt.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:pa,color:dn,fontSize:za,[`> ${Zn}`]:{fontSize:kt.fontSize,verticalAlign:"top"},[`&${mn}-required:not(${mn}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:kt.marginXXS,color:hr,fontSize:kt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Mn}-hide-required-mark &`]:{display:"none"}},[`${mn}-optional`]:{display:"inline-block",marginInlineStart:kt.marginXXS,color:kt.colorTextDescription,[`${Mn}-hide-required-mark &`]:{display:"none"}},[`${mn}-tooltip`]:{color:kt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:kt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:ma,marginInlineEnd:Sa},[`&${mn}-no-colon::after`]:{content:'"\\a0"'}}},[`${mn}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${ar}-col-'"]):not([class*="' ${ar}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:kt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[mn]:{"&-explain, &-extra":{clear:"both",color:kt.colorTextDescription,fontSize:kt.fontSize,lineHeight:kt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:kt.controlHeightSM,transition:`color ${kt.motionDurationMid} ${kt.motionEaseOut}`},"&-explain":{"&-error":{color:kt.colorError},"&-warning":{color:kt.colorWarning}}},[`&-with-help ${mn}-explain`]:{height:"auto",opacity:1},[`${mn}-feedback-icon`]:{fontSize:kt.fontSize,textAlign:"center",visibility:"visible",animationName:Pe.kr,animationDuration:kt.motionDurationMid,animationTimingFunction:kt.motionEaseOutBack,pointerEvents:"none","&-success":{color:kt.colorSuccess},"&-error":{color:kt.colorError},"&-warning":{color:kt.colorWarning},"&-validating":{color:kt.colorPrimary}}})}},$e=kt=>{const{componentCls:mn,formItemCls:Zn}=kt;return{[`${mn}-horizontal`]:{[`${Zn}-label`]:{flexGrow:0},[`${Zn}-control`]:{flex:"1 1 0",minWidth:0},[`${Zn}-label[class$='-24'], ${Zn}-label[class*='-24 ']`]:{[`& + ${Zn}-control`]:{minWidth:"unset"}}}}},ut=kt=>{const{componentCls:mn,formItemCls:Zn}=kt;return{[`${mn}-inline`]:{display:"flex",flexWrap:"wrap",[Zn]:{flex:"none",marginInlineEnd:kt.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Zn}-label,
|
|
|
> ${Zn}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Zn}-label`]:{flex:"none"},[`${mn}-text`]:{display:"inline-block"},[`${Zn}-has-feedback`]:{display:"inline-block"}}}}},ye=kt=>({padding:kt.verticalLabelPadding,margin:kt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),ce=kt=>{const{componentCls:mn,formItemCls:Zn,rootPrefixCls:Mn}=kt;return{[`${Zn} ${Zn}-label`]:ye(kt),[mn]:{[Zn]:{flexWrap:"wrap",[`${Zn}-label, ${Zn}-control`]:{[`&:not([class*=" ${Mn}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Xe=kt=>{const{componentCls:mn,formItemCls:Zn,rootPrefixCls:Mn}=kt;return{[`${mn}-vertical`]:{[Zn]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${mn}-item-control`]:{width:"100%"}}},[`${mn}-vertical ${Zn}-label,
|
|
|
.${Mn}-col-24${Zn}-label,
|
|
|
.${Mn}-col-xl-24${Zn}-label`]:ye(kt),[`@media (max-width: ${kt.screenXSMax}px)`]:[ce(kt),{[mn]:{[`.${Mn}-col-xs-24${Zn}-label`]:ye(kt)}}],[`@media (max-width: ${kt.screenSMMax}px)`]:{[mn]:{[`.${Mn}-col-sm-24${Zn}-label`]:ye(kt)}},[`@media (max-width: ${kt.screenMDMax}px)`]:{[mn]:{[`.${Mn}-col-md-24${Zn}-label`]:ye(kt)}},[`@media (max-width: ${kt.screenLGMax}px)`]:{[mn]:{[`.${Mn}-col-lg-24${Zn}-label`]:ye(kt)}}}},et=(kt,mn)=>(0,ue.TS)(kt,{formItemCls:`${kt.componentCls}-item`,rootPrefixCls:mn});var st=(0,Ue.Z)("Form",(kt,mn)=>{let{rootPrefixCls:Zn}=mn;const Mn=et(kt,Zn);return[wt(Mn),Tt(Mn),ot(Mn),$e(Mn),ut(Mn),Xe(Mn),(0,rt.Z)(Mn),Pe.kr]},kt=>({labelRequiredMarkColor:kt.colorError,labelColor:kt.colorTextHeading,labelFontSize:kt.fontSize,labelHeight:kt.controlHeight,labelColonMarginInlineStart:kt.marginXXS/2,labelColonMarginInlineEnd:kt.marginXS,itemMarginBottom:kt.marginLG,verticalLabelPadding:`0 0 ${kt.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const ft=[];function Re(kt,mn,Zn){let Mn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof kt=="string"?kt:`${mn}-${Mn}`,error:kt,errorStatus:Zn}}var gt=kt=>{let{help:mn,helpStatus:Zn,errors:Mn=ft,warnings:ar=ft,className:hr,fieldId:dn,onVisibleChanged:za}=kt;const{prefixCls:pa}=we.useContext(de.Rk),ma=`${pa}-item-explain`,[,Sa]=st(pa),Aa=(0,we.useMemo)(()=>(0,ke.Z)(pa),[pa]),ka=Se(Mn),Er=Se(ar),Gr=we.useMemo(()=>mn!=null?[Re(mn,"help",Zn)]:[].concat((0,ne.Z)(ka.map((Ii,ni)=>Re(Ii,"error","error",ni))),(0,ne.Z)(Er.map((Ii,ni)=>Re(Ii,"warning","warning",ni)))),[mn,Zn,ka,Er]),Zi={};return dn&&(Zi.id=`${dn}_help`),we.createElement(qe.default,{motionDeadline:Aa.motionDeadline,motionName:`${pa}-show-help`,visible:!!Gr.length,onVisibleChanged:za},Ii=>{const{className:ni,style:hi}=Ii;return we.createElement("div",Object.assign({},Zi,{className:De()(ma,ni,hr,Sa),style:hi,role:"alert"}),we.createElement(qe.CSSMotionList,Object.assign({keys:Gr},(0,ke.Z)(pa),{motionName:`${pa}-show-help-item`,component:!1}),io=>{const{key:ri,error:ho,errorStatus:ia,className:so,style:xo}=io;return we.createElement("div",{key:ri,className:De()(so,{[`${ma}-${ia}`]:ia}),style:xo},ho)}))})},ze=ee(58083),ct=ee(53124),nt=ee(98866),Ot=ee(97647),Rt=ee(98675),an=ee(17423);const ht=["parentNode"],Ne="form_item";function At(kt){return kt===void 0||kt===!1?[]:Array.isArray(kt)?kt:[kt]}function An(kt,mn){if(!kt.length)return;const Zn=kt.join("_");return mn?`${mn}_${Zn}`:ht.includes(Zn)?`${Ne}_${Zn}`:Zn}function jt(kt,mn,Zn,Mn,ar,hr){let dn=Mn;return hr!==void 0?dn=hr:Zn.validating?dn="validating":kt.length?dn="error":mn.length?dn="warning":(Zn.touched||ar&&Zn.validated)&&(dn="success"),dn}function Mt(kt){return At(kt).join("_")}function Kt(kt){const[mn]=(0,ze.useForm)(),Zn=we.useRef({}),Mn=we.useMemo(()=>kt!=null?kt:Object.assign(Object.assign({},mn),{__INTERNAL__:{itemRef:ar=>hr=>{const dn=Mt(ar);hr?Zn.current[dn]=hr:delete Zn.current[dn]}},scrollToField:function(ar){let hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const dn=At(ar),za=An(dn,Mn.__INTERNAL__.name),pa=za?document.getElementById(za):null;pa&&(0,an.Z)(pa,Object.assign({scrollMode:"if-needed",block:"nearest"},hr))},getFieldInstance:ar=>{const hr=Mt(ar);return Zn.current[hr]}}),[kt,mn]);return[Mn]}var sn=ee(37920),wn=function(kt,mn){var Zn={};for(var Mn in kt)Object.prototype.hasOwnProperty.call(kt,Mn)&&mn.indexOf(Mn)<0&&(Zn[Mn]=kt[Mn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ar=0,Mn=Object.getOwnPropertySymbols(kt);ar<Mn.length;ar++)mn.indexOf(Mn[ar])<0&&Object.prototype.propertyIsEnumerable.call(kt,Mn[ar])&&(Zn[Mn[ar]]=kt[Mn[ar]]);return Zn};const vn=(kt,mn)=>{const Zn=we.useContext(nt.Z),{getPrefixCls:Mn,direction:ar,form:hr}=we.useContext(ct.E_),{prefixCls:dn,className:za,rootClassName:pa,size:ma,disabled:Sa=Zn,form:Aa,colon:ka,labelAlign:Er,labelWrap:Gr,labelCol:Zi,wrapperCol:Ii,hideRequiredMark:ni,layout:hi="horizontal",scrollToFirstError:io,requiredMark:ri,onFinishFailed:ho,name:ia,style:so,feedbackIcons:xo}=kt,ml=wn(kt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),vl=(0,Rt.Z)(ma),Yo=we.useContext(sn.Z),uo=(0,we.useMemo)(()=>ri!==void 0?ri:hr&&hr.requiredMark!==void 0?hr.requiredMark:!ni,[ni,ri,hr]),wl=ka!=null?ka:hr==null?void 0:hr.colon,Qo=Mn("form",dn),[dl,zl]=st(Qo),bl=De()(Qo,`${Qo}-${hi}`,{[`${Qo}-hide-required-mark`]:uo===!1,[`${Qo}-rtl`]:ar==="rtl",[`${Qo}-${vl}`]:vl},zl,hr==null?void 0:hr.className,za,pa),[Sl]=Kt(Aa),{__INTERNAL__:Ci}=Sl;Ci.name=ia;const Do=(0,we.useMemo)(()=>({name:ia,labelAlign:Er,labelCol:Zi,labelWrap:Gr,wrapperCol:Ii,vertical:hi==="vertical",colon:wl,requiredMark:uo,itemRef:Ci.itemRef,form:Sl,feedbackIcons:xo}),[ia,Er,Zi,Ii,hi,wl,uo,Sl,xo]);we.useImperativeHandle(mn,()=>Sl);const Pi=(zn,Cn)=>{if(zn){let mr={block:"nearest"};typeof zn=="object"&&(mr=zn),Sl.scrollToField(Cn,mr)}},Bi=zn=>{if(ho==null||ho(zn),zn.errorFields.length){const Cn=zn.errorFields[0].name;if(io!==void 0){Pi(io,Cn);return}hr&&hr.scrollToFirstError!==void 0&&Pi(hr.scrollToFirstError,Cn)}};return dl(we.createElement(nt.n,{disabled:Sa},we.createElement(Ot.q,{size:vl},we.createElement(de.RV,Object.assign({},{validateMessages:Yo}),we.createElement(de.q3.Provider,{value:Do},we.createElement(ze.default,Object.assign({id:ia},ml,{name:ia,onFinishFailed:Bi,form:Sl,style:Object.assign(Object.assign({},hr==null?void 0:hr.style),so),className:bl})))))))};var Nn=we.forwardRef(vn),dr=ee(9475),En=ee(17799),Ge=ee(96159),ve=ee(37419);function he(kt){if(typeof kt=="function")return kt;const mn=(0,ve.Z)(kt);return mn.length<=1?mn[0]:mn}const be=()=>{const{status:kt,errors:mn=[],warnings:Zn=[]}=(0,we.useContext)(de.aM);return{status:kt,errors:mn,warnings:Zn}};be.Context=de.aM;var ge=be,se=ee(96523);function Ye(kt){const[mn,Zn]=we.useState(kt),Mn=(0,we.useRef)(null),ar=(0,we.useRef)([]),hr=(0,we.useRef)(!1);we.useEffect(()=>(hr.current=!1,()=>{hr.current=!0,se.Z.cancel(Mn.current),Mn.current=null}),[]);function dn(za){hr.current||(Mn.current===null&&(ar.current=[],Mn.current=(0,se.Z)(()=>{Mn.current=null,Zn(pa=>{let ma=pa;return ar.current.forEach(Sa=>{ma=Sa(ma)}),ma})})),ar.current.push(za))}return[mn,dn]}function xt(){const{itemRef:kt}=we.useContext(de.q3),mn=we.useRef({});function Zn(Mn,ar){const hr=ar&&typeof ar=="object"&&ar.ref,dn=Mn.join("_");return(mn.current.name!==dn||mn.current.originRef!==hr)&&(mn.current.name=dn,mn.current.originRef=hr,mn.current.ref=(0,En.sQ)(kt(Mn),hr)),mn.current.ref}return Zn}var pn=ee(48130),on=ee(14075),In=ee(10366),Qn=ee(92820),_n=ee(21584);const Vt=kt=>{const{formItemCls:mn}=kt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${mn}-control`]:{display:"flex"}}}};var gn=(0,Ue.b)(["Form","item-item"],(kt,mn)=>{let{rootPrefixCls:Zn}=mn;const Mn=et(kt,Zn);return[Vt(Mn)]}),Tn=kt=>{const{prefixCls:mn,status:Zn,wrapperCol:Mn,children:ar,errors:hr,warnings:dn,_internalItemRender:za,extra:pa,help:ma,fieldId:Sa,marginBottom:Aa,onErrorVisibleChanged:ka}=kt,Er=`${mn}-item`,Gr=we.useContext(de.q3),Zi=Mn||Gr.wrapperCol||{},Ii=De()(`${Er}-control`,Zi.className),ni=we.useMemo(()=>Object.assign({},Gr),[Gr]);delete ni.labelCol,delete ni.wrapperCol;const hi=we.createElement("div",{className:`${Er}-control-input`},we.createElement("div",{className:`${Er}-control-input-content`},ar)),io=we.useMemo(()=>({prefixCls:mn,status:Zn}),[mn,Zn]),ri=Aa!==null||hr.length||dn.length?we.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},we.createElement(de.Rk.Provider,{value:io},we.createElement(gt,{fieldId:Sa,errors:hr,warnings:dn,help:ma,helpStatus:Zn,className:`${Er}-explain-connected`,onVisibleChanged:ka})),!!Aa&&we.createElement("div",{style:{width:0,height:Aa}})):null,ho={};Sa&&(ho.id=`${Sa}_extra`);const ia=pa?we.createElement("div",Object.assign({},ho,{className:`${Er}-extra`}),pa):null,so=za&&za.mark==="pro_table_render"&&za.render?za.render(kt,{input:hi,errorList:ri,extra:ia}):we.createElement(we.Fragment,null,hi,ri,ia);return we.createElement(de.q3.Provider,{value:ni},we.createElement(_n.Z,Object.assign({},Zi,{className:Ii}),so),we.createElement(gn,{prefixCls:mn}))},qt=ee(17663),Dr=ee(24457),Ut=ee(10110),nn=ee(83062),Nr=function(kt,mn){var Zn={};for(var Mn in kt)Object.prototype.hasOwnProperty.call(kt,Mn)&&mn.indexOf(Mn)<0&&(Zn[Mn]=kt[Mn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ar=0,Mn=Object.getOwnPropertySymbols(kt);ar<Mn.length;ar++)mn.indexOf(Mn[ar])<0&&Object.prototype.propertyIsEnumerable.call(kt,Mn[ar])&&(Zn[Mn[ar]]=kt[Mn[ar]]);return Zn};function cr(kt){return kt?typeof kt=="object"&&!we.isValidElement(kt)?kt:{title:kt}:null}var aa=kt=>{let{prefixCls:mn,label:Zn,htmlFor:Mn,labelCol:ar,labelAlign:hr,colon:dn,required:za,requiredMark:pa,tooltip:ma}=kt;var Sa;const[Aa]=(0,Ut.Z)("Form"),{vertical:ka,labelAlign:Er,labelCol:Gr,labelWrap:Zi,colon:Ii}=we.useContext(de.q3);if(!Zn)return null;const ni=ar||Gr||{},hi=hr||Er,io=`${mn}-item-label`,ri=De()(io,hi==="left"&&`${io}-left`,ni.className,{[`${io}-wrap`]:!!Zi});let ho=Zn;const ia=dn===!0||Ii!==!1&&dn!==!1;ia&&!ka&&typeof Zn=="string"&&Zn.trim()!==""&&(ho=Zn.replace(/[:|:]\s*$/,""));const xo=cr(ma);if(xo){const{icon:uo=we.createElement(qt.Z,null)}=xo,wl=Nr(xo,["icon"]),Qo=we.createElement(nn.Z,Object.assign({},wl),we.cloneElement(uo,{className:`${mn}-item-tooltip`,title:""}));ho=we.createElement(we.Fragment,null,ho,Qo)}const ml=pa==="optional",vl=typeof pa=="function";vl?ho=pa(ho,{required:!!za}):ml&&!za&&(ho=we.createElement(we.Fragment,null,ho,we.createElement("span",{className:`${mn}-item-optional`,title:""},(Aa==null?void 0:Aa.optional)||((Sa=Dr.Z.Form)===null||Sa===void 0?void 0:Sa.optional))));const Yo=De()({[`${mn}-item-required`]:za,[`${mn}-item-required-mark-optional`]:ml||vl,[`${mn}-item-no-colon`]:!ia});return we.createElement(_n.Z,Object.assign({},ni,{className:ri}),we.createElement("label",{htmlFor:Mn,className:Yo,title:typeof Zn=="string"?Zn:""},ho))},Jn=ee(87725),Ia=ee(16646),Ta=ee(87995),ti=ee(3407);const Jr={success:Jn.Z,warning:Ta.Z,error:Ia.Z,validating:ti.Z};function ja(kt){let{children:mn,errors:Zn,warnings:Mn,hasFeedback:ar,validateStatus:hr,prefixCls:dn,meta:za,noStyle:pa}=kt;const ma=`${dn}-item`,{feedbackIcons:Sa}=we.useContext(de.q3),Aa=jt(Zn,Mn,za,null,!!ar,hr),{isFormItemInput:ka,status:Er}=we.useContext(de.aM),Gr=we.useMemo(()=>{var Zi;let Ii;if(ar){const io=ar!==!0&&ar.icons||Sa,ri=Aa&&((Zi=io==null?void 0:io({status:Aa,errors:Zn,warnings:Mn}))===null||Zi===void 0?void 0:Zi[Aa]),ho=Aa&&Jr[Aa];Ii=ri!==!1&&ho?we.createElement("span",{className:De()(`${ma}-feedback-icon`,`${ma}-feedback-icon-${Aa}`)},ri||we.createElement(ho,null)):null}let ni=!0,hi=Aa||"";return pa&&(ni=ka,hi=(Aa!=null?Aa:Er)||""),{status:hi,errors:Zn,warnings:Mn,hasFeedback:!!ar,feedbackIcon:Ii,isFormItemInput:ni}},[Aa,ar,pa,ka,Er]);return we.createElement(de.aM.Provider,{value:Gr},mn)}var Si=function(kt,mn){var Zn={};for(var Mn in kt)Object.prototype.hasOwnProperty.call(kt,Mn)&&mn.indexOf(Mn)<0&&(Zn[Mn]=kt[Mn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ar=0,Mn=Object.getOwnPropertySymbols(kt);ar<Mn.length;ar++)mn.indexOf(Mn[ar])<0&&Object.prototype.propertyIsEnumerable.call(kt,Mn[ar])&&(Zn[Mn[ar]]=kt[Mn[ar]]);return Zn};function $a(kt){const{prefixCls:mn,className:Zn,rootClassName:Mn,style:ar,help:hr,errors:dn,warnings:za,validateStatus:pa,meta:ma,hasFeedback:Sa,hidden:Aa,children:ka,fieldId:Er,required:Gr,isRequired:Zi,onSubItemMetaChange:Ii}=kt,ni=Si(kt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),hi=`${mn}-item`,{requiredMark:io}=we.useContext(de.q3),ri=we.useRef(null),ho=Se(dn),ia=Se(za),so=hr!=null,xo=!!(so||dn.length||za.length),ml=!!ri.current&&(0,pn.Z)(ri.current),[vl,Yo]=we.useState(null);(0,on.Z)(()=>{if(xo&&ri.current){const zl=getComputedStyle(ri.current);Yo(parseInt(zl.marginBottom,10))}},[xo,ml]);const uo=zl=>{zl||Yo(null)},Qo=function(){let zl=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const bl=zl?ho:ma.errors,Sl=zl?ia:ma.warnings;return jt(bl,Sl,ma,"",!!Sa,pa)}(),dl=De()(hi,Zn,Mn,{[`${hi}-with-help`]:so||ho.length||ia.length,[`${hi}-has-feedback`]:Qo&&Sa,[`${hi}-has-success`]:Qo==="success",[`${hi}-has-warning`]:Qo==="warning",[`${hi}-has-error`]:Qo==="error",[`${hi}-is-validating`]:Qo==="validating",[`${hi}-hidden`]:Aa});return we.createElement("div",{className:dl,style:ar,ref:ri},we.createElement(Qn.Z,Object.assign({className:`${hi}-row`},(0,In.Z)(ni,["_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"])),we.createElement(aa,Object.assign({htmlFor:Er},kt,{requiredMark:io,required:Gr!=null?Gr:Zi,prefixCls:mn})),we.createElement(Tn,Object.assign({},kt,ma,{errors:ho,warnings:ia,prefixCls:mn,status:Qo,help:hr,marginBottom:vl,onErrorVisibleChanged:uo}),we.createElement(de.qI.Provider,{value:Ii},we.createElement(ja,{prefixCls:mn,meta:ma,errors:ma.errors,warnings:ma.warnings,hasFeedback:Sa,validateStatus:Qo},ka)))),!!vl&&we.createElement("div",{className:`${hi}-margin-offset`,style:{marginBottom:-vl}}))}const ji="__SPLIT__",Ni=null,Ln=we.memo(kt=>{let{children:mn}=kt;return mn},(kt,mn)=>kt.value===mn.value&&kt.update===mn.update&&kt.childProps.length===mn.childProps.length&&kt.childProps.every((Zn,Mn)=>Zn===mn.childProps[Mn]));function Pn(kt){return kt!=null}function rr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function or(kt){const{name:mn,noStyle:Zn,className:Mn,dependencies:ar,prefixCls:hr,shouldUpdate:dn,rules:za,children:pa,required:ma,label:Sa,messageVariables:Aa,trigger:ka="onChange",validateTrigger:Er,hidden:Gr,help:Zi}=kt,{getPrefixCls:Ii}=we.useContext(ct.E_),{name:ni}=we.useContext(de.q3),hi=he(pa),io=typeof hi=="function",ri=we.useContext(de.qI),{validateTrigger:ho}=we.useContext(ze.FieldContext),ia=Er!==void 0?Er:ho,so=Pn(mn),xo=Ii("form",hr),[ml,vl]=st(xo),Yo=we.useContext(ze.ListContext),uo=we.useRef(),[wl,Qo]=Ye({}),[dl,zl]=(0,dr.Z)(()=>rr()),bl=Cn=>{const mr=Yo==null?void 0:Yo.getKey(Cn.name);if(zl(Cn.destroy?rr():Cn,!0),Zn&&Zi!==!1&&ri){let Yr=Cn.name;if(Cn.destroy)Yr=uo.current||Yr;else if(mr!==void 0){const[ha,mi]=mr;Yr=[ha].concat((0,ne.Z)(mi)),uo.current=Yr}ri(Cn,Yr)}},Sl=(Cn,mr)=>{Qo(Yr=>{const ha=Object.assign({},Yr),xi=[].concat((0,ne.Z)(Cn.name.slice(0,-1)),(0,ne.Z)(mr)).join(ji);return Cn.destroy?delete ha[xi]:ha[xi]=Cn,ha})},[Ci,Do]=we.useMemo(()=>{const Cn=(0,ne.Z)(dl.errors),mr=(0,ne.Z)(dl.warnings);return Object.values(wl).forEach(Yr=>{Cn.push.apply(Cn,(0,ne.Z)(Yr.errors||[])),mr.push.apply(mr,(0,ne.Z)(Yr.warnings||[]))}),[Cn,mr]},[wl,dl.errors,dl.warnings]),Pi=xt();function Bi(Cn,mr,Yr){return Zn&&!Gr?we.createElement(ja,{prefixCls:xo,hasFeedback:kt.hasFeedback,validateStatus:kt.validateStatus,meta:dl,errors:Ci,warnings:Do,noStyle:!0},Cn):we.createElement($a,Object.assign({key:"row"},kt,{className:De()(Mn,vl),prefixCls:xo,fieldId:mr,isRequired:Yr,errors:Ci,warnings:Do,meta:dl,onSubItemMetaChange:Sl}),Cn)}if(!so&&!io&&!ar)return ml(Bi(hi));let zn={};return typeof Sa=="string"?zn.label=Sa:mn&&(zn.label=String(mn)),Aa&&(zn=Object.assign(Object.assign({},zn),Aa)),ml(we.createElement(ze.Field,Object.assign({},kt,{messageVariables:zn,trigger:ka,validateTrigger:ia,onMetaChange:bl}),(Cn,mr,Yr)=>{const ha=At(mn).length&&mr?mr.name:[],mi=An(ha,ni),xi=ma!==void 0?ma:!!(za&&za.some(Mi=>{if(Mi&&typeof Mi=="object"&&Mi.required&&!Mi.warningOnly)return!0;if(typeof Mi=="function"){const Ao=Mi(Yr);return Ao&&Ao.required&&!Ao.warningOnly}return!1})),Ui=Object.assign({},Cn);let di=null;if(Array.isArray(hi)&&so)di=hi;else if(!(io&&(!(dn||ar)||so))){if(!(ar&&!io&&!so))if((0,Ge.l$)(hi)){const Mi=Object.assign(Object.assign({},hi.props),Ui);if(Mi.id||(Mi.id=mi),Zi||Ci.length>0||Do.length>0||kt.extra){const $o=[];(Zi||Ci.length>0)&&$o.push(`${mi}_help`),kt.extra&&$o.push(`${mi}_extra`),Mi["aria-describedby"]=$o.join(" ")}Ci.length>0&&(Mi["aria-invalid"]="true"),xi&&(Mi["aria-required"]="true"),(0,En.Yr)(hi)&&(Mi.ref=Pi(ha,hi)),new Set([].concat((0,ne.Z)(At(ka)),(0,ne.Z)(At(ia)))).forEach($o=>{Mi[$o]=function(){for(var He,tt,Nt,pe,Oe,Ae=arguments.length,Ke=new Array(Ae),Qe=0;Qe<Ae;Qe++)Ke[Qe]=arguments[Qe];(Nt=Ui[$o])===null||Nt===void 0||(He=Nt).call.apply(He,[Ui].concat(Ke)),(Oe=(pe=hi.props)[$o])===null||Oe===void 0||(tt=Oe).call.apply(tt,[pe].concat(Ke))}});const Wo=[Mi["aria-required"],Mi["aria-invalid"],Mi["aria-describedby"]];di=we.createElement(Ln,{value:Ui[kt.valuePropName||"value"],update:hi,childProps:Wo},(0,Ge.Tm)(hi,Mi))}else io&&(dn||ar)&&!so?di=hi(Yr):di=hi}return Bi(di,mi,xi)}))}const $r=or;$r.useStatus=ge;var Br=$r,jr=function(kt,mn){var Zn={};for(var Mn in kt)Object.prototype.hasOwnProperty.call(kt,Mn)&&mn.indexOf(Mn)<0&&(Zn[Mn]=kt[Mn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ar=0,Mn=Object.getOwnPropertySymbols(kt);ar<Mn.length;ar++)mn.indexOf(Mn[ar])<0&&Object.prototype.propertyIsEnumerable.call(kt,Mn[ar])&&(Zn[Mn[ar]]=kt[Mn[ar]]);return Zn},It=kt=>{var{prefixCls:mn,children:Zn}=kt,Mn=jr(kt,["prefixCls","children"]);const{getPrefixCls:ar}=we.useContext(ct.E_),hr=ar("form",mn),dn=we.useMemo(()=>({prefixCls:hr,status:"error"}),[hr]);return we.createElement(ze.List,Object.assign({},Mn),(za,pa,ma)=>we.createElement(de.Rk.Provider,{value:dn},Zn(za.map(Sa=>Object.assign(Object.assign({},Sa),{fieldKey:Sa.key})),pa,{errors:ma.errors,warnings:ma.warnings})))};function Zt(){const{form:kt}=(0,we.useContext)(de.q3);return kt}const Gt=Nn;Gt.Item=Br,Gt.List=It,Gt.ErrorList=gt,Gt.useForm=Kt,Gt.useFormInstance=Zt,Gt.useWatch=ze.useWatch,Gt.Provider=de.RV,Gt.create=()=>{};var Gn=Gt},25378:function(Hn,ln,ee){"use strict";var ne=ee(67294),fe=ee(14075),De=ee(57838),qe=ee(74443);function we(){let ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const de=(0,ne.useRef)({}),Se=(0,De.Z)(),me=(0,qe.ZP)();return(0,fe.Z)(()=>{const Pe=me.subscribe(rt=>{de.current=rt,ke&&Se()});return()=>me.unsubscribe(Pe)},[]),de.current}ln.Z=we},31795:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return hn}});var ne=ee(42922),fe=ee(53978),De=ee(94184),qe=ee.n(De),we=ee(87462),ke=ee(4942),de=ee(71002),Se=ee(97685),me=ee(45987),Pe=ee(15671),rt=ee(43144);function ue(){return typeof BigInt=="function"}function Ue(It){return!It&&It!==0&&!Number.isNaN(It)||!String(It).trim()}function mt(It){var Zt=It.trim(),Gt=Zt.startsWith("-");Gt&&(Zt=Zt.slice(1)),Zt=Zt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Zt.startsWith(".")&&(Zt="0".concat(Zt));var Gn=Zt||"0",kt=Gn.split("."),mn=kt[0]||"0",Zn=kt[1]||"0";mn==="0"&&Zn==="0"&&(Gt=!1);var Mn=Gt?"-":"";return{negative:Gt,negativeStr:Mn,trimStr:Gn,integerStr:mn,decimalStr:Zn,fullStr:"".concat(Mn).concat(Gn)}}function ot(It){var Zt=String(It);return!Number.isNaN(Number(Zt))&&Zt.includes("e")}function vt(It){var Zt=String(It);if(ot(It)){var Gt=Number(Zt.slice(Zt.indexOf("e-")+2)),Gn=Zt.match(/\.(\d+)/);return Gn!=null&&Gn[1]&&(Gt+=Gn[1].length),Gt}return Zt.includes(".")&&wt(Zt)?Zt.length-Zt.indexOf(".")-1:0}function Ee(It){var Zt=String(It);if(ot(It)){if(It>Number.MAX_SAFE_INTEGER)return String(ue()?BigInt(It).toString():Number.MAX_SAFE_INTEGER);if(It<Number.MIN_SAFE_INTEGER)return String(ue()?BigInt(It).toString():Number.MIN_SAFE_INTEGER);Zt=It.toFixed(vt(Zt))}return mt(Zt).fullStr}function wt(It){return typeof It=="number"?!Number.isNaN(It):It?/^\s*-?\d+(\.\d+)?\s*$/.test(It)||/^\s*-?\d+\.\s*$/.test(It)||/^\s*-?\.\d+\s*$/.test(It):!1}var Tt=function(){function It(Zt){if((0,Pe.Z)(this,It),(0,ke.Z)(this,"origin",""),(0,ke.Z)(this,"negative",void 0),(0,ke.Z)(this,"integer",void 0),(0,ke.Z)(this,"decimal",void 0),(0,ke.Z)(this,"decimalLen",void 0),(0,ke.Z)(this,"empty",void 0),(0,ke.Z)(this,"nan",void 0),Ue(Zt)){this.empty=!0;return}if(this.origin=String(Zt),Zt==="-"||Number.isNaN(Zt)){this.nan=!0;return}var Gt=Zt;if(ot(Gt)&&(Gt=Number(Gt)),Gt=typeof Gt=="string"?Gt:Ee(Gt),wt(Gt)){var Gn=mt(Gt);this.negative=Gn.negative;var kt=Gn.trimStr.split(".");this.integer=BigInt(kt[0]);var mn=kt[1]||"0";this.decimal=BigInt(mn),this.decimalLen=mn.length}else this.nan=!0}return(0,rt.Z)(It,[{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(Gt){var Gn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(Gt,"0"));return BigInt(Gn)}},{key:"negate",value:function(){var Gt=new It(this.toString());return Gt.negative=!Gt.negative,Gt}},{key:"cal",value:function(Gt,Gn,kt){var mn=Math.max(this.getDecimalStr().length,Gt.getDecimalStr().length),Zn=this.alignDecimal(mn),Mn=Gt.alignDecimal(mn),ar=Gn(Zn,Mn).toString(),hr=kt(mn),dn=mt(ar),za=dn.negativeStr,pa=dn.trimStr,ma="".concat(za).concat(pa.padStart(hr+1,"0"));return new It("".concat(ma.slice(0,-hr),".").concat(ma.slice(-hr)))}},{key:"add",value:function(Gt){if(this.isInvalidate())return new It(Gt);var Gn=new It(Gt);return Gn.isInvalidate()?this:this.cal(Gn,function(kt,mn){return kt+mn},function(kt){return kt})}},{key:"multi",value:function(Gt){var Gn=new It(Gt);return this.isInvalidate()||Gn.isInvalidate()?new It(NaN):this.cal(Gn,function(kt,mn){return kt*mn},function(kt){return kt*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(Gt){return this.toString()===(Gt==null?void 0:Gt.toString())}},{key:"lessEquals",value:function(Gt){return this.add(Gt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var Gt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Gt?this.isInvalidate()?"":mt("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),It}(),$e=function(){function It(Zt){if((0,Pe.Z)(this,It),(0,ke.Z)(this,"origin",""),(0,ke.Z)(this,"number",void 0),(0,ke.Z)(this,"empty",void 0),Ue(Zt)){this.empty=!0;return}this.origin=String(Zt),this.number=Number(Zt)}return(0,rt.Z)(It,[{key:"negate",value:function(){return new It(-this.toNumber())}},{key:"add",value:function(Gt){if(this.isInvalidate())return new It(Gt);var Gn=Number(Gt);if(Number.isNaN(Gn))return this;var kt=this.number+Gn;if(kt>Number.MAX_SAFE_INTEGER)return new It(Number.MAX_SAFE_INTEGER);if(kt<Number.MIN_SAFE_INTEGER)return new It(Number.MIN_SAFE_INTEGER);var mn=Math.max(vt(this.number),vt(Gn));return new It(kt.toFixed(mn))}},{key:"multi",value:function(Gt){var Gn=Number(Gt);if(this.isInvalidate()||Number.isNaN(Gn))return new It(NaN);var kt=this.number*Gn;if(kt>Number.MAX_SAFE_INTEGER)return new It(Number.MAX_SAFE_INTEGER);if(kt<Number.MIN_SAFE_INTEGER)return new It(Number.MIN_SAFE_INTEGER);var mn=Math.max(vt(this.number),vt(Gn));return new It(kt.toFixed(mn))}},{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(Gt){return this.toNumber()===(Gt==null?void 0:Gt.toNumber())}},{key:"lessEquals",value:function(Gt){return this.add(Gt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var Gt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Gt?this.isInvalidate()?"":Ee(this.number):this.origin}}]),It}();function ut(It){return ue()?new Tt(It):new $e(It)}function ye(It,Zt,Gt){var Gn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(It==="")return"";var kt=mt(It),mn=kt.negativeStr,Zn=kt.integerStr,Mn=kt.decimalStr,ar="".concat(Zt).concat(Mn),hr="".concat(mn).concat(Zn);if(Gt>=0){var dn=Number(Mn[Gt]);if(dn>=5&&!Gn){var za=ut(It).add("".concat(mn,"0.").concat("0".repeat(Gt)).concat(10-dn));return ye(za.toString(),Zt,Gt,Gn)}return Gt===0?hr:"".concat(hr).concat(Zt).concat(Mn.padEnd(Gt,"0").slice(0,Gt))}return ar===".0"?hr:"".concat(hr).concat(ar)}var ce=ut,Xe=ee(67656),et=ee(67294);function st(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ft=st()?et.useLayoutEffect:et.useEffect,Re=function(Zt,Gt){var Gn=et.useRef(!0);ft(function(){return Zt(Gn.current)},Gt),ft(function(){return Gn.current=!1,function(){Gn.current=!0}},[])},Be=function(Zt,Gt){Re(function(Gn){if(!Gn)return Zt()},Gt)},gt=Re,ze=ee(27183);function ct(It,Zt,Gt){var Gn=React.useRef({});return(!("value"in Gn.current)||Gt(Gn.current.condition,Zt))&&(Gn.current.value=It(),Gn.current.condition=Zt),Gn.current.value}function nt(It,Zt){typeof It=="function"?It(Zt):(0,de.Z)(It)==="object"&&It&&"current"in It&&(It.current=Zt)}function Ot(){for(var It=arguments.length,Zt=new Array(It),Gt=0;Gt<It;Gt++)Zt[Gt]=arguments[Gt];var Gn=Zt.filter(function(kt){return kt});return Gn.length<=1?Gn[0]:function(kt){Zt.forEach(function(mn){nt(mn,kt)})}}function Rt(){for(var It=arguments.length,Zt=new Array(It),Gt=0;Gt<It;Gt++)Zt[Gt]=arguments[Gt];return useMemo(function(){return Ot.apply(void 0,Zt)},Zt,function(Gn,kt){return Gn.length!==kt.length||Gn.every(function(mn,Zn){return mn!==kt[Zn]})})}function an(It){var Zt,Gt,Gn=isMemo(It)?It.type.type:It.type;return!(typeof Gn=="function"&&!((Zt=Gn.prototype)!==null&&Zt!==void 0&&Zt.render)||typeof It=="function"&&!((Gt=It.prototype)!==null&&Gt!==void 0&&Gt.render))}function ht(It){return!isValidElement(It)||isFragment(It)?!1:an(It)}var Ne={},At=[],An=function(Zt){At.push(Zt)};function jt(It,Zt){if(0)var Gt}function Mt(It,Zt){if(0)var Gt}function Kt(){Ne={}}function sn(It,Zt,Gt){!Zt&&!Ne[Gt]&&(It(!1,Gt),Ne[Gt]=!0)}function wn(It,Zt){sn(jt,It,Zt)}function vn(It,Zt){sn(Mt,It,Zt)}wn.preMessage=An,wn.resetWarned=Kt,wn.noteOnce=vn;var cn=wn;function Nn(It,Zt){var Gt=(0,et.useRef)(null);function Gn(){try{var mn=It.selectionStart,Zn=It.selectionEnd,Mn=It.value,ar=Mn.substring(0,mn),hr=Mn.substring(Zn);Gt.current={start:mn,end:Zn,value:Mn,beforeTxt:ar,afterTxt:hr}}catch(dn){}}function kt(){if(It&&Gt.current&&Zt)try{var mn=It.value,Zn=Gt.current,Mn=Zn.beforeTxt,ar=Zn.afterTxt,hr=Zn.start,dn=mn.length;if(mn.endsWith(ar))dn=mn.length-Gt.current.afterTxt.length;else if(mn.startsWith(Mn))dn=Mn.length;else{var za=Mn[hr-1],pa=mn.indexOf(za,hr-1);pa!==-1&&(dn=pa+1)}It.setSelectionRange(dn,dn)}catch(ma){cn(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(ma.message))}}return[Gn,kt]}var dr=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var It=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(It)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(It==null?void 0:It.substr(0,4))},En=function(){var Zt=(0,et.useState)(!1),Gt=(0,Se.Z)(Zt,2),Gn=Gt[0],kt=Gt[1];return gt(function(){kt(dr())},[]),Gn},Ge=En,ve=function(Zt){return+setTimeout(Zt,16)},he=function(Zt){return clearTimeout(Zt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ve=function(Zt){return window.requestAnimationFrame(Zt)},he=function(Zt){return window.cancelAnimationFrame(Zt)});var be=0,ge=new Map;function se(It){ge.delete(It)}var Ye=function(Zt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;be+=1;var Gn=be;function kt(mn){if(mn===0)se(Gn),Zt();else{var Zn=ve(function(){kt(mn-1)});ge.set(Gn,Zn)}}return kt(Gt),Gn};Ye.cancel=function(It){var Zt=ge.get(It);return se(Zt),he(Zt)};var xt=Ye,pn=200,on=600;function In(It){var Zt=It.prefixCls,Gt=It.upNode,Gn=It.downNode,kt=It.upDisabled,mn=It.downDisabled,Zn=It.onStep,Mn=et.useRef(),ar=et.useRef([]),hr=et.useRef();hr.current=Zn;var dn=function(){clearTimeout(Mn.current)},za=function(Zi,Ii){Zi.preventDefault(),dn(),hr.current(Ii);function ni(){hr.current(Ii),Mn.current=setTimeout(ni,pn)}Mn.current=setTimeout(ni,on)};et.useEffect(function(){return function(){dn(),ar.current.forEach(function(Gr){return xt.cancel(Gr)})}},[]);var pa=Ge();if(pa)return null;var ma="".concat(Zt,"-handler"),Sa=qe()(ma,"".concat(ma,"-up"),(0,ke.Z)({},"".concat(ma,"-up-disabled"),kt)),Aa=qe()(ma,"".concat(ma,"-down"),(0,ke.Z)({},"".concat(ma,"-down-disabled"),mn)),ka=function(){return ar.current.push(xt(dn))},Er={unselectable:"on",role:"button",onMouseUp:ka,onMouseLeave:ka};return et.createElement("div",{className:"".concat(ma,"-wrap")},et.createElement("span",(0,we.Z)({},Er,{onMouseDown:function(Zi){za(Zi,!0)},"aria-label":"Increase Value","aria-disabled":kt,className:Sa}),Gt||et.createElement("span",{unselectable:"on",className:"".concat(Zt,"-handler-up-inner")})),et.createElement("span",(0,we.Z)({},Er,{onMouseDown:function(Zi){za(Zi,!1)},"aria-label":"Decrease Value","aria-disabled":mn,className:Aa}),Gn||et.createElement("span",{unselectable:"on",className:"".concat(Zt,"-handler-down-inner")})))}function Qn(It){var Zt=typeof It=="number"?Ee(It):mt(It).fullStr,Gt=Zt.includes(".");return Gt?mt(Zt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:It+"0"}var _n=ee(87887),Vt=function(){var It=(0,et.useRef)(0),Zt=function(){xt.cancel(It.current)};return(0,et.useEffect)(function(){return Zt},[]),function(Gt){Zt(),It.current=xt(function(){Gt()})}},gn=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Fn=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],Tn=function(Zt,Gt){return Zt||Gt.isEmpty()?Gt.toString():Gt.toNumber()},qt=function(Zt){var Gt=ce(Zt);return Gt.isInvalidate()?null:Gt},Dr=et.forwardRef(function(It,Zt){var Gt,Gn=It.prefixCls,kt=Gn===void 0?"rc-input-number":Gn,mn=It.className,Zn=It.style,Mn=It.min,ar=It.max,hr=It.step,dn=hr===void 0?1:hr,za=It.defaultValue,pa=It.value,ma=It.disabled,Sa=It.readOnly,Aa=It.upHandler,ka=It.downHandler,Er=It.keyboard,Gr=It.controls,Zi=Gr===void 0?!0:Gr,Ii=It.classNames,ni=It.stringMode,hi=It.parser,io=It.formatter,ri=It.precision,ho=It.decimalSeparator,ia=It.onChange,so=It.onInput,xo=It.onPressEnter,ml=It.onStep,vl=(0,me.Z)(It,gn),Yo="".concat(kt,"-input"),uo=et.useRef(null),wl=et.useState(!1),Qo=(0,Se.Z)(wl,2),dl=Qo[0],zl=Qo[1],bl=et.useRef(!1),Sl=et.useRef(!1),Ci=et.useRef(!1),Do=et.useState(function(){return ce(pa!=null?pa:za)}),Pi=(0,Se.Z)(Do,2),Bi=Pi[0],zn=Pi[1];function Cn(Kr){pa===void 0&&zn(Kr)}var mr=et.useCallback(function(Kr,Tr){if(!Tr)return ri>=0?ri:Math.max(vt(Kr),vt(dn))},[ri,dn]),Yr=et.useCallback(function(Kr){var Tr=String(Kr);if(hi)return hi(Tr);var _r=Tr;return ho&&(_r=_r.replace(ho,".")),_r.replace(/[^\w.-]+/g,"")},[hi,ho]),ha=et.useRef(""),mi=et.useCallback(function(Kr,Tr){if(io)return io(Kr,{userTyping:Tr,input:String(ha.current)});var _r=typeof Kr=="number"?Ee(Kr):Kr;if(!Tr){var Zr=mr(_r,Tr);if(wt(_r)&&(ho||Zr>=0)){var qr=ho||".";_r=ye(_r,qr,Zr)}}return _r},[io,mr,ho]),xi=et.useState(function(){var Kr=za!=null?za:pa;return Bi.isInvalidate()&&["string","number"].includes((0,de.Z)(Kr))?Number.isNaN(Kr)?"":Kr:mi(Bi.toString(),!1)}),Ui=(0,Se.Z)(xi,2),di=Ui[0],Mi=Ui[1];ha.current=di;function Ao(Kr,Tr){Mi(mi(Kr.isInvalidate()?Kr.toString(!1):Kr.toString(!Tr),Tr))}var Wo=et.useMemo(function(){return qt(ar)},[ar,ri]),$o=et.useMemo(function(){return qt(Mn)},[Mn,ri]),He=et.useMemo(function(){return!Wo||!Bi||Bi.isInvalidate()?!1:Wo.lessEquals(Bi)},[Wo,Bi]),tt=et.useMemo(function(){return!$o||!Bi||Bi.isInvalidate()?!1:Bi.lessEquals($o)},[$o,Bi]),Nt=Nn(uo.current,dl),pe=(0,Se.Z)(Nt,2),Oe=pe[0],Ae=pe[1],Ke=function(Tr){return Wo&&!Tr.lessEquals(Wo)?Wo:$o&&!$o.lessEquals(Tr)?$o:null},Qe=function(Tr){return!Ke(Tr)},at=function(Tr,_r){var Zr=Tr,qr=Qe(Zr)||Zr.isEmpty();if(!Zr.isEmpty()&&!_r&&(Zr=Ke(Zr)||Zr,qr=!0),!Sa&&!ma&&qr){var Dt=Zr.toString(),Pt=mr(Dt,_r);return Pt>=0&&(Zr=ce(ye(Dt,".",Pt)),Qe(Zr)||(Zr=ce(ye(Dt,".",Pt,!0)))),Zr.equals(Bi)||(Cn(Zr),ia==null||ia(Zr.isEmpty()?null:Tn(ni,Zr)),pa===void 0&&Ao(Zr,_r)),Zr}return Bi},pt=Vt(),$t=function Kr(Tr){if(Oe(),ha.current=Tr,Mi(Tr),!Sl.current){var _r=Yr(Tr),Zr=ce(_r);Zr.isNaN()||at(Zr,!0)}so==null||so(Tr),pt(function(){var qr=Tr;hi||(qr=Tr.replace(/。/g,".")),qr!==Tr&&Kr(qr)})},tn=function(){Sl.current=!0},Yn=function(){Sl.current=!1,$t(uo.current.value)},fr=function(Tr){$t(Tr.target.value)},Cr=function(Tr){var _r;if(!(Tr&&He||!Tr&&tt)){bl.current=!1;var Zr=ce(Ci.current?Qn(dn):dn);Tr||(Zr=Zr.negate());var qr=(Bi||ce(0)).add(Zr.toString()),Dt=at(qr,!1);ml==null||ml(Tn(ni,Dt),{offset:Ci.current?Qn(dn):dn,type:Tr?"up":"down"}),(_r=uo.current)===null||_r===void 0||_r.focus()}},Dn=function(Tr){var _r=ce(Yr(di)),Zr=_r;_r.isNaN()?Zr=at(Bi,Tr):Zr=at(_r,Tr),pa!==void 0?Ao(Bi,!1):Zr.isNaN()||Ao(Zr,!1)},qn=function(){bl.current=!0},Xn=function(Tr){var _r=Tr.key,Zr=Tr.shiftKey;bl.current=!0,Ci.current=Zr,_r==="Enter"&&(Sl.current||(bl.current=!1),Dn(!1),xo==null||xo(Tr)),Er!==!1&&!Sl.current&&["Up","ArrowUp","Down","ArrowDown"].includes(_r)&&(Cr(_r==="Up"||_r==="ArrowUp"),Tr.preventDefault())},Ar=function(){bl.current=!1,Ci.current=!1},Or=function(){Dn(!1),zl(!1),bl.current=!1};return Be(function(){Bi.isInvalidate()||Ao(Bi,!1)},[ri]),Be(function(){var Kr=ce(pa);zn(Kr);var Tr=ce(Yr(di));(!Kr.equals(Tr)||!bl.current||io)&&Ao(Kr,bl.current)},[pa]),Be(function(){io&&Ae()},[di]),et.createElement("div",{className:qe()(kt,Ii==null?void 0:Ii.input,mn,(Gt={},(0,ke.Z)(Gt,"".concat(kt,"-focused"),dl),(0,ke.Z)(Gt,"".concat(kt,"-disabled"),ma),(0,ke.Z)(Gt,"".concat(kt,"-readonly"),Sa),(0,ke.Z)(Gt,"".concat(kt,"-not-a-number"),Bi.isNaN()),(0,ke.Z)(Gt,"".concat(kt,"-out-of-range"),!Bi.isInvalidate()&&!Qe(Bi)),Gt)),style:Zn,onFocus:function(){zl(!0)},onBlur:Or,onKeyDown:Xn,onKeyUp:Ar,onCompositionStart:tn,onCompositionEnd:Yn,onBeforeInput:qn},Zi&&et.createElement(In,{prefixCls:kt,upNode:Aa,downNode:ka,upDisabled:He,downDisabled:tt,onStep:Cr}),et.createElement("div",{className:"".concat(Yo,"-wrap")},et.createElement("input",(0,we.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Mn,"aria-valuemax":ar,"aria-valuenow":Bi.isInvalidate()?null:Bi.toString(),step:dn},vl,{ref:Ot(uo,Zt),className:Yo,value:di,onChange:fr,disabled:ma,readOnly:Sa}))))}),Ut=et.forwardRef(function(It,Zt){var Gt=It.disabled,Gn=It.style,kt=It.prefixCls,mn=It.value,Zn=It.prefix,Mn=It.suffix,ar=It.addonBefore,hr=It.addonAfter,dn=It.classes,za=It.className,pa=It.classNames,ma=(0,me.Z)(It,Fn),Sa=et.useRef(null),Aa=function(Er){Sa.current&&(0,_n.nH)(Sa.current,Er)};return et.createElement(Xe.BaseInput,{inputElement:et.createElement(Dr,(0,we.Z)({prefixCls:kt,disabled:Gt,classNames:pa,ref:Ot(Sa,Zt)},ma)),className:za,triggerFocus:Aa,prefixCls:kt,value:mn,disabled:Gt,style:Gn,prefix:Zn,suffix:Mn,addonAfter:hr,addonBefore:ar,classes:dn,classNames:pa,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});Ut.displayName="InputNumber";var nn=Ut,Nr=nn,cr=ee(9708),Fr=ee(53124),aa=ee(46735),Jn=ee(98866),Ia=ee(98675),Ta=ee(65223),ti=ee(4173),Jr=ee(47673),ja=ee(14747),Si=ee(80110),$a=ee(67968),ji=ee(45503);const Ni=(It,Zt)=>{let{componentCls:Gt,borderRadiusSM:Gn,borderRadiusLG:kt}=It;const mn=Zt==="lg"?kt:Gn;return{[`&-${Zt}`]:{[`${Gt}-handler-wrap`]:{borderStartEndRadius:mn,borderEndEndRadius:mn},[`${Gt}-handler-up`]:{borderStartEndRadius:mn},[`${Gt}-handler-down`]:{borderEndEndRadius:mn}}}},Ln=It=>{const{componentCls:Zt,lineWidth:Gt,lineType:Gn,colorBorder:kt,borderRadius:mn,fontSizeLG:Zn,controlHeightLG:Mn,controlHeightSM:ar,colorError:hr,paddingInlineSM:dn,colorTextDescription:za,motionDurationMid:pa,handleHoverColor:ma,paddingInline:Sa,paddingBlock:Aa,handleBg:ka,handleActiveBg:Er,colorTextDisabled:Gr,borderRadiusSM:Zi,borderRadiusLG:Ii,controlWidth:ni,handleVisible:hi,handleBorderColor:io}=It;return[{[Zt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ja.Wf)(It)),(0,Jr.ik)(It)),(0,Jr.bi)(It,Zt)),{display:"inline-block",width:ni,margin:0,padding:0,border:`${Gt}px ${Gn} ${kt}`,borderRadius:mn,"&-rtl":{direction:"rtl",[`${Zt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Zn,borderRadius:Ii,[`input${Zt}-input`]:{height:Mn-2*Gt}},"&-sm":{padding:0,borderRadius:Zi,[`input${Zt}-input`]:{height:ar-2*Gt,padding:`0 ${dn}px`}},"&:hover":Object.assign({},(0,Jr.pU)(It)),"&-focused":Object.assign({},(0,Jr.M1)(It)),"&-out-of-range":{[`${Zt}-input-wrap`]:{input:{color:hr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,ja.Wf)(It)),(0,Jr.s7)(It)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Zt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Zt}-group-addon`]:{borderRadius:Ii,fontSize:It.fontSizeLG}},"&-sm":{[`${Zt}-group-addon`]:{borderRadius:Zi}},[`${Zt}-wrapper-disabled > ${Zt}-group-addon`]:Object.assign({},(0,Jr.Xy)(It))}}),[`&-disabled ${Zt}-input`]:{cursor:"not-allowed"},[Zt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,ja.Wf)(It)),{width:"100%",padding:`${Aa}px ${Sa}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:mn,outline:0,transition:`all ${pa} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Jr.nz)(It.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[Zt]:Object.assign(Object.assign(Object.assign({[`&:hover ${Zt}-handler-wrap, &-focused ${Zt}-handler-wrap`]:{opacity:1},[`${Zt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:It.handleWidth,height:"100%",background:ka,borderStartStartRadius:0,borderStartEndRadius:mn,borderEndEndRadius:mn,borderEndStartRadius:0,opacity:hi===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${pa} linear ${pa}`,[`${Zt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${Zt}-handler-up-inner,
|
|
|
${Zt}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:It.handleFontSize}}},[`${Zt}-handler`]:{height:"50%",overflow:"hidden",color:za,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Gt}px ${Gn} ${io}`,transition:`all ${pa} linear`,"&:active":{background:Er},"&:hover":{height:"60%",[`
|
|
|
${Zt}-handler-up-inner,
|
|
|
${Zt}-handler-down-inner
|
|
|
`]:{color:ma}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,ja.Ro)()),{color:za,transition:`all ${pa} linear`,userSelect:"none"})},[`${Zt}-handler-up`]:{borderStartEndRadius:mn},[`${Zt}-handler-down`]:{borderBlockStart:`${Gt}px ${Gn} ${io}`,borderEndEndRadius:mn}},Ni(It,"lg")),Ni(It,"sm")),{"&-disabled, &-readonly":{[`${Zt}-handler-wrap`]:{display:"none"},[`${Zt}-input`]:{color:"inherit"}},[`
|
|
|
${Zt}-handler-up-disabled,
|
|
|
${Zt}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${Zt}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${Zt}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:Gr}})},{[`${Zt}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${Zt}-handler-down`]:{borderBlockStartWidth:0}}}]},Pn=It=>{const{componentCls:Zt,paddingBlock:Gt,paddingInline:Gn,inputAffixPadding:kt,controlWidth:mn,borderRadiusLG:Zn,borderRadiusSM:Mn}=It;return{[`${Zt}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,Jr.ik)(It)),(0,Jr.bi)(It,`${Zt}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:mn,padding:0,paddingInlineStart:Gn,"&-lg":{borderRadius:Zn},"&-sm":{borderRadius:Mn},[`&:not(${Zt}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,Jr.pU)(It)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Zt}-disabled`]:{background:"transparent"},[`> div${Zt}`]:{width:"100%",border:"none",outline:"none",[`&${Zt}-focused`]:{boxShadow:"none !important"}},[`input${Zt}-input`]:{padding:`${Gt}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Zt}-handler-wrap`]:{zIndex:2},[Zt]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:kt},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:Gn,marginInlineStart:kt}}})}};var rr=(0,$a.Z)("InputNumber",It=>{const Zt=(0,ji.TS)(It,(0,Jr.e5)(It));return[Ln(Zt),Pn(Zt),(0,Si.c)(Zt)]},It=>Object.assign(Object.assign({},(0,Jr.TM)(It)),{controlWidth:90,handleWidth:It.controlHeightSM-It.lineWidth*2,handleFontSize:It.fontSize/2,handleVisible:"auto",handleActiveBg:It.colorFillAlter,handleBg:It.colorBgContainer,handleHoverColor:It.colorPrimary,handleBorderColor:It.colorBorder})),or=function(It,Zt){var Gt={};for(var Gn in It)Object.prototype.hasOwnProperty.call(It,Gn)&&Zt.indexOf(Gn)<0&&(Gt[Gn]=It[Gn]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,Gn=Object.getOwnPropertySymbols(It);kt<Gn.length;kt++)Zt.indexOf(Gn[kt])<0&&Object.prototype.propertyIsEnumerable.call(It,Gn[kt])&&(Gt[Gn[kt]]=It[Gn[kt]]);return Gt};const $r=et.forwardRef((It,Zt)=>{const{getPrefixCls:Gt,direction:Gn}=et.useContext(Fr.E_),kt=et.useRef(null);et.useImperativeHandle(Zt,()=>kt.current);const{className:mn,rootClassName:Zn,size:Mn,disabled:ar,prefixCls:hr,addonBefore:dn,addonAfter:za,prefix:pa,bordered:ma=!0,readOnly:Sa,status:Aa,controls:ka}=It,Er=or(It,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),Gr=Gt("input-number",hr),[Zi,Ii]=rr(Gr),{compactSize:ni,compactItemClassnames:hi}=(0,ti.ri)(Gr,Gn);let io=et.createElement(fe.Z,{className:`${Gr}-handler-up-inner`}),ri=et.createElement(ne.Z,{className:`${Gr}-handler-down-inner`});const ho=typeof ka=="boolean"?ka:void 0;typeof ka=="object"&&(io=typeof ka.upIcon=="undefined"?io:et.createElement("span",{className:`${Gr}-handler-up-inner`},ka.upIcon),ri=typeof ka.downIcon=="undefined"?ri:et.createElement("span",{className:`${Gr}-handler-down-inner`},ka.downIcon));const{hasFeedback:ia,status:so,isFormItemInput:xo,feedbackIcon:ml}=et.useContext(Ta.aM),vl=(0,cr.F)(so,Aa),Yo=(0,Ia.Z)(bl=>{var Sl;return(Sl=Mn!=null?Mn:ni)!==null&&Sl!==void 0?Sl:bl}),uo=et.useContext(Jn.Z),wl=ar!=null?ar:uo,Qo=qe()({[`${Gr}-lg`]:Yo==="large",[`${Gr}-sm`]:Yo==="small",[`${Gr}-rtl`]:Gn==="rtl",[`${Gr}-borderless`]:!ma,[`${Gr}-in-form-item`]:xo},(0,cr.Z)(Gr,vl),hi,Ii),dl=`${Gr}-group`,zl=et.createElement(Nr,Object.assign({ref:kt,disabled:wl,className:qe()(mn,Zn),upHandler:io,downHandler:ri,prefixCls:Gr,readOnly:Sa,controls:ho,prefix:pa,suffix:ia&&ml,addonAfter:za&&et.createElement(ti.BR,null,et.createElement(Ta.Ux,{override:!0,status:!0},za)),addonBefore:dn&&et.createElement(ti.BR,null,et.createElement(Ta.Ux,{override:!0,status:!0},dn)),classNames:{input:Qo},classes:{affixWrapper:qe()((0,cr.Z)(`${Gr}-affix-wrapper`,vl,ia),{[`${Gr}-affix-wrapper-sm`]:Yo==="small",[`${Gr}-affix-wrapper-lg`]:Yo==="large",[`${Gr}-affix-wrapper-rtl`]:Gn==="rtl",[`${Gr}-affix-wrapper-borderless`]:!ma},Ii),wrapper:qe()({[`${dl}-rtl`]:Gn==="rtl",[`${Gr}-wrapper-disabled`]:wl},Ii),group:qe()({[`${Gr}-group-wrapper-sm`]:Yo==="small",[`${Gr}-group-wrapper-lg`]:Yo==="large",[`${Gr}-group-wrapper-rtl`]:Gn==="rtl"},(0,cr.Z)(`${Gr}-group-wrapper`,vl,ia),Ii)}},Er));return Zi(zl)}),Br=$r,jr=It=>et.createElement(aa.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},et.createElement($r,Object.assign({},It)));Br._InternalPanelDoNotUseOrYouWillBeFired=jr;var hn=Br},82586:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return Tt},n:function(){return Ee}});var ne=ee(16646),fe=ee(94184),De=ee.n(fe),qe=ee(67656),we=ee(17799),ke=ee(67294),de=ee(9708),Se=ee(53124),me=ee(98866),Pe=ee(98675),rt=ee(65223),ue=ee(4173),Ue=ee(72922),mt=ee(47673);function ot($e){return!!($e.prefix||$e.suffix||$e.allowClear)}var vt=function($e,ut){var ye={};for(var ce in $e)Object.prototype.hasOwnProperty.call($e,ce)&&ut.indexOf(ce)<0&&(ye[ce]=$e[ce]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,ce=Object.getOwnPropertySymbols($e);Xe<ce.length;Xe++)ut.indexOf(ce[Xe])<0&&Object.prototype.propertyIsEnumerable.call($e,ce[Xe])&&(ye[ce[Xe]]=$e[ce[Xe]]);return ye};function Ee($e,ut){if(!$e)return;$e.focus(ut);const{cursor:ye}=ut||{};if(ye){const ce=$e.value.length;switch(ye){case"start":$e.setSelectionRange(0,0);break;case"end":$e.setSelectionRange(ce,ce);break;default:$e.setSelectionRange(0,ce);break}}}var Tt=(0,ke.forwardRef)(($e,ut)=>{var ye;const{prefixCls:ce,bordered:Xe=!0,status:et,size:st,disabled:ft,onBlur:Re,onFocus:Be,suffix:gt,allowClear:ze,addonAfter:ct,addonBefore:nt,className:Ot,style:Rt,styles:an,rootClassName:ht,onChange:Ne,classNames:At}=$e,An=vt($e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:jt,direction:Mt,input:Kt}=ke.useContext(Se.E_),sn=jt("input",ce),wn=(0,ke.useRef)(null),[vn,cn]=(0,mt.ZP)(sn),{compactSize:Nn,compactItemClassnames:dr}=(0,ue.ri)(sn,Mt),En=(0,Pe.Z)(gn=>{var Fn;return(Fn=st!=null?st:Nn)!==null&&Fn!==void 0?Fn:gn}),Ge=ke.useContext(me.Z),ve=ft!=null?ft:Ge,{status:he,hasFeedback:be,feedbackIcon:ge}=(0,ke.useContext)(rt.aM),se=(0,de.F)(he,et),Ye=ot($e)||!!be,xt=(0,ke.useRef)(Ye);(0,ke.useEffect)(()=>{var gn;Ye&&xt.current,xt.current=Ye},[Ye]);const pn=(0,Ue.Z)(wn,!0),on=gn=>{pn(),Re==null||Re(gn)},In=gn=>{pn(),Be==null||Be(gn)},Qn=gn=>{pn(),Ne==null||Ne(gn)},_n=(be||gt)&&ke.createElement(ke.Fragment,null,gt,be&&ge);let Vt;return typeof ze=="object"&&(ze!=null&&ze.clearIcon)?Vt=ze:ze&&(Vt={clearIcon:ke.createElement(ne.Z,null)}),vn(ke.createElement(qe.default,Object.assign({ref:(0,we.sQ)(ut,wn),prefixCls:sn,autoComplete:Kt==null?void 0:Kt.autoComplete},An,{disabled:ve,onBlur:on,onFocus:In,style:Object.assign(Object.assign({},Kt==null?void 0:Kt.style),Rt),styles:Object.assign(Object.assign({},Kt==null?void 0:Kt.styles),an),suffix:_n,allowClear:Vt,className:De()(Ot,ht,dr,Kt==null?void 0:Kt.className),onChange:Qn,addonAfter:ct&&ke.createElement(ue.BR,null,ke.createElement(rt.Ux,{override:!0,status:!0},ct)),addonBefore:nt&&ke.createElement(ue.BR,null,ke.createElement(rt.Ux,{override:!0,status:!0},nt)),classNames:Object.assign(Object.assign(Object.assign({},At),Kt==null?void 0:Kt.classNames),{input:De()({[`${sn}-sm`]:En==="small",[`${sn}-lg`]:En==="large",[`${sn}-rtl`]:Mt==="rtl",[`${sn}-borderless`]:!Xe},!Ye&&(0,de.Z)(sn,se),At==null?void 0:At.input,(ye=Kt==null?void 0:Kt.classNames)===null||ye===void 0?void 0:ye.input,cn)}),classes:{affixWrapper:De()({[`${sn}-affix-wrapper-sm`]:En==="small",[`${sn}-affix-wrapper-lg`]:En==="large",[`${sn}-affix-wrapper-rtl`]:Mt==="rtl",[`${sn}-affix-wrapper-borderless`]:!Xe},(0,de.Z)(`${sn}-affix-wrapper`,se,be),cn),wrapper:De()({[`${sn}-group-rtl`]:Mt==="rtl"},cn),group:De()({[`${sn}-group-wrapper-sm`]:En==="small",[`${sn}-group-wrapper-lg`]:En==="large",[`${sn}-group-wrapper-rtl`]:Mt==="rtl",[`${sn}-group-wrapper-disabled`]:ve},(0,de.Z)(`${sn}-group-wrapper`,se,be),cn)}})))})},96330:function(Hn,ln,ee){"use strict";var ne=ee(16646),fe=ee(94184),De=ee.n(fe),qe=ee(64701),we=ee(67294),ke=ee(9708),de=ee(53124),Se=ee(98866),me=ee(98675),Pe=ee(65223),rt=ee(82586),ue=ee(47673),Ue=function(ot,vt){var Ee={};for(var wt in ot)Object.prototype.hasOwnProperty.call(ot,wt)&&vt.indexOf(wt)<0&&(Ee[wt]=ot[wt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,wt=Object.getOwnPropertySymbols(ot);Tt<wt.length;Tt++)vt.indexOf(wt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(ot,wt[Tt])&&(Ee[wt[Tt]]=ot[wt[Tt]]);return Ee};const mt=(0,we.forwardRef)((ot,vt)=>{const{prefixCls:Ee,bordered:wt=!0,size:Tt,disabled:$e,status:ut,allowClear:ye,showCount:ce,classNames:Xe,rootClassName:et,className:st}=ot,ft=Ue(ot,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:Re,direction:Be}=we.useContext(de.E_),gt=(0,me.Z)(Tt),ze=we.useContext(Se.Z),ct=$e!=null?$e:ze,{status:nt,hasFeedback:Ot,feedbackIcon:Rt}=we.useContext(Pe.aM),an=(0,ke.F)(nt,ut),ht=we.useRef(null);we.useImperativeHandle(vt,()=>{var Mt;return{resizableTextArea:(Mt=ht.current)===null||Mt===void 0?void 0:Mt.resizableTextArea,focus:Kt=>{var sn,wn;(0,rt.n)((wn=(sn=ht.current)===null||sn===void 0?void 0:sn.resizableTextArea)===null||wn===void 0?void 0:wn.textArea,Kt)},blur:()=>{var Kt;return(Kt=ht.current)===null||Kt===void 0?void 0:Kt.blur()}}});const Ne=Re("input",Ee);let At;typeof ye=="object"&&(ye!=null&&ye.clearIcon)?At=ye:ye&&(At={clearIcon:we.createElement(ne.Z,null)});const[An,jt]=(0,ue.ZP)(Ne);return An(we.createElement(qe.default,Object.assign({},ft,{disabled:ct,allowClear:At,className:De()(st,et),classes:{affixWrapper:De()(`${Ne}-textarea-affix-wrapper`,{[`${Ne}-affix-wrapper-rtl`]:Be==="rtl",[`${Ne}-affix-wrapper-borderless`]:!wt,[`${Ne}-affix-wrapper-sm`]:gt==="small",[`${Ne}-affix-wrapper-lg`]:gt==="large",[`${Ne}-textarea-show-count`]:ce},(0,ke.Z)(`${Ne}-affix-wrapper`,an),jt)},classNames:Object.assign(Object.assign({},Xe),{textarea:De()({[`${Ne}-borderless`]:!wt,[`${Ne}-sm`]:gt==="small",[`${Ne}-lg`]:gt==="large"},(0,ke.Z)(Ne,an),jt,Xe==null?void 0:Xe.textarea)}),prefixCls:Ne,suffix:Ot&&we.createElement("span",{className:`${Ne}-textarea-suffix`},Rt),showCount:ce,ref:ht})))});ln.Z=mt},72922:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return fe}});var ne=ee(67294);function fe(De,qe){const we=(0,ne.useRef)([]),ke=()=>{we.current.push(setTimeout(()=>{var de,Se,me,Pe;!((de=De.current)===null||de===void 0)&&de.input&&((Se=De.current)===null||Se===void 0?void 0:Se.input.getAttribute("type"))==="password"&&(!((me=De.current)===null||me===void 0)&&me.input.hasAttribute("value"))&&((Pe=De.current)===null||Pe===void 0||Pe.input.removeAttribute("value"))}))};return(0,ne.useEffect)(()=>(qe&&ke(),()=>we.current.forEach(de=>{de&&clearTimeout(de)})),[]),ke}},69677:function(Hn,ln,ee){"use strict";ee.d(ln,{default:function(){return gt}});var ne=ee(94184),fe=ee.n(ne),De=ee(67294),qe=ee(53124),we=ee(65223),ke=ee(47673),Se=ze=>{const{getPrefixCls:ct,direction:nt}=(0,De.useContext)(qe.E_),{prefixCls:Ot,className:Rt}=ze,an=ct("input-group",Ot),ht=ct("input"),[Ne,At]=(0,ke.ZP)(ht),An=fe()(an,{[`${an}-lg`]:ze.size==="large",[`${an}-sm`]:ze.size==="small",[`${an}-compact`]:ze.compact,[`${an}-rtl`]:nt==="rtl"},At,Rt),jt=(0,De.useContext)(we.aM),Mt=(0,De.useMemo)(()=>Object.assign(Object.assign({},jt),{isFormItemInput:!1}),[jt]);return Ne(De.createElement("span",{className:An,style:ze.style,onMouseEnter:ze.onMouseEnter,onMouseLeave:ze.onMouseLeave,onFocus:ze.onFocus,onBlur:ze.onBlur},De.createElement(we.aM.Provider,{value:Mt},ze.children)))},me=ee(82586),Pe=ee(63237),rt=ee(99569),ue=ee(10366),Ue=ee(17799),mt=ee(72922),ot=function(ze,ct){var nt={};for(var Ot in ze)Object.prototype.hasOwnProperty.call(ze,Ot)&&ct.indexOf(Ot)<0&&(nt[Ot]=ze[Ot]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,Ot=Object.getOwnPropertySymbols(ze);Rt<Ot.length;Rt++)ct.indexOf(Ot[Rt])<0&&Object.prototype.propertyIsEnumerable.call(ze,Ot[Rt])&&(nt[Ot[Rt]]=ze[Ot[Rt]]);return nt};const vt=ze=>ze?De.createElement(rt.Z,null):De.createElement(Pe.Z,null),Ee={click:"onClick",hover:"onMouseOver"};var Tt=De.forwardRef((ze,ct)=>{const{visibilityToggle:nt=!0}=ze,Ot=typeof nt=="object"&&nt.visible!==void 0,[Rt,an]=(0,De.useState)(()=>Ot?nt.visible:!1),ht=(0,De.useRef)(null);De.useEffect(()=>{Ot&&an(nt.visible)},[Ot,nt]);const Ne=(0,mt.Z)(ht),At=()=>{const{disabled:ve}=ze;ve||(Rt&&Ne(),an(he=>{var be;const ge=!he;return typeof nt=="object"&&((be=nt.onVisibleChange)===null||be===void 0||be.call(nt,ge)),ge}))},An=ve=>{const{action:he="click",iconRender:be=vt}=ze,ge=Ee[he]||"",se=be(Rt),Ye={[ge]:At,className:`${ve}-icon`,key:"passwordIcon",onMouseDown:xt=>{xt.preventDefault()},onMouseUp:xt=>{xt.preventDefault()}};return De.cloneElement(De.isValidElement(se)?se:De.createElement("span",null,se),Ye)},{className:jt,prefixCls:Mt,inputPrefixCls:Kt,size:sn}=ze,wn=ot(ze,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:vn}=De.useContext(qe.E_),cn=vn("input",Kt),Nn=vn("input-password",Mt),dr=nt&&An(Nn),En=fe()(Nn,jt,{[`${Nn}-${sn}`]:!!sn}),Ge=Object.assign(Object.assign({},(0,ue.Z)(wn,["suffix","iconRender","visibilityToggle"])),{type:Rt?"text":"password",className:En,prefixCls:cn,suffix:dr});return sn&&(Ge.size=sn),De.createElement(me.Z,Object.assign({ref:(0,Ue.sQ)(ct,ht)},Ge))}),$e=ee(72395),ut=ee(96159),ye=ee(71577),ce=ee(98675),Xe=ee(4173),et=function(ze,ct){var nt={};for(var Ot in ze)Object.prototype.hasOwnProperty.call(ze,Ot)&&ct.indexOf(Ot)<0&&(nt[Ot]=ze[Ot]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,Ot=Object.getOwnPropertySymbols(ze);Rt<Ot.length;Rt++)ct.indexOf(Ot[Rt])<0&&Object.prototype.propertyIsEnumerable.call(ze,Ot[Rt])&&(nt[Ot[Rt]]=ze[Ot[Rt]]);return nt},ft=De.forwardRef((ze,ct)=>{const{prefixCls:nt,inputPrefixCls:Ot,className:Rt,size:an,suffix:ht,enterButton:Ne=!1,addonAfter:At,loading:An,disabled:jt,onSearch:Mt,onChange:Kt,onCompositionStart:sn,onCompositionEnd:wn}=ze,vn=et(ze,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:cn,direction:Nn}=De.useContext(qe.E_),dr=De.useRef(!1),En=cn("input-search",nt),Ge=cn("input",Ot),{compactSize:ve}=(0,Xe.ri)(En,Nn),he=(0,ce.Z)(Tn=>{var qt;return(qt=an!=null?an:ve)!==null&&qt!==void 0?qt:Tn}),be=De.useRef(null),ge=Tn=>{Tn&&Tn.target&&Tn.type==="click"&&Mt&&Mt(Tn.target.value,Tn,{source:"clear"}),Kt&&Kt(Tn)},se=Tn=>{var qt;document.activeElement===((qt=be.current)===null||qt===void 0?void 0:qt.input)&&Tn.preventDefault()},Ye=Tn=>{var qt,Dr;Mt&&Mt((Dr=(qt=be.current)===null||qt===void 0?void 0:qt.input)===null||Dr===void 0?void 0:Dr.value,Tn,{source:"input"})},xt=Tn=>{dr.current||An||Ye(Tn)},pn=typeof Ne=="boolean"?De.createElement($e.Z,null):null,on=`${En}-button`;let In;const Qn=Ne||{},_n=Qn.type&&Qn.type.__ANT_BUTTON===!0;_n||Qn.type==="button"?In=(0,ut.Tm)(Qn,Object.assign({onMouseDown:se,onClick:Tn=>{var qt,Dr;(Dr=(qt=Qn==null?void 0:Qn.props)===null||qt===void 0?void 0:qt.onClick)===null||Dr===void 0||Dr.call(qt,Tn),Ye(Tn)},key:"enterButton"},_n?{className:on,size:he}:{})):In=De.createElement(ye.ZP,{className:on,type:Ne?"primary":void 0,size:he,disabled:jt,key:"enterButton",onMouseDown:se,onClick:Ye,loading:An,icon:pn},Ne),At&&(In=[In,(0,ut.Tm)(At,{key:"addonAfter"})]);const Vt=fe()(En,{[`${En}-rtl`]:Nn==="rtl",[`${En}-${he}`]:!!he,[`${En}-with-button`]:!!Ne},Rt),gn=Tn=>{dr.current=!0,sn==null||sn(Tn)},Fn=Tn=>{dr.current=!1,wn==null||wn(Tn)};return De.createElement(me.Z,Object.assign({ref:(0,Ue.sQ)(be,ct),onPressEnter:xt},vn,{size:he,onCompositionStart:gn,onCompositionEnd:Fn,prefixCls:Ge,addonAfter:In,suffix:ht,onChange:ge,className:Vt,disabled:jt}))}),Re=ee(96330);const Be=me.Z;Be.Group=Se,Be.Search=ft,Be.TextArea=Re.Z,Be.Password=Tt;var gt=Be},47673:function(Hn,ln,ee){"use strict";ee.d(ln,{M1:function(){return de},TM:function(){return ut},Xy:function(){return Se},bi:function(){return rt},e5:function(){return $e},ik:function(){return ue},nz:function(){return we},pU:function(){return ke},s7:function(){return Ue},x0:function(){return Pe}});var ne=ee(14747),fe=ee(80110),De=ee(45503),qe=ee(67968);const we=ye=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:ye,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),ke=ye=>({borderColor:ye.hoverBorderColor}),de=ye=>({borderColor:ye.activeBorderColor,boxShadow:ye.activeShadow,outline:0}),Se=ye=>({color:ye.colorTextDisabled,backgroundColor:ye.colorBgContainerDisabled,borderColor:ye.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},ke((0,De.TS)(ye,{hoverBorderColor:ye.colorBorder})))}),me=ye=>{const{paddingBlockLG:ce,fontSizeLG:Xe,lineHeightLG:et,borderRadiusLG:st,paddingInlineLG:ft}=ye;return{padding:`${ce}px ${ft}px`,fontSize:Xe,lineHeight:et,borderRadius:st}},Pe=ye=>({padding:`${ye.paddingBlockSM}px ${ye.paddingInlineSM}px`,borderRadius:ye.borderRadiusSM}),rt=(ye,ce)=>{const{componentCls:Xe,colorError:et,colorWarning:st,errorActiveShadow:ft,warningActiveShadow:Re,colorErrorBorderHover:Be,colorWarningBorderHover:gt}=ye;return{[`&-status-error:not(${ce}-disabled):not(${ce}-borderless)${ce}`]:{borderColor:et,"&:hover":{borderColor:Be},"&:focus, &-focused":Object.assign({},de((0,De.TS)(ye,{activeBorderColor:et,activeShadow:ft}))),[`${Xe}-prefix, ${Xe}-suffix`]:{color:et}},[`&-status-warning:not(${ce}-disabled):not(${ce}-borderless)${ce}`]:{borderColor:st,"&:hover":{borderColor:gt},"&:focus, &-focused":Object.assign({},de((0,De.TS)(ye,{activeBorderColor:st,activeShadow:Re}))),[`${Xe}-prefix, ${Xe}-suffix`]:{color:st}}}},ue=ye=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${ye.paddingBlock}px ${ye.paddingInline}px`,color:ye.colorText,fontSize:ye.fontSize,lineHeight:ye.lineHeight,backgroundColor:ye.colorBgContainer,backgroundImage:"none",borderWidth:ye.lineWidth,borderStyle:ye.lineType,borderColor:ye.colorBorder,borderRadius:ye.borderRadius,transition:`all ${ye.motionDurationMid}`},we(ye.colorTextPlaceholder)),{"&:hover":Object.assign({},ke(ye)),"&:focus, &-focused":Object.assign({},de(ye)),"&-disabled, &[disabled]":Object.assign({},Se(ye)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:ye.controlHeight,lineHeight:ye.lineHeight,verticalAlign:"bottom",transition:`all ${ye.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},me(ye)),"&-sm":Object.assign({},Pe(ye)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),Ue=ye=>{const{componentCls:ce,antCls:Xe}=ye;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:ye.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${ce}, &-lg > ${ce}-group-addon`]:Object.assign({},me(ye)),[`&-sm ${ce}, &-sm > ${ce}-group-addon`]:Object.assign({},Pe(ye)),[`&-lg ${Xe}-select-single ${Xe}-select-selector`]:{height:ye.controlHeightLG},[`&-sm ${Xe}-select-single ${Xe}-select-selector`]:{height:ye.controlHeightSM},[`> ${ce}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${ce}-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 ${ye.paddingInline}px`,color:ye.colorText,fontWeight:"normal",fontSize:ye.fontSize,textAlign:"center",backgroundColor:ye.colorFillAlter,border:`${ye.lineWidth}px ${ye.lineType} ${ye.colorBorder}`,borderRadius:ye.borderRadius,transition:`all ${ye.motionDurationSlow}`,lineHeight:1,[`${Xe}-select`]:{margin:`-${ye.paddingBlock+1}px -${ye.paddingInline}px`,[`&${Xe}-select-single:not(${Xe}-select-customize-input)`]:{[`${Xe}-select-selector`]:{backgroundColor:"inherit",border:`${ye.lineWidth}px ${ye.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${Xe}-select-selector`]:{color:ye.colorPrimary}}},[`${Xe}-cascader-picker`]:{margin:`-9px -${ye.paddingInline}px`,backgroundColor:"transparent",[`${Xe}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${ce}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${ce}-search-with-button &`]:{zIndex:0}}},[`> ${ce}:first-child, ${ce}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${Xe}-select ${Xe}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${ce}-affix-wrapper`]:{[`&:not(:first-child) ${ce}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${ce}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${ce}:last-child, ${ce}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${Xe}-select ${Xe}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${ce}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${ce}-search &`]:{borderStartStartRadius:ye.borderRadius,borderEndStartRadius:ye.borderRadius}},[`&:not(:first-child), ${ce}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${ce}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,ne.dF)()),{[`${ce}-group-addon, ${ce}-group-wrap, > ${ce}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:ye.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
|
& > ${ce}-affix-wrapper,
|
|
|
& > ${ce}-number-affix-wrapper,
|
|
|
& > ${Xe}-picker-range
|
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-ye.lineWidth,borderInlineEndWidth:ye.lineWidth},[`${ce}`]:{float:"none"},[`& > ${Xe}-select > ${Xe}-select-selector,
|
|
|
& > ${Xe}-select-auto-complete ${ce},
|
|
|
& > ${Xe}-cascader-picker ${ce},
|
|
|
& > ${ce}-group-wrapper ${ce}`]:{borderInlineEndWidth:ye.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${Xe}-select-focused`]:{zIndex:1},[`& > ${Xe}-select > ${Xe}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
|
& > ${Xe}-select:first-child > ${Xe}-select-selector,
|
|
|
& > ${Xe}-select-auto-complete:first-child ${ce},
|
|
|
& > ${Xe}-cascader-picker:first-child ${ce}`]:{borderStartStartRadius:ye.borderRadius,borderEndStartRadius:ye.borderRadius},[`& > *:last-child,
|
|
|
& > ${Xe}-select:last-child > ${Xe}-select-selector,
|
|
|
& > ${Xe}-cascader-picker:last-child ${ce},
|
|
|
& > ${Xe}-cascader-picker-focused:last-child ${ce}`]:{borderInlineEndWidth:ye.lineWidth,borderStartEndRadius:ye.borderRadius,borderEndEndRadius:ye.borderRadius},[`& > ${Xe}-select-auto-complete ${ce}`]:{verticalAlign:"top"},[`${ce}-group-wrapper + ${ce}-group-wrapper`]:{marginInlineStart:-ye.lineWidth,[`${ce}-affix-wrapper`]:{borderRadius:0}},[`${ce}-group-wrapper:not(:last-child)`]:{[`&${ce}-search > ${ce}-group`]:{[`& > ${ce}-group-addon > ${ce}-search-button`]:{borderRadius:0},[`& > ${ce}`]:{borderStartStartRadius:ye.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ye.borderRadius}}}})}},mt=ye=>{const{componentCls:ce,controlHeightSM:Xe,lineWidth:et}=ye,ft=(Xe-et*2-16)/2;return{[ce]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ne.Wf)(ye)),ue(ye)),rt(ye,ce)),{'&[type="color"]':{height:ye.controlHeight,[`&${ce}-lg`]:{height:ye.controlHeightLG},[`&${ce}-sm`]:{height:Xe,paddingTop:ft,paddingBottom:ft}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},ot=ye=>{const{componentCls:ce}=ye;return{[`${ce}-clear-icon`]:{margin:0,color:ye.colorTextQuaternary,fontSize:ye.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${ye.motionDurationSlow}`,"&:hover":{color:ye.colorTextTertiary},"&:active":{color:ye.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${ye.inputAffixPadding}px`}}}},vt=ye=>{const{componentCls:ce,inputAffixPadding:Xe,colorTextDescription:et,motionDurationSlow:st,colorIcon:ft,colorIconHover:Re,iconCls:Be}=ye;return{[`${ce}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ue(ye)),{display:"inline-flex",[`&:not(${ce}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},ke(ye)),{zIndex:1,[`${ce}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${ce}[disabled]`]:{background:"transparent"}},[`> input${ce}`]:{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"'},[`${ce}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:ye.paddingXS}},"&-show-count-suffix":{color:et},"&-show-count-has-suffix":{marginInlineEnd:ye.paddingXXS},"&-prefix":{marginInlineEnd:Xe},"&-suffix":{marginInlineStart:Xe}}}),ot(ye)),{[`${Be}${ce}-password-icon`]:{color:ft,cursor:"pointer",transition:`all ${st}`,"&:hover":{color:Re}}}),rt(ye,`${ce}-affix-wrapper`))}},Ee=ye=>{const{componentCls:ce,colorError:Xe,colorWarning:et,borderRadiusLG:st,borderRadiusSM:ft}=ye;return{[`${ce}-group`]:Object.assign(Object.assign(Object.assign({},(0,ne.Wf)(ye)),Ue(ye)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${ce}-group-addon`]:{borderRadius:st,fontSize:ye.fontSizeLG}},"&-sm":{[`${ce}-group-addon`]:{borderRadius:ft}},"&-status-error":{[`${ce}-group-addon`]:{color:Xe,borderColor:Xe}},"&-status-warning":{[`${ce}-group-addon`]:{color:et,borderColor:et}},"&-disabled":{[`${ce}-group-addon`]:Object.assign({},Se(ye))},[`&:not(${ce}-compact-first-item):not(${ce}-compact-last-item)${ce}-compact-item`]:{[`${ce}, ${ce}-group-addon`]:{borderRadius:0}},[`&:not(${ce}-compact-last-item)${ce}-compact-first-item`]:{[`${ce}, ${ce}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${ce}-compact-first-item)${ce}-compact-last-item`]:{[`${ce}, ${ce}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},wt=ye=>{const{componentCls:ce,antCls:Xe}=ye,et=`${ce}-search`;return{[et]:{[`${ce}`]:{"&:hover, &:focus":{borderColor:ye.colorPrimaryHover,[`+ ${ce}-group-addon ${et}-button:not(${Xe}-btn-primary)`]:{borderInlineStartColor:ye.colorPrimaryHover}}},[`${ce}-affix-wrapper`]:{borderRadius:0},[`${ce}-lg`]:{lineHeight:ye.lineHeightLG-2e-4},[`> ${ce}-group`]:{[`> ${ce}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${et}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:ye.borderRadius,borderEndEndRadius:ye.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${et}-button:not(${Xe}-btn-primary)`]:{color:ye.colorTextDescription,"&:hover":{color:ye.colorPrimaryHover},"&:active":{color:ye.colorPrimaryActive},[`&${Xe}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${et}-button`]:{height:ye.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${et}-button`]:{height:ye.controlHeightLG},[`&-small ${et}-button`]:{height:ye.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${ce}-compact-item`]:{[`&:not(${ce}-compact-last-item)`]:{[`${ce}-group-addon`]:{[`${ce}-search-button`]:{marginInlineEnd:-ye.lineWidth,borderRadius:0}}},[`&:not(${ce}-compact-first-item)`]:{[`${ce},${ce}-affix-wrapper`]:{borderRadius:0}},[`> ${ce}-group-addon ${ce}-search-button,
|
|
|
> ${ce},
|
|
|
${ce}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${ce}-affix-wrapper-focused`]:{zIndex:2}}}}},Tt=ye=>{const{componentCls:ce,paddingLG:Xe}=ye,et=`${ce}-textarea`;return{[et]:{position:"relative","&-show-count":{[`> ${ce}`]:{height:"100%"},[`${ce}-data-count`]:{position:"absolute",bottom:-ye.fontSize*ye.lineHeight,insetInlineEnd:0,color:ye.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${ce}`]:{paddingInlineEnd:Xe}},[`&-affix-wrapper${et}-has-feedback`]:{[`${ce}`]:{paddingInlineEnd:Xe}},[`&-affix-wrapper${ce}-affix-wrapper`]:{padding:0,[`> textarea${ce}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${ce}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${ce}-clear-icon`]:{position:"absolute",insetInlineEnd:ye.paddingXS,insetBlockStart:ye.paddingXS},[`${et}-suffix`]:{position:"absolute",top:0,insetInlineEnd:ye.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function $e(ye){return(0,De.TS)(ye,{inputAffixPadding:ye.paddingXXS})}const ut=ye=>{const{controlHeight:ce,fontSize:Xe,lineHeight:et,lineWidth:st,controlHeightSM:ft,controlHeightLG:Re,fontSizeLG:Be,lineHeightLG:gt,paddingSM:ze,controlPaddingHorizontalSM:ct,controlPaddingHorizontal:nt,colorFillAlter:Ot,colorPrimaryHover:Rt,controlOutlineWidth:an,controlOutline:ht,colorErrorOutline:Ne,colorWarningOutline:At}=ye;return{paddingBlock:Math.max(Math.round((ce-Xe*et)/2*10)/10-st,3),paddingBlockSM:Math.max(Math.round((ft-Xe*et)/2*10)/10-st,0),paddingBlockLG:Math.ceil((Re-Be*gt)/2*10)/10-st,paddingInline:ze-st,paddingInlineSM:ct-st,paddingInlineLG:nt-st,addonBg:Ot,activeBorderColor:Rt,hoverBorderColor:Rt,activeShadow:`0 0 0 ${an}px ${ht}`,errorActiveShadow:`0 0 0 ${an}px ${Ne}`,warningActiveShadow:`0 0 0 ${an}px ${At}`}};ln.ZP=(0,qe.Z)("Input",ye=>{const ce=(0,De.TS)(ye,$e(ye));return[mt(ce),Tt(ce),vt(ce),Ee(ce),wt(ce),(0,fe.c)(ce)]},ut)},71322:function(Hn,ln,ee){"use strict";ee.d(ln,{D:function(){return Tt},Z:function(){return ye}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(Xe,et){return fe.createElement(we.Z,(0,ne.Z)({},Xe,{ref:et,icon:qe}))},de=fe.forwardRef(ke),Se=ee(22751),me=ee(91034),Pe=ee(94184),rt=ee.n(Pe),ue=ee(10366),mt=ce=>!isNaN(parseFloat(ce))&&isFinite(ce),ot=ee(53124),vt=ee(84321),Ee=function(ce,Xe){var et={};for(var st in ce)Object.prototype.hasOwnProperty.call(ce,st)&&Xe.indexOf(st)<0&&(et[st]=ce[st]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,st=Object.getOwnPropertySymbols(ce);ft<st.length;ft++)Xe.indexOf(st[ft])<0&&Object.prototype.propertyIsEnumerable.call(ce,st[ft])&&(et[st[ft]]=ce[st[ft]]);return et};const wt={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Tt=fe.createContext({}),$e=(()=>{let ce=0;return function(){let Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ce+=1,`${Xe}${ce}`}})();var ye=fe.forwardRef((ce,Xe)=>{const{prefixCls:et,className:st,trigger:ft,children:Re,defaultCollapsed:Be=!1,theme:gt="dark",style:ze={},collapsible:ct=!1,reverseArrow:nt=!1,width:Ot=200,collapsedWidth:Rt=80,zeroWidthTriggerStyle:an,breakpoint:ht,onCollapse:Ne,onBreakpoint:At}=ce,An=Ee(ce,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:jt}=(0,fe.useContext)(vt.Gs),[Mt,Kt]=(0,fe.useState)("collapsed"in ce?ce.collapsed:Be),[sn,wn]=(0,fe.useState)(!1);(0,fe.useEffect)(()=>{"collapsed"in ce&&Kt(ce.collapsed)},[ce.collapsed]);const vn=(ve,he)=>{"collapsed"in ce||Kt(ve),Ne==null||Ne(ve,he)},cn=(0,fe.useRef)();cn.current=ve=>{wn(ve.matches),At==null||At(ve.matches),Mt!==ve.matches&&vn(ve.matches,"responsive")},(0,fe.useEffect)(()=>{function ve(be){return cn.current(be)}let he;if(typeof window!="undefined"){const{matchMedia:be}=window;if(be&&ht&&ht in wt){he=be(`(max-width: ${wt[ht]})`);try{he.addEventListener("change",ve)}catch(ge){he.addListener(ve)}ve(he)}}return()=>{try{he==null||he.removeEventListener("change",ve)}catch(be){he==null||he.removeListener(ve)}}},[ht]),(0,fe.useEffect)(()=>{const ve=$e("ant-sider-");return jt.addSider(ve),()=>jt.removeSider(ve)},[]);const Nn=()=>{vn(!Mt,"clickTrigger")},{getPrefixCls:dr}=(0,fe.useContext)(ot.E_),En=()=>{const ve=dr("layout-sider",et),he=(0,ue.Z)(An,["collapsed"]),be=Mt?Rt:Ot,ge=mt(be)?`${be}px`:String(be),se=parseFloat(String(Rt||0))===0?fe.createElement("span",{onClick:Nn,className:rt()(`${ve}-zero-width-trigger`,`${ve}-zero-width-trigger-${nt?"right":"left"}`),style:an},ft||fe.createElement(de,null)):null,pn={expanded:nt?fe.createElement(me.Z,null):fe.createElement(Se.Z,null),collapsed:nt?fe.createElement(Se.Z,null):fe.createElement(me.Z,null)}[Mt?"collapsed":"expanded"],on=ft!==null?se||fe.createElement("div",{className:`${ve}-trigger`,onClick:Nn,style:{width:ge}},ft||pn):null,In=Object.assign(Object.assign({},ze),{flex:`0 0 ${ge}`,maxWidth:ge,minWidth:ge,width:ge}),Qn=rt()(ve,`${ve}-${gt}`,{[`${ve}-collapsed`]:!!Mt,[`${ve}-has-trigger`]:ct&&ft!==null&&!se,[`${ve}-below`]:!!sn,[`${ve}-zero-width`]:parseFloat(ge)===0},st);return fe.createElement("aside",Object.assign({className:Qn},he,{style:In,ref:Xe}),fe.createElement("div",{className:`${ve}-children`},Re),ct||sn&&se?on:null)},Ge=fe.useMemo(()=>({siderCollapsed:Mt}),[Mt]);return fe.createElement(Tt.Provider,{value:Ge},En())})},84321:function(Hn,ln,ee){"use strict";ee.d(ln,{VY:function(){return $e},$_:function(){return Tt},h4:function(){return wt},Gs:function(){return Ue},ZP:function(){return ut}});var ne=ee(74902),fe=ee(94184),De=ee.n(fe),qe=ee(10366),we=ee(67294),ke=ee(53124),de=ee(67968),me=ye=>{const{componentCls:ce,bodyBg:Xe,lightSiderBg:et,lightTriggerBg:st,lightTriggerColor:ft}=ye;return{[`${ce}-sider-light`]:{background:et,[`${ce}-sider-trigger`]:{color:ft,background:st},[`${ce}-sider-zero-width-trigger`]:{color:ft,background:st,border:`1px solid ${Xe}`,borderInlineStart:0}}}};const Pe=ye=>{const{antCls:ce,componentCls:Xe,colorText:et,triggerColor:st,footerBg:ft,triggerBg:Re,headerHeight:Be,headerPadding:gt,headerColor:ze,footerPadding:ct,triggerHeight:nt,zeroTriggerHeight:Ot,zeroTriggerWidth:Rt,motionDurationMid:an,motionDurationSlow:ht,fontSize:Ne,borderRadius:At,bodyBg:An,headerBg:jt,siderBg:Mt}=ye;return{[Xe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:An,"&, *":{boxSizing:"border-box"},[`&${Xe}-has-sider`]:{flexDirection:"row",[`> ${Xe}, > ${Xe}-content`]:{width:0}},[`${Xe}-header, &${Xe}-footer`]:{flex:"0 0 auto"},[`${Xe}-sider`]:{position:"relative",minWidth:0,background:Mt,transition:`all ${an}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ce}-menu${ce}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:nt},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:nt,color:st,lineHeight:`${nt}px`,textAlign:"center",background:Re,cursor:"pointer",transition:`all ${an}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Be,insetInlineEnd:-Rt,zIndex:1,width:Rt,height:Ot,color:st,fontSize:ye.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Mt,borderStartStartRadius:0,borderStartEndRadius:At,borderEndEndRadius:At,borderEndStartRadius:0,cursor:"pointer",transition:`background ${ht} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ht}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Rt,borderStartStartRadius:At,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:At}}}}},me(ye)),{"&-rtl":{direction:"rtl"}}),[`${Xe}-header`]:{height:Be,padding:gt,color:ze,lineHeight:`${Be}px`,background:jt,[`${ce}-menu`]:{lineHeight:"inherit"}},[`${Xe}-footer`]:{padding:ct,color:et,fontSize:Ne,background:ft},[`${Xe}-content`]:{flex:"auto",minHeight:0}}};var rt=(0,de.Z)("Layout",ye=>[Pe(ye)],ye=>{const{colorBgLayout:ce,controlHeight:Xe,controlHeightLG:et,colorText:st,controlHeightSM:ft,marginXXS:Re,colorTextLightSolid:Be,colorBgContainer:gt}=ye,ze=et*1.25;return{colorBgHeader:"#001529",colorBgBody:ce,colorBgTrigger:"#002140",bodyBg:ce,headerBg:"#001529",headerHeight:Xe*2,headerPadding:`0 ${ze}px`,headerColor:st,footerPadding:`${ft}px ${ze}px`,footerBg:ce,siderBg:"#001529",triggerHeight:et+Re*2,triggerBg:"#002140",triggerColor:Be,zeroTriggerWidth:et,zeroTriggerHeight:et,lightSiderBg:gt,lightTriggerBg:gt,lightTriggerColor:st}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),ue=function(ye,ce){var Xe={};for(var et in ye)Object.prototype.hasOwnProperty.call(ye,et)&&ce.indexOf(et)<0&&(Xe[et]=ye[et]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,et=Object.getOwnPropertySymbols(ye);st<et.length;st++)ce.indexOf(et[st])<0&&Object.prototype.propertyIsEnumerable.call(ye,et[st])&&(Xe[et[st]]=ye[et[st]]);return Xe};const Ue=we.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function mt(ye){let{suffixCls:ce,tagName:Xe,displayName:et}=ye;return st=>we.forwardRef((Re,Be)=>we.createElement(st,Object.assign({ref:Be,suffixCls:ce,tagName:Xe},Re)))}const ot=we.forwardRef((ye,ce)=>{const{prefixCls:Xe,suffixCls:et,className:st,tagName:ft}=ye,Re=ue(ye,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Be}=we.useContext(ke.E_),gt=Be("layout",Xe),[ze,ct]=rt(gt),nt=et?`${gt}-${et}`:gt;return ze(we.createElement(ft,Object.assign({className:De()(Xe||nt,st,ct),ref:ce},Re)))}),vt=we.forwardRef((ye,ce)=>{const{direction:Xe}=we.useContext(ke.E_),[et,st]=we.useState([]),{prefixCls:ft,className:Re,rootClassName:Be,children:gt,hasSider:ze,tagName:ct,style:nt}=ye,Ot=ue(ye,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Rt=(0,qe.Z)(Ot,["suffixCls"]),{getPrefixCls:an,layout:ht}=we.useContext(ke.E_),Ne=an("layout",ft),[At,An]=rt(Ne),jt=De()(Ne,{[`${Ne}-has-sider`]:typeof ze=="boolean"?ze:et.length>0,[`${Ne}-rtl`]:Xe==="rtl"},ht==null?void 0:ht.className,Re,Be,An),Mt=we.useMemo(()=>({siderHook:{addSider:Kt=>{st(sn=>[].concat((0,ne.Z)(sn),[Kt]))},removeSider:Kt=>{st(sn=>sn.filter(wn=>wn!==Kt))}}}),[]);return At(we.createElement(Ue.Provider,{value:Mt},we.createElement(ct,Object.assign({ref:ce,className:jt,style:Object.assign(Object.assign({},ht==null?void 0:ht.style),nt)},Rt),gt)))}),Ee=mt({tagName:"div",displayName:"Layout"})(vt),wt=mt({suffixCls:"header",tagName:"header",displayName:"Header"})(ot),Tt=mt({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(ot),$e=mt({suffixCls:"content",tagName:"main",displayName:"Content"})(ot);var ut=Ee},76529:function(Hn,ln,ee){"use strict";ee.d(ln,{J:function(){return ke}});var ne=ee(67294),fe=ee(4173),De=ee(60276),qe=function(de,Se){var me={};for(var Pe in de)Object.prototype.hasOwnProperty.call(de,Pe)&&Se.indexOf(Pe)<0&&(me[Pe]=de[Pe]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Pe=Object.getOwnPropertySymbols(de);rt<Pe.length;rt++)Se.indexOf(Pe[rt])<0&&Object.prototype.propertyIsEnumerable.call(de,Pe[rt])&&(me[Pe[rt]]=de[Pe[rt]]);return me};const we=ne.createContext(null),ke=ne.forwardRef((de,Se)=>{const{children:me}=de,Pe=qe(de,["children"]),rt=ne.useContext(we),ue=ne.useMemo(()=>Object.assign(Object.assign({},rt),Pe),[rt,Pe.prefixCls,Pe.mode,Pe.selectable]);return ne.createElement(we.Provider,{value:ue},ne.createElement(fe.BR,null,(0,De.supportNodeRef)(me)?ne.cloneElement(me,{ref:Se}):me))});ln.Z=we},68508:function(Hn,ln,ee){"use strict";ee.d(ln,{default:function(){return ve}});var ne=ee(78595),fe=ee(67294),De=ee(71322),qe=ee(94184),we=ee.n(qe),ke=ee(53124),de=function(he,be){var ge={};for(var se in he)Object.prototype.hasOwnProperty.call(he,se)&&be.indexOf(se)<0&&(ge[se]=he[se]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,se=Object.getOwnPropertySymbols(he);Ye<se.length;Ye++)be.indexOf(se[Ye])<0&&Object.prototype.propertyIsEnumerable.call(he,se[Ye])&&(ge[se[Ye]]=he[se[Ye]]);return ge},me=he=>{const{prefixCls:be,className:ge,dashed:se}=he,Ye=de(he,["prefixCls","className","dashed"]),{getPrefixCls:xt}=fe.useContext(ke.E_),pn=xt("menu",be),on=we()({[`${pn}-item-divider-dashed`]:!!se},ge);return fe.createElement(ne.iz,Object.assign({className:on},Ye))},Pe=ee(37419),rt=ee(10366),ue=ee(83062),Ue=ee(96159),ot=(0,fe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ee=he=>{var be;const{className:ge,children:se,icon:Ye,title:xt,danger:pn}=he,{prefixCls:on,firstLevel:In,direction:Qn,disableMenuItemTitleTooltip:_n,inlineCollapsed:Vt}=fe.useContext(ot),gn=nn=>{const Nr=fe.createElement("span",{className:`${on}-title-content`},se);return(!Ye||(0,Ue.l$)(se)&&se.type==="span")&&se&&nn&&In&&typeof se=="string"?fe.createElement("div",{className:`${on}-inline-collapsed-noicon`},se.charAt(0)):Nr},{siderCollapsed:Fn}=fe.useContext(De.D);let Tn=xt;typeof xt=="undefined"?Tn=In?se:"":xt===!1&&(Tn="");const qt={title:Tn};!Fn&&!Vt&&(qt.title=null,qt.open=!1);const Dr=(0,Pe.Z)(se).length;let Ut=fe.createElement(ne.ck,Object.assign({},(0,rt.Z)(he,["title","icon","danger"]),{className:we()({[`${on}-item-danger`]:pn,[`${on}-item-only-child`]:(Ye?Dr+1:Dr)===1},ge),title:typeof xt=="string"?xt:void 0}),(0,Ue.Tm)(Ye,{className:we()((0,Ue.l$)(Ye)?(be=Ye.props)===null||be===void 0?void 0:be.className:"",`${on}-item-icon`)}),gn(Vt));return _n||(Ut=fe.createElement(ue.Z,Object.assign({},qt,{placement:Qn==="rtl"?"left":"right",overlayClassName:`${on}-inline-collapsed-tooltip`}),Ut)),Ut},Tt=he=>{var be;const{popupClassName:ge,icon:se,title:Ye,theme:xt}=he,pn=fe.useContext(ot),{prefixCls:on,inlineCollapsed:In,theme:Qn}=pn,_n=(0,ne.Xl)();let Vt;if(!se)Vt=In&&!_n.length&&Ye&&typeof Ye=="string"?fe.createElement("div",{className:`${on}-inline-collapsed-noicon`},Ye.charAt(0)):fe.createElement("span",{className:`${on}-title-content`},Ye);else{const Fn=(0,Ue.l$)(Ye)&&Ye.type==="span";Vt=fe.createElement(fe.Fragment,null,(0,Ue.Tm)(se,{className:we()((0,Ue.l$)(se)?(be=se.props)===null||be===void 0?void 0:be.className:"",`${on}-item-icon`)}),Fn?Ye:fe.createElement("span",{className:`${on}-title-content`},Ye))}const gn=fe.useMemo(()=>Object.assign(Object.assign({},pn),{firstLevel:!1}),[pn]);return fe.createElement(ot.Provider,{value:gn},fe.createElement(ne.Wd,Object.assign({},(0,rt.Z)(he,["icon"]),{title:Vt,popupClassName:we()(on,ge,`${on}-${xt||Qn}`)})))},$e=ee(25877),ut=ee(60276),ye=ee(33603),ce=ee(76529),Xe=function(he,be){var ge={};for(var se in he)Object.prototype.hasOwnProperty.call(he,se)&&be.indexOf(se)<0&&(ge[se]=he[se]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,se=Object.getOwnPropertySymbols(he);Ye<se.length;Ye++)be.indexOf(se[Ye])<0&&Object.prototype.propertyIsEnumerable.call(he,se[Ye])&&(ge[se[Ye]]=he[se[Ye]]);return ge};function et(he){return(he||[]).map((be,ge)=>{if(be&&typeof be=="object"){const se=be,{label:Ye,children:xt,key:pn,type:on}=se,In=Xe(se,["label","children","key","type"]),Qn=pn!=null?pn:`tmp-${ge}`;return xt||on==="group"?on==="group"?fe.createElement(ne.BW,Object.assign({key:Qn},In,{title:Ye}),et(xt)):fe.createElement(Tt,Object.assign({key:Qn},In,{title:Ye}),et(xt)):on==="divider"?fe.createElement(me,Object.assign({key:Qn},In)):fe.createElement(Ee,Object.assign({key:Qn},In),Ye)}return null}).filter(be=>be)}function st(he){return fe.useMemo(()=>he&&et(he),[he])}var ft=ee(84780),Re=ee(14747),Be=ee(33507),gt=ee(67771),ze=ee(50438),ct=ee(67968),nt=ee(45503),Rt=he=>{const{componentCls:be,motionDurationSlow:ge,horizontalLineHeight:se,colorSplit:Ye,lineWidth:xt,lineType:pn,itemPaddingInline:on}=he;return{[`${be}-horizontal`]:{lineHeight:se,border:0,borderBottom:`${xt}px ${pn} ${Ye}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${be}-item, ${be}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:on},[`> ${be}-item:hover,
|
|
|
> ${be}-item-active,
|
|
|
> ${be}-submenu ${be}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${be}-item, ${be}-submenu-title`]:{transition:[`border-color ${ge}`,`background ${ge}`].join(",")},[`${be}-submenu-arrow`]:{display:"none"}}}},ht=he=>{let{componentCls:be,menuArrowOffset:ge}=he;return{[`${be}-rtl`]:{direction:"rtl"},[`${be}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${be}-rtl${be}-vertical,
|
|
|
${be}-submenu-rtl ${be}-vertical`]:{[`${be}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ge})`},"&::after":{transform:`rotate(45deg) translateY(${ge})`}}}}};const Ne=he=>Object.assign({},(0,Re.oN)(he));var An=(he,be)=>{const{componentCls:ge,itemColor:se,itemSelectedColor:Ye,groupTitleColor:xt,itemBg:pn,subMenuItemBg:on,itemSelectedBg:In,activeBarHeight:Qn,activeBarWidth:_n,activeBarBorderWidth:Vt,motionDurationSlow:gn,motionEaseInOut:Fn,motionEaseOut:Tn,itemPaddingInline:qt,motionDurationMid:Dr,itemHoverColor:Ut,lineType:nn,colorSplit:Nr,itemDisabledColor:cr,dangerItemColor:Fr,dangerItemHoverColor:aa,dangerItemSelectedColor:Jn,dangerItemActiveBg:Ia,dangerItemSelectedBg:Ta,itemHoverBg:ti,itemActiveBg:Jr,menuSubMenuBg:ja,horizontalItemSelectedColor:Si,horizontalItemSelectedBg:$a,horizontalItemBorderRadius:ji,horizontalItemHoverBg:Ni,popupBg:Ln}=he;return{[`${ge}-${be}, ${ge}-${be} > ${ge}`]:{color:se,background:pn,[`&${ge}-root:focus-visible`]:Object.assign({},Ne(he)),[`${ge}-item-group-title`]:{color:xt},[`${ge}-submenu-selected`]:{[`> ${ge}-submenu-title`]:{color:Ye}},[`${ge}-item-disabled, ${ge}-submenu-disabled`]:{color:`${cr} !important`},[`${ge}-item:not(${ge}-item-selected):not(${ge}-submenu-selected)`]:{[`&:hover, > ${ge}-submenu-title:hover`]:{color:Ut}},[`&:not(${ge}-horizontal)`]:{[`${ge}-item:not(${ge}-item-selected)`]:{"&:hover":{backgroundColor:ti},"&:active":{backgroundColor:Jr}},[`${ge}-submenu-title`]:{"&:hover":{backgroundColor:ti},"&:active":{backgroundColor:Jr}}},[`${ge}-item-danger`]:{color:Fr,[`&${ge}-item:hover`]:{[`&:not(${ge}-item-selected):not(${ge}-submenu-selected)`]:{color:aa}},[`&${ge}-item:active`]:{background:Ia}},[`${ge}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ge}-item-selected`]:{color:Ye,[`&${ge}-item-danger`]:{color:Jn},"a, a:hover":{color:"inherit"}},[`& ${ge}-item-selected`]:{backgroundColor:In,[`&${ge}-item-danger`]:{backgroundColor:Ta}},[`${ge}-item, ${ge}-submenu-title`]:{[`&:not(${ge}-item-disabled):focus-visible`]:Object.assign({},Ne(he))},[`&${ge}-submenu > ${ge}`]:{backgroundColor:ja},[`&${ge}-popup > ${ge}`]:{backgroundColor:Ln},[`&${ge}-horizontal`]:Object.assign(Object.assign({},be==="dark"?{borderBottom:0}:{}),{[`> ${ge}-item, > ${ge}-submenu`]:{top:Vt,marginTop:-Vt,marginBottom:0,borderRadius:ji,"&::after":{position:"absolute",insetInline:qt,bottom:0,borderBottom:`${Qn}px solid transparent`,transition:`border-color ${gn} ${Fn}`,content:'""'},"&:hover, &-active, &-open":{background:Ni,"&::after":{borderBottomWidth:Qn,borderBottomColor:Si}},"&-selected":{color:Si,backgroundColor:$a,"&:hover":{backgroundColor:$a},"&::after":{borderBottomWidth:Qn,borderBottomColor:Si}}}}),[`&${ge}-root`]:{[`&${ge}-inline, &${ge}-vertical`]:{borderInlineEnd:`${Vt}px ${nn} ${Nr}`}},[`&${ge}-inline`]:{[`${ge}-sub${ge}-inline`]:{background:on},[`${ge}-item, ${ge}-submenu-title`]:Vt&&_n?{width:`calc(100% + ${Vt}px)`}:{},[`${ge}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${_n}px solid ${Ye}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Dr} ${Tn}`,`opacity ${Dr} ${Tn}`].join(","),content:'""'},[`&${ge}-item-danger`]:{"&::after":{borderInlineEndColor:Jn}}},[`${ge}-selected, ${ge}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Dr} ${Fn}`,`opacity ${Dr} ${Fn}`].join(",")}}}}}};const jt=he=>{const{componentCls:be,itemHeight:ge,itemMarginInline:se,padding:Ye,menuArrowSize:xt,marginXS:pn,itemMarginBlock:on}=he,In=Ye+xt+pn;return{[`${be}-item`]:{position:"relative",overflow:"hidden"},[`${be}-item, ${be}-submenu-title`]:{height:ge,lineHeight:`${ge}px`,paddingInline:Ye,overflow:"hidden",textOverflow:"ellipsis",marginInline:se,marginBlock:on,width:`calc(100% - ${se*2}px)`},[`> ${be}-item,
|
|
|
> ${be}-submenu > ${be}-submenu-title`]:{height:ge,lineHeight:`${ge}px`},[`${be}-item-group-list ${be}-submenu-title,
|
|
|
${be}-submenu-title`]:{paddingInlineEnd:In}}};var Kt=he=>{const{componentCls:be,iconCls:ge,itemHeight:se,colorTextLightSolid:Ye,dropdownWidth:xt,controlHeightLG:pn,motionDurationMid:on,motionEaseOut:In,paddingXL:Qn,itemMarginInline:_n,fontSizeLG:Vt,motionDurationSlow:gn,paddingXS:Fn,boxShadowSecondary:Tn,collapsedWidth:qt,collapsedIconSize:Dr}=he,Ut={height:se,lineHeight:`${se}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[be]:{"&-inline, &-vertical":Object.assign({[`&${be}-root`]:{boxShadow:"none"}},jt(he))},[`${be}-submenu-popup`]:{[`${be}-vertical`]:Object.assign(Object.assign({},jt(he)),{boxShadow:Tn})}},{[`${be}-submenu-popup ${be}-vertical${be}-sub`]:{minWidth:xt,maxHeight:`calc(100vh - ${pn*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${be}-inline`]:{width:"100%",[`&${be}-root`]:{[`${be}-item, ${be}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${gn}`,`background ${gn}`,`padding ${on} ${In}`].join(","),[`> ${be}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${be}-sub${be}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${be}-submenu > ${be}-submenu-title`]:Ut,[`& ${be}-item-group-title`]:{paddingInlineStart:Qn}},[`${be}-item`]:Ut}},{[`${be}-inline-collapsed`]:{width:qt,[`&${be}-root`]:{[`${be}-item, ${be}-submenu ${be}-submenu-title`]:{[`> ${be}-inline-collapsed-noicon`]:{fontSize:Vt,textAlign:"center"}}},[`> ${be}-item,
|
|
|
> ${be}-item-group > ${be}-item-group-list > ${be}-item,
|
|
|
> ${be}-item-group > ${be}-item-group-list > ${be}-submenu > ${be}-submenu-title,
|
|
|
> ${be}-submenu > ${be}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Vt/2}px - ${_n}px)`,textOverflow:"clip",[`
|
|
|
${be}-submenu-arrow,
|
|
|
${be}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${be}-item-icon, ${ge}`]:{margin:0,fontSize:Dr,lineHeight:`${se}px`,"+ span":{display:"inline-block",opacity:0}}},[`${be}-item-icon, ${ge}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${be}-item-icon, ${ge}`]:{display:"none"},"a, a:hover":{color:Ye}},[`${be}-item-group-title`]:Object.assign(Object.assign({},Re.vS),{paddingInline:Fn})}}]};const sn=he=>{const{componentCls:be,motionDurationSlow:ge,motionDurationMid:se,motionEaseInOut:Ye,motionEaseOut:xt,iconCls:pn,iconSize:on,iconMarginInlineEnd:In}=he;return{[`${be}-item, ${be}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ge}`,`background ${ge}`,`padding ${ge} ${Ye}`].join(","),[`${be}-item-icon, ${pn}`]:{minWidth:on,fontSize:on,transition:[`font-size ${se} ${xt}`,`margin ${ge} ${Ye}`,`color ${ge}`].join(","),"+ span":{marginInlineStart:In,opacity:1,transition:[`opacity ${ge} ${Ye}`,`margin ${ge}`,`color ${ge}`].join(",")}},[`${be}-item-icon`]:Object.assign({},(0,Re.Ro)()),[`&${be}-item-only-child`]:{[`> ${pn}, > ${be}-item-icon`]:{marginInlineEnd:0}}},[`${be}-item-disabled, ${be}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${be}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},wn=he=>{const{componentCls:be,motionDurationSlow:ge,motionEaseInOut:se,borderRadius:Ye,menuArrowSize:xt,menuArrowOffset:pn}=he;return{[`${be}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:he.margin,width:xt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ge} ${se}, opacity ${ge}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:xt*.6,height:xt*.15,backgroundColor:"currentcolor",borderRadius:Ye,transition:[`background ${ge} ${se}`,`transform ${ge} ${se}`,`top ${ge} ${se}`,`color ${ge} ${se}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${pn})`},"&::after":{transform:`rotate(-45deg) translateY(${pn})`}}}}},vn=he=>{const{antCls:be,componentCls:ge,fontSize:se,motionDurationSlow:Ye,motionDurationMid:xt,motionEaseInOut:pn,paddingXS:on,padding:In,colorSplit:Qn,lineWidth:_n,zIndexPopup:Vt,borderRadiusLG:gn,subMenuItemBorderRadius:Fn,menuArrowSize:Tn,menuArrowOffset:qt,lineType:Dr,menuPanelMaskInset:Ut,groupTitleLineHeight:nn,groupTitleFontSize:Nr}=he;return[{"":{[`${ge}`]:Object.assign(Object.assign({},(0,Re.dF)()),{"&-hidden":{display:"none"}})},[`${ge}-submenu-hidden`]:{display:"none"}},{[ge]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Re.Wf)(he)),(0,Re.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:se,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ye} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ge}-item`]:{flex:"none"}},[`${ge}-item, ${ge}-submenu, ${ge}-submenu-title`]:{borderRadius:he.itemBorderRadius},[`${ge}-item-group-title`]:{padding:`${on}px ${In}px`,fontSize:Nr,lineHeight:nn,transition:`all ${Ye}`},[`&-horizontal ${ge}-submenu`]:{transition:[`border-color ${Ye} ${pn}`,`background ${Ye} ${pn}`].join(",")},[`${ge}-submenu, ${ge}-submenu-inline`]:{transition:[`border-color ${Ye} ${pn}`,`background ${Ye} ${pn}`,`padding ${xt} ${pn}`].join(",")},[`${ge}-submenu ${ge}-sub`]:{cursor:"initial",transition:[`background ${Ye} ${pn}`,`padding ${Ye} ${pn}`].join(",")},[`${ge}-title-content`]:{transition:`color ${Ye}`},[`${ge}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ge}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Qn,borderStyle:Dr,borderWidth:0,borderTopWidth:_n,marginBlock:_n,padding:0,"&-dashed":{borderStyle:"dashed"}}}),sn(he)),{[`${ge}-item-group`]:{[`${ge}-item-group-list`]:{margin:0,padding:0,[`${ge}-item, ${ge}-submenu-title`]:{paddingInline:`${se*2}px ${In}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Vt,borderRadius:gn,boxShadow:"none",transformOrigin:"0 0",[`&${ge}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Ut}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Ut},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:he.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:he.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:he.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:he.paddingXS},[`> ${ge}`]:Object.assign(Object.assign(Object.assign({borderRadius:gn},sn(he)),wn(he)),{[`${ge}-item, ${ge}-submenu > ${ge}-submenu-title`]:{borderRadius:Fn},[`${ge}-submenu-title::after`]:{transition:`transform ${Ye} ${pn}`}})}}),wn(he)),{[`&-inline-collapsed ${ge}-submenu-arrow,
|
|
|
&-inline ${ge}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${qt})`},"&::after":{transform:`rotate(45deg) translateX(-${qt})`}},[`${ge}-submenu-open${ge}-submenu-inline > ${ge}-submenu-title > ${ge}-submenu-arrow`]:{transform:`translateY(-${Tn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${qt})`},"&::before":{transform:`rotate(45deg) translateX(${qt})`}}})},{[`${be}-layout-header`]:{[ge]:{lineHeight:"inherit"}}}]};var cn=(he,be)=>(0,ct.Z)("Menu",se=>{if(be===!1)return[];const{colorBgElevated:Ye,colorPrimary:xt,colorTextLightSolid:pn,controlHeightLG:on,fontSize:In,darkItemColor:Qn,darkDangerItemColor:_n,darkItemBg:Vt,darkSubMenuItemBg:gn,darkItemSelectedColor:Fn,darkItemSelectedBg:Tn,darkDangerItemSelectedBg:qt,darkItemHoverBg:Dr,darkGroupTitleColor:Ut,darkItemHoverColor:nn,darkItemDisabledColor:Nr,darkDangerItemHoverColor:cr,darkDangerItemSelectedColor:Fr,darkDangerItemActiveBg:aa}=se,Jn=In/7*5,Ia=(0,nt.TS)(se,{menuArrowSize:Jn,menuHorizontalHeight:on*1.15,menuArrowOffset:`${Jn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ye}),Ta=(0,nt.TS)(Ia,{itemColor:Qn,itemHoverColor:nn,groupTitleColor:Ut,itemSelectedColor:Fn,itemBg:Vt,popupBg:Vt,subMenuItemBg:gn,itemActiveBg:"transparent",itemSelectedBg:Tn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Dr,itemDisabledColor:Nr,dangerItemColor:_n,dangerItemHoverColor:cr,dangerItemSelectedColor:Fr,dangerItemActiveBg:aa,dangerItemSelectedBg:qt,menuSubMenuBg:gn,horizontalItemSelectedColor:pn,horizontalItemSelectedBg:xt});return[vn(Ia),Rt(Ia),Kt(Ia),An(Ia,"light"),An(Ta,"dark"),ht(Ia),(0,Be.Z)(Ia),(0,gt.oN)(Ia,"slide-up"),(0,gt.oN)(Ia,"slide-down"),(0,ze._y)(Ia,"zoom-big")]},se=>{const{colorPrimary:Ye,colorError:xt,colorTextDisabled:pn,colorErrorBg:on,colorText:In,colorTextDescription:Qn,colorBgContainer:_n,colorFillAlter:Vt,colorFillContent:gn,lineWidth:Fn,lineWidthBold:Tn,controlItemBgActive:qt,colorBgTextHover:Dr,controlHeightLG:Ut,lineHeight:nn,colorBgElevated:Nr,marginXXS:cr,padding:Fr,fontSize:aa,controlHeightSM:Jn,fontSizeLG:Ia,colorTextLightSolid:Ta,colorErrorHover:ti}=se,Jr=new ft.C(Ta).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:se.zIndexPopupBase+50,radiusItem:se.borderRadiusLG,itemBorderRadius:se.borderRadiusLG,radiusSubMenuItem:se.borderRadiusSM,subMenuItemBorderRadius:se.borderRadiusSM,colorItemText:In,itemColor:In,colorItemTextHover:In,itemHoverColor:In,colorItemTextHoverHorizontal:Ye,horizontalItemHoverColor:Ye,colorGroupTitle:Qn,groupTitleColor:Qn,colorItemTextSelected:Ye,itemSelectedColor:Ye,colorItemTextSelectedHorizontal:Ye,horizontalItemSelectedColor:Ye,colorItemBg:_n,itemBg:_n,colorItemBgHover:Dr,itemHoverBg:Dr,colorItemBgActive:gn,itemActiveBg:qt,colorSubItemBg:Vt,subMenuItemBg:Vt,colorItemBgSelected:qt,itemSelectedBg:qt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Tn,activeBarHeight:Tn,colorActiveBarBorderSize:Fn,activeBarBorderWidth:Fn,colorItemTextDisabled:pn,itemDisabledColor:pn,colorDangerItemText:xt,dangerItemColor:xt,colorDangerItemTextHover:xt,dangerItemHoverColor:xt,colorDangerItemTextSelected:xt,dangerItemSelectedColor:xt,colorDangerItemBgActive:on,dangerItemActiveBg:on,colorDangerItemBgSelected:on,dangerItemSelectedBg:on,itemMarginInline:se.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ut,groupTitleLineHeight:nn,collapsedWidth:Ut*2,popupBg:Nr,itemMarginBlock:cr,itemPaddingInline:Fr,horizontalLineHeight:`${Ut*1.15}px`,iconSize:aa,iconMarginInlineEnd:Jn-aa,collapsedIconSize:Ia,groupTitleFontSize:aa,darkItemDisabledColor:new ft.C(Ta).setAlpha(.25).toRgbString(),darkItemColor:Jr,darkDangerItemColor:xt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Ta,darkItemSelectedBg:Ye,darkDangerItemSelectedBg:xt,darkItemHoverBg:"transparent",darkGroupTitleColor:Jr,darkItemHoverColor:Ta,darkDangerItemHoverColor:ti,darkDangerItemSelectedColor:Ta,darkDangerItemActiveBg:xt}},{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"]]})(he),Nn=function(he,be){var ge={};for(var se in he)Object.prototype.hasOwnProperty.call(he,se)&&be.indexOf(se)<0&&(ge[se]=he[se]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,se=Object.getOwnPropertySymbols(he);Ye<se.length;Ye++)be.indexOf(se[Ye])<0&&Object.prototype.propertyIsEnumerable.call(he,se[Ye])&&(ge[se[Ye]]=he[se[Ye]]);return ge},En=(0,fe.forwardRef)((he,be)=>{var ge,se;const Ye=fe.useContext(ce.Z),xt=Ye||{},{getPrefixCls:pn,getPopupContainer:on,direction:In,menu:Qn}=fe.useContext(ke.E_),_n=pn(),{prefixCls:Vt,className:gn,style:Fn,theme:Tn="light",expandIcon:qt,_internalDisableMenuItemTitleTooltip:Dr,inlineCollapsed:Ut,siderCollapsed:nn,items:Nr,children:cr,rootClassName:Fr,mode:aa,selectable:Jn,onClick:Ia,overflowedIndicatorPopupClassName:Ta}=he,ti=Nn(he,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Jr=(0,rt.Z)(ti,["collapsedWidth"]),ja=st(Nr)||cr;(ge=xt.validator)===null||ge===void 0||ge.call(xt,{mode:aa});const Si=(0,ut.useEvent)(function(){var hn;Ia==null||Ia.apply(void 0,arguments),(hn=xt.onClick)===null||hn===void 0||hn.call(xt)}),$a=xt.mode||aa,ji=Jn!=null?Jn:xt.selectable,Ni=fe.useMemo(()=>nn!==void 0?nn:Ut,[Ut,nn]),Ln={horizontal:{motionName:`${_n}-slide-up`},inline:(0,ye.Z)(_n),other:{motionName:`${_n}-zoom-big`}},Pn=pn("menu",Vt||xt.prefixCls),[rr,or]=cn(Pn,!Ye),$r=we()(`${Pn}-${Tn}`,Qn==null?void 0:Qn.className,gn);let Br;if(typeof qt=="function")Br=qt;else if(qt===null||qt===!1)Br=null;else if(xt.expandIcon===null||xt.expandIcon===!1)Br=null;else{const hn=qt!=null?qt:xt.expandIcon;Br=(0,Ue.Tm)(hn,{className:we()(`${Pn}-submenu-expand-icon`,(0,Ue.l$)(hn)?(se=hn.props)===null||se===void 0?void 0:se.className:"")})}const jr=fe.useMemo(()=>({prefixCls:Pn,inlineCollapsed:Ni||!1,direction:In,firstLevel:!0,theme:Tn,mode:$a,disableMenuItemTitleTooltip:Dr}),[Pn,Ni,In,Dr,Tn]);return rr(fe.createElement(ce.Z.Provider,{value:null},fe.createElement(ot.Provider,{value:jr},fe.createElement(ne.ZP,Object.assign({getPopupContainer:on,overflowedIndicator:fe.createElement($e.Z,null),overflowedIndicatorPopupClassName:we()(Pn,`${Pn}-${Tn}`,Ta),mode:$a,selectable:ji,onClick:Si},Jr,{inlineCollapsed:Ni,style:Object.assign(Object.assign({},Qn==null?void 0:Qn.style),Fn),className:$r,prefixCls:Pn,direction:In,defaultMotions:Ln,expandIcon:Br,ref:be,rootClassName:we()(Fr,or)}),ja))))});const Ge=(0,fe.forwardRef)((he,be)=>{const ge=(0,fe.useRef)(null),se=fe.useContext(De.D);return(0,fe.useImperativeHandle)(be,()=>({menu:ge.current,focus:Ye=>{var xt;(xt=ge.current)===null||xt===void 0||xt.focus(Ye)}})),fe.createElement(En,Object.assign({ref:ge},he,se))});Ge.Item=Ee,Ge.SubMenu=Tt,Ge.Divider=me,Ge.ItemGroup=ne.BW;var ve=Ge},28452:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return _n}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(gn,Fn){return fe.createElement(we.Z,(0,ne.Z)({},gn,{ref:Fn,icon:qe}))},de=fe.forwardRef(ke),Se=ee(81893),me=ee(22751),Pe=ee(91034),rt=ee(94184),ue=ee.n(rt),Ue=ee(4942),mt=ee(1413),ot=ee(15671),vt=ee(43144),Ee=ee(60136),wt=ee(51630),Tt=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,$e=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ut="".concat(Tt," ").concat($e).split(/[\s\n]+/),ye="aria-",ce="data-";function Xe(Vt,gn){return Vt.indexOf(gn)===0}function et(Vt){var gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Fn;gn===!1?Fn={aria:!0,data:!0,attr:!0}:gn===!0?Fn={aria:!0}:Fn=(0,mt.Z)({},gn);var Tn={};return Object.keys(Vt).forEach(function(qt){(Fn.aria&&(qt==="role"||Xe(qt,ye))||Fn.data&&Xe(qt,ce)||Fn.attr&&ut.includes(qt))&&(Tn[qt]=Vt[qt])}),Tn}var st={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ft=st,Re=ee(81626),Be=function(Vt){(0,Ee.Z)(Fn,Vt);var gn=(0,wt.Z)(Fn);function Fn(){var Tn;(0,ot.Z)(this,Fn);for(var qt=arguments.length,Dr=new Array(qt),Ut=0;Ut<qt;Ut++)Dr[Ut]=arguments[Ut];return Tn=gn.call.apply(gn,[this].concat(Dr)),Tn.state={goInputText:""},Tn.getValidValue=function(){var nn=Tn.state.goInputText;return!nn||Number.isNaN(nn)?void 0:Number(nn)},Tn.buildOptionText=function(nn){return"".concat(nn," ").concat(Tn.props.locale.items_per_page)},Tn.changeSize=function(nn){Tn.props.changeSize(Number(nn))},Tn.handleChange=function(nn){Tn.setState({goInputText:nn.target.value})},Tn.handleBlur=function(nn){var Nr=Tn.props,cr=Nr.goButton,Fr=Nr.quickGo,aa=Nr.rootPrefixCls,Jn=Tn.state.goInputText;cr||Jn===""||(Tn.setState({goInputText:""}),!(nn.relatedTarget&&(nn.relatedTarget.className.indexOf("".concat(aa,"-item-link"))>=0||nn.relatedTarget.className.indexOf("".concat(aa,"-item"))>=0))&&Fr(Tn.getValidValue()))},Tn.go=function(nn){var Nr=Tn.state.goInputText;Nr!==""&&(nn.keyCode===ft.ENTER||nn.type==="click")&&(Tn.setState({goInputText:""}),Tn.props.quickGo(Tn.getValidValue()))},Tn}return(0,vt.Z)(Fn,[{key:"getPageSizeOptions",value:function(){var qt=this.props,Dr=qt.pageSize,Ut=qt.pageSizeOptions;return Ut.some(function(nn){return nn.toString()===Dr.toString()})?Ut:Ut.concat([Dr.toString()]).sort(function(nn,Nr){var cr=Number.isNaN(Number(nn))?0:Number(nn),Fr=Number.isNaN(Number(Nr))?0:Number(Nr);return cr-Fr})}},{key:"render",value:function(){var qt=this,Dr=this.props,Ut=Dr.pageSize,nn=Dr.locale,Nr=Dr.rootPrefixCls,cr=Dr.changeSize,Fr=Dr.quickGo,aa=Dr.goButton,Jn=Dr.selectComponentClass,Ia=Dr.buildOptionText,Ta=Dr.selectPrefixCls,ti=Dr.disabled,Jr=this.state.goInputText,ja="".concat(Nr,"-options"),Si=Jn,$a=null,ji=null,Ni=null;if(!cr&&!Fr)return null;var Ln=this.getPageSizeOptions();if(cr&&Si){var Pn=Ln.map(function(rr,or){return fe.createElement(Si.Option,{key:or,value:rr.toString()},(Ia||qt.buildOptionText)(rr))});$a=fe.createElement(Si,{disabled:ti,prefixCls:Ta,showSearch:!1,className:"".concat(ja,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Ut||Ln[0]).toString(),onChange:this.changeSize,getPopupContainer:function(or){return or.parentNode},"aria-label":nn.page_size,defaultOpen:!1},Pn)}return Fr&&(aa&&(Ni=typeof aa=="boolean"?fe.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:ti,className:"".concat(ja,"-quick-jumper-button")},nn.jump_to_confirm):fe.createElement("span",{onClick:this.go,onKeyUp:this.go},aa)),ji=fe.createElement("div",{className:"".concat(ja,"-quick-jumper")},nn.jump_to,fe.createElement("input",{disabled:ti,type:"text",value:Jr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":nn.page}),nn.page,Ni)),fe.createElement("li",{className:"".concat(ja)},$a,ji)}}]),Fn}(fe.Component);Be.defaultProps={pageSizeOptions:["10","20","50","100"]};var gt=Be,ze=function(gn){var Fn,Tn=gn.rootPrefixCls,qt=gn.page,Dr=gn.active,Ut=gn.className,nn=gn.showTitle,Nr=gn.onClick,cr=gn.onKeyPress,Fr=gn.itemRender,aa="".concat(Tn,"-item"),Jn=ue()(aa,"".concat(aa,"-").concat(qt),(Fn={},(0,Ue.Z)(Fn,"".concat(aa,"-active"),Dr),(0,Ue.Z)(Fn,"".concat(aa,"-disabled"),!qt),(0,Ue.Z)(Fn,gn.className,Ut),Fn)),Ia=function(){Nr(qt)},Ta=function(ja){cr(ja,Nr,qt)},ti=Fr(qt,"page",fe.createElement("a",{rel:"nofollow"},qt));return ti?fe.createElement("li",{title:nn?qt.toString():null,className:Jn,onClick:Ia,onKeyPress:Ta,tabIndex:0},ti):null},ct=ze;function nt(){}function Ot(Vt){var gn=Number(Vt);return typeof gn=="number"&&!Number.isNaN(gn)&&isFinite(gn)&&Math.floor(gn)===gn}var Rt=function(gn,Fn,Tn){return Tn};function an(Vt,gn,Fn){var Tn=typeof Vt=="undefined"?gn.pageSize:Vt;return Math.floor((Fn.total-1)/Tn)+1}var ht=function(Vt){(0,Ee.Z)(Fn,Vt);var gn=(0,wt.Z)(Fn);function Fn(Tn){var qt;(0,ot.Z)(this,Fn),qt=gn.call(this,Tn),qt.paginationNode=fe.createRef(),qt.getJumpPrevPage=function(){return Math.max(1,qt.state.current-(qt.props.showLessItems?3:5))},qt.getJumpNextPage=function(){return Math.min(an(void 0,qt.state,qt.props),qt.state.current+(qt.props.showLessItems?3:5))},qt.getItemIcon=function(cr,Fr){var aa=qt.props.prefixCls,Jn=cr||fe.createElement("button",{type:"button","aria-label":Fr,className:"".concat(aa,"-item-link")});return typeof cr=="function"&&(Jn=fe.createElement(cr,(0,mt.Z)({},qt.props))),Jn},qt.isValid=function(cr){var Fr=qt.props.total;return Ot(cr)&&cr!==qt.state.current&&Ot(Fr)&&Fr>0},qt.shouldDisplayQuickJumper=function(){var cr=qt.props,Fr=cr.showQuickJumper,aa=cr.total,Jn=qt.state.pageSize;return aa<=Jn?!1:Fr},qt.handleKeyDown=function(cr){(cr.keyCode===ft.ARROW_UP||cr.keyCode===ft.ARROW_DOWN)&&cr.preventDefault()},qt.handleKeyUp=function(cr){var Fr=qt.getValidValue(cr),aa=qt.state.currentInputValue;Fr!==aa&&qt.setState({currentInputValue:Fr}),cr.keyCode===ft.ENTER?qt.handleChange(Fr):cr.keyCode===ft.ARROW_UP?qt.handleChange(Fr-1):cr.keyCode===ft.ARROW_DOWN&&qt.handleChange(Fr+1)},qt.handleBlur=function(cr){var Fr=qt.getValidValue(cr);qt.handleChange(Fr)},qt.changePageSize=function(cr){var Fr=qt.state.current,aa=an(cr,qt.state,qt.props);Fr=Fr>aa?aa:Fr,aa===0&&(Fr=qt.state.current),typeof cr=="number"&&("pageSize"in qt.props||qt.setState({pageSize:cr}),"current"in qt.props||qt.setState({current:Fr,currentInputValue:Fr})),qt.props.onShowSizeChange(Fr,cr),"onChange"in qt.props&&qt.props.onChange&&qt.props.onChange(Fr,cr)},qt.handleChange=function(cr){var Fr=qt.props,aa=Fr.disabled,Jn=Fr.onChange,Ia=qt.state,Ta=Ia.pageSize,ti=Ia.current,Jr=Ia.currentInputValue;if(qt.isValid(cr)&&!aa){var ja=an(void 0,qt.state,qt.props),Si=cr;return cr>ja?Si=ja:cr<1&&(Si=1),"current"in qt.props||qt.setState({current:Si}),Si!==Jr&&qt.setState({currentInputValue:Si}),Jn(Si,Ta),Si}return ti},qt.prev=function(){qt.hasPrev()&&qt.handleChange(qt.state.current-1)},qt.next=function(){qt.hasNext()&&qt.handleChange(qt.state.current+1)},qt.jumpPrev=function(){qt.handleChange(qt.getJumpPrevPage())},qt.jumpNext=function(){qt.handleChange(qt.getJumpNextPage())},qt.hasPrev=function(){return qt.state.current>1},qt.hasNext=function(){return qt.state.current<an(void 0,qt.state,qt.props)},qt.runIfEnter=function(cr,Fr){if(cr.key==="Enter"||cr.charCode===13){for(var aa=arguments.length,Jn=new Array(aa>2?aa-2:0),Ia=2;Ia<aa;Ia++)Jn[Ia-2]=arguments[Ia];Fr.apply(void 0,Jn)}},qt.runIfEnterPrev=function(cr){qt.runIfEnter(cr,qt.prev)},qt.runIfEnterNext=function(cr){qt.runIfEnter(cr,qt.next)},qt.runIfEnterJumpPrev=function(cr){qt.runIfEnter(cr,qt.jumpPrev)},qt.runIfEnterJumpNext=function(cr){qt.runIfEnter(cr,qt.jumpNext)},qt.handleGoTO=function(cr){(cr.keyCode===ft.ENTER||cr.type==="click")&&qt.handleChange(qt.state.currentInputValue)},qt.renderPrev=function(cr){var Fr=qt.props,aa=Fr.prevIcon,Jn=Fr.itemRender,Ia=Jn(cr,"prev",qt.getItemIcon(aa,"prev page")),Ta=!qt.hasPrev();return(0,fe.isValidElement)(Ia)?(0,fe.cloneElement)(Ia,{disabled:Ta}):Ia},qt.renderNext=function(cr){var Fr=qt.props,aa=Fr.nextIcon,Jn=Fr.itemRender,Ia=Jn(cr,"next",qt.getItemIcon(aa,"next page")),Ta=!qt.hasNext();return(0,fe.isValidElement)(Ia)?(0,fe.cloneElement)(Ia,{disabled:Ta}):Ia};var Dr=Tn.onChange!==nt,Ut="current"in Tn;Ut&&!Dr&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var nn=Tn.defaultCurrent;"current"in Tn&&(nn=Tn.current);var Nr=Tn.defaultPageSize;return"pageSize"in Tn&&(Nr=Tn.pageSize),nn=Math.min(nn,an(Nr,void 0,Tn)),qt.state={current:nn,currentInputValue:nn,pageSize:Nr},qt}return(0,vt.Z)(Fn,[{key:"componentDidUpdate",value:function(qt,Dr){var Ut=this.props.prefixCls;if(Dr.current!==this.state.current&&this.paginationNode.current){var nn=this.paginationNode.current.querySelector(".".concat(Ut,"-item-").concat(Dr.current));if(nn&&document.activeElement===nn){var Nr;nn==null||(Nr=nn.blur)===null||Nr===void 0||Nr.call(nn)}}}},{key:"getValidValue",value:function(qt){var Dr=qt.target.value,Ut=an(void 0,this.state,this.props),nn=this.state.currentInputValue,Nr;return Dr===""?Nr=Dr:Number.isNaN(Number(Dr))?Nr=nn:Dr>=Ut?Nr=Ut:Nr=Number(Dr),Nr}},{key:"getShowSizeChanger",value:function(){var qt=this.props,Dr=qt.showSizeChanger,Ut=qt.total,nn=qt.totalBoundaryShowSizeChanger;return typeof Dr!="undefined"?Dr:Ut>nn}},{key:"render",value:function(){var qt=this.props,Dr=qt.prefixCls,Ut=qt.className,nn=qt.style,Nr=qt.disabled,cr=qt.hideOnSinglePage,Fr=qt.total,aa=qt.locale,Jn=qt.showQuickJumper,Ia=qt.showLessItems,Ta=qt.showTitle,ti=qt.showTotal,Jr=qt.simple,ja=qt.itemRender,Si=qt.showPrevNextJumpers,$a=qt.jumpPrevIcon,ji=qt.jumpNextIcon,Ni=qt.selectComponentClass,Ln=qt.selectPrefixCls,Pn=qt.pageSizeOptions,rr=this.state,or=rr.current,$r=rr.pageSize,Br=rr.currentInputValue;if(cr===!0&&Fr<=$r)return null;var jr=an(void 0,this.state,this.props),hn=[],It=null,Zt=null,Gt=null,Gn=null,kt=null,mn=Jn&&Jn.goButton,Zn=Ia?1:2,Mn=or-1>0?or-1:0,ar=or+1<jr?or+1:jr,hr=et(this.props,{aria:!0,data:!0}),dn=ti&&fe.createElement("li",{className:"".concat(Dr,"-total-text")},ti(Fr,[Fr===0?0:(or-1)*$r+1,or*$r>Fr?Fr:or*$r]));if(Jr){mn&&(typeof mn=="boolean"?kt=fe.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},aa.jump_to_confirm):kt=fe.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},mn),kt=fe.createElement("li",{title:Ta?"".concat(aa.jump_to).concat(or,"/").concat(jr):null,className:"".concat(Dr,"-simple-pager")},kt));var za=this.renderPrev(Mn);return fe.createElement("ul",(0,ne.Z)({className:ue()(Dr,"".concat(Dr,"-simple"),(0,Ue.Z)({},"".concat(Dr,"-disabled"),Nr),Ut),style:nn,ref:this.paginationNode},hr),dn,za?fe.createElement("li",{title:Ta?aa.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ue()("".concat(Dr,"-prev"),(0,Ue.Z)({},"".concat(Dr,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},za):null,fe.createElement("li",{title:Ta?"".concat(or,"/").concat(jr):null,className:"".concat(Dr,"-simple-pager")},fe.createElement("input",{type:"text",value:Br,disabled:Nr,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),fe.createElement("span",{className:"".concat(Dr,"-slash")},"/"),jr),fe.createElement("li",{title:Ta?aa.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ue()("".concat(Dr,"-next"),(0,Ue.Z)({},"".concat(Dr,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(ar)),kt)}if(jr<=3+Zn*2){var pa={locale:aa,rootPrefixCls:Dr,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Ta,itemRender:ja};jr||hn.push(fe.createElement(ct,(0,ne.Z)({},pa,{key:"noPager",page:1,className:"".concat(Dr,"-item-disabled")})));for(var ma=1;ma<=jr;ma+=1){var Sa=or===ma;hn.push(fe.createElement(ct,(0,ne.Z)({},pa,{key:ma,page:ma,active:Sa})))}}else{var Aa=Ia?aa.prev_3:aa.prev_5,ka=Ia?aa.next_3:aa.next_5,Er=ja(this.getJumpPrevPage(),"jump-prev",this.getItemIcon($a,"prev page")),Gr=ja(this.getJumpNextPage(),"jump-next",this.getItemIcon(ji,"next page"));Si&&(It=Er?fe.createElement("li",{title:Ta?Aa:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ue()("".concat(Dr,"-jump-prev"),(0,Ue.Z)({},"".concat(Dr,"-jump-prev-custom-icon"),!!$a))},Er):null,Zt=Gr?fe.createElement("li",{title:Ta?ka:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ue()("".concat(Dr,"-jump-next"),(0,Ue.Z)({},"".concat(Dr,"-jump-next-custom-icon"),!!ji))},Gr):null),Gn=fe.createElement(ct,{locale:aa,last:!0,rootPrefixCls:Dr,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:jr,page:jr,active:!1,showTitle:Ta,itemRender:ja}),Gt=fe.createElement(ct,{locale:aa,rootPrefixCls:Dr,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Ta,itemRender:ja});var Zi=Math.max(1,or-Zn),Ii=Math.min(or+Zn,jr);or-1<=Zn&&(Ii=1+Zn*2),jr-or<=Zn&&(Zi=jr-Zn*2);for(var ni=Zi;ni<=Ii;ni+=1){var hi=or===ni;hn.push(fe.createElement(ct,{locale:aa,rootPrefixCls:Dr,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ni,page:ni,active:hi,showTitle:Ta,itemRender:ja}))}or-1>=Zn*2&&or!==3&&(hn[0]=(0,fe.cloneElement)(hn[0],{className:"".concat(Dr,"-item-after-jump-prev")}),hn.unshift(It)),jr-or>=Zn*2&&or!==jr-2&&(hn[hn.length-1]=(0,fe.cloneElement)(hn[hn.length-1],{className:"".concat(Dr,"-item-before-jump-next")}),hn.push(Zt)),Zi!==1&&hn.unshift(Gt),Ii!==jr&&hn.push(Gn)}var io=!this.hasPrev()||!jr,ri=!this.hasNext()||!jr,ho=this.renderPrev(Mn),ia=this.renderNext(ar);return fe.createElement("ul",(0,ne.Z)({className:ue()(Dr,Ut,(0,Ue.Z)({},"".concat(Dr,"-disabled"),Nr)),style:nn,ref:this.paginationNode},hr),dn,ho?fe.createElement("li",{title:Ta?aa.prev_page:null,onClick:this.prev,tabIndex:io?null:0,onKeyPress:this.runIfEnterPrev,className:ue()("".concat(Dr,"-prev"),(0,Ue.Z)({},"".concat(Dr,"-disabled"),io)),"aria-disabled":io},ho):null,hn,ia?fe.createElement("li",{title:Ta?aa.next_page:null,onClick:this.next,tabIndex:ri?null:0,onKeyPress:this.runIfEnterNext,className:ue()("".concat(Dr,"-next"),(0,Ue.Z)({},"".concat(Dr,"-disabled"),ri)),"aria-disabled":ri},ia):null,fe.createElement(gt,{disabled:Nr,locale:aa,rootPrefixCls:Dr,selectComponentClass:Ni,selectPrefixCls:Ln,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:or,pageSize:$r,pageSizeOptions:Pn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:mn}))}}],[{key:"getDerivedStateFromProps",value:function(qt,Dr){var Ut={};if("current"in qt&&(Ut.current=qt.current,qt.current!==Dr.current&&(Ut.currentInputValue=Ut.current)),"pageSize"in qt&&qt.pageSize!==Dr.pageSize){var nn=Dr.current,Nr=an(qt.pageSize,Dr,qt);nn=nn>Nr?Nr:nn,"current"in qt||(Ut.current=nn,Ut.currentInputValue=nn),Ut.pageSize=qt.pageSize}return Ut}}]),Fn}(fe.Component);ht.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:nt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:nt,locale:Re.Z,style:{},itemRender:Rt,totalBoundaryShowSizeChanger:50};var Ne=ht,At=ee(62906),An=ee(53124),jt=ee(98675),Mt=ee(25378),Kt=ee(10110),sn=ee(11713);const wn=Vt=>fe.createElement(sn.default,Object.assign({},Vt,{showSearch:!0,size:"small"})),vn=Vt=>fe.createElement(sn.default,Object.assign({},Vt,{showSearch:!0,size:"middle"}));wn.Option=sn.default.Option,vn.Option=sn.default.Option;var cn=ee(47673),Nn=ee(14747),dr=ee(67968),En=ee(45503);const Ge=Vt=>{const{componentCls:gn}=Vt;return{[`${gn}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${gn}-item-link`]:{color:Vt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${gn}-item-link`]:{color:Vt.colorTextDisabled,cursor:"not-allowed"}}},[`&${gn}-disabled`]:{cursor:"not-allowed",[`${gn}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Vt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Vt.colorBorder,backgroundColor:Vt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Vt.itemActiveBgDisabled},a:{color:Vt.itemActiveColorDisabled}}},[`${gn}-item-link`]:{color:Vt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${gn}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${gn}-simple-pager`]:{color:Vt.colorTextDisabled},[`${gn}-jump-prev, ${gn}-jump-next`]:{[`${gn}-item-link-icon`]:{opacity:0},[`${gn}-item-ellipsis`]:{opacity:1}}},[`&${gn}-simple`]:{[`${gn}-prev, ${gn}-next`]:{[`&${gn}-disabled ${gn}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ve=Vt=>{const{componentCls:gn}=Vt;return{[`&${gn}-mini ${gn}-total-text, &${gn}-mini ${gn}-simple-pager`]:{height:Vt.itemSizeSM,lineHeight:`${Vt.itemSizeSM}px`},[`&${gn}-mini ${gn}-item`]:{minWidth:Vt.itemSizeSM,height:Vt.itemSizeSM,margin:0,lineHeight:`${Vt.itemSizeSM-2}px`},[`&${gn}-mini:not(${gn}-disabled) ${gn}-item:not(${gn}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Vt.colorBgTextHover},"&:active":{backgroundColor:Vt.colorBgTextActive}},[`&${gn}-mini ${gn}-prev, &${gn}-mini ${gn}-next`]:{minWidth:Vt.itemSizeSM,height:Vt.itemSizeSM,margin:0,lineHeight:`${Vt.itemSizeSM}px`},[`&${gn}-mini:not(${gn}-disabled)`]:{[`${gn}-prev, ${gn}-next`]:{[`&:hover ${gn}-item-link`]:{backgroundColor:Vt.colorBgTextHover},[`&:active ${gn}-item-link`]:{backgroundColor:Vt.colorBgTextActive},[`&${gn}-disabled:hover ${gn}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${gn}-mini ${gn}-prev ${gn}-item-link,
|
|
|
&${gn}-mini ${gn}-next ${gn}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Vt.itemSizeSM,lineHeight:`${Vt.itemSizeSM}px`}},[`&${gn}-mini ${gn}-jump-prev, &${gn}-mini ${gn}-jump-next`]:{height:Vt.itemSizeSM,marginInlineEnd:0,lineHeight:`${Vt.itemSizeSM}px`},[`&${gn}-mini ${gn}-options`]:{marginInlineStart:Vt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Vt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Vt.itemSizeSM,lineHeight:`${Vt.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,cn.x0)(Vt)),{width:Vt.paginationMiniQuickJumperInputWidth,height:Vt.controlHeightSM})}}}},he=Vt=>{const{componentCls:gn}=Vt;return{[`
|
|
|
&${gn}-simple ${gn}-prev,
|
|
|
&${gn}-simple ${gn}-next
|
|
|
`]:{height:Vt.itemSizeSM,lineHeight:`${Vt.itemSizeSM}px`,verticalAlign:"top",[`${gn}-item-link`]:{height:Vt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Vt.colorBgTextHover},"&:active":{backgroundColor:Vt.colorBgTextActive},"&::after":{height:Vt.itemSizeSM,lineHeight:`${Vt.itemSizeSM}px`}}},[`&${gn}-simple ${gn}-simple-pager`]:{display:"inline-block",height:Vt.itemSizeSM,marginInlineEnd:Vt.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Vt.marginXS,padding:`0 ${Vt.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Vt.itemInputBg,border:`${Vt.lineWidth}px ${Vt.lineType} ${Vt.colorBorder}`,borderRadius:Vt.borderRadius,outline:"none",transition:`border-color ${Vt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Vt.colorPrimary},"&:focus":{borderColor:Vt.colorPrimaryHover,boxShadow:`${Vt.inputOutlineOffset}px 0 ${Vt.controlOutlineWidth}px ${Vt.controlOutline}`},"&[disabled]":{color:Vt.colorTextDisabled,backgroundColor:Vt.colorBgContainerDisabled,borderColor:Vt.colorBorder,cursor:"not-allowed"}}}}},be=Vt=>{const{componentCls:gn}=Vt;return{[`${gn}-jump-prev, ${gn}-jump-next`]:{outline:0,[`${gn}-item-container`]:{position:"relative",[`${gn}-item-link-icon`]:{color:Vt.colorPrimary,fontSize:Vt.fontSizeSM,opacity:0,transition:`all ${Vt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${gn}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Vt.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Vt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Vt.paginationEllipsisTextIndent,opacity:1,transition:`all ${Vt.motionDurationMid}`}},"&:hover":{[`${gn}-item-link-icon`]:{opacity:1},[`${gn}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${gn}-prev,
|
|
|
${gn}-jump-prev,
|
|
|
${gn}-jump-next
|
|
|
`]:{marginInlineEnd:Vt.marginXS},[`
|
|
|
${gn}-prev,
|
|
|
${gn}-next,
|
|
|
${gn}-jump-prev,
|
|
|
${gn}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:Vt.itemSize,height:Vt.itemSize,color:Vt.colorText,fontFamily:Vt.fontFamily,lineHeight:`${Vt.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Vt.borderRadius,cursor:"pointer",transition:`all ${Vt.motionDurationMid}`},[`${gn}-prev, ${gn}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Vt.colorText,cursor:"pointer",userSelect:"none"},[`${gn}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Vt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Vt.lineWidth}px ${Vt.lineType} transparent`,borderRadius:Vt.borderRadius,outline:"none",transition:`all ${Vt.motionDurationMid}`},[`&:hover ${gn}-item-link`]:{backgroundColor:Vt.colorBgTextHover},[`&:active ${gn}-item-link`]:{backgroundColor:Vt.colorBgTextActive},[`&${gn}-disabled:hover`]:{[`${gn}-item-link`]:{backgroundColor:"transparent"}}},[`${gn}-slash`]:{marginInlineEnd:Vt.paginationSlashMarginInlineEnd,marginInlineStart:Vt.paginationSlashMarginInlineStart},[`${gn}-options`]:{display:"inline-block",marginInlineStart:Vt.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Vt.controlHeight,marginInlineStart:Vt.marginXS,lineHeight:`${Vt.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,cn.ik)(Vt)),{width:Vt.controlHeightLG*1.25,height:Vt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Vt.marginXS,marginInlineEnd:Vt.marginXS})}}}},ge=Vt=>{const{componentCls:gn}=Vt;return{[`${gn}-item`]:{display:"inline-block",minWidth:Vt.itemSize,height:Vt.itemSize,marginInlineEnd:Vt.marginXS,fontFamily:Vt.fontFamily,lineHeight:`${Vt.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Vt.lineWidth}px ${Vt.lineType} transparent`,borderRadius:Vt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Vt.paginationItemPaddingInline}px`,color:Vt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${gn}-item-active)`]:{"&:hover":{transition:`all ${Vt.motionDurationMid}`,backgroundColor:Vt.colorBgTextHover},"&:active":{backgroundColor:Vt.colorBgTextActive}},"&-active":{fontWeight:Vt.fontWeightStrong,backgroundColor:Vt.itemActiveBg,borderColor:Vt.colorPrimary,a:{color:Vt.colorPrimary},"&:hover":{borderColor:Vt.colorPrimaryHover},"&:hover a":{color:Vt.colorPrimaryHover}}}}},se=Vt=>{const{componentCls:gn}=Vt;return{[gn]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Nn.Wf)(Vt)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${gn}-total-text`]:{display:"inline-block",height:Vt.itemSize,marginInlineEnd:Vt.marginXS,lineHeight:`${Vt.itemSize-2}px`,verticalAlign:"middle"}}),ge(Vt)),be(Vt)),he(Vt)),ve(Vt)),Ge(Vt)),{[`@media only screen and (max-width: ${Vt.screenLG}px)`]:{[`${gn}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Vt.screenSM}px)`]:{[`${gn}-options`]:{display:"none"}}}),[`&${Vt.componentCls}-rtl`]:{direction:"rtl"}}},Ye=Vt=>{const{componentCls:gn}=Vt;return{[`${gn}${gn}-disabled:not(${gn}-mini)`]:{"&, &:hover":{[`${gn}-item-link`]:{borderColor:Vt.colorBorder}},"&:focus-visible":{[`${gn}-item-link`]:{borderColor:Vt.colorBorder}},[`${gn}-item, ${gn}-item-link`]:{backgroundColor:Vt.colorBgContainerDisabled,borderColor:Vt.colorBorder,[`&:hover:not(${gn}-item-active)`]:{backgroundColor:Vt.colorBgContainerDisabled,borderColor:Vt.colorBorder,a:{color:Vt.colorTextDisabled}},[`&${gn}-item-active`]:{backgroundColor:Vt.itemActiveBgDisabled}},[`${gn}-prev, ${gn}-next`]:{"&:hover button":{backgroundColor:Vt.colorBgContainerDisabled,borderColor:Vt.colorBorder,color:Vt.colorTextDisabled},[`${gn}-item-link`]:{backgroundColor:Vt.colorBgContainerDisabled,borderColor:Vt.colorBorder}}},[`${gn}:not(${gn}-mini)`]:{[`${gn}-prev, ${gn}-next`]:{"&:hover button":{borderColor:Vt.colorPrimaryHover,backgroundColor:Vt.itemBg},[`${gn}-item-link`]:{backgroundColor:Vt.itemLinkBg,borderColor:Vt.colorBorder},[`&:hover ${gn}-item-link`]:{borderColor:Vt.colorPrimary,backgroundColor:Vt.itemBg,color:Vt.colorPrimary},[`&${gn}-disabled`]:{[`${gn}-item-link`]:{borderColor:Vt.colorBorder,color:Vt.colorTextDisabled}}},[`${gn}-item`]:{backgroundColor:Vt.itemBg,border:`${Vt.lineWidth}px ${Vt.lineType} ${Vt.colorBorder}`,[`&:hover:not(${gn}-item-active)`]:{borderColor:Vt.colorPrimary,backgroundColor:Vt.itemBg,a:{color:Vt.colorPrimary}},"&-active":{borderColor:Vt.colorPrimary}}}}},xt=Vt=>{const{componentCls:gn}=Vt;return{[`${gn}:not(${gn}-disabled)`]:{[`${gn}-item`]:Object.assign({},(0,Nn.Qy)(Vt)),[`${gn}-jump-prev, ${gn}-jump-next`]:{"&:focus-visible":Object.assign({[`${gn}-item-link-icon`]:{opacity:1},[`${gn}-item-ellipsis`]:{opacity:0}},(0,Nn.oN)(Vt))},[`${gn}-prev, ${gn}-next`]:{[`&:focus-visible ${gn}-item-link`]:Object.assign({},(0,Nn.oN)(Vt))}}}};var pn=(0,dr.Z)("Pagination",Vt=>{const gn=(0,En.TS)(Vt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Vt.marginXXS/2,paginationMiniQuickJumperInputWidth:Vt.controlHeightLG*1.1,paginationItemPaddingInline:Vt.marginXXS*1.5,paginationEllipsisLetterSpacing:Vt.marginXXS/2,paginationSlashMarginInlineStart:Vt.marginXXS,paginationSlashMarginInlineEnd:Vt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,cn.e5)(Vt),(0,cn.TM)(Vt));return[se(gn),xt(gn),Vt.wireframe&&Ye(gn)]},Vt=>({itemBg:Vt.colorBgContainer,itemSize:Vt.controlHeight,itemSizeSM:Vt.controlHeightSM,itemActiveBg:Vt.colorBgContainer,itemLinkBg:Vt.colorBgContainer,itemActiveColorDisabled:Vt.colorTextDisabled,itemActiveBgDisabled:Vt.controlItemBgActiveDisabled,itemInputBg:Vt.colorBgContainer,miniOptionsSizeChangerTop:0})),on=function(Vt,gn){var Fn={};for(var Tn in Vt)Object.prototype.hasOwnProperty.call(Vt,Tn)&&gn.indexOf(Tn)<0&&(Fn[Tn]=Vt[Tn]);if(Vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Tn=Object.getOwnPropertySymbols(Vt);qt<Tn.length;qt++)gn.indexOf(Tn[qt])<0&&Object.prototype.propertyIsEnumerable.call(Vt,Tn[qt])&&(Fn[Tn[qt]]=Vt[Tn[qt]]);return Fn},Qn=Vt=>{const{prefixCls:gn,selectPrefixCls:Fn,className:Tn,rootClassName:qt,style:Dr,size:Ut,locale:nn,selectComponentClass:Nr,responsive:cr,showSizeChanger:Fr}=Vt,aa=on(Vt,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Jn}=(0,Mt.Z)(cr),{getPrefixCls:Ia,direction:Ta,pagination:ti={}}=fe.useContext(An.E_),Jr=Ia("pagination",gn),[ja,Si]=pn(Jr),$a=Fr!=null?Fr:ti.showSizeChanger,ji=fe.useMemo(()=>{const jr=fe.createElement("span",{className:`${Jr}-item-ellipsis`},"\u2022\u2022\u2022"),hn=fe.createElement("button",{className:`${Jr}-item-link`,type:"button",tabIndex:-1},Ta==="rtl"?fe.createElement(Pe.Z,null):fe.createElement(me.Z,null)),It=fe.createElement("button",{className:`${Jr}-item-link`,type:"button",tabIndex:-1},Ta==="rtl"?fe.createElement(me.Z,null):fe.createElement(Pe.Z,null)),Zt=fe.createElement("a",{className:`${Jr}-item-link`},fe.createElement("div",{className:`${Jr}-item-container`},Ta==="rtl"?fe.createElement(Se.Z,{className:`${Jr}-item-link-icon`}):fe.createElement(de,{className:`${Jr}-item-link-icon`}),jr)),Gt=fe.createElement("a",{className:`${Jr}-item-link`},fe.createElement("div",{className:`${Jr}-item-container`},Ta==="rtl"?fe.createElement(de,{className:`${Jr}-item-link-icon`}):fe.createElement(Se.Z,{className:`${Jr}-item-link-icon`}),jr));return{prevIcon:hn,nextIcon:It,jumpPrevIcon:Zt,jumpNextIcon:Gt}},[Ta,Jr]),[Ni]=(0,Kt.Z)("Pagination",At.Z),Ln=Object.assign(Object.assign({},Ni),nn),Pn=(0,jt.Z)(Ut),rr=Pn==="small"||!!(Jn&&!Pn&&cr),or=Ia("select",Fn),$r=ue()({[`${Jr}-mini`]:rr,[`${Jr}-rtl`]:Ta==="rtl"},ti==null?void 0:ti.className,Tn,qt,Si),Br=Object.assign(Object.assign({},ti==null?void 0:ti.style),Dr);return ja(fe.createElement(Ne,Object.assign({},ji,aa,{style:Br,prefixCls:Jr,selectPrefixCls:or,className:$r,selectComponentClass:Nr||(rr?wn:vn),locale:Ln,showSizeChanger:$a})))},_n=Qn},38703:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return Dr}});var ne=ee(67294),fe=ee(87725),De=ee(18299),qe=ee(16646),we=ee(73475),ke=ee(94184),de=ee.n(ke),Se=ee(10366),me=ee(53124),Pe=ee(87462),rt=ee(1413),ue=ee(45987),Ue={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},mt=function(){var nn=(0,ne.useRef)([]),Nr=(0,ne.useRef)(null);return(0,ne.useEffect)(function(){var cr=Date.now(),Fr=!1;nn.current.forEach(function(aa){if(aa){Fr=!0;var Jn=aa.style;Jn.transitionDuration=".3s, .3s, .3s, .06s",Nr.current&&cr-Nr.current<100&&(Jn.transitionDuration="0s, 0s")}}),Fr&&(Nr.current=Date.now())}),nn.current},ot=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],vt=function(nn){var Nr=(0,rt.Z)((0,rt.Z)({},Ue),nn),cr=Nr.className,Fr=Nr.percent,aa=Nr.prefixCls,Jn=Nr.strokeColor,Ia=Nr.strokeLinecap,Ta=Nr.strokeWidth,ti=Nr.style,Jr=Nr.trailColor,ja=Nr.trailWidth,Si=Nr.transition,$a=(0,ue.Z)(Nr,ot);delete $a.gapPosition;var ji=Array.isArray(Fr)?Fr:[Fr],Ni=Array.isArray(Jn)?Jn:[Jn],Ln=mt(),Pn=Ta/2,rr=100-Ta/2,or="M ".concat(Ia==="round"?Pn:0,",").concat(Pn,`
|
|
|
L `).concat(Ia==="round"?rr:100,",").concat(Pn),$r="0 0 100 ".concat(Ta),Br=0;return ne.createElement("svg",(0,Pe.Z)({className:de()("".concat(aa,"-line"),cr),viewBox:$r,preserveAspectRatio:"none",style:ti},$a),ne.createElement("path",{className:"".concat(aa,"-line-trail"),d:or,strokeLinecap:Ia,stroke:Jr,strokeWidth:ja||Ta,fillOpacity:"0"}),ji.map(function(jr,hn){var It=1;switch(Ia){case"round":It=1-Ta/100;break;case"square":It=1-Ta/2/100;break;default:It=1;break}var Zt={strokeDasharray:"".concat(jr*It,"px, 100px"),strokeDashoffset:"-".concat(Br,"px"),transition:Si||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Gt=Ni[hn]||Ni[Ni.length-1];return Br+=jr,ne.createElement("path",{key:hn,className:"".concat(aa,"-line-path"),d:or,strokeLinecap:Ia,stroke:Gt,strokeWidth:Ta,fillOpacity:"0",ref:function(kt){Ln[hn]=kt},style:Zt})}))},Ee=vt,wt=ee(71002),Tt=ee(97685),$e=ee(98924),ut=0,ye=(0,$e.Z)();function ce(){var Ut;return ye?(Ut=ut,ut+=1):Ut="TEST_OR_SSR",Ut}var Xe=function(Ut){var nn=ne.useState(),Nr=(0,Tt.Z)(nn,2),cr=Nr[0],Fr=Nr[1];return ne.useEffect(function(){Fr("rc_progress_".concat(ce()))},[]),Ut||cr},et=function(nn){var Nr=nn.bg,cr=nn.children;return ne.createElement("div",{style:{width:"100%",height:"100%",background:Nr}},cr)};function st(Ut,nn){return Object.keys(Ut).map(function(Nr){var cr=parseFloat(Nr),Fr="".concat(Math.floor(cr*nn),"%");return"".concat(Ut[Nr]," ").concat(Fr)})}var ft=ne.forwardRef(function(Ut,nn){var Nr=Ut.prefixCls,cr=Ut.color,Fr=Ut.gradientId,aa=Ut.radius,Jn=Ut.style,Ia=Ut.ptg,Ta=Ut.strokeLinecap,ti=Ut.strokeWidth,Jr=Ut.size,ja=Ut.gapDegree,Si=cr&&(0,wt.Z)(cr)==="object",$a=Si?"#FFF":void 0,ji=Jr/2,Ni=ne.createElement("circle",{className:"".concat(Nr,"-circle-path"),r:aa,cx:ji,cy:ji,stroke:$a,strokeLinecap:Ta,strokeWidth:ti,opacity:Ia===0?0:1,style:Jn,ref:nn});if(!Si)return Ni;var Ln="".concat(Fr,"-conic"),Pn=ja?"".concat(180+ja/2,"deg"):"0deg",rr=st(cr,(360-ja)/360),or=st(cr,1),$r="conic-gradient(from ".concat(Pn,", ").concat(rr.join(", "),")"),Br="linear-gradient(to ".concat(ja?"bottom":"top",", ").concat(or.join(", "),")");return ne.createElement(ne.Fragment,null,ne.createElement("mask",{id:Ln},Ni),ne.createElement("foreignObject",{x:0,y:0,width:Jr,height:Jr,mask:"url(#".concat(Ln,")")},ne.createElement(et,{bg:Br},ne.createElement(et,{bg:$r}))))}),Re=ft,Be=100,gt=function(nn,Nr,cr,Fr,aa,Jn,Ia,Ta,ti,Jr){var ja=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Si=cr/100*360*((360-Jn)/360),$a=Jn===0?0:{bottom:0,top:180,left:90,right:-90}[Ia],ji=(100-Fr)/100*Nr;ti==="round"&&Fr!==100&&(ji+=Jr/2,ji>=Nr&&(ji=Nr-.01));var Ni=Be/2;return{stroke:typeof Ta=="string"?Ta:void 0,strokeDasharray:"".concat(Nr,"px ").concat(nn),strokeDashoffset:ji+ja,transform:"rotate(".concat(aa+Si+$a,"deg)"),transformOrigin:"".concat(Ni,"px ").concat(Ni,"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 ct(Ut){var nn=Ut!=null?Ut:[];return Array.isArray(nn)?nn:[nn]}var nt=function(nn){var Nr=(0,rt.Z)((0,rt.Z)({},Ue),nn),cr=Nr.id,Fr=Nr.prefixCls,aa=Nr.steps,Jn=Nr.strokeWidth,Ia=Nr.trailWidth,Ta=Nr.gapDegree,ti=Ta===void 0?0:Ta,Jr=Nr.gapPosition,ja=Nr.trailColor,Si=Nr.strokeLinecap,$a=Nr.style,ji=Nr.className,Ni=Nr.strokeColor,Ln=Nr.percent,Pn=(0,ue.Z)(Nr,ze),rr=Be/2,or=Xe(cr),$r="".concat(or,"-gradient"),Br=rr-Jn/2,jr=Math.PI*2*Br,hn=ti>0?90+ti/2:-90,It=jr*((360-ti)/360),Zt=(0,wt.Z)(aa)==="object"?aa:{count:aa,space:2},Gt=Zt.count,Gn=Zt.space,kt=ct(Ln),mn=ct(Ni),Zn=mn.find(function(ma){return ma&&(0,wt.Z)(ma)==="object"}),Mn=Zn&&(0,wt.Z)(Zn)==="object",ar=Mn?"butt":Si,hr=gt(jr,It,0,100,hn,ti,Jr,ja,ar,Jn),dn=mt(),za=function(){var Sa=0;return kt.map(function(Aa,ka){var Er=mn[ka]||mn[mn.length-1],Gr=gt(jr,It,Sa,Aa,hn,ti,Jr,Er,ar,Jn);return Sa+=Aa,ne.createElement(Re,{key:ka,color:Er,ptg:Aa,radius:Br,prefixCls:Fr,gradientId:$r,style:Gr,strokeLinecap:ar,strokeWidth:Jn,gapDegree:ti,ref:function(Ii){dn[ka]=Ii},size:Be})}).reverse()},pa=function(){var Sa=Math.round(Gt*(kt[0]/100)),Aa=100/Gt,ka=0;return new Array(Gt).fill(null).map(function(Er,Gr){var Zi=Gr<=Sa-1?mn[0]:ja,Ii=Zi&&(0,wt.Z)(Zi)==="object"?"url(#".concat($r,")"):void 0,ni=gt(jr,It,ka,Aa,hn,ti,Jr,Zi,"butt",Jn,Gn);return ka+=(It-ni.strokeDashoffset+Gn)*100/It,ne.createElement("circle",{key:Gr,className:"".concat(Fr,"-circle-path"),r:Br,cx:rr,cy:rr,stroke:Ii,strokeWidth:Jn,opacity:1,style:ni,ref:function(io){dn[Gr]=io}})})};return ne.createElement("svg",(0,Pe.Z)({className:de()("".concat(Fr,"-circle"),ji),viewBox:"0 0 ".concat(Be," ").concat(Be),style:$a,id:cr,role:"presentation"},Pn),!Gt&&ne.createElement("circle",{className:"".concat(Fr,"-circle-trail"),r:Br,cx:rr,cy:rr,stroke:ja,strokeLinecap:ar,strokeWidth:Ia||Jn,style:hr}),Gt?pa():za())},Ot=nt,Rt={Line:Ee,Circle:Ot},an=ee(83062),ht=ee(47448);function Ne(Ut){return!Ut||Ut<0?0:Ut>100?100:Ut}function At(Ut){let{success:nn,successPercent:Nr}=Ut,cr=Nr;return nn&&"progress"in nn&&(cr=nn.progress),nn&&"percent"in nn&&(cr=nn.percent),cr}const An=Ut=>{let{percent:nn,success:Nr,successPercent:cr}=Ut;const Fr=Ne(At({success:Nr,successPercent:cr}));return[Fr,Ne(Ne(nn)-Fr)]},jt=Ut=>{let{success:nn={},strokeColor:Nr}=Ut;const{strokeColor:cr}=nn;return[cr||ht.presetPrimaryColors.green,Nr||null]},Mt=(Ut,nn,Nr)=>{var cr,Fr,aa,Jn;let Ia=-1,Ta=-1;if(nn==="step"){const ti=Nr.steps,Jr=Nr.strokeWidth;typeof Ut=="string"||typeof Ut=="undefined"?(Ia=Ut==="small"?2:14,Ta=Jr!=null?Jr:8):typeof Ut=="number"?[Ia,Ta]=[Ut,Ut]:[Ia=14,Ta=8]=Ut,Ia*=ti}else if(nn==="line"){const ti=Nr==null?void 0:Nr.strokeWidth;typeof Ut=="string"||typeof Ut=="undefined"?Ta=ti||(Ut==="small"?6:8):typeof Ut=="number"?[Ia,Ta]=[Ut,Ut]:[Ia=-1,Ta=8]=Ut}else(nn==="circle"||nn==="dashboard")&&(typeof Ut=="string"||typeof Ut=="undefined"?[Ia,Ta]=Ut==="small"?[60,60]:[120,120]:typeof Ut=="number"?[Ia,Ta]=[Ut,Ut]:(Ia=(Fr=(cr=Ut[0])!==null&&cr!==void 0?cr:Ut[1])!==null&&Fr!==void 0?Fr:120,Ta=(Jn=(aa=Ut[0])!==null&&aa!==void 0?aa:Ut[1])!==null&&Jn!==void 0?Jn:120));return[Ia,Ta]},Kt=3,sn=Ut=>Kt/Ut*100;var vn=Ut=>{const{prefixCls:nn,trailColor:Nr=null,strokeLinecap:cr="round",gapPosition:Fr,gapDegree:aa,width:Jn=120,type:Ia,children:Ta,success:ti,size:Jr=Jn}=Ut,[ja,Si]=Mt(Jr,"circle");let{strokeWidth:$a}=Ut;$a===void 0&&($a=Math.max(sn(ja),6));const ji={width:ja,height:Si,fontSize:ja*.15+6},Ni=ne.useMemo(()=>{if(aa||aa===0)return aa;if(Ia==="dashboard")return 75},[aa,Ia]),Ln=Fr||Ia==="dashboard"&&"bottom"||void 0,Pn=Object.prototype.toString.call(Ut.strokeColor)==="[object Object]",rr=jt({success:ti,strokeColor:Ut.strokeColor}),or=de()(`${nn}-inner`,{[`${nn}-circle-gradient`]:Pn}),$r=ne.createElement(Ot,{percent:An(Ut),strokeWidth:$a,trailWidth:$a,strokeColor:rr,strokeLinecap:cr,trailColor:Nr,prefixCls:nn,gapDegree:Ni,gapPosition:Ln});return ne.createElement("div",{className:or,style:ji},ja<=20?ne.createElement(an.Z,{title:Ta},ne.createElement("span",null,$r)):ne.createElement(ne.Fragment,null,$r,Ta))},cn=function(Ut,nn){var Nr={};for(var cr in Ut)Object.prototype.hasOwnProperty.call(Ut,cr)&&nn.indexOf(cr)<0&&(Nr[cr]=Ut[cr]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fr=0,cr=Object.getOwnPropertySymbols(Ut);Fr<cr.length;Fr++)nn.indexOf(cr[Fr])<0&&Object.prototype.propertyIsEnumerable.call(Ut,cr[Fr])&&(Nr[cr[Fr]]=Ut[cr[Fr]]);return Nr};const Nn=Ut=>{let nn=[];return Object.keys(Ut).forEach(Nr=>{const cr=parseFloat(Nr.replace(/%/g,""));isNaN(cr)||nn.push({key:cr,value:Ut[Nr]})}),nn=nn.sort((Nr,cr)=>Nr.key-cr.key),nn.map(Nr=>{let{key:cr,value:Fr}=Nr;return`${Fr} ${cr}%`}).join(", ")},dr=(Ut,nn)=>{const{from:Nr=ht.presetPrimaryColors.blue,to:cr=ht.presetPrimaryColors.blue,direction:Fr=nn==="rtl"?"to left":"to right"}=Ut,aa=cn(Ut,["from","to","direction"]);if(Object.keys(aa).length!==0){const Jn=Nn(aa);return{backgroundImage:`linear-gradient(${Fr}, ${Jn})`}}return{backgroundImage:`linear-gradient(${Fr}, ${Nr}, ${cr})`}};var Ge=Ut=>{const{prefixCls:nn,direction:Nr,percent:cr,size:Fr,strokeWidth:aa,strokeColor:Jn,strokeLinecap:Ia="round",children:Ta,trailColor:ti=null,success:Jr}=Ut,ja=Jn&&typeof Jn!="string"?dr(Jn,Nr):{backgroundColor:Jn},Si=Ia==="square"||Ia==="butt"?0:void 0,$a={backgroundColor:ti||void 0,borderRadius:Si},ji=Fr!=null?Fr:[-1,aa||(Fr==="small"?6:8)],[Ni,Ln]=Mt(ji,"line",{strokeWidth:aa}),Pn=Object.assign({width:`${Ne(cr)}%`,height:Ln,borderRadius:Si},ja),rr=At(Ut),or={width:`${Ne(rr)}%`,height:Ln,borderRadius:Si,backgroundColor:Jr==null?void 0:Jr.strokeColor},$r={width:Ni<0?"100%":Ni,height:Ln};return ne.createElement(ne.Fragment,null,ne.createElement("div",{className:`${nn}-outer`,style:$r},ne.createElement("div",{className:`${nn}-inner`,style:$a},ne.createElement("div",{className:`${nn}-bg`,style:Pn}),rr!==void 0?ne.createElement("div",{className:`${nn}-success-bg`,style:or}):null)),Ta)},he=Ut=>{const{size:nn,steps:Nr,percent:cr=0,strokeWidth:Fr=8,strokeColor:aa,trailColor:Jn=null,prefixCls:Ia,children:Ta}=Ut,ti=Math.round(Nr*(cr/100)),Jr=nn==="small"?2:14,ja=nn!=null?nn:[Jr,Fr],[Si,$a]=Mt(ja,"step",{steps:Nr,strokeWidth:Fr}),ji=Si/Nr,Ni=new Array(Nr);for(let Ln=0;Ln<Nr;Ln++){const Pn=Array.isArray(aa)?aa[Ln]:aa;Ni[Ln]=ne.createElement("div",{key:Ln,className:de()(`${Ia}-steps-item`,{[`${Ia}-steps-item-active`]:Ln<=ti-1}),style:{backgroundColor:Ln<=ti-1?Pn:Jn,width:ji,height:$a}})}return ne.createElement("div",{className:`${Ia}-steps-outer`},Ni,Ta)},be=ee(45930),ge=ee(14747),se=ee(67968),Ye=ee(45503);const xt=Ut=>{const nn=Ut?"100%":"-100%";return new be.Keyframes(`antProgress${Ut?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${nn}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${nn}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},pn=Ut=>{const{componentCls:nn,iconCls:Nr}=Ut;return{[nn]:Object.assign(Object.assign({},(0,ge.Wf)(Ut)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Ut.fontSize,marginInlineEnd:Ut.marginXS,marginBottom:Ut.marginXS},[`${nn}-outer`]:{display:"inline-block",width:"100%"},[`&${nn}-show-info`]:{[`${nn}-outer`]:{marginInlineEnd:`calc(-2em - ${Ut.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Ut.paddingXS}px)`}},[`${nn}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Ut.remainingColor,borderRadius:Ut.lineBorderRadius},[`${nn}-inner:not(${nn}-circle-gradient)`]:{[`${nn}-circle-path`]:{stroke:Ut.defaultColor}},[`${nn}-success-bg, ${nn}-bg`]:{position:"relative",backgroundColor:Ut.defaultColor,borderRadius:Ut.lineBorderRadius,transition:`all ${Ut.motionDurationSlow} ${Ut.motionEaseInOutCirc}`},[`${nn}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Ut.colorSuccess},[`${nn}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Ut.marginXS,color:Ut.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Nr]:{fontSize:Ut.fontSize}},[`&${nn}-status-active`]:{[`${nn}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Ut.colorBgContainer,borderRadius:Ut.lineBorderRadius,opacity:0,animationName:xt(),animationDuration:Ut.progressActiveMotionDuration,animationTimingFunction:Ut.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${nn}-rtl${nn}-status-active`]:{[`${nn}-bg::before`]:{animationName:xt(!0)}},[`&${nn}-status-exception`]:{[`${nn}-bg`]:{backgroundColor:Ut.colorError},[`${nn}-text`]:{color:Ut.colorError}},[`&${nn}-status-exception ${nn}-inner:not(${nn}-circle-gradient)`]:{[`${nn}-circle-path`]:{stroke:Ut.colorError}},[`&${nn}-status-success`]:{[`${nn}-bg`]:{backgroundColor:Ut.colorSuccess},[`${nn}-text`]:{color:Ut.colorSuccess}},[`&${nn}-status-success ${nn}-inner:not(${nn}-circle-gradient)`]:{[`${nn}-circle-path`]:{stroke:Ut.colorSuccess}}})}},on=Ut=>{const{componentCls:nn,iconCls:Nr}=Ut;return{[nn]:{[`${nn}-circle-trail`]:{stroke:Ut.remainingColor},[`&${nn}-circle ${nn}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${nn}-circle ${nn}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Ut.circleTextColor,fontSize:Ut.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Nr]:{fontSize:`${Ut.fontSize/Ut.fontSizeSM}em`}},[`${nn}-circle&-status-exception`]:{[`${nn}-text`]:{color:Ut.colorError}},[`${nn}-circle&-status-success`]:{[`${nn}-text`]:{color:Ut.colorSuccess}}},[`${nn}-inline-circle`]:{lineHeight:1,[`${nn}-inner`]:{verticalAlign:"bottom"}}}},In=Ut=>{const{componentCls:nn}=Ut;return{[nn]:{[`${nn}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Ut.progressStepMinWidth,marginInlineEnd:Ut.progressStepMarginInlineEnd,backgroundColor:Ut.remainingColor,transition:`all ${Ut.motionDurationSlow}`,"&-active":{backgroundColor:Ut.defaultColor}}}}}},Qn=Ut=>{const{componentCls:nn,iconCls:Nr}=Ut;return{[nn]:{[`${nn}-small&-line, ${nn}-small&-line ${nn}-text ${Nr}`]:{fontSize:Ut.fontSizeSM}}}};var _n=(0,se.Z)("Progress",Ut=>{const nn=Ut.marginXXS/2,Nr=(0,Ye.TS)(Ut,{progressStepMarginInlineEnd:nn,progressStepMinWidth:nn,progressActiveMotionDuration:"2.4s"});return[pn(Nr),on(Nr),In(Nr),Qn(Nr)]},Ut=>({circleTextColor:Ut.colorText,defaultColor:Ut.colorInfo,remainingColor:Ut.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Vt=function(Ut,nn){var Nr={};for(var cr in Ut)Object.prototype.hasOwnProperty.call(Ut,cr)&&nn.indexOf(cr)<0&&(Nr[cr]=Ut[cr]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fr=0,cr=Object.getOwnPropertySymbols(Ut);Fr<cr.length;Fr++)nn.indexOf(cr[Fr])<0&&Object.prototype.propertyIsEnumerable.call(Ut,cr[Fr])&&(Nr[cr[Fr]]=Ut[cr[Fr]]);return Nr};const gn=null,Fn=["normal","exception","active","success"];var qt=ne.forwardRef((Ut,nn)=>{const{prefixCls:Nr,className:cr,rootClassName:Fr,steps:aa,strokeColor:Jn,percent:Ia=0,size:Ta="default",showInfo:ti=!0,type:Jr="line",status:ja,format:Si,style:$a}=Ut,ji=Vt(Ut,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Ni=ne.useMemo(()=>{var kt,mn;const Zn=At(Ut);return parseInt(Zn!==void 0?(kt=Zn!=null?Zn:0)===null||kt===void 0?void 0:kt.toString():(mn=Ia!=null?Ia:0)===null||mn===void 0?void 0:mn.toString(),10)},[Ia,Ut.success,Ut.successPercent]),Ln=ne.useMemo(()=>!Fn.includes(ja)&&Ni>=100?"success":ja||"normal",[ja,Ni]),{getPrefixCls:Pn,direction:rr,progress:or}=ne.useContext(me.E_),$r=Pn("progress",Nr),[Br,jr]=_n($r),hn=ne.useMemo(()=>{if(!ti)return null;const kt=At(Ut);let mn;const Zn=Si||(ar=>`${ar}%`),Mn=Jr==="line";return Si||Ln!=="exception"&&Ln!=="success"?mn=Zn(Ne(Ia),Ne(kt)):Ln==="exception"?mn=Mn?ne.createElement(qe.Z,null):ne.createElement(we.Z,null):Ln==="success"&&(mn=Mn?ne.createElement(fe.Z,null):ne.createElement(De.Z,null)),ne.createElement("span",{className:`${$r}-text`,title:typeof mn=="string"?mn:void 0},mn)},[ti,Ia,Ni,Ln,Jr,$r,Si]),It=Array.isArray(Jn)?Jn[0]:Jn,Zt=typeof Jn=="string"||Array.isArray(Jn)?Jn:void 0;let Gt;Jr==="line"?Gt=aa?ne.createElement(he,Object.assign({},Ut,{strokeColor:Zt,prefixCls:$r,steps:aa}),hn):ne.createElement(Ge,Object.assign({},Ut,{strokeColor:It,prefixCls:$r,direction:rr}),hn):(Jr==="circle"||Jr==="dashboard")&&(Gt=ne.createElement(vn,Object.assign({},Ut,{strokeColor:It,prefixCls:$r,progressStatus:Ln}),hn));const Gn=de()($r,`${$r}-status-${Ln}`,`${$r}-${Jr==="dashboard"&&"circle"||aa&&"steps"||Jr}`,{[`${$r}-inline-circle`]:Jr==="circle"&&Mt(Ta,"circle")[0]<=20,[`${$r}-show-info`]:ti,[`${$r}-${Ta}`]:typeof Ta=="string",[`${$r}-rtl`]:rr==="rtl"},or==null?void 0:or.className,cr,Fr,jr);return Br(ne.createElement("div",Object.assign({ref:nn,style:Object.assign(Object.assign({},or==null?void 0:or.style),$a),className:Gn,role:"progressbar","aria-valuenow":Ni},(0,Se.Z)(ji,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Gt))}),Dr=qt},78045:function(Hn,ln,ee){"use strict";ee.d(ln,{ZP:function(){return ht}});var ne=ee(94184),fe=ee.n(ne),De=ee(5663),qe=ee(1337),we=ee(67294),ke=ee(53124),de=ee(98675);const Se=we.createContext(null),me=Se.Provider;var Pe=Se;const rt=we.createContext(null),ue=rt.Provider;var Ue=ee(95860),mt=ee(17799),ot=ee(98866),vt=ee(65223),Ee=ee(14747),wt=ee(67968),Tt=ee(45503);const $e=Ne=>{const{componentCls:At,antCls:An}=Ne,jt=`${At}-group`;return{[jt]:Object.assign(Object.assign({},(0,Ee.Wf)(Ne)),{display:"inline-block",fontSize:0,[`&${jt}-rtl`]:{direction:"rtl"},[`${An}-badge ${An}-badge-count`]:{zIndex:1},[`> ${An}-badge:not(:first-child) > ${An}-button-wrapper`]:{borderInlineStart:"none"}})}},ut=Ne=>{const{componentCls:At,wrapperMarginInlineEnd:An,colorPrimary:jt,radioSize:Mt,motionDurationSlow:Kt,motionDurationMid:sn,motionEaseInOutCirc:wn,colorBgContainer:vn,colorBorder:cn,lineWidth:Nn,dotSize:dr,colorBgContainerDisabled:En,colorTextDisabled:Ge,paddingXS:ve,dotColorDisabled:he,lineType:be,radioDotDisabledSize:ge,wireframe:se,colorWhite:Ye}=Ne,xt=`${At}-inner`;return{[`${At}-wrapper`]:Object.assign(Object.assign({},(0,Ee.Wf)(Ne)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:An,cursor:"pointer",[`&${At}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:Ne.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${At}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Nn}px ${be} ${jt}`,borderRadius:"50%",visibility:"hidden",content:'""'},[At]:Object.assign(Object.assign({},(0,Ee.Wf)(Ne)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${At}-wrapper:hover &,
|
|
|
&:hover ${xt}`]:{borderColor:jt},[`${At}-input:focus-visible + ${xt}`]:Object.assign({},(0,Ee.oN)(Ne)),[`${At}:hover::after, ${At}-wrapper:hover &::after`]:{visibility:"visible"},[`${At}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Mt,height:Mt,marginBlockStart:Mt/-2,marginInlineStart:Mt/-2,backgroundColor:se?jt:Ye,borderBlockStart:0,borderInlineStart:0,borderRadius:Mt,transform:"scale(0)",opacity:0,transition:`all ${Kt} ${wn}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Mt,height:Mt,backgroundColor:vn,borderColor:cn,borderStyle:"solid",borderWidth:Nn,borderRadius:"50%",transition:`all ${sn}`},[`${At}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${At}-checked`]:{[xt]:{borderColor:jt,backgroundColor:se?vn:jt,"&::after":{transform:`scale(${dr/Mt})`,opacity:1,transition:`all ${Kt} ${wn}`}}},[`${At}-disabled`]:{cursor:"not-allowed",[xt]:{backgroundColor:En,borderColor:cn,cursor:"not-allowed","&::after":{backgroundColor:he}},[`${At}-input`]:{cursor:"not-allowed"},[`${At}-disabled + span`]:{color:Ge,cursor:"not-allowed"},[`&${At}-checked`]:{[xt]:{"&::after":{transform:`scale(${ge/Mt})`}}}},[`span${At} + *`]:{paddingInlineStart:ve,paddingInlineEnd:ve}})}},ye=Ne=>{const{buttonColor:At,controlHeight:An,componentCls:jt,lineWidth:Mt,lineType:Kt,colorBorder:sn,motionDurationSlow:wn,motionDurationMid:vn,buttonPaddingInline:cn,fontSize:Nn,buttonBg:dr,fontSizeLG:En,controlHeightLG:Ge,controlHeightSM:ve,paddingXS:he,borderRadius:be,borderRadiusSM:ge,borderRadiusLG:se,buttonCheckedBg:Ye,buttonSolidCheckedColor:xt,colorTextDisabled:pn,colorBgContainerDisabled:on,buttonCheckedBgDisabled:In,buttonCheckedColorDisabled:Qn,colorPrimary:_n,colorPrimaryHover:Vt,colorPrimaryActive:gn,buttonSolidCheckedBg:Fn,buttonSolidCheckedHoverBg:Tn,buttonSolidCheckedActiveBg:qt}=Ne;return{[`${jt}-button-wrapper`]:{position:"relative",display:"inline-block",height:An,margin:0,paddingInline:cn,paddingBlock:0,color:At,fontSize:Nn,lineHeight:`${An-Mt*2}px`,background:dr,border:`${Mt}px ${Kt} ${sn}`,borderBlockStartWidth:Mt+.02,borderInlineStartWidth:0,borderInlineEndWidth:Mt,cursor:"pointer",transition:[`color ${vn}`,`background ${vn}`,`box-shadow ${vn}`].join(","),a:{color:At},[`> ${jt}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-Mt,insetInlineStart:-Mt,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:Mt,paddingInline:0,backgroundColor:sn,transition:`background-color ${wn}`,content:'""'}},"&:first-child":{borderInlineStart:`${Mt}px ${Kt} ${sn}`,borderStartStartRadius:be,borderEndStartRadius:be},"&:last-child":{borderStartEndRadius:be,borderEndEndRadius:be},"&:first-child:last-child":{borderRadius:be},[`${jt}-group-large &`]:{height:Ge,fontSize:En,lineHeight:`${Ge-Mt*2}px`,"&:first-child":{borderStartStartRadius:se,borderEndStartRadius:se},"&:last-child":{borderStartEndRadius:se,borderEndEndRadius:se}},[`${jt}-group-small &`]:{height:ve,paddingInline:he-Mt,paddingBlock:0,lineHeight:`${ve-Mt*2}px`,"&:first-child":{borderStartStartRadius:ge,borderEndStartRadius:ge},"&:last-child":{borderStartEndRadius:ge,borderEndEndRadius:ge}},"&:hover":{position:"relative",color:_n},"&:has(:focus-visible)":Object.assign({},(0,Ee.oN)(Ne)),[`${jt}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${jt}-button-wrapper-disabled)`]:{zIndex:1,color:_n,background:Ye,borderColor:_n,"&::before":{backgroundColor:_n},"&:first-child":{borderColor:_n},"&:hover":{color:Vt,borderColor:Vt,"&::before":{backgroundColor:Vt}},"&:active":{color:gn,borderColor:gn,"&::before":{backgroundColor:gn}}},[`${jt}-group-solid &-checked:not(${jt}-button-wrapper-disabled)`]:{color:xt,background:Fn,borderColor:Fn,"&:hover":{color:xt,background:Tn,borderColor:Tn},"&:active":{color:xt,background:qt,borderColor:qt}},"&-disabled":{color:pn,backgroundColor:on,borderColor:sn,cursor:"not-allowed","&:first-child, &:hover":{color:pn,backgroundColor:on,borderColor:sn}},[`&-disabled${jt}-button-wrapper-checked`]:{color:Qn,backgroundColor:In,borderColor:sn,boxShadow:"none"}}}},ce=Ne=>Ne-4*2;var Xe=(0,wt.Z)("Radio",Ne=>{const{controlOutline:At,controlOutlineWidth:An,radioSize:jt}=Ne,Mt=`0 0 0 ${An}px ${At}`,Kt=Mt,sn=ce(jt),wn=(0,Tt.TS)(Ne,{radioDotDisabledSize:sn,radioFocusShadow:Mt,radioButtonFocusShadow:Kt});return[$e(wn),ut(wn),ye(wn)]},Ne=>{const{wireframe:At,padding:An,marginXS:jt,lineWidth:Mt,fontSizeLG:Kt,colorText:sn,colorBgContainer:wn,colorTextDisabled:vn,controlItemBgActiveDisabled:cn,colorTextLightSolid:Nn,colorPrimary:dr,colorPrimaryHover:En,colorPrimaryActive:Ge}=Ne,ve=4,he=Kt,be=At?ce(he):he-(ve+Mt)*2;return{radioSize:he,dotSize:be,dotColorDisabled:vn,buttonSolidCheckedColor:Nn,buttonSolidCheckedBg:dr,buttonSolidCheckedHoverBg:En,buttonSolidCheckedActiveBg:Ge,buttonBg:wn,buttonCheckedBg:wn,buttonColor:sn,buttonCheckedBgDisabled:cn,buttonCheckedColorDisabled:vn,buttonPaddingInline:An-Mt,wrapperMarginInlineEnd:jt}}),et=ee(45353),st=ee(92429),ft=function(Ne,At){var An={};for(var jt in Ne)Object.prototype.hasOwnProperty.call(Ne,jt)&&At.indexOf(jt)<0&&(An[jt]=Ne[jt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,jt=Object.getOwnPropertySymbols(Ne);Mt<jt.length;Mt++)At.indexOf(jt[Mt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,jt[Mt])&&(An[jt[Mt]]=Ne[jt[Mt]]);return An};const Re=(Ne,At)=>{var An,jt;const Mt=we.useContext(Pe),Kt=we.useContext(rt),{getPrefixCls:sn,direction:wn,radio:vn}=we.useContext(ke.E_),cn=we.useRef(null),Nn=(0,mt.sQ)(At,cn),{isFormItemInput:dr}=we.useContext(vt.aM),En=gn=>{var Fn,Tn;(Fn=Ne.onChange)===null||Fn===void 0||Fn.call(Ne,gn),(Tn=Mt==null?void 0:Mt.onChange)===null||Tn===void 0||Tn.call(Mt,gn)},{prefixCls:Ge,className:ve,rootClassName:he,children:be,style:ge}=Ne,se=ft(Ne,["prefixCls","className","rootClassName","children","style"]),Ye=sn("radio",Ge),xt=((Mt==null?void 0:Mt.optionType)||Kt)==="button",pn=xt?`${Ye}-button`:Ye,[on,In]=Xe(Ye),Qn=Object.assign({},se),_n=we.useContext(ot.Z);Mt&&(Qn.name=Mt.name,Qn.onChange=En,Qn.checked=Ne.value===Mt.value,Qn.disabled=(An=Qn.disabled)!==null&&An!==void 0?An:Mt.disabled),Qn.disabled=(jt=Qn.disabled)!==null&&jt!==void 0?jt:_n;const Vt=fe()(`${pn}-wrapper`,{[`${pn}-wrapper-checked`]:Qn.checked,[`${pn}-wrapper-disabled`]:Qn.disabled,[`${pn}-wrapper-rtl`]:wn==="rtl",[`${pn}-wrapper-in-form-item`]:dr},vn==null?void 0:vn.className,ve,he,In);return on(we.createElement(et.Z,{component:"Radio",disabled:Qn.disabled},we.createElement("label",{className:Vt,style:Object.assign(Object.assign({},vn==null?void 0:vn.style),ge),onMouseEnter:Ne.onMouseEnter,onMouseLeave:Ne.onMouseLeave},we.createElement(Ue.Z,Object.assign({},Qn,{className:fe()(Qn.className,!xt&&st.A),type:"radio",prefixCls:pn,ref:Nn})),be!==void 0?we.createElement("span",null,be):null)))};var gt=we.forwardRef(Re);const ze=we.forwardRef((Ne,At)=>{const{getPrefixCls:An,direction:jt}=we.useContext(ke.E_),[Mt,Kt]=(0,De.Z)(Ne.defaultValue,{value:Ne.value}),sn=Fn=>{const Tn=Mt,qt=Fn.target.value;"value"in Ne||Kt(qt);const{onChange:Dr}=Ne;Dr&&qt!==Tn&&Dr(Fn)},{prefixCls:wn,className:vn,rootClassName:cn,options:Nn,buttonStyle:dr="outline",disabled:En,children:Ge,size:ve,style:he,id:be,onMouseEnter:ge,onMouseLeave:se,onFocus:Ye,onBlur:xt}=Ne,pn=An("radio",wn),on=`${pn}-group`,[In,Qn]=Xe(pn);let _n=Ge;Nn&&Nn.length>0&&(_n=Nn.map(Fn=>typeof Fn=="string"||typeof Fn=="number"?we.createElement(gt,{key:Fn.toString(),prefixCls:pn,disabled:En,value:Fn,checked:Mt===Fn},Fn):we.createElement(gt,{key:`radio-group-value-options-${Fn.value}`,prefixCls:pn,disabled:Fn.disabled||En,value:Fn.value,checked:Mt===Fn.value,title:Fn.title,style:Fn.style},Fn.label)));const Vt=(0,de.Z)(ve),gn=fe()(on,`${on}-${dr}`,{[`${on}-${Vt}`]:Vt,[`${on}-rtl`]:jt==="rtl"},vn,cn,Qn);return In(we.createElement("div",Object.assign({},(0,qe.Z)(Ne,{aria:!0,data:!0}),{className:gn,style:he,onMouseEnter:ge,onMouseLeave:se,onFocus:Ye,onBlur:xt,id:be,ref:At}),we.createElement(me,{value:{onChange:sn,value:Mt,disabled:Ne.disabled,name:Ne.name,optionType:Ne.optionType}},_n)))});var ct=we.memo(ze),nt=function(Ne,At){var An={};for(var jt in Ne)Object.prototype.hasOwnProperty.call(Ne,jt)&&At.indexOf(jt)<0&&(An[jt]=Ne[jt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,jt=Object.getOwnPropertySymbols(Ne);Mt<jt.length;Mt++)At.indexOf(jt[Mt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,jt[Mt])&&(An[jt[Mt]]=Ne[jt[Mt]]);return An};const Ot=(Ne,At)=>{const{getPrefixCls:An}=we.useContext(ke.E_),{prefixCls:jt}=Ne,Mt=nt(Ne,["prefixCls"]),Kt=An("radio",jt);return we.createElement(ue,{value:"button"},we.createElement(gt,Object.assign({prefixCls:Kt},Mt,{type:"radio",ref:At})))};var Rt=we.forwardRef(Ot);const an=gt;an.Button=Rt,an.Group=ct,an.__ANT_RADIO=!0;var ht=an},12604:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return ht}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(At,An){return fe.createElement(we.Z,(0,ne.Z)({},At,{ref:An,icon:qe}))},de=fe.forwardRef(ke),Se=ee(94184),me=ee.n(Se),Pe=ee(4942),rt=ee(97685),ue=ee(45987),Ue=ee(21770),mt=ee(15105),ot=ee(64217);function vt(Ne,At){var An=Ne.disabled,jt=Ne.prefixCls,Mt=Ne.character,Kt=Ne.characterRender,sn=Ne.index,wn=Ne.count,vn=Ne.value,cn=Ne.allowHalf,Nn=Ne.focused,dr=Ne.onHover,En=Ne.onClick,Ge=function(pn){dr(pn,sn)},ve=function(pn){En(pn,sn)},he=function(pn){pn.keyCode===mt.Z.ENTER&&En(pn,sn)},be=sn+1,ge=new Set([jt]);vn===0&&sn===0&&Nn?ge.add("".concat(jt,"-focused")):cn&&vn+.5>=be&&vn<be?(ge.add("".concat(jt,"-half")),ge.add("".concat(jt,"-active")),Nn&&ge.add("".concat(jt,"-focused"))):(be<=vn?ge.add("".concat(jt,"-full")):ge.add("".concat(jt,"-zero")),be===vn&&Nn&&ge.add("".concat(jt,"-focused")));var se=typeof Mt=="function"?Mt(Ne):Mt,Ye=fe.createElement("li",{className:me()(Array.from(ge)),ref:At},fe.createElement("div",{onClick:An?null:ve,onKeyDown:An?null:he,onMouseMove:An?null:Ge,role:"radio","aria-checked":vn>sn?"true":"false","aria-posinset":sn+1,"aria-setsize":wn,tabIndex:An?-1:0},fe.createElement("div",{className:"".concat(jt,"-first")},se),fe.createElement("div",{className:"".concat(jt,"-second")},se)));return Kt&&(Ye=Kt(Ye,Ne)),Ye}var Ee=fe.forwardRef(vt);function wt(){var Ne=fe.useRef({});function At(jt){return Ne.current[jt]}function An(jt){return function(Mt){Ne.current[jt]=Mt}}return[At,An]}function Tt(Ne){var At=Ne.pageXOffset,An="scrollLeft";if(typeof At!="number"){var jt=Ne.document;At=jt.documentElement[An],typeof At!="number"&&(At=jt.body[An])}return At}function $e(Ne){var At,An,jt=Ne.ownerDocument,Mt=jt.body,Kt=jt&&jt.documentElement,sn=Ne.getBoundingClientRect();return At=sn.left,An=sn.top,At-=Kt.clientLeft||Mt.clientLeft||0,An-=Kt.clientTop||Mt.clientTop||0,{left:At,top:An}}function ut(Ne){var At=$e(Ne),An=Ne.ownerDocument,jt=An.defaultView||An.parentWindow;return At.left+=Tt(jt),At.left}var ye=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ce(Ne,At){var An,jt=Ne.prefixCls,Mt=jt===void 0?"rc-rate":jt,Kt=Ne.className,sn=Ne.defaultValue,wn=Ne.value,vn=Ne.count,cn=vn===void 0?5:vn,Nn=Ne.allowHalf,dr=Nn===void 0?!1:Nn,En=Ne.allowClear,Ge=En===void 0?!0:En,ve=Ne.character,he=ve===void 0?"\u2605":ve,be=Ne.characterRender,ge=Ne.disabled,se=Ne.direction,Ye=se===void 0?"ltr":se,xt=Ne.tabIndex,pn=xt===void 0?0:xt,on=Ne.autoFocus,In=Ne.onHoverChange,Qn=Ne.onChange,_n=Ne.onFocus,Vt=Ne.onBlur,gn=Ne.onKeyDown,Fn=Ne.onMouseLeave,Tn=(0,ue.Z)(Ne,ye),qt=wt(),Dr=(0,rt.Z)(qt,2),Ut=Dr[0],nn=Dr[1],Nr=fe.useRef(null),cr=function(){if(!ge){var Mn;(Mn=Nr.current)===null||Mn===void 0||Mn.focus()}};fe.useImperativeHandle(At,function(){return{focus:cr,blur:function(){if(!ge){var Mn;(Mn=Nr.current)===null||Mn===void 0||Mn.blur()}}}});var Fr=(0,Ue.Z)(sn||0,{value:wn}),aa=(0,rt.Z)(Fr,2),Jn=aa[0],Ia=aa[1],Ta=(0,Ue.Z)(null),ti=(0,rt.Z)(Ta,2),Jr=ti[0],ja=ti[1],Si=function(Mn,ar){var hr=Ye==="rtl",dn=Mn+1;if(dr){var za=Ut(Mn),pa=ut(za),ma=za.clientWidth;(hr&&ar-pa>ma/2||!hr&&ar-pa<ma/2)&&(dn-=.5)}return dn},$a=function(Mn){Ia(Mn),Qn==null||Qn(Mn)},ji=fe.useState(!1),Ni=(0,rt.Z)(ji,2),Ln=Ni[0],Pn=Ni[1],rr=function(){Pn(!0),_n==null||_n()},or=function(){Pn(!1),Vt==null||Vt()},$r=fe.useState(null),Br=(0,rt.Z)($r,2),jr=Br[0],hn=Br[1],It=function(Mn,ar){var hr=Si(ar,Mn.pageX);hr!==Jr&&(hn(hr),ja(null)),In==null||In(hr)},Zt=function(Mn){ge||(hn(null),ja(null),In==null||In(void 0)),Mn&&(Fn==null||Fn(Mn))},Gt=function(Mn,ar){var hr=Si(ar,Mn.pageX),dn=!1;Ge&&(dn=hr===Jn),Zt(),$a(dn?0:hr),ja(dn?hr:null)},Gn=function(Mn){var ar=Mn.keyCode,hr=Ye==="rtl",dn=Jn;ar===mt.Z.RIGHT&&dn<cn&&!hr?(dr?dn+=.5:dn+=1,$a(dn),Mn.preventDefault()):ar===mt.Z.LEFT&&dn>0&&!hr||ar===mt.Z.RIGHT&&dn>0&&hr?(dr?dn-=.5:dn-=1,$a(dn),Mn.preventDefault()):ar===mt.Z.LEFT&&dn<cn&&hr&&(dr?dn+=.5:dn+=1,$a(dn),Mn.preventDefault()),gn==null||gn(Mn)};fe.useEffect(function(){on&&!ge&&cr()},[]);var kt=new Array(cn).fill(0).map(function(Zn,Mn){return fe.createElement(Ee,{ref:nn(Mn),index:Mn,count:cn,disabled:ge,prefixCls:"".concat(Mt,"-star"),allowHalf:dr,value:jr===null?Jn:jr,onClick:Gt,onHover:It,key:Zn||Mn,character:he,characterRender:be,focused:Ln})}),mn=me()(Mt,Kt,(An={},(0,Pe.Z)(An,"".concat(Mt,"-disabled"),ge),(0,Pe.Z)(An,"".concat(Mt,"-rtl"),Ye==="rtl"),An));return fe.createElement("ul",(0,ne.Z)({className:mn,onMouseLeave:Zt,tabIndex:ge?-1:pn,onFocus:ge?null:rr,onBlur:ge?null:or,onKeyDown:ge?null:Gn,ref:Nr,role:"radiogroup"},(0,ot.Z)(Tn,{aria:!0,data:!0,attr:!0})),kt)}var Xe=fe.forwardRef(ce),et=Xe,st=ee(53124),ft=ee(83062),Re=ee(14747),Be=ee(67968),gt=ee(45503);const ze=Ne=>{const{componentCls:At}=Ne;return{[`${At}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ne.marginXS},"> div":{transition:`all ${Ne.motionDurationMid}, outline 0s`,"&:hover":{transform:Ne.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Ne.lineWidth}px dashed ${Ne.starColor}`,transform:Ne.starHoverScale}},"&-first, &-second":{color:Ne.starBg,transition:`all ${Ne.motionDurationMid}`,userSelect:"none",[Ne.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${At}-star-first, &-half ${At}-star-second`]:{opacity:1},[`&-half ${At}-star-first, &-full ${At}-star-second`]:{color:"inherit"}}}},ct=Ne=>({[`&-rtl${Ne.componentCls}`]:{direction:"rtl"}}),nt=Ne=>{const{componentCls:At}=Ne;return{[At]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Re.Wf)(Ne)),{display:"inline-block",margin:0,padding:0,color:Ne.starColor,fontSize:Ne.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${At} ${At}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),ze(Ne)),{[`+ ${At}-text`]:{display:"inline-block",marginInlineStart:Ne.marginXS,fontSize:Ne.fontSize}}),ct(Ne))}};var Ot=(0,Be.Z)("Rate",Ne=>{const At=(0,gt.TS)(Ne,{});return[nt(At)]},Ne=>({starColor:Ne.yellow6,starSize:Ne.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ne.colorFillContent})),Rt=function(Ne,At){var An={};for(var jt in Ne)Object.prototype.hasOwnProperty.call(Ne,jt)&&At.indexOf(jt)<0&&(An[jt]=Ne[jt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,jt=Object.getOwnPropertySymbols(Ne);Mt<jt.length;Mt++)At.indexOf(jt[Mt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,jt[Mt])&&(An[jt[Mt]]=Ne[jt[Mt]]);return An},ht=fe.forwardRef((Ne,At)=>{const{prefixCls:An,className:jt,rootClassName:Mt,style:Kt,tooltips:sn,character:wn=fe.createElement(de,null)}=Ne,vn=Rt(Ne,["prefixCls","className","rootClassName","style","tooltips","character"]),cn=(ge,se)=>{let{index:Ye}=se;return sn?fe.createElement(ft.Z,{title:sn[Ye]},ge):ge},{getPrefixCls:Nn,direction:dr,rate:En}=fe.useContext(st.E_),Ge=Nn("rate",An),[ve,he]=Ot(Ge),be=Object.assign(Object.assign({},En==null?void 0:En.style),Kt);return ve(fe.createElement(et,Object.assign({ref:At,character:wn,characterRender:cn},vn,{className:me()(jt,Mt,he,En==null?void 0:En.className),style:be,prefixCls:Ge,direction:dr})))})},11713:function(Hn,ln,ee){"use strict";ee.d(ln,{default:function(){return qr}});var ne=ee(94184),fe=ee.n(ne),De=ee(87462),qe=ee(74902),we=ee(4942),ke=ee(1413),de=ee(97685),Se=ee(45987),me=ee(71002),Pe=ee(67294);function rt(Dt){var Pt=Pe.useRef();Pt.current=Dt;var Kn=Pe.useCallback(function(){for(var Bn,xr=arguments.length,zr=new Array(xr),Lr=0;Lr<xr;Lr++)zr[Lr]=arguments[Lr];return(Bn=Pt.current)===null||Bn===void 0?void 0:Bn.call.apply(Bn,[Pt].concat(zr))},[]);return Kn}function ue(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ue=ue()?Pe.useLayoutEffect:Pe.useEffect,mt=Ue,ot=function(Pt,Kn){var Bn=Pe.useRef(!0);Ue(function(){if(!Bn.current)return Pt()},Kn),Ue(function(){return Bn.current=!1,function(){Bn.current=!0}},[])};function vt(Dt){var Pt=Pe.useRef(!1),Kn=Pe.useState(Dt),Bn=(0,de.Z)(Kn,2),xr=Bn[0],zr=Bn[1];Pe.useEffect(function(){return Pt.current=!1,function(){Pt.current=!0}},[]);function Lr(ca,un){un&&Pt.current||zr(ca)}return[xr,Lr]}function Ee(Dt){return Dt!==void 0}function wt(Dt,Pt){var Kn=Pt||{},Bn=Kn.defaultValue,xr=Kn.value,zr=Kn.onChange,Lr=Kn.postState,ca=vt(function(){return Ee(xr)?xr:Ee(Bn)?typeof Bn=="function"?Bn():Bn:typeof Dt=="function"?Dt():Dt}),un=(0,de.Z)(ca,2),Jt=un[0],yn=un[1],lr=xr!==void 0?xr:Jt,Xr=Lr?Lr(lr):lr,Ir=rt(zr),yr=vt([lr]),ba=(0,de.Z)(yr,2),va=ba[0],Oa=ba[1];ot(function(){var Ur=va[0];Jt!==Ur&&Ir(Jt,Ur)},[va]),ot(function(){Ee(xr)||yn(xr)},[xr]);var da=rt(function(Ur,Wa){yn(Ur,Wa),Oa([lr],Wa)});return[Xr,da]}var Tt={};function $e(Dt,Pt){}function ut(Dt,Pt){}function ye(){Tt={}}function ce(Dt,Pt,Kn){!Pt&&!Tt[Kn]&&(Dt(!1,Kn),Tt[Kn]=!0)}function Xe(Dt,Pt){ce($e,Dt,Pt)}function et(Dt,Pt){ce(ut,Dt,Pt)}var st=Xe,ft=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Dt=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Dt)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Dt==null?void 0:Dt.substr(0,4))},Re={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Pt){var Kn=Pt.keyCode;if(Pt.altKey&&!Pt.ctrlKey||Pt.metaKey||Kn>=Re.F1&&Kn<=Re.F12)return!1;switch(Kn){case Re.ALT:case Re.CAPS_LOCK:case Re.CONTEXT_MENU:case Re.CTRL:case Re.DOWN:case Re.END:case Re.ESC:case Re.HOME:case Re.INSERT:case Re.LEFT:case Re.MAC_FF_META:case Re.META:case Re.NUMLOCK:case Re.NUM_CENTER:case Re.PAGE_DOWN:case Re.PAGE_UP:case Re.PAUSE:case Re.PRINT_SCREEN:case Re.RIGHT:case Re.SHIFT:case Re.UP:case Re.WIN_KEY:case Re.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Pt){if(Pt>=Re.ZERO&&Pt<=Re.NINE||Pt>=Re.NUM_ZERO&&Pt<=Re.NUM_MULTIPLY||Pt>=Re.A&&Pt<=Re.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Pt===0)return!0;switch(Pt){case Re.SPACE:case Re.QUESTION_MARK:case Re.NUM_PLUS:case Re.NUM_MINUS:case Re.NUM_PERIOD:case Re.NUM_DIVISION:case Re.SEMICOLON:case Re.DASH:case Re.EQUALS:case Re.COMMA:case Re.PERIOD:case Re.SLASH:case Re.APOSTROPHE:case Re.SINGLE_QUOTE:case Re.OPEN_SQUARE_BRACKET:case Re.BACKSLASH:case Re.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Be=Re,gt=ee(47655);function ze(Dt,Pt,Kn){var Bn=Pe.useRef({});return(!("value"in Bn.current)||Kn(Bn.current.condition,Pt))&&(Bn.current.value=Dt(),Bn.current.condition=Pt),Bn.current.value}function ct(Dt,Pt){typeof Dt=="function"?Dt(Pt):(0,me.Z)(Dt)==="object"&&Dt&&"current"in Dt&&(Dt.current=Pt)}function nt(){for(var Dt=arguments.length,Pt=new Array(Dt),Kn=0;Kn<Dt;Kn++)Pt[Kn]=arguments[Kn];var Bn=Pt.filter(function(xr){return xr});return Bn.length<=1?Bn[0]:function(xr){Pt.forEach(function(zr){ct(zr,xr)})}}function Ot(){for(var Dt=arguments.length,Pt=new Array(Dt),Kn=0;Kn<Dt;Kn++)Pt[Kn]=arguments[Kn];return ze(function(){return nt.apply(void 0,Pt)},Pt,function(Bn,xr){return Bn.length===xr.length&&Bn.every(function(zr,Lr){return zr===xr[Lr]})})}function Rt(Dt){var Pt,Kn,Bn=isMemo(Dt)?Dt.type.type:Dt.type;return!(typeof Bn=="function"&&!((Pt=Bn.prototype)!==null&&Pt!==void 0&&Pt.render)||typeof Dt=="function"&&!((Kn=Dt.prototype)!==null&&Kn!==void 0&&Kn.render))}var an=function(Pt){var Kn=Pt.className,Bn=Pt.customizeIcon,xr=Pt.customizeIconProps,zr=Pt.onMouseDown,Lr=Pt.onClick,ca=Pt.children,un;return typeof Bn=="function"?un=Bn(xr):un=Bn,Pe.createElement("span",{className:Kn,onMouseDown:function(yn){yn.preventDefault(),zr&&zr(yn)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Lr,"aria-hidden":!0},un!==void 0?un:Pe.createElement("span",{className:fe()(Kn.split(/\s+/).map(function(Jt){return"".concat(Jt,"-icon")}))},ca))},ht=an;function Ne(Dt,Pt,Kn,Bn,xr){var zr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Lr=arguments.length>6?arguments[6]:void 0,ca=arguments.length>7?arguments[7]:void 0,un=Pe.useMemo(function(){if((0,me.Z)(Bn)==="object")return Bn.clearIcon;if(xr)return xr},[Bn,xr]),Jt=Pe.useMemo(function(){return!!(!zr&&Bn&&(Kn.length||Lr)&&!(ca==="combobox"&&Lr===""))},[Bn,zr,Kn.length,Lr,ca]);return{allowClear:Jt,clearIcon:Pe.createElement(ht,{className:"".concat(Dt,"-clear"),onMouseDown:Pt,customizeIcon:un},"\xD7")}}var At=Pe.createContext(null);function An(){return Pe.useContext(At)}function jt(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Pt=Pe.useState(!1),Kn=(0,de.Z)(Pt,2),Bn=Kn[0],xr=Kn[1],zr=Pe.useRef(null),Lr=function(){window.clearTimeout(zr.current)};Pe.useEffect(function(){return Lr},[]);var ca=function(Jt,yn){Lr(),zr.current=window.setTimeout(function(){xr(Jt),yn&&yn()},Dt)};return[Bn,ca,Lr]}function Mt(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Pt=Pe.useRef(null),Kn=Pe.useRef(null);Pe.useEffect(function(){return function(){window.clearTimeout(Kn.current)}},[]);function Bn(xr){(xr||Pt.current===null)&&(Pt.current=xr),window.clearTimeout(Kn.current),Kn.current=window.setTimeout(function(){Pt.current=null},Dt)}return[function(){return Pt.current},Bn]}function Kt(Dt,Pt,Kn,Bn){var xr=Pe.useRef(null);xr.current={open:Pt,triggerOpen:Kn,customizedTrigger:Bn},Pe.useEffect(function(){function zr(Lr){var ca;if(!((ca=xr.current)!==null&&ca!==void 0&&ca.customizedTrigger)){var un=Lr.target;un.shadowRoot&&Lr.composed&&(un=Lr.composedPath()[0]||un),xr.current.open&&Dt().filter(function(Jt){return Jt}).every(function(Jt){return!Jt.contains(un)&&Jt!==un})&&xr.current.triggerOpen(!1)}}return window.addEventListener("mousedown",zr),function(){return window.removeEventListener("mousedown",zr)}},[])}var sn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,wn=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,vn="".concat(sn," ").concat(wn).split(/[\s\n]+/),cn="aria-",Nn="data-";function dr(Dt,Pt){return Dt.indexOf(Pt)===0}function En(Dt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Kn;Pt===!1?Kn={aria:!0,data:!0,attr:!0}:Pt===!0?Kn={aria:!0}:Kn=(0,ke.Z)({},Pt);var Bn={};return Object.keys(Dt).forEach(function(xr){(Kn.aria&&(xr==="role"||dr(xr,cn))||Kn.data&&dr(xr,Nn)||Kn.attr&&vn.includes(xr))&&(Bn[xr]=Dt[xr])}),Bn}var Ge=ee(48555),ve=ee(14075),he=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],be=void 0;function ge(Dt,Pt){var Kn=Dt.prefixCls,Bn=Dt.invalidate,xr=Dt.item,zr=Dt.renderItem,Lr=Dt.responsive,ca=Dt.responsiveDisabled,un=Dt.registerSize,Jt=Dt.itemKey,yn=Dt.className,lr=Dt.style,Xr=Dt.children,Ir=Dt.display,yr=Dt.order,ba=Dt.component,va=ba===void 0?"div":ba,Oa=(0,Se.Z)(Dt,he),da=Lr&&!Ir;function Ur(ei){un(Jt,ei)}Pe.useEffect(function(){return function(){Ur(null)}},[]);var Wa=zr&&xr!==be?zr(xr):Xr,ai;Bn||(ai={opacity:da?0:1,height:da?0:be,overflowY:da?"hidden":be,order:Lr?yr:be,pointerEvents:da?"none":be,position:da?"absolute":be});var _a={};da&&(_a["aria-hidden"]=!0);var Va=Pe.createElement(va,(0,De.Z)({className:fe()(!Bn&&Kn,yn),style:(0,ke.Z)((0,ke.Z)({},ai),lr)},_a,Oa,{ref:Pt}),Wa);return Lr&&(Va=Pe.createElement(Ge.Z,{onResize:function(Yi){var Ei=Yi.offsetWidth;Ur(Ei)},disabled:ca},Va)),Va}var se=Pe.forwardRef(ge);se.displayName="Item";var Ye=se,xt=ee(77527),pn=ee(73935),on=ee(96523);function In(Dt){if(typeof MessageChannel=="undefined")(0,on.Z)(Dt);else{var Pt=new MessageChannel;Pt.port1.onmessage=function(){return Dt()},Pt.port2.postMessage(void 0)}}function Qn(){var Dt=Pe.useRef(null),Pt=function(Bn){Dt.current||(Dt.current=[],In(function(){(0,pn.unstable_batchedUpdates)(function(){Dt.current.forEach(function(xr){xr()}),Dt.current=null})})),Dt.current.push(Bn)};return Pt}function _n(Dt,Pt){var Kn=Pe.useState(Pt),Bn=(0,de.Z)(Kn,2),xr=Bn[0],zr=Bn[1],Lr=(0,xt.Z)(function(ca){Dt(function(){zr(ca)})});return[xr,Lr]}var Vt=Pe.createContext(null),gn=["component"],Fn=["className"],Tn=["className"],qt=function(Pt,Kn){var Bn=Pe.useContext(Vt);if(!Bn){var xr=Pt.component,zr=xr===void 0?"div":xr,Lr=(0,Se.Z)(Pt,gn);return Pe.createElement(zr,(0,De.Z)({},Lr,{ref:Kn}))}var ca=Bn.className,un=(0,Se.Z)(Bn,Fn),Jt=Pt.className,yn=(0,Se.Z)(Pt,Tn);return Pe.createElement(Vt.Provider,{value:null},Pe.createElement(Ye,(0,De.Z)({ref:Kn,className:fe()(ca,Jt)},un,yn)))},Dr=Pe.forwardRef(qt);Dr.displayName="RawItem";var Ut=Dr,nn=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Nr="responsive",cr="invalidate";function Fr(Dt){return"+ ".concat(Dt.length," ...")}function aa(Dt,Pt){var Kn=Dt.prefixCls,Bn=Kn===void 0?"rc-overflow":Kn,xr=Dt.data,zr=xr===void 0?[]:xr,Lr=Dt.renderItem,ca=Dt.renderRawItem,un=Dt.itemKey,Jt=Dt.itemWidth,yn=Jt===void 0?10:Jt,lr=Dt.ssr,Xr=Dt.style,Ir=Dt.className,yr=Dt.maxCount,ba=Dt.renderRest,va=Dt.renderRawRest,Oa=Dt.suffix,da=Dt.component,Ur=da===void 0?"div":da,Wa=Dt.itemComponent,ai=Dt.onVisibleChange,_a=(0,Se.Z)(Dt,nn),Va=lr==="full",ei=Qn(),Yi=_n(ei,null),Ei=(0,de.Z)(Yi,2),Wi=Ei[0],Gi=Ei[1],po=Wi||0,Qi=_n(ei,new Map),So=(0,de.Z)(Qi,2),Ki=So[0],Ai=So[1],ko=_n(ei,0),Bo=(0,de.Z)(ko,2),zi=Bo[0],gl=Bo[1],El=_n(ei,0),il=(0,de.Z)(El,2),Vo=il[0],go=il[1],_l=_n(ei,0),jo=(0,de.Z)(_l,2),mo=jo[0],el=jo[1],Vl=(0,Pe.useState)(null),fl=(0,de.Z)(Vl,2),Dl=fl[0],Oo=fl[1],jl=(0,Pe.useState)(null),ls=(0,de.Z)(jl,2),Ql=ls[0],Al=ls[1],Tl=Pe.useMemo(function(){return Ql===null&&Va?Number.MAX_SAFE_INTEGER:Ql||0},[Ql,Wi]),$l=(0,Pe.useState)(!1),Rl=(0,de.Z)($l,2),Il=Rl[0],ss=Rl[1],us="".concat(Bn,"-item"),ms=Math.max(zi,Vo),ts=yr===Nr,ns=zr.length&&ts,Go=yr===cr,ol=ns||typeof yr=="number"&&zr.length>yr,Wl=(0,Pe.useMemo)(function(){var _t=zr;return ns?Wi===null&&Va?_t=zr:_t=zr.slice(0,Math.min(zr.length,po/yn)):typeof yr=="number"&&(_t=zr.slice(0,yr)),_t},[zr,yn,Wi,yr,ns]),Xl=(0,Pe.useMemo)(function(){return ns?zr.slice(Tl+1):zr.slice(Wl.length)},[zr,Wl,ns,Tl]),hs=(0,Pe.useCallback)(function(_t,Wt){var Wn;return typeof un=="function"?un(_t):(Wn=un&&(_t==null?void 0:_t[un]))!==null&&Wn!==void 0?Wn:Wt},[un]),xs=(0,Pe.useCallback)(Lr||function(_t){return _t},[Lr]);function Ms(_t,Wt,Wn){Ql===_t&&(Wt===void 0||Wt===Dl)||(Al(_t),Wn||(ss(_t<zr.length-1),ai==null||ai(_t)),Wt!==void 0&&Oo(Wt))}function zs(_t,Wt){Gi(Wt.clientWidth)}function Ws(_t,Wt){Ai(function(Wn){var bn=new Map(Wn);return Wt===null?bn.delete(_t):bn.set(_t,Wt),bn})}function Bs(_t,Wt){go(Wt),gl(Vo)}function Xs(_t,Wt){el(Wt)}function Ul(_t){return Ki.get(hs(Wl[_t],_t))}(0,ve.Z)(function(){if(po&&typeof ms=="number"&&Wl){var _t=mo,Wt=Wl.length,Wn=Wt-1;if(!Wt){Ms(0,null);return}for(var bn=0;bn<Wt;bn+=1){var On=Ul(bn);if(Va&&(On=On||0),On===void 0){Ms(bn-1,void 0,!0);break}if(_t+=On,Wn===0&&_t<=po||bn===Wn-1&&_t+Ul(Wn)<=po){Ms(Wn,null);break}else if(_t+ms>po){Ms(bn-1,_t-On-mo+Vo);break}}Oa&&Ul(0)+mo>po&&Oo(null)}},[po,Ki,Vo,mo,hs,Wl]);var Le=Il&&!!Xl.length,Je={};Dl!==null&&ns&&(Je={position:"absolute",left:Dl,top:0});var it={prefixCls:us,responsive:ns,component:Wa,invalidate:Go},Ce=ca?function(_t,Wt){var Wn=hs(_t,Wt);return Pe.createElement(Vt.Provider,{key:Wn,value:(0,ke.Z)((0,ke.Z)({},it),{},{order:Wt,item:_t,itemKey:Wn,registerSize:Ws,display:Wt<=Tl})},ca(_t,Wt))}:function(_t,Wt){var Wn=hs(_t,Wt);return Pe.createElement(Ye,(0,De.Z)({},it,{order:Wt,key:Wn,item:_t,renderItem:xs,itemKey:Wn,registerSize:Ws,display:Wt<=Tl}))},Ie,St={order:Le?Tl:Number.MAX_SAFE_INTEGER,className:"".concat(us,"-rest"),registerSize:Bs,display:Le};if(va)va&&(Ie=Pe.createElement(Vt.Provider,{value:(0,ke.Z)((0,ke.Z)({},it),St)},va(Xl)));else{var bt=ba||Fr;Ie=Pe.createElement(Ye,(0,De.Z)({},it,St),typeof bt=="function"?bt(Xl):bt)}var en=Pe.createElement(Ur,(0,De.Z)({className:fe()(!Go&&Bn,Ir),style:Xr,ref:Pt},_a),Wl.map(Ce),ol?Ie:null,Oa&&Pe.createElement(Ye,(0,De.Z)({},it,{responsive:ts,responsiveDisabled:!ns,order:Tl,className:"".concat(us,"-suffix"),registerSize:Xs,display:!0,style:Je}),Oa));return ts&&(en=Pe.createElement(Ge.Z,{onResize:zs,disabled:!ns},en)),en}var Jn=Pe.forwardRef(aa);Jn.displayName="Overflow",Jn.Item=Ut,Jn.RESPONSIVE=Nr,Jn.INVALIDATE=cr;var Ia=Jn,Ta=Ia,ti=function(Pt,Kn){var Bn,xr,zr=Pt.prefixCls,Lr=Pt.id,ca=Pt.inputElement,un=Pt.disabled,Jt=Pt.tabIndex,yn=Pt.autoFocus,lr=Pt.autoComplete,Xr=Pt.editable,Ir=Pt.activeDescendantId,yr=Pt.value,ba=Pt.maxLength,va=Pt.onKeyDown,Oa=Pt.onMouseDown,da=Pt.onChange,Ur=Pt.onPaste,Wa=Pt.onCompositionStart,ai=Pt.onCompositionEnd,_a=Pt.open,Va=Pt.attrs,ei=ca||Pe.createElement("input",null),Yi=ei,Ei=Yi.ref,Wi=Yi.props,Gi=Wi.onKeyDown,po=Wi.onChange,Qi=Wi.onMouseDown,So=Wi.onCompositionStart,Ki=Wi.onCompositionEnd,Ai=Wi.style;return"maxLength"in ei.props,ei=Pe.cloneElement(ei,(0,ke.Z)((0,ke.Z)((0,ke.Z)({type:"search"},Wi),{},{id:Lr,ref:nt(Kn,Ei),disabled:un,tabIndex:Jt,autoComplete:lr||"off",autoFocus:yn,className:fe()("".concat(zr,"-selection-search-input"),(Bn=ei)===null||Bn===void 0||(xr=Bn.props)===null||xr===void 0?void 0:xr.className),role:"combobox","aria-label":"Search","aria-expanded":_a||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Lr,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Lr,"_list"),"aria-activedescendant":_a?Ir:void 0},Va),{},{value:Xr?yr:"",maxLength:ba,readOnly:!Xr,unselectable:Xr?null:"on",style:(0,ke.Z)((0,ke.Z)({},Ai),{},{opacity:Xr?null:0}),onKeyDown:function(Bo){va(Bo),Gi&&Gi(Bo)},onMouseDown:function(Bo){Oa(Bo),Qi&&Qi(Bo)},onChange:function(Bo){da(Bo),po&&po(Bo)},onCompositionStart:function(Bo){Wa(Bo),So&&So(Bo)},onCompositionEnd:function(Bo){ai(Bo),Ki&&Ki(Bo)},onPaste:Ur})),ei},Jr=Pe.forwardRef(ti);Jr.displayName="Input";var ja=Jr;function Si(Dt){return Array.isArray(Dt)?Dt:Dt!==void 0?[Dt]:[]}var $a=typeof window!="undefined"&&window.document&&window.document.documentElement,ji=$a;function Ni(Dt){return Dt!=null}function Ln(Dt){return!Dt&&Dt!==0}function Pn(Dt){return["string","number"].includes((0,me.Z)(Dt))}function rr(Dt){var Pt=void 0;return Dt&&(Pn(Dt.title)?Pt=Dt.title.toString():Pn(Dt.label)&&(Pt=Dt.label.toString())),Pt}function or(Dt,Pt){ji?Pe.useLayoutEffect(Dt,Pt):Pe.useEffect(Dt,Pt)}function $r(Dt){var Pt;return(Pt=Dt.key)!==null&&Pt!==void 0?Pt:Dt.value}var Br=function(Pt){Pt.preventDefault(),Pt.stopPropagation()},jr=function(Pt){var Kn=Pt.id,Bn=Pt.prefixCls,xr=Pt.values,zr=Pt.open,Lr=Pt.searchValue,ca=Pt.autoClearSearchValue,un=Pt.inputRef,Jt=Pt.placeholder,yn=Pt.disabled,lr=Pt.mode,Xr=Pt.showSearch,Ir=Pt.autoFocus,yr=Pt.autoComplete,ba=Pt.activeDescendantId,va=Pt.tabIndex,Oa=Pt.removeIcon,da=Pt.maxTagCount,Ur=Pt.maxTagTextLength,Wa=Pt.maxTagPlaceholder,ai=Wa===void 0?function(Oo){return"+ ".concat(Oo.length," ...")}:Wa,_a=Pt.tagRender,Va=Pt.onToggleOpen,ei=Pt.onRemove,Yi=Pt.onInputChange,Ei=Pt.onInputPaste,Wi=Pt.onInputKeyDown,Gi=Pt.onInputMouseDown,po=Pt.onInputCompositionStart,Qi=Pt.onInputCompositionEnd,So=Pe.useRef(null),Ki=(0,Pe.useState)(0),Ai=(0,de.Z)(Ki,2),ko=Ai[0],Bo=Ai[1],zi=(0,Pe.useState)(!1),gl=(0,de.Z)(zi,2),El=gl[0],il=gl[1],Vo="".concat(Bn,"-selection"),go=zr||lr==="multiple"&&ca===!1||lr==="tags"?Lr:"",_l=lr==="tags"||lr==="multiple"&&ca===!1||Xr&&(zr||El);or(function(){Bo(So.current.scrollWidth)},[go]);function jo(Oo,jl,ls,Ql,Al){return Pe.createElement("span",{className:fe()("".concat(Vo,"-item"),(0,we.Z)({},"".concat(Vo,"-item-disabled"),ls)),title:rr(Oo)},Pe.createElement("span",{className:"".concat(Vo,"-item-content")},jl),Ql&&Pe.createElement(ht,{className:"".concat(Vo,"-item-remove"),onMouseDown:Br,onClick:Al,customizeIcon:Oa},"\xD7"))}function mo(Oo,jl,ls,Ql,Al){var Tl=function(Rl){Br(Rl),Va(!zr)};return Pe.createElement("span",{onMouseDown:Tl},_a({label:jl,value:Oo,disabled:ls,closable:Ql,onClose:Al}))}function el(Oo){var jl=Oo.disabled,ls=Oo.label,Ql=Oo.value,Al=!yn&&!jl,Tl=ls;if(typeof Ur=="number"&&(typeof ls=="string"||typeof ls=="number")){var $l=String(Tl);$l.length>Ur&&(Tl="".concat($l.slice(0,Ur),"..."))}var Rl=function(ss){ss&&ss.stopPropagation(),ei(Oo)};return typeof _a=="function"?mo(Ql,Tl,jl,Al,Rl):jo(Oo,Tl,jl,Al,Rl)}function Vl(Oo){var jl=typeof ai=="function"?ai(Oo):ai;return jo({title:jl},jl,!1)}var fl=Pe.createElement("div",{className:"".concat(Vo,"-search"),style:{width:ko},onFocus:function(){il(!0)},onBlur:function(){il(!1)}},Pe.createElement(ja,{ref:un,open:zr,prefixCls:Bn,id:Kn,inputElement:null,disabled:yn,autoFocus:Ir,autoComplete:yr,editable:_l,activeDescendantId:ba,value:go,onKeyDown:Wi,onMouseDown:Gi,onChange:Yi,onPaste:Ei,onCompositionStart:po,onCompositionEnd:Qi,tabIndex:va,attrs:En(Pt,!0)}),Pe.createElement("span",{ref:So,className:"".concat(Vo,"-search-mirror"),"aria-hidden":!0},go,"\xA0")),Dl=Pe.createElement(Ta,{prefixCls:"".concat(Vo,"-overflow"),data:xr,renderItem:el,renderRest:Vl,suffix:fl,itemKey:$r,maxCount:da});return Pe.createElement(Pe.Fragment,null,Dl,!xr.length&&!go&&Pe.createElement("span",{className:"".concat(Vo,"-placeholder")},Jt))},hn=jr,It=function(Pt){var Kn=Pt.inputElement,Bn=Pt.prefixCls,xr=Pt.id,zr=Pt.inputRef,Lr=Pt.disabled,ca=Pt.autoFocus,un=Pt.autoComplete,Jt=Pt.activeDescendantId,yn=Pt.mode,lr=Pt.open,Xr=Pt.values,Ir=Pt.placeholder,yr=Pt.tabIndex,ba=Pt.showSearch,va=Pt.searchValue,Oa=Pt.activeValue,da=Pt.maxLength,Ur=Pt.onInputKeyDown,Wa=Pt.onInputMouseDown,ai=Pt.onInputChange,_a=Pt.onInputPaste,Va=Pt.onInputCompositionStart,ei=Pt.onInputCompositionEnd,Yi=Pt.title,Ei=Pe.useState(!1),Wi=(0,de.Z)(Ei,2),Gi=Wi[0],po=Wi[1],Qi=yn==="combobox",So=Qi||ba,Ki=Xr[0],Ai=va||"";Qi&&Oa&&!Gi&&(Ai=Oa),Pe.useEffect(function(){Qi&&po(!1)},[Qi,Oa]);var ko=yn!=="combobox"&&!lr&&!ba?!1:!!Ai,Bo=Yi===void 0?rr(Ki):Yi,zi=function(){if(Ki)return null;var El=ko?{visibility:"hidden"}:void 0;return Pe.createElement("span",{className:"".concat(Bn,"-selection-placeholder"),style:El},Ir)};return Pe.createElement(Pe.Fragment,null,Pe.createElement("span",{className:"".concat(Bn,"-selection-search")},Pe.createElement(ja,{ref:zr,prefixCls:Bn,id:xr,open:lr,inputElement:Kn,disabled:Lr,autoFocus:ca,autoComplete:un,editable:So,activeDescendantId:Jt,value:Ai,onKeyDown:Ur,onMouseDown:Wa,onChange:function(El){po(!0),ai(El)},onPaste:_a,onCompositionStart:Va,onCompositionEnd:ei,tabIndex:yr,attrs:En(Pt,!0),maxLength:Qi?da:void 0})),!Qi&&Ki?Pe.createElement("span",{className:"".concat(Bn,"-selection-item"),title:Bo,style:ko?{visibility:"hidden"}:void 0},Ki.label):null,zi())},Zt=It;function Gt(Dt){return![Be.ESC,Be.SHIFT,Be.BACKSPACE,Be.TAB,Be.WIN_KEY,Be.ALT,Be.META,Be.WIN_KEY_RIGHT,Be.CTRL,Be.SEMICOLON,Be.EQUALS,Be.CAPS_LOCK,Be.CONTEXT_MENU,Be.F1,Be.F2,Be.F3,Be.F4,Be.F5,Be.F6,Be.F7,Be.F8,Be.F9,Be.F10,Be.F11,Be.F12].includes(Dt)}var Gn=function(Pt,Kn){var Bn=(0,Pe.useRef)(null),xr=(0,Pe.useRef)(!1),zr=Pt.prefixCls,Lr=Pt.open,ca=Pt.mode,un=Pt.showSearch,Jt=Pt.tokenWithEnter,yn=Pt.autoClearSearchValue,lr=Pt.onSearch,Xr=Pt.onSearchSubmit,Ir=Pt.onToggleOpen,yr=Pt.onInputKeyDown,ba=Pt.domRef;Pe.useImperativeHandle(Kn,function(){return{focus:function(){Bn.current.focus()},blur:function(){Bn.current.blur()}}});var va=Mt(0),Oa=(0,de.Z)(va,2),da=Oa[0],Ur=Oa[1],Wa=function(Ai){var ko=Ai.which;(ko===Be.UP||ko===Be.DOWN)&&Ai.preventDefault(),yr&&yr(Ai),ko===Be.ENTER&&ca==="tags"&&!xr.current&&!Lr&&(Xr==null||Xr(Ai.target.value)),Gt(ko)&&Ir(!0)},ai=function(){Ur(!0)},_a=(0,Pe.useRef)(null),Va=function(Ai){lr(Ai,!0,xr.current)!==!1&&Ir(!0)},ei=function(){xr.current=!0},Yi=function(Ai){xr.current=!1,ca!=="combobox"&&Va(Ai.target.value)},Ei=function(Ai){var ko=Ai.target.value;if(Jt&&_a.current&&/[\r\n]/.test(_a.current)){var Bo=_a.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ko=ko.replace(Bo,_a.current)}_a.current=null,Va(ko)},Wi=function(Ai){var ko=Ai.clipboardData,Bo=ko.getData("text");_a.current=Bo},Gi=function(Ai){var ko=Ai.target;if(ko!==Bn.current){var Bo=document.body.style.msTouchAction!==void 0;Bo?setTimeout(function(){Bn.current.focus()}):Bn.current.focus()}},po=function(Ai){var ko=da();Ai.target!==Bn.current&&!ko&&ca!=="combobox"&&Ai.preventDefault(),(ca!=="combobox"&&(!un||!ko)||!Lr)&&(Lr&&yn!==!1&&lr("",!0,!1),Ir())},Qi={inputRef:Bn,onInputKeyDown:Wa,onInputMouseDown:ai,onInputChange:Ei,onInputPaste:Wi,onInputCompositionStart:ei,onInputCompositionEnd:Yi},So=ca==="multiple"||ca==="tags"?Pe.createElement(hn,(0,De.Z)({},Pt,Qi)):Pe.createElement(Zt,(0,De.Z)({},Pt,Qi));return Pe.createElement("div",{ref:ba,className:"".concat(zr,"-selector"),onClick:Gi,onMouseDown:po},So)},kt=Pe.forwardRef(Gn);kt.displayName="Selector";var mn=kt,Zn=ee(62709),Mn=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],ar=function(Pt){var Kn=Pt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Kn,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Kn,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Kn,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Kn,adjustY:1},htmlRegion:"scroll"}}},hr=function(Pt,Kn){var Bn=Pt.prefixCls,xr=Pt.disabled,zr=Pt.visible,Lr=Pt.children,ca=Pt.popupElement,un=Pt.animation,Jt=Pt.transitionName,yn=Pt.dropdownStyle,lr=Pt.dropdownClassName,Xr=Pt.direction,Ir=Xr===void 0?"ltr":Xr,yr=Pt.placement,ba=Pt.builtinPlacements,va=Pt.dropdownMatchSelectWidth,Oa=Pt.dropdownRender,da=Pt.dropdownAlign,Ur=Pt.getPopupContainer,Wa=Pt.empty,ai=Pt.getTriggerDOMNode,_a=Pt.onPopupVisibleChange,Va=Pt.onPopupMouseEnter,ei=(0,Se.Z)(Pt,Mn),Yi="".concat(Bn,"-dropdown"),Ei=ca;Oa&&(Ei=Oa(ca));var Wi=Pe.useMemo(function(){return ba||ar(va)},[ba,va]),Gi=un?"".concat(Yi,"-").concat(un):Jt,po=typeof va=="number",Qi=Pe.useMemo(function(){return po?null:va===!1?"minWidth":"width"},[va,po]),So=yn;po&&(So=(0,ke.Z)((0,ke.Z)({},So),{},{width:va}));var Ki=Pe.useRef(null);return Pe.useImperativeHandle(Kn,function(){return{getPopupElement:function(){return Ki.current}}}),Pe.createElement(Zn.Z,(0,De.Z)({},ei,{showAction:_a?["click"]:[],hideAction:_a?["click"]:[],popupPlacement:yr||(Ir==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Wi,prefixCls:Yi,popupTransitionName:Gi,popup:Pe.createElement("div",{ref:Ki,onMouseEnter:Va},Ei),stretch:Qi,popupAlign:da,popupVisible:zr,getPopupContainer:Ur,popupClassName:fe()(lr,(0,we.Z)({},"".concat(Yi,"-empty"),Wa)),popupStyle:So,getTriggerDOMNode:ai,onPopupVisibleChange:_a}),Lr)},dn=Pe.forwardRef(hr);dn.displayName="SelectTrigger";var za=dn,pa=ee(84506);function ma(Dt,Pt){var Kn=Dt.key,Bn;return"value"in Dt&&(Bn=Dt.value),Kn!=null?Kn:Bn!==void 0?Bn:"rc-index-key-".concat(Pt)}function Sa(Dt,Pt){var Kn=Dt||{},Bn=Kn.label,xr=Kn.value,zr=Kn.options,Lr=Kn.groupLabel,ca=Bn||(Pt?"children":"label");return{label:ca,value:xr||"value",options:zr||"options",groupLabel:Lr||ca}}function Aa(Dt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Kn=Pt.fieldNames,Bn=Pt.childrenAsData,xr=[],zr=Sa(Kn,!1),Lr=zr.label,ca=zr.value,un=zr.options,Jt=zr.groupLabel;function yn(lr,Xr){lr.forEach(function(Ir){if(Xr||!(un in Ir)){var yr=Ir[ca];xr.push({key:ma(Ir,xr.length),groupOption:Xr,data:Ir,label:Ir[Lr],value:yr})}else{var ba=Ir[Jt];ba===void 0&&Bn&&(ba=Ir.label),xr.push({key:ma(Ir,xr.length),group:!0,data:Ir,label:ba}),yn(Ir[un],!0)}})}return yn(Dt,!1),xr}function ka(Dt){var Pt=(0,ke.Z)({},Dt);return"props"in Pt||Object.defineProperty(Pt,"props",{get:function(){return st(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Pt}}),Pt}function Er(Dt,Pt){if(!Pt||!Pt.length)return null;var Kn=!1;function Bn(zr,Lr){var ca=(0,pa.Z)(Lr),un=ca[0],Jt=ca.slice(1);if(!un)return[zr];var yn=zr.split(un);return Kn=Kn||yn.length>1,yn.reduce(function(lr,Xr){return[].concat((0,qe.Z)(lr),(0,qe.Z)(Bn(Xr,Jt)))},[]).filter(function(lr){return lr})}var xr=Bn(Dt,Pt);return Kn?xr:null}var Gr=["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"],Zi=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Ii(Dt){return Dt==="tags"||Dt==="multiple"}var ni=Pe.forwardRef(function(Dt,Pt){var Kn,Bn,xr=Dt.id,zr=Dt.prefixCls,Lr=Dt.className,ca=Dt.showSearch,un=Dt.tagRender,Jt=Dt.direction,yn=Dt.omitDomProps,lr=Dt.displayValues,Xr=Dt.onDisplayValuesChange,Ir=Dt.emptyOptions,yr=Dt.notFoundContent,ba=yr===void 0?"Not Found":yr,va=Dt.onClear,Oa=Dt.mode,da=Dt.disabled,Ur=Dt.loading,Wa=Dt.getInputElement,ai=Dt.getRawInputElement,_a=Dt.open,Va=Dt.defaultOpen,ei=Dt.onDropdownVisibleChange,Yi=Dt.activeValue,Ei=Dt.onActiveValueChange,Wi=Dt.activeDescendantId,Gi=Dt.searchValue,po=Dt.autoClearSearchValue,Qi=Dt.onSearch,So=Dt.onSearchSplit,Ki=Dt.tokenSeparators,Ai=Dt.allowClear,ko=Dt.suffixIcon,Bo=Dt.clearIcon,zi=Dt.OptionList,gl=Dt.animation,El=Dt.transitionName,il=Dt.dropdownStyle,Vo=Dt.dropdownClassName,go=Dt.dropdownMatchSelectWidth,_l=Dt.dropdownRender,jo=Dt.dropdownAlign,mo=Dt.placement,el=Dt.builtinPlacements,Vl=Dt.getPopupContainer,fl=Dt.showAction,Dl=fl===void 0?[]:fl,Oo=Dt.onFocus,jl=Dt.onBlur,ls=Dt.onKeyUp,Ql=Dt.onKeyDown,Al=Dt.onMouseDown,Tl=(0,Se.Z)(Dt,Gr),$l=Ii(Oa),Rl=(ca!==void 0?ca:$l)||Oa==="combobox",Il=(0,ke.Z)({},Tl);Zi.forEach(function(ga){delete Il[ga]}),yn==null||yn.forEach(function(ga){delete Il[ga]});var ss=Pe.useState(!1),us=(0,de.Z)(ss,2),ms=us[0],ts=us[1];Pe.useEffect(function(){ts(ft())},[]);var ns=Pe.useRef(null),Go=Pe.useRef(null),ol=Pe.useRef(null),Wl=Pe.useRef(null),Xl=Pe.useRef(null),hs=jt(),xs=(0,de.Z)(hs,3),Ms=xs[0],zs=xs[1],Ws=xs[2];Pe.useImperativeHandle(Pt,function(){var ga,fa;return{focus:(ga=Wl.current)===null||ga===void 0?void 0:ga.focus,blur:(fa=Wl.current)===null||fa===void 0?void 0:fa.blur,scrollTo:function(Ea){var ua;return(ua=Xl.current)===null||ua===void 0?void 0:ua.scrollTo(Ea)}}});var Bs=Pe.useMemo(function(){var ga;if(Oa!=="combobox")return Gi;var fa=(ga=lr[0])===null||ga===void 0?void 0:ga.value;return typeof fa=="string"||typeof fa=="number"?String(fa):""},[Gi,Oa,lr]),Xs=Oa==="combobox"&&typeof Wa=="function"&&Wa()||null,Ul=typeof ai=="function"&&ai(),Le=Ot(Go,Ul==null||(Kn=Ul.props)===null||Kn===void 0?void 0:Kn.ref),Je=Pe.useState(!1),it=(0,de.Z)(Je,2),Ce=it[0],Ie=it[1];mt(function(){Ie(!0)},[]);var St=wt(!1,{defaultValue:Va,value:_a}),bt=(0,de.Z)(St,2),en=bt[0],_t=bt[1],Wt=Ce?en:!1,Wn=!ba&&Ir;(da||Wn&&Wt&&Oa==="combobox")&&(Wt=!1);var bn=Wn?!1:Wt,On=Pe.useCallback(function(ga){var fa=ga!==void 0?ga:!Wt;da||(_t(fa),Wt!==fa&&(ei==null||ei(fa)))},[da,Wt,_t,ei]),Mr=Pe.useMemo(function(){return(Ki||[]).some(function(ga){return[`
|
|
|
`,`\r
|
|
|
`].includes(ga)})},[Ki]),vr=function(fa,Ba,Ea){var ua=!0,Xa=fa;Ei==null||Ei(null);var ra=Ea?null:Er(fa,Ki);return Oa!=="combobox"&&ra&&(Xa="",So==null||So(ra),On(!1),ua=!1),Qi&&Bs!==Xa&&Qi(Xa,{source:Ba?"typing":"effect"}),ua},ir=function(fa){!fa||!fa.trim()||Qi(fa,{source:"submit"})};Pe.useEffect(function(){!Wt&&!$l&&Oa!=="combobox"&&vr("",!1,!1)},[Wt]),Pe.useEffect(function(){en&&da&&_t(!1),da&&zs(!1)},[da]);var ur=Mt(),Pr=(0,de.Z)(ur,2),Wr=Pr[0],na=Pr[1],Ma=function(fa){var Ba=Wr(),Ea=fa.which;if(Ea===Be.ENTER&&(Oa!=="combobox"&&fa.preventDefault(),Wt||On(!0)),na(!!Bs),Ea===Be.BACKSPACE&&!Ba&&$l&&!Bs&&lr.length){for(var ua=(0,qe.Z)(lr),Xa=null,ra=ua.length-1;ra>=0;ra-=1){var Ya=ua[ra];if(!Ya.disabled){ua.splice(ra,1),Xa=Ya;break}}Xa&&Xr(ua,{type:"remove",values:[Xa]})}for(var Ha=arguments.length,Ua=new Array(Ha>1?Ha-1:0),La=1;La<Ha;La++)Ua[La-1]=arguments[La];if(Wt&&Xl.current){var si;(si=Xl.current).onKeyDown.apply(si,[fa].concat(Ua))}Ql==null||Ql.apply(void 0,[fa].concat(Ua))},_e=function(fa){for(var Ba=arguments.length,Ea=new Array(Ba>1?Ba-1:0),ua=1;ua<Ba;ua++)Ea[ua-1]=arguments[ua];if(Wt&&Xl.current){var Xa;(Xa=Xl.current).onKeyUp.apply(Xa,[fa].concat(Ea))}ls==null||ls.apply(void 0,[fa].concat(Ea))},yt=function(fa){var Ba=lr.filter(function(Ea){return Ea!==fa});Xr(Ba,{type:"remove",values:[fa]})},Ht=Pe.useRef(!1),je=function(){zs(!0),da||(Oo&&!Ht.current&&Oo.apply(void 0,arguments),Dl.includes("focus")&&On(!0)),Ht.current=!0},Yt=function(){zs(!1,function(){Ht.current=!1,On(!1)}),!da&&(Bs&&(Oa==="tags"?Qi(Bs,{source:"submit"}):Oa==="multiple"&&Qi("",{source:"blur"})),jl&&jl.apply(void 0,arguments))},fn=[];Pe.useEffect(function(){return function(){fn.forEach(function(ga){return clearTimeout(ga)}),fn.splice(0,fn.length)}},[]);var Rn=function(fa){var Ba,Ea=fa.target,ua=(Ba=ol.current)===null||Ba===void 0?void 0:Ba.getPopupElement();if(ua&&ua.contains(Ea)){var Xa=setTimeout(function(){var Ua=fn.indexOf(Xa);if(Ua!==-1&&fn.splice(Ua,1),Ws(),!ms&&!ua.contains(document.activeElement)){var La;(La=Wl.current)===null||La===void 0||La.focus()}});fn.push(Xa)}for(var ra=arguments.length,Ya=new Array(ra>1?ra-1:0),Ha=1;Ha<ra;Ha++)Ya[Ha-1]=arguments[Ha];Al==null||Al.apply(void 0,[fa].concat(Ya))},Bt=Pe.useState({}),Qt=(0,de.Z)(Bt,2),rn=Qt[1];function Vn(){rn({})}var $n;Ul&&($n=function(fa){On(fa)}),Kt(function(){var ga;return[ns.current,(ga=ol.current)===null||ga===void 0?void 0:ga.getPopupElement()]},bn,On,!!Ul);var br=Pe.useMemo(function(){return(0,ke.Z)((0,ke.Z)({},Dt),{},{notFoundContent:ba,open:Wt,triggerOpen:bn,id:xr,showSearch:Rl,multiple:$l,toggleOpen:On})},[Dt,ba,bn,Wt,xr,Rl,$l,On]),sr=!!ko||Ur,kr;sr&&(kr=Pe.createElement(ht,{className:fe()("".concat(zr,"-arrow"),(0,we.Z)({},"".concat(zr,"-arrow-loading"),Ur)),customizeIcon:ko,customizeIconProps:{loading:Ur,searchValue:Bs,open:Wt,focused:Ms,showSearch:Rl}}));var Hr=function(){var fa;va==null||va(),(fa=Wl.current)===null||fa===void 0||fa.focus(),Xr([],{type:"clear",values:lr}),vr("",!1,!1)},ta=Ne(zr,Hr,lr,Ai,Bo,da,Bs,Oa),Rr=ta.allowClear,Pa=ta.clearIcon,sa=Pe.createElement(zi,{ref:Xl}),Da=fe()(zr,Lr,(Bn={},(0,we.Z)(Bn,"".concat(zr,"-focused"),Ms),(0,we.Z)(Bn,"".concat(zr,"-multiple"),$l),(0,we.Z)(Bn,"".concat(zr,"-single"),!$l),(0,we.Z)(Bn,"".concat(zr,"-allow-clear"),Ai),(0,we.Z)(Bn,"".concat(zr,"-show-arrow"),sr),(0,we.Z)(Bn,"".concat(zr,"-disabled"),da),(0,we.Z)(Bn,"".concat(zr,"-loading"),Ur),(0,we.Z)(Bn,"".concat(zr,"-open"),Wt),(0,we.Z)(Bn,"".concat(zr,"-customize-input"),Xs),(0,we.Z)(Bn,"".concat(zr,"-show-search"),Rl),Bn)),Ga=Pe.createElement(za,{ref:ol,disabled:da,prefixCls:zr,visible:bn,popupElement:sa,animation:gl,transitionName:El,dropdownStyle:il,dropdownClassName:Vo,direction:Jt,dropdownMatchSelectWidth:go,dropdownRender:_l,dropdownAlign:jo,placement:mo,builtinPlacements:el,getPopupContainer:Vl,empty:Ir,getTriggerDOMNode:function(){return Go.current},onPopupVisibleChange:$n,onPopupMouseEnter:Vn},Ul?Pe.cloneElement(Ul,{ref:Le}):Pe.createElement(mn,(0,De.Z)({},Dt,{domRef:Go,prefixCls:zr,inputElement:Xs,ref:Wl,id:xr,showSearch:Rl,autoClearSearchValue:po,mode:Oa,activeDescendantId:Wi,tagRender:un,values:lr,open:Wt,onToggleOpen:On,activeValue:Yi,searchValue:Bs,onSearch:vr,onSearchSubmit:ir,onRemove:yt,tokenWithEnter:Mr}))),la;return Ul?la=Ga:la=Pe.createElement("div",(0,De.Z)({className:Da},Il,{ref:ns,onMouseDown:Rn,onKeyDown:Ma,onKeyUp:_e,onFocus:je,onBlur:Yt}),Ms&&!Wt&&Pe.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(lr.map(function(ga){var fa=ga.label,Ba=ga.value;return["number","string"].includes((0,me.Z)(fa))?fa:Ba}).join(", "))),Ga,kr,Rr&&Pa),Pe.createElement(At.Provider,{value:br},la)}),hi=ni,io=function(Dt,Pt){var Kn=Pe.useRef({values:new Map,options:new Map}),Bn=Pe.useMemo(function(){var zr=Kn.current,Lr=zr.values,ca=zr.options,un=Dt.map(function(lr){if(lr.label===void 0){var Xr;return(0,ke.Z)((0,ke.Z)({},lr),{},{label:(Xr=Lr.get(lr.value))===null||Xr===void 0?void 0:Xr.label})}return lr}),Jt=new Map,yn=new Map;return un.forEach(function(lr){Jt.set(lr.value,lr),yn.set(lr.value,Pt.get(lr.value)||ca.get(lr.value))}),Kn.current.values=Jt,Kn.current.options=yn,un},[Dt,Pt]),xr=Pe.useCallback(function(zr){return Pt.get(zr)||Kn.current.options.get(zr)},[Pt]);return[Bn,xr]};function ri(Dt,Pt){return Si(Dt).join("").toUpperCase().includes(Pt)}var ho=function(Dt,Pt,Kn,Bn,xr){return Pe.useMemo(function(){if(!Kn||Bn===!1)return Dt;var zr=Pt.options,Lr=Pt.label,ca=Pt.value,un=[],Jt=typeof Bn=="function",yn=Kn.toUpperCase(),lr=Jt?Bn:function(Ir,yr){return xr?ri(yr[xr],yn):yr[zr]?ri(yr[Lr!=="children"?Lr:"label"],yn):ri(yr[ca],yn)},Xr=Jt?function(Ir){return ka(Ir)}:function(Ir){return Ir};return Dt.forEach(function(Ir){if(Ir[zr]){var yr=lr(Kn,Xr(Ir));if(yr)un.push(Ir);else{var ba=Ir[zr].filter(function(va){return lr(Kn,Xr(va))});ba.length&&un.push((0,ke.Z)((0,ke.Z)({},Ir),{},(0,we.Z)({},zr,ba)))}return}lr(Kn,Xr(Ir))&&un.push(Ir)}),un},[Dt,Bn,xr,Kn,Pt])},ia=0,so=ue();function xo(){var Dt;return so?(Dt=ia,ia+=1):Dt="TEST_OR_SSR",Dt}function ml(Dt){var Pt=Pe.useState(),Kn=(0,de.Z)(Pt,2),Bn=Kn[0],xr=Kn[1];return Pe.useEffect(function(){xr("rc_select_".concat(xo()))},[]),Dt||Bn}function vl(Dt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Kn=[];return Pe.Children.forEach(Dt,function(Bn){Bn==null&&!Pt.keepEmpty||(Array.isArray(Bn)?Kn=Kn.concat(vl(Bn)):(0,gt.isFragment)(Bn)&&Bn.props?Kn=Kn.concat(vl(Bn.props.children,Pt)):Kn.push(Bn))}),Kn}var Yo=["children","value"],uo=["children"];function wl(Dt){var Pt=Dt,Kn=Pt.key,Bn=Pt.props,xr=Bn.children,zr=Bn.value,Lr=(0,Se.Z)(Bn,Yo);return(0,ke.Z)({key:Kn,value:zr!==void 0?zr:Kn,children:xr},Lr)}function Qo(Dt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return vl(Dt).map(function(Kn,Bn){if(!Pe.isValidElement(Kn)||!Kn.type)return null;var xr=Kn,zr=xr.type.isSelectOptGroup,Lr=xr.key,ca=xr.props,un=ca.children,Jt=(0,Se.Z)(ca,uo);return Pt||!zr?wl(Kn):(0,ke.Z)((0,ke.Z)({key:"__RC_SELECT_GRP__".concat(Lr===null?Bn:Lr,"__"),label:Lr},Jt),{},{options:Qo(un)})}).filter(function(Kn){return Kn})}function dl(Dt,Pt,Kn,Bn,xr){return Pe.useMemo(function(){var zr=Dt,Lr=!Dt;Lr&&(zr=Qo(Pt));var ca=new Map,un=new Map,Jt=function(Xr,Ir,yr){yr&&typeof yr=="string"&&Xr.set(Ir[yr],Ir)};function yn(lr){for(var Xr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ir=0;Ir<lr.length;Ir+=1){var yr=lr[Ir];!yr[Kn.options]||Xr?(ca.set(yr[Kn.value],yr),Jt(un,yr,Kn.label),Jt(un,yr,Bn),Jt(un,yr,xr)):yn(yr[Kn.options],!0)}}return yn(zr),{options:zr,valueOptions:ca,labelOptions:un}},[Dt,Pt,Kn,Bn,xr])}function zl(Dt){var Pt=Pe.useRef();Pt.current=Dt;var Kn=Pe.useCallback(function(){return Pt.current.apply(Pt,arguments)},[]);return Kn}var bl=function(){return null};bl.isSelectOptGroup=!0;var Sl=bl,Ci=function(){return null};Ci.isSelectOption=!0;var Do=Ci;function Pi(Dt,Pt){var Kn=(0,ke.Z)({},Dt);return Array.isArray(Pt)&&Pt.forEach(function(Bn){delete Kn[Bn]}),Kn}var Bi=ee(73299),zn=Pe.createContext(null),Cn=zn;function mr(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Yr=["disabled","title","children","style","className"];function ha(Dt){return typeof Dt=="string"||typeof Dt=="number"}var mi=function(Pt,Kn){var Bn=An(),xr=Bn.prefixCls,zr=Bn.id,Lr=Bn.open,ca=Bn.multiple,un=Bn.mode,Jt=Bn.searchValue,yn=Bn.toggleOpen,lr=Bn.notFoundContent,Xr=Bn.onPopupScroll,Ir=Pe.useContext(Cn),yr=Ir.flattenOptions,ba=Ir.onActiveValue,va=Ir.defaultActiveFirstOption,Oa=Ir.onSelect,da=Ir.menuItemSelectedIcon,Ur=Ir.rawValues,Wa=Ir.fieldNames,ai=Ir.virtual,_a=Ir.direction,Va=Ir.listHeight,ei=Ir.listItemHeight,Yi="".concat(xr,"-item"),Ei=ze(function(){return yr},[Lr,yr],function(jo,mo){return mo[0]&&jo[1]!==mo[1]}),Wi=Pe.useRef(null),Gi=function(mo){mo.preventDefault()},po=function(mo){Wi.current&&Wi.current.scrollTo(typeof mo=="number"?{index:mo}:mo)},Qi=function(mo){for(var el=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Vl=Ei.length,fl=0;fl<Vl;fl+=1){var Dl=(mo+fl*el+Vl)%Vl,Oo=Ei[Dl],jl=Oo.group,ls=Oo.data;if(!jl&&!ls.disabled)return Dl}return-1},So=Pe.useState(function(){return Qi(0)}),Ki=(0,de.Z)(So,2),Ai=Ki[0],ko=Ki[1],Bo=function(mo){var el=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ko(mo);var Vl={source:el?"keyboard":"mouse"},fl=Ei[mo];if(!fl){ba(null,-1,Vl);return}ba(fl.value,mo,Vl)};(0,Pe.useEffect)(function(){Bo(va!==!1?Qi(0):-1)},[Ei.length,Jt]);var zi=Pe.useCallback(function(jo){return Ur.has(jo)&&un!=="combobox"},[un,(0,qe.Z)(Ur).toString(),Ur.size]);(0,Pe.useEffect)(function(){var jo=setTimeout(function(){if(!ca&&Lr&&Ur.size===1){var el=Array.from(Ur)[0],Vl=Ei.findIndex(function(fl){var Dl=fl.data;return Dl.value===el});Vl!==-1&&(Bo(Vl),po(Vl))}});if(Lr){var mo;(mo=Wi.current)===null||mo===void 0||mo.scrollTo(void 0)}return function(){return clearTimeout(jo)}},[Lr,Jt,yr.length]);var gl=function(mo){mo!==void 0&&Oa(mo,{selected:!Ur.has(mo)}),ca||yn(!1)};if(Pe.useImperativeHandle(Kn,function(){return{onKeyDown:function(mo){var el=mo.which,Vl=mo.ctrlKey;switch(el){case Be.N:case Be.P:case Be.UP:case Be.DOWN:{var fl=0;if(el===Be.UP?fl=-1:el===Be.DOWN?fl=1:mr()&&Vl&&(el===Be.N?fl=1:el===Be.P&&(fl=-1)),fl!==0){var Dl=Qi(Ai+fl,fl);po(Dl),Bo(Dl,!0)}break}case Be.ENTER:{var Oo=Ei[Ai];Oo&&!Oo.data.disabled?gl(Oo.value):gl(void 0),Lr&&mo.preventDefault();break}case Be.ESC:yn(!1),Lr&&mo.stopPropagation()}},onKeyUp:function(){},scrollTo:function(mo){po(mo)}}}),Ei.length===0)return Pe.createElement("div",{role:"listbox",id:"".concat(zr,"_list"),className:"".concat(Yi,"-empty"),onMouseDown:Gi},lr);var El=Object.keys(Wa).map(function(jo){return Wa[jo]}),il=function(mo){return mo.label};function Vo(jo,mo){var el=jo.group;return{role:el?"presentation":"option",id:"".concat(zr,"_list_").concat(mo)}}var go=function(mo){var el=Ei[mo];if(!el)return null;var Vl=el.data||{},fl=Vl.value,Dl=el.group,Oo=En(Vl,!0),jl=il(el);return el?Pe.createElement("div",(0,De.Z)({"aria-label":typeof jl=="string"&&!Dl?jl:null},Oo,{key:mo},Vo(el,mo),{"aria-selected":zi(fl)}),fl):null},_l={role:"listbox",id:"".concat(zr,"_list")};return Pe.createElement(Pe.Fragment,null,ai&&Pe.createElement("div",(0,De.Z)({},_l,{style:{height:0,width:0,overflow:"hidden"}}),go(Ai-1),go(Ai),go(Ai+1)),Pe.createElement(Bi.Z,{itemKey:"key",ref:Wi,data:Ei,height:Va,itemHeight:ei,fullHeight:!1,onMouseDown:Gi,onScroll:Xr,virtual:ai,direction:_a,innerProps:ai?null:_l},function(jo,mo){var el,Vl=jo.group,fl=jo.groupOption,Dl=jo.data,Oo=jo.label,jl=jo.value,ls=Dl.key;if(Vl){var Ql,Al=(Ql=Dl.title)!==null&&Ql!==void 0?Ql:ha(Oo)?Oo.toString():void 0;return Pe.createElement("div",{className:fe()(Yi,"".concat(Yi,"-group")),title:Al},Oo!==void 0?Oo:ls)}var Tl=Dl.disabled,$l=Dl.title,Rl=Dl.children,Il=Dl.style,ss=Dl.className,us=(0,Se.Z)(Dl,Yr),ms=Pi(us,El),ts=zi(jl),ns="".concat(Yi,"-option"),Go=fe()(Yi,ns,ss,(el={},(0,we.Z)(el,"".concat(ns,"-grouped"),fl),(0,we.Z)(el,"".concat(ns,"-active"),Ai===mo&&!Tl),(0,we.Z)(el,"".concat(ns,"-disabled"),Tl),(0,we.Z)(el,"".concat(ns,"-selected"),ts),el)),ol=il(jo),Wl=!da||typeof da=="function"||ts,Xl=typeof ol=="number"?ol:ol||jl,hs=ha(Xl)?Xl.toString():void 0;return $l!==void 0&&(hs=$l),Pe.createElement("div",(0,De.Z)({},En(ms),ai?{}:Vo(jo,mo),{"aria-selected":ts,className:Go,title:hs,onMouseMove:function(){Ai===mo||Tl||Bo(mo)},onClick:function(){Tl||gl(jl)},style:Il}),Pe.createElement("div",{className:"".concat(ns,"-content")},Xl),Pe.isValidElement(da)||ts,Wl&&Pe.createElement(ht,{className:"".concat(Yi,"-option-state"),customizeIcon:da,customizeIconProps:{isSelected:ts}},ts?"\u2713":null))}))},xi=Pe.forwardRef(mi);xi.displayName="OptionList";var Ui=xi;function di(Dt){var Pt=Dt.mode,Kn=Dt.options,Bn=Dt.children,xr=Dt.backfill,zr=Dt.allowClear,Lr=Dt.placeholder,ca=Dt.getInputElement,un=Dt.showSearch,Jt=Dt.onSearch,yn=Dt.defaultOpen,lr=Dt.autoFocus,Xr=Dt.labelInValue,Ir=Dt.value,yr=Dt.inputValue,ba=Dt.optionLabelProp,va=isMultiple(Pt),Oa=un!==void 0?un:va||Pt==="combobox",da=Kn||convertChildrenToData(Bn);if(warning(Pt!=="tags"||da.every(function(_a){return!_a.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Pt==="tags"||Pt==="combobox"){var Ur=da.some(function(_a){return _a.options?_a.options.some(function(Va){return typeof("value"in Va?Va.value:Va.key)=="number"}):typeof("value"in _a?_a.value:_a.key)=="number"});warning(!Ur,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Pt!=="combobox"||!ba,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Pt==="combobox"||!xr,"`backfill` only works with `combobox` mode."),warning(Pt==="combobox"||!ca,"`getInputElement` only work with `combobox` mode."),noteOnce(Pt!=="combobox"||!ca||!zr||!Lr,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Jt&&!Oa&&Pt!=="combobox"&&Pt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!yn||lr,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Ir!=null){var Wa=toArray(Ir);warning(!Xr||Wa.every(function(_a){return _typeof(_a)==="object"&&("key"in _a||"value"in _a)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!va||Array.isArray(Ir),"`value` should be array when `mode` is `multiple` or `tags`")}if(Bn){var ai=null;toNodeArray(Bn).some(function(_a){if(!React.isValidElement(_a)||!_a.type)return!1;var Va=_a,ei=Va.type;if(ei.isSelectOption)return!1;if(ei.isSelectOptGroup){var Yi=toNodeArray(_a.props.children).every(function(Ei){return!React.isValidElement(Ei)||!_a.type||Ei.type.isSelectOption?!0:(ai=Ei.type,!1)});return!Yi}return ai=ei,!0}),ai&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ai.displayName||ai.name||ai,"`.")),warning(yr===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Mi(Dt,Pt){if(Dt){var Kn=function Bn(xr){for(var zr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Lr=0;Lr<xr.length;Lr++){var ca=xr[Lr];if(ca[Pt==null?void 0:Pt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!zr&&Array.isArray(ca[Pt==null?void 0:Pt.options])&&Bn(ca[Pt==null?void 0:Pt.options],!0))break}};Kn(Dt)}}var Ao=null,Wo=["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"],$o=["inputValue"];function He(Dt){return!Dt||(0,me.Z)(Dt)!=="object"}var tt=Pe.forwardRef(function(Dt,Pt){var Kn=Dt.id,Bn=Dt.mode,xr=Dt.prefixCls,zr=xr===void 0?"rc-select":xr,Lr=Dt.backfill,ca=Dt.fieldNames,un=Dt.inputValue,Jt=Dt.searchValue,yn=Dt.onSearch,lr=Dt.autoClearSearchValue,Xr=lr===void 0?!0:lr,Ir=Dt.onSelect,yr=Dt.onDeselect,ba=Dt.dropdownMatchSelectWidth,va=ba===void 0?!0:ba,Oa=Dt.filterOption,da=Dt.filterSort,Ur=Dt.optionFilterProp,Wa=Dt.optionLabelProp,ai=Dt.options,_a=Dt.children,Va=Dt.defaultActiveFirstOption,ei=Dt.menuItemSelectedIcon,Yi=Dt.virtual,Ei=Dt.direction,Wi=Dt.listHeight,Gi=Wi===void 0?200:Wi,po=Dt.listItemHeight,Qi=po===void 0?20:po,So=Dt.value,Ki=Dt.defaultValue,Ai=Dt.labelInValue,ko=Dt.onChange,Bo=(0,Se.Z)(Dt,Wo),zi=ml(Kn),gl=Ii(Bn),El=!!(!ai&&_a),il=Pe.useMemo(function(){return Oa===void 0&&Bn==="combobox"?!1:Oa},[Oa,Bn]),Vo=Pe.useMemo(function(){return Sa(ca,El)},[JSON.stringify(ca),El]),go=wt("",{value:Jt!==void 0?Jt:un,postState:function(Wn){return Wn||""}}),_l=(0,de.Z)(go,2),jo=_l[0],mo=_l[1],el=dl(ai,_a,Vo,Ur,Wa),Vl=el.valueOptions,fl=el.labelOptions,Dl=el.options,Oo=Pe.useCallback(function(Wt){var Wn=Si(Wt);return Wn.map(function(bn){var On,Mr,vr,ir,ur;if(He(bn))On=bn;else{var Pr;vr=bn.key,Mr=bn.label,On=(Pr=bn.value)!==null&&Pr!==void 0?Pr:vr}var Wr=Vl.get(On);if(Wr){var na;if(Mr===void 0&&(Mr=Wr==null?void 0:Wr[Wa||Vo.label]),vr===void 0&&(vr=(na=Wr==null?void 0:Wr.key)!==null&&na!==void 0?na:On),ir=Wr==null?void 0:Wr.disabled,ur=Wr==null?void 0:Wr.title,0)var Ma}return{label:Mr,value:On,key:vr,disabled:ir,title:ur}})},[Vo,Wa,Vl]),jl=wt(Ki,{value:So}),ls=(0,de.Z)(jl,2),Ql=ls[0],Al=ls[1],Tl=Pe.useMemo(function(){var Wt,Wn=Oo(Ql);return Bn==="combobox"&&Ln((Wt=Wn[0])===null||Wt===void 0?void 0:Wt.value)?[]:Wn},[Ql,Oo,Bn]),$l=io(Tl,Vl),Rl=(0,de.Z)($l,2),Il=Rl[0],ss=Rl[1],us=Pe.useMemo(function(){if(!Bn&&Il.length===1){var Wt=Il[0];if(Wt.value===null&&(Wt.label===null||Wt.label===void 0))return[]}return Il.map(function(Wn){var bn;return(0,ke.Z)((0,ke.Z)({},Wn),{},{label:(bn=Wn.label)!==null&&bn!==void 0?bn:Wn.value})})},[Bn,Il]),ms=Pe.useMemo(function(){return new Set(Il.map(function(Wt){return Wt.value}))},[Il]);Pe.useEffect(function(){if(Bn==="combobox"){var Wt,Wn=(Wt=Il[0])===null||Wt===void 0?void 0:Wt.value;mo(Ni(Wn)?String(Wn):"")}},[Il]);var ts=zl(function(Wt,Wn){var bn,On=Wn!=null?Wn:Wt;return bn={},(0,we.Z)(bn,Vo.value,Wt),(0,we.Z)(bn,Vo.label,On),bn}),ns=Pe.useMemo(function(){if(Bn!=="tags")return Dl;var Wt=(0,qe.Z)(Dl),Wn=function(On){return Vl.has(On)};return(0,qe.Z)(Il).sort(function(bn,On){return bn.value<On.value?-1:1}).forEach(function(bn){var On=bn.value;Wn(On)||Wt.push(ts(On,bn.label))}),Wt},[ts,Dl,Vl,Il,Bn]),Go=ho(ns,Vo,jo,il,Ur),ol=Pe.useMemo(function(){return Bn!=="tags"||!jo||Go.some(function(Wt){return Wt[Ur||"value"]===jo})||Go.some(function(Wt){return Wt[Vo.value]===jo})?Go:[ts(jo)].concat((0,qe.Z)(Go))},[ts,Ur,Bn,Go,jo,Vo]),Wl=Pe.useMemo(function(){return da?(0,qe.Z)(ol).sort(function(Wt,Wn){return da(Wt,Wn)}):ol},[ol,da]),Xl=Pe.useMemo(function(){return Aa(Wl,{fieldNames:Vo,childrenAsData:El})},[Wl,Vo,El]),hs=function(Wn){var bn=Oo(Wn);if(Al(bn),ko&&(bn.length!==Il.length||bn.some(function(vr,ir){var ur;return((ur=Il[ir])===null||ur===void 0?void 0:ur.value)!==(vr==null?void 0:vr.value)}))){var On=Ai?bn:bn.map(function(vr){return vr.value}),Mr=bn.map(function(vr){return ka(ss(vr.value))});ko(gl?On:On[0],gl?Mr:Mr[0])}},xs=Pe.useState(null),Ms=(0,de.Z)(xs,2),zs=Ms[0],Ws=Ms[1],Bs=Pe.useState(0),Xs=(0,de.Z)(Bs,2),Ul=Xs[0],Le=Xs[1],Je=Va!==void 0?Va:Bn!=="combobox",it=Pe.useCallback(function(Wt,Wn){var bn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},On=bn.source,Mr=On===void 0?"keyboard":On;Le(Wn),Lr&&Bn==="combobox"&&Wt!==null&&Mr==="keyboard"&&Ws(String(Wt))},[Lr,Bn]),Ce=function(Wn,bn,On){var Mr=function(){var Ht,je=ss(Wn);return[Ai?{label:je==null?void 0:je[Vo.label],value:Wn,key:(Ht=je==null?void 0:je.key)!==null&&Ht!==void 0?Ht:Wn}:Wn,ka(je)]};if(bn&&Ir){var vr=Mr(),ir=(0,de.Z)(vr,2),ur=ir[0],Pr=ir[1];Ir(ur,Pr)}else if(!bn&&yr&&On!=="clear"){var Wr=Mr(),na=(0,de.Z)(Wr,2),Ma=na[0],_e=na[1];yr(Ma,_e)}},Ie=zl(function(Wt,Wn){var bn,On=gl?Wn.selected:!0;On?bn=gl?[].concat((0,qe.Z)(Il),[Wt]):[Wt]:bn=Il.filter(function(Mr){return Mr.value!==Wt}),hs(bn),Ce(Wt,On),Bn==="combobox"?Ws(""):(!Ii||Xr)&&(mo(""),Ws(""))}),St=function(Wn,bn){hs(Wn);var On=bn.type,Mr=bn.values;(On==="remove"||On==="clear")&&Mr.forEach(function(vr){Ce(vr.value,!1,On)})},bt=function(Wn,bn){if(mo(Wn),Ws(null),bn.source==="submit"){var On=(Wn||"").trim();if(On){var Mr=Array.from(new Set([].concat((0,qe.Z)(ms),[On])));hs(Mr),Ce(On,!0),mo("")}return}bn.source!=="blur"&&(Bn==="combobox"&&hs(Wn),yn==null||yn(Wn))},en=function(Wn){var bn=Wn;Bn!=="tags"&&(bn=Wn.map(function(Mr){var vr=fl.get(Mr);return vr==null?void 0:vr.value}).filter(function(Mr){return Mr!==void 0}));var On=Array.from(new Set([].concat((0,qe.Z)(ms),(0,qe.Z)(bn))));hs(On),On.forEach(function(Mr){Ce(Mr,!0)})},_t=Pe.useMemo(function(){var Wt=Yi!==!1&&va!==!1;return(0,ke.Z)((0,ke.Z)({},el),{},{flattenOptions:Xl,onActiveValue:it,defaultActiveFirstOption:Je,onSelect:Ie,menuItemSelectedIcon:ei,rawValues:ms,fieldNames:Vo,virtual:Wt,direction:Ei,listHeight:Gi,listItemHeight:Qi,childrenAsData:El})},[el,Xl,it,Je,Ie,ei,ms,Vo,Yi,va,Gi,Qi,El]);return Pe.createElement(Cn.Provider,{value:_t},Pe.createElement(hi,(0,De.Z)({},Bo,{id:zi,prefixCls:zr,ref:Pt,omitDomProps:$o,mode:Bn,displayValues:us,onDisplayValuesChange:St,direction:Ei,searchValue:jo,onSearch:bt,autoClearSearchValue:Xr,onSearchSplit:en,dropdownMatchSelectWidth:va,OptionList:Ui,emptyOptions:!Xl.length,activeValue:zs,activeDescendantId:"".concat(zi,"_list_").concat(Ul)})))}),Nt=tt;Nt.Option=Do,Nt.OptGroup=Sl;var pe=Nt,Oe=pe,Ae=ee(10366),Ke=ee(8745),Qe=ee(33603),at=ee(9708),pt=ee(53124),$t=ee(98866),tn=ee(88258),Yn=ee(98675),fr=ee(65223),Cr=ee(4173),Dn=ee(87244),qn=ee(13458),Xn=ee(78642),Ar=ee(46163),Or=function(Dt,Pt){var Kn={};for(var Bn in Dt)Object.prototype.hasOwnProperty.call(Dt,Bn)&&Pt.indexOf(Bn)<0&&(Kn[Bn]=Dt[Bn]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xr=0,Bn=Object.getOwnPropertySymbols(Dt);xr<Bn.length;xr++)Pt.indexOf(Bn[xr])<0&&Object.prototype.propertyIsEnumerable.call(Dt,Bn[xr])&&(Kn[Bn[xr]]=Dt[Bn[xr]]);return Kn};const Kr="SECRET_COMBOBOX_MODE_DO_NOT_USE",Tr=(Dt,Pt)=>{var Kn,{prefixCls:Bn,bordered:xr=!0,className:zr,rootClassName:Lr,getPopupContainer:ca,popupClassName:un,dropdownClassName:Jt,listHeight:yn=256,placement:lr,listItemHeight:Xr=24,size:Ir,disabled:yr,notFoundContent:ba,status:va,builtinPlacements:Oa,dropdownMatchSelectWidth:da,popupMatchSelectWidth:Ur,direction:Wa,style:ai,allowClear:_a}=Dt,Va=Or(Dt,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:ei,getPrefixCls:Yi,renderEmpty:Ei,direction:Wi,virtual:Gi,popupMatchSelectWidth:po,popupOverflow:Qi,select:So}=Pe.useContext(pt.E_),Ki=Yi("select",Bn),Ai=Yi(),ko=Wa!=null?Wa:Wi,{compactSize:Bo,compactItemClassnames:zi}=(0,Cr.ri)(Ki,ko),[gl,El]=(0,Dn.Z)(Ki),il=Pe.useMemo(()=>{const{mode:ns}=Va;if(ns!=="combobox")return ns===Kr?"combobox":ns},[Va.mode]),Vo=il==="multiple"||il==="tags",go=(0,Xn.Z)(Va.suffixIcon,Va.showArrow),_l=(Kn=Ur!=null?Ur:da)!==null&&Kn!==void 0?Kn:po,{status:jo,hasFeedback:mo,isFormItemInput:el,feedbackIcon:Vl}=Pe.useContext(fr.aM),fl=(0,at.F)(jo,va);let Dl;ba!==void 0?Dl=ba:il==="combobox"?Dl=null:Dl=(Ei==null?void 0:Ei("Select"))||Pe.createElement(tn.Z,{componentName:"Select"});const{suffixIcon:Oo,itemIcon:jl,removeIcon:ls,clearIcon:Ql}=(0,Ar.Z)(Object.assign(Object.assign({},Va),{multiple:Vo,hasFeedback:mo,feedbackIcon:Vl,showSuffixIcon:go,prefixCls:Ki,showArrow:Va.showArrow,componentName:"Select"})),Al=_a===!0?{clearIcon:Ql}:_a,Tl=(0,Ae.Z)(Va,["suffixIcon","itemIcon"]),$l=fe()(un||Jt,{[`${Ki}-dropdown-${ko}`]:ko==="rtl"},Lr,El),Rl=(0,Yn.Z)(ns=>{var Go;return(Go=Ir!=null?Ir:Bo)!==null&&Go!==void 0?Go:ns}),Il=Pe.useContext($t.Z),ss=yr!=null?yr:Il,us=fe()({[`${Ki}-lg`]:Rl==="large",[`${Ki}-sm`]:Rl==="small",[`${Ki}-rtl`]:ko==="rtl",[`${Ki}-borderless`]:!xr,[`${Ki}-in-form-item`]:el},(0,at.Z)(Ki,fl,mo),zi,So==null?void 0:So.className,zr,Lr,El),ms=Pe.useMemo(()=>lr!==void 0?lr:ko==="rtl"?"bottomRight":"bottomLeft",[lr,ko]),ts=(0,qn.Z)(Oa,Qi);return gl(Pe.createElement(Oe,Object.assign({ref:Pt,virtual:Gi,showSearch:So==null?void 0:So.showSearch},Tl,{style:Object.assign(Object.assign({},So==null?void 0:So.style),ai),dropdownMatchSelectWidth:_l,builtinPlacements:ts,transitionName:(0,Qe.m)(Ai,"slide-up",Va.transitionName),listHeight:yn,listItemHeight:Xr,mode:il,prefixCls:Ki,placement:ms,direction:ko,suffixIcon:Oo,menuItemSelectedIcon:jl,removeIcon:ls,allowClear:Al,notFoundContent:Dl,className:us,getPopupContainer:ca||ei,dropdownClassName:$l,disabled:ss})))},_r=Pe.forwardRef(Tr),Zr=(0,Ke.Z)(_r);_r.SECRET_COMBOBOX_MODE_DO_NOT_USE=Kr,_r.Option=Do,_r.OptGroup=Sl,_r._InternalPanelDoNotUseOrYouWillBeFired=Zr;var qr=_r},87244:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return ye}});var ne=ee(14747),fe=ee(80110),De=ee(45503),qe=ee(67968),we=ee(67771),ke=ee(33297);const de=ce=>{const{optionHeight:Xe,optionFontSize:et,optionLineHeight:st,optionPadding:ft}=ce;return{position:"relative",display:"block",minHeight:Xe,padding:ft,color:ce.colorText,fontWeight:"normal",fontSize:et,lineHeight:st,boxSizing:"border-box"}};var me=ce=>{const{antCls:Xe,componentCls:et}=ce,st=`${et}-item`,ft=`&${Xe}-slide-up-enter${Xe}-slide-up-enter-active`,Re=`&${Xe}-slide-up-appear${Xe}-slide-up-appear-active`,Be=`&${Xe}-slide-up-leave${Xe}-slide-up-leave-active`,gt=`${et}-dropdown-placement-`;return[{[`${et}-dropdown`]:Object.assign(Object.assign({},(0,ne.Wf)(ce)),{position:"absolute",top:-9999,zIndex:ce.zIndexPopup,boxSizing:"border-box",padding:ce.paddingXXS,overflow:"hidden",fontSize:ce.fontSize,fontVariant:"initial",backgroundColor:ce.colorBgElevated,borderRadius:ce.borderRadiusLG,outline:"none",boxShadow:ce.boxShadowSecondary,[`
|
|
|
${ft}${gt}bottomLeft,
|
|
|
${Re}${gt}bottomLeft
|
|
|
`]:{animationName:we.fJ},[`
|
|
|
${ft}${gt}topLeft,
|
|
|
${Re}${gt}topLeft,
|
|
|
${ft}${gt}topRight,
|
|
|
${Re}${gt}topRight
|
|
|
`]:{animationName:we.Qt},[`${Be}${gt}bottomLeft`]:{animationName:we.Uw},[`
|
|
|
${Be}${gt}topLeft,
|
|
|
${Be}${gt}topRight
|
|
|
`]:{animationName:we.ly},"&-hidden":{display:"none"},[`${st}`]:Object.assign(Object.assign({},de(ce)),{cursor:"pointer",transition:`background ${ce.motionDurationSlow} ease`,borderRadius:ce.borderRadiusSM,"&-group":{color:ce.colorTextDescription,fontSize:ce.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ne.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${st}-option-disabled)`]:{backgroundColor:ce.optionActiveBg},[`&-selected:not(${st}-option-disabled)`]:{color:ce.optionSelectedColor,fontWeight:ce.optionSelectedFontWeight,backgroundColor:ce.optionSelectedBg,[`${st}-option-state`]:{color:ce.colorPrimary}},"&-disabled":{[`&${st}-option-selected`]:{backgroundColor:ce.colorBgContainerDisabled},color:ce.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:ce.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,we.oN)(ce,"slide-up"),(0,we.oN)(ce,"slide-down"),(0,ke.Fm)(ce,"move-up"),(0,ke.Fm)(ce,"move-down")]};const Pe=2,rt=ce=>{let{controlHeightSM:Xe,controlHeight:et,lineWidth:st}=ce;const ft=(et-Xe)/2-st,Re=Math.ceil(ft/2);return[ft,Re]};function ue(ce,Xe){const{componentCls:et,iconCls:st}=ce,ft=`${et}-selection-overflow`,Re=ce.multipleSelectItemHeight,[Be]=rt(ce),gt=Xe?`${et}-${Xe}`:"";return{[`${et}-multiple${gt}`]:{fontSize:ce.fontSize,[ft]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${et}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${Be-Pe}px ${Pe*2}px`,borderRadius:ce.borderRadius,[`${et}-show-search&`]:{cursor:"text"},[`${et}-disabled&`]:{background:ce.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Pe}px 0`,lineHeight:`${Re}px`,visibility:"hidden",content:'"\\a0"'}},[`
|
|
|
&${et}-show-arrow ${et}-selector,
|
|
|
&${et}-allow-clear ${et}-selector
|
|
|
`]:{paddingInlineEnd:ce.fontSizeIcon+ce.controlPaddingHorizontal},[`${et}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:Re,marginTop:Pe,marginBottom:Pe,lineHeight:`${Re-ce.lineWidth*2}px`,background:ce.multipleItemBg,border:`${ce.lineWidth}px ${ce.lineType} ${ce.multipleItemBorderColor}`,borderRadius:ce.borderRadiusSM,cursor:"default",transition:`font-size ${ce.motionDurationSlow}, line-height ${ce.motionDurationSlow}, height ${ce.motionDurationSlow}`,userSelect:"none",marginInlineEnd:Pe*2,paddingInlineStart:ce.paddingXS,paddingInlineEnd:ce.paddingXS/2,[`${et}-disabled&`]:{color:ce.multipleItemColorDisabled,borderColor:ce.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:ce.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ne.Ro)()),{display:"inline-flex",alignItems:"center",color:ce.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${st}`]:{verticalAlign:"-0.2em"},"&:hover":{color:ce.colorIconHover}})},[`${ft}-item + ${ft}-item`]:{[`${et}-selection-search`]:{marginInlineStart:0}},[`${et}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:ce.inputPaddingHorizontalBase-Be,"\n &-input,\n &-mirror\n ":{height:Re,fontFamily:ce.fontFamily,lineHeight:`${Re}px`,transition:`all ${ce.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${et}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:ce.inputPaddingHorizontalBase,insetInlineEnd:ce.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${ce.motionDurationSlow}`}}}}var mt=ce=>{const{componentCls:Xe}=ce,et=(0,De.TS)(ce,{controlHeight:ce.controlHeightSM,multipleSelectItemHeight:ce.controlHeightXS,borderRadius:ce.borderRadiusSM,borderRadiusSM:ce.borderRadiusXS}),st=(0,De.TS)(ce,{fontSize:ce.fontSizeLG,controlHeight:ce.controlHeightLG,multipleSelectItemHeight:ce.multipleItemHeightLG,borderRadius:ce.borderRadiusLG,borderRadiusSM:ce.borderRadius}),[,ft]=rt(ce);return[ue(ce),ue(et,"sm"),{[`${Xe}-multiple${Xe}-sm`]:{[`${Xe}-selection-placeholder`]:{insetInline:ce.controlPaddingHorizontalSM-ce.lineWidth},[`${Xe}-selection-search`]:{marginInlineStart:ft}}},ue(st,"lg")]};function ot(ce,Xe){const{componentCls:et,inputPaddingHorizontalBase:st,borderRadius:ft}=ce,Re=ce.controlHeight-ce.lineWidth*2,Be=Math.ceil(ce.fontSize*1.25),gt=Xe?`${et}-${Xe}`:"";return{[`${et}-single${gt}`]:{fontSize:ce.fontSize,[`${et}-selector`]:Object.assign(Object.assign({},(0,ne.Wf)(ce)),{display:"flex",borderRadius:ft,[`${et}-selection-search`]:{position:"absolute",top:0,insetInlineStart:st,insetInlineEnd:st,bottom:0,"&-input":{width:"100%"}},[`
|
|
|
${et}-selection-item,
|
|
|
${et}-selection-placeholder
|
|
|
`]:{padding:0,lineHeight:`${Re}px`,transition:`all ${ce.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${Re}px`}},[`${et}-selection-item`]:{position:"relative",userSelect:"none"},[`${et}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${et}-selection-item:after`,`${et}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${et}-show-arrow ${et}-selection-item,
|
|
|
&${et}-show-arrow ${et}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:Be},[`&${et}-open ${et}-selection-item`]:{color:ce.colorTextPlaceholder},[`&:not(${et}-customize-input)`]:{[`${et}-selector`]:{width:"100%",height:ce.controlHeight,padding:`0 ${st}px`,[`${et}-selection-search-input`]:{height:Re},"&:after":{lineHeight:`${Re}px`}}},[`&${et}-customize-input`]:{[`${et}-selector`]:{"&:after":{display:"none"},[`${et}-selection-search`]:{position:"static",width:"100%"},[`${et}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${st}px`,"&:after":{display:"none"}}}}}}}function vt(ce){const{componentCls:Xe}=ce,et=ce.controlPaddingHorizontalSM-ce.lineWidth;return[ot(ce),ot((0,De.TS)(ce,{controlHeight:ce.controlHeightSM,borderRadius:ce.borderRadiusSM}),"sm"),{[`${Xe}-single${Xe}-sm`]:{[`&:not(${Xe}-customize-input)`]:{[`${Xe}-selection-search`]:{insetInlineStart:et,insetInlineEnd:et},[`${Xe}-selector`]:{padding:`0 ${et}px`},[`&${Xe}-show-arrow ${Xe}-selection-search`]:{insetInlineEnd:et+ce.fontSize*1.5},[`
|
|
|
&${Xe}-show-arrow ${Xe}-selection-item,
|
|
|
&${Xe}-show-arrow ${Xe}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:ce.fontSize*1.5}}}},ot((0,De.TS)(ce,{controlHeight:ce.singleItemHeightLG,fontSize:ce.fontSizeLG,borderRadius:ce.borderRadiusLG}),"lg")]}const Ee=ce=>{const{componentCls:Xe,selectorBg:et}=ce;return{position:"relative",backgroundColor:et,border:`${ce.lineWidth}px ${ce.lineType} ${ce.colorBorder}`,transition:`all ${ce.motionDurationMid} ${ce.motionEaseInOut}`,input:{cursor:"pointer"},[`${Xe}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${Xe}-disabled&`]:{color:ce.colorTextDisabled,background:ce.colorBgContainerDisabled,cursor:"not-allowed",[`${Xe}-multiple&`]:{background:ce.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},wt=function(ce,Xe){let et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:st,borderHoverColor:ft,outlineColor:Re,antCls:Be}=Xe,gt=et?{[`${st}-selector`]:{borderColor:ft}}:{};return{[ce]:{[`&:not(${st}-disabled):not(${st}-customize-input):not(${Be}-pagination-size-changer)`]:Object.assign(Object.assign({},gt),{[`${st}-focused& ${st}-selector`]:{borderColor:ft,boxShadow:`0 0 0 ${Xe.controlOutlineWidth}px ${Re}`,outline:0},[`&:hover ${st}-selector`]:{borderColor:ft}})}}},Tt=ce=>{const{componentCls:Xe}=ce;return{[`${Xe}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},$e=ce=>{const{componentCls:Xe,inputPaddingHorizontalBase:et,iconCls:st}=ce;return{[Xe]:Object.assign(Object.assign({},(0,ne.Wf)(ce)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${Xe}-customize-input) ${Xe}-selector`]:Object.assign(Object.assign({},Ee(ce)),Tt(ce)),[`${Xe}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},ne.vS),[`${Xe}-selection-placeholder`]:Object.assign(Object.assign({},ne.vS),{flex:1,color:ce.colorTextPlaceholder,pointerEvents:"none"}),[`${Xe}-arrow`]:Object.assign(Object.assign({},(0,ne.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:et,height:ce.fontSizeIcon,marginTop:-ce.fontSizeIcon/2,color:ce.colorTextQuaternary,fontSize:ce.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[st]:{verticalAlign:"top",transition:`transform ${ce.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Xe}-suffix)`]:{pointerEvents:"auto"}},[`${Xe}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Xe}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:et,zIndex:1,display:"inline-block",width:ce.fontSizeIcon,height:ce.fontSizeIcon,marginTop:-ce.fontSizeIcon/2,color:ce.colorTextQuaternary,fontSize:ce.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:ce.clearBg,cursor:"pointer",opacity:0,transition:`color ${ce.motionDurationMid} ease, opacity ${ce.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:ce.colorTextTertiary}},"&:hover":{[`${Xe}-clear`]:{opacity:1}}}),[`${Xe}-has-feedback`]:{[`${Xe}-clear`]:{insetInlineEnd:et+ce.fontSize+ce.paddingXS}}}},ut=ce=>{const{componentCls:Xe}=ce;return[{[Xe]:{[`&-borderless ${Xe}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${Xe}-in-form-item`]:{width:"100%"}}},$e(ce),vt(ce),mt(ce),me(ce),{[`${Xe}-rtl`]:{direction:"rtl"}},wt(Xe,(0,De.TS)(ce,{borderHoverColor:ce.colorPrimaryHover,outlineColor:ce.controlOutline})),wt(`${Xe}-status-error`,(0,De.TS)(ce,{borderHoverColor:ce.colorErrorHover,outlineColor:ce.colorErrorOutline}),!0),wt(`${Xe}-status-warning`,(0,De.TS)(ce,{borderHoverColor:ce.colorWarningHover,outlineColor:ce.colorWarningOutline}),!0),(0,fe.c)(ce,{borderElCls:`${Xe}-selector`,focusElCls:`${Xe}-focused`})]};var ye=(0,qe.Z)("Select",(ce,Xe)=>{let{rootPrefixCls:et}=Xe;const st=(0,De.TS)(ce,{rootPrefixCls:et,inputPaddingHorizontalBase:ce.paddingSM-1,multipleSelectItemHeight:ce.multipleItemHeight});return[ut(st)]},ce=>{const{fontSize:Xe,lineHeight:et,controlHeight:st,controlPaddingHorizontal:ft,zIndexPopupBase:Re,colorText:Be,fontWeightStrong:gt,controlItemBgActive:ze,controlItemBgHover:ct,colorBgContainer:nt,colorFillSecondary:Ot,controlHeightLG:Rt,controlHeightSM:an,colorBgContainerDisabled:ht,colorTextDisabled:Ne}=ce;return{zIndexPopup:Re+50,optionSelectedColor:Be,optionSelectedFontWeight:gt,optionSelectedBg:ze,optionActiveBg:ct,optionPadding:`${(st-Xe*et)/2}px ${ft}px`,optionFontSize:Xe,optionLineHeight:et,optionHeight:st,selectorBg:nt,clearBg:nt,singleItemHeightLG:Rt,multipleItemBg:Ot,multipleItemBorderColor:"transparent",multipleItemHeight:an,multipleItemHeightLG:st,multipleSelectorBgDisabled:ht,multipleItemColorDisabled:Ne,multipleItemBorderColorDisabled:"transparent"}})},13458:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return fe}});const ne=De=>{const we={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:De==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},we),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},we),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},we),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},we),{points:["br","tr"],offset:[0,-4]})}};function fe(De,qe){return De||ne(qe)}},78642:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return ne}});function ne(fe,De){return De!==void 0?De:fe!==null}},46163:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return Se}});var ne=ee(18299),fe=ee(16646),De=ee(73475),qe=ee(42922),we=ee(3407),ke=ee(72395),de=ee(67294);function Se(me){let{suffixIcon:Pe,clearIcon:rt,menuItemSelectedIcon:ue,removeIcon:Ue,loading:mt,multiple:ot,hasFeedback:vt,prefixCls:Ee,showSuffixIcon:wt,feedbackIcon:Tt,showArrow:$e,componentName:ut}=me;const ye=rt!=null?rt:de.createElement(fe.Z,null),ce=ft=>Pe===null&&!vt&&!$e?null:de.createElement(de.Fragment,null,wt!==!1&&ft,vt&&Tt);let Xe=null;if(Pe!==void 0)Xe=ce(Pe);else if(mt)Xe=ce(de.createElement(we.Z,{spin:!0}));else{const ft=`${Ee}-suffix`;Xe=Re=>{let{open:Be,showSearch:gt}=Re;return ce(Be&>?de.createElement(ke.Z,{className:ft}):de.createElement(qe.Z,{className:ft}))}}let et=null;ue!==void 0?et=ue:ot?et=de.createElement(ne.Z,null):et=null;let st=null;return Ue!==void 0?st=Ue:st=de.createElement(De.Z,null),{clearIcon:ye,suffixIcon:Xe,itemIcon:et,removeIcon:st}}},46303:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return he}});var ne=ee(94184),fe=ee.n(ne),De=ee(67294),qe=ee(53124),we=ee(10366),de=be=>{const{prefixCls:ge,className:se,style:Ye,size:xt,shape:pn}=be,on=fe()({[`${ge}-lg`]:xt==="large",[`${ge}-sm`]:xt==="small"}),In=fe()({[`${ge}-circle`]:pn==="circle",[`${ge}-square`]:pn==="square",[`${ge}-round`]:pn==="round"}),Qn=De.useMemo(()=>typeof xt=="number"?{width:xt,height:xt,lineHeight:`${xt}px`}:{},[xt]);return De.createElement("span",{className:fe()(ge,on,In,se),style:Object.assign(Object.assign({},Qn),Ye)})},Se=ee(45930),me=ee(67968),Pe=ee(45503);const rt=new Se.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),ue=be=>({height:be,lineHeight:`${be}px`}),Ue=be=>Object.assign({width:be},ue(be)),mt=be=>({background:be.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:rt,animationDuration:be.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),ot=be=>Object.assign({width:be*5,minWidth:be*5},ue(be)),vt=be=>{const{skeletonAvatarCls:ge,gradientFromColor:se,controlHeight:Ye,controlHeightLG:xt,controlHeightSM:pn}=be;return{[`${ge}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:se},Ue(Ye)),[`${ge}${ge}-circle`]:{borderRadius:"50%"},[`${ge}${ge}-lg`]:Object.assign({},Ue(xt)),[`${ge}${ge}-sm`]:Object.assign({},Ue(pn))}},Ee=be=>{const{controlHeight:ge,borderRadiusSM:se,skeletonInputCls:Ye,controlHeightLG:xt,controlHeightSM:pn,gradientFromColor:on}=be;return{[`${Ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:on,borderRadius:se},ot(ge)),[`${Ye}-lg`]:Object.assign({},ot(xt)),[`${Ye}-sm`]:Object.assign({},ot(pn))}},wt=be=>Object.assign({width:be},ue(be)),Tt=be=>{const{skeletonImageCls:ge,imageSizeBase:se,gradientFromColor:Ye,borderRadiusSM:xt}=be;return{[`${ge}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Ye,borderRadius:xt},wt(se*2)),{[`${ge}-path`]:{fill:"#bfbfbf"},[`${ge}-svg`]:Object.assign(Object.assign({},wt(se)),{maxWidth:se*4,maxHeight:se*4}),[`${ge}-svg${ge}-svg-circle`]:{borderRadius:"50%"}}),[`${ge}${ge}-circle`]:{borderRadius:"50%"}}},$e=(be,ge,se)=>{const{skeletonButtonCls:Ye}=be;return{[`${se}${Ye}-circle`]:{width:ge,minWidth:ge,borderRadius:"50%"},[`${se}${Ye}-round`]:{borderRadius:ge}}},ut=be=>Object.assign({width:be*2,minWidth:be*2},ue(be)),ye=be=>{const{borderRadiusSM:ge,skeletonButtonCls:se,controlHeight:Ye,controlHeightLG:xt,controlHeightSM:pn,gradientFromColor:on}=be;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${se}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:on,borderRadius:ge,width:Ye*2,minWidth:Ye*2},ut(Ye))},$e(be,Ye,se)),{[`${se}-lg`]:Object.assign({},ut(xt))}),$e(be,xt,`${se}-lg`)),{[`${se}-sm`]:Object.assign({},ut(pn))}),$e(be,pn,`${se}-sm`))},ce=be=>{const{componentCls:ge,skeletonAvatarCls:se,skeletonTitleCls:Ye,skeletonParagraphCls:xt,skeletonButtonCls:pn,skeletonInputCls:on,skeletonImageCls:In,controlHeight:Qn,controlHeightLG:_n,controlHeightSM:Vt,gradientFromColor:gn,padding:Fn,marginSM:Tn,borderRadius:qt,titleHeight:Dr,blockRadius:Ut,paragraphLiHeight:nn,controlHeightXS:Nr,paragraphMarginTop:cr}=be;return{[`${ge}`]:{display:"table",width:"100%",[`${ge}-header`]:{display:"table-cell",paddingInlineEnd:Fn,verticalAlign:"top",[`${se}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:gn},Ue(Qn)),[`${se}-circle`]:{borderRadius:"50%"},[`${se}-lg`]:Object.assign({},Ue(_n)),[`${se}-sm`]:Object.assign({},Ue(Vt))},[`${ge}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Ye}`]:{width:"100%",height:Dr,background:gn,borderRadius:Ut,[`+ ${xt}`]:{marginBlockStart:Vt}},[`${xt}`]:{padding:0,"> li":{width:"100%",height:nn,listStyle:"none",background:gn,borderRadius:Ut,"+ li":{marginBlockStart:Nr}}},[`${xt}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ge}-content`]:{[`${Ye}, ${xt} > li`]:{borderRadius:qt}}},[`${ge}-with-avatar ${ge}-content`]:{[`${Ye}`]:{marginBlockStart:Tn,[`+ ${xt}`]:{marginBlockStart:cr}}},[`${ge}${ge}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ye(be)),vt(be)),Ee(be)),Tt(be)),[`${ge}${ge}-block`]:{width:"100%",[`${pn}`]:{width:"100%"},[`${on}`]:{width:"100%"}},[`${ge}${ge}-active`]:{[`
|
|
|
${Ye},
|
|
|
${xt} > li,
|
|
|
${se},
|
|
|
${pn},
|
|
|
${on},
|
|
|
${In}
|
|
|
`]:Object.assign({},mt(be))}}};var Xe=(0,me.Z)("Skeleton",be=>{const{componentCls:ge}=be,se=(0,Pe.TS)(be,{skeletonAvatarCls:`${ge}-avatar`,skeletonTitleCls:`${ge}-title`,skeletonParagraphCls:`${ge}-paragraph`,skeletonButtonCls:`${ge}-button`,skeletonInputCls:`${ge}-input`,skeletonImageCls:`${ge}-image`,imageSizeBase:be.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${be.gradientFromColor} 25%, ${be.gradientToColor} 37%, ${be.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ce(se)]},be=>{const{colorFillContent:ge,colorFill:se}=be,Ye=ge,xt=se;return{color:Ye,colorGradientEnd:xt,gradientFromColor:Ye,gradientToColor:xt,titleHeight:be.controlHeight/2,blockRadius:be.borderRadiusSM,paragraphMarginTop:be.marginLG+be.marginXXS,paragraphLiHeight:be.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),st=be=>{const{prefixCls:ge,className:se,rootClassName:Ye,active:xt,shape:pn="circle",size:on="default"}=be,{getPrefixCls:In}=De.useContext(qe.E_),Qn=In("skeleton",ge),[_n,Vt]=Xe(Qn),gn=(0,we.Z)(be,["prefixCls","className"]),Fn=fe()(Qn,`${Qn}-element`,{[`${Qn}-active`]:xt},se,Ye,Vt);return _n(De.createElement("div",{className:Fn},De.createElement(de,Object.assign({prefixCls:`${Qn}-avatar`,shape:pn,size:on},gn))))},Re=be=>{const{prefixCls:ge,className:se,rootClassName:Ye,active:xt,block:pn=!1,size:on="default"}=be,{getPrefixCls:In}=De.useContext(qe.E_),Qn=In("skeleton",ge),[_n,Vt]=Xe(Qn),gn=(0,we.Z)(be,["prefixCls"]),Fn=fe()(Qn,`${Qn}-element`,{[`${Qn}-active`]:xt,[`${Qn}-block`]:pn},se,Ye,Vt);return _n(De.createElement("div",{className:Fn},De.createElement(de,Object.assign({prefixCls:`${Qn}-button`,size:on},gn))))};const Be="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=be=>{const{prefixCls:ge,className:se,rootClassName:Ye,style:xt,active:pn}=be,{getPrefixCls:on}=De.useContext(qe.E_),In=on("skeleton",ge),[Qn,_n]=Xe(In),Vt=fe()(In,`${In}-element`,{[`${In}-active`]:pn},se,Ye,_n);return Qn(De.createElement("div",{className:Vt},De.createElement("div",{className:fe()(`${In}-image`,se),style:xt},De.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${In}-image-svg`},De.createElement("path",{d:Be,className:`${In}-image-path`})))))},nt=be=>{const{prefixCls:ge,className:se,rootClassName:Ye,active:xt,block:pn,size:on="default"}=be,{getPrefixCls:In}=De.useContext(qe.E_),Qn=In("skeleton",ge),[_n,Vt]=Xe(Qn),gn=(0,we.Z)(be,["prefixCls"]),Fn=fe()(Qn,`${Qn}-element`,{[`${Qn}-active`]:xt,[`${Qn}-block`]:pn},se,Ye,Vt);return _n(De.createElement("div",{className:Fn},De.createElement(de,Object.assign({prefixCls:`${Qn}-input`,size:on},gn))))},Ot=ee(87462),Rt={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"},an=Rt,ht=ee(74643),Ne=function(ge,se){return De.createElement(ht.Z,(0,Ot.Z)({},ge,{ref:se,icon:an}))},At=De.forwardRef(Ne),jt=be=>{const{prefixCls:ge,className:se,rootClassName:Ye,style:xt,active:pn,children:on}=be,{getPrefixCls:In}=De.useContext(qe.E_),Qn=In("skeleton",ge),[_n,Vt]=Xe(Qn),gn=fe()(Qn,`${Qn}-element`,{[`${Qn}-active`]:pn},Vt,se,Ye),Fn=on!=null?on:De.createElement(At,null);return _n(De.createElement("div",{className:gn},De.createElement("div",{className:fe()(`${Qn}-image`,se),style:xt},Fn)))},Mt=ee(74902),sn=be=>{const ge=In=>{const{width:Qn,rows:_n=2}=be;if(Array.isArray(Qn))return Qn[In];if(_n-1===In)return Qn},{prefixCls:se,className:Ye,style:xt,rows:pn}=be,on=(0,Mt.Z)(Array(pn)).map((In,Qn)=>De.createElement("li",{key:Qn,style:{width:ge(Qn)}}));return De.createElement("ul",{className:fe()(se,Ye),style:xt},on)},vn=be=>{let{prefixCls:ge,className:se,width:Ye,style:xt}=be;return De.createElement("h3",{className:fe()(ge,se),style:Object.assign({width:Ye},xt)})};function cn(be){return be&&typeof be=="object"?be:{}}function Nn(be,ge){return be&&!ge?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function dr(be,ge){return!be&&ge?{width:"38%"}:be&&ge?{width:"50%"}:{}}function En(be,ge){const se={};return(!be||!ge)&&(se.width="61%"),!be&&ge?se.rows=3:se.rows=2,se}const Ge=be=>{const{prefixCls:ge,loading:se,className:Ye,rootClassName:xt,style:pn,children:on,avatar:In=!1,title:Qn=!0,paragraph:_n=!0,active:Vt,round:gn}=be,{getPrefixCls:Fn,direction:Tn,skeleton:qt}=De.useContext(qe.E_),Dr=Fn("skeleton",ge),[Ut,nn]=Xe(Dr);if(se||!("loading"in be)){const Nr=!!In,cr=!!Qn,Fr=!!_n;let aa;if(Nr){const Ta=Object.assign(Object.assign({prefixCls:`${Dr}-avatar`},Nn(cr,Fr)),cn(In));aa=De.createElement("div",{className:`${Dr}-header`},De.createElement(de,Object.assign({},Ta)))}let Jn;if(cr||Fr){let Ta;if(cr){const Jr=Object.assign(Object.assign({prefixCls:`${Dr}-title`},dr(Nr,Fr)),cn(Qn));Ta=De.createElement(vn,Object.assign({},Jr))}let ti;if(Fr){const Jr=Object.assign(Object.assign({prefixCls:`${Dr}-paragraph`},En(Nr,cr)),cn(_n));ti=De.createElement(sn,Object.assign({},Jr))}Jn=De.createElement("div",{className:`${Dr}-content`},Ta,ti)}const Ia=fe()(Dr,{[`${Dr}-with-avatar`]:Nr,[`${Dr}-active`]:Vt,[`${Dr}-rtl`]:Tn==="rtl",[`${Dr}-round`]:gn},qt==null?void 0:qt.className,Ye,xt,nn);return Ut(De.createElement("div",{className:Ia,style:Object.assign(Object.assign({},qt==null?void 0:qt.style),pn)},aa,Jn))}return typeof on!="undefined"?on:null};Ge.Button=Re,Ge.Avatar=st,Ge.Input=nt,Ge.Image=ze,Ge.Node=jt;var ve=Ge,he=ve},55054:function(Hn,ln,ee){"use strict";ee.d(ln,{default:function(){return Xe}});var ne=ee(67294),fe=ee(57838),De=ee(96159),qe=ee(94184),we=ee.n(qe),ke=ee(53124),de=ee(46303),me=et=>{const{value:st,formatter:ft,precision:Re,decimalSeparator:Be,groupSeparator:gt="",prefixCls:ze}=et;let ct;if(typeof ft=="function")ct=ft(st);else{const nt=String(st),Ot=nt.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Ot||nt==="-")ct=nt;else{const Rt=Ot[1];let an=Ot[2]||"0",ht=Ot[4]||"";an=an.replace(/\B(?=(\d{3})+(?!\d))/g,gt),typeof Re=="number"&&(ht=ht.padEnd(Re,"0").slice(0,Re>0?Re:0)),ht&&(ht=`${Be}${ht}`),ct=[ne.createElement("span",{key:"int",className:`${ze}-content-value-int`},Rt,an),ht&&ne.createElement("span",{key:"decimal",className:`${ze}-content-value-decimal`},ht)]}}return ne.createElement("span",{className:`${ze}-content-value`},ct)},Pe=ee(14747),rt=ee(67968),ue=ee(45503);const Ue=et=>{const{componentCls:st,marginXXS:ft,padding:Re,colorTextDescription:Be,titleFontSize:gt,colorTextHeading:ze,contentFontSize:ct,fontFamily:nt}=et;return{[`${st}`]:Object.assign(Object.assign({},(0,Pe.Wf)(et)),{[`${st}-title`]:{marginBottom:ft,color:Be,fontSize:gt},[`${st}-skeleton`]:{paddingTop:Re},[`${st}-content`]:{color:ze,fontSize:ct,fontFamily:nt,[`${st}-content-value`]:{display:"inline-block",direction:"ltr"},[`${st}-content-prefix, ${st}-content-suffix`]:{display:"inline-block"},[`${st}-content-prefix`]:{marginInlineEnd:ft},[`${st}-content-suffix`]:{marginInlineStart:ft}}})}};var mt=(0,rt.Z)("Statistic",et=>{const st=(0,ue.TS)(et,{});return[Ue(st)]},et=>{const{fontSizeHeading3:st,fontSize:ft}=et;return{titleFontSize:ft,contentFontSize:st}}),vt=et=>{const{prefixCls:st,className:ft,rootClassName:Re,style:Be,valueStyle:gt,value:ze=0,title:ct,valueRender:nt,prefix:Ot,suffix:Rt,loading:an=!1,onMouseEnter:ht,onMouseLeave:Ne,decimalSeparator:At=".",groupSeparator:An=","}=et,{getPrefixCls:jt,direction:Mt,statistic:Kt}=ne.useContext(ke.E_),sn=jt("statistic",st),[wn,vn]=mt(sn),cn=ne.createElement(me,Object.assign({decimalSeparator:At,groupSeparator:An,prefixCls:sn},et,{value:ze})),Nn=we()(sn,{[`${sn}-rtl`]:Mt==="rtl"},Kt==null?void 0:Kt.className,ft,Re,vn);return wn(ne.createElement("div",{className:Nn,style:Object.assign(Object.assign({},Kt==null?void 0:Kt.style),Be),onMouseEnter:ht,onMouseLeave:Ne},ct&&ne.createElement("div",{className:`${sn}-title`},ct),ne.createElement(de.Z,{paragraph:!1,loading:an,className:`${sn}-skeleton`},ne.createElement("div",{style:gt,className:`${sn}-content`},Ot&&ne.createElement("span",{className:`${sn}-content-prefix`},Ot),nt?nt(cn):cn,Rt&&ne.createElement("span",{className:`${sn}-content-suffix`},Rt)))))};const Ee=[["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 wt(et,st){let ft=et;const Re=/\[[^\]]*]/g,Be=(st.match(Re)||[]).map(nt=>nt.slice(1,-1)),gt=st.replace(Re,"[]"),ze=Ee.reduce((nt,Ot)=>{let[Rt,an]=Ot;if(nt.includes(Rt)){const ht=Math.floor(ft/an);return ft-=ht*an,nt.replace(new RegExp(`${Rt}+`,"g"),Ne=>{const At=Ne.length;return ht.toString().padStart(At,"0")})}return nt},gt);let ct=0;return ze.replace(Re,()=>{const nt=Be[ct];return ct+=1,nt})}function Tt(et,st){const{format:ft=""}=st,Re=new Date(et).getTime(),Be=Date.now(),gt=Math.max(Re-Be,0);return wt(gt,ft)}const $e=1e3/30;function ut(et){return new Date(et).getTime()}const ye=et=>{const{value:st,format:ft="HH:mm:ss",onChange:Re,onFinish:Be}=et,gt=(0,fe.Z)(),ze=ne.useRef(null),ct=()=>{Be==null||Be(),ze.current&&(clearInterval(ze.current),ze.current=null)},nt=()=>{const an=ut(st);an>=Date.now()&&(ze.current=setInterval(()=>{gt(),Re==null||Re(an-Date.now()),an<Date.now()&&ct()},$e))};ne.useEffect(()=>(nt(),()=>{ze.current&&(clearInterval(ze.current),ze.current=null)}),[st]);const Ot=(an,ht)=>Tt(an,Object.assign(Object.assign({},ht),{format:ft})),Rt=an=>(0,De.Tm)(an,{title:void 0});return ne.createElement(vt,Object.assign({},et,{valueRender:Rt,formatter:Ot}))};var ce=ne.memo(ye);vt.Countdown=ce;var Xe=vt},33507:function(Hn,ln){"use strict";const ee=ne=>({[ne.componentCls]:{[`${ne.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${ne.motionDurationMid} ${ne.motionEaseInOut},
|
|
|
opacity ${ne.motionDurationMid} ${ne.motionEaseInOut} !important`}},[`${ne.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${ne.motionDurationMid} ${ne.motionEaseInOut},
|
|
|
opacity ${ne.motionDurationMid} ${ne.motionEaseInOut} !important`}}});ln.Z=ee},33297:function(Hn,ln,ee){"use strict";ee.d(ln,{Fm:function(){return ue}});var ne=ee(45930),fe=ee(93590);const De=new ne.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),qe=new ne.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),we=new ne.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ke=new ne.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),de=new ne.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Se=new ne.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),me=new ne.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Pe=new ne.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:me,outKeyframes:Pe},"move-down":{inKeyframes:De,outKeyframes:qe},"move-left":{inKeyframes:we,outKeyframes:ke},"move-right":{inKeyframes:de,outKeyframes:Se}},ue=(Ue,mt)=>{const{antCls:ot}=Ue,vt=`${ot}-${mt}`,{inKeyframes:Ee,outKeyframes:wt}=rt[mt];return[(0,fe.R)(vt,Ee,wt,Ue.motionDurationMid),{[`
|
|
|
${vt}-enter,
|
|
|
${vt}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:Ue.motionEaseOutCirc},[`${vt}-leave`]:{animationTimingFunction:Ue.motionEaseInOutCirc}}]}},67771:function(Hn,ln,ee){"use strict";ee.d(ln,{Qt:function(){return we},Uw:function(){return qe},fJ:function(){return De},ly:function(){return ke},oN:function(){return ue}});var ne=ee(45930),fe=ee(93590);const De=new ne.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),qe=new ne.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),we=new ne.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),ke=new ne.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),de=new ne.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Se=new ne.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),me=new ne.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Pe=new ne.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:De,outKeyframes:qe},"slide-down":{inKeyframes:we,outKeyframes:ke},"slide-left":{inKeyframes:de,outKeyframes:Se},"slide-right":{inKeyframes:me,outKeyframes:Pe}},ue=(Ue,mt)=>{const{antCls:ot}=Ue,vt=`${ot}-${mt}`,{inKeyframes:Ee,outKeyframes:wt}=rt[mt];return[(0,fe.R)(vt,Ee,wt,Ue.motionDurationMid),{[`
|
|
|
${vt}-enter,
|
|
|
${vt}-appear
|
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:Ue.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${vt}-leave`]:{animationTimingFunction:Ue.motionEaseInQuint}}]}},49867:function(Hn,ln,ee){"use strict";ee.d(ln,{N:function(){return ne}});const ne=fe=>({color:fe.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${fe.motionDurationSlow}`,"&:focus, &:hover":{color:fe.colorLinkHover},"&:active":{color:fe.colorLinkActive}})},47897:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return be}});var ne=ee(3407),fe=ee(94184),De=ee.n(fe);function qe(){return qe=Object.assign?Object.assign.bind():function(ge){for(var se=1;se<arguments.length;se++){var Ye=arguments[se];for(var xt in Ye)Object.prototype.hasOwnProperty.call(Ye,xt)&&(ge[xt]=Ye[xt])}return ge},qe.apply(this,arguments)}function we(ge){"@babel/helpers - typeof";return we=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},we(ge)}function ke(ge,se){if(we(ge)!=="object"||ge===null)return ge;var Ye=ge[Symbol.toPrimitive];if(Ye!==void 0){var xt=Ye.call(ge,se||"default");if(we(xt)!=="object")return xt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(se==="string"?String:Number)(ge)}function de(ge){var se=ke(ge,"string");return we(se)==="symbol"?se:String(se)}function Se(ge,se,Ye){return se=de(se),se in ge?Object.defineProperty(ge,se,{value:Ye,enumerable:!0,configurable:!0,writable:!0}):ge[se]=Ye,ge}function me(ge){if(Array.isArray(ge))return ge}function Pe(ge,se){var Ye=ge==null?null:typeof Symbol!="undefined"&&ge[Symbol.iterator]||ge["@@iterator"];if(Ye!=null){var xt,pn,on,In,Qn=[],_n=!0,Vt=!1;try{if(on=(Ye=Ye.call(ge)).next,se===0){if(Object(Ye)!==Ye)return;_n=!1}else for(;!(_n=(xt=on.call(Ye)).done)&&(Qn.push(xt.value),Qn.length!==se);_n=!0);}catch(gn){Vt=!0,pn=gn}finally{try{if(!_n&&Ye.return!=null&&(In=Ye.return(),Object(In)!==In))return}finally{if(Vt)throw pn}}return Qn}}function rt(ge,se){(se==null||se>ge.length)&&(se=ge.length);for(var Ye=0,xt=new Array(se);Ye<se;Ye++)xt[Ye]=ge[Ye];return xt}function ue(ge,se){if(ge){if(typeof ge=="string")return rt(ge,se);var Ye=Object.prototype.toString.call(ge).slice(8,-1);if(Ye==="Object"&&ge.constructor&&(Ye=ge.constructor.name),Ye==="Map"||Ye==="Set")return Array.from(ge);if(Ye==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ye))return rt(ge,se)}}function Ue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mt(ge,se){return me(ge)||Pe(ge,se)||ue(ge,se)||Ue()}function ot(ge,se){if(ge==null)return{};var Ye={},xt=Object.keys(ge),pn,on;for(on=0;on<xt.length;on++)pn=xt[on],!(se.indexOf(pn)>=0)&&(Ye[pn]=ge[pn]);return Ye}function vt(ge,se){if(ge==null)return{};var Ye=ot(ge,se),xt,pn;if(Object.getOwnPropertySymbols){var on=Object.getOwnPropertySymbols(ge);for(pn=0;pn<on.length;pn++)xt=on[pn],!(se.indexOf(xt)>=0)&&Object.prototype.propertyIsEnumerable.call(ge,xt)&&(Ye[xt]=ge[xt])}return Ye}var Ee=ee(67294);function wt(ge){if(Array.isArray(ge))return ge}function Tt(ge,se){var Ye=ge==null?null:typeof Symbol!="undefined"&&ge[Symbol.iterator]||ge["@@iterator"];if(Ye!=null){var xt,pn,on,In,Qn=[],_n=!0,Vt=!1;try{if(on=(Ye=Ye.call(ge)).next,se===0){if(Object(Ye)!==Ye)return;_n=!1}else for(;!(_n=(xt=on.call(Ye)).done)&&(Qn.push(xt.value),Qn.length!==se);_n=!0);}catch(gn){Vt=!0,pn=gn}finally{try{if(!_n&&Ye.return!=null&&(In=Ye.return(),Object(In)!==In))return}finally{if(Vt)throw pn}}return Qn}}function $e(ge,se){(se==null||se>ge.length)&&(se=ge.length);for(var Ye=0,xt=new Array(se);Ye<se;Ye++)xt[Ye]=ge[Ye];return xt}function ut(ge,se){if(ge){if(typeof ge=="string")return $e(ge,se);var Ye=Object.prototype.toString.call(ge).slice(8,-1);if(Ye==="Object"&&ge.constructor&&(Ye=ge.constructor.name),Ye==="Map"||Ye==="Set")return Array.from(ge);if(Ye==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ye))return $e(ge,se)}}function ye(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ce(ge,se){return wt(ge)||Tt(ge,se)||ut(ge,se)||ye()}function Xe(ge){var se=Ee.useRef();se.current=ge;var Ye=Ee.useCallback(function(){for(var xt,pn=arguments.length,on=new Array(pn),In=0;In<pn;In++)on[In]=arguments[In];return(xt=se.current)===null||xt===void 0?void 0:xt.call.apply(xt,[se].concat(on))},[]);return Ye}function et(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var st=et()?Ee.useLayoutEffect:Ee.useEffect,ft=function(se,Ye){var xt=Ee.useRef(!0);st(function(){return se(xt.current)},Ye),st(function(){return xt.current=!1,function(){xt.current=!0}},[])},Re=function(se,Ye){ft(function(xt){if(!xt)return se()},Ye)},Be=null;function gt(ge){var se=Ee.useRef(!1),Ye=Ee.useState(ge),xt=ce(Ye,2),pn=xt[0],on=xt[1];Ee.useEffect(function(){return se.current=!1,function(){se.current=!0}},[]);function In(Qn,_n){_n&&se.current||on(Qn)}return[pn,In]}function ze(ge){return ge!==void 0}function ct(ge,se){var Ye=se||{},xt=Ye.defaultValue,pn=Ye.value,on=Ye.onChange,In=Ye.postState,Qn=gt(function(){return ze(pn)?pn:ze(xt)?typeof xt=="function"?xt():xt:typeof ge=="function"?ge():ge}),_n=ce(Qn,2),Vt=_n[0],gn=_n[1],Fn=pn!==void 0?pn:Vt,Tn=In?In(Fn):Fn,qt=Xe(on),Dr=gt([Fn]),Ut=ce(Dr,2),nn=Ut[0],Nr=Ut[1];Re(function(){var Fr=nn[0];Vt!==Fr&&qt(Vt,Fr)},[nn]),Re(function(){ze(pn)||gn(pn)},[pn]);var cr=Xe(function(Fr,aa){gn(Fr,aa),Nr([Fn],aa)});return[Tn,cr]}var nt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(se){var Ye=se.keyCode;if(se.altKey&&!se.ctrlKey||se.metaKey||Ye>=nt.F1&&Ye<=nt.F12)return!1;switch(Ye){case nt.ALT:case nt.CAPS_LOCK:case nt.CONTEXT_MENU:case nt.CTRL:case nt.DOWN:case nt.END:case nt.ESC:case nt.HOME:case nt.INSERT:case nt.LEFT:case nt.MAC_FF_META:case nt.META:case nt.NUMLOCK:case nt.NUM_CENTER:case nt.PAGE_DOWN:case nt.PAGE_UP:case nt.PAUSE:case nt.PRINT_SCREEN:case nt.RIGHT:case nt.SHIFT:case nt.UP:case nt.WIN_KEY:case nt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(se){if(se>=nt.ZERO&&se<=nt.NINE||se>=nt.NUM_ZERO&&se<=nt.NUM_MULTIPLY||se>=nt.A&&se<=nt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&se===0)return!0;switch(se){case nt.SPACE:case nt.QUESTION_MARK:case nt.NUM_PLUS:case nt.NUM_MINUS:case nt.NUM_PERIOD:case nt.NUM_DIVISION:case nt.SEMICOLON:case nt.DASH:case nt.EQUALS:case nt.COMMA:case nt.PERIOD:case nt.SLASH:case nt.APOSTROPHE:case nt.SINGLE_QUOTE:case nt.OPEN_SQUARE_BRACKET:case nt.BACKSLASH:case nt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Ot=nt,Rt=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],an=Ee.forwardRef(function(ge,se){var Ye,xt=ge.prefixCls,pn=xt===void 0?"rc-switch":xt,on=ge.className,In=ge.checked,Qn=ge.defaultChecked,_n=ge.disabled,Vt=ge.loadingIcon,gn=ge.checkedChildren,Fn=ge.unCheckedChildren,Tn=ge.onClick,qt=ge.onChange,Dr=ge.onKeyDown,Ut=vt(ge,Rt),nn=ct(!1,{value:In,defaultValue:Qn}),Nr=mt(nn,2),cr=Nr[0],Fr=Nr[1];function aa(ti,Jr){var ja=cr;return _n||(ja=ti,Fr(ja),qt==null||qt(ja,Jr)),ja}function Jn(ti){ti.which===Ot.LEFT?aa(!1,ti):ti.which===Ot.RIGHT&&aa(!0,ti),Dr==null||Dr(ti)}function Ia(ti){var Jr=aa(!cr,ti);Tn==null||Tn(Jr,ti)}var Ta=De()(pn,on,(Ye={},Se(Ye,"".concat(pn,"-checked"),cr),Se(Ye,"".concat(pn,"-disabled"),_n),Ye));return Ee.createElement("button",qe({},Ut,{type:"button",role:"switch","aria-checked":cr,disabled:_n,className:Ta,ref:se,onKeyDown:Jn,onClick:Ia}),Vt,Ee.createElement("span",{className:"".concat(pn,"-inner")},Ee.createElement("span",{className:"".concat(pn,"-inner-checked")},gn),Ee.createElement("span",{className:"".concat(pn,"-inner-unchecked")},Fn)))});an.displayName="Switch";var ht=an,Ne=ee(45353),At=ee(53124),An=ee(98866),jt=ee(98675),Mt=ee(84780),Kt=ee(14747),sn=ee(67968),wn=ee(45503);const vn=ge=>{const{componentCls:se,trackHeightSM:Ye,trackPadding:xt,trackMinWidthSM:pn,innerMinMarginSM:on,innerMaxMarginSM:In,handleSizeSM:Qn}=ge,_n=`${se}-inner`;return{[se]:{[`&${se}-small`]:{minWidth:pn,height:Ye,lineHeight:`${Ye}px`,[`${se}-inner`]:{paddingInlineStart:In,paddingInlineEnd:on,[`${_n}-checked`]:{marginInlineStart:`calc(-100% + ${Qn+xt*2}px - ${In*2}px)`,marginInlineEnd:`calc(100% - ${Qn+xt*2}px + ${In*2}px)`},[`${_n}-unchecked`]:{marginTop:-Ye,marginInlineStart:0,marginInlineEnd:0}},[`${se}-handle`]:{width:Qn,height:Qn},[`${se}-loading-icon`]:{top:(Qn-ge.switchLoadingIconSize)/2,fontSize:ge.switchLoadingIconSize},[`&${se}-checked`]:{[`${se}-inner`]:{paddingInlineStart:on,paddingInlineEnd:In,[`${_n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${_n}-unchecked`]:{marginInlineStart:`calc(100% - ${Qn+xt*2}px + ${In*2}px)`,marginInlineEnd:`calc(-100% + ${Qn+xt*2}px - ${In*2}px)`}},[`${se}-handle`]:{insetInlineStart:`calc(100% - ${Qn+xt}px)`}},[`&:not(${se}-disabled):active`]:{[`&:not(${se}-checked) ${_n}`]:{[`${_n}-unchecked`]:{marginInlineStart:ge.marginXXS/2,marginInlineEnd:-ge.marginXXS/2}},[`&${se}-checked ${_n}`]:{[`${_n}-checked`]:{marginInlineStart:-ge.marginXXS/2,marginInlineEnd:ge.marginXXS/2}}}}}}},cn=ge=>{const{componentCls:se,handleSize:Ye}=ge;return{[se]:{[`${se}-loading-icon${ge.iconCls}`]:{position:"relative",top:(Ye-ge.fontSize)/2,color:ge.switchLoadingIconColor,verticalAlign:"top"},[`&${se}-checked ${se}-loading-icon`]:{color:ge.switchColor}}}},Nn=ge=>{const{componentCls:se,motion:Ye,trackPadding:xt,handleBg:pn,handleShadow:on,handleSize:In}=ge,Qn=`${se}-handle`;return{[se]:{[Qn]:{position:"absolute",top:xt,insetInlineStart:xt,width:In,height:In,transition:`all ${ge.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:pn,borderRadius:In/2,boxShadow:on,transition:`all ${ge.switchDuration} ease-in-out`,content:'""'}},[`&${se}-checked ${Qn}`]:{insetInlineStart:`calc(100% - ${In+xt}px)`},[`&:not(${se}-disabled):active`]:Ye?{[`${Qn}::before`]:{insetInlineEnd:ge.switchHandleActiveInset,insetInlineStart:0},[`&${se}-checked ${Qn}::before`]:{insetInlineEnd:0,insetInlineStart:ge.switchHandleActiveInset}}:{}}}},dr=ge=>{const{componentCls:se,trackHeight:Ye,trackPadding:xt,innerMinMargin:pn,innerMaxMargin:on,handleSize:In}=ge,Qn=`${se}-inner`;return{[se]:{[Qn]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:on,paddingInlineEnd:pn,transition:`padding-inline-start ${ge.switchDuration} ease-in-out, padding-inline-end ${ge.switchDuration} ease-in-out`,[`${Qn}-checked, ${Qn}-unchecked`]:{display:"block",color:ge.colorTextLightSolid,fontSize:ge.fontSizeSM,transition:`margin-inline-start ${ge.switchDuration} ease-in-out, margin-inline-end ${ge.switchDuration} ease-in-out`,pointerEvents:"none"},[`${Qn}-checked`]:{marginInlineStart:`calc(-100% + ${In+xt*2}px - ${on*2}px)`,marginInlineEnd:`calc(100% - ${In+xt*2}px + ${on*2}px)`},[`${Qn}-unchecked`]:{marginTop:-Ye,marginInlineStart:0,marginInlineEnd:0}},[`&${se}-checked ${Qn}`]:{paddingInlineStart:pn,paddingInlineEnd:on,[`${Qn}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Qn}-unchecked`]:{marginInlineStart:`calc(100% - ${In+xt*2}px + ${on*2}px)`,marginInlineEnd:`calc(-100% + ${In+xt*2}px - ${on*2}px)`}},[`&:not(${se}-disabled):active`]:{[`&:not(${se}-checked) ${Qn}`]:{[`${Qn}-unchecked`]:{marginInlineStart:xt*2,marginInlineEnd:-xt*2}},[`&${se}-checked ${Qn}`]:{[`${Qn}-checked`]:{marginInlineStart:-xt*2,marginInlineEnd:xt*2}}}}}},En=ge=>{const{componentCls:se,trackHeight:Ye,trackMinWidth:xt}=ge;return{[se]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Kt.Wf)(ge)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:xt,height:Ye,lineHeight:`${Ye}px`,verticalAlign:"middle",background:ge.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${ge.motionDurationMid}`,userSelect:"none",[`&:hover:not(${se}-disabled)`]:{background:ge.colorTextTertiary}}),(0,Kt.Qy)(ge)),{[`&${se}-checked`]:{background:ge.switchColor,[`&:hover:not(${se}-disabled)`]:{background:ge.colorPrimaryHover}},[`&${se}-loading, &${se}-disabled`]:{cursor:"not-allowed",opacity:ge.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${se}-rtl`]:{direction:"rtl"}})}};var Ge=(0,sn.Z)("Switch",ge=>{const se=(0,wn.TS)(ge,{switchDuration:ge.motionDurationMid,switchColor:ge.colorPrimary,switchDisabledOpacity:ge.opacityLoading,switchLoadingIconSize:ge.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${ge.opacityLoading})`,switchHandleActiveInset:"-30%"});return[En(se),dr(se),Nn(se),cn(se),vn(se)]},ge=>{const{fontSize:se,lineHeight:Ye,controlHeight:xt,colorWhite:pn}=ge,on=se*Ye,In=xt/2,Qn=2,_n=on-Qn*2,Vt=In-Qn*2;return{trackHeight:on,trackHeightSM:In,trackMinWidth:_n*2+Qn*4,trackMinWidthSM:Vt*2+Qn*2,trackPadding:Qn,handleBg:pn,handleSize:_n,handleSizeSM:Vt,handleShadow:`0 2px 4px 0 ${new Mt.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:_n/2,innerMaxMargin:_n+Qn+Qn*2,innerMinMarginSM:Vt/2,innerMaxMarginSM:Vt+Qn+Qn*2}}),ve=function(ge,se){var Ye={};for(var xt in ge)Object.prototype.hasOwnProperty.call(ge,xt)&&se.indexOf(xt)<0&&(Ye[xt]=ge[xt]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pn=0,xt=Object.getOwnPropertySymbols(ge);pn<xt.length;pn++)se.indexOf(xt[pn])<0&&Object.prototype.propertyIsEnumerable.call(ge,xt[pn])&&(Ye[xt[pn]]=ge[xt[pn]]);return Ye};const he=Ee.forwardRef((ge,se)=>{const{prefixCls:Ye,size:xt,disabled:pn,loading:on,className:In,rootClassName:Qn,style:_n}=ge,Vt=ve(ge,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:gn,direction:Fn,switch:Tn}=Ee.useContext(At.E_),qt=Ee.useContext(An.Z),Dr=(pn!=null?pn:qt)||on,Ut=gn("switch",Ye),nn=Ee.createElement("div",{className:`${Ut}-handle`},on&&Ee.createElement(ne.Z,{className:`${Ut}-loading-icon`})),[Nr,cr]=Ge(Ut),Fr=(0,jt.Z)(xt),aa=De()(Tn==null?void 0:Tn.className,{[`${Ut}-small`]:Fr==="small",[`${Ut}-loading`]:on,[`${Ut}-rtl`]:Fn==="rtl"},In,Qn,cr),Jn=Object.assign(Object.assign({},Tn==null?void 0:Tn.style),_n);return Nr(Ee.createElement(Ne.Z,{component:"Switch"},Ee.createElement(ht,Object.assign({},Vt,{prefixCls:Ut,className:aa,style:Jn,disabled:Dr,ref:se,loadingIcon:nn}))))});he.__ANT_SWITCH=!0;var be=he},9430:function(Hn,ln,ee){"use strict";ee.d(ln,{default:function(){return ws}});var ne={},fe="rc-table-internal-hook",De=ee(97685),qe=ee(66680),we=ee(8410),ke=ee(91881),de=ee(67294),Se=ee(73935);function me(Te){var Ze=de.createContext(void 0),Et=function(Xt){var Sn=Xt.value,nr=Xt.children,wr=de.useRef(Sn);wr.current=Sn;var jn=de.useState(function(){return{getValue:function(){return wr.current},listeners:new Set}}),Un=(0,De.Z)(jn,1),Sr=Un[0];return(0,we.Z)(function(){(0,Se.unstable_batchedUpdates)(function(){Sr.listeners.forEach(function(kn){kn(Sn)})})},[Sn]),de.createElement(Ze.Provider,{value:Sr},nr)};return{Context:Ze,Provider:Et,defaultValue:Te}}function Pe(Te,Ze){var Et=(0,qe.Z)(typeof Ze=="function"?Ze:function(kn){if(Ze===void 0)return kn;if(!Array.isArray(Ze))return kn[Ze];var Vr={};return Ze.forEach(function(xa){Vr[xa]=kn[xa]}),Vr}),Lt=de.useContext(Te==null?void 0:Te.Context),Xt=Lt||{},Sn=Xt.listeners,nr=Xt.getValue,wr=de.useRef();wr.current=Et(Lt?nr():Te==null?void 0:Te.defaultValue);var jn=de.useState({}),Un=(0,De.Z)(jn,2),Sr=Un[1];return(0,we.Z)(function(){if(!Lt)return;function kn(Vr){var xa=Et(Vr);(0,ke.Z)(wr.current,xa,!0)||Sr({})}return Sn.add(kn),function(){Sn.delete(kn)}},[Lt]),wr.current}var rt=ee(87462),ue=ee(42550);function Ue(){var Te=de.createContext(null);function Ze(){return de.useContext(Te)}function Et(Xt,Sn){var nr=(0,ue.Yr)(Xt),wr=function(Un,Sr){var kn=nr?{ref:Sr}:{},Vr=de.useRef(0),xa=de.useRef(Un),wa=Ze();return wa!==null?de.createElement(Xt,(0,rt.Z)({},Un,kn)):((!Sn||Sn(xa.current,Un))&&(Vr.current+=1),xa.current=Un,de.createElement(Te.Provider,{value:Vr.current},de.createElement(Xt,(0,rt.Z)({},Un,kn))))};return nr?de.forwardRef(wr):wr}function Lt(Xt,Sn){var nr=(0,ue.Yr)(Xt),wr=function(Un,Sr){var kn=nr?{ref:Sr}:{};return Ze(),de.createElement(Xt,(0,rt.Z)({},Un,kn))};return nr?de.memo(de.forwardRef(wr),Sn):de.memo(wr,Sn)}return{makeImmutable:Et,responseImmutable:Lt,useImmutableMark:Ze}}var mt=Ue(),ot=mt.makeImmutable,vt=mt.responseImmutable,Ee=mt.useImmutableMark,wt=Ue(),Tt=wt.makeImmutable,$e=wt.responseImmutable,ut=wt.useImmutableMark,ye=me(),ce=ye;function Xe(Te,Ze){var Et=de.useRef(0);Et.current+=1;var Lt=de.useRef(Te),Xt=[];Object.keys(Te||{}).map(function(nr){var wr;(Te==null?void 0:Te[nr])!==((wr=Lt.current)===null||wr===void 0?void 0:wr[nr])&&Xt.push(nr)}),Lt.current=Te;var Sn=de.useRef([]);return Xt.length&&(Sn.current=Xt),de.useDebugValue(Et.current),de.useDebugValue(Sn.current.join(", ")),Ze&&console.log("".concat(Ze,":"),Et.current,Sn.current),Et.current}var et=null,st=de.memo(function(){var Te=Xe();return de.createElement("h1",null,"Render Times: ",Te)});st.displayName="RenderBlock";var ft=ee(71002),Re=ee(1413),Be=ee(4942),gt=ee(94184),ze=ee.n(gt);function ct(Te,Ze,Et){var Lt=de.useRef({});return(!("value"in Lt.current)||Et(Lt.current.condition,Ze))&&(Lt.current.value=Te(),Lt.current.condition=Ze),Lt.current.value}var nt={},Ot=[],Rt=function(Ze){Ot.push(Ze)};function an(Te,Ze){if(0)var Et}function ht(Te,Ze){if(0)var Et}function Ne(){nt={}}function At(Te,Ze,Et){!Ze&&!nt[Et]&&(Te(!1,Et),nt[Et]=!0)}function An(Te,Ze){At(an,Te,Ze)}function jt(Te,Ze){At(ht,Te,Ze)}An.preMessage=Rt,An.resetWarned=Ne,An.noteOnce=jt;var Mt=An;function Kt(Te,Ze){var Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Lt=new Set;function Xt(Sn,nr){var wr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,jn=Lt.has(Sn);if(Mt(!jn,"Warning: There may be circular references"),jn)return!1;if(Sn===nr)return!0;if(Et&&wr>1)return!1;Lt.add(Sn);var Un=wr+1;if(Array.isArray(Sn)){if(!Array.isArray(nr)||Sn.length!==nr.length)return!1;for(var Sr=0;Sr<Sn.length;Sr++)if(!Xt(Sn[Sr],nr[Sr],Un))return!1;return!0}if(Sn&&nr&&(0,ft.Z)(Sn)==="object"&&(0,ft.Z)(nr)==="object"){var kn=Object.keys(Sn);return kn.length!==Object.keys(nr).length?!1:kn.every(function(Vr){return Xt(Sn[Vr],nr[Vr],Un)})}return!1}return Xt(Te,Ze)}var sn=Kt;function wn(Te,Ze){for(var Et=Te,Lt=0;Lt<Ze.length;Lt+=1){if(Et==null)return;Et=Et[Ze[Lt]]}return Et}var vn=de.createContext({renderWithProps:!1}),cn=vn,Nn="RC_TABLE_KEY";function dr(Te){return Te==null?[]:Array.isArray(Te)?Te:[Te]}function En(Te){var Ze=[],Et={};return Te.forEach(function(Lt){for(var Xt=Lt||{},Sn=Xt.key,nr=Xt.dataIndex,wr=Sn||dr(nr).join("-")||Nn;Et[wr];)wr="".concat(wr,"_next");Et[wr]=!0,Ze.push(wr)}),Ze}function Ge(Te){return Te!=null}function ve(Te){return Te&&(0,ft.Z)(Te)==="object"&&!Array.isArray(Te)&&!de.isValidElement(Te)}function he(Te,Ze,Et,Lt,Xt,Sn){var nr=de.useContext(cn),wr=ut(),jn=ct(function(){if(Ge(Lt))return[Lt];var Un=Ze==null||Ze===""?[]:Array.isArray(Ze)?Ze:[Ze],Sr=wn(Te,Un),kn=Sr,Vr=void 0;if(Xt){var xa=Xt(Sr,Te,Et);ve(xa)?(kn=xa.children,Vr=xa.props,nr.renderWithProps=!0):kn=xa}return[kn,Vr]},[wr,Te,Lt,Ze,Xt,Et],function(Un,Sr){if(Sn){var kn=(0,De.Z)(Un,2),Vr=kn[1],xa=(0,De.Z)(Sr,2),wa=xa[1];return Sn(wa,Vr)}return nr.renderWithProps?!0:!sn(Un,Sr,!0)});return jn}function be(Te,Ze,Et,Lt){var Xt=Te+Ze-1;return Te<=Lt&&Xt>=Et}function ge(Te,Ze){return Pe(ce,function(Et){var Lt=be(Te,Ze||1,Et.hoverStartRow,Et.hoverEndRow);return[Lt,Et.onHover]})}var se=function(Ze){var Et=Ze.ellipsis,Lt=Ze.rowType,Xt=Ze.children,Sn,nr=Et===!0?{showTitle:!0}:Et;return nr&&(nr.showTitle||Lt==="header")&&(typeof Xt=="string"||typeof Xt=="number"?Sn=Xt.toString():de.isValidElement(Xt)&&typeof Xt.props.children=="string"&&(Sn=Xt.props.children)),Sn};function Ye(Te){var Ze,Et,Lt,Xt,Sn,nr,wr,jn,Un=Te.component,Sr=Te.children,kn=Te.ellipsis,Vr=Te.scope,xa=Te.prefixCls,wa=Te.className,Ra=Te.align,Qr=Te.record,li=Te.render,qa=Te.dataIndex,Fi=Te.renderIndex,vi=Te.shouldCellUpdate,pi=Te.index,yi=Te.rowType,Vi=Te.colSpan,Ko=Te.rowSpan,Li=Te.fixLeft,Za=Te.fixRight,Ka=Te.firstFixLeft,ii=Te.lastFixLeft,Ti=Te.firstFixRight,lo=Te.lastFixRight,rl=Te.appendNode,Po=Te.additionalProps,To=Po===void 0?{}:Po,Ml=Te.isSticky,pl="".concat(xa,"-cell"),Kl=Pe(ce,["supportSticky","allColumnsFixedLeft"]),Gl=Kl.supportSticky,Is=Kl.allColumnsFixedLeft,Ps=he(Qr,qa,Fi,Sr,li,vi),Yl=(0,De.Z)(Ps,2),_s=Yl[0],ps=Yl[1],gs={},Jo=typeof Li=="number"&&Gl,$i=typeof Za=="number"&&Gl;Jo&&(gs.position="sticky",gs.left=Li),$i&&(gs.position="sticky",gs.right=Za);var ki=(Ze=(Et=(Lt=ps==null?void 0:ps.colSpan)!==null&&Lt!==void 0?Lt:To.colSpan)!==null&&Et!==void 0?Et:Vi)!==null&&Ze!==void 0?Ze:1,Co=(Xt=(Sn=(nr=ps==null?void 0:ps.rowSpan)!==null&&nr!==void 0?nr:To.rowSpan)!==null&&Sn!==void 0?Sn:Ko)!==null&&Xt!==void 0?Xt:1,Eo=ge(pi,Co),eo=(0,De.Z)(Eo,2),rs=eo[0],ro=eo[1],xl=function(js){var bu;Qr&&ro(pi,pi+Co-1),To==null||(bu=To.onMouseEnter)===null||bu===void 0||bu.call(To,js)},cs=function(js){var bu;Qr&&ro(-1,-1),To==null||(bu=To.onMouseLeave)===null||bu===void 0||bu.call(To,js)};if(ki===0||Co===0)return null;var es=(wr=To.title)!==null&&wr!==void 0?wr:se({rowType:yi,ellipsis:kn,children:_s}),au=ze()(pl,wa,(jn={},(0,Be.Z)(jn,"".concat(pl,"-fix-left"),Jo&&Gl),(0,Be.Z)(jn,"".concat(pl,"-fix-left-first"),Ka&&Gl),(0,Be.Z)(jn,"".concat(pl,"-fix-left-last"),ii&&Gl),(0,Be.Z)(jn,"".concat(pl,"-fix-left-all"),ii&&Is&&Gl),(0,Be.Z)(jn,"".concat(pl,"-fix-right"),$i&&Gl),(0,Be.Z)(jn,"".concat(pl,"-fix-right-first"),Ti&&Gl),(0,Be.Z)(jn,"".concat(pl,"-fix-right-last"),lo&&Gl),(0,Be.Z)(jn,"".concat(pl,"-ellipsis"),kn),(0,Be.Z)(jn,"".concat(pl,"-with-append"),rl),(0,Be.Z)(jn,"".concat(pl,"-fix-sticky"),(Jo||$i)&&Ml&&Gl),(0,Be.Z)(jn,"".concat(pl,"-row-hover"),!ps&&rs),jn),To.className,ps==null?void 0:ps.className),nu={};Ra&&(nu.textAlign=Ra);var Au=(0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)({},gs),To.style),nu),ps==null?void 0:ps.style),ui=_s;return(0,ft.Z)(ui)==="object"&&!Array.isArray(ui)&&!de.isValidElement(ui)&&(ui=null),kn&&(ii||Ti)&&(ui=de.createElement("span",{className:"".concat(pl,"-content")},ui)),de.createElement(Un,(0,rt.Z)({},ps,To,{className:au,style:Au,title:es,scope:Vr,onMouseEnter:xl,onMouseLeave:cs,colSpan:ki!==1?ki:null,rowSpan:Co!==1?Co:null}),rl,ui)}var xt=de.memo(Ye);function pn(Te,Ze,Et,Lt,Xt,Sn){var nr=Et[Te]||{},wr=Et[Ze]||{},jn,Un;nr.fixed==="left"?jn=Lt.left[Xt==="rtl"?Ze:Te]:wr.fixed==="right"&&(Un=Lt.right[Xt==="rtl"?Te:Ze]);var Sr=!1,kn=!1,Vr=!1,xa=!1,wa=Et[Ze+1],Ra=Et[Te-1],Qr=!(Sn!=null&&Sn.children);if(Xt==="rtl"){if(jn!==void 0){var li=Ra&&Ra.fixed==="left";xa=!li&&Qr}else if(Un!==void 0){var qa=wa&&wa.fixed==="right";Vr=!qa&&Qr}}else if(jn!==void 0){var Fi=wa&&wa.fixed==="left";Sr=!Fi&&Qr}else if(Un!==void 0){var vi=Ra&&Ra.fixed==="right";kn=!vi&&Qr}return{fixLeft:jn,fixRight:Un,lastFixLeft:Sr,firstFixRight:kn,lastFixRight:Vr,firstFixLeft:xa,isSticky:Lt.isSticky}}var on=de.createContext({}),In=on;function Qn(Te){var Ze=Te.className,Et=Te.index,Lt=Te.children,Xt=Te.colSpan,Sn=Xt===void 0?1:Xt,nr=Te.rowSpan,wr=Te.align,jn=Pe(ce,["prefixCls","direction"]),Un=jn.prefixCls,Sr=jn.direction,kn=de.useContext(In),Vr=kn.scrollColumnIndex,xa=kn.stickyOffsets,wa=kn.flattenColumns,Ra=kn.columns,Qr=Et+Sn-1,li=Qr+1===Vr?Sn+1:Sn,qa=pn(Et,Et+li-1,wa,xa,Sr,Ra==null?void 0:Ra[Et]);return de.createElement(xt,(0,rt.Z)({className:Ze,index:Et,component:"td",prefixCls:Un,record:null,dataIndex:null,align:wr,colSpan:li,rowSpan:nr,render:function(){return Lt}},qa))}var _n=ee(45987),Vt=["children"];function gn(Te){var Ze=Te.children,Et=(0,_n.Z)(Te,Vt);return de.createElement("tr",Et,Ze)}function Fn(Te){var Ze=Te.children;return Ze}Fn.Row=gn,Fn.Cell=Qn;var Tn=Fn;function qt(Te){var Ze=Te.children,Et=Te.stickyOffsets,Lt=Te.flattenColumns,Xt=Te.columns,Sn=Pe(ce,"prefixCls"),nr=Lt.length-1,wr=Lt[nr],jn=de.useMemo(function(){return{stickyOffsets:Et,flattenColumns:Lt,scrollColumnIndex:wr!=null&&wr.scrollbar?nr:null,columns:Xt}},[wr,Lt,nr,Et,Xt]);return de.createElement(In.Provider,{value:jn},de.createElement("tfoot",{className:"".concat(Sn,"-summary")},Ze))}var Dr=$e(qt),Ut=Tn;function nn(Te){var Ze=de.useRef();Ze.current=Te;var Et=de.useCallback(function(){for(var Lt,Xt=arguments.length,Sn=new Array(Xt),nr=0;nr<Xt;nr++)Sn[nr]=arguments[nr];return(Lt=Ze.current)===null||Lt===void 0?void 0:Lt.call.apply(Lt,[Ze].concat(Sn))},[]);return Et}function Nr(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var cr=Nr()?de.useLayoutEffect:de.useEffect,Fr=function(Ze,Et){var Lt=React.useRef(!0);cr(function(){return Ze(Lt.current)},Et),cr(function(){return Lt.current=!1,function(){Lt.current=!0}},[])},aa=function(Ze,Et){Fr(function(Lt){if(!Lt)return Ze()},Et)},Jn=null;function Ia(Te){var Ze=React.useRef(!1),Et=React.useState(Te),Lt=_slicedToArray(Et,2),Xt=Lt[0],Sn=Lt[1];React.useEffect(function(){return Ze.current=!1,function(){Ze.current=!0}},[]);function nr(wr,jn){jn&&Ze.current||Sn(wr)}return[Xt,nr]}function Ta(Te){return Te!==void 0}function ti(Te,Ze){var Et=Ze||{},Lt=Et.defaultValue,Xt=Et.value,Sn=Et.onChange,nr=Et.postState,wr=useState(function(){return Ta(Xt)?Xt:Ta(Lt)?typeof Lt=="function"?Lt():Lt:typeof Te=="function"?Te():Te}),jn=_slicedToArray(wr,2),Un=jn[0],Sr=jn[1],kn=Xt!==void 0?Xt:Un,Vr=nr?nr(kn):kn,xa=useEvent(Sn),wa=useState([kn]),Ra=_slicedToArray(wa,2),Qr=Ra[0],li=Ra[1];useLayoutUpdateEffect(function(){var Fi=Qr[0];Un!==Fi&&xa(Un,Fi)},[Qr]),useLayoutUpdateEffect(function(){Ta(Xt)||Sr(Xt)},[Xt]);var qa=useEvent(function(Fi,vi){Sr(Fi,vi),li([kn],vi)});return[Vr,qa]}var Jr=ee(35110);function ja(Te,Ze){typeof Te=="function"?Te(Ze):(0,ft.Z)(Te)==="object"&&Te&&"current"in Te&&(Te.current=Ze)}function Si(){for(var Te=arguments.length,Ze=new Array(Te),Et=0;Et<Te;Et++)Ze[Et]=arguments[Et];var Lt=Ze.filter(function(Xt){return Xt});return Lt.length<=1?Lt[0]:function(Xt){Ze.forEach(function(Sn){ja(Sn,Xt)})}}function $a(){for(var Te=arguments.length,Ze=new Array(Te),Et=0;Et<Te;Et++)Ze[Et]=arguments[Et];return useMemo(function(){return Si.apply(void 0,Ze)},Ze,function(Lt,Xt){return Lt.length!==Xt.length||Lt.every(function(Sn,nr){return Sn!==Xt[nr]})})}function ji(Te){var Ze,Et,Lt=isMemo(Te)?Te.type.type:Te.type;return!(typeof Lt=="function"&&!((Ze=Lt.prototype)!==null&&Ze!==void 0&&Ze.render)||typeof Te=="function"&&!((Et=Te.prototype)!==null&&Et!==void 0&&Et.render))}function Ni(Te){return!isValidElement(Te)||isFragment(Te)?!1:ji(Te)}function Ln(Te,Ze,Et,Lt){if(!Ze.length)return Et;var Xt=_toArray(Ze),Sn=Xt[0],nr=Xt.slice(1),wr;return!Te&&typeof Sn=="number"?wr=[]:Array.isArray(Te)?wr=_toConsumableArray(Te):wr=_objectSpread({},Te),Lt&&Et===void 0&&nr.length===1?delete wr[Sn][nr[0]]:wr[Sn]=Ln(wr[Sn],nr,Et,Lt),wr}function Pn(Te,Ze,Et){var Lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Ze.length&&Lt&&Et===void 0&&!get(Te,Ze.slice(0,-1))?Te:Ln(Te,Ze,Et,Lt)}function rr(Te){return _typeof(Te)==="object"&&Te!==null&&Object.getPrototypeOf(Te)===Object.prototype}function or(Te){return Array.isArray(Te)?[]:{}}var $r=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Br(){for(var Te=arguments.length,Ze=new Array(Te),Et=0;Et<Te;Et++)Ze[Et]=arguments[Et];var Lt=or(Ze[0]);return Ze.forEach(function(Xt){function Sn(nr,wr){var jn=new Set(wr),Un=get(Xt,nr),Sr=Array.isArray(Un);if(Sr||rr(Un)){if(!jn.has(Un)){jn.add(Un);var kn=get(Lt,nr);Sr?Lt=Pn(Lt,nr,[]):(!kn||_typeof(kn)!=="object")&&(Lt=Pn(Lt,nr,or(Un))),$r(Un).forEach(function(Vr){Sn([].concat(_toConsumableArray(nr),[Vr]),jn)})}}else Lt=Pn(Lt,nr,Un)}Sn([])}),Lt}var jr=ee(48555),hn=function(Te){if(!Te)return!1;if(Te instanceof Element){if(Te.offsetParent)return!0;if(Te.getBBox){var Ze=Te.getBBox(),Et=Ze.width,Lt=Ze.height;if(Et||Lt)return!0}if(Te.getBoundingClientRect){var Xt=Te.getBoundingClientRect(),Sn=Xt.width,nr=Xt.height;if(Sn||nr)return!0}}return!1},It=function(Ze){if(Nr()&&window.document.documentElement){var Et=Array.isArray(Ze)?Ze:[Ze],Lt=window.document.documentElement;return Et.some(function(Xt){return Xt in Lt.style})}return!1},Zt=function(Ze,Et){if(!It(Ze))return!1;var Lt=document.createElement("div"),Xt=Lt.style[Ze];return Lt.style[Ze]=Et,Lt.style[Ze]!==Xt};function Gt(Te,Ze){return!Array.isArray(Te)&&Ze!==void 0?Zt(Te,Ze):It(Te)}var Gn;function kt(Te){if(typeof document=="undefined")return 0;if(Te||Gn===void 0){var Ze=document.createElement("div");Ze.style.width="100%",Ze.style.height="200px";var Et=document.createElement("div"),Lt=Et.style;Lt.position="absolute",Lt.top="0",Lt.left="0",Lt.pointerEvents="none",Lt.visibility="hidden",Lt.width="200px",Lt.height="150px",Lt.overflow="hidden",Et.appendChild(Ze),document.body.appendChild(Et);var Xt=Ze.offsetWidth;Et.style.overflow="scroll";var Sn=Ze.offsetWidth;Xt===Sn&&(Sn=Et.clientWidth),document.body.removeChild(Et),Gn=Xt-Sn}return Gn}function mn(Te){var Ze=Te.match(/^(.*)px$/),Et=Number(Ze==null?void 0:Ze[1]);return Number.isNaN(Et)?kt():Et}function Zn(Te){if(typeof document=="undefined"||!Te||!(Te instanceof Element))return{width:0,height:0};var Ze=getComputedStyle(Te,"::-webkit-scrollbar"),Et=Ze.width,Lt=Ze.height;return{width:mn(Et),height:mn(Lt)}}var Mn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,ar=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,hr="".concat(Mn," ").concat(ar).split(/[\s\n]+/),dn="aria-",za="data-";function pa(Te,Ze){return Te.indexOf(Ze)===0}function ma(Te){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Et;Ze===!1?Et={aria:!0,data:!0,attr:!0}:Ze===!0?Et={aria:!0}:Et=(0,Re.Z)({},Ze);var Lt={};return Object.keys(Te).forEach(function(Xt){(Et.aria&&(Xt==="role"||pa(Xt,dn))||Et.data&&pa(Xt,za)||Et.attr&&hr.includes(Xt))&&(Lt[Xt]=Te[Xt])}),Lt}function Sa(Te,Ze,Et,Lt,Xt,Sn,nr){Te.push({record:Ze,indent:Et,index:nr});var wr=Sn(Ze),jn=Xt==null?void 0:Xt.has(wr);if(Ze&&Array.isArray(Ze[Lt])&&jn)for(var Un=0;Un<Ze[Lt].length;Un+=1)Sa(Te,Ze[Lt][Un],Et+1,Lt,Xt,Sn,Un)}function Aa(Te,Ze,Et,Lt){var Xt=de.useMemo(function(){if(Et!=null&&Et.size){for(var Sn=[],nr=0;nr<(Te==null?void 0:Te.length);nr+=1){var wr=Te[nr];Sa(Sn,wr,0,Ze,Et,Lt,nr)}return Sn}return Te==null?void 0:Te.map(function(jn,Un){return{record:jn,indent:0,index:Un}})},[Te,Ze,Et,Lt]);return Xt}function ka(Te){var Ze=Te.prefixCls,Et=Te.children,Lt=Te.component,Xt=Te.cellComponent,Sn=Te.className,nr=Te.expanded,wr=Te.colSpan,jn=Te.isEmpty,Un=Pe(ce,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Sr=Un.scrollbarSize,kn=Un.fixHeader,Vr=Un.fixColumn,xa=Un.componentWidth,wa=Un.horizonScroll,Ra=Et;return(jn?wa&&xa:Vr)&&(Ra=de.createElement("div",{style:{width:xa-(kn?Sr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Ze,"-expanded-row-fixed")},Ra)),de.createElement(Lt,{className:Sn,style:{display:nr?null:"none"}},de.createElement(xt,{component:Xt,prefixCls:Ze,colSpan:wr},Ra))}var Er=ka;function Gr(Te,Ze,Et,Lt){var Xt=Pe(ce,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Sn=Xt.flattenColumns,nr=Xt.expandableType,wr=Xt.expandedKeys,jn=Xt.childrenColumnName,Un=Xt.onTriggerExpand,Sr=Xt.rowExpandable,kn=Xt.onRow,Vr=Xt.expandRowByClick,xa=Xt.rowClassName,wa=nr==="nest",Ra=nr==="row"&&(!Sr||Sr(Te)),Qr=Ra||wa,li=wr&&wr.has(Ze),qa=jn&&Te&&Te[jn],Fi=nn(Un),vi=kn==null?void 0:kn(Te,Et),pi=vi==null?void 0:vi.onClick,yi=function(Za){Vr&&Qr&&Un(Te,Za);for(var Ka=arguments.length,ii=new Array(Ka>1?Ka-1:0),Ti=1;Ti<Ka;Ti++)ii[Ti-1]=arguments[Ti];pi==null||pi.apply(void 0,[Za].concat(ii))},Vi;typeof xa=="string"?Vi=xa:typeof xa=="function"&&(Vi=xa(Te,Et,Lt));var Ko=En(Sn);return(0,Re.Z)((0,Re.Z)({},Xt),{},{columnsKey:Ko,nestExpandable:wa,expanded:li,hasNestChildren:qa,record:Te,onTriggerExpand:Fi,rowSupportExpand:Ra,expandable:Qr,rowProps:(0,Re.Z)((0,Re.Z)({},vi),{},{className:ze()(Vi,vi==null?void 0:vi.className),onClick:yi})})}function Zi(Te,Ze,Et,Lt,Xt){var Sn=Te.record,nr=Te.prefixCls,wr=Te.columnsKey,jn=Te.fixedInfoList,Un=Te.expandIconColumnIndex,Sr=Te.nestExpandable,kn=Te.indentSize,Vr=Te.expandIcon,xa=Te.expanded,wa=Te.hasNestChildren,Ra=Te.onTriggerExpand,Qr=wr[Et],li=jn[Et],qa;Et===(Un||0)&&Sr&&(qa=de.createElement(de.Fragment,null,de.createElement("span",{style:{paddingLeft:"".concat(kn*Lt,"px")},className:"".concat(nr,"-row-indent indent-level-").concat(Lt)}),Vr({prefixCls:nr,expanded:xa,expandable:wa,record:Sn,onExpand:Ra})));var Fi;return Ze.onCell&&(Fi=Ze.onCell(Sn,Xt)),{key:Qr,fixedInfo:li,appendCellNode:qa,additionalCellProps:Fi||{}}}function Ii(Te){var Ze=Te.className,Et=Te.style,Lt=Te.record,Xt=Te.index,Sn=Te.renderIndex,nr=Te.rowKey,wr=Te.indent,jn=wr===void 0?0:wr,Un=Te.rowComponent,Sr=Te.cellComponent,kn=Te.scopeCellComponent,Vr=Gr(Lt,nr,Xt,jn),xa=Vr.prefixCls,wa=Vr.flattenColumns,Ra=Vr.expandedRowClassName,Qr=Vr.expandedRowRender,li=Vr.rowProps,qa=Vr.expanded,Fi=Vr.rowSupportExpand,vi=de.useState(!1),pi=(0,De.Z)(vi,2),yi=pi[0],Vi=pi[1];de.useEffect(function(){qa&&Vi(!0)},[qa]);var Ko=de.createElement(Un,(0,rt.Z)({},li,{"data-row-key":nr,className:ze()(Ze,"".concat(xa,"-row"),"".concat(xa,"-row-level-").concat(jn),li==null?void 0:li.className),style:(0,Re.Z)((0,Re.Z)({},Et),li==null?void 0:li.style)}),wa.map(function(ii,Ti){var lo=ii.render,rl=ii.dataIndex,Po=ii.className,To=Zi(Vr,ii,Ti,jn,Xt),Ml=To.key,pl=To.fixedInfo,Kl=To.appendCellNode,Gl=To.additionalCellProps;return de.createElement(xt,(0,rt.Z)({className:Po,ellipsis:ii.ellipsis,align:ii.align,scope:ii.rowScope,component:ii.rowScope?kn:Sr,prefixCls:xa,key:Ml,record:Lt,index:Xt,renderIndex:Sn,dataIndex:rl,render:lo,shouldCellUpdate:ii.shouldCellUpdate},pl,{appendNode:Kl,additionalProps:Gl}))})),Li;if(Fi&&(yi||qa)){var Za=Qr(Lt,Xt,jn+1,qa),Ka=Ra&&Ra(Lt,Xt,jn);Li=de.createElement(Er,{expanded:qa,className:ze()("".concat(xa,"-expanded-row"),"".concat(xa,"-expanded-row-level-").concat(jn+1),Ka),prefixCls:xa,component:Un,cellComponent:Sr,colSpan:wa.length,isEmpty:!1},Za)}return de.createElement(de.Fragment,null,Ko,Li)}Ii.displayName="BodyRow";var ni=$e(Ii);function hi(Te){var Ze=Te.columnKey,Et=Te.onColumnResize,Lt=de.useRef();return de.useEffect(function(){Lt.current&&Et(Ze,Lt.current.offsetWidth)},[]),de.createElement(jr.Z,{data:Ze},de.createElement("td",{ref:Lt,style:{padding:0,border:0,height:0}},de.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function io(Te){var Ze=Te.prefixCls,Et=Te.columnsKey,Lt=Te.onColumnResize;return de.createElement("tr",{"aria-hidden":"true",className:"".concat(Ze,"-measure-row"),style:{height:0,fontSize:0}},de.createElement(jr.Z.Collection,{onBatchResize:function(Sn){Sn.forEach(function(nr){var wr=nr.data,jn=nr.size;Lt(wr,jn.offsetWidth)})}},Et.map(function(Xt){return de.createElement(hi,{key:Xt,columnKey:Xt,onColumnResize:Lt})})))}function ri(Te){var Ze=Te.data,Et=Te.measureColumnWidth,Lt=Pe(ce,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Xt=Lt.prefixCls,Sn=Lt.getComponent,nr=Lt.onColumnResize,wr=Lt.flattenColumns,jn=Lt.getRowKey,Un=Lt.expandedKeys,Sr=Lt.childrenColumnName,kn=Lt.emptyNode,Vr=Aa(Ze,Sr,Un,jn),xa=de.useRef({renderWithProps:!1}),wa=Sn(["body","wrapper"],"tbody"),Ra=Sn(["body","row"],"tr"),Qr=Sn(["body","cell"],"td"),li=Sn(["body","cell"],"th"),qa;Ze.length?qa=Vr.map(function(vi,pi){var yi=vi.record,Vi=vi.indent,Ko=vi.index,Li=jn(yi,pi);return de.createElement(ni,{key:Li,rowKey:Li,record:yi,index:pi,renderIndex:Ko,rowComponent:Ra,cellComponent:Qr,scopeCellComponent:li,getRowKey:jn,indent:Vi})}):qa=de.createElement(Er,{expanded:!0,className:"".concat(Xt,"-placeholder"),prefixCls:Xt,component:Ra,cellComponent:Qr,colSpan:wr.length,isEmpty:!0},kn);var Fi=En(wr);return de.createElement(cn.Provider,{value:xa.current},de.createElement(wa,{className:"".concat(Xt,"-tbody")},Et&&de.createElement(io,{prefixCls:Xt,columnsKey:Fi,onColumnResize:nr}),qa))}ri.displayName="Body";var ho=$e(ri),ia=["expandable"],so="RC_TABLE_INTERNAL_COL_DEFINE";function xo(Te){var Ze=Te.expandable,Et=(0,_n.Z)(Te,ia),Lt;return"expandable"in Te?Lt=(0,Re.Z)((0,Re.Z)({},Et),Ze):Lt=Et,Lt.showExpandColumn===!1&&(Lt.expandIconColumnIndex=-1),Lt}var ml=["columnType"];function vl(Te){for(var Ze=Te.colWidths,Et=Te.columns,Lt=Te.columCount,Xt=[],Sn=Lt||Et.length,nr=!1,wr=Sn-1;wr>=0;wr-=1){var jn=Ze[wr],Un=Et&&Et[wr],Sr=Un&&Un[so];if(jn||Sr||nr){var kn=Sr||{},Vr=kn.columnType,xa=(0,_n.Z)(kn,ml);Xt.unshift(de.createElement("col",(0,rt.Z)({key:wr,style:{width:jn}},xa))),nr=!0}}return de.createElement("colgroup",null,Xt)}var Yo=vl,uo=ee(74902),wl=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Qo(Te,Ze){return(0,de.useMemo)(function(){for(var Et=[],Lt=0;Lt<Ze;Lt+=1){var Xt=Te[Lt];if(Xt!==void 0)Et[Lt]=Xt;else return null}return Et},[Te.join("_"),Ze])}var dl=de.forwardRef(function(Te,Ze){var Et=Te.className,Lt=Te.noData,Xt=Te.columns,Sn=Te.flattenColumns,nr=Te.colWidths,wr=Te.columCount,jn=Te.stickyOffsets,Un=Te.direction,Sr=Te.fixHeader,kn=Te.stickyTopOffset,Vr=Te.stickyBottomOffset,xa=Te.stickyClassName,wa=Te.onScroll,Ra=Te.maxContentScroll,Qr=Te.children,li=(0,_n.Z)(Te,wl),qa=Pe(ce,["prefixCls","scrollbarSize","isSticky"]),Fi=qa.prefixCls,vi=qa.scrollbarSize,pi=qa.isSticky,yi=pi&&!Sr?0:vi,Vi=de.useRef(null),Ko=de.useCallback(function(Po){ja(Ze,Po),ja(Vi,Po)},[]);de.useEffect(function(){var Po;function To(Ml){var pl=Ml,Kl=pl.currentTarget,Gl=pl.deltaX;Gl&&(wa({currentTarget:Kl,scrollLeft:Kl.scrollLeft+Gl}),Ml.preventDefault())}return(Po=Vi.current)===null||Po===void 0||Po.addEventListener("wheel",To),function(){var Ml;(Ml=Vi.current)===null||Ml===void 0||Ml.removeEventListener("wheel",To)}},[]);var Li=de.useMemo(function(){return Sn.every(function(Po){return Po.width})},[Sn]),Za=Sn[Sn.length-1],Ka={fixed:Za?Za.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Fi,"-cell-scrollbar")}}},ii=(0,de.useMemo)(function(){return yi?[].concat((0,uo.Z)(Xt),[Ka]):Xt},[yi,Xt]),Ti=(0,de.useMemo)(function(){return yi?[].concat((0,uo.Z)(Sn),[Ka]):Sn},[yi,Sn]),lo=(0,de.useMemo)(function(){var Po=jn.right,To=jn.left;return(0,Re.Z)((0,Re.Z)({},jn),{},{left:Un==="rtl"?[].concat((0,uo.Z)(To.map(function(Ml){return Ml+yi})),[0]):To,right:Un==="rtl"?Po:[].concat((0,uo.Z)(Po.map(function(Ml){return Ml+yi})),[0]),isSticky:pi})},[yi,jn,pi]),rl=Qo(nr,wr);return de.createElement("div",{style:(0,Re.Z)({overflow:"hidden"},pi?{top:kn,bottom:Vr}:{}),ref:Ko,className:ze()(Et,(0,Be.Z)({},xa,!!xa))},de.createElement("table",{style:{tableLayout:"fixed",visibility:Lt||rl?null:"hidden"}},(!Lt||!Ra||Li)&&de.createElement(Yo,{colWidths:rl?[].concat((0,uo.Z)(rl),[yi]):[],columCount:wr+1,columns:Ti}),Qr((0,Re.Z)((0,Re.Z)({},li),{},{stickyOffsets:lo,columns:ii,flattenColumns:Ti}))))});dl.displayName="FixedHolder";var zl=de.memo(dl);function bl(Te){var Ze=Te.cells,Et=Te.stickyOffsets,Lt=Te.flattenColumns,Xt=Te.rowComponent,Sn=Te.cellComponent,nr=Te.tdCellComponent,wr=Te.onHeaderRow,jn=Te.index,Un=Pe(ce,["prefixCls","direction"]),Sr=Un.prefixCls,kn=Un.direction,Vr;wr&&(Vr=wr(Ze.map(function(wa){return wa.column}),jn));var xa=En(Ze.map(function(wa){return wa.column}));return de.createElement(Xt,Vr,Ze.map(function(wa,Ra){var Qr=wa.column,li=pn(wa.colStart,wa.colEnd,Lt,Et,kn,Qr),qa;return Qr&&Qr.onHeaderCell&&(qa=wa.column.onHeaderCell(Qr)),de.createElement(xt,(0,rt.Z)({},wa,{scope:Qr.title?wa.colSpan>1?"colgroup":"col":null,ellipsis:Qr.ellipsis,align:Qr.align,component:Qr.title?Sn:nr,prefixCls:Sr,key:xa[Ra]},li,{additionalProps:qa,rowType:"header"}))}))}bl.displayName="HeaderRow";var Sl=bl;function Ci(Te){var Ze=[];function Et(nr,wr){var jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ze[jn]=Ze[jn]||[];var Un=wr,Sr=nr.filter(Boolean).map(function(kn){var Vr={key:kn.key,className:kn.className||"",children:kn.title,column:kn,colStart:Un},xa=1,wa=kn.children;return wa&&wa.length>0&&(xa=Et(wa,Un,jn+1).reduce(function(Ra,Qr){return Ra+Qr},0),Vr.hasSubColumns=!0),"colSpan"in kn&&(xa=kn.colSpan),"rowSpan"in kn&&(Vr.rowSpan=kn.rowSpan),Vr.colSpan=xa,Vr.colEnd=Vr.colStart+xa-1,Ze[jn].push(Vr),Un+=xa,xa});return Sr}Et(Te,0);for(var Lt=Ze.length,Xt=function(wr){Ze[wr].forEach(function(jn){!("rowSpan"in jn)&&!jn.hasSubColumns&&(jn.rowSpan=Lt-wr)})},Sn=0;Sn<Lt;Sn+=1)Xt(Sn);return Ze}function Do(Te){var Ze=Te.stickyOffsets,Et=Te.columns,Lt=Te.flattenColumns,Xt=Te.onHeaderRow,Sn=Pe(ce,["prefixCls","getComponent"]),nr=Sn.prefixCls,wr=Sn.getComponent,jn=de.useMemo(function(){return Ci(Et)},[Et]),Un=wr(["header","wrapper"],"thead"),Sr=wr(["header","row"],"tr"),kn=wr(["header","cell"],"th"),Vr=wr(["header","cell"],"td");return de.createElement(Un,{className:"".concat(nr,"-thead")},jn.map(function(xa,wa){var Ra=de.createElement(Sl,{key:wa,flattenColumns:Lt,cells:xa,stickyOffsets:Ze,rowComponent:Sr,cellComponent:kn,tdCellComponent:Vr,onHeaderRow:Xt,index:wa});return Ra}))}var Pi=$e(Do);function Bi(Te){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Et=[];return de.Children.forEach(Te,function(Lt){Lt==null&&!Ze.keepEmpty||(Array.isArray(Lt)?Et=Et.concat(Bi(Lt)):(0,Jr.isFragment)(Lt)&&Lt.props?Et=Et.concat(Bi(Lt.props.children,Ze)):Et.push(Lt))}),Et}function zn(Te){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ze=="number"?Ze:Ze.endsWith("%")?Te*parseFloat(Ze)/100:null}function Cn(Te,Ze){return de.useMemo(function(){if(Ze&&Ze>0){var Et=0,Lt=0;Te.forEach(function(Un){var Sr=zn(Ze,Un.width);Sr?Et+=Sr:Lt+=1});var Xt=Ze-Et,Sn=Lt,nr=Xt/Lt,wr=0,jn=Te.map(function(Un){var Sr=(0,Re.Z)({},Un),kn=zn(Ze,Sr.width);if(kn)Sr.width=kn;else{var Vr=Math.floor(nr);Sr.width=Sn===1?Xt:Vr,Xt-=Vr,Sn-=1}return wr+=Sr.width,Sr});return[jn,wr]}return[Te,Ze]},[Te,Ze])}var mr=["children"],Yr=["fixed"];function ha(Te){return Bi(Te).filter(function(Ze){return de.isValidElement(Ze)}).map(function(Ze){var Et=Ze.key,Lt=Ze.props,Xt=Lt.children,Sn=(0,_n.Z)(Lt,mr),nr=(0,Re.Z)({key:Et},Sn);return Xt&&(nr.children=ha(Xt)),nr})}function mi(Te){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Te.filter(function(Et){return Et&&(0,ft.Z)(Et)==="object"}).reduce(function(Et,Lt,Xt){var Sn=Lt.fixed,nr=Sn===!0?"left":Sn,wr="".concat(Ze,"-").concat(Xt),jn=Lt.children;return jn&&jn.length>0?[].concat((0,uo.Z)(Et),(0,uo.Z)(mi(jn,wr).map(function(Un){return(0,Re.Z)({fixed:nr},Un)}))):[].concat((0,uo.Z)(Et),[(0,Re.Z)((0,Re.Z)({key:wr},Lt),{},{fixed:nr})])},[])}function xi(Te){for(var Ze=!0,Et=0;Et<Te.length;Et+=1){var Lt=Te[Et];if(Ze&&Lt.fixed!=="left")Ze=!1;else if(!Ze&&Lt.fixed==="left"){warning(!1,"Index ".concat(Et-1," of `columns` missing `fixed='left'` prop."));break}}for(var Xt=!0,Sn=Te.length-1;Sn>=0;Sn-=1){var nr=Te[Sn];if(Xt&&nr.fixed!=="right")Xt=!1;else if(!Xt&&nr.fixed==="right"){warning(!1,"Index ".concat(Sn+1," of `columns` missing `fixed='right'` prop."));break}}}function Ui(Te){return Te.map(function(Ze){var Et=Ze.fixed,Lt=(0,_n.Z)(Ze,Yr),Xt=Et;return Et==="left"?Xt="right":Et==="right"&&(Xt="left"),(0,Re.Z)({fixed:Xt},Lt)})}function di(Te,Ze){var Et=Te.prefixCls,Lt=Te.columns,Xt=Te.children,Sn=Te.expandable,nr=Te.expandedKeys,wr=Te.columnTitle,jn=Te.getRowKey,Un=Te.onTriggerExpand,Sr=Te.expandIcon,kn=Te.rowExpandable,Vr=Te.expandIconColumnIndex,xa=Te.direction,wa=Te.expandRowByClick,Ra=Te.columnWidth,Qr=Te.fixed,li=Te.scrollWidth,qa=de.useMemo(function(){return Lt||ha(Xt)},[Lt,Xt]),Fi=de.useMemo(function(){if(Sn){var Za,Ka=qa.slice();if(!Ka.includes(ne)){var ii=Vr||0;ii>=0&&Ka.splice(ii,0,ne)}var Ti=Ka.indexOf(ne);Ka=Ka.filter(function(To,Ml){return To!==ne||Ml===Ti});var lo=qa[Ti],rl;(Qr==="left"||Qr)&&!Vr?rl="left":(Qr==="right"||Qr)&&Vr===qa.length?rl="right":rl=lo?lo.fixed:null;var Po=(Za={},(0,Be.Z)(Za,so,{className:"".concat(Et,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Be.Z)(Za,"title",wr),(0,Be.Z)(Za,"fixed",rl),(0,Be.Z)(Za,"className","".concat(Et,"-row-expand-icon-cell")),(0,Be.Z)(Za,"width",Ra),(0,Be.Z)(Za,"render",function(Ml,pl,Kl){var Gl=jn(pl,Kl),Is=nr.has(Gl),Ps=kn?kn(pl):!0,Yl=Sr({prefixCls:Et,expanded:Is,expandable:Ps,record:pl,onExpand:Un});return wa?de.createElement("span",{onClick:function(ps){return ps.stopPropagation()}},Yl):Yl}),Za);return Ka.map(function(To){return To===ne?Po:To})}return qa.filter(function(To){return To!==ne})},[Sn,qa,jn,nr,Sr,xa]),vi=de.useMemo(function(){var Za=Fi;return Ze&&(Za=Ze(Za)),Za.length||(Za=[{render:function(){return null}}]),Za},[Ze,Fi,xa]),pi=de.useMemo(function(){return xa==="rtl"?Ui(mi(vi)):mi(vi)},[vi,xa,li]),yi=Cn(pi,li),Vi=(0,De.Z)(yi,2),Ko=Vi[0],Li=Vi[1];return[vi,Ko,Li]}var Mi=di;function Ao(Te){var Ze,Et=Te.prefixCls,Lt=Te.record,Xt=Te.onExpand,Sn=Te.expanded,nr=Te.expandable,wr="".concat(Et,"-row-expand-icon");if(!nr)return de.createElement("span",{className:ze()(wr,"".concat(Et,"-row-spaced"))});var jn=function(Sr){Xt(Lt,Sr),Sr.stopPropagation()};return de.createElement("span",{className:ze()(wr,(Ze={},(0,Be.Z)(Ze,"".concat(Et,"-row-expanded"),Sn),(0,Be.Z)(Ze,"".concat(Et,"-row-collapsed"),!Sn),Ze)),onClick:jn})}function Wo(Te,Ze,Et){var Lt=[];function Xt(Sn){(Sn||[]).forEach(function(nr,wr){Lt.push(Ze(nr,wr)),Xt(nr[Et])})}return Xt(Te),Lt}function $o(Te,Ze,Et){var Lt=xo(Te),Xt=Lt.expandIcon,Sn=Lt.expandedRowKeys,nr=Lt.defaultExpandedRowKeys,wr=Lt.defaultExpandAllRows,jn=Lt.expandedRowRender,Un=Lt.onExpand,Sr=Lt.onExpandedRowsChange,kn=Lt.childrenColumnName,Vr=Xt||Ao,xa=kn||"children",wa=de.useMemo(function(){return jn?"row":Te.expandable&&Te.internalHooks===fe&&Te.expandable.__PARENT_RENDER_ICON__||Ze.some(function(pi){return pi&&(0,ft.Z)(pi)==="object"&&pi[xa]})?"nest":!1},[!!jn,Ze]),Ra=de.useState(function(){return nr||(wr?Wo(Ze,Et,xa):[])}),Qr=(0,De.Z)(Ra,2),li=Qr[0],qa=Qr[1],Fi=de.useMemo(function(){return new Set(Sn||li||[])},[Sn,li]),vi=de.useCallback(function(pi){var yi=Et(pi,Ze.indexOf(pi)),Vi,Ko=Fi.has(yi);Ko?(Fi.delete(yi),Vi=(0,uo.Z)(Fi)):Vi=[].concat((0,uo.Z)(Fi),[yi]),qa(Vi),Un&&Un(!Ko,pi),Sr&&Sr(Vi)},[Et,Fi,Ze,Un,Sr]);return[Lt,wa,Fi,Vr,xa,vi]}function He(Te,Ze,Et,Lt){var Xt=Te.map(function(Sn,nr){return pn(nr,nr,Te,Ze,Et,Lt==null?void 0:Lt[nr])});return ct(function(){return Xt},[Xt],function(Sn,nr){return!sn(Sn,nr)})}function tt(Te){var Ze=(0,de.useRef)(Te),Et=(0,de.useState)({}),Lt=(0,De.Z)(Et,2),Xt=Lt[1],Sn=(0,de.useRef)(null),nr=(0,de.useRef)([]);function wr(jn){nr.current.push(jn);var Un=Promise.resolve();Sn.current=Un,Un.then(function(){if(Sn.current===Un){var Sr=nr.current,kn=Ze.current;nr.current=[],Sr.forEach(function(Vr){Ze.current=Vr(Ze.current)}),Sn.current=null,kn!==Ze.current&&Xt({})}})}return(0,de.useEffect)(function(){return function(){Sn.current=null}},[]),[Ze.current,wr]}function Nt(Te){var Ze=(0,de.useRef)(Te||null),Et=(0,de.useRef)();function Lt(){window.clearTimeout(Et.current)}function Xt(nr){Ze.current=nr,Lt(),Et.current=window.setTimeout(function(){Ze.current=null,Et.current=void 0},100)}function Sn(){return Ze.current}return(0,de.useEffect)(function(){return Lt},[]),[Xt,Sn]}function pe(){var Te=de.useState(-1),Ze=(0,De.Z)(Te,2),Et=Ze[0],Lt=Ze[1],Xt=de.useState(-1),Sn=(0,De.Z)(Xt,2),nr=Sn[0],wr=Sn[1],jn=de.useCallback(function(Un,Sr){Lt(Un),wr(Sr)},[]);return[Et,nr,jn]}var Oe=Nr()?window:null;function Ae(Te,Ze){var Et=(0,ft.Z)(Te)==="object"?Te:{},Lt=Et.offsetHeader,Xt=Lt===void 0?0:Lt,Sn=Et.offsetSummary,nr=Sn===void 0?0:Sn,wr=Et.offsetScroll,jn=wr===void 0?0:wr,Un=Et.getContainer,Sr=Un===void 0?function(){return Oe}:Un,kn=Sr()||Oe;return de.useMemo(function(){var Vr=!!Te;return{isSticky:Vr,stickyClassName:Vr?"".concat(Ze,"-sticky-holder"):"",offsetHeader:Xt,offsetSummary:nr,offsetScroll:jn,container:kn}},[jn,Xt,nr,Ze,kn])}function Ke(Te,Ze,Et){var Lt=(0,de.useMemo)(function(){for(var Xt=[],Sn=[],nr=0,wr=0,jn=0;jn<Ze;jn+=1)if(Et==="rtl"){Sn[jn]=wr,wr+=Te[jn]||0;var Un=Ze-jn-1;Xt[Un]=nr,nr+=Te[Un]||0}else{Xt[jn]=nr,nr+=Te[jn]||0;var Sr=Ze-jn-1;Sn[Sr]=wr,wr+=Te[Sr]||0}return{left:Xt,right:Sn}},[Te,Ze,Et]);return Lt}var Qe=Ke;function at(Te){var Ze=Te.className,Et=Te.children;return de.createElement("div",{className:Ze},Et)}var pt=at;function $t(Te,Ze,Et,Lt){var Xt=Se.unstable_batchedUpdates?function(nr){Se.unstable_batchedUpdates(Et,nr)}:Et;return Te!=null&&Te.addEventListener&&Te.addEventListener(Ze,Xt,Lt),{remove:function(){Te!=null&&Te.removeEventListener&&Te.removeEventListener(Ze,Xt,Lt)}}}var tn=/margin|padding|width|height|max|min|offset/,Yn={left:!0,top:!0},fr={cssFloat:1,styleFloat:1,float:1};function Cr(Te){return Te.nodeType===1?Te.ownerDocument.defaultView.getComputedStyle(Te,null):{}}function Dn(Te,Ze,Et){if(Ze=Ze.toLowerCase(),Et==="auto"){if(Ze==="height")return Te.offsetHeight;if(Ze==="width")return Te.offsetWidth}return Ze in Yn||(Yn[Ze]=tn.test(Ze)),Yn[Ze]?parseFloat(Et)||0:Et}function qn(Te,Ze){var Et=arguments.length,Lt=Cr(Te);return Ze=fr[Ze]?"cssFloat"in Te.style?"cssFloat":"styleFloat":Ze,Et===1?Lt:Dn(Te,Ze,Lt[Ze]||Te.style[Ze])}function Xn(Te,Ze,Et){var Lt=arguments.length;if(Ze=fr[Ze]?"cssFloat"in Te.style?"cssFloat":"styleFloat":Ze,Lt===3)return typeof Et=="number"&&tn.test(Ze)&&(Et="".concat(Et,"px")),Te.style[Ze]=Et,Et;for(var Xt in Ze)Ze.hasOwnProperty(Xt)&&Xn(Te,Xt,Ze[Xt]);return Cr(Te)}function Ar(Te){return Te===document.body?document.documentElement.clientWidth:Te.offsetWidth}function Or(Te){return Te===document.body?window.innerHeight||document.documentElement.clientHeight:Te.offsetHeight}function Kr(){var Te=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Ze=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Te,height:Ze}}function Tr(){var Te=document.documentElement.clientWidth,Ze=window.innerHeight||document.documentElement.clientHeight;return{width:Te,height:Ze}}function _r(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Zr(Te){var Ze=Te.getBoundingClientRect(),Et=document.documentElement;return{left:Ze.left+(window.pageXOffset||Et.scrollLeft)-(Et.clientLeft||document.body.clientLeft||0),top:Ze.top+(window.pageYOffset||Et.scrollTop)-(Et.clientTop||document.body.clientTop||0)}}var qr=function(Ze,Et){var Lt,Xt,Sn=Ze.scrollBodyRef,nr=Ze.onScroll,wr=Ze.offsetScroll,jn=Ze.container,Un=Pe(ce,"prefixCls"),Sr=((Lt=Sn.current)===null||Lt===void 0?void 0:Lt.scrollWidth)||0,kn=((Xt=Sn.current)===null||Xt===void 0?void 0:Xt.clientWidth)||0,Vr=Sr&&kn*(kn/Sr),xa=de.useRef(),wa=tt({scrollLeft:0,isHiddenScrollBar:!1}),Ra=(0,De.Z)(wa,2),Qr=Ra[0],li=Ra[1],qa=de.useRef({delta:0,x:0}),Fi=de.useState(!1),vi=(0,De.Z)(Fi,2),pi=vi[0],yi=vi[1],Vi=function(){yi(!1)},Ko=function(Ti){Ti.persist(),qa.current.delta=Ti.pageX-Qr.scrollLeft,qa.current.x=0,yi(!0),Ti.preventDefault()},Li=function(Ti){var lo,rl=Ti||((lo=window)===null||lo===void 0?void 0:lo.event),Po=rl.buttons;if(!pi||Po===0){pi&&yi(!1);return}var To=qa.current.x+Ti.pageX-qa.current.x-qa.current.delta;To<=0&&(To=0),To+Vr>=kn&&(To=kn-Vr),nr({scrollLeft:To/kn*(Sr+2)}),qa.current.x=Ti.pageX},Za=function(){if(Sn.current){var Ti=Zr(Sn.current).top,lo=Ti+Sn.current.offsetHeight,rl=jn===window?document.documentElement.scrollTop+window.innerHeight:Zr(jn).top+jn.clientHeight;lo-kt()<=rl||Ti>=rl-wr?li(function(Po){return(0,Re.Z)((0,Re.Z)({},Po),{},{isHiddenScrollBar:!0})}):li(function(Po){return(0,Re.Z)((0,Re.Z)({},Po),{},{isHiddenScrollBar:!1})})}},Ka=function(Ti){li(function(lo){return(0,Re.Z)((0,Re.Z)({},lo),{},{scrollLeft:Ti/Sr*kn||0})})};return de.useImperativeHandle(Et,function(){return{setScrollLeft:Ka}}),de.useEffect(function(){var ii=$t(document.body,"mouseup",Vi,!1),Ti=$t(document.body,"mousemove",Li,!1);return Za(),function(){ii.remove(),Ti.remove()}},[Vr,pi]),de.useEffect(function(){var ii=$t(jn,"scroll",Za,!1),Ti=$t(window,"resize",Za,!1);return function(){ii.remove(),Ti.remove()}},[jn]),de.useEffect(function(){Qr.isHiddenScrollBar||li(function(ii){var Ti=Sn.current;return Ti?(0,Re.Z)((0,Re.Z)({},ii),{},{scrollLeft:Ti.scrollLeft/Ti.scrollWidth*Ti.clientWidth}):ii})},[Qr.isHiddenScrollBar]),Sr<=kn||!Vr||Qr.isHiddenScrollBar?null:de.createElement("div",{style:{height:kt(),width:kn,bottom:wr},className:"".concat(Un,"-sticky-scroll")},de.createElement("div",{onMouseDown:Ko,ref:xa,className:ze()("".concat(Un,"-sticky-scroll-bar"),(0,Be.Z)({},"".concat(Un,"-sticky-scroll-bar-active"),pi)),style:{width:"".concat(Vr,"px"),transform:"translate3d(".concat(Qr.scrollLeft,"px, 0, 0)")}}))},Dt=de.forwardRef(qr);function Pt(Te){return null}var Kn=Pt;function Bn(Te){return null}var xr=Bn,zr="rc-table",Lr=[],ca={};function un(){return"No Data"}function Jt(Te){var Ze,Et=(0,Re.Z)({rowKey:"key",prefixCls:zr,emptyText:un},Te),Lt=Et.prefixCls,Xt=Et.className,Sn=Et.rowClassName,nr=Et.style,wr=Et.data,jn=Et.rowKey,Un=Et.scroll,Sr=Et.tableLayout,kn=Et.direction,Vr=Et.title,xa=Et.footer,wa=Et.summary,Ra=Et.caption,Qr=Et.id,li=Et.showHeader,qa=Et.components,Fi=Et.emptyText,vi=Et.onRow,pi=Et.onHeaderRow,yi=Et.internalHooks,Vi=Et.transformColumns,Ko=Et.internalRefs,Li=Et.tailor,Za=Et.sticky,Ka=wr||Lr,ii=!!Ka.length,Ti=yi===fe,lo=de.useCallback(function(Ds,Zs){return wn(qa,Ds)||Zs},[qa]),rl=de.useMemo(function(){return typeof jn=="function"?jn:function(Ds){var Zs=Ds&&Ds[jn];return Zs}},[jn]),Po=lo(["body"]),To=pe(),Ml=(0,De.Z)(To,3),pl=Ml[0],Kl=Ml[1],Gl=Ml[2],Is=$o(Et,Ka,rl),Ps=(0,De.Z)(Is,6),Yl=Ps[0],_s=Ps[1],ps=Ps[2],gs=Ps[3],Jo=Ps[4],$i=Ps[5],ki=Un==null?void 0:Un.x,Co=de.useState(0),Eo=(0,De.Z)(Co,2),eo=Eo[0],rs=Eo[1],ro=Mi((0,Re.Z)((0,Re.Z)((0,Re.Z)({},Et),Yl),{},{expandable:!!Yl.expandedRowRender,columnTitle:Yl.columnTitle,expandedKeys:ps,getRowKey:rl,onTriggerExpand:$i,expandIcon:gs,expandIconColumnIndex:Yl.expandIconColumnIndex,direction:kn,scrollWidth:Ti&&Li&&typeof ki=="number"?ki:null}),Ti?Vi:null),xl=(0,De.Z)(ro,3),cs=xl[0],es=xl[1],au=xl[2],nu=au!=null?au:ki,Au=de.useMemo(function(){return{columns:cs,flattenColumns:es}},[cs,es]),ui=de.useRef(),Hu=de.useRef(),js=de.useRef(),bu=de.useRef(),Nu=de.useRef(),vs=de.useState(!1),Ss=(0,De.Z)(vs,2),Ls=Ss[0],as=Ss[1],su=de.useState(!1),ds=(0,De.Z)(su,2),ru=ds[0],uu=ds[1],cu=tt(new Map),Iu=(0,De.Z)(cu,2),Us=Iu[0],Pu=Iu[1],Gs=En(es),du=Gs.map(function(Ds){return Us.get(Ds)}),fu=de.useMemo(function(){return du},[du.join("_")]),Ys=Qe(fu,es.length,kn),Vs=Un&&Ge(Un.y),Hs=Un&&Ge(nu)||!!Yl.fixed,Qu=Hs&&es.some(function(Ds){var Zs=Ds.fixed;return Zs}),dc=de.useRef(),Ts=Ae(Za,Lt),xu=Ts.isSticky,Rc=Ts.offsetHeader,ec=Ts.offsetSummary,os=Ts.offsetScroll,cl=Ts.stickyClassName,iu=Ts.container,As=de.useMemo(function(){return wa==null?void 0:wa(Ka)},[wa,Ka]),hu=(Vs||xu)&&de.isValidElement(As)&&As.type===Tn&&As.props.fixed,Fa,Ou,tc;Vs&&(Ou={overflowY:"scroll",maxHeight:Un.y}),Hs&&(Fa={overflowX:"auto"},Vs||(Ou={overflowY:"hidden"}),tc={width:nu===!0?"auto":nu,minWidth:"100%"});var kc=de.useCallback(function(Ds,Zs){hn(ui.current)&&Pu(function(Uu){if(Uu.get(Ds)!==Zs){var vc=new Map(Uu);return vc.set(Ds,Zs),vc}return Uu})},[]),Jc=Nt(null),nc=(0,De.Z)(Jc,2),Nc=nc[0],qc=nc[1];function ou(Ds,Zs){Zs&&(typeof Zs=="function"?Zs(Ds):Zs.scrollLeft!==Ds&&(Zs.scrollLeft=Ds,Zs.scrollLeft!==Ds&&setTimeout(function(){Zs.scrollLeft=Ds},0)))}var Fu=nn(function(Ds){var Zs=Ds.currentTarget,Uu=Ds.scrollLeft,vc=kn==="rtl",ks=typeof Uu=="number"?Uu:Zs.scrollLeft,xd=Zs||ca;if(!qc()||qc()===xd){var wd;Nc(xd),ou(ks,Hu.current),ou(ks,js.current),ou(ks,Nu.current),ou(ks,(wd=dc.current)===null||wd===void 0?void 0:wd.setScrollLeft)}var wc=Zs||Hu.current;if(wc){var Sd=wc.scrollWidth,Kc=wc.clientWidth;if(Sd===Kc){as(!1),uu(!1);return}vc?(as(-ks<Sd-Kc),uu(-ks>0)):(as(ks>0),uu(ks<Sd-Kc))}}),Ic=function(){Hs&&js.current?Fu({currentTarget:js.current}):(as(!1),uu(!1))},Fc=function(Zs){var Uu=Zs.width;Uu!==eo&&(Ic(),rs(ui.current?ui.current.offsetWidth:Uu))},Cs=de.useRef(!1);de.useEffect(function(){Cs.current&&Ic()},[Hs,wr,cs.length]),de.useEffect(function(){Cs.current=!0},[]);var yl=de.useState(0),Hl=(0,De.Z)(yl,2),ys=Hl[0],Rs=Hl[1],pu=de.useState(!0),wu=(0,De.Z)(pu,2),rc=wu[0],ac=wu[1];de.useEffect(function(){(!Li||!Ti)&&(js.current instanceof Element?Rs(Zn(js.current).width):Rs(Zn(bu.current).width)),ac(Gt("position","sticky"))},[]),de.useEffect(function(){Ti&&Ko&&(Ko.body.current=js.current)});var Xu=de.useCallback(function(Ds){return de.createElement(de.Fragment,null,de.createElement(Pi,Ds),hu==="top"&&de.createElement(Dr,Ds,As))},[hu,As]),fc=de.useCallback(function(Ds){return de.createElement(Dr,Ds,As)},[As]),Ku=lo(["table"],"table"),ud=de.useMemo(function(){return Sr||(Qu?nu==="max-content"?"auto":"fixed":Vs||xu||es.some(function(Ds){var Zs=Ds.ellipsis;return Zs})?"fixed":"auto")},[Vs,Qu,es,Sr,xu]),bd,cd={colWidths:fu,columCount:es.length,stickyOffsets:Ys,onHeaderRow:pi,fixHeader:Vs,scroll:Un},is=de.useMemo(function(){return ii?null:typeof Fi=="function"?Fi():Fi},[ii,Fi]),Fd=de.createElement(ho,{data:Ka,measureColumnWidth:Vs||Hs||xu}),dd=de.createElement(Yo,{colWidths:es.map(function(Ds){var Zs=Ds.width;return Zs}),columns:es}),ic=Ra!=null?de.createElement("caption",{className:"".concat(Lt,"-caption")},Ra):void 0,sc=ma(Et,{data:!0}),mc=ma(Et,{aria:!0});if(Vs||xu){var $c;typeof Po=="function"?($c=Po(Ka,{scrollbarSize:ys,ref:js,onScroll:Fu}),cd.colWidths=es.map(function(Ds,Zs){var Uu=Ds.width,vc=Zs===es.length-1?Uu-ys:Uu;return typeof vc=="number"&&!Number.isNaN(vc)?vc:0})):$c=de.createElement("div",{style:(0,Re.Z)((0,Re.Z)({},Fa),Ou),onScroll:Fu,ref:js,className:ze()("".concat(Lt,"-body"))},de.createElement(Ku,(0,rt.Z)({style:(0,Re.Z)((0,Re.Z)({},tc),{},{tableLayout:ud})},mc),ic,dd,Fd,!hu&&As&&de.createElement(Dr,{stickyOffsets:Ys,flattenColumns:es,columns:cs},As)));var fd=(0,Re.Z)((0,Re.Z)((0,Re.Z)({noData:!Ka.length,maxContentScroll:Hs&&nu==="max-content"},cd),Au),{},{direction:kn,stickyClassName:cl,onScroll:Fu});bd=de.createElement(de.Fragment,null,li!==!1&&de.createElement(zl,(0,rt.Z)({},fd,{stickyTopOffset:Rc,className:"".concat(Lt,"-header"),ref:Hu}),Xu),$c,hu&&hu!=="top"&&de.createElement(zl,(0,rt.Z)({},fd,{stickyBottomOffset:ec,className:"".concat(Lt,"-summary"),ref:Nu}),fc),xu&&de.createElement(Dt,{ref:dc,offsetScroll:os,scrollBodyRef:js,onScroll:Fu,container:iu}))}else bd=de.createElement("div",{style:(0,Re.Z)((0,Re.Z)({},Fa),Ou),className:ze()("".concat(Lt,"-content")),onScroll:Fu,ref:js},de.createElement(Ku,(0,rt.Z)({style:(0,Re.Z)((0,Re.Z)({},tc),{},{tableLayout:ud})},mc),ic,dd,li!==!1&&de.createElement(Pi,(0,rt.Z)({},cd,Au)),Fd,As&&de.createElement(Dr,{stickyOffsets:Ys,flattenColumns:es,columns:cs},As)));var ed=de.createElement("div",(0,rt.Z)({className:ze()(Lt,Xt,(Ze={},(0,Be.Z)(Ze,"".concat(Lt,"-rtl"),kn==="rtl"),(0,Be.Z)(Ze,"".concat(Lt,"-ping-left"),Ls),(0,Be.Z)(Ze,"".concat(Lt,"-ping-right"),ru),(0,Be.Z)(Ze,"".concat(Lt,"-layout-fixed"),Sr==="fixed"),(0,Be.Z)(Ze,"".concat(Lt,"-fixed-header"),Vs),(0,Be.Z)(Ze,"".concat(Lt,"-fixed-column"),Qu),(0,Be.Z)(Ze,"".concat(Lt,"-scroll-horizontal"),Hs),(0,Be.Z)(Ze,"".concat(Lt,"-has-fix-left"),es[0]&&es[0].fixed),(0,Be.Z)(Ze,"".concat(Lt,"-has-fix-right"),es[es.length-1]&&es[es.length-1].fixed==="right"),Ze)),style:nr,id:Qr,ref:ui},sc),Vr&&de.createElement(pt,{className:"".concat(Lt,"-title")},Vr(Ka)),de.createElement("div",{ref:bu,className:"".concat(Lt,"-container")},bd),xa&&de.createElement(pt,{className:"".concat(Lt,"-footer")},xa(Ka)));Hs&&(ed=de.createElement(jr.Z,{onResize:Fc},ed));var Pc=He(es,Ys,kn,cs),Kd=de.useMemo(function(){return{scrollX:nu,prefixCls:Lt,getComponent:lo,scrollbarSize:ys,direction:kn,fixedInfoList:Pc,isSticky:xu,supportSticky:rc,componentWidth:eo,fixHeader:Vs,fixColumn:Qu,horizonScroll:Hs,tableLayout:ud,rowClassName:Sn,expandedRowClassName:Yl.expandedRowClassName,expandIcon:gs,expandableType:_s,expandRowByClick:Yl.expandRowByClick,expandedRowRender:Yl.expandedRowRender,onTriggerExpand:$i,expandIconColumnIndex:Yl.expandIconColumnIndex,indentSize:Yl.indentSize,allColumnsFixedLeft:es.every(function(Ds){return Ds.fixed==="left"}),emptyNode:is,columns:cs,flattenColumns:es,onColumnResize:kc,hoverStartRow:pl,hoverEndRow:Kl,onHover:Gl,rowExpandable:Yl.rowExpandable,onRow:vi,getRowKey:rl,expandedKeys:ps,childrenColumnName:Jo}},[nu,Lt,lo,ys,kn,Pc,xu,rc,eo,Vs,Qu,Hs,ud,Sn,Yl.expandedRowClassName,gs,_s,Yl.expandRowByClick,Yl.expandedRowRender,$i,Yl.expandIconColumnIndex,Yl.indentSize,is,cs,es,kc,pl,Kl,Gl,Yl.rowExpandable,vi,rl,ps,Jo]);return de.createElement(ce.Provider,{value:Kd},ed)}function yn(Te){return Tt(Jt,Te)}var lr=yn();lr.EXPAND_COLUMN=ne,lr.INTERNAL_HOOKS=fe,lr.Column=Kn,lr.ColumnGroup=xr,lr.Summary=Ut;var Xr=lr,Ir=ee(73299),yr=me(null),ba=me(null);function va(Te,Ze,Et){var Lt=Ze||1;return Et[Te+Lt]-(Et[Te]||0)}function Oa(Te){var Ze=Te.rowInfo,Et=Te.column,Lt=Te.colIndex,Xt=Te.indent,Sn=Te.index,nr=Te.renderIndex,wr=Te.record,jn=Te.style,Un=Te.className,Sr=Te.inverse,kn=Te.getHeight,Vr=Et.render,xa=Et.dataIndex,wa=Et.className,Ra=Et.width,Qr=Pe(ba,["columnsOffset"]),li=Qr.columnsOffset,qa=Zi(Ze,Et,Lt,Xt,Sn),Fi=qa.key,vi=qa.fixedInfo,pi=qa.appendCellNode,yi=qa.additionalCellProps,Vi=yi.style,Ko=yi.colSpan,Li=Ko===void 0?1:Ko,Za=yi.rowSpan,Ka=Za===void 0?1:Za,ii=Lt-1,Ti=va(ii,Li,li),lo=Li>1?Ra-Ti:0,rl=(0,Re.Z)((0,Re.Z)((0,Re.Z)({},Vi),jn),{},{flex:"0 0 ".concat(Ti,"px"),width:"".concat(Ti,"px"),marginRight:lo,pointerEvents:"auto"}),Po=de.useMemo(function(){return Sr?Ka<=1:Li===0||Ka===0||Ka>1},[Ka,Li,Sr]);Po?rl.visibility="hidden":Sr&&(rl.height=kn==null?void 0:kn(Ka));var To=Po?function(){return null}:Vr,Ml={};return(Ka===0||Li===0)&&(Ml.rowSpan=1,Ml.colSpan=1),de.createElement(xt,(0,rt.Z)({className:ze()(wa,Un),ellipsis:Et.ellipsis,align:Et.align,scope:Et.rowScope,component:"div",prefixCls:Ze.prefixCls,key:Fi,record:wr,index:Sn,renderIndex:nr,dataIndex:xa,render:To,shouldCellUpdate:Et.shouldCellUpdate},vi,{appendNode:pi,additionalProps:(0,Re.Z)((0,Re.Z)({},yi),{},{style:rl},Ml)}))}var da=Oa,Ur=["data","index","className","rowKey","style","extra","getHeight"],Wa=de.forwardRef(function(Te,Ze){var Et=Te.data,Lt=Te.index,Xt=Te.className,Sn=Te.rowKey,nr=Te.style,wr=Te.extra,jn=Te.getHeight,Un=(0,_n.Z)(Te,Ur),Sr=Et.record,kn=Et.indent,Vr=Et.index,xa=Pe(ce,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),wa=xa.scrollX,Ra=xa.flattenColumns,Qr=xa.prefixCls,li=xa.fixColumn,qa=xa.componentWidth,Fi=Gr(Sr,Sn,Lt,kn),vi=Fi.rowSupportExpand,pi=Fi.expanded,yi=Fi.rowProps,Vi=Fi.expandedRowRender,Ko=Fi.expandedRowClassName,Li;if(vi&&pi){var Za=Vi(Sr,Lt,kn+1,pi),Ka=Ko==null?void 0:Ko(Sr,Lt,kn),ii={};li&&(ii={style:(0,Be.Z)({},"--virtual-width","".concat(qa,"px"))});var Ti="".concat(Qr,"-expanded-row-cell");Li=de.createElement("div",{className:ze()("".concat(Qr,"-expanded-row"),"".concat(Qr,"-expanded-row-level-").concat(kn+1),Ka)},de.createElement(xt,{component:"div",prefixCls:Qr,className:ze()(Ti,(0,Be.Z)({},"".concat(Ti,"-fixed"),li)),additionalProps:ii},Za))}var lo=(0,Re.Z)((0,Re.Z)({},nr),{},{width:wa});wr&&(lo.position="absolute",lo.pointerEvents="none");var rl=de.createElement("div",(0,rt.Z)({},yi,Un,{ref:vi?null:Ze,className:ze()(Xt,"".concat(Qr,"-row"),yi==null?void 0:yi.className,(0,Be.Z)({},"".concat(Qr,"-row-extra"),wr)),style:(0,Re.Z)((0,Re.Z)({},lo),yi==null?void 0:yi.style)}),Ra.map(function(Po,To){return de.createElement(da,{key:To,rowInfo:Fi,column:Po,colIndex:To,indent:kn,index:Lt,renderIndex:Vr,record:Sr,inverse:wr,getHeight:jn})}));return vi?de.createElement("div",{ref:Ze},rl,Li):rl}),ai=$e(Wa),_a=ai,Va=de.forwardRef(function(Te,Ze){var Et=Te.data,Lt=Te.onScroll,Xt=Pe(ce,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Sn=Xt.flattenColumns,nr=Xt.onColumnResize,wr=Xt.getRowKey,jn=Xt.expandedKeys,Un=Xt.prefixCls,Sr=Xt.childrenColumnName,kn=Xt.emptyNode,Vr=Xt.scrollX,xa=Pe(yr),wa=xa.scrollY,Ra=xa.listItemHeight,Qr=de.useRef(),li=Aa(Et,Sr,jn,wr),qa=de.useMemo(function(){var Li=0;return Sn.map(function(Za){var Ka=Za.width,ii=Za.key;return Li+=Ka,[ii,Ka,Li]})},[Sn]),Fi=de.useMemo(function(){return qa.map(function(Li){return Li[2]})},[qa]);de.useEffect(function(){qa.forEach(function(Li){var Za=(0,De.Z)(Li,2),Ka=Za[0],ii=Za[1];nr(Ka,ii)})},[qa]),de.useImperativeHandle(Ze,function(){var Li={};return Object.defineProperty(Li,"scrollLeft",{get:function(){var Ka;return((Ka=Qr.current)===null||Ka===void 0?void 0:Ka.getScrollInfo().x)||0},set:function(Ka){var ii;(ii=Qr.current)===null||ii===void 0||ii.scrollTo({left:Ka})}}),Li});var vi=function(Za,Ka){var ii,Ti=(ii=li[Ka])===null||ii===void 0?void 0:ii.record,lo=Za.onCell;if(lo){var rl,Po=lo(Ti,Ka);return(rl=Po==null?void 0:Po.rowSpan)!==null&&rl!==void 0?rl:1}return 1},pi=function(Za){var Ka=Za.start,ii=Za.end,Ti=Za.getSize,lo=Za.offsetY;if(ii<0)return null;for(var rl=Sn.filter(function(ki){return vi(ki,Ka)===0}),Po=Ka,To=function(Co){if(rl=rl.filter(function(Eo){return vi(Eo,Co)===0}),!rl.length)return Po=Co,"break"},Ml=Ka;Ml>=0;Ml-=1){var pl=To(Ml);if(pl==="break")break}for(var Kl=Sn.filter(function(ki){return vi(ki,ii)!==1}),Gl=ii,Is=function(Co){if(Kl=Kl.filter(function(Eo){return vi(Eo,Co)!==1}),!Kl.length)return Gl=Math.max(Co-1,ii),"break"},Ps=ii;Ps<li.length;Ps+=1){var Yl=Is(Ps);if(Yl==="break")break}for(var _s=[],ps=function(Co){var Eo=li[Co];if(!Eo)return"continue";Sn.some(function(eo){return vi(eo,Co)>1})&&_s.push(Co)},gs=Po;gs<=Gl;gs+=1)var Jo=ps(gs);var $i=_s.map(function(ki){var Co=li[ki],Eo=wr(Co.record,ki),eo=function(xl){var cs=ki+xl-1,es=wr(li[cs].record,cs),au=Ti(Eo,es);return au.bottom-au.top},rs=Ti(Eo);return de.createElement(_a,{key:ki,data:Co,rowKey:Eo,index:ki,style:{top:-lo+rs.top},extra:!0,getHeight:eo})});return $i},yi=de.useMemo(function(){return{columnsOffset:Fi}},[Fi]),Vi="".concat(Un,"-tbody"),Ko;return li.length?Ko=de.createElement(Ir.Z,{fullHeight:!1,ref:Qr,className:ze()(Vi,"".concat(Vi,"-virtual")),height:wa,itemHeight:Ra||24,data:li,itemKey:function(Za){return wr(Za.record)},scrollWidth:Vr,onVirtualScroll:function(Za){var Ka=Za.x;Lt({scrollLeft:Ka})},extraRender:pi},function(Li,Za,Ka){var ii=wr(Li.record,Za);return de.createElement(_a,(0,rt.Z)({data:Li,rowKey:ii,index:Za},Ka))}):Ko=de.createElement("div",{className:ze()("".concat(Un,"-placeholder"))},de.createElement(xt,{component:"div",prefixCls:Un},kn)),de.createElement(ba.Provider,{value:yi},Ko)}),ei=$e(Va),Yi=ei,Ei=function(Ze,Et){var Lt=Et.ref,Xt=Et.onScroll;return de.createElement(Yi,{ref:Lt,data:Ze,onScroll:Xt})},Wi=100;function Gi(Te){var Ze=Te.columns,Et=Te.scroll,Lt=Te.prefixCls,Xt=Lt===void 0?zr:Lt,Sn=Te.className,nr=Te.listItemHeight,wr=Et||{},jn=wr.x,Un=wr.y;typeof jn!="number"&&(jn=((Ze||[]).length+1)*Wi),typeof Un!="number"&&(Un=500);var Sr=de.useMemo(function(){return{scrollY:Un,listItemHeight:nr}},[Un,nr]);return de.createElement(yr.Provider,{value:Sr},de.createElement(Xr,(0,rt.Z)({},Te,{className:ze()(Sn,"".concat(Xt,"-virtual")),scroll:(0,Re.Z)((0,Re.Z)({},Et),{},{x:jn}),components:{body:Ei},columns:Ze,internalHooks:fe,tailor:!0})))}function po(Te){return Tt(Gi,Te)}var Qi=po(),So=null;function Ki(Te){return null}var Ai=Ki;function ko(Te){return null}var Bo=ko,zi=ee(10366),gl=ee(58375),El=ee(53124),il=ee(88258),Vo=ee(98675),go=ee(25378),_l=ee(24457),jo=ee(28452),mo=ee(57953),el=ee(46605);function Vl(Te){return function(Et){let{prefixCls:Lt,onExpand:Xt,record:Sn,expanded:nr,expandable:wr}=Et;const jn=`${Lt}-row-expand-icon`;return de.createElement("button",{type:"button",onClick:Un=>{Xt(Sn,Un),Un.stopPropagation()},className:ze()(jn,{[`${jn}-spaced`]:!wr,[`${jn}-expanded`]:wr&&nr,[`${jn}-collapsed`]:wr&&!nr}),"aria-label":nr?Te.collapse:Te.expand,"aria-expanded":nr})}}var fl=Vl;function Dl(Te,Ze){return"key"in Te&&Te.key!==void 0&&Te.key!==null?Te.key:Te.dataIndex?Array.isArray(Te.dataIndex)?Te.dataIndex.join("."):Te.dataIndex:Ze}function Oo(Te,Ze){return Ze?`${Ze}-${Te}`:`${Te}`}function jl(Te,Ze){return typeof Te=="function"?Te(Ze):Te}function ls(Te,Ze){const Et=jl(Te,Ze);return Object.prototype.toString.call(Et)==="[object Object]"?"":Et}var Ql={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"},Al=Ql,Tl=ee(74643),$l=function(Ze,Et){return de.createElement(Tl.Z,(0,rt.Z)({},Ze,{ref:Et,icon:Al}))},Rl=de.forwardRef($l),Il=ee(7699),ss=ee(57838);function us(Te){const Ze=de.useRef(Te),Et=(0,ss.Z)();return[()=>Ze.current,Lt=>{Ze.current=Lt,Et()}]}var ms=ee(71577),ts=ee(84567),ns=ee(85418),Go=ee(32983),ol=ee(68508),Wl=ee(76529),Xl=ee(78045),hs=ee(79870),xs=ee(72395),Ms=ee(69677);function zs(Te){let{value:Ze,onChange:Et,filterSearch:Lt,tablePrefixCls:Xt,locale:Sn}=Te;return Lt?de.createElement("div",{className:`${Xt}-filter-dropdown-search`},de.createElement(Ms.default,{prefix:de.createElement(xs.Z,null),placeholder:Sn.filterSearchPlaceholder,onChange:Et,value:Ze,htmlSize:1,className:`${Xt}-filter-dropdown-search-input`})):null}var Ws=zs,Bs=ee(92389);const Xs=Te=>{const{keyCode:Ze}=Te;Ze===Bs.Z.ENTER&&Te.stopPropagation()};var Le=de.forwardRef((Te,Ze)=>de.createElement("div",{className:Te.className,onClick:Et=>Et.stopPropagation(),onKeyDown:Xs,ref:Ze},Te.children));function Je(Te){let Ze=[];return(Te||[]).forEach(Et=>{let{value:Lt,children:Xt}=Et;Ze.push(Lt),Xt&&(Ze=[].concat((0,uo.Z)(Ze),(0,uo.Z)(Je(Xt))))}),Ze}function it(Te){return Te.some(Ze=>{let{children:Et}=Ze;return Et})}function Ce(Te,Ze){return typeof Ze=="string"||typeof Ze=="number"?Ze==null?void 0:Ze.toString().toLowerCase().includes(Te.trim().toLowerCase()):!1}function Ie(Te){let{filters:Ze,prefixCls:Et,filteredKeys:Lt,filterMultiple:Xt,searchValue:Sn,filterSearch:nr}=Te;return Ze.map((wr,jn)=>{const Un=String(wr.value);if(wr.children)return{key:Un||jn,label:wr.text,popupClassName:`${Et}-dropdown-submenu`,children:Ie({filters:wr.children,prefixCls:Et,filteredKeys:Lt,filterMultiple:Xt,searchValue:Sn,filterSearch:nr})};const Sr=Xt?ts.default:Xl.ZP,kn={key:wr.value!==void 0?Un:jn,label:de.createElement(de.Fragment,null,de.createElement(Sr,{checked:Lt.includes(Un)}),de.createElement("span",null,wr.text))};return Sn.trim()?typeof nr=="function"?nr(Sn,wr)?kn:null:Ce(Sn,wr.text)?kn:null:kn})}function St(Te){var Ze,Et;const{tablePrefixCls:Lt,prefixCls:Xt,column:Sn,dropdownPrefixCls:nr,columnKey:wr,filterMultiple:jn,filterMode:Un="menu",filterSearch:Sr=!1,filterState:kn,triggerFilter:Vr,locale:xa,children:wa,getPopupContainer:Ra}=Te,{filterDropdownOpen:Qr,onFilterDropdownOpenChange:li,filterResetToDefaultFilteredValue:qa,defaultFilteredValue:Fi,filterDropdownVisible:vi,onFilterDropdownVisibleChange:pi}=Sn,[yi,Vi]=de.useState(!1),Ko=!!(kn&&(!((Ze=kn.filteredKeys)===null||Ze===void 0)&&Ze.length||kn.forceFiltered)),Li=ro=>{Vi(ro),li==null||li(ro),pi==null||pi(ro)},Za=(Et=Qr!=null?Qr:vi)!==null&&Et!==void 0?Et:yi,Ka=kn==null?void 0:kn.filteredKeys,[ii,Ti]=us(Ka||[]),lo=ro=>{let{selectedKeys:xl}=ro;Ti(xl)},rl=(ro,xl)=>{let{node:cs,checked:es}=xl;lo(jn?{selectedKeys:ro}:{selectedKeys:es&&cs.key?[cs.key]:[]})};de.useEffect(()=>{yi&&lo({selectedKeys:Ka||[]})},[Ka]);const[Po,To]=de.useState([]),Ml=ro=>{To(ro)},[pl,Kl]=de.useState(""),Gl=ro=>{const{value:xl}=ro.target;Kl(xl)};de.useEffect(()=>{yi||Kl("")},[yi]);const Is=ro=>{const xl=ro&&ro.length?ro:null;if(xl===null&&(!kn||!kn.filteredKeys)||(0,Il.Z)(xl,kn==null?void 0:kn.filteredKeys,!0))return null;Vr({column:Sn,key:wr,filteredKeys:xl})},Ps=()=>{Li(!1),Is(ii())},Yl=function(){let{confirm:ro,closeDropdown:xl}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ro&&Is([]),xl&&Li(!1),Kl(""),Ti(qa?(Fi||[]).map(cs=>String(cs)):[])},_s=function(){let{closeDropdown:ro}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ro&&Li(!1),Is(ii())},ps=ro=>{ro&&Ka!==void 0&&Ti(Ka||[]),Li(ro),!ro&&!Sn.filterDropdown&&Ps()},gs=ze()({[`${nr}-menu-without-submenu`]:!it(Sn.filters||[])}),Jo=ro=>{if(ro.target.checked){const xl=Je(Sn==null?void 0:Sn.filters).map(cs=>String(cs));Ti(xl)}else Ti([])},$i=ro=>{let{filters:xl}=ro;return(xl||[]).map((cs,es)=>{const au=String(cs.value),nu={title:cs.text,key:cs.value!==void 0?au:es};return cs.children&&(nu.children=$i({filters:cs.children})),nu})},ki=ro=>{var xl;return Object.assign(Object.assign({},ro),{text:ro.title,value:ro.key,children:((xl=ro.children)===null||xl===void 0?void 0:xl.map(cs=>ki(cs)))||[]})};let Co;if(typeof Sn.filterDropdown=="function")Co=Sn.filterDropdown({prefixCls:`${nr}-custom`,setSelectedKeys:ro=>lo({selectedKeys:ro}),selectedKeys:ii(),confirm:_s,clearFilters:Yl,filters:Sn.filters,visible:Za,close:()=>{Li(!1)}});else if(Sn.filterDropdown)Co=Sn.filterDropdown;else{const ro=ii()||[],xl=()=>(Sn.filters||[]).length===0?de.createElement(Go.Z,{image:Go.Z.PRESENTED_IMAGE_SIMPLE,description:xa.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Un==="tree"?de.createElement(de.Fragment,null,de.createElement(Ws,{filterSearch:Sr,value:pl,onChange:Gl,tablePrefixCls:Lt,locale:xa}),de.createElement("div",{className:`${Lt}-filter-dropdown-tree`},jn?de.createElement(ts.default,{checked:ro.length===Je(Sn.filters).length,indeterminate:ro.length>0&&ro.length<Je(Sn.filters).length,className:`${Lt}-filter-dropdown-checkall`,onChange:Jo},xa.filterCheckall):null,de.createElement(hs.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:jn,checkStrictly:!jn,className:`${nr}-menu`,onCheck:rl,checkedKeys:ro,selectedKeys:ro,showIcon:!1,treeData:$i({filters:Sn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:pl.trim()?es=>typeof Sr=="function"?Sr(pl,ki(es)):Ce(pl,es.title):void 0}))):de.createElement(de.Fragment,null,de.createElement(Ws,{filterSearch:Sr,value:pl,onChange:Gl,tablePrefixCls:Lt,locale:xa}),de.createElement(ol.default,{selectable:!0,multiple:jn,prefixCls:`${nr}-menu`,className:gs,onSelect:lo,onDeselect:lo,selectedKeys:ro,getPopupContainer:Ra,openKeys:Po,onOpenChange:Ml,items:Ie({filters:Sn.filters||[],filterSearch:Sr,prefixCls:Xt,filteredKeys:ii(),filterMultiple:jn,searchValue:pl})})),cs=()=>qa?(0,Il.Z)((Fi||[]).map(es=>String(es)),ro,!0):ro.length===0;Co=de.createElement(de.Fragment,null,xl(),de.createElement("div",{className:`${Xt}-dropdown-btns`},de.createElement(ms.ZP,{type:"link",size:"small",disabled:cs(),onClick:()=>Yl()},xa.filterReset),de.createElement(ms.ZP,{type:"primary",size:"small",onClick:Ps},xa.filterConfirm)))}Sn.filterDropdown&&(Co=de.createElement(Wl.J,{selectable:void 0},Co));const Eo=()=>de.createElement(Le,{className:`${Xt}-dropdown`},Co);let eo;typeof Sn.filterIcon=="function"?eo=Sn.filterIcon(Ko):Sn.filterIcon?eo=Sn.filterIcon:eo=de.createElement(Rl,null);const{direction:rs}=de.useContext(El.E_);return de.createElement("div",{className:`${Xt}-column`},de.createElement("span",{className:`${Lt}-column-title`},wa),de.createElement(ns.Z,{dropdownRender:Eo,trigger:["click"],open:Za,onOpenChange:ps,getPopupContainer:Ra,placement:rs==="rtl"?"bottomLeft":"bottomRight"},de.createElement("span",{role:"button",tabIndex:-1,className:ze()(`${Xt}-trigger`,{active:Ko}),onClick:ro=>{ro.stopPropagation()}},eo)))}var bt=St;function en(Te,Ze,Et){let Lt=[];return(Te||[]).forEach((Xt,Sn)=>{var nr;const wr=Oo(Sn,Et);if(Xt.filters||"filterDropdown"in Xt||"onFilter"in Xt)if("filteredValue"in Xt){let jn=Xt.filteredValue;"filterDropdown"in Xt||(jn=(nr=jn==null?void 0:jn.map(String))!==null&&nr!==void 0?nr:jn),Lt.push({column:Xt,key:Dl(Xt,wr),filteredKeys:jn,forceFiltered:Xt.filtered})}else Lt.push({column:Xt,key:Dl(Xt,wr),filteredKeys:Ze&&Xt.defaultFilteredValue?Xt.defaultFilteredValue:void 0,forceFiltered:Xt.filtered});"children"in Xt&&(Lt=[].concat((0,uo.Z)(Lt),(0,uo.Z)(en(Xt.children,Ze,wr))))}),Lt}function _t(Te,Ze,Et,Lt,Xt,Sn,nr,wr){return Et.map((jn,Un)=>{const Sr=Oo(Un,wr),{filterMultiple:kn=!0,filterMode:Vr,filterSearch:xa}=jn;let wa=jn;if(wa.filters||wa.filterDropdown){const Ra=Dl(wa,Sr),Qr=Lt.find(li=>{let{key:qa}=li;return Ra===qa});wa=Object.assign(Object.assign({},wa),{title:li=>de.createElement(bt,{tablePrefixCls:Te,prefixCls:`${Te}-filter`,dropdownPrefixCls:Ze,column:wa,columnKey:Ra,filterState:Qr,filterMultiple:kn,filterMode:Vr,filterSearch:xa,triggerFilter:Sn,locale:Xt,getPopupContainer:nr},jl(jn.title,li))})}return"children"in wa&&(wa=Object.assign(Object.assign({},wa),{children:_t(Te,Ze,wa.children,Lt,Xt,Sn,nr,Sr)})),wa})}function Wt(Te){const Ze={};return Te.forEach(Et=>{let{key:Lt,filteredKeys:Xt,column:Sn}=Et;const{filters:nr,filterDropdown:wr}=Sn;if(wr)Ze[Lt]=Xt||null;else if(Array.isArray(Xt)){const jn=Je(nr);Ze[Lt]=jn.filter(Un=>Xt.includes(String(Un)))}else Ze[Lt]=null}),Ze}function Wn(Te,Ze){return Ze.reduce((Et,Lt)=>{const{column:{onFilter:Xt,filters:Sn},filteredKeys:nr}=Lt;return Xt&&nr&&nr.length?Et.filter(wr=>nr.some(jn=>{const Un=Je(Sn),Sr=Un.findIndex(Vr=>String(Vr)===String(jn)),kn=Sr!==-1?Un[Sr]:jn;return Xt(kn,wr)})):Et},Te)}const bn=Te=>Te.flatMap(Ze=>"children"in Ze?[Ze].concat((0,uo.Z)(bn(Ze.children||[]))):[Ze]);function On(Te){let{prefixCls:Ze,dropdownPrefixCls:Et,mergedColumns:Lt,onFilterChange:Xt,getPopupContainer:Sn,locale:nr}=Te;const wr=de.useMemo(()=>bn(Lt||[]),[Lt]),[jn,Un]=de.useState(()=>en(wr,!0)),Sr=de.useMemo(()=>{const wa=en(wr,!1);if(wa.length===0)return wa;let Ra=!0,Qr=!0;if(wa.forEach(li=>{let{filteredKeys:qa}=li;qa!==void 0?Ra=!1:Qr=!1}),Ra){const li=(wr||[]).map((qa,Fi)=>Dl(qa,Oo(Fi)));return jn.filter(qa=>{let{key:Fi}=qa;return li.includes(Fi)}).map(qa=>{const Fi=wr[li.findIndex(vi=>vi===qa.key)];return Object.assign(Object.assign({},qa),{column:Object.assign(Object.assign({},qa.column),Fi),forceFiltered:Fi.filtered})})}return wa},[wr,jn]),kn=de.useMemo(()=>Wt(Sr),[Sr]),Vr=wa=>{const Ra=Sr.filter(Qr=>{let{key:li}=Qr;return li!==wa.key});Ra.push(wa),Un(Ra),Xt(Wt(Ra),Ra)};return[wa=>_t(Ze,Et,wa,Sr,nr,Vr,Sn),Sr,kn]}var Mr=On;function vr(Te,Ze,Et){const Lt=de.useRef({});function Xt(Sn){if(!Lt.current||Lt.current.data!==Te||Lt.current.childrenColumnName!==Ze||Lt.current.getRowKey!==Et){let wr=function(jn){jn.forEach((Un,Sr)=>{const kn=Et(Un,Sr);nr.set(kn,Un),Un&&typeof Un=="object"&&Ze in Un&&wr(Un[Ze]||[])})};const nr=new Map;wr(Te),Lt.current={data:Te,childrenColumnName:Ze,kvMap:nr,getRowKey:Et}}return Lt.current.kvMap.get(Sn)}return[Xt]}var ir=ee(38780),ur=function(Te,Ze){var Et={};for(var Lt in Te)Object.prototype.hasOwnProperty.call(Te,Lt)&&Ze.indexOf(Lt)<0&&(Et[Lt]=Te[Lt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,Lt=Object.getOwnPropertySymbols(Te);Xt<Lt.length;Xt++)Ze.indexOf(Lt[Xt])<0&&Object.prototype.propertyIsEnumerable.call(Te,Lt[Xt])&&(Et[Lt[Xt]]=Te[Lt[Xt]]);return Et};const Pr=10;function Wr(Te,Ze){const Et={current:Te.current,pageSize:Te.pageSize};return Object.keys(Ze&&typeof Ze=="object"?Ze:{}).forEach(Xt=>{const Sn=Te[Xt];typeof Sn!="function"&&(Et[Xt]=Sn)}),Et}function na(Te,Ze,Et){const Lt=Et&&typeof Et=="object"?Et:{},{total:Xt=0}=Lt,Sn=ur(Lt,["total"]),[nr,wr]=(0,de.useState)(()=>({current:"defaultCurrent"in Sn?Sn.defaultCurrent:1,pageSize:"defaultPageSize"in Sn?Sn.defaultPageSize:Pr})),jn=(0,ir.Z)(nr,Sn,{total:Xt>0?Xt:Te}),Un=Math.ceil((Xt||Te)/jn.pageSize);jn.current>Un&&(jn.current=Un||1);const Sr=(Vr,xa)=>{wr({current:Vr!=null?Vr:1,pageSize:xa||jn.pageSize})},kn=(Vr,xa)=>{var wa;Et&&((wa=Et.onChange)===null||wa===void 0||wa.call(Et,Vr,xa)),Sr(Vr,xa),Ze(Vr,xa||(jn==null?void 0:jn.pageSize))};return Et===!1?[{},()=>{}]:[Object.assign(Object.assign({},jn),{onChange:kn}),Sr]}var Ma=na,_e=ee(42922),yt=ee(29873),Ht=ee(97153),je=ee(83898),Yt=ee(5663);const fn={},Rn="SELECT_ALL",Bt="SELECT_INVERT",Qt="SELECT_NONE",rn=[],Vn=(Te,Ze)=>{let Et=[];return(Ze||[]).forEach(Lt=>{Et.push(Lt),Lt&&typeof Lt=="object"&&Te in Lt&&(Et=[].concat((0,uo.Z)(Et),(0,uo.Z)(Vn(Te,Lt[Te]))))}),Et};var br=(Te,Ze)=>{const{preserveSelectedRowKeys:Et,selectedRowKeys:Lt,defaultSelectedRowKeys:Xt,getCheckboxProps:Sn,onChange:nr,onSelect:wr,onSelectAll:jn,onSelectInvert:Un,onSelectNone:Sr,onSelectMultiple:kn,columnWidth:Vr,type:xa,selections:wa,fixed:Ra,renderCell:Qr,hideSelectAll:li,checkStrictly:qa=!0}=Ze||{},{prefixCls:Fi,data:vi,pageData:pi,getRecordByKey:yi,getRowKey:Vi,expandType:Ko,childrenColumnName:Li,locale:Za,getPopupContainer:Ka}=Te,[ii,Ti]=(0,Yt.Z)(Lt||Xt||rn,{value:Lt}),lo=de.useRef(new Map),rl=(0,de.useCallback)(ki=>{if(Et){const Co=new Map;ki.forEach(Eo=>{let eo=yi(Eo);!eo&&lo.current.has(Eo)&&(eo=lo.current.get(Eo)),Co.set(Eo,eo)}),lo.current=Co}},[yi,Et]);de.useEffect(()=>{rl(ii)},[ii]);const{keyEntities:Po}=(0,de.useMemo)(()=>{if(qa)return{keyEntities:null};let ki=vi;if(Et){const Co=new Set(vi.map((eo,rs)=>Vi(eo,rs))),Eo=Array.from(lo.current).reduce((eo,rs)=>{let[ro,xl]=rs;return Co.has(ro)?eo:eo.concat(xl)},[]);ki=[].concat((0,uo.Z)(ki),(0,uo.Z)(Eo))}return(0,je.I8)(ki,{externalGetKey:Vi,childrenPropName:Li})},[vi,Vi,qa,Li,Et]),To=(0,de.useMemo)(()=>Vn(Li,pi),[Li,pi]),Ml=(0,de.useMemo)(()=>{const ki=new Map;return To.forEach((Co,Eo)=>{const eo=Vi(Co,Eo),rs=(Sn?Sn(Co):null)||{};ki.set(eo,rs)}),ki},[To,Vi,Sn]),pl=(0,de.useCallback)(ki=>{var Co;return!!(!((Co=Ml.get(Vi(ki)))===null||Co===void 0)&&Co.disabled)},[Ml,Vi]),[Kl,Gl]=(0,de.useMemo)(()=>{if(qa)return[ii||[],[]];const{checkedKeys:ki,halfCheckedKeys:Co}=(0,Ht.S)(ii,!0,Po,pl);return[ki||[],Co]},[ii,qa,Po,pl]),Is=(0,de.useMemo)(()=>{const ki=xa==="radio"?Kl.slice(0,1):Kl;return new Set(ki)},[Kl,xa]),Ps=(0,de.useMemo)(()=>xa==="radio"?new Set:new Set(Gl),[Gl,xa]),[Yl,_s]=(0,de.useState)(null);de.useEffect(()=>{Ze||Ti(rn)},[!!Ze]);const ps=(0,de.useCallback)((ki,Co)=>{let Eo,eo;rl(ki),Et?(Eo=ki,eo=ki.map(rs=>lo.current.get(rs))):(Eo=[],eo=[],ki.forEach(rs=>{const ro=yi(rs);ro!==void 0&&(Eo.push(rs),eo.push(ro))})),Ti(Eo),nr==null||nr(Eo,eo,{type:Co})},[Ti,yi,nr,Et]),gs=(0,de.useCallback)((ki,Co,Eo,eo)=>{if(wr){const rs=Eo.map(ro=>yi(ro));wr(yi(ki),Co,rs,eo)}ps(Eo,"single")},[wr,yi,ps]),Jo=(0,de.useMemo)(()=>!wa||li?null:(wa===!0?[Rn,Bt,Qt]:wa).map(Co=>Co===Rn?{key:"all",text:Za.selectionAll,onSelect(){ps(vi.map((Eo,eo)=>Vi(Eo,eo)).filter(Eo=>{const eo=Ml.get(Eo);return!(eo!=null&&eo.disabled)||Is.has(Eo)}),"all")}}:Co===Bt?{key:"invert",text:Za.selectInvert,onSelect(){const Eo=new Set(Is);pi.forEach((rs,ro)=>{const xl=Vi(rs,ro),cs=Ml.get(xl);cs!=null&&cs.disabled||(Eo.has(xl)?Eo.delete(xl):Eo.add(xl))});const eo=Array.from(Eo);Un&&Un(eo),ps(eo,"invert")}}:Co===Qt?{key:"none",text:Za.selectNone,onSelect(){Sr==null||Sr(),ps(Array.from(Is).filter(Eo=>{const eo=Ml.get(Eo);return eo==null?void 0:eo.disabled}),"none")}}:Co).map(Co=>Object.assign(Object.assign({},Co),{onSelect:function(){for(var Eo,eo,rs=arguments.length,ro=new Array(rs),xl=0;xl<rs;xl++)ro[xl]=arguments[xl];(eo=Co.onSelect)===null||eo===void 0||(Eo=eo).call.apply(Eo,[Co].concat(ro)),_s(null)}})),[wa,Is,pi,Vi,Un,ps]);return[(0,de.useCallback)(ki=>{var Co;if(!Ze)return ki.filter(vs=>vs!==fn);let Eo=(0,uo.Z)(ki);const eo=new Set(Is),rs=To.map(Vi).filter(vs=>!Ml.get(vs).disabled),ro=rs.every(vs=>eo.has(vs)),xl=rs.some(vs=>eo.has(vs)),cs=()=>{const vs=[];ro?rs.forEach(Ls=>{eo.delete(Ls),vs.push(Ls)}):rs.forEach(Ls=>{eo.has(Ls)||(eo.add(Ls),vs.push(Ls))});const Ss=Array.from(eo);jn==null||jn(!ro,Ss.map(Ls=>yi(Ls)),vs.map(Ls=>yi(Ls))),ps(Ss,"all"),_s(null)};let es;if(xa!=="radio"){let vs;if(Jo){const ds={getPopupContainer:Ka,items:Jo.map((ru,uu)=>{const{key:cu,text:Iu,onSelect:Us}=ru;return{key:cu!=null?cu:uu,onClick:()=>{Us==null||Us(rs)},label:Iu}})};vs=de.createElement("div",{className:`${Fi}-selection-extra`},de.createElement(ns.Z,{menu:ds,getPopupContainer:Ka},de.createElement("span",null,de.createElement(_e.Z,null))))}const Ss=To.map((ds,ru)=>{const uu=Vi(ds,ru),cu=Ml.get(uu)||{};return Object.assign({checked:eo.has(uu)},cu)}).filter(ds=>{let{disabled:ru}=ds;return ru}),Ls=!!Ss.length&&Ss.length===To.length,as=Ls&&Ss.every(ds=>{let{checked:ru}=ds;return ru}),su=Ls&&Ss.some(ds=>{let{checked:ru}=ds;return ru});es=!li&&de.createElement("div",{className:`${Fi}-selection`},de.createElement(ts.default,{checked:Ls?as:!!To.length&&ro,indeterminate:Ls?!as&&su:!ro&&xl,onChange:cs,disabled:To.length===0||Ls,"aria-label":vs?"Custom selection":"Select all",skipGroup:!0}),vs)}let au;xa==="radio"?au=(vs,Ss,Ls)=>{const as=Vi(Ss,Ls),su=eo.has(as);return{node:de.createElement(Xl.ZP,Object.assign({},Ml.get(as),{checked:su,onClick:ds=>ds.stopPropagation(),onChange:ds=>{eo.has(as)||gs(as,!0,[as],ds.nativeEvent)}})),checked:su}}:au=(vs,Ss,Ls)=>{var as;const su=Vi(Ss,Ls),ds=eo.has(su),ru=Ps.has(su),uu=Ml.get(su);let cu;return Ko==="nest"?cu=ru:cu=(as=uu==null?void 0:uu.indeterminate)!==null&&as!==void 0?as:ru,{node:de.createElement(ts.default,Object.assign({},uu,{indeterminate:cu,checked:ds,skipGroup:!0,onClick:Iu=>Iu.stopPropagation(),onChange:Iu=>{let{nativeEvent:Us}=Iu;const{shiftKey:Pu}=Us;let Gs=-1,du=-1;if(Pu&&qa){const fu=new Set([Yl,su]);rs.some((Ys,Vs)=>{if(fu.has(Ys))if(Gs===-1)Gs=Vs;else return du=Vs,!0;return!1})}if(du!==-1&&Gs!==du&&qa){const fu=rs.slice(Gs,du+1),Ys=[];ds?fu.forEach(Hs=>{eo.has(Hs)&&(Ys.push(Hs),eo.delete(Hs))}):fu.forEach(Hs=>{eo.has(Hs)||(Ys.push(Hs),eo.add(Hs))});const Vs=Array.from(eo);kn==null||kn(!ds,Vs.map(Hs=>yi(Hs)),Ys.map(Hs=>yi(Hs))),ps(Vs,"multiple")}else{const fu=Kl;if(qa){const Ys=ds?(0,yt._5)(fu,su):(0,yt.L0)(fu,su);gs(su,!ds,Ys,Us)}else{const Ys=(0,Ht.S)([].concat((0,uo.Z)(fu),[su]),!0,Po,pl),{checkedKeys:Vs,halfCheckedKeys:Hs}=Ys;let Qu=Vs;if(ds){const dc=new Set(Vs);dc.delete(su),Qu=(0,Ht.S)(Array.from(dc),{checked:!1,halfCheckedKeys:Hs},Po,pl).checkedKeys}gs(su,!ds,Qu,Us)}}_s(ds?null:su)}})),checked:ds}};const nu=(vs,Ss,Ls)=>{const{node:as,checked:su}=au(vs,Ss,Ls);return Qr?Qr(su,Ss,Ls,as):as};if(!Eo.includes(fn))if(Eo.findIndex(vs=>{var Ss;return((Ss=vs[so])===null||Ss===void 0?void 0:Ss.columnType)==="EXPAND_COLUMN"})===0){const[vs,...Ss]=Eo;Eo=[vs,fn].concat((0,uo.Z)(Ss))}else Eo=[fn].concat((0,uo.Z)(Eo));const Au=Eo.indexOf(fn);Eo=Eo.filter((vs,Ss)=>vs!==fn||Ss===Au);const ui=Eo[Au-1],Hu=Eo[Au+1];let js=Ra;js===void 0&&((Hu==null?void 0:Hu.fixed)!==void 0?js=Hu.fixed:(ui==null?void 0:ui.fixed)!==void 0&&(js=ui.fixed)),js&&ui&&((Co=ui[so])===null||Co===void 0?void 0:Co.columnType)==="EXPAND_COLUMN"&&ui.fixed===void 0&&(ui.fixed=js);const bu=ze()(`${Fi}-selection-col`,{[`${Fi}-selection-col-with-dropdown`]:wa&&xa==="checkbox"}),Nu={fixed:js,width:Vr,className:`${Fi}-selection-column`,title:Ze.columnTitle||es,render:nu,onCell:Ze.onCell,[so]:{className:bu}};return Eo.map(vs=>vs===fn?Nu:vs)},[Vi,To,Ze,Kl,Is,Ps,Vr,Jo,Ko,Yl,Ml,kn,gs,pl]),Is]},sr=ee(33463),kr=ee(28575),Hr=ee(83062);const ta="ascend",Rr="descend";function Pa(Te){return typeof Te.sorter=="object"&&typeof Te.sorter.multiple=="number"?Te.sorter.multiple:!1}function sa(Te){return typeof Te=="function"?Te:Te&&typeof Te=="object"&&Te.compare?Te.compare:!1}function Da(Te,Ze){return Ze?Te[Te.indexOf(Ze)+1]:Te[0]}function Ga(Te,Ze,Et){let Lt=[];function Xt(Sn,nr){Lt.push({column:Sn,key:Dl(Sn,nr),multiplePriority:Pa(Sn),sortOrder:Sn.sortOrder})}return(Te||[]).forEach((Sn,nr)=>{const wr=Oo(nr,Et);Sn.children?("sortOrder"in Sn&&Xt(Sn,wr),Lt=[].concat((0,uo.Z)(Lt),(0,uo.Z)(Ga(Sn.children,Ze,wr)))):Sn.sorter&&("sortOrder"in Sn?Xt(Sn,wr):Ze&&Sn.defaultSortOrder&&Lt.push({column:Sn,key:Dl(Sn,wr),multiplePriority:Pa(Sn),sortOrder:Sn.defaultSortOrder}))}),Lt}function la(Te,Ze,Et,Lt,Xt,Sn,nr,wr){return(Ze||[]).map((jn,Un)=>{const Sr=Oo(Un,wr);let kn=jn;if(kn.sorter){const Vr=kn.sortDirections||Xt,xa=kn.showSorterTooltip===void 0?nr:kn.showSorterTooltip,wa=Dl(kn,Sr),Ra=Et.find(Ko=>{let{key:Li}=Ko;return Li===wa}),Qr=Ra?Ra.sortOrder:null,li=Da(Vr,Qr);let qa;if(jn.sortIcon)qa=jn.sortIcon({sortOrder:Qr});else{const Ko=Vr.includes(ta)&&de.createElement(kr.Z,{className:ze()(`${Te}-column-sorter-up`,{active:Qr===ta})}),Li=Vr.includes(Rr)&&de.createElement(sr.Z,{className:ze()(`${Te}-column-sorter-down`,{active:Qr===Rr})});qa=de.createElement("span",{className:ze()(`${Te}-column-sorter`,{[`${Te}-column-sorter-full`]:!!(Ko&&Li)})},de.createElement("span",{className:`${Te}-column-sorter-inner`,"aria-hidden":"true"},Ko,Li))}const{cancelSort:Fi,triggerAsc:vi,triggerDesc:pi}=Sn||{};let yi=Fi;li===Rr?yi=pi:li===ta&&(yi=vi);const Vi=typeof xa=="object"?xa:{title:yi};kn=Object.assign(Object.assign({},kn),{className:ze()(kn.className,{[`${Te}-column-sort`]:Qr}),title:Ko=>{const Li=de.createElement("div",{className:`${Te}-column-sorters`},de.createElement("span",{className:`${Te}-column-title`},jl(jn.title,Ko)),qa);return xa?de.createElement(Hr.Z,Object.assign({},Vi),Li):Li},onHeaderCell:Ko=>{const Li=jn.onHeaderCell&&jn.onHeaderCell(Ko)||{},Za=Li.onClick,Ka=Li.onKeyDown;Li.onClick=lo=>{Lt({column:jn,key:wa,sortOrder:li,multiplePriority:Pa(jn)}),Za==null||Za(lo)},Li.onKeyDown=lo=>{lo.keyCode===Bs.Z.ENTER&&(Lt({column:jn,key:wa,sortOrder:li,multiplePriority:Pa(jn)}),Ka==null||Ka(lo))};const ii=ls(jn.title,{}),Ti=ii==null?void 0:ii.toString();return Qr?Li["aria-sort"]=Qr==="ascend"?"ascending":"descending":Li["aria-label"]=Ti||"",Li.className=ze()(Li.className,`${Te}-column-has-sorters`),Li.tabIndex=0,jn.ellipsis&&(Li.title=(ii!=null?ii:"").toString()),Li}})}return"children"in kn&&(kn=Object.assign(Object.assign({},kn),{children:la(Te,kn.children,Et,Lt,Xt,Sn,nr,Sr)})),kn})}function ga(Te){const{column:Ze,sortOrder:Et}=Te;return{column:Ze,order:Et,field:Ze.dataIndex,columnKey:Ze.key}}function fa(Te){const Ze=Te.filter(Et=>{let{sortOrder:Lt}=Et;return Lt}).map(ga);return Ze.length===0&&Te.length?Object.assign(Object.assign({},ga(Te[Te.length-1])),{column:void 0}):Ze.length<=1?Ze[0]||{}:Ze}function Ba(Te,Ze,Et){const Lt=Ze.slice().sort((nr,wr)=>wr.multiplePriority-nr.multiplePriority),Xt=Te.slice(),Sn=Lt.filter(nr=>{let{column:{sorter:wr},sortOrder:jn}=nr;return sa(wr)&&jn});return Sn.length?Xt.sort((nr,wr)=>{for(let jn=0;jn<Sn.length;jn+=1){const Un=Sn[jn],{column:{sorter:Sr},sortOrder:kn}=Un,Vr=sa(Sr);if(Vr&&kn){const xa=Vr(nr,wr,kn);if(xa!==0)return kn===ta?xa:-xa}}return 0}).map(nr=>{const wr=nr[Et];return wr?Object.assign(Object.assign({},nr),{[Et]:Ba(wr,Ze,Et)}):nr}):Xt}function Ea(Te){let{prefixCls:Ze,mergedColumns:Et,onSorterChange:Lt,sortDirections:Xt,tableLocale:Sn,showSorterTooltip:nr}=Te;const[wr,jn]=de.useState(Ga(Et,!0)),Un=de.useMemo(()=>{let wa=!0;const Ra=Ga(Et,!1);if(!Ra.length)return wr;const Qr=[];function li(Fi){wa?Qr.push(Fi):Qr.push(Object.assign(Object.assign({},Fi),{sortOrder:null}))}let qa=null;return Ra.forEach(Fi=>{qa===null?(li(Fi),Fi.sortOrder&&(Fi.multiplePriority===!1?wa=!1:qa=!0)):(qa&&Fi.multiplePriority!==!1||(wa=!1),li(Fi))}),Qr},[Et,wr]),Sr=de.useMemo(()=>{const wa=Un.map(Ra=>{let{column:Qr,sortOrder:li}=Ra;return{column:Qr,order:li}});return{sortColumns:wa,sortColumn:wa[0]&&wa[0].column,sortOrder:wa[0]&&wa[0].order}},[Un]);function kn(wa){let Ra;wa.multiplePriority===!1||!Un.length||Un[0].multiplePriority===!1?Ra=[wa]:Ra=[].concat((0,uo.Z)(Un.filter(Qr=>{let{key:li}=Qr;return li!==wa.key})),[wa]),jn(Ra),Lt(fa(Ra),Ra)}return[wa=>la(Ze,wa,Un,kn,Xt,Sn,nr),Un,Sr,()=>fa(Un)]}function ua(Te,Ze){return Te.map(Et=>{const Lt=Object.assign({},Et);return Lt.title=jl(Et.title,Ze),"children"in Lt&&(Lt.children=ua(Lt.children,Ze)),Lt})}function Xa(Te){return[de.useCallback(Et=>ua(Et,Te),[Te])]}var ra=yn((Te,Ze)=>{const{_renderTimes:Et}=Te,{_renderTimes:Lt}=Ze;return Et!==Lt}),Ya=po((Te,Ze)=>{const{_renderTimes:Et}=Te,{_renderTimes:Lt}=Ze;return Et!==Lt}),Ha=ee(84780),Ua=ee(14747),La=ee(67968),si=ee(45503),zo=Te=>{const{componentCls:Ze}=Te,Et=`${Te.lineWidth}px ${Te.lineType} ${Te.tableBorderColor}`,Lt=(Xt,Sn,nr)=>({[`&${Ze}-${Xt}`]:{[`> ${Ze}-container`]:{[`> ${Ze}-content, > ${Ze}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ze}-expanded-row-fixed`]:{margin:`-${Sn}px -${nr+Te.lineWidth}px`}}}}}});return{[`${Ze}-wrapper`]:{[`${Ze}${Ze}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ze}-title`]:{border:Et,borderBottom:0},[`> ${Ze}-container`]:{borderInlineStart:Et,borderTop:Et,[`
|
|
|
> ${Ze}-content,
|
|
|
> ${Ze}-header,
|
|
|
> ${Ze}-body,
|
|
|
> ${Ze}-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:Et},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Et},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ze}-cell-fix-right-first::after`]:{borderInlineEnd:Et}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ze}-expanded-row-fixed`]:{margin:`-${Te.tablePaddingVertical}px -${Te.tablePaddingHorizontal+Te.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Te.lineWidth,bottom:0,borderInlineEnd:Et,content:'""'}}}}}},[`&${Ze}-scroll-horizontal`]:{[`> ${Ze}-container > ${Ze}-body`]:{"> table > tbody":{[`
|
|
|
> tr${Ze}-expanded-row,
|
|
|
> tr${Ze}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Lt("middle",Te.tablePaddingVerticalMiddle,Te.tablePaddingHorizontalMiddle)),Lt("small",Te.tablePaddingVerticalSmall,Te.tablePaddingHorizontalSmall)),{[`> ${Ze}-footer`]:{border:Et,borderTop:0}}),[`${Ze}-cell`]:{[`${Ze}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Te.lineWidth}px 0 ${Te.lineWidth}px ${Te.tableHeaderBg}`}},[`${Ze}-bordered ${Ze}-cell-scrollbar`]:{borderInlineEnd:Et}}}},yo=Te=>{const{componentCls:Ze}=Te;return{[`${Ze}-wrapper`]:{[`${Ze}-cell-ellipsis`]:Object.assign(Object.assign({},Ua.vS),{wordBreak:"keep-all",[`
|
|
|
&${Ze}-cell-fix-left-last,
|
|
|
&${Ze}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${Ze}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ze}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Lo=Te=>{const{componentCls:Ze}=Te;return{[`${Ze}-wrapper`]:{[`${Ze}-tbody > tr${Ze}-placeholder`]:{textAlign:"center",color:Te.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Te.colorBgContainer}}}}},kl=ee(49867),_i=Te=>{const{componentCls:Ze,antCls:Et,controlInteractiveSize:Lt,motionDurationSlow:Xt,lineWidth:Sn,paddingXS:nr,lineType:wr,tableBorderColor:jn,tableExpandIconBg:Un,tableExpandColumnWidth:Sr,borderRadius:kn,fontSize:Vr,fontSizeSM:xa,lineHeight:wa,tablePaddingVertical:Ra,tablePaddingHorizontal:Qr,tableExpandedRowBg:li,paddingXXS:qa}=Te,Fi=Lt/2-Sn,vi=Fi*2+Sn*3,pi=`${Sn}px ${wr} ${jn}`,yi=qa-Sn;return{[`${Ze}-wrapper`]:{[`${Ze}-expand-icon-col`]:{width:Sr},[`${Ze}-row-expand-icon-cell`]:{textAlign:"center",[`${Ze}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ze}-row-indent`]:{height:1,float:"left"},[`${Ze}-row-expand-icon`]:Object.assign(Object.assign({},(0,kl.N)(Te)),{position:"relative",float:"left",boxSizing:"border-box",width:vi,height:vi,padding:0,color:"inherit",lineHeight:`${vi}px`,background:Un,border:pi,borderRadius:kn,transform:`scale(${Lt/vi})`,transition:`all ${Xt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Xt} ease-out`,content:'""'},"&::before":{top:Fi,insetInlineEnd:yi,insetInlineStart:yi,height:Sn},"&::after":{top:yi,bottom:yi,insetInlineStart:Fi,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"}}),[`${Ze}-row-indent + ${Ze}-row-expand-icon`]:{marginTop:(Vr*wa-Sn*3)/2-Math.ceil((xa*1.4-Sn*3)/2),marginInlineEnd:nr},[`tr${Ze}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:li}},[`${Et}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ze}-expanded-row-fixed`]:{position:"relative",margin:`-${Ra}px -${Qr}px`,padding:`${Ra}px ${Qr}px`}}}},bo=Te=>{const{componentCls:Ze,antCls:Et,iconCls:Lt,tableFilterDropdownWidth:Xt,tableFilterDropdownSearchWidth:Sn,paddingXXS:nr,paddingXS:wr,colorText:jn,lineWidth:Un,lineType:Sr,tableBorderColor:kn,tableHeaderIconColor:Vr,fontSizeSM:xa,tablePaddingHorizontal:wa,borderRadius:Ra,motionDurationSlow:Qr,colorTextDescription:li,colorPrimary:qa,tableHeaderFilterActiveBg:Fi,colorTextDisabled:vi,tableFilterDropdownBg:pi,tableFilterDropdownHeight:yi,controlItemBgHover:Vi,controlItemBgActive:Ko,boxShadowSecondary:Li,filterDropdownMenuBg:Za}=Te,Ka=`${Et}-dropdown`,ii=`${Ze}-filter-dropdown`,Ti=`${Et}-tree`,lo=`${Un}px ${Sr} ${kn}`;return[{[`${Ze}-wrapper`]:{[`${Ze}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ze}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-nr,marginInline:`${nr}px ${-wa/2}px`,padding:`0 ${nr}px`,color:Vr,fontSize:xa,borderRadius:Ra,cursor:"pointer",transition:`all ${Qr}`,"&:hover":{color:li,background:Fi},"&.active":{color:qa}}}},{[`${Et}-dropdown`]:{[ii]:Object.assign(Object.assign({},(0,Ua.Wf)(Te)),{minWidth:Xt,backgroundColor:pi,borderRadius:Ra,boxShadow:Li,overflow:"hidden",[`${Ka}-menu`]:{maxHeight:yi,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Za,"&:empty::after":{display:"block",padding:`${wr}px 0`,color:vi,fontSize:xa,textAlign:"center",content:'"Not Found"'}},[`${ii}-tree`]:{paddingBlock:`${wr}px 0`,paddingInline:wr,[Ti]:{padding:0},[`${Ti}-treenode ${Ti}-node-content-wrapper:hover`]:{backgroundColor:Vi},[`${Ti}-treenode-checkbox-checked ${Ti}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ko}}},[`${ii}-search`]:{padding:wr,borderBottom:lo,"&-input":{input:{minWidth:Sn},[Lt]:{color:vi}}},[`${ii}-checkall`]:{width:"100%",marginBottom:nr,marginInlineStart:nr},[`${ii}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${wr-Un}px ${wr}px`,overflow:"hidden",borderTop:lo}})}},{[`${Et}-dropdown ${ii}, ${ii}-submenu`]:{[`${Et}-checkbox-wrapper + span`]:{paddingInlineStart:wr,color:jn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},co=Te=>{const{componentCls:Ze,lineWidth:Et,colorSplit:Lt,motionDurationSlow:Xt,zIndexTableFixed:Sn,tableBg:nr,zIndexTableSticky:wr}=Te,jn=Lt;return{[`${Ze}-wrapper`]:{[`
|
|
|
${Ze}-cell-fix-left,
|
|
|
${Ze}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:Sn,background:nr},[`
|
|
|
${Ze}-cell-fix-left-first::after,
|
|
|
${Ze}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Et,width:30,transform:"translateX(100%)",transition:`box-shadow ${Xt}`,content:'""',pointerEvents:"none"},[`${Ze}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${Ze}-cell-fix-right-first::after,
|
|
|
${Ze}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:-Et,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Xt}`,content:'""',pointerEvents:"none"},[`${Ze}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:wr+1,width:30,transition:`box-shadow ${Xt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ze}-ping-left`]:{[`&:not(${Ze}-has-fix-left) ${Ze}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${jn}`}},[`
|
|
|
${Ze}-cell-fix-left-first::after,
|
|
|
${Ze}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${jn}`},[`${Ze}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ze}-ping-right`]:{[`&:not(${Ze}-has-fix-right) ${Ze}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${jn}`}},[`
|
|
|
${Ze}-cell-fix-right-first::after,
|
|
|
${Ze}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${jn}`}}}}},oo=Te=>{const{componentCls:Ze,antCls:Et}=Te;return{[`${Ze}-wrapper`]:{[`${Ze}-pagination${Et}-pagination`]:{margin:`${Te.margin}px 0`},[`${Ze}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Te.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},sl=Te=>{const{componentCls:Ze,tableRadius:Et}=Te;return{[`${Ze}-wrapper`]:{[Ze]:{[`${Ze}-title, ${Ze}-header`]:{borderRadius:`${Et}px ${Et}px 0 0`},[`${Ze}-title + ${Ze}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ze}-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:Et,borderStartEndRadius:Et,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Et},"> *:last-child":{borderStartEndRadius:Et}}},"&-footer":{borderRadius:`0 0 ${Et}px ${Et}px`}}}}},Fl=Te=>{const{componentCls:Ze}=Te;return{[`${Ze}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ze}-pagination-left`]:{justifyContent:"flex-end"},[`${Ze}-pagination-right`]:{justifyContent:"flex-start"},[`${Ze}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ze}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ze}-row-indent`]:{float:"right"}}}}},to=Te=>{const{componentCls:Ze,antCls:Et,iconCls:Lt,fontSizeIcon:Xt,padding:Sn,paddingXS:nr,tableHeaderIconColor:wr,tableHeaderIconColorHover:jn,tableSelectionColumnWidth:Un}=Te;return{[`${Ze}-wrapper`]:{[`${Ze}-selection-col`]:{width:Un,[`&${Ze}-selection-col-with-dropdown`]:{width:Un+Xt+Sn/4}},[`${Ze}-bordered ${Ze}-selection-col`]:{width:Un+nr*2,[`&${Ze}-selection-col-with-dropdown`]:{width:Un+Xt+Sn/4+nr*2}},[`
|
|
|
table tr th${Ze}-selection-column,
|
|
|
table tr td${Ze}-selection-column
|
|
|
`]:{paddingInlineEnd:Te.paddingXS,paddingInlineStart:Te.paddingXS,textAlign:"center",[`${Et}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ze}-selection-column${Ze}-cell-fix-left`]:{zIndex:Te.zIndexTableFixed+1},[`table tr th${Ze}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ze}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ze}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Te.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Te.tablePaddingHorizontal/4}px`,[Lt]:{color:wr,fontSize:Xt,verticalAlign:"baseline","&:hover":{color:jn}}}}}},hl=Te=>{const{componentCls:Ze}=Te,Et=(Lt,Xt,Sn,nr)=>({[`${Ze}${Ze}-${Lt}`]:{fontSize:nr,[`
|
|
|
${Ze}-title,
|
|
|
${Ze}-footer,
|
|
|
${Ze}-cell,
|
|
|
${Ze}-thead > tr > th,
|
|
|
${Ze}-tbody > tr > th,
|
|
|
${Ze}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${Xt}px ${Sn}px`},[`${Ze}-filter-trigger`]:{marginInlineEnd:`-${Sn/2}px`},[`${Ze}-expanded-row-fixed`]:{margin:`-${Xt}px -${Sn}px`},[`${Ze}-tbody`]:{[`${Ze}-wrapper:only-child ${Ze}`]:{marginBlock:`-${Xt}px`,marginInline:`${Te.tableExpandColumnWidth-Sn}px -${Sn}px`}},[`${Ze}-selection-column`]:{paddingInlineStart:`${Sn/4}px`}}});return{[`${Ze}-wrapper`]:Object.assign(Object.assign({},Et("middle",Te.tablePaddingVerticalMiddle,Te.tablePaddingHorizontalMiddle,Te.tableFontSizeMiddle)),Et("small",Te.tablePaddingVerticalSmall,Te.tablePaddingHorizontalSmall,Te.tableFontSizeSmall))}},Zo=Te=>{const{componentCls:Ze,marginXXS:Et,fontSizeIcon:Lt,tableHeaderIconColor:Xt,tableHeaderIconColorHover:Sn}=Te;return{[`${Ze}-wrapper`]:{[`${Ze}-thead th${Ze}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Te.motionDurationSlow}`,"&:hover":{background:Te.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Te.colorPrimary},[`
|
|
|
&${Ze}-cell-fix-left:hover,
|
|
|
&${Ze}-cell-fix-right:hover
|
|
|
`]:{background:Te.tableFixedHeaderSortActiveBg}},[`${Ze}-thead th${Ze}-column-sort`]:{background:Te.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ze}-column-sort`]:{background:Te.tableBodySortBg},[`${Ze}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ze}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ze}-column-sorter`]:{marginInlineStart:Et,color:Xt,fontSize:0,transition:`color ${Te.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Lt,"&.active":{color:Te.colorPrimary}},[`${Ze}-column-sorter-up + ${Ze}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ze}-column-sorters:hover ${Ze}-column-sorter`]:{color:Sn}}}},Oi=Te=>{const{componentCls:Ze,opacityLoading:Et,tableScrollThumbBg:Lt,tableScrollThumbBgHover:Xt,tableScrollThumbSize:Sn,tableScrollBg:nr,zIndexTableSticky:wr,stickyScrollBarBorderRadius:jn}=Te,Un=`${Te.lineWidth}px ${Te.lineType} ${Te.tableBorderColor}`;return{[`${Ze}-wrapper`]:{[`${Ze}-sticky`]:{"&-holder":{position:"sticky",zIndex:wr,background:Te.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Sn}px !important`,zIndex:wr,display:"flex",alignItems:"center",background:nr,borderTop:Un,opacity:Et,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Sn,backgroundColor:Lt,borderRadius:jn,transition:`all ${Te.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Xt}}}}}}},Uo=Te=>{const{componentCls:Ze,lineWidth:Et,tableBorderColor:Lt}=Te,Xt=`${Et}px ${Te.lineType} ${Lt}`;return{[`${Ze}-wrapper`]:{[`${Ze}-summary`]:{position:"relative",zIndex:Te.zIndexTableFixed,background:Te.tableBg,"> tr":{"> th, > td":{borderBottom:Xt}}},[`div${Ze}-summary`]:{boxShadow:`0 -${Et}px 0 ${Lt}`}}}},no=Te=>{const{componentCls:Ze}=Te,Et=`${Te.lineWidth}px ${Te.lineType} ${Te.tableBorderColor}`,Lt=`${Ze}-expanded-row-cell`;return{[`${Ze}-wrapper`]:{[`${Ze}-tbody-virtual`]:{[`${Ze}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ze}-cell`]:{borderBottom:Et},[`${Ze}-expanded-row`]:{[`${Lt}${Lt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Te.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ze}-bordered`]:{[`${Ze}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Et,position:"absolute"},[`${Ze}-cell`]:{borderInlineEnd:Et,[`&${Ze}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Te.lineWidth,borderInlineStart:Et}}}}}}};const Ja=Te=>{const{componentCls:Ze,fontWeightStrong:Et,tablePaddingVertical:Lt,tablePaddingHorizontal:Xt,lineWidth:Sn,lineType:nr,tableBorderColor:wr,tableFontSize:jn,tableBg:Un,tableRadius:Sr,tableHeaderTextColor:kn,motionDurationMid:Vr,tableHeaderBg:xa,tableHeaderCellSplitColor:wa,tableRowHoverBg:Ra,tableSelectedRowBg:Qr,tableSelectedRowHoverBg:li,tableFooterTextColor:qa,tableFooterBg:Fi,paddingContentVerticalLG:vi}=Te,pi=`${Sn}px ${nr} ${wr}`;return{[`${Ze}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ua.dF)()),{[Ze]:Object.assign(Object.assign({},(0,Ua.Wf)(Te)),{fontSize:jn,background:Un,borderRadius:`${Sr}px ${Sr}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Sr}px ${Sr}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${Ze}-cell,
|
|
|
${Ze}-thead > tr > th,
|
|
|
${Ze}-tbody > tr > th,
|
|
|
${Ze}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${vi}px ${Xt}px`,overflowWrap:"break-word"},[`${Ze}-title`]:{padding:`${Lt}px ${Xt}px`},[`${Ze}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:kn,fontWeight:Et,textAlign:"start",background:xa,borderBottom:pi,transition:`background ${Vr} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ze}-selection-column):not(${Ze}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:wa,transform:"translateY(-50%)",transition:`background-color ${Vr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ze}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Vr}, border-color ${Vr}`,borderBottom:pi,[`
|
|
|
> ${Ze}-wrapper:only-child,
|
|
|
> ${Ze}-expanded-row-fixed > ${Ze}-wrapper:only-child
|
|
|
`]:{[Ze]:{marginBlock:`-${Lt}px`,marginInline:`${Te.tableExpandColumnWidth-Xt}px -${Xt}px`,[`${Ze}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:kn,fontWeight:Et,textAlign:"start",background:xa,borderBottom:pi,transition:`background ${Vr} ease`},[`
|
|
|
&${Ze}-row:hover > th,
|
|
|
&${Ze}-row:hover > td,
|
|
|
> th${Ze}-cell-row-hover,
|
|
|
> td${Ze}-cell-row-hover
|
|
|
`]:{background:Ra},[`&${Ze}-row-selected`]:{"> th, > td":{background:Qr},"&:hover > th, &:hover > td":{background:li}}}},[`${Ze}-footer`]:{padding:`${Lt}px ${Xt}px`,color:qa,background:Fi}})}};var Di=(0,La.Z)("Table",Te=>{const{colorTextHeading:Ze,colorSplit:Et,colorIcon:Lt,colorIconHover:Xt,opacityLoading:Sn,colorBgContainer:nr,controlInteractiveSize:wr,headerBg:jn,headerColor:Un,headerSortActiveBg:Sr,headerSortHoverBg:kn,bodySortBg:Vr,rowHoverBg:xa,rowSelectedBg:wa,rowSelectedHoverBg:Ra,rowExpandedBg:Qr,cellPaddingBlock:li,cellPaddingInline:qa,cellPaddingBlockMD:Fi,cellPaddingInlineMD:vi,cellPaddingBlockSM:pi,cellPaddingInlineSM:yi,borderColor:Vi,footerBg:Ko,footerColor:Li,headerBorderRadius:Za,cellFontSize:Ka,cellFontSizeMD:ii,cellFontSizeSM:Ti,headerSplitColor:lo,fixedHeaderSortActiveBg:rl,headerFilterHoverBg:Po,filterDropdownBg:To,expandIconBg:Ml,selectionColumnWidth:pl,stickyScrollBarBg:Kl}=Te,Gl=new Ha.C(Lt),Is=new Ha.C(Xt),Ps=2,Yl=(0,si.TS)(Te,{tableFontSize:Ka,tableBg:nr,tableRadius:Za,tablePaddingVertical:li,tablePaddingHorizontal:qa,tablePaddingVerticalMiddle:Fi,tablePaddingHorizontalMiddle:vi,tablePaddingVerticalSmall:pi,tablePaddingHorizontalSmall:yi,tableBorderColor:Vi,tableHeaderTextColor:Un,tableHeaderBg:jn,tableFooterTextColor:Li,tableFooterBg:Ko,tableHeaderCellSplitColor:lo,tableHeaderSortBg:Sr,tableHeaderSortHoverBg:kn,tableHeaderIconColor:Gl.clone().setAlpha(Gl.getAlpha()*Sn).toRgbString(),tableHeaderIconColorHover:Is.clone().setAlpha(Is.getAlpha()*Sn).toRgbString(),tableBodySortBg:Vr,tableFixedHeaderSortActiveBg:rl,tableHeaderFilterActiveBg:Po,tableFilterDropdownBg:To,tableRowHoverBg:xa,tableSelectedRowBg:wa,tableSelectedRowHoverBg:Ra,zIndexTableFixed:Ps,zIndexTableSticky:Ps+1,tableFontSizeMiddle:ii,tableFontSizeSmall:Ti,tableSelectionColumnWidth:pl,tableExpandIconBg:Ml,tableExpandColumnWidth:wr+2*Te.padding,tableExpandedRowBg:Qr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Kl,tableScrollThumbBgHover:Ze,tableScrollBg:Et});return[Ja(Yl),oo(Yl),Uo(Yl),Zo(Yl),bo(Yl),zo(Yl),sl(Yl),_i(Yl),Uo(Yl),Lo(Yl),to(Yl),co(Yl),Oi(Yl),yo(Yl),hl(Yl),Fl(Yl),no(Yl)]},Te=>{const{colorFillAlter:Ze,colorBgContainer:Et,colorTextHeading:Lt,colorFillSecondary:Xt,colorFillContent:Sn,controlItemBgActive:nr,controlItemBgActiveHover:wr,padding:jn,paddingSM:Un,paddingXS:Sr,colorBorderSecondary:kn,borderRadiusLG:Vr,fontSize:xa,controlHeight:wa,colorTextPlaceholder:Ra}=Te,Qr=new Ha.C(Xt).onBackground(Et).toHexShortString(),li=new Ha.C(Sn).onBackground(Et).toHexShortString(),qa=new Ha.C(Ze).onBackground(Et).toHexShortString();return{headerBg:qa,headerColor:Lt,headerSortActiveBg:Qr,headerSortHoverBg:li,bodySortBg:qa,rowHoverBg:qa,rowSelectedBg:nr,rowSelectedHoverBg:wr,rowExpandedBg:Ze,cellPaddingBlock:jn,cellPaddingInline:jn,cellPaddingBlockMD:Un,cellPaddingInlineMD:Sr,cellPaddingBlockSM:Sr,cellPaddingInlineSM:Sr,borderColor:kn,headerBorderRadius:Vr,footerBg:qa,footerColor:Lt,cellFontSize:xa,cellFontSizeMD:xa,cellFontSizeSM:xa,headerSplitColor:kn,fixedHeaderSortActiveBg:Qr,headerFilterHoverBg:Sn,filterDropdownMenuBg:Et,filterDropdownBg:Et,expandIconBg:Et,selectionColumnWidth:wa,stickyScrollBarBg:Ra,stickyScrollBarBorderRadius:100}});const Ri=[],ya=(Te,Ze)=>{const{prefixCls:Et,className:Lt,rootClassName:Xt,style:Sn,size:nr,bordered:wr,dropdownPrefixCls:jn,dataSource:Un,pagination:Sr,rowSelection:kn,rowKey:Vr="key",rowClassName:xa,columns:wa,children:Ra,childrenColumnName:Qr,onChange:li,getPopupContainer:qa,loading:Fi,expandIcon:vi,expandable:pi,expandedRowRender:yi,expandIconColumnIndex:Vi,indentSize:Ko,scroll:Li,sortDirections:Za,locale:Ka,showSorterTooltip:ii=!0,virtual:Ti}=Te,lo=de.useMemo(()=>wa||ha(Ra),[wa,Ra]),rl=de.useMemo(()=>lo.some(os=>os.responsive),[lo]),Po=(0,go.Z)(rl),To=de.useMemo(()=>{const os=new Set(Object.keys(Po).filter(cl=>Po[cl]));return lo.filter(cl=>!cl.responsive||cl.responsive.some(iu=>os.has(iu)))},[lo,Po]),Ml=(0,zi.Z)(Te,["className","style","columns"]),{locale:pl=_l.Z,direction:Kl,table:Gl,renderEmpty:Is,getPrefixCls:Ps,getPopupContainer:Yl}=de.useContext(El.E_),_s=(0,Vo.Z)(nr),ps=Object.assign(Object.assign({},pl.Table),Ka),gs=Un||Ri,Jo=Ps("table",Et),$i=Ps("dropdown",jn),ki=Object.assign({childrenColumnName:Qr,expandIconColumnIndex:Vi},pi),{childrenColumnName:Co="children"}=ki,Eo=de.useMemo(()=>gs.some(os=>os==null?void 0:os[Co])?"nest":yi||pi&&pi.expandedRowRender?"row":null,[gs]),eo={body:de.useRef()},rs=de.useMemo(()=>typeof Vr=="function"?Vr:os=>os==null?void 0:os[Vr],[Vr]),[ro]=vr(gs,Co,rs),xl={},cs=function(os,cl){let iu=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var As,hu,Fa;const Ou=Object.assign(Object.assign({},xl),os);iu&&((As=xl.resetPagination)===null||As===void 0||As.call(xl),!((hu=Ou.pagination)===null||hu===void 0)&&hu.current&&(Ou.pagination.current=1),Sr&&Sr.onChange&&Sr.onChange(1,(Fa=Ou.pagination)===null||Fa===void 0?void 0:Fa.pageSize)),Li&&Li.scrollToFirstRowOnChange!==!1&&eo.body.current&&(0,gl.Z)(0,{getContainer:()=>eo.body.current}),li==null||li(Ou.pagination,Ou.filters,Ou.sorter,{currentDataSource:Wn(Ba(gs,Ou.sorterStates,Co),Ou.filterStates),action:cl})},es=(os,cl)=>{cs({sorter:os,sorterStates:cl},"sort",!1)},[au,nu,Au,ui]=Ea({prefixCls:Jo,mergedColumns:To,onSorterChange:es,sortDirections:Za||["ascend","descend"],tableLocale:ps,showSorterTooltip:ii}),Hu=de.useMemo(()=>Ba(gs,nu,Co),[gs,nu]);xl.sorter=ui(),xl.sorterStates=nu;const js=(os,cl)=>{cs({filters:os,filterStates:cl},"filter",!0)},[bu,Nu,vs]=Mr({prefixCls:Jo,locale:ps,dropdownPrefixCls:$i,mergedColumns:To,onFilterChange:js,getPopupContainer:qa||Yl}),Ss=Wn(Hu,Nu);xl.filters=vs,xl.filterStates=Nu;const Ls=de.useMemo(()=>{const os={};return Object.keys(vs).forEach(cl=>{vs[cl]!==null&&(os[cl]=vs[cl])}),Object.assign(Object.assign({},Au),{filters:os})},[Au,vs]),[as]=Xa(Ls),su=(os,cl)=>{cs({pagination:Object.assign(Object.assign({},xl.pagination),{current:os,pageSize:cl})},"paginate")},[ds,ru]=Ma(Ss.length,su,Sr);xl.pagination=Sr===!1?{}:Wr(ds,Sr),xl.resetPagination=ru;const uu=de.useMemo(()=>{if(Sr===!1||!ds.pageSize)return Ss;const{current:os=1,total:cl,pageSize:iu=Pr}=ds;return Ss.length<cl?Ss.length>iu?Ss.slice((os-1)*iu,os*iu):Ss:Ss.slice((os-1)*iu,os*iu)},[!!Sr,Ss,ds&&ds.current,ds&&ds.pageSize,ds&&ds.total]),[cu,Iu]=br({prefixCls:Jo,data:Ss,pageData:uu,getRowKey:rs,getRecordByKey:ro,expandType:Eo,childrenColumnName:Co,locale:ps,getPopupContainer:qa||Yl},kn),Us=(os,cl,iu)=>{let As;return typeof xa=="function"?As=ze()(xa(os,cl,iu)):As=ze()(xa),ze()({[`${Jo}-row-selected`]:Iu.has(rs(os,cl))},As)};ki.__PARENT_RENDER_ICON__=ki.expandIcon,ki.expandIcon=ki.expandIcon||vi||fl(ps),Eo==="nest"&&ki.expandIconColumnIndex===void 0?ki.expandIconColumnIndex=kn?1:0:ki.expandIconColumnIndex>0&&kn&&(ki.expandIconColumnIndex-=1),typeof ki.indentSize!="number"&&(ki.indentSize=typeof Ko=="number"?Ko:15);const Pu=de.useCallback(os=>as(cu(bu(au(os)))),[au,bu,cu]);let Gs,du;if(Sr!==!1&&(ds!=null&&ds.total)){let os;ds.size?os=ds.size:os=_s==="small"||_s==="middle"?"small":void 0;const cl=hu=>de.createElement(jo.Z,Object.assign({},ds,{className:ze()(`${Jo}-pagination ${Jo}-pagination-${hu}`,ds.className),size:os})),iu=Kl==="rtl"?"left":"right",{position:As}=ds;if(As!==null&&Array.isArray(As)){const hu=As.find(tc=>tc.includes("top")),Fa=As.find(tc=>tc.includes("bottom")),Ou=As.every(tc=>`${tc}`=="none");!hu&&!Fa&&!Ou&&(du=cl(iu)),hu&&(Gs=cl(hu.toLowerCase().replace("top",""))),Fa&&(du=cl(Fa.toLowerCase().replace("bottom","")))}else du=cl(iu)}let fu;typeof Fi=="boolean"?fu={spinning:Fi}:typeof Fi=="object"&&(fu=Object.assign({spinning:!0},Fi));const[Ys,Vs]=Di(Jo),[,Hs]=(0,el.Z)(),Qu=ze()(`${Jo}-wrapper`,Gl==null?void 0:Gl.className,{[`${Jo}-wrapper-rtl`]:Kl==="rtl"},Lt,Xt,Vs),dc=Object.assign(Object.assign({},Gl==null?void 0:Gl.style),Sn),Ts=Ka&&Ka.emptyText||(Is==null?void 0:Is("Table"))||de.createElement(il.Z,{componentName:"Table"}),xu=Ti?Ya:ra,Rc={},ec=de.useMemo(()=>{const{fontSize:os,lineHeight:cl,padding:iu,paddingXS:As,paddingSM:hu}=Hs,Fa=Math.floor(os*cl);switch(_s){case"large":return iu*2+Fa;case"small":return As*2+Fa;default:return hu*2+Fa}},[Hs,_s]);return Ti&&(Rc.listItemHeight=ec),Ys(de.createElement("div",{ref:Ze,className:Qu,style:dc},de.createElement(mo.Z,Object.assign({spinning:!1},fu),Gs,de.createElement(xu,Object.assign({},Rc,Ml,{columns:To,direction:Kl,expandable:ki,prefixCls:Jo,className:ze()({[`${Jo}-middle`]:_s==="middle",[`${Jo}-small`]:_s==="small",[`${Jo}-bordered`]:wr,[`${Jo}-empty`]:gs.length===0}),data:uu,rowKey:rs,rowClassName:Us,emptyText:Ts,internalHooks:fe,internalRefs:eo,transformColumns:Pu})),du)))};var Qa=de.forwardRef(ya);const Ji=(Te,Ze)=>{const Et=de.useRef(0);return Et.current+=1,de.createElement(Qa,Object.assign({},Te,{ref:Ze,_renderTimes:Et.current}))},ul=de.forwardRef(Ji);ul.SELECTION_COLUMN=fn,ul.EXPAND_COLUMN=ne,ul.SELECTION_ALL=Rn,ul.SELECTION_INVERT=Bt,ul.SELECTION_NONE=Qt,ul.Column=Ai,ul.ColumnGroup=Bo,ul.Summary=Ut;var Jl=ul,ws=Jl},66368:function(Hn,ln,ee){"use strict";ee.d(ln,{default:function(){return Nt}});var ne=ee(73475),fe=ee(25877),De=ee(38308),qe=ee(94184),we=ee.n(qe),ke=ee(87462),de=ee(4942),Se=ee(1413),me=ee(97685),Pe=ee(71002),rt=ee(45987),ue=ee(67294),Ue=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var pe=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(pe)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(pe==null?void 0:pe.substr(0,4))};function mt(pe){var Oe=ue.useRef();Oe.current=pe;var Ae=ue.useCallback(function(){for(var Ke,Qe=arguments.length,at=new Array(Qe),pt=0;pt<Qe;pt++)at[pt]=arguments[pt];return(Ke=Oe.current)===null||Ke===void 0?void 0:Ke.call.apply(Ke,[Oe].concat(at))},[]);return Ae}function ot(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var vt=ot()?ue.useLayoutEffect:ue.useEffect,Ee=function(Oe,Ae){var Ke=ue.useRef(!0);vt(function(){return Oe(Ke.current)},Ae),vt(function(){return Ke.current=!1,function(){Ke.current=!0}},[])},wt=function(Oe,Ae){Ee(function(Ke){if(!Ke)return Oe()},Ae)},Tt=null;function $e(pe){var Oe=ue.useRef(!1),Ae=ue.useState(pe),Ke=(0,me.Z)(Ae,2),Qe=Ke[0],at=Ke[1];ue.useEffect(function(){return Oe.current=!1,function(){Oe.current=!0}},[]);function pt($t,tn){tn&&Oe.current||at($t)}return[Qe,pt]}function ut(pe){return pe!==void 0}function ye(pe,Oe){var Ae=Oe||{},Ke=Ae.defaultValue,Qe=Ae.value,at=Ae.onChange,pt=Ae.postState,$t=$e(function(){return ut(Qe)?Qe:ut(Ke)?typeof Ke=="function"?Ke():Ke:typeof pe=="function"?pe():pe}),tn=(0,me.Z)($t,2),Yn=tn[0],fr=tn[1],Cr=Qe!==void 0?Qe:Yn,Dn=pt?pt(Cr):Cr,qn=mt(at),Xn=$e([Cr]),Ar=(0,me.Z)(Xn,2),Or=Ar[0],Kr=Ar[1];wt(function(){var _r=Or[0];Yn!==_r&&qn(Yn,_r)},[Or]),wt(function(){ut(Qe)||fr(Qe)},[Qe]);var Tr=mt(function(_r,Zr){fr(_r,Zr),Kr([Cr],Zr)});return[Dn,Tr]}var ce=ee(62874),Xe=(0,ue.createContext)(null),et=ue.forwardRef(function(pe,Oe){var Ae=pe.prefixCls,Ke=pe.className,Qe=pe.style,at=pe.id,pt=pe.active,$t=pe.tabKey,tn=pe.children;return ue.createElement("div",{id:at&&"".concat(at,"-panel-").concat($t),role:"tabpanel",tabIndex:pt?0:-1,"aria-labelledby":at&&"".concat(at,"-tab-").concat($t),"aria-hidden":!pt,style:Qe,className:we()(Ae,pt&&"".concat(Ae,"-active"),Ke),ref:Oe},tn)}),st=et,ft=["key","forceRender","style","className"];function Re(pe){var Oe=pe.id,Ae=pe.activeKey,Ke=pe.animated,Qe=pe.tabPosition,at=pe.destroyInactiveTabPane,pt=ue.useContext(Xe),$t=pt.prefixCls,tn=pt.tabs,Yn=Ke.tabPane,fr="".concat($t,"-tabpane");return ue.createElement("div",{className:we()("".concat($t,"-content-holder"))},ue.createElement("div",{className:we()("".concat($t,"-content"),"".concat($t,"-content-").concat(Qe),(0,de.Z)({},"".concat($t,"-content-animated"),Yn))},tn.map(function(Cr){var Dn=Cr.key,qn=Cr.forceRender,Xn=Cr.style,Ar=Cr.className,Or=(0,rt.Z)(Cr,ft),Kr=Dn===Ae;return ue.createElement(ce.Z,(0,ke.Z)({key:Dn,visible:Kr,forceRender:qn,removeOnLeave:!!at,leavedClassName:"".concat(fr,"-hidden")},Ke.tabPaneMotion),function(Tr,_r){var Zr=Tr.style,qr=Tr.className;return ue.createElement(st,(0,ke.Z)({},Or,{prefixCls:fr,id:Oe,tabKey:Dn,animated:Yn,active:Kr,style:(0,Se.Z)((0,Se.Z)({},Xn),Zr),className:we()(Ar,qr),ref:_r}))})})))}var Be=ee(74902),gt=ee(48555),ze=ee(59864);function ct(pe,Oe,Ae){var Ke=ue.useRef({});return(!("value"in Ke.current)||Ae(Ke.current.condition,Oe))&&(Ke.current.value=pe(),Ke.current.condition=Oe),Ke.current.value}function nt(pe,Oe){typeof pe=="function"?pe(Oe):(0,Pe.Z)(pe)==="object"&&pe&&"current"in pe&&(pe.current=Oe)}function Ot(){for(var pe=arguments.length,Oe=new Array(pe),Ae=0;Ae<pe;Ae++)Oe[Ae]=arguments[Ae];var Ke=Oe.filter(function(Qe){return Qe});return Ke.length<=1?Ke[0]:function(Qe){Oe.forEach(function(at){nt(at,Qe)})}}function Rt(){for(var pe=arguments.length,Oe=new Array(pe),Ae=0;Ae<pe;Ae++)Oe[Ae]=arguments[Ae];return ct(function(){return Ot.apply(void 0,Oe)},Oe,function(Ke,Qe){return Ke.length===Qe.length&&Ke.every(function(at,pt){return at===Qe[pt]})})}function an(pe){var Oe,Ae,Ke=isMemo(pe)?pe.type.type:pe.type;return!(typeof Ke=="function"&&!((Oe=Ke.prototype)!==null&&Oe!==void 0&&Oe.render)||typeof pe=="function"&&!((Ae=pe.prototype)!==null&&Ae!==void 0&&Ae.render))}var ht={width:0,height:0,left:0,top:0};function Ne(pe,Oe,Ae){return(0,ue.useMemo)(function(){for(var Ke,Qe=new Map,at=Oe.get((Ke=pe[0])===null||Ke===void 0?void 0:Ke.key)||ht,pt=at.left+at.width,$t=0;$t<pe.length;$t+=1){var tn=pe[$t].key,Yn=Oe.get(tn);if(!Yn){var fr;Yn=Oe.get((fr=pe[$t-1])===null||fr===void 0?void 0:fr.key)||ht}var Cr=Qe.get(tn)||(0,Se.Z)({},Yn);Cr.right=pt-Cr.left-Cr.width,Qe.set(tn,Cr)}return Qe},[pe.map(function(Ke){return Ke.key}).join("_"),Oe,Ae])}function At(pe,Oe){var Ae=ue.useRef(pe),Ke=ue.useState({}),Qe=(0,me.Z)(Ke,2),at=Qe[1];function pt($t){var tn=typeof $t=="function"?$t(Ae.current):$t;tn!==Ae.current&&Oe(tn,Ae.current),Ae.current=tn,at({})}return[Ae.current,pt]}var An=.1,jt=.01,Mt=20,Kt=Math.pow(.995,Mt);function sn(pe,Oe){var Ae=(0,ue.useState)(),Ke=(0,me.Z)(Ae,2),Qe=Ke[0],at=Ke[1],pt=(0,ue.useState)(0),$t=(0,me.Z)(pt,2),tn=$t[0],Yn=$t[1],fr=(0,ue.useState)(0),Cr=(0,me.Z)(fr,2),Dn=Cr[0],qn=Cr[1],Xn=(0,ue.useState)(),Ar=(0,me.Z)(Xn,2),Or=Ar[0],Kr=Ar[1],Tr=(0,ue.useRef)();function _r(Bn){var xr=Bn.touches[0],zr=xr.screenX,Lr=xr.screenY;at({x:zr,y:Lr}),window.clearInterval(Tr.current)}function Zr(Bn){if(Qe){Bn.preventDefault();var xr=Bn.touches[0],zr=xr.screenX,Lr=xr.screenY;at({x:zr,y:Lr});var ca=zr-Qe.x,un=Lr-Qe.y;Oe(ca,un);var Jt=Date.now();Yn(Jt),qn(Jt-tn),Kr({x:ca,y:un})}}function qr(){if(Qe&&(at(null),Kr(null),Or)){var Bn=Or.x/Dn,xr=Or.y/Dn,zr=Math.abs(Bn),Lr=Math.abs(xr);if(Math.max(zr,Lr)<An)return;var ca=Bn,un=xr;Tr.current=window.setInterval(function(){if(Math.abs(ca)<jt&&Math.abs(un)<jt){window.clearInterval(Tr.current);return}ca*=Kt,un*=Kt,Oe(ca*Mt,un*Mt)},Mt)}}var Dt=(0,ue.useRef)();function Pt(Bn){var xr=Bn.deltaX,zr=Bn.deltaY,Lr=0,ca=Math.abs(xr),un=Math.abs(zr);ca===un?Lr=Dt.current==="x"?xr:zr:ca>un?(Lr=xr,Dt.current="x"):(Lr=zr,Dt.current="y"),Oe(-Lr,-Lr)&&Bn.preventDefault()}var Kn=(0,ue.useRef)(null);Kn.current={onTouchStart:_r,onTouchMove:Zr,onTouchEnd:qr,onWheel:Pt},ue.useEffect(function(){function Bn(ca){Kn.current.onTouchStart(ca)}function xr(ca){Kn.current.onTouchMove(ca)}function zr(ca){Kn.current.onTouchEnd(ca)}function Lr(ca){Kn.current.onWheel(ca)}return document.addEventListener("touchmove",xr,{passive:!1}),document.addEventListener("touchend",zr,{passive:!1}),pe.current.addEventListener("touchstart",Bn,{passive:!1}),pe.current.addEventListener("wheel",Lr),function(){document.removeEventListener("touchmove",xr),document.removeEventListener("touchend",zr)}},[])}function wn(pe){var Oe=(0,ue.useState)(0),Ae=(0,me.Z)(Oe,2),Ke=Ae[0],Qe=Ae[1],at=(0,ue.useRef)(0),pt=(0,ue.useRef)();return pt.current=pe,wt(function(){var $t;($t=pt.current)===null||$t===void 0||$t.call(pt)},[Ke]),function(){at.current===Ke&&(at.current+=1,Qe(at.current))}}function vn(pe){var Oe=(0,ue.useRef)([]),Ae=(0,ue.useState)({}),Ke=(0,me.Z)(Ae,2),Qe=Ke[1],at=(0,ue.useRef)(typeof pe=="function"?pe():pe),pt=wn(function(){var tn=at.current;Oe.current.forEach(function(Yn){tn=Yn(tn)}),Oe.current=[],at.current=tn,Qe({})});function $t(tn){Oe.current.push(tn),pt()}return[at.current,$t]}var cn={width:0,height:0,left:0,top:0,right:0};function Nn(pe,Oe,Ae,Ke,Qe,at,pt){var $t=pt.tabs,tn=pt.tabPosition,Yn=pt.rtl,fr,Cr,Dn;return["top","bottom"].includes(tn)?(fr="width",Cr=Yn?"right":"left",Dn=Math.abs(Ae)):(fr="height",Cr="top",Dn=-Ae),(0,ue.useMemo)(function(){if(!$t.length)return[0,0];for(var qn=$t.length,Xn=qn,Ar=0;Ar<qn;Ar+=1){var Or=pe.get($t[Ar].key)||cn;if(Or[Cr]+Or[fr]>Dn+Oe){Xn=Ar-1;break}}for(var Kr=0,Tr=qn-1;Tr>=0;Tr-=1){var _r=pe.get($t[Tr].key)||cn;if(_r[Cr]<Dn){Kr=Tr+1;break}}return Kr>=Xn?[0,0]:[Kr,Xn]},[pe,Oe,Ke,Qe,at,Dn,tn,$t.map(function(qn){return qn.key}).join("_"),Yn])}function dr(pe){var Oe;return pe instanceof Map?(Oe={},pe.forEach(function(Ae,Ke){Oe[Ke]=Ae})):Oe=pe,JSON.stringify(Oe)}var En="TABS_DQ";function Ge(pe){return String(pe).replace(/"/g,En)}function ve(pe,Oe,Ae,Ke){return!(!Ae||Ke||pe===!1||pe===void 0&&(Oe===!1||Oe===null))}function he(pe,Oe){var Ae=pe.prefixCls,Ke=pe.editable,Qe=pe.locale,at=pe.style;return!Ke||Ke.showAdd===!1?null:ue.createElement("button",{ref:Oe,type:"button",className:"".concat(Ae,"-nav-add"),style:at,"aria-label":(Qe==null?void 0:Qe.addAriaLabel)||"Add tab",onClick:function($t){Ke.onEdit("add",{event:$t})}},Ke.addIcon||"+")}var be=ue.forwardRef(he),ge=ue.forwardRef(function(pe,Oe){var Ae=pe.position,Ke=pe.prefixCls,Qe=pe.extra;if(!Qe)return null;var at,pt={};return(0,Pe.Z)(Qe)==="object"&&!ue.isValidElement(Qe)?pt=Qe:pt.right=Qe,Ae==="right"&&(at=pt.right),Ae==="left"&&(at=pt.left),at?ue.createElement("div",{className:"".concat(Ke,"-extra-content"),ref:Oe},at):null}),se=ge,Ye=ee(62709);function xt(pe,Oe,Ae){var Ke=React.useRef({});return(!("value"in Ke.current)||Ae(Ke.current.condition,Oe))&&(Ke.current.value=pe(),Ke.current.condition=Oe),Ke.current.value}function pn(pe,Oe){typeof pe=="function"?pe(Oe):(0,Pe.Z)(pe)==="object"&&pe&&"current"in pe&&(pe.current=Oe)}function on(){for(var pe=arguments.length,Oe=new Array(pe),Ae=0;Ae<pe;Ae++)Oe[Ae]=arguments[Ae];var Ke=Oe.filter(function(Qe){return Qe});return Ke.length<=1?Ke[0]:function(Qe){Oe.forEach(function(at){pn(at,Qe)})}}function In(){for(var pe=arguments.length,Oe=new Array(pe),Ae=0;Ae<pe;Ae++)Oe[Ae]=arguments[Ae];return useMemo(function(){return on.apply(void 0,Oe)},Oe,function(Ke,Qe){return Ke.length===Qe.length&&Ke.every(function(at,pt){return at===Qe[pt]})})}function Qn(pe){var Oe,Ae,Ke=(0,ze.isMemo)(pe)?pe.type.type:pe.type;return!(typeof Ke=="function"&&!((Oe=Ke.prototype)!==null&&Oe!==void 0&&Oe.render)||typeof pe=="function"&&!((Ae=pe.prototype)!==null&&Ae!==void 0&&Ae.render))}var _n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Oe){var Ae=Oe.keyCode;if(Oe.altKey&&!Oe.ctrlKey||Oe.metaKey||Ae>=_n.F1&&Ae<=_n.F12)return!1;switch(Ae){case _n.ALT:case _n.CAPS_LOCK:case _n.CONTEXT_MENU:case _n.CTRL:case _n.DOWN:case _n.END:case _n.ESC:case _n.HOME:case _n.INSERT:case _n.LEFT:case _n.MAC_FF_META:case _n.META:case _n.NUMLOCK:case _n.NUM_CENTER:case _n.PAGE_DOWN:case _n.PAGE_UP:case _n.PAUSE:case _n.PRINT_SCREEN:case _n.RIGHT:case _n.SHIFT:case _n.UP:case _n.WIN_KEY:case _n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Oe){if(Oe>=_n.ZERO&&Oe<=_n.NINE||Oe>=_n.NUM_ZERO&&Oe<=_n.NUM_MULTIPLY||Oe>=_n.A&&Oe<=_n.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Oe===0)return!0;switch(Oe){case _n.SPACE:case _n.QUESTION_MARK:case _n.NUM_PLUS:case _n.NUM_MINUS:case _n.NUM_PERIOD:case _n.NUM_DIVISION:case _n.SEMICOLON:case _n.DASH:case _n.EQUALS:case _n.COMMA:case _n.PERIOD:case _n.SLASH:case _n.APOSTROPHE:case _n.SINGLE_QUOTE:case _n.OPEN_SQUARE_BRACKET:case _n.BACKSLASH:case _n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Vt=_n,gn=function(Oe){return+setTimeout(Oe,16)},Fn=function(Oe){return clearTimeout(Oe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(gn=function(Oe){return window.requestAnimationFrame(Oe)},Fn=function(Oe){return window.cancelAnimationFrame(Oe)});var Tn=0,qt=new Map;function Dr(pe){qt.delete(pe)}var Ut=function(Oe){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Tn+=1;var Ke=Tn;function Qe(at){if(at===0)Dr(Ke),Oe();else{var pt=gn(function(){Qe(at-1)});qt.set(Ke,pt)}}return Qe(Ae),Ke};Ut.cancel=function(pe){var Oe=qt.get(pe);return Dr(Oe),Fn(Oe)};var nn=Ut,Nr=Vt.ESC,cr=Vt.TAB;function Fr(pe){var Oe=pe.visible,Ae=pe.triggerRef,Ke=pe.onVisibleChange,Qe=pe.autoFocus,at=pe.overlayRef,pt=ue.useRef(!1),$t=function(){if(Oe){var Cr,Dn;(Cr=Ae.current)===null||Cr===void 0||(Dn=Cr.focus)===null||Dn===void 0||Dn.call(Cr),Ke==null||Ke(!1)}},tn=function(){var Cr;return(Cr=at.current)!==null&&Cr!==void 0&&Cr.focus?(at.current.focus(),pt.current=!0,!0):!1},Yn=function(Cr){switch(Cr.keyCode){case Nr:$t();break;case cr:{var Dn=!1;pt.current||(Dn=tn()),Dn?Cr.preventDefault():$t();break}}};ue.useEffect(function(){return Oe?(window.addEventListener("keydown",Yn),Qe&&nn(tn,3),function(){window.removeEventListener("keydown",Yn),pt.current=!1}):function(){pt.current=!1}},[Oe])}var aa=(0,ue.forwardRef)(function(pe,Oe){var Ae=pe.overlay,Ke=pe.arrow,Qe=pe.prefixCls,at=(0,ue.useMemo)(function(){var $t;return typeof Ae=="function"?$t=Ae():$t=Ae,$t},[Ae]),pt=on(Oe,at==null?void 0:at.ref);return ue.createElement(ue.Fragment,null,Ke&&ue.createElement("div",{className:"".concat(Qe,"-arrow")}),ue.cloneElement(at,{ref:Qn(at)?pt:void 0}))}),Jn=aa,Ia={adjustX:1,adjustY:1},Ta=[0,0],ti={topLeft:{points:["bl","tl"],overflow:Ia,offset:[0,-4],targetOffset:Ta},top:{points:["bc","tc"],overflow:Ia,offset:[0,-4],targetOffset:Ta},topRight:{points:["br","tr"],overflow:Ia,offset:[0,-4],targetOffset:Ta},bottomLeft:{points:["tl","bl"],overflow:Ia,offset:[0,4],targetOffset:Ta},bottom:{points:["tc","bc"],overflow:Ia,offset:[0,4],targetOffset:Ta},bottomRight:{points:["tr","br"],overflow:Ia,offset:[0,4],targetOffset:Ta}},Jr=ti,ja=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Si(pe,Oe){var Ae,Ke=pe.arrow,Qe=Ke===void 0?!1:Ke,at=pe.prefixCls,pt=at===void 0?"rc-dropdown":at,$t=pe.transitionName,tn=pe.animation,Yn=pe.align,fr=pe.placement,Cr=fr===void 0?"bottomLeft":fr,Dn=pe.placements,qn=Dn===void 0?Jr:Dn,Xn=pe.getPopupContainer,Ar=pe.showAction,Or=pe.hideAction,Kr=pe.overlayClassName,Tr=pe.overlayStyle,_r=pe.visible,Zr=pe.trigger,qr=Zr===void 0?["hover"]:Zr,Dt=pe.autoFocus,Pt=pe.overlay,Kn=pe.children,Bn=pe.onVisibleChange,xr=(0,rt.Z)(pe,ja),zr=ue.useState(),Lr=(0,me.Z)(zr,2),ca=Lr[0],un=Lr[1],Jt="visible"in pe?_r:ca,yn=ue.useRef(null),lr=ue.useRef(null),Xr=ue.useRef(null);ue.useImperativeHandle(Oe,function(){return yn.current});var Ir=function(_a){un(_a),Bn==null||Bn(_a)};Fr({visible:Jt,triggerRef:Xr,onVisibleChange:Ir,autoFocus:Dt,overlayRef:lr});var yr=function(_a){var Va=pe.onOverlayClick;un(!1),Va&&Va(_a)},ba=function(){return ue.createElement(Jn,{ref:lr,overlay:Pt,prefixCls:pt,arrow:Qe})},va=function(){return typeof Pt=="function"?ba:ba()},Oa=function(){var _a=pe.minOverlayWidthMatchTrigger,Va=pe.alignPoint;return"minOverlayWidthMatchTrigger"in pe?_a:!Va},da=function(){var _a=pe.openClassName;return _a!==void 0?_a:"".concat(pt,"-open")},Ur=ue.cloneElement(Kn,{className:we()((Ae=Kn.props)===null||Ae===void 0?void 0:Ae.className,Jt&&da()),ref:Qn(Kn)?on(Xr,Kn.ref):void 0}),Wa=Or;return!Wa&&qr.indexOf("contextMenu")!==-1&&(Wa=["click"]),ue.createElement(Ye.Z,(0,ke.Z)({builtinPlacements:qn},xr,{prefixCls:pt,ref:yn,popupClassName:we()(Kr,(0,de.Z)({},"".concat(pt,"-show-arrow"),Qe)),popupStyle:Tr,action:qr,showAction:Ar,hideAction:Wa,popupPlacement:Cr,popupAlign:Yn,popupTransitionName:$t,popupAnimation:tn,popupVisible:Jt,stretch:Oa()?"minWidth":"",popup:va(),onPopupVisibleChange:Ir,onPopupClick:yr,getPopupContainer:Xn}),Ur)}var $a=ue.forwardRef(Si),ji=$a,Ni=ee(78595),Ln={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Oe){var Ae=Oe.keyCode;if(Oe.altKey&&!Oe.ctrlKey||Oe.metaKey||Ae>=Ln.F1&&Ae<=Ln.F12)return!1;switch(Ae){case Ln.ALT:case Ln.CAPS_LOCK:case Ln.CONTEXT_MENU:case Ln.CTRL:case Ln.DOWN:case Ln.END:case Ln.ESC:case Ln.HOME:case Ln.INSERT:case Ln.LEFT:case Ln.MAC_FF_META:case Ln.META:case Ln.NUMLOCK:case Ln.NUM_CENTER:case Ln.PAGE_DOWN:case Ln.PAGE_UP:case Ln.PAUSE:case Ln.PRINT_SCREEN:case Ln.RIGHT:case Ln.SHIFT:case Ln.UP:case Ln.WIN_KEY:case Ln.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Oe){if(Oe>=Ln.ZERO&&Oe<=Ln.NINE||Oe>=Ln.NUM_ZERO&&Oe<=Ln.NUM_MULTIPLY||Oe>=Ln.A&&Oe<=Ln.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Oe===0)return!0;switch(Oe){case Ln.SPACE:case Ln.QUESTION_MARK:case Ln.NUM_PLUS:case Ln.NUM_MINUS:case Ln.NUM_PERIOD:case Ln.NUM_DIVISION:case Ln.SEMICOLON:case Ln.DASH:case Ln.EQUALS:case Ln.COMMA:case Ln.PERIOD:case Ln.SLASH:case Ln.APOSTROPHE:case Ln.SINGLE_QUOTE:case Ln.OPEN_SQUARE_BRACKET:case Ln.BACKSLASH:case Ln.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Pn=Ln;function rr(pe,Oe){var Ae=pe.prefixCls,Ke=pe.id,Qe=pe.tabs,at=pe.locale,pt=pe.mobile,$t=pe.moreIcon,tn=$t===void 0?"More":$t,Yn=pe.moreTransitionName,fr=pe.style,Cr=pe.className,Dn=pe.editable,qn=pe.tabBarGutter,Xn=pe.rtl,Ar=pe.removeAriaLabel,Or=pe.onTabClick,Kr=pe.getPopupContainer,Tr=pe.popupClassName,_r=(0,ue.useState)(!1),Zr=(0,me.Z)(_r,2),qr=Zr[0],Dt=Zr[1],Pt=(0,ue.useState)(null),Kn=(0,me.Z)(Pt,2),Bn=Kn[0],xr=Kn[1],zr="".concat(Ke,"-more-popup"),Lr="".concat(Ae,"-dropdown"),ca=Bn!==null?"".concat(zr,"-").concat(Bn):null,un=at==null?void 0:at.dropdownAriaLabel;function Jt(va,Oa){va.preventDefault(),va.stopPropagation(),Dn.onEdit("remove",{key:Oa,event:va})}var yn=ue.createElement(Ni.ZP,{onClick:function(Oa){var da=Oa.key,Ur=Oa.domEvent;Or(da,Ur),Dt(!1)},prefixCls:"".concat(Lr,"-menu"),id:zr,tabIndex:-1,role:"listbox","aria-activedescendant":ca,selectedKeys:[Bn],"aria-label":un!==void 0?un:"expanded dropdown"},Qe.map(function(va){var Oa=va.closable,da=va.disabled,Ur=va.closeIcon,Wa=va.key,ai=va.label,_a=ve(Oa,Ur,Dn,da);return ue.createElement(Ni.sN,{key:Wa,id:"".concat(zr,"-").concat(Wa),role:"option","aria-controls":Ke&&"".concat(Ke,"-panel-").concat(Wa),disabled:da},ue.createElement("span",null,ai),_a&&ue.createElement("button",{type:"button","aria-label":Ar||"remove",tabIndex:0,className:"".concat(Lr,"-menu-item-remove"),onClick:function(ei){ei.stopPropagation(),Jt(ei,Wa)}},Ur||Dn.removeIcon||"\xD7"))}));function lr(va){for(var Oa=Qe.filter(function(_a){return!_a.disabled}),da=Oa.findIndex(function(_a){return _a.key===Bn})||0,Ur=Oa.length,Wa=0;Wa<Ur;Wa+=1){da=(da+va+Ur)%Ur;var ai=Oa[da];if(!ai.disabled){xr(ai.key);return}}}function Xr(va){var Oa=va.which;if(!qr){[Pn.DOWN,Pn.SPACE,Pn.ENTER].includes(Oa)&&(Dt(!0),va.preventDefault());return}switch(Oa){case Pn.UP:lr(-1),va.preventDefault();break;case Pn.DOWN:lr(1),va.preventDefault();break;case Pn.ESC:Dt(!1);break;case Pn.SPACE:case Pn.ENTER:Bn!==null&&Or(Bn,va);break}}(0,ue.useEffect)(function(){var va=document.getElementById(ca);va&&va.scrollIntoView&&va.scrollIntoView(!1)},[Bn]),(0,ue.useEffect)(function(){qr||xr(null)},[qr]);var Ir=(0,de.Z)({},Xn?"marginRight":"marginLeft",qn);Qe.length||(Ir.visibility="hidden",Ir.order=1);var yr=we()((0,de.Z)({},"".concat(Lr,"-rtl"),Xn)),ba=pt?null:ue.createElement(ji,{prefixCls:Lr,overlay:yn,trigger:["hover"],visible:Qe.length?qr:!1,transitionName:Yn,onVisibleChange:Dt,overlayClassName:we()(yr,Tr),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:Kr},ue.createElement("button",{type:"button",className:"".concat(Ae,"-nav-more"),style:Ir,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":zr,id:"".concat(Ke,"-more"),"aria-expanded":qr,onKeyDown:Xr},tn));return ue.createElement("div",{className:we()("".concat(Ae,"-nav-operations"),Cr),style:fr,ref:Oe},ba,ue.createElement(be,{prefixCls:Ae,locale:at,editable:Dn}))}var or=ue.memo(ue.forwardRef(rr),function(pe,Oe){return Oe.tabMoving});function $r(pe){var Oe,Ae=pe.prefixCls,Ke=pe.id,Qe=pe.active,at=pe.tab,pt=at.key,$t=at.label,tn=at.disabled,Yn=at.closeIcon,fr=pe.closable,Cr=pe.renderWrapper,Dn=pe.removeAriaLabel,qn=pe.editable,Xn=pe.onClick,Ar=pe.onFocus,Or=pe.style,Kr="".concat(Ae,"-tab"),Tr=ve(fr,Yn,qn,tn);function _r(Dt){tn||Xn(Dt)}function Zr(Dt){Dt.preventDefault(),Dt.stopPropagation(),qn.onEdit("remove",{key:pt,event:Dt})}var qr=ue.createElement("div",{key:pt,"data-node-key":Ge(pt),className:we()(Kr,(Oe={},(0,de.Z)(Oe,"".concat(Kr,"-with-remove"),Tr),(0,de.Z)(Oe,"".concat(Kr,"-active"),Qe),(0,de.Z)(Oe,"".concat(Kr,"-disabled"),tn),Oe)),style:Or,onClick:_r},ue.createElement("div",{role:"tab","aria-selected":Qe,id:Ke&&"".concat(Ke,"-tab-").concat(pt),className:"".concat(Kr,"-btn"),"aria-controls":Ke&&"".concat(Ke,"-panel-").concat(pt),"aria-disabled":tn,tabIndex:tn?null:0,onClick:function(Pt){Pt.stopPropagation(),_r(Pt)},onKeyDown:function(Pt){[Pn.SPACE,Pn.ENTER].includes(Pt.which)&&(Pt.preventDefault(),_r(Pt))},onFocus:Ar},$t),Tr&&ue.createElement("button",{type:"button","aria-label":Dn||"remove",tabIndex:0,className:"".concat(Kr,"-remove"),onClick:function(Pt){Pt.stopPropagation(),Zr(Pt)}},Yn||qn.removeIcon||"\xD7"));return Cr?Cr(qr):qr}var Br=$r,jr=function(Oe){return+setTimeout(Oe,16)},hn=function(Oe){return clearTimeout(Oe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(jr=function(Oe){return window.requestAnimationFrame(Oe)},hn=function(Oe){return window.cancelAnimationFrame(Oe)});var It=0,Zt=new Map;function Gt(pe){Zt.delete(pe)}var Gn=function(Oe){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;It+=1;var Ke=It;function Qe(at){if(at===0)Gt(Ke),Oe();else{var pt=jr(function(){Qe(at-1)});Zt.set(Ke,pt)}}return Qe(Ae),Ke};Gn.cancel=function(pe){var Oe=Zt.get(pe);return Gt(Oe),hn(Oe)};var kt=Gn,mn=function(Oe){var Ae=Oe.activeTabOffset,Ke=Oe.horizontal,Qe=Oe.rtl,at=Oe.indicatorSize,pt=(0,ue.useState)(),$t=(0,me.Z)(pt,2),tn=$t[0],Yn=$t[1],fr=(0,ue.useRef)(),Cr=function(Xn){return typeof at=="function"?at(Xn):typeof at=="number"?at:Xn};function Dn(){kt.cancel(fr.current)}return(0,ue.useEffect)(function(){var qn={};return Ae&&(Ke?(Qe?(qn.right=Ae.right+Ae.width/2,qn.transform="translateX(50%)"):(qn.left=Ae.left+Ae.width/2,qn.transform="translateX(-50%)"),qn.width=Cr(Ae.width)):(qn.top=Ae.top+Ae.height/2,qn.transform="translateY(-50%)",qn.height=Cr(Ae.height))),Dn(),fr.current=kt(function(){Yn(qn)}),Dn},[Ae,Ke,Qe,at]),{style:tn}},Zn=mn,Mn=function(Oe){var Ae=Oe.current||{},Ke=Ae.offsetWidth,Qe=Ke===void 0?0:Ke,at=Ae.offsetHeight,pt=at===void 0?0:at;return[Qe,pt]},ar=function(Oe,Ae){return Oe[Ae?0:1]};function hr(pe,Oe){var Ae,Ke=ue.useContext(Xe),Qe=Ke.prefixCls,at=Ke.tabs,pt=pe.className,$t=pe.style,tn=pe.id,Yn=pe.animated,fr=pe.activeKey,Cr=pe.rtl,Dn=pe.extra,qn=pe.editable,Xn=pe.locale,Ar=pe.tabPosition,Or=pe.tabBarGutter,Kr=pe.children,Tr=pe.onTabClick,_r=pe.onTabScroll,Zr=pe.indicatorSize,qr=(0,ue.useRef)(),Dt=(0,ue.useRef)(),Pt=(0,ue.useRef)(),Kn=(0,ue.useRef)(),Bn=(0,ue.useRef)(),xr=(0,ue.useRef)(),zr=(0,ue.useRef)(),Lr=Ar==="top"||Ar==="bottom",ca=At(0,function(Ul,Le){Lr&&_r&&_r({direction:Ul>Le?"left":"right"})}),un=(0,me.Z)(ca,2),Jt=un[0],yn=un[1],lr=At(0,function(Ul,Le){!Lr&&_r&&_r({direction:Ul>Le?"top":"bottom"})}),Xr=(0,me.Z)(lr,2),Ir=Xr[0],yr=Xr[1],ba=(0,ue.useState)([0,0]),va=(0,me.Z)(ba,2),Oa=va[0],da=va[1],Ur=(0,ue.useState)([0,0]),Wa=(0,me.Z)(Ur,2),ai=Wa[0],_a=Wa[1],Va=(0,ue.useState)([0,0]),ei=(0,me.Z)(Va,2),Yi=ei[0],Ei=ei[1],Wi=(0,ue.useState)([0,0]),Gi=(0,me.Z)(Wi,2),po=Gi[0],Qi=Gi[1],So=vn(new Map),Ki=(0,me.Z)(So,2),Ai=Ki[0],ko=Ki[1],Bo=Ne(at,Ai,ai[0]),zi=ar(Oa,Lr),gl=ar(ai,Lr),El=ar(Yi,Lr),il=ar(po,Lr),Vo=zi<gl+El,go=Vo?zi-il:zi-El,_l="".concat(Qe,"-nav-operations-hidden"),jo=0,mo=0;Lr&&Cr?(jo=0,mo=Math.max(0,gl-go)):(jo=Math.min(0,go-gl),mo=0);function el(Ul){return Ul<jo?jo:Ul>mo?mo:Ul}var Vl=(0,ue.useRef)(),fl=(0,ue.useState)(),Dl=(0,me.Z)(fl,2),Oo=Dl[0],jl=Dl[1];function ls(){jl(Date.now())}function Ql(){window.clearTimeout(Vl.current)}sn(Kn,function(Ul,Le){function Je(it,Ce){it(function(Ie){var St=el(Ie+Ce);return St})}return Vo?(Lr?Je(yn,Ul):Je(yr,Le),Ql(),ls(),!0):!1}),(0,ue.useEffect)(function(){return Ql(),Oo&&(Vl.current=window.setTimeout(function(){jl(0)},100)),Ql},[Oo]);var Al=Nn(Bo,go,Lr?Jt:Ir,gl,El,il,(0,Se.Z)((0,Se.Z)({},pe),{},{tabs:at})),Tl=(0,me.Z)(Al,2),$l=Tl[0],Rl=Tl[1],Il=mt(function(){var Ul=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fr,Le=Bo.get(Ul)||{width:0,height:0,left:0,right:0,top:0};if(Lr){var Je=Jt;Cr?Le.right<Jt?Je=Le.right:Le.right+Le.width>Jt+go&&(Je=Le.right+Le.width-go):Le.left<-Jt?Je=-Le.left:Le.left+Le.width>-Jt+go&&(Je=-(Le.left+Le.width-go)),yr(0),yn(el(Je))}else{var it=Ir;Le.top<-Ir?it=-Le.top:Le.top+Le.height>-Ir+go&&(it=-(Le.top+Le.height-go)),yn(0),yr(el(it))}}),ss={};Ar==="top"||Ar==="bottom"?ss[Cr?"marginRight":"marginLeft"]=Or:ss.marginTop=Or;var us=at.map(function(Ul,Le){var Je=Ul.key;return ue.createElement(Br,{id:tn,prefixCls:Qe,key:Je,tab:Ul,style:Le===0?void 0:ss,closable:Ul.closable,editable:qn,active:Je===fr,renderWrapper:Kr,removeAriaLabel:Xn==null?void 0:Xn.removeAriaLabel,onClick:function(Ce){Tr(Je,Ce)},onFocus:function(){Il(Je),ls(),Kn.current&&(Cr||(Kn.current.scrollLeft=0),Kn.current.scrollTop=0)}})}),ms=function(){return ko(function(){var Le=new Map;return at.forEach(function(Je){var it,Ce=Je.key,Ie=(it=Bn.current)===null||it===void 0?void 0:it.querySelector('[data-node-key="'.concat(Ge(Ce),'"]'));Ie&&Le.set(Ce,{width:Ie.offsetWidth,height:Ie.offsetHeight,left:Ie.offsetLeft,top:Ie.offsetTop})}),Le})};(0,ue.useEffect)(function(){ms()},[at.map(function(Ul){return Ul.key}).join("_")]);var ts=wn(function(){var Ul=Mn(qr),Le=Mn(Dt),Je=Mn(Pt);da([Ul[0]-Le[0]-Je[0],Ul[1]-Le[1]-Je[1]]);var it=Mn(zr);Ei(it);var Ce=Mn(xr);Qi(Ce);var Ie=Mn(Bn);_a([Ie[0]-it[0],Ie[1]-it[1]]),ms()}),ns=at.slice(0,$l),Go=at.slice(Rl+1),ol=[].concat((0,Be.Z)(ns),(0,Be.Z)(Go)),Wl=Bo.get(fr),Xl=Zn({activeTabOffset:Wl,horizontal:Lr,rtl:Cr,indicatorSize:Zr}),hs=Xl.style;(0,ue.useEffect)(function(){Il()},[fr,jo,mo,dr(Wl),dr(Bo),Lr]),(0,ue.useEffect)(function(){ts()},[Cr]);var xs=!!ol.length,Ms="".concat(Qe,"-nav-wrap"),zs,Ws,Bs,Xs;return Lr?Cr?(Ws=Jt>0,zs=Jt!==mo):(zs=Jt<0,Ws=Jt!==jo):(Bs=Ir<0,Xs=Ir!==jo),ue.createElement(gt.Z,{onResize:ts},ue.createElement("div",{ref:Rt(Oe,qr),role:"tablist",className:we()("".concat(Qe,"-nav"),pt),style:$t,onKeyDown:function(){ls()}},ue.createElement(se,{ref:Dt,position:"left",extra:Dn,prefixCls:Qe}),ue.createElement(gt.Z,{onResize:ts},ue.createElement("div",{className:we()(Ms,(Ae={},(0,de.Z)(Ae,"".concat(Ms,"-ping-left"),zs),(0,de.Z)(Ae,"".concat(Ms,"-ping-right"),Ws),(0,de.Z)(Ae,"".concat(Ms,"-ping-top"),Bs),(0,de.Z)(Ae,"".concat(Ms,"-ping-bottom"),Xs),Ae)),ref:Kn},ue.createElement(gt.Z,{onResize:ts},ue.createElement("div",{ref:Bn,className:"".concat(Qe,"-nav-list"),style:{transform:"translate(".concat(Jt,"px, ").concat(Ir,"px)"),transition:Oo?"none":void 0}},us,ue.createElement(be,{ref:zr,prefixCls:Qe,locale:Xn,editable:qn,style:(0,Se.Z)((0,Se.Z)({},us.length===0?void 0:ss),{},{visibility:xs?"hidden":null})}),ue.createElement("div",{className:we()("".concat(Qe,"-ink-bar"),(0,de.Z)({},"".concat(Qe,"-ink-bar-animated"),Yn.inkBar)),style:hs}))))),ue.createElement(or,(0,ke.Z)({},pe,{removeAriaLabel:Xn==null?void 0:Xn.removeAriaLabel,ref:xr,prefixCls:Qe,tabs:ol,className:!xs&&_l,tabMoving:!!Oo})),ue.createElement(se,{ref:Pt,position:"right",extra:Dn,prefixCls:Qe})))}var dn=ue.forwardRef(hr),za=["renderTabBar"],pa=["label","key"];function ma(pe){var Oe=pe.renderTabBar,Ae=(0,rt.Z)(pe,za),Ke=ue.useContext(Xe),Qe=Ke.tabs;if(Oe){var at=(0,Se.Z)((0,Se.Z)({},Ae),{},{panes:Qe.map(function(pt){var $t=pt.label,tn=pt.key,Yn=(0,rt.Z)(pt,pa);return ue.createElement(st,(0,ke.Z)({tab:$t,key:tn,tabKey:tn},Yn))})});return Oe(at,dn)}return ue.createElement(dn,Ae)}var Sa={},Aa=[],ka=function(Oe){Aa.push(Oe)};function Er(pe,Oe){if(0)var Ae}function Gr(pe,Oe){if(0)var Ae}function Zi(){Sa={}}function Ii(pe,Oe,Ae){!Oe&&!Sa[Ae]&&(pe(!1,Ae),Sa[Ae]=!0)}function ni(pe,Oe){Ii(Er,pe,Oe)}function hi(pe,Oe){Ii(Gr,pe,Oe)}ni.preMessage=ka,ni.resetWarned=Zi,ni.noteOnce=hi;var io=null;function ri(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Oe;return pe===!1?Oe={inkBar:!1,tabPane:!1}:pe===!0?Oe={inkBar:!0,tabPane:!1}:Oe=(0,Se.Z)({inkBar:!0},(0,Pe.Z)(pe)==="object"?pe:{}),Oe.tabPaneMotion&&Oe.tabPane===void 0&&(Oe.tabPane=!0),!Oe.tabPaneMotion&&Oe.tabPane&&(Oe.tabPane=!1),Oe}var ho=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],ia=0;function so(pe,Oe){var Ae,Ke=pe.id,Qe=pe.prefixCls,at=Qe===void 0?"rc-tabs":Qe,pt=pe.className,$t=pe.items,tn=pe.direction,Yn=pe.activeKey,fr=pe.defaultActiveKey,Cr=pe.editable,Dn=pe.animated,qn=pe.tabPosition,Xn=qn===void 0?"top":qn,Ar=pe.tabBarGutter,Or=pe.tabBarStyle,Kr=pe.tabBarExtraContent,Tr=pe.locale,_r=pe.moreIcon,Zr=pe.moreTransitionName,qr=pe.destroyInactiveTabPane,Dt=pe.renderTabBar,Pt=pe.onChange,Kn=pe.onTabClick,Bn=pe.onTabScroll,xr=pe.getPopupContainer,zr=pe.popupClassName,Lr=pe.indicatorSize,ca=(0,rt.Z)(pe,ho),un=ue.useMemo(function(){return($t||[]).filter(function(Qi){return Qi&&(0,Pe.Z)(Qi)==="object"&&"key"in Qi})},[$t]),Jt=tn==="rtl",yn=ri(Dn),lr=(0,ue.useState)(!1),Xr=(0,me.Z)(lr,2),Ir=Xr[0],yr=Xr[1];(0,ue.useEffect)(function(){yr(Ue())},[]);var ba=ye(function(){var Qi;return(Qi=un[0])===null||Qi===void 0?void 0:Qi.key},{value:Yn,defaultValue:fr}),va=(0,me.Z)(ba,2),Oa=va[0],da=va[1],Ur=(0,ue.useState)(function(){return un.findIndex(function(Qi){return Qi.key===Oa})}),Wa=(0,me.Z)(Ur,2),ai=Wa[0],_a=Wa[1];(0,ue.useEffect)(function(){var Qi=un.findIndex(function(Ki){return Ki.key===Oa});if(Qi===-1){var So;Qi=Math.max(0,Math.min(ai,un.length-1)),da((So=un[Qi])===null||So===void 0?void 0:So.key)}_a(Qi)},[un.map(function(Qi){return Qi.key}).join("_"),Oa,ai]);var Va=ye(null,{value:Ke}),ei=(0,me.Z)(Va,2),Yi=ei[0],Ei=ei[1];(0,ue.useEffect)(function(){Ke||(Ei("rc-tabs-".concat(ia)),ia+=1)},[]);function Wi(Qi,So){Kn==null||Kn(Qi,So);var Ki=Qi!==Oa;da(Qi),Ki&&(Pt==null||Pt(Qi))}var Gi={id:Yi,activeKey:Oa,animated:yn,tabPosition:Xn,rtl:Jt,mobile:Ir},po=(0,Se.Z)((0,Se.Z)({},Gi),{},{editable:Cr,locale:Tr,moreIcon:_r,moreTransitionName:Zr,tabBarGutter:Ar,onTabClick:Wi,onTabScroll:Bn,extra:Kr,style:Or,panes:null,getPopupContainer:xr,popupClassName:zr,indicatorSize:Lr});return ue.createElement(Xe.Provider,{value:{tabs:un,prefixCls:at}},ue.createElement("div",(0,ke.Z)({ref:Oe,id:Ke,className:we()(at,"".concat(at,"-").concat(Xn),(Ae={},(0,de.Z)(Ae,"".concat(at,"-mobile"),Ir),(0,de.Z)(Ae,"".concat(at,"-editable"),Cr),(0,de.Z)(Ae,"".concat(at,"-rtl"),Jt),Ae),pt)},ca),ue.createElement(ma,(0,ke.Z)({},po,{renderTabBar:Dt})),ue.createElement(Re,(0,ke.Z)({destroyInactiveTabPane:qr},Gi,{animated:yn}))))}var xo=ue.forwardRef(so),ml=xo,vl=ml,Yo=ee(53124),uo=ee(98675),Qo=()=>null,dl=ee(33603);const zl={motionAppear:!1,motionEnter:!0,motionLeave:!0};function bl(pe){let Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},Ae;return Oe===!1?Ae={inkBar:!1,tabPane:!1}:Oe===!0?Ae={inkBar:!0,tabPane:!0}:Ae=Object.assign({inkBar:!0},typeof Oe=="object"?Oe:{}),Ae.tabPane&&(Ae.tabPaneMotion=Object.assign(Object.assign({},zl),{motionName:(0,dl.m)(pe,"switch")})),Ae}var Sl=ee(37419),Ci=function(pe,Oe){var Ae={};for(var Ke in pe)Object.prototype.hasOwnProperty.call(pe,Ke)&&Oe.indexOf(Ke)<0&&(Ae[Ke]=pe[Ke]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ke=Object.getOwnPropertySymbols(pe);Qe<Ke.length;Qe++)Oe.indexOf(Ke[Qe])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ke[Qe])&&(Ae[Ke[Qe]]=pe[Ke[Qe]]);return Ae};function Do(pe){return pe.filter(Oe=>Oe)}function Pi(pe,Oe){if(pe)return pe;const Ae=(0,Sl.Z)(Oe).map(Ke=>{if(ue.isValidElement(Ke)){const{key:Qe,props:at}=Ke,pt=at||{},{tab:$t}=pt,tn=Ci(pt,["tab"]);return Object.assign(Object.assign({key:String(Qe)},tn),{label:$t})}return null});return Do(Ae)}var Bi=ee(14747),zn=ee(67968),Cn=ee(45503),mr=ee(67771),ha=pe=>{const{componentCls:Oe,motionDurationSlow:Ae}=pe;return[{[Oe]:{[`${Oe}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${Ae}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${Ae}`}}}}},[(0,mr.oN)(pe,"slide-up"),(0,mr.oN)(pe,"slide-down")]]};const mi=pe=>{const{componentCls:Oe,tabsCardPadding:Ae,cardBg:Ke,cardGutter:Qe,colorBorderSecondary:at,itemSelectedColor:pt}=pe;return{[`${Oe}-card`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab`]:{margin:0,padding:Ae,background:Ke,border:`${pe.lineWidth}px ${pe.lineType} ${at}`,transition:`all ${pe.motionDurationSlow} ${pe.motionEaseInOut}`},[`${Oe}-tab-active`]:{color:pt,background:pe.colorBgContainer},[`${Oe}-ink-bar`]:{visibility:"hidden"}},[`&${Oe}-top, &${Oe}-bottom`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab + ${Oe}-tab`]:{marginLeft:{_skip_check_:!0,value:`${Qe}px`}}}},[`&${Oe}-top`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab`]:{borderRadius:`${pe.borderRadiusLG}px ${pe.borderRadiusLG}px 0 0`},[`${Oe}-tab-active`]:{borderBottomColor:pe.colorBgContainer}}},[`&${Oe}-bottom`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab`]:{borderRadius:`0 0 ${pe.borderRadiusLG}px ${pe.borderRadiusLG}px`},[`${Oe}-tab-active`]:{borderTopColor:pe.colorBgContainer}}},[`&${Oe}-left, &${Oe}-right`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab + ${Oe}-tab`]:{marginTop:`${Qe}px`}}},[`&${Oe}-left`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab`]:{borderRadius:{_skip_check_:!0,value:`${pe.borderRadiusLG}px 0 0 ${pe.borderRadiusLG}px`}},[`${Oe}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:pe.colorBgContainer}}}},[`&${Oe}-right`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${pe.borderRadiusLG}px ${pe.borderRadiusLG}px 0`}},[`${Oe}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:pe.colorBgContainer}}}}}}},xi=pe=>{const{componentCls:Oe,itemHoverColor:Ae,dropdownEdgeChildVerticalPadding:Ke}=pe;return{[`${Oe}-dropdown`]:Object.assign(Object.assign({},(0,Bi.Wf)(pe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:pe.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Oe}-dropdown-menu`]:{maxHeight:pe.tabsDropdownHeight,margin:0,padding:`${Ke}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:pe.colorBgContainer,backgroundClip:"padding-box",borderRadius:pe.borderRadiusLG,outline:"none",boxShadow:pe.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Bi.vS),{display:"flex",alignItems:"center",minWidth:pe.tabsDropdownWidth,margin:0,padding:`${pe.paddingXXS}px ${pe.paddingSM}px`,color:pe.colorText,fontWeight:"normal",fontSize:pe.fontSize,lineHeight:pe.lineHeight,cursor:"pointer",transition:`all ${pe.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:pe.marginSM},color:pe.colorTextDescription,fontSize:pe.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:Ae}},"&:hover":{background:pe.controlItemBgHover},"&-disabled":{"&, &:hover":{color:pe.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Ui=pe=>{const{componentCls:Oe,margin:Ae,colorBorderSecondary:Ke,horizontalMargin:Qe,verticalItemPadding:at,verticalItemMargin:pt}=pe;return{[`${Oe}-top, ${Oe}-bottom`]:{flexDirection:"column",[`> ${Oe}-nav, > div > ${Oe}-nav`]:{margin:Qe,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${pe.lineWidth}px ${pe.lineType} ${Ke}`,content:"''"},[`${Oe}-ink-bar`]:{height:pe.lineWidthBold,"&-animated":{transition:`width ${pe.motionDurationSlow}, left ${pe.motionDurationSlow},
|
|
|
right ${pe.motionDurationSlow}`}},[`${Oe}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:pe.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:pe.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:pe.boxShadowTabsOverflowRight},[`&${Oe}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Oe}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Oe}-top`]:{[`> ${Oe}-nav,
|
|
|
> div > ${Oe}-nav`]:{"&::before":{bottom:0},[`${Oe}-ink-bar`]:{bottom:0}}},[`${Oe}-bottom`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{order:1,marginTop:`${Ae}px`,marginBottom:0,"&::before":{top:0},[`${Oe}-ink-bar`]:{top:0}},[`> ${Oe}-content-holder, > div > ${Oe}-content-holder`]:{order:0}},[`${Oe}-left, ${Oe}-right`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{flexDirection:"column",minWidth:pe.controlHeight*1.25,[`${Oe}-tab`]:{padding:at,textAlign:"center"},[`${Oe}-tab + ${Oe}-tab`]:{margin:pt},[`${Oe}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:pe.controlHeight},"&::before":{top:0,boxShadow:pe.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:pe.boxShadowTabsOverflowBottom},[`&${Oe}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Oe}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Oe}-ink-bar`]:{width:pe.lineWidthBold,"&-animated":{transition:`height ${pe.motionDurationSlow}, top ${pe.motionDurationSlow}`}},[`${Oe}-nav-list, ${Oe}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Oe}-left`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Oe}-content-holder, > div > ${Oe}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${pe.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${pe.lineWidth}px ${pe.lineType} ${pe.colorBorder}`},[`> ${Oe}-content > ${Oe}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:pe.paddingLG}}}},[`${Oe}-right`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{order:1,[`${Oe}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Oe}-content-holder, > div > ${Oe}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-pe.lineWidth},borderRight:{_skip_check_:!0,value:`${pe.lineWidth}px ${pe.lineType} ${pe.colorBorder}`},[`> ${Oe}-content > ${Oe}-tabpane`]:{paddingRight:{_skip_check_:!0,value:pe.paddingLG}}}}}},di=pe=>{const{componentCls:Oe,cardPaddingSM:Ae,cardPaddingLG:Ke,horizontalItemPaddingSM:Qe,horizontalItemPaddingLG:at}=pe;return{[Oe]:{"&-small":{[`> ${Oe}-nav`]:{[`${Oe}-tab`]:{padding:Qe,fontSize:pe.titleFontSizeSM}}},"&-large":{[`> ${Oe}-nav`]:{[`${Oe}-tab`]:{padding:at,fontSize:pe.titleFontSizeLG}}}},[`${Oe}-card`]:{[`&${Oe}-small`]:{[`> ${Oe}-nav`]:{[`${Oe}-tab`]:{padding:Ae}},[`&${Oe}-bottom`]:{[`> ${Oe}-nav ${Oe}-tab`]:{borderRadius:`0 0 ${pe.borderRadius}px ${pe.borderRadius}px`}},[`&${Oe}-top`]:{[`> ${Oe}-nav ${Oe}-tab`]:{borderRadius:`${pe.borderRadius}px ${pe.borderRadius}px 0 0`}},[`&${Oe}-right`]:{[`> ${Oe}-nav ${Oe}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${pe.borderRadius}px ${pe.borderRadius}px 0`}}},[`&${Oe}-left`]:{[`> ${Oe}-nav ${Oe}-tab`]:{borderRadius:{_skip_check_:!0,value:`${pe.borderRadius}px 0 0 ${pe.borderRadius}px`}}}},[`&${Oe}-large`]:{[`> ${Oe}-nav`]:{[`${Oe}-tab`]:{padding:Ke}}}}}},Mi=pe=>{const{componentCls:Oe,itemActiveColor:Ae,itemHoverColor:Ke,iconCls:Qe,tabsHorizontalItemMargin:at,horizontalItemPadding:pt,itemSelectedColor:$t,itemColor:tn}=pe,Yn=`${Oe}-tab`;return{[Yn]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:pt,fontSize:pe.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:tn,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:Ae}},(0,Bi.Qy)(pe)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-pe.marginXXS},marginLeft:{_skip_check_:!0,value:pe.marginXS},color:pe.colorTextDescription,fontSize:pe.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${pe.motionDurationSlow}`,"&:hover":{color:pe.colorTextHeading}},"&:hover":{color:Ke},[`&${Yn}-active ${Yn}-btn`]:{color:$t,textShadow:pe.tabsActiveTextShadow},[`&${Yn}-disabled`]:{color:pe.colorTextDisabled,cursor:"not-allowed"},[`&${Yn}-disabled ${Yn}-btn, &${Yn}-disabled ${Oe}-remove`]:{"&:focus, &:active":{color:pe.colorTextDisabled}},[`& ${Yn}-remove ${Qe}`]:{margin:0},[Qe]:{marginRight:{_skip_check_:!0,value:pe.marginSM}}},[`${Yn} + ${Yn}`]:{margin:{_skip_check_:!0,value:at}}}},Ao=pe=>{const{componentCls:Oe,tabsHorizontalItemMarginRTL:Ae,iconCls:Ke,cardGutter:Qe}=pe;return{[`${Oe}-rtl`]:{direction:"rtl",[`${Oe}-nav`]:{[`${Oe}-tab`]:{margin:{_skip_check_:!0,value:Ae},[`${Oe}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Ke]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${pe.marginSM}px`}},[`${Oe}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${pe.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${pe.marginXXS}px`},[Ke]:{margin:0}}}},[`&${Oe}-left`]:{[`> ${Oe}-nav`]:{order:1},[`> ${Oe}-content-holder`]:{order:0}},[`&${Oe}-right`]:{[`> ${Oe}-nav`]:{order:0},[`> ${Oe}-content-holder`]:{order:1}},[`&${Oe}-card${Oe}-top, &${Oe}-card${Oe}-bottom`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-tab + ${Oe}-tab`]:{marginRight:{_skip_check_:!0,value:Qe},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Oe}-dropdown-rtl`]:{direction:"rtl"},[`${Oe}-menu-item`]:{[`${Oe}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Wo=pe=>{const{componentCls:Oe,tabsCardPadding:Ae,cardHeight:Ke,cardGutter:Qe,itemHoverColor:at,itemActiveColor:pt,colorBorderSecondary:$t}=pe;return{[Oe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Bi.Wf)(pe)),{display:"flex",[`> ${Oe}-nav, > div > ${Oe}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Oe}-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 ${pe.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Oe}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${pe.motionDurationSlow}`},[`${Oe}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Oe}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Oe}-nav-more`]:{position:"relative",padding:Ae,background:"transparent",border:0,color:pe.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:pe.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Oe}-nav-add`]:Object.assign({minWidth:Ke,marginLeft:{_skip_check_:!0,value:Qe},padding:`0 ${pe.paddingXS}px`,background:"transparent",border:`${pe.lineWidth}px ${pe.lineType} ${$t}`,borderRadius:`${pe.borderRadiusLG}px ${pe.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:pe.colorText,transition:`all ${pe.motionDurationSlow} ${pe.motionEaseInOut}`,"&:hover":{color:at},"&:active, &:focus:not(:focus-visible)":{color:pt}},(0,Bi.Qy)(pe))},[`${Oe}-extra-content`]:{flex:"none"},[`${Oe}-ink-bar`]:{position:"absolute",background:pe.inkBarColor,pointerEvents:"none"}}),Mi(pe)),{[`${Oe}-content`]:{position:"relative",width:"100%"},[`${Oe}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Oe}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Oe}-centered`]:{[`> ${Oe}-nav, > div > ${Oe}-nav`]:{[`${Oe}-nav-wrap`]:{[`&:not([class*='${Oe}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var $o=(0,zn.Z)("Tabs",pe=>{const Oe=(0,Cn.TS)(pe,{tabsCardPadding:pe.cardPadding||`${(pe.cardHeight-Math.round(pe.fontSize*pe.lineHeight))/2-pe.lineWidth}px ${pe.padding}px`,dropdownEdgeChildVerticalPadding:pe.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${pe.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${pe.horizontalItemGutter}px`});return[di(Oe),Ao(Oe),Ui(Oe),xi(Oe),mi(Oe),Wo(Oe),ha(Oe)]},pe=>{const Oe=pe.controlHeightLG;return{zIndexPopup:pe.zIndexPopupBase+50,cardBg:pe.colorFillAlter,cardHeight:Oe,cardPadding:"",cardPaddingSM:`${pe.paddingXXS*1.5}px ${pe.padding}px`,cardPaddingLG:`${pe.paddingXS}px ${pe.padding}px ${pe.paddingXXS*1.5}px`,titleFontSize:pe.fontSize,titleFontSizeLG:pe.fontSizeLG,titleFontSizeSM:pe.fontSize,inkBarColor:pe.colorPrimary,horizontalMargin:`0 0 ${pe.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${pe.paddingSM}px 0`,horizontalItemPaddingSM:`${pe.paddingXS}px 0`,horizontalItemPaddingLG:`${pe.padding}px 0`,verticalItemPadding:`${pe.paddingXS}px ${pe.paddingLG}px`,verticalItemMargin:`${pe.margin}px 0 0 0`,itemColor:pe.colorText,itemSelectedColor:pe.colorPrimary,itemHoverColor:pe.colorPrimaryHover,itemActiveColor:pe.colorPrimaryActive,cardGutter:pe.marginXXS/2}}),He=function(pe,Oe){var Ae={};for(var Ke in pe)Object.prototype.hasOwnProperty.call(pe,Ke)&&Oe.indexOf(Ke)<0&&(Ae[Ke]=pe[Ke]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ke=Object.getOwnPropertySymbols(pe);Qe<Ke.length;Qe++)Oe.indexOf(Ke[Qe])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ke[Qe])&&(Ae[Ke[Qe]]=pe[Ke[Qe]]);return Ae};const tt=pe=>{const{type:Oe,className:Ae,rootClassName:Ke,size:Qe,onEdit:at,hideAdd:pt,centered:$t,addIcon:tn,popupClassName:Yn,children:fr,items:Cr,animated:Dn,style:qn,indicatorSize:Xn}=pe,Ar=He(pe,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:Or,moreIcon:Kr=ue.createElement(fe.Z,null)}=Ar,{direction:Tr,tabs:_r,getPrefixCls:Zr,getPopupContainer:qr}=ue.useContext(Yo.E_),Dt=Zr("tabs",Or),[Pt,Kn]=$o(Dt);let Bn;Oe==="editable-card"&&(Bn={onEdit:(Jt,yn)=>{let{key:lr,event:Xr}=yn;at==null||at(Jt==="add"?Xr:lr,Jt)},removeIcon:ue.createElement(ne.Z,null),addIcon:tn||ue.createElement(De.Z,null),showAdd:pt!==!0});const xr=Zr(),zr=Pi(Cr,fr),Lr=bl(Dt,Dn),ca=(0,uo.Z)(Qe),un=Object.assign(Object.assign({},_r==null?void 0:_r.style),qn);return Pt(ue.createElement(vl,Object.assign({direction:Tr,getPopupContainer:qr,moreTransitionName:`${xr}-slide-up`},Ar,{items:zr,className:we()({[`${Dt}-${ca}`]:ca,[`${Dt}-card`]:["card","editable-card"].includes(Oe),[`${Dt}-editable-card`]:Oe==="editable-card",[`${Dt}-centered`]:$t},_r==null?void 0:_r.className,Ae,Ke,Kn),popupClassName:we()(Yn,Kn),style:un,editable:Bn,moreIcon:Kr,prefixCls:Dt,animated:Lr,indicatorSize:Xn!=null?Xn:_r==null?void 0:_r.indicatorSize})))};tt.TabPane=Qo;var Nt=tt},48305:function(Hn,ln,ee){"use strict";ee.d(ln,{default:function(){return Ma}});var ne=ee(94184),fe=ee.n(ne),De=ee(87462),qe=ee(74902),we=ee(1413),ke=ee(97685),de=ee(45987),Se=ee(71002),me=ee(4942),Pe=ee(21770),rt=ee(80334),ue=ee(67294),Ue=ee(8410),mt=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var _e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(_e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(_e==null?void 0:_e.substr(0,4))},ot=ee(15105),vt=ee(42550),Ee=function(yt){var Ht=yt.className,je=yt.customizeIcon,Yt=yt.customizeIconProps,fn=yt.onMouseDown,Rn=yt.onClick,Bt=yt.children,Qt;return typeof je=="function"?Qt=je(Yt):Qt=je,ue.createElement("span",{className:Ht,onMouseDown:function(Vn){Vn.preventDefault(),fn&&fn(Vn)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Rn,"aria-hidden":!0},Qt!==void 0?Qt:ue.createElement("span",{className:fe()(Ht.split(/\s+/).map(function(rn){return"".concat(rn,"-icon")}))},Bt))},wt=Ee;function Tt(_e,yt,Ht,je,Yt){var fn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Rn=arguments.length>6?arguments[6]:void 0,Bt=arguments.length>7?arguments[7]:void 0,Qt=ue.useMemo(function(){if((0,Se.Z)(je)==="object")return je.clearIcon;if(Yt)return Yt},[je,Yt]),rn=ue.useMemo(function(){return!!(!fn&&je&&(Ht.length||Rn)&&!(Bt==="combobox"&&Rn===""))},[je,fn,Ht.length,Rn,Bt]);return{allowClear:rn,clearIcon:ue.createElement(wt,{className:"".concat(_e,"-clear"),onMouseDown:yt,customizeIcon:Qt},"\xD7")}}var $e=ue.createContext(null);function ut(){return ue.useContext($e)}function ye(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,yt=ue.useState(!1),Ht=(0,ke.Z)(yt,2),je=Ht[0],Yt=Ht[1],fn=ue.useRef(null),Rn=function(){window.clearTimeout(fn.current)};ue.useEffect(function(){return Rn},[]);var Bt=function(rn,Vn){Rn(),fn.current=window.setTimeout(function(){Yt(rn),Vn&&Vn()},_e)};return[je,Bt,Rn]}function ce(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,yt=ue.useRef(null),Ht=ue.useRef(null);ue.useEffect(function(){return function(){window.clearTimeout(Ht.current)}},[]);function je(Yt){(Yt||yt.current===null)&&(yt.current=Yt),window.clearTimeout(Ht.current),Ht.current=window.setTimeout(function(){yt.current=null},_e)}return[function(){return yt.current},je]}function Xe(_e,yt,Ht,je){var Yt=ue.useRef(null);Yt.current={open:yt,triggerOpen:Ht,customizedTrigger:je},ue.useEffect(function(){function fn(Rn){var Bt;if(!((Bt=Yt.current)!==null&&Bt!==void 0&&Bt.customizedTrigger)){var Qt=Rn.target;Qt.shadowRoot&&Rn.composed&&(Qt=Rn.composedPath()[0]||Qt),Yt.current.open&&_e().filter(function(rn){return rn}).every(function(rn){return!rn.contains(Qt)&&rn!==Qt})&&Yt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",fn),function(){return window.removeEventListener("mousedown",fn)}},[])}var et=ee(64217),st=ee(48555);function ft(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Re=ft()?ue.useLayoutEffect:ue.useEffect,Be=function(yt,Ht){var je=ue.useRef(!0);Re(function(){return yt(je.current)},Ht),Re(function(){return je.current=!1,function(){je.current=!0}},[])},gt=function(yt,Ht){Be(function(je){if(!je)return yt()},Ht)},ze=Be,ct=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],nt=void 0;function Ot(_e,yt){var Ht=_e.prefixCls,je=_e.invalidate,Yt=_e.item,fn=_e.renderItem,Rn=_e.responsive,Bt=_e.responsiveDisabled,Qt=_e.registerSize,rn=_e.itemKey,Vn=_e.className,$n=_e.style,br=_e.children,sr=_e.display,kr=_e.order,Hr=_e.component,ta=Hr===void 0?"div":Hr,Rr=(0,de.Z)(_e,ct),Pa=Rn&&!sr;function sa(fa){Qt(rn,fa)}ue.useEffect(function(){return function(){sa(null)}},[]);var Da=fn&&Yt!==nt?fn(Yt):br,Ga;je||(Ga={opacity:Pa?0:1,height:Pa?0:nt,overflowY:Pa?"hidden":nt,order:Rn?kr:nt,pointerEvents:Pa?"none":nt,position:Pa?"absolute":nt});var la={};Pa&&(la["aria-hidden"]=!0);var ga=ue.createElement(ta,(0,De.Z)({className:fe()(!je&&Ht,Vn),style:(0,we.Z)((0,we.Z)({},Ga),$n)},la,Rr,{ref:yt}),Da);return Rn&&(ga=ue.createElement(st.Z,{onResize:function(Ba){var Ea=Ba.offsetWidth;sa(Ea)},disabled:Bt},ga)),ga}var Rt=ue.forwardRef(Ot);Rt.displayName="Item";var an=Rt;function ht(_e){var yt=ue.useRef();yt.current=_e;var Ht=ue.useCallback(function(){for(var je,Yt=arguments.length,fn=new Array(Yt),Rn=0;Rn<Yt;Rn++)fn[Rn]=arguments[Rn];return(je=yt.current)===null||je===void 0?void 0:je.call.apply(je,[yt].concat(fn))},[]);return Ht}var Ne=ee(73935),At=function(yt){return+setTimeout(yt,16)},An=function(yt){return clearTimeout(yt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(At=function(yt){return window.requestAnimationFrame(yt)},An=function(yt){return window.cancelAnimationFrame(yt)});var jt=0,Mt=new Map;function Kt(_e){Mt.delete(_e)}var sn=function(yt){var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;jt+=1;var je=jt;function Yt(fn){if(fn===0)Kt(je),yt();else{var Rn=At(function(){Yt(fn-1)});Mt.set(je,Rn)}}return Yt(Ht),je};sn.cancel=function(_e){var yt=Mt.get(_e);return Kt(yt),An(yt)};var wn=sn;function vn(_e){if(typeof MessageChannel=="undefined")wn(_e);else{var yt=new MessageChannel;yt.port1.onmessage=function(){return _e()},yt.port2.postMessage(void 0)}}function cn(){var _e=ue.useRef(null),yt=function(je){_e.current||(_e.current=[],vn(function(){(0,Ne.unstable_batchedUpdates)(function(){_e.current.forEach(function(Yt){Yt()}),_e.current=null})})),_e.current.push(je)};return yt}function Nn(_e,yt){var Ht=ue.useState(yt),je=(0,ke.Z)(Ht,2),Yt=je[0],fn=je[1],Rn=ht(function(Bt){_e(function(){fn(Bt)})});return[Yt,Rn]}var dr=ue.createContext(null),En=["component"],Ge=["className"],ve=["className"],he=function(yt,Ht){var je=ue.useContext(dr);if(!je){var Yt=yt.component,fn=Yt===void 0?"div":Yt,Rn=(0,de.Z)(yt,En);return ue.createElement(fn,(0,De.Z)({},Rn,{ref:Ht}))}var Bt=je.className,Qt=(0,de.Z)(je,Ge),rn=yt.className,Vn=(0,de.Z)(yt,ve);return ue.createElement(dr.Provider,{value:null},ue.createElement(an,(0,De.Z)({ref:Ht,className:fe()(Bt,rn)},Qt,Vn)))},be=ue.forwardRef(he);be.displayName="RawItem";var ge=be,se=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Ye="responsive",xt="invalidate";function pn(_e){return"+ ".concat(_e.length," ...")}function on(_e,yt){var Ht=_e.prefixCls,je=Ht===void 0?"rc-overflow":Ht,Yt=_e.data,fn=Yt===void 0?[]:Yt,Rn=_e.renderItem,Bt=_e.renderRawItem,Qt=_e.itemKey,rn=_e.itemWidth,Vn=rn===void 0?10:rn,$n=_e.ssr,br=_e.style,sr=_e.className,kr=_e.maxCount,Hr=_e.renderRest,ta=_e.renderRawRest,Rr=_e.suffix,Pa=_e.component,sa=Pa===void 0?"div":Pa,Da=_e.itemComponent,Ga=_e.onVisibleChange,la=(0,de.Z)(_e,se),ga=$n==="full",fa=cn(),Ba=Nn(fa,null),Ea=(0,ke.Z)(Ba,2),ua=Ea[0],Xa=Ea[1],ra=ua||0,Ya=Nn(fa,new Map),Ha=(0,ke.Z)(Ya,2),Ua=Ha[0],La=Ha[1],si=Nn(fa,0),gi=(0,ke.Z)(si,2),zo=gi[0],No=gi[1],yo=Nn(fa,0),ll=(0,ke.Z)(yo,2),Lo=ll[0],kl=ll[1],Pl=Nn(fa,0),_i=(0,ke.Z)(Pl,2),fi=_i[0],bo=_i[1],Ho=(0,ue.useState)(null),co=(0,ke.Z)(Ho,2),wo=co[0],oo=co[1],_o=(0,ue.useState)(null),sl=(0,ke.Z)(_o,2),Nl=sl[0],Fl=sl[1],Fo=ue.useMemo(function(){return Nl===null&&ga?Number.MAX_SAFE_INTEGER:Nl||0},[Nl,ua]),to=(0,ue.useState)(!1),tl=(0,ke.Z)(to,2),hl=tl[0],Io=tl[1],Zo="".concat(je,"-item"),Xi=Math.max(zo,Lo),Oi=kr===Ye,nl=fn.length&&Oi,Uo=kr===xt,Bl=nl||typeof kr=="number"&&fn.length>kr,no=(0,ue.useMemo)(function(){var jn=fn;return nl?ua===null&&ga?jn=fn:jn=fn.slice(0,Math.min(fn.length,ra/Vn)):typeof kr=="number"&&(jn=fn.slice(0,kr)),jn},[fn,Vn,ua,kr,nl]),Ja=(0,ue.useMemo)(function(){return nl?fn.slice(Fo+1):fn.slice(no.length)},[fn,no,nl,Fo]),Di=(0,ue.useCallback)(function(jn,Un){var Sr;return typeof Qt=="function"?Qt(jn):(Sr=Qt&&(jn==null?void 0:jn[Qt]))!==null&&Sr!==void 0?Sr:Un},[Qt]),Ri=(0,ue.useCallback)(Rn||function(jn){return jn},[Rn]);function ya(jn,Un,Sr){Nl===jn&&(Un===void 0||Un===wo)||(Fl(jn),Sr||(Io(jn<fn.length-1),Ga==null||Ga(jn)),Un!==void 0&&oo(Un))}function Qa(jn,Un){Xa(Un.clientWidth)}function Ji(jn,Un){La(function(Sr){var kn=new Map(Sr);return Un===null?kn.delete(jn):kn.set(jn,Un),kn})}function ul(jn,Un){kl(Un),No(Lo)}function Jl(jn,Un){bo(Un)}function ws(jn){return Ua.get(Di(no[jn],jn))}ze(function(){if(ra&&typeof Xi=="number"&&no){var jn=fi,Un=no.length,Sr=Un-1;if(!Un){ya(0,null);return}for(var kn=0;kn<Un;kn+=1){var Vr=ws(kn);if(ga&&(Vr=Vr||0),Vr===void 0){ya(kn-1,void 0,!0);break}if(jn+=Vr,Sr===0&&jn<=ra||kn===Sr-1&&jn+ws(Sr)<=ra){ya(Sr,null);break}else if(jn+Xi>ra){ya(kn-1,jn-Vr-fi+Lo);break}}Rr&&ws(0)+fi>ra&&oo(null)}},[ra,Ua,Lo,fi,Di,no]);var Te=hl&&!!Ja.length,Ze={};wo!==null&&nl&&(Ze={position:"absolute",left:wo,top:0});var Et={prefixCls:Zo,responsive:nl,component:Da,invalidate:Uo},Lt=Bt?function(jn,Un){var Sr=Di(jn,Un);return ue.createElement(dr.Provider,{key:Sr,value:(0,we.Z)((0,we.Z)({},Et),{},{order:Un,item:jn,itemKey:Sr,registerSize:Ji,display:Un<=Fo})},Bt(jn,Un))}:function(jn,Un){var Sr=Di(jn,Un);return ue.createElement(an,(0,De.Z)({},Et,{order:Un,key:Sr,item:jn,renderItem:Ri,itemKey:Sr,registerSize:Ji,display:Un<=Fo}))},Xt,Sn={order:Te?Fo:Number.MAX_SAFE_INTEGER,className:"".concat(Zo,"-rest"),registerSize:ul,display:Te};if(ta)ta&&(Xt=ue.createElement(dr.Provider,{value:(0,we.Z)((0,we.Z)({},Et),Sn)},ta(Ja)));else{var nr=Hr||pn;Xt=ue.createElement(an,(0,De.Z)({},Et,Sn),typeof nr=="function"?nr(Ja):nr)}var wr=ue.createElement(sa,(0,De.Z)({className:fe()(!Uo&&je,sr),style:br,ref:yt},la),no.map(Lt),Bl?Xt:null,Rr&&ue.createElement(an,(0,De.Z)({},Et,{responsive:Oi,responsiveDisabled:!nl,order:Fo,className:"".concat(Zo,"-suffix"),registerSize:Jl,display:!0,style:Ze}),Rr));return Oi&&(wr=ue.createElement(st.Z,{onResize:Qa,disabled:!nl},wr)),wr}var In=ue.forwardRef(on);In.displayName="Overflow",In.Item=ge,In.RESPONSIVE=Ye,In.INVALIDATE=xt;var Qn=In,_n=Qn,Vt=function(yt,Ht){var je,Yt,fn=yt.prefixCls,Rn=yt.id,Bt=yt.inputElement,Qt=yt.disabled,rn=yt.tabIndex,Vn=yt.autoFocus,$n=yt.autoComplete,br=yt.editable,sr=yt.activeDescendantId,kr=yt.value,Hr=yt.maxLength,ta=yt.onKeyDown,Rr=yt.onMouseDown,Pa=yt.onChange,sa=yt.onPaste,Da=yt.onCompositionStart,Ga=yt.onCompositionEnd,la=yt.open,ga=yt.attrs,fa=Bt||ue.createElement("input",null),Ba=fa,Ea=Ba.ref,ua=Ba.props,Xa=ua.onKeyDown,ra=ua.onChange,Ya=ua.onMouseDown,Ha=ua.onCompositionStart,Ua=ua.onCompositionEnd,La=ua.style;return(0,rt.Kp)(!("maxLength"in fa.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),fa=ue.cloneElement(fa,(0,we.Z)((0,we.Z)((0,we.Z)({type:"search"},ua),{},{id:Rn,ref:(0,vt.sQ)(Ht,Ea),disabled:Qt,tabIndex:rn,autoComplete:$n||"off",autoFocus:Vn,className:fe()("".concat(fn,"-selection-search-input"),(je=fa)===null||je===void 0||(Yt=je.props)===null||Yt===void 0?void 0:Yt.className),role:"combobox","aria-label":"Search","aria-expanded":la||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Rn,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Rn,"_list"),"aria-activedescendant":la?sr:void 0},ga),{},{value:br?kr:"",maxLength:Hr,readOnly:!br,unselectable:br?null:"on",style:(0,we.Z)((0,we.Z)({},La),{},{opacity:br?null:0}),onKeyDown:function(gi){ta(gi),Xa&&Xa(gi)},onMouseDown:function(gi){Rr(gi),Ya&&Ya(gi)},onChange:function(gi){Pa(gi),ra&&ra(gi)},onCompositionStart:function(gi){Da(gi),Ha&&Ha(gi)},onCompositionEnd:function(gi){Ga(gi),Ua&&Ua(gi)},onPaste:sa})),fa},gn=ue.forwardRef(Vt);gn.displayName="Input";var Fn=gn;function Tn(_e){return Array.isArray(_e)?_e:_e!==void 0?[_e]:[]}var qt=typeof window!="undefined"&&window.document&&window.document.documentElement,Dr=qt;function Ut(_e){return _e!=null}function nn(_e){return!_e&&_e!==0}function Nr(_e){return["string","number"].includes((0,Se.Z)(_e))}function cr(_e){var yt=void 0;return _e&&(Nr(_e.title)?yt=_e.title.toString():Nr(_e.label)&&(yt=_e.label.toString())),yt}function Fr(_e,yt){Dr?ue.useLayoutEffect(_e,yt):ue.useEffect(_e,yt)}function aa(_e){var yt;return(yt=_e.key)!==null&&yt!==void 0?yt:_e.value}var Jn=function(yt){yt.preventDefault(),yt.stopPropagation()},Ia=function(yt){var Ht=yt.id,je=yt.prefixCls,Yt=yt.values,fn=yt.open,Rn=yt.searchValue,Bt=yt.autoClearSearchValue,Qt=yt.inputRef,rn=yt.placeholder,Vn=yt.disabled,$n=yt.mode,br=yt.showSearch,sr=yt.autoFocus,kr=yt.autoComplete,Hr=yt.activeDescendantId,ta=yt.tabIndex,Rr=yt.removeIcon,Pa=yt.maxTagCount,sa=yt.maxTagTextLength,Da=yt.maxTagPlaceholder,Ga=Da===void 0?function(oo){return"+ ".concat(oo.length," ...")}:Da,la=yt.tagRender,ga=yt.onToggleOpen,fa=yt.onRemove,Ba=yt.onInputChange,Ea=yt.onInputPaste,ua=yt.onInputKeyDown,Xa=yt.onInputMouseDown,ra=yt.onInputCompositionStart,Ya=yt.onInputCompositionEnd,Ha=ue.useRef(null),Ua=(0,ue.useState)(0),La=(0,ke.Z)(Ua,2),si=La[0],gi=La[1],zo=(0,ue.useState)(!1),No=(0,ke.Z)(zo,2),yo=No[0],ll=No[1],Lo="".concat(je,"-selection"),kl=fn||$n==="multiple"&&Bt===!1||$n==="tags"?Rn:"",Pl=$n==="tags"||$n==="multiple"&&Bt===!1||br&&(fn||yo);Fr(function(){gi(Ha.current.scrollWidth)},[kl]);function _i(oo,_o,sl,Nl,Fl){return ue.createElement("span",{className:fe()("".concat(Lo,"-item"),(0,me.Z)({},"".concat(Lo,"-item-disabled"),sl)),title:cr(oo)},ue.createElement("span",{className:"".concat(Lo,"-item-content")},_o),Nl&&ue.createElement(wt,{className:"".concat(Lo,"-item-remove"),onMouseDown:Jn,onClick:Fl,customizeIcon:Rr},"\xD7"))}function fi(oo,_o,sl,Nl,Fl){var Fo=function(tl){Jn(tl),ga(!fn)};return ue.createElement("span",{onMouseDown:Fo},la({label:_o,value:oo,disabled:sl,closable:Nl,onClose:Fl}))}function bo(oo){var _o=oo.disabled,sl=oo.label,Nl=oo.value,Fl=!Vn&&!_o,Fo=sl;if(typeof sa=="number"&&(typeof sl=="string"||typeof sl=="number")){var to=String(Fo);to.length>sa&&(Fo="".concat(to.slice(0,sa),"..."))}var tl=function(Io){Io&&Io.stopPropagation(),fa(oo)};return typeof la=="function"?fi(Nl,Fo,_o,Fl,tl):_i(oo,Fo,_o,Fl,tl)}function Ho(oo){var _o=typeof Ga=="function"?Ga(oo):Ga;return _i({title:_o},_o,!1)}var co=ue.createElement("div",{className:"".concat(Lo,"-search"),style:{width:si},onFocus:function(){ll(!0)},onBlur:function(){ll(!1)}},ue.createElement(Fn,{ref:Qt,open:fn,prefixCls:je,id:Ht,inputElement:null,disabled:Vn,autoFocus:sr,autoComplete:kr,editable:Pl,activeDescendantId:Hr,value:kl,onKeyDown:ua,onMouseDown:Xa,onChange:Ba,onPaste:Ea,onCompositionStart:ra,onCompositionEnd:Ya,tabIndex:ta,attrs:(0,et.Z)(yt,!0)}),ue.createElement("span",{ref:Ha,className:"".concat(Lo,"-search-mirror"),"aria-hidden":!0},kl,"\xA0")),wo=ue.createElement(_n,{prefixCls:"".concat(Lo,"-overflow"),data:Yt,renderItem:bo,renderRest:Ho,suffix:co,itemKey:aa,maxCount:Pa});return ue.createElement(ue.Fragment,null,wo,!Yt.length&&!kl&&ue.createElement("span",{className:"".concat(Lo,"-placeholder")},rn))},Ta=Ia,ti=function(yt){var Ht=yt.inputElement,je=yt.prefixCls,Yt=yt.id,fn=yt.inputRef,Rn=yt.disabled,Bt=yt.autoFocus,Qt=yt.autoComplete,rn=yt.activeDescendantId,Vn=yt.mode,$n=yt.open,br=yt.values,sr=yt.placeholder,kr=yt.tabIndex,Hr=yt.showSearch,ta=yt.searchValue,Rr=yt.activeValue,Pa=yt.maxLength,sa=yt.onInputKeyDown,Da=yt.onInputMouseDown,Ga=yt.onInputChange,la=yt.onInputPaste,ga=yt.onInputCompositionStart,fa=yt.onInputCompositionEnd,Ba=yt.title,Ea=ue.useState(!1),ua=(0,ke.Z)(Ea,2),Xa=ua[0],ra=ua[1],Ya=Vn==="combobox",Ha=Ya||Hr,Ua=br[0],La=ta||"";Ya&&Rr&&!Xa&&(La=Rr),ue.useEffect(function(){Ya&&ra(!1)},[Ya,Rr]);var si=Vn!=="combobox"&&!$n&&!Hr?!1:!!La,gi=Ba===void 0?cr(Ua):Ba,zo=function(){if(Ua)return null;var yo=si?{visibility:"hidden"}:void 0;return ue.createElement("span",{className:"".concat(je,"-selection-placeholder"),style:yo},sr)};return ue.createElement(ue.Fragment,null,ue.createElement("span",{className:"".concat(je,"-selection-search")},ue.createElement(Fn,{ref:fn,prefixCls:je,id:Yt,open:$n,inputElement:Ht,disabled:Rn,autoFocus:Bt,autoComplete:Qt,editable:Ha,activeDescendantId:rn,value:La,onKeyDown:sa,onMouseDown:Da,onChange:function(yo){ra(!0),Ga(yo)},onPaste:la,onCompositionStart:ga,onCompositionEnd:fa,tabIndex:kr,attrs:(0,et.Z)(yt,!0),maxLength:Ya?Pa:void 0})),!Ya&&Ua?ue.createElement("span",{className:"".concat(je,"-selection-item"),title:gi,style:si?{visibility:"hidden"}:void 0},Ua.label):null,zo())},Jr=ti;function ja(_e){return![ot.Z.ESC,ot.Z.SHIFT,ot.Z.BACKSPACE,ot.Z.TAB,ot.Z.WIN_KEY,ot.Z.ALT,ot.Z.META,ot.Z.WIN_KEY_RIGHT,ot.Z.CTRL,ot.Z.SEMICOLON,ot.Z.EQUALS,ot.Z.CAPS_LOCK,ot.Z.CONTEXT_MENU,ot.Z.F1,ot.Z.F2,ot.Z.F3,ot.Z.F4,ot.Z.F5,ot.Z.F6,ot.Z.F7,ot.Z.F8,ot.Z.F9,ot.Z.F10,ot.Z.F11,ot.Z.F12].includes(_e)}var Si=function(yt,Ht){var je=(0,ue.useRef)(null),Yt=(0,ue.useRef)(!1),fn=yt.prefixCls,Rn=yt.open,Bt=yt.mode,Qt=yt.showSearch,rn=yt.tokenWithEnter,Vn=yt.autoClearSearchValue,$n=yt.onSearch,br=yt.onSearchSubmit,sr=yt.onToggleOpen,kr=yt.onInputKeyDown,Hr=yt.domRef;ue.useImperativeHandle(Ht,function(){return{focus:function(){je.current.focus()},blur:function(){je.current.blur()}}});var ta=ce(0),Rr=(0,ke.Z)(ta,2),Pa=Rr[0],sa=Rr[1],Da=function(La){var si=La.which;(si===ot.Z.UP||si===ot.Z.DOWN)&&La.preventDefault(),kr&&kr(La),si===ot.Z.ENTER&&Bt==="tags"&&!Yt.current&&!Rn&&(br==null||br(La.target.value)),ja(si)&&sr(!0)},Ga=function(){sa(!0)},la=(0,ue.useRef)(null),ga=function(La){$n(La,!0,Yt.current)!==!1&&sr(!0)},fa=function(){Yt.current=!0},Ba=function(La){Yt.current=!1,Bt!=="combobox"&&ga(La.target.value)},Ea=function(La){var si=La.target.value;if(rn&&la.current&&/[\r\n]/.test(la.current)){var gi=la.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");si=si.replace(gi,la.current)}la.current=null,ga(si)},ua=function(La){var si=La.clipboardData,gi=si.getData("text");la.current=gi},Xa=function(La){var si=La.target;if(si!==je.current){var gi=document.body.style.msTouchAction!==void 0;gi?setTimeout(function(){je.current.focus()}):je.current.focus()}},ra=function(La){var si=Pa();La.target!==je.current&&!si&&Bt!=="combobox"&&La.preventDefault(),(Bt!=="combobox"&&(!Qt||!si)||!Rn)&&(Rn&&Vn!==!1&&$n("",!0,!1),sr())},Ya={inputRef:je,onInputKeyDown:Da,onInputMouseDown:Ga,onInputChange:Ea,onInputPaste:ua,onInputCompositionStart:fa,onInputCompositionEnd:Ba},Ha=Bt==="multiple"||Bt==="tags"?ue.createElement(Ta,(0,De.Z)({},yt,Ya)):ue.createElement(Jr,(0,De.Z)({},yt,Ya));return ue.createElement("div",{ref:Hr,className:"".concat(fn,"-selector"),onClick:Xa,onMouseDown:ra},Ha)},$a=ue.forwardRef(Si);$a.displayName="Selector";var ji=$a,Ni=ee(62709),Ln=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Pn=function(yt){var Ht=yt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ht,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ht,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ht,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ht,adjustY:1},htmlRegion:"scroll"}}},rr=function(yt,Ht){var je=yt.prefixCls,Yt=yt.disabled,fn=yt.visible,Rn=yt.children,Bt=yt.popupElement,Qt=yt.animation,rn=yt.transitionName,Vn=yt.dropdownStyle,$n=yt.dropdownClassName,br=yt.direction,sr=br===void 0?"ltr":br,kr=yt.placement,Hr=yt.builtinPlacements,ta=yt.dropdownMatchSelectWidth,Rr=yt.dropdownRender,Pa=yt.dropdownAlign,sa=yt.getPopupContainer,Da=yt.empty,Ga=yt.getTriggerDOMNode,la=yt.onPopupVisibleChange,ga=yt.onPopupMouseEnter,fa=(0,de.Z)(yt,Ln),Ba="".concat(je,"-dropdown"),Ea=Bt;Rr&&(Ea=Rr(Bt));var ua=ue.useMemo(function(){return Hr||Pn(ta)},[Hr,ta]),Xa=Qt?"".concat(Ba,"-").concat(Qt):rn,ra=typeof ta=="number",Ya=ue.useMemo(function(){return ra?null:ta===!1?"minWidth":"width"},[ta,ra]),Ha=Vn;ra&&(Ha=(0,we.Z)((0,we.Z)({},Ha),{},{width:ta}));var Ua=ue.useRef(null);return ue.useImperativeHandle(Ht,function(){return{getPopupElement:function(){return Ua.current}}}),ue.createElement(Ni.Z,(0,De.Z)({},fa,{showAction:la?["click"]:[],hideAction:la?["click"]:[],popupPlacement:kr||(sr==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ua,prefixCls:Ba,popupTransitionName:Xa,popup:ue.createElement("div",{ref:Ua,onMouseEnter:ga},Ea),stretch:Ya,popupAlign:Pa,popupVisible:fn,getPopupContainer:sa,popupClassName:fe()($n,(0,me.Z)({},"".concat(Ba,"-empty"),Da)),popupStyle:Ha,getTriggerDOMNode:Ga,onPopupVisibleChange:la}),Rn)},or=ue.forwardRef(rr);or.displayName="SelectTrigger";var $r=or,Br=ee(84506);function jr(_e,yt){var Ht=_e.key,je;return"value"in _e&&(je=_e.value),Ht!=null?Ht:je!==void 0?je:"rc-index-key-".concat(yt)}function hn(_e,yt){var Ht=_e||{},je=Ht.label,Yt=Ht.value,fn=Ht.options,Rn=Ht.groupLabel,Bt=je||(yt?"children":"label");return{label:Bt,value:Yt||"value",options:fn||"options",groupLabel:Rn||Bt}}function It(_e){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ht=yt.fieldNames,je=yt.childrenAsData,Yt=[],fn=hn(Ht,!1),Rn=fn.label,Bt=fn.value,Qt=fn.options,rn=fn.groupLabel;function Vn($n,br){$n.forEach(function(sr){if(br||!(Qt in sr)){var kr=sr[Bt];Yt.push({key:jr(sr,Yt.length),groupOption:br,data:sr,label:sr[Rn],value:kr})}else{var Hr=sr[rn];Hr===void 0&&je&&(Hr=sr.label),Yt.push({key:jr(sr,Yt.length),group:!0,data:sr,label:Hr}),Vn(sr[Qt],!0)}})}return Vn(_e,!1),Yt}function Zt(_e){var yt=(0,we.Z)({},_e);return"props"in yt||Object.defineProperty(yt,"props",{get:function(){return(0,rt.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),yt}}),yt}function Gt(_e,yt){if(!yt||!yt.length)return null;var Ht=!1;function je(fn,Rn){var Bt=(0,Br.Z)(Rn),Qt=Bt[0],rn=Bt.slice(1);if(!Qt)return[fn];var Vn=fn.split(Qt);return Ht=Ht||Vn.length>1,Vn.reduce(function($n,br){return[].concat((0,qe.Z)($n),(0,qe.Z)(je(br,rn)))},[]).filter(function($n){return $n})}var Yt=je(_e,yt);return Ht?Yt:null}var Gn=["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"],kt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function mn(_e){return _e==="tags"||_e==="multiple"}var Zn=ue.forwardRef(function(_e,yt){var Ht,je,Yt=_e.id,fn=_e.prefixCls,Rn=_e.className,Bt=_e.showSearch,Qt=_e.tagRender,rn=_e.direction,Vn=_e.omitDomProps,$n=_e.displayValues,br=_e.onDisplayValuesChange,sr=_e.emptyOptions,kr=_e.notFoundContent,Hr=kr===void 0?"Not Found":kr,ta=_e.onClear,Rr=_e.mode,Pa=_e.disabled,sa=_e.loading,Da=_e.getInputElement,Ga=_e.getRawInputElement,la=_e.open,ga=_e.defaultOpen,fa=_e.onDropdownVisibleChange,Ba=_e.activeValue,Ea=_e.onActiveValueChange,ua=_e.activeDescendantId,Xa=_e.searchValue,ra=_e.autoClearSearchValue,Ya=_e.onSearch,Ha=_e.onSearchSplit,Ua=_e.tokenSeparators,La=_e.allowClear,si=_e.suffixIcon,gi=_e.clearIcon,zo=_e.OptionList,No=_e.animation,yo=_e.transitionName,ll=_e.dropdownStyle,Lo=_e.dropdownClassName,kl=_e.dropdownMatchSelectWidth,Pl=_e.dropdownRender,_i=_e.dropdownAlign,fi=_e.placement,bo=_e.builtinPlacements,Ho=_e.getPopupContainer,co=_e.showAction,wo=co===void 0?[]:co,oo=_e.onFocus,_o=_e.onBlur,sl=_e.onKeyUp,Nl=_e.onKeyDown,Fl=_e.onMouseDown,Fo=(0,de.Z)(_e,Gn),to=mn(Rr),tl=(Bt!==void 0?Bt:to)||Rr==="combobox",hl=(0,we.Z)({},Fo);kt.forEach(function(Jo){delete hl[Jo]}),Vn==null||Vn.forEach(function(Jo){delete hl[Jo]});var Io=ue.useState(!1),Zo=(0,ke.Z)(Io,2),Xi=Zo[0],Oi=Zo[1];ue.useEffect(function(){Oi(mt())},[]);var nl=ue.useRef(null),Uo=ue.useRef(null),Bl=ue.useRef(null),no=ue.useRef(null),Ja=ue.useRef(null),Di=ye(),Ri=(0,ke.Z)(Di,3),ya=Ri[0],Qa=Ri[1],Ji=Ri[2];ue.useImperativeHandle(yt,function(){var Jo,$i;return{focus:(Jo=no.current)===null||Jo===void 0?void 0:Jo.focus,blur:($i=no.current)===null||$i===void 0?void 0:$i.blur,scrollTo:function(Co){var Eo;return(Eo=Ja.current)===null||Eo===void 0?void 0:Eo.scrollTo(Co)}}});var ul=ue.useMemo(function(){var Jo;if(Rr!=="combobox")return Xa;var $i=(Jo=$n[0])===null||Jo===void 0?void 0:Jo.value;return typeof $i=="string"||typeof $i=="number"?String($i):""},[Xa,Rr,$n]),Jl=Rr==="combobox"&&typeof Da=="function"&&Da()||null,ws=typeof Ga=="function"&&Ga(),Te=(0,vt.x1)(Uo,ws==null||(Ht=ws.props)===null||Ht===void 0?void 0:Ht.ref),Ze=ue.useState(!1),Et=(0,ke.Z)(Ze,2),Lt=Et[0],Xt=Et[1];(0,Ue.Z)(function(){Xt(!0)},[]);var Sn=(0,Pe.Z)(!1,{defaultValue:ga,value:la}),nr=(0,ke.Z)(Sn,2),wr=nr[0],jn=nr[1],Un=Lt?wr:!1,Sr=!Hr&&sr;(Pa||Sr&&Un&&Rr==="combobox")&&(Un=!1);var kn=Sr?!1:Un,Vr=ue.useCallback(function(Jo){var $i=Jo!==void 0?Jo:!Un;Pa||(jn($i),Un!==$i&&(fa==null||fa($i)))},[Pa,Un,jn,fa]),xa=ue.useMemo(function(){return(Ua||[]).some(function(Jo){return[`
|
|
|
`,`\r
|
|
|
`].includes(Jo)})},[Ua]),wa=function($i,ki,Co){var Eo=!0,eo=$i;Ea==null||Ea(null);var rs=Co?null:Gt($i,Ua);return Rr!=="combobox"&&rs&&(eo="",Ha==null||Ha(rs),Vr(!1),Eo=!1),Ya&&ul!==eo&&Ya(eo,{source:ki?"typing":"effect"}),Eo},Ra=function($i){!$i||!$i.trim()||Ya($i,{source:"submit"})};ue.useEffect(function(){!Un&&!to&&Rr!=="combobox"&&wa("",!1,!1)},[Un]),ue.useEffect(function(){wr&&Pa&&jn(!1),Pa&&Qa(!1)},[Pa]);var Qr=ce(),li=(0,ke.Z)(Qr,2),qa=li[0],Fi=li[1],vi=function($i){var ki=qa(),Co=$i.which;if(Co===ot.Z.ENTER&&(Rr!=="combobox"&&$i.preventDefault(),Un||Vr(!0)),Fi(!!ul),Co===ot.Z.BACKSPACE&&!ki&&to&&!ul&&$n.length){for(var Eo=(0,qe.Z)($n),eo=null,rs=Eo.length-1;rs>=0;rs-=1){var ro=Eo[rs];if(!ro.disabled){Eo.splice(rs,1),eo=ro;break}}eo&&br(Eo,{type:"remove",values:[eo]})}for(var xl=arguments.length,cs=new Array(xl>1?xl-1:0),es=1;es<xl;es++)cs[es-1]=arguments[es];if(Un&&Ja.current){var au;(au=Ja.current).onKeyDown.apply(au,[$i].concat(cs))}Nl==null||Nl.apply(void 0,[$i].concat(cs))},pi=function($i){for(var ki=arguments.length,Co=new Array(ki>1?ki-1:0),Eo=1;Eo<ki;Eo++)Co[Eo-1]=arguments[Eo];if(Un&&Ja.current){var eo;(eo=Ja.current).onKeyUp.apply(eo,[$i].concat(Co))}sl==null||sl.apply(void 0,[$i].concat(Co))},yi=function($i){var ki=$n.filter(function(Co){return Co!==$i});br(ki,{type:"remove",values:[$i]})},Vi=ue.useRef(!1),Ko=function(){Qa(!0),Pa||(oo&&!Vi.current&&oo.apply(void 0,arguments),wo.includes("focus")&&Vr(!0)),Vi.current=!0},Li=function(){Qa(!1,function(){Vi.current=!1,Vr(!1)}),!Pa&&(ul&&(Rr==="tags"?Ya(ul,{source:"submit"}):Rr==="multiple"&&Ya("",{source:"blur"})),_o&&_o.apply(void 0,arguments))},Za=[];ue.useEffect(function(){return function(){Za.forEach(function(Jo){return clearTimeout(Jo)}),Za.splice(0,Za.length)}},[]);var Ka=function($i){var ki,Co=$i.target,Eo=(ki=Bl.current)===null||ki===void 0?void 0:ki.getPopupElement();if(Eo&&Eo.contains(Co)){var eo=setTimeout(function(){var cs=Za.indexOf(eo);if(cs!==-1&&Za.splice(cs,1),Ji(),!Xi&&!Eo.contains(document.activeElement)){var es;(es=no.current)===null||es===void 0||es.focus()}});Za.push(eo)}for(var rs=arguments.length,ro=new Array(rs>1?rs-1:0),xl=1;xl<rs;xl++)ro[xl-1]=arguments[xl];Fl==null||Fl.apply(void 0,[$i].concat(ro))},ii=ue.useState({}),Ti=(0,ke.Z)(ii,2),lo=Ti[1];function rl(){lo({})}var Po;ws&&(Po=function($i){Vr($i)}),Xe(function(){var Jo;return[nl.current,(Jo=Bl.current)===null||Jo===void 0?void 0:Jo.getPopupElement()]},kn,Vr,!!ws);var To=ue.useMemo(function(){return(0,we.Z)((0,we.Z)({},_e),{},{notFoundContent:Hr,open:Un,triggerOpen:kn,id:Yt,showSearch:tl,multiple:to,toggleOpen:Vr})},[_e,Hr,kn,Un,Yt,tl,to,Vr]),Ml=!!si||sa,pl;Ml&&(pl=ue.createElement(wt,{className:fe()("".concat(fn,"-arrow"),(0,me.Z)({},"".concat(fn,"-arrow-loading"),sa)),customizeIcon:si,customizeIconProps:{loading:sa,searchValue:ul,open:Un,focused:ya,showSearch:tl}}));var Kl=function(){var $i;ta==null||ta(),($i=no.current)===null||$i===void 0||$i.focus(),br([],{type:"clear",values:$n}),wa("",!1,!1)},Gl=Tt(fn,Kl,$n,La,gi,Pa,ul,Rr),Is=Gl.allowClear,Ps=Gl.clearIcon,Yl=ue.createElement(zo,{ref:Ja}),_s=fe()(fn,Rn,(je={},(0,me.Z)(je,"".concat(fn,"-focused"),ya),(0,me.Z)(je,"".concat(fn,"-multiple"),to),(0,me.Z)(je,"".concat(fn,"-single"),!to),(0,me.Z)(je,"".concat(fn,"-allow-clear"),La),(0,me.Z)(je,"".concat(fn,"-show-arrow"),Ml),(0,me.Z)(je,"".concat(fn,"-disabled"),Pa),(0,me.Z)(je,"".concat(fn,"-loading"),sa),(0,me.Z)(je,"".concat(fn,"-open"),Un),(0,me.Z)(je,"".concat(fn,"-customize-input"),Jl),(0,me.Z)(je,"".concat(fn,"-show-search"),tl),je)),ps=ue.createElement($r,{ref:Bl,disabled:Pa,prefixCls:fn,visible:kn,popupElement:Yl,animation:No,transitionName:yo,dropdownStyle:ll,dropdownClassName:Lo,direction:rn,dropdownMatchSelectWidth:kl,dropdownRender:Pl,dropdownAlign:_i,placement:fi,builtinPlacements:bo,getPopupContainer:Ho,empty:sr,getTriggerDOMNode:function(){return Uo.current},onPopupVisibleChange:Po,onPopupMouseEnter:rl},ws?ue.cloneElement(ws,{ref:Te}):ue.createElement(ji,(0,De.Z)({},_e,{domRef:Uo,prefixCls:fn,inputElement:Jl,ref:no,id:Yt,showSearch:tl,autoClearSearchValue:ra,mode:Rr,activeDescendantId:ua,tagRender:Qt,values:$n,open:Un,onToggleOpen:Vr,activeValue:Ba,searchValue:ul,onSearch:wa,onSearchSubmit:Ra,onRemove:yi,tokenWithEnter:xa}))),gs;return ws?gs=ps:gs=ue.createElement("div",(0,De.Z)({className:_s},hl,{ref:nl,onMouseDown:Ka,onKeyDown:vi,onKeyUp:pi,onFocus:Ko,onBlur:Li}),ya&&!Un&&ue.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat($n.map(function(Jo){var $i=Jo.label,ki=Jo.value;return["number","string"].includes((0,Se.Z)($i))?$i:ki}).join(", "))),ps,pl,Is&&Ps),ue.createElement($e.Provider,{value:To},gs)}),Mn=Zn,ar=function(_e,yt){var Ht=ue.useRef({values:new Map,options:new Map}),je=ue.useMemo(function(){var fn=Ht.current,Rn=fn.values,Bt=fn.options,Qt=_e.map(function($n){if($n.label===void 0){var br;return(0,we.Z)((0,we.Z)({},$n),{},{label:(br=Rn.get($n.value))===null||br===void 0?void 0:br.label})}return $n}),rn=new Map,Vn=new Map;return Qt.forEach(function($n){rn.set($n.value,$n),Vn.set($n.value,yt.get($n.value)||Bt.get($n.value))}),Ht.current.values=rn,Ht.current.options=Vn,Qt},[_e,yt]),Yt=ue.useCallback(function(fn){return yt.get(fn)||Ht.current.options.get(fn)},[yt]);return[je,Yt]};function hr(_e,yt){return Tn(_e).join("").toUpperCase().includes(yt)}var dn=function(_e,yt,Ht,je,Yt){return ue.useMemo(function(){if(!Ht||je===!1)return _e;var fn=yt.options,Rn=yt.label,Bt=yt.value,Qt=[],rn=typeof je=="function",Vn=Ht.toUpperCase(),$n=rn?je:function(sr,kr){return Yt?hr(kr[Yt],Vn):kr[fn]?hr(kr[Rn!=="children"?Rn:"label"],Vn):hr(kr[Bt],Vn)},br=rn?function(sr){return Zt(sr)}:function(sr){return sr};return _e.forEach(function(sr){if(sr[fn]){var kr=$n(Ht,br(sr));if(kr)Qt.push(sr);else{var Hr=sr[fn].filter(function(ta){return $n(Ht,br(ta))});Hr.length&&Qt.push((0,we.Z)((0,we.Z)({},sr),{},(0,me.Z)({},fn,Hr)))}return}$n(Ht,br(sr))&&Qt.push(sr)}),Qt},[_e,je,Yt,Ht,yt])},za=ee(98924),pa=0,ma=(0,za.Z)();function Sa(){var _e;return ma?(_e=pa,pa+=1):_e="TEST_OR_SSR",_e}function Aa(_e){var yt=ue.useState(),Ht=(0,ke.Z)(yt,2),je=Ht[0],Yt=Ht[1];return ue.useEffect(function(){Yt("rc_select_".concat(Sa()))},[]),_e||je}var ka=ee(50344),Er=["children","value"],Gr=["children"];function Zi(_e){var yt=_e,Ht=yt.key,je=yt.props,Yt=je.children,fn=je.value,Rn=(0,de.Z)(je,Er);return(0,we.Z)({key:Ht,value:fn!==void 0?fn:Ht,children:Yt},Rn)}function Ii(_e){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,ka.Z)(_e).map(function(Ht,je){if(!ue.isValidElement(Ht)||!Ht.type)return null;var Yt=Ht,fn=Yt.type.isSelectOptGroup,Rn=Yt.key,Bt=Yt.props,Qt=Bt.children,rn=(0,de.Z)(Bt,Gr);return yt||!fn?Zi(Ht):(0,we.Z)((0,we.Z)({key:"__RC_SELECT_GRP__".concat(Rn===null?je:Rn,"__"),label:Rn},rn),{},{options:Ii(Qt)})}).filter(function(Ht){return Ht})}function ni(_e,yt,Ht,je,Yt){return ue.useMemo(function(){var fn=_e,Rn=!_e;Rn&&(fn=Ii(yt));var Bt=new Map,Qt=new Map,rn=function(br,sr,kr){kr&&typeof kr=="string"&&br.set(sr[kr],sr)};function Vn($n){for(var br=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,sr=0;sr<$n.length;sr+=1){var kr=$n[sr];!kr[Ht.options]||br?(Bt.set(kr[Ht.value],kr),rn(Qt,kr,Ht.label),rn(Qt,kr,je),rn(Qt,kr,Yt)):Vn(kr[Ht.options],!0)}}return Vn(fn),{options:fn,valueOptions:Bt,labelOptions:Qt}},[_e,yt,Ht,je,Yt])}function hi(_e){var yt=ue.useRef();yt.current=_e;var Ht=ue.useCallback(function(){return yt.current.apply(yt,arguments)},[]);return Ht}var io=function(){return null};io.isSelectOptGroup=!0;var ri=io,ho=function(){return null};ho.isSelectOption=!0;var ia=ho,so=ee(56982),xo=ee(98423),ml=ee(73299),vl=ue.createContext(null),Yo=vl;function uo(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var wl=["disabled","title","children","style","className"];function Qo(_e){return typeof _e=="string"||typeof _e=="number"}var dl=function(yt,Ht){var je=ut(),Yt=je.prefixCls,fn=je.id,Rn=je.open,Bt=je.multiple,Qt=je.mode,rn=je.searchValue,Vn=je.toggleOpen,$n=je.notFoundContent,br=je.onPopupScroll,sr=ue.useContext(Yo),kr=sr.flattenOptions,Hr=sr.onActiveValue,ta=sr.defaultActiveFirstOption,Rr=sr.onSelect,Pa=sr.menuItemSelectedIcon,sa=sr.rawValues,Da=sr.fieldNames,Ga=sr.virtual,la=sr.direction,ga=sr.listHeight,fa=sr.listItemHeight,Ba="".concat(Yt,"-item"),Ea=(0,so.Z)(function(){return kr},[Rn,kr],function(_i,fi){return fi[0]&&_i[1]!==fi[1]}),ua=ue.useRef(null),Xa=function(fi){fi.preventDefault()},ra=function(fi){ua.current&&ua.current.scrollTo(typeof fi=="number"?{index:fi}:fi)},Ya=function(fi){for(var bo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ho=Ea.length,co=0;co<Ho;co+=1){var wo=(fi+co*bo+Ho)%Ho,oo=Ea[wo],_o=oo.group,sl=oo.data;if(!_o&&!sl.disabled)return wo}return-1},Ha=ue.useState(function(){return Ya(0)}),Ua=(0,ke.Z)(Ha,2),La=Ua[0],si=Ua[1],gi=function(fi){var bo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;si(fi);var Ho={source:bo?"keyboard":"mouse"},co=Ea[fi];if(!co){Hr(null,-1,Ho);return}Hr(co.value,fi,Ho)};(0,ue.useEffect)(function(){gi(ta!==!1?Ya(0):-1)},[Ea.length,rn]);var zo=ue.useCallback(function(_i){return sa.has(_i)&&Qt!=="combobox"},[Qt,(0,qe.Z)(sa).toString(),sa.size]);(0,ue.useEffect)(function(){var _i=setTimeout(function(){if(!Bt&&Rn&&sa.size===1){var bo=Array.from(sa)[0],Ho=Ea.findIndex(function(co){var wo=co.data;return wo.value===bo});Ho!==-1&&(gi(Ho),ra(Ho))}});if(Rn){var fi;(fi=ua.current)===null||fi===void 0||fi.scrollTo(void 0)}return function(){return clearTimeout(_i)}},[Rn,rn,kr.length]);var No=function(fi){fi!==void 0&&Rr(fi,{selected:!sa.has(fi)}),Bt||Vn(!1)};if(ue.useImperativeHandle(Ht,function(){return{onKeyDown:function(fi){var bo=fi.which,Ho=fi.ctrlKey;switch(bo){case ot.Z.N:case ot.Z.P:case ot.Z.UP:case ot.Z.DOWN:{var co=0;if(bo===ot.Z.UP?co=-1:bo===ot.Z.DOWN?co=1:uo()&&Ho&&(bo===ot.Z.N?co=1:bo===ot.Z.P&&(co=-1)),co!==0){var wo=Ya(La+co,co);ra(wo),gi(wo,!0)}break}case ot.Z.ENTER:{var oo=Ea[La];oo&&!oo.data.disabled?No(oo.value):No(void 0),Rn&&fi.preventDefault();break}case ot.Z.ESC:Vn(!1),Rn&&fi.stopPropagation()}},onKeyUp:function(){},scrollTo:function(fi){ra(fi)}}}),Ea.length===0)return ue.createElement("div",{role:"listbox",id:"".concat(fn,"_list"),className:"".concat(Ba,"-empty"),onMouseDown:Xa},$n);var yo=Object.keys(Da).map(function(_i){return Da[_i]}),ll=function(fi){return fi.label};function Lo(_i,fi){var bo=_i.group;return{role:bo?"presentation":"option",id:"".concat(fn,"_list_").concat(fi)}}var kl=function(fi){var bo=Ea[fi];if(!bo)return null;var Ho=bo.data||{},co=Ho.value,wo=bo.group,oo=(0,et.Z)(Ho,!0),_o=ll(bo);return bo?ue.createElement("div",(0,De.Z)({"aria-label":typeof _o=="string"&&!wo?_o:null},oo,{key:fi},Lo(bo,fi),{"aria-selected":zo(co)}),co):null},Pl={role:"listbox",id:"".concat(fn,"_list")};return ue.createElement(ue.Fragment,null,Ga&&ue.createElement("div",(0,De.Z)({},Pl,{style:{height:0,width:0,overflow:"hidden"}}),kl(La-1),kl(La),kl(La+1)),ue.createElement(ml.Z,{itemKey:"key",ref:ua,data:Ea,height:ga,itemHeight:fa,fullHeight:!1,onMouseDown:Xa,onScroll:br,virtual:Ga,direction:la,innerProps:Ga?null:Pl},function(_i,fi){var bo,Ho=_i.group,co=_i.groupOption,wo=_i.data,oo=_i.label,_o=_i.value,sl=wo.key;if(Ho){var Nl,Fl=(Nl=wo.title)!==null&&Nl!==void 0?Nl:Qo(oo)?oo.toString():void 0;return ue.createElement("div",{className:fe()(Ba,"".concat(Ba,"-group")),title:Fl},oo!==void 0?oo:sl)}var Fo=wo.disabled,to=wo.title,tl=wo.children,hl=wo.style,Io=wo.className,Zo=(0,de.Z)(wo,wl),Xi=(0,xo.Z)(Zo,yo),Oi=zo(_o),nl="".concat(Ba,"-option"),Uo=fe()(Ba,nl,Io,(bo={},(0,me.Z)(bo,"".concat(nl,"-grouped"),co),(0,me.Z)(bo,"".concat(nl,"-active"),La===fi&&!Fo),(0,me.Z)(bo,"".concat(nl,"-disabled"),Fo),(0,me.Z)(bo,"".concat(nl,"-selected"),Oi),bo)),Bl=ll(_i),no=!Pa||typeof Pa=="function"||Oi,Ja=typeof Bl=="number"?Bl:Bl||_o,Di=Qo(Ja)?Ja.toString():void 0;return to!==void 0&&(Di=to),ue.createElement("div",(0,De.Z)({},(0,et.Z)(Xi),Ga?{}:Lo(_i,fi),{"aria-selected":Oi,className:Uo,title:Di,onMouseMove:function(){La===fi||Fo||gi(fi)},onClick:function(){Fo||No(_o)},style:hl}),ue.createElement("div",{className:"".concat(nl,"-content")},Ja),ue.isValidElement(Pa)||Oi,no&&ue.createElement(wt,{className:"".concat(Ba,"-option-state"),customizeIcon:Pa,customizeIconProps:{isSelected:Oi}},Oi?"\u2713":null))}))},zl=ue.forwardRef(dl);zl.displayName="OptionList";var bl=zl;function Sl(_e){var yt=_e.mode,Ht=_e.options,je=_e.children,Yt=_e.backfill,fn=_e.allowClear,Rn=_e.placeholder,Bt=_e.getInputElement,Qt=_e.showSearch,rn=_e.onSearch,Vn=_e.defaultOpen,$n=_e.autoFocus,br=_e.labelInValue,sr=_e.value,kr=_e.inputValue,Hr=_e.optionLabelProp,ta=isMultiple(yt),Rr=Qt!==void 0?Qt:ta||yt==="combobox",Pa=Ht||convertChildrenToData(je);if(warning(yt!=="tags"||Pa.every(function(la){return!la.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),yt==="tags"||yt==="combobox"){var sa=Pa.some(function(la){return la.options?la.options.some(function(ga){return typeof("value"in ga?ga.value:ga.key)=="number"}):typeof("value"in la?la.value:la.key)=="number"});warning(!sa,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(yt!=="combobox"||!Hr,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(yt==="combobox"||!Yt,"`backfill` only works with `combobox` mode."),warning(yt==="combobox"||!Bt,"`getInputElement` only work with `combobox` mode."),noteOnce(yt!=="combobox"||!Bt||!fn||!Rn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),rn&&!Rr&&yt!=="combobox"&&yt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Vn||$n,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),sr!=null){var Da=toArray(sr);warning(!br||Da.every(function(la){return _typeof(la)==="object"&&("key"in la||"value"in la)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!ta||Array.isArray(sr),"`value` should be array when `mode` is `multiple` or `tags`")}if(je){var Ga=null;toNodeArray(je).some(function(la){if(!React.isValidElement(la)||!la.type)return!1;var ga=la,fa=ga.type;if(fa.isSelectOption)return!1;if(fa.isSelectOptGroup){var Ba=toNodeArray(la.props.children).every(function(Ea){return!React.isValidElement(Ea)||!la.type||Ea.type.isSelectOption?!0:(Ga=Ea.type,!1)});return!Ba}return Ga=fa,!0}),Ga&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ga.displayName||Ga.name||Ga,"`.")),warning(kr===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Ci(_e,yt){if(_e){var Ht=function je(Yt){for(var fn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Rn=0;Rn<Yt.length;Rn++){var Bt=Yt[Rn];if(Bt[yt==null?void 0:yt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!fn&&Array.isArray(Bt[yt==null?void 0:yt.options])&&je(Bt[yt==null?void 0:yt.options],!0))break}};Ht(_e)}}var Do=null,Pi=["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"],Bi=["inputValue"];function zn(_e){return!_e||(0,Se.Z)(_e)!=="object"}var Cn=ue.forwardRef(function(_e,yt){var Ht=_e.id,je=_e.mode,Yt=_e.prefixCls,fn=Yt===void 0?"rc-select":Yt,Rn=_e.backfill,Bt=_e.fieldNames,Qt=_e.inputValue,rn=_e.searchValue,Vn=_e.onSearch,$n=_e.autoClearSearchValue,br=$n===void 0?!0:$n,sr=_e.onSelect,kr=_e.onDeselect,Hr=_e.dropdownMatchSelectWidth,ta=Hr===void 0?!0:Hr,Rr=_e.filterOption,Pa=_e.filterSort,sa=_e.optionFilterProp,Da=_e.optionLabelProp,Ga=_e.options,la=_e.children,ga=_e.defaultActiveFirstOption,fa=_e.menuItemSelectedIcon,Ba=_e.virtual,Ea=_e.direction,ua=_e.listHeight,Xa=ua===void 0?200:ua,ra=_e.listItemHeight,Ya=ra===void 0?20:ra,Ha=_e.value,Ua=_e.defaultValue,La=_e.labelInValue,si=_e.onChange,gi=(0,de.Z)(_e,Pi),zo=Aa(Ht),No=mn(je),yo=!!(!Ga&&la),ll=ue.useMemo(function(){return Rr===void 0&&je==="combobox"?!1:Rr},[Rr,je]),Lo=ue.useMemo(function(){return hn(Bt,yo)},[JSON.stringify(Bt),yo]),kl=(0,Pe.Z)("",{value:rn!==void 0?rn:Qt,postState:function(Sr){return Sr||""}}),Pl=(0,ke.Z)(kl,2),_i=Pl[0],fi=Pl[1],bo=ni(Ga,la,Lo,sa,Da),Ho=bo.valueOptions,co=bo.labelOptions,wo=bo.options,oo=ue.useCallback(function(Un){var Sr=Tn(Un);return Sr.map(function(kn){var Vr,xa,wa,Ra,Qr;if(zn(kn))Vr=kn;else{var li;wa=kn.key,xa=kn.label,Vr=(li=kn.value)!==null&&li!==void 0?li:wa}var qa=Ho.get(Vr);if(qa){var Fi;if(xa===void 0&&(xa=qa==null?void 0:qa[Da||Lo.label]),wa===void 0&&(wa=(Fi=qa==null?void 0:qa.key)!==null&&Fi!==void 0?Fi:Vr),Ra=qa==null?void 0:qa.disabled,Qr=qa==null?void 0:qa.title,0)var vi}return{label:xa,value:Vr,key:wa,disabled:Ra,title:Qr}})},[Lo,Da,Ho]),_o=(0,Pe.Z)(Ua,{value:Ha}),sl=(0,ke.Z)(_o,2),Nl=sl[0],Fl=sl[1],Fo=ue.useMemo(function(){var Un,Sr=oo(Nl);return je==="combobox"&&nn((Un=Sr[0])===null||Un===void 0?void 0:Un.value)?[]:Sr},[Nl,oo,je]),to=ar(Fo,Ho),tl=(0,ke.Z)(to,2),hl=tl[0],Io=tl[1],Zo=ue.useMemo(function(){if(!je&&hl.length===1){var Un=hl[0];if(Un.value===null&&(Un.label===null||Un.label===void 0))return[]}return hl.map(function(Sr){var kn;return(0,we.Z)((0,we.Z)({},Sr),{},{label:(kn=Sr.label)!==null&&kn!==void 0?kn:Sr.value})})},[je,hl]),Xi=ue.useMemo(function(){return new Set(hl.map(function(Un){return Un.value}))},[hl]);ue.useEffect(function(){if(je==="combobox"){var Un,Sr=(Un=hl[0])===null||Un===void 0?void 0:Un.value;fi(Ut(Sr)?String(Sr):"")}},[hl]);var Oi=hi(function(Un,Sr){var kn,Vr=Sr!=null?Sr:Un;return kn={},(0,me.Z)(kn,Lo.value,Un),(0,me.Z)(kn,Lo.label,Vr),kn}),nl=ue.useMemo(function(){if(je!=="tags")return wo;var Un=(0,qe.Z)(wo),Sr=function(Vr){return Ho.has(Vr)};return(0,qe.Z)(hl).sort(function(kn,Vr){return kn.value<Vr.value?-1:1}).forEach(function(kn){var Vr=kn.value;Sr(Vr)||Un.push(Oi(Vr,kn.label))}),Un},[Oi,wo,Ho,hl,je]),Uo=dn(nl,Lo,_i,ll,sa),Bl=ue.useMemo(function(){return je!=="tags"||!_i||Uo.some(function(Un){return Un[sa||"value"]===_i})||Uo.some(function(Un){return Un[Lo.value]===_i})?Uo:[Oi(_i)].concat((0,qe.Z)(Uo))},[Oi,sa,je,Uo,_i,Lo]),no=ue.useMemo(function(){return Pa?(0,qe.Z)(Bl).sort(function(Un,Sr){return Pa(Un,Sr)}):Bl},[Bl,Pa]),Ja=ue.useMemo(function(){return It(no,{fieldNames:Lo,childrenAsData:yo})},[no,Lo,yo]),Di=function(Sr){var kn=oo(Sr);if(Fl(kn),si&&(kn.length!==hl.length||kn.some(function(wa,Ra){var Qr;return((Qr=hl[Ra])===null||Qr===void 0?void 0:Qr.value)!==(wa==null?void 0:wa.value)}))){var Vr=La?kn:kn.map(function(wa){return wa.value}),xa=kn.map(function(wa){return Zt(Io(wa.value))});si(No?Vr:Vr[0],No?xa:xa[0])}},Ri=ue.useState(null),ya=(0,ke.Z)(Ri,2),Qa=ya[0],Ji=ya[1],ul=ue.useState(0),Jl=(0,ke.Z)(ul,2),ws=Jl[0],Te=Jl[1],Ze=ga!==void 0?ga:je!=="combobox",Et=ue.useCallback(function(Un,Sr){var kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Vr=kn.source,xa=Vr===void 0?"keyboard":Vr;Te(Sr),Rn&&je==="combobox"&&Un!==null&&xa==="keyboard"&&Ji(String(Un))},[Rn,je]),Lt=function(Sr,kn,Vr){var xa=function(){var Vi,Ko=Io(Sr);return[La?{label:Ko==null?void 0:Ko[Lo.label],value:Sr,key:(Vi=Ko==null?void 0:Ko.key)!==null&&Vi!==void 0?Vi:Sr}:Sr,Zt(Ko)]};if(kn&&sr){var wa=xa(),Ra=(0,ke.Z)(wa,2),Qr=Ra[0],li=Ra[1];sr(Qr,li)}else if(!kn&&kr&&Vr!=="clear"){var qa=xa(),Fi=(0,ke.Z)(qa,2),vi=Fi[0],pi=Fi[1];kr(vi,pi)}},Xt=hi(function(Un,Sr){var kn,Vr=No?Sr.selected:!0;Vr?kn=No?[].concat((0,qe.Z)(hl),[Un]):[Un]:kn=hl.filter(function(xa){return xa.value!==Un}),Di(kn),Lt(Un,Vr),je==="combobox"?Ji(""):(!mn||br)&&(fi(""),Ji(""))}),Sn=function(Sr,kn){Di(Sr);var Vr=kn.type,xa=kn.values;(Vr==="remove"||Vr==="clear")&&xa.forEach(function(wa){Lt(wa.value,!1,Vr)})},nr=function(Sr,kn){if(fi(Sr),Ji(null),kn.source==="submit"){var Vr=(Sr||"").trim();if(Vr){var xa=Array.from(new Set([].concat((0,qe.Z)(Xi),[Vr])));Di(xa),Lt(Vr,!0),fi("")}return}kn.source!=="blur"&&(je==="combobox"&&Di(Sr),Vn==null||Vn(Sr))},wr=function(Sr){var kn=Sr;je!=="tags"&&(kn=Sr.map(function(xa){var wa=co.get(xa);return wa==null?void 0:wa.value}).filter(function(xa){return xa!==void 0}));var Vr=Array.from(new Set([].concat((0,qe.Z)(Xi),(0,qe.Z)(kn))));Di(Vr),Vr.forEach(function(xa){Lt(xa,!0)})},jn=ue.useMemo(function(){var Un=Ba!==!1&&ta!==!1;return(0,we.Z)((0,we.Z)({},bo),{},{flattenOptions:Ja,onActiveValue:Et,defaultActiveFirstOption:Ze,onSelect:Xt,menuItemSelectedIcon:fa,rawValues:Xi,fieldNames:Lo,virtual:Un,direction:Ea,listHeight:Xa,listItemHeight:Ya,childrenAsData:yo})},[bo,Ja,Et,Ze,Xt,fa,Xi,Lo,Ba,ta,Xa,Ya,yo]);return ue.createElement(Yo.Provider,{value:jn},ue.createElement(Mn,(0,De.Z)({},gi,{id:zo,prefixCls:fn,ref:yt,omitDomProps:Bi,mode:je,displayValues:Zo,onDisplayValuesChange:Sn,direction:Ea,searchValue:_i,onSearch:nr,autoClearSearchValue:br,onSearchSplit:wr,dropdownMatchSelectWidth:ta,OptionList:bl,emptyOptions:!Ja.length,activeValue:Qa,activeDescendantId:"".concat(zo,"_list_").concat(ws)})))}),mr=Cn;mr.Option=ia,mr.OptGroup=ri;var Yr=null,ha=null,mi=ee(17341),xi=function(_e){var yt=ue.useRef({valueLabels:new Map});return ue.useMemo(function(){var Ht=yt.current.valueLabels,je=new Map,Yt=_e.map(function(fn){var Rn,Bt=fn.value,Qt=(Rn=fn.label)!==null&&Rn!==void 0?Rn:Ht.get(Bt);return je.set(Bt,Qt),(0,we.Z)((0,we.Z)({},fn),{},{label:Qt})});return yt.current.valueLabels=je,[Yt]},[_e])},Ui=function(_e,yt,Ht,je){return ue.useMemo(function(){var Yt=_e.map(function(Qt){var rn=Qt.value;return rn}),fn=yt.map(function(Qt){var rn=Qt.value;return rn}),Rn=Yt.filter(function(Qt){return!je[Qt]});if(Ht){var Bt=(0,mi.S)(Yt,!0,je);Yt=Bt.checkedKeys,fn=Bt.halfCheckedKeys}return[Array.from(new Set([].concat((0,qe.Z)(Rn),(0,qe.Z)(Yt)))),fn]},[_e,yt,Ht,je])},di=ee(1089),Mi=function(_e,yt){return ue.useMemo(function(){var Ht=(0,di.I8)(_e,{fieldNames:yt,initWrapper:function(Yt){return(0,we.Z)((0,we.Z)({},Yt),{},{valueEntities:new Map})},processEntity:function(Yt,fn){var Rn=Yt.node[yt.value];if(0)var Bt;fn.valueEntities.set(Rn,Yt)}});return Ht},[_e,yt])},Ao=function(){return null},Wo=Ao,$o=["children","value"];function He(_e){return(0,ka.Z)(_e).map(function(yt){if(!ue.isValidElement(yt)||!yt.type)return null;var Ht=yt,je=Ht.key,Yt=Ht.props,fn=Yt.children,Rn=Yt.value,Bt=(0,de.Z)(Yt,$o),Qt=(0,we.Z)({key:je,value:Rn},Bt),rn=He(fn);return rn.length&&(Qt.children=rn),Qt}).filter(function(yt){return yt})}function tt(_e){if(!_e)return _e;var yt=(0,we.Z)({},_e);return"props"in yt||Object.defineProperty(yt,"props",{get:function(){return(0,rt.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),yt}}),yt}function Nt(_e,yt,Ht,je,Yt,fn){var Rn=null,Bt=null;function Qt(){function rn(Vn){var $n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",br=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Vn.map(function(sr,kr){var Hr="".concat($n,"-").concat(kr),ta=sr[fn.value],Rr=Ht.includes(ta),Pa=rn(sr[fn.children]||[],Hr,Rr),sa=ue.createElement(Wo,sr,Pa.map(function(Ga){return Ga.node}));if(yt===ta&&(Rn=sa),Rr){var Da={pos:Hr,node:sa,children:Pa};return br||Bt.push(Da),Da}return null}).filter(function(sr){return sr})}Bt||(Bt=[],rn(je),Bt.sort(function(Vn,$n){var br=Vn.node.props.value,sr=$n.node.props.value,kr=Ht.indexOf(br),Hr=Ht.indexOf(sr);return kr-Hr}))}Object.defineProperty(_e,"triggerNode",{get:function(){return(0,rt.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Qt(),Rn}}),Object.defineProperty(_e,"allCheckedNodes",{get:function(){return(0,rt.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Qt(),Yt?Bt:Bt.map(function(Vn){var $n=Vn.node;return $n})}})}var pe=function(_e,yt,Ht){var je=Ht.treeNodeFilterProp,Yt=Ht.filterTreeNode,fn=Ht.fieldNames,Rn=fn.children;return ue.useMemo(function(){if(!yt||Yt===!1)return _e;var Bt;if(typeof Yt=="function")Bt=Yt;else{var Qt=yt.toUpperCase();Bt=function($n,br){var sr=br[je];return String(sr).toUpperCase().includes(Qt)}}function rn(Vn){var $n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Vn.reduce(function(br,sr){var kr=sr[Rn],Hr=$n||Bt(yt,tt(sr)),ta=rn(kr||[],Hr);return(Hr||ta.length)&&br.push((0,we.Z)((0,we.Z)({},sr),{},(0,me.Z)({isLeaf:void 0},Rn,ta))),br},[])}return rn(_e)},[_e,yt,Rn,je,Yt])};function Oe(_e){var yt=ue.useRef();yt.current=_e;var Ht=ue.useCallback(function(){return yt.current.apply(yt,arguments)},[]);return Ht}function Ae(_e,yt){var Ht=yt.id,je=yt.pId,Yt=yt.rootPId,fn={},Rn=[],Bt=_e.map(function(Qt){var rn=(0,we.Z)({},Qt),Vn=rn[Ht];return fn[Vn]=rn,rn.key=rn.key||Vn,rn});return Bt.forEach(function(Qt){var rn=Qt[je],Vn=fn[rn];Vn&&(Vn.children=Vn.children||[],Vn.children.push(Qt)),(rn===Yt||!Vn&&Yt===null)&&Rn.push(Qt)}),Rn}function Ke(_e,yt,Ht){return ue.useMemo(function(){return _e?Ht?Ae(_e,(0,we.Z)({id:"id",pId:"pId",rootPId:null},Ht!==!0?Ht:{})):_e:He(yt)},[yt,Ht,_e])}var Qe=ue.createContext(null),at=Qe,pt=ee(15671),$t=ee(43144),tn=ee(97326),Yn=ee(60136),fr=ee(51630),Cr=ee(27822),Dn=ee(10225),qn=ee(36459),Xn=ue.forwardRef(function(_e,yt){var Ht=_e.height,je=_e.offset,Yt=_e.children,fn=_e.prefixCls,Rn=_e.onInnerResize,Bt=_e.innerProps,Qt={},rn={display:"flex",flexDirection:"column"};return je!==void 0&&(Qt={height:Ht,position:"relative",overflow:"hidden"},rn=(0,we.Z)((0,we.Z)({},rn),{},{transform:"translateY(".concat(je,"px)"),position:"absolute",left:0,right:0,top:0})),ue.createElement("div",{style:Qt},ue.createElement(st.Z,{onResize:function($n){var br=$n.offsetHeight;br&&Rn&&Rn()}},ue.createElement("div",(0,De.Z)({style:rn,className:fe()((0,me.Z)({},"".concat(fn,"-holder-inner"),fn)),ref:yt},Bt),Yt)))});Xn.displayName="Filler";var Ar=Xn,Or=ee(75164),Kr=20;function Tr(_e){return"touches"in _e?_e.touches[0].pageY:_e.pageY}var _r=function(_e){(0,Yn.Z)(Ht,_e);var yt=(0,fr.Z)(Ht);function Ht(){var je;(0,pt.Z)(this,Ht);for(var Yt=arguments.length,fn=new Array(Yt),Rn=0;Rn<Yt;Rn++)fn[Rn]=arguments[Rn];return je=yt.call.apply(yt,[this].concat(fn)),je.moveRaf=null,je.scrollbarRef=ue.createRef(),je.thumbRef=ue.createRef(),je.visibleTimeout=null,je.state={dragging:!1,pageY:null,startTop:null,visible:!1},je.delayHidden=function(){clearTimeout(je.visibleTimeout),je.setState({visible:!0}),je.visibleTimeout=setTimeout(function(){je.setState({visible:!1})},2e3)},je.onScrollbarTouchStart=function(Bt){Bt.preventDefault()},je.onContainerMouseDown=function(Bt){Bt.stopPropagation(),Bt.preventDefault()},je.patchEvents=function(){window.addEventListener("mousemove",je.onMouseMove),window.addEventListener("mouseup",je.onMouseUp),je.thumbRef.current.addEventListener("touchmove",je.onMouseMove),je.thumbRef.current.addEventListener("touchend",je.onMouseUp)},je.removeEvents=function(){var Bt;window.removeEventListener("mousemove",je.onMouseMove),window.removeEventListener("mouseup",je.onMouseUp),(Bt=je.scrollbarRef.current)===null||Bt===void 0||Bt.removeEventListener("touchstart",je.onScrollbarTouchStart),je.thumbRef.current&&(je.thumbRef.current.removeEventListener("touchstart",je.onMouseDown),je.thumbRef.current.removeEventListener("touchmove",je.onMouseMove),je.thumbRef.current.removeEventListener("touchend",je.onMouseUp)),Or.Z.cancel(je.moveRaf)},je.onMouseDown=function(Bt){var Qt=je.props.onStartMove;je.setState({dragging:!0,pageY:Tr(Bt),startTop:je.getTop()}),Qt(),je.patchEvents(),Bt.stopPropagation(),Bt.preventDefault()},je.onMouseMove=function(Bt){var Qt=je.state,rn=Qt.dragging,Vn=Qt.pageY,$n=Qt.startTop,br=je.props.onScroll;if(Or.Z.cancel(je.moveRaf),rn){var sr=Tr(Bt)-Vn,kr=$n+sr,Hr=je.getEnableScrollRange(),ta=je.getEnableHeightRange(),Rr=ta?kr/ta:0,Pa=Math.ceil(Rr*Hr);je.moveRaf=(0,Or.Z)(function(){br(Pa)})}},je.onMouseUp=function(){var Bt=je.props.onStopMove;je.setState({dragging:!1}),Bt(),je.removeEvents()},je.getSpinHeight=function(){var Bt=je.props,Qt=Bt.height,rn=Bt.count,Vn=Qt/rn*10;return Vn=Math.max(Vn,Kr),Vn=Math.min(Vn,Qt/2),Math.floor(Vn)},je.getEnableScrollRange=function(){var Bt=je.props,Qt=Bt.scrollHeight,rn=Bt.height;return Qt-rn||0},je.getEnableHeightRange=function(){var Bt=je.props.height,Qt=je.getSpinHeight();return Bt-Qt||0},je.getTop=function(){var Bt=je.props.scrollTop,Qt=je.getEnableScrollRange(),rn=je.getEnableHeightRange();if(Bt===0||Qt===0)return 0;var Vn=Bt/Qt;return Vn*rn},je.showScroll=function(){var Bt=je.props,Qt=Bt.height,rn=Bt.scrollHeight;return rn>Qt},je}return(0,$t.Z)(Ht,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(Yt){Yt.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var Yt=this.state,fn=Yt.dragging,Rn=Yt.visible,Bt=this.props.prefixCls,Qt=this.getSpinHeight(),rn=this.getTop(),Vn=this.showScroll(),$n=Vn&&Rn;return ue.createElement("div",{ref:this.scrollbarRef,className:fe()("".concat(Bt,"-scrollbar"),(0,me.Z)({},"".concat(Bt,"-scrollbar-show"),Vn)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:$n?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},ue.createElement("div",{ref:this.thumbRef,className:fe()("".concat(Bt,"-scrollbar-thumb"),(0,me.Z)({},"".concat(Bt,"-scrollbar-thumb-moving"),fn)),style:{width:"100%",height:Qt,top:rn,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),Ht}(ue.Component);function Zr(_e){var yt=_e.children,Ht=_e.setRef,je=ue.useCallback(function(Yt){Ht(Yt)},[]);return ue.cloneElement(yt,{ref:je})}function qr(_e,yt,Ht,je,Yt,fn){var Rn=fn.getKey;return _e.slice(yt,Ht+1).map(function(Bt,Qt){var rn=yt+Qt,Vn=Yt(Bt,rn,{}),$n=Rn(Bt);return ue.createElement(Zr,{key:$n,setRef:function(sr){return je(Bt,sr)}},Vn)})}var Dt=ee(34203),Pt=function(){function _e(){(0,pt.Z)(this,_e),this.maps=void 0,this.maps=Object.create(null)}return(0,$t.Z)(_e,[{key:"set",value:function(Ht,je){this.maps[Ht]=je}},{key:"get",value:function(Ht){return this.maps[Ht]}}]),_e}(),Kn=Pt;function Bn(_e,yt,Ht){var je=ue.useState(0),Yt=(0,ke.Z)(je,2),fn=Yt[0],Rn=Yt[1],Bt=(0,ue.useRef)(new Map),Qt=(0,ue.useRef)(new Kn),rn=(0,ue.useRef)();function Vn(){Or.Z.cancel(rn.current)}function $n(){Vn(),rn.current=(0,Or.Z)(function(){Bt.current.forEach(function(sr,kr){if(sr&&sr.offsetParent){var Hr=(0,Dt.Z)(sr),ta=Hr.offsetHeight;Qt.current.get(kr)!==ta&&Qt.current.set(kr,Hr.offsetHeight)}}),Rn(function(sr){return sr+1})})}function br(sr,kr){var Hr=_e(sr),ta=Bt.current.get(Hr);kr?(Bt.current.set(Hr,kr),$n()):Bt.current.delete(Hr),!ta!=!kr&&(kr?yt==null||yt(sr):Ht==null||Ht(sr))}return(0,ue.useEffect)(function(){return Vn},[]),[br,$n,Qt.current,fn]}function xr(_e,yt,Ht,je,Yt,fn,Rn,Bt){var Qt=ue.useRef();return function(rn){if(rn==null){Bt();return}if(Or.Z.cancel(Qt.current),typeof rn=="number")Rn(rn);else if(rn&&(0,Se.Z)(rn)==="object"){var Vn,$n=rn.align;"index"in rn?Vn=rn.index:Vn=yt.findIndex(function(Hr){return Yt(Hr)===rn.key});var br=rn.offset,sr=br===void 0?0:br,kr=function Hr(ta,Rr){if(!(ta<0||!_e.current)){var Pa=_e.current.clientHeight,sa=!1,Da=Rr;if(Pa){for(var Ga=Rr||$n,la=0,ga=0,fa=0,Ba=Math.min(yt.length,Vn),Ea=0;Ea<=Ba;Ea+=1){var ua=Yt(yt[Ea]);ga=la;var Xa=Ht.get(ua);fa=ga+(Xa===void 0?je:Xa),la=fa,Ea===Vn&&Xa===void 0&&(sa=!0)}var ra=null;switch(Ga){case"top":ra=ga-sr;break;case"bottom":ra=fa-Pa+sr;break;default:{var Ya=_e.current.scrollTop,Ha=Ya+Pa;ga<Ya?Da="top":fa>Ha&&(Da="bottom")}}ra!==null&&ra!==_e.current.scrollTop&&Rn(ra)}Qt.current=(0,Or.Z)(function(){sa&&fn(),Hr(ta-1,Da)},2)}};kr(3)}}}function zr(_e,yt,Ht,je){var Yt=Ht-_e,fn=yt-Ht,Rn=Math.min(Yt,fn)*2;if(je<=Rn){var Bt=Math.floor(je/2);return je%2?Ht+Bt+1:Ht-Bt}return Yt>fn?Ht-(je-fn):Ht+(je-Yt)}function Lr(_e,yt,Ht){var je=_e.length,Yt=yt.length,fn,Rn;if(je===0&&Yt===0)return null;je<Yt?(fn=_e,Rn=yt):(fn=yt,Rn=_e);var Bt={__EMPTY_ITEM__:!0};function Qt(kr){return kr!==void 0?Ht(kr):Bt}for(var rn=null,Vn=Math.abs(je-Yt)!==1,$n=0;$n<Rn.length;$n+=1){var br=Qt(fn[$n]),sr=Qt(Rn[$n]);if(br!==sr){rn=$n,Vn=Vn||br!==Qt(Rn[$n+1]);break}}return rn===null?null:{index:rn,multiple:Vn}}function ca(_e,yt,Ht){var je=ue.useState(_e),Yt=(0,ke.Z)(je,2),fn=Yt[0],Rn=Yt[1],Bt=ue.useState(null),Qt=(0,ke.Z)(Bt,2),rn=Qt[0],Vn=Qt[1];return ue.useEffect(function(){var $n=Lr(fn||[],_e||[],yt);($n==null?void 0:$n.index)!==void 0&&(Ht==null||Ht($n.index),Vn(_e[$n.index])),Rn(_e)},[_e]),[rn]}var un=(typeof navigator=="undefined"?"undefined":(0,Se.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Jt=un,yn=function(_e,yt){var Ht=(0,ue.useRef)(!1),je=(0,ue.useRef)(null);function Yt(){clearTimeout(je.current),Ht.current=!0,je.current=setTimeout(function(){Ht.current=!1},50)}var fn=(0,ue.useRef)({top:_e,bottom:yt});return fn.current.top=_e,fn.current.bottom=yt,function(Rn){var Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qt=Rn<0&&fn.current.top||Rn>0&&fn.current.bottom;return Bt&&Qt?(clearTimeout(je.current),Ht.current=!1):(!Qt||Ht.current)&&Yt(),!Ht.current&&Qt}};function lr(_e,yt,Ht,je){var Yt=(0,ue.useRef)(0),fn=(0,ue.useRef)(null),Rn=(0,ue.useRef)(null),Bt=(0,ue.useRef)(!1),Qt=yn(yt,Ht);function rn($n){if(_e){Or.Z.cancel(fn.current);var br=$n.deltaY;Yt.current+=br,Rn.current=br,!Qt(br)&&(Jt||$n.preventDefault(),fn.current=(0,Or.Z)(function(){var sr=Bt.current?10:1;je(Yt.current*sr),Yt.current=0}))}}function Vn($n){_e&&(Bt.current=$n.detail===Rn.current)}return[rn,Vn]}var Xr=14/15;function Ir(_e,yt,Ht){var je=(0,ue.useRef)(!1),Yt=(0,ue.useRef)(0),fn=(0,ue.useRef)(null),Rn=(0,ue.useRef)(null),Bt,Qt=function(br){if(je.current){var sr=Math.ceil(br.touches[0].pageY),kr=Yt.current-sr;Yt.current=sr,Ht(kr)&&br.preventDefault(),clearInterval(Rn.current),Rn.current=setInterval(function(){kr*=Xr,(!Ht(kr,!0)||Math.abs(kr)<=.1)&&clearInterval(Rn.current)},16)}},rn=function(){je.current=!1,Bt()},Vn=function(br){Bt(),br.touches.length===1&&!je.current&&(je.current=!0,Yt.current=Math.ceil(br.touches[0].pageY),fn.current=br.target,fn.current.addEventListener("touchmove",Qt),fn.current.addEventListener("touchend",rn))};Bt=function(){fn.current&&(fn.current.removeEventListener("touchmove",Qt),fn.current.removeEventListener("touchend",rn))},(0,Ue.Z)(function(){return _e&&yt.current.addEventListener("touchstart",Vn),function(){var $n;($n=yt.current)===null||$n===void 0||$n.removeEventListener("touchstart",Vn),Bt(),clearInterval(Rn.current)}},[_e])}var yr=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange","innerProps"],ba=[],va={overflowY:"auto",overflowAnchor:"none"};function Oa(_e,yt){var Ht=_e.prefixCls,je=Ht===void 0?"rc-virtual-list":Ht,Yt=_e.className,fn=_e.height,Rn=_e.itemHeight,Bt=_e.fullHeight,Qt=Bt===void 0?!0:Bt,rn=_e.style,Vn=_e.data,$n=_e.children,br=_e.itemKey,sr=_e.virtual,kr=_e.component,Hr=kr===void 0?"div":kr,ta=_e.onScroll,Rr=_e.onVisibleChange,Pa=_e.innerProps,sa=(0,de.Z)(_e,yr),Da=!!(sr!==!1&&fn&&Rn),Ga=Da&&Vn&&Rn*Vn.length>fn,la=(0,ue.useState)(0),ga=(0,ke.Z)(la,2),fa=ga[0],Ba=ga[1],Ea=(0,ue.useState)(!1),ua=(0,ke.Z)(Ea,2),Xa=ua[0],ra=ua[1],Ya=fe()(je,Yt),Ha=Vn||ba,Ua=(0,ue.useRef)(),La=(0,ue.useRef)(),si=(0,ue.useRef)(),gi=ue.useCallback(function(ya){return typeof br=="function"?br(ya):ya==null?void 0:ya[br]},[br]),zo={getKey:gi};function No(ya){Ba(function(Qa){var Ji;typeof ya=="function"?Ji=ya(Qa):Ji=ya;var ul=tl(Ji);return Ua.current.scrollTop=ul,ul})}var yo=(0,ue.useRef)({start:0,end:Ha.length}),ll=(0,ue.useRef)(),Lo=ca(Ha,gi),kl=(0,ke.Z)(Lo,1),Pl=kl[0];ll.current=Pl;var _i=Bn(gi,null,null),fi=(0,ke.Z)(_i,4),bo=fi[0],Ho=fi[1],co=fi[2],wo=fi[3],oo=ue.useMemo(function(){if(!Da)return{scrollHeight:void 0,start:0,end:Ha.length-1,offset:void 0};if(!Ga){var ya;return{scrollHeight:((ya=La.current)===null||ya===void 0?void 0:ya.offsetHeight)||0,start:0,end:Ha.length-1,offset:void 0}}for(var Qa=0,Ji,ul,Jl,ws=Ha.length,Te=0;Te<ws;Te+=1){var Ze=Ha[Te],Et=gi(Ze),Lt=co.get(Et),Xt=Qa+(Lt===void 0?Rn:Lt);Xt>=fa&&Ji===void 0&&(Ji=Te,ul=Qa),Xt>fa+fn&&Jl===void 0&&(Jl=Te),Qa=Xt}return Ji===void 0&&(Ji=0,ul=0,Jl=Math.ceil(fn/Rn)),Jl===void 0&&(Jl=Ha.length-1),Jl=Math.min(Jl+1,Ha.length),{scrollHeight:Qa,start:Ji,end:Jl,offset:ul}},[Ga,Da,fa,Ha,wo,fn]),_o=oo.scrollHeight,sl=oo.start,Nl=oo.end,Fl=oo.offset;yo.current.start=sl,yo.current.end=Nl;var Fo=_o-fn,to=(0,ue.useRef)(Fo);to.current=Fo;function tl(ya){var Qa=ya;return Number.isNaN(to.current)||(Qa=Math.min(Qa,to.current)),Qa=Math.max(Qa,0),Qa}var hl=fa<=0,Io=fa>=Fo,Zo=yn(hl,Io);function Xi(ya){var Qa=ya;No(Qa)}function Oi(ya){var Qa=ya.currentTarget.scrollTop;Qa!==fa&&No(Qa),ta==null||ta(ya)}var nl=lr(Da,hl,Io,function(ya){No(function(Qa){var Ji=Qa+ya;return Ji})}),Uo=(0,ke.Z)(nl,2),Bl=Uo[0],no=Uo[1];Ir(Da,Ua,function(ya,Qa){return Zo(ya,Qa)?!1:(Bl({preventDefault:function(){},deltaY:ya}),!0)}),(0,Ue.Z)(function(){function ya(Qa){Da&&Qa.preventDefault()}return Ua.current.addEventListener("wheel",Bl),Ua.current.addEventListener("DOMMouseScroll",no),Ua.current.addEventListener("MozMousePixelScroll",ya),function(){Ua.current&&(Ua.current.removeEventListener("wheel",Bl),Ua.current.removeEventListener("DOMMouseScroll",no),Ua.current.removeEventListener("MozMousePixelScroll",ya))}},[Da]);var Ja=xr(Ua,Ha,co,Rn,gi,Ho,No,function(){var ya;(ya=si.current)===null||ya===void 0||ya.delayHidden()});ue.useImperativeHandle(yt,function(){return{scrollTo:Ja}}),(0,Ue.Z)(function(){if(Rr){var ya=Ha.slice(sl,Nl+1);Rr(ya,Ha)}},[sl,Nl,Ha]);var Di=qr(Ha,sl,Nl,bo,$n,zo),Ri=null;return fn&&(Ri=(0,we.Z)((0,me.Z)({},Qt?"height":"maxHeight",fn),va),Da&&(Ri.overflowY="hidden",Xa&&(Ri.pointerEvents="none"))),ue.createElement("div",(0,De.Z)({style:(0,we.Z)((0,we.Z)({},rn),{},{position:"relative"}),className:Ya},sa),ue.createElement(Hr,{className:"".concat(je,"-holder"),style:Ri,ref:Ua,onScroll:Oi},ue.createElement(Ar,{prefixCls:je,height:_o,offset:Fl,onInnerResize:Ho,ref:La,innerProps:Pa},Di)),Da&&ue.createElement(_r,{ref:si,prefixCls:je,scrollTop:fa,height:fn,scrollHeight:_o,count:Ha.length,onScroll:Xi,onStartMove:function(){ra(!0)},onStopMove:function(){ra(!1)}}))}var da=ue.forwardRef(Oa);da.displayName="List";var Ur=da,Wa=Ur,ai=ee(62874),_a=ee(86128),Va=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ei=function(yt,Ht){var je=yt.className,Yt=yt.style,fn=yt.motion,Rn=yt.motionNodes,Bt=yt.motionType,Qt=yt.onMotionStart,rn=yt.onMotionEnd,Vn=yt.active,$n=yt.treeNodeRequiredProps,br=(0,de.Z)(yt,Va),sr=ue.useState(!0),kr=(0,ke.Z)(sr,2),Hr=kr[0],ta=kr[1],Rr=ue.useContext(Cr.k),Pa=Rr.prefixCls,sa=ue.useRef(!1),Da=function(){sa.current||rn(),sa.current=!0};return(0,ue.useEffect)(function(){Rn&&Bt==="hide"&&Hr&&ta(!1)},[Rn]),(0,ue.useEffect)(function(){return Rn&&Qt(),function(){Rn&&Da()}},[]),Rn?ue.createElement(ai.Z,(0,De.Z)({ref:Ht,visible:Hr},fn,{motionAppear:Bt==="show",onAppearEnd:Da,onLeaveEnd:Da}),function(Ga,la){var ga=Ga.className,fa=Ga.style;return ue.createElement("div",{ref:la,className:fe()("".concat(Pa,"-treenode-motion"),ga),style:fa},Rn.map(function(Ba){var Ea=(0,De.Z)({},((0,qn.Z)(Ba.data),Ba.data)),ua=Ba.title,Xa=Ba.key,ra=Ba.isStart,Ya=Ba.isEnd;delete Ea.children;var Ha=(0,di.H8)(Xa,$n);return ue.createElement(_a.Z,(0,De.Z)({},Ea,Ha,{title:ua,active:Vn,data:Ba.data,key:Xa,isStart:ra,isEnd:Ya}))}))}):ue.createElement(_a.Z,(0,De.Z)({domRef:Ht,className:je,style:Yt},br,{active:Vn}))};ei.displayName="MotionTreeNode";var Yi=ue.forwardRef(ei),Ei=Yi;function Wi(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ht=_e.length,je=yt.length;if(Math.abs(Ht-je)!==1)return{add:!1,key:null};function Yt(fn,Rn){var Bt=new Map;fn.forEach(function(rn){Bt.set(rn,!0)});var Qt=Rn.filter(function(rn){return!Bt.has(rn)});return Qt.length===1?Qt[0]:null}return Ht<je?{add:!0,key:Yt(_e,yt)}:{add:!1,key:Yt(yt,_e)}}function Gi(_e,yt,Ht){var je=_e.findIndex(function(Bt){return Bt.key===Ht}),Yt=_e[je+1],fn=yt.findIndex(function(Bt){return Bt.key===Ht});if(Yt){var Rn=yt.findIndex(function(Bt){return Bt.key===Yt.key});return yt.slice(fn+1,Rn)}return yt.slice(fn+1)}var po=["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"],Qi={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},So=function(){},Ki="RC_TREE_MOTION_".concat(Math.random()),Ai={key:Ki},ko={key:Ki,level:0,index:0,pos:"0",node:Ai,nodes:[Ai]},Bo={parent:null,children:[],pos:ko.pos,data:Ai,title:null,key:Ki,isStart:[],isEnd:[]};function zi(_e,yt,Ht,je){return yt===!1||!Ht?_e:_e.slice(0,Math.ceil(Ht/je)+1)}function gl(_e){var yt=_e.key,Ht=_e.pos;return(0,di.km)(yt,Ht)}function El(_e){for(var yt=String(_e.data.key),Ht=_e;Ht.parent;)Ht=Ht.parent,yt="".concat(Ht.data.key," > ").concat(yt);return yt}var il=ue.forwardRef(function(_e,yt){var Ht=_e.prefixCls,je=_e.data,Yt=_e.selectable,fn=_e.checkable,Rn=_e.expandedKeys,Bt=_e.selectedKeys,Qt=_e.checkedKeys,rn=_e.loadedKeys,Vn=_e.loadingKeys,$n=_e.halfCheckedKeys,br=_e.keyEntities,sr=_e.disabled,kr=_e.dragging,Hr=_e.dragOverNodeKey,ta=_e.dropPosition,Rr=_e.motion,Pa=_e.height,sa=_e.itemHeight,Da=_e.virtual,Ga=_e.focusable,la=_e.activeItem,ga=_e.focused,fa=_e.tabIndex,Ba=_e.onKeyDown,Ea=_e.onFocus,ua=_e.onBlur,Xa=_e.onActiveChange,ra=_e.onListChangeStart,Ya=_e.onListChangeEnd,Ha=(0,de.Z)(_e,po),Ua=ue.useRef(null),La=ue.useRef(null);ue.useImperativeHandle(yt,function(){return{scrollTo:function(Zo){Ua.current.scrollTo(Zo)},getIndentWidth:function(){return La.current.offsetWidth}}});var si=ue.useState(Rn),gi=(0,ke.Z)(si,2),zo=gi[0],No=gi[1],yo=ue.useState(je),ll=(0,ke.Z)(yo,2),Lo=ll[0],kl=ll[1],Pl=ue.useState(je),_i=(0,ke.Z)(Pl,2),fi=_i[0],bo=_i[1],Ho=ue.useState([]),co=(0,ke.Z)(Ho,2),wo=co[0],oo=co[1],_o=ue.useState(null),sl=(0,ke.Z)(_o,2),Nl=sl[0],Fl=sl[1],Fo=ue.useRef(je);Fo.current=je;function to(){var Io=Fo.current;kl(Io),bo(Io),oo([]),Fl(null),Ya()}ue.useEffect(function(){No(Rn);var Io=Wi(zo,Rn);if(Io.key!==null)if(Io.add){var Zo=Lo.findIndex(function(no){var Ja=no.key;return Ja===Io.key}),Xi=zi(Gi(Lo,je,Io.key),Da,Pa,sa),Oi=Lo.slice();Oi.splice(Zo+1,0,Bo),bo(Oi),oo(Xi),Fl("show")}else{var nl=je.findIndex(function(no){var Ja=no.key;return Ja===Io.key}),Uo=zi(Gi(je,Lo,Io.key),Da,Pa,sa),Bl=je.slice();Bl.splice(nl+1,0,Bo),bo(Bl),oo(Uo),Fl("hide")}else Lo!==je&&(kl(je),bo(je))},[Rn,je]),ue.useEffect(function(){kr||to()},[kr]);var tl=Rr?fi:je,hl={expandedKeys:Rn,selectedKeys:Bt,loadedKeys:rn,loadingKeys:Vn,checkedKeys:Qt,halfCheckedKeys:$n,dragOverNodeKey:Hr,dropPosition:ta,keyEntities:br};return ue.createElement(ue.Fragment,null,ga&&la&&ue.createElement("span",{style:Qi,"aria-live":"assertive"},El(la)),ue.createElement("div",null,ue.createElement("input",{style:Qi,disabled:Ga===!1||sr,tabIndex:Ga!==!1?fa:null,onKeyDown:Ba,onFocus:Ea,onBlur:ua,value:"",onChange:So,"aria-label":"for screen reader"})),ue.createElement("div",{className:"".concat(Ht,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},ue.createElement("div",{className:"".concat(Ht,"-indent")},ue.createElement("div",{ref:La,className:"".concat(Ht,"-indent-unit")}))),ue.createElement(Wa,(0,De.Z)({},Ha,{data:tl,itemKey:gl,height:Pa,fullHeight:!1,virtual:Da,itemHeight:sa,prefixCls:"".concat(Ht,"-list"),ref:Ua,onVisibleChange:function(Zo,Xi){var Oi=new Set(Zo),nl=Xi.filter(function(Uo){return!Oi.has(Uo)});nl.some(function(Uo){return gl(Uo)===Ki})&&to()}}),function(Io){var Zo=Io.pos,Xi=(0,De.Z)({},((0,qn.Z)(Io.data),Io.data)),Oi=Io.title,nl=Io.key,Uo=Io.isStart,Bl=Io.isEnd,no=(0,di.km)(nl,Zo);delete Xi.key,delete Xi.children;var Ja=(0,di.H8)(no,hl);return ue.createElement(Ei,(0,De.Z)({},Xi,Ja,{title:Oi,active:!!la&&nl===la.key,pos:Zo,data:Io.data,isStart:Uo,isEnd:Bl,motion:Rr,motionNodes:nl===Ki?wo:null,motionType:Nl,onMotionStart:ra,onMotionEnd:to,treeNodeRequiredProps:hl,onMouseMove:function(){Xa(null)}}))}))});il.displayName="NodeList";var Vo=il;function go(_e){var yt=_e.dropPosition,Ht=_e.dropLevelOffset,je=_e.indent,Yt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(yt){case-1:Yt.top=0,Yt.left=-Ht*je;break;case 1:Yt.bottom=0,Yt.left=-Ht*je;break;case 0:Yt.bottom=0,Yt.left=je;break}return ue.createElement("div",{style:Yt})}var _l=10,jo=function(_e){(0,Yn.Z)(Ht,_e);var yt=(0,fr.Z)(Ht);function Ht(){var je;(0,pt.Z)(this,Ht);for(var Yt=arguments.length,fn=new Array(Yt),Rn=0;Rn<Yt;Rn++)fn[Rn]=arguments[Rn];return je=yt.call.apply(yt,[this].concat(fn)),je.destroyed=!1,je.delayedDragEnterLogic=void 0,je.loadingRetryTimes={},je.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,di.w$)()},je.dragStartMousePosition=null,je.dragNode=void 0,je.currentMouseOverDroppableNodeKey=null,je.listRef=ue.createRef(),je.onNodeDragStart=function(Bt,Qt){var rn=je.state,Vn=rn.expandedKeys,$n=rn.keyEntities,br=je.props.onDragStart,sr=Qt.props.eventKey;je.dragNode=Qt,je.dragStartMousePosition={x:Bt.clientX,y:Bt.clientY};var kr=(0,Dn._5)(Vn,sr);je.setState({draggingNodeKey:sr,dragChildrenKeys:(0,Dn.wA)(sr,$n),indent:je.listRef.current.getIndentWidth()}),je.setExpandedKeys(kr),window.addEventListener("dragend",je.onWindowDragEnd),br==null||br({event:Bt,node:(0,di.F)(Qt.props)})},je.onNodeDragEnter=function(Bt,Qt){var rn=je.state,Vn=rn.expandedKeys,$n=rn.keyEntities,br=rn.dragChildrenKeys,sr=rn.flattenNodes,kr=rn.indent,Hr=je.props,ta=Hr.onDragEnter,Rr=Hr.onExpand,Pa=Hr.allowDrop,sa=Hr.direction,Da=Qt.props,Ga=Da.pos,la=Da.eventKey,ga=(0,tn.Z)(je),fa=ga.dragNode;if(je.currentMouseOverDroppableNodeKey!==la&&(je.currentMouseOverDroppableNodeKey=la),!fa){je.resetDragState();return}var Ba=(0,Dn.OM)(Bt,fa,Qt,kr,je.dragStartMousePosition,Pa,sr,$n,Vn,sa),Ea=Ba.dropPosition,ua=Ba.dropLevelOffset,Xa=Ba.dropTargetKey,ra=Ba.dropContainerKey,Ya=Ba.dropTargetPos,Ha=Ba.dropAllowed,Ua=Ba.dragOverNodeKey;if(br.indexOf(Xa)!==-1||!Ha){je.resetDragState();return}if(je.delayedDragEnterLogic||(je.delayedDragEnterLogic={}),Object.keys(je.delayedDragEnterLogic).forEach(function(La){clearTimeout(je.delayedDragEnterLogic[La])}),fa.props.eventKey!==Qt.props.eventKey&&(Bt.persist(),je.delayedDragEnterLogic[Ga]=window.setTimeout(function(){if(je.state.draggingNodeKey!==null){var La=(0,qe.Z)(Vn),si=$n[Qt.props.eventKey];si&&(si.children||[]).length&&(La=(0,Dn.L0)(Vn,Qt.props.eventKey)),"expandedKeys"in je.props||je.setExpandedKeys(La),Rr==null||Rr(La,{node:(0,di.F)(Qt.props),expanded:!0,nativeEvent:Bt.nativeEvent})}},800)),fa.props.eventKey===Xa&&ua===0){je.resetDragState();return}je.setState({dragOverNodeKey:Ua,dropPosition:Ea,dropLevelOffset:ua,dropTargetKey:Xa,dropContainerKey:ra,dropTargetPos:Ya,dropAllowed:Ha}),ta==null||ta({event:Bt,node:(0,di.F)(Qt.props),expandedKeys:Vn})},je.onNodeDragOver=function(Bt,Qt){var rn=je.state,Vn=rn.dragChildrenKeys,$n=rn.flattenNodes,br=rn.keyEntities,sr=rn.expandedKeys,kr=rn.indent,Hr=je.props,ta=Hr.onDragOver,Rr=Hr.allowDrop,Pa=Hr.direction,sa=(0,tn.Z)(je),Da=sa.dragNode;if(Da){var Ga=(0,Dn.OM)(Bt,Da,Qt,kr,je.dragStartMousePosition,Rr,$n,br,sr,Pa),la=Ga.dropPosition,ga=Ga.dropLevelOffset,fa=Ga.dropTargetKey,Ba=Ga.dropContainerKey,Ea=Ga.dropAllowed,ua=Ga.dropTargetPos,Xa=Ga.dragOverNodeKey;Vn.indexOf(fa)!==-1||!Ea||(Da.props.eventKey===fa&&ga===0?je.state.dropPosition===null&&je.state.dropLevelOffset===null&&je.state.dropTargetKey===null&&je.state.dropContainerKey===null&&je.state.dropTargetPos===null&&je.state.dropAllowed===!1&&je.state.dragOverNodeKey===null||je.resetDragState():la===je.state.dropPosition&&ga===je.state.dropLevelOffset&&fa===je.state.dropTargetKey&&Ba===je.state.dropContainerKey&&ua===je.state.dropTargetPos&&Ea===je.state.dropAllowed&&Xa===je.state.dragOverNodeKey||je.setState({dropPosition:la,dropLevelOffset:ga,dropTargetKey:fa,dropContainerKey:Ba,dropTargetPos:ua,dropAllowed:Ea,dragOverNodeKey:Xa}),ta==null||ta({event:Bt,node:(0,di.F)(Qt.props)}))}},je.onNodeDragLeave=function(Bt,Qt){je.currentMouseOverDroppableNodeKey===Qt.props.eventKey&&!Bt.currentTarget.contains(Bt.relatedTarget)&&(je.resetDragState(),je.currentMouseOverDroppableNodeKey=null);var rn=je.props.onDragLeave;rn==null||rn({event:Bt,node:(0,di.F)(Qt.props)})},je.onWindowDragEnd=function(Bt){je.onNodeDragEnd(Bt,null,!0),window.removeEventListener("dragend",je.onWindowDragEnd)},je.onNodeDragEnd=function(Bt,Qt){var rn=je.props.onDragEnd;je.setState({dragOverNodeKey:null}),je.cleanDragState(),rn==null||rn({event:Bt,node:(0,di.F)(Qt.props)}),je.dragNode=null,window.removeEventListener("dragend",je.onWindowDragEnd)},je.onNodeDrop=function(Bt,Qt){var rn,Vn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,$n=je.state,br=$n.dragChildrenKeys,sr=$n.dropPosition,kr=$n.dropTargetKey,Hr=$n.dropTargetPos,ta=$n.dropAllowed;if(ta){var Rr=je.props.onDrop;if(je.setState({dragOverNodeKey:null}),je.cleanDragState(),kr!==null){var Pa=(0,we.Z)((0,we.Z)({},(0,di.H8)(kr,je.getTreeNodeRequiredProps())),{},{active:((rn=je.getActiveItem())===null||rn===void 0?void 0:rn.key)===kr,data:je.state.keyEntities[kr].node}),sa=br.indexOf(kr)!==-1;(0,rt.ZP)(!sa,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Da=(0,Dn.yx)(Hr),Ga={event:Bt,node:(0,di.F)(Pa),dragNode:je.dragNode?(0,di.F)(je.dragNode.props):null,dragNodesKeys:[je.dragNode.props.eventKey].concat(br),dropToGap:sr!==0,dropPosition:sr+Number(Da[Da.length-1])};Vn||Rr==null||Rr(Ga),je.dragNode=null}}},je.cleanDragState=function(){var Bt=je.state.draggingNodeKey;Bt!==null&&je.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),je.dragStartMousePosition=null,je.currentMouseOverDroppableNodeKey=null},je.triggerExpandActionExpand=function(Bt,Qt){var rn=je.state,Vn=rn.expandedKeys,$n=rn.flattenNodes,br=Qt.expanded,sr=Qt.key,kr=Qt.isLeaf;if(!(kr||Bt.shiftKey||Bt.metaKey||Bt.ctrlKey)){var Hr=$n.filter(function(Rr){return Rr.key===sr})[0],ta=(0,di.F)((0,we.Z)((0,we.Z)({},(0,di.H8)(sr,je.getTreeNodeRequiredProps())),{},{data:Hr.data}));je.setExpandedKeys(br?(0,Dn._5)(Vn,sr):(0,Dn.L0)(Vn,sr)),je.onNodeExpand(Bt,ta)}},je.onNodeClick=function(Bt,Qt){var rn=je.props,Vn=rn.onClick,$n=rn.expandAction;$n==="click"&&je.triggerExpandActionExpand(Bt,Qt),Vn==null||Vn(Bt,Qt)},je.onNodeDoubleClick=function(Bt,Qt){var rn=je.props,Vn=rn.onDoubleClick,$n=rn.expandAction;$n==="doubleClick"&&je.triggerExpandActionExpand(Bt,Qt),Vn==null||Vn(Bt,Qt)},je.onNodeSelect=function(Bt,Qt){var rn=je.state.selectedKeys,Vn=je.state,$n=Vn.keyEntities,br=Vn.fieldNames,sr=je.props,kr=sr.onSelect,Hr=sr.multiple,ta=Qt.selected,Rr=Qt[br.key],Pa=!ta;Pa?Hr?rn=(0,Dn.L0)(rn,Rr):rn=[Rr]:rn=(0,Dn._5)(rn,Rr);var sa=rn.map(function(Da){var Ga=$n[Da];return Ga?Ga.node:null}).filter(function(Da){return Da});je.setUncontrolledState({selectedKeys:rn}),kr==null||kr(rn,{event:"select",selected:Pa,node:Qt,selectedNodes:sa,nativeEvent:Bt.nativeEvent})},je.onNodeCheck=function(Bt,Qt,rn){var Vn=je.state,$n=Vn.keyEntities,br=Vn.checkedKeys,sr=Vn.halfCheckedKeys,kr=je.props,Hr=kr.checkStrictly,ta=kr.onCheck,Rr=Qt.key,Pa,sa={event:"check",node:Qt,checked:rn,nativeEvent:Bt.nativeEvent};if(Hr){var Da=rn?(0,Dn.L0)(br,Rr):(0,Dn._5)(br,Rr),Ga=(0,Dn._5)(sr,Rr);Pa={checked:Da,halfChecked:Ga},sa.checkedNodes=Da.map(function(ua){return $n[ua]}).filter(function(ua){return ua}).map(function(ua){return ua.node}),je.setUncontrolledState({checkedKeys:Da})}else{var la=(0,mi.S)([].concat((0,qe.Z)(br),[Rr]),!0,$n),ga=la.checkedKeys,fa=la.halfCheckedKeys;if(!rn){var Ba=new Set(ga);Ba.delete(Rr);var Ea=(0,mi.S)(Array.from(Ba),{checked:!1,halfCheckedKeys:fa},$n);ga=Ea.checkedKeys,fa=Ea.halfCheckedKeys}Pa=ga,sa.checkedNodes=[],sa.checkedNodesPositions=[],sa.halfCheckedKeys=fa,ga.forEach(function(ua){var Xa=$n[ua];if(Xa){var ra=Xa.node,Ya=Xa.pos;sa.checkedNodes.push(ra),sa.checkedNodesPositions.push({node:ra,pos:Ya})}}),je.setUncontrolledState({checkedKeys:ga},!1,{halfCheckedKeys:fa})}ta==null||ta(Pa,sa)},je.onNodeLoad=function(Bt){var Qt=Bt.key,rn=new Promise(function(Vn,$n){je.setState(function(br){var sr=br.loadedKeys,kr=sr===void 0?[]:sr,Hr=br.loadingKeys,ta=Hr===void 0?[]:Hr,Rr=je.props,Pa=Rr.loadData,sa=Rr.onLoad;if(!Pa||kr.indexOf(Qt)!==-1||ta.indexOf(Qt)!==-1)return null;var Da=Pa(Bt);return Da.then(function(){var Ga=je.state.loadedKeys,la=(0,Dn.L0)(Ga,Qt);sa==null||sa(la,{event:"load",node:Bt}),je.setUncontrolledState({loadedKeys:la}),je.setState(function(ga){return{loadingKeys:(0,Dn._5)(ga.loadingKeys,Qt)}}),Vn()}).catch(function(Ga){if(je.setState(function(ga){return{loadingKeys:(0,Dn._5)(ga.loadingKeys,Qt)}}),je.loadingRetryTimes[Qt]=(je.loadingRetryTimes[Qt]||0)+1,je.loadingRetryTimes[Qt]>=_l){var la=je.state.loadedKeys;(0,rt.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),je.setUncontrolledState({loadedKeys:(0,Dn.L0)(la,Qt)}),Vn()}$n(Ga)}),{loadingKeys:(0,Dn.L0)(ta,Qt)}})});return rn.catch(function(){}),rn},je.onNodeMouseEnter=function(Bt,Qt){var rn=je.props.onMouseEnter;rn==null||rn({event:Bt,node:Qt})},je.onNodeMouseLeave=function(Bt,Qt){var rn=je.props.onMouseLeave;rn==null||rn({event:Bt,node:Qt})},je.onNodeContextMenu=function(Bt,Qt){var rn=je.props.onRightClick;rn&&(Bt.preventDefault(),rn({event:Bt,node:Qt}))},je.onFocus=function(){var Bt=je.props.onFocus;je.setState({focused:!0});for(var Qt=arguments.length,rn=new Array(Qt),Vn=0;Vn<Qt;Vn++)rn[Vn]=arguments[Vn];Bt==null||Bt.apply(void 0,rn)},je.onBlur=function(){var Bt=je.props.onBlur;je.setState({focused:!1}),je.onActiveChange(null);for(var Qt=arguments.length,rn=new Array(Qt),Vn=0;Vn<Qt;Vn++)rn[Vn]=arguments[Vn];Bt==null||Bt.apply(void 0,rn)},je.getTreeNodeRequiredProps=function(){var Bt=je.state,Qt=Bt.expandedKeys,rn=Bt.selectedKeys,Vn=Bt.loadedKeys,$n=Bt.loadingKeys,br=Bt.checkedKeys,sr=Bt.halfCheckedKeys,kr=Bt.dragOverNodeKey,Hr=Bt.dropPosition,ta=Bt.keyEntities;return{expandedKeys:Qt||[],selectedKeys:rn||[],loadedKeys:Vn||[],loadingKeys:$n||[],checkedKeys:br||[],halfCheckedKeys:sr||[],dragOverNodeKey:kr,dropPosition:Hr,keyEntities:ta}},je.setExpandedKeys=function(Bt){var Qt=je.state,rn=Qt.treeData,Vn=Qt.fieldNames,$n=(0,di.oH)(rn,Bt,Vn);je.setUncontrolledState({expandedKeys:Bt,flattenNodes:$n},!0)},je.onNodeExpand=function(Bt,Qt){var rn=je.state.expandedKeys,Vn=je.state,$n=Vn.listChanging,br=Vn.fieldNames,sr=je.props,kr=sr.onExpand,Hr=sr.loadData,ta=Qt.expanded,Rr=Qt[br.key];if(!$n){var Pa=rn.indexOf(Rr),sa=!ta;if((0,rt.ZP)(ta&&Pa!==-1||!ta&&Pa===-1,"Expand state not sync with index check"),sa?rn=(0,Dn.L0)(rn,Rr):rn=(0,Dn._5)(rn,Rr),je.setExpandedKeys(rn),kr==null||kr(rn,{node:Qt,expanded:sa,nativeEvent:Bt.nativeEvent}),sa&&Hr){var Da=je.onNodeLoad(Qt);Da&&Da.then(function(){var Ga=(0,di.oH)(je.state.treeData,rn,br);je.setUncontrolledState({flattenNodes:Ga})}).catch(function(){var Ga=je.state.expandedKeys,la=(0,Dn._5)(Ga,Rr);je.setExpandedKeys(la)})}}},je.onListChangeStart=function(){je.setUncontrolledState({listChanging:!0})},je.onListChangeEnd=function(){setTimeout(function(){je.setUncontrolledState({listChanging:!1})})},je.onActiveChange=function(Bt){var Qt=je.state.activeKey,rn=je.props.onActiveChange;Qt!==Bt&&(je.setState({activeKey:Bt}),Bt!==null&&je.scrollTo({key:Bt}),rn==null||rn(Bt))},je.getActiveItem=function(){var Bt=je.state,Qt=Bt.activeKey,rn=Bt.flattenNodes;return Qt===null?null:rn.find(function(Vn){var $n=Vn.key;return $n===Qt})||null},je.offsetActiveKey=function(Bt){var Qt=je.state,rn=Qt.flattenNodes,Vn=Qt.activeKey,$n=rn.findIndex(function(kr){var Hr=kr.key;return Hr===Vn});$n===-1&&Bt<0&&($n=rn.length),$n=($n+Bt+rn.length)%rn.length;var br=rn[$n];if(br){var sr=br.key;je.onActiveChange(sr)}else je.onActiveChange(null)},je.onKeyDown=function(Bt){var Qt=je.state,rn=Qt.activeKey,Vn=Qt.expandedKeys,$n=Qt.checkedKeys,br=Qt.fieldNames,sr=je.props,kr=sr.onKeyDown,Hr=sr.checkable,ta=sr.selectable;switch(Bt.which){case ot.Z.UP:{je.offsetActiveKey(-1),Bt.preventDefault();break}case ot.Z.DOWN:{je.offsetActiveKey(1),Bt.preventDefault();break}}var Rr=je.getActiveItem();if(Rr&&Rr.data){var Pa=je.getTreeNodeRequiredProps(),sa=Rr.data.isLeaf===!1||!!(Rr.data[br.children]||[]).length,Da=(0,di.F)((0,we.Z)((0,we.Z)({},(0,di.H8)(rn,Pa)),{},{data:Rr.data,active:!0}));switch(Bt.which){case ot.Z.LEFT:{sa&&Vn.includes(rn)?je.onNodeExpand({},Da):Rr.parent&&je.onActiveChange(Rr.parent.key),Bt.preventDefault();break}case ot.Z.RIGHT:{sa&&!Vn.includes(rn)?je.onNodeExpand({},Da):Rr.children&&Rr.children.length&&je.onActiveChange(Rr.children[0].key),Bt.preventDefault();break}case ot.Z.ENTER:case ot.Z.SPACE:{Hr&&!Da.disabled&&Da.checkable!==!1&&!Da.disableCheckbox?je.onNodeCheck({},Da,!$n.includes(rn)):!Hr&&ta&&!Da.disabled&&Da.selectable!==!1&&je.onNodeSelect({},Da);break}}}kr==null||kr(Bt)},je.setUncontrolledState=function(Bt){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,rn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!je.destroyed){var Vn=!1,$n=!0,br={};Object.keys(Bt).forEach(function(sr){if(sr in je.props){$n=!1;return}Vn=!0,br[sr]=Bt[sr]}),Vn&&(!Qt||$n)&&je.setState((0,we.Z)((0,we.Z)({},br),rn))}},je.scrollTo=function(Bt){je.listRef.current.scrollTo(Bt)},je}return(0,$t.Z)(Ht,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Yt=this.props.activeKey;Yt!==void 0&&Yt!==this.state.activeKey&&(this.setState({activeKey:Yt}),Yt!==null&&this.scrollTo({key:Yt}))}},{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 Yt,fn=this.state,Rn=fn.focused,Bt=fn.flattenNodes,Qt=fn.keyEntities,rn=fn.draggingNodeKey,Vn=fn.activeKey,$n=fn.dropLevelOffset,br=fn.dropContainerKey,sr=fn.dropTargetKey,kr=fn.dropPosition,Hr=fn.dragOverNodeKey,ta=fn.indent,Rr=this.props,Pa=Rr.prefixCls,sa=Rr.className,Da=Rr.style,Ga=Rr.showLine,la=Rr.focusable,ga=Rr.tabIndex,fa=ga===void 0?0:ga,Ba=Rr.selectable,Ea=Rr.showIcon,ua=Rr.icon,Xa=Rr.switcherIcon,ra=Rr.draggable,Ya=Rr.checkable,Ha=Rr.checkStrictly,Ua=Rr.disabled,La=Rr.motion,si=Rr.loadData,gi=Rr.filterTreeNode,zo=Rr.height,No=Rr.itemHeight,yo=Rr.virtual,ll=Rr.titleRender,Lo=Rr.dropIndicatorRender,kl=Rr.onContextMenu,Pl=Rr.onScroll,_i=Rr.direction,fi=Rr.rootClassName,bo=Rr.rootStyle,Ho=(0,et.Z)(this.props,{aria:!0,data:!0}),co;return ra&&((0,Se.Z)(ra)==="object"?co=ra:typeof ra=="function"?co={nodeDraggable:ra}:co={}),ue.createElement(Cr.k.Provider,{value:{prefixCls:Pa,selectable:Ba,showIcon:Ea,icon:ua,switcherIcon:Xa,draggable:co,draggingNodeKey:rn,checkable:Ya,checkStrictly:Ha,disabled:Ua,keyEntities:Qt,dropLevelOffset:$n,dropContainerKey:br,dropTargetKey:sr,dropPosition:kr,dragOverNodeKey:Hr,indent:ta,direction:_i,dropIndicatorRender:Lo,loadData:si,filterTreeNode:gi,titleRender:ll,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}},ue.createElement("div",{role:"tree",className:fe()(Pa,sa,fi,(Yt={},(0,me.Z)(Yt,"".concat(Pa,"-show-line"),Ga),(0,me.Z)(Yt,"".concat(Pa,"-focused"),Rn),(0,me.Z)(Yt,"".concat(Pa,"-active-focused"),Vn!==null),Yt)),style:bo},ue.createElement(Vo,(0,De.Z)({ref:this.listRef,prefixCls:Pa,style:Da,data:Bt,disabled:Ua,selectable:Ba,checkable:!!Ya,motion:La,dragging:rn!==null,height:zo,itemHeight:No,virtual:yo,focusable:la,focused:Rn,tabIndex:fa,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:kl,onScroll:Pl},this.getTreeNodeRequiredProps(),Ho))))}}],[{key:"getDerivedStateFromProps",value:function(Yt,fn){var Rn=fn.prevProps,Bt={prevProps:Yt};function Qt(la){return!Rn&&la in Yt||Rn&&Rn[la]!==Yt[la]}var rn,Vn=fn.fieldNames;if(Qt("fieldNames")&&(Vn=(0,di.w$)(Yt.fieldNames),Bt.fieldNames=Vn),Qt("treeData")?rn=Yt.treeData:Qt("children")&&((0,rt.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),rn=(0,di.zn)(Yt.children)),rn){Bt.treeData=rn;var $n=(0,di.I8)(rn,{fieldNames:Vn});Bt.keyEntities=(0,we.Z)((0,me.Z)({},Ki,ko),$n.keyEntities)}var br=Bt.keyEntities||fn.keyEntities;if(Qt("expandedKeys")||Rn&&Qt("autoExpandParent"))Bt.expandedKeys=Yt.autoExpandParent||!Rn&&Yt.defaultExpandParent?(0,Dn.r7)(Yt.expandedKeys,br):Yt.expandedKeys;else if(!Rn&&Yt.defaultExpandAll){var sr=(0,we.Z)({},br);delete sr[Ki],Bt.expandedKeys=Object.keys(sr).map(function(la){return sr[la].key})}else!Rn&&Yt.defaultExpandedKeys&&(Bt.expandedKeys=Yt.autoExpandParent||Yt.defaultExpandParent?(0,Dn.r7)(Yt.defaultExpandedKeys,br):Yt.defaultExpandedKeys);if(Bt.expandedKeys||delete Bt.expandedKeys,rn||Bt.expandedKeys){var kr=(0,di.oH)(rn||fn.treeData,Bt.expandedKeys||fn.expandedKeys,Vn);Bt.flattenNodes=kr}if(Yt.selectable&&(Qt("selectedKeys")?Bt.selectedKeys=(0,Dn.BT)(Yt.selectedKeys,Yt):!Rn&&Yt.defaultSelectedKeys&&(Bt.selectedKeys=(0,Dn.BT)(Yt.defaultSelectedKeys,Yt))),Yt.checkable){var Hr;if(Qt("checkedKeys")?Hr=(0,Dn.E6)(Yt.checkedKeys)||{}:!Rn&&Yt.defaultCheckedKeys?Hr=(0,Dn.E6)(Yt.defaultCheckedKeys)||{}:rn&&(Hr=(0,Dn.E6)(Yt.checkedKeys)||{checkedKeys:fn.checkedKeys,halfCheckedKeys:fn.halfCheckedKeys}),Hr){var ta=Hr,Rr=ta.checkedKeys,Pa=Rr===void 0?[]:Rr,sa=ta.halfCheckedKeys,Da=sa===void 0?[]:sa;if(!Yt.checkStrictly){var Ga=(0,mi.S)(Pa,!0,br);Pa=Ga.checkedKeys,Da=Ga.halfCheckedKeys}Bt.checkedKeys=Pa,Bt.halfCheckedKeys=Da}}return Qt("loadedKeys")&&(Bt.loadedKeys=Yt.loadedKeys),Bt}}]),Ht}(ue.Component);jo.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:go,allowDrop:function(){return!0},expandAction:!1},jo.TreeNode=_a.Z;var mo=jo,el=mo,Vl=ue.createContext(null),fl=Vl;function Dl(_e){return Array.isArray(_e)?_e:_e!==void 0?[_e]:[]}function Oo(_e){var yt=_e||{},Ht=yt.label,je=yt.value,Yt=yt.children,fn=je||"value";return{_title:Ht?[Ht]:["title","label"],value:fn,key:fn,children:Yt||"children"}}function jl(_e){return!_e||_e.disabled||_e.disableCheckbox||_e.checkable===!1}function ls(_e,yt){var Ht=[];function je(Yt){Yt.forEach(function(fn){var Rn=fn[yt.children];Rn&&(Ht.push(fn[yt.value]),je(Rn))})}return je(_e),Ht}function Ql(_e){return _e==null}var Al={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Tl=function(yt,Ht){var je=ut(),Yt=je.prefixCls,fn=je.multiple,Rn=je.searchValue,Bt=je.toggleOpen,Qt=je.open,rn=je.notFoundContent,Vn=ue.useContext(fl),$n=Vn.virtual,br=Vn.listHeight,sr=Vn.listItemHeight,kr=Vn.treeData,Hr=Vn.fieldNames,ta=Vn.onSelect,Rr=Vn.dropdownMatchSelectWidth,Pa=Vn.treeExpandAction,sa=ue.useContext(at),Da=sa.checkable,Ga=sa.checkedKeys,la=sa.halfCheckedKeys,ga=sa.treeExpandedKeys,fa=sa.treeDefaultExpandAll,Ba=sa.treeDefaultExpandedKeys,Ea=sa.onTreeExpand,ua=sa.treeIcon,Xa=sa.showTreeIcon,ra=sa.switcherIcon,Ya=sa.treeLine,Ha=sa.treeNodeFilterProp,Ua=sa.loadData,La=sa.treeLoadedKeys,si=sa.treeMotion,gi=sa.onTreeLoad,zo=sa.keyEntities,No=ue.useRef(),yo=(0,so.Z)(function(){return kr},[Qt,kr],function(Xi,Oi){return Oi[0]&&Xi[1]!==Oi[1]}),ll=ue.useState(null),Lo=(0,ke.Z)(ll,2),kl=Lo[0],Pl=Lo[1],_i=zo[kl],fi=ue.useMemo(function(){return Da?{checked:Ga,halfChecked:la}:null},[Da,Ga,la]);ue.useEffect(function(){if(Qt&&!fn&&Ga.length){var Xi;(Xi=No.current)===null||Xi===void 0||Xi.scrollTo({key:Ga[0]}),Pl(Ga[0])}},[Qt]);var bo=String(Rn).toLowerCase(),Ho=function(Oi){return bo?String(Oi[Ha]).toLowerCase().includes(bo):!1},co=ue.useState(Ba),wo=(0,ke.Z)(co,2),oo=wo[0],_o=wo[1],sl=ue.useState(null),Nl=(0,ke.Z)(sl,2),Fl=Nl[0],Fo=Nl[1],to=ue.useMemo(function(){return ga?(0,qe.Z)(ga):Rn?Fl:oo},[oo,Fl,ga,Rn]);ue.useEffect(function(){Rn&&Fo(ls(kr,Hr))},[Rn]);var tl=function(Oi){_o(Oi),Fo(Oi),Ea&&Ea(Oi)},hl=function(Oi){Oi.preventDefault()},Io=function(Oi,nl){var Uo=nl.node;Da&&jl(Uo)||(ta(Uo.key,{selected:!Ga.includes(Uo.key)}),fn||Bt(!1))};if(ue.useImperativeHandle(Ht,function(){var Xi;return{scrollTo:(Xi=No.current)===null||Xi===void 0?void 0:Xi.scrollTo,onKeyDown:function(nl){var Uo,Bl=nl.which;switch(Bl){case ot.Z.UP:case ot.Z.DOWN:case ot.Z.LEFT:case ot.Z.RIGHT:(Uo=No.current)===null||Uo===void 0||Uo.onKeyDown(nl);break;case ot.Z.ENTER:{if(_i){var no=(_i==null?void 0:_i.node)||{},Ja=no.selectable,Di=no.value;Ja!==!1&&Io(null,{node:{key:kl},selected:!Ga.includes(Di)})}break}case ot.Z.ESC:Bt(!1)}},onKeyUp:function(){}}}),yo.length===0)return ue.createElement("div",{role:"listbox",className:"".concat(Yt,"-empty"),onMouseDown:hl},rn);var Zo={fieldNames:Hr};return La&&(Zo.loadedKeys=La),to&&(Zo.expandedKeys=to),ue.createElement("div",{onMouseDown:hl},_i&&Qt&&ue.createElement("span",{style:Al,"aria-live":"assertive"},_i.node.value),ue.createElement(el,(0,De.Z)({ref:No,focusable:!1,prefixCls:"".concat(Yt,"-tree"),treeData:yo,height:br,itemHeight:sr,virtual:$n!==!1&&Rr!==!1,multiple:fn,icon:ua,showIcon:Xa,switcherIcon:ra,showLine:Ya,loadData:Rn?null:Ua,motion:si,activeKey:kl,checkable:Da,checkStrictly:!0,checkedKeys:fi,selectedKeys:Da?[]:Ga,defaultExpandAll:fa},Zo,{onActiveChange:Pl,onSelect:Io,onCheck:Io,onExpand:tl,onLoad:gi,filterTreeNode:Ho,expandAction:Pa})))},$l=ue.forwardRef(Tl);$l.displayName="OptionList";var Rl=$l,Il="SHOW_ALL",ss="SHOW_PARENT",us="SHOW_CHILD";function ms(_e,yt,Ht,je){var Yt=new Set(_e);return yt===us?_e.filter(function(fn){var Rn=Ht[fn];return!(Rn&&Rn.children&&Rn.children.some(function(Bt){var Qt=Bt.node;return Yt.has(Qt[je.value])})&&Rn.children.every(function(Bt){var Qt=Bt.node;return jl(Qt)||Yt.has(Qt[je.value])}))}):yt===ss?_e.filter(function(fn){var Rn=Ht[fn],Bt=Rn?Rn.parent:null;return!(Bt&&!jl(Bt.node)&&Yt.has(Bt.key))}):_e}function ts(_e){var yt=_e.searchPlaceholder,Ht=_e.treeCheckStrictly,je=_e.treeCheckable,Yt=_e.labelInValue,fn=_e.value,Rn=_e.multiple;warning(!yt,"`searchPlaceholder` has been removed."),Ht&&Yt===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Yt||Ht)&&warning(toArray(fn).every(function(Bt){return Bt&&_typeof(Bt)==="object"&&"value"in Bt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Ht||Rn||je?warning(!fn||Array.isArray(fn),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(fn),"`value` should not be array when `TreeSelect` is single mode.")}var ns=null,Go=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function ol(_e){return!_e||(0,Se.Z)(_e)!=="object"}var Wl=ue.forwardRef(function(_e,yt){var Ht=_e.id,je=_e.prefixCls,Yt=je===void 0?"rc-tree-select":je,fn=_e.value,Rn=_e.defaultValue,Bt=_e.onChange,Qt=_e.onSelect,rn=_e.onDeselect,Vn=_e.searchValue,$n=_e.inputValue,br=_e.onSearch,sr=_e.autoClearSearchValue,kr=sr===void 0?!0:sr,Hr=_e.filterTreeNode,ta=_e.treeNodeFilterProp,Rr=ta===void 0?"value":ta,Pa=_e.showCheckedStrategy,sa=_e.treeNodeLabelProp,Da=_e.multiple,Ga=_e.treeCheckable,la=_e.treeCheckStrictly,ga=_e.labelInValue,fa=_e.fieldNames,Ba=_e.treeDataSimpleMode,Ea=_e.treeData,ua=_e.children,Xa=_e.loadData,ra=_e.treeLoadedKeys,Ya=_e.onTreeLoad,Ha=_e.treeDefaultExpandAll,Ua=_e.treeExpandedKeys,La=_e.treeDefaultExpandedKeys,si=_e.onTreeExpand,gi=_e.treeExpandAction,zo=_e.virtual,No=_e.listHeight,yo=No===void 0?200:No,ll=_e.listItemHeight,Lo=ll===void 0?20:ll,kl=_e.onDropdownVisibleChange,Pl=_e.dropdownMatchSelectWidth,_i=Pl===void 0?!0:Pl,fi=_e.treeLine,bo=_e.treeIcon,Ho=_e.showTreeIcon,co=_e.switcherIcon,wo=_e.treeMotion,oo=(0,de.Z)(_e,Go),_o=Aa(Ht),sl=Ga&&!la,Nl=Ga||la,Fl=la||ga,Fo=Nl||Da,to=(0,Pe.Z)(Rn,{value:fn}),tl=(0,ke.Z)(to,2),hl=tl[0],Io=tl[1],Zo=ue.useMemo(function(){return Ga?Pa||us:Il},[Pa,Ga]),Xi=ue.useMemo(function(){return Oo(fa)},[JSON.stringify(fa)]),Oi=(0,Pe.Z)("",{value:Vn!==void 0?Vn:$n,postState:function(pi){return pi||""}}),nl=(0,ke.Z)(Oi,2),Uo=nl[0],Bl=nl[1],no=function(pi){Bl(pi),br==null||br(pi)},Ja=Ke(Ea,ua,Ba),Di=Mi(Ja,Xi),Ri=Di.keyEntities,ya=Di.valueEntities,Qa=ue.useCallback(function(vi){var pi=[],yi=[];return vi.forEach(function(Vi){ya.has(Vi)?yi.push(Vi):pi.push(Vi)}),{missingRawValues:pi,existRawValues:yi}},[ya]),Ji=pe(Ja,Uo,{fieldNames:Xi,treeNodeFilterProp:Rr,filterTreeNode:Hr}),ul=ue.useCallback(function(vi){if(vi){if(sa)return vi[sa];for(var pi=Xi._title,yi=0;yi<pi.length;yi+=1){var Vi=vi[pi[yi]];if(Vi!==void 0)return Vi}}},[Xi,sa]),Jl=ue.useCallback(function(vi){var pi=Dl(vi);return pi.map(function(yi){return ol(yi)?{value:yi}:yi})},[]),ws=ue.useCallback(function(vi){var pi=Jl(vi);return pi.map(function(yi){var Vi=yi.label,Ko=yi.value,Li=yi.halfChecked,Za,Ka=ya.get(Ko);if(Ka){var ii;Vi=(ii=Vi)!==null&&ii!==void 0?ii:ul(Ka.node),Za=Ka.node.disabled}else if(Vi===void 0){var Ti=Jl(hl).find(function(lo){return lo.value===Ko});Vi=Ti.label}return{label:Vi,value:Ko,halfChecked:Li,disabled:Za}})},[ya,ul,Jl,hl]),Te=ue.useMemo(function(){return Jl(hl)},[Jl,hl]),Ze=ue.useMemo(function(){var vi=[],pi=[];return Te.forEach(function(yi){yi.halfChecked?pi.push(yi):vi.push(yi)}),[vi,pi]},[Te]),Et=(0,ke.Z)(Ze,2),Lt=Et[0],Xt=Et[1],Sn=ue.useMemo(function(){return Lt.map(function(vi){return vi.value})},[Lt]),nr=Ui(Lt,Xt,sl,Ri),wr=(0,ke.Z)(nr,2),jn=wr[0],Un=wr[1],Sr=ue.useMemo(function(){var vi=ms(jn,Zo,Ri,Xi),pi=vi.map(function(Li){var Za,Ka,ii;return(Za=(Ka=Ri[Li])===null||Ka===void 0||(ii=Ka.node)===null||ii===void 0?void 0:ii[Xi.value])!==null&&Za!==void 0?Za:Li}),yi=pi.map(function(Li){var Za=Lt.find(function(Ka){return Ka.value===Li});return{value:Li,label:Za==null?void 0:Za.label}}),Vi=ws(yi),Ko=Vi[0];return!Fo&&Ko&&Ql(Ko.value)&&Ql(Ko.label)?[]:Vi.map(function(Li){var Za;return(0,we.Z)((0,we.Z)({},Li),{},{label:(Za=Li.label)!==null&&Za!==void 0?Za:Li.value})})},[Xi,Fo,jn,Lt,ws,Zo,Ri]),kn=xi(Sr),Vr=(0,ke.Z)(kn,1),xa=Vr[0],wa=Oe(function(vi,pi,yi){var Vi=ws(vi);if(Io(Vi),kr&&Bl(""),Bt){var Ko=vi;if(sl){var Li=ms(vi,Zo,Ri,Xi);Ko=Li.map(function(pl){var Kl=ya.get(pl);return Kl?Kl.node[Xi.value]:pl})}var Za=pi||{triggerValue:void 0,selected:void 0},Ka=Za.triggerValue,ii=Za.selected,Ti=Ko;if(la){var lo=Xt.filter(function(pl){return!Ko.includes(pl.value)});Ti=[].concat((0,qe.Z)(Ti),(0,qe.Z)(lo))}var rl=ws(Ti),Po={preValue:Lt,triggerValue:Ka},To=!0;(la||yi==="selection"&&!ii)&&(To=!1),Nt(Po,Ka,vi,Ja,To,Xi),Nl?Po.checked=ii:Po.selected=ii;var Ml=Fl?rl:rl.map(function(pl){return pl.value});Bt(Fo?Ml:Ml[0],Fl?null:rl.map(function(pl){return pl.label}),Po)}}),Ra=ue.useCallback(function(vi,pi){var yi,Vi=pi.selected,Ko=pi.source,Li=Ri[vi],Za=Li==null?void 0:Li.node,Ka=(yi=Za==null?void 0:Za[Xi.value])!==null&&yi!==void 0?yi:vi;if(!Fo)wa([Ka],{selected:!0,triggerValue:Ka},"option");else{var ii=Vi?[].concat((0,qe.Z)(Sn),[Ka]):jn.filter(function(Kl){return Kl!==Ka});if(sl){var Ti=Qa(ii),lo=Ti.missingRawValues,rl=Ti.existRawValues,Po=rl.map(function(Kl){return ya.get(Kl).key}),To;if(Vi){var Ml=(0,mi.S)(Po,!0,Ri);To=Ml.checkedKeys}else{var pl=(0,mi.S)(Po,{checked:!1,halfCheckedKeys:Un},Ri);To=pl.checkedKeys}ii=[].concat((0,qe.Z)(lo),(0,qe.Z)(To.map(function(Kl){return Ri[Kl].node[Xi.value]})))}wa(ii,{selected:Vi,triggerValue:Ka},Ko||"option")}Vi||!Fo?Qt==null||Qt(Ka,tt(Za)):rn==null||rn(Ka,tt(Za))},[Qa,ya,Ri,Xi,Fo,Sn,wa,sl,Qt,rn,jn,Un]),Qr=ue.useCallback(function(vi){if(kl){var pi={};Object.defineProperty(pi,"documentClickClose",{get:function(){return(0,rt.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),kl(vi,pi)}},[kl]),li=Oe(function(vi,pi){var yi=vi.map(function(Vi){return Vi.value});if(pi.type==="clear"){wa(yi,{},"selection");return}pi.values.length&&Ra(pi.values[0].value,{selected:!1,source:"selection"})}),qa=ue.useMemo(function(){return{virtual:zo,dropdownMatchSelectWidth:_i,listHeight:yo,listItemHeight:Lo,treeData:Ji,fieldNames:Xi,onSelect:Ra,treeExpandAction:gi}},[zo,_i,yo,Lo,Ji,Xi,Ra,gi]),Fi=ue.useMemo(function(){return{checkable:Nl,loadData:Xa,treeLoadedKeys:ra,onTreeLoad:Ya,checkedKeys:jn,halfCheckedKeys:Un,treeDefaultExpandAll:Ha,treeExpandedKeys:Ua,treeDefaultExpandedKeys:La,onTreeExpand:si,treeIcon:bo,treeMotion:wo,showTreeIcon:Ho,switcherIcon:co,treeLine:fi,treeNodeFilterProp:Rr,keyEntities:Ri}},[Nl,Xa,ra,Ya,jn,Un,Ha,Ua,La,si,bo,wo,Ho,co,fi,Rr,Ri]);return ue.createElement(fl.Provider,{value:qa},ue.createElement(at.Provider,{value:Fi},ue.createElement(Mn,(0,De.Z)({ref:yt},oo,{id:_o,prefixCls:Yt,mode:Fo?"multiple":void 0,displayValues:xa,onDisplayValuesChange:li,searchValue:Uo,onSearch:no,OptionList:Rl,emptyOptions:!Ja.length,onDropdownVisibleChange:Qr,dropdownMatchSelectWidth:_i}))))}),Xl=Wl;Xl.TreeNode=Wo,Xl.SHOW_ALL=Il,Xl.SHOW_PARENT=ss,Xl.SHOW_CHILD=us;var hs=Xl,xs=hs,Ms=ee(10366),zs=ee(8745),Ws=ee(33603),Bs=ee(9708),Xs=ee(53124),Ul=ee(98866),Le=ee(88258),Je=ee(98675),it=ee(65223),Ce=ee(87244),Ie=ee(13458),St=ee(78642),bt=ee(46163),en=ee(4173),_t=ee(99184),Wt=ee(63185),Wn=ee(45503),bn=ee(67968),On=ee(32157);const Mr=_e=>{const{componentCls:yt,treePrefixCls:Ht,colorBgElevated:je}=_e,Yt=`.${Ht}`;return[{[`${yt}-dropdown`]:[{padding:`${_e.paddingXS}px ${_e.paddingXS/2}px`},(0,On.Yk)(Ht,(0,Wn.TS)(_e,{colorBgContainer:je})),{[Yt]:{borderRadius:0,[`${Yt}-list-holder-inner`]:{alignItems:"stretch",[`${Yt}-treenode`]:{[`${Yt}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Wt.C2)(`${Ht}-checkbox`,_e),{"&-rtl":{direction:"rtl",[`${Yt}-switcher${Yt}-switcher_close`]:{[`${Yt}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function vr(_e,yt){return(0,bn.Z)("TreeSelect",Ht=>{const je=(0,Wn.TS)(Ht,{treePrefixCls:yt});return[Mr(je)]},On.TM)(_e)}var ir=function(_e,yt){var Ht={};for(var je in _e)Object.prototype.hasOwnProperty.call(_e,je)&&yt.indexOf(je)<0&&(Ht[je]=_e[je]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yt=0,je=Object.getOwnPropertySymbols(_e);Yt<je.length;Yt++)yt.indexOf(je[Yt])<0&&Object.prototype.propertyIsEnumerable.call(_e,je[Yt])&&(Ht[je[Yt]]=_e[je[Yt]]);return Ht};const ur=(_e,yt)=>{var Ht,{prefixCls:je,size:Yt,disabled:fn,bordered:Rn=!0,className:Bt,rootClassName:Qt,treeCheckable:rn,multiple:Vn,listHeight:$n=256,listItemHeight:br=26,placement:sr,notFoundContent:kr,switcherIcon:Hr,treeLine:ta,getPopupContainer:Rr,popupClassName:Pa,dropdownClassName:sa,treeIcon:Da=!1,transitionName:Ga,choiceTransitionName:la="",status:ga,treeExpandAction:fa,builtinPlacements:Ba,dropdownMatchSelectWidth:Ea,popupMatchSelectWidth:ua,allowClear:Xa}=_e,ra=ir(_e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:Ya,getPrefixCls:Ha,renderEmpty:Ua,direction:La,virtual:si,popupMatchSelectWidth:gi,popupOverflow:zo}=ue.useContext(Xs.E_),No=Ha(),yo=Ha("select",je),ll=Ha("select-tree",je),Lo=Ha("tree-select",je),{compactSize:kl,compactItemClassnames:Pl}=(0,en.ri)(yo,La),[_i,fi]=(0,Ce.Z)(yo),[bo]=vr(Lo,ll),Ho=fe()(Pa||sa,`${Lo}-dropdown`,{[`${Lo}-dropdown-rtl`]:La==="rtl"},Qt,fi),co=!!(rn||Vn),wo=(0,St.Z)(ra.suffixIcon,ra.showArrow),oo=(Ht=ua!=null?ua:Ea)!==null&&Ht!==void 0?Ht:gi,{status:_o,hasFeedback:sl,isFormItemInput:Nl,feedbackIcon:Fl}=ue.useContext(it.aM),Fo=(0,Bs.F)(_o,ga),{suffixIcon:to,removeIcon:tl,clearIcon:hl}=(0,bt.Z)(Object.assign(Object.assign({},ra),{multiple:co,showSuffixIcon:wo,hasFeedback:sl,feedbackIcon:Fl,prefixCls:yo,componentName:"TreeSelect"})),Io=Xa===!0?{clearIcon:hl}:Xa;let Zo;kr!==void 0?Zo=kr:Zo=(Ua==null?void 0:Ua("Select"))||ue.createElement(Le.Z,{componentName:"Select"});const Xi=(0,Ms.Z)(ra,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Oi=ue.useMemo(()=>sr!==void 0?sr:La==="rtl"?"bottomRight":"bottomLeft",[sr,La]),nl=(0,Ie.Z)(Ba,zo),Uo=(0,Je.Z)(ya=>{var Qa;return(Qa=Yt!=null?Yt:kl)!==null&&Qa!==void 0?Qa:ya}),Bl=ue.useContext(Ul.Z),no=fn!=null?fn:Bl,Ja=fe()(!je&&Lo,{[`${yo}-lg`]:Uo==="large",[`${yo}-sm`]:Uo==="small",[`${yo}-rtl`]:La==="rtl",[`${yo}-borderless`]:!Rn,[`${yo}-in-form-item`]:Nl},(0,Bs.Z)(yo,Fo,sl),Pl,Bt,Qt,fi),Di=ya=>ue.createElement(_t.Z,{prefixCls:ll,switcherIcon:Hr,treeNodeProps:ya,showLine:ta}),Ri=ue.createElement(xs,Object.assign({virtual:si,disabled:no},Xi,{dropdownMatchSelectWidth:oo,builtinPlacements:nl,ref:yt,prefixCls:yo,className:Ja,listHeight:$n,listItemHeight:br,treeCheckable:rn&&ue.createElement("span",{className:`${yo}-tree-checkbox-inner`}),treeLine:!!ta,suffixIcon:to,multiple:co,placement:Oi,removeIcon:tl,allowClear:Io,switcherIcon:Di,showTreeIcon:Da,notFoundContent:Zo,getPopupContainer:Rr||Ya,treeMotion:null,dropdownClassName:Ho,choiceTransitionName:(0,Ws.m)(No,"",la),transitionName:(0,Ws.m)(No,"slide-up",Ga),treeExpandAction:fa}));return _i(bo(Ri))},Wr=ue.forwardRef(ur),na=(0,zs.Z)(Wr);Wr.TreeNode=Wo,Wr.SHOW_ALL=Il,Wr.SHOW_PARENT=ss,Wr.SHOW_CHILD=us,Wr._InternalPanelDoNotUseOrYouWillBeFired=na;var Ma=Wr},79870:function(Hn,ln,ee){"use strict";ee.d(ln,{default:function(){return $o}});var ne=ee(87462),fe=ee(4942),De=ee(71002),qe=ee(1413),we=ee(74902),ke=ee(15671),de=ee(43144),Se=ee(97326),me=ee(60136),Pe=ee(51630),rt=ee(94184),ue=ee.n(rt),Ue={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(tt){var Nt=tt.keyCode;if(tt.altKey&&!tt.ctrlKey||tt.metaKey||Nt>=Ue.F1&&Nt<=Ue.F12)return!1;switch(Nt){case Ue.ALT:case Ue.CAPS_LOCK:case Ue.CONTEXT_MENU:case Ue.CTRL:case Ue.DOWN:case Ue.END:case Ue.ESC:case Ue.HOME:case Ue.INSERT:case Ue.LEFT:case Ue.MAC_FF_META:case Ue.META:case Ue.NUMLOCK:case Ue.NUM_CENTER:case Ue.PAGE_DOWN:case Ue.PAGE_UP:case Ue.PAUSE:case Ue.PRINT_SCREEN:case Ue.RIGHT:case Ue.SHIFT:case Ue.UP:case Ue.WIN_KEY:case Ue.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(tt){if(tt>=Ue.ZERO&&tt<=Ue.NINE||tt>=Ue.NUM_ZERO&&tt<=Ue.NUM_MULTIPLY||tt>=Ue.A&&tt<=Ue.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&tt===0)return!0;switch(tt){case Ue.SPACE:case Ue.QUESTION_MARK:case Ue.NUM_PLUS:case Ue.NUM_MINUS:case Ue.NUM_PERIOD:case Ue.NUM_DIVISION:case Ue.SEMICOLON:case Ue.DASH:case Ue.EQUALS:case Ue.COMMA:case Ue.PERIOD:case Ue.SLASH:case Ue.APOSTROPHE:case Ue.SINGLE_QUOTE:case Ue.OPEN_SQUARE_BRACKET:case Ue.BACKSLASH:case Ue.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},mt=Ue,ot=ee(34952),vt=ee(72978),Ee=ee(67294),wt=ee(69610);function Tt(He){var tt=He.dropPosition,Nt=He.dropLevelOffset,pe=He.indent,Oe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(tt){case-1:Oe.top=0,Oe.left=-Nt*pe;break;case 1:Oe.bottom=0,Oe.left=-Nt*pe;break;case 0:Oe.bottom=0,Oe.left=pe;break}return Ee.createElement("div",{style:Oe})}var $e=ee(36459),ut=ee(97685),ye=ee(45987);function ce(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Xe=ce()?Ee.useLayoutEffect:Ee.useEffect,et=Xe,st=function(tt,Nt){var pe=React.useRef(!0);Xe(function(){if(!pe.current)return tt()},Nt),Xe(function(){return pe.current=!1,function(){pe.current=!0}},[])},ft=ee(73299),Re=ee(73935);function Be(He){return He instanceof HTMLElement||He instanceof SVGElement}function gt(He){return Be(He)?He:He instanceof Ee.Component?Re.findDOMNode(He):null}var ze=ee(28580);function ct(He,tt,Nt){var pe=React.useRef({});return(!("value"in pe.current)||Nt(pe.current.condition,tt))&&(pe.current.value=He(),pe.current.condition=tt),pe.current.value}function nt(He,tt){typeof He=="function"?He(tt):(0,De.Z)(He)==="object"&&He&&"current"in He&&(He.current=tt)}function Ot(){for(var He=arguments.length,tt=new Array(He),Nt=0;Nt<He;Nt++)tt[Nt]=arguments[Nt];var pe=tt.filter(function(Oe){return Oe});return pe.length<=1?pe[0]:function(Oe){tt.forEach(function(Ae){nt(Ae,Oe)})}}function Rt(){for(var He=arguments.length,tt=new Array(He),Nt=0;Nt<He;Nt++)tt[Nt]=arguments[Nt];return useMemo(function(){return Ot.apply(void 0,tt)},tt,function(pe,Oe){return pe.length===Oe.length&&pe.every(function(Ae,Ke){return Ae===Oe[Ke]})})}function an(He){var tt,Nt,pe=(0,ze.isMemo)(He)?He.type.type:He.type;return!(typeof pe=="function"&&!((tt=pe.prototype)!==null&&tt!==void 0&&tt.render)||typeof He=="function"&&!((Nt=He.prototype)!==null&&Nt!==void 0&&Nt.render))}function ht(He,tt){var Nt={};return Nt[He.toLowerCase()]=tt.toLowerCase(),Nt["Webkit".concat(He)]="webkit".concat(tt),Nt["Moz".concat(He)]="moz".concat(tt),Nt["ms".concat(He)]="MS".concat(tt),Nt["O".concat(He)]="o".concat(tt.toLowerCase()),Nt}function Ne(He,tt){var Nt={animationend:ht("Animation","AnimationEnd"),transitionend:ht("Transition","TransitionEnd")};return He&&("AnimationEvent"in tt||delete Nt.animationend.animation,"TransitionEvent"in tt||delete Nt.transitionend.transition),Nt}var At=Ne(ce(),typeof window!="undefined"?window:{}),An={};if(ce()){var jt=document.createElement("div");An=jt.style}var Mt={};function Kt(He){if(Mt[He])return Mt[He];var tt=At[He];if(tt)for(var Nt=Object.keys(tt),pe=Nt.length,Oe=0;Oe<pe;Oe+=1){var Ae=Nt[Oe];if(Object.prototype.hasOwnProperty.call(tt,Ae)&&Ae in An)return Mt[He]=tt[Ae],Mt[He]}return""}var sn=Kt("animationend"),wn=Kt("transitionend"),vn=!!(sn&&wn),cn=sn||"animationend",Nn=wn||"transitionend";function dr(He,tt){if(!He)return null;if((0,De.Z)(He)==="object"){var Nt=tt.replace(/-\w/g,function(pe){return pe[1].toUpperCase()});return He[Nt]}return"".concat(He,"-").concat(tt)}var En="none",Ge="appear",ve="enter",he="leave",be="none",ge="prepare",se="start",Ye="active",xt="end";function pn(He){var tt=Ee.useRef(!1),Nt=Ee.useState(He),pe=(0,ut.Z)(Nt,2),Oe=pe[0],Ae=pe[1];Ee.useEffect(function(){return tt.current=!1,function(){tt.current=!0}},[]);function Ke(Qe,at){at&&tt.current||Ae(Qe)}return[Oe,Ke]}var on=function(tt){return+setTimeout(tt,16)},In=function(tt){return clearTimeout(tt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(on=function(tt){return window.requestAnimationFrame(tt)},In=function(tt){return window.cancelAnimationFrame(tt)});var Qn=0,_n=new Map;function Vt(He){_n.delete(He)}var gn=function(tt){var Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Qn+=1;var pe=Qn;function Oe(Ae){if(Ae===0)Vt(pe),tt();else{var Ke=on(function(){Oe(Ae-1)});_n.set(pe,Ke)}}return Oe(Nt),pe};gn.cancel=function(He){var tt=_n.get(He);return Vt(tt),In(tt)};var Fn=gn,Tn=function(){var He=Ee.useRef(null);function tt(){Fn.cancel(He.current)}function Nt(pe){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;tt();var Ae=Fn(function(){Oe<=1?pe({isCanceled:function(){return Ae!==He.current}}):Nt(pe,Oe-1)});He.current=Ae}return Ee.useEffect(function(){return function(){tt()}},[]),[Nt,tt]},qt=ce()?Ee.useLayoutEffect:Ee.useEffect,Dr=qt,Ut=[ge,se,Ye,xt],nn=!1,Nr=!0;function cr(He){return He===Ye||He===xt}var Fr=function(He,tt){var Nt=pn(be),pe=(0,ut.Z)(Nt,2),Oe=pe[0],Ae=pe[1],Ke=Tn(),Qe=(0,ut.Z)(Ke,2),at=Qe[0],pt=Qe[1];function $t(){Ae(ge,!0)}return Dr(function(){if(Oe!==be&&Oe!==xt){var tn=Ut.indexOf(Oe),Yn=Ut[tn+1],fr=tt(Oe);fr===nn?Ae(Yn,!0):at(function(Cr){function Dn(){Cr.isCanceled()||Ae(Yn,!0)}fr===!0?Dn():Promise.resolve(fr).then(Dn)})}},[He,Oe]),Ee.useEffect(function(){return function(){pt()}},[]),[$t,Oe]},aa=function(He){var tt=(0,Ee.useRef)(),Nt=(0,Ee.useRef)(He);Nt.current=He;var pe=Ee.useCallback(function(Ke){Nt.current(Ke)},[]);function Oe(Ke){Ke&&(Ke.removeEventListener(Nn,pe),Ke.removeEventListener(cn,pe))}function Ae(Ke){tt.current&&tt.current!==Ke&&Oe(tt.current),Ke&&Ke!==tt.current&&(Ke.addEventListener(Nn,pe),Ke.addEventListener(cn,pe),tt.current=Ke)}return Ee.useEffect(function(){return function(){Oe(tt.current)}},[]),[Ae,Oe]};function Jn(He,tt,Nt,pe){var Oe=pe.motionEnter,Ae=Oe===void 0?!0:Oe,Ke=pe.motionAppear,Qe=Ke===void 0?!0:Ke,at=pe.motionLeave,pt=at===void 0?!0:at,$t=pe.motionDeadline,tn=pe.motionLeaveImmediately,Yn=pe.onAppearPrepare,fr=pe.onEnterPrepare,Cr=pe.onLeavePrepare,Dn=pe.onAppearStart,qn=pe.onEnterStart,Xn=pe.onLeaveStart,Ar=pe.onAppearActive,Or=pe.onEnterActive,Kr=pe.onLeaveActive,Tr=pe.onAppearEnd,_r=pe.onEnterEnd,Zr=pe.onLeaveEnd,qr=pe.onVisibleChanged,Dt=pn(),Pt=(0,ut.Z)(Dt,2),Kn=Pt[0],Bn=Pt[1],xr=pn(En),zr=(0,ut.Z)(xr,2),Lr=zr[0],ca=zr[1],un=pn(null),Jt=(0,ut.Z)(un,2),yn=Jt[0],lr=Jt[1],Xr=(0,Ee.useRef)(!1),Ir=(0,Ee.useRef)(null);function yr(){return Nt()}var ba=(0,Ee.useRef)(!1);function va(Gi){var po=yr();if(!(Gi&&!Gi.deadline&&Gi.target!==po)){var Qi=ba.current,So;Lr===Ge&&Qi?So=Tr==null?void 0:Tr(po,Gi):Lr===ve&&Qi?So=_r==null?void 0:_r(po,Gi):Lr===he&&Qi&&(So=Zr==null?void 0:Zr(po,Gi)),Lr!==En&&Qi&&So!==!1&&(ca(En,!0),lr(null,!0))}}var Oa=aa(va),da=(0,ut.Z)(Oa,1),Ur=da[0],Wa=Ee.useMemo(function(){var Gi,po,Qi;switch(Lr){case Ge:return Gi={},(0,fe.Z)(Gi,ge,Yn),(0,fe.Z)(Gi,se,Dn),(0,fe.Z)(Gi,Ye,Ar),Gi;case ve:return po={},(0,fe.Z)(po,ge,fr),(0,fe.Z)(po,se,qn),(0,fe.Z)(po,Ye,Or),po;case he:return Qi={},(0,fe.Z)(Qi,ge,Cr),(0,fe.Z)(Qi,se,Xn),(0,fe.Z)(Qi,Ye,Kr),Qi;default:return{}}},[Lr]),ai=Fr(Lr,function(Gi){if(Gi===ge){var po=Wa[ge];return po?po(yr()):nn}if(ei in Wa){var Qi;lr(((Qi=Wa[ei])===null||Qi===void 0?void 0:Qi.call(Wa,yr(),null))||null)}return ei===Ye&&(Ur(yr()),$t>0&&(clearTimeout(Ir.current),Ir.current=setTimeout(function(){va({deadline:!0})},$t))),Nr}),_a=(0,ut.Z)(ai,2),Va=_a[0],ei=_a[1],Yi=cr(ei);ba.current=Yi,Dr(function(){Bn(tt);var Gi=Xr.current;if(Xr.current=!0,!!He){var po;!Gi&&tt&&Qe&&(po=Ge),Gi&&tt&&Ae&&(po=ve),(Gi&&!tt&&pt||!Gi&&tn&&!tt&&pt)&&(po=he),po&&(ca(po),Va())}},[tt]),(0,Ee.useEffect)(function(){(Lr===Ge&&!Qe||Lr===ve&&!Ae||Lr===he&&!pt)&&ca(En)},[Qe,Ae,pt]),(0,Ee.useEffect)(function(){return function(){Xr.current=!1,clearTimeout(Ir.current)}},[]);var Ei=Ee.useRef(!1);(0,Ee.useEffect)(function(){Kn&&(Ei.current=!0),Kn!==void 0&&Lr===En&&((Ei.current||Kn)&&(qr==null||qr(Kn)),Ei.current=!0)},[Kn,Lr]);var Wi=yn;return Wa[ge]&&ei===se&&(Wi=(0,qe.Z)({transition:"none"},Wi)),[Lr,ei,Wi,Kn!=null?Kn:tt]}var Ia=function(He){(0,me.Z)(Nt,He);var tt=(0,Pe.Z)(Nt);function Nt(){return(0,ke.Z)(this,Nt),tt.apply(this,arguments)}return(0,de.Z)(Nt,[{key:"render",value:function(){return this.props.children}}]),Nt}(Ee.Component),Ta=Ia;function ti(He){var tt=He;(0,De.Z)(He)==="object"&&(tt=He.transitionSupport);function Nt(Oe){return!!(Oe.motionName&&tt)}var pe=Ee.forwardRef(function(Oe,Ae){var Ke=Oe.visible,Qe=Ke===void 0?!0:Ke,at=Oe.removeOnLeave,pt=at===void 0?!0:at,$t=Oe.forceRender,tn=Oe.children,Yn=Oe.motionName,fr=Oe.leavedClassName,Cr=Oe.eventProps,Dn=Nt(Oe),qn=(0,Ee.useRef)(),Xn=(0,Ee.useRef)();function Ar(){try{return qn.current instanceof HTMLElement?qn.current:gt(Xn.current)}catch(un){return null}}var Or=Jn(Dn,Qe,Ar,Oe),Kr=(0,ut.Z)(Or,4),Tr=Kr[0],_r=Kr[1],Zr=Kr[2],qr=Kr[3],Dt=Ee.useRef(qr);qr&&(Dt.current=!0);var Pt=Ee.useCallback(function(un){qn.current=un,nt(Ae,un)},[Ae]),Kn,Bn=(0,qe.Z)((0,qe.Z)({},Cr),{},{visible:Qe});if(!tn)Kn=null;else if(Tr===En||!Nt(Oe))qr?Kn=tn((0,qe.Z)({},Bn),Pt):!pt&&Dt.current&&fr?Kn=tn((0,qe.Z)((0,qe.Z)({},Bn),{},{className:fr}),Pt):$t||!pt&&!fr?Kn=tn((0,qe.Z)((0,qe.Z)({},Bn),{},{style:{display:"none"}}),Pt):Kn=null;else{var xr,zr;_r===ge?zr="prepare":cr(_r)?zr="active":_r===se&&(zr="start"),Kn=tn((0,qe.Z)((0,qe.Z)({},Bn),{},{className:ue()(dr(Yn,Tr),(xr={},(0,fe.Z)(xr,dr(Yn,"".concat(Tr,"-").concat(zr)),zr),(0,fe.Z)(xr,Yn,typeof Yn=="string"),xr)),style:Zr}),Pt)}if(Ee.isValidElement(Kn)&&an(Kn)){var Lr=Kn,ca=Lr.ref;ca||(Kn=Ee.cloneElement(Kn,{ref:Pt}))}return Ee.createElement(Ta,{ref:Xn},Kn)});return pe.displayName="CSSMotion",pe}var Jr=ti(vn),ja="add",Si="keep",$a="remove",ji="removed";function Ni(He){var tt;return He&&(0,De.Z)(He)==="object"&&"key"in He?tt=He:tt={key:He},(0,qe.Z)((0,qe.Z)({},tt),{},{key:String(tt.key)})}function Ln(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return He.map(Ni)}function Pn(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Nt=[],pe=0,Oe=tt.length,Ae=Ln(He),Ke=Ln(tt);Ae.forEach(function(pt){for(var $t=!1,tn=pe;tn<Oe;tn+=1){var Yn=Ke[tn];if(Yn.key===pt.key){pe<tn&&(Nt=Nt.concat(Ke.slice(pe,tn).map(function(fr){return(0,qe.Z)((0,qe.Z)({},fr),{},{status:ja})})),pe=tn),Nt.push((0,qe.Z)((0,qe.Z)({},Yn),{},{status:Si})),pe+=1,$t=!0;break}}$t||Nt.push((0,qe.Z)((0,qe.Z)({},pt),{},{status:$a}))}),pe<Oe&&(Nt=Nt.concat(Ke.slice(pe).map(function(pt){return(0,qe.Z)((0,qe.Z)({},pt),{},{status:ja})})));var Qe={};Nt.forEach(function(pt){var $t=pt.key;Qe[$t]=(Qe[$t]||0)+1});var at=Object.keys(Qe).filter(function(pt){return Qe[pt]>1});return at.forEach(function(pt){Nt=Nt.filter(function($t){var tn=$t.key,Yn=$t.status;return tn!==pt||Yn!==$a}),Nt.forEach(function($t){$t.key===pt&&($t.status=Si)})}),Nt}var rr=["component","children","onVisibleChanged","onAllRemoved"],or=["status"],$r=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Br(He){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Jr,Nt=function(pe){(0,me.Z)(Ae,pe);var Oe=(0,Pe.Z)(Ae);function Ae(){var Ke;(0,ke.Z)(this,Ae);for(var Qe=arguments.length,at=new Array(Qe),pt=0;pt<Qe;pt++)at[pt]=arguments[pt];return Ke=Oe.call.apply(Oe,[this].concat(at)),(0,fe.Z)((0,Se.Z)(Ke),"state",{keyEntities:[]}),(0,fe.Z)((0,Se.Z)(Ke),"removeKey",function($t){var tn=Ke.state.keyEntities,Yn=tn.map(function(fr){return fr.key!==$t?fr:(0,qe.Z)((0,qe.Z)({},fr),{},{status:ji})});return Ke.setState({keyEntities:Yn}),Yn.filter(function(fr){var Cr=fr.status;return Cr!==ji}).length}),Ke}return(0,de.Z)(Ae,[{key:"render",value:function(){var Qe=this,at=this.state.keyEntities,pt=this.props,$t=pt.component,tn=pt.children,Yn=pt.onVisibleChanged,fr=pt.onAllRemoved,Cr=(0,ye.Z)(pt,rr),Dn=$t||Ee.Fragment,qn={};return $r.forEach(function(Xn){qn[Xn]=Cr[Xn],delete Cr[Xn]}),delete Cr.keys,Ee.createElement(Dn,Cr,at.map(function(Xn){var Ar=Xn.status,Or=(0,ye.Z)(Xn,or),Kr=Ar===ja||Ar===Si;return Ee.createElement(tt,(0,ne.Z)({},qn,{key:Or.key,visible:Kr,eventProps:Or,onVisibleChanged:function(_r){if(Yn==null||Yn(_r,{key:Or.key}),!_r){var Zr=Qe.removeKey(Or.key);Zr===0&&fr&&fr()}}}),tn)}))}}],[{key:"getDerivedStateFromProps",value:function(Qe,at){var pt=Qe.keys,$t=at.keyEntities,tn=Ln(pt),Yn=Pn($t,tn);return{keyEntities:Yn.filter(function(fr){var Cr=$t.find(function(Dn){var qn=Dn.key;return fr.key===qn});return!(Cr&&Cr.status===ji&&fr.status===$a)})}}}]),Ae}(Ee.Component);return(0,fe.Z)(Nt,"defaultProps",{component:"div"}),Nt}var jr=Br(vn),hn=Jr,It=ee(56261);function Zt(He,tt){var Nt=Ee.useState(!1),pe=(0,ut.Z)(Nt,2),Oe=pe[0],Ae=pe[1];Ee.useLayoutEffect(function(){if(Oe)return He(),function(){tt()}},[Oe]),Ee.useLayoutEffect(function(){return Ae(!0),function(){Ae(!1)}},[])}var Gt=ee(83898),Gn=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],kt=function(tt,Nt){var pe=tt.className,Oe=tt.style,Ae=tt.motion,Ke=tt.motionNodes,Qe=tt.motionType,at=tt.onMotionStart,pt=tt.onMotionEnd,$t=tt.active,tn=tt.treeNodeRequiredProps,Yn=(0,ye.Z)(tt,Gn),fr=Ee.useState(!0),Cr=(0,ut.Z)(fr,2),Dn=Cr[0],qn=Cr[1],Xn=Ee.useContext(wt.k),Ar=Xn.prefixCls,Or=Ke&&Qe!=="hide";et(function(){Ke&&Or!==Dn&&qn(Or)},[Ke]);var Kr=function(){Ke&&at()},Tr=Ee.useRef(!1),_r=function(){Ke&&!Tr.current&&(Tr.current=!0,pt())};Zt(Kr,_r);var Zr=function(Dt){Or===Dt&&_r()};return Ke?Ee.createElement(hn,(0,ne.Z)({ref:Nt,visible:Dn},Ae,{motionAppear:Qe==="show",onVisibleChanged:Zr}),function(qr,Dt){var Pt=qr.className,Kn=qr.style;return Ee.createElement("div",{ref:Dt,className:ue()("".concat(Ar,"-treenode-motion"),Pt),style:Kn},Ke.map(function(Bn){var xr=(0,ne.Z)({},((0,$e.Z)(Bn.data),Bn.data)),zr=Bn.title,Lr=Bn.key,ca=Bn.isStart,un=Bn.isEnd;delete xr.children;var Jt=(0,Gt.H8)(Lr,tn);return Ee.createElement(It.Z,(0,ne.Z)({},xr,Jt,{title:zr,active:$t,data:Bn.data,key:Lr,isStart:ca,isEnd:un}))}))}):Ee.createElement(It.Z,(0,ne.Z)({domRef:Nt,className:pe,style:Oe},Yn,{active:$t}))};kt.displayName="MotionTreeNode";var mn=Ee.forwardRef(kt),Zn=mn;function Mn(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Nt=He.length,pe=tt.length;if(Math.abs(Nt-pe)!==1)return{add:!1,key:null};function Oe(Ae,Ke){var Qe=new Map;Ae.forEach(function(pt){Qe.set(pt,!0)});var at=Ke.filter(function(pt){return!Qe.has(pt)});return at.length===1?at[0]:null}return Nt<pe?{add:!0,key:Oe(He,tt)}:{add:!1,key:Oe(tt,He)}}function ar(He,tt,Nt){var pe=He.findIndex(function(Qe){return Qe.key===Nt}),Oe=He[pe+1],Ae=tt.findIndex(function(Qe){return Qe.key===Nt});if(Oe){var Ke=tt.findIndex(function(Qe){return Qe.key===Oe.key});return tt.slice(Ae+1,Ke)}return tt.slice(Ae+1)}var hr=["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"],dn={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},za=function(){},pa="RC_TREE_MOTION_".concat(Math.random()),ma={key:pa},Sa={key:pa,level:0,index:0,pos:"0",node:ma,nodes:[ma]},Aa={parent:null,children:[],pos:Sa.pos,data:ma,title:null,key:pa,isStart:[],isEnd:[]};function ka(He,tt,Nt,pe){return tt===!1||!Nt?He:He.slice(0,Math.ceil(Nt/pe)+1)}function Er(He){var tt=He.key,Nt=He.pos;return(0,Gt.km)(tt,Nt)}function Gr(He){for(var tt=String(He.data.key),Nt=He;Nt.parent;)Nt=Nt.parent,tt="".concat(Nt.data.key," > ").concat(tt);return tt}var Zi=Ee.forwardRef(function(He,tt){var Nt=He.prefixCls,pe=He.data,Oe=He.selectable,Ae=He.checkable,Ke=He.expandedKeys,Qe=He.selectedKeys,at=He.checkedKeys,pt=He.loadedKeys,$t=He.loadingKeys,tn=He.halfCheckedKeys,Yn=He.keyEntities,fr=He.disabled,Cr=He.dragging,Dn=He.dragOverNodeKey,qn=He.dropPosition,Xn=He.motion,Ar=He.height,Or=He.itemHeight,Kr=He.virtual,Tr=He.focusable,_r=He.activeItem,Zr=He.focused,qr=He.tabIndex,Dt=He.onKeyDown,Pt=He.onFocus,Kn=He.onBlur,Bn=He.onActiveChange,xr=He.onListChangeStart,zr=He.onListChangeEnd,Lr=(0,ye.Z)(He,hr),ca=Ee.useRef(null),un=Ee.useRef(null);Ee.useImperativeHandle(tt,function(){return{scrollTo:function(ko){ca.current.scrollTo(ko)},getIndentWidth:function(){return un.current.offsetWidth}}});var Jt=Ee.useState(Ke),yn=(0,ut.Z)(Jt,2),lr=yn[0],Xr=yn[1],Ir=Ee.useState(pe),yr=(0,ut.Z)(Ir,2),ba=yr[0],va=yr[1],Oa=Ee.useState(pe),da=(0,ut.Z)(Oa,2),Ur=da[0],Wa=da[1],ai=Ee.useState([]),_a=(0,ut.Z)(ai,2),Va=_a[0],ei=_a[1],Yi=Ee.useState(null),Ei=(0,ut.Z)(Yi,2),Wi=Ei[0],Gi=Ei[1],po=Ee.useRef(pe);po.current=pe;function Qi(){var Ai=po.current;va(Ai),Wa(Ai),ei([]),Gi(null),zr()}et(function(){Xr(Ke);var Ai=Mn(lr,Ke);if(Ai.key!==null)if(Ai.add){var ko=ba.findIndex(function(Vo){var go=Vo.key;return go===Ai.key}),Bo=ka(ar(ba,pe,Ai.key),Kr,Ar,Or),zi=ba.slice();zi.splice(ko+1,0,Aa),Wa(zi),ei(Bo),Gi("show")}else{var gl=pe.findIndex(function(Vo){var go=Vo.key;return go===Ai.key}),El=ka(ar(pe,ba,Ai.key),Kr,Ar,Or),il=pe.slice();il.splice(gl+1,0,Aa),Wa(il),ei(El),Gi("hide")}else ba!==pe&&(va(pe),Wa(pe))},[Ke,pe]),Ee.useEffect(function(){Cr||Qi()},[Cr]);var So=Xn?Ur:pe,Ki={expandedKeys:Ke,selectedKeys:Qe,loadedKeys:pt,loadingKeys:$t,checkedKeys:at,halfCheckedKeys:tn,dragOverNodeKey:Dn,dropPosition:qn,keyEntities:Yn};return Ee.createElement(Ee.Fragment,null,Zr&&_r&&Ee.createElement("span",{style:dn,"aria-live":"assertive"},Gr(_r)),Ee.createElement("div",null,Ee.createElement("input",{style:dn,disabled:Tr===!1||fr,tabIndex:Tr!==!1?qr:null,onKeyDown:Dt,onFocus:Pt,onBlur:Kn,value:"",onChange:za,"aria-label":"for screen reader"})),Ee.createElement("div",{className:"".concat(Nt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Ee.createElement("div",{className:"".concat(Nt,"-indent")},Ee.createElement("div",{ref:un,className:"".concat(Nt,"-indent-unit")}))),Ee.createElement(ft.Z,(0,ne.Z)({},Lr,{data:So,itemKey:Er,height:Ar,fullHeight:!1,virtual:Kr,itemHeight:Or,prefixCls:"".concat(Nt,"-list"),ref:ca,onVisibleChange:function(ko,Bo){var zi=new Set(ko),gl=Bo.filter(function(El){return!zi.has(El)});gl.some(function(El){return Er(El)===pa})&&Qi()}}),function(Ai){var ko=Ai.pos,Bo=(0,ne.Z)({},((0,$e.Z)(Ai.data),Ai.data)),zi=Ai.title,gl=Ai.key,El=Ai.isStart,il=Ai.isEnd,Vo=(0,Gt.km)(gl,ko);delete Bo.key,delete Bo.children;var go=(0,Gt.H8)(Vo,Ki);return Ee.createElement(Zn,(0,ne.Z)({},Bo,go,{title:zi,active:!!_r&&gl===_r.key,pos:ko,data:Ai.data,isStart:El,isEnd:il,motion:Xn,motionNodes:gl===pa?Va:null,motionType:Wi,onMotionStart:xr,onMotionEnd:Qi,treeNodeRequiredProps:Ki,onMouseMove:function(){Bn(null)}}))}))});Zi.displayName="NodeList";var Ii=Zi,ni=ee(29873),hi=ee(97153),io=ee(3596),ri=10,ho=function(He){(0,me.Z)(Nt,He);var tt=(0,Pe.Z)(Nt);function Nt(){var pe;(0,ke.Z)(this,Nt);for(var Oe=arguments.length,Ae=new Array(Oe),Ke=0;Ke<Oe;Ke++)Ae[Ke]=arguments[Ke];return pe=tt.call.apply(tt,[this].concat(Ae)),pe.destroyed=!1,pe.delayedDragEnterLogic=void 0,pe.loadingRetryTimes={},pe.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,Gt.w$)()},pe.dragStartMousePosition=null,pe.dragNode=void 0,pe.currentMouseOverDroppableNodeKey=null,pe.listRef=Ee.createRef(),pe.onNodeDragStart=function(Qe,at){var pt=pe.state,$t=pt.expandedKeys,tn=pt.keyEntities,Yn=pe.props.onDragStart,fr=at.props.eventKey;pe.dragNode=at,pe.dragStartMousePosition={x:Qe.clientX,y:Qe.clientY};var Cr=(0,ni._5)($t,fr);pe.setState({draggingNodeKey:fr,dragChildrenKeys:(0,ni.wA)(fr,tn),indent:pe.listRef.current.getIndentWidth()}),pe.setExpandedKeys(Cr),window.addEventListener("dragend",pe.onWindowDragEnd),Yn==null||Yn({event:Qe,node:(0,Gt.F)(at.props)})},pe.onNodeDragEnter=function(Qe,at){var pt=pe.state,$t=pt.expandedKeys,tn=pt.keyEntities,Yn=pt.dragChildrenKeys,fr=pt.flattenNodes,Cr=pt.indent,Dn=pe.props,qn=Dn.onDragEnter,Xn=Dn.onExpand,Ar=Dn.allowDrop,Or=Dn.direction,Kr=at.props,Tr=Kr.pos,_r=Kr.eventKey,Zr=(0,Se.Z)(pe),qr=Zr.dragNode;if(pe.currentMouseOverDroppableNodeKey!==_r&&(pe.currentMouseOverDroppableNodeKey=_r),!qr){pe.resetDragState();return}var Dt=(0,ni.OM)(Qe,qr,at,Cr,pe.dragStartMousePosition,Ar,fr,tn,$t,Or),Pt=Dt.dropPosition,Kn=Dt.dropLevelOffset,Bn=Dt.dropTargetKey,xr=Dt.dropContainerKey,zr=Dt.dropTargetPos,Lr=Dt.dropAllowed,ca=Dt.dragOverNodeKey;if(Yn.indexOf(Bn)!==-1||!Lr){pe.resetDragState();return}if(pe.delayedDragEnterLogic||(pe.delayedDragEnterLogic={}),Object.keys(pe.delayedDragEnterLogic).forEach(function(un){clearTimeout(pe.delayedDragEnterLogic[un])}),qr.props.eventKey!==at.props.eventKey&&(Qe.persist(),pe.delayedDragEnterLogic[Tr]=window.setTimeout(function(){if(pe.state.draggingNodeKey!==null){var un=(0,we.Z)($t),Jt=(0,io.Z)(tn,at.props.eventKey);Jt&&(Jt.children||[]).length&&(un=(0,ni.L0)($t,at.props.eventKey)),"expandedKeys"in pe.props||pe.setExpandedKeys(un),Xn==null||Xn(un,{node:(0,Gt.F)(at.props),expanded:!0,nativeEvent:Qe.nativeEvent})}},800)),qr.props.eventKey===Bn&&Kn===0){pe.resetDragState();return}pe.setState({dragOverNodeKey:ca,dropPosition:Pt,dropLevelOffset:Kn,dropTargetKey:Bn,dropContainerKey:xr,dropTargetPos:zr,dropAllowed:Lr}),qn==null||qn({event:Qe,node:(0,Gt.F)(at.props),expandedKeys:$t})},pe.onNodeDragOver=function(Qe,at){var pt=pe.state,$t=pt.dragChildrenKeys,tn=pt.flattenNodes,Yn=pt.keyEntities,fr=pt.expandedKeys,Cr=pt.indent,Dn=pe.props,qn=Dn.onDragOver,Xn=Dn.allowDrop,Ar=Dn.direction,Or=(0,Se.Z)(pe),Kr=Or.dragNode;if(Kr){var Tr=(0,ni.OM)(Qe,Kr,at,Cr,pe.dragStartMousePosition,Xn,tn,Yn,fr,Ar),_r=Tr.dropPosition,Zr=Tr.dropLevelOffset,qr=Tr.dropTargetKey,Dt=Tr.dropContainerKey,Pt=Tr.dropAllowed,Kn=Tr.dropTargetPos,Bn=Tr.dragOverNodeKey;$t.indexOf(qr)!==-1||!Pt||(Kr.props.eventKey===qr&&Zr===0?pe.state.dropPosition===null&&pe.state.dropLevelOffset===null&&pe.state.dropTargetKey===null&&pe.state.dropContainerKey===null&&pe.state.dropTargetPos===null&&pe.state.dropAllowed===!1&&pe.state.dragOverNodeKey===null||pe.resetDragState():_r===pe.state.dropPosition&&Zr===pe.state.dropLevelOffset&&qr===pe.state.dropTargetKey&&Dt===pe.state.dropContainerKey&&Kn===pe.state.dropTargetPos&&Pt===pe.state.dropAllowed&&Bn===pe.state.dragOverNodeKey||pe.setState({dropPosition:_r,dropLevelOffset:Zr,dropTargetKey:qr,dropContainerKey:Dt,dropTargetPos:Kn,dropAllowed:Pt,dragOverNodeKey:Bn}),qn==null||qn({event:Qe,node:(0,Gt.F)(at.props)}))}},pe.onNodeDragLeave=function(Qe,at){pe.currentMouseOverDroppableNodeKey===at.props.eventKey&&!Qe.currentTarget.contains(Qe.relatedTarget)&&(pe.resetDragState(),pe.currentMouseOverDroppableNodeKey=null);var pt=pe.props.onDragLeave;pt==null||pt({event:Qe,node:(0,Gt.F)(at.props)})},pe.onWindowDragEnd=function(Qe){pe.onNodeDragEnd(Qe,null,!0),window.removeEventListener("dragend",pe.onWindowDragEnd)},pe.onNodeDragEnd=function(Qe,at){var pt=pe.props.onDragEnd;pe.setState({dragOverNodeKey:null}),pe.cleanDragState(),pt==null||pt({event:Qe,node:(0,Gt.F)(at.props)}),pe.dragNode=null,window.removeEventListener("dragend",pe.onWindowDragEnd)},pe.onNodeDrop=function(Qe,at){var pt,$t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,tn=pe.state,Yn=tn.dragChildrenKeys,fr=tn.dropPosition,Cr=tn.dropTargetKey,Dn=tn.dropTargetPos,qn=tn.dropAllowed;if(qn){var Xn=pe.props.onDrop;if(pe.setState({dragOverNodeKey:null}),pe.cleanDragState(),Cr!==null){var Ar=(0,qe.Z)((0,qe.Z)({},(0,Gt.H8)(Cr,pe.getTreeNodeRequiredProps())),{},{active:((pt=pe.getActiveItem())===null||pt===void 0?void 0:pt.key)===Cr,data:(0,io.Z)(pe.state.keyEntities,Cr).node}),Or=Yn.indexOf(Cr)!==-1;(0,vt.ZP)(!Or,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Kr=(0,ni.yx)(Dn),Tr={event:Qe,node:(0,Gt.F)(Ar),dragNode:pe.dragNode?(0,Gt.F)(pe.dragNode.props):null,dragNodesKeys:[pe.dragNode.props.eventKey].concat(Yn),dropToGap:fr!==0,dropPosition:fr+Number(Kr[Kr.length-1])};$t||Xn==null||Xn(Tr),pe.dragNode=null}}},pe.cleanDragState=function(){var Qe=pe.state.draggingNodeKey;Qe!==null&&pe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),pe.dragStartMousePosition=null,pe.currentMouseOverDroppableNodeKey=null},pe.triggerExpandActionExpand=function(Qe,at){var pt=pe.state,$t=pt.expandedKeys,tn=pt.flattenNodes,Yn=at.expanded,fr=at.key,Cr=at.isLeaf;if(!(Cr||Qe.shiftKey||Qe.metaKey||Qe.ctrlKey)){var Dn=tn.filter(function(Xn){return Xn.key===fr})[0],qn=(0,Gt.F)((0,qe.Z)((0,qe.Z)({},(0,Gt.H8)(fr,pe.getTreeNodeRequiredProps())),{},{data:Dn.data}));pe.setExpandedKeys(Yn?(0,ni._5)($t,fr):(0,ni.L0)($t,fr)),pe.onNodeExpand(Qe,qn)}},pe.onNodeClick=function(Qe,at){var pt=pe.props,$t=pt.onClick,tn=pt.expandAction;tn==="click"&&pe.triggerExpandActionExpand(Qe,at),$t==null||$t(Qe,at)},pe.onNodeDoubleClick=function(Qe,at){var pt=pe.props,$t=pt.onDoubleClick,tn=pt.expandAction;tn==="doubleClick"&&pe.triggerExpandActionExpand(Qe,at),$t==null||$t(Qe,at)},pe.onNodeSelect=function(Qe,at){var pt=pe.state.selectedKeys,$t=pe.state,tn=$t.keyEntities,Yn=$t.fieldNames,fr=pe.props,Cr=fr.onSelect,Dn=fr.multiple,qn=at.selected,Xn=at[Yn.key],Ar=!qn;Ar?Dn?pt=(0,ni.L0)(pt,Xn):pt=[Xn]:pt=(0,ni._5)(pt,Xn);var Or=pt.map(function(Kr){var Tr=(0,io.Z)(tn,Kr);return Tr?Tr.node:null}).filter(function(Kr){return Kr});pe.setUncontrolledState({selectedKeys:pt}),Cr==null||Cr(pt,{event:"select",selected:Ar,node:at,selectedNodes:Or,nativeEvent:Qe.nativeEvent})},pe.onNodeCheck=function(Qe,at,pt){var $t=pe.state,tn=$t.keyEntities,Yn=$t.checkedKeys,fr=$t.halfCheckedKeys,Cr=pe.props,Dn=Cr.checkStrictly,qn=Cr.onCheck,Xn=at.key,Ar,Or={event:"check",node:at,checked:pt,nativeEvent:Qe.nativeEvent};if(Dn){var Kr=pt?(0,ni.L0)(Yn,Xn):(0,ni._5)(Yn,Xn),Tr=(0,ni._5)(fr,Xn);Ar={checked:Kr,halfChecked:Tr},Or.checkedNodes=Kr.map(function(Kn){return(0,io.Z)(tn,Kn)}).filter(function(Kn){return Kn}).map(function(Kn){return Kn.node}),pe.setUncontrolledState({checkedKeys:Kr})}else{var _r=(0,hi.S)([].concat((0,we.Z)(Yn),[Xn]),!0,tn),Zr=_r.checkedKeys,qr=_r.halfCheckedKeys;if(!pt){var Dt=new Set(Zr);Dt.delete(Xn);var Pt=(0,hi.S)(Array.from(Dt),{checked:!1,halfCheckedKeys:qr},tn);Zr=Pt.checkedKeys,qr=Pt.halfCheckedKeys}Ar=Zr,Or.checkedNodes=[],Or.checkedNodesPositions=[],Or.halfCheckedKeys=qr,Zr.forEach(function(Kn){var Bn=(0,io.Z)(tn,Kn);if(Bn){var xr=Bn.node,zr=Bn.pos;Or.checkedNodes.push(xr),Or.checkedNodesPositions.push({node:xr,pos:zr})}}),pe.setUncontrolledState({checkedKeys:Zr},!1,{halfCheckedKeys:qr})}qn==null||qn(Ar,Or)},pe.onNodeLoad=function(Qe){var at=Qe.key,pt=new Promise(function($t,tn){pe.setState(function(Yn){var fr=Yn.loadedKeys,Cr=fr===void 0?[]:fr,Dn=Yn.loadingKeys,qn=Dn===void 0?[]:Dn,Xn=pe.props,Ar=Xn.loadData,Or=Xn.onLoad;if(!Ar||Cr.indexOf(at)!==-1||qn.indexOf(at)!==-1)return null;var Kr=Ar(Qe);return Kr.then(function(){var Tr=pe.state.loadedKeys,_r=(0,ni.L0)(Tr,at);Or==null||Or(_r,{event:"load",node:Qe}),pe.setUncontrolledState({loadedKeys:_r}),pe.setState(function(Zr){return{loadingKeys:(0,ni._5)(Zr.loadingKeys,at)}}),$t()}).catch(function(Tr){if(pe.setState(function(Zr){return{loadingKeys:(0,ni._5)(Zr.loadingKeys,at)}}),pe.loadingRetryTimes[at]=(pe.loadingRetryTimes[at]||0)+1,pe.loadingRetryTimes[at]>=ri){var _r=pe.state.loadedKeys;(0,vt.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),pe.setUncontrolledState({loadedKeys:(0,ni.L0)(_r,at)}),$t()}tn(Tr)}),{loadingKeys:(0,ni.L0)(qn,at)}})});return pt.catch(function(){}),pt},pe.onNodeMouseEnter=function(Qe,at){var pt=pe.props.onMouseEnter;pt==null||pt({event:Qe,node:at})},pe.onNodeMouseLeave=function(Qe,at){var pt=pe.props.onMouseLeave;pt==null||pt({event:Qe,node:at})},pe.onNodeContextMenu=function(Qe,at){var pt=pe.props.onRightClick;pt&&(Qe.preventDefault(),pt({event:Qe,node:at}))},pe.onFocus=function(){var Qe=pe.props.onFocus;pe.setState({focused:!0});for(var at=arguments.length,pt=new Array(at),$t=0;$t<at;$t++)pt[$t]=arguments[$t];Qe==null||Qe.apply(void 0,pt)},pe.onBlur=function(){var Qe=pe.props.onBlur;pe.setState({focused:!1}),pe.onActiveChange(null);for(var at=arguments.length,pt=new Array(at),$t=0;$t<at;$t++)pt[$t]=arguments[$t];Qe==null||Qe.apply(void 0,pt)},pe.getTreeNodeRequiredProps=function(){var Qe=pe.state,at=Qe.expandedKeys,pt=Qe.selectedKeys,$t=Qe.loadedKeys,tn=Qe.loadingKeys,Yn=Qe.checkedKeys,fr=Qe.halfCheckedKeys,Cr=Qe.dragOverNodeKey,Dn=Qe.dropPosition,qn=Qe.keyEntities;return{expandedKeys:at||[],selectedKeys:pt||[],loadedKeys:$t||[],loadingKeys:tn||[],checkedKeys:Yn||[],halfCheckedKeys:fr||[],dragOverNodeKey:Cr,dropPosition:Dn,keyEntities:qn}},pe.setExpandedKeys=function(Qe){var at=pe.state,pt=at.treeData,$t=at.fieldNames,tn=(0,Gt.oH)(pt,Qe,$t);pe.setUncontrolledState({expandedKeys:Qe,flattenNodes:tn},!0)},pe.onNodeExpand=function(Qe,at){var pt=pe.state.expandedKeys,$t=pe.state,tn=$t.listChanging,Yn=$t.fieldNames,fr=pe.props,Cr=fr.onExpand,Dn=fr.loadData,qn=at.expanded,Xn=at[Yn.key];if(!tn){var Ar=pt.indexOf(Xn),Or=!qn;if((0,vt.ZP)(qn&&Ar!==-1||!qn&&Ar===-1,"Expand state not sync with index check"),Or?pt=(0,ni.L0)(pt,Xn):pt=(0,ni._5)(pt,Xn),pe.setExpandedKeys(pt),Cr==null||Cr(pt,{node:at,expanded:Or,nativeEvent:Qe.nativeEvent}),Or&&Dn){var Kr=pe.onNodeLoad(at);Kr&&Kr.then(function(){var Tr=(0,Gt.oH)(pe.state.treeData,pt,Yn);pe.setUncontrolledState({flattenNodes:Tr})}).catch(function(){var Tr=pe.state.expandedKeys,_r=(0,ni._5)(Tr,Xn);pe.setExpandedKeys(_r)})}}},pe.onListChangeStart=function(){pe.setUncontrolledState({listChanging:!0})},pe.onListChangeEnd=function(){setTimeout(function(){pe.setUncontrolledState({listChanging:!1})})},pe.onActiveChange=function(Qe){var at=pe.state.activeKey,pt=pe.props.onActiveChange;at!==Qe&&(pe.setState({activeKey:Qe}),Qe!==null&&pe.scrollTo({key:Qe}),pt==null||pt(Qe))},pe.getActiveItem=function(){var Qe=pe.state,at=Qe.activeKey,pt=Qe.flattenNodes;return at===null?null:pt.find(function($t){var tn=$t.key;return tn===at})||null},pe.offsetActiveKey=function(Qe){var at=pe.state,pt=at.flattenNodes,$t=at.activeKey,tn=pt.findIndex(function(Cr){var Dn=Cr.key;return Dn===$t});tn===-1&&Qe<0&&(tn=pt.length),tn=(tn+Qe+pt.length)%pt.length;var Yn=pt[tn];if(Yn){var fr=Yn.key;pe.onActiveChange(fr)}else pe.onActiveChange(null)},pe.onKeyDown=function(Qe){var at=pe.state,pt=at.activeKey,$t=at.expandedKeys,tn=at.checkedKeys,Yn=at.fieldNames,fr=pe.props,Cr=fr.onKeyDown,Dn=fr.checkable,qn=fr.selectable;switch(Qe.which){case mt.UP:{pe.offsetActiveKey(-1),Qe.preventDefault();break}case mt.DOWN:{pe.offsetActiveKey(1),Qe.preventDefault();break}}var Xn=pe.getActiveItem();if(Xn&&Xn.data){var Ar=pe.getTreeNodeRequiredProps(),Or=Xn.data.isLeaf===!1||!!(Xn.data[Yn.children]||[]).length,Kr=(0,Gt.F)((0,qe.Z)((0,qe.Z)({},(0,Gt.H8)(pt,Ar)),{},{data:Xn.data,active:!0}));switch(Qe.which){case mt.LEFT:{Or&&$t.includes(pt)?pe.onNodeExpand({},Kr):Xn.parent&&pe.onActiveChange(Xn.parent.key),Qe.preventDefault();break}case mt.RIGHT:{Or&&!$t.includes(pt)?pe.onNodeExpand({},Kr):Xn.children&&Xn.children.length&&pe.onActiveChange(Xn.children[0].key),Qe.preventDefault();break}case mt.ENTER:case mt.SPACE:{Dn&&!Kr.disabled&&Kr.checkable!==!1&&!Kr.disableCheckbox?pe.onNodeCheck({},Kr,!tn.includes(pt)):!Dn&&qn&&!Kr.disabled&&Kr.selectable!==!1&&pe.onNodeSelect({},Kr);break}}}Cr==null||Cr(Qe)},pe.setUncontrolledState=function(Qe){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!pe.destroyed){var $t=!1,tn=!0,Yn={};Object.keys(Qe).forEach(function(fr){if(fr in pe.props){tn=!1;return}$t=!0,Yn[fr]=Qe[fr]}),$t&&(!at||tn)&&pe.setState((0,qe.Z)((0,qe.Z)({},Yn),pt))}},pe.scrollTo=function(Qe){pe.listRef.current.scrollTo(Qe)},pe}return(0,de.Z)(Nt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Oe=this.props.activeKey;Oe!==void 0&&Oe!==this.state.activeKey&&(this.setState({activeKey:Oe}),Oe!==null&&this.scrollTo({key:Oe}))}},{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 Oe,Ae=this.state,Ke=Ae.focused,Qe=Ae.flattenNodes,at=Ae.keyEntities,pt=Ae.draggingNodeKey,$t=Ae.activeKey,tn=Ae.dropLevelOffset,Yn=Ae.dropContainerKey,fr=Ae.dropTargetKey,Cr=Ae.dropPosition,Dn=Ae.dragOverNodeKey,qn=Ae.indent,Xn=this.props,Ar=Xn.prefixCls,Or=Xn.className,Kr=Xn.style,Tr=Xn.showLine,_r=Xn.focusable,Zr=Xn.tabIndex,qr=Zr===void 0?0:Zr,Dt=Xn.selectable,Pt=Xn.showIcon,Kn=Xn.icon,Bn=Xn.switcherIcon,xr=Xn.draggable,zr=Xn.checkable,Lr=Xn.checkStrictly,ca=Xn.disabled,un=Xn.motion,Jt=Xn.loadData,yn=Xn.filterTreeNode,lr=Xn.height,Xr=Xn.itemHeight,Ir=Xn.virtual,yr=Xn.titleRender,ba=Xn.dropIndicatorRender,va=Xn.onContextMenu,Oa=Xn.onScroll,da=Xn.direction,Ur=Xn.rootClassName,Wa=Xn.rootStyle,ai=(0,ot.Z)(this.props,{aria:!0,data:!0}),_a;return xr&&((0,De.Z)(xr)==="object"?_a=xr:typeof xr=="function"?_a={nodeDraggable:xr}:_a={}),Ee.createElement(wt.k.Provider,{value:{prefixCls:Ar,selectable:Dt,showIcon:Pt,icon:Kn,switcherIcon:Bn,draggable:_a,draggingNodeKey:pt,checkable:zr,checkStrictly:Lr,disabled:ca,keyEntities:at,dropLevelOffset:tn,dropContainerKey:Yn,dropTargetKey:fr,dropPosition:Cr,dragOverNodeKey:Dn,indent:qn,direction:da,dropIndicatorRender:ba,loadData:Jt,filterTreeNode:yn,titleRender:yr,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}},Ee.createElement("div",{role:"tree",className:ue()(Ar,Or,Ur,(Oe={},(0,fe.Z)(Oe,"".concat(Ar,"-show-line"),Tr),(0,fe.Z)(Oe,"".concat(Ar,"-focused"),Ke),(0,fe.Z)(Oe,"".concat(Ar,"-active-focused"),$t!==null),Oe)),style:Wa},Ee.createElement(Ii,(0,ne.Z)({ref:this.listRef,prefixCls:Ar,style:Kr,data:Qe,disabled:ca,selectable:Dt,checkable:!!zr,motion:un,dragging:pt!==null,height:lr,itemHeight:Xr,virtual:Ir,focusable:_r,focused:Ke,tabIndex:qr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:va,onScroll:Oa},this.getTreeNodeRequiredProps(),ai))))}}],[{key:"getDerivedStateFromProps",value:function(Oe,Ae){var Ke=Ae.prevProps,Qe={prevProps:Oe};function at(_r){return!Ke&&_r in Oe||Ke&&Ke[_r]!==Oe[_r]}var pt,$t=Ae.fieldNames;if(at("fieldNames")&&($t=(0,Gt.w$)(Oe.fieldNames),Qe.fieldNames=$t),at("treeData")?pt=Oe.treeData:at("children")&&((0,vt.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),pt=(0,Gt.zn)(Oe.children)),pt){Qe.treeData=pt;var tn=(0,Gt.I8)(pt,{fieldNames:$t});Qe.keyEntities=(0,qe.Z)((0,fe.Z)({},pa,Sa),tn.keyEntities)}var Yn=Qe.keyEntities||Ae.keyEntities;if(at("expandedKeys")||Ke&&at("autoExpandParent"))Qe.expandedKeys=Oe.autoExpandParent||!Ke&&Oe.defaultExpandParent?(0,ni.r7)(Oe.expandedKeys,Yn):Oe.expandedKeys;else if(!Ke&&Oe.defaultExpandAll){var fr=(0,qe.Z)({},Yn);delete fr[pa],Qe.expandedKeys=Object.keys(fr).map(function(_r){return fr[_r].key})}else!Ke&&Oe.defaultExpandedKeys&&(Qe.expandedKeys=Oe.autoExpandParent||Oe.defaultExpandParent?(0,ni.r7)(Oe.defaultExpandedKeys,Yn):Oe.defaultExpandedKeys);if(Qe.expandedKeys||delete Qe.expandedKeys,pt||Qe.expandedKeys){var Cr=(0,Gt.oH)(pt||Ae.treeData,Qe.expandedKeys||Ae.expandedKeys,$t);Qe.flattenNodes=Cr}if(Oe.selectable&&(at("selectedKeys")?Qe.selectedKeys=(0,ni.BT)(Oe.selectedKeys,Oe):!Ke&&Oe.defaultSelectedKeys&&(Qe.selectedKeys=(0,ni.BT)(Oe.defaultSelectedKeys,Oe))),Oe.checkable){var Dn;if(at("checkedKeys")?Dn=(0,ni.E6)(Oe.checkedKeys)||{}:!Ke&&Oe.defaultCheckedKeys?Dn=(0,ni.E6)(Oe.defaultCheckedKeys)||{}:pt&&(Dn=(0,ni.E6)(Oe.checkedKeys)||{checkedKeys:Ae.checkedKeys,halfCheckedKeys:Ae.halfCheckedKeys}),Dn){var qn=Dn,Xn=qn.checkedKeys,Ar=Xn===void 0?[]:Xn,Or=qn.halfCheckedKeys,Kr=Or===void 0?[]:Or;if(!Oe.checkStrictly){var Tr=(0,hi.S)(Ar,!0,Yn);Ar=Tr.checkedKeys,Kr=Tr.halfCheckedKeys}Qe.checkedKeys=Ar,Qe.halfCheckedKeys=Kr}}return at("loadedKeys")&&(Qe.loadedKeys=Oe.loadedKeys),Qe}}]),Nt}(Ee.Component);ho.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:Tt,allowDrop:function(){return!0},expandAction:!1},ho.TreeNode=It.Z;var ia=ho,so=ia,xo=ee(73148),ml=ee(56747),vl={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"},Yo=vl,uo=ee(74643),wl=function(tt,Nt){return Ee.createElement(uo.Z,(0,ne.Z)({},tt,{ref:Nt,icon:Yo}))},Qo=Ee.forwardRef(wl),dl=ee(53124),zl=ee(50881),bl=ee(33603),Sl=ee(32157);const Ci=4;function Do(He){const{dropPosition:tt,dropLevelOffset:Nt,prefixCls:pe,indent:Oe,direction:Ae="ltr"}=He,Ke=Ae==="ltr"?"left":"right",Qe=Ae==="ltr"?"right":"left",at={[Ke]:-Nt*Oe+Ci,[Qe]:0};switch(tt){case-1:at.top=-3;break;case 1:at.bottom=-3;break;default:at.bottom=-3,at[Ke]=Oe+Ci;break}return Ee.createElement("div",{style:at,className:`${pe}-drop-indicator`})}var Pi=ee(99184),zn=Ee.forwardRef((He,tt)=>{const{getPrefixCls:Nt,direction:pe,virtual:Oe,tree:Ae}=Ee.useContext(dl.E_),{prefixCls:Ke,className:Qe,showIcon:at=!1,showLine:pt,switcherIcon:$t,blockNode:tn=!1,children:Yn,checkable:fr=!1,selectable:Cr=!0,draggable:Dn,motion:qn,style:Xn}=He,Ar=Nt("tree",Ke),Or=Nt(),Kr=qn!=null?qn:Object.assign(Object.assign({},(0,bl.Z)(Or)),{motionAppear:!1}),Tr=Object.assign(Object.assign({},He),{checkable:fr,selectable:Cr,showIcon:at,motion:Kr,blockNode:tn,showLine:!!pt,dropIndicatorRender:Do}),[_r,Zr]=(0,Sl.ZP)(Ar),qr=Ee.useMemo(()=>{if(!Dn)return!1;let Pt={};switch(typeof Dn){case"function":Pt.nodeDraggable=Dn;break;case"object":Pt=Object.assign({},Dn);break;default:break}return Pt.icon!==!1&&(Pt.icon=Pt.icon||Ee.createElement(zl.Z,null)),Pt},[Dn]),Dt=Pt=>Ee.createElement(Pi.Z,{prefixCls:Ar,switcherIcon:$t,treeNodeProps:Pt,showLine:pt});return _r(Ee.createElement(so,Object.assign({itemHeight:20,ref:tt,virtual:Oe},Tr,{style:Object.assign(Object.assign({},Ae==null?void 0:Ae.style),Xn),prefixCls:Ar,className:ue()({[`${Ar}-icon-hide`]:!at,[`${Ar}-block-node`]:tn,[`${Ar}-unselectable`]:!Cr,[`${Ar}-rtl`]:pe==="rtl"},Ae==null?void 0:Ae.className,Qe,Zr),direction:pe,checkable:fr&&Ee.createElement("span",{className:`${Ar}-checkbox-inner`}),selectable:Cr,switcherIcon:Dt,draggable:qr}),Yn))}),Cn;(function(He){He[He.None=0]="None",He[He.Start=1]="Start",He[He.End=2]="End"})(Cn||(Cn={}));function mr(He,tt){function Nt(pe){const{key:Oe,children:Ae}=pe;tt(Oe,pe)!==!1&&mr(Ae||[],tt)}He.forEach(Nt)}function Yr(He){let{treeData:tt,expandedKeys:Nt,startKey:pe,endKey:Oe}=He;const Ae=[];let Ke=Cn.None;if(pe&&pe===Oe)return[pe];if(!pe||!Oe)return[];function Qe(at){return at===pe||at===Oe}return mr(tt,at=>{if(Ke===Cn.End)return!1;if(Qe(at)){if(Ae.push(at),Ke===Cn.None)Ke=Cn.Start;else if(Ke===Cn.Start)return Ke=Cn.End,!1}else Ke===Cn.Start&&Ae.push(at);return Nt.includes(at)}),Ae}function ha(He,tt){const Nt=(0,we.Z)(tt),pe=[];return mr(He,(Oe,Ae)=>{const Ke=Nt.indexOf(Oe);return Ke!==-1&&(pe.push(Ae),Nt.splice(Ke,1)),!!Nt.length}),pe}var mi=function(He,tt){var Nt={};for(var pe in He)Object.prototype.hasOwnProperty.call(He,pe)&&tt.indexOf(pe)<0&&(Nt[pe]=He[pe]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,pe=Object.getOwnPropertySymbols(He);Oe<pe.length;Oe++)tt.indexOf(pe[Oe])<0&&Object.prototype.propertyIsEnumerable.call(He,pe[Oe])&&(Nt[pe[Oe]]=He[pe[Oe]]);return Nt};function xi(He){const{isLeaf:tt,expanded:Nt}=He;return tt?Ee.createElement(xo.Z,null):Nt?Ee.createElement(ml.Z,null):Ee.createElement(Qo,null)}function Ui(He){let{treeData:tt,children:Nt}=He;return tt||(0,Gt.zn)(Nt)}const di=(He,tt)=>{var{defaultExpandAll:Nt,defaultExpandParent:pe,defaultExpandedKeys:Oe}=He,Ae=mi(He,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ke=Ee.useRef(),Qe=Ee.useRef(),at=()=>{const{keyEntities:qr}=(0,Gt.I8)(Ui(Ae));let Dt;return Nt?Dt=Object.keys(qr):pe?Dt=(0,ni.r7)(Ae.expandedKeys||Oe||[],qr):Dt=Ae.expandedKeys||Oe,Dt},[pt,$t]=Ee.useState(Ae.selectedKeys||Ae.defaultSelectedKeys||[]),[tn,Yn]=Ee.useState(()=>at());Ee.useEffect(()=>{"selectedKeys"in Ae&&$t(Ae.selectedKeys)},[Ae.selectedKeys]),Ee.useEffect(()=>{"expandedKeys"in Ae&&Yn(Ae.expandedKeys)},[Ae.expandedKeys]);const fr=(qr,Dt)=>{var Pt;return"expandedKeys"in Ae||Yn(qr),(Pt=Ae.onExpand)===null||Pt===void 0?void 0:Pt.call(Ae,qr,Dt)},Cr=(qr,Dt)=>{var Pt;const{multiple:Kn}=Ae,{node:Bn,nativeEvent:xr}=Dt,{key:zr=""}=Bn,Lr=Ui(Ae),ca=Object.assign(Object.assign({},Dt),{selected:!0}),un=(xr==null?void 0:xr.ctrlKey)||(xr==null?void 0:xr.metaKey),Jt=xr==null?void 0:xr.shiftKey;let yn;Kn&&un?(yn=qr,Ke.current=zr,Qe.current=yn,ca.selectedNodes=ha(Lr,yn)):Kn&&Jt?(yn=Array.from(new Set([].concat((0,we.Z)(Qe.current||[]),(0,we.Z)(Yr({treeData:Lr,expandedKeys:tn,startKey:zr,endKey:Ke.current}))))),ca.selectedNodes=ha(Lr,yn)):(yn=[zr],Ke.current=zr,Qe.current=yn,ca.selectedNodes=ha(Lr,yn)),(Pt=Ae.onSelect)===null||Pt===void 0||Pt.call(Ae,yn,ca),"selectedKeys"in Ae||$t(yn)},{getPrefixCls:Dn,direction:qn}=Ee.useContext(dl.E_),{prefixCls:Xn,className:Ar,showIcon:Or=!0,expandAction:Kr="click"}=Ae,Tr=mi(Ae,["prefixCls","className","showIcon","expandAction"]),_r=Dn("tree",Xn),Zr=ue()(`${_r}-directory`,{[`${_r}-directory-rtl`]:qn==="rtl"},Ar);return Ee.createElement(zn,Object.assign({icon:xi,ref:tt,blockNode:!0},Tr,{showIcon:Or,expandAction:Kr,prefixCls:_r,className:Zr,expandedKeys:tn,selectedKeys:pt,onSelect:Cr,onExpand:fr}))};var Ao=Ee.forwardRef(di);const Wo=zn;Wo.DirectoryTree=Ao,Wo.TreeNode=It.Z;var $o=Wo},32157:function(Hn,ln,ee){"use strict";ee.d(ln,{TM:function(){return Ue},Yk:function(){return ue}});var ne=ee(45930),fe=ee(63185),De=ee(14747),qe=ee(33507),we=ee(45503),ke=ee(67968);const de=new ne.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Se=(mt,ot)=>({[`.${mt}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${ot.motionDurationSlow}`}}}),me=(mt,ot)=>({[`.${mt}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:ot.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${ot.lineWidthBold}px solid ${ot.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Pe=(mt,ot)=>{const{treeCls:vt,treeNodeCls:Ee,treeNodePadding:wt,titleHeight:Tt,nodeSelectedBg:$e,nodeHoverBg:ut}=ot,ye=ot.paddingXS;return{[vt]:Object.assign(Object.assign({},(0,De.Wf)(ot)),{background:ot.colorBgContainer,borderRadius:ot.borderRadius,transition:`background-color ${ot.motionDurationSlow}`,[`&${vt}-rtl`]:{[`${vt}-switcher`]:{"&_close":{[`${vt}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${vt}-active-focused)`]:Object.assign({},(0,De.oN)(ot)),[`${vt}-list-holder-inner`]:{alignItems:"flex-start"},[`&${vt}-block-node`]:{[`${vt}-list-holder-inner`]:{alignItems:"stretch",[`${vt}-node-content-wrapper`]:{flex:"auto"},[`${Ee}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:wt,insetInlineStart:0,border:`1px solid ${ot.colorPrimary}`,opacity:0,animationName:de,animationDuration:ot.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${Ee}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${wt}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${vt}-node-content-wrapper`]:{color:ot.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${vt}-node-content-wrapper`]:Object.assign({},(0,De.oN)(ot)),[`&:not(${Ee}-disabled).filter-node ${vt}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${vt}-draggable-icon`]:{flexShrink:0,width:Tt,lineHeight:`${Tt}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${ot.motionDurationSlow}`,[`${Ee}:hover &`]:{opacity:.45}},[`&${Ee}-disabled`]:{[`${vt}-draggable-icon`]:{visibility:"hidden"}}}},[`${vt}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Tt}},[`${vt}-draggable-icon`]:{visibility:"hidden"},[`${vt}-switcher`]:Object.assign(Object.assign({},Se(mt,ot)),{position:"relative",flex:"none",alignSelf:"stretch",width:Tt,margin:0,lineHeight:`${Tt}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${vt}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:ot.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Tt/2,bottom:-wt,marginInlineStart:-1,borderInlineEnd:`1px solid ${ot.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Tt/2*.8,height:Tt/2,borderBottom:`1px solid ${ot.colorBorder}`,content:'""'}}}),[`${vt}-checkbox`]:{top:"initial",marginInlineEnd:ye},[`${vt}-node-content-wrapper, ${vt}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:Tt,margin:0,padding:`0 ${ot.paddingXS/2}px`,color:"inherit",lineHeight:`${Tt}px`,background:"transparent",borderRadius:ot.borderRadius,cursor:"pointer",transition:`all ${ot.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ut},[`&${vt}-node-selected`]:{backgroundColor:$e},[`${vt}-iconEle`]:{display:"inline-block",width:Tt,height:Tt,lineHeight:`${Tt}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${vt}-unselectable ${vt}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${vt}-node-content-wrapper`]:Object.assign({lineHeight:`${Tt}px`,userSelect:"none"},me(mt,ot)),[`${Ee}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${ot.colorPrimary}`}},"&-show-line":{[`${vt}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Tt/2,bottom:-wt,borderInlineEnd:`1px solid ${ot.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${vt}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Ee}-leaf-last`]:{[`${vt}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${Tt/2}px !important`}}}}})}},rt=mt=>{const{treeCls:ot,treeNodeCls:vt,treeNodePadding:Ee,directoryNodeSelectedBg:wt,directoryNodeSelectedColor:Tt}=mt;return{[`${ot}${ot}-directory`]:{[vt]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:Ee,insetInlineStart:0,transition:`background-color ${mt.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:mt.controlItemBgHover}},"> *":{zIndex:1},[`${ot}-switcher`]:{transition:`color ${mt.motionDurationMid}`},[`${ot}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${ot}-node-selected`]:{color:Tt,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:wt},[`${ot}-switcher`]:{color:Tt},[`${ot}-node-content-wrapper`]:{color:Tt,background:"transparent"}}}}}},ue=(mt,ot)=>{const vt=`.${mt}`,Ee=`${vt}-treenode`,wt=ot.paddingXS/2,Tt=(0,we.TS)(ot,{treeCls:vt,treeNodeCls:Ee,treeNodePadding:wt});return[Pe(mt,Tt),rt(Tt)]},Ue=mt=>{const{controlHeightSM:ot}=mt;return{titleHeight:ot,nodeHoverBg:mt.controlItemBgHover,nodeSelectedBg:mt.controlItemBgActive}};ln.ZP=(0,ke.Z)("Tree",(mt,ot)=>{let{prefixCls:vt}=ot;return[{[mt.componentCls]:(0,fe.C2)(`${vt}-checkbox`,mt)},ue(vt,mt),(0,qe.Z)(mt)]},mt=>{const{colorTextLightSolid:ot,colorPrimary:vt}=mt;return Object.assign(Object.assign({},Ue(mt)),{directoryNodeSelectedColor:ot,directoryNodeSelectedBg:vt})})},99184:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return vt}});var ne=ee(87462),fe=ee(67294),De={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"},qe=De,we=ee(74643),ke=function(wt,Tt){return fe.createElement(we.Z,(0,ne.Z)({},wt,{ref:Tt,icon:qe}))},de=fe.forwardRef(ke),Se=ee(73148),me=ee(3407),Pe=ee(34182),rt=ee(74664),ue=ee(94184),Ue=ee.n(ue),mt=ee(96159),vt=Ee=>{const{prefixCls:wt,switcherIcon:Tt,treeNodeProps:$e,showLine:ut}=Ee,{isLeaf:ye,expanded:ce,loading:Xe}=$e;if(Xe)return fe.createElement(me.Z,{className:`${wt}-switcher-loading-icon`});let et;if(ut&&typeof ut=="object"&&(et=ut.showLeafIcon),ye){if(!ut)return null;if(typeof et!="boolean"&&et){const Re=typeof et=="function"?et($e):et,Be=`${wt}-switcher-line-custom-icon`;return(0,mt.l$)(Re)?(0,mt.Tm)(Re,{className:Ue()(Re.props.className||"",Be)}):Re}return et?fe.createElement(Se.Z,{className:`${wt}-switcher-line-icon`}):fe.createElement("span",{className:`${wt}-switcher-leaf-line`})}const st=`${wt}-switcher-icon`,ft=typeof Tt=="function"?Tt($e):Tt;return(0,mt.l$)(ft)?(0,mt.Tm)(ft,{className:Ue()(ft.props.className||"",st)}):ft!==void 0?ft:ut?ce?fe.createElement(Pe.Z,{className:`${wt}-switcher-line-icon`}):fe.createElement(rt.Z,{className:`${wt}-switcher-line-icon`}):fe.createElement(de,{className:st})}},97909:function(Hn){(function(ln,ee){Hn.exports=ee()})(this,function(){"use strict";var ln=1e3,ee=6e4,ne=36e5,fe="millisecond",De="second",qe="minute",we="hour",ke="day",de="week",Se="month",me="quarter",Pe="year",rt="date",ue="Invalid Date",Ue=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,mt=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ot={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(ft){var Re=["th","st","nd","rd"],Be=ft%100;return"["+ft+(Re[(Be-20)%10]||Re[Be]||Re[0])+"]"}},vt=function(ft,Re,Be){var gt=String(ft);return!gt||gt.length>=Re?ft:""+Array(Re+1-gt.length).join(Be)+ft},Ee={s:vt,z:function(ft){var Re=-ft.utcOffset(),Be=Math.abs(Re),gt=Math.floor(Be/60),ze=Be%60;return(Re<=0?"+":"-")+vt(gt,2,"0")+":"+vt(ze,2,"0")},m:function ft(Re,Be){if(Re.date()<Be.date())return-ft(Be,Re);var gt=12*(Be.year()-Re.year())+(Be.month()-Re.month()),ze=Re.clone().add(gt,Se),ct=Be-ze<0,nt=Re.clone().add(gt+(ct?-1:1),Se);return+(-(gt+(Be-ze)/(ct?ze-nt:nt-ze))||0)},a:function(ft){return ft<0?Math.ceil(ft)||0:Math.floor(ft)},p:function(ft){return{M:Se,y:Pe,w:de,d:ke,D:rt,h:we,m:qe,s:De,ms:fe,Q:me}[ft]||String(ft||"").toLowerCase().replace(/s$/,"")},u:function(ft){return ft===void 0}},wt="en",Tt={};Tt[wt]=ot;var $e="$isDayjsObject",ut=function(ft){return ft instanceof et||!(!ft||!ft[$e])},ye=function ft(Re,Be,gt){var ze;if(!Re)return wt;if(typeof Re=="string"){var ct=Re.toLowerCase();Tt[ct]&&(ze=ct),Be&&(Tt[ct]=Be,ze=ct);var nt=Re.split("-");if(!ze&&nt.length>1)return ft(nt[0])}else{var Ot=Re.name;Tt[Ot]=Re,ze=Ot}return!gt&&ze&&(wt=ze),ze||!gt&&wt},ce=function(ft,Re){if(ut(ft))return ft.clone();var Be=typeof Re=="object"?Re:{};return Be.date=ft,Be.args=arguments,new et(Be)},Xe=Ee;Xe.l=ye,Xe.i=ut,Xe.w=function(ft,Re){return ce(ft,{locale:Re.$L,utc:Re.$u,x:Re.$x,$offset:Re.$offset})};var et=function(){function ft(Be){this.$L=ye(Be.locale,null,!0),this.parse(Be),this.$x=this.$x||Be.x||{},this[$e]=!0}var Re=ft.prototype;return Re.parse=function(Be){this.$d=function(gt){var ze=gt.date,ct=gt.utc;if(ze===null)return new Date(NaN);if(Xe.u(ze))return new Date;if(ze instanceof Date)return new Date(ze);if(typeof ze=="string"&&!/Z$/i.test(ze)){var nt=ze.match(Ue);if(nt){var Ot=nt[2]-1||0,Rt=(nt[7]||"0").substring(0,3);return ct?new Date(Date.UTC(nt[1],Ot,nt[3]||1,nt[4]||0,nt[5]||0,nt[6]||0,Rt)):new Date(nt[1],Ot,nt[3]||1,nt[4]||0,nt[5]||0,nt[6]||0,Rt)}}return new Date(ze)}(Be),this.init()},Re.init=function(){var Be=this.$d;this.$y=Be.getFullYear(),this.$M=Be.getMonth(),this.$D=Be.getDate(),this.$W=Be.getDay(),this.$H=Be.getHours(),this.$m=Be.getMinutes(),this.$s=Be.getSeconds(),this.$ms=Be.getMilliseconds()},Re.$utils=function(){return Xe},Re.isValid=function(){return this.$d.toString()!==ue},Re.isSame=function(Be,gt){var ze=ce(Be);return this.startOf(gt)<=ze&&ze<=this.endOf(gt)},Re.isAfter=function(Be,gt){return ce(Be)<this.startOf(gt)},Re.isBefore=function(Be,gt){return this.endOf(gt)<ce(Be)},Re.$g=function(Be,gt,ze){return Xe.u(Be)?this[gt]:this.set(ze,Be)},Re.unix=function(){return Math.floor(this.valueOf()/1e3)},Re.valueOf=function(){return this.$d.getTime()},Re.startOf=function(Be,gt){var ze=this,ct=!!Xe.u(gt)||gt,nt=Xe.p(Be),Ot=function(Mt,Kt){var sn=Xe.w(ze.$u?Date.UTC(ze.$y,Kt,Mt):new Date(ze.$y,Kt,Mt),ze);return ct?sn:sn.endOf(ke)},Rt=function(Mt,Kt){return Xe.w(ze.toDate()[Mt].apply(ze.toDate("s"),(ct?[0,0,0,0]:[23,59,59,999]).slice(Kt)),ze)},an=this.$W,ht=this.$M,Ne=this.$D,At="set"+(this.$u?"UTC":"");switch(nt){case Pe:return ct?Ot(1,0):Ot(31,11);case Se:return ct?Ot(1,ht):Ot(0,ht+1);case de:var An=this.$locale().weekStart||0,jt=(an<An?an+7:an)-An;return Ot(ct?Ne-jt:Ne+(6-jt),ht);case ke:case rt:return Rt(At+"Hours",0);case we:return Rt(At+"Minutes",1);case qe:return Rt(At+"Seconds",2);case De:return Rt(At+"Milliseconds",3);default:return this.clone()}},Re.endOf=function(Be){return this.startOf(Be,!1)},Re.$set=function(Be,gt){var ze,ct=Xe.p(Be),nt="set"+(this.$u?"UTC":""),Ot=(ze={},ze[ke]=nt+"Date",ze[rt]=nt+"Date",ze[Se]=nt+"Month",ze[Pe]=nt+"FullYear",ze[we]=nt+"Hours",ze[qe]=nt+"Minutes",ze[De]=nt+"Seconds",ze[fe]=nt+"Milliseconds",ze)[ct],Rt=ct===ke?this.$D+(gt-this.$W):gt;if(ct===Se||ct===Pe){var an=this.clone().set(rt,1);an.$d[Ot](Rt),an.init(),this.$d=an.set(rt,Math.min(this.$D,an.daysInMonth())).$d}else Ot&&this.$d[Ot](Rt);return this.init(),this},Re.set=function(Be,gt){return this.clone().$set(Be,gt)},Re.get=function(Be){return this[Xe.p(Be)]()},Re.add=function(Be,gt){var ze,ct=this;Be=Number(Be);var nt=Xe.p(gt),Ot=function(ht){var Ne=ce(ct);return Xe.w(Ne.date(Ne.date()+Math.round(ht*Be)),ct)};if(nt===Se)return this.set(Se,this.$M+Be);if(nt===Pe)return this.set(Pe,this.$y+Be);if(nt===ke)return Ot(1);if(nt===de)return Ot(7);var Rt=(ze={},ze[qe]=ee,ze[we]=ne,ze[De]=ln,ze)[nt]||1,an=this.$d.getTime()+Be*Rt;return Xe.w(an,this)},Re.subtract=function(Be,gt){return this.add(-1*Be,gt)},Re.format=function(Be){var gt=this,ze=this.$locale();if(!this.isValid())return ze.invalidDate||ue;var ct=Be||"YYYY-MM-DDTHH:mm:ssZ",nt=Xe.z(this),Ot=this.$H,Rt=this.$m,an=this.$M,ht=ze.weekdays,Ne=ze.months,At=ze.meridiem,An=function(Kt,sn,wn,vn){return Kt&&(Kt[sn]||Kt(gt,ct))||wn[sn].slice(0,vn)},jt=function(Kt){return Xe.s(Ot%12||12,Kt,"0")},Mt=At||function(Kt,sn,wn){var vn=Kt<12?"AM":"PM";return wn?vn.toLowerCase():vn};return ct.replace(mt,function(Kt,sn){return sn||function(wn){switch(wn){case"YY":return String(gt.$y).slice(-2);case"YYYY":return Xe.s(gt.$y,4,"0");case"M":return an+1;case"MM":return Xe.s(an+1,2,"0");case"MMM":return An(ze.monthsShort,an,Ne,3);case"MMMM":return An(Ne,an);case"D":return gt.$D;case"DD":return Xe.s(gt.$D,2,"0");case"d":return String(gt.$W);case"dd":return An(ze.weekdaysMin,gt.$W,ht,2);case"ddd":return An(ze.weekdaysShort,gt.$W,ht,3);case"dddd":return ht[gt.$W];case"H":return String(Ot);case"HH":return Xe.s(Ot,2,"0");case"h":return jt(1);case"hh":return jt(2);case"a":return Mt(Ot,Rt,!0);case"A":return Mt(Ot,Rt,!1);case"m":return String(Rt);case"mm":return Xe.s(Rt,2,"0");case"s":return String(gt.$s);case"ss":return Xe.s(gt.$s,2,"0");case"SSS":return Xe.s(gt.$ms,3,"0");case"Z":return nt}return null}(Kt)||nt.replace(":","")})},Re.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Re.diff=function(Be,gt,ze){var ct,nt=this,Ot=Xe.p(gt),Rt=ce(Be),an=(Rt.utcOffset()-this.utcOffset())*ee,ht=this-Rt,Ne=function(){return Xe.m(nt,Rt)};switch(Ot){case Pe:ct=Ne()/12;break;case Se:ct=Ne();break;case me:ct=Ne()/3;break;case de:ct=(ht-an)/6048e5;break;case ke:ct=(ht-an)/864e5;break;case we:ct=ht/ne;break;case qe:ct=ht/ee;break;case De:ct=ht/ln;break;default:ct=ht}return ze?ct:Xe.a(ct)},Re.daysInMonth=function(){return this.endOf(Se).$D},Re.$locale=function(){return Tt[this.$L]},Re.locale=function(Be,gt){if(!Be)return this.$L;var ze=this.clone(),ct=ye(Be,gt,!0);return ct&&(ze.$L=ct),ze},Re.clone=function(){return Xe.w(this.$d,this)},Re.toDate=function(){return new Date(this.valueOf())},Re.toJSON=function(){return this.isValid()?this.toISOString():null},Re.toISOString=function(){return this.$d.toISOString()},Re.toString=function(){return this.$d.toUTCString()},ft}(),st=et.prototype;return ce.prototype=st,[["$ms",fe],["$s",De],["$m",qe],["$H",we],["$W",ke],["$M",Se],["$y",Pe],["$D",rt]].forEach(function(ft){st[ft[1]]=function(Re){return this.$g(Re,ft[0],ft[1])}}),ce.extend=function(ft,Re){return ft.$i||(ft(Re,et,ce),ft.$i=!0),ce},ce.locale=ye,ce.isDayjs=ut,ce.unix=function(ft){return ce(1e3*ft)},ce.en=Tt[wt],ce.Ls=Tt,ce.p={},ce})},86625:function(Hn){(function(ln,ee){Hn.exports=ee()})(this,function(){"use strict";return function(ln,ee){var ne=ee.prototype,fe=ne.format;ne.format=function(De){var qe=this,we=this.$locale();if(!this.isValid())return fe.bind(this)(De);var ke=this.$utils(),de=(De||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(Se){switch(Se){case"Q":return Math.ceil((qe.$M+1)/3);case"Do":return we.ordinal(qe.$D);case"gggg":return qe.weekYear();case"GGGG":return qe.isoWeekYear();case"wo":return we.ordinal(qe.week(),"W");case"w":case"ww":return ke.s(qe.week(),Se==="w"?1:2,"0");case"W":case"WW":return ke.s(qe.isoWeek(),Se==="W"?1:2,"0");case"k":case"kk":return ke.s(String(qe.$H===0?24:qe.$H),Se==="k"?1:2,"0");case"X":return Math.floor(qe.$d.getTime()/1e3);case"x":return qe.$d.getTime();case"z":return"["+qe.offsetName()+"]";case"zzz":return"["+qe.offsetName("long")+"]";default:return Se}});return fe.bind(this)(de)}}})},40618:function(Hn){(function(ln,ee){Hn.exports=ee()})(this,function(){"use strict";var ln={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},ee=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,ne=/\d\d/,fe=/\d\d?/,De=/\d*[^-_:/,()\s\d]+/,qe={},we=function(ue){return(ue=+ue)+(ue>68?1900:2e3)},ke=function(ue){return function(Ue){this[ue]=+Ue}},de=[/[+-]\d\d:?(\d\d)?|Z/,function(ue){(this.zone||(this.zone={})).offset=function(Ue){if(!Ue||Ue==="Z")return 0;var mt=Ue.match(/([+-]|\d\d)/g),ot=60*mt[1]+(+mt[2]||0);return ot===0?0:mt[0]==="+"?-ot:ot}(ue)}],Se=function(ue){var Ue=qe[ue];return Ue&&(Ue.indexOf?Ue:Ue.s.concat(Ue.f))},me=function(ue,Ue){var mt,ot=qe.meridiem;if(ot){for(var vt=1;vt<=24;vt+=1)if(ue.indexOf(ot(vt,0,Ue))>-1){mt=vt>12;break}}else mt=ue===(Ue?"pm":"PM");return mt},Pe={A:[De,function(ue){this.afternoon=me(ue,!1)}],a:[De,function(ue){this.afternoon=me(ue,!0)}],S:[/\d/,function(ue){this.milliseconds=100*+ue}],SS:[ne,function(ue){this.milliseconds=10*+ue}],SSS:[/\d{3}/,function(ue){this.milliseconds=+ue}],s:[fe,ke("seconds")],ss:[fe,ke("seconds")],m:[fe,ke("minutes")],mm:[fe,ke("minutes")],H:[fe,ke("hours")],h:[fe,ke("hours")],HH:[fe,ke("hours")],hh:[fe,ke("hours")],D:[fe,ke("day")],DD:[ne,ke("day")],Do:[De,function(ue){var Ue=qe.ordinal,mt=ue.match(/\d+/);if(this.day=mt[0],Ue)for(var ot=1;ot<=31;ot+=1)Ue(ot).replace(/\[|\]/g,"")===ue&&(this.day=ot)}],M:[fe,ke("month")],MM:[ne,ke("month")],MMM:[De,function(ue){var Ue=Se("months"),mt=(Se("monthsShort")||Ue.map(function(ot){return ot.slice(0,3)})).indexOf(ue)+1;if(mt<1)throw new Error;this.month=mt%12||mt}],MMMM:[De,function(ue){var Ue=Se("months").indexOf(ue)+1;if(Ue<1)throw new Error;this.month=Ue%12||Ue}],Y:[/[+-]?\d+/,ke("year")],YY:[ne,function(ue){this.year=we(ue)}],YYYY:[/\d{4}/,ke("year")],Z:de,ZZ:de};function rt(ue){var Ue,mt;Ue=ue,mt=qe&&qe.formats;for(var ot=(ue=Ue.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(ye,ce,Xe){var et=Xe&&Xe.toUpperCase();return ce||mt[Xe]||ln[Xe]||mt[et].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(st,ft,Re){return ft||Re.slice(1)})})).match(ee),vt=ot.length,Ee=0;Ee<vt;Ee+=1){var wt=ot[Ee],Tt=Pe[wt],$e=Tt&&Tt[0],ut=Tt&&Tt[1];ot[Ee]=ut?{regex:$e,parser:ut}:wt.replace(/^\[|\]$/g,"")}return function(ye){for(var ce={},Xe=0,et=0;Xe<vt;Xe+=1){var st=ot[Xe];if(typeof st=="string")et+=st.length;else{var ft=st.regex,Re=st.parser,Be=ye.slice(et),gt=ft.exec(Be)[0];Re.call(ce,gt),ye=ye.replace(gt,"")}}return function(ze){var ct=ze.afternoon;if(ct!==void 0){var nt=ze.hours;ct?nt<12&&(ze.hours+=12):nt===12&&(ze.hours=0),delete ze.afternoon}}(ce),ce}}return function(ue,Ue,mt){mt.p.customParseFormat=!0,ue&&ue.parseTwoDigitYear&&(we=ue.parseTwoDigitYear);var ot=Ue.prototype,vt=ot.parse;ot.parse=function(Ee){var wt=Ee.date,Tt=Ee.utc,$e=Ee.args;this.$u=Tt;var ut=$e[1];if(typeof ut=="string"){var ye=$e[2]===!0,ce=$e[3]===!0,Xe=ye||ce,et=$e[2];ce&&(et=$e[2]),qe=this.$locale(),!ye&&et&&(qe=mt.Ls[et]),this.$d=function(Be,gt,ze){try{if(["x","X"].indexOf(gt)>-1)return new Date((gt==="X"?1e3:1)*Be);var ct=rt(gt)(Be),nt=ct.year,Ot=ct.month,Rt=ct.day,an=ct.hours,ht=ct.minutes,Ne=ct.seconds,At=ct.milliseconds,An=ct.zone,jt=new Date,Mt=Rt||(nt||Ot?1:jt.getDate()),Kt=nt||jt.getFullYear(),sn=0;nt&&!Ot||(sn=Ot>0?Ot-1:jt.getMonth());var wn=an||0,vn=ht||0,cn=Ne||0,Nn=At||0;return An?new Date(Date.UTC(Kt,sn,Mt,wn,vn,cn,Nn+60*An.offset*1e3)):ze?new Date(Date.UTC(Kt,sn,Mt,wn,vn,cn,Nn)):new Date(Kt,sn,Mt,wn,vn,cn,Nn)}catch(dr){return new Date("")}}(wt,ut,Tt),this.init(),et&&et!==!0&&(this.$L=this.locale(et).$L),Xe&&wt!=this.format(ut)&&(this.$d=new Date("")),qe={}}else if(ut instanceof Array)for(var st=ut.length,ft=1;ft<=st;ft+=1){$e[1]=ut[ft-1];var Re=mt.apply(this,$e);if(Re.isValid()){this.$d=Re.$d,this.$L=Re.$L,this.init();break}ft===st&&(this.$d=new Date(""))}else vt.call(this,Ee)}}})},26850:function(Hn){(function(ln,ee){Hn.exports=ee()})(this,function(){"use strict";return function(ln,ee,ne){var fe=ee.prototype,De=function(Se){return Se&&(Se.indexOf?Se:Se.s)},qe=function(Se,me,Pe,rt,ue){var Ue=Se.name?Se:Se.$locale(),mt=De(Ue[me]),ot=De(Ue[Pe]),vt=mt||ot.map(function(wt){return wt.slice(0,rt)});if(!ue)return vt;var Ee=Ue.weekStart;return vt.map(function(wt,Tt){return vt[(Tt+(Ee||0))%7]})},we=function(){return ne.Ls[ne.locale()]},ke=function(Se,me){return Se.formats[me]||function(Pe){return Pe.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(rt,ue,Ue){return ue||Ue.slice(1)})}(Se.formats[me.toUpperCase()])},de=function(){var Se=this;return{months:function(me){return me?me.format("MMMM"):qe(Se,"months")},monthsShort:function(me){return me?me.format("MMM"):qe(Se,"monthsShort","months",3)},firstDayOfWeek:function(){return Se.$locale().weekStart||0},weekdays:function(me){return me?me.format("dddd"):qe(Se,"weekdays")},weekdaysMin:function(me){return me?me.format("dd"):qe(Se,"weekdaysMin","weekdays",2)},weekdaysShort:function(me){return me?me.format("ddd"):qe(Se,"weekdaysShort","weekdays",3)},longDateFormat:function(me){return ke(Se.$locale(),me)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};fe.localeData=function(){return de.bind(this)()},ne.localeData=function(){var Se=we();return{firstDayOfWeek:function(){return Se.weekStart||0},weekdays:function(){return ne.weekdays()},weekdaysShort:function(){return ne.weekdaysShort()},weekdaysMin:function(){return ne.weekdaysMin()},months:function(){return ne.months()},monthsShort:function(){return ne.monthsShort()},longDateFormat:function(me){return ke(Se,me)},meridiem:Se.meridiem,ordinal:Se.ordinal}},ne.months=function(){return qe(we(),"months")},ne.monthsShort=function(){return qe(we(),"monthsShort","months",3)},ne.weekdays=function(Se){return qe(we(),"weekdays",null,null,Se)},ne.weekdaysShort=function(Se){return qe(we(),"weekdaysShort","weekdays",3,Se)},ne.weekdaysMin=function(Se){return qe(we(),"weekdaysMin","weekdays",2,Se)}}})},23082:function(Hn){(function(ln,ee){Hn.exports=ee()})(this,function(){"use strict";var ln="week",ee="year";return function(ne,fe,De){var qe=fe.prototype;qe.week=function(we){if(we===void 0&&(we=null),we!==null)return this.add(7*(we-this.week()),"day");var ke=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var de=De(this).startOf(ee).add(1,ee).date(ke),Se=De(this).endOf(ln);if(de.isBefore(Se))return 1}var me=De(this).startOf(ee).date(ke).startOf(ln).subtract(1,"millisecond"),Pe=this.diff(me,ln,!0);return Pe<0?De(this).startOf("week").week():Math.ceil(Pe)},qe.weeks=function(we){return we===void 0&&(we=null),this.week(we)}}})},99873:function(Hn){(function(ln,ee){Hn.exports=ee()})(this,function(){"use strict";return function(ln,ee){ee.prototype.weekYear=function(){var ne=this.month(),fe=this.week(),De=this.year();return fe===1&&ne===11?De+1:ne===0&&fe>=52?De-1:De}}})},33088:function(Hn){(function(ln,ee){Hn.exports=ee()})(this,function(){"use strict";return function(ln,ee){ee.prototype.weekday=function(ne){var fe=this.$locale().weekStart||0,De=this.$W,qe=(De<fe?De+7:De)-fe;return this.$utils().u(ne)?qe:this.subtract(qe,"day").add(ne,"day")}}})},72665:function(Hn,ln){"use strict";var ee;var ne=typeof Symbol=="function"&&Symbol.for,fe=ne?Symbol.for("react.element"):60103,De=ne?Symbol.for("react.portal"):60106,qe=ne?Symbol.for("react.fragment"):60107,we=ne?Symbol.for("react.strict_mode"):60108,ke=ne?Symbol.for("react.profiler"):60114,de=ne?Symbol.for("react.provider"):60109,Se=ne?Symbol.for("react.context"):60110,me=ne?Symbol.for("react.async_mode"):60111,Pe=ne?Symbol.for("react.concurrent_mode"):60111,rt=ne?Symbol.for("react.forward_ref"):60112,ue=ne?Symbol.for("react.suspense"):60113,Ue=ne?Symbol.for("react.suspense_list"):60120,mt=ne?Symbol.for("react.memo"):60115,ot=ne?Symbol.for("react.lazy"):60116,vt=ne?Symbol.for("react.block"):60121,Ee=ne?Symbol.for("react.fundamental"):60117,wt=ne?Symbol.for("react.responder"):60118,Tt=ne?Symbol.for("react.scope"):60119;function $e(ye){if(typeof ye=="object"&&ye!==null){var ce=ye.$$typeof;switch(ce){case fe:switch(ye=ye.type,ye){case me:case Pe:case qe:case ke:case we:case ue:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case Se:case rt:case ot:case mt:case de:return ye;default:return ce}}case De:return ce}}}function ut(ye){return $e(ye)===Pe}ee=me,ee=Pe,ee=Se,ee=de,ee=fe,ee=rt,ee=qe,ee=ot,ee=mt,ee=De,ee=ke,ee=we,ee=ue,ee=function(ye){return ut(ye)||$e(ye)===me},ee=ut,ee=function(ye){return $e(ye)===Se},ee=function(ye){return $e(ye)===de},ee=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===fe},ee=function(ye){return $e(ye)===rt},ee=function(ye){return $e(ye)===qe},ee=function(ye){return $e(ye)===ot},ln.isMemo=function(ye){return $e(ye)===mt},ee=function(ye){return $e(ye)===De},ee=function(ye){return $e(ye)===ke},ee=function(ye){return $e(ye)===we},ee=function(ye){return $e(ye)===ue},ee=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===qe||ye===Pe||ye===ke||ye===we||ye===ue||ye===Ue||typeof ye=="object"&&ye!==null&&(ye.$$typeof===ot||ye.$$typeof===mt||ye.$$typeof===de||ye.$$typeof===Se||ye.$$typeof===rt||ye.$$typeof===Ee||ye.$$typeof===wt||ye.$$typeof===Tt||ye.$$typeof===vt)},ee=$e},12060:function(Hn,ln,ee){"use strict";Hn.exports=ee(72665)},41771:function(Hn,ln){"use strict";var ee;var ne=typeof Symbol=="function"&&Symbol.for,fe=ne?Symbol.for("react.element"):60103,De=ne?Symbol.for("react.portal"):60106,qe=ne?Symbol.for("react.fragment"):60107,we=ne?Symbol.for("react.strict_mode"):60108,ke=ne?Symbol.for("react.profiler"):60114,de=ne?Symbol.for("react.provider"):60109,Se=ne?Symbol.for("react.context"):60110,me=ne?Symbol.for("react.async_mode"):60111,Pe=ne?Symbol.for("react.concurrent_mode"):60111,rt=ne?Symbol.for("react.forward_ref"):60112,ue=ne?Symbol.for("react.suspense"):60113,Ue=ne?Symbol.for("react.suspense_list"):60120,mt=ne?Symbol.for("react.memo"):60115,ot=ne?Symbol.for("react.lazy"):60116,vt=ne?Symbol.for("react.block"):60121,Ee=ne?Symbol.for("react.fundamental"):60117,wt=ne?Symbol.for("react.responder"):60118,Tt=ne?Symbol.for("react.scope"):60119;function $e(ye){if(typeof ye=="object"&&ye!==null){var ce=ye.$$typeof;switch(ce){case fe:switch(ye=ye.type,ye){case me:case Pe:case qe:case ke:case we:case ue:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case Se:case rt:case ot:case mt:case de:return ye;default:return ce}}case De:return ce}}}function ut(ye){return $e(ye)===Pe}ee=me,ee=Pe,ee=Se,ee=de,ee=fe,ee=rt,ee=qe,ee=ot,ee=mt,ee=De,ee=ke,ee=we,ee=ue,ee=function(ye){return ut(ye)||$e(ye)===me},ee=ut,ee=function(ye){return $e(ye)===Se},ee=function(ye){return $e(ye)===de},ee=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===fe},ee=function(ye){return $e(ye)===rt},ln.isFragment=function(ye){return $e(ye)===qe},ee=function(ye){return $e(ye)===ot},ee=function(ye){return $e(ye)===mt},ee=function(ye){return $e(ye)===De},ee=function(ye){return $e(ye)===ke},ee=function(ye){return $e(ye)===we},ee=function(ye){return $e(ye)===ue},ee=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===qe||ye===Pe||ye===ke||ye===we||ye===ue||ye===Ue||typeof ye=="object"&&ye!==null&&(ye.$$typeof===ot||ye.$$typeof===mt||ye.$$typeof===de||ye.$$typeof===Se||ye.$$typeof===rt||ye.$$typeof===Ee||ye.$$typeof===wt||ye.$$typeof===Tt||ye.$$typeof===vt)},ee=$e},47655:function(Hn,ln,ee){"use strict";Hn.exports=ee(41771)},64701:function(Hn,ln,ee){"use strict";ee.r(ln),ee.d(ln,{ResizableTextArea:function(){return An},default:function(){return vn}});var ne=ee(87462),fe=ee(1413),De=ee(4942),qe=ee(71002),we=ee(97685),ke=ee(45987),de=ee(74902),Se=ee(94184),me=ee.n(Se),Pe=ee(67656),rt=ee(87887),ue=ee(67294);function Ue(cn){var Nn=ue.useRef();Nn.current=cn;var dr=ue.useCallback(function(){for(var En,Ge=arguments.length,ve=new Array(Ge),he=0;he<Ge;he++)ve[he]=arguments[he];return(En=Nn.current)===null||En===void 0?void 0:En.call.apply(En,[Nn].concat(ve))},[]);return dr}function mt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ot=mt()?ue.useLayoutEffect:ue.useEffect,vt=ot,Ee=function(Nn,dr){var En=ue.useRef(!0);ot(function(){if(!En.current)return Nn()},dr),ot(function(){return En.current=!1,function(){En.current=!0}},[])};function wt(cn){var Nn=ue.useRef(!1),dr=ue.useState(cn),En=(0,we.Z)(dr,2),Ge=En[0],ve=En[1];ue.useEffect(function(){return Nn.current=!1,function(){Nn.current=!0}},[]);function he(be,ge){ge&&Nn.current||ve(be)}return[Ge,he]}function Tt(cn){return cn!==void 0}function $e(cn,Nn){var dr=Nn||{},En=dr.defaultValue,Ge=dr.value,ve=dr.onChange,he=dr.postState,be=wt(function(){return Tt(Ge)?Ge:Tt(En)?typeof En=="function"?En():En:typeof cn=="function"?cn():cn}),ge=(0,we.Z)(be,2),se=ge[0],Ye=ge[1],xt=Ge!==void 0?Ge:se,pn=he?he(xt):xt,on=Ue(ve),In=wt([xt]),Qn=(0,we.Z)(In,2),_n=Qn[0],Vt=Qn[1];Ee(function(){var Fn=_n[0];se!==Fn&&on(se,Fn)},[_n]),Ee(function(){Tt(Ge)||Ye(Ge)},[Ge]);var gn=Ue(function(Fn,Tn){Ye(Fn,Tn),Vt([xt],Tn)});return[pn,gn]}var ut=ee(48555),ye=function(Nn){return+setTimeout(Nn,16)},ce=function(Nn){return clearTimeout(Nn)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ye=function(Nn){return window.requestAnimationFrame(Nn)},ce=function(Nn){return window.cancelAnimationFrame(Nn)});var Xe=0,et=new Map;function st(cn){et.delete(cn)}var ft=function(Nn){var dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Xe+=1;var En=Xe;function Ge(ve){if(ve===0)st(En),Nn();else{var he=ye(function(){Ge(ve-1)});et.set(En,he)}}return Ge(dr),En};ft.cancel=function(cn){var Nn=et.get(cn);return st(Nn),ce(Nn)};var Re=ft,Be=`
|
|
|
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;
|
|
|
`,gt=["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"],ze={},ct;function nt(cn){var Nn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dr=cn.getAttribute("id")||cn.getAttribute("data-reactid")||cn.getAttribute("name");if(Nn&&ze[dr])return ze[dr];var En=window.getComputedStyle(cn),Ge=En.getPropertyValue("box-sizing")||En.getPropertyValue("-moz-box-sizing")||En.getPropertyValue("-webkit-box-sizing"),ve=parseFloat(En.getPropertyValue("padding-bottom"))+parseFloat(En.getPropertyValue("padding-top")),he=parseFloat(En.getPropertyValue("border-bottom-width"))+parseFloat(En.getPropertyValue("border-top-width")),be=gt.map(function(se){return"".concat(se,":").concat(En.getPropertyValue(se))}).join(";"),ge={sizingStyle:be,paddingSize:ve,borderSize:he,boxSizing:Ge};return Nn&&dr&&(ze[dr]=ge),ge}function Ot(cn){var Nn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,En=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ct||(ct=document.createElement("textarea"),ct.setAttribute("tab-index","-1"),ct.setAttribute("aria-hidden","true"),document.body.appendChild(ct)),cn.getAttribute("wrap")?ct.setAttribute("wrap",cn.getAttribute("wrap")):ct.removeAttribute("wrap");var Ge=nt(cn,Nn),ve=Ge.paddingSize,he=Ge.borderSize,be=Ge.boxSizing,ge=Ge.sizingStyle;ct.setAttribute("style","".concat(ge,";").concat(Be)),ct.value=cn.value||cn.placeholder||"";var se=void 0,Ye=void 0,xt,pn=ct.scrollHeight;if(be==="border-box"?pn+=he:be==="content-box"&&(pn-=ve),dr!==null||En!==null){ct.value=" ";var on=ct.scrollHeight-ve;dr!==null&&(se=on*dr,be==="border-box"&&(se=se+ve+he),pn=Math.max(se,pn)),En!==null&&(Ye=on*En,be==="border-box"&&(Ye=Ye+ve+he),xt=pn>Ye?"":"hidden",pn=Math.min(Ye,pn))}var In={height:pn,overflowY:xt,resize:"none"};return se&&(In.minHeight=se),Ye&&(In.maxHeight=Ye),In}var Rt=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],an=0,ht=1,Ne=2,At=ue.forwardRef(function(cn,Nn){var dr=cn,En=dr.prefixCls,Ge=dr.onPressEnter,ve=dr.defaultValue,he=dr.value,be=dr.autoSize,ge=dr.onResize,se=dr.className,Ye=dr.style,xt=dr.disabled,pn=dr.onChange,on=dr.onInternalAutoSize,In=(0,ke.Z)(dr,Rt),Qn=$e(ve,{value:he,postState:function(or){return or!=null?or:""}}),_n=(0,we.Z)(Qn,2),Vt=_n[0],gn=_n[1],Fn=function(or){gn(or.target.value),pn==null||pn(or)},Tn=ue.useRef();ue.useImperativeHandle(Nn,function(){return{textArea:Tn.current}});var qt=ue.useMemo(function(){return be&&(0,qe.Z)(be)==="object"?[be.minRows,be.maxRows]:[]},[be]),Dr=(0,we.Z)(qt,2),Ut=Dr[0],nn=Dr[1],Nr=!!be,cr=function(){try{if(document.activeElement===Tn.current){var or=Tn.current,$r=or.selectionStart,Br=or.selectionEnd,jr=or.scrollTop;Tn.current.setSelectionRange($r,Br),Tn.current.scrollTop=jr}}catch(hn){}},Fr=ue.useState(Ne),aa=(0,we.Z)(Fr,2),Jn=aa[0],Ia=aa[1],Ta=ue.useState(),ti=(0,we.Z)(Ta,2),Jr=ti[0],ja=ti[1],Si=function(){Ia(an)};vt(function(){Nr&&Si()},[he,Ut,nn,Nr]),vt(function(){if(Jn===an)Ia(ht);else if(Jn===ht){var rr=Ot(Tn.current,!1,Ut,nn);Ia(Ne),ja(rr)}else cr()},[Jn]);var $a=ue.useRef(),ji=function(){Re.cancel($a.current)},Ni=function(or){Jn===Ne&&(ge==null||ge(or),be&&(ji(),$a.current=Re(function(){Si()})))};ue.useEffect(function(){return ji},[]);var Ln=Nr?Jr:null,Pn=(0,fe.Z)((0,fe.Z)({},Ye),Ln);return(Jn===an||Jn===ht)&&(Pn.overflowY="hidden",Pn.overflowX="hidden"),ue.createElement(ut.Z,{onResize:Ni,disabled:!(be||ge)},ue.createElement("textarea",(0,ne.Z)({},In,{ref:Tn,style:Pn,className:me()(En,se,(0,De.Z)({},"".concat(En,"-disabled"),xt)),disabled:xt,value:Vt,onChange:Fn})))}),An=At,jt=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function Mt(cn,Nn){return(0,de.Z)(cn||"").slice(0,Nn).join("")}function Kt(cn,Nn,dr,En){var Ge=dr;return cn?Ge=Mt(dr,En):(0,de.Z)(Nn||"").length<dr.length&&(0,de.Z)(dr||"").length>En&&(Ge=Nn),Ge}var sn=ue.forwardRef(function(cn,Nn){var dr,En=cn.defaultValue,Ge=cn.value,ve=cn.onFocus,he=cn.onBlur,be=cn.onChange,ge=cn.allowClear,se=cn.maxLength,Ye=cn.onCompositionStart,xt=cn.onCompositionEnd,pn=cn.suffix,on=cn.prefixCls,In=on===void 0?"rc-textarea":on,Qn=cn.classes,_n=cn.showCount,Vt=cn.className,gn=cn.style,Fn=cn.disabled,Tn=cn.hidden,qt=cn.classNames,Dr=cn.styles,Ut=cn.onResize,nn=(0,ke.Z)(cn,jt),Nr=$e(En,{value:Ge,defaultValue:En}),cr=(0,we.Z)(Nr,2),Fr=cr[0],aa=cr[1],Jn=(0,ue.useRef)(null),Ia=ue.useState(!1),Ta=(0,we.Z)(Ia,2),ti=Ta[0],Jr=Ta[1],ja=ue.useState(!1),Si=(0,we.Z)(ja,2),$a=Si[0],ji=Si[1],Ni=ue.useRef(),Ln=ue.useRef(0),Pn=ue.useState(null),rr=(0,we.Z)(Pn,2),or=rr[0],$r=rr[1],Br=function(){var Sa;(Sa=Jn.current)===null||Sa===void 0||Sa.textArea.focus()};(0,ue.useImperativeHandle)(Nn,function(){return{resizableTextArea:Jn.current,focus:Br,blur:function(){var Sa;(Sa=Jn.current)===null||Sa===void 0||Sa.textArea.blur()}}}),(0,ue.useEffect)(function(){Jr(function(ma){return!Fn&&ma})},[Fn]);var jr=Number(se)>0,hn=function(Sa){ji(!0),Ni.current=Fr,Ln.current=Sa.currentTarget.selectionStart,Ye==null||Ye(Sa)},It=function(Sa){ji(!1);var Aa=Sa.currentTarget.value;if(jr){var ka,Er=Ln.current>=se+1||Ln.current===((ka=Ni.current)===null||ka===void 0?void 0:ka.length);Aa=Kt(Er,Ni.current,Aa,se)}Aa!==Fr&&(aa(Aa),(0,rt.rJ)(Sa.currentTarget,Sa,be,Aa)),xt==null||xt(Sa)},Zt=function(Sa){var Aa=Sa.target.value;if(!$a&&jr){var ka=Sa.target.selectionStart>=se+1||Sa.target.selectionStart===Aa.length||!Sa.target.selectionStart;Aa=Kt(ka,Fr,Aa,se)}aa(Aa),(0,rt.rJ)(Sa.currentTarget,Sa,be,Aa)},Gt=function(Sa){var Aa=nn.onPressEnter,ka=nn.onKeyDown;Sa.key==="Enter"&&Aa&&Aa(Sa),ka==null||ka(Sa)},Gn=function(Sa){Jr(!0),ve==null||ve(Sa)},kt=function(Sa){Jr(!1),he==null||he(Sa)},mn=function(Sa){var Aa;aa(""),Br(),(0,rt.rJ)((Aa=Jn.current)===null||Aa===void 0?void 0:Aa.textArea,Sa,be)},Zn=(0,rt.D7)(Fr);!$a&&jr&&Ge==null&&(Zn=Mt(Zn,se));var Mn=pn,ar;if(_n){var hr=(0,de.Z)(Zn).length;(0,qe.Z)(_n)==="object"?ar=_n.formatter({value:Zn,count:hr,maxLength:se}):ar="".concat(hr).concat(jr?" / ".concat(se):""),Mn=ue.createElement(ue.Fragment,null,Mn,ue.createElement("span",{className:me()("".concat(In,"-data-count"),qt==null?void 0:qt.count),style:Dr==null?void 0:Dr.count},ar))}var dn=function(Sa){var Aa;Ut==null||Ut(Sa),(Aa=Jn.current)!==null&&Aa!==void 0&&Aa.textArea.style.height&&$r(!0)},za=!nn.autoSize&&!_n&&!ge,pa=ue.createElement(Pe.BaseInput,{value:Zn,allowClear:ge,handleReset:mn,suffix:Mn,prefixCls:In,classes:{affixWrapper:me()(Qn==null?void 0:Qn.affixWrapper,(dr={},(0,De.Z)(dr,"".concat(In,"-show-count"),_n),(0,De.Z)(dr,"".concat(In,"-textarea-allow-clear"),ge),dr))},disabled:Fn,focused:ti,className:Vt,style:(0,fe.Z)((0,fe.Z)({},gn),or&&!za?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof ar=="string"?ar:void 0}},hidden:Tn,inputElement:ue.createElement(An,(0,ne.Z)({},nn,{onKeyDown:Gt,onChange:Zt,onFocus:Gn,onBlur:kt,onCompositionStart:hn,onCompositionEnd:It,className:qt==null?void 0:qt.textarea,style:(0,fe.Z)((0,fe.Z)({},Dr==null?void 0:Dr.textarea),{},{resize:gn==null?void 0:gn.resize}),disabled:Fn,prefixCls:In,onResize:dn,ref:Jn}))});return pa}),wn=sn,vn=wn},56261:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return et}});var ne=ee(87462),fe=ee(4942),De=ee(45987),qe=ee(1413),we=ee(15671),ke=ee(43144),de=ee(97326),Se=ee(60136),me=ee(51630),Pe=ee(94184),rt=ee.n(Pe),ue=ee(34952),Ue=ee(67294),mt=ee(69610),ot=function(ft){for(var Re=ft.prefixCls,Be=ft.level,gt=ft.isStart,ze=ft.isEnd,ct="".concat(Re,"-indent-unit"),nt=[],Ot=0;Ot<Be;Ot+=1){var Rt;nt.push(Ue.createElement("span",{key:Ot,className:rt()(ct,(Rt={},(0,fe.Z)(Rt,"".concat(ct,"-start"),gt[Ot]),(0,fe.Z)(Rt,"".concat(ct,"-end"),ze[Ot]),Rt))}))}return Ue.createElement("span",{"aria-hidden":"true",className:"".concat(Re,"-indent")},nt)},vt=Ue.memo(ot),Ee=ee(3596),wt=ee(83898),Tt=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],$e="open",ut="close",ye="---",ce=function(st){(0,Se.Z)(Re,st);var ft=(0,me.Z)(Re);function Re(){var Be;(0,we.Z)(this,Re);for(var gt=arguments.length,ze=new Array(gt),ct=0;ct<gt;ct++)ze[ct]=arguments[ct];return Be=ft.call.apply(ft,[this].concat(ze)),Be.state={dragNodeHighlight:!1},Be.selectHandle=void 0,Be.cacheIndent=void 0,Be.onSelectorClick=function(nt){var Ot=Be.props.context.onNodeClick;Ot(nt,(0,wt.F)(Be.props)),Be.isSelectable()?Be.onSelect(nt):Be.onCheck(nt)},Be.onSelectorDoubleClick=function(nt){var Ot=Be.props.context.onNodeDoubleClick;Ot(nt,(0,wt.F)(Be.props))},Be.onSelect=function(nt){if(!Be.isDisabled()){var Ot=Be.props.context.onNodeSelect;Ot(nt,(0,wt.F)(Be.props))}},Be.onCheck=function(nt){if(!Be.isDisabled()){var Ot=Be.props,Rt=Ot.disableCheckbox,an=Ot.checked,ht=Be.props.context.onNodeCheck;if(!(!Be.isCheckable()||Rt)){var Ne=!an;ht(nt,(0,wt.F)(Be.props),Ne)}}},Be.onMouseEnter=function(nt){var Ot=Be.props.context.onNodeMouseEnter;Ot(nt,(0,wt.F)(Be.props))},Be.onMouseLeave=function(nt){var Ot=Be.props.context.onNodeMouseLeave;Ot(nt,(0,wt.F)(Be.props))},Be.onContextMenu=function(nt){var Ot=Be.props.context.onNodeContextMenu;Ot(nt,(0,wt.F)(Be.props))},Be.onDragStart=function(nt){var Ot=Be.props.context.onNodeDragStart;nt.stopPropagation(),Be.setState({dragNodeHighlight:!0}),Ot(nt,(0,de.Z)(Be));try{nt.dataTransfer.setData("text/plain","")}catch(Rt){}},Be.onDragEnter=function(nt){var Ot=Be.props.context.onNodeDragEnter;nt.preventDefault(),nt.stopPropagation(),Ot(nt,(0,de.Z)(Be))},Be.onDragOver=function(nt){var Ot=Be.props.context.onNodeDragOver;nt.preventDefault(),nt.stopPropagation(),Ot(nt,(0,de.Z)(Be))},Be.onDragLeave=function(nt){var Ot=Be.props.context.onNodeDragLeave;nt.stopPropagation(),Ot(nt,(0,de.Z)(Be))},Be.onDragEnd=function(nt){var Ot=Be.props.context.onNodeDragEnd;nt.stopPropagation(),Be.setState({dragNodeHighlight:!1}),Ot(nt,(0,de.Z)(Be))},Be.onDrop=function(nt){var Ot=Be.props.context.onNodeDrop;nt.preventDefault(),nt.stopPropagation(),Be.setState({dragNodeHighlight:!1}),Ot(nt,(0,de.Z)(Be))},Be.onExpand=function(nt){var Ot=Be.props,Rt=Ot.loading,an=Ot.context.onNodeExpand;Rt||an(nt,(0,wt.F)(Be.props))},Be.setSelectHandle=function(nt){Be.selectHandle=nt},Be.getNodeState=function(){var nt=Be.props.expanded;return Be.isLeaf()?null:nt?$e:ut},Be.hasChildren=function(){var nt=Be.props.eventKey,Ot=Be.props.context.keyEntities,Rt=(0,Ee.Z)(Ot,nt)||{},an=Rt.children;return!!(an||[]).length},Be.isLeaf=function(){var nt=Be.props,Ot=nt.isLeaf,Rt=nt.loaded,an=Be.props.context.loadData,ht=Be.hasChildren();return Ot===!1?!1:Ot||!an&&!ht||an&&Rt&&!ht},Be.isDisabled=function(){var nt=Be.props.disabled,Ot=Be.props.context.disabled;return!!(Ot||nt)},Be.isCheckable=function(){var nt=Be.props.checkable,Ot=Be.props.context.checkable;return!Ot||nt===!1?!1:Ot},Be.syncLoadData=function(nt){var Ot=nt.expanded,Rt=nt.loading,an=nt.loaded,ht=Be.props.context,Ne=ht.loadData,At=ht.onNodeLoad;Rt||Ne&&Ot&&!Be.isLeaf()&&!Be.hasChildren()&&!an&&At((0,wt.F)(Be.props))},Be.isDraggable=function(){var nt=Be.props,Ot=nt.data,Rt=nt.context.draggable;return!!(Rt&&(!Rt.nodeDraggable||Rt.nodeDraggable(Ot)))},Be.renderDragHandler=function(){var nt=Be.props.context,Ot=nt.draggable,Rt=nt.prefixCls;return Ot!=null&&Ot.icon?Ue.createElement("span",{className:"".concat(Rt,"-draggable-icon")},Ot.icon):null},Be.renderSwitcherIconDom=function(nt){var Ot=Be.props.switcherIcon,Rt=Be.props.context.switcherIcon,an=Ot||Rt;return typeof an=="function"?an((0,qe.Z)((0,qe.Z)({},Be.props),{},{isLeaf:nt})):an},Be.renderSwitcher=function(){var nt=Be.props.expanded,Ot=Be.props.context.prefixCls;if(Be.isLeaf()){var Rt=Be.renderSwitcherIconDom(!0);return Rt!==!1?Ue.createElement("span",{className:rt()("".concat(Ot,"-switcher"),"".concat(Ot,"-switcher-noop"))},Rt):null}var an=rt()("".concat(Ot,"-switcher"),"".concat(Ot,"-switcher_").concat(nt?$e:ut)),ht=Be.renderSwitcherIconDom(!1);return ht!==!1?Ue.createElement("span",{onClick:Be.onExpand,className:an},ht):null},Be.renderCheckbox=function(){var nt=Be.props,Ot=nt.checked,Rt=nt.halfChecked,an=nt.disableCheckbox,ht=Be.props.context.prefixCls,Ne=Be.isDisabled(),At=Be.isCheckable();if(!At)return null;var An=typeof At!="boolean"?At:null;return Ue.createElement("span",{className:rt()("".concat(ht,"-checkbox"),Ot&&"".concat(ht,"-checkbox-checked"),!Ot&&Rt&&"".concat(ht,"-checkbox-indeterminate"),(Ne||an)&&"".concat(ht,"-checkbox-disabled")),onClick:Be.onCheck},An)},Be.renderIcon=function(){var nt=Be.props.loading,Ot=Be.props.context.prefixCls;return Ue.createElement("span",{className:rt()("".concat(Ot,"-iconEle"),"".concat(Ot,"-icon__").concat(Be.getNodeState()||"docu"),nt&&"".concat(Ot,"-icon_loading"))})},Be.renderSelector=function(){var nt=Be.state.dragNodeHighlight,Ot=Be.props,Rt=Ot.title,an=Rt===void 0?ye:Rt,ht=Ot.selected,Ne=Ot.icon,At=Ot.loading,An=Ot.data,jt=Be.props.context,Mt=jt.prefixCls,Kt=jt.showIcon,sn=jt.icon,wn=jt.loadData,vn=jt.titleRender,cn=Be.isDisabled(),Nn="".concat(Mt,"-node-content-wrapper"),dr;if(Kt){var En=Ne||sn;dr=En?Ue.createElement("span",{className:rt()("".concat(Mt,"-iconEle"),"".concat(Mt,"-icon__customize"))},typeof En=="function"?En(Be.props):En):Be.renderIcon()}else wn&&At&&(dr=Be.renderIcon());var Ge;typeof an=="function"?Ge=an(An):vn?Ge=vn(An):Ge=an;var ve=Ue.createElement("span",{className:"".concat(Mt,"-title")},Ge);return Ue.createElement("span",{ref:Be.setSelectHandle,title:typeof an=="string"?an:"",className:rt()("".concat(Nn),"".concat(Nn,"-").concat(Be.getNodeState()||"normal"),!cn&&(ht||nt)&&"".concat(Mt,"-node-selected")),onMouseEnter:Be.onMouseEnter,onMouseLeave:Be.onMouseLeave,onContextMenu:Be.onContextMenu,onClick:Be.onSelectorClick,onDoubleClick:Be.onSelectorDoubleClick},dr,ve,Be.renderDropIndicator())},Be.renderDropIndicator=function(){var nt=Be.props,Ot=nt.disabled,Rt=nt.eventKey,an=Be.props.context,ht=an.draggable,Ne=an.dropLevelOffset,At=an.dropPosition,An=an.prefixCls,jt=an.indent,Mt=an.dropIndicatorRender,Kt=an.dragOverNodeKey,sn=an.direction,wn=!!ht,vn=!Ot&&wn&&Kt===Rt,cn=jt!=null?jt:Be.cacheIndent;return Be.cacheIndent=jt,vn?Mt({dropPosition:At,dropLevelOffset:Ne,indent:cn,prefixCls:An,direction:sn}):null},Be}return(0,ke.Z)(Re,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var gt=this.props.selectable,ze=this.props.context.selectable;return typeof gt=="boolean"?gt:ze}},{key:"render",value:function(){var gt,ze=this.props,ct=ze.eventKey,nt=ze.className,Ot=ze.style,Rt=ze.dragOver,an=ze.dragOverGapTop,ht=ze.dragOverGapBottom,Ne=ze.isLeaf,At=ze.isStart,An=ze.isEnd,jt=ze.expanded,Mt=ze.selected,Kt=ze.checked,sn=ze.halfChecked,wn=ze.loading,vn=ze.domRef,cn=ze.active,Nn=ze.data,dr=ze.onMouseMove,En=ze.selectable,Ge=(0,De.Z)(ze,Tt),ve=this.props.context,he=ve.prefixCls,be=ve.filterTreeNode,ge=ve.keyEntities,se=ve.dropContainerKey,Ye=ve.dropTargetKey,xt=ve.draggingNodeKey,pn=this.isDisabled(),on=(0,ue.Z)(Ge,{aria:!0,data:!0}),In=(0,Ee.Z)(ge,ct)||{},Qn=In.level,_n=An[An.length-1],Vt=this.isDraggable(),gn=!pn&&Vt,Fn=xt===ct,Tn=En!==void 0?{"aria-selected":!!En}:void 0;return Ue.createElement("div",(0,ne.Z)({ref:vn,className:rt()(nt,"".concat(he,"-treenode"),(gt={},(0,fe.Z)(gt,"".concat(he,"-treenode-disabled"),pn),(0,fe.Z)(gt,"".concat(he,"-treenode-switcher-").concat(jt?"open":"close"),!Ne),(0,fe.Z)(gt,"".concat(he,"-treenode-checkbox-checked"),Kt),(0,fe.Z)(gt,"".concat(he,"-treenode-checkbox-indeterminate"),sn),(0,fe.Z)(gt,"".concat(he,"-treenode-selected"),Mt),(0,fe.Z)(gt,"".concat(he,"-treenode-loading"),wn),(0,fe.Z)(gt,"".concat(he,"-treenode-active"),cn),(0,fe.Z)(gt,"".concat(he,"-treenode-leaf-last"),_n),(0,fe.Z)(gt,"".concat(he,"-treenode-draggable"),Vt),(0,fe.Z)(gt,"dragging",Fn),(0,fe.Z)(gt,"drop-target",Ye===ct),(0,fe.Z)(gt,"drop-container",se===ct),(0,fe.Z)(gt,"drag-over",!pn&&Rt),(0,fe.Z)(gt,"drag-over-gap-top",!pn&&an),(0,fe.Z)(gt,"drag-over-gap-bottom",!pn&&ht),(0,fe.Z)(gt,"filter-node",be&&be((0,wt.F)(this.props))),gt)),style:Ot,draggable:gn,"aria-grabbed":Fn,onDragStart:gn?this.onDragStart:void 0,onDragEnter:Vt?this.onDragEnter:void 0,onDragOver:Vt?this.onDragOver:void 0,onDragLeave:Vt?this.onDragLeave:void 0,onDrop:Vt?this.onDrop:void 0,onDragEnd:Vt?this.onDragEnd:void 0,onMouseMove:dr},Tn,on),Ue.createElement(vt,{prefixCls:he,level:Qn,isStart:At,isEnd:An}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Re}(Ue.Component),Xe=function(ft){return Ue.createElement(mt.k.Consumer,null,function(Re){return Ue.createElement(ce,(0,ne.Z)({},ft,{context:Re}))})};Xe.displayName="TreeNode",Xe.isTreeNode=1;var et=Xe},69610:function(Hn,ln,ee){"use strict";ee.d(ln,{k:function(){return fe}});var ne=ee(67294),fe=ne.createContext(null)},29873:function(Hn,ln,ee){"use strict";ee.d(ln,{BT:function(){return vt},E6:function(){return Tt},L0:function(){return Pe},OM:function(){return ot},_5:function(){return me},r7:function(){return $e},wA:function(){return ue},yx:function(){return rt}});var ne=ee(74902),fe=ee(71002),De=ee(72978),qe=ee(67294),we=ee(56261),ke=ee(3596),de=ee(83898),Se=null;function me(ut,ye){if(!ut)return[];var ce=ut.slice(),Xe=ce.indexOf(ye);return Xe>=0&&ce.splice(Xe,1),ce}function Pe(ut,ye){var ce=(ut||[]).slice();return ce.indexOf(ye)===-1&&ce.push(ye),ce}function rt(ut){return ut.split("-")}function ue(ut,ye){var ce=[],Xe=(0,ke.Z)(ye,ut);function et(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];st.forEach(function(ft){var Re=ft.key,Be=ft.children;ce.push(Re),et(Be)})}return et(Xe.children),ce}function Ue(ut){if(ut.parent){var ye=rt(ut.pos);return Number(ye[ye.length-1])===ut.parent.children.length-1}return!1}function mt(ut){var ye=rt(ut.pos);return Number(ye[ye.length-1])===0}function ot(ut,ye,ce,Xe,et,st,ft,Re,Be,gt){var ze,ct=ut.clientX,nt=ut.clientY,Ot=ut.target.getBoundingClientRect(),Rt=Ot.top,an=Ot.height,ht=(gt==="rtl"?-1:1)*(((et==null?void 0:et.x)||0)-ct),Ne=(ht-12)/Xe,At=(0,ke.Z)(Re,ce.props.eventKey);if(nt<Rt+an/2){var An=ft.findIndex(function(ve){return ve.key===At.key}),jt=An<=0?0:An-1,Mt=ft[jt].key;At=(0,ke.Z)(Re,Mt)}var Kt=At.key,sn=At,wn=At.key,vn=0,cn=0;if(!Be.includes(Kt))for(var Nn=0;Nn<Ne&&Ue(At);Nn+=1)At=At.parent,cn+=1;var dr=ye.props.data,En=At.node,Ge=!0;return mt(At)&&At.level===0&&nt<Rt+an/2&&st({dragNode:dr,dropNode:En,dropPosition:-1})&&At.key===ce.props.eventKey?vn=-1:(sn.children||[]).length&&Be.includes(wn)?st({dragNode:dr,dropNode:En,dropPosition:0})?vn=0:Ge=!1:cn===0?Ne>-1.5?st({dragNode:dr,dropNode:En,dropPosition:1})?vn=1:Ge=!1:st({dragNode:dr,dropNode:En,dropPosition:0})?vn=0:st({dragNode:dr,dropNode:En,dropPosition:1})?vn=1:Ge=!1:st({dragNode:dr,dropNode:En,dropPosition:1})?vn=1:Ge=!1,{dropPosition:vn,dropLevelOffset:cn,dropTargetKey:At.key,dropTargetPos:At.pos,dragOverNodeKey:wn,dropContainerKey:vn===0?null:((ze=At.parent)===null||ze===void 0?void 0:ze.key)||null,dropAllowed:Ge}}function vt(ut,ye){if(ut){var ce=ye.multiple;return ce?ut.slice():ut.length?[ut[0]]:ut}}var Ee=function(ye){return ye};function wt(ut,ye){if(!ut)return[];var ce=ye||{},Xe=ce.processProps,et=Xe===void 0?Ee:Xe,st=Array.isArray(ut)?ut:[ut];return st.map(function(ft){var Re=ft.children,Be=_objectWithoutProperties(ft,Se),gt=wt(Re,ye);return React.createElement(TreeNode,_extends({key:Be.key},et(Be)),gt)})}function Tt(ut){if(!ut)return null;var ye;if(Array.isArray(ut))ye={checkedKeys:ut,halfCheckedKeys:void 0};else if((0,fe.Z)(ut)==="object")ye={checkedKeys:ut.checked||void 0,halfCheckedKeys:ut.halfChecked||void 0};else return(0,De.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ye}function $e(ut,ye){var ce=new Set;function Xe(et){if(!ce.has(et)){var st=(0,ke.Z)(ye,et);if(st){ce.add(et);var ft=st.parent,Re=st.node;Re.disabled||ft&&Xe(ft.key)}}}return(ut||[]).forEach(function(et){Xe(et)}),(0,ne.Z)(ce)}},97153:function(Hn,ln,ee){"use strict";ee.d(ln,{S:function(){return de}});var ne=ee(72978),fe=ee(3596);function De(Se,me){var Pe=new Set;return Se.forEach(function(rt){me.has(rt)||Pe.add(rt)}),Pe}function qe(Se){var me=Se||{},Pe=me.disabled,rt=me.disableCheckbox,ue=me.checkable;return!!(Pe||rt)||ue===!1}function we(Se,me,Pe,rt){for(var ue=new Set(Se),Ue=new Set,mt=0;mt<=Pe;mt+=1){var ot=me.get(mt)||new Set;ot.forEach(function(Tt){var $e=Tt.key,ut=Tt.node,ye=Tt.children,ce=ye===void 0?[]:ye;ue.has($e)&&!rt(ut)&&ce.filter(function(Xe){return!rt(Xe.node)}).forEach(function(Xe){ue.add(Xe.key)})})}for(var vt=new Set,Ee=Pe;Ee>=0;Ee-=1){var wt=me.get(Ee)||new Set;wt.forEach(function(Tt){var $e=Tt.parent,ut=Tt.node;if(!(rt(ut)||!Tt.parent||vt.has(Tt.parent.key))){if(rt(Tt.parent.node)){vt.add($e.key);return}var ye=!0,ce=!1;($e.children||[]).filter(function(Xe){return!rt(Xe.node)}).forEach(function(Xe){var et=Xe.key,st=ue.has(et);ye&&!st&&(ye=!1),!ce&&(st||Ue.has(et))&&(ce=!0)}),ye&&ue.add($e.key),ce&&Ue.add($e.key),vt.add($e.key)}})}return{checkedKeys:Array.from(ue),halfCheckedKeys:Array.from(De(Ue,ue))}}function ke(Se,me,Pe,rt,ue){for(var Ue=new Set(Se),mt=new Set(me),ot=0;ot<=rt;ot+=1){var vt=Pe.get(ot)||new Set;vt.forEach(function($e){var ut=$e.key,ye=$e.node,ce=$e.children,Xe=ce===void 0?[]:ce;!Ue.has(ut)&&!mt.has(ut)&&!ue(ye)&&Xe.filter(function(et){return!ue(et.node)}).forEach(function(et){Ue.delete(et.key)})})}mt=new Set;for(var Ee=new Set,wt=rt;wt>=0;wt-=1){var Tt=Pe.get(wt)||new Set;Tt.forEach(function($e){var ut=$e.parent,ye=$e.node;if(!(ue(ye)||!$e.parent||Ee.has($e.parent.key))){if(ue($e.parent.node)){Ee.add(ut.key);return}var ce=!0,Xe=!1;(ut.children||[]).filter(function(et){return!ue(et.node)}).forEach(function(et){var st=et.key,ft=Ue.has(st);ce&&!ft&&(ce=!1),!Xe&&(ft||mt.has(st))&&(Xe=!0)}),ce||Ue.delete(ut.key),Xe&&mt.add(ut.key),Ee.add(ut.key)}})}return{checkedKeys:Array.from(Ue),halfCheckedKeys:Array.from(De(mt,Ue))}}function de(Se,me,Pe,rt){var ue=[],Ue;rt?Ue=rt:Ue=qe;var mt=new Set(Se.filter(function(wt){var Tt=!!(0,fe.Z)(Pe,wt);return Tt||ue.push(wt),Tt})),ot=new Map,vt=0;Object.keys(Pe).forEach(function(wt){var Tt=Pe[wt],$e=Tt.level,ut=ot.get($e);ut||(ut=new Set,ot.set($e,ut)),ut.add(Tt),vt=Math.max(vt,$e)}),(0,ne.ZP)(!ue.length,"Tree missing follow keys: ".concat(ue.slice(0,100).map(function(wt){return"'".concat(wt,"'")}).join(", ")));var Ee;return me===!0?Ee=we(mt,ot,vt,Ue):Ee=ke(mt,me.halfCheckedKeys,ot,vt,Ue),Ee}},3596:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return ne}});function ne(fe,De){return fe[De]}},83898:function(Hn,ln,ee){"use strict";ee.d(ln,{I8:function(){return $e},F:function(){return ye},zn:function(){return Ee},w$:function(){return ot},oH:function(){return wt},km:function(){return mt},H8:function(){return ut}});var ne=ee(71002),fe=ee(74902),De=ee(1413),qe=ee(45987),we=ee(67294),ke=ee(28580);function de(ce){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},et=[];return we.Children.forEach(ce,function(st){st==null&&!Xe.keepEmpty||(Array.isArray(st)?et=et.concat(de(st)):(0,ke.isFragment)(st)&&st.props?et=et.concat(de(st.props.children,Xe)):et.push(st))}),et}function Se(ce,Xe){var et=(0,De.Z)({},ce);return Array.isArray(Xe)&&Xe.forEach(function(st){delete et[st]}),et}var me=ee(72978),Pe=ee(3596),rt=["children"];function ue(ce,Xe){return"".concat(ce,"-").concat(Xe)}function Ue(ce){return ce&&ce.type&&ce.type.isTreeNode}function mt(ce,Xe){return ce!=null?ce:Xe}function ot(ce){var Xe=ce||{},et=Xe.title,st=Xe._title,ft=Xe.key,Re=Xe.children,Be=et||"title";return{title:Be,_title:st||[Be],key:ft||"key",children:Re||"children"}}function vt(ce,Xe){var et=new Map;function st(ft){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ft||[]).forEach(function(Be){var gt=Be[Xe.key],ze=Be[Xe.children];warning(gt!=null,"Tree node must have a certain key: [".concat(Re).concat(gt,"]"));var ct=String(gt);warning(!et.has(ct)||gt===null||gt===void 0,"Same 'key' exist in the Tree: ".concat(ct)),et.set(ct,!0),st(ze,"".concat(Re).concat(ct," > "))})}st(ce)}function Ee(ce){function Xe(et){var st=de(et);return st.map(function(ft){if(!Ue(ft))return(0,me.ZP)(!ft,"Tree/TreeNode can only accept TreeNode as children."),null;var Re=ft.key,Be=ft.props,gt=Be.children,ze=(0,qe.Z)(Be,rt),ct=(0,De.Z)({key:Re},ze),nt=Xe(gt);return nt.length&&(ct.children=nt),ct}).filter(function(ft){return ft})}return Xe(ce)}function wt(ce,Xe,et){var st=ot(et),ft=st._title,Re=st.key,Be=st.children,gt=new Set(Xe===!0?[]:Xe),ze=[];function ct(nt){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return nt.map(function(Rt,an){for(var ht=ue(Ot?Ot.pos:"0",an),Ne=mt(Rt[Re],ht),At,An=0;An<ft.length;An+=1){var jt=ft[An];if(Rt[jt]!==void 0){At=Rt[jt];break}}var Mt=(0,De.Z)((0,De.Z)({},Se(Rt,[].concat((0,fe.Z)(ft),[Re,Be]))),{},{title:At,key:Ne,parent:Ot,pos:ht,children:null,data:Rt,isStart:[].concat((0,fe.Z)(Ot?Ot.isStart:[]),[an===0]),isEnd:[].concat((0,fe.Z)(Ot?Ot.isEnd:[]),[an===nt.length-1])});return ze.push(Mt),Xe===!0||gt.has(Ne)?Mt.children=ct(Rt[Be]||[],Mt):Mt.children=[],Mt})}return ct(ce),ze}function Tt(ce,Xe,et){var st={};(0,ne.Z)(et)==="object"?st=et:st={externalGetKey:et},st=st||{};var ft=st,Re=ft.childrenPropName,Be=ft.externalGetKey,gt=ft.fieldNames,ze=ot(gt),ct=ze.key,nt=ze.children,Ot=Re||nt,Rt;Be?typeof Be=="string"?Rt=function(Ne){return Ne[Be]}:typeof Be=="function"&&(Rt=function(Ne){return Be(Ne)}):Rt=function(Ne,At){return mt(Ne[ct],At)};function an(ht,Ne,At,An){var jt=ht?ht[Ot]:ce,Mt=ht?ue(At.pos,Ne):"0",Kt=ht?[].concat((0,fe.Z)(An),[ht]):[];if(ht){var sn=Rt(ht,Mt),wn={node:ht,index:Ne,pos:Mt,key:sn,parentPos:At.node?At.pos:null,level:At.level+1,nodes:Kt};Xe(wn)}jt&&jt.forEach(function(vn,cn){an(vn,cn,{node:ht,pos:Mt,level:At?At.level+1:-1},Kt)})}an(null)}function $e(ce){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},et=Xe.initWrapper,st=Xe.processEntity,ft=Xe.onProcessFinished,Re=Xe.externalGetKey,Be=Xe.childrenPropName,gt=Xe.fieldNames,ze=arguments.length>2?arguments[2]:void 0,ct=Re||ze,nt={},Ot={},Rt={posEntities:nt,keyEntities:Ot};return et&&(Rt=et(Rt)||Rt),Tt(ce,function(an){var ht=an.node,Ne=an.index,At=an.pos,An=an.key,jt=an.parentPos,Mt=an.level,Kt=an.nodes,sn={node:ht,nodes:Kt,index:Ne,key:An,pos:At,level:Mt},wn=mt(An,At);nt[At]=sn,Ot[wn]=sn,sn.parent=nt[jt],sn.parent&&(sn.parent.children=sn.parent.children||[],sn.parent.children.push(sn)),st&&st(sn,Rt)},{externalGetKey:ct,childrenPropName:Be,fieldNames:gt}),ft&&ft(Rt),Rt}function ut(ce,Xe){var et=Xe.expandedKeys,st=Xe.selectedKeys,ft=Xe.loadedKeys,Re=Xe.loadingKeys,Be=Xe.checkedKeys,gt=Xe.halfCheckedKeys,ze=Xe.dragOverNodeKey,ct=Xe.dropPosition,nt=Xe.keyEntities,Ot=(0,Pe.Z)(nt,ce),Rt={eventKey:ce,expanded:et.indexOf(ce)!==-1,selected:st.indexOf(ce)!==-1,loaded:ft.indexOf(ce)!==-1,loading:Re.indexOf(ce)!==-1,checked:Be.indexOf(ce)!==-1,halfChecked:gt.indexOf(ce)!==-1,pos:String(Ot?Ot.pos:""),dragOver:ze===ce&&ct===0,dragOverGapTop:ze===ce&&ct===-1,dragOverGapBottom:ze===ce&&ct===1};return Rt}function ye(ce){var Xe=ce.data,et=ce.expanded,st=ce.selected,ft=ce.checked,Re=ce.loaded,Be=ce.loading,gt=ce.halfChecked,ze=ce.dragOver,ct=ce.dragOverGapTop,nt=ce.dragOverGapBottom,Ot=ce.pos,Rt=ce.active,an=ce.eventKey,ht=(0,De.Z)((0,De.Z)({},Xe),{},{expanded:et,selected:st,checked:ft,loaded:Re,loading:Be,halfChecked:gt,dragOver:ze,dragOverGapTop:ct,dragOverGapBottom:nt,pos:Ot,active:Rt,key:an});return"props"in ht||Object.defineProperty(ht,"props",{get:function(){return(0,me.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ce}}),ht}},34952:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return Se}});var ne=ee(1413),fe=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,De=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,qe="".concat(fe," ").concat(De).split(/[\s\n]+/),we="aria-",ke="data-";function de(me,Pe){return me.indexOf(Pe)===0}function Se(me){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,rt;Pe===!1?rt={aria:!0,data:!0,attr:!0}:Pe===!0?rt={aria:!0}:rt=(0,ne.Z)({},Pe);var ue={};return Object.keys(me).forEach(function(Ue){(rt.aria&&(Ue==="role"||de(Ue,we))||rt.data&&de(Ue,ke)||rt.attr&&qe.includes(Ue))&&(ue[Ue]=me[Ue])}),ue}},72978:function(Hn,ln,ee){"use strict";var ne={};function fe(Se,me){}function De(Se,me){}function qe(){ne={}}function we(Se,me,Pe){!me&&!ne[Pe]&&(Se(!1,Pe),ne[Pe]=!0)}function ke(Se,me){we(fe,Se,me)}function de(Se,me){we(De,Se,me)}ln.ZP=ke},81533:function(Hn,ln){"use strict";var ee;var ne=typeof Symbol=="function"&&Symbol.for,fe=ne?Symbol.for("react.element"):60103,De=ne?Symbol.for("react.portal"):60106,qe=ne?Symbol.for("react.fragment"):60107,we=ne?Symbol.for("react.strict_mode"):60108,ke=ne?Symbol.for("react.profiler"):60114,de=ne?Symbol.for("react.provider"):60109,Se=ne?Symbol.for("react.context"):60110,me=ne?Symbol.for("react.async_mode"):60111,Pe=ne?Symbol.for("react.concurrent_mode"):60111,rt=ne?Symbol.for("react.forward_ref"):60112,ue=ne?Symbol.for("react.suspense"):60113,Ue=ne?Symbol.for("react.suspense_list"):60120,mt=ne?Symbol.for("react.memo"):60115,ot=ne?Symbol.for("react.lazy"):60116,vt=ne?Symbol.for("react.block"):60121,Ee=ne?Symbol.for("react.fundamental"):60117,wt=ne?Symbol.for("react.responder"):60118,Tt=ne?Symbol.for("react.scope"):60119;function $e(ye){if(typeof ye=="object"&&ye!==null){var ce=ye.$$typeof;switch(ce){case fe:switch(ye=ye.type,ye){case me:case Pe:case qe:case ke:case we:case ue:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case Se:case rt:case ot:case mt:case de:return ye;default:return ce}}case De:return ce}}}function ut(ye){return $e(ye)===Pe}ee=me,ee=Pe,ee=Se,ee=de,ee=fe,ee=rt,ee=qe,ee=ot,ee=mt,ee=De,ee=ke,ee=we,ee=ue,ee=function(ye){return ut(ye)||$e(ye)===me},ee=ut,ee=function(ye){return $e(ye)===Se},ee=function(ye){return $e(ye)===de},ee=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===fe},ee=function(ye){return $e(ye)===rt},ln.isFragment=function(ye){return $e(ye)===qe},ee=function(ye){return $e(ye)===ot},ln.isMemo=function(ye){return $e(ye)===mt},ee=function(ye){return $e(ye)===De},ee=function(ye){return $e(ye)===ke},ee=function(ye){return $e(ye)===we},ee=function(ye){return $e(ye)===ue},ee=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===qe||ye===Pe||ye===ke||ye===we||ye===ue||ye===Ue||typeof ye=="object"&&ye!==null&&(ye.$$typeof===ot||ye.$$typeof===mt||ye.$$typeof===de||ye.$$typeof===Se||ye.$$typeof===rt||ye.$$typeof===Ee||ye.$$typeof===wt||ye.$$typeof===Tt||ye.$$typeof===vt)},ee=$e},28580:function(Hn,ln,ee){"use strict";Hn.exports=ee(81533)},92389:function(Hn,ln){"use strict";var ee={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(fe){var De=fe.keyCode;if(fe.altKey&&!fe.ctrlKey||fe.metaKey||De>=ee.F1&&De<=ee.F12)return!1;switch(De){case ee.ALT:case ee.CAPS_LOCK:case ee.CONTEXT_MENU:case ee.CTRL:case ee.DOWN:case ee.END:case ee.ESC:case ee.HOME:case ee.INSERT:case ee.LEFT:case ee.MAC_FF_META:case ee.META:case ee.NUMLOCK:case ee.NUM_CENTER:case ee.PAGE_DOWN:case ee.PAGE_UP:case ee.PAUSE:case ee.PRINT_SCREEN:case ee.RIGHT:case ee.SHIFT:case ee.UP:case ee.WIN_KEY:case ee.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(fe){if(fe>=ee.ZERO&&fe<=ee.NINE||fe>=ee.NUM_ZERO&&fe<=ee.NUM_MULTIPLY||fe>=ee.A&&fe<=ee.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&fe===0)return!0;switch(fe){case ee.SPACE:case ee.QUESTION_MARK:case ee.NUM_PLUS:case ee.NUM_MINUS:case ee.NUM_PERIOD:case ee.NUM_DIVISION:case ee.SEMICOLON:case ee.DASH:case ee.EQUALS:case ee.COMMA:case ee.PERIOD:case ee.SLASH:case ee.APOSTROPHE:case ee.SINGLE_QUOTE:case ee.OPEN_SQUARE_BRACKET:case ee.BACKSLASH:case ee.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};ln.Z=ee},1337:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return Se}});var ne=ee(1413),fe=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,De=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,qe="".concat(fe," ").concat(De).split(/[\s\n]+/),we="aria-",ke="data-";function de(me,Pe){return me.indexOf(Pe)===0}function Se(me){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,rt;Pe===!1?rt={aria:!0,data:!0,attr:!0}:Pe===!0?rt={aria:!0}:rt=(0,ne.Z)({},Pe);var ue={};return Object.keys(me).forEach(function(Ue){(rt.aria&&(Ue==="role"||de(Ue,we))||rt.data&&de(Ue,ke)||rt.attr&&qe.includes(Ue))&&(ue[Ue]=me[Ue])}),ue}},88386:function(Hn,ln,ee){(function(ne){ne(ee(4631))})(function(ne){ne.defineOption("placeholder","",function(Se,me,Pe){var rt=Pe&&Pe!=ne.Init;if(me&&!rt)Se.on("blur",we),Se.on("change",ke),Se.on("swapDoc",ke),ne.on(Se.getInputField(),"compositionupdate",Se.state.placeholderCompose=function(){qe(Se)}),ke(Se);else if(!me&&rt){Se.off("blur",we),Se.off("change",ke),Se.off("swapDoc",ke),ne.off(Se.getInputField(),"compositionupdate",Se.state.placeholderCompose),fe(Se);var ue=Se.getWrapperElement();ue.className=ue.className.replace(" CodeMirror-empty","")}me&&!Se.hasFocus()&&we(Se)});function fe(Se){Se.state.placeholder&&(Se.state.placeholder.parentNode.removeChild(Se.state.placeholder),Se.state.placeholder=null)}function De(Se){fe(Se);var me=Se.state.placeholder=document.createElement("pre");me.style.cssText="height: 0; overflow: visible",me.style.direction=Se.getOption("direction"),me.className="CodeMirror-placeholder CodeMirror-line-like";var Pe=Se.getOption("placeholder");typeof Pe=="string"&&(Pe=document.createTextNode(Pe)),me.appendChild(Pe),Se.display.lineSpace.insertBefore(me,Se.display.lineSpace.firstChild)}function qe(Se){setTimeout(function(){var me=!1,Pe=Se.getInputField();Pe.nodeName=="TEXTAREA"?me=!Pe.value:Se.lineCount()==1&&(me=!/[^\u200b]/.test(Pe.querySelector(".CodeMirror-line").textContent)),me?De(Se):fe(Se)},20)}function we(Se){de(Se)&&De(Se)}function ke(Se){var me=Se.getWrapperElement(),Pe=de(Se);me.className=me.className.replace(" CodeMirror-empty","")+(Pe?" CodeMirror-empty":""),Pe?De(Se):fe(Se)}function de(Se){return Se.lineCount()===1&&Se.getLine(0)===""}})},82801:function(Hn,ln,ee){(function(ne){ne(ee(4631))})(function(ne){var fe={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},De=ne.Pos;ne.defineOption("autoCloseBrackets",!1,function(ot,vt,Ee){Ee&&Ee!=ne.Init&&(ot.removeKeyMap(we),ot.state.closeBrackets=null),vt&&(ke(qe(vt,"pairs")),ot.state.closeBrackets=vt,ot.addKeyMap(we))});function qe(ot,vt){return vt=="pairs"&&typeof ot=="string"?ot:typeof ot=="object"&&ot[vt]!=null?ot[vt]:fe[vt]}var we={Backspace:me,Enter:Pe};function ke(ot){for(var vt=0;vt<ot.length;vt++){var Ee=ot.charAt(vt),wt="'"+Ee+"'";we[wt]||(we[wt]=de(Ee))}}ke(fe.pairs+"`");function de(ot){return function(vt){return ue(vt,ot)}}function Se(ot){var vt=ot.state.closeBrackets;if(!vt||vt.override)return vt;var Ee=ot.getModeAt(ot.getCursor());return Ee.closeBrackets||vt}function me(ot){var vt=Se(ot);if(!vt||ot.getOption("disableInput"))return ne.Pass;for(var Ee=qe(vt,"pairs"),wt=ot.listSelections(),Tt=0;Tt<wt.length;Tt++){if(!wt[Tt].empty())return ne.Pass;var $e=Ue(ot,wt[Tt].head);if(!$e||Ee.indexOf($e)%2!=0)return ne.Pass}for(var Tt=wt.length-1;Tt>=0;Tt--){var ut=wt[Tt].head;ot.replaceRange("",De(ut.line,ut.ch-1),De(ut.line,ut.ch+1),"+delete")}}function Pe(ot){var vt=Se(ot),Ee=vt&&qe(vt,"explode");if(!Ee||ot.getOption("disableInput"))return ne.Pass;for(var wt=ot.listSelections(),Tt=0;Tt<wt.length;Tt++){if(!wt[Tt].empty())return ne.Pass;var $e=Ue(ot,wt[Tt].head);if(!$e||Ee.indexOf($e)%2!=0)return ne.Pass}ot.operation(function(){var ut=ot.lineSeparator()||`
|
|
|
`;ot.replaceSelection(ut+ut,null),ot.execCommand("goCharLeft"),wt=ot.listSelections();for(var ye=0;ye<wt.length;ye++){var ce=wt[ye].head.line;ot.indentLine(ce,null,!0),ot.indentLine(ce+1,null,!0)}})}function rt(ot){var vt=ne.cmpPos(ot.anchor,ot.head)>0;return{anchor:new De(ot.anchor.line,ot.anchor.ch+(vt?-1:1)),head:new De(ot.head.line,ot.head.ch+(vt?1:-1))}}function ue(ot,vt){var Ee=Se(ot);if(!Ee||ot.getOption("disableInput"))return ne.Pass;var wt=qe(Ee,"pairs"),Tt=wt.indexOf(vt);if(Tt==-1)return ne.Pass;for(var $e=qe(Ee,"closeBefore"),ut=qe(Ee,"triples"),ye=wt.charAt(Tt+1)==vt,ce=ot.listSelections(),Xe=Tt%2==0,et,st=0;st<ce.length;st++){var ft=ce[st],Re=ft.head,Be,gt=ot.getRange(Re,De(Re.line,Re.ch+1));if(Xe&&!ft.empty())Be="surround";else if((ye||!Xe)&>==vt)ye&&mt(ot,Re)?Be="both":ut.indexOf(vt)>=0&&ot.getRange(Re,De(Re.line,Re.ch+3))==vt+vt+vt?Be="skipThree":Be="skip";else if(ye&&Re.ch>1&&ut.indexOf(vt)>=0&&ot.getRange(De(Re.line,Re.ch-2),Re)==vt+vt){if(Re.ch>2&&/\bstring/.test(ot.getTokenTypeAt(De(Re.line,Re.ch-2))))return ne.Pass;Be="addFour"}else if(ye){var ze=Re.ch==0?" ":ot.getRange(De(Re.line,Re.ch-1),Re);if(!ne.isWordChar(gt)&&ze!=vt&&!ne.isWordChar(ze))Be="both";else return ne.Pass}else if(Xe&&(gt.length===0||/\s/.test(gt)||$e.indexOf(gt)>-1))Be="both";else return ne.Pass;if(!et)et=Be;else if(et!=Be)return ne.Pass}var ct=Tt%2?wt.charAt(Tt-1):vt,nt=Tt%2?vt:wt.charAt(Tt+1);ot.operation(function(){if(et=="skip")ot.execCommand("goCharRight");else if(et=="skipThree")for(var Ot=0;Ot<3;Ot++)ot.execCommand("goCharRight");else if(et=="surround"){for(var Rt=ot.getSelections(),Ot=0;Ot<Rt.length;Ot++)Rt[Ot]=ct+Rt[Ot]+nt;ot.replaceSelections(Rt,"around"),Rt=ot.listSelections().slice();for(var Ot=0;Ot<Rt.length;Ot++)Rt[Ot]=rt(Rt[Ot]);ot.setSelections(Rt)}else et=="both"?(ot.replaceSelection(ct+nt,null),ot.triggerElectric(ct+nt),ot.execCommand("goCharLeft")):et=="addFour"&&(ot.replaceSelection(ct+ct+ct+ct,"before"),ot.execCommand("goCharRight"))})}function Ue(ot,vt){var Ee=ot.getRange(De(vt.line,vt.ch-1),De(vt.line,vt.ch+1));return Ee.length==2?Ee:null}function mt(ot,vt){var Ee=ot.getTokenAt(De(vt.line,vt.ch+1));return/\bstring/.test(Ee.type)&&Ee.start==vt.ch&&(vt.ch==0||!/\bstring/.test(ot.getTokenTypeAt(vt)))}})},57341:function(Hn,ln,ee){(function(ne){ne(ee(4631),ee(4786))})(function(ne){ne.defineOption("autoCloseTags",!1,function(me,Pe,rt){if(rt!=ne.Init&&rt&&me.removeKeyMap("autoCloseTags"),!!Pe){var ue={name:"autoCloseTags"};(typeof Pe!="object"||Pe.whenClosing!==!1)&&(ue["'/'"]=function(Ue){return ke(Ue)}),(typeof Pe!="object"||Pe.whenOpening!==!1)&&(ue["'>'"]=function(Ue){return qe(Ue)}),me.addKeyMap(ue)}});var fe=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],De=["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 qe(me){if(me.getOption("disableInput"))return ne.Pass;for(var Pe=me.listSelections(),rt=[],ue=me.getOption("autoCloseTags"),Ue=0;Ue<Pe.length;Ue++){if(!Pe[Ue].empty())return ne.Pass;var mt=Pe[Ue].head,ot=me.getTokenAt(mt),vt=ne.innerMode(me.getMode(),ot.state),Ee=vt.state,wt=vt.mode.xmlCurrentTag&&vt.mode.xmlCurrentTag(Ee),Tt=wt&&wt.name;if(!Tt)return ne.Pass;var $e=vt.mode.configuration=="html",ut=typeof ue=="object"&&ue.dontCloseTags||$e&&fe,ye=typeof ue=="object"&&ue.indentTags||$e&&De;ot.end>mt.ch&&(Tt=Tt.slice(0,Tt.length-ot.end+mt.ch));var ce=Tt.toLowerCase();if(!Tt||ot.type=="string"&&(ot.end!=mt.ch||!/[\"\']/.test(ot.string.charAt(ot.string.length-1))||ot.string.length==1)||ot.type=="tag"&&wt.close||ot.string.indexOf("/")==mt.ch-ot.start-1||ut&&de(ut,ce)>-1||Se(me,vt.mode.xmlCurrentContext&&vt.mode.xmlCurrentContext(Ee)||[],Tt,mt,!0))return ne.Pass;var Xe=typeof ue=="object"&&ue.emptyTags;if(Xe&&de(Xe,Tt)>-1){rt[Ue]={text:"/>",newPos:ne.Pos(mt.line,mt.ch+2)};continue}var et=ye&&de(ye,ce)>-1;rt[Ue]={indent:et,text:">"+(et?`
|
|
|
|
|
|
`:"")+"</"+Tt+">",newPos:et?ne.Pos(mt.line+1,0):ne.Pos(mt.line,mt.ch+1)}}for(var st=typeof ue=="object"&&ue.dontIndentOnAutoClose,Ue=Pe.length-1;Ue>=0;Ue--){var ft=rt[Ue];me.replaceRange(ft.text,Pe[Ue].head,Pe[Ue].anchor,"+insert");var Re=me.listSelections().slice(0);Re[Ue]={head:ft.newPos,anchor:ft.newPos},me.setSelections(Re),!st&&ft.indent&&(me.indentLine(ft.newPos.line,null,!0),me.indentLine(ft.newPos.line+1,null,!0))}}function we(me,Pe){for(var rt=me.listSelections(),ue=[],Ue=Pe?"/":"</",mt=me.getOption("autoCloseTags"),ot=typeof mt=="object"&&mt.dontIndentOnSlash,vt=0;vt<rt.length;vt++){if(!rt[vt].empty())return ne.Pass;var Ee=rt[vt].head,wt=me.getTokenAt(Ee),Tt=ne.innerMode(me.getMode(),wt.state),$e=Tt.state;if(Pe&&(wt.type=="string"||wt.string.charAt(0)!="<"||wt.start!=Ee.ch-1))return ne.Pass;var ut,ye=Tt.mode.name!="xml"&&me.getMode().name=="htmlmixed";if(ye&&Tt.mode.name=="javascript")ut=Ue+"script";else if(ye&&Tt.mode.name=="css")ut=Ue+"style";else{var ce=Tt.mode.xmlCurrentContext&&Tt.mode.xmlCurrentContext($e);if(!ce||ce.length&&Se(me,ce,ce[ce.length-1],Ee))return ne.Pass;ut=Ue+ce[ce.length-1]}me.getLine(Ee.line).charAt(wt.end)!=">"&&(ut+=">"),ue[vt]=ut}if(me.replaceSelections(ue),rt=me.listSelections(),!ot)for(var vt=0;vt<rt.length;vt++)(vt==rt.length-1||rt[vt].head.line<rt[vt+1].head.line)&&me.indentLine(rt[vt].head.line)}function ke(me){return me.getOption("disableInput")?ne.Pass:we(me,!0)}ne.commands.closeTag=function(me){return we(me)};function de(me,Pe){if(me.indexOf)return me.indexOf(Pe);for(var rt=0,ue=me.length;rt<ue;++rt)if(me[rt]==Pe)return rt;return-1}function Se(me,Pe,rt,ue,Ue){if(!ne.scanForClosingTag)return!1;var mt=Math.min(me.lastLine()+1,ue.line+500),ot=ne.scanForClosingTag(me,ue,null,mt);if(!ot||ot.tag!=rt)return!1;for(var vt=Ue?1:0,Ee=Pe.length-1;Ee>=0&&Pe[Ee]==rt;Ee--)++vt;ue=ot.to;for(var Ee=1;Ee<vt;Ee++){var wt=ne.scanForClosingTag(me,ue,null,mt);if(!wt||wt.tag!=rt)return!1;ue=wt.to}return!0}})},4786:function(Hn,ln,ee){(function(ne){ne(ee(4631))})(function(ne){"use strict";var fe=ne.Pos;function De(Ee,wt){return Ee.line-wt.line||Ee.ch-wt.ch}var qe="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",we=qe+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ke=new RegExp("<(/?)(["+qe+"]["+we+"]*)","g");function de(Ee,wt,Tt,$e){this.line=wt,this.ch=Tt,this.cm=Ee,this.text=Ee.getLine(wt),this.min=$e?Math.max($e.from,Ee.firstLine()):Ee.firstLine(),this.max=$e?Math.min($e.to-1,Ee.lastLine()):Ee.lastLine()}function Se(Ee,wt){var Tt=Ee.cm.getTokenTypeAt(fe(Ee.line,wt));return Tt&&/\btag\b/.test(Tt)}function me(Ee){if(!(Ee.line>=Ee.max))return Ee.ch=0,Ee.text=Ee.cm.getLine(++Ee.line),!0}function Pe(Ee){if(!(Ee.line<=Ee.min))return Ee.text=Ee.cm.getLine(--Ee.line),Ee.ch=Ee.text.length,!0}function rt(Ee){for(;;){var wt=Ee.text.indexOf(">",Ee.ch);if(wt==-1){if(me(Ee))continue;return}if(!Se(Ee,wt+1)){Ee.ch=wt+1;continue}var Tt=Ee.text.lastIndexOf("/",wt),$e=Tt>-1&&!/\S/.test(Ee.text.slice(Tt+1,wt));return Ee.ch=wt+1,$e?"selfClose":"regular"}}function ue(Ee){for(;;){var wt=Ee.ch?Ee.text.lastIndexOf("<",Ee.ch-1):-1;if(wt==-1){if(Pe(Ee))continue;return}if(!Se(Ee,wt+1)){Ee.ch=wt;continue}ke.lastIndex=wt,Ee.ch=wt;var Tt=ke.exec(Ee.text);if(Tt&&Tt.index==wt)return Tt}}function Ue(Ee){for(;;){ke.lastIndex=Ee.ch;var wt=ke.exec(Ee.text);if(!wt){if(me(Ee))continue;return}if(!Se(Ee,wt.index+1)){Ee.ch=wt.index+1;continue}return Ee.ch=wt.index+wt[0].length,wt}}function mt(Ee){for(;;){var wt=Ee.ch?Ee.text.lastIndexOf(">",Ee.ch-1):-1;if(wt==-1){if(Pe(Ee))continue;return}if(!Se(Ee,wt+1)){Ee.ch=wt;continue}var Tt=Ee.text.lastIndexOf("/",wt),$e=Tt>-1&&!/\S/.test(Ee.text.slice(Tt+1,wt));return Ee.ch=wt+1,$e?"selfClose":"regular"}}function ot(Ee,wt){for(var Tt=[];;){var $e=Ue(Ee),ut,ye=Ee.line,ce=Ee.ch-($e?$e[0].length:0);if(!$e||!(ut=rt(Ee)))return;if(ut!="selfClose")if($e[1]){for(var Xe=Tt.length-1;Xe>=0;--Xe)if(Tt[Xe]==$e[2]){Tt.length=Xe;break}if(Xe<0&&(!wt||wt==$e[2]))return{tag:$e[2],from:fe(ye,ce),to:fe(Ee.line,Ee.ch)}}else Tt.push($e[2])}}function vt(Ee,wt){for(var Tt=[];;){var $e=mt(Ee);if(!$e)return;if($e=="selfClose"){ue(Ee);continue}var ut=Ee.line,ye=Ee.ch,ce=ue(Ee);if(!ce)return;if(ce[1])Tt.push(ce[2]);else{for(var Xe=Tt.length-1;Xe>=0;--Xe)if(Tt[Xe]==ce[2]){Tt.length=Xe;break}if(Xe<0&&(!wt||wt==ce[2]))return{tag:ce[2],from:fe(Ee.line,Ee.ch),to:fe(ut,ye)}}}}ne.registerHelper("fold","xml",function(Ee,wt){for(var Tt=new de(Ee,wt.line,0);;){var $e=Ue(Tt);if(!$e||Tt.line!=wt.line)return;var ut=rt(Tt);if(!ut)return;if(!$e[1]&&ut!="selfClose"){var ye=fe(Tt.line,Tt.ch),ce=ot(Tt,$e[2]);return ce&&De(ce.from,ye)>0?{from:ye,to:ce.from}:null}}}),ne.findMatchingTag=function(Ee,wt,Tt){var $e=new de(Ee,wt.line,wt.ch,Tt);if(!($e.text.indexOf(">")==-1&&$e.text.indexOf("<")==-1)){var ut=rt($e),ye=ut&&fe($e.line,$e.ch),ce=ut&&ue($e);if(!(!ut||!ce||De($e,wt)>0)){var Xe={from:fe($e.line,$e.ch),to:ye,tag:ce[2]};return ut=="selfClose"?{open:Xe,close:null,at:"open"}:ce[1]?{open:vt($e,ce[2]),close:Xe,at:"close"}:($e=new de(Ee,ye.line,ye.ch,Tt),{open:Xe,close:ot($e,ce[2]),at:"open"})}}},ne.findEnclosingTag=function(Ee,wt,Tt,$e){for(var ut=new de(Ee,wt.line,wt.ch,Tt);;){var ye=vt(ut,$e);if(!ye)break;var ce=new de(Ee,wt.line,wt.ch,Tt),Xe=ot(ce,ye.tag);if(Xe)return{open:ye,close:Xe}}},ne.scanForClosingTag=function(Ee,wt,Tt,$e){var ut=new de(Ee,wt.line,wt.ch,$e?{from:0,to:$e}:null);return ot(ut,Tt)}})},4631:function(Hn){(function(ln,ee){Hn.exports=ee()})(this,function(){"use strict";var ln=navigator.userAgent,ee=navigator.platform,ne=/gecko\/\d/i.test(ln),fe=/MSIE \d/.test(ln),De=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ln),qe=/Edge\/(\d+)/.exec(ln),we=fe||De||qe,ke=we&&(fe?document.documentMode||6:+(qe||De)[1]),de=!qe&&/WebKit\//.test(ln),Se=de&&/Qt\/\d+\.\d+/.test(ln),me=!qe&&/Chrome\//.test(ln),Pe=/Opera\//.test(ln),rt=/Apple Computer/.test(navigator.vendor),ue=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(ln),Ue=/PhantomJS/.test(ln),mt=!qe&&/AppleWebKit/.test(ln)&&/Mobile\/\w+/.test(ln),ot=/Android/.test(ln),vt=mt||ot||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(ln),Ee=mt||/Mac/.test(ee),wt=/\bCrOS\b/.test(ln),Tt=/win/i.test(ee),$e=Pe&&ln.match(/Version\/(\d*\.\d*)/);$e&&($e=Number($e[1])),$e&&$e>=15&&(Pe=!1,de=!0);var ut=Ee&&(Se||Pe&&($e==null||$e<12.11)),ye=ne||we&&ke>=9;function ce(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var Xe=function(x,z){var ae=x.className,re=ce(z).exec(ae);if(re){var oe=ae.slice(re.index+re[0].length);x.className=ae.slice(0,re.index)+(oe?re[1]+oe:"")}};function et(x){for(var z=x.childNodes.length;z>0;--z)x.removeChild(x.firstChild);return x}function st(x,z){return et(x).appendChild(z)}function ft(x,z,ae,re){var oe=document.createElement(x);if(ae&&(oe.className=ae),re&&(oe.style.cssText=re),typeof z=="string")oe.appendChild(document.createTextNode(z));else if(z)for(var xe=0;xe<z.length;++xe)oe.appendChild(z[xe]);return oe}function Re(x,z,ae,re){var oe=ft(x,z,ae,re);return oe.setAttribute("role","presentation"),oe}var Be;document.createRange?Be=function(x,z,ae,re){var oe=document.createRange();return oe.setEnd(re||x,ae),oe.setStart(x,z),oe}:Be=function(x,z,ae){var re=document.body.createTextRange();try{re.moveToElementText(x.parentNode)}catch(oe){return re}return re.collapse(!0),re.moveEnd("character",ae),re.moveStart("character",z),re};function gt(x,z){if(z.nodeType==3&&(z=z.parentNode),x.contains)return x.contains(z);do if(z.nodeType==11&&(z=z.host),z==x)return!0;while(z=z.parentNode)}function ze(){var x;try{x=document.activeElement}catch(z){x=document.body||null}for(;x&&x.shadowRoot&&x.shadowRoot.activeElement;)x=x.shadowRoot.activeElement;return x}function ct(x,z){var ae=x.className;ce(z).test(ae)||(x.className+=(ae?" ":"")+z)}function nt(x,z){for(var ae=x.split(" "),re=0;re<ae.length;re++)ae[re]&&!ce(ae[re]).test(z)&&(z+=" "+ae[re]);return z}var Ot=function(x){x.select()};mt?Ot=function(x){x.selectionStart=0,x.selectionEnd=x.value.length}:we&&(Ot=function(x){try{x.select()}catch(z){}});function Rt(x){var z=Array.prototype.slice.call(arguments,1);return function(){return x.apply(null,z)}}function an(x,z,ae){z||(z={});for(var re in x)x.hasOwnProperty(re)&&(ae!==!1||!z.hasOwnProperty(re))&&(z[re]=x[re]);return z}function ht(x,z,ae,re,oe){z==null&&(z=x.search(/[^\s\u00a0]/),z==-1&&(z=x.length));for(var xe=re||0,We=oe||0;;){var dt=x.indexOf(" ",xe);if(dt<0||dt>=z)return We+(z-xe);We+=dt-xe,We+=ae-We%ae,xe=dt+1}}var Ne=function(){this.id=null,this.f=null,this.time=0,this.handler=Rt(this.onTimeout,this)};Ne.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},Ne.prototype.set=function(x,z){this.f=z;var ae=+new Date+x;(!this.id||ae<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,x),this.time=ae)};function At(x,z){for(var ae=0;ae<x.length;++ae)if(x[ae]==z)return ae;return-1}var An=50,jt={toString:function(){return"CodeMirror.Pass"}},Mt={scroll:!1},Kt={origin:"*mouse"},sn={origin:"+move"};function wn(x,z,ae){for(var re=0,oe=0;;){var xe=x.indexOf(" ",re);xe==-1&&(xe=x.length);var We=xe-re;if(xe==x.length||oe+We>=z)return re+Math.min(We,z-oe);if(oe+=xe-re,oe+=ae-oe%ae,re=xe+1,oe>=z)return re}}var vn=[""];function cn(x){for(;vn.length<=x;)vn.push(Nn(vn)+" ");return vn[x]}function Nn(x){return x[x.length-1]}function dr(x,z){for(var ae=[],re=0;re<x.length;re++)ae[re]=z(x[re],re);return ae}function En(x,z,ae){for(var re=0,oe=ae(z);re<x.length&&ae(x[re])<=oe;)re++;x.splice(re,0,z)}function Ge(){}function ve(x,z){var ae;return Object.create?ae=Object.create(x):(Ge.prototype=x,ae=new Ge),z&&an(z,ae),ae}var he=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function be(x){return/\w/.test(x)||x>"\x80"&&(x.toUpperCase()!=x.toLowerCase()||he.test(x))}function ge(x,z){return z?z.source.indexOf("\\w")>-1&&be(x)?!0:z.test(x):be(x)}function se(x){for(var z in x)if(x.hasOwnProperty(z)&&x[z])return!1;return!0}var Ye=/[\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 xt(x){return x.charCodeAt(0)>=768&&Ye.test(x)}function pn(x,z,ae){for(;(ae<0?z>0:z<x.length)&&xt(x.charAt(z));)z+=ae;return z}function on(x,z,ae){for(var re=z>ae?-1:1;;){if(z==ae)return z;var oe=(z+ae)/2,xe=re<0?Math.ceil(oe):Math.floor(oe);if(xe==z)return x(xe)?z:ae;x(xe)?ae=xe:z=xe+re}}function In(x,z,ae,re){if(!x)return re(z,ae,"ltr",0);for(var oe=!1,xe=0;xe<x.length;++xe){var We=x[xe];(We.from<ae&&We.to>z||z==ae&&We.to==z)&&(re(Math.max(We.from,z),Math.min(We.to,ae),We.level==1?"rtl":"ltr",xe),oe=!0)}oe||re(z,ae,"ltr")}var Qn=null;function _n(x,z,ae){var re;Qn=null;for(var oe=0;oe<x.length;++oe){var xe=x[oe];if(xe.from<z&&xe.to>z)return oe;xe.to==z&&(xe.from!=xe.to&&ae=="before"?re=oe:Qn=oe),xe.from==z&&(xe.from!=xe.to&&ae!="before"?re=oe:Qn=oe)}return re!=null?re:Qn}var Vt=function(){var x="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",z="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ae(Ft){return Ft<=247?x.charAt(Ft):1424<=Ft&&Ft<=1524?"R":1536<=Ft&&Ft<=1785?z.charAt(Ft-1536):1774<=Ft&&Ft<=2220?"r":8192<=Ft&&Ft<=8203?"w":Ft==8204?"b":"L"}var re=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,oe=/[stwN]/,xe=/[LRr]/,We=/[Lb1n]/,dt=/[1n]/;function Ct(Ft,er,gr){this.level=Ft,this.from=er,this.to=gr}return function(Ft,er){var gr=er=="ltr"?"L":"R";if(Ft.length==0||er=="ltr"&&!re.test(Ft))return!1;for(var oa=Ft.length,ea=[],oi=0;oi<oa;++oi)ea.push(ae(Ft.charCodeAt(oi)));for(var wi=0,fo=gr;wi<oa;++wi){var Ro=ea[wi];Ro=="m"?ea[wi]=fo:fo=Ro}for(var Xo=0,Mo=gr;Xo<oa;++Xo){var qo=ea[Xo];qo=="1"&&Mo=="r"?ea[Xo]="n":xe.test(qo)&&(Mo=qo,qo=="r"&&(ea[Xo]="R"))}for(var Ol=1,Zl=ea[0];Ol<oa-1;++Ol){var bs=ea[Ol];bs=="+"&&Zl=="1"&&ea[Ol+1]=="1"?ea[Ol]="1":bs==","&&Zl==ea[Ol+1]&&(Zl=="1"||Zl=="n")&&(ea[Ol]=Zl),Zl=bs}for(var qs=0;qs<oa;++qs){var zu=ea[qs];if(zu==",")ea[qs]="N";else if(zu=="%"){var gu=void 0;for(gu=qs+1;gu<oa&&ea[gu]=="%";++gu);for(var Ju=qs&&ea[qs-1]=="!"||gu<oa&&ea[gu]=="1"?"1":"N",qu=qs;qu<gu;++qu)ea[qu]=Ju;qs=gu-1}}for(var Bu=0,$u=gr;Bu<oa;++Bu){var fs=ea[Bu];$u=="L"&&fs=="1"?ea[Bu]="L":xe.test(fs)&&($u=fs)}for(var Su=0;Su<oa;++Su)if(oe.test(ea[Su])){var yu=void 0;for(yu=Su+1;yu<oa&&oe.test(ea[yu]);++yu);for(var Cu=(Su?ea[Su-1]:gr)=="L",Mu=(yu<oa?ea[yu]:gr)=="L",nd=Cu==Mu?Cu?"L":"R":gr,oc=Su;oc<yu;++oc)ea[oc]=nd;Su=yu-1}for(var Zu=[],Fs,Tu=0;Tu<oa;)if(We.test(ea[Tu])){var zd=Tu;for(++Tu;Tu<oa&&We.test(ea[Tu]);++Tu);Zu.push(new Ct(0,zd,Tu))}else{var Lc=Tu,zc=Zu.length,Sc=er=="rtl"?1:0;for(++Tu;Tu<oa&&ea[Tu]!="L";++Tu);for(var Lu=Lc;Lu<Tu;)if(dt.test(ea[Lu])){Lc<Lu&&(Zu.splice(zc,0,new Ct(1,Lc,Lu)),zc+=Sc);var rd=Lu;for(++Lu;Lu<Tu&&dt.test(ea[Lu]);++Lu);Zu.splice(zc,0,new Ct(2,rd,Lu)),zc+=Sc,Lc=Lu}else++Lu;Lc<Tu&&Zu.splice(zc,0,new Ct(1,Lc,Tu))}return er=="ltr"&&(Zu[0].level==1&&(Fs=Ft.match(/^\s+/))&&(Zu[0].from=Fs[0].length,Zu.unshift(new Ct(0,0,Fs[0].length))),Nn(Zu).level==1&&(Fs=Ft.match(/\s+$/))&&(Nn(Zu).to-=Fs[0].length,Zu.push(new Ct(0,oa-Fs[0].length,oa)))),er=="rtl"?Zu.reverse():Zu}}();function gn(x,z){var ae=x.order;return ae==null&&(ae=x.order=Vt(x.text,z)),ae}var Fn=[],Tn=function(x,z,ae){if(x.addEventListener)x.addEventListener(z,ae,!1);else if(x.attachEvent)x.attachEvent("on"+z,ae);else{var re=x._handlers||(x._handlers={});re[z]=(re[z]||Fn).concat(ae)}};function qt(x,z){return x._handlers&&x._handlers[z]||Fn}function Dr(x,z,ae){if(x.removeEventListener)x.removeEventListener(z,ae,!1);else if(x.detachEvent)x.detachEvent("on"+z,ae);else{var re=x._handlers,oe=re&&re[z];if(oe){var xe=At(oe,ae);xe>-1&&(re[z]=oe.slice(0,xe).concat(oe.slice(xe+1)))}}}function Ut(x,z){var ae=qt(x,z);if(ae.length)for(var re=Array.prototype.slice.call(arguments,2),oe=0;oe<ae.length;++oe)ae[oe].apply(null,re)}function nn(x,z,ae){return typeof z=="string"&&(z={type:z,preventDefault:function(){this.defaultPrevented=!0}}),Ut(x,ae||z.type,x,z),Ia(z)||z.codemirrorIgnore}function Nr(x){var z=x._handlers&&x._handlers.cursorActivity;if(z)for(var ae=x.curOp.cursorActivityHandlers||(x.curOp.cursorActivityHandlers=[]),re=0;re<z.length;++re)At(ae,z[re])==-1&&ae.push(z[re])}function cr(x,z){return qt(x,z).length>0}function Fr(x){x.prototype.on=function(z,ae){Tn(this,z,ae)},x.prototype.off=function(z,ae){Dr(this,z,ae)}}function aa(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function Jn(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function Ia(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function Ta(x){aa(x),Jn(x)}function ti(x){return x.target||x.srcElement}function Jr(x){var z=x.which;return z==null&&(x.button&1?z=1:x.button&2?z=3:x.button&4&&(z=2)),Ee&&x.ctrlKey&&z==1&&(z=3),z}var ja=function(){if(we&&ke<9)return!1;var x=ft("div");return"draggable"in x||"dragDrop"in x}(),Si;function $a(x){if(Si==null){var z=ft("span","\u200B");st(x,ft("span",[z,document.createTextNode("x")])),x.firstChild.offsetHeight!=0&&(Si=z.offsetWidth<=1&&z.offsetHeight>2&&!(we&&ke<8))}var ae=Si?ft("span","\u200B"):ft("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ae.setAttribute("cm-text",""),ae}var ji;function Ni(x){if(ji!=null)return ji;var z=st(x,document.createTextNode("A\u062EA")),ae=Be(z,0,1).getBoundingClientRect(),re=Be(z,1,2).getBoundingClientRect();return et(x),!ae||ae.left==ae.right?!1:ji=re.right-ae.right<3}var Ln=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(x){for(var z=0,ae=[],re=x.length;z<=re;){var oe=x.indexOf(`
|
|
|
`,z);oe==-1&&(oe=x.length);var xe=x.slice(z,x.charAt(oe-1)=="\r"?oe-1:oe),We=xe.indexOf("\r");We!=-1?(ae.push(xe.slice(0,We)),z+=We+1):(ae.push(xe),z=oe+1)}return ae}:function(x){return x.split(/\r\n?|\n/)},Pn=window.getSelection?function(x){try{return x.selectionStart!=x.selectionEnd}catch(z){return!1}}:function(x){var z;try{z=x.ownerDocument.selection.createRange()}catch(ae){}return!z||z.parentElement()!=x?!1:z.compareEndPoints("StartToEnd",z)!=0},rr=function(){var x=ft("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),or=null;function $r(x){if(or!=null)return or;var z=st(x,ft("span","x")),ae=z.getBoundingClientRect(),re=Be(z,0,1).getBoundingClientRect();return or=Math.abs(ae.left-re.left)>1}var Br={},jr={};function hn(x,z){arguments.length>2&&(z.dependencies=Array.prototype.slice.call(arguments,2)),Br[x]=z}function It(x,z){jr[x]=z}function Zt(x){if(typeof x=="string"&&jr.hasOwnProperty(x))x=jr[x];else if(x&&typeof x.name=="string"&&jr.hasOwnProperty(x.name)){var z=jr[x.name];typeof z=="string"&&(z={name:z}),x=ve(z,x),x.name=z.name}else{if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return Zt("application/xml");if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return Zt("application/json")}return typeof x=="string"?{name:x}:x||{name:"null"}}function Gt(x,z){z=Zt(z);var ae=Br[z.name];if(!ae)return Gt(x,"text/plain");var re=ae(x,z);if(Gn.hasOwnProperty(z.name)){var oe=Gn[z.name];for(var xe in oe)oe.hasOwnProperty(xe)&&(re.hasOwnProperty(xe)&&(re["_"+xe]=re[xe]),re[xe]=oe[xe])}if(re.name=z.name,z.helperType&&(re.helperType=z.helperType),z.modeProps)for(var We in z.modeProps)re[We]=z.modeProps[We];return re}var Gn={};function kt(x,z){var ae=Gn.hasOwnProperty(x)?Gn[x]:Gn[x]={};an(z,ae)}function mn(x,z){if(z===!0)return z;if(x.copyState)return x.copyState(z);var ae={};for(var re in z){var oe=z[re];oe instanceof Array&&(oe=oe.concat([])),ae[re]=oe}return ae}function Zn(x,z){for(var ae;x.innerMode&&(ae=x.innerMode(z),!(!ae||ae.mode==x));)z=ae.state,x=ae.mode;return ae||{mode:x,state:z}}function Mn(x,z,ae){return x.startState?x.startState(z,ae):!0}var ar=function(x,z,ae){this.pos=this.start=0,this.string=x,this.tabSize=z||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ae};ar.prototype.eol=function(){return this.pos>=this.string.length},ar.prototype.sol=function(){return this.pos==this.lineStart},ar.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},ar.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},ar.prototype.eat=function(x){var z=this.string.charAt(this.pos),ae;if(typeof x=="string"?ae=z==x:ae=z&&(x.test?x.test(z):x(z)),ae)return++this.pos,z},ar.prototype.eatWhile=function(x){for(var z=this.pos;this.eat(x););return this.pos>z},ar.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},ar.prototype.skipToEnd=function(){this.pos=this.string.length},ar.prototype.skipTo=function(x){var z=this.string.indexOf(x,this.pos);if(z>-1)return this.pos=z,!0},ar.prototype.backUp=function(x){this.pos-=x},ar.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=ht(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?ht(this.string,this.lineStart,this.tabSize):0)},ar.prototype.indentation=function(){return ht(this.string,null,this.tabSize)-(this.lineStart?ht(this.string,this.lineStart,this.tabSize):0)},ar.prototype.match=function(x,z,ae){if(typeof x=="string"){var re=function(We){return ae?We.toLowerCase():We},oe=this.string.substr(this.pos,x.length);if(re(oe)==re(x))return z!==!1&&(this.pos+=x.length),!0}else{var xe=this.string.slice(this.pos).match(x);return xe&&xe.index>0?null:(xe&&z!==!1&&(this.pos+=xe[0].length),xe)}},ar.prototype.current=function(){return this.string.slice(this.start,this.pos)},ar.prototype.hideFirstChars=function(x,z){this.lineStart+=x;try{return z()}finally{this.lineStart-=x}},ar.prototype.lookAhead=function(x){var z=this.lineOracle;return z&&z.lookAhead(x)},ar.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};function hr(x,z){if(z-=x.first,z<0||z>=x.size)throw new Error("There is no line "+(z+x.first)+" in the document.");for(var ae=x;!ae.lines;)for(var re=0;;++re){var oe=ae.children[re],xe=oe.chunkSize();if(z<xe){ae=oe;break}z-=xe}return ae.lines[z]}function dn(x,z,ae){var re=[],oe=z.line;return x.iter(z.line,ae.line+1,function(xe){var We=xe.text;oe==ae.line&&(We=We.slice(0,ae.ch)),oe==z.line&&(We=We.slice(z.ch)),re.push(We),++oe}),re}function za(x,z,ae){var re=[];return x.iter(z,ae,function(oe){re.push(oe.text)}),re}function pa(x,z){var ae=z-x.height;if(ae)for(var re=x;re;re=re.parent)re.height+=ae}function ma(x){if(x.parent==null)return null;for(var z=x.parent,ae=At(z.lines,x),re=z.parent;re;z=re,re=re.parent)for(var oe=0;re.children[oe]!=z;++oe)ae+=re.children[oe].chunkSize();return ae+z.first}function Sa(x,z){var ae=x.first;e:do{for(var re=0;re<x.children.length;++re){var oe=x.children[re],xe=oe.height;if(z<xe){x=oe;continue e}z-=xe,ae+=oe.chunkSize()}return ae}while(!x.lines);for(var We=0;We<x.lines.length;++We){var dt=x.lines[We],Ct=dt.height;if(z<Ct)break;z-=Ct}return ae+We}function Aa(x,z){return z>=x.first&&z<x.first+x.size}function ka(x,z){return String(x.lineNumberFormatter(z+x.firstLineNumber))}function Er(x,z,ae){if(ae===void 0&&(ae=null),!(this instanceof Er))return new Er(x,z,ae);this.line=x,this.ch=z,this.sticky=ae}function Gr(x,z){return x.line-z.line||x.ch-z.ch}function Zi(x,z){return x.sticky==z.sticky&&Gr(x,z)==0}function Ii(x){return Er(x.line,x.ch)}function ni(x,z){return Gr(x,z)<0?z:x}function hi(x,z){return Gr(x,z)<0?x:z}function io(x,z){return Math.max(x.first,Math.min(z,x.first+x.size-1))}function ri(x,z){if(z.line<x.first)return Er(x.first,0);var ae=x.first+x.size-1;return z.line>ae?Er(ae,hr(x,ae).text.length):ho(z,hr(x,z.line).text.length)}function ho(x,z){var ae=x.ch;return ae==null||ae>z?Er(x.line,z):ae<0?Er(x.line,0):x}function ia(x,z){for(var ae=[],re=0;re<z.length;re++)ae[re]=ri(x,z[re]);return ae}var so=function(x,z){this.state=x,this.lookAhead=z},xo=function(x,z,ae,re){this.state=z,this.doc=x,this.line=ae,this.maxLookAhead=re||0,this.baseTokens=null,this.baseTokenPos=1};xo.prototype.lookAhead=function(x){var z=this.doc.getLine(this.line+x);return z!=null&&x>this.maxLookAhead&&(this.maxLookAhead=x),z},xo.prototype.baseToken=function(x){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=x;)this.baseTokenPos+=2;var z=this.baseTokens[this.baseTokenPos+1];return{type:z&&z.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-x}},xo.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},xo.fromSaved=function(x,z,ae){return z instanceof so?new xo(x,mn(x.mode,z.state),ae,z.lookAhead):new xo(x,mn(x.mode,z),ae)},xo.prototype.save=function(x){var z=x!==!1?mn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new so(z,this.maxLookAhead):z};function ml(x,z,ae,re){var oe=[x.state.modeGen],xe={};Sl(x,z.text,x.doc.mode,ae,function(Ft,er){return oe.push(Ft,er)},xe,re);for(var We=ae.state,dt=function(Ft){ae.baseTokens=oe;var er=x.state.overlays[Ft],gr=1,oa=0;ae.state=!0,Sl(x,z.text,er.mode,ae,function(ea,oi){for(var wi=gr;oa<ea;){var fo=oe[gr];fo>ea&&oe.splice(gr,1,ea,oe[gr+1],fo),gr+=2,oa=Math.min(ea,fo)}if(oi)if(er.opaque)oe.splice(wi,gr-wi,ea,"overlay "+oi),gr=wi+2;else for(;wi<gr;wi+=2){var Ro=oe[wi+1];oe[wi+1]=(Ro?Ro+" ":"")+"overlay "+oi}},xe),ae.state=We,ae.baseTokens=null,ae.baseTokenPos=1},Ct=0;Ct<x.state.overlays.length;++Ct)dt(Ct);return{styles:oe,classes:xe.bgClass||xe.textClass?xe:null}}function vl(x,z,ae){if(!z.styles||z.styles[0]!=x.state.modeGen){var re=Yo(x,ma(z)),oe=z.text.length>x.options.maxHighlightLength&&mn(x.doc.mode,re.state),xe=ml(x,z,re);oe&&(re.state=oe),z.stateAfter=re.save(!oe),z.styles=xe.styles,xe.classes?z.styleClasses=xe.classes:z.styleClasses&&(z.styleClasses=null),ae===x.doc.highlightFrontier&&(x.doc.modeFrontier=Math.max(x.doc.modeFrontier,++x.doc.highlightFrontier))}return z.styles}function Yo(x,z,ae){var re=x.doc,oe=x.display;if(!re.mode.startState)return new xo(re,!0,z);var xe=Ci(x,z,ae),We=xe>re.first&&hr(re,xe-1).stateAfter,dt=We?xo.fromSaved(re,We,xe):new xo(re,Mn(re.mode),xe);return re.iter(xe,z,function(Ct){uo(x,Ct.text,dt);var Ft=dt.line;Ct.stateAfter=Ft==z-1||Ft%5==0||Ft>=oe.viewFrom&&Ft<oe.viewTo?dt.save():null,dt.nextLine()}),ae&&(re.modeFrontier=dt.line),dt}function uo(x,z,ae,re){var oe=x.doc.mode,xe=new ar(z,x.options.tabSize,ae);for(xe.start=xe.pos=re||0,z==""&&wl(oe,ae.state);!xe.eol();)Qo(oe,xe,ae.state),xe.start=xe.pos}function wl(x,z){if(x.blankLine)return x.blankLine(z);if(x.innerMode){var ae=Zn(x,z);if(ae.mode.blankLine)return ae.mode.blankLine(ae.state)}}function Qo(x,z,ae,re){for(var oe=0;oe<10;oe++){re&&(re[0]=Zn(x,ae).mode);var xe=x.token(z,ae);if(z.pos>z.start)return xe}throw new Error("Mode "+x.name+" failed to advance stream.")}var dl=function(x,z,ae){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=z||null,this.state=ae};function zl(x,z,ae,re){var oe=x.doc,xe=oe.mode,We;z=ri(oe,z);var dt=hr(oe,z.line),Ct=Yo(x,z.line,ae),Ft=new ar(dt.text,x.options.tabSize,Ct),er;for(re&&(er=[]);(re||Ft.pos<z.ch)&&!Ft.eol();)Ft.start=Ft.pos,We=Qo(xe,Ft,Ct.state),re&&er.push(new dl(Ft,We,mn(oe.mode,Ct.state)));return re?er:new dl(Ft,We,Ct.state)}function bl(x,z){if(x)for(;;){var ae=x.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ae)break;x=x.slice(0,ae.index)+x.slice(ae.index+ae[0].length);var re=ae[1]?"bgClass":"textClass";z[re]==null?z[re]=ae[2]:new RegExp("(?:^|\\s)"+ae[2]+"(?:$|\\s)").test(z[re])||(z[re]+=" "+ae[2])}return x}function Sl(x,z,ae,re,oe,xe,We){var dt=ae.flattenSpans;dt==null&&(dt=x.options.flattenSpans);var Ct=0,Ft=null,er=new ar(z,x.options.tabSize,re),gr,oa=x.options.addModeClass&&[null];for(z==""&&bl(wl(ae,re.state),xe);!er.eol();){if(er.pos>x.options.maxHighlightLength?(dt=!1,We&&uo(x,z,re,er.pos),er.pos=z.length,gr=null):gr=bl(Qo(ae,er,re.state,oa),xe),oa){var ea=oa[0].name;ea&&(gr="m-"+(gr?ea+" "+gr:ea))}if(!dt||Ft!=gr){for(;Ct<er.start;)Ct=Math.min(er.start,Ct+5e3),oe(Ct,Ft);Ft=gr}er.start=er.pos}for(;Ct<er.pos;){var oi=Math.min(er.pos,Ct+5e3);oe(oi,Ft),Ct=oi}}function Ci(x,z,ae){for(var re,oe,xe=x.doc,We=ae?-1:z-(x.doc.mode.innerMode?1e3:100),dt=z;dt>We;--dt){if(dt<=xe.first)return xe.first;var Ct=hr(xe,dt-1),Ft=Ct.stateAfter;if(Ft&&(!ae||dt+(Ft instanceof so?Ft.lookAhead:0)<=xe.modeFrontier))return dt;var er=ht(Ct.text,null,x.options.tabSize);(oe==null||re>er)&&(oe=dt-1,re=er)}return oe}function Do(x,z){if(x.modeFrontier=Math.min(x.modeFrontier,z),!(x.highlightFrontier<z-10)){for(var ae=x.first,re=z-1;re>ae;re--){var oe=hr(x,re).stateAfter;if(oe&&(!(oe instanceof so)||re+oe.lookAhead<z)){ae=re+1;break}}x.highlightFrontier=Math.min(x.highlightFrontier,ae)}}var Pi=!1,Bi=!1;function zn(){Pi=!0}function Cn(){Bi=!0}function mr(x,z,ae){this.marker=x,this.from=z,this.to=ae}function Yr(x,z){if(x)for(var ae=0;ae<x.length;++ae){var re=x[ae];if(re.marker==z)return re}}function ha(x,z){for(var ae,re=0;re<x.length;++re)x[re]!=z&&(ae||(ae=[])).push(x[re]);return ae}function mi(x,z){x.markedSpans=x.markedSpans?x.markedSpans.concat([z]):[z],z.marker.attachLine(x)}function xi(x,z,ae){var re;if(x)for(var oe=0;oe<x.length;++oe){var xe=x[oe],We=xe.marker,dt=xe.from==null||(We.inclusiveLeft?xe.from<=z:xe.from<z);if(dt||xe.from==z&&We.type=="bookmark"&&(!ae||!xe.marker.insertLeft)){var Ct=xe.to==null||(We.inclusiveRight?xe.to>=z:xe.to>z);(re||(re=[])).push(new mr(We,xe.from,Ct?null:xe.to))}}return re}function Ui(x,z,ae){var re;if(x)for(var oe=0;oe<x.length;++oe){var xe=x[oe],We=xe.marker,dt=xe.to==null||(We.inclusiveRight?xe.to>=z:xe.to>z);if(dt||xe.from==z&&We.type=="bookmark"&&(!ae||xe.marker.insertLeft)){var Ct=xe.from==null||(We.inclusiveLeft?xe.from<=z:xe.from<z);(re||(re=[])).push(new mr(We,Ct?null:xe.from-z,xe.to==null?null:xe.to-z))}}return re}function di(x,z){if(z.full)return null;var ae=Aa(x,z.from.line)&&hr(x,z.from.line).markedSpans,re=Aa(x,z.to.line)&&hr(x,z.to.line).markedSpans;if(!ae&&!re)return null;var oe=z.from.ch,xe=z.to.ch,We=Gr(z.from,z.to)==0,dt=xi(ae,oe,We),Ct=Ui(re,xe,We),Ft=z.text.length==1,er=Nn(z.text).length+(Ft?oe:0);if(dt)for(var gr=0;gr<dt.length;++gr){var oa=dt[gr];if(oa.to==null){var ea=Yr(Ct,oa.marker);ea?Ft&&(oa.to=ea.to==null?null:ea.to+er):oa.to=oe}}if(Ct)for(var oi=0;oi<Ct.length;++oi){var wi=Ct[oi];if(wi.to!=null&&(wi.to+=er),wi.from==null){var fo=Yr(dt,wi.marker);fo||(wi.from=er,Ft&&(dt||(dt=[])).push(wi))}else wi.from+=er,Ft&&(dt||(dt=[])).push(wi)}dt&&(dt=Mi(dt)),Ct&&Ct!=dt&&(Ct=Mi(Ct));var Ro=[dt];if(!Ft){var Xo=z.text.length-2,Mo;if(Xo>0&&dt)for(var qo=0;qo<dt.length;++qo)dt[qo].to==null&&(Mo||(Mo=[])).push(new mr(dt[qo].marker,null,null));for(var Ol=0;Ol<Xo;++Ol)Ro.push(Mo);Ro.push(Ct)}return Ro}function Mi(x){for(var z=0;z<x.length;++z){var ae=x[z];ae.from!=null&&ae.from==ae.to&&ae.marker.clearWhenEmpty!==!1&&x.splice(z--,1)}return x.length?x:null}function Ao(x,z,ae){var re=null;if(x.iter(z.line,ae.line+1,function(ea){if(ea.markedSpans)for(var oi=0;oi<ea.markedSpans.length;++oi){var wi=ea.markedSpans[oi].marker;wi.readOnly&&(!re||At(re,wi)==-1)&&(re||(re=[])).push(wi)}}),!re)return null;for(var oe=[{from:z,to:ae}],xe=0;xe<re.length;++xe)for(var We=re[xe],dt=We.find(0),Ct=0;Ct<oe.length;++Ct){var Ft=oe[Ct];if(!(Gr(Ft.to,dt.from)<0||Gr(Ft.from,dt.to)>0)){var er=[Ct,1],gr=Gr(Ft.from,dt.from),oa=Gr(Ft.to,dt.to);(gr<0||!We.inclusiveLeft&&!gr)&&er.push({from:Ft.from,to:dt.from}),(oa>0||!We.inclusiveRight&&!oa)&&er.push({from:dt.to,to:Ft.to}),oe.splice.apply(oe,er),Ct+=er.length-3}}return oe}function Wo(x){var z=x.markedSpans;if(z){for(var ae=0;ae<z.length;++ae)z[ae].marker.detachLine(x);x.markedSpans=null}}function $o(x,z){if(z){for(var ae=0;ae<z.length;++ae)z[ae].marker.attachLine(x);x.markedSpans=z}}function He(x){return x.inclusiveLeft?-1:0}function tt(x){return x.inclusiveRight?1:0}function Nt(x,z){var ae=x.lines.length-z.lines.length;if(ae!=0)return ae;var re=x.find(),oe=z.find(),xe=Gr(re.from,oe.from)||He(x)-He(z);if(xe)return-xe;var We=Gr(re.to,oe.to)||tt(x)-tt(z);return We||z.id-x.id}function pe(x,z){var ae=Bi&&x.markedSpans,re;if(ae)for(var oe=void 0,xe=0;xe<ae.length;++xe)oe=ae[xe],oe.marker.collapsed&&(z?oe.from:oe.to)==null&&(!re||Nt(re,oe.marker)<0)&&(re=oe.marker);return re}function Oe(x){return pe(x,!0)}function Ae(x){return pe(x,!1)}function Ke(x,z){var ae=Bi&&x.markedSpans,re;if(ae)for(var oe=0;oe<ae.length;++oe){var xe=ae[oe];xe.marker.collapsed&&(xe.from==null||xe.from<z)&&(xe.to==null||xe.to>z)&&(!re||Nt(re,xe.marker)<0)&&(re=xe.marker)}return re}function Qe(x,z,ae,re,oe){var xe=hr(x,z),We=Bi&&xe.markedSpans;if(We)for(var dt=0;dt<We.length;++dt){var Ct=We[dt];if(Ct.marker.collapsed){var Ft=Ct.marker.find(0),er=Gr(Ft.from,ae)||He(Ct.marker)-He(oe),gr=Gr(Ft.to,re)||tt(Ct.marker)-tt(oe);if(!(er>=0&&gr<=0||er<=0&&gr>=0)&&(er<=0&&(Ct.marker.inclusiveRight&&oe.inclusiveLeft?Gr(Ft.to,ae)>=0:Gr(Ft.to,ae)>0)||er>=0&&(Ct.marker.inclusiveRight&&oe.inclusiveLeft?Gr(Ft.from,re)<=0:Gr(Ft.from,re)<0)))return!0}}}function at(x){for(var z;z=Oe(x);)x=z.find(-1,!0).line;return x}function pt(x){for(var z;z=Ae(x);)x=z.find(1,!0).line;return x}function $t(x){for(var z,ae;z=Ae(x);)x=z.find(1,!0).line,(ae||(ae=[])).push(x);return ae}function tn(x,z){var ae=hr(x,z),re=at(ae);return ae==re?z:ma(re)}function Yn(x,z){if(z>x.lastLine())return z;var ae=hr(x,z),re;if(!fr(x,ae))return z;for(;re=Ae(ae);)ae=re.find(1,!0).line;return ma(ae)+1}function fr(x,z){var ae=Bi&&z.markedSpans;if(ae){for(var re=void 0,oe=0;oe<ae.length;++oe)if(re=ae[oe],!!re.marker.collapsed){if(re.from==null)return!0;if(!re.marker.widgetNode&&re.from==0&&re.marker.inclusiveLeft&&Cr(x,z,re))return!0}}}function Cr(x,z,ae){if(ae.to==null){var re=ae.marker.find(1,!0);return Cr(x,re.line,Yr(re.line.markedSpans,ae.marker))}if(ae.marker.inclusiveRight&&ae.to==z.text.length)return!0;for(var oe=void 0,xe=0;xe<z.markedSpans.length;++xe)if(oe=z.markedSpans[xe],oe.marker.collapsed&&!oe.marker.widgetNode&&oe.from==ae.to&&(oe.to==null||oe.to!=ae.from)&&(oe.marker.inclusiveLeft||ae.marker.inclusiveRight)&&Cr(x,z,oe))return!0}function Dn(x){x=at(x);for(var z=0,ae=x.parent,re=0;re<ae.lines.length;++re){var oe=ae.lines[re];if(oe==x)break;z+=oe.height}for(var xe=ae.parent;xe;ae=xe,xe=ae.parent)for(var We=0;We<xe.children.length;++We){var dt=xe.children[We];if(dt==ae)break;z+=dt.height}return z}function qn(x){if(x.height==0)return 0;for(var z=x.text.length,ae,re=x;ae=Oe(re);){var oe=ae.find(0,!0);re=oe.from.line,z+=oe.from.ch-oe.to.ch}for(re=x;ae=Ae(re);){var xe=ae.find(0,!0);z-=re.text.length-xe.from.ch,re=xe.to.line,z+=re.text.length-xe.to.ch}return z}function Xn(x){var z=x.display,ae=x.doc;z.maxLine=hr(ae,ae.first),z.maxLineLength=qn(z.maxLine),z.maxLineChanged=!0,ae.iter(function(re){var oe=qn(re);oe>z.maxLineLength&&(z.maxLineLength=oe,z.maxLine=re)})}var Ar=function(x,z,ae){this.text=x,$o(this,z),this.height=ae?ae(this):1};Ar.prototype.lineNo=function(){return ma(this)},Fr(Ar);function Or(x,z,ae,re){x.text=z,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),Wo(x),$o(x,ae);var oe=re?re(x):1;oe!=x.height&&pa(x,oe)}function Kr(x){x.parent=null,Wo(x)}var Tr={},_r={};function Zr(x,z){if(!x||/^\s*$/.test(x))return null;var ae=z.addModeClass?_r:Tr;return ae[x]||(ae[x]=x.replace(/\S+/g,"cm-$&"))}function qr(x,z){var ae=Re("span",null,null,de?"padding-right: .1px":null),re={pre:Re("pre",[ae],"CodeMirror-line"),content:ae,col:0,pos:0,cm:x,trailingSpace:!1,splitSpaces:x.getOption("lineWrapping")};z.measure={};for(var oe=0;oe<=(z.rest?z.rest.length:0);oe++){var xe=oe?z.rest[oe-1]:z.line,We=void 0;re.pos=0,re.addToken=Pt,Ni(x.display.measure)&&(We=gn(xe,x.doc.direction))&&(re.addToken=Bn(re.addToken,We)),re.map=[];var dt=z!=x.display.externalMeasured&&ma(xe);zr(xe,re,vl(x,xe,dt)),xe.styleClasses&&(xe.styleClasses.bgClass&&(re.bgClass=nt(xe.styleClasses.bgClass,re.bgClass||"")),xe.styleClasses.textClass&&(re.textClass=nt(xe.styleClasses.textClass,re.textClass||""))),re.map.length==0&&re.map.push(0,0,re.content.appendChild($a(x.display.measure))),oe==0?(z.measure.map=re.map,z.measure.cache={}):((z.measure.maps||(z.measure.maps=[])).push(re.map),(z.measure.caches||(z.measure.caches=[])).push({}))}if(de){var Ct=re.content.lastChild;(/\bcm-tab\b/.test(Ct.className)||Ct.querySelector&&Ct.querySelector(".cm-tab"))&&(re.content.className="cm-tab-wrap-hack")}return Ut(x,"renderLine",x,z.line,re.pre),re.pre.className&&(re.textClass=nt(re.pre.className,re.textClass||"")),re}function Dt(x){var z=ft("span","\u2022","cm-invalidchar");return z.title="\\u"+x.charCodeAt(0).toString(16),z.setAttribute("aria-label",z.title),z}function Pt(x,z,ae,re,oe,xe,We){if(z){var dt=x.splitSpaces?Kn(z,x.trailingSpace):z,Ct=x.cm.state.specialChars,Ft=!1,er;if(!Ct.test(z))x.col+=z.length,er=document.createTextNode(dt),x.map.push(x.pos,x.pos+z.length,er),we&&ke<9&&(Ft=!0),x.pos+=z.length;else{er=document.createDocumentFragment();for(var gr=0;;){Ct.lastIndex=gr;var oa=Ct.exec(z),ea=oa?oa.index-gr:z.length-gr;if(ea){var oi=document.createTextNode(dt.slice(gr,gr+ea));we&&ke<9?er.appendChild(ft("span",[oi])):er.appendChild(oi),x.map.push(x.pos,x.pos+ea,oi),x.col+=ea,x.pos+=ea}if(!oa)break;gr+=ea+1;var wi=void 0;if(oa[0]==" "){var fo=x.cm.options.tabSize,Ro=fo-x.col%fo;wi=er.appendChild(ft("span",cn(Ro),"cm-tab")),wi.setAttribute("role","presentation"),wi.setAttribute("cm-text"," "),x.col+=Ro}else oa[0]=="\r"||oa[0]==`
|
|
|
`?(wi=er.appendChild(ft("span",oa[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),wi.setAttribute("cm-text",oa[0]),x.col+=1):(wi=x.cm.options.specialCharPlaceholder(oa[0]),wi.setAttribute("cm-text",oa[0]),we&&ke<9?er.appendChild(ft("span",[wi])):er.appendChild(wi),x.col+=1);x.map.push(x.pos,x.pos+1,wi),x.pos++}}if(x.trailingSpace=dt.charCodeAt(z.length-1)==32,ae||re||oe||Ft||xe||We){var Xo=ae||"";re&&(Xo+=re),oe&&(Xo+=oe);var Mo=ft("span",[er],Xo,xe);if(We)for(var qo in We)We.hasOwnProperty(qo)&&qo!="style"&&qo!="class"&&Mo.setAttribute(qo,We[qo]);return x.content.appendChild(Mo)}x.content.appendChild(er)}}function Kn(x,z){if(x.length>1&&!/ /.test(x))return x;for(var ae=z,re="",oe=0;oe<x.length;oe++){var xe=x.charAt(oe);xe==" "&&ae&&(oe==x.length-1||x.charCodeAt(oe+1)==32)&&(xe="\xA0"),re+=xe,ae=xe==" "}return re}function Bn(x,z){return function(ae,re,oe,xe,We,dt,Ct){oe=oe?oe+" cm-force-border":"cm-force-border";for(var Ft=ae.pos,er=Ft+re.length;;){for(var gr=void 0,oa=0;oa<z.length&&(gr=z[oa],!(gr.to>Ft&&gr.from<=Ft));oa++);if(gr.to>=er)return x(ae,re,oe,xe,We,dt,Ct);x(ae,re.slice(0,gr.to-Ft),oe,xe,null,dt,Ct),xe=null,re=re.slice(gr.to-Ft),Ft=gr.to}}}function xr(x,z,ae,re){var oe=!re&&ae.widgetNode;oe&&x.map.push(x.pos,x.pos+z,oe),!re&&x.cm.display.input.needsContentAttribute&&(oe||(oe=x.content.appendChild(document.createElement("span"))),oe.setAttribute("cm-marker",ae.id)),oe&&(x.cm.display.input.setUneditable(oe),x.content.appendChild(oe)),x.pos+=z,x.trailingSpace=!1}function zr(x,z,ae){var re=x.markedSpans,oe=x.text,xe=0;if(!re){for(var We=1;We<ae.length;We+=2)z.addToken(z,oe.slice(xe,xe=ae[We]),Zr(ae[We+1],z.cm.options));return}for(var dt=oe.length,Ct=0,Ft=1,er="",gr,oa,ea=0,oi,wi,fo,Ro,Xo;;){if(ea==Ct){oi=wi=fo=oa="",Xo=null,Ro=null,ea=1/0;for(var Mo=[],qo=void 0,Ol=0;Ol<re.length;++Ol){var Zl=re[Ol],bs=Zl.marker;if(bs.type=="bookmark"&&Zl.from==Ct&&bs.widgetNode)Mo.push(bs);else if(Zl.from<=Ct&&(Zl.to==null||Zl.to>Ct||bs.collapsed&&Zl.to==Ct&&Zl.from==Ct)){if(Zl.to!=null&&Zl.to!=Ct&&ea>Zl.to&&(ea=Zl.to,wi=""),bs.className&&(oi+=" "+bs.className),bs.css&&(oa=(oa?oa+";":"")+bs.css),bs.startStyle&&Zl.from==Ct&&(fo+=" "+bs.startStyle),bs.endStyle&&Zl.to==ea&&(qo||(qo=[])).push(bs.endStyle,Zl.to),bs.title&&((Xo||(Xo={})).title=bs.title),bs.attributes)for(var qs in bs.attributes)(Xo||(Xo={}))[qs]=bs.attributes[qs];bs.collapsed&&(!Ro||Nt(Ro.marker,bs)<0)&&(Ro=Zl)}else Zl.from>Ct&&ea>Zl.from&&(ea=Zl.from)}if(qo)for(var zu=0;zu<qo.length;zu+=2)qo[zu+1]==ea&&(wi+=" "+qo[zu]);if(!Ro||Ro.from==Ct)for(var gu=0;gu<Mo.length;++gu)xr(z,0,Mo[gu]);if(Ro&&(Ro.from||0)==Ct){if(xr(z,(Ro.to==null?dt+1:Ro.to)-Ct,Ro.marker,Ro.from==null),Ro.to==null)return;Ro.to==Ct&&(Ro=!1)}}if(Ct>=dt)break;for(var Ju=Math.min(dt,ea);;){if(er){var qu=Ct+er.length;if(!Ro){var Bu=qu>Ju?er.slice(0,Ju-Ct):er;z.addToken(z,Bu,gr?gr+oi:oi,fo,Ct+Bu.length==ea?wi:"",oa,Xo)}if(qu>=Ju){er=er.slice(Ju-Ct),Ct=Ju;break}Ct=qu,fo=""}er=oe.slice(xe,xe=ae[Ft++]),gr=Zr(ae[Ft++],z.cm.options)}}}function Lr(x,z,ae){this.line=z,this.rest=$t(z),this.size=this.rest?ma(Nn(this.rest))-ae+1:1,this.node=this.text=null,this.hidden=fr(x,z)}function ca(x,z,ae){for(var re=[],oe,xe=z;xe<ae;xe=oe){var We=new Lr(x.doc,hr(x.doc,xe),xe);oe=xe+We.size,re.push(We)}return re}var un=null;function Jt(x){un?un.ops.push(x):x.ownsGroup=un={ops:[x],delayedCallbacks:[]}}function yn(x){var z=x.delayedCallbacks,ae=0;do{for(;ae<z.length;ae++)z[ae].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(ae<z.length)}function lr(x,z){var ae=x.ownsGroup;if(ae)try{yn(ae)}finally{un=null,z(ae)}}var Xr=null;function Ir(x,z){var ae=qt(x,z);if(ae.length){var re=Array.prototype.slice.call(arguments,2),oe;un?oe=un.delayedCallbacks:Xr?oe=Xr:(oe=Xr=[],setTimeout(yr,0));for(var xe=function(dt){oe.push(function(){return ae[dt].apply(null,re)})},We=0;We<ae.length;++We)xe(We)}}function yr(){var x=Xr;Xr=null;for(var z=0;z<x.length;++z)x[z]()}function ba(x,z,ae,re){for(var oe=0;oe<z.changes.length;oe++){var xe=z.changes[oe];xe=="text"?Ur(x,z):xe=="gutter"?ai(x,z,ae,re):xe=="class"?Wa(x,z):xe=="widget"&&_a(x,z,re)}z.changes=null}function va(x){return x.node==x.text&&(x.node=ft("div",null,null,"position: relative"),x.text.parentNode&&x.text.parentNode.replaceChild(x.node,x.text),x.node.appendChild(x.text),we&&ke<8&&(x.node.style.zIndex=2)),x.node}function Oa(x,z){var ae=z.bgClass?z.bgClass+" "+(z.line.bgClass||""):z.line.bgClass;if(ae&&(ae+=" CodeMirror-linebackground"),z.background)ae?z.background.className=ae:(z.background.parentNode.removeChild(z.background),z.background=null);else if(ae){var re=va(z);z.background=re.insertBefore(ft("div",null,ae),re.firstChild),x.display.input.setUneditable(z.background)}}function da(x,z){var ae=x.display.externalMeasured;return ae&&ae.line==z.line?(x.display.externalMeasured=null,z.measure=ae.measure,ae.built):qr(x,z)}function Ur(x,z){var ae=z.text.className,re=da(x,z);z.text==z.node&&(z.node=re.pre),z.text.parentNode.replaceChild(re.pre,z.text),z.text=re.pre,re.bgClass!=z.bgClass||re.textClass!=z.textClass?(z.bgClass=re.bgClass,z.textClass=re.textClass,Wa(x,z)):ae&&(z.text.className=ae)}function Wa(x,z){Oa(x,z),z.line.wrapClass?va(z).className=z.line.wrapClass:z.node!=z.text&&(z.node.className="");var ae=z.textClass?z.textClass+" "+(z.line.textClass||""):z.line.textClass;z.text.className=ae||""}function ai(x,z,ae,re){if(z.gutter&&(z.node.removeChild(z.gutter),z.gutter=null),z.gutterBackground&&(z.node.removeChild(z.gutterBackground),z.gutterBackground=null),z.line.gutterClass){var oe=va(z);z.gutterBackground=ft("div",null,"CodeMirror-gutter-background "+z.line.gutterClass,"left: "+(x.options.fixedGutter?re.fixedPos:-re.gutterTotalWidth)+"px; width: "+re.gutterTotalWidth+"px"),x.display.input.setUneditable(z.gutterBackground),oe.insertBefore(z.gutterBackground,z.text)}var xe=z.line.gutterMarkers;if(x.options.lineNumbers||xe){var We=va(z),dt=z.gutter=ft("div",null,"CodeMirror-gutter-wrapper","left: "+(x.options.fixedGutter?re.fixedPos:-re.gutterTotalWidth)+"px");if(x.display.input.setUneditable(dt),We.insertBefore(dt,z.text),z.line.gutterClass&&(dt.className+=" "+z.line.gutterClass),x.options.lineNumbers&&(!xe||!xe["CodeMirror-linenumbers"])&&(z.lineNumber=dt.appendChild(ft("div",ka(x.options,ae),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+re.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+x.display.lineNumInnerWidth+"px"))),xe)for(var Ct=0;Ct<x.display.gutterSpecs.length;++Ct){var Ft=x.display.gutterSpecs[Ct].className,er=xe.hasOwnProperty(Ft)&&xe[Ft];er&&dt.appendChild(ft("div",[er],"CodeMirror-gutter-elt","left: "+re.gutterLeft[Ft]+"px; width: "+re.gutterWidth[Ft]+"px"))}}}function _a(x,z,ae){z.alignable&&(z.alignable=null);for(var re=ce("CodeMirror-linewidget"),oe=z.node.firstChild,xe=void 0;oe;oe=xe)xe=oe.nextSibling,re.test(oe.className)&&z.node.removeChild(oe);ei(x,z,ae)}function Va(x,z,ae,re){var oe=da(x,z);return z.text=z.node=oe.pre,oe.bgClass&&(z.bgClass=oe.bgClass),oe.textClass&&(z.textClass=oe.textClass),Wa(x,z),ai(x,z,ae,re),ei(x,z,re),z.node}function ei(x,z,ae){if(Yi(x,z.line,z,ae,!0),z.rest)for(var re=0;re<z.rest.length;re++)Yi(x,z.rest[re],z,ae,!1)}function Yi(x,z,ae,re,oe){if(z.widgets)for(var xe=va(ae),We=0,dt=z.widgets;We<dt.length;++We){var Ct=dt[We],Ft=ft("div",[Ct.node],"CodeMirror-linewidget"+(Ct.className?" "+Ct.className:""));Ct.handleMouseEvents||Ft.setAttribute("cm-ignore-events","true"),Ei(Ct,Ft,ae,re),x.display.input.setUneditable(Ft),oe&&Ct.above?xe.insertBefore(Ft,ae.gutter||ae.text):xe.appendChild(Ft),Ir(Ct,"redraw")}}function Ei(x,z,ae,re){if(x.noHScroll){(ae.alignable||(ae.alignable=[])).push(z);var oe=re.wrapperWidth;z.style.left=re.fixedPos+"px",x.coverGutter||(oe-=re.gutterTotalWidth,z.style.paddingLeft=re.gutterTotalWidth+"px"),z.style.width=oe+"px"}x.coverGutter&&(z.style.zIndex=5,z.style.position="relative",x.noHScroll||(z.style.marginLeft=-re.gutterTotalWidth+"px"))}function Wi(x){if(x.height!=null)return x.height;var z=x.doc.cm;if(!z)return 0;if(!gt(document.body,x.node)){var ae="position: relative;";x.coverGutter&&(ae+="margin-left: -"+z.display.gutters.offsetWidth+"px;"),x.noHScroll&&(ae+="width: "+z.display.wrapper.clientWidth+"px;"),st(z.display.measure,ft("div",[x.node],null,ae))}return x.height=x.node.parentNode.offsetHeight}function Gi(x,z){for(var ae=ti(z);ae!=x.wrapper;ae=ae.parentNode)if(!ae||ae.nodeType==1&&ae.getAttribute("cm-ignore-events")=="true"||ae.parentNode==x.sizer&&ae!=x.mover)return!0}function po(x){return x.lineSpace.offsetTop}function Qi(x){return x.mover.offsetHeight-x.lineSpace.offsetHeight}function So(x){if(x.cachedPaddingH)return x.cachedPaddingH;var z=st(x.measure,ft("pre","x","CodeMirror-line-like")),ae=window.getComputedStyle?window.getComputedStyle(z):z.currentStyle,re={left:parseInt(ae.paddingLeft),right:parseInt(ae.paddingRight)};return!isNaN(re.left)&&!isNaN(re.right)&&(x.cachedPaddingH=re),re}function Ki(x){return An-x.display.nativeBarWidth}function Ai(x){return x.display.scroller.clientWidth-Ki(x)-x.display.barWidth}function ko(x){return x.display.scroller.clientHeight-Ki(x)-x.display.barHeight}function Bo(x,z,ae){var re=x.options.lineWrapping,oe=re&&Ai(x);if(!z.measure.heights||re&&z.measure.width!=oe){var xe=z.measure.heights=[];if(re){z.measure.width=oe;for(var We=z.text.firstChild.getClientRects(),dt=0;dt<We.length-1;dt++){var Ct=We[dt],Ft=We[dt+1];Math.abs(Ct.bottom-Ft.bottom)>2&&xe.push((Ct.bottom+Ft.top)/2-ae.top)}}xe.push(ae.bottom-ae.top)}}function zi(x,z,ae){if(x.line==z)return{map:x.measure.map,cache:x.measure.cache};for(var re=0;re<x.rest.length;re++)if(x.rest[re]==z)return{map:x.measure.maps[re],cache:x.measure.caches[re]};for(var oe=0;oe<x.rest.length;oe++)if(ma(x.rest[oe])>ae)return{map:x.measure.maps[oe],cache:x.measure.caches[oe],before:!0}}function gl(x,z){z=at(z);var ae=ma(z),re=x.display.externalMeasured=new Lr(x.doc,z,ae);re.lineN=ae;var oe=re.built=qr(x,re);return re.text=oe.pre,st(x.display.lineMeasure,oe.pre),re}function El(x,z,ae,re){return go(x,Vo(x,z),ae,re)}function il(x,z){if(z>=x.display.viewFrom&&z<x.display.viewTo)return x.display.view[Ul(x,z)];var ae=x.display.externalMeasured;if(ae&&z>=ae.lineN&&z<ae.lineN+ae.size)return ae}function Vo(x,z){var ae=ma(z),re=il(x,ae);re&&!re.text?re=null:re&&re.changes&&(ba(x,re,ae,Ms(x)),x.curOp.forceUpdate=!0),re||(re=gl(x,z));var oe=zi(re,z,ae);return{line:z,view:re,rect:null,map:oe.map,cache:oe.cache,before:oe.before,hasHeights:!1}}function go(x,z,ae,re,oe){z.before&&(ae=-1);var xe=ae+(re||""),We;return z.cache.hasOwnProperty(xe)?We=z.cache[xe]:(z.rect||(z.rect=z.view.text.getBoundingClientRect()),z.hasHeights||(Bo(x,z.view,z.rect),z.hasHeights=!0),We=el(x,z,ae,re),We.bogus||(z.cache[xe]=We)),{left:We.left,right:We.right,top:oe?We.rtop:We.top,bottom:oe?We.rbottom:We.bottom}}var _l={left:0,right:0,top:0,bottom:0};function jo(x,z,ae){for(var re,oe,xe,We,dt,Ct,Ft=0;Ft<x.length;Ft+=3)if(dt=x[Ft],Ct=x[Ft+1],z<dt?(oe=0,xe=1,We="left"):z<Ct?(oe=z-dt,xe=oe+1):(Ft==x.length-3||z==Ct&&x[Ft+3]>z)&&(xe=Ct-dt,oe=xe-1,z>=Ct&&(We="right")),oe!=null){if(re=x[Ft+2],dt==Ct&&ae==(re.insertLeft?"left":"right")&&(We=ae),ae=="left"&&oe==0)for(;Ft&&x[Ft-2]==x[Ft-3]&&x[Ft-1].insertLeft;)re=x[(Ft-=3)+2],We="left";if(ae=="right"&&oe==Ct-dt)for(;Ft<x.length-3&&x[Ft+3]==x[Ft+4]&&!x[Ft+5].insertLeft;)re=x[(Ft+=3)+2],We="right";break}return{node:re,start:oe,end:xe,collapse:We,coverStart:dt,coverEnd:Ct}}function mo(x,z){var ae=_l;if(z=="left")for(var re=0;re<x.length&&(ae=x[re]).left==ae.right;re++);else for(var oe=x.length-1;oe>=0&&(ae=x[oe]).left==ae.right;oe--);return ae}function el(x,z,ae,re){var oe=jo(z.map,ae,re),xe=oe.node,We=oe.start,dt=oe.end,Ct=oe.collapse,Ft;if(xe.nodeType==3){for(var er=0;er<4;er++){for(;We&&xt(z.line.text.charAt(oe.coverStart+We));)--We;for(;oe.coverStart+dt<oe.coverEnd&&xt(z.line.text.charAt(oe.coverStart+dt));)++dt;if(we&&ke<9&&We==0&&dt==oe.coverEnd-oe.coverStart?Ft=xe.parentNode.getBoundingClientRect():Ft=mo(Be(xe,We,dt).getClientRects(),re),Ft.left||Ft.right||We==0)break;dt=We,We=We-1,Ct="right"}we&&ke<11&&(Ft=Vl(x.display.measure,Ft))}else{We>0&&(Ct=re="right");var gr;x.options.lineWrapping&&(gr=xe.getClientRects()).length>1?Ft=gr[re=="right"?gr.length-1:0]:Ft=xe.getBoundingClientRect()}if(we&&ke<9&&!We&&(!Ft||!Ft.left&&!Ft.right)){var oa=xe.parentNode.getClientRects()[0];oa?Ft={left:oa.left,right:oa.left+xs(x.display),top:oa.top,bottom:oa.bottom}:Ft=_l}for(var ea=Ft.top-z.rect.top,oi=Ft.bottom-z.rect.top,wi=(ea+oi)/2,fo=z.view.measure.heights,Ro=0;Ro<fo.length-1&&!(wi<fo[Ro]);Ro++);var Xo=Ro?fo[Ro-1]:0,Mo=fo[Ro],qo={left:(Ct=="right"?Ft.right:Ft.left)-z.rect.left,right:(Ct=="left"?Ft.left:Ft.right)-z.rect.left,top:Xo,bottom:Mo};return!Ft.left&&!Ft.right&&(qo.bogus=!0),x.options.singleCursorHeightPerLine||(qo.rtop=ea,qo.rbottom=oi),qo}function Vl(x,z){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!$r(x))return z;var ae=screen.logicalXDPI/screen.deviceXDPI,re=screen.logicalYDPI/screen.deviceYDPI;return{left:z.left*ae,right:z.right*ae,top:z.top*re,bottom:z.bottom*re}}function fl(x){if(x.measure&&(x.measure.cache={},x.measure.heights=null,x.rest))for(var z=0;z<x.rest.length;z++)x.measure.caches[z]={}}function Dl(x){x.display.externalMeasure=null,et(x.display.lineMeasure);for(var z=0;z<x.display.view.length;z++)fl(x.display.view[z])}function Oo(x){Dl(x),x.display.cachedCharWidth=x.display.cachedTextHeight=x.display.cachedPaddingH=null,x.options.lineWrapping||(x.display.maxLineChanged=!0),x.display.lineNumChars=null}function jl(){return me&&ot?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function ls(){return me&&ot?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Ql(x){var z=0;if(x.widgets)for(var ae=0;ae<x.widgets.length;++ae)x.widgets[ae].above&&(z+=Wi(x.widgets[ae]));return z}function Al(x,z,ae,re,oe){if(!oe){var xe=Ql(z);ae.top+=xe,ae.bottom+=xe}if(re=="line")return ae;re||(re="local");var We=Dn(z);if(re=="local"?We+=po(x.display):We-=x.display.viewOffset,re=="page"||re=="window"){var dt=x.display.lineSpace.getBoundingClientRect();We+=dt.top+(re=="window"?0:ls());var Ct=dt.left+(re=="window"?0:jl());ae.left+=Ct,ae.right+=Ct}return ae.top+=We,ae.bottom+=We,ae}function Tl(x,z,ae){if(ae=="div")return z;var re=z.left,oe=z.top;if(ae=="page")re-=jl(),oe-=ls();else if(ae=="local"||!ae){var xe=x.display.sizer.getBoundingClientRect();re+=xe.left,oe+=xe.top}var We=x.display.lineSpace.getBoundingClientRect();return{left:re-We.left,top:oe-We.top}}function $l(x,z,ae,re,oe){return re||(re=hr(x.doc,z.line)),Al(x,re,El(x,re,z.ch,oe),ae)}function Rl(x,z,ae,re,oe,xe){re=re||hr(x.doc,z.line),oe||(oe=Vo(x,re));function We(oi,wi){var fo=go(x,oe,oi,wi?"right":"left",xe);return wi?fo.left=fo.right:fo.right=fo.left,Al(x,re,fo,ae)}var dt=gn(re,x.doc.direction),Ct=z.ch,Ft=z.sticky;if(Ct>=re.text.length?(Ct=re.text.length,Ft="before"):Ct<=0&&(Ct=0,Ft="after"),!dt)return We(Ft=="before"?Ct-1:Ct,Ft=="before");function er(oi,wi,fo){var Ro=dt[wi],Xo=Ro.level==1;return We(fo?oi-1:oi,Xo!=fo)}var gr=_n(dt,Ct,Ft),oa=Qn,ea=er(Ct,gr,Ft=="before");return oa!=null&&(ea.other=er(Ct,oa,Ft!="before")),ea}function Il(x,z){var ae=0;z=ri(x.doc,z),x.options.lineWrapping||(ae=xs(x.display)*z.ch);var re=hr(x.doc,z.line),oe=Dn(re)+po(x.display);return{left:ae,right:ae,top:oe,bottom:oe+re.height}}function ss(x,z,ae,re,oe){var xe=Er(x,z,ae);return xe.xRel=oe,re&&(xe.outside=re),xe}function us(x,z,ae){var re=x.doc;if(ae+=x.display.viewOffset,ae<0)return ss(re.first,0,null,-1,-1);var oe=Sa(re,ae),xe=re.first+re.size-1;if(oe>xe)return ss(re.first+re.size-1,hr(re,xe).text.length,null,1,1);z<0&&(z=0);for(var We=hr(re,oe);;){var dt=Go(x,We,oe,z,ae),Ct=Ke(We,dt.ch+(dt.xRel>0||dt.outside>0?1:0));if(!Ct)return dt;var Ft=Ct.find(1);if(Ft.line==oe)return Ft;We=hr(re,oe=Ft.line)}}function ms(x,z,ae,re){re-=Ql(z);var oe=z.text.length,xe=on(function(We){return go(x,ae,We-1).bottom<=re},oe,0);return oe=on(function(We){return go(x,ae,We).top>re},xe,oe),{begin:xe,end:oe}}function ts(x,z,ae,re){ae||(ae=Vo(x,z));var oe=Al(x,z,go(x,ae,re),"line").top;return ms(x,z,ae,oe)}function ns(x,z,ae,re){return x.bottom<=ae?!1:x.top>ae?!0:(re?x.left:x.right)>z}function Go(x,z,ae,re,oe){oe-=Dn(z);var xe=Vo(x,z),We=Ql(z),dt=0,Ct=z.text.length,Ft=!0,er=gn(z,x.doc.direction);if(er){var gr=(x.options.lineWrapping?Wl:ol)(x,z,ae,xe,er,re,oe);Ft=gr.level!=1,dt=Ft?gr.from:gr.to-1,Ct=Ft?gr.to:gr.from-1}var oa=null,ea=null,oi=on(function(Ol){var Zl=go(x,xe,Ol);return Zl.top+=We,Zl.bottom+=We,ns(Zl,re,oe,!1)?(Zl.top<=oe&&Zl.left<=re&&(oa=Ol,ea=Zl),!0):!1},dt,Ct),wi,fo,Ro=!1;if(ea){var Xo=re-ea.left<ea.right-re,Mo=Xo==Ft;oi=oa+(Mo?0:1),fo=Mo?"after":"before",wi=Xo?ea.left:ea.right}else{!Ft&&(oi==Ct||oi==dt)&&oi++,fo=oi==0?"after":oi==z.text.length?"before":go(x,xe,oi-(Ft?1:0)).bottom+We<=oe==Ft?"after":"before";var qo=Rl(x,Er(ae,oi,fo),"line",z,xe);wi=qo.left,Ro=oe<qo.top?-1:oe>=qo.bottom?1:0}return oi=pn(z.text,oi,1),ss(ae,oi,fo,Ro,re-wi)}function ol(x,z,ae,re,oe,xe,We){var dt=on(function(gr){var oa=oe[gr],ea=oa.level!=1;return ns(Rl(x,Er(ae,ea?oa.to:oa.from,ea?"before":"after"),"line",z,re),xe,We,!0)},0,oe.length-1),Ct=oe[dt];if(dt>0){var Ft=Ct.level!=1,er=Rl(x,Er(ae,Ft?Ct.from:Ct.to,Ft?"after":"before"),"line",z,re);ns(er,xe,We,!0)&&er.top>We&&(Ct=oe[dt-1])}return Ct}function Wl(x,z,ae,re,oe,xe,We){var dt=ms(x,z,re,We),Ct=dt.begin,Ft=dt.end;/\s/.test(z.text.charAt(Ft-1))&&Ft--;for(var er=null,gr=null,oa=0;oa<oe.length;oa++){var ea=oe[oa];if(!(ea.from>=Ft||ea.to<=Ct)){var oi=ea.level!=1,wi=go(x,re,oi?Math.min(Ft,ea.to)-1:Math.max(Ct,ea.from)).right,fo=wi<xe?xe-wi+1e9:wi-xe;(!er||gr>fo)&&(er=ea,gr=fo)}}return er||(er=oe[oe.length-1]),er.from<Ct&&(er={from:Ct,to:er.to,level:er.level}),er.to>Ft&&(er={from:er.from,to:Ft,level:er.level}),er}var Xl;function hs(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if(Xl==null){Xl=ft("pre",null,"CodeMirror-line-like");for(var z=0;z<49;++z)Xl.appendChild(document.createTextNode("x")),Xl.appendChild(ft("br"));Xl.appendChild(document.createTextNode("x"))}st(x.measure,Xl);var ae=Xl.offsetHeight/50;return ae>3&&(x.cachedTextHeight=ae),et(x.measure),ae||1}function xs(x){if(x.cachedCharWidth!=null)return x.cachedCharWidth;var z=ft("span","xxxxxxxxxx"),ae=ft("pre",[z],"CodeMirror-line-like");st(x.measure,ae);var re=z.getBoundingClientRect(),oe=(re.right-re.left)/10;return oe>2&&(x.cachedCharWidth=oe),oe||10}function Ms(x){for(var z=x.display,ae={},re={},oe=z.gutters.clientLeft,xe=z.gutters.firstChild,We=0;xe;xe=xe.nextSibling,++We){var dt=x.display.gutterSpecs[We].className;ae[dt]=xe.offsetLeft+xe.clientLeft+oe,re[dt]=xe.clientWidth}return{fixedPos:zs(z),gutterTotalWidth:z.gutters.offsetWidth,gutterLeft:ae,gutterWidth:re,wrapperWidth:z.wrapper.clientWidth}}function zs(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function Ws(x){var z=hs(x.display),ae=x.options.lineWrapping,re=ae&&Math.max(5,x.display.scroller.clientWidth/xs(x.display)-3);return function(oe){if(fr(x.doc,oe))return 0;var xe=0;if(oe.widgets)for(var We=0;We<oe.widgets.length;We++)oe.widgets[We].height&&(xe+=oe.widgets[We].height);return ae?xe+(Math.ceil(oe.text.length/re)||1)*z:xe+z}}function Bs(x){var z=x.doc,ae=Ws(x);z.iter(function(re){var oe=ae(re);oe!=re.height&&pa(re,oe)})}function Xs(x,z,ae,re){var oe=x.display;if(!ae&&ti(z).getAttribute("cm-not-content")=="true")return null;var xe,We,dt=oe.lineSpace.getBoundingClientRect();try{xe=z.clientX-dt.left,We=z.clientY-dt.top}catch(gr){return null}var Ct=us(x,xe,We),Ft;if(re&&Ct.xRel>0&&(Ft=hr(x.doc,Ct.line).text).length==Ct.ch){var er=ht(Ft,Ft.length,x.options.tabSize)-Ft.length;Ct=Er(Ct.line,Math.max(0,Math.round((xe-So(x.display).left)/xs(x.display))-er))}return Ct}function Ul(x,z){if(z>=x.display.viewTo||(z-=x.display.viewFrom,z<0))return null;for(var ae=x.display.view,re=0;re<ae.length;re++)if(z-=ae[re].size,z<0)return re}function Le(x,z,ae,re){z==null&&(z=x.doc.first),ae==null&&(ae=x.doc.first+x.doc.size),re||(re=0);var oe=x.display;if(re&&ae<oe.viewTo&&(oe.updateLineNumbers==null||oe.updateLineNumbers>z)&&(oe.updateLineNumbers=z),x.curOp.viewChanged=!0,z>=oe.viewTo)Bi&&tn(x.doc,z)<oe.viewTo&&it(x);else if(ae<=oe.viewFrom)Bi&&Yn(x.doc,ae+re)>oe.viewFrom?it(x):(oe.viewFrom+=re,oe.viewTo+=re);else if(z<=oe.viewFrom&&ae>=oe.viewTo)it(x);else if(z<=oe.viewFrom){var xe=Ce(x,ae,ae+re,1);xe?(oe.view=oe.view.slice(xe.index),oe.viewFrom=xe.lineN,oe.viewTo+=re):it(x)}else if(ae>=oe.viewTo){var We=Ce(x,z,z,-1);We?(oe.view=oe.view.slice(0,We.index),oe.viewTo=We.lineN):it(x)}else{var dt=Ce(x,z,z,-1),Ct=Ce(x,ae,ae+re,1);dt&&Ct?(oe.view=oe.view.slice(0,dt.index).concat(ca(x,dt.lineN,Ct.lineN)).concat(oe.view.slice(Ct.index)),oe.viewTo+=re):it(x)}var Ft=oe.externalMeasured;Ft&&(ae<Ft.lineN?Ft.lineN+=re:z<Ft.lineN+Ft.size&&(oe.externalMeasured=null))}function Je(x,z,ae){x.curOp.viewChanged=!0;var re=x.display,oe=x.display.externalMeasured;if(oe&&z>=oe.lineN&&z<oe.lineN+oe.size&&(re.externalMeasured=null),!(z<re.viewFrom||z>=re.viewTo)){var xe=re.view[Ul(x,z)];if(xe.node!=null){var We=xe.changes||(xe.changes=[]);At(We,ae)==-1&&We.push(ae)}}}function it(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function Ce(x,z,ae,re){var oe=Ul(x,z),xe,We=x.display.view;if(!Bi||ae==x.doc.first+x.doc.size)return{index:oe,lineN:ae};for(var dt=x.display.viewFrom,Ct=0;Ct<oe;Ct++)dt+=We[Ct].size;if(dt!=z){if(re>0){if(oe==We.length-1)return null;xe=dt+We[oe].size-z,oe++}else xe=dt-z;z+=xe,ae+=xe}for(;tn(x.doc,ae)!=ae;){if(oe==(re<0?0:We.length-1))return null;ae+=re*We[oe-(re<0?1:0)].size,oe+=re}return{index:oe,lineN:ae}}function Ie(x,z,ae){var re=x.display,oe=re.view;oe.length==0||z>=re.viewTo||ae<=re.viewFrom?(re.view=ca(x,z,ae),re.viewFrom=z):(re.viewFrom>z?re.view=ca(x,z,re.viewFrom).concat(re.view):re.viewFrom<z&&(re.view=re.view.slice(Ul(x,z))),re.viewFrom=z,re.viewTo<ae?re.view=re.view.concat(ca(x,re.viewTo,ae)):re.viewTo>ae&&(re.view=re.view.slice(0,Ul(x,ae)))),re.viewTo=ae}function St(x){for(var z=x.display.view,ae=0,re=0;re<z.length;re++){var oe=z[re];!oe.hidden&&(!oe.node||oe.changes)&&++ae}return ae}function bt(x){x.display.input.showSelection(x.display.input.prepareSelection())}function en(x,z){z===void 0&&(z=!0);for(var ae=x.doc,re={},oe=re.cursors=document.createDocumentFragment(),xe=re.selection=document.createDocumentFragment(),We=0;We<ae.sel.ranges.length;We++)if(!(!z&&We==ae.sel.primIndex)){var dt=ae.sel.ranges[We];if(!(dt.from().line>=x.display.viewTo||dt.to().line<x.display.viewFrom)){var Ct=dt.empty();(Ct||x.options.showCursorWhenSelecting)&&_t(x,dt.head,oe),Ct||Wn(x,dt,xe)}}return re}function _t(x,z,ae){var re=Rl(x,z,"div",null,null,!x.options.singleCursorHeightPerLine),oe=ae.appendChild(ft("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 xe=ae.appendChild(ft("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));xe.style.display="",xe.style.left=re.other.left+"px",xe.style.top=re.other.top+"px",xe.style.height=(re.other.bottom-re.other.top)*.85+"px"}}function Wt(x,z){return x.top-z.top||x.left-z.left}function Wn(x,z,ae){var re=x.display,oe=x.doc,xe=document.createDocumentFragment(),We=So(x.display),dt=We.left,Ct=Math.max(re.sizerWidth,Ai(x)-re.sizer.offsetLeft)-We.right,Ft=oe.direction=="ltr";function er(Mo,qo,Ol,Zl){qo<0&&(qo=0),qo=Math.round(qo),Zl=Math.round(Zl),xe.appendChild(ft("div",null,"CodeMirror-selected","position: absolute; left: "+Mo+`px;
|
|
|
top: `+qo+"px; width: "+(Ol==null?Ct-Mo:Ol)+`px;
|
|
|
height: `+(Zl-qo)+"px"))}function gr(Mo,qo,Ol){var Zl=hr(oe,Mo),bs=Zl.text.length,qs,zu;function gu(Bu,$u){return $l(x,Er(Mo,Bu),"div",Zl,$u)}function Ju(Bu,$u,fs){var Su=ts(x,Zl,null,Bu),yu=$u=="ltr"==(fs=="after")?"left":"right",Cu=fs=="after"?Su.begin:Su.end-(/\s/.test(Zl.text.charAt(Su.end-1))?2:1);return gu(Cu,yu)[yu]}var qu=gn(Zl,oe.direction);return In(qu,qo||0,Ol==null?bs:Ol,function(Bu,$u,fs,Su){var yu=fs=="ltr",Cu=gu(Bu,yu?"left":"right"),Mu=gu($u-1,yu?"right":"left"),nd=qo==null&&Bu==0,oc=Ol==null&&$u==bs,Zu=Su==0,Fs=!qu||Su==qu.length-1;if(Mu.top-Cu.top<=3){var Tu=(Ft?nd:oc)&&Zu,zd=(Ft?oc:nd)&&Fs,Lc=Tu?dt:(yu?Cu:Mu).left,zc=zd?Ct:(yu?Mu:Cu).right;er(Lc,Cu.top,zc-Lc,Cu.bottom)}else{var Sc,Lu,rd,Wu;yu?(Sc=Ft&&nd&&Zu?dt:Cu.left,Lu=Ft?Ct:Ju(Bu,fs,"before"),rd=Ft?dt:Ju($u,fs,"after"),Wu=Ft&&oc&&Fs?Ct:Mu.right):(Sc=Ft?Ju(Bu,fs,"before"):dt,Lu=!Ft&&nd&&Zu?Ct:Cu.right,rd=!Ft&&oc&&Fs?dt:Mu.left,Wu=Ft?Ju($u,fs,"after"):Ct),er(Sc,Cu.top,Lu-Sc,Cu.bottom),Cu.bottom<Mu.top&&er(dt,Cu.bottom,null,Mu.top),er(rd,Mu.top,Wu-rd,Mu.bottom)}(!qs||Wt(Cu,qs)<0)&&(qs=Cu),Wt(Mu,qs)<0&&(qs=Mu),(!zu||Wt(Cu,zu)<0)&&(zu=Cu),Wt(Mu,zu)<0&&(zu=Mu)}),{start:qs,end:zu}}var oa=z.from(),ea=z.to();if(oa.line==ea.line)gr(oa.line,oa.ch,ea.ch);else{var oi=hr(oe,oa.line),wi=hr(oe,ea.line),fo=at(oi)==at(wi),Ro=gr(oa.line,oa.ch,fo?oi.text.length+1:null).end,Xo=gr(ea.line,fo?0:null,ea.ch).start;fo&&(Ro.top<Xo.top-2?(er(Ro.right,Ro.top,null,Ro.bottom),er(dt,Xo.top,Xo.left,Xo.bottom)):er(Ro.right,Ro.top,Xo.left-Ro.right,Ro.bottom)),Ro.bottom<Xo.top&&er(dt,Ro.bottom,null,Xo.top)}ae.appendChild(xe)}function bn(x){if(x.state.focused){var z=x.display;clearInterval(z.blinker);var ae=!0;z.cursorDiv.style.visibility="",x.options.cursorBlinkRate>0?z.blinker=setInterval(function(){x.hasFocus()||ir(x),z.cursorDiv.style.visibility=(ae=!ae)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(z.cursorDiv.style.visibility="hidden")}}function On(x){x.state.focused||(x.display.input.focus(),vr(x))}function Mr(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,ir(x))},100)}function vr(x,z){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1),x.options.readOnly!="nocursor"&&(x.state.focused||(Ut(x,"focus",x,z),x.state.focused=!0,ct(x.display.wrapper,"CodeMirror-focused"),!x.curOp&&x.display.selForContextMenu!=x.doc.sel&&(x.display.input.reset(),de&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),bn(x))}function ir(x,z){x.state.delayingBlurEvent||(x.state.focused&&(Ut(x,"blur",x,z),x.state.focused=!1,Xe(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function ur(x){for(var z=x.display,ae=z.lineDiv.offsetTop,re=0;re<z.view.length;re++){var oe=z.view[re],xe=x.options.lineWrapping,We=void 0,dt=0;if(!oe.hidden){if(we&&ke<8){var Ct=oe.node.offsetTop+oe.node.offsetHeight;We=Ct-ae,ae=Ct}else{var Ft=oe.node.getBoundingClientRect();We=Ft.bottom-Ft.top,!xe&&oe.text.firstChild&&(dt=oe.text.firstChild.getBoundingClientRect().right-Ft.left-1)}var er=oe.line.height-We;if((er>.005||er<-.005)&&(pa(oe.line,We),Pr(oe.line),oe.rest))for(var gr=0;gr<oe.rest.length;gr++)Pr(oe.rest[gr]);if(dt>x.display.sizerWidth){var oa=Math.ceil(dt/xs(x.display));oa>x.display.maxLineLength&&(x.display.maxLineLength=oa,x.display.maxLine=oe.line,x.display.maxLineChanged=!0)}}}}function Pr(x){if(x.widgets)for(var z=0;z<x.widgets.length;++z){var ae=x.widgets[z],re=ae.node.parentNode;re&&(ae.height=re.offsetHeight)}}function Wr(x,z,ae){var re=ae&&ae.top!=null?Math.max(0,ae.top):x.scroller.scrollTop;re=Math.floor(re-po(x));var oe=ae&&ae.bottom!=null?ae.bottom:re+x.wrapper.clientHeight,xe=Sa(z,re),We=Sa(z,oe);if(ae&&ae.ensure){var dt=ae.ensure.from.line,Ct=ae.ensure.to.line;dt<xe?(xe=dt,We=Sa(z,Dn(hr(z,dt))+x.wrapper.clientHeight)):Math.min(Ct,z.lastLine())>=We&&(xe=Sa(z,Dn(hr(z,Ct))-x.wrapper.clientHeight),We=Ct)}return{from:xe,to:Math.max(We,xe+1)}}function na(x,z){if(!nn(x,"scrollCursorIntoView")){var ae=x.display,re=ae.sizer.getBoundingClientRect(),oe=null;if(z.top+re.top<0?oe=!0:z.bottom+re.top>(window.innerHeight||document.documentElement.clientHeight)&&(oe=!1),oe!=null&&!Ue){var xe=ft("div","\u200B",null,`position: absolute;
|
|
|
top: `+(z.top-ae.viewOffset-po(x.display))+`px;
|
|
|
height: `+(z.bottom-z.top+Ki(x)+ae.barHeight)+`px;
|
|
|
left: `+z.left+"px; width: "+Math.max(2,z.right-z.left)+"px;");x.display.lineSpace.appendChild(xe),xe.scrollIntoView(oe),x.display.lineSpace.removeChild(xe)}}}function Ma(x,z,ae,re){re==null&&(re=0);var oe;!x.options.lineWrapping&&z==ae&&(z=z.ch?Er(z.line,z.sticky=="before"?z.ch-1:z.ch,"after"):z,ae=z.sticky=="before"?Er(z.line,z.ch+1,"before"):z);for(var xe=0;xe<5;xe++){var We=!1,dt=Rl(x,z),Ct=!ae||ae==z?dt:Rl(x,ae);oe={left:Math.min(dt.left,Ct.left),top:Math.min(dt.top,Ct.top)-re,right:Math.max(dt.left,Ct.left),bottom:Math.max(dt.bottom,Ct.bottom)+re};var Ft=yt(x,oe),er=x.doc.scrollTop,gr=x.doc.scrollLeft;if(Ft.scrollTop!=null&&(Qt(x,Ft.scrollTop),Math.abs(x.doc.scrollTop-er)>1&&(We=!0)),Ft.scrollLeft!=null&&(Vn(x,Ft.scrollLeft),Math.abs(x.doc.scrollLeft-gr)>1&&(We=!0)),!We)break}return oe}function _e(x,z){var ae=yt(x,z);ae.scrollTop!=null&&Qt(x,ae.scrollTop),ae.scrollLeft!=null&&Vn(x,ae.scrollLeft)}function yt(x,z){var ae=x.display,re=hs(x.display);z.top<0&&(z.top=0);var oe=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:ae.scroller.scrollTop,xe=ko(x),We={};z.bottom-z.top>xe&&(z.bottom=z.top+xe);var dt=x.doc.height+Qi(ae),Ct=z.top<re,Ft=z.bottom>dt-re;if(z.top<oe)We.scrollTop=Ct?0:z.top;else if(z.bottom>oe+xe){var er=Math.min(z.top,(Ft?dt:z.bottom)-xe);er!=oe&&(We.scrollTop=er)}var gr=x.options.fixedGutter?0:ae.gutters.offsetWidth,oa=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:ae.scroller.scrollLeft-gr,ea=Ai(x)-ae.gutters.offsetWidth,oi=z.right-z.left>ea;return oi&&(z.right=z.left+ea),z.left<10?We.scrollLeft=0:z.left<oa?We.scrollLeft=Math.max(0,z.left+gr-(oi?0:10)):z.right>ea+oa-3&&(We.scrollLeft=z.right+(oi?0:10)-ea),We}function Ht(x,z){z!=null&&(Rn(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+z)}function je(x){Rn(x);var z=x.getCursor();x.curOp.scrollToPos={from:z,to:z,margin:x.options.cursorScrollMargin}}function Yt(x,z,ae){(z!=null||ae!=null)&&Rn(x),z!=null&&(x.curOp.scrollLeft=z),ae!=null&&(x.curOp.scrollTop=ae)}function fn(x,z){Rn(x),x.curOp.scrollToPos=z}function Rn(x){var z=x.curOp.scrollToPos;if(z){x.curOp.scrollToPos=null;var ae=Il(x,z.from),re=Il(x,z.to);Bt(x,ae,re,z.margin)}}function Bt(x,z,ae,re){var oe=yt(x,{left:Math.min(z.left,ae.left),top:Math.min(z.top,ae.top)-re,right:Math.max(z.right,ae.right),bottom:Math.max(z.bottom,ae.bottom)+re});Yt(x,oe.scrollLeft,oe.scrollTop)}function Qt(x,z){Math.abs(x.doc.scrollTop-z)<2||(ne||ll(x,{top:z}),rn(x,z,!0),ne&&ll(x),Ha(x,100))}function rn(x,z,ae){z=Math.max(0,Math.min(x.display.scroller.scrollHeight-x.display.scroller.clientHeight,z)),!(x.display.scroller.scrollTop==z&&!ae)&&(x.doc.scrollTop=z,x.display.scrollbars.setScrollTop(z),x.display.scroller.scrollTop!=z&&(x.display.scroller.scrollTop=z))}function Vn(x,z,ae,re){z=Math.max(0,Math.min(z,x.display.scroller.scrollWidth-x.display.scroller.clientWidth)),!((ae?z==x.doc.scrollLeft:Math.abs(x.doc.scrollLeft-z)<2)&&!re)&&(x.doc.scrollLeft=z,_i(x),x.display.scroller.scrollLeft!=z&&(x.display.scroller.scrollLeft=z),x.display.scrollbars.setScrollLeft(z))}function $n(x){var z=x.display,ae=z.gutters.offsetWidth,re=Math.round(x.doc.height+Qi(x.display));return{clientHeight:z.scroller.clientHeight,viewHeight:z.wrapper.clientHeight,scrollWidth:z.scroller.scrollWidth,clientWidth:z.scroller.clientWidth,viewWidth:z.wrapper.clientWidth,barLeft:x.options.fixedGutter?ae:0,docHeight:re,scrollHeight:re+Ki(x)+z.barHeight,nativeBarWidth:z.nativeBarWidth,gutterWidth:ae}}var br=function(x,z,ae){this.cm=ae;var re=this.vert=ft("div",[ft("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),oe=this.horiz=ft("div",[ft("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");re.tabIndex=oe.tabIndex=-1,x(re),x(oe),Tn(re,"scroll",function(){re.clientHeight&&z(re.scrollTop,"vertical")}),Tn(oe,"scroll",function(){oe.clientWidth&&z(oe.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,we&&ke<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};br.prototype.update=function(x){var z=x.scrollWidth>x.clientWidth+1,ae=x.scrollHeight>x.clientHeight+1,re=x.nativeBarWidth;if(ae){this.vert.style.display="block",this.vert.style.bottom=z?re+"px":"0";var oe=x.viewHeight-(z?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(z){this.horiz.style.display="block",this.horiz.style.right=ae?re+"px":"0",this.horiz.style.left=x.barLeft+"px";var xe=x.viewWidth-x.barLeft-(ae?re:0);this.horiz.firstChild.style.width=Math.max(0,x.scrollWidth-x.clientWidth+xe)+"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:ae?re:0,bottom:z?re:0}},br.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},br.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},br.prototype.zeroWidthHack=function(){var x=Ee&&!ue?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ne,this.disableVert=new Ne},br.prototype.enableZeroWidthBar=function(x,z,ae){x.style.pointerEvents="auto";function re(){var oe=x.getBoundingClientRect(),xe=ae=="vert"?document.elementFromPoint(oe.right-1,(oe.top+oe.bottom)/2):document.elementFromPoint((oe.right+oe.left)/2,oe.bottom-1);xe!=x?x.style.pointerEvents="none":z.set(1e3,re)}z.set(1e3,re)},br.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var sr=function(){};sr.prototype.update=function(){return{bottom:0,right:0}},sr.prototype.setScrollLeft=function(){},sr.prototype.setScrollTop=function(){},sr.prototype.clear=function(){};function kr(x,z){z||(z=$n(x));var ae=x.display.barWidth,re=x.display.barHeight;Hr(x,z);for(var oe=0;oe<4&&ae!=x.display.barWidth||re!=x.display.barHeight;oe++)ae!=x.display.barWidth&&x.options.lineWrapping&&ur(x),Hr(x,$n(x)),ae=x.display.barWidth,re=x.display.barHeight}function Hr(x,z){var ae=x.display,re=ae.scrollbars.update(z);ae.sizer.style.paddingRight=(ae.barWidth=re.right)+"px",ae.sizer.style.paddingBottom=(ae.barHeight=re.bottom)+"px",ae.heightForcer.style.borderBottom=re.bottom+"px solid transparent",re.right&&re.bottom?(ae.scrollbarFiller.style.display="block",ae.scrollbarFiller.style.height=re.bottom+"px",ae.scrollbarFiller.style.width=re.right+"px"):ae.scrollbarFiller.style.display="",re.bottom&&x.options.coverGutterNextToScrollbar&&x.options.fixedGutter?(ae.gutterFiller.style.display="block",ae.gutterFiller.style.height=re.bottom+"px",ae.gutterFiller.style.width=z.gutterWidth+"px"):ae.gutterFiller.style.display=""}var ta={native:br,null:sr};function Rr(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&&Xe(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new ta[x.options.scrollbarStyle](function(z){x.display.wrapper.insertBefore(z,x.display.scrollbarFiller),Tn(z,"mousedown",function(){x.state.focused&&setTimeout(function(){return x.display.input.focus()},0)}),z.setAttribute("cm-not-content","true")},function(z,ae){ae=="horizontal"?Vn(x,z):Qt(x,z)},x),x.display.scrollbars.addClass&&ct(x.display.wrapper,x.display.scrollbars.addClass)}var Pa=0;function sa(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:++Pa},Jt(x.curOp)}function Da(x){var z=x.curOp;z&&lr(z,function(ae){for(var re=0;re<ae.ops.length;re++)ae.ops[re].cm.curOp=null;Ga(ae)})}function Ga(x){for(var z=x.ops,ae=0;ae<z.length;ae++)la(z[ae]);for(var re=0;re<z.length;re++)ga(z[re]);for(var oe=0;oe<z.length;oe++)fa(z[oe]);for(var xe=0;xe<z.length;xe++)Ba(z[xe]);for(var We=0;We<z.length;We++)Ea(z[We])}function la(x){var z=x.cm,ae=z.display;si(z),x.updateMaxLine&&Xn(z),x.mustUpdate=x.viewChanged||x.forceUpdate||x.scrollTop!=null||x.scrollToPos&&(x.scrollToPos.from.line<ae.viewFrom||x.scrollToPos.to.line>=ae.viewTo)||ae.maxLineChanged&&z.options.lineWrapping,x.update=x.mustUpdate&&new La(z,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function ga(x){x.updatedDisplay=x.mustUpdate&&No(x.cm,x.update)}function fa(x){var z=x.cm,ae=z.display;x.updatedDisplay&&ur(z),x.barMeasure=$n(z),ae.maxLineChanged&&!z.options.lineWrapping&&(x.adjustWidthTo=El(z,ae.maxLine,ae.maxLine.text.length).left+3,z.display.sizerWidth=x.adjustWidthTo,x.barMeasure.scrollWidth=Math.max(ae.scroller.clientWidth,ae.sizer.offsetLeft+x.adjustWidthTo+Ki(z)+z.display.barWidth),x.maxScrollLeft=Math.max(0,ae.sizer.offsetLeft+x.adjustWidthTo-Ai(z))),(x.updatedDisplay||x.selectionChanged)&&(x.preparedSelection=ae.input.prepareSelection())}function Ba(x){var z=x.cm;x.adjustWidthTo!=null&&(z.display.sizer.style.minWidth=x.adjustWidthTo+"px",x.maxScrollLeft<z.doc.scrollLeft&&Vn(z,Math.min(z.display.scroller.scrollLeft,x.maxScrollLeft),!0),z.display.maxLineChanged=!1);var ae=x.focus&&x.focus==ze();x.preparedSelection&&z.display.input.showSelection(x.preparedSelection,ae),(x.updatedDisplay||x.startHeight!=z.doc.height)&&kr(z,x.barMeasure),x.updatedDisplay&&Pl(z,x.barMeasure),x.selectionChanged&&bn(z),z.state.focused&&x.updateInput&&z.display.input.reset(x.typing),ae&&On(x.cm)}function Ea(x){var z=x.cm,ae=z.display,re=z.doc;if(x.updatedDisplay&&yo(z,x.update),ae.wheelStartX!=null&&(x.scrollTop!=null||x.scrollLeft!=null||x.scrollToPos)&&(ae.wheelStartX=ae.wheelStartY=null),x.scrollTop!=null&&rn(z,x.scrollTop,x.forceScroll),x.scrollLeft!=null&&Vn(z,x.scrollLeft,!0,!0),x.scrollToPos){var oe=Ma(z,ri(re,x.scrollToPos.from),ri(re,x.scrollToPos.to),x.scrollToPos.margin);na(z,oe)}var xe=x.maybeHiddenMarkers,We=x.maybeUnhiddenMarkers;if(xe)for(var dt=0;dt<xe.length;++dt)xe[dt].lines.length||Ut(xe[dt],"hide");if(We)for(var Ct=0;Ct<We.length;++Ct)We[Ct].lines.length&&Ut(We[Ct],"unhide");ae.wrapper.offsetHeight&&(re.scrollTop=z.display.scroller.scrollTop),x.changeObjs&&Ut(z,"changes",z,x.changeObjs),x.update&&x.update.finish()}function ua(x,z){if(x.curOp)return z();sa(x);try{return z()}finally{Da(x)}}function Xa(x,z){return function(){if(x.curOp)return z.apply(x,arguments);sa(x);try{return z.apply(x,arguments)}finally{Da(x)}}}function ra(x){return function(){if(this.curOp)return x.apply(this,arguments);sa(this);try{return x.apply(this,arguments)}finally{Da(this)}}}function Ya(x){return function(){var z=this.cm;if(!z||z.curOp)return x.apply(this,arguments);sa(z);try{return x.apply(this,arguments)}finally{Da(z)}}}function Ha(x,z){x.doc.highlightFrontier<x.display.viewTo&&x.state.highlight.set(z,Rt(Ua,x))}function Ua(x){var z=x.doc;if(!(z.highlightFrontier>=x.display.viewTo)){var ae=+new Date+x.options.workTime,re=Yo(x,z.highlightFrontier),oe=[];z.iter(re.line,Math.min(z.first+z.size,x.display.viewTo+500),function(xe){if(re.line>=x.display.viewFrom){var We=xe.styles,dt=xe.text.length>x.options.maxHighlightLength?mn(z.mode,re.state):null,Ct=ml(x,xe,re,!0);dt&&(re.state=dt),xe.styles=Ct.styles;var Ft=xe.styleClasses,er=Ct.classes;er?xe.styleClasses=er:Ft&&(xe.styleClasses=null);for(var gr=!We||We.length!=xe.styles.length||Ft!=er&&(!Ft||!er||Ft.bgClass!=er.bgClass||Ft.textClass!=er.textClass),oa=0;!gr&&oa<We.length;++oa)gr=We[oa]!=xe.styles[oa];gr&&oe.push(re.line),xe.stateAfter=re.save(),re.nextLine()}else xe.text.length<=x.options.maxHighlightLength&&uo(x,xe.text,re),xe.stateAfter=re.line%5==0?re.save():null,re.nextLine();if(+new Date>ae)return Ha(x,x.options.workDelay),!0}),z.highlightFrontier=re.line,z.modeFrontier=Math.max(z.modeFrontier,re.line),oe.length&&ua(x,function(){for(var xe=0;xe<oe.length;xe++)Je(x,oe[xe],"text")})}}var La=function(x,z,ae){var re=x.display;this.viewport=z,this.visible=Wr(re,x.doc,z),this.editorIsHidden=!re.wrapper.offsetWidth,this.wrapperHeight=re.wrapper.clientHeight,this.wrapperWidth=re.wrapper.clientWidth,this.oldDisplayWidth=Ai(x),this.force=ae,this.dims=Ms(x),this.events=[]};La.prototype.signal=function(x,z){cr(x,z)&&this.events.push(arguments)},La.prototype.finish=function(){for(var x=0;x<this.events.length;x++)Ut.apply(null,this.events[x])};function si(x){var z=x.display;!z.scrollbarsClipped&&z.scroller.offsetWidth&&(z.nativeBarWidth=z.scroller.offsetWidth-z.scroller.clientWidth,z.heightForcer.style.height=Ki(x)+"px",z.sizer.style.marginBottom=-z.nativeBarWidth+"px",z.sizer.style.borderRightWidth=Ki(x)+"px",z.scrollbarsClipped=!0)}function gi(x){if(x.hasFocus())return null;var z=ze();if(!z||!gt(x.display.lineDiv,z))return null;var ae={activeElt:z};if(window.getSelection){var re=window.getSelection();re.anchorNode&&re.extend&>(x.display.lineDiv,re.anchorNode)&&(ae.anchorNode=re.anchorNode,ae.anchorOffset=re.anchorOffset,ae.focusNode=re.focusNode,ae.focusOffset=re.focusOffset)}return ae}function zo(x){if(!(!x||!x.activeElt||x.activeElt==ze())&&(x.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(x.activeElt.nodeName)&&x.anchorNode&>(document.body,x.anchorNode)&>(document.body,x.focusNode))){var z=window.getSelection(),ae=document.createRange();ae.setEnd(x.anchorNode,x.anchorOffset),ae.collapse(!1),z.removeAllRanges(),z.addRange(ae),z.extend(x.focusNode,x.focusOffset)}}function No(x,z){var ae=x.display,re=x.doc;if(z.editorIsHidden)return it(x),!1;if(!z.force&&z.visible.from>=ae.viewFrom&&z.visible.to<=ae.viewTo&&(ae.updateLineNumbers==null||ae.updateLineNumbers>=ae.viewTo)&&ae.renderedView==ae.view&&St(x)==0)return!1;fi(x)&&(it(x),z.dims=Ms(x));var oe=re.first+re.size,xe=Math.max(z.visible.from-x.options.viewportMargin,re.first),We=Math.min(oe,z.visible.to+x.options.viewportMargin);ae.viewFrom<xe&&xe-ae.viewFrom<20&&(xe=Math.max(re.first,ae.viewFrom)),ae.viewTo>We&&ae.viewTo-We<20&&(We=Math.min(oe,ae.viewTo)),Bi&&(xe=tn(x.doc,xe),We=Yn(x.doc,We));var dt=xe!=ae.viewFrom||We!=ae.viewTo||ae.lastWrapHeight!=z.wrapperHeight||ae.lastWrapWidth!=z.wrapperWidth;Ie(x,xe,We),ae.viewOffset=Dn(hr(x.doc,ae.viewFrom)),x.display.mover.style.top=ae.viewOffset+"px";var Ct=St(x);if(!dt&&Ct==0&&!z.force&&ae.renderedView==ae.view&&(ae.updateLineNumbers==null||ae.updateLineNumbers>=ae.viewTo))return!1;var Ft=gi(x);return Ct>4&&(ae.lineDiv.style.display="none"),Lo(x,ae.updateLineNumbers,z.dims),Ct>4&&(ae.lineDiv.style.display=""),ae.renderedView=ae.view,zo(Ft),et(ae.cursorDiv),et(ae.selectionDiv),ae.gutters.style.height=ae.sizer.style.minHeight=0,dt&&(ae.lastWrapHeight=z.wrapperHeight,ae.lastWrapWidth=z.wrapperWidth,Ha(x,400)),ae.updateLineNumbers=null,!0}function yo(x,z){for(var ae=z.viewport,re=!0;;re=!1){if(!re||!x.options.lineWrapping||z.oldDisplayWidth==Ai(x)){if(ae&&ae.top!=null&&(ae={top:Math.min(x.doc.height+Qi(x.display)-ko(x),ae.top)}),z.visible=Wr(x.display,x.doc,ae),z.visible.from>=x.display.viewFrom&&z.visible.to<=x.display.viewTo)break}else re&&(z.visible=Wr(x.display,x.doc,ae));if(!No(x,z))break;ur(x);var oe=$n(x);bt(x),kr(x,oe),Pl(x,oe),z.force=!1}z.signal(x,"update",x),(x.display.viewFrom!=x.display.reportedViewFrom||x.display.viewTo!=x.display.reportedViewTo)&&(z.signal(x,"viewportChange",x,x.display.viewFrom,x.display.viewTo),x.display.reportedViewFrom=x.display.viewFrom,x.display.reportedViewTo=x.display.viewTo)}function ll(x,z){var ae=new La(x,z);if(No(x,ae)){ur(x),yo(x,ae);var re=$n(x);bt(x),kr(x,re),Pl(x,re),ae.finish()}}function Lo(x,z,ae){var re=x.display,oe=x.options.lineNumbers,xe=re.lineDiv,We=xe.firstChild;function dt(oi){var wi=oi.nextSibling;return de&&Ee&&x.display.currentWheelTarget==oi?oi.style.display="none":oi.parentNode.removeChild(oi),wi}for(var Ct=re.view,Ft=re.viewFrom,er=0;er<Ct.length;er++){var gr=Ct[er];if(!gr.hidden)if(!gr.node||gr.node.parentNode!=xe){var oa=Va(x,gr,Ft,ae);xe.insertBefore(oa,We)}else{for(;We!=gr.node;)We=dt(We);var ea=oe&&z!=null&&z<=Ft&&gr.lineNumber;gr.changes&&(At(gr.changes,"gutter")>-1&&(ea=!1),ba(x,gr,Ft,ae)),ea&&(et(gr.lineNumber),gr.lineNumber.appendChild(document.createTextNode(ka(x.options,Ft)))),We=gr.node.nextSibling}Ft+=gr.size}for(;We;)We=dt(We)}function kl(x){var z=x.gutters.offsetWidth;x.sizer.style.marginLeft=z+"px"}function Pl(x,z){x.display.sizer.style.minHeight=z.docHeight+"px",x.display.heightForcer.style.top=z.docHeight+"px",x.display.gutters.style.height=z.docHeight+x.display.barHeight+Ki(x)+"px"}function _i(x){var z=x.display,ae=z.view;if(!(!z.alignWidgets&&(!z.gutters.firstChild||!x.options.fixedGutter))){for(var re=zs(z)-z.scroller.scrollLeft+x.doc.scrollLeft,oe=z.gutters.offsetWidth,xe=re+"px",We=0;We<ae.length;We++)if(!ae[We].hidden){x.options.fixedGutter&&(ae[We].gutter&&(ae[We].gutter.style.left=xe),ae[We].gutterBackground&&(ae[We].gutterBackground.style.left=xe));var dt=ae[We].alignable;if(dt)for(var Ct=0;Ct<dt.length;Ct++)dt[Ct].style.left=xe}x.options.fixedGutter&&(z.gutters.style.left=re+oe+"px")}}function fi(x){if(!x.options.lineNumbers)return!1;var z=x.doc,ae=ka(x.options,z.first+z.size-1),re=x.display;if(ae.length!=re.lineNumChars){var oe=re.measure.appendChild(ft("div",[ft("div",ae)],"CodeMirror-linenumber CodeMirror-gutter-elt")),xe=oe.firstChild.offsetWidth,We=oe.offsetWidth-xe;return re.lineGutter.style.width="",re.lineNumInnerWidth=Math.max(xe,re.lineGutter.offsetWidth-We)+1,re.lineNumWidth=re.lineNumInnerWidth+We,re.lineNumChars=re.lineNumInnerWidth?ae.length:-1,re.lineGutter.style.width=re.lineNumWidth+"px",kl(x.display),!0}return!1}function bo(x,z){for(var ae=[],re=!1,oe=0;oe<x.length;oe++){var xe=x[oe],We=null;if(typeof xe!="string"&&(We=xe.style,xe=xe.className),xe=="CodeMirror-linenumbers")if(z)re=!0;else continue;ae.push({className:xe,style:We})}return z&&!re&&ae.push({className:"CodeMirror-linenumbers",style:null}),ae}function Ho(x){var z=x.gutters,ae=x.gutterSpecs;et(z),x.lineGutter=null;for(var re=0;re<ae.length;++re){var oe=ae[re],xe=oe.className,We=oe.style,dt=z.appendChild(ft("div",null,"CodeMirror-gutter "+xe));We&&(dt.style.cssText=We),xe=="CodeMirror-linenumbers"&&(x.lineGutter=dt,dt.style.width=(x.lineNumWidth||1)+"px")}z.style.display=ae.length?"":"none",kl(x)}function co(x){Ho(x.display),Le(x),_i(x)}function wo(x,z,ae,re){var oe=this;this.input=ae,oe.scrollbarFiller=ft("div",null,"CodeMirror-scrollbar-filler"),oe.scrollbarFiller.setAttribute("cm-not-content","true"),oe.gutterFiller=ft("div",null,"CodeMirror-gutter-filler"),oe.gutterFiller.setAttribute("cm-not-content","true"),oe.lineDiv=Re("div",null,"CodeMirror-code"),oe.selectionDiv=ft("div",null,null,"position: relative; z-index: 1"),oe.cursorDiv=ft("div",null,"CodeMirror-cursors"),oe.measure=ft("div",null,"CodeMirror-measure"),oe.lineMeasure=ft("div",null,"CodeMirror-measure"),oe.lineSpace=Re("div",[oe.measure,oe.lineMeasure,oe.selectionDiv,oe.cursorDiv,oe.lineDiv],null,"position: relative; outline: none");var xe=Re("div",[oe.lineSpace],"CodeMirror-lines");oe.mover=ft("div",[xe],null,"position: relative"),oe.sizer=ft("div",[oe.mover],"CodeMirror-sizer"),oe.sizerWidth=null,oe.heightForcer=ft("div",null,null,"position: absolute; height: "+An+"px; width: 1px;"),oe.gutters=ft("div",null,"CodeMirror-gutters"),oe.lineGutter=null,oe.scroller=ft("div",[oe.sizer,oe.heightForcer,oe.gutters],"CodeMirror-scroll"),oe.scroller.setAttribute("tabIndex","-1"),oe.wrapper=ft("div",[oe.scrollbarFiller,oe.gutterFiller,oe.scroller],"CodeMirror"),we&&ke<8&&(oe.gutters.style.zIndex=-1,oe.scroller.style.paddingRight=0),!de&&!(ne&&vt)&&(oe.scroller.draggable=!0),x&&(x.appendChild?x.appendChild(oe.wrapper):x(oe.wrapper)),oe.viewFrom=oe.viewTo=z.first,oe.reportedViewFrom=oe.reportedViewTo=z.first,oe.view=[],oe.renderedView=null,oe.externalMeasured=null,oe.viewOffset=0,oe.lastWrapHeight=oe.lastWrapWidth=0,oe.updateLineNumbers=null,oe.nativeBarWidth=oe.barHeight=oe.barWidth=0,oe.scrollbarsClipped=!1,oe.lineNumWidth=oe.lineNumInnerWidth=oe.lineNumChars=null,oe.alignWidgets=!1,oe.cachedCharWidth=oe.cachedTextHeight=oe.cachedPaddingH=null,oe.maxLine=null,oe.maxLineLength=0,oe.maxLineChanged=!1,oe.wheelDX=oe.wheelDY=oe.wheelStartX=oe.wheelStartY=null,oe.shift=!1,oe.selForContextMenu=null,oe.activeTouch=null,oe.gutterSpecs=bo(re.gutters,re.lineNumbers),Ho(oe),ae.init(oe)}var oo=0,_o=null;we?_o=-.53:ne?_o=15:me?_o=-.7:rt&&(_o=-1/3);function sl(x){var z=x.wheelDeltaX,ae=x.wheelDeltaY;return z==null&&x.detail&&x.axis==x.HORIZONTAL_AXIS&&(z=x.detail),ae==null&&x.detail&&x.axis==x.VERTICAL_AXIS?ae=x.detail:ae==null&&(ae=x.wheelDelta),{x:z,y:ae}}function Nl(x){var z=sl(x);return z.x*=_o,z.y*=_o,z}function Fl(x,z){var ae=sl(z),re=ae.x,oe=ae.y,xe=x.display,We=xe.scroller,dt=We.scrollWidth>We.clientWidth,Ct=We.scrollHeight>We.clientHeight;if(re&&dt||oe&&Ct){if(oe&&Ee&&de){e:for(var Ft=z.target,er=xe.view;Ft!=We;Ft=Ft.parentNode)for(var gr=0;gr<er.length;gr++)if(er[gr].node==Ft){x.display.currentWheelTarget=Ft;break e}}if(re&&!ne&&!Pe&&_o!=null){oe&&Ct&&Qt(x,Math.max(0,We.scrollTop+oe*_o)),Vn(x,Math.max(0,We.scrollLeft+re*_o)),(!oe||oe&&Ct)&&aa(z),xe.wheelStartX=null;return}if(oe&&_o!=null){var oa=oe*_o,ea=x.doc.scrollTop,oi=ea+xe.wrapper.clientHeight;oa<0?ea=Math.max(0,ea+oa-50):oi=Math.min(x.doc.height,oi+oa+50),ll(x,{top:ea,bottom:oi})}oo<20&&(xe.wheelStartX==null?(xe.wheelStartX=We.scrollLeft,xe.wheelStartY=We.scrollTop,xe.wheelDX=re,xe.wheelDY=oe,setTimeout(function(){if(xe.wheelStartX!=null){var wi=We.scrollLeft-xe.wheelStartX,fo=We.scrollTop-xe.wheelStartY,Ro=fo&&xe.wheelDY&&fo/xe.wheelDY||wi&&xe.wheelDX&&wi/xe.wheelDX;xe.wheelStartX=xe.wheelStartY=null,Ro&&(_o=(_o*oo+Ro)/(oo+1),++oo)}},200)):(xe.wheelDX+=re,xe.wheelDY+=oe))}}var Fo=function(x,z){this.ranges=x,this.primIndex=z};Fo.prototype.primary=function(){return this.ranges[this.primIndex]},Fo.prototype.equals=function(x){if(x==this)return!0;if(x.primIndex!=this.primIndex||x.ranges.length!=this.ranges.length)return!1;for(var z=0;z<this.ranges.length;z++){var ae=this.ranges[z],re=x.ranges[z];if(!Zi(ae.anchor,re.anchor)||!Zi(ae.head,re.head))return!1}return!0},Fo.prototype.deepCopy=function(){for(var x=[],z=0;z<this.ranges.length;z++)x[z]=new to(Ii(this.ranges[z].anchor),Ii(this.ranges[z].head));return new Fo(x,this.primIndex)},Fo.prototype.somethingSelected=function(){for(var x=0;x<this.ranges.length;x++)if(!this.ranges[x].empty())return!0;return!1},Fo.prototype.contains=function(x,z){z||(z=x);for(var ae=0;ae<this.ranges.length;ae++){var re=this.ranges[ae];if(Gr(z,re.from())>=0&&Gr(x,re.to())<=0)return ae}return-1};var to=function(x,z){this.anchor=x,this.head=z};to.prototype.from=function(){return hi(this.anchor,this.head)},to.prototype.to=function(){return ni(this.anchor,this.head)},to.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function tl(x,z,ae){var re=x&&x.options.selectionsMayTouch,oe=z[ae];z.sort(function(oa,ea){return Gr(oa.from(),ea.from())}),ae=At(z,oe);for(var xe=1;xe<z.length;xe++){var We=z[xe],dt=z[xe-1],Ct=Gr(dt.to(),We.from());if(re&&!We.empty()?Ct>0:Ct>=0){var Ft=hi(dt.from(),We.from()),er=ni(dt.to(),We.to()),gr=dt.empty()?We.from()==We.head:dt.from()==dt.head;xe<=ae&&--ae,z.splice(--xe,2,new to(gr?er:Ft,gr?Ft:er))}}return new Fo(z,ae)}function hl(x,z){return new Fo([new to(x,z||x)],0)}function Io(x){return x.text?Er(x.from.line+x.text.length-1,Nn(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function Zo(x,z){if(Gr(x,z.from)<0)return x;if(Gr(x,z.to)<=0)return Io(z);var ae=x.line+z.text.length-(z.to.line-z.from.line)-1,re=x.ch;return x.line==z.to.line&&(re+=Io(z).ch-z.to.ch),Er(ae,re)}function Xi(x,z){for(var ae=[],re=0;re<x.sel.ranges.length;re++){var oe=x.sel.ranges[re];ae.push(new to(Zo(oe.anchor,z),Zo(oe.head,z)))}return tl(x.cm,ae,x.sel.primIndex)}function Oi(x,z,ae){return x.line==z.line?Er(ae.line,x.ch-z.ch+ae.ch):Er(ae.line+(x.line-z.line),x.ch)}function nl(x,z,ae){for(var re=[],oe=Er(x.first,0),xe=oe,We=0;We<z.length;We++){var dt=z[We],Ct=Oi(dt.from,oe,xe),Ft=Oi(Io(dt),oe,xe);if(oe=dt.to,xe=Ft,ae=="around"){var er=x.sel.ranges[We],gr=Gr(er.head,er.anchor)<0;re[We]=new to(gr?Ft:Ct,gr?Ct:Ft)}else re[We]=new to(Ct,Ct)}return new Fo(re,x.sel.primIndex)}function Uo(x){x.doc.mode=Gt(x.options,x.doc.modeOption),Bl(x)}function Bl(x){x.doc.iter(function(z){z.stateAfter&&(z.stateAfter=null),z.styles&&(z.styles=null)}),x.doc.modeFrontier=x.doc.highlightFrontier=x.doc.first,Ha(x,100),x.state.modeGen++,x.curOp&&Le(x)}function no(x,z){return z.from.ch==0&&z.to.ch==0&&Nn(z.text)==""&&(!x.cm||x.cm.options.wholeLineUpdateBefore)}function Ja(x,z,ae,re){function oe(Xo){return ae?ae[Xo]:null}function xe(Xo,Mo,qo){Or(Xo,Mo,qo,re),Ir(Xo,"change",Xo,z)}function We(Xo,Mo){for(var qo=[],Ol=Xo;Ol<Mo;++Ol)qo.push(new Ar(Ft[Ol],oe(Ol),re));return qo}var dt=z.from,Ct=z.to,Ft=z.text,er=hr(x,dt.line),gr=hr(x,Ct.line),oa=Nn(Ft),ea=oe(Ft.length-1),oi=Ct.line-dt.line;if(z.full)x.insert(0,We(0,Ft.length)),x.remove(Ft.length,x.size-Ft.length);else if(no(x,z)){var wi=We(0,Ft.length-1);xe(gr,gr.text,ea),oi&&x.remove(dt.line,oi),wi.length&&x.insert(dt.line,wi)}else if(er==gr)if(Ft.length==1)xe(er,er.text.slice(0,dt.ch)+oa+er.text.slice(Ct.ch),ea);else{var fo=We(1,Ft.length-1);fo.push(new Ar(oa+er.text.slice(Ct.ch),ea,re)),xe(er,er.text.slice(0,dt.ch)+Ft[0],oe(0)),x.insert(dt.line+1,fo)}else if(Ft.length==1)xe(er,er.text.slice(0,dt.ch)+Ft[0]+gr.text.slice(Ct.ch),oe(0)),x.remove(dt.line+1,oi);else{xe(er,er.text.slice(0,dt.ch)+Ft[0],oe(0)),xe(gr,oa+gr.text.slice(Ct.ch),ea);var Ro=We(1,Ft.length-1);oi>1&&x.remove(dt.line+1,oi-1),x.insert(dt.line+1,Ro)}Ir(x,"change",x,z)}function Di(x,z,ae){function re(oe,xe,We){if(oe.linked)for(var dt=0;dt<oe.linked.length;++dt){var Ct=oe.linked[dt];if(Ct.doc!=xe){var Ft=We&&Ct.sharedHist;ae&&!Ft||(z(Ct.doc,Ft),re(Ct.doc,oe,Ft))}}}re(x,null,!0)}function Ri(x,z){if(z.cm)throw new Error("This document is already in use.");x.doc=z,z.cm=x,Bs(x),Uo(x),ya(x),x.options.lineWrapping||Xn(x),x.options.mode=z.modeOption,Le(x)}function ya(x){(x.doc.direction=="rtl"?ct:Xe)(x.display.lineDiv,"CodeMirror-rtl")}function Qa(x){ua(x,function(){ya(x),Le(x)})}function Ji(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 ul(x,z){var ae={from:Ii(z.from),to:Io(z),text:dn(x,z.from,z.to)};return Xt(x,ae,z.from.line,z.to.line+1),Di(x,function(re){return Xt(re,ae,z.from.line,z.to.line+1)},!0),ae}function Jl(x){for(;x.length;){var z=Nn(x);if(z.ranges)x.pop();else break}}function ws(x,z){if(z)return Jl(x.done),Nn(x.done);if(x.done.length&&!Nn(x.done).ranges)return Nn(x.done);if(x.done.length>1&&!x.done[x.done.length-2].ranges)return x.done.pop(),Nn(x.done)}function Te(x,z,ae,re){var oe=x.history;oe.undone.length=0;var xe=+new Date,We,dt;if((oe.lastOp==re||oe.lastOrigin==z.origin&&z.origin&&(z.origin.charAt(0)=="+"&&oe.lastModTime>xe-(x.cm?x.cm.options.historyEventDelay:500)||z.origin.charAt(0)=="*"))&&(We=ws(oe,oe.lastOp==re)))dt=Nn(We.changes),Gr(z.from,z.to)==0&&Gr(z.from,dt.to)==0?dt.to=Io(z):We.changes.push(ul(x,z));else{var Ct=Nn(oe.done);for((!Ct||!Ct.ranges)&&Lt(x.sel,oe.done),We={changes:[ul(x,z)],generation:oe.generation},oe.done.push(We);oe.done.length>oe.undoDepth;)oe.done.shift(),oe.done[0].ranges||oe.done.shift()}oe.done.push(ae),oe.generation=++oe.maxGeneration,oe.lastModTime=oe.lastSelTime=xe,oe.lastOp=oe.lastSelOp=re,oe.lastOrigin=oe.lastSelOrigin=z.origin,dt||Ut(x,"historyAdded")}function Ze(x,z,ae,re){var oe=z.charAt(0);return oe=="*"||oe=="+"&&ae.ranges.length==re.ranges.length&&ae.somethingSelected()==re.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}function Et(x,z,ae,re){var oe=x.history,xe=re&&re.origin;ae==oe.lastSelOp||xe&&oe.lastSelOrigin==xe&&(oe.lastModTime==oe.lastSelTime&&oe.lastOrigin==xe||Ze(x,xe,Nn(oe.done),z))?oe.done[oe.done.length-1]=z:Lt(z,oe.done),oe.lastSelTime=+new Date,oe.lastSelOrigin=xe,oe.lastSelOp=ae,re&&re.clearRedo!==!1&&Jl(oe.undone)}function Lt(x,z){var ae=Nn(z);ae&&ae.ranges&&ae.equals(x)||z.push(x)}function Xt(x,z,ae,re){var oe=z["spans_"+x.id],xe=0;x.iter(Math.max(x.first,ae),Math.min(x.first+x.size,re),function(We){We.markedSpans&&((oe||(oe=z["spans_"+x.id]={}))[xe]=We.markedSpans),++xe})}function Sn(x){if(!x)return null;for(var z,ae=0;ae<x.length;++ae)x[ae].marker.explicitlyCleared?z||(z=x.slice(0,ae)):z&&z.push(x[ae]);return z?z.length?z:null:x}function nr(x,z){var ae=z["spans_"+x.id];if(!ae)return null;for(var re=[],oe=0;oe<z.text.length;++oe)re.push(Sn(ae[oe]));return re}function wr(x,z){var ae=nr(x,z),re=di(x,z);if(!ae)return re;if(!re)return ae;for(var oe=0;oe<ae.length;++oe){var xe=ae[oe],We=re[oe];if(xe&&We)e:for(var dt=0;dt<We.length;++dt){for(var Ct=We[dt],Ft=0;Ft<xe.length;++Ft)if(xe[Ft].marker==Ct.marker)continue e;xe.push(Ct)}else We&&(ae[oe]=We)}return ae}function jn(x,z,ae){for(var re=[],oe=0;oe<x.length;++oe){var xe=x[oe];if(xe.ranges){re.push(ae?Fo.prototype.deepCopy.call(xe):xe);continue}var We=xe.changes,dt=[];re.push({changes:dt});for(var Ct=0;Ct<We.length;++Ct){var Ft=We[Ct],er=void 0;if(dt.push({from:Ft.from,to:Ft.to,text:Ft.text}),z)for(var gr in Ft)(er=gr.match(/^spans_(\d+)$/))&&At(z,Number(er[1]))>-1&&(Nn(dt)[gr]=Ft[gr],delete Ft[gr])}}return re}function Un(x,z,ae,re){if(re){var oe=x.anchor;if(ae){var xe=Gr(z,oe)<0;xe!=Gr(ae,oe)<0?(oe=z,z=ae):xe!=Gr(z,ae)<0&&(z=ae)}return new to(oe,z)}else return new to(ae||z,z)}function Sr(x,z,ae,re,oe){oe==null&&(oe=x.cm&&(x.cm.display.shift||x.extend)),Qr(x,new Fo([Un(x.sel.primary(),z,ae,oe)],0),re)}function kn(x,z,ae){for(var re=[],oe=x.cm&&(x.cm.display.shift||x.extend),xe=0;xe<x.sel.ranges.length;xe++)re[xe]=Un(x.sel.ranges[xe],z[xe],null,oe);var We=tl(x.cm,re,x.sel.primIndex);Qr(x,We,ae)}function Vr(x,z,ae,re){var oe=x.sel.ranges.slice(0);oe[z]=ae,Qr(x,tl(x.cm,oe,x.sel.primIndex),re)}function xa(x,z,ae,re){Qr(x,hl(z,ae),re)}function wa(x,z,ae){var re={ranges:z.ranges,update:function(oe){this.ranges=[];for(var xe=0;xe<oe.length;xe++)this.ranges[xe]=new to(ri(x,oe[xe].anchor),ri(x,oe[xe].head))},origin:ae&&ae.origin};return Ut(x,"beforeSelectionChange",x,re),x.cm&&Ut(x.cm,"beforeSelectionChange",x.cm,re),re.ranges!=z.ranges?tl(x.cm,re.ranges,re.ranges.length-1):z}function Ra(x,z,ae){var re=x.history.done,oe=Nn(re);oe&&oe.ranges?(re[re.length-1]=z,li(x,z,ae)):Qr(x,z,ae)}function Qr(x,z,ae){li(x,z,ae),Et(x,x.sel,x.cm?x.cm.curOp.id:NaN,ae)}function li(x,z,ae){(cr(x,"beforeSelectionChange")||x.cm&&cr(x.cm,"beforeSelectionChange"))&&(z=wa(x,z,ae));var re=ae&&ae.bias||(Gr(z.primary().head,x.sel.primary().head)<0?-1:1);qa(x,vi(x,z,re,!0)),!(ae&&ae.scroll===!1)&&x.cm&&je(x.cm)}function qa(x,z){z.equals(x.sel)||(x.sel=z,x.cm&&(x.cm.curOp.updateInput=1,x.cm.curOp.selectionChanged=!0,Nr(x.cm)),Ir(x,"cursorActivity",x))}function Fi(x){qa(x,vi(x,x.sel,null,!1))}function vi(x,z,ae,re){for(var oe,xe=0;xe<z.ranges.length;xe++){var We=z.ranges[xe],dt=z.ranges.length==x.sel.ranges.length&&x.sel.ranges[xe],Ct=yi(x,We.anchor,dt&&dt.anchor,ae,re),Ft=yi(x,We.head,dt&&dt.head,ae,re);(oe||Ct!=We.anchor||Ft!=We.head)&&(oe||(oe=z.ranges.slice(0,xe)),oe[xe]=new to(Ct,Ft))}return oe?tl(x.cm,oe,z.primIndex):z}function pi(x,z,ae,re,oe){var xe=hr(x,z.line);if(xe.markedSpans)for(var We=0;We<xe.markedSpans.length;++We){var dt=xe.markedSpans[We],Ct=dt.marker,Ft="selectLeft"in Ct?!Ct.selectLeft:Ct.inclusiveLeft,er="selectRight"in Ct?!Ct.selectRight:Ct.inclusiveRight;if((dt.from==null||(Ft?dt.from<=z.ch:dt.from<z.ch))&&(dt.to==null||(er?dt.to>=z.ch:dt.to>z.ch))){if(oe&&(Ut(Ct,"beforeCursorEnter"),Ct.explicitlyCleared))if(xe.markedSpans){--We;continue}else break;if(!Ct.atomic)continue;if(ae){var gr=Ct.find(re<0?1:-1),oa=void 0;if((re<0?er:Ft)&&(gr=Vi(x,gr,-re,gr&&gr.line==z.line?xe:null)),gr&&gr.line==z.line&&(oa=Gr(gr,ae))&&(re<0?oa<0:oa>0))return pi(x,gr,z,re,oe)}var ea=Ct.find(re<0?-1:1);return(re<0?Ft:er)&&(ea=Vi(x,ea,re,ea.line==z.line?xe:null)),ea?pi(x,ea,z,re,oe):null}}return z}function yi(x,z,ae,re,oe){var xe=re||1,We=pi(x,z,ae,xe,oe)||!oe&&pi(x,z,ae,xe,!0)||pi(x,z,ae,-xe,oe)||!oe&&pi(x,z,ae,-xe,!0);return We||(x.cantEdit=!0,Er(x.first,0))}function Vi(x,z,ae,re){return ae<0&&z.ch==0?z.line>x.first?ri(x,Er(z.line-1)):null:ae>0&&z.ch==(re||hr(x,z.line)).text.length?z.line<x.first+x.size-1?Er(z.line+1,0):null:new Er(z.line,z.ch+ae)}function Ko(x){x.setSelection(Er(x.firstLine(),0),Er(x.lastLine()),Mt)}function Li(x,z,ae){var re={canceled:!1,from:z.from,to:z.to,text:z.text,origin:z.origin,cancel:function(){return re.canceled=!0}};return ae&&(re.update=function(oe,xe,We,dt){oe&&(re.from=ri(x,oe)),xe&&(re.to=ri(x,xe)),We&&(re.text=We),dt!==void 0&&(re.origin=dt)}),Ut(x,"beforeChange",x,re),x.cm&&Ut(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 Za(x,z,ae){if(x.cm){if(!x.cm.curOp)return Xa(x.cm,Za)(x,z,ae);if(x.cm.state.suppressEdits)return}if(!((cr(x,"beforeChange")||x.cm&&cr(x.cm,"beforeChange"))&&(z=Li(x,z,!0),!z))){var re=Pi&&!ae&&Ao(x,z.from,z.to);if(re)for(var oe=re.length-1;oe>=0;--oe)Ka(x,{from:re[oe].from,to:re[oe].to,text:oe?[""]:z.text,origin:z.origin});else Ka(x,z)}}function Ka(x,z){if(!(z.text.length==1&&z.text[0]==""&&Gr(z.from,z.to)==0)){var ae=Xi(x,z);Te(x,z,ae,x.cm?x.cm.curOp.id:NaN),lo(x,z,ae,di(x,z));var re=[];Di(x,function(oe,xe){!xe&&At(re,oe.history)==-1&&(pl(oe.history,z),re.push(oe.history)),lo(oe,z,null,di(oe,z))})}}function ii(x,z,ae){var re=x.cm&&x.cm.state.suppressEdits;if(!(re&&!ae)){for(var oe=x.history,xe,We=x.sel,dt=z=="undo"?oe.done:oe.undone,Ct=z=="undo"?oe.undone:oe.done,Ft=0;Ft<dt.length&&(xe=dt[Ft],!(ae?xe.ranges&&!xe.equals(x.sel):!xe.ranges));Ft++);if(Ft!=dt.length){for(oe.lastOrigin=oe.lastSelOrigin=null;;)if(xe=dt.pop(),xe.ranges){if(Lt(xe,Ct),ae&&!xe.equals(x.sel)){Qr(x,xe,{clearRedo:!1});return}We=xe}else if(re){dt.push(xe);return}else break;var er=[];Lt(We,Ct),Ct.push({changes:er,generation:oe.generation}),oe.generation=xe.generation||++oe.maxGeneration;for(var gr=cr(x,"beforeChange")||x.cm&&cr(x.cm,"beforeChange"),oa=function(wi){var fo=xe.changes[wi];if(fo.origin=z,gr&&!Li(x,fo,!1))return dt.length=0,{};er.push(ul(x,fo));var Ro=wi?Xi(x,fo):Nn(dt);lo(x,fo,Ro,wr(x,fo)),!wi&&x.cm&&x.cm.scrollIntoView({from:fo.from,to:Io(fo)});var Xo=[];Di(x,function(Mo,qo){!qo&&At(Xo,Mo.history)==-1&&(pl(Mo.history,fo),Xo.push(Mo.history)),lo(Mo,fo,null,wr(Mo,fo))})},ea=xe.changes.length-1;ea>=0;--ea){var oi=oa(ea);if(oi)return oi.v}}}}function Ti(x,z){if(z!=0&&(x.first+=z,x.sel=new Fo(dr(x.sel.ranges,function(oe){return new to(Er(oe.anchor.line+z,oe.anchor.ch),Er(oe.head.line+z,oe.head.ch))}),x.sel.primIndex),x.cm)){Le(x.cm,x.first,x.first-z,z);for(var ae=x.cm.display,re=ae.viewFrom;re<ae.viewTo;re++)Je(x.cm,re,"gutter")}}function lo(x,z,ae,re){if(x.cm&&!x.cm.curOp)return Xa(x.cm,lo)(x,z,ae,re);if(z.to.line<x.first){Ti(x,z.text.length-1-(z.to.line-z.from.line));return}if(!(z.from.line>x.lastLine())){if(z.from.line<x.first){var oe=z.text.length-1-(x.first-z.from.line);Ti(x,oe),z={from:Er(x.first,0),to:Er(z.to.line+oe,z.to.ch),text:[Nn(z.text)],origin:z.origin}}var xe=x.lastLine();z.to.line>xe&&(z={from:z.from,to:Er(xe,hr(x,xe).text.length),text:[z.text[0]],origin:z.origin}),z.removed=dn(x,z.from,z.to),ae||(ae=Xi(x,z)),x.cm?rl(x.cm,z,re):Ja(x,z,re),li(x,ae,Mt),x.cantEdit&&yi(x,Er(x.firstLine(),0))&&(x.cantEdit=!1)}}function rl(x,z,ae){var re=x.doc,oe=x.display,xe=z.from,We=z.to,dt=!1,Ct=xe.line;x.options.lineWrapping||(Ct=ma(at(hr(re,xe.line))),re.iter(Ct,We.line+1,function(ea){if(ea==oe.maxLine)return dt=!0,!0})),re.sel.contains(z.from,z.to)>-1&&Nr(x),Ja(re,z,ae,Ws(x)),x.options.lineWrapping||(re.iter(Ct,xe.line+z.text.length,function(ea){var oi=qn(ea);oi>oe.maxLineLength&&(oe.maxLine=ea,oe.maxLineLength=oi,oe.maxLineChanged=!0,dt=!1)}),dt&&(x.curOp.updateMaxLine=!0)),Do(re,xe.line),Ha(x,400);var Ft=z.text.length-(We.line-xe.line)-1;z.full?Le(x):xe.line==We.line&&z.text.length==1&&!no(x.doc,z)?Je(x,xe.line,"text"):Le(x,xe.line,We.line+1,Ft);var er=cr(x,"changes"),gr=cr(x,"change");if(gr||er){var oa={from:xe,to:We,text:z.text,removed:z.removed,origin:z.origin};gr&&Ir(x,"change",x,oa),er&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(oa)}x.display.selForContextMenu=null}function Po(x,z,ae,re,oe){var xe;re||(re=ae),Gr(re,ae)<0&&(xe=[re,ae],ae=xe[0],re=xe[1]),typeof z=="string"&&(z=x.splitLines(z)),Za(x,{from:ae,to:re,text:z,origin:oe})}function To(x,z,ae,re){ae<x.line?x.line+=re:z<x.line&&(x.line=z,x.ch=0)}function Ml(x,z,ae,re){for(var oe=0;oe<x.length;++oe){var xe=x[oe],We=!0;if(xe.ranges){xe.copied||(xe=x[oe]=xe.deepCopy(),xe.copied=!0);for(var dt=0;dt<xe.ranges.length;dt++)To(xe.ranges[dt].anchor,z,ae,re),To(xe.ranges[dt].head,z,ae,re);continue}for(var Ct=0;Ct<xe.changes.length;++Ct){var Ft=xe.changes[Ct];if(ae<Ft.from.line)Ft.from=Er(Ft.from.line+re,Ft.from.ch),Ft.to=Er(Ft.to.line+re,Ft.to.ch);else if(z<=Ft.to.line){We=!1;break}}We||(x.splice(0,oe+1),oe=0)}}function pl(x,z){var ae=z.from.line,re=z.to.line,oe=z.text.length-(re-ae)-1;Ml(x.done,ae,re,oe),Ml(x.undone,ae,re,oe)}function Kl(x,z,ae,re){var oe=z,xe=z;return typeof z=="number"?xe=hr(x,io(x,z)):oe=ma(z),oe==null?null:(re(xe,oe)&&x.cm&&Je(x.cm,oe,ae),xe)}function Gl(x){this.lines=x,this.parent=null;for(var z=0,ae=0;ae<x.length;++ae)x[ae].parent=this,z+=x[ae].height;this.height=z}Gl.prototype={chunkSize:function(){return this.lines.length},removeInner:function(x,z){for(var ae=x,re=x+z;ae<re;++ae){var oe=this.lines[ae];this.height-=oe.height,Kr(oe),Ir(oe,"delete")}this.lines.splice(x,z)},collapse:function(x){x.push.apply(x,this.lines)},insertInner:function(x,z,ae){this.height+=ae,this.lines=this.lines.slice(0,x).concat(z).concat(this.lines.slice(x));for(var re=0;re<z.length;++re)z[re].parent=this},iterN:function(x,z,ae){for(var re=x+z;x<re;++x)if(ae(this.lines[x]))return!0}};function Is(x){this.children=x;for(var z=0,ae=0,re=0;re<x.length;++re){var oe=x[re];z+=oe.chunkSize(),ae+=oe.height,oe.parent=this}this.size=z,this.height=ae,this.parent=null}Is.prototype={chunkSize:function(){return this.size},removeInner:function(x,z){this.size-=z;for(var ae=0;ae<this.children.length;++ae){var re=this.children[ae],oe=re.chunkSize();if(x<oe){var xe=Math.min(z,oe-x),We=re.height;if(re.removeInner(x,xe),this.height-=We-re.height,oe==xe&&(this.children.splice(ae--,1),re.parent=null),(z-=xe)==0)break;x=0}else x-=oe}if(this.size-z<25&&(this.children.length>1||!(this.children[0]instanceof Gl))){var dt=[];this.collapse(dt),this.children=[new Gl(dt)],this.children[0].parent=this}},collapse:function(x){for(var z=0;z<this.children.length;++z)this.children[z].collapse(x)},insertInner:function(x,z,ae){this.size+=z.length,this.height+=ae;for(var re=0;re<this.children.length;++re){var oe=this.children[re],xe=oe.chunkSize();if(x<=xe){if(oe.insertInner(x,z,ae),oe.lines&&oe.lines.length>50){for(var We=oe.lines.length%25+25,dt=We;dt<oe.lines.length;){var Ct=new Gl(oe.lines.slice(dt,dt+=25));oe.height-=Ct.height,this.children.splice(++re,0,Ct),Ct.parent=this}oe.lines=oe.lines.slice(0,We),this.maybeSpill()}break}x-=xe}},maybeSpill:function(){if(!(this.children.length<=10)){var x=this;do{var z=x.children.splice(x.children.length-5,5),ae=new Is(z);if(x.parent){x.size-=ae.size,x.height-=ae.height;var oe=At(x.parent.children,x);x.parent.children.splice(oe+1,0,ae)}else{var re=new Is(x.children);re.parent=x,x.children=[re,ae],x=re}ae.parent=x.parent}while(x.children.length>10);x.parent.maybeSpill()}},iterN:function(x,z,ae){for(var re=0;re<this.children.length;++re){var oe=this.children[re],xe=oe.chunkSize();if(x<xe){var We=Math.min(z,xe-x);if(oe.iterN(x,We,ae))return!0;if((z-=We)==0)break;x=0}else x-=xe}}};var Ps=function(x,z,ae){if(ae)for(var re in ae)ae.hasOwnProperty(re)&&(this[re]=ae[re]);this.doc=x,this.node=z};Ps.prototype.clear=function(){var x=this.doc.cm,z=this.line.widgets,ae=this.line,re=ma(ae);if(!(re==null||!z)){for(var oe=0;oe<z.length;++oe)z[oe]==this&&z.splice(oe--,1);z.length||(ae.widgets=null);var xe=Wi(this);pa(ae,Math.max(0,ae.height-xe)),x&&(ua(x,function(){Yl(x,ae,-xe),Je(x,re,"widget")}),Ir(x,"lineWidgetCleared",x,this,re))}},Ps.prototype.changed=function(){var x=this,z=this.height,ae=this.doc.cm,re=this.line;this.height=null;var oe=Wi(this)-z;oe&&(fr(this.doc,re)||pa(re,re.height+oe),ae&&ua(ae,function(){ae.curOp.forceUpdate=!0,Yl(ae,re,oe),Ir(ae,"lineWidgetChanged",ae,x,ma(re))}))},Fr(Ps);function Yl(x,z,ae){Dn(z)<(x.curOp&&x.curOp.scrollTop||x.doc.scrollTop)&&Ht(x,ae)}function _s(x,z,ae,re){var oe=new Ps(x,ae,re),xe=x.cm;return xe&&oe.noHScroll&&(xe.display.alignWidgets=!0),Kl(x,z,"widget",function(We){var dt=We.widgets||(We.widgets=[]);if(oe.insertAt==null?dt.push(oe):dt.splice(Math.min(dt.length-1,Math.max(0,oe.insertAt)),0,oe),oe.line=We,xe&&!fr(x,We)){var Ct=Dn(We)<x.scrollTop;pa(We,We.height+Wi(oe)),Ct&&Ht(xe,oe.height),xe.curOp.forceUpdate=!0}return!0}),xe&&Ir(xe,"lineWidgetAdded",xe,oe,typeof z=="number"?z:ma(z)),oe}var ps=0,gs=function(x,z){this.lines=[],this.type=z,this.doc=x,this.id=++ps};gs.prototype.clear=function(){if(!this.explicitlyCleared){var x=this.doc.cm,z=x&&!x.curOp;if(z&&sa(x),cr(this,"clear")){var ae=this.find();ae&&Ir(this,"clear",ae.from,ae.to)}for(var re=null,oe=null,xe=0;xe<this.lines.length;++xe){var We=this.lines[xe],dt=Yr(We.markedSpans,this);x&&!this.collapsed?Je(x,ma(We),"text"):x&&(dt.to!=null&&(oe=ma(We)),dt.from!=null&&(re=ma(We))),We.markedSpans=ha(We.markedSpans,dt),dt.from==null&&this.collapsed&&!fr(this.doc,We)&&x&&pa(We,hs(x.display))}if(x&&this.collapsed&&!x.options.lineWrapping)for(var Ct=0;Ct<this.lines.length;++Ct){var Ft=at(this.lines[Ct]),er=qn(Ft);er>x.display.maxLineLength&&(x.display.maxLine=Ft,x.display.maxLineLength=er,x.display.maxLineChanged=!0)}re!=null&&x&&this.collapsed&&Le(x,re,oe+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&Fi(x.doc)),x&&Ir(x,"markerCleared",x,this,re,oe),z&&Da(x),this.parent&&this.parent.clear()}},gs.prototype.find=function(x,z){x==null&&this.type=="bookmark"&&(x=1);for(var ae,re,oe=0;oe<this.lines.length;++oe){var xe=this.lines[oe],We=Yr(xe.markedSpans,this);if(We.from!=null&&(ae=Er(z?xe:ma(xe),We.from),x==-1))return ae;if(We.to!=null&&(re=Er(z?xe:ma(xe),We.to),x==1))return re}return ae&&{from:ae,to:re}},gs.prototype.changed=function(){var x=this,z=this.find(-1,!0),ae=this,re=this.doc.cm;!z||!re||ua(re,function(){var oe=z.line,xe=ma(z.line),We=il(re,xe);if(We&&(fl(We),re.curOp.selectionChanged=re.curOp.forceUpdate=!0),re.curOp.updateMaxLine=!0,!fr(ae.doc,oe)&&ae.height!=null){var dt=ae.height;ae.height=null;var Ct=Wi(ae)-dt;Ct&&pa(oe,oe.height+Ct)}Ir(re,"markerChanged",re,x)})},gs.prototype.attachLine=function(x){if(!this.lines.length&&this.doc.cm){var z=this.doc.cm.curOp;(!z.maybeHiddenMarkers||At(z.maybeHiddenMarkers,this)==-1)&&(z.maybeUnhiddenMarkers||(z.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(x)},gs.prototype.detachLine=function(x){if(this.lines.splice(At(this.lines,x),1),!this.lines.length&&this.doc.cm){var z=this.doc.cm.curOp;(z.maybeHiddenMarkers||(z.maybeHiddenMarkers=[])).push(this)}},Fr(gs);function Jo(x,z,ae,re,oe){if(re&&re.shared)return ki(x,z,ae,re,oe);if(x.cm&&!x.cm.curOp)return Xa(x.cm,Jo)(x,z,ae,re,oe);var xe=new gs(x,oe),We=Gr(z,ae);if(re&&an(re,xe,!1),We>0||We==0&&xe.clearWhenEmpty!==!1)return xe;if(xe.replacedWith&&(xe.collapsed=!0,xe.widgetNode=Re("span",[xe.replacedWith],"CodeMirror-widget"),re.handleMouseEvents||xe.widgetNode.setAttribute("cm-ignore-events","true"),re.insertLeft&&(xe.widgetNode.insertLeft=!0)),xe.collapsed){if(Qe(x,z.line,z,ae,xe)||z.line!=ae.line&&Qe(x,ae.line,z,ae,xe))throw new Error("Inserting collapsed marker partially overlapping an existing one");Cn()}xe.addToHistory&&Te(x,{from:z,to:ae,origin:"markText"},x.sel,NaN);var dt=z.line,Ct=x.cm,Ft;if(x.iter(dt,ae.line+1,function(gr){Ct&&xe.collapsed&&!Ct.options.lineWrapping&&at(gr)==Ct.display.maxLine&&(Ft=!0),xe.collapsed&&dt!=z.line&&pa(gr,0),mi(gr,new mr(xe,dt==z.line?z.ch:null,dt==ae.line?ae.ch:null)),++dt}),xe.collapsed&&x.iter(z.line,ae.line+1,function(gr){fr(x,gr)&&pa(gr,0)}),xe.clearOnEnter&&Tn(xe,"beforeCursorEnter",function(){return xe.clear()}),xe.readOnly&&(zn(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),xe.collapsed&&(xe.id=++ps,xe.atomic=!0),Ct){if(Ft&&(Ct.curOp.updateMaxLine=!0),xe.collapsed)Le(Ct,z.line,ae.line+1);else if(xe.className||xe.startStyle||xe.endStyle||xe.css||xe.attributes||xe.title)for(var er=z.line;er<=ae.line;er++)Je(Ct,er,"text");xe.atomic&&Fi(Ct.doc),Ir(Ct,"markerAdded",Ct,xe)}return xe}var $i=function(x,z){this.markers=x,this.primary=z;for(var ae=0;ae<x.length;++ae)x[ae].parent=this};$i.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var x=0;x<this.markers.length;++x)this.markers[x].clear();Ir(this,"clear")}},$i.prototype.find=function(x,z){return this.primary.find(x,z)},Fr($i);function ki(x,z,ae,re,oe){re=an(re),re.shared=!1;var xe=[Jo(x,z,ae,re,oe)],We=xe[0],dt=re.widgetNode;return Di(x,function(Ct){dt&&(re.widgetNode=dt.cloneNode(!0)),xe.push(Jo(Ct,ri(Ct,z),ri(Ct,ae),re,oe));for(var Ft=0;Ft<Ct.linked.length;++Ft)if(Ct.linked[Ft].isParent)return;We=Nn(xe)}),new $i(xe,We)}function Co(x){return x.findMarks(Er(x.first,0),x.clipPos(Er(x.lastLine())),function(z){return z.parent})}function Eo(x,z){for(var ae=0;ae<z.length;ae++){var re=z[ae],oe=re.find(),xe=x.clipPos(oe.from),We=x.clipPos(oe.to);if(Gr(xe,We)){var dt=Jo(x,xe,We,re.primary,re.primary.type);re.markers.push(dt),dt.parent=re}}}function eo(x){for(var z=function(re){var oe=x[re],xe=[oe.primary.doc];Di(oe.primary.doc,function(Ct){return xe.push(Ct)});for(var We=0;We<oe.markers.length;We++){var dt=oe.markers[We];At(xe,dt.doc)==-1&&(dt.parent=null,oe.markers.splice(We--,1))}},ae=0;ae<x.length;ae++)z(ae)}var rs=0,ro=function(x,z,ae,re,oe){if(!(this instanceof ro))return new ro(x,z,ae,re,oe);ae==null&&(ae=0),Is.call(this,[new Gl([new Ar("",null)])]),this.first=ae,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ae;var xe=Er(ae,0);this.sel=hl(xe),this.history=new Ji(null),this.id=++rs,this.modeOption=z,this.lineSep=re,this.direction=oe=="rtl"?"rtl":"ltr",this.extend=!1,typeof x=="string"&&(x=this.splitLines(x)),Ja(this,{from:xe,to:xe,text:x}),Qr(this,hl(xe),Mt)};ro.prototype=ve(Is.prototype,{constructor:ro,iter:function(x,z,ae){ae?this.iterN(x-this.first,z-x,ae):this.iterN(this.first,this.first+this.size,x)},insert:function(x,z){for(var ae=0,re=0;re<z.length;++re)ae+=z[re].height;this.insertInner(x-this.first,z,ae)},remove:function(x,z){this.removeInner(x-this.first,z)},getValue:function(x){var z=za(this,this.first,this.first+this.size);return x===!1?z:z.join(x||this.lineSeparator())},setValue:Ya(function(x){var z=Er(this.first,0),ae=this.first+this.size-1;Za(this,{from:z,to:Er(ae,hr(this,ae).text.length),text:this.splitLines(x),origin:"setValue",full:!0},!0),this.cm&&Yt(this.cm,0,0),Qr(this,hl(z),Mt)}),replaceRange:function(x,z,ae,re){z=ri(this,z),ae=ae?ri(this,ae):z,Po(this,x,z,ae,re)},getRange:function(x,z,ae){var re=dn(this,ri(this,x),ri(this,z));return ae===!1?re:re.join(ae||this.lineSeparator())},getLine:function(x){var z=this.getLineHandle(x);return z&&z.text},getLineHandle:function(x){if(Aa(this,x))return hr(this,x)},getLineNumber:function(x){return ma(x)},getLineHandleVisualStart:function(x){return typeof x=="number"&&(x=hr(this,x)),at(x)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(x){return ri(this,x)},getCursor:function(x){var z=this.sel.primary(),ae;return x==null||x=="head"?ae=z.head:x=="anchor"?ae=z.anchor:x=="end"||x=="to"||x===!1?ae=z.to():ae=z.from(),ae},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Ya(function(x,z,ae){xa(this,ri(this,typeof x=="number"?Er(x,z||0):x),null,ae)}),setSelection:Ya(function(x,z,ae){xa(this,ri(this,x),ri(this,z||x),ae)}),extendSelection:Ya(function(x,z,ae){Sr(this,ri(this,x),z&&ri(this,z),ae)}),extendSelections:Ya(function(x,z){kn(this,ia(this,x),z)}),extendSelectionsBy:Ya(function(x,z){var ae=dr(this.sel.ranges,x);kn(this,ia(this,ae),z)}),setSelections:Ya(function(x,z,ae){if(x.length){for(var re=[],oe=0;oe<x.length;oe++)re[oe]=new to(ri(this,x[oe].anchor),ri(this,x[oe].head));z==null&&(z=Math.min(x.length-1,this.sel.primIndex)),Qr(this,tl(this.cm,re,z),ae)}}),addSelection:Ya(function(x,z,ae){var re=this.sel.ranges.slice(0);re.push(new to(ri(this,x),ri(this,z||x))),Qr(this,tl(this.cm,re,re.length-1),ae)}),getSelection:function(x){for(var z=this.sel.ranges,ae,re=0;re<z.length;re++){var oe=dn(this,z[re].from(),z[re].to());ae=ae?ae.concat(oe):oe}return x===!1?ae:ae.join(x||this.lineSeparator())},getSelections:function(x){for(var z=[],ae=this.sel.ranges,re=0;re<ae.length;re++){var oe=dn(this,ae[re].from(),ae[re].to());x!==!1&&(oe=oe.join(x||this.lineSeparator())),z[re]=oe}return z},replaceSelection:function(x,z,ae){for(var re=[],oe=0;oe<this.sel.ranges.length;oe++)re[oe]=x;this.replaceSelections(re,z,ae||"+input")},replaceSelections:Ya(function(x,z,ae){for(var re=[],oe=this.sel,xe=0;xe<oe.ranges.length;xe++){var We=oe.ranges[xe];re[xe]={from:We.from(),to:We.to(),text:this.splitLines(x[xe]),origin:ae}}for(var dt=z&&z!="end"&&nl(this,re,z),Ct=re.length-1;Ct>=0;Ct--)Za(this,re[Ct]);dt?Ra(this,dt):this.cm&&je(this.cm)}),undo:Ya(function(){ii(this,"undo")}),redo:Ya(function(){ii(this,"redo")}),undoSelection:Ya(function(){ii(this,"undo",!0)}),redoSelection:Ya(function(){ii(this,"redo",!0)}),setExtending:function(x){this.extend=x},getExtending:function(){return this.extend},historySize:function(){for(var x=this.history,z=0,ae=0,re=0;re<x.done.length;re++)x.done[re].ranges||++z;for(var oe=0;oe<x.undone.length;oe++)x.undone[oe].ranges||++ae;return{undo:z,redo:ae}},clearHistory:function(){var x=this;this.history=new Ji(this.history.maxGeneration),Di(this,function(z){return z.history=x.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(x){return x&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(x){return this.history.generation==(x||this.cleanGeneration)},getHistory:function(){return{done:jn(this.history.done),undone:jn(this.history.undone)}},setHistory:function(x){var z=this.history=new Ji(this.history.maxGeneration);z.done=jn(x.done.slice(0),null,!0),z.undone=jn(x.undone.slice(0),null,!0)},setGutterMarker:Ya(function(x,z,ae){return Kl(this,x,"gutter",function(re){var oe=re.gutterMarkers||(re.gutterMarkers={});return oe[z]=ae,!ae&&se(oe)&&(re.gutterMarkers=null),!0})}),clearGutter:Ya(function(x){var z=this;this.iter(function(ae){ae.gutterMarkers&&ae.gutterMarkers[x]&&Kl(z,ae,"gutter",function(){return ae.gutterMarkers[x]=null,se(ae.gutterMarkers)&&(ae.gutterMarkers=null),!0})})}),lineInfo:function(x){var z;if(typeof x=="number"){if(!Aa(this,x)||(z=x,x=hr(this,x),!x))return null}else if(z=ma(x),z==null)return null;return{line:z,handle:x,text:x.text,gutterMarkers:x.gutterMarkers,textClass:x.textClass,bgClass:x.bgClass,wrapClass:x.wrapClass,widgets:x.widgets}},addLineClass:Ya(function(x,z,ae){return Kl(this,x,z=="gutter"?"gutter":"class",function(re){var oe=z=="text"?"textClass":z=="background"?"bgClass":z=="gutter"?"gutterClass":"wrapClass";if(!re[oe])re[oe]=ae;else{if(ce(ae).test(re[oe]))return!1;re[oe]+=" "+ae}return!0})}),removeLineClass:Ya(function(x,z,ae){return Kl(this,x,z=="gutter"?"gutter":"class",function(re){var oe=z=="text"?"textClass":z=="background"?"bgClass":z=="gutter"?"gutterClass":"wrapClass",xe=re[oe];if(xe)if(ae==null)re[oe]=null;else{var We=xe.match(ce(ae));if(!We)return!1;var dt=We.index+We[0].length;re[oe]=xe.slice(0,We.index)+(!We.index||dt==xe.length?"":" ")+xe.slice(dt)||null}else return!1;return!0})}),addLineWidget:Ya(function(x,z,ae){return _s(this,x,z,ae)}),removeLineWidget:function(x){x.clear()},markText:function(x,z,ae){return Jo(this,ri(this,x),ri(this,z),ae,ae&&ae.type||"range")},setBookmark:function(x,z){var ae={replacedWith:z&&(z.nodeType==null?z.widget:z),insertLeft:z&&z.insertLeft,clearWhenEmpty:!1,shared:z&&z.shared,handleMouseEvents:z&&z.handleMouseEvents};return x=ri(this,x),Jo(this,x,x,ae,"bookmark")},findMarksAt:function(x){x=ri(this,x);var z=[],ae=hr(this,x.line).markedSpans;if(ae)for(var re=0;re<ae.length;++re){var oe=ae[re];(oe.from==null||oe.from<=x.ch)&&(oe.to==null||oe.to>=x.ch)&&z.push(oe.marker.parent||oe.marker)}return z},findMarks:function(x,z,ae){x=ri(this,x),z=ri(this,z);var re=[],oe=x.line;return this.iter(x.line,z.line+1,function(xe){var We=xe.markedSpans;if(We)for(var dt=0;dt<We.length;dt++){var Ct=We[dt];!(Ct.to!=null&&oe==x.line&&x.ch>=Ct.to||Ct.from==null&&oe!=x.line||Ct.from!=null&&oe==z.line&&Ct.from>=z.ch)&&(!ae||ae(Ct.marker))&&re.push(Ct.marker.parent||Ct.marker)}++oe}),re},getAllMarks:function(){var x=[];return this.iter(function(z){var ae=z.markedSpans;if(ae)for(var re=0;re<ae.length;++re)ae[re].from!=null&&x.push(ae[re].marker)}),x},posFromIndex:function(x){var z,ae=this.first,re=this.lineSeparator().length;return this.iter(function(oe){var xe=oe.text.length+re;if(xe>x)return z=x,!0;x-=xe,++ae}),ri(this,Er(ae,z))},indexFromPos:function(x){x=ri(this,x);var z=x.ch;if(x.line<this.first||x.ch<0)return 0;var ae=this.lineSeparator().length;return this.iter(this.first,x.line,function(re){z+=re.text.length+ae}),z},copy:function(x){var z=new ro(za(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return z.scrollTop=this.scrollTop,z.scrollLeft=this.scrollLeft,z.sel=this.sel,z.extend=!1,x&&(z.history.undoDepth=this.history.undoDepth,z.setHistory(this.getHistory())),z},linkedDoc:function(x){x||(x={});var z=this.first,ae=this.first+this.size;x.from!=null&&x.from>z&&(z=x.from),x.to!=null&&x.to<ae&&(ae=x.to);var re=new ro(za(this,z,ae),x.mode||this.modeOption,z,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}],Eo(re,Co(this)),re},unlinkDoc:function(x){if(x instanceof is&&(x=x.doc),this.linked)for(var z=0;z<this.linked.length;++z){var ae=this.linked[z];if(ae.doc==x){this.linked.splice(z,1),x.unlinkDoc(this),eo(Co(this));break}}if(x.history==this.history){var re=[x.id];Di(x,function(oe){return re.push(oe.id)},!0),x.history=new Ji(null),x.history.done=jn(this.history.done,re),x.history.undone=jn(this.history.undone,re)}},iterLinkedDocs:function(x){Di(this,x)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(x){return this.lineSep?x.split(this.lineSep):Ln(x)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:Ya(function(x){x!="rtl"&&(x="ltr"),x!=this.direction&&(this.direction=x,this.iter(function(z){return z.order=null}),this.cm&&Qa(this.cm))})}),ro.prototype.eachLine=ro.prototype.iter;var xl=0;function cs(x){var z=this;if(nu(z),!(nn(z,x)||Gi(z.display,x))){aa(x),we&&(xl=+new Date);var ae=Xs(z,x,!0),re=x.dataTransfer.files;if(!(!ae||z.isReadOnly()))if(re&&re.length&&window.FileReader&&window.File)for(var oe=re.length,xe=Array(oe),We=0,dt=function(){++We==oe&&Xa(z,function(){ae=ri(z.doc,ae);var ea={from:ae,to:ae,text:z.doc.splitLines(xe.filter(function(oi){return oi!=null}).join(z.doc.lineSeparator())),origin:"paste"};Za(z.doc,ea),Ra(z.doc,hl(ri(z.doc,ae),ri(z.doc,Io(ea))))})()},Ct=function(ea,oi){if(z.options.allowDropFileTypes&&At(z.options.allowDropFileTypes,ea.type)==-1){dt();return}var wi=new FileReader;wi.onerror=function(){return dt()},wi.onload=function(){var fo=wi.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(fo)){dt();return}xe[oi]=fo,dt()},wi.readAsText(ea)},Ft=0;Ft<re.length;Ft++)Ct(re[Ft],Ft);else{if(z.state.draggingText&&z.doc.sel.contains(ae)>-1){z.state.draggingText(x),setTimeout(function(){return z.display.input.focus()},20);return}try{var er=x.dataTransfer.getData("Text");if(er){var gr;if(z.state.draggingText&&!z.state.draggingText.copy&&(gr=z.listSelections()),li(z.doc,hl(ae,ae)),gr)for(var oa=0;oa<gr.length;++oa)Po(z.doc,"",gr[oa].anchor,gr[oa].head,"drag");z.replaceSelection(er,"around","paste"),z.display.input.focus()}}catch(ea){}}}}function es(x,z){if(we&&(!x.state.draggingText||+new Date-xl<100)){Ta(z);return}if(!(nn(x,z)||Gi(x.display,z))&&(z.dataTransfer.setData("Text",x.getSelection()),z.dataTransfer.effectAllowed="copyMove",z.dataTransfer.setDragImage&&!rt)){var ae=ft("img",null,null,"position: fixed; left: 0; top: 0;");ae.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Pe&&(ae.width=ae.height=1,x.display.wrapper.appendChild(ae),ae._top=ae.offsetTop),z.dataTransfer.setDragImage(ae,0,0),Pe&&ae.parentNode.removeChild(ae)}}function au(x,z){var ae=Xs(x,z);if(ae){var re=document.createDocumentFragment();_t(x,ae,re),x.display.dragCursor||(x.display.dragCursor=ft("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),x.display.lineSpace.insertBefore(x.display.dragCursor,x.display.cursorDiv)),st(x.display.dragCursor,re)}}function nu(x){x.display.dragCursor&&(x.display.lineSpace.removeChild(x.display.dragCursor),x.display.dragCursor=null)}function Au(x){if(document.getElementsByClassName){for(var z=document.getElementsByClassName("CodeMirror"),ae=[],re=0;re<z.length;re++){var oe=z[re].CodeMirror;oe&&ae.push(oe)}ae.length&&ae[0].operation(function(){for(var xe=0;xe<ae.length;xe++)x(ae[xe])})}}var ui=!1;function Hu(){ui||(js(),ui=!0)}function js(){var x;Tn(window,"resize",function(){x==null&&(x=setTimeout(function(){x=null,Au(bu)},100))}),Tn(window,"blur",function(){return Au(ir)})}function bu(x){var z=x.display;z.cachedCharWidth=z.cachedTextHeight=z.cachedPaddingH=null,z.scrollbarsClipped=!1,x.setSize()}for(var Nu={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"},vs=0;vs<10;vs++)Nu[vs+48]=Nu[vs+96]=String(vs);for(var Ss=65;Ss<=90;Ss++)Nu[Ss]=String.fromCharCode(Ss);for(var Ls=1;Ls<=12;Ls++)Nu[Ls+111]=Nu[Ls+63235]="F"+Ls;var as={};as.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"},as.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"},as.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"},as.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"]},as.default=Ee?as.macDefault:as.pcDefault;function su(x){var z=x.split(/-(?!$)/);x=z[z.length-1];for(var ae,re,oe,xe,We=0;We<z.length-1;We++){var dt=z[We];if(/^(cmd|meta|m)$/i.test(dt))xe=!0;else if(/^a(lt)?$/i.test(dt))ae=!0;else if(/^(c|ctrl|control)$/i.test(dt))re=!0;else if(/^s(hift)?$/i.test(dt))oe=!0;else throw new Error("Unrecognized modifier name: "+dt)}return ae&&(x="Alt-"+x),re&&(x="Ctrl-"+x),xe&&(x="Cmd-"+x),oe&&(x="Shift-"+x),x}function ds(x){var z={};for(var ae in x)if(x.hasOwnProperty(ae)){var re=x[ae];if(/^(name|fallthrough|(de|at)tach)$/.test(ae))continue;if(re=="..."){delete x[ae];continue}for(var oe=dr(ae.split(" "),su),xe=0;xe<oe.length;xe++){var We=void 0,dt=void 0;xe==oe.length-1?(dt=oe.join(" "),We=re):(dt=oe.slice(0,xe+1).join(" "),We="...");var Ct=z[dt];if(!Ct)z[dt]=We;else if(Ct!=We)throw new Error("Inconsistent bindings for "+dt)}delete x[ae]}for(var Ft in z)x[Ft]=z[Ft];return x}function ru(x,z,ae,re){z=Us(z);var oe=z.call?z.call(x,re):z[x];if(oe===!1)return"nothing";if(oe==="...")return"multi";if(oe!=null&&ae(oe))return"handled";if(z.fallthrough){if(Object.prototype.toString.call(z.fallthrough)!="[object Array]")return ru(x,z.fallthrough,ae,re);for(var xe=0;xe<z.fallthrough.length;xe++){var We=ru(x,z.fallthrough[xe],ae,re);if(We)return We}}}function uu(x){var z=typeof x=="string"?x:Nu[x.keyCode];return z=="Ctrl"||z=="Alt"||z=="Shift"||z=="Mod"}function cu(x,z,ae){var re=x;return z.altKey&&re!="Alt"&&(x="Alt-"+x),(ut?z.metaKey:z.ctrlKey)&&re!="Ctrl"&&(x="Ctrl-"+x),(ut?z.ctrlKey:z.metaKey)&&re!="Mod"&&(x="Cmd-"+x),!ae&&z.shiftKey&&re!="Shift"&&(x="Shift-"+x),x}function Iu(x,z){if(Pe&&x.keyCode==34&&x.char)return!1;var ae=Nu[x.keyCode];return ae==null||x.altGraphKey?!1:(x.keyCode==3&&x.code&&(ae=x.code),cu(ae,x,z))}function Us(x){return typeof x=="string"?as[x]:x}function Pu(x,z){for(var ae=x.doc.sel.ranges,re=[],oe=0;oe<ae.length;oe++){for(var xe=z(ae[oe]);re.length&&Gr(xe.from,Nn(re).to)<=0;){var We=re.pop();if(Gr(We.from,xe.from)<0){xe.from=We.from;break}}re.push(xe)}ua(x,function(){for(var dt=re.length-1;dt>=0;dt--)Po(x.doc,"",re[dt].from,re[dt].to,"+delete");je(x)})}function Gs(x,z,ae){var re=pn(x.text,z+ae,ae);return re<0||re>x.text.length?null:re}function du(x,z,ae){var re=Gs(x,z.ch,ae);return re==null?null:new Er(z.line,re,ae<0?"after":"before")}function fu(x,z,ae,re,oe){if(x){z.doc.direction=="rtl"&&(oe=-oe);var xe=gn(ae,z.doc.direction);if(xe){var We=oe<0?Nn(xe):xe[0],dt=oe<0==(We.level==1),Ct=dt?"after":"before",Ft;if(We.level>0||z.doc.direction=="rtl"){var er=Vo(z,ae);Ft=oe<0?ae.text.length-1:0;var gr=go(z,er,Ft).top;Ft=on(function(oa){return go(z,er,oa).top==gr},oe<0==(We.level==1)?We.from:We.to-1,Ft),Ct=="before"&&(Ft=Gs(ae,Ft,1))}else Ft=oe<0?We.to:We.from;return new Er(re,Ft,Ct)}}return new Er(re,oe<0?ae.text.length:0,oe<0?"before":"after")}function Ys(x,z,ae,re){var oe=gn(z,x.doc.direction);if(!oe)return du(z,ae,re);ae.ch>=z.text.length?(ae.ch=z.text.length,ae.sticky="before"):ae.ch<=0&&(ae.ch=0,ae.sticky="after");var xe=_n(oe,ae.ch,ae.sticky),We=oe[xe];if(x.doc.direction=="ltr"&&We.level%2==0&&(re>0?We.to>ae.ch:We.from<ae.ch))return du(z,ae,re);var dt=function(Ro,Xo){return Gs(z,Ro instanceof Er?Ro.ch:Ro,Xo)},Ct,Ft=function(Ro){return x.options.lineWrapping?(Ct=Ct||Vo(x,z),ts(x,z,Ct,Ro)):{begin:0,end:z.text.length}},er=Ft(ae.sticky=="before"?dt(ae,-1):ae.ch);if(x.doc.direction=="rtl"||We.level==1){var gr=We.level==1==re<0,oa=dt(ae,gr?1:-1);if(oa!=null&&(gr?oa<=We.to&&oa<=er.end:oa>=We.from&&oa>=er.begin)){var ea=gr?"before":"after";return new Er(ae.line,oa,ea)}}var oi=function(Ro,Xo,Mo){for(var qo=function(qs,zu){return zu?new Er(ae.line,dt(qs,1),"before"):new Er(ae.line,qs,"after")};Ro>=0&&Ro<oe.length;Ro+=Xo){var Ol=oe[Ro],Zl=Xo>0==(Ol.level!=1),bs=Zl?Mo.begin:dt(Mo.end,-1);if(Ol.from<=bs&&bs<Ol.to||(bs=Zl?Ol.from:dt(Ol.to,-1),Mo.begin<=bs&&bs<Mo.end))return qo(bs,Zl)}},wi=oi(xe+re,re,er);if(wi)return wi;var fo=re>0?er.end:dt(er.begin,-1);return fo!=null&&!(re>0&&fo==z.text.length)&&(wi=oi(re>0?0:oe.length-1,re,Ft(fo)),wi)?wi:null}var Vs={selectAll:Ko,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),Mt)},killLine:function(x){return Pu(x,function(z){if(z.empty()){var ae=hr(x.doc,z.head.line).text.length;return z.head.ch==ae&&z.head.line<x.lastLine()?{from:z.head,to:Er(z.head.line+1,0)}:{from:z.head,to:Er(z.head.line,ae)}}else return{from:z.from(),to:z.to()}})},deleteLine:function(x){return Pu(x,function(z){return{from:Er(z.from().line,0),to:ri(x.doc,Er(z.to().line+1,0))}})},delLineLeft:function(x){return Pu(x,function(z){return{from:Er(z.from().line,0),to:z.from()}})},delWrappedLineLeft:function(x){return Pu(x,function(z){var ae=x.charCoords(z.head,"div").top+5,re=x.coordsChar({left:0,top:ae},"div");return{from:re,to:z.from()}})},delWrappedLineRight:function(x){return Pu(x,function(z){var ae=x.charCoords(z.head,"div").top+5,re=x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ae},"div");return{from:z.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(Er(x.firstLine(),0))},goDocEnd:function(x){return x.extendSelection(Er(x.lastLine()))},goLineStart:function(x){return x.extendSelectionsBy(function(z){return Hs(x,z.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(x){return x.extendSelectionsBy(function(z){return dc(x,z.head)},{origin:"+move",bias:1})},goLineEnd:function(x){return x.extendSelectionsBy(function(z){return Qu(x,z.head.line)},{origin:"+move",bias:-1})},goLineRight:function(x){return x.extendSelectionsBy(function(z){var ae=x.cursorCoords(z.head,"div").top+5;return x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ae},"div")},sn)},goLineLeft:function(x){return x.extendSelectionsBy(function(z){var ae=x.cursorCoords(z.head,"div").top+5;return x.coordsChar({left:0,top:ae},"div")},sn)},goLineLeftSmart:function(x){return x.extendSelectionsBy(function(z){var ae=x.cursorCoords(z.head,"div").top+5,re=x.coordsChar({left:0,top:ae},"div");return re.ch<x.getLine(re.line).search(/\S/)?dc(x,z.head):re},sn)},goLineUp:function(x){return x.moveV(-1,"line")},goLineDown:function(x){return x.moveV(1,"line")},goPageUp:function(x){return x.moveV(-1,"page")},goPageDown:function(x){return x.moveV(1,"page")},goCharLeft:function(x){return x.moveH(-1,"char")},goCharRight:function(x){return x.moveH(1,"char")},goColumnLeft:function(x){return x.moveH(-1,"column")},goColumnRight:function(x){return x.moveH(1,"column")},goWordLeft:function(x){return x.moveH(-1,"word")},goGroupRight:function(x){return x.moveH(1,"group")},goGroupLeft:function(x){return x.moveH(-1,"group")},goWordRight:function(x){return x.moveH(1,"word")},delCharBefore:function(x){return x.deleteH(-1,"codepoint")},delCharAfter:function(x){return x.deleteH(1,"char")},delWordBefore:function(x){return x.deleteH(-1,"word")},delWordAfter:function(x){return x.deleteH(1,"word")},delGroupBefore:function(x){return x.deleteH(-1,"group")},delGroupAfter:function(x){return x.deleteH(1,"group")},indentAuto:function(x){return x.indentSelection("smart")},indentMore:function(x){return x.indentSelection("add")},indentLess:function(x){return x.indentSelection("subtract")},insertTab:function(x){return x.replaceSelection(" ")},insertSoftTab:function(x){for(var z=[],ae=x.listSelections(),re=x.options.tabSize,oe=0;oe<ae.length;oe++){var xe=ae[oe].from(),We=ht(x.getLine(xe.line),xe.ch,re);z.push(cn(re-We%re))}x.replaceSelections(z)},defaultTab:function(x){x.somethingSelected()?x.indentSelection("add"):x.execCommand("insertTab")},transposeChars:function(x){return ua(x,function(){for(var z=x.listSelections(),ae=[],re=0;re<z.length;re++)if(z[re].empty()){var oe=z[re].head,xe=hr(x.doc,oe.line).text;if(xe){if(oe.ch==xe.length&&(oe=new Er(oe.line,oe.ch-1)),oe.ch>0)oe=new Er(oe.line,oe.ch+1),x.replaceRange(xe.charAt(oe.ch-1)+xe.charAt(oe.ch-2),Er(oe.line,oe.ch-2),oe,"+transpose");else if(oe.line>x.doc.first){var We=hr(x.doc,oe.line-1).text;We&&(oe=new Er(oe.line,1),x.replaceRange(xe.charAt(0)+x.doc.lineSeparator()+We.charAt(We.length-1),Er(oe.line-1,We.length-1),oe,"+transpose"))}}ae.push(new to(oe,oe))}x.setSelections(ae)})},newlineAndIndent:function(x){return ua(x,function(){for(var z=x.listSelections(),ae=z.length-1;ae>=0;ae--)x.replaceRange(x.doc.lineSeparator(),z[ae].anchor,z[ae].head,"+input");z=x.listSelections();for(var re=0;re<z.length;re++)x.indentLine(z[re].from().line,null,!0);je(x)})},openLine:function(x){return x.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(x){return x.toggleOverwrite()}};function Hs(x,z){var ae=hr(x.doc,z),re=at(ae);return re!=ae&&(z=ma(re)),fu(!0,x,re,z,1)}function Qu(x,z){var ae=hr(x.doc,z),re=pt(ae);return re!=ae&&(z=ma(re)),fu(!0,x,ae,z,-1)}function dc(x,z){var ae=Hs(x,z.line),re=hr(x.doc,ae.line),oe=gn(re,x.doc.direction);if(!oe||oe[0].level==0){var xe=Math.max(ae.ch,re.text.search(/\S/)),We=z.line==ae.line&&z.ch<=xe&&z.ch;return Er(ae.line,We?0:xe,ae.sticky)}return ae}function Ts(x,z,ae){if(typeof z=="string"&&(z=Vs[z],!z))return!1;x.display.input.ensurePolled();var re=x.display.shift,oe=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),ae&&(x.display.shift=!1),oe=z(x)!=jt}finally{x.display.shift=re,x.state.suppressEdits=!1}return oe}function xu(x,z,ae){for(var re=0;re<x.state.keyMaps.length;re++){var oe=ru(z,x.state.keyMaps[re],ae,x);if(oe)return oe}return x.options.extraKeys&&ru(z,x.options.extraKeys,ae,x)||ru(z,x.options.keyMap,ae,x)}var Rc=new Ne;function ec(x,z,ae,re){var oe=x.state.keySeq;if(oe){if(uu(z))return"handled";if(/\'$/.test(z)?x.state.keySeq=null:Rc.set(50,function(){x.state.keySeq==oe&&(x.state.keySeq=null,x.display.input.reset())}),os(x,oe+" "+z,ae,re))return!0}return os(x,z,ae,re)}function os(x,z,ae,re){var oe=xu(x,z,re);return oe=="multi"&&(x.state.keySeq=z),oe=="handled"&&Ir(x,"keyHandled",x,z,ae),(oe=="handled"||oe=="multi")&&(aa(ae),bn(x)),!!oe}function cl(x,z){var ae=Iu(z,!0);return ae?z.shiftKey&&!x.state.keySeq?ec(x,"Shift-"+ae,z,function(re){return Ts(x,re,!0)})||ec(x,ae,z,function(re){if(typeof re=="string"?/^go[A-Z]/.test(re):re.motion)return Ts(x,re)}):ec(x,ae,z,function(re){return Ts(x,re)}):!1}function iu(x,z,ae){return ec(x,"'"+ae+"'",z,function(re){return Ts(x,re,!0)})}var As=null;function hu(x){var z=this;if(!(x.target&&x.target!=z.display.input.getField())&&(z.curOp.focus=ze(),!nn(z,x))){we&&ke<11&&x.keyCode==27&&(x.returnValue=!1);var ae=x.keyCode;z.display.shift=ae==16||x.shiftKey;var re=cl(z,x);Pe&&(As=re?ae:null,!re&&ae==88&&!rr&&(Ee?x.metaKey:x.ctrlKey)&&z.replaceSelection("",null,"cut")),ne&&!Ee&&!re&&ae==46&&x.shiftKey&&!x.ctrlKey&&document.execCommand&&document.execCommand("cut"),ae==18&&!/\bCodeMirror-crosshair\b/.test(z.display.lineDiv.className)&&Fa(z)}}function Fa(x){var z=x.display.lineDiv;ct(z,"CodeMirror-crosshair");function ae(re){(re.keyCode==18||!re.altKey)&&(Xe(z,"CodeMirror-crosshair"),Dr(document,"keyup",ae),Dr(document,"mouseover",ae))}Tn(document,"keyup",ae),Tn(document,"mouseover",ae)}function Ou(x){x.keyCode==16&&(this.doc.sel.shift=!1),nn(this,x)}function tc(x){var z=this;if(!(x.target&&x.target!=z.display.input.getField())&&!(Gi(z.display,x)||nn(z,x)||x.ctrlKey&&!x.altKey||Ee&&x.metaKey)){var ae=x.keyCode,re=x.charCode;if(Pe&&ae==As){As=null,aa(x);return}if(!(Pe&&(!x.which||x.which<10)&&cl(z,x))){var oe=String.fromCharCode(re==null?ae:re);oe!="\b"&&(iu(z,x,oe)||z.display.input.onKeyPress(x))}}}var kc=400,Jc=function(x,z,ae){this.time=x,this.pos=z,this.button=ae};Jc.prototype.compare=function(x,z,ae){return this.time+kc>x&&Gr(z,this.pos)==0&&ae==this.button};var nc,Nc;function qc(x,z){var ae=+new Date;return Nc&&Nc.compare(ae,x,z)?(nc=Nc=null,"triple"):nc&&nc.compare(ae,x,z)?(Nc=new Jc(ae,x,z),nc=null,"double"):(nc=new Jc(ae,x,z),Nc=null,"single")}function ou(x){var z=this,ae=z.display;if(!(nn(z,x)||ae.activeTouch&&ae.input.supportsTouch())){if(ae.input.ensurePolled(),ae.shift=x.shiftKey,Gi(ae,x)){de||(ae.scroller.draggable=!1,setTimeout(function(){return ae.scroller.draggable=!0},100));return}if(!pu(z,x)){var re=Xs(z,x),oe=Jr(x),xe=re?qc(re,oe):"single";window.focus(),oe==1&&z.state.selectingText&&z.state.selectingText(x),!(re&&Fu(z,oe,re,xe,x))&&(oe==1?re?Fc(z,re,xe,x):ti(x)==ae.scroller&&aa(x):oe==2?(re&&Sr(z.doc,re),setTimeout(function(){return ae.input.focus()},20)):oe==3&&(ye?z.display.input.onContextMenu(x):Mr(z)))}}}function Fu(x,z,ae,re,oe){var xe="Click";return re=="double"?xe="Double"+xe:re=="triple"&&(xe="Triple"+xe),xe=(z==1?"Left":z==2?"Middle":"Right")+xe,ec(x,cu(xe,oe),oe,function(We){if(typeof We=="string"&&(We=Vs[We]),!We)return!1;var dt=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),dt=We(x,ae)!=jt}finally{x.state.suppressEdits=!1}return dt})}function Ic(x,z,ae){var re=x.getOption("configureMouse"),oe=re?re(x,z,ae):{};if(oe.unit==null){var xe=wt?ae.shiftKey&&ae.metaKey:ae.altKey;oe.unit=xe?"rectangle":z=="single"?"char":z=="double"?"word":"line"}return(oe.extend==null||x.doc.extend)&&(oe.extend=x.doc.extend||ae.shiftKey),oe.addNew==null&&(oe.addNew=Ee?ae.metaKey:ae.ctrlKey),oe.moveOnDrag==null&&(oe.moveOnDrag=!(Ee?ae.altKey:ae.ctrlKey)),oe}function Fc(x,z,ae,re){we?setTimeout(Rt(On,x),0):x.curOp.focus=ze();var oe=Ic(x,ae,re),xe=x.doc.sel,We;x.options.dragDrop&&ja&&!x.isReadOnly()&&ae=="single"&&(We=xe.contains(z))>-1&&(Gr((We=xe.ranges[We]).from(),z)<0||z.xRel>0)&&(Gr(We.to(),z)>0||z.xRel<0)?Cs(x,re,z,oe):Hl(x,re,z,oe)}function Cs(x,z,ae,re){var oe=x.display,xe=!1,We=Xa(x,function(Ft){de&&(oe.scroller.draggable=!1),x.state.draggingText=!1,Dr(oe.wrapper.ownerDocument,"mouseup",We),Dr(oe.wrapper.ownerDocument,"mousemove",dt),Dr(oe.scroller,"dragstart",Ct),Dr(oe.scroller,"drop",We),xe||(aa(Ft),re.addNew||Sr(x.doc,ae,null,null,re.extend),de&&!rt||we&&ke==9?setTimeout(function(){oe.wrapper.ownerDocument.body.focus({preventScroll:!0}),oe.input.focus()},20):oe.input.focus())}),dt=function(Ft){xe=xe||Math.abs(z.clientX-Ft.clientX)+Math.abs(z.clientY-Ft.clientY)>=10},Ct=function(){return xe=!0};de&&(oe.scroller.draggable=!0),x.state.draggingText=We,We.copy=!re.moveOnDrag,oe.scroller.dragDrop&&oe.scroller.dragDrop(),Tn(oe.wrapper.ownerDocument,"mouseup",We),Tn(oe.wrapper.ownerDocument,"mousemove",dt),Tn(oe.scroller,"dragstart",Ct),Tn(oe.scroller,"drop",We),Mr(x),setTimeout(function(){return oe.input.focus()},20)}function yl(x,z,ae){if(ae=="char")return new to(z,z);if(ae=="word")return x.findWordAt(z);if(ae=="line")return new to(Er(z.line,0),ri(x.doc,Er(z.line+1,0)));var re=ae(x,z);return new to(re.from,re.to)}function Hl(x,z,ae,re){var oe=x.display,xe=x.doc;aa(z);var We,dt,Ct=xe.sel,Ft=Ct.ranges;if(re.addNew&&!re.extend?(dt=xe.sel.contains(ae),dt>-1?We=Ft[dt]:We=new to(ae,ae)):(We=xe.sel.primary(),dt=xe.sel.primIndex),re.unit=="rectangle")re.addNew||(We=new to(ae,ae)),ae=Xs(x,z,!0,!0),dt=-1;else{var er=yl(x,ae,re.unit);re.extend?We=Un(We,er.anchor,er.head,re.extend):We=er}re.addNew?dt==-1?(dt=Ft.length,Qr(xe,tl(x,Ft.concat([We]),dt),{scroll:!1,origin:"*mouse"})):Ft.length>1&&Ft[dt].empty()&&re.unit=="char"&&!re.extend?(Qr(xe,tl(x,Ft.slice(0,dt).concat(Ft.slice(dt+1)),0),{scroll:!1,origin:"*mouse"}),Ct=xe.sel):Vr(xe,dt,We,Kt):(dt=0,Qr(xe,new Fo([We],0),Kt),Ct=xe.sel);var gr=ae;function oa(Mo){if(Gr(gr,Mo)!=0)if(gr=Mo,re.unit=="rectangle"){for(var qo=[],Ol=x.options.tabSize,Zl=ht(hr(xe,ae.line).text,ae.ch,Ol),bs=ht(hr(xe,Mo.line).text,Mo.ch,Ol),qs=Math.min(Zl,bs),zu=Math.max(Zl,bs),gu=Math.min(ae.line,Mo.line),Ju=Math.min(x.lastLine(),Math.max(ae.line,Mo.line));gu<=Ju;gu++){var qu=hr(xe,gu).text,Bu=wn(qu,qs,Ol);qs==zu?qo.push(new to(Er(gu,Bu),Er(gu,Bu))):qu.length>Bu&&qo.push(new to(Er(gu,Bu),Er(gu,wn(qu,zu,Ol))))}qo.length||qo.push(new to(ae,ae)),Qr(xe,tl(x,Ct.ranges.slice(0,dt).concat(qo),dt),{origin:"*mouse",scroll:!1}),x.scrollIntoView(Mo)}else{var $u=We,fs=yl(x,Mo,re.unit),Su=$u.anchor,yu;Gr(fs.anchor,Su)>0?(yu=fs.head,Su=hi($u.from(),fs.anchor)):(yu=fs.anchor,Su=ni($u.to(),fs.head));var Cu=Ct.ranges.slice(0);Cu[dt]=ys(x,new to(ri(xe,Su),yu)),Qr(xe,tl(x,Cu,dt),Kt)}}var ea=oe.wrapper.getBoundingClientRect(),oi=0;function wi(Mo){var qo=++oi,Ol=Xs(x,Mo,!0,re.unit=="rectangle");if(Ol)if(Gr(Ol,gr)!=0){x.curOp.focus=ze(),oa(Ol);var Zl=Wr(oe,xe);(Ol.line>=Zl.to||Ol.line<Zl.from)&&setTimeout(Xa(x,function(){oi==qo&&wi(Mo)}),150)}else{var bs=Mo.clientY<ea.top?-20:Mo.clientY>ea.bottom?20:0;bs&&setTimeout(Xa(x,function(){oi==qo&&(oe.scroller.scrollTop+=bs,wi(Mo))}),50)}}function fo(Mo){x.state.selectingText=!1,oi=1/0,Mo&&(aa(Mo),oe.input.focus()),Dr(oe.wrapper.ownerDocument,"mousemove",Ro),Dr(oe.wrapper.ownerDocument,"mouseup",Xo),xe.history.lastSelOrigin=null}var Ro=Xa(x,function(Mo){Mo.buttons===0||!Jr(Mo)?fo(Mo):wi(Mo)}),Xo=Xa(x,fo);x.state.selectingText=Xo,Tn(oe.wrapper.ownerDocument,"mousemove",Ro),Tn(oe.wrapper.ownerDocument,"mouseup",Xo)}function ys(x,z){var ae=z.anchor,re=z.head,oe=hr(x.doc,ae.line);if(Gr(ae,re)==0&&ae.sticky==re.sticky)return z;var xe=gn(oe);if(!xe)return z;var We=_n(xe,ae.ch,ae.sticky),dt=xe[We];if(dt.from!=ae.ch&&dt.to!=ae.ch)return z;var Ct=We+(dt.from==ae.ch==(dt.level!=1)?0:1);if(Ct==0||Ct==xe.length)return z;var Ft;if(re.line!=ae.line)Ft=(re.line-ae.line)*(x.doc.direction=="ltr"?1:-1)>0;else{var er=_n(xe,re.ch,re.sticky),gr=er-We||(re.ch-ae.ch)*(dt.level==1?-1:1);er==Ct-1||er==Ct?Ft=gr<0:Ft=gr>0}var oa=xe[Ct+(Ft?-1:0)],ea=Ft==(oa.level==1),oi=ea?oa.from:oa.to,wi=ea?"after":"before";return ae.ch==oi&&ae.sticky==wi?z:new to(new Er(ae.line,oi,wi),re)}function Rs(x,z,ae,re){var oe,xe;if(z.touches)oe=z.touches[0].clientX,xe=z.touches[0].clientY;else try{oe=z.clientX,xe=z.clientY}catch(oa){return!1}if(oe>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;re&&aa(z);var We=x.display,dt=We.lineDiv.getBoundingClientRect();if(xe>dt.bottom||!cr(x,ae))return Ia(z);xe-=dt.top-We.viewOffset;for(var Ct=0;Ct<x.display.gutterSpecs.length;++Ct){var Ft=We.gutters.childNodes[Ct];if(Ft&&Ft.getBoundingClientRect().right>=oe){var er=Sa(x.doc,xe),gr=x.display.gutterSpecs[Ct];return Ut(x,ae,x,er,gr.className,z),Ia(z)}}}function pu(x,z){return Rs(x,z,"gutterClick",!0)}function wu(x,z){Gi(x.display,z)||rc(x,z)||nn(x,z,"contextmenu")||ye||x.display.input.onContextMenu(z)}function rc(x,z){return cr(x,"gutterContextMenu")?Rs(x,z,"gutterContextMenu",!1):!1}function ac(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Oo(x)}var Xu={toString:function(){return"CodeMirror.Init"}},fc={},Ku={};function ud(x){var z=x.optionHandlers;function ae(re,oe,xe,We){x.defaults[re]=oe,xe&&(z[re]=We?function(dt,Ct,Ft){Ft!=Xu&&xe(dt,Ct,Ft)}:xe)}x.defineOption=ae,x.Init=Xu,ae("value","",function(re,oe){return re.setValue(oe)},!0),ae("mode",null,function(re,oe){re.doc.modeOption=oe,Uo(re)},!0),ae("indentUnit",2,Uo,!0),ae("indentWithTabs",!1),ae("smartIndent",!0),ae("tabSize",4,function(re){Bl(re),Oo(re),Le(re)},!0),ae("lineSeparator",null,function(re,oe){if(re.doc.lineSep=oe,!!oe){var xe=[],We=re.doc.first;re.doc.iter(function(Ct){for(var Ft=0;;){var er=Ct.text.indexOf(oe,Ft);if(er==-1)break;Ft=er+oe.length,xe.push(Er(We,er))}We++});for(var dt=xe.length-1;dt>=0;dt--)Po(re.doc,oe,xe[dt],Er(xe[dt].line,xe[dt].ch+oe.length))}}),ae("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(re,oe,xe){re.state.specialChars=new RegExp(oe.source+(oe.test(" ")?"":"| "),"g"),xe!=Xu&&re.refresh()}),ae("specialCharPlaceholder",Dt,function(re){return re.refresh()},!0),ae("electricChars",!0),ae("inputStyle",vt?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ae("spellcheck",!1,function(re,oe){return re.getInputField().spellcheck=oe},!0),ae("autocorrect",!1,function(re,oe){return re.getInputField().autocorrect=oe},!0),ae("autocapitalize",!1,function(re,oe){return re.getInputField().autocapitalize=oe},!0),ae("rtlMoveVisually",!Tt),ae("wholeLineUpdateBefore",!0),ae("theme","default",function(re){ac(re),co(re)},!0),ae("keyMap","default",function(re,oe,xe){var We=Us(oe),dt=xe!=Xu&&Us(xe);dt&&dt.detach&&dt.detach(re,We),We.attach&&We.attach(re,dt||null)}),ae("extraKeys",null),ae("configureMouse",null),ae("lineWrapping",!1,cd,!0),ae("gutters",[],function(re,oe){re.display.gutterSpecs=bo(oe,re.options.lineNumbers),co(re)},!0),ae("fixedGutter",!0,function(re,oe){re.display.gutters.style.left=oe?zs(re.display)+"px":"0",re.refresh()},!0),ae("coverGutterNextToScrollbar",!1,function(re){return kr(re)},!0),ae("scrollbarStyle","native",function(re){Rr(re),kr(re),re.display.scrollbars.setScrollTop(re.doc.scrollTop),re.display.scrollbars.setScrollLeft(re.doc.scrollLeft)},!0),ae("lineNumbers",!1,function(re,oe){re.display.gutterSpecs=bo(re.options.gutters,oe),co(re)},!0),ae("firstLineNumber",1,co,!0),ae("lineNumberFormatter",function(re){return re},co,!0),ae("showCursorWhenSelecting",!1,bt,!0),ae("resetSelectionOnContextMenu",!0),ae("lineWiseCopyCut",!0),ae("pasteLinesPerSelection",!0),ae("selectionsMayTouch",!1),ae("readOnly",!1,function(re,oe){oe=="nocursor"&&(ir(re),re.display.input.blur()),re.display.input.readOnlyChanged(oe)}),ae("screenReaderLabel",null,function(re,oe){oe=oe===""?null:oe,re.display.input.screenReaderLabelChanged(oe)}),ae("disableInput",!1,function(re,oe){oe||re.display.input.reset()},!0),ae("dragDrop",!0,bd),ae("allowDropFileTypes",null),ae("cursorBlinkRate",530),ae("cursorScrollMargin",0),ae("cursorHeight",1,bt,!0),ae("singleCursorHeightPerLine",!0,bt,!0),ae("workTime",100),ae("workDelay",100),ae("flattenSpans",!0,Bl,!0),ae("addModeClass",!1,Bl,!0),ae("pollInterval",100),ae("undoDepth",200,function(re,oe){return re.doc.history.undoDepth=oe}),ae("historyEventDelay",1250),ae("viewportMargin",10,function(re){return re.refresh()},!0),ae("maxHighlightLength",1e4,Bl,!0),ae("moveInputWithCursor",!0,function(re,oe){oe||re.display.input.resetPosition()}),ae("tabindex",null,function(re,oe){return re.display.input.getField().tabIndex=oe||""}),ae("autofocus",null),ae("direction","ltr",function(re,oe){return re.doc.setDirection(oe)},!0),ae("phrases",null)}function bd(x,z,ae){var re=ae&&ae!=Xu;if(!z!=!re){var oe=x.display.dragFunctions,xe=z?Tn:Dr;xe(x.display.scroller,"dragstart",oe.start),xe(x.display.scroller,"dragenter",oe.enter),xe(x.display.scroller,"dragover",oe.over),xe(x.display.scroller,"dragleave",oe.leave),xe(x.display.scroller,"drop",oe.drop)}}function cd(x){x.options.lineWrapping?(ct(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):(Xe(x.display.wrapper,"CodeMirror-wrap"),Xn(x)),Bs(x),Le(x),Oo(x),setTimeout(function(){return kr(x)},100)}function is(x,z){var ae=this;if(!(this instanceof is))return new is(x,z);this.options=z=z?an(z):{},an(fc,z,!1);var re=z.value;typeof re=="string"?re=new ro(re,z.mode,null,z.lineSeparator,z.direction):z.mode&&(re.modeOption=z.mode),this.doc=re;var oe=new is.inputStyles[z.inputStyle](this),xe=this.display=new wo(x,re,oe,z);xe.wrapper.CodeMirror=this,ac(this),z.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Rr(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 Ne,keySeq:null,specialChars:null},z.autofocus&&!vt&&xe.input.focus(),we&&ke<11&&setTimeout(function(){return ae.display.input.reset(!0)},20),Fd(this),Hu(),sa(this),this.curOp.forceUpdate=!0,Ri(this,re),z.autofocus&&!vt||this.hasFocus()?setTimeout(function(){ae.hasFocus()&&!ae.state.focused&&vr(ae)},20):ir(this);for(var We in Ku)Ku.hasOwnProperty(We)&&Ku[We](this,z[We],Xu);fi(this),z.finishInit&&z.finishInit(this);for(var dt=0;dt<dd.length;++dt)dd[dt](this);Da(this),de&&z.lineWrapping&&getComputedStyle(xe.lineDiv).textRendering=="optimizelegibility"&&(xe.lineDiv.style.textRendering="auto")}is.defaults=fc,is.optionHandlers=Ku;function Fd(x){var z=x.display;Tn(z.scroller,"mousedown",Xa(x,ou)),we&&ke<11?Tn(z.scroller,"dblclick",Xa(x,function(Ct){if(!nn(x,Ct)){var Ft=Xs(x,Ct);if(!(!Ft||pu(x,Ct)||Gi(x.display,Ct))){aa(Ct);var er=x.findWordAt(Ft);Sr(x.doc,er.anchor,er.head)}}})):Tn(z.scroller,"dblclick",function(Ct){return nn(x,Ct)||aa(Ct)}),Tn(z.scroller,"contextmenu",function(Ct){return wu(x,Ct)}),Tn(z.input.getField(),"contextmenu",function(Ct){z.scroller.contains(Ct.target)||wu(x,Ct)});var ae,re={end:0};function oe(){z.activeTouch&&(ae=setTimeout(function(){return z.activeTouch=null},1e3),re=z.activeTouch,re.end=+new Date)}function xe(Ct){if(Ct.touches.length!=1)return!1;var Ft=Ct.touches[0];return Ft.radiusX<=1&&Ft.radiusY<=1}function We(Ct,Ft){if(Ft.left==null)return!0;var er=Ft.left-Ct.left,gr=Ft.top-Ct.top;return er*er+gr*gr>20*20}Tn(z.scroller,"touchstart",function(Ct){if(!nn(x,Ct)&&!xe(Ct)&&!pu(x,Ct)){z.input.ensurePolled(),clearTimeout(ae);var Ft=+new Date;z.activeTouch={start:Ft,moved:!1,prev:Ft-re.end<=300?re:null},Ct.touches.length==1&&(z.activeTouch.left=Ct.touches[0].pageX,z.activeTouch.top=Ct.touches[0].pageY)}}),Tn(z.scroller,"touchmove",function(){z.activeTouch&&(z.activeTouch.moved=!0)}),Tn(z.scroller,"touchend",function(Ct){var Ft=z.activeTouch;if(Ft&&!Gi(z,Ct)&&Ft.left!=null&&!Ft.moved&&new Date-Ft.start<300){var er=x.coordsChar(z.activeTouch,"page"),gr;!Ft.prev||We(Ft,Ft.prev)?gr=new to(er,er):!Ft.prev.prev||We(Ft,Ft.prev.prev)?gr=x.findWordAt(er):gr=new to(Er(er.line,0),ri(x.doc,Er(er.line+1,0))),x.setSelection(gr.anchor,gr.head),x.focus(),aa(Ct)}oe()}),Tn(z.scroller,"touchcancel",oe),Tn(z.scroller,"scroll",function(){z.scroller.clientHeight&&(Qt(x,z.scroller.scrollTop),Vn(x,z.scroller.scrollLeft,!0),Ut(x,"scroll",x))}),Tn(z.scroller,"mousewheel",function(Ct){return Fl(x,Ct)}),Tn(z.scroller,"DOMMouseScroll",function(Ct){return Fl(x,Ct)}),Tn(z.wrapper,"scroll",function(){return z.wrapper.scrollTop=z.wrapper.scrollLeft=0}),z.dragFunctions={enter:function(Ct){nn(x,Ct)||Ta(Ct)},over:function(Ct){nn(x,Ct)||(au(x,Ct),Ta(Ct))},start:function(Ct){return es(x,Ct)},drop:Xa(x,cs),leave:function(Ct){nn(x,Ct)||nu(x)}};var dt=z.input.getField();Tn(dt,"keyup",function(Ct){return Ou.call(x,Ct)}),Tn(dt,"keydown",Xa(x,hu)),Tn(dt,"keypress",Xa(x,tc)),Tn(dt,"focus",function(Ct){return vr(x,Ct)}),Tn(dt,"blur",function(Ct){return ir(x,Ct)})}var dd=[];is.defineInitHook=function(x){return dd.push(x)};function ic(x,z,ae,re){var oe=x.doc,xe;ae==null&&(ae="add"),ae=="smart"&&(oe.mode.indent?xe=Yo(x,z).state:ae="prev");var We=x.options.tabSize,dt=hr(oe,z),Ct=ht(dt.text,null,We);dt.stateAfter&&(dt.stateAfter=null);var Ft=dt.text.match(/^\s*/)[0],er;if(!re&&!/\S/.test(dt.text))er=0,ae="not";else if(ae=="smart"&&(er=oe.mode.indent(xe,dt.text.slice(Ft.length),dt.text),er==jt||er>150)){if(!re)return;ae="prev"}ae=="prev"?z>oe.first?er=ht(hr(oe,z-1).text,null,We):er=0:ae=="add"?er=Ct+x.options.indentUnit:ae=="subtract"?er=Ct-x.options.indentUnit:typeof ae=="number"&&(er=Ct+ae),er=Math.max(0,er);var gr="",oa=0;if(x.options.indentWithTabs)for(var ea=Math.floor(er/We);ea;--ea)oa+=We,gr+=" ";if(oa<er&&(gr+=cn(er-oa)),gr!=Ft)return Po(oe,gr,Er(z,0),Er(z,Ft.length),"+input"),dt.stateAfter=null,!0;for(var oi=0;oi<oe.sel.ranges.length;oi++){var wi=oe.sel.ranges[oi];if(wi.head.line==z&&wi.head.ch<Ft.length){var fo=Er(z,Ft.length);Vr(oe,oi,new to(fo,fo));break}}}var sc=null;function mc(x){sc=x}function $c(x,z,ae,re,oe){var xe=x.doc;x.display.shift=!1,re||(re=xe.sel);var We=+new Date-200,dt=oe=="paste"||x.state.pasteIncoming>We,Ct=Ln(z),Ft=null;if(dt&&re.ranges.length>1)if(sc&&sc.text.join(`
|
|
|
`)==z){if(re.ranges.length%sc.text.length==0){Ft=[];for(var er=0;er<sc.text.length;er++)Ft.push(xe.splitLines(sc.text[er]))}}else Ct.length==re.ranges.length&&x.options.pasteLinesPerSelection&&(Ft=dr(Ct,function(Ro){return[Ro]}));for(var gr=x.curOp.updateInput,oa=re.ranges.length-1;oa>=0;oa--){var ea=re.ranges[oa],oi=ea.from(),wi=ea.to();ea.empty()&&(ae&&ae>0?oi=Er(oi.line,oi.ch-ae):x.state.overwrite&&!dt?wi=Er(wi.line,Math.min(hr(xe,wi.line).text.length,wi.ch+Nn(Ct).length)):dt&&sc&&sc.lineWise&&sc.text.join(`
|
|
|
`)==Ct.join(`
|
|
|
`)&&(oi=wi=Er(oi.line,0)));var fo={from:oi,to:wi,text:Ft?Ft[oa%Ft.length]:Ct,origin:oe||(dt?"paste":x.state.cutIncoming>We?"cut":"+input")};Za(x.doc,fo),Ir(x,"inputRead",x,fo)}z&&!dt&&ed(x,z),je(x),x.curOp.updateInput<2&&(x.curOp.updateInput=gr),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function fd(x,z){var ae=x.clipboardData&&x.clipboardData.getData("Text");if(ae)return x.preventDefault(),!z.isReadOnly()&&!z.options.disableInput&&ua(z,function(){return $c(z,ae,0,null,"paste")}),!0}function ed(x,z){if(!(!x.options.electricChars||!x.options.smartIndent))for(var ae=x.doc.sel,re=ae.ranges.length-1;re>=0;re--){var oe=ae.ranges[re];if(!(oe.head.ch>100||re&&ae.ranges[re-1].head.line==oe.head.line)){var xe=x.getModeAt(oe.head),We=!1;if(xe.electricChars){for(var dt=0;dt<xe.electricChars.length;dt++)if(z.indexOf(xe.electricChars.charAt(dt))>-1){We=ic(x,oe.head.line,"smart");break}}else xe.electricInput&&xe.electricInput.test(hr(x.doc,oe.head.line).text.slice(0,oe.head.ch))&&(We=ic(x,oe.head.line,"smart"));We&&Ir(x,"electricInput",x,oe.head.line)}}}function Pc(x){for(var z=[],ae=[],re=0;re<x.doc.sel.ranges.length;re++){var oe=x.doc.sel.ranges[re].head.line,xe={anchor:Er(oe,0),head:Er(oe+1,0)};ae.push(xe),z.push(x.getRange(xe.anchor,xe.head))}return{text:z,ranges:ae}}function Kd(x,z,ae,re){x.setAttribute("autocorrect",ae?"":"off"),x.setAttribute("autocapitalize",re?"":"off"),x.setAttribute("spellcheck",!!z)}function Ds(){var x=ft("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),z=ft("div",[x],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return de?x.style.width="1000px":x.setAttribute("wrap","off"),mt&&(x.style.border="1px solid black"),Kd(x),z}function Zs(x){var z=x.optionHandlers,ae=x.helpers={};x.prototype={constructor:x,focus:function(){window.focus(),this.display.input.focus()},setOption:function(re,oe){var xe=this.options,We=xe[re];xe[re]==oe&&re!="mode"||(xe[re]=oe,z.hasOwnProperty(re)&&Xa(this,z[re])(this,oe,We),Ut(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"](Us(re))},removeKeyMap:function(re){for(var oe=this.state.keyMaps,xe=0;xe<oe.length;++xe)if(oe[xe]==re||oe[xe].name==re)return oe.splice(xe,1),!0},addOverlay:ra(function(re,oe){var xe=re.token?re:x.getMode(this.options,re);if(xe.startState)throw new Error("Overlays may not be stateful.");En(this.state.overlays,{mode:xe,modeSpec:re,opaque:oe&&oe.opaque,priority:oe&&oe.priority||0},function(We){return We.priority}),this.state.modeGen++,Le(this)}),removeOverlay:ra(function(re){for(var oe=this.state.overlays,xe=0;xe<oe.length;++xe){var We=oe[xe].modeSpec;if(We==re||typeof re=="string"&&We.name==re){oe.splice(xe,1),this.state.modeGen++,Le(this);return}}}),indentLine:ra(function(re,oe,xe){typeof oe!="string"&&typeof oe!="number"&&(oe==null?oe=this.options.smartIndent?"smart":"prev":oe=oe?"add":"subtract"),Aa(this.doc,re)&&ic(this,re,oe,xe)}),indentSelection:ra(function(re){for(var oe=this.doc.sel.ranges,xe=-1,We=0;We<oe.length;We++){var dt=oe[We];if(dt.empty())dt.head.line>xe&&(ic(this,dt.head.line,re,!0),xe=dt.head.line,We==this.doc.sel.primIndex&&je(this));else{var Ct=dt.from(),Ft=dt.to(),er=Math.max(xe,Ct.line);xe=Math.min(this.lastLine(),Ft.line-(Ft.ch?0:1))+1;for(var gr=er;gr<xe;++gr)ic(this,gr,re);var oa=this.doc.sel.ranges;Ct.ch==0&&oe.length==oa.length&&oa[We].from().ch>0&&Vr(this.doc,We,new to(Ct,oa[We].to()),Mt)}}}),getTokenAt:function(re,oe){return zl(this,re,oe)},getLineTokens:function(re,oe){return zl(this,Er(re),oe,!0)},getTokenTypeAt:function(re){re=ri(this.doc,re);var oe=vl(this,hr(this.doc,re.line)),xe=0,We=(oe.length-1)/2,dt=re.ch,Ct;if(dt==0)Ct=oe[2];else for(;;){var Ft=xe+We>>1;if((Ft?oe[Ft*2-1]:0)>=dt)We=Ft;else if(oe[Ft*2+1]<dt)xe=Ft+1;else{Ct=oe[Ft*2+2];break}}var er=Ct?Ct.indexOf("overlay "):-1;return er<0?Ct:er==0?null:Ct.slice(0,er-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 xe=[];if(!ae.hasOwnProperty(oe))return xe;var We=ae[oe],dt=this.getModeAt(re);if(typeof dt[oe]=="string")We[dt[oe]]&&xe.push(We[dt[oe]]);else if(dt[oe])for(var Ct=0;Ct<dt[oe].length;Ct++){var Ft=We[dt[oe][Ct]];Ft&&xe.push(Ft)}else dt.helperType&&We[dt.helperType]?xe.push(We[dt.helperType]):We[dt.name]&&xe.push(We[dt.name]);for(var er=0;er<We._global.length;er++){var gr=We._global[er];gr.pred(dt,this)&&At(xe,gr.val)==-1&&xe.push(gr.val)}return xe},getStateAfter:function(re,oe){var xe=this.doc;return re=io(xe,re==null?xe.first+xe.size-1:re),Yo(this,re+1,oe).state},cursorCoords:function(re,oe){var xe,We=this.doc.sel.primary();return re==null?xe=We.head:typeof re=="object"?xe=ri(this.doc,re):xe=re?We.from():We.to(),Rl(this,xe,oe||"page")},charCoords:function(re,oe){return $l(this,ri(this.doc,re),oe||"page")},coordsChar:function(re,oe){return re=Tl(this,re,oe||"page"),us(this,re.left,re.top)},lineAtHeight:function(re,oe){return re=Tl(this,{top:re,left:0},oe||"page").top,Sa(this.doc,re+this.display.viewOffset)},heightAtLine:function(re,oe,xe){var We=!1,dt;if(typeof re=="number"){var Ct=this.doc.first+this.doc.size-1;re<this.doc.first?re=this.doc.first:re>Ct&&(re=Ct,We=!0),dt=hr(this.doc,re)}else dt=re;return Al(this,dt,{top:0,left:0},oe||"page",xe||We).top+(We?this.doc.height-Dn(dt):0)},defaultTextHeight:function(){return hs(this.display)},defaultCharWidth:function(){return xs(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(re,oe,xe,We,dt){var Ct=this.display;re=Rl(this,ri(this.doc,re));var Ft=re.bottom,er=re.left;if(oe.style.position="absolute",oe.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(oe),Ct.sizer.appendChild(oe),We=="over")Ft=re.top;else if(We=="above"||We=="near"){var gr=Math.max(Ct.wrapper.clientHeight,this.doc.height),oa=Math.max(Ct.sizer.clientWidth,Ct.lineSpace.clientWidth);(We=="above"||re.bottom+oe.offsetHeight>gr)&&re.top>oe.offsetHeight?Ft=re.top-oe.offsetHeight:re.bottom+oe.offsetHeight<=gr&&(Ft=re.bottom),er+oe.offsetWidth>oa&&(er=oa-oe.offsetWidth)}oe.style.top=Ft+"px",oe.style.left=oe.style.right="",dt=="right"?(er=Ct.sizer.clientWidth-oe.offsetWidth,oe.style.right="0px"):(dt=="left"?er=0:dt=="middle"&&(er=(Ct.sizer.clientWidth-oe.offsetWidth)/2),oe.style.left=er+"px"),xe&&_e(this,{left:er,top:Ft,right:er+oe.offsetWidth,bottom:Ft+oe.offsetHeight})},triggerOnKeyDown:ra(hu),triggerOnKeyPress:ra(tc),triggerOnKeyUp:Ou,triggerOnMouseDown:ra(ou),execCommand:function(re){if(Vs.hasOwnProperty(re))return Vs[re].call(null,this)},triggerElectric:ra(function(re){ed(this,re)}),findPosH:function(re,oe,xe,We){var dt=1;oe<0&&(dt=-1,oe=-oe);for(var Ct=ri(this.doc,re),Ft=0;Ft<oe&&(Ct=Uu(this.doc,Ct,dt,xe,We),!Ct.hitSide);++Ft);return Ct},moveH:ra(function(re,oe){var xe=this;this.extendSelectionsBy(function(We){return xe.display.shift||xe.doc.extend||We.empty()?Uu(xe.doc,We.head,re,oe,xe.options.rtlMoveVisually):re<0?We.from():We.to()},sn)}),deleteH:ra(function(re,oe){var xe=this.doc.sel,We=this.doc;xe.somethingSelected()?We.replaceSelection("",null,"+delete"):Pu(this,function(dt){var Ct=Uu(We,dt.head,re,oe,!1);return re<0?{from:Ct,to:dt.head}:{from:dt.head,to:Ct}})}),findPosV:function(re,oe,xe,We){var dt=1,Ct=We;oe<0&&(dt=-1,oe=-oe);for(var Ft=ri(this.doc,re),er=0;er<oe;++er){var gr=Rl(this,Ft,"div");if(Ct==null?Ct=gr.left:gr.left=Ct,Ft=vc(this,gr,dt,xe),Ft.hitSide)break}return Ft},moveV:ra(function(re,oe){var xe=this,We=this.doc,dt=[],Ct=!this.display.shift&&!We.extend&&We.sel.somethingSelected();if(We.extendSelectionsBy(function(er){if(Ct)return re<0?er.from():er.to();var gr=Rl(xe,er.head,"div");er.goalColumn!=null&&(gr.left=er.goalColumn),dt.push(gr.left);var oa=vc(xe,gr,re,oe);return oe=="page"&&er==We.sel.primary()&&Ht(xe,$l(xe,oa,"div").top-gr.top),oa},sn),dt.length)for(var Ft=0;Ft<We.sel.ranges.length;Ft++)We.sel.ranges[Ft].goalColumn=dt[Ft]}),findWordAt:function(re){var oe=this.doc,xe=hr(oe,re.line).text,We=re.ch,dt=re.ch;if(xe){var Ct=this.getHelper(re,"wordChars");(re.sticky=="before"||dt==xe.length)&&We?--We:++dt;for(var Ft=xe.charAt(We),er=ge(Ft,Ct)?function(gr){return ge(gr,Ct)}:/\s/.test(Ft)?function(gr){return/\s/.test(gr)}:function(gr){return!/\s/.test(gr)&&!ge(gr)};We>0&&er(xe.charAt(We-1));)--We;for(;dt<xe.length&&er(xe.charAt(dt));)++dt}return new to(Er(re.line,We),Er(re.line,dt))},toggleOverwrite:function(re){re!=null&&re==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?ct(this.display.cursorDiv,"CodeMirror-overwrite"):Xe(this.display.cursorDiv,"CodeMirror-overwrite"),Ut(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==ze()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:ra(function(re,oe){Yt(this,re,oe)}),getScrollInfo:function(){var re=this.display.scroller;return{left:re.scrollLeft,top:re.scrollTop,height:re.scrollHeight-Ki(this)-this.display.barHeight,width:re.scrollWidth-Ki(this)-this.display.barWidth,clientHeight:ko(this),clientWidth:Ai(this)}},scrollIntoView:ra(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:Er(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?fn(this,re):Bt(this,re.from,re.to,re.margin)}),setSize:ra(function(re,oe){var xe=this,We=function(Ct){return typeof Ct=="number"||/^\d+$/.test(String(Ct))?Ct+"px":Ct};re!=null&&(this.display.wrapper.style.width=We(re)),oe!=null&&(this.display.wrapper.style.height=We(oe)),this.options.lineWrapping&&Dl(this);var dt=this.display.viewFrom;this.doc.iter(dt,this.display.viewTo,function(Ct){if(Ct.widgets){for(var Ft=0;Ft<Ct.widgets.length;Ft++)if(Ct.widgets[Ft].noHScroll){Je(xe,dt,"widget");break}}++dt}),this.curOp.forceUpdate=!0,Ut(this,"refresh",this)}),operation:function(re){return ua(this,re)},startOperation:function(){return sa(this)},endOperation:function(){return Da(this)},refresh:ra(function(){var re=this.display.cachedTextHeight;Le(this),this.curOp.forceUpdate=!0,Oo(this),Yt(this,this.doc.scrollLeft,this.doc.scrollTop),kl(this.display),(re==null||Math.abs(re-hs(this.display))>.5||this.options.lineWrapping)&&Bs(this),Ut(this,"refresh",this)}),swapDoc:ra(function(re){var oe=this.doc;return oe.cm=null,this.state.selectingText&&this.state.selectingText(),Ri(this,re),Oo(this),this.display.input.reset(),Yt(this,re.scrollLeft,re.scrollTop),this.curOp.forceScroll=!0,Ir(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}},Fr(x),x.registerHelper=function(re,oe,xe){ae.hasOwnProperty(re)||(ae[re]=x[re]={_global:[]}),ae[re][oe]=xe},x.registerGlobalHelper=function(re,oe,xe,We){x.registerHelper(re,oe,We),ae[re]._global.push({pred:xe,val:We})}}function Uu(x,z,ae,re,oe){var xe=z,We=ae,dt=hr(x,z.line),Ct=oe&&x.direction=="rtl"?-ae:ae;function Ft(){var Xo=z.line+Ct;return Xo<x.first||Xo>=x.first+x.size?!1:(z=new Er(Xo,z.ch,z.sticky),dt=hr(x,Xo))}function er(Xo){var Mo;if(re=="codepoint"){var qo=dt.text.charCodeAt(z.ch+(re>0?0:-1));isNaN(qo)?Mo=null:Mo=new Er(z.line,Math.max(0,Math.min(dt.text.length,z.ch+ae*(qo>=55296&&qo<56320?2:1))),-ae)}else oe?Mo=Ys(x.cm,dt,z,ae):Mo=du(dt,z,ae);if(Mo==null)if(!Xo&&Ft())z=fu(oe,x.cm,dt,z.line,Ct);else return!1;else z=Mo;return!0}if(re=="char"||re=="codepoint")er();else if(re=="column")er(!0);else if(re=="word"||re=="group")for(var gr=null,oa=re=="group",ea=x.cm&&x.cm.getHelper(z,"wordChars"),oi=!0;!(ae<0&&!er(!oi));oi=!1){var wi=dt.text.charAt(z.ch)||`
|
|
|
`,fo=ge(wi,ea)?"w":oa&&wi==`
|
|
|
`?"n":!oa||/\s/.test(wi)?null:"p";if(oa&&!oi&&!fo&&(fo="s"),gr&&gr!=fo){ae<0&&(ae=1,er(),z.sticky="after");break}if(fo&&(gr=fo),ae>0&&!er(!oi))break}var Ro=yi(x,z,xe,We,!0);return Zi(xe,Ro)&&(Ro.hitSide=!0),Ro}function vc(x,z,ae,re){var oe=x.doc,xe=z.left,We;if(re=="page"){var dt=Math.min(x.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ct=Math.max(dt-.5*hs(x.display),3);We=(ae>0?z.bottom:z.top)+ae*Ct}else re=="line"&&(We=ae>0?z.bottom+3:z.top-3);for(var Ft;Ft=us(x,xe,We),!!Ft.outside;){if(ae<0?We<=0:We>=oe.height){Ft.hitSide=!0;break}We+=ae*5}return Ft}var ks=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ne,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ks.prototype.init=function(x){var z=this,ae=this,re=ae.cm,oe=ae.div=x.lineDiv;Kd(oe,re.options.spellcheck,re.options.autocorrect,re.options.autocapitalize);function xe(dt){for(var Ct=dt.target;Ct;Ct=Ct.parentNode){if(Ct==oe)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ct.className))break}return!1}Tn(oe,"paste",function(dt){!xe(dt)||nn(re,dt)||fd(dt,re)||ke<=11&&setTimeout(Xa(re,function(){return z.updateFromDOM()}),20)}),Tn(oe,"compositionstart",function(dt){z.composing={data:dt.data,done:!1}}),Tn(oe,"compositionupdate",function(dt){z.composing||(z.composing={data:dt.data,done:!1})}),Tn(oe,"compositionend",function(dt){z.composing&&(dt.data!=z.composing.data&&z.readFromDOMSoon(),z.composing.done=!0)}),Tn(oe,"touchstart",function(){return ae.forceCompositionEnd()}),Tn(oe,"input",function(){z.composing||z.readFromDOMSoon()});function We(dt){if(!(!xe(dt)||nn(re,dt))){if(re.somethingSelected())mc({lineWise:!1,text:re.getSelections()}),dt.type=="cut"&&re.replaceSelection("",null,"cut");else if(re.options.lineWiseCopyCut){var Ct=Pc(re);mc({lineWise:!0,text:Ct.text}),dt.type=="cut"&&re.operation(function(){re.setSelections(Ct.ranges,0,Mt),re.replaceSelection("",null,"cut")})}else return;if(dt.clipboardData){dt.clipboardData.clearData();var Ft=sc.text.join(`
|
|
|
`);if(dt.clipboardData.setData("Text",Ft),dt.clipboardData.getData("Text")==Ft){dt.preventDefault();return}}var er=Ds(),gr=er.firstChild;re.display.lineSpace.insertBefore(er,re.display.lineSpace.firstChild),gr.value=sc.text.join(`
|
|
|
`);var oa=document.activeElement;Ot(gr),setTimeout(function(){re.display.lineSpace.removeChild(er),oa.focus(),oa==oe&&ae.showPrimarySelection()},50)}}Tn(oe,"copy",We),Tn(oe,"cut",We)},ks.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},ks.prototype.prepareSelection=function(){var x=en(this.cm,!1);return x.focus=document.activeElement==this.div,x},ks.prototype.showSelection=function(x,z){!x||!this.cm.display.view.length||((x.focus||z)&&this.showPrimarySelection(),this.showMultipleSelections(x))},ks.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ks.prototype.showPrimarySelection=function(){var x=this.getSelection(),z=this.cm,ae=z.doc.sel.primary(),re=ae.from(),oe=ae.to();if(z.display.viewTo==z.display.viewFrom||re.line>=z.display.viewTo||oe.line<z.display.viewFrom){x.removeAllRanges();return}var xe=Kc(z,x.anchorNode,x.anchorOffset),We=Kc(z,x.focusNode,x.focusOffset);if(!(xe&&!xe.bad&&We&&!We.bad&&Gr(hi(xe,We),re)==0&&Gr(ni(xe,We),oe)==0)){var dt=z.display.view,Ct=re.line>=z.display.viewFrom&&xd(z,re)||{node:dt[0].measure.map[2],offset:0},Ft=oe.line<z.display.viewTo&&xd(z,oe);if(!Ft){var er=dt[dt.length-1].measure,gr=er.maps?er.maps[er.maps.length-1]:er.map;Ft={node:gr[gr.length-1],offset:gr[gr.length-2]-gr[gr.length-3]}}if(!Ct||!Ft){x.removeAllRanges();return}var oa=x.rangeCount&&x.getRangeAt(0),ea;try{ea=Be(Ct.node,Ct.offset,Ft.offset,Ft.node)}catch(oi){}ea&&(!ne&&z.state.focused?(x.collapse(Ct.node,Ct.offset),ea.collapsed||(x.removeAllRanges(),x.addRange(ea))):(x.removeAllRanges(),x.addRange(ea)),oa&&x.anchorNode==null?x.addRange(oa):ne&&this.startGracePeriod()),this.rememberSelection()}},ks.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)},ks.prototype.showMultipleSelections=function(x){st(this.cm.display.cursorDiv,x.cursors),st(this.cm.display.selectionDiv,x.selection)},ks.prototype.rememberSelection=function(){var x=this.getSelection();this.lastAnchorNode=x.anchorNode,this.lastAnchorOffset=x.anchorOffset,this.lastFocusNode=x.focusNode,this.lastFocusOffset=x.focusOffset},ks.prototype.selectionInEditor=function(){var x=this.getSelection();if(!x.rangeCount)return!1;var z=x.getRangeAt(0).commonAncestorContainer;return gt(this.div,z)},ks.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ks.prototype.blur=function(){this.div.blur()},ks.prototype.getField=function(){return this.div},ks.prototype.supportsTouch=function(){return!0},ks.prototype.receivedFocus=function(){var x=this;this.selectionInEditor()?this.pollSelection():ua(this.cm,function(){return x.cm.curOp.selectionChanged=!0});function z(){x.cm.state.focused&&(x.pollSelection(),x.polling.set(x.cm.options.pollInterval,z))}this.polling.set(this.cm.options.pollInterval,z)},ks.prototype.selectionChanged=function(){var x=this.getSelection();return x.anchorNode!=this.lastAnchorNode||x.anchorOffset!=this.lastAnchorOffset||x.focusNode!=this.lastFocusNode||x.focusOffset!=this.lastFocusOffset},ks.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var x=this.getSelection(),z=this.cm;if(ot&&me&&this.cm.display.gutterSpecs.length&&wd(x.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ae=Kc(z,x.anchorNode,x.anchorOffset),re=Kc(z,x.focusNode,x.focusOffset);ae&&re&&ua(z,function(){Qr(z.doc,hl(ae,re),Mt),(ae.bad||re.bad)&&(z.curOp.selectionChanged=!0)})}}},ks.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var x=this.cm,z=x.display,ae=x.doc.sel.primary(),re=ae.from(),oe=ae.to();if(re.ch==0&&re.line>x.firstLine()&&(re=Er(re.line-1,hr(x.doc,re.line-1).length)),oe.ch==hr(x.doc,oe.line).text.length&&oe.line<x.lastLine()&&(oe=Er(oe.line+1,0)),re.line<z.viewFrom||oe.line>z.viewTo-1)return!1;var xe,We,dt;re.line==z.viewFrom||(xe=Ul(x,re.line))==0?(We=ma(z.view[0].line),dt=z.view[0].node):(We=ma(z.view[xe].line),dt=z.view[xe-1].node.nextSibling);var Ct=Ul(x,oe.line),Ft,er;if(Ct==z.view.length-1?(Ft=z.viewTo-1,er=z.lineDiv.lastChild):(Ft=ma(z.view[Ct+1].line)-1,er=z.view[Ct+1].node.previousSibling),!dt)return!1;for(var gr=x.doc.splitLines(Sd(x,dt,er,We,Ft)),oa=dn(x.doc,Er(We,0),Er(Ft,hr(x.doc,Ft).text.length));gr.length>1&&oa.length>1;)if(Nn(gr)==Nn(oa))gr.pop(),oa.pop(),Ft--;else if(gr[0]==oa[0])gr.shift(),oa.shift(),We++;else break;for(var ea=0,oi=0,wi=gr[0],fo=oa[0],Ro=Math.min(wi.length,fo.length);ea<Ro&&wi.charCodeAt(ea)==fo.charCodeAt(ea);)++ea;for(var Xo=Nn(gr),Mo=Nn(oa),qo=Math.min(Xo.length-(gr.length==1?ea:0),Mo.length-(oa.length==1?ea:0));oi<qo&&Xo.charCodeAt(Xo.length-oi-1)==Mo.charCodeAt(Mo.length-oi-1);)++oi;if(gr.length==1&&oa.length==1&&We==re.line)for(;ea&&ea>re.ch&&Xo.charCodeAt(Xo.length-oi-1)==Mo.charCodeAt(Mo.length-oi-1);)ea--,oi++;gr[gr.length-1]=Xo.slice(0,Xo.length-oi).replace(/^\u200b+/,""),gr[0]=gr[0].slice(ea).replace(/\u200b+$/,"");var Ol=Er(We,ea),Zl=Er(Ft,oa.length?Nn(oa).length-oi:0);if(gr.length>1||gr[0]||Gr(Ol,Zl))return Po(x.doc,gr,Ol,Zl,"+input"),!0},ks.prototype.ensurePolled=function(){this.forceCompositionEnd()},ks.prototype.reset=function(){this.forceCompositionEnd()},ks.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ks.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))},ks.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&ua(this.cm,function(){return Le(x.cm)})},ks.prototype.setUneditable=function(x){x.contentEditable="false"},ks.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||Xa(this.cm,$c)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},ks.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},ks.prototype.onContextMenu=function(){},ks.prototype.resetPosition=function(){},ks.prototype.needsContentAttribute=!0;function xd(x,z){var ae=il(x,z.line);if(!ae||ae.hidden)return null;var re=hr(x.doc,z.line),oe=zi(ae,re,z.line),xe=gn(re,x.doc.direction),We="left";if(xe){var dt=_n(xe,z.ch);We=dt%2?"right":"left"}var Ct=jo(oe.map,z.ch,We);return Ct.offset=Ct.collapse=="right"?Ct.end:Ct.start,Ct}function wd(x){for(var z=x;z;z=z.parentNode)if(/CodeMirror-gutter-wrapper/.test(z.className))return!0;return!1}function wc(x,z){return z&&(x.bad=!0),x}function Sd(x,z,ae,re,oe){var xe="",We=!1,dt=x.doc.lineSeparator(),Ct=!1;function Ft(ea){return function(oi){return oi.id==ea}}function er(){We&&(xe+=dt,Ct&&(xe+=dt),We=Ct=!1)}function gr(ea){ea&&(er(),xe+=ea)}function oa(ea){if(ea.nodeType==1){var oi=ea.getAttribute("cm-text");if(oi){gr(oi);return}var wi=ea.getAttribute("cm-marker"),fo;if(wi){var Ro=x.findMarks(Er(re,0),Er(oe+1,0),Ft(+wi));Ro.length&&(fo=Ro[0].find(0))&&gr(dn(x.doc,fo.from,fo.to).join(dt));return}if(ea.getAttribute("contenteditable")=="false")return;var Xo=/^(pre|div|p|li|table|br)$/i.test(ea.nodeName);if(!/^br$/i.test(ea.nodeName)&&ea.textContent.length==0)return;Xo&&er();for(var Mo=0;Mo<ea.childNodes.length;Mo++)oa(ea.childNodes[Mo]);/^(pre|p)$/i.test(ea.nodeName)&&(Ct=!0),Xo&&(We=!0)}else ea.nodeType==3&&gr(ea.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;oa(z),z!=ae;)z=z.nextSibling,Ct=!1;return xe}function Kc(x,z,ae){var re;if(z==x.display.lineDiv){if(re=x.display.lineDiv.childNodes[ae],!re)return wc(x.clipPos(Er(x.display.viewTo-1)),!0);z=null,ae=0}else for(re=z;;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 xe=x.display.view[oe];if(xe.node==re)return mh(xe,z,ae)}}function mh(x,z,ae){var re=x.text.firstChild,oe=!1;if(!z||!gt(re,z))return wc(Er(ma(x.line),0),!0);if(z==re&&(oe=!0,z=re.childNodes[ae],ae=0,!z)){var xe=x.rest?Nn(x.rest):x.line;return wc(Er(ma(xe),xe.text.length),oe)}var We=z.nodeType==3?z:null,dt=z;for(!We&&z.childNodes.length==1&&z.firstChild.nodeType==3&&(We=z.firstChild,ae&&(ae=We.nodeValue.length));dt.parentNode!=re;)dt=dt.parentNode;var Ct=x.measure,Ft=Ct.maps;function er(fo,Ro,Xo){for(var Mo=-1;Mo<(Ft?Ft.length:0);Mo++)for(var qo=Mo<0?Ct.map:Ft[Mo],Ol=0;Ol<qo.length;Ol+=3){var Zl=qo[Ol+2];if(Zl==fo||Zl==Ro){var bs=ma(Mo<0?x.line:x.rest[Mo]),qs=qo[Ol]+Xo;return(Xo<0||Zl!=fo)&&(qs=qo[Ol+(Xo?1:0)]),Er(bs,qs)}}}var gr=er(We,dt,ae);if(gr)return wc(gr,oe);for(var oa=dt.nextSibling,ea=We?We.nodeValue.length-ae:0;oa;oa=oa.nextSibling){if(gr=er(oa,oa.firstChild,0),gr)return wc(Er(gr.line,gr.ch-ea),oe);ea+=oa.textContent.length}for(var oi=dt.previousSibling,wi=ae;oi;oi=oi.previousSibling){if(gr=er(oi,oi.firstChild,-1),gr)return wc(Er(gr.line,gr.ch+wi),oe);wi+=oi.textContent.length}}var Js=function(x){this.cm=x,this.prevInput="",this.pollingFast=!1,this.polling=new Ne,this.hasSelection=!1,this.composing=null};Js.prototype.init=function(x){var z=this,ae=this,re=this.cm;this.createField(x);var oe=this.textarea;x.wrapper.insertBefore(this.wrapper,x.wrapper.firstChild),mt&&(oe.style.width="0px"),Tn(oe,"input",function(){we&&ke>=9&&z.hasSelection&&(z.hasSelection=null),ae.poll()}),Tn(oe,"paste",function(We){nn(re,We)||fd(We,re)||(re.state.pasteIncoming=+new Date,ae.fastPoll())});function xe(We){if(!nn(re,We)){if(re.somethingSelected())mc({lineWise:!1,text:re.getSelections()});else if(re.options.lineWiseCopyCut){var dt=Pc(re);mc({lineWise:!0,text:dt.text}),We.type=="cut"?re.setSelections(dt.ranges,null,Mt):(ae.prevInput="",oe.value=dt.text.join(`
|
|
|
`),Ot(oe))}else return;We.type=="cut"&&(re.state.cutIncoming=+new Date)}}Tn(oe,"cut",xe),Tn(oe,"copy",xe),Tn(x.scroller,"paste",function(We){if(!(Gi(x,We)||nn(re,We))){if(!oe.dispatchEvent){re.state.pasteIncoming=+new Date,ae.focus();return}var dt=new Event("paste");dt.clipboardData=We.clipboardData,oe.dispatchEvent(dt)}}),Tn(x.lineSpace,"selectstart",function(We){Gi(x,We)||aa(We)}),Tn(oe,"compositionstart",function(){var We=re.getCursor("from");ae.composing&&ae.composing.range.clear(),ae.composing={start:We,range:re.markText(We,re.getCursor("to"),{className:"CodeMirror-composing"})}}),Tn(oe,"compositionend",function(){ae.composing&&(ae.poll(),ae.composing.range.clear(),ae.composing=null)})},Js.prototype.createField=function(x){this.wrapper=Ds(),this.textarea=this.wrapper.firstChild},Js.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},Js.prototype.prepareSelection=function(){var x=this.cm,z=x.display,ae=x.doc,re=en(x);if(x.options.moveInputWithCursor){var oe=Rl(x,ae.sel.primary().head,"div"),xe=z.wrapper.getBoundingClientRect(),We=z.lineDiv.getBoundingClientRect();re.teTop=Math.max(0,Math.min(z.wrapper.clientHeight-10,oe.top+We.top-xe.top)),re.teLeft=Math.max(0,Math.min(z.wrapper.clientWidth-10,oe.left+We.left-xe.left))}return re},Js.prototype.showSelection=function(x){var z=this.cm,ae=z.display;st(ae.cursorDiv,x.cursors),st(ae.selectionDiv,x.selection),x.teTop!=null&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=x.teLeft+"px")},Js.prototype.reset=function(x){if(!(this.contextMenuPending||this.composing)){var z=this.cm;if(z.somethingSelected()){this.prevInput="";var ae=z.getSelection();this.textarea.value=ae,z.state.focused&&Ot(this.textarea),we&&ke>=9&&(this.hasSelection=ae)}else x||(this.prevInput=this.textarea.value="",we&&ke>=9&&(this.hasSelection=null))}},Js.prototype.getField=function(){return this.textarea},Js.prototype.supportsTouch=function(){return!1},Js.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!vt||ze()!=this.textarea))try{this.textarea.focus()}catch(x){}},Js.prototype.blur=function(){this.textarea.blur()},Js.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Js.prototype.receivedFocus=function(){this.slowPoll()},Js.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},Js.prototype.fastPoll=function(){var x=!1,z=this;z.pollingFast=!0;function ae(){var re=z.poll();!re&&!x?(x=!0,z.polling.set(60,ae)):(z.pollingFast=!1,z.slowPoll())}z.polling.set(20,ae)},Js.prototype.poll=function(){var x=this,z=this.cm,ae=this.textarea,re=this.prevInput;if(this.contextMenuPending||!z.state.focused||Pn(ae)&&!re&&!this.composing||z.isReadOnly()||z.options.disableInput||z.state.keySeq)return!1;var oe=ae.value;if(oe==re&&!z.somethingSelected())return!1;if(we&&ke>=9&&this.hasSelection===oe||Ee&&/[\uf700-\uf7ff]/.test(oe))return z.display.input.reset(),!1;if(z.doc.sel==z.display.selForContextMenu){var xe=oe.charCodeAt(0);if(xe==8203&&!re&&(re="\u200B"),xe==8666)return this.reset(),this.cm.execCommand("undo")}for(var We=0,dt=Math.min(re.length,oe.length);We<dt&&re.charCodeAt(We)==oe.charCodeAt(We);)++We;return ua(z,function(){$c(z,oe.slice(We),re.length-We,null,x.composing?"*compose":null),oe.length>1e3||oe.indexOf(`
|
|
|
`)>-1?ae.value=x.prevInput="":x.prevInput=oe,x.composing&&(x.composing.range.clear(),x.composing.range=z.markText(x.composing.start,z.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Js.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Js.prototype.onKeyPress=function(){we&&ke>=9&&(this.hasSelection=null),this.fastPoll()},Js.prototype.onContextMenu=function(x){var z=this,ae=z.cm,re=ae.display,oe=z.textarea;z.contextMenuPending&&z.contextMenuPending();var xe=Xs(ae,x),We=re.scroller.scrollTop;if(!xe||Pe)return;var dt=ae.options.resetSelectionOnContextMenu;dt&&ae.doc.sel.contains(xe)==-1&&Xa(ae,Qr)(ae.doc,hl(xe),Mt);var Ct=oe.style.cssText,Ft=z.wrapper.style.cssText,er=z.wrapper.offsetParent.getBoundingClientRect();z.wrapper.style.cssText="position: static",oe.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(x.clientY-er.top-5)+"px; left: "+(x.clientX-er.left-5)+`px;
|
|
|
z-index: 1000; background: `+(we?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var gr;de&&(gr=window.scrollY),re.input.focus(),de&&window.scrollTo(null,gr),re.input.reset(),ae.somethingSelected()||(oe.value=z.prevInput=" "),z.contextMenuPending=ea,re.selForContextMenu=ae.doc.sel,clearTimeout(re.detectingSelectAll);function oa(){if(oe.selectionStart!=null){var wi=ae.somethingSelected(),fo="\u200B"+(wi?oe.value:"");oe.value="\u21DA",oe.value=fo,z.prevInput=wi?"":"\u200B",oe.selectionStart=1,oe.selectionEnd=fo.length,re.selForContextMenu=ae.doc.sel}}function ea(){if(z.contextMenuPending==ea&&(z.contextMenuPending=!1,z.wrapper.style.cssText=Ft,oe.style.cssText=Ct,we&&ke<9&&re.scrollbars.setScrollTop(re.scroller.scrollTop=We),oe.selectionStart!=null)){(!we||we&&ke<9)&&oa();var wi=0,fo=function(){re.selForContextMenu==ae.doc.sel&&oe.selectionStart==0&&oe.selectionEnd>0&&z.prevInput=="\u200B"?Xa(ae,Ko)(ae):wi++<10?re.detectingSelectAll=setTimeout(fo,500):(re.selForContextMenu=null,re.input.reset())};re.detectingSelectAll=setTimeout(fo,200)}}if(we&&ke>=9&&oa(),ye){Ta(x);var oi=function(){Dr(window,"mouseup",oi),setTimeout(ea,20)};Tn(window,"mouseup",oi)}else setTimeout(ea,50)},Js.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},Js.prototype.setUneditable=function(){},Js.prototype.needsContentAttribute=!1;function td(x,z){if(z=z?an(z):{},z.value=x.value,!z.tabindex&&x.tabIndex&&(z.tabindex=x.tabIndex),!z.placeholder&&x.placeholder&&(z.placeholder=x.placeholder),z.autofocus==null){var ae=ze();z.autofocus=ae==x||x.getAttribute("autofocus")!=null&&ae==document.body}function re(){x.value=dt.getValue()}var oe;if(x.form&&(Tn(x.form,"submit",re),!z.leaveSubmitMethodAlone)){var xe=x.form;oe=xe.submit;try{var We=xe.submit=function(){re(),xe.submit=oe,xe.submit(),xe.submit=We}}catch(Ct){}}z.finishInit=function(Ct){Ct.save=re,Ct.getTextArea=function(){return x},Ct.toTextArea=function(){Ct.toTextArea=isNaN,re(),x.parentNode.removeChild(Ct.getWrapperElement()),x.style.display="",x.form&&(Dr(x.form,"submit",re),!z.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=oe))}},x.style.display="none";var dt=is(function(Ct){return x.parentNode.insertBefore(Ct,x.nextSibling)},z);return dt}function hd(x){x.off=Dr,x.on=Tn,x.wheelEventPixels=Nl,x.Doc=ro,x.splitLines=Ln,x.countColumn=ht,x.findColumn=wn,x.isWordChar=be,x.Pass=jt,x.signal=Ut,x.Line=Ar,x.changeEnd=Io,x.scrollbarModel=ta,x.Pos=Er,x.cmpPos=Gr,x.modes=Br,x.mimeModes=jr,x.resolveMode=Zt,x.getMode=Gt,x.modeExtensions=Gn,x.extendMode=kt,x.copyState=mn,x.startState=Mn,x.innerMode=Zn,x.commands=Vs,x.keyMap=as,x.keyName=Iu,x.isModifierKey=uu,x.lookupKey=ru,x.normalizeKeyMap=ds,x.StringStream=ar,x.SharedTextMarker=$i,x.TextMarker=gs,x.LineWidget=Ps,x.e_preventDefault=aa,x.e_stopPropagation=Jn,x.e_stop=Ta,x.addClass=ct,x.contains=gt,x.rmClass=Xe,x.keyNames=Nu}ud(is),Zs(is);var Bc="iter insert remove copy getEditor constructor".split(" ");for(var hc in ro.prototype)ro.prototype.hasOwnProperty(hc)&&At(Bc,hc)<0&&(is.prototype[hc]=function(x){return function(){return x.apply(this.doc,arguments)}}(ro.prototype[hc]));return Fr(ro),is.inputStyles={textarea:Js,contenteditable:ks},is.defineMode=function(x){!is.defaults.mode&&x!="null"&&(is.defaults.mode=x),hn.apply(this,arguments)},is.defineMIME=It,is.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),is.defineMIME("text/plain","null"),is.defineExtension=function(x,z){is.prototype[x]=z},is.defineDocExtension=function(x,z){ro.prototype[x]=z},is.fromTextArea=td,hd(is),is.version="5.58.2",is})},49047:function(Hn,ln,ee){(function(ne){ne(ee(4631),ee(29589),ee(52539))})(function(ne){"use strict";ne.defineMode("markdown",function(fe,De){var qe=ne.getMode(fe,"text/html"),we=qe.name=="null";function ke(ht){if(ne.findModeByName){var Ne=ne.findModeByName(ht);Ne&&(ht=Ne.mime||Ne.mimes[0])}var At=ne.getMode(fe,ht);return At.name=="null"?null:At}De.highlightFormatting===void 0&&(De.highlightFormatting=!1),De.maxBlockquoteDepth===void 0&&(De.maxBlockquoteDepth=0),De.taskLists===void 0&&(De.taskLists=!1),De.strikethrough===void 0&&(De.strikethrough=!1),De.emoji===void 0&&(De.emoji=!1),De.fencedCodeBlockHighlighting===void 0&&(De.fencedCodeBlockHighlighting=!0),De.fencedCodeBlockDefaultMode===void 0&&(De.fencedCodeBlockDefaultMode="text/plain"),De.xml===void 0&&(De.xml=!0),De.tokenTypeOverrides===void 0&&(De.tokenTypeOverrides={});var de={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 Se in de)de.hasOwnProperty(Se)&&De.tokenTypeOverrides[Se]&&(de[Se]=De.tokenTypeOverrides[Se]);var me=/^([*\-_])(?:\s*\1){2,}\s*$/,Pe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,rt=/^\[(x| )\](?=\s)/i,ue=De.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Ue=/^ {0,3}(?:\={1,}|-{2,})\s*$/,mt=/^[^#!\[\]*_\\<>` "'(~:]+/,ot=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,vt=/^\s*\[[^\]]+?\]:.*$/,Ee=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,wt=" ";function Tt(ht,Ne,At){return Ne.f=Ne.inline=At,At(ht,Ne)}function $e(ht,Ne,At){return Ne.f=Ne.block=At,At(ht,Ne)}function ut(ht){return!ht||!/\S/.test(ht.string)}function ye(ht){if(ht.linkTitle=!1,ht.linkHref=!1,ht.linkText=!1,ht.em=!1,ht.strong=!1,ht.strikethrough=!1,ht.quote=0,ht.indentedCode=!1,ht.f==Xe){var Ne=we;if(!Ne){var At=ne.innerMode(qe,ht.htmlState);Ne=At.mode.name=="xml"&&At.state.tagStart===null&&!At.state.context&&At.state.tokenize.isInText}Ne&&(ht.f=Re,ht.block=ce,ht.htmlState=null)}return ht.trailingSpace=0,ht.trailingSpaceNewLine=!1,ht.prevLine=ht.thisLine,ht.thisLine={stream:null},null}function ce(ht,Ne){var At=ht.column()===Ne.indentation,An=ut(Ne.prevLine.stream),jt=Ne.indentedCode,Mt=Ne.prevLine.hr,Kt=Ne.list!==!1,sn=(Ne.listStack[Ne.listStack.length-1]||0)+3;Ne.indentedCode=!1;var wn=Ne.indentation;if(Ne.indentationDiff===null&&(Ne.indentationDiff=Ne.indentation,Kt)){for(Ne.list=null;wn<Ne.listStack[Ne.listStack.length-1];)Ne.listStack.pop(),Ne.listStack.length?Ne.indentation=Ne.listStack[Ne.listStack.length-1]:Ne.list=!1;Ne.list!==!1&&(Ne.indentationDiff=wn-Ne.listStack[Ne.listStack.length-1])}var vn=!An&&!Mt&&!Ne.prevLine.header&&(!Kt||!jt)&&!Ne.prevLine.fencedCodeEnd,cn=(Ne.list===!1||Mt||An)&&Ne.indentation<=sn&&ht.match(me),Nn=null;if(Ne.indentationDiff>=4&&(jt||Ne.prevLine.fencedCodeEnd||Ne.prevLine.header||An))return ht.skipToEnd(),Ne.indentedCode=!0,de.code;if(ht.eatSpace())return null;if(At&&Ne.indentation<=sn&&(Nn=ht.match(ue))&&Nn[1].length<=6)return Ne.quote=0,Ne.header=Nn[1].length,Ne.thisLine.header=!0,De.highlightFormatting&&(Ne.formatting="header"),Ne.f=Ne.inline,st(Ne);if(Ne.indentation<=sn&&ht.eat(">"))return Ne.quote=At?1:Ne.quote+1,De.highlightFormatting&&(Ne.formatting="quote"),ht.eatSpace(),st(Ne);if(!cn&&!Ne.setext&&At&&Ne.indentation<=sn&&(Nn=ht.match(Pe))){var dr=Nn[1]?"ol":"ul";return Ne.indentation=wn+ht.current().length,Ne.list=!0,Ne.quote=0,Ne.listStack.push(Ne.indentation),Ne.em=!1,Ne.strong=!1,Ne.code=!1,Ne.strikethrough=!1,De.taskLists&&ht.match(rt,!1)&&(Ne.taskList=!0),Ne.f=Ne.inline,De.highlightFormatting&&(Ne.formatting=["list","list-"+dr]),st(Ne)}else{if(At&&Ne.indentation<=sn&&(Nn=ht.match(ot,!0)))return Ne.quote=0,Ne.fencedEndRE=new RegExp(Nn[1]+"+ *$"),Ne.localMode=De.fencedCodeBlockHighlighting&&ke(Nn[2]||De.fencedCodeBlockDefaultMode),Ne.localMode&&(Ne.localState=ne.startState(Ne.localMode)),Ne.f=Ne.block=et,De.highlightFormatting&&(Ne.formatting="code-block"),Ne.code=-1,st(Ne);if(Ne.setext||(!vn||!Kt)&&!Ne.quote&&Ne.list===!1&&!Ne.code&&!cn&&!vt.test(ht.string)&&(Nn=ht.lookAhead(1))&&(Nn=Nn.match(Ue)))return Ne.setext?(Ne.header=Ne.setext,Ne.setext=0,ht.skipToEnd(),De.highlightFormatting&&(Ne.formatting="header")):(Ne.header=Nn[0].charAt(0)=="="?1:2,Ne.setext=Ne.header),Ne.thisLine.header=!0,Ne.f=Ne.inline,st(Ne);if(cn)return ht.skipToEnd(),Ne.hr=!0,Ne.thisLine.hr=!0,de.hr;if(ht.peek()==="[")return Tt(ht,Ne,nt)}return Tt(ht,Ne,Ne.inline)}function Xe(ht,Ne){var At=qe.token(ht,Ne.htmlState);if(!we){var An=ne.innerMode(qe,Ne.htmlState);(An.mode.name=="xml"&&An.state.tagStart===null&&!An.state.context&&An.state.tokenize.isInText||Ne.md_inside&&ht.current().indexOf(">")>-1)&&(Ne.f=Re,Ne.block=ce,Ne.htmlState=null)}return At}function et(ht,Ne){var At=Ne.listStack[Ne.listStack.length-1]||0,An=Ne.indentation<At,jt=At+3;if(Ne.fencedEndRE&&Ne.indentation<=jt&&(An||ht.match(Ne.fencedEndRE))){De.highlightFormatting&&(Ne.formatting="code-block");var Mt;return An||(Mt=st(Ne)),Ne.localMode=Ne.localState=null,Ne.block=ce,Ne.f=Re,Ne.fencedEndRE=null,Ne.code=0,Ne.thisLine.fencedCodeEnd=!0,An?$e(ht,Ne,Ne.block):Mt}else return Ne.localMode?Ne.localMode.token(ht,Ne.localState):(ht.skipToEnd(),de.code)}function st(ht){var Ne=[];if(ht.formatting){Ne.push(de.formatting),typeof ht.formatting=="string"&&(ht.formatting=[ht.formatting]);for(var At=0;At<ht.formatting.length;At++)Ne.push(de.formatting+"-"+ht.formatting[At]),ht.formatting[At]==="header"&&Ne.push(de.formatting+"-"+ht.formatting[At]+"-"+ht.header),ht.formatting[At]==="quote"&&(!De.maxBlockquoteDepth||De.maxBlockquoteDepth>=ht.quote?Ne.push(de.formatting+"-"+ht.formatting[At]+"-"+ht.quote):Ne.push("error"))}if(ht.taskOpen)return Ne.push("meta"),Ne.length?Ne.join(" "):null;if(ht.taskClosed)return Ne.push("property"),Ne.length?Ne.join(" "):null;if(ht.linkHref?Ne.push(de.linkHref,"url"):(ht.strong&&Ne.push(de.strong),ht.em&&Ne.push(de.em),ht.strikethrough&&Ne.push(de.strikethrough),ht.emoji&&Ne.push(de.emoji),ht.linkText&&Ne.push(de.linkText),ht.code&&Ne.push(de.code),ht.image&&Ne.push(de.image),ht.imageAltText&&Ne.push(de.imageAltText,"link"),ht.imageMarker&&Ne.push(de.imageMarker)),ht.header&&Ne.push(de.header,de.header+"-"+ht.header),ht.quote&&(Ne.push(de.quote),!De.maxBlockquoteDepth||De.maxBlockquoteDepth>=ht.quote?Ne.push(de.quote+"-"+ht.quote):Ne.push(de.quote+"-"+De.maxBlockquoteDepth)),ht.list!==!1){var An=(ht.listStack.length-1)%3;An?An===1?Ne.push(de.list2):Ne.push(de.list3):Ne.push(de.list1)}return ht.trailingSpaceNewLine?Ne.push("trailing-space-new-line"):ht.trailingSpace&&Ne.push("trailing-space-"+(ht.trailingSpace%2?"a":"b")),Ne.length?Ne.join(" "):null}function ft(ht,Ne){if(ht.match(mt,!0))return st(Ne)}function Re(ht,Ne){var At=Ne.text(ht,Ne);if(typeof At!="undefined")return At;if(Ne.list)return Ne.list=null,st(Ne);if(Ne.taskList){var An=ht.match(rt,!0)[1]===" ";return An?Ne.taskOpen=!0:Ne.taskClosed=!0,De.highlightFormatting&&(Ne.formatting="task"),Ne.taskList=!1,st(Ne)}if(Ne.taskOpen=!1,Ne.taskClosed=!1,Ne.header&&ht.match(/^#+$/,!0))return De.highlightFormatting&&(Ne.formatting="header"),st(Ne);var jt=ht.next();if(Ne.linkTitle){Ne.linkTitle=!1;var Mt=jt;jt==="("&&(Mt=")"),Mt=(Mt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Kt="^\\s*(?:[^"+Mt+"\\\\]+|\\\\\\\\|\\\\.)"+Mt;if(ht.match(new RegExp(Kt),!0))return de.linkHref}if(jt==="`"){var sn=Ne.formatting;De.highlightFormatting&&(Ne.formatting="code"),ht.eatWhile("`");var wn=ht.current().length;if(Ne.code==0&&(!Ne.quote||wn==1))return Ne.code=wn,st(Ne);if(wn==Ne.code){var vn=st(Ne);return Ne.code=0,vn}else return Ne.formatting=sn,st(Ne)}else if(Ne.code)return st(Ne);if(jt==="\\"&&(ht.next(),De.highlightFormatting)){var cn=st(Ne),Nn=de.formatting+"-escape";return cn?cn+" "+Nn:Nn}if(jt==="!"&&ht.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ne.imageMarker=!0,Ne.image=!0,De.highlightFormatting&&(Ne.formatting="image"),st(Ne);if(jt==="["&&Ne.imageMarker&&ht.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ne.imageMarker=!1,Ne.imageAltText=!0,De.highlightFormatting&&(Ne.formatting="image"),st(Ne);if(jt==="]"&&Ne.imageAltText){De.highlightFormatting&&(Ne.formatting="image");var cn=st(Ne);return Ne.imageAltText=!1,Ne.image=!1,Ne.inline=Ne.f=gt,cn}if(jt==="["&&!Ne.image)return Ne.linkText&&ht.match(/^.*?\]/)||(Ne.linkText=!0,De.highlightFormatting&&(Ne.formatting="link")),st(Ne);if(jt==="]"&&Ne.linkText){De.highlightFormatting&&(Ne.formatting="link");var cn=st(Ne);return Ne.linkText=!1,Ne.inline=Ne.f=ht.match(/\(.*?\)| ?\[.*?\]/,!1)?gt:Re,cn}if(jt==="<"&&ht.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ne.f=Ne.inline=Be,De.highlightFormatting&&(Ne.formatting="link");var cn=st(Ne);return cn?cn+=" ":cn="",cn+de.linkInline}if(jt==="<"&&ht.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ne.f=Ne.inline=Be,De.highlightFormatting&&(Ne.formatting="link");var cn=st(Ne);return cn?cn+=" ":cn="",cn+de.linkEmail}if(De.xml&&jt==="<"&&ht.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var dr=ht.string.indexOf(">",ht.pos);if(dr!=-1){var En=ht.string.substring(ht.start,dr);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(En)&&(Ne.md_inside=!0)}return ht.backUp(1),Ne.htmlState=ne.startState(qe),$e(ht,Ne,Xe)}if(De.xml&&jt==="<"&&ht.match(/^\/\w*?>/))return Ne.md_inside=!1,"tag";if(jt==="*"||jt==="_"){for(var Ge=1,ve=ht.pos==1?" ":ht.string.charAt(ht.pos-2);Ge<3&&ht.eat(jt);)Ge++;var he=ht.peek()||" ",be=!/\s/.test(he)&&(!Ee.test(he)||/\s/.test(ve)||Ee.test(ve)),ge=!/\s/.test(ve)&&(!Ee.test(ve)||/\s/.test(he)||Ee.test(he)),se=null,Ye=null;if(Ge%2&&(!Ne.em&&be&&(jt==="*"||!ge||Ee.test(ve))?se=!0:Ne.em==jt&&ge&&(jt==="*"||!be||Ee.test(he))&&(se=!1)),Ge>1&&(!Ne.strong&&be&&(jt==="*"||!ge||Ee.test(ve))?Ye=!0:Ne.strong==jt&&ge&&(jt==="*"||!be||Ee.test(he))&&(Ye=!1)),Ye!=null||se!=null){De.highlightFormatting&&(Ne.formatting=se==null?"strong":Ye==null?"em":"strong em"),se===!0&&(Ne.em=jt),Ye===!0&&(Ne.strong=jt);var vn=st(Ne);return se===!1&&(Ne.em=!1),Ye===!1&&(Ne.strong=!1),vn}}else if(jt===" "&&(ht.eat("*")||ht.eat("_"))){if(ht.peek()===" ")return st(Ne);ht.backUp(1)}if(De.strikethrough){if(jt==="~"&&ht.eatWhile(jt)){if(Ne.strikethrough){De.highlightFormatting&&(Ne.formatting="strikethrough");var vn=st(Ne);return Ne.strikethrough=!1,vn}else if(ht.match(/^[^\s]/,!1))return Ne.strikethrough=!0,De.highlightFormatting&&(Ne.formatting="strikethrough"),st(Ne)}else if(jt===" "&&ht.match(/^~~/,!0)){if(ht.peek()===" ")return st(Ne);ht.backUp(2)}}if(De.emoji&&jt===":"&&ht.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ne.emoji=!0,De.highlightFormatting&&(Ne.formatting="emoji");var xt=st(Ne);return Ne.emoji=!1,xt}return jt===" "&&(ht.match(/^ +$/,!1)?Ne.trailingSpace++:Ne.trailingSpace&&(Ne.trailingSpaceNewLine=!0)),st(Ne)}function Be(ht,Ne){var At=ht.next();if(At===">"){Ne.f=Ne.inline=Re,De.highlightFormatting&&(Ne.formatting="link");var An=st(Ne);return An?An+=" ":An="",An+de.linkInline}return ht.match(/^[^>]+/,!0),de.linkInline}function gt(ht,Ne){if(ht.eatSpace())return null;var At=ht.next();return At==="("||At==="["?(Ne.f=Ne.inline=ct(At==="("?")":"]"),De.highlightFormatting&&(Ne.formatting="link-string"),Ne.linkHref=!0,st(Ne)):"error"}var ze={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ct(ht){return function(Ne,At){var An=Ne.next();if(An===ht){At.f=At.inline=Re,De.highlightFormatting&&(At.formatting="link-string");var jt=st(At);return At.linkHref=!1,jt}return Ne.match(ze[ht]),At.linkHref=!0,st(At)}}function nt(ht,Ne){return ht.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ne.f=Ot,ht.next(),De.highlightFormatting&&(Ne.formatting="link"),Ne.linkText=!0,st(Ne)):Tt(ht,Ne,Re)}function Ot(ht,Ne){if(ht.match(/^\]:/,!0)){Ne.f=Ne.inline=Rt,De.highlightFormatting&&(Ne.formatting="link");var At=st(Ne);return Ne.linkText=!1,At}return ht.match(/^([^\]\\]|\\.)+/,!0),de.linkText}function Rt(ht,Ne){return ht.eatSpace()?null:(ht.match(/^[^\s]+/,!0),ht.peek()===void 0?Ne.linkTitle=!0:ht.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ne.f=Ne.inline=Re,de.linkHref+" url")}var an={startState:function(){return{f:ce,prevLine:{stream:null},thisLine:{stream:null},block:ce,htmlState:null,indentation:0,inline:Re,text:ft,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(ht){return{f:ht.f,prevLine:ht.prevLine,thisLine:ht.thisLine,block:ht.block,htmlState:ht.htmlState&&ne.copyState(qe,ht.htmlState),indentation:ht.indentation,localMode:ht.localMode,localState:ht.localMode?ne.copyState(ht.localMode,ht.localState):null,inline:ht.inline,text:ht.text,formatting:!1,linkText:ht.linkText,linkTitle:ht.linkTitle,linkHref:ht.linkHref,code:ht.code,em:ht.em,strong:ht.strong,strikethrough:ht.strikethrough,emoji:ht.emoji,header:ht.header,setext:ht.setext,hr:ht.hr,taskList:ht.taskList,list:ht.list,listStack:ht.listStack.slice(0),quote:ht.quote,indentedCode:ht.indentedCode,trailingSpace:ht.trailingSpace,trailingSpaceNewLine:ht.trailingSpaceNewLine,md_inside:ht.md_inside,fencedEndRE:ht.fencedEndRE}},token:function(ht,Ne){if(Ne.formatting=!1,ht!=Ne.thisLine.stream){if(Ne.header=0,Ne.hr=!1,ht.match(/^\s*$/,!0))return ye(Ne),null;if(Ne.prevLine=Ne.thisLine,Ne.thisLine={stream:ht},Ne.taskList=!1,Ne.trailingSpace=0,Ne.trailingSpaceNewLine=!1,!Ne.localState&&(Ne.f=Ne.block,Ne.f!=Xe)){var At=ht.match(/^\s*/,!0)[0].replace(/\t/g,wt).length;if(Ne.indentation=At,Ne.indentationDiff=null,At>0)return null}}return Ne.f(ht,Ne)},innerMode:function(ht){return ht.block==Xe?{state:ht.htmlState,mode:qe}:ht.localState?{state:ht.localState,mode:ht.localMode}:{state:ht,mode:an}},indent:function(ht,Ne,At){return ht.block==Xe&&qe.indent?qe.indent(ht.htmlState,Ne,At):ht.localState&&ht.localMode.indent?ht.localMode.indent(ht.localState,Ne,At):ne.Pass},blankLine:ye,getType:st,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return an},"xml"),ne.defineMIME("text/markdown","markdown"),ne.defineMIME("text/x-markdown","markdown")})},52539:function(Hn,ln,ee){(function(ne){ne(ee(4631))})(function(ne){"use strict";ne.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 fe=0;fe<ne.modeInfo.length;fe++){var De=ne.modeInfo[fe];De.mimes&&(De.mime=De.mimes[0])}ne.findModeByMIME=function(qe){qe=qe.toLowerCase();for(var we=0;we<ne.modeInfo.length;we++){var ke=ne.modeInfo[we];if(ke.mime==qe)return ke;if(ke.mimes){for(var de=0;de<ke.mimes.length;de++)if(ke.mimes[de]==qe)return ke}}if(/\+xml$/.test(qe))return ne.findModeByMIME("application/xml");if(/\+json$/.test(qe))return ne.findModeByMIME("application/json")},ne.findModeByExtension=function(qe){qe=qe.toLowerCase();for(var we=0;we<ne.modeInfo.length;we++){var ke=ne.modeInfo[we];if(ke.ext){for(var de=0;de<ke.ext.length;de++)if(ke.ext[de]==qe)return ke}}},ne.findModeByFileName=function(qe){for(var we=0;we<ne.modeInfo.length;we++){var ke=ne.modeInfo[we];if(ke.file&&ke.file.test(qe))return ke}var de=qe.lastIndexOf("."),Se=de>-1&&qe.substring(de+1,qe.length);if(Se)return ne.findModeByExtension(Se)},ne.findModeByName=function(qe){qe=qe.toLowerCase();for(var we=0;we<ne.modeInfo.length;we++){var ke=ne.modeInfo[we];if(ke.name.toLowerCase()==qe)return ke;if(ke.alias){for(var de=0;de<ke.alias.length;de++)if(ke.alias[de].toLowerCase()==qe)return ke}}}})},80785:function(Hn,ln,ee){(function(ne){ne(ee(4631))})(function(ne){"use strict";ne.defineMode("stex",function(fe,De){"use strict";function qe(mt,ot){mt.cmdState.push(ot)}function we(mt){return mt.cmdState.length>0?mt.cmdState[mt.cmdState.length-1]:null}function ke(mt){var ot=mt.cmdState.pop();ot&&ot.closeBracket()}function de(mt){for(var ot=mt.cmdState,vt=ot.length-1;vt>=0;vt--){var Ee=ot[vt];if(Ee.name!="DEFAULT")return Ee}return{styleIdentifier:function(){return null}}}function Se(mt,ot,vt){return function(){this.name=mt,this.bracketNo=0,this.style=ot,this.styles=vt,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var me={};me.importmodule=Se("importmodule","tag",["string","builtin"]),me.documentclass=Se("documentclass","tag",["","atom"]),me.usepackage=Se("usepackage","tag",["atom"]),me.begin=Se("begin","tag",["atom"]),me.end=Se("end","tag",["atom"]),me.label=Se("label","tag",["atom"]),me.ref=Se("ref","tag",["atom"]),me.eqref=Se("eqref","tag",["atom"]),me.cite=Se("cite","tag",["atom"]),me.bibitem=Se("bibitem","tag",["atom"]),me.Bibitem=Se("Bibitem","tag",["atom"]),me.RBibitem=Se("RBibitem","tag",["atom"]),me.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function Pe(mt,ot){mt.f=ot}function rt(mt,ot){var vt;if(mt.match(/^\\[a-zA-Z@]+/)){var Ee=mt.current().slice(1);return vt=me.hasOwnProperty(Ee)?me[Ee]:me.DEFAULT,vt=new vt,qe(ot,vt),Pe(ot,Ue),vt.style}if(mt.match(/^\\[$&%#{}_]/)||mt.match(/^\\[,;!\/\\]/))return"tag";if(mt.match("\\["))return Pe(ot,function(Tt,$e){return ue(Tt,$e,"\\]")}),"keyword";if(mt.match("\\("))return Pe(ot,function(Tt,$e){return ue(Tt,$e,"\\)")}),"keyword";if(mt.match("$$"))return Pe(ot,function(Tt,$e){return ue(Tt,$e,"$$")}),"keyword";if(mt.match("$"))return Pe(ot,function(Tt,$e){return ue(Tt,$e,"$")}),"keyword";var wt=mt.next();if(wt=="%")return mt.skipToEnd(),"comment";if(wt=="}"||wt=="]"){if(vt=we(ot),vt)vt.closeBracket(wt),Pe(ot,Ue);else return"error";return"bracket"}else return wt=="{"||wt=="["?(vt=me.DEFAULT,vt=new vt,qe(ot,vt),"bracket"):/\d/.test(wt)?(mt.eatWhile(/[\w.%]/),"atom"):(mt.eatWhile(/[\w\-_]/),vt=de(ot),vt.name=="begin"&&(vt.argument=mt.current()),vt.styleIdentifier())}function ue(mt,ot,vt){if(mt.eatSpace())return null;if(vt&&mt.match(vt))return Pe(ot,rt),"keyword";if(mt.match(/^\\[a-zA-Z@]+/))return"tag";if(mt.match(/^[a-zA-Z]+/))return"variable-2";if(mt.match(/^\\[$&%#{}_]/)||mt.match(/^\\[,;!\/]/)||mt.match(/^[\^_&]/))return"tag";if(mt.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(mt.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Ee=mt.next();return Ee=="{"||Ee=="}"||Ee=="["||Ee=="]"||Ee=="("||Ee==")"?"bracket":Ee=="%"?(mt.skipToEnd(),"comment"):"error"}function Ue(mt,ot){var vt=mt.peek(),Ee;return vt=="{"||vt=="["?(Ee=we(ot),Ee.openBracket(vt),mt.eat(vt),Pe(ot,rt),"bracket"):/[ \t\r]/.test(vt)?(mt.eat(vt),null):(Pe(ot,rt),ke(ot),rt(mt,ot))}return{startState:function(){var mt=De.inMathMode?function(ot,vt){return ue(ot,vt)}:rt;return{cmdState:[],f:mt}},copyState:function(mt){return{cmdState:mt.cmdState.slice(),f:mt.f}},token:function(mt,ot){return ot.f(mt,ot)},blankLine:function(mt){mt.f=rt,mt.cmdState.length=0},lineComment:"%"}}),ne.defineMIME("text/x-stex","stex"),ne.defineMIME("text/x-latex","stex")})},29589:function(Hn,ln,ee){(function(ne){ne(ee(4631))})(function(ne){"use strict";var fe={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},De={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};ne.defineMode("xml",function(qe,we){var ke=qe.indentUnit,de={},Se=we.htmlMode?fe:De;for(var me in Se)de[me]=Se[me];for(var me in we)de[me]=we[me];var Pe,rt;function ue(Be,gt){function ze(Ot){return gt.tokenize=Ot,Ot(Be,gt)}var ct=Be.next();if(ct=="<")return Be.eat("!")?Be.eat("[")?Be.match("CDATA[")?ze(ot("atom","]]>")):null:Be.match("--")?ze(ot("comment","-->")):Be.match("DOCTYPE",!0,!0)?(Be.eatWhile(/[\w\._\-]/),ze(vt(1))):null:Be.eat("?")?(Be.eatWhile(/[\w\._\-]/),gt.tokenize=ot("meta","?>"),"meta"):(Pe=Be.eat("/")?"closeTag":"openTag",gt.tokenize=Ue,"tag bracket");if(ct=="&"){var nt;return Be.eat("#")?Be.eat("x")?nt=Be.eatWhile(/[a-fA-F\d]/)&&Be.eat(";"):nt=Be.eatWhile(/[\d]/)&&Be.eat(";"):nt=Be.eatWhile(/[\w\.\-:]/)&&Be.eat(";"),nt?"atom":"error"}else return Be.eatWhile(/[^&<]/),null}ue.isInText=!0;function Ue(Be,gt){var ze=Be.next();if(ze==">"||ze=="/"&&Be.eat(">"))return gt.tokenize=ue,Pe=ze==">"?"endTag":"selfcloseTag","tag bracket";if(ze=="=")return Pe="equals",null;if(ze=="<"){gt.tokenize=ue,gt.state=$e,gt.tagName=gt.tagStart=null;var ct=gt.tokenize(Be,gt);return ct?ct+" tag error":"tag error"}else return/[\'\"]/.test(ze)?(gt.tokenize=mt(ze),gt.stringStartCol=Be.column(),gt.tokenize(Be,gt)):(Be.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function mt(Be){var gt=function(ze,ct){for(;!ze.eol();)if(ze.next()==Be){ct.tokenize=Ue;break}return"string"};return gt.isInAttribute=!0,gt}function ot(Be,gt){return function(ze,ct){for(;!ze.eol();){if(ze.match(gt)){ct.tokenize=ue;break}ze.next()}return Be}}function vt(Be){return function(gt,ze){for(var ct;(ct=gt.next())!=null;){if(ct=="<")return ze.tokenize=vt(Be+1),ze.tokenize(gt,ze);if(ct==">")if(Be==1){ze.tokenize=ue;break}else return ze.tokenize=vt(Be-1),ze.tokenize(gt,ze)}return"meta"}}function Ee(Be,gt,ze){this.prev=Be.context,this.tagName=gt,this.indent=Be.indented,this.startOfLine=ze,(de.doNotIndent.hasOwnProperty(gt)||Be.context&&Be.context.noIndent)&&(this.noIndent=!0)}function wt(Be){Be.context&&(Be.context=Be.context.prev)}function Tt(Be,gt){for(var ze;;){if(!Be.context||(ze=Be.context.tagName,!de.contextGrabbers.hasOwnProperty(ze)||!de.contextGrabbers[ze].hasOwnProperty(gt)))return;wt(Be)}}function $e(Be,gt,ze){return Be=="openTag"?(ze.tagStart=gt.column(),ut):Be=="closeTag"?ye:$e}function ut(Be,gt,ze){return Be=="word"?(ze.tagName=gt.current(),rt="tag",et):de.allowMissingTagName&&Be=="endTag"?(rt="tag bracket",et(Be,gt,ze)):(rt="error",ut)}function ye(Be,gt,ze){if(Be=="word"){var ct=gt.current();return ze.context&&ze.context.tagName!=ct&&de.implicitlyClosed.hasOwnProperty(ze.context.tagName)&&wt(ze),ze.context&&ze.context.tagName==ct||de.matchClosing===!1?(rt="tag",ce):(rt="tag error",Xe)}else return de.allowMissingTagName&&Be=="endTag"?(rt="tag bracket",ce(Be,gt,ze)):(rt="error",Xe)}function ce(Be,gt,ze){return Be!="endTag"?(rt="error",ce):(wt(ze),$e)}function Xe(Be,gt,ze){return rt="error",ce(Be,gt,ze)}function et(Be,gt,ze){if(Be=="word")return rt="attribute",st;if(Be=="endTag"||Be=="selfcloseTag"){var ct=ze.tagName,nt=ze.tagStart;return ze.tagName=ze.tagStart=null,Be=="selfcloseTag"||de.autoSelfClosers.hasOwnProperty(ct)?Tt(ze,ct):(Tt(ze,ct),ze.context=new Ee(ze,ct,nt==ze.indented)),$e}return rt="error",et}function st(Be,gt,ze){return Be=="equals"?ft:(de.allowMissing||(rt="error"),et(Be,gt,ze))}function ft(Be,gt,ze){return Be=="string"?Re:Be=="word"&&de.allowUnquoted?(rt="string",et):(rt="error",et(Be,gt,ze))}function Re(Be,gt,ze){return Be=="string"?Re:et(Be,gt,ze)}return{startState:function(Be){var gt={tokenize:ue,state:$e,indented:Be||0,tagName:null,tagStart:null,context:null};return Be!=null&&(gt.baseIndent=Be),gt},token:function(Be,gt){if(!gt.tagName&&Be.sol()&&(gt.indented=Be.indentation()),Be.eatSpace())return null;Pe=null;var ze=gt.tokenize(Be,gt);return(ze||Pe)&&ze!="comment"&&(rt=null,gt.state=gt.state(Pe||ze,Be,gt),rt&&(ze=rt=="error"?ze+" error":rt)),ze},indent:function(Be,gt,ze){var ct=Be.context;if(Be.tokenize.isInAttribute)return Be.tagStart==Be.indented?Be.stringStartCol+1:Be.indented+ke;if(ct&&ct.noIndent)return ne.Pass;if(Be.tokenize!=Ue&&Be.tokenize!=ue)return ze?ze.match(/^(\s*)/)[0].length:0;if(Be.tagName)return de.multilineTagIndentPastTag!==!1?Be.tagStart+Be.tagName.length+2:Be.tagStart+ke*(de.multilineTagIndentFactor||1);if(de.alignCDATA&&/<!\[CDATA\[/.test(gt))return 0;var nt=gt&&/^<(\/)?([\w_:\.-]*)/.exec(gt);if(nt&&nt[1])for(;ct;)if(ct.tagName==nt[2]){ct=ct.prev;break}else if(de.implicitlyClosed.hasOwnProperty(ct.tagName))ct=ct.prev;else break;else if(nt)for(;ct;){var Ot=de.contextGrabbers[ct.tagName];if(Ot&&Ot.hasOwnProperty(nt[2]))ct=ct.prev;else break}for(;ct&&ct.prev&&!ct.startOfLine;)ct=ct.prev;return ct?ct.indent+ke:Be.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:de.htmlMode?"html":"xml",helperType:de.htmlMode?"html":"xml",skipAttribute:function(Be){Be.state==ft&&(Be.state=et)},xmlCurrentTag:function(Be){return Be.tagName?{name:Be.tagName,close:Be.type=="closeTag"}:null},xmlCurrentContext:function(Be){for(var gt=[],ze=Be.context;ze;ze=ze.prev)ze.tagName&>.push(ze.tagName);return gt.reverse()}}}),ne.defineMIME("text/xml","xml"),ne.defineMIME("application/xml","xml"),ne.mimeModes.hasOwnProperty("text/html")||ne.defineMIME("text/html",{name:"xml",htmlMode:!0})})},19575:function(Hn,ln,ee){var ne,fe;(function(De,qe){Hn.exports=qe(De)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ee.g!="undefined"?ee.g:this,function(De){"use strict";De=De||{};var qe=De.Base64,we="2.6.4",ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",de=function(ze){for(var ct={},nt=0,Ot=ze.length;nt<Ot;nt++)ct[ze.charAt(nt)]=nt;return ct}(ke),Se=String.fromCharCode,me=function(ze){if(ze.length<2){var ct=ze.charCodeAt(0);return ct<128?ze:ct<2048?Se(192|ct>>>6)+Se(128|ct&63):Se(224|ct>>>12&15)+Se(128|ct>>>6&63)+Se(128|ct&63)}else{var ct=65536+(ze.charCodeAt(0)-55296)*1024+(ze.charCodeAt(1)-56320);return Se(240|ct>>>18&7)+Se(128|ct>>>12&63)+Se(128|ct>>>6&63)+Se(128|ct&63)}},Pe=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,rt=function(ze){return ze.replace(Pe,me)},ue=function(ze){var ct=[0,2,1][ze.length%3],nt=ze.charCodeAt(0)<<16|(ze.length>1?ze.charCodeAt(1):0)<<8|(ze.length>2?ze.charCodeAt(2):0),Ot=[ke.charAt(nt>>>18),ke.charAt(nt>>>12&63),ct>=2?"=":ke.charAt(nt>>>6&63),ct>=1?"=":ke.charAt(nt&63)];return Ot.join("")},Ue=De.btoa&&typeof De.btoa=="function"?function(ze){return De.btoa(ze)}:function(ze){if(ze.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ze.replace(/[\s\S]{1,3}/g,ue)},mt=function(ze){return Ue(rt(String(ze)))},ot=function(ze){return ze.replace(/[+\/]/g,function(ct){return ct=="+"?"-":"_"}).replace(/=/g,"")},vt=function(ze,ct){return ct?ot(mt(ze)):mt(ze)},Ee=function(ze){return vt(ze,!0)},wt;De.Uint8Array&&(wt=function(ze,ct){for(var nt="",Ot=0,Rt=ze.length;Ot<Rt;Ot+=3){var an=ze[Ot],ht=ze[Ot+1],Ne=ze[Ot+2],At=an<<16|ht<<8|Ne;nt+=ke.charAt(At>>>18)+ke.charAt(At>>>12&63)+(typeof ht!="undefined"?ke.charAt(At>>>6&63):"=")+(typeof Ne!="undefined"?ke.charAt(At&63):"=")}return ct?ot(nt):nt});var Tt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,$e=function(ze){switch(ze.length){case 4:var ct=(7&ze.charCodeAt(0))<<18|(63&ze.charCodeAt(1))<<12|(63&ze.charCodeAt(2))<<6|63&ze.charCodeAt(3),nt=ct-65536;return Se((nt>>>10)+55296)+Se((nt&1023)+56320);case 3:return Se((15&ze.charCodeAt(0))<<12|(63&ze.charCodeAt(1))<<6|63&ze.charCodeAt(2));default:return Se((31&ze.charCodeAt(0))<<6|63&ze.charCodeAt(1))}},ut=function(ze){return ze.replace(Tt,$e)},ye=function(ze){var ct=ze.length,nt=ct%4,Ot=(ct>0?de[ze.charAt(0)]<<18:0)|(ct>1?de[ze.charAt(1)]<<12:0)|(ct>2?de[ze.charAt(2)]<<6:0)|(ct>3?de[ze.charAt(3)]:0),Rt=[Se(Ot>>>16),Se(Ot>>>8&255),Se(Ot&255)];return Rt.length-=[0,0,2,1][nt],Rt.join("")},ce=De.atob&&typeof De.atob=="function"?function(ze){return De.atob(ze)}:function(ze){return ze.replace(/\S{1,4}/g,ye)},Xe=function(ze){return ce(String(ze).replace(/[^A-Za-z0-9\+\/]/g,""))},et=function(ze){return ut(ce(ze))},st=function(ze){return String(ze).replace(/[-_]/g,function(ct){return ct=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ft=function(ze){return et(st(ze))},Re;De.Uint8Array&&(Re=function(ze){return Uint8Array.from(Xe(st(ze)),function(ct){return ct.charCodeAt(0)})});var Be=function(){var ze=De.Base64;return De.Base64=qe,ze};if(De.Base64={VERSION:we,atob:Xe,btoa:Ue,fromBase64:ft,toBase64:vt,utob:rt,encode:vt,encodeURI:Ee,btou:ut,decode:ft,noConflict:Be,fromUint8Array:wt,toUint8Array:Re},typeof Object.defineProperty=="function"){var gt=function(ze){return{value:ze,enumerable:!1,writable:!0,configurable:!0}};De.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",gt(function(){return ft(this)})),Object.defineProperty(String.prototype,"toBase64",gt(function(ze){return vt(this,ze)})),Object.defineProperty(String.prototype,"toBase64URI",gt(function(){return vt(this,!0)}))}}return De.Meteor&&(Base64=De.Base64),Hn.exports?Hn.exports.Base64=De.Base64:(ne=[],fe=function(){return De.Base64}.apply(ln,ne),fe!==void 0&&(Hn.exports=fe)),{Base64:De.Base64}})},15979:function(Hn,ln,ee){"use strict";ee.d(ln,{hP:function(){return En}});var ne=function(Ge,ve){return(ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(he,be){he.__proto__=be}||function(he,be){for(var ge in be)Object.prototype.hasOwnProperty.call(be,ge)&&(he[ge]=be[ge])})(Ge,ve)};function fe(Ge,ve){function he(){this.constructor=Ge}ne(Ge,ve),Ge.prototype=ve===null?Object.create(ve):(he.prototype=ve.prototype,new he)}function De(Ge,ve,he,be){return new(he||(he=Promise))(function(ge,se){function Ye(on){try{pn(be.next(on))}catch(In){se(In)}}function xt(on){try{pn(be.throw(on))}catch(In){se(In)}}function pn(on){var In;on.done?ge(on.value):(In=on.value,In instanceof he?In:new he(function(Qn){Qn(In)})).then(Ye,xt)}pn((be=be.apply(Ge,ve||[])).next())})}function qe(Ge,ve){var he,be,ge,se,Ye={label:0,sent:function(){if(1&ge[0])throw ge[1];return ge[1]},trys:[],ops:[]};return se={next:xt(0),throw:xt(1),return:xt(2)},typeof Symbol=="function"&&(se[Symbol.iterator]=function(){return this}),se;function xt(pn){return function(on){return function(In){if(he)throw new TypeError("Generator is already executing.");for(;Ye;)try{if(he=1,be&&(ge=2&In[0]?be.return:In[0]?be.throw||((ge=be.return)&&ge.call(be),0):be.next)&&!(ge=ge.call(be,In[1])).done)return ge;switch(be=0,ge&&(In=[2&In[0],ge.value]),In[0]){case 0:case 1:ge=In;break;case 4:return Ye.label++,{value:In[1],done:!1};case 5:Ye.label++,be=In[1],In=[0];continue;case 7:In=Ye.ops.pop(),Ye.trys.pop();continue;default:if(ge=Ye.trys,!((ge=ge.length>0&&ge[ge.length-1])||In[0]!==6&&In[0]!==2)){Ye=0;continue}if(In[0]===3&&(!ge||In[1]>ge[0]&&In[1]<ge[3])){Ye.label=In[1];break}if(In[0]===6&&Ye.label<ge[1]){Ye.label=ge[1],ge=In;break}if(ge&&Ye.label<ge[2]){Ye.label=ge[2],Ye.ops.push(In);break}ge[2]&&Ye.ops.pop(),Ye.trys.pop();continue}In=ve.call(Ge,Ye)}catch(Qn){In=[6,Qn],be=0}finally{he=ge=0}if(5&In[0])throw In[1];return{value:In[0]?In[1]:void 0,done:!0}}([pn,on])}}}function we(){for(var Ge=0,ve=0,he=arguments.length;ve<he;ve++)Ge+=arguments[ve].length;var be=Array(Ge),ge=0;for(ve=0;ve<he;ve++)for(var se=arguments[ve],Ye=0,xt=se.length;Ye<xt;Ye++,ge++)be[ge]=se[Ye];return be}var ke=function(){function Ge(){}return Ge.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},Ge.setAttributes=function(ve,he){for(var be=0,ge=he;be<ge.length;be++){var se=ge[be],Ye=se[0],xt=se[1];ve.setAttribute(Ye,xt)}},Ge.createRect=function(ve,he,be){var ge=document.createElementNS("http://www.w3.org/2000/svg","rect");return ge.setAttribute("width",ve.toString()),ge.setAttribute("height",he.toString()),be&&Ge.setAttributes(ge,be),ge},Ge.createLine=function(ve,he,be,ge,se){var Ye=document.createElementNS("http://www.w3.org/2000/svg","line");return Ye.setAttribute("x1",ve.toString()),Ye.setAttribute("y1",he.toString()),Ye.setAttribute("x2",be.toString()),Ye.setAttribute("y2",ge.toString()),se&&Ge.setAttributes(Ye,se),Ye},Ge.createPolygon=function(ve,he){var be=document.createElementNS("http://www.w3.org/2000/svg","polygon");return be.setAttribute("points",ve),he&&Ge.setAttributes(be,he),be},Ge.createCircle=function(ve,he){var be=document.createElementNS("http://www.w3.org/2000/svg","circle");return be.setAttribute("cx",(ve/2).toString()),be.setAttribute("cy",(ve/2).toString()),be.setAttribute("r",ve.toString()),he&&Ge.setAttributes(be,he),be},Ge.createEllipse=function(ve,he,be){var ge=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return ge.setAttribute("cx",(ve/2).toString()),ge.setAttribute("cy",(he/2).toString()),ge.setAttribute("rx",(ve/2).toString()),ge.setAttribute("ry",(he/2).toString()),be&&Ge.setAttributes(ge,be),ge},Ge.createGroup=function(ve){var he=document.createElementNS("http://www.w3.org/2000/svg","g");return ve&&Ge.setAttributes(he,ve),he},Ge.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},Ge.createMarker=function(ve,he,be,ge,se,Ye,xt){var pn=document.createElementNS("http://www.w3.org/2000/svg","marker");return Ge.setAttributes(pn,[["id",ve],["orient",he],["markerWidth",be.toString()],["markerHeight",ge.toString()],["refX",se.toString()],["refY",Ye.toString()]]),pn.appendChild(xt),pn},Ge.createText=function(ve){var he=document.createElementNS("http://www.w3.org/2000/svg","text");return he.setAttribute("x","0"),he.setAttribute("y","0"),ve&&Ge.setAttributes(he,ve),he},Ge.createTSpan=function(ve,he){var be=document.createElementNS("http://www.w3.org/2000/svg","tspan");return be.textContent=ve,he&&Ge.setAttributes(be,he),be},Ge.createImage=function(ve){var he=document.createElementNS("http://www.w3.org/2000/svg","image");return ve&&Ge.setAttributes(he,ve),he},Ge.createPoint=function(ve,he){var be=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return be.x=ve,be.y=he,be},Ge.createPath=function(ve,he){var be=document.createElementNS("http://www.w3.org/2000/svg","path");return be.setAttribute("d",ve),he&&Ge.setAttributes(be,he),be},Ge}(),de=function(){function Ge(){}return Ge.addKey=function(ve){Ge.key=ve},Object.defineProperty(Ge,"isLicensed",{get:function(){return!!Ge.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(Ge.key)},enumerable:!1,configurable:!0}),Ge}(),Se=function(){function Ge(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return Ge.prototype.rasterize=function(ve,he,be){var ge=this;return new Promise(function(se){var Ye=be!==void 0?be:document.createElement("canvas");ve===null&&(ge.markersOnly=!0,ge.naturalSize=!1);var xt=document.createElementNS("http://www.w3.org/2000/svg","svg");xt.setAttribute("xmlns","http://www.w3.org/2000/svg"),xt.setAttribute("width",he.width.baseVal.valueAsString),xt.setAttribute("height",he.height.baseVal.valueAsString),xt.setAttribute("viewBox","0 0 "+he.viewBox.baseVal.width.toString()+" "+he.viewBox.baseVal.height.toString()),xt.innerHTML=he.innerHTML,ge.naturalSize===!0?(xt.width.baseVal.value=ve.naturalWidth,xt.height.baseVal.value=ve.naturalHeight):ge.width!==void 0&&ge.height!==void 0&&(xt.width.baseVal.value=ge.width,xt.height.baseVal.value=ge.height),Ye.width=xt.width.baseVal.value,Ye.height=xt.height.baseVal.value;var pn=xt.outerHTML,on=Ye.getContext("2d");ge.markersOnly!==!0&&on.drawImage(ve,0,0,Ye.width,Ye.height);var In=window.URL,Qn=new Image(Ye.width,Ye.height);Qn.setAttribute("crossOrigin","anonymous");var _n=new Blob([pn],{type:"image/svg+xml"}),Vt=In.createObjectURL(_n);Qn.onload=function(){on.drawImage(Qn,0,0),In.revokeObjectURL(Vt);var gn=Ye.toDataURL(ge.imageType,ge.imageQuality);se(gn)},Qn.src=Vt})},Ge}(),me=function(){},Pe=function(){function Ge(ve){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ve+"_"}return Object.defineProperty(Ge.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.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(Ge.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),Ge.prototype.addClass=function(ve){return this.styleSheet===void 0&&this.addStyleSheet(),ve.name=""+this.classNamePrefix+ve.localName,this.classes.push(ve),this.styleSheet.sheet.insertRule("."+ve.name+" {"+ve.style+"}",this.styleSheet.sheet.cssRules.length),ve},Ge.prototype.addRule=function(ve){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ve),this.styleSheet.sheet.insertRule(ve.selector+" {"+ve.style+"}",this.styleSheet.sheet.cssRules.length)},Ge.prototype.addStyleSheet=function(){var ve;this.styleSheet=document.createElement("style"),((ve=this.styleSheetRoot)!==null&&ve!==void 0?ve: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 ue("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new ue("fade_out",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
|
`))},Ge.prototype.removeStyleSheet=function(){var ve;this.styleSheet&&(((ve=this.styleSheetRoot)!==null&&ve!==void 0?ve:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},Ge}(),rt=function(Ge,ve){this.selector=Ge,this.style=ve},ue=function(Ge,ve){this.localName=Ge,this.style=ve},Ue=function(){function Ge(ve,he,be,ge,se){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ve,this.displayMode=he,this.markerItems=be,this.uiStyleSettings=ge,this.styles=se,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return Ge.prototype.show=function(ve){var he=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ve,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var be=document.createElement("div");be.className=this.toolbarBlockStyleClass.name,be.style.whiteSpace="nowrap",this.uiContainer.appendChild(be),this.addActionButton(be,'<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(be,'<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(be,'<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(be,'<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(be,'<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(be,'<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(be,'<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(be,'<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 Ye=document.createElement("div");Ye.className=""+he.toolbarButtonStyleClass.name,Ye.setAttribute("data-type-name",se.typeName),Ye.innerHTML=se.icon,Ye.addEventListener("click",function(){he.markerToolbarButtonClicked(Ye,se)}),he.buttons.push(Ye),he.markerButtons.push(Ye)}),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 ge=document.createElement("div");ge.className=this.toolbarBlockStyleClass.name,ge.style.whiteSpace="nowrap",ge.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(ge),this.addActionButton(ge,'<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(ge,'<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()},Ge.prototype.addButtonClickListener=function(ve){this.buttonClickListeners.push(ve)},Ge.prototype.removeButtonClickListener=function(ve){this.buttonClickListeners.indexOf(ve)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ve),1)},Ge.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Ge.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ve=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var he=0;he<this.markerButtons.length;he++)he<ve||he===ve&&this.markerButtons.length-1===ve?this.markerButtonBlock.appendChild(this.markerButtons[he]):(he===ve&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[he]))}},Ge.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")},Ge.prototype.resetButtonStyles=function(){var ve=this;this.buttons.forEach(function(he){he.className=he.className.replace(ve.uiStyleSettings.toolbarButtonStyleColorsClassName?ve.uiStyleSettings.toolbarButtonStyleColorsClassName:ve.toolbarButtonStyleColorsClass.name,"").trim(),he.className=he.className.replace(ve.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ve.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ve.toolbarActiveButtonStyleColorsClass.name,"").trim(),he.className+=" "+(ve.uiStyleSettings.toolbarButtonStyleColorsClassName?ve.uiStyleSettings.toolbarButtonStyleColorsClassName:ve.toolbarButtonStyleColorsClass.name)})},Ge.prototype.addActionButton=function(ve,he,be){var ge=this,se=document.createElement("div");switch(se.className=""+this.toolbarButtonStyleClass.name,se.innerHTML=he,se.setAttribute("data-action",be),se.addEventListener("click",function(){ge.actionToolbarButtonClicked(se,be)}),be){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}ve.appendChild(se),this.buttons.push(se)},Ge.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new ue("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 ue("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new ue("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new ue("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 ue("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var ve=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new ue("toolbar_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ve)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ve)+`px;
|
|
|
padding: `+ve+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new ue("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new ue("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+`
|
|
|
`))},Ge.prototype.markerToolbarButtonClicked=function(ve,he){this.setActiveButton(ve),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(be){return be("marker",he)}),this.markerButtonOverflowBlock.style.display="none"},Ge.prototype.actionToolbarButtonClicked=function(ve,he){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(be){return be("action",he)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Ge.prototype.setActiveButton=function(ve){this.resetButtonStyles(),ve.className=ve.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ve.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Ge.prototype.setActiveMarkerButton=function(ve){var he=this.markerButtons.find(function(be){return be.getAttribute("data-type-name")===ve});he&&this.setActiveButton(he)},Ge.prototype.setCurrentMarker=function(ve){var he=this;this.currentMarker=ve,this.buttons.filter(function(be){return/delete|notes/.test(be.getAttribute("data-action"))}).forEach(function(be){he.currentMarker===void 0?(be.style.fillOpacity="0.4",be.style.pointerEvents="none"):(be.style.fillOpacity="1",be.style.pointerEvents="all")})},Ge}(),mt=function(){function Ge(ve,he,be,ge){this.panels=[],this.panelButtons=[],this.markerjsContainer=ve,this.displayMode=he,this.uiStyleSettings=be,this.styles=ge,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Ge.prototype.addStyles=function(){var ve;this.toolboxStyleClass=this.styles.addClass(new ue("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 ue("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var he=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new ue("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new ue("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new ue("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 ue("toolbox-panel-row_colors",`
|
|
|
background-color: `+((ve=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ve!==void 0?ve:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new ue("toolbox_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.toolboxButtonStyleColorsClass=this.styles.addClass(new ue("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new ue("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;
|
|
|
`))},Ge.prototype.show=function(ve){var he;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ve,this.uiContainer.className=this.toolboxStyleClass.name+" "+((he=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&he!==void 0?he:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Ge.prototype.setPanelButtons=function(ve){var he,be,ge=this;this.panels=ve,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((he=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&he!==void 0?he:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((be=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&be!==void 0?be:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(se){var Ye;se.uiStyleSettings=ge.uiStyleSettings;var xt=document.createElement("div");xt.className=ge.toolboxButtonStyleClass.name+" "+((Ye=ge.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Ye!==void 0?Ye:ge.toolboxButtonStyleColorsClass.name),xt.innerHTML=se.icon,xt.title=se.title,xt.addEventListener("click",function(){ge.panelButtonClick(se)}),ge.panelButtons.push(xt),ge.buttonRow.appendChild(xt)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Ge.prototype.panelButtonClick=function(ve){var he=this,be=-1;if(ve!==this.activePanel){be=this.panels.indexOf(ve),this.panelRow.innerHTML="";var ge=ve.getUi();ge.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(ge),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=ve}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){he.displayMode==="inline"?he.panelRow.style.display="none":he.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(se,Ye){var xt,pn;se.className=he.toolboxButtonStyleClass.name+" "+(Ye===be?""+((xt=he.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&xt!==void 0?xt:he.toolboxActiveButtonStyleColorsClass.name):""+((pn=he.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&pn!==void 0?pn:he.toolboxButtonStyleColorsClass.name))})},Ge}(),ot=function(Ge,ve){this.title=Ge,this.icon=ve},vt=function(Ge){function ve(he,be,ge,se){var Ye=Ge.call(this,he,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 Ye.colors=[],Ye.addTransparent=!1,Ye.colorBoxes=[],Ye.colors=be,Ye.currentColor=ge,Ye.setCurrentColor=Ye.setCurrentColor.bind(Ye),Ye.getColorBox=Ye.getColorBox.bind(Ye),Ye}return fe(ve,Ge),ve.prototype.getUi=function(){var he=this,be=document.createElement("div");return be.style.overflow="hidden",be.style.whiteSpace="nowrap",this.colors.forEach(function(ge){var se=he.getColorBox(ge);be.appendChild(se),he.colorBoxes.push(se)}),be},ve.prototype.getColorBox=function(he){var be=this,ge=this.uiStyleSettings.toolbarHeight/4,se=this.uiStyleSettings.toolbarHeight-ge,Ye=document.createElement("div");Ye.style.display="inline-block",Ye.style.boxSizing="content-box",Ye.style.width=se-2+"px",Ye.style.height=se-2+"px",Ye.style.padding="1px",Ye.style.marginRight="2px",Ye.style.marginBottom="2px",Ye.style.borderWidth="2px",Ye.style.borderStyle="solid",Ye.style.borderRadius=(se+2)/2+"px",Ye.style.borderColor=he===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Ye.addEventListener("click",function(){be.setCurrentColor(he,Ye)});var xt=document.createElement("div");return xt.style.display="inline-block",xt.style.width=se-2+"px",xt.style.height=se-2+"px",xt.style.backgroundColor=he,xt.style.borderRadius=se/2+"px",he==="transparent"&&(xt.style.fill=this.uiStyleSettings.toolboxAccentColor,xt.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>`),Ye.appendChild(xt),Ye},ve.prototype.setCurrentColor=function(he,be){var ge=this;this.currentColor=he,this.colorBoxes.forEach(function(se){se.style.borderColor=se===be?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(he)},ve}(ot),Ee=function(){function Ge(ve,he,be){this._state="new",this._isSelected=!1,this._container=ve,this._overlayContainer=he,this.globalSettings=be,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Ge.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Ge.prototype.ownsTarget=function(ve){return!1},Object.defineProperty(Ge.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Ge.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Ge.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Ge.prototype.pointerDown=function(ve,he){},Ge.prototype.dblClick=function(ve,he){},Ge.prototype.manipulate=function(ve){},Ge.prototype.pointerUp=function(ve){this.stateChanged()},Ge.prototype.dispose=function(){},Ge.prototype.addMarkerVisualToContainer=function(ve){this.container.childNodes.length>0?this.container.insertBefore(ve,this.container.childNodes[0]):this.container.appendChild(ve)},Ge.prototype.getState=function(){return{typeName:Ge.typeName,state:this.state,notes:this.notes}},Ge.prototype.restoreState=function(ve){this._state=ve.state,this.notes=ve.notes},Ge.prototype.scale=function(ve,he){},Ge.prototype.colorChanged=function(ve){this.onColorChanged&&this.onColorChanged(ve),this.stateChanged()},Ge.prototype.fillColorChanged=function(ve){this.onFillColorChanged&&this.onFillColorChanged(ve),this.stateChanged()},Ge.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ve=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ve.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ve)&&this.onStateChanged(this)}},Ge.typeName="MarkerBase",Ge}(),wt=function(){function Ge(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Ge.prototype.findGripByVisual=function(ve){return this.topLeft.ownsTarget(ve)?this.topLeft:this.topCenter.ownsTarget(ve)?this.topCenter:this.topRight.ownsTarget(ve)?this.topRight:this.centerLeft.ownsTarget(ve)?this.centerLeft:this.centerRight.ownsTarget(ve)?this.centerRight:this.bottomLeft.ownsTarget(ve)?this.bottomLeft:this.bottomCenter.ownsTarget(ve)?this.bottomCenter:this.bottomRight.ownsTarget(ve)?this.bottomRight:void 0},Ge}(),Tt=function(){function Ge(){this.GRIP_SIZE=10,this.visual=ke.createGroup(),this.visual.appendChild(ke.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(ke.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Ge.prototype.ownsTarget=function(ve){return ve===this.visual||ve===this.visual.childNodes[0]||ve===this.visual.childNodes[1]},Ge}(),$e=function(){function Ge(){}return Ge.toITransformMatrix=function(ve){return{a:ve.a,b:ve.b,c:ve.c,d:ve.d,e:ve.e,f:ve.f}},Ge.toSVGMatrix=function(ve,he){return ve.a=he.a,ve.b=he.b,ve.c=he.c,ve.d=he.d,ve.e=he.e,ve.f=he.f,ve},Ge}(),ut=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||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(ke.createTransform()),se.setupControlBox(),se}return fe(ve,Ge),Object.defineProperty(ve.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"visual",{get:function(){return this._visual},set:function(he){this._visual=he;var be=ke.createTransform();this._visual.transform.baseVal.appendItem(be)},enumerable:!1,configurable:!0}),ve.prototype.ownsTarget=function(he){return!!Ge.prototype.ownsTarget.call(this,he)||!!(this.controlGrips.findGripByVisual(he)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(he))},ve.prototype.pointerDown=function(he,be){Ge.prototype.pointerDown.call(this,he,be),this.state==="new"&&(this.left=he.x,this.top=he.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var ge=this.unrotatePoint(he);if(this.manipulationStartX=ge.x,this.manipulationStartY=ge.y,this.offsetX=ge.x-this.left,this.offsetY=ge.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(be),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(be)){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 Ye=this.container.transform.baseVal.getItem(0);Ye.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Ye,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ve.prototype.pointerUp=function(he){var be=this.state;Ge.prototype.pointerUp.call(this,he),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(he),this._state="select",be==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ve.prototype.moveVisual=function(he){this.visual.style.transform="translate("+he.x+"px, "+he.y+"px)"},ve.prototype.manipulate=function(he){var be=this.unrotatePoint(he);this.state==="creating"?this.resize(he):this.state==="move"?(this.left=this.manipulationStartLeft+(be.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(be.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(be):this.state==="rotate"&&this.rotate(he)},ve.prototype.resize=function(he){var be=this.manipulationStartLeft,ge=this.manipulationStartWidth,se=this.manipulationStartTop,Ye=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:be=this.manipulationStartLeft+he.x-this.manipulationStartX,ge=this.manipulationStartWidth+this.manipulationStartLeft-be;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:ge=this.manipulationStartWidth+he.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:se=this.manipulationStartTop+he.y-this.manipulationStartY,Ye=this.manipulationStartHeight+this.manipulationStartTop-se;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Ye=this.manipulationStartHeight+he.y-this.manipulationStartY}ge>=0?(this.left=be,this.width=ge):(this.left=be+ge,this.width=-ge),Ye>=0?(this.top=se,this.height=Ye):(this.top=se+Ye,this.height=-Ye),this.setSize()},ve.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ve.prototype.rotate=function(he){if(Math.abs(he.x-this.centerX)>.1){var be=Math.sign(he.x-this.centerX);this.rotationAngle=180*Math.atan((he.y-this.centerY)/(he.x-this.centerX))/Math.PI+90*be,this.applyRotation()}},ve.prototype.applyRotation=function(){var he=this.container.transform.baseVal.getItem(0);he.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(he,0)},ve.prototype.rotatePoint=function(he){if(this.rotationAngle===0)return he;var be=this.container.getCTM(),ge=ke.createPoint(he.x,he.y);return{x:(ge=ge.matrixTransform(be)).x,y:ge.y}},ve.prototype.unrotatePoint=function(he){if(this.rotationAngle===0)return he;var be=this.container.getCTM();be=be.inverse();var ge=ke.createPoint(he.x,he.y);return{x:(ge=ge.matrixTransform(be)).x,y:ge.y}},ve.prototype.select=function(){Ge.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ve.prototype.deselect=function(){Ge.prototype.deselect.call(this),this.controlBox.style.display="none"},ve.prototype.setupControlBox=function(){this.controlBox=ke.createGroup();var he=ke.createTransform();he.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(he),this.container.appendChild(this.controlBox),this.controlRect=ke.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=ke.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 wt,this.addControlGrips(),this.controlBox.style.display="none"},ve.prototype.adjustControlBox=function(){var he=this.controlBox.transform.baseVal.getItem(0);he.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(he,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()},ve.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()},ve.prototype.createGrip=function(){var he=new Tt;return he.visual.transform.baseVal.appendItem(ke.createTransform()),this.controlBox.appendChild(he.visual),he},ve.prototype.positionGrips=function(){var he=this.controlGrips.topLeft.GRIP_SIZE,be=-he/2,ge=be,se=(this.width+this.CB_DISTANCE)/2-he/2,Ye=(this.height+this.CB_DISTANCE)/2-he/2,xt=this.height+this.CB_DISTANCE-he/2,pn=this.width+this.CB_DISTANCE-he/2;this.positionGrip(this.controlGrips.topLeft.visual,be,ge),this.positionGrip(this.controlGrips.topCenter.visual,se,ge),this.positionGrip(this.controlGrips.topRight.visual,pn,ge),this.positionGrip(this.controlGrips.centerLeft.visual,be,Ye),this.positionGrip(this.controlGrips.centerRight.visual,pn,Ye),this.positionGrip(this.controlGrips.bottomLeft.visual,be,xt),this.positionGrip(this.controlGrips.bottomCenter.visual,se,xt),this.positionGrip(this.controlGrips.bottomRight.visual,pn,xt),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,se,ge-3*this.CB_DISTANCE)},ve.prototype.positionGrip=function(he,be,ge){var se=he.transform.baseVal.getItem(0);se.setTranslate(be,ge),he.transform.baseVal.replaceItem(se,0)},ve.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ve.prototype.showControlBox=function(){this.controlBox.style.display=""},ve.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:$e.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:$e.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Ge.prototype.getState.call(this))},ve.prototype.restoreState=function(he){Ge.prototype.restoreState.call(this,he);var be=he;this.left=be.left,this.top=be.top,this.width=be.width,this.height=be.height,this.rotationAngle=be.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix($e.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,be.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix($e.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,be.containerTransformMatrix))},ve.prototype.scale=function(he,be){Ge.prototype.scale.call(this,he,be);var ge=this.rotatePoint({x:this.left,y:this.top}),se=this.unrotatePoint({x:ge.x*he,y:ge.y*be});this.left=se.x,this.top=se.y,this.width=this.width*he,this.height=this.height*be,this.adjustControlBox()},ve}(Ee),ye=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||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 fe(ve,Ge),ve.prototype.ownsTarget=function(he){return!(!Ge.prototype.ownsTarget.call(this,he)&&he!==this.visual)},ve.prototype.createVisual=function(){this.visual=ke.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)},ve.prototype.pointerDown=function(he,be){Ge.prototype.pointerDown.call(this,he,be),this.state==="new"&&(this.createVisual(),this.moveVisual(he),this._state="creating")},ve.prototype.manipulate=function(he){Ge.prototype.manipulate.call(this,he)},ve.prototype.resize=function(he){Ge.prototype.resize.call(this,he),this.setSize()},ve.prototype.setSize=function(){Ge.prototype.setSize.call(this),ke.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ve.prototype.pointerUp=function(he){Ge.prototype.pointerUp.call(this,he),this.setSize()},ve.prototype.setStrokeColor=function(he){this.strokeColor=he,this.visual&&ke.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(he),this.stateChanged()},ve.prototype.setFillColor=function(he){this.fillColor=he,this.visual&&ke.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ve.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.visual&&ke.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ve.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.visual&&ke.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ve.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ge.prototype.getState.call(this))},ve.prototype.restoreState=function(he){var be=he;this.fillColor=be.fillColor,this.strokeColor=be.strokeColor,this.strokeWidth=be.strokeWidth,this.strokeDasharray=be.strokeDasharray,this.opacity=be.opacity,this.createVisual(),Ge.prototype.restoreState.call(this,he),this.setSize()},ve.prototype.scale=function(he,be){Ge.prototype.scale.call(this,he,be),this.setSize()},ve.title="Rectangle marker",ve}(ut),ce=function(Ge){function ve(he,be,ge,se){var Ye=Ge.call(this,he,se||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return Ye.widths=[],Ye.widthBoxes=[],Ye.widths=be,Ye.currentWidth=ge,Ye.setCurrentWidth=Ye.setCurrentWidth.bind(Ye),Ye}return fe(ve,Ge),ve.prototype.getUi=function(){var he=this,be=document.createElement("div");return be.style.display="flex",be.style.overflow="hidden",be.style.flexGrow="2",this.widths.forEach(function(ge){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=ge===he.currentWidth?he.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){he.setCurrentWidth(ge,se)}),be.appendChild(se);var Ye=document.createElement("div");Ye.innerText=ge.toString(),Ye.style.marginRight="5px",se.appendChild(Ye);var xt=document.createElement("div");xt.style.minHeight="20px",xt.style.flexGrow="2",xt.style.display="flex",xt.style.alignItems="center";var pn=document.createElement("hr");pn.style.minWidth="20px",pn.style.border="0px",pn.style.borderTop=ge+"px solid "+he.uiStyleSettings.toolboxColor,pn.style.flexGrow="2",xt.appendChild(pn),se.appendChild(xt),he.widthBoxes.push(se)}),be},ve.prototype.setCurrentWidth=function(he,be){var ge=this;this.currentWidth=he,this.widthBoxes.forEach(function(se){se.style.borderColor=se===be?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ve}(ot),Xe=function(Ge){function ve(he,be,ge,se){var Ye=Ge.call(this,he,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 Ye.styles=[],Ye.styleBoxes=[],Ye.styles=be,Ye.currentStyle=ge,Ye.setCurrentStyle=Ye.setCurrentStyle.bind(Ye),Ye}return fe(ve,Ge),ve.prototype.getUi=function(){var he=this,be=document.createElement("div");return be.style.display="flex",be.style.overflow="hidden",be.style.flexGrow="2",this.styles.forEach(function(ge){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/he.styles.length-5+"%",se.style.borderColor=ge===he.currentStyle?he.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){he.setCurrentStyle(ge,se)}),be.appendChild(se);var Ye=document.createElement("div");Ye.style.minHeight="20px",Ye.style.flexGrow="2",Ye.style.overflow="hidden";var xt=`<svg width="100" height="20">
|
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+he.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(ge!==""?'stroke-dasharray="'+ge+'"':"")+` />
|
|
|
</svg>`;Ye.innerHTML=xt,se.appendChild(Ye),he.styleBoxes.push(se)}),be},ve.prototype.setCurrentStyle=function(he,be){var ge=this;this.currentStyle=he,this.styleBoxes.forEach(function(se){se.style.borderColor=se===be?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ve}(ot),et=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||this;return se.strokeColor=ge.defaultColor,se.strokeWidth=ge.defaultStrokeWidth,se.strokeDasharray=ge.defaultStrokeDasharray,se.strokePanel=new vt("Line color",ge.defaultColorSet,ge.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.strokeWidthPanel=new ce("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Xe("Line style",ge.defaultStrokeDasharrays,ge.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se}return fe(ve,Ge),Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Ge.prototype.getState.call(this);return he.typeName=ve.typeName,he},ve.typeName="FrameMarker",ve.title="Frame marker",ve.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ve}(ye),st=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"},ft=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||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 fe(ve,Ge),ve.prototype.ownsTarget=function(he){return!!Ge.prototype.ownsTarget.call(this,he)||!(!this.grip1.ownsTarget(he)&&!this.grip2.ownsTarget(he))},ve.prototype.pointerDown=function(he,be){Ge.prototype.pointerDown.call(this,he,be),this.manipulationStartX=he.x,this.manipulationStartY=he.y,this.state==="new"&&(this.x1=he.x,this.y1=he.y,this.x2=he.x,this.y2=he.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(be)?this.activeGrip=this.grip1:this.grip2.ownsTarget(be)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ve.prototype.pointerUp=function(he){var be=this.state;Ge.prototype.pointerUp.call(this,he),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(he),this._state="select",be==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ve.prototype.adjustVisual=function(){},ve.prototype.manipulate=function(he){this.state==="creating"?this.resize(he):this.state==="move"?(this.x1=this.manipulationStartX1+he.x-this.manipulationStartX,this.y1=this.manipulationStartY1+he.y-this.manipulationStartY,this.x2=this.manipulationStartX2+he.x-this.manipulationStartX,this.y2=this.manipulationStartY2+he.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(he)},ve.prototype.resize=function(he){switch(this.activeGrip){case this.grip1:this.x1=he.x,this.y1=he.y;break;case this.grip2:case void 0:this.x2=he.x,this.y2=he.y}this.adjustVisual(),this.adjustControlBox()},ve.prototype.select=function(){Ge.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ve.prototype.deselect=function(){Ge.prototype.deselect.call(this),this.controlBox.style.display="none"},ve.prototype.setupControlBox=function(){this.controlBox=ke.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ve.prototype.adjustControlBox=function(){this.positionGrips()},ve.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ve.prototype.createGrip=function(){var he=new Tt;return he.visual.transform.baseVal.appendItem(ke.createTransform()),this.controlBox.appendChild(he.visual),he},ve.prototype.positionGrips=function(){var he=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-he/2,this.y1-he/2),this.positionGrip(this.grip2.visual,this.x2-he/2,this.y2-he/2)},ve.prototype.positionGrip=function(he,be,ge){var se=he.transform.baseVal.getItem(0);se.setTranslate(be,ge),he.transform.baseVal.replaceItem(se,0)},ve.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Ge.prototype.getState.call(this))},ve.prototype.restoreState=function(he){Ge.prototype.restoreState.call(this,he);var be=he;this.x1=be.x1,this.y1=be.y1,this.x2=be.x2,this.y2=be.y2},ve.prototype.scale=function(he,be){Ge.prototype.scale.call(this,he,be),this.x1=this.x1*he,this.y1=this.y1*be,this.x2=this.x2*he,this.y2=this.y2*be,this.adjustVisual(),this.adjustControlBox()},ve}(Ee),Re=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||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=ge.defaultColor,se.strokeWidth=ge.defaultStrokeWidth,se.strokeDasharray=ge.defaultStrokeDasharray,se.strokePanel=new vt("Line color",ge.defaultColorSet,ge.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.strokeWidthPanel=new ce("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Xe("Line style",ge.defaultStrokeDasharrays,ge.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se}return fe(ve,Ge),ve.prototype.ownsTarget=function(he){return!(!Ge.prototype.ownsTarget.call(this,he)&&he!==this.visual&&he!==this.selectorLine&&he!==this.visibleLine)},ve.prototype.createVisual=function(){this.visual=ke.createGroup(),this.selectorLine=ke.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=ke.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)},ve.prototype.pointerDown=function(he,be){Ge.prototype.pointerDown.call(this,he,be),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ve.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()),ke.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),ke.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),ke.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ve.prototype.setStrokeColor=function(he){this.strokeColor=he,this.adjustVisual(),this.colorChanged(he)},ve.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.adjustVisual()},ve.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Ge.prototype.getState.call(this));return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){Ge.prototype.restoreState.call(this,he);var be=he;this.strokeColor=be.strokeColor,this.strokeWidth=be.strokeWidth,this.strokeDasharray=be.strokeDasharray,this.createVisual(),this.adjustVisual()},ve.typeName="LineMarker",ve.title="Line marker",ve.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ve}(ft),Be=function(Ge){function ve(he,be,ge,se){var Ye=Ge.call(this,he,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 Ye.fonts=[],Ye.fontBoxes=[],Ye.fonts=be,Ye.currentFont=ge,Ye.setCurrentFont=Ye.setCurrentFont.bind(Ye),Ye}return fe(ve,Ge),ve.prototype.getUi=function(){var he=this,be=document.createElement("div");return be.style.overflow="hidden",be.style.flexGrow="2",this.fonts.forEach(function(ge){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/he.fonts.length-5+"%",se.style.borderColor=ge===he.currentFont?he.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){he.setCurrentFont(ge,se)}),be.appendChild(se);var Ye=document.createElement("div");Ye.style.display="flex",Ye.style.minHeight="20px",Ye.style.flexGrow="2",Ye.style.fontFamily=ge,Ye.style.overflow="hidden";var xt=document.createElement("div");xt.style.whiteSpace="nowrap",xt.style.overflow="hidden",xt.style.textOverflow="ellipsis",xt.innerHTML="The quick brown fox jumps over the lazy dog",Ye.appendChild(xt),se.appendChild(Ye),he.fontBoxes.push(se)}),be},ve.prototype.setCurrentFont=function(he,be){var ge=this;this.currentFont=he,this.fontBoxes.forEach(function(se){se.style.borderColor=se===be?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ve}(ot),gt=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||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=ge.defaultColor,se.fontFamily=ge.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 vt("Color",ge.defaultColorSet,ge.defaultColor),se.colorPanel.onColorChanged=se.setColor,se.fontFamilyPanel=new Be("Font",ge.defaultFontFamilies,ge.defaultFontFamily),se.fontFamilyPanel.onFontChanged=se.setFont,se}return fe(ve,Ge),ve.prototype.ownsTarget=function(he){if(Ge.prototype.ownsTarget.call(this,he)||he===this.visual||he===this.textElement||he===this.bgRectangle)return!0;var be=!1;return this.textElement.childNodes.forEach(function(ge){ge===he&&(be=!0)}),be},ve.prototype.createVisual=function(){this.visual=ke.createGroup(),this.bgRectangle=ke.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=ke.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(ke.createTransform()),this.textElement.transform.baseVal.appendItem(ke.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ve.prototype.pointerDown=function(he,be){Ge.prototype.pointerDown.call(this,he,be),this.isMoved=!1,this.pointerDownPoint=he,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(he),this._state="creating")},ve.prototype.renderText=function(){var he=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(be){he.textElement.appendChild(ke.createTSpan(be.trim()===""?" ":be.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ve.prototype.getTextScale=function(){var he=this.textElement.getBBox(),be=1;if(he.width>0&&he.height>0){var ge=(1*this.width-this.width*this.padding*2/100)/he.width,se=(1*this.height-this.height*this.padding*2/100)/he.height;be=Math.min(ge,se)}return be},ve.prototype.getTextPosition=function(he){var be=this.textElement.getBBox(),ge=0,se=0;return be.width>0&&be.height>0&&(ge=(this.width-be.width*he)/2,se=this.height/2-be.height*he/2),{x:ge,y:se}},ve.prototype.sizeText=function(){var he=this.textElement.getBBox(),be=this.getTextScale(),ge=this.getTextPosition(be);ge.y-=he.y*be,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+ge.x+"px, "+ge.y+"px) scale("+be+", "+be+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(ge.x,ge.y),this.textElement.transform.baseVal.getItem(1).setScale(be,be))},ve.prototype.manipulate=function(he){Ge.prototype.manipulate.call(this,he),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(he.x-this.pointerDownPoint.x)>5||Math.abs(he.y-this.pointerDownPoint.y)>5)},ve.prototype.resize=function(he){Ge.prototype.resize.call(this,he),this.isMoved=!0,this.setSize(),this.sizeText()},ve.prototype.setSize=function(){Ge.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(ke.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ke.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ve.prototype.pointerUp=function(he){var be=this.state;be==="creating"&&(this._suppressMarkerCreateEvent=!0),Ge.prototype.pointerUp.call(this,he),this.setSize(),(be==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ve.prototype.showTextEditor=function(){var he=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(be){be.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var be=Number.parseFloat(he.textEditor.style.fontSize);he.textEditor.clientWidth>=Number.parseInt(he.textEditor.style.maxWidth)&&be>.9;)be-=.1,he.textEditor.style.fontSize=Math.max(be,.9)+"em"}),this.textEditor.addEventListener("keyup",function(be){be.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(be){if(be.clipboardData){var ge=be.clipboardData.getData("text"),se=window.getSelection();if(!se.rangeCount)return!1;se.deleteFromDocument(),se.getRangeAt(0).insertNode(document.createTextNode(ge)),be.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){he.textEditDivClicked(he.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ve.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var he=this.getTextScale(),be=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),ge=this.textElement.getBBox(),se={x:ge.width*he,y:ge.height*he};be.x-=se.x/2,be.y-=se.y/2,this.textEditor.style.top=be.y+"px",this.textEditor.style.left=be.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-be.x+"px",this.textEditor.style.fontSize=Math.max(16*he,12)+"px",this.textElement.style.display="none"}},ve.prototype.textEditDivClicked=function(he){this.text=he.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ve.prototype.select=function(){Ge.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ve.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Ge.prototype.deselect.call(this)},ve.prototype.dblClick=function(he,be){Ge.prototype.dblClick.call(this,he,be),this.showTextEditor()},ve.prototype.setColor=function(he){this.textElement&&ke.setAttributes(this.textElement,[["fill",he]]),this.color=he,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(he)},ve.prototype.setFont=function(he){this.textElement&&ke.setAttributes(this.textElement,[["font-family",he]]),this.fontFamily=he,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ve.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ve.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Ge.prototype.getState.call(this));return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){var be=he;this.color=be.color,this.fontFamily=be.fontFamily,this.padding=be.padding,this.text=be.text,this.createVisual(),Ge.prototype.restoreState.call(this,he),this.setSize()},ve.prototype.scale=function(he,be){Ge.prototype.scale.call(this,he,be),this.setSize(),this.sizeText(),this.positionTextEditor()},ve.typeName="TextMarker",ve.title="Text marker",ve.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>',ve}(ut),ze=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||this;return se.color="transparent",se.lineWidth=3,se.drawing=!1,se.pixelRatio=1,se.color=ge.defaultColor,se.lineWidth=ge.defaultStrokeWidth,se.pixelRatio=ge.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 vt("Color",ge.defaultColorSet,ge.defaultColor),se.colorPanel.onColorChanged=se.setColor,se.lineWidthPanel=new ce("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),se.lineWidthPanel.onWidthChanged=se.setLineWidth,se}return fe(ve,Ge),ve.prototype.ownsTarget=function(he){return!(!Ge.prototype.ownsTarget.call(this,he)&&he!==this.visual&&he!==this.drawingImage)},ve.prototype.createVisual=function(){this.visual=ke.createGroup(),this.drawingImage=ke.createImage(),this.visual.appendChild(this.drawingImage);var he=ke.createTransform();this.visual.transform.baseVal.appendItem(he),this.addMarkerVisualToContainer(this.visual)},ve.prototype.pointerDown=function(he,be){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(he.x,he.y),this.drawing=!0):Ge.prototype.pointerDown.call(this,he,be)},ve.prototype.manipulate=function(he){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(he.x,he.y),this.canvasContext.stroke()):Ge.prototype.manipulate.call(this,he)},ve.prototype.resize=function(he){Ge.prototype.resize.call(this,he),ke.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ke.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ve.prototype.pointerUp=function(he){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Ge.prototype.pointerUp.call(this,he)},ve.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)},ve.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Ge.prototype.select.call(this)},ve.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Ge.prototype.deselect.call(this)},ve.prototype.finishCreation=function(){for(var he=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),be=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],ge=be[0],se=be[1],Ye=be[2],xt=be[3],pn=!1,on=0;on<this.canvasElement.height;on++)for(var In=0;In<this.canvasElement.width;In++)he.data[on*this.canvasElement.width*4+4*In+3]>0&&(pn=!0,on<se&&(se=on),In<ge&&(ge=In),on>xt&&(xt=on),In>Ye&&(Ye=In));if(pn){this.left=ge/this.pixelRatio,this.top=se/this.pixelRatio,this.width=(Ye-ge)/this.pixelRatio,this.height=(xt-se)/this.pixelRatio;var Qn=document.createElement("canvas");Qn.width=Ye-ge,Qn.height=xt-se,Qn.getContext("2d").putImageData(this.canvasContext.getImageData(ge,se,Ye-ge,xt-se),0,0),this.drawingImgUrl=Qn.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ve.prototype.setDrawingImage=function(){ke.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),ke.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ve.prototype.setColor=function(he){this.color=he,this.colorChanged(he)},ve.prototype.setLineWidth=function(he){this.lineWidth=he},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Object.assign({drawingImgUrl:this.drawingImgUrl},Ge.prototype.getState.call(this));return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){this.createVisual(),Ge.prototype.restoreState.call(this,he),this.drawingImgUrl=he.drawingImgUrl,this.setDrawingImage()},ve.prototype.scale=function(he,be){Ge.prototype.scale.call(this,he,be),this.setDrawingImage()},ve.typeName="FreehandMarker",ve.title="Freehand marker",ve.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>',ve}(ut),ct=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,ge||'<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=be,se.setCurrentType=se.setCurrentType.bind(se),se}return fe(ve,Ge),ve.prototype.getUi=function(){var he=this,be=document.createElement("div");be.style.display="flex",be.style.overflow="hidden",be.style.flexGrow="2";for(var ge=function(xt){var pn="both";switch(xt){case 0:pn="both";break;case 1:pn="start";break;case 2:pn="end";break;case 3:pn="none"}var on=document.createElement("div");if(on.style.display="flex",on.style.flexGrow="2",on.style.alignItems="center",on.style.justifyContent="space-between",on.style.padding="5px",on.style.borderWidth="2px",on.style.borderStyle="solid",on.style.borderColor=pn===se.currentType?se.uiStyleSettings.toolboxAccentColor:"transparent",on.addEventListener("click",function(){he.setCurrentType(pn,on)}),be.appendChild(on),pn==="both"||pn==="start"){var In=document.createElement("div");In.style.display="flex",In.style.alignItems="center",In.style.minHeight="20px",In.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>`,In.style.marginLeft="5px",on.appendChild(In)}var Qn=document.createElement("div");Qn.style.display="flex",Qn.style.alignItems="center",Qn.style.minHeight="20px",Qn.style.flexGrow="2";var _n=document.createElement("hr");if(_n.style.minWidth="20px",_n.style.border="0px",_n.style.borderTop="3px solid "+(se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxColor:"#eeeeee"),_n.style.flexGrow="2",Qn.appendChild(_n),on.appendChild(Qn),pn==="both"||pn==="end"){var Vt=document.createElement("div");Vt.style.display="flex",Vt.style.alignItems="center",Vt.style.minHeight="20px",Vt.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>`,Vt.style.marginRight="5px",on.appendChild(Vt)}se.typeBoxes.push(on)},se=this,Ye=0;Ye<4;Ye++)ge(Ye);return be},ve.prototype.setCurrentType=function(he,be){var ge=this;this.currentType=he,this.typeBoxes.forEach(function(se){se.style.borderColor=se===be?ge.uiStyleSettings!==void 0?ge.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ve}(ot),nt=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||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 ct("Arrow type","end"),se.arrowTypePanel.onArrowTypeChanged=se.setArrowType,se}return fe(ve,Ge),ve.prototype.ownsTarget=function(he){return!(!Ge.prototype.ownsTarget.call(this,he)&&he!==this.arrow1&&he!==this.arrow2)},ve.prototype.getArrowPoints=function(he,be){var ge=this.arrowBaseWidth+2*this.strokeWidth,se=this.arrowBaseHeight+2*this.strokeWidth;return he-ge/2+","+(be+se/2)+" "+he+","+(be-se/2)+" "+(he+ge/2)+","+(be+se/2)},ve.prototype.createTips=function(){this.arrow1=ke.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(ke.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=ke.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(ke.createTransform()),this.visual.appendChild(this.arrow2)},ve.prototype.pointerDown=function(he,be){Ge.prototype.pointerDown.call(this,he,be),this.state==="creating"&&this.createTips()},ve.prototype.adjustVisual=function(){if(Ge.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",ke.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),ke.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var he=0;Math.abs(this.x1-this.x2)>.1&&(he=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var be=this.arrow1.transform.baseVal.getItem(0);be.setRotate(he,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(be,0);var ge=this.arrow2.transform.baseVal.getItem(0);ge.setRotate(he+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(ge,0)}},ve.prototype.setArrowType=function(he){this.arrowType=he,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Object.assign({arrowType:this.arrowType},Ge.prototype.getState.call(this));return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){Ge.prototype.restoreState.call(this,he);var be=he;this.arrowType=be.arrowType,this.createTips(),this.adjustVisual()},ve.typeName="ArrowMarker",ve.title="Arrow marker",ve.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ve}(Re),Ot=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||this;return se.fillColor=ge.defaultFillColor,se.strokeWidth=0,se.fillPanel=new vt("Color",ge.defaultColorSet,ge.defaultFillColor),se.fillPanel.onColorChanged=se.setFillColor,se}return fe(ve,Ge),Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Ge.prototype.getState.call(this);return he.typeName=ve.typeName,he},ve.typeName="CoverMarker",ve.title="Cover marker",ve.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ve}(ye),Rt=function(Ge){function ve(he,be,ge,se){var Ye=Ge.call(this,he,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 Ye.opacities=[],Ye.opacityBoxes=[],Ye.opacities=be,Ye.currentOpacity=ge,Ye.setCurrentOpacity=Ye.setCurrentOpacity.bind(Ye),Ye}return fe(ve,Ge),ve.prototype.getUi=function(){var he=this,be=document.createElement("div");return be.style.display="flex",be.style.overflow="hidden",be.style.flexGrow="2",be.style.justifyContent="space-between",this.opacities.forEach(function(ge){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=ge===he.currentOpacity?he.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){he.setCurrentOpacity(ge,se)}),be.appendChild(se);var Ye=document.createElement("div");Ye.innerText=100*ge+"%",se.appendChild(Ye),he.opacityBoxes.push(se)}),be},ve.prototype.setCurrentOpacity=function(he,be){var ge=this;this.currentOpacity=he,this.opacityBoxes.forEach(function(se){se.style.borderColor=se===be?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ve}(ot),an=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||this;return se.setOpacity=se.setOpacity.bind(se),se.fillColor=ge.defaultHighlightColor,se.strokeWidth=0,se.opacity=ge.defaultHighlightOpacity,se.fillPanel=new vt("Color",ge.defaultColorSet,se.fillColor),se.fillPanel.onColorChanged=se.setFillColor,se.opacityPanel=new Rt("Opacity",ge.defaultOpacitySteps,se.opacity),se.opacityPanel.onOpacityChanged=se.setOpacity,se}return fe(ve,Ge),ve.prototype.setOpacity=function(he){this.opacity=he,this.visual&&ke.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Ge.prototype.getState.call(this);return he.typeName=ve.typeName,he},ve.typeName="HighlightMarker",ve.title="Highlight marker",ve.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>',ve}(Ot),ht='<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>',Ne='<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>',At=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||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=ge.defaultStrokeColor,se.bgColor=ge.defaultFillColor,se.fontFamily=ge.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 vt("Text color",ge.defaultColorSet,se.color,ht),se.colorPanel.onColorChanged=se.setColor,se.bgColorPanel=new vt("Fill color",ge.defaultColorSet,se.bgColor,Ne),se.bgColorPanel.onColorChanged=se.setBgColor,se.fontFamilyPanel=new Be("Font",ge.defaultFontFamilies,ge.defaultFontFamily),se.fontFamilyPanel.onFontChanged=se.setFont,se.tipGrip=new Tt,se.tipGrip.visual.transform.baseVal.appendItem(ke.createTransform()),se.controlBox.appendChild(se.tipGrip.visual),se}return fe(ve,Ge),ve.prototype.ownsTarget=function(he){return Ge.prototype.ownsTarget.call(this,he)||this.tipGrip.ownsTarget(he)||this.tip===he},ve.prototype.createTip=function(){ke.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=ke.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ve.prototype.pointerDown=function(he,be){this.state==="new"&&Ge.prototype.pointerDown.call(this,he,be),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(be)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Ge.prototype.pointerDown.call(this,he,be)},ve.prototype.pointerUp=function(he){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Ge.prototype.pointerUp.call(this,he);else{var be=this.state==="creating";Ge.prototype.pointerUp.call(this,he),this.setTipPoints(be),this.positionTip()}},ve.prototype.manipulate=function(he){if(this.tipMoving){var be=this.unrotatePoint(he);this.tipPosition={x:be.x-this.manipulationStartLeft,y:be.y-this.manipulationStartTop},this.positionTip()}else Ge.prototype.manipulate.call(this,he)},ve.prototype.setBgColor=function(he){this.bgRectangle&&this.tip&&(ke.setAttributes(this.bgRectangle,[["fill",he]]),ke.setAttributes(this.tip,[["fill",he]])),this.bgColor=he,this.fillColorChanged(he)},ve.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},ve.prototype.setTipPoints=function(he){he===void 0&&(he=!1);var be=Math.min(this.height/2,15),ge=this.height/5;he&&(this.tipPosition={x:be+ge/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))?(ge=this.width/5,be=Math.min(this.width/2,15),this.tipBase1Position={x:be,y:0},this.tipBase2Position={x:be+ge,y:0}):(this.tipBase1Position={x:0,y:be},this.tipBase2Position={x:0,y:be+ge}):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))?(ge=this.width/5,be=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-be-ge,y:0},this.tipBase2Position={x:this.width-be,y:0}):(this.tipBase1Position={x:this.width,y:be},this.tipBase2Position={x:this.width,y:be+ge}):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))?(ge=this.width/5,be=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-be-ge,y:this.height},this.tipBase2Position={x:this.width-be,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-be-ge},this.tipBase2Position={x:this.width,y:this.height-be}):se<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(ge=this.width/5,be=Math.min(this.width/2,15),this.tipBase1Position={x:be,y:this.height},this.tipBase2Position={x:be+ge,y:this.height}):(this.tipBase1Position={x:0,y:this.height-be},this.tipBase2Position={x:0,y:this.height-be-ge})},ve.prototype.resize=function(he){Ge.prototype.resize.call(this,he),this.positionTip()},ve.prototype.positionTip=function(){ke.setAttributes(this.tip,[["points",this.getTipPoints()]]);var he=this.tipGrip.visual.transform.baseVal.getItem(0);he.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(he,0)},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ve.prototype.select=function(){this.positionTip(),Ge.prototype.select.call(this)},ve.prototype.getState=function(){var he=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},Ge.prototype.getState.call(this));return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){var be=he;this.bgColor=be.bgColor,this.tipPosition=be.tipPosition,Ge.prototype.restoreState.call(this,he),this.createTip(),this.setTipPoints()},ve.prototype.scale=function(he,be){Ge.prototype.scale.call(this,he,be),this.tipPosition={x:this.tipPosition.x*he,y:this.tipPosition.y*be},this.positionTip()},ve.typeName="CalloutMarker",ve.title="Callout marker",ve.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>',ve}(gt),An=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||this;return se.fillColor="transparent",se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.opacity=1,se.strokeColor=ge.defaultColor,se.strokeWidth=ge.defaultStrokeWidth,se.strokeDasharray=ge.defaultStrokeDasharray,se.fillColor=ge.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 vt("Line color",we(ge.defaultColorSet,["transparent"]),ge.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.fillPanel=new vt("Fill color",we(ge.defaultColorSet,["transparent"]),se.fillColor,Ne),se.fillPanel.onColorChanged=se.setFillColor,se.strokeWidthPanel=new ce("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Xe("Line style",ge.defaultStrokeDasharrays,ge.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se.opacityPanel=new Rt("Opacity",ge.defaultOpacitySteps,se.opacity),se.opacityPanel.onOpacityChanged=se.setOpacity,se}return fe(ve,Ge),ve.prototype.ownsTarget=function(he){return!(!Ge.prototype.ownsTarget.call(this,he)&&he!==this.visual)},ve.prototype.createVisual=function(){this.visual=ke.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)},ve.prototype.pointerDown=function(he,be){Ge.prototype.pointerDown.call(this,he,be),this.state==="new"&&(this.createVisual(),this.moveVisual(he),this._state="creating")},ve.prototype.manipulate=function(he){Ge.prototype.manipulate.call(this,he)},ve.prototype.resize=function(he){Ge.prototype.resize.call(this,he),this.setSize()},ve.prototype.setSize=function(){Ge.prototype.setSize.call(this),ke.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ve.prototype.pointerUp=function(he){Ge.prototype.pointerUp.call(this,he),this.setSize()},ve.prototype.setStrokeColor=function(he){this.strokeColor=he,this.visual&&ke.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(he),this.stateChanged()},ve.prototype.setFillColor=function(he){this.fillColor=he,this.visual&&ke.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(he),this.stateChanged()},ve.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.visual&&ke.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ve.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.visual&&ke.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ve.prototype.setOpacity=function(he){this.opacity=he,this.visual&&ke.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ge.prototype.getState.call(this));return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){var be=he;this.fillColor=be.fillColor,this.strokeColor=be.strokeColor,this.strokeWidth=be.strokeWidth,this.strokeDasharray=be.strokeDasharray,this.opacity=be.opacity,this.createVisual(),Ge.prototype.restoreState.call(this,he),this.setSize()},ve.prototype.scale=function(he,be){Ge.prototype.scale.call(this,he,be),this.setSize()},ve.typeName="EllipseMarker",ve.title="Ellipse marker",ve.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>',ve}(ut),jt=function(Ge){function ve(he,be,ge){return Ge.call(this,he,be,ge)||this}return fe(ve,Ge),Object.defineProperty(ve.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ve.prototype.ownsTarget=function(he){return!(!Ge.prototype.ownsTarget.call(this,he)&&he!==this.tip1&&he!==this.tip2)},ve.prototype.createTips=function(){this.tip1=ke.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(ke.createTransform()),this.visual.appendChild(this.tip1),this.tip2=ke.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(ke.createTransform()),this.visual.appendChild(this.tip2)},ve.prototype.pointerDown=function(he,be){Ge.prototype.pointerDown.call(this,he,be),this.state==="creating"&&this.createTips()},ve.prototype.adjustVisual=function(){if(Ge.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(ke.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()]]),ke.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 he=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),be=this.tip1.transform.baseVal.getItem(0);be.setRotate(he,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(be,0);var ge=this.tip2.transform.baseVal.getItem(0);ge.setRotate(he+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(ge,0)}},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Ge.prototype.getState.call(this);return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){Ge.prototype.restoreState.call(this,he),this.createTips(),this.adjustVisual()},ve.typeName="MeasurementMarker",ve.title="Measurement marker",ve.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>',ve}(Re),Mt=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||this;return se.strokePanel.colors=ge.defaultColorSet,se.fillColor="transparent",se}return fe(ve,Ge),Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Ge.prototype.getState.call(this);return he.typeName=ve.typeName,he},ve.typeName="EllipseFrameMarker",ve.title="Ellipse frame marker",ve.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>',ve}(An),Kt=function(){function Ge(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Ge.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Ge.prototype.addUndoStep=function(ve){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ve)||(this.undoStack.push(ve),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ve)&&this.redoStack.splice(0,this.redoStack.length))},Ge.prototype.replaceLastUndoStep=function(ve){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ve)},Ge.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Ge.prototype.undo=function(){if(this.undoStack.length>1){var ve=this.undoStack.pop();return ve!==void 0&&this.redoStack.push(ve),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Ge.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Ge}(),sn=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||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=ge.defaultColor,se.strokeWidth=ge.defaultStrokeWidth,se.strokeDasharray=ge.defaultStrokeDasharray,se.strokePanel=new vt("Line color",ge.defaultColorSet,ge.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.strokeWidthPanel=new ce("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Xe("Line style",ge.defaultStrokeDasharrays,ge.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se}return fe(ve,Ge),ve.prototype.ownsTarget=function(he){return!(!Ge.prototype.ownsTarget.call(this,he)&&he!==this.visual&&he!==this.selectorCurve&&he!==this.visibleCurve&&!this.curveGrip.ownsTarget(he))},ve.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ve.prototype.createVisual=function(){this.visual=ke.createGroup(),this.selectorCurve=ke.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=ke.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)},ve.prototype.pointerDown=function(he,be){Ge.prototype.pointerDown.call(this,he,be),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=he.x,this.curveY=he.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(be)&&(this.activeGrip=this.curveGrip,this._state="resize")},ve.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),ke.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),ke.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),ke.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ve.prototype.setupControlBox=function(){Ge.prototype.setupControlBox.call(this),this.curveControlLine1=ke.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=ke.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)},ve.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Ge.prototype.addControlGrips.call(this)},ve.prototype.positionGrips=function(){Ge.prototype.positionGrips.call(this);var he=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-he/2,this.curveY-he/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()))},ve.prototype.manipulate=function(he){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+he.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+he.y-this.manipulationStartY),Ge.prototype.manipulate.call(this,he)},ve.prototype.resize=function(he){this.activeGrip===this.curveGrip&&(this.curveX=he.x,this.curveY=he.y),Ge.prototype.resize.call(this,he),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ve.prototype.setStrokeColor=function(he){this.strokeColor=he,this.adjustVisual(),this.colorChanged(he)},ve.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.adjustVisual()},ve.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.adjustVisual()},ve.prototype.scale=function(he,be){this.curveX=this.curveX*he,this.curveY=this.curveY*be,Ge.prototype.scale.call(this,he,be)},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Ge.prototype.getState.call(this));return he.typeName=ve.typeName,he},ve.prototype.restoreState=function(he){Ge.prototype.restoreState.call(this,he);var be=he;this.strokeColor=be.strokeColor,this.strokeWidth=be.strokeWidth,this.strokeDasharray=be.strokeDasharray,this.curveX=be.curveX,this.curveY=be.curveY,this.createVisual(),this.adjustVisual()},ve.typeName="CurveMarker",ve.title="Curve marker",ve.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>',ve}(ft),wn=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,be,ge)||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=ge.defaultColor,se.strokeWidth=ge.defaultStrokeWidth,se.strokeDasharray=ge.defaultStrokeDasharray,se.fillColor=ge.defaultFillColor,se.textColor=ge.defaultStrokeColor,se.fontFamily=ge.defaultFontFamily,se.fontSize=ge.defaultCaptionFontSize,se.captionText=ge.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 vt("Line color",we(ge.defaultColorSet,["transparent"]),se.strokeColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.fillPanel=new vt("Fill color",we(ge.defaultColorSet,["transparent"]),se.fillColor,Ne),se.fillPanel.onColorChanged=se.setFillColor,se.strokeWidthPanel=new ce("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Xe("Line style",ge.defaultStrokeDasharrays,ge.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se.fontFamilyPanel=new Be("Font",ge.defaultFontFamilies,ge.defaultFontFamily),se.fontFamilyPanel.onFontChanged=se.setFont,se.textColorPanel=new vt("Text color",ge.defaultColorSet,se.textColor,ht),se.textColorPanel.onColorChanged=se.setTextColor,se}return fe(ve,Ge),ve.prototype.ownsTarget=function(he){return!(!Ge.prototype.ownsTarget.call(this,he)&&he!==this.visual&&he!==this.frame&&he!==this.captionBg&&he!==this.captionElement)},ve.prototype.createVisual=function(){this.visual=ke.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=ke.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=ke.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=ke.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()},ve.prototype.setCaptionText=function(he){this.captionText=he,this.captionElement.textContent=this.captionText,this.sizeCaption()},ve.prototype.pointerDown=function(he,be){Ge.prototype.pointerDown.call(this,he,be),this.isMoved=!1,this.pointerDownPoint=he,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(he),this._state="creating")},ve.prototype.manipulate=function(he){Ge.prototype.manipulate.call(this,he),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(he.x-this.pointerDownPoint.x)>5||Math.abs(he.y-this.pointerDownPoint.y)>5)},ve.prototype.resize=function(he){Ge.prototype.resize.call(this,he),this.setSize()},ve.prototype.sizeCaption=function(){var he=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=he.width+2*this.PADDING,this.captionBoxHeight=he.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),ke.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')"]]),ke.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')"]])},ve.prototype.showTextEditor=function(){var he=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(be){be.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(be){be.key==="Enter"&&he.finishTextEditing(he.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(be){be.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){he.finishTextEditing(he.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){he.finishTextEditing(he.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ve.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"))},ve.prototype.finishTextEditing=function(he){this.setCaptionText(he.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ve.prototype.setFont=function(he){this.captionElement&&ke.setAttributes(this.captionElement,[["font-family",he]]),this.fontFamily=he,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ve.prototype.setTextColor=function(he){this.captionElement&&ke.setAttributes(this.captionElement,[["fill",he]]),this.textColor=he,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ve.prototype.setSize=function(){Ge.prototype.setSize.call(this),ke.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ve.prototype.pointerUp=function(he){Ge.prototype.pointerUp.call(this,he),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ve.prototype.dblClick=function(he,be){Ge.prototype.dblClick.call(this,he,be),this.showTextEditor()},ve.prototype.setStrokeColor=function(he){this.strokeColor=he,this.frame&&ke.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(he),this.stateChanged()},ve.prototype.setFillColor=function(he){this.fillColor=he,this.captionBg&&ke.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(he),this.stateChanged()},ve.prototype.setStrokeWidth=function(he){this.strokeWidth=he,this.frame&&ke.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ve.prototype.setStrokeDasharray=function(he){this.strokeDasharray=he,this.frame&&ke.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ve.prototype.getState=function(){var he=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},Ge.prototype.getState.call(this));return he.typeName=this.typeName,he},ve.prototype.restoreState=function(he){var be=he;this.fillColor=be.fillColor,this.strokeColor=be.strokeColor,this.strokeWidth=be.strokeWidth,this.strokeDasharray=be.strokeDasharray,this.textColor=be.textColor,this.fontFamily=be.fontFamily,this.captionText=be.captionText,this.fontSize=be.fontSize,this.createVisual(),Ge.prototype.restoreState.call(this,he),this.setSize()},ve.prototype.scale=function(he,be){Ge.prototype.scale.call(this,he,be),this.setSize()},ve.typeName="CaptionFrameMarker",ve.title="Caption frame marker",ve.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>',ve}(ut),vn=function(){function Ge(ve,he){he===void 0&&(he=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ve,this.cancelable=he}return Object.defineProperty(Ge.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Ge.prototype.preventDefault=function(){this._defaultPrevented=!0},Ge}(),cn=function(Ge){function ve(he,be,ge){var se=Ge.call(this,he,!1)||this;return se.dataUrl=be,se.state=ge,se}return fe(ve,Ge),ve}(vn),Nn=function(Ge){function ve(he,be,ge){ge===void 0&&(ge=!1);var se=Ge.call(this,he,ge)||this;return se.marker=be,se}return fe(ve,Ge),ve}(vn),dr=function(){function Ge(){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 Ge.prototype.addEventListener=function(ve,he){this[ve].push(he)},Ge.prototype.removeEventListener=function(ve,he){var be=this[ve].indexOf(he);be>-1&&this[ve].splice(be,1)},Ge}(),En=function(){function Ge(ve){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new st,this._isOpen=!1,this.undoRedoManager=new Kt,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 dr,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Ge.instanceCounter++,this.styles=new Pe(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ve,this.targetRoot=document.body,this.width=ve.clientWidth,this.height=ve.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(Ge.prototype,"ALL_MARKER_TYPES",{get:function(){return[et,ze,nt,gt,Mt,An,an,At,jt,Ot,Re,sn,wn]},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[et,ze,nt,gt,An,an,At]},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"BASIC_MARKER_TYPES",{get:function(){return[et,ze,nt,gt,an]},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ve){var he=this;this._availableMarkerTypes.splice(0),ve.forEach(function(be){if(typeof be=="string"){var ge=he.ALL_MARKER_TYPES.find(function(se){return se.typeName===be});ge!==void 0&&he._availableMarkerTypes.push(ge)}else he._availableMarkerTypes.push(be)})},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ge.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ve){this._zoomLevel=ve,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(Ge.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Ge.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),de.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Ge.prototype.show=function(){var ve=this;this.styles.styleSheetRoot===void 0&&me.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=me.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(he){return he(new vn(ve))})},Ge.prototype.render=function(){return De(this,void 0,void 0,function(){var ve;return qe(this,function(he){switch(he.label){case 0:return this.setCurrentMarker(),(ve=new Se).naturalSize=this.renderAtNaturalSize,ve.imageType=this.renderImageType,ve.imageQuality=this.renderImageQuality,ve.markersOnly=this.renderMarkersOnly,ve.width=this.renderWidth,ve.height=this.renderHeight,[4,ve.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return he.sent(),[4,ve.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,he.sent()]}})})},Ge.prototype.close=function(ve){var he=this;if(ve===void 0&&(ve=!1),this.isOpen){var be=!1;ve||this.eventListeners.beforeclose.forEach(function(ge){var se=new vn(he,!0);ge(se),se.defaultPrevented&&(be=!0)}),be||(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(ge){return ge(new vn(he))}),this.detachEvents(),this._isOpen=!1)}},Ge.prototype.addMarkersToToolbar=function(){for(var ve,he=[],be=0;be<arguments.length;be++)he[be]=arguments[be];(ve=this._availableMarkerTypes).push.apply(ve,he)},Ge.prototype.addRenderEventListener=function(ve){this.addEventListener("render",function(he){ve(he.dataUrl,he.state)})},Ge.prototype.removeRenderEventListener=function(ve){},Ge.prototype.addCloseEventListener=function(ve){this.addEventListener("close",function(){ve()})},Ge.prototype.removeCloseEventListener=function(ve){},Ge.prototype.setupResizeObserver=function(){var ve=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ve.resize(ve.target.clientWidth,ve.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ve.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},Ge.prototype.onPopupTargetResize=function(){var ve=1*this.target.clientWidth/this.target.clientHeight,he=this.editorCanvas.clientWidth/ve>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ve:this.editorCanvas.clientWidth,be=he<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ve;this.resize(he,be)},Ge.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},Ge.prototype.resize=function(ve,he){this._isResizing=!0;var be=ve/this.imageWidth,ge=he/this.imageHeight;this.imageWidth=Math.round(ve),this.imageHeight=Math.round(he),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(be,ge),this._isResizing=!1},Ge.prototype.scaleMarkers=function(ve,he){var be,ge=this;this._currentMarker&&this._currentMarker instanceof gt?this._currentMarker.scale(ve,he):(be=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(se){se!==ge._currentMarker&&se.scale(ve,he)}),be!==void 0&&this.setCurrentMarker(be)},Ge.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"},Ge.prototype.setTopLeft=function(){var ve=this.editingTarget.getBoundingClientRect(),he=this.editorCanvas.getBoundingClientRect();this.left=ve.left-he.left,this.top=ve.top-he.top},Ge.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)},Ge.prototype.addDefs=function(){for(var ve,he=[],be=0;be<arguments.length;be++)he[be]=arguments[be];this.defs=ke.createDefs(),this.addDefsToImage(),(ve=this.defs).append.apply(ve,he)},Ge.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},Ge.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)},Ge.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},Ge.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},Ge.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)},Ge.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},Ge.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)},Ge.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 ve=document.createElement("a");ve.href="https://markerjs.com/",ve.target="_blank",ve.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>',ve.title="Powered by marker.js",ve.style.display="grid",ve.style.alignItems="center",ve.style.justifyItems="center",ve.style.padding="3px",ve.style.width="20px",ve.style.height="20px",this.logoUI.appendChild(ve),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Ge.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")},Ge.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"},Ge.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Ge.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 ve=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=ve+"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 Ue(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 mt(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},Ge.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},Ge.prototype.removeMarker=function(ve){this.markerImage.removeChild(ve.container),this.markers.indexOf(ve)>-1&&this.markers.splice(this.markers.indexOf(ve),1),ve.dispose()},Ge.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())},Ge.prototype.toolbarButtonClicked=function(ve,he){if(ve==="marker"&&he!==void 0)this.createNewMarker(he);else if(ve==="action")switch(he){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()}},Ge.prototype.deleteSelectedMarker=function(){var ve=this;if(this._currentMarker!==void 0){var he=!1;if(this.eventListeners.markerbeforedelete.forEach(function(ge){var se=new Nn(ve,ve._currentMarker,!0);ge(se),se.defaultPrevented&&(he=!0)}),!he){var be=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(ge){return ge(new Nn(ve,be))})}}},Ge.prototype.clear=function(){var ve=this,he=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Ye){var xt=new Nn(ve,void 0,!0);Ye(xt),xt.defaultPrevented&&(he=!0)}),!he)){this.setCurrentMarker();for(var be=function(Ye){var xt=ge.markers[Ye];ge.setCurrentMarker(ge.markers[Ye]),ge._currentMarker.dispose(),ge.markerImage.removeChild(ge._currentMarker.container),ge.markers.splice(ge.markers.indexOf(ge._currentMarker),1),ge.eventListeners.markerdelete.forEach(function(pn){return pn(new Nn(ve,xt))})},ge=this,se=this.markers.length-1;se>=0;se--)be(se);this.addUndoStep()}},Object.defineProperty(Ge.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Ge.prototype.showNotesEditor=function(){var ve;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=(ve=this._currentMarker.notes)!==null&&ve!==void 0?ve:"",this.overlayContainer.appendChild(this.notesArea))},Ge.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)},Ge.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Ge.prototype.addUndoStep=function(){var ve=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var he=this.getState(),be=this.undoRedoManager.getLastUndoStep();if(!be||be.width===he.width&&be.height===he.height){var ge=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(he),ge<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(se){return se(new vn(ve))})}else this.undoRedoManager.replaceLastUndoStep(he),this.eventListeners.statechange.forEach(function(se){return se(new vn(ve))})}},Ge.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},Ge.prototype.undoStep=function(){var ve=this,he=this.undoRedoManager.undo();he!==void 0&&(this.restoreState(he),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(be){return be(new vn(ve))}))},Ge.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},Ge.prototype.redoStep=function(){var ve=this,he=this.undoRedoManager.redo();he!==void 0&&(this.restoreState(he),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(be){return be(new vn(ve))}))},Ge.prototype.stepZoom=function(){var ve=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ve<this.zoomSteps.length-1?this.zoomSteps[ve+1]:this.zoomSteps[0]},Ge.prototype.panTo=function(ve){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ve.x,top:this.prevPanPoint.y-ve.y}),this.prevPanPoint=ve},Ge.prototype.startRenderAndClose=function(){return De(this,void 0,void 0,function(){var ve,he,be=this;return qe(this,function(ge){switch(ge.label){case 0:return[4,this.render()];case 1:return ve=ge.sent(),he=this.getState(),this.eventListeners.render.forEach(function(se){return se(new cn(be,ve,he))}),this.close(!0),[2]}})})},Ge.prototype.getState=function(ve){ve===!0&&this.setCurrentMarker();var he={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(be){return he.markers.push(be.getState())}),he},Ge.prototype.restoreState=function(ve){var he=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ve.markers.forEach(function(be){var ge=he._availableMarkerTypes.find(function(Ye){return Ye.typeName===be.typeName});if(ge!==void 0){var se=he.addNewMarker(ge);se.restoreState(be),he.markers.push(se)}}),ve.width&&ve.height&&(ve.width!==this.imageWidth||ve.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ve.width,this.imageHeight/ve.height),this.eventListeners.restorestate.forEach(function(be){return be(new vn(he))})},Ge.prototype.addNewMarker=function(ve){var he=ke.createGroup();return this.markerImage.appendChild(he),new ve(he,this.overlayContainer,this.settings)},Ge.prototype.createNewMarker=function(ve){var he,be=this;(he=typeof ve=="string"?this._availableMarkerTypes.find(function(ge){return ge.typeName===ve}):ve)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(he),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(he.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(ge){return ge(new Nn(be,be._currentMarker))}))},Ge.prototype.markerCreated=function(ve){var he=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ve),this.setCurrentMarker(ve),ve instanceof ze&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(ze):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(be){return be(new Nn(he,he._currentMarker))})},Ge.prototype.colorChanged=function(ve){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ve,this.settings.defaultStrokeColor=ve)},Ge.prototype.fillColorChanged=function(ve){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ve)},Ge.prototype.markerStateChanged=function(ve){var he=this;this.eventListeners.markerchange.forEach(function(be){return be(new Nn(he,ve))})},Ge.prototype.setCurrentMarker=function(ve){var he=this;this._currentMarker!==ve&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(be){return be(new Nn(he,he._currentMarker))})),this._currentMarker=ve,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(be){return be(new Nn(he,he._currentMarker))}))},Ge.prototype.onPointerDown=function(ve){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ve.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var he=this.markers.find(function(be){return be.ownsTarget(ve.target)});he!==void 0?(this.setCurrentMarker(he),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ve.clientX,ve.clientY),ve.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ve.clientX,y:ve.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ve.clientX,ve.clientY))},Ge.prototype.onDblClick=function(ve){if(this._isFocused||this.focus(),this.mode==="select"){var he=this.markers.find(function(be){return be.ownsTarget(ve.target)});he!==void 0&&he!==this._currentMarker&&this.setCurrentMarker(he),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ve.clientX,ve.clientY),ve.target):this.setCurrentMarker()}},Ge.prototype.onPointerMove=function(ve){this.touchPoints!==1&&ve.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ve.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ve.clientX,ve.clientY)):this.zoomLevel>1&&this.panTo({x:ve.clientX,y:ve.clientY}))},Ge.prototype.onPointerUp=function(ve){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ve.clientX,ve.clientY)),this.isDragging=!1,this.addUndoStep()},Ge.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Ge.prototype.onKeyUp=function(ve){this._currentMarker===void 0||this.notesArea!==void 0||ve.key!=="Delete"&&ve.key!=="Backspace"||this.deleteSelectedMarker()},Ge.prototype.clientToLocalCoordinates=function(ve,he){var be=this.markerImage.getBoundingClientRect();return{x:(ve-be.left)/this.zoomLevel,y:(he-be.top)/this.zoomLevel}},Ge.prototype.onWindowResize=function(){this.positionUI()},Ge.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ve=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ve+"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()},Ge.prototype.addLicenseKey=function(ve){de.addKey(ve)},Ge.prototype.addEventListener=function(ve,he){this.eventListeners.addEventListener(ve,he)},Ge.prototype.removeEventListener=function(ve,he){this.eventListeners.removeEventListener(ve,he)},Ge.prototype.renderState=function(ve){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ve),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Ge.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Ge.prototype.focus=function(){var ve=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(he){return he(new vn(ve))}))},Ge.prototype.blur=function(){var ve=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(he){return he(new vn(ve))}))},Ge.instanceCounter=0,Ge}()},42767:function(Hn,ln){"use strict";var ee;var ne=typeof Symbol=="function"&&Symbol.for,fe=ne?Symbol.for("react.element"):60103,De=ne?Symbol.for("react.portal"):60106,qe=ne?Symbol.for("react.fragment"):60107,we=ne?Symbol.for("react.strict_mode"):60108,ke=ne?Symbol.for("react.profiler"):60114,de=ne?Symbol.for("react.provider"):60109,Se=ne?Symbol.for("react.context"):60110,me=ne?Symbol.for("react.async_mode"):60111,Pe=ne?Symbol.for("react.concurrent_mode"):60111,rt=ne?Symbol.for("react.forward_ref"):60112,ue=ne?Symbol.for("react.suspense"):60113,Ue=ne?Symbol.for("react.suspense_list"):60120,mt=ne?Symbol.for("react.memo"):60115,ot=ne?Symbol.for("react.lazy"):60116,vt=ne?Symbol.for("react.block"):60121,Ee=ne?Symbol.for("react.fundamental"):60117,wt=ne?Symbol.for("react.responder"):60118,Tt=ne?Symbol.for("react.scope"):60119;function $e(ye){if(typeof ye=="object"&&ye!==null){var ce=ye.$$typeof;switch(ce){case fe:switch(ye=ye.type,ye){case me:case Pe:case qe:case ke:case we:case ue:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case Se:case rt:case ot:case mt:case de:return ye;default:return ce}}case De:return ce}}}function ut(ye){return $e(ye)===Pe}ee=me,ee=Pe,ee=Se,ee=de,ee=fe,ee=rt,ee=qe,ee=ot,ee=mt,ee=De,ee=ke,ee=we,ee=ue,ee=function(ye){return ut(ye)||$e(ye)===me},ee=ut,ee=function(ye){return $e(ye)===Se},ee=function(ye){return $e(ye)===de},ee=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===fe},ee=function(ye){return $e(ye)===rt},ln.isFragment=function(ye){return $e(ye)===qe},ee=function(ye){return $e(ye)===ot},ee=function(ye){return $e(ye)===mt},ee=function(ye){return $e(ye)===De},ee=function(ye){return $e(ye)===ke},ee=function(ye){return $e(ye)===we},ee=function(ye){return $e(ye)===ue},ee=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===qe||ye===Pe||ye===ke||ye===we||ye===ue||ye===Ue||typeof ye=="object"&&ye!==null&&(ye.$$typeof===ot||ye.$$typeof===mt||ye.$$typeof===de||ye.$$typeof===Se||ye.$$typeof===rt||ye.$$typeof===Ee||ye.$$typeof===wt||ye.$$typeof===Tt||ye.$$typeof===vt)},ee=$e},16357:function(Hn,ln,ee){"use strict";Hn.exports=ee(42767)},95860:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return $e}});var ne=ee(87462),fe=ee(1413),De=ee(4942),qe=ee(97685),we=ee(45987),ke=ee(94184),de=ee.n(ke),Se=ee(67294);function me(ut){var ye=Se.useRef();ye.current=ut;var ce=Se.useCallback(function(){for(var Xe,et=arguments.length,st=new Array(et),ft=0;ft<et;ft++)st[ft]=arguments[ft];return(Xe=ye.current)===null||Xe===void 0?void 0:Xe.call.apply(Xe,[ye].concat(st))},[]);return ce}function Pe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var rt=Pe()?Se.useLayoutEffect:Se.useEffect,ue=function(ye,ce){var Xe=Se.useRef(!0);rt(function(){return ye(Xe.current)},ce),rt(function(){return Xe.current=!1,function(){Xe.current=!0}},[])},Ue=function(ye,ce){ue(function(Xe){if(!Xe)return ye()},ce)},mt=null;function ot(ut){var ye=Se.useRef(!1),ce=Se.useState(ut),Xe=(0,qe.Z)(ce,2),et=Xe[0],st=Xe[1];Se.useEffect(function(){return ye.current=!1,function(){ye.current=!0}},[]);function ft(Re,Be){Be&&ye.current||st(Re)}return[et,ft]}function vt(ut){return ut!==void 0}function Ee(ut,ye){var ce=ye||{},Xe=ce.defaultValue,et=ce.value,st=ce.onChange,ft=ce.postState,Re=ot(function(){return vt(et)?et:vt(Xe)?typeof Xe=="function"?Xe():Xe:typeof ut=="function"?ut():ut}),Be=(0,qe.Z)(Re,2),gt=Be[0],ze=Be[1],ct=et!==void 0?et:gt,nt=ft?ft(ct):ct,Ot=me(st),Rt=ot([ct]),an=(0,qe.Z)(Rt,2),ht=an[0],Ne=an[1];Ue(function(){var An=ht[0];gt!==An&&Ot(gt,An)},[ht]),Ue(function(){vt(et)||ze(et)},[et]);var At=me(function(An,jt){ze(An,jt),Ne([ct],jt)});return[nt,At]}var wt=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],Tt=(0,Se.forwardRef)(function(ut,ye){var ce,Xe=ut.prefixCls,et=Xe===void 0?"rc-checkbox":Xe,st=ut.className,ft=ut.style,Re=ut.checked,Be=ut.disabled,gt=ut.defaultChecked,ze=gt===void 0?!1:gt,ct=ut.type,nt=ct===void 0?"checkbox":ct,Ot=ut.title,Rt=ut.onChange,an=(0,we.Z)(ut,wt),ht=(0,Se.useRef)(null),Ne=Ee(ze,{value:Re}),At=(0,qe.Z)(Ne,2),An=At[0],jt=At[1];(0,Se.useImperativeHandle)(ye,function(){return{focus:function(){var wn;(wn=ht.current)===null||wn===void 0||wn.focus()},blur:function(){var wn;(wn=ht.current)===null||wn===void 0||wn.blur()},input:ht.current}});var Mt=de()(et,st,(ce={},(0,De.Z)(ce,"".concat(et,"-checked"),An),(0,De.Z)(ce,"".concat(et,"-disabled"),Be),ce)),Kt=function(wn){Be||("checked"in ut||jt(wn.target.checked),Rt==null||Rt({target:(0,fe.Z)((0,fe.Z)({},ut),{},{type:nt,checked:wn.target.checked}),stopPropagation:function(){wn.stopPropagation()},preventDefault:function(){wn.preventDefault()},nativeEvent:wn.nativeEvent}))};return Se.createElement("span",{className:Mt,title:Ot,style:ft},Se.createElement("input",(0,ne.Z)({},an,{className:"".concat(et,"-input"),ref:ht,onChange:Kt,disabled:Be,checked:!!An,type:nt})),Se.createElement("span",{className:"".concat(et,"-inner")}))}),$e=Tt},26819:function(Hn,ln){"use strict";var ee;var ne=typeof Symbol=="function"&&Symbol.for,fe=ne?Symbol.for("react.element"):60103,De=ne?Symbol.for("react.portal"):60106,qe=ne?Symbol.for("react.fragment"):60107,we=ne?Symbol.for("react.strict_mode"):60108,ke=ne?Symbol.for("react.profiler"):60114,de=ne?Symbol.for("react.provider"):60109,Se=ne?Symbol.for("react.context"):60110,me=ne?Symbol.for("react.async_mode"):60111,Pe=ne?Symbol.for("react.concurrent_mode"):60111,rt=ne?Symbol.for("react.forward_ref"):60112,ue=ne?Symbol.for("react.suspense"):60113,Ue=ne?Symbol.for("react.suspense_list"):60120,mt=ne?Symbol.for("react.memo"):60115,ot=ne?Symbol.for("react.lazy"):60116,vt=ne?Symbol.for("react.block"):60121,Ee=ne?Symbol.for("react.fundamental"):60117,wt=ne?Symbol.for("react.responder"):60118,Tt=ne?Symbol.for("react.scope"):60119;function $e(ye){if(typeof ye=="object"&&ye!==null){var ce=ye.$$typeof;switch(ce){case fe:switch(ye=ye.type,ye){case me:case Pe:case qe:case ke:case we:case ue:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case Se:case rt:case ot:case mt:case de:return ye;default:return ce}}case De:return ce}}}function ut(ye){return $e(ye)===Pe}ee=me,ee=Pe,ee=Se,ee=de,ee=fe,ee=rt,ee=qe,ee=ot,ee=mt,ee=De,ee=ke,ee=we,ee=ue,ee=function(ye){return ut(ye)||$e(ye)===me},ee=ut,ee=function(ye){return $e(ye)===Se},ee=function(ye){return $e(ye)===de},ee=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===fe},ee=function(ye){return $e(ye)===rt},ee=function(ye){return $e(ye)===qe},ee=function(ye){return $e(ye)===ot},ln.isMemo=function(ye){return $e(ye)===mt},ee=function(ye){return $e(ye)===De},ee=function(ye){return $e(ye)===ke},ee=function(ye){return $e(ye)===we},ee=function(ye){return $e(ye)===ue},ee=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===qe||ye===Pe||ye===ke||ye===we||ye===ue||ye===Ue||typeof ye=="object"&&ye!==null&&(ye.$$typeof===ot||ye.$$typeof===mt||ye.$$typeof===de||ye.$$typeof===Se||ye.$$typeof===rt||ye.$$typeof===Ee||ye.$$typeof===wt||ye.$$typeof===Tt||ye.$$typeof===vt)},ee=$e},18459:function(Hn,ln,ee){"use strict";Hn.exports=ee(26819)},16651:function(Hn,ln){"use strict";var ee;var ne=Symbol.for("react.element"),fe=Symbol.for("react.portal"),De=Symbol.for("react.fragment"),qe=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),de=Symbol.for("react.context"),Se=Symbol.for("react.server_context"),me=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),rt=Symbol.for("react.suspense_list"),ue=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),mt=Symbol.for("react.offscreen"),ot;ot=Symbol.for("react.module.reference");function vt(Ee){if(typeof Ee=="object"&&Ee!==null){var wt=Ee.$$typeof;switch(wt){case ne:switch(Ee=Ee.type,Ee){case De:case we:case qe:case Pe:case rt:return Ee;default:switch(Ee=Ee&&Ee.$$typeof,Ee){case Se:case de:case me:case Ue:case ue:case ke:return Ee;default:return wt}}case fe:return wt}}}ee=de,ee=ke,ee=ne,ee=me,ee=De,ee=Ue,ee=ue,ee=fe,ee=we,ee=qe,ee=Pe,ee=rt,ee=function(){return!1},ee=function(){return!1},ee=function(Ee){return vt(Ee)===de},ee=function(Ee){return vt(Ee)===ke},ee=function(Ee){return typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===ne},ee=function(Ee){return vt(Ee)===me},ee=function(Ee){return vt(Ee)===De},ee=function(Ee){return vt(Ee)===Ue},ee=function(Ee){return vt(Ee)===ue},ee=function(Ee){return vt(Ee)===fe},ee=function(Ee){return vt(Ee)===we},ee=function(Ee){return vt(Ee)===qe},ee=function(Ee){return vt(Ee)===Pe},ee=function(Ee){return vt(Ee)===rt},ee=function(Ee){return typeof Ee=="string"||typeof Ee=="function"||Ee===De||Ee===we||Ee===qe||Ee===Pe||Ee===rt||Ee===mt||typeof Ee=="object"&&Ee!==null&&(Ee.$$typeof===Ue||Ee.$$typeof===ue||Ee.$$typeof===ke||Ee.$$typeof===de||Ee.$$typeof===me||Ee.$$typeof===ot||Ee.getModuleId!==void 0)},ee=vt},33993:function(Hn,ln,ee){"use strict";ee(16651)},82523:function(Hn,ln){"use strict";var ee;var ne=Symbol.for("react.element"),fe=Symbol.for("react.portal"),De=Symbol.for("react.fragment"),qe=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),de=Symbol.for("react.context"),Se=Symbol.for("react.server_context"),me=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),rt=Symbol.for("react.suspense_list"),ue=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),mt=Symbol.for("react.offscreen"),ot;ot=Symbol.for("react.module.reference");function vt(Ee){if(typeof Ee=="object"&&Ee!==null){var wt=Ee.$$typeof;switch(wt){case ne:switch(Ee=Ee.type,Ee){case De:case we:case qe:case Pe:case rt:return Ee;default:switch(Ee=Ee&&Ee.$$typeof,Ee){case Se:case de:case me:case Ue:case ue:case ke:return Ee;default:return wt}}case fe:return wt}}}ee=de,ee=ke,ee=ne,ee=me,ee=De,ee=Ue,ee=ue,ee=fe,ee=we,ee=qe,ee=Pe,ee=rt,ee=function(){return!1},ee=function(){return!1},ee=function(Ee){return vt(Ee)===de},ee=function(Ee){return vt(Ee)===ke},ee=function(Ee){return typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===ne},ee=function(Ee){return vt(Ee)===me},ee=function(Ee){return vt(Ee)===De},ee=function(Ee){return vt(Ee)===Ue},ee=function(Ee){return vt(Ee)===ue},ee=function(Ee){return vt(Ee)===fe},ee=function(Ee){return vt(Ee)===we},ee=function(Ee){return vt(Ee)===qe},ee=function(Ee){return vt(Ee)===Pe},ee=function(Ee){return vt(Ee)===rt},ee=function(Ee){return typeof Ee=="string"||typeof Ee=="function"||Ee===De||Ee===we||Ee===qe||Ee===Pe||Ee===rt||Ee===mt||typeof Ee=="object"&&Ee!==null&&(Ee.$$typeof===Ue||Ee.$$typeof===ue||Ee.$$typeof===ke||Ee.$$typeof===de||Ee.$$typeof===me||Ee.$$typeof===ot||Ee.getModuleId!==void 0)},ee=vt},27183:function(Hn,ln,ee){"use strict";ee(82523)},67656:function(Hn,ln,ee){"use strict";ee.r(ln),ee.d(ln,{BaseInput:function(){return Pe},default:function(){return Tt}});var ne=ee(87462),fe=ee(1413),De=ee(4942),qe=ee(71002),we=ee(94184),ke=ee.n(we),de=ee(67294),Se=ee(87887),me=function(ut){var ye,ce,Xe=ut.inputElement,et=ut.prefixCls,st=ut.prefix,ft=ut.suffix,Re=ut.addonBefore,Be=ut.addonAfter,gt=ut.className,ze=ut.style,ct=ut.disabled,nt=ut.readOnly,Ot=ut.focused,Rt=ut.triggerFocus,an=ut.allowClear,ht=ut.value,Ne=ut.handleReset,At=ut.hidden,An=ut.classes,jt=ut.classNames,Mt=ut.dataAttrs,Kt=ut.styles,sn=ut.components,wn=(sn==null?void 0:sn.affixWrapper)||"span",vn=(sn==null?void 0:sn.groupWrapper)||"span",cn=(sn==null?void 0:sn.wrapper)||"span",Nn=(sn==null?void 0:sn.groupAddon)||"span",dr=(0,de.useRef)(null),En=function(Qn){var _n;(_n=dr.current)!==null&&_n!==void 0&&_n.contains(Qn.target)&&(Rt==null||Rt())},Ge=function(){var Qn;if(!an)return null;var _n=!ct&&!nt&&ht,Vt="".concat(et,"-clear-icon"),gn=(0,qe.Z)(an)==="object"&&an!==null&&an!==void 0&&an.clearIcon?an.clearIcon:"\u2716";return de.createElement("span",{onClick:Ne,onMouseDown:function(Tn){return Tn.preventDefault()},className:ke()(Vt,(Qn={},(0,De.Z)(Qn,"".concat(Vt,"-hidden"),!_n),(0,De.Z)(Qn,"".concat(Vt,"-has-suffix"),!!ft),Qn)),role:"button",tabIndex:-1},gn)},ve=(0,de.cloneElement)(Xe,{value:ht,hidden:At,className:ke()((ye=Xe.props)===null||ye===void 0?void 0:ye.className,!(0,Se.X3)(ut)&&!(0,Se.He)(ut)&>)||null,style:(0,fe.Z)((0,fe.Z)({},(ce=Xe.props)===null||ce===void 0?void 0:ce.style),!(0,Se.X3)(ut)&&!(0,Se.He)(ut)?ze:{})});if((0,Se.X3)(ut)){var he,be="".concat(et,"-affix-wrapper"),ge=ke()(be,(he={},(0,De.Z)(he,"".concat(be,"-disabled"),ct),(0,De.Z)(he,"".concat(be,"-focused"),Ot),(0,De.Z)(he,"".concat(be,"-readonly"),nt),(0,De.Z)(he,"".concat(be,"-input-with-clear-btn"),ft&&an&&ht),he),!(0,Se.He)(ut)&>,An==null?void 0:An.affixWrapper,jt==null?void 0:jt.affixWrapper),se=(ft||an)&&de.createElement("span",{className:ke()("".concat(et,"-suffix"),jt==null?void 0:jt.suffix),style:Kt==null?void 0:Kt.suffix},Ge(),ft);ve=de.createElement(wn,(0,ne.Z)({className:ge,style:(0,fe.Z)((0,fe.Z)({},(0,Se.He)(ut)?void 0:ze),Kt==null?void 0:Kt.affixWrapper),hidden:!(0,Se.He)(ut)&&At,onClick:En},Mt==null?void 0:Mt.affixWrapper,{ref:dr}),st&&de.createElement("span",{className:ke()("".concat(et,"-prefix"),jt==null?void 0:jt.prefix),style:Kt==null?void 0:Kt.prefix},st),(0,de.cloneElement)(Xe,{value:ht,hidden:null}),se)}if((0,Se.He)(ut)){var Ye="".concat(et,"-group"),xt="".concat(Ye,"-addon"),pn=ke()("".concat(et,"-wrapper"),Ye,An==null?void 0:An.wrapper),on=ke()("".concat(et,"-group-wrapper"),gt,An==null?void 0:An.group);return de.createElement(vn,{className:on,style:ze,hidden:At},de.createElement(cn,{className:pn},Re&&de.createElement(Nn,{className:xt},Re),(0,de.cloneElement)(ve,{hidden:null}),Be&&de.createElement(Nn,{className:xt},Be)))}return ve},Pe=me,rt=ee(74902),ue=ee(97685),Ue=ee(45987),mt=ee(21770),ot=ee(98423),vt=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],Ee=(0,de.forwardRef)(function($e,ut){var ye=$e.autoComplete,ce=$e.onChange,Xe=$e.onFocus,et=$e.onBlur,st=$e.onPressEnter,ft=$e.onKeyDown,Re=$e.prefixCls,Be=Re===void 0?"rc-input":Re,gt=$e.disabled,ze=$e.htmlSize,ct=$e.className,nt=$e.maxLength,Ot=$e.suffix,Rt=$e.showCount,an=$e.type,ht=an===void 0?"text":an,Ne=$e.classes,At=$e.classNames,An=$e.styles,jt=(0,Ue.Z)($e,vt),Mt=(0,mt.Z)($e.defaultValue,{value:$e.value}),Kt=(0,ue.Z)(Mt,2),sn=Kt[0],wn=Kt[1],vn=(0,de.useState)(!1),cn=(0,ue.Z)(vn,2),Nn=cn[0],dr=cn[1],En=(0,de.useRef)(null),Ge=function(on){En.current&&(0,Se.nH)(En.current,on)};(0,de.useImperativeHandle)(ut,function(){return{focus:Ge,blur:function(){var on;(on=En.current)===null||on===void 0||on.blur()},setSelectionRange:function(on,In,Qn){var _n;(_n=En.current)===null||_n===void 0||_n.setSelectionRange(on,In,Qn)},select:function(){var on;(on=En.current)===null||on===void 0||on.select()},input:En.current}}),(0,de.useEffect)(function(){dr(function(pn){return pn&>?!1:pn})},[gt]);var ve=function(on){$e.value===void 0&&wn(on.target.value),En.current&&(0,Se.rJ)(En.current,on,ce)},he=function(on){st&&on.key==="Enter"&&st(on),ft==null||ft(on)},be=function(on){dr(!0),Xe==null||Xe(on)},ge=function(on){dr(!1),et==null||et(on)},se=function(on){wn(""),Ge(),En.current&&(0,Se.rJ)(En.current,on,ce)},Ye=function(){var on=(0,ot.Z)($e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return de.createElement("input",(0,ne.Z)({autoComplete:ye},on,{onChange:ve,onFocus:be,onBlur:ge,onKeyDown:he,className:ke()(Be,(0,De.Z)({},"".concat(Be,"-disabled"),gt),At==null?void 0:At.input),style:An==null?void 0:An.input,ref:En,size:ze,type:ht}))},xt=function(){var on=Number(nt)>0;if(Ot||Rt){var In=(0,Se.D7)(sn),Qn=(0,rt.Z)(In).length,_n=(0,qe.Z)(Rt)==="object"?Rt.formatter({value:In,count:Qn,maxLength:nt}):"".concat(Qn).concat(on?" / ".concat(nt):"");return de.createElement(de.Fragment,null,!!Rt&&de.createElement("span",{className:ke()("".concat(Be,"-show-count-suffix"),(0,De.Z)({},"".concat(Be,"-show-count-has-suffix"),!!Ot),At==null?void 0:At.count),style:(0,fe.Z)({},An==null?void 0:An.count)},_n),Ot)}return null};return de.createElement(Pe,(0,ne.Z)({},jt,{prefixCls:Be,className:ct,inputElement:Ye(),handleReset:se,value:(0,Se.D7)(sn),focused:Nn,triggerFocus:Ge,suffix:xt(),disabled:gt,classes:Ne,classNames:At,styles:An}))}),wt=Ee,Tt=wt},87887:function(Hn,ln,ee){"use strict";ee.d(ln,{D7:function(){return we},He:function(){return ne},X3:function(){return fe},nH:function(){return qe},rJ:function(){return De}});function ne(ke){return!!(ke.addonBefore||ke.addonAfter)}function fe(ke){return!!(ke.prefix||ke.suffix||ke.allowClear)}function De(ke,de,Se,me){if(Se){var Pe=de;if(de.type==="click"){var rt=ke.cloneNode(!0);Pe=Object.create(de,{target:{value:rt},currentTarget:{value:rt}}),rt.value="",Se(Pe);return}if(me!==void 0){Pe=Object.create(de,{target:{value:ke},currentTarget:{value:ke}}),ke.value=me,Se(Pe);return}Se(Pe)}}function qe(ke,de){if(ke){ke.focus(de);var Se=de||{},me=Se.cursor;if(me){var Pe=ke.value.length;switch(me){case"start":ke.setSelectionRange(0,0);break;case"end":ke.setSelectionRange(Pe,Pe);break;default:ke.setSelectionRange(0,Pe)}}}}function we(ke){return typeof ke=="undefined"||ke===null?"":String(ke)}},78595:function(Hn,ln,ee){"use strict";ee.d(ln,{iz:function(){return di},ck:function(){return ho},BW:function(){return Ui},sN:function(){return ho},Wd:function(){return mr},ZP:function(){return Oe},Xl:function(){return _n}});var ne=ee(87462),fe=ee(4942),De=ee(1413),qe=ee(74902),we=ee(97685),ke=ee(45987),de=ee(94184),Se=ee.n(de),me=ee(67294),Pe=ee(48555);function rt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ue=rt()?me.useLayoutEffect:me.useEffect,Ue=function(Ke,Qe){var at=me.useRef(!0);ue(function(){return Ke(at.current)},Qe),ue(function(){return at.current=!1,function(){at.current=!0}},[])},mt=function(Ke,Qe){Ue(function(at){if(!at)return Ke()},Qe)},ot=Ue,vt=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Ee=void 0;function wt(Ae,Ke){var Qe=Ae.prefixCls,at=Ae.invalidate,pt=Ae.item,$t=Ae.renderItem,tn=Ae.responsive,Yn=Ae.responsiveDisabled,fr=Ae.registerSize,Cr=Ae.itemKey,Dn=Ae.className,qn=Ae.style,Xn=Ae.children,Ar=Ae.display,Or=Ae.order,Kr=Ae.component,Tr=Kr===void 0?"div":Kr,_r=(0,ke.Z)(Ae,vt),Zr=tn&&!Ar;function qr(xr){fr(Cr,xr)}me.useEffect(function(){return function(){qr(null)}},[]);var Dt=$t&&pt!==Ee?$t(pt):Xn,Pt;at||(Pt={opacity:Zr?0:1,height:Zr?0:Ee,overflowY:Zr?"hidden":Ee,order:tn?Or:Ee,pointerEvents:Zr?"none":Ee,position:Zr?"absolute":Ee});var Kn={};Zr&&(Kn["aria-hidden"]=!0);var Bn=me.createElement(Tr,(0,ne.Z)({className:Se()(!at&&Qe,Dn),style:(0,De.Z)((0,De.Z)({},Pt),qn)},Kn,_r,{ref:Ke}),Dt);return tn&&(Bn=me.createElement(Pe.Z,{onResize:function(zr){var Lr=zr.offsetWidth;qr(Lr)},disabled:Yn},Bn)),Bn}var Tt=me.forwardRef(wt);Tt.displayName="Item";var $e=Tt;function ut(Ae){var Ke=me.useRef();Ke.current=Ae;var Qe=me.useCallback(function(){for(var at,pt=arguments.length,$t=new Array(pt),tn=0;tn<pt;tn++)$t[tn]=arguments[tn];return(at=Ke.current)===null||at===void 0?void 0:at.call.apply(at,[Ke].concat($t))},[]);return Qe}var ye=ee(73935),ce=function(Ke){return+setTimeout(Ke,16)},Xe=function(Ke){return clearTimeout(Ke)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ce=function(Ke){return window.requestAnimationFrame(Ke)},Xe=function(Ke){return window.cancelAnimationFrame(Ke)});var et=0,st=new Map;function ft(Ae){st.delete(Ae)}var Re=function(Ke){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;et+=1;var at=et;function pt($t){if($t===0)ft(at),Ke();else{var tn=ce(function(){pt($t-1)});st.set(at,tn)}}return pt(Qe),at};Re.cancel=function(Ae){var Ke=st.get(Ae);return ft(Ke),Xe(Ke)};var Be=Re;function gt(Ae){if(typeof MessageChannel=="undefined")Be(Ae);else{var Ke=new MessageChannel;Ke.port1.onmessage=function(){return Ae()},Ke.port2.postMessage(void 0)}}function ze(){var Ae=me.useRef(null),Ke=function(at){Ae.current||(Ae.current=[],gt(function(){(0,ye.unstable_batchedUpdates)(function(){Ae.current.forEach(function(pt){pt()}),Ae.current=null})})),Ae.current.push(at)};return Ke}function ct(Ae,Ke){var Qe=me.useState(Ke),at=(0,we.Z)(Qe,2),pt=at[0],$t=at[1],tn=ut(function(Yn){Ae(function(){$t(Yn)})});return[pt,tn]}var nt=me.createContext(null),Ot=["component"],Rt=["className"],an=["className"],ht=function(Ke,Qe){var at=me.useContext(nt);if(!at){var pt=Ke.component,$t=pt===void 0?"div":pt,tn=(0,ke.Z)(Ke,Ot);return me.createElement($t,(0,ne.Z)({},tn,{ref:Qe}))}var Yn=at.className,fr=(0,ke.Z)(at,Rt),Cr=Ke.className,Dn=(0,ke.Z)(Ke,an);return me.createElement(nt.Provider,{value:null},me.createElement($e,(0,ne.Z)({ref:Qe,className:Se()(Yn,Cr)},fr,Dn)))},Ne=me.forwardRef(ht);Ne.displayName="RawItem";var At=Ne,An=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],jt="responsive",Mt="invalidate";function Kt(Ae){return"+ ".concat(Ae.length," ...")}function sn(Ae,Ke){var Qe=Ae.prefixCls,at=Qe===void 0?"rc-overflow":Qe,pt=Ae.data,$t=pt===void 0?[]:pt,tn=Ae.renderItem,Yn=Ae.renderRawItem,fr=Ae.itemKey,Cr=Ae.itemWidth,Dn=Cr===void 0?10:Cr,qn=Ae.ssr,Xn=Ae.style,Ar=Ae.className,Or=Ae.maxCount,Kr=Ae.renderRest,Tr=Ae.renderRawRest,_r=Ae.suffix,Zr=Ae.component,qr=Zr===void 0?"div":Zr,Dt=Ae.itemComponent,Pt=Ae.onVisibleChange,Kn=(0,ke.Z)(Ae,An),Bn=qn==="full",xr=ze(),zr=ct(xr,null),Lr=(0,we.Z)(zr,2),ca=Lr[0],un=Lr[1],Jt=ca||0,yn=ct(xr,new Map),lr=(0,we.Z)(yn,2),Xr=lr[0],Ir=lr[1],yr=ct(xr,0),ba=(0,we.Z)(yr,2),va=ba[0],Oa=ba[1],da=ct(xr,0),Ur=(0,we.Z)(da,2),Wa=Ur[0],ai=Ur[1],_a=ct(xr,0),Va=(0,we.Z)(_a,2),ei=Va[0],Yi=Va[1],Ei=(0,me.useState)(null),Wi=(0,we.Z)(Ei,2),Gi=Wi[0],po=Wi[1],Qi=(0,me.useState)(null),So=(0,we.Z)(Qi,2),Ki=So[0],Ai=So[1],ko=me.useMemo(function(){return Ki===null&&Bn?Number.MAX_SAFE_INTEGER:Ki||0},[Ki,ca]),Bo=(0,me.useState)(!1),zi=(0,we.Z)(Bo,2),gl=zi[0],El=zi[1],il="".concat(at,"-item"),Vo=Math.max(va,Wa),go=Or===jt,_l=$t.length&&go,jo=Or===Mt,mo=_l||typeof Or=="number"&&$t.length>Or,el=(0,me.useMemo)(function(){var Go=$t;return _l?ca===null&&Bn?Go=$t:Go=$t.slice(0,Math.min($t.length,Jt/Dn)):typeof Or=="number"&&(Go=$t.slice(0,Or)),Go},[$t,Dn,ca,Or,_l]),Vl=(0,me.useMemo)(function(){return _l?$t.slice(ko+1):$t.slice(el.length)},[$t,el,_l,ko]),fl=(0,me.useCallback)(function(Go,ol){var Wl;return typeof fr=="function"?fr(Go):(Wl=fr&&(Go==null?void 0:Go[fr]))!==null&&Wl!==void 0?Wl:ol},[fr]),Dl=(0,me.useCallback)(tn||function(Go){return Go},[tn]);function Oo(Go,ol,Wl){Ki===Go&&(ol===void 0||ol===Gi)||(Ai(Go),Wl||(El(Go<$t.length-1),Pt==null||Pt(Go)),ol!==void 0&&po(ol))}function jl(Go,ol){un(ol.clientWidth)}function ls(Go,ol){Ir(function(Wl){var Xl=new Map(Wl);return ol===null?Xl.delete(Go):Xl.set(Go,ol),Xl})}function Ql(Go,ol){ai(ol),Oa(Wa)}function Al(Go,ol){Yi(ol)}function Tl(Go){return Xr.get(fl(el[Go],Go))}ot(function(){if(Jt&&typeof Vo=="number"&&el){var Go=ei,ol=el.length,Wl=ol-1;if(!ol){Oo(0,null);return}for(var Xl=0;Xl<ol;Xl+=1){var hs=Tl(Xl);if(Bn&&(hs=hs||0),hs===void 0){Oo(Xl-1,void 0,!0);break}if(Go+=hs,Wl===0&&Go<=Jt||Xl===Wl-1&&Go+Tl(Wl)<=Jt){Oo(Wl,null);break}else if(Go+Vo>Jt){Oo(Xl-1,Go-hs-ei+Wa);break}}_r&&Tl(0)+ei>Jt&&po(null)}},[Jt,Xr,Wa,ei,fl,el]);var $l=gl&&!!Vl.length,Rl={};Gi!==null&&_l&&(Rl={position:"absolute",left:Gi,top:0});var Il={prefixCls:il,responsive:_l,component:Dt,invalidate:jo},ss=Yn?function(Go,ol){var Wl=fl(Go,ol);return me.createElement(nt.Provider,{key:Wl,value:(0,De.Z)((0,De.Z)({},Il),{},{order:ol,item:Go,itemKey:Wl,registerSize:ls,display:ol<=ko})},Yn(Go,ol))}:function(Go,ol){var Wl=fl(Go,ol);return me.createElement($e,(0,ne.Z)({},Il,{order:ol,key:Wl,item:Go,renderItem:Dl,itemKey:Wl,registerSize:ls,display:ol<=ko}))},us,ms={order:$l?ko:Number.MAX_SAFE_INTEGER,className:"".concat(il,"-rest"),registerSize:Ql,display:$l};if(Tr)Tr&&(us=me.createElement(nt.Provider,{value:(0,De.Z)((0,De.Z)({},Il),ms)},Tr(Vl)));else{var ts=Kr||Kt;us=me.createElement($e,(0,ne.Z)({},Il,ms),typeof ts=="function"?ts(Vl):ts)}var ns=me.createElement(qr,(0,ne.Z)({className:Se()(!jo&&at,Ar),style:Xn,ref:Ke},Kn),el.map(ss),mo?us:null,_r&&me.createElement($e,(0,ne.Z)({},Il,{responsive:go,responsiveDisabled:!_l,order:ko,className:"".concat(il,"-suffix"),registerSize:Al,display:!0,style:Rl}),_r));return go&&(ns=me.createElement(Pe.Z,{onResize:jl,disabled:!_l},ns)),ns}var wn=me.forwardRef(sn);wn.displayName="Overflow",wn.Item=At,wn.RESPONSIVE=jt,wn.INVALIDATE=Mt;var vn=wn,cn=vn,Nn=ee(21770),dr=ee(80334),En=ee(91881),Ge=me.createContext(null);function ve(Ae,Ke){return Ae===void 0?null:"".concat(Ae,"-").concat(Ke)}function he(Ae){var Ke=me.useContext(Ge);return ve(Ke,Ae)}var be=ee(56982),ge=["children","locked"],se=me.createContext(null);function Ye(Ae,Ke){var Qe=(0,De.Z)({},Ae);return Object.keys(Ke).forEach(function(at){var pt=Ke[at];pt!==void 0&&(Qe[at]=pt)}),Qe}function xt(Ae){var Ke=Ae.children,Qe=Ae.locked,at=(0,ke.Z)(Ae,ge),pt=me.useContext(se),$t=(0,be.Z)(function(){return Ye(pt,at)},[pt,at],function(tn,Yn){return!Qe&&(tn[0]!==Yn[0]||!(0,En.Z)(tn[1],Yn[1],!0))});return me.createElement(se.Provider,{value:$t},Ke)}var pn=[],on=me.createContext(null);function In(){return me.useContext(on)}var Qn=me.createContext(pn);function _n(Ae){var Ke=me.useContext(Qn);return me.useMemo(function(){return Ae!==void 0?[].concat((0,qe.Z)(Ke),[Ae]):Ke},[Ke,Ae])}var Vt=me.createContext(null),gn=me.createContext({}),Fn=gn,Tn=ee(15105),qt=ee(75164),Dr=function(Ae){if(!Ae)return!1;if(Ae instanceof Element){if(Ae.offsetParent)return!0;if(Ae.getBBox){var Ke=Ae.getBBox(),Qe=Ke.width,at=Ke.height;if(Qe||at)return!0}if(Ae.getBoundingClientRect){var pt=Ae.getBoundingClientRect(),$t=pt.width,tn=pt.height;if($t||tn)return!0}}return!1};function Ut(Ae){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Dr(Ae)){var Qe=Ae.nodeName.toLowerCase(),at=["input","select","textarea","button"].includes(Qe)||Ae.isContentEditable||Qe==="a"&&!!Ae.getAttribute("href"),pt=Ae.getAttribute("tabindex"),$t=Number(pt),tn=null;return pt&&!Number.isNaN($t)?tn=$t:at&&tn===null&&(tn=0),at&&Ae.disabled&&(tn=null),tn!==null&&(tn>=0||Ke&&tn<0)}return!1}function nn(Ae){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qe=(0,qe.Z)(Ae.querySelectorAll("*")).filter(function(at){return Ut(at,Ke)});return Ut(Ae,Ke)&&Qe.unshift(Ae),Qe}var Nr=null;function cr(){Nr=document.activeElement}function Fr(){Nr=null}function aa(){if(Nr)try{Nr.focus()}catch(Ae){}}function Jn(Ae,Ke){if(Ke.keyCode===9){var Qe=nn(Ae),at=Qe[Ke.shiftKey?0:Qe.length-1],pt=at===document.activeElement||Ae===document.activeElement;if(pt){var $t=Qe[Ke.shiftKey?Qe.length-1:0];$t.focus(),Ke.preventDefault()}}}var Ia=Tn.Z.LEFT,Ta=Tn.Z.RIGHT,ti=Tn.Z.UP,Jr=Tn.Z.DOWN,ja=Tn.Z.ENTER,Si=Tn.Z.ESC,$a=Tn.Z.HOME,ji=Tn.Z.END,Ni=[ti,Jr,Ia,Ta];function Ln(Ae,Ke,Qe,at){var pt,$t,tn,Yn,fr="prev",Cr="next",Dn="children",qn="parent";if(Ae==="inline"&&at===ja)return{inlineTrigger:!0};var Xn=(pt={},(0,fe.Z)(pt,ti,fr),(0,fe.Z)(pt,Jr,Cr),pt),Ar=($t={},(0,fe.Z)($t,Ia,Qe?Cr:fr),(0,fe.Z)($t,Ta,Qe?fr:Cr),(0,fe.Z)($t,Jr,Dn),(0,fe.Z)($t,ja,Dn),$t),Or=(tn={},(0,fe.Z)(tn,ti,fr),(0,fe.Z)(tn,Jr,Cr),(0,fe.Z)(tn,ja,Dn),(0,fe.Z)(tn,Si,qn),(0,fe.Z)(tn,Ia,Qe?Dn:qn),(0,fe.Z)(tn,Ta,Qe?qn:Dn),tn),Kr={inline:Xn,horizontal:Ar,vertical:Or,inlineSub:Xn,horizontalSub:Or,verticalSub:Or},Tr=(Yn=Kr["".concat(Ae).concat(Ke?"":"Sub")])===null||Yn===void 0?void 0:Yn[at];switch(Tr){case fr:return{offset:-1,sibling:!0};case Cr:return{offset:1,sibling:!0};case qn:return{offset:-1,sibling:!1};case Dn:return{offset:1,sibling:!1};default:return null}}function Pn(Ae){for(var Ke=Ae;Ke;){if(Ke.getAttribute("data-menu-list"))return Ke;Ke=Ke.parentElement}return null}function rr(Ae,Ke){for(var Qe=Ae||document.activeElement;Qe;){if(Ke.has(Qe))return Qe;Qe=Qe.parentElement}return null}function or(Ae,Ke){var Qe=nn(Ae,!0);return Qe.filter(function(at){return Ke.has(at)})}function $r(Ae,Ke,Qe){var at=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Ae)return null;var pt=or(Ae,Ke),$t=pt.length,tn=pt.findIndex(function(Yn){return Qe===Yn});return at<0?tn===-1?tn=$t-1:tn-=1:at>0&&(tn+=1),tn=(tn+$t)%$t,pt[tn]}function Br(Ae,Ke,Qe,at,pt,$t,tn,Yn,fr,Cr){var Dn=me.useRef(),qn=me.useRef();qn.current=Ke;var Xn=function(){qt.Z.cancel(Dn.current)};return me.useEffect(function(){return function(){Xn()}},[]),function(Ar){var Or=Ar.which;if([].concat(Ni,[ja,Si,$a,ji]).includes(Or)){var Kr,Tr,_r,Zr=function(){Kr=new Set,Tr=new Map,_r=new Map;var lr=$t();return lr.forEach(function(Xr){var Ir=document.querySelector("[data-menu-id='".concat(ve(at,Xr),"']"));Ir&&(Kr.add(Ir),_r.set(Ir,Xr),Tr.set(Xr,Ir))}),Kr};Zr();var qr=Tr.get(Ke),Dt=rr(qr,Kr),Pt=_r.get(Dt),Kn=Ln(Ae,tn(Pt,!0).length===1,Qe,Or);if(!Kn&&Or!==$a&&Or!==ji)return;(Ni.includes(Or)||[$a,ji].includes(Or))&&Ar.preventDefault();var Bn=function(lr){if(lr){var Xr=lr,Ir=lr.querySelector("a");Ir!=null&&Ir.getAttribute("href")&&(Xr=Ir);var yr=_r.get(lr);Yn(yr),Xn(),Dn.current=(0,qt.Z)(function(){qn.current===yr&&Xr.focus()})}};if([$a,ji].includes(Or)||Kn.sibling||!Dt){var xr;!Dt||Ae==="inline"?xr=pt.current:xr=Pn(Dt);var zr,Lr=or(xr,Kr);Or===$a?zr=Lr[0]:Or===ji?zr=Lr[Lr.length-1]:zr=$r(xr,Kr,Dt,Kn.offset),Bn(zr)}else if(Kn.inlineTrigger)fr(Pt);else if(Kn.offset>0)fr(Pt,!0),Xn(),Dn.current=(0,qt.Z)(function(){Zr();var yn=Dt.getAttribute("aria-controls"),lr=document.getElementById(yn),Xr=$r(lr,Kr);Bn(Xr)},5);else if(Kn.offset<0){var ca=tn(Pt,!0),un=ca[ca.length-2],Jt=Tr.get(un);fr(un,!1),Bn(Jt)}}Cr==null||Cr(Ar)}}function jr(Ae){Promise.resolve().then(Ae)}var hn="__RC_UTIL_PATH_SPLIT__",It=function(Ke){return Ke.join(hn)},Zt=function(Ke){return Ke.split(hn)},Gt="rc-menu-more";function Gn(){var Ae=me.useState({}),Ke=(0,we.Z)(Ae,2),Qe=Ke[1],at=(0,me.useRef)(new Map),pt=(0,me.useRef)(new Map),$t=me.useState([]),tn=(0,we.Z)($t,2),Yn=tn[0],fr=tn[1],Cr=(0,me.useRef)(0),Dn=(0,me.useRef)(!1),qn=function(){Dn.current||Qe({})},Xn=(0,me.useCallback)(function(qr,Dt){var Pt=It(Dt);pt.current.set(Pt,qr),at.current.set(qr,Pt),Cr.current+=1;var Kn=Cr.current;jr(function(){Kn===Cr.current&&qn()})},[]),Ar=(0,me.useCallback)(function(qr,Dt){var Pt=It(Dt);pt.current.delete(Pt),at.current.delete(qr)},[]),Or=(0,me.useCallback)(function(qr){fr(qr)},[]),Kr=(0,me.useCallback)(function(qr,Dt){var Pt=at.current.get(qr)||"",Kn=Zt(Pt);return Dt&&Yn.includes(Kn[0])&&Kn.unshift(Gt),Kn},[Yn]),Tr=(0,me.useCallback)(function(qr,Dt){return qr.some(function(Pt){var Kn=Kr(Pt,!0);return Kn.includes(Dt)})},[Kr]),_r=function(){var Dt=(0,qe.Z)(at.current.keys());return Yn.length&&Dt.push(Gt),Dt},Zr=(0,me.useCallback)(function(qr){var Dt="".concat(at.current.get(qr)).concat(hn),Pt=new Set;return(0,qe.Z)(pt.current.keys()).forEach(function(Kn){Kn.startsWith(Dt)&&Pt.add(pt.current.get(Kn))}),Pt},[]);return me.useEffect(function(){return function(){Dn.current=!0}},[]),{registerPath:Xn,unregisterPath:Ar,refreshOverflowKeys:Or,isSubPathKey:Tr,getKeyPath:Kr,getKeys:_r,getSubPathKeys:Zr}}function kt(Ae){var Ke=me.useRef(Ae);Ke.current=Ae;var Qe=me.useCallback(function(){for(var at,pt=arguments.length,$t=new Array(pt),tn=0;tn<pt;tn++)$t[tn]=arguments[tn];return(at=Ke.current)===null||at===void 0?void 0:at.call.apply(at,[Ke].concat($t))},[]);return Ae?Qe:void 0}var mn=Math.random().toFixed(5).toString().slice(2),Zn=0;function Mn(Ae){var Ke=(0,Nn.Z)(Ae,{value:Ae}),Qe=(0,we.Z)(Ke,2),at=Qe[0],pt=Qe[1];return me.useEffect(function(){Zn+=1;var $t="".concat(mn,"-").concat(Zn);pt("rc-menu-uuid-".concat($t))},[]),at}var ar=ee(15671),hr=ee(43144),dn=ee(60136),za=ee(51630),pa=ee(98423),ma=ee(42550);function Sa(Ae,Ke,Qe,at){var pt=me.useContext(se),$t=pt.activeKey,tn=pt.onActive,Yn=pt.onInactive,fr={active:$t===Ae};return Ke||(fr.onMouseEnter=function(Cr){Qe==null||Qe({key:Ae,domEvent:Cr}),tn(Ae)},fr.onMouseLeave=function(Cr){at==null||at({key:Ae,domEvent:Cr}),Yn(Ae)}),fr}function Aa(Ae){var Ke=me.useContext(se),Qe=Ke.mode,at=Ke.rtl,pt=Ke.inlineIndent;if(Qe!=="inline")return null;var $t=Ae;return at?{paddingRight:$t*pt}:{paddingLeft:$t*pt}}function ka(Ae){var Ke=Ae.icon,Qe=Ae.props,at=Ae.children,pt;return Ke===null||Ke===!1?null:(typeof Ke=="function"?pt=me.createElement(Ke,(0,De.Z)({},Qe)):typeof Ke!="boolean"&&(pt=Ke),pt||at||null)}var Er=["item"];function Gr(Ae){var Ke=Ae.item,Qe=(0,ke.Z)(Ae,Er);return Object.defineProperty(Qe,"item",{get:function(){return(0,dr.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),Ke}}),Qe}var Zi=["title","attribute","elementRef"],Ii=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],ni=["active"],hi=function(Ae){(0,dn.Z)(Qe,Ae);var Ke=(0,za.Z)(Qe);function Qe(){return(0,ar.Z)(this,Qe),Ke.apply(this,arguments)}return(0,hr.Z)(Qe,[{key:"render",value:function(){var pt=this.props,$t=pt.title,tn=pt.attribute,Yn=pt.elementRef,fr=(0,ke.Z)(pt,Zi),Cr=(0,pa.Z)(fr,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,dr.ZP)(!tn,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),me.createElement(cn.Item,(0,ne.Z)({},tn,{title:typeof $t=="string"?$t:void 0},Cr,{ref:Yn}))}}]),Qe}(me.Component),io=me.forwardRef(function(Ae,Ke){var Qe,at=Ae.style,pt=Ae.className,$t=Ae.eventKey,tn=Ae.warnKey,Yn=Ae.disabled,fr=Ae.itemIcon,Cr=Ae.children,Dn=Ae.role,qn=Ae.onMouseEnter,Xn=Ae.onMouseLeave,Ar=Ae.onClick,Or=Ae.onKeyDown,Kr=Ae.onFocus,Tr=(0,ke.Z)(Ae,Ii),_r=he($t),Zr=me.useContext(se),qr=Zr.prefixCls,Dt=Zr.onItemClick,Pt=Zr.disabled,Kn=Zr.overflowDisabled,Bn=Zr.itemIcon,xr=Zr.selectedKeys,zr=Zr.onActive,Lr=me.useContext(Fn),ca=Lr._internalRenderMenuItem,un="".concat(qr,"-item"),Jt=me.useRef(),yn=me.useRef(),lr=Pt||Yn,Xr=(0,ma.x1)(Ke,yn),Ir=_n($t),yr=function(Wi){return{key:$t,keyPath:(0,qe.Z)(Ir).reverse(),item:Jt.current,domEvent:Wi}},ba=fr||Bn,va=Sa($t,lr,qn,Xn),Oa=va.active,da=(0,ke.Z)(va,ni),Ur=xr.includes($t),Wa=Aa(Ir.length),ai=function(Wi){if(!lr){var Gi=yr(Wi);Ar==null||Ar(Gr(Gi)),Dt(Gi)}},_a=function(Wi){if(Or==null||Or(Wi),Wi.which===Tn.Z.ENTER){var Gi=yr(Wi);Ar==null||Ar(Gr(Gi)),Dt(Gi)}},Va=function(Wi){zr($t),Kr==null||Kr(Wi)},ei={};Ae.role==="option"&&(ei["aria-selected"]=Ur);var Yi=me.createElement(hi,(0,ne.Z)({ref:Jt,elementRef:Xr,role:Dn===null?"none":Dn||"menuitem",tabIndex:Yn?null:-1,"data-menu-id":Kn&&_r?null:_r},Tr,da,ei,{component:"li","aria-disabled":Yn,style:(0,De.Z)((0,De.Z)({},Wa),at),className:Se()(un,(Qe={},(0,fe.Z)(Qe,"".concat(un,"-active"),Oa),(0,fe.Z)(Qe,"".concat(un,"-selected"),Ur),(0,fe.Z)(Qe,"".concat(un,"-disabled"),lr),Qe),pt),onClick:ai,onKeyDown:_a,onFocus:Va}),Cr,me.createElement(ka,{props:(0,De.Z)((0,De.Z)({},Ae),{},{isSelected:Ur}),icon:ba}));return ca&&(Yi=ca(Yi,Ae,{selected:Ur})),Yi});function ri(Ae,Ke){var Qe=Ae.eventKey,at=In(),pt=_n(Qe);return me.useEffect(function(){if(at)return at.registerPath(Qe,pt),function(){at.unregisterPath(Qe,pt)}},[pt]),at?null:me.createElement(io,(0,ne.Z)({},Ae,{ref:Ke}))}var ho=me.forwardRef(ri),ia=["className","children"],so=function(Ke,Qe){var at=Ke.className,pt=Ke.children,$t=(0,ke.Z)(Ke,ia),tn=me.useContext(se),Yn=tn.prefixCls,fr=tn.mode,Cr=tn.rtl;return me.createElement("ul",(0,ne.Z)({className:Se()(Yn,Cr&&"".concat(Yn,"-rtl"),"".concat(Yn,"-sub"),"".concat(Yn,"-").concat(fr==="inline"?"inline":"vertical"),at),role:"menu"},$t,{"data-menu-list":!0,ref:Qe}),pt)},xo=me.forwardRef(so);xo.displayName="SubMenuList";var ml=xo,vl=ee(50344);function Yo(Ae,Ke){return(0,vl.Z)(Ae).map(function(Qe,at){if(me.isValidElement(Qe)){var pt,$t,tn=Qe.key,Yn=(pt=($t=Qe.props)===null||$t===void 0?void 0:$t.eventKey)!==null&&pt!==void 0?pt:tn,fr=Yn==null;fr&&(Yn="tmp_key-".concat([].concat((0,qe.Z)(Ke),[at]).join("-")));var Cr={key:Yn,eventKey:Yn};return me.cloneElement(Qe,Cr)}return Qe})}var uo=ee(62709),wl={adjustX:1,adjustY:1},Qo={topLeft:{points:["bl","tl"],overflow:wl},topRight:{points:["br","tr"],overflow:wl},bottomLeft:{points:["tl","bl"],overflow:wl},bottomRight:{points:["tr","br"],overflow:wl},leftTop:{points:["tr","tl"],overflow:wl},leftBottom:{points:["br","bl"],overflow:wl},rightTop:{points:["tl","tr"],overflow:wl},rightBottom:{points:["bl","br"],overflow:wl}},dl={topLeft:{points:["bl","tl"],overflow:wl},topRight:{points:["br","tr"],overflow:wl},bottomLeft:{points:["tl","bl"],overflow:wl},bottomRight:{points:["tr","br"],overflow:wl},rightTop:{points:["tr","tl"],overflow:wl},rightBottom:{points:["br","bl"],overflow:wl},leftTop:{points:["tl","tr"],overflow:wl},leftBottom:{points:["bl","br"],overflow:wl}},zl=null;function bl(Ae,Ke,Qe){if(Ke)return Ke;if(Qe)return Qe[Ae]||Qe.other}var Sl={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Ci(Ae){var Ke=Ae.prefixCls,Qe=Ae.visible,at=Ae.children,pt=Ae.popup,$t=Ae.popupStyle,tn=Ae.popupClassName,Yn=Ae.popupOffset,fr=Ae.disabled,Cr=Ae.mode,Dn=Ae.onVisibleChange,qn=me.useContext(se),Xn=qn.getPopupContainer,Ar=qn.rtl,Or=qn.subMenuOpenDelay,Kr=qn.subMenuCloseDelay,Tr=qn.builtinPlacements,_r=qn.triggerSubMenuAction,Zr=qn.forceSubMenuRender,qr=qn.rootClassName,Dt=qn.motion,Pt=qn.defaultMotions,Kn=me.useState(!1),Bn=(0,we.Z)(Kn,2),xr=Bn[0],zr=Bn[1],Lr=Ar?(0,De.Z)((0,De.Z)({},dl),Tr):(0,De.Z)((0,De.Z)({},Qo),Tr),ca=Sl[Cr],un=bl(Cr,Dt,Pt),Jt=me.useRef(un);Cr!=="inline"&&(Jt.current=un);var yn=(0,De.Z)((0,De.Z)({},Jt.current),{},{leavedClassName:"".concat(Ke,"-hidden"),removeOnLeave:!1,motionAppear:!0}),lr=me.useRef();return me.useEffect(function(){return lr.current=(0,qt.Z)(function(){zr(Qe)}),function(){qt.Z.cancel(lr.current)}},[Qe]),me.createElement(uo.Z,{prefixCls:Ke,popupClassName:Se()("".concat(Ke,"-popup"),(0,fe.Z)({},"".concat(Ke,"-rtl"),Ar),tn,qr),stretch:Cr==="horizontal"?"minWidth":null,getPopupContainer:Xn,builtinPlacements:Lr,popupPlacement:ca,popupVisible:xr,popup:pt,popupStyle:$t,popupAlign:Yn&&{offset:Yn},action:fr?[]:[_r],mouseEnterDelay:Or,mouseLeaveDelay:Kr,onPopupVisibleChange:Dn,forceRender:Zr,popupMotion:yn,fresh:!0},at)}var Do=ee(62874);function Pi(Ae){var Ke=Ae.id,Qe=Ae.open,at=Ae.keyPath,pt=Ae.children,$t="inline",tn=me.useContext(se),Yn=tn.prefixCls,fr=tn.forceSubMenuRender,Cr=tn.motion,Dn=tn.defaultMotions,qn=tn.mode,Xn=me.useRef(!1);Xn.current=qn===$t;var Ar=me.useState(!Xn.current),Or=(0,we.Z)(Ar,2),Kr=Or[0],Tr=Or[1],_r=Xn.current?Qe:!1;me.useEffect(function(){Xn.current&&Tr(!1)},[qn]);var Zr=(0,De.Z)({},bl($t,Cr,Dn));at.length>1&&(Zr.motionAppear=!1);var qr=Zr.onVisibleChanged;return Zr.onVisibleChanged=function(Dt){return!Xn.current&&!Dt&&Tr(!0),qr==null?void 0:qr(Dt)},Kr?null:me.createElement(xt,{mode:$t,locked:!Xn.current},me.createElement(Do.Z,(0,ne.Z)({visible:_r},Zr,{forceRender:fr,removeOnLeave:!1,leavedClassName:"".concat(Yn,"-hidden")}),function(Dt){var Pt=Dt.className,Kn=Dt.style;return me.createElement(ml,{id:Ke,className:Pt,style:Kn},pt)}))}var Bi=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],zn=["active"],Cn=function(Ke){var Qe,at=Ke.style,pt=Ke.className,$t=Ke.title,tn=Ke.eventKey,Yn=Ke.warnKey,fr=Ke.disabled,Cr=Ke.internalPopupClose,Dn=Ke.children,qn=Ke.itemIcon,Xn=Ke.expandIcon,Ar=Ke.popupClassName,Or=Ke.popupOffset,Kr=Ke.popupStyle,Tr=Ke.onClick,_r=Ke.onMouseEnter,Zr=Ke.onMouseLeave,qr=Ke.onTitleClick,Dt=Ke.onTitleMouseEnter,Pt=Ke.onTitleMouseLeave,Kn=(0,ke.Z)(Ke,Bi),Bn=he(tn),xr=me.useContext(se),zr=xr.prefixCls,Lr=xr.mode,ca=xr.openKeys,un=xr.disabled,Jt=xr.overflowDisabled,yn=xr.activeKey,lr=xr.selectedKeys,Xr=xr.itemIcon,Ir=xr.expandIcon,yr=xr.onItemClick,ba=xr.onOpenChange,va=xr.onActive,Oa=me.useContext(Fn),da=Oa._internalRenderSubMenuItem,Ur=me.useContext(Vt),Wa=Ur.isSubPathKey,ai=_n(),_a="".concat(zr,"-submenu"),Va=un||fr,ei=me.useRef(),Yi=me.useRef(),Ei=qn!=null?qn:Xr,Wi=Xn!=null?Xn:Ir,Gi=ca.includes(tn),po=!Jt&&Gi,Qi=Wa(lr,tn),So=Sa(tn,Va,Dt,Pt),Ki=So.active,Ai=(0,ke.Z)(So,zn),ko=me.useState(!1),Bo=(0,we.Z)(ko,2),zi=Bo[0],gl=Bo[1],El=function(Al){Va||gl(Al)},il=function(Al){El(!0),_r==null||_r({key:tn,domEvent:Al})},Vo=function(Al){El(!1),Zr==null||Zr({key:tn,domEvent:Al})},go=me.useMemo(function(){return Ki||(Lr!=="inline"?zi||Wa([yn],tn):!1)},[Lr,Ki,yn,zi,tn,Wa]),_l=Aa(ai.length),jo=function(Al){Va||(qr==null||qr({key:tn,domEvent:Al}),Lr==="inline"&&ba(tn,!Gi))},mo=kt(function(Ql){Tr==null||Tr(Gr(Ql)),yr(Ql)}),el=function(Al){Lr!=="inline"&&ba(tn,Al)},Vl=function(){va(tn)},fl=Bn&&"".concat(Bn,"-popup"),Dl=me.createElement("div",(0,ne.Z)({role:"menuitem",style:_l,className:"".concat(_a,"-title"),tabIndex:Va?null:-1,ref:ei,title:typeof $t=="string"?$t:null,"data-menu-id":Jt&&Bn?null:Bn,"aria-expanded":po,"aria-haspopup":!0,"aria-controls":fl,"aria-disabled":Va,onClick:jo,onFocus:Vl},Ai),$t,me.createElement(ka,{icon:Lr!=="horizontal"?Wi:void 0,props:(0,De.Z)((0,De.Z)({},Ke),{},{isOpen:po,isSubMenu:!0})},me.createElement("i",{className:"".concat(_a,"-arrow")}))),Oo=me.useRef(Lr);if(Lr!=="inline"&&ai.length>1?Oo.current="vertical":Oo.current=Lr,!Jt){var jl=Oo.current;Dl=me.createElement(Ci,{mode:jl,prefixCls:_a,visible:!Cr&&po&&Lr!=="inline",popupClassName:Ar,popupOffset:Or,popupStyle:Kr,popup:me.createElement(xt,{mode:jl==="horizontal"?"vertical":jl},me.createElement(ml,{id:fl,ref:Yi},Dn)),disabled:Va,onVisibleChange:el},Dl)}var ls=me.createElement(cn.Item,(0,ne.Z)({role:"none"},Kn,{component:"li",style:at,className:Se()(_a,"".concat(_a,"-").concat(Lr),pt,(Qe={},(0,fe.Z)(Qe,"".concat(_a,"-open"),po),(0,fe.Z)(Qe,"".concat(_a,"-active"),go),(0,fe.Z)(Qe,"".concat(_a,"-selected"),Qi),(0,fe.Z)(Qe,"".concat(_a,"-disabled"),Va),Qe)),onMouseEnter:il,onMouseLeave:Vo}),Dl,!Jt&&me.createElement(Pi,{id:fl,open:po,keyPath:ai},Dn));return da&&(ls=da(ls,Ke,{selected:Qi,active:go,open:po,disabled:Va})),me.createElement(xt,{onItemClick:mo,mode:Lr==="horizontal"?"vertical":Lr,itemIcon:Ei,expandIcon:Wi},ls)};function mr(Ae){var Ke=Ae.eventKey,Qe=Ae.children,at=_n(Ke),pt=Yo(Qe,at),$t=In();me.useEffect(function(){if($t)return $t.registerPath(Ke,at),function(){$t.unregisterPath(Ke,at)}},[at]);var tn;return $t?tn=pt:tn=me.createElement(Cn,Ae,pt),me.createElement(Qn.Provider,{value:at},tn)}var Yr=ee(71002),ha=["className","title","eventKey","children"],mi=["children"],xi=function(Ke){var Qe=Ke.className,at=Ke.title,pt=Ke.eventKey,$t=Ke.children,tn=(0,ke.Z)(Ke,ha),Yn=me.useContext(se),fr=Yn.prefixCls,Cr="".concat(fr,"-item-group");return me.createElement("li",(0,ne.Z)({role:"presentation"},tn,{onClick:function(qn){return qn.stopPropagation()},className:Se()(Cr,Qe)}),me.createElement("div",{role:"presentation",className:"".concat(Cr,"-title"),title:typeof at=="string"?at:void 0},at),me.createElement("ul",{role:"group",className:"".concat(Cr,"-list")},$t))};function Ui(Ae){var Ke=Ae.children,Qe=(0,ke.Z)(Ae,mi),at=_n(Qe.eventKey),pt=Yo(Ke,at),$t=In();return $t?pt:me.createElement(xi,(0,pa.Z)(Qe,["warnKey"]),pt)}function di(Ae){var Ke=Ae.className,Qe=Ae.style,at=me.useContext(se),pt=at.prefixCls,$t=In();return $t?null:me.createElement("li",{role:"separator",className:Se()("".concat(pt,"-item-divider"),Ke),style:Qe})}var Mi=["label","children","key","type"];function Ao(Ae){return(Ae||[]).map(function(Ke,Qe){if(Ke&&(0,Yr.Z)(Ke)==="object"){var at=Ke,pt=at.label,$t=at.children,tn=at.key,Yn=at.type,fr=(0,ke.Z)(at,Mi),Cr=tn!=null?tn:"tmp-".concat(Qe);return $t||Yn==="group"?Yn==="group"?me.createElement(Ui,(0,ne.Z)({key:Cr},fr,{title:pt}),Ao($t)):me.createElement(mr,(0,ne.Z)({key:Cr},fr,{title:pt}),Ao($t)):Yn==="divider"?me.createElement(di,(0,ne.Z)({key:Cr},fr)):me.createElement(ho,(0,ne.Z)({key:Cr},fr),pt)}return null}).filter(function(Ke){return Ke})}function Wo(Ae,Ke,Qe){var at=Ae;return Ke&&(at=Ao(Ke)),Yo(at,Qe)}var $o=["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"],He=[],tt=me.forwardRef(function(Ae,Ke){var Qe,at,pt=Ae,$t=pt.prefixCls,tn=$t===void 0?"rc-menu":$t,Yn=pt.rootClassName,fr=pt.style,Cr=pt.className,Dn=pt.tabIndex,qn=Dn===void 0?0:Dn,Xn=pt.items,Ar=pt.children,Or=pt.direction,Kr=pt.id,Tr=pt.mode,_r=Tr===void 0?"vertical":Tr,Zr=pt.inlineCollapsed,qr=pt.disabled,Dt=pt.disabledOverflow,Pt=pt.subMenuOpenDelay,Kn=Pt===void 0?.1:Pt,Bn=pt.subMenuCloseDelay,xr=Bn===void 0?.1:Bn,zr=pt.forceSubMenuRender,Lr=pt.defaultOpenKeys,ca=pt.openKeys,un=pt.activeKey,Jt=pt.defaultActiveFirst,yn=pt.selectable,lr=yn===void 0?!0:yn,Xr=pt.multiple,Ir=Xr===void 0?!1:Xr,yr=pt.defaultSelectedKeys,ba=pt.selectedKeys,va=pt.onSelect,Oa=pt.onDeselect,da=pt.inlineIndent,Ur=da===void 0?24:da,Wa=pt.motion,ai=pt.defaultMotions,_a=pt.triggerSubMenuAction,Va=_a===void 0?"hover":_a,ei=pt.builtinPlacements,Yi=pt.itemIcon,Ei=pt.expandIcon,Wi=pt.overflowedIndicator,Gi=Wi===void 0?"...":Wi,po=pt.overflowedIndicatorPopupClassName,Qi=pt.getPopupContainer,So=pt.onClick,Ki=pt.onOpenChange,Ai=pt.onKeyDown,ko=pt.openAnimation,Bo=pt.openTransitionName,zi=pt._internalRenderMenuItem,gl=pt._internalRenderSubMenuItem,El=(0,ke.Z)(pt,$o),il=me.useMemo(function(){return Wo(Ar,Xn,He)},[Ar,Xn]),Vo=me.useState(!1),go=(0,we.Z)(Vo,2),_l=go[0],jo=go[1],mo=me.useRef(),el=Mn(Kr),Vl=Or==="rtl",fl=(0,Nn.Z)(Lr,{value:ca,postState:function(Qt){return Qt||He}}),Dl=(0,we.Z)(fl,2),Oo=Dl[0],jl=Dl[1],ls=function(Qt){var rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Vn(){jl(Qt),Ki==null||Ki(Qt)}rn?(0,ye.flushSync)(Vn):Vn()},Ql=me.useState(Oo),Al=(0,we.Z)(Ql,2),Tl=Al[0],$l=Al[1],Rl=me.useRef(!1),Il=me.useMemo(function(){return(_r==="inline"||_r==="vertical")&&Zr?["vertical",Zr]:[_r,!1]},[_r,Zr]),ss=(0,we.Z)(Il,2),us=ss[0],ms=ss[1],ts=us==="inline",ns=me.useState(us),Go=(0,we.Z)(ns,2),ol=Go[0],Wl=Go[1],Xl=me.useState(ms),hs=(0,we.Z)(Xl,2),xs=hs[0],Ms=hs[1];me.useEffect(function(){Wl(us),Ms(ms),Rl.current&&(ts?jl(Tl):ls(He))},[us,ms]);var zs=me.useState(0),Ws=(0,we.Z)(zs,2),Bs=Ws[0],Xs=Ws[1],Ul=Bs>=il.length-1||ol!=="horizontal"||Dt;me.useEffect(function(){ts&&$l(Oo)},[Oo]),me.useEffect(function(){return Rl.current=!0,function(){Rl.current=!1}},[]);var Le=Gn(),Je=Le.registerPath,it=Le.unregisterPath,Ce=Le.refreshOverflowKeys,Ie=Le.isSubPathKey,St=Le.getKeyPath,bt=Le.getKeys,en=Le.getSubPathKeys,_t=me.useMemo(function(){return{registerPath:Je,unregisterPath:it}},[Je,it]),Wt=me.useMemo(function(){return{isSubPathKey:Ie}},[Ie]);me.useEffect(function(){Ce(Ul?He:il.slice(Bs+1).map(function(Bt){return Bt.key}))},[Bs,Ul]);var Wn=(0,Nn.Z)(un||Jt&&((Qe=il[0])===null||Qe===void 0?void 0:Qe.key),{value:un}),bn=(0,we.Z)(Wn,2),On=bn[0],Mr=bn[1],vr=kt(function(Bt){Mr(Bt)}),ir=kt(function(){Mr(void 0)});(0,me.useImperativeHandle)(Ke,function(){return{list:mo.current,focus:function(Qt){var rn,Vn=On!=null?On:(rn=il.find(function(kr){return!kr.props.disabled}))===null||rn===void 0?void 0:rn.key;if(Vn){var $n,br,sr;($n=mo.current)===null||$n===void 0||(br=$n.querySelector("li[data-menu-id='".concat(ve(el,Vn),"']")))===null||br===void 0||(sr=br.focus)===null||sr===void 0||sr.call(br,Qt)}}}});var ur=(0,Nn.Z)(yr||[],{value:ba,postState:function(Qt){return Array.isArray(Qt)?Qt:Qt==null?He:[Qt]}}),Pr=(0,we.Z)(ur,2),Wr=Pr[0],na=Pr[1],Ma=function(Qt){if(lr){var rn=Qt.key,Vn=Wr.includes(rn),$n;Ir?Vn?$n=Wr.filter(function(sr){return sr!==rn}):$n=[].concat((0,qe.Z)(Wr),[rn]):$n=[rn],na($n);var br=(0,De.Z)((0,De.Z)({},Qt),{},{selectedKeys:$n});Vn?Oa==null||Oa(br):va==null||va(br)}!Ir&&Oo.length&&ol!=="inline"&&ls(He)},_e=kt(function(Bt){So==null||So(Gr(Bt)),Ma(Bt)}),yt=kt(function(Bt,Qt){var rn=Oo.filter(function($n){return $n!==Bt});if(Qt)rn.push(Bt);else if(ol!=="inline"){var Vn=en(Bt);rn=rn.filter(function($n){return!Vn.has($n)})}(0,En.Z)(Oo,rn,!0)||ls(rn,!0)}),Ht=function(Qt,rn){var Vn=rn!=null?rn:!Oo.includes(Qt);yt(Qt,Vn)},je=Br(ol,On,Vl,el,mo,bt,St,Mr,Ht,Ai);me.useEffect(function(){jo(!0)},[]);var Yt=me.useMemo(function(){return{_internalRenderMenuItem:zi,_internalRenderSubMenuItem:gl}},[zi,gl]),fn=ol!=="horizontal"||Dt?il:il.map(function(Bt,Qt){return me.createElement(xt,{key:Bt.key,overflowDisabled:Qt>Bs},Bt)}),Rn=me.createElement(cn,(0,ne.Z)({id:Kr,ref:mo,prefixCls:"".concat(tn,"-overflow"),component:"ul",itemComponent:ho,className:Se()(tn,"".concat(tn,"-root"),"".concat(tn,"-").concat(ol),Cr,(at={},(0,fe.Z)(at,"".concat(tn,"-inline-collapsed"),xs),(0,fe.Z)(at,"".concat(tn,"-rtl"),Vl),at),Yn),dir:Or,style:fr,role:"menu",tabIndex:qn,data:fn,renderRawItem:function(Qt){return Qt},renderRawRest:function(Qt){var rn=Qt.length,Vn=rn?il.slice(-rn):null;return me.createElement(mr,{eventKey:Gt,title:Gi,disabled:Ul,internalPopupClose:rn===0,popupClassName:po},Vn)},maxCount:ol!=="horizontal"||Dt?cn.INVALIDATE:cn.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Qt){Xs(Qt)},onKeyDown:je},El));return me.createElement(Fn.Provider,{value:Yt},me.createElement(Ge.Provider,{value:el},me.createElement(xt,{prefixCls:tn,rootClassName:Yn,mode:ol,openKeys:Oo,rtl:Vl,disabled:qr,motion:_l?Wa:null,defaultMotions:_l?ai:null,activeKey:On,onActive:vr,onInactive:ir,selectedKeys:Wr,inlineIndent:Ur,subMenuOpenDelay:Kn,subMenuCloseDelay:xr,forceSubMenuRender:zr,builtinPlacements:ei,triggerSubMenuAction:Va,getPopupContainer:Qi,itemIcon:Yi,expandIcon:Ei,onItemClick:_e,onOpenChange:yt},me.createElement(Vt.Provider,{value:Wt},Rn),me.createElement("div",{style:{display:"none"},"aria-hidden":!0},me.createElement(on.Provider,{value:_t},il)))))}),Nt=tt,pe=Nt;pe.Item=ho,pe.SubMenu=mr,pe.ItemGroup=Ui,pe.Divider=di;var Oe=pe},81626:function(Hn,ln){"use strict";ln.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"}},46762:function(Hn,ln){"use strict";var ee;var ne=Symbol.for("react.element"),fe=Symbol.for("react.portal"),De=Symbol.for("react.fragment"),qe=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),de=Symbol.for("react.context"),Se=Symbol.for("react.server_context"),me=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),rt=Symbol.for("react.suspense_list"),ue=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),mt=Symbol.for("react.offscreen"),ot;ot=Symbol.for("react.module.reference");function vt(Ee){if(typeof Ee=="object"&&Ee!==null){var wt=Ee.$$typeof;switch(wt){case ne:switch(Ee=Ee.type,Ee){case De:case we:case qe:case Pe:case rt:return Ee;default:switch(Ee=Ee&&Ee.$$typeof,Ee){case Se:case de:case me:case Ue:case ue:case ke:return Ee;default:return wt}}case fe:return wt}}}ee=de,ee=ke,ee=ne,ee=me,ee=De,ee=Ue,ee=ue,ee=fe,ee=we,ee=qe,ee=Pe,ee=rt,ee=function(){return!1},ee=function(){return!1},ee=function(Ee){return vt(Ee)===de},ee=function(Ee){return vt(Ee)===ke},ee=function(Ee){return typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===ne},ee=function(Ee){return vt(Ee)===me},ln.isFragment=function(Ee){return vt(Ee)===De},ee=function(Ee){return vt(Ee)===Ue},ee=function(Ee){return vt(Ee)===ue},ee=function(Ee){return vt(Ee)===fe},ee=function(Ee){return vt(Ee)===we},ee=function(Ee){return vt(Ee)===qe},ee=function(Ee){return vt(Ee)===Pe},ee=function(Ee){return vt(Ee)===rt},ee=function(Ee){return typeof Ee=="string"||typeof Ee=="function"||Ee===De||Ee===we||Ee===qe||Ee===Pe||Ee===rt||Ee===mt||typeof Ee=="object"&&Ee!==null&&(Ee.$$typeof===Ue||Ee.$$typeof===ue||Ee.$$typeof===ke||Ee.$$typeof===de||Ee.$$typeof===me||Ee.$$typeof===ot||Ee.getModuleId!==void 0)},ee=vt},35110:function(Hn,ln,ee){"use strict";Hn.exports=ee(46762)},86128:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return Xe}});var ne=ee(87462),fe=ee(4942),De=ee(45987),qe=ee(1413),we=ee(15671),ke=ee(43144),de=ee(97326),Se=ee(60136),me=ee(51630),Pe=ee(67294),rt=ee(94184),ue=ee.n(rt),Ue=ee(64217),mt=ee(27822),ot=function(st){for(var ft=st.prefixCls,Re=st.level,Be=st.isStart,gt=st.isEnd,ze="".concat(ft,"-indent-unit"),ct=[],nt=0;nt<Re;nt+=1){var Ot;ct.push(Pe.createElement("span",{key:nt,className:ue()(ze,(Ot={},(0,fe.Z)(Ot,"".concat(ze,"-start"),Be[nt]),(0,fe.Z)(Ot,"".concat(ze,"-end"),gt[nt]),Ot))}))}return Pe.createElement("span",{"aria-hidden":"true",className:"".concat(ft,"-indent")},ct)},vt=Pe.memo(ot),Ee=ee(1089),wt=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],Tt="open",$e="close",ut="---",ye=function(et){(0,Se.Z)(ft,et);var st=(0,me.Z)(ft);function ft(){var Re;(0,we.Z)(this,ft);for(var Be=arguments.length,gt=new Array(Be),ze=0;ze<Be;ze++)gt[ze]=arguments[ze];return Re=st.call.apply(st,[this].concat(gt)),Re.state={dragNodeHighlight:!1},Re.selectHandle=void 0,Re.onSelectorClick=function(ct){var nt=Re.props.context.onNodeClick;nt(ct,(0,Ee.F)(Re.props)),Re.isSelectable()?Re.onSelect(ct):Re.onCheck(ct)},Re.onSelectorDoubleClick=function(ct){var nt=Re.props.context.onNodeDoubleClick;nt(ct,(0,Ee.F)(Re.props))},Re.onSelect=function(ct){if(!Re.isDisabled()){var nt=Re.props.context.onNodeSelect;ct.preventDefault(),nt(ct,(0,Ee.F)(Re.props))}},Re.onCheck=function(ct){if(!Re.isDisabled()){var nt=Re.props,Ot=nt.disableCheckbox,Rt=nt.checked,an=Re.props.context.onNodeCheck;if(!(!Re.isCheckable()||Ot)){ct.preventDefault();var ht=!Rt;an(ct,(0,Ee.F)(Re.props),ht)}}},Re.onMouseEnter=function(ct){var nt=Re.props.context.onNodeMouseEnter;nt(ct,(0,Ee.F)(Re.props))},Re.onMouseLeave=function(ct){var nt=Re.props.context.onNodeMouseLeave;nt(ct,(0,Ee.F)(Re.props))},Re.onContextMenu=function(ct){var nt=Re.props.context.onNodeContextMenu;nt(ct,(0,Ee.F)(Re.props))},Re.onDragStart=function(ct){var nt=Re.props.context.onNodeDragStart;ct.stopPropagation(),Re.setState({dragNodeHighlight:!0}),nt(ct,(0,de.Z)(Re));try{ct.dataTransfer.setData("text/plain","")}catch(Ot){}},Re.onDragEnter=function(ct){var nt=Re.props.context.onNodeDragEnter;ct.preventDefault(),ct.stopPropagation(),nt(ct,(0,de.Z)(Re))},Re.onDragOver=function(ct){var nt=Re.props.context.onNodeDragOver;ct.preventDefault(),ct.stopPropagation(),nt(ct,(0,de.Z)(Re))},Re.onDragLeave=function(ct){var nt=Re.props.context.onNodeDragLeave;ct.stopPropagation(),nt(ct,(0,de.Z)(Re))},Re.onDragEnd=function(ct){var nt=Re.props.context.onNodeDragEnd;ct.stopPropagation(),Re.setState({dragNodeHighlight:!1}),nt(ct,(0,de.Z)(Re))},Re.onDrop=function(ct){var nt=Re.props.context.onNodeDrop;ct.preventDefault(),ct.stopPropagation(),Re.setState({dragNodeHighlight:!1}),nt(ct,(0,de.Z)(Re))},Re.onExpand=function(ct){var nt=Re.props,Ot=nt.loading,Rt=nt.context.onNodeExpand;Ot||Rt(ct,(0,Ee.F)(Re.props))},Re.setSelectHandle=function(ct){Re.selectHandle=ct},Re.getNodeState=function(){var ct=Re.props.expanded;return Re.isLeaf()?null:ct?Tt:$e},Re.hasChildren=function(){var ct=Re.props.eventKey,nt=Re.props.context.keyEntities,Ot=nt[ct]||{},Rt=Ot.children;return!!(Rt||[]).length},Re.isLeaf=function(){var ct=Re.props,nt=ct.isLeaf,Ot=ct.loaded,Rt=Re.props.context.loadData,an=Re.hasChildren();return nt===!1?!1:nt||!Rt&&!an||Rt&&Ot&&!an},Re.isDisabled=function(){var ct=Re.props.disabled,nt=Re.props.context.disabled;return!!(nt||ct)},Re.isCheckable=function(){var ct=Re.props.checkable,nt=Re.props.context.checkable;return!nt||ct===!1?!1:nt},Re.syncLoadData=function(ct){var nt=ct.expanded,Ot=ct.loading,Rt=ct.loaded,an=Re.props.context,ht=an.loadData,Ne=an.onNodeLoad;Ot||ht&&nt&&!Re.isLeaf()&&!Re.hasChildren()&&!Rt&&Ne((0,Ee.F)(Re.props))},Re.isDraggable=function(){var ct=Re.props,nt=ct.data,Ot=ct.context.draggable;return!!(Ot&&(!Ot.nodeDraggable||Ot.nodeDraggable(nt)))},Re.renderDragHandler=function(){var ct=Re.props.context,nt=ct.draggable,Ot=ct.prefixCls;return nt!=null&&nt.icon?Pe.createElement("span",{className:"".concat(Ot,"-draggable-icon")},nt.icon):null},Re.renderSwitcherIconDom=function(ct){var nt=Re.props.switcherIcon,Ot=Re.props.context.switcherIcon,Rt=nt||Ot;return typeof Rt=="function"?Rt((0,qe.Z)((0,qe.Z)({},Re.props),{},{isLeaf:ct})):Rt},Re.renderSwitcher=function(){var ct=Re.props.expanded,nt=Re.props.context.prefixCls;if(Re.isLeaf()){var Ot=Re.renderSwitcherIconDom(!0);return Ot!==!1?Pe.createElement("span",{className:ue()("".concat(nt,"-switcher"),"".concat(nt,"-switcher-noop"))},Ot):null}var Rt=ue()("".concat(nt,"-switcher"),"".concat(nt,"-switcher_").concat(ct?Tt:$e)),an=Re.renderSwitcherIconDom(!1);return an!==!1?Pe.createElement("span",{onClick:Re.onExpand,className:Rt},an):null},Re.renderCheckbox=function(){var ct=Re.props,nt=ct.checked,Ot=ct.halfChecked,Rt=ct.disableCheckbox,an=Re.props.context.prefixCls,ht=Re.isDisabled(),Ne=Re.isCheckable();if(!Ne)return null;var At=typeof Ne!="boolean"?Ne:null;return Pe.createElement("span",{className:ue()("".concat(an,"-checkbox"),nt&&"".concat(an,"-checkbox-checked"),!nt&&Ot&&"".concat(an,"-checkbox-indeterminate"),(ht||Rt)&&"".concat(an,"-checkbox-disabled")),onClick:Re.onCheck},At)},Re.renderIcon=function(){var ct=Re.props.loading,nt=Re.props.context.prefixCls;return Pe.createElement("span",{className:ue()("".concat(nt,"-iconEle"),"".concat(nt,"-icon__").concat(Re.getNodeState()||"docu"),ct&&"".concat(nt,"-icon_loading"))})},Re.renderSelector=function(){var ct=Re.state.dragNodeHighlight,nt=Re.props,Ot=nt.title,Rt=Ot===void 0?ut:Ot,an=nt.selected,ht=nt.icon,Ne=nt.loading,At=nt.data,An=Re.props.context,jt=An.prefixCls,Mt=An.showIcon,Kt=An.icon,sn=An.loadData,wn=An.titleRender,vn=Re.isDisabled(),cn="".concat(jt,"-node-content-wrapper"),Nn;if(Mt){var dr=ht||Kt;Nn=dr?Pe.createElement("span",{className:ue()("".concat(jt,"-iconEle"),"".concat(jt,"-icon__customize"))},typeof dr=="function"?dr(Re.props):dr):Re.renderIcon()}else sn&&Ne&&(Nn=Re.renderIcon());var En;typeof Rt=="function"?En=Rt(At):wn?En=wn(At):En=Rt;var Ge=Pe.createElement("span",{className:"".concat(jt,"-title")},En);return Pe.createElement("span",{ref:Re.setSelectHandle,title:typeof Rt=="string"?Rt:"",className:ue()("".concat(cn),"".concat(cn,"-").concat(Re.getNodeState()||"normal"),!vn&&(an||ct)&&"".concat(jt,"-node-selected")),onMouseEnter:Re.onMouseEnter,onMouseLeave:Re.onMouseLeave,onContextMenu:Re.onContextMenu,onClick:Re.onSelectorClick,onDoubleClick:Re.onSelectorDoubleClick},Nn,Ge,Re.renderDropIndicator())},Re.renderDropIndicator=function(){var ct=Re.props,nt=ct.disabled,Ot=ct.eventKey,Rt=Re.props.context,an=Rt.draggable,ht=Rt.dropLevelOffset,Ne=Rt.dropPosition,At=Rt.prefixCls,An=Rt.indent,jt=Rt.dropIndicatorRender,Mt=Rt.dragOverNodeKey,Kt=Rt.direction,sn=!!an,wn=!nt&&sn&&Mt===Ot;return wn?jt({dropPosition:Ne,dropLevelOffset:ht,indent:An,prefixCls:At,direction:Kt}):null},Re}return(0,ke.Z)(ft,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Be=this.props.selectable,gt=this.props.context.selectable;return typeof Be=="boolean"?Be:gt}},{key:"render",value:function(){var Be,gt=this.props,ze=gt.eventKey,ct=gt.className,nt=gt.style,Ot=gt.dragOver,Rt=gt.dragOverGapTop,an=gt.dragOverGapBottom,ht=gt.isLeaf,Ne=gt.isStart,At=gt.isEnd,An=gt.expanded,jt=gt.selected,Mt=gt.checked,Kt=gt.halfChecked,sn=gt.loading,wn=gt.domRef,vn=gt.active,cn=gt.data,Nn=gt.onMouseMove,dr=gt.selectable,En=(0,De.Z)(gt,wt),Ge=this.props.context,ve=Ge.prefixCls,he=Ge.filterTreeNode,be=Ge.keyEntities,ge=Ge.dropContainerKey,se=Ge.dropTargetKey,Ye=Ge.draggingNodeKey,xt=this.isDisabled(),pn=(0,Ue.Z)(En,{aria:!0,data:!0}),on=be[ze]||{},In=on.level,Qn=At[At.length-1],_n=this.isDraggable(),Vt=!xt&&_n,gn=Ye===ze,Fn=dr!==void 0?{"aria-selected":!!dr}:void 0;return Pe.createElement("div",(0,ne.Z)({ref:wn,className:ue()(ct,"".concat(ve,"-treenode"),(Be={},(0,fe.Z)(Be,"".concat(ve,"-treenode-disabled"),xt),(0,fe.Z)(Be,"".concat(ve,"-treenode-switcher-").concat(An?"open":"close"),!ht),(0,fe.Z)(Be,"".concat(ve,"-treenode-checkbox-checked"),Mt),(0,fe.Z)(Be,"".concat(ve,"-treenode-checkbox-indeterminate"),Kt),(0,fe.Z)(Be,"".concat(ve,"-treenode-selected"),jt),(0,fe.Z)(Be,"".concat(ve,"-treenode-loading"),sn),(0,fe.Z)(Be,"".concat(ve,"-treenode-active"),vn),(0,fe.Z)(Be,"".concat(ve,"-treenode-leaf-last"),Qn),(0,fe.Z)(Be,"".concat(ve,"-treenode-draggable"),_n),(0,fe.Z)(Be,"dragging",gn),(0,fe.Z)(Be,"drop-target",se===ze),(0,fe.Z)(Be,"drop-container",ge===ze),(0,fe.Z)(Be,"drag-over",!xt&&Ot),(0,fe.Z)(Be,"drag-over-gap-top",!xt&&Rt),(0,fe.Z)(Be,"drag-over-gap-bottom",!xt&&an),(0,fe.Z)(Be,"filter-node",he&&he((0,Ee.F)(this.props))),Be)),style:nt,draggable:Vt,"aria-grabbed":gn,onDragStart:Vt?this.onDragStart:void 0,onDragEnter:_n?this.onDragEnter:void 0,onDragOver:_n?this.onDragOver:void 0,onDragLeave:_n?this.onDragLeave:void 0,onDrop:_n?this.onDrop:void 0,onDragEnd:_n?this.onDragEnd:void 0,onMouseMove:Nn},Fn,pn),Pe.createElement(vt,{prefixCls:ve,level:In,isStart:Ne,isEnd:At}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),ft}(Pe.Component),ce=function(st){return Pe.createElement(mt.k.Consumer,null,function(ft){return Pe.createElement(ye,(0,ne.Z)({},st,{context:ft}))})};ce.displayName="TreeNode",ce.isTreeNode=1;var Xe=ce},27822:function(Hn,ln,ee){"use strict";ee.d(ln,{k:function(){return fe}});var ne=ee(67294),fe=ne.createContext(null)},10225:function(Hn,ln,ee){"use strict";ee.d(ln,{BT:function(){return vt},Ds:function(){return rt},E6:function(){return Tt},L0:function(){return Se},OM:function(){return ot},_5:function(){return de},bt:function(){return Pe},r7:function(){return $e},wA:function(){return ue},yx:function(){return me}});var ne=ee(74902),fe=ee(71002),De=ee(67294),qe=ee(80334),we=ee(86128),ke=null;function de(ut,ye){if(!ut)return[];var ce=ut.slice(),Xe=ce.indexOf(ye);return Xe>=0&&ce.splice(Xe,1),ce}function Se(ut,ye){var ce=(ut||[]).slice();return ce.indexOf(ye)===-1&&ce.push(ye),ce}function me(ut){return ut.split("-")}function Pe(ut,ye){return"".concat(ut,"-").concat(ye)}function rt(ut){return ut&&ut.type&&ut.type.isTreeNode}function ue(ut,ye){var ce=[],Xe=ye[ut];function et(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];st.forEach(function(ft){var Re=ft.key,Be=ft.children;ce.push(Re),et(Be)})}return et(Xe.children),ce}function Ue(ut){if(ut.parent){var ye=me(ut.pos);return Number(ye[ye.length-1])===ut.parent.children.length-1}return!1}function mt(ut){var ye=me(ut.pos);return Number(ye[ye.length-1])===0}function ot(ut,ye,ce,Xe,et,st,ft,Re,Be,gt){var ze,ct=ut.clientX,nt=ut.clientY,Ot=ut.target.getBoundingClientRect(),Rt=Ot.top,an=Ot.height,ht=(gt==="rtl"?-1:1)*(((et==null?void 0:et.x)||0)-ct),Ne=(ht-12)/Xe,At=Re[ce.props.eventKey];if(nt<Rt+an/2){var An=ft.findIndex(function(ve){return ve.key===At.key}),jt=An<=0?0:An-1,Mt=ft[jt].key;At=Re[Mt]}var Kt=At.key,sn=At,wn=At.key,vn=0,cn=0;if(!Be.includes(Kt))for(var Nn=0;Nn<Ne&&Ue(At);Nn+=1)At=At.parent,cn+=1;var dr=ye.props.data,En=At.node,Ge=!0;return mt(At)&&At.level===0&&nt<Rt+an/2&&st({dragNode:dr,dropNode:En,dropPosition:-1})&&At.key===ce.props.eventKey?vn=-1:(sn.children||[]).length&&Be.includes(wn)?st({dragNode:dr,dropNode:En,dropPosition:0})?vn=0:Ge=!1:cn===0?Ne>-1.5?st({dragNode:dr,dropNode:En,dropPosition:1})?vn=1:Ge=!1:st({dragNode:dr,dropNode:En,dropPosition:0})?vn=0:st({dragNode:dr,dropNode:En,dropPosition:1})?vn=1:Ge=!1:st({dragNode:dr,dropNode:En,dropPosition:1})?vn=1:Ge=!1,{dropPosition:vn,dropLevelOffset:cn,dropTargetKey:At.key,dropTargetPos:At.pos,dragOverNodeKey:wn,dropContainerKey:vn===0?null:((ze=At.parent)===null||ze===void 0?void 0:ze.key)||null,dropAllowed:Ge}}function vt(ut,ye){if(ut){var ce=ye.multiple;return ce?ut.slice():ut.length?[ut[0]]:ut}}var Ee=function(ye){return ye};function wt(ut,ye){if(!ut)return[];var ce=ye||{},Xe=ce.processProps,et=Xe===void 0?Ee:Xe,st=Array.isArray(ut)?ut:[ut];return st.map(function(ft){var Re=ft.children,Be=_objectWithoutProperties(ft,ke),gt=wt(Re,ye);return React.createElement(TreeNode,_extends({key:Be.key},et(Be)),gt)})}function Tt(ut){if(!ut)return null;var ye;if(Array.isArray(ut))ye={checkedKeys:ut,halfCheckedKeys:void 0};else if((0,fe.Z)(ut)==="object")ye={checkedKeys:ut.checked||void 0,halfCheckedKeys:ut.halfChecked||void 0};else return(0,qe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ye}function $e(ut,ye){var ce=new Set;function Xe(et){if(!ce.has(et)){var st=ye[et];if(st){ce.add(et);var ft=st.parent,Re=st.node;Re.disabled||ft&&Xe(ft.key)}}}return(ut||[]).forEach(function(et){Xe(et)}),(0,ne.Z)(ce)}},17341:function(Hn,ln,ee){"use strict";ee.d(ln,{S:function(){return ke}});var ne=ee(80334);function fe(de,Se){var me=new Set;return de.forEach(function(Pe){Se.has(Pe)||me.add(Pe)}),me}function De(de){var Se=de||{},me=Se.disabled,Pe=Se.disableCheckbox,rt=Se.checkable;return!!(me||Pe)||rt===!1}function qe(de,Se,me,Pe){for(var rt=new Set(de),ue=new Set,Ue=0;Ue<=me;Ue+=1){var mt=Se.get(Ue)||new Set;mt.forEach(function(wt){var Tt=wt.key,$e=wt.node,ut=wt.children,ye=ut===void 0?[]:ut;rt.has(Tt)&&!Pe($e)&&ye.filter(function(ce){return!Pe(ce.node)}).forEach(function(ce){rt.add(ce.key)})})}for(var ot=new Set,vt=me;vt>=0;vt-=1){var Ee=Se.get(vt)||new Set;Ee.forEach(function(wt){var Tt=wt.parent,$e=wt.node;if(!(Pe($e)||!wt.parent||ot.has(wt.parent.key))){if(Pe(wt.parent.node)){ot.add(Tt.key);return}var ut=!0,ye=!1;(Tt.children||[]).filter(function(ce){return!Pe(ce.node)}).forEach(function(ce){var Xe=ce.key,et=rt.has(Xe);ut&&!et&&(ut=!1),!ye&&(et||ue.has(Xe))&&(ye=!0)}),ut&&rt.add(Tt.key),ye&&ue.add(Tt.key),ot.add(Tt.key)}})}return{checkedKeys:Array.from(rt),halfCheckedKeys:Array.from(fe(ue,rt))}}function we(de,Se,me,Pe,rt){for(var ue=new Set(de),Ue=new Set(Se),mt=0;mt<=Pe;mt+=1){var ot=me.get(mt)||new Set;ot.forEach(function(Tt){var $e=Tt.key,ut=Tt.node,ye=Tt.children,ce=ye===void 0?[]:ye;!ue.has($e)&&!Ue.has($e)&&!rt(ut)&&ce.filter(function(Xe){return!rt(Xe.node)}).forEach(function(Xe){ue.delete(Xe.key)})})}Ue=new Set;for(var vt=new Set,Ee=Pe;Ee>=0;Ee-=1){var wt=me.get(Ee)||new Set;wt.forEach(function(Tt){var $e=Tt.parent,ut=Tt.node;if(!(rt(ut)||!Tt.parent||vt.has(Tt.parent.key))){if(rt(Tt.parent.node)){vt.add($e.key);return}var ye=!0,ce=!1;($e.children||[]).filter(function(Xe){return!rt(Xe.node)}).forEach(function(Xe){var et=Xe.key,st=ue.has(et);ye&&!st&&(ye=!1),!ce&&(st||Ue.has(et))&&(ce=!0)}),ye||ue.delete($e.key),ce&&Ue.add($e.key),vt.add($e.key)}})}return{checkedKeys:Array.from(ue),halfCheckedKeys:Array.from(fe(Ue,ue))}}function ke(de,Se,me,Pe){var rt=[],ue;Pe?ue=Pe:ue=De;var Ue=new Set(de.filter(function(Ee){var wt=!!me[Ee];return wt||rt.push(Ee),wt})),mt=new Map,ot=0;Object.keys(me).forEach(function(Ee){var wt=me[Ee],Tt=wt.level,$e=mt.get(Tt);$e||($e=new Set,mt.set(Tt,$e)),$e.add(wt),ot=Math.max(ot,Tt)}),(0,ne.ZP)(!rt.length,"Tree missing follow keys: ".concat(rt.slice(0,100).map(function(Ee){return"'".concat(Ee,"'")}).join(", ")));var vt;return Se===!0?vt=qe(Ue,mt,ot,ue):vt=we(Ue,Se.halfCheckedKeys,mt,ot,ue),vt}},1089:function(Hn,ln,ee){"use strict";ee.d(ln,{F:function(){return wt},H8:function(){return Ee},I8:function(){return vt},km:function(){return Pe},oH:function(){return mt},w$:function(){return rt},zn:function(){return Ue}});var ne=ee(71002),fe=ee(74902),De=ee(1413),qe=ee(45987),we=ee(98423),ke=ee(50344),de=ee(80334),Se=ee(10225),me=["children"];function Pe(Tt,$e){return Tt!=null?Tt:$e}function rt(Tt){var $e=Tt||{},ut=$e.title,ye=$e._title,ce=$e.key,Xe=$e.children,et=ut||"title";return{title:et,_title:ye||[et],key:ce||"key",children:Xe||"children"}}function ue(Tt,$e){var ut=new Map;function ye(ce){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ce||[]).forEach(function(et){var st=et[$e.key],ft=et[$e.children];warning(st!=null,"Tree node must have a certain key: [".concat(Xe).concat(st,"]"));var Re=String(st);warning(!ut.has(Re)||st===null||st===void 0,"Same 'key' exist in the Tree: ".concat(Re)),ut.set(Re,!0),ye(ft,"".concat(Xe).concat(Re," > "))})}ye(Tt)}function Ue(Tt){function $e(ut){var ye=(0,ke.Z)(ut);return ye.map(function(ce){if(!(0,Se.Ds)(ce))return(0,de.ZP)(!ce,"Tree/TreeNode can only accept TreeNode as children."),null;var Xe=ce.key,et=ce.props,st=et.children,ft=(0,qe.Z)(et,me),Re=(0,De.Z)({key:Xe},ft),Be=$e(st);return Be.length&&(Re.children=Be),Re}).filter(function(ce){return ce})}return $e(Tt)}function mt(Tt,$e,ut){var ye=rt(ut),ce=ye._title,Xe=ye.key,et=ye.children,st=new Set($e===!0?[]:$e),ft=[];function Re(Be){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Be.map(function(ze,ct){for(var nt=(0,Se.bt)(gt?gt.pos:"0",ct),Ot=Pe(ze[Xe],nt),Rt,an=0;an<ce.length;an+=1){var ht=ce[an];if(ze[ht]!==void 0){Rt=ze[ht];break}}var Ne=(0,De.Z)((0,De.Z)({},(0,we.Z)(ze,[].concat((0,fe.Z)(ce),[Xe,et]))),{},{title:Rt,key:Ot,parent:gt,pos:nt,children:null,data:ze,isStart:[].concat((0,fe.Z)(gt?gt.isStart:[]),[ct===0]),isEnd:[].concat((0,fe.Z)(gt?gt.isEnd:[]),[ct===Be.length-1])});return ft.push(Ne),$e===!0||st.has(Ot)?Ne.children=Re(ze[et]||[],Ne):Ne.children=[],Ne})}return Re(Tt),ft}function ot(Tt,$e,ut){var ye={};(0,ne.Z)(ut)==="object"?ye=ut:ye={externalGetKey:ut},ye=ye||{};var ce=ye,Xe=ce.childrenPropName,et=ce.externalGetKey,st=ce.fieldNames,ft=rt(st),Re=ft.key,Be=ft.children,gt=Xe||Be,ze;et?typeof et=="string"?ze=function(Ot){return Ot[et]}:typeof et=="function"&&(ze=function(Ot){return et(Ot)}):ze=function(Ot,Rt){return Pe(Ot[Re],Rt)};function ct(nt,Ot,Rt,an){var ht=nt?nt[gt]:Tt,Ne=nt?(0,Se.bt)(Rt.pos,Ot):"0",At=nt?[].concat((0,fe.Z)(an),[nt]):[];if(nt){var An=ze(nt,Ne),jt={node:nt,index:Ot,pos:Ne,key:An,parentPos:Rt.node?Rt.pos:null,level:Rt.level+1,nodes:At};$e(jt)}ht&&ht.forEach(function(Mt,Kt){ct(Mt,Kt,{node:nt,pos:Ne,level:Rt?Rt.level+1:-1},At)})}ct(null)}function vt(Tt){var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ut=$e.initWrapper,ye=$e.processEntity,ce=$e.onProcessFinished,Xe=$e.externalGetKey,et=$e.childrenPropName,st=$e.fieldNames,ft=arguments.length>2?arguments[2]:void 0,Re=Xe||ft,Be={},gt={},ze={posEntities:Be,keyEntities:gt};return ut&&(ze=ut(ze)||ze),ot(Tt,function(ct){var nt=ct.node,Ot=ct.index,Rt=ct.pos,an=ct.key,ht=ct.parentPos,Ne=ct.level,At=ct.nodes,An={node:nt,nodes:At,index:Ot,key:an,pos:Rt,level:Ne},jt=Pe(an,Rt);Be[Rt]=An,gt[jt]=An,An.parent=Be[ht],An.parent&&(An.parent.children=An.parent.children||[],An.parent.children.push(An)),ye&&ye(An,ze)},{externalGetKey:Re,childrenPropName:et,fieldNames:st}),ce&&ce(ze),ze}function Ee(Tt,$e){var ut=$e.expandedKeys,ye=$e.selectedKeys,ce=$e.loadedKeys,Xe=$e.loadingKeys,et=$e.checkedKeys,st=$e.halfCheckedKeys,ft=$e.dragOverNodeKey,Re=$e.dropPosition,Be=$e.keyEntities,gt=Be[Tt],ze={eventKey:Tt,expanded:ut.indexOf(Tt)!==-1,selected:ye.indexOf(Tt)!==-1,loaded:ce.indexOf(Tt)!==-1,loading:Xe.indexOf(Tt)!==-1,checked:et.indexOf(Tt)!==-1,halfChecked:st.indexOf(Tt)!==-1,pos:String(gt?gt.pos:""),dragOver:ft===Tt&&Re===0,dragOverGapTop:ft===Tt&&Re===-1,dragOverGapBottom:ft===Tt&&Re===1};return ze}function wt(Tt){var $e=Tt.data,ut=Tt.expanded,ye=Tt.selected,ce=Tt.checked,Xe=Tt.loaded,et=Tt.loading,st=Tt.halfChecked,ft=Tt.dragOver,Re=Tt.dragOverGapTop,Be=Tt.dragOverGapBottom,gt=Tt.pos,ze=Tt.active,ct=Tt.eventKey,nt=(0,De.Z)((0,De.Z)({},$e),{},{expanded:ut,selected:ye,checked:ce,loaded:Xe,loading:et,halfChecked:st,dragOver:ft,dragOverGapTop:Re,dragOverGapBottom:Be,pos:gt,active:ze,key:ct});return"props"in nt||Object.defineProperty(nt,"props",{get:function(){return(0,de.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Tt}}),nt}},66680:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return fe}});var ne=ee(67294);function fe(De){var qe=ne.useRef();qe.current=De;var we=ne.useCallback(function(){for(var ke,de=arguments.length,Se=new Array(de),me=0;me<de;me++)Se[me]=arguments[me];return(ke=qe.current)===null||ke===void 0?void 0:ke.call.apply(ke,[qe].concat(Se))},[]);return we}},21770:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return ke}});var ne=ee(97685),fe=ee(66680),De=ee(8410),qe=ee(63896);function we(de){return de!==void 0}function ke(de,Se){var me=Se||{},Pe=me.defaultValue,rt=me.value,ue=me.onChange,Ue=me.postState,mt=(0,qe.Z)(function(){return we(rt)?rt:we(Pe)?typeof Pe=="function"?Pe():Pe:typeof de=="function"?de():de}),ot=(0,ne.Z)(mt,2),vt=ot[0],Ee=ot[1],wt=rt!==void 0?rt:vt,Tt=Ue?Ue(wt):wt,$e=(0,fe.Z)(ue),ut=(0,qe.Z)([wt]),ye=(0,ne.Z)(ut,2),ce=ye[0],Xe=ye[1];(0,De.o)(function(){var st=ce[0];vt!==st&&$e(vt,st)},[ce]),(0,De.o)(function(){we(rt)||Ee(rt)},[rt]);var et=(0,fe.Z)(function(st,ft){Ee(st,ft),Xe([wt],ft)});return[Tt,et]}},91881:function(Hn,ln,ee){"use strict";var ne=ee(71002),fe=ee(80334);function De(qe,we){var ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,de=new Set;function Se(me,Pe){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,ue=de.has(me);if((0,fe.ZP)(!ue,"Warning: There may be circular references"),ue)return!1;if(me===Pe)return!0;if(ke&&rt>1)return!1;de.add(me);var Ue=rt+1;if(Array.isArray(me)){if(!Array.isArray(Pe)||me.length!==Pe.length)return!1;for(var mt=0;mt<me.length;mt++)if(!Se(me[mt],Pe[mt],Ue))return!1;return!0}if(me&&Pe&&(0,ne.Z)(me)==="object"&&(0,ne.Z)(Pe)==="object"){var ot=Object.keys(me);return ot.length!==Object.keys(Pe).length?!1:ot.every(function(vt){return Se(me[vt],Pe[vt],Ue)})}return!1}return Se(qe,we)}ln.Z=De},98423:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return fe}});var ne=ee(1413);function fe(De,qe){var we=(0,ne.Z)({},De);return Array.isArray(qe)&&qe.forEach(function(ke){delete we[ke]}),we}},64217:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return Se}});var ne=ee(1413),fe=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,De=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,qe="".concat(fe," ").concat(De).split(/[\s\n]+/),we="aria-",ke="data-";function de(me,Pe){return me.indexOf(Pe)===0}function Se(me){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,rt;Pe===!1?rt={aria:!0,data:!0,attr:!0}:Pe===!0?rt={aria:!0}:rt=(0,ne.Z)({},Pe);var ue={};return Object.keys(me).forEach(function(Ue){(rt.aria&&(Ue==="role"||de(Ue,we))||rt.data&&de(Ue,ke)||rt.attr&&qe.includes(Ue))&&(ue[Ue]=me[Ue])}),ue}},73299:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return Ni}});var ne=ee(87462),fe=ee(1413),De=ee(71002),qe=ee(97685),we=ee(4942),ke=ee(45987),de=ee(67294),Se=ee(73935),me=ee(94184),Pe=ee.n(me),rt=ee(48555),ue=de.forwardRef(function(Ln,Pn){var rr=Ln.height,or=Ln.offsetY,$r=Ln.offsetX,Br=Ln.children,jr=Ln.prefixCls,hn=Ln.onInnerResize,It=Ln.innerProps,Zt=Ln.rtl,Gt=Ln.extra,Gn={},kt={display:"flex",flexDirection:"column"};if(or!==void 0){var mn;Gn={height:rr,position:"relative",overflow:"hidden"},kt=(0,fe.Z)((0,fe.Z)({},kt),{},(mn={transform:"translateY(".concat(or,"px)")},(0,we.Z)(mn,Zt?"marginRight":"marginLeft",-$r),(0,we.Z)(mn,"position","absolute"),(0,we.Z)(mn,"left",0),(0,we.Z)(mn,"right",0),(0,we.Z)(mn,"top",0),mn))}return de.createElement("div",{style:Gn},de.createElement(rt.Z,{onResize:function(Mn){var ar=Mn.offsetHeight;ar&&hn&&hn()}},de.createElement("div",(0,ne.Z)({style:kt,className:Pe()((0,we.Z)({},"".concat(jr,"-holder-inner"),jr)),ref:Pn},It),Br,Gt)))});ue.displayName="Filler";var Ue=ue,mt=function(Pn){return+setTimeout(Pn,16)},ot=function(Pn){return clearTimeout(Pn)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(mt=function(Pn){return window.requestAnimationFrame(Pn)},ot=function(Pn){return window.cancelAnimationFrame(Pn)});var vt=0,Ee=new Map;function wt(Ln){Ee.delete(Ln)}var Tt=function(Pn){var rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;vt+=1;var or=vt;function $r(Br){if(Br===0)wt(or),Pn();else{var jr=mt(function(){$r(Br-1)});Ee.set(or,jr)}}return $r(rr),or};Tt.cancel=function(Ln){var Pn=Ee.get(Ln);return wt(Pn),ot(Pn)};var $e=Tt;function ut(Ln,Pn){var rr="touches"in Ln?Ln.touches[0]:Ln;return rr[Pn?"pageX":"pageY"]}var ye=de.forwardRef(function(Ln,Pn){var rr,or=Ln.prefixCls,$r=Ln.rtl,Br=Ln.scrollOffset,jr=Ln.scrollRange,hn=Ln.onStartMove,It=Ln.onStopMove,Zt=Ln.onScroll,Gt=Ln.horizontal,Gn=Ln.spinSize,kt=Ln.containerSize,mn=Ln.style,Zn=Ln.thumbStyle,Mn=de.useState(!1),ar=(0,qe.Z)(Mn,2),hr=ar[0],dn=ar[1],za=de.useState(null),pa=(0,qe.Z)(za,2),ma=pa[0],Sa=pa[1],Aa=de.useState(null),ka=(0,qe.Z)(Aa,2),Er=ka[0],Gr=ka[1],Zi=!$r,Ii=de.useRef(),ni=de.useRef(),hi=de.useState(!1),io=(0,qe.Z)(hi,2),ri=io[0],ho=io[1],ia=de.useRef(),so=function(){clearTimeout(ia.current),ho(!0),ia.current=setTimeout(function(){ho(!1)},3e3)},xo=jr-kt||0,ml=kt-Gn||0,vl=xo>0,Yo=de.useMemo(function(){if(Br===0||xo===0)return 0;var Do=Br/xo;return Do*ml},[Br,xo,ml]),uo=function(Pi){Pi.stopPropagation(),Pi.preventDefault()},wl=de.useRef({top:Yo,dragging:hr,pageY:ma,startTop:Er});wl.current={top:Yo,dragging:hr,pageY:ma,startTop:Er};var Qo=function(Pi){dn(!0),Sa(ut(Pi,Gt)),Gr(wl.current.top),hn(),Pi.stopPropagation(),Pi.preventDefault()};de.useEffect(function(){var Do=function(Cn){Cn.preventDefault()},Pi=Ii.current,Bi=ni.current;return Pi.addEventListener("touchstart",Do),Bi.addEventListener("touchstart",Qo),function(){Pi.removeEventListener("touchstart",Do),Bi.removeEventListener("touchstart",Qo)}},[]);var dl=de.useRef();dl.current=xo;var zl=de.useRef();zl.current=ml,de.useEffect(function(){if(hr){var Do,Pi=function(Cn){var mr=wl.current,Yr=mr.dragging,ha=mr.pageY,mi=mr.startTop;if($e.cancel(Do),Yr){var xi=ut(Cn,Gt)-ha,Ui=mi;!Zi&&Gt?Ui-=xi:Ui+=xi;var di=dl.current,Mi=zl.current,Ao=Mi?Ui/Mi:0,Wo=Math.ceil(Ao*di);Wo=Math.max(Wo,0),Wo=Math.min(Wo,di),Do=$e(function(){Zt(Wo,Gt)})}},Bi=function(){dn(!1),It()};return window.addEventListener("mousemove",Pi),window.addEventListener("touchmove",Pi),window.addEventListener("mouseup",Bi),window.addEventListener("touchend",Bi),function(){window.removeEventListener("mousemove",Pi),window.removeEventListener("touchmove",Pi),window.removeEventListener("mouseup",Bi),window.removeEventListener("touchend",Bi),$e.cancel(Do)}}},[hr]),de.useEffect(function(){so()},[Br]),de.useImperativeHandle(Pn,function(){return{delayHidden:so}});var bl="".concat(or,"-scrollbar"),Sl={position:"absolute",visibility:ri&&vl?null:"hidden"},Ci={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return Gt?(Sl.height=8,Sl.left=0,Sl.right=0,Sl.bottom=0,Ci.height="100%",Ci.width=Gn,Zi?Ci.left=Yo:Ci.right=Yo):(Sl.width=8,Sl.top=0,Sl.bottom=0,Zi?Sl.right=0:Sl.left=0,Ci.width="100%",Ci.height=Gn,Ci.top=Yo),de.createElement("div",{ref:Ii,className:Pe()(bl,(rr={},(0,we.Z)(rr,"".concat(bl,"-horizontal"),Gt),(0,we.Z)(rr,"".concat(bl,"-vertical"),!Gt),(0,we.Z)(rr,"".concat(bl,"-visible"),ri),rr)),style:(0,fe.Z)((0,fe.Z)({},Sl),mn),onMouseDown:uo,onMouseMove:so},de.createElement("div",{ref:ni,className:Pe()("".concat(bl,"-thumb"),(0,we.Z)({},"".concat(bl,"-thumb-moving"),hr)),style:(0,fe.Z)((0,fe.Z)({},Ci),Zn),onMouseDown:Qo}))}),ce=ye;function Xe(Ln){var Pn=Ln.children,rr=Ln.setRef,or=de.useCallback(function($r){rr($r)},[]);return de.cloneElement(Pn,{ref:or})}function et(Ln,Pn,rr,or,$r,Br,jr){var hn=jr.getKey;return Ln.slice(Pn,rr+1).map(function(It,Zt){var Gt=Pn+Zt,Gn=Br(It,Gt,{style:{width:or}}),kt=hn(It);return de.createElement(Xe,{key:kt,setRef:function(Zn){return $r(It,Zn)}},Gn)})}function st(Ln){return Ln instanceof HTMLElement||Ln instanceof SVGElement}function ft(Ln){return st(Ln)?Ln:Ln instanceof de.Component?Se.findDOMNode(Ln):null}var Re=ee(15671),Be=ee(43144),gt=function(){function Ln(){(0,Re.Z)(this,Ln),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,Be.Z)(Ln,[{key:"set",value:function(rr,or){this.maps[rr]=or,this.id+=1}},{key:"get",value:function(rr){return this.maps[rr]}}]),Ln}(),ze=gt;function ct(Ln,Pn,rr){var or=de.useState(0),$r=(0,qe.Z)(or,2),Br=$r[0],jr=$r[1],hn=(0,de.useRef)(new Map),It=(0,de.useRef)(new ze),Zt=(0,de.useRef)();function Gt(){$e.cancel(Zt.current)}function Gn(){var mn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Gt();var Zn=function(){hn.current.forEach(function(ar,hr){if(ar&&ar.offsetParent){var dn=ft(ar),za=dn.offsetHeight;It.current.get(hr)!==za&&It.current.set(hr,dn.offsetHeight)}}),jr(function(ar){return ar+1})};mn?Zn():Zt.current=$e(Zn)}function kt(mn,Zn){var Mn=Ln(mn),ar=hn.current.get(Mn);Zn?(hn.current.set(Mn,Zn),Gn()):hn.current.delete(Mn),!ar!=!Zn&&(Zn?Pn==null||Pn(mn):rr==null||rr(mn))}return(0,de.useEffect)(function(){return Gt},[]),[kt,Gn,It.current,Br]}function nt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ot=nt()?de.useLayoutEffect:de.useEffect,Rt=function(Pn,rr){var or=de.useRef(!0);Ot(function(){return Pn(or.current)},rr),Ot(function(){return or.current=!1,function(){or.current=!0}},[])},an=function(Pn,rr){Rt(function(or){if(!or)return Pn()},rr)},ht=Rt;function Ne(Ln){var Pn=de.useRef();Pn.current=Ln;var rr=de.useCallback(function(){for(var or,$r=arguments.length,Br=new Array($r),jr=0;jr<$r;jr++)Br[jr]=arguments[jr];return(or=Pn.current)===null||or===void 0?void 0:or.call.apply(or,[Pn].concat(Br))},[]);return rr}function At(Ln){var Pn=React.useRef(!1),rr=React.useState(Ln),or=_slicedToArray(rr,2),$r=or[0],Br=or[1];React.useEffect(function(){return Pn.current=!1,function(){Pn.current=!0}},[]);function jr(hn,It){It&&Pn.current||Br(hn)}return[$r,jr]}function An(Ln){return Ln!==void 0}function jt(Ln,Pn){var rr=Pn||{},or=rr.defaultValue,$r=rr.value,Br=rr.onChange,jr=rr.postState,hn=useState(function(){return An($r)?$r:An(or)?typeof or=="function"?or():or:typeof Ln=="function"?Ln():Ln}),It=_slicedToArray(hn,2),Zt=It[0],Gt=It[1],Gn=$r!==void 0?$r:Zt,kt=jr?jr(Gn):Gn,mn=useEvent(Br),Zn=useState([Gn]),Mn=_slicedToArray(Zn,2),ar=Mn[0],hr=Mn[1];useLayoutUpdateEffect(function(){var za=ar[0];Zt!==za&&mn(Zt,za)},[ar]),useLayoutUpdateEffect(function(){An($r)||Gt($r)},[$r]);var dn=useEvent(function(za,pa){Gt(za,pa),hr([Gn],pa)});return[kt,dn]}var Mt=ee(31461);function Kt(Ln,Pn,rr){var or=React.useRef({});return(!("value"in or.current)||rr(or.current.condition,Pn))&&(or.current.value=Ln(),or.current.condition=Pn),or.current.value}function sn(Ln,Pn){typeof Ln=="function"?Ln(Pn):_typeof(Ln)==="object"&&Ln&&"current"in Ln&&(Ln.current=Pn)}function wn(){for(var Ln=arguments.length,Pn=new Array(Ln),rr=0;rr<Ln;rr++)Pn[rr]=arguments[rr];var or=Pn.filter(function($r){return $r});return or.length<=1?or[0]:function($r){Pn.forEach(function(Br){sn(Br,$r)})}}function vn(){for(var Ln=arguments.length,Pn=new Array(Ln),rr=0;rr<Ln;rr++)Pn[rr]=arguments[rr];return useMemo(function(){return wn.apply(void 0,Pn)},Pn,function(or,$r){return or.length!==$r.length||or.every(function(Br,jr){return Br!==$r[jr]})})}function cn(Ln){var Pn,rr,or=isMemo(Ln)?Ln.type.type:Ln.type;return!(typeof or=="function"&&!((Pn=or.prototype)!==null&&Pn!==void 0&&Pn.render)||typeof Ln=="function"&&!((rr=Ln.prototype)!==null&&rr!==void 0&&rr.render))}function Nn(Ln){return!isValidElement(Ln)||isFragment(Ln)?!1:cn(Ln)}function dr(Ln,Pn,rr,or){if(!Pn.length)return rr;var $r=_toArray(Pn),Br=$r[0],jr=$r.slice(1),hn;return!Ln&&typeof Br=="number"?hn=[]:Array.isArray(Ln)?hn=_toConsumableArray(Ln):hn=_objectSpread({},Ln),or&&rr===void 0&&jr.length===1?delete hn[Br][jr[0]]:hn[Br]=dr(hn[Br],jr,rr,or),hn}function En(Ln,Pn,rr){var or=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Pn.length&&or&&rr===void 0&&!get(Ln,Pn.slice(0,-1))?Ln:dr(Ln,Pn,rr,or)}function Ge(Ln){return _typeof(Ln)==="object"&&Ln!==null&&Object.getPrototypeOf(Ln)===Object.prototype}function ve(Ln){return Array.isArray(Ln)?[]:{}}var he=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function be(){for(var Ln=arguments.length,Pn=new Array(Ln),rr=0;rr<Ln;rr++)Pn[rr]=arguments[rr];var or=ve(Pn[0]);return Pn.forEach(function($r){function Br(jr,hn){var It=new Set(hn),Zt=get($r,jr),Gt=Array.isArray(Zt);if(Gt||Ge(Zt)){if(!It.has(Zt)){It.add(Zt);var Gn=get(or,jr);Gt?or=En(or,jr,[]):(!Gn||_typeof(Gn)!=="object")&&(or=En(or,jr,ve(Zt))),he(Zt).forEach(function(kt){Br([].concat(_toConsumableArray(jr),[kt]),It)})}}else or=En(or,jr,Zt)}Br([])}),or}var ge={},se=[],Ye=function(Pn){se.push(Pn)};function xt(Ln,Pn){if(0)var rr}function pn(Ln,Pn){if(0)var rr}function on(){ge={}}function In(Ln,Pn,rr){!Pn&&!ge[rr]&&(Ln(!1,rr),ge[rr]=!0)}function Qn(Ln,Pn){In(xt,Ln,Pn)}function _n(Ln,Pn){In(pn,Ln,Pn)}Qn.preMessage=Ye,Qn.resetWarned=on,Qn.noteOnce=_n;var Vt=null,gn=10;function Fn(Ln,Pn,rr,or,$r,Br,jr,hn){var It=de.useRef(),Zt=de.useState(null),Gt=(0,qe.Z)(Zt,2),Gn=Gt[0],kt=Gt[1];return ht(function(){if(Gn&&Gn.times<gn){if(!Ln.current){kt(function(so){return(0,fe.Z)({},so)});return}Br();var mn=Gn.targetAlign,Zn=Gn.originAlign,Mn=Gn.index,ar=Gn.offset,hr=Ln.current.clientHeight,dn=!1,za=mn,pa=null;if(hr){for(var ma=mn||Zn,Sa=0,Aa=0,ka=0,Er=Math.min(Pn.length-1,Mn),Gr=0;Gr<=Er;Gr+=1){var Zi=$r(Pn[Gr]);Aa=Sa;var Ii=rr.get(Zi);ka=Aa+(Ii===void 0?or:Ii),Sa=ka}for(var ni=ma==="top"?ar:hr-ar,hi=Er;hi>=0;hi-=1){var io=$r(Pn[hi]),ri=rr.get(io);if(ri===void 0){dn=!0;break}if(ni-=ri,ni<=0)break}switch(ma){case"top":pa=Aa-ar;break;case"bottom":pa=ka-hr+ar;break;default:{var ho=Ln.current.scrollTop,ia=ho+hr;Aa<ho?za="top":ka>ia&&(za="bottom")}}pa!==null&&jr(pa),pa!==Gn.lastTop&&(dn=!0)}dn&&kt(function(so){return(0,fe.Z)((0,fe.Z)({},so),{},{times:so.times+1,targetAlign:za,lastTop:pa})})}},[Gn,Ln.current]),function(mn){if(mn==null){hn();return}if($e.cancel(It.current),typeof mn=="number")jr(mn);else if(mn&&(0,De.Z)(mn)==="object"){var Zn,Mn=mn.align;"index"in mn?Zn=mn.index:Zn=Pn.findIndex(function(dn){return $r(dn)===mn.key});var ar=mn.offset,hr=ar===void 0?0:ar;kt({times:0,index:Zn,offset:hr,originAlign:Mn})}}}function Tn(Ln,Pn,rr,or){var $r=rr-Ln,Br=Pn-rr,jr=Math.min($r,Br)*2;if(or<=jr){var hn=Math.floor(or/2);return or%2?rr+hn+1:rr-hn}return $r>Br?rr-(or-Br):rr+(or-$r)}function qt(Ln,Pn,rr){var or=Ln.length,$r=Pn.length,Br,jr;if(or===0&&$r===0)return null;or<$r?(Br=Ln,jr=Pn):(Br=Pn,jr=Ln);var hn={__EMPTY_ITEM__:!0};function It(Zn){return Zn!==void 0?rr(Zn):hn}for(var Zt=null,Gt=Math.abs(or-$r)!==1,Gn=0;Gn<jr.length;Gn+=1){var kt=It(Br[Gn]),mn=It(jr[Gn]);if(kt!==mn){Zt=Gn,Gt=Gt||kt!==It(jr[Gn+1]);break}}return Zt===null?null:{index:Zt,multiple:Gt}}function Dr(Ln,Pn,rr){var or=de.useState(Ln),$r=(0,qe.Z)(or,2),Br=$r[0],jr=$r[1],hn=de.useState(null),It=(0,qe.Z)(hn,2),Zt=It[0],Gt=It[1];return de.useEffect(function(){var Gn=qt(Br||[],Ln||[],Pn);(Gn==null?void 0:Gn.index)!==void 0&&(rr==null||rr(Gn.index),Gt(Ln[Gn.index])),jr(Ln)},[Ln]),[Zt]}var Ut=(typeof navigator=="undefined"?"undefined":(0,De.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),nn=Ut,Nr=function(Ln,Pn){var rr=(0,de.useRef)(!1),or=(0,de.useRef)(null);function $r(){clearTimeout(or.current),rr.current=!0,or.current=setTimeout(function(){rr.current=!1},50)}var Br=(0,de.useRef)({top:Ln,bottom:Pn});return Br.current.top=Ln,Br.current.bottom=Pn,function(jr){var hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,It=jr<0&&Br.current.top||jr>0&&Br.current.bottom;return hn&&It?(clearTimeout(or.current),rr.current=!1):(!It||rr.current)&&$r(),!rr.current&&It}};function cr(Ln,Pn,rr,or,$r){var Br=(0,de.useRef)(0),jr=(0,de.useRef)(null),hn=(0,de.useRef)(null),It=(0,de.useRef)(!1),Zt=Nr(Pn,rr);function Gt(ar,hr){$e.cancel(jr.current),Br.current+=hr,hn.current=hr,!Zt(hr)&&(nn||ar.preventDefault(),jr.current=$e(function(){var dn=It.current?10:1;$r(Br.current*dn),Br.current=0}))}function Gn(ar,hr){$r(hr,!0),nn||ar.preventDefault()}var kt=(0,de.useRef)(null),mn=(0,de.useRef)(null);function Zn(ar){if(Ln){$e.cancel(mn.current),mn.current=$e(function(){kt.current=null},2);var hr=ar.deltaX,dn=ar.deltaY,za=ar.shiftKey,pa=hr,ma=dn;(kt.current==="sx"||!kt.current&&za&&dn&&!hr)&&(pa=dn,ma=0,kt.current="sx");var Sa=Math.abs(pa),Aa=Math.abs(ma);kt.current===null&&(kt.current=or&&Sa>Aa?"x":"y"),kt.current==="y"?Gt(ar,ma):Gn(ar,pa)}}function Mn(ar){Ln&&(It.current=ar.detail===hn.current)}return[Zn,Mn]}var Fr=14/15;function aa(Ln,Pn,rr){var or=(0,de.useRef)(!1),$r=(0,de.useRef)(0),Br=(0,de.useRef)(null),jr=(0,de.useRef)(null),hn,It=function(kt){if(or.current){var mn=Math.ceil(kt.touches[0].pageY),Zn=$r.current-mn;$r.current=mn,rr(Zn)&&kt.preventDefault(),clearInterval(jr.current),jr.current=setInterval(function(){Zn*=Fr,(!rr(Zn,!0)||Math.abs(Zn)<=.1)&&clearInterval(jr.current)},16)}},Zt=function(){or.current=!1,hn()},Gt=function(kt){hn(),kt.touches.length===1&&!or.current&&(or.current=!0,$r.current=Math.ceil(kt.touches[0].pageY),Br.current=kt.target,Br.current.addEventListener("touchmove",It),Br.current.addEventListener("touchend",Zt))};hn=function(){Br.current&&(Br.current.removeEventListener("touchmove",It),Br.current.removeEventListener("touchend",Zt))},ht(function(){return Ln&&Pn.current.addEventListener("touchstart",Gt),function(){var Gn;(Gn=Pn.current)===null||Gn===void 0||Gn.removeEventListener("touchstart",Gt),hn(),clearInterval(jr.current)}},[Ln])}var Jn=20;function Ia(){var Ln=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,rr=Ln/Pn*100;return isNaN(rr)&&(rr=0),rr=Math.max(rr,Jn),rr=Math.min(rr,Ln/2),Math.floor(rr)}function Ta(Ln,Pn,rr,or){var $r=de.useMemo(function(){return[new Map,[]]},[Ln,rr.id,or]),Br=(0,qe.Z)($r,2),jr=Br[0],hn=Br[1],It=function(Gt){var Gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gt,kt=jr.get(Gt),mn=jr.get(Gn);if(kt===void 0||mn===void 0)for(var Zn=Ln.length,Mn=hn.length;Mn<Zn;Mn+=1){var ar,hr=Ln[Mn],dn=Pn(hr);jr.set(dn,Mn);var za=(ar=rr.get(dn))!==null&&ar!==void 0?ar:or;if(hn[Mn]=(hn[Mn-1]||0)+za,dn===Gt&&(kt=Mn),dn===Gn&&(mn=Mn),kt!==void 0&&mn!==void 0)break}return{top:hn[kt-1]||0,bottom:hn[mn]}};return It}var ti=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],Jr=[],ja={overflowY:"auto",overflowAnchor:"none"};function Si(Ln,Pn){var rr=Ln.prefixCls,or=rr===void 0?"rc-virtual-list":rr,$r=Ln.className,Br=Ln.height,jr=Ln.itemHeight,hn=Ln.fullHeight,It=hn===void 0?!0:hn,Zt=Ln.style,Gt=Ln.data,Gn=Ln.children,kt=Ln.itemKey,mn=Ln.virtual,Zn=Ln.direction,Mn=Ln.scrollWidth,ar=Ln.component,hr=ar===void 0?"div":ar,dn=Ln.onScroll,za=Ln.onVirtualScroll,pa=Ln.onVisibleChange,ma=Ln.innerProps,Sa=Ln.extraRender,Aa=Ln.styles,ka=(0,ke.Z)(Ln,ti),Er=!!(mn!==!1&&Br&&jr),Gr=Er&&Gt&&(jr*Gt.length>Br||!!Mn),Zi=Zn==="rtl",Ii=Pe()(or,(0,we.Z)({},"".concat(or,"-rtl"),Zi),$r),ni=Gt||Jr,hi=(0,de.useRef)(),io=(0,de.useRef)(),ri=(0,de.useState)(0),ho=(0,qe.Z)(ri,2),ia=ho[0],so=ho[1],xo=(0,de.useState)(0),ml=(0,qe.Z)(xo,2),vl=ml[0],Yo=ml[1],uo=(0,de.useState)(!1),wl=(0,qe.Z)(uo,2),Qo=wl[0],dl=wl[1],zl=function(){dl(!0)},bl=function(){dl(!1)},Sl=de.useCallback(function(Jt){return typeof kt=="function"?kt(Jt):Jt==null?void 0:Jt[kt]},[kt]),Ci={getKey:Sl};function Do(Jt){so(function(yn){var lr;typeof Jt=="function"?lr=Jt(yn):lr=Jt;var Xr=Yn(lr);return hi.current.scrollTop=Xr,Xr})}var Pi=(0,de.useRef)({start:0,end:ni.length}),Bi=(0,de.useRef)(),zn=Dr(ni,Sl),Cn=(0,qe.Z)(zn,1),mr=Cn[0];Bi.current=mr;var Yr=ct(Sl,null,null),ha=(0,qe.Z)(Yr,4),mi=ha[0],xi=ha[1],Ui=ha[2],di=ha[3],Mi=de.useMemo(function(){if(!Er)return{scrollHeight:void 0,start:0,end:ni.length-1,offset:void 0};if(!Gr){var Jt;return{scrollHeight:((Jt=io.current)===null||Jt===void 0?void 0:Jt.offsetHeight)||0,start:0,end:ni.length-1,offset:void 0}}for(var yn=0,lr,Xr,Ir,yr=ni.length,ba=0;ba<yr;ba+=1){var va=ni[ba],Oa=Sl(va),da=Ui.get(Oa),Ur=yn+(da===void 0?jr:da);Ur>=ia&&lr===void 0&&(lr=ba,Xr=yn),Ur>ia+Br&&Ir===void 0&&(Ir=ba),yn=Ur}return lr===void 0&&(lr=0,Xr=0,Ir=Math.ceil(Br/jr)),Ir===void 0&&(Ir=ni.length-1),Ir=Math.min(Ir+1,ni.length-1),{scrollHeight:yn,start:lr,end:Ir,offset:Xr}},[Gr,Er,ia,ni,di,Br]),Ao=Mi.scrollHeight,Wo=Mi.start,$o=Mi.end,He=Mi.offset;Pi.current.start=Wo,Pi.current.end=$o;var tt=de.useState({width:0,height:Br}),Nt=(0,qe.Z)(tt,2),pe=Nt[0],Oe=Nt[1],Ae=function(yn){Oe({width:yn.width||yn.offsetWidth,height:yn.height||yn.offsetHeight})},Ke=(0,de.useRef)(),Qe=(0,de.useRef)(),at=de.useMemo(function(){return Ia(pe.width,Mn)},[pe.width,Mn]),pt=de.useMemo(function(){return Ia(pe.height,Ao)},[pe.height,Ao]),$t=Ao-Br,tn=(0,de.useRef)($t);tn.current=$t;function Yn(Jt){var yn=Jt;return Number.isNaN(tn.current)||(yn=Math.min(yn,tn.current)),yn=Math.max(yn,0),yn}var fr=ia<=0,Cr=ia>=$t,Dn=Nr(fr,Cr),qn=function(){return{x:Zi?-vl:vl,y:ia}},Xn=(0,de.useRef)(qn()),Ar=Ne(function(){if(za){var Jt=qn();(Xn.current.x!==Jt.x||Xn.current.y!==Jt.y)&&(za(Jt),Xn.current=Jt)}});function Or(Jt,yn){var lr=Jt;yn?((0,Se.flushSync)(function(){Yo(lr)}),Ar()):Do(lr)}function Kr(Jt){var yn=Jt.currentTarget.scrollTop;yn!==ia&&Do(yn),dn==null||dn(Jt),Ar()}var Tr=function(yn){var lr=yn,Xr=Mn-pe.width;return lr=Math.max(lr,0),lr=Math.min(lr,Xr),lr},_r=Ne(function(Jt,yn){yn?((0,Se.flushSync)(function(){Yo(function(lr){var Xr=lr+(Zi?-Jt:Jt);return Tr(Xr)})}),Ar()):Do(function(lr){var Xr=lr+Jt;return Xr})}),Zr=cr(Er,fr,Cr,!!Mn,_r),qr=(0,qe.Z)(Zr,2),Dt=qr[0],Pt=qr[1];aa(Er,hi,function(Jt,yn){return Dn(Jt,yn)?!1:(Dt({preventDefault:function(){},deltaY:Jt}),!0)}),ht(function(){function Jt(lr){Er&&lr.preventDefault()}var yn=hi.current;return yn.addEventListener("wheel",Dt),yn.addEventListener("DOMMouseScroll",Pt),yn.addEventListener("MozMousePixelScroll",Jt),function(){yn.removeEventListener("wheel",Dt),yn.removeEventListener("DOMMouseScroll",Pt),yn.removeEventListener("MozMousePixelScroll",Jt)}},[Er]),ht(function(){Mn&&Yo(function(Jt){return Tr(Jt)})},[pe.width,Mn]);var Kn=function(){var yn,lr;(yn=Ke.current)===null||yn===void 0||yn.delayHidden(),(lr=Qe.current)===null||lr===void 0||lr.delayHidden()},Bn=Fn(hi,ni,Ui,jr,Sl,function(){return xi(!0)},Do,Kn);de.useImperativeHandle(Pn,function(){return{getScrollInfo:qn,scrollTo:function(yn){function lr(Xr){return Xr&&(0,De.Z)(Xr)==="object"&&("left"in Xr||"top"in Xr)}lr(yn)?(yn.left!==void 0&&Yo(Tr(yn.left)),Bn(yn.top)):Bn(yn)}}}),ht(function(){if(pa){var Jt=ni.slice(Wo,$o+1);pa(Jt,ni)}},[Wo,$o,ni]);var xr=Ta(ni,Sl,Ui,jr),zr=Sa==null?void 0:Sa({start:Wo,end:$o,virtual:Gr,offsetX:vl,offsetY:He,rtl:Zi,getSize:xr}),Lr=et(ni,Wo,$o,Mn,mi,Gn,Ci),ca=null;Br&&(ca=(0,fe.Z)((0,we.Z)({},It?"height":"maxHeight",Br),ja),Er&&(ca.overflowY="hidden",Mn&&(ca.overflowX="hidden"),Qo&&(ca.pointerEvents="none")));var un={};return Zi&&(un.dir="rtl"),de.createElement("div",(0,ne.Z)({style:(0,fe.Z)((0,fe.Z)({},Zt),{},{position:"relative"}),className:Ii},un,ka),de.createElement(rt.Z,{onResize:Ae},de.createElement(hr,{className:"".concat(or,"-holder"),style:ca,ref:hi,onScroll:Kr,onMouseEnter:Kn},de.createElement(Ue,{prefixCls:or,height:Ao,offsetX:vl,offsetY:He,scrollWidth:Mn,onInnerResize:xi,ref:io,innerProps:ma,rtl:Zi,extra:zr},Lr))),Gr&&Ao>Br&&de.createElement(ce,{ref:Ke,prefixCls:or,scrollOffset:ia,scrollRange:Ao,rtl:Zi,onScroll:Or,onStartMove:zl,onStopMove:bl,spinSize:pt,containerSize:pe.height,style:Aa==null?void 0:Aa.verticalScrollBar,thumbStyle:Aa==null?void 0:Aa.verticalScrollBarThumb}),Gr&&Mn&&de.createElement(ce,{ref:Qe,prefixCls:or,scrollOffset:vl,scrollRange:Mn,rtl:Zi,onScroll:Or,onStartMove:zl,onStopMove:bl,spinSize:at,containerSize:pe.width,horizontal:!0,style:Aa==null?void 0:Aa.horizontalScrollBar,thumbStyle:Aa==null?void 0:Aa.horizontalScrollBarThumb}))}var $a=de.forwardRef(Si);$a.displayName="List";var ji=$a,Ni=ji},66392:function(Hn,ln){"use strict";var ee;var ne=Symbol.for("react.element"),fe=Symbol.for("react.portal"),De=Symbol.for("react.fragment"),qe=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),de=Symbol.for("react.context"),Se=Symbol.for("react.server_context"),me=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),rt=Symbol.for("react.suspense_list"),ue=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),mt=Symbol.for("react.offscreen"),ot;ot=Symbol.for("react.module.reference");function vt(Ee){if(typeof Ee=="object"&&Ee!==null){var wt=Ee.$$typeof;switch(wt){case ne:switch(Ee=Ee.type,Ee){case De:case we:case qe:case Pe:case rt:return Ee;default:switch(Ee=Ee&&Ee.$$typeof,Ee){case Se:case de:case me:case Ue:case ue:case ke:return Ee;default:return wt}}case fe:return wt}}}ee=de,ee=ke,ee=ne,ee=me,ee=De,ee=Ue,ee=ue,ee=fe,ee=we,ee=qe,ee=Pe,ee=rt,ee=function(){return!1},ee=function(){return!1},ee=function(Ee){return vt(Ee)===de},ee=function(Ee){return vt(Ee)===ke},ee=function(Ee){return typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===ne},ee=function(Ee){return vt(Ee)===me},ee=function(Ee){return vt(Ee)===De},ee=function(Ee){return vt(Ee)===Ue},ee=function(Ee){return vt(Ee)===ue},ee=function(Ee){return vt(Ee)===fe},ee=function(Ee){return vt(Ee)===we},ee=function(Ee){return vt(Ee)===qe},ee=function(Ee){return vt(Ee)===Pe},ee=function(Ee){return vt(Ee)===rt},ee=function(Ee){return typeof Ee=="string"||typeof Ee=="function"||Ee===De||Ee===we||Ee===qe||Ee===Pe||Ee===rt||Ee===mt||typeof Ee=="object"&&Ee!==null&&(Ee.$$typeof===Ue||Ee.$$typeof===ue||Ee.$$typeof===ke||Ee.$$typeof===de||Ee.$$typeof===me||Ee.$$typeof===ot||Ee.getModuleId!==void 0)},ee=vt},31461:function(Hn,ln,ee){"use strict";ee(66392)},25510:function(Hn){"use strict";Hn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGKY3mUj6VbDBIaThItepxTGK9kQDLrkY8h5jxPEiNxs7TzHrdVAvYBnGAR+wYBOR7OPOb4B8DV6mn01RxBoW3O8YmjsXUGNU2t7/w2uPzHxtHHHq+aByofSnPtvu1Mxs/NN9q/WR9ptVq9VNqDYapV0upFhc/O1yR5enwIRI9DPiU6txrSHmNMBEIr9TxVCOO+Bt34JGIsSMfWlDgFH8hJeKH8UuKVCe8Naqn+Vq9MzMc/OcPHmn9yhjFoeeLwoEvmYb+yOnUPtdpfXertd1qbnXSTL2JoIziopUhPFlQdnJhWsgAKZGVR6EKQSwSZzgCptsp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gkV7wuchoGl0C62g6GBA/MJHMMWVWunf6PqlZIUPOsnC3zPrV59NeR2WoA3qkocJmh1miWmxmq0h0ihx7lsHwgkHTrXAAlCGlMq3qnWlUcM2KS192p3IqhFa5AJ7dBoXKBJIN7QJCcEWPvpJDAyIhV1N81GOOIAZNJDkhmYZTdrTFUAhtrrOzUt1ujxj4C2E201JZgcZ/VNWkawOh62secBqLWufgcqCvLDs0z3+CAZIwYe9xdLVepXJScFOKWhWQOd1rVoqqDTMGnV2U85AEN2cQw5h245yd7OLo8oxt4wVyYGyQnkXUadIa6K4xARA9+HALJ8vvfsW0kKnen3JQDkptFyiUKAIUrctSaSGh56uZGIGn3ZTLJ+99dlOpz/lcFOSQxrizjSBCQboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(Hn){"use strict";Hn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7svWuXJMdxJWgRmVmP7gYIgEOOtLMjUY/R7v//OfthZ85KsyNRIgg0+lFVmRkx59o1czf38HhkVjXQAFE8TVRlRvjD3Nzsur28k19/fqXArxT4lQK/UuBXCvxKgV8p8EIU6F6onV+b+ZUCv1LgVwr8SoFfKfArBX6lgHT//O15/DHpUCOZH7Xz2Ylei68w+va7+LScG/9qv+FtxDc6GcdRm++ks7bGutH1pbt2amst21AxNv15Rj959hXFjFjPaNpmUbYwppVJozcK87l5npxf75JcsYdnEqca0ZSvnk+dtaV++e+dwktjzzQsFqTjmum3oRm2ZOtZbSc8hue5j/ie/x3n1nXeSv50ygv8RJ9MY7Hn08O+1+t9nfnNG8EW5xJHZs98NmCsEANdJ/tulLP2PEiP/442nw5z6/XzYTTq6HcmObSBXkSfm/uxtrTdtLk50/A3WgSZtHX812iA3imrbDq2kZxfoWVOo8hxGPXf0yDygP+eR8F3vtqdjrGTHsN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xBEn2CjyIg2UsoN2kZ8yJsK6lIEYNv61Ol0AY0s40gKDRJ6PWhVbAfnokh/+f17oKelHNP2kwROsZoa+DDnL4JaDI+U/UejzbXSaxR/K5ygXVan6UasJJiI6AV8jKgQWdQh+P8NewCBXTkFh5dNNOoB4NwLLtSc05opxCA5sQ2qkzqjlkPGndvq4I2alefyPfrwQWLWvK26J+U4VPtymGNvr6jJCkpX+Gv4bASrciDcnqMQ62IDT82UnbIvbP3v2aDjMISHRqDvhU/jScZAIuZpF7urMIRHhxMtxaDVxkP5s6/PTemjld9JmqnoUAXdp76ZqangOGXnmbuSSwINlw66vnonq757l0gHwoTNt7cz8nd3Yz4f/0XK6vduVqt42shwKRVC5U58oEJnXL9FPjpcPhFGHaBhdxW4sOsYHZjZGul8dDeXg4eBKtw86VGhGVwicBOpT6OxwMMV/3EQg6AWKIUvH5RNolA29CDT3wmNspggFJXkNUkl1IuQKnQixEgIwkJ5MjBYF/fTCG7E6XWDeW06oJpdinfW8BEx7JYaHE0aM0JdIN1IOF8WgwFO5YnABqrkUiiFDCsnyPqU9PKWXmCwc5De9OC0XNdja1QysjHUcte17BFMJCEZ5K6RCDwN/tGnKlws/cKIg8Kj4vMASYVKjdqXExZzAh8op+/5zRwrdHv1HgGwW+UeAbBb5R4BsFvlGgpcA3YPFtR3yjwDcKfKPANwp8o8A3ClyMAv8DD8nJIGmcntAAAAAASUVORK5CYII="},96908:function(Hn){"use strict";Hn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7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2ty32e5U9kTU7JoOMIGzAVIDuVTbZOOyETtJIz2r35ytseAijkAqz3KQnAQAvf0Kb2Rm1r4Miz470qd10IuBCQ8WrjeCpvH5AZs2GqjHnj5iOmDaiABrs28DSJNizJpTcp3VYd/cKAhVIZWBTjTqR9M2fIQGDFIbLznvV9tHncq8n3XY4cs9c+P0O6vTFw+4dYHW+ONu9veFb4GIm+J/LaXmBtdsEFdgFAA8Up9wTiocZaDRgbuB3DNjNmjQGvQ74fwJl5+NYwSun8H2aBo8h54oZTxALkTR9Zd/uT1Gsoi0bHIRf3l902VNxoWm3ctqzAaaBjmYGLDsTw9gg6XeY7graRINU7FDwtiyyExzvWOA+AneF5t9UF43Rvya0MzrR74jwhAqtE1YdjrUyTrQ5JypT/LI+izkPjTQJ67DEWrh1j/oWACsm/+FryLzaOpzYAg2TFI8kFGoP8Cq+8yTvVE1Chl4PeF1gIizRKgb+rPC5FLHYM72PZRw48cuCRA48ceOTAIwceOTDB2o8MeuTAIwceOfDIgUcOPHLgkQOX4cD/Dy5hqdeaBa56AAAAAElFTkSuQmCC"},36459:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return ne}});function ne(fe){if(fe==null)throw new TypeError("Cannot destructure "+fe)}},84279:function(Hn,ln,ee){"use strict";var ne=Object.defineProperty,fe=Object.defineProperties,De=Object.getOwnPropertyDescriptors,qe=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,de=(a,y,b)=>y in a?ne(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,Se=(a,y)=>{for(var b in y||(y={}))we.call(y,b)&&de(a,b,y[b]);if(qe)for(var b of qe(y))ke.call(y,b)&&de(a,b,y[b]);return a},me=(a,y)=>fe(a,De(y)),Pe=a=>typeof a=="symbol"?a:a+"",rt=(a,y)=>{var b={};for(var E in a)we.call(a,E)&&y.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&qe)for(var E of qe(a))y.indexOf(E)<0&&ke.call(a,E)&&(b[E]=a[E]);return b};function ue(a){return Array.isArray(a)}var Ue={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 mt(){return"window"in globalThis&&"document"in globalThis}function ot(){return"matchMedia"in window?window.matchMedia("(pointer: coarse)").matches:"ontouchstart"in window||navigator.maxTouchPoints>0}function vt(){return typeof navigator.vibrate=="function"}function Ee(){var a,y;if(!mt())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 wt(){if(!mt())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 Tt(){return HTMLElement.prototype.hasOwnProperty("popover")}var $e={strings:Ue,_locale:"",_dirty:!1,_subscribers:[],_numberFormatter:void 0,get locale(){return $e._locale||($e._locale=mt()?navigator.language.slice(0,5):"en-US"),$e._locale},set locale(a){$e._locale=a,$e._numberFormatter=void 0,$e.dirty=!0},get numberFormatter(){return $e._numberFormatter||($e._numberFormatter=new Intl.NumberFormat($e.locale)),$e._numberFormatter},merge(a,y){if(typeof a=="string"&&y)$e.strings[a]=Se(Se({},$e.strings[a]),y),$e.dirty=!0;else for(const b of Object.keys(a))$e.merge(b,a[b])},get dirty(){return $e._dirty},set dirty(a){$e._dirty||$e._dirty===a||($e._dirty=!0,setTimeout(()=>{$e._dirty=!1,this._subscribers.forEach(y=>y==null?void 0:y())},0))},subscribe(a){return $e._subscribers.push(a),$e._subscribers.length-1},unsubscribe(a){a<0||a>=$e._subscribers.length||($e._subscribers[a]=void 0)},update(a){let y=a.querySelectorAll("[data-l10n-tooltip]");for(const b of y){const E=b.getAttribute("data-l10n-tooltip");if(E){const te=ut(E);te&&b.setAttribute("data-tooltip",te)}}y=a.querySelectorAll("[data-l10n-arial-label]");for(const b of y){const E=b.getAttribute("data-l10n-arial-label");if(E){const te=ut(E);te&&b.setAttribute("aria-label",te)}}}};function ut(a,...y){if(a===void 0)return;let b="";const E=$e.locale;$e.strings[E]&&(b=$e.strings[E][a]);const te=E.slice(0,2);if(!b&&$e.strings[te]&&(b=$e.strings[te][a]),b||(b=$e.strings.en[a]),!b)return;const ie=/(%@|%([0-9]+)\$@)/g;let le=ie.exec(b),Me=0;for(;le;){if(y[Me++]){const Ve=le[2]?parseInt(le[2],10)-1:Me-1;let lt=y[Ve];typeof lt=="number"&&(lt=$e.numberFormatter.format(lt)),b=b.replace(le[1],lt)}le=ie.exec(b)}return b=b.replace(/%%/g,"%"),b}var ye={m0:"#3F3D99",m1:"#993D71",m2:"#998B3D",m3:"#3D9956",m4:"#3D5A99",m5:"#993D90",m6:"#996D3D",m7:"#43993D",m8:"#3D7999",m9:"#843D99"},ce={blue:"#0072BD",orange:"#D95319",yellow:"#EDB120",purple:"#7E2F8E",green:"#77AC30",cyan:"#4DBEEE",red:"#A2142F"},Xe={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"},et={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"},st={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"},ft={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 Re(a){var y,b,E,te,ie,le;const Me=a.split("!");let Fe,Ve,lt,zt=255,xn=255,tr=255,pr=-1;const Na=Me.length>0&&Me[0].startsWith("-");Na&&(Me[0]=Me[0].slice(1));for(let qi=0;qi<Me.length;qi++){Fe=zt,Ve=xn,lt=tr;const Ca=(y=Me[qi].trim().match(/^([A-Za-z\d-]+)/))==null?void 0:y[1],ci=Ca==null?void 0:Ca.toLowerCase(),ao=Ca&&(le=(ie=(te=(E=(b=et[ci])!=null?b:et[st[Ca]])!=null?E:ce[Ca])!=null?te:ft[Ca])!=null?ie:ye[Ca])!=null?le:Me[qi].trim();let bi=ao.match(/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);if(bi!=null&&bi[1]&&bi[2]&&bi[3])zt=Math.max(0,Math.min(255,Number.parseInt(bi[1],16))),xn=Math.max(0,Math.min(255,Number.parseInt(bi[2],16))),tr=Math.max(0,Math.min(255,Number.parseInt(bi[3],16)));else if(bi=ao.match(/^#([\da-f]{3})$/i),bi!=null&&bi[1]){const al=Number.parseInt(bi[1][0],16),Ll=Number.parseInt(bi[1][1],16),Cl=Number.parseInt(bi[1][2],16);zt=Math.max(0,Math.min(255,al*16+al)),xn=Math.max(0,Math.min(255,Ll*16+Ll)),tr=Math.max(0,Math.min(255,Cl*16+Cl))}else if(bi=ao.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),bi!=null&&bi[1]&&bi[2]&&bi[3])zt=Math.max(0,Math.min(255,Number.parseInt(bi[1]))),xn=Math.max(0,Math.min(255,Number.parseInt(bi[2]))),tr=Math.max(0,Math.min(255,Number.parseInt(bi[3])));else return;pr>=0&&(zt=(1-pr)*zt+pr*Fe,xn=(1-pr)*xn+pr*Ve,tr=(1-pr)*tr+pr*lt,pr=-1),qi+1<Me.length&&(pr=Math.max(0,Math.min(100,Number.parseInt(Me[++qi])))/100)}return pr>=0&&(zt=pr*zt+(1-pr)*Fe,xn=pr*xn+(1-pr)*Ve,tr=pr*tr+(1-pr)*lt),Na&&(zt=255-zt,xn=255-xn,tr=255-tr),"#"+("00"+Math.round(zt).toString(16)).slice(-2)+("00"+Math.round(xn).toString(16)).slice(-2)+("00"+Math.round(tr).toString(16)).slice(-2)}function Be(a){var y,b;return a=a.trim(),(b=(y=Xe[a.toLowerCase()])!=null?y:Xe[st[a]])!=null?b:Re(a)}function gt(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 ct(a){let[y,b,E]=[a.h,a.s,a.l];y=(y+360)%360/60,E=Math.max(0,Math.min(E,1)),b=Math.max(0,Math.min(b,1));const te=E<=.5?E*(b+1):E+b-E*b,ie=E*2-te;return{r:Math.round(255*ze(ie,te,y+2)),g:Math.round(255*ze(ie,te,y)),b:Math.round(255*ze(ie,te,y-2))}}function nt(a){return a<0?0:a>255?255:Math.round(a)}function Ot(a){const{r:y,g:b,b:E}=a;let te=((1<<24)+(nt(y)<<16)+(nt(b)<<8)+nt(E)).toString(16).slice(1);return te[0]===te[1]&&te[2]===te[3]&&te[4]===te[5]&&te[6]===te[7]&&(te=te[0]+te[2]+te[4]),"#"+te}function Rt(a){let{r:y,g:b,b:E}=a;y=y/255,b=b/255,E=E/255;const te=Math.min(y,b,E),ie=Math.max(y,b,E),le=ie-te;let Me,Fe;ie===te?Me=0:y===ie?Me=(b-E)/le:b===ie?Me=2+(E-y)/le:E===ie&&(Me=4+(y-b)/le),Me=Math.min(Me*60,360),Me<0&&(Me+=360);const Ve=(te+ie)/2;return ie===te?Fe=0:Ve<=.5?Fe=le/(ie+te):Fe=le/(2-ie-te),{h:Me,s:Fe,l:Ve}}function an(a){let y=gt(a);if(!y)return a;let{h:b,s:E,l:te}=Rt(y);return E+=.1,te-=.1,Ot(ct({h:b,s:E,l:te}))}var ht={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"},Ne={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},At=[{start:119808,len:26,offset:65,style:"bold"},{start:119834,len:26,offset:97,style:"bold"},{start:119860,len:26,offset:65,style:"italic"},{start:119886,len:26,offset:97,style:"italic"},{start:119912,len:26,offset:65,style:"bolditalic"},{start:119938,len:26,offset:97,style:"bolditalic"},{start:119964,len:26,offset:65,variant:"script"},{start:119990,len:26,offset:97,variant:"script"},{start:120016,len:26,offset:65,variant:"script",style:"bold"},{start:120042,len:26,offset:97,variant:"script",style:"bold"},{start:120068,len:26,offset:65,variant:"fraktur"},{start:120094,len:26,offset:97,variant:"fraktur"},{start:120172,len:26,offset:65,variant:"fraktur",style:"bold"},{start:120198,len:26,offset:97,variant:"fraktur",style:"bold"},{start:120120,len:26,offset:65,variant:"double-struck"},{start:120146,len:26,offset:97,variant:"double-struck"},{start:120224,len:26,offset:65,variant:"sans-serif"},{start:120250,len:26,offset:97,variant:"sans-serif"},{start:120276,len:26,offset:65,variant:"sans-serif",style:"bold"},{start:120302,len:26,offset:97,variant:"sans-serif",style:"bold"},{start:120328,len:26,offset:65,variant:"sans-serif",style:"italic"},{start:120354,len:26,offset:97,variant:"sans-serif",style:"italic"},{start:120380,len:26,offset:65,variant:"sans-serif",style:"bolditalic"},{start:120406,len:26,offset:97,variant:"sans-serif",style:"bolditalic"},{start:120432,len:26,offset:65,variant:"monospace"},{start:120458,len:26,offset:97,variant:"monospace"},{start:120488,len:25,offset:913,style:"bold"},{start:120514,len:25,offset:945,style:"bold"},{start:120546,len:25,offset:913,style:"italic"},{start:120572,len:25,offset:945,style:"italic"},{start:120604,len:25,offset:913,style:"bolditalic"},{start:120630,len:25,offset:945,style:"bolditalic"},{start:120662,len:25,offset:913,variant:"sans-serif",style:"bold"},{start:120688,len:25,offset:945,variant:"sans-serif",style:"bold"},{start:120720,len:25,offset:913,variant:"sans-serif",style:"bolditalic"},{start:120746,len:25,offset:945,variant:"sans-serif",style:"bolditalic"},{start:120782,len:10,offset:48,variant:"main",style:"bold"},{start:120792,len:10,offset:48,variant:"double-struck"},{start:120803,len:10,offset:48,variant:"sans-serif"},{start:120812,len:10,offset:48,variant:"sans-serif",style:"bold"},{start:120822,len:10,offset:48,variant:"monospace"}];function An(a,y,b){if(!/[A-Za-z\d]/.test(a)||(b==="up"&&(b=void 0),!y&&!b))return a;const E=a.codePointAt(0);if(E===void 0)return a;for(const te of At)if((!y||te.variant===y)&&(!b||te.style===b)&&E>=te.offset&&E<te.offset+te.len){const ie=te.start+E-te.offset;return String.fromCodePoint(Ne[ie]||ie)}return a}function jt(a){var y;if((a<119808||a>120831)&&(a<8448||a>8527))return{char:String.fromCodePoint(a)};for(const b in Ne)if(Ne[b]===a){a=(y=b.codePointAt(0))!=null?y:0;break}for(const b of At)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 Mt(a){var y;let b="";for(const E of a){if("{}<>[]$&#^_%:'\u02DC".includes(E)){b+=E;continue}const te=(y=E.codePointAt(0))!=null?y:0;let ie=ht[te];if(ie)ie.startsWith("\\")?b+=ie+" ":b+=ie;else{const{char:le,variant:Me,style:Fe}=jt(te);switch(ie=le,Me){case"double-struck":ie=`\\mathbb{${ie}}`;break;case"fraktur":ie=`\\mathfrak{${ie}}`;break;case"script":ie=`\\mathscr{${ie}}`;break;case"sans-serif":ie=`\\mathsf{${ie}}`;break;case"monospace":ie=`\\mathtt{${ie}}`;break;case"calligraphic":ie=`\\mathcal{${ie}}`;break}switch(Fe){case"bold":ie=`\\mathbf{${ie}}`;break;case"italic":ie=`\\mathit{${ie}}`;break;case"bolditalic":ie=`\\mathbfit{${ie}}`;break}b+=ie}}return b}function Kt(a){return a?Array.isArray(a)?a:typeof a=="object"&&"group"in a?a.group:[]:[]}var sn={},wn=Se({},ht),vn={},cn={},Nn={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}"},dr={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}},En={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}},Ge={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:En},"amsmath.sty":{package:dr,primitive:!0},"texvc.sty":{package:Nn,primitive:!1}},ve={" ":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},he=/[\w!@*()-=+{}\[\]\\';:?/.,~<>`|$%#&^" ]/,be,ge;wt()?(be=new RegExp("\\p{Letter}","u"),ge=new RegExp("[0-9\\p{Letter}]","u")):(be=/[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/,ge=/[\da-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/);function se(a,y,b="mord",E){y!==void 0&&(sn[a]={definitionType:"symbol",type:b,variant:E,codepoint:y},wn[y]||(wn[y]=a))}function Ye(a,y,b){if(typeof a=="string"){for(let E=0;E<a.length;E++){const te=a.charAt(E);se(te,te.codePointAt(0))}return}for(const[E,te,ie,le]of a)se(E,te,ie!=null?ie:y,le!=null?le:b)}function xt(a,y){for(let b=a;b<=y;b++)se(String.fromCodePoint(b),b)}function pn(a){var y;return(y=cn[a])!=null?y:null}function on(a,y){var b,E;if(y.length===0||y==="\\"||!y.startsWith("\\"))return[];const te=[];for(const le in vn)le.startsWith(y)&&!vn[le].infix&&te.push({match:le,frequency:(b=vn[le].frequency)!=null?b:0});for(const le in sn)le.startsWith(y)&&te.push({match:le,frequency:(E=sn[le].frequency)!=null?E:0});const ie=y.substring(1);for(const le of Object.keys(a.options.macros))le.startsWith(ie)&&te.push({match:"\\"+le,frequency:0});return te.sort((le,Me)=>{var Fe,Ve;return le.frequency===Me.frequency?le.match.length===Me.match.length?le.match<Me.match?-1:1:le.match.length-Me.match.length:((Fe=Me.frequency)!=null?Fe:0)-((Ve=le.frequency)!=null?Ve:0)}),te.map(le=>le.match)}function In(a){let y="auto";const b=a.match(/:([^=]+)/);return b&&(y=b[1].trim()),y}function Qn(a){if(!a)return[];const y=[];let b=a.split("]");if(b[0].startsWith("[")){y.push({isOptional:!0,type:In(b[0].slice(1))});for(let E=1;E<=b.length;E++)y.push(...Qn(b[E]))}else if(b=a.split("}"),b[0].startsWith("{")){y.push({isOptional:!1,type:In(b[0].slice(1))});for(let E=1;E<=b.length;E++)y.push(...Qn(b[E]))}return y}function _n(a){if(!a)return"";let y="",b=!0;for(const E of a)typeof E.value=="string"?y+=E.value:b=!1;return b?y:""}function Vt(a,y){typeof a=="string"&&(a=[a]);const b={tabular:!1,params:[],createAtom:y};for(const E of a)cn[E]=b}function gn(a,y,b){typeof a=="string"&&(a=[a]);const te={tabular:!0,params:Qn(y),createAtom:b};for(const ie of a)cn[ie]=te}function Fn(a,y,b){var E,te;b||(b={});const ie={definitionType:"function",params:Qn(y),ifMode:b.ifMode,isFunction:(E=b.isFunction)!=null?E:!1,applyMode:b.applyMode,infix:(te=b.infix)!=null?te:!1,parse:b.parse,createAtom:b.createAtom,applyStyle:b.applyStyle,serialize:b.serialize,render:b.render};if(typeof a=="string")vn["\\"+a]=ie;else for(const le of a)vn["\\"+le]=ie}var Tn;function qt(a){return Tn||(Tn=Ut(Ge)),a?Ut(Se(Se({},Tn),a)):Tn}function Dr(a,y){var b,E,te,ie;if(typeof a=="string"){let le=0;const Me=a;return/(^|[^\\])#1/.test(Me)&&(le=1),/(^|[^\\])#2/.test(Me)&&(le=2),/(^|[^\\])#3/.test(Me)&&(le=3),/(^|[^\\])#4/.test(Me)&&(le=4),/(^|[^\\])#5/.test(Me)&&(le=5),/(^|[^\\])#6/.test(Me)&&(le=6),/(^|[^\\])#7/.test(Me)&&(le=7),/(^|[^\\])#8/.test(Me)&&(le=8),/(^|[^\\])#9/.test(Me)&&(le=9),{expand:(b=y==null?void 0:y.expand)!=null?b:!0,captureSelection:(E=y==null?void 0:y.captureSelection)!=null?E:!0,args:le,def:Me}}return Se({expand:(te=y==null?void 0:y.expand)!=null?te:!0,captureSelection:(ie=y==null?void 0:y.captureSelection)!=null?ie:!0,args:0},a)}function Ut(a){if(!a)return{};const y={};for(const b of Object.keys(a)){const E=a[b];if(E==null)delete y[b];else if(typeof E=="object"&&"package"in E)for(const te of Object.keys(E.package))y[te]=Dr(E.package[te],{expand:!E.primitive,captureSelection:E.captureSelection});else y[b]=Dr(E)}return y}function nn(a,y="math"){if(!a||a.length===0)return null;let b=null;if(a.startsWith("\\")){if(b=vn[a],b)return!b.ifMode||b.ifMode===y?b:null;y==="math"?b=sn[a]:ve[a]&&(b={definitionType:"symbol",type:"mord",codepoint:ve[a]})}else if(y==="math"){if(b=sn[a],!b&&a.length===1){const E=cr("math",a.codePointAt(0));return E.startsWith("\\")?me(Se({},nn(E,"math")),{command:E}):null}}else ve[a]?b={definitionType:"symbol",type:"mord",codepoint:ve[a]}:y==="text"&&(b={definitionType:"symbol",type:"mord",codepoint:a.codePointAt(0)});return b!=null?b:null}function Nr(a,y){if(!a.startsWith("\\"))return null;const b=a.slice(1);return y[b]}function cr(a,y){if(y===void 0)return"";if(a==="math"&&wn[y])return wn[y];if(a==="text"){const b=Object.keys(ve).find(E=>ve[E]===y);return b||String.fromCodePoint(y)}return String.fromCodePoint(y)}var Fr=[0,.68889,0,0,.72222],aa=[0,.68889,0,0,.66667],Jn=[0,.68889,0,0,.77778],Ia=[0,.68889,0,0,.61111],Ta=[.16667,.68889,0,0,.77778],ti=[0,.68889,0,0,.55556],Jr=[0,0,0,0,.25],ja=[0,.825,0,0,2.33334],Si=[0,.9,0,0,2.33334],$a=[0,.68889,0,0,.54028],ji=[-.03598,.46402,0,0,.5],Ni=[-.13313,.36687,0,0,1],Ln=[.01354,.52239,0,0,1],Pn=[.01354,.52239,0,0,1.11111],rr=[0,.54986,0,0,1],or=[0,.69224,0,0,.5],$r=[0,.43056,0,0,1],Br=[.08198,.58198,0,0,.77778],jr=[.19444,.69224,0,0,.41667],hn=[.1808,.675,0,0,1],It=[.19444,.69224,0,0,.83334],Zt=[.13667,.63667,0,0,1],Gt=[-.064,.437,0,0,1.334],Gn=[.08167,.58167,0,0,.77778],kt=[0,.69224,0,0,.72222],mn=[0,.69224,0,0,.66667],Zn=[-.13313,.36687,0,0,.77778],Mn=[.06062,.54986,0,0,.77778],ar=[0,.69224,0,0,.77778],hr=[.25583,.75583,0,0,.77778],dn=[.25142,.75726,0,0,.77778],za=[.20576,.70576,0,0,.77778],pa=[.30274,.79383,0,0,.77778],ma=[.22958,.72958,0,0,.77778],Sa=[.1808,.675,0,0,.77778],Aa=[.13667,.63667,0,0,.77778],ka=[.13597,.63597,0,0,.77778],Er=[.03517,.54986,0,0,.77778],Gr=[0,.675,0,0,.77778],Zi=[.19444,.69224,0,0,.61111],Ii=[0,.54986,0,0,.76042],ni=[0,.54986,0,0,.66667],hi=[.0391,.5391,0,0,.77778],io=[.03517,.54986,0,0,1.33334],ri=[.38569,.88569,0,0,.77778],ho=[.23222,.74111,0,0,.77778],ia=[.19444,.69224,0,0,.77778],so=[0,.37788,0,0,.5],xo=[0,.54986,0,0,.72222],ml=[0,.69224,0,0,.83334],vl=[.11111,.69224,0,0,.66667],Yo=[.26167,.75726,0,0,.77778],uo=[.48256,.98256,0,0,.77778],wl=[.28481,.79383,0,0,.77778],Qo=[.08167,.58167,0,0,.22222],dl=[.08167,.58167,0,0,.38889],zl=[0,.43056,.04028,0,.66667],bl=[.41951,.91951,0,0,.77778],Sl=[.24982,.74947,0,0,.38865],Ci=[.08319,.58283,0,0,.75623],Do=[0,.10803,0,0,.27764],Pi=[0,.47534,0,0,.50181],Bi=[.18906,.47534,0,0,.50181],zn=[0,.69141,0,0,.50181],Cn=[.24982,.74947,0,0,.27764],mr=[0,.69141,0,0,.21471],Yr=[.25,.75,0,0,.44722],ha=[0,.64444,0,0,.575],mi=[.08556,.58556,0,0,.89444],xi=[0,.69444,0,0,.89444],Ui=[0,.68611,0,0,.9],di=[0,.68611,0,0,.86944],Mi=[.25,.75,0,0,.575],Ao=[.25,.75,0,0,.31944],Wo=[0,.69444,0,0,.63889],$o=[0,.69444,0,0,.31944],He=[0,.44444,0,0,.63889],tt=[0,.44444,0,0,.51111],Nt=[0,.69444,0,0,.575],pe=[.13333,.63333,0,0,.89444],Oe=[0,.44444,0,0,.31944],Ae=[0,.69444,0,0,.86944],Ke=[0,.68611,0,0,.69166],Qe=[0,.68611,0,0,.83055],at=[0,.68611,0,0,.89444],pt=[0,.69444,0,0,.60278],$t=[.19444,.69444,0,0,.51111],tn=[0,.69444,0,0,.83055],Yn=[-.10889,.39111,0,0,1.14999],fr=[.19444,.69444,0,0,.575],Cr=[.19444,.69444,0,0,1.14999],Dn=[.19444,.69444,0,0,.70277],qn=[.05556,.75,0,0,.575],Xn=[0,.68611,0,0,.95833],Ar=[.08556,.58556,0,0,.76666],Or=[-.02639,.47361,0,0,.575],Kr=[0,.44444,0,0,.89444],Tr=[0,.55556,0,0,.76666],_r=[-.10889,.39111,0,0,.89444],Zr=[.00222,.50222,0,0,.89444],qr=[.19667,.69667,0,0,.89444],Dt=[.08556,.58556,0,0,1.14999],Pt=[0,.69444,0,0,.70277],Kn=[-.02778,.47222,0,0,.575],Bn=[.25,.75,0,0,.51111],xr=[-.13889,.36111,0,0,1.14999],zr=[.19444,.69444,0,0,1.02222],Lr=[.12963,.69444,0,0,.89444],ca=[.19444,.69444,0,0,.44722],un=[0,.64444,.13167,0,.59111],Jt=[.19444,.64444,.13167,0,.59111],yn=[0,.68611,.17208,0,.8961],lr=[.19444,.44444,.105,0,.53222],Xr=[0,.44444,.085,0,.82666],Ir=[0,.69444,.06709,0,.59111],yr=[0,.69444,.12945,0,.35555],ba=[0,.69444,0,0,.94888],va=[0,.69444,.11472,0,.59111],Oa=[0,.68611,.10778,0,.88555],da=[0,.69444,.07939,0,.62055],Ur=[0,.69444,.12417,0,.30667],Wa=[0,.64444,.13556,0,.51111],ai=[.19444,.64444,.13556,0,.51111],_a=[0,.68333,.16389,0,.74333],Va=[.19444,.43056,.08847,0,.46],ei=[0,.43056,.07514,0,.71555],Yi=[0,.69444,.06646,0,.51111],Ei=[0,.69444,0,0,.83129],Wi=[0,.69444,.1225,0,.51111],Gi=[0,.68333,.09403,0,.76666],po=[0,.68333,.11111,0,.76666],Qi=[0,.69444,.06961,0,.51444],So=[0,.69444,0,0,.27778],Ki=[.25,.75,0,0,.38889],Ai=[0,.64444,0,0,.5],ko=[0,.69444,0,0,.77778],Bo=[0,.68333,0,0,.75],zi=[0,.68333,0,0,.77778],gl=[0,.68333,0,0,.68056],El=[0,.68333,0,0,.72222],il=[.25,.75,0,0,.5],Vo=[.25,.75,0,0,.27778],go=[0,.69444,0,0,.5],_l=[0,.69444,0,0,.55556],jo=[0,.43056,0,0,.44445],mo=[0,.43056,0,0,.5],el=[.19444,.43056,0,0,.55556],Vl=[0,.43056,0,0,.55556],fl=[.08333,.58333,0,0,.77778],Dl=[0,.43056,0,0,.27778],Oo=[0,.66786,0,0,.27778],jl=[0,.69444,0,0,.75],ls=[0,.66786,0,0,.5],Ql=[0,.68333,0,0,.625],Al=[.19444,.69444,0,0,.44445],Tl=[0,.69444,0,0,.72222],$l=[.19444,.69444,0,0,.5],Rl=[.19444,.69444,0,0,1],Il=[.011,.511,0,0,1.126],ss=[.19444,.69444,0,0,.61111],us=[.05556,.75,0,0,.5],ms=[0,.68333,0,0,.83334],ts=[.0391,.5391,0,0,.66667],ns=[-.05555,.44445,0,0,.5],Go=[0,.43056,0,0,.77778],ol=[0,.55556,0,0,.66667],Wl=[-.03625,.46375,0,0,.77778],Xl=[-.01688,.48312,0,0,.77778],hs=[.0391,.5391,0,0,1],xs=[0,.69444,0,0,.61111],Ms=[-.03472,.46528,0,0,.5],zs=[.25,.75,0,0,.44445],Ws=[-.14236,.35764,0,0,1],Bs=[.244,.744,0,0,.412],Xs=[.19444,.69444,0,0,.88889],Ul=[.12963,.69444,0,0,.77778],Le=[.19444,.69444,0,0,.38889],Je=[.011,.511,0,0,1.638],it=[.19444,.69444,0,0,0],Ce=[0,.44444,0,0,.575],Ie=[.19444,.44444,0,0,.575],St=[0,.68611,0,0,.75555],bt=[0,.69444,0,0,.66759],en=[0,.68611,0,0,.80555],_t=[0,.68611,.08229,0,.98229],Wt=[0,.68611,0,0,.76666],Wn=[0,.44444,0,0,.58472],bn=[.19444,.44444,0,0,.6118],On=[.19444,.43056,0,0,.5],Mr=[0,.68333,.02778,.08334,.76278],vr=[0,.68333,.08125,.05556,.83125],ir=[0,.43056,0,.05556,.48472],ur=[.19444,.43056,0,.08334,.51702],Pr=[.25,.75,0,0,.42778],Wr=[0,.69444,0,0,.55],na=[0,.69444,0,0,.73334],Ma=[0,.69444,0,0,.79445],_e=[0,.69444,0,0,.51945],yt=[0,.69444,0,0,.70278],Ht=[0,.69444,0,0,.76389],je=[.25,.75,0,0,.34306],Yt=[0,.69444,0,0,.56111],fn=[0,.69444,0,0,.25556],Rn=[.19444,.45833,0,0,.56111],Bt=[0,.45833,0,0,.56111],Qt=[0,.69444,0,0,.30556],rn=[0,.69444,0,0,.58056],Vn=[0,.69444,0,0,.67223],$n=[0,.69444,0,0,.85556],br=[0,.69444,0,0,.55834],sr=[0,.65556,.11156,0,.5],kr=[0,.69444,.08094,0,.70834],Hr=[.17014,0,0,0,.44445],ta=[0,.69444,.0799,0,.5],Rr=[0,.69444,0,0,.73752],Pa=[0,.69444,.09205,0,.5],sa=[0,.69444,.09031,0,.77778],Da=[0,.69444,.07816,0,.27778],Ga=[0,.69444,.00316,0,.5],la=[.19444,.69444,0,0,.83334],ga=[.05556,.75,0,0,.83334],fa=[0,.75,0,0,.5],Ba=[.125,.08333,0,0,.27778],Ea=[0,.08333,0,0,.27778],ua=[0,.65556,0,0,.5],Xa=[0,.69444,0,0,.47222],ra=[0,.69444,0,0,.66667],Ya=[0,.69444,0,0,.59722],Ha=[0,.69444,0,0,.54167],Ua=[0,.69444,0,0,.70834],La=[.25,.75,0,0,.28889],si=[0,.69444,0,0,.51667],gi=[0,.44444,0,0,.44445],zo=[.19444,.44444,0,0,.51667],No=[0,.44444,0,0,.38333],yo=[0,.44444,0,0,.51667],ll=[0,.69444,0,0,.83334],Lo=[.35001,.85,0,0,.45834],kl=[.35001,.85,0,0,.57778],Pl=[.35001,.85,0,0,.41667],_i=[.35001,.85,0,0,.58334],fi=[0,.72222,0,0,.55556],bo=[1e-5,.6,0,0,.66667],Ho=[1e-5,.6,0,0,.77778],co=[.25001,.75,0,0,.94445],wo=[.306,.805,.19445,0,.47222],oo=[.30612,.805,.19445,0,.47222],_o=[.25001,.75,0,0,.83334],sl=[.35001,.85,0,0,.47222],Nl=[.25001,.75,0,0,1.11111],Fl=[.65002,1.15,0,0,.59722],Fo=[.65002,1.15,0,0,.81111],to=[.65002,1.15,0,0,.47222],tl=[.65002,1.15,0,0,.66667],hl=[0,.75,0,0,1],Io=[.55001,1.05,0,0,1.27778],Zo=[.862,1.36,.44445,0,.55556],Xi=[.86225,1.36,.44445,0,.55556],Oi=[.55001,1.05,0,0,1.11111],nl=[.65002,1.15,0,0,.52778],Uo=[.65002,1.15,0,0,.61111],Bl=[.55001,1.05,0,0,1.51112],no=[.95003,1.45,0,0,.73611],Ja=[.95003,1.45,0,0,1.04445],Di=[.95003,1.45,0,0,.52778],Ri=[.95003,1.45,0,0,.75],ya=[0,.75,0,0,1.44445],Qa=[.95003,1.45,0,0,.58334],Ji=[1.25003,1.75,0,0,.79167],ul=[1.25003,1.75,0,0,1.27778],Jl=[1.25003,1.75,0,0,.58334],ws=[1.25003,1.75,0,0,.80556],Te=[0,.825,0,0,1.8889],Ze=[1.25003,1.75,0,0,.63889],Et=[.64502,1.155,0,0,.875],Lt=[1e-5,.6,0,0,.875],Xt=[-99e-5,.601,0,0,.66667],Sn=[.64502,1.155,0,0,.66667],nr=[1e-5,.9,0,0,.88889],wr=[.65002,1.15,0,0,.88889],jn=[.90001,0,0,0,.88889],Un=[-.00499,.605,0,0,1.05556],Sr=[0,.12,0,0,.45],kn=[0,.61111,0,0,.525],Vr=[.08333,.69444,0,0,.525],xa=[-.08056,.53055,0,0,.525],wa=[-.05556,.55556,0,0,.525],Ra=[0,.43056,0,0,.525],Qr=[.22222,.43056,0,0,.525],li=[0,0,0,0,.525],qa={"AMS-Regular":{32:Jr,65:Fr,66:aa,67:Fr,68:Fr,69:aa,70:Ia,71:Jn,72:Jn,73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:Jn,76:aa,77:[0,.68889,0,0,.94445],78:Fr,79:Ta,80:Ia,81:Ta,82:Fr,83:ti,84:aa,85:Fr,86:Fr,87:[0,.68889,0,0,1],88:Fr,89:Fr,90:aa,107:ti,160:Jr,165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:ti,295:$a,710:ja,732:Si,770:ja,771:Si,989:Gn,1008:zl,8245:[0,.54986,0,0,.275],8463:$a,8487:Fr,8498:ti,8502:aa,8503:[0,.68889,0,0,.44445],8504:aa,8513:[0,.68889,0,0,.63889],8592:ji,8594:ji,8602:Ni,8603:Ni,8606:Ln,8608:Ln,8610:Pn,8611:Pn,8619:rr,8620:rr,8621:[-.13313,.37788,0,0,1.38889],8622:Ni,8624:or,8625:or,8630:$r,8631:$r,8634:Br,8635:Br,8638:jr,8639:jr,8642:jr,8643:jr,8644:hn,8646:hn,8647:hn,8648:It,8649:hn,8650:It,8651:Ln,8652:Ln,8653:Ni,8654:Ni,8655:Ni,8666:Zt,8667:Zt,8669:[-.13313,.37788,0,0,1],8672:Gt,8674:Gt,8705:[0,.825,0,0,.5],8708:ti,8709:Gn,8717:[0,.43056,0,0,.42917],8722:ji,8724:[.08198,.69224,0,0,.77778],8726:Gn,8733:ar,8736:kt,8737:kt,8738:[.03517,.52239,0,0,.72222],8739:Qo,8740:[.25142,.74111,0,0,.27778],8741:dl,8742:[.25142,.74111,0,0,.5],8756:mn,8757:mn,8764:Zn,8765:[-.13313,.37788,0,0,.77778],8769:Zn,8770:Wl,8774:pa,8776:Xl,8778:Gn,8782:Mn,8783:Mn,8785:Br,8786:Br,8787:Br,8790:ar,8791:ma,8796:[.08198,.91667,0,0,.77778],8806:hr,8807:hr,8808:dn,8809:dn,8812:[.25583,.75583,0,0,.5],8814:za,8815:za,8816:pa,8817:pa,8818:ma,8819:ma,8822:Sa,8823:Sa,8828:Aa,8829:Aa,8830:ma,8831:ma,8832:za,8833:za,8840:pa,8841:pa,8842:ka,8843:ka,8847:Er,8848:Er,8858:Br,8859:Br,8861:Br,8862:Gr,8863:Gr,8864:Gr,8865:Gr,8872:[0,.69224,0,0,.61111],8873:kt,8874:[0,.69224,0,0,.88889],8876:Ia,8877:Ia,8878:Fr,8879:Fr,8882:Er,8883:Er,8884:Aa,8885:Aa,8888:[0,.54986,0,0,1.11111],8890:el,8891:Zi,8892:Zi,8901:[0,.54986,0,0,.27778],8903:Gn,8905:Gn,8906:Gn,8907:ar,8908:ar,8909:[-.03598,.46402,0,0,.77778],8910:Ii,8911:Ii,8912:Er,8913:Er,8914:ni,8915:ni,8916:mn,8918:hi,8919:hi,8920:io,8921:io,8922:ri,8923:ri,8926:Aa,8927:Aa,8928:pa,8929:pa,8934:ho,8935:ho,8936:ho,8937:ho,8938:za,8939:za,8940:pa,8941:pa,8994:ia,8995:ia,9416:[.15559,.69224,0,0,.90222],9484:or,9488:or,9492:so,9496:so,9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:Gr,9633:Gr,9650:xo,9651:xo,9654:Er,9660:xo,9661:xo,9664:Er,9674:vl,9733:[.19444,.69224,0,0,.94445],10003:ml,10016:ml,10731:vl,10846:[.19444,.75583,0,0,.61111],10877:Aa,10878:Aa,10885:hr,10886:hr,10887:ka,10888:ka,10889:Yo,10890:Yo,10891:uo,10892:uo,10901:Aa,10902:Aa,10933:dn,10934:dn,10935:Yo,10936:Yo,10937:Yo,10938:Yo,10949:hr,10950:hr,10955:wl,10956:wl,57350:Qo,57351:dl,57352:Gn,57353:zl,57356:dn,57357:dn,57358:bl,57359:pa,57360:pa,57361:bl,57366:dn,57367:dn,57368:dn,57369:dn,57370:ka,57371:ka},"Caligraphic-Regular":{32:Jr,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:Jr},"Fraktur-Regular":{32:Jr,33:[0,.69141,0,0,.29574],34:mr,38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:Sl,41:Sl,42:[0,.62119,0,0,.27764],43:Ci,44:Do,45:Ci,46:Do,47:[.24982,.74947,0,0,.50181],48:Pi,49:Pi,50:Pi,51:Bi,52:Bi,53:Bi,54:zn,55:Bi,56:zn,57:Bi,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:Cn,93:Cn,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:Jr,8216:mr,8217:mr,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:Jr,33:[0,.69444,0,0,.35],34:pt,35:[.19444,.69444,0,0,.95833],36:qn,37:[.05556,.75,0,0,.95833],38:xi,39:$o,40:Yr,41:Yr,42:[0,.75,0,0,.575],43:pe,44:[.19444,.15556,0,0,.31944],45:No,46:[0,.15556,0,0,.31944],47:Mi,48:ha,49:ha,50:ha,51:ha,52:ha,53:ha,54:ha,55:ha,56:ha,57:ha,58:Oe,59:[.19444,.44444,0,0,.31944],60:mi,61:_r,62:mi,63:[0,.69444,0,0,.54305],64:xi,65:di,66:[0,.68611,0,0,.81805],67:Qe,68:[0,.68611,0,0,.88194],69:St,70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:Ui,73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:Ke,77:[0,.68611,0,0,1.09166],78:Ui,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:di,89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:Ao,92:Mi,93:Ao,94:Nt,95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:Wo,99:tt,100:Wo,101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:Wo,105:$o,106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:$o,109:[0,.44444,0,0,.95833],110:He,111:Ce,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:He,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:tt,123:Mi,124:Ao,125:Mi,126:[.35,.34444,0,0,.575],160:Jr,163:[0,.69444,0,0,.86853],168:Nt,172:[0,.44444,0,0,.76666],176:Ae,177:pe,184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:pe,216:[.04861,.73472,0,0,.89444],223:Ya,230:[0,.44444,0,0,.83055],247:pe,248:[.09722,.54167,0,0,.575],305:Oe,338:[0,.68611,0,0,1.16944],339:Kr,567:[.19444,.44444,0,0,.35139],710:Nt,711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:Nt,715:Nt,728:Nt,729:$o,730:Ae,732:Nt,733:Nt,915:Ke,916:Xn,920:at,923:en,926:Wt,928:Ui,931:Qe,933:at,934:Qe,936:at,937:Qe,8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:$o,8217:$o,8220:pt,8221:pt,8224:$t,8225:$t,8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:bt,8465:tn,8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:tn,8501:Pt,8592:Yn,8593:fr,8594:Yn,8595:fr,8596:Yn,8597:Mi,8598:Cr,8599:Cr,8600:Cr,8601:Cr,8636:Yn,8637:Yn,8640:Yn,8641:Yn,8656:Yn,8657:Dn,8658:Yn,8659:Dn,8660:Yn,8661:[.25,.75,0,0,.70277],8704:Wo,8706:[0,.69444,.06389,0,.62847],8707:Wo,8709:qn,8711:Xn,8712:Ar,8715:Ar,8722:pe,8723:pe,8725:Mi,8726:Mi,8727:Kn,8728:Or,8729:Or,8730:[.18,.82,0,0,.95833],8733:Kr,8734:[0,.44444,0,0,1.14999],8736:kt,8739:Ao,8741:Mi,8743:Tr,8744:Tr,8745:Tr,8746:Tr,8747:[.19444,.69444,.12778,0,.56875],8764:_r,8768:[.19444,.69444,0,0,.31944],8771:Zr,8776:[.02444,.52444,0,0,.89444],8781:Zr,8801:Zr,8804:qr,8805:qr,8810:Dt,8811:Dt,8826:mi,8827:mi,8834:mi,8835:mi,8838:qr,8839:qr,8846:Tr,8849:qr,8850:qr,8851:Tr,8852:Tr,8853:pe,8854:pe,8855:pe,8856:pe,8857:pe,8866:Pt,8867:Pt,8868:xi,8869:xi,8900:Or,8901:[-.02639,.47361,0,0,.31944],8902:Kn,8968:Bn,8969:Bn,8970:Bn,8971:Bn,8994:xr,8995:xr,9651:zr,9657:Kn,9661:zr,9667:Kn,9711:Cr,9824:Lr,9825:Lr,9826:Lr,9827:Lr,9837:[0,.75,0,0,.44722],9838:ca,9839:ca,10216:Yr,10217:Yr,10815:Ui,10927:qr,10928:qr,57376:it},"Main-BoldItalic":{32:Jr,33:[0,.69444,.11417,0,.38611],34:da,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:un,49:un,50:un,51:un,52:Jt,53:un,54:un,55:Jt,56:un,57:un,58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:va,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:yn,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:yn,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:Ir,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:lr,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:lr,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:Jr,168:[0,.69444,.11473,0,.59111],176:ba,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:Xr,248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:Xr,567:[.19444,.44444,.04611,0,.385],710:Ir,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:ba,732:va,733:va,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:yn,931:[0,.68611,.11431,0,.82666],933:Oa,934:[0,.68611,.05632,0,.82666],936:Oa,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:da},"Main-Italic":{32:Jr,33:Ur,34:Qi,35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:Ur,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:Wa,49:Wa,50:Wa,51:Wa,52:ai,53:Wa,54:Wa,55:ai,56:Wa,57:Wa,58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:Wi,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:_a,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:_a,79:Gi,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:_a,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:Yi,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:Va,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:Va,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:Jr,168:[0,.66786,.10474,0,.51111],176:Ei,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:ei,248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:ei,710:Yi,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:Ei,732:[0,.66786,.11585,0,.51111],733:Wi,915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:Gi,923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:_a,931:[0,.68333,.12028,0,.71555],933:po,934:[0,.68333,.05986,0,.71555],936:po,937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:Ur,8217:Ur,8220:[0,.69444,.1685,0,.51444],8221:Qi,8463:$a},"Main-Regular":{32:Jr,33:So,34:go,35:la,36:us,37:ga,38:ko,39:So,40:Ki,41:Ki,42:fa,43:fl,44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:il,48:Ai,49:Ai,50:Ai,51:Ai,52:Ai,53:Ai,54:Ai,55:Ai,56:Ai,57:Ai,58:Dl,59:[.19444,.43056,0,0,.27778],60:hi,61:Zn,62:hi,63:Xa,64:ko,65:Bo,66:[0,.68333,0,0,.70834],67:El,68:[0,.68333,0,0,.76389],69:gl,70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:Bo,73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:zi,76:Ql,77:[0,.68333,0,0,.91667],78:Bo,79:zi,80:gl,81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:El,85:Bo,86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:Bo,89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:Vo,92:il,93:Vo,94:go,95:[.31,.12056,.02778,0,.5],97:mo,98:_l,99:jo,100:_l,101:jo,102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:_l,105:Oo,106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:So,109:[0,.43056,0,0,.83334],110:Vl,111:mo,112:el,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:Vl,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:jo,123:il,124:Vo,125:il,126:[.35,.31786,0,0,.5],160:Jr,163:[0,.69444,0,0,.76909],167:Al,168:ls,172:[0,.43056,0,0,.66667],176:jl,177:fl,182:ss,184:Hr,198:[0,.68333,0,0,.90278],215:fl,216:[.04861,.73194,0,0,.77778],223:go,230:[0,.43056,0,0,.72222],247:fl,248:[.09722,.52778,0,0,.5],305:Dl,338:[0,.68333,0,0,1.01389],339:Go,567:[.19444,.43056,0,0,.30556],710:go,711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:go,715:go,728:go,729:Oo,730:jl,732:ls,733:go,915:Ql,916:ms,920:zi,923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:Bo,931:El,933:zi,934:El,936:zi,937:El,8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:So,8217:So,8220:go,8221:go,8224:Al,8225:Al,8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:$a,8465:Tl,8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:Tl,8501:xs,8592:Ni,8593:$l,8594:Ni,8595:$l,8596:Ni,8597:il,8598:Rl,8599:Rl,8600:Rl,8601:Rl,8614:[.011,.511,0,0,1],8617:Il,8618:Il,8636:Ni,8637:Ni,8640:Ni,8641:Ni,8652:[.011,.671,0,0,1],8656:Ni,8657:ss,8658:Ni,8659:ss,8660:Ni,8661:[.25,.75,0,0,.61111],8704:_l,8706:[0,.69444,.05556,.08334,.5309],8707:_l,8709:us,8711:ms,8712:ts,8715:ts,8722:fl,8723:fl,8725:il,8726:il,8727:Ms,8728:ns,8729:ns,8730:[.2,.8,0,0,.83334],8733:Go,8734:$r,8736:kt,8739:Vo,8741:il,8743:ol,8744:ol,8745:ol,8746:ol,8747:[.19444,.69444,.11111,0,.41667],8764:Zn,8768:[.19444,.69444,0,0,.27778],8771:Wl,8773:[-.022,.589,0,0,1],8776:Xl,8781:Wl,8784:[-.133,.67,0,0,.778],8801:Wl,8804:ka,8805:ka,8810:hs,8811:hs,8826:hi,8827:hi,8834:hi,8835:hi,8838:ka,8839:ka,8846:ol,8849:ka,8850:ka,8851:ol,8852:ol,8853:fl,8854:fl,8855:fl,8856:fl,8857:fl,8866:xs,8867:xs,8868:ko,8869:ko,8872:[.249,.75,0,0,.867],8900:ns,8901:[-.05555,.44445,0,0,.27778],8902:Ms,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:zs,8969:zs,8970:zs,8971:zs,8994:Ws,8995:Ws,9136:Bs,9137:Bs,9651:Xs,9657:Ms,9661:Xs,9667:Ms,9711:Rl,9824:Ul,9825:Ul,9826:Ul,9827:Ul,9837:[0,.75,0,0,.38889],9838:Le,9839:Le,10216:Ki,10217:Ki,10222:Bs,10223:Bs,10229:[.011,.511,0,0,1.609],10230:Je,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:Je,10815:Bo,10927:ka,10928:ka,57376:it},"Math-BoldItalic":{32:Jr,48:Ce,49:Ce,50:Ce,51:Ie,52:Ie,53:Ie,54:ha,55:Ie,56:ha,57:Ie,65:di,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:_t,73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:St,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:bt,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:Wn,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:Jr,915:[0,.68611,.15972,0,.65694],916:Xn,920:[0,.68611,.03194,0,.86722],923:en,926:[0,.68611,.07458,0,.84125],928:_t,931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:Wt,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:Wn,960:[0,.44444,.03704,0,.68241],961:bn,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:bn,1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:Jr,48:mo,49:mo,50:mo,51:On,52:On,53:On,54:Ai,55:On,56:Ai,57:On,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:vr,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:Mr,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:ir,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:Jr,915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:Mr,923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:vr,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:ir,960:[0,.43056,.03588,0,.57003],961:ur,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:ur,1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:Jr,33:[0,.69444,0,0,.36667],34:br,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:Qt,40:Pr,41:Pr,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:Wr,49:Wr,50:Wr,51:Wr,52:Wr,53:Wr,54:Wr,55:Wr,56:Wr,57:Wr,58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:_e,64:na,65:na,66:na,67:yt,68:Ma,69:[0,.69444,0,0,.64167],70:xs,71:na,72:Ma,73:[0,.69444,0,0,.33056],74:_e,75:Ht,76:rn,77:[0,.69444,0,0,.97778],78:Ma,79:Ma,80:yt,81:[.10556,.69444,0,0,.79445],82:yt,83:xs,84:na,85:Ht,86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:na,89:[0,.69444,.0275,0,.73334],90:Vn,91:je,93:je,94:Wr,95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:Yt,99:[0,.45833,0,0,.48889],100:Yt,101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:Yt,105:fn,106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:fn,109:[0,.45833,0,0,.86667],110:Bt,111:[0,.45833,0,0,.55],112:Rn,113:Rn,114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:Bt,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:Jr,168:Wr,176:na,180:Wr,184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:Wr,711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:Wr,729:Qt,730:na,732:Wr,733:Wr,915:rn,916:[0,.69444,0,0,.91667],920:$n,923:Vn,926:na,928:Ma,931:Ma,933:$n,934:Ma,936:$n,937:Ma,8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:Qt,8217:Qt,8220:br,8221:br},"SansSerif-Italic":{32:Jr,33:[0,.69444,.05733,0,.31945],34:Ga,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:Da,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:Ba,45:[0,.44444,.01946,0,.33333],46:Ea,47:[.25,.75,.13164,0,.5],48:sr,49:sr,50:sr,51:sr,52:sr,53:sr,54:sr,55:sr,56:sr,57:sr,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:ra,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:kr,73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:Ha,77:[0,.69444,.08094,0,.875],78:kr,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:ta,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:Jr,168:[0,.67937,.06385,0,.5],176:Rr,184:Hr,305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:ta,711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:Pa,715:go,728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:Rr,732:[0,.67659,.08826,0,.5],733:Pa,915:[0,.69444,.13372,0,.54167],916:ll,920:[0,.69444,.07555,0,.77778],923:xs,926:[0,.69444,.12816,0,.66667],928:kr,931:[0,.69444,.11983,0,.72222],933:sa,934:[0,.69444,.04603,0,.72222],936:sa,937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:Da,8217:Da,8220:[0,.69444,.14205,0,.5],8221:Ga},"SansSerif-Regular":{32:Jr,33:[0,.69444,0,0,.31945],34:go,35:la,36:us,37:ga,38:[0,.69444,0,0,.75834],39:So,40:Ki,41:Ki,42:fa,43:fl,44:Ba,45:[0,.44444,0,0,.33333],46:Ea,47:il,48:ua,49:ua,50:ua,51:ua,52:ua,53:ua,54:ua,55:ua,56:ua,57:ua,58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:Xa,64:ra,65:ra,66:ra,67:Wo,68:[0,.69444,0,0,.72223],69:Ya,70:[0,.69444,0,0,.56945],71:ra,72:Ua,73:So,74:Xa,75:[0,.69444,0,0,.69445],76:Ha,77:[0,.69444,0,0,.875],78:Ua,79:[0,.69444,0,0,.73611],80:Wo,81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:_l,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:ra,89:[0,.69444,.025,0,.66667],90:xs,91:La,93:La,94:go,95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:si,99:gi,100:si,101:gi,102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:si,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:yo,111:[0,.44444,0,0,.5],112:zo,113:zo,114:[0,.44444,.01389,0,.34167],115:No,116:[0,.57143,0,0,.36111],117:yo,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:Jr,168:[0,.67937,0,0,.5],176:ra,184:Hr,305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:go,711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:go,715:go,728:go,729:[0,.67937,0,0,.27778],730:ra,732:[0,.67659,0,0,.5],733:go,915:Ha,916:ll,920:ko,923:xs,926:ra,928:Ua,931:Tl,933:ko,934:Tl,936:ko,937:Tl,8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:So,8217:So,8220:go,8221:go},"Script-Regular":{32:Jr,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:Jr},"Size1-Regular":{32:Jr,40:Lo,41:Lo,47:kl,91:Pl,92:kl,93:Pl,123:_i,125:_i,160:Jr,710:fi,732:fi,770:fi,771:fi,8214:[-99e-5,.601,0,0,.77778],8593:bo,8595:bo,8657:Ho,8659:Ho,8719:co,8720:co,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:oo,8748:wo,8749:wo,8750:oo,8896:_o,8897:_o,8898:_o,8899:_o,8968:sl,8969:sl,8970:sl,8971:sl,9168:Xt,10216:sl,10217:sl,10752:Nl,10753:Nl,10754:Nl,10756:_o,10758:_o},"Size2-Regular":{32:Jr,40:Fl,41:Fl,47:Fo,91:to,92:Fo,93:to,123:tl,125:tl,160:Jr,710:hl,732:hl,770:hl,771:hl,8719:Io,8720:Io,8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:Xi,8748:Zo,8749:Zo,8750:Xi,8896:Oi,8897:Oi,8898:Oi,8899:Oi,8968:nl,8969:nl,8970:nl,8971:nl,10216:Uo,10217:Uo,10752:Bl,10753:Bl,10754:Bl,10756:Oi,10758:Oi},"Size3-Regular":{32:Jr,40:no,41:no,47:Ja,91:Di,92:Ja,93:Di,123:Ri,125:Ri,160:Jr,710:ya,732:ya,770:ya,771:ya,8730:[.95003,1.45,0,0,1],8968:Qa,8969:Qa,8970:Qa,8971:Qa,10216:Ri,10217:Ri},"Size4-Regular":{32:Jr,40:Ji,41:Ji,47:ul,91:Jl,92:ul,93:Jl,123:ws,125:ws,160:Jr,710:Te,732:Te,770:Te,771:Te,8730:[1.25003,1.75,0,0,1],8968:Ze,8969:Ze,8970:Ze,8971:Ze,9115:Et,9116:Lt,9117:Et,9118:Et,9119:Lt,9120:Et,9121:Sn,9122:Xt,9123:Sn,9124:Sn,9125:Xt,9126:Sn,9127:nr,9128:wr,9129:jn,9130:[0,.3,0,0,.88889],9131:nr,9132:wr,9133:jn,9143:[.88502,.915,0,0,1.05556],10216:ws,10217:ws,57344:Un,57345:Un,57680:Sr,57681:Sr,57682:Sr,57683:Sr},"Typewriter-Regular":{32:li,33:kn,34:kn,35:kn,36:Vr,37:Vr,38:kn,39:kn,40:Vr,41:Vr,42:[0,.52083,0,0,.525],43:xa,44:[.13889,.125,0,0,.525],45:xa,46:[0,.125,0,0,.525],47:Vr,48:kn,49:kn,50:kn,51:kn,52:kn,53:kn,54:kn,55:kn,56:kn,57:kn,58:Ra,59:[.13889,.43056,0,0,.525],60:wa,61:[-.19549,.41562,0,0,.525],62:wa,63:kn,64:kn,65:kn,66:kn,67:kn,68:kn,69:kn,70:kn,71:kn,72:kn,73:kn,74:kn,75:kn,76:kn,77:kn,78:kn,79:kn,80:kn,81:[.13889,.61111,0,0,.525],82:kn,83:kn,84:kn,85:kn,86:kn,87:kn,88:kn,89:kn,90:kn,91:Vr,92:Vr,93:Vr,94:kn,95:[.09514,0,0,0,.525],96:kn,97:Ra,98:kn,99:Ra,100:kn,101:Ra,102:kn,103:Qr,104:kn,105:kn,106:[.22222,.61111,0,0,.525],107:kn,108:kn,109:Ra,110:Ra,111:Ra,112:Qr,113:Qr,114:Ra,115:Ra,116:[0,.55358,0,0,.525],117:Ra,118:Ra,119:Ra,120:Ra,121:Qr,122:Ra,123:Vr,124:Vr,125:Vr,126:kn,127:kn,160:li,176:kn,184:[.19445,0,0,0,.525],305:Ra,567:Qr,711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:kn,715:kn,728:kn,730:kn,770:kn,771:kn,776:kn,915:kn,916:kn,920:kn,923:kn,926:kn,928:kn,931:kn,933:kn,934:kn,936:kn,937:kn,8216:kn,8217:kn,8242:kn,9251:[.11111,.21944,0,0,.525]}},Fi=/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,vi=10,pi=.25,yi=1.2,Vi=.431,Ko={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[Vi,Vi,Vi],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:[pi,pi,pi],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]},Li=[0,.5,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Za=5,Ka={"\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 ii(a,y){a===void 0&&(a=77);const b=qa[y][a];if(b)return{defaultMetrics:!1,depth:b[0],height:b[1],italic:b[2],skew:b[3],width:b[4]};if(a===11034)return{defaultMetrics:!0,depth:.2,height:.8,italic:0,skew:0,width:.8};const E=String.fromCodePoint(a);if(E in Ka)a=Ka[E].codePointAt(0);else if(Fi.test(E))return a=77,{defaultMetrics:!0,depth:.2,height:.9,italic:0,skew:0,width:1};return{defaultMetrics:!0,depth:.2,height:.7,italic:0,skew:0,width:.8}}var Ti={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]},lo={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]},rl={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 Po(a){if(lo[a]){const[Ve,lt,zt]=lo[a],xn=`<span class="stretchy" style="height:${zt}em"><svg width="100%" height="${zt}em" viewBox="0 0 ${Ve} ${lt}" preserveAspectRatio="none" ><path fill="currentcolor" d="${rl[a]}"></path></svg></span>`;return`<span style="display:inline-block;height:${Math.floor(100*zt/2)/100}em;min-width:0">${xn}</span>`}const[y,b,E,te]=Ti[a];let ie,le;const Me=E/1e3;y.length===3?(ie=["slice-1-of-3","slice-2-of-3","slice-3-of-3"],le=["xMinYMin","xMidYMin","xMaxYMin"]):y.length===2?(ie=["slice-1-of-2","slice-2-of-2"],le=["xMinYMin","xMaxYMin"]):(ie=["slice-1-of-1"],le=[te]);const Fe=y.map((Ve,lt)=>`<span class="${ie[lt]}" style=height:${Me}em><svg width=400em height=${Me}em viewBox="0 0 400000 ${E}" preserveAspectRatio="${le[lt]} slice"><path fill="currentcolor" d="${rl[Ve]}"></path></svg></span>`).join("");return`<span style="display:inline-block;height:${Me}em;min-width:${b}em;">${Fe}</span>`}function To(a){return Ti[a]?Ti[a][2]/1e3:lo[a][2]}function Ml(a){const y=[];for(let b=0;b<a.length;b++){let E=a.charCodeAt(b);if(E===13&&a.charCodeAt(b+1)===10&&(E=10,b++),(E===13||E===12)&&(E=10),E===0&&(E=65533),E>=55296&&E<=56319){const te=a.charCodeAt(b+1);if(te>=56320&&te<=57343){const ie=E-55296,le=te-56320;E=Mc(2,16)+ie*Mc(2,10)+le,b++}}y.push(E)}return y}var pl=8205,Kl=[[pl,1],[65038,2],[127995,5],[129456,4],[917536,96]],Gl,Is=[127462,127487];function Ps(a){var y;if(Gl===void 0){Gl={};for(const b of Kl)for(let E=b[0];E<=b[0]+b[1]-1;E++)Gl[E]=!0}return(y=Gl[a])!=null?y:!1}function Yl(a){return a>=Is[0]&&a<=Is[1]}function _s(a){if(/^[\u0020-\u00FF]*$/.test(a))return a;const y=[],b=Ml(a);let E=0;for(;E<b.length;){const te=b[E++],ie=b[E];if(ie===pl){const le=E-1;for(E+=2;b[E]===pl;)E+=2;y.push(String.fromCodePoint(...b.slice(le,E-le+1)))}else if(Ps(ie)){const le=E-1;for(;Ps(b[E]);)E+=b[E]===pl?2:1;y.push(String.fromCodePoint(...b.slice(le,2*E-le-1)))}else Yl(te)?(E+=1,y.push(String.fromCodePoint(...b.slice(E-2,2)))):y.push(String.fromCodePoint(te))}return y}var ps=class{constructor(a){this.obeyspaces=!1,this.pos=0,this.s=_s(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 gs(a,y){var b,E,te,ie;const le=[];let Me=a.next();if(Me&&Me!=="\\relax"){if(Me==="\\noexpand")Me=a.next(),Me&&le.push(Me);else if(Me==="\\obeyspaces")a.obeyspaces=!0;else if(Me==="\\bgroup")le.push("<{>");else if(Me==="\\egroup")le.push("<}>");else if(Me==="\\string"){if(Me=a.next(),Me)if(Me.startsWith("\\"))for(const Fe of Me)le.push(Fe==="\\"?"\\backslash":Fe);else Me==="<{>"?le.push("\\{"):Me==="<space>"?le.push("~"):Me==="<}>"&&le.push("\\}")}else if(Me==="\\csname"){for(;a.peek()==="<space>";)a.next();let Fe="",Ve=!1,lt=[];do{if(lt.length===0)if(/^#[\d?@]$/.test(a.peek())){const zt=a.get().slice(1);lt=Jo((E=(b=y==null?void 0:y(zt))!=null?b:y==null?void 0:y("?"))!=null?E:"\\placeholder{}",y),Me=lt[0]}else Me=a.next(),lt=Me?[Me]:[];Ve=lt.length===0,!Ve&&Me==="\\endcsname"&&(Ve=!0,lt.shift()),Ve||(Ve=Me==="<$>"||Me==="<$$>"||Me==="<{>"||Me==="<}>"||typeof Me=="string"&&Me.length>1&&Me.startsWith("\\")),Ve||(Fe+=lt.shift())}while(!Ve);Fe&&le.push("\\"+Fe),le.push(...lt)}else if(Me!=="\\endcsname")if(Me.length>1&&Me.startsWith("#")){const Fe=Me.slice(1);le.push(...Jo((ie=(te=y==null?void 0:y(Fe))!=null?te:y==null?void 0:y("?"))!=null?ie:"\\placeholder{}",y))}else le.push(Me)}return le}function Jo(a,y=null){const b=[];let E="";for(const le of a.toString().split(/\r?\n/)){E&&b.push(E),E=" ";const Me=le.match(/((?:\\%)|[^%])*/);Me!==null&&b.push(Me[0])}const te=new ps(Mt(b.join(""))),ie=[];do ie.push(...gs(te,y));while(!te.end());return ie}function $i(a){let y="";const b=[];for(const E of a)E&&(y&&/^[a-zA-Z\*]/.test(E)&&b.push(y),b.push(E),/^\\[a-zA-Z]+\*?[\"\'][^\ ]+$/.test(E)&&b.push(" "),y=/\\[a-zA-Z]+\*?$/.test(E)?" ":"");return b.join("")}function ki(a,...y){return console.assert(a.startsWith("\\")),y.length===0?a:$i([a,...y.map(b=>`{${b}}`)])}function Co(a){return $i(a.map(y=>{var b;return(b={"<space>":" ","<$$>":"$$","<$>":"$","<{>":"{","<}>":"}"}[y])!=null?b:y}))}var Eo=class Pf{constructor(y){Pf._registry[y]=this}static createAtom(y,b,E){return Pf._registry[y].createAtom(b,nn(b,y),E)}static serialize(y,b){var E;if(!y||y.length===0)return"";if((E=b.skipStyles)!=null&&E){const te=[];for(const ie of rs(y)){const le=Pf._registry[ie[0].mode];te.push(...le.serialize(ie,b))}return $i(te)}return $i(es(y,b))}static getFont(y,b,E){return Pf._registry[y].getFont(b,E)}};Eo._registry={};var eo=Eo;function rs(a){const y=[];let b=[],E="NONE";for(const te of a)te.type!=="first"&&(te.mode!==E?(b.length>0&&y.push(b),b=[te],E=te.mode):b.push(te));return b.length>0&&y.push(b),y}function ro(a,y){const b=[];let E=[],te;for(const ie of a)if(ie.type!=="first"&&ie.style){let le;y==="variant"?(le=ie.style.variant,ie.style.variantStyle&&ie.style.variantStyle!=="up"&&(le+="-"+ie.style.variantStyle)):le=ie.style[y],le===te?E.push(ie):(E.length>0&&b.push(E),E=[ie],te=le)}return E.length>0&&b.push(E),b}function xl(a,y){var b;const{parent:E}=a[0],te=E==null?void 0:E.computedStyle.color,ie=[];for(const le of rs(a)){const Me=y.defaultMode;for(const Fe of ro(le,"color")){const Ve=Fe[0].computedStyle,lt=eo._registry[Fe[0].mode].serialize(Fe,me(Se({},y),{defaultMode:Me==="text"?"text":"math"}));!y.skipStyles&&Ve.color&&Ve.color!=="none"&&(!E||te!==Ve.color)?ie.push(ki("\\textcolor",(b=Ve.verbatimColor)!=null?b:Ve.color,$i(lt))):ie.push($i(lt))}}return ie}function cs(a,y){const{parent:b}=a[0],E=b==null?void 0:b.computedStyle.backgroundColor;return ro(a,"backgroundColor").map(te=>{var ie;if(te.length>0||te[0].type!=="box"){const le=te[0].computedStyle;if(le.backgroundColor&&le.backgroundColor!=="none"&&(!b||E!==le.backgroundColor))return ki("\\colorbox",(ie=le.verbatimBackgroundColor)!=null?ie:le.backgroundColor,$i(xl(te,me(Se({},y),{defaultMode:"text"}))))}return $i(xl(te,y))})}function es(a,y){if(a.length===0)return[];const{parent:b}=a[0],E=b==null?void 0:b.computedStyle.fontSize,te=[];for(const ie of ro(a,"fontSize")){const le=ie[0].computedStyle.fontSize,Me=cs(ie,y);Me&&(le&&le!=="auto"&&(!b||E!==le)?te.push(["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][le],...Me):te.push(...Me))}return te}function au(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 nu(a){if(a.length===0)return"ord";const y=au(a[0].type),b=au(a[a.length-1].type);return y&&y===b?y:"ord"}function Au(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 ui=class Pp{constructor(y,b){var E,te,ie,le,Me;if(typeof y=="number"?this.value=String.fromCodePoint(y):typeof y=="string"?this.value=y:ue(y)?this.children=y.filter(Ve=>Ve!==null):y&&y instanceof Pp&&(this.children=[y]),this.children)for(const Ve of this.children)Ve.parent=this;this.type=(E=b==null?void 0:b.type)!=null?E:"ignore",this.isSelected=(b==null?void 0:b.isSelected)===!0,b!=null&&b.caret&&(this.caret=b.caret),this.classes=(te=b==null?void 0:b.classes)!=null?te:"",this.isTight=(ie=b==null?void 0:b.isTight)!=null?ie:!1,b!=null&&b.attributes&&(this.attributes=b.attributes);let Fe=b==null?void 0:b.fontFamily;b!=null&&b.style&&this.value&&(Fe=(Me=eo.getFont((le=b.mode)!=null?le:"math",this,me(Se({variant:"normal"},b.style),{letterShapeStyle:b.letterShapeStyle})))!=null?Me:void 0),Fe||(Fe="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),vs(this,Fe)}set atomID(y){y===void 0||y.length===0||(this.id=y)}selected(y){if(this.isSelected!==y&&(this.isSelected=y,this.children))for(const b of this.children)b.selected(y)}setStyle(y,b,E){if(b===void 0)return;const te=Au(b,E);te.length>0&&(this.cssProperties||(this.cssProperties={}),this.cssProperties[y]=te)}setTop(y){Number.isFinite(y)&&Math.abs(y)>.01&&(this.cssProperties||(this.cssProperties={}),this.cssProperties.top=Au(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"]=Au(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"]=Au(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"]=Au(y,"em")))}get width(){return this._width*this.scale}set width(y){this._width=y,this.hasExplicitWidth=!0}set softWidth(y){}get height(){return this._height*this.scale}set height(y){this._height=y}get depth(){return this._depth*this.scale}set depth(y){this._depth=y}wrap(y){const b=y.parent;if(!b)return this;y.isPhantom&&this.setStyle("opacity",0);const E=y.color;E&&E!==b.color&&this.setStyle("color",E);let te=y.backgroundColor;this.isSelected&&(te=an(te)),te&&te!==b.backgroundColor&&(this.setStyle("background-color",te),this.setStyle("display","inline-block"));const ie=y.scalingFactor;return this.scale=ie,this.skew*=ie,this.italic*=ie,this}toMarkup(){var y,b,E,te;let ie=(y=this.value)!=null?y:"";if(this.children)for(const tr of this.children)ie+=tr.toMarkup();let le="";if(this.svgBody)le=Po(this.svgBody);else if(this.svgOverlay){le='<span style="',le+="display: inline-block;",le+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`,le+=`vertical-align:${Math.floor(100*this.depth)/100}em;`,le+='">',le+=ie,le+="</span>",le+='<svg style="position:absolute;overflow:visible;',le+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`;const tr=(b=this.cssProperties)==null?void 0:b.padding;tr?(le+=`top:${tr};`,le+=`left:${tr};`,le+=`width:calc(100% - 2 * ${tr} );`):le+="top:0;left:0;width:100%;",le+="z-index:2;",le+='"',this.svgStyle&&(le+=this.svgStyle),le+=` viewBox="0 0 ${Math.floor(100*this.width)/100} ${Math.floor(100*(this.height+this.depth))/100}"`,le+=`>${this.svgOverlay}</svg>`}let Me="";const Fe=this.classes.split(" ");Fe.push((E={latex:"ML__raw-latex",placeholder:"ML__placeholder",error:"ML__error"}[this.type])!=null?E:""),this.caret==="latex"&&Fe.push("ML__latex-caret"),this.isSelected&&Fe.push("ML__selected");const Ve=Fe.length===1?Fe[0]:Fe.filter((tr,pr,Na)=>tr.length>0&&Na.indexOf(tr)===pr).join(" ");if(Ve.length>0&&(Me+=` class="${Ve}"`),this.id&&(Me+=` data-atom-id=${this.id}`),this.cssId&&(Me+=` id="${this.cssId.replace(/ /g,"-")}" `),this.attributes&&(Me+=" "+Object.keys(this.attributes).map(tr=>`${tr}="${this.attributes[tr]}"`).join(" ")),this.htmlData){const tr=this.htmlData.split(",");for(const pr of tr){const Na=pr.match(/([^=]+)=(.+$)/);if(Na){const qi=Na[1].trim().replace(/ /g,"-");qi&&(Me+=` data-${qi}="${Na[2]}" `)}else{const qi=pr.trim().replace(/ /g,"-");qi&&(Me+=` data-${qi} `)}}}const lt=(te=this.cssProperties)!=null?te:{};this.hasExplicitWidth&<.width===void 0&&(lt.width=`${Math.ceil(this._width*100)/100}em`);const zt=Object.keys(lt).map(tr=>`${tr}:${lt[tr]}`);if(this.scale!==void 0&&this.scale!==1&&(ie.length>0||le.length>0)&&zt.push(`font-size: ${Math.ceil(this.scale*1e4)/100}%`),this.htmlStyle){const tr=this.htmlStyle.split(";");let pr="";for(const Na of tr){const qi=Na.match(/([^=]+):(.+$)/);if(qi){const Ca=qi[1].trim().replace(/ /g,"-");Ca&&(pr+=`${Ca}:${qi[2]};`)}}pr&&(Me+=` style="${pr}"`)}zt.length>0&&(Me+=` style="${zt.join(";")}"`);let xn="";return Me.length>0||le.length>0?xn=`<span${Me}>${ie}${le}</span>`:xn=ie,this.caret==="text"?xn+='<span class="ML__text-caret"></span>':this.caret==="math"&&(xn+='<span class="ML__caret"></span>'),xn}tryCoalesceWith(y){if(this.svgBody||!this.value||y.svgBody||!y.value)return!1;const b=this.children&&this.children.length>0,E=y.children&&y.children.length>0;if(b||E)return!1;if(y.cssProperties||this.cssProperties){for(const Fe of["border","border-left","border-right","border-right-width","left","margin","margin-left","margin-right","padding","position","width"])if(y.cssProperties&&Fe in y.cssProperties||this.cssProperties&&Fe in this.cssProperties)return!1}const te=this.cssProperties?Object.keys(this.cssProperties).length:0,ie=y.cssProperties?Object.keys(y.cssProperties).length:0;if(te!==ie)return!1;if(te>0){for(const Fe of Object.keys(this.cssProperties))if(this.cssProperties[Fe]!==y.cssProperties[Fe])return!1}const le=this.classes.trim().replace(/\s+/g," ").split(" "),Me=y.classes.trim().replace(/\s+/g," ").split(" ");if(le.length!==Me.length)return!1;le.sort(),Me.sort();for(const[Fe,Ve]of le.entries())if(Ve==="vertical-separator"||Ve!==Me[Fe])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 Hu(a){if(!a||a.length===0)return[];a[0].children=Hu(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=Hu(a[b].children),y.push(a[b]));return y}function js(a){return a.children&&(a.children=Hu(a.children)),a}function bu(a,y){if(!a)return new ui(null,y);const b=new ui(null,{classes:"ML__strut",type:"ignore"});b.setStyle("height",Math.max(0,a.height),"em");const E=[b];if(a.depth!==0){const te=new ui(null,{classes:"ML__strut--bottom",type:"ignore"});te.setStyle("height",a.height+a.depth,"em"),te.setStyle("vertical-align",-a.depth,"em"),E.push(te)}return E.push(a),new ui(E,me(Se({},y),{type:"lift"}))}function Nu(a){const y=To(a)/2,b=new ui(null,{maxFontSize:0});return b.height=y+.166,b.depth=y-.166,b.svgBody=a,b}function vs(a,y){var b;if(a.type==="latex"){a.height=.9,a.depth=.2,a._width=1;return}if(a.value){a.height=-1/0,a.depth=-1/0,a._width=0,a.skew=-1/0,a.italic=-1/0;for(let E=0;E<a.value.length;E++){const te=ii(a.value.codePointAt(E),y);a.height=Math.max(a.height,te.height),a.depth=Math.max(a.depth,te.depth),a._width+=te.width,a.skew=te.skew,a.italic=te.italic}return}if(a.children&&a.children.length>0){let E=-1/0,te=-1/0,ie=0;for(const le of a.children)le.height>E&&(E=le.height),le.depth>te&&(te=le.depth),ie=Math.max(ie,(b=le.maxFontSize)!=null?b:0);a.height=E,a.depth=te,a._width=a.children.reduce((le,Me)=>le+Me.width,0),a.maxFontSize=ie}}function Ss(a){if("individualShift"in a){const y=a.individualShift;let b=y[0];const E=[b],te=-b.shift-b.box.depth;let ie=te;for(let le=1;le<y.length;le++){const Me=y[le],Fe=-Me.shift-ie-Me.box.depth,Ve=Fe-(b.box.height+b.box.depth);ie=ie+Fe,E.push(Ve),E.push(Me),b=Me}return[E,te]}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 Ls(a){var y;const[b,E]=Ss(a);if(!b)return[[],0,0];const te=new ui(null,{classes:"pstrut"});let ie=0;for(const pr of b)if(typeof pr!="number"){const Na=pr.box;ie=Math.max(ie,Na.maxFontSize,Na.height)}ie+=2,te.height=ie,te.setStyle("height",ie,"em");const le=[];let Me=E,Fe=E,Ve=E,lt=0;for(const pr of b){if(typeof pr=="number")Ve+=pr;else{const Na=pr.box,qi=(y=pr.classes)!=null?y:[],Ca=new ui([te,Na],{classes:qi.join(" "),style:pr.style});Na.setStyle("height",Na.height+Na.depth,"em"),Na.setStyle("display","inline-block"),Ca.setStyle("top",-ie-Ve-Na.depth,"em"),pr.marginLeft&&Ca.setStyle("margin-left",pr.marginLeft,"em"),pr.marginRight&&Ca.setStyle("margin-right",pr.marginRight,"em"),le.push(Ca),Ve+=Na.height+Na.depth,lt=Math.max(lt,Ca.width)}Me=Math.min(Me,Ve),Fe=Math.max(Fe,Ve)}le.forEach(pr=>{pr.softWidth=lt});const zt=new ui(le,{classes:"vlist"});if(zt.softWidth=lt,zt.height=Fe,zt.setStyle("height",Fe,"em"),Me>=0)return[[new ui(zt,{classes:"vlist-r"})],Fe,-Me];const xn=new ui(new ui(null),{classes:"vlist"});xn.height=-Me,xn.setStyle("height",-Me,"em");const tr=new ui(8203,{classes:"vlist-s",maxFontSize:0});return tr.softWidth=0,tr.height=0,tr.depth=0,[[new ui([zt,tr],{classes:"vlist-r"}),new ui(xn,{classes:"vlist-r"})],Fe,-Me]}var as=class extends ui{constructor(a,y){var b;const[E,te,ie]=Ls(a);super(E.length===1?E[0]:E,{type:y==null?void 0:y.type,classes:((b=y==null?void 0:y.classes)!=null?b:"")+" vlist-t"+(E.length===2?" vlist-t2":"")}),this.height=te,this.depth=ie,this.softWidth=E.reduce((le,Me)=>Math.max(le,Me.width),0)}};function su(a,y){var b,E,te,ie,le;const Me=a.metrics,Fe=new ui(y.base),Ve=(b=y.baseShift)!=null?b:0,lt=(E=y.slant)!=null?E:0;let zt=0,xn=0;y.above&&(zt=(te=y.aboveShift)!=null?te:Math.max(Me.bigOpSpacing1,Me.bigOpSpacing3-y.above.depth)),y.below&&(xn=(ie=y.belowShift)!=null?ie:Math.max(Me.bigOpSpacing2,Me.bigOpSpacing4-y.below.height));let tr=null;if(y.below&&y.above){const pr=Me.bigOpSpacing5+y.below.height+y.below.depth+xn+Fe.depth+Ve;tr=new as({bottom:pr,children:[Me.bigOpSpacing5,{box:y.below,marginLeft:-lt,classes:["ML__center"]},xn,{box:Fe,classes:["ML__center"]},zt,{box:y.above,marginLeft:lt,classes:["ML__center"]},Me.bigOpSpacing5]}).wrap(a)}else if(y.below&&!y.above)tr=new as({top:Fe.height-Ve,children:[Me.bigOpSpacing5,{box:y.below,marginLeft:-lt,classes:["ML__center"]},xn,{box:Fe,classes:["ML__center"]}]}).wrap(a);else if(!y.below&&y.above){const pr=Fe.depth+Ve;tr=new as({bottom:pr,children:[{box:Fe,classes:["ML__center"]},zt,{box:y.above,marginLeft:lt,classes:["ML__center"]},Me.bigOpSpacing5]}).wrap(a)}else{const pr=Fe.depth+Ve;tr=new as({bottom:pr,children:[{box:Fe},Me.bigOpSpacing5]}).wrap(a)}return new ui(tr,{type:(le=y.type)!=null?le:"op"})}var ds=7,ru=6,uu=5,cu=4,Iu=3,Us=2,Pu=1,Gs=0,du=class{constructor(a,y,b){this.id=a,this.sizeDelta=y,this.cramped=b;const E={"-4":2,"-3":1,0:0}[y];this.metrics=Object.keys(Ko).reduce((te,ie)=>me(Se({},te),{[ie]:Ko[ie][E]}),{})}getFontSize(a){return Math.max(1,a+this.sizeDelta)}get sup(){return Ys[[Gs,Pu,Gs,Pu,Us,Iu,Us,Iu][this.id]]}get sub(){return Ys[[Gs,Gs,Gs,Gs,Us,Us,Us,Us][this.id]]}get fracNum(){return Ys[[Gs,Pu,Gs,Pu,Us,Iu,cu,uu][this.id]]}get fracDen(){return Ys[[Gs,Gs,Gs,Gs,Us,Us,cu,cu][this.id]]}get cramp(){return Ys[[Gs,Gs,Us,Us,cu,cu,ru,ru][this.id]]}get isTight(){return this.sizeDelta<0}},fu={7:new du(ds,0,!1),6:new du(ru,0,!0),5:new du(uu,0,!1),4:new du(cu,0,!0),3:new du(Iu,-3,!1),2:new du(Us,-3,!0),1:new du(Pu,-4,!1),0:new du(Gs,-4,!0)},Ys=me(Se({},fu),{displaystyle:fu[ds],textstyle:fu[uu],scriptstyle:fu[Iu],scriptscriptstyle:fu[Pu]});function Vs(a,y){var b;if(!a)return 0;const E={pt:1,mm:7227/2540,cm:7227/254,ex:35271/8192,px:3/4,em:vi,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 te=Mc(10,y);return Math.round(a.dimension/vi*E*te)/te}return a.dimension*E}function Hs(a,y){if(a===null)return 0;const b=Vs(a)/vi;if(Number.isFinite(y)){const E=Mc(10,y);return Math.round(b*E)/E}return b}function Qu(a){var y;return`${a.dimension}${(y=a.unit)!=null?y:"pt"}`}function dc(a){let y=Qu(a.glue);return a.grow&&a.grow.dimension!==0&&(y+=` plus ${Qu(a.grow)}`),a.shrink&&a.shrink.dimension!==0&&(y+=` minus ${Qu(a.shrink)}`),y}function Ts(a){var y,b;if(a==null)return null;let E="";if("dimension"in a&&(E=`${a.dimension}${(y=a.unit)!=null?y:"pt"}`),"glue"in a&&(E=dc(a)),"number"in a)if(!("base"in a)||a.base==="decimal")E=Number(a.number).toString();else if(a.base==="alpha")E=`\`${String.fromCodePoint(a.number)}`;else{const te=Math.round(a.number)>>>0;a.base==="hexadecimal"?(E=Number(te).toString(16).toUpperCase(),te<=255?E=E.padStart(2,"0"):te<=65535?E=E.padStart(4,"0"):te<=16777215?E=E.padStart(6,"0"):E=E.padStart(8,"0"),E=`"${E}`):a.base==="octal"&&(E=Number(te).toString(8),te<=63?E=E.padStart(2,"0"):te<=30583?E=E.padStart(4,"0"):E=E.padStart(8,"0"),E=`'${E}`)}return"register"in a&&("factor"in a&&(a.factor===-1?E="-":a.factor!==1&&(E=Number(a.factor).toString())),"global"in a&&a.global&&(E+="\\global"),E+=`\\${a.register}`),"string"in a&&(E=a.string),(b=a.relax)!=null&&b&&(E+="\\relax"),E}function xu(a,y){return a==null?null:"number"in a?me(Se({},a),{number:a.number*y}):"register"in a?"factor"in a&&a.factor?me(Se({},a),{factor:a.factor*y}):me(Se({},a),{factor:y}):"dimension"in a?me(Se({},a),{dimension:a.dimension*y}):"glue"in a?a.shrink&&a.grow?{glue:xu(a.glue,y),shrink:xu(a.shrink,y),grow:xu(a.grow,y)}:a.shrink?{glue:xu(a.glue,y),shrink:xu(a.shrink,y)}:a.grow?{glue:xu(a.glue,y),grow:xu(a.grow,y)}:{glue:xu(a.glue,y)}:null}var Rc={"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 ec(){return Se({},Rc)}function os(){return{registers:ec(),smartFence:!1,renderPlaceholder:void 0,placeholderSymbol:"\u25A2",letterShapeStyle:$e.locale.startsWith("fr")?"french":"tex",minFontScale:0,colorMap:Re,backgroundColorMap:Be,getMacro:a=>Nr(a,qt())}}var cl=class Bp{constructor(y,b){var E,te,ie,le,Me,Fe,Ve,lt,zt,xn,tr,pr,Na,qi,Ca;let ci;y!=null&&y.parent?(this.parent=y.parent,ci=y.parent,this.registers={}):(ci=Se(Se({},os()),(E=y==null?void 0:y.from)!=null?E:{}),this.registers=ci.registers),ci.atomIdsSettings&&(this.atomIdsSettings=Se({},ci.atomIdsSettings)),this.renderPlaceholder=ci.renderPlaceholder,this.isPhantom=(le=(ie=y==null?void 0:y.isPhantom)!=null?ie:(te=this.parent)==null?void 0:te.isPhantom)!=null?le:!1,this.letterShapeStyle=ci.letterShapeStyle,this.minFontScale=ci.minFontScale,b!=null&&b.color&&b.color!=="none"?this.color=b.color:this.color=(Fe=(Me=this.parent)==null?void 0:Me.color)!=null?Fe:"",b!=null&&b.backgroundColor&&b.backgroundColor!=="none"?this.backgroundColor=b.backgroundColor:this.backgroundColor=(lt=(Ve=this.parent)==null?void 0:Ve.backgroundColor)!=null?lt:"",b!=null&&b.fontSize&&b.fontSize!=="auto"&&b.fontSize!==((zt=this.parent)==null?void 0:zt.size)?this.size=b.fontSize:this.size=(tr=(xn=this.parent)==null?void 0:xn.size)!=null?tr:Za;let ao=(Na=(pr=this.parent)==null?void 0:pr.mathstyle)!=null?Na:Ys.displaystyle;if(typeof(y==null?void 0:y.mathstyle)=="string"){if(ci instanceof Bp)switch(y.mathstyle){case"cramp":ao=ao.cramp;break;case"superscript":ao=ao.sup;break;case"subscript":ao=ao.sub;break;case"numerator":ao=ao.fracNum;break;case"denominator":ao=ao.fracDen;break}switch(y.mathstyle){case"textstyle":ao=Ys.textstyle;break;case"displaystyle":ao=Ys.displaystyle;break;case"scriptstyle":ao=Ys.scriptstyle;break;case"scriptscriptstyle":ao=Ys.scriptscriptstyle;break;case"":case"auto":break}}this.mathstyle=ao,this.smartFence=ci.smartFence,this.placeholderSymbol=ci.placeholderSymbol,this.colorMap=(qi=ci.colorMap)!=null?qi:bi=>bi,this.backgroundColorMap=(Ca=ci.backgroundColorMap)!=null?Ca:bi=>bi,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===ds||this.mathstyle.id===ru}get isCramped(){return this.mathstyle.cramped}get isTight(){return this.mathstyle.isTight}get metrics(){return this.mathstyle.metrics}get effectiveFontSize(){return Math.max(Li[Math.max(1,this.size+this.mathstyle.sizeDelta)],this.minFontScale)}getRegister(y){var b;if((b=this.registers)!=null&&b[y])return this.registers[y];if(this.parent)return this.parent.getRegister(y)}getRegisterAsNumber(y){const b=this.getRegister(y);if(typeof b=="number")return b;if(typeof b=="string")return Number(b)}getRegisterAsGlue(y){var b;if((b=this.registers)!=null&&b[y]){const E=this.registers[y];return typeof E=="object"&&"glue"in E?E:typeof E=="object"&&"dimension"in E?{glue:{dimension:E.dimension}}:typeof E=="number"?{glue:{dimension:E}}:void 0}if(this.parent)return this.parent.getRegisterAsGlue(y)}getRegisterAsEm(y,b){return Hs(this.getRegisterAsDimension(y),b)}getRegisterAsDimension(y){var b;if((b=this.registers)!=null&&b[y]){const E=this.registers[y];return typeof E=="object"&&"glue"in E?E.glue:typeof E=="object"&&"dimension"in E?E:typeof E=="number"?{dimension:E}:void 0}if(this.parent)return this.parent.getRegisterAsDimension(y)}setRegister(y,b){if(b===void 0){delete this.registers[y];return}this.registers[y]=b}evaluate(y){if(!y||!("register"in y))return y;let b=this;if("global"in y&&y.global)for(;b.parent;)b=b.parent;let E=1;"factor"in y&&y.factor!==1&&y.factor!==void 0&&(E=y.factor);const te=b.getRegister(y.register);if(te===void 0)return;if(typeof te=="string")return{string:Number(te).toString()+te};if(typeof te=="number")return{number:E*te};const ie=b.evaluate(te);if(ie!==void 0)return"string"in ie?{string:Number(te).toString()+ie.string}:"number"in ie?{number:E*ie.number}:"dimension"in ie?me(Se({},ie),{dimension:E*ie.dimension}):"glue"in ie?me(Se({},ie),{glue:me(Se({},ie.glue),{dimension:E*ie.glue.dimension}),shrink:ie.shrink?me(Se({},ie.shrink),{dimension:E*ie.shrink.dimension}):void 0,grow:ie.grow?me(Se({},ie.grow),{dimension:E*ie.grow.dimension}):void 0}):y}toDimension(y){const b=this.evaluate(y);return b===void 0?null:"dimension"in b?b:"glue"in b?b.glue:"number"in b?{dimension:b.number}:null}toEm(y,b){if(y===null)return 0;const E=this.toDimension(y);return E===null?0:Vs(E,b)/vi}toNumber(y){if(y===null)return null;const b=this.evaluate(y);return b===void 0?null:"number"in b?b.number:"dimension"in b?b.dimension:"glue"in b?b.glue.dimension:"string"in b?Number(b.string):null}toColor(y){var b,E;if(y===null)return null;const te=this.evaluate(y);return te===void 0?null:"string"in te?(E=(b=this.colorMap)==null?void 0:b.call(this,te.string))!=null?E:te.string:null}toBackgroundColor(y){var b,E;if(y===null)return null;const te=this.evaluate(y);return te===void 0?null:"string"in te?(E=(b=this.backgroundColorMap)==null?void 0:b.call(this,te.string))!=null?E:te.string:null}},iu=["body","above","below","superscript","subscript"];function As(a){return typeof a=="string"&&iu.includes(a)}function hu(a){return a!==void 0&&Array.isArray(a)&&a.length===2}var Fa=class ld{constructor(y){var b,E,te,ie,le,Me;this.type=y.type,typeof y.value=="string"&&(this.value=y.value),this.command=(E=(b=y.command)!=null?b:this.value)!=null?E:"",this.mode=(te=y.mode)!=null?te:"math",y.isFunction&&(this.isFunction=!0),y.limits&&(this.subsupPlacement=y.limits),this.style=Se({},y.style),this.displayContainsHighlight=(ie=y.displayContainsHighlight)!=null?ie:!1,this.captureSelection=(le=y.captureSelection)!=null?le:!1,this.skipBoundary=(Me=y.skipBoundary)!=null?Me:!1,y.verbatimLatex!==void 0&&y.verbatimLatex!==null&&(this.verbatimLatex=y.verbatimLatex),y.args&&(this.args=y.args),y.body&&(this.body=y.body),this._changeCounter=0}static createBox(y,b,E){var te;if(!b)return null;const ie=Ou(b),le=[];for(const Fe of ie){const Ve=Fe[0].style,lt=tc(y,Fe,{style:{color:Ve.color,backgroundColor:Ve.backgroundColor,fontSize:Ve.fontSize}});lt&&le.push(lt)}if(le.length===0)return null;const Me=((te=E==null?void 0:E.classes)!=null?te:"").trim();return le.length===1&&!Me&&!(E!=null&&E.type)?le[0].wrap(y):new ui(le,{classes:Me,type:E==null?void 0:E.type}).wrap(y)}static serialize(y,b){return eo.serialize(y,b)}static commonAncestor(y,b){if(y===b||y.parent===b.parent)return y.parent;const E=new WeakSet;let{parent:te}=y;for(;te;)E.add(te),te=te.parent;for(te=b.parent;te;){if(E.has(te))return te;te=te.parent}console.assert(!!te)}static fromJson(y){return typeof y=="string"?new ld({type:"mord",value:y,mode:"math"}):new ld(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=Se({},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=Jc(this.args)),this._branches)for(const b of Object.keys(this._branches))this._branches[b]&&(y[b]=this._branches[b].filter(E=>E.type!=="first").map(E=>E.toJson()));return y.type==="mord"&&Object.keys(y).length===2&&"value"in y?y.value:y}get changeCounter(){return this.parent?this.parent.changeCounter:this._changeCounter}set isDirty(y){if(y){this.parent||this._changeCounter++,"verbatimLatex"in this&&(this.verbatimLatex=void 0),this._children=void 0;let{parent:b}=this;for(;b;)b.parent||b._changeCounter++,"verbatimLatex"in b&&(b.verbatimLatex=void 0),b._children=void 0,b=b.parent}}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=nn(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):this.body&&this.command?$i([ki(this.command,this.bodyToLatex(y)),this.supsubToLatex(y)]):this.body?$i([this.bodyToLatex(y),this.supsubToLatex(y)]):!this.value||this.value==="\u200B"?"":this.command}bodyToLatex(y){var b;return eo.serialize(this.body,me(Se({},y),{defaultMode:(b=y.defaultMode)!=null?b:this.latexMode}))}aboveToLatex(y){return eo.serialize(this.above,y)}belowToLatex(y){return eo.serialize(this.below,y)}supsubToLatex(y){let b="";if(y=me(Se({},y),{defaultMode:"math"}),this.branch("subscript")!==void 0){const E=eo.serialize(this.subscript,y);E.length===0?b+="_{}":E.length===1?/^[0-9]$/.test(E)?b+=`_${E}`:b+=`_{${E}}`:b+=`_{${E}}`}if(this.branch("superscript")!==void 0){const E=eo.serialize(this.superscript,y);E.length===0?b+="^{}":E.length===1?E==="\u2032"?b+="^\\prime ":E==="\u2033"?b+="^\\doubleprime ":/^[0-9]$/.test(E)?b+=`^${E}`:b+=`^{${E}}`:b+=`^{${E}}`}return b}get treeDepth(){let y=1,b=this.parent;for(;b;)b=b.parent,y+=1;return y}get inCaptureSelection(){let y=this;for(;y;){if(y.captureSelection)return!0;y=y.parent}return!1}get parentPrompt(){let y=this.parent;for(;y;){if(y.type==="prompt"&&!y.captureSelection)return y;y=y.parent}return null}branch(y){if(As(y)&&this._branches)return this._branches[y]}get branches(){if(!this._branches)return[];const y=[];for(const b of iu)this._branches[b]&&y.push(b);return y}createBranch(y){return console.assert(As(y)),As(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 hu(this.parentBranch)?this.parentBranch[0]:-1}get col(){return hu(this.parentBranch)?this.parentBranch[1]:-1}get body(){var y;return(y=this._branches)==null?void 0:y.body}set body(y){this.setChildren(y,"body")}get superscript(){var y;return(y=this._branches)==null?void 0:y.superscript}set superscript(y){this.setChildren(y,"superscript")}get subscript(){var y;return(y=this._branches)==null?void 0:y.subscript}set subscript(y){this.setChildren(y,"subscript")}get above(){var y;return(y=this._branches)==null?void 0:y.above}set above(y){this.setChildren(y,"above")}get below(){var y;return(y=this._branches)==null?void 0:y.below}set below(y){this.setChildren(y,"below")}get computedStyle(){var y,b;const E=typeof this.style.verbatimColor=="string",te=typeof this.style.verbatimBackgroundColor=="string",ie=Se(Se({},(b=(y=this.parent)==null?void 0:y.computedStyle)!=null?b:{}),this.style);return delete ie.variant,delete ie.variantStyle,te||delete ie.verbatimBackgroundColor,E||delete ie.verbatimColor,ie}applyStyle(y){this.isDirty=!0,this.style=Se(Se({},this.style),y),this.style.fontFamily==="none"&&delete this.style.fontFamily,this.style.fontShape==="auto"&&delete this.style.fontShape,this.style.fontSeries==="auto"&&delete this.style.fontSeries,this.style.color==="none"&&(delete this.style.color,delete this.style.verbatimColor),this.style.backgroundColor==="none"&&(delete this.style.backgroundColor,delete this.style.verbatimBackgroundColor),this.style.fontSize==="auto"&&delete this.style.fontSize;for(const b of this.children)b.applyStyle(y)}getInitialBaseElement(){var y,b,E;return this.hasEmptyBranch("body")?this:(console.assert(((y=this.body)==null?void 0:y[0].type)==="first"),(E=(b=this.body[1])==null?void 0:b.getInitialBaseElement())!=null?E:this)}getFinalBaseElement(){return this.hasEmptyBranch("body")?this:this.body[this.body.length-1].getFinalBaseElement()}isCharacterBox(){return this.type==="leftright"||this.type==="genfrac"||this.type==="subsup"||this.type==="delim"||this.type==="array"||this.type==="surd"?!1:this.getFinalBaseElement().type==="mord"}hasEmptyBranch(y){const b=this.branch(y);return b?(console.assert(b.length>0),console.assert(b[0].type==="first"),b.length===1):!0}setChildren(y,b){var E;if(!y||(console.assert(As(b)),!As(b)))return;console.assert(((E=y[0])==null?void 0:E.type)!=="first");const te=[this.makeFirstAtom(b),...y];this._branches?this._branches[b]=te:this._branches={[b]:te};for(const ie of y)ie.parent=this,ie.parentBranch=b;this.isDirty=!0}makeFirstAtom(y){const b=new ld({type:"first",mode:this.mode});return b.parent=this,b.parentBranch=y,b}addChild(y,b){console.assert(y.type!=="first"),this.createBranch(b).push(y),this.isDirty=!0,y.parent=this,y.parentBranch=b}addChildBefore(y,b){console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b),0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildAfter(y,b){console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b)+1,0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildren(y,b){const E=this.createBranch(b);for(const te of y)te.parent=this,te.parentBranch=b,E.push(te);this.isDirty=!0}addChildrenAfter(y,b){console.assert(y.length===0||y[0].type!=="first"),console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b)+1,0,...y),this.isDirty=!0;for(const te of y)te.parent=this,te.parentBranch=b.parentBranch;return y[y.length-1]}removeBranch(y){const b=this.branch(y);if(As(y)&&(this._branches[y]=void 0),!b)return[];for(const E of b)E.parent=void 0,E.parentBranch=void 0;return console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}removeChild(y){if(console.assert(y.parent===this),y.type==="first")return;const b=this.branch(y.parentBranch),E=b.indexOf(y);console.assert(E>=0),b.splice(E,1),this.isDirty=!0,y.parent=void 0,y.parentBranch=void 0}get siblings(){return this.parent?this.parent.branch(this.parentBranch):[]}get firstSibling(){return this.siblings[0]}get lastSibling(){const{siblings:y}=this;return y[y.length-1]}get isFirstSibling(){return this===this.firstSibling}get isLastSibling(){return this===this.lastSibling}get hasNoSiblings(){return this.siblings.length===1}get leftSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)-1]}get rightSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)+1]}get hasChildren(){return!!(this._branches&&this.children.length>0)}get firstChild(){return console.assert(this.hasChildren),this.children[0]}get lastChild(){console.assert(this.hasChildren);const{children:y}=this;return y[y.length-1]}get children(){if(this._children)return this._children;if(!this._branches)return[];const y=[];for(const b of iu)if(this._branches[b])for(const E of this._branches[b])y.push(...E.children),y.push(E);return this._children=y,y}render(y){if(this.type==="first"&&!y.atomIdsSettings)return null;const b=nn(this.command,this.mode);if(b!=null&&b.render)return b.render(this,y);const E=new cl({parent:y},this.style);let te=this.createBox(E,{classes:this.parent?"":"ML__base"});return te?(!this.subsupPlacement&&(this.superscript||this.subscript)&&(te=this.attachSupsub(E,{base:te})),te.wrap(E)):null}attachSupsub(y,b){var E;const te=b.base,ie=this.superscript,le=this.subscript;if(!ie&&!le)return te;let Me=null,Fe=null;const Ve=(E=b.isCharacterBox)!=null?E:this.isCharacterBox();let lt=0;if(ie){const Na=new cl({parent:y,mathstyle:"superscript"});Me=ld.createBox(Na,ie),Ve||(lt=te.height-y.metrics.supDrop*Na.scalingFactor)}let zt=0;if(le){const Na=new cl({parent:y,mathstyle:"subscript"});Fe=ld.createBox(Na,le),Ve||(zt=te.depth+y.metrics.subDrop*Na.scalingFactor)}let xn;y.isDisplayStyle?xn=y.metrics.sup1:y.isCramped?xn=y.metrics.sup3:xn=y.metrics.sup2;const tr=.5/vi/y.scalingFactor;let pr=null;if(Fe&&Me){lt=Math.max(lt,xn,Me.depth+.25*y.metrics.xHeight),zt=Math.max(zt,y.metrics.sub2);const Na=y.metrics.defaultRuleThickness;if(lt-Me.depth-(Fe.height-zt)<4*Na){zt=4*Na-(lt-Me.depth)+Fe.height;const Ca=.8*y.metrics.xHeight-(lt-Me.depth);Ca>0&&(lt+=Ca,zt-=Ca)}const qi=this.isExtensibleSymbol&&te.italic?-te.italic:0;pr=new as({individualShift:[{box:Fe,shift:zt,marginLeft:qi},{box:Me,shift:-lt}]}).wrap(y)}else Fe&&!Me?(zt=Math.max(zt,y.metrics.sub1,Fe.height-.8*Vi),pr=new as({shift:zt,children:[{box:Fe,marginRight:tr,marginLeft:this.isCharacterBox()?-te.italic:0}]})):!Fe&&Me&&(lt=Math.max(lt,xn,Me.depth+.25*Vi),pr=new as({shift:-lt,children:[{box:Me,marginRight:tr}]}));return new ui([te,new ui(pr,{caret:this.caret,isSelected:this.isSelected,classes:"msubsup"})],{type:b.type})}attachLimits(y,b){const E=this.superscript?ld.createBox(new cl({parent:y,mathstyle:"superscript"},this.style),this.superscript):null,te=this.subscript?ld.createBox(new cl({parent:y,mathstyle:"subscript"},this.style),this.subscript):null;return!E&&!te?b.base.wrap(y):su(y,me(Se({},b),{above:E,below:te}))}bind(y,b){if(!b||y.isPhantom||this.value==="\u200B")return b;let E=this.parent;for(;E&&!E.captureSelection;)E=E.parent;return E!=null&&E.captureSelection||(this.id||(this.id=y.makeID()),b.atomID=this.id),b}createBox(y,b){var E,te,ie,le;const Me=(E=this.value)!=null?E:this.body,Fe=(te=b==null?void 0:b.boxType)!=null?te:au(this.type);let Ve=(ie=b==null?void 0:b.classes)!=null?ie:"";this.mode==="text"&&(Ve+=" ML__text");const lt=typeof Me=="string"||Me===void 0?new ui(Me!=null?Me:null,{type:Fe,isSelected:this.isSelected,mode:this.mode,maxFontSize:y.scalingFactor,style:me(Se({variant:"normal"},this.style),{fontSize:Math.max(1,y.size+y.mathstyle.sizeDelta)}),letterShapeStyle:y.letterShapeStyle,classes:Ve}):(le=ld.createBox(y,Me,{type:Fe,classes:Ve}))!=null?le:new ui(null);return y.isTight&&(lt.isTight=!0),(this.mode!=="math"||this.style.variant==="main")&&(lt.italic=0),lt.right=lt.italic,this.bind(y,lt),this.caret&&!this.superscript&&!this.subscript&&(lt.caret=this.caret),lt}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 Ou(a){let y;const b=[];let E=[];for(const te of a)if(!y&&!te.style)E.push(te);else{const ie=te.computedStyle;y&&ie.color===y.color&&ie.backgroundColor===y.backgroundColor&&ie.fontSize===y.fontSize?E.push(te):(E.length>0&&b.push(E),E=[te],y=ie)}return E.length>0&&b.push(E),b}function tc(a,y,b){var E,te,ie,le,Me;if(!y||y.length===0)return null;const Fe=new cl({parent:a},b.style),Ve=!((E=Fe.atomIdsSettings)!=null&&E.groupNumbers);let lt=[];if(y.length===1){const xn=y[0],tr=xn.render(Fe);tr&&(Ve&&xn.isSelected&&tr.selected(!0),lt=[tr])}else{let xn="",tr=!0;for(const pr of y){(te=Fe.atomIdsSettings)!=null&&te.groupNumbers&&xn&&(tr&&pr.isDigit()||!tr&&kc(pr))&&(Fe.atomIdsSettings.overrideID=xn);const Na=pr.render(Fe);Fe.atomIdsSettings&&(Fe.atomIdsSettings.overrideID=void 0),Na&&((ie=Fe.atomIdsSettings)!=null&&ie.groupNumbers&&((pr.isDigit()||kc(pr))&&(!xn||tr!==pr.isDigit())&&(tr=pr.isDigit(),xn=(le=pr.id)!=null?le:""),xn&&(!(pr.isDigit()||kc(pr))||!pr.hasEmptyBranch("superscript")||!pr.hasEmptyBranch("subscript"))&&(xn="")),Ve&&pr.isSelected&&Na.selected(!0),lt.push(Na))}}if(lt.length===0)return null;const zt=new ui(lt,me(Se({isTight:Fe.isTight},b),{type:(Me=b.type)!=null?Me:"lift"}));return zt.isSelected=lt.every(xn=>xn.isSelected),zt.wrap(Fe)}function kc(a){return a.mode==="text"}function Jc(a){return a.map(y=>y===null?"<null>":Array.isArray(y)&&y[0]instanceof Fa?{atoms:y.map(b=>b.toJson())}:typeof y=="object"&&"group"in y?{group:y.group.map(b=>b.toJson())}:y)}var nc=class Lp extends Fa{constructor(y,b,E){super({type:"text",command:y,mode:"text",displayContainsHighlight:!0}),this.value=b,this.verbatimLatex=b,this.applyStyle(E)}static fromJson(y){return new Lp(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:cr("text",this.value.codePointAt(0))}};function Nc(a,y){if(a.direction===y.direction){const b=a.ranges.length;if(y.ranges.length===b){let E=0;for(;E<b&&qc(a.ranges[E],y.ranges[E])==="equal";)E++;return E===b?"equal":"different"}}return"different"}function qc(a,y){return a[0]===y[0]&&a[1]===y[1]?"equal":"different"}function ou(a){let y=1/0,b=-1/0;for(const E of a.ranges)y=Math.min(y,E[0],E[1]),b=Math.max(b,E[0],E[1]);return[y,b]}function Fu(a){return typeof a=="number"&&!Number.isNaN(a)}function Ic(a){return Array.isArray(a)&&a.length===2}function Fc(a){return a!=null&&typeof a=="object"&&"ranges"in a&&Array.isArray(a.ranges)}function Cs(a,y){const b=a.at(y);let E;if(b){E=b.mode;let te=b.parent;for(;!E&&te;)te&&(E=te.mode),te=te.parent}return E}function yl(a,y){if(!y)return"";if(typeof y=="string")return y;if(!a||y.after===void 0)return y.value;let b=!1,E=!1,te=!1,ie=!1,le=!1,Me=!1,Fe=!1,Ve=!1,lt=!1,zt=!1,xn=!1,tr=!1,pr=!1,Na=!1,qi=!1,Ca=a[0],ci=0;for(;Ca!=null&&Ca.type&&/^(subsup|placeholder)$/.test(Ca.type);)ci+=1,Ca=a[ci];return b=!Ca||Ca.type==="first",Ca&&(Na=Ca.mode==="text",E=!Na&&Ca.type==="mord"&&be.test(Ca.value),te=!Na&&Ca.type==="mord"&&/\d+$/.test(Ca.value),ie=!Na&&Ca.isFunction,le=Ca.type==="genfrac",Me=Ca.type==="surd",Fe=Ca.type==="mbin",Ve=Ca.type==="mrel",lt=Ca.type==="mop"||Ca.type==="operator"||Ca.type==="extensible-symbol",zt=Ca.type==="mpunct"||Ca.type==="minner",xn=Ca.type==="array",tr=Ca.type==="mopen",pr=Ca.type==="mclose"||Ca.type==="leftright",qi=Ca.type==="space"),y.after.includes("nothing")&&b||y.after.includes("letter")&&E||y.after.includes("digit")&&te||y.after.includes("function")&&ie||y.after.includes("frac")&&le||y.after.includes("surd")&&Me||y.after.includes("binop")&&Fe||y.after.includes("relop")&&Ve||y.after.includes("operator")&<||y.after.includes("punct")&&zt||y.after.includes("array")&&xn||y.after.includes("openfence")&&tr||y.after.includes("closefence")&&pr||y.after.includes("text")&&Na||y.after.includes("space")&&qi?y.value:""}function Hl(a,y,b){return b?yl(a,b[y]):""}var ys={"&":"\\&","%":"\\%",$:"\\$","''":"^{\\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 Rs(a,y){var b;let E=(b=y==null?void 0:y.format)!=null?b:"auto";return E==="auto"&&([E,a]=fc(a)),E==="ascii-math"?(a=a.replace(/\u2061/gu,""),a=a.replace(/\u3016/gu,"{"),a=a.replace(/\u3017/gu,"}"),a=a.replace(/([^\\])sinx/g,"$1\\sin x"),a=a.replace(/([^\\])cosx/g,"$1\\cos x "),a=a.replace(/\u2013/g,"-"),["ascii-math",pu(a,{inlineShortcuts:y==null?void 0:y.inlineShortcuts})]):["latex",a]}function pu(a,y){var b,E,te;if(!a)return"";let ie=!1,le;const Me=(b=y.inlineShortcuts)!=null?b:ys;if(!ie&&(a.startsWith("^")||a.startsWith("_"))&&(le=wu(a.slice(1),{inlineShortcuts:Me,noWrap:!0}),a=a[0]+"{"+le.match+"}",a+=pu(le.rest,y),ie=!0),ie||(le=a.match(/^(sqrt|\u221A)(.*)/),le&&(le=wu(le[2],{inlineShortcuts:Me,noWrap:!0}),a="\\sqrt{"+((E=le.match)!=null?E:"\\placeholder{}")+"}",a+=pu(le.rest,y),ie=!0)),ie||(le=a.match(/^(\\cbrt|\u221B)(.*)/),le&&(le=wu(le[2],{inlineShortcuts:Me,noWrap:!0}),a="\\sqrt[3]{"+((te=le.match)!=null?te:"\\placeholder{}")+"}",a+=pu(le.rest,y),ie=!0)),ie||(le=a.match(/^abs(.*)/),le&&(le=wu(le[1],{inlineShortcuts:Me,noWrap:!0}),a="\\left|"+le.match+"\\right|",a+=pu(le.rest,y),ie=!0)),ie||(le=a.match(/^["”“](.*?)["”“](.*)/),le&&(a="\\text{"+le[1]+"}",a+=pu(le[2],y),ie=!0)),ie||(le=a.match(/^([^a-zA-Z\(\{\[\_\^\\\s"]+)(.*)/),le&&(a=rc(le[1],Me),a+=pu(le[2],y),ie=!0)),!ie&&/^([fgh])[^a-zA-Z]/.test(a)&&(le=wu(a.slice(1),{inlineShortcuts:Me,noWrap:!0}),a=a[1]==="("?a[0]+"\\left("+le.match+"\\right)":a[0]+le.match,a+=pu(le.rest,y),ie=!0),ie||(le=a.match(/^([a-zA-Z]+)(.*)/),le&&(a=rc(le[1],Me),a+=pu(le[2],y),ie=!0)),!ie)if(le=wu(a,{inlineShortcuts:Me,noWrap:!0}),le.match&&le.rest[0]==="/"){const Fe=wu(le.rest.slice(1),{inlineShortcuts:Me,noWrap:!0});Fe.match&&(a="\\frac{"+le.match+"}{"+Fe.match+"}"+pu(Fe.rest,y)),ie=!0}else le.match&&(a=a.startsWith("(")?"\\left("+le.match+"\\right)"+pu(le.rest,y):le.match+pu(le.rest,y),ie=!0);return ie||(le=a.match(/^(\s+)(.*)$/),le&&(a=" "+pu(le[2],y),ie=!0)),a}function wu(a,y){let b="";a=a.trim();let E=a,te=a.charAt(0),ie={"(":")","{":"}","[":"]"}[te];if(ie){let le=1,Me=1;for(;Me<a.length&&le>0;)a[Me]===te&&le++,a[Me]===ie&&le--,Me++;le===0?(y.noWrap&&te==="("?b=pu(a.substring(1,Me-1),y):(te==="{"&&ie==="}"&&(te="\\{",ie="\\}"),b="\\left"+te+pu(a.substring(1,Me-1),y)+"\\right"+ie),E=a.slice(Math.max(0,Me))):(b=a.substring(1,Me),E="")}else{let le=a.match(/^([a-zA-Z]+)/);if(le){let Me=Hl(null,a,y.inlineShortcuts);if(Me)return Me=Me.replace("_{#?}",""),Me=Me.replace("^{#?}",""),{match:Me,rest:a.slice(Me.length)}}if(le=a.match(/^([a-zA-Z])/),le)return{match:le[1],rest:a.slice(1)};if(le=a.match(/^(-)?\d+(\.\d*)?/),le)return{match:le[0],rest:a.slice(le[0].length)};/^\\(left|right)/.test(a)||(le=a.match(/^(\\[a-zA-Z]+)/),le&&(E=a.slice(le[1].length),b=le[1]))}return{match:b,rest:E}}function rc(a,y){let b=Hl(null,a,y);return b?(b=b.replace("_{#?}",""),b=b.replace("^{#?}",""),b+=" "):b=a,b}var ac=[["\\[","\\]"],["\\(","\\)"],["$$","$$"],["$","$"],["\\begin{math}","\\end{math}"],["\\begin{displaymath}","\\end{displaymath}"],["\\begin{equation}","\\end{equation}"],["\\begin{equation*}","\\end{equation*}"]];function Xu(a){const y=a.trim();for(const b of ac)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 fc(a){if(a=a.trim(),a.length<=1)return["latex",a];let y;return[y,a]=Xu(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 Ku="$$",ud="$$",bd=(a,y,b)=>(ac.some(E=>y.startsWith(E[0])&&y.endsWith(E[1]))||(y=`${Ku} ${y} ${ud}`),y),cd=class ph{constructor(y){ph._modes[y]=this}static onPaste(y,b,E){var te;if(!b.contentEditable&&b.userSelect==="none")return b.model.announce("plonk"),!1;if(typeof E=="string"){const le=new DataTransfer;le.setData("text/plain",E),E=le}const ie=new ClipboardEvent("paste",{clipboardData:E,cancelable:!0});return(te=b.host)!=null&&te.dispatchEvent(ie)?ph._modes[y].onPaste(b,E):!1}static copyToClipboard(y,b){if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const E=y.model,te=E.selectionIsCollapsed?[0,E.lastOffset]:ou(E.selection),ie=E.getValue(te,b);navigator.clipboard.writeText(ie).then(()=>{},()=>y.model.announce("plonk"))}static onCopy(y,b){var E;if(!b.clipboardData)return;if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const te=y.model,ie=te.selectionIsCollapsed?[0,te.lastOffset]:ou(te.selection);let le=te.getAtoms(ie);if(le.every(Me=>Me.mode==="text"||!Me.mode))b.clipboardData.setData("text/plain",le.filter(Me=>Me instanceof nc).map(Me=>Me.value).join(""));else if(le.every(Me=>Me.mode==="latex"))b.clipboardData.setData("text/plain",te.getAtoms(ie,{includeChildren:!0}).map(Me=>{var Fe;return(Fe=Me.value)!=null?Fe:""}).join(""));else{let Me;le.length===1&&le[0].verbatimLatex!==void 0?Me=le[0].verbatimLatex:Me=te.getValue(ie,"latex-expanded"),b.clipboardData.setData("application/x-latex",Me);try{b.clipboardData.setData("text/plain",y.options.onExport(y,Me,ie))}catch(Fe){}if(le.length===1){const Fe=le[0];(Fe.type==="root"||Fe.type==="group")&&(le=Fe.body.filter(Ve=>Ve.type!=="first"))}try{b.clipboardData.setData("application/json+mathlive",JSON.stringify(le.map(Fe=>Fe.toJson())))}catch(Fe){}if((E=window[Symbol.for("io.cortexjs.compute-engine")])!=null&&E.ComputeEngine){const Fe=window.MathfieldElement.computeEngine;if(Fe)try{const Ve=Fe.jsonSerializationOptions;Fe.jsonSerializationOptions={metadata:["latex"]};const lt=Fe.parse(te.getValue(ie,"latex-unstyled"));Fe.jsonSerializationOptions=Ve;const zt=JSON.stringify(lt.json);zt&&b.clipboardData.setData("application/json",zt)}catch(Ve){}}}b.preventDefault()}static insert(y,b,E={}){var te;const ie=E.mode==="auto"?y.mode:(te=E.mode)!=null?te:y.mode;return ph._modes[ie].insert(y,b,E)}onPaste(y,b){return!1}insert(y,b,E){return!1}};cd._modes={};var is=cd,Fd=[{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","^"]}],dd={"\\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 ic(a){var y;return((y=a.element)==null?void 0:y.mathfield)===a}function sc(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 mc(a){const y=sc(a);if(!y)return null;const b=y.getBoundingClientRect();return{x:b.right,y:b.bottom,height:b.height}}function $c(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 fd(a,y,b){if(!y)return null;const E=a.field.getBoundingClientRect(),te=y.right-y.left,ie=y.bottom-y.top,le=Math.ceil(y.left-E.left+a.field.scrollLeft*b),Me=Math.ceil(y.top-E.top);return{left:le,right:le+te,top:Me,bottom:Me+ie}}function ed(a){const y=a.getBoundingClientRect(),b=parseInt(getComputedStyle(a).marginRight),E={top:y.top-1,bottom:y.bottom,left:y.left,right:y.right-1+b};if(a.children.length===0||a.tagName.toUpperCase()==="SVG")return E;for(const te of a.children)if(te.nodeType===1&&"atomId"in te.dataset&&!te.classList.contains("pstrut")){const ie=ed(te);E.left=Math.min(E.left,ie.left),E.right=Math.max(E.right,ie.right),E.top=Math.min(E.top,ie.top),E.bottom=Math.max(E.bottom,ie.bottom)}return E}function Pc(a,y){var b,E;if(!y.id)return null;let te=(E=(b=a.atomBoundsCache)==null?void 0:b.get(y.id))!=null?E:null;if(te!==null)return te;const ie=a.field.querySelector(`[data-atom-id="${y.id}"]`);return te=ie?ed(ie):null,a.atomBoundsCache&&(te?a.atomBoundsCache.set(y.id,te):a.atomBoundsCache.delete(y.id)),te!=null?te:null}function Kd(a,y,b){const E=new Map;for(const te of a.model.getAtoms(y,{includeChildren:!0})){if(b!=null&&b.excludeAtomsWithBackground&&te.style.backgroundColor)continue;const ie=a.field,le=ie.offsetWidth;let Fe=Math.floor(ie.getBoundingClientRect().width)/le;Fe=isNaN(Fe)?1:Fe;const Ve=fd(a,Pc(a,te),Fe);if(Ve){const lt=$c(te);if(E.has(lt)){const zt=E.get(lt);E.set(lt,{left:Math.min(zt.left,Ve.left),right:Math.max(zt.right,Ve.right),top:Math.min(zt.top,Ve.top),bottom:Math.max(zt.bottom,Ve.bottom)})}else E.set(lt,Ve)}}return[...E.values()]}function Ds(a,y){return a.model.selection.ranges.reduce((b,E)=>b.concat(...Kd(a,E,y)),[])}function Zs(a,y){return a==="*"||y==="none"?!0:y==="same-origin"?!window.origin||a===window.origin:typeof y=="function"?y(a):!1}function Uu(a){let y=0,b=0;const E=a.offsetWidth,te=a.offsetHeight;for(;a instanceof HTMLElement;)y+=a.offsetTop,b+=a.offsetLeft,a=a.offsetParent;return new DOMRect(b,y,E,te)}var vc=`@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;
|
|
|
}
|
|
|
`,ks=`.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);
|
|
|
}
|
|
|
`,xd=`#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);
|
|
|
}
|
|
|
`,wd=`/* 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;
|
|
|
}
|
|
|
`,wc=`/* 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);*/
|
|
|
}
|
|
|
`,Sd=`.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));
|
|
|
}
|
|
|
`,Kc=`: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;
|
|
|
}
|
|
|
`,mh=`.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;
|
|
|
}
|
|
|
`,Js;function td(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=ks;break;case"mathfield":y=vc;break;case"environment-popover":y=xd;break;case"suggestion-popover":y=wd;break;case"keystroke-caption":y=wc;break;case"virtual-keyboard":y=Sd;break;case"ui":y=Kc;break;case"menu":y=mh;break;default:debugger}return y}function hd(a){return Js||(Js={}),Js[a]||(Js[a]=new CSSStyleSheet,Js[a].replaceSync(td(a))),Js[a]}var Bc;function hc(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(td(a))),window.document.head.appendChild(b);return}if(Bc||(Bc={}),((y=Bc[a])!=null?y:0)!==0)Bc[a]+=1;else{const b=hd(a);document.adoptedStyleSheets=[...document.adoptedStyleSheets,b],Bc[a]=1}}function x(a){if("adoptedStyleSheets"in document&&Bc!=null&&Bc[a]&&(Bc[a]-=1,Bc[a]<=0)){const y=Js[a];document.adoptedStyleSheets=document.adoptedStyleSheets.filter(b=>b!==y)}}var z=class Op extends Fa{constructor(y){var b;super(me(Se({},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 Op(y)}toJson(){return me(Se({},super.toJson()),{accentChar:this.accent,svgAccent:this.svgAccent})}render(y){var b;const E=new cl({parent:y,mathstyle:"cramp"},this.style),te=(b=Fa.createBox(E,this.body))!=null?b:new ui("\u25A2",{style:this.style});let ie=0;!this.hasEmptyBranch("body")&&this.body.length===2&&this.body[1].isCharacterBox()&&(ie=te.skew);let le=Math.min(te.height,Vi),Me;if(this.svgAccent)Me=Nu(this.svgAccent),le=E.metrics.bigOpSpacing1-le;else if(this.accent){const Ve=new ui(this.accent,{fontFamily:"Main-Regular"});Ve.italic=0;const lt=this.accent===8407?" ML__accent-vec":"";Me=new ui(new ui(Ve),{classes:"ML__accent-body"+lt})}Me=new as({shift:0,children:[{box:new ui(te)},-le,{box:Me,marginLeft:te.left+2*ie,classes:["ML__center"]}]});const Fe=new ui(Me,{type:"lift"});return this.caret&&(Fe.caret=this.caret),this.bind(E,Fe.wrap(E)),this.attachSupsub(E,{base:Fe})}},ae={"(":")","{":"}","[":"]","|":"|","\\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(ae).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 xe(a,y,b,E){var te;const le=new ui(oe(a),{fontFamily:"Main-Regular",isSelected:E.isSelected,classes:"ML__small-delim "+((te=E.classes)!=null?te:"")}).wrap(y);return b&&le.setTop((1-y.scalingFactor)*pi),le}function We(a,y,b,E,te){var ie,le;const Me=new cl({parent:E,mathstyle:"textstyle"},te==null?void 0:te.style),Fe=new ui(oe(a),{fontFamily:`Size${y}-Regular`,isSelected:te.isSelected,classes:((ie=te.classes)!=null?ie:"")+` ML__delim-size${y}`,type:(le=te.type)!=null?le:"ignore"}).wrap(Me);return b&&Fe.setTop((1-Me.scalingFactor)*pi),Fe}function dt(a,y,b,E,te){var ie;let le,Me,Fe,Ve;le=Fe=Ve=oe(a),Me=null;let lt="Size1-Regular";a==="\\vert"||a==="\\lvert"||a==="\\rvert"||a==="\\mvert"||a==="\\mid"?Fe=le=Ve=8739:a==="\\Vert"||a==="\\lVert"||a==="\\rVert"||a==="\\mVert"||a==="\\|"?Fe=le=Ve=8741:a==="\\uparrow"?Fe=Ve=9168:a==="\\Uparrow"?Fe=Ve=8214:a==="\\downarrow"?le=Fe=9168:a==="\\Downarrow"?le=Fe=8214:a==="\\updownarrow"?(le=8593,Fe=9168,Ve=8595):a==="\\Updownarrow"?(le=8657,Fe=8214,Ve=8659):a==="["||a==="\\lbrack"?(le=9121,Fe=9122,Ve=9123,lt="Size4-Regular"):a==="]"||a==="\\rbrack"?(le=9124,Fe=9125,Ve=9126,lt="Size4-Regular"):a==="\\lfloor"||a==="\u230A"?(Fe=le=9122,Ve=9123,lt="Size4-Regular"):a==="\\lceil"||a==="\u2308"?(le=9121,Fe=Ve=9122,lt="Size4-Regular"):a==="\\rfloor"||a==="\u230B"?(Fe=le=9125,Ve=9126,lt="Size4-Regular"):a==="\\rceil"||a==="\u2309"?(le=9124,Fe=Ve=9125,lt="Size4-Regular"):a==="("||a==="\\lparen"?(le=9115,Fe=9116,Ve=9117,lt="Size4-Regular"):a===")"||a==="\\rparen"?(le=9118,Fe=9119,Ve=9120,lt="Size4-Regular"):a==="\\{"||a==="\\lbrace"?(le=9127,Me=9128,Ve=9129,Fe=9130,lt="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(le=9131,Me=9132,Ve=9133,Fe=9130,lt="Size4-Regular"):a==="\\lgroup"||a==="\u27EE"?(le=9127,Ve=9129,Fe=9130,lt="Size4-Regular"):a==="\\rgroup"||a==="\u27EF"?(le=9131,Ve=9133,Fe=9130,lt="Size4-Regular"):a==="\\lmoustache"||a==="\u23B0"?(le=9127,Ve=9133,Fe=9130,lt="Size4-Regular"):a==="\\rmoustache"||a==="\u23B1"?(le=9131,Ve=9129,Fe=9130,lt="Size4-Regular"):a==="\\surd"?(le=57345,Ve=9143,Fe=57344,lt="Size4-Regular"):a==="\\ulcorner"?(le=9484,Fe=Ve=32):a==="\\urcorner"?(le=9488,Fe=Ve=32):a==="\\llcorner"?(Ve=9492,Fe=le=32):a==="\\lrcorner"&&(le=9496,Fe=le=32);const zt=ii(le,lt),xn=zt.height+zt.depth,tr=ii(Fe,lt),pr=tr.height+tr.depth,Na=ii(Ve,lt),qi=Na.height+Na.depth;let Ca=0,ci=1;if(Me!==null){const Vu=ii(Me,lt);Ca=Vu.height+Vu.depth,ci=2}const ao=xn+qi+Ca,bi=Math.max(0,Math.ceil((y-ao)/(ci*pr))),al=ao+bi*ci*pr;let Ll=pi;b&&(Ll=Ll*E.scalingFactor);const Cl=al/2-Ll,Ns=.008,Qs=[];Qs.push({box:new ui(Ve,{fontFamily:lt})}),Qs.push(-Ns);const vo=new ui(Fe,{fontFamily:lt});if(Me===null)for(let Vu=0;Vu<bi;Vu++)Qs.push({box:vo});else{for(let Vu=0;Vu<bi;Vu++)Qs.push({box:vo});Qs.push(-Ns),Qs.push({box:new ui(Me,{fontFamily:lt})}),Qs.push(-Ns);for(let Vu=0;Vu<bi;Vu++)Qs.push({box:vo})}Qs.push(-Ns),Qs.push({box:new ui(le,{fontFamily:lt})});let bc="";lt==="Size1-Regular"?bc=" delim-size1":lt==="Size4-Regular"&&(bc=" delim-size4");const Uc=new as({bottom:Cl,children:Qs},{classes:bc});return new ui(Uc,me(Se({},te!=null?te:{}),{classes:((ie=te==null?void 0:te.classes)!=null?ie:"")+" ML__delim-mult"}))}var Ct=new Set(["(",")","\\lparen","\\rparen","[","]","\\lbrack","\\rbrack","\\{","\\}","\\lbrace","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd","\u230A","\u230B","\u2308","\u2309"]),Ft=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\mvert","\\mid","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","\u27EE","\u27EF","\u23B0","\u23B1"]),er=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),gr=[0,1.2,1.8,2.4,3];function oa(a,y,b,E){return a===void 0||a==="."?qo(b,E.classes):(a==="<"||a==="\\lt"||a==="\u27E8"?a="\\langle":(a===">"||a==="\\gt"||a==="\u27E9")&&(a="\\rangle"),Ct.has(a)||er.has(a)?We(a,y,!1,b,E):Ft.has(a)?dt(a,gr[y],!1,b,E):(console.assert(!1,"Unknown delimiter '"+a+"'"),null))}var ea=[{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}],oi=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"stack"}],wi=[{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 fo(a){return a.type==="small"?"Main-Regular":a.type==="large"?"Size"+a.size+"-Regular":(console.assert(a.type==="stack"),"Size4-Regular")}function Ro(a,y,b,E){const te={"-4":0,"-3":1,0:2}[E.mathstyle.sizeDelta];for(let ie=te;ie<b.length&&b[ie].type!=="stack";ie++){const le=ii(a,fo(b[ie]));if(le.defaultMetrics)return{type:"small",mathstyle:"scriptstyle"};let Me=le.height+le.depth;if(b[ie].type==="small"&&(b[ie].mathstyle==="scriptscriptstyle"?Me*=Math.max(Li[Math.max(1,E.size-2)],E.minFontScale):b[ie].mathstyle==="scriptstyle"&&(Me*=Math.max(Li[Math.max(1,E.size-1)],E.minFontScale))),Me>y)return b[ie]}return b[b.length-1]}function Xo(a,y,b,E,te,ie){if(!y||y.length===0||y===".")return qo(te);y==="<"||y==="\\lt"?y="\\langle":(y===">"||y==="\\gt")&&(y="\\rangle");let le;er.has(y)?le=ea:Ct.has(y)?le=wi:le=oi;const Me=Ro(oe(y),b,le,te),Fe=new cl({parent:te,mathstyle:Me.mathstyle},ie==null?void 0:ie.style);return Me.type==="small"?xe(y,Fe,E,me(Se({},ie),{type:a})):Me.type==="large"?We(y,Me.size,E,Fe,me(Se({},ie),{type:a})):(console.assert(Me.type==="stack"),dt(y,b,E,Fe,me(Se({},ie),{type:a})))}function Mo(a,y,b,E,te,ie){if(y===".")return qo(te,ie==null?void 0:ie.classes);const le=pi*te.scalingFactor,Me=901,Fe=5/vi,Ve=Math.max(b-le,E+le),lt=Math.max(Ve/500*Me,2*Ve-Fe);return Xo(a,y,lt,!0,te,ie)}function qo(a,y){const b=new ui(null,{classes:" nulldelimiter "+(y!=null?y:""),type:"ignore"});return b.width=a.getRegisterAsEm("nulldelimiterspace"),b.wrap(new cl({parent:a,mathstyle:"textstyle"}))}var Ol=class Tp extends Fa{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 Tp(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{}"}},Zl=["matrix","matrix*","pmatrix","pmatrix*","bmatrix","bmatrix*","Bmatrix","Bmatrix*","vmatrix","vmatrix*","Vmatrix","Vmatrix*"],bs=["cases","dcases","rcases"],qs=["align","align*","aligned","gather","gathered","split"],zu=["array","subequations","eqnarray"];function gu(a){return zu.concat(qs).concat(bs).concat(Zl).includes(a)}function Ju(a){return Zl.includes(a)}function qu(a){return bs.includes(a)}function Bu(a){return qs.includes(a)}function $u(a,y,b){let E=0;for(const Ve of b)"align"in Ve&&(E+=1);let te=0;const ie=[];for(const Ve of y){let lt=0;for(te=Math.max(te,Math.min(Ve.length,E));lt<Ve.length;){const zt=[],xn=Math.min(Ve.length,lt+E);for(;lt<xn;){const tr=Ve[lt];tr.length===0?zt.push([new Fa({type:"first",mode:a.mode})]):tr[0].type!=="first"?zt.push([new Fa({type:"first",mode:a.mode}),...tr]):(console.assert(!tr.slice(1).some(pr=>pr.type==="first")),zt.push(tr)),lt+=1}ie.push(zt)}}ie.length>0&&ie[ie.length-1].length===1&&ie[ie.length-1][0].length===1&&ie[ie.length-1][0][0].type==="first"&&ie.pop();const le=[];for(const Ve of ie){if(Ve.length!==te)for(let lt=Ve.length;lt<te;lt++)Ve.push([new Fa({type:"first",mode:a.mode}),new Ol]);le.push(Ve)}let Me=0,Fe=0;for(const Ve of le){Fe=0;for(const lt of Ve){for(const zt of lt)zt.parent=a,zt.parentBranch=[Me,Fe];Fe+=1}Me+=1}return a.isDirty=!0,le}var fs=class Rp extends Fa{constructor(y,b,E,te={}){var ie;super({type:"array"}),this.environmentName=y,this.rowGaps=E,te.mathstyleName&&(this.mathstyleName=te.mathstyleName),te.columns&&(te.columns.length===0?this.colFormat=[{align:"l"}]:this.colFormat=te.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=$u(this,b,this.colFormat),te.leftDelim&&(this.leftDelim=te.leftDelim),te.rightDelim&&(this.rightDelim=te.rightDelim),te.arraycolsep!==void 0&&(this.arraycolsep=te.arraycolsep),this.colSeparationType=te.colSeparationType,te.arraystretch!==void 0&&(this.arraystretch=te.arraystretch),this.minColumns=(ie=te.minColumns)!=null?ie:1}static fromJson(y){return new Rp(y.environmentName,y.array,y.rowGaps,y)}toJson(){const y=me(Se({},super.toJson()),{environmentName:this.environmentName,array:this.array.map(b=>b.map(E=>E.map(te=>te.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(hu(y))return(b=this.array[y[0]][y[1]])!=null?b:void 0}createBranch(y){var b;return hu(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(As(y))return super.removeBranch(y);const b=this.branch(y);return this.array[y[0]][y[1]]=void 0,b.forEach(E=>{E.parent=void 0,E.parentBranch=void 0}),console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}get hasChildren(){return this.children.length>0}get children(){const y=[];for(const b of this.array)for(const E of b)if(E)for(const te of E)y.push(...te.children),y.push(te);return[...y,...super.children]}render(y){var b,E,te,ie,le,Me;const Fe=new cl({parent:y,mathstyle:this.mathstyleName},this.style),Ve=Fe.getRegisterAsEm("arrayrulewidth"),lt=Fe.getRegisterAsEm("arraycolsep"),zt=Fe.getRegisterAsEm("doublerulesep"),xn=(E=(b=this.arraystretch)!=null?b:Fe.getRegisterAsNumber("arraystretch"))!=null?E:1;let tr=typeof this.arraycolsep=="number"?this.arraycolsep:lt;this.colSeparationType==="small"&&(tr=.2778*(new cl({parent:y,mathstyle:"scriptstyle"}).scalingFactor/y.scalingFactor));const pr=xn*yi,Na=.7*pr,qi=.3*pr;let Ca=0;const ci=[];let ao=0;const bi=this.array.length;for(let eu=0;eu<bi;++eu){const ku=this.array[eu];ao=Math.max(ao,ku.length);const ju=new cl({parent:Fe,mathstyle:this.mathstyleName},this.style);let Gc=Na/ju.scalingFactor,Yc=qi/ju.scalingFactor;const Qc={cells:[],height:0,depth:0,pos:0};for(const Tc of ku){const a0=(te=Fa.createBox(ju,Tc,{type:"ignore"}))!=null?te:new ui(null,{type:"ignore"});Yc=Math.max(Yc,a0.depth),Gc=Math.max(Gc,a0.height),Qc.cells.push(a0)}let Xc=(ie=Hs(this.rowGaps[eu]))!=null?ie:0;Xc>0&&(Xc+=qi,Yc=Math.max(Yc,Xc),Xc=0),eu<bi-1&&!Ju(this.environmentName)&&this.environmentName!=="cases"&&this.environmentName!=="array"&&(Yc+=Fe.getRegisterAsEm("jot")),Qc.height=Gc,Qc.depth=Yc,Ca+=Gc,Qc.pos=Ca,Ca+=Yc+Xc,ci.push(Qc)}const al=Ca/2+pi,Ll=[];for(let eu=0;eu<ao;eu++){const ku=[];for(const ju of ci){const Gc=ju.cells[eu];Gc.depth=ju.depth,Gc.height=ju.height,ku.push({box:Gc,shift:ju.pos-al})}ku.length>0&&Ll.push(new as({individualShift:ku}))}const Cl=[];let Ns=!1,Qs=!1,vo=0,bc=!this.leftDelim;const{colFormat:Uc}=this;for(const eu of Uc){if("align"in eu&&vo>=Ll.length)break;if("align"in eu)Ns?Cl.push(yu(2*tr)):(Qs||bc)&&Cl.push(yu(tr)),Cl.push(new ui(Ll[vo],{classes:"col-align-"+eu.align})),vo++,Ns=!0,Qs=!1,bc=!1;else if("gap"in eu){if(typeof eu.gap=="number")Cl.push(yu(eu.gap));else{const ku=Cu(y,ci,al,eu.gap);ku&&Cl.push(ku)}Ns=!1,Qs=!1,bc=!1}else if("separator"in eu){const ku=new ui(null,{classes:"vertical-separator"});ku.height=Ca,ku.setStyle("height",Ca,"em"),ku.setStyle("border-right",`${Ve}em ${eu.separator} currentColor`),ku.setStyle("vertical-align",-(Ca-al),"em");let ju=0;Qs?ju=zt-Ve:Ns&&(ju=tr-Ve),ku.left=ju,Cl.push(ku),Ns=!1,Qs=!0,bc=!1}}Ns&&!this.rightDelim&&Cl.push(yu(tr));const Ac=new ui(Cl,{classes:"mtable"});if((!this.leftDelim||this.leftDelim===".")&&(!this.rightDelim||this.rightDelim==="."))return this.caret&&(Ac.caret=this.caret),this.bind(y,Ac);const Vu=Ac.height,xc=Ac.depth,cc=this.bind(y,new ui([this.bind(y,Mo("open",(le=this.leftDelim)!=null?le:".",Vu,xc,Fe,{isSelected:this.isSelected})),Ac,this.bind(y,Mo("close",(Me=this.rightDelim)!=null?Me:".",Vu,xc,Fe,{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 E=[];if(this.environmentName==="lines"?E.push("{\\displaylines"):E.push(`\\begin{${this.environmentName}}`),this.environmentName==="array"){if(E.push("{"),this.colFormat!==void 0)for(const te of this.colFormat)"align"in te&&typeof te.align=="string"?E.push(te.align):"separator"in te&&te.separator==="solid"?E.push("|"):"separator"in te&&te.separator==="dashed"&&E.push(":");E.push("}")}for(let te=0;te<this.array.length;te++){for(let ie=0;ie<this.array[te].length;ie++)ie>0&&E.push(" & "),E.push(Fa.serialize(this.array[te][ie],y));if(te<this.array.length-1){const ie=this.rowGaps[te];ie!=null&&ie.dimension?E.push(`\\\\[${ie.dimension} ${(b=ie.unit)!=null?b:"pt"}] `):E.push("\\\\ ")}}return this.environmentName==="lines"?E.push("}"):E.push(`\\end{${this.environmentName}}`),$i(E)}getCell(y,b){return this.array[y][b]}setCell(y,b,E){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.array[y][b]!==void 0);for(const ie of this.array[y][b])ie.parent=void 0,ie.parentBranch=void 0;let te=E;(E.length===0||E[0].type!=="first")&&(te=[new Fa({type:"first",mode:this.mode}),...E]),this.array[y][b]=te;for(const ie of te)ie.parent=this,ie.parentBranch=[y,b];this.isDirty=!0}addRowBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let E=0;E<this.colCount;E++)b.push(Su(this));this.array.splice(y,0,b);for(let E=y;E<this.rowCount;E++)for(let te=0;te<this.colCount;te++){const ie=this.array[E][te];if(ie)for(const le of ie)le.parentBranch=[E,te]}this.isDirty=!0}addRowAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let E=0;E<this.colCount;E++)b.push(Su(this));this.array.splice(y+1,0,b);for(let E=y+1;E<this.rowCount;E++)for(let te=0;te<this.colCount;te++){const ie=this.array[E][te];if(ie)for(const le of ie)le.parentBranch=[E,te]}this.isDirty=!0}removeRow(y){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.rowCount>y);const b=this.array.splice(y,1);for(const E of b)for(const te of E)if(te)for(const ie of te)ie.parent=void 0,ie.parentBranch=void 0;for(let E=y;E<this.rowCount;E++)for(let te=0;te<this.colCount;te++){const ie=this.array[E][te];if(ie)for(const le of ie)le.parentBranch=[E,te]}this.isDirty=!0}addColumnBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y,0,Su(this));for(let b=0;b<this.rowCount;b++)for(let E=y;E<this.colCount;E++){const te=this.array[b][E];if(te)for(const ie of te)ie.parentBranch=[b,E]}this.isDirty=!0}addColumnAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y+1,0,Su(this));for(let b=0;b<this.rowCount;b++)for(let E=y+1;E<this.colCount;E++){const te=this.array[b][E];if(te)for(const ie of te)ie.parentBranch=[b,E]}this.isDirty=!0}addColumn(){this.addColumnAfter(this.colCount-1)}removeColumn(y){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.colCount>y);for(const b of this.array){const E=b.splice(y,1);for(const te of E)if(te)for(const ie of te)ie.parent=void 0,ie.parentBranch=void 0}for(let b=0;b<this.rowCount;b++)for(let E=y;E<this.colCount;E++){const te=this.array[b][E];if(te)for(const ie of te)ie.parentBranch=[b,E]}this.isDirty=!0}get cells(){const y=[];for(const b of this.array)for(const E of b)E&&y.push(E.filter(te=>te.type!=="first"));return y}};function Su(a){const y=new Fa({type:"first",mode:a.mode});y.parent=a;const b=new Ol;return b.parent=a,[y,b]}function yu(a){const y=new ui(null,{classes:"arraycolsep"});return y.width=a,y}function Cu(a,y,b,E){if(!E)return null;const te=[];for(const ie of y){const le=Fa.createBox(a,E,{type:"ignore"});le&&(le.depth=ie.depth,le.height=ie.height,te.push({box:le,shift:ie.pos-b}))}return new as({individualShift:te}).wrap(a)}var Mu=class Fp extends Fa{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 Fp(y)}toJson(){return me(Se({},super.toJson()),{framecolor:this.framecolor,backgroundcolor:this.backgroundcolor,padding:this.padding,offset:this.offset,border:this.border})}render(y){var b,E,te,ie;const le=Fa.createBox(y,this.body,{type:"lift"});if(!le)return null;const Me=y.toEm((b=this.offset)!=null?b:{dimension:0});le.depth+=Me,le.setStyle("display","inline-block"),le.setStyle("position","relative"),le.setStyle("height",Math.floor(100*le.height+le.depth)/100,"em"),le.setStyle("vertical-align",-Math.floor(100*le.height)/100,"em");const Fe=new cl({parent:y},this.style),Ve=Fe.toEm((E=this.padding)!=null?E:{register:"fboxsep"}),lt=new ui(null,{classes:"ML__box"});lt.height=le.height+Ve,lt.depth=le.depth+Ve,lt.setStyle("box-sizing","border-box"),lt.setStyle("position","absolute"),lt.setStyle("top",-Ve+.3,"em"),lt.setStyle("left",0),lt.setStyle("height",lt.height+lt.depth,"em"),lt.setStyle("width","100%"),this.backgroundcolor&<.setStyle("background-color",(te=Fe.toColor(this.backgroundcolor))!=null?te:"transparent"),this.framecolor&<.setStyle("border",`${Fe.getRegisterAsEm("fboxrule",2)}em solid ${(ie=Fe.toColor(this.framecolor))!=null?ie:"black"}`),this.border&<.setStyle("border",this.border);const zt=new ui([lt,le],{type:"lift"});return zt.setStyle("display","inline-block"),zt.setStyle("position","relative"),zt.setStyle("line-height",0),zt.height=le.height+Ve+(Me>0?Me:0),zt.depth=le.depth+Ve+(Me<0?-Me:0),zt.setStyle("padding-left",Ve,"em"),zt.setStyle("padding-right",Ve,"em"),zt.setStyle("height",Math.floor(100*(le.height+le.depth+2*Ve+Math.abs(Me)))/100,"em"),zt.setStyle("margin-top",-Ve,"em"),zt.setStyle("top",Math.floor(100*(le.depth-le.height+2*Ve-Me))/100,"em"),zt.setStyle("vertical-align",Math.floor(100*(le.depth+2*Ve))/100,"em"),this.caret&&(zt.caret=this.caret),this.attachSupsub(y,{base:zt})}_serialize(y){return y.skipStyles?$i([this.bodyToLatex(y),this.supsubToLatex(y)]):super._serialize(y)}},nd=class Kp extends Fa{constructor(y,b){var E;super({type:"composition",mode:(E=b==null?void 0:b.mode)!=null?E:"math",value:y})}static fromJson(y){return new Kp(y.value,y)}toJson(){return super.toJson()}get computedStyle(){return{}}render(y){const b=new ui(this.value,{classes:"ML__composition",type:"composition"});return this.bind(y,b),this.caret&&(b.caret=this.caret),b}_serialize(y){return""}},oc=class zp extends Fa{constructor(y){super({type:"error",value:y,command:y,mode:"math"}),this.verbatimLatex=y}static fromJson(y){return new zp(y.command)}toJson(){return super.toJson()}render(y){const b=this.createBox(y,{classes:"ML__error"});return this.caret&&(b.caret=this.caret),b}},Zu=class Hp extends Fa{constructor(y,b,E){super({type:"group",mode:b,style:E}),this.body=y,this.boxType=y.length>1?"ord":"ignore",this.skipBoundary=!0,this.displayContainsHighlight=!1,y&&y.length===1&&y[0].command===","&&(this.captureSelection=!0)}static fromJson(y){return new Hp(y.body,y.mode,y.style)}render(y){const b=Fa.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=nn(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):`{${this.bodyToLatex(y)}}`}},Fs=class Zp extends Fa{constructor(y,b,E){super({type:"leftright",style:E.style,displayContainsHighlight:!0}),this.variant=y,this.body=b,this.leftDelim=E.leftDelim,this.rightDelim=E.rightDelim}static fromJson(y){var b;return new Zp((b=y.variant)!=null?b:"",y.body,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),y}_serialize(y){var b,E;const te=this.matchingRightDelim();return this.variant==="left...right"?$i(["\\left",(b=this.leftDelim)!=null?b:".",this.bodyToLatex(y),"\\right",te]):this.variant==="mleft...mright"?$i(["\\mleft",(E=this.leftDelim)!=null?E:".",this.bodyToLatex(y),"\\mright",te]):$i([!this.leftDelim||this.leftDelim==="."?"":this.leftDelim,this.bodyToLatex(y),te])}matchingRightDelim(){var y,b;if(this.rightDelim&&this.rightDelim!=="?")return this.rightDelim;const E=(y=this.leftDelim)!=null?y:".";return(b=ae[E])!=null?b:E}render(y){var b,E;const te=new cl({parent:y},this.style);console.assert(this.body!==void 0);const ie=new cl({parent:y,mathstyle:"textstyle"},this.style),le=(b=Fa.createBox(te,this.body,{type:"inner"}))!=null?b:new ui(null,{type:"inner"}),Me=le.height/ie.scalingFactor,Fe=le.depth/ie.scalingFactor,Ve=[];if(this.leftDelim&&Ve.push(this.bind(ie,Mo("open",this.leftDelim,Me,Fe,ie,{isSelected:this.isSelected,classes:"ML__open"+(this.containsCaret?" ML__contains-caret":""),mode:this.mode,style:this.style}))),le&&(Tu(le.children,this,te,Me,Fe),Ve.push(le)),this.rightDelim){let tr=this.containsCaret?" ML__contains-caret":"",pr=this.rightDelim;pr==="?"&&(te.smartFence?(pr=this.matchingRightDelim(),tr+=" ML__smart-fence__close"):pr="."),Ve.push(this.bind(ie,Mo("close",pr,Me,Fe,ie,{isSelected:this.isSelected,classes:tr+" ML__close",mode:this.mode,style:this.style})))}let lt=this.variant==="mleft...mright";const zt=this.leftSibling;zt&&(!lt&&zt.isFunction&&(lt=!0),!lt&&zt.type==="subsup"&&((E=zt.leftSibling)!=null&&E.isFunction)&&(lt=!0));const xn=new ui(Ve,{type:lt?"close":"inner",classes:"left-right"});return xn.setStyle("margin-top",`${-le.depth}em`),xn.setStyle("height",`${le.height+le.depth}em`),this.caret&&(xn.caret=this.caret),this.bind(te,xn.wrap(te))}};function Tu(a,y,b,E,te){if(a)for(let ie=0;ie<a.length;ie++){const le=a[ie];le.type==="middle"?(a[ie]=y.bind(b,Mo("inner",le.value,E,te,b,{isSelected:y.isSelected})),a[ie].caret=le.caret,a[ie].isSelected=le.isSelected,a[ie].cssId=le.cssId,a[ie].htmlData=le.htmlData,a[ie].htmlStyle=le.htmlStyle,a[ie].attributes=le.attributes,a[ie].cssProperties=le.cssProperties):le.children&&Tu(le.children,y,b,E,te)}}var zd=class Wp extends Fa{constructor(y,b){var E;super({type:"macro",command:y,style:b.style}),this.body=b.body,b.captureSelection===void 0?b.args?this.captureSelection=!1:this.captureSelection=!0:this.captureSelection=b.captureSelection,this.macroArgs=b.args,this.expand=(E=b.expand)!=null?E:!1}static fromJson(y){return new Wp(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=Fa.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},Lc=class _p extends Fa{constructor(){super({type:"macro-argument"})}static fromJson(y){return new _p}toJson(){return super.toJson()}_serialize(y){return""}render(y){return null}},zc=class Vp extends Fa{constructor(y,b,E=!1,te,ie){var le;super({type:"prompt",mode:(le=ie==null?void 0:ie.mode)!=null?le:"math",style:ie==null?void 0:ie.style,command:"\\placeholder"}),this.body=te,this.correctness=b,this.placeholderId=y,this.locked=E,this.captureSelection=this.locked}static fromJson(y){return new Vp(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 cl({parent:y}),E=b.getRegisterAsEm("fboxsep"),te=E,ie=E,le=Fa.createBox(y,this.body);if(!le)return null;le.height||(le.height=b.metrics.xHeight),le.setStyle("vertical-align",-le.height,"em"),this.correctness==="correct"?le.setStyle("color","var(--correct-color, var(--ML__correct-color))"):this.correctness==="incorrect"&&le.setStyle("color","var(--incorrect-color, var(--ML__incorrect-color))");const Me=new ui(le,{type:"ord"});Me.setStyle("display","inline-block"),Me.setStyle("height",le.height+le.depth,"em"),Me.setStyle("vertical-align",-ie,"em");let Fe="ML__prompt ";this.locked?Fe+=" ML__lockedPromptBox ":Fe+=" ML__editablePromptBox ",this.correctness==="correct"?Fe+=" ML__correctPromptBox ":this.correctness==="incorrect"&&(Fe+=" ML__incorrectPromptBox "),this.containsCaret&&(Fe+=" ML__focusedPromptBox ");const Ve=new ui(null,{classes:Fe,attributes:{part:"prompt"}});Ve.height=Me.height+ie,Ve.depth=Me.depth+ie,Ve.width=Me.width+2*te,Ve.setStyle("box-sizing","border-box"),Ve.setStyle("position","absolute"),Ve.setStyle("height",Me.height+Me.depth+2*ie,"em"),te===0&&Ve.setStyle("width","100%"),te!==0&&(Ve.setStyle("width",`calc(100% + ${2*te}em)`),Ve.setStyle("top",E,"em"),Ve.setStyle("left",-te,"em")),(!this.body||this.body.length===1)&&(Ve.width=3*te,Ve.setStyle("width",`calc(100% + ${3*te}em)`),Ve.setStyle("left",-1.5*te,"em"));let lt="";this.correctness==="incorrect"&&(lt+='<line x1="3%" y1="97%" x2="97%" y2="3%" stroke-width="0.5" stroke="var(--incorrect-color, var(--ML__incorrect-color))" stroke-linecap="round" />'),lt&&(Ve.svgOverlay=lt);const zt=new ui([Ve,Me],{classes:"ML__prompt-atom"});return zt.setStyle("position","relative"),zt.setStyle("display","inline-block"),zt.setStyle("line-height",0),zt.height=Me.height+ie+.2,zt.depth=Me.depth+ie,zt.left=te,zt.right=te,zt.setStyle("height",Me.height+ie,"em"),zt.setStyle("top",Me.depth-Me.height,"em"),zt.setStyle("vertical-align",Me.depth+ie,"em"),zt.setStyle("margin-left",.5,"em"),zt.setStyle("margin-right",.5,"em"),this.caret&&(zt.caret=this.caret),this.bind(b,this.attachSupsub(y,{base:zt}))}_serialize(y){var b;const E=(b=this.bodyToLatex(y))!=null?b:"";if(y.skipPlaceholders)return E;let te="\\placeholder";return this.placeholderId&&(te+=`[${this.placeholderId}]`),this.correctness==="correct"?te+="[correct]":this.correctness==="incorrect"&&(te+="[incorrect]"),this.locked&&(te+="[locked]"),ki(te,E)}},Sc=class jp extends Fa{constructor(y){super({type:"subsup",style:y==null?void 0:y.style}),this.subsupPlacement="auto"}static fromJson(y){const b=new jp(y);for(const E of iu)y[E]&&b.setChildren(y[E],E);return b}render(y){var b;const E=new cl({parent:y,isPhantom:!0}),te=this.leftSibling,ie=(b=te.render(E))!=null?b:new ui(null),le=new ui(null);return le.height=ie.height,le.depth=ie.depth,this.attachSupsub(y,{base:le,isCharacterBox:te.isCharacterBox(),type:"ignore"})}_serialize(y){return this.supsubToLatex(y)}};function Lu(a){return a?!/^(<$$>|<$>|<space>|<{>|<}>|#[0-9\?]|\\.+)$/.test(a):!1}var rd=class{constructor(a,y,b){this.errors=[],this.index=0,this.endCount=0;var E,te,ie,le;b!=null||(b={}),this.tokens=a,this.context=y instanceof cl&&!(b!=null&&b.parseMode)&&!b.mathstyle?y:new cl({from:y,mathstyle:b.mathstyle},b.style),this.args=(E=b.args)!=null?E:void 0,this.smartFence=this.context.smartFence,this.parsingContext={parent:void 0,mathlist:[],style:(te=b.style)!=null?te:{},parseMode:(ie=b.parseMode)!=null?ie:"math",mathstyle:(le=b.mathstyle)!=null?le:"displaystyle",tabular:!1}}beginContext(a){var y,b,E;const te=this.parsingContext,ie={parent:te,mathlist:[],style:Se({},te.style),parseMode:(y=a==null?void 0:a.mode)!=null?y:te.parseMode,mathstyle:(b=a==null?void 0:a.mathstyle)!=null?b:te.mathstyle,tabular:(E=a==null?void 0:a.tabular)!=null?E:!1};this.parsingContext=ie}endContext(){this.parsingContext=this.parsingContext.parent}onError(a){this.errors.push(Se({before:Co(this.tokens.slice(this.index,this.index+10)),after:Co(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 Se({},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 Sc({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=nn(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?Wu(y,{parseMode:this.parseMode,mathstyle:"textstyle"}):[new Ol({mode:this.parseMode,style:this.style})]}skipWhitespace(){for(;this.match("<space>"););}skipUntilToken(a){let y=this.tokens[this.index];for(;y&&y!==a;)y=this.tokens[++this.index];y===a&&this.index++}skipFiller(){for(;this.match("\\relax")||this.match("<space>"););}matchKeyword(a){const y=this.index;let b=this.end(),E="";for(;!b;){const ie=this.get();Lu(ie)?(E+=ie,b=this.end()||E.length>=a.length):b=!0}const te=a.toUpperCase()===E.toUpperCase();return te||(this.index=y),te}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(Lu(y))a+=y;else return a;this.next()}return a}scanBalancedString(){let a="",y=this.end(),b=1;for(;!y;){const E=this.get();E==="<space>"?a+=" ":E==="<{>"?(a+="{",b+=1):E==="<}>"?(b-=1,b>0?a+="}":this.index-=1):E==="<$>"?a+="$":E==="<$$>"?a+="$$":a+=E,y=b===0||this.end()}return a}scanLiteralGroup(){var a;if(!this.match("<{>"))return"";let y="",b=1;for(;b>0&&!this.end();){const E=this.get();E==="<}>"?(b-=1,b>0&&(y+="}")):E==="<{>"?(b+=1,y+="{"):(/\\[a-zA-Z]+$/.test(y)&&/^[a-zA-Z]/.test(E)&&(y+=" "),y+=(a={"<space>":" ","<$$>":"$$","<$>":"$"}[E])!=null?a:E)}return y}scanNumber(a=!0){var y,b;let E=!1,te=this.peek();for(;te==="<space>"||te==="+"||te==="-";)this.get(),te==="-"&&(E=!E),te=this.peek();a=!!a;let ie=10,le=/\d/;if(this.match("'"))ie=8,le=/[0-7]/,a=!0;else if(this.match('"'))ie=16,le=/[\dA-F]/,a=!0;else if(this.match("x"))ie=16,le=/[\dA-Fa-f]/,a=!0;else if(this.match("`"))return te=this.get(),te?te.length===2&&te.startsWith("\\")?{number:(E?-1:1)*((y=te.codePointAt(1))!=null?y:0),base:"alpha"}:{number:(E?-1:1)*((b=te.codePointAt(0))!=null?b:0),base:"alpha"}:null;let Me="";for(;this.hasPattern(le);)Me+=this.get();if(!a&&(this.match(".")||this.match(",")))for(Me+=".";this.hasPattern(le);)Me+=this.get();const Fe=a?Number.parseInt(Me,ie):Number.parseFloat(Me);return Number.isNaN(Fe)?null:{number:E?-Fe:Fe,base:ie===16?"hexadecimal":ie===8?"octal":"decimal"}}scanRegister(){var a;const y=this.index,b=this.scanNumber(!1);if(this.skipWhitespace(),this.match("\\relax"))return b;let E=!1;if(b===null)for(;;){const ie=this.peek();if(ie==="-")E=!E;else if(ie!=="+")break;this.next(),this.skipWhitespace()}if(this.match("\\global")){this.skipWhitespace();const ie=this.get();return ie.startsWith("\\")?b?{register:ie,global:!0,factor:(E?-1:1)*b.number}:E?{register:ie,global:!0,factor:-1}:{register:ie,global:!0}:(this.index=y,null)}let te=this.get();return te!=null&&te.startsWith("\\")?(te=te.substring(1),this.context.registers[te]?!E||b!==null?{register:te,factor:(E?-1:1)*((a=b==null?void 0:b.number)!=null?a:1)}:{register:te}:(this.index=y,null)):(this.index=y,null)}scanValue(){const a=this.scanRegister();if(a)return a;const y=this.index,b=this.scanGlueOrDimen();if(b&&("unit"in b||"glue"in b&&"unit"in b.glue))return b;this.index=y;const E=this.scanNumber();if(E)return E;if(this.end()||!Lu(this.peek()))return null;const te=this.scanString();return te.length>0?{string:te}: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=pn(a);if(!y)return this.onError({code:"unknown-environment",arg:a}),null;const b=[];if(y.params)for(const Me of y.params)if(Me.isOptional)b.push(this.scanOptionalArgument(Me.type));else{const Fe=this.scanArgument(Me.type);Fe||this.onError({code:"missing-argument",arg:a}),b.push(Fe)}this.beginContext({tabular:y.tabular});const E=[],te=[];let ie=[],le=!1;do if(this.end()&&(this.onError({code:"unbalanced-environment",arg:a}),le=!0),!le&&this.match("\\end")&&(this.scanArgument("string")!==a&&this.onError({code:"unbalanced-environment",arg:a}),le=!0),!le)if(this.matchColumnSeparator())ie.push(this.mathlist),this.mathlist=[];else if(this.matchRowSeparator()){ie.push(this.mathlist),this.mathlist=[];let Me=null;this.skipWhitespace(),this.match("[")&&(Me=this.scanDimen(),this.skipWhitespace(),this.match("]")),te.push(Me!=null?Me:{dimension:0}),E.push(ie),ie=[]}else this.mathlist.push(...this.scan(Me=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline"].includes(Me)));while(!le);return ie.push(this.mathlist),ie.length>0&&E.push(ie),this.endContext(),y.createAtom(a,E,te,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=le=>le==="<}>");let y="",b=null,E=[],te=null;for(;!this.end()&&!a(this.peek());)this.hasInfixCommand()&&!y?(y=this.get(),b=nn(y,"math"),b&&(E=this.scanArguments(b)[1]),te=this.mathlist,this.mathlist=[]):this.parseExpression();let ie;return y?(console.assert(!!b),E.unshift(this.mathlist),te&&E.unshift(te),ie=[b.createAtom({command:y,args:E,style:this.style,mode:this.parseMode})]):ie=this.mathlist,this.endContext(),ie}scanGroup(){const a=this.index;if(!this.match("<{>"))return null;const y=this.scan(E=>E==="<}>");this.match("<}>")||this.onError({code:"unbalanced-braces"});const b=new Zu(y,this.parseMode,this.style);return b.verbatimLatex=Co(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 Fs("",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(!Lu(a)&&!a.startsWith("\\"))return null;this.next();const y=nn(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 oc("\\right");if(this.match("\\mright"))return this.onError({code:"unbalanced-braces"}),new oc("\\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 oc(y==="\\right"?"\\left":"\\mleft");for(this.beginContext();!this.end()&&!this.match(y);)this.parseExpression();const E=this.mathlist;this.endContext();const te=(a=this.scanDelim())!=null?a:".";return new Fs(y==="\\right"?"left...right":"mleft...mright",E,{leftDelim:b,rightDelim:te,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 Fa({type:"mord",command:"\\doubleprime",mode:"math",value:"\u2032\u2032"}),"superscript"):y.addChild(new Fa({type:"mord",command:"\\prime",mode:"math",value:"\u2032"}),"superscript"):(this.match("^")||this.match("_"))&&y.addChildren(Kt(this.scanArgument("expression")),a==="_"?"subscript":"superscript"),a=this.peek();return!0}parseLimits(){if(this.parseMode!=="math")return!1;const a=this.match("\\limits"),y=!a&&this.match("\\nolimits"),b=!y&&!a&&this.match("\\displaylimits");if(!a&&!y&&!b)return!1;const E=this.mathlist.length>0?this.mathlist[this.mathlist.length-1]:null;return E===null?!1:(E.explicitSubsupPlacement=!0,a&&(E.subsupPlacement="over-under"),y&&(E.subsupPlacement="adjacent"),b&&(E.subsupPlacement="auto"),!0)}scanArguments(a){if(!(a!=null&&a.params))return[void 0,[]];let y;const b=[];let E=a.infix?2:0;for(;E<a.params.length;){const te=a.params[E];te.type==="rest"?b.push(this.scan(ie=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline","\\right"].includes(ie))):te.isOptional?b.push(this.scanOptionalArgument(te.type)):te.type.endsWith("*")?y=te.type.slice(0,-1):b.push(this.scanArgument(te.type)),E+=1}return[y,b]}scanSymbolOrLiteral(){const a=this.peek();if(!a)return null;this.next();let y;if(Lu(a)){const b=eo.createAtom(this.parseMode,a,Se({},this.style));return b?[b]:null}if(y=this.scanMacro(a),y)return[y];if(a.startsWith("\\")){const b=nn(a,this.parseMode);if(!b)return this.onError({code:"unknown-command",arg:a}),[new oc(a)];if(b.definitionType==="symbol"){const E=Se({},this.style);b.variant&&(E.variant=b.variant),y=new Fa({type:b.type,command:a,style:E,value:String.fromCodePoint(b.codepoint),mode:this.parseMode,verbatimLatex:a})}else{if(b.applyMode||b.applyStyle||b.infix)return this.onError({code:"invalid-command",arg:a}),[new oc(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 te=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),te}if(a==="text"){a!==b&&this.beginContext({mode:"text"});const te=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),te}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 te=this.mathlist;return this.endContext(),{group:te}}if(a==="math"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const te=this.mathlist;return this.endContext(),{group:te}}let E=null;if(a==="expression"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const te=this.mathlist;return this.endContext(),{group:te}}return a==="string"?E=this.scanString():a==="balanced-string"?E=this.scanBalancedString():a==="colspec"?E=this.scanColspec():a==="value"&&(E=this.scanValue()),this.skipUntilToken("<}>"),E}scanOptionalArgument(a){if(a=a==="auto"?this.parseMode:a,this.skipFiller(),!this.match("["))return null;let y=null;for(;!this.end()&&!this.match("]");)if(a==="string")y=this.scanString();else if(a==="value")y=this.scanValue();else if(a==="colspec")y=this.scanColspec();else if(a==="bbox"){const b={},E=this.scanString().toLowerCase().trim().split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const te of E){const ie=te.match(/^\s*([\d.]+)\s*([a-z]{2})/);if(ie)b.padding={dimension:parseInt(ie[1]),unit:ie[2]};else{const le=te.match(/^\s*border\s*:\s*(.*)/);le?b.border=le[1]:b.backgroundcolor={string:te}}}y=b}else a==="math"&&(this.beginContext({mode:"math"}),y=this.mathlist.concat(this.scan(b=>b==="]")),this.endContext());return y}scanSymbolOrCommand(a){var y,b,E;if(a==="\\placeholder"){const Me=this.scanOptionalArgument("string"),Fe=this.scanOptionalArgument("math"),Ve=Fa.serialize(Fe,{defaultMode:"math"});let lt=[],zt;!zt&&Ve==="correct"?zt="correct":!zt&&Ve==="incorrect"?zt="incorrect":Ve!==""&&(lt=Fe);const xn=this.scanOptionalArgument("string")==="locked",tr=this.scanArgument("auto");let pr;return tr&&Array.isArray(tr)&&tr.length>0?pr=tr:tr&&typeof tr=="object"&&"group"in tr?pr=tr.group:pr=lt,Me?[new zc(Me,zt,xn,pr!=null?pr:lt,{mode:this.parseMode,style:this.style})]:[new Ol({mode:this.parseMode,style:this.style})]}if(a==="\\renewcommand"||a==="\\newcommand"||a==="\\providecommand"||a==="\\def"){const Me=this.index,Fe=this.scanLiteralGroup()||this.next();if(!Fe)return null;if(this.context.registers[Fe.substring(1)]){const Ve=this.scanArgument("string");Ve!==null&&(this.context.registers[Fe.substring(1)]=Ve);const lt=$i([a,Co(this.tokens.slice(Me,this.index))]);return[new Fa({type:"text",value:"",verbatimLatex:lt})]}}let te=this.scanMacro(a);if(te)return[te];const ie=nn(a,this.parseMode);if(!ie)return this.parseMode==="text"?(/[a-zA-Z]/.test((y=this.peek())!=null?y:"")&&(a+=" "),[...a].map(Me=>new Fa({type:"text",value:Me,mode:"text",style:this.style}))):(this.onError({code:"unknown-command",arg:a}),[new oc(a)]);const le=this.index;if(ie.definitionType==="symbol"){const Me=Se({},this.style);ie.variant&&(Me.variant=ie.variant),te=new Fa({type:ie.type,command:a,style:Me,value:String.fromCodePoint(ie.codepoint),mode:this.parseMode})}else{if(ie.ifMode&&!ie.ifMode.includes(this.parseMode))return[];const Me=this.parseMode;ie.applyMode&&(this.parseMode=ie.applyMode);let Fe,Ve=[];if(ie.parse?Ve=ie.parse(this):[Fe,Ve]=this.scanArguments(ie),this.parseMode=Me,ie.applyMode&&!ie.applyStyle&&!ie.createAtom)return Kt(Ve[0]);if(ie.infix)return this.onError({code:"too-many-infix-commands",arg:a}),null;if(typeof ie.createAtom=="function")te=ie.createAtom({command:a,args:Ve,style:this.style,mode:this.parseMode}),Fe&&(te.body=Kt(this.scanArgument(Fe)));else if(typeof ie.applyStyle=="function"){const lt=Se(Se({},this.style),ie.applyStyle(a,Ve,this.context)),zt=this.parseMode;if(ie.applyMode&&(this.parseMode=ie.applyMode),Fe){const xn=this.style;this.style=lt;const tr=this.scanArgument(Fe);return this.style=xn,this.parseMode=zt,Kt(tr)}this.style=lt}else te=new Fa({type:"mord",command:(b=ie.command)!=null?b:a,style:Se({},this.style),value:a,mode:(E=ie.applyMode)!=null?E:this.parseMode})}if(!te)return null;if(te instanceof Fa&&te.verbatimLatex===void 0&&!/^\\(llap|rlap|class|cssId|htmlData)$/.test(a)){const Me=$i([a,Co(this.tokens.slice(le,this.index))]);Me&&(te.verbatimLatex=Me)}if(te.verbatimLatex===null&&(te.verbatimLatex=void 0),te.isFunction&&this.smartFence){const Me=this.scanSmartFence();if(Me)return[te,Me]}return[te]}scanSymbolCommandOrLiteral(){const a=this.get();if(!a)return null;if(Lu(a)){const y=eo.createAtom(this.parseMode,a,Se({},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 nc(" "," ",this.style)]:null:(a==="<}>"?this.onError({latex:"",code:"unbalanced-braces"}):this.onError({latex:"",code:"unexpected-token",arg:a}),null)}scanMacro(a){var y;const b=this.context.getMacro(a);if(!b)return null;const E=this.index,te=b.args,ie={"?":(y=this.args)==null?void 0:y.call(this,"?")};for(let le=1;le<=te;le++){let Me=this.scanLiteralGroup();if(!Me){const Fe=this.index;this.scanExpression(),Me=Co(this.tokens.slice(Fe,this.index))}ie[le]=Me}return new zd(a,{expand:b.expand,captureSelection:b.captureSelection,args:E===this.index?null:Co(this.tokens.slice(E,this.index)),style:this.parsingContext.style,body:Wu(b.def,{context:this.context,parseMode:this.parseMode,args:le=>ie[le],mathstyle:this.parsingContext.mathstyle,style:this.parsingContext.style})})}parseExpression(){var a,y,b,E;let te=(E=(b=(y=(a=this.scanEnvironment())!=null?a:this.scanModeShift())!=null?y:this.scanModeSet())!=null?b:this.scanGroup())!=null?E:this.scanLeftRight();if(te===null){if(this.parseSupSub()||this.parseLimits())return!0;te=this.scanSymbolCommandOrLiteral()}return te?(Array.isArray(te)?this.mathlist.push(...te):this.mathlist.push(te),!0):!1}};function Wu(a,y){var b,E,te,ie;const le=(b=y==null?void 0:y.args)!=null?b:void 0,Me=new rd(Jo(a,le),y==null?void 0:y.context,{args:le,mathstyle:(E=y==null?void 0:y.mathstyle)!=null?E:"displaystyle",parseMode:(te=y==null?void 0:y.parseMode)!=null?te:"math",style:(ie=y==null?void 0:y.style)!=null?ie:{}}),Fe=[];for(;!Me.end();)Fe.push(...Me.scan(()=>!1));return Fe}function i0(a,y){var b;const E=new rd(Jo(a,null),y==null?void 0:y.context,{mathstyle:"displaystyle",parseMode:(b=y==null?void 0:y.parseMode)!=null?b:"math"});for(;!E.end();)E.scan();return E.errors}var o0=class Up extends Fa{constructor(y,b){super({type:"chem"},{command:y,mode:"math"});const E=vu.go(Hi.go(b,y==="\\pu"?"pu":"ce"),!1);this.body=Wu(E),this._verbatimLatex=y+"{"+b+"}",this.arg=b,this.captureSelection=!0}static fromJson(y){return new Up(y.command,y.arg)}set verbatimLatex(y){}get verbatimLatex(){return this._verbatimLatex}toJson(){return me(Se({},super.toJson()),{arg:this.arg})}render(y){const b=Fa.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}};Fn(["ce","pu"],"{chemformula:balanced-string}",{createAtom:a=>{var y;return new o0(a.command,(y=a.args[0])!=null?y:"")}});var Hi={go:function(a,y){if(!a)return[];y===void 0&&(y="ce");var b="0",E={};E.parenthesisLevel=0,a=a.replace(/\n/g," "),a=a.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),a=a.replace(/[\u2026]/g,"...");for(var te,ie=10,le=[];;){te!==a?(ie=10,te=a):ie--;var Me=Hi.stateMachines[y],Fe=Me.transitions[b]||Me.transitions["*"];e:for(var Ve=0;Ve<Fe.length;Ve++){var lt=Hi.patterns.match_(Fe[Ve].pattern,a);if(lt){for(var zt=Fe[Ve].task,xn=0;xn<zt.action_.length;xn++){var tr;if(Me.actions[zt.action_[xn].type_])tr=Me.actions[zt.action_[xn].type_](E,lt.match_,zt.action_[xn].option);else if(Hi.actions[zt.action_[xn].type_])tr=Hi.actions[zt.action_[xn].type_](E,lt.match_,zt.action_[xn].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+zt.action_[xn].type_+")"];Hi.concatArray(le,tr)}if(b=zt.nextState||b,a.length>0){if(zt.revisit||(a=lt.remainder),!zt.toContinue)break e}else return le}}if(ie<=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=Hi.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 Hi.patterns.findObserveGroups(a,"^{","","","}")},"^($...$)":function(a){return Hi.patterns.findObserveGroups(a,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(a){return Hi.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(a){return Hi.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(a){return Hi.patterns.findObserveGroups(a,"_{","","","}")},"_($...$)":function(a){return Hi.patterns.findObserveGroups(a,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(a){return Hi.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(a){return Hi.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(a){return Hi.patterns.findObserveGroups(a,"","{","}","")},"{(...)}":function(a){return Hi.patterns.findObserveGroups(a,"{","","","}")},"$...$":function(a){return Hi.patterns.findObserveGroups(a,"","$","$","")},"${(...)}$":function(a){return Hi.patterns.findObserveGroups(a,"${","","","}$")},"$(...)$":function(a){return Hi.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 Hi.patterns.findObserveGroups(a,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(a){return Hi.patterns.findObserveGroups(a,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(a){return Hi.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(a){return Hi.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 Hi.patterns.findObserveGroups(a,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(a){return Hi.patterns.findObserveGroups(a,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(a){return Hi.patterns.findObserveGroups(a,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(a){return Hi.patterns.findObserveGroups(a,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(a){return Hi.patterns.findObserveGroups(a,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(a){return Hi.patterns.findObserveGroups(a,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(a){return Hi.patterns.findObserveGroups(a,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(a){return Hi.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=Hi.patterns.findObserveGroups(a,"","$","$","");return b&&(y=b.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/),y)?{match_:y[0],remainder:a.substr(y[0].length)}:null},amount2:function(a){return this.amount(a)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(a){if(a.match(/^\([a-z]+\)$/))return null;var y=a.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return y?{match_:y[0],remainder:a.substr(y[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(a,y,b,E,te,ie,le,Me,Fe,Ve){var lt=function(Ca,ci){if(typeof ci=="string")return Ca.indexOf(ci)!==0?null:ci;var ao=Ca.match(ci);return ao?ao[0]:null},zt=function(Ca,ci,ao){for(var bi=0;ci<Ca.length;){var al=Ca.charAt(ci),Ll=lt(Ca.substr(ci),ao);if(Ll!==null&&bi===0)return{endMatchBegin:ci,endMatchEnd:ci+Ll.length};if(al==="{")bi++;else if(al==="}"){if(bi===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];bi--}ci++}return bi>0,null},xn=lt(a,y);if(xn===null||(a=a.substr(xn.length),xn=lt(a,b),xn===null))return null;var tr=zt(a,xn.length,E||te);if(tr===null)return null;var pr=a.substring(0,E?tr.endMatchEnd:tr.endMatchBegin);if(ie||le){var Na=this.findObserveGroups(a.substr(tr.endMatchEnd),ie,le,Me,Fe);if(Na===null)return null;var qi=[pr,Na.match_];return{match_:Ve?qi.join(""):qi,remainder:Na.remainder}}else return{match_:pr,remainder:a.substr(tr.endMatchEnd)}},match_:function(a,y){var b=Hi.patterns.patterns[a];if(b===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+a+")"];if(typeof b=="function")return Hi.patterns.patterns[a](y);var E=y.match(b);if(E){var te;return E[2]?te=[E[1],E[2]]:E[1]?te=E[1]:te=E[0],{match_:te,remainder:y.substr(E[0].length)}}return null}},actions:{"a=":function(a,y){a.a=(a.a||"")+y},"b=":function(a,y){a.b=(a.b||"")+y},"p=":function(a,y){a.p=(a.p||"")+y},"o=":function(a,y){a.o=(a.o||"")+y},"q=":function(a,y){a.q=(a.q||"")+y},"d=":function(a,y){a.d=(a.d||"")+y},"rm=":function(a,y){a.rm=(a.rm||"")+y},"text=":function(a,y){a.text_=(a.text_||"")+y},insert:function(a,y,b){return{type_:b}},"insert+p1":function(a,y,b){return{type_:b,p1:y}},"insert+p1+p2":function(a,y,b){return{type_:b,p1:y[0],p2:y[1]}},copy:function(a,y){return y},rm:function(a,y){return{type_:"rm",p1:y||""}},text:function(a,y){return Hi.go(y,"text")},"{text}":function(a,y){var b=["{"];return Hi.concatArray(b,Hi.go(y,"text")),b.push("}"),b},"tex-math":function(a,y){return Hi.go(y,"tex-math")},"tex-math tight":function(a,y){return Hi.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 Hi.go(y)},"1/2":function(a,y){var b=[];y.match(/^[+\-]/)&&(b.push(y.substr(0,1)),y=y.substr(1));var E=y.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return E[1]=E[1].replace(/\$/g,""),b.push({type_:"frac",p1:E[1],p2:E[2]}),E[3]&&(E[3]=E[3].replace(/\$/g,""),b.push({type_:"tex-math",p1:E[3]})),b},"9,9":function(a,y){return Hi.go(y,"9,9")}},createTransitions:function(a){var y,b,E,te,ie={};for(y in a)for(b in a[y])for(E=b.split("|"),a[y][b].stateArray=E,te=0;te<E.length;te++)ie[E[te]]=[];for(y in a)for(b in a[y])for(E=a[y][b].stateArray||[],te=0;te<E.length;te++){var le=a[y][b];if(le.action_){le.action_=[].concat(le.action_);for(var Me=0;Me<le.action_.length;Me++)typeof le.action_[Me]=="string"&&(le.action_[Me]={type_:le.action_[Me]})}else le.action_=[];for(var Fe=y.split("|"),Ve=0;Ve<Fe.length;Ve++)if(E[te]==="*")for(var lt in ie)ie[lt].push({pattern:Fe[Ve],task:le});else ie[E[te]].push({pattern:Fe[Ve],task:le})}return ie},stateMachines:{}};Hi.stateMachines={ce:{transitions:Hi.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(a,y){var b;if((a.d||"").match(/^[0-9]+$/)){var E=a.d;a.d=void 0,b=this.output(a),a.b=E}else b=this.output(a);return Hi.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 Hi.concatArray(b,this.output(a)),Hi.concatArray(b,Hi.actions.bond(a,y,"-")),b}else a.d=y},"- after o/d":function(a,y,b){var E=Hi.patterns.match_("orbital",a.o||""),te=Hi.patterns.match_("one lowercase greek letter $",a.o||""),ie=Hi.patterns.match_("one lowercase latin letter $",a.o||""),le=Hi.patterns.match_("$one lowercase latin letter$ $",a.o||""),Me=y==="-"&&(E&&E.remainder===""||te||ie||le);Me&&!a.a&&!a.b&&!a.p&&!a.d&&!a.q&&!E&&ie&&(a.o="$"+a.o+"$");var Fe=[];return Me?(Hi.concatArray(Fe,this.output(a)),Fe.push({type_:"hyphen"})):(E=Hi.patterns.match_("digits",a.d||""),b&&E&&E.remainder===""?(Hi.concatArray(Fe,Hi.actions["d="](a,y)),Hi.concatArray(Fe,this.output(a))):(Hi.concatArray(Fe,this.output(a)),Hi.concatArray(Fe,Hi.actions.bond(a,y,"-")))),Fe},"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:Hi.go(y,"o")}},comma:function(a,y){var b=y.replace(/\s*$/,""),E=b!==y;return E&&a.parenthesisLevel===0?{type_:"comma enumeration L",p1:b}:{type_:"comma enumeration M",p1:b}},output:function(a,y,b){var E;if(!a.r)E=[],!a.a&&!a.b&&!a.p&&!a.o&&!a.q&&!a.d&&!b||(a.sb&&E.push({type_:"entitySkip"}),!a.o&&!a.q&&!a.d&&!a.b&&!a.p&&b!==2?(a.o=a.a,a.a=void 0):!a.o&&!a.q&&!a.d&&(a.b||a.p)?(a.o=a.a,a.d=a.b,a.q=a.p,a.a=a.b=a.p=void 0):a.o&&a.dType==="kv"&&Hi.patterns.match_("d-oxidation$",a.d||"")?a.dType="oxidation":a.o&&a.dType==="kv"&&!a.q&&(a.dType=void 0),E.push({type_:"chemfive",a:Hi.go(a.a,"a"),b:Hi.go(a.b,"bd"),p:Hi.go(a.p,"pq"),o:Hi.go(a.o,"o"),q:Hi.go(a.q,"pq"),d:Hi.go(a.d,a.dType==="oxidation"?"oxidation":"bd"),dType:a.dType}));else{var te;a.rdt==="M"?te=Hi.go(a.rd,"tex-math"):a.rdt==="T"?te=[{type_:"text",p1:a.rd||""}]:te=Hi.go(a.rd);var ie;a.rqt==="M"?ie=Hi.go(a.rq,"tex-math"):a.rqt==="T"?ie=[{type_:"text",p1:a.rq||""}]:ie=Hi.go(a.rq),E={type_:"arrow",r:a.r,rd:te,rq:ie}}for(var le in a)le!=="parenthesisLevel"&&le!=="beginsWithBond"&&delete a[le];return E},"oxidation-output":function(a,y){var b=["{"];return Hi.concatArray(b,Hi.go(y,"oxidation")),b.push("}"),b},"frac-output":function(a,y){return{type_:"frac-ce",p1:Hi.go(y[0]),p2:Hi.go(y[1])}},"overset-output":function(a,y){return{type_:"overset",p1:Hi.go(y[0]),p2:Hi.go(y[1])}},"underset-output":function(a,y){return{type_:"underset",p1:Hi.go(y[0]),p2:Hi.go(y[1])}},"underbrace-output":function(a,y){return{type_:"underbrace",p1:Hi.go(y[0]),p2:Hi.go(y[1])}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Hi.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:Hi.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:Hi.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:Hi.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:Hi.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:Hi.go(y,"o")}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Hi.go(y[1],"pq")}}}},bd:{transitions:Hi.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:Hi.go(y[1],"bd")}}}},oxidation:{transitions:Hi.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:Hi.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:Hi.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:Hi.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:Hi.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]&&(Hi.concatArray(b,Hi.go(y[1],"pu-9,9")),y[2]&&(y[2].match(/[,.]/)?Hi.concatArray(b,Hi.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]),Hi.concatArray(b,Hi.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=Hi.patterns.match_("{(...)}",a.d||"");b&&b.remainder===""&&(a.d=b.match_);var E=Hi.patterns.match_("{(...)}",a.q||"");if(E&&E.remainder===""&&(a.q=E.match_),a.d&&(a.d=a.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.d=a.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),a.q){a.q=a.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.q=a.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var te={d:Hi.go(a.d,"pu"),q:Hi.go(a.q,"pu")};a.o==="//"?y={type_:"pu-frac",p1:te.d,p2:te.q}:(y=te.d,te.d.length>1||te.q.length>1?y.push({type_:" / "}):y.push({type_:"/"}),Hi.concatArray(y,te.q))}else y=Hi.go(a.d,"pu-2");for(var ie in a)delete a[ie];return y}}},"pu-2":{transitions:Hi.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=Hi.patterns.match_("{(...)}",a.rm||"");b&&b.remainder===""?y=Hi.go(b.match_,"pu"):y={type_:"rm",p1:a.rm}}for(var E in a)delete a[E];return y}}},"pu-9,9":{transitions:Hi.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){var b=a.text_.length%3;b===0&&(b=3);for(var E=a.text_.length-3;E>0;E-=3)y.push(a.text_.substr(E,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(0,b)),y.reverse()}else y.push(a.text_);for(var te in a)delete a[te];return y},"output-o":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){for(var b=a.text_.length-3,E=0;E<b;E+=3)y.push(a.text_.substr(E,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(E))}else y.push(a.text_);for(var te in a)delete a[te];return y}}}};var vu={go:function(a,y){if(!a)return"";for(var b="",E=!1,te=0;te<a.length;te++){var ie=a[te];typeof ie=="string"?b+=ie:(b+=vu._go2(ie),ie.type_==="1st-level escape"&&(E=!0))}return!y&&!E&&b&&(b="{"+b+"}"),b},_goInner:function(a){return a&&vu.go(a,!0)},_go2:function(a){var y;switch(a.type_){case"chemfive":y="";var b={a:vu._goInner(a.a),b:vu._goInner(a.b),p:vu._goInner(a.p),o:vu._goInner(a.o),q:vu._goInner(a.q),d:vu._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 "+vu._goInner(a.p1);break;case"state of aggregation subscript":y="\\mskip1mu "+vu._goInner(a.p1);break;case"bond":if(y=vu._getBond(a.kind_),!y)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+a.kind_+")"];break;case"frac":var E="\\frac{"+a.p1+"}{"+a.p2+"}";y="\\mathchoice{\\textstyle"+E+"}{"+E+"}{"+E+"}{"+E+"}";break;case"pu-frac":var te="\\frac{"+vu._goInner(a.p1)+"}{"+vu._goInner(a.p2)+"}";y="\\mathchoice{\\textstyle"+te+"}{"+te+"}{"+te+"}{"+te+"}";break;case"tex-math":y=a.p1+" ";break;case"frac-ce":y="\\frac{"+vu._goInner(a.p1)+"}{"+vu._goInner(a.p2)+"}";break;case"overset":y="\\overset{"+vu._goInner(a.p1)+"}{"+vu._goInner(a.p2)+"}";break;case"underset":y="\\underset{"+vu._goInner(a.p1)+"}{"+vu._goInner(a.p2)+"}";break;case"underbrace":y="\\underbrace{"+vu._goInner(a.p1)+"}_{"+vu._goInner(a.p2)+"}";break;case"color":y="{\\color{"+a.color1+"}{"+vu._goInner(a.color2)+"}}";break;case"color0":y="\\color{"+a.color+"}";break;case"arrow":var ie={rd:vu._goInner(a.rd),rq:vu._goInner(a.rq)},le=vu._getArrow(a.r);ie.rd||ie.rq?a.r==="<=>"||a.r==="<=>>"||a.r==="<<=>"||a.r==="<-->"?(le="\\long"+le,ie.rd&&(le="\\overset{"+ie.rd+"}{"+le+"}"),ie.rq&&(a.r==="<-->"?le="\\underset{\\lower2mu{"+ie.rq+"}}{"+le+"}":le="\\underset{\\lower6mu{"+ie.rq+"}}{"+le+"}"),le=" {}\\mathrel{"+le+"}{} "):(ie.rq&&(le+="[{"+ie.rq+"}]"),le+="{"+ie.rd+"}",le=" {}\\mathrel{\\x"+le+"}{} "):le=" {}\\mathrel{\\long"+le+"}{} ",y=le;break;case"operator":y=vu._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 Ty(a){}function Ry(a){}var l0=class Gp extends Fa{constructor(y){super(me(Se({},y),{type:"delim"})),this.value=y.delim,this.size=y.size}static fromJson(y){return new Gp(y)}toJson(){return me(Se({},super.toJson()),{delim:this.value,size:this.size})}render(y){return new ui(this.value,{type:"middle"})}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=nn(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):ki(this.command,this.value)}},s0=class Yp extends Fa{constructor(y){super(me(Se({},y),{type:"sizeddelim",value:y.delim})),this.delimType=y.delimType,this.size=y.size}static fromJson(y){return new Yp(y)}toJson(){return me(Se({},super.toJson()),{delim:this.value,size:this.size,delimType:this.delimType})}render(y){let b=oa(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=nn(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):ki(this.command,this.value)}},of=class Qp extends Fa{constructor(y,b,E,te){var ie,le;super({type:"enclose",command:y,style:te.style}),this.body=b,this.backgroundcolor=te.backgroundcolor,E.updiagonalarrow&&(E.updiagonalstrike=!1),E.box&&(E.left=!1,E.right=!1,E.bottom=!1,E.top=!1),this.notation=E,this.shadow=(ie=te.shadow)!=null?ie:"none",this.strokeWidth=(le=te.strokeWidth)!=null?le:"0.06em",this.strokeWidth||(this.strokeWidth="0.06em"),this.strokeStyle=te.strokeStyle,this.svgStrokeStyle=te.svgStrokeStyle,this.strokeColor=te.strokeColor,this.borderStyle=te.borderStyle,this.padding=te.padding,this.captureSelection=!1}static fromJson(y){return new Qp(y.command,y.body,y.notation,y)}toJson(){return me(Se({},super.toJson()),{notation:this.notation,shadow:this.shadow,strokeWidth:this.strokeWidth,strokeStyle:this.strokeStyle,svgStrokeStyle:this.svgStrokeStyle,strokeColor:this.strokeColor,borderStyle:this.borderStyle,padding:this.padding})}_serialize(y){var b;if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const E=nn(this.command,this.mode);if(E!=null&&E.serialize)return E.serialize(this,y);let te=(b=this.command)!=null?b:"";if(this.command==="\\enclose"){te+="{"+Object.keys(this.notation).join(" ")+"}";let ie="",le="";this.backgroundcolor&&this.backgroundcolor!=="transparent"&&(ie+=le+'mathbackground="'+this.backgroundcolor+'"',le=","),this.shadow&&this.shadow!=="auto"&&(ie+=le+'shadow="'+this.shadow+'"',le=","),this.strokeWidth||this.strokeStyle!=="solid"?(ie+=le+this.borderStyle,le=","):this.strokeColor&&this.strokeColor!=="currentColor"&&(ie+=le+'mathcolor="'+this.strokeColor+'"',le=","),ie&&(te+=`[${ie}]`)}return ki(te,this.bodyToLatex(y))}render(y){const b=new cl({parent:y},this.style),E=Fa.createBox(b,this.body);if(!E)return null;const te=dm(this.borderStyle),ie=b.toEm(!this.padding||this.padding==="auto"?{register:"fboxsep"}:{string:this.padding});E.setStyle("position","relative"),E.setStyle("display","inline-block"),E.setStyle("top",ie,"em"),E.setStyle("height",E.height+E.depth,"em"),E.setStyle("width",E.width,"em");const le=new ui(null,{classes:"ML__notation"});let Me=E.height+E.depth+2*ie;const Fe=E.width+2*ie;let Ve="";if(this.notation.horizontalstrike&&(Ve+=this.line(3,50,97,50)),this.notation.verticalstrike&&(Ve+=this.line(50,3,50,97)),this.notation.updiagonalstrike&&(Ve+=this.line(3,97,97,3)),this.notation.downdiagonalstrike&&(Ve+=this.line(3,3,97,97)),this.notation.updiagonalarrow){Ve+=this.line(ie.toString(),(ie+E.depth+E.height).toString(),(ie+E.width).toString(),ie.toString());const pr=.03*Math.sqrt(Fe*Fe+Me*Me)*1,Na=E.width*pr,qi=(E.depth+E.height)*pr,Ca=ie+E.width;let ci=ie;ci+qi-.4*Na<0&&(ci=.4*Na-qi),Ve+='<polygon points="',Ve+=`${Ca},${ci} ${Ca-Na-.4*qi},${ci+qi-.4*Na} `,Ve+=`${Ca-.7*Na},${ci+.7*qi} ${Ca-Na+.4*qi},${ci+qi+.4*Na} `,Ve+=`${Ca},${ci}`,Ve+=`" stroke='none' fill="${this.strokeColor}"`,Ve+="/>"}let lt=0;if(this.notation.phasorangle){const xn=u0(b),tr=(E.height+E.depth+2*xn+ie).toString(),pr=(E.height+E.depth)/2;Ve+=this.line(ie.toString(),tr,(ie+pr+E.width).toString(),tr),Ve+=this.line(ie.toString(),tr,(ie+pr).toString(),(ie-xn).toString()),Me+=xn,lt=pr,E.left+=Me/2-ie}if(this.notation.longdiv){const xn=u0(b);Me+=xn,Ve+=this.line(ie.toString(),ie.toString(),(ie+E.width).toString(),ie.toString());const tr=.3;lt=tr+xn,E.left+=tr+xn,E.setTop(ie+xn),Ve+='<path d="',Ve+=`M ${ie} ${ie} a${tr} ${(E.depth+E.height+2*xn)/2}, 0, 1, 1, 0 ${E.depth+E.height+2*xn} "`,Ve+=` stroke-width="${fm(b)}" stroke="${this.strokeColor}" fill="none"`,Ve+="/>"}if(le.width=E.width+2*ie+lt,le.height=E.height+ie,le.depth=E.depth+ie,le.setStyle("box-sizing","border-box"),le.setStyle("left",`calc(-${te} / 2 )`),le.setStyle("height",`${Math.floor(100*Me)/100}em`),le.setStyle("top",`calc(${te} / 2 )`),this.backgroundcolor&&le.setStyle("background-color",this.backgroundcolor),this.notation.box&&le.setStyle("border","1px solid red"),this.notation.actuarial&&(le.setStyle("border-top",this.borderStyle),le.setStyle("border-right",this.borderStyle)),this.notation.madruwb&&(le.setStyle("border-bottom",this.borderStyle),le.setStyle("border-right",this.borderStyle)),this.notation.roundedbox&&(le.setStyle("border-radius","8px"),le.setStyle("border",this.borderStyle)),this.notation.circle&&(le.setStyle("border-radius","50%"),le.setStyle("border",this.borderStyle)),this.notation.top&&le.setStyle("border-top",this.borderStyle),this.notation.left&&le.setStyle("border-left",this.borderStyle),this.notation.right&&le.setStyle("border-right",this.borderStyle),this.notation.bottom&&le.setStyle("border-bottom",this.borderStyle),Ve){let xn="";this.shadow==="auto"&&(xn+="filter: drop-shadow(0 0 .5px rgba(255, 255, 255, .7)) drop-shadow(1px 1px 2px #333)"),this.shadow!=="none"&&(xn+=`filter: drop-shadow(${this.shadow})`),xn+=` stroke-width="${this.strokeWidth}" stroke="${this.strokeColor}"`,xn+=' stroke-linecap="round"',this.svgStrokeStyle&&(xn+=` stroke-dasharray="${this.svgStrokeStyle}"`),le.svgStyle=xn,le.svgOverlay=Ve}const zt=new ui([le,E]);return zt.setStyle("position","relative"),zt.setStyle("vertical-align",ie,"em"),zt.setStyle("height",`${Math.floor(100*(E.height+E.depth+2*ie))/100}em`),zt.setStyle("display","inline-block"),zt.height=le.height,zt.depth=le.depth,zt.width=le.width-2*ie,zt.left=ie,zt.right=ie,this.caret&&(zt.caret=this.caret),zt.wrap(b)}line(y,b,E,te){return`<line x1="${Bf(y)}" y1="${Bf(b)}" x2="${Bf(E)}" y2="${Bf(te)}" vector-effect="non-scaling-stroke"></line>`}};function Bf(a){return typeof a=="number"?`${Math.floor(100*a)/100}%`:a}function dm(a){if(!a)return"1px";const y=a.match(/([0-9][a-zA-Z\%]+)/);return y===null?"1px":y[1]}function fm(a){return(Math.floor(100*a.metrics.sqrtRuleThickness/a.scalingFactor)/100/10).toString()+"em"}function u0(a){const y=a.isDisplayStyle?Vi:a.metrics.defaultRuleThickness;return a.metrics.defaultRuleThickness+a.scalingFactor*y/4}var Hd=class Xp extends Fa{constructor(y,b,E){var te,ie;super(me(Se({},E),{type:"genfrac",displayContainsHighlight:!0})),this.above=y,this.below=b,this.hasBarLine=(te=E==null?void 0:E.hasBarLine)!=null?te:!0,this.continuousFraction=(ie=E==null?void 0:E.continuousFraction)!=null?ie:!1,this.numerPrefix=E==null?void 0:E.numerPrefix,this.denomPrefix=E==null?void 0:E.denomPrefix,this.mathstyleName=E==null?void 0:E.mathstyleName,this.leftDelim=E==null?void 0:E.leftDelim,this.rightDelim=E==null?void 0:E.rightDelim,this.fractionNavigationOrder=E==null?void 0:E.fractionNavigationOrder}static fromJson(y){return new Xp(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),Se(Se({},super.toJson()),y)}get children(){if(this._children)return this._children;const y=[];if(this.fractionNavigationOrder==="denominator-numerator"){for(const b of this.below)y.push(...b.children),y.push(b);for(const b of this.above)y.push(...b.children),y.push(b)}else{for(const b of this.above)y.push(...b.children),y.push(b);for(const b of this.below)y.push(...b.children),y.push(b)}return this._children=y,y}render(y){var b,E;const te=new cl({parent:y,mathstyle:this.mathstyleName},this.style),ie=te.metrics,le=new cl({parent:te,mathstyle:this.continuousFraction?"":"numerator"},this.style),Me=this.numerPrefix?new ui([new ui(this.numerPrefix),Fa.createBox(le,this.above)],{isTight:le.isTight,type:"ignore"}):(b=Fa.createBox(le,this.above,{type:"ignore"}))!=null?b:new ui(null,{type:"ignore"}),Fe=new cl({parent:te,mathstyle:this.continuousFraction?"":"denominator"},this.style),Ve=this.denomPrefix?new ui([new ui(this.denomPrefix),Fa.createBox(Fe,this.below,{type:"ignore"})]):(E=Fa.createBox(Fe,this.below,{type:"ignore"}))!=null?E:new ui(null,{type:"ignore"}),lt=this.hasBarLine?ie.defaultRuleThickness:0;let zt,xn=0,tr;te.isDisplayStyle?(zt=le.metrics.num1,xn=lt>0?3*lt:7*lt,tr=Fe.metrics.denom1):(lt>0?(zt=le.metrics.num2,xn=lt):(zt=le.metrics.num3,xn=3*ie.defaultRuleThickness),tr=Fe.metrics.denom2);const pr=[];this.isSelected&&pr.push("ML__selected");const Na=Me.depth,qi=Ve.height;let Ca;if(lt<=0){const Cl=zt-Na-(qi-tr);Cl<xn&&(zt+=(xn-Cl)/2,tr+=(xn-Cl)/2),Ca=new as({individualShift:[{box:Me,shift:-zt,classes:[...pr,"ML__center"]},{box:Ve,shift:tr,classes:[...pr,"ML__center"]}]}).wrap(te)}else{const Cl=new ui(null,{classes:"ML__frac-line",mode:this.mode,style:this.style});Cl.softWidth=Math.max(Me.width,Ve.width),Cl.height=lt/2,Cl.depth=lt/2;const Ns=pi+lt/2;zt<xn+Na+Ns&&(zt=xn+Na+Ns);const Qs=pi-lt/2;tr<xn+qi-Qs&&(tr=xn+qi-Qs),Ca=new as({individualShift:[{box:Ve,shift:tr,classes:[...pr,"ML__center"]},{box:Cl,shift:-Qs,classes:pr},{box:Me,shift:-zt,classes:[...pr,"ML__center"]}]}).wrap(te)}const ci=te.isDisplayStyle?ie.delim1:ie.delim2,ao=this.leftDelim?this.bind(y,Xo("open",this.leftDelim,ci,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):qo(te,"open");let bi=null;this.continuousFraction?bi=new ui(null,{type:"close"}):this.rightDelim?bi=this.bind(y,Xo("close",this.rightDelim,ci,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):bi=qo(te,"close");const al=new ui([ao,Ca,bi],{isTight:te.isTight,type:"inner",classes:"mfrac"}),Ll=this.bind(y,al);return this.caret&&(Ll.caret=this.caret),this.attachSupsub(y,{base:Ll})}},Gu=class Jp extends Fa{constructor(y,b){var E;super({type:"latex",value:y,mode:"latex"}),this.isSuggestion=(E=b==null?void 0:b.isSuggestion)!=null?E:!1,this.isError=!1}static fromJson(y){const b=new Jp(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),Se({type:"latex",value:this.value},y)}get computedStyle(){return{}}render(y){const b=new ui(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}},lf=class qp extends Fa{constructor(y){super({type:"latexgroup",mode:"latex"}),this.body=[...y].map(b=>new Gu(b)),this.skipBoundary=!1}static fromJson(y){return new qp("")}toJson(){return super.toJson()}render(y){const b=Fa.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){var b,E;return(E=(b=this.body)==null?void 0:b.map(te=>te.value).join(""))!=null?E:""}},vh=class $p extends Fa{constructor(y,b){super(me(Se({},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 $p(y.symbol,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.subsupPlacement&&(y.limits=this.subsupPlacement),this.isExtensibleSymbol&&(y.isExtensibleSymbol=!0),this.value&&(y.symbol=this.value),y}render(y){var b;const E=y.isDisplayStyle&&this.value!=="\\smallint",te=new ui(this.value,{fontFamily:E?"Size2-Regular":"Size1-Regular",classes:"op-symbol "+(E?"large-op":"small-op"),type:"op",maxFontSize:y.scalingFactor,isSelected:this.isSelected});if(!te)return null;te.right=te.italic;const ie=(te.height-te.depth)/2-pi*y.scalingFactor,le=te.italic;te.setTop(ie);let Me=te;if(this.superscript||this.subscript){const Fe=(b=this.subsupPlacement)!=null?b:"auto";Me=Fe==="over-under"||Fe==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:te,baseShift:ie,slant:le}):this.attachSupsub(y,{base:te})}return new ui(this.bind(y,Me),{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=nn(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=[];return E.push(this.command),this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&E.push("\\limits"),this.subsupPlacement==="adjacent"&&E.push("\\nolimits"),this.subsupPlacement==="auto"&&E.push("\\displaylimits")),E.push(this.supsubToLatex(y)),$i(E)}},Cd=class em extends Fa{constructor(y){const b=y.body;super(me(Se({},y),{type:"overlap",body:typeof b=="string"?[new Fa({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 em(y)}toJson(){const y={};return this.align&&(y.align=this.align),this.boxType&&(y.boxType=this.boxType),Se(Se({},super.toJson()),y)}render(y){const b=Fa.createBox(y,this.body,{classes:"inner"});return b?(this.caret&&(b.caret=this.caret),this.bind(y,new ui([b,new ui(null,{classes:"fix"})],{classes:this.align==="right"?"rlap":"llap",type:this.boxType}))):null}},Cc=class tm extends Fa{constructor(y){var b,E,te,ie;super({type:"overunder",command:y.command,style:y.style,mode:y.mode,body:y.body,skipBoundary:(b=y.skipBoundary)!=null?b:!0}),this.subsupPlacement=y.supsubPlacement,this.svgAbove=y.svgAbove,this.svgBelow=y.svgBelow,this.svgBody=y.svgBody,this.above=y.above,this.below=y.below,this.boxType=(E=y.boxType)!=null?E:"ord",this.paddedBody=(te=y.paddedBody)!=null?te:!1,this.paddedLabels=(ie=y.paddedLabels)!=null?ie:!1}static fromJson(y){return new tm(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?Nu(this.svgBody):Fa.createBox(y,this.body,{type:"ignore"});const E=new cl({parent:y,mathstyle:"scriptstyle"},this.style);let te=null;this.svgAbove?te=Nu(this.svgAbove):this.above&&(te=Fa.createBox(E,this.above,{type:"ignore"}));let ie=null;this.svgBelow?ie=Nu(this.svgBelow):this.below&&(ie=Fa.createBox(E,this.below,{type:"ignore"})),this.paddedBody&&(b=new ui([qo(y,"open"),b,qo(y,"close")],{type:"ignore"}));let le=hm(y,{base:b,above:te,below:ie,type:this.boxType==="bin"||this.boxType==="rel"?this.boxType:"ord",paddedAboveBelow:this.paddedLabels});return le?(this.subsupPlacement==="over-under"?le=this.attachLimits(y,{base:le,type:le.type}):le=this.attachSupsub(y,{base:le}),this.caret&&(le.caret=this.caret),this.bind(y,le)):null}};function hm(a,y){if(!y.base)return null;if(!y.above&&!y.below){const Me=new ui(y.base,{type:y.type});return Me.setStyle("position","relative"),Me}let b=0;y.above&&(b=a.metrics.bigOpSpacing5);let E=null;const te=y.base,ie=0,le=["ML__center"];if(y.paddedAboveBelow&&le.push("ML__label_padding"),y.below&&y.above){const Me=a.metrics.bigOpSpacing5+y.below.height+y.below.depth+te.depth+ie;E=new as({bottom:Me,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:le},{box:te,classes:["ML__center"]},b,{box:y.above,classes:le},a.metrics.bigOpSpacing5]})}else y.below?E=new as({top:te.height-ie,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:le},{box:te,classes:["ML__center"]}]}):y.above&&(E=new as({bottom:te.depth+ie,children:[{box:te,classes:["ML__center"]},b,{box:y.above,classes:le},a.metrics.bigOpSpacing5]}));return new ui(E,{type:y.type})}var sf=class nm extends Fa{constructor(y){var b,E,te,ie;super(me(Se({},y),{type:"phantom"})),this.captureSelection=!0,this.isInvisible=(b=y.isInvisible)!=null?b:!1,this.smashDepth=(E=y.smashDepth)!=null?E:!1,this.smashHeight=(te=y.smashHeight)!=null?te:!1,this.smashWidth=(ie=y.smashWidth)!=null?ie:!1}static fromJson(y){return new nm(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),Se(Se({},super.toJson()),y)}render(y){const b=new cl({parent:y,isPhantom:!0});if(!this.smashDepth&&!this.smashHeight&&!this.smashWidth)return console.assert(this.isInvisible),Fa.createBox(b,this.body,{classes:"inner"});const E=Fa.createBox(this.isInvisible?b:y,this.body);if(!E)return null;if(this.smashWidth){const te=new ui(null,{classes:"fix"});return new ui([E,te],{classes:"rlap"}).wrap(y)}if(!this.smashHeight&&!this.smashDepth)return E;if(this.smashHeight&&(E.height=0),this.smashDepth&&(E.depth=0),E.children)for(const te of E.children)this.smashHeight&&(te.height=0),this.smashDepth&&(te.depth=0);return new as({firstBaseline:[{box:E}]},{type:E.type}).wrap(y)}},uf=class rm extends Fa{constructor(y){var b;super(Se({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 rm(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 ui(this.mode==="math"?null:" ");let E;if(this.width!==void 0)E=new ui(null,{classes:"mspace"}),E.left=y.toEm(this.width);else{const te=(b={"\\qquad":"qquad","\\quad":"quad","\\enspace":"enspace","\\;":"thickspace","\\:":"mediumspace","\\>":"mediumspace","\\,":"thinspace","\\!":"negativethinspace"}[this.command])!=null?b:"mediumspace";E=new ui(null,{classes:te})}return E=this.bind(y,E),this.caret&&(E.caret=this.caret),E}_serialize(y){var b;if(!y.expandMacro&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const E=nn(this.command,this.mode);if(E!=null&&E.serialize)return E.serialize(this,y);const te=(b=this.command)!=null?b:"";return this.width===void 0?te:this._braced&&!("register"in this.width)?`${te}{${Ts(this.width)}}`:`${te}${Ts(this.width)}`}},c0=class am extends Fa{constructor(y){var b;super(me(Se({},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 am(me(Se({},y),{index:y.above}))}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=nn(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=this.command,te=this.bodyToLatex(y);return this.above&&!this.hasEmptyBranch("above")?ki(`${E}[${this.aboveToLatex(y)}]`,te):/^[0-9]$/.test(te)?`${E}${te}`:ki(E,te)}get children(){if(this._children)return this._children;const y=[];if(this.above)for(const b of this.above)y.push(...b.children),y.push(b);if(this.body)for(const b of this.body)y.push(...b.children),y.push(b);return this._children=y,y}render(y){var b;const E=new cl({parent:y,mathstyle:"cramp"},this.style),te=(b=Fa.createBox(E,this.body,{type:"inner"}))!=null?b:new ui(null),ie=E.scalingFactor,le=E.metrics.defaultRuleThickness/ie,Me=y.isDisplayStyle?Vi:le,Fe=new ui(null,{classes:"ML__sqrt-line",style:this.style});Fe.height=le,Fe.softWidth=te.width;let Ve=ie*(le+Me/4);const zt=Math.max(ie*2*Me,te.height+te.depth)+Ve+le,xn=new cl({parent:y},this.style),tr=this.bind(xn,new ui(Xo("inner","\\surd",zt,!1,xn,{isSelected:this.isSelected}),{isSelected:this.isSelected,classes:"ML__sqrt-sign",style:this.style}));if(!tr)return null;const pr=tr.height+tr.depth-le;pr>te.height+te.depth+Ve&&(Ve=(Ve+pr-(te.height+te.depth))/2),tr.setTop(tr.height-te.height-Ve);const Na=this.bind(y,new as({firstBaseline:[{box:new ui(te)},Ve-2*le,{box:Fe},le]})),qi=Fa.createBox(new cl({parent:y,mathstyle:"scriptscriptstyle"}),this.above,{type:"ignore"});if(!qi){const ao=new ui([tr,Na],{classes:this.containsCaret?"ML__contains-caret":"",type:"inner"});return ao.setStyle("display","inline-block"),ao.setStyle("height",ao.height+ao.depth,"em"),this.caret&&(ao.caret=this.caret),this.bind(y,ao)}const Ca=new as({shift:-.6*(Math.max(tr.height,Na.height)-Math.max(tr.depth,Na.depth)),children:[{box:qi}]}),ci=new ui([new ui(Ca,{classes:"ML__sqrt-index",type:"ignore"}),tr,Na],{type:"inner",classes:this.containsCaret?"ML__contains-caret":""});return ci.height=tr.height,ci.depth=tr.depth,this.caret&&(ci.caret=this.caret),this.bind(y,ci)}},pm=class extends ui{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 Lf(a,y){if(!a.parent)return;const b=a.parent.children,E=b.indexOf(a);let te=E-1;for(;te>=0&&b[te].type==="ignore";)te-=1;if(te<0&&a.parent.parent&&a.parent.type==="lift"){Lf(a.parent,y);return}E>0&&b[E-1].type==="skip"?b[E-1].width+=y:b.splice(E,0,new pm(y))}var mm={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}},vm={ord:{op:3},op:{ord:3,op:3},close:{op:3},inner:{op:3}};function gm(a){df(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 cf(a,y){if(!a.children)return a;const b=a.children;gm(b);const E=y.getRegisterAsEm("thinmuskip"),te=y.getRegisterAsEm("medmuskip"),ie=y.getRegisterAsEm("thickmuskip");return df(b,(le,Me)=>{var Fe,Ve,lt;if(!le)return;const zt=le.type,xn=Me.isTight?(Fe=vm[zt])!=null?Fe:null:(Ve=mm[zt])!=null?Ve:null,tr=(lt=xn==null?void 0:xn[Me.type])!=null?lt:null;tr===3&&Lf(Me,E),tr===4&&Lf(Me,te),tr===5&&Lf(Me,ie)}),a}function df(a,y,b=void 0){if(!a)return b;a=[...a];for(const E of a)E.type==="lift"?b=df(E.children,y,b):E.type==="ignore"?df(E.children,y):(y(b,E),df(E.children,y),b=E);return b}var gh=class im extends Fa{constructor(y){super({type:"tooltip",command:y.command,mode:y.mode,style:y.style,body:y.body,displayContainsHighlight:!0}),this.tooltip=new Fa({type:"root",mode:y.content,body:y.tooltip,style:{}}),this.skipBoundary=!0,this.captureSelection=!1}static fromJson(y){return new im(me(Se({},y),{tooltip:pd(y.tooltip)}))}toJson(){var y;const b=(y=this.tooltip.body)==null?void 0:y.filter(E=>E.type!=="first").map(E=>E.toJson());return me(Se({},super.toJson()),{tooltip:b})}render(y){const b=Fa.createBox(new cl,this.body);if(!b)return null;const E=new cl({parent:y,mathstyle:"displaystyle"},{fontSize:Za}),te=js(cf(new ui(this.tooltip.render(E),{classes:"ML__tooltip-content"}),E)),ie=new ui([te,b],{classes:"ML__tooltip-container"});return this.caret&&(ie.caret=this.caret),this.bind(y,ie)}},Ed=class om extends Fa{constructor(y,b){super(me(Se({},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 om(y.symbol,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.variantStyle&&(y.variantStyle=this.variantStyle),this.subsupPlacement&&(y.limits=this.subsupPlacement),this.value&&(y.symbol=this.value),y}render(y){var b;const E=new ui(this.value,{type:"op",mode:"math",maxFontSize:y.scalingFactor,style:{variant:this.variant,variantStyle:this.variantStyle},isSelected:this.isSelected,letterShapeStyle:y.letterShapeStyle});let te=E;if(this.superscript||this.subscript){const ie=(b=this.subsupPlacement)!=null?b:"auto";te=ie==="over-under"||ie==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:E}):this.attachSupsub(y,{base:E})}return new ui(this.bind(y,te),{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=nn(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=[this.command];return this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&E.push("\\limits"),this.subsupPlacement==="adjacent"&&E.push("\\nolimits"),this.subsupPlacement==="auto"&&E.push("\\displaylimits")),E.push(this.supsubToLatex(y)),$i(E)}};function pd(a){if(ue(a))return a.map(E=>pd(E));if(typeof a=="string")return Fa.fromJson(a);a=Se({},a);for(const E of iu)a[E]&&(a[E]=pd(a[E]));a.args&&(a.args=ym(a.args)),a.array&&(a.array=pd(a.array));const y=a.type;let b;y==="accent"&&(b=z.fromJson(a)),y==="array"&&(b=fs.fromJson(a)),y==="box"&&(b=Mu.fromJson(a)),y==="chem"&&(b=o0.fromJson(a)),y==="composition"&&(b=nd.fromJson(a)),y==="delim"&&(b=l0.fromJson(a)),y==="enclose"&&(b=of.fromJson(a)),y==="error"&&(b=oc.fromJson(a)),y==="extensible-symbol"&&(b=vh.fromJson(a)),y==="genfrac"&&(b=Hd.fromJson(a)),y==="group"&&(b=Zu.fromJson(a)),y==="latex"&&(b=Gu.fromJson(a)),y==="latexgroup"&&(b=lf.fromJson(a)),y==="leftright"&&(b=Fs.fromJson(a)),y==="macro"&&(b=zd.fromJson(a)),y==="macro-argument"&&(b=Lc.fromJson(a)),y==="operator"&&(b=Ed.fromJson(a)),y==="overlap"&&(b=Cd.fromJson(a)),y==="overunder"&&(b=Cc.fromJson(a)),y==="placeholder"&&(b=Ol.fromJson(a)),y==="prompt"&&(b=zc.fromJson(a)),y==="phantom"&&(b=sf.fromJson(a)),y==="sizeddelim"&&(b=s0.fromJson(a)),y==="spacing"&&(b=uf.fromJson(a)),y==="subsup"&&(b=Sc.fromJson(a)),y==="surd"&&(b=c0.fromJson(a)),y==="text"&&(b=nc.fromJson(a)),y==="tooltip"&&(b=gh.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=Fa.fromJson(a));for(const E of iu)a[E]&&b.setChildren(a[E],E);return a.verbatimLatex!==void 0&&(b.verbatimLatex=a.verbatimLatex),a.subsupPlacement&&(b.subsupPlacement=a.subsupPlacement),a.explicitSubsupPlacement&&(b.explicitSubsupPlacement=!0),a.isFunction&&(b.isFunction=!0),a.isExtensibleSymbol&&(b.isExtensibleSymbol=!0),a.skipBoundary&&(b.skipBoundary=!0),a.captureSelection&&(b.captureSelection=!0),b}function ym(a){if(a&&Array.isArray(a))return a.map(y=>y==="<null>"?null:typeof y=="object"&&"group"in y?{group:y.group.map(b=>pd(b))}:typeof y=="object"&&"atoms"in y?y.atoms.map(b=>pd(b)):y)}var d0={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"]},yh={"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]$/},f0=/^[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5]$/,bm=/^[\u0393|\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A6\u03A8\u03A9]$/,xm=[/^[a-z]$/,/^[A-Z]$/,f0,bm],wm={iso:["it","it","it","it"],tex:["it","it","it","up"],french:["it","up","up","up"],upright:["up","up","up","up"]},Sm=class extends eo{constructor(){super("math")}createAtom(a,y,b){var E,te,ie,le;if(y===null)return new Fa({type:"mord",mode:"math",command:a,value:a,style:b});const Me=window.MathfieldElement.isFunction((E=y.command)!=null?E:a);if(y.definitionType==="symbol"){const Ve=new Fa({type:(te=y.type)!=null?te:"mord",mode:"math",command:(ie=y.command)!=null?ie:a,value:String.fromCodePoint(y.codepoint),style:b});return Me&&(Ve.isFunction=!0),a.startsWith("\\")&&(Ve.verbatimLatex=a),Ve}const Fe=new Fa({type:"mord",mode:"math",command:(le=y.command)!=null?le:a,value:a,style:b});return Me&&(Fe.isFunction=!0),a.startsWith("\\")&&(Fe.verbatimLatex=a),Fe}serialize(a,y){const b=Cm(a,me(Se({},y),{defaultMode:"math"}));return b.length===0||y.defaultMode!=="text"?b:["$ ",...b," $"]}getFont(a,y){console.assert(y.variant!==void 0);let{variant:b}=y,{variantStyle:E}=y;b==="normal"&&!E&&/[\u00A3\u0131\u0237]/.test(a.value)&&(b="main",E="italic"),b==="normal"&&!E&&a.value.length===1&&xm.forEach((Me,Fe)=>{var Ve;Me.test(a.value)&&wm[(Ve=y.letterShapeStyle)!=null?Ve:"tex"][Fe]==="it"&&(E="italic")}),E==="up"&&(E=void 0);const te=E?b+"-"+E:b;console.assert(d0[te]!==void 0);const[ie,le]=d0[te];return yh[b]&&!yh[b].test(a.value)?(a.value=An(a.value,b,E),null):(f0.test(a.value)&&(a.classes+=" lcGreek"),le&&(a.classes+=" "+le),ie)}};function Cm(a,y){const{parent:b}=a[0],E=h0(b);return ro(a,"variant").map(te=>{const ie=h0(te[0]);let le="";ie&&ie!==E&&(le={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"}[ie],console.assert(le!==void 0));const Me=$i(te.map(Fe=>Fe._serialize(y)));return le?ki(le,Me):Me})}function h0(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 Sm;function Em(a,y){return a.map(b=>b._serialize(y))}function Am(a,y){return ro(a,"fontShape").map(b=>{const E=Em(b,y),{fontShape:te}=b[0].style;let ie="";return te==="it"&&(ie="\\textit"),te==="sl"&&(ie="\\textsl"),te==="sc"&&(ie="\\textsc"),te==="n"&&(ie="\\textup"),!ie&&te?`{${ki("\\fontshape",te)}${$i(E)}}`:ie?ki(ie,$i(E)):$i(E)})}function Mm(a,y){return ro(a,"fontSeries").map(b=>{const E=Am(b,y),{fontSeries:te}=b[0].style;let ie="";return te==="b"&&(ie="\\textbf"),te==="l"&&(ie="\\textlf"),te==="m"&&(ie="\\textmd"),te&&!ie?`{${ki("\\fontseries",te)}${$i(E)}}`:ie?ki(ie,$i(E)):$i(E)})}function Dm(a,y){return ro(a,"fontSize").map(b=>{var E,te;const ie=Mm(b,y),le=(te=["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][(E=b[0].style.fontSize)!=null?E:""])!=null?te:"";return le?`${le} ${$i(ie)}`:$i(ie)})}function km(a,y,b){return ro(a,"fontFamily").map(E=>{var te,ie;const le=Dm(E,y),Me=(ie={roman:"textrm",monospace:"texttt","sans-serif":"textsf"}[(te=E[0].style.fontFamily)!=null?te:""])!=null?ie:"";return Me?`\\${Me}{${$i(le)}}`:E[0].style.fontFamily?`{\\fontfamily{${E[0].style.fontFamily}} ${$i(le)}}`:b?`\\text{${$i(le)}}`:$i(le)})}var p0={roman:"","sans-serif":"ML__sans",monospace:"ML__tt"},Nm=class extends eo{constructor(){super("text")}createAtom(a,y,b){return y&&y.definitionType==="symbol"?new nc(a,String.fromCodePoint(y.codepoint),b!=null?b:{}):null}serialize(a,y){return km(a,me(Se({},y),{defaultMode:"text"}),y.defaultMode!=="text")}getFont(a,y){var b,E,te,ie,le;const{fontFamily:Me}=y;if(p0[Me]?a.classes+=" "+p0[Me]:Me&&a.setStyle("font-family",Me),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 Fe=y.fontSeries.match(/(.?[lbm])?(.?[cx])?/);Fe&&(a.classes+=" ",a.classes+=(te={ul:"ML__series_ul",el:"ML__series_el",l:"ML__series_l",sl:"ML__series_sl",m:"",sb:"ML__series_sb",b:"ML__bold",eb:"ML__series_eb",ub:"ML__series_ub"}[(E=Fe[1])!=null?E:""])!=null?te:"",a.classes+=" ",a.classes+=(le={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"}[(ie=Fe[2])!=null?ie:""])!=null?le:"")}return"Main-Regular"}};new Nm;var Im=class extends eo{constructor(){super("latex")}createAtom(a){return new Gu(a)}serialize(a,y){return a.filter(b=>b instanceof Gu&&!b.isSuggestion).map(b=>b.value)}getFont(){return null}};new Im;var Pm={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:["","=","","="]}},bh={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:["","=","","="]}},m0={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:["\\","|","",""]}},v0={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:[")",")",")",")"]}},Bm={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:["=","=","=","="]}},Lm={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:["<",">","",""]}},Om={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"]}},Tm={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:["=","=","=","="]}},Rm={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:["<",">","|",""]}},Fm={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:[".",".",".","."]}},Km={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"]}},zm={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:["<",">","",""]}},Hm={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 g0(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 Zd(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 Zm={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]"},ff=[],hf;function xh(){switch(Ee()){case"macos":case"ios":return"apple";case"windows":return"windows"}return"linux"}function gc(a){(!a.platform||a.platform===xh())&&ff.push(a)}function Wm(a,y){var b;const E={shift:!1,alt:!1,cmd:!1,win:!1,meta:!1,ctrl:!1,key:""};if(!a)return E;for(const[te,ie]of Object.entries(y.mapping)){if(ie[0]===a)return E.key=`[${te}]`,E;if(ie[1]===a)return E.shift=!0,E.key=`[${te}]`,E;if(ie[2]===a)return E.alt=!0,E.key=`[${te}]`,E;if(ie[3]===a)return E.shift=!0,E.alt=!0,E.key=`[${te}]`,E}return E.key=(b=Zm[a])!=null?b:"",E}function _m(a){if(a.code)return a;const y=Object.entries(pf().mapping);let b=!1,E=!1,te="";for(let ie=0;ie<4;ie++){for(const[le,Me]of y)if(Me[ie]===a.key){te=le,ie===3?(b=!0,E=!0):ie===2?b=!0:ie===1&&(E=!0);break}if(te)break}return new KeyboardEvent(a.type,me(Se({},a),{altKey:b,shiftKey:E,code:te}))}function Vm(a){var y,b;if(!a||a.key==="Unidentified"||a.key==="Dead")return;const E=a.shiftKey&&a.altKey?3:a.altKey?2:a.shiftKey?1:0;for(const te of ff)((y=te.mapping[a.code])==null?void 0:y[E])===a.key?te.score+=1:(b=te.mapping[a.code])!=null&&b[E]&&(te.score=0);ff.sort((te,ie)=>ie.score-te.score)}function jm(a){hf=ff.find(y=>a.startsWith(y.locale))}function pf(){return hf!=null?hf:ff[0]}function Um(){switch(xh()){case"apple":return bh;case"windows":return m0;case"linux":return v0}return bh}switch(xh()){case"apple":gc(bh),gc(Bm),gc(Km),gc(Tm);break;case"windows":gc(m0),gc(Lm),gc(zm),gc(Rm);break;case"linux":gc(v0),gc(Om),gc(Hm),gc(Fm);break}gc(Pm);function wh(a){var y;const b=/macos|ios/.test(Ee()),E=a.split("+");let te="";for(const ie of E)te&&(te+=b?"\u2009":'<span class="ML__shortcut-join">+</span>'),ie.startsWith("[Key")?te+=ie.slice(4,5):ie.startsWith("Key")?te+=ie.slice(3,4):ie.startsWith("[Digit")?te+=ie.slice(6,7):ie.startsWith("Digit")?te+=ie.slice(5,6):te+=(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"}[ie.toLowerCase()])!=null?y:ie.toUpperCase();return te}function Of(a){if(a instanceof MouseEvent||a instanceof PointerEvent)return{x:a.clientX,y:a.clientY};if(a instanceof TouchEvent){const y=[...a.touches].reduce((E,te)=>({x:E.x+te.clientX,y:E.y+te.clientY}),{x:0,y:0}),b=a.touches.length;return{x:y.x/b,y:y.y/b}}}function Ad(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 Gm(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 Ym=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 Tf(a){return a.ctrlKey||a.metaKey||["Dead","Process"].includes(a.key)?!1:a.code===""?!0:Ym.has(a.code)}function Rf(){var a;let y=document.activeElement;for(;(a=y==null?void 0:y.shadowRoot)!=null&&a.activeElement;)y=y.shadowRoot.activeElement;return y}var Hc=class sd{static get scrim(){return sd._scrim||(sd._scrim=new sd),sd._scrim}static open(y){sd.scrim.open(y)}static close(){sd.scrim.close()}static get state(){return sd.scrim.state}static get element(){return sd.scrim.element}constructor(y){var b,E;this.lightDismiss=(b=y==null?void 0:y.lightDismiss)!=null?b:!0,this.translucent=(E=y==null?void 0:y.translucent)!=null?E:!1,this.state="closed"}get element(){if(this._element)return this._element;const y=document.createElement("div");return y.setAttribute("role","presentation"),y.style.position="fixed",y.style.contain="content",y.style.top="0",y.style.left="0",y.style.right="0",y.style.bottom="0",y.style.zIndex="var(--scrim-zindex, 10099)",y.style.outline="none",this.translucent?(y.style.background="rgba(255, 255, 255, .2)",y.style.backdropFilter="contrast(40%)"):y.style.background="transparent",this._element=y,y}open(y){var b;if(this.state!=="closed")return;this.state="opening",this.onDismiss=y==null?void 0:y.onDismiss,this.savedActiveElement=Rf();const{element:E}=this;((b=y==null?void 0:y.root)!=null?b:document.body).appendChild(E),E.addEventListener("click",this),document.addEventListener("touchmove",this,!1),document.addEventListener("scroll",this,!1);const te=window.innerWidth-document.documentElement.clientWidth;this.savedMarginRight=document.body.style.marginRight,this.savedOverflow=document.body.style.overflow,document.body.style.overflow="hidden";const ie=Number.parseFloat(getComputedStyle(document.body).marginRight);document.body.style.marginRight=`${ie+te}px`,y!=null&&y.child&&E.append(y.child),this.state="open"}close(){var y,b,E,te;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:ie}=this;ie.removeEventListener("click",this),document.removeEventListener("touchmove",this,!1),document.removeEventListener("scroll",this,!1),ie.remove(),document.body.style.overflow=(y=this.savedOverflow)!=null?y:"",document.body.style.marginRight=(b=this.savedMarginRight)!=null?b:"",Rf()!==this.savedActiveElement&&((te=(E=this.savedActiveElement)==null?void 0:E.focus)==null||te.call(E)),ie.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 Qm(a,y,b){let E=null,te=null,ie=!1,le=!1,Me=!1;const Fe=new AbortController,Ve=Fe.signal;return a.addEventListener("keydown",lt=>{if(ie||lt.key==="Process"||lt.code==="CapsLock"||/(Control|Meta|Alt|Shift)(Left|Right)/.test(lt.code)){E=null;return}E=lt,te=null,b.onKeystroke(lt)?a.textContent="":E=null},{capture:!0,signal:Ve}),a.addEventListener("keypress",lt=>{ie||(E&&te&&b.onKeystroke(E),te=lt)},{capture:!0,signal:Ve}),a.addEventListener("compositionstart",lt=>{a.textContent="",ie=!0,b.onCompositionStart(lt.data)},{capture:!0,signal:Ve}),a.addEventListener("compositionupdate",lt=>{ie&&b.onCompositionUpdate(lt.data)},{capture:!0,signal:Ve}),a.addEventListener("compositionend",lt=>{a.textContent="",ie&&(ie=!1,b.onCompositionEnd(lt.data))},{capture:!0,signal:Ve}),a.addEventListener("beforeinput",lt=>lt.stopImmediatePropagation(),{signal:Ve}),a.addEventListener("input",lt=>{var zt;if(!ie&&(a.textContent="",lt.inputType!=="insertCompositionText")){if(lt.inputType==="insertFromPaste"){lt.preventDefault(),lt.stopPropagation();return}b.onInput((zt=lt.data)!=null?zt:""),lt.preventDefault(),lt.stopPropagation()}},{signal:Ve}),a.addEventListener("paste",lt=>{a.focus({preventScroll:!0}),a.textContent="",b.onPaste(lt)||lt.preventDefault(),lt.stopImmediatePropagation()},{signal:Ve}),a.addEventListener("cut",lt=>b.onCut(lt),{capture:!0,signal:Ve}),a.addEventListener("copy",lt=>b.onCopy(lt),{capture:!0,signal:Ve}),a.addEventListener("blur",lt=>{var zt,xn;if(((xn=(zt=lt.relatedTarget)==null?void 0:zt._mathfield)==null?void 0:xn.element)===y){a.focus({preventScroll:!0}),lt.preventDefault(),lt.stopPropagation();return}const tr=Hc.state;if(tr==="open"||tr==="opening"){lt.preventDefault(),lt.stopPropagation();return}if(lt.relatedTarget===lt.target.getRootNode().host){lt.preventDefault(),lt.stopPropagation();return}Me||le||(Me=!0,E=null,te=null,b.onBlur(),Me=!1)},{capture:!0,signal:Ve}),a.addEventListener("focus",lt=>{Me||le||(le=!0,b.onFocus(),le=!1)},{capture:!0,signal:Ve}),{dispose:()=>Fe.abort(),cancelComposition:()=>{ie&&(a.blur(),requestAnimationFrame(()=>a.focus({preventScroll:!0})))},blur:()=>{typeof a.blur=="function"&&a.blur()},focus:()=>{!le&&typeof a.focus=="function"&&a.focus({preventScroll:!0})},hasFocus:()=>Rf()===a,setAriaLabel:lt=>a.setAttribute("aria-label",lt),setValue:lt=>{var zt;a.textContent=lt,a.style.left="-1000px",(zt=window.getSelection())==null||zt.selectAllChildren(a)},moveTo:(lt,zt)=>{a.style.top=`${zt}px`,a.style.left=`${lt}px`}}}function Wd(a){var y;if(!a||!Tf(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 y0(a){a=_m(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 Xm(a){if(mt()){const y=Ee(),b=a.startsWith("!"),E=a.endsWith(y);if(b&&!E||!b&&E)return!0}return a==="!other"?!1:a==="other"}function Jm(a,y,b){if(a.length===0)return"";const E=Zd(g0(y0(b))),te=Zd({key:b.key,shift:b.shiftKey,alt:b.altKey,ctrl:b.ctrlKey,meta:b.metaKey||b.ctrlKey&&/macos|ios/.test(Ee()),cmd:!1,win:!1});for(let ie=a.length-1;ie>=0;ie--)if((a[ie].key===E||a[ie].key===te)&&(!a[ie].ifMode||a[ie].ifMode===y))return a[ie].command;return""}function b0(a){let y=a;return ue(y)&&(y=y.length>0?y[0]+"("+y.slice(1).join("")+")":""),y}function qm(a,y){let b=[];if(typeof y=="string"){const ie=dd[y];ue(ie)?b=ie.slice():ie&&b.push(ie)}const E=b0(y),te=new RegExp("^"+E.replace("\\","\\\\").replace("|","\\|").replace("*","\\*").replace("$","\\$").replace("^","\\^")+"([^*a-zA-Z]|$)");for(const ie of a)te.test(b0(ie.command))&&b.push(ie.key);return b.map(wh)}function $m(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=g0(a.key);let E=a.ifPlatform;if(b.cmd){if(E&&E!=="macos"&&E!=="ios")throw new Error('Unexpected "cmd" modifier with platform "'+E+`"
|
|
|
"cmd" modifier can only be used with macOS or iOS platform.`);E||(E=Ee()==="ios"?"ios":"macos"),b.win=!1,b.cmd=!1,b.meta=!0}if(b.win){if(E&&E!=="windows")throw new Error('Unexpected "win" modifier with platform "'+E+`"
|
|
|
"win" modifier can only be used with Windows platform.`);E="windows",b.win=!1,b.cmd=!1,b.meta=!0}if(E&&!Xm(E))return;if(/^\[.+\]$/.test(b.key))return me(Se({},a),{key:Zd(b)});const te=Wm(b.key,y);if(!te)return me(Se({},a),{key:Zd(b)});if(te.shift&&b.shift||te.alt&&b.alt)throw new Error(`The keybinding ${a.key} (${Sh(a.command)}) is conflicting with the key combination ${Zd(te)} using the ${y.displayName} keyboard layout`);return te.shift=te.shift||b.shift,te.alt=te.alt||b.alt,te.meta=b.meta,te.ctrl=b.ctrl,me(Se({},a),{key:Zd(te)})}function Sh(a){if(Array.isArray(a)){const y=[...a];return y.shift()+"("+y.map(b=>typeof b=="string"?`"${b}"`:b.toString()).join(", ")+")"}return a}function ev(a,y){const b=[],E=[];for(const te of a)try{const ie=$m(te,y);if(!ie)continue;const le=E.find(Me=>Me.key===ie.key&&Me.ifMode===ie.ifMode);if(le)throw new Error(`Ambiguous key binding ${te.key} (${Sh(te.command)}) matches ${le.key} (${Sh(le.command)}) with the ${y.displayName} keyboard layout`);E.push(ie)}catch(ie){ie instanceof Error&&b.push(ie.message)}return[E,b]}var tv=class extends is{constructor(){super("latex")}createAtom(a){return new Gu(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"}),Eu(a)),a.startRecording(),!0):!1}insert(a,y,b){if(!a.contentWillChange({data:y,inputType:"insertText"}))return!1;b||(b={}),b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder");const{silenceNotifications:E}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const te=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(ou(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 ie=[];for(const Fe of y)he.test(Fe)&&ie.push(new Gu(Fe));let le=a.at(a.position);if(le instanceof lf&&(le=le.lastChild),!(le.parent instanceof lf)){const Fe=new lf("");le.parent.addChildAfter(Fe,le),le=Fe.firstChild}const Me=le.parent.addChildrenAfter(ie,le);return a.silenceNotifications=te,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(Me)):Me&&(a.position=a.offsetOf(Me))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=E,!0}};function nv(a){return a.atoms.find(y=>y.type==="latexgroup")}function mf(a){var y,b;const E=a.atoms.find(te=>te.type==="latexgroup");return E?(b=(y=E.body)==null?void 0:y.filter(te=>te.type==="latex"))!=null?b:[]:[]}function x0(a,y){var b;let E=0,te=!1;const ie=Number.isFinite(y==null?void 0:y.before)?(b=y==null?void 0:y.before)!=null?b:0:a.lastOffset;for(;E<=ie&&!te;){const Fe=a.at(E);te=Fe instanceof Gu&&Fe.isSuggestion,te||E++}if(!te)return[void 0,void 0];let le=E,Me=!1;for(;le<=ie&&!Me;){const Fe=a.at(le);Me=!(Fe instanceof Gu&&Fe.isSuggestion),Me||le++}return[E-1,le-1]}new tv;function Ff(a){const y=mf(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 vf(a,y){var b;const{model:E}=a;Ff(a);for(const lt of mf(E))lt.isError=!1;if(!E.selectionIsCollapsed||a.options.popoverPolicy==="off"){Vd(a);return}const te=[];let ie=E.at(E.position);for(;ie&&ie instanceof Gu&&/^[a-zA-Z\*]$/.test(ie.value);)ie=ie.leftSibling;if(ie&&ie instanceof Gu&&ie.value==="\\")for(te.push(ie),ie=ie.rightSibling;ie&&ie instanceof Gu&&/^[a-zA-Z\*]$/.test(ie.value);)te.push(ie),ie=ie.rightSibling;const le=te.map(lt=>lt.value).join(""),Me=on(a,le);if(Me.length===0){if(/^\\[a-zA-Z\*]+$/.test(le))for(const lt of te)lt.isError=!0;Vd(a);return}const Fe=(b=y==null?void 0:y.atIndex)!=null?b:0;a.suggestionIndex=Fe<0?Me.length-1:Fe%Me.length;const Ve=Me[a.suggestionIndex];if(Ve!==le){const lt=te[te.length-1];lt.parent.addChildrenAfter([...Ve.slice(le.length-Ve.length)].map(zt=>new Gu(zt,{isSuggestion:!0})),lt),Md(a,{interactive:!0})}av(a,Me)}function w0(a){const[y,b]=x0(a,{before:a.position});if(y===void 0||b===void 0)return!1;let E=!1;return a.getAtoms([y,b]).forEach(te=>{te.isSuggestion&&(te.isSuggestion=!1,E=!0)}),E}function _d(a,y="accept",b){var E,te;Vd(a);const ie=nv(a.model);if(!ie)return!1;if(y==="accept-suggestion"||y==="accept-all"){const Ve=mf(a.model).filter(lt=>lt.isSuggestion);if(Ve.length!==0){for(const lt of Ve)lt.isSuggestion=!1;a.model.position=a.model.offsetOf(Ve[Ve.length-1])}if(y==="accept-suggestion")return Ve.length!==0}const Me=mf(a.model).filter(Ve=>!Ve.isSuggestion).map(Ve=>Ve.value).join(""),Fe=ie.leftSibling;return ie.parent.removeChild(ie),a.model.position=a.model.offsetOf(Fe),a.switchMode((E=b==null?void 0:b.mode)!=null?E:"math"),y==="reject"||(is.insert(a.model,Me,{selectionMode:(te=b==null?void 0:b.selectItem)!=null&&te?"item":"placeholder",format:"latex",mode:"math"}),a.snapshot(),a.model.announce("replacement"),a.switchMode("math")),!0}function Kf(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 Ch(a){var y;const b=document.getElementById(a);if(!b)return;const E=Number.parseInt((y=b.getAttribute("data-refcount"))!=null?y:"0");E<=1?b.remove():b.dataset.refcount=Number(E-1).toString()}function rv(a,y){const b=new cl({from:a.context}),E=new Fa({mode:"math",type:"root",body:Wu(y,{context:b})}),te=js(cf(new ui(E.render(b),{classes:"ML__base"}),b));return bu(te,{classes:"ML__latex"}).toMarkup()}function av(a,y){var b;if(y.length===0){Vd(a);return}let E="";for(const[ie,le]of y.entries()){const Me=le,Fe=rv(a,le),Ve=qm(a.keybindings,Me).join("<br>");E+=`<li role="button" data-command="${Me}" ${ie===a.suggestionIndex?"class=ML__popover__current":""}><span class="ML__popover__latex">${Me}</span><span class="ML__popover__command">${Fe}</span>`,Ve&&(E+=`<span class="ML__popover__keybinding">${Ve}</span>`),E+="</li>"}const te=iv(a,`<ul>${E}</ul>`);Eh()&&((b=te.querySelector(".ML__popover__current"))==null||b.scrollIntoView({block:"nearest",inline:"nearest"})),setTimeout(()=>{var ie;te&&!Eh()&&(te.classList.add("is-visible"),zf(a),(ie=te.querySelector(".ML__popover__current"))==null||ie.scrollIntoView({block:"nearest",inline:"nearest"}))},32)}function Eh(){const a=document.getElementById("mathlive-suggestion-popover");return a?a.classList.contains("is-visible"):!1}function zf(a,y){var b;if(!a.element||a.element.mathfield!==a||!Eh())return;if(((b=a.model.at(a.model.position))==null?void 0:b.type)!=="latex"){Vd(a);return}if(y!=null&&y.deferred){setTimeout(()=>zf(a),32);return}const E=mc(a.field);if(!E)return;const te=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,ie=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,le=window.innerWidth-document.documentElement.clientWidth,Me=window.innerHeight-document.documentElement.clientHeight,Fe=window.mathVirtualKeyboard.boundingRect.height,Ve=document.getElementById("mathlive-suggestion-popover");E.x+Ve.offsetWidth/2>ie-le?Ve.style.left=`${ie-Ve.offsetWidth-le}px`:E.x-Ve.offsetWidth/2<0?Ve.style.left="0":Ve.style.left=`${E.x-Ve.offsetWidth/2}px`;const lt=E.y-E.height;te-Me-Fe-E.y<lt?(Ve.classList.add("ML__popover--reverse-direction"),Ve.classList.remove("top-tip"),Ve.classList.add("bottom-tip"),Ve.style.top=`${E.y-E.height-Ve.offsetHeight-15}px`):(Ve.classList.remove("ML__popover--reverse-direction"),Ve.classList.add("top-tip"),Ve.classList.remove("bottom-tip"),Ve.style.top=`${E.y+15}px`)}function Vd(a){a.suggestionIndex=0;const y=document.getElementById("mathlive-suggestion-popover");y&&(y.classList.remove("is-visible"),y.innerHTML="")}function iv(a,y){let b=document.getElementById("mathlive-suggestion-popover");return b||(b=Kf("mathlive-suggestion-popover"),hc("suggestion-popover"),hc("core"),b.addEventListener("pointerdown",E=>E.preventDefault()),b.addEventListener("click",E=>{let te=E.target;for(;te&&!te.dataset.command;)te=te.parentElement;te&&(_d(a,"reject"),is.insert(a.model,te.dataset.command,{selectionMode:"placeholder",format:"latex",mode:"math"}),a.dirty=!0,a.focus())})),b.innerHTML=window.MathfieldElement.createHTML(y),b}function ov(){document.getElementById("mathlive-suggestion-popover")&&(Ch("mathlive-suggestion-popover"),x("suggestion-popover"),x("core"))}function lv(){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 Hf=null,S0,C0,Ah=((C0=(S0=globalThis==null?void 0:globalThis.document)==null?void 0:S0.currentScript)==null?void 0:C0.src)||lv();function E0(a){return od(this,null,function*(){if(/^(?:[a-z+]+:)?\/\//i.test(a))return new URL(a).href;if(Hf===null)try{const y=yield fetch(Ah,{method:"HEAD"});y.status===200&&(Hf=y.url)}catch(y){console.error(`Invalid URL "${a}" (relative to "${Ah}")`)}return new URL(a,Hf!=null?Hf:Ah).href})}function sv(a,y,b={}){return new FontFace(a,`url(${y}.woff2) format('woff2')`,b)}var yc="not-loaded";function uv(){return od(this,null,function*(){return yc="not-loaded",Zf()})}function Zf(){return od(this,null,function*(){var a;if(yc!=="not-loaded")return;if(yc="loading",(a=getComputedStyle(document.documentElement).getPropertyValue("--ML__static-fonts"))!=null?a:!1){yc="ready";return}if(document.body.classList.remove("ML__fonts-did-not-load"),"fonts"in document){const b=["KaTeX_Main","KaTeX_Math","KaTeX_AMS","KaTeX_Caligraphic","KaTeX_Fraktur","KaTeX_SansSerif","KaTeX_Script","KaTeX_Typewriter","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4"],E=Array.from(document.fonts).map(le=>le.family);if(b.every(le=>E.includes(le))){yc="ready";return}if(!window.MathfieldElement.fontsDirectory){yc="not-loaded";return}const te=yield E0(window.MathfieldElement.fontsDirectory);if(!te){document.body.classList.add("ML__fonts-did-not-load"),yc="error";return}const ie=[["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(le=>sv(le[0].replace(/-[a-zA-Z]+$/,""),`${te}/${le[0]}`,le[1]));try{(yield Promise.all(ie.map(Me=>{try{return Me.load()}catch(Fe){}}))).forEach(Me=>document.fonts.add(Me)),yc="ready";return}catch(le){console.error(`MathLive 0.98.5: The math fonts could not be loaded from "${te}"`,{cause:le}),document.body.classList.add("ML__fonts-did-not-load")}yc="error"}})}function cv(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 Eu(a,y){a&&(a.dirty||(a.dirty=!0,requestAnimationFrame(()=>{ic(a)&&a.dirty&&(a.atomBoundsCache=new Map,Md(a,y),a.atomBoundsCache=void 0)})))}function dv(a,y){var b;y=y!=null?y:{};const E=new cl({from:me(Se({},a.context),{atomIdsSettings:{seed:y.forHighlighting?cv(Fa.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"}),te=a.model.root.render(E);return bu(cf(te,E),{classes:a.hasEditablePrompts?"ML__latex ML__prompting":"ML__latex",attributes:{translate:"no","aria-hidden":"true"}})}function A0(a,y){const{model:b}=a;b.root.caret=void 0,b.root.isSelected=!1,b.root.containsCaret=!0;for(const te of b.atoms)te.caret=void 0,te.isSelected=!1,te.containsCaret=!1;if(b.selectionIsCollapsed){const te=b.at(b.position);te.caret=a.model.mode;let ie=te.parent;for(;ie;)ie.containsCaret=!0,ie=ie.parent}else{const te=b.getAtoms(b.selection,{includeChildren:!0});for(const ie of te)ie.isSelected=!0}return dv(a,y).toMarkup()}function Md(a,y){if(!ic(a))return;y!=null||(y={});const b=a.element.querySelector("[part=virtual-keyboard-toggle]");b&&(b.style.display=a.hasEditableContent?"":"none");const E=a.field;if(!E)return;const te=a.isSelectionEditable&&a.hasFocus(),ie=E.classList.contains("ML__focused");ie&&!te?E.classList.remove("ML__focused"):!ie&&te&&E.classList.add("ML__focused");let le=A0(a,y);const Me=a.element.querySelector("[part=menu-toggle]");if(Me&&(a.model.atoms.length<=1||a.disabled||a.readOnly&&!a.hasEditableContent||a.userSelect==="none"?Me.style.display="none":Me.style.display=""),a.model.atoms.length<=1){const Fe=a.options.contentPlaceholder;Fe&&(le+=`<span part=placeholder class="ML__content-placeholder">${_u(Fe)}</span>`)}E.innerHTML=window.MathfieldElement.createHTML(le),Wf(a,y.interactive),a.dirty=!1}function Wf(a,y){const b=a.field;if(!b)return;for(const Me of b.querySelectorAll(".ML__selection, .ML__contains-highlight"))Me.remove();!(y!=null&&y)&&yc!=="error"&&yc!=="ready"&&setTimeout(()=>{yc==="ready"?Wf(a):setTimeout(()=>Wf(a),128)},32);const E=a.model,te=b.offsetWidth,ie=b.getBoundingClientRect().width;let le=Math.floor(ie)/te;if(le=isNaN(le)?1:le,E.selectionIsCollapsed){zf(a,{deferred:!0});let Me=E.at(E.position);for(;Me&&Me.type!=="prompt"&&!(Me.containsCaret&&Me.displayContainsHighlight);)Me=Me.parent;if(Me!=null&&Me.containsCaret&&Me.displayContainsHighlight){const Fe=fd(a,Pc(a,Me),le);if(Fe){Fe.left/=le,Fe.right/=le,Fe.top/=le,Fe.bottom/=le;const Ve=document.createElement("div");Ve.classList.add("ML__contains-highlight"),Ve.style.position="absolute",Ve.style.left=`${Fe.left+1}px`,Ve.style.top=`${Math.ceil(Fe.top)}px`,Ve.style.width=`${Math.ceil(Fe.right-Fe.left)}px`,Ve.style.height=`${Math.ceil(Fe.bottom-Fe.top)}px`,b.insertBefore(Ve,b.childNodes[0])}}return}for(const Me of fv(Ds(a,{excludeAtomsWithBackground:!0}))){Me.left/=le,Me.right/=le,Me.top/=le,Me.bottom/=le;const Fe=document.createElement("div");Fe.classList.add("ML__selection"),Fe.style.position="absolute",Fe.style.left=`${Me.left}px`,Fe.style.top=`${Me.top}px`,Fe.style.width=`${Math.ceil(Me.right-Me.left)}px`,Fe.style.height=`${Math.ceil(Me.bottom-Me.top-1)}px`,b.insertBefore(Fe,b.childNodes[0])}}function fv(a){let y=[];for(const b of a){let E=!1;for(const te of y)if(b.left===te.left&&b.right===te.right&&b.top===te.top&&b.bottom===te.bottom){E=!0;break}E||y.push(b)}a=y,y=[];for(const b of a){let E=0;for(const te of a)if(b.left>=te.left&&b.right<=te.right&&b.top>=te.top&&b.bottom<=te.bottom&&(E+=1,E>1))break;E===1&&y.push(b)}return y}var M0=3,Zc;function pc(a,y){y=Se({target:"mathfield",canUndo:!1,audioFeedback:void 0,changeContent:!1,changeSelection:!1},y!=null?y:{}),Zc||(Zc={});for(const b of Object.keys(a))console.assert(!Zc[b],"Selector already defined: ",b),Zc[b]=me(Se({},y),{fn:a[b]})}function Mh(a){let y;if(Array.isArray(a)){if(a[0]==="performWithFeedback")return Mh(a[1]);y=a[0]}else y=a;return y=y.replace(/-\w/g,b=>b[1].toUpperCase()),Zc[y]}function jd(a){var y;return(y=Mh(a))==null?void 0:y.target}function hv(a,y){var b;if(!y)return!1;let E,te=[],ie=!1,le=!1;ue(y)?(E=y[0],te=y.slice(1)):E=y,E=E.replace(/-\w/g,Ve=>Ve[1].toUpperCase());const Me=Zc[E],Fe=Me==null?void 0:Me.target;if(Fe==="model"){if(!a.isSelectionEditable&&(Me!=null&&Me.changeContent))return a.model.announce("plonk"),!1;/^(delete|add)/.test(E)&&(E!=="deleteBackward"&&a.flushInlineShortcutBuffer(),a.snapshot(E)),/^complete/.test(E)||Ff(a),Zc[E].fn(a.model,...te),vf(a),le=!0,ie=!0}else if(Fe==="virtual-keyboard")le=(b=window.mathVirtualKeyboard.executeCommand(y))!=null?b:!1,ie=!0;else if(Zc[E]){if(!a.isSelectionEditable&&(Me!=null&&Me.changeContent))return a.model.announce("plonk"),!1;/^(undo|redo)/.test(E)&&a.flushInlineShortcutBuffer(),le=Zc[E].fn(a,...te),ie=!0}else throw new Error(`Unknown command "${E}"`);return Fe!=="virtual-keyboard"&&(!a.model.selectionIsCollapsed||Me!=null&&Me.changeSelection&&y!=="deleteBackward")&&(a.flushInlineShortcutBuffer(),Me!=null&&Me.changeContent||a.stopCoalescingUndo(),a.defaultStyle={}),le&&Eu(a),ie}function pv(a,y){var b;if(!a)return!1;a.focus(),wp.keypressVibration&&vt()&&navigator.vibrate(M0);const E=Mh(y);window.MathfieldElement.playSound((b=E==null?void 0:E.audioFeedback)!=null?b:"keypress");const te=a.executeCommand(y);return a.scrollIntoView(),te}pc({performWithFeedback:(a,y)=>pv(a,y)});function mv(a){return vf(a,{atIndex:a.suggestionIndex+1}),!1}function vv(a){return vf(a,{atIndex:a.suggestionIndex-1}),!1}pc({complete:_d},{target:"mathfield",audioFeedback:"return",canUndo:!0,changeContent:!0,changeSelection:!0}),pc({nextSuggestion:mv,previousSuggestion:vv},{target:"mathfield",audioFeedback:"keypress",changeSelection:!0});var _f="mathlive#virtual-keyboard-message";function Dh(a){var y;return a.type!=="message"?!1:((y=a.data)==null?void 0:y.type)===_f}var gv=class lm{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 lm),this._singleton}set alphabeticLayout(y){this.sendMessage("update-setting",{alphabeticLayout:y})}set layouts(y){this.sendMessage("update-setting",{layouts:y})}get normalizedLayouts(){return[]}set editToolbar(y){this.sendMessage("update-setting",{editToolbar:y})}set actionKeycap(y){this.sendMessage("update-setting",{actionKeycap:y})}set shiftKeycap(y){this.sendMessage("update-setting",{shiftKeycap:y})}set backspaceKeycap(y){this.sendMessage("update-setting",{backspaceKeycap:y})}set tabKeycap(y){this.sendMessage("update-setting",{tabKeycap:y})}set container(y){throw new Error("Container inside an iframe cannot be changed")}show(y){this.sendMessage("show",y)}hide(y){this.sendMessage("hide",y)}get isShifted(){return this._isShifted}get visible(){return this._boundingRect.height>0}set visible(y){y?this.show():this.hide()}get boundingRect(){return this._boundingRect}executeCommand(y){return this.sendMessage("execute-command",{command:y}),!0}updateToolbar(y){this.sendMessage("update-toolbar",y)}update(y){this.sendMessage("update-setting",y)}connect(){this.sendMessage("connect")}disconnect(){this.sendMessage("disconnect")}addEventListener(y,b,E){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,E){this.listeners[y]&&this.listeners[y].delete(b)}handleEvent(y){if(Dh(y)){if(!Zs(y.origin,this.originValidator))throw new DOMException(`Message from unknown origin (${y.origin}) cannot be handled`,"SecurityError");this.handleMessage(y.data)}}handleMessage(y){const{action:b}=y;if(b==="execute-command"){const{command:E}=y;jd(E)==="virtual-keyboard"&&this.executeCommand(E);return}if(b==="synchronize-proxy"){this._boundingRect=y.boundingRect,this._isShifted=y.isShifted;return}if(b==="geometry-changed"){this._boundingRect=y.boundingRect,this.dispatchEvent(new Event("geometrychange"));return}}sendMessage(y,b={}){if(!window.top)throw new DOMException("A frame does not have access to the top window and can\u2018t communicate with the keyboard. Review virtualKeyboardTargetOrigin and originValidator on mathfields embedded in an iframe","SecurityError");window.top.postMessage(Se({type:_f,action:y},b),this.targetOrigin)}},D0={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]"]]}},Vf={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"}]},gf;function k0(a,y){var b,E,te;const ie=md.singleton;if(!ie)return;const le=Ud(a),Me=(E=(b=ie.getKeycap(le==null?void 0:le.id))==null?void 0:b.variants)!=null?E:"";if(typeof Me=="string"&&!N0(Me)||Array.isArray(Me)&&Me.length===0){y==null||y();return}const Fe={};let Ve="";for(const Na of bv(Me)){const qi=P0(Na),Ca=Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);Fe[Ca]=qi;const[ci,ao]=jf(qi);Ve+=`<div id=${Ca} class="item ${ao}">${ci}</div>`}const lt=document.createElement("div");lt.setAttribute("aria-hidden","true"),lt.className="MLK__variant-panel",lt.style.height="auto";const zt=Object.keys(Fe).length;let xn=5;zt===1?xn=1:zt===2||zt===4?xn=2:zt===3||zt===5||zt===6?xn=3:zt>=7&&zt<14&&(xn=4),lt.style.width=`calc(var(--variant-keycap-length) * ${xn} + 12px)`,lt.innerHTML=wp.createHTML(Ve),Hc.open({root:(te=ie==null?void 0:ie.container)==null?void 0:te.querySelector(".ML__keyboard"),child:lt}),gf=new AbortController;const{signal:tr}=gf,pr=a==null?void 0:a.getBoundingClientRect();if(pr){pr.top-lt.clientHeight<0&&(lt.style.width="auto",zt<=6?lt.style.height="56px":zt<=12?lt.style.height="108px":zt<=18?lt.style.height="205px":lt.classList.add("compact"));const Na=Math.max(0,Math.min(window.innerWidth-lt.offsetWidth,(pr.left+pr.right-lt.offsetWidth)/2)),qi=pr.top-lt.clientHeight+5;lt.style.transform=`translate(${Na}px, ${qi}px)`,lt.classList.add("is-visible"),requestAnimationFrame(()=>{lt.addEventListener("pointerup",Ca=>{const ci=Ud(Ca.target);!(ci!=null&&ci.id)||!Fe[ci.id]||(kh(Fe[ci.id]),yf(),y==null||y(),Ca.preventDefault())},{capture:!0,passive:!1,signal:tr}),lt.addEventListener("pointerenter",Ca=>{const ci=Ud(Ca.target);!(ci!=null&&ci.id)||!Fe[ci.id]||ci.classList.add("is-active")},{capture:!0,signal:tr}),lt.addEventListener("pointerleave",Ca=>{const ci=Ud(Ca.target);!(ci!=null&&ci.id)||!Fe[ci.id]||ci.classList.remove("is-active")},{capture:!0,signal:tr}),window.addEventListener("pointercancel",()=>{yf(),y==null||y()},{signal:tr}),window.addEventListener("pointerup",()=>{yf(),y==null||y()},{signal:tr})})}}function yf(){gf==null||gf.abort(),gf=null,Hc.state==="open"&&Hc.close()}function yv(a){if(a==="foreground-color"){const y=[];for(const b of Object.keys(et))y.push({class:"swatch-button",label:'<span style="border: 3px solid '+et[b]+'"></span>',command:["applyStyle",{color:b}]});return y}if(a==="background-color"){const y=[];for(const b of Object.keys(Xe))y.push({class:"swatch-button",label:'<span style="background:'+Xe[b]+'"></span>',command:["applyStyle",{backgroundColor:b}]});return y}}function N0(a){return Vf[a]!==void 0}function bv(a){var y;return typeof a!="string"?a:(Vf[a]||(Vf[a]=(y=yv(a))!=null?y:[]),Vf[a])}function xv(a){return typeof a=="string"?a:Object.entries(a).map(([y,b])=>`${y}:${b} !important`).join(";")}function wv(a){return Object.keys(a).map(y=>`${y} {${xv(a[y])}}`).join("")}function bf(a){if(!a)return"";const y=new cl,b=new Fa({mode:"math",type:"root",body:Wu(a,{context:y,args:te=>te==="@"?"{\\class{ML__box-placeholder}{\\blacksquare}}":"\\placeholder{}"})}),E=js(cf(new ui(b.render(y),{classes:"ML__base"}),y));return bu(E,{classes:"ML__latex"}).toMarkup()}function xf(a){var y;if(Array.isArray(a))return a.map(E=>xf(E)).flat();const b=typeof a=="string"?{markup:a}:a;return"rows"in b&&Array.isArray(b.rows)&&(b.rows=b.rows.map(E=>E.map(te=>P0(te)))),(y=b.id)!=null||(b.id="ML__layer_"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36)),[b]}function Sv(){var a,y;let E=window.mathVirtualKeyboard.alphabeticLayout;if(E==="auto"){const Me=pf();Me&&(E=Me.virtualLayout),(!E||E==="auto")&&(E=(a={fr:"azerty",be:"azerty",al:"qwertz",ba:"qwertz",cz:"qwertz",de:"qwertz",hu:"qwertz",sk:"qwertz",ch:"qwertz"}[$e.locale.slice(0,2)])!=null?a:"qwerty")}const te={qwerty:["qwertyuiop"," asdfghjkl ","^zxcvbnm~"],azerty:["azertyuiop","qsdfghjklm","^ wxcvbn ~"],qwertz:["qwertzuiop"," asdfghjkl ","^yxcvbnm~"],dvorak:["^ pyfgcrl ","aoeuidhtns","qjkxbmwvz~"],colemak:[" qwfpgjluy ","arstdhneio","^zxcvbkm~"]},ie=(y=te[E])!=null?y:te.qwerty,le=E==="azerty"?[[{label:"1",variants:"1"},{label:"2",shift:{latex:"\xE9"},variants:"2"},{label:"3",shift:{latex:"\xF9"},variants:"3"},{label:"4",variants:"4"},{label:"5",shift:{label:"(",latex:"("},variants:"5"},{label:"6",shift:{label:")",latex:")"},variants:"6"},{label:"7",shift:{latex:"\xE8"},variants:"7"},{label:"8",shift:{latex:"\xEA"},variants:"8"},{label:"9",shift:{latex:"\xE7"},variants:"9"},{label:"0",shift:{latex:"\xE0"},variants:"0"}]]:[[{label:"1",variants:"1"},{label:"2",variants:"2"},{label:"3",variants:"3"},{label:"4",variants:"4"},{label:"5",shift:{latex:"\\frac{#@}{#?}"},variants:"5"},{label:"6",shift:{latex:"#@^#?"},variants:"6"},{label:"7",variants:"7"},{label:"8",shift:{latex:"\\times"},variants:"8"},{label:"9",shift:{label:"(",latex:"("},variants:"9"},{label:"0",shift:{label:")",latex:")"},variants:"0"}]];for(const Me of ie){const Fe=[];for(const Ve of Me)/[a-z]/.test(Ve)?Fe.push({label:Ve,class:"hide-shift",shift:{label:Ve.toUpperCase()},variants:N0(Ve)?Ve:void 0}):Ve==="~"?E!=="dvorak"?Fe.push("[backspace]"):Fe.push({label:"[backspace]",width:1}):Ve==="^"?Fe.push("[shift]"):Ve===" "&&Fe.push("[separator-5]");le.push(Fe)}return le.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:xf({rows:le})}}function I0(a){if(a==="alphabetic")return Sv();if(typeof a=="string")return console.assert(D0[a]!==void 0,`MathLive 0.98.5: unknown keyboard layout "${a}"`),I0(D0[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 te=a,{rows:ie}=te,le=rt(te,["rows"]);y=me(Se({},le),{layers:xf({rows:a.rows})})}else if("markup"in a&&typeof a.markup=="string"){const te=a,{markup:ie}=te,le=rt(te,["markup"]);y=me(Se({},le),{layers:xf(a.markup)})}else y=Se({},a),"layers"in a?y.layers=xf(a.layers):console.error('MathLive 0.98.5: provide either a "rows", "markup" or "layers" property');let b=!1,E=!1;for(const te of y.layers)if(te.rows)for(const ie of te.rows.flat()){Gd(ie)&&(b=!0);const le=ie.command;typeof le=="string"&&["undo","redo","cut","copy","paste"].includes(le)&&(E=!0)}return(!("displayShiftedKeycaps"in a)||a.displayShiftedKeycaps===void 0)&&(y.displayShiftedKeycaps=b),(!("displayEditToolbar"in a)||a.displayEditToolbar===void 0)&&(y.displayEditToolbar=!E),y}function Cv(a,y){var b,E;let te='<div class="left">';if(a.normalizedLayouts.length>1)for(const[ie,le]of a.normalizedLayouts.entries()){const Me=le,Fe=[ie===y?"selected":"layer-switch"];Me.tooltip&&Fe.push("MLK__tooltip"),Me.labelClass&&Fe.push(...Me.labelClass.split(" ")),te+=`<div class="${Fe.join(" ")}"`,Me.tooltip&&(te+=" data-tooltip='"+((b=ut(Me.tooltip))!=null?b:Me.tooltip)+"' "),ie!==y&&(te+=`data-layer="${Me.layers[0].id}"`),te+=`>${(E=Me.label)!=null?E:"untitled"}</div>`}return te+="</div>",te}function Ev(a,y){let b="";if(a.editToolbar==="none")return"";const te=[];y.selectionIsCollapsed?te.push("undo","redo","pasteFromClipboard"):te.push("cutToClipboard","copyToClipboard","pasteFromClipboard");const ie={undo:`<div class='action ${y.canUndo===!1?"disabled":""}'
|
|
|
data-command='"undo"'
|
|
|
data-tooltip='${ut("tooltip.undo")}'>
|
|
|
<svg><use xlink:href='#svg-undo' /></svg>
|
|
|
</div>`,redo:`<div class='action ${y.canRedo===!1?"disabled":""}'
|
|
|
data-command='"redo"'
|
|
|
data-tooltip='${ut("tooltip.redo")}'>
|
|
|
<svg><use xlink:href='#svg-redo' /></svg>
|
|
|
</div>`,cutToClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"cutToClipboard"'
|
|
|
data-tooltip='${ut("tooltip.cut to clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-cut' /></svg>
|
|
|
</div>
|
|
|
`,copyToClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"copyToClipboard"'
|
|
|
data-tooltip='${ut("tooltip.copy to clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-copy' /></svg>
|
|
|
</div>
|
|
|
`,pasteFromClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"pasteFromClipboard"'
|
|
|
data-tooltip='${ut("tooltip.paste from clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-paste' /></svg>
|
|
|
</div>
|
|
|
`};return b+=te.map(le=>ie[le]).join(""),b}function Av(a){for(const y of a)Mv(y)}function Mv(a){const y=md.singleton;if(!y)return;const b={};if(!a.id){if(a.hasAttribute("data-label")&&(b.label=a.dataset.label),a.hasAttribute("data-latex")&&(b.latex=a.dataset.latex),a.hasAttribute("data-key")&&(b.key=a.dataset.key),a.hasAttribute("data-insert")&&(b.insert=a.dataset.insert),a.hasAttribute("data-variants")&&(b.variants=a.dataset.variants),a.hasAttribute("data-aside")&&(b.aside=a.dataset.aside),a.className&&(b.class=a.className),!b.label&&!b.latex&&!b.key&&!b.insert&&(b.latex=a.innerText,b.label=a.innerHTML),a.hasAttribute("data-command"))try{b.command=JSON.parse(a.dataset.command)}catch(E){}a.id=y.registerKeycap(b)}if(!a.innerHTML){const[E,te]=jf(b);a.innerHTML=window.MathfieldElement.createHTML(E)}}function Dv(){hc("virtual-keyboard"),hc("core"),Zf()}function kv(){x("core"),x("virtual-keyboard")}var Nv=`<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 Iv(a){a.resetKeycapRegistry(),Dv();const y=document.createElement("div");y.className="ML__keyboard";const b=document.createElement("div");b.className="MLK__plate",b.innerHTML=window.MathfieldElement.createHTML(Nv+a.normalizedLayouts.map((le,Me)=>Pv(a,le,Me)).join(""));const E=document.createElement("div");E.className="MLK__backdrop",E.appendChild(b),y.appendChild(E),y.addEventListener("pointerdown",Lv,{passive:!1});const te=y.querySelectorAll(".ML__edit-toolbar");if(te)for(const le of te)le.addEventListener("click",Me=>{var Fe,Ve;let lt=Me.target,zt="";for(;lt&&!zt;)zt=(Fe=lt==null?void 0:lt.getAttribute("data-command"))!=null?Fe:"",lt=(Ve=lt==null?void 0:lt.parentElement)!=null?Ve:null;zt&&a.executeCommand(JSON.parse(zt))});Av(y.querySelectorAll(".MLK__keycap, .action, .fnbutton, .bigfnbutton"));const ie=y.querySelectorAll(".MLK__layer");console.assert(ie.length>0,"No virtual keyboards available");for(const le of ie)le.addEventListener("pointerdown",Me=>Me.preventDefault());return a.currentLayer=a.latentLayer,y}function Pv(a,y,b){const E=[];if(!("layers"in y))return"";for(const te of y.layers)E.push(`<div tabindex="-1" class="MLK__layer" id="${te.id}">`),(a.normalizedLayouts.length>1||y.displayEditToolbar)&&(E.push("<div class='MLK__toolbar' role='toolbar'>"),E.push(Cv(a,b)),y.displayEditToolbar&&E.push('<div class="ML__edit-toolbar right"></div>'),E.push("</div>")),E.push(Bv(a,te)),E.push("</div>");return E.join("")}function Bv(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>${wv(y.style)}</style>`),y.backdrop&&(b+=`<div class='${y.backdrop}'>`),y.container&&(b+=`<div class='${y.container}'>`),y.rows){b+="<div class=MLK__rows>";for(const E of y.rows){b+="<div dir='ltr' class=MLK__row>";for(const te of E)if(te){const ie=a.registerKeycap(te),[le,Me]=jf(te);/(^|\s)separator/.test(Me)?b+=`<div class="${Me}"`:b+=`<div tabindex="-1" id="${ie}" class="${Me}"`,te.tooltip&&(b+=` data-tooltip="${te.tooltip}"`),b+=`>${le}</div>`}b+="</div>"}b+="</div>"}else y.markup&&(b+=y.markup);return y.container&&(b+="</div>"),y.backdrop&&(b+="</div>"),b}function jf(a,y={shifted:!1}){var b,E,te,ie,le,Me,Fe;let Ve="",lt=(b=a.class)!=null?b:"";if(y.shifted&&Gd(a)&&(lt+=" is-active"),y.shifted&&"shift"in a)typeof a.shift=="string"?Ve=bf(a.shift):typeof a.shift=="object"&&(Ve=a.shift.label?a.shift.label:(E=bf(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?E:""),typeof a.shift=="object"&&(lt=(ie=(te=a.shift.class)!=null?te:a.class)!=null?ie:"");else{if(Ve=a.label?a.label:(le=bf(a.latex||a.insert||"")||a.key)!=null?le:"",a.shift){let zt;typeof a.shift=="string"?zt=bf(a.shift):a.shift.label?zt=a.shift.label:zt=(Me=bf(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?Me:"",Ve+=`<span class="MLK__shift">${zt}</span>`}a.aside&&(Ve+=`<aside>${a.aside}</aside>`)}return a.layer&&!/layer-switch/.test(lt)&&(lt+=" layer-switch"),/(^|\s)(separator|action|shift|fnbutton|bigfnbutton)($|\s)/.test(lt)||(lt+=" MLK__keycap"),!/\bw[0-9]+\b/.test(lt)&&a.width&&(lt+=(Fe={0:" w0",.5:" w5",1.5:" w15",2:" w20",5:" w50"}[a.width])!=null?Fe:""),[Ve,lt||"MLK__keycap"]}var Dd={"[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 P0(a){var y;if(typeof a=="string"){if(a==="[.]"&&window.MathfieldElement.decimalSeparator===","&&(a="[,]"),!Dd[a])return{latex:a};a={label:a}}let b;return"label"in a&&a.label&&Dd[a.label]&&(b=me(Se(Se({},Dd[a.label]),a),{label:Dd[a.label].label})),"key"in a&&a.key&&Dd[a.key]&&(b=me(Se(Se({},Dd[a.key]),a),{key:Dd[a.key].key})),b?(b.command==="insertDecimalSeparator"&&(b.label=(y=window.MathfieldElement.decimalSeparator)!=null?y:"."),a.label==="[action]"&&(b=Se(Se({},b),window.mathVirtualKeyboard.actionKeycap)),a.label==="[shift]"&&(b=Se(Se({},b),window.mathVirtualKeyboard.shiftKeycap)),a.label==="[backspace]"&&(b=Se(Se({},b),window.mathVirtualKeyboard.backspaceKeycap)),a.label==="[tab]"&&(b=Se(Se({},b),window.mathVirtualKeyboard.tabKeycap)),b):a}var wf;function Lv(a){var y;if(a.button!==0)return;const b=md.singleton;if(!b)return;let E=a.target;for(;E&&!E.getAttribute("data-layer");)E=E.parentElement;if(E){b.currentLayer=(y=E.getAttribute("data-layer"))!=null?y:"",a.preventDefault();return}const te=Ud(a.target);if(!(te!=null&&te.id))return;const ie=b.getKeycap(te.id);if(!ie)return;console.assert(a.type==="pointerdown");const le=new AbortController,Me=le.signal;te.classList.add("is-pressed"),te.addEventListener("pointerenter",Uf(le),{capture:!0,signal:Me}),te.addEventListener("pointerleave",Uf(le),{capture:!0,signal:Me}),te.addEventListener("pointercancel",Uf(le),{signal:Me}),te.addEventListener("pointerup",Uf(le),{signal:Me}),Gd(ie)&&(te.classList.add("is-active"),b.shiftPressCount++),ie.variants&&(wf&&clearTimeout(wf),wf=setTimeout(()=>{te.classList.contains("is-pressed")&&(te.classList.remove("is-pressed"),te.classList.add("is-active"),a.target&&"releasePointerCapture"in a.target&&a.target.releasePointerCapture(a.pointerId),k0(te,()=>{le.abort(),te==null||te.classList.remove("is-active")}))},300)),a.preventDefault()}function Uf(a){return y=>{const b=Ud(y.target);if(!(b!=null&&b.id))return;const E=md.singleton;if(!E)return;const te=E.getKeycap(b.id);if(te){if(y.type==="pointerenter"&&y.target===b&&y.isPrimary&&b.classList.add("is-pressed"),y.type==="pointercancel"){b.classList.remove("is-pressed"),Gd(te)&&(E.shiftPressCount--,b.classList.toggle("is-active",E.isShifted)),a.abort();return}if(y.type==="pointerleave"&&y.target===b){b.classList.remove("is-pressed"),Gd(te)&&(E.shiftPressCount--,b.classList.toggle("is-active",E.isShifted));return}if(y.type==="pointerup"){wf&&clearTimeout(wf),Gd(te)?b.classList.toggle("is-active",E.isShifted):b.classList.contains("is-pressed")&&(b.classList.remove("is-pressed"),E.isShifted&&te.shift?typeof te.shift=="string"?E.executeCommand(["insert",te.shift,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]):kh(te.shift):kh(te),E.shiftPressCount===1&&!y.shiftKey&&(E.shiftPressCount=0)),a.abort(),y.preventDefault();return}}}}function kh(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=md.singleton)==null||y.executeCommand(b)}function Ov(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 Ud(a){if(!a)return;let y=a;for(;y&&!Ov(y);)y=y.parentElement;return y!=null?y:void 0}function Gd(a){return!!a.class&&/(^|\s)shift($|\s)/.test(a.class)}var md=class sm{constructor(){this.originalContainerBottomPadding=null,this.keycapRegistry={},this._shiftPressCount=0;var y,b,E;this.targetOrigin=window.origin,this.originValidator="none",this._alphabeticLayout="auto",this._layouts=Object.freeze(["default"]),this._editToolbar="default",this._container=(b=(y=window.document)==null?void 0:y.body)!=null?b:null,this._visible=!1,this._rebuilding=!1,this.observer=new ResizeObserver(te=>{this.adjustBoundingRect(),this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect})}),this.listeners={};try{(E=window.top)==null||E.addEventListener("message",this)}catch(te){window.addEventListener("message",this)}document.body.addEventListener("focusin",te=>{const ie=te.target;ie!=null&&ie.isConnected&&setTimeout(()=>{const le=B0();le&&!le.readOnly&&le.mathVirtualKeyboardPolicy==="auto"&&ot()&&this.show({animate:!0})},300)}),document.addEventListener("focusout",te=>{te.target.mathVirtualKeyboardPolicy!=="manual"&&setTimeout(()=>{B0()||this.hide()},300)})}get currentLayer(){var y,b,E;return(E=(b=(y=this._element)==null?void 0:y.querySelector(".MLK__layer.is-visible"))==null?void 0:b.id)!=null?E:""}set currentLayer(y){var b;if(!this._element){this.latentLayer=y;return}let E=y?this._element.querySelector(`#${y}.MLK__layer`):null;E||(E=this._element.querySelector(".MLK__layer")),E&&((b=this._element.querySelector(".MLK__layer.is-visible"))==null||b.classList.remove("is-visible"),E.classList.add("is-visible")),this.render()}get shiftPressCount(){return this._shiftPressCount}set shiftPressCount(y){var b;this._shiftPressCount=y>2||y<0?0:y,(b=this._element)==null||b.classList.toggle("is-caps-lock",this.shiftPressCount===2),this.render()}get isShifted(){return this._shiftPressCount>0}resetKeycapRegistry(){this.keycapRegistry={}}registerKeycap(y){const b="ML__k"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);return this.keycapRegistry[b]=y,b}getKeycap(y){return y?this.keycapRegistry[y]:void 0}getLayer(y){const b=this.normalizedLayouts;for(const E of b)for(const te of E.layers)if(te.id===y)return te}get alphabeticLayout(){return this._alphabeticLayout}set alphabeticLayout(y){this._alphabeticLayout=y,this.rebuild()}get actionKeycap(){return this._actionKeycap}set actionKeycap(y){this._actionKeycap=typeof y=="string"?{label:y}:y}get shiftKeycap(){return this._shiftKeycap}set shiftKeycap(y){this._shiftKeycap=typeof y=="string"?{label:y}:y}get backspaceKeycap(){return this._backspaceKeycap}set backspaceKeycap(y){this._backspaceKeycap=typeof y=="string"?{label:y}:y}get tabKeycap(){return this._tabKeycap}set tabKeycap(y){this._tabKeycap=typeof y=="string"?{label:y}:y}get layouts(){return this._layouts}set layouts(y){this.updateNormalizedLayouts(y),this.rebuild()}updateNormalizedLayouts(y){const b=Array.isArray(y)?[...y]:[y],E=b.findIndex(te=>te==="default");E>=0&&b.splice(E,1,"numeric","symbols","alphabetic","greek"),this._layouts=Object.freeze(b),this._normalizedLayouts=b.map(te=>I0(te))}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 sm}catch(y){this._singleton=null}return this._singleton}get style(){return this._style}addEventListener(y,b,E){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,E){this.listeners[y]&&this.listeners[y].delete(b)}get element(){return this._element}set element(y){var b;this._element!==y&&((b=this._element)==null||b.remove(),this._element=y)}get visible(){return this._visible}set visible(y){y?this.show():this.hide()}get boundingRect(){var y;if(!this._visible)return new DOMRect;const b=(y=this._element)==null?void 0:y.getElementsByClassName("MLK__plate")[0];return b?b.getBoundingClientRect():new DOMRect}adjustBoundingRect(){var y,b;const E=this.boundingRect.height;if(this.container===document.body){(y=this._element)==null||y.style.setProperty("--_keyboard-height",`calc(${E}px + var(--_padding-top) + var(--_padding-bottom) + env(safe-area-inset-bottom, 0))`);const te=E-1;this.container.style.paddingBottom=this.originalContainerBottomPadding?`calc(${this.originalContainerBottomPadding} + ${te}px)`:`${te}px`}else(b=this._element)==null||b.style.setProperty("--_keyboard-height",`${E}px`)}rebuild(){if(this._rebuilding||!this._element)return;this._rebuilding=!0;const y=this.currentLayer;requestAnimationFrame(()=>{this._rebuilding=!1,this._element&&(this._element.remove(),this._element=void 0),this.visible&&(this.buildAndAttachElement(),this.currentLayer=y,this.render(),this.adjustBoundingRect(),this._element.classList.add("is-visible"))})}render(){if(!this._element)return;const y=this.getLayer(this.currentLayer);this._element.classList.toggle("backdrop-is-transparent",!!(y&&(y.backdrop||y.container)));const b=this._element.querySelectorAll(".MLK__layer.is-visible .MLK__keycap, .MLK__layer.is-visible .action, .fnbutton, .MLK__layer.is-visible .bigfnbutton, .MLK__layer.is-visible .shift");if(b)for(const E of b){const te=this.getKeycap(E.id);if(te){const[ie,le]=jf(te,{shifted:this.isShifted});E.innerHTML=window.MathfieldElement.createHTML(ie),E.className=le}}}show(y){var b;if(this._visible)return;const E=this.container;if(E&&window.mathVirtualKeyboard&&this.stateWillChange(!0)){if(this._element||(this.buildAndAttachElement(),this.adjustBoundingRect()),!this._visible){const te=this._element.getElementsByClassName("MLK__plate")[0];if(te&&this.observer.observe(te),E===window.document.body){const ie=E.style.paddingBottom;this.originalContainerBottomPadding=ie;const le=te.offsetHeight-1;E.style.paddingBottom=ie?`calc(${ie} + ${le}px)`:`${le}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 te;return(te=this._element)==null?void 0:te.classList.remove("animate")},{once:!0}),this._element.classList.add("is-visible"),this.stateChanged())}):(this._element.classList.add("is-visible"),this.stateChanged())}}hide(y){var b;const E=this.container;if(E&&this._visible&&this.stateWillChange(!1)){if(this._visible=!1,this._element){this.latentLayer=this.currentLayer;const te=this._element.getElementsByClassName("MLK__plate")[0];te&&this.observer.unobserve(te),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}),yf(),kv(),(b=this._element)==null||b.remove(),this._element=void 0,this.originalContainerBottomPadding!==null&&(E.style.paddingBottom=this.originalContainerBottomPadding)}this.stateChanged()}}get height(){var y,b;return(b=(y=this.element)==null?void 0:y.offsetHeight)!=null?b:0}buildAndAttachElement(){var y;console.assert(!this.element),this.element=Iv(this),window.addEventListener("contextmenu",this,{capture:!0}),this.element.addEventListener("contextmenu",b=>{b.shiftKey||((b.ctrlKey||b.button===2)&&k0(b.target),b.preventDefault(),b.stopPropagation())},{capture:!0}),(y=this.container)==null||y.appendChild(this.element)}handleEvent(y){if(Dh(y)){if(!Zs(y.origin,this.originValidator))throw new DOMException(`Message from unknown origin (${y.origin}) cannot be handled`,"SecurityError");y.data.action==="disconnect"?this.connectedMathfieldWindow=void 0:y.data.action!=="update-setting"&&y.data.action!=="proxy-created"&&y.data.action!=="execute-command"&&(console.assert(y.source!==void 0),this.connectedMathfieldWindow=y.source),this.handleMessage(y.data,y.source)}if(this._element)switch(y.type){case"mouseup":case"blur":document.body.style.userSelect="",this.shiftPressCount=0;break;case"contextmenu":y.button!==2&&y.preventDefault();break;case"keydown":{y.key==="Shift"&&!y.repeat&&(this.shiftPressCount=1);break}case"keyup":{(y.key==="Shift"||!y.getModifierState("Shift")&&this.shiftPressCount!==2)&&(this.shiftPressCount=0);break}}}handleMessage(y,b){const{action:E}=y;if(E==="execute-command"){const{command:te}=y,ie=jd(te);if(window.top!==void 0&&ie!=="virtual-keyboard")return;this.executeCommand(te);return}if((E==="connect"||E==="show")&&this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b),E!=="disconnect"&&window===window.top){if(E==="show"){typeof y.animate!="undefined"?this.show({animate:y.animate}):this.show();return}if(E==="hide"){typeof y.animate!="undefined"?this.hide({animate:y.animate}):this.hide();return}if(E==="update-setting"){y.alphabeticLayout&&(this.alphabeticLayout=y.alphabeticLayout),y.layouts&&(this.layouts=y.layouts),y.editToolbar&&(this.editToolbar=y.editToolbar);return}if(E==="proxy-created"){this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b);return}}}sendMessage(y,b,E){if(E||(E=this.connectedMathfieldWindow),this.targetOrigin===null||this.targetOrigin==="null"||E===window){window.dispatchEvent(new MessageEvent("message",{source:window,data:Se({type:_f,action:y},b)}));return}if(E)E.postMessage(Se({type:_f,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 te=b.command[1].split("");for(const ie of te)this.dispatchEvent(new KeyboardEvent("keydown",{key:ie,bubbles:!0})),this.dispatchEvent(new KeyboardEvent("keyup",{key:ie,bubbles:!0}))}}stateWillChange(y){return this.dispatchEvent(new CustomEvent("before-virtual-keyboard-toggle",{detail:{visible:y},bubbles:!0,cancelable:!0,composed:!0}))}stateChanged(){this.dispatchEvent(new Event("virtual-keyboard-toggle")),this._visible||(this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect}))}focus(){this.sendMessage("focus",{})}blur(){this.sendMessage("blur",{})}updateToolbar(y){const b=this._element;if(!b)return;b.classList.toggle("is-math-mode",y.mode==="math"),b.classList.toggle("is-text-mode",y.mode==="text"),b.classList.toggle("can-undo",y.canUndo),b.classList.toggle("can-redo",y.canRedo),b.classList.toggle("can-copy",!y.selectionIsCollapsed),b.classList.toggle("can-copy",!y.selectionIsCollapsed),b.classList.toggle("can-paste",!0);const E=b.querySelectorAll(".ML__edit-toolbar");if(E)for(const te of E)te.innerHTML=Ev(this,y)}update(y){this._style=y.style,this.updateToolbar(y)}connect(){this.connectedMathfieldWindow=window}disconnect(){this.connectedMathfieldWindow=void 0}executeCommand(y){let b,E=[],te=jd(y);return ue(y)?(b=y[0],b==="performWithFeedback"&&(y=y.slice(1),te=jd(y)),E=y.slice(1)):b=y,b=b.replace(/-\w/g,ie=>ie[1].toUpperCase()),te==="virtual-keyboard"?Zc[b].fn(void 0,...E):(this.sendMessage("execute-command",{command:y}),!1)}dispose(){window.removeEventListener("mouseup",this),window.removeEventListener("blur",this),window.removeEventListener("message",this)}};function B0(){var a,y;let b=Rf(),E=null;for(;b;){if("host"in b&&((y=(a=b.host)==null?void 0:a.tagName)==null?void 0:y.toLowerCase())==="math-field"){E=b.host;break}b=b.parentNode}return E}if(mt()&&!("mathVirtualKeyboard"in window))if(window===window.top){const a=md.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>a})}else Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>gv.singleton,configurable:!0});function Gf(a){const y={};for(const b of Object.keys(a))switch(b){case"scriptDepth":const E=a.scriptDepth;if(ue(E))y.scriptDepth=[E[0],E[1]];else if(typeof E=="number")y.scriptDepth=[E,E];else if(typeof E=="string"){const[ie,le]=E.split(",").map(Me=>parseInt(Me.trim()));y.scriptDepth=[ie,le]}else throw new TypeError("Unexpected value for scriptDepth");break;case"mathVirtualKeyboardPolicy":let te=a.mathVirtualKeyboardPolicy.toLowerCase();if(te==="sandboxed"){if(window!==window.top){const ie=md.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>ie})}te="manual"}y.mathVirtualKeyboardPolicy=te;break;case"letterShapeStyle":a.letterShapeStyle==="auto"?$e.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=Ut(a.macros);break;default:ue(a[b])?y[b]=[...a[b]]:typeof a[b]=="object"&&!(a[b]instanceof Element)&&b!=="computeEngine"?y[b]=Se({},a[b]):y[b]=a[b]}return y}function kd(a,y){let b;typeof y=="string"?b=[y]:y===void 0?b=Object.keys(a):b=y;const E={};for(const te of b)a[te]===null?E[te]=null:ue(a[te])?E[te]=[...a[te]]:typeof a[te]=="object"&&!(a[te]instanceof Element)&&te!=="computeEngine"?E[te]=Se({},a[te]):E[te]=a[te];return typeof y=="string"?E[y]:E}function Yf(){return{readOnly:!1,defaultMode:"math",macros:{},registers:{},colorMap:Re,backgroundColorMap:Be,letterShapeStyle:$e.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:Fd,inlineShortcuts:ys,inlineShortcutTimeout:0,mathVirtualKeyboardPolicy:"auto",virtualKeyboardTargetOrigin:window==null?void 0:window.origin,originValidator:"none",onInlineShortcut:()=>"",onScrollIntoView:null,onExport:bd,value:""}}function L0(a){return a.defaultMode==="inline-math"?"math":a.defaultMode}function vd(a,y){!a||!y||(ue(a)?a.forEach(b=>vd(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),vd(a.body,y),vd(a.above,y),vd(a.below,y),vd(a.subscript,y),vd(a.superscript,y)))}function Nh(a,y,b,E){function te(le,Me){for(const Fe of ie)if(Fe.style[le]!==Me)return!1;return!0}if(y=a.normalizeRange(y),y[0]===y[1])return!1;const ie=a.getAtoms(y,{includeChildren:!0});E.operation==="toggle"&&(b.color&&te("color",b.color)&&(b.color="none",delete b.verbatimColor),b.backgroundColor&&te("backgroundColor",b.backgroundColor)&&(b.backgroundColor="none",delete b.verbatimBackgroundColor),b.fontFamily&&te("fontFamily",b.fontFamily)&&(b.fontFamily="none"),b.fontSeries&&te("fontSeries",b.fontSeries)&&(b.fontSeries="auto"),b.fontShape&&te("fontShape",b.fontShape)&&(b.fontShape="auto"),b.fontSize&&te("fontSize",b.fontSize)&&(b.fontSize=Za),b.variant&&te("variant",b.variant)&&(b.variant="normal"),b.variantStyle&&te("variantStyle",b.variantStyle)&&(b.variantStyle=""));for(const le of ie)le.applyStyle(b);return!0}function Tv(a,y){const b=a.at(a.position);if(b.type==="composition")b.value=y;else{const{caret:E}=b;b.caret=void 0;const te=new nd(y,{mode:b.mode});te.caret=E,b.parent.addChildAfter(te,b),a.position+=1}}function Rv(a){const y=a.at(a.position);y.type==="composition"&&(y.parent.removeChild(y),a.position-=1)}Vt(["math","displaymath"],Ec),Vt("center",Ec),Fn("displaylines","",{parse:a=>{const y=[];let b=[];a.beginContext({tabular:!0});do{if(a.end()||a.match("<}>"))break;a.matchColumnSeparator()||a.matchRowSeparator()?(y.push([b]),b=[]):b.push(...a.scan(E=>["<}>","&","\\cr","\\\\","\\tabularnewline"].includes(E)))}while(!0);return a.endContext(),y.push([b]),y},createAtom:a=>new fs("lines",a.args,[],{leftDelim:".",rightDelim:".",columns:[{align:"l"}]})}),gn("array","{columns:colspec}",(a,y,b,E)=>new fs(a,Ih(y),b,{columns:E[0],mathstyleName:"textstyle"})),gn(["equation","equation*","subequations"],"",(a,y,b)=>new fs(a,Ih(y),b,{columns:[{align:"c"}]})),gn(["multline","multline*"],"",Ec),gn(["align","align*","aligned","eqnarray"],"",Ec),gn("split","",Ec),gn(["gather","gathered"],"",Ec),gn(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],"[columns:colspec]",Ec),gn(["smallmatrix","smallmatrix*"],"[columns:colspec]",Ec),gn(["cases","dcases","rcases"],"",Ec);function Fv(a){for(const y of a)for(const b of y)if(b.length>0)return!1;return!0}function Ih(a,y=1){return Fv(a)?Array(y).fill([[new Fa({type:"first"}),new Ol]]):a.map(b=>b.length===0?[[new Fa({type:"first"})]]:b.map(E=>E.length===0?[new Fa({type:"first"})]:(E[0].type!=="first"&&E.unshift(new Fa({type:"first"})),E)))}function Ec(a,y=[[[]]],b=[],E=[]){switch(y=Ih(y,["split","align","align*","aligned","eqnarray"].includes(a)?2:1),a){case"math":return new fs(a,y,b,{mathstyleName:"textstyle"});case"displaymath":return new fs(a,y,b,{mathstyleName:"textstyle"});case"center":return new fs(a,y,b,{columns:[{align:"c"}]});case"multline":case"multline*":return new fs(a,y,b,{columns:[{align:"m"}],leftDelim:".",rightDelim:"."});case"split":return new fs(a,y,b,{columns:[{align:"r"},{align:"l"}],minColumns:2});case"gather":case"gathered":return new fs(a,y,b,{columns:[{gap:.25},{align:"c"},{gap:0}]});case"pmatrix":case"pmatrix*":return new fs(a,y,b,{mathstyleName:"textstyle",leftDelim:"(",rightDelim:")",columns:Nd(E[0])});case"bmatrix":case"bmatrix*":return new fs(a,y,b,{mathstyleName:"textstyle",leftDelim:"[",rightDelim:"]",columns:Nd(E[0])});case"Bmatrix":case"Bmatrix*":return new fs(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\lbrace",rightDelim:"\\rbrace",columns:Nd(E[0])});case"vmatrix":case"vmatrix*":return new fs(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\vert",rightDelim:"\\vert",columns:Nd(E[0])});case"Vmatrix":case"Vmatrix*":return new fs(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\Vert",rightDelim:"\\Vert",columns:Nd(E[0])});case"matrix":case"matrix*":return new fs(a,y,b,{mathstyleName:"textstyle",leftDelim:".",rightDelim:".",columns:Nd(E==null?void 0:E[0])});case"smallmatrix":case"smallmatrix*":return new fs(a,y,b,{mathstyleName:"scriptstyle",columns:Nd(E==null?void 0:E[0]),colSeparationType:"small",arraystretch:.5});case"cases":case"dcases":return new fs(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 fs(a,y,b,{arraystretch:1.2,leftDelim:".",rightDelim:"\\rbrace",columns:[{align:"l"},{gap:1},{align:"l"}]});case"lines":return new fs(a,y,b,{leftDelim:".",rightDelim:".",columns:[{align:"l"}]});case"align":case"align*":case"aligned":case"eqnarray":{let te=0;for(const Me of y)te=Math.max(te,Me.length);const ie=[{gap:0},{align:"r"},{gap:.25},{align:"l"}];let le=2;for(;le<te;)ie.push({gap:1},{align:"r"},{gap:.25},{align:"l"}),le+=2;return ie.push({gap:0}),new fs(a,y,b,{arraycolsep:0,columns:ie,minColumns:2})}}return new fs(a,y,b,{mathstyleName:"textstyle"})}function Nd(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 Kv(a,y){let b=a.at(a.position);for(;b&&!(b.parent instanceof fs);)b=b.parent;if(b&&b.type==="array"&&b.environmentName,!b||!(b.parent instanceof fs)){const E=a.at(a.position);if(b=E,!b.parent.parent){let te=a.extractAtoms([a.position,a.lastOffset]),ie=a.extractAtoms([0,a.position]);ie.length===0&&(ie=Jf()),te.length===0&&(te=Jf());let le;return y.endsWith("column")?(le=Ec("split",[[ie,te]]),a.root=le,Id(le,0,0)?Pd(a,le,0,0):Id(le,0,1)?Pd(a,le,0,1):a.position=a.offsetOf(E)):(le=Ec("lines",[[ie],[te]]),a.root=le,Id(le,0,0)?Pd(a,le,0,0):Id(le,1,0)?Pd(a,le,1,0):a.position=a.offsetOf(E)),[void 0,[0,0]]}if(b.parent instanceof Fs){const te=b.parent;let ie=a.extractAtoms([a.position,a.offsetOf(te.lastChild)]),le=a.extractAtoms([a.offsetOf(te.firstChild),a.position]);le.length===0&&(le=Jf()),ie.length===0&&(ie=Jf());let Me="pmatrix";const Fe=te.leftDelim,Ve=te.rightDelim;Fe==="("&&(Ve===")"||Ve==="?")?Me="pmatrix":(Fe==="["||Fe==="\\lbrack")&&(Ve==="]"||Ve==="\\rbrack"||Ve==="?")?Me="bmatrix":Fe==="\\vert"&&Ve==="\\vert"?Me="vmatrix":Fe==="\\Vert"&&Ve==="\\Vert"?Me="Vmatrix":(Fe==="{"||Fe==="\\lbrace")&&(Ve==="."||Ve==="?")&&(Me="cases");const lt=Ec(Me,y.endsWith("column")?[[le,ie]]:[[le],[ie]]);return te.parent.addChildBefore(lt,te),te.parent.removeChild(te),Id(lt,0,0)?Pd(a,lt,0,0):y.endsWith("column")?Id(lt,0,1)?Pd(a,lt,0,1):a.position=a.offsetOf(b):Id(lt,1,0)?Pd(a,lt,1,0):a.position=a.offsetOf(b),[void 0,[0,0]]}}return b&&b.parent instanceof fs?[b.parent,b.parentBranch]:[void 0,[0,0]]}function Id(a,y,b){const E=a.getCell(y,b);return!E||E.length!==2?!1:E[1].type==="placeholder"}function zv(a,y,b,E){const te=y.getCell(b,E);return te?[a.offsetOf(te[0]),a.offsetOf(te[te.length-1])]:-1}function Pd(a,y,b,E){const te=zv(a,y,b,E);typeof te!="number"&&a.setSelection(te)}function Qf(a,y,b,E,te){const ie=y.getCell(b,E);ie&&a.setPositionHandlingPlaceholder(a.offsetOf(ie[te==="start"?0:ie.length-1]))}function Xf(a,y){const[b,[E,te]]=Kv(a,y);if(b)switch(y){case"after row":b.addRowAfter(E),Qf(a,b,E+1,0,"end");break;case"after column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnAfter(te),Qf(a,b,E,te+1,"end");break;case"before row":b.addRowBefore(E),Qf(a,b,E,0,"start");break;case"before column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnBefore(te),Qf(a,b,E,te,"start");break}}function O0(a){return a.contentWillChange({inputType:"insertText"})?(Xf(a,"after row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Hv(a){return a.contentWillChange({inputType:"insertText"})?(Xf(a,"before row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function T0(a){return a.contentWillChange({inputType:"insertText"})?(Xf(a,"after column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Zv(a){return a.contentWillChange({inputType:"insertText"})?(Xf(a,"before column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function R0(a,y){if(!a.contentWillChange({}))return!1;a.mathfield.snapshot();let b=".",E=".";switch(y){case"pmatrix":case"pmatrix*":b="(",E=")";break;case"bmatrix":case"bmatrix*":b="[",E="]";break;case"Bmatrix":case"Bmatrix*":b="\\lbrace",E="\\rbrace";break;case"vmatrix":case"vmatrix*":b="\\vert",E="\\vert";break;case"Vmatrix":case"Vmatrix*":b="\\Vert",E="\\Vert";break;case"matrix":case"matrix*":b=".",E=".";break;case"cases":case"dcases":b="\\lbrace";break;case"rcases":E="\\rbrace";break}const te=a.at(a.position),ie=te.type==="array"?te:a.parentEnvironment;return ie.environmentName=y,ie.leftDelim=b,ie.rightDelim=E,a.contentDidChange({}),!0}function F0(a,y){let b=a.at(a.position);for(;b&&!(Array.isArray(b.parentBranch)&&b.parent instanceof fs);)b=b.parent;if(Array.isArray(b==null?void 0:b.parentBranch)&&(b==null?void 0:b.parent)instanceof fs){const E=b.parent,te=b.parentBranch;let ie;switch(y){case"row":if(E.rowCount>1){E.removeRow(te[0]);const le=E.getCell(Math.max(0,te[0]-1),te[1]);ie=a.offsetOf(le[le.length-1])}break;case"column":if(E.colCount>E.minColumns){E.removeColumn(te[1]);const le=E.getCell(te[0],Math.max(0,te[1]-1));ie=a.offsetOf(le[le.length-1])}break}ie&&a.setPositionHandlingPlaceholder(ie)}}function Wv(a){return a.contentWillChange({inputType:"deleteContent"})?(F0(a,"row"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}function _v(a){return a.contentWillChange({inputType:"deleteContent"})?(F0(a,"column"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}pc({addRowAfter:O0,addColumnAfter:T0,addRowBefore:Hv,addColumnBefore:Zv,removeRow:Wv,removeColumn:_v,setEnvironment:R0},{target:"model",canUndo:!0,changeContent:!0,changeSelection:!0});function Jf(){return[new Ol]}var K0=class um{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>um.maximumDepth&&(this.stack.shift(),this.index-=1),this.lastOp=y!=null?y:"",!0):!1}};K0.maximumDepth=1e3;var Vv=K0;function Ph(a,y,b){if(a.at(y).mode!=="text")return y;const E=b==="backward"?-1:1;let te;if(ge.test(a.at(y).value)){let ie=y,le;do le=a.at(ie).mode==="text"&&ge.test(a.at(ie).value),ie+=E;while(a.at(ie)&&le);te=a.at(ie)?ie-2*E:ie-E}else if(/\s/.test(a.at(y).value)){let ie=y;for(;a.at(ie)&&a.at(ie).mode==="text"&&/\s/.test(a.at(ie).value);)ie+=E;if(!a.at(ie))te=ie-E;else{let le=!0;do le=a.at(ie).mode==="text"&&!/\s/.test(a.at(ie).value),ie+=E;while(a.at(ie)&&le);te=a.at(ie)?ie-2*E:ie-E}}else{let ie=y;for(;a.at(ie)&&a.at(ie).mode==="text"&&!/\s/.test(a.at(ie).value);)ie+=E;te=a.at(ie)?ie:ie-E;let le=!0;for(;a.at(ie)&≤)le=a.at(ie).mode==="text"&&/\s/.test(a.at(ie).value),le&&(te=ie),ie+=E;te=a.at(ie)?ie-2*E:ie-E}return te-(E>0?0:1)}function Yd(a,y,b){var E,te,ie,le,Me,Fe,Ve;const lt=a.position;(E=b==null?void 0:b.extend)!=null&&E||a.collapseSelection(y);let zt=a.at(a.position);if(y==="forward"&&(zt.type==="subsup"?(zt=zt.rightSibling,zt||(zt=a.at(a.position+1))):zt=a.at(a.position+1)),!zt)return a.announce("plonk"),!1;let xn=a.offsetOf(zt);if(zt instanceof nc)xn=Ph(a,xn,y);else if(zt instanceof Gu)if(zt.isSuggestion)for(console.assert(y==="forward");zt&&zt instanceof Gu;)zt.isSuggestion=!1,xn=a.offsetOf(zt),zt=zt.rightSibling;else if(y==="forward"){if(zt=zt.rightSibling,!zt||!(zt instanceof Gu))return a.announce("plonk"),!1;for(;zt&&zt instanceof Gu&&/[a-zA-Z\*]/.test(zt.value);)xn=a.offsetOf(zt),zt=zt.rightSibling}else{if(zt=zt.leftSibling,!zt||!(zt instanceof Gu))return a.announce("plonk"),!1;for(;zt&&zt instanceof Gu&&/[a-zA-Z\*]/.test(zt.value);)xn=a.offsetOf(zt),zt=zt.leftSibling}else if(y==="forward"&&zt.type==="mopen"){let tr=0;do zt.type==="mopen"?tr+=1:zt.type==="mclose"&&(tr-=1),zt=zt.rightSibling;while(!zt.isLastSibling&&tr!==0);xn=a.offsetOf(zt.leftSibling)}else if(y==="backward"&&zt.type==="mclose"){let tr=0;do zt.type==="mopen"?tr+=1:zt.type==="mclose"&&(tr-=1),zt=zt.leftSibling;while(!zt.isFirstSibling&&tr!==0);xn=a.offsetOf(zt)}else if(y==="backward")if(zt.type==="first")for(;xn>0&&zt.type==="first";)xn-=1,zt=a.at(xn);else{const tr=zt.type;zt.type==="subsup"&&(xn=a.offsetOf(a.at(xn).leftSibling)),xn-=1;let pr=(te=a.at(xn))==null?void 0:te.type;for(;xn>=0&&pr===tr;)((ie=a.at(xn))==null?void 0:ie.type)==="subsup"?xn=a.offsetOf(a.at(xn).leftSibling):xn-=1,pr=a.at(xn).type}else{const{type:tr}=zt;let pr=(le=a.at(xn))==null?void 0:le.type;const{lastOffset:Na}=a;for(;xn<=Na&&(pr===tr||pr==="subsup");){for(;((Me=a.at(xn).rightSibling)==null?void 0:Me.type)==="subsup";)xn=a.offsetOf(a.at(xn).rightSibling);xn+=1,pr=(Fe=a.at(xn))==null?void 0:Fe.type}xn-=1}if((Ve=b==null?void 0:b.extend)!=null&&Ve){if(!a.setSelection(a.anchor,xn))return a.announce("plonk"),!1}else{if(xn===a.position)return a.announce("plonk"),!1;a.position=xn}return a.announce("move",lt),a.mathfield.stopCoalescingUndo(),!0}function Wc(a,y,b){var E,te;if(b=b!=null?b:{extend:!1},a.mathfield.adoptStyle=y==="backward"?"right":"left",y!=="forward"){const[Me,Fe]=x0(a);Me!==void 0&&Fe!==void 0&&a.deleteAtoms([Me,Fe])}if(y==="upward")return Uv(a,b);if(y==="downward")return Gv(a,b);if(b.extend){let Me=qf(a,a.position,y);Me<0&&(Me=0),Me>a.lastOffset&&(Me=a.lastOffset);const Fe=a.setSelection(a.anchor,Me);return a.mathfield.stopCoalescingUndo(),Fe}if(a.selectionIsPlaceholder){a.collapseSelection(y);const Me=Wc(a,y);return a.mathfield.stopCoalescingUndo(),Me}let ie=a.position;const le=ie;if(a.collapseSelection(y)?(ie=a.position,z0(a,ie)||(ie=qf(a,ie,y))):ie=qf(a,ie,y),ie<0||ie>a.lastOffset){let Me=!0;return a.silenceNotifications||(Me=(te=(E=a.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))!=null?te:!0),Me&&a.announce("plonk"),Me}return a.setPositionHandlingPlaceholder(ie),a.mathfield.stopCoalescingUndo(),a.announce("move",le),!0}function qf(a,y,b){return y=y+(b==="forward"?1:-1),y<0||y>a.lastOffset||z0(a,y)?y:qf(a,y,b)}function z0(a,y){var b;const E=a.at(y);let te=E.parent;for(;te&&!te.inCaptureSelection;)te=te.parent;return!(te!=null&&te.inCaptureSelection||(b=E.parent)!=null&&b.skipBoundary&&(!E.isFirstSibling&&E.isLastSibling||E.type==="first")||a.mathfield.hasEditablePrompts&&!E.parentPrompt)}function jv(a,y,b){let E=1/0,te=0;for(;te<y.length;te++){const ie=Uu(a.getHTMLElement(y[te])).right,le=Math.abs(b-ie);if(le<=E)E=le;else break}return y[te-1]}function $f(a,y,b,E,te){const ie=a.mathfield.hasEditablePrompts,le=ie?b.filter(Ve=>Ve.type==="prompt"&&!Ve.captureSelection):b,Me=Uu(a.mathfield.getHTMLElement(y)).right,Fe=a.offsetOf(jv(a.mathfield,le,Me))-(ie?1:0);if(E){const[Ve,lt]=a.selection.ranges[0];let zt;Fe<(te==="up"?Ve:lt)?zt={ranges:[[Fe,lt]],direction:"backward"}:zt={ranges:[[Ve,Fe]],direction:"forward"},a.setSelection(zt)}else a.setPositionHandlingPlaceholder(Fe);a.announce(`move ${te}`)}function Uv(a,y){var b,E;const te=(b=y==null?void 0:y.extend)!=null?b:!1;te||a.collapseSelection("backward");const ie=()=>{var Fe,Ve;let lt=!0;return a.silenceNotifications||(lt=(Ve=(Fe=a.mathfield.host)==null?void 0:Fe.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"upward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?Ve:!0),a.announce(lt?"plonk":"line"),lt},le=a.at(a.position);let Me=le;for(;Me&&Me.parentBranch!=="below"&&!(Array.isArray(Me.parentBranch)&&Me.parent instanceof fs);)Me=Me.parent;if(Array.isArray(Me==null?void 0:Me.parentBranch)&&Me.parent instanceof fs){const Fe=Me.parent;if(Me.parentBranch[0]<1)return ie();const Ve=Me.parentBranch[0]-1,lt=Fe.array[Ve][Me.parentBranch[1]];if(!lt.some(xn=>xn.type==="prompt"&&!xn.captureSelection)&&a.mathfield.hasEditablePrompts)return ie();$f(a,le,lt,te,"up")}else if(Me){const Fe=(E=Me.parent.branch("above"))!=null?E:Me.parent.createBranch("above");if(!Fe.some(lt=>lt.type==="prompt"&<.placeholderId)&&a.mathfield.hasEditablePrompts)return ie();$f(a,le,Fe,te,"up")}else return ie();return a.mathfield.stopCoalescingUndo(),!0}function Gv(a,y){var b,E;const te=(b=y==null?void 0:y.extend)!=null?b:!1;te||a.collapseSelection("forward");const ie=()=>{var Fe,Ve;let lt=!0;return a.silenceNotifications||(lt=(Ve=(Fe=a.mathfield.host)==null?void 0:Fe.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"downward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?Ve:!0),a.announce(lt?"plonk":"line"),lt},le=a.at(a.position);let Me=le;for(;Me&&Me.parentBranch!=="above"&&!(Array.isArray(Me.parentBranch)&&Me.parent instanceof fs);)Me=Me.parent;if(Array.isArray(Me==null?void 0:Me.parentBranch)&&Me.parent instanceof fs){const Fe=Me.parent;if(Me.parentBranch[0]+1>Fe.array.length-1)return ie();const Ve=Me.parentBranch[0]+1,lt=Fe.array[Ve][Me.parentBranch[1]];if(!lt.some(xn=>xn.type==="prompt"&&!xn.captureSelection)&&a.mathfield.hasEditablePrompts)return ie();$f(a,le,lt,te,"down")}else if(Me){const Fe=(E=Me.parent.branch("below"))!=null?E:Me.parent.createBranch("below");if(!Fe.some(lt=>lt.type==="prompt")&&a.mathfield.hasEditablePrompts)return ie();$f(a,le,Fe,te,"down")}else return ie();return!0}function H0(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 Yv(a){let y=0,b=a.at(a.position),E=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(E=!1):E=!0,b=b.parent;return E?y:0}function Qv(a){let y=0,b=a.at(a.position),E=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(E=!0):E=!1,b=b.parent;return E?y:0}function Z0(a){var y;if(a.collapseSelection(),Yv(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 Sc({style:b.computedStyle}),b),b=b.rightSibling),b.createBranch("superscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.superscript[0]))),!0}function W0(a){var y;if(a.collapseSelection(),Qv(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 Sc({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 Xv(){function a(Fe){const Ve=[],lt=[];return[...Fe.querySelectorAll(`input, select, textarea, a[href], button,
|
|
|
[tabindex], audio[controls], video[controls],
|
|
|
[contenteditable]:not([contenteditable="false"]), details>summary`)].filter(y).forEach((xn,tr)=>{const pr=E(xn);pr===0?Ve.push(xn):lt.push({documentOrder:tr,tabIndex:pr,node:xn})}),lt.sort((xn,tr)=>xn.tabIndex===tr.tabIndex?xn.documentOrder-tr.documentOrder:xn.tabIndex-tr.tabIndex).map(xn=>xn.node).concat(Ve)}function y(Fe){return!(!b(Fe)||te(Fe)||E(Fe)<0)}function b(Fe){return!(Fe.disabled||Fe.type==="hidden"&&Fe.tagName.toUpperCase()==="INPUT"||Me(Fe))}function E(Fe){var Ve;const lt=Number.parseInt((Ve=Fe.getAttribute("tabindex"))!=null?Ve:"NaN",10);return Number.isNaN(lt)?Fe.contentEditable==="true"||(Fe.nodeName==="AUDIO"||Fe.nodeName==="VIDEO")&&Fe.getAttribute("tabindex")===null?0:Fe.tabIndex:lt}function te(Fe){return Fe.tagName.toUpperCase()==="INPUT"&&Fe.type==="radio"&&!le(Fe)}function ie(Fe,Ve){for(const lt of Fe)if(lt.checked&<.form===Ve)return lt;return null}function le(Fe){var Ve;if(!Fe.name)return!0;const zt=((Ve=Fe.form)!=null?Ve:Fe.ownerDocument).querySelectorAll('input[type="radio"][name="'+Fe.name+'"]'),xn=ie(zt,Fe.form);return!xn||xn===Fe}function Me(Fe){if(!mt()||Fe===document.activeElement||Fe.contains(document.activeElement))return!1;if(getComputedStyle(Fe).visibility==="hidden")return!0;const Ve=Fe.getBoundingClientRect();if(Ve.width===0||Ve.height===0)return!0;for(;Fe;){if(getComputedStyle(Fe).display==="none")return!0;Fe=Fe.parentElement}return!1}return mt()?a(document.body):[]}function lc(a,y,b="forward"){const E=a.position;if(Array.isArray(y)){const te=a.offsetOf(y[0]),ie=a.offsetOf(y[y.length-1]);return b==="forward"?a.setSelection(te,ie):a.setSelection(ie,te),a.announce("move",E),a.mathfield.stopCoalescingUndo(),!0}return b==="forward"?lc(a,[y.leftSibling,y]):lc(a,[y,y.leftSibling])}function Oc(a,y){const b=a.position;if(typeof y=="number"&&(y=a.at(y)),y.type==="prompt")a.setSelection(a.offsetOf(y.firstChild),a.offsetOf(y.lastChild));else{const E=a.offsetOf(y);y.type==="placeholder"?a.setSelection(E-1,E):a.position=E}return a.announce("move",b),a.mathfield.stopCoalescingUndo(),!0}function eh(a,y,b=!0){var E,te;const ie=y==="forward"?1:-1;a.at(a.anchor).type==="placeholder"&&Wc(a,y);let le;const Me=a.at(a.anchor).parentPrompt;Me?y==="forward"?le=a.offsetOf(Me)+1:le=a.offsetOf(Me.leftSibling):le=Math.max(a.position+ie,0);const Fe=Bh(a,le,y);if(!Fe||y==="forward"&&a.offsetOf(Fe)<le||y==="backward"&&a.offsetOf(Fe)>le){if(!b||!((te=(E=a.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))==null||te))return a.announce("plonk"),!1;const lt=Xv();if(!document.activeElement||lt.length<=1)return a.announce("plonk"),!1;let zt=lt.indexOf(document.activeElement)+ie;return zt<0&&(zt=lt.length-1),zt>=lt.length&&(zt=0),lt[zt].focus(),a.mathfield.stopCoalescingUndo(),!0}return Oc(a,Fe),!0}function Bh(a,y=0,b="forward"){return a.findAtom(E=>E.type==="placeholder"||E.type==="prompt"||!a.mathfield.readOnly&&E.treeDepth>2&&E.isFirstSibling&&E.isLastSibling,y,b)}pc({moveToOpposite:a=>{const y={superscript:"subscript",subscript:"superscript",above:"below",below:"above"},b=a.at(a.position),{parent:E}=b;if(!E)return a.announce("plonk"),!1;const te=b.parentBranch;let ie;if(typeof te=="string"&&(ie=y[te]),!ie){const Me=b.subsupPlacement?W0(a):Z0(a);return a.mathfield.stopCoalescingUndo(),Me}E.branch(ie)||E.createBranch(ie);const le=a.setSelection(a.getBranchRange(a.offsetOf(E),ie));return a.mathfield.stopCoalescingUndo(),le},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=>H0(a),moveToNextChar:a=>Wc(a,"forward"),moveToPreviousChar:a=>Wc(a,"backward"),moveUp:a=>Wc(a,"upward"),moveDown:a=>Wc(a,"downward"),moveToNextWord:a=>Yd(a,"forward"),moveToPreviousWord:a=>Yd(a,"backward"),moveToGroupStart:a=>{const y=a.offsetOf(a.at(a.position).firstSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToGroupEnd:a=>{const y=a.offsetOf(a.at(a.position).lastSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToNextGroup:a=>{var y,b,E,te;if(a.position===a.lastOffset&&a.anchor===a.lastOffset)return eh(a,"forward");const ie=a.at(a.position);if(ie.mode==="text"){if(a.selectionIsCollapsed){let xn=ie;for(;xn&&xn.mode==="text";)xn=xn.leftSibling;let tr=ie;for(;((y=tr.rightSibling)==null?void 0:y.mode)==="text";)tr=tr.rightSibling;if(xn&&tr)return lc(a,[xn,tr])}if(ie.rightSibling.mode==="text"){let xn=ie;for(;xn&&xn.mode==="text";)xn=xn.rightSibling;return xn?(Oc(a,(b=xn.leftSibling)!=null?b:xn),a.mathfield.switchMode("math"),!0):Oc(a,a.lastOffset)}}const Me=a.at(a.anchor).parentPrompt,Fe=Me?a.offsetOf(Me)+1:Math.max(a.position+1,0),Ve=Bh(a,Fe,"forward");if(Ve)return Oc(a,Ve);const lt=_0(a,ie,xn=>xn.type==="leftright"||xn.type==="text","forward");if(lt){if(lt.mode==="text"){let xn=lt;for(;xn&&xn.mode==="text";)xn=xn.rightSibling;return lc(a,[(E=lt.leftSibling)!=null?E:lt,(te=xn.leftSibling)!=null?te:xn])}return lc(a,lt)}const zt=ie.parent;if(zt){if(zt.type==="leftright"||zt.type==="surd")return lc(a,zt);if(ie.parentBranch==="superscript"&&zt.subscript)return lc(a,zt.subscript);if(ie.parentBranch==="above"&&zt.below)return lc(a,zt.below);if(ie.parentBranch==="superscript"||ie.parentBranch==="subscript")return Oc(a,zt);if(ie.parentBranch==="above"||ie.parentBranch==="below")return lc(a,zt)}return Oc(a,a.lastOffset)},moveToPreviousGroup:a=>{var y;if(a.position===0&&a.anchor===0)return eh(a,"backward");let b=a.at(a.position);const E=b.mode;if(E==="text"){if(a.selectionIsCollapsed){let Me=b;for(;Me&&Me.mode==="text";)Me=Me.leftSibling;let Fe=b;for(;((y=Fe.rightSibling)==null?void 0:y.mode)==="text";)Fe=Fe.rightSibling;if(Me&&Fe)return lc(a,[Me,Fe])}for(;b&&b.mode==="text";)b=b.leftSibling;return b?Oc(a,b):Oc(a,0)}const te=a.at(a.anchor).parentPrompt,ie=te?a.offsetOf(te.leftSibling):Math.max(a.position-1,0),le=Bh(a,ie,"backward");if(le)return Oc(a,le);if(E==="math"){const Me=_0(a,b,Ve=>Ve.type==="leftright"||Ve.type==="text","backward");if(Me){if(Me.mode==="text"){let Ve=Me;for(;Ve&&Ve.mode==="text";)Ve=Ve.leftSibling;return lc(a,[Me,Ve])}return lc(a,Me)}const Fe=b.parent;if(Fe){if(Fe.type==="leftright"||Fe.type==="surd")return lc(a,Fe);if(b.parentBranch==="subscript"&&Fe.superscript)return lc(a,Fe.superscript);if(b.parentBranch==="below"&&Fe.above)return lc(a,Fe.above);if(b.parentBranch==="superscript"||b.parentBranch==="subscript")return Oc(a,Fe);if(b.parentBranch==="above"||b.parentBranch==="below")return lc(a,Fe)}return Oc(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:Z0,moveToSubscript:W0},{target:"model",changeSelection:!0}),pc({moveToNextPlaceholder:a=>eh(a,"forward"),moveToPreviousPlaceholder:a=>eh(a,"backward")},{target:"model",changeSelection:!0,audioFeedback:"return"});function _0(a,y,b,E){if(E==="forward"){let ie=y.rightSibling;for(;ie&&!b(ie);)ie=ie.rightSibling;return ie}let te=y.leftSibling;for(;te&&!b(te);)te=te.leftSibling;return te}function th(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let E=a.position,te=!1,ie="";for(;!te;){const le=a.at(E);te=y===0||le===void 0||le.type==="first"||le.mode!=="math"||!(le.type&&/mord|mpunct|operator/.test(le.type)||le.type==="mop"&&/[a-zA-Z ]+/.test(le.value))||!le.hasEmptyBranch("superscript")||!le.hasEmptyBranch("subscript")||typeof b=="function"&&!b(le),te||(le.mode="text",le.command=le.value,le.verbatimLatex=void 0,ie+=le.value),E-=1,y-=1}a.contentDidChange({data:ie,inputType:"insertText"})}function Bd(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let E=a.position,te=!1;const ie=[];for(;!te;){const le=a.at(E);te=y===0||!le||le.type==="first"||le.isFirstSibling||le.mode!=="text"||le.value===" "||typeof b=="function"&&!b(le),te||(ie.push(Fa.serialize([le],{defaultMode:"math"})),le.mode="math"),E-=1,y-=1}Lh(a),a.contentDidChange({data:$i(ie),inputType:"insertText"})}function Lh(a){var y;let b=a.position-1;for(;b>=0&&((y=a.at(b))==null?void 0:y.mode)==="math";)b-=1;if(!(b<0)&&a.at(b).mode==="text"&&a.at(b).value===" "&&a.at(b-1).mode==="math"){a.at(b-1).parent.removeChild(a.at(b-1));const E=a.silenceNotifications;a.silenceNotifications=!0,a.position-=1,a.silenceNotifications=E,a.contentDidChange({inputType:"deleteContent"})}}function Jv(a){let y="",b=a.position,E=!1;for(;!E;){const te=a.at(b);E=!(te&&(te.mode==="text"||te.mode==="math"&&te.type&&/mord|mpunct/.test(te.type))),E||(y=te.value+y),b-=1}return y}function qv(a,y,b){const{model:E}=a;if(E.mode==="latex"||!E.at(E.position).isLastSibling||!b||!Tf(b))return!1;const te=Wd(b);if(!E.selectionIsCollapsed)return!!(a.model.mode==="text"&&/[/_^]/.test(te));const ie=Jv(E)+te;if(a.model.mode==="text"){if(y==="Esc"||/[/\\]/.test(te))return!0;if(/[\^_]/.test(te))return/(^|\s)[a-zA-Z][^_]$/.test(ie)&&Bd(E,1),!0;const le={")":"(","}":"{","]":"["}[te],{parent:Me}=E.at(E.position);if(le&&Me instanceof Fs&&Me.leftDelim===le)return!0;if(/(^|[^a-zA-Z])(a|I) $/.test(ie))return!1;if(/[$€£₤₺¥¤฿¢₡₧₨₹₩₱]/u.test(te))return!0;if(/(^|[^a-zA-Z'’])[a-zA-Z] $/.test(ie))return Bd(E,1),!1;if(/\D\.[^\d\s]$/.test(ie)){Bd(E,1);const Fe=E.at(E.position);return Fe.value="\u22C5",Fe.style.variant="normal",Fe.command="\\cdot",Fe.verbatimLatex=void 0,E.contentDidChange({data:"\\cdot",inputType:"insertText"}),!0}if(/(^|\s)[a-zA-Z][^a-zA-Z]$/.test(ie)||/\.\d$/.test(ie)||/\([\d+\-.]$/.test(ie))return Bd(E,1),!0;if(/\([a-z][,;]$/.test(ie))return Bd(E,2),!0;if(/[\d+\-=><*|]$/.test(te))return Lh(E),!0}else{if(y==="[Space]")return th(E,void 0,le=>/[a-z][:,;.]$/.test(le.value)),!0;if(/[a-zA-Z]{3,}$/.test(ie)&&!/(dxd|abc|xyz|uvw)$/.test(ie))return th(E,void 0,le=>/[a-zA-Z]/.test(le.value)),!0;if(/(^|\W)(if)$/i.test(ie))return th(E,1),!0;if(/(\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5){3,}$/u.test(ie)&&!/(αβγ)$/.test(ie))return th(E,void 0,le=>/(:|,|;|.|\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5)/u.test(le.value)),!0;if(te==="?"||te==="."&&!/[\d-+]\.$/.test(ie))return!0}return!1}function $v(a,y){if(!a.isSelectionEditable||!a.keystrokeCaptionVisible)return;const b=V0(),E=a.element.getBoundingClientRect();b.style.left=`${E.left}px`,b.style.top=`${E.top-64}px`,b.innerHTML=window.MathfieldElement.createHTML("<span>"+(wh(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 eg(a){if(a.keystrokeCaptionVisible=!a.keystrokeCaptionVisible,a.keystrokeCaptionVisible){const y=V0();y.innerHTML=""}else{const y=Kf("mathlive-keystroke-caption-panel");y.style.visibility="hidden"}return!1}function V0(){const a=document.getElementById("mathlive-keystroke-caption-panel");return a||(hc("keystroke-caption"),hc("core"),Kf("mathlive-keystroke-caption-panel"))}function tg(){document.getElementById("mathlive-keystroke-caption-panel")&&(Ch("mathlive-keystroke-caption-panel"),x("core"),x("keystroke-caption"))}function j0(a,y){var b,E,te;const{model:ie}=a,le=y0(y);if(y.isTrusted){Vm(y);const tr=pf();a.keyboardLayout!==tr.id&&(a.keyboardLayout=tr.id,a._keybindings=void 0)}if(clearTimeout(a.inlineShortcutBufferFlushTimer),a.inlineShortcutBufferFlushTimer=0,$v(a,le),y.isTrusted&&y.defaultPrevented)return a.flushInlineShortcutBuffer(),!1;let Me,Fe="",Ve;const lt=a.inlineShortcutBuffer;if(a.isSelectionEditable){if(ie.mode==="math")if(le==="[Backspace]")lt.pop();else if(!Tf(y))a.flushInlineShortcutBuffer();else{const tr=Wd(y),pr=[...(E=(b=lt[lt.length-1])==null?void 0:b.keystrokes)!=null?E:[],tr];lt.push({state:ie.getState(),keystrokes:pr,leftSiblings:ng(a)});let Na=0,qi="";for(;!Me&&Na<pr.length;)Ve=lt.length-(pr.length-Na),qi=pr.slice(Na).join(""),Me=Hl(lt[Ve].leftSiblings,qi,a.options.inlineShortcuts),!Me&&/^[a-zA-Z][a-zA-Z0-9]+?([_\^][a-zA-Z0-9\*\+\-]+?)?$/.test(qi)&&(Me=a.options.onInlineShortcut(a,qi)),Na+=1;a.flushInlineShortcutBuffer({defer:!0})}a.options.smartMode&&(Me?a.switchMode("math"):qv(a,le,y)&&(a.switchMode({math:"text",text:"math"}[ie.mode]),Fe=""))}if(!Me){if(Fe||(Fe=Jm(a.keybindings,ie.mode,y)),!Fe&&(le==="[Enter]"||le==="[Return]")){let tr=!1;return ie.contentWillChange({inputType:"insertLineBreak"})&&(a.host&&(tr=!a.host.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),tr||y.preventDefault&&(y.preventDefault(),y.stopPropagation()),ie.contentDidChange({inputType:"insertLineBreak"})),tr}if((!Fe||le==="[Space]")&&ie.mode==="math"){if(le==="[Space]"){if(a.adoptStyle="none",a.flushInlineShortcutBuffer(),a.options.mathModeSpace)return is.insert(ie,a.options.mathModeSpace,{format:"latex",mode:"math"}),a.snapshot("insert-space"),Fe="",a.dirty=!0,a.scrollIntoView(),y.preventDefault&&(y.preventDefault(),y.stopPropagation()),!1;const tr=ie.at(ie.position+1),pr=ie.at(ie.position-1);if((tr==null?void 0:tr.mode)==="text"||(pr==null?void 0:pr.mode)==="text")return is.insert(ie," ",{mode:"text"}),a.snapshot("insert-space"),a.dirty=!0,a.scrollIntoView(),!1}(te=ie.at(ie.position))!=null&&te.isDigit()&&window.MathfieldElement.decimalSeparator===","&&Wd(y)===","&&(Fe="insertDecimalSeparator")}}if(!Me&&!Fe){if(ie.mathfield.smartFence){if(Th(ie,Wd(y),a.effectiveStyle))return a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}else{const{parent:tr}=ie.at(ie.position);if(tr instanceof Fs&&tr.rightDelim==="?"&&ie.at(ie.position).isLastSibling&&/^[)}\]|]$/.test(le))return a.snapshot(),tr.isDirty=!0,tr.rightDelim=le,ie.position+=1,ie.selectionDidChange(),ie.contentDidChange({data:Wd(y),inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1;if(!ie.selectionIsCollapsed){const pr=Wd(y);if(pr==="("||pr==="{"||pr==="["){const Na={"(":"(","{":"\\lbrace","[":"\\lbrack"}[pr],qi={"(":")","{":"\\rbrace","[":"\\rbrack"}[pr],[Ca,ci]=ou(ie.selection);return a.snapshot(),ie.position=ci,is.insert(ie,qi,{format:"latex"}),ie.position=Ca,is.insert(ie,Na,{format:"latex"}),ie.setSelection(Ca+1,ci+1),ie.contentDidChange({data:pr,inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}}}return!0}const zt=ie.at(Math.max(ie.position,ie.anchor)),{parent:xn}=zt;if(Fe==="moveAfterParent"&&(xn==null?void 0:xn.type)==="leftright"&&zt.isLastSibling&&a.options.smartFence&&Th(ie,".",a.defaultStyle)&&(Fe="",Eu(a)),a.keyboardDelegate.cancelComposition(),Fe)a.executeCommand(Fe);else if(Me){const tr=a.effectiveStyle;ie.setState(lt[Ve].state);const pr=lt[lt.length-1].keystrokes;for(const Na of pr)is.insert(ie,Na,{silenceNotifications:!0,style:tr});a.snapshot("insert-shortcut"),ie.setState(lt[Ve].state),ie.deferNotifications({content:!0,selection:!0,data:Me,type:"insertText"},()=>(is.insert(ie,Me,{format:"latex",style:tr}),Lh(a.model),Me.endsWith(" ")&&(a.switchMode("text"),is.insert(ie," ",{style:tr,mode:"text"})),a.snapshot(),ie.selectionIsCollapsed||a.flushInlineShortcutBuffer(),!0)),a.dirty=!0,ie.announce("replacement")}return a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}function Oh(a,y,b){const{model:E}=a;if(!a.isSelectionEditable){E.announce("plonk");return}b!=null||(b={}),b.focus&&a.focus(),b.feedback&&window.MathfieldElement.playSound("keypress"),typeof b.mode=="string"&&(a.switchMode(b.mode),a.snapshot());let te=_s(y);const ie=window.mathVirtualKeyboard;if(ie!=null&&ie.isShifted&&(te=typeof te=="string"?te.toUpperCase():te.map(Fe=>Fe.toUpperCase())),b.simulateKeystroke){let Fe=!0;for(const Ve of te)j0(a,new KeyboardEvent("keypress",{key:Ve}))&&(Fe=!1);if(Fe)return}const le=E.at(E.position),Me=Se(Se({},le.computedStyle),a.defaultStyle);if(E.selectionIsCollapsed||(E.deleteAtoms(ou(E.selection)),a.snapshot("delete")),E.mode==="latex")E.deferNotifications({content:!0,selection:!0,data:y,type:"insertText"},()=>{Ff(a);for(const Fe of te)is.insert(E,Fe);a.snapshot("insert-latex"),vf(a)});else if(E.mode==="text"){for(const Fe of te)is.insert(E,Fe,{style:Me});a.snapshot("insert-text")}else if(E.mode==="math")for(const Fe of te)rg(a,Fe,Me,le);a.dirty=!0,a.scrollIntoView()}function ng(a){const y=a.model,b=[];let E=y.at(Math.min(y.position,y.anchor));for(;E.type!=="first";)b.push(E),E=E.leftSibling;return b}function rg(a,y,b,E){const te=a.model;let ie={"^":"moveToSuperscript",_:"moveToSubscript"," ":"moveAfterParent"}[y];if(y===" "&&a.options.mathModeSpace&&(ie=["insert",a.options.mathModeSpace]),ie){a.executeCommand(ie);return}if(/\d/.test(y)&&a.options.smartSuperscript&&E.parentBranch==="superscript"&&E.parent.type!=="mop"&&E.parent.type!=="operator"&&E.parent.type!=="extensible-symbol"&&E.hasNoSiblings){ag(te),is.insert(te,y,{style:b}),a.snapshot(),H0(te),a.snapshot();return}if(/[a-zA-Z0-9]/.test(y)&&a.adoptStyle!=="none"){const le=a.adoptStyle==="left"?E:E.parent?E.rightSibling:null;(le==null?void 0:le.type)==="mord"&&/[a-zA-Z0-9]/.test(le.value)&&(b=Se({},b),le.style.variant&&(b.variant=le.style.variant),le.style.variantStyle&&(b.variantStyle=le.style.variantStyle))}is.insert(te,y,{style:b}),a.snapshot(`insert-${te.at(te.position).type}`)}function ag(a){a.selectionIsCollapsed||(a.deleteAtoms(ou(a.selection)),a.mathfield.snapshot("delete"))}function Th(a,y,b){if(!y||a.mode!=="math")return!1;const E=a.at(a.position),{parent:te}=E,ie={"(":"(",")":")","{":"\\lbrace","}":"\\rbrace","[":"\\lbrack","]":"\\rbrack","|":"|"}[y];if(!ie)return!1;const le=re[ie],Me=ae[ie];if(!a.selectionIsCollapsed){a.mathfield.snapshot();const[Fe,Ve]=ou(a.selection),lt=a.extractAtoms([Fe,Ve]),zt=te.addChildrenAfter([new Fs("left...right",lt,{leftDelim:ie,rightDelim:Me})],a.at(Fe));return a.setSelection(a.offsetOf(zt.firstChild),a.offsetOf(zt.lastChild)),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:ie,inputType:"insertText"}),!0}if(ie==="|"){const Fe=te instanceof Fs?te.leftDelim+te.rightDelim:"";if(Fe==="\\lbrace\\rbrace"||Fe==="\\{\\}"||Fe==="\\lbrace?")return a.mathfield.snapshot(),is.insert(a,"\\,\\middle\\vert\\,",{format:"latex",style:b}),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:ie,inputType:"insertText"}),!0}if(Me){if(te instanceof Fs&&te.firstChild===E&&(te.leftDelim==="?"||te.leftDelim==="."))return te.leftDelim=ie,te.isDirty=!0,a.mathfield.snapshot(),a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(!(te instanceof Fs)){let zt=E;for(;zt&&!(zt.type==="mclose"&&zt.value===Me);)zt=zt.rightSibling;if(zt){a.mathfield.snapshot();const xn=a.extractAtoms([a.offsetOf(E),a.offsetOf(zt)]);return xn.pop(),te.addChildrenAfter([new Fs("left...right",xn,{leftDelim:ie,rightDelim:Me})],E),a.position=a.offsetOf(te.firstChild)+1,a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}}const Fe=a.offsetOf(E.lastSibling);let Ve;for(Ve=a.position;Ve<=Fe;Ve++){const zt=a.at(Ve);if(zt instanceof Fs&&(zt.leftDelim==="?"||zt.leftDelim===".")&&U0(ie,zt.rightDelim))break}const lt=a.at(Ve);if(Ve<=Fe&< instanceof Fs){lt.leftDelim=ie,a.mathfield.snapshot();let zt=a.extractAtoms([a.position,Ve-1]);return zt=zt.filter(xn=>xn.type!=="first"),lt.addChildren(zt,lt.parentBranch),a.position+=1,a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(te instanceof Fs&&(te.leftDelim==="?"||te.leftDelim===".")&&U0(ie,te.rightDelim)){te.isDirty=!0,te.leftDelim=ie,a.mathfield.snapshot();const zt=a.extractAtoms([a.offsetOf(E.firstSibling),a.position]);for(const xn of zt)te.parent.addChildBefore(xn,te);return a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(!(te instanceof Fs&&te.leftDelim==="|")){if(a.mathfield.snapshot(),is.insert(a,`\\left${ie}\\right?`,{format:"latex",style:b}),E.lastSibling.type!=="first"){const zt=a.offsetOf(E.lastSibling),xn=a.extractAtoms([a.position,zt]);a.at(a.position).body=xn,a.position-=1}return a.mathfield.snapshot("insert-fence"),!0}}if(le){let Fe=E;for(;Fe;){if(Fe.type==="mopen"&&Fe.value===le){a.mathfield.snapshot();const tr=Fe.leftSibling,pr=a.extractAtoms([a.offsetOf(Fe.leftSibling),a.offsetOf(E)]);pr.shift();const Na=new Fs("left...right",pr,{leftDelim:le,rightDelim:ie});return te.addChildrenAfter([Na],tr),a.position=a.offsetOf(Na),a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}Fe=Fe.leftSibling}if(te instanceof Fs&&E.isLastSibling&&Rh(te.leftDelim,ie))return a.mathfield.snapshot(),te.isDirty=!0,te.rightDelim=ie,a.position+=1,a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const Ve=a.offsetOf(E.firstSibling);let lt;for(lt=a.position;lt>=Ve;lt--){const tr=a.at(lt);if(tr instanceof Fs&&(tr.rightDelim==="?"||tr.rightDelim===".")&&Rh(tr.leftDelim,ie))break}const zt=a.at(lt);if(lt>=Ve&&zt instanceof Fs)return a.mathfield.snapshot(),zt.rightDelim=ie,zt.addChildren(a.extractAtoms([lt,a.position]),zt.parentBranch),a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(te instanceof Fs&&(te.rightDelim==="?"||te.rightDelim===".")&&Rh(te.leftDelim,ie))return a.mathfield.snapshot(),te.isDirty=!0,te.rightDelim=ie,te.parent.addChildren(a.extractAtoms([a.position,a.offsetOf(E.lastSibling)]),te.parentBranch),a.position=a.offsetOf(te),a.contentDidChange({data:ie,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const xn=te.parent;return xn instanceof Fs&&(xn.rightDelim==="?"||xn.rightDelim===".")&&a.at(a.position).isLastSibling?(a.position=a.offsetOf(xn),Th(a,ie,b)):!1}return!1}function Rh(a,y){return a?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a)?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y):ae[a]===y:!0}function U0(a,y){return y?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y)?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a):re[y]===a:!0}pc({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:eg,toggleContextMenu:a=>{const y=a.toggleContextMenu();return y||a.model.announce("plonk"),y},plonk:a=>(a.model.announce("plonk"),!0),switchMode:(a,y,b,E)=>(a.switchMode(y,b,E),!0),insert:(a,y,b)=>a.insert(y,b),typedText:(a,y,b)=>(Oh(a,y,b),!0),insertDecimalSeparator:a=>{const y=a.model;return y.mode==="math"&&window.MathfieldElement.decimalSeparator===","&&y.at(Math.max(y.position,y.anchor)).isDigit()?(a.insert("{,}",{format:"latex"}),a.snapshot("insert-mord"),!0):(a.insert("."),!0)},commit:a=>{var y;return a.model.contentWillChange({inputType:"insertLineBreak"})&&((y=a.host)==null||y.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),a.model.contentDidChange({inputType:"insertLineBreak"})),!0},insertPrompt:(a,y,b)=>{const E=a.getPrompts();let te="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),ie=0;for(;E.includes(te)&&ie<100;){if(ie===99)return console.error("could not find a unique ID after 100 tries"),!1;te="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),ie++}return a.insert(`\\placeholder[${y!=null?y:te}]{}`,b),!0}}),pc({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"}),pc({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})&&(vf(a),a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),Eu(a))):a.model.announce("plonk"),a.startRecording()}),!0))},{target:"mathfield",canUndo:!0,changeContent:!0,changeSelection:!0});function ig(a,y){a.flushInlineShortcutBuffer(),a.stopCoalescingUndo();const b=Fh(a,y),{model:E}=a;return E.selectionIsCollapsed?(a.defaultStyle.fontSeries&&b.fontSeries===a.defaultStyle.fontSeries&&(b.fontSeries="auto"),b.fontShape&&b.fontShape===a.defaultStyle.fontShape&&(b.fontShape="auto"),b.color&&b.color===a.defaultStyle.color&&(b.color="none"),b.backgroundColor&&b.backgroundColor===a.defaultStyle.backgroundColor&&(b.backgroundColor="none"),b.fontSize&&b.fontSize===a.defaultStyle.fontSize&&(b.fontSize="auto"),a.defaultStyle=Se(Se({},a.defaultStyle),b)):a.model.deferNotifications({content:!0,type:"insertText"},()=>{E.selection.ranges.forEach(te=>Nh(E,te,b,{operation:"toggle"})),a.snapshot("style-change")}),!0}pc({applyStyle:ig},{target:"mathfield",canUndo:!0,changeContent:!0});function Fh(a,y){var b,E,te,ie,le,Me,Fe,Ve,lt,zt;const xn={};if(typeof y.color=="string"){const pr=(E=a.colorMap((b=y.color)!=null?b:y.verbatimColor))!=null?E:"none";pr!==y.color&&(xn.verbatimColor=(te=y.verbatimColor)!=null?te:y.color),xn.color=pr}if(typeof y.backgroundColor=="string"){const pr=(le=a.backgroundColorMap((ie=y.backgroundColor)!=null?ie:y.verbatimBackgroundColor))!=null?le:"none";pr!==y.backgroundColor&&(xn.verbatimBackgroundColor=(Me=y.verbatimBackgroundColor)!=null?Me:y.backgroundColor),xn.backgroundColor=pr}typeof y.fontFamily=="string"&&(xn.fontFamily=y.fontFamily),typeof y.series=="string"&&(xn.fontSeries=y.series),typeof y.fontSeries=="string"&&(xn.fontSeries=y.fontSeries.toLowerCase()),xn.fontSeries&&(xn.fontSeries=(Fe={bold:"b",medium:"m",normal:"m"}[xn.fontSeries])!=null?Fe:xn.fontSeries),typeof y.shape=="string"&&(xn.fontShape=y.shape),typeof y.fontShape=="string"&&(xn.fontShape=y.fontShape.toLowerCase()),xn.fontShape&&(xn.fontShape=(Ve={italic:"it",up:"n",upright:"n",normal:"n"}[xn.fontShape])!=null?Ve:xn.fontShape),y.variant&&(xn.variant=y.variant.toLowerCase()),y.variantStyle&&(xn.variantStyle=y.variantStyle.toLowerCase());const tr=(lt=y.size)!=null?lt:y.fontSize;return typeof tr=="number"?xn.fontSize=Math.max(1,Math.min(10,tr)):typeof tr=="string"&&(xn.fontSize=(zt={size1:1,size2:2,size3:3,size4:4,size5:5,size6:6,size7:7,size8:8,size9:9,size10:10}[tr.toLowerCase()])!=null?zt:{tiny:1,scriptsize:2,footnotesize:3,small:4,normal:5,normalsize:5,large:6,Large:7,LARGE:8,huge:9,Huge:10}[tr]),xn}function Kh(a){let[y,b]=ou(a.selection);if(y=G0(a,y,"backward"),b=G0(a,b,"forward"),y===b){const E=a.at(y);if(E.type==="leftright")return a.setSelection(a.offsetOf(E.firstChild)-1,b);if(E.type==="first"&&(E.parent.type==="leftright"||E.parent.type==="surd"))return a.setSelection(y-1,a.offsetOf(E.parent.lastChild)+1);a.setSelection(y-1,b)}else a.setSelection(y,b);return!0}function G0(a,y,b){var E,te,ie;let le=a.at(y);if(!le)return y;const Me=b==="forward"?1:-1;if(le.mode==="text"){for(;le&&!(le.mode!=="text"||!ge.test(le.value));)y+=Me,le=a.at(y);return b==="backward"?y-1:y}if(le.mode==="latex"){if(/[a-zA-Z\*]/.test(le.value))if(b==="backward")for(;le&&le.mode==="latex"&&le.value!=="\\"&&/[a-zA-Z]/.test(le.value);)y+=Me,le=a.at(y);else for(;le&&le.mode==="latex"&&/[a-zA-Z\*]/.test(le.value);)y+=Me,le=a.at(y);else if(le.value==="{"){if(b==="forward"){for(;le&&le.mode==="latex"&&le.value!=="}";)y+=Me,le=a.at(y);return y}return y-1}else if(le.value==="}"){if(b==="backward"){for(;le&&le.mode==="latex"&&le.value!=="{";)y+=Me,le=a.at(y);return y-1}return y}return y-1}if(le.mode==="math"){if(le.isDigit()){for(;(E=a.at(y+Me))!=null&&E.isDigit();)y+=Me;return b==="backward"?y-1:y}if(le.style.variant||le.style.variantStyle){let Fe=(te=a.at(y))==null?void 0:te.style;for(;Fe&&Fe.variant===le.style.variant&&Fe.variantStyle===le.style.variantStyle;)Fe=(ie=a.at(y+Me))==null?void 0:ie.style,y+=Me;return b==="backward"?y-1:y}return y}return y}pc({selectGroup:a=>{const y=Kh(a);return y||a.announce("plonk"),y},selectAll:a=>a.setSelection(0,a.lastOffset),extendSelectionForward:a=>Wc(a,"forward",{extend:!0}),extendSelectionBackward:a=>Wc(a,"backward",{extend:!0}),extendToNextWord:a=>Yd(a,"forward",{extend:!0}),extendToPreviousWord:a=>Yd(a,"backward",{extend:!0}),extendSelectionUpward:a=>Wc(a,"upward",{extend:!0}),extendSelectionDownward:a=>Wc(a,"downward",{extend:!0}),extendToNextBoundary:a=>Yd(a,"forward",{extend:!0}),extendToPreviousBoundary:a=>Yd(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 Ld=null,Sf=0,nh=class Dc{static start(y,b,E,te){var ie;Dc.element=y,(ie=Dc.controller)==null||ie.abort(),Dc.controller=new AbortController;const le={signal:Dc.controller.signal};"PointerEvent"in window?(y.addEventListener("pointermove",E,le),y.addEventListener("pointerup",te,le),y.addEventListener("pointercancel",te,le),zh(b)&&(Dc.pointerId=b.pointerId,y.setPointerCapture(b.pointerId))):(window.addEventListener("mousemove",E,le),window.addEventListener("blur",te,le),window.addEventListener("mouseup",te,le))}static stop(){var y;(y=Dc.controller)==null||y.abort(),Dc.controller=void 0,typeof Dc.pointerId=="number"&&(Dc.element.releasePointerCapture(Dc.pointerId),Dc.pointerId=void 0)}};function zh(a){return a!==null&&globalThis.PointerEvent!==void 0&&a instanceof PointerEvent}function Y0(a,y){var b;if(y.buttons>1)return;a.atomBoundsCache=new Map;const E=a;let te,ie=!1,le=!1,Me="none",Fe=!1,Ve=!1;const lt=y.clientX,zt=y.clientY,xn=Date.now(),tr=E.field,pr=setInterval(()=>{Fe?tr.scroll({top:0,left:tr.scrollLeft-16}):Ve&&tr.scroll({top:0,left:tr.scrollLeft+16})},32);function Na(){nh.stop(),ie=!1,clearInterval(pr),a.element.classList.remove("tracking"),y&&y.preventDefault()}function qi(ci){if(!E.hasFocus()){Na();return}const ao=ci.clientX,bi=ci.clientY,al=zh(ci)&&ci.pointerType==="touch"?20:5;if(Date.now()<xn+500&&Math.abs(lt-ao)<al&&Math.abs(zt-bi)<al){ci.preventDefault(),ci.stopPropagation();return}const Ll=tr.getBoundingClientRect();Ve=ao>Ll.right,Fe=ao<Ll.left;let Cl=te;zh(ci)&&(ci.isPrimary||(Cl=Cf(E,ci.clientX,ci.clientY,{bias:0})));const Ns=Cf(E,ao,bi,{bias:ao<=lt?ao===lt?0:-1:1});Cl>=0&&Ns>=0&&(E.model.extendSelectionTo(Cl,Ns),Eu(a)),le&&Kh(E.model)}Ld&&Math.abs(Ld.x-lt)<5&&Math.abs(Ld.y-zt)<5&&Date.now()<Ld.time+500?(Sf+=1,Ld.time=xn):(Ld={x:lt,y:zt,time:xn},Sf=1);const Ca=tr.getBoundingClientRect();if(lt>=Ca.left&<<=Ca.right&&zt>=Ca.top&&zt<=Ca.bottom){if(a.flushInlineShortcutBuffer(),a.adoptStyle="left",te=Cf(a,lt,zt,{bias:0}),te>=0){if(a.element.classList.add("tracking"),y.shiftKey){const ci=a.model.selectionIsCollapsed;a.model.extendSelectionTo(a.model.anchor,te),w0(a.model)||ci?Me="all":Me="selection"}else a.model.at(te).type==="placeholder"?(a.model.setSelection(te-1,te),Me="selection"):((b=a.model.at(te).rightSibling)==null?void 0:b.type)==="placeholder"?(a.model.setSelection(te,te+1),Me="selection"):(a.model.position=te,w0(a.model)?Me="all":Me="selection");a.defaultStyle={},y.detail===3||Sf>2?(Na(),(y.detail===3||Sf===3)&&(a.model.selection={ranges:[[0,a.model.lastOffset]]},Me="all")):ie||(ie=!0,nh.start(tr,y,qi,Na),(y.detail===2||Sf===2)&&(le=!0,Kh(a.model),Me="all"))}a.hasFocus()||(Me="none",a.focus({preventScroll:!0}))}else Ld=null;a.stopCoalescingUndo(),Me!=="none"&&(a.model.selectionIsCollapsed&&(Me="all"),Eu(a)),y.preventDefault()}function og(a,y,b){if(a>=b.left&&a<=b.right&&y>=b.top&&y<=b.bottom)return 0;const E=a-(b.left+b.right)/2,te=y-(b.top+b.bottom)/2;return E*E+te*te}function Q0(a,y,b,E,te){if(!b.id)return[1/0,null];if(y.has(b.id))return y.get(b.id);const ie=Pc(a,b);if(!ie)return[1/0,null];let le=[1/0,null];if(b.hasChildren&&!b.captureSelection&&E>=ie.left&&E<=ie.right)for(const Me of b.children){const Fe=Q0(a,y,Me,E,te);Fe[0]<=le[0]&&(le=Fe)}return le[1]||(le=[og(E,te,ie),b]),y.set(b.id,le),le}function lg(a,y,b){const[,E]=Q0(a,new Map,a.model.root,y,b);return E}function Cf(a,y,b,E){var te;const ie=a.field.querySelector(".ML__latex").getBoundingClientRect();if(!ie)return 0;if(y>ie.right||b>ie.bottom+8)return a.model.lastOffset;if(y<ie.left||b<ie.top-8)return 0;E=E!=null?E:{},E.bias=(te=E.bias)!=null?te:0;let le=lg(a,y,b);const Me=[];let Fe=le;for(;Fe;)Me.unshift(Fe),Fe=Fe.parent;for(const lt of Me)if(lt.captureSelection){le=lt;break}let Ve=a.model.offsetOf(le);if(Ve<0)return-1;if(le.leftSibling)if(E.bias===0&&le.type!=="placeholder"){const lt=Pc(a,le);lt&&y<(lt.left+lt.right)/2&&(Ve=a.model.offsetOf(le.leftSibling))}else E.bias<0&&(Ve=a.model.offsetOf(le.leftSibling));return Ve}var sg=class extends is{constructor(){super("math")}onPaste(a,y){if(!y||!a.model.contentWillChange({data:typeof y=="string"?y:null,dataTransfer:typeof y=="string"?null:y,inputType:"insertFromPaste"}))return!1;let b="",E="auto",te=typeof y!="string"?y.getData("application/json+mathlive"):"";if(te)try{const ie=JSON.parse(te);if(ie&&Array.isArray(ie)){a.snapshot();const le=pd(ie),{model:Me}=a;Me.selectionIsCollapsed||Me.deleteAtoms(ou(Me.selection));const Fe=Me.at(Me.position);if(Fe.parent instanceof fs){console.assert(Fe.parentBranch!==void 0);const Ve=[];let lt=[];le[0].type==="first"&&le.shift(),le[le.length-1].type==="first"&&le.pop();for(const pr of le)pr.type==="first"&<.length>0?(Ve.push(lt),lt=[pr]):lt.push(pr);lt.length>0&&Ve.push(lt);let zt=Number(Fe.parentBranch[0]),xn=Number(Fe.parentBranch[1]);const tr=Fe.parent.maxColumns;for(;Fe.parent.colCount-xn<Ve.length&&Fe.parent.colCount<tr;)Fe.parent.addColumn();Fe.parent.addChildrenAfter(Ve[0],Fe);for(let pr=1;pr<Ve.length;pr++)xn++,xn>=tr&&(xn=0,Fe.parent.addRowAfter(zt),zt++),Fe.parent.setCell(zt,xn,Ve[pr])}else Fe.parent.addChildrenAfter(le.filter(Ve=>Ve.type!=="first"),Fe);return Me.position=Me.offsetOf(le[le.length-1]),Me.contentDidChange({inputType:"insertFromPaste"}),Eu(a),!0}}catch(ie){}if(te=typeof y!="string"?y.getData("application/json"):"",te&&window.MathfieldElement.computeEngine)try{const ie=JSON.parse(te);if(typeof ie=="object"&&"latex"in ie&&ie.latex&&(b=ie.latex),!b){const le=window.MathfieldElement.computeEngine.box(ie);le&&!le.has("Error")&&(b=le.latex)}b||(E="latex")}catch(ie){}if(!b&&typeof y!="string"&&(b=y.getData("application/x-latex"),b&&(E="latex")),b||(b=typeof y=="string"?y:y.getData("text/plain")),b){let ie;return[ie,b]=Xu(b),E==="auto"&&ie&&(E="latex"),a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b,{format:E})&&(a.startRecording(),a.snapshot("paste"),Eu(a)),a.startRecording(),!0}return!1}insert(a,y,b){var E,te;const ie=typeof y=="string"?y:(te=(E=window.MathfieldElement.computeEngine)==null?void 0:E.box(y).latex)!=null?te:"";if(!b.silenceNotifications&&!a.contentWillChange({data:ie,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:le}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const Me=a.silenceNotifications;a.silenceNotifications=!0;const Fe={"?":"\\placeholder{}","@":"\\placeholder{}"};Fe[0]=b.insertionMode==="replaceAll"?"":a.getValue(a.selection,"latex-unstyled"),b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(ou(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 Ve=-1;Fe[0]?Fe["@"]=Fe[0]:typeof y=="string"&&/(^|[^\\])#@/.test(y)&&(Ve=cg(a),Ve>=0&&(Fe["@"]=a.getValue(Ve,a.position,"latex"))),Fe[0]||(Fe[0]=Fe["?"]);let lt=!1;const zt=ao=>(lt=!0,Fe[ao]);let[xn,tr]=X0(a,y,zt,b);if(!tr)return!1;const pr=tr.length===1&&tr[0].type==="genfrac";pr&&Ve>=0&&typeof a.mathfield.options.isImplicitFunction=="function"&&a.mathfield.options.isImplicitFunction(a.at(a.position).command)?(Fe["@"]=Fe["?"],lt=!1,[xn,tr]=X0(a,y,zt,b)):Ve>=0&&a.deleteAtoms([Ve,a.position]);const{parent:Na}=a.at(a.position),qi=Na.hasEmptyBranch("body");if(pr&&xn!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Na instanceof Fs&&Na.leftDelim==="("&&qi){const ao=Na.parent,bi=Na.parentBranch;ao.removeChild(Na),ao.setChildren(tr,bi)}const Ca=a.at(a.position);Ca.parent.addChildrenAfter(tr,Ca),xn==="latex"&&typeof y=="string"&&(Na==null?void 0:Na.type)==="root"&&qi&&!lt&&(Na.verbatimLatex=y),a.silenceNotifications=Me;const ci=tr[tr.length-1];if(b.selectionMode==="placeholder"){const ao=tr.flatMap(bi=>[bi,...bi.children]).find(bi=>bi.type==="placeholder");if(ao){const bi=a.offsetOf(ao);a.setSelection(bi-1,bi),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:ie,inputType:"insertText"}),a.silenceNotifications=le,!0}};function X0(a,y,b,E){var te;let ie,le=[];if(typeof y!="string"||E.format==="math-json"){const Me=window.MathfieldElement.computeEngine;if(!Me)return["math-json",[]];[ie,y]=["latex",Me.box(y).latex],le=Wu(y,{context:a.mathfield.context})}else typeof y=="string"&&E.format==="ascii-math"?([ie,y]=Rs(y,{format:"ascii-math",inlineShortcuts:a.mathfield.options.inlineShortcuts}),le=Wu(y,{context:a.mathfield.context}),ie!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&rh(le)):(E.format==="auto"||(te=E.format)!=null&&te.startsWith("latex"))&&(E.format==="auto"&&([ie,y]=Rs(y,{format:"auto",inlineShortcuts:a.mathfield.options.inlineShortcuts})),E.format==="latex"&&([,y]=Xu(y)),le=Wu(y,{context:a.mathfield.context,args:b}),E.format!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&rh(le));return vd(le,E.style),[ie!=null?ie:"latex",le]}function ug(a){if(!a||(console.assert(a[0].type==="first"),a.length>1))return null;const y=a[0];return y instanceof Fs&&y.leftDelim==="("&&y.rightDelim===")"?y.removeBranch("body"):null}function rh(a){if(a){for(let y=0;a[y];y++){const b=a[y];if(b instanceof Fs&&b.leftDelim==="("){let E=0,te=0,ie=0;for(let le=0;b.body[le];le++)b.body[le].type==="genfrac"&&(E++,te=le),ie++;ie===0&&E===1&&(a[y]=b.body[te])}}for(const y of a){for(const b of y.branches)if(!y.hasEmptyBranch(b)){rh(y.branch(b));const E=ug(y.branch(b));E&&y.setChildren(E,b)}if(y instanceof fs)for(const b of y.cells)rh(b)}}}function cg(a){let y=a.at(a.position);if(y.mode==="text"){for(;!y.isFirstSibling&&y.mode==="text";)y=y.leftSibling;return a.offsetOf(y)}const b=y;let E=!1;if(y.type==="mclose"){const te=re[y.value];for(;!y.isFirstSibling&&!(y.type==="mopen"&&y.value===te);)y=y.leftSibling;y.isFirstSibling||(y=y.leftSibling),E=!0}else y.type==="leftright"&&(y=y.leftSibling,E=!0);if(E)for(;!y.isFirstSibling&&(y.isFunction||J0(y));)y=y.leftSibling;else{const te=[];for(;!y.isFirstSibling&&(J0(y)||te.length>0);)y.type==="mclose"&&te.unshift(y.value),y.type==="mopen"&&te.length>0&&y.value===re[te[0]]&&te.shift(),y=y.leftSibling}return b===y?-1:a.offsetOf(y)}function J0(a){return a.isDigit()?!0:a.type&&/^(mord|surd|subsup|leftright|mop|mclose)$/.test(a.type)?!a.isExtensibleSymbol:!1}new sg;var dg=class extends is{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"),Eu(a)),a.startRecording(),!0):!1}insert(a,y,b={}){if(!a.contentWillChange({data:y,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:E}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const te=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(ou(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 ie=fg(y,a.mathfield.context);if(vd(ie,b.style),!ie)return!1;const le=a.at(a.position),Me=le.parent.addChildrenAfter(ie,le);return a.silenceNotifications=te,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(Me)):Me&&(a.position=a.offsetOf(Me))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=E,!0}};function fg(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 "),Wu(a,{context:y,parseMode:"text"})}new dg;function _c(a){return{value:a.model.getValue(),selectionIsCollapsed:a.model.selectionIsCollapsed,canUndo:a.canUndo(),canRedo:a.canRedo(),style:a.selectionStyle,mode:a.model.mode}}var lu=4,uc=20,Ru=2*(uc+lu),ah=(a,y)=>`
|
|
|
<line x1="${a+uc}" y1="${y+uc}"
|
|
|
x2="${a>y?a+uc:7*uc+10*lu}"
|
|
|
y2="${a<y?y+uc:7*uc+10*lu}"/>
|
|
|
<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>`,q0=(a,y)=>`
|
|
|
<line x1="${a+uc}" y1="${y+uc}"
|
|
|
x2="${a>y?a+uc:7*uc+10*lu}"
|
|
|
y2="${a<y?y+uc:7*uc+10*lu}"/>
|
|
|
<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>`,ih=(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>`,hg=`
|
|
|
<svg class="MLEP__array-buttons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
viewBox=
|
|
|
"-2 -2 ${8*uc+10*lu+5} ${8*uc+10*lu+5}">
|
|
|
<rect
|
|
|
class="MLEP__array-insert-background rows"
|
|
|
x="0"
|
|
|
y="${Ru+lu}"
|
|
|
height="${3*Ru}"
|
|
|
width="${Ru}"
|
|
|
rx="${Ru/2}"/>
|
|
|
<rect
|
|
|
class="MLEP__array-insert-background columns"
|
|
|
x="${Ru+lu}"
|
|
|
y="0"
|
|
|
height="${Ru}"
|
|
|
width="${3*Ru}"
|
|
|
rx="${Ru/2}"/>
|
|
|
<g data-command='"moveDown"'>
|
|
|
${ih(2*(lu+Ru),2*lu+3*Ru,0)}
|
|
|
</g>
|
|
|
<g data-command='"moveUp"'>
|
|
|
${ih(2*(lu+Ru),2*lu+Ru,180)}
|
|
|
</g>
|
|
|
<g data-command='"moveToNextWord"'>
|
|
|
${ih(2*lu+3*Ru,2*(lu+Ru),-90)}
|
|
|
</g>
|
|
|
<g data-command='"moveToPreviousWord"'>
|
|
|
${ih(2*lu+Ru,2*(lu+Ru),90)}
|
|
|
</g>
|
|
|
<g>
|
|
|
|
|
|
<g data-command='"addColumnBefore"'>
|
|
|
${ah(2*lu+Ru,lu)}
|
|
|
</g>
|
|
|
<g data-command='"removeColumn"'>
|
|
|
${q0(2*lu+2*Ru,lu)}
|
|
|
</g>
|
|
|
<g data-command='"addColumnAfter"'>
|
|
|
${ah(2*lu+3*Ru,lu)}
|
|
|
</g>
|
|
|
<g data-command='"addRowBefore"'>
|
|
|
${ah(lu,2*lu+Ru)}
|
|
|
</g>
|
|
|
<g data-command='"removeRow"'>
|
|
|
${q0(lu,2*lu+2*Ru)}
|
|
|
</g>
|
|
|
<g data-command='"addRowAfter"'>
|
|
|
${ah(lu,2*lu+3*Ru)}
|
|
|
</g>
|
|
|
</svg>`,pg=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>`,mg=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>`,$0=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>`,vg=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>`,gg=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>`,yg=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>`,bg=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>`,xg=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>`,Hh={matrix:pg,pmatrix:mg,bmatrix:vg,Bmatrix:$0,vmatrix:gg,Vmatrix:yg},Zh={cases:bg,rcases:xg,Bmatrix:$0};function wg(a){var y,b;const E=(y=a.model.parentEnvironment)==null?void 0:y.array;if(!E)return;let te=0;E.forEach(pr=>{(!te||pr.length>te)&&(te=pr.length)});let ie=document.getElementById("mathlive-environment-popover");ie||(ie=Kf("mathlive-environment-popover"),hc("environment-popover"),hc("core"),ie.setAttribute("aria-hidden","true"));let le;const Me=ie.querySelector(".MLEP__environment-controls");Me?le=Me:(le=document.createElement("div"),ie.innerHTML="",ie.appendChild(le)),le.className="MLEP__environment-controls",le.style.display="flex",le.style.width="100%",le.style.height="100%",le.style.boxSizing="border-box",le.innerHTML=hg;let Fe=[],Ve="";const lt=a.model.parentEnvironment.environmentName;if(Ju(lt)){const pr=Cg(lt);Ve=Hh[pr]("active");const Na=Hh,{[pr]:qi}=Na,Ca=rt(Na,[Pe(pr)]);Fe=Object.values(Ca).map(ci=>ci("inactive"))}else if(qu(lt)){const pr=Eg(lt);Ve=Zh[pr]("active");const Na=Zh,{[pr]:qi}=Na,Ca=rt(Na,[Pe(pr)]);Fe=Object.values(Ca).map(ci=>ci("inactive"))}else Bu(lt)&&(Ve=Hh.matrix("active"),Fe=Object.values(Zh).map(pr=>pr("inactive")));const zt=document.createElement("div");zt.className="MLEP__environment-delimiter-controls",zt.style.display="flex",zt.style.flexDirection="column",zt.innerHTML=`
|
|
|
<div class='MLEP__array-delimiter-options'>
|
|
|
${Ve}
|
|
|
${Fe.join("")}
|
|
|
</div>`,Ve&&le.appendChild(zt),le.querySelectorAll("[data-command]").forEach(pr=>{const Na=pr.dataset.command;let qi=Na;try{qi=JSON.parse(Na)}catch(Ca){}pr.addEventListener("mousedown",Ca=>Ca.preventDefault()),qi&&pr.addEventListener("click",()=>a.executeCommand(qi))});const tr=(b=a.field)==null?void 0:b.getBoundingClientRect();tr&&(ie.style.top=`${window.scrollY+(tr.top-ie.clientHeight-15)}px`,ie.style.left=`${tr.left+20}px`,ie.classList.add("is-visible"))}function Wh(){const a=document.getElementById("mathlive-environment-popover");a==null||a.classList.remove("is-visible")}function Sg(){document.getElementById("mathlive-environment-popover")&&(Ch("mathlive-environment-popover"),x("environment-popover"),x("core"))}function oh(a){if(!a.hasFocus())return;let y=!1;if(a.model.mode==="math"){const b=a.model.parentEnvironment;if(b!=null&&b.array&&gu(b.environmentName)){const E=a.options.environmentPopoverPolicy;y=E==="auto"||E==="on"}}y?wg(a):Wh()}function Cg(a){return a.replace("*","")}function Eg(a){return a==="dcases"?"cases":a}function ep(a){const y=getComputedStyle(a).direction;return y==="ltr"||y==="rtl"?y:"ltr"}function tp(a,y,b){return y==="left"||y==="leading"&&b==="ltr"||y==="trailing"&&b==="rtl"?a.left:a.right}function _h(a,y,b,E){return b==="middle"?a-y/2:b==="start"&&E==="rtl"||b==="end"&&E==="ltr"||b==="top"||b==="right"?Math.max(0,a-y):a}function Ag(a,y,b,E){return b==="middle"?a-y/2:b==="start"&&E==="ltr"||b==="end"&&E==="rtl"||b==="top"||b==="right"?a:a-y}function Mg(a,y){var b,E,te;const ie=(b=ep(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 le=a.getBoundingClientRect(),Me=Number.isFinite(y.maxHeight)?Math.min(y.maxHeight,window.innerHeight):window.innerHeight;let Fe=Math.min(Me,(E=y.height)!=null?E:le.height),Ve=_h(y.location.y,Fe,y.verticalPos,ie);Ve+Fe>window.innerHeight-8&&(y.alternateLocation?(Ve=_h(y.alternateLocation.y,Fe,y.verticalPos,ie),Ve+Fe>window.innerHeight-8&&(Ve=void 0)):Ve=void 0),Number.isFinite(Ve)||(Ve=Math.max(8,window.innerHeight-8-Fe),8+Fe>window.innerHeight-8&&(a.style.bottom="8px")),Fe=Math.min(Ve+Fe,window.innerHeight-8)-Ve;const lt=Number.isFinite(y.maxWidth)?Math.min(y.maxWidth,window.innerWidth):window.innerWidth;let zt=Math.min(lt,(te=y.width)!=null?te:le.width),xn=_h(y.location.x,zt,y.horizontalPos,ie);xn+zt>window.innerWidth-8&&(y.alternateLocation?(xn=Ag(y.alternateLocation.x,zt,y.verticalPos,ie),xn+zt>window.innerWidth-8&&(xn=void 0)):xn=void 0),Number.isFinite(xn)||(xn=Math.max(8,window.innerWidth-8-zt),8+zt>window.innerWidth-8&&(a.style.right="8px")),zt=Math.min(xn+zt,window.innerWidth-8)-xn,ie==="rtl"?a.style.right=`${Math.ceil(window.innerWidth-xn-zt).toString()}px`:a.style.left=`${Math.ceil(xn).toString()}px`,a.style.top=`${Math.ceil(Ve).toString()}px`,Fe!==le.height&&(a.style.height=`${Math.ceil(Fe).toString()}px`),zt!==le.width&&(a.style.width=`${Math.ceil(zt).toString()}px`)}function Dg(a,y){return Math.hypot(y.x-a.x,y.y-a.y)}function Qd(a){return"submenu"in a}function Vc(a){return"type"in a&&a.type==="command"||"onMenuSelect"in a||"id"in a}function Vh(a){return"type"in a&&a.type==="divider"}function jh(a){return"type"in a&&a.type==="heading"}var np={};function Uh(a){let y=np[a];if(!y){let b;switch(a){case"checkmark":b=`<span aria-hidden="true" class="ui-checkmark"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z"></path></svg>
|
|
|
</span>`;break;case"trailing-chevron":b='<span aria-hidden="true" class="ui-trailing-chevron"><svg focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg></span>';break;case"mixedmark":b='<span aria-hidden="true" class="ui-mixedmark"><svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 512 512"><path fill="currentColor" d="M0 256c0-13.3 10.7-24 24-24H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24z"/></svg></span>'}if(b){const E=document.createElement("template");E.innerHTML=b,np[a]=E,y=E}}if(y){if("content"in y)return y.content.cloneNode(!0);const b=document.createElement("svg");return b.innerHTML=y.innerHTML,b}}var rp=80,ap=class{constructor(a,y){this._element=null;var b;this.parentMenu=y,this._declaration=a,Qd(a)?(this.type="submenu",this.submenu=new ip(a.submenu,{parentMenu:y,submenuClass:a.submenuClass,columnCount:a.columnCount})):this.type=(b=a.type)!=null?b:"command",this.hasCheck=Vc(a)&&a.checked!==void 0}get rootMenu(){return this.parentMenu.rootMenu}get abortController(){return this._abortController||(this._abortController=new AbortController),this._abortController}dispose(){var a,y;(a=this._abortController)==null||a.abort(),this._abortController=void 0,(y=this._element)==null||y.remove(),this._element=null,this.submenu&&this.submenu.dispose(),this.submenu=void 0}get menuItem(){return this._declaration}get label(){var a;return(a=this._label)!=null?a:""}set label(a){a===void 0&&(a=""),a!==this._label&&(this._label=a,this.dirty=!0)}get visible(){return this._visible}set visible(a){a!==this._visible&&(this._visible=a,this.dirty=!0)}get enabled(){return this._enabled}set enabled(a){this._enabled=a,this.element&&(a?this.element.removeAttribute("aria-disabled"):this.element.setAttribute("aria-disabled","true")),this.dirty=!0}get checked(){return this._checked}set checked(a){this._checked=a,this.dirty=!0}get tooltip(){return this._tooltip}set tooltip(a){a!==this._tooltip&&(this._tooltip=a,this.dirty=!0)}get ariaLabel(){return this._ariaLabel}set ariaLabel(a){a!==this._ariaLabel&&(this._ariaLabel=a,this.dirty=!0)}get active(){var a,y;return(y=(a=this.element)==null?void 0:a.classList.contains("active"))!=null?y:!1}set active(a){this.element&&this.element.classList.toggle("active",a)}updateState(a){var y,b,E;const te=this._declaration;if(Vh(te)){this.enabled=!1,this.checked=!1;return}jh(te)&&(this.enabled=!1,this.checked=!1,this.visible=!0),Vc(te)&&(this.checked=Vc(te)&&((y=Xd(te.checked,a))!=null?y:!1)),(Vc(te)||Qd(te))&&(this.enabled=(b=Xd(te.enabled,a))!=null?b:!0,this.visible=(E=Xd(te.visible,a))!=null?E:!0,this.visible&&this.enabled&&this.submenu&&(this.submenu.updateState(a),this.submenu.visible||(this.visible=!1))),(Vc(te)||jh(te)||Qd(te))&&(this.label=Xd(te.label,a),this.tooltip=Xd(te.tooltip,a),this.ariaLabel=Xd(te.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(Uh("checkmark"))):this.checked==="mixed"?(a.setAttribute("aria-checked","mixed"),a.append(Uh("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),Vc(this._declaration)&&this._declaration.keyboardShortcut){const b=document.createElement("kbd");b.innerHTML=wh(this._declaration.keyboardShortcut),a.append(b)}this.type==="submenu"&&a.append(Uh("trailing-chevron"))}get element(){if(this._element)return this._element;if(Vh(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,(Vc(this._declaration)||jh(this._declaration)||Qd(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(!Vc(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()},rp)},rp)}openSubmenu(a){var y;if(this.type!=="submenu"||!this.element)return;if((y=a==null?void 0:a.withDelay)!=null&&y){this.rootMenu.scheduleOperation(()=>this.openSubmenu());return}const b=this.element.getBoundingClientRect(),E=ep(this.element);this.submenu.show({container:this.rootMenu.element.parentNode,location:{x:tp(b,"trailing",E),y:b.top-4},alternateLocation:{x:tp(b,"leading",E),y:b.top-4}})}movingTowardSubmenu(a){if(!this.element||this.type!=="submenu")return!1;const y=this.rootMenu.lastMoveEvent;if(!y)return!1;const b=a.timeStamp-y.timeStamp;if(b>500)return!1;const E=a.clientX-y.clientX;if(kg(E,y.clientY-a.clientY,b)<=.2)return!1;let ie="right";if(this.submenu.element){const le=this.submenu.element.getBoundingClientRect(),Me=this.element.getBoundingClientRect();le.left<Me.left+Me.width/2&&(ie="left")}return ie==="right"?E>0:E<0}};function kg(a,y,b){return Math.hypot(a,y)/b}function Xd(a,y){return a===void 0||typeof a!="function"?a:(y!=null||(y={alt:!1,control:!1,shift:!1,meta:!1}),a(y))}var ip=class af{constructor(y,b){this._element=null,this._activeMenuItem=null,this._dirty=!0;var E,te;this.parentMenu=(E=b==null?void 0:b.parentMenu)!=null?E:null,this._submenuClass=b==null?void 0:b.submenuClass,this.columnCount=(te=b==null?void 0:b.columnCount)!=null?te:1,this.isSubmenuOpen=!1,this.menuItems=y}get children(){return this._menuItems}set menuItems(y){const b=this.parentMenu;this.dispose(),this.parentMenu=b,y=[...y],this._menuItems=y.map(E=>E.onCreate?E.onCreate(E,this):new ap(E,this)),this.hasCheck=void 0,this.dirty=!0}dispose(){var y;this.hide(),this._element&&this._element.remove(),this._abortController&&this._abortController.abort(),(y=this._menuItems)==null||y.forEach(b=>b.dispose()),this._menuItems=[],this._activeMenuItem=null,this.parentMenu=null}handleEvent(y){if(y.type==="wheel"&&this._element){const b=y;this._element.scrollBy(0,b.deltaY),y.stopPropagation()}}dispatchEvent(y){return this.rootMenu.dispatchEvent(y)}get rootMenu(){return this.parentMenu.rootMenu}updateState(y){var b,E,te;this._menuItems.forEach(Ve=>Ve.updateState(y));const ie=this.hasCheck;this.hasCheck=this._menuItems.some(Ve=>Ve.visible&&Ve.hasCheck),this.hasCheck!==ie&&this._menuItems.forEach(Ve=>Ve.updateState(y));let le,Me=0;for(const Ve of this._menuItems)Ve.type==="heading"?(le&&Me===0&&(le.visible=!1),le=Ve,Me=0):Ve.type==="divider"&&le?(le.visible=Me>0,le=void 0,Me=0):le&&Ve.visible&&(Me+=1);le&&(le.visible=Me>0);let Fe=!0;for(const Ve of this._menuItems)Ve.type==="divider"?(Ve.visible=!Fe,Fe=!0):Ve.visible&&(Fe=!1);(b=this.activeMenuItem)!=null&&b.visible||(this.activeMenuItem=null),!((E=this.activeMenuItem)!=null&&E.enabled)&&((te=this.activeMenuItem)==null?void 0:te.type)==="submenu"&&this._activeMenuItem.submenu.hide(),this._dirty=!1}get enabled(){return this.updateIfDirty(),this._menuItems.some(y=>y.type!=="divider"&&y.visible&&y.enabled)}get visible(){return this.updateIfDirty(),this._menuItems.some(y=>y.type!=="divider"&&y.visible)}set dirty(y){console.assert(y===!0),this._dirty!==y&&y&&this.parentMenu&&(this._dirty=!0,this.parentMenu.dirty=!0)}updateIfDirty(){this._dirty&&this.updateState(this.rootMenu.modifiers)}updateElement(){var y;if(this._element){this._element.textContent="";for(const{element:b,visible:E}of this._menuItems)b&&E&&this._element.append(b);(y=this._element.querySelector("li:first-of-type"))==null||y.setAttribute("tabindex","0")}}get element(){if(this._element)return this._element;const y=document.createElement("menu");y.setAttribute("role","menu"),y.setAttribute("tabindex","-1"),y.setAttribute("aria-orientation","vertical"),y.setAttribute("part","ui-menu-container"),this._submenuClass&&y.classList.add(this._submenuClass),y.classList.add("ui-menu-container"),this._abortController||(this._abortController=new AbortController);const b=this._abortController.signal;return y.addEventListener("focus",this,{signal:b}),y.addEventListener("wheel",this,{passive:!0,signal:b}),this._element=y,this.updateElement(),y}get activeMenuItem(){return this._activeMenuItem}set activeMenuItem(y){var b,E,te,ie;if(this.rootMenu.cancelDelayedOperation(),y!==this._activeMenuItem){if(this.activeMenuItem){const le=this.activeMenuItem;le.active=!1,(b=le.submenu)==null||b.hide()}if(!((E=y==null?void 0:y.visible)==null||E)){this._activeMenuItem=null;return}this._activeMenuItem=y,y&&(y.active=!0)}y?(te=y.element)==null||te.focus({preventScroll:!0}):(ie=this._element)==null||ie.focus({preventScroll:!0})}get firstMenuItem(){this.updateIfDirty();let y=0,b=!1;const E=this._menuItems;for(;!b&&y<=E.length-1;){const te=E[y];b=te.type!=="divider"&&te.visible&&te.enabled,y+=1}return b?E[y-1]:null}get lastMenuItem(){this.updateIfDirty();const y=this._menuItems;let b=y.length-1,E=!1;for(;!E&&b>=0;){const te=y[b];E=te.type!=="divider"&&te.visible&&te.enabled,b-=1}return E?y[b+1]:null}nextMenuItem(y){if(y===0)return this._activeMenuItem;if(!this._activeMenuItem)return y>0?this.firstMenuItem:this.lastMenuItem;if(!this.firstMenuItem||!this.lastMenuItem||!this._activeMenuItem)return null;this.updateIfDirty();const b=this._menuItems.indexOf(this.firstMenuItem),E=this._menuItems.indexOf(this.lastMenuItem);let te=this._menuItems.indexOf(this._activeMenuItem),ie=1;for(;te>=b&&te<=E;){te+=y>0?1:-1;const le=this._menuItems[te];if(!le)break;if(le.visible&&le.enabled){if(ie===Math.abs(y))return this._menuItems[te];ie+=1}}return y>0?this.lastMenuItem:this.firstMenuItem}getMenuItemColumn(y){this.updateIfDirty();const E=this._menuItems.filter(te=>te.visible&&te.enabled).indexOf(y);return E<0?-1:E%this.columnCount}static get collator(){return af._collator||(af._collator=new Intl.Collator(void 0,{usage:"search",sensitivity:"base"})),af._collator}findMenuItem(y){var b;this.updateIfDirty();const E=this._menuItems.filter(Me=>Me.type!=="divider"&&Me.visible&&Me.enabled);if(E.length===0)return null;const te=Math.max(...E.map(Me=>Me.label.length))-y.length;if(te<0)return null;let ie=null,le=0;for(;le<te&&!ie;)ie=(b=E.find(Me=>af.collator.compare(y,Me.label.substring(le,y.length))===0))!=null?b:null,le++;return ie}show(y){return!this.visible||!y.container?!1:(this.updateElement(),y.container.appendChild(this.element),Tt()&&(this.element.popover="manual",this.element.showPopover()),y.location&&Mg(this.element,{location:y.location,alternateLocation:y.alternateLocation,verticalPos:"bottom",horizontalPos:"start"}),this.element.focus({preventScroll:!0}),this.parentMenu&&(this.parentMenu.openSubmenu=this),!0)}hide(){var y,b,E,te,ie;this.openSubmenu=null,this.activeMenuItem=null,this.parentMenu&&(this.parentMenu.openSubmenu=null),Tt()&&((y=this._element)!=null&&y.popover)&&this.element.hidePopover(),(E=(b=this.parentMenu)==null?void 0:b.element)==null||E.focus(),(ie=(te=this._element)==null?void 0:te.parentNode)==null||ie.removeChild(this._element)}set openSubmenu(y){var b,E,te,ie;const le=y!==null;((b=this.activeMenuItem)==null?void 0:b.type)==="submenu"&&((E=this.activeMenuItem.element)==null||E.setAttribute("aria-expanded",le.toString())),(ie=(te=this.activeMenuItem)==null?void 0:te.element)==null||ie.classList.toggle("is-submenu-open",le),this.isSubmenuOpen=le}},op=class cm extends ip{constructor(y,b){var E;super(y),this.state="closed",this.typingBufferResetTimer=0,this.hysteresisTimer=0,this._updating=!1,this._host=(E=b==null?void 0:b.host)!=null?E:null,this.isDynamic=y.some(lp),this._modifiers={shift:!1,control:!1,alt:!1,meta:!1},this.typingBuffer="",this.state="closed"}get modifiers(){return this._modifiers}set modifiers(y){Gm(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=Ad(y)),y.stopImmediatePropagation()}handleKeydownEvent(y){var b,E,te;if(y.key==="Tab"||y.key==="Escape"){this.hide();return}this.isDynamic&&(this.modifiers=Ad(y));let ie=!0;const le=this.activeSubmenu,Me=le.activeMenuItem;switch(y.key){case" ":case"Space":case"Return":case"Enter":Me==null||Me.select(Ad(y));break;case"ArrowRight":if((Me==null?void 0:Me.type)==="submenu")Me.select(Ad(y)),this.activeSubmenu.activeMenuItem=this.activeSubmenu.firstMenuItem;else if(!Me)le.activeMenuItem=le.firstMenuItem;else{const Fe=(b=le.getMenuItemColumn(Me))!=null?b:-1;if(Fe>=0&&Fe<((E=le.columnCount)!=null?E:1)-1){const Ve=le.nextMenuItem(1);Ve&&(le.activeMenuItem=Ve)}}break;case"ArrowLeft":if(le===this.rootMenu)Me||(le.activeMenuItem=le.firstMenuItem);else if((Me&&(te=le.getMenuItemColumn(Me))!=null?te:-1)<=0||!Me){le.hide();const Ve=le.parentMenu.activeMenuItem;if(Ve){const{element:lt}=Ve;lt==null||lt.focus(),lt==null||lt.classList.remove("is-submenu-open")}}else{const Ve=le.nextMenuItem(-1);Ve&&(le.activeMenuItem=Ve)}break;case"ArrowDown":le.activeMenuItem=le.nextMenuItem(le.columnCount);break;case"ArrowUp":le.activeMenuItem=le.nextMenuItem(-le.columnCount);break;case"Home":case"PageUp":le.activeMenuItem=le.firstMenuItem;break;case"End":case"PageDown":le.activeMenuItem=le.lastMenuItem;break;case"Backspace":if(this.typingBuffer&&(this.typingBuffer=this.typingBuffer.slice(0,-1),this.typingBuffer)){clearTimeout(this.typingBufferResetTimer);const Fe=le.findMenuItem(this.typingBuffer);Fe&&(le.activeMenuItem=Fe),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}break;default:if(Tf(y)){isFinite(this.typingBufferResetTimer)&&clearTimeout(this.typingBufferResetTimer),this.typingBuffer+=y.key;const Fe=le.findMenuItem(this.typingBuffer);Fe&&(le.activeMenuItem=Fe),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}else ie=!1}ie&&(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 Hc.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),Hc.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),Hc.state==="open"&&Hc.scrim.close()}get rootMenu(){return this}show(y){return this._onDismiss=y==null?void 0:y.onDismiss,y!=null&&y.modifiers&&(this.modifiers=y.modifiers),this.updateState(),this.connectScrim(y==null?void 0:y.target),super.show(me(Se({},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,Hc.element.parentElement.focus(),super.hide(),this.state="closed",this.disconnectScrim()),this._onDismiss&&(this._onDismiss(),this._onDismiss=void 0))}scheduleOperation(y){this.cancelDelayedOperation();const b=cm.SUBMENU_DELAY;if(b<=0){y();return}this.hysteresisTimer=setTimeout(()=>{this.hysteresisTimer=0,y()},b)}cancelDelayedOperation(){this.hysteresisTimer&&(clearTimeout(this.hysteresisTimer),this.hysteresisTimer=0)}};op.SUBMENU_DELAY=120;var Ng=op;function lp(a){return Vh(a)?!1:typeof a.label=="function"||typeof a.ariaLabel=="function"||typeof a.tooltip=="function"||(Vc(a)||Qd(a))&&(typeof a.enabled=="function"||typeof a.visible=="function")||Vc(a)&&typeof a.checked=="function"?!0:Qd(a)?a.submenu.some(lp):!1}var lh=class{};lh.DELAY=300,lh.MAX_DISTANCE=10;function Ig(a){return new Promise((y,b)=>{const E=Of(a);E||y(!1);let te=E;const ie=setTimeout(()=>{le.abort(),y(Dg(te,E)<lh.MAX_DISTANCE)},lh.DELAY),le=new AbortController,Me=le.signal;for(const Fe of["pointermove","pointerup","pointercancel"])window.addEventListener(Fe,Ve=>{if(Ve.type==="pointerup"||Ve.type==="pointercancel")clearTimeout(ie),le.abort(),y(!1);else if(Ve.type==="pointermove"){const lt=Of(Ve);lt&&(te=lt)}},{passive:!0,signal:Me})})}function sp(a,y,b){return od(this,null,function*(){if(a.type==="contextmenu"){const E=a;if(b.show({target:y,location:Of(E),modifiers:Ad(E)}))return a.preventDefault(),a.stopPropagation(),!0}if(a.type==="keydown"){const E=a;if(E.code==="ContextMenu"||E.code==="F10"&&E.shiftKey){const te=y==null?void 0:y.getBoundingClientRect();if(te&&b.show({target:y,location:{x:Math.ceil(te.left+te.width/2),y:Math.ceil(te.top+te.height/2)},modifiers:Ad(E)}))return a.preventDefault(),a.stopPropagation(),!0}}if(a.type==="pointerdown"&&a.pointerType!=="mouse"&&a.button===0){let E=a.target;for(;E&&y!==E;)E=E.parentNode;if(!E||!b.visible)return!1;const te=Of(a);if(yield Ig(a))return b.state!=="closed"?!1:(b.show({target:y,location:te}),!0)}return!1})}var up={acute:714,grave:715,dot:729,ddot:168,mathring:730,tilde:126,bar:713,breve:728,check:711,hat:94,vec:8407};Fn(Object.keys(up),"{body:auto}",{createAtom:a=>new z(me(Se({},a),{body:Kt(a.args[0]),accentChar:up[a.command.slice(1)]}))}),Fn(["widehat","widecheck","widetilde"],"{body:auto}",{createAtom:a=>{const y=_n(Kt(a.args[0]));return new z(me(Se({},a),{body:Kt(a.args[0]),svgAccent:a.command.slice(1)+(y.length>5?"4":["1","1","2","2","3","3"][y.length])}))}}),Fn(["overarc","overparen","wideparen"],"{body:auto}",{createAtom:a=>new z(me(Se({},a),{body:Kt(a.args[0]),svgAccent:"overarc"}))}),Fn(["underarc","underparen"],"{body:auto}",{createAtom:a=>new Cc(me(Se({},a),{body:Kt(a.args[0]),svgBelow:"underarc"}))}),Fn("utilde","{body:auto}",{createAtom:a=>{const y=Kt(a.args[0]),b=_n(y),E="widetilde"+(b.length>5?"4":["1","1","2","2","3","3"][b.length]);return new Cc(me(Se({},a),{body:y,svgBelow:E,boxType:nu(y)}))}}),Fn("^","{:string}",{createAtom:a=>{var y;return new Fa(me(Se({},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:"^"}))}}),Fn("`","{:string}",{createAtom:a=>{var y;return new Fa(me(Se({},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:"`"}))}}),Fn("'","{:string}",{createAtom:a=>{var y;return new Fa(me(Se({},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:"'"}))}}),Fn('"',"{:string}",{createAtom:a=>{var y,b;return new Fa(me(Se({},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]:'"'}))}}),Fn(".","{:string}",{createAtom:a=>{var y,b;return new Fa(me(Se({},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]:"."}))}}),Fn("=","{:string}",{createAtom:a=>{var y,b;return new Fa(me(Se({},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]:"="}))}}),Fn("~","{:string}",{createAtom:a=>{var y;return new Fa(me(Se({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"}))}}),Fn("c","{:string}",{createAtom:a=>{var y;return new Fa(me(Se({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={c:"\xE7",C:"\xC7"}[a.args[0]])!=null?y:""}))}}),Fn("enclose","{notation:string}[style:string]{body:auto}",{createAtom:a=>{var y,b;const E=a.args,te={strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",backgroundcolor:"transparent",padding:"auto",shadow:"none",svgStrokeStyle:void 0,borderStyle:void 0,style:(y=a.style)!=null?y:{}};if(E[1]){const le=E[1].split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const Me of le){const Fe=Me.match(/\s*(\S+)\s+(\S+)\s+(.*)/);if(Fe)te.strokeWidth=Fe[1],te.strokeStyle=Fe[2],te.strokeColor=Fe[3];else{const Ve=Me.match(/\s*([a-z]*)\s*=\s*"(.*)"/);Ve&&(Ve[1]==="mathbackground"?te.backgroundcolor=Ve[2]:Ve[1]==="mathcolor"?te.strokeColor=Ve[2]:Ve[1]==="padding"?te.padding=Ve[2]:Ve[1]==="shadow"&&(te.shadow=Ve[2]))}}te.strokeStyle==="dashed"?te.svgStrokeStyle="5,5":te.strokeStyle==="dotted"&&(te.svgStrokeStyle="1,5")}te.borderStyle=`${te.strokeWidth} ${te.strokeStyle} ${te.strokeColor}`;const ie={};return((b=E[0])!=null?b:"").split(/[, ]/).filter(le=>le.length>0).forEach(le=>{ie[le.toLowerCase()]=!0}),new of(a.command,Kt(E[2]),ie,te)}}),Fn("cancel","{body:auto}",{createAtom:a=>{var y;return new of(a.command,Kt(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:{}})}}),Fn("bcancel","{body:auto}",{createAtom:a=>{var y;return new of(a.command,Kt(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:{}})}}),Fn("xcancel","{body:auto}",{createAtom:a=>{var y;return new of(a.command,Kt(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:{}})}}),Fn(["overrightarrow","overleftarrow","Overrightarrow","overleftharpoon","overrightharpoon","overleftrightarrow","overlinesegment","overgroup"],"{:auto}",{createAtom:a=>{var y;return new Cc(me(Se({},a),{body:Kt((y=a.args)==null?void 0:y[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgAbove:a.command.slice(1)}))}}),Fn("overbrace","{:auto}",{createAtom:a=>new Cc(me(Se({},a),{body:Kt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgAbove:a.command.slice(1)}))}),Fn(["underrightarrow","underleftarrow","underleftrightarrow","underlinesegment","undergroup"],"{:auto}",{createAtom:a=>new Cc(me(Se({},a),{body:Kt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgBelow:a.command.slice(1)}))}),Fn(["underbrace"],"{:auto}",{createAtom:a=>new Cc(me(Se({},a),{body:Kt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgBelow:a.command.slice(1)}))}),Fn(["xrightarrow","longrightarrow","xleftarrow","longleftarrow","xRightarrow","xLeftarrow","xleftharpoonup","xleftharpoondown","xrightharpoonup","xrightharpoondown","xlongequal","xtwoheadleftarrow","xtwoheadrightarrow","xleftrightarrow","longleftrightarrow","xLeftrightarrow","xrightleftharpoons","longrightleftharpoons","xleftrightharpoons","xhookleftarrow","xhookrightarrow","xmapsto","xtofrom","xleftrightarrows","longleftrightarrows","xRightleftharpoons","longRightleftharpoons","xLeftrightharpoons","longLeftrightharpoons"],"[:auto]{:auto}",{createAtom:a=>{var y,b,E,te,ie;return new Cc(me(Se({},a),{svgBody:a.command.slice(1),above:((b=Kt((y=a.args)==null?void 0:y[1]))==null?void 0:b.length)===0?void 0:Kt((E=a.args)==null?void 0:E[1]),below:(ie=Kt((te=a.args)==null?void 0:te[0]))!=null?ie: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)}`}),Fn(["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 Ed(a.command.slice(1),me(Se({},a),{limits:"adjacent",isFunction:!0,variant:"main",variantStyle:"up"}))}),Fn(["liminf","limsup"],"",{ifMode:"math",createAtom:a=>new Ed({"\\liminf":"lim inf","\\limsup":"lim sup"}[a.command],me(Se({},a),{limits:"over-under",variant:"main"}))}),Fn(["lim","mod"],"",{ifMode:"math",createAtom:a=>new Ed(a.command.slice(1),me(Se({},a),{limits:"over-under",variant:"main"}))}),Fn(["det","max","min"],"",{ifMode:"math",isFunction:!0,createAtom:a=>new Ed(a.command.slice(1),me(Se({},a),{limits:"over-under",isFunction:!0,variant:"main"}))}),Fn(["ang"],"{:math}",{ifMode:"math",createAtom:a=>new Fa(me(Se({},a),{body:Kt(a.args[0])})),serialize:(a,y)=>`\\ang{${a.bodyToLatex(y)}}`,render:(a,y)=>{const b=a.createBox(y),E=b.caret;b.caret=void 0;const te=new ui("\xB0",{style:me(Se({},a.style),{variant:"normal",variantStyle:"up"})});return new ui([b,te],{type:"inner",isSelected:a.isSelected,caret:E})}}),Fn("sqrt","[index:auto]{radicand:expression}",{ifMode:"math",createAtom:a=>new c0(me(Se({},a),{body:Kt(a.args[1]),index:a.args[0]?Kt(a.args[0]):void 0}))}),Fn(["frac","dfrac","tfrac","cfrac","binom","dbinom","tbinom"],"{:expression}{:expression}",{ifMode:"math",createAtom:a=>{const y=Se({},a),b=a.command,E=a.args;switch(b){case"\\dfrac":case"\\frac":case"\\tfrac":y.hasBarLine=!0;break;case"\\atopfrac":y.hasBarLine=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":y.hasBarLine=!1,y.leftDelim="(",y.rightDelim=")";break;case"\\cfrac":y.hasBarLine=!0,y.continuousFraction=!0;break;default:}switch(b){case"\\dfrac":case"\\dbinom":y.mathstyleName="displaystyle";break;case"\\tfrac":case"\\tbinom":y.mathstyleName="textstyle";break;default:}return new Hd(E[0]?Kt(E[0]):[new Ol],E[1]?Kt(E[1]):[new Ol],y)},serialize:(a,y)=>{const b=a.aboveToLatex(y),E=a.belowToLatex(y);return/^[0-9]$/.test(b)&&/^[0-9]$/.test(E)?`${a.command}${b}${E}`:ki(a.command,b,E)}}),Fn(["brace","brack"],"",{infix:!0,createAtom:a=>new Hd(Kt(a.args[0]),Kt(a.args[1]),me(Se({},a),{hasBarLine:!1,leftDelim:a.command==="\\brace"?"\\lbrace":"\\lbrack",rightDelim:a.command==="\\brace"?"\\rbrace":"\\rbrack"})),serialize:(a,y)=>$i([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),Fn(["over","atop","choose"],"",{infix:!0,createAtom:a=>{let y,b;const E=a.args;return a.command==="\\choose"&&(y="(",b=")"),new Hd(Kt(E[0]),Kt(E[1]),me(Se({},a),{hasBarLine:a.command==="\\over",leftDelim:y,rightDelim:b}))},serialize:(a,y)=>$i([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),Fn(["overwithdelims","atopwithdelims"],"{numer:auto}{denom:auto}{left-delim:delim}{right-delim:delim}",{infix:!0,createAtom:a=>{var y,b;const E=a.args;return new Hd(Kt(E[0]),Kt(E[1]),me(Se({},a),{leftDelim:(y=E[2])!=null?y:".",rightDelim:(b=E[3])!=null?b:".",hasBarLine:!1}))},serialize:(a,y)=>`${a.aboveToLatex(y)} ${a.command}${a.leftDelim}${a.rightDelim}${a.belowToLatex(y)}`}),Fn("pdiff","{numerator}{denominator}",{ifMode:"math",createAtom:a=>new Hd(Kt(a.args[0]),Kt(a.args[1]),me(Se({},a),{hasBarLine:!0,numerPrefix:"\u2202",denomPrefix:"\u2202"}))}),Fn(["sum","prod","bigcup","bigcap","coprod","bigvee","bigwedge","biguplus","bigotimes","bigoplus","bigodot","bigsqcup","intop"],"",{ifMode:"math",createAtom:a=>new vh({coprod:"\u2210",bigvee:"\u22C1",bigwedge:"\u22C0",biguplus:"\u2A04",bigcap:"\u22C2",bigcup:"\u22C3",intop:"\u222B",prod:"\u220F",sum:"\u2211",bigotimes:"\u2A02",bigoplus:"\u2A01",bigodot:"\u2A00",bigsqcup:"\u2A06",smallint:"\u222B"}[a.command.slice(1)],me(Se({},a),{limits:"auto",variant:"main"}))}),Fn("smallint","",{ifMode:"math",createAtom:a=>new Ed("\u222B",me(Se({},a),{limits:"adjacent",variant:"main"}))});var cp={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"};Fn(Object.keys(cp),"",{ifMode:"math",createAtom:a=>{const y=a.command,b=cp[y.slice(1)];return new vh(b,me(Se({},a),{limits:"adjacent",variant:{"\u22D2":"ams","\u22D3":"ams"}[b]}))}}),Fn(["Re","Im"],"",{ifMode:"math",createAtom:a=>new Ed({"\\Re":"\u211C","\\Im":"\u2111"}[a.command],me(Se({},a),{limits:"adjacent",isFunction:!0,variant:"fraktur"}))}),Fn("middle","{:delim}",{ifMode:"math",createAtom:a=>{var y;return new l0(me(Se({},a),{delim:(y=a.args[0])!=null?y:"|",size:1}))}}),Fn("the","{:value}",{createAtom:a=>new Fa(me(Se({},a),{captureSelection:!0,verbatimLatex:null})),render:(a,y)=>{var b;const E=new cl({parent:y},a.style);let te="";a.isSelected&&(te+=" ML__selected");const ie=E.evaluate(a.args[0]);return new ui(((b=Ts(ie))!=null?b:"").split("").map(le=>new ui(le,{type:"ord",classes:te,mode:a.mode,isSelected:a.isSelected,style:Se({variant:"main"},a.style)})),{type:"lift",style:a.style,caret:a.caret,isSelected:a.isSelected,classes:te}).wrap(E)},serialize:a=>{var y;return`\\the${(y=Ts(a.args[0]))!=null?y:"\\relax"}`}}),Fn("mathtip","{:auto}{:math}",{createAtom:a=>new gh(me(Se({},a),{body:Kt(a.args[0]),tooltip:Kt(a.args[1]),content:"math"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${Fa.serialize([a.tooltip],me(Se({},y),{defaultMode:"math"}))}}`}),Fn("texttip","{:auto}{:text}",{createAtom:a=>new gh(me(Se({},a),{body:Kt(a.args[0]),tooltip:Kt(a.args[1]),content:"text"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${Fa.serialize([a.tooltip],me(Se({},y),{defaultMode:"text"}))}}`}),Fn("error","{:math}",{createAtom:a=>new Fa(me(Se({},a),{body:Kt(a.args[0])})),serialize:(a,y)=>`\\error{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__error"})}),Fn("ensuremath","{:math}",{createAtom:a=>new Fa(me(Se({},a),{body:Kt(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(me(Se({},y),{defaultMode:"math"}))}}`}),Fn("color","{:value}",{applyStyle:(a,y,b)=>{var E,te;return{verbatimColor:(E=Ts(y[0]))!=null?E:void 0,color:b.toColor((te=y[0])!=null?te:{string:"red"})}}}),Fn("textcolor","{:value}{content:auto*}",{applyStyle:(a,y,b)=>{var E,te;return{verbatimColor:(E=Ts(y[0]))!=null?E:void 0,color:b.toColor((te=y[0])!=null?te:{string:"red"})}}}),Fn("boxed","{content:math}",{createAtom:a=>new Mu(me(Se({},a),{body:Kt(a.args[0]),framecolor:{string:"black"}}))}),Fn("colorbox","{:value}{:text*}",{applyStyle:(a,y,b)=>{var E,te;return{verbatimBackgroundColor:(E=Ts(y[0]))!=null?E:void 0,backgroundColor:b.toBackgroundColor((te=y[0])!=null?te:{string:"yellow"})}}}),Fn("fcolorbox","{frame-color:value}{background-color:value}{content:text}",{applyMode:"text",createAtom:a=>{var y,b;return new Mu(me(Se({},a),{body:Kt(a.args[2]),framecolor:(y=a.args[0])!=null?y:{string:"blue"},backgroundcolor:(b=a.args[1])!=null?b:{string:"yellow"}}))},serialize:(a,y)=>{var b,E;return y.skipStyles?a.bodyToLatex(me(Se({},y),{defaultMode:"text"})):ki(a.command,(b=Ts(a.framecolor))!=null?b:"",(E=Ts(a.backgroundcolor))!=null?E:"",a.bodyToLatex(me(Se({},y),{defaultMode:"text"})))}}),Fn("bbox","[:bbox]{body:auto}",{createAtom:a=>{var y;const b=a.args[0],E=Kt(a.args[1]);return b?new Mu(me(Se({},a),{body:E,padding:b.padding,border:b.border,backgroundcolor:(y=b.backgroundcolor)!=null?y:void 0})):new Mu(me(Se({},a),{body:E}))},serialize:(a,y)=>{var b,E;if(y.skipStyles)return a.bodyToLatex(y);let te=a.command;if(Number.isFinite(a.padding)||a.border!==void 0||a.backgroundcolor!==void 0){const ie=[];a.padding&&ie.push((b=Ts(a.padding))!=null?b:""),a.border&&ie.push(`border: ${a.border}`),a.backgroundcolor&&ie.push((E=Ts(a.backgroundcolor))!=null?E:""),te+=`[${ie.join(",")}]`}return ki(te,a.bodyToLatex(y))}}),Fn(["displaystyle","textstyle","scriptstyle","scriptscriptstyle"],"{:rest}",{createAtom:a=>new Fa(me(Se({},a),{body:Kt(a.args[0])})),render:(a,y)=>{const b=new cl({parent:y,mathstyle:a.command.slice(1)},a.style),E=Fa.createBox(b,a.body,{type:"lift"});return a.caret&&(E.caret=a.caret),a.bind(y,E)},serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`{${$i([a.command,a.bodyToLatex(y)])}}`}),Fn(["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]})}),Fn("fontseries","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontSeries:(b=y[0])!=null?b:"auto"}}}),Fn("fontshape","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontShape:(b=y[0])!=null?b:"auto"}}}),Fn("fontfamily","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontFamily:(b=y[0])!=null?b:"roman"}}}),Fn("selectfont","",{ifMode:"text",applyStyle:()=>({})}),Fn("bf","{:rest}",{applyStyle:()=>({fontSeries:"b",fontShape:"n",fontFamily:"roman"})}),Fn(["boldsymbol","bm"],"{:math}",{applyMode:"math",createAtom:a=>new Fa(me(Se({},a),{body:Kt(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__boldsymbol"})}),Fn("bold","{:math*}",{applyMode:"math",applyStyle:()=>({variantStyle:"bold"})}),Fn("bfseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),Fn("mdseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),Fn("upshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),Fn("slshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),Fn("scshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),Fn("textbf","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),Fn("textmd","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),Fn("textup","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),Fn("textnormal","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n",fontSeries:"m"})}),Fn("textsl","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),Fn("textit","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"it"})}),Fn("textsc","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),Fn("textrm","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"roman"})}),Fn("textsf","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"sans-serif"})}),Fn("texttt","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"monospace"})}),Fn("mathbf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"bold"})}),Fn("mathit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"italic"})}),Fn("mathnormal","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"italic"})}),Fn("mathbfit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"bolditalic"})}),Fn("mathrm","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"up"})}),Fn("mathsf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"sans-serif",variantStyle:"up"})}),Fn("mathtt","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"monospace",variantStyle:"up"})}),Fn("it","{:rest}",{applyStyle:()=>({fontSeries:"m",fontShape:"it",fontFamily:"roman",variantStyle:"italic"})}),Fn("rmfamily","",{applyStyle:()=>({fontFamily:"roman"})}),Fn("sffamily","",{applyStyle:()=>({fontFamily:"sans-serif"})}),Fn("ttfamily","",{applyStyle:()=>({fontFamily:"monospace"})}),Fn(["Bbb","mathbb"],"{:math*}",{applyStyle:()=>({variant:"double-struck",variantStyle:"up"})}),Fn(["frak","mathfrak"],"{:math*}",{applyStyle:()=>({variant:"fraktur",variantStyle:"up"})}),Fn("mathcal","{:math*}",{applyStyle:()=>({variant:"calligraphic",variantStyle:"up"})}),Fn("mathscr","{:math*}",{applyStyle:()=>({variant:"script",variantStyle:"up"})}),Fn("mbox","{:text}",{ifMode:"math",createAtom:a=>new Fa(me(Se({},a),{type:"mord",body:Kt(a.args[0]),mode:"math"})),serialize:(a,y)=>ki("\\mbox",a.bodyToLatex(me(Se({},y),{defaultMode:"text"})))}),Fn("text","{:text}",{ifMode:"math",applyMode:"text"}),Fn(["class","htmlClass"],"{name:string}{content:auto}",{createAtom:a=>new Fa(me(Se({},a),{body:Kt(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:""})}}),Fn(["cssId","htmlId"],"{id:string}{content:auto}",{createAtom:a=>new Fa(me(Se({},a),{body:Kt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.cssId=(b=a.args[0])!=null?b:"",E}}),Fn("htmlData","{data:string}{content:auto}",{createAtom:a=>new Fa(me(Se({},a),{body:Kt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`\\htmlData{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.htmlData=(b=a.args[0])!=null?b:"",E}}),Fn(["style","htmlStyle"],"{data:string}{content:auto}",{createAtom:a=>new Fa(me(Se({},a),{body:Kt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.htmlStyle=(b=a.args[0])!=null?b:"",E}}),Fn("em","{:rest}",{createAtom:a=>new Fa(me(Se({},a),{body:Kt(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"})}),Fn("emph","{:auto}",{createAtom:a=>new Fa(me(Se({},a),{body:Kt(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 dp={"\\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}};Fn(["bigl","Bigl","biggl","Biggl","bigr","Bigr","biggr","Biggr","bigm","Bigm","biggm","Biggm","big","Big","bigg","Bigg"],"{:delim}",{createAtom:a=>{var y;return new s0(me(Se({},a),{delim:(y=a.args[0])!=null?y:".",size:dp[a.command].size,delimType:dp[a.command].mclass}))}}),Fn(["hspace","hspace*"],"{width:value}",{createAtom:a=>{var y;return new uf(me(Se({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),Fn(["mkern","kern","mskip","hskip","mspace"],"{width:value}",{createAtom:a=>{var y;return new uf(me(Se({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),Fn("mathchoice","{:math}{:math}{:math}{:math}",{createAtom:a=>new Fa(a),render:(a,y)=>{let b=0;const E=y.mathstyle.id;(E===uu||E===cu)&&(b=1),(E===Iu||E===Us)&&(b=2),(E===Pu||E===Gs)&&(b=3);const te=Kt(a.args[b]);return Fa.createBox(y,te)},serialize:(a,y)=>`\\mathchoice{${Fa.serialize(a.args[0],y)}}{${Fa.serialize(a.args[1],y)}}{${Fa.serialize(a.args[2],y)}}{${Fa.serialize(a.args[3],y)}}`}),Fn("mathop","{:auto}",{createAtom:a=>new Fa(me(Se({},a),{type:"mop",body:Kt(a.args[0]),limits:"over-under",isFunction:!0,captureSelection:!0})),render:(a,y)=>{var b;let E=Fa.createBox(y,a.body);if(a.superscript||a.subscript){const te=(b=a.subsupPlacement)!=null?b:"auto";E=te==="over-under"||te==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:E}):a.attachSupsub(y,{base:E})}return new ui(a.bind(y,E),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[ki(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)),$i(b)}}),Fn(["mathbin","mathrel","mathopen","mathclose","mathpunct","mathord","mathinner"],"{:auto}",{createAtom:a=>new Fa(me(Se({},a),{type:{"\\mathbin":"mbin","\\mathrel":"mrel","\\mathopen":"mopen","\\mathclose":"mclose","\\mathpunct":"mpunct","\\mathord":"mord","\\mathinner":"minner"}[a.command],body:Kt(a.args[0])}))}),Fn(["operatorname","operatorname*"],"{operator:math}",{createAtom:a=>{const y=Kt(a.args[0]).map(b=>{var E;return b.type!=="first"&&(b.type="mord",b.value=(E={"\u2217":"*","\u2212":"-"}[b.value])!=null?E:b.value,b.isFunction=!1,!b.style.variant&&!b.style.variantStyle&&(b.style.variant="main",b.style.variantStyle="up")),b});return new Fa(me(Se({},a),{type:"mop",body:y,isFunction:!0,limits:a.command==="\\operatorname"?"adjacent":"over-under"}))},render:(a,y)=>{var b;let E=Fa.createBox(y,a.body);if(a.superscript||a.subscript){const te=(b=a.subsupPlacement)!=null?b:"auto";E=te==="over-under"||te==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:E}):a.attachSupsub(y,{base:E})}return a.caret&&(E.caret=a.caret),new ui(a.bind(y,E),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[ki(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)),$i(b)}}),Fn(["char","unicode"],"{charcode:value}",{createAtom:a=>new Fa(me(Se({},a),{type:a.mode==="text"?"text":"mord"})),serialize:a=>{var y;return`${a.command}${Ts((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)}}),Fn("rule","[raise:value]{width:value}{thickness:value}",{createAtom:a=>new Fa(a),render:(a,y)=>{var b,E,te;const ie=new cl({parent:y,mathstyle:"textstyle"},a.style),le=ie.toEm((b=a.args[0])!=null?b:{dimension:0}),Me=ie.toEm((E=a.args[1])!=null?E:{dimension:10}),Fe=ie.toEm((te=a.args[2])!=null?te:{dimension:10}),Ve=new ui(null,{classes:"rule",type:"ord"});return Ve.width=Me,Ve.height=Fe+le,Ve.depth=-le,Ve.setStyle("border-right-width",Me,"em"),Ve.setStyle("border-top-width",Fe,"em"),Ve.setStyle("border-color",a.style.color),Ve.setStyle("vertical-align",le,"em"),a.isSelected&&Ve.setStyle("opacity","50%"),a.bind(ie,Ve),a.caret&&(Ve.caret=a.caret),Ve.wrap(y)},serialize:a=>`\\rule${a.args[0]?`[${Ts(a.args[0])}]`:""}{${Ts(a.args[1])}}{${Ts(a.args[2])}}`}),Fn(["overline","underline"],"{:auto}",{createAtom:a=>new Fa(me(Se({},a),{body:Kt(a.args[0])})),render:(a,y)=>{const b=a.command.substring(1),E=new cl({parent:y,mathstyle:"cramp"},a.style),te=Fa.createBox(E,a.body);if(!te)return null;const ie=E.metrics.defaultRuleThickness/E.scalingFactor,le=new ui(null,{classes:b+"-line"});le.height=ie,le.maxFontSize=ie*1.125*E.scalingFactor;let Me;return b==="overline"?Me=new as({shift:0,children:[{box:te},3*ie,{box:le},ie]}):Me=new as({top:te.height,children:[ie,{box:le},3*ie,{box:te}]}),a.caret&&(Me.caret=a.caret),new ui(Me,{classes:b,type:"ignore"})}}),Fn("overset","{:auto}{base:auto}",{createAtom:a=>{const y=Kt(a.args[1]);return new Cc(me(Se({},a),{above:Kt(a.args[0]),body:y,skipBoundary:!1,boxType:nu(y)}))},serialize:(a,y)=>ki(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),Fn("underset","{:auto}{base:auto}",{createAtom:a=>{const y=Kt(a.args[1]);return new Cc(me(Se({},a),{below:Kt(a.args[0]),body:y,skipBoundary:!1,boxType:nu(y)}))},serialize:(a,y)=>ki(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),Fn("overunderset","{above:auto}{below:auto}{base:auto}",{createAtom:a=>{const y=Kt(a.args[2]);return new Cc(me(Se({},a),{above:Kt(a.args[0]),below:Kt(a.args[1]),body:y,skipBoundary:!1,boxType:nu(y)}))},serialize:(a,y)=>ki(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),Fn(["stackrel","stackbin"],"[below:auto]{above:auto}{base:auto}",{createAtom:a=>new Cc(me(Se({},a),{body:Kt(a.args[2]),above:Kt(a.args[1]),below:Kt(a.args[0]),skipBoundary:!1,boxType:a.command==="\\stackrel"?"rel":"bin"})),serialize:(a,y)=>ki(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),Fn("smash","[:string]{:auto}",{createAtom:a=>{var y,b,E,te;return new sf(me(Se({},a),{body:Kt(a.args[1]),smashHeight:(b=(y=a.args[0])==null?void 0:y.includes("t"))!=null?b:!0,smashDepth:(te=(E=a.args[0])==null?void 0:E.includes("b"))!=null?te:!0}))}}),Fn(["vphantom"],"{:auto}",{createAtom:a=>new sf(me(Se({},a),{body:Kt(a.args[0]),isInvisible:!0,smashWidth:!0}))}),Fn(["hphantom"],"{:auto}",{createAtom:a=>new sf(me(Se({},a),{body:Kt(a.args[0]),isInvisible:!0,smashHeight:!0,smashDepth:!0}))}),Fn(["phantom"],"{:auto}",{createAtom:a=>new sf(me(Se({},a),{body:Kt(a.args[0]),isInvisible:!0}))}),Fn("not","{:math}",{createAtom:a=>{const y=Kt(a.args[0]);return y.length===0?new Fa(me(Se({},a),{type:"mrel",value:"\uE020"})):new Fa(me(Se({},a),{body:[new Cd(me(Se({},a),{body:"\uE020",align:"right"})),...y],captureSelection:!0}))},serialize:(a,y)=>{const b=a.args[0],E=b&&typeof b=="object"&&"group"in b;return a.value!=="\uE020"?E?`\\not{${Fa.serialize(b.group,y)}}`:`\\not${Fa.serialize(b,y)}`:E?"\\not{}":"\\not"},render:(a,y)=>{if(a.value)return a.createBox(y);const E=a.args[0]&&typeof a.args[0]=="object"&&"group"in a.args[0]?"ord":nu(Kt(a.args[0])),te=Fa.createBox(y,a.body,{type:E});return a.caret&&(te.caret=a.caret),a.bind(y,te)}}),Fn(["ne","neq"],"",{createAtom:a=>new Fa(me(Se({},a),{type:"mrel",body:[new Cd(me(Se({},a),{body:"\uE020",align:"right",boxType:"rel"})),new Fa(me(Se({},a),{value:"="}))],captureSelection:!0})),serialize:a=>a.command}),Fn("rlap","{:auto}",{createAtom:a=>new Cd(me(Se({},a),{body:Kt(a.args[0]),align:"right"}))}),Fn("llap","{:auto}",{createAtom:a=>new Cd(me(Se({},a),{body:Kt(a.args[0]),align:"left"}))}),Fn("mathrlap","{:math}",{createAtom:a=>new Cd(me(Se({},a),{body:Kt(a.args[0]),align:"left"}))}),Fn("mathllap","{:math}",{createAtom:a=>new Cd(me(Se({},a),{body:Kt(a.args[0]),align:"left"}))}),Fn("raisebox","{:value}{:text}",{createAtom:a=>{var y;return new Mu(me(Se({},a),{body:Kt(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return ki("\\raisebox",(b=Ts(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),Fn("raise","{:value}{:auto}",{createAtom:a=>{var y;return new Mu(me(Se({},a),{body:Kt(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return ki("\\raise",(b=Ts(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),Fn("lower","{:value}{:auto}",{createAtom:a=>{var y;return new Mu(me(Se({},a),{body:Kt(a.args[1]),padding:{dimension:0},offset:(y=xu(a.args[0],-1))!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b,E;return ki("\\lower",(E=Ts(xu((b=a.offset)!=null?b:{dimension:0},-1)))!=null?E:"0pt",a.bodyToLatex(y))}}),Ye("0123456789/@.?!"),xt(65,90),xt(97,122),Ye([["\\forall",8704],["\\exists",8707],["\\nexists",8708,"mord","ams"],["\\mid",8739,"mrel"],["\\top",8868],["\\bot",8869]]),Ye([["\\#",35],["\\&",38],["\\parallelogram",9649],["\\spadesuit",9824],["\\heartsuit",9825],["\\diamondsuit",9826],["\\clubsuit",9827],["\\flat",9837],["\\natural",9838],["\\sharp",9839]]),Ye([["\\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]]),Ye([["\\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"),Ye([["\\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"]]),Ye([["\\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"]]),Ye([["\\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"),Ye([["+",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"),Ye([["\\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"),Ye([["\\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]]),Ye([["=",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"),Ye([["\\lnot",172],["\\neg",172],["\\triangle",9651],["\\subsetneq",8842],["\\varsubsetneq",57370],["\\subsetneqq",10955],["\\varsubsetneqq",57367],["\\nsubset",8836],["\\nsupset",8837],["\\nsubseteq",8840],["\\nsupseteq",8841]],"mrel","ams"),Ye([["\\wp",8472],["\\aleph",8501]]),Ye([["\\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"),Ye([["\\ ",160],["~",160]],"space"),Fn(["!",",",":",";",">","enskip","enspace","quad","qquad"],"",{createAtom:a=>new uf(a)}),Fn("space","",{createAtom:a=>new uf(a)}),Ye([["\\colon",58],["\\cdotp",8901],["\\vdots",8942,"mord"],["\\ldotp",46],[",",44],[";",59]],"mpunct"),Ye([["\\cdots",8943],["\\ddots",8945],["\\ldots",8230],["\\mathellipsis",8230]],"minner"),Ye([["\\/",47],["|",8739,"mord"],["\\imath",305],["\\jmath",567],["\\degree",176],["'",8242],['"',8221]]);var fp="<mo>⁡</mo>",sh="<mo>⁢</mo>";function uh(a){return a.replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function $s(a,y){return!a||!y.generateID?"":` extid="${a}"`}function Pg(a,y,b){var E,te,ie,le,Me,Fe,Ve,lt,zt,xn,tr;let pr=!1;y=y!=null?y:a.atoms.length;let Na="",qi="",Ca=a.atoms[a.index];const ci=(te=(E=Ca.style)==null?void 0:E.variant)!=null?te:"",ao=(le=(ie=Ca.style)==null?void 0:ie.variantStyle)!=null?le:"";let bi="";if(ci||ao){const Ll=An(Ca.value,(Me=Ca.style)==null?void 0:Me.variant,(Fe=Ca.style)==null?void 0:Fe.variantStyle);if(Ll!==Ca.value)return a.index+=1,Na=`<mi${$s(Ca.id,b)}>${Ll}</mi>`,ad(Na,a,b)||(a.mathML+=Na,a.lastType="mi"),!0;bi=(Ve={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"}[ao+ci])!=null?Ve:"",bi=` mathvariant="${bi}"`}const al={"\\exponentialE":"ⅇ","\\imaginaryI":"ⅈ","\\differentialD":"ⅆ","\\capitalDifferentialD":"ⅅ","\\alpha":"α","\\pi":"π","\\infty":"∞","\\forall":"∀","\\nexists":"∄","\\exists":"∃","\\hbar":"\u210F","\\cdotp":"\u22C5","\\ldots":"\u2026","\\cdots":"\u22EF","\\ddots":"\u22F1","\\vdots":"\u22EE","\\ldotp":"."};if(Ca.command==="!")return a.index+=1,Na="<mo>!</mo>",ad(Na,a,b)||(a.mathML+=Na,a.lastType="mo"),!0;if(al[Ca.command]){a.index+=1;let Ll=`<mi${$s(Ca.id,b)}${bi}>${al[Ca.command]}</mi>`;return(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mtext"||a.lastType==="fence")&&(Ll=sh+Ll),ad(Ll,a,b)||(a.mathML+=Ll,a.lastType="mi"),!0}if(Ca.command==="\\operatorname")qi=Jd(Ca.body),a.index+=1;else if(ci||ao)for(;a.index<y&&(Ca.type==="mord"||Ca.type==="macro")&&!Ca.isDigit()&&ci===((zt=(lt=Ca.style)==null?void 0:lt.variant)!=null?zt:"")&&ao===((tr=(xn=Ca.style)==null?void 0:xn.variantStyle)!=null?tr:"");)qi+=Jd([Ca]),a.index+=1,Ca=a.atoms[a.index];else(Ca.type==="mord"||Ca.type==="macro")&&!Ca.isDigit()&&(qi+=Jd([Ca]),a.index+=1);if(qi.length>0){pr=!0,Na=`<mi${bi}>${qi}</mi>`;const Ll=a.lastType;Na.endsWith(">f</mi>")||Na.endsWith(">g</mi>")?(Na+=fp,a.lastType="applyfunction"):a.lastType=/^<mo>(.*)<\/mo>$/.test(Na)?"mo":"mi",ad(Na,a,b)||((Ll==="mi"||Ll==="mn"||Ll==="mtext"||Ll==="fence")&&(Na=sh+Na),a.mathML+=Na)}return pr}function Bg(a){return a.index<a.atoms.length&&a.atoms[a.index].superscript&&a.atoms[a.index].type==="subsup"}function Lg(a){let y=-1,b=a.index,E=!1,te=!1;for(;b<a.atoms.length&&!E&&!te;){const ie=a.atoms[b];E=!ie.isDigit(),te=!E&&ie.superscript!==void 0,b++}return te&&(y=b-1),y}function ad(a,y,b){var E;let te=y.atoms[y.index-1];if(!te)return!1;if(!te.superscript&&!te.subscript)if(((E=y.atoms[y.index])==null?void 0:E.type)==="subsup")te=y.atoms[y.index],y.index+=1;else return!1;const ie=y.lastType;y.lastType="";const le=Ks(te.superscript,b);y.lastType="";const Me=Ks(te.subscript,b);if(y.lastType=ie,!le&&!Me)return!1;let Fe="";return le&&Me?Fe=`<msubsup>${a}${Me}${le}</msubsup>`:le?Fe=`<msup>${a}${le}</msup>`:Me&&(Fe=`<msub>${a}${Me}</msub>`),y.mathML+=Fe,y.lastType="",!0}function Og(a,y,b){y=y!=null?y:a.atoms.length;const E=a.index;let te="";for(;a.index<y&&a.atoms[a.index].mode==="text";)te+=a.atoms[a.index].value?a.atoms[a.index].value:" ",a.index+=1;return te.length>0?(a.mathML+=`<mtext ${$s(a.atoms[E].id,b)}>${te}</mtext>`,a.lastType="mtext",!0):!1}function Tg(a,y,b){y=y!=null?y:a.atoms.length;const E=a.index;let te="",ie=Lg(a);for(ie>=0&&ie<y&&(y=ie);a.index<y&&a.atoms[a.index].isDigit();)te+=a.atoms[a.index].asDigit(),a.index+=1;return te.length<=0?!1:(te="<mn"+$s(a.atoms[E].id,b)+">"+te+"</mn>",ie<0&&Bg(a)&&(ie=a.index,a.index+=1),ad(te,a,b)||(a.mathML+=te,a.lastType="mn"),!0)}function Rg(a,y,b){let E=!1;y=y!=null?y:a.atoms.length;let te="",ie="";if(a.index<y&&a.atoms[a.index].type==="mopen"){let le=!1,Me=0;const Fe=a.index;let Ve=-1,lt=Fe+1;for(;lt<y&&!le;)a.atoms[lt].type==="mopen"?Me+=1:a.atoms[lt].type==="mclose"&&(Me-=1),Me===-1&&(le=!0,Ve=lt),lt+=1;le&&(te="<mrow>",te+=Od(a.atoms[Fe],b),te+=Ks(a.atoms,b,Fe+1,Ve),te+=Od(a.atoms[Ve],b),te+="</mrow>",a.index=Ve+1,(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mfrac"||a.lastType==="fence")&&(a.mathML+=sh),ad(te,a,b)&&(E=!0,a.lastType="",te=""),ie="fence")}return te.length>0&&(E=!0,a.mathML+=te,a.lastType=ie),E}function Fg(a,y,b){let E=!1;y=y!=null?y:a.atoms.length;let te="",ie="";const le=a.atoms[a.index];if(!le)return!1;const Me={"\\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(Me[le.command]){a.index+=1;const Fe=`<mo${$s(le.id,b)}>${Me[le.command]}</mo>`;return ad(Fe,a,b)||(a.mathML+=Fe,a.lastType="mo"),!0}if(a.index<y&&(le.type==="mbin"||le.type==="mrel"))te+=Gh(a.atoms[a.index],b),a.index+=1,ie="mo";else if(a.index<y&&(le.type==="mop"||le.type==="operator"||le.type==="extensible-symbol")){if(le.subsupPlacement==="over-under"&&(le.superscript||le.subscript)){const Fe=Od(le,b);return le.superscript&&le.subscript?(te+="<munderover>"+Fe,te+=Ks(le.subscript,b),te+=Ks(le.superscript,b),te+="</munderover>"):le.superscript?(te+="<mover>"+Fe,te+=Ks(le.superscript,b),te+="</mover>"):le.subscript&&(te+="<munder>"+Fe,te+=Ks(le.subscript,b),te+="</munder>"),a.mathML+=te,a.lastType="mo",a.index+=1,!0}{const Fe=a.atoms[a.index],Ve=Fe.value==="\\operatorname",lt=Ve?'<mi class="MathML-Unit"'+$s(Fe.id,b)+">"+Jd(Fe.value)+"</mi>":Od(Fe,b);te+=lt,!Ve&&!/^<mo>(.*)<\/mo>$/.test(lt)?(te+=fp,ie="applyfunction"):ie=Ve?"mi":"mo"}(a.lastType==="mi"||a.lastType==="mn")&&!/^<mo>(.*)<\/mo>$/.test(te)&&(te=sh+te),a.index+=1}return te.length>0&&(E=!0,ad(te,a,b)||(a.mathML+=te,a.lastType=ie)),E}function Ks(a,y,b,E){y!=null||(y={});const te={atoms:[],index:b!=null?b:0,mathML:"",lastType:""};if(typeof a=="number"||typeof a=="boolean")te.mathML=a.toString();else if(typeof a=="string")te.mathML=a;else if(a instanceof Fa)te.mathML=Gh(a,y);else if(Array.isArray(a)){te.atoms=a;let ie=0;for(E=E||(a?a.length:0);te.index<E;)if(Og(te,E,y)||Tg(te,E,y)||Pg(te,E,y)||Fg(te,E,y)||Rg(te,E,y))ie+=1;else if(te.index<E){let le=Gh(te.atoms[te.index],y);te.lastType==="mn"&&le.length>0&&te.atoms[te.index].type==="genfrac"&&(le="<mo>⁤</mo>"+le),te.atoms[te.index].type==="genfrac"?te.lastType="mfrac":te.lastType="",te.index+=1,ad(le,te,y)?ie+=1:le.length>0&&(te.mathML+=le,ie+=1)}ie>1&&(te.mathML="<mrow>"+te.mathML+"</mrow>")}return te.mathML}function Od(a,y){let b="";const E=Jd(a.value);return E&&(b="<mo"+$s(a.id,y)+">"+E+"</mo>"),b}function Jd(a){if(!a)return"";if(typeof a=="string")return uh(a);if(!Array.isArray(a)&&typeof a.body=="string")return uh(a.body);let y="";for(const b of a)typeof b.value=="string"&&(y+=b.value);return uh(y)}function Gh(a,y){var b,E,te,ie,le,Me,Fe,Ve,lt,zt,xn,tr,pr,Na,qi,Ca,ci,ao,bi,al,Ll,Cl;if(a.mode==="text")return`<mi${$s(a.id,y)}>${a.value}</mi>`;const Ns={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"},Qs={"\\!":-3/18,"\\ ":6/18,"\\,":3/18,"\\:":4/18,"\\>":4/18,"\\;":5/18,"\\enspace":.5,"\\quad":1,"\\qquad":2,"\\enskip":.5};let vo="",bc="",Uc,Ac,Vu,xc,cc,eu;const{command:ku}=a;if(a.command==="\\error")return`<merror${$s(a.id,y)}>${Ks(a.body,y)}</merror>`;const ju={"\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\lbrack":"[","\\rbrack":"]","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"},Gc={"\\vec":"⃗","\\acute":"´","\\grave":"`","\\dot":"˙","\\ddot":"¨","\\tilde":"~","\\bar":"¯","\\breve":"˘","\\check":"ˇ","\\hat":"^"};switch(a.type){case"first":break;case"group":case"root":vo=Ks(a.body,y);break;case"array":if((a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(vo+="<mrow>",a.leftDelim&&a.leftDelim!=="."&&(vo+="<mo>"+(ju[a.leftDelim]||a.leftDelim)+"</mo>")),vo+="<mtable",a.colFormat){for(vo+=' columnalign="',Vu=0;Vu<a.colFormat.length;Vu++)a.colFormat[Vu].align&&(vo+={l:"left",c:"center",r:"right"}[a.colFormat[Vu].align]+" ");vo+='"'}for(vo+=">",Ac=0;Ac<a.array.length;Ac++){for(vo+="<mtr>",Uc=0;Uc<a.array[Ac].length;Uc++)vo+="<mtd>"+Ks(a.array[Ac][Uc],y)+"</mtd>";vo+="</mtr>"}vo+="</mtable>",(a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(a.rightDelim&&a.rightDelim!=="."&&(vo+="<mo>"+(ju[a.leftDelim]||a.rightDelim)+"</mo>"),vo+="</mrow>");break;case"genfrac":(a.leftDelim||a.rightDelim)&&(vo+="<mrow>"),a.leftDelim&&a.leftDelim!=="."&&(vo+="<mo"+$s(a.id,y)+">"+(ju[a.leftDelim]||a.leftDelim)+"</mo>"),a.hasBarLine?(vo+="<mfrac>",vo+=Ks(a.above,y)||"<mi> </mi>",vo+=Ks(a.below,y)||"<mi> </mi>",vo+="</mfrac>"):(vo+="<mtable"+$s(a.id,y)+">",vo+="<mtr>"+Ks(a.above,y)+"</mtr>",vo+="<mtr>"+Ks(a.below,y)+"</mtr>",vo+="</mtable>"),a.rightDelim&&a.rightDelim!=="."&&(vo+="<mo"+$s(a.id,y)+">"+(ju[a.rightDelim]||a.rightDelim)+"</mo>"),(a.leftDelim||a.rightDelim)&&(vo+="</mrow>");break;case"surd":a.hasEmptyBranch("above")?(vo+="<msqrt"+$s(a.id,y)+">",vo+=Ks(a.body,y),vo+="</msqrt>"):(vo+="<mroot"+$s(a.id,y)+">",vo+=Ks(a.body,y),vo+=Ks(a.above,y),vo+="</mroot>");break;case"leftright":const Yc=a,Qc=Yc.leftDelim;vo="<mrow>",Qc&&Qc!=="."&&(vo+=`<mo${$s(a.id,y)}>${(b=ju[Qc])!=null?b:Qc}</mo>`),a.body&&(vo+=Ks(a.body,y));const Xc=Yc.matchingRightDelim();Xc&&Xc!=="."&&(vo+=`<mo${$s(a.id,y)}>${(E=ju[Xc])!=null?E:Xc}</mo>`),vo+="</mrow>";break;case"sizeddelim":case"delim":vo+=`<mo${$s(a.id,y)}>${ju[a.value]||a.value}</mo>`;break;case"accent":vo+='<mover accent="true"'+$s(a.id,y)+">",vo+=Ks(a.body,y),vo+="<mo>"+(Gc[ku]||a.accent)+"</mo>",vo+="</mover>";break;case"line":case"overlap":break;case"overunder":cc=a.above,xc=a.below,(a.svgAbove||cc)&&(a.svgBelow||xc)?eu=a.body:cc&&cc.length>0?(eu=a.body,(ie=(te=a.body)==null?void 0:te[0])!=null&&ie.below?(xc=a.body[0].below,eu=a.body[0].body):((Me=(le=a.body)==null?void 0:le[0])==null?void 0:Me.type)==="first"&&((Ve=(Fe=a.body)==null?void 0:Fe[1])!=null&&Ve.below)&&(xc=a.body[1].below,eu=a.body[1].body)):xc&&xc.length>0&&(eu=a.body,(zt=(lt=a.body)==null?void 0:lt[0])!=null&&zt.above?(cc=a.body[0].above,eu=a.body[0].body):((tr=(xn=a.body)==null?void 0:xn[0])==null?void 0:tr.type)==="first"&&((Na=(pr=a.body)==null?void 0:pr[1])!=null&&Na.above)&&(cc=a.body[1].overscript,eu=a.body[1].body)),(a.svgAbove||cc)&&(a.svgBelow||xc)?(vo+=`<munderover ${$s(a.id,y)}>`,vo+=(qi=Ns[a.svgBody])!=null?qi:Ks(eu,y),vo+=(Ca=Ns[a.svgBelow])!=null?Ca:Ks(xc,y),vo+=(ci=Ns[a.svgAbove])!=null?ci:Ks(cc,y),vo+="</munderover>"):a.svgAbove||cc?(vo+=`<mover ${$s(a.id,y)}>`+((ao=Ns[a.svgBody])!=null?ao:Ks(eu,y)),vo+=(bi=Ns[a.svgAbove])!=null?bi:Ks(cc,y),vo+="</mover>"):(a.svgBelow||xc)&&(vo+=`<munder ${$s(a.id,y)}>`+((al=Ns[a.svgBody])!=null?al:Ks(eu,y)),vo+=(Ll=Ns[a.svgBelow])!=null?Ll:Ks(xc,y),vo+="</munder>");break;case"placeholder":vo+="?";break;case"mord":{vo=typeof a.value=="string"?a.value:ku,ku==="\\char"?vo="&#x"+("000000"+a.args[0].number.toString(16)).slice(-4)+";":vo.length>0&&vo.startsWith("\\")&&(typeof a.value=="string"&&a.value.charCodeAt(0)>255?vo="&#x"+("000000"+a.value.charCodeAt(0).toString(16)).slice(-4)+";":typeof a.value=="string"?vo=a.value.charAt(0):(console.error("Did not expect this"),vo=""));const Tc=/\d/.test(vo)?"mn":"mi";vo=`<${Tc}${$s(a.id,y)}>${uh(vo)}</${Tc}>`;break}case"mbin":case"mrel":case"minner":vo=Od(a,y);break;case"mpunct":vo='<mo separator="true"'+$s(a.id,y)+">"+ku+"</mo>";break;case"mop":case"operator":case"extensible-symbol":a.body!=="\u200B"&&(vo="<mo"+$s(a.id,y)+">",vo+=ku==="\\operatorname"?a.body:ku||a.body,vo+="</mo>");break;case"box":vo='<menclose notation="box"',a.backgroundcolor&&(vo+=' mathbackground="'+a.backgroundcolor+'"'),vo+=$s(a.id,y)+">"+Ks(a.body,y)+"</menclose>";break;case"spacing":vo+='<mspace width="'+((Cl=Qs[ku])!=null?Cl:0)+'em"/>';break;case"enclose":vo='<menclose notation="';for(const Tc in a.notation)Object.prototype.hasOwnProperty.call(a.notation,Tc)&&a.notation[Tc]&&(vo+=bc+Tc,bc=" ");vo+=$s(a.id,y)+'">'+Ks(a.body,y)+"</menclose>";break;case"prompt":vo='<menclose notation="roundexbox""">'+Ks(a.body,y)+"</menclose>";break;case"space":vo+=" ";break;case"subsup":break;case"phantom":break;case"composition":break;case"rule":break;case"chem":break;case"mopen":vo+=Od(a,y);break;case"mclose":vo+=Od(a,y);break;case"macro":{const Tc=a.command+Jd(a.macroArgs);Tc&&(vo+=`<mo ${$s(a.id,y)}>${Tc}</mo>`)}break;case"latexgroup":vo+=Ks(a.body,y);break;case"latex":vo+="<mtext"+$s(a.id,y)+">"+a.value+"</mtext>";break;case"tooltip":vo+=Ks(a.body,y);break;case"text":vo+=`<mtext ${$s(a.id,y)}x>${a.value}</mtext>`;break;default:if(a.command==="\\displaystyle")return`<mrow ${$s(a.id,y)} displaystyle="true">${Ks(a.body,y)}</mrow>`;if(a.command==="\\textstyle")return`<mrow ${$s(a.id,y)} displaystyle="false">${Ks(a.body,y)}</mrow>`;console.info("Unexpected element in conversion to MathML:",a)}return vo}var qd={"\\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"},Yh={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 Kg(a){let y="";return a.startsWith("\\")&&(y=" "+a.replace("\\","")+" "),y}function Ef(a){let y=0;if(ue(a))for(const b of a)b.type!=="first"&&(y+=1);return y===1}function zg(a){if(ue(a)){for(const y of a)if(y.type!=="first"&&y.id)return y.id.toString()}return""}function hp(a){let y="";if(ue(a))for(const b of a)b.type!=="first"&&typeof b.value=="string"&&(y+=b.value);return y}function Hg(a){return a?a.map(y=>y.value).join(""):""}function Es(a,y){var b,E,te,ie,le;function Me(lt){return window.MathfieldElement.textToSpeechMarkup?/[a-z]/.test(lt)?` <say-as interpret-as="character">${lt}</say-as>`:/[A-Z]/.test(lt)?`capital <say-as interpret-as="character">${lt.toLowerCase()}</say-as>`:lt:/[a-z]/.test(lt)?" '"+lt.toUpperCase()+"'":/[A-Z]/.test(lt)?" 'capital "+lt.toUpperCase()+"'":lt}function Fe(lt){return"<emphasis>"+lt+"</emphasis>"}if(!y)return"";let Ve="";if(ue(y)){let lt=!1,zt=!1;for(let xn=0;xn<y.length;xn++)y[xn].type!=="first"&&(y[xn].mode!=="text"&&(zt=!1),xn<y.length-2&&y[xn].type==="mopen"&&y[xn+2].type==="mclose"&&y[xn+1].type==="mord"?(Ve+=" of ",Ve+=Fe(Es(a,y[xn+1])),xn+=2):y[xn].mode==="text"?zt?Ve+=(b=y[xn].value)!=null?b:" ":(zt=!0,Ve+=Es("text",y[xn])):y[xn].isDigit()?lt?Ve+=y[xn].asDigit():(lt=!0,Ve+=Es(a,y[xn])):(lt=!1,Ve+=Es(a,y[xn])))}else if(y.mode==="text")y.id&&a==="math"&&(Ve+='<mark name="'+y.id.toString()+'"/>'),Ve+=y.value;else{y.id&&a==="math"&&(Ve+='<mark name="'+y.id.toString()+'"/>');let lt="",zt="",xn="",tr=!1;const{command:pr}=y;switch(pr){case"\\vec":return"vector "+Es(a,y.body);case"\\acute":return Es(a,y.body)+" acute";case"\\grave":return Es(a,y.body)+" grave";case"\\dot":return"dot over"+Es(a,y.body);case"\\ddot":return"double dot over"+Es(a,y.body);case"\\mathring":return"ring over"+Es(a,y.body);case"\\tilde":case"\\widetilde":return"tilde over"+Es(a,y.body);case"\\bar":return Es(a,y.body)+" bar";case"\\breve":return Es(a,y.body)+" breve";case"\\check":case"\\widecheck":return"check over "+Es(a,y.body);case"\\hat":case"\\widehat":return"hat over"+Es(a,y.body);case"\\overarc":case"\\overparen":case"\\wideparen":return"arc over "+Es(a,y.body);case"\\underarc":case"\\underparen":return"arc under "+Es(a,y.body)}switch(y.type){case"prompt":const Na=y.body.length>1?'start input . <break time="500ms"/> '+Es(a,y.body)+'. <break time="500ms"/> end input':"blank";Ve+=' <break time="300ms"/> '+Na+'. <break time="700ms"/>'+((E=y.correctness)!=null?E:"")+' . <break time="700ms"/> ';break;case"array":const qi=y.array,Ca=y.environmentName;if(Object.keys(Yh).includes(Ca)){Ve+=` begin ${Yh[Ca]} `;for(let bi=0;bi<qi.length;bi++){bi>0&&(Ve+=","),Ve+=` row ${bi+1} `;for(let al=0;al<qi[bi].length;al++)al>0&&(Ve+=","),Ve+=` column ${al+1}: `,Ve+=Es("math",qi[bi][al])}Ve+=` end ${Yh[Ca]} `}break;case"group":pr==="\\ne"?Ve+=" not equal ":(pr==="\\not"&&(Ve+=" not "),Ve+=Es("math",y.body));break;case"root":Ve+=Es("math",y.body);break;case"genfrac":if(lt=Es("math",y.above),zt=Es("math",y.below),Ef(y.above)&&Ef(y.below)){const al={"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 "}[hp(y.above)+"/"+hp(y.below)];al?Ve=al:Ve+=lt+" over "+zt}else Ve+=' the fraction <break time="150ms"/>'+lt+' over <break time="150ms"/>'+zt+'.<break time="150ms"/> End fraction.<break time="150ms"/>';break;case"surd":if(xn=Es("math",y.body),y.hasEmptyBranch("above"))Ve+=Ef(y.body)?" the square root of "+xn+" , ":' the square root of <break time="200ms"/>'+xn+'. <break time="200ms"/> End square root';else{let bi=Es("math",y.above);bi=bi.trim();const al=bi.replace(/<mark([^/]*)\/>/g,"");al==="3"?Ve+=' the cube root of <break time="200ms"/>'+xn+'. <break time="200ms"/> End cube root':al==="n"?Ve+=' the nth root of <break time="200ms"/>'+xn+'. <break time="200ms"/> End root':Ve+=' the root with index: <break time="200ms"/>'+bi+', of <break time="200ms"/>'+xn+'. <break time="200ms"/> End root'}break;case"leftright":{const bi=y;Ve+=(te=bi.leftDelim?qd[bi.leftDelim]:void 0)!=null?te:bi.leftDelim,Ve+=Es("math",y.body),Ve+=(ie=bi.rightDelim?qd[bi.rightDelim]:void 0)!=null?ie:bi.rightDelim}break;case"rule":break;case"overunder":break;case"overlap":break;case"macro":const ci=pr.replace(/^\\/g,""),ao=qt()[ci];ao&&(ao!=null&&ao.expand?Ve+=Es("math",y.body):Ve+=`${ci} `);break;case"placeholder":Ve+="placeholder ";break;case"delim":case"sizeddelim":case"mord":case"minner":case"mbin":case"mrel":case"mpunct":case"mopen":case"mclose":{if(pr==="\\mathbin"||pr==="\\mathrel"||pr==="\\mathopen"||pr==="\\mathclose"||pr==="\\mathpunct"||pr==="\\mathord"||pr==="\\mathinner"){Ve=Es(a,y.body);break}let bi=y.isDigit()?y.asDigit():y.value,al=y.command;if((y.type==="delim"||y.type==="sizeddelim")&&(al=y.value,bi=al),a==="text")Ve+=bi;else{if(y.type==="mbin"&&(Ve+='<break time="150ms"/>'),bi){const Ll=qd[bi]||(al?qd[al.trim()]:"");if(Ll)Ve+=" "+Ll;else{const Cl=al?Kg(al.trim()):"";Ve+=Cl||Me(bi)}}else Ve+=Es("math",y.body);y.type==="mbin"&&(Ve+='<break time="150ms"/>')}break}case"mop":case"operator":case"extensible-symbol":if(y.value!=="\u200B"){const bi=y.command;if(bi==="\\sum")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let al=Es("math",y.superscript);al=al.trim();let Ll=Es("math",y.subscript);Ll=Ll.trim(),Ve+=' the summation from <break time="200ms"/>'+Ll+'<break time="200ms"/> to <break time="200ms"/>'+al+'<break time="200ms"/> of <break time="150ms"/>',tr=!0}else if(y.hasEmptyBranch("subscript"))Ve+=" the summation of";else{let al=Es("math",y.subscript);al=al.trim(),Ve+=' the summation from <break time="200ms"/>'+al+'<break time="200ms"/> of <break time="150ms"/>',tr=!0}else if(bi==="\\prod")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let al=Es("math",y.superscript);al=al.trim();let Ll=Es("math",y.subscript);Ll=Ll.trim(),Ve+=' the product from <break time="200ms"/>'+Ll+'<break time="200ms"/> to <break time="200ms"/>'+al+'<break time="200ms"/> of <break time="150ms"/>',tr=!0}else if(y.hasEmptyBranch("subscript"))Ve+=" the product of ";else{let al=Es("math",y.subscript);al=al.trim(),Ve+=' the product from <break time="200ms"/>'+al+'<break time="200ms"/> of <break time="150ms"/>',tr=!0}else if(bi==="\\int")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let al=Es("math",y.superscript);al=al.trim();let Ll=Es("math",y.subscript);Ll=Ll.trim(),Ve+=' the integral from <break time="200ms"/>'+Fe(Ll)+'<break time="200ms"/> to <break time="200ms"/>'+Fe(al)+' <break time="200ms"/> of ',tr=!0}else Ve+=' the integral of <break time="200ms"/> ';else if(typeof y.value=="string"){const al=(le=qd[y.value])!=null?le:y.command?qd[y.command]:void 0;Ve+=al||" "+y.value}else y.command&&(y.command==="\\mathop"?Ve+=Es("math",y.body):y.command==="\\operatorname"?Ve+=Hg(y.body):Ve+=y.command.startsWith("\\")?" "+y.command.slice(1):" "+y.command)}break;case"enclose":xn=Es("math",y.body),Ve+=" crossed out "+xn+". End crossed out.";break;case"space":case"spacing":break}if(!tr&&!y.hasEmptyBranch("superscript")){let Na=Es(a,y.superscript);Na=Na.trim();const qi=Na.replace(/<[^>]*>/g,"");if(Ef(y.superscript)){if(a==="math"){const Ca=zg(y.superscript);Ca&&(Ve+='<mark name="'+Ca+'"/>')}qi==="\u2032"?Ve+=" prime ":qi==="2"?Ve+=" squared ":qi==="3"?Ve+=" cubed ":Number.isNaN(Number.parseInt(qi))?Ve+=" to the "+Na+"; ":Ve+=' to the <say-as interpret-as="ordinal">'+qi+"</say-as> power; "}else Number.isNaN(Number.parseInt(qi))?Ve+=" raised to the "+Na+"; ":Ve+=' raised to the <say-as interpret-as="ordinal">'+qi+"</say-as> power; "}if(!tr&&!y.hasEmptyBranch("subscript")){let Na=Es("math",y.subscript);Na=Na.trim(),Ve+=Ef(y.subscript)?" sub "+Na:" subscript "+Na+". End subscript. "}}return Ve}function $d(a){var y,b;if(window.MathfieldElement.textToSpeechRules==="sre"&&("sre"in window||"SRE"in window)){const te=Ks(a);if(te){window.MathfieldElement.textToSpeechMarkup&&(window.MathfieldElement.textToSpeechRulesOptions=(y=window.MathfieldElement.textToSpeechRulesOptions)!=null?y:{},window.MathfieldElement.textToSpeechRulesOptions=me(Se({},window.MathfieldElement.textToSpeechRulesOptions),{markup:window.MathfieldElement.textToSpeechMarkup}),window.MathfieldElement.textToSpeechRulesOptions.markup==="ssml"&&(window.MathfieldElement.textToSpeechRulesOptions=me(Se({},window.MathfieldElement.textToSpeechRulesOptions),{markup:"ssml_step"})),window.MathfieldElement.textToSpeechRulesOptions=me(Se({},window.MathfieldElement.textToSpeechRulesOptions),{rate:window.MathfieldElement.speechEngineRate}));const ie=(b=window.SRE)!=null?b:window.sre.System.getInstance();window.MathfieldElement.textToSpeechRulesOptions&&ie.setupEngine(window.MathfieldElement.textToSpeechRulesOptions);let le="";try{le=ie.toSpeech(te)}catch(Me){console.error("MathLive 0.98.5: `SRE.toSpeech()` runtime error",Me)}return le}return""}let E=Es("math",a);if(window.MathfieldElement.textToSpeechMarkup==="ssml"){let te="";window.MathfieldElement.speechEngineRate&&(te='<prosody rate="'+window.MathfieldElement.speechEngineRate+'">'),E='<?xml version="1.0"?><speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US"><amazon:auto-breaths>'+te+"<p><s>"+E+"</s></p>"+(te?"</prosody>":"")+"</amazon:auto-breaths></speak>"}else window.MathfieldElement.textToSpeechMarkup==="mac"&&Ee()==="macos"?E=E.replace(/<mark([^/]*)\/>/g,"").replace(/<emphasis>/g,"[[emph+]]").replace(/<\/emphasis>/g,"").replace(/<break time="(\d*)ms"\/>/g,"[[slc $1]]").replace(/<say-as[^>]*>/g,"").replace(/<\/say-as>/g,""):E=E.replace(/<[^>]*>/g,"").replace(/\s{2,}/g," ");return E}var Af={"\\ne":"\u2260","\\neq":"\u2260","\u2212":"-","-":"-","\\alpha":"alpha","\\beta":"beta","\\gamma":"gamma","\\delta":"delta","\\epsilon":"epsilon","\\varepsilon":"varepsilon","\\zeta":"zeta","\\eta":"eta","\\theta":"theta","\\vartheta":"vartheta","\\iota":"iota","\\kappa":"kappa","\\lambda":"lambda","\\mu":"mu","\\nu":"nu","\\xi":"xi","\\pi":"pi","\\rho":"rho","\\sigma":"sigma","\\tau":"tau","\\upsilon":"upsilon","\\phi":"phi","\\varphi":"varphi","\\chi":"chi","\\psi":"psi","\\omega":"omega","\\Gamma":"Gamma","\\Delta":"Delta","\\Theta":"Theta","\\Lambda":"Lambda","\\Xi":"Xi","\\Pi":"Pi","\\Sigma":"Sigma","\\Phi":"Phi","\\Psi":"Psi","\\Omega":"Omega","\\exponentialE":"e","\\imaginaryI":"i","\\imaginaryJ":"j","\\!":" ","\\,":" ","\\:":" ","\\>":" ","\\;":" ","\\enskip":" ","\\enspace":" ","\\qquad":" ","\\quad":" ","\\infty":"oo"},Mf={"\\pm":"+-","\\colon":":","\\vert":"|","\\Vert":"||","\\mid":"|","\\lbrack":"[","\\rbrack":"]","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"(:","\\rangle":":)","\\sum":" sum ","\\prod":" prod ","\\bigcap":" nnn ","\\bigcup":" uuu ","\\int":" int ","\\oint":" oint ","\\ge":">=","\\le":"<=","\\ne":"!=","\\neq":"!=","\\lt":"<","\\gt":">","\\gets":"<-","\\to":"->","\\land":" and ","\\lor":" or ","\\lnot":" not ","\\forall":" AA ","\\exists":" EE ","\\in":" in ","\\notin":" !in ","\\mapsto":"|->","\\implies":"=>","\\iff":"<=>","\\cdot":"*","\\ast":"**","\\star":"***","\\times":"xx","\\div":"-:","\\ltimes":"|><","\\rtimes":"><|","\\bowtie":"|><|","\\circ":"@"};function Zg(a){let y="";for(const b of a){const E=y[y.length-1];E!==void 0&&/\d/.test(E)&&/^\d/.test(b)&&(y+=" "),y+=b}return y}function Du(a){var y,b,E,te,ie,le,Me,Fe,Ve,lt,zt,xn,tr;if(!a)return"";if(ue(a)){if(a.length===0)return"";if(a[0].mode==="latex")return a.map(Du).join("");if(a[0].mode==="text"){let ao=0,bi="";for(;((y=a[ao])==null?void 0:y.mode)==="text";)bi+=a[ao].body?Du(a[ao].body):a[ao].value,ao++;return`"${bi}" ${Du(a.slice(ao))}`}let Ca=0;const ci=[];for(;a[Ca]&&a[Ca].mode==="math";){let ao="";for(;a[Ca]&&a[Ca].type==="mord"&&/\d/.test(a[Ca].value);)ao+=a[Ca++].value;ao?ci.push(ao):ci.push(Du(a[Ca++]))}return ci.push(Du(a.slice(Ca))),Zg(ci)}if(a.mode==="text")return`"${a.value}"`;let pr="";const{command:Na}=a;let qi;if(Na==="\\placeholder")return`(${Du(a.body)})`;switch(a.type){case"accent":const Ca={"\\vec":"vec","\\dot":"dot","\\ddot":"ddot","\\bar":"bar","\\hat":"hat","\\acute":"acute;","\\grave":"grave","\\tilde":"tilde","\\breve":"breave","\\check":"check"}[Na];pr=`${Ca!=null?Ca:""} ${Du(a.body)} `;break;case"first":return"";case"latexgroup":return a.body.map(Cl=>Cl.value).join("");case"group":case"root":pr=(b=Af[Na])!=null?b:Du(a.body);break;case"genfrac":{const Cl=a;(Cl.leftDelim||Cl.rightDelim)&&(pr=Cl.leftDelim==="."||!Cl.leftDelim?"{:":Cl.leftDelim),Cl.hasBarLine?(pr+="(",pr+=Du(Cl.above),pr+=")/(",pr+=Du(Cl.below),pr+=")"):(pr+="("+Du(Cl.above)+"),",pr+="("+Du(Cl.below)+")"),(Cl.leftDelim||Cl.rightDelim)&&(pr+=Cl.rightDelim==="."||!Cl.rightDelim?"{:":Cl.rightDelim)}break;case"surd":pr+=a.hasEmptyBranch("above")?"sqrt("+Du(a.body)+")":"root("+Du(a.above)+")("+Du(a.body)+")";break;case"latex":pr=a.value;break;case"leftright":{const Cl=a,Ns=Cl.leftDelim;pr+=Ns==="."||!Ns?"{:":Ns,pr+=Du(Cl.body);const Qs=Cl.matchingRightDelim();pr+=Qs==="."||!Qs?":}":Qs}break;case"sizeddelim":case"delim":pr=a.value;break;case"overlap":break;case"overunder":break;case"mord":pr=(te=(E=Af[Na])!=null?E:Na)!=null?te:typeof a.value=="string"?a.value:"",pr.startsWith("\\")&&(pr+=" "),qi=Na?Na.match(/{?\\char"([\dabcdefABCDEF]+)}?/):null,qi?pr=String.fromCodePoint(Number.parseInt("0x"+qi[1])):pr.length>0&&pr.startsWith("\\")&&(pr=typeof a.value=="string"?a.value.charAt(0):a.command),pr=Wg(pr,a.style);break;case"mbin":case"mrel":case"minner":pr=(le=(ie=Af[Na])!=null?ie:Mf[Na])!=null?le:a.value;break;case"mopen":case"mclose":pr=a.value;break;case"mpunct":pr=(Me=Mf[Na])!=null?Me:Na;break;case"mop":case"operator":case"extensible-symbol":a.value!=="\u200B"&&(Mf[Na]?pr=Mf[Na]:pr=Na==="\\operatorname"?Du(a.body):(Fe=a.value)!=null?Fe:Na,pr+=" ");break;case"array":const ci=a.array,ao=a.environmentName,bi=(Ve={bmatrix:["[","]"],"bmatrix*":["[","]"]}[ao])!=null?Ve:["(",")"],al=[];for(const Cl of ci){const Ns=[];for(const Qs of Cl)Ns.push(bi[0]+Du(Qs)+bi[1]);al.push(Ns.join(","))}const Ll=(lt={bmatrix:["[","]"],"bmatrix*":["[","]"],cases:["{",":}"]}[ao])!=null?lt:["(",")"];pr=Ll[0]+al.join(",")+Ll[1];break;case"box":break;case"spacing":pr=(zt=Af[Na])!=null?zt:" ";break;case"enclose":pr="("+Du(a.body)+")";break;case"space":pr=" ";break;case"subsup":pr="";break;case"macro":pr=(tr=(xn=Af[Na])!=null?xn:Mf[Na])!=null?tr:Du(a.body);break}if(!a.hasEmptyBranch("subscript")){pr+="_";const Ca=Du(a.subscript);pr+=Ca.length!==1?`(${Ca})`:Ca}if(!a.hasEmptyBranch("superscript")){pr+="^";const Ca=Du(a.superscript);pr+=Ca.length!==1?`(${Ca})`:Ca}return pr}function Wg(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 _u(a,y){var b,E;y!=null||(y={}),y.mathstyle=(b=y.mathstyle)!=null?b:"displaystyle";const te=new cl({from:me(Se({},os()),{renderPlaceholder:()=>new ui(160,{maxFontSize:1}),letterShapeStyle:(E=y==null?void 0:y.letterShapeStyle)!=null?E:"tex"}),mathstyle:y.mathstyle}),le=new Fa({mode:"math",type:"root",body:Wu(a,{context:te,parseMode:"math",mathstyle:y.mathstyle})}).render(te);return le?(js(cf(le,te)),bu(le,{classes:"ML__latex"}).toMarkup()):""}function Fy(a){return i0(a,{context:os()})}function _g(a,y={}){return Ks(Wu(a,{parseMode:"math",args:()=>"",mathstyle:"displaystyle"}),y)}function Vg(a){const y=Wu(a,{parseMode:"math",mathstyle:"displaystyle"});return $d(y)}var ch;function jg(a){var y,b;if(!ch){const E=(y=globalThis[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;E?ch=new E:console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
|
|
|
|
|
|
Load the library, for example with:
|
|
|
|
|
|
import "https://unpkg.com/@cortex-js/compute-engine?module"`)}return(b=ch==null?void 0:ch.box(a).latex)!=null?b:""}function Ky(a,y="math"){return Du(new Fa({type:"root",body:Wu(a,{parseMode:y})}))}function zy(a){return Rs(a,{format:"ascii-math"})[1]}function Qh(a){if(typeof a=="string"){const y=Ug(a);if(!y)throw new Error(`Invalid color: ${a}`);return y}return"C"in a?Yg(a):"a"in a?pp(a):a}function ef(a){return a<0?0:a>255?255:Math.round(a)}function Ug(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 Xh(a){const[y,b,E]=[a.L,a.C,a.H],te=E*Math.PI/180,ie={L:y,a:b*Math.cos(te),b:b*Math.sin(te)};return a.alpha!==void 0&&(ie.alpha=a.alpha),ie}function Gg(a){const[y,b,E]=[a.L,a.a,a.b],te=Math.sqrt(b*b+E*E),le=Math.atan2(E,b)*180/Math.PI,Me={L:y,C:te,H:le};return a.alpha!==void 0&&(Me.alpha=a.alpha),Me}function Jh(a){const[y,b,E]=[a.L,a.a,a.b],te=Math.pow(.9999999984505198*y+.39633779217376786*b+.2158037580607588*E,3),ie=Math.pow(1.00000000888176*y-.10556134232365635*b-.0638541747717059*E,3),le=Math.pow(y*1.000000054672411-.0894841820949657*b-1.2914855378640917*E,3),Me=4.076741661347994*te-3.307711590408193*ie+.230969928729428*le,Fe=-1.2684380040921763*te+2.6097574006633715*ie-.3413193963102197*le,Ve=-.004196086541837188*te-.7034186144594493*ie+1.7076147009309444*le,lt=zt=>{const xn=Math.abs(zt);return xn<=.0031308?zt*12.92:(Math.sign(zt)||1)*(1.055*Math.pow(xn,1/2.4)-.055)};return[lt(Me),lt(Fe),lt(Ve)]}function qh(a){const[y,b,E]=a;return y>=0&&y<=1&&b>=0&&b<=1&&E>=0&&E<=1}function $h(a,y){let[b,E,te]=a;return b=ef(b*255),E=ef(E*255),te=ef(te*255),y!==void 0?{r:b,g:E,b:te,alpha:y}:{r:b,g:E,b:te}}function pp(a){let[y,b,E]=Jh(a);if(qh([y,b,E]))return $h([y,b,E],a.alpha);const te=Gg(a);if(te.C=0,[y,b,E]=Jh(Xh(te)),!qh([y,b,E]))return $h([y,b,E],a.alpha);let ie=0,le=a.L,Me=(ie+le)/2;te.C=Me;const Fe=.36/Math.pow(2,12);for(;le-ie>Fe;)Me=(ie+le)/2,te.C=Me,[y,b,E]=Jh(Xh(te)),qh([y,b,E])?ie=Me:le=Me;return $h([y,b,E],a.alpha)}function Yg(a){return pp(Xh(a))}function mp(a,y){const b=Qh(a),E=Qh(y),te=.56,ie=.57,le=.62,Me=.65,Fe=.022,Ve=1.414,lt=.1,zt=5e-4,xn=1.14,tr=.027,pr=1.14,Na=.027;function qi(Cl){return Cl>=Fe?Cl:Cl+Mc(Fe-Cl,Ve)}function Ca(Cl){return(Cl<0?-1:1)*Math.pow(Math.abs(Cl),2.4)}const ci=qi(Ca(E.r/255)*.2126729+Ca(E.g/255)*.7151522+Ca(E.b/255)*.072175),ao=qi(Ca(b.r/255)*.2126729+Ca(b.g/255)*.7151522+Ca(b.b/255)*.072175);let bi,al,Ll;return Math.abs(ao-ci)<zt?al=0:ao>ci?(bi=Mc(ao,te)-Mc(ci,ie),al=bi*xn):(bi=Mc(ao,Me)-Mc(ci,le),al=bi*pr),Math.abs(al)<lt?Ll=0:al>0?Ll=al-Na:Ll=al+tr,Ll*100}function vp(a,y,b){b!=null||(b="#fff"),y!=null||(y="#000");const E=mp(a,b),te=mp(a,y);return Math.abs(E)>Math.abs(te)?b:y}function Qg(a){const y=Qh(a);let b=((1<<24)+(ef(y.r)<<16)+(ef(y.g)<<8)+ef(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 mu(a){const y=gp(a);let b="";for(const E of y){if(typeof E.value!="string")return"";b+=E.value}return b}function gp(a){const b=a.model.selection.ranges;return b.length!==1?[]:a.model.getAtoms(b[0])}function Xg(a,y){const b=gp(a);if(b.length!==1)return!1;const E=yh[y];return E?!!E.test(b[0].value):!1}function Jg(a,y){return mu(a).length>0}function qg(a){return[e0(a,"double-struck","mathbb","tooltip.blackboard"),e0(a,"fraktur","mathfrak","tooltip.fraktur"),e0(a,"calligraphic","mathcal","tooltip.caligraphic"),t0(a,"up","mathrm","tooltip.roman-upright"),t0(a,"bold","mathbf","tooltip.bold"),t0(a,"italic","mathit","tooltip.italic")]}function $g(a){return[{label:()=>_u(`\\vec{${mu(a)}}`),visible:()=>mu(a).length===1,onMenuSelect:()=>a.insert("\\vec{#@}",{selectionMode:"item"})},{label:()=>_u(`\\overrightarrow{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\overrightarrow{#@}",{selectionMode:"item"})},{label:()=>_u(`\\overleftarrow{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\overleftarrow{#@}",{selectionMode:"item"})},{label:()=>_u(`\\dot{${mu(a)}}`),visible:()=>mu(a).length===1,onMenuSelect:()=>a.insert("\\dot{#@}",{selectionMode:"item"})},{label:()=>_u(`\\ddot{${mu(a)}}`),visible:()=>mu(a).length===1,onMenuSelect:()=>a.insert("\\ddot{#@}",{selectionMode:"item"})},{label:()=>_u(`\\bar{${mu(a)}}`),visible:()=>mu(a).length===1,onMenuSelect:()=>a.insert("\\bar{#@}",{selectionMode:"item"})},{label:()=>_u(`\\overline{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\overline{#@}",{selectionMode:"item"})},{label:()=>_u(`\\overgroup{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\overgroup{#@}",{selectionMode:"item"})},{label:()=>_u(`\\overbrace{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\overbrace{#@}",{selectionMode:"item"})},{label:()=>_u(`\\underline{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\underline{#@}",{selectionMode:"item"})},{label:()=>_u(`\\undergroup{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\undergroup{#@}",{selectionMode:"item"})},{label:()=>_u(`\\underbrace{${mu(a)}}`),visible:()=>mu(a).length>0,onMenuSelect:()=>a.insert("\\underbrace{#@}",{selectionMode:"item"})}]}function ey(a){return[{label:()=>_u(`\\boxed{${a.getValue(a.model.selection)}}}`),onMenuSelect:()=>a.insert("\\boxed{#@}",{selectionMode:"item"})},{label:()=>_u(`\\bbox[5px, border: 2px solid red]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px solid red]{#@}",{selectionMode:"item"})},{label:()=>_u(`\\bbox[5px, border: 2px dashed black]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px dashed black]{#@}",{selectionMode:"item"})}]}function ty(a){const y=[];for(const b of Object.keys(Xe))y.push({class:(Qg(vp(Xe[b]))==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${Xe[b]} "></span>`,ariaLabel:()=>{var E;return(E=ut(b))!=null?E:b},checked:()=>{var E;return{some:"mixed",all:!0}[(E=a.queryStyle({backgroundColor:b}))!=null?E:!1]},onMenuSelect:()=>{a.applyStyle({backgroundColor:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}function ny(a){const y=[];for(const b of Object.keys(et))y.push({class:(vp(et[b])==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${et[b]} "></span>`,ariaLabel:()=>{var E;return(E=ut(b))!=null?E:b},checked:()=>{var E;return{some:"mixed",all:!0}[(E=a.queryStyle({color:b}))!=null?E:!1]},onMenuSelect:()=>{a.applyStyle({color:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}var ry=class extends ap{constructor(a,y,b,E){super(a,y),this.row=b,this.col=E}set active(a){const y=this.parentMenu.children;if(a)for(const b of y)b.element.classList.toggle("active",b.row<=this.row&&b.col<=this.col);else for(const b of y)b.element.classList.remove("active")}};function ay(a){const y=[];for(let b=1;b<=5;b++)for(let E=1;E<=5;E++)y.push({onCreate:(te,ie)=>new ry(te,ie,b,E),label:"\u2610",tooltip:()=>ut("tooltip.row-by-col",b,E),data:{row:b,col:E},onMenuSelect:()=>{a.insert(`\\begin{pmatrix}${Array(b).fill(Array(E).fill("#?").join(" & ")).join("\\\\")}\\end{pmatrix}`,{selectionMode:"item"})}});return y}function iy(a){return[{label:()=>ut("menu.array.add row above"),id:"add-row-above",onMenuSelect:()=>a.executeCommand("addRowBefore"),visible:()=>Td(a)},{label:()=>ut("menu.array.add row below"),id:"add-row-below",onMenuSelect:()=>a.executeCommand("addRowAfter"),visible:()=>Td(a)},{label:()=>ut("menu.array.add column before"),id:"add-column-before",onMenuSelect:()=>a.executeCommand("addColumnBefore"),visible:()=>Td(a),enabled:()=>{const y=a.model.parentEnvironment;if(!y)return!1;const[b,E]=ly(a);return b<y.maxColumns}},{label:()=>ut("menu.array.add column after"),id:"add-column-after",onMenuSelect:()=>a.executeCommand("addColumnAfter"),visible:()=>Td(a)},{type:"divider"},{label:()=>ut("menu.array.delete row"),id:"delete-row",onMenuSelect:()=>a.executeCommand("removeRow"),visible:()=>Td(a)},{label:()=>ut("menu.array.delete column"),id:"delete-column",onMenuSelect:()=>a.executeCommand("removeColumn"),visible:()=>Td(a)},{type:"divider"},{label:()=>ut("menu.borders"),visible:()=>(oy(a)||Td(a))&&a.isSelectionEditable,submenu:[{label:" \u22F1 ",id:"environment-no-border",onMenuSelect:()=>Df(a,"matrix")},{label:"(\u22F1)",id:"environment-parentheses",onMenuSelect:()=>Df(a,"pmatrix")},{label:"[\u22F1]",id:"environment-brackets",onMenuSelect:()=>Df(a,"bmatrix")},{label:"|\u22F1|",id:"environment-bar",onMenuSelect:()=>Df(a,"vmatrix")},{label:"{\u22F1}",id:"environment-braces",onMenuSelect:()=>Df(a,"Bmatrix")}],submenuClass:"border-submenu"},{type:"divider"},{label:()=>ut("menu.insert matrix"),id:"insert-matrix",visible:()=>a.isSelectionEditable,submenu:ay(a),submenuClass:"insert-matrix-submenu",columnCount:5},{label:()=>ut("menu.mode"),id:"mode",visible:()=>a.isSelectionEditable&&a.model.selectionIsCollapsed,submenu:[{label:()=>ut("menu.mode-math"),id:"mode-math",onMenuSelect:()=>{_d(a,"accept-all"),a.executeCommand(["switchMode","math"])},checked:()=>a.model.mode==="math"},{label:()=>ut("menu.mode-text"),id:"mode-text",onMenuSelect:()=>{_d(a,"accept-all"),a.executeCommand(["switchMode","text"])},checked:()=>a.model.mode==="text"},{label:()=>ut("menu.mode-latex"),id:"mode-latex",onMenuSelect:()=>a.executeCommand(["switchMode","latex"]),checked:()=>a.model.mode==="latex"}]},{type:"divider"},{label:()=>ut("menu.font-style"),id:"variant",visible:()=>a.isSelectionEditable,submenu:qg(a),submenuClass:"variant-submenu"},{label:()=>ut("menu.color"),id:"color",visible:()=>a.isSelectionEditable,submenu:ny(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>ut("menu.background-color"),id:"background-color",visible:()=>a.isSelectionEditable,submenu:ty(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>ut("menu.accent"),id:"accent",visible:()=>a.isSelectionEditable,submenu:$g(a),submenuClass:"variant-submenu"},{label:()=>ut("menu.decoration"),id:"decoration",visible:()=>a.isSelectionEditable&&mu(a).length>0,submenu:ey(a),submenuClass:"variant-submenu"},{type:"divider"},{label:()=>ut("menu.evaluate"),id:"ce-evaluate",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{const y=sy(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:()=>ut("menu.simplify"),id:"ce-simplify",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{var y,b;if(a.model.selectionIsCollapsed){const E=(y=a.expression)==null?void 0:y.simplify();if(a.model.position=a.model.lastOffset,!E){a.model.announce("plonk");return}a.insert(`=${E.latex}`,{insertionMode:"insertAfter",selectionMode:"item"})}else{const E=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection)).simplify();if(!E){a.model.announce("plonk");return}a.insert(E.latex,{insertionMode:"replaceSelection",selectionMode:"item"})}}},{label:()=>{var y;if(window.MathfieldElement.computeEngine===null)return"";const b=(y=a.expression)==null?void 0:y.unknowns[0];return b?ut("menu.solve-for",_u(b)):ut("menu.solve")},id:"ce-solve",visible:()=>{var y;return a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null&&((y=a.expression)==null?void 0:y.unknowns.length)===1&&a.expression.unknowns[0]!=="Nothing"},onMenuSelect:()=>{var y;const b=a.expression,E=b==null?void 0:b.unknowns[0],te=(y=b.solve(E))==null?void 0:y.map(ie=>{var le;return(le=ie.simplify().latex)!=null?le:""});if(!te){a.model.announce("plonk");return}a.insert(`${E}=${te.length===1?te[0]:"\\left\\lbrace"+(te==null?void 0:te.join(", "))+"\\right\\rbrace"}`,{insertionMode:"replaceAll",selectionMode:"item"})}},{type:"divider"},{label:()=>ut("menu.cut"),onMenuSelect:()=>a.executeCommand("cutToClipboard"),visible:()=>!a.options.readOnly&&a.isSelectionEditable,keyboardShortcut:"meta+X"},{label:()=>ut("menu.copy"),id:"copy",submenu:[{label:()=>ut("menu.copy-as-latex"),id:"copy-latex",onMenuSelect:()=>is.copyToClipboard(a,"latex"),keyboardShortcut:"meta+C"},{label:()=>ut("menu.copy-as-ascii-math"),id:"copy-ascii-math",onMenuSelect:()=>is.copyToClipboard(a,"ascii-math")},{label:()=>ut("menu.copy-as-mathml"),id:"copy-math-ml",onMenuSelect:()=>is.copyToClipboard(a,"math-ml")}]},{label:()=>ut("menu.paste"),id:"paste",onMenuSelect:()=>a.executeCommand("pasteFromClipboard"),visible:()=>a.hasEditableContent,keyboardShortcut:"meta+V"},{label:()=>ut("menu.select-all"),id:"select-all",keyboardShortcut:"meta+A",onMenuSelect:()=>a.executeCommand("selectAll")}]}function Td(a){var y;return!!((y=a.model.parentEnvironment)!=null&&y.array)}function oy(a){return a.model.at(a.model.position).type==="array"}function ly(a){var y;const b=(y=a.model.parentEnvironment)==null?void 0:y.array;return b?[b.length,b.reduce((E,te)=>Math.max(E,te.length),0)]:[0,0]}function Df(a,y){Ff(a),a.flushInlineShortcutBuffer(),R0(a.model,y),Eu(a)}function sy(a){var y,b;let E;if(a.model.selectionIsCollapsed?E=(y=window.MathfieldElement.computeEngine)==null?void 0:y.parse(a.getValue(),{canonical:!1}):E=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection),{canonical:!1}),!E)return"";let te=E.evaluate();return te.isSame(E)&&(te=E.N()),te.latex}function e0(a,y,b,E){return{label:()=>_u(`\\${b}{${mu(a)}}`),tooltip:()=>{var te;return(te=ut(E))!=null?te:E},visible:()=>Xg(a,y),checked:()=>{var te;return{some:"mixed",all:!0}[(te=a.queryStyle({variant:y}))!=null?te:!1]},onMenuSelect:()=>{a.applyStyle({variant:y},{operation:"toggle"}),a.adoptStyle="none"}}}function t0(a,y,b,E){return{label:()=>_u(`\\${b}{${mu(a)}}`),tooltip:()=>{var te;return(te=ut(E))!=null?te:E},visible:()=>Jg(a,y),checked:()=>{var te;return{some:"mixed",all:!0}[(te=a.queryStyle({variantStyle:y}))!=null?te:!1]},onMenuSelect:()=>{a.applyStyle({variantStyle:y},{operation:"toggle"}),a.adoptStyle="none"}}}function tf(a,y){return a+$d(y)}pc({speak:(a,y,b)=>uy(a,y,b)},{target:"mathfield"});function uy(a,y,b){var E,te;b=b!=null?b:{withHighlighting:!1};const{model:ie}=a;function le(lt){let zt=null;switch(lt){case"all":zt=ie.root;break;case"selection":zt=ie.getAtoms(ie.selection);break;case"left":{zt=ie.getAtoms(ie.offsetOf(ie.at(ie.position).leftSibling),ie.position);break}case"right":{zt=ie.getAtoms(ie.position,ie.offsetOf(ie.at(ie.position).rightSibling));break}case"group":zt=ie.getAtoms(ie.getSiblingsRange(ie.position));break;case"parent":{const{parent:xn}=ie.at(ie.position);xn!=null&&xn.parent?zt=xn:zt=ie.root;break}default:zt=ie.root}return zt}function Me(lt){let zt="";switch(lt){case"all":console.log("Internal failure: speak all failed");break;case"selection":zt="no selection";break;case"left":zt="at start";break;case"right":zt="at end";break;case"group":console.log("Internal failure: speak group failed");break;case"parent":zt="no parent";break;default:console.log('unknown speak_ param value: "'+lt+'"');break}return zt}const Fe=le(y);if(Fe===null)return(te=(E=window.MathfieldElement).speakHook)==null||te.call(E,Me(y)),!1;(b.withHighlighting||window.MathfieldElement.speechEngine==="amazon")&&(window.MathfieldElement.textToSpeechMarkup=window.sre&&window.MathfieldElement.textToSpeechRules==="sre"?"ssml_step":"ssml");const Ve=$d(Fe);return mt()&&b.withHighlighting?(yd().readAloudMathfield=a,Md(a,{forHighlighting:!0}),window.MathfieldElement.readAloudHook&&window.MathfieldElement.readAloudHook(a.field,Ve)):window.MathfieldElement.speakHook&&window.MathfieldElement.speakHook(Ve),!1}function cy(a){var y,b;if(!mt()){console.log("Speak:",a);return}if(!window.MathfieldElement.speechEngine||window.MathfieldElement.speechEngine==="local"){const E=new SpeechSynthesisUtterance(a);window.speechSynthesis.speak(E)}else if(window.MathfieldElement.speechEngine==="amazon")if(!("AWS"in window))console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");else{const E=new window.AWS.Polly({apiVersion:"2016-06-10"}),te={OutputFormat:"mp3",VoiceId:(y=window.MathfieldElement.speechEngineVoice)!=null?y:"Joanna",Engine:["Amy","Emma","Brian","Ivy","Joanna","Kendra","Kimberly","Salli","Joey","Justin","Matthew"].includes((b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna")?"neural":"standard",Text:a,TextType:"ssml"};E.synthesizeSpeech(te,(ie,le)=>{if(ie)console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${ie}`);else if(le!=null&&le.AudioStream){const Me=new Uint8Array(le.AudioStream),Fe=new Blob([Me.buffer],{type:"audio/mpeg"}),Ve=URL.createObjectURL(Fe);new Audio(Ve).play().catch(zt=>console.log(zt))}else console.log("polly.synthesizeSpeech():",le)})}else window.MathfieldElement.speechEngine==="google"&&console.error("MathLive 0.98.5: The Google speech engine is not supported yet. Please come again.")}function yp(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 dy(a,y,b,E){let te="";if(y==="plonk")window.MathfieldElement.playSound("plonk"),a.flushInlineShortcutBuffer();else if(y==="delete")te=tf("deleted: ",E);else if(y==="focus"||y.includes("move"))te=fy(a.model,b)+(a.model.selectionIsCollapsed?"":"selected: ")+hy(a.model);else if(y==="replacement")te=tf("",a.model.at(a.model.position));else if(y==="line"){const ie=tf("",a.model.root);a.keyboardDelegate.setAriaLabel(ie)}else te=E?tf(y+" ",E):y;if(te){const ie=a.ariaLiveText.textContent.includes("\xA0")?" \u202F ":" \xA0 ";a.ariaLiveText.textContent=te+ie}}function fy(a,y){if(Number.isNaN(y))return"";const b=a.at(y);if(!b||b.treeDepth<=a.at(a.position).treeDepth)return"";let E="",te=b.parent;const ie=a.at(a.position).parent;for(;te!==a.root&&te!==ie;)E+=`out of ${yp(te)};`,te=te.parent;return E}function hy(a){if(!a.selectionIsCollapsed)return tf("",a.getAtoms(a.selection));let y="";const b=a.at(a.position),E=yp(b);return b.isFirstSibling&&(y=(E?"start of "+E:"unknown")+": "),b.isLastSibling?b.isFirstSibling||(y+=E?"end of "+E:"unknown"):y+=tf("",b),y}var py=class{constructor(a,y,b){this.mathfield=a,this.mode=y,this.silenceNotifications=!1,this._selection={ranges:[[0,0]],direction:"none"},this._anchor=0,this._position=0,this.root=b}dispose(){this.mathfield=void 0}getState(){const a={ranges:[...this._selection.ranges]};return this.selection.direction&&this.selection.direction!=="none"&&(a.direction=this.selection.direction),{content:this.root.toJson(),selection:a,mode:this.mode}}setState(a,y){var b;const E=this.silenceNotifications;this.silenceNotifications=(b=y==null?void 0:y.silenceNotifications)!=null?b:!0;let te={};if((y==null?void 0:y.type)==="undo"&&(te={inputType:"historyUndo"}),(y==null?void 0:y.type)==="redo"&&(te={inputType:"historyRedo"}),this.contentWillChange(te)){const ie=this.silenceNotifications;this.silenceNotifications=!0,this.mode=a.mode,this.root=pd(a.content),this.selection=a.selection,this.silenceNotifications=ie,this.contentDidChange(te)}this.silenceNotifications=E}get atoms(){return this.root.children}get selection(){return this._selection}set selection(a){this.setSelection(a)}setSelection(a,y){return!this.mathfield.contentEditable&&this.mathfield.userSelect==="none"?!1:this.deferNotifications({selection:!0},()=>{var b,E,te;const ie=this.normalizeSelection(a,y);if(ie===void 0)throw new TypeError("Invalid selection");if(ie.ranges.length===1&&ie.ranges[0][0]===ie.ranges[0][1]){const lt=ie.ranges[0][0];if(!this.mathfield.dirty&&!((b=this.at(lt))!=null&&b.parentPrompt)&&this.mathfield.hasEditablePrompts){if((E=this.at(lt-1))!=null&&E.parentPrompt){this._anchor=this.normalizeOffset(lt-1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}if((te=this.at(lt+1))!=null&&te.parentPrompt){this._anchor=this.normalizeOffset(lt+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=lt,this._position=lt,this._selection=ie;return}const le=ou(ie);ie.direction==="backward"?[this._position,this._anchor]=le:[this._anchor,this._position]=le;const Me=this.at(le[0]+1),Fe=this.at(le[1]),Ve=Fa.commonAncestor(Me,Fe);(Ve==null?void 0:Ve.type)==="array"&&Me.parent===Ve&&Fe.parent===Ve?this._selection={ranges:[le],direction:ie.direction}:this._selection={ranges:[le],direction:ie.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 Gu&&b.isSuggestion&&(b.isSuggestion=!1),this.mathfield.stopCoalescingUndo()}get position(){return this._position}set position(a){this.setSelection(a,a)}get anchor(){return this._anchor}get selectionIsCollapsed(){return this._anchor===this._position}get selectionIsPlaceholder(){return Math.abs(this._anchor-this._position)===1?this.at(Math.max(this._anchor,this._position)).type==="placeholder":!1}collapseSelection(a="forward"){return this._anchor===this._position?!1:(a==="backward"?this.position=Math.min(this._anchor,this._position):this.position=Math.max(this._anchor,this._position),!0)}get lastOffset(){return this.atoms.length-1}at(a){return this.atoms[a]}offsetOf(a){return this.atoms.indexOf(a)}getSiblingsRange(a){const y=this.at(a),{parent:b}=y;if(!b)return[0,this.lastOffset];const E=y.parent.branch(y.parentBranch);return[this.offsetOf(E[0]),this.offsetOf(E[E.length-1])]}getBranchRange(a,y){const b=this.at(a).branch(y);return[this.offsetOf(b[0]),this.offsetOf(b[b.length-1])]}getAtoms(a,y,b){let E=b!=null?b:{};if(Fc(a)){if(E=y!=null?y:{},a.ranges.length>1)return a.ranges.reduce((Ve,lt)=>[...Ve,...this.getAtoms(lt,E)],[]);a=a.ranges[0]}let te,ie;if(Fu(a)){if(te=a,!Fu(y))return[];ie=y}else[te,ie]=a,E=y!=null?y:{};if(!Number.isFinite(te))return[];E.includeChildren===void 0&&(E.includeChildren=!1),te<0&&(te=this.lastOffset-te+1),ie<0&&(ie=this.lastOffset-ie+1);const le=Math.min(te,ie)+1,Me=Math.max(te,ie);if(!E.includeChildren&&le===1&&Me===this.lastOffset)return[this.root];let Fe=[];for(let Ve=le;Ve<=Me;Ve++){const lt=this.atoms[Ve];bp(this,lt,le,Me)&&Fe.push(lt)}return E.includeChildren||(Fe=Fe.filter(Ve=>{let lt=!1,{parent:zt}=Ve;for(;zt&&!lt;)lt=bp(this,zt,le,Me),zt=zt.parent;return!lt})),Fe}getAllAtoms(a=0){const y=[],b=this.lastOffset;for(let E=a;E<=b;E++)y.push(this.atoms[E]);for(let E=0;E<a;E++)y.push(this.atoms[E]);return y}findAtom(a,y=0,b="forward"){let E;const te=this.lastOffset;if(b==="forward"){for(let ie=y;ie<=te;ie++)if(E=this.atoms[ie],a(E))return E;for(let ie=0;ie<y;ie++)if(E=this.atoms[ie],a(E))return E;return}for(let ie=y;ie>=0;ie--)if(E=this.atoms[ie],a(E))return E;for(let ie=te;ie>y;ie--)if(E=this.atoms[ie],a(E))return E}extractAtoms(a){let y=this.getAtoms(a);if(y.length===1&&!y[0].parent)if(y[0].type==="root")y=[...y[0].body],y.shift();else return y=this.root.cells.flat(),this.root=new Fa({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 Fa.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 Ks(a);if(b==="spoken")return $d(a);if(b==="spoken-text"){const E=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="";const te=$d(a);return window.MathfieldElement.textToSpeechMarkup=E,te}if(b==="spoken-ssml"||b==="spoken-ssml-with-highlighting"){const E=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="ssml";const te=$d(a);return window.MathfieldElement.textToSpeechMarkup=E,te}return b==="ascii-math"?Du(a):(console.error(`MathLive 0.98.5: Unexpected format "${b}`),"")}getValue(a,y,b){if(a===void 0)return this.atomToString(this.root,"latex");if(typeof a=="string"&&a!=="math-json")return this.atomToString(this.root,a);let E,te;if(Fu(a)&&Fu(y)?(E=[this.normalizeRange([a,y])],te=b):Ic(a)?(E=[this.normalizeRange(a)],te=y):Fc(a)?(E=a.ranges,te=y):(E=[this.normalizeRange([0,-1])],te=a),te!=null||(te="latex"),te==="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 ie=this.getValue({ranges:E},"latex-unstyled");try{const le=window.MathfieldElement.computeEngine.parse(ie);return JSON.stringify(le.json)}catch(le){return JSON.stringify(["Error",`'${le.toString()}'`])}}if(te.startsWith("latex")){const ie={expandMacro:te==="latex-expanded",skipStyles:te==="latex-unstyled",skipPlaceholders:te==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode};return $i(E.map(le=>Fa.serialize(this.getAtoms(le),ie)))}return E.map(ie=>this.getAtoms(ie).map(le=>this.atomToString(le,te)).join("")).join("")}extendSelectionTo(a,y){return!this.mathfield.contentEditable&&this.mathfield.userSelect==="none"?!1:this.deferNotifications({selection:!0},()=>{const b=this.normalizeRange([a,y]);let[E,te]=b,{parent:ie}=this.at(te);if(ie&&(ie.type==="genfrac"||ie.type==="subsup"))for(;ie!==this.root&&n0(this,ie,[E,te]);)te=this.offsetOf(ie),ie=ie.parent;for(ie=this.at(E).parent;ie!==this.root&&n0(this,ie,[E,te]);)E=this.offsetOf(ie.leftSibling),ie=ie.parent;if(ie=this.at(te).parent,(ie==null?void 0:ie.type)==="genfrac")for(;ie!==this.root&&n0(this,ie,[E,te]);)te=this.offsetOf(ie),console.assert(te>=0),ie=ie.parent;this._position=this.normalizeOffset(y),this._selection={ranges:[[E,te]],direction:"none"}})}announce(a,y,b=[]){var E,te;((te=(E=this.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("announce",{detail:{command:a,previousPosition:y,atoms:b},cancelable:!0,bubbles:!0,composed:!0})))!=null?te:!0)&&dy(this.mathfield,a,y,b)}deferNotifications(a,y){const b=this._selection,E=this._anchor,te=this._position,ie=this.silenceNotifications;this.silenceNotifications=!0;const le=this.root.changeCounter;y();const Me=this.root.changeCounter!==le,Fe=E!==this._anchor||te!==this._position||Nc(this._selection,b)==="different";return this.silenceNotifications=ie,a.content&&Me&&this.contentDidChange({inputType:a.type}),a.selection&&Fe&&this.selectionDidChange(),Me||Fe}normalizeOffset(a){return a>0?a=Math.min(a,this.lastOffset):a<0&&(a=this.lastOffset+a+1),a}normalizeRange(a){let[y,b]=a;return y=this.normalizeOffset(y),b=this.normalizeOffset(b),y<b?[y,b]:[b,y]}normalizeSelection(a,y){var b;let E;if(Fu(a)){const te=this.normalizeOffset(a);if(Fu(y)){const ie=this.normalizeOffset(y);E=te<=ie?{ranges:[[te,ie]],direction:"none"}:{ranges:[[ie,te]],direction:"backward"}}else E={ranges:[[te,te]],direction:"none"}}else if(Ic(a)){const te=this.normalizeOffset(a[0]),ie=this.normalizeOffset(a[1]);E=te<=ie?{ranges:[[te,ie]],direction:"none"}:{ranges:[[ie,te]],direction:"backward"}}else Fc(a)&&(E={ranges:a.ranges.map(te=>this.normalizeRange(te)),direction:(b=a.direction)!=null?b:"none"});return console.assert(E!==void 0),E}get parentEnvironment(){let a=this.at(this.position).parent;if(a){for(;a.parent&&a.type!=="array";)a=a.parent;if(a.type==="array")return a}}get cell(){var a;let y=this.at(this.position);if(y){for(;y&&((a=y.parent)==null?void 0:a.type)!=="array";)y=y.parent;if(!(!(y!=null&&y.parent)||y.parent.type!=="array"))return y.parentBranch}}contentWillChange(a={}){if(this.silenceNotifications||!this.mathfield)return!0;const y=this.silenceNotifications;this.silenceNotifications=!0;const b=this.mathfield.onContentWillChange(a);return this.silenceNotifications=y,b}contentDidChange(a){var y;if(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(_c(this.mathfield)),this.silenceNotifications||!this.mathfield.host||!this.mathfield)return;const b=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.host.dispatchEvent(new InputEvent("input",me(Se({},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(_c(this.mathfield)),this.silenceNotifications))return;const a=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.onSelectionDidChange(),this.silenceNotifications=a}};function bp(a,y,b,E){const te=a.offsetOf(y);if(te<b||te>E)return!1;if(!y.hasChildren)return!0;const ie=a.offsetOf(y.firstChild);if(ie>=b&&ie<=E){const le=a.offsetOf(y.lastChild);if(le>=b&&le<=E)return!0}return!1}function n0(a,y,b){if(!(y!=null&&y.hasChildren))return!1;const[E,te]=b,ie=a.offsetOf(y.firstChild),le=a.offsetOf(y.lastChild);return ie>=E&&ie<=te&&le>=ie&&le<=te}function kf(a,y,b,E){var te,ie,le,Me,Fe,Ve;const lt=b.parent;if(lt&&b instanceof Fs){const zt=!E&&y==="forward"||E==="body"&&y==="backward";let xn=zt?a.offsetOf(b.firstChild):a.offsetOf(b.lastChild);return zt?b.rightDelim!=="?"&&b.rightDelim!=="."?(b.leftDelim=".",b.isDirty=!0):(lt.addChildrenAfter(b.removeBranch("body"),b),lt.removeChild(b),xn--):b.leftDelim!=="?"&&b.leftDelim!=="."?(b.rightDelim=".",b.isDirty=!0):(lt.addChildrenAfter(b.removeBranch("body"),b),lt.removeChild(b),xn--),a.position=xn,!0}if(lt&&b.type==="surd"){if(y==="forward"&&!E||y==="backward"&&E==="body"){const zt=b.leftSibling;b.hasChildren&<.addChildrenAfter(b.removeBranch("body"),b),lt.removeChild(b),a.position=a.offsetOf(zt)}else y==="forward"&&E==="body"?a.position=a.offsetOf(b):!E&&y==="backward"?b.hasChildren?a.position=a.offsetOf(b.lastChild):(a.position=Math.max(0,a.offsetOf(b)-1),lt.removeChild(b)):E==="above"&&(b.hasEmptyBranch("above")&&b.removeBranch("above"),y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b.body[0]));return!0}if(lt&&(b.type==="box"||b.type==="enclose")){const zt=E&&y==="backward"||!E&&y==="forward"?b.leftSibling:b.lastChild;return lt.addChildrenAfter(b.removeBranch("body"),b),lt.removeChild(b),a.position=a.offsetOf(zt),!0}if(b.type==="genfrac"||b.type==="overunder"){if(!E)return b.type==="overunder"&&b.hasEmptyBranch("body")||b.type==="genfrac"&&b.hasEmptyBranch("below")&&b.hasEmptyBranch("above")?!1:(a.position=a.offsetOf(y==="forward"?b.firstChild:b.lastChild),!0);const zt=Nf.fractionNavigationOrder==="numerator-denominator"?"above":"below",xn=zt==="above"?"below":"above";if(lt&&(y==="forward"&&E===zt||y==="backward"&&E===xn)){const tr=b.removeBranch(zt),pr=b.removeBranch(xn);return lt.addChildrenAfter([...tr,...pr],b),lt.removeChild(b),a.position=a.offsetOf(tr.length>0?tr[tr.length-1]:pr[0]),!0}return y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b),!0}if(b.isExtensibleSymbol||b.type==="subsup"){if(!E&&y==="forward")return!1;if(!E){if(b.subscript||b.superscript){const zt=y==="forward"?(le=(te=b.superscript)==null?void 0:te[0])!=null?le:(ie=b.subscript)==null?void 0:ie[0]:(Ve=(Me=b.subscript)==null?void 0:Me[0].lastSibling)!=null?Ve:(Fe=b.superscript)==null?void 0:Fe[0].lastSibling;return zt&&(a.position=a.offsetOf(zt)),!0}return!1}if(!b.hasChildren&&b.type==="subsup"){const zt=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);return b.parent.removeChild(b),a.position=zt,!0}if(E==="superscript")if(y==="backward"){const zt=a.offsetOf(b.firstChild)-1;console.assert(zt>=0),a.position=zt}else b.subscript?a.position=a.offsetOf(b.subscript[0]):a.position=a.offsetOf(b);else E==="subscript"&&(y==="backward"&&b.superscript?a.position=a.offsetOf(b.superscript[0].lastSibling):y==="backward"?a.position=a.offsetOf(b.firstChild)-1:a.position=a.offsetOf(b));if(E&&b.hasEmptyBranch(E)&&(b.removeBranch(E),b.type==="subsup"&&!b.subscript&&!b.superscript)){const zt=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);b.parent.removeChild(b),a.position=zt}return!0}if((lt==null?void 0:lt.type)==="genfrac"&&!E&&b.type!=="first"){let zt=a.offsetOf(b.leftSibling);return lt.removeChild(b),lt.hasEmptyBranch("above")&<.hasEmptyBranch("below")?(zt=a.offsetOf(lt.leftSibling),lt.parent.removeChild(lt),a.announce("delete",void 0,[lt]),a.position=zt,!0):(a.announce("delete",void 0,[b]),a.position=zt,!0)}if(y==="backward"&&((lt==null?void 0:lt.command)==="\\ln"||(lt==null?void 0:lt.command)==="\\log")&&b.parentBranch!=="body"){const zt=a.offsetOf(lt.leftSibling);return lt.parent.removeChild(lt),a.announce("delete",void 0,[lt]),a.position=zt,!0}return!1}function my(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&&kf(a,"backward",y))){if(y!=null&&y.isFirstSibling){if(kf(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])}}):jc(a,ou(a.selection),"deleteContentBackward")}function vy(a){return!a.mathfield.isSelectionEditable||!a.contentWillChange({inputType:"deleteContentForward"})?!1:a.selectionIsCollapsed?a.deferNotifications({content:!0,selection:!0,type:"deleteContentForward"},()=>{var y,b;let E=a.at(a.position).rightSibling;if(E&&kf(a,"forward",E))return;if(E){if(a.at(a.position).isLastSibling&&kf(a,"forward",E.parent,E.parentBranch))return}else{if(E=a.at(a.position),E.isLastSibling&&kf(a,"forward",E.parent,E.parentBranch))return;E=void 0}if(a.position===a.lastOffset||!E){a.announce("plonk");return}E.parent.removeChild(E);let te=(y=a.at(a.position))==null?void 0:y.rightSibling;for(;(te==null?void 0:te.type)==="subsup";)te.parent.removeChild(te),te=(b=a.at(a.position))==null?void 0:b.rightSibling;a.announce("delete",void 0,[E])}):jc(a,ou(a.selection),"deleteContentForward")}function jc(a,y,b){const E=a.getAtoms(y);if(E.length>0&&E[0].parent){let te=E[0].parent.firstChild;te.type==="first"&&(te=te.rightSibling);const ie=E[E.length-1].parent.lastChild;let le=E[0];le.type==="first"&&(le=le.rightSibling);const Me=E[E.length-1];if(le===te&&Me===ie){const Fe=E[0].parent;Fe.parent&&Fe.type!=="prompt"&&(y=[a.offsetOf(Fe.leftSibling),a.offsetOf(Fe)])}if(E.length===1&&E[0].type==="placeholder"&&E[0].parent.type==="genfrac"){const Fe=E[0].parent,Ve=E[0].parentBranch==="below"?"above":"below",lt=a.offsetOf(Fe.leftSibling);return a.deferNotifications({content:!0,selection:!0,type:b},()=>{var zt,xn;const tr=Fe.removeBranch(Ve);if(tr.length===1&&tr[0].type==="placeholder")(xn=Fe.parent)==null||xn.removeChild(Fe),a.position=Math.max(0,lt);else{const pr=Fe.parent.addChildrenAfter(tr,Fe);(zt=Fe.parent)==null||zt.removeChild(Fe),a.position=a.offsetOf(pr)}})}}return a.deferNotifications({content:!0,selection:!0,type:b},()=>a.deleteAtoms(y))}pc({deleteAll:a=>a.contentWillChange({inputType:"deleteContent"})&&jc(a,[0,-1],"deleteContent"),deleteForward:a=>vy(a),deleteBackward:a=>my(a),deleteNextWord:a=>a.contentWillChange({inputType:"deleteWordForward"})&&jc(a,[a.anchor,Ph(a,a.position,"forward")],"deleteWordForward"),deletePreviousWord:a=>a.contentWillChange({inputType:"deleteWordBackward"})&&jc(a,[a.anchor,Ph(a,a.position,"backward")],"deleteWordBackward"),deleteToGroupStart:a=>a.contentWillChange({inputType:"deleteSoftLineBackward"})&&jc(a,[a.anchor,a.offsetOf(a.at(a.position).firstSibling)],"deleteSoftLineBackward"),deleteToGroupEnd:a=>a.contentWillChange({inputType:"deleteSoftLineForward"})&&jc(a,[a.anchor,a.offsetOf(a.at(a.position).lastSibling)],"deleteSoftLineForward"),deleteToMathFieldStart:a=>a.contentWillChange({inputType:"deleteHardLineBackward"})&&jc(a,[a.anchor,0],"deleteHardLineBackward"),deleteToMathFieldEnd:a=>a.contentWillChange({inputType:"deleteHardLineForward"})&&jc(a,[a.anchor,-1],"deleteHardLineForward")},{target:"model",audioFeedback:"delete",canUndo:!0,changeContent:!0,changeSelection:!0});var gy=`<svg xmlns="http://www.w3.org/2000/svg" style="width: 21px;" viewBox="0 0 576 512" role="img" aria-label="${ut("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>`,yy=`<svg xmlns="http://www.w3.org/2000/svg" style="height: 18px;" viewBox="0 0 448 512" role="img" aria-label="${ut("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>`,by=class{constructor(a,y){this.focusBlurInProgress=!1;var b,E,te;this.options=Se(me(Se({},Yf()),{macros:qt(),registers:ec()}),Gf(y)),this.eventController=new AbortController;const ie=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 le=(E=(b=y.value)!=null?b:this.element.textContent)!=null?E:"";le=le.trim();const Me=L0(this.options),Fe=new Fa({type:"root",mode:Me,body:Wu(le,{context:this.context})});this.model=new py(this,Me,Fe),this.undoManager=new Vv(this.model);const Ve=[];if(Ve.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>"),Ve.push('<span part=container class=ML__container aria-hidden=true style="visibility:hidden">'),Ve.push("<span part=content class=ML__content>"),Ve.push(A0(this)),Ve.push("</span>"),window.mathVirtualKeyboard&&(Ve.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">`),Ve.push(gy),Ve.push("</div>")),Ve.push('<div part=menu-toggle class=ML__menu-toggle role=button data-l10n-tooltip="tooltip.menu">'),Ve.push(yy),Ve.push("</div>"),Ve.push("</span>"),Ve.push("<span class=ML__sr-only>"),Ve.push("<span role=status aria-live=assertive aria-atomic=true></span>"),Ve.push("</span>"),this.element.innerHTML=window.MathfieldElement.createHTML(Ve.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=$e.subscribe(()=>$e.update(this.element)),$e.update(this.element),this.field=this.element.querySelector("[part=content]"),this.field.addEventListener("click",zt=>zt.stopImmediatePropagation(),{capture:!1,signal:ie}),this.field.addEventListener("wheel",this,{passive:!1,signal:ie}),"PointerEvent"in window?this.field.addEventListener("pointerdown",this,{signal:ie}):this.field.addEventListener("mousedown",this,{signal:ie}),(te=this.element.querySelector("[part=virtual-keyboard-toggle]"))==null||te.addEventListener("click",()=>{window.mathVirtualKeyboard.visible?window.mathVirtualKeyboard.hide():(window.mathVirtualKeyboard.show({animate:!0}),window.mathVirtualKeyboard.update(_c(this)))},{signal:ie}),this._menu=new Ng(iy(this),{host:this.host}),this.field.addEventListener("contextmenu",this,{signal:ie});const lt=this.element.querySelector("[part=menu-toggle]");lt==null||lt.addEventListener("pointerdown",zt=>{if(zt.currentTarget!==lt||this._menu.state!=="closed")return;this.element.classList.add("tracking");const xn=lt.getBoundingClientRect();this._menu.modifiers=Ad(zt),this._menu.show({target:lt,location:{x:xn.left,y:xn.bottom},onDismiss:()=>this.element.classList.remove("tracking")}),zt.preventDefault(),zt.stopPropagation()},{signal:ie}),(this.model.atoms.length<=1||this.disabled||this.readOnly&&!this.hasEditableContent||this.userSelect==="none")&&(lt.style.display="none"),this.ariaLiveText=this.element.querySelector("[role=status]"),this.keyboardDelegate=Qm(this.element.querySelector(".ML__keyboard-sink"),this.element,this),window.addEventListener("resize",this,{signal:ie}),document.addEventListener("scroll",this,{signal:ie}),this.resizeObserver=new ResizeObserver(()=>Eu(this)),this.resizeObserver.observe(this.field),window.mathVirtualKeyboard.addEventListener("virtual-keyboard-toggle",this,{signal:ie}),hf&&!$e.locale.startsWith(hf.locale)&&jm($e.locale),yc!=="ready"&&document.fonts.ready.then(()=>Wf(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(_c(this)),oh(this))}disconnectFromVirtualKeyboard(){this.connectedToVirtualKeyboard&&(window.removeEventListener("message",this),window.mathVirtualKeyboard.disconnect(),this.connectedToVirtualKeyboard=!1,Wh())}showMenu(a){var y,b;const E=(b=(y=a==null?void 0:a.location)!=null?y:mc(this.field))!=null?b:void 0,te=a==null?void 0:a.modifiers,ie=this.element.querySelector("[part=container]");return this._menu.show({target:ie,location:E,modifiers:te})}get colorMap(){return a=>{var y,b,E;return(E=(b=(y=this.options).colorMap)==null?void 0:b.call(y,a))!=null?E:Re(a)}}get backgroundColorMap(){return a=>{var y,b,E,te,ie,le;return(le=(ie=(b=(y=this.options).backgroundColorMap)==null?void 0:b.call(y,a))!=null?ie:(te=(E=this.options).colorMap)==null?void 0:te.call(E,a))!=null?le:Be(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=Fa.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=Se({},a[0].style);for(const b of a)for(const[E,te]of Object.entries(b.style))y[E]!==te&&delete y[E];return y}queryStyle(a){const y=Fh(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 Fe of Object.keys(y)){const Ve=this.queryStyle({[Fe]:y[Fe]});if(Ve==="none")return"none";if(Ve==="some")return"some"}return"all"}const E=Object.keys(y)[0],te=y[E];if(this.model.selectionIsCollapsed)return this.effectiveStyle[E]===te?"all":"none";const ie=this.model.getAtoms(this.model.selection,{includeChildren:!0});let le=ie.length;if(le===0)return"none";let Me=0;for(const Fe of ie){if(Fe.type==="first"){le-=1;continue}Fe.style[E]===te&&(Me+=1)}return Me===0?"none":Me===le?"all":"some"}get keybindings(){var a,y;if(this._keybindings)return this._keybindings;const[b,E]=ev(this.options.keybindings,(a=pf())!=null?a:Um());return((y=pf())==null?void 0:y.score)>0&&(this._keybindings=b,E.length>0&&console.error("MathLive 0.98.5: Invalid keybindings for current keyboard layout",E)),b}get menu(){return this._menu}setOptions(a){var y;this.options=Se(Se({},this.options),Gf(a)),this._keybindings=void 0,this.options.defaultMode==="inline-math"?this.element.classList.add("ML__is-inline"):this.element.classList.remove("ML__is-inline");let b=this.options.defaultMode;b==="inline-math"&&(b="math"),((y=this.model.root.firstChild)==null?void 0:y.mode)!==b&&(this.model.root.firstChild.mode=b),this.options.readOnly&&this.hasFocus()&&window.mathVirtualKeyboard.visible&&this.executeCommand("hideVirtualKeyboard");const E=Fa.serialize([this.model.root],{expandMacro:!1,defaultMode:this.options.defaultMode});("macros"in a||this.model.getValue()!==E)&&is.insert(this.model,E,{insertionMode:"replaceAll",selectionMode:"after",format:"latex",silenceNotifications:!0,mode:"math"}),("value"in a||"macros"in a||"registers"in a||"colorMap"in a||"backgroundColorMap"in a||"letterShapeStyle"in a||"minFontScale"in a||"readOnly"in a||"placeholderSymbol"in a)&&Eu(this)}getOptions(a){return kd(this.options,a)}getOption(a){return kd(this.options,a)}handleEvent(a){return od(this,null,function*(){var y;if(ic(this)){if(Dh(a)){if(!Zs(a.origin,(y=this.options.originValidator)!=null?y:"none"))throw new DOMException(`Message from unknown origin (${a.origin}) cannot be handled`,"SecurityError");const{action:b}=a.data;if(b==="execute-command"){const E=a.data.command;if(jd(E)==="virtual-keyboard")return;this.executeCommand(E)}else b==="update-state"||(b==="focus"?this.focus({preventScroll:!0}):b==="blur"&&this.blur());return}switch(a.type){case"focus":this.onFocus();break;case"blur":this.onBlur();break;case"mousedown":this.userSelect!=="none"&&Y0(this,a);break;case"pointerdown":this.userSelect!=="none"&&(Y0(this,a),a.shiftKey===!1&&(yield sp(a,this.element.querySelector("[part=container]"),this._menu))&&nh.stop());break;case"contextmenu":this.userSelect!=="none"&&a.shiftKey===!1&&(yield sp(a,this.element.querySelector("[part=container]"),this._menu))&&nh.stop();break;case"virtual-keyboard-toggle":this.hasFocus()&&oh(this);break;case"resize":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>ic(this)&&this.onGeometryChange());break;case"scroll":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>ic(this)&&this.onGeometryChange());break;case"wheel":this.onWheel(a);break;default:console.warn("Unexpected event type",a.type)}}})}dispose(){if(!ic(this))return;$e.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,tg(),ov(),Sg()}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 jd(a)==="virtual-keyboard"?(this.focus({preventScroll:!0}),window.mathVirtualKeyboard.executeCommand(a),requestAnimationFrame(()=>window.mathVirtualKeyboard.update(_c(this))),!1):hv(this,a)}get errors(){return i0(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=Cs(this.model,this.model.position))!=null?b:"math");const E=this.undoManager.canUndo();is.insert(this.model,a,y)&&(Eu(this),E||this.undoManager.reset(),this.undoManager.snapshot("set-value"))}get expression(){const a=window.MathfieldElement.computeEngine;return a?a.box(a.parse(this.model.getValue("latex-unstyled"))):(console.error("MathLive 0.98.5: no compute engine available. Make sure the Compute Engine library is loaded."),null)}scrollIntoView(){var a;if(!this.element)return;if(this.host){if(this.options.onScrollIntoView)this.options.onScrollIntoView(this);else if(this.host.scrollIntoView({block:"nearest",inline:"nearest"}),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.container===window.document.body){const E=window.mathVirtualKeyboard.boundingRect,te=this.host.getBoundingClientRect();te.bottom>E.top&&((a=window.document.scrollingElement)==null||a.scrollBy(0,te.bottom-E.top+8))}}this.dirty&&Md(this,{interactive:!0});const y=this.field.getBoundingClientRect();let b=null;if(this.model.selectionIsCollapsed)b=mc(this.field);else{const E=Ds(this);if(E.length>0){let te=-1/0,ie=-1/0;for(const le of E)le.right>te&&(te=le.right),le.top<ie&&(ie=le.top);b={x:te+y.left-this.field.scrollLeft,y:ie+y.top-this.field.scrollTop,height:0}}}if(this.host&&b){const E=this.host.getBoundingClientRect(),te=b.y;let ie=this.host.scrollTop;te<E.top?ie=te-E.top+this.host.scrollTop:te>E.bottom&&(ie=te-E.bottom+this.host.scrollTop+b.height),this.host.scroll({top:ie,left:0})}if(b){const E=b.x-window.scrollX;let te=this.field.scrollLeft;E<y.left?te=E-y.left+this.field.scrollLeft-20:E>y.right&&(te=E-y.right+this.field.scrollLeft+20),this.field.scroll({top:this.field.scrollTop,left:te})}}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&&vt()&&navigator.vibrate(M0),window.MathfieldElement.playSound("keypress")),a==="\\\\"?O0(this.model):a==="&"?T0(this.model):this.model.selectionIsCollapsed?is.insert(this.model,a,Se({style:this.model.at(this.model.position).computedStyle},y)):is.insert(this.model,a,y),this.snapshot(`insert-${this.model.at(this.model.position).type}`),Eu(this),y.scrollIntoView&&this.scrollIntoView(),!0)}switchMode(a,y="",b=""){var E;if(this.model.mode===a||!this.hasEditableContent||!this.contentEditable||this.disabled)return;const te=this.model.mode;if(this.model.mode=a,!((E=this.host)!=null&&E.dispatchEvent(new Event("mode-change",{bubbles:!0,composed:!0,cancelable:!0})))){this.model.mode=te;return}const ie=this.model.mode,{model:le}=this;le.deferNotifications({content:!!b||!!y,selection:!0,type:"insertText"},()=>{let Me=!1;if(this.flushInlineShortcutBuffer(),this.stopCoalescingUndo(),y&&a!=="latex"){const Fe=Wu(y,{context:this.context,parseMode:a});le.collapseSelection("forward");const Ve=le.at(le.position);le.position=le.offsetOf(Ve.parent.addChildrenAfter(Fe,Ve)),Me=!0}if(this.model.mode=a,a==="latex"){let Fe=le.selectionIsCollapsed;_d(this,"accept");let Ve,lt=le.at(le.position);if(Fe)Ve="\\";else{const xn=ou(le.selection);Ve=this.model.getValue(xn,"latex");const tr=this.model.extractAtoms(xn);tr.length===1&&tr[0].type==="placeholder"&&(Ve=y,Fe=!0),lt=le.at(xn[0])}const zt=new lf(Ve);lt.parent.addChildAfter(zt,lt),Fe?le.position=le.offsetOf(zt.lastChild):le.setSelection(le.offsetOf(zt.firstChild),le.offsetOf(zt.lastChild))}else mf(le).forEach(Fe=>{Fe.isError=!1});if(b){const Fe=Wu(b,{context:this.context,parseMode:ie});le.collapseSelection("forward");const Ve=le.at(le.position);le.position=le.offsetOf(Ve.parent.addChildrenAfter(Fe,Ve)),Me=!0}return Eu(this),this.undoManager.snapshot(a==="latex"?"insert-latex":"insert"),Me}),this.model.mode=a,window.mathVirtualKeyboard.update(_c(this))}hasFocus(){return!this.blurred}focus(a){var y;this.hasFocus()||(this.keyboardDelegate.focus(),this.connectToVirtualKeyboard(),this.onFocus(),this.model.announce("line")),(y=a==null?void 0:a.preventScroll)!=null&&y||this.scrollIntoView()}blur(){this.disconnectFromVirtualKeyboard(),this.hasFocus()&&this.keyboardDelegate.blur()}select(){this.model.selection={ranges:[[0,this.model.lastOffset]]},this.focus()}applyStyle(a,y={}){var b,E;const te={operation:"set",silenceNotifications:!1};Ic(y)?te.range=y:(y.operation==="toggle"&&(te.operation="toggle"),te.range=y.range,te.silenceNotifications=(b=y.silenceNotifications)!=null?b:!1);const ie=Fh(this,a),le=(E=te.operation)!=null?E:"set";if(te.range===void 0&&this.model.selectionIsCollapsed){if(le==="set"){this.defaultStyle=Se(Se({},this.defaultStyle),ie);return}const Me=Se({},this.defaultStyle);for(const Fe of Object.keys(ie))Me[Fe]===ie[Fe]?(Fe==="color"&&delete Me.verbatimColor,Fe==="backgroundColor"&&delete Me.verbatimBackgroundColor,delete Me[Fe]):Me[Fe]=ie[Fe];this.defaultStyle=Me;return}this.model.deferNotifications({content:!te.silenceNotifications,type:"insertText"},()=>{if(te.range===void 0)for(const Me of this.model.selection.ranges)Nh(this.model,Me,ie,{operation:le});else Nh(this.model,te.range,ie,{operation:le})}),Eu(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=mc(this.field);return a?{x:a.x,y:a.y}:null}setCaretPoint(a,y){const b=Cf(this,a,y,{bias:0});if(b<0)return!1;const E=this.model.position;return this.model.position=b,this.model.announce("move",E),Eu(this),!0}getPrompt(a){const y=this.model.findAtom(b=>b.type==="prompt"&&b.placeholderId===a);return console.assert(y!==void 0,"MathLive 0.98.5: no prompts with matching ID found"),y}getPromptValue(a,y){const b=this.getPrompt(a);if(!b)return"";const E=this.model.offsetOf(b.firstChild),te=this.model.offsetOf(b.lastChild);return this.model.getValue(E,te,y)}getPrompts(a){return this.model.getAllAtoms().filter(y=>y.type!=="prompt"?!1:a?!(a.id&&y.placeholderId!==a.id||a.locked&&y.locked!==a.locked||a.correctness==="undefined"&&y.correctness||a.correctness&&y.correctness!==a.correctness):!0).map(y=>y.placeholderId)}setPromptValue(a,y,b){if(y!==void 0){const E=this.getPrompt(a);if(!E){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}const te=this.model.getBranchRange(this.model.offsetOf(E),"body");this.model.setSelection(te),this.insert(y,me(Se({},b),{insertionMode:"replaceSelection"}))}b!=null&&b.silenceNotifications&&(this.valueOnFocus=this.getValue()),Eu(this)}setPromptState(a,y,b){const E=this.getPrompt(a);if(!E){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}y==="undefined"?E.correctness=void 0:typeof y=="string"&&(E.correctness=y),typeof b=="boolean"&&(E.locked=b,E.captureSelection=b),Eu(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(_c(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(_c(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(_c(this)),(a=this.host)==null||a.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"undo"}})))}resetUndo(){var a;(a=this.undoManager)==null||a.reset()}onSelectionDidChange(){var a,y;const b=this.model;this.keyboardDelegate.setValue(b.getValue(this.model.selection,"latex-expanded"));{const E=b.at(b.position),te=(a=E.mode)!=null?a:L0(this.options);this.model.mode!==te&&(this.model.mode==="latex"?(_d(this,"accept",{mode:te}),b.position=b.offsetOf(E)):this.switchMode(te))}(y=this.host)==null||y.dispatchEvent(new Event("selection-change",{bubbles:!0,composed:!0})),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(_c(this)),oh(this)}onContentWillChange(a){var y,b,E;return(E=(b=this.host)==null?void 0:b.dispatchEvent(new InputEvent("beforeinput",me(Se({},a),{data:a.data?a.data:(y=a.inputType)!=null?y:"",cancelable:!0,bubbles:!0,composed:!0}))))!=null?E:!0}onFocus(){this.focusBlurInProgress||!this.blurred||(this.focusBlurInProgress=!0,this.blurred=!1,this.keyboardDelegate.focus(),this.stopCoalescingUndo(),Md(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="",Vd(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})),Eu(this),this.focusBlurInProgress=!1,Wh();const E=new AbortController,te=E.signal;document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&document.addEventListener("visibilitychange",()=>{ic(this)&&document.visibilityState==="visible"&&this.focus({preventScroll:!0})},{once:!0,signal:te})},{once:!0,signal:te}),setTimeout(()=>E.abort(),100)}onInput(a){Oh(this,a)}onKeystroke(a){return j0(this,a)}onCompositionStart(a){this.model.deleteAtoms(ou(this.model.selection));const y=mc(this.field);y&&requestAnimationFrame(()=>{Md(this),this.keyboardDelegate.moveTo(y.x,y.y-y.height)})}onCompositionUpdate(a){Tv(this.model,a),Eu(this)}onCompositionEnd(a){Rv(this.model),Oh(this,a,{simulateKeystroke:!0})}onCut(a){if(!this.isSelectionEditable){this.model.announce("plonk");return}this.model.contentWillChange({inputType:"deleteByCut"})&&(this.stopCoalescingUndo(),is.onCopy(this,a),jc(this.model,ou(this.model.selection),"deleteByCut"),this.snapshot("cut"),Eu(this))}onCopy(a){is.onCopy(this,a)}onPaste(a){let y=this.isSelectionEditable;return y&&(y=is.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(),zf(this),oh(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=>Nr(b,this.options.macros),atomIdsSettings:{seed:"random",groupNumbers:!1}}}};function xp(a){if(a&&(a.classList.remove("ML__highlight"),a.children))for(const y of a.children)xp(y)}function r0(a,y){var b;a&&(!y||((b=a.dataset)==null?void 0:b.atomId)===y?(a.classList.add("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(E=>{E instanceof HTMLElement&&r0(E)})):(a.classList.remove("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(E=>{E instanceof HTMLElement&&r0(E,y)})))}function xy(a,y){var b;if(!mt())return;if(window.MathfieldElement.speechEngine!=="amazon"){console.error("MathLive 0.98.5: Use Amazon TTS Engine for synchronized highlighting"),typeof window.MathfieldElement.speakHook=="function"&&window.MathfieldElement.speakHook(y);return}if(!window.AWS){console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");return}const E=new window.AWS.Polly({apiVersion:"2016-06-10"}),te={OutputFormat:"json",VoiceId:(b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna",Engine:"standard",Text:y,TextType:"ssml",SpeechMarkTypes:["ssml"]};yd().readAloudElement=a,E.synthesizeSpeech(te,(ie,le)=>{if(ie){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${ie}`);return}if(!(le!=null&&le.AudioStream)){console.log("polly.synthesizeSpeech():",le);return}const Me=new TextDecoder("utf-8").decode(new Uint8Array(le.AudioStream));yd().readAloudMarks=Me.split(`
|
|
|
`).map(Fe=>Fe?JSON.parse(Fe):{}),yd().readAloudTokens=[];for(const Fe of yd().readAloudMarks)Fe.value&&yd().readAloudTokens.push(Fe.value);yd().readAloudCurrentMark="",te.OutputFormat="mp3",te.SpeechMarkTypes=[],E.synthesizeSpeech(te,(Fe,Ve)=>{if(Fe){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech("${y}") error:${Fe}`);return}if(!(Ve!=null&&Ve.AudioStream))return;const lt=new Uint8Array(Ve.AudioStream),zt=new Blob([lt.buffer],{type:"audio/mpeg"}),xn=URL.createObjectURL(zt),tr=yd();tr.readAloudAudio?tr.readAloudAudio.pause():(tr.readAloudAudio=new Audio,tr.readAloudAudio.addEventListener("ended",()=>{const pr=tr.readAloudMathfield;tr.readAloudStatus="ended",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),pr?(Md(pr),tr.readAloudElement=null,tr.readAloudMathfield=null,tr.readAloudTokens=[],tr.readAloudMarks=[],tr.readAloudCurrentMark=""):xp(tr.readAloudElement)}),tr.readAloudAudio.addEventListener("timeupdate",()=>{let pr="";const Na=tr.readAloudAudio.currentTime*1e3+100;for(const qi of tr.readAloudMarks)qi.time<Na&&(pr=qi.value);tr.readAloudCurrentMark!==pr&&(tr.readAloudCurrentToken=pr,pr&&pr===tr.readAloudFinalToken?tr.readAloudAudio.pause():(tr.readAloudCurrentMark=pr,r0(tr.readAloudElement,tr.readAloudCurrentMark)))})),tr.readAloudAudio.src=xn,tr.readAloudStatus="playing",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),tr.readAloudAudio.play()})})}mt()||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 Os=new WeakMap,wy=.5,gd={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 Rd extends HTMLElement{static get formAssociated(){return nf()}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,uv())}get fontsDirectory(){throw new Error("Use MathfieldElement.fontsDirectory instead")}set fontsDirectory(y){throw new Error("Use MathfieldElement.fontsDirectory instead")}static get soundsDirectory(){return this._soundsDirectory}static set soundsDirectory(y){this._soundsDirectory=y,this.audioBuffers={}}get soundsDirectory(){throw new Error("Use MathfieldElement.soundsDirectory instead")}set soundsDirectory(y){throw new Error("Use MathfieldElement.soundsDirectory instead")}static get keypressSound(){return this._keypressSound}static set keypressSound(y){var b,E,te;this.audioBuffers={},y===null?this._keypressSound={spacebar:null,return:null,delete:null,default:null}:typeof y=="string"?this._keypressSound={spacebar:y,return:y,delete:y,default:y}:typeof y=="object"&&"default"in y&&(this._keypressSound={spacebar:(b=y.spacebar)!=null?b:y.default,return:(E=y.return)!=null?E:y.default,delete:(te=y.delete)!=null?te: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 $e.locale}static set locale(y){y==="auto"&&(y=navigator.language.slice(0,5)),$e.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 $e.strings}static set strings(y){$e.merge(y)}get strings(){throw new Error("Use MathfieldElement.strings instead")}set strings(y){throw new Error("Use MathfieldElement.strings instead")}static get decimalSeparator(){return this._decimalSeparator}static set decimalSeparator(y){this._decimalSeparator=y,this._computeEngine&&(this._computeEngine.latexOptions.decimalMarker=this.decimalSeparator===","?"{,}":".")}get decimalSeparator(){throw new Error("Use MathfieldElement.decimalSeparator instead")}set decimalSeparator(y){throw new Error("Use MathfieldElement.decimalSeparator instead")}static get computeEngine(){var y,b;if(this._computeEngine===void 0){const E=(y=window[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;if(!E)return null;this._computeEngine=new E,this._computeEngine&&this.decimalSeparator===","&&(this._computeEngine.latexOptions.decimalMarker="{,}")}return(b=this._computeEngine)!=null?b:null}static set computeEngine(y){this._computeEngine=y}get computeEngine(){throw new Error("Use MathfieldElement.computeEngine instead")}set computeEngine(y){throw new Error("Use MathfieldElement.computeEngine instead")}static get isFunction(){return typeof this._isFunction!="function"?()=>!1:this._isFunction}static set isFunction(y){this._isFunction=y}static loadSound(y){return od(this,null,function*(){delete this.audioBuffers[y];let b="";switch(y){case"keypress":b=this._keypressSound.default;break;case"return":b=this._keypressSound.return;break;case"spacebar":b=this._keypressSound.spacebar;break;case"delete":b=this._keypressSound.delete;break;case"plonk":b=this.plonkSound;break}if(typeof b!="string")return;b=b.trim();const E=this.soundsDirectory;if(!(E==null||E==="null"||b==="none"||b==="null"))try{const ie=yield(yield fetch(yield E0(`${E}/${b}`))).arrayBuffer(),le=yield this.audioContext.decodeAudioData(ie);this.audioBuffers[y]=le}catch(te){}})}static playSound(y){return od(this,null,function*(){if((this.audioContext.state==="suspended"||this.audioContext.state==="interrupted")&&(yield this.audioContext.resume()),this.audioBuffers[y]||(yield this.loadSound(y)),!this.audioBuffers[y])return;const b=this.audioContext.createBufferSource();b.buffer=this.audioBuffers[y];const E=this.audioContext.createGain();E.gain.value=wy,b.connect(E).connect(this.audioContext.destination),b.start()})}constructor(y){if(super(),y){const b=[];for(const E of Object.keys(y))if(gd[E])if(gd[E].startsWith("mf."))if(gd[E].startsWith(`mf.${E}`))b.push(`Option \`${E}\` cannot be used as a constructor option. Use ${gd[E]}`);else{const te=gd[E].match(/([a-zA-Z]+) =/);b.push(`Option \`${E}\` has been renamed \`${te[1]}\``)}else b.push(`Option \`${E}\` cannot be used as a constructor option. Use ${gd[E]}`);if(b.length>0){console.group("%cMathLive 0.98.5: %cInvalid Options","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),console.warn("Some of the options passed to `new MathfieldElement(...)` are invalid. \n See https://cortexjs.io/mathlive/changelog/ for details.");for(const E of b)console.warn(E);console.groupEnd()}}if(nf()&&(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=[hd("core"),hd("mathfield"),hd("mathfield-element"),hd("ui"),hd("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>"+td("core")+td("mathfield")+td("mathfield-element")+td("ui")+td("menu")+'</style><span></span><slot style="display:none"></slot>';y&&this._setOptions(y),this.shadowRoot.addEventListener("slotchange",()=>{var b;const E=this.shadowRoot.querySelector("slot:not([name])");this.value=(b=E==null?void 0:E.assignedNodes().map(te=>te.nodeType===3?te.textContent:"").join("").trim())!=null?b:""})}showMenu(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.showMenu(y))!=null?E:!1}get mathVirtualKeyboard(){throw new Error("The `mathVirtualKeyboard` property is not available on the MathfieldElement. Use `window.mathVirtualKeyboard` instead.")}onPointerDown(){window.addEventListener("pointerup",y=>{var b;y.target===this&&!((b=this._mathfield)!=null&&b.disabled)&&this.dispatchEvent(new MouseEvent("click",{altKey:y.altKey,button:y.button,buttons:y.buttons,clientX:y.clientX,clientY:y.clientY,ctrlKey:y.ctrlKey,metaKey:y.metaKey,movementX:y.movementX,movementY:y.movementY,relatedTarget:y.relatedTarget,screenX:y.screenX,screenY:y.screenY,shiftKey:y.shiftKey}))},{once:!0})}getPromptValue(y,b){var E,te;return(te=(E=this._mathfield)==null?void 0:E.getPromptValue(y,b))!=null?te:""}setPromptValue(y,b,E){var te;(te=this._mathfield)==null||te.setPromptValue(y,b,E)}getPromptRange(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPromptRange(y))!=null?E:null}getPrompts(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPrompts(y))!=null?E:[]}get form(){var y;return(y=this._internals)==null?void 0:y.form}get name(){var y;return(y=this.getAttribute("name"))!=null?y:""}get type(){return this.localName}get mode(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.mode)!=null?b:this.defaultMode==="text"?"text":"math"}set mode(y){var b;(b=this._mathfield)==null||b.switchMode(y)}get expression(){if(this._mathfield)return window[Symbol.for("io.cortexjs.compute-engine")]?this._mathfield.expression:(console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
|
|
|
|
|
|
Load the library, for example with:
|
|
|
|
|
|
import "https://unpkg.com/@cortex-js/compute-engine?module"`),null)}set expression(y){var b,E;if(!this._mathfield)return;const te=(E=(b=Rd.computeEngine)==null?void 0:b.box(y).latex)!=null?E:null;te!==null&&this._mathfield.setValue(te),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?kd(this._mathfield.options,y):Os.has(this)?Se({},kd(Se(Se({},Yf()),Gf(Os.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?kd(this._mathfield.options,y):Os.has(this)?kd(Se(Se({},Yf()),Gf(Os.get(this).options)),y):null}reflectAttributes(){const y=Yf(),b=this._getOptions();Object.keys(Rd.optionsAttributes).forEach(E=>{const te=id(E);Rd.optionsAttributes[E]==="on/off"?y[te]!==b[te]?this.setAttribute(E,b[te]?"on":"off"):this.removeAttribute(E):y[te]!==b[te]&&(Rd.optionsAttributes[E]==="boolean"?b[te]?this.setAttribute(E,""):this.removeAttribute(E):(typeof b[te]=="string"||typeof b[te]=="number")&&this.setAttribute(E,b[te].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(Os.has(this)){const b=Se(Se({},Os.get(this).options),y);Os.set(this,me(Se({},Os.get(this)),{selection:{ranges:b.readOnly?[[0,0]]:[[0,-1]]},options:b}))}else Os.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))gd[b]&&console.warn(`\`mf.setOptions({${b}:...})\` -> ${gd[b]}`);console.groupEnd(),this._setOptions(y)}executeCommand(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.executeCommand(y))!=null?E:!1}getValue(y,b,E){var te,ie;if(this._mathfield)return this._mathfield.model.getValue(y,b,E);if(Os.has(this)){let le,Me,Fe;if(Fc(y)?([le,Me]=y.ranges[0],Fe=b):Ic(y)?([le,Me]=y,Fe=b):Fu(y)&&Fu(b)?(le=y,Me=b,Fe=E):(le=0,Me=-1,Fe=y),(Fe===void 0||Fe==="latex")&&le===0&&Me===-1)return(ie=(te=Os.get(this).value)!=null?te:this.textContent)!=null?ie:""}return""}setValue(y,b){if(this._mathfield&&y!==void 0){b!=null||(b={silenceNotifications:!0,mode:"math"}),this._mathfield.setValue(y,b);return}if(Os.has(this)){const te=Os.get(this).options;Os.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:te,menuItems:void 0});return}const E=If(this);Os.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:E,menuItems:void 0})}hasFocus(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.hasFocus())!=null?b:!1}focus(){var y;(y=this._mathfield)==null||y.focus()}blur(){var y;(y=this._mathfield)==null||y.blur()}select(){var y;(y=this._mathfield)==null||y.select()}insert(y,b){var E,te;return(te=(E=this._mathfield)==null?void 0:E.insert(y,b))!=null?te:!1}applyStyle(y,b){var E;return(E=this._mathfield)==null?void 0:E.applyStyle(y,b)}queryStyle(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.queryStyle(y))!=null?E:"none"}get caretPoint(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.getCaretPoint())!=null?b:null}set caretPoint(y){var b;y&&((b=this._mathfield)==null||b.setCaretPoint(y.x,y.y))}setCaretPoint(y,b){var E,te;return(te=(E=this._mathfield)==null?void 0:E.setCaretPoint(y,b))!=null?te:!1}offsetFromPoint(y,b,E){return this._mathfield?Cf(this._mathfield,y,b,E):-1}hitboxFromOffset(y){if(!this._mathfield)return null;const b=this._mathfield.model.at(y);if(!b)return null;const E=Pc(this._mathfield,b);return E?new DOMRect(E.left,E.top,E.right-E.left,E.bottom-E.top):null}resetUndo(){var y;(y=this._mathfield)==null||y.resetUndo()}canUndo(){return this._mathfield?this._mathfield.canUndo():!1}canRedo(){return this._mathfield?this._mathfield.canRedo():!1}handleEvent(y){var b,E,te,ie;Hc.state==="closed"&&((E=(b=this._mathfield)==null?void 0:b.menu)==null?void 0:E.state)==="closed"&&(y.type==="pointerdown"&&this.onPointerDown(),y.type==="focus"&&((te=this._mathfield)==null||te.focus()),y.type==="blur"&&((ie=this._mathfield)==null||ie.blur()))}connectedCallback(){var y,b,E,te;const ie=window.getComputedStyle(this),le=this.shadowRoot,Me=ie.userSelect!=="none";if(Me)le.host.addEventListener("pointerdown",this,!0);else{const lt=le.querySelector("span");lt.style.pointerEvents="none"}le.host.addEventListener("focus",this,!0),le.host.addEventListener("blur",this,!0),nf()||(this.hasAttribute("role")||this.setAttribute("role","math"),this.hasAttribute("aria-label")||this.setAttribute("aria-label","math input field"),this.setAttribute("aria-multiline","false")),Me&&!this.hasAttribute("contenteditable")&&this.setAttribute("contenteditable","true"),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0");const Fe=le.querySelector("slot:not([name])");if(Fe)try{this._style=Fe.assignedElements().filter(lt=>lt.tagName.toLowerCase()==="style").map(lt=>lt.textContent).join("")}catch(lt){console.error(lt)}if(this._style){const lt=document.createElement("style");lt.textContent=this._style,le.appendChild(lt)}let Ve="";if(this.hasAttribute("value")?Ve=this.getAttribute("value"):Ve=(y=Fe==null?void 0:Fe.assignedNodes().map(lt=>lt.nodeType===3?lt.textContent:"").join("").trim())!=null?y:"",this._mathfield=new by(le.querySelector(":host > span"),me(Se({},(E=(b=Os.get(this))==null?void 0:b.options)!=null?E:If(this)),{eventSink:this,value:Ve})),!Os.has(this)){this.upgradeProperty("disabled"),this.upgradeProperty("readonly");for(const lt of Object.keys(Rd.optionsAttributes))this.upgradeProperty(id(lt))}if(!((te=this._mathfield)!=null&&te.model)){this._mathfield=null;return}if(Os.has(this)){const lt=this._mathfield,zt=Os.get(this),xn=zt.menuItems;lt.model.deferNotifications({content:!1,selection:!1},()=>{const tr=zt.value;tr!==void 0&<.setValue(tr),lt.model.selection=zt.selection,Os.delete(this)}),xn&&(this.menuItems=xn)}window.queueMicrotask(()=>{this.isConnected&&this.dispatchEvent(new Event("mount",{cancelable:!1,bubbles:!0,composed:!0}))}),Zf()}disconnectedCallback(){var y,b;if(this.shadowRoot.host.removeEventListener("pointerdown",this,!0),!this._mathfield)return;window.queueMicrotask(()=>this.dispatchEvent(new Event("unmount",{cancelable:!1,bubbles:!0,composed:!0})));const E=kd(this._mathfield.options,Object.keys(Rd.optionsAttributes).map(te=>id(te)));Os.set(this,{value:this._mathfield.getValue(),selection:this._mathfield.model.selection,menuItems:(b=(y=this._mathfield.menu)==null?void 0:y.menuItems)!=null?b:void 0,options:E}),this._mathfield.dispose(),this._mathfield=null}upgradeProperty(y){if(this.hasOwnProperty(y)){const b=this[y];delete this[y],(y==="readonly"||y==="read-only")&&(y="readOnly"),this[y]=b}}attributeChangedCallback(y,b,E){if(b===E)return;const te=E!==null;switch(y){case"contenteditable":Eu(this._mathfield);break;case"disabled":this.disabled=te;break;case"read-only":case"readonly":this.readOnly=te;break;default:}}get readonly(){return this.hasAttribute("readonly")||this.hasAttribute("read-only")}set readonly(y){const b=!!y;b?(this.setAttribute("readonly",""),nf()?this._internals.ariaReadOnly="true":this.setAttribute("aria-readonly","true"),this.setAttribute("aria-readonly","true")):(nf()?this._internals.ariaReadOnly="false":this.removeAttribute("aria-readonly"),this.removeAttribute("readonly"),this.removeAttribute("read-only")),this._setOptions({readOnly:b})}get disabled(){return this.hasAttribute("disabled")}set disabled(y){var b;const E=!!y;E?this.setAttribute("disabled",""):this.removeAttribute("disabled"),nf()?this._internals.ariaDisabled=E?"true":"false":this.setAttribute("aria-disabled",E?"true":"false"),E&&((b=this._mathfield)!=null&&b.hasFocus)&&window.mathVirtualKeyboard.visible&&this._mathfield.executeCommand("hideVirtualKeyboard")}get value(){return this.getValue()}set value(y){this.setValue(y)}get defaultMode(){return this._getOption("defaultMode")}set defaultMode(y){this._setOptions({defaultMode:y})}get macros(){return this._getOption("macros")}set macros(y){this._setOptions({macros:y})}get registers(){const y=this;return new Proxy({},{get:(b,E)=>{if(typeof E=="string")return y._getOption("registers")[E]},set(b,E,te){return typeof E!="string"?!1:(y._setOptions({registers:me(Se({},y._getOption("registers")),{[E]:te})}),!0)}})}set registers(y){this._setOptions({registers:y})}get colorMap(){return this._getOption("colorMap")}set colorMap(y){this._setOptions({colorMap:y})}get backgroundColorMap(){return this._getOption("backgroundColorMap")}set backgroundColorMap(y){this._setOptions({backgroundColorMap:y})}get letterShapeStyle(){return this._getOption("letterShapeStyle")}set letterShapeStyle(y){this._setOptions({letterShapeStyle:y})}get minFontScale(){return this._getOption("minFontScale")}set minFontScale(y){this._setOptions({minFontScale:y})}get smartMode(){return this._getOption("smartMode")}set smartMode(y){this._setOptions({smartMode:y})}get smartFence(){return this._getOption("smartFence")}set smartFence(y){this._setOptions({smartFence:y})}get smartSuperscript(){return this._getOption("smartSuperscript")}set smartSuperscript(y){this._setOptions({smartSuperscript:y})}get scriptDepth(){return this._getOption("scriptDepth")}set scriptDepth(y){this._setOptions({scriptDepth:y})}get removeExtraneousParentheses(){return this._getOption("removeExtraneousParentheses")}set removeExtraneousParentheses(y){this._setOptions({removeExtraneousParentheses:y})}get mathModeSpace(){return this._getOption("mathModeSpace")}set mathModeSpace(y){this._setOptions({mathModeSpace:y})}get placeholderSymbol(){return this._getOption("placeholderSymbol")}set placeholderSymbol(y){this._setOptions({placeholderSymbol:y})}get popoverPolicy(){return this._getOption("popoverPolicy")}set popoverPolicy(y){this._setOptions({popoverPolicy:y})}get environmentPopoverPolicy(){return this._getOption("environmentPopoverPolicy")}set environmentPopoverPolicy(y){this._setOptions({environmentPopoverPolicy:y})}get menuItems(){var y,b,E;return this._mathfield?(y=this._mathfield.menu._menuItems.map(te=>te.menuItem))!=null?y:[]:(E=(b=Os.get(this))==null?void 0:b.menuItems)!=null?E:[]}set menuItems(y){var b;if(this._mathfield){const E=(b=this._mathfield.element)==null?void 0:b.querySelector("[part=menu-toggle]");E&&(E.style.display=y.length===0?"none":""),this._mathfield.menu.menuItems=y}Os.has(this)?Os.set(this,me(Se({},Os.get(this)),{menuItems:y})):Os.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:If(this),menuItems:y})}get mathVirtualKeyboardPolicy(){return this._getOption("mathVirtualKeyboardPolicy")}set mathVirtualKeyboardPolicy(y){this._setOptions({mathVirtualKeyboardPolicy:y})}get inlineShortcuts(){return this._getOption("inlineShortcuts")}set inlineShortcuts(y){this._setOptions({inlineShortcuts:y})}get inlineShortcutTimeout(){return this._getOption("inlineShortcutTimeout")}set inlineShortcutTimeout(y){this._setOptions({inlineShortcutTimeout:y})}get keybindings(){return this._getOption("keybindings")}set keybindings(y){this._setOptions({keybindings:y})}get onInlineShortcut(){return this._getOption("onInlineShortcut")}set onInlineShortcut(y){this._setOptions({onInlineShortcut:y})}get onScrollIntoView(){return this._getOption("onScrollIntoView")}set onScrollIntoView(y){this._setOptions({onScrollIntoView:y})}get onExport(){return this._getOption("onExport")}set onExport(y){this._setOptions({onExport:y})}get readOnly(){return this._getOption("readOnly")}set readOnly(y){this._setOptions({readOnly:y})}get isSelectionEditable(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.isSelectionEditable)!=null?b:!1}setPromptState(y,b,E){var te;(te=this._mathfield)==null||te.setPromptState(y,b,E)}getPromptState(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPromptState(y))!=null?E:[void 0,!0]}get virtualKeyboardTargetOrigin(){return this._getOption("virtualKeyboardTargetOrigin")}set virtualKeyboardTargetOrigin(y){this._setOptions({virtualKeyboardTargetOrigin:y})}get selection(){return this._mathfield?this._mathfield.model.selection:Os.has(this)?Os.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,Eu(this._mathfield);return}if(Os.has(this)){Os.set(this,me(Se({},Os.get(this)),{selection:y}));return}Os.set(this,{value:void 0,selection:y,options:If(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:Os.has(this)?Os.get(this).selection.ranges[0][0]:0}set position(y){if(this._mathfield&&(this._mathfield.model.position=y,Eu(this._mathfield)),Os.has(this)){Os.set(this,me(Se({},Os.get(this)),{selection:{ranges:[[y,y]]}}));return}Os.set(this,{value:void 0,selection:{ranges:[[y,y]]},options:If(this),menuItems:void 0})}getOffsetDepth(y){var b,E;return this._mathfield?((E=(b=this._mathfield.model.at(y))==null?void 0:b.treeDepth)!=null?E:2)-2:0}get lastOffset(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.lastOffset)!=null?b:-1}};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=cy,Yu.readAloudHook=xy,Yu._decimalSeparator=".",Yu.fractionNavigationOrder="numerator-denominator",Yu._isFunction=a=>{var y,b;const E=window.MathfieldElement.computeEngine;return(b=(y=E==null?void 0:E.parse(a).domain)==null?void 0:y.isFunction)!=null?b:!1};var Nf=Yu;function id(a){return a.replace(/[^a-zA-Z\d]+(.)/g,(y,b)=>b.toUpperCase())}function If(a){const y={readOnly:!1},b=Nf.optionsAttributes;return Object.keys(b).forEach(E=>{if(a.hasAttribute(E)){const te=a.getAttribute(E);E==="placeholder"?y.contentPlaceholder=te!=null?te:"":b[E]==="boolean"?y[id(E)]=!0:b[E]==="on/off"?te==="on"?y[id(E)]=!0:te==="off"?y[id(E)]=!1:y[id(E)]=void 0:b[E]==="number"?y[id(E)]=Number.parseFloat(te!=null?te:"0"):y[id(E)]=te}}),y}function nf(){return!(!("ElementInternals"in window)||!HTMLElement.prototype.attachInternals||!("role"in window.ElementInternals.prototype))}var wp=Nf,Sp,Cp,Ep,Ap;if(mt()&&!((Sp=window.customElements)!=null&&Sp.get("math-field"))){(Ep=window[Cp=Symbol.for("io.cortexjs.mathlive")])!=null||(window[Cp]={});const a=window[Symbol.for("io.cortexjs.mathlive")];a.version="0.98.5",window.MathfieldElement=Nf,(Ap=window.customElements)==null||Ap.define("math-field",Nf)}function Sy(a,y,b){let E=b,te=0;const ie=a.length;for(;E<y.length;){const le=y[E];if(te<=0&&y.slice(E,E+ie)===a)return E;le==="\\"?E++:le==="{"?te++:le==="}"&&te--,E++}return-1}function dh(a,y,b,E,te="latex"){const ie=[];for(const le of a)if(le.type==="text"){const Me=le.data;let Fe=!0,Ve=0,lt;lt=Me.indexOf(y),lt!==-1&&(Ve=lt,Ve>0&&ie.push({type:"text",data:Me.slice(0,Ve)}),Fe=!1);let zt=!1;for(;!zt;){if(Fe){if(lt=Me.indexOf(y,Ve),lt===-1){zt=!0;break}Ve!==lt&&ie.push({type:"text",data:Me.slice(Ve,lt)}),Ve=lt}else{if(lt=Sy(b,Me,Ve+y.length),lt===-1){zt=!0;break}let xn=Me.slice(Ve+y.length,lt);te==="ascii-math"&&([,xn]=Rs(xn,{format:"ascii-math"})),ie.push({type:"math",data:xn,rawData:Me.slice(Ve,lt+b.length),mathstyle:E}),Ve=lt+b.length}Fe=!Fe}Ve<Me.length&&ie.push({type:"text",data:Me.slice(Ve)})}else ie.push(le);return ie}function Mp(a,y,b){let E=[{type:"text",data:a}];return y!=null&&y.inline&&y.inline.forEach(([te,ie])=>{E=dh(E,te,ie,"textstyle")}),y!=null&&y.display&&y.display.forEach(([te,ie])=>{E=dh(E,te,ie,"displaystyle")}),b!=null&&b.inline&&b.inline.forEach(([te,ie])=>{E=dh(E,te,ie,"textstyle","ascii-math")}),b!=null&&b.display&&b.display.forEach(([te,ie])=>{E=dh(E,te,ie,"displaystyle","ascii-math")}),E}function Cy(a,y){const b=document.createElement("span");b.setAttribute("translate","no");try{const E="<math xmlns='http://www.w3.org/1998/Math/MathML'>"+y.renderToMathML(a)+"</math>";b.innerHTML=window.MathfieldElement.createHTML(E)}catch(E){console.error(`MathLive 0.98.5: Could not convert "${a}"' to MathML with ${E}`),b.textContent=a}return b.className="ML__sr-only",b}function Ey(a,y,b,E){try{const te=y.renderToMarkup(a,{mathstyle:b,format:"html"}),ie=document.createElement("span");return ie.dataset.latex=a,ie.style.display=b==="displaystyle"?"flex":"inline-flex",ie.setAttribute("aria-hidden","true"),ie.setAttribute("translate","no"),ie.innerHTML=window.MathfieldElement.createHTML(te),ie}catch(te){if(console.error("Could not parse'"+a+"' with ",te),E)return document.createTextNode(a)}return null}function rf(a,y,b,E){var te;const ie=Ey(a,b,y||"textstyle",E),le=(te=b.renderAccessibleContent)!=null?te:"";if(ie&&/\b(mathml|speakable-text)\b/i.test(le)){const Me=document.createElement("span");if(/\bmathml\b/i.test(le)&&b.renderToMathML&&Me.append(Cy(a,b)),/\bspeakable-text\b/i.test(le)&&b.renderToSpeakableText){const Fe=document.createElement("span");Fe.setAttribute("translate","no");const Ve=b.renderToSpeakableText(a);Fe.innerHTML=window.MathfieldElement.createHTML(Ve),Fe.className="ML__sr-only",Me.append(Fe)}return Me.append(ie),Me}return ie}function Ay(a,y){var b,E,te;let ie=null;if((b=y.TeX)!=null&&b.processEnvironments&&/^\s*\\begin/.test(a)){ie=document.createDocumentFragment();const le=rf(a,"",y,!0);le&&ie.appendChild(le)}else{if(!a.trim())return null;const le=Mp(a,(E=y.TeX)==null?void 0:E.delimiters,(te=y.asciiMath)==null?void 0:te.delimiters);if(le.length===1&&le[0].type==="text")return null;ie=document.createDocumentFragment();for(const Me of le)if(Me.type==="text")ie.appendChild(document.createTextNode(Me.data));else{const Fe=rf(Me.data,Me.mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);Fe&&ie.appendChild(Fe)}}return ie}function Dp(a,y){var b,E,te,ie,le,Me,Fe,Ve,lt,zt,xn,tr,pr,Na,qi,Ca;if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const ci=(b=a.childNodes[0].textContent)!=null?b:"";if((E=y.TeX)!=null&&E.processEnvironments&&/^\s*\\begin/.test(ci)){a.textContent="";const bi=rf(ci,"",y,!0);bi&&a.append(bi);return}const ao=Mp(ci,(te=y.TeX)==null?void 0:te.delimiters,(ie=y.asciiMath)==null?void 0:ie.delimiters);if(ao.length===1&&ao[0].type==="math"){a.textContent="";const bi=rf(ao[0].data,ao[0].mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);bi&&a.append(bi);return}if(ao.length===1&&ao[0].type==="text")return}for(let ci=a.childNodes.length-1;ci>=0;ci--){const ao=a.childNodes[ci];if(ao.nodeType===3){const bi=Ay((le=ao.textContent)!=null?le:"",y);bi&&(ci+=bi.childNodes.length-1,ao.replaceWith(bi))}else if(ao.nodeType===1){const bi=ao,al=ao.nodeName.toLowerCase();if(al==="script"){const Ll=ao;let Cl;if((Me=y.processScriptTypePattern)!=null&&Me.test(Ll.type))Cl=(Fe=Ll.textContent)!=null?Fe:"";else if((Ve=y.processMathJSONScriptTypePattern)!=null&&Ve.test(Ll.type))try{Cl=(zt=y.serializeToLatex)==null?void 0:zt.call(y,JSON.parse((lt=Ll.textContent)!=null?lt:""))}catch(Ns){console.error(Ns)}if(Cl){let Ns="textstyle";for(const vo of Ll.type.split(";")){const[bc,Uc]=vo.toLowerCase().split("=");bc.trim()==="mode"&&(Ns=Uc.trim()==="display"?"displaystyle":"textstyle")}const Qs=rf(Cl,Ns,y,!0);Qs&&Ll.parentNode.replaceChild(Qs,Ll)}}else if(((tr=(xn=y.processClassPattern)==null?void 0:xn.test(bi.className))!=null?tr:!1)||!((Na=(pr=y.skipTags)==null?void 0:pr.includes(al))!=null&&Na||(Ca=(qi=y.ignoreClassPattern)==null?void 0:qi.test(bi.className))!=null&&Ca))if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const Cl=a.textContent;a.textContent="";const Ns=rf(Cl!=null?Cl:"","displaystyle",y,!0);Ns&&a.append(Ns)}else Dp(bi,y)}}}var My={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 Dy(a,y){var b,E,te,ie;try{const le=Se(Se({},My),y);le.ignoreClassPattern=new RegExp((b=le.ignoreClass)!=null?b:""),le.processClassPattern=new RegExp((E=le.processClass)!=null?E:""),le.processScriptTypePattern=new RegExp((te=le.processScriptType)!=null?te:""),le.processMathJSONScriptTypePattern=new RegExp((ie=le.processMathJSONScriptType)!=null?ie:""),Zf(),hc("core"),Dp(a,le)}catch(le){le instanceof Error?console.error("renderMathInElement(): "+le.message):console.error("renderMathInElement(): Could not render math for element",a)}}function ky(a,y){const b=md.singleton;return b?(b.show(),yf(),b.currentLayer=y,b.render(),b.focus(),!0):!1}function Ny(){const a=window.mathVirtualKeyboard;return a.visible?a.hide({animate:!0}):a.show({animate:!0}),!1}pc({switchKeyboardLayer:ky,toggleVirtualKeyboard:Ny,hideVirtualKeyboard:()=>(window.mathVirtualKeyboard.hide({animate:!0}),!1),showVirtualKeyboard:()=>(window.mathVirtualKeyboard.show({animate:!0}),!1)},{target:"virtual-keyboard"});function yd(){var a,y;return(y=globalThis[a=Symbol.for("io.cortexjs.mathlive")])!=null||(globalThis[a]={}),globalThis[Symbol.for("io.cortexjs.mathlive")]}function Hy(){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 Zy(a){Py(document.body,a)}function Iy(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 Py(a,y){var b,E,te,ie;const le=Iy(a);if(!le)return;const Me=y!=null?y:{};(b=Me.renderToMarkup)!=null||(Me.renderToMarkup=_u),(E=Me.renderToMathML)!=null||(Me.renderToMathML=_g),(te=Me.renderToSpeakableText)!=null||(Me.renderToSpeakableText=Vg),(ie=Me.serializeToLatex)!=null||(Me.serializeToLatex=jg),Dy(le,Me)}var Wy={mathlive:"0.98.5"}},17423:function(Hn,ln,ee){"use strict";ee.d(ln,{Z:function(){return Se}});const ne=me=>typeof me=="object"&&me!=null&&me.nodeType===1,fe=(me,Pe)=>(!Pe||me!=="hidden")&&me!=="visible"&&me!=="clip",De=(me,Pe)=>{if(me.clientHeight<me.scrollHeight||me.clientWidth<me.scrollWidth){const rt=getComputedStyle(me,null);return fe(rt.overflowY,Pe)||fe(rt.overflowX,Pe)||(ue=>{const Ue=(mt=>{if(!mt.ownerDocument||!mt.ownerDocument.defaultView)return null;try{return mt.ownerDocument.defaultView.frameElement}catch(ot){return null}})(ue);return!!Ue&&(Ue.clientHeight<ue.scrollHeight||Ue.clientWidth<ue.scrollWidth)})(me)}return!1},qe=(me,Pe,rt,ue,Ue,mt,ot,vt)=>mt<me&&ot>Pe||mt>me&&ot<Pe?0:mt<=me&&vt<=rt||ot>=Pe&&vt>=rt?mt-me-ue:ot>Pe&&vt<rt||mt<me&&vt>rt?ot-Pe+Ue:0,we=me=>{const Pe=me.parentElement;return Pe==null?me.getRootNode().host||null:Pe},ke=(me,Pe)=>{var rt,ue,Ue,mt;if(typeof document=="undefined")return[];const{scrollMode:ot,block:vt,inline:Ee,boundary:wt,skipOverflowHiddenElements:Tt}=Pe,$e=typeof wt=="function"?wt:jt=>jt!==wt;if(!ne(me))throw new TypeError("Invalid target");const ut=document.scrollingElement||document.documentElement,ye=[];let ce=me;for(;ne(ce)&&$e(ce);){if(ce=we(ce),ce===ut){ye.push(ce);break}ce!=null&&ce===document.body&&De(ce)&&!De(document.documentElement)||ce!=null&&De(ce,Tt)&&ye.push(ce)}const Xe=(ue=(rt=window.visualViewport)==null?void 0:rt.width)!=null?ue:innerWidth,et=(mt=(Ue=window.visualViewport)==null?void 0:Ue.height)!=null?mt:innerHeight,{scrollX:st,scrollY:ft}=window,{height:Re,width:Be,top:gt,right:ze,bottom:ct,left:nt}=me.getBoundingClientRect(),{top:Ot,right:Rt,bottom:an,left:ht}=(jt=>{const Mt=window.getComputedStyle(jt);return{top:parseFloat(Mt.scrollMarginTop)||0,right:parseFloat(Mt.scrollMarginRight)||0,bottom:parseFloat(Mt.scrollMarginBottom)||0,left:parseFloat(Mt.scrollMarginLeft)||0}})(me);let Ne=vt==="start"||vt==="nearest"?gt-Ot:vt==="end"?ct+an:gt+Re/2-Ot+an,At=Ee==="center"?nt+Be/2-ht+Rt:Ee==="end"?ze+Rt:nt-ht;const An=[];for(let jt=0;jt<ye.length;jt++){const Mt=ye[jt],{height:Kt,width:sn,top:wn,right:vn,bottom:cn,left:Nn}=Mt.getBoundingClientRect();if(ot==="if-needed"&>>=0&&nt>=0&&ct<=et&&ze<=Xe&>>=wn&&ct<=cn&&nt>=Nn&&ze<=vn)return An;const dr=getComputedStyle(Mt),En=parseInt(dr.borderLeftWidth,10),Ge=parseInt(dr.borderTopWidth,10),ve=parseInt(dr.borderRightWidth,10),he=parseInt(dr.borderBottomWidth,10);let be=0,ge=0;const se="offsetWidth"in Mt?Mt.offsetWidth-Mt.clientWidth-En-ve:0,Ye="offsetHeight"in Mt?Mt.offsetHeight-Mt.clientHeight-Ge-he:0,xt="offsetWidth"in Mt?Mt.offsetWidth===0?0:sn/Mt.offsetWidth:0,pn="offsetHeight"in Mt?Mt.offsetHeight===0?0:Kt/Mt.offsetHeight:0;if(ut===Mt)be=vt==="start"?Ne:vt==="end"?Ne-et:vt==="nearest"?qe(ft,ft+et,et,Ge,he,ft+Ne,ft+Ne+Re,Re):Ne-et/2,ge=Ee==="start"?At:Ee==="center"?At-Xe/2:Ee==="end"?At-Xe:qe(st,st+Xe,Xe,En,ve,st+At,st+At+Be,Be),be=Math.max(0,be+ft),ge=Math.max(0,ge+st);else{be=vt==="start"?Ne-wn-Ge:vt==="end"?Ne-cn+he+Ye:vt==="nearest"?qe(wn,cn,Kt,Ge,he+Ye,Ne,Ne+Re,Re):Ne-(wn+Kt/2)+Ye/2,ge=Ee==="start"?At-Nn-En:Ee==="center"?At-(Nn+sn/2)+se/2:Ee==="end"?At-vn+ve+se:qe(Nn,vn,sn,En,ve+se,At,At+Be,Be);const{scrollLeft:on,scrollTop:In}=Mt;be=pn===0?0:Math.max(0,Math.min(In+be/pn,Mt.scrollHeight-Kt/pn+Ye)),ge=xt===0?0:Math.max(0,Math.min(on+ge/xt,Mt.scrollWidth-sn/xt+se)),Ne+=In-be,At+=on-ge}An.push({el:Mt,top:be,left:ge})}return An},de=me=>me===!1?{block:"end",inline:"nearest"}:(Pe=>Pe===Object(Pe)&&Object.keys(Pe).length!==0)(me)?me:{block:"start",inline:"nearest"};function Se(me,Pe){if(!me.isConnected||!(Ue=>{let mt=Ue;for(;mt&&mt.parentNode;){if(mt.parentNode===document)return!0;mt=mt.parentNode instanceof ShadowRoot?mt.parentNode.host:mt.parentNode}return!1})(me))return;const rt=(Ue=>{const mt=window.getComputedStyle(Ue);return{top:parseFloat(mt.scrollMarginTop)||0,right:parseFloat(mt.scrollMarginRight)||0,bottom:parseFloat(mt.scrollMarginBottom)||0,left:parseFloat(mt.scrollMarginLeft)||0}})(me);if((Ue=>typeof Ue=="object"&&typeof Ue.behavior=="function")(Pe))return Pe.behavior(ke(me,Pe));const ue=typeof Pe=="boolean"||Pe==null?void 0:Pe.behavior;for(const{el:Ue,top:mt,left:ot}of ke(me,de(Pe))){const vt=mt-rt.top+rt.bottom,Ee=ot-rt.left+rt.right;Ue.scroll({top:vt,left:Ee,behavior:ue})}}}}]);
|
|
|
}()); |