You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/7977.2e086083.async.js

3595 lines
2.8 MiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

!(function(){var jc=Math.pow;var pu=(tn,Kt,ve)=>new Promise((Oe,$e)=>{var x=ie=>{try{me(ve.next(ie))}catch(te){$e(te)}},Te=ie=>{try{me(ve.throw(ie))}catch(te){$e(te)}},me=ie=>ie.done?Oe(ie.value):Promise.resolve(ie.value).then(x,Te);me((ve=ve.apply(tn,Kt)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[7977],{18299:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},84249:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},42922:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},90674:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},25877:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},55304:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},63237:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},99569:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},73148:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},56747:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},50881:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},22751:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},34182:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},38308:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},74664:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},17663:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},91034:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},72395:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},53978:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return te}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(ne,oe){return $e.createElement(me.Z,(0,Oe.Z)({},ne,{ref:oe,icon:Te}))},te=$e.forwardRef(ie)},71749:function(){"use strict"},30483:function(){"use strict"},71736:function(tn,Kt){"use strict";Kt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},52654:function(tn,Kt){"use strict";Kt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},12867:function(){"use strict"},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 tn={},Kt="5.0",ve={},Oe=null,$e=!1,x=!1,Te=null,me=!1,ie=null,te=null,ae=0;ae<arguments.length;ae++){var ne=arguments[ae];if(ne!==null)switch(typeof ne){case"number":Kt=ne.toFixed(1);break;case"string":ne.match(new RegExp("^[0-9]\\.[0-9]+$"))?Kt=ne:Te=ne;break;case"object":typeof ne.is3D!="undefined"?Oe=ne:ve=ne;break;case"boolean":$e=ne,x=!0;break}}Oe===null&&(Oe={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ve.material_id!==void 0&&!x&&($e=!0)),Te!==null&&ve.id===void 0&&(ve.id=Te);var oe="",he="",re=!1,se=null,ce=null,fe=null,pe=!1,le=null,Se=null,xe=null,ge=null,Me=null;ve.height!==void 0&&(ve.height=Math.round(ve.height)),ve.width!==void 0&&(ve.width=Math.round(ve.width));var ye=function(nt){return parseFloat(nt)>4?parseFloat(nt):5};tn.setHTML5Codebase=function(nt,rt){te=nt,lt(nt,rt)},tn.setJavaCodebase=tn.setJavaCodebaseVersion=tn.isCompiledInstalled=tn.setPreCompiledScriptPath=tn.setPreCompiledResourcePath=function(){},tn.setHTML5CodebaseVersion=function(nt,rt){var it=parseFloat(nt);if(it!==NaN&&it<5){console.log("The GeoGebra HTML5 codebase version "+it+" is deprecated. Using version latest instead.");return}ie=nt,Ge(nt,rt)},tn.getHTML5CodebaseVersion=function(){return ce},tn.getParameters=function(){return ve},tn.setFontsCSSURL=function(nt){ge=nt},tn.setGiacJSURL=function(nt){},tn.setJNLPFile=function(nt){oe=nt},tn.setJNLPBaseDir=function(nt){},tn.inject=function(){function nt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var rt="auto",it=ve.id,gt,vt=!1,At=0;At<arguments.length;At++){var Et=arguments[At];typeof Et=="string"?(Et=Et.toLowerCase(),Et.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?rt=Et:it=arguments[At]):typeof Et=="boolean"?vt=Et:Et instanceof HTMLElement&&(gt=Et)}ut();function ut(){if(!me){setTimeout(ut,200);return}rt=pt(rt);var Ye=gt||document.getElementById(it);if(!Ye){console.log("possibly bug on ajax loading? ");return}if(tn.removeExistingApplet(Ye,!1),ve.width===void 0&&Ye.clientWidth&&(ve.width=Ye.clientWidth),ve.height===void 0&&Ye.clientHeight&&(ve.height=Ye.clientHeight),!(ve.width&&ve.height)&&rt==="html5"&&(delete ve.width,delete ve.height),se=rt,rt==="screenshot")_e(Ye,ve);else{var Ve=!1;ve.hasOwnProperty("playButton")&&ve.playButton||ve.hasOwnProperty("clickToLoad")&&ve.clickToLoad?Ve=!0:ve.hasOwnProperty("playButtonAutoDecide")&&ve.playButtonAutoDecide&&(Ve=(!be()||nt())&&Fe()),Ve?(se="screenshot",Ze(Ye,ve,vt,rt)):Ue(Ye,ve,vt)}}};function be(){try{return window.self!==window.top}catch(nt){return!0}}function Fe(){return ve.hasOwnProperty("screenshotGenerator")&&ve.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}tn.getViews=function(){return Oe},tn.isJavaInstalled=function(){return!1};var ke=function(nt){var rt=function(At){var Et=JSON.parse(At),ut=function(de){return de.type=="G"||de.type=="E"},Ye=Et.elements?Et.elements.filter(ut)[0]:Et;if(!Ye||!Ye.url){it();return}ve.fileName=Ye.url,Ie(Ye.settings||{}),Oe.is3D=!0;var Ve="https://www.geogebra.org/images/";tn.setPreviewImage(le||Ye.previewUrl,Ve+"GeoGebra_loading.png",Ve+"applet_play.png"),nt()},it=function(){ve.onError&&ve.onError(),dt("Error: Fetching material (id "+ve.material_id+") failed.",ve)},gt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",vt="/materials/"+ve.material_id+"?scope=basic";Le("https://"+gt+"/api/proxy.php?path="+encodeURIComponent(vt),rt,it)};function Ie(nt){var rt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(it){nt[it]=!!nt[it]}),rt.forEach(function(it){ve[it]===void 0&&nt[it]!==void 0&&(ve[it]=nt[it])}),ve.showToolBarHelp===void 0&&(ve.showToolBarHelp=ve.showToolBar)}function Le(nt,rt,it){var gt=new XMLHttpRequest;gt.open("GET",nt),gt.onload=function(){rt(gt.responseText)},gt.onerror=it,gt.send()}tn.isHTML5Installed=function(){return!0},tn.getLoadedAppletType=function(){return se},tn.setPreviewImage=function(nt,rt,it){le=nt,Se=rt,xe=it},tn.removeExistingApplet=function(nt,rt){var it;typeof nt=="string"&&(nt=document.getElementById(nt)),se=null;var gt=null;for(it=0;it<nt.childNodes.length;it++){var vt=nt.childNodes[it],At=vt.className;At==="applet_screenshot"?rt?(vt.style.display="block",se="screenshot"):vt.style.display="none":At!=="applet_scaler prerender"&&(nt.removeChild(vt),gt=At&&At.indexOf("appletParameters")!=-1?vt.id:null,it--)}var Et=ve.id!==void 0?ve.id:gt,ut=window[Et];ut&&typeof ut.getBase64=="function"&&(ut.remove(),window[Et]=null)},tn.refreshHitPoints=function(){if(ye(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var nt=tn.getAppletObject();return nt&&typeof nt.recalculateEnvironments=="function"?(nt.recalculateEnvironments(),!0):!1},tn.startAnimation=function(){var nt=tn.getAppletObject();return nt&&typeof nt.startAnimation=="function"?(nt.startAnimation(),!0):!1},tn.stopAnimation=function(){var nt=tn.getAppletObject();return nt&&typeof nt.stopAnimation=="function"?(nt.stopAnimation(),!0):!1},tn.getAppletObject=function(){var nt=ve.id!==void 0?ve.id:"ggbApplet";return window[nt]},tn.resize=function(){};var De=function(nt,rt,it){var gt=document.createElement("param");gt.setAttribute("name",rt),gt.setAttribute("value",it),nt.appendChild(gt)},Be=function(nt){return nt&&nt!=="false"},Ue=function(nt,rt,it){ye(ce)<=4.2&&(it=!0);var gt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ce||ggbHTML5LoadedCodebaseIsWebSimple&&!pe)&&(gt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var vt=document.createElement("div");vt.classList.add("appletParameters","notranslate");var At=rt.width,Et=rt.height;if(rt.disableAutoScale=rt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():rt.disableAutoScale,rt.width!==void 0)if(ye(ce)<=4.4)Be(rt.showToolBar)&&(rt.height-=7),Be(rt.showAlgebraInput)&&(rt.height-=37),rt.width<605&&Be(rt.showToolBar)&&(rt.width=605,At=605);else{var ut=100;(Be(rt.showToolBar)||Be(rt.showMenuBar))&&(rt.hasOwnProperty("customToolBar")&&(rt.customToolbar=rt.customToolBar),ut=Be(rt.showMenuBar)?245:155),At<ut&&(rt.width=ut,At=ut)}vt.style.border="none",vt.style.display="inline-block";for(var Ye in rt)rt.hasOwnProperty(Ye)&&Ye!=="appletOnLoad"&&vt.setAttribute("data-param-"+Ye,rt[Ye]);ge&&vt.setAttribute("data-param-fontscssurl",ge),tn.resize=function(){GGBAppletUtils.responsiveResize(nt,rt)},window.addEventListener("resize",function(xt){tn.resize()});var Ve=typeof rt.appletOnLoad=="function"?rt.appletOnLoad:function(){};if(!it&&rt.width!==void 0){rt.hasOwnProperty("showSplash")||vt.setAttribute("data-param-showSplash","false");var de=nt.querySelector(".applet_scaler.prerender"),Ce=de!==null;if(Ce)var He=de.querySelector(".ggb_preview");else{var He=at(At,Et,rt.borderColor,!1);de=document.createElement("div"),de.className="applet_scaler",de.style.position="relative",de.style.display="block",de.style.width=At+"px",de.style.height=Et+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(de,"66%"),ye(ce)>=5?(rt.appletOnLoad=function(xt){var Wt=nt.querySelector(".ggb_preview");Wt&&Wt.parentNode.removeChild(Wt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(de),window.GGBT_wsf_view&&$(window).trigger("resize"),Ve(xt)},Ce||de.appendChild(He)):vt.appendChild(He),de.appendChild(vt),Ce||nt.appendChild(de),setTimeout(function(){tn.resize()},1)}else{var je=document.createElement("div");je.className="applet_scaler",je.style.position="relative",je.style.display="block",je.appendChild(vt),nt.appendChild(je),rt.appletOnLoad=function(xt){tn.resize(),Ve(xt)}}function Ae(xt,Wt){Wt&&typeof Wt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(xt,Wt.appletOnLoad):renderGGBElement(xt),dt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Wt)}function Re(xt,Wt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:xt,params:Wt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(bn){Ae(bn.article,bn.params)}),html5AppletsToProcess=null)},ye(ce)<5&&(xt.className+=" geogebraweb")):Ae(xt,Wt)}if(gt){scriptLoadStarted=!0;for(var ze=0;ze<vt.childNodes.length;ze++){var Qe=vt.childNodes[ze].tagName;Qe==="TABLE"&&(vt.removeChild(vt.childNodes[ze]),ze--)}if(ggbHTML5LoadedScript!==null){var ot=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ot!=null&&ot.parentNode.removeChild(ot)}var mt=document.createElement("script"),Ot=function(){Re(vt,rt)};mt.src=he+fe,ggbHTML5LoadedCodebaseIsWebSimple=pe,ggbHTML5LoadedCodebaseVersion=ce,ggbHTML5LoadedScript=mt.src,dt("GeoGebra HTML5 codebase loaded: '"+he+"'.",rt),!te&&(!ie||ie=="5.0")?(pe?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Ot()):he.requirejs?__webpack_require__.e(12).then(function(){var xt=[__webpack_require__(12)];Ot.apply(null,xt)}.bind(this)).catch(__webpack_require__.oe):(mt.onload=Ot,nt.appendChild(mt))}else Re(vt,rt);rt.height=Et,rt.width=At},_e=function(nt,rt,it){var gt=at(rt.width,rt.height,rt.borderColor,it),vt=document.createElement("div");vt.style.position="relative",vt.style.display="block",vt.style.width=rt.width+"px",vt.style.height=rt.height+"px",vt.className="applet_screenshot applet_scaler"+(it?" applet_screenshot_play":""),vt.appendChild(gt);var At=GGBAppletUtils.getScale(rt,nt,it);it?(nt.appendChild(et()),window.GGBT_wsf_view||(nt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(vt,"66%"),nt.appendChild(vt),At!==1&&!isNaN(At)&&(GGBAppletUtils.scaleElement(vt,At),vt.style.width=rt.width+"px",vt.style.height=rt.height+"px",vt.parentNode.style.width=rt.width*At+"px",vt.parentNode.style.height=rt.height*At+"px"),tn.resize=function(){We(nt,gt,vt,it)},window.addEventListener("resize",function(Et){tn.resize()}),tn.resize()};function We(nt,rt,it,gt){if(nt.contains(rt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(nt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(nt)}var vt=GGBAppletUtils.getScale(ve,nt,gt);it.parentNode!==null&&(!isNaN(vt)&&vt!==1?(GGBAppletUtils.scaleElement(it,vt),it.parentNode.style.width=ve.width*vt+"px",it.parentNode.style.height=ve.height*vt+"px"):(GGBAppletUtils.scaleElement(it,1),it.parentNode.style.width=ve.width+"px",it.parentNode.style.height=ve.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(nt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}tn.onExitFullscreen=function(nt,rt){rt.appendChild(nt)};var Ze=function(nt,rt,it,gt){_e(nt,rt,!0);for(var vt=function(){var ut=[];for(Et=0;Et<nt.childNodes.length;Et++)ut.push(nt.childNodes[Et]);if(window.GGBT_wsf_view){var Ye=window.GGBT_wsf_view.renderFullScreen(nt,rt.id),Ve=document.getElementById("fullscreencontainer"),de=jQuery(nt).find(".fullscreencontent");de.length>0?(Ye.remove(),de.attr("id","fullscreencontent").show(),jQuery(Ve).append(de),window.dispatchEvent(new Event("resize"))):Ue(Ye,rt,!1),window.GGBT_wsf_view.launchFullScreen(Ve)}else se=gt,Ue(nt,rt,!1);if(!window.GGBT_wsf_view)for(Et=0;Et<ut.length;Et++)nt.removeChild(ut[Et])},At=nt.getElementsByClassName("ggb_preview_play"),Et=0;Et<At.length;Et++)At[Et].addEventListener("click",vt,!1),At[Et].addEventListener("ontouchstart",vt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(nt),Fe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},et=function(){var nt=document.createElement("div");if(nt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var rt='.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");}',it=document.createElement("style");it.styleSheet?it.styleSheet.cssText=rt:it.appendChild(document.createTextNode(rt)),document.getElementsByTagName("head")[0].appendChild(it)}return nt},at=function(nt,rt,it,gt){var vt=document.createElement("div");vt.className="ggb_preview",vt.style.position="absolute",vt.style.zIndex="90",vt.style.width=nt-2+"px",vt.style.height=rt-2+"px",vt.style.top="0px",vt.style.left="0px",vt.style.overflow="hidden",vt.style.backgroundColor="white";var At="lightgrey";it!==void 0&&(it==="none"?At="transparent":At=it),vt.style.border="1px solid "+At;var Et=document.createElement("img");if(Et.style.position="relative",Et.style.zIndex="1000",Et.style.top="-1px",Et.style.left="-1px",le!==null&&Et.setAttribute("src",le),Et.style.opacity=.7,Se!==null){var ut,Ye,Ve;if(!gt){ut=document.createElement("img"),ut.style.position="absolute",ut.style.zIndex="1001",ut.style.opacity=1,Et.style.opacity=.3,Ye=360,Ye>nt/4*3&&(Ye=nt/4*3),Ve=Ye/5.8,ut.setAttribute("src",Se),ut.setAttribute("width",Ye),ut.setAttribute("height",Ve);var de=(nt-Ye)/2,Ce=(rt-Ve)/2;ut.style.left=de+"px",ut.style.top=Ce+"px",vt.appendChild(ut)}}return vt.appendChild(Et),vt},pt=function(nt){return nt=nt.toLowerCase(),nt==="html5"||nt==="screenshot"?nt:"html5"},Xe=["web","webSimple","web3d","tablet","tablet3d","phone"],Ge=function(nt,rt){if(ce=nt,rt){lt(ce,!0);return}var it=!$e;if(it){var gt=ye(ce);!isNaN(gt)&&gt<4.4&&(it=!1)}var vt,At;window.location.protocol.substr(0,4)==="http"?vt=window.location.protocol:vt="http:";var Et=ce.indexOf("//");Et>0?At=ce:Et===0?At=vt+ce:At="https://www.geogebra.org/apps/5.2.814.0/";for(var ut in Xe)if(ce.slice(Xe[ut].length*-1)===Xe[ut]||ce.slice((Xe[ut].length+1)*-1)===Xe[ut]+"/"){lt(At,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&it&&!Oe.is3D&&!Oe.AV&&!Oe.SV&&!Oe.CV&&!Oe.EV2&&!Oe.CP&&!Oe.PC&&!Oe.DA&&!Oe.FI&&!Oe.PV&&!Be(ve.showToolBar)&&!Be(ve.showMenuBar)&&!Be(ve.showAlgebraInput)&&!Be(ve.enableRightClick)&&(!ve.appName||ve.appName=="classic")?At+="webSimple/":At+="web3d/",lt(At,!1)},lt=function(nt,rt){if(nt.requirejs){he=nt;return}nt.slice(-1)!=="/"&&(nt+="/"),he=nt,rt===null&&(rt=nt.indexOf("http")===-1),re=rt,fe="web.nocache.js",pe=!1;var it=he.split("/");it.length>1&&(!rt&&it[it.length-2]==="webSimple"?(fe="webSimple.nocache.js",pe=!0):Xe.indexOf(it[it.length-2])>=0&&(fe=it[it.length-2]+".nocache.js")),it=nt.split("/"),ce=it[it.length-3],ce.substr(0,4)==="test"?ce=ce.substr(4,1)+"."+ce.substr(5,1):(ce.substr(0,3)==="war"||ce.substr(0,4)==="beta")&&(ce="5.0");var gt=parseFloat(ce);gt!==NaN&&gt<5&&nt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+gt+" is deprecated. Using version latest instead."),Ge("5.0",rt))},dt=function(nt,rt){window.console&&window.console.log&&(!rt||typeof rt.showLogging=="undefined"||rt.showLogging&&rt.showLogging!=="false")&&console.log(nt)};ve.material_id!==void 0?ke(st):st();function st(){var nt=Kt;ie!==null?nt=ie:parseFloat(nt)<5&&(nt="5.0"),Ge(nt,!1),te!==null&&lt(te,re),me=!0}return tn},GGBAppletUtils=function(){"use strict";function tn(){return window.GGBT_wsf_edit!==void 0}function Kt(me,ie){ie!=1?(me.style.transformOrigin="0% 0% 0px",me.style.webkitTransformOrigin="0% 0% 0px",me.style.transform="scale("+ie+","+ie+")",me.style.webkitTransform="scale("+ie+","+ie+")",me.style.maxWidth="initial",me.querySelector(".ggb_preview")!==null&&(me.querySelector(".ggb_preview").style.maxWidth="initial"),me.querySelectorAll(".ggb_preview img")[0]!==void 0&&(me.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),me.querySelectorAll(".ggb_preview img")[1]!==void 0&&(me.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(me.style.transform="none",me.style.webkitTransform="none")}function ve(me,ie,te,ae,ne,oe){var he=null;if(oe!=null&&oe!="")for(var re=me.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+oe+" ")>-1){he=re;break}else re=re.parentNode;var se=0,ce=0,fe=0,pe=0,le=0,Se=0,xe=0;if(he)se=he.offsetWidth,ce=Math.max(ae?he.offsetWidth:0,he.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(se=Math.min(window.innerWidth,document.documentElement.clientWidth),ce=Math.min(window.innerHeight,document.documentElement.clientHeight),fe=se):(se=window.innerWidth,ce=window.innerHeight,fe=window.innerWidth),me){var ge=me.getBoundingClientRect();ge.left>0&&ge.left<=se&&(ne===void 0||!ne)&&(document.dir==="rtl"?(le=se-ge.width-ge.left,Se=fe<=480?10:30):(Se=ge.left,le=fe<=480?10:30),pe=Se+le)}if(me&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Me=me.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(pe=40,xe=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(pe=0,xe=40)}}return me&&((te===void 0||!te)&&ie>0&&ie+pe<se?se=ie:se-=pe,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(te===void 0||!te)&&(ce-=xe)),{width:se,height:ce}}function Oe(me,ie,te,ae,ne){if(me.isScreenshoGenerator)return 1;var oe=ae!==void 0&&ae,he=me.noScaleMargin!=null&&me.noScaleMargin,re=function(Me){return Me&&Me!=="false"},se=re(me.autoHeight),ce=ve(ie,me.width,te,se,oe&&window.GGBT_wsf_view||he,ne),fe=parseInt(ce.width),pe=me.width,le=me.height;if(pe===void 0){var Se=ie.querySelector(".appletParameters");Se&&(pe=Se.offsetWidth,le=Se.offsetHeight)}var xe=fe/pe,ge=oe?1:ce.height/le;return te!==void 0&&!te&&(xe=Math.min(1,xe),ge=Math.min(1,ge)),Math.min(xe,ge)}function $e(me,ie,te){var ae=1,ne,oe=!1;if(me.hasOwnProperty("allowUpscale")&&(oe=me.allowUpscale),me.hasOwnProperty("scale")&&(ae=parseFloat(me.scale),(isNaN(ae)||ae===null||ae===0)&&(ae=1),ae>1&&(oe=!0)),ie&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(oe=!0),!(me.hasOwnProperty("disableAutoScale")&&me.disableAutoScale))ne=Oe(me,ie,oe,te,me.scaleContainerClass);else return ae;return oe&&(!me.hasOwnProperty("scale")||ae===1)?ne:Math.min(ae,ne)}function x(me){var ie=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),ae=me.getBoundingClientRect(),ne=(ie-ae.width)/2,oe=(te-ae.height)/2;oe<0&&(oe=0),me.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ne<40?me.style.left="40px":me.style.left=ne+"px",me.style.top=oe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(oe<40?me.style.top="40px":me.style.top=oe+"px",me.style.left=ne+"px")}function Te(me,ie){var te=me.querySelector(".appletParameters");if(te){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ie.id!==te.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(me)}if(te.parentElement&&/fullscreen/.test(te.parentElement.className))return;var ae=$e(ie,me);tn()&&te.setAttribute("data-param-scale",ae);for(var ne=null,oe=0;oe<me.childNodes.length;oe++)if(me.childNodes[oe].className!==void 0&&me.childNodes[oe].className.match(/^applet_scaler/)){ne=me.childNodes[oe];break}if(ne!==null&&ne.querySelector(".noscale")!==null)return;var he=ie.id!==void 0?ie.id:"ggbApplet",re=window[he];(re==null||!re.recalculateEnvironments)&&ne!==null&&!ne.className.match(/fullscreen/)&&(ne.parentNode.style.transform="",!isNaN(ae)&&ae!==1?(ne.parentNode.style.width=ie.width*ae+"px",ne.parentNode.style.height=ie.height*ae+"px",Kt(ne,ae)):(Kt(ne,1),ne.parentNode.style.width=ie.width+"px",ne.parentNode.style.height=ie.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&x(me),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(te).parents(".content-added-content"))}}return{responsiveResize:Te,isFlexibleWorksheetEditor:tn,positionCenter:x,getScale:$e,scaleElement:Kt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var tn=n.location.search;return tn.indexOf(J)!=-1||tn.indexOf(K)!=-1}function q(tn,Kt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(tn){var Kt=s[L].bindings;s[L].bindings=function(){for(var ve=Kt?Kt():{},Oe=tn[webModule.__softPermutationId],$e=O;$e<Oe.length;$e++){var x=Oe[$e];ve[x[O]]=x[P]}return ve}};var t;function u(){return v(),t}function v(){if(!t){var tn=o.createElement(Q);if(tn.id=L,tn.style.cssText=R+S,tn.tabIndex=-1,o.body.appendChild(tn),t=tn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Kt=document.compatMode==U?V:W;t.write(Kt+X),t.close()}}}function w(tn){function Kt(Oe){function $e(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var x=$e();if(x){Oe();return}function Te(){if(!x){if(!$e())return;x=!0,Oe(),o.removeEventListener&&o.removeEventListener(Z,Te,!1),me&&clearInterval(me)}}o.addEventListener&&o.addEventListener(Z,Te,!1);var me=setInterval(function(){Te()},$)}function ve(Oe){var $e=u(),x=$e.body,Te=$e.createElement(_);Te.language=ab,Te.crossOrigin=W,Te.src=Oe,webModule.__errFn&&(Te.onerror=function(){webModule.__errFn(L,new Error(bb+Oe))}),x.appendChild(Te)}Kt(function(){ve(tn)})}webModule.__startLoadingFragment=function(tn){return C(tn)},webModule.__installRunAsyncCode=function(tn){var Kt=u(),ve=Kt.body,Oe=Kt.createElement(_);Oe.language=ab,Oe.text=tn,ve.appendChild(Oe),ve.removeChild(Oe)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(tn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(tn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(tn){var Kt=c[tn];return Kt==null?null:Kt},r=d,webModule.__errFn=e}function B(){function tn(me){var ie=me.lastIndexOf(rb);ie==-1&&(ie=me.length);var te=me.indexOf(sb);te==-1&&(te=me.length);var ae=me.lastIndexOf(tb,Math.min(te,ie));return ae>=O?me.substring(O,ae+P):W}function Kt(me){if(!me.match(/^\w+:\/\//)){var ie=o.createElement(ub);ie.src=me+vb,me=tn(ie.src)}return me}function ve(){var me=__gwt_getMetaProperty(wb);return me!=null?me:W}function Oe(){for(var me=o.getElementsByTagName(_),ie=O;ie<me.length;++ie)if(me[ie].src.indexOf(xb)!=-1)return tn(me[ie].src);return W}function $e(){var me=o.getElementsByTagName(yb);return me.length>O?me[me.length-P].href:W}function x(){var me=o.location;return me.href==me.protocol+zb+me.host+me.pathname+me.search+me.hash}var Te=ve();return Te==W&&(Te=Oe()),Te==W&&(Te=$e()),Te==W&&x()&&(Te=tn(o.location.href)),Te=Kt(Te),Te}function C(tn){return tn.match(/^\//)||tn.match(/^[a-zA-Z]+:\/\//)?tn:webModule.__moduleBase+tn}function D(){var tn=[],Kt=O,ve=[],Oe=[];function $e(me){var ie=Oe[me](),te=ve[me];if(ie in te)return ie;var ae=[];for(var ne in te)ae[te[ne]]=ne;throw r&&r(me,ae,ie),null}if(__gwt_isKnownPropertyValue=function(me,ie){return ie in ve[me]},webModule.__getPropMap=function(){var me={};for(var ie in ve)ve.hasOwnProperty(ie)&&(me[ie]=$e(ie));return me},webModule.__computePropValue=$e,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var x;try{x=Cb;var Te=x.indexOf(Db);Te!=-1&&(Kt=parseInt(x.substring(Te+P),$),x=x.substring(O,Te))}catch(me){}return webModule.__softPermutationId=Kt,C(x+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(tn,Kt,ve){"use strict";ve.d(Kt,{Ax:function(){return Te},Ds:function(){return me},KI:function(){return te},SI:function(){return x},f1:function(){return $e}});var Oe=ve(11320);function $e(ae){let ne=!0;if(ae.length>0){for(let oe=0;oe<ae.length;oe++)if(ae[oe].compile_success==0||!ae[oe].compile_success){ne=!1;break}}else ne=!1;return ne}function x(ae,ne=""){let oe=[];for(let he=0;he<ae.length;he++){let re=ae[he],se=ne?`${ne}/${re.name}`:`${re.name}`;oe.push({title:re.name,type:re.type,isLeaf:re.type!=="tree",key:se})}return oe}function Te(ae,ne,oe){for(let he=0;he<ae.length;he++){let re=ae[he];if(re.key===ne){re.children=oe;break}re.children&&Te(re.children,ne,oe)}return ae}function me(ae,ne,oe){let he;return function(){let re=this,se=arguments,ce=function(){he=null,oe||ae.apply(re,se)},fe=oe&&!he;clearTimeout(he),he=setTimeout(ce,ne),fe&&ae.apply(re,se)}}const ie=!0,te=Oe.Z.API_SERVER},63205:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return he}});var Oe=ve(67294),$e={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},x=ve(94184),Te=ve.n(x),me=ve(57953),ie=ve(15979),te=ve(33170),ae=ve(28706),ne=(re,se,ce)=>new Promise((fe,pe)=>{var le=ge=>{try{xe(ce.next(ge))}catch(Me){pe(Me)}},Se=ge=>{try{xe(ce.throw(ge))}catch(Me){pe(Me)}},xe=ge=>ge.done?fe(ge.value):Promise.resolve(ge.value).then(le,Se);xe((ce=ce.apply(re,se)).next())}),he=({data:re,className:se,fullWidth:ce,style:fe={},onClose:pe,onOk:le,showFullTools:Se,noAssociationId:xe})=>{const ge=(0,Oe.useRef)(null),Me=(0,Oe.useRef)(null),ye=(0,Oe.useRef)(null),be=(0,Oe.useRef)(null),[Fe,ke]=(0,Oe.useState)(!1),[Ie,Le]=(0,Oe.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Oe.useEffect)(()=>{ye.current||(ye.current=document.createElement("style"),document.head.appendChild(ye.current)),re!=null&&re.visible?(document.body.setAttribute("data-custom","y-hidden"),ye.current.innerHTML=" html { overflow-y: hidden; }",re!=null&&re.src&&De()):(document.body.removeAttribute("data-custom"),ye.current&&(document.head.removeChild(ye.current),ye.current=null))},[re==null?void 0:re.visible]);const De=()=>ne(void 0,null,function*(){ke(!0),Le("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ze=yield(0,ae.ZJ)(re==null?void 0:re.src);ge.current.src="",ge.current.src=Ze,ge.current.onload=function(){We()},ke(!1),Le("")}),Be=()=>{document.body.removeAttribute("data-custom"),ye.current.innerHTML=" ",pe()},Ue=Ze=>ne(void 0,null,function*(){ke(!0),Le("\u6B63\u5728\u4FDD\u5B58\u4E2D");const et=yield(0,te.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:re.title,file:Ze.dataUrl}});et!=null&&et.id&&!xe?(yield(0,te.ZP)(`/api/attachments/${re.id}/add_subitem.json`,{method:"post",body:{subitem_id:et==null?void 0:et.id,settings:JSON.stringify(Ze.state)}})).status===0&&le():et!=null&&et.id&&le(et),document.body.removeAttribute("data-custom"),ye.current.innerHTML=" ",ke(!1),Le("")}),_e=()=>{const Ze=document.querySelector('a[href="https://markerjs.com/"]');Ze&&Ze.parentNode&&(Ze.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(at=>{const pt=document.querySelector(at.name);pt&&pt.setAttribute("title",at.title)})},We=()=>{Me.current=new ie.hP(ge.current),Me.current.targetRoot=be.current,Me.current.addEventListener("render",Ue),Me.current.addEventListener("beforeclose",Be),Se&&(Me.current.availableMarkerTypes=Me.current.ALL_MARKER_TYPES,Me.current.uiStyleSettings.redoButtonVisible=!0,Me.current.uiStyleSettings.notesButtonVisible=!0,Me.current.uiStyleSettings.zoomButtonVisible=!0,Me.current.uiStyleSettings.zoomOutButtonVisible=!0,Me.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Me.current.uiStyleSettings,Me.current.show(),re!=null&&re.snapshotData&&Me.current.restoreState(re.snapshotData),setTimeout(()=>{window.scrollTo(0,0),_e()},300)};return Oe.createElement(Oe.Fragment,null,(re==null?void 0:re.visible)&&Oe.createElement(me.Z,{spinning:Fe,tip:Ie,style:{position:"absolute"}},Oe.createElement("div",{ref:be,className:Te()($e.imageDimensions,se,ce?$e.fullWidth:""),style:fe},Oe.createElement("img",{className:$e.img,ref:ge}))))}},4069:function(tn,Kt,ve){"use strict";ve.d(Kt,{N:function(){return pe}});var Oe=ve(67294),$e=ve(11713),x=ve(14446),Te=ve(69677),me=ve(2453),ie=ve(71230),te=ve(15746),ae=ve(33170),ne={wrap:"wrap___F7E3F",selectWrapper:"selectWrapper____kESB",tips:"tips___aHjQY",linkBtn:"linkBtn___uggVr",mainText:"mainText____S1I0",public_tips:"public_tips___sZVWd",inputCss:"inputCss___t66EO",bt:"bt___lXptu",add_style:"add_style___knrMF"},oe=ve(94184),he=ve.n(oe),re=ve(55304),se=ve(67294),ce=(le,Se,xe)=>new Promise((ge,Me)=>{var ye=ke=>{try{Fe(xe.next(ke))}catch(Ie){Me(Ie)}},be=ke=>{try{Fe(xe.throw(ke))}catch(Ie){Me(Ie)}},Fe=ke=>ke.done?ge(ke.value):Promise.resolve(ke.value).then(ye,be);Fe((xe=xe.apply(le,Se)).next())});const{Option:fe}=$e.default,pe=({subId:le,value:Se,selectvalues:xe,disabled:ge,knowledgeOptions:Me=[],className:ye,height:be,onChange:Fe=()=>{},onAddKnowledgeFinish:ke=()=>{},zIndex:Ie=1e3})=>{const Le=(0,Oe.useRef)(),[De,Be]=(0,Oe.useState)([]);Se=Se||[];const Ue=(We,Ze)=>{We?(Be([...Ze]),Fe([...Ze])):(Be([]),Fe([]))};(0,Oe.useEffect)(()=>{(xe==null?void 0:xe.length)>0?(Be([...xe]),Fe([...xe])):(Be([]),Fe([]))},[Me]),(0,Oe.useEffect)(()=>{(Se==null?void 0:Se.length)>0&&Fe([...Se])},[Me]);const _e=We=>{We.preventDefault(),Le.current="",x.default.confirm({centered:!0,width:585,zIndex:Ie,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u65B0\u5EFA\u77E5\u8BC6\u70B9",className:"custom-modal-divider",content:se.createElement("div",{className:"font14"},se.createElement("div",{className:ne.public_tips},se.createElement(re.Z,{style:{color:"#FF8C29",marginRight:10,paddingTop:5}}),"\u65B0\u5EFA\u7684\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u5E73\u53F0\u5BA1\u6838\u5217\u5165\u516C\u5F00\u77E5\u8BC6\u70B9\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\u3002 \u5E73\u53F0\u6709\u6743\u5220\u9664\u4E0D\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF0C\u8BF7\u8BA4\u771F\u586B\u5199\u77E5\u8BC6\u70B9\u540D\u79F0\u3002"),se.createElement("div",{style:{display:"flex",alignItems:"center"}},se.createElement("div",{style:{width:"95px"}},se.createElement("span",{className:ne.bt},"*"),"\u77E5\u8BC6\u70B9\u540D\u79F0"),se.createElement(Te.default,{className:ne.inputCss,style:{width:"calc(100% - 95px)"},maxLength:20,size:"middle",showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0",defaultValue:Le.current,onChange:Ze=>{Le.current=Ze.target.value}}))),onOk:()=>new Promise((Ze,et)=>ce(void 0,null,function*(){if(!Le.current)return me.ZP.warning("\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"),et();if(Le.current.length>20)return me.ZP.warning("\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u77E5\u8BC6\u70B9\u540D\u79F0"),et();const at=yield(0,ae.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:Le.current,sub_discipline_id:le}});if((at==null?void 0:at.status)===0){ke({id:at.tag_discipline_id,name:Le.current,type:"personal"});let pt=xe||[];pt.push(at.tag_discipline_id),Fe([...pt]),Be([...pt]),Fe([...pt])}return Ze()}))})};return se.createElement(ie.Z,{wrap:!1,align:"middle",className:he()(ne.wrap,ye)},se.createElement(te.Z,null,se.createElement($e.default,{mode:"multiple",disabled:!le||ge,className:ne.selectWrapper,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",onChange:Ue,style:{width:be||490},showSearch:!0,allowClear:!0,value:De,filterOption:(We,Ze)=>Ze.label.indexOf(We.toLowerCase())>=0},Me==null?void 0:Me.map(We=>se.createElement(fe,{key:We.id,value:We.id,label:We.name},se.createElement("div",{style:{display:"flex",alignItems:"center"}},se.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},We.name),(We==null?void 0:We.type)==="personal"&&se.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),le&&se.createElement(te.Z,{className:`ml20 ${be&&ne.add_style}`},se.createElement("span",{className:ne.tips},"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),se.createElement("span",{className:ne.linkBtn,onClick:_e},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))}},36527:function(tn,Kt,ve){"use strict";var Oe=ve(67294),$e=ve(71230),x=ve(15746),Te=ve(66368),me=ve(71577),ie=ve(35598),te=ve(71736),ae=ve(84279),ne=ve(67294);const oe=(0,Oe.forwardRef)(({callback:he,showSaveButton:re,value:se=""},ce)=>{const fe=(0,Oe.useRef)(),pe=[{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 "}]}]}],le=[{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}`}]}]}],Se=Me=>{fe.current.setValue(fe.current.getValue()+" "+Me.value+" ")},xe=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ne.createElement($e.Z,{className:te.Z.lists,gutter:[10,10]},pe.map((Me,ye)=>ne.createElement(x.Z,{flex:"110px",className:te.Z.item},ne.createElement("div",null,ne.createElement(ie.Z,{value:`$$${Me.value}$$`}),Me.name),ne.createElement("div",{className:te.Z.children},Me.children.map((be,Fe)=>ne.createElement("div",{key:Fe},ne.createElement("h1",null,be.name),ne.createElement($e.Z,{gutter:[10,10]},be.data.map((ke,Ie)=>ne.createElement(x.Z,{key:Ie,onClick:()=>Se(ke),className:te.Z.diamond},ne.createElement(ie.Z,{value:"`$$"+ke.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ne.createElement($e.Z,{className:te.Z.lists,gutter:[10,10]},le.map((Me,ye)=>ne.createElement(x.Z,{flex:"110px",className:te.Z.item},ne.createElement("div",null,ne.createElement(ie.Z,{value:"`$$"+Me.value+"$$`"}),Me.name),ne.createElement("div",{className:te.Z.children},Me.children.map((be,Fe)=>ne.createElement("div",{key:Fe},be.name&&ne.createElement("h1",null,be.name),ne.createElement($e.Z,{gutter:[10,10]},be.data.map((ke,Ie)=>ne.createElement(x.Z,{key:Ie,onClick:()=>Se(ke),className:te.Z.diamond},ne.createElement(ie.Z,{value:"`$$"+ke.value+"$$`"}))))))))))}],ge=()=>{var Me=document.createElement("div");Me.innerHTML=fe.current.getValue();var ye=Me.innerText;return he&&he(ye),ye};return(0,Oe.useImperativeHandle)(ce,()=>({getData:ge})),ne.createElement("div",{className:te.Z.mathWrap},ne.createElement(Te.default,{defaultActiveKey:"1",items:xe}),ne.createElement("math-field",{locale:"zh_cn",className:te.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:fe,style:{width:800,marginTop:30,fontSize:18}},se||""),re&&ne.createElement("div",{className:te.Z.button},ne.createElement(me.ZP,{size:"large",onClick:ge,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Kt.Z=oe},41307:function(tn,Kt,ve){"use strict";ve.d(Kt,{h:function(){return fe},x:function(){return pe}});var Oe=ve(91304),$e=ve(52654),x=ve(35598),Te=ve(67294),me=Object.defineProperty,ie=Object.defineProperties,te=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,he=(le,Se,xe)=>Se in le?me(le,Se,{enumerable:!0,configurable:!0,writable:!0,value:xe}):le[Se]=xe,re=(le,Se)=>{for(var xe in Se||(Se={}))ne.call(Se,xe)&&he(le,xe,Se[xe]);if(ae)for(var xe of ae(Se))oe.call(Se,xe)&&he(le,xe,Se[xe]);return le},se=(le,Se)=>ie(le,te(Se)),ce=(le,Se)=>{var xe={};for(var ge in le)ne.call(le,ge)&&Se.indexOf(ge)<0&&(xe[ge]=le[ge]);if(le!=null&&ae)for(var ge of ae(le))Se.indexOf(ge)<0&&oe.call(le,ge)&&(xe[ge]=le[ge]);return xe};const fe=le=>{var Se=le,{value:xe,onChange:ge,scrollId:Me}=Se,ye=ce(Se,["value","onChange","scrollId"]);return Te.createElement("div",{id:Me||""},Te.createElement(Oe.Z,se(re({},ye),{defaultValue:xe,onChange:(be,Fe)=>{Fe!=null&&Fe.length?ge(be,Fe):ge(be)}})))},pe=({value:le,onChange:Se,placeholder:xe,height:ge=140,isEdit:Me,miniToolbar:ye,watch:be=!0})=>Me?Te.createElement(Oe.Z,{watch:be,isFocus:!0,height:ge||void 0,placeholder:xe,defaultValue:le,onChange:Se,miniToolbar:ye}):Te.createElement("div",{style:{cursor:"pointer"}},le?Te.createElement(x.Z,{className:$e.Z.inputBorder,value:le}):Te.createElement("div",{className:`${$e.Z.inputBorder} ${$e.Z.placeholder} inputBorderError`},xe))},57444:function(tn,Kt,ve){"use strict";ve.d(Kt,{h:function(){return Me}});var Oe=ve(67294),$e=ve(11713),x=ve(22150),Te=ve(71577),me=ve(4631),ie=ve.n(me),te=ve(71749),ae=ve(30483),ne=Object.defineProperty,oe=Object.defineProperties,he=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,fe=(ye,be,Fe)=>be in ye?ne(ye,be,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):ye[be]=Fe,pe=(ye,be)=>{for(var Fe in be||(be={}))se.call(be,Fe)&&fe(ye,Fe,be[Fe]);if(re)for(var Fe of re(be))ce.call(be,Fe)&&fe(ye,Fe,be[Fe]);return ye},le=(ye,be)=>oe(ye,he(be));const Se=$e.default.Option,xe={labelCol:{span:4},wrapperCol:{span:20}},ge={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Kt.Z=({callback:ye,onCancel:be})=>{const[Fe,ke]=(0,Oe.useState)("python");function Ie(De){ke(ge[De][1])}function Le(De){ye(De)}return Oe.createElement(x.default,le(pe({},xe),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Le,style:{width:500}}),Oe.createElement(x.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Oe.createElement($e.default,{getPopupContainer:De=>De.parentNode,onChange:Ie},Object.keys(ge).map(De=>Oe.createElement(Se,{key:De,value:De},ge[De][0])))),Oe.createElement(x.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Oe.createElement(Me,{mode:Fe})),Oe.createElement("div",{className:"flex-container flex-end"},Oe.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Oe.createElement(Te.ZP,{type:"ghost",onClick:be},"\u53D6\u6D88")))};function Me({value:ye,onChange:be,mode:Fe,options:ke={}}){const Ie=(0,Oe.useRef)(),[Le,De]=(0,Oe.useState)();return(0,Oe.useEffect)(()=>{if(Le){let Be=function(Ue){const _e=Ue.getValue();be&&be(_e)};return Le.on("change",Be),()=>{Le.off("change",Be)}}},[Le,be]),(0,Oe.useEffect)(()=>{Le&&Le.setOption("mode",Fe)},[Le,Fe]),(0,Oe.useEffect)(()=>{Le&&(ye!==Le.getValue()||ye==="")&&setTimeout(()=>{Le.setValue(ye||"")},300)},[Le,ye]),(0,Oe.useEffect)(()=>{if(Ie.current&&!Le){const Be=ie().fromTextArea(Ie.current,pe({mode:Fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ke));De(Be)}},[Ie.current,Le]),Oe.createElement("div",{className:"my-codemirror-container"},Oe.createElement("textarea",{ref:Ie}))}},91304:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Or}});var Oe=ve(67294),$e=ve(4631),x=ve.n($e),Te=ve(91033),me=ve(71749),ie=ve(57341),te=ve(82801),ae=ve(88386),ne=ve(49047),oe=ve(80785),he=ve(35598),re=({value:Mr="",className:Ut,showTextOnly:$t,showLines:qt,style:Nn={}})=>{const jt=(0,Oe.useMemo)(()=>"",[Mr]);return Oe.createElement(Oe.Fragment,null,Oe.createElement("div",{dangerouslySetInnerHTML:{__html:jt}}))},se=ve(67294),ce=Object.defineProperty,fe=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,ge=(Mr,Ut,$t)=>Ut in Mr?ce(Mr,Ut,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Mr[Ut]=$t,Me=(Mr,Ut)=>{for(var $t in Ut||(Ut={}))Se.call(Ut,$t)&&ge(Mr,$t,Ut[$t]);if(le)for(var $t of le(Ut))xe.call(Ut,$t)&&ge(Mr,$t,Ut[$t]);return Mr},ye=(Mr,Ut)=>fe(Mr,pe(Ut));let be=[{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 Fe({onActionCallback:Mr,title:Ut,icon:$t,actionName:qt,className:Nn="",children:jt}){function on(){Mr(qt)}return se.createElement("a",{title:Ut,className:Nn,onClick:on},se.createElement("i",{className:`${$t}`}),jt)}var ke=({watch:Mr,showNullButton:Ut,showNullProgramButton:$t,onActionCallback:qt,fullScreen:Nn,insertTemp:jt,hidetoolBar:on,extraUse:kn})=>{const pn=[...be,{title:`${Mr?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Mr?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return se.createElement("ul",{className:"markdown-toolbar-container"},!on&&pn.map((Bn,Rn)=>se.createElement("li",{key:Rn},Bn.actionName?se.createElement(Fe,ye(Me({},Bn),{onActionCallback:qt})):se.createElement("span",{className:"v-line"}))),Ut?se.createElement("li",null,se.createElement(Fe,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:qt},se.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,$t?se.createElement(se.Fragment,null,se.createElement("li",null,se.createElement(Fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:qt},se.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),se.createElement("li",null,se.createElement(Fe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:qt},se.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,jt&&se.createElement("li",null,se.createElement(Fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${jt}`,onActionCallback:qt},se.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),kn&&se.createElement("li",null,kn),se.createElement("li",{className:"btn-full-screen"},se.createElement(Fe,{icon:`${Nn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Nn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:qt})))},Ie=ve(76621),Le=ve(22150),De=ve(69677),Be=ve(71577),Ue=Object.defineProperty,_e=Object.defineProperties,We=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,pt=(Mr,Ut,$t)=>Ut in Mr?Ue(Mr,Ut,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Mr[Ut]=$t,Xe=(Mr,Ut)=>{for(var $t in Ut||(Ut={}))et.call(Ut,$t)&&pt(Mr,$t,Ut[$t]);if(Ze)for(var $t of Ze(Ut))at.call(Ut,$t)&&pt(Mr,$t,Ut[$t]);return Mr},Ge=(Mr,Ut)=>_e(Mr,We(Ut));const lt={labelCol:{span:4},wrapperCol:{span:20}};var dt=({callback:Mr,onCancel:Ut})=>{function $t(qt){Mr(qt)}return Oe.createElement(Le.default,Ge(Xe({},lt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:$t,style:{width:500}}),Oe.createElement(Le.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Oe.createElement(De.default,null)),Oe.createElement(Le.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Oe.createElement(De.default,null)),Oe.createElement("div",{className:"flex-container flex-end"},Oe.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Oe.createElement(Be.ZP,{type:"ghost",onClick:Ut},"\u53D6\u6D88")))},st=ve(57444),nt=ve(70859),rt=ve(14446),it=ve(71230),gt=ve(63205),vt=ve(67294),At=({callback:Mr,onCancel:Ut})=>{const $t=document.createElement("canvas"),qt=$t.getContext("2d");$t.width=1e3,$t.height=800,qt.fillStyle="#ffffff",qt.fillRect(0,0,$t.width,$t.height);const Nn=$t.toDataURL("image/png");return vt.createElement(rt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},vt.createElement(it.Z,{style:{height:"100vh"}},vt.createElement(gt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Nn,visible:!0,title:String(Date.now())},onOk:jt=>{Mr({src:jt.url})},onClose:Ut})))},Et=ve(72565),ut=ve(15746),Ye=ve(2453),Ve={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},de=ve(67294),He=(0,Oe.forwardRef)(({onCancel:Mr,editImgId:Ut,callback:$t},qt)=>{let Nn=(0,Oe.useRef)(),jt=(0,Oe.useRef)(),on=(0,Oe.useRef)(),kn=(0,Oe.useRef)(!1);const pn=(0,Oe.useRef)(!1);console.log("ref:",qt);const[Bn,Rn]=(0,Oe.useState)(0),[pr,ii]=(0,Oe.useState)("100vh");return(0,Oe.useEffect)(()=>{Rn(1);try{indexedDB.databases().then(Lr=>{Lr.forEach(Ir=>indexedDB.deleteDatabase(Ir.name))})}catch(Lr){}},[]),(0,Oe.useImperativeHandle)(qt,()=>({setHeight:ii})),de.createElement("div",{ref:pn,className:"body-overflow-initial"},de.createElement(Et.Z,{width:"100vw",height:pr,footer:null,closable:!0,placement:"bottom",open:!!Bn,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${Ve.drawerWrap}`,onClose:()=>{window.saveDrawData(Lr=>{$t({src:`/api/attachments/${Lr}`,id:Lr})})},title:de.createElement(it.Z,{align:"middle"},de.createElement(ut.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),de.createElement(ut.Z,{onClick:()=>{ii(pr==="60px"?"100vh":"60px")}},de.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),de.createElement(ut.Z,{onClick:()=>{window.saveDrawData(Lr=>{if(Lr===null){Ye.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Ye.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),$t({src:`/api/attachments/${Lr}`,id:Lr,disabledClose:!0})})}},de.createElement(Be.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},de.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${Ut||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:jt})))}),je=ve(11320),Ae=ve(78045),Re=ve(31795);const ze=Ae.ZP.Group,Qe={margin:"0 8px"};var ot=({callback:Mr,onCancel:Ut})=>{function $t(qt){Mr(qt)}return Oe.createElement(Le.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:$t},Oe.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Oe.createElement("span",{style:Qe},"\u5355\u5143\u683C\u6570\uFF1A"),Oe.createElement("span",{style:Qe},"\u884C\u6570"),Oe.createElement(Le.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Oe.createElement(Re.Z,null)),Oe.createElement("span",{style:Qe},"\u5217\u6570"),Oe.createElement(Le.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Oe.createElement(Re.Z,null))),Oe.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Oe.createElement("span",{style:Qe},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),Oe.createElement(Le.default.Item,{name:"align"},Oe.createElement(ze,null,Oe.createElement(Ae.ZP,{value:"default"},Oe.createElement("i",{className:"fa fa-align-justify"})),Oe.createElement(Ae.ZP,{value:"left"},Oe.createElement("i",{className:"fa fa-align-left"})),Oe.createElement(Ae.ZP,{value:"center"},Oe.createElement("i",{className:"fa fa-align-center"})),Oe.createElement(Ae.ZP,{value:"right"},Oe.createElement("i",{className:"fa fa-align-right"}))))),Oe.createElement("div",{className:"flex-container flex-end"},Oe.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Oe.createElement(Be.ZP,{type:"ghost",onClick:Ut},"\u53D6\u6D88")))},mt=ve(47897),Ot=ve(61016),xt=ve.n(Ot),bn=(0,Oe.forwardRef)(({use3d:Mr,width:Ut,height:$t,callback:qt,showSaveButton:Nn},jt)=>{const on=(0,Oe.useRef)(),kn=(0,Oe.useRef)(),[pn,Bn]=(0,Oe.useState)(!1),Rn=(0,Oe.useRef)({id:on,appName:"graphing",width:Ut||1e3,height:$t||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Oe.useEffect)(()=>{kn.current=new(xt())(Rn.current,!0),window.onload=function(){kn.current.inject("applet_container")}},[]);const pr=()=>{var ii=window.ggbApplet.getPNGBase64(1,!0,72);return qt&&qt(ii),ii};return(0,Oe.useEffect)(()=>{Rn.current.appName=pn?"3D":"graphing",kn.current.inject("applet_container")},[pn]),(0,Oe.useEffect)(()=>{Bn(Mr)},[Mr]),(0,Oe.useImperativeHandle)(jt,()=>({getImgData:pr})),Oe.createElement(Oe.Fragment,null,Oe.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:on}),Oe.createElement(it.Z,{align:"middle"},Oe.createElement(ut.Z,{flex:1},Oe.createElement(mt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:pn,onChange:ii=>Bn(ii)})),Oe.createElement(ut.Z,null,Oe.createElement(Be.ZP,{size:"large",onClick:pr,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Ft=ve(36527),Qt=ve(25934);const Vt="link",yn="upload-image",Pt="add-flowchart",zt="draw-image",an="add-flowchart",gn="code-block",Tn="add-table",Gn="------------",fr={default:Gn,left:`:${Gn}`,center:`:${Gn}:`,right:`${Gn}:`};var Tr=ve(99914),Wr=(Mr,Ut,$t)=>new Promise((qt,Nn)=>{var jt=pn=>{try{kn($t.next(pn))}catch(Bn){Nn(Bn)}},on=pn=>{try{kn($t.throw(pn))}catch(Bn){Nn(Bn)}},kn=pn=>pn.done?qt(pn.value):Promise.resolve(pn.value).then(jt,on);kn(($t=$t.apply(Mr,Ut)).next())});function ti(){}let Dr=0;const ri=1e4,Mi="\u2581",$r="@\u2581\u2581@",Xi="@\u2581@",Ii=`
**\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`,nn=["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 Jn(Mr){return/^\d+$/.test(Mr)?`${Mr}px`:Mr}const Kn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Hr={[Kn+"-B"]:"bold",[Kn+"-I"]:"italic"},Pr={[Vt]:"\u6DFB\u52A0\u94FE\u63A5",[gn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[yn]:"\u6DFB\u52A0\u56FE\u7247",[zt]:"\u6DFB\u52A0\u753B\u56FE",[Pt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Tn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Or=({defaultValue:Mr="",onChange:Ut,width:$t="100%",height:qt=400,miniToolbar:Nn=!1,isFocus:jt=!1,watch:on,insertTemp:kn,mode:pn="markdown",id:Bn="markdown-editor-id",showResizeBar:Rn=!1,noStorage:pr=!1,showNullButton:ii=!1,showNullProgramButton:Lr=!1,hidetoolBar:Ir=!1,fullScreen:Ur=!1,onBlur:Zr,onCMBeforeChange:ln,onFullScreen:Jt,className:cn="",disablePaste:er=!1,disabled:Ar=!1,disabledFill:Fn=!1,placeholder:lr="",values:ir="",extraUse:wr,onAddBlank:Vr})=>{const[Zn,_i]=(0,Oe.useState)(null),[gi,ma]=(0,Oe.useState)(Mr),[ga,la]=(0,Oe.useState)(on),[_a,$i]=(0,Oe.useState)(Ur),[Ui,ya]=(0,Oe.useState)(""),[Ka,Ri]=(0,Oe.useState)(0),[ca,Na]=(0,Oe.useState)(qt),[ro,Ya]=(0,Oe.useState)(!1),Wi=(0,Oe.useRef)((0,Qt.Z)()),mn=(0,Oe.useRef)(!1),sn=(0,Oe.useRef)(),[jn,ar]=(0,Oe.useState)(0),[gr,Xr]=(0,Oe.useState)(0),ai=(0,Oe.useRef)(),pi=(0,Oe.useRef)(),Li=(0,Oe.useRef)(),yi=(0,Oe.useRef)(),ji=(0,Oe.useRef)(),qi=(0,Oe.useRef)(),oi=()=>Wr(void 0,null,function*(){var On;const In=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Wi.current}});(On=In==null?void 0:In.attachments)!=null&&On.length&&(console.log("cm:",Zn,ai),In.attachments.map(En=>{En.content_type.indexOf("image")>-1?Zn.replaceSelection(`![,](/api/attachments/${En.id}?type=${En.content_type})`):En.content_type.indexOf("video")>-1?Zn.replaceSelection(`<video width="100%" controls src="${je.Z.API_SERVER}/api/attachments/${data.id}"></video>`):En.content_type.indexOf("pdf")>-1?Zn.replaceSelection(`<a href="${je.Z.API_SERVER}/api/attachments/${En.id}?type=${En.content_type}&disposition=inline" target="_blank">${En.name}</a>`):Zn.replaceSelection(`[${En.name}](${je.Z.API_SERVER}/api/attachments/${En.id}?type=${En.content_type})`)}))});(0,Oe.useEffect)(()=>{const On=window.scrollY||window.pageYOffset;ma(ir),Zn==null||Zn.setValue(ir),window.scrollTo(0,On)},[ir]),(0,Oe.useEffect)(()=>{Jt==null||Jt(_a)},[_a]),(0,Oe.useEffect)(()=>{if(ai.current){let On=function(En,Hn){var mr;if(er){Hn.preventDefault();return}const Qn=Hn.clipboardData;if(Qn){const or=Qn.types.toString(),ur=Qn.items;if(or==="Files"||Qn.types.indexOf("Files")>-1){if(Hn.preventDefault(),pn=="stex")return;try{let yr=ur[1];((mr=ur[0])==null?void 0:mr.kind)==="file"&&(yr=ur[0]);const Sr=yr.getAsFile(),kt=Sr.name.split(".").pop();(0,nt.I)(Sr,It=>{var en,Xt,wn;It.id?((en=Sr==null?void 0:Sr.type)==null?void 0:en.indexOf("image"))>-1?In.replaceSelection(`<img width="100%" src="/api/attachments/${It.id}?type=${It.content_type})" alt="" />`):((Xt=Sr==null?void 0:Sr.type)==null?void 0:Xt.indexOf("video"))>-1?In.replaceSelection(`<video width="100%" controls src="/api/attachments/${It.id}"></video>`):((wn=Sr==null?void 0:Sr.type)==null?void 0:wn.indexOf("pdf"))>-1?In.replaceSelection(`<a href="/api/attachments/${It.id}?type=${Sr.type}&disposition=inline" target="_blank">${Sr.name}</a>`):nn.includes(kt)?In.replaceSelection(`<a href="/api/attachments/${It.id}?type=office&disposition=inline" target="_blank">${Sr.name}</a>`):In.replaceSelection(`[${Sr.name}](/api/attachments/${It.id}?type=${It.content_type})`):(It==null?void 0:It.status)===401&&(Ye.ZP.warning((It==null?void 0:It.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(yr){Ye.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const In=x().fromTextArea(ai.current,{mode:pn,lineNumbers:!Nn,lineWrapping:!0,value:Mr,autoCloseTags:!Lr,autoCloseBrackets:!0});return In.on("keyup",function(En,Hn){Hn.keyCode===8&&(En.getValue()==""?In.setOption("placeholder",lr):In.setOption("placeholder",null))}),In.on("keydown",function(En,Hn){if(Hn.keyCode===8){var mr=Ln(En);mr&&Hn.preventDefault()}}),jt&&In.focus(),In.on("paste",On),In.on("dragleave",function(En,Hn){pi.current.classList.remove("mouse-hover-md")}),Ar&&In.on("beforeChange",function(En,Hn){(Hn.origin==="paste"||Hn.origin==="+input")&&Hn.cancel()}),_i(In),()=>{In.off("paste",On)}}},[]);const Sn=(0,Oe.useCallback)(()=>{if(pi.current)try{}catch(On){console.log(On,"---- to set md editor body height")}},[ca,pi,_a]);(0,Oe.useEffect)(()=>{function On(){let In=new Te.Z(En=>{for(let Hn of En)(Hn.target.offsetHeight>0||Hn.target.offsetWidth>0)&&(Sn(),Zn.setSize("100%","100%"),Zn.refresh())});return In.observe(ai.current.parentElement),In}if(Zn){const In=On();return()=>{var En,Hn;(En=ai.current)!=null&&En.parentElement&&In.unobserve((Hn=ai.current)==null?void 0:Hn.parentElement)}}},[Zn,Sn]),(0,Oe.useEffect)(()=>{if(Zn){let On=[];for(const[In,En]of Object.entries(Hr)){let Hn={[In]:()=>{Yn(En)}};On.push(Hn),Zn.addKeyMap(Hn)}return sn.current=setInterval(()=>{mn.current&&oi()},4e3),()=>{clearInterval(sn.current);for(let In of On)Zn.removeKeyMap(In)}}},[Zn]),(0,Oe.useEffect)(()=>{Ur!==_a&&$i(Ur)},[Ur]),(0,Tr.Z)(()=>{if(!pr&&Ka>0){let On=new Date().getTime(),In=window.sessionStorage.getItem(Bn);On>=Ka+ri&&(!In||In!==gi)&&(window.sessionStorage.setItem(Bn,gi),Ya(!0))}},ri),(0,Oe.useEffect)(()=>{la(on)},[Zn,on]),(0,Oe.useEffect)(()=>{Zn&&jt&&Zn.focus()},[Zn,jt]),(0,Oe.useEffect)(()=>{if(ga&&Zn){let On=function(En){let Hn=En.target;if(yi.current){let mr=Hn.scrollTop/Hn.scrollHeight;yi.current.scrollTop=yi.current.scrollHeight*mr}};const In=Zn.getScrollerElement();return In.addEventListener("scroll",On),()=>{In.removeEventListener("scroll",On)}}},[Zn,ga]),(0,Oe.useEffect)(()=>{if(Zn&&ln){let On=function(In,En){ln(In,En)};return Zn.on("beforeChange",On),()=>{Zn.off("beforeChange",On)}}},[Zn,ln]),(0,Oe.useEffect)(()=>{if(Zn&&Zr){let On=function(){Zr(Zn.getValue())};return Zn.on("blur",On),()=>{Zn.off("blur",On)}}},[Zn,Zr]);function Ln(On,In){var En=On.getDoc(),Hn=En.getCursor(),mr=En.getLine(Hn.line),Qn=mr.charAt(Hn.ch-1),or=mr.lastIndexOf("@\u2581@",Hn.ch),ur=mr.lastIndexOf("@\u2581\u2581@",Hn.ch),yr=or>ur?or:ur,Sr=or>ur?3:4;if($r.indexOf(Qn)===-1)return null;if(console.log("change1:",In,On,mr,Hn,yr,or,ur,Qn),yr>=0&&Hn.ch-yr<5){var kt=yr+Sr;return En.replaceRange("",{line:Hn.line,ch:yr},{line:Hn.line,ch:kt}),{line:Hn.line,ch:kt}}return null}(0,Oe.useEffect)(()=>{if(Zn){let On=function(In,En){const Hn=In.getValue();ma(Hn),Ri(new Date().getTime()),In.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ut&&(Lr?Ut(Hn,rn(Hn)):Ut(Hn))};return Zn.on("change",On),()=>{Zn.off("change",On)}}},[Zn,Ut]),(0,Oe.useEffect)(()=>{if(Zn)if(Mr==null)Zn.setValue(""),ma("");else{const On=window.scrollY||window.pageYOffset;Mr!==Zn.getValue()&&(Zn.setValue(Mr),ma(Mr),Zn.setCursor(Ar?1:Zn.lineCount(),0),window.scrollTo(0,On))}},[Zn,Mr]);const Yn=(0,Oe.useCallback)(On=>{const In=Zn.getCursor(),En=Zn.getSelection();let Hn=En.split(`
`);switch(On){case"bold":return Zn.replaceSelection("**"+En+"**"),En===""&&Zn.setCursor(In.line,In.ch+2),Zn.focus();case"italic":return Zn.replaceSelection("*"+En+"*"),En===""&&Zn.setCursor(In.line,In.ch+1),Zn.focus();case"code":return Zn.replaceSelection("`"+En+"`"),En===""&&Zn.setCursor(In.line,In.ch+1),Zn.focus();case"inline-latex":return ya("inline-latex"),Zn.focus();case"latex":return Zn.replaceSelection("```latex\n"+En+"\n```"),Zn.setCursor(In.line+1,En.length+1),Zn.focus();case"line-break":return Zn.replaceSelection(`<br/>
`),Zn.focus();case"list-ul":return En===""?Zn.replaceSelection("- "+En):Zn.replaceSelection(Hn.map(mr=>mr===""?"":`- ${mr}`).join(`
`)),Zn.focus();case"list-ol":return En===""?Zn.replaceSelection("1. "+En):Zn.replaceSelection(Hn.map((mr,Qn)=>mr===""?"":`${Qn+1}. ${mr}`).join(`
`)),Zn.focus();case"add-null-ch":Vr==null||Vr();return;case"add-signal":return En===""&&Zn.setCursor(In.line,In.ch),Zn.replaceSelection(Xi),Zn.focus();case"add-multiple":return En===""&&Zn.setCursor(In.line,In.ch),Zn.replaceSelection($r),Zn.focus();case"inster-template-1":return En===""&&Zn.setCursor(In.line,In.ch),Zn.replaceSelection(Ii),Zn.focus();case"eraser":return Zn.setValue(""),Zn.focus();case"trigger-watch":return la(!ga),Zn.focus();case"trigger-full-screen":return $i(!_a),Zn.focus();case Vt:ya(Vt);return;case gn:ya(gn);return;case yn:ya(yn);return;case zt:ya(zt);return;case"maths-latex":ya("maths-latex");return;case Pt:ji.current="",sessionStorage.removeItem("file_id"),ya(Pt);return;case Tn:ya(Tn);return;default:throw new Error}},[Zn,ga,_a]),qe=(0,Oe.useCallback)((On,In)=>{var En,Hn,mr,Qn,or,ur;ya("");const{src:yr,alt:Sr,id:kt}=On||{};switch(Ui){case Vt:const{title:zn,link:_n}=On;return Zn.replaceSelection(`[${zn}](${_n})`),Zn.focus();case gn:const{language:dr,content:Zt}=On;return Zn.replaceSelection(["```"+dr,Zt,"```"].join(`
`)),Zn.focus();case"maths-latex":for(var It=atob(On),en=new Uint8Array(It.length),Xt=0;Xt<It.length;Xt++)en[Xt]=It.charCodeAt(Xt);var wn=new Blob([en],{type:"image/png"});(0,nt.I)(wn,kr=>{kr.id?Zn.replaceSelection(`![,](/api/attachments/${kr.id}?type=${kr.content_type})`):(kr==null?void 0:kr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Zn.replaceSelection("`$$"+On+"$$`");break;case an:if(!kt)return;Zn.focus(),Zn.getValue().indexOf(yr)===-1?Zn.replaceSelection(`<center><img id="${kt}" width="80%" src="${yr}" class="draw-flowchart" alt="${Sr||""}" /></center>`):document.getElementById(kt).src=je.Z.API_SERVER+yr+"?t="+Date.now();try{setTimeout(()=>{Zr(Zn.getValue())},100)}catch(kr){}break;case yn:case zt:const Ht=In,Yt=(mr=(Hn=(En=Ht==null?void 0:Ht.name)==null?void 0:En.split("."))==null?void 0:Hn.pop)==null?void 0:mr.call(Hn);return((Qn=Ht==null?void 0:Ht.type)==null?void 0:Qn.indexOf("image"))>-1||!(Ht!=null&&Ht.type)?Ht!=null&&Ht.align||Ht!=null&&Ht.width?Zn.replaceSelection(`<p style="text-align:${Ht.align||"initial"}"><img width="${Ht.width?Ht.width+"%":"initial"}" src="${yr}" alt="${Sr||""}" /></p>`):Zn.replaceSelection(`<img width="100%" src="${yr}" alt="${Sr||""}" />`):((or=Ht==null?void 0:Ht.type)==null?void 0:or.indexOf("video"))>-1?Zn.replaceSelection(`<video width="100%" controls src="${yr}"></video>`):((ur=Ht==null?void 0:Ht.type)==null?void 0:ur.indexOf("pdf"))>-1?Zn.replaceSelection(`<a href="${yr}?type=${Ht.type}&disposition=inline" target="_blank">${Ht.name}</a>`):nn.includes(Yt)?Zn.replaceSelection(`<a href="${yr}?type=office&disposition=inline" target="_blank">${Ht.name}</a>`):Zn.replaceSelection(`[${Ht.name}](${yr})`),Zn.focus();case Tn:const{row:Cn,col:sr,align:Wn}=On;let Dn=`
`;for(let kr=0;kr<Cn;kr++){let Er=[],Rr=[];for(let br=0;br<sr;br++)kr===1&&Rr.push(fr[Wn]),Er.push(" ");kr===1&&(Dn+=`| ${Rr.join(" | ")} |
`),Dn+=`| ${Er.join(sr===1?"":" | ")} |
`}return Zn.replaceSelection(Dn+`
`),Zn.focus();default:throw new Error}},[Zn,Ui]),yt=(0,Oe.useMemo)(()=>{switch(Ui){case Vt:return Oe.createElement(dt,{callback:qe,onCancel:St});case gn:return Oe.createElement(st.Z,{callback:qe,onCancel:St});case yn:return Oe.createElement(nt.Z,{callback:qe,onCancel:St});case Pt:return Oe.createElement(He,{editImgId:ji.current,callback:qe,onCancel:St});case Tn:return Oe.createElement(ot,{callback:qe,onCancel:St});case"maths-latex":return Oe.createElement(bn,{showSaveButton:!0,callback:qe});case"inline-latex":return Oe.createElement(Ft.Z,{showSaveButton:!0,callback:qe});default:return null}},[Ui]);function St(){ya("")}(0,Oe.useEffect)(()=>{if(Li.current){let On=function(or){mr=!0,Qn=or.pageY},In=function(){mr=!1},En=function(or){if(mr){let ur=or.pageY-Qn;ur<0&&(ur=0),ur>300&&(ur=300);let yr=qt+ur+"px";Na(yr)}},Hn=Li.current,mr=!1,Qn=0;return Hn.addEventListener("mousedown",On),document.addEventListener("mousemove",En),document.addEventListener("mouseup",In),()=>{Hn.removeEventListener("mousedown",On),document.removeEventListener("mousemove",En),document.removeEventListener("mouseup",In)}}},[Zn,Li]),(0,Oe.useEffect)(()=>{Na(qt)},[qt]);const Dt=Jn($t),Tt=Jn(ca),Nt={width:Dt,height:Tt},_t=(0,Oe.useMemo)(()=>{if(Ka){let On=new Date(Ka),In=On.getHours(),En=On.getMinutes(),Hn=On.getSeconds();return In=In<10?"0"+In:In,En=En<10?"0"+En:En,Hn=Hn<10?"0"+Hn:Hn,`${In}:${En}:${Hn}`}return 0},[Ka]),rn=On=>{const In=[];if(Lr){let En=-1;On=On.replace(/(@▁▁@|@▁@)/g,function(Hn,mr,Qn){In.push({multiLine:Hn!==Xi})})}return In};function vn(){window.sessionStorage.removeItem(Bn),Ya(!1),Ri(0)}function Vn(){Ya(!1),Ri(0),Zn.setValue(window.sessionStorage.getItem(Bn))}(0,Oe.useEffect)(()=>{Pr[Ui]&&Ui!==zt&&Ui!==Pt&&setTimeout(()=>{const On=document.getElementsByClassName("markdown-popup-form")[0],In=window.innerWidth/2-On.offsetWidth/2,En=window.innerHeight/2-On.offsetHeight/2;ar(In),Xr(En)},0)},[Ui]);const $n=On=>{On.preventDefault();const In=On.clientX-jn,En=On.clientY-gr;document.body.onmousemove=Hn=>{let mr=Hn.clientX-In,Qn=Hn.clientY-En;const or=document.getElementsByClassName("markdown-popup-form")[0],ur=window.innerWidth-or.offsetWidth,yr=window.innerHeight-or.offsetHeight;mr=Math.max(0,Math.min(mr,ur)),Qn=Math.max(0,Math.min(Qn,yr)),Xn(Hn.clientX,Hn.clientY,In,En)&&(ar(mr),Xr(Qn))},document.body.onmouseup=function(){document.body.onmousemove=null}},Xn=(On,In,En,Hn)=>{const mr=document.body.clientHeight,Qn=document.body.clientWidth;return On<20&&En>On||On>Qn-20&&En<On||In<20&&Hn>In||In>mr-20&&Hn<In?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return Oe.createElement(Oe.Fragment,null,Oe.createElement("div",{className:"markdown-editor-wrapper",ref:pi},Oe.createElement("div",{className:`markdown-editor-container ${cn} ${ga?"on-preview":""} ${Nn?"mini":""} ${_a?"full-screen":""}`,style:Nt},Oe.createElement(ke,{insertTemp:kn,watch:ga,fullScreen:_a,showNullButton:ii,showNullProgramButton:Lr,onActionCallback:Yn,hidetoolBar:Ir,extraUse:wr}),Oe.createElement("div",{className:"markdown-editor-body"},Oe.createElement("div",{className:"codemirror-container"},Oe.createElement("textarea",{ref:ai,placeholder:lr})),ga?Oe.createElement("div",{ref:yi,className:"preview-container"},pn==="stex"&&Oe.createElement(re,{value:gi}),pn!=="stex"&&Oe.createElement(he.Z,{edit:!0,disabledFill:Fn,showProgramFill:Lr,value:gi,openEditor:On=>{var In;ji.current=On,(In=qi.current)==null||In.setHeight("100vh"),setTimeout(()=>{ya("add-flowchart")},150)}})):null))),Rn?Oe.createElement("a",{ref:Li,className:"editor-resize"}):null,Ui===zt&&Oe.createElement(At,{callback:qe,onCancel:St}),Ui===Pt&&Oe.createElement(He,{ref:qi,editImgId:ji.current,callback:qe,onCancel:St}),Oe.createElement(Ie.Z,null,Pr[Ui]&&Ui!==zt&&Ui!==Pt?Oe.createElement(rt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:jn,top:gr},title:Oe.createElement("div",{style:{cursor:"move"},onMouseDown:$n},Pr[Ui]),open:!0,onCancel:St,footer:null,destroyOnClose:!0,width:Ui===Pt?"1200px":null,height:Ui===Pt?"80vh":null,className:"markdown-popup-form"},yt):null))}},70859:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Fe},I:function(){return Ie}});var Oe=ve(22150),$e=ve(2453),x=ve(69677),Te=ve(93421),me=ve(31795),ie=ve(78045),te=ve(71577),ae=ve(15476),ne=ve(67294),oe=ve(52262),he=ve(67294),re=Object.defineProperty,se=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,Se=(Le,De,Be)=>De in Le?re(Le,De,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Le[De]=Be,xe=(Le,De)=>{for(var Be in De||(De={}))pe.call(De,Be)&&Se(Le,Be,De[Be]);if(fe)for(var Be of fe(De))le.call(De,Be)&&Se(Le,Be,De[Be]);return Le},ge=(Le,De)=>se(Le,ce(De));const{useForm:Me}=Oe.default,ye={width:280,marginRight:10},be={labelCol:{span:5},wrapperCol:{span:19}};var Fe=({callback:Le,onCancel:De})=>{const[Be]=Me();let Ue=(0,ne.useRef)();function _e(et){Ue.current.width=Be.getFieldValue("width"),Ue.current.align=Be.getFieldValue("align"),Le(et,Ue.current)}function We(et,at){if(et.status===-1){$e.ZP.error(et.message);return}Be.setFieldsValue({src:`/api/attachments/${et.id}`,type:at.type})}function Ze(et){let at=et.target.files[0];Ue.current=at,Ie(at,We)}return he.createElement(Oe.default,ge(xe({form:Be},be),{className:"upload-image-panel",onFinish:_e,style:{width:470,overflow:"hidden"}}),he.createElement(Oe.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},he.createElement("div",{className:"flex-container"},he.createElement(Oe.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},he.createElement(x.default,{style:ye})),he.createElement(ke,{onFileChange:Ze}))),he.createElement(Oe.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},he.createElement(x.default,{style:{width:264}})),he.createElement(Oe.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},he.createElement(Te.Z,null,he.createElement(Oe.default.Item,{name:"width",style:{margin:0}},he.createElement(me.Z,{style:{width:264}})),he.createElement("span",{className:"ml8"},"%"))),he.createElement(Oe.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},he.createElement(ie.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"}]})),he.createElement("aside",null,he.createElement(Oe.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},he.createElement(te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(te.ZP,{type:"default",onClick:De},"\u53D6\u6D88"))))};function ke({onFileChange:Le}){return he.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",he.createElement("input",{type:"file",onChange:Le}))}function Ie(Le,De){if(!Le)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,oe.bg)())throw $e.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",Le),Be.append("file_param_name","editormd-image-file"),Be.append("byxhr","true");var Ue=new window.XMLHttpRequest;Ue.withCredentials=!0,Ue.addEventListener("load",function(_e){De(JSON.parse(_e.target.responseText),Le)},!1),Ue.addEventListener("error",function(_e){console.error(_e)},!1),Ue.open("POST",`${ae.KI}/api/attachments.json`),Ue.send(Be)}},76621:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return x}});var Oe=ve(67294),$e=ve(73935);class x extends Oe.Component{constructor(me){super(me);const ie=window.document;this.node=ie.createElement("div"),ie.body.appendChild(this.node)}render(){const{children:me}=this.props;return(0,$e.createPortal)(me,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},19522:function(tn,Kt,ve){"use strict";var Oe=ve(12867),$e=ve(11713),x=ve(47897),Te=ve(67294);const me=$e.default.Option;Kt.Z=({isTheoretical:ie,onFontSizeChange:te,cmFontSize:ae,cmCodeMode:ne,autoFormat:oe,onCodeModeChange:he,onTabToSpace:re,onAutoFormat:se,formatDocument:ce,className:fe="",tabToSpace:pe,children:le,code_editor:Se,challenge:xe,shixun_environment_id:ge,shixun_environments:Me})=>{var ye;const be={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"},Fe=(ye=Me==null?void 0:Me.find(ke=>ke.shixun_environment_id===ge))==null?void 0:ye.program_language;return Te.createElement("div",{className:`tpi-code-setting ${fe}`},Te.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),Te.createElement("section",null,Te.createElement("div",{className:"file-item"},Te.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),Te.createElement($e.default,{bordered:!1,size:"small",value:ne,onChange:he},Te.createElement(me,{value:"vs"},"\u767D\u8272\u80CC\u666F"),Te.createElement(me,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!ie&&Te.createElement(Te.Fragment,null,Te.createElement("div",{className:"file-item"},Te.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),Te.createElement($e.default,{bordered:!1,size:"small",value:ae,onChange:te},Te.createElement(me,{value:12},"12px"),Te.createElement(me,{value:14},"14px"),Te.createElement(me,{value:16},"16px"),Te.createElement(me,{value:18},"18px"),Te.createElement(me,{value:20},"20px"),Te.createElement(me,{value:22},"22px"))),Te.createElement("div",{className:"file-item"},Te.createElement("b",null,"Tab\u8F6C\u6362"),Te.createElement(x.Z,{checked:pe,onChange:re})),Te.createElement("div",{className:"file-item",onClick:ce},Te.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!ie&&Te.createElement(Te.Fragment,null,Te.createElement("h3",null,"\u5FEB\u6377\u952E"),Te.createElement("section",null,Te.createElement("div",{className:"file-item"},Te.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),Te.createElement("span",null,"Ctrl + S")),Te.createElement("div",{className:"file-item"},Te.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),Te.createElement("span",null,"F1 / Alt + F1")),Te.createElement("div",{className:"file-item"},Te.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),Te.createElement("span",null,"Ctrl + ]/[")),Te.createElement("div",{className:"file-item"},Te.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),Te.createElement("span",null,"Ctrl + Shift + \\")),Te.createElement("div",{className:"file-item"},Te.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),Te.createElement("span",null,"Home")),Te.createElement("div",{className:"file-item"},Te.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),Te.createElement("span",null,"End"))),le),!ie&&Te.createElement(Te.Fragment,null,Te.createElement("h3",null,"\u5FEB\u6377\u952E"),Te.createElement("section",null,Fe&&Te.createElement("div",{className:"file-item"},Te.createElement("b",null,"\u7F16\u7A0B\u8BED\u8A00"),Te.createElement("span",null,Fe)),Te.createElement("div",{className:"file-item"},Te.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),Te.createElement("span",null,be[xe==null?void 0:xe.difficulty])),Te.createElement("div",{className:"file-item"},Te.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),Te.createElement("span",null,Se==null?void 0:Se.name)),Te.createElement("div",{className:"file-item"},Te.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),Te.createElement("span",null,Se!=null&&Se.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},5476:function(tn,Kt,ve){"use strict";ve.d(Kt,{i:function(){return be},Z:function(){return ke}});var Oe={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},$e=ve(57953),x=ve(83062),Te=ve(38703),me=ve(94184),ie=ve.n(me),te=ve(28706),ae=ve(26194),ne=ve(52262),oe=ve(79005),he=ve(20345),re=ve(77882),se=ve(31081),ce=ve(75309),fe=ve(71979),pe=ve(47558),le=ve(60345),Se=ve(66832),xe=ve(96593),ge=ve(19664),Me=ve(91833),ye=ve(67294);const be=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:oe,swimg:he},{name:"101\u8BA1\u5212",ptimg:re,swimg:se},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ce,swimg:fe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:pe,swimg:le},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Se,swimg:xe},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ge,swimg:Me}];var ke=({className:Ie,dataSource:Le=[],col:De=4,right:Be,bottom:Ue=23,precision:_e=0,wrapWidth:We=1200,trackEventItems:Ze,loading:et,onRemove:at=()=>{},isCurrent:pt=!0,showAlias:Xe=!1,showProgress:Ge=!1})=>{const lt=Math.floor((We-(De-1)*Be)/De),dt=[{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(st=>(window.ENV==="build"&&(st.ptimg=`/react/build${st.ptimg}`,st.swimg=`/react/build${st.swimg}`),st));return ye.createElement($e.Z,{spinning:et},ye.createElement("div",{className:ie()(Oe.list,Ie)},!!(Le!=null&&Le.length)&&(Le==null?void 0:Le.map((st,nt)=>{var rt,it,gt,vt,At,Et;const{name:ut,id:Ye,identifier:Ve,featured:de,school_name:Ce,image_url:He,excellent:je,is_plan:Ae}=st;return ye.createElement("div",{key:Ye,className:pt&&Ge?Oe.wrapisCurrent:Oe.wrap,style:{width:lt,marginRight:(1+nt)%De===0?0:Be+_e,marginBottom:Ue}},ye.createElement("a",{className:Oe.li,onClick:Re=>{Re.preventDefault(),Re.stopPropagation(),Ze&&(0,te.L9)([Ze]),(0,te.xg)(`/paths/${Ve}`)}},ye.createElement("div",{className:Oe.img},ye.createElement("img",{className:Oe.cover,src:`${He}`}),pt&&(0,ne.bg)()&&(st==null?void 0:st.studying)&&ye.createElement("div",{className:`${Oe.movebq} user-path-items`,onClick:Re=>{Re.stopPropagation(),at(st)}},ye.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ye.createElement("span",{className:"c-red"},"\u79FB\u9664")),(rt=st==null?void 0:st.subject_tags)==null?void 0:rt.map((Re,ze)=>{var Qe,ot;if(ze===0){const Ot=(Qe=dt.find(xt=>xt.name==Re))==null?void 0:Qe.swimg;return ye.createElement("img",{className:Oe.sign,src:Ot,style:{left:"-4px"}})}const mt=(ot=dt.find(Ot=>Ot.name==Re))==null?void 0:ot.ptimg;return ye.createElement("img",{className:Oe.sign,src:mt,style:{left:`${48+52*(ze-1)+2*ze}px`}})}),ye.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(st==null?void 0:st.excellent)&&ye.createElement("div",{className:Oe.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ye.createElement("div",{className:Oe.name},ye.createElement(x.Z,{title:Xe&&(st!=null&&st.excellent_alias_name)?ye.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${ut}`,ye.createElement("br",null),ye.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${st==null?void 0:st.excellent_alias_name}`)):ut},ye.createElement("span",{className:Oe.e},Xe&&(st==null?void 0:st.excellent_alias_name)||ut))),pt&&Ge&&((it=st==null?void 0:st.progress)==null?void 0:it.all_score)!=0&&ye.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ye.createElement(Te.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((gt=st==null?void 0:st.progress)==null?void 0:gt.my_score)/((vt=st==null?void 0:st.progress)==null?void 0:vt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(At=st==null?void 0:st.progress)==null?void 0:At.my_score,"/",(Et=st==null?void 0:st.progress)==null?void 0:Et.all_score),(!pt||!Ge)&&ye.createElement("div",{className:Oe.tags},ye.createElement("div",null,ye.createElement(x.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ye.createElement("span",null,ye.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ye.createElement("span",null,st.stages_count))),ye.createElement(x.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,st.members_count)))))))})),!Le.length&&ye.createElement(ae.Z,null)))}},80150:function(tn,Kt,ve){"use strict";ve.d(Kt,{jL:function(){return me},w9:function(){return Pr},vv:function(){return on},dN:function(){return $t},QD:function(){return ar},cQ:function(){return ze.Z},vg:function(){return nn},Oz:function(){return Dr},op:function(){return ro},O5:function(){return rn},_b:function(){return yi},t7:function(){return Ue},tT:function(){return Ze},Gi:function(){return Jt},YG:function(){return Rn},Ed:function(){return Zr},kT:function(){return Lr},qp:function(){return le},Um:function(){return be},K3:function(){return ge},vr:function(){return ai},qE:function(){return mn},Je:function(){return pt},wb:function(){return Et},rC:function(){return Re},lB:function(){return Ve},cq:function(){return ir},kO:function(){return _i},tp:function(){return Ie},Si:function(){return $n},k8:function(){return dr},Du:function(){return or}});var Oe=ve(67294),$e={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",bt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nh+5a9a0mfZcZLkTz3MrJronVxoQ+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",me=({dataSource:Zt=[],img:Ht,imgWidth:Yt=346,title:Cn,sunTitle:sr,bannerExtraContent:Wn})=>Oe.createElement("div",{className:$e.banner},Oe.createElement("div",{className:$e.content},Oe.createElement("aside",null,Oe.createElement("p",null,Oe.createElement("b",null,Cn),Oe.createElement("span",null,sr)),Zt.length>0&&Oe.createElement("div",{className:$e.btns},Zt.map((Dn,kr)=>Oe.createElement("div",{key:kr,onClick:Dn.click},Dn.name,Dn.sign?Oe.createElement("img",{src:x,width:39}):null))),Wn),Ht&&Oe.createElement("img",{style:{marginTop:33,marginRight:38},src:Ht,width:Yt}))),ie={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"},te=ve(94184),ae=ve.n(te),ne=ve(96486),oe=Object.defineProperty,he=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ce=(Zt,Ht,Yt)=>Ht in Zt?oe(Zt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Zt[Ht]=Yt,fe=(Zt,Ht)=>{for(var Yt in Ht||(Ht={}))re.call(Ht,Yt)&&ce(Zt,Yt,Ht[Yt]);if(he)for(var Yt of he(Ht))se.call(Ht,Yt)&&ce(Zt,Yt,Ht[Yt]);return Zt},le=({dataSource:Zt=[],value:Ht,onChange:Yt,onTitleChange:Cn,className:sr,title:Wn,titleWidth:Dn=41,style:kr={},fontColor:Er="#6A7283",showCount:Rr,classNameActive:br,styleItem:tr={}})=>{const[Nr,Qr]=(0,Oe.useState)(0),[_r,Fr]=(0,Oe.useState)(!1),jr=(0,Oe.useRef)(null),Pi=(0,Oe.useRef)(null);return(0,Oe.useEffect)(()=>{var di;Zt.length!==0&&(((di=jr==null?void 0:jr.current)==null?void 0:di.clientHeight)>97?Qr(1):Qr(0)),Zt.length===0&&Qr(0),Fr(!1)},[Zt]),Oe.createElement("div",{className:ae()(ie.row,sr),style:kr},Oe.createElement("div",{onClick:(0,ne.throttle)(()=>Cn==null?void 0:Cn(),2e3),style:{width:Dn,marginTop:_r?12:4},className:`${ie.title} ${Cn?"current":""}`},Wn),Oe.createElement("div",{className:_r?`${ie.tagsWrap} ${ie.tagsBorderWrap}`:ie.tagsWrap},Oe.createElement("div",{className:ie.bar,ref:Pi,style:Nr>0?{height:Nr===1?97:"auto",overflow:Nr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},Oe.createElement("div",{className:ie.tag,ref:jr},Zt==null?void 0:Zt.map(di=>Oe.createElement("span",{onClick:()=>Yt(di.id),key:di.id,style:fe(fe({color:Er},tr),(di==null?void 0:di.style)||{}),className:Ht===di.id?ae()(br||ie.active,di.classNameActive):""},Oe.createElement("span",{title:di.name,className:ie.name},di.name),!!Rr&&Oe.createElement("span",{className:ie.num},di.count))))),!!Nr&&Oe.createElement(Oe.Fragment,null,Nr===1?Oe.createElement("div",{onClick:()=>{var di;Qr(2),((di=jr==null?void 0:jr.current)==null?void 0:di.clientHeight)>245?Fr(!0):Fr(!1)},className:ie.action},"\u5C55\u5F00",Oe.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):Oe.createElement("div",{onClick:()=>{Pi.current.scrollTop=0,Qr(1),Fr(!1)},className:ie.action},"\u6536\u8D77",Oe.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Se={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"},ge=({dataSource:Zt=[],value:Ht,onChange:Yt,onTitleChange:Cn,className:sr,title:Wn,titleWidth:Dn=41,style:kr={},fontColor:Er="#6A7283",showCount:Rr,expand:br=!0})=>{const[tr,Nr]=(0,Oe.useState)(0),[Qr,_r]=(0,Oe.useState)(!1),Fr=(0,Oe.useRef)(null),jr=(0,Oe.useRef)(null),[Pi,di]=(0,Oe.useState)(br);return Oe.createElement("div",{className:ae()(Se.row,sr),style:kr},Oe.createElement("div",{className:"flex item-center justify-between"},Oe.createElement("div",{onClick:(0,ne.throttle)(()=>Cn==null?void 0:Cn(),2e3),style:{width:Dn,marginTop:Qr?12:4},className:`${Se.title} ${Cn?"current":""}`},Wn),Oe.createElement("i",{className:`iconfont ${Pi?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Pi?8:10},onClick:()=>di(!Pi)})),Pi&&Oe.createElement("div",{className:Qr?`${Se.tagsWrap} ${Se.tagsBorderWrap}`:Se.tagsWrap},Oe.createElement("div",{className:Se.fenge}),Oe.createElement("div",{className:Se.bar,ref:jr},Oe.createElement("div",{className:Se.tag,ref:Fr},Zt==null?void 0:Zt.map(Ai=>Oe.createElement("span",{onClick:()=>Yt(Ai.id),key:Ai.id,style:{color:Er},className:Ht===Ai.id?Se.active:""},Oe.createElement("span",{title:Ai.name,className:Se.name},Ai.name),!!Rr&&Oe.createElement("span",{className:Se.num},Ai.count)))))))},Me={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"},be=({dataSource:Zt=[],value:Ht,onChange:Yt,onTitleChange:Cn,className:sr,title:Wn,titleWidth:Dn=41,style:kr={},fontColor:Er="#fff",showCount:Rr,expand:br=!0})=>{const[tr,Nr]=(0,Oe.useState)(0),[Qr,_r]=(0,Oe.useState)(!1),Fr=(0,Oe.useRef)(null),jr=(0,Oe.useRef)(null),[Pi,di]=(0,Oe.useState)(br);return Oe.createElement("div",{className:ae()(Me.row,sr),style:kr},Oe.createElement("div",{className:"flex item-center justify-between"},Oe.createElement("div",{onClick:(0,ne.throttle)(()=>Cn==null?void 0:Cn(),2e3),style:{width:Dn},className:`${Me.title} ${Cn?"current":""}`},Wn),Oe.createElement("i",{className:`iconfont ${Pi?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Pi?"#00DDC7":"#037F74",fontSize:Pi?10:12},onClick:()=>di(!Pi)})),Pi&&Oe.createElement("div",{className:Qr?`${Me.tagsWrap} ${Me.tagsBorderWrap}`:Me.tagsWrap},Oe.createElement("div",{className:Me.bar,ref:jr},Oe.createElement("div",{className:Me.tag,ref:Fr},Zt==null?void 0:Zt.map(Ai=>Oe.createElement("span",{onClick:()=>Yt(Ai.id),key:Ai.id,style:{color:Er},className:Ht===Ai.id?Me.active:""},Oe.createElement("span",{title:Ai.name,className:Me.name},Ai.name),!!Rr&&Oe.createElement("span",{className:Me.num},Ai.count)))))))},Fe={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"},Ie=({dataSource:Zt=[],value:Ht,onChange:Yt,className:Cn,style:sr={}})=>Oe.createElement("div",{style:sr,className:ae()(Fe.tabs,Cn)},Zt.map(Wn=>Oe.createElement("span",{onClick:()=>Yt(Wn.id),className:Ht===Wn.id?Fe.active:"",key:Wn.id},Wn.name))),Le={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"},De=ve(69677),Ue=({dataSource:Zt=[],value:Ht="",onChange:Yt,onInputChange:Cn=()=>{},className:sr,style:Wn={},placeholder:Dn,allowClear:kr=!1})=>{var Er;const[Rr,br]=(0,Oe.useState)(""),[tr,Nr]=(0,Oe.useState)("");(0,Oe.useEffect)(()=>{var Fr;let jr=Ht;(Fr=JSON.stringify(Ht))!=null&&Fr.includes("{")&&(br(Ht.id),jr=Ht.value||"");try{Nr(decodeURIComponent(jr||""))}catch(Pi){Nr(decodeURIComponent(jr||""))}},[Ht]);const Qr=()=>{Yt(encodeURIComponent(tr),Rr||null)},_r=Fr=>{Fr!==Rr&&(br(Fr),Yt(encodeURIComponent(tr),Fr))};return Oe.createElement("div",{className:ae()(Le.input,sr),style:Wn},!!Zt.length&&Oe.createElement("div",{className:Le.dropdown},Oe.createElement("div",{className:Le.text},(Er=Zt.find(Fr=>Fr.id===Rr))==null?void 0:Er.name,Oe.createElement("i",{className:"iconfont icon-zhankai4"}),Oe.createElement("b",{className:Le.b1}),Oe.createElement("b",{className:Le.b2})),Oe.createElement("div",{className:Le.menu},Zt.map((Fr,jr)=>Oe.createElement("div",{key:jr,onClick:()=>_r(Fr.id)},Fr.name)))),Oe.createElement(De.default,{onPressEnter:Qr,value:tr,onChange:Fr=>{Nr(Fr.target.value),Cn(encodeURIComponent(Fr.target.value),Rr||null)},bordered:!1,placeholder:Dn}),Oe.createElement("i",{onClick:Qr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},_e={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"},Ze=({dataSource:Zt=[],value:Ht="",onChange:Yt,onInputChange:Cn=()=>{},className:sr,style:Wn={},placeholder:Dn,allowClear:kr=!1})=>{var Er;const[Rr,br]=(0,Oe.useState)(""),[tr,Nr]=(0,Oe.useState)("");(0,Oe.useEffect)(()=>{var Fr;let jr=Ht;(Fr=JSON.stringify(Ht))!=null&&Fr.includes("{")&&(br(Ht.id),jr=Ht.value||"");try{Nr(decodeURIComponent(jr||""))}catch(Pi){Nr(decodeURIComponent(jr||""))}},[Ht]);const Qr=()=>{Yt(encodeURIComponent(tr),Rr||null)},_r=Fr=>{Fr!==Rr&&(br(Fr),Yt(encodeURIComponent(tr),Fr))};return Oe.createElement("div",{className:ae()(_e.input,sr),style:Wn},!!Zt.length&&Oe.createElement("div",{className:_e.dropdown},Oe.createElement("div",{className:_e.text},(Er=Zt.find(Fr=>Fr.id===Rr))==null?void 0:Er.name,Oe.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),Oe.createElement("div",{className:_e.menu},Zt.map((Fr,jr)=>Oe.createElement("div",{key:jr,onClick:()=>_r(Fr.id)},Fr.name)))),Oe.createElement(De.default,{onPressEnter:Qr,value:tr,onChange:Fr=>{Nr(Fr.target.value),Cn(encodeURIComponent(Fr.target.value),Rr||null)},bordered:!1,placeholder:Dn}),Oe.createElement("i",{onClick:Qr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},et={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"},pt=({value:Zt,onChange:Ht,className:Yt,total:Cn,pageSize:sr,style:Wn={}})=>{const Dn=Zt<2,kr=Zt>=Math.ceil(Cn/sr);return Cn<=sr?Oe.createElement(Oe.Fragment,null):Oe.createElement("div",{className:ae()(et.quickPager,Yt),style:Wn},Oe.createElement("div",{onClick:()=>{Dn||Ht(Zt-1,"prev")},className:Dn?et.disabled:""},"\u4E0A\u4E00\u9875"),Oe.createElement("div",{onClick:()=>{kr||Ht(Zt+1,"next")},className:kr?et.disabled:""},"\u4E0B\u4E00\u9875"))},Xe={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"},Ge=ve(57953),lt=ve(83062),dt=ve(12604),st=ve(11320),nt=ve(28706),rt=ve(96908),it=ve(57177),gt=ve(81378),vt=ve(26194),Et=({className:Zt,dataSource:Ht=[],col:Yt=4,right:Cn,bottom:sr=23,precision:Wn=0,wrapWidth:Dn=1200,trackEventItems:kr,loading:Er})=>{const Rr=Math.floor((Dn-(Yt-1)*Cn)/Yt);return Oe.createElement(Ge.Z,{spinning:Er},Oe.createElement("div",{className:ae()(Xe.list,Zt)},!!Ht.length&&Ht.map((br,tr)=>{const{name:Nr,id:Qr,identifier:_r,power:Fr,cover_image_id:jr,pic:Pi}=br;return Oe.createElement("div",{className:Xe.wrap,key:Qr,style:{width:Rr,marginRight:(1+tr)%Yt===0?0:Cn+Wn,marginBottom:sr}},Oe.createElement("a",{target:"_blank",href:`/shixuns/${_r}/challenges`,className:Xe.li,onClick:di=>{di.preventDefault(),kr&&(0,nt.L9)([kr]),Fr&&(0,nt.xg)(`/shixuns/${_r}/challenges`)}},Oe.createElement("div",{className:Xe.img},Oe.createElement("img",{className:Xe.cover,src:`${Pi}`}),br.is_jupyter&&Oe.createElement("img",{className:Xe.sign,src:rt}),br.is_jupyter_lab&&Oe.createElement("img",{className:Xe.sign,src:it}),br.is_unity_3d&&Oe.createElement("img",{className:Xe.sign,src:gt})),Oe.createElement("div",{className:Xe.name},Oe.createElement(lt.Z,{title:Nr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},Oe.createElement("span",{className:Xe.e},Nr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),Oe.createElement("div",{className:Xe.tags},Oe.createElement(lt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},Oe.createElement("span",null,Oe.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),Oe.createElement("span",null,br.challenges_count))),!!br.myshixuns_count&&Oe.createElement(lt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Oe.createElement("span",null,Oe.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),Oe.createElement("span",null,br.myshixuns_count))),Oe.createElement(lt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},Oe.createElement("span",null,Oe.createElement("span",null,br.level))),Oe.createElement("div",{className:Xe.rate},Oe.createElement(dt.Z,{allowHalf:!0,disabled:!0,defaultValue:br.score_info}),Oe.createElement("span",null,"\xA0",br.score_info?`${br.score_info}\u5206`:"5\u5206")))),!Fr&&Oe.createElement("div",{className:Xe.lockWrap},Oe.createElement("img",{src:`${st.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Oe.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Ht.length&&Oe.createElement(vt.Z,null)))},ut={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},Ve=({className:Zt,dataSource:Ht=[],col:Yt=4,right:Cn,bottom:sr=23,precision:Wn=0,wrapWidth:Dn=1200,wrapClassName:kr,trackEventItems:Er,loading:Rr})=>{const br=Math.floor((Dn-(Yt-1)*Cn)/Yt);return Oe.createElement(Ge.Z,{spinning:Rr},Oe.createElement("div",{className:ae()(ut.list,Zt)},!!Ht.length&&Ht.map((tr,Nr)=>{const{name:Qr,id:_r,identifier:Fr,power:jr,cover_image_id:Pi,pic:di}=tr;return Oe.createElement("div",{className:ae()(ut.wrap,kr),key:_r,style:{width:br,marginRight:(1+Nr)%Yt===0?0:Cn+Wn,marginBottom:sr}},Oe.createElement("a",{target:"_blank",href:`/shixuns/${Fr}/challenges`,className:ut.li,onClick:Ai=>{Ai.preventDefault(),Er&&(0,nt.L9)([Er]),jr&&(0,nt.xg)(`/shixuns/${Fr}/challenges`)}},Oe.createElement("img",{src:ve(79633),className:ut.titleBg}),Oe.createElement("div",{className:ut.name},Oe.createElement(lt.Z,{title:Qr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},Oe.createElement("span",{className:ut.e},Qr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),Oe.createElement("div",{style:{padding:"14px",paddingBottom:0}},Oe.createElement("div",{className:ut.img},Oe.createElement("img",{className:ut.cover,src:Pi?`${st.Z.API_SERVER}/api/attachments/${Pi}`:`${st.Z.IMG_SERVER+di}`}),tr.is_jupyter&&Oe.createElement("div",{className:ut.bq},"Jupyter"),tr.is_jupyter_lab&&Oe.createElement("div",{className:ut.bq},"JupyterLab"),tr.is_unity_3d&&Oe.createElement("div",{className:ut.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),Oe.createElement("div",{className:"mt20 flex item-center justify-between"},Oe.createElement("div",null,Oe.createElement("span",{className:ut.text},"\u5B66\u4E60\u4EBA\u6570"),Oe.createElement("span",{className:ut.value},tr.myshixuns_count)),Oe.createElement("div",null,Oe.createElement("span",{className:ut.text},"\u56F0\u96BE\u7B49\u7EA7"),Oe.createElement("span",{className:ut.value},tr.level))),Oe.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},Oe.createElement("div",null,Oe.createElement("span",{className:ut.text},"\u5173\u5361\u6570"),Oe.createElement("span",{className:ut.value},tr.challenges_count)),Oe.createElement("div",{className:ut.rate},Oe.createElement(dt.Z,{allowHalf:!0,disabled:!0,defaultValue:tr.score_info}),Oe.createElement("span",{className:ut.value,style:{color:"#FF9C00"}},"\xA0",tr.score_info?`${tr.score_info}\u5206`:"5\u5206"))))),!jr&&Oe.createElement("div",{className:ut.lockWrap},Oe.createElement("img",{src:`${st.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Oe.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Ht.length&&Oe.createElement(vt.Z,null)))},de={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",r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Rmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Re=({className:Zt,dataSource:Ht=[],col:Yt=4,right:Cn,bottom:sr=23,precision:Wn=0,wrapWidth:Dn=1200,trackEventItems:kr,loading:Er,wrapClassName:Rr,imgClassName:br})=>{const tr=Math.floor((Dn-(Yt-1)*Cn)/Yt);return Oe.createElement(Ge.Z,{spinning:Er},Oe.createElement("div",{className:ae()(de.list,Zt)},!!Ht.length&&Ht.map((Nr,Qr)=>{const{name:_r,id:Fr,identifier:jr,power:Pi,cover_image_id:di,pic:Ai}=Nr;return Oe.createElement("div",{className:ae()(de.wrap,Rr),key:Fr,style:{width:tr,marginRight:(1+Qr)%Yt===0?0:Cn+Wn,marginBottom:sr}},Oe.createElement("a",{target:"_blank",href:`/shixuns/${jr}/challenges`,className:de.li,onClick:Ti=>{Ti.preventDefault(),kr&&(0,nt.L9)([kr]),Pi&&(0,nt.xg)(`/shixuns/${jr}/challenges`)}},Oe.createElement("div",{className:ae()(de.img,br)},Oe.createElement("img",{className:de.cover,src:di?`${st.Z.API_SERVER}/api/attachments/${di}`:`${st.Z.IMG_SERVER+Ai}`}),Nr.is_jupyter&&Oe.createElement("img",{className:de.sign,src:Ce}),Nr.is_jupyter_lab&&Oe.createElement("img",{className:de.sign,src:He}),Nr.is_unity_3d&&Oe.createElement("img",{className:de.sign,src:je})),Oe.createElement("div",{className:de.name},Oe.createElement(lt.Z,{title:_r||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},Oe.createElement("span",{className:de.e},_r||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),Oe.createElement("div",{className:de.tags},Oe.createElement(lt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},Oe.createElement("span",null,Oe.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),Oe.createElement("span",null,Nr.challenges_count))),!!Nr.myshixuns_count&&Oe.createElement(lt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Oe.createElement("span",null,Oe.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),Oe.createElement("span",null,Nr.myshixuns_count))),Oe.createElement(lt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},Oe.createElement("span",null,Oe.createElement("span",null,Nr.level))),Oe.createElement("div",{className:de.rate},Oe.createElement(dt.Z,{allowHalf:!0,disabled:!0,defaultValue:Nr.score_info}),Oe.createElement("span",null,"\xA0",Nr.score_info?`${Nr.score_info}\u5206`:"5\u5206")))),!Pi&&Oe.createElement("div",{className:de.lockWrap},Oe.createElement("img",{src:`${st.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Oe.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Ht.length&&Oe.createElement(vt.Z,null)))},ze=ve(5476),Qe={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"},ot=ve(79005),mt=ve(20345),Ot=ve(77882),xt=ve(31081),Wt=ve(75309),bn=ve(71979),Ft=ve(47558),Qt=ve(60345),Vt=ve(66832),yn=ve(96593),Pt=ve(19664),zt=ve(91833),an=Object.defineProperty,gn=Object.getOwnPropertySymbols,Tn=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable,fr=(Zt,Ht,Yt)=>Ht in Zt?an(Zt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Zt[Ht]=Yt,Tr=(Zt,Ht)=>{for(var Yt in Ht||(Ht={}))Tn.call(Ht,Yt)&&fr(Zt,Yt,Ht[Yt]);if(gn)for(var Yt of gn(Ht))Gn.call(Ht,Yt)&&fr(Zt,Yt,Ht[Yt]);return Zt};const Wr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:ot,swimg:mt},{name:"101\u8BA1\u5212",ptimg:Ot,swimg:xt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Wt,swimg:bn},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Ft,swimg:Qt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Vt,swimg:yn},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Pt,swimg:zt}];var Dr=({className:Zt,dataSource:Ht=[],col:Yt=4,right:Cn,bottom:sr=23,precision:Wn=0,wrapWidth:Dn=1200,trackEventItems:kr,loading:Er,wrapClassName:Rr,imgClassName:br,isArrow:tr=!1,imgStyle:Nr={}})=>{const Qr=Math.floor((Dn-(Yt-1)*Cn)/Yt),[_r,Fr]=(0,Oe.useState)(),[jr,Pi]=(0,Oe.useState)(),di=Ti=>Fr(Ti),Ai=()=>Fr(-1);return Oe.createElement(Ge.Z,{spinning:Er},Oe.createElement("div",{className:ae()(Qe.list,Zt)},!!(Ht!=null&&Ht.length)&&(Ht==null?void 0:Ht.map((Ti,Hi)=>{var Oi;const{name:ua,id:Ni,identifier:mi,featured:ea,school_name:da,image_url:Si,excellent:$a,is_plan:io}=Ti;return Oe.createElement("div",{key:Ni,className:ae()(Qe.wrap,Rr),style:{width:Qr,marginRight:(1+Hi)%Yt===0?0:Cn+Wn,marginBottom:sr}},Oe.createElement("a",{target:"_blank",href:`/paths/${mi}`,className:Qe.li,onClick:Za=>{Za.preventDefault(),kr&&(0,nt.L9)([kr]),(0,nt.xg)(`/paths/${mi}`)}},Oe.createElement("img",{src:ve(39057),className:Qe.titleBg}),Oe.createElement("div",{className:Qe.name},Oe.createElement(lt.Z,{title:ua},Oe.createElement("span",{className:Qe.e,style:{color:tr&&_r===Hi?"#145DFF":"#000000"},onMouseEnter:()=>{di(Hi)},onMouseLeave:Ai},ua))),Oe.createElement("div",{style:{padding:"14px",paddingBottom:0}},Oe.createElement("div",{className:ae()(Qe.img,br)},Oe.createElement("img",{className:Qe.cover,style:Tr({},Nr),src:`${st.Z.IMG_SERVER+Si}`}),(Oi=Ti==null?void 0:Ti.subject_tags)==null?void 0:Oi.map((Za,Ea)=>{var Yi,xo;if(Ea===0){const Fi=(Yi=Wr.find(Ba=>Ba.name==Za))==null?void 0:Yi.swimg;return Oe.createElement("img",{className:Qe.sign,src:Fi,style:{left:"-4px"}})}const Da=(xo=Wr.find(Fi=>Fi.name==Za))==null?void 0:xo.ptimg;return Oe.createElement("img",{className:Qe.sign,src:Da,style:{left:`${48+52*(Ea-1)+2*Ea}px`}})}),Oe.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Ti==null?void 0:Ti.excellent)&&Oe.createElement("div",{className:Qe.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Oe.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},Oe.createElement("div",null,Oe.createElement("span",{className:Qe.text},"\u7AE0\u8282\u6570"),Oe.createElement("span",{className:Qe.value},Ti.stages_count)),Oe.createElement("div",null,Oe.createElement("span",{className:Qe.text},"\u5B66\u4E60\u4EBA\u6570"),Oe.createElement("span",{className:Qe.value},Ti.members_count))))))})),!Ht.length&&Oe.createElement(vt.Z,null)))},ri={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"},Mi=ve(52262),$r=ve(67294);const Xi=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:ot,swimg:mt},{name:"101\u8BA1\u5212",ptimg:Ot,swimg:xt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Wt,swimg:bn},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Ft,swimg:Qt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Vt,swimg:yn},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Pt,swimg:zt}];var nn=({className:Zt,dataSource:Ht=[],col:Yt=4,right:Cn,bottom:sr=23,precision:Wn=0,wrapWidth:Dn=1200,trackEventItems:kr,loading:Er,onRemove:Rr=()=>{},isCurrent:br=!0,showAlias:tr=!1,wrapClassName:Nr,imgClassName:Qr})=>{const _r=Math.floor((Dn-(Yt-1)*Cn)/Yt),Fr=[{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(jr=>(window.ENV==="build"&&(jr.ptimg=`/react/build${jr.ptimg}`,jr.swimg=`/react/build${jr.swimg}`),jr));return $r.createElement(Ge.Z,{spinning:Er},$r.createElement("div",{className:ae()(ri.list,Zt)},!!(Ht!=null&&Ht.length)&&(Ht==null?void 0:Ht.map((jr,Pi)=>{var di;const{name:Ai,id:Ti,identifier:Hi,featured:Oi,school_name:ua,image_url:Ni,excellent:mi,is_plan:ea}=jr;return $r.createElement("div",{key:Ti,className:ae()(ri.wrap,Nr),style:{width:_r,marginRight:(1+Pi)%Yt===0?0:Cn+Wn,marginBottom:sr}},$r.createElement("a",{className:ri.li,onClick:da=>{da.preventDefault(),da.stopPropagation(),kr&&(0,nt.L9)([kr]),(0,nt.xg)(`/paths/${Hi}`)}},$r.createElement("div",{className:ae()(ri.img,Qr)},$r.createElement("img",{className:ri.cover,src:`${st.Z.IMG_SERVER+Ni}`}),br&&(0,Mi.bg)()&&(jr==null?void 0:jr.studying)&&$r.createElement("div",{className:`${ri.movebq} user-path-items`,onClick:da=>{da.stopPropagation(),Rr(jr)}},$r.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),$r.createElement("span",{className:"c-red"},"\u79FB\u9664")),(di=jr==null?void 0:jr.subject_tags)==null?void 0:di.map((da,Si)=>{var $a,io;if(Si===0){const Ea=($a=Fr.find(Yi=>Yi.name==da))==null?void 0:$a.swimg;return $r.createElement("img",{className:ri.sign,src:Ea,style:{left:"-4px"}})}const Za=(io=Fr.find(Ea=>Ea.name==da))==null?void 0:io.ptimg;return $r.createElement("img",{className:ri.sign,src:Za,style:{left:`${48+52*(Si-1)+2*Si}px`}})}),$r.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(jr==null?void 0:jr.excellent)&&$r.createElement("div",{className:ri.bq},"\u5F00\u653E\u8BFE\u7A0B"))),$r.createElement("div",{className:ri.name},$r.createElement(lt.Z,{title:tr&&(jr!=null&&jr.excellent_alias_name)?$r.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ai}`,$r.createElement("br",null),$r.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${jr==null?void 0:jr.excellent_alias_name}`)):Ai},$r.createElement("span",{className:ri.e},tr&&(jr==null?void 0:jr.excellent_alias_name)||Ai))),$r.createElement("div",{className:ri.tags},$r.createElement("div",null,$r.createElement(lt.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},$r.createElement("span",null,$r.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),$r.createElement("span",null,jr.stages_count))),$r.createElement(lt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},$r.createElement("span",null,$r.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),$r.createElement("span",null,jr.members_count)))))))})),!Ht.length&&$r.createElement(vt.Z,null)))},Jn={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"},hr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJ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Ht=[],col:Yt=4,right:Cn,bottom:sr=23,precision:Wn=0,wrapWidth:Dn=1200,trackEventItems:kr,loading:Er})=>{const Rr=Math.floor((Dn-(Yt-1)*Cn)/Yt);return Kn.createElement(Ge.Z,{spinning:Er},Kn.createElement("div",{className:ae()(Jn.list,Zt)},!!Ht.length&&Ht.map((br,tr)=>{const{subject_identifier:Nr,id:Qr,identifier:_r,power:Fr}=br,jr=br.is_public!=0&&br.is_public;return Kn.createElement("div",{className:Jn.wrap,key:Qr,style:{width:Rr,marginRight:(1+tr)%Yt===0?0:Cn+Wn,marginBottom:sr}},Kn.createElement("a",{className:Jn.li,onClick:Pi=>{Pi.preventDefault(),kr&&(0,nt.L9)([kr]),(0,nt.xg)(br.first_category_url)}},Kn.createElement("div",{className:Jn.top},Kn.createElement(lt.Z,{title:br.name},Kn.createElement("div",{className:Jn.name},br.name)),Kn.createElement("img",{className:Jn.img,src:st.Z.IMG_SERVER+"/images/"+br.avatar_url}),Kn.createElement("div",{className:Jn.text,title:br.creator},br.creator),Nr&&Kn.createElement("div",{className:Jn.btns},Kn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Kn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),jr&&Kn.createElement("div",{className:Jn.sign},"\u516C\u5F00")),Kn.createElement("div",{className:Jn.bottom},br.visits>0&&Kn.createElement(lt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Kn.createElement("span",null,Kn.createElement("i",{className:"iconfont icon-liulanyan"}),Kn.createElement("span",null,br.visits))),br.course_members_count>0&&Kn.createElement(lt.Z,{title:"\u6210\u5458",placement:"bottom"},Kn.createElement("span",null,Kn.createElement("i",{className:"iconfont icon-chengyuan"}),br.course_members_count)),br.tasks_count>0&&Kn.createElement(lt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Kn.createElement("span",null,Kn.createElement("i",{className:"iconfont icon-zuoye"}),br.tasks_count)),br.is_end?Kn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Kn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!br.is_accessible&&Kn.createElement("div",{className:Jn.lockWrap},Kn.createElement("img",{src:`${st.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Kn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Ht.length&&Kn.createElement(vt.Z,null)))},Or={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"},Mr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+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QDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",$t=({className:Zt,dataSource:Ht=[],col:Yt=4,right:Cn,bottom:sr=23,precision:Wn=0,wrapWidth:Dn=1200,wrapClassName:kr,trackEventItems:Er,loading:Rr})=>{const br=Math.floor((Dn-(Yt-1)*Cn)/Yt);return Oe.createElement(Ge.Z,{spinning:Rr},Oe.createElement("div",{className:ae()(Or.list,Zt)},!!Ht.length&&Ht.map((tr,Nr)=>{const{subject_identifier:Qr,id:_r,identifier:Fr,power:jr}=tr,Pi=tr.is_public!=0&&tr.is_public;return Oe.createElement("div",{className:ae()(`${Or.wrap} ${tr.is_accessible?"":Or.warpStyle}`,kr),key:_r,style:{width:br,marginRight:(1+Nr)%Yt===0?0:Cn+Wn,marginBottom:sr}},Oe.createElement("a",{className:Or.li,onClick:di=>{di.preventDefault(),Er&&(0,nt.L9)([Er]),(0,nt.xg)(tr.first_category_url)}},Oe.createElement("div",{className:Or.creator},Oe.createElement("img",{className:Or.img,src:st.Z.IMG_SERVER+"/images/"+tr.avatar_url}),Oe.createElement("div",{className:Or.text,title:tr.creator},tr.creator)),Oe.createElement("div",{className:Or.top},Oe.createElement(lt.Z,{title:tr.name},Oe.createElement("div",{className:Or.name},tr.name)),Pi&&Oe.createElement("div",{className:Or.sign},"\u516C\u5F00")),Oe.createElement("div",{className:Or.middle},Oe.createElement("div",{className:Or.row,style:{marginBottom:6}},Oe.createElement("div",null,Oe.createElement("span",{className:Or.text},"\u8BBF\u95EE\u91CF"),Oe.createElement("span",{className:Or.value},(tr==null?void 0:tr.visits)||0)),Oe.createElement("div",null,Oe.createElement("span",{className:Or.text},"\u6210\u5458"),Oe.createElement("span",{className:Or.value},(tr==null?void 0:tr.course_members_count)||0))),Oe.createElement("div",{className:Or.row},Oe.createElement("div",null,Oe.createElement("span",{className:Or.text,style:{width:42}},"\u4F5C",Oe.createElement("span",{style:{marginLeft:14}},"\u4E1A")),Oe.createElement("span",{className:Or.value},(tr==null?void 0:tr.tasks_count)||0)),Oe.createElement("div",null,Oe.createElement("span",{className:Or.text},"\u72B6\u6001"),tr.is_end?Oe.createElement("span",{className:Or.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):Oe.createElement("span",{className:Or.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Qr&&Oe.createElement("div",{className:Or.btns},Oe.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Oe.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!tr.is_accessible&&Oe.createElement("div",{className:Or.lockWrap},Oe.createElement("img",{src:`${st.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Oe.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Ht.length&&Oe.createElement(vt.Z,null)))},qt={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"},Nn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4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RYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",on=({className:Zt,dataSource:Ht=[],col:Yt=4,right:Cn,bottom:sr=23,precision:Wn=0,wrapWidth:Dn=1200,wrapClassName:kr,trackEventItems:Er,loading:Rr})=>{const br=Math.floor((Dn-(Yt-1)*Cn)/Yt);return Oe.createElement(Ge.Z,{spinning:Rr},Oe.createElement("div",{className:ae()(qt.list,Zt)},!!Ht.length&&Ht.map((tr,Nr)=>{const{subject_identifier:Qr,id:_r,identifier:Fr,power:jr}=tr,Pi=tr.is_public!=0&&tr.is_public;return Oe.createElement("div",{className:ae()(`${qt.wrap} ${tr.is_accessible?"":qt.warpStyle}`,kr),key:_r,style:{width:br,marginRight:(1+Nr)%Yt===0?0:Cn+Wn,marginBottom:sr}},Oe.createElement("a",{className:qt.li,onClick:di=>{di.preventDefault(),Er&&(0,nt.L9)([Er]),(0,nt.xg)(tr.first_category_url)}},Oe.createElement("div",{className:qt.creator},Oe.createElement("img",{className:qt.img,src:st.Z.IMG_SERVER+"/images/"+tr.avatar_url}),Oe.createElement("div",{className:qt.text,title:tr.creator},tr.creator)),Oe.createElement("div",{className:qt.top},Oe.createElement(lt.Z,{title:tr.name},Oe.createElement("div",{className:qt.name},tr.name)),Pi&&Oe.createElement("div",{className:qt.sign})),Oe.createElement("div",{className:qt.middle},Oe.createElement("div",{className:qt.row,style:{marginBottom:6}},Oe.createElement("div",null,Oe.createElement("span",{className:qt.text},"\u8BBF\u95EE\u91CF"),Oe.createElement("span",{className:qt.value},(tr==null?void 0:tr.visits)||0)),Oe.createElement("div",null,Oe.createElement("span",{className:qt.text},"\u6210\u5458"),Oe.createElement("span",{className:qt.value},(tr==null?void 0:tr.course_members_count)||0))),Oe.createElement("div",{className:qt.row},Oe.createElement("div",null,Oe.createElement("span",{className:qt.text,style:{width:42}},"\u4F5C",Oe.createElement("span",{style:{marginLeft:14}},"\u4E1A")),Oe.createElement("span",{className:qt.value},(tr==null?void 0:tr.tasks_count)||0)),Oe.createElement("div",null,Oe.createElement("span",{className:qt.text},"\u72B6\u6001"),tr.is_end?Oe.createElement("span",{className:qt.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):Oe.createElement("span",{className:qt.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Qr&&Oe.createElement("div",{className:qt.btns},Oe.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Oe.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!tr.is_accessible&&Oe.createElement("div",{className:qt.lockWrap},Oe.createElement("img",{src:`${st.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Oe.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Ht.length&&Oe.createElement(vt.Z,null)))},kn={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"},pn=ve(35973),Rn=({dataSource:Zt=[],value:Ht,onChange:Yt,className:Cn,style:sr={},tabBarExtraContent:Wn})=>Oe.createElement("div",{className:ae()(kn.tabs,Cn),style:sr},Oe.createElement("div",{className:kn.tabsWrap},Zt.map((Dn,kr)=>Oe.createElement("aside",{className:kn.tab,onClick:()=>{Yt(Dn.id),Dn.link&&pn.history.push(Dn.link)},key:kr},Oe.createElement("div",{className:Ht===Dn.id?kn.active:""},Dn.name),(Dn==null?void 0:Dn.resetCount)==null&&(Dn==null?void 0:Dn.total)!==void 0&&Oe.createElement("span",null,"\uFF08",Dn==null?void 0:Dn.total,"\uFF09"),(Dn==null?void 0:Dn.resetCount)!==void 0&&(Dn==null?void 0:Dn.total)!==void 0&&Oe.createElement(lt.Z,{title:(Dn==null?void 0:Dn.tip)!=null?Dn==null?void 0:Dn.tip:""},Oe.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Oe.createElement("span",{style:{color:"#000"}},Dn==null?void 0:Dn.resetCount),"/",Oe.createElement("span",null,Dn==null?void 0:Dn.total),"\uFF09"))))),Oe.createElement("div",{className:kn.tabBar},Wn)),pr={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Lr=({dataSource:Zt=[],value:Ht,onChange:Yt,className:Cn,style:sr={},tabBarExtraContent:Wn})=>Oe.createElement("div",{className:ae()(pr.tabs,Cn),style:sr},Oe.createElement("div",{className:pr.tabsWrap},Zt.map((Dn,kr)=>Oe.createElement("aside",{className:pr.tab,onClick:()=>{Yt(Dn.id),Dn.link&&pn.history.push(Dn.link)},key:kr},Oe.createElement("div",{className:Ht===Dn.id?pr.active:""},Dn.name),(Dn==null?void 0:Dn.resetCount)==null&&(Dn==null?void 0:Dn.total)!==void 0&&Oe.createElement("span",null,"\uFF08",Dn==null?void 0:Dn.total,"\uFF09"),(Dn==null?void 0:Dn.resetCount)!==void 0&&(Dn==null?void 0:Dn.total)!==void 0&&Oe.createElement(lt.Z,{title:(Dn==null?void 0:Dn.tip)!=null?Dn==null?void 0:Dn.tip:""},Oe.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Oe.createElement("span",{style:{color:"#000"}},Dn==null?void 0:Dn.resetCount),"/",Oe.createElement("span",null,Dn==null?void 0:Dn.total),"\uFF09"))))),Oe.createElement("div",{className:pr.tabBar},Wn)),Ir={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},Zr=({dataSource:Zt=[],value:Ht,onChange:Yt,className:Cn,style:sr={},tabBarExtraContent:Wn})=>Oe.createElement("div",{className:ae()(Ir.tabs,Cn),style:sr},Oe.createElement("div",{className:Ir.tabsWrap},Zt.map((Dn,kr)=>Oe.createElement("aside",{className:`${Ir.tab} ${Ht===Dn.id?Ir.active:""}`,onClick:()=>{Yt(Dn.id),Dn.link&&pn.history.push(Dn.link)},key:kr},Oe.createElement("div",null,Dn.name),(Dn==null?void 0:Dn.resetCount)==null&&(Dn==null?void 0:Dn.total)!==void 0&&Oe.createElement("span",null,"\uFF08",Dn==null?void 0:Dn.total,"\uFF09"),(Dn==null?void 0:Dn.resetCount)!==void 0&&(Dn==null?void 0:Dn.total)!==void 0&&Oe.createElement(lt.Z,{title:(Dn==null?void 0:Dn.tip)!=null?Dn==null?void 0:Dn.tip:""},Oe.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Oe.createElement("span",{style:{color:"#000"}},Dn==null?void 0:Dn.resetCount),"/",Oe.createElement("span",null,Dn==null?void 0:Dn.total),"\uFF09"))))),Oe.createElement("div",{className:Ir.tabBar},Wn)),Jt=({className:Zt,style:Ht={},children:Yt})=>Oe.createElement("div",{className:ae()(Zt),style:Ht},Yt),cn={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"},er=ve(85418),Ar=ve(68508);const Fn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ir=({sortValue:Zt,dropValue:Ht,className:Yt,onSort:Cn,onDrop:sr,dataSource:Wn=Fn})=>{var Dn;return Oe.createElement("div",{className:ae()(cn.orderWrap,Yt)},Oe.createElement(er.Z,{dropdownRender:()=>Oe.createElement(Ar.default,null,Wn.map((kr,Er)=>Oe.createElement(Ar.default.Item,{key:Er,onClick:()=>sr(kr.id)},kr.name)))},Oe.createElement("span",{className:cn.orderTextWrap},(Dn=Wn.find(kr=>Ht===kr.id))==null?void 0:Dn.name)),Oe.createElement("span",{className:cn.orderIconWrap},Oe.createElement("span",{className:cn.orderAsc},Oe.createElement("i",{className:Zt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${cn.cursorPointer} ${cn.active}`:`iconfont icon-sanjiaoxing-up font12 ${cn.cursorPointer}`,onClick:()=>Cn(Zt==="asc"?"desc":"asc")})),Oe.createElement("span",{className:cn.orderDesc},Oe.createElement("i",{className:Zt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${cn.cursorPointer} ${cn.active}`:`iconfont icon-sanjiaoxing-down font12 ${cn.cursorPointer}`,onClick:()=>Cn(Zt==="asc"?"desc":"asc")}))))},wr={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 Vr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var _i=({sortValue:Zt,dropValue:Ht,className:Yt,onSort:Cn,onDrop:sr,dataSource:Wn=Vr})=>{var Dn;return Oe.createElement("div",{className:ae()(wr.orderWrap,Yt)},Oe.createElement(er.Z,{dropdownRender:()=>Oe.createElement(Ar.default,null,Wn.map((kr,Er)=>Oe.createElement(Ar.default.Item,{key:Er,onClick:()=>sr(kr.id)},kr.name)))},Oe.createElement("span",{className:wr.orderTextWrap},(Dn=Wn.find(kr=>Ht===kr.id))==null?void 0:Dn.name)),Oe.createElement("span",{className:wr.orderIconWrap},Oe.createElement("span",{className:wr.orderAsc},Oe.createElement("i",{className:Zt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${wr.cursorPointer} ${wr.active}`:`iconfont icon-sanjiaoxing-up font12 ${wr.cursorPointer}`,onClick:()=>Cn(Zt==="asc"?"desc":"asc")})),Oe.createElement("span",{className:wr.orderDesc},Oe.createElement("i",{className:Zt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${wr.cursorPointer} ${wr.active}`:`iconfont icon-sanjiaoxing-down font12 ${wr.cursorPointer}`,onClick:()=>Cn(Zt==="asc"?"desc":"asc")}))))},gi={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"},ma=ve(71577),ga=ve(52810),la=Object.defineProperty,_a=Object.getOwnPropertySymbols,$i=Object.prototype.hasOwnProperty,Ui=Object.prototype.propertyIsEnumerable,ya=(Zt,Ht,Yt)=>Ht in Zt?la(Zt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Zt[Ht]=Yt,Ka=(Zt,Ht)=>{for(var Yt in Ht||(Ht={}))$i.call(Ht,Yt)&&ya(Zt,Yt,Ht[Yt]);if(_a)for(var Yt of _a(Ht))Ui.call(Ht,Yt)&&ya(Zt,Yt,Ht[Yt]);return Zt},Ri=(Zt,Ht)=>{var Yt={};for(var Cn in Zt)$i.call(Zt,Cn)&&Ht.indexOf(Cn)<0&&(Yt[Cn]=Zt[Cn]);if(Zt!=null&&_a)for(var Cn of _a(Zt))Ht.indexOf(Cn)<0&&Ui.call(Zt,Cn)&&(Yt[Cn]=Zt[Cn]);return Yt},ca=(Zt,Ht,Yt)=>new Promise((Cn,sr)=>{var Wn=Er=>{try{kr(Yt.next(Er))}catch(Rr){sr(Rr)}},Dn=Er=>{try{kr(Yt.throw(Er))}catch(Rr){sr(Rr)}},kr=Er=>Er.done?Cn(Er.value):Promise.resolve(Er.value).then(Wn,Dn);kr((Yt=Yt.apply(Zt,Ht)).next())}),ro=Zt=>{var Ht=Zt,{className:Yt,style:Cn,children:sr,loading:Wn=!1,openLoading:Dn,onClick:kr=()=>{},size:Er="middle",shape:Rr="round",theme:br}=Ht,tr=Ri(Ht,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Nr,Qr]=(0,Oe.useState)(!1),_r=(0,Oe.useMemo)(()=>{switch(br){case ga.Fy.THEMEONE:return gi.ThemeOne;case ga.Fy.DEFAULT:default:return gi.btn}},[br]);return Oe.createElement(ma.ZP,Ka({onClick:(0,ne.throttle)(Fr=>ca(void 0,null,function*(){Dn&&Qr(!0);try{yield kr(Fr)}catch(jr){console.log("error",jr)}Dn&&Qr(!1)}),2e3,{leading:!0,trailing:!1}),className:ae()(_r,gi[`${Er}-${Rr}`],Yt),style:Cn,size:Er,shape:Rr,loading:Nr||Wn},tr),sr)},Ya={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"},mn=({className:Zt,style:Ht,children:Yt=null,onClick:Cn,title:sr})=>Oe.createElement("div",{className:ae()(Ya.head,Zt),style:Ht},Oe.createElement("span",{className:"primary-hover",onClick:Cn},Oe.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),Oe.createElement("b",{title:sr},sr),Oe.createElement("div",{className:Ya.node},Yt)),sn={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"},ar=({confirmShow:Zt=!0,confirmTitle:Ht,confirmClick:Yt,cancelShow:Cn=!0,cancelTitle:sr,cancelClick:Wn,className:Dn,style:kr,confirmLoading:Er=!1})=>Oe.createElement("div",{className:ae()(sn.btns,Dn),style:kr},Zt&&Oe.createElement(ma.ZP,{loading:Er,onClick:Yt,type:"primary",className:sn.confirm},Ht),Cn&&Oe.createElement(ma.ZP,{onClick:Wn,className:sn.cancel},sr)),gr={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"},ai=({className:Zt,style:Ht={},LeftContent:Yt,children:Cn,RightContent:sr})=>Oe.createElement("div",{className:ae()(gr.fixedBottom,Zt),style:Ht},Oe.createElement("div",{className:gr.wrap},Oe.createElement("div",{className:gr.left},Yt),Oe.createElement("div",{className:gr.center},Cn),Oe.createElement("div",{className:gr.right},sr))),pi={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"},yi=({className:Zt,style:Ht={},dataSource:Yt=[]})=>Oe.createElement("div",{className:ae()(pi.crumbs,Zt),style:Ht},Yt.map((Cn,sr)=>sr<Yt.length-1?Oe.createElement(Oe.Fragment,{key:sr},Cn.path||Cn.onClick?Oe.createElement("span",{className:pi.hover,onClick:Cn!=null&&Cn.onClick?Cn.onClick:()=>pn.history.push(Cn.path)},Cn.name):Oe.createElement("span",null,Cn.name),Oe.createElement("span",null,"\xA0",">","\xA0")):Oe.createElement("span",{key:sr,style:{color:"#5F6368"}},Cn.name))),ji=ve(55054),qi=Object.defineProperty,oi=Object.defineProperties,Sn=Object.getOwnPropertyDescriptors,Ln=Object.getOwnPropertySymbols,Yn=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,yt=(Zt,Ht,Yt)=>Ht in Zt?qi(Zt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Zt[Ht]=Yt,St=(Zt,Ht)=>{for(var Yt in Ht||(Ht={}))Yn.call(Ht,Yt)&&yt(Zt,Yt,Ht[Yt]);if(Ln)for(var Yt of Ln(Ht))qe.call(Ht,Yt)&&yt(Zt,Yt,Ht[Yt]);return Zt},Dt=(Zt,Ht)=>oi(Zt,Sn(Ht)),Tt=(Zt,Ht)=>{var Yt={};for(var Cn in Zt)Yn.call(Zt,Cn)&&Ht.indexOf(Cn)<0&&(Yt[Cn]=Zt[Cn]);if(Zt!=null&&Ln)for(var Cn of Ln(Zt))Ht.indexOf(Cn)<0&&qe.call(Zt,Cn)&&(Yt[Cn]=Zt[Cn]);return Yt};const{Countdown:Nt}=ji.default;var rn=Zt=>{var Ht=Zt,{onChange:Yt}=Ht,Cn=Tt(Ht,["onChange"]);const[sr,Wn]=(0,Oe.useState)(null);(0,Oe.useEffect)(()=>{typeof sr=="number"&&sr>=0&&Yt(sr)},[sr]);const Dn=kr=>{const Er=Math.floor(kr/1e3);Wn(Er)};return Oe.createElement(Nt,Dt(St({},Cn),{onChange:Dn}))},vn={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},$n=({DataProps:Zt,className:Ht,style:Yt={}})=>{var Cn;return Oe.createElement("div",{className:ae()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",vn.ClassRoomItem,Ht),style:Yt,onClick:()=>{(0,nt.xg)(Zt==null?void 0:Zt.first_category_url)}},Oe.createElement("div",{className:"flex flex-col item-center"},Oe.createElement("img",{src:`${(Cn=st.Z)==null?void 0:Cn.IMG_SERVER}/images/${Zt==null?void 0:Zt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Zt==null?void 0:Zt.subject_identifier)&&Oe.createElement("div",{className:"mt-40px"},Oe.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),Oe.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),Oe.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},Oe.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Zt!=null&&Zt.is_public)&&Oe.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"),Oe.createElement("span",{className:ae()("text-16px font-medium",vn.TitleDom)},Zt==null?void 0:Zt.name)),Oe.createElement("div",{className:"c-grey-333 font-medium"},Zt==null?void 0:Zt.creator),Oe.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Zt==null?void 0:Zt.course_members_count),Oe.createElement("div",{className:"c-grey-333 flex item-center justify-between"},Oe.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Zt==null?void 0:Zt.tasks_count),Zt!=null&&Zt.is_end?Oe.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):Oe.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Xn=Object.defineProperty,On=Object.getOwnPropertySymbols,In=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,Hn=(Zt,Ht,Yt)=>Ht in Zt?Xn(Zt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Zt[Ht]=Yt,mr=(Zt,Ht)=>{for(var Yt in Ht||(Ht={}))In.call(Ht,Yt)&&Hn(Zt,Yt,Ht[Yt]);if(On)for(var Yt of On(Ht))En.call(Ht,Yt)&&Hn(Zt,Yt,Ht[Yt]);return Zt},or=({DataProps:Zt=[],selectValue:Ht,onChange:Yt,className:Cn,style:sr={},extra:Wn,classNameItem:Dn,styleItem:kr={},barHidden:Er})=>{const[Rr,br]=(0,Oe.useState)();return(0,Oe.useEffect)(()=>{br(Array.isArray(Ht)?Ht:[Ht])},[Ht]),Oe.createElement("div",{className:ae()("flex px-20px py-10px gap-40px",Cn),style:mr({borderBottom:"1px solid #D3F0FF"},sr)},Zt==null?void 0:Zt.map(tr=>Oe.createElement("div",{key:tr==null?void 0:tr.id,className:ae()("flex item-center justify-center current c-grey-333 text-16 relative",Dn,tr==null?void 0:tr.className),style:mr(mr({color:Rr!=null&&Rr.includes(tr==null?void 0:tr.id)?"#1890FF":"",minWidth:88},kr),(tr==null?void 0:tr.style)||{}),onClick:Nr=>{Yt==null||Yt({domEvent:Nr,item:tr}),tr!=null&&tr.link&&pn.history.push(tr==null?void 0:tr.link)}},tr==null?void 0:tr.name,!Er&&(Rr==null?void 0:Rr.includes(tr==null?void 0:tr.id))&&Oe.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),Oe.createElement("div",{className:"ml-auto"},Wn))},ur=Object.defineProperty,yr=Object.defineProperties,Sr=Object.getOwnPropertyDescriptors,kt=Object.getOwnPropertySymbols,It=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,Xt=(Zt,Ht,Yt)=>Ht in Zt?ur(Zt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Zt[Ht]=Yt,wn=(Zt,Ht)=>{for(var Yt in Ht||(Ht={}))It.call(Ht,Yt)&&Xt(Zt,Yt,Ht[Yt]);if(kt)for(var Yt of kt(Ht))en.call(Ht,Yt)&&Xt(Zt,Yt,Ht[Yt]);return Zt},zn=(Zt,Ht)=>yr(Zt,Sr(Ht)),dr=({value:Zt,onChange:Ht,onInputChange:Yt,className:Cn,style:sr={},InputProps:Wn})=>{const[Dn,kr]=(0,Oe.useState)(Zt);return Oe.createElement("div",{className:ae()("flex item-center rounded-full px-10px py-2px",Cn),style:wn({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},sr)},Oe.createElement(De.default,zn(wn({bordered:!1},Wn),{onChange:Er=>{kr(Er.target.value),Yt==null||Yt(encodeURIComponent(Er.target.value))},onPressEnter:Er=>{Ht==null||Ht({domEvent:Er,item:{value:Dn}})}})),Oe.createElement("img",{className:"h-22px current",src:ve(25365),height:22,onClick:Er=>{Ht==null||Ht({domEvent:Er,item:{value:Dn}})}}))}},99914:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return $e}});var Oe=ve(67294);function $e(x,Te){const me=(0,Oe.useRef)();(0,Oe.useEffect)(()=>{me.current=x}),(0,Oe.useEffect)(()=>{function ie(){me.current()}if(Te!==null){let te=setInterval(ie,Te);return()=>clearInterval(te)}},[Te])}},69223:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return De}});var Oe=ve(67294),$e=ve(22150),x=ve(72565),Te=ve(14446),me=ve(2453),ie=ve(84567),te=ve(36295),ae=ve(19522),ne=ve(76621),oe=ve(40471),he={"code-panel-container":"code-panel-container___RFtv_","action-oj-bar":"action-oj-bar___ByFmZ",active:"active___s9gT5",tip:"tip___XZhl7"},re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAcCAYAAAAJKR1YAAAAAXNSR0IArs4c6QAAA8pJREFUWEfdl1toHUUYx//f7p7LbnIuSU4bk2JqS3qxbTA9FsQXBamJNMVS8CEPAfGhakQFUaHQh2Kp4IPgBfTBBx9UUHyQGgslscGCIr2QHlpfWg1pktPW0rTunvttdqadTY85yUmTTXJSwe9pZ3dm/r/5f8PMtzQYs96FwEEI0Yj/KojGVUV5Y3dn8DgNnrduV8IQAWtCXty0iggYGmybI1vgiIS8MFNF2Hx1qInoRFc0vIcGR0xRKaEqQGuTH/GpPBqDHjDGkczaWBfxOZAlNqt77eiIznZHw09UAWkqIaCrEKDaiVXNJJDMM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nPropertyDescriptors,xe=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,ye=(Ue,_e,We)=>_e in Ue?pe(Ue,_e,{enumerable:!0,configurable:!0,writable:!0,value:We}):Ue[_e]=We,be=(Ue,_e)=>{for(var We in _e||(_e={}))ge.call(_e,We)&&ye(Ue,We,_e[We]);if(xe)for(var We of xe(_e))Me.call(_e,We)&&ye(Ue,We,_e[We]);return Ue},Fe=(Ue,_e)=>le(Ue,Se(_e));const ke={theme:(0,oe.G)("cmCodeMode","vs-dark"),fontSize:(0,oe.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,oe.G)("cmTabToSpace",!0)};var Ie=(Ue=>(Ue[Ue.set_font_size=0]="set_font_size",Ue[Ue.set_theme=1]="set_theme",Ue[Ue.on_tab_to_space=2]="on_tab_to_space",Ue[Ue.set_show_editor_setting=3]="set_show_editor_setting",Ue))(Ie||{});function Le(Ue,_e){switch(_e.type){case 3:return Fe(be({},Ue),{showEditorSetting:_e.payload});case 1:return Fe(be({},Ue),{theme:_e.payload});case 0:return Fe(be({},Ue),{fontSize:_e.payload});case 2:return Fe(be({},Ue),{tabToSpace:_e.payload});default:throw new Error}}var De=({isLoading:Ue,value:_e=[],onChange:We,form:Ze})=>{var et;const[at,pt]=(0,Oe.useReducer)(Le,ke),{theme:Xe,fontSize:Ge,showEditorSetting:lt,tabToSpace:dt}=at,[st,nt]=(0,Oe.useState)("C"),[rt,it]=(0,Oe.useState)(!1),[gt,vt]=(0,Oe.useState)([]),At=(0,Oe.useRef)([]),Et=$e.default.useWatch(["hack","languages"],Ze);(0,Oe.useEffect)(()=>{_e!=null&&_e.length&&(At.current=(0,se.cloneDeep)(_e))},[_e]),(0,Oe.useEffect)(()=>{rt&&vt(Et)},[rt]),(0,Oe.useEffect)(()=>{nt(Et==null?void 0:Et[0])},[Et]);const ut={onFontSizeChange:je=>{pt({type:0,payload:je}),(0,oe.t)("cmFontSize",je)},tabToSpace:dt,cmFontSize:Ge,className:"oj",cmCodeMode:Xe,onTabToSpace:je=>{pt({type:2,payload:je}),(0,oe.t)("cmTabToSpace",je)},onCodeModeChange:je=>{pt({type:1,payload:je}),(0,oe.t)("cmCodeMode",je)}};function Ye(){pt({type:3,payload:!1})}function Ve(){pt({type:3,payload:!0})}function de(je){var Ae;const Re=(Ae=At.current)==null?void 0:Ae.map(ze=>(ze.language===st&&(ze.code=je),ze));At.current=(0,se.cloneDeep)(Re),We(Re)}const Ce={key:st,value:(et=_e==null?void 0:_e.find(je=>je.language===st))==null?void 0:et.code,language:st,onChange:de,theme:"vs",height:"calc(100% - 40px)",options:{fontSize:Ge,insertSpaces:dt}};console.log(888,_e,Et);const He=_e.filter(je=>Et==null?void 0:Et.includes(je.language));return fe.createElement(Oe.Fragment,null,fe.createElement("div",{className:he["code-panel-container"]},fe.createElement(Be,{setVisible:it,languageItems:He,onLanguage:je=>nt(je),language:st,onShowCodeSetting:Ve}),!Ue&&fe.createElement(te.ZP,be({},Ce))),fe.createElement(ne.Z,null,fe.createElement(x.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:lt,onClose:Ye},fe.createElement(ae.Z,be({},ut)))),fe.createElement(Te.default,{centered:!0,open:rt,title:"\u7F16\u7A0B\u8BED\u8A00\u914D\u7F6E",width:564,onOk:()=>{if(!gt.length){me.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}Ze.setFieldValue(["hack","languages"],gt),it(!1)},onCancel:()=>it(!1)},fe.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},fe.createElement(ie.default.Group,{value:gt,options:[{label:"C\u8BED\u8A00",value:"C"},{label:"C++\u8BED\u8A00",value:"C++",style:{marginLeft:30}},{label:"Java\u8BED\u8A00",value:"Java",style:{marginLeft:30}},{label:"Python\u8BED\u8A00",value:"Python",style:{marginLeft:30}}],onChange:je=>{vt(je)}}))))};function Be({languageItems:Ue,language:_e,onShowCodeSetting:We,onLanguage:Ze,setVisible:et}){return fe.createElement("div",{className:he["action-oj-bar"]},Ue==null?void 0:Ue.map(at=>fe.createElement("aside",{className:_e===(at==null?void 0:at.language)?he.active:"",onClick:()=>Ze(at==null?void 0:at.language),key:at==null?void 0:at.language},fe.createElement("i",{className:"iconfont icon-bianchengyuyan1"}),fe.createElement("span",null,at==null?void 0:at.language))),fe.createElement("div",{className:he.tip},fe.createElement("i",{className:"iconfont icon-tishi12 font14",style:{color:"#FEB636",marginRight:3}}),fe.createElement("span",null,"\u8BBE\u7F6E\u521D\u59CB\u4EE3\u7801\uFF0C\u4E3A\u5B66\u751F\u63D0\u4F9B\u660E\u786E\u7F16\u8BD1\u8D77\u70B9")),fe.createElement(ce.op,{onClick:()=>et(!0),shape:"default"},fe.createElement("img",{src:re,width:18,style:{marginRight:8}}),"\u7F16\u7A0B\u8BED\u8A00\u914D\u7F6E"))}},55834:function(tn,Kt,ve){"use strict";ve.d(Kt,{GM:function(){return ae},MK:function(){return te},PR:function(){return $e},ZS:function(){return oe},d1:function(){return x},fu:function(){return Te},j2:function(){return ne},l_:function(){return me},uE:function(){return he},zQ:function(){return ie}});var Oe=ve(33170);function $e(){return(0,Oe.U2)("problems/new.json")}function x(se="question"){return(0,Oe.U2)("disciplines.json",{source:se})}function Te(se){return(0,Oe.U2)(`problems/${se}/edit.json`)}function me(se,ce){return(0,Oe.gz)(`problems/${se}.json`,ce)}function ie(se){return(0,Oe.v_)("problems.json",se)}function te(se,ce){return(0,Oe.v_)(`exercises/${se}/exercise_questions.json`,ce)}function ae(se,ce){return(0,Oe.gz)(`exercise_questions/${se}.json`,ce)}function ne(se){return(0,Oe.v_)(`problems/${se}/publish.json`)}function oe(se){return(0,Oe.v_)(`problems/${se}/cancel_publish.json`)}function he(se){return(0,Oe.U2)(`problems/${se}/start.json`)}function re(se,ce){return post("tag_disciplines.json",{name:ce,sub_discipline_id:se})}},44048:function(tn,Kt,ve){"use strict";ve.d(Kt,{D0:function(){return te},R8:function(){return Te},jw:function(){return ie},y3:function(){return ae}});var Oe=ve(11713),$e=ve(67294);const{Option:x}=Oe.default;var Te=(ne=>(ne[ne.language=0]="language",ne[ne.difficult=1]="difficult",ne[ne.category=2]="category",ne[ne.openOrNot=3]="openOrNot",ne))(Te||{});const me={0:[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],1:[{title:"\u7B80\u5355",key:1},{title:"\u4E2D\u7B49",key:2},{title:"\u56F0\u96BE",key:3}],2:[{title:"\u7A0B\u5E8F\u8BBE\u8BA1",key:1},{title:"\u7B97\u6CD5",key:2}],3:[{title:"\u516C\u5F00",key:1},{title:"\u79C1\u6709",key:0}]};function ie(ne){return me[ne].map(oe=>$e.createElement(x,{key:oe.title,value:oe.key}," ",oe.title," "))}function te(ne,oe){ne.map(he=>{const{id:re,name:se,sub_disciplines:ce}=he;let fe={value:re,label:se};oe.push(fe),ce&&ce.length>0&&(fe.children=[],te(ce,fe.children))})}function ae(ne,oe){var he;let re=[];for(let se=0;se<ne.length;se++){const ce=ne[se];if(((he=ce.sub_disciplines)==null?void 0:he.length)>0){re[0]=ce.id;for(let fe=0;fe<ce.sub_disciplines.length;fe++){const pe=ce.sub_disciplines[fe];if(pe.id===oe)return re[1]=pe.id,[re,pe.tag_disciplines||pe.sub_disciplines||[]]}}}return[re,[]]}},32259:function(tn,Kt,ve){"use strict";ve.d(Kt,{Y2:function(){return Ze},ZP:function(){return et}});var Oe=ve(67294),$e=ve(59810),x=ve(2453),Te=ve(14446),me=ve(71230),ie=ve(78045),te=ve(71577),ae=ve(84567),ne=ve(83062),oe=ve(69677),he={wrap:"wrap___MkYbQ",colorBlue:"colorBlue___onjbP",repeatedName:"repeatedName___nbqnE",text:"text___xvutp",greyText:"greyText___dihvZ",noData:"noData___LxOJA",dragger:"dragger___y7F4A",uploadText:"uploadText___Et3KS",btnS:"btnS___k1e6j",testCaseRadio:"testCaseRadio___q1wXT",head:"head___s4Eix",operation:"operation___JCAVh",headProgram:"headProgram___uWA_M",listWrapper:"listWrapper___xW3b4",list:"list___dCbd6",del:"del___abNho",info:"info___J1Wmf"},re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8ZUq4FZqnIr/YBYQTEZ6lKBDreNshQYxvf9v6+He298khUAYsnS0fGeAsBLmBvj+JWnmULNFs2BWLp29LxSYL4qMczXJLa4Se9Nf7aYiY4CsUTh6MbWsUoOsMUUywrExJLRYakAW8cq+UBVJpAViAnEoinV16Y5QFUWJTcQi5KJRtcKUIFtlBOA7KnQQOypRDS42D5yeN8iIdhePlAdiLVISaNzUn01No6rGKsGALHGeWllegCmxCm2lzdGADEluak5DACmzB1AdmEIEFOWn9rCAWDaHDnGA8jOxgAxpTmqIayXt/0vbt9rcOJODIBsFgaIKc7RlqFRgbVUXzA3IANignTppikAM2Z15yCjEjOWr7XDBWC1Fa40fscgA2KVcsrisADMomuLmDsFGRAznrelwj++Rmc6yOdjWYEOL8QCMcsJWyh2AFZISCXD7P976ernuqvFKskxVWEAMFV2lAmms20lECuTNmZH4S6YWeseB94RyICY0xyOWRYH+TEqGW7TCciAmOEczQmdbWSOenb69nA+BsTs5GPRSNlGFpVT72AdVGNATG/6VYuMbWQ1a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90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",se=ve(56448),ce=ve.n(se),fe=ve(33170),pe=ve(25934),le=ve(28706),Se=ve(91613),xe=ve(67294),ge=Object.defineProperty,Me=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ie=(at,pt,Xe)=>pt in at?ge(at,pt,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):at[pt]=Xe,Le=(at,pt)=>{for(var Xe in pt||(pt={}))Fe.call(pt,Xe)&&Ie(at,Xe,pt[Xe]);if(be)for(var Xe of be(pt))ke.call(pt,Xe)&&Ie(at,Xe,pt[Xe]);return at},De=(at,pt)=>Me(at,ye(pt)),Be=(at,pt,Xe)=>new Promise((Ge,lt)=>{var dt=rt=>{try{nt(Xe.next(rt))}catch(it){lt(it)}},st=rt=>{try{nt(Xe.throw(rt))}catch(it){lt(it)}},nt=rt=>rt.done?Ge(rt.value):Promise.resolve(rt.value).then(dt,st);nt((Xe=Xe.apply(at,pt)).next())});const{Dragger:Ue}=$e.default,_e=at=>{const pt=it=>it&&it.substring(0,it.lastIndexOf("."));for(var Xe=[...at],Ge=0,lt=[],dt=0;dt<Xe.length;dt++){for(var st="",nt=0;nt<lt.length;nt++)if(pt(lt[nt][0].name)==pt(Xe[dt].name)){Ge=1,st=nt;break}if(Ge==1)lt[st].push(Xe[dt]),Ge=0;else if(Ge==0){let it=new Array;it.push(Xe[dt]),lt.push(it)}}return lt.map(it=>{if(it.forEach(gt=>{let vt=gt.name.split(/\.(?=[^\.]+$)/);gt.name=`${vt[0]}.${vt[1].toLowerCase()}`}),it[0].name.includes(".in"))return it.length===2?it:[it[0],{}];if(it[0].name.includes(".out"))return it.length===2?it.reverse():[{},it[0]]})},We=({onClose:at,onOK:pt,visible:Xe,wrapClassName:Ge,rootIdentifier:lt,multiple:dt=!1,defaultMultipleValue:st=!0})=>{const[nt,rt]=(0,Oe.useState)([]),[it,gt]=(0,Oe.useState)({}),[vt,At]=(0,Oe.useState)(!1),[Et,ut]=(0,Oe.useState)(!0),[Ye,Ve]=(0,Oe.useState)(null),de=(0,Oe.useRef)([]),Ce=(0,Oe.useRef)(0),He=()=>{at()};(0,Oe.useEffect)(()=>{je()},[]),(0,Oe.useEffect)(()=>{Xe&&(de.current=[],Ce.current=0,rt([]),ut(st))},[Xe]);const je=()=>Be(void 0,null,function*(){try{Ve(!0)}catch(xt){}}),Ae=xt=>xt&&xt.substring(0,xt.lastIndexOf(".")),Re=xt=>{var Wt,bn;const Ft=Ae((Wt=xt[0])==null?void 0:Wt.name)||Ae((bn=xt[1])==null?void 0:bn.name),Qt=nt.filter(Vt=>Ae(Vt.name)!==Ft);de.current=[...Qt],rt([...Qt])},ze=xt=>{if(!Et){const yn=new FormData;yn.append("file",xt.file),(0,fe.ZP)("/api/attachments/get_file_content.json",{method:"post",body:yn},!0).then(zt=>{if(zt.status===0){Ce.current=Ce.current+1;const an=de.current.map(gn=>{var Tn;if(gn.name===xt.name){const Gn=Le({},gn);return(Tn=xt==null?void 0:xt.name)!=null&&Tn.includes(".in")?Gn.input=zt==null?void 0:zt.content:Gn.output=zt==null?void 0:zt.content,Gn}return gn});if(de.current=[...an],rt([...an]),Ce.current>0&&Ce.current===nt.length){At(!1);let gn=_e(an);gn=gn.filter(Tn=>{var Gn,fr;return!!((Gn=Tn[0])!=null&&Gn.name&&((fr=Tn[1])!=null&&fr.name))}),gn=gn.map(Tn=>De(Le(Le({},Tn[0]),Tn[1]),{is_file:!1})),pt(gn),at()}}else At(!1),at()});return}if(Ye){const yn=new FormData;yn.append("file",xt.file),lt===null?yn.append("identifier","testsets"):yn.append("identifier",lt),(0,fe.ZP)("/api/attachments.json",{method:"post",body:yn},!0).then(zt=>{if(zt.filename){Ce.current=Ce.current+1;const an=de.current.map(gn=>{var Tn;if(gn.name===(zt==null?void 0:zt.filename)){const Gn=De(Le({},gn),{is_oss:!Ye});return(Tn=zt==null?void 0:zt.filename)!=null&&Tn.includes(".in")?(Gn.in_object_key=zt==null?void 0:zt.object,Gn.in_object_size=zt==null?void 0:zt.size,Gn.input=zt==null?void 0:zt.filename,Gn.in_file=xt):(Gn.out_object_key=zt==null?void 0:zt.object,Gn.out_object_size=zt==null?void 0:zt.size,Gn.output=zt==null?void 0:zt.filename,Gn.out_file=xt),Gn}return gn});if(de.current=[...an],rt([...an]),Ce.current>0&&Ce.current===nt.length){At(!1);let gn=_e(an);gn=gn.filter(Tn=>{var Gn,fr;return!!((Gn=Tn[0])!=null&&Gn.name&&((fr=Tn[1])!=null&&fr.name))}),gn=gn.map(Tn=>De(Le(Le({},Tn[0]),Tn[1]),{is_file:!0})),pt(gn),at()}}else At(!1),at()});return}const Wt=new(ce())({endpoint:it.end_point,region:it.region,accessKeyId:it.access_key_id,accessKeySecret:it.access_key_secret,bucket:it.bucket,stsToken:it.security_token}),bn=xt.name,Ft={container_type:"TestSet",file_name:bn},Qt=(0,pe.Z)();let Vt=`testsets/${lt}/${Qt}${bn.indexOf(".")>-1?"."+bn.split(".").pop():""}`;lt===null&&(Vt=`testsets/${Qt}${bn.indexOf(".")>-1?"."+bn.split(".").pop():""}`),Wt.multipartUpload(Vt,new Blob([xt.file],{type:xt.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:bn+""},url:it==null?void 0:it.callback_url,host:it==null?void 0:it.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,fe.rz)(Ft)}}).then(function(yn){if(yn.data.status===0){Ce.current=Ce.current+1;const Pt=de.current.map(zt=>{var an,gn,Tn,Gn,fr,Tr,Wr,ti,Dr,ri,Mi,$r,Xi,Ii,nn,Jn,hr;if(zt.name===((gn=(an=yn.data)==null?void 0:an.data)==null?void 0:gn.file_name)){const Kn=De(Le({},zt),{is_oss:!Ye});return(fr=(Gn=(Tn=yn.data)==null?void 0:Tn.data)==null?void 0:Gn.file_name)!=null&&fr.includes(".in")?(Kn.in_object_key=(Wr=(Tr=yn.data)==null?void 0:Tr.data)==null?void 0:Wr.object,Kn.in_object_size=(Dr=(ti=yn.data)==null?void 0:ti.data)==null?void 0:Dr.size,Kn.input=(Mi=(ri=yn.data)==null?void 0:ri.data)==null?void 0:Mi.file_name,Kn.in_file=xt):(Kn.out_object_key=(Xi=($r=yn.data)==null?void 0:$r.data)==null?void 0:Xi.object,Kn.out_object_size=(nn=(Ii=yn.data)==null?void 0:Ii.data)==null?void 0:nn.size,Kn.output=(hr=(Jn=yn.data)==null?void 0:Jn.data)==null?void 0:hr.file_name,Kn.out_file=xt),Kn}return zt});if(de.current=[...Pt],rt([...Pt]),Ce.current>0&&Ce.current===nt.length){At(!1);let zt=_e(Pt);zt=zt.filter(an=>{var gn,Tn;return!!((gn=an[0])!=null&&gn.name&&((Tn=an[1])!=null&&Tn.name))}),zt=zt.map(an=>De(Le(Le({},an[0]),an[1]),{is_file:!0})),pt(zt),at()}}})},Qe=xt=>new Promise((Wt,bn)=>{let Ft=0,Qt=[];for(let Vt=0;Vt<xt.length;Vt++)xt[Vt].file.slice(0,1).arrayBuffer().then(()=>{Ft++,Ft===xt.length&&(Qt.length?(x.ZP.warning(`${Qt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),bn()):Wt(xt))}).catch(yn=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",yn),Ft++,Qt.push(xt[Vt].name),Ft===xt.length&&(Qt.length?(x.ZP.warning(`${Qt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),bn()):Wt(xt))})}),ot=()=>Be(void 0,null,function*(){if(nt.length===0){x.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Qe(nt),At(!0),_e(nt).some(Wt=>{var bn,Ft;return!((bn=Wt[0])!=null&&bn.name&&((Ft=Wt[1])!=null&&Ft.name))})){Te.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>Be(void 0,null,function*(){nt.map(Wt=>Be(void 0,null,function*(){ze(Wt)}))}),onCancel:()=>{At(!1)}});return}nt.map(Wt=>Be(void 0,null,function*(){ze(Wt)}))}),mt={name:"file",fileList:nt,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:xt=>{if(nt!=null&&nt.some(bn=>bn.name===xt.name))return x.ZP.info(`${xt.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(xt.size/1024/1024>100)return x.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(xt.name))return x.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const Wt={name:xt.name,uid:xt.uid,file:xt,percent:0};return nt.push(Wt),de.current=[...nt],rt([...nt]),!1}},Ot=_e(nt);return console.log(nt,Ot,"fileList"),xe.createElement(Te.default,{open:Xe,wrapClassName:Ge,onOk:ot,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:vt},onCancel:He,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},xe.createElement("div",{className:he.wrap},nt.length?xe.createElement("div",null,xe.createElement(me.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},xe.createElement("div",{style:{visibility:dt?"visible":"hidden"}},xe.createElement("span",{className:he.greyText},"\u7528\u4F8B\u7C7B\u578B"),xe.createElement(ie.ZP.Group,{className:`ml20 ${he.testCaseRadio}`,optionType:"button",value:Et,onChange:xt=>ut(xt.target.value)},xe.createElement(ie.ZP,{value:!1},"\u6587\u672C"),xe.createElement(ie.ZP,{value:!0},"\u6587\u4EF6"))),xe.createElement($e.default,Le({},mt),xe.createElement(te.ZP,{type:"primary",className:he.btnS},xe.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),xe.createElement(Ze,{data:Ot,onRemove:Re})):xe.createElement("div",{className:`${he.noData} mb30`},xe.createElement($e.default.Dragger,De(Le({},mt),{className:he.dragger}),xe.createElement("img",{src:re,alt:"",className:"mb20"}),xe.createElement("div",null,xe.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),xe.createElement("span",{className:he.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),xe.createElement("div",{className:he.text},xe.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),xe.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",xe.createElement("br",null),"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002",xe.createElement("br",null),"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",xe.createElement("br",null),"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002",xe.createElement("br",null))))},Ze=({data:at=[],onRemove:pt,width:Xe="auto",showScore:Ge=!1,disabled:lt=!1,inputChange:dt,onEvaluatingChange:st,onSelectAll:nt,checkAll1:rt,checkAll2:it,checkAll3:gt,checkAll4:vt,checkAll5:At,showEvaluatingSetting:Et=!1,className:ut="",isProgramHomework:Ye=!1})=>{const Ve={value:"",filename:"",dataUrl:""},[de,Ce]=(0,Oe.useState)(Le({},Ve)),He=Re=>{let ze=document.createElement("a");document.body.appendChild(ze);let Qe=URL.createObjectURL(Re.file);ze.href=Qe,ze.download=Re.name,ze.click(),URL.revokeObjectURL(Qe),document.body.removeChild(ze)},je=(Re,ze)=>{(0,le.LR)(Re,ze)},Ae=(Re,ze)=>{Te.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:xe.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{pt(Re,ze)},onCancel:()=>{}})};return at.length?xe.createElement("div",{className:ut,style:{width:Xe}},xe.createElement("div",{className:`${Ye?he.headProgram:he.head}`},Et&&xe.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},xe.createElement(ae.default,{checked:rt,onChange:Re=>{nt(Re.target.checked,"hidden")}}),xe.createElement(ne.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},xe.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),xe.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),xe.createElement("div",{style:{width:Ye?"25%":"15%"}},"\u7528\u4F8B"),xe.createElement("div",{style:{width:Ge?Ye?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),xe.createElement("div",{style:{width:Ge?Ye?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),Ge&&xe.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Et&&xe.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},xe.createElement(ae.default,{checked:vt,onChange:Re=>{nt(Re.target.checked,"input_visible")}}),xe.createElement(ne.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},xe.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),xe.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Et&&xe.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},xe.createElement(ae.default,{checked:it,onChange:Re=>{nt(Re.target.checked,"is_invisible")}}),xe.createElement(ne.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},xe.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),xe.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Et&&xe.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},xe.createElement(ae.default,{checked:At,onChange:Re=>{nt(Re.target.checked,"actual_output_visible")}}),xe.createElement(ne.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},xe.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),xe.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Et&&xe.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},xe.createElement(ae.default,{checked:gt,onChange:Re=>{nt(Re.target.checked,"last_match_rule")}}),xe.createElement(ne.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},xe.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),xe.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),xe.createElement("div",{className:he.operation,style:Ye?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),xe.createElement("div",{className:he.listWrapper,style:{boxShadow:Ye?"0px 2px 4px 0px #EAEEF4":"unset"}},at.map((Re,ze)=>{var Qe,ot,mt,Ot;return xe.createElement("div",{key:ze,className:he.list,style:Ye?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Et&&xe.createElement("div",{style:{width:"15%"}},xe.createElement(ae.default,{checked:!!Re.hidden,onChange:xt=>{st(xt.target.checked,ze,"hidden")}})),xe.createElement("div",{style:{width:Ye?"25%":"15%",paddingLeft:Ye?"5px":"0px",paddingRight:Ye?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",ze+1),xe.createElement("div",{className:he.info,style:{width:Ge?Ye?"20%":"15%":"25%"}},xe.createElement("span",{title:Re.input||((Qe=Re[0])==null?void 0:Qe.name),onClick:()=>Be(void 0,null,function*(){let xt;Re.input?Re.input_file_url?xt=Re.input_file_url:xt=Re.in_file:xt=Re[0];let Wt;typeof xt=="string"?(Wt=yield fetch(xt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Ce({value:yield Wt.text(),filename:"",dataUrl:xt})):(Wt=yield(0,le.db)(xt.file),Ce({value:Wt.text,filename:xt.name,dataUrl:Wt.link}))})},Re.input||((ot=Re[0])==null?void 0:ot.name))),xe.createElement("div",{className:he.info,style:{width:Ge?Ye?"20%":"15%":"25%"}},xe.createElement("span",{title:Re.output||((mt=Re[1])==null?void 0:mt.name),onClick:()=>Be(void 0,null,function*(){let xt;Re.input?Re.output_file_url?xt=Re.output_file_url:xt=Re.out_file:xt=Re[1];let Wt;typeof xt=="string"?(Wt=yield fetch(xt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Ce({value:yield Wt.text(),filename:"",dataUrl:xt})):(Wt=yield(0,le.db)(xt.file),Ce({value:Wt.text,filename:xt.name,dataUrl:Wt.link}))})},Re.output||((Ot=Re[1])==null?void 0:Ot.name))),Ge&&xe.createElement("div",{style:{width:"20%"}},xe.createElement(oe.default,{size:"large",addonAfter:Ye?"%":null,disabled:lt,style:{width:"80%"},onChange:xt=>dt(xt,ze),value:Re.score}),!Ye&&xe.createElement("span",null,"\xA0%")),Et&&xe.createElement("div",{style:{width:"20%"}},xe.createElement(ae.default,{checked:Re.input_visible||!1,onChange:xt=>{st(xt.target.checked,ze,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Et&&xe.createElement("div",{style:{width:"20%"}},xe.createElement(ae.default,{checked:Re.is_invisible||!1,onChange:xt=>{st(xt.target.checked,ze,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Et&&xe.createElement("div",{style:{width:"20%"}},xe.createElement(ae.default,{checked:Re.actual_output_visible||!1,onChange:xt=>{st(xt.target.checked,ze,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Et&&xe.createElement("div",{style:{width:"20%"}},xe.createElement(ae.default,{checked:Re.last_match_rule||!1,onChange:xt=>{st(xt.target.checked,ze,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),xe.createElement("div",{onClick:()=>Ae(Re,ze),style:Ye?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},xe.createElement("span",{className:he.del},"\u5220\u9664")))})),xe.createElement(Se.Z,{close:!0,data:de.dataUrl,filename:de.filename,type:de.dataUrl.length?"txt":"",onClose:()=>Ce(Le({},Ve)),monacoEditor:{value:de.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):xe.createElement(xe.Fragment,null)};var et=We},71573:function(tn,Kt,ve){"use strict";ve.d(Kt,{c:function(){return $e}});var Oe=(x=>(x.FirstPage="firstPage",x.PrevPage="prevPage",x.NextPage="nextPage",x))(Oe||{}),$e=(x=>(x[x.Single=0]="Single",x[x.Multiple=1]="Multiple",x[x.Judge=2]="Judge",x[x.Fill=3]="Fill",x[x.Subjective=4]="Subjective",x[x.Shixun=5]="Shixun",x[x.Program=6]="Program",x[x.Combine=7]="Combine",x))($e||{})},40471:function(tn,Kt,ve){"use strict";ve.d(Kt,{G:function(){return me},t:function(){return Te}});var Oe=ve(58971),$e=ve.n(Oe);const x=null;function Te(ie,te){let ae=$e().get("__ec");ae||(ae={}),ae[ie]=te,$e().set("__ec",ae)}function me(ie,te){let ae=$e().get("__ec");return ae?ae[ie]===void 0?te:ae[ie]:te}},56448:function(tn){(function(Kt){(function(ve){if(1)tn.exports=ve();else var Oe})(function(){var ve,Oe,$e;return function(){function x(Te,me,ie){function te(oe,he){if(!me[oe]){if(!Te[oe]){var re=void 0;if(!he&&re)return require(oe,!0);if(ae)return ae(oe,!0);var se=new Error("Cannot find module '"+oe+"'");throw se.code="MODULE_NOT_FOUND",se}var ce=me[oe]={exports:{}};Te[oe][0].call(ce.exports,function(fe){var pe=Te[oe][1][fe];return te(pe||fe)},ce,ce.exports,x,Te,me,ie)}return me[oe].exports}for(var ae=void 0,ne=0;ne<ie.length;ne++)te(ie[ne]);return te}return x}()({1:[function(x,Te,me){"use strict";var ie=x("./browser/client");ie.Buffer=x("buffer").Buffer,ie.urllib=x("../shims/xhr"),ie.version=x("./browser/version").version,Te.exports=ie},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator")),ae=ie(x("@babel/runtime/helpers/asyncToGenerator"));x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.array.slice.js");var ne=x("assert"),oe=x("../common/utils/checkBucketName"),he=oe.checkBucketName,re=me;function se(fe){return Array.isArray?Array.isArray(fe):Object.prototype.toString.call(fe)==="[object Array]"}function ce(fe){return fe?se(fe)?fe:[fe]:[]}re.useBucket=function(pe){return he(pe),this.options.bucket=pe,this},re.setBucket=function(pe){return he(pe),this.options.bucket=pe,this},re.getBucket=function(){return this.options.bucket},re.deleteBucket=function(){var fe=(0,ae.default)(te.default.mark(function le(Se,xe){var ge,Me;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return ge=this._bucketRequestParams("DELETE",Se,"",xe),be.next=3,this.request(ge);case 3:if(Me=be.sent,!(Me.status===200||Me.status===204)){be.next=6;break}return be.abrupt("return",{res:Me.res});case 6:return be.next=8,this.requestError(Me);case 8:throw be.sent;case 9:case"end":return be.stop()}},le,this)}));function pe(le,Se){return fe.apply(this,arguments)}return pe}(),re.putBucketACL=function(){var fe=(0,ae.default)(te.default.mark(function le(Se,xe,ge){var Me,ye;return te.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return Me=this._bucketRequestParams("PUT",Se,"acl",ge),Me.headers={"x-oss-acl":xe},Me.successStatuses=[200],Fe.next=5,this.request(Me);case 5:return ye=Fe.sent,Fe.abrupt("return",{bucket:ye.headers.location&&ye.headers.location.substring(1)||null,res:ye.res});case 7:case"end":return Fe.stop()}},le,this)}));function pe(le,Se,xe){return fe.apply(this,arguments)}return pe}(),re.getBucketACL=function(){var fe=(0,ae.default)(te.default.mark(function le(Se,xe){var ge,Me;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return ge=this._bucketRequestParams("GET",Se,"acl",xe),ge.successStatuses=[200],ge.xmlResponse=!0,be.next=5,this.request(ge);case 5:return Me=be.sent,be.abrupt("return",{acl:Me.data.AccessControlList.Grant,owner:{id:Me.data.Owner.ID,displayName:Me.data.Owner.DisplayName},res:Me.res});case 7:case"end":return be.stop()}},le,this)}));function pe(le,Se){return fe.apply(this,arguments)}return pe}(),re.putBucketLogging=function(){var fe=(0,ae.default)(te.default.mark(function le(Se,xe,ge){var Me,ye,be;return te.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return Me=this._bucketRequestParams("PUT",Se,"logging",ge),ye=`<?xml version="1.0" encoding="UTF-8"?>
<BucketLoggingStatus>
<LoggingEnabled>
<TargetBucket>`.concat(Se,`</TargetBucket>
`),xe&&(ye+="<TargetPrefix>".concat(xe,`</TargetPrefix>
`)),ye+=`</LoggingEnabled>
</BucketLoggingStatus>`,Me.content=ye,Me.mime="xml",Me.successStatuses=[200],ke.next=9,this.request(Me);case 9:return be=ke.sent,ke.abrupt("return",{res:be.res});case 11:case"end":return ke.stop()}},le,this)}));function pe(le,Se,xe){return fe.apply(this,arguments)}return pe}(),re.getBucketLogging=function(){var fe=(0,ae.default)(te.default.mark(function le(Se,xe){var ge,Me,ye;return te.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return ge=this._bucketRequestParams("GET",Se,"logging",xe),ge.successStatuses=[200],ge.xmlResponse=!0,Fe.next=5,this.request(ge);case 5:return Me=Fe.sent,ye=Me.data.LoggingEnabled,Fe.abrupt("return",{enable:!!ye,prefix:ye&&ye.TargetPrefix||null,res:Me.res});case 8:case"end":return Fe.stop()}},le,this)}));function pe(le,Se){return fe.apply(this,arguments)}return pe}(),re.deleteBucketLogging=function(){var fe=(0,ae.default)(te.default.mark(function le(Se,xe){var ge,Me;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return ge=this._bucketRequestParams("DELETE",Se,"logging",xe),ge.successStatuses=[204,200],be.next=4,this.request(ge);case 4:return Me=be.sent,be.abrupt("return",{res:Me.res});case 6:case"end":return be.stop()}},le,this)}));function pe(le,Se){return fe.apply(this,arguments)}return pe}(),re.putBucketCORS=function(){var fe=(0,ae.default)(te.default.mark(function le(Se,xe,ge){var Me,ye,be,Fe,ke,Ie,Le,De,Be,Ue;return te.default.wrap(function(We){for(;;)switch(We.prev=We.next){case 0:for(xe=xe||[],ne(xe.length,"rules is required"),xe.forEach(function(Ze){ne(Ze.allowedOrigin,"allowedOrigin is required"),ne(Ze.allowedMethod,"allowedMethod is required")}),Me=this._bucketRequestParams("PUT",Se,"cors",ge),ye=`<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration>`,be=function(et){ye+="<AllowedOrigin>".concat(et,"</AllowedOrigin>")},Fe=function(et){ye+="<AllowedMethod>".concat(et,"</AllowedMethod>")},ke=function(et){ye+="<AllowedHeader>".concat(et,"</AllowedHeader>")},Ie=function(et){ye+="<ExposeHeader>".concat(et,"</ExposeHeader>")},Le=0,De=xe.length;Le<De;Le++)Be=xe[Le],ye+="<CORSRule>",ce(Be.allowedOrigin).forEach(be),ce(Be.allowedMethod).forEach(Fe),ce(Be.allowedHeader).forEach(ke),ce(Be.exposeHeader).forEach(Ie),Be.maxAgeSeconds&&(ye+="<MaxAgeSeconds>".concat(Be.maxAgeSeconds,"</MaxAgeSeconds>")),ye+="</CORSRule>";return ye+="</CORSConfiguration>",Me.content=ye,Me.mime="xml",Me.successStatuses=[200],We.next=16,this.request(Me);case 16:return Ue=We.sent,We.abrupt("return",{res:Ue.res});case 18:case"end":return We.stop()}},le,this)}));function pe(le,Se,xe){return fe.apply(this,arguments)}return pe}(),re.getBucketCORS=function(){var fe=(0,ae.default)(te.default.mark(function le(Se,xe){var ge,Me,ye,be;return te.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ge=this._bucketRequestParams("GET",Se,"cors",xe),ge.successStatuses=[200],ge.xmlResponse=!0,ke.next=5,this.request(ge);case 5:return Me=ke.sent,ye=[],Me.data&&Me.data.CORSRule&&(be=Me.data.CORSRule,se(be)||(be=[be]),be.forEach(function(Ie){var Le={};Object.keys(Ie).forEach(function(De){Le[De.slice(0,1).toLowerCase()+De.slice(1,De.length)]=Ie[De]}),ye.push(Le)})),ke.abrupt("return",{rules:ye,res:Me.res});case 9:case"end":return ke.stop()}},le,this)}));function pe(le,Se){return fe.apply(this,arguments)}return pe}(),re.deleteBucketCORS=function(){var fe=(0,ae.default)(te.default.mark(function le(Se,xe){var ge,Me;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return ge=this._bucketRequestParams("DELETE",Se,"cors",xe),ge.successStatuses=[204],be.next=4,this.request(ge);case 4:return Me=be.sent,be.abrupt("return",{res:Me.res});case 6:case"end":return be.stop()}},le,this)}));function pe(le,Se){return fe.apply(this,arguments)}return pe}(),re.putBucketReferer=function(){var fe=(0,ae.default)(te.default.mark(function le(Se,xe,ge,Me){var ye,be,Fe,ke;return te.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(ye=this._bucketRequestParams("PUT",Se,"referer",Me),be=`<?xml version="1.0" encoding="UTF-8"?>
<RefererConfiguration>
`,be+=" <AllowEmptyReferer>".concat(xe?"true":"false",`</AllowEmptyReferer>
`),ge&&ge.length>0){for(be+=` <RefererList>
`,Fe=0;Fe<ge.length;Fe++)be+=" <Referer>".concat(ge[Fe],`</Referer>
`);be+=` </RefererList>
`}else be+=` <RefererList />
`;return be+="</RefererConfiguration>",ye.content=be,ye.mime="xml",ye.successStatuses=[200],Le.next=10,this.request(ye);case 10:return ke=Le.sent,Le.abrupt("return",{res:ke.res});case 12:case"end":return Le.stop()}},le,this)}));function pe(le,Se,xe,ge){return fe.apply(this,arguments)}return pe}(),re.getBucketReferer=function(){var fe=(0,ae.default)(te.default.mark(function le(Se,xe){var ge,Me,ye;return te.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return ge=this._bucketRequestParams("GET",Se,"referer",xe),ge.successStatuses=[200],ge.xmlResponse=!0,Fe.next=5,this.request(ge);case 5:return Me=Fe.sent,ye=Me.data.RefererList.Referer||null,ye&&(se(ye)||(ye=[ye])),Fe.abrupt("return",{allowEmpty:Me.data.AllowEmptyReferer==="true",referers:ye,res:Me.res});case 9:case"end":return Fe.stop()}},le,this)}));function pe(le,Se){return fe.apply(this,arguments)}return pe}(),re.deleteBucketReferer=function(){var fe=(0,ae.default)(te.default.mark(function le(Se,xe){return te.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Me.next=2,this.putBucketReferer(Se,!0,null,xe);case 2:return Me.abrupt("return",Me.sent);case 3:case"end":return Me.stop()}},le,this)}));function pe(le,Se){return fe.apply(this,arguments)}return pe}(),re._bucketRequestParams=function(pe,le,Se,xe){return{method:pe,bucket:le,subres:Se,timeout:xe&&xe.timeout,ctx:xe&&xe.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(x,Te,me){(function(ie,te){(function(){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),ne=ae(x("@babel/runtime/regenerator")),oe=ae(x("@babel/runtime/helpers/asyncToGenerator"));x("core-js/modules/es.function.name.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.split.js"),x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.array.includes.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.symbol.js"),x("core-js/modules/es.symbol.description.js"),x("core-js/modules/es.array.slice.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.regexp.to-string.js");var he=x("debug")("ali-oss"),re=x("xml2js"),se=x("agentkeepalive"),ce=x("merge-descriptors"),fe=x("platform"),pe=x("utility"),le=x("urllib"),Se=x("./version"),xe=x("bowser"),ge=x("../common/signUtils"),Me=x("../common/client/initOptions"),ye=x("../common/utils/createRequest"),be=ye.createRequest,Fe=x("../common/utils/encoder"),ke=Fe.encoder,Ie=x("../common/client/getReqUrl"),Le=Ie.getReqUrl,De=x("../common/utils/setSTSToken"),Be=De.setSTSToken,Ue=x("../common/utils/retry"),_e=Ue.retry,We=x("../common/utils/isFunction"),Ze=We.isFunction,et=new se;function at(){var st=fe.name,nt=fe.version;st&&st.toLowerCase&&st.toLowerCase()==="ie"&&nt.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function pt(){return location&&location.protocol==="https:"}function Xe(st,nt){if(at(),!(this instanceof Xe))return new Xe(st,nt);st&&st.inited?this.options=st:this.options=Xe.initOptions(st),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=le,this.agent=this.options.agent||et),this.ctx=nt,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}Te.exports=Xe,Xe.initOptions=function(nt){nt.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var rt=Object.assign({secure:pt(),useFetch:!1},nt);return Me(rt)};var Ge=Xe.prototype;Ge.debug=he,ce(Ge,x("./object")),ce(Ge,x("./bucket")),ce(Ge,x("../common/bucket/getBucketWebsite")),ce(Ge,x("../common/bucket/putBucketWebsite")),ce(Ge,x("../common/bucket/deleteBucketWebsite")),ce(Ge,x("../common/bucket/getBucketLifecycle")),ce(Ge,x("../common/bucket/putBucketLifecycle")),ce(Ge,x("../common/bucket/deleteBucketLifecycle")),ce(Ge,x("../common/bucket/putBucketVersioning")),ce(Ge,x("../common/bucket/getBucketVersioning")),ce(Ge,x("../common/bucket/getBucketInventory")),ce(Ge,x("../common/bucket/deleteBucketInventory")),ce(Ge,x("../common/bucket/listBucketInventory")),ce(Ge,x("../common/bucket/putBucketInventory")),ce(Ge,x("../common/bucket/abortBucketWorm")),ce(Ge,x("../common/bucket/completeBucketWorm")),ce(Ge,x("../common/bucket/extendBucketWorm")),ce(Ge,x("../common/bucket/getBucketWorm")),ce(Ge,x("../common/bucket/initiateBucketWorm")),ce(Ge,x("./managed-upload")),ce(Ge,x("../common/multipart-copy")),ce(Ge,x("../common/multipart")),ce(Ge,x("../common/parallel")),Ge.signature=function(nt){return this.debug("authorization stringToSign: %s",nt,"info"),ge.computeSignature(this.options.accessKeySecret,nt,this.options.headerEncoding)},Ge._getReqUrl=Le,Ge.authorization=function(nt,rt,it,gt){var vt=ge.buildCanonicalString(nt.toUpperCase(),rt,{headers:gt,parameters:it});return ge.authorization(this.options.accessKeyId,this.options.accessKeySecret,vt,this.options.headerEncoding)},Ge.request=function(){var st=(0,oe.default)(ne.default.mark(function nt(rt){var it=this;return ne.default.wrap(function(vt){for(;;)switch(vt.prev=vt.next){case 0:if(!this.options.retryMax){vt.next=6;break}return vt.next=3,_e(lt.bind(this),this.options.retryMax,{errorHandler:function(Et){var ut=function(Ve){if(rt.stream)return!1;var de=[-1,-2].includes(Ve.status),Ce=it.options.requestErrorRetryHandle||function(){return!0};return de&&Ce(Ve)};return!!ut(Et)}})(rt);case 3:return vt.abrupt("return",vt.sent);case 6:return vt.abrupt("return",lt.call(this,rt));case 7:case"end":return vt.stop()}},nt,this)}));return function(nt){return st.apply(this,arguments)}}();function lt(st){return dt.apply(this,arguments)}function dt(){return dt=(0,oe.default)(ne.default.mark(function st(nt){var rt,it,gt,vt,At,Et;return ne.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(!(this.options.stsToken&&Ze(this.options.refreshSTSToken))){Ye.next=3;break}return Ye.next=3,Be.call(this);case 3:return rt=be.call(this,nt),this.options.useFetch||(rt.params.mode="disable-fetch"),vt=!!nt.stream,Ye.prev=6,Ye.next=9,this.urllib.request(rt.url,rt.params);case 9:it=Ye.sent,this.debug("response %s %s, got %s, headers: %j",nt.method,rt.url,it.status,it.headers,"info"),Ye.next=16;break;case 13:Ye.prev=13,Ye.t0=Ye.catch(6),gt=Ye.t0;case 16:if(!(it&&nt.successStatuses&&nt.successStatuses.indexOf(it.status)===-1)){Ye.next=28;break}return Ye.next=19,this.requestError(it);case 19:if(At=Ye.sent,!(At.code==="RequestTimeTooSkewed"&&!vt)){Ye.next=25;break}return this.options.amendTimeSkewed=+new Date(At.serverTime)-new Date,Ye.next=24,this.request(nt);case 24:return Ye.abrupt("return",Ye.sent);case 25:At.params=nt,Ye.next=32;break;case 28:if(!gt){Ye.next=32;break}return Ye.next=31,this.requestError(gt);case 31:At=Ye.sent;case 32:if(!At){Ye.next=34;break}throw At;case 34:if(!nt.xmlResponse){Ye.next=39;break}return Ye.next=37,this.parseXML(it.data);case 37:Et=Ye.sent,it.data=Et;case 39:return Ye.abrupt("return",it);case 40:case"end":return Ye.stop()}},st,this,[[6,13]])})),dt.apply(this,arguments)}Ge._getResource=function(nt){var rt="/";return nt.bucket&&(rt+="".concat(nt.bucket,"/")),nt.object&&(rt+=ke(nt.object,this.options.headerEncoding)),rt},Ge._escape=function(nt){return pe.encodeURIComponent(nt).replace(/%2F/g,"/")},Ge._getUserAgent=function(){var nt=te&&te.browser?"js":"nodejs",rt="aliyun-sdk-".concat(nt,"/").concat(Se.version),it=fe.description;return!it&&te&&(it="Node.js ".concat(te.version.slice(1)," on ").concat(te.platform," ").concat(te.arch)),this._checkUserAgent("".concat(rt," ").concat(it))},Ge._checkUserAgent=function(nt){var rt=nt.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return rt},Ge.checkBrowserAndVersion=function(nt,rt){return xe.name===nt&&xe.version.split(".")[0]===rt},Ge.parseXML=function(nt){return new Promise(function(rt,it){ie.isBuffer(nt)&&(nt=nt.toString()),re.parseString(nt,{explicitRoot:!1,explicitArray:!1},function(gt,vt){gt?it(gt):rt(vt)})})},Ge.requestError=function(){var st=(0,oe.default)(ne.default.mark(function rt(it){var gt,vt,At,Et;return ne.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(gt=null,!(!it.data||!it.data.length)){Ye.next=5;break}it.status===-1||it.status===-2?(gt=new Error(it.message),gt.name=it.name,gt.status=it.status,gt.code=it.name):(it.status===404?(gt=new Error("Object not exists"),gt.name="NoSuchKeyError",gt.status=404,gt.code="NoSuchKey"):it.status===412?(gt=new Error("Pre condition failed"),gt.name="PreconditionFailedError",gt.status=412,gt.code="PreconditionFailed"):(gt=new Error("Unknow error, status: ".concat(it.status)),gt.name="UnknownError",gt.status=it.status),gt.requestId=it.headers["x-oss-request-id"],gt.host=""),Ye.next=32;break;case 5:return vt=String(it.data),this.debug("request response error data: %s",vt,"error"),Ye.prev=7,Ye.next=10,this.parseXML(vt);case 10:if(Ye.t0=Ye.sent,Ye.t0){Ye.next=13;break}Ye.t0={};case 13:At=Ye.t0,Ye.next=23;break;case 16:return Ye.prev=16,Ye.t1=Ye.catch(7),this.debug(vt,"error"),Ye.t1.message+=`
raw xml: `.concat(vt),Ye.t1.status=it.status,Ye.t1.requestId=it.headers["x-oss-request-id"],Ye.abrupt("return",Ye.t1);case 23:Et=At.Message||"unknow request error, status: ".concat(it.status),At.Condition&&(Et+=" (condition: ".concat(At.Condition,")")),gt=new Error(Et),gt.name=At.Code?"".concat(At.Code,"Error"):"UnknownError",gt.status=it.status,gt.code=At.Code,gt.requestId=At.RequestId,gt.hostId=At.HostId,gt.serverTime=At.ServerTime;case 32:return this.debug("generate error %j",gt,"error"),Ye.abrupt("return",gt);case 34:case"end":return Ye.stop()}},rt,this,[[7,16]])}));function nt(rt){return st.apply(this,arguments)}return nt}()}).call(this)}).call(this,{isBuffer:x("../../node_modules/is-buffer/index.js")},x("_process"))},{"../../node_modules/is-buffer/index.js":366,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":49,"../common/signUtils":50,"../common/utils/createRequest":56,"../common/utils/encoder":59,"../common/utils/isFunction":68,"../common/utils/retry":74,"../common/utils/setSTSToken":76,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,agentkeepalive:81,bowser:88,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.split.js":307,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.js":313,debug:465,"merge-descriptors":372,platform:379,urllib:475,utility:474,xml2js:426}],4:[function(x,Te,me){(function(ie){(function(){"use strict";var te=x("@babel/runtime/helpers/interopRequireDefault"),ae=te(x("@babel/runtime/regenerator"));x("core-js/modules/es.function.name.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.array.from.js"),x("core-js/modules/es.string.iterator.js"),x("core-js/modules/es.array.map.js"),x("core-js/modules/es.array.filter.js"),x("core-js/modules/es.array.find.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.regexp.to-string.js"),x("core-js/modules/es.array.slice.js"),x("core-js/modules/es.array.iterator.js"),x("core-js/modules/es.array-buffer.slice.js"),x("core-js/modules/es.typed-array.uint8-array.js"),x("core-js/modules/es.typed-array.copy-within.js"),x("core-js/modules/es.typed-array.every.js"),x("core-js/modules/es.typed-array.fill.js"),x("core-js/modules/es.typed-array.filter.js"),x("core-js/modules/es.typed-array.find.js"),x("core-js/modules/es.typed-array.find-index.js"),x("core-js/modules/es.typed-array.for-each.js"),x("core-js/modules/es.typed-array.includes.js"),x("core-js/modules/es.typed-array.index-of.js"),x("core-js/modules/es.typed-array.iterator.js"),x("core-js/modules/es.typed-array.join.js"),x("core-js/modules/es.typed-array.last-index-of.js"),x("core-js/modules/es.typed-array.map.js"),x("core-js/modules/es.typed-array.reduce.js"),x("core-js/modules/es.typed-array.reduce-right.js"),x("core-js/modules/es.typed-array.reverse.js"),x("core-js/modules/es.typed-array.set.js"),x("core-js/modules/es.typed-array.slice.js"),x("core-js/modules/es.typed-array.some.js"),x("core-js/modules/es.typed-array.sort.js"),x("core-js/modules/es.typed-array.subarray.js"),x("core-js/modules/es.typed-array.to-locale-string.js"),x("core-js/modules/es.typed-array.to-string.js");var ne=te(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("util"),he=x("path"),re=x("mime"),se=x("copy-to"),ce=x("../common/utils/isBlob"),fe=ce.isBlob,pe=x("../common/utils/isFile"),le=pe.isFile,Se=x("../common/utils/isBuffer"),xe=Se.isBuffer,ge=me;ge.multipartUpload=function(){var ke=(0,ne.default)(ae.default.mark(function Le(De,Be){var Ue,_e,We,Ze,et,at,pt,Xe,Ge,lt=arguments;return ae.default.wrap(function(st){for(;;)switch(st.prev=st.next){case 0:if(Ue=lt.length>2&&lt[2]!==void 0?lt[2]:{},this.resetCancelFlag(),Ue.disabledMD5=Ue.disabledMD5===void 0?!0:!!Ue.disabledMD5,!(Ue.checkpoint&&Ue.checkpoint.uploadId)){st.next=8;break}return Be&&le(Be)&&(Ue.checkpoint.file=Be),st.next=7,this._resumeMultipart(Ue.checkpoint,Ue);case 7:return st.abrupt("return",st.sent);case 8:return _e=102400,Ue.mime||(le(Be)?Ue.mime=re.getType(he.extname(Be.name)):fe(Be)?Ue.mime=Be.type:xe(Be)?Ue.mime="":Ue.mime=re.getType(he.extname(Be))),Ue.headers=Ue.headers||{},this._convertMetaToHeaders(Ue.meta,Ue.headers),st.next=14,this._getFileSize(Be);case 14:if(We=st.sent,!(We<_e)){st.next=26;break}return Ue.contentLength=We,st.next=19,this.put(De,Be,Ue);case 19:if(Ze=st.sent,!(Ue&&Ue.progress)){st.next=23;break}return st.next=23,Ue.progress(1);case 23:return et={res:Ze.res,bucket:this.options.bucket,name:De,etag:Ze.res.headers.etag},(Ue.headers&&Ue.headers["x-oss-callback"]||Ue.callback)&&(et.data=Ze.data),st.abrupt("return",et);case 26:if(!(Ue.partSize&&parseInt(Ue.partSize,10)!==Ue.partSize)){st.next=28;break}throw new Error("partSize must be int number");case 28:if(!(Ue.partSize&&Ue.partSize<_e)){st.next=30;break}throw new Error("partSize must not be smaller than ".concat(_e));case 30:return st.next=32,this.initMultipartUpload(De,Ue);case 32:if(at=st.sent,pt=at.uploadId,Xe=this._getPartSize(We,Ue.partSize),Ge={file:Be,name:De,fileSize:We,partSize:Xe,uploadId:pt,doneParts:[]},!(Ue&&Ue.progress)){st.next=39;break}return st.next=39,Ue.progress(0,Ge,at.res);case 39:return st.next=41,this._resumeMultipart(Ge,Ue);case 41:return st.abrupt("return",st.sent);case 42:case"end":return st.stop()}},Le,this)}));function Ie(Le,De){return ke.apply(this,arguments)}return Ie}(),ge._resumeMultipart=function(){var ke=(0,ne.default)(ae.default.mark(function Le(De,Be){var Ue,_e,We,Ze,et,at,pt,Xe,Ge,lt,dt,st,nt,rt,it,gt,vt,At,Et;return ae.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(Ue=this,!this.isCancel()){Ye.next=3;break}throw this._makeCancelEvent();case 3:return _e=De.file,We=De.fileSize,Ze=De.partSize,et=De.uploadId,at=De.doneParts,pt=De.name,Xe=[],at.length>0&&se(at).to(Xe),Ge=this._divideParts(We,Ze),lt=Ge.length,dt=!1,st=function(de,Ce){return new Promise(function(){var He=(0,ne.default)(ae.default.mark(function je(Ae,Re){var ze,Qe,ot,mt,Ot;return ae.default.wrap(function(Wt){for(;;)switch(Wt.prev=Wt.next){case 0:if(Wt.prev=0,de.isCancel()){Wt.next=29;break}return ze=Ge[Ce-1],Wt.next=5,de._createBuffer(_e,ze.start,ze.end);case 5:return Qe=Wt.sent,ot={content:Qe,size:ze.end-ze.start},Wt.prev=7,Wt.next=10,de._uploadPart(pt,et,Ce,ot,Be);case 10:mt=Wt.sent,Wt.next=18;break;case 13:if(Wt.prev=13,Wt.t0=Wt.catch(7),Wt.t0.status!==404){Wt.next=17;break}throw de._makeAbortEvent();case 17:throw Wt.t0;case 18:if(!(!de.isCancel()&&!dt)){Wt.next=26;break}if(De.doneParts.push({number:Ce,etag:mt.res.headers.etag}),!Be.progress){Wt.next=23;break}return Wt.next=23,Be.progress(at.length/(lt+1),De,mt.res);case 23:Ae({number:Ce,etag:mt.res.headers.etag}),Wt.next=27;break;case 26:Ae();case 27:Wt.next=30;break;case 29:Ae();case 30:Wt.next=41;break;case 32:Wt.prev=32,Wt.t1=Wt.catch(0),Ot=new Error,Ot.name=Wt.t1.name,Ot.message=Wt.t1.message,Ot.stack=Wt.t1.stack,Ot.partNum=Ce,se(Wt.t1).to(Ot),Re(Ot);case 41:case"end":return Wt.stop()}},je,null,[[0,32],[7,13]])}));return function(je,Ae){return He.apply(this,arguments)}}())},nt=Array.from(new Array(lt),function(Ve,de){return de+1}),rt=Xe.map(function(Ve){return Ve.number}),it=nt.filter(function(Ve){return rt.indexOf(Ve)<0}),gt=5,vt=Be.parallel||gt,Ye.next=17,this._parallel(it,vt,function(Ve){return new Promise(function(de,Ce){st(Ue,Ve).then(function(He){He&&Xe.push(He),de()}).catch(function(He){Ce(He)})})});case 17:if(At=Ye.sent,dt=!0,Et=At.find(function(Ve){return Ve.name==="abort"}),!Et){Ye.next=22;break}throw Et;case 22:if(!this.isCancel()){Ye.next=25;break}throw st=null,this._makeCancelEvent();case 25:if(!(At&&At.length>0)){Ye.next=28;break}throw At[0].message="Failed to upload some parts with error: ".concat(At[0].toString()," part_num: ").concat(At[0].partNum),At[0];case 28:return Ye.next=30,this.completeMultipartUpload(pt,et,Xe,Be);case 30:return Ye.abrupt("return",Ye.sent);case 31:case"end":return Ye.stop()}},Le,this)}));function Ie(Le,De){return ke.apply(this,arguments)}return Ie}(),ge._getFileSize=function(){var ke=(0,ne.default)(ae.default.mark(function Le(De){return ae.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:if(!xe(De)){Ue.next=4;break}return Ue.abrupt("return",De.length);case 4:if(!(fe(De)||le(De))){Ue.next=6;break}return Ue.abrupt("return",De.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Ue.stop()}},Le)}));function Ie(Le){return ke.apply(this,arguments)}return Ie}();var Me=x("stream"),ye=Me.Readable;function be(ke,Ie){if(!(this instanceof be))return new be(ke,Ie);ye.call(this,Ie),this.file=ke,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}oe.inherits(be,ye),be.prototype.readFileAndPush=function(Ie){if(this.fileBuffer)for(var Le=!0;Le&&this.fileBuffer&&this.start<this.fileBuffer.length;){var De=this.start,Be=De+Ie;Be=Be>this.fileBuffer.length?this.fileBuffer.length:Be,this.start=Be,Le=this.push(this.fileBuffer.slice(De,Be))}},be.prototype._read=function(Ie){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var Le=16*1024;Ie=Ie||Le;var De=this;this.reader.onload=function(Ue){De.fileBuffer=ie.from(new Uint8Array(Ue.target.result)),De.file=null,De.readFileAndPush(Ie)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(Ie)};function Fe(ke){return ke.arrayBuffer?ke.arrayBuffer():new Promise(function(Ie,Le){var De=new FileReader;De.onload=function(Be){Ie(Be.target.result)},De.onerror=function(Be){Le(Be)},De.readAsArrayBuffer(ke)})}ge._createBuffer=function(){var ke=(0,ne.default)(ae.default.mark(function Le(De,Be,Ue){var _e,We;return ae.default.wrap(function(et){for(;;)switch(et.prev=et.next){case 0:if(!(fe(De)||le(De))){et.next=8;break}return _e=De.slice(Be,Ue),et.next=4,Fe(_e);case 4:return We=et.sent,et.abrupt("return",ie.from(We));case 8:if(!xe(De)){et.next=12;break}return et.abrupt("return",De.subarray(Be,Ue));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return et.stop()}},Le)}));function Ie(Le,De,Be){return ke.apply(this,arguments)}return Ie}(),ge._getPartSize=function(Ie,Le){var De=1e4,Be=1*1024*1024;Le||(Le=Be);var Ue=Math.ceil(Ie/De);return Le<Ue&&(Le=Ue,console.warn("partSize has been set to ".concat(Le,", because the partSize you provided causes partNumber to be greater than 10,000"))),Le},ge._divideParts=function(Ie,Le){for(var De=Math.ceil(Ie/Le),Be=[],Ue=0;Ue<De;Ue++){var _e=Le*Ue,We=Math.min(_e+Le,Ie);Be.push({start:_e,end:We})}return Be}}).call(this)}).call(this,x("buffer").Buffer)},{"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,buffer:90,"copy-to":94,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,mime:374,path:378,stream:398,util:419}],5:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault");x("core-js/modules/es.function.name.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.regexp.to-string.js"),x("core-js/modules/es.array.map.js"),x("core-js/modules/es.number.constructor.js"),x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.promise.js");var te=ie(x("@babel/runtime/regenerator")),ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("fs"),oe=x("copy-to"),he=x("path"),re=x("mime"),se=x("../common/callback"),ce=x("merge-descriptors"),fe=x("../common/utils/isBlob"),pe=fe.isBlob,le=x("../common/utils/isFile"),Se=le.isFile,xe=x("../common/utils/isBuffer"),ge=xe.isBuffer,Me=x("../common/utils/obj2xml"),ye=Me.obj2xml,be=me;be.append=function(){var Fe=(0,ae.default)(te.default.mark(function Ie(Le,De,Be){var Ue;return te.default.wrap(function(We){for(;;)switch(We.prev=We.next){case 0:return Be=Be||{},Be.position===void 0&&(Be.position="0"),Be.subres={append:"",position:Be.position},Be.method="POST",We.next=6,this.put(Le,De,Be);case 6:return Ue=We.sent,Ue.nextAppendPosition=Ue.res.headers["x-oss-next-append-position"],We.abrupt("return",Ue);case 9:case"end":return We.stop()}},Ie,this)}));function ke(Ie,Le,De){return Fe.apply(this,arguments)}return ke}(),be.put=function(){var Fe=(0,ae.default)(te.default.mark(function Ie(Le,De,Be){var Ue,_e,We,Ze,et;return te.default.wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:if(Be=Be||{},Be.disabledMD5=Be.disabledMD5===void 0?!0:!!Be.disabledMD5,Be.headers=Be.headers||{},Le=this._objectName(Le),!ge(De)){pt.next=8;break}Ue=De,pt.next=19;break;case 8:if(!(pe(De)||Se(De))){pt.next=18;break}return Be.mime||(Se(De)?Be.mime=re.getType(he.extname(De.name)):Be.mime=De.type),pt.next=12,this._createBuffer(De,0,De.size);case 12:return Ue=pt.sent,pt.next=15,this._getFileSize(De);case 15:Be.contentLength=pt.sent,pt.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(Be.meta,Be.headers),_e=Be.method||"PUT",We=this._objectRequestParams(_e,Le,Be),se.encodeCallback(We,Be),We.mime=Be.mime,We.disabledMD5=Be.disabledMD5,We.content=Ue,We.successStatuses=[200],pt.next=29,this.request(We);case 29:return Ze=pt.sent,et={name:Le,url:this._objectUrl(Le),res:Ze.res},We.headers&&We.headers["x-oss-callback"]&&(et.data=JSON.parse(Ze.data.toString())),pt.abrupt("return",et);case 33:case"end":return pt.stop()}},Ie,this)}));function ke(Ie,Le,De){return Fe.apply(this,arguments)}return ke}(),be.putStream=function(){var Fe=(0,ae.default)(te.default.mark(function Ie(Le,De,Be){var Ue,_e,We,Ze;return te.default.wrap(function(at){for(;;)switch(at.prev=at.next){case 0:return Be=Be||{},Be.headers=Be.headers||{},Le=this._objectName(Le),Be.contentLength?Be.headers["Content-Length"]=Be.contentLength:Be.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(Be.meta,Be.headers),Ue=Be.method||"PUT",_e=this._objectRequestParams(Ue,Le,Be),se.encodeCallback(_e,Be),_e.mime=Be.mime,_e.stream=De,_e.successStatuses=[200],at.next=13,this.request(_e);case 13:return We=at.sent,Ze={name:Le,url:this._objectUrl(Le),res:We.res},_e.headers&&_e.headers["x-oss-callback"]&&(Ze.data=JSON.parse(We.data.toString())),at.abrupt("return",Ze);case 17:case"end":return at.stop()}},Ie,this)}));function ke(Ie,Le,De){return Fe.apply(this,arguments)}return ke}(),ce(be,x("../common/object/copyObject")),ce(be,x("../common/object/getObjectTagging")),ce(be,x("../common/object/putObjectTagging")),ce(be,x("../common/object/deleteObjectTagging")),ce(be,x("../common/image")),ce(be,x("../common/object/getBucketVersions")),ce(be,x("../common/object/getACL")),ce(be,x("../common/object/putACL")),ce(be,x("../common/object/head")),ce(be,x("../common/object/delete")),ce(be,x("../common/object/get")),ce(be,x("../common/object/putSymlink")),ce(be,x("../common/object/getSymlink")),ce(be,x("../common/object/deleteMulti")),ce(be,x("../common/object/getObjectMeta")),ce(be,x("../common/object/getObjectUrl")),ce(be,x("../common/object/generateObjectUrl")),ce(be,x("../common/object/signatureUrl")),ce(be,x("../common/object/asyncSignatureUrl")),be.putMeta=function(){var Fe=(0,ae.default)(te.default.mark(function Ie(Le,De,Be){var Ue;return te.default.wrap(function(We){for(;;)switch(We.prev=We.next){case 0:return We.next=2,this.copy(Le,Le,{meta:De||{},timeout:Be&&Be.timeout,ctx:Be&&Be.ctx});case 2:return Ue=We.sent,We.abrupt("return",Ue);case 4:case"end":return We.stop()}},Ie,this)}));function ke(Ie,Le,De){return Fe.apply(this,arguments)}return ke}(),be.list=function(){var Fe=(0,ae.default)(te.default.mark(function Ie(Le,De){var Be,Ue,_e,We,Ze;return te.default.wrap(function(at){for(;;)switch(at.prev=at.next){case 0:return Be=this._objectRequestParams("GET","",De),Be.query=Le,Be.xmlResponse=!0,Be.successStatuses=[200],at.next=6,this.request(Be);case 6:return Ue=at.sent,_e=Ue.data.Contents||[],We=this,_e&&(Array.isArray(_e)||(_e=[_e]),_e=_e.map(function(pt){return{name:pt.Key,url:We._objectUrl(pt.Key),lastModified:pt.LastModified,etag:pt.ETag,type:pt.Type,size:Number(pt.Size),storageClass:pt.StorageClass,owner:{id:pt.Owner.ID,displayName:pt.Owner.DisplayName}}})),Ze=Ue.data.CommonPrefixes||null,Ze&&(Array.isArray(Ze)||(Ze=[Ze]),Ze=Ze.map(function(pt){return pt.Prefix})),at.abrupt("return",{res:Ue.res,objects:_e,prefixes:Ze,nextMarker:Ue.data.NextMarker||null,isTruncated:Ue.data.IsTruncated==="true"});case 13:case"end":return at.stop()}},Ie,this)}));function ke(Ie,Le){return Fe.apply(this,arguments)}return ke}(),be.listV2=function(){var Fe=(0,ae.default)(te.default.mark(function Ie(Le){var De,Be,Ue,_e,We,Ze,et,at=arguments;return te.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return De=at.length>1&&at[1]!==void 0?at[1]:{},Be=Le["continuation-token"]||Le.continuationToken,Be&&(De.subres=Object.assign({"continuation-token":Be},De.subres)),Ue=this._objectRequestParams("GET","",De),Ue.query=Object.assign({"list-type":2},Le),delete Ue.query["continuation-token"],delete Ue.query.continuationToken,Ue.xmlResponse=!0,Ue.successStatuses=[200],Xe.next=11,this.request(Ue);case 11:return _e=Xe.sent,We=_e.data.Contents||[],Ze=this,We&&(Array.isArray(We)||(We=[We]),We=We.map(function(Ge){var lt=null;return Ge.Owner&&(lt={id:Ge.Owner.ID,displayName:Ge.Owner.DisplayName}),{name:Ge.Key,url:Ze._objectUrl(Ge.Key),lastModified:Ge.LastModified,etag:Ge.ETag,type:Ge.Type,size:Number(Ge.Size),storageClass:Ge.StorageClass,owner:lt}})),et=_e.data.CommonPrefixes||null,et&&(Array.isArray(et)||(et=[et]),et=et.map(function(Ge){return Ge.Prefix})),Xe.abrupt("return",{res:_e.res,objects:We,prefixes:et,isTruncated:_e.data.IsTruncated==="true",keyCount:+_e.data.KeyCount,continuationToken:_e.data.ContinuationToken||null,nextContinuationToken:_e.data.NextContinuationToken||null});case 18:case"end":return Xe.stop()}},Ie,this)}));function ke(Ie){return Fe.apply(this,arguments)}return ke}(),be.restore=function(){var Fe=(0,ae.default)(te.default.mark(function Ie(Le){var De,Be,Ue,_e,We=arguments;return te.default.wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return De=We.length>1&&We[1]!==void 0?We[1]:{type:"Archive"},De=De||{},De.subres=Object.assign({restore:""},De.subres),De.versionId&&(De.subres.versionId=De.versionId),Be=this._objectRequestParams("POST",Le,De),De.type==="ColdArchive"&&(Ue={RestoreRequest:{Days:De.Days?De.Days:2,JobParameters:{Tier:De.JobParameters?De.JobParameters:"Standard"}}},Be.content=ye(Ue,{headers:!0}),Be.mime="xml"),Be.successStatuses=[202],et.next=9,this.request(Be);case 9:return _e=et.sent,et.abrupt("return",{res:_e.res});case 11:case"end":return et.stop()}},Ie,this)}));function ke(Ie){return Fe.apply(this,arguments)}return ke}(),be._objectUrl=function(ke){return this._getReqUrl({bucket:this.options.bucket,object:ke})},be._objectRequestParams=function(ke,Ie,Le){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");Le=Le||{},Ie=this._objectName(Ie);var De={object:Ie,bucket:this.options.bucket,method:ke,subres:Le&&Le.subres,timeout:Le&&Le.timeout,ctx:Le&&Le.ctx};return Le.headers&&(De.headers={},oe(Le.headers).to(De.headers)),De},be._objectName=function(ke){return ke.replace(/^\/+/,"")},be._convertMetaToHeaders=function(ke,Ie){ke&&Object.keys(ke).forEach(function(Le){Ie["x-oss-meta-".concat(Le)]=ke[Le]})},be._deleteFileSafe=function(ke){var Ie=this;return new Promise(function(Le){ne.exists(ke,function(De){De?ne.unlink(ke,function(Be){Be&&Ie.debug("unlink %j error: %s",ke,Be,"error"),Le()}):Le()})})}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(x,Te,me){"use strict";me.version="6.18.1"},{}],7:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator")),ae=ie(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.abortBucketWorm=void 0;var ne=x("../utils/checkBucketName");function oe(re,se){return he.apply(this,arguments)}function he(){return he=(0,ae.default)(te.default.mark(function re(se,ce){var fe,pe;return te.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return ne.checkBucketName(se),fe=this._bucketRequestParams("DELETE",se,"worm",ce),Se.next=4,this.request(fe);case 4:return pe=Se.sent,Se.abrupt("return",{res:pe.res,status:pe.status});case 6:case"end":return Se.stop()}},re,this)})),he.apply(this,arguments)}me.abortBucketWorm=oe},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator")),ae=ie(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.completeBucketWorm=void 0;var ne=x("../utils/checkBucketName");function oe(re,se,ce){return he.apply(this,arguments)}function he(){return he=(0,ae.default)(te.default.mark(function re(se,ce,fe){var pe,le;return te.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return ne.checkBucketName(se),pe=this._bucketRequestParams("POST",se,{wormId:ce},fe),xe.next=4,this.request(pe);case 4:return le=xe.sent,xe.abrupt("return",{res:le.res,status:le.status});case 6:case"end":return xe.stop()}},re,this)})),he.apply(this,arguments)}me.completeBucketWorm=oe},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.deleteBucketInventory=void 0;var ne=x("../utils/checkBucketName");function oe(re,se){return he.apply(this,arguments)}function he(){return he=(0,ae.default)(te.default.mark(function re(se,ce){var fe,pe,le,Se,xe=arguments;return te.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return fe=xe.length>2&&xe[2]!==void 0?xe[2]:{},pe=Object.assign({inventory:"",inventoryId:ce},fe.subres),ne.checkBucketName(se),le=this._bucketRequestParams("DELETE",se,pe,fe),le.successStatuses=[204],Me.next=7,this.request(le);case 7:return Se=Me.sent,Me.abrupt("return",{status:Se.status,res:Se.res});case 9:case"end":return Me.stop()}},re,this)})),he.apply(this,arguments)}me.deleteBucketInventory=oe},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator")),ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("../utils/checkBucketName"),oe=ne.checkBucketName,he=me;he.deleteBucketLifecycle=function(){var re=(0,ae.default)(te.default.mark(function ce(fe,pe){var le,Se;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return oe(fe),le=this._bucketRequestParams("DELETE",fe,"lifecycle",pe),le.successStatuses=[204],ge.next=5,this.request(le);case 5:return Se=ge.sent,ge.abrupt("return",{res:Se.res});case 7:case"end":return ge.stop()}},ce,this)}));function se(ce,fe){return re.apply(this,arguments)}return se}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator")),ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("../utils/checkBucketName"),oe=ne.checkBucketName,he=me;he.deleteBucketWebsite=function(){var re=(0,ae.default)(te.default.mark(function ce(fe,pe){var le,Se;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return oe(fe),le=this._bucketRequestParams("DELETE",fe,"website",pe),le.successStatuses=[204],ge.next=5,this.request(le);case 5:return Se=ge.sent,ge.abrupt("return",{res:Se.res});case 7:case"end":return ge.stop()}},ce,this)}));function se(ce,fe){return re.apply(this,arguments)}return se}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator")),ae=ie(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.extendBucketWorm=void 0;var ne=x("../utils/checkBucketName"),oe=x("../utils/obj2xml");function he(se,ce,fe,pe){return re.apply(this,arguments)}function re(){return re=(0,ae.default)(te.default.mark(function se(ce,fe,pe,le){var Se,xe,ge;return te.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ne.checkBucketName(ce),Se=this._bucketRequestParams("POST",ce,{wormExtend:"",wormId:fe},le),xe={ExtendWormConfiguration:{RetentionPeriodInDays:pe}},Se.mime="xml",Se.content=oe.obj2xml(xe,{headers:!0}),Se.successStatuses=[200],ye.next=8,this.request(Se);case 8:return ge=ye.sent,ye.abrupt("return",{res:ge.res,status:ge.status});case 10:case"end":return ye.stop()}},se,this)})),re.apply(this,arguments)}me.extendBucketWorm=he},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.getBucketInventory=void 0;var ne=x("../utils/checkBucketName"),oe=x("../utils/formatInventoryConfig");function he(se,ce){return re.apply(this,arguments)}function re(){return re=(0,ae.default)(te.default.mark(function se(ce,fe){var pe,le,Se,xe,ge=arguments;return te.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return pe=ge.length>2&&ge[2]!==void 0?ge[2]:{},le=Object.assign({inventory:"",inventoryId:fe},pe.subres),ne.checkBucketName(ce),Se=this._bucketRequestParams("GET",ce,le,pe),Se.successStatuses=[200],Se.xmlResponse=!0,ye.next=8,this.request(Se);case 8:return xe=ye.sent,ye.abrupt("return",{status:xe.status,res:xe.res,inventory:oe.formatInventoryConfig(xe.data)});case 10:case"end":return ye.stop()}},se,this)})),re.apply(this,arguments)}me.getBucketInventory=he},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.map.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("../utils/checkBucketName"),oe=ne.checkBucketName,he=x("../utils/isArray"),re=he.isArray,se=x("../utils/formatObjKey"),ce=se.formatObjKey,fe=me;fe.getBucketLifecycle=function(){var pe=(0,ae.default)(te.default.mark(function Se(xe,ge){var Me,ye,be;return te.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return oe(xe),Me=this._bucketRequestParams("GET",xe,"lifecycle",ge),Me.successStatuses=[200],Me.xmlResponse=!0,ke.next=6,this.request(Me);case 6:return ye=ke.sent,be=ye.data.Rule||null,be&&(re(be)||(be=[be]),be=be.map(function(Ie){return Ie.ID&&(Ie.id=Ie.ID,delete Ie.ID),Ie.Tag&&!re(Ie.Tag)&&(Ie.Tag=[Ie.Tag]),ce(Ie,"firstLowerCase")})),ke.abrupt("return",{rules:be,res:ye.res});case 10:case"end":return ke.stop()}},Se,this)}));function le(Se,xe){return pe.apply(this,arguments)}return le}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator")),ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("../utils/checkBucketName"),oe=ne.checkBucketName,he=me;he.getBucketVersioning=function(){var re=(0,ae.default)(te.default.mark(function ce(fe,pe){var le,Se,xe;return te.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return oe(fe),le=this._bucketRequestParams("GET",fe,"versioning",pe),le.xmlResponse=!0,le.successStatuses=[200],Me.next=6,this.request(le);case 6:return Se=Me.sent,xe=Se.data.Status,Me.abrupt("return",{status:Se.status,versionStatus:xe,res:Se.res});case 9:case"end":return Me.stop()}},ce,this)}));function se(ce,fe){return re.apply(this,arguments)}return se}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator")),ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("../utils/checkBucketName"),oe=ne.checkBucketName,he=x("../utils/isObject"),re=he.isObject,se=me;se.getBucketWebsite=function(){var ce=(0,ae.default)(te.default.mark(function pe(le,Se){var xe,ge,Me;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return oe(le),xe=this._bucketRequestParams("GET",le,"website",Se),xe.successStatuses=[200],xe.xmlResponse=!0,be.next=6,this.request(xe);case 6:return ge=be.sent,Me=[],ge.data.RoutingRules&&ge.data.RoutingRules.RoutingRule&&(re(ge.data.RoutingRules.RoutingRule)?Me=[ge.data.RoutingRules.RoutingRule]:Me=ge.data.RoutingRules.RoutingRule),be.abrupt("return",{index:ge.data.IndexDocument&&ge.data.IndexDocument.Suffix||"",supportSubDir:ge.data.IndexDocument&&ge.data.IndexDocument.SupportSubDir||"false",type:ge.data.IndexDocument&&ge.data.IndexDocument.Type,routingRules:Me,error:ge.data.ErrorDocument&&ge.data.ErrorDocument.Key||null,res:ge.res});case 10:case"end":return be.stop()}},pe,this)}));function fe(pe,le){return ce.apply(this,arguments)}return fe}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.getBucketWorm=void 0;var ne=x("../utils/checkBucketName"),oe=x("../utils/dataFix");function he(se,ce){return re.apply(this,arguments)}function re(){return re=(0,ae.default)(te.default.mark(function se(ce,fe){var pe,le;return te.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return ne.checkBucketName(ce),pe=this._bucketRequestParams("GET",ce,"worm",fe),pe.successStatuses=[200],pe.xmlResponse=!0,xe.next=6,this.request(pe);case 6:return le=xe.sent,oe.dataFix(le.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),xe.abrupt("return",Object.assign(Object.assign({},le.data),{res:le.res,status:le.status}));case 9:case"end":return xe.stop()}},se,this)})),re.apply(this,arguments)}me.getBucketWorm=he},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator")),ae=ie(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.initiateBucketWorm=void 0;var ne=x("../utils/obj2xml"),oe=x("../utils/checkBucketName");function he(se,ce,fe){return re.apply(this,arguments)}function re(){return re=(0,ae.default)(te.default.mark(function se(ce,fe,pe){var le,Se,xe;return te.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return oe.checkBucketName(ce),le=this._bucketRequestParams("POST",ce,"worm",pe),Se={InitiateWormConfiguration:{RetentionPeriodInDays:fe}},le.mime="xml",le.content=ne.obj2xml(Se,{headers:!0}),le.successStatuses=[200],Me.next=8,this.request(le);case 8:return xe=Me.sent,Me.abrupt("return",{res:xe.res,wormId:xe.res.headers["x-oss-worm-id"],status:xe.status});case 10:case"end":return Me.stop()}},se,this)})),re.apply(this,arguments)}me.initiateBucketWorm=he},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.listBucketInventory=void 0;var ne=x("../utils/checkBucketName"),oe=x("../utils/formatInventoryConfig");function he(se){return re.apply(this,arguments)}function re(){return re=(0,ae.default)(te.default.mark(function se(ce){var fe,pe,le,Se,xe,ge,Me,ye,be=arguments;return te.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return fe=be.length>1&&be[1]!==void 0?be[1]:{},pe=fe.continuationToken,le=Object.assign({inventory:""},pe&&{"continuation-token":pe},fe.subres),ne.checkBucketName(ce),Se=this._bucketRequestParams("GET",ce,le,fe),Se.successStatuses=[200],Se.xmlResponse=!0,ke.next=9,this.request(Se);case 9:return xe=ke.sent,ge=xe.data,Me=xe.res,ye=xe.status,ke.abrupt("return",{isTruncated:ge.IsTruncated==="true",nextContinuationToken:ge.NextContinuationToken,inventoryList:oe.formatInventoryConfig(ge.InventoryConfiguration,!0),status:ye,res:Me});case 12:case"end":return ke.stop()}},se,this)})),re.apply(this,arguments)}me.listBucketInventory=he},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.array.concat.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.putBucketInventory=void 0;var ne=x("../utils/checkBucketName"),oe=x("../utils/obj2xml");function he(se,ce){return re.apply(this,arguments)}function re(){return re=(0,ae.default)(te.default.mark(function se(ce,fe){var pe,le,Se,xe,ge,Me,ye,be,Fe,ke,Ie,Le=arguments;return te.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return pe=Le.length>2&&Le[2]!==void 0?Le[2]:{},le=Object.assign({inventory:"",inventoryId:fe.id},pe.subres),ne.checkBucketName(ce),Se=fe.OSSBucketDestination,xe=fe.optionalFields,ge=fe.includedObjectVersions,Me="acs:oss:::",ye="acs:ram::".concat(Se.accountId,":role/"),be={InventoryConfiguration:{Id:fe.id,IsEnabled:fe.isEnabled,Filter:{Prefix:fe.prefix||""},Destination:{OSSBucketDestination:{Format:Se.format,AccountId:Se.accountId,RoleArn:"".concat(ye).concat(Se.rolename),Bucket:"".concat(Me).concat(Se.bucket),Prefix:Se.prefix||"",Encryption:Se.encryption||""}},Schedule:{Frequency:fe.frequency},IncludedObjectVersions:ge,OptionalFields:{Field:(xe==null?void 0:xe.field)||[]}}},Fe=oe.obj2xml(be,{headers:!0,firstUpperCase:!0}),ke=this._bucketRequestParams("PUT",ce,le,pe),ke.successStatuses=[200],ke.mime="xml",ke.content=Fe,Be.next=14,this.request(ke);case 14:return Ie=Be.sent,Be.abrupt("return",{status:Ie.status,res:Ie.res});case 16:case"end":return Be.stop()}},se,this)})),re.apply(this,arguments)}me.putBucketInventory=he},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.array.includes.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("../utils/checkBucketName"),oe=ne.checkBucketName,he=x("../utils/isArray"),re=he.isArray,se=x("../utils/deepCopy"),ce=se.deepCopy,fe=x("../utils/isObject"),pe=fe.isObject,le=x("../utils/obj2xml"),Se=le.obj2xml,xe=x("../utils/checkObjectTag"),ge=xe.checkObjectTag,Me=x("../utils/getStrBytesCount"),ye=Me.getStrBytesCount,be=me;be.putBucketLifecycle=function(){var De=(0,ae.default)(te.default.mark(function Ue(_e,We,Ze){var et,at,pt,Xe,Ge;return te.default.wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:if(oe(_e),re(We)){dt.next=3;break}throw new Error("rules must be Array");case 3:return et=this._bucketRequestParams("PUT",_e,"lifecycle",Ze),at=[],pt={LifecycleConfiguration:{Rule:at}},We.forEach(function(st){Fe(st),Le(st),st.id&&(st.ID=st.id,delete st.id),at.push(st)}),Xe=Se(pt,{headers:!0,firstUpperCase:!0}),et.content=Xe,et.mime="xml",et.successStatuses=[200],dt.next=13,this.request(et);case 13:return Ge=dt.sent,dt.abrupt("return",{res:Ge.res});case 15:case"end":return dt.stop()}},Ue,this)}));function Be(Ue,_e,We){return De.apply(this,arguments)}return Be}();function Fe(De){De.days&&(De.expiration={days:De.days}),De.date&&(De.expiration={createdBeforeDate:De.date})}function ke(De,Be){var Ue=De.days,_e=De.createdBeforeDate;if(!Ue&&!_e)throw new Error("".concat(Be," must includes days or createdBeforeDate"));if(Ue&&!/^[1-9][0-9]*$/.test(Ue))throw new Error("days must be a positive integer");if(_e&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(_e))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function Ie(De){if(!re(De)&&!pe(De))throw new Error("tag must be Object or Array");De=pe(De)?[De]:De;var Be={},Ue=ce(De);Ue.forEach(function(_e){Be[_e.key]=_e.value}),ge(Be)}function Le(De){if(De.id&&ye(De.id)>255)throw new Error("ID is composed of 255 bytes at most");if(De.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(De.status))throw new Error("Status must be Enabled or Disabled");if(De.transition){if(!["IA","Archive"].includes(De.transition.storageClass))throw new Error("StorageClass must be IA or Archive");ke(De.transition,"Transition")}if(De.expiration){if(!De.expiration.expiredObjectDeleteMarker)ke(De.expiration,"Expiration");else if(De.expiration.days||De.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(De.abortMultipartUpload&&ke(De.abortMultipartUpload,"AbortMultipartUpload"),!De.expiration&&!De.abortMultipartUpload&&!De.transition&&!De.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(De.tag){if(De.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");Ie(De.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.includes.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("../utils/checkBucketName"),oe=ne.checkBucketName,he=x("../utils/obj2xml"),re=he.obj2xml,se=me;se.putBucketVersioning=function(){var ce=(0,ae.default)(te.default.mark(function pe(le,Se){var xe,ge,Me,ye,be=arguments;return te.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:if(xe=be.length>2&&be[2]!==void 0?be[2]:{},oe(le),["Enabled","Suspended"].includes(Se)){ke.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return ge=this._bucketRequestParams("PUT",le,"versioning",xe),Me={VersioningConfiguration:{Status:Se}},ge.mime="xml",ge.content=re(Me,{headers:!0}),ke.next=10,this.request(ge);case 10:return ye=ke.sent,ke.abrupt("return",{res:ye.res,status:ye.status});case 12:case"end":return ke.stop()}},pe,this)}));function fe(pe,le){return ce.apply(this,arguments)}return fe}()},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277}],23:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator")),ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("../utils/checkBucketName"),oe=ne.checkBucketName,he=x("../utils/obj2xml"),re=he.obj2xml,se=x("../utils/isArray"),ce=se.isArray,fe=me;fe.putBucketWebsite=function(){var pe=(0,ae.default)(te.default.mark(function Se(xe){var ge,Me,ye,be,Fe,ke,Ie,Le=arguments;return te.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(ge=Le.length>1&&Le[1]!==void 0?Le[1]:{},Me=Le.length>2?Le[2]:void 0,oe(xe),ye=this._bucketRequestParams("PUT",xe,"website",Me),be={Suffix:ge.index||"index.html"},Fe={IndexDocument:be},ke={WebsiteConfiguration:Fe},ge.supportSubDir&&(be.SupportSubDir=ge.supportSubDir),ge.type&&(be.Type=ge.type),ge.error&&(Fe.ErrorDocument={Key:ge.error}),ge.routingRules===void 0){Be.next=14;break}if(ce(ge.routingRules)){Be.next=13;break}throw new Error("RoutingRules must be Array");case 13:Fe.RoutingRules={RoutingRule:ge.routingRules};case 14:return ke=re(ke),ye.content=ke,ye.mime="xml",ye.successStatuses=[200],Be.next=20,this.request(ye);case 20:return Ie=Be.sent,Be.abrupt("return",{res:Ie.res});case 22:case"end":return Be.stop()}},Se,this)}));function le(Se){return pe.apply(this,arguments)}return le}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(x,Te,me){(function(ie){(function(){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.regexp.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),me.encodeCallback=function(ae,ne){if(ae.headers=ae.headers||{},!Object.prototype.hasOwnProperty.call(ae.headers,"x-oss-callback")&&ne.callback){var oe={callbackUrl:encodeURI(ne.callback.url),callbackBody:ne.callback.body};ne.callback.host&&(oe.callbackHost=ne.callback.host),ne.callback.contentType&&(oe.callbackBodyType=ne.callback.contentType);var he=ie.from(JSON.stringify(oe)).toString("base64");if(ae.headers["x-oss-callback"]=he,ne.callback.customValue){var re={};Object.keys(ne.callback.customValue).forEach(function(se){re["x:".concat(se)]=ne.callback.customValue[se].toString()}),ae.headers["x-oss-callback-var"]=ie.from(JSON.stringify(re)).toString("base64")}}}}).call(this)}).call(this,x("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(x,Te,me){"use strict";x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js");var ie=function(ce){return ce&&ce.__esModule?ce:{default:ce}};Object.defineProperty(me,"__esModule",{value:!0}),me.getReqUrl=void 0;var te=ie(x("copy-to")),ae=ie(x("url")),ne=ie(x("merge-descriptors")),oe=ie(x("is-type-of")),he=x("../utils/isIP"),re=x("../utils/checkConfigValid");function se(ce){var fe={},pe=this.options.cname;re.checkConfigValid(this.options.endpoint,"endpoint"),te.default(this.options.endpoint,!1).to(fe),ce.bucket&&!pe&&!he.isIP(fe.hostname)&&!this.options.sldEnable&&(fe.host="".concat(ce.bucket,".").concat(fe.host));var le="/";ce.bucket&&this.options.sldEnable&&(le+="".concat(ce.bucket,"/")),ce.object&&(le+=this._escape(ce.object).replace(/\+/g,"%2B")),fe.pathname=le;var Se={};if(ce.query&&ne.default(Se,ce.query),ce.subres){var xe={};oe.default.string(ce.subres)?xe[ce.subres]="":oe.default.array(ce.subres)?ce.subres.forEach(function(ge){xe[ge]=""}):xe=ce.subres,ne.default(Se,xe)}return fe.query=Se,ae.default.format(fe)}me.getReqUrl=se},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(x,Te,me){"use strict";x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.string.trim.js");var ie=x("humanize-ms"),te=x("url"),ae=x("../utils/checkBucketName"),ne=ae.checkBucketName,oe=x("../utils/setRegion"),he=oe.setRegion,re=x("../utils/checkConfigValid"),se=re.checkConfigValid;function ce(fe,pe){se(fe,"endpoint");var le=te.parse(fe);if(le.protocol||(le=te.parse("http".concat(pe?"s":"","://").concat(fe))),le.protocol!=="http:"&&le.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return le}Te.exports=function(fe){if(!fe||!fe.accessKeyId||!fe.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");fe.stsToken&&!fe.refreshSTSToken&&!fe.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),fe.bucket&&ne(fe.bucket);var pe=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},fe);if(pe.accessKeyId=pe.accessKeyId.trim(),pe.accessKeySecret=pe.accessKeySecret.trim(),pe.timeout&&(pe.timeout=ie(pe.timeout)),pe.endpoint)pe.endpoint=ce(pe.endpoint,pe.secure);else if(pe.region)pe.endpoint=he(pe.region,pe.internal,pe.secure);else throw new Error("require options.endpoint or options.region");return pe.inited=!0,pe}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(x,Te,me){"use strict";var ie=x("merge-descriptors"),te=me;ie(te,x("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.concat.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("../utils/checkBucketName"),oe=ne.checkBucketName,he=x("querystring"),re=x("js-base64"),se=re.Base64.encode,ce=me;ce.processObjectSave=function(){var pe=(0,ae.default)(te.default.mark(function Se(xe,ge,Me,ye){var be,Fe,ke,Ie;return te.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return fe(xe,"sourceObject"),fe(ge,"targetObject"),fe(Me,"process"),ge=this._objectName(ge),ye&&oe(ye),be=this._objectRequestParams("POST",xe,{subres:"x-oss-process"}),Fe=ye?",b_".concat(se(ye)):"",ge=se(ge),ke={"x-oss-process":"".concat(Me,"|sys/saveas,o_").concat(ge).concat(Fe)},be.content=he.stringify(ke),De.next=12,this.request(be);case 12:return Ie=De.sent,De.abrupt("return",{res:Ie.res,status:Ie.res.status});case 14:case"end":return De.stop()}},Se,this)}));function le(Se,xe,ge,Me){return pe.apply(this,arguments)}return le}();function fe(pe,le){if(!pe)throw new Error("".concat(le," is required"));if(typeof pe!="string")throw new Error("".concat(le," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.function.name.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.array.from.js"),x("core-js/modules/es.string.iterator.js"),x("core-js/modules/es.array.map.js"),x("core-js/modules/es.array.filter.js"),x("core-js/modules/es.array.find.js"),x("core-js/modules/es.regexp.to-string.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("debug")("ali-oss:multipart-copy"),oe=x("copy-to"),he=me;he.uploadPartCopy=function(){var re=(0,ae.default)(te.default.mark(function ce(fe,pe,le,Se,xe){var ge,Me,ye,be,Fe,ke=arguments;return te.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return ge=ke.length>5&&ke[5]!==void 0?ke[5]:{},ge.headers=ge.headers||{},Me=ge.versionId||ge.subres&&ge.subres.versionId||null,Me?ye="/".concat(xe.sourceBucketName,"/").concat(encodeURIComponent(xe.sourceKey),"?versionId=").concat(Me):ye="/".concat(xe.sourceBucketName,"/").concat(encodeURIComponent(xe.sourceKey)),ge.headers["x-oss-copy-source"]=ye,Se&&(ge.headers["x-oss-copy-source-range"]="bytes=".concat(Se)),ge.subres={partNumber:le,uploadId:pe},be=this._objectRequestParams("PUT",fe,ge),be.mime=ge.mime,be.successStatuses=[200],Le.next=12,this.request(be);case 12:return Fe=Le.sent,Le.abrupt("return",{name:fe,etag:Fe.res.headers.etag,res:Fe.res});case 14:case"end":return Le.stop()}},ce,this)}));function se(ce,fe,pe,le,Se){return re.apply(this,arguments)}return se}(),he.multipartUploadCopy=function(){var re=(0,ae.default)(te.default.mark(function ce(fe,pe){var le,Se,xe,ge,Me,ye,be,Fe,ke,Ie,Le,De,Be=arguments;return te.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return le=Be.length>2&&Be[2]!==void 0?Be[2]:{},this.resetCancelFlag(),Se=le.versionId,xe=Se===void 0?null:Se,ge={versionId:xe},_e.next=6,this._getObjectMeta(pe.sourceBucketName,pe.sourceKey,ge);case 6:if(Me=_e.sent,ye=Me.res.headers["content-length"],pe.startOffset=pe.startOffset||0,pe.endOffset=pe.endOffset||ye,!(le.checkpoint&&le.checkpoint.uploadId)){_e.next=14;break}return _e.next=13,this._resumeMultipartCopy(le.checkpoint,pe,le);case 13:return _e.abrupt("return",_e.sent);case 14:if(be=102400,Fe=pe.endOffset-pe.startOffset,!(Fe<be)){_e.next=18;break}throw new Error("copySize must not be smaller than ".concat(be));case 18:if(!(le.partSize&&le.partSize<be)){_e.next=20;break}throw new Error("partSize must not be smaller than ".concat(be));case 20:return _e.next=22,this.initMultipartUpload(fe,le);case 22:if(ke=_e.sent,Ie=ke.uploadId,Le=this._getPartSize(Fe,le.partSize),De={name:fe,copySize:Fe,partSize:Le,uploadId:Ie,doneParts:[]},!(le&&le.progress)){_e.next=29;break}return _e.next=29,le.progress(0,De,ke.res);case 29:return _e.next=31,this._resumeMultipartCopy(De,pe,le);case 31:return _e.abrupt("return",_e.sent);case 32:case"end":return _e.stop()}},ce,this)}));function se(ce,fe){return re.apply(this,arguments)}return se}(),he._resumeMultipartCopy=function(){var re=(0,ae.default)(te.default.mark(function ce(fe,pe,le){var Se,xe,ge,Me,ye,be,Fe,ke,Ie,Le,De,Be,Ue,_e,We,Ze,et,at,pt,Xe,Ge;return te.default.wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:if(!this.isCancel()){dt.next=2;break}throw this._makeCancelEvent();case 2:if(Se=le.versionId,xe=Se===void 0?null:Se,ge={versionId:xe},Me=fe.copySize,ye=fe.partSize,be=fe.uploadId,Fe=fe.doneParts,ke=fe.name,Ie=this._divideMultipartCopyParts(Me,ye,pe.startOffset),Le=Ie.length,De={headers:{}},le.copyheaders&&oe(le.copyheaders).to(De.headers),xe&&oe(ge).to(De),Be=function(nt,rt,it){return new Promise(function(){var gt=(0,ae.default)(te.default.mark(function vt(At,Et){var ut,Ye,Ve;return te.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(Ce.prev=0,nt.isCancel()){Ce.next=22;break}return ut=Ie[rt-1],Ye="".concat(ut.start,"-").concat(ut.end-1),Ce.prev=4,Ce.next=7,nt.uploadPartCopy(ke,be,rt,Ye,it,De);case 7:Ve=Ce.sent,Ce.next=15;break;case 10:if(Ce.prev=10,Ce.t0=Ce.catch(4),Ce.t0.status!==404){Ce.next=14;break}throw nt._makeAbortEvent();case 14:throw Ce.t0;case 15:if(nt.isCancel()){Ce.next=22;break}if(ne("content-range ".concat(Ve.res.headers["content-range"])),Fe.push({number:rt,etag:Ve.res.headers.etag}),fe.doneParts=Fe,!(le&&le.progress)){Ce.next=22;break}return Ce.next=22,le.progress(Fe.length/Le,fe,Ve.res);case 22:At(),Ce.next=29;break;case 25:Ce.prev=25,Ce.t1=Ce.catch(0),Ce.t1.partNum=rt,Et(Ce.t1);case 29:case"end":return Ce.stop()}},vt,null,[[0,25],[4,10]])}));return function(vt,At){return gt.apply(this,arguments)}}())},Ue=Array.from(new Array(Le),function(st,nt){return nt+1}),_e=Fe.map(function(st){return st.number}),We=Ue.filter(function(st){return _e.indexOf(st)<0}),Ze=5,et=le.parallel||Ze,!(this.checkBrowserAndVersion("Internet Explorer","10")||et===1)){dt.next=28;break}at=0;case 18:if(!(at<We.length)){dt.next=26;break}if(!this.isCancel()){dt.next=21;break}throw this._makeCancelEvent();case 21:return dt.next=23,Be(this,We[at],pe);case 23:at++,dt.next=18;break;case 26:dt.next=40;break;case 28:return dt.next=30,this._parallelNode(We,et,Be,pe);case 30:if(pt=dt.sent,Xe=pt.find(function(st){return st.name==="abort"}),!Xe){dt.next=34;break}throw Xe;case 34:if(!this.isCancel()){dt.next=36;break}throw this._makeCancelEvent();case 36:if(!(pt&&pt.length>0)){dt.next=40;break}throw Ge=pt[0],Ge.message="Failed to copy some parts with error: ".concat(Ge.toString()," part_num: ").concat(Ge.partNum),Ge;case 40:return dt.next=42,this.completeMultipartUpload(ke,be,Fe,le);case 42:return dt.abrupt("return",dt.sent);case 43:case"end":return dt.stop()}},ce,this)}));function se(ce,fe,pe){return re.apply(this,arguments)}return se}(),he._divideMultipartCopyParts=function(se,ce,fe){for(var pe=Math.ceil(se/ce),le=[],Se=0;Se<pe;Se++){var xe=ce*Se+fe,ge=Math.min(xe+ce,se+fe);le.push({start:xe,end:ge})}return le},he._getObjectMeta=function(){var re=(0,ae.default)(te.default.mark(function ce(fe,pe,le){var Se,xe;return te.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Se=this.getBucket(),this.setBucket(fe),Me.next=4,this.head(pe,le);case 4:return xe=Me.sent,this.setBucket(Se),Me.abrupt("return",xe);case 7:case"end":return Me.stop()}},ce,this)}));function se(ce,fe,pe){return re.apply(this,arguments)}return se}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,debug:465}],30:[function(x,Te,me){(function(ie){(function(){"use strict";var te=x("@babel/runtime/helpers/interopRequireDefault"),ae=te(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.map.js"),x("core-js/modules/es.array.filter.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.array.sort.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.regexp.to-string.js");var ne=te(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("copy-to"),he=x("./callback"),re=x("./utils/deepCopy"),se=re.deepCopyWith,ce=x("./utils/isBuffer"),fe=ce.isBuffer,pe=x("./utils/omit"),le=pe.omit,Se=me;Se.listUploads=function(){var xe=(0,ne.default)(ae.default.mark(function Me(ye,be){var Fe,ke,Ie,Le;return ae.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return be=be||{},Fe={},oe(be).to(Fe),Fe.subres="uploads",ke=this._objectRequestParams("GET","",Fe),ke.query=ye,ke.xmlResponse=!0,ke.successStatuses=[200],Be.next=10,this.request(ke);case 10:return Ie=Be.sent,Le=Ie.data.Upload||[],Array.isArray(Le)||(Le=[Le]),Le=Le.map(function(Ue){return{name:Ue.Key,uploadId:Ue.UploadId,initiated:Ue.Initiated}}),Be.abrupt("return",{res:Ie.res,uploads:Le,bucket:Ie.data.Bucket,nextKeyMarker:Ie.data.NextKeyMarker,nextUploadIdMarker:Ie.data.NextUploadIdMarker,isTruncated:Ie.data.IsTruncated==="true"});case 15:case"end":return Be.stop()}},Me,this)}));function ge(Me,ye){return xe.apply(this,arguments)}return ge}(),Se.listParts=function(){var xe=(0,ne.default)(ae.default.mark(function Me(ye,be,Fe,ke){var Ie,Le,De;return ae.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:return ke=ke||{},Ie={},oe(ke).to(Ie),Ie.subres={uploadId:be},Le=this._objectRequestParams("GET",ye,Ie),Le.query=Fe,Le.xmlResponse=!0,Le.successStatuses=[200],Ue.next=10,this.request(Le);case 10:return De=Ue.sent,Ue.abrupt("return",{res:De.res,uploadId:De.data.UploadId,bucket:De.data.Bucket,name:De.data.Key,partNumberMarker:De.data.PartNumberMarker,nextPartNumberMarker:De.data.NextPartNumberMarker,maxParts:De.data.MaxParts,isTruncated:De.data.IsTruncated,parts:De.data.Part||[]});case 12:case"end":return Ue.stop()}},Me,this)}));function ge(Me,ye,be,Fe){return xe.apply(this,arguments)}return ge}(),Se.abortMultipartUpload=function(){var xe=(0,ne.default)(ae.default.mark(function Me(ye,be,Fe){var ke,Ie,Le;return ae.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return this._stop(),Fe=Fe||{},ke={},oe(Fe).to(ke),ke.subres={uploadId:be},Ie=this._objectRequestParams("DELETE",ye,ke),Ie.successStatuses=[204],Be.next=9,this.request(Ie);case 9:return Le=Be.sent,Be.abrupt("return",{res:Le.res});case 11:case"end":return Be.stop()}},Me,this)}));function ge(Me,ye,be){return xe.apply(this,arguments)}return ge}(),Se.initMultipartUpload=function(){var xe=(0,ne.default)(ae.default.mark(function Me(ye,be){var Fe,ke,Ie;return ae.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return be=be||{},Fe={},oe(be).to(Fe),Fe.headers=Fe.headers||{},this._convertMetaToHeaders(be.meta,Fe.headers),Fe.subres="uploads",ke=this._objectRequestParams("POST",ye,Fe),ke.mime=be.mime,ke.xmlResponse=!0,ke.successStatuses=[200],De.next=12,this.request(ke);case 12:return Ie=De.sent,De.abrupt("return",{res:Ie.res,bucket:Ie.data.Bucket,name:Ie.data.Key,uploadId:Ie.data.UploadId});case 14:case"end":return De.stop()}},Me,this)}));function ge(Me,ye){return xe.apply(this,arguments)}return ge}(),Se.uploadPart=function(){var xe=(0,ne.default)(ae.default.mark(function Me(ye,be,Fe,ke,Ie,Le,De){var Be,Ue;return ae.default.wrap(function(We){for(;;)switch(We.prev=We.next){case 0:if(Be={size:Le-Ie},Ue=ie&&ie.browser,!Ue){We.next=8;break}return We.next=5,this._createBuffer(ke,Ie,Le);case 5:Be.content=We.sent,We.next=11;break;case 8:return We.next=10,this._createStream(ke,Ie,Le);case 10:Be.stream=We.sent;case 11:return We.next=13,this._uploadPart(ye,be,Fe,Be,De);case 13:return We.abrupt("return",We.sent);case 14:case"end":return We.stop()}},Me,this)}));function ge(Me,ye,be,Fe,ke,Ie,Le){return xe.apply(this,arguments)}return ge}(),Se.completeMultipartUpload=function(){var xe=(0,ne.default)(ae.default.mark(function Me(ye,be,Fe,ke){var Ie,Le,De,Be,Ue,_e,We,Ze;return ae.default.wrap(function(at){for(;;)switch(at.prev=at.next){case 0:for(Ie=Fe.concat().sort(function(pt,Xe){return pt.number-Xe.number}).filter(function(pt,Xe,Ge){return!Xe||pt.number!==Ge[Xe-1].number}),Le=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,De=0;De<Ie.length;De++)Be=Ie[De],Le+=`<Part>
`,Le+="<PartNumber>".concat(Be.number,`</PartNumber>
`),Le+="<ETag>".concat(Be.etag,`</ETag>
`),Le+=`</Part>
`;return Le+="</CompleteMultipartUpload>",ke=ke||{},Ue={},Ue=se(ke,function(pt){if(fe(pt))return null}),Ue.subres={uploadId:be},Ue.headers=le(Ue.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),_e=this._objectRequestParams("POST",ye,Ue),he.encodeCallback(_e,Ue),_e.mime="xml",_e.content=Le,_e.headers&&_e.headers["x-oss-callback"]||(_e.xmlResponse=!0),_e.successStatuses=[200],at.next=17,this.request(_e);case 17:if(We=at.sent,!ke.progress){at.next=21;break}return at.next=21,ke.progress(1,null,We.res);case 21:return Ze={res:We.res,bucket:_e.bucket,name:ye,etag:We.res.headers.etag},_e.headers&&_e.headers["x-oss-callback"]&&(Ze.data=JSON.parse(We.data.toString())),at.abrupt("return",Ze);case 24:case"end":return at.stop()}},Me,this)}));function ge(Me,ye,be,Fe){return xe.apply(this,arguments)}return ge}(),Se._uploadPart=function(){var xe=(0,ne.default)(ae.default.mark(function Me(ye,be,Fe,ke,Ie){var Le,De,Be,Ue;return ae.default.wrap(function(We){for(;;)switch(We.prev=We.next){case 0:return Ie=Ie||{},Le={},oe(Ie).to(Le),Le.headers=Le.headers||{},Le.headers["Content-Length"]=ke.size,Le.headers=le(Le.headers,["x-oss-server-side-encryption"]),Le.subres={partNumber:Fe,uploadId:be},De=this._objectRequestParams("PUT",ye,Le),De.mime=Le.mime,Be=ie&&ie.browser,Be?De.content=ke.content:De.stream=ke.stream,De.successStatuses=[200],De.disabledMD5=Ie.disabledMD5,We.next=15,this.request(De);case 15:if(Ue=We.sent,Ue.res.headers.etag){We.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS
https://help.aliyun.com/document_detail/32069.html`);case 18:return ke.stream&&(ke.stream=null,De.stream=null),We.abrupt("return",{name:ye,etag:Ue.res.headers.etag,res:Ue.res});case 20:case"end":return We.stop()}},Me,this)}));function ge(Me,ye,be,Fe,ke){return xe.apply(this,arguments)}return ge}()}).call(this)}).call(this,x("_process"))},{"./callback":24,"./utils/deepCopy":58,"./utils/isBuffer":65,"./utils/omit":73,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],31:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator")),ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("url"),oe=x("utility"),he=x("copy-to"),re=x("../../common/signUtils"),se=x("../utils/isIP"),ce=se.isIP,fe=x("../utils/setSTSToken"),pe=fe.setSTSToken,le=x("../utils/isFunction"),Se=le.isFunction,xe=me;xe.asyncSignatureUrl=function(){var ge=(0,ae.default)(te.default.mark(function ye(be,Fe){var ke,Ie,Le,De,Be;return te.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(!ce(this.options.endpoint.hostname)){_e.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(Fe=Fe||{},be=this._objectName(be),Fe.method=Fe.method||"GET",ke=oe.timestamp()+(Fe.expires||1800),Ie={bucket:this.options.bucket,object:be},Le=this._getResource(Ie),!(this.options.stsToken&&Se(this.options.refreshSTSToken))){_e.next=11;break}return _e.next=11,pe.call(this);case 11:return this.options.stsToken&&(Fe["security-token"]=this.options.stsToken),De=re._signatureForURL(this.options.accessKeySecret,Fe,Le,ke),Be=ne.parse(this._getReqUrl(Ie)),Be.query={OSSAccessKeyId:this.options.accessKeyId,Expires:ke,Signature:De.Signature},he(De.subResource).to(Be.query),_e.abrupt("return",Be.format());case 17:case"end":return _e.stop()}},ye,this)}));function Me(ye,be){return ge.apply(this,arguments)}return Me}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.array.find.js"),x("core-js/modules/es.array.includes.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js");var ae=ie(x("@babel/runtime/helpers/typeof")),ne=ie(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("../utils/checkBucketName"),he=oe.checkBucketName,re=me,se=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];re.copy=function(){var ce=(0,ne.default)(te.default.mark(function pe(le,Se,xe,ge){var Me,ye,be;return te.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return(0,ae.default)(xe)==="object"&&(ge=xe),ge=ge||{},ge.headers=ge.headers||{},Object.keys(ge.headers).forEach(function(Ie){ge.headers["x-oss-copy-source-".concat(Ie.toLowerCase())]=ge.headers[Ie]}),(ge.meta||Object.keys(ge.headers).find(function(Ie){return se.includes(Ie.toLowerCase())}))&&(ge.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(ge.meta,ge.headers),Se=this._getSourceName(Se,xe),ge.versionId&&(Se="".concat(Se,"?versionId=").concat(ge.versionId)),ge.headers["x-oss-copy-source"]=Se,Me=this._objectRequestParams("PUT",le,ge),Me.xmlResponse=!0,Me.successStatuses=[200,304],ke.next=14,this.request(Me);case 14:return ye=ke.sent,be=ye.data,be&&(be={etag:be.ETag,lastModified:be.LastModified}),ke.abrupt("return",{data:be,res:ye.res});case 18:case"end":return ke.stop()}},pe,this)}));function fe(pe,le,Se,xe){return ce.apply(this,arguments)}return fe}(),re._getSourceName=function(fe,pe){return typeof pe=="string"?fe=this._objectName(fe):fe[0]!=="/"?pe=this.options.bucket:(pe=fe.replace(/\/(.+?)(\/.*)/,"$1"),fe=fe.replace(/(\/.+?\/)(.*)/,"$2")),he(pe),fe=encodeURIComponent(fe),fe="/".concat(pe,"/").concat(fe),fe}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],33:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=me;ne.delete=function(){var oe=(0,ae.default)(te.default.mark(function re(se){var ce,fe,pe,le=arguments;return te.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return ce=le.length>1&&le[1]!==void 0?le[1]:{},ce.subres=Object.assign({},ce.subres),ce.versionId&&(ce.subres.versionId=ce.versionId),fe=this._objectRequestParams("DELETE",se,ce),fe.successStatuses=[204],xe.next=7,this.request(fe);case 7:return pe=xe.sent,xe.abrupt("return",{res:pe.res});case 9:case"end":return xe.stop()}},re,this)}));function he(re){return oe.apply(this,arguments)}return he}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("utility"),oe=x("../utils/obj2xml"),he=oe.obj2xml,re=me;re.deleteMulti=function(){var se=(0,ae.default)(te.default.mark(function fe(pe){var le,Se,xe,ge,Me,ye,be,Fe,ke,Ie,Le,De,Be,Ue=arguments;return te.default.wrap(function(We){for(;;)switch(We.prev=We.next){case 0:if(le=Ue.length>1&&Ue[1]!==void 0?Ue[1]:{},Se=[],!(!pe||!pe.length)){We.next=4;break}throw new Error("names is required");case 4:for(xe=0;xe<pe.length;xe++)ge={},typeof pe[xe]=="string"?ge.Key=ne.escape(this._objectName(pe[xe])):(Me=pe[xe],ye=Me.key,be=Me.versionId,ge.Key=ne.escape(this._objectName(ye)),ge.VersionId=be),Se.push(ge);return Fe={Delete:{Quiet:!!le.quiet,Object:Se}},ke=he(Fe,{headers:!0}),le.subres=Object.assign({delete:""},le.subres),le.versionId&&(le.subres.versionId=le.versionId),Ie=this._objectRequestParams("POST","",le),Ie.mime="xml",Ie.content=ke,Ie.xmlResponse=!0,Ie.successStatuses=[200],We.next=16,this.request(Ie);case 16:return Le=We.sent,De=Le.data,Be=De&&De.Deleted||null,Be&&(Array.isArray(Be)||(Be=[Be])),We.abrupt("return",{res:Le.res,deleted:Be||[]});case 21:case"end":return We.stop()}},fe,this)}));function ce(fe){return se.apply(this,arguments)}return ce}()},{"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,utility:474}],35:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=me;ne.deleteObjectTagging=function(){var oe=(0,ae.default)(te.default.mark(function re(se){var ce,fe,pe,le=arguments;return te.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return ce=le.length>1&&le[1]!==void 0?le[1]:{},ce.subres=Object.assign({tagging:""},ce.subres),ce.versionId&&(ce.subres.versionId=ce.versionId),se=this._objectName(se),fe=this._objectRequestParams("DELETE",se,ce),fe.successStatuses=[204],xe.next=8,this.request(fe);case 8:return pe=xe.sent,xe.abrupt("return",{status:pe.status,res:pe.res});case 10:case"end":return xe.stop()}},re,this)}));function he(re){return oe.apply(this,arguments)}return he}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(x,Te,me){"use strict";x("core-js/modules/es.array.concat.js");var ie=x("url"),te=x("../utils/isIP"),ae=te.isIP,ne=me;ne.generateObjectUrl=function(he,re){if(ae(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(re)re[re.length-1]!=="/"&&(re+="/");else{re=this.options.endpoint.format();var se=ie.parse(re),ce=this.options.bucket;se.hostname="".concat(ce,".").concat(se.hostname),se.host="".concat(ce,".").concat(se.host),re=se.format()}return re+this._escape(this._objectName(he))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(x,Te,me){(function(ie){(function(){"use strict";var te=x("@babel/runtime/helpers/interopRequireDefault"),ae=te(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ne=te(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("fs"),he=x("is-type-of"),re=me;re.get=function(){var se=(0,ne.default)(ae.default.mark(function fe(pe,le){var Se,xe,ge,Me,ye,be,Fe,ke,Ie=arguments;return ae.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return Se=Ie.length>2&&Ie[2]!==void 0?Ie[2]:{},xe=null,ge=!1,he.writableStream(le)?xe=le:he.string(le)?(xe=oe.createWriteStream(le),ge=!0):Se=le,Se=Se||{},Me=ie&&ie.browser,ye=Se.responseCacheControl===null?"":"no-cache",be=Me&&ye?{"response-cache-control":ye}:{},Se.subres=Object.assign(be,Se.subres),Se.versionId&&(Se.subres.versionId=Se.versionId),Se.process&&(Se.subres["x-oss-process"]=Se.process),De.prev=11,ke=this._objectRequestParams("GET",pe,Se),ke.writeStream=xe,ke.successStatuses=[200,206,304],De.next=17,this.request(ke);case 17:Fe=De.sent,ge&&xe.destroy(),De.next=28;break;case 21:if(De.prev=21,De.t0=De.catch(11),!ge){De.next=27;break}return xe.destroy(),De.next=27,this._deleteFileSafe(le);case 27:throw De.t0;case 28:return De.abrupt("return",{res:Fe.res,content:Fe.data});case 29:case"end":return De.stop()}},fe,this,[[11,21]])}));function ce(fe,pe){return se.apply(this,arguments)}return ce}()}).call(this)}).call(this,x("_process"))},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"core-js/modules/es.object.assign.js":287,fs:89,"is-type-of":466}],38:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=me;ne.getACL=function(){var oe=(0,ae.default)(te.default.mark(function re(se){var ce,fe,pe,le=arguments;return te.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return ce=le.length>1&&le[1]!==void 0?le[1]:{},ce.subres=Object.assign({acl:""},ce.subres),ce.versionId&&(ce.subres.versionId=ce.versionId),se=this._objectName(se),fe=this._objectRequestParams("GET",se,ce),fe.successStatuses=[200],fe.xmlResponse=!0,xe.next=9,this.request(fe);case 9:return pe=xe.sent,xe.abrupt("return",{acl:pe.data.AccessControlList.Grant,owner:{id:pe.data.Owner.ID,displayName:pe.data.Owner.DisplayName},res:pe.res});case 11:case"end":return xe.stop()}},re,this)}));function he(re){return oe.apply(this,arguments)}return he}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.array.map.js"),x("core-js/modules/es.number.constructor.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=me,oe=x("../utils/isObject"),he=oe.isObject,re=x("../utils/isArray"),se=re.isArray;ne.getBucketVersions=ce,ne.listObjectVersions=ce;function ce(){return fe.apply(this,arguments)}function fe(){return fe=(0,ae.default)(te.default.mark(function Se(){var xe,ge,Me,ye,be,Fe,ke,Ie,Le=arguments;return te.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(xe=Le.length>0&&Le[0]!==void 0?Le[0]:{},ge=Le.length>1&&Le[1]!==void 0?Le[1]:{},!(xe.versionIdMarker&&xe.keyMarker===void 0)){Be.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return ge.subres=Object.assign({versions:""},ge.subres),ge.versionId&&(ge.subres.versionId=ge.versionId),Me=this._objectRequestParams("GET","",ge),Me.xmlResponse=!0,Me.successStatuses=[200],Me.query=le(xe),Be.next=12,this.request(Me);case 12:return ye=Be.sent,be=ye.data.Version||[],Fe=ye.data.DeleteMarker||[],ke=this,be&&(Array.isArray(be)||(be=[be]),be=be.map(function(Ue){return{name:Ue.Key,url:ke._objectUrl(Ue.Key),lastModified:Ue.LastModified,isLatest:Ue.IsLatest==="true",versionId:Ue.VersionId,etag:Ue.ETag,type:Ue.Type,size:Number(Ue.Size),storageClass:Ue.StorageClass,owner:{id:Ue.Owner.ID,displayName:Ue.Owner.DisplayName}}})),Fe&&(se(Fe)||(Fe=[Fe]),Fe=Fe.map(function(Ue){return{name:Ue.Key,lastModified:Ue.LastModified,versionId:Ue.VersionId,owner:{id:Ue.Owner.ID,displayName:Ue.Owner.DisplayName}}})),Ie=ye.data.CommonPrefixes||null,Ie&&(se(Ie)||(Ie=[Ie]),Ie=Ie.map(function(Ue){return Ue.Prefix})),Be.abrupt("return",{res:ye.res,objects:be,deleteMarker:Fe,prefixes:Ie,nextMarker:ye.data.NextKeyMarker||null,NextVersionIdMarker:ye.data.NextVersionIdMarker||null,nextKeyMarker:ye.data.NextKeyMarker||null,nextVersionIdMarker:ye.data.NextVersionIdMarker||null,isTruncated:ye.data.IsTruncated==="true"});case 21:case"end":return Be.stop()}},Se,this)})),fe.apply(this,arguments)}function pe(Se){return Se.replace(/([A-Z])/g,"-$1").toLowerCase()}function le(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},xe={};return he(Se)&&Object.keys(Se).forEach(function(ge){xe[pe(ge)]=Se[ge]}),xe}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=me;ne.getObjectMeta=function(){var oe=(0,ae.default)(te.default.mark(function re(se,ce){var fe,pe;return te.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return ce=ce||{},se=this._objectName(se),ce.subres=Object.assign({objectMeta:""},ce.subres),ce.versionId&&(ce.subres.versionId=ce.versionId),fe=this._objectRequestParams("HEAD",se,ce),fe.successStatuses=[200],Se.next=8,this.request(fe);case 8:return pe=Se.sent,Se.abrupt("return",{status:pe.status,res:pe.res});case 10:case"end":return Se.stop()}},re,this)}));function he(re,se){return oe.apply(this,arguments)}return he}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=me,oe=x("../utils/isObject"),he=oe.isObject;ne.getObjectTagging=function(){var re=(0,ae.default)(te.default.mark(function ce(fe){var pe,le,Se,xe,ge,Me,ye=arguments;return te.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return pe=ye.length>1&&ye[1]!==void 0?ye[1]:{},pe.subres=Object.assign({tagging:""},pe.subres),pe.versionId&&(pe.subres.versionId=pe.versionId),fe=this._objectName(fe),le=this._objectRequestParams("GET",fe,pe),le.successStatuses=[200],Fe.next=8,this.request(le);case 8:return Se=Fe.sent,Fe.next=11,this.parseXML(Se.data);case 11:return xe=Fe.sent,ge=xe.TagSet.Tag,ge=ge&&he(ge)?[ge]:ge||[],Me={},ge.forEach(function(ke){Me[ke.Key]=ke.Value}),Fe.abrupt("return",{status:Se.status,res:Se.res,tag:Me});case 17:case"end":return Fe.stop()}},ce,this)}));function se(ce){return re.apply(this,arguments)}return se}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(x,Te,me){"use strict";var ie=x("../utils/isIP"),te=ie.isIP,ae=me;ae.getObjectUrl=function(oe,he){if(te(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return he?he[he.length-1]!=="/"&&(he+="/"):he=this.options.endpoint.format(),he+this._escape(this._objectName(oe))}},{"../utils/isIP":69}],43:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=me;ne.getSymlink=function(){var oe=(0,ae.default)(te.default.mark(function re(se){var ce,fe,pe,le,Se=arguments;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ce=Se.length>1&&Se[1]!==void 0?Se[1]:{},ce.subres=Object.assign({symlink:""},ce.subres),ce.versionId&&(ce.subres.versionId=ce.versionId),se=this._objectName(se),fe=this._objectRequestParams("GET",se,ce),fe.successStatuses=[200],ge.next=8,this.request(fe);case 8:return pe=ge.sent,le=pe.res.headers["x-oss-symlink-target"],ge.abrupt("return",{targetName:decodeURIComponent(le),res:pe.res});case 11:case"end":return ge.stop()}},re,this)}));function he(re){return oe.apply(this,arguments)}return he}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("../utils/checkEnv"),oe=ne.checkEnv,he=me;he.head=function(){var re=(0,ae.default)(te.default.mark(function ce(fe){var pe,le,Se,xe,ge=arguments;return te.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return pe=ge.length>1&&ge[1]!==void 0?ge[1]:{},oe("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),pe.subres=Object.assign({},pe.subres),pe.versionId&&(pe.subres.versionId=pe.versionId),le=this._objectRequestParams("HEAD",fe,pe),le.successStatuses=[200,304],ye.next=8,this.request(le);case 8:return Se=ye.sent,xe={meta:null,res:Se.res,status:Se.status},Se.status===200&&Object.keys(Se.headers).forEach(function(be){be.indexOf("x-oss-meta-")===0&&(xe.meta||(xe.meta={}),xe.meta[be.substring(11)]=Se.headers[be])}),ye.abrupt("return",xe);case 12:case"end":return ye.stop()}},ce,this)}));function se(ce){return re.apply(this,arguments)}return se}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=me;ne.putACL=function(){var oe=(0,ae.default)(te.default.mark(function re(se,ce,fe){var pe,le;return te.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return fe=fe||{},fe.subres=Object.assign({acl:""},fe.subres),fe.versionId&&(fe.subres.versionId=fe.versionId),fe.headers=fe.headers||{},fe.headers["x-oss-object-acl"]=ce,se=this._objectName(se),pe=this._objectRequestParams("PUT",se,fe),pe.successStatuses=[200],xe.next=10,this.request(pe);case 10:return le=xe.sent,xe.abrupt("return",{res:le.res});case 12:case"end":return xe.stop()}},re,this)}));function he(re,se,ce){return oe.apply(this,arguments)}return he}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.array.map.js"),x("core-js/modules/es.object.keys.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("../utils/obj2xml"),oe=ne.obj2xml,he=x("../utils/checkObjectTag"),re=he.checkObjectTag,se=me;se.putObjectTagging=function(){var ce=(0,ae.default)(te.default.mark(function pe(le,Se){var xe,ge,Me,ye,be=arguments;return te.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return xe=be.length>2&&be[2]!==void 0?be[2]:{},re(Se),xe.subres=Object.assign({tagging:""},xe.subres),xe.versionId&&(xe.subres.versionId=xe.versionId),le=this._objectName(le),ge=this._objectRequestParams("PUT",le,xe),ge.successStatuses=[200],Se=Object.keys(Se).map(function(Ie){return{Key:Ie,Value:Se[Ie]}}),Me={Tagging:{TagSet:{Tag:Se}}},ge.mime="xml",ge.content=oe(Me),ke.next=13,this.request(ge);case 13:return ye=ke.sent,ke.abrupt("return",{res:ye.res,status:ye.status});case 15:case"end":return ke.stop()}},pe,this)}));function fe(pe,le){return ce.apply(this,arguments)}return fe}()},{"../utils/checkObjectTag":54,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290}],47:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=me;ne.putSymlink=function(){var oe=(0,ae.default)(te.default.mark(function re(se,ce,fe){var pe,le;return te.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return fe=fe||{},fe.headers=fe.headers||{},ce=this._escape(this._objectName(ce)),this._convertMetaToHeaders(fe.meta,fe.headers),fe.headers["x-oss-symlink-target"]=ce,fe.subres=Object.assign({symlink:""},fe.subres),fe.versionId&&(fe.subres.versionId=fe.versionId),fe.storageClass&&(fe.headers["x-oss-storage-class"]=fe.storageClass),se=this._objectName(se),pe=this._objectRequestParams("PUT",se,fe),pe.successStatuses=[200],xe.next=13,this.request(pe);case 13:return le=xe.sent,xe.abrupt("return",{res:le.res});case 15:case"end":return xe.stop()}},re,this)}));function he(re,se,ce){return oe.apply(this,arguments)}return he}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(x,Te,me){"use strict";var ie=x("url"),te=x("utility"),ae=x("copy-to"),ne=x("../../common/signUtils"),oe=x("../utils/isIP"),he=oe.isIP,re=me;re.signatureUrl=function(ce,fe){if(he(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");fe=fe||{},ce=this._objectName(ce),fe.method=fe.method||"GET";var pe=te.timestamp()+(fe.expires||1800),le={bucket:this.options.bucket,object:ce},Se=this._getResource(le);this.options.stsToken&&(fe["security-token"]=this.options.stsToken);var xe=ne._signatureForURL(this.options.accessKeySecret,fe,Se,pe),ge=ie.parse(this._getReqUrl(le));return ge.query={OSSAccessKeyId:this.options.accessKeyId,Expires:pe,Signature:xe.Signature},ae(xe.subResource).to(ge.query),ge.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.iterator.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.string.iterator.js"),x("core-js/modules/web.dom-collections.iterator.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.function.name.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator")),ne=x("./utils/isArray"),oe=ne.isArray,he=me;he._parallelNode=function(){var re=(0,ae.default)(te.default.mark(function ce(fe,pe,le,Se){var xe,ge,Me,ye,be,Fe,ke,Ie;return te.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:xe=this,ge=[],Me=[],ye=fe.length/pe,be=fe.length%pe,Fe=be===0?ye:(fe.length-be)/pe+1,ke=1,Ie=0;case 8:if(!(Ie<fe.length)){De.next=26;break}if(!xe.isCancel()){De.next=11;break}return De.abrupt("break",26);case 11:if(Se?Me.push(le(xe,fe[Ie],Se)):Me.push(le(xe,fe[Ie])),!(Me.length===pe||ke===Fe&&Ie===fe.length-1)){De.next=23;break}return De.prev=13,ke+=1,De.next=17,Promise.all(Me);case 17:De.next=22;break;case 19:De.prev=19,De.t0=De.catch(13),ge.push(De.t0);case 22:Me=[];case 23:Ie++,De.next=8;break;case 26:return De.abrupt("return",ge);case 27:case"end":return De.stop()}},ce,this,[[13,19]])}));function se(ce,fe,pe,le){return re.apply(this,arguments)}return se}(),he._parallel=function(se,ce,fe){var pe=this;return new Promise(function(le){var Se=[];if(ce<=0||!se){le(Se);return}function xe(De){return function(){if(De===null)throw new Error("Callback was already called.");var Be=De;De=null;for(var Ue=arguments.length,_e=new Array(Ue),We=0;We<Ue;We++)_e[We]=arguments[We];Be.apply(this,_e)}}function ge(De){var Be=-1,Ue=De.length;return function(){return++Be<Ue&&!pe.isCancel()?{value:De[Be],key:Be}:null}}var Me=ge(se),ye=!1,be=0,Fe=!1;function ke(De){be-=1,De?(ye=!0,Se.push(De),le(Se)):ye&&be<=0?(ye=!0,le(Se)):Fe||(pe.isCancel()?le(Se):Le())}function Ie(De,Be){fe(De).then(function(Ue){Be(null,Ue)}).catch(function(Ue){Be(Ue)})}function Le(){for(Fe=!0;be<ce&&!ye&&!pe.isCancel();){var De=Me();if(De===null||Se.length>0){ye=!0,be<=0&&le(Se);return}be+=1,Ie(De.value,xe(ke))}Fe=!1}Le()})},he.cancel=function(se){this.options.cancelFlag=!0,oe(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(ce){if(ce.destroyed===!1){var fe={name:"cancel",message:"cancel"};ce.destroy(fe)}}),this.multipartUploadStreams=[],se&&this.abortMultipartUpload(se.name,se.uploadId,se.options)},he.isCancel=function(){return this.options.cancelFlag},he.resetCancelFlag=function(){this.options.cancelFlag=!1},he._stop=function(){this.options.cancelFlag=!0},he._makeCancelEvent=function(){var se={status:0,name:"cancel"};return se},he._makeAbortEvent=function(){var se={status:0,name:"abort",message:"upload task has been abort"};return se}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(x,Te,me){(function(ie){(function(){"use strict";x("core-js/modules/es.string.trim.js"),x("core-js/modules/es.array.sort.js"),x("core-js/modules/es.array.join.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.regexp.to-string.js");var te=x("./../../shims/crypto/crypto.js"),ae=x("is-type-of"),ne=x("./utils/lowercaseKeyHeader"),oe=ne.lowercaseKeyHeader;me.buildCanonicalizedResource=function(re,se){var ce="".concat(re),fe="?";if(ae.string(se)&&se.trim()!=="")ce+=fe+se;else if(ae.array(se))se.sort(),ce+=fe+se.join("&");else if(se){var pe=function(xe,ge){return xe[0]>ge[0]?1:xe[0]<ge[0]?-1:0},le=function(xe){ce+=fe+xe,(se[xe]||se[xe]===0)&&(ce+="=".concat(se[xe])),fe="&"};Object.keys(se).sort(pe).forEach(le)}return ce},me.buildCanonicalString=function(re,se,ce,fe){ce=ce||{};var pe=oe(ce.headers),le="x-oss-",Se=[],xe={},ge=[re.toUpperCase(),pe["content-md5"]||"",pe["content-type"],fe||pe["x-oss-date"]];return Object.keys(pe).forEach(function(Me){var ye=Me.toLowerCase();ye.indexOf(le)===0&&(xe[ye]=String(pe[Me]).trim())}),Object.keys(xe).sort().forEach(function(Me){Se.push("".concat(Me,":").concat(xe[Me]))}),ge=ge.concat(Se),ge.push(this.buildCanonicalizedResource(se,ce.parameters)),ge.join(`
`)},me.computeSignature=function(re,se){var ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",fe=te.createHmac("sha1",re);return fe.update(ie.from(se,ce)).digest("base64")},me.authorization=function(re,se,ce,fe){return"OSS ".concat(re,":").concat(this.computeSignature(se,ce,fe))},me._signatureForURL=function(re){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ce=arguments.length>2?arguments[2]:void 0,fe=arguments.length>3?arguments[3]:void 0,pe=arguments.length>4?arguments[4]:void 0,le={},Se=se.subResource,xe=Se===void 0?{}:Se;if(se.process){var ge="x-oss-process";xe[ge]=se.process}if(se.trafficLimit){var Me="x-oss-traffic-limit";xe[Me]=se.trafficLimit}if(se.response&&Object.keys(se.response).forEach(function(ke){var Ie="response-".concat(ke.toLowerCase());xe[Ie]=se.response[ke]}),Object.keys(se).forEach(function(ke){var Ie=ke.toLowerCase(),Le=se[ke];Ie.indexOf("x-oss-")===0?le[Ie]=Le:(Ie.indexOf("content-md5")===0||Ie.indexOf("content-type")===0)&&(le[ke]=Le)}),Object.prototype.hasOwnProperty.call(se,"security-token")&&(xe["security-token"]=se["security-token"]),Object.prototype.hasOwnProperty.call(se,"callback")){var ye={callbackUrl:encodeURI(se.callback.url),callbackBody:se.callback.body};if(se.callback.host&&(ye.callbackHost=se.callback.host),se.callback.contentType&&(ye.callbackBodyType=se.callback.contentType),xe.callback=ie.from(JSON.stringify(ye)).toString("base64"),se.callback.customValue){var be={};Object.keys(se.callback.customValue).forEach(function(ke){be["x:".concat(ke)]=se.callback.customValue[ke]}),xe["callback-var"]=ie.from(JSON.stringify(be)).toString("base64")}}var Fe=this.buildCanonicalString(se.method,ce,{headers:le,parameters:xe},fe.toString());return{Signature:this.computeSignature(re,Fe,pe),subResource:xe}}}).call(this)}).call(this,x("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(x,Te,me){"use strict";x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.checkBucketName=void 0,me.checkBucketName=function(ie){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae=te?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!ae.test(ie))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(x,Te,me){"use strict";x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.checkConfigValid=void 0;var ie={endpoint:te,region:/^[a-zA-Z0-9\-_]+$/};function te(ae){return typeof ae=="string"?/^[a-zA-Z0-9._:/-]+$/.test(ae):ae.host?/^[a-zA-Z0-9._:/-]+$/.test(ae.host):!1}me.checkConfigValid=function(ae,ne){if(ie[ne]){var oe=!0;if(ie[ne]instanceof Function?oe=ie[ne](ae):oe=ie[ne].test(ae),!oe)throw new Error("The ".concat(ne," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(x,Te,me){(function(ie){(function(){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.checkEnv=void 0;function te(ae){ie.browser&&console.warn(ae)}me.checkEnv=te}).call(this)}).call(this,x("_process"))},{_process:467}],54:[function(x,Te,me){"use strict";x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.object.entries.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.checkObjectTag=void 0;var ie=x("./checkValid"),te=ie.checkValid,ae=x("./isObject"),ne=ae.isObject,oe=[{validator:function(ce){if(typeof ce!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],he={key:[].concat(oe,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(oe,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function re(se){if(!ne(se))throw new Error("tag must be Object");var ce=Object.entries(se);if(ce.length>10)throw new Error("maximum of 10 tags for a object");var fe=["key","value"];ce.forEach(function(pe){pe.forEach(function(le,Se){te(le,he[fe[Se]])})})}me.checkObjectTag=re},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(x,Te,me){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.checkValid=void 0;function ie(te,ae){ae.forEach(function(ne){if(ne.validator)ne.validator(te);else if(ne.pattern&&!ne.pattern.test(te))throw new Error(ne.msg)})}me.checkValid=ie},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(x,Te,me){(function(ie){(function(){"use strict";x("core-js/modules/es.array.includes.js"),x("core-js/modules/es.string.includes.js"),x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.array.concat.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.createRequest=void 0;var te=x("./../../../shims/crypto/crypto.js"),ae=x("debug")("ali-oss"),ne=x("mime"),oe=x("dateformat"),he=x("copy-to"),re=x("path"),se=x("./encoder"),ce=se.encoder,fe=x("./isIP"),pe=fe.isIP,le=x("./setRegion"),Se=le.setRegion,xe=x("../client/getReqUrl"),ge=xe.getReqUrl,Me=x("./isDingTalk"),ye=Me.isDingTalk;function be(Ie,Le){return Ie[Le]||Ie[Le.toLowerCase()]}function Fe(Ie,Le){delete Ie[Le],delete Ie[Le.toLowerCase()]}function ke(Ie){var Le=new Date;this.options.amendTimeSkewed&&(Le=+new Date+this.options.amendTimeSkewed);var De={"x-oss-date":oe(Le,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(De["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(De["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(De,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(De["x-oss-security-token"]=this.options.stsToken),he(Ie.headers).to(De),be(De,"Content-Type")||(Ie.mime&&Ie.mime.indexOf("/")>0?De["Content-Type"]=Ie.mime:ye()?De["Content-Type"]="application/octet-stream":De["Content-Type"]=ne.getType(Ie.mime||re.extname(Ie.object||""))),be(De,"Content-Type")||Fe(De,"Content-Type"),Ie.content&&(Ie.disabledMD5||(!Ie.headers||!Ie.headers["Content-MD5"]?De["Content-MD5"]=te.createHash("md5").update(ie.from(Ie.content,"utf8")).digest("base64"):De["Content-MD5"]=Ie.headers["Content-MD5"]),De["Content-Length"]||(De["Content-Length"]=Ie.content.length));var Be=Object.prototype.hasOwnProperty;for(var Ue in De)De[Ue]&&Be.call(De,Ue)&&(De[Ue]=ce(String(De[Ue]),this.options.headerEncoding));var _e=this._getResource(Ie);if(De.authorization=this.authorization(Ie.method,_e,Ie.subres,De,this.options.headerEncoding),pe(this.options.endpoint.hostname)){var We=this.options,Ze=We.region,et=We.internal,at=We.secure,pt=Se(Ze,et,at);De.host="".concat(Ie.bucket,".").concat(pt.host)}var Xe=ge.bind(this)(Ie);ae("request %s %s, with headers %j, !!stream: %s",Ie.method,Xe,De,!!Ie.stream);var Ge=Ie.timeout||this.options.timeout,lt={method:Ie.method,content:Ie.content,stream:Ie.stream,headers:De,timeout:Ge,writeStream:Ie.writeStream,customResponse:Ie.customResponse,ctx:Ie.ctx||this.ctx};return this.agent&&(lt.agent=this.agent),this.httpsAgent&&(lt.httpsAgent=this.httpsAgent),lt.enableProxy=!!this.options.enableProxy,lt.proxy=this.options.proxy?this.options.proxy:null,{url:Xe,params:lt}}me.createRequest=ke}).call(this)}).call(this,x("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(x,Te,me){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.entries.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/es.array.includes.js"),x("core-js/modules/es.object.keys.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.dataFix=void 0;var ie=x("./isObject"),te=["true","TRUE","1",1],ae=["false","FALSE","0",0];function ne(re,se,ce){if(ie.isObject(re)){var fe=se.remove,pe=fe===void 0?[]:fe,le=se.rename,Se=le===void 0?{}:le,xe=se.camel,ge=xe===void 0?[]:xe,Me=se.bool,ye=Me===void 0?[]:Me,be=se.lowerFirst,Fe=be===void 0?!1:be;return pe.forEach(function(ke){return delete re[ke]}),Object.entries(Se).forEach(function(ke){re[ke[0]]&&(re[ke[1]]||(re[ke[1]]=re[ke[0]],delete re[ke[0]]))}),ge.forEach(function(ke){if(re[ke]){var Ie=ke.replace(/^(.)/,function(Le){return Le.toLowerCase()}).replace(/-(\w)/g,function(Le,De){return De.toUpperCase()});re[Ie]||(re[Ie]=re[ke])}}),ye.forEach(function(ke){re[ke]=oe(re[ke])}),typeof ce=="function"&&ce(re),he(re,Fe),ne}}me.dataFix=ne;function oe(re){return re?te.includes(re)?!0:ae.includes(re)?!1:re:!1}function he(re,se){se&&Object.keys(re).forEach(function(ce){var fe=ce.replace(/^\w/,function(pe){return pe.toLowerCase()});typeof re[fe]=="undefined"&&(re[fe]=re[ce],delete re[ce])})}},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault");x("core-js/modules/es.array.slice.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js");var te=ie(x("@babel/runtime/helpers/typeof"));Object.defineProperty(me,"__esModule",{value:!0}),me.deepCopyWith=me.deepCopy=void 0;var ae=x("./isBuffer");me.deepCopy=function(ne){if(ne===null||(0,te.default)(ne)!=="object")return ne;if(ae.isBuffer(ne))return ne.slice();var oe=Array.isArray(ne)?[]:{};return Object.keys(ne).forEach(function(he){oe[he]=me.deepCopy(ne[he])}),oe},me.deepCopyWith=function(ne,oe){function he(re,se,ce){var fe=oe(re,se,ce);if(fe!==void 0)return fe;if(re===null||(0,te.default)(re)!=="object")return re;if(ae.isBuffer(re))return re.slice();var pe=Array.isArray(re)?[]:{};return Object.keys(re).forEach(function(le){pe[le]=he(re[le],le,re)}),pe}return oe?he(ne,"",null):me.deepCopy(ne)}},{"./isBuffer":65,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],59:[function(x,Te,me){(function(ie){(function(){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.encoder=void 0;function te(ae){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return ne==="utf-8"?ae:ie.from(ae).toString("latin1")}me.encoder=te}).call(this)}).call(this,x("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(x,Te,me){"use strict";x("core-js/modules/es.array.map.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.formatInventoryConfig=void 0;var ie=x("../utils/dataFix"),te=x("../utils/isObject"),ae=x("../utils/isArray"),ne=x("../utils/formatObjKey");function oe(re){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return se&&te.isObject(re)&&(re=[re]),ae.isArray(re)?re=re.map(he):re=he(re),re}me.formatInventoryConfig=oe;function he(re){return ie.dataFix(re,{bool:["IsEnabled"]},function(se){var ce,fe;se.prefix=se.Filter.Prefix,delete se.Filter,se.OSSBucketDestination=se.Destination.OSSBucketDestination,se.OSSBucketDestination.rolename=se.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete se.OSSBucketDestination.RoleArn,se.OSSBucketDestination.bucket=se.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete se.OSSBucketDestination.Bucket,delete se.Destination,se.frequency=se.Schedule.Frequency,delete se.Schedule.Frequency,!((ce=se==null?void 0:se.OptionalFields)===null||ce===void 0)&&ce.Field&&!ae.isArray((fe=se.OptionalFields)===null||fe===void 0?void 0:fe.Field)&&(se.OptionalFields.Field=[se.OptionalFields.Field])}),re=ne.formatObjKey(re,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),re}},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault");x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.array.includes.js"),x("core-js/modules/es.string.includes.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js");var te=ie(x("@babel/runtime/helpers/typeof"));Object.defineProperty(me,"__esModule",{value:!0}),me.formatObjKey=void 0;function ae(oe,he,re){if(oe===null||(0,te.default)(oe)!=="object")return oe;var se;if(Array.isArray(oe)){se=[];for(var ce=0;ce<oe.length;ce++)se.push(ae(oe[ce],he,re))}else se={},Object.keys(oe).forEach(function(fe){se[ne(fe,he,re)]=ae(oe[fe],he,re)});return se}me.formatObjKey=ae;function ne(oe,he,re){return re&&re.exclude&&re.exclude.includes(oe)||(he==="firstUpperCase"?oe=oe.replace(/^./,function(se){return se.toUpperCase()}):he==="firstLowerCase"&&(oe=oe.replace(/^./,function(se){return se.toLowerCase()}))),oe}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.includes.js":302,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],62:[function(x,Te,me){"use strict";x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.getStrBytesCount=void 0;function ie(te){for(var ae=0,ne=0;ne<te.length;ne++){var oe=te.charAt(ne);/^[\u00-\uff]$/.test(oe)?ae+=1:ae+=2}return ae}me.getStrBytesCount=ie},{"core-js/modules/es.regexp.exec.js":300}],63:[function(x,Te,me){"use strict";x("core-js/modules/es.object.to-string.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.isArray=void 0,me.isArray=function(ie){return Object.prototype.toString.call(ie)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(x,Te,me){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.isBlob=void 0;function ie(te){return typeof Blob!="undefined"&&te instanceof Blob}me.isBlob=ie},{}],65:[function(x,Te,me){(function(ie){(function(){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.isBuffer=void 0;function te(ae){return ie.isBuffer(ae)}me.isBuffer=te}).call(this)}).call(this,{isBuffer:x("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(x,Te,me){(function(ie){(function(){"use strict";x("core-js/modules/es.array.includes.js"),x("core-js/modules/es.string.includes.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.isDingTalk=void 0;function te(){return!!(ie.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}me.isDingTalk=te}).call(this)}).call(this,x("_process"))},{_process:467,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.string.includes.js":302}],67:[function(x,Te,me){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.isFile=void 0,me.isFile=function(ie){return typeof File!="undefined"&&ie instanceof File}},{}],68:[function(x,Te,me){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.isFunction=void 0,me.isFunction=function(ie){return typeof ie=="function"}},{}],69:[function(x,Te,me){"use strict";x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.isIP=void 0,me.isIP=function(ie){var te=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,ae=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return te.test(ie)||ae.test(ie)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(x,Te,me){"use strict";x("core-js/modules/es.object.to-string.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.isObject=void 0,me.isObject=function(ie){return Object.prototype.toString.call(ie)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(x,Te,me){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.lowercaseKeyHeader=void 0;var ie=x("./isObject");function te(ae){var ne={};return ie.isObject(ae)&&Object.keys(ae).forEach(function(oe){ne[oe.toLowerCase()]=ae[oe]}),ne}me.lowercaseKeyHeader=te},{"./isObject":70,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],72:[function(x,Te,me){"use strict";x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.array.join.js"),x("core-js/modules/es.array.map.js"),x("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.obj2xml=void 0;var ie=x("./formatObjKey");function te(ne){return Object.prototype.toString.call(ne).replace(/(.*? |])/g,"").toLowerCase()}function ae(ne,oe){var he="";return oe&&oe.headers&&(he=`<?xml version="1.0" encoding="UTF-8"?>
`),oe&&oe.firstUpperCase&&(ne=ie.formatObjKey(ne,"firstUpperCase")),te(ne)==="object"?Object.keys(ne).forEach(function(re){te(ne[re])!=="undefined"&&te(ne[re])!=="null"&&(te(ne[re])==="string"||te(ne[re])==="number"?he+="<".concat(re,">").concat(ne[re],"</").concat(re,">"):te(ne[re])==="object"?he+="<".concat(re,">").concat(ae(ne[re]),"</").concat(re,">"):te(ne[re])==="array"?he+=ne[re].map(function(se){return"<".concat(re,">").concat(ae(se),"</").concat(re,">")}).join(""):he+="<".concat(re,">").concat(ne[re].toString(),"</").concat(re,">"))}):he+=ne.toString(),he}me.obj2xml=ae},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(x,Te,me){"use strict";x("core-js/modules/es.array.slice.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.function.name.js"),x("core-js/modules/es.array.from.js"),x("core-js/modules/es.string.iterator.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.symbol.js"),x("core-js/modules/es.symbol.description.js"),x("core-js/modules/es.symbol.iterator.js"),x("core-js/modules/es.array.iterator.js"),x("core-js/modules/web.dom-collections.iterator.js"),x("core-js/modules/es.object.assign.js");function ie(oe,he){var re=typeof Symbol!="undefined"&&oe[Symbol.iterator]||oe["@@iterator"];if(!re){if(Array.isArray(oe)||(re=te(oe))||he&&oe&&typeof oe.length=="number"){re&&(oe=re);var se=0,ce=function(){};return{s:ce,n:function(){return se>=oe.length?{done:!0}:{done:!1,value:oe[se++]}},e:function(xe){throw xe},f:ce}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var fe=!0,pe=!1,le;return{s:function(){re=re.call(oe)},n:function(){var xe=re.next();return fe=xe.done,xe},e:function(xe){pe=!0,le=xe},f:function(){try{!fe&&re.return!=null&&re.return()}finally{if(pe)throw le}}}}function te(oe,he){if(oe){if(typeof oe=="string")return ae(oe,he);var re=Object.prototype.toString.call(oe).slice(8,-1);if(re==="Object"&&oe.constructor&&(re=oe.constructor.name),re==="Map"||re==="Set")return Array.from(oe);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return ae(oe,he)}}function ae(oe,he){(he==null||he>oe.length)&&(he=oe.length);for(var re=0,se=new Array(he);re<he;re++)se[re]=oe[re];return se}Object.defineProperty(me,"__esModule",{value:!0}),me.omit=void 0;function ne(oe,he){var re=Object.assign({},oe),se=ie(he),ce;try{for(se.s();!(ce=se.n()).done;){var fe=ce.value;delete re[fe]}}catch(pe){se.e(pe)}finally{se.f()}return re}me.omit=ne},{"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.iterator.js":312,"core-js/modules/es.symbol.js":313,"core-js/modules/web.dom-collections.iterator.js":340}],74:[function(x,Te,me){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),Object.defineProperty(me,"__esModule",{value:!0}),me.retry=void 0;function ie(te,ae){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},oe=0,he=ne.retryDelay,re=he===void 0?500:he,se=ne.errorHandler,ce=se===void 0?function(){return!0}:se,fe=function pe(){for(var le=arguments.length,Se=new Array(le),xe=0;xe<le;xe++)Se[xe]=arguments[xe];return new Promise(function(ge,Me){te.apply(void 0,Se).then(function(ye){oe=0,ge(ye)}).catch(function(ye){oe<ae&&ce(ye)?(oe++,setTimeout(function(){ge(pe.apply(void 0,Se))},re)):(oe=0,Me(ye))})})};return fe}me.retry=ie},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(x,Te,me){"use strict";var ie=function(oe){return oe&&oe.__esModule?oe:{default:oe}};Object.defineProperty(me,"__esModule",{value:!0}),me.setRegion=void 0;var te=ie(x("url")),ae=x("./checkConfigValid");function ne(oe){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ae.checkConfigValid(oe,"region");var se=re?"https://":"http://",ce=he?"-internal.aliyuncs.com":".aliyuncs.com",fe="vpc100-oss-cn-";return oe.substr(0,fe.length)===fe&&(ce=".aliyuncs.com"),te.default.parse(se+oe+ce)}me.setRegion=ne},{"./checkConfigValid":52,url:472}],76:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.array.find.js"),x("core-js/modules/es.object.assign.js");var ae=ie(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(me,"__esModule",{value:!0}),me.checkCredentials=me.setSTSToken=void 0;var ne=x("./formatObjKey");function oe(){return he.apply(this,arguments)}function he(){return he=(0,ae.default)(te.default.mark(function se(){var ce,fe;return te.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:if(this.options||(this.options={}),ce=new Date,!this.stsTokenFreshTime){le.next=14;break}if(!(+ce-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){le.next=12;break}return this.stsTokenFreshTime=ce,le.next=7,this.options.refreshSTSToken();case 7:fe=le.sent,fe=ne.formatObjKey(fe,"firstLowerCase"),fe.securityToken&&(fe.stsToken=fe.securityToken),re(fe),Object.assign(this.options,fe);case 12:le.next=15;break;case 14:this.stsTokenFreshTime=ce;case 15:return le.abrupt("return",null);case 16:case"end":return le.stop()}},se,this)})),he.apply(this,arguments)}me.setSTSToken=oe;function re(se){var ce=["accessKeySecret","accessKeyId","stsToken"],fe=Object.keys(se);ce.forEach(function(pe){if(!fe.find(function(le){return le===pe}))throw Error("refreshSTSToken must return contains ".concat(pe))})}me.checkCredentials=re},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(x,Te,me){function ie(ae,ne,oe,he,re,se,ce){try{var fe=ae[se](ce),pe=fe.value}catch(le){oe(le);return}fe.done?ne(pe):Promise.resolve(pe).then(he,re)}function te(ae){return function(){var ne=this,oe=arguments;return new Promise(function(he,re){var se=ae.apply(ne,oe);function ce(pe){ie(se,he,re,ce,fe,"next",pe)}function fe(pe){ie(se,he,re,ce,fe,"throw",pe)}ce(void 0)})}}Te.exports=te,Te.exports.__esModule=!0,Te.exports.default=Te.exports},{}],78:[function(x,Te,me){function ie(te){return te&&te.__esModule?te:{default:te}}Te.exports=ie,Te.exports.__esModule=!0,Te.exports.default=Te.exports},{}],79:[function(x,Te,me){function ie(te){"@babel/helpers - typeof";return Te.exports=ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ae){return typeof ae}:function(ae){return ae&&typeof Symbol=="function"&&ae.constructor===Symbol&&ae!==Symbol.prototype?"symbol":typeof ae},Te.exports.__esModule=!0,Te.exports.default=Te.exports,ie(te)}Te.exports=ie,Te.exports.__esModule=!0,Te.exports.default=Te.exports},{}],80:[function(x,Te,me){Te.exports=x("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(x,Te,me){Te.exports=ie,Te.exports.HttpsAgent=ie;function ie(){}},{}],82:[function(x,Te,me){(function(ie){(function(){"use strict";var te=x("object-assign");function ae(Ze,et){if(Ze===et)return 0;for(var at=Ze.length,pt=et.length,Xe=0,Ge=Math.min(at,pt);Xe<Ge;++Xe)if(Ze[Xe]!==et[Xe]){at=Ze[Xe],pt=et[Xe];break}return at<pt?-1:pt<at?1:0}function ne(Ze){return ie.Buffer&&typeof ie.Buffer.isBuffer=="function"?ie.Buffer.isBuffer(Ze):!!(Ze!=null&&Ze._isBuffer)}var oe=x("util/"),he=Object.prototype.hasOwnProperty,re=Array.prototype.slice,se=function(){return function(){}.name==="foo"}();function ce(Ze){return Object.prototype.toString.call(Ze)}function fe(Ze){return ne(Ze)||typeof ie.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(Ze):Ze?!!(Ze instanceof DataView||Ze.buffer&&Ze.buffer instanceof ArrayBuffer):!1}var pe=Te.exports=be,le=/\s*function\s+([^\(\s]*)\s*/;function Se(Ze){if(oe.isFunction(Ze)){if(se)return Ze.name;var et=Ze.toString(),at=et.match(le);return at&&at[1]}}pe.AssertionError=function(et){this.name="AssertionError",this.actual=et.actual,this.expected=et.expected,this.operator=et.operator,et.message?(this.message=et.message,this.generatedMessage=!1):(this.message=Me(this),this.generatedMessage=!0);var at=et.stackStartFunction||ye;if(Error.captureStackTrace)Error.captureStackTrace(this,at);else{var pt=new Error;if(pt.stack){var Xe=pt.stack,Ge=Se(at),lt=Xe.indexOf(`
`+Ge);if(lt>=0){var dt=Xe.indexOf(`
`,lt+1);Xe=Xe.substring(dt+1)}this.stack=Xe}}},oe.inherits(pe.AssertionError,Error);function xe(Ze,et){return typeof Ze=="string"?Ze.length<et?Ze:Ze.slice(0,et):Ze}function ge(Ze){if(se||!oe.isFunction(Ze))return oe.inspect(Ze);var et=Se(Ze),at=et?": "+et:"";return"[Function"+at+"]"}function Me(Ze){return xe(ge(Ze.actual),128)+" "+Ze.operator+" "+xe(ge(Ze.expected),128)}function ye(Ze,et,at,pt,Xe){throw new pe.AssertionError({message:at,actual:Ze,expected:et,operator:pt,stackStartFunction:Xe})}pe.fail=ye;function be(Ze,et){Ze||ye(Ze,!0,et,"==",pe.ok)}pe.ok=be,pe.equal=function(et,at,pt){et!=at&&ye(et,at,pt,"==",pe.equal)},pe.notEqual=function(et,at,pt){et==at&&ye(et,at,pt,"!=",pe.notEqual)},pe.deepEqual=function(et,at,pt){Fe(et,at,!1)||ye(et,at,pt,"deepEqual",pe.deepEqual)},pe.deepStrictEqual=function(et,at,pt){Fe(et,at,!0)||ye(et,at,pt,"deepStrictEqual",pe.deepStrictEqual)};function Fe(Ze,et,at,pt){if(Ze===et)return!0;if(ne(Ze)&&ne(et))return ae(Ze,et)===0;if(oe.isDate(Ze)&&oe.isDate(et))return Ze.getTime()===et.getTime();if(oe.isRegExp(Ze)&&oe.isRegExp(et))return Ze.source===et.source&&Ze.global===et.global&&Ze.multiline===et.multiline&&Ze.lastIndex===et.lastIndex&&Ze.ignoreCase===et.ignoreCase;if((Ze===null||typeof Ze!="object")&&(et===null||typeof et!="object"))return at?Ze===et:Ze==et;if(fe(Ze)&&fe(et)&&ce(Ze)===ce(et)&&!(Ze instanceof Float32Array||Ze instanceof Float64Array))return ae(new Uint8Array(Ze.buffer),new Uint8Array(et.buffer))===0;if(ne(Ze)!==ne(et))return!1;pt=pt||{actual:[],expected:[]};var Xe=pt.actual.indexOf(Ze);return Xe!==-1&&Xe===pt.expected.indexOf(et)?!0:(pt.actual.push(Ze),pt.expected.push(et),Ie(Ze,et,at,pt))}function ke(Ze){return Object.prototype.toString.call(Ze)=="[object Arguments]"}function Ie(Ze,et,at,pt){if(Ze==null||et===null||et===void 0)return!1;if(oe.isPrimitive(Ze)||oe.isPrimitive(et))return Ze===et;if(at&&Object.getPrototypeOf(Ze)!==Object.getPrototypeOf(et))return!1;var Xe=ke(Ze),Ge=ke(et);if(Xe&&!Ge||!Xe&&Ge)return!1;if(Xe)return Ze=re.call(Ze),et=re.call(et),Fe(Ze,et,at);var lt=We(Ze),dt=We(et),st,nt;if(lt.length!==dt.length)return!1;for(lt.sort(),dt.sort(),nt=lt.length-1;nt>=0;nt--)if(lt[nt]!==dt[nt])return!1;for(nt=lt.length-1;nt>=0;nt--)if(st=lt[nt],!Fe(Ze[st],et[st],at,pt))return!1;return!0}pe.notDeepEqual=function(et,at,pt){Fe(et,at,!1)&&ye(et,at,pt,"notDeepEqual",pe.notDeepEqual)},pe.notDeepStrictEqual=Le;function Le(Ze,et,at){Fe(Ze,et,!0)&&ye(Ze,et,at,"notDeepStrictEqual",Le)}pe.strictEqual=function(et,at,pt){et!==at&&ye(et,at,pt,"===",pe.strictEqual)},pe.notStrictEqual=function(et,at,pt){et===at&&ye(et,at,pt,"!==",pe.notStrictEqual)};function De(Ze,et){if(!Ze||!et)return!1;if(Object.prototype.toString.call(et)=="[object RegExp]")return et.test(Ze);try{if(Ze instanceof et)return!0}catch(at){}return Error.isPrototypeOf(et)?!1:et.call({},Ze)===!0}function Be(Ze){var et;try{Ze()}catch(at){et=at}return et}function Ue(Ze,et,at,pt){var Xe;if(typeof et!="function")throw new TypeError('"block" argument must be a function');typeof at=="string"&&(pt=at,at=null),Xe=Be(et),pt=(at&&at.name?" ("+at.name+").":".")+(pt?" "+pt:"."),Ze&&!Xe&&ye(Xe,at,"Missing expected exception"+pt);var Ge=typeof pt=="string",lt=!Ze&&oe.isError(Xe),dt=!Ze&&Xe&&!at;if((lt&&Ge&&De(Xe,at)||dt)&&ye(Xe,at,"Got unwanted exception"+pt),Ze&&Xe&&at&&!De(Xe,at)||!Ze&&Xe)throw Xe}pe.throws=function(Ze,et,at){Ue(!0,Ze,et,at)},pe.doesNotThrow=function(Ze,et,at){Ue(!1,Ze,et,at)},pe.ifError=function(Ze){if(Ze)throw Ze};function _e(Ze,et){Ze||ye(Ze,!0,et,"==",_e)}pe.strict=te(_e,pe,{equal:pe.strictEqual,deepEqual:pe.deepStrictEqual,notEqual:pe.notStrictEqual,notDeepEqual:pe.notDeepStrictEqual}),pe.strict.strict=pe.strict;var We=Object.keys||function(Ze){var et=[];for(var at in Ze)he.call(Ze,at)&&et.push(at);return et}}).call(this)}).call(this,typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(x,Te,me){typeof Object.create=="function"?Te.exports=function(te,ae){te.super_=ae,te.prototype=Object.create(ae.prototype,{constructor:{value:te,enumerable:!1,writable:!0,configurable:!0}})}:Te.exports=function(te,ae){te.super_=ae;var ne=function(){};ne.prototype=ae.prototype,te.prototype=new ne,te.prototype.constructor=te}},{}],84:[function(x,Te,me){Te.exports=function(te){return te&&typeof te=="object"&&typeof te.copy=="function"&&typeof te.fill=="function"&&typeof te.readUInt8=="function"}},{}],85:[function(x,Te,me){(function(ie,te){(function(){var ae=/%[sdj%]/g;me.format=function(dt){if(!Ie(dt)){for(var st=[],nt=0;nt<arguments.length;nt++)st.push(he(arguments[nt]));return st.join(" ")}for(var nt=1,rt=arguments,it=rt.length,gt=String(dt).replace(ae,function(At){if(At==="%%")return"%";if(nt>=it)return At;switch(At){case"%s":return String(rt[nt++]);case"%d":return Number(rt[nt++]);case"%j":try{return JSON.stringify(rt[nt++])}catch(Et){return"[Circular]"}default:return At}}),vt=rt[nt];nt<it;vt=rt[++nt])be(vt)||!Ue(vt)?gt+=" "+vt:gt+=" "+he(vt);return gt},me.deprecate=function(dt,st){if(De(te.process))return function(){return me.deprecate(dt,st).apply(this,arguments)};if(ie.noDeprecation===!0)return dt;var nt=!1;function rt(){if(!nt){if(ie.throwDeprecation)throw new Error(st);ie.traceDeprecation?console.trace(st):console.error(st),nt=!0}return dt.apply(this,arguments)}return rt};var ne={},oe;me.debuglog=function(dt){if(De(oe)&&(oe=ie.env.NODE_DEBUG||""),dt=dt.toUpperCase(),!ne[dt])if(new RegExp("\\b"+dt+"\\b","i").test(oe)){var st=ie.pid;ne[dt]=function(){var nt=me.format.apply(me,arguments);console.error("%s %d: %s",dt,st,nt)}}else ne[dt]=function(){};return ne[dt]};function he(dt,st){var nt={seen:[],stylize:se};return arguments.length>=3&&(nt.depth=arguments[2]),arguments.length>=4&&(nt.colors=arguments[3]),ye(st)?nt.showHidden=st:st&&me._extend(nt,st),De(nt.showHidden)&&(nt.showHidden=!1),De(nt.depth)&&(nt.depth=2),De(nt.colors)&&(nt.colors=!1),De(nt.customInspect)&&(nt.customInspect=!0),nt.colors&&(nt.stylize=re),fe(nt,dt,nt.depth)}me.inspect=he,he.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},he.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function re(dt,st){var nt=he.styles[st];return nt?"\x1B["+he.colors[nt][0]+"m"+dt+"\x1B["+he.colors[nt][1]+"m":dt}function se(dt,st){return dt}function ce(dt){var st={};return dt.forEach(function(nt,rt){st[nt]=!0}),st}function fe(dt,st,nt){if(dt.customInspect&&st&&Ze(st.inspect)&&st.inspect!==me.inspect&&!(st.constructor&&st.constructor.prototype===st)){var rt=st.inspect(nt,dt);return Ie(rt)||(rt=fe(dt,rt,nt)),rt}var it=pe(dt,st);if(it)return it;var gt=Object.keys(st),vt=ce(gt);if(dt.showHidden&&(gt=Object.getOwnPropertyNames(st)),We(st)&&(gt.indexOf("message")>=0||gt.indexOf("description")>=0))return le(st);if(gt.length===0){if(Ze(st)){var At=st.name?": "+st.name:"";return dt.stylize("[Function"+At+"]","special")}if(Be(st))return dt.stylize(RegExp.prototype.toString.call(st),"regexp");if(_e(st))return dt.stylize(Date.prototype.toString.call(st),"date");if(We(st))return le(st)}var Et="",ut=!1,Ye=["{","}"];if(Me(st)&&(ut=!0,Ye=["[","]"]),Ze(st)){var Ve=st.name?": "+st.name:"";Et=" [Function"+Ve+"]"}if(Be(st)&&(Et=" "+RegExp.prototype.toString.call(st)),_e(st)&&(Et=" "+Date.prototype.toUTCString.call(st)),We(st)&&(Et=" "+le(st)),gt.length===0&&(!ut||st.length==0))return Ye[0]+Et+Ye[1];if(nt<0)return Be(st)?dt.stylize(RegExp.prototype.toString.call(st),"regexp"):dt.stylize("[Object]","special");dt.seen.push(st);var de;return ut?de=Se(dt,st,nt,vt,gt):de=gt.map(function(Ce){return xe(dt,st,nt,vt,Ce,ut)}),dt.seen.pop(),ge(de,Et,Ye)}function pe(dt,st){if(De(st))return dt.stylize("undefined","undefined");if(Ie(st)){var nt="'"+JSON.stringify(st).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return dt.stylize(nt,"string")}if(ke(st))return dt.stylize(""+st,"number");if(ye(st))return dt.stylize(""+st,"boolean");if(be(st))return dt.stylize("null","null")}function le(dt){return"["+Error.prototype.toString.call(dt)+"]"}function Se(dt,st,nt,rt,it){for(var gt=[],vt=0,At=st.length;vt<At;++vt)lt(st,String(vt))?gt.push(xe(dt,st,nt,rt,String(vt),!0)):gt.push("");return it.forEach(function(Et){Et.match(/^\d+$/)||gt.push(xe(dt,st,nt,rt,Et,!0))}),gt}function xe(dt,st,nt,rt,it,gt){var vt,At,Et;if(Et=Object.getOwnPropertyDescriptor(st,it)||{value:st[it]},Et.get?Et.set?At=dt.stylize("[Getter/Setter]","special"):At=dt.stylize("[Getter]","special"):Et.set&&(At=dt.stylize("[Setter]","special")),lt(rt,it)||(vt="["+it+"]"),At||(dt.seen.indexOf(Et.value)<0?(be(nt)?At=fe(dt,Et.value,null):At=fe(dt,Et.value,nt-1),At.indexOf(`
`)>-1&&(gt?At=At.split(`
`).map(function(ut){return" "+ut}).join(`
`).substr(2):At=`
`+At.split(`
`).map(function(ut){return" "+ut}).join(`
`))):At=dt.stylize("[Circular]","special")),De(vt)){if(gt&&it.match(/^\d+$/))return At;vt=JSON.stringify(""+it),vt.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(vt=vt.substr(1,vt.length-2),vt=dt.stylize(vt,"name")):(vt=vt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),vt=dt.stylize(vt,"string"))}return vt+": "+At}function ge(dt,st,nt){var rt=0,it=dt.reduce(function(gt,vt){return rt++,vt.indexOf(`
`)>=0&&rt++,gt+vt.replace(/\u001b\[\d\d?m/g,"").length+1},0);return it>60?nt[0]+(st===""?"":st+`
`)+" "+dt.join(`,
`)+" "+nt[1]:nt[0]+st+" "+dt.join(", ")+" "+nt[1]}function Me(dt){return Array.isArray(dt)}me.isArray=Me;function ye(dt){return typeof dt=="boolean"}me.isBoolean=ye;function be(dt){return dt===null}me.isNull=be;function Fe(dt){return dt==null}me.isNullOrUndefined=Fe;function ke(dt){return typeof dt=="number"}me.isNumber=ke;function Ie(dt){return typeof dt=="string"}me.isString=Ie;function Le(dt){return typeof dt=="symbol"}me.isSymbol=Le;function De(dt){return dt===void 0}me.isUndefined=De;function Be(dt){return Ue(dt)&&at(dt)==="[object RegExp]"}me.isRegExp=Be;function Ue(dt){return typeof dt=="object"&&dt!==null}me.isObject=Ue;function _e(dt){return Ue(dt)&&at(dt)==="[object Date]"}me.isDate=_e;function We(dt){return Ue(dt)&&(at(dt)==="[object Error]"||dt instanceof Error)}me.isError=We;function Ze(dt){return typeof dt=="function"}me.isFunction=Ze;function et(dt){return dt===null||typeof dt=="boolean"||typeof dt=="number"||typeof dt=="string"||typeof dt=="symbol"||typeof dt=="undefined"}me.isPrimitive=et,me.isBuffer=x("./support/isBuffer");function at(dt){return Object.prototype.toString.call(dt)}function pt(dt){return dt<10?"0"+dt.toString(10):dt.toString(10)}var Xe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ge(){var dt=new Date,st=[pt(dt.getHours()),pt(dt.getMinutes()),pt(dt.getSeconds())].join(":");return[dt.getDate(),Xe[dt.getMonth()],st].join(" ")}me.log=function(){console.log("%s - %s",Ge(),me.format.apply(me,arguments))},me.inherits=x("inherits"),me._extend=function(dt,st){if(!st||!Ue(st))return dt;for(var nt=Object.keys(st),rt=nt.length;rt--;)dt[nt[rt]]=st[nt[rt]];return dt};function lt(dt,st){return Object.prototype.hasOwnProperty.call(dt,st)}}).call(this)}).call(this,x("_process"),typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(x,Te,me){(function(ie){(function(){"use strict";var te=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ae=typeof globalThis=="undefined"?ie:globalThis;Te.exports=function(){for(var oe=[],he=0;he<te.length;he++)typeof ae[te[he]]=="function"&&(oe[oe.length]=te[he]);return oe}}).call(this)}).call(this,typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(x,Te,me){"use strict";me.byteLength=se,me.toByteArray=fe,me.fromByteArray=Se;for(var ie=[],te=[],ae=typeof Uint8Array!="undefined"?Uint8Array:Array,ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oe=0,he=ne.length;oe<he;++oe)ie[oe]=ne[oe],te[ne.charCodeAt(oe)]=oe;te[45]=62,te[95]=63;function re(xe){var ge=xe.length;if(ge%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Me=xe.indexOf("=");Me===-1&&(Me=ge);var ye=Me===ge?0:4-Me%4;return[Me,ye]}function se(xe){var ge=re(xe),Me=ge[0],ye=ge[1];return(Me+ye)*3/4-ye}function ce(xe,ge,Me){return(ge+Me)*3/4-Me}function fe(xe){var ge,Me=re(xe),ye=Me[0],be=Me[1],Fe=new ae(ce(xe,ye,be)),ke=0,Ie=be>0?ye-4:ye,Le;for(Le=0;Le<Ie;Le+=4)ge=te[xe.charCodeAt(Le)]<<18|te[xe.charCodeAt(Le+1)]<<12|te[xe.charCodeAt(Le+2)]<<6|te[xe.charCodeAt(Le+3)],Fe[ke++]=ge>>16&255,Fe[ke++]=ge>>8&255,Fe[ke++]=ge&255;return be===2&&(ge=te[xe.charCodeAt(Le)]<<2|te[xe.charCodeAt(Le+1)]>>4,Fe[ke++]=ge&255),be===1&&(ge=te[xe.charCodeAt(Le)]<<10|te[xe.charCodeAt(Le+1)]<<4|te[xe.charCodeAt(Le+2)]>>2,Fe[ke++]=ge>>8&255,Fe[ke++]=ge&255),Fe}function pe(xe){return ie[xe>>18&63]+ie[xe>>12&63]+ie[xe>>6&63]+ie[xe&63]}function le(xe,ge,Me){for(var ye,be=[],Fe=ge;Fe<Me;Fe+=3)ye=(xe[Fe]<<16&16711680)+(xe[Fe+1]<<8&65280)+(xe[Fe+2]&255),be.push(pe(ye));return be.join("")}function Se(xe){for(var ge,Me=xe.length,ye=Me%3,be=[],Fe=16383,ke=0,Ie=Me-ye;ke<Ie;ke+=Fe)be.push(le(xe,ke,ke+Fe>Ie?Ie:ke+Fe));return ye===1?(ge=xe[Me-1],be.push(ie[ge>>2]+ie[ge<<4&63]+"==")):ye===2&&(ge=(xe[Me-2]<<8)+xe[Me-1],be.push(ie[ge>>10]+ie[ge>>4&63]+ie[ge<<2&63]+"=")),be.join("")}},{}],88:[function(x,Te,me){(function(ie,te,ae){typeof Te!="undefined"&&Te.exports?Te.exports=ae():typeof ve=="function"&&ve.amd?ve(te,ae):ie[te]=ae()})(this,"bowser",function(){var ie=!0;function te(ce){function fe(st){var nt=ce.match(st);return nt&&nt.length>1&&nt[1]||""}function pe(st){var nt=ce.match(st);return nt&&nt.length>1&&nt[2]||""}var le=fe(/(ipod|iphone|ipad)/i).toLowerCase(),Se=/like android/i.test(ce),xe=!Se&&/android/i.test(ce),ge=/nexus\s*[0-6]\s*/i.test(ce),Me=!ge&&/nexus\s*[0-9]+/i.test(ce),ye=/CrOS/.test(ce),be=/silk/i.test(ce),Fe=/sailfish/i.test(ce),ke=/tizen/i.test(ce),Ie=/(web|hpw)(o|0)s/i.test(ce),Le=/windows phone/i.test(ce),De=/SamsungBrowser/i.test(ce),Be=!Le&&/windows/i.test(ce),Ue=!le&&!be&&/macintosh/i.test(ce),_e=!xe&&!Fe&&!ke&&!Ie&&/linux/i.test(ce),We=pe(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Ze=fe(/version\/(\d+(\.\d+)?)/i),et=/tablet/i.test(ce)&&!/tablet pc/i.test(ce),at=!et&&/[^-]mobi/i.test(ce),pt=/xbox/i.test(ce),Xe;/opera/i.test(ce)?Xe={name:"Opera",opera:ie,version:Ze||fe(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ce)?Xe={name:"Opera",opera:ie,version:fe(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Ze}:/SamsungBrowser/i.test(ce)?Xe={name:"Samsung Internet for Android",samsungBrowser:ie,version:Ze||fe(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ce)?Xe={name:"NAVER Whale browser",whale:ie,version:fe(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ce)?Xe={name:"MZ Browser",mzbrowser:ie,version:fe(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ce)?Xe={name:"Opera Coast",coast:ie,version:Ze||fe(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ce)?Xe={name:"Focus",focus:ie,version:fe(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ce)?Xe={name:"Yandex Browser",yandexbrowser:ie,version:Ze||fe(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ce)?Xe={name:"UC Browser",ucbrowser:ie,version:fe(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ce)?Xe={name:"Maxthon",maxthon:ie,version:fe(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ce)?Xe={name:"Epiphany",epiphany:ie,version:fe(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ce)?Xe={name:"Puffin",puffin:ie,version:fe(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ce)?Xe={name:"Sleipnir",sleipnir:ie,version:fe(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ce)?Xe={name:"K-Meleon",kMeleon:ie,version:fe(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:Le?(Xe={name:"Windows Phone",osname:"Windows Phone",windowsphone:ie},We?(Xe.msedge=ie,Xe.version=We):(Xe.msie=ie,Xe.version=fe(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ce)?Xe={name:"Internet Explorer",msie:ie,version:fe(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:ye?Xe={name:"Chrome",osname:"Chrome OS",chromeos:ie,chromeBook:ie,chrome:ie,version:fe(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ce)?Xe={name:"Microsoft Edge",msedge:ie,version:We}:/vivaldi/i.test(ce)?Xe={name:"Vivaldi",vivaldi:ie,version:fe(/vivaldi\/(\d+(\.\d+)?)/i)||Ze}:Fe?Xe={name:"Sailfish",osname:"Sailfish OS",sailfish:ie,version:fe(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ce)?Xe={name:"SeaMonkey",seamonkey:ie,version:fe(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ce)?(Xe={name:"Firefox",firefox:ie,version:fe(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ce)&&(Xe.firefoxos=ie,Xe.osname="Firefox OS")):be?Xe={name:"Amazon Silk",silk:ie,version:fe(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ce)?Xe={name:"PhantomJS",phantom:ie,version:fe(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ce)?Xe={name:"SlimerJS",slimer:ie,version:fe(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ce)||/rim\stablet/i.test(ce)?Xe={name:"BlackBerry",osname:"BlackBerry OS",blackberry:ie,version:Ze||fe(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:Ie?(Xe={name:"WebOS",osname:"WebOS",webos:ie,version:Ze||fe(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ce)&&(Xe.touchpad=ie)):/bada/i.test(ce)?Xe={name:"Bada",osname:"Bada",bada:ie,version:fe(/dolfin\/(\d+(\.\d+)?)/i)}:ke?Xe={name:"Tizen",osname:"Tizen",tizen:ie,version:fe(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Ze}:/qupzilla/i.test(ce)?Xe={name:"QupZilla",qupzilla:ie,version:fe(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Ze}:/chromium/i.test(ce)?Xe={name:"Chromium",chromium:ie,version:fe(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Ze}:/chrome|crios|crmo/i.test(ce)?Xe={name:"Chrome",chrome:ie,version:fe(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:xe?Xe={name:"Android",version:Ze}:/safari|applewebkit/i.test(ce)?(Xe={name:"Safari",safari:ie},Ze&&(Xe.version=Ze)):le?(Xe={name:le=="iphone"?"iPhone":le=="ipad"?"iPad":"iPod"},Ze&&(Xe.version=Ze)):/googlebot/i.test(ce)?Xe={name:"Googlebot",googlebot:ie,version:fe(/googlebot\/(\d+(\.\d+))/i)||Ze}:Xe={name:fe(/^(.*)\/(.*) /),version:pe(/^(.*)\/(.*) /)},!Xe.msedge&&/(apple)?webkit/i.test(ce)?(/(apple)?webkit\/537\.36/i.test(ce)?(Xe.name=Xe.name||"Blink",Xe.blink=ie):(Xe.name=Xe.name||"Webkit",Xe.webkit=ie),!Xe.version&&Ze&&(Xe.version=Ze)):!Xe.opera&&/gecko\//i.test(ce)&&(Xe.name=Xe.name||"Gecko",Xe.gecko=ie,Xe.version=Xe.version||fe(/gecko\/(\d+(\.\d+)?)/i)),!Xe.windowsphone&&(xe||Xe.silk)?(Xe.android=ie,Xe.osname="Android"):!Xe.windowsphone&&le?(Xe[le]=ie,Xe.ios=ie,Xe.osname="iOS"):Ue?(Xe.mac=ie,Xe.osname="macOS"):pt?(Xe.xbox=ie,Xe.osname="Xbox"):Be?(Xe.windows=ie,Xe.osname="Windows"):_e&&(Xe.linux=ie,Xe.osname="Linux");function Ge(st){switch(st){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var lt="";Xe.windows?lt=Ge(fe(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Xe.windowsphone?lt=fe(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Xe.mac?(lt=fe(/Mac OS X (\d+([_\.\s]\d+)*)/i),lt=lt.replace(/[_\s]/g,".")):le?(lt=fe(/os (\d+([_\s]\d+)*) like mac os x/i),lt=lt.replace(/[_\s]/g,".")):xe?lt=fe(/android[ \/-](\d+(\.\d+)*)/i):Xe.webos?lt=fe(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Xe.blackberry?lt=fe(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Xe.bada?lt=fe(/bada\/(\d+(\.\d+)*)/i):Xe.tizen&&(lt=fe(/tizen[\/\s](\d+(\.\d+)*)/i)),lt&&(Xe.osversion=lt);var dt=!Xe.windows&&lt.split(".")[0];return et||Me||le=="ipad"||xe&&(dt==3||dt>=4&&!at)||Xe.silk?Xe.tablet=ie:(at||le=="iphone"||le=="ipod"||xe||ge||Xe.blackberry||Xe.webos||Xe.bada)&&(Xe.mobile=ie),Xe.msedge||Xe.msie&&Xe.version>=10||Xe.yandexbrowser&&Xe.version>=15||Xe.vivaldi&&Xe.version>=1||Xe.chrome&&Xe.version>=20||Xe.samsungBrowser&&Xe.version>=4||Xe.whale&&he([Xe.version,"1.0"])===1||Xe.mzbrowser&&he([Xe.version,"6.0"])===1||Xe.focus&&he([Xe.version,"1.0"])===1||Xe.firefox&&Xe.version>=20||Xe.safari&&Xe.version>=6||Xe.opera&&Xe.version>=10||Xe.ios&&Xe.osversion&&Xe.osversion.split(".")[0]>=6||Xe.blackberry&&Xe.version>=10.1||Xe.chromium&&Xe.version>=20?Xe.a=ie:Xe.msie&&Xe.version<10||Xe.chrome&&Xe.version<20||Xe.firefox&&Xe.version<20||Xe.safari&&Xe.version<6||Xe.opera&&Xe.version<10||Xe.ios&&Xe.osversion&&Xe.osversion.split(".")[0]<6||Xe.chromium&&Xe.version<20?Xe.c=ie:Xe.x=ie,Xe}var ae=te(typeof navigator!="undefined"&&navigator.userAgent||"");ae.test=function(ce){for(var fe=0;fe<ce.length;++fe){var pe=ce[fe];if(typeof pe=="string"&&pe in ae)return!0}return!1};function ne(ce){return ce.split(".").length}function oe(ce,fe){var pe=[],le;if(Array.prototype.map)return Array.prototype.map.call(ce,fe);for(le=0;le<ce.length;le++)pe.push(fe(ce[le]));return pe}function he(ce){for(var fe=Math.max(ne(ce[0]),ne(ce[1])),pe=oe(ce,function(le){var Se=fe-ne(le);return le=le+new Array(Se+1).join(".0"),oe(le.split("."),function(xe){return new Array(20-xe.length).join("0")+xe}).reverse()});--fe>=0;){if(pe[0][fe]>pe[1][fe])return 1;if(pe[0][fe]===pe[1][fe]){if(fe===0)return 0}else return-1}}function re(ce,fe,pe){var le=ae;typeof fe=="string"&&(pe=fe,fe=void 0),fe===void 0&&(fe=!1),pe&&(le=te(pe));var Se=""+le.version;for(var xe in ce)if(ce.hasOwnProperty(xe)&&le[xe]){if(typeof ce[xe]!="string")throw new Error("Browser version in the minVersion map should be a string: "+xe+": "+String(ce));return he([Se,ce[xe]])<0}return fe}function se(ce,fe,pe){return!re(ce,fe,pe)}return ae.isUnsupportedBrowser=re,ae.compareVersions=he,ae.check=se,ae._detect=te,ae.detect=te,ae})},{}],89:[function(x,Te,me){},{}],90:[function(x,Te,me){(function(ie){(function(){"use strict";var te=x("base64-js"),ae=x("ieee754");me.Buffer=re,me.SlowBuffer=ye,me.INSPECT_MAX_BYTES=50;var ne=2147483647;me.kMaxLength=ne,re.TYPED_ARRAY_SUPPORT=oe(),!re.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function oe(){try{var Re=new Uint8Array(1);return Re.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Re.foo()===42}catch(ze){return!1}}Object.defineProperty(re.prototype,"parent",{enumerable:!0,get:function(){if(re.isBuffer(this))return this.buffer}}),Object.defineProperty(re.prototype,"offset",{enumerable:!0,get:function(){if(re.isBuffer(this))return this.byteOffset}});function he(Re){if(Re>ne)throw new RangeError('The value "'+Re+'" is invalid for option "size"');var ze=new Uint8Array(Re);return ze.__proto__=re.prototype,ze}function re(Re,ze,Qe){if(typeof Re=="number"){if(typeof ze=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return pe(Re)}return se(Re,ze,Qe)}typeof Symbol!="undefined"&&Symbol.species!=null&&re[Symbol.species]===re&&Object.defineProperty(re,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),re.poolSize=8192;function se(Re,ze,Qe){if(typeof Re=="string")return le(Re,ze);if(ArrayBuffer.isView(Re))return Se(Re);if(Re==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Re);if(je(Re,ArrayBuffer)||Re&&je(Re.buffer,ArrayBuffer))return xe(Re,ze,Qe);if(typeof Re=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ot=Re.valueOf&&Re.valueOf();if(ot!=null&&ot!==Re)return re.from(ot,ze,Qe);var mt=ge(Re);if(mt)return mt;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Re[Symbol.toPrimitive]=="function")return re.from(Re[Symbol.toPrimitive]("string"),ze,Qe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Re)}re.from=function(Re,ze,Qe){return se(Re,ze,Qe)},re.prototype.__proto__=Uint8Array.prototype,re.__proto__=Uint8Array;function ce(Re){if(typeof Re!="number")throw new TypeError('"size" argument must be of type number');if(Re<0)throw new RangeError('The value "'+Re+'" is invalid for option "size"')}function fe(Re,ze,Qe){return ce(Re),Re<=0?he(Re):ze!==void 0?typeof Qe=="string"?he(Re).fill(ze,Qe):he(Re).fill(ze):he(Re)}re.alloc=function(Re,ze,Qe){return fe(Re,ze,Qe)};function pe(Re){return ce(Re),he(Re<0?0:Me(Re)|0)}re.allocUnsafe=function(Re){return pe(Re)},re.allocUnsafeSlow=function(Re){return pe(Re)};function le(Re,ze){if((typeof ze!="string"||ze==="")&&(ze="utf8"),!re.isEncoding(ze))throw new TypeError("Unknown encoding: "+ze);var Qe=be(Re,ze)|0,ot=he(Qe),mt=ot.write(Re,ze);return mt!==Qe&&(ot=ot.slice(0,mt)),ot}function Se(Re){for(var ze=Re.length<0?0:Me(Re.length)|0,Qe=he(ze),ot=0;ot<ze;ot+=1)Qe[ot]=Re[ot]&255;return Qe}function xe(Re,ze,Qe){if(ze<0||Re.byteLength<ze)throw new RangeError('"offset" is outside of buffer bounds');if(Re.byteLength<ze+(Qe||0))throw new RangeError('"length" is outside of buffer bounds');var ot;return ze===void 0&&Qe===void 0?ot=new Uint8Array(Re):Qe===void 0?ot=new Uint8Array(Re,ze):ot=new Uint8Array(Re,ze,Qe),ot.__proto__=re.prototype,ot}function ge(Re){if(re.isBuffer(Re)){var ze=Me(Re.length)|0,Qe=he(ze);return Qe.length===0||Re.copy(Qe,0,0,ze),Qe}if(Re.length!==void 0)return typeof Re.length!="number"||Ae(Re.length)?he(0):Se(Re);if(Re.type==="Buffer"&&Array.isArray(Re.data))return Se(Re.data)}function Me(Re){if(Re>=ne)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ne.toString(16)+" bytes");return Re|0}function ye(Re){return+Re!=Re&&(Re=0),re.alloc(+Re)}re.isBuffer=function(ze){return ze!=null&&ze._isBuffer===!0&&ze!==re.prototype},re.compare=function(ze,Qe){if(je(ze,Uint8Array)&&(ze=re.from(ze,ze.offset,ze.byteLength)),je(Qe,Uint8Array)&&(Qe=re.from(Qe,Qe.offset,Qe.byteLength)),!re.isBuffer(ze)||!re.isBuffer(Qe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ze===Qe)return 0;for(var ot=ze.length,mt=Qe.length,Ot=0,xt=Math.min(ot,mt);Ot<xt;++Ot)if(ze[Ot]!==Qe[Ot]){ot=ze[Ot],mt=Qe[Ot];break}return ot<mt?-1:mt<ot?1:0},re.isEncoding=function(ze){switch(String(ze).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},re.concat=function(ze,Qe){if(!Array.isArray(ze))throw new TypeError('"list" argument must be an Array of Buffers');if(ze.length===0)return re.alloc(0);var ot;if(Qe===void 0)for(Qe=0,ot=0;ot<ze.length;++ot)Qe+=ze[ot].length;var mt=re.allocUnsafe(Qe),Ot=0;for(ot=0;ot<ze.length;++ot){var xt=ze[ot];if(je(xt,Uint8Array)&&(xt=re.from(xt)),!re.isBuffer(xt))throw new TypeError('"list" argument must be an Array of Buffers');xt.copy(mt,Ot),Ot+=xt.length}return mt};function be(Re,ze){if(re.isBuffer(Re))return Re.length;if(ArrayBuffer.isView(Re)||je(Re,ArrayBuffer))return Re.byteLength;if(typeof Re!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Re);var Qe=Re.length,ot=arguments.length>2&&arguments[2]===!0;if(!ot&&Qe===0)return 0;for(var mt=!1;;)switch(ze){case"ascii":case"latin1":case"binary":return Qe;case"utf8":case"utf-8":return Ye(Re).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qe*2;case"hex":return Qe>>>1;case"base64":return Ce(Re).length;default:if(mt)return ot?-1:Ye(Re).length;ze=(""+ze).toLowerCase(),mt=!0}}re.byteLength=be;function Fe(Re,ze,Qe){var ot=!1;if((ze===void 0||ze<0)&&(ze=0),ze>this.length||((Qe===void 0||Qe>this.length)&&(Qe=this.length),Qe<=0)||(Qe>>>=0,ze>>>=0,Qe<=ze))return"";for(Re||(Re="utf8");;)switch(Re){case"hex":return dt(this,ze,Qe);case"utf8":case"utf-8":return at(this,ze,Qe);case"ascii":return Ge(this,ze,Qe);case"latin1":case"binary":return lt(this,ze,Qe);case"base64":return et(this,ze,Qe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return st(this,ze,Qe);default:if(ot)throw new TypeError("Unknown encoding: "+Re);Re=(Re+"").toLowerCase(),ot=!0}}re.prototype._isBuffer=!0;function ke(Re,ze,Qe){var ot=Re[ze];Re[ze]=Re[Qe],Re[Qe]=ot}re.prototype.swap16=function(){var ze=this.length;if(ze%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Qe=0;Qe<ze;Qe+=2)ke(this,Qe,Qe+1);return this},re.prototype.swap32=function(){var ze=this.length;if(ze%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Qe=0;Qe<ze;Qe+=4)ke(this,Qe,Qe+3),ke(this,Qe+1,Qe+2);return this},re.prototype.swap64=function(){var ze=this.length;if(ze%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Qe=0;Qe<ze;Qe+=8)ke(this,Qe,Qe+7),ke(this,Qe+1,Qe+6),ke(this,Qe+2,Qe+5),ke(this,Qe+3,Qe+4);return this},re.prototype.toString=function(){var ze=this.length;return ze===0?"":arguments.length===0?at(this,0,ze):Fe.apply(this,arguments)},re.prototype.toLocaleString=re.prototype.toString,re.prototype.equals=function(ze){if(!re.isBuffer(ze))throw new TypeError("Argument must be a Buffer");return this===ze?!0:re.compare(this,ze)===0},re.prototype.inspect=function(){var ze="",Qe=me.INSPECT_MAX_BYTES;return ze=this.toString("hex",0,Qe).replace(/(.{2})/g,"$1 ").trim(),this.length>Qe&&(ze+=" ... "),"<Buffer "+ze+">"},re.prototype.compare=function(ze,Qe,ot,mt,Ot){if(je(ze,Uint8Array)&&(ze=re.from(ze,ze.offset,ze.byteLength)),!re.isBuffer(ze))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ze);if(Qe===void 0&&(Qe=0),ot===void 0&&(ot=ze?ze.length:0),mt===void 0&&(mt=0),Ot===void 0&&(Ot=this.length),Qe<0||ot>ze.length||mt<0||Ot>this.length)throw new RangeError("out of range index");if(mt>=Ot&&Qe>=ot)return 0;if(mt>=Ot)return-1;if(Qe>=ot)return 1;if(Qe>>>=0,ot>>>=0,mt>>>=0,Ot>>>=0,this===ze)return 0;for(var xt=Ot-mt,Wt=ot-Qe,bn=Math.min(xt,Wt),Ft=this.slice(mt,Ot),Qt=ze.slice(Qe,ot),Vt=0;Vt<bn;++Vt)if(Ft[Vt]!==Qt[Vt]){xt=Ft[Vt],Wt=Qt[Vt];break}return xt<Wt?-1:Wt<xt?1:0};function Ie(Re,ze,Qe,ot,mt){if(Re.length===0)return-1;if(typeof Qe=="string"?(ot=Qe,Qe=0):Qe>2147483647?Qe=2147483647:Qe<-2147483648&&(Qe=-2147483648),Qe=+Qe,Ae(Qe)&&(Qe=mt?0:Re.length-1),Qe<0&&(Qe=Re.length+Qe),Qe>=Re.length){if(mt)return-1;Qe=Re.length-1}else if(Qe<0)if(mt)Qe=0;else return-1;if(typeof ze=="string"&&(ze=re.from(ze,ot)),re.isBuffer(ze))return ze.length===0?-1:Le(Re,ze,Qe,ot,mt);if(typeof ze=="number")return ze=ze&255,typeof Uint8Array.prototype.indexOf=="function"?mt?Uint8Array.prototype.indexOf.call(Re,ze,Qe):Uint8Array.prototype.lastIndexOf.call(Re,ze,Qe):Le(Re,[ze],Qe,ot,mt);throw new TypeError("val must be string, number or Buffer")}function Le(Re,ze,Qe,ot,mt){var Ot=1,xt=Re.length,Wt=ze.length;if(ot!==void 0&&(ot=String(ot).toLowerCase(),ot==="ucs2"||ot==="ucs-2"||ot==="utf16le"||ot==="utf-16le")){if(Re.length<2||ze.length<2)return-1;Ot=2,xt/=2,Wt/=2,Qe/=2}function bn(Pt,zt){return Ot===1?Pt[zt]:Pt.readUInt16BE(zt*Ot)}var Ft;if(mt){var Qt=-1;for(Ft=Qe;Ft<xt;Ft++)if(bn(Re,Ft)===bn(ze,Qt===-1?0:Ft-Qt)){if(Qt===-1&&(Qt=Ft),Ft-Qt+1===Wt)return Qt*Ot}else Qt!==-1&&(Ft-=Ft-Qt),Qt=-1}else for(Qe+Wt>xt&&(Qe=xt-Wt),Ft=Qe;Ft>=0;Ft--){for(var Vt=!0,yn=0;yn<Wt;yn++)if(bn(Re,Ft+yn)!==bn(ze,yn)){Vt=!1;break}if(Vt)return Ft}return-1}re.prototype.includes=function(ze,Qe,ot){return this.indexOf(ze,Qe,ot)!==-1},re.prototype.indexOf=function(ze,Qe,ot){return Ie(this,ze,Qe,ot,!0)},re.prototype.lastIndexOf=function(ze,Qe,ot){return Ie(this,ze,Qe,ot,!1)};function De(Re,ze,Qe,ot){Qe=Number(Qe)||0;var mt=Re.length-Qe;ot?(ot=Number(ot),ot>mt&&(ot=mt)):ot=mt;var Ot=ze.length;ot>Ot/2&&(ot=Ot/2);for(var xt=0;xt<ot;++xt){var Wt=parseInt(ze.substr(xt*2,2),16);if(Ae(Wt))return xt;Re[Qe+xt]=Wt}return xt}function Be(Re,ze,Qe,ot){return He(Ye(ze,Re.length-Qe),Re,Qe,ot)}function Ue(Re,ze,Qe,ot){return He(Ve(ze),Re,Qe,ot)}function _e(Re,ze,Qe,ot){return Ue(Re,ze,Qe,ot)}function We(Re,ze,Qe,ot){return He(Ce(ze),Re,Qe,ot)}function Ze(Re,ze,Qe,ot){return He(de(ze,Re.length-Qe),Re,Qe,ot)}re.prototype.write=function(ze,Qe,ot,mt){if(Qe===void 0)mt="utf8",ot=this.length,Qe=0;else if(ot===void 0&&typeof Qe=="string")mt=Qe,ot=this.length,Qe=0;else if(isFinite(Qe))Qe=Qe>>>0,isFinite(ot)?(ot=ot>>>0,mt===void 0&&(mt="utf8")):(mt=ot,ot=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ot=this.length-Qe;if((ot===void 0||ot>Ot)&&(ot=Ot),ze.length>0&&(ot<0||Qe<0)||Qe>this.length)throw new RangeError("Attempt to write outside buffer bounds");mt||(mt="utf8");for(var xt=!1;;)switch(mt){case"hex":return De(this,ze,Qe,ot);case"utf8":case"utf-8":return Be(this,ze,Qe,ot);case"ascii":return Ue(this,ze,Qe,ot);case"latin1":case"binary":return _e(this,ze,Qe,ot);case"base64":return We(this,ze,Qe,ot);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ze(this,ze,Qe,ot);default:if(xt)throw new TypeError("Unknown encoding: "+mt);mt=(""+mt).toLowerCase(),xt=!0}},re.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function et(Re,ze,Qe){return ze===0&&Qe===Re.length?te.fromByteArray(Re):te.fromByteArray(Re.slice(ze,Qe))}function at(Re,ze,Qe){Qe=Math.min(Re.length,Qe);for(var ot=[],mt=ze;mt<Qe;){var Ot=Re[mt],xt=null,Wt=Ot>239?4:Ot>223?3:Ot>191?2:1;if(mt+Wt<=Qe){var bn,Ft,Qt,Vt;switch(Wt){case 1:Ot<128&&(xt=Ot);break;case 2:bn=Re[mt+1],(bn&192)===128&&(Vt=(Ot&31)<<6|bn&63,Vt>127&&(xt=Vt));break;case 3:bn=Re[mt+1],Ft=Re[mt+2],(bn&192)===128&&(Ft&192)===128&&(Vt=(Ot&15)<<12|(bn&63)<<6|Ft&63,Vt>2047&&(Vt<55296||Vt>57343)&&(xt=Vt));break;case 4:bn=Re[mt+1],Ft=Re[mt+2],Qt=Re[mt+3],(bn&192)===128&&(Ft&192)===128&&(Qt&192)===128&&(Vt=(Ot&15)<<18|(bn&63)<<12|(Ft&63)<<6|Qt&63,Vt>65535&&Vt<1114112&&(xt=Vt))}}xt===null?(xt=65533,Wt=1):xt>65535&&(xt-=65536,ot.push(xt>>>10&1023|55296),xt=56320|xt&1023),ot.push(xt),mt+=Wt}return Xe(ot)}var pt=4096;function Xe(Re){var ze=Re.length;if(ze<=pt)return String.fromCharCode.apply(String,Re);for(var Qe="",ot=0;ot<ze;)Qe+=String.fromCharCode.apply(String,Re.slice(ot,ot+=pt));return Qe}function Ge(Re,ze,Qe){var ot="";Qe=Math.min(Re.length,Qe);for(var mt=ze;mt<Qe;++mt)ot+=String.fromCharCode(Re[mt]&127);return ot}function lt(Re,ze,Qe){var ot="";Qe=Math.min(Re.length,Qe);for(var mt=ze;mt<Qe;++mt)ot+=String.fromCharCode(Re[mt]);return ot}function dt(Re,ze,Qe){var ot=Re.length;(!ze||ze<0)&&(ze=0),(!Qe||Qe<0||Qe>ot)&&(Qe=ot);for(var mt="",Ot=ze;Ot<Qe;++Ot)mt+=ut(Re[Ot]);return mt}function st(Re,ze,Qe){for(var ot=Re.slice(ze,Qe),mt="",Ot=0;Ot<ot.length;Ot+=2)mt+=String.fromCharCode(ot[Ot]+ot[Ot+1]*256);return mt}re.prototype.slice=function(ze,Qe){var ot=this.length;ze=~~ze,Qe=Qe===void 0?ot:~~Qe,ze<0?(ze+=ot,ze<0&&(ze=0)):ze>ot&&(ze=ot),Qe<0?(Qe+=ot,Qe<0&&(Qe=0)):Qe>ot&&(Qe=ot),Qe<ze&&(Qe=ze);var mt=this.subarray(ze,Qe);return mt.__proto__=re.prototype,mt};function nt(Re,ze,Qe){if(Re%1!==0||Re<0)throw new RangeError("offset is not uint");if(Re+ze>Qe)throw new RangeError("Trying to access beyond buffer length")}re.prototype.readUIntLE=function(ze,Qe,ot){ze=ze>>>0,Qe=Qe>>>0,ot||nt(ze,Qe,this.length);for(var mt=this[ze],Ot=1,xt=0;++xt<Qe&&(Ot*=256);)mt+=this[ze+xt]*Ot;return mt},re.prototype.readUIntBE=function(ze,Qe,ot){ze=ze>>>0,Qe=Qe>>>0,ot||nt(ze,Qe,this.length);for(var mt=this[ze+--Qe],Ot=1;Qe>0&&(Ot*=256);)mt+=this[ze+--Qe]*Ot;return mt},re.prototype.readUInt8=function(ze,Qe){return ze=ze>>>0,Qe||nt(ze,1,this.length),this[ze]},re.prototype.readUInt16LE=function(ze,Qe){return ze=ze>>>0,Qe||nt(ze,2,this.length),this[ze]|this[ze+1]<<8},re.prototype.readUInt16BE=function(ze,Qe){return ze=ze>>>0,Qe||nt(ze,2,this.length),this[ze]<<8|this[ze+1]},re.prototype.readUInt32LE=function(ze,Qe){return ze=ze>>>0,Qe||nt(ze,4,this.length),(this[ze]|this[ze+1]<<8|this[ze+2]<<16)+this[ze+3]*16777216},re.prototype.readUInt32BE=function(ze,Qe){return ze=ze>>>0,Qe||nt(ze,4,this.length),this[ze]*16777216+(this[ze+1]<<16|this[ze+2]<<8|this[ze+3])},re.prototype.readIntLE=function(ze,Qe,ot){ze=ze>>>0,Qe=Qe>>>0,ot||nt(ze,Qe,this.length);for(var mt=this[ze],Ot=1,xt=0;++xt<Qe&&(Ot*=256);)mt+=this[ze+xt]*Ot;return Ot*=128,mt>=Ot&&(mt-=Math.pow(2,8*Qe)),mt},re.prototype.readIntBE=function(ze,Qe,ot){ze=ze>>>0,Qe=Qe>>>0,ot||nt(ze,Qe,this.length);for(var mt=Qe,Ot=1,xt=this[ze+--mt];mt>0&&(Ot*=256);)xt+=this[ze+--mt]*Ot;return Ot*=128,xt>=Ot&&(xt-=Math.pow(2,8*Qe)),xt},re.prototype.readInt8=function(ze,Qe){return ze=ze>>>0,Qe||nt(ze,1,this.length),this[ze]&128?(255-this[ze]+1)*-1:this[ze]},re.prototype.readInt16LE=function(ze,Qe){ze=ze>>>0,Qe||nt(ze,2,this.length);var ot=this[ze]|this[ze+1]<<8;return ot&32768?ot|4294901760:ot},re.prototype.readInt16BE=function(ze,Qe){ze=ze>>>0,Qe||nt(ze,2,this.length);var ot=this[ze+1]|this[ze]<<8;return ot&32768?ot|4294901760:ot},re.prototype.readInt32LE=function(ze,Qe){return ze=ze>>>0,Qe||nt(ze,4,this.length),this[ze]|this[ze+1]<<8|this[ze+2]<<16|this[ze+3]<<24},re.prototype.readInt32BE=function(ze,Qe){return ze=ze>>>0,Qe||nt(ze,4,this.length),this[ze]<<24|this[ze+1]<<16|this[ze+2]<<8|this[ze+3]},re.prototype.readFloatLE=function(ze,Qe){return ze=ze>>>0,Qe||nt(ze,4,this.length),ae.read(this,ze,!0,23,4)},re.prototype.readFloatBE=function(ze,Qe){return ze=ze>>>0,Qe||nt(ze,4,this.length),ae.read(this,ze,!1,23,4)},re.prototype.readDoubleLE=function(ze,Qe){return ze=ze>>>0,Qe||nt(ze,8,this.length),ae.read(this,ze,!0,52,8)},re.prototype.readDoubleBE=function(ze,Qe){return ze=ze>>>0,Qe||nt(ze,8,this.length),ae.read(this,ze,!1,52,8)};function rt(Re,ze,Qe,ot,mt,Ot){if(!re.isBuffer(Re))throw new TypeError('"buffer" argument must be a Buffer instance');if(ze>mt||ze<Ot)throw new RangeError('"value" argument is out of bounds');if(Qe+ot>Re.length)throw new RangeError("Index out of range")}re.prototype.writeUIntLE=function(ze,Qe,ot,mt){if(ze=+ze,Qe=Qe>>>0,ot=ot>>>0,!mt){var Ot=Math.pow(2,8*ot)-1;rt(this,ze,Qe,ot,Ot,0)}var xt=1,Wt=0;for(this[Qe]=ze&255;++Wt<ot&&(xt*=256);)this[Qe+Wt]=ze/xt&255;return Qe+ot},re.prototype.writeUIntBE=function(ze,Qe,ot,mt){if(ze=+ze,Qe=Qe>>>0,ot=ot>>>0,!mt){var Ot=Math.pow(2,8*ot)-1;rt(this,ze,Qe,ot,Ot,0)}var xt=ot-1,Wt=1;for(this[Qe+xt]=ze&255;--xt>=0&&(Wt*=256);)this[Qe+xt]=ze/Wt&255;return Qe+ot},re.prototype.writeUInt8=function(ze,Qe,ot){return ze=+ze,Qe=Qe>>>0,ot||rt(this,ze,Qe,1,255,0),this[Qe]=ze&255,Qe+1},re.prototype.writeUInt16LE=function(ze,Qe,ot){return ze=+ze,Qe=Qe>>>0,ot||rt(this,ze,Qe,2,65535,0),this[Qe]=ze&255,this[Qe+1]=ze>>>8,Qe+2},re.prototype.writeUInt16BE=function(ze,Qe,ot){return ze=+ze,Qe=Qe>>>0,ot||rt(this,ze,Qe,2,65535,0),this[Qe]=ze>>>8,this[Qe+1]=ze&255,Qe+2},re.prototype.writeUInt32LE=function(ze,Qe,ot){return ze=+ze,Qe=Qe>>>0,ot||rt(this,ze,Qe,4,4294967295,0),this[Qe+3]=ze>>>24,this[Qe+2]=ze>>>16,this[Qe+1]=ze>>>8,this[Qe]=ze&255,Qe+4},re.prototype.writeUInt32BE=function(ze,Qe,ot){return ze=+ze,Qe=Qe>>>0,ot||rt(this,ze,Qe,4,4294967295,0),this[Qe]=ze>>>24,this[Qe+1]=ze>>>16,this[Qe+2]=ze>>>8,this[Qe+3]=ze&255,Qe+4},re.prototype.writeIntLE=function(ze,Qe,ot,mt){if(ze=+ze,Qe=Qe>>>0,!mt){var Ot=Math.pow(2,8*ot-1);rt(this,ze,Qe,ot,Ot-1,-Ot)}var xt=0,Wt=1,bn=0;for(this[Qe]=ze&255;++xt<ot&&(Wt*=256);)ze<0&&bn===0&&this[Qe+xt-1]!==0&&(bn=1),this[Qe+xt]=(ze/Wt>>0)-bn&255;return Qe+ot},re.prototype.writeIntBE=function(ze,Qe,ot,mt){if(ze=+ze,Qe=Qe>>>0,!mt){var Ot=Math.pow(2,8*ot-1);rt(this,ze,Qe,ot,Ot-1,-Ot)}var xt=ot-1,Wt=1,bn=0;for(this[Qe+xt]=ze&255;--xt>=0&&(Wt*=256);)ze<0&&bn===0&&this[Qe+xt+1]!==0&&(bn=1),this[Qe+xt]=(ze/Wt>>0)-bn&255;return Qe+ot},re.prototype.writeInt8=function(ze,Qe,ot){return ze=+ze,Qe=Qe>>>0,ot||rt(this,ze,Qe,1,127,-128),ze<0&&(ze=255+ze+1),this[Qe]=ze&255,Qe+1},re.prototype.writeInt16LE=function(ze,Qe,ot){return ze=+ze,Qe=Qe>>>0,ot||rt(this,ze,Qe,2,32767,-32768),this[Qe]=ze&255,this[Qe+1]=ze>>>8,Qe+2},re.prototype.writeInt16BE=function(ze,Qe,ot){return ze=+ze,Qe=Qe>>>0,ot||rt(this,ze,Qe,2,32767,-32768),this[Qe]=ze>>>8,this[Qe+1]=ze&255,Qe+2},re.prototype.writeInt32LE=function(ze,Qe,ot){return ze=+ze,Qe=Qe>>>0,ot||rt(this,ze,Qe,4,2147483647,-2147483648),this[Qe]=ze&255,this[Qe+1]=ze>>>8,this[Qe+2]=ze>>>16,this[Qe+3]=ze>>>24,Qe+4},re.prototype.writeInt32BE=function(ze,Qe,ot){return ze=+ze,Qe=Qe>>>0,ot||rt(this,ze,Qe,4,2147483647,-2147483648),ze<0&&(ze=4294967295+ze+1),this[Qe]=ze>>>24,this[Qe+1]=ze>>>16,this[Qe+2]=ze>>>8,this[Qe+3]=ze&255,Qe+4};function it(Re,ze,Qe,ot,mt,Ot){if(Qe+ot>Re.length)throw new RangeError("Index out of range");if(Qe<0)throw new RangeError("Index out of range")}function gt(Re,ze,Qe,ot,mt){return ze=+ze,Qe=Qe>>>0,mt||it(Re,ze,Qe,4,34028234663852886e22,-34028234663852886e22),ae.write(Re,ze,Qe,ot,23,4),Qe+4}re.prototype.writeFloatLE=function(ze,Qe,ot){return gt(this,ze,Qe,!0,ot)},re.prototype.writeFloatBE=function(ze,Qe,ot){return gt(this,ze,Qe,!1,ot)};function vt(Re,ze,Qe,ot,mt){return ze=+ze,Qe=Qe>>>0,mt||it(Re,ze,Qe,8,17976931348623157e292,-17976931348623157e292),ae.write(Re,ze,Qe,ot,52,8),Qe+8}re.prototype.writeDoubleLE=function(ze,Qe,ot){return vt(this,ze,Qe,!0,ot)},re.prototype.writeDoubleBE=function(ze,Qe,ot){return vt(this,ze,Qe,!1,ot)},re.prototype.copy=function(ze,Qe,ot,mt){if(!re.isBuffer(ze))throw new TypeError("argument should be a Buffer");if(ot||(ot=0),!mt&&mt!==0&&(mt=this.length),Qe>=ze.length&&(Qe=ze.length),Qe||(Qe=0),mt>0&&mt<ot&&(mt=ot),mt===ot||ze.length===0||this.length===0)return 0;if(Qe<0)throw new RangeError("targetStart out of bounds");if(ot<0||ot>=this.length)throw new RangeError("Index out of range");if(mt<0)throw new RangeError("sourceEnd out of bounds");mt>this.length&&(mt=this.length),ze.length-Qe<mt-ot&&(mt=ze.length-Qe+ot);var Ot=mt-ot;if(this===ze&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Qe,ot,mt);else if(this===ze&&ot<Qe&&Qe<mt)for(var xt=Ot-1;xt>=0;--xt)ze[xt+Qe]=this[xt+ot];else Uint8Array.prototype.set.call(ze,this.subarray(ot,mt),Qe);return Ot},re.prototype.fill=function(ze,Qe,ot,mt){if(typeof ze=="string"){if(typeof Qe=="string"?(mt=Qe,Qe=0,ot=this.length):typeof ot=="string"&&(mt=ot,ot=this.length),mt!==void 0&&typeof mt!="string")throw new TypeError("encoding must be a string");if(typeof mt=="string"&&!re.isEncoding(mt))throw new TypeError("Unknown encoding: "+mt);if(ze.length===1){var Ot=ze.charCodeAt(0);(mt==="utf8"&&Ot<128||mt==="latin1")&&(ze=Ot)}}else typeof ze=="number"&&(ze=ze&255);if(Qe<0||this.length<Qe||this.length<ot)throw new RangeError("Out of range index");if(ot<=Qe)return this;Qe=Qe>>>0,ot=ot===void 0?this.length:ot>>>0,ze||(ze=0);var xt;if(typeof ze=="number")for(xt=Qe;xt<ot;++xt)this[xt]=ze;else{var Wt=re.isBuffer(ze)?ze:re.from(ze,mt),bn=Wt.length;if(bn===0)throw new TypeError('The value "'+ze+'" is invalid for argument "value"');for(xt=0;xt<ot-Qe;++xt)this[xt+Qe]=Wt[xt%bn]}return this};var At=/[^+/0-9A-Za-z-_]/g;function Et(Re){if(Re=Re.split("=")[0],Re=Re.trim().replace(At,""),Re.length<2)return"";for(;Re.length%4!==0;)Re=Re+"=";return Re}function ut(Re){return Re<16?"0"+Re.toString(16):Re.toString(16)}function Ye(Re,ze){ze=ze||1/0;for(var Qe,ot=Re.length,mt=null,Ot=[],xt=0;xt<ot;++xt){if(Qe=Re.charCodeAt(xt),Qe>55295&&Qe<57344){if(!mt){if(Qe>56319){(ze-=3)>-1&&Ot.push(239,191,189);continue}else if(xt+1===ot){(ze-=3)>-1&&Ot.push(239,191,189);continue}mt=Qe;continue}if(Qe<56320){(ze-=3)>-1&&Ot.push(239,191,189),mt=Qe;continue}Qe=(mt-55296<<10|Qe-56320)+65536}else mt&&(ze-=3)>-1&&Ot.push(239,191,189);if(mt=null,Qe<128){if((ze-=1)<0)break;Ot.push(Qe)}else if(Qe<2048){if((ze-=2)<0)break;Ot.push(Qe>>6|192,Qe&63|128)}else if(Qe<65536){if((ze-=3)<0)break;Ot.push(Qe>>12|224,Qe>>6&63|128,Qe&63|128)}else if(Qe<1114112){if((ze-=4)<0)break;Ot.push(Qe>>18|240,Qe>>12&63|128,Qe>>6&63|128,Qe&63|128)}else throw new Error("Invalid code point")}return Ot}function Ve(Re){for(var ze=[],Qe=0;Qe<Re.length;++Qe)ze.push(Re.charCodeAt(Qe)&255);return ze}function de(Re,ze){for(var Qe,ot,mt,Ot=[],xt=0;xt<Re.length&&!((ze-=2)<0);++xt)Qe=Re.charCodeAt(xt),ot=Qe>>8,mt=Qe%256,Ot.push(mt),Ot.push(ot);return Ot}function Ce(Re){return te.toByteArray(Et(Re))}function He(Re,ze,Qe,ot){for(var mt=0;mt<ot&&!(mt+Qe>=ze.length||mt>=Re.length);++mt)ze[mt+Qe]=Re[mt];return mt}function je(Re,ze){return Re instanceof ze||Re!=null&&Re.constructor!=null&&Re.constructor.name!=null&&Re.constructor.name===ze.name}function Ae(Re){return Re!==Re}}).call(this)}).call(this,x("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(x,Te,me){Te.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],92:[function(x,Te,me){"use strict";var ie=x("get-intrinsic"),te=x("./"),ae=te(ie("String.prototype.indexOf"));Te.exports=function(oe,he){var re=ie(oe,!!he);return typeof re=="function"&&ae(oe,".prototype.")>-1?te(re):re}},{"./":93,"get-intrinsic":348}],93:[function(x,Te,me){"use strict";var ie=x("function-bind"),te=x("get-intrinsic"),ae=te("%Function.prototype.apply%"),ne=te("%Function.prototype.call%"),oe=te("%Reflect.apply%",!0)||ie.call(ne,ae),he=te("%Object.getOwnPropertyDescriptor%",!0),re=te("%Object.defineProperty%",!0),se=te("%Math.max%");if(re)try{re({},"a",{value:1})}catch(fe){re=null}Te.exports=function(pe){var le=oe(ie,ne,arguments);if(he&&re){var Se=he(le,"length");Se.configurable&&re(le,"length",{value:1+se(0,pe.length-(arguments.length-1))})}return le};var ce=function(){return oe(ie,ae,arguments)};re?re(Te.exports,"apply",{value:ce}):Te.exports.apply=ce},{"function-bind":347,"get-intrinsic":348}],94:[function(x,Te,me){"use strict";var ie=Array.prototype.slice;Te.exports=te;function te(ne,oe){if(!(this instanceof te))return new te(ne,oe);this.src=ne,this._withAccess=oe}te.prototype.withAccess=function(ne){return this._withAccess=ne!==!1,this},te.prototype.pick=function(ne){return Array.isArray(ne)||(ne=ie.call(arguments)),ne.length&&(this.keys=ne),this},te.prototype.to=function(ne){if(ne=ne||{},!this.src)return ne;var oe=this.keys||Object.keys(this.src);if(!this._withAccess){for(var he=0;he<oe.length;he++)re=oe[he],ne[re]===void 0&&(ne[re]=this.src[re]);return ne}for(var he=0;he<oe.length;he++){var re=oe[he];if(ae(ne,re)){var se=this.src.__lookupGetter__(re),ce=this.src.__lookupSetter__(re);se&&ne.__defineGetter__(re,se),ce&&ne.__defineSetter__(re,ce),!se&&!ce&&(ne[re]=this.src[re])}}return ne},te.prototype.toCover=function(ne){for(var oe=this.keys||Object.keys(this.src),he=0;he<oe.length;he++){var re=oe[he];delete ne[re];var se=this.src.__lookupGetter__(re),ce=this.src.__lookupSetter__(re);se&&ne.__defineGetter__(re,se),ce&&ne.__defineSetter__(re,ce),!se&&!ce&&(ne[re]=this.src[re])}},te.prototype.override=te.prototype.toCover,te.prototype.and=function(ne){var oe={};return this.to(oe),this.src=ne,this.to(oe),this.src=oe,this};function ae(ne,oe){return ne[oe]===void 0&&ne.__lookupGetter__(oe)===void 0&&ne.__lookupSetter__(oe)===void 0}},{}],95:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/is-callable"),ae=x("../internals/try-to-string"),ne=ie.TypeError;Te.exports=function(oe){if(te(oe))return oe;throw ne(ae(oe)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/is-constructor"),ae=x("../internals/try-to-string"),ne=ie.TypeError;Te.exports=function(oe){if(te(oe))return oe;throw ne(ae(oe)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/is-callable"),ae=ie.String,ne=ie.TypeError;Te.exports=function(oe){if(typeof oe=="object"||te(oe))return oe;throw ne("Can't set "+ae(oe)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(x,Te,me){var ie=x("../internals/well-known-symbol"),te=x("../internals/object-create"),ae=x("../internals/object-define-property"),ne=ie("unscopables"),oe=Array.prototype;oe[ne]==null&&ae.f(oe,ne,{configurable:!0,value:te(null)}),Te.exports=function(he){oe[ne][he]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(x,Te,me){"use strict";var ie=x("../internals/string-multibyte").charAt;Te.exports=function(te,ae,ne){return ae+(ne?ie(te,ae).length:1)}},{"../internals/string-multibyte":239}],100:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/object-is-prototype-of"),ae=ie.TypeError;Te.exports=function(ne,oe){if(te(oe,ne))return ne;throw ae("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/is-object"),ae=ie.String,ne=ie.TypeError;Te.exports=function(oe){if(te(oe))return oe;throw ne(ae(oe)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(x,Te,me){Te.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-native"),te=x("../internals/descriptors"),ae=x("../internals/global"),ne=x("../internals/is-callable"),oe=x("../internals/is-object"),he=x("../internals/has-own-property"),re=x("../internals/classof"),se=x("../internals/try-to-string"),ce=x("../internals/create-non-enumerable-property"),fe=x("../internals/redefine"),pe=x("../internals/object-define-property").f,le=x("../internals/object-is-prototype-of"),Se=x("../internals/object-get-prototype-of"),xe=x("../internals/object-set-prototype-of"),ge=x("../internals/well-known-symbol"),Me=x("../internals/uid"),ye=ae.Int8Array,be=ye&&ye.prototype,Fe=ae.Uint8ClampedArray,ke=Fe&&Fe.prototype,Ie=ye&&Se(ye),Le=be&&Se(be),De=Object.prototype,Be=ae.TypeError,Ue=ge("toStringTag"),_e=Me("TYPED_ARRAY_TAG"),We=Me("TYPED_ARRAY_CONSTRUCTOR"),Ze=ie&&!!xe&&re(ae.opera)!=="Opera",et=!1,at,pt,Xe,Ge={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},lt={BigInt64Array:8,BigUint64Array:8},dt=function(At){if(!oe(At))return!1;var Et=re(At);return Et==="DataView"||he(Ge,Et)||he(lt,Et)},st=function(vt){if(!oe(vt))return!1;var At=re(vt);return he(Ge,At)||he(lt,At)},nt=function(vt){if(st(vt))return vt;throw Be("Target is not a typed array")},rt=function(vt){if(ne(vt)&&(!xe||le(Ie,vt)))return vt;throw Be(se(vt)+" is not a typed array constructor")},it=function(vt,At,Et,ut){if(te){if(Et)for(var Ye in Ge){var Ve=ae[Ye];if(Ve&&he(Ve.prototype,vt))try{delete Ve.prototype[vt]}catch(de){try{Ve.prototype[vt]=At}catch(Ce){}}}(!Le[vt]||Et)&&fe(Le,vt,Et?At:Ze&&be[vt]||At,ut)}},gt=function(vt,At,Et){var ut,Ye;if(te){if(xe){if(Et){for(ut in Ge)if(Ye=ae[ut],Ye&&he(Ye,vt))try{delete Ye[vt]}catch(Ve){}}if(!Ie[vt]||Et)try{return fe(Ie,vt,Et?At:Ze&&Ie[vt]||At)}catch(Ve){}else return}for(ut in Ge)Ye=ae[ut],Ye&&(!Ye[vt]||Et)&&fe(Ye,vt,At)}};for(at in Ge)pt=ae[at],Xe=pt&&pt.prototype,Xe?ce(Xe,We,pt):Ze=!1;for(at in lt)pt=ae[at],Xe=pt&&pt.prototype,Xe&&ce(Xe,We,pt);if((!Ze||!ne(Ie)||Ie===Function.prototype)&&(Ie=function(){throw Be("Incorrect invocation")},Ze))for(at in Ge)ae[at]&&xe(ae[at],Ie);if((!Ze||!Le||Le===De)&&(Le=Ie.prototype,Ze))for(at in Ge)ae[at]&&xe(ae[at].prototype,Le);if(Ze&&Se(ke)!==Le&&xe(ke,Le),te&&!he(Le,Ue)){et=!0,pe(Le,Ue,{get:function(){return oe(this)?this[_e]:void 0}});for(at in Ge)ae[at]&&ce(ae[at],_e,at)}Te.exports={NATIVE_ARRAY_BUFFER_VIEWS:Ze,TYPED_ARRAY_CONSTRUCTOR:We,TYPED_ARRAY_TAG:et&&_e,aTypedArray:nt,aTypedArrayConstructor:rt,exportTypedArrayMethod:it,exportTypedArrayStaticMethod:gt,isView:dt,isTypedArray:st,TypedArray:Ie,TypedArrayPrototype:Le}},{"../internals/array-buffer-native":102,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-define-property":198,"../internals/object-get-prototype-of":203,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/try-to-string":257,"../internals/uid":263,"../internals/well-known-symbol":268}],104:[function(x,Te,me){"use strict";var ie=x("../internals/global"),te=x("../internals/function-uncurry-this"),ae=x("../internals/descriptors"),ne=x("../internals/array-buffer-native"),oe=x("../internals/function-name"),he=x("../internals/create-non-enumerable-property"),re=x("../internals/redefine-all"),se=x("../internals/fails"),ce=x("../internals/an-instance"),fe=x("../internals/to-integer-or-infinity"),pe=x("../internals/to-length"),le=x("../internals/to-index"),Se=x("../internals/ieee754"),xe=x("../internals/object-get-prototype-of"),ge=x("../internals/object-set-prototype-of"),Me=x("../internals/object-get-own-property-names").f,ye=x("../internals/object-define-property").f,be=x("../internals/array-fill"),Fe=x("../internals/array-slice-simple"),ke=x("../internals/set-to-string-tag"),Ie=x("../internals/internal-state"),Le=oe.PROPER,De=oe.CONFIGURABLE,Be=Ie.get,Ue=Ie.set,_e="ArrayBuffer",We="DataView",Ze="prototype",et="Wrong length",at="Wrong index",pt=ie[_e],Xe=pt,Ge=Xe&&Xe[Ze],lt=ie[We],dt=lt&&lt[Ze],st=Object.prototype,nt=ie.Array,rt=ie.RangeError,it=te(be),gt=te([].reverse),vt=Se.pack,At=Se.unpack,Et=function(xt){return[xt&255]},ut=function(xt){return[xt&255,xt>>8&255]},Ye=function(xt){return[xt&255,xt>>8&255,xt>>16&255,xt>>24&255]},Ve=function(xt){return xt[3]<<24|xt[2]<<16|xt[1]<<8|xt[0]},de=function(xt){return vt(xt,23,4)},Ce=function(xt){return vt(xt,52,8)},He=function(xt,Wt){ye(xt[Ze],Wt,{get:function(){return Be(this)[Wt]}})},je=function(xt,Wt,bn,Ft){var Qt=le(bn),Vt=Be(xt);if(Qt+Wt>Vt.byteLength)throw rt(at);var yn=Be(Vt.buffer).bytes,Pt=Qt+Vt.byteOffset,zt=Fe(yn,Pt,Pt+Wt);return Ft?zt:gt(zt)},Ae=function(xt,Wt,bn,Ft,Qt,Vt){var yn=le(bn),Pt=Be(xt);if(yn+Wt>Pt.byteLength)throw rt(at);for(var zt=Be(Pt.buffer).bytes,an=yn+Pt.byteOffset,gn=Ft(+Qt),Tn=0;Tn<Wt;Tn++)zt[an+Tn]=gn[Vt?Tn:Wt-Tn-1]};if(!ne)Xe=function(Wt){ce(this,Ge);var bn=le(Wt);Ue(this,{bytes:it(nt(bn),0),byteLength:bn}),ae||(this.byteLength=bn)},Ge=Xe[Ze],lt=function(Wt,bn,Ft){ce(this,dt),ce(Wt,Ge);var Qt=Be(Wt).byteLength,Vt=fe(bn);if(Vt<0||Vt>Qt)throw rt("Wrong offset");if(Ft=Ft===void 0?Qt-Vt:pe(Ft),Vt+Ft>Qt)throw rt(et);Ue(this,{buffer:Wt,byteLength:Ft,byteOffset:Vt}),ae||(this.buffer=Wt,this.byteLength=Ft,this.byteOffset=Vt)},dt=lt[Ze],ae&&(He(Xe,"byteLength"),He(lt,"buffer"),He(lt,"byteLength"),He(lt,"byteOffset")),re(dt,{getInt8:function(Wt){return je(this,1,Wt)[0]<<24>>24},getUint8:function(Wt){return je(this,1,Wt)[0]},getInt16:function(Wt){var bn=je(this,2,Wt,arguments.length>1?arguments[1]:void 0);return(bn[1]<<8|bn[0])<<16>>16},getUint16:function(Wt){var bn=je(this,2,Wt,arguments.length>1?arguments[1]:void 0);return bn[1]<<8|bn[0]},getInt32:function(Wt){return Ve(je(this,4,Wt,arguments.length>1?arguments[1]:void 0))},getUint32:function(Wt){return Ve(je(this,4,Wt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(Wt){return At(je(this,4,Wt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(Wt){return At(je(this,8,Wt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(Wt,bn){Ae(this,1,Wt,Et,bn)},setUint8:function(Wt,bn){Ae(this,1,Wt,Et,bn)},setInt16:function(Wt,bn){Ae(this,2,Wt,ut,bn,arguments.length>2?arguments[2]:void 0)},setUint16:function(Wt,bn){Ae(this,2,Wt,ut,bn,arguments.length>2?arguments[2]:void 0)},setInt32:function(Wt,bn){Ae(this,4,Wt,Ye,bn,arguments.length>2?arguments[2]:void 0)},setUint32:function(Wt,bn){Ae(this,4,Wt,Ye,bn,arguments.length>2?arguments[2]:void 0)},setFloat32:function(Wt,bn){Ae(this,4,Wt,de,bn,arguments.length>2?arguments[2]:void 0)},setFloat64:function(Wt,bn){Ae(this,8,Wt,Ce,bn,arguments.length>2?arguments[2]:void 0)}});else{var Re=Le&&pt.name!==_e;if(!se(function(){pt(1)})||!se(function(){new pt(-1)})||se(function(){return new pt,new pt(1.5),new pt(NaN),Re&&!De})){Xe=function(Wt){return ce(this,Ge),new pt(le(Wt))},Xe[Ze]=Ge;for(var ze=Me(pt),Qe=0,ot;ze.length>Qe;)(ot=ze[Qe++])in Xe||he(Xe,ot,pt[ot]);Ge.constructor=Xe}else Re&&De&&he(pt,"name",_e);ge&&xe(dt)!==st&&ge(dt,st);var mt=new lt(new Xe(2)),Ot=te(dt.setInt8);mt.setInt8(0,2147483648),mt.setInt8(1,2147483649),(mt.getInt8(0)||!mt.getInt8(1))&&re(dt,{setInt8:function(Wt,bn){Ot(this,Wt,bn<<24>>24)},setUint8:function(Wt,bn){Ot(this,Wt,bn<<24>>24)}},{unsafe:!0})}ke(Xe,_e),ke(lt,We),Te.exports={ArrayBuffer:Xe,DataView:lt}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(x,Te,me){"use strict";var ie=x("../internals/to-object"),te=x("../internals/to-absolute-index"),ae=x("../internals/length-of-array-like"),ne=Math.min;Te.exports=[].copyWithin||function(he,re){var se=ie(this),ce=ae(se),fe=te(he,ce),pe=te(re,ce),le=arguments.length>2?arguments[2]:void 0,Se=ne((le===void 0?ce:te(le,ce))-pe,ce-fe),xe=1;for(pe<fe&&fe<pe+Se&&(xe=-1,pe+=Se-1,fe+=Se-1);Se-- >0;)pe in se?se[fe]=se[pe]:delete se[fe],fe+=xe,pe+=xe;return se}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(x,Te,me){"use strict";var ie=x("../internals/to-object"),te=x("../internals/to-absolute-index"),ae=x("../internals/length-of-array-like");Te.exports=function(oe){for(var he=ie(this),re=ae(he),se=arguments.length,ce=te(se>1?arguments[1]:void 0,re),fe=se>2?arguments[2]:void 0,pe=fe===void 0?re:te(fe,re);pe>ce;)he[ce++]=oe;return he}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(x,Te,me){"use strict";var ie=x("../internals/array-iteration").forEach,te=x("../internals/array-method-is-strict"),ae=te("forEach");Te.exports=ae?[].forEach:function(oe){return ie(this,oe,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(x,Te,me){var ie=x("../internals/length-of-array-like");Te.exports=function(te,ae){for(var ne=0,oe=ie(ae),he=new te(oe);oe>ne;)he[ne]=ae[ne++];return he}},{"../internals/length-of-array-like":188}],109:[function(x,Te,me){"use strict";var ie=x("../internals/global"),te=x("../internals/function-bind-context"),ae=x("../internals/function-call"),ne=x("../internals/to-object"),oe=x("../internals/call-with-safe-iteration-closing"),he=x("../internals/is-array-iterator-method"),re=x("../internals/is-constructor"),se=x("../internals/length-of-array-like"),ce=x("../internals/create-property"),fe=x("../internals/get-iterator"),pe=x("../internals/get-iterator-method"),le=ie.Array;Te.exports=function(xe){var ge=ne(xe),Me=re(this),ye=arguments.length,be=ye>1?arguments[1]:void 0,Fe=be!==void 0;Fe&&(be=te(be,ye>2?arguments[2]:void 0));var ke=pe(ge),Ie=0,Le,De,Be,Ue,_e,We;if(ke&&!(this==le&&he(ke)))for(Ue=fe(ge,ke),_e=Ue.next,De=Me?new this:[];!(Be=ae(_e,Ue)).done;Ie++)We=Fe?oe(Ue,be,[Be.value,Ie],!0):Be.value,ce(De,Ie,We);else for(Le=se(ge),De=Me?new this(Le):le(Le);Le>Ie;Ie++)We=Fe?be(ge[Ie],Ie):ge[Ie],ce(De,Ie,We);return De.length=Ie,De}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(x,Te,me){var ie=x("../internals/to-indexed-object"),te=x("../internals/to-absolute-index"),ae=x("../internals/length-of-array-like"),ne=function(oe){return function(he,re,se){var ce=ie(he),fe=ae(ce),pe=te(se,fe),le;if(oe&&re!=re){for(;fe>pe;)if(le=ce[pe++],le!=le)return!0}else for(;fe>pe;pe++)if((oe||pe in ce)&&ce[pe]===re)return oe||pe||0;return!oe&&-1}};Te.exports={includes:ne(!0),indexOf:ne(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(x,Te,me){var ie=x("../internals/function-bind-context"),te=x("../internals/function-uncurry-this"),ae=x("../internals/indexed-object"),ne=x("../internals/to-object"),oe=x("../internals/length-of-array-like"),he=x("../internals/array-species-create"),re=te([].push),se=function(ce){var fe=ce==1,pe=ce==2,le=ce==3,Se=ce==4,xe=ce==6,ge=ce==7,Me=ce==5||xe;return function(ye,be,Fe,ke){for(var Ie=ne(ye),Le=ae(Ie),De=ie(be,Fe),Be=oe(Le),Ue=0,_e=ke||he,We=fe?_e(ye,Be):pe||ge?_e(ye,0):void 0,Ze,et;Be>Ue;Ue++)if((Me||Ue in Le)&&(Ze=Le[Ue],et=De(Ze,Ue,Ie),ce))if(fe)We[Ue]=et;else if(et)switch(ce){case 3:return!0;case 5:return Ze;case 6:return Ue;case 2:re(We,Ze)}else switch(ce){case 4:return!1;case 7:re(We,Ze)}return xe?-1:le||Se?Se:We}};Te.exports={forEach:se(0),map:se(1),filter:se(2),some:se(3),every:se(4),find:se(5),findIndex:se(6),filterReject:se(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(x,Te,me){"use strict";var ie=x("../internals/function-apply"),te=x("../internals/to-indexed-object"),ae=x("../internals/to-integer-or-infinity"),ne=x("../internals/length-of-array-like"),oe=x("../internals/array-method-is-strict"),he=Math.min,re=[].lastIndexOf,se=!!re&&1/[1].lastIndexOf(1,-0)<0,ce=oe("lastIndexOf"),fe=se||!ce;Te.exports=fe?function(le){if(se)return ie(re,this,arguments)||0;var Se=te(this),xe=ne(Se),ge=xe-1;for(arguments.length>1&&(ge=he(ge,ae(arguments[1]))),ge<0&&(ge=xe+ge);ge>=0;ge--)if(ge in Se&&Se[ge]===le)return ge||0;return-1}:re},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(x,Te,me){var ie=x("../internals/fails"),te=x("../internals/well-known-symbol"),ae=x("../internals/engine-v8-version"),ne=te("species");Te.exports=function(oe){return ae>=51||!ie(function(){var he=[],re=he.constructor={};return re[ne]=function(){return{foo:1}},he[oe](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(x,Te,me){"use strict";var ie=x("../internals/fails");Te.exports=function(te,ae){var ne=[][te];return!!ne&&ie(function(){ne.call(null,ae||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/a-callable"),ae=x("../internals/to-object"),ne=x("../internals/indexed-object"),oe=x("../internals/length-of-array-like"),he=ie.TypeError,re=function(se){return function(ce,fe,pe,le){te(fe);var Se=ae(ce),xe=ne(Se),ge=oe(Se),Me=se?ge-1:0,ye=se?-1:1;if(pe<2)for(;;){if(Me in xe){le=xe[Me],Me+=ye;break}if(Me+=ye,se?Me<0:ge<=Me)throw he("Reduce of empty array with no initial value")}for(;se?Me>=0:ge>Me;Me+=ye)Me in xe&&(le=fe(le,xe[Me],Me,Se));return le}};Te.exports={left:re(!1),right:re(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/to-absolute-index"),ae=x("../internals/length-of-array-like"),ne=x("../internals/create-property"),oe=ie.Array,he=Math.max;Te.exports=function(re,se,ce){for(var fe=ae(re),pe=te(se,fe),le=te(ce===void 0?fe:ce,fe),Se=oe(he(le-pe,0)),xe=0;pe<le;pe++,xe++)ne(Se,xe,re[pe]);return Se.length=xe,Se}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(x,Te,me){var ie=x("../internals/function-uncurry-this");Te.exports=ie([].slice)},{"../internals/function-uncurry-this":157}],118:[function(x,Te,me){var ie=x("../internals/array-slice-simple"),te=Math.floor,ae=function(he,re){var se=he.length,ce=te(se/2);return se<8?ne(he,re):oe(he,ae(ie(he,0,ce),re),ae(ie(he,ce),re),re)},ne=function(he,re){for(var se=he.length,ce=1,fe,pe;ce<se;){for(pe=ce,fe=he[ce];pe&&re(he[pe-1],fe)>0;)he[pe]=he[--pe];pe!==ce++&&(he[pe]=fe)}return he},oe=function(he,re,se,ce){for(var fe=re.length,pe=se.length,le=0,Se=0;le<fe||Se<pe;)he[le+Se]=le<fe&&Se<pe?ce(re[le],se[Se])<=0?re[le++]:se[Se++]:le<fe?re[le++]:se[Se++];return he};Te.exports=ae},{"../internals/array-slice-simple":116}],119:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/is-array"),ae=x("../internals/is-constructor"),ne=x("../internals/is-object"),oe=x("../internals/well-known-symbol"),he=oe("species"),re=ie.Array;Te.exports=function(se){var ce;return te(se)&&(ce=se.constructor,ae(ce)&&(ce===re||te(ce.prototype))?ce=void 0:ne(ce)&&(ce=ce[he],ce===null&&(ce=void 0))),ce===void 0?re:ce}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(x,Te,me){var ie=x("../internals/array-species-constructor");Te.exports=function(te,ae){return new(ie(te))(ae===0?0:ae)}},{"../internals/array-species-constructor":119}],121:[function(x,Te,me){var ie=x("../internals/an-object"),te=x("../internals/iterator-close");Te.exports=function(ae,ne,oe,he){try{return he?ne(ie(oe)[0],oe[1]):ne(oe)}catch(re){te(ae,"throw",re)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(x,Te,me){var ie=x("../internals/well-known-symbol"),te=ie("iterator"),ae=!1;try{var ne=0,oe={next:function(){return{done:!!ne++}},return:function(){ae=!0}};oe[te]=function(){return this},Array.from(oe,function(){throw 2})}catch(he){}Te.exports=function(he,re){if(!re&&!ae)return!1;var se=!1;try{var ce={};ce[te]=function(){return{next:function(){return{done:se=!0}}}},he(ce)}catch(fe){}return se}},{"../internals/well-known-symbol":268}],123:[function(x,Te,me){var ie=x("../internals/function-uncurry-this"),te=ie({}.toString),ae=ie("".slice);Te.exports=function(ne){return ae(te(ne),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/to-string-tag-support"),ae=x("../internals/is-callable"),ne=x("../internals/classof-raw"),oe=x("../internals/well-known-symbol"),he=oe("toStringTag"),re=ie.Object,se=ne(function(){return arguments}())=="Arguments",ce=function(fe,pe){try{return fe[pe]}catch(le){}};Te.exports=te?ne:function(fe){var pe,le,Se;return fe===void 0?"Undefined":fe===null?"Null":typeof(le=ce(pe=re(fe),he))=="string"?le:se?ne(pe):(Se=ne(pe))=="Object"&&ae(pe.callee)?"Arguments":Se}},{"../internals/classof-raw":123,"../internals/global":163,"../internals/is-callable":176,"../internals/to-string-tag-support":255,"../internals/well-known-symbol":268}],125:[function(x,Te,me){var ie=x("../internals/has-own-property"),te=x("../internals/own-keys"),ae=x("../internals/object-get-own-property-descriptor"),ne=x("../internals/object-define-property");Te.exports=function(oe,he,re){for(var se=te(he),ce=ne.f,fe=ae.f,pe=0;pe<se.length;pe++){var le=se[pe];!ie(oe,le)&&!(re&&ie(re,le))&&ce(oe,le,fe(he,le))}}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/own-keys":212}],126:[function(x,Te,me){var ie=x("../internals/well-known-symbol"),te=ie("match");Te.exports=function(ae){var ne=/./;try{"/./"[ae](ne)}catch(oe){try{return ne[te]=!1,"/./"[ae](ne)}catch(he){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(x,Te,me){var ie=x("../internals/fails");Te.exports=!ie(function(){function te(){}return te.prototype.constructor=null,Object.getPrototypeOf(new te)!==te.prototype})},{"../internals/fails":150}],128:[function(x,Te,me){"use strict";var ie=x("../internals/iterators-core").IteratorPrototype,te=x("../internals/object-create"),ae=x("../internals/create-property-descriptor"),ne=x("../internals/set-to-string-tag"),oe=x("../internals/iterators"),he=function(){return this};Te.exports=function(re,se,ce,fe){var pe=se+" Iterator";return re.prototype=te(ie,{next:ae(+!fe,ce)}),ne(re,pe,!1,!0),oe[pe]=he,re}},{"../internals/create-property-descriptor":130,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-create":196,"../internals/set-to-string-tag":234}],129:[function(x,Te,me){var ie=x("../internals/descriptors"),te=x("../internals/object-define-property"),ae=x("../internals/create-property-descriptor");Te.exports=ie?function(ne,oe,he){return te.f(ne,oe,ae(1,he))}:function(ne,oe,he){return ne[oe]=he,ne}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(x,Te,me){Te.exports=function(ie,te){return{enumerable:!(ie&1),configurable:!(ie&2),writable:!(ie&4),value:te}}},{}],131:[function(x,Te,me){"use strict";var ie=x("../internals/to-property-key"),te=x("../internals/object-define-property"),ae=x("../internals/create-property-descriptor");Te.exports=function(ne,oe,he){var re=ie(oe);re in ne?te.f(ne,re,ae(0,he)):ne[re]=he}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/function-call"),ae=x("../internals/is-pure"),ne=x("../internals/function-name"),oe=x("../internals/is-callable"),he=x("../internals/create-iterator-constructor"),re=x("../internals/object-get-prototype-of"),se=x("../internals/object-set-prototype-of"),ce=x("../internals/set-to-string-tag"),fe=x("../internals/create-non-enumerable-property"),pe=x("../internals/redefine"),le=x("../internals/well-known-symbol"),Se=x("../internals/iterators"),xe=x("../internals/iterators-core"),ge=ne.PROPER,Me=ne.CONFIGURABLE,ye=xe.IteratorPrototype,be=xe.BUGGY_SAFARI_ITERATORS,Fe=le("iterator"),ke="keys",Ie="values",Le="entries",De=function(){return this};Te.exports=function(Be,Ue,_e,We,Ze,et,at){he(_e,Ue,We);var pt=function(vt){if(vt===Ze&&st)return st;if(!be&&vt in lt)return lt[vt];switch(vt){case ke:return function(){return new _e(this,vt)};case Ie:return function(){return new _e(this,vt)};case Le:return function(){return new _e(this,vt)}}return function(){return new _e(this)}},Xe=Ue+" Iterator",Ge=!1,lt=Be.prototype,dt=lt[Fe]||lt["@@iterator"]||Ze&&lt[Ze],st=!be&&dt||pt(Ze),nt=Ue=="Array"&&lt.entries||dt,rt,it,gt;if(nt&&(rt=re(nt.call(new Be)),rt!==Object.prototype&&rt.next&&(!ae&&re(rt)!==ye&&(se?se(rt,ye):oe(rt[Fe])||pe(rt,Fe,De)),ce(rt,Xe,!0,!0),ae&&(Se[Xe]=De))),ge&&Ze==Ie&&dt&&dt.name!==Ie&&(!ae&&Me?fe(lt,"name",Ie):(Ge=!0,st=function(){return te(dt,this)})),Ze)if(it={values:pt(Ie),keys:et?st:pt(ke),entries:pt(Le)},at)for(gt in it)(be||Ge||!(gt in lt))&&pe(lt,gt,it[gt]);else ie({target:Ue,proto:!0,forced:be||Ge},it);return(!ae||at)&&lt[Fe]!==st&&pe(lt,Fe,st,{name:Ze}),Se[Ue]=st,it}},{"../internals/create-iterator-constructor":128,"../internals/create-non-enumerable-property":129,"../internals/export":149,"../internals/function-call":155,"../internals/function-name":156,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/well-known-symbol":268}],133:[function(x,Te,me){var ie=x("../internals/path"),te=x("../internals/has-own-property"),ae=x("../internals/well-known-symbol-wrapped"),ne=x("../internals/object-define-property").f;Te.exports=function(oe){var he=ie.Symbol||(ie.Symbol={});te(he,oe)||ne(he,oe,{value:ae.f(oe)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(x,Te,me){var ie=x("../internals/fails");Te.exports=!ie(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/is-object"),ae=ie.document,ne=te(ae)&&te(ae.createElement);Te.exports=function(oe){return ne?ae.createElement(oe):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(x,Te,me){Te.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],137:[function(x,Te,me){var ie=x("../internals/document-create-element"),te=ie("span").classList,ae=te&&te.constructor&&te.constructor.prototype;Te.exports=ae===Object.prototype?void 0:ae},{"../internals/document-create-element":135}],138:[function(x,Te,me){var ie=x("../internals/engine-user-agent"),te=ie.match(/firefox\/(\d+)/i);Te.exports=!!te&&+te[1]},{"../internals/engine-user-agent":145}],139:[function(x,Te,me){Te.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(x,Te,me){var ie=x("../internals/engine-user-agent");Te.exports=/MSIE|Trident/.test(ie)},{"../internals/engine-user-agent":145}],141:[function(x,Te,me){var ie=x("../internals/engine-user-agent"),te=x("../internals/global");Te.exports=/ipad|iphone|ipod/i.test(ie)&&te.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(x,Te,me){var ie=x("../internals/engine-user-agent");Te.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(ie)},{"../internals/engine-user-agent":145}],143:[function(x,Te,me){var ie=x("../internals/classof-raw"),te=x("../internals/global");Te.exports=ie(te.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(x,Te,me){var ie=x("../internals/engine-user-agent");Te.exports=/web0s(?!.*chrome)/i.test(ie)},{"../internals/engine-user-agent":145}],145:[function(x,Te,me){var ie=x("../internals/get-built-in");Te.exports=ie("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/engine-user-agent"),ae=ie.process,ne=ie.Deno,oe=ae&&ae.versions||ne&&ne.version,he=oe&&oe.v8,re,se;he&&(re=he.split("."),se=re[0]>0&&re[0]<4?1:+(re[0]+re[1])),!se&&te&&(re=te.match(/Edge\/(\d+)/),(!re||re[1]>=74)&&(re=te.match(/Chrome\/(\d+)/),re&&(se=+re[1]))),Te.exports=se},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(x,Te,me){var ie=x("../internals/engine-user-agent"),te=ie.match(/AppleWebKit\/(\d+)\./);Te.exports=!!te&&+te[1]},{"../internals/engine-user-agent":145}],148:[function(x,Te,me){Te.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/object-get-own-property-descriptor").f,ae=x("../internals/create-non-enumerable-property"),ne=x("../internals/redefine"),oe=x("../internals/set-global"),he=x("../internals/copy-constructor-properties"),re=x("../internals/is-forced");Te.exports=function(se,ce){var fe=se.target,pe=se.global,le=se.stat,Se,xe,ge,Me,ye,be;if(pe?xe=ie:le?xe=ie[fe]||oe(fe,{}):xe=(ie[fe]||{}).prototype,xe)for(ge in ce){if(ye=ce[ge],se.noTargetGet?(be=te(xe,ge),Me=be&&be.value):Me=xe[ge],Se=re(pe?ge:fe+(le?".":"#")+ge,se.forced),!Se&&Me!==void 0){if(typeof ye==typeof Me)continue;he(ye,Me)}(se.sham||Me&&Me.sham)&&ae(ye,"sham",!0),ne(xe,ge,ye,se)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(x,Te,me){Te.exports=function(ie){try{return!!ie()}catch(te){return!0}}},{}],151:[function(x,Te,me){"use strict";x("../modules/es.regexp.exec");var ie=x("../internals/function-uncurry-this"),te=x("../internals/redefine"),ae=x("../internals/regexp-exec"),ne=x("../internals/fails"),oe=x("../internals/well-known-symbol"),he=x("../internals/create-non-enumerable-property"),re=oe("species"),se=RegExp.prototype;Te.exports=function(ce,fe,pe,le){var Se=oe(ce),xe=!ne(function(){var be={};return be[Se]=function(){return 7},""[ce](be)!=7}),ge=xe&&!ne(function(){var be=!1,Fe=/a/;return ce==="split"&&(Fe={},Fe.constructor={},Fe.constructor[re]=function(){return Fe},Fe.flags="",Fe[Se]=/./[Se]),Fe.exec=function(){return be=!0,null},Fe[Se](""),!be});if(!xe||!ge||pe){var Me=ie(/./[Se]),ye=fe(Se,""[ce],function(be,Fe,ke,Ie,Le){var De=ie(be),Be=Fe.exec;return Be===ae||Be===se.exec?xe&&!Le?{done:!0,value:Me(Fe,ke,Ie)}:{done:!0,value:De(ke,Fe,Ie)}:{done:!1}});te(String.prototype,ce,ye[0]),te(se,Se,ye[1])}le&&he(se[Se],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(x,Te,me){var ie=x("../internals/function-bind-native"),te=Function.prototype,ae=te.apply,ne=te.call;Te.exports=typeof Reflect=="object"&&Reflect.apply||(ie?ne.bind(ae):function(){return ne.apply(ae,arguments)})},{"../internals/function-bind-native":154}],153:[function(x,Te,me){var ie=x("../internals/function-uncurry-this"),te=x("../internals/a-callable"),ae=x("../internals/function-bind-native"),ne=ie(ie.bind);Te.exports=function(oe,he){return te(oe),he===void 0?oe:ae?ne(oe,he):function(){return oe.apply(he,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(x,Te,me){var ie=x("../internals/fails");Te.exports=!ie(function(){var te=function(){}.bind();return typeof te!="function"||te.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(x,Te,me){var ie=x("../internals/function-bind-native"),te=Function.prototype.call;Te.exports=ie?te.bind(te):function(){return te.apply(te,arguments)}},{"../internals/function-bind-native":154}],156:[function(x,Te,me){var ie=x("../internals/descriptors"),te=x("../internals/has-own-property"),ae=Function.prototype,ne=ie&&Object.getOwnPropertyDescriptor,oe=te(ae,"name"),he=oe&&function(){}.name==="something",re=oe&&(!ie||ie&&ne(ae,"name").configurable);Te.exports={EXISTS:oe,PROPER:he,CONFIGURABLE:re}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(x,Te,me){var ie=x("../internals/function-bind-native"),te=Function.prototype,ae=te.bind,ne=te.call,oe=ie&&ae.bind(ne,ne);Te.exports=ie?function(he){return he&&oe(he)}:function(he){return he&&function(){return ne.apply(he,arguments)}}},{"../internals/function-bind-native":154}],158:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/is-callable"),ae=function(ne){return te(ne)?ne:void 0};Te.exports=function(ne,oe){return arguments.length<2?ae(ie[ne]):ie[ne]&&ie[ne][oe]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(x,Te,me){var ie=x("../internals/classof"),te=x("../internals/get-method"),ae=x("../internals/iterators"),ne=x("../internals/well-known-symbol"),oe=ne("iterator");Te.exports=function(he){if(he!=null)return te(he,oe)||te(he,"@@iterator")||ae[ie(he)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/function-call"),ae=x("../internals/a-callable"),ne=x("../internals/an-object"),oe=x("../internals/try-to-string"),he=x("../internals/get-iterator-method"),re=ie.TypeError;Te.exports=function(se,ce){var fe=arguments.length<2?he(se):ce;if(ae(fe))return ne(te(fe,se));throw re(oe(se)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(x,Te,me){var ie=x("../internals/a-callable");Te.exports=function(te,ae){var ne=te[ae];return ne==null?void 0:ie(ne)}},{"../internals/a-callable":95}],162:[function(x,Te,me){var ie=x("../internals/function-uncurry-this"),te=x("../internals/to-object"),ae=Math.floor,ne=ie("".charAt),oe=ie("".replace),he=ie("".slice),re=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,se=/\$([$&'`]|\d{1,2})/g;Te.exports=function(ce,fe,pe,le,Se,xe){var ge=pe+ce.length,Me=le.length,ye=se;return Se!==void 0&&(Se=te(Se),ye=re),oe(xe,ye,function(be,Fe){var ke;switch(ne(Fe,0)){case"$":return"$";case"&":return ce;case"`":return he(fe,0,pe);case"'":return he(fe,ge);case"<":ke=Se[he(Fe,1,-1)];break;default:var Ie=+Fe;if(Ie===0)return be;if(Ie>Me){var Le=ae(Ie/10);return Le===0?be:Le<=Me?le[Le-1]===void 0?ne(Fe,1):le[Le-1]+ne(Fe,1):be}ke=le[Ie-1]}return ke===void 0?"":ke})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(x,Te,me){(function(ie){(function(){var te=function(ae){return ae&&ae.Math==Math&&ae};Te.exports=te(typeof globalThis=="object"&&globalThis)||te(typeof window=="object"&&window)||te(typeof self=="object"&&self)||te(typeof ie=="object"&&ie)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(x,Te,me){var ie=x("../internals/function-uncurry-this"),te=x("../internals/to-object"),ae=ie({}.hasOwnProperty);Te.exports=Object.hasOwn||function(oe,he){return ae(te(oe),he)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(x,Te,me){Te.exports={}},{}],166:[function(x,Te,me){var ie=x("../internals/global");Te.exports=function(te,ae){var ne=ie.console;ne&&ne.error&&(arguments.length==1?ne.error(te):ne.error(te,ae))}},{"../internals/global":163}],167:[function(x,Te,me){var ie=x("../internals/get-built-in");Te.exports=ie("document","documentElement")},{"../internals/get-built-in":158}],168:[function(x,Te,me){var ie=x("../internals/descriptors"),te=x("../internals/fails"),ae=x("../internals/document-create-element");Te.exports=!ie&&!te(function(){return Object.defineProperty(ae("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(x,Te,me){var ie=x("../internals/global"),te=ie.Array,ae=Math.abs,ne=Math.pow,oe=Math.floor,he=Math.log,re=Math.LN2,se=function(fe,pe,le){var Se=te(le),xe=le*8-pe-1,ge=(1<<xe)-1,Me=ge>>1,ye=pe===23?ne(2,-24)-ne(2,-77):0,be=fe<0||fe===0&&1/fe<0?1:0,Fe=0,ke,Ie,Le;for(fe=ae(fe),fe!=fe||fe===1/0?(Ie=fe!=fe?1:0,ke=ge):(ke=oe(he(fe)/re),Le=ne(2,-ke),fe*Le<1&&(ke--,Le*=2),ke+Me>=1?fe+=ye/Le:fe+=ye*ne(2,1-Me),fe*Le>=2&&(ke++,Le/=2),ke+Me>=ge?(Ie=0,ke=ge):ke+Me>=1?(Ie=(fe*Le-1)*ne(2,pe),ke=ke+Me):(Ie=fe*ne(2,Me-1)*ne(2,pe),ke=0));pe>=8;)Se[Fe++]=Ie&255,Ie/=256,pe-=8;for(ke=ke<<pe|Ie,xe+=pe;xe>0;)Se[Fe++]=ke&255,ke/=256,xe-=8;return Se[--Fe]|=be*128,Se},ce=function(fe,pe){var le=fe.length,Se=le*8-pe-1,xe=(1<<Se)-1,ge=xe>>1,Me=Se-7,ye=le-1,be=fe[ye--],Fe=be&127,ke;for(be>>=7;Me>0;)Fe=Fe*256+fe[ye--],Me-=8;for(ke=Fe&(1<<-Me)-1,Fe>>=-Me,Me+=pe;Me>0;)ke=ke*256+fe[ye--],Me-=8;if(Fe===0)Fe=1-ge;else{if(Fe===xe)return ke?NaN:be?-1/0:1/0;ke=ke+ne(2,pe),Fe=Fe-ge}return(be?-1:1)*ke*ne(2,Fe-pe)};Te.exports={pack:se,unpack:ce}},{"../internals/global":163}],170:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/function-uncurry-this"),ae=x("../internals/fails"),ne=x("../internals/classof-raw"),oe=ie.Object,he=te("".split);Te.exports=ae(function(){return!oe("z").propertyIsEnumerable(0)})?function(re){return ne(re)=="String"?he(re,""):oe(re)}:oe},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(x,Te,me){var ie=x("../internals/is-callable"),te=x("../internals/is-object"),ae=x("../internals/object-set-prototype-of");Te.exports=function(ne,oe,he){var re,se;return ae&&ie(re=oe.constructor)&&re!==he&&te(se=re.prototype)&&se!==he.prototype&&ae(ne,se),ne}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(x,Te,me){var ie=x("../internals/function-uncurry-this"),te=x("../internals/is-callable"),ae=x("../internals/shared-store"),ne=ie(Function.toString);te(ae.inspectSource)||(ae.inspectSource=function(oe){return ne(oe)}),Te.exports=ae.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(x,Te,me){var ie=x("../internals/native-weak-map"),te=x("../internals/global"),ae=x("../internals/function-uncurry-this"),ne=x("../internals/is-object"),oe=x("../internals/create-non-enumerable-property"),he=x("../internals/has-own-property"),re=x("../internals/shared-store"),se=x("../internals/shared-key"),ce=x("../internals/hidden-keys"),fe="Object already initialized",pe=te.TypeError,le=te.WeakMap,Se,xe,ge,Me=function(De){return ge(De)?xe(De):Se(De,{})},ye=function(De){return function(Be){var Ue;if(!ne(Be)||(Ue=xe(Be)).type!==De)throw pe("Incompatible receiver, "+De+" required");return Ue}};if(ie||re.state){var be=re.state||(re.state=new le),Fe=ae(be.get),ke=ae(be.has),Ie=ae(be.set);Se=function(De,Be){if(ke(be,De))throw new pe(fe);return Be.facade=De,Ie(be,De,Be),Be},xe=function(De){return Fe(be,De)||{}},ge=function(De){return ke(be,De)}}else{var Le=se("state");ce[Le]=!0,Se=function(De,Be){if(he(De,Le))throw new pe(fe);return Be.facade=De,oe(De,Le,Be),Be},xe=function(De){return he(De,Le)?De[Le]:{}},ge=function(De){return he(De,Le)}}Te.exports={set:Se,get:xe,has:ge,enforce:Me,getterFor:ye}},{"../internals/create-non-enumerable-property":129,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/is-object":180,"../internals/native-weak-map":192,"../internals/shared-key":235,"../internals/shared-store":236}],174:[function(x,Te,me){var ie=x("../internals/well-known-symbol"),te=x("../internals/iterators"),ae=ie("iterator"),ne=Array.prototype;Te.exports=function(oe){return oe!==void 0&&(te.Array===oe||ne[ae]===oe)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(x,Te,me){var ie=x("../internals/classof-raw");Te.exports=Array.isArray||function(ae){return ie(ae)=="Array"}},{"../internals/classof-raw":123}],176:[function(x,Te,me){Te.exports=function(ie){return typeof ie=="function"}},{}],177:[function(x,Te,me){var ie=x("../internals/function-uncurry-this"),te=x("../internals/fails"),ae=x("../internals/is-callable"),ne=x("../internals/classof"),oe=x("../internals/get-built-in"),he=x("../internals/inspect-source"),re=function(){},se=[],ce=oe("Reflect","construct"),fe=/^\s*(?:class|function)\b/,pe=ie(fe.exec),le=!fe.exec(re),Se=function(Me){if(!ae(Me))return!1;try{return ce(re,se,Me),!0}catch(ye){return!1}},xe=function(Me){if(!ae(Me))return!1;switch(ne(Me)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return le||!!pe(fe,he(Me))}catch(ye){return!0}};xe.sham=!0,Te.exports=!ce||te(function(){var ge;return Se(Se.call)||!Se(Object)||!Se(function(){ge=!0})||ge})?xe:Se},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(x,Te,me){var ie=x("../internals/fails"),te=x("../internals/is-callable"),ae=/#|\.prototype\./,ne=function(ce,fe){var pe=he[oe(ce)];return pe==se?!0:pe==re?!1:te(fe)?ie(fe):!!fe},oe=ne.normalize=function(ce){return String(ce).replace(ae,".").toLowerCase()},he=ne.data={},re=ne.NATIVE="N",se=ne.POLYFILL="P";Te.exports=ne},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(x,Te,me){var ie=x("../internals/is-object"),te=Math.floor;Te.exports=Number.isInteger||function(ne){return!ie(ne)&&isFinite(ne)&&te(ne)===ne}},{"../internals/is-object":180}],180:[function(x,Te,me){var ie=x("../internals/is-callable");Te.exports=function(te){return typeof te=="object"?te!==null:ie(te)}},{"../internals/is-callable":176}],181:[function(x,Te,me){Te.exports=!1},{}],182:[function(x,Te,me){var ie=x("../internals/is-object"),te=x("../internals/classof-raw"),ae=x("../internals/well-known-symbol"),ne=ae("match");Te.exports=function(oe){var he;return ie(oe)&&((he=oe[ne])!==void 0?!!he:te(oe)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/get-built-in"),ae=x("../internals/is-callable"),ne=x("../internals/object-is-prototype-of"),oe=x("../internals/use-symbol-as-uid"),he=ie.Object;Te.exports=oe?function(re){return typeof re=="symbol"}:function(re){var se=te("Symbol");return ae(se)&&ne(se.prototype,he(re))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/function-bind-context"),ae=x("../internals/function-call"),ne=x("../internals/an-object"),oe=x("../internals/try-to-string"),he=x("../internals/is-array-iterator-method"),re=x("../internals/length-of-array-like"),se=x("../internals/object-is-prototype-of"),ce=x("../internals/get-iterator"),fe=x("../internals/get-iterator-method"),pe=x("../internals/iterator-close"),le=ie.TypeError,Se=function(ge,Me){this.stopped=ge,this.result=Me},xe=Se.prototype;Te.exports=function(ge,Me,ye){var be=ye&&ye.that,Fe=!!(ye&&ye.AS_ENTRIES),ke=!!(ye&&ye.IS_ITERATOR),Ie=!!(ye&&ye.INTERRUPTED),Le=te(Me,be),De,Be,Ue,_e,We,Ze,et,at=function(Xe){return De&&pe(De,"normal",Xe),new Se(!0,Xe)},pt=function(Xe){return Fe?(ne(Xe),Ie?Le(Xe[0],Xe[1],at):Le(Xe[0],Xe[1])):Ie?Le(Xe,at):Le(Xe)};if(ke)De=ge;else{if(Be=fe(ge),!Be)throw le(oe(ge)+" is not iterable");if(he(Be)){for(Ue=0,_e=re(ge);_e>Ue;Ue++)if(We=pt(ge[Ue]),We&&se(xe,We))return We;return new Se(!1)}De=ce(ge,Be)}for(Ze=De.next;!(et=ae(Ze,De)).done;){try{We=pt(et.value)}catch(Xe){pe(De,"throw",Xe)}if(typeof We=="object"&&We&&se(xe,We))return We}return new Se(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(x,Te,me){var ie=x("../internals/function-call"),te=x("../internals/an-object"),ae=x("../internals/get-method");Te.exports=function(ne,oe,he){var re,se;te(ne);try{if(re=ae(ne,"return"),!re){if(oe==="throw")throw he;return he}re=ie(re,ne)}catch(ce){se=!0,re=ce}if(oe==="throw")throw he;if(se)throw re;return te(re),he}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(x,Te,me){"use strict";var ie=x("../internals/fails"),te=x("../internals/is-callable"),ae=x("../internals/object-create"),ne=x("../internals/object-get-prototype-of"),oe=x("../internals/redefine"),he=x("../internals/well-known-symbol"),re=x("../internals/is-pure"),se=he("iterator"),ce=!1,fe,pe,le;[].keys&&(le=[].keys(),"next"in le?(pe=ne(ne(le)),pe!==Object.prototype&&(fe=pe)):ce=!0);var Se=fe==null||ie(function(){var xe={};return fe[se].call(xe)!==xe});Se?fe={}:re&&(fe=ae(fe)),te(fe[se])||oe(fe,se,function(){return this}),Te.exports={IteratorPrototype:fe,BUGGY_SAFARI_ITERATORS:ce}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(x,Te,me){arguments[4][165][0].apply(me,arguments)},{dup:165}],188:[function(x,Te,me){var ie=x("../internals/to-length");Te.exports=function(te){return ie(te.length)}},{"../internals/to-length":249}],189:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/function-bind-context"),ae=x("../internals/object-get-own-property-descriptor").f,ne=x("../internals/task").set,oe=x("../internals/engine-is-ios"),he=x("../internals/engine-is-ios-pebble"),re=x("../internals/engine-is-webos-webkit"),se=x("../internals/engine-is-node"),ce=ie.MutationObserver||ie.WebKitMutationObserver,fe=ie.document,pe=ie.process,le=ie.Promise,Se=ae(ie,"queueMicrotask"),xe=Se&&Se.value,ge,Me,ye,be,Fe,ke,Ie,Le;xe||(ge=function(){var De,Be;for(se&&(De=pe.domain)&&De.exit();Me;){Be=Me.fn,Me=Me.next;try{Be()}catch(Ue){throw Me?be():ye=void 0,Ue}}ye=void 0,De&&De.enter()},!oe&&!se&&!re&&ce&&fe?(Fe=!0,ke=fe.createTextNode(""),new ce(ge).observe(ke,{characterData:!0}),be=function(){ke.data=Fe=!Fe}):!he&&le&&le.resolve?(Ie=le.resolve(void 0),Ie.constructor=le,Le=te(Ie.then,Ie),be=function(){Le(ge)}):se?be=function(){pe.nextTick(ge)}:(ne=te(ne,ie),be=function(){ne(ge)})),Te.exports=xe||function(De){var Be={fn:De,next:void 0};ye&&(ye.next=Be),Me||(Me=Be,be()),ye=Be}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(x,Te,me){var ie=x("../internals/native-symbol");Te.exports=ie&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(x,Te,me){var ie=x("../internals/engine-v8-version"),te=x("../internals/fails");Te.exports=!!Object.getOwnPropertySymbols&&!te(function(){var ae=Symbol();return!String(ae)||!(Object(ae)instanceof Symbol)||!Symbol.sham&&ie&&ie<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/is-callable"),ae=x("../internals/inspect-source"),ne=ie.WeakMap;Te.exports=te(ne)&&/native code/.test(ae(ne))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(x,Te,me){"use strict";var ie=x("../internals/a-callable"),te=function(ae){var ne,oe;this.promise=new ae(function(he,re){if(ne!==void 0||oe!==void 0)throw TypeError("Bad Promise constructor");ne=he,oe=re}),this.resolve=ie(ne),this.reject=ie(oe)};Te.exports.f=function(ae){return new te(ae)}},{"../internals/a-callable":95}],194:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/is-regexp"),ae=ie.TypeError;Te.exports=function(ne){if(te(ne))throw ae("The method doesn't accept regular expressions");return ne}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(x,Te,me){"use strict";var ie=x("../internals/descriptors"),te=x("../internals/function-uncurry-this"),ae=x("../internals/function-call"),ne=x("../internals/fails"),oe=x("../internals/object-keys"),he=x("../internals/object-get-own-property-symbols"),re=x("../internals/object-property-is-enumerable"),se=x("../internals/to-object"),ce=x("../internals/indexed-object"),fe=Object.assign,pe=Object.defineProperty,le=te([].concat);Te.exports=!fe||ne(function(){if(ie&&fe({b:1},fe(pe({},"a",{enumerable:!0,get:function(){pe(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var Se={},xe={},ge=Symbol(),Me="abcdefghijklmnopqrst";return Se[ge]=7,Me.split("").forEach(function(ye){xe[ye]=ye}),fe({},Se)[ge]!=7||oe(fe({},xe)).join("")!=Me})?function(xe,ge){for(var Me=se(xe),ye=arguments.length,be=1,Fe=he.f,ke=re.f;ye>be;)for(var Ie=ce(arguments[be++]),Le=Fe?le(oe(Ie),Fe(Ie)):oe(Ie),De=Le.length,Be=0,Ue;De>Be;)Ue=Le[Be++],(!ie||ae(ke,Ie,Ue))&&(Me[Ue]=Ie[Ue]);return Me}:fe},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(x,Te,me){var ie=x("../internals/an-object"),te=x("../internals/object-define-properties"),ae=x("../internals/enum-bug-keys"),ne=x("../internals/hidden-keys"),oe=x("../internals/html"),he=x("../internals/document-create-element"),re=x("../internals/shared-key"),se=">",ce="<",fe="prototype",pe="script",le=re("IE_PROTO"),Se=function(){},xe=function(Fe){return ce+pe+se+Fe+ce+"/"+pe+se},ge=function(Fe){Fe.write(xe("")),Fe.close();var ke=Fe.parentWindow.Object;return Fe=null,ke},Me=function(){var Fe=he("iframe"),ke="java"+pe+":",Ie;return Fe.style.display="none",oe.appendChild(Fe),Fe.src=String(ke),Ie=Fe.contentWindow.document,Ie.open(),Ie.write(xe("document.F=Object")),Ie.close(),Ie.F},ye,be=function(){try{ye=new ActiveXObject("htmlfile")}catch(ke){}be=typeof document!="undefined"?document.domain&&ye?ge(ye):Me():ge(ye);for(var Fe=ae.length;Fe--;)delete be[fe][ae[Fe]];return be()};ne[le]=!0,Te.exports=Object.create||function(ke,Ie){var Le;return ke!==null?(Se[fe]=ie(ke),Le=new Se,Se[fe]=null,Le[le]=ke):Le=be(),Ie===void 0?Le:te.f(Le,Ie)}},{"../internals/an-object":101,"../internals/document-create-element":135,"../internals/enum-bug-keys":148,"../internals/hidden-keys":165,"../internals/html":167,"../internals/object-define-properties":197,"../internals/shared-key":235}],197:[function(x,Te,me){var ie=x("../internals/descriptors"),te=x("../internals/v8-prototype-define-bug"),ae=x("../internals/object-define-property"),ne=x("../internals/an-object"),oe=x("../internals/to-indexed-object"),he=x("../internals/object-keys");me.f=ie&&!te?Object.defineProperties:function(se,ce){ne(se);for(var fe=oe(ce),pe=he(ce),le=pe.length,Se=0,xe;le>Se;)ae.f(se,xe=pe[Se++],fe[xe]);return se}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/descriptors"),ae=x("../internals/ie8-dom-define"),ne=x("../internals/v8-prototype-define-bug"),oe=x("../internals/an-object"),he=x("../internals/to-property-key"),re=ie.TypeError,se=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,fe="enumerable",pe="configurable",le="writable";me.f=te?ne?function(xe,ge,Me){if(oe(xe),ge=he(ge),oe(Me),typeof xe=="function"&&ge==="prototype"&&"value"in Me&&le in Me&&!Me[le]){var ye=ce(xe,ge);ye&&ye[le]&&(xe[ge]=Me.value,Me={configurable:pe in Me?Me[pe]:ye[pe],enumerable:fe in Me?Me[fe]:ye[fe],writable:!1})}return se(xe,ge,Me)}:se:function(xe,ge,Me){if(oe(xe),ge=he(ge),oe(Me),ae)try{return se(xe,ge,Me)}catch(ye){}if("get"in Me||"set"in Me)throw re("Accessors not supported");return"value"in Me&&(xe[ge]=Me.value),xe}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(x,Te,me){var ie=x("../internals/descriptors"),te=x("../internals/function-call"),ae=x("../internals/object-property-is-enumerable"),ne=x("../internals/create-property-descriptor"),oe=x("../internals/to-indexed-object"),he=x("../internals/to-property-key"),re=x("../internals/has-own-property"),se=x("../internals/ie8-dom-define"),ce=Object.getOwnPropertyDescriptor;me.f=ie?ce:function(pe,le){if(pe=oe(pe),le=he(le),se)try{return ce(pe,le)}catch(Se){}if(re(pe,le))return ne(!te(ae.f,pe,le),pe[le])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(x,Te,me){var ie=x("../internals/classof-raw"),te=x("../internals/to-indexed-object"),ae=x("../internals/object-get-own-property-names").f,ne=x("../internals/array-slice-simple"),oe=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],he=function(re){try{return ae(re)}catch(se){return ne(oe)}};Te.exports.f=function(se){return oe&&ie(se)=="Window"?he(se):ae(te(se))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(x,Te,me){var ie=x("../internals/object-keys-internal"),te=x("../internals/enum-bug-keys"),ae=te.concat("length","prototype");me.f=Object.getOwnPropertyNames||function(oe){return ie(oe,ae)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(x,Te,me){me.f=Object.getOwnPropertySymbols},{}],203:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/has-own-property"),ae=x("../internals/is-callable"),ne=x("../internals/to-object"),oe=x("../internals/shared-key"),he=x("../internals/correct-prototype-getter"),re=oe("IE_PROTO"),se=ie.Object,ce=se.prototype;Te.exports=he?se.getPrototypeOf:function(fe){var pe=ne(fe);if(te(pe,re))return pe[re];var le=pe.constructor;return ae(le)&&pe instanceof le?le.prototype:pe instanceof se?ce:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(x,Te,me){var ie=x("../internals/function-uncurry-this");Te.exports=ie({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(x,Te,me){var ie=x("../internals/function-uncurry-this"),te=x("../internals/has-own-property"),ae=x("../internals/to-indexed-object"),ne=x("../internals/array-includes").indexOf,oe=x("../internals/hidden-keys"),he=ie([].push);Te.exports=function(re,se){var ce=ae(re),fe=0,pe=[],le;for(le in ce)!te(oe,le)&&te(ce,le)&&he(pe,le);for(;se.length>fe;)te(ce,le=se[fe++])&&(~ne(pe,le)||he(pe,le));return pe}},{"../internals/array-includes":110,"../internals/function-uncurry-this":157,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/to-indexed-object":247}],206:[function(x,Te,me){var ie=x("../internals/object-keys-internal"),te=x("../internals/enum-bug-keys");Te.exports=Object.keys||function(ne){return ie(ne,te)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(x,Te,me){"use strict";var ie={}.propertyIsEnumerable,te=Object.getOwnPropertyDescriptor,ae=te&&!ie.call({1:2},1);me.f=ae?function(oe){var he=te(this,oe);return!!he&&he.enumerable}:ie},{}],208:[function(x,Te,me){var ie=x("../internals/function-uncurry-this"),te=x("../internals/an-object"),ae=x("../internals/a-possible-prototype");Te.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var ne=!1,oe={},he;try{he=ie(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),he(oe,[]),ne=oe instanceof Array}catch(re){}return function(se,ce){return te(se),ae(ce),ne?he(se,ce):se.__proto__=ce,se}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(x,Te,me){var ie=x("../internals/descriptors"),te=x("../internals/function-uncurry-this"),ae=x("../internals/object-keys"),ne=x("../internals/to-indexed-object"),oe=x("../internals/object-property-is-enumerable").f,he=te(oe),re=te([].push),se=function(ce){return function(fe){for(var pe=ne(fe),le=ae(pe),Se=le.length,xe=0,ge=[],Me;Se>xe;)Me=le[xe++],(!ie||he(pe,Me))&&re(ge,ce?[Me,pe[Me]]:pe[Me]);return ge}};Te.exports={entries:se(!0),values:se(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(x,Te,me){"use strict";var ie=x("../internals/to-string-tag-support"),te=x("../internals/classof");Te.exports=ie?{}.toString:function(){return"[object "+te(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/function-call"),ae=x("../internals/is-callable"),ne=x("../internals/is-object"),oe=ie.TypeError;Te.exports=function(he,re){var se,ce;if(re==="string"&&ae(se=he.toString)&&!ne(ce=te(se,he))||ae(se=he.valueOf)&&!ne(ce=te(se,he))||re!=="string"&&ae(se=he.toString)&&!ne(ce=te(se,he)))return ce;throw oe("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(x,Te,me){var ie=x("../internals/get-built-in"),te=x("../internals/function-uncurry-this"),ae=x("../internals/object-get-own-property-names"),ne=x("../internals/object-get-own-property-symbols"),oe=x("../internals/an-object"),he=te([].concat);Te.exports=ie("Reflect","ownKeys")||function(se){var ce=ae.f(oe(se)),fe=ne.f;return fe?he(ce,fe(se)):ce}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(x,Te,me){var ie=x("../internals/global");Te.exports=ie},{"../internals/global":163}],214:[function(x,Te,me){Te.exports=function(ie){try{return{error:!1,value:ie()}}catch(te){return{error:!0,value:te}}}},{}],215:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/promise-native-constructor"),ae=x("../internals/is-callable"),ne=x("../internals/is-forced"),oe=x("../internals/inspect-source"),he=x("../internals/well-known-symbol"),re=x("../internals/engine-is-browser"),se=x("../internals/is-pure"),ce=x("../internals/engine-v8-version"),fe=te&&te.prototype,pe=he("species"),le=!1,Se=ae(ie.PromiseRejectionEvent),xe=ne("Promise",function(){var ge=oe(te),Me=ge!==String(te);if(!Me&&ce===66||se&&!(fe.catch&&fe.finally))return!0;if(ce>=51&&/native code/.test(ge))return!1;var ye=new te(function(ke){ke(1)}),be=function(ke){ke(function(){},function(){})},Fe=ye.constructor={};return Fe[pe]=be,le=ye.then(function(){})instanceof be,le?!Me&&re&&!Se:!0});Te.exports={CONSTRUCTOR:xe,REJECTION_EVENT:Se,SUBCLASSING:le}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(x,Te,me){var ie=x("../internals/global");Te.exports=ie.Promise},{"../internals/global":163}],217:[function(x,Te,me){var ie=x("../internals/an-object"),te=x("../internals/is-object"),ae=x("../internals/new-promise-capability");Te.exports=function(ne,oe){if(ie(ne),te(oe)&&oe.constructor===ne)return oe;var he=ae.f(ne),re=he.resolve;return re(oe),he.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(x,Te,me){var ie=x("../internals/promise-native-constructor"),te=x("../internals/check-correctness-of-iteration"),ae=x("../internals/promise-constructor-detection").CONSTRUCTOR;Te.exports=ae||!te(function(ne){ie.all(ne).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(x,Te,me){var ie=x("../internals/object-define-property").f;Te.exports=function(te,ae,ne){ne in te||ie(te,ne,{configurable:!0,get:function(){return ae[ne]},set:function(oe){ae[ne]=oe}})}},{"../internals/object-define-property":198}],220:[function(x,Te,me){var ie=function(){this.head=null,this.tail=null};ie.prototype={add:function(te){var ae={item:te,next:null};this.head?this.tail.next=ae:this.head=ae,this.tail=ae},get:function(){var te=this.head;if(te)return this.head=te.next,this.tail===te&&(this.tail=null),te.item}},Te.exports=ie},{}],221:[function(x,Te,me){var ie=x("../internals/redefine");Te.exports=function(te,ae,ne){for(var oe in ae)ie(te,oe,ae[oe],ne);return te}},{"../internals/redefine":222}],222:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/is-callable"),ae=x("../internals/has-own-property"),ne=x("../internals/create-non-enumerable-property"),oe=x("../internals/set-global"),he=x("../internals/inspect-source"),re=x("../internals/internal-state"),se=x("../internals/function-name").CONFIGURABLE,ce=re.get,fe=re.enforce,pe=String(String).split("String");(Te.exports=function(le,Se,xe,ge){var Me=ge?!!ge.unsafe:!1,ye=ge?!!ge.enumerable:!1,be=ge?!!ge.noTargetGet:!1,Fe=ge&&ge.name!==void 0?ge.name:Se,ke;if(te(xe)&&(String(Fe).slice(0,7)==="Symbol("&&(Fe="["+String(Fe).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ae(xe,"name")||se&&xe.name!==Fe)&&ne(xe,"name",Fe),ke=fe(xe),ke.source||(ke.source=pe.join(typeof Fe=="string"?Fe:""))),le===ie){ye?le[Se]=xe:oe(Se,xe);return}else Me?!be&&le[Se]&&(ye=!0):delete le[Se];ye?le[Se]=xe:ne(le,Se,xe)})(Function.prototype,"toString",function(){return te(this)&&ce(this).source||he(this)})},{"../internals/create-non-enumerable-property":129,"../internals/function-name":156,"../internals/global":163,"../internals/has-own-property":164,"../internals/inspect-source":172,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/set-global":232}],223:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/function-call"),ae=x("../internals/an-object"),ne=x("../internals/is-callable"),oe=x("../internals/classof-raw"),he=x("../internals/regexp-exec"),re=ie.TypeError;Te.exports=function(se,ce){var fe=se.exec;if(ne(fe)){var pe=te(fe,se,ce);return pe!==null&&ae(pe),pe}if(oe(se)==="RegExp")return te(he,se,ce);throw re("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(x,Te,me){"use strict";var ie=x("../internals/function-call"),te=x("../internals/function-uncurry-this"),ae=x("../internals/to-string"),ne=x("../internals/regexp-flags"),oe=x("../internals/regexp-sticky-helpers"),he=x("../internals/shared"),re=x("../internals/object-create"),se=x("../internals/internal-state").get,ce=x("../internals/regexp-unsupported-dot-all"),fe=x("../internals/regexp-unsupported-ncg"),pe=he("native-string-replace",String.prototype.replace),le=RegExp.prototype.exec,Se=le,xe=te("".charAt),ge=te("".indexOf),Me=te("".replace),ye=te("".slice),be=function(){var Le=/a/,De=/b*/g;return ie(le,Le,"a"),ie(le,De,"a"),Le.lastIndex!==0||De.lastIndex!==0}(),Fe=oe.BROKEN_CARET,ke=/()??/.exec("")[1]!==void 0,Ie=be||ke||Fe||ce||fe;Ie&&(Se=function(De){var Be=this,Ue=se(Be),_e=ae(De),We=Ue.raw,Ze,et,at,pt,Xe,Ge,lt;if(We)return We.lastIndex=Be.lastIndex,Ze=ie(Se,We,_e),Be.lastIndex=We.lastIndex,Ze;var dt=Ue.groups,st=Fe&&Be.sticky,nt=ie(ne,Be),rt=Be.source,it=0,gt=_e;if(st&&(nt=Me(nt,"y",""),ge(nt,"g")===-1&&(nt+="g"),gt=ye(_e,Be.lastIndex),Be.lastIndex>0&&(!Be.multiline||Be.multiline&&xe(_e,Be.lastIndex-1)!==`
`)&&(rt="(?: "+rt+")",gt=" "+gt,it++),et=new RegExp("^(?:"+rt+")",nt)),ke&&(et=new RegExp("^"+rt+"$(?!\\s)",nt)),be&&(at=Be.lastIndex),pt=ie(le,st?et:Be,gt),st?pt?(pt.input=ye(pt.input,it),pt[0]=ye(pt[0],it),pt.index=Be.lastIndex,Be.lastIndex+=pt[0].length):Be.lastIndex=0:be&&pt&&(Be.lastIndex=Be.global?pt.index+pt[0].length:at),ke&&pt&&pt.length>1&&ie(pe,pt[0],et,function(){for(Xe=1;Xe<arguments.length-2;Xe++)arguments[Xe]===void 0&&(pt[Xe]=void 0)}),pt&&dt)for(pt.groups=Ge=re(null),Xe=0;Xe<dt.length;Xe++)lt=dt[Xe],Ge[lt[0]]=pt[lt[1]];return pt}),Te.exports=Se},{"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/internal-state":173,"../internals/object-create":196,"../internals/regexp-flags":225,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/shared":237,"../internals/to-string":256}],225:[function(x,Te,me){"use strict";var ie=x("../internals/an-object");Te.exports=function(){var te=ie(this),ae="";return te.hasIndices&&(ae+="d"),te.global&&(ae+="g"),te.ignoreCase&&(ae+="i"),te.multiline&&(ae+="m"),te.dotAll&&(ae+="s"),te.unicode&&(ae+="u"),te.sticky&&(ae+="y"),ae}},{"../internals/an-object":101}],226:[function(x,Te,me){var ie=x("../internals/function-call"),te=x("../internals/has-own-property"),ae=x("../internals/object-is-prototype-of"),ne=x("../internals/regexp-flags"),oe=RegExp.prototype;Te.exports=function(he){var re=he.flags;return re===void 0&&!("flags"in oe)&&!te(he,"flags")&&ae(oe,he)?ie(ne,he):re}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(x,Te,me){var ie=x("../internals/fails"),te=x("../internals/global"),ae=te.RegExp,ne=ie(function(){var re=ae("a","y");return re.lastIndex=2,re.exec("abcd")!=null}),oe=ne||ie(function(){return!ae("a","y").sticky}),he=ne||ie(function(){var re=ae("^r","gy");return re.lastIndex=2,re.exec("str")!=null});Te.exports={BROKEN_CARET:he,MISSED_STICKY:oe,UNSUPPORTED_Y:ne}},{"../internals/fails":150,"../internals/global":163}],228:[function(x,Te,me){var ie=x("../internals/fails"),te=x("../internals/global"),ae=te.RegExp;Te.exports=ie(function(){var ne=ae(".","s");return!(ne.dotAll&&ne.exec(`
`)&&ne.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(x,Te,me){var ie=x("../internals/fails"),te=x("../internals/global"),ae=te.RegExp;Te.exports=ie(function(){var ne=ae("(?<a>b)","g");return ne.exec("b").groups.a!=="b"||"b".replace(ne,"$<a>c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(x,Te,me){var ie=x("../internals/global"),te=ie.TypeError;Te.exports=function(ae){if(ae==null)throw te("Can't call method on "+ae);return ae}},{"../internals/global":163}],231:[function(x,Te,me){Te.exports=Object.is||function(te,ae){return te===ae?te!==0||1/te===1/ae:te!=te&&ae!=ae}},{}],232:[function(x,Te,me){var ie=x("../internals/global"),te=Object.defineProperty;Te.exports=function(ae,ne){try{te(ie,ae,{value:ne,configurable:!0,writable:!0})}catch(oe){ie[ae]=ne}return ne}},{"../internals/global":163}],233:[function(x,Te,me){"use strict";var ie=x("../internals/get-built-in"),te=x("../internals/object-define-property"),ae=x("../internals/well-known-symbol"),ne=x("../internals/descriptors"),oe=ae("species");Te.exports=function(he){var re=ie(he),se=te.f;ne&&re&&!re[oe]&&se(re,oe,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(x,Te,me){var ie=x("../internals/object-define-property").f,te=x("../internals/has-own-property"),ae=x("../internals/well-known-symbol"),ne=ae("toStringTag");Te.exports=function(oe,he,re){oe&&!re&&(oe=oe.prototype),oe&&!te(oe,ne)&&ie(oe,ne,{configurable:!0,value:he})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(x,Te,me){var ie=x("../internals/shared"),te=x("../internals/uid"),ae=ie("keys");Te.exports=function(ne){return ae[ne]||(ae[ne]=te(ne))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/set-global"),ae="__core-js_shared__",ne=ie[ae]||te(ae,{});Te.exports=ne},{"../internals/global":163,"../internals/set-global":232}],237:[function(x,Te,me){var ie=x("../internals/is-pure"),te=x("../internals/shared-store");(Te.exports=function(ae,ne){return te[ae]||(te[ae]=ne!==void 0?ne:{})})("versions",[]).push({version:"3.22.1",mode:ie?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":181,"../internals/shared-store":236}],238:[function(x,Te,me){var ie=x("../internals/an-object"),te=x("../internals/a-constructor"),ae=x("../internals/well-known-symbol"),ne=ae("species");Te.exports=function(oe,he){var re=ie(oe).constructor,se;return re===void 0||(se=ie(re)[ne])==null?he:te(se)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(x,Te,me){var ie=x("../internals/function-uncurry-this"),te=x("../internals/to-integer-or-infinity"),ae=x("../internals/to-string"),ne=x("../internals/require-object-coercible"),oe=ie("".charAt),he=ie("".charCodeAt),re=ie("".slice),se=function(ce){return function(fe,pe){var le=ae(ne(fe)),Se=te(pe),xe=le.length,ge,Me;return Se<0||Se>=xe?ce?"":void 0:(ge=he(le,Se),ge<55296||ge>56319||Se+1===xe||(Me=he(le,Se+1))<56320||Me>57343?ce?oe(le,Se):ge:ce?re(le,Se,Se+2):(ge-55296<<10)+(Me-56320)+65536)}};Te.exports={codeAt:se(!1),charAt:se(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(x,Te,me){var ie=x("../internals/function-name").PROPER,te=x("../internals/fails"),ae=x("../internals/whitespaces"),ne="\u200B\x85\u180E";Te.exports=function(oe){return te(function(){return!!ae[oe]()||ne[oe]()!==ne||ie&&ae[oe].name!==oe})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(x,Te,me){var ie=x("../internals/function-uncurry-this"),te=x("../internals/require-object-coercible"),ae=x("../internals/to-string"),ne=x("../internals/whitespaces"),oe=ie("".replace),he="["+ne+"]",re=RegExp("^"+he+he+"*"),se=RegExp(he+he+"*$"),ce=function(fe){return function(pe){var le=ae(te(pe));return fe&1&&(le=oe(le,re,"")),fe&2&&(le=oe(le,se,"")),le}};Te.exports={start:ce(1),end:ce(2),trim:ce(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(x,Te,me){var ie=x("../internals/function-call"),te=x("../internals/get-built-in"),ae=x("../internals/well-known-symbol"),ne=x("../internals/redefine");Te.exports=function(){var oe=te("Symbol"),he=oe&&oe.prototype,re=he&&he.valueOf,se=ae("toPrimitive");he&&!he[se]&&ne(he,se,function(ce){return ie(re,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/function-apply"),ae=x("../internals/function-bind-context"),ne=x("../internals/is-callable"),oe=x("../internals/has-own-property"),he=x("../internals/fails"),re=x("../internals/html"),se=x("../internals/array-slice"),ce=x("../internals/document-create-element"),fe=x("../internals/validate-arguments-length"),pe=x("../internals/engine-is-ios"),le=x("../internals/engine-is-node"),Se=ie.setImmediate,xe=ie.clearImmediate,ge=ie.process,Me=ie.Dispatch,ye=ie.Function,be=ie.MessageChannel,Fe=ie.String,ke=0,Ie={},Le="onreadystatechange",De,Be,Ue,_e;try{De=ie.location}catch(pt){}var We=function(pt){if(oe(Ie,pt)){var Xe=Ie[pt];delete Ie[pt],Xe()}},Ze=function(pt){return function(){We(pt)}},et=function(pt){We(pt.data)},at=function(pt){ie.postMessage(Fe(pt),De.protocol+"//"+De.host)};(!Se||!xe)&&(Se=function(Xe){fe(arguments.length,1);var Ge=ne(Xe)?Xe:ye(Xe),lt=se(arguments,1);return Ie[++ke]=function(){te(Ge,void 0,lt)},Be(ke),ke},xe=function(Xe){delete Ie[Xe]},le?Be=function(pt){ge.nextTick(Ze(pt))}:Me&&Me.now?Be=function(pt){Me.now(Ze(pt))}:be&&!pe?(Ue=new be,_e=Ue.port2,Ue.port1.onmessage=et,Be=ae(_e.postMessage,_e)):ie.addEventListener&&ne(ie.postMessage)&&!ie.importScripts&&De&&De.protocol!=="file:"&&!he(at)?(Be=at,ie.addEventListener("message",et,!1)):Le in ce("script")?Be=function(pt){re.appendChild(ce("script"))[Le]=function(){re.removeChild(this),We(pt)}}:Be=function(pt){setTimeout(Ze(pt),0)}),Te.exports={set:Se,clear:xe}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(x,Te,me){var ie=x("../internals/function-uncurry-this");Te.exports=ie(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(x,Te,me){var ie=x("../internals/to-integer-or-infinity"),te=Math.max,ae=Math.min;Te.exports=function(ne,oe){var he=ie(ne);return he<0?te(he+oe,0):ae(he,oe)}},{"../internals/to-integer-or-infinity":248}],246:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/to-integer-or-infinity"),ae=x("../internals/to-length"),ne=ie.RangeError;Te.exports=function(oe){if(oe===void 0)return 0;var he=te(oe),re=ae(he);if(he!==re)throw ne("Wrong length or index");return re}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(x,Te,me){var ie=x("../internals/indexed-object"),te=x("../internals/require-object-coercible");Te.exports=function(ae){return ie(te(ae))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(x,Te,me){var ie=Math.ceil,te=Math.floor;Te.exports=function(ae){var ne=+ae;return ne!==ne||ne===0?0:(ne>0?te:ie)(ne)}},{}],249:[function(x,Te,me){var ie=x("../internals/to-integer-or-infinity"),te=Math.min;Te.exports=function(ae){return ae>0?te(ie(ae),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/require-object-coercible"),ae=ie.Object;Te.exports=function(ne){return ae(te(ne))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/to-positive-integer"),ae=ie.RangeError;Te.exports=function(ne,oe){var he=te(ne);if(he%oe)throw ae("Wrong offset");return he}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/to-integer-or-infinity"),ae=ie.RangeError;Te.exports=function(ne){var oe=te(ne);if(oe<0)throw ae("The argument can't be less than 0");return oe}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/function-call"),ae=x("../internals/is-object"),ne=x("../internals/is-symbol"),oe=x("../internals/get-method"),he=x("../internals/ordinary-to-primitive"),re=x("../internals/well-known-symbol"),se=ie.TypeError,ce=re("toPrimitive");Te.exports=function(fe,pe){if(!ae(fe)||ne(fe))return fe;var le=oe(fe,ce),Se;if(le){if(pe===void 0&&(pe="default"),Se=te(le,fe,pe),!ae(Se)||ne(Se))return Se;throw se("Can't convert object to primitive value")}return pe===void 0&&(pe="number"),he(fe,pe)}},{"../internals/function-call":155,"../internals/get-method":161,"../internals/global":163,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/ordinary-to-primitive":211,"../internals/well-known-symbol":268}],254:[function(x,Te,me){var ie=x("../internals/to-primitive"),te=x("../internals/is-symbol");Te.exports=function(ae){var ne=ie(ae,"string");return te(ne)?ne:ne+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(x,Te,me){var ie=x("../internals/well-known-symbol"),te=ie("toStringTag"),ae={};ae[te]="z",Te.exports=String(ae)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/classof"),ae=ie.String;Te.exports=function(ne){if(te(ne)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ae(ne)}},{"../internals/classof":124,"../internals/global":163}],257:[function(x,Te,me){var ie=x("../internals/global"),te=ie.String;Te.exports=function(ae){try{return te(ae)}catch(ne){return"Object"}}},{"../internals/global":163}],258:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/global"),ae=x("../internals/function-call"),ne=x("../internals/descriptors"),oe=x("../internals/typed-array-constructors-require-wrappers"),he=x("../internals/array-buffer-view-core"),re=x("../internals/array-buffer"),se=x("../internals/an-instance"),ce=x("../internals/create-property-descriptor"),fe=x("../internals/create-non-enumerable-property"),pe=x("../internals/is-integral-number"),le=x("../internals/to-length"),Se=x("../internals/to-index"),xe=x("../internals/to-offset"),ge=x("../internals/to-property-key"),Me=x("../internals/has-own-property"),ye=x("../internals/classof"),be=x("../internals/is-object"),Fe=x("../internals/is-symbol"),ke=x("../internals/object-create"),Ie=x("../internals/object-is-prototype-of"),Le=x("../internals/object-set-prototype-of"),De=x("../internals/object-get-own-property-names").f,Be=x("../internals/typed-array-from"),Ue=x("../internals/array-iteration").forEach,_e=x("../internals/set-species"),We=x("../internals/object-define-property"),Ze=x("../internals/object-get-own-property-descriptor"),et=x("../internals/internal-state"),at=x("../internals/inherit-if-required"),pt=et.get,Xe=et.set,Ge=We.f,lt=Ze.f,dt=Math.round,st=te.RangeError,nt=re.ArrayBuffer,rt=nt.prototype,it=re.DataView,gt=he.NATIVE_ARRAY_BUFFER_VIEWS,vt=he.TYPED_ARRAY_CONSTRUCTOR,At=he.TYPED_ARRAY_TAG,Et=he.TypedArray,ut=he.TypedArrayPrototype,Ye=he.aTypedArrayConstructor,Ve=he.isTypedArray,de="BYTES_PER_ELEMENT",Ce="Wrong length",He=function(ot,mt){Ye(ot);for(var Ot=0,xt=mt.length,Wt=new ot(xt);xt>Ot;)Wt[Ot]=mt[Ot++];return Wt},je=function(ot,mt){Ge(ot,mt,{get:function(){return pt(this)[mt]}})},Ae=function(ot){var mt;return Ie(rt,ot)||(mt=ye(ot))=="ArrayBuffer"||mt=="SharedArrayBuffer"},Re=function(ot,mt){return Ve(ot)&&!Fe(mt)&&mt in ot&&pe(+mt)&&mt>=0},ze=function(mt,Ot){return Ot=ge(Ot),Re(mt,Ot)?ce(2,mt[Ot]):lt(mt,Ot)},Qe=function(mt,Ot,xt){return Ot=ge(Ot),Re(mt,Ot)&&be(xt)&&Me(xt,"value")&&!Me(xt,"get")&&!Me(xt,"set")&&!xt.configurable&&(!Me(xt,"writable")||xt.writable)&&(!Me(xt,"enumerable")||xt.enumerable)?(mt[Ot]=xt.value,mt):Ge(mt,Ot,xt)};ne?(gt||(Ze.f=ze,We.f=Qe,je(ut,"buffer"),je(ut,"byteOffset"),je(ut,"byteLength"),je(ut,"length")),ie({target:"Object",stat:!0,forced:!gt},{getOwnPropertyDescriptor:ze,defineProperty:Qe}),Te.exports=function(ot,mt,Ot){var xt=ot.match(/\d+$/)[0]/8,Wt=ot+(Ot?"Clamped":"")+"Array",bn="get"+ot,Ft="set"+ot,Qt=te[Wt],Vt=Qt,yn=Vt&&Vt.prototype,Pt={},zt=function(Tn,Gn){var fr=pt(Tn);return fr.view[bn](Gn*xt+fr.byteOffset,!0)},an=function(Tn,Gn,fr){var Tr=pt(Tn);Ot&&(fr=(fr=dt(fr))<0?0:fr>255?255:fr&255),Tr.view[Ft](Gn*xt+Tr.byteOffset,fr,!0)},gn=function(Tn,Gn){Ge(Tn,Gn,{get:function(){return zt(this,Gn)},set:function(fr){return an(this,Gn,fr)},enumerable:!0})};gt?oe&&(Vt=mt(function(Tn,Gn,fr,Tr){return se(Tn,yn),at(function(){return be(Gn)?Ae(Gn)?Tr!==void 0?new Qt(Gn,xe(fr,xt),Tr):fr!==void 0?new Qt(Gn,xe(fr,xt)):new Qt(Gn):Ve(Gn)?He(Vt,Gn):ae(Be,Vt,Gn):new Qt(Se(Gn))}(),Tn,Vt)}),Le&&Le(Vt,Et),Ue(De(Qt),function(Tn){Tn in Vt||fe(Vt,Tn,Qt[Tn])}),Vt.prototype=yn):(Vt=mt(function(Tn,Gn,fr,Tr){se(Tn,yn);var Wr=0,ti=0,Dr,ri,Mi;if(!be(Gn))Mi=Se(Gn),ri=Mi*xt,Dr=new nt(ri);else if(Ae(Gn)){Dr=Gn,ti=xe(fr,xt);var $r=Gn.byteLength;if(Tr===void 0){if($r%xt||(ri=$r-ti,ri<0))throw st(Ce)}else if(ri=le(Tr)*xt,ri+ti>$r)throw st(Ce);Mi=ri/xt}else return Ve(Gn)?He(Vt,Gn):ae(Be,Vt,Gn);for(Xe(Tn,{buffer:Dr,byteOffset:ti,byteLength:ri,length:Mi,view:new it(Dr)});Wr<Mi;)gn(Tn,Wr++)}),Le&&Le(Vt,Et),yn=Vt.prototype=ke(ut)),yn.constructor!==Vt&&fe(yn,"constructor",Vt),fe(yn,vt,Vt),At&&fe(yn,At,Wt),Pt[Wt]=Vt,ie({global:!0,forced:Vt!=Qt,sham:!gt},Pt),de in Vt||fe(Vt,de,xt),de in yn||fe(yn,de,xt),_e(Wt)}):Te.exports=function(){}},{"../internals/an-instance":100,"../internals/array-buffer":104,"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-integral-number":179,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/object-create":196,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/set-species":233,"../internals/to-index":246,"../internals/to-length":249,"../internals/to-offset":251,"../internals/to-property-key":254,"../internals/typed-array-constructors-require-wrappers":259,"../internals/typed-array-from":261}],259:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/fails"),ae=x("../internals/check-correctness-of-iteration"),ne=x("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,oe=ie.ArrayBuffer,he=ie.Int8Array;Te.exports=!ne||!te(function(){he(1)})||!te(function(){new he(-1)})||!ae(function(re){new he,new he(null),new he(1.5),new he(re)},!0)||te(function(){return new he(new oe(2),1,void 0).length!==1})},{"../internals/array-buffer-view-core":103,"../internals/check-correctness-of-iteration":122,"../internals/fails":150,"../internals/global":163}],260:[function(x,Te,me){var ie=x("../internals/array-from-constructor-and-list"),te=x("../internals/typed-array-species-constructor");Te.exports=function(ae,ne){return ie(te(ae),ne)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(x,Te,me){var ie=x("../internals/function-bind-context"),te=x("../internals/function-call"),ae=x("../internals/a-constructor"),ne=x("../internals/to-object"),oe=x("../internals/length-of-array-like"),he=x("../internals/get-iterator"),re=x("../internals/get-iterator-method"),se=x("../internals/is-array-iterator-method"),ce=x("../internals/array-buffer-view-core").aTypedArrayConstructor;Te.exports=function(pe){var le=ae(this),Se=ne(pe),xe=arguments.length,ge=xe>1?arguments[1]:void 0,Me=ge!==void 0,ye=re(Se),be,Fe,ke,Ie,Le,De;if(ye&&!se(ye))for(Le=he(Se,ye),De=Le.next,Se=[];!(Ie=te(De,Le)).done;)Se.push(Ie.value);for(Me&&xe>2&&(ge=ie(ge,arguments[2])),Fe=oe(Se),ke=new(ce(le))(Fe),be=0;Fe>be;be++)ke[be]=Me?ge(Se[be],be):Se[be];return ke}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(x,Te,me){var ie=x("../internals/array-buffer-view-core"),te=x("../internals/species-constructor"),ae=ie.TYPED_ARRAY_CONSTRUCTOR,ne=ie.aTypedArrayConstructor;Te.exports=function(oe){return ne(te(oe,oe[ae]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(x,Te,me){var ie=x("../internals/function-uncurry-this"),te=0,ae=Math.random(),ne=ie(1 .toString);Te.exports=function(oe){return"Symbol("+(oe===void 0?"":oe)+")_"+ne(++te+ae,36)}},{"../internals/function-uncurry-this":157}],264:[function(x,Te,me){var ie=x("../internals/native-symbol");Te.exports=ie&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(x,Te,me){var ie=x("../internals/descriptors"),te=x("../internals/fails");Te.exports=ie&&te(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(x,Te,me){var ie=x("../internals/global"),te=ie.TypeError;Te.exports=function(ae,ne){if(ae<ne)throw te("Not enough arguments");return ae}},{"../internals/global":163}],267:[function(x,Te,me){var ie=x("../internals/well-known-symbol");me.f=ie},{"../internals/well-known-symbol":268}],268:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/shared"),ae=x("../internals/has-own-property"),ne=x("../internals/uid"),oe=x("../internals/native-symbol"),he=x("../internals/use-symbol-as-uid"),re=te("wks"),se=ie.Symbol,ce=se&&se.for,fe=he?se:se&&se.withoutSetter||ne;Te.exports=function(pe){if(!ae(re,pe)||!(oe||typeof re[pe]=="string")){var le="Symbol."+pe;oe&&ae(se,pe)?re[pe]=se[pe]:he&&ce?re[pe]=ce(le):re[pe]=fe(le)}return re[pe]}},{"../internals/global":163,"../internals/has-own-property":164,"../internals/native-symbol":191,"../internals/shared":237,"../internals/uid":263,"../internals/use-symbol-as-uid":264}],269:[function(x,Te,me){Te.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},{}],270:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/global"),ae=x("../internals/array-buffer"),ne=x("../internals/set-species"),oe="ArrayBuffer",he=ae[oe],re=te[oe];ie({global:!0,forced:re!==he},{ArrayBuffer:he}),ne(oe)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/function-uncurry-this"),ae=x("../internals/fails"),ne=x("../internals/array-buffer"),oe=x("../internals/an-object"),he=x("../internals/to-absolute-index"),re=x("../internals/to-length"),se=x("../internals/species-constructor"),ce=ne.ArrayBuffer,fe=ne.DataView,pe=fe.prototype,le=te(ce.prototype.slice),Se=te(pe.getUint8),xe=te(pe.setUint8),ge=ae(function(){return!new ce(2).slice(1,void 0).byteLength});ie({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:ge},{slice:function(ye,be){if(le&&be===void 0)return le(oe(this),ye);for(var Fe=oe(this).byteLength,ke=he(ye,Fe),Ie=he(be===void 0?Fe:be,Fe),Le=new(se(this,ce))(re(Ie-ke)),De=new fe(this),Be=new fe(Le),Ue=0;ke<Ie;)xe(Be,Ue++,Se(De,ke++));return Le}})},{"../internals/an-object":101,"../internals/array-buffer":104,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/species-constructor":238,"../internals/to-absolute-index":245,"../internals/to-length":249}],272:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/global"),ae=x("../internals/fails"),ne=x("../internals/is-array"),oe=x("../internals/is-object"),he=x("../internals/to-object"),re=x("../internals/length-of-array-like"),se=x("../internals/create-property"),ce=x("../internals/array-species-create"),fe=x("../internals/array-method-has-species-support"),pe=x("../internals/well-known-symbol"),le=x("../internals/engine-v8-version"),Se=pe("isConcatSpreadable"),xe=9007199254740991,ge="Maximum allowed index exceeded",Me=te.TypeError,ye=le>=51||!ae(function(){var Ie=[];return Ie[Se]=!1,Ie.concat()[0]!==Ie}),be=fe("concat"),Fe=function(Ie){if(!oe(Ie))return!1;var Le=Ie[Se];return Le!==void 0?!!Le:ne(Ie)},ke=!ye||!be;ie({target:"Array",proto:!0,forced:ke},{concat:function(Le){var De=he(this),Be=ce(De,0),Ue=0,_e,We,Ze,et,at;for(_e=-1,Ze=arguments.length;_e<Ze;_e++)if(at=_e===-1?De:arguments[_e],Fe(at)){if(et=re(at),Ue+et>xe)throw Me(ge);for(We=0;We<et;We++,Ue++)We in at&&se(Be,Ue,at[We])}else{if(Ue>=xe)throw Me(ge);se(Be,Ue++,at)}return Be.length=Ue,Be}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(x,Te,me){var ie=x("../internals/export"),te=x("../internals/array-fill"),ae=x("../internals/add-to-unscopables");ie({target:"Array",proto:!0},{fill:te}),ae("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/array-iteration").filter,ae=x("../internals/array-method-has-species-support"),ne=ae("filter");ie({target:"Array",proto:!0,forced:!ne},{filter:function(he){return te(this,he,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/array-iteration").find,ae=x("../internals/add-to-unscopables"),ne="find",oe=!0;ne in[]&&Array(1)[ne](function(){oe=!1}),ie({target:"Array",proto:!0,forced:oe},{find:function(re){return te(this,re,arguments.length>1?arguments[1]:void 0)}}),ae(ne)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(x,Te,me){var ie=x("../internals/export"),te=x("../internals/array-from"),ae=x("../internals/check-correctness-of-iteration"),ne=!ae(function(oe){Array.from(oe)});ie({target:"Array",stat:!0,forced:ne},{from:te})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/array-includes").includes,ae=x("../internals/add-to-unscopables");ie({target:"Array",proto:!0},{includes:function(oe){return te(this,oe,arguments.length>1?arguments[1]:void 0)}}),ae("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(x,Te,me){"use strict";var ie=x("../internals/to-indexed-object"),te=x("../internals/add-to-unscopables"),ae=x("../internals/iterators"),ne=x("../internals/internal-state"),oe=x("../internals/object-define-property").f,he=x("../internals/define-iterator"),re=x("../internals/is-pure"),se=x("../internals/descriptors"),ce="Array Iterator",fe=ne.set,pe=ne.getterFor(ce);Te.exports=he(Array,"Array",function(Se,xe){fe(this,{type:ce,target:ie(Se),index:0,kind:xe})},function(){var Se=pe(this),xe=Se.target,ge=Se.kind,Me=Se.index++;return!xe||Me>=xe.length?(Se.target=void 0,{value:void 0,done:!0}):ge=="keys"?{value:Me,done:!1}:ge=="values"?{value:xe[Me],done:!1}:{value:[Me,xe[Me]],done:!1}},"values");var le=ae.Arguments=ae.Array;if(te("keys"),te("values"),te("entries"),!re&&se&&le.name!=="values")try{oe(le,"name",{value:"values"})}catch(Se){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/function-uncurry-this"),ae=x("../internals/indexed-object"),ne=x("../internals/to-indexed-object"),oe=x("../internals/array-method-is-strict"),he=te([].join),re=ae!=Object,se=oe("join",",");ie({target:"Array",proto:!0,forced:re||!se},{join:function(fe){return he(ne(this),fe===void 0?",":fe)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/array-iteration").map,ae=x("../internals/array-method-has-species-support"),ne=ae("map");ie({target:"Array",proto:!0,forced:!ne},{map:function(he){return te(this,he,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/global"),ae=x("../internals/is-array"),ne=x("../internals/is-constructor"),oe=x("../internals/is-object"),he=x("../internals/to-absolute-index"),re=x("../internals/length-of-array-like"),se=x("../internals/to-indexed-object"),ce=x("../internals/create-property"),fe=x("../internals/well-known-symbol"),pe=x("../internals/array-method-has-species-support"),le=x("../internals/array-slice"),Se=pe("slice"),xe=fe("species"),ge=te.Array,Me=Math.max;ie({target:"Array",proto:!0,forced:!Se},{slice:function(be,Fe){var ke=se(this),Ie=re(ke),Le=he(be,Ie),De=he(Fe===void 0?Ie:Fe,Ie),Be,Ue,_e;if(ae(ke)&&(Be=ke.constructor,ne(Be)&&(Be===ge||ae(Be.prototype))?Be=void 0:oe(Be)&&(Be=Be[xe],Be===null&&(Be=void 0)),Be===ge||Be===void 0))return le(ke,Le,De);for(Ue=new(Be===void 0?ge:Be)(Me(De-Le,0)),_e=0;Le<De;Le++,_e++)Le in ke&&ce(Ue,_e,ke[Le]);return Ue.length=_e,Ue}})},{"../internals/array-method-has-species-support":113,"../internals/array-slice":117,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247,"../internals/well-known-symbol":268}],282:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/function-uncurry-this"),ae=x("../internals/a-callable"),ne=x("../internals/to-object"),oe=x("../internals/length-of-array-like"),he=x("../internals/to-string"),re=x("../internals/fails"),se=x("../internals/array-sort"),ce=x("../internals/array-method-is-strict"),fe=x("../internals/engine-ff-version"),pe=x("../internals/engine-is-ie-or-edge"),le=x("../internals/engine-v8-version"),Se=x("../internals/engine-webkit-version"),xe=[],ge=te(xe.sort),Me=te(xe.push),ye=re(function(){xe.sort(void 0)}),be=re(function(){xe.sort(null)}),Fe=ce("sort"),ke=!re(function(){if(le)return le<70;if(!(fe&&fe>3)){if(pe)return!0;if(Se)return Se<603;var De="",Be,Ue,_e,We;for(Be=65;Be<76;Be++){switch(Ue=String.fromCharCode(Be),Be){case 66:case 69:case 70:case 72:_e=3;break;case 68:case 71:_e=4;break;default:_e=2}for(We=0;We<47;We++)xe.push({k:Ue+We,v:_e})}for(xe.sort(function(Ze,et){return et.v-Ze.v}),We=0;We<xe.length;We++)Ue=xe[We].k.charAt(0),De.charAt(De.length-1)!==Ue&&(De+=Ue);return De!=="DGBEFHACIJK"}}),Ie=ye||!be||!Fe||!ke,Le=function(De){return function(Be,Ue){return Ue===void 0?-1:Be===void 0?1:De!==void 0?+De(Be,Ue)||0:he(Be)>he(Ue)?1:-1}};ie({target:"Array",proto:!0,forced:Ie},{sort:function(Be){Be!==void 0&&ae(Be);var Ue=ne(this);if(ke)return Be===void 0?ge(Ue):ge(Ue,Be);var _e=[],We=oe(Ue),Ze,et;for(et=0;et<We;et++)et in Ue&&Me(_e,Ue[et]);for(se(_e,Le(Be)),Ze=_e.length,et=0;et<Ze;)Ue[et]=_e[et++];for(;et<We;)delete Ue[et++];return Ue}})},{"../internals/a-callable":95,"../internals/array-method-is-strict":114,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-string":256}],283:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/global"),ae=x("../internals/to-absolute-index"),ne=x("../internals/to-integer-or-infinity"),oe=x("../internals/length-of-array-like"),he=x("../internals/to-object"),re=x("../internals/array-species-create"),se=x("../internals/create-property"),ce=x("../internals/array-method-has-species-support"),fe=ce("splice"),pe=te.TypeError,le=Math.max,Se=Math.min,xe=9007199254740991,ge="Maximum allowed length exceeded";ie({target:"Array",proto:!0,forced:!fe},{splice:function(ye,be){var Fe=he(this),ke=oe(Fe),Ie=ae(ye,ke),Le=arguments.length,De,Be,Ue,_e,We,Ze;if(Le===0?De=Be=0:Le===1?(De=0,Be=ke-Ie):(De=Le-2,Be=Se(le(ne(be),0),ke-Ie)),ke+De-Be>xe)throw pe(ge);for(Ue=re(Fe,Be),_e=0;_e<Be;_e++)We=Ie+_e,We in Fe&&se(Ue,_e,Fe[We]);if(Ue.length=Be,De<Be){for(_e=Ie;_e<ke-Be;_e++)We=_e+Be,Ze=_e+De,We in Fe?Fe[Ze]=Fe[We]:delete Fe[Ze];for(_e=ke;_e>ke-Be+De;_e--)delete Fe[_e-1]}else if(De>Be)for(_e=ke-Be;_e>Ie;_e--)We=_e+Be-1,Ze=_e+De-1,We in Fe?Fe[Ze]=Fe[We]:delete Fe[Ze];for(_e=0;_e<De;_e++)Fe[_e+Ie]=arguments[_e+2];return Fe.length=ke-Be+De,Ue}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-integer-or-infinity":248,"../internals/to-object":250}],284:[function(x,Te,me){var ie=x("../internals/descriptors"),te=x("../internals/function-name").EXISTS,ae=x("../internals/function-uncurry-this"),ne=x("../internals/object-define-property").f,oe=Function.prototype,he=ae(oe.toString),re=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,se=ae(re.exec),ce="name";ie&&!te&&ne(oe,ce,{configurable:!0,get:function(){try{return se(re,he(this))[1]}catch(fe){return""}}})},{"../internals/descriptors":134,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/object-define-property":198}],285:[function(x,Te,me){var ie=x("../internals/export"),te=x("../internals/get-built-in"),ae=x("../internals/function-apply"),ne=x("../internals/function-call"),oe=x("../internals/function-uncurry-this"),he=x("../internals/fails"),re=x("../internals/is-array"),se=x("../internals/is-callable"),ce=x("../internals/is-object"),fe=x("../internals/is-symbol"),pe=x("../internals/array-slice"),le=x("../internals/native-symbol"),Se=te("JSON","stringify"),xe=oe(/./.exec),ge=oe("".charAt),Me=oe("".charCodeAt),ye=oe("".replace),be=oe(1 .toString),Fe=/[\uD800-\uDFFF]/g,ke=/^[\uD800-\uDBFF]$/,Ie=/^[\uDC00-\uDFFF]$/,Le=!le||he(function(){var _e=te("Symbol")();return Se([_e])!="[null]"||Se({a:_e})!="{}"||Se(Object(_e))!="{}"}),De=he(function(){return Se("\uDF06\uD834")!=='"\\udf06\\ud834"'||Se("\uDEAD")!=='"\\udead"'}),Be=function(_e,We){var Ze=pe(arguments),et=We;if(!(!ce(We)&&_e===void 0||fe(_e)))return re(We)||(We=function(at,pt){if(se(et)&&(pt=ne(et,this,at,pt)),!fe(pt))return pt}),Ze[1]=We,ae(Se,null,Ze)},Ue=function(_e,We,Ze){var et=ge(Ze,We-1),at=ge(Ze,We+1);return xe(ke,_e)&&!xe(Ie,at)||xe(Ie,_e)&&!xe(ke,et)?"\\u"+be(Me(_e,0),16):_e};Se&&ie({target:"JSON",stat:!0,forced:Le||De},{stringify:function(We,Ze,et){var at=pe(arguments),pt=ae(Le?Be:Se,null,at);return De&&typeof pt=="string"?ye(pt,Fe,Ue):pt}})},{"../internals/array-slice":117,"../internals/export":149,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/is-array":175,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/native-symbol":191}],286:[function(x,Te,me){"use strict";var ie=x("../internals/descriptors"),te=x("../internals/global"),ae=x("../internals/function-uncurry-this"),ne=x("../internals/is-forced"),oe=x("../internals/redefine"),he=x("../internals/has-own-property"),re=x("../internals/inherit-if-required"),se=x("../internals/object-is-prototype-of"),ce=x("../internals/is-symbol"),fe=x("../internals/to-primitive"),pe=x("../internals/fails"),le=x("../internals/object-get-own-property-names").f,Se=x("../internals/object-get-own-property-descriptor").f,xe=x("../internals/object-define-property").f,ge=x("../internals/this-number-value"),Me=x("../internals/string-trim").trim,ye="Number",be=te[ye],Fe=be.prototype,ke=te.TypeError,Ie=ae("".slice),Le=ae("".charCodeAt),De=function(et){var at=fe(et,"number");return typeof at=="bigint"?at:Be(at)},Be=function(et){var at=fe(et,"number"),pt,Xe,Ge,lt,dt,st,nt,rt;if(ce(at))throw ke("Cannot convert a Symbol value to a number");if(typeof at=="string"&&at.length>2){if(at=Me(at),pt=Le(at,0),pt===43||pt===45){if(Xe=Le(at,2),Xe===88||Xe===120)return NaN}else if(pt===48){switch(Le(at,1)){case 66:case 98:Ge=2,lt=49;break;case 79:case 111:Ge=8,lt=55;break;default:return+at}for(dt=Ie(at,2),st=dt.length,nt=0;nt<st;nt++)if(rt=Le(dt,nt),rt<48||rt>lt)return NaN;return parseInt(dt,Ge)}}return+at};if(ne(ye,!be(" 0o1")||!be("0b1")||be("+0x1"))){for(var Ue=function(at){var pt=arguments.length<1?0:be(De(at)),Xe=this;return se(Fe,Xe)&&pe(function(){ge(Xe)})?re(Object(pt),Xe,Ue):pt},_e=ie?le(be):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),We=0,Ze;_e.length>We;We++)he(be,Ze=_e[We])&&!he(Ue,Ze)&&xe(Ue,Ze,Se(be,Ze));Ue.prototype=Fe,Fe.constructor=Ue,oe(te,ye,Ue)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(x,Te,me){var ie=x("../internals/export"),te=x("../internals/object-assign");ie({target:"Object",stat:!0,forced:Object.assign!==te},{assign:te})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(x,Te,me){var ie=x("../internals/export"),te=x("../internals/object-to-array").entries;ie({target:"Object",stat:!0},{entries:function(ne){return te(ne)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(x,Te,me){var ie=x("../internals/export"),te=x("../internals/native-symbol"),ae=x("../internals/fails"),ne=x("../internals/object-get-own-property-symbols"),oe=x("../internals/to-object"),he=!te||ae(function(){ne.f(1)});ie({target:"Object",stat:!0,forced:he},{getOwnPropertySymbols:function(se){var ce=ne.f;return ce?ce(oe(se)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(x,Te,me){var ie=x("../internals/export"),te=x("../internals/to-object"),ae=x("../internals/object-keys"),ne=x("../internals/fails"),oe=ne(function(){ae(1)});ie({target:"Object",stat:!0,forced:oe},{keys:function(re){return ae(te(re))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(x,Te,me){var ie=x("../internals/to-string-tag-support"),te=x("../internals/redefine"),ae=x("../internals/object-to-string");ie||te(Object.prototype,"toString",ae,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/function-call"),ae=x("../internals/a-callable"),ne=x("../internals/new-promise-capability"),oe=x("../internals/perform"),he=x("../internals/iterate"),re=x("../internals/promise-statics-incorrect-iteration");ie({target:"Promise",stat:!0,forced:re},{all:function(ce){var fe=this,pe=ne.f(fe),le=pe.resolve,Se=pe.reject,xe=oe(function(){var ge=ae(fe.resolve),Me=[],ye=0,be=1;he(ce,function(Fe){var ke=ye++,Ie=!1;be++,te(ge,fe,Fe).then(function(Le){Ie||(Ie=!0,Me[ke]=Le,--be||le(Me))},Se)}),--be||le(Me)});return xe.error&&Se(xe.value),pe.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/is-pure"),ae=x("../internals/promise-constructor-detection").CONSTRUCTOR,ne=x("../internals/promise-native-constructor"),oe=x("../internals/get-built-in"),he=x("../internals/is-callable"),re=x("../internals/redefine"),se=ne&&ne.prototype;if(ie({target:"Promise",proto:!0,forced:ae,real:!0},{catch:function(fe){return this.then(void 0,fe)}}),!te&&he(ne)){var ce=oe("Promise").prototype.catch;se.catch!==ce&&re(se,"catch",ce,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/is-pure"),ae=x("../internals/engine-is-node"),ne=x("../internals/global"),oe=x("../internals/function-call"),he=x("../internals/redefine"),re=x("../internals/redefine-all"),se=x("../internals/object-set-prototype-of"),ce=x("../internals/set-to-string-tag"),fe=x("../internals/set-species"),pe=x("../internals/a-callable"),le=x("../internals/is-callable"),Se=x("../internals/is-object"),xe=x("../internals/an-instance"),ge=x("../internals/species-constructor"),Me=x("../internals/task").set,ye=x("../internals/microtask"),be=x("../internals/host-report-errors"),Fe=x("../internals/perform"),ke=x("../internals/queue"),Ie=x("../internals/internal-state"),Le=x("../internals/promise-native-constructor"),De=x("../internals/promise-constructor-detection"),Be=x("../internals/new-promise-capability"),Ue="Promise",_e=De.CONSTRUCTOR,We=De.REJECTION_EVENT,Ze=De.SUBCLASSING,et=Ie.getterFor(Ue),at=Ie.set,pt=Le&&Le.prototype,Xe=Le,Ge=pt,lt=ne.TypeError,dt=ne.document,st=ne.process,nt=Be.f,rt=nt,it=!!(dt&&dt.createEvent&&ne.dispatchEvent),gt="unhandledrejection",vt="rejectionhandled",At=0,Et=1,ut=2,Ye=1,Ve=2,de,Ce,He,je,Ae=function(Ft){var Qt;return Se(Ft)&&le(Qt=Ft.then)?Qt:!1},Re=function(Ft,Qt){var Vt=Qt.value,yn=Qt.state==Et,Pt=yn?Ft.ok:Ft.fail,zt=Ft.resolve,an=Ft.reject,gn=Ft.domain,Tn,Gn,fr;try{Pt?(yn||(Qt.rejection===Ve&&Ot(Qt),Qt.rejection=Ye),Pt===!0?Tn=Vt:(gn&&gn.enter(),Tn=Pt(Vt),gn&&(gn.exit(),fr=!0)),Tn===Ft.promise?an(lt("Promise-chain cycle")):(Gn=Ae(Tn))?oe(Gn,Tn,zt,an):zt(Tn)):an(Vt)}catch(Tr){gn&&!fr&&gn.exit(),an(Tr)}},ze=function(Ft,Qt){Ft.notified||(Ft.notified=!0,ye(function(){for(var Vt=Ft.reactions,yn;yn=Vt.get();)Re(yn,Ft);Ft.notified=!1,Qt&&!Ft.rejection&&ot(Ft)}))},Qe=function(Ft,Qt,Vt){var yn,Pt;it?(yn=dt.createEvent("Event"),yn.promise=Qt,yn.reason=Vt,yn.initEvent(Ft,!1,!0),ne.dispatchEvent(yn)):yn={promise:Qt,reason:Vt},!We&&(Pt=ne["on"+Ft])?Pt(yn):Ft===gt&&be("Unhandled promise rejection",Vt)},ot=function(Ft){oe(Me,ne,function(){var Qt=Ft.facade,Vt=Ft.value,yn=mt(Ft),Pt;if(yn&&(Pt=Fe(function(){ae?st.emit("unhandledRejection",Vt,Qt):Qe(gt,Qt,Vt)}),Ft.rejection=ae||mt(Ft)?Ve:Ye,Pt.error))throw Pt.value})},mt=function(Ft){return Ft.rejection!==Ye&&!Ft.parent},Ot=function(Ft){oe(Me,ne,function(){var Qt=Ft.facade;ae?st.emit("rejectionHandled",Qt):Qe(vt,Qt,Ft.value)})},xt=function(Ft,Qt,Vt){return function(yn){Ft(Qt,yn,Vt)}},Wt=function(Ft,Qt,Vt){Ft.done||(Ft.done=!0,Vt&&(Ft=Vt),Ft.value=Qt,Ft.state=ut,ze(Ft,!0))},bn=function(Ft,Qt,Vt){if(!Ft.done){Ft.done=!0,Vt&&(Ft=Vt);try{if(Ft.facade===Qt)throw lt("Promise can't be resolved itself");var yn=Ae(Qt);yn?ye(function(){var Pt={done:!1};try{oe(yn,Qt,xt(bn,Pt,Ft),xt(Wt,Pt,Ft))}catch(zt){Wt(Pt,zt,Ft)}}):(Ft.value=Qt,Ft.state=Et,ze(Ft,!1))}catch(Pt){Wt({done:!1},Pt,Ft)}}};if(_e&&(Xe=function(Qt){xe(this,Ge),pe(Qt),oe(de,this);var Vt=et(this);try{Qt(xt(bn,Vt),xt(Wt,Vt))}catch(yn){Wt(Vt,yn)}},Ge=Xe.prototype,de=function(Qt){at(this,{type:Ue,done:!1,notified:!1,parent:!1,reactions:new ke,rejection:!1,state:At,value:void 0})},de.prototype=re(Ge,{then:function(Qt,Vt){var yn=et(this),Pt=nt(ge(this,Xe));return yn.parent=!0,Pt.ok=le(Qt)?Qt:!0,Pt.fail=le(Vt)&&Vt,Pt.domain=ae?st.domain:void 0,yn.state==At?yn.reactions.add(Pt):ye(function(){Re(Pt,yn)}),Pt.promise}}),Ce=function(){var Ft=new de,Qt=et(Ft);this.promise=Ft,this.resolve=xt(bn,Qt),this.reject=xt(Wt,Qt)},Be.f=nt=function(Ft){return Ft===Xe||Ft===He?new Ce(Ft):rt(Ft)},!te&&le(Le)&&pt!==Object.prototype)){je=pt.then,Ze||he(pt,"then",function(Qt,Vt){var yn=this;return new Xe(function(Pt,zt){oe(je,yn,Pt,zt)}).then(Qt,Vt)},{unsafe:!0});try{delete pt.constructor}catch(Ft){}se&&se(pt,Ge)}ie({global:!0,wrap:!0,forced:_e},{Promise:Xe}),ce(Xe,Ue,!1,!0),fe(Ue)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(x,Te,me){x("../modules/es.promise.constructor"),x("../modules/es.promise.all"),x("../modules/es.promise.catch"),x("../modules/es.promise.race"),x("../modules/es.promise.reject"),x("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/function-call"),ae=x("../internals/a-callable"),ne=x("../internals/new-promise-capability"),oe=x("../internals/perform"),he=x("../internals/iterate"),re=x("../internals/promise-statics-incorrect-iteration");ie({target:"Promise",stat:!0,forced:re},{race:function(ce){var fe=this,pe=ne.f(fe),le=pe.reject,Se=oe(function(){var xe=ae(fe.resolve);he(ce,function(ge){te(xe,fe,ge).then(pe.resolve,le)})});return Se.error&&le(Se.value),pe.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],297:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/function-call"),ae=x("../internals/new-promise-capability"),ne=x("../internals/promise-constructor-detection").CONSTRUCTOR;ie({target:"Promise",stat:!0,forced:ne},{reject:function(he){var re=ae.f(this);return te(re.reject,void 0,he),re.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/get-built-in"),ae=x("../internals/is-pure"),ne=x("../internals/promise-native-constructor"),oe=x("../internals/promise-constructor-detection").CONSTRUCTOR,he=x("../internals/promise-resolve"),re=te("Promise"),se=ae&&!oe;ie({target:"Promise",stat:!0,forced:ae||oe},{resolve:function(fe){return he(se&&this===re?ne:this,fe)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(x,Te,me){var ie=x("../internals/descriptors"),te=x("../internals/global"),ae=x("../internals/function-uncurry-this"),ne=x("../internals/is-forced"),oe=x("../internals/inherit-if-required"),he=x("../internals/create-non-enumerable-property"),re=x("../internals/object-get-own-property-names").f,se=x("../internals/object-is-prototype-of"),ce=x("../internals/is-regexp"),fe=x("../internals/to-string"),pe=x("../internals/regexp-get-flags"),le=x("../internals/regexp-sticky-helpers"),Se=x("../internals/proxy-accessor"),xe=x("../internals/redefine"),ge=x("../internals/fails"),Me=x("../internals/has-own-property"),ye=x("../internals/internal-state").enforce,be=x("../internals/set-species"),Fe=x("../internals/well-known-symbol"),ke=x("../internals/regexp-unsupported-dot-all"),Ie=x("../internals/regexp-unsupported-ncg"),Le=Fe("match"),De=te.RegExp,Be=De.prototype,Ue=te.SyntaxError,_e=ae(Be.exec),We=ae("".charAt),Ze=ae("".replace),et=ae("".indexOf),at=ae("".slice),pt=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Xe=/a/g,Ge=/a/g,lt=new De(Xe)!==Xe,dt=le.MISSED_STICKY,st=le.UNSUPPORTED_Y,nt=ie&&(!lt||dt||ke||Ie||ge(function(){return Ge[Le]=!1,De(Xe)!=Xe||De(Ge)==Ge||De(Xe,"i")!="/a/i"})),rt=function(Et){for(var ut=Et.length,Ye=0,Ve="",de=!1,Ce;Ye<=ut;Ye++){if(Ce=We(Et,Ye),Ce==="\\"){Ve+=Ce+We(Et,++Ye);continue}!de&&Ce==="."?Ve+="[\\s\\S]":(Ce==="["?de=!0:Ce==="]"&&(de=!1),Ve+=Ce)}return Ve},it=function(Et){for(var ut=Et.length,Ye=0,Ve="",de=[],Ce={},He=!1,je=!1,Ae=0,Re="",ze;Ye<=ut;Ye++){if(ze=We(Et,Ye),ze==="\\")ze=ze+We(Et,++Ye);else if(ze==="]")He=!1;else if(!He)switch(!0){case ze==="[":He=!0;break;case ze==="(":_e(pt,at(Et,Ye+1))&&(Ye+=2,je=!0),Ve+=ze,Ae++;continue;case(ze===">"&&je):if(Re===""||Me(Ce,Re))throw new Ue("Invalid capture group name");Ce[Re]=!0,de[de.length]=[Re,Ae],je=!1,Re="";continue}je?Re+=ze:Ve+=ze}return[Ve,de]};if(ne("RegExp",nt)){for(var gt=function(ut,Ye){var Ve=se(Be,this),de=ce(ut),Ce=Ye===void 0,He=[],je=ut,Ae,Re,ze,Qe,ot,mt;if(!Ve&&de&&Ce&&ut.constructor===gt)return ut;if((de||se(Be,ut))&&(ut=ut.source,Ce&&(Ye=pe(je))),ut=ut===void 0?"":fe(ut),Ye=Ye===void 0?"":fe(Ye),je=ut,ke&&"dotAll"in Xe&&(Re=!!Ye&&et(Ye,"s")>-1,Re&&(Ye=Ze(Ye,/s/g,""))),Ae=Ye,dt&&"sticky"in Xe&&(ze=!!Ye&&et(Ye,"y")>-1,ze&&st&&(Ye=Ze(Ye,/y/g,""))),Ie&&(Qe=it(ut),ut=Qe[0],He=Qe[1]),ot=oe(De(ut,Ye),Ve?this:Be,gt),(Re||ze||He.length)&&(mt=ye(ot),Re&&(mt.dotAll=!0,mt.raw=gt(rt(ut),Ae)),ze&&(mt.sticky=!0),He.length&&(mt.groups=He)),ut!==je)try{he(ot,"source",je===""?"(?:)":je)}catch(Ot){}return ot},vt=re(De),At=0;vt.length>At;)Se(gt,De,vt[At++]);Be.constructor=gt,gt.prototype=Be,xe(te,"RegExp",gt)}be("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/regexp-exec");ie({target:"RegExp",proto:!0,forced:/./.exec!==te},{exec:te})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(x,Te,me){"use strict";var ie=x("../internals/function-name").PROPER,te=x("../internals/redefine"),ae=x("../internals/an-object"),ne=x("../internals/to-string"),oe=x("../internals/fails"),he=x("../internals/regexp-get-flags"),re="toString",se=RegExp.prototype,ce=se[re],fe=oe(function(){return ce.call({source:"a",flags:"b"})!="/a/b"}),pe=ie&&ce.name!=re;(fe||pe)&&te(RegExp.prototype,re,function(){var Se=ae(this),xe=ne(Se.source),ge=ne(he(Se));return"/"+xe+"/"+ge},{unsafe:!0})},{"../internals/an-object":101,"../internals/fails":150,"../internals/function-name":156,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/to-string":256}],302:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/function-uncurry-this"),ae=x("../internals/not-a-regexp"),ne=x("../internals/require-object-coercible"),oe=x("../internals/to-string"),he=x("../internals/correct-is-regexp-logic"),re=te("".indexOf);ie({target:"String",proto:!0,forced:!he("includes")},{includes:function(ce){return!!~re(oe(ne(this)),oe(ae(ce)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(x,Te,me){"use strict";var ie=x("../internals/string-multibyte").charAt,te=x("../internals/to-string"),ae=x("../internals/internal-state"),ne=x("../internals/define-iterator"),oe="String Iterator",he=ae.set,re=ae.getterFor(oe);ne(String,"String",function(se){he(this,{type:oe,string:te(se),index:0})},function(){var ce=re(this),fe=ce.string,pe=ce.index,le;return pe>=fe.length?{value:void 0,done:!0}:(le=ie(fe,pe),ce.index+=le.length,{value:le,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(x,Te,me){"use strict";var ie=x("../internals/function-call"),te=x("../internals/fix-regexp-well-known-symbol-logic"),ae=x("../internals/an-object"),ne=x("../internals/to-length"),oe=x("../internals/to-string"),he=x("../internals/require-object-coercible"),re=x("../internals/get-method"),se=x("../internals/advance-string-index"),ce=x("../internals/regexp-exec-abstract");te("match",function(fe,pe,le){return[function(xe){var ge=he(this),Me=xe==null?void 0:re(xe,fe);return Me?ie(Me,xe,ge):new RegExp(xe)[fe](oe(ge))},function(Se){var xe=ae(this),ge=oe(Se),Me=le(pe,xe,ge);if(Me.done)return Me.value;if(!xe.global)return ce(xe,ge);var ye=xe.unicode;xe.lastIndex=0;for(var be=[],Fe=0,ke;(ke=ce(xe,ge))!==null;){var Ie=oe(ke[0]);be[Fe]=Ie,Ie===""&&(xe.lastIndex=se(ge,ne(xe.lastIndex),ye)),Fe++}return Fe===0?null:be}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(x,Te,me){"use strict";var ie=x("../internals/function-apply"),te=x("../internals/function-call"),ae=x("../internals/function-uncurry-this"),ne=x("../internals/fix-regexp-well-known-symbol-logic"),oe=x("../internals/fails"),he=x("../internals/an-object"),re=x("../internals/is-callable"),se=x("../internals/to-integer-or-infinity"),ce=x("../internals/to-length"),fe=x("../internals/to-string"),pe=x("../internals/require-object-coercible"),le=x("../internals/advance-string-index"),Se=x("../internals/get-method"),xe=x("../internals/get-substitution"),ge=x("../internals/regexp-exec-abstract"),Me=x("../internals/well-known-symbol"),ye=Me("replace"),be=Math.max,Fe=Math.min,ke=ae([].concat),Ie=ae([].push),Le=ae("".indexOf),De=ae("".slice),Be=function(Ze){return Ze===void 0?Ze:String(Ze)},Ue=function(){return"a".replace(/./,"$0")==="$0"}(),_e=function(){return/./[ye]?/./[ye]("a","$0")==="":!1}(),We=!oe(function(){var Ze=/./;return Ze.exec=function(){var et=[];return et.groups={a:"7"},et},"".replace(Ze,"$<a>")!=="7"});ne("replace",function(Ze,et,at){var pt=_e?"$":"$0";return[function(Ge,lt){var dt=pe(this),st=Ge==null?void 0:Se(Ge,ye);return st?te(st,Ge,dt,lt):te(et,fe(dt),Ge,lt)},function(Xe,Ge){var lt=he(this),dt=fe(Xe);if(typeof Ge=="string"&&Le(Ge,pt)===-1&&Le(Ge,"$<")===-1){var st=at(et,lt,dt,Ge);if(st.done)return st.value}var nt=re(Ge);nt||(Ge=fe(Ge));var rt=lt.global;if(rt){var it=lt.unicode;lt.lastIndex=0}for(var gt=[];;){var vt=ge(lt,dt);if(vt===null||(Ie(gt,vt),!rt))break;var At=fe(vt[0]);At===""&&(lt.lastIndex=le(dt,ce(lt.lastIndex),it))}for(var Et="",ut=0,Ye=0;Ye<gt.length;Ye++){vt=gt[Ye];for(var Ve=fe(vt[0]),de=be(Fe(se(vt.index),dt.length),0),Ce=[],He=1;He<vt.length;He++)Ie(Ce,Be(vt[He]));var je=vt.groups;if(nt){var Ae=ke([Ve],Ce,de,dt);je!==void 0&&Ie(Ae,je);var Re=fe(ie(Ge,void 0,Ae))}else Re=xe(Ve,dt,de,Ce,je,Ge);de>=ut&&(Et+=De(dt,ut,de)+Re,ut=de+Ve.length)}return Et+De(dt,ut)}]},!We||!Ue||_e)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(x,Te,me){"use strict";var ie=x("../internals/function-call"),te=x("../internals/fix-regexp-well-known-symbol-logic"),ae=x("../internals/an-object"),ne=x("../internals/require-object-coercible"),oe=x("../internals/same-value"),he=x("../internals/to-string"),re=x("../internals/get-method"),se=x("../internals/regexp-exec-abstract");te("search",function(ce,fe,pe){return[function(Se){var xe=ne(this),ge=Se==null?void 0:re(Se,ce);return ge?ie(ge,Se,xe):new RegExp(Se)[ce](he(xe))},function(le){var Se=ae(this),xe=he(le),ge=pe(fe,Se,xe);if(ge.done)return ge.value;var Me=Se.lastIndex;oe(Me,0)||(Se.lastIndex=0);var ye=se(Se,xe);return oe(Se.lastIndex,Me)||(Se.lastIndex=Me),ye===null?-1:ye.index}]})},{"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/same-value":231,"../internals/to-string":256}],307:[function(x,Te,me){"use strict";var ie=x("../internals/function-apply"),te=x("../internals/function-call"),ae=x("../internals/function-uncurry-this"),ne=x("../internals/fix-regexp-well-known-symbol-logic"),oe=x("../internals/is-regexp"),he=x("../internals/an-object"),re=x("../internals/require-object-coercible"),se=x("../internals/species-constructor"),ce=x("../internals/advance-string-index"),fe=x("../internals/to-length"),pe=x("../internals/to-string"),le=x("../internals/get-method"),Se=x("../internals/array-slice-simple"),xe=x("../internals/regexp-exec-abstract"),ge=x("../internals/regexp-exec"),Me=x("../internals/regexp-sticky-helpers"),ye=x("../internals/fails"),be=Me.UNSUPPORTED_Y,Fe=4294967295,ke=Math.min,Ie=[].push,Le=ae(/./.exec),De=ae(Ie),Be=ae("".slice),Ue=!ye(function(){var _e=/(?:)/,We=_e.exec;_e.exec=function(){return We.apply(this,arguments)};var Ze="ab".split(_e);return Ze.length!==2||Ze[0]!=="a"||Ze[1]!=="b"});ne("split",function(_e,We,Ze){var et;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?et=function(at,pt){var Xe=pe(re(this)),Ge=pt===void 0?Fe:pt>>>0;if(Ge===0)return[];if(at===void 0)return[Xe];if(!oe(at))return te(We,Xe,at,Ge);for(var lt=[],dt=(at.ignoreCase?"i":"")+(at.multiline?"m":"")+(at.unicode?"u":"")+(at.sticky?"y":""),st=0,nt=new RegExp(at.source,dt+"g"),rt,it,gt;(rt=te(ge,nt,Xe))&&(it=nt.lastIndex,!(it>st&&(De(lt,Be(Xe,st,rt.index)),rt.length>1&&rt.index<Xe.length&&ie(Ie,lt,Se(rt,1)),gt=rt[0].length,st=it,lt.length>=Ge)));)nt.lastIndex===rt.index&&nt.lastIndex++;return st===Xe.length?(gt||!Le(nt,""))&&De(lt,""):De(lt,Be(Xe,st)),lt.length>Ge?Se(lt,0,Ge):lt}:"0".split(void 0,0).length?et=function(at,pt){return at===void 0&&pt===0?[]:te(We,this,at,pt)}:et=We,[function(pt,Xe){var Ge=re(this),lt=pt==null?void 0:le(pt,_e);return lt?te(lt,pt,Ge,Xe):te(et,pe(Ge),pt,Xe)},function(at,pt){var Xe=he(this),Ge=pe(at),lt=Ze(et,Xe,Ge,pt,et!==We);if(lt.done)return lt.value;var dt=se(Xe,RegExp),st=Xe.unicode,nt=(Xe.ignoreCase?"i":"")+(Xe.multiline?"m":"")+(Xe.unicode?"u":"")+(be?"g":"y"),rt=new dt(be?"^(?:"+Xe.source+")":Xe,nt),it=pt===void 0?Fe:pt>>>0;if(it===0)return[];if(Ge.length===0)return xe(rt,Ge)===null?[Ge]:[];for(var gt=0,vt=0,At=[];vt<Ge.length;){rt.lastIndex=be?0:vt;var Et=xe(rt,be?Be(Ge,vt):Ge),ut;if(Et===null||(ut=ke(fe(rt.lastIndex+(be?vt:0)),Ge.length))===gt)vt=ce(Ge,vt,st);else{if(De(At,Be(Ge,gt,vt)),At.length===it)return At;for(var Ye=1;Ye<=Et.length-1;Ye++)if(De(At,Et[Ye]),At.length===it)return At;vt=gt=ut}}return De(At,Be(Ge,gt)),At}]},!Ue,be)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/array-slice-simple":116,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/is-regexp":182,"../internals/regexp-exec":224,"../internals/regexp-exec-abstract":223,"../internals/regexp-sticky-helpers":227,"../internals/require-object-coercible":230,"../internals/species-constructor":238,"../internals/to-length":249,"../internals/to-string":256}],308:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/string-trim").trim,ae=x("../internals/string-trim-forced");ie({target:"String",proto:!0,forced:ae("trim")},{trim:function(){return te(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/global"),ae=x("../internals/function-call"),ne=x("../internals/function-uncurry-this"),oe=x("../internals/is-pure"),he=x("../internals/descriptors"),re=x("../internals/native-symbol"),se=x("../internals/fails"),ce=x("../internals/has-own-property"),fe=x("../internals/object-is-prototype-of"),pe=x("../internals/an-object"),le=x("../internals/to-indexed-object"),Se=x("../internals/to-property-key"),xe=x("../internals/to-string"),ge=x("../internals/create-property-descriptor"),Me=x("../internals/object-create"),ye=x("../internals/object-keys"),be=x("../internals/object-get-own-property-names"),Fe=x("../internals/object-get-own-property-names-external"),ke=x("../internals/object-get-own-property-symbols"),Ie=x("../internals/object-get-own-property-descriptor"),Le=x("../internals/object-define-property"),De=x("../internals/object-define-properties"),Be=x("../internals/object-property-is-enumerable"),Ue=x("../internals/redefine"),_e=x("../internals/shared"),We=x("../internals/shared-key"),Ze=x("../internals/hidden-keys"),et=x("../internals/uid"),at=x("../internals/well-known-symbol"),pt=x("../internals/well-known-symbol-wrapped"),Xe=x("../internals/define-well-known-symbol"),Ge=x("../internals/symbol-define-to-primitive"),lt=x("../internals/set-to-string-tag"),dt=x("../internals/internal-state"),st=x("../internals/array-iteration").forEach,nt=We("hidden"),rt="Symbol",it="prototype",gt=dt.set,vt=dt.getterFor(rt),At=Object[it],Et=te.Symbol,ut=Et&&Et[it],Ye=te.TypeError,Ve=te.QObject,de=Ie.f,Ce=Le.f,He=Fe.f,je=Be.f,Ae=ne([].push),Re=_e("symbols"),ze=_e("op-symbols"),Qe=_e("wks"),ot=!Ve||!Ve[it]||!Ve[it].findChild,mt=he&&se(function(){return Me(Ce({},"a",{get:function(){return Ce(this,"a",{value:7}).a}})).a!=7})?function(Pt,zt,an){var gn=de(At,zt);gn&&delete At[zt],Ce(Pt,zt,an),gn&&Pt!==At&&Ce(At,zt,gn)}:Ce,Ot=function(Pt,zt){var an=Re[Pt]=Me(ut);return gt(an,{type:rt,tag:Pt,description:zt}),he||(an.description=zt),an},xt=function(zt,an,gn){zt===At&&xt(ze,an,gn),pe(zt);var Tn=Se(an);return pe(gn),ce(Re,Tn)?(gn.enumerable?(ce(zt,nt)&&zt[nt][Tn]&&(zt[nt][Tn]=!1),gn=Me(gn,{enumerable:ge(0,!1)})):(ce(zt,nt)||Ce(zt,nt,ge(1,{})),zt[nt][Tn]=!0),mt(zt,Tn,gn)):Ce(zt,Tn,gn)},Wt=function(zt,an){pe(zt);var gn=le(an),Tn=ye(gn).concat(yn(gn));return st(Tn,function(Gn){(!he||ae(Ft,gn,Gn))&&xt(zt,Gn,gn[Gn])}),zt},bn=function(zt,an){return an===void 0?Me(zt):Wt(Me(zt),an)},Ft=function(zt){var an=Se(zt),gn=ae(je,this,an);return this===At&&ce(Re,an)&&!ce(ze,an)?!1:gn||!ce(this,an)||!ce(Re,an)||ce(this,nt)&&this[nt][an]?gn:!0},Qt=function(zt,an){var gn=le(zt),Tn=Se(an);if(!(gn===At&&ce(Re,Tn)&&!ce(ze,Tn))){var Gn=de(gn,Tn);return Gn&&ce(Re,Tn)&&!(ce(gn,nt)&&gn[nt][Tn])&&(Gn.enumerable=!0),Gn}},Vt=function(zt){var an=He(le(zt)),gn=[];return st(an,function(Tn){!ce(Re,Tn)&&!ce(Ze,Tn)&&Ae(gn,Tn)}),gn},yn=function(Pt){var zt=Pt===At,an=He(zt?ze:le(Pt)),gn=[];return st(an,function(Tn){ce(Re,Tn)&&(!zt||ce(At,Tn))&&Ae(gn,Re[Tn])}),gn};re||(Et=function(){if(fe(ut,this))throw Ye("Symbol is not a constructor");var zt=!arguments.length||arguments[0]===void 0?void 0:xe(arguments[0]),an=et(zt),gn=function(Tn){this===At&&ae(gn,ze,Tn),ce(this,nt)&&ce(this[nt],an)&&(this[nt][an]=!1),mt(this,an,ge(1,Tn))};return he&&ot&&mt(At,an,{configurable:!0,set:gn}),Ot(an,zt)},ut=Et[it],Ue(ut,"toString",function(){return vt(this).tag}),Ue(Et,"withoutSetter",function(Pt){return Ot(et(Pt),Pt)}),Be.f=Ft,Le.f=xt,De.f=Wt,Ie.f=Qt,be.f=Fe.f=Vt,ke.f=yn,pt.f=function(Pt){return Ot(at(Pt),Pt)},he&&(Ce(ut,"description",{configurable:!0,get:function(){return vt(this).description}}),oe||Ue(At,"propertyIsEnumerable",Ft,{unsafe:!0}))),ie({global:!0,wrap:!0,forced:!re,sham:!re},{Symbol:Et}),st(ye(Qe),function(Pt){Xe(Pt)}),ie({target:rt,stat:!0,forced:!re},{useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),ie({target:"Object",stat:!0,forced:!re,sham:!he},{create:bn,defineProperty:xt,defineProperties:Wt,getOwnPropertyDescriptor:Qt}),ie({target:"Object",stat:!0,forced:!re},{getOwnPropertyNames:Vt}),Ge(),lt(Et,rt),Ze[nt]=!0},{"../internals/an-object":101,"../internals/array-iteration":111,"../internals/create-property-descriptor":130,"../internals/define-well-known-symbol":133,"../internals/descriptors":134,"../internals/export":149,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/native-symbol":191,"../internals/object-create":196,"../internals/object-define-properties":197,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-names-external":200,"../internals/object-get-own-property-symbols":202,"../internals/object-is-prototype-of":204,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/shared":237,"../internals/shared-key":235,"../internals/symbol-define-to-primitive":242,"../internals/to-indexed-object":247,"../internals/to-property-key":254,"../internals/to-string":256,"../internals/uid":263,"../internals/well-known-symbol":268,"../internals/well-known-symbol-wrapped":267}],310:[function(x,Te,me){"use strict";var ie=x("../internals/export"),te=x("../internals/descriptors"),ae=x("../internals/global"),ne=x("../internals/function-uncurry-this"),oe=x("../internals/has-own-property"),he=x("../internals/is-callable"),re=x("../internals/object-is-prototype-of"),se=x("../internals/to-string"),ce=x("../internals/object-define-property").f,fe=x("../internals/copy-constructor-properties"),pe=ae.Symbol,le=pe&&pe.prototype;if(te&&he(pe)&&(!("description"in le)||pe().description!==void 0)){var Se={},xe=function(){var Le=arguments.length<1||arguments[0]===void 0?void 0:se(arguments[0]),De=re(le,this)?new pe(Le):Le===void 0?pe():pe(Le);return Le===""&&(Se[De]=!0),De};fe(xe,pe),xe.prototype=le,le.constructor=xe;var ge=String(pe("test"))=="Symbol(test)",Me=ne(le.toString),ye=ne(le.valueOf),be=/^Symbol\((.*)\)[^)]+$/,Fe=ne("".replace),ke=ne("".slice);ce(le,"description",{configurable:!0,get:function(){var Le=ye(this),De=Me(Le);if(oe(Se,Le))return"";var Be=ge?ke(De,7,-1):Fe(De,be,"$1");return Be===""?void 0:Be}}),ie({global:!0,forced:!0},{Symbol:xe})}},{"../internals/copy-constructor-properties":125,"../internals/descriptors":134,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/object-define-property":198,"../internals/object-is-prototype-of":204,"../internals/to-string":256}],311:[function(x,Te,me){var ie=x("../internals/export"),te=x("../internals/get-built-in"),ae=x("../internals/has-own-property"),ne=x("../internals/to-string"),oe=x("../internals/shared"),he=x("../internals/native-symbol-registry"),re=oe("string-to-symbol-registry"),se=oe("symbol-to-string-registry");ie({target:"Symbol",stat:!0,forced:!he},{for:function(ce){var fe=ne(ce);if(ae(re,fe))return re[fe];var pe=te("Symbol")(fe);return re[fe]=pe,se[pe]=fe,pe}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/has-own-property":164,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/to-string":256}],312:[function(x,Te,me){var ie=x("../internals/define-well-known-symbol");ie("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(x,Te,me){x("../modules/es.symbol.constructor"),x("../modules/es.symbol.for"),x("../modules/es.symbol.key-for"),x("../modules/es.json.stringify"),x("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":285,"../modules/es.object.get-own-property-symbols":289,"../modules/es.symbol.constructor":309,"../modules/es.symbol.for":311,"../modules/es.symbol.key-for":314}],314:[function(x,Te,me){var ie=x("../internals/export"),te=x("../internals/has-own-property"),ae=x("../internals/is-symbol"),ne=x("../internals/try-to-string"),oe=x("../internals/shared"),he=x("../internals/native-symbol-registry"),re=oe("symbol-to-string-registry");ie({target:"Symbol",stat:!0,forced:!he},{keyFor:function(ce){if(!ae(ce))throw TypeError(ne(ce)+" is not a symbol");if(te(re,ce))return re[ce]}})},{"../internals/export":149,"../internals/has-own-property":164,"../internals/is-symbol":183,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/try-to-string":257}],315:[function(x,Te,me){"use strict";var ie=x("../internals/function-uncurry-this"),te=x("../internals/array-buffer-view-core"),ae=x("../internals/array-copy-within"),ne=ie(ae),oe=te.aTypedArray,he=te.exportTypedArrayMethod;he("copyWithin",function(se,ce){return ne(oe(this),se,ce,arguments.length>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/array-iteration").every,ae=ie.aTypedArray,ne=ie.exportTypedArrayMethod;ne("every",function(he){return te(ae(this),he,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/function-call"),ae=x("../internals/array-fill"),ne=ie.aTypedArray,oe=ie.exportTypedArrayMethod;oe("fill",function(re){var se=arguments.length;return te(ae,ne(this),re,se>1?arguments[1]:void 0,se>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/array-iteration").filter,ae=x("../internals/typed-array-from-species-and-list"),ne=ie.aTypedArray,oe=ie.exportTypedArrayMethod;oe("filter",function(re){var se=te(ne(this),re,arguments.length>1?arguments[1]:void 0);return ae(this,se)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/array-iteration").findIndex,ae=ie.aTypedArray,ne=ie.exportTypedArrayMethod;ne("findIndex",function(he){return te(ae(this),he,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/array-iteration").find,ae=ie.aTypedArray,ne=ie.exportTypedArrayMethod;ne("find",function(he){return te(ae(this),he,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/array-iteration").forEach,ae=ie.aTypedArray,ne=ie.exportTypedArrayMethod;ne("forEach",function(he){te(ae(this),he,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/array-includes").includes,ae=ie.aTypedArray,ne=ie.exportTypedArrayMethod;ne("includes",function(he){return te(ae(this),he,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/array-includes").indexOf,ae=ie.aTypedArray,ne=ie.exportTypedArrayMethod;ne("indexOf",function(he){return te(ae(this),he,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(x,Te,me){"use strict";var ie=x("../internals/global"),te=x("../internals/fails"),ae=x("../internals/function-uncurry-this"),ne=x("../internals/array-buffer-view-core"),oe=x("../modules/es.array.iterator"),he=x("../internals/well-known-symbol"),re=he("iterator"),se=ie.Uint8Array,ce=ae(oe.values),fe=ae(oe.keys),pe=ae(oe.entries),le=ne.aTypedArray,Se=ne.exportTypedArrayMethod,xe=se&&se.prototype,ge=!te(function(){xe[re].call([1])}),Me=!!xe&&xe.values&&xe[re]===xe.values&&xe.values.name==="values",ye=function(){return ce(le(this))};Se("entries",function(){return pe(le(this))},ge),Se("keys",function(){return fe(le(this))},ge),Se("values",ye,ge||!Me,{name:"values"}),Se(re,ye,ge||!Me,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/function-uncurry-this"),ae=ie.aTypedArray,ne=ie.exportTypedArrayMethod,oe=te([].join);ne("join",function(re){return oe(ae(this),re)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/function-apply"),ae=x("../internals/array-last-index-of"),ne=ie.aTypedArray,oe=ie.exportTypedArrayMethod;oe("lastIndexOf",function(re){var se=arguments.length;return te(ae,ne(this),se>1?[re,arguments[1]]:[re])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/array-iteration").map,ae=x("../internals/typed-array-species-constructor"),ne=ie.aTypedArray,oe=ie.exportTypedArrayMethod;oe("map",function(re){return te(ne(this),re,arguments.length>1?arguments[1]:void 0,function(se,ce){return new(ae(se))(ce)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/array-reduce").right,ae=ie.aTypedArray,ne=ie.exportTypedArrayMethod;ne("reduceRight",function(he){var re=arguments.length;return te(ae(this),he,re,re>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/array-reduce").left,ae=ie.aTypedArray,ne=ie.exportTypedArrayMethod;ne("reduce",function(he){var re=arguments.length;return te(ae(this),he,re,re>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=ie.aTypedArray,ae=ie.exportTypedArrayMethod,ne=Math.floor;ae("reverse",function(){for(var he=this,re=te(he).length,se=ne(re/2),ce=0,fe;ce<se;)fe=he[ce],he[ce++]=he[--re],he[re]=fe;return he})},{"../internals/array-buffer-view-core":103}],331:[function(x,Te,me){"use strict";var ie=x("../internals/global"),te=x("../internals/function-call"),ae=x("../internals/array-buffer-view-core"),ne=x("../internals/length-of-array-like"),oe=x("../internals/to-offset"),he=x("../internals/to-object"),re=x("../internals/fails"),se=ie.RangeError,ce=ie.Int8Array,fe=ce&&ce.prototype,pe=fe&&fe.set,le=ae.aTypedArray,Se=ae.exportTypedArrayMethod,xe=!re(function(){var Me=new Uint8ClampedArray(2);return te(pe,Me,{length:1,0:3},1),Me[1]!==3}),ge=xe&&ae.NATIVE_ARRAY_BUFFER_VIEWS&&re(function(){var Me=new ce(2);return Me.set(1),Me.set("2",1),Me[0]!==0||Me[1]!==2});Se("set",function(ye){le(this);var be=oe(arguments.length>1?arguments[1]:void 0,1),Fe=he(ye);if(xe)return te(pe,this,Fe,be);var ke=this.length,Ie=ne(Fe),Le=0;if(Ie+be>ke)throw se("Wrong length");for(;Le<Ie;)this[be+Le]=Fe[Le++]},!xe||ge)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-call":155,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-offset":251}],332:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/typed-array-species-constructor"),ae=x("../internals/fails"),ne=x("../internals/array-slice"),oe=ie.aTypedArray,he=ie.exportTypedArrayMethod,re=ae(function(){new Int8Array(1).slice()});he("slice",function(ce,fe){for(var pe=ne(oe(this),ce,fe),le=te(this),Se=0,xe=pe.length,ge=new le(xe);xe>Se;)ge[Se]=pe[Se++];return ge},re)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/array-iteration").some,ae=ie.aTypedArray,ne=ie.exportTypedArrayMethod;ne("some",function(he){return te(ae(this),he,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(x,Te,me){"use strict";var ie=x("../internals/global"),te=x("../internals/function-uncurry-this"),ae=x("../internals/fails"),ne=x("../internals/a-callable"),oe=x("../internals/array-sort"),he=x("../internals/array-buffer-view-core"),re=x("../internals/engine-ff-version"),se=x("../internals/engine-is-ie-or-edge"),ce=x("../internals/engine-v8-version"),fe=x("../internals/engine-webkit-version"),pe=he.aTypedArray,le=he.exportTypedArrayMethod,Se=ie.Uint16Array,xe=Se&&te(Se.prototype.sort),ge=!!xe&&!(ae(function(){xe(new Se(2),null)})&&ae(function(){xe(new Se(2),{})})),Me=!!xe&&!ae(function(){if(ce)return ce<74;if(re)return re<67;if(se)return!0;if(fe)return fe<602;var be=new Se(516),Fe=Array(516),ke,Ie;for(ke=0;ke<516;ke++)Ie=ke%4,be[ke]=515-ke,Fe[ke]=ke-2*Ie+3;for(xe(be,function(Le,De){return(Le/4|0)-(De/4|0)}),ke=0;ke<516;ke++)if(be[ke]!==Fe[ke])return!0}),ye=function(be){return function(Fe,ke){return be!==void 0?+be(Fe,ke)||0:ke!==ke?-1:Fe!==Fe?1:Fe===0&&ke===0?1/Fe>0&&1/ke<0?1:-1:Fe>ke}};le("sort",function(Fe){return Fe!==void 0&&ne(Fe),Me?xe(this,Fe):oe(pe(this),ye(Fe))},!Me||ge)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core"),te=x("../internals/to-length"),ae=x("../internals/to-absolute-index"),ne=x("../internals/typed-array-species-constructor"),oe=ie.aTypedArray,he=ie.exportTypedArrayMethod;he("subarray",function(se,ce){var fe=oe(this),pe=fe.length,le=ae(se,pe),Se=ne(fe);return new Se(fe.buffer,fe.byteOffset+le*fe.BYTES_PER_ELEMENT,te((ce===void 0?pe:ae(ce,pe))-le))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(x,Te,me){"use strict";var ie=x("../internals/global"),te=x("../internals/function-apply"),ae=x("../internals/array-buffer-view-core"),ne=x("../internals/fails"),oe=x("../internals/array-slice"),he=ie.Int8Array,re=ae.aTypedArray,se=ae.exportTypedArrayMethod,ce=[].toLocaleString,fe=!!he&&ne(function(){ce.call(new he(1))}),pe=ne(function(){return[1,2].toLocaleString()!=new he([1,2]).toLocaleString()})||!ne(function(){he.prototype.toLocaleString.call([1,2])});se("toLocaleString",function(){return te(ce,fe?oe(re(this)):re(this),oe(arguments))},pe)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(x,Te,me){"use strict";var ie=x("../internals/array-buffer-view-core").exportTypedArrayMethod,te=x("../internals/fails"),ae=x("../internals/global"),ne=x("../internals/function-uncurry-this"),oe=ae.Uint8Array,he=oe&&oe.prototype||{},re=[].toString,se=ne([].join);te(function(){re.call({})})&&(re=function(){return se(this)});var ce=he.toString!=re;ie("toString",re,ce)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(x,Te,me){var ie=x("../internals/typed-array-constructor");ie("Uint8",function(te){return function(ne,oe,he){return te(this,ne,oe,he)}})},{"../internals/typed-array-constructor":258}],339:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/dom-iterables"),ae=x("../internals/dom-token-list-prototype"),ne=x("../internals/array-for-each"),oe=x("../internals/create-non-enumerable-property"),he=function(se){if(se&&se.forEach!==ne)try{oe(se,"forEach",ne)}catch(ce){se.forEach=ne}};for(var re in te)te[re]&&he(ie[re]&&ie[re].prototype);he(ae)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(x,Te,me){var ie=x("../internals/global"),te=x("../internals/dom-iterables"),ae=x("../internals/dom-token-list-prototype"),ne=x("../modules/es.array.iterator"),oe=x("../internals/create-non-enumerable-property"),he=x("../internals/well-known-symbol"),re=he("iterator"),se=he("toStringTag"),ce=ne.values,fe=function(le,Se){if(le){if(le[re]!==ce)try{oe(le,re,ce)}catch(ge){le[re]=ce}if(le[se]||oe(le,se,Se),te[Se]){for(var xe in ne)if(le[xe]!==ne[xe])try{oe(le,xe,ne[xe])}catch(ge){le[xe]=ne[xe]}}}};for(var pe in te)fe(ie[pe]&&ie[pe].prototype,pe);fe(ae,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(x,Te,me){function ie(Me){return Array.isArray?Array.isArray(Me):ge(Me)==="[object Array]"}me.isArray=ie;function te(Me){return typeof Me=="boolean"}me.isBoolean=te;function ae(Me){return Me===null}me.isNull=ae;function ne(Me){return Me==null}me.isNullOrUndefined=ne;function oe(Me){return typeof Me=="number"}me.isNumber=oe;function he(Me){return typeof Me=="string"}me.isString=he;function re(Me){return typeof Me=="symbol"}me.isSymbol=re;function se(Me){return Me===void 0}me.isUndefined=se;function ce(Me){return ge(Me)==="[object RegExp]"}me.isRegExp=ce;function fe(Me){return typeof Me=="object"&&Me!==null}me.isObject=fe;function pe(Me){return ge(Me)==="[object Date]"}me.isDate=pe;function le(Me){return ge(Me)==="[object Error]"||Me instanceof Error}me.isError=le;function Se(Me){return typeof Me=="function"}me.isFunction=Se;function xe(Me){return Me===null||typeof Me=="boolean"||typeof Me=="number"||typeof Me=="string"||typeof Me=="symbol"||typeof Me=="undefined"}me.isPrimitive=xe,me.isBuffer=x("buffer").Buffer.isBuffer;function ge(Me){return Object.prototype.toString.call(Me)}},{buffer:90}],342:[function(x,Te,me){(function(ie){"use strict";var te=function(){var re=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,se=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,ce=/[^-+\dA-Z]/g;return function(fe,pe,le,Se){if(arguments.length===1&&he(fe)==="string"&&!/\d/.test(fe)&&(pe=fe,fe=void 0),fe=fe||new Date,fe instanceof Date||(fe=new Date(fe)),isNaN(fe))throw TypeError("Invalid date");pe=String(te.masks[pe]||pe||te.masks.default);var xe=pe.slice(0,4);(xe==="UTC:"||xe==="GMT:")&&(pe=pe.slice(4),le=!0,xe==="GMT:"&&(Se=!0));var ge=le?"getUTC":"get",Me=fe[ge+"Date"](),ye=fe[ge+"Day"](),be=fe[ge+"Month"](),Fe=fe[ge+"FullYear"](),ke=fe[ge+"Hours"](),Ie=fe[ge+"Minutes"](),Le=fe[ge+"Seconds"](),De=fe[ge+"Milliseconds"](),Be=le?0:fe.getTimezoneOffset(),Ue=ne(fe),_e=oe(fe),We={d:Me,dd:ae(Me),ddd:te.i18n.dayNames[ye],dddd:te.i18n.dayNames[ye+7],m:be+1,mm:ae(be+1),mmm:te.i18n.monthNames[be],mmmm:te.i18n.monthNames[be+12],yy:String(Fe).slice(2),yyyy:Fe,h:ke%12||12,hh:ae(ke%12||12),H:ke,HH:ae(ke),M:Ie,MM:ae(Ie),s:Le,ss:ae(Le),l:ae(De,3),L:ae(Math.round(De/10)),t:ke<12?"a":"p",tt:ke<12?"am":"pm",T:ke<12?"A":"P",TT:ke<12?"AM":"PM",Z:Se?"GMT":le?"UTC":(String(fe).match(se)||[""]).pop().replace(ce,""),o:(Be>0?"-":"+")+ae(Math.floor(Math.abs(Be)/60)*100+Math.abs(Be)%60,4),S:["th","st","nd","rd"][Me%10>3?0:(Me%100-Me%10!=10)*Me%10],W:Ue,N:_e};return pe.replace(re,function(Ze){return Ze in We?We[Ze]:Ze.slice(1,Ze.length-1)})}}();te.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},te.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function ae(re,se){for(re=String(re),se=se||2;re.length<se;)re="0"+re;return re}function ne(re){var se=new Date(re.getFullYear(),re.getMonth(),re.getDate());se.setDate(se.getDate()-(se.getDay()+6)%7+3);var ce=new Date(se.getFullYear(),0,4);ce.setDate(ce.getDate()-(ce.getDay()+6)%7+3);var fe=se.getTimezoneOffset()-ce.getTimezoneOffset();se.setHours(se.getHours()-fe);var pe=(se-ce)/(864e5*7);return 1+Math.floor(pe)}function oe(re){var se=re.getDay();return se===0&&(se=7),se}function he(re){return re===null?"null":re===void 0?"undefined":typeof re!="object"?typeof re:Array.isArray(re)?"array":{}.toString.call(re).slice(8,-1).toLowerCase()}typeof ve=="function"&&ve.amd?ve(function(){return te}):typeof me=="object"?Te.exports=te:ie.dateFormat=te})(this)},{}],343:[function(x,Te,me){"use strict";var ie=/["'&<>]/;Te.exports=te;function te(ae){var ne=""+ae,oe=ie.exec(ne);if(!oe)return ne;var he,re="",se=0,ce=0;for(se=oe.index;se<ne.length;se++){switch(ne.charCodeAt(se)){case 34:he="&quot;";break;case 38:he="&amp;";break;case 39:he="&#39;";break;case 60:he="&lt;";break;case 62:he="&gt;";break;default:continue}ce!==se&&(re+=ne.substring(ce,se)),ce=se+1,re+=he}return ce!==se?re+ne.substring(ce,se):re}},{}],344:[function(x,Te,me){"use strict";var ie=typeof Reflect=="object"?Reflect:null,te=ie&&typeof ie.apply=="function"?ie.apply:function(Le,De,Be){return Function.prototype.apply.call(Le,De,Be)},ae;ie&&typeof ie.ownKeys=="function"?ae=ie.ownKeys:Object.getOwnPropertySymbols?ae=function(Le){return Object.getOwnPropertyNames(Le).concat(Object.getOwnPropertySymbols(Le))}:ae=function(Le){return Object.getOwnPropertyNames(Le)};function ne(Ie){console&&console.warn&&console.warn(Ie)}var oe=Number.isNaN||function(Le){return Le!==Le};function he(){he.init.call(this)}Te.exports=he,Te.exports.once=be,he.EventEmitter=he,he.prototype._events=void 0,he.prototype._eventsCount=0,he.prototype._maxListeners=void 0;var re=10;function se(Ie){if(typeof Ie!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Ie)}Object.defineProperty(he,"defaultMaxListeners",{enumerable:!0,get:function(){return re},set:function(Ie){if(typeof Ie!="number"||Ie<0||oe(Ie))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Ie+".");re=Ie}}),he.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},he.prototype.setMaxListeners=function(Le){if(typeof Le!="number"||Le<0||oe(Le))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Le+".");return this._maxListeners=Le,this};function ce(Ie){return Ie._maxListeners===void 0?he.defaultMaxListeners:Ie._maxListeners}he.prototype.getMaxListeners=function(){return ce(this)},he.prototype.emit=function(Le){for(var De=[],Be=1;Be<arguments.length;Be++)De.push(arguments[Be]);var Ue=Le==="error",_e=this._events;if(_e!==void 0)Ue=Ue&&_e.error===void 0;else if(!Ue)return!1;if(Ue){var We;if(De.length>0&&(We=De[0]),We instanceof Error)throw We;var Ze=new Error("Unhandled error."+(We?" ("+We.message+")":""));throw Ze.context=We,Ze}var et=_e[Le];if(et===void 0)return!1;if(typeof et=="function")te(et,this,De);else for(var at=et.length,pt=ge(et,at),Be=0;Be<at;++Be)te(pt[Be],this,De);return!0};function fe(Ie,Le,De,Be){var Ue,_e,We;if(se(De),_e=Ie._events,_e===void 0?(_e=Ie._events=Object.create(null),Ie._eventsCount=0):(_e.newListener!==void 0&&(Ie.emit("newListener",Le,De.listener?De.listener:De),_e=Ie._events),We=_e[Le]),We===void 0)We=_e[Le]=De,++Ie._eventsCount;else if(typeof We=="function"?We=_e[Le]=Be?[De,We]:[We,De]:Be?We.unshift(De):We.push(De),Ue=ce(Ie),Ue>0&&We.length>Ue&&!We.warned){We.warned=!0;var Ze=new Error("Possible EventEmitter memory leak detected. "+We.length+" "+String(Le)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ze.name="MaxListenersExceededWarning",Ze.emitter=Ie,Ze.type=Le,Ze.count=We.length,ne(Ze)}return Ie}he.prototype.addListener=function(Le,De){return fe(this,Le,De,!1)},he.prototype.on=he.prototype.addListener,he.prototype.prependListener=function(Le,De){return fe(this,Le,De,!0)};function pe(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function le(Ie,Le,De){var Be={fired:!1,wrapFn:void 0,target:Ie,type:Le,listener:De},Ue=pe.bind(Be);return Ue.listener=De,Be.wrapFn=Ue,Ue}he.prototype.once=function(Le,De){return se(De),this.on(Le,le(this,Le,De)),this},he.prototype.prependOnceListener=function(Le,De){return se(De),this.prependListener(Le,le(this,Le,De)),this},he.prototype.removeListener=function(Le,De){var Be,Ue,_e,We,Ze;if(se(De),Ue=this._events,Ue===void 0)return this;if(Be=Ue[Le],Be===void 0)return this;if(Be===De||Be.listener===De)--this._eventsCount===0?this._events=Object.create(null):(delete Ue[Le],Ue.removeListener&&this.emit("removeListener",Le,Be.listener||De));else if(typeof Be!="function"){for(_e=-1,We=Be.length-1;We>=0;We--)if(Be[We]===De||Be[We].listener===De){Ze=Be[We].listener,_e=We;break}if(_e<0)return this;_e===0?Be.shift():Me(Be,_e),Be.length===1&&(Ue[Le]=Be[0]),Ue.removeListener!==void 0&&this.emit("removeListener",Le,Ze||De)}return this},he.prototype.off=he.prototype.removeListener,he.prototype.removeAllListeners=function(Le){var De,Be,Ue;if(Be=this._events,Be===void 0)return this;if(Be.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Be[Le]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Be[Le]),this;if(arguments.length===0){var _e=Object.keys(Be),We;for(Ue=0;Ue<_e.length;++Ue)We=_e[Ue],We!=="removeListener"&&this.removeAllListeners(We);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(De=Be[Le],typeof De=="function")this.removeListener(Le,De);else if(De!==void 0)for(Ue=De.length-1;Ue>=0;Ue--)this.removeListener(Le,De[Ue]);return this};function Se(Ie,Le,De){var Be=Ie._events;if(Be===void 0)return[];var Ue=Be[Le];return Ue===void 0?[]:typeof Ue=="function"?De?[Ue.listener||Ue]:[Ue]:De?ye(Ue):ge(Ue,Ue.length)}he.prototype.listeners=function(Le){return Se(this,Le,!0)},he.prototype.rawListeners=function(Le){return Se(this,Le,!1)},he.listenerCount=function(Ie,Le){return typeof Ie.listenerCount=="function"?Ie.listenerCount(Le):xe.call(Ie,Le)},he.prototype.listenerCount=xe;function xe(Ie){var Le=this._events;if(Le!==void 0){var De=Le[Ie];if(typeof De=="function")return 1;if(De!==void 0)return De.length}return 0}he.prototype.eventNames=function(){return this._eventsCount>0?ae(this._events):[]};function ge(Ie,Le){for(var De=new Array(Le),Be=0;Be<Le;++Be)De[Be]=Ie[Be];return De}function Me(Ie,Le){for(;Le+1<Ie.length;Le++)Ie[Le]=Ie[Le+1];Ie.pop()}function ye(Ie){for(var Le=new Array(Ie.length),De=0;De<Le.length;++De)Le[De]=Ie[De].listener||Ie[De];return Le}function be(Ie,Le){return new Promise(function(De,Be){function Ue(We){Ie.removeListener(Le,_e),Be(We)}function _e(){typeof Ie.removeListener=="function"&&Ie.removeListener("error",Ue),De([].slice.call(arguments))}ke(Ie,Le,_e,{once:!0}),Le!=="error"&&Fe(Ie,Ue,{once:!0})})}function Fe(Ie,Le,De){typeof Ie.on=="function"&&ke(Ie,"error",Le,De)}function ke(Ie,Le,De,Be){if(typeof Ie.on=="function")Be.once?Ie.once(Le,De):Ie.on(Le,De);else if(typeof Ie.addEventListener=="function")Ie.addEventListener(Le,function Ue(_e){Be.once&&Ie.removeEventListener(Le,Ue),De(_e)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Ie)}},{}],345:[function(x,Te,me){"use strict";var ie=x("is-callable"),te=Object.prototype.toString,ae=Object.prototype.hasOwnProperty,ne=function(ce,fe,pe){for(var le=0,Se=ce.length;le<Se;le++)ae.call(ce,le)&&(pe==null?fe(ce[le],le,ce):fe.call(pe,ce[le],le,ce))},oe=function(ce,fe,pe){for(var le=0,Se=ce.length;le<Se;le++)pe==null?fe(ce.charAt(le),le,ce):fe.call(pe,ce.charAt(le),le,ce)},he=function(ce,fe,pe){for(var le in ce)ae.call(ce,le)&&(pe==null?fe(ce[le],le,ce):fe.call(pe,ce[le],le,ce))},re=function(ce,fe,pe){if(!ie(fe))throw new TypeError("iterator must be a function");var le;arguments.length>=3&&(le=pe),te.call(ce)==="[object Array]"?ne(ce,fe,le):typeof ce=="string"?oe(ce,fe,le):he(ce,fe,le)};Te.exports=re},{"is-callable":367}],346:[function(x,Te,me){"use strict";var ie="Function.prototype.bind called on incompatible ",te=Array.prototype.slice,ae=Object.prototype.toString,ne="[object Function]";Te.exports=function(he){var re=this;if(typeof re!="function"||ae.call(re)!==ne)throw new TypeError(ie+re);for(var se=te.call(arguments,1),ce,fe=function(){if(this instanceof ce){var ge=re.apply(this,se.concat(te.call(arguments)));return Object(ge)===ge?ge:this}else return re.apply(he,se.concat(te.call(arguments)))},pe=Math.max(0,re.length-se.length),le=[],Se=0;Se<pe;Se++)le.push("$"+Se);if(ce=Function("binder","return function ("+le.join(",")+"){ return binder.apply(this,arguments); }")(fe),re.prototype){var xe=function(){};xe.prototype=re.prototype,ce.prototype=new xe,xe.prototype=null}return ce}},{}],347:[function(x,Te,me){"use strict";var ie=x("./implementation");Te.exports=Function.prototype.bind||ie},{"./implementation":346}],348:[function(x,Te,me){"use strict";var ie,te=SyntaxError,ae=Function,ne=TypeError,oe=function(et){try{return ae('"use strict"; return ('+et+").constructor;")()}catch(at){}},he=Object.getOwnPropertyDescriptor;if(he)try{he({},"")}catch(et){he=null}var re=function(){throw new ne},se=he?function(){try{return arguments.callee,re}catch(et){try{return he(arguments,"callee").get}catch(at){return re}}}():re,ce=x("has-symbols")(),fe=x("has-proto")(),pe=Object.getPrototypeOf||(fe?function(et){return et.__proto__}:null),le={},Se=typeof Uint8Array=="undefined"||!pe?ie:pe(Uint8Array),xe={"%AggregateError%":typeof AggregateError=="undefined"?ie:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?ie:ArrayBuffer,"%ArrayIteratorPrototype%":ce&&pe?pe([][Symbol.iterator]()):ie,"%AsyncFromSyncIteratorPrototype%":ie,"%AsyncFunction%":le,"%AsyncGenerator%":le,"%AsyncGeneratorFunction%":le,"%AsyncIteratorPrototype%":le,"%Atomics%":typeof Atomics=="undefined"?ie:Atomics,"%BigInt%":typeof BigInt=="undefined"?ie:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?ie:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?ie:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?ie:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?ie:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?ie:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?ie:FinalizationRegistry,"%Function%":ae,"%GeneratorFunction%":le,"%Int8Array%":typeof Int8Array=="undefined"?ie:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?ie:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?ie:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ce&&pe?pe(pe([][Symbol.iterator]())):ie,"%JSON%":typeof JSON=="object"?JSON:ie,"%Map%":typeof Map=="undefined"?ie:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!ce||!pe?ie:pe(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?ie:Promise,"%Proxy%":typeof Proxy=="undefined"?ie:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?ie:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?ie:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!ce||!pe?ie:pe(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?ie:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ce&&pe?pe(""[Symbol.iterator]()):ie,"%Symbol%":ce?Symbol:ie,"%SyntaxError%":te,"%ThrowTypeError%":se,"%TypedArray%":Se,"%TypeError%":ne,"%Uint8Array%":typeof Uint8Array=="undefined"?ie:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?ie:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?ie:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?ie:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?ie:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?ie:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?ie:WeakSet};if(pe)try{null.error}catch(et){var ge=pe(pe(et));xe["%Error.prototype%"]=ge}var Me=function et(at){var pt;if(at==="%AsyncFunction%")pt=oe("async function () {}");else if(at==="%GeneratorFunction%")pt=oe("function* () {}");else if(at==="%AsyncGeneratorFunction%")pt=oe("async function* () {}");else if(at==="%AsyncGenerator%"){var Xe=et("%AsyncGeneratorFunction%");Xe&&(pt=Xe.prototype)}else if(at==="%AsyncIteratorPrototype%"){var Ge=et("%AsyncGenerator%");Ge&&pe&&(pt=pe(Ge.prototype))}return xe[at]=pt,pt},ye={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},be=x("function-bind"),Fe=x("has"),ke=be.call(Function.call,Array.prototype.concat),Ie=be.call(Function.apply,Array.prototype.splice),Le=be.call(Function.call,String.prototype.replace),De=be.call(Function.call,String.prototype.slice),Be=be.call(Function.call,RegExp.prototype.exec),Ue=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_e=/\\(\\)?/g,We=function(at){var pt=De(at,0,1),Xe=De(at,-1);if(pt==="%"&&Xe!=="%")throw new te("invalid intrinsic syntax, expected closing `%`");if(Xe==="%"&&pt!=="%")throw new te("invalid intrinsic syntax, expected opening `%`");var Ge=[];return Le(at,Ue,function(lt,dt,st,nt){Ge[Ge.length]=st?Le(nt,_e,"$1"):dt||lt}),Ge},Ze=function(at,pt){var Xe=at,Ge;if(Fe(ye,Xe)&&(Ge=ye[Xe],Xe="%"+Ge[0]+"%"),Fe(xe,Xe)){var lt=xe[Xe];if(lt===le&&(lt=Me(Xe)),typeof lt=="undefined"&&!pt)throw new ne("intrinsic "+at+" exists, but is not available. Please file an issue!");return{alias:Ge,name:Xe,value:lt}}throw new te("intrinsic "+at+" does not exist!")};Te.exports=function(at,pt){if(typeof at!="string"||at.length===0)throw new ne("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof pt!="boolean")throw new ne('"allowMissing" argument must be a boolean');if(Be(/^%?[^%]*%?$/,at)===null)throw new te("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Xe=We(at),Ge=Xe.length>0?Xe[0]:"",lt=Ze("%"+Ge+"%",pt),dt=lt.name,st=lt.value,nt=!1,rt=lt.alias;rt&&(Ge=rt[0],Ie(Xe,ke([0,1],rt)));for(var it=1,gt=!0;it<Xe.length;it+=1){var vt=Xe[it],At=De(vt,0,1),Et=De(vt,-1);if((At==='"'||At==="'"||At==="`"||Et==='"'||Et==="'"||Et==="`")&&At!==Et)throw new te("property names with quotes must have matching quotes");if((vt==="constructor"||!gt)&&(nt=!0),Ge+="."+vt,dt="%"+Ge+"%",Fe(xe,dt))st=xe[dt];else if(st!=null){if(!(vt in st)){if(!pt)throw new ne("base intrinsic for "+at+" exists, but the property is not available.");return}if(he&&it+1>=Xe.length){var ut=he(st,vt);gt=!!ut,gt&&"get"in ut&&!("originalValue"in ut.get)?st=ut.get:st=st[vt]}else gt=Fe(st,vt),st=st[vt];gt&&!nt&&(xe[dt]=st)}}return st}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(x,Te,me){"use strict";var ie=x("get-intrinsic"),te=ie("%Object.getOwnPropertyDescriptor%",!0);if(te)try{te([],"length")}catch(ae){te=null}Te.exports=te},{"get-intrinsic":348}],350:[function(x,Te,me){"use strict";var ie={foo:{}},te=Object;Te.exports=function(){return{__proto__:ie}.foo===ie.foo&&!({__proto__:null}instanceof te)}},{}],351:[function(x,Te,me){"use strict";var ie=typeof Symbol!="undefined"&&Symbol,te=x("./shams");Te.exports=function(){return typeof ie!="function"||typeof Symbol!="function"||typeof ie("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:te()}},{"./shams":352}],352:[function(x,Te,me){"use strict";Te.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var te={},ae=Symbol("test"),ne=Object(ae);if(typeof ae=="string"||Object.prototype.toString.call(ae)!=="[object Symbol]"||Object.prototype.toString.call(ne)!=="[object Symbol]")return!1;var oe=42;te[ae]=oe;for(ae in te)return!1;if(typeof Object.keys=="function"&&Object.keys(te).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(te).length!==0)return!1;var he=Object.getOwnPropertySymbols(te);if(he.length!==1||he[0]!==ae||!Object.prototype.propertyIsEnumerable.call(te,ae))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var re=Object.getOwnPropertyDescriptor(te,ae);if(re.value!==oe||re.enumerable!==!0)return!1}return!0}},{}],353:[function(x,Te,me){"use strict";var ie=x("has-symbols/shams");Te.exports=function(){return ie()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(x,Te,me){"use strict";var ie=x("function-bind");Te.exports=ie.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(x,Te,me){var ie=x("http"),te=x("url"),ae=Te.exports;for(var ne in ie)ie.hasOwnProperty(ne)&&(ae[ne]=ie[ne]);ae.request=function(he,re){return he=oe(he),ie.request.call(this,he,re)},ae.get=function(he,re){return he=oe(he),ie.get.call(this,he,re)};function oe(he){if(typeof he=="string"&&(he=te.parse(he)),he.protocol||(he.protocol="https:"),he.protocol!=="https:")throw new Error('Protocol "'+he.protocol+'" not supported. Expected "https:"');return he}},{http:468,url:472}],356:[function(x,Te,me){"use strict";var ie=x("util"),te=x("ms");Te.exports=function(ae){if(typeof ae=="number")return ae;var ne=te(ae);if(ne===void 0){var oe=new Error(ie.format("humanize-ms(%j) result undefined",ae));console.warn(oe.stack)}return ne}},{ms:376,util:419}],357:[function(x,Te,me){me.read=function(ie,te,ae,ne,oe){var he,re,se=oe*8-ne-1,ce=(1<<se)-1,fe=ce>>1,pe=-7,le=ae?oe-1:0,Se=ae?-1:1,xe=ie[te+le];for(le+=Se,he=xe&(1<<-pe)-1,xe>>=-pe,pe+=se;pe>0;he=he*256+ie[te+le],le+=Se,pe-=8);for(re=he&(1<<-pe)-1,he>>=-pe,pe+=ne;pe>0;re=re*256+ie[te+le],le+=Se,pe-=8);if(he===0)he=1-fe;else{if(he===ce)return re?NaN:(xe?-1:1)*(1/0);re=re+Math.pow(2,ne),he=he-fe}return(xe?-1:1)*re*Math.pow(2,he-ne)},me.write=function(ie,te,ae,ne,oe,he){var re,se,ce,fe=he*8-oe-1,pe=(1<<fe)-1,le=pe>>1,Se=oe===23?Math.pow(2,-24)-Math.pow(2,-77):0,xe=ne?0:he-1,ge=ne?1:-1,Me=te<0||te===0&&1/te<0?1:0;for(te=Math.abs(te),isNaN(te)||te===1/0?(se=isNaN(te)?1:0,re=pe):(re=Math.floor(Math.log(te)/Math.LN2),te*(ce=Math.pow(2,-re))<1&&(re--,ce*=2),re+le>=1?te+=Se/ce:te+=Se*Math.pow(2,1-le),te*ce>=2&&(re++,ce/=2),re+le>=pe?(se=0,re=pe):re+le>=1?(se=(te*ce-1)*Math.pow(2,oe),re=re+le):(se=te*Math.pow(2,le-1)*Math.pow(2,oe),re=0));oe>=8;ie[ae+xe]=se&255,xe+=ge,se/=256,oe-=8);for(re=re<<oe|se,fe+=oe;fe>0;ie[ae+xe]=re&255,xe+=ge,re/=256,fe-=8);ie[ae+xe-ge]|=Me*128}},{}],358:[function(x,Te,me){"use strict";var ie=[x("./nextTick"),x("./queueMicrotask"),x("./mutation.js"),x("./messageChannel"),x("./stateChange"),x("./timeout")],te,ae,ne=-1,oe=[],he=!1;function re(){!te||!ae||(te=!1,ae.length?oe=ae.concat(oe):ne=-1,oe.length&&se())}function se(){if(!te){he=!1,te=!0;for(var xe=oe.length,ge=setTimeout(re);xe;){for(ae=oe,oe=[];ae&&++ne<xe;)ae[ne].run();ne=-1,xe=oe.length}ae=null,ne=-1,te=!1,clearTimeout(ge)}}for(var ce,fe=-1,pe=ie.length;++fe<pe;)if(ie[fe]&&ie[fe].test&&ie[fe].test()){ce=ie[fe].install(se);break}function le(xe,ge){this.fun=xe,this.array=ge}le.prototype.run=function(){var xe=this.fun,ge=this.array;switch(ge.length){case 0:return xe();case 1:return xe(ge[0]);case 2:return xe(ge[0],ge[1]);case 3:return xe(ge[0],ge[1],ge[2]);default:return xe.apply(null,ge)}},Te.exports=Se;function Se(xe){var ge=new Array(arguments.length-1);if(arguments.length>1)for(var Me=1;Me<arguments.length;Me++)ge[Me-1]=arguments[Me];oe.push(new le(xe,ge)),!he&&!te&&(he=!0,ce())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(x,Te,me){(function(ie){(function(){"use strict";me.test=function(){return ie.setImmediate?!1:typeof ie.MessageChannel!="undefined"},me.install=function(te){var ae=new ie.MessageChannel;return ae.port1.onmessage=te,function(){ae.port2.postMessage(0)}}}).call(this)}).call(this,typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(x,Te,me){(function(ie){(function(){"use strict";var te=ie.MutationObserver||ie.WebKitMutationObserver;me.test=function(){return te},me.install=function(ae){var ne=0,oe=new te(ae),he=ie.document.createTextNode("");return oe.observe(he,{characterData:!0}),function(){he.data=ne=++ne%2}}}).call(this)}).call(this,typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(x,Te,me){(function(ie){(function(){"use strict";me.test=function(){return typeof ie.queueMicrotask=="function"},me.install=function(te){return function(){ie.queueMicrotask(te)}}}).call(this)}).call(this,typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(x,Te,me){(function(ie){(function(){"use strict";me.test=function(){return"document"in ie&&"onreadystatechange"in ie.document.createElement("script")},me.install=function(te){return function(){var ae=ie.document.createElement("script");return ae.onreadystatechange=function(){te(),ae.onreadystatechange=null,ae.parentNode.removeChild(ae),ae=null},ie.document.documentElement.appendChild(ae),te}}}).call(this)}).call(this,typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(x,Te,me){"use strict";me.test=function(){return!0},me.install=function(ie){return function(){setTimeout(ie,0)}}},{}],364:[function(x,Te,me){typeof Object.create=="function"?Te.exports=function(te,ae){ae&&(te.super_=ae,te.prototype=Object.create(ae.prototype,{constructor:{value:te,enumerable:!1,writable:!0,configurable:!0}}))}:Te.exports=function(te,ae){if(ae){te.super_=ae;var ne=function(){};ne.prototype=ae.prototype,te.prototype=new ne,te.prototype.constructor=te}}},{}],365:[function(x,Te,me){"use strict";var ie=x("has-tostringtag/shams")(),te=x("call-bind/callBound"),ae=te("Object.prototype.toString"),ne=function(se){return ie&&se&&typeof se=="object"&&Symbol.toStringTag in se?!1:ae(se)==="[object Arguments]"},oe=function(se){return ne(se)?!0:se!==null&&typeof se=="object"&&typeof se.length=="number"&&se.length>=0&&ae(se)!=="[object Array]"&&ae(se.callee)==="[object Function]"},he=function(){return ne(arguments)}();ne.isLegacyArguments=oe,Te.exports=he?ne:oe},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(x,Te,me){Te.exports=function(ae){return ae!=null&&(ie(ae)||te(ae)||!!ae._isBuffer)};function ie(ae){return!!ae.constructor&&typeof ae.constructor.isBuffer=="function"&&ae.constructor.isBuffer(ae)}function te(ae){return typeof ae.readFloatLE=="function"&&typeof ae.slice=="function"&&ie(ae.slice(0,0))}},{}],367:[function(x,Te,me){"use strict";var ie=Function.prototype.toString,te=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ae,ne;if(typeof te=="function"&&typeof Object.defineProperty=="function")try{ae=Object.defineProperty({},"length",{get:function(){throw ne}}),ne={},te(function(){throw 42},null,ae)}catch(Fe){Fe!==ne&&(te=null)}else te=null;var oe=/^\s*class\b/,he=function(ke){try{var Ie=ie.call(ke);return oe.test(Ie)}catch(Le){return!1}},re=function(ke){try{return he(ke)?!1:(ie.call(ke),!0)}catch(Ie){return!1}},se=Object.prototype.toString,ce="[object Object]",fe="[object Function]",pe="[object GeneratorFunction]",le="[object HTMLAllCollection]",Se="[object HTML document.all class]",xe="[object HTMLCollection]",ge=typeof Symbol=="function"&&!!Symbol.toStringTag,Me=!(0 in[,]),ye=function(){return!1};if(typeof document=="object"){var be=document.all;se.call(be)===se.call(document.all)&&(ye=function(ke){if((Me||!ke)&&(typeof ke=="undefined"||typeof ke=="object"))try{var Ie=se.call(ke);return(Ie===le||Ie===Se||Ie===xe||Ie===ce)&&ke("")==null}catch(Le){}return!1})}Te.exports=te?function(ke){if(ye(ke))return!0;if(!ke||typeof ke!="function"&&typeof ke!="object")return!1;try{te(ke,null,ae)}catch(Ie){if(Ie!==ne)return!1}return!he(ke)&&re(ke)}:function(ke){if(ye(ke))return!0;if(!ke||typeof ke!="function"&&typeof ke!="object")return!1;if(ge)return re(ke);if(he(ke))return!1;var Ie=se.call(ke);return Ie!==fe&&Ie!==pe&&!/^\[object HTML/.test(Ie)?!1:re(ke)}},{}],368:[function(x,Te,me){"use strict";var ie=Object.prototype.toString,te=Function.prototype.toString,ae=/^\s*(?:function)?\*/,ne=x("has-tostringtag/shams")(),oe=Object.getPrototypeOf,he=function(){if(!ne)return!1;try{return Function("return function*() {}")()}catch(se){}},re;Te.exports=function(ce){if(typeof ce!="function")return!1;if(ae.test(te.call(ce)))return!0;if(!ne){var fe=ie.call(ce);return fe==="[object GeneratorFunction]"}if(!oe)return!1;if(typeof re=="undefined"){var pe=he();re=pe?oe(pe):!1}return oe(ce)===re}},{"has-tostringtag/shams":353}],369:[function(x,Te,me){"use strict";var ie=x("which-typed-array");Te.exports=function(ae){return!!ie(ae)}},{"which-typed-array":420}],370:[function(x,Te,me){var ie={}.toString;Te.exports=Array.isArray||function(te){return ie.call(te)=="[object Array]"}},{}],371:[function(x,Te,me){(function(ie){(function(){(function(te,ae){typeof me=="object"&&typeof Te!="undefined"?Te.exports=ae(te):typeof ve=="function"&&ve.amd?ve(ae):ae(te)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ie!="undefined"?ie:this,function(te){"use strict";te=te||{};var ae=te.Base64,ne="2.6.4",oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",he=function(at){for(var pt={},Xe=0,Ge=at.length;Xe<Ge;Xe++)pt[at.charAt(Xe)]=Xe;return pt}(oe),re=String.fromCharCode,se=function(at){if(at.length<2){var pt=at.charCodeAt(0);return pt<128?at:pt<2048?re(192|pt>>>6)+re(128|pt&63):re(224|pt>>>12&15)+re(128|pt>>>6&63)+re(128|pt&63)}else{var pt=65536+(at.charCodeAt(0)-55296)*1024+(at.charCodeAt(1)-56320);return re(240|pt>>>18&7)+re(128|pt>>>12&63)+re(128|pt>>>6&63)+re(128|pt&63)}},ce=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,fe=function(at){return at.replace(ce,se)},pe=function(at){var pt=[0,2,1][at.length%3],Xe=at.charCodeAt(0)<<16|(at.length>1?at.charCodeAt(1):0)<<8|(at.length>2?at.charCodeAt(2):0),Ge=[oe.charAt(Xe>>>18),oe.charAt(Xe>>>12&63),pt>=2?"=":oe.charAt(Xe>>>6&63),pt>=1?"=":oe.charAt(Xe&63)];return Ge.join("")},le=te.btoa&&typeof te.btoa=="function"?function(at){return te.btoa(at)}:function(at){if(at.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return at.replace(/[\s\S]{1,3}/g,pe)},Se=function(at){return le(fe(String(at)))},xe=function(at){return at.replace(/[+\/]/g,function(pt){return pt=="+"?"-":"_"}).replace(/=/g,"")},ge=function(at,pt){return pt?xe(Se(at)):Se(at)},Me=function(at){return ge(at,!0)},ye;te.Uint8Array&&(ye=function(at,pt){for(var Xe="",Ge=0,lt=at.length;Ge<lt;Ge+=3){var dt=at[Ge],st=at[Ge+1],nt=at[Ge+2],rt=dt<<16|st<<8|nt;Xe+=oe.charAt(rt>>>18)+oe.charAt(rt>>>12&63)+(typeof st!="undefined"?oe.charAt(rt>>>6&63):"=")+(typeof nt!="undefined"?oe.charAt(rt&63):"=")}return pt?xe(Xe):Xe});var be=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Fe=function(at){switch(at.length){case 4:var pt=(7&at.charCodeAt(0))<<18|(63&at.charCodeAt(1))<<12|(63&at.charCodeAt(2))<<6|63&at.charCodeAt(3),Xe=pt-65536;return re((Xe>>>10)+55296)+re((Xe&1023)+56320);case 3:return re((15&at.charCodeAt(0))<<12|(63&at.charCodeAt(1))<<6|63&at.charCodeAt(2));default:return re((31&at.charCodeAt(0))<<6|63&at.charCodeAt(1))}},ke=function(at){return at.replace(be,Fe)},Ie=function(at){var pt=at.length,Xe=pt%4,Ge=(pt>0?he[at.charAt(0)]<<18:0)|(pt>1?he[at.charAt(1)]<<12:0)|(pt>2?he[at.charAt(2)]<<6:0)|(pt>3?he[at.charAt(3)]:0),lt=[re(Ge>>>16),re(Ge>>>8&255),re(Ge&255)];return lt.length-=[0,0,2,1][Xe],lt.join("")},Le=te.atob&&typeof te.atob=="function"?function(at){return te.atob(at)}:function(at){return at.replace(/\S{1,4}/g,Ie)},De=function(at){return Le(String(at).replace(/[^A-Za-z0-9\+\/]/g,""))},Be=function(at){return ke(Le(at))},Ue=function(at){return String(at).replace(/[-_]/g,function(pt){return pt=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},_e=function(at){return Be(Ue(at))},We;te.Uint8Array&&(We=function(at){return Uint8Array.from(De(Ue(at)),function(pt){return pt.charCodeAt(0)})});var Ze=function(){var at=te.Base64;return te.Base64=ae,at};if(te.Base64={VERSION:ne,atob:De,btoa:le,fromBase64:_e,toBase64:ge,utob:fe,encode:ge,encodeURI:Me,btou:ke,decode:_e,noConflict:Ze,fromUint8Array:ye,toUint8Array:We},typeof Object.defineProperty=="function"){var et=function(at){return{value:at,enumerable:!1,writable:!0,configurable:!0}};te.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",et(function(){return _e(this)})),Object.defineProperty(String.prototype,"toBase64",et(function(at){return ge(this,at)})),Object.defineProperty(String.prototype,"toBase64URI",et(function(){return ge(this,!0)}))}}return te.Meteor&&(Base64=te.Base64),typeof Te!="undefined"&&Te.exports?Te.exports.Base64=te.Base64:typeof ve=="function"&&ve.amd&&ve([],function(){return te.Base64}),{Base64:te.Base64}})}).call(this)}).call(this,typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(x,Te,me){"use strict";Te.exports=te;var ie=Object.prototype.hasOwnProperty;function te(ae,ne,oe){if(!ae)throw new TypeError("argument dest is required");if(!ne)throw new TypeError("argument src is required");return oe===void 0&&(oe=!0),Object.getOwnPropertyNames(ne).forEach(function(re){if(!(!oe&&ie.call(ae,re))){var se=Object.getOwnPropertyDescriptor(ne,re);Object.defineProperty(ae,re,se)}}),ae}},{}],373:[function(x,Te,me){"use strict";x("core-js/modules/es.array.map.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/es.regexp.constructor.js"),x("core-js/modules/es.regexp.to-string.js");function ie(){this._types=Object.create(null),this._extensions=Object.create(null);for(var te=0;te<arguments.length;te++)this.define(arguments[te]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}ie.prototype.define=function(te,ae){for(var ne in te){var oe=te[ne].map(function(ce){return ce.toLowerCase()});ne=ne.toLowerCase();for(var he=0;he<oe.length;he++){var re=oe[he];if(re[0]!=="*"){if(!ae&&re in this._types)throw new Error('Attempt to change mapping for "'+re+'" extension from "'+this._types[re]+'" to "'+ne+'". Pass `force=true` to allow this, otherwise remove "'+re+'" from the list of extensions for "'+ne+'".');this._types[re]=ne}}if(ae||!this._extensions[ne]){var se=oe[0];this._extensions[ne]=se[0]!=="*"?se:se.substr(1)}}},ie.prototype.getType=function(te){te=String(te);var ae=te.replace(/^.*[/\\]/,"").toLowerCase(),ne=ae.replace(/^.*\./,"").toLowerCase(),oe=ae.length<te.length,he=ne.length<ae.length-1;return(he||!oe)&&this._types[ne]||null},ie.prototype.getExtension=function(te){return te=/^\s*([^;\s]*)/.test(te)&&RegExp.$1,te&&this._extensions[te.toLowerCase()]||null},Te.exports=ie},{"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.constructor.js":299,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305}],374:[function(x,Te,me){"use strict";var ie=x("./Mime");Te.exports=new ie(x("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(x,Te,me){"use strict";Te.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],376:[function(x,Te,me){var ie=1e3,te=ie*60,ae=te*60,ne=ae*24,oe=ne*7,he=ne*365.25;Te.exports=function(pe,le){le=le||{};var Se=typeof pe;if(Se==="string"&&pe.length>0)return re(pe);if(Se==="number"&&isFinite(pe))return le.long?ce(pe):se(pe);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(pe))};function re(pe){if(pe=String(pe),!(pe.length>100)){var le=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(pe);if(le){var Se=parseFloat(le[1]),xe=(le[2]||"ms").toLowerCase();switch(xe){case"years":case"year":case"yrs":case"yr":case"y":return Se*he;case"weeks":case"week":case"w":return Se*oe;case"days":case"day":case"d":return Se*ne;case"hours":case"hour":case"hrs":case"hr":case"h":return Se*ae;case"minutes":case"minute":case"mins":case"min":case"m":return Se*te;case"seconds":case"second":case"secs":case"sec":case"s":return Se*ie;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return Se;default:return}}}}function se(pe){var le=Math.abs(pe);return le>=ne?Math.round(pe/ne)+"d":le>=ae?Math.round(pe/ae)+"h":le>=te?Math.round(pe/te)+"m":le>=ie?Math.round(pe/ie)+"s":pe+"ms"}function ce(pe){var le=Math.abs(pe);return le>=ne?fe(pe,le,ne,"day"):le>=ae?fe(pe,le,ae,"hour"):le>=te?fe(pe,le,te,"minute"):le>=ie?fe(pe,le,ie,"second"):pe+" ms"}function fe(pe,le,Se,xe){var ge=le>=Se*1.5;return Math.round(pe/Se)+" "+xe+(ge?"s":"")}},{}],377:[function(x,Te,me){"use strict";var ie=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;function ne(he){if(he==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(he)}function oe(){try{if(!Object.assign)return!1;var he=new String("abc");if(he[5]="de",Object.getOwnPropertyNames(he)[0]==="5")return!1;for(var re={},se=0;se<10;se++)re["_"+String.fromCharCode(se)]=se;var ce=Object.getOwnPropertyNames(re).map(function(pe){return re[pe]});if(ce.join("")!=="0123456789")return!1;var fe={};return"abcdefghijklmnopqrst".split("").forEach(function(pe){fe[pe]=pe}),Object.keys(Object.assign({},fe)).join("")==="abcdefghijklmnopqrst"}catch(pe){return!1}}Te.exports=oe()?Object.assign:function(he,re){for(var se,ce=ne(he),fe,pe=1;pe<arguments.length;pe++){se=Object(arguments[pe]);for(var le in se)te.call(se,le)&&(ce[le]=se[le]);if(ie){fe=ie(se);for(var Se=0;Se<fe.length;Se++)ae.call(se,fe[Se])&&(ce[fe[Se]]=se[fe[Se]])}}return ce}},{}],378:[function(x,Te,me){(function(ie){(function(){"use strict";function te(he){if(typeof he!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(he))}function ae(he,re){for(var se="",ce=0,fe=-1,pe=0,le,Se=0;Se<=he.length;++Se){if(Se<he.length)le=he.charCodeAt(Se);else{if(le===47)break;le=47}if(le===47){if(!(fe===Se-1||pe===1))if(fe!==Se-1&&pe===2){if(se.length<2||ce!==2||se.charCodeAt(se.length-1)!==46||se.charCodeAt(se.length-2)!==46){if(se.length>2){var xe=se.lastIndexOf("/");if(xe!==se.length-1){xe===-1?(se="",ce=0):(se=se.slice(0,xe),ce=se.length-1-se.lastIndexOf("/")),fe=Se,pe=0;continue}}else if(se.length===2||se.length===1){se="",ce=0,fe=Se,pe=0;continue}}re&&(se.length>0?se+="/..":se="..",ce=2)}else se.length>0?se+="/"+he.slice(fe+1,Se):se=he.slice(fe+1,Se),ce=Se-fe-1;fe=Se,pe=0}else le===46&&pe!==-1?++pe:pe=-1}return se}function ne(he,re){var se=re.dir||re.root,ce=re.base||(re.name||"")+(re.ext||"");return se?se===re.root?se+ce:se+he+ce:ce}var oe={resolve:function(){for(var re="",se=!1,ce,fe=arguments.length-1;fe>=-1&&!se;fe--){var pe;fe>=0?pe=arguments[fe]:(ce===void 0&&(ce=ie.cwd()),pe=ce),te(pe),pe.length!==0&&(re=pe+"/"+re,se=pe.charCodeAt(0)===47)}return re=ae(re,!se),se?re.length>0?"/"+re:"/":re.length>0?re:"."},normalize:function(re){if(te(re),re.length===0)return".";var se=re.charCodeAt(0)===47,ce=re.charCodeAt(re.length-1)===47;return re=ae(re,!se),re.length===0&&!se&&(re="."),re.length>0&&ce&&(re+="/"),se?"/"+re:re},isAbsolute:function(re){return te(re),re.length>0&&re.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var re,se=0;se<arguments.length;++se){var ce=arguments[se];te(ce),ce.length>0&&(re===void 0?re=ce:re+="/"+ce)}return re===void 0?".":oe.normalize(re)},relative:function(re,se){if(te(re),te(se),re===se||(re=oe.resolve(re),se=oe.resolve(se),re===se))return"";for(var ce=1;ce<re.length&&re.charCodeAt(ce)===47;++ce);for(var fe=re.length,pe=fe-ce,le=1;le<se.length&&se.charCodeAt(le)===47;++le);for(var Se=se.length,xe=Se-le,ge=pe<xe?pe:xe,Me=-1,ye=0;ye<=ge;++ye){if(ye===ge){if(xe>ge){if(se.charCodeAt(le+ye)===47)return se.slice(le+ye+1);if(ye===0)return se.slice(le+ye)}else pe>ge&&(re.charCodeAt(ce+ye)===47?Me=ye:ye===0&&(Me=0));break}var be=re.charCodeAt(ce+ye),Fe=se.charCodeAt(le+ye);if(be!==Fe)break;be===47&&(Me=ye)}var ke="";for(ye=ce+Me+1;ye<=fe;++ye)(ye===fe||re.charCodeAt(ye)===47)&&(ke.length===0?ke+="..":ke+="/..");return ke.length>0?ke+se.slice(le+Me):(le+=Me,se.charCodeAt(le)===47&&++le,se.slice(le))},_makeLong:function(re){return re},dirname:function(re){if(te(re),re.length===0)return".";for(var se=re.charCodeAt(0),ce=se===47,fe=-1,pe=!0,le=re.length-1;le>=1;--le)if(se=re.charCodeAt(le),se===47){if(!pe){fe=le;break}}else pe=!1;return fe===-1?ce?"/":".":ce&&fe===1?"//":re.slice(0,fe)},basename:function(re,se){if(se!==void 0&&typeof se!="string")throw new TypeError('"ext" argument must be a string');te(re);var ce=0,fe=-1,pe=!0,le;if(se!==void 0&&se.length>0&&se.length<=re.length){if(se.length===re.length&&se===re)return"";var Se=se.length-1,xe=-1;for(le=re.length-1;le>=0;--le){var ge=re.charCodeAt(le);if(ge===47){if(!pe){ce=le+1;break}}else xe===-1&&(pe=!1,xe=le+1),Se>=0&&(ge===se.charCodeAt(Se)?--Se===-1&&(fe=le):(Se=-1,fe=xe))}return ce===fe?fe=xe:fe===-1&&(fe=re.length),re.slice(ce,fe)}else{for(le=re.length-1;le>=0;--le)if(re.charCodeAt(le)===47){if(!pe){ce=le+1;break}}else fe===-1&&(pe=!1,fe=le+1);return fe===-1?"":re.slice(ce,fe)}},extname:function(re){te(re);for(var se=-1,ce=0,fe=-1,pe=!0,le=0,Se=re.length-1;Se>=0;--Se){var xe=re.charCodeAt(Se);if(xe===47){if(!pe){ce=Se+1;break}continue}fe===-1&&(pe=!1,fe=Se+1),xe===46?se===-1?se=Se:le!==1&&(le=1):se!==-1&&(le=-1)}return se===-1||fe===-1||le===0||le===1&&se===fe-1&&se===ce+1?"":re.slice(se,fe)},format:function(re){if(re===null||typeof re!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof re);return ne("/",re)},parse:function(re){te(re);var se={root:"",dir:"",base:"",ext:"",name:""};if(re.length===0)return se;var ce=re.charCodeAt(0),fe=ce===47,pe;fe?(se.root="/",pe=1):pe=0;for(var le=-1,Se=0,xe=-1,ge=!0,Me=re.length-1,ye=0;Me>=pe;--Me){if(ce=re.charCodeAt(Me),ce===47){if(!ge){Se=Me+1;break}continue}xe===-1&&(ge=!1,xe=Me+1),ce===46?le===-1?le=Me:ye!==1&&(ye=1):le!==-1&&(ye=-1)}return le===-1||xe===-1||ye===0||ye===1&&le===xe-1&&le===Se+1?xe!==-1&&(Se===0&&fe?se.base=se.name=re.slice(1,xe):se.base=se.name=re.slice(Se,xe)):(Se===0&&fe?(se.name=re.slice(1,le),se.base=re.slice(1,xe)):(se.name=re.slice(Se,le),se.base=re.slice(Se,xe)),se.ext=re.slice(le,xe)),Se>0?se.dir=re.slice(0,Se-1):fe&&(se.dir="/"),se},sep:"/",delimiter:":",win32:null,posix:null};oe.posix=oe,Te.exports=oe}).call(this)}).call(this,x("_process"))},{_process:467}],379:[function(x,Te,me){(function(ie){(function(){(function(){"use strict";var te={function:!0,object:!0},ae=te[typeof window]&&window||this,ne=ae,oe=te[typeof me]&&me,he=te[typeof Te]&&Te&&!Te.nodeType&&Te,re=oe&&he&&typeof ie=="object"&&ie;re&&(re.global===re||re.window===re||re.self===re)&&(ae=re);var se=Math.pow(2,53)-1,ce=/\bOpera/,fe=this,pe=Object.prototype,le=pe.hasOwnProperty,Se=pe.toString;function xe(_e){return _e=String(_e),_e.charAt(0).toUpperCase()+_e.slice(1)}function ge(_e,We,Ze){var et={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return We&&Ze&&/^Win/i.test(_e)&&!/^Windows Phone /i.test(_e)&&(et=et[/[\d.]+$/.exec(_e)])&&(_e="Windows "+et),_e=String(_e),We&&Ze&&(_e=_e.replace(RegExp(We,"i"),Ze)),_e=ye(_e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),_e}function Me(_e,We){var Ze=-1,et=_e?_e.length:0;if(typeof et=="number"&&et>-1&&et<=se)for(;++Ze<et;)We(_e[Ze],Ze,_e);else be(_e,We)}function ye(_e){return _e=De(_e),/^(?:webOS|i(?:OS|P))/.test(_e)?_e:xe(_e)}function be(_e,We){for(var Ze in _e)le.call(_e,Ze)&&We(_e[Ze],Ze,_e)}function Fe(_e){return _e==null?xe(_e):Se.call(_e).slice(8,-1)}function ke(_e,We){var Ze=_e!=null?typeof _e[We]:"number";return!/^(?:boolean|number|string|undefined)$/.test(Ze)&&(Ze=="object"?!!_e[We]:!0)}function Ie(_e){return String(_e).replace(/([ -])(?!$)/g,"$1?")}function Le(_e,We){var Ze=null;return Me(_e,function(et,at){Ze=We(Ze,et,at,_e)}),Ze}function De(_e){return String(_e).replace(/^ +| +$/g,"")}function Be(_e){var We=ae,Ze=_e&&typeof _e=="object"&&Fe(_e)!="String";Ze&&(We=_e,_e=null);var et=We.navigator||{},at=et.userAgent||"";_e||(_e=at);var pt=Ze||fe==ne,Xe=Ze?!!et.likeChrome:/\bChrome\b/.test(_e)&&!/internal|\n/i.test(Se.toString()),Ge="Object",lt=Ze?Ge:"ScriptBridgingProxyObject",dt=Ze?Ge:"Environment",st=Ze&&We.java?"JavaPackage":Fe(We.java),nt=Ze?Ge:"RuntimeObject",rt=/\bJava/.test(st)&&We.java,it=rt&&Fe(We.environment)==dt,gt=rt?"a":"\u03B1",vt=rt?"b":"\u03B2",At=We.document||{},Et=We.operamini||We.opera,ut=ce.test(ut=Ze&&Et?Et["[[Class]]"]:Fe(Et))?ut:Et=null,Ye,Ve=_e,de=[],Ce=null,He=_e==at,je=He&&Et&&typeof Et.version=="function"&&Et.version(),Ae,Re=Ot([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),ze=Wt(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),Qe=Ft([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),ot=xt({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}}),mt=bn(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function Ot(Pt){return Le(Pt,function(zt,an){return zt||RegExp("\\b"+(an.pattern||Ie(an))+"\\b","i").exec(_e)&&(an.label||an)})}function xt(Pt){return Le(Pt,function(zt,an,gn){return zt||(an[Qe]||an[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Qe)]||RegExp("\\b"+Ie(gn)+"(?:\\b|\\w*\\d)","i").exec(_e))&&gn})}function Wt(Pt){return Le(Pt,function(zt,an){return zt||RegExp("\\b"+(an.pattern||Ie(an))+"\\b","i").exec(_e)&&(an.label||an)})}function bn(Pt){return Le(Pt,function(zt,an){var gn=an.pattern||Ie(an);return!zt&&(zt=RegExp("\\b"+gn+"(?:/[\\d.]+|[ \\w.]*)","i").exec(_e))&&(zt=ge(zt,gn,an.label||an)),zt})}function Ft(Pt){return Le(Pt,function(zt,an){var gn=an.pattern||Ie(an);return!zt&&(zt=RegExp("\\b"+gn+" *\\d+[.\\w_]*","i").exec(_e)||RegExp("\\b"+gn+" *\\w+-[\\w]*","i").exec(_e)||RegExp("\\b"+gn+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(_e))&&((zt=String(an.label&&!RegExp(gn,"i").test(an.label)?an.label:zt).split("/"))[1]&&!/[\d.]+/.test(zt[0])&&(zt[0]+=" "+zt[1]),an=an.label||an,zt=ye(zt[0].replace(RegExp(gn,"i"),an).replace(RegExp("; *(?:"+an+"[_-])?","i")," ").replace(RegExp("("+an+")[-_.]?(\\w)","i"),"$1 $2"))),zt})}function Qt(Pt){return Le(Pt,function(zt,an){return zt||(RegExp(an+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(_e)||0)[1]||null})}function Vt(){return this.description||""}if(Re&&(Re=[Re]),/\bAndroid\b/.test(mt)&&!Qe&&(Ye=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(_e))&&(Qe=De(Ye[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),ot&&!Qe?Qe=Ft([ot]):ot&&Qe&&(Qe=Qe.replace(RegExp("^("+Ie(ot)+")[-_.\\s]","i"),ot+" ").replace(RegExp("^("+Ie(ot)+")[-_.]?(\\w)","i"),ot+" $2")),(Ye=/\bGoogle TV\b/.exec(Qe))&&(Qe=Ye[0]),/\bSimulator\b/i.test(_e)&&(Qe=(Qe?Qe+" ":"")+"Simulator"),ze=="Opera Mini"&&/\bOPiOS\b/.test(_e)&&de.push("running in Turbo/Uncompressed mode"),ze=="IE"&&/\blike iPhone OS\b/.test(_e)?(Ye=Be(_e.replace(/like iPhone OS/,"")),ot=Ye.manufacturer,Qe=Ye.product):/^iP/.test(Qe)?(ze||(ze="Safari"),mt="iOS"+((Ye=/ OS ([\d_]+)/i.exec(_e))?" "+Ye[1].replace(/_/g,"."):"")):ze=="Konqueror"&&/^Linux\b/i.test(mt)?mt="Kubuntu":ot&&ot!="Google"&&(/Chrome/.test(ze)&&!/\bMobile Safari\b/i.test(_e)||/\bVita\b/.test(Qe))||/\bAndroid\b/.test(mt)&&/^Chrome/.test(ze)&&/\bVersion\//i.test(_e)?(ze="Android Browser",mt=/\bAndroid\b/.test(mt)?mt:"Android"):ze=="Silk"?(/\bMobi/i.test(_e)||(mt="Android",de.unshift("desktop mode")),/Accelerated *= *true/i.test(_e)&&de.unshift("accelerated")):ze=="UC Browser"&&/\bUCWEB\b/.test(_e)?de.push("speed mode"):ze=="PaleMoon"&&(Ye=/\bFirefox\/([\d.]+)\b/.exec(_e))?de.push("identifying as Firefox "+Ye[1]):ze=="Firefox"&&(Ye=/\b(Mobile|Tablet|TV)\b/i.exec(_e))?(mt||(mt="Firefox OS"),Qe||(Qe=Ye[1])):!ze||(Ye=!/\bMinefield\b/i.test(_e)&&/\b(?:Firefox|Safari)\b/.exec(ze))?(ze&&!Qe&&/[\/,]|^[^(]+?\)/.test(_e.slice(_e.indexOf(Ye+"/")+8))&&(ze=null),(Ye=Qe||ot||mt)&&(Qe||ot||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(mt))&&(ze=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(mt)?mt:Ye)+" Browser")):ze=="Electron"&&(Ye=(/\bChrome\/([\d.]+)\b/.exec(_e)||0)[1])&&de.push("Chromium "+Ye),je||(je=Qt(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",Ie(ze),"(?:Firefox|Minefield|NetFront)"])),(Ye=Re=="iCab"&&parseFloat(je)>3&&"WebKit"||/\bOpera\b/.test(ze)&&(/\bOPR\b/.test(_e)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(_e)&&!/^(?:Trident|EdgeHTML)$/.test(Re)&&"WebKit"||!Re&&/\bMSIE\b/i.test(_e)&&(mt=="Mac OS"?"Tasman":"Trident")||Re=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(ze)&&"NetFront")&&(Re=[Ye]),ze=="IE"&&(Ye=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(_e)||0)[1])?(ze+=" Mobile",mt="Windows Phone "+(/\+$/.test(Ye)?Ye:Ye+".x"),de.unshift("desktop mode")):/\bWPDesktop\b/i.test(_e)?(ze="IE Mobile",mt="Windows Phone 8.x",de.unshift("desktop mode"),je||(je=(/\brv:([\d.]+)/.exec(_e)||0)[1])):ze!="IE"&&Re=="Trident"&&(Ye=/\brv:([\d.]+)/.exec(_e))&&(ze&&de.push("identifying as "+ze+(je?" "+je:"")),ze="IE",je=Ye[1]),He){if(ke(We,"global"))if(rt&&(Ye=rt.lang.System,Ve=Ye.getProperty("os.arch"),mt=mt||Ye.getProperty("os.name")+" "+Ye.getProperty("os.version")),it){try{je=We.require("ringo/engine").version.join("."),ze="RingoJS"}catch(Pt){(Ye=We.system)&&Ye.global.system==We.system&&(ze="Narwhal",mt||(mt=Ye[0].os||null))}ze||(ze="Rhino")}else typeof We.process=="object"&&!We.process.browser&&(Ye=We.process)&&(typeof Ye.versions=="object"&&(typeof Ye.versions.electron=="string"?(de.push("Node "+Ye.versions.node),ze="Electron",je=Ye.versions.electron):typeof Ye.versions.nw=="string"&&(de.push("Chromium "+je,"Node "+Ye.versions.node),ze="NW.js",je=Ye.versions.nw)),ze||(ze="Node.js",Ve=Ye.arch,mt=Ye.platform,je=/[\d.]+/.exec(Ye.version),je=je?je[0]:null));else Fe(Ye=We.runtime)==lt?(ze="Adobe AIR",mt=Ye.flash.system.Capabilities.os):Fe(Ye=We.phantom)==nt?(ze="PhantomJS",je=(Ye=Ye.version||null)&&Ye.major+"."+Ye.minor+"."+Ye.patch):typeof At.documentMode=="number"&&(Ye=/\bTrident\/(\d+)/i.exec(_e))?(je=[je,At.documentMode],(Ye=+Ye[1]+4)!=je[1]&&(de.push("IE "+je[1]+" mode"),Re&&(Re[1]=""),je[1]=Ye),je=ze=="IE"?String(je[1].toFixed(1)):je[0]):typeof At.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(ze)&&(de.push("masking as "+ze+" "+je),ze="IE",je="11.0",Re=["Trident"],mt="Windows");mt=mt&&ye(mt)}if(je&&(Ye=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(je)||/(?:alpha|beta)(?: ?\d)?/i.exec(_e+";"+(He&&et.appMinorVersion))||/\bMinefield\b/i.test(_e)&&"a")&&(Ce=/b/i.test(Ye)?"beta":"alpha",je=je.replace(RegExp(Ye+"\\+?$"),"")+(Ce=="beta"?vt:gt)+(/\d+\+?/.exec(Ye)||"")),ze=="Fennec"||ze=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(mt))ze="Firefox Mobile";else if(ze=="Maxthon"&&je)je=je.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Qe))Qe=="Xbox 360"&&(mt=null),Qe=="Xbox 360"&&/\bIEMobile\b/.test(_e)&&de.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(ze)||ze&&!Qe&&!/Browser|Mobi/.test(ze))&&(mt=="Windows CE"||/Mobi/i.test(_e)))ze+=" Mobile";else if(ze=="IE"&&He)try{We.external===null&&de.unshift("platform preview")}catch(Pt){de.unshift("embedded")}else(/\bBlackBerry\b/.test(Qe)||/\bBB10\b/.test(_e))&&(Ye=(RegExp(Qe.replace(/ +/g," *")+"/([.\\d]+)","i").exec(_e)||0)[1]||je)?(Ye=[Ye,/BB10/.test(_e)],mt=(Ye[1]?(Qe=null,ot="BlackBerry"):"Device Software")+" "+Ye[0],je=null):this!=be&&Qe!="Wii"&&(He&&Et||/Opera/.test(ze)&&/\b(?:MSIE|Firefox)\b/i.test(_e)||ze=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(mt)||ze=="IE"&&(mt&&!/^Win/.test(mt)&&je>5.5||/\bWindows XP\b/.test(mt)&&je>8||je==8&&!/\bTrident\b/.test(_e)))&&!ce.test(Ye=Be.call(be,_e.replace(ce,"")+";"))&&Ye.name&&(Ye="ing as "+Ye.name+((Ye=Ye.version)?" "+Ye:""),ce.test(ze)?(/\bIE\b/.test(Ye)&&mt=="Mac OS"&&(mt=null),Ye="identify"+Ye):(Ye="mask"+Ye,ut?ze=ye(ut.replace(/([a-z])([A-Z])/g,"$1 $2")):ze="Opera",/\bIE\b/.test(Ye)&&(mt=null),He||(je=null)),Re=["Presto"],de.push(Ye));(Ye=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(_e)||0)[1])&&(Ye=[parseFloat(Ye.replace(/\.(\d)$/,".0$1")),Ye],ze=="Safari"&&Ye[1].slice(-1)=="+"?(ze="WebKit Nightly",Ce="alpha",je=Ye[1].slice(0,-1)):(je==Ye[1]||je==(Ye[2]=(/\bSafari\/([\d.]+\+?)/i.exec(_e)||0)[1]))&&(je=null),Ye[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(_e)||0)[1],Ye[0]==537.36&&Ye[2]==537.36&&parseFloat(Ye[1])>=28&&Re=="WebKit"&&(Re=["Blink"]),!He||!Xe&&!Ye[1]?(Re&&(Re[1]="like Safari"),Ye=(Ye=Ye[0],Ye<400?1:Ye<500?2:Ye<526?3:Ye<533?4:Ye<534?"4+":Ye<535?5:Ye<537?6:Ye<538?7:Ye<601?8:Ye<602?9:Ye<604?10:Ye<606?11:Ye<608?12:"12")):(Re&&(Re[1]="like Chrome"),Ye=Ye[1]||(Ye=Ye[0],Ye<530?1:Ye<532?2:Ye<532.05?3:Ye<533?4:Ye<534.03?5:Ye<534.07?6:Ye<534.1?7:Ye<534.13?8:Ye<534.16?9:Ye<534.24?10:Ye<534.3?11:Ye<535.01?12:Ye<535.02?"13+":Ye<535.07?15:Ye<535.11?16:Ye<535.19?17:Ye<536.05?18:Ye<536.1?19:Ye<537.01?20:Ye<537.11?"21+":Ye<537.13?23:Ye<537.18?24:Ye<537.24?25:Ye<537.36?26:Re!="Blink"?"27":"28")),Re&&(Re[1]+=" "+(Ye+=typeof Ye=="number"?".x":/[.+]/.test(Ye)?"":"+")),ze=="Safari"&&(!je||parseInt(je)>45)?je=Ye:ze=="Chrome"&&/\bHeadlessChrome/i.test(_e)&&de.unshift("headless")),ze=="Opera"&&(Ye=/\bzbov|zvav$/.exec(mt))?(ze+=" ",de.unshift("desktop mode"),Ye=="zvav"?(ze+="Mini",je=null):ze+="Mobile",mt=mt.replace(RegExp(" *"+Ye+"$"),"")):ze=="Safari"&&/\bChrome\b/.exec(Re&&Re[1])?(de.unshift("desktop mode"),ze="Chrome Mobile",je=null,/\bOS X\b/.test(mt)?(ot="Apple",mt="iOS 4.3+"):mt=null):/\bSRWare Iron\b/.test(ze)&&!je&&(je=Qt("Chrome")),je&&je.indexOf(Ye=/[\d.]+$/.exec(mt))==0&&_e.indexOf("/"+Ye+"-")>-1&&(mt=De(mt.replace(Ye,""))),mt&&mt.indexOf(ze)!=-1&&!RegExp(ze+" OS").test(mt)&&(mt=mt.replace(RegExp(" *"+Ie(ze)+" *"),"")),Re&&!/\b(?:Avant|Nook)\b/.test(ze)&&(/Browser|Lunascape|Maxthon/.test(ze)||ze!="Safari"&&/^iOS/.test(mt)&&/\bSafari\b/.test(Re[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(ze)&&Re[1])&&(Ye=Re[Re.length-1])&&de.push(Ye),de.length&&(de=["("+de.join("; ")+")"]),ot&&Qe&&Qe.indexOf(ot)<0&&de.push("on "+ot),Qe&&de.push((/^on /.test(de[de.length-1])?"":"on ")+Qe),mt&&(Ye=/ ([\d.+]+)$/.exec(mt),Ae=Ye&&mt.charAt(mt.length-Ye[0].length-1)=="/",mt={architecture:32,family:Ye&&!Ae?mt.replace(Ye[0],""):mt,version:Ye?Ye[1]:null,toString:function(){var Pt=this.version;return this.family+(Pt&&!Ae?" "+Pt:"")+(this.architecture==64?" 64-bit":"")}}),(Ye=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ve))&&!/\bi686\b/i.test(Ve)?(mt&&(mt.architecture=64,mt.family=mt.family.replace(RegExp(" *"+Ye),"")),ze&&(/\bWOW64\b/i.test(_e)||He&&/\w(?:86|32)$/.test(et.cpuClass||et.platform)&&!/\bWin64; x64\b/i.test(_e))&&de.unshift("32-bit")):mt&&/^OS X/.test(mt.family)&&ze=="Chrome"&&parseFloat(je)>=39&&(mt.architecture=64),_e||(_e=null);var yn={};return yn.description=_e,yn.layout=Re&&Re[0],yn.manufacturer=ot,yn.name=ze,yn.prerelease=Ce,yn.product=Qe,yn.ua=_e,yn.version=ze&&je,yn.os=mt||{architecture:null,family:null,version:null,toString:function(){return"null"}},yn.parse=Be,yn.toString=Vt,yn.version&&de.unshift(je),yn.name&&de.unshift(ze),mt&&ze&&!(mt==String(mt).split(" ")[0]&&(mt==ze.split(" ")[0]||Qe))&&de.push(Qe?"("+mt+")":"on "+mt),de.length&&(yn.description=de.join(" ")),yn}var Ue=Be();typeof ve=="function"&&typeof ve.amd=="object"&&ve.amd?(ae.platform=Ue,ve(function(){return Ue})):oe&&he?be(Ue,function(_e,We){oe[We]=_e}):ae.platform=Ue}).call(this)}).call(this)}).call(this,typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(x,Te,me){(function(ie){(function(){"use strict";typeof ie=="undefined"||!ie.version||ie.version.indexOf("v0.")===0||ie.version.indexOf("v1.")===0&&ie.version.indexOf("v1.8.")!==0?Te.exports={nextTick:te}:Te.exports=ie;function te(ae,ne,oe,he){if(typeof ae!="function")throw new TypeError('"callback" argument must be a function');var re=arguments.length,se,ce;switch(re){case 0:case 1:return ie.nextTick(ae);case 2:return ie.nextTick(function(){ae.call(null,ne)});case 3:return ie.nextTick(function(){ae.call(null,ne,oe)});case 4:return ie.nextTick(function(){ae.call(null,ne,oe,he)});default:for(se=new Array(re-1),ce=0;ce<se.length;)se[ce++]=arguments[ce];return ie.nextTick(function(){ae.apply(null,se)})}}}).call(this)}).call(this,x("_process"))},{_process:467}],381:[function(x,Te,me){var ie=Te.exports={},te,ae;function ne(){throw new Error("setTimeout has not been defined")}function oe(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?te=setTimeout:te=ne}catch(Me){te=ne}try{typeof clearTimeout=="function"?ae=clearTimeout:ae=oe}catch(Me){ae=oe}})();function he(Me){if(te===setTimeout)return setTimeout(Me,0);if((te===ne||!te)&&setTimeout)return te=setTimeout,setTimeout(Me,0);try{return te(Me,0)}catch(ye){try{return te.call(null,Me,0)}catch(be){return te.call(this,Me,0)}}}function re(Me){if(ae===clearTimeout)return clearTimeout(Me);if((ae===oe||!ae)&&clearTimeout)return ae=clearTimeout,clearTimeout(Me);try{return ae(Me)}catch(ye){try{return ae.call(null,Me)}catch(be){return ae.call(this,Me)}}}var se=[],ce=!1,fe,pe=-1;function le(){!ce||!fe||(ce=!1,fe.length?se=fe.concat(se):pe=-1,se.length&&Se())}function Se(){if(!ce){var Me=he(le);ce=!0;for(var ye=se.length;ye;){for(fe=se,se=[];++pe<ye;)fe&&fe[pe].run();pe=-1,ye=se.length}fe=null,ce=!1,re(Me)}}ie.nextTick=function(Me){var ye=new Array(arguments.length-1);if(arguments.length>1)for(var be=1;be<arguments.length;be++)ye[be-1]=arguments[be];se.push(new xe(Me,ye)),se.length===1&&!ce&&he(Se)};function xe(Me,ye){this.fun=Me,this.array=ye}xe.prototype.run=function(){this.fun.apply(null,this.array)},ie.title="browser",ie.browser=!0,ie.env={},ie.argv=[],ie.version="",ie.versions={};function ge(){}ie.on=ge,ie.addListener=ge,ie.once=ge,ie.off=ge,ie.removeListener=ge,ie.removeAllListeners=ge,ie.emit=ge,ie.prependListener=ge,ie.prependOnceListener=ge,ie.listeners=function(Me){return[]},ie.binding=function(Me){throw new Error("process.binding is not supported")},ie.cwd=function(){return"/"},ie.chdir=function(Me){throw new Error("process.chdir is not supported")},ie.umask=function(){return 0}},{}],382:[function(x,Te,me){(function(ie){(function(){(function(te){var ae=typeof me=="object"&&me&&!me.nodeType&&me,ne=typeof Te=="object"&&Te&&!Te.nodeType&&Te,oe=typeof ie=="object"&&ie;(oe.global===oe||oe.window===oe||oe.self===oe)&&(te=oe);var he,re=2147483647,se=36,ce=1,fe=26,pe=38,le=700,Se=72,xe=128,ge="-",Me=/^xn--/,ye=/[^\x20-\x7E]/,be=/[\x2E\u3002\uFF0E\uFF61]/g,Fe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ke=se-ce,Ie=Math.floor,Le=String.fromCharCode,De;function Be(st){throw new RangeError(Fe[st])}function Ue(st,nt){for(var rt=st.length,it=[];rt--;)it[rt]=nt(st[rt]);return it}function _e(st,nt){var rt=st.split("@"),it="";rt.length>1&&(it=rt[0]+"@",st=rt[1]),st=st.replace(be,".");var gt=st.split("."),vt=Ue(gt,nt).join(".");return it+vt}function We(st){for(var nt=[],rt=0,it=st.length,gt,vt;rt<it;)gt=st.charCodeAt(rt++),gt>=55296&&gt<=56319&&rt<it?(vt=st.charCodeAt(rt++),(vt&64512)==56320?nt.push(((gt&1023)<<10)+(vt&1023)+65536):(nt.push(gt),rt--)):nt.push(gt);return nt}function Ze(st){return Ue(st,function(nt){var rt="";return nt>65535&&(nt-=65536,rt+=Le(nt>>>10&1023|55296),nt=56320|nt&1023),rt+=Le(nt),rt}).join("")}function et(st){return st-48<10?st-22:st-65<26?st-65:st-97<26?st-97:se}function at(st,nt){return st+22+75*(st<26)-((nt!=0)<<5)}function pt(st,nt,rt){var it=0;for(st=rt?Ie(st/le):st>>1,st+=Ie(st/nt);st>ke*fe>>1;it+=se)st=Ie(st/ke);return Ie(it+(ke+1)*st/(st+pe))}function Xe(st){var nt=[],rt=st.length,it,gt=0,vt=xe,At=Se,Et,ut,Ye,Ve,de,Ce,He,je,Ae;for(Et=st.lastIndexOf(ge),Et<0&&(Et=0),ut=0;ut<Et;++ut)st.charCodeAt(ut)>=128&&Be("not-basic"),nt.push(st.charCodeAt(ut));for(Ye=Et>0?Et+1:0;Ye<rt;){for(Ve=gt,de=1,Ce=se;Ye>=rt&&Be("invalid-input"),He=et(st.charCodeAt(Ye++)),(He>=se||He>Ie((re-gt)/de))&&Be("overflow"),gt+=He*de,je=Ce<=At?ce:Ce>=At+fe?fe:Ce-At,!(He<je);Ce+=se)Ae=se-je,de>Ie(re/Ae)&&Be("overflow"),de*=Ae;it=nt.length+1,At=pt(gt-Ve,it,Ve==0),Ie(gt/it)>re-vt&&Be("overflow"),vt+=Ie(gt/it),gt%=it,nt.splice(gt++,0,vt)}return Ze(nt)}function Ge(st){var nt,rt,it,gt,vt,At,Et,ut,Ye,Ve,de,Ce=[],He,je,Ae,Re;for(st=We(st),He=st.length,nt=xe,rt=0,vt=Se,At=0;At<He;++At)de=st[At],de<128&&Ce.push(Le(de));for(it=gt=Ce.length,gt&&Ce.push(ge);it<He;){for(Et=re,At=0;At<He;++At)de=st[At],de>=nt&&de<Et&&(Et=de);for(je=it+1,Et-nt>Ie((re-rt)/je)&&Be("overflow"),rt+=(Et-nt)*je,nt=Et,At=0;At<He;++At)if(de=st[At],de<nt&&++rt>re&&Be("overflow"),de==nt){for(ut=rt,Ye=se;Ve=Ye<=vt?ce:Ye>=vt+fe?fe:Ye-vt,!(ut<Ve);Ye+=se)Re=ut-Ve,Ae=se-Ve,Ce.push(Le(at(Ve+Re%Ae,0))),ut=Ie(Re/Ae);Ce.push(Le(at(ut,0))),vt=pt(rt,je,it==gt),rt=0,++it}++rt,++nt}return Ce.join("")}function lt(st){return _e(st,function(nt){return Me.test(nt)?Xe(nt.slice(4).toLowerCase()):nt})}function dt(st){return _e(st,function(nt){return ye.test(nt)?"xn--"+Ge(nt):nt})}if(he={version:"1.4.1",ucs2:{decode:We,encode:Ze},decode:Xe,encode:Ge,toASCII:dt,toUnicode:lt},typeof ve=="function"&&typeof ve.amd=="object"&&ve.amd)ve("punycode",function(){return he});else if(ae&&ne)if(Te.exports==ae)ne.exports=he;else for(De in he)he.hasOwnProperty(De)&&(ae[De]=he[De]);else te.punycode=he})(this)}).call(this)}).call(this,typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(x,Te,me){"use strict";function ie(ae,ne){return Object.prototype.hasOwnProperty.call(ae,ne)}Te.exports=function(ae,ne,oe,he){ne=ne||"&",oe=oe||"=";var re={};if(typeof ae!="string"||ae.length===0)return re;var se=/\+/g;ae=ae.split(ne);var ce=1e3;he&&typeof he.maxKeys=="number"&&(ce=he.maxKeys);var fe=ae.length;ce>0&&fe>ce&&(fe=ce);for(var pe=0;pe<fe;++pe){var le=ae[pe].replace(se,"%20"),Se=le.indexOf(oe),xe,ge,Me,ye;Se>=0?(xe=le.substr(0,Se),ge=le.substr(Se+1)):(xe=le,ge=""),Me=decodeURIComponent(xe),ye=decodeURIComponent(ge),ie(re,Me)?te(re[Me])?re[Me].push(ye):re[Me]=[re[Me],ye]:re[Me]=ye}return re};var te=Array.isArray||function(ae){return Object.prototype.toString.call(ae)==="[object Array]"}},{}],384:[function(x,Te,me){"use strict";var ie=function(oe){switch(typeof oe){case"string":return oe;case"boolean":return oe?"true":"false";case"number":return isFinite(oe)?oe:"";default:return""}};Te.exports=function(oe,he,re,se){return he=he||"&",re=re||"=",oe===null&&(oe=void 0),typeof oe=="object"?ae(ne(oe),function(ce){var fe=encodeURIComponent(ie(ce))+re;return te(oe[ce])?ae(oe[ce],function(pe){return fe+encodeURIComponent(ie(pe))}).join(he):fe+encodeURIComponent(ie(oe[ce]))}).join(he):se?encodeURIComponent(ie(se))+re+encodeURIComponent(ie(oe)):""};var te=Array.isArray||function(oe){return Object.prototype.toString.call(oe)==="[object Array]"};function ae(oe,he){if(oe.map)return oe.map(he);for(var re=[],se=0;se<oe.length;se++)re.push(he(oe[se],se));return re}var ne=Object.keys||function(oe){var he=[];for(var re in oe)Object.prototype.hasOwnProperty.call(oe,re)&&he.push(re);return he}},{}],385:[function(x,Te,me){"use strict";me.decode=me.parse=x("./decode"),me.encode=me.stringify=x("./encode")},{"./decode":383,"./encode":384}],386:[function(x,Te,me){"use strict";var ie=x("process-nextick-args"),te=Object.keys||function(le){var Se=[];for(var xe in le)Se.push(xe);return Se};Te.exports=ce;var ae=Object.create(x("core-util-is"));ae.inherits=x("inherits");var ne=x("./_stream_readable"),oe=x("./_stream_writable");ae.inherits(ce,ne);for(var he=te(oe.prototype),re=0;re<he.length;re++){var se=he[re];ce.prototype[se]||(ce.prototype[se]=oe.prototype[se])}function ce(le){if(!(this instanceof ce))return new ce(le);ne.call(this,le),oe.call(this,le),le&&le.readable===!1&&(this.readable=!1),le&&le.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,le&&le.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",fe)}Object.defineProperty(ce.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function fe(){this.allowHalfOpen||this._writableState.ended||ie.nextTick(pe,this)}function pe(le){le.end()}Object.defineProperty(ce.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(le){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=le,this._writableState.destroyed=le)}}),ce.prototype._destroy=function(le,Se){this.push(null),this.end(),ie.nextTick(Se,le)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(x,Te,me){"use strict";Te.exports=ae;var ie=x("./_stream_transform"),te=Object.create(x("core-util-is"));te.inherits=x("inherits"),te.inherits(ae,ie);function ae(ne){if(!(this instanceof ae))return new ae(ne);ie.call(this,ne)}ae.prototype._transform=function(ne,oe,he){he(null,ne)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(x,Te,me){(function(ie,te){(function(){"use strict";var ae=x("process-nextick-args");Te.exports=Le;var ne=x("isarray"),oe;Le.ReadableState=Ie;var he=x("events").EventEmitter,re=function(de,Ce){return de.listeners(Ce).length},se=x("./internal/streams/stream"),ce=x("safe-buffer").Buffer,fe=te.Uint8Array||function(){};function pe(de){return ce.from(de)}function le(de){return ce.isBuffer(de)||de instanceof fe}var Se=Object.create(x("core-util-is"));Se.inherits=x("inherits");var xe=x("util"),ge=void 0;xe&&xe.debuglog?ge=xe.debuglog("stream"):ge=function(){};var Me=x("./internal/streams/BufferList"),ye=x("./internal/streams/destroy"),be;Se.inherits(Le,se);var Fe=["error","close","destroy","pause","resume"];function ke(de,Ce,He){if(typeof de.prependListener=="function")return de.prependListener(Ce,He);!de._events||!de._events[Ce]?de.on(Ce,He):ne(de._events[Ce])?de._events[Ce].unshift(He):de._events[Ce]=[He,de._events[Ce]]}function Ie(de,Ce){oe=oe||x("./_stream_duplex"),de=de||{};var He=Ce instanceof oe;this.objectMode=!!de.objectMode,He&&(this.objectMode=this.objectMode||!!de.readableObjectMode);var je=de.highWaterMark,Ae=de.readableHighWaterMark,Re=this.objectMode?16:16*1024;je||je===0?this.highWaterMark=je:He&&(Ae||Ae===0)?this.highWaterMark=Ae:this.highWaterMark=Re,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new Me,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=de.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,de.encoding&&(be||(be=x("string_decoder/").StringDecoder),this.decoder=new be(de.encoding),this.encoding=de.encoding)}function Le(de){if(oe=oe||x("./_stream_duplex"),!(this instanceof Le))return new Le(de);this._readableState=new Ie(de,this),this.readable=!0,de&&(typeof de.read=="function"&&(this._read=de.read),typeof de.destroy=="function"&&(this._destroy=de.destroy)),se.call(this)}Object.defineProperty(Le.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(de){this._readableState&&(this._readableState.destroyed=de)}}),Le.prototype.destroy=ye.destroy,Le.prototype._undestroy=ye.undestroy,Le.prototype._destroy=function(de,Ce){this.push(null),Ce(de)},Le.prototype.push=function(de,Ce){var He=this._readableState,je;return He.objectMode?je=!0:typeof de=="string"&&(Ce=Ce||He.defaultEncoding,Ce!==He.encoding&&(de=ce.from(de,Ce),Ce=""),je=!0),De(this,de,Ce,!1,je)},Le.prototype.unshift=function(de){return De(this,de,null,!0,!1)};function De(de,Ce,He,je,Ae){var Re=de._readableState;if(Ce===null)Re.reading=!1,at(de,Re);else{var ze;Ae||(ze=Ue(Re,Ce)),ze?de.emit("error",ze):Re.objectMode||Ce&&Ce.length>0?(typeof Ce!="string"&&!Re.objectMode&&Object.getPrototypeOf(Ce)!==ce.prototype&&(Ce=pe(Ce)),je?Re.endEmitted?de.emit("error",new Error("stream.unshift() after end event")):Be(de,Re,Ce,!0):Re.ended?de.emit("error",new Error("stream.push() after EOF")):(Re.reading=!1,Re.decoder&&!He?(Ce=Re.decoder.write(Ce),Re.objectMode||Ce.length!==0?Be(de,Re,Ce,!1):Ge(de,Re)):Be(de,Re,Ce,!1))):je||(Re.reading=!1)}return _e(Re)}function Be(de,Ce,He,je){Ce.flowing&&Ce.length===0&&!Ce.sync?(de.emit("data",He),de.read(0)):(Ce.length+=Ce.objectMode?1:He.length,je?Ce.buffer.unshift(He):Ce.buffer.push(He),Ce.needReadable&&pt(de)),Ge(de,Ce)}function Ue(de,Ce){var He;return!le(Ce)&&typeof Ce!="string"&&Ce!==void 0&&!de.objectMode&&(He=new TypeError("Invalid non-string/buffer chunk")),He}function _e(de){return!de.ended&&(de.needReadable||de.length<de.highWaterMark||de.length===0)}Le.prototype.isPaused=function(){return this._readableState.flowing===!1},Le.prototype.setEncoding=function(de){return be||(be=x("string_decoder/").StringDecoder),this._readableState.decoder=new be(de),this._readableState.encoding=de,this};var We=8388608;function Ze(de){return de>=We?de=We:(de--,de|=de>>>1,de|=de>>>2,de|=de>>>4,de|=de>>>8,de|=de>>>16,de++),de}function et(de,Ce){return de<=0||Ce.length===0&&Ce.ended?0:Ce.objectMode?1:de!==de?Ce.flowing&&Ce.length?Ce.buffer.head.data.length:Ce.length:(de>Ce.highWaterMark&&(Ce.highWaterMark=Ze(de)),de<=Ce.length?de:Ce.ended?Ce.length:(Ce.needReadable=!0,0))}Le.prototype.read=function(de){ge("read",de),de=parseInt(de,10);var Ce=this._readableState,He=de;if(de!==0&&(Ce.emittedReadable=!1),de===0&&Ce.needReadable&&(Ce.length>=Ce.highWaterMark||Ce.ended))return ge("read: emitReadable",Ce.length,Ce.ended),Ce.length===0&&Ce.ended?ut(this):pt(this),null;if(de=et(de,Ce),de===0&&Ce.ended)return Ce.length===0&&ut(this),null;var je=Ce.needReadable;ge("need readable",je),(Ce.length===0||Ce.length-de<Ce.highWaterMark)&&(je=!0,ge("length less than watermark",je)),Ce.ended||Ce.reading?(je=!1,ge("reading or ended",je)):je&&(ge("do read"),Ce.reading=!0,Ce.sync=!0,Ce.length===0&&(Ce.needReadable=!0),this._read(Ce.highWaterMark),Ce.sync=!1,Ce.reading||(de=et(He,Ce)));var Ae;return de>0?Ae=gt(de,Ce):Ae=null,Ae===null?(Ce.needReadable=!0,de=0):Ce.length-=de,Ce.length===0&&(Ce.ended||(Ce.needReadable=!0),He!==de&&Ce.ended&&ut(this)),Ae!==null&&this.emit("data",Ae),Ae};function at(de,Ce){if(!Ce.ended){if(Ce.decoder){var He=Ce.decoder.end();He&&He.length&&(Ce.buffer.push(He),Ce.length+=Ce.objectMode?1:He.length)}Ce.ended=!0,pt(de)}}function pt(de){var Ce=de._readableState;Ce.needReadable=!1,Ce.emittedReadable||(ge("emitReadable",Ce.flowing),Ce.emittedReadable=!0,Ce.sync?ae.nextTick(Xe,de):Xe(de))}function Xe(de){ge("emit readable"),de.emit("readable"),it(de)}function Ge(de,Ce){Ce.readingMore||(Ce.readingMore=!0,ae.nextTick(lt,de,Ce))}function lt(de,Ce){for(var He=Ce.length;!Ce.reading&&!Ce.flowing&&!Ce.ended&&Ce.length<Ce.highWaterMark&&(ge("maybeReadMore read 0"),de.read(0),He!==Ce.length);)He=Ce.length;Ce.readingMore=!1}Le.prototype._read=function(de){this.emit("error",new Error("_read() is not implemented"))},Le.prototype.pipe=function(de,Ce){var He=this,je=this._readableState;switch(je.pipesCount){case 0:je.pipes=de;break;case 1:je.pipes=[je.pipes,de];break;default:je.pipes.push(de);break}je.pipesCount+=1,ge("pipe count=%d opts=%j",je.pipesCount,Ce);var Ae=(!Ce||Ce.end!==!1)&&de!==ie.stdout&&de!==ie.stderr,Re=Ae?Qe:Vt;je.endEmitted?ae.nextTick(Re):He.once("end",Re),de.on("unpipe",ze);function ze(yn,Pt){ge("onunpipe"),yn===He&&Pt&&Pt.hasUnpiped===!1&&(Pt.hasUnpiped=!0,Ot())}function Qe(){ge("onend"),de.end()}var ot=dt(He);de.on("drain",ot);var mt=!1;function Ot(){ge("cleanup"),de.removeListener("close",Ft),de.removeListener("finish",Qt),de.removeListener("drain",ot),de.removeListener("error",bn),de.removeListener("unpipe",ze),He.removeListener("end",Qe),He.removeListener("end",Vt),He.removeListener("data",Wt),mt=!0,je.awaitDrain&&(!de._writableState||de._writableState.needDrain)&&ot()}var xt=!1;He.on("data",Wt);function Wt(yn){ge("ondata"),xt=!1;var Pt=de.write(yn);Pt===!1&&!xt&&((je.pipesCount===1&&je.pipes===de||je.pipesCount>1&&Ve(je.pipes,de)!==-1)&&!mt&&(ge("false write response, pause",He._readableState.awaitDrain),He._readableState.awaitDrain++,xt=!0),He.pause())}function bn(yn){ge("onerror",yn),Vt(),de.removeListener("error",bn),re(de,"error")===0&&de.emit("error",yn)}ke(de,"error",bn);function Ft(){de.removeListener("finish",Qt),Vt()}de.once("close",Ft);function Qt(){ge("onfinish"),de.removeListener("close",Ft),Vt()}de.once("finish",Qt);function Vt(){ge("unpipe"),He.unpipe(de)}return de.emit("pipe",He),je.flowing||(ge("pipe resume"),He.resume()),de};function dt(de){return function(){var Ce=de._readableState;ge("pipeOnDrain",Ce.awaitDrain),Ce.awaitDrain&&Ce.awaitDrain--,Ce.awaitDrain===0&&re(de,"data")&&(Ce.flowing=!0,it(de))}}Le.prototype.unpipe=function(de){var Ce=this._readableState,He={hasUnpiped:!1};if(Ce.pipesCount===0)return this;if(Ce.pipesCount===1)return de&&de!==Ce.pipes?this:(de||(de=Ce.pipes),Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1,de&&de.emit("unpipe",this,He),this);if(!de){var je=Ce.pipes,Ae=Ce.pipesCount;Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1;for(var Re=0;Re<Ae;Re++)je[Re].emit("unpipe",this,He);return this}var ze=Ve(Ce.pipes,de);return ze===-1?this:(Ce.pipes.splice(ze,1),Ce.pipesCount-=1,Ce.pipesCount===1&&(Ce.pipes=Ce.pipes[0]),de.emit("unpipe",this,He),this)},Le.prototype.on=function(de,Ce){var He=se.prototype.on.call(this,de,Ce);if(de==="data")this._readableState.flowing!==!1&&this.resume();else if(de==="readable"){var je=this._readableState;!je.endEmitted&&!je.readableListening&&(je.readableListening=je.needReadable=!0,je.emittedReadable=!1,je.reading?je.length&&pt(this):ae.nextTick(st,this))}return He},Le.prototype.addListener=Le.prototype.on;function st(de){ge("readable nexttick read 0"),de.read(0)}Le.prototype.resume=function(){var de=this._readableState;return de.flowing||(ge("resume"),de.flowing=!0,nt(this,de)),this};function nt(de,Ce){Ce.resumeScheduled||(Ce.resumeScheduled=!0,ae.nextTick(rt,de,Ce))}function rt(de,Ce){Ce.reading||(ge("resume read 0"),de.read(0)),Ce.resumeScheduled=!1,Ce.awaitDrain=0,de.emit("resume"),it(de),Ce.flowing&&!Ce.reading&&de.read(0)}Le.prototype.pause=function(){return ge("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(ge("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function it(de){var Ce=de._readableState;for(ge("flow",Ce.flowing);Ce.flowing&&de.read()!==null;);}Le.prototype.wrap=function(de){var Ce=this,He=this._readableState,je=!1;de.on("end",function(){if(ge("wrapped end"),He.decoder&&!He.ended){var ze=He.decoder.end();ze&&ze.length&&Ce.push(ze)}Ce.push(null)}),de.on("data",function(ze){if(ge("wrapped data"),He.decoder&&(ze=He.decoder.write(ze)),!(He.objectMode&&ze==null)&&!(!He.objectMode&&(!ze||!ze.length))){var Qe=Ce.push(ze);Qe||(je=!0,de.pause())}});for(var Ae in de)this[Ae]===void 0&&typeof de[Ae]=="function"&&(this[Ae]=function(ze){return function(){return de[ze].apply(de,arguments)}}(Ae));for(var Re=0;Re<Fe.length;Re++)de.on(Fe[Re],this.emit.bind(this,Fe[Re]));return this._read=function(ze){ge("wrapped _read",ze),je&&(je=!1,de.resume())},this},Object.defineProperty(Le.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Le._fromList=gt;function gt(de,Ce){if(Ce.length===0)return null;var He;return Ce.objectMode?He=Ce.buffer.shift():!de||de>=Ce.length?(Ce.decoder?He=Ce.buffer.join(""):Ce.buffer.length===1?He=Ce.buffer.head.data:He=Ce.buffer.concat(Ce.length),Ce.buffer.clear()):He=vt(de,Ce.buffer,Ce.decoder),He}function vt(de,Ce,He){var je;return de<Ce.head.data.length?(je=Ce.head.data.slice(0,de),Ce.head.data=Ce.head.data.slice(de)):de===Ce.head.data.length?je=Ce.shift():je=He?At(de,Ce):Et(de,Ce),je}function At(de,Ce){var He=Ce.head,je=1,Ae=He.data;for(de-=Ae.length;He=He.next;){var Re=He.data,ze=de>Re.length?Re.length:de;if(ze===Re.length?Ae+=Re:Ae+=Re.slice(0,de),de-=ze,de===0){ze===Re.length?(++je,He.next?Ce.head=He.next:Ce.head=Ce.tail=null):(Ce.head=He,He.data=Re.slice(ze));break}++je}return Ce.length-=je,Ae}function Et(de,Ce){var He=ce.allocUnsafe(de),je=Ce.head,Ae=1;for(je.data.copy(He),de-=je.data.length;je=je.next;){var Re=je.data,ze=de>Re.length?Re.length:de;if(Re.copy(He,He.length-de,0,ze),de-=ze,de===0){ze===Re.length?(++Ae,je.next?Ce.head=je.next:Ce.head=Ce.tail=null):(Ce.head=je,je.data=Re.slice(ze));break}++Ae}return Ce.length-=Ae,He}function ut(de){var Ce=de._readableState;if(Ce.length>0)throw new Error('"endReadable()" called on non-empty stream');Ce.endEmitted||(Ce.ended=!0,ae.nextTick(Ye,Ce,de))}function Ye(de,Ce){!de.endEmitted&&de.length===0&&(de.endEmitted=!0,Ce.readable=!1,Ce.emit("end"))}function Ve(de,Ce){for(var He=0,je=de.length;He<je;He++)if(de[He]===Ce)return He;return-1}}).call(this)}).call(this,x("_process"),typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":386,"./internal/streams/BufferList":391,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,events:344,inherits:364,isarray:370,"process-nextick-args":380,"safe-buffer":396,"string_decoder/":413,util:89}],389:[function(x,Te,me){"use strict";Te.exports=ne;var ie=x("./_stream_duplex"),te=Object.create(x("core-util-is"));te.inherits=x("inherits"),te.inherits(ne,ie);function ae(re,se){var ce=this._transformState;ce.transforming=!1;var fe=ce.writecb;if(!fe)return this.emit("error",new Error("write callback called multiple times"));ce.writechunk=null,ce.writecb=null,se!=null&&this.push(se),fe(re);var pe=this._readableState;pe.reading=!1,(pe.needReadable||pe.length<pe.highWaterMark)&&this._read(pe.highWaterMark)}function ne(re){if(!(this instanceof ne))return new ne(re);ie.call(this,re),this._transformState={afterTransform:ae.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,re&&(typeof re.transform=="function"&&(this._transform=re.transform),typeof re.flush=="function"&&(this._flush=re.flush)),this.on("prefinish",oe)}function oe(){var re=this;typeof this._flush=="function"?this._flush(function(se,ce){he(re,se,ce)}):he(this,null,null)}ne.prototype.push=function(re,se){return this._transformState.needTransform=!1,ie.prototype.push.call(this,re,se)},ne.prototype._transform=function(re,se,ce){throw new Error("_transform() is not implemented")},ne.prototype._write=function(re,se,ce){var fe=this._transformState;if(fe.writecb=ce,fe.writechunk=re,fe.writeencoding=se,!fe.transforming){var pe=this._readableState;(fe.needTransform||pe.needReadable||pe.length<pe.highWaterMark)&&this._read(pe.highWaterMark)}},ne.prototype._read=function(re){var se=this._transformState;se.writechunk!==null&&se.writecb&&!se.transforming?(se.transforming=!0,this._transform(se.writechunk,se.writeencoding,se.afterTransform)):se.needTransform=!0},ne.prototype._destroy=function(re,se){var ce=this;ie.prototype._destroy.call(this,re,function(fe){se(fe),ce.emit("close")})};function he(re,se,ce){if(se)return re.emit("error",se);if(ce!=null&&re.push(ce),re._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(re._transformState.transforming)throw new Error("Calling transform done when still transforming");return re.push(null)}},{"./_stream_duplex":386,"core-util-is":341,inherits:364}],390:[function(x,Te,me){(function(ie,te,ae){(function(){"use strict";var ne=x("process-nextick-args");Te.exports=ke;function oe(rt,it,gt){this.chunk=rt,this.encoding=it,this.callback=gt,this.next=null}function he(rt){var it=this;this.next=null,this.entry=null,this.finish=function(){nt(it,rt)}}var re=!ie.browser&&["v0.10","v0.9."].indexOf(ie.version.slice(0,5))>-1?ae:ne.nextTick,se;ke.WritableState=be;var ce=Object.create(x("core-util-is"));ce.inherits=x("inherits");var fe={deprecate:x("util-deprecate")},pe=x("./internal/streams/stream"),le=x("safe-buffer").Buffer,Se=te.Uint8Array||function(){};function xe(rt){return le.from(rt)}function ge(rt){return le.isBuffer(rt)||rt instanceof Se}var Me=x("./internal/streams/destroy");ce.inherits(ke,pe);function ye(){}function be(rt,it){se=se||x("./_stream_duplex"),rt=rt||{};var gt=it instanceof se;this.objectMode=!!rt.objectMode,gt&&(this.objectMode=this.objectMode||!!rt.writableObjectMode);var vt=rt.highWaterMark,At=rt.writableHighWaterMark,Et=this.objectMode?16:16*1024;vt||vt===0?this.highWaterMark=vt:gt&&(At||At===0)?this.highWaterMark=At:this.highWaterMark=Et,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ut=rt.decodeStrings===!1;this.decodeStrings=!ut,this.defaultEncoding=rt.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ye){Ze(it,Ye)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new he(this)}be.prototype.getBuffer=function(){for(var it=this.bufferedRequest,gt=[];it;)gt.push(it),it=it.next;return gt},function(){try{Object.defineProperty(be.prototype,"buffer",{get:fe.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(rt){}}();var Fe;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Fe=Function.prototype[Symbol.hasInstance],Object.defineProperty(ke,Symbol.hasInstance,{value:function(rt){return Fe.call(this,rt)?!0:this!==ke?!1:rt&&rt._writableState instanceof be}})):Fe=function(rt){return rt instanceof this};function ke(rt){if(se=se||x("./_stream_duplex"),!Fe.call(ke,this)&&!(this instanceof se))return new ke(rt);this._writableState=new be(rt,this),this.writable=!0,rt&&(typeof rt.write=="function"&&(this._write=rt.write),typeof rt.writev=="function"&&(this._writev=rt.writev),typeof rt.destroy=="function"&&(this._destroy=rt.destroy),typeof rt.final=="function"&&(this._final=rt.final)),pe.call(this)}ke.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Ie(rt,it){var gt=new Error("write after end");rt.emit("error",gt),ne.nextTick(it,gt)}function Le(rt,it,gt,vt){var At=!0,Et=!1;return gt===null?Et=new TypeError("May not write null values to stream"):typeof gt!="string"&&gt!==void 0&&!it.objectMode&&(Et=new TypeError("Invalid non-string/buffer chunk")),Et&&(rt.emit("error",Et),ne.nextTick(vt,Et),At=!1),At}ke.prototype.write=function(rt,it,gt){var vt=this._writableState,At=!1,Et=!vt.objectMode&&ge(rt);return Et&&!le.isBuffer(rt)&&(rt=xe(rt)),typeof it=="function"&&(gt=it,it=null),Et?it="buffer":it||(it=vt.defaultEncoding),typeof gt!="function"&&(gt=ye),vt.ended?Ie(this,gt):(Et||Le(this,vt,rt,gt))&&(vt.pendingcb++,At=Be(this,vt,Et,rt,it,gt)),At},ke.prototype.cork=function(){var rt=this._writableState;rt.corked++},ke.prototype.uncork=function(){var rt=this._writableState;rt.corked&&(rt.corked--,!rt.writing&&!rt.corked&&!rt.finished&&!rt.bufferProcessing&&rt.bufferedRequest&&pt(this,rt))},ke.prototype.setDefaultEncoding=function(it){if(typeof it=="string"&&(it=it.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((it+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+it);return this._writableState.defaultEncoding=it,this};function De(rt,it,gt){return!rt.objectMode&&rt.decodeStrings!==!1&&typeof it=="string"&&(it=le.from(it,gt)),it}Object.defineProperty(ke.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Be(rt,it,gt,vt,At,Et){if(!gt){var ut=De(it,vt,At);vt!==ut&&(gt=!0,At="buffer",vt=ut)}var Ye=it.objectMode?1:vt.length;it.length+=Ye;var Ve=it.length<it.highWaterMark;if(Ve||(it.needDrain=!0),it.writing||it.corked){var de=it.lastBufferedRequest;it.lastBufferedRequest={chunk:vt,encoding:At,isBuf:gt,callback:Et,next:null},de?de.next=it.lastBufferedRequest:it.bufferedRequest=it.lastBufferedRequest,it.bufferedRequestCount+=1}else Ue(rt,it,!1,Ye,vt,At,Et);return Ve}function Ue(rt,it,gt,vt,At,Et,ut){it.writelen=vt,it.writecb=ut,it.writing=!0,it.sync=!0,gt?rt._writev(At,it.onwrite):rt._write(At,Et,it.onwrite),it.sync=!1}function _e(rt,it,gt,vt,At){--it.pendingcb,gt?(ne.nextTick(At,vt),ne.nextTick(dt,rt,it),rt._writableState.errorEmitted=!0,rt.emit("error",vt)):(At(vt),rt._writableState.errorEmitted=!0,rt.emit("error",vt),dt(rt,it))}function We(rt){rt.writing=!1,rt.writecb=null,rt.length-=rt.writelen,rt.writelen=0}function Ze(rt,it){var gt=rt._writableState,vt=gt.sync,At=gt.writecb;if(We(gt),it)_e(rt,gt,vt,it,At);else{var Et=Xe(gt);!Et&&!gt.corked&&!gt.bufferProcessing&&gt.bufferedRequest&&pt(rt,gt),vt?re(et,rt,gt,Et,At):et(rt,gt,Et,At)}}function et(rt,it,gt,vt){gt||at(rt,it),it.pendingcb--,vt(),dt(rt,it)}function at(rt,it){it.length===0&&it.needDrain&&(it.needDrain=!1,rt.emit("drain"))}function pt(rt,it){it.bufferProcessing=!0;var gt=it.bufferedRequest;if(rt._writev&&gt&&gt.next){var vt=it.bufferedRequestCount,At=new Array(vt),Et=it.corkedRequestsFree;Et.entry=gt;for(var ut=0,Ye=!0;gt;)At[ut]=gt,gt.isBuf||(Ye=!1),gt=gt.next,ut+=1;At.allBuffers=Ye,Ue(rt,it,!0,it.length,At,"",Et.finish),it.pendingcb++,it.lastBufferedRequest=null,Et.next?(it.corkedRequestsFree=Et.next,Et.next=null):it.corkedRequestsFree=new he(it),it.bufferedRequestCount=0}else{for(;gt;){var Ve=gt.chunk,de=gt.encoding,Ce=gt.callback,He=it.objectMode?1:Ve.length;if(Ue(rt,it,!1,He,Ve,de,Ce),gt=gt.next,it.bufferedRequestCount--,it.writing)break}gt===null&&(it.lastBufferedRequest=null)}it.bufferedRequest=gt,it.bufferProcessing=!1}ke.prototype._write=function(rt,it,gt){gt(new Error("_write() is not implemented"))},ke.prototype._writev=null,ke.prototype.end=function(rt,it,gt){var vt=this._writableState;typeof rt=="function"?(gt=rt,rt=null,it=null):typeof it=="function"&&(gt=it,it=null),rt!=null&&this.write(rt,it),vt.corked&&(vt.corked=1,this.uncork()),!vt.ending&&!vt.finished&&st(this,vt,gt)};function Xe(rt){return rt.ending&&rt.length===0&&rt.bufferedRequest===null&&!rt.finished&&!rt.writing}function Ge(rt,it){rt._final(function(gt){it.pendingcb--,gt&&rt.emit("error",gt),it.prefinished=!0,rt.emit("prefinish"),dt(rt,it)})}function lt(rt,it){!it.prefinished&&!it.finalCalled&&(typeof rt._final=="function"?(it.pendingcb++,it.finalCalled=!0,ne.nextTick(Ge,rt,it)):(it.prefinished=!0,rt.emit("prefinish")))}function dt(rt,it){var gt=Xe(it);return gt&&(lt(rt,it),it.pendingcb===0&&(it.finished=!0,rt.emit("finish"))),gt}function st(rt,it,gt){it.ending=!0,dt(rt,it),gt&&(it.finished?ne.nextTick(gt):rt.once("finish",gt)),it.ended=!0,rt.writable=!1}function nt(rt,it,gt){var vt=rt.entry;for(rt.entry=null;vt;){var At=vt.callback;it.pendingcb--,At(gt),vt=vt.next}it.corkedRequestsFree?it.corkedRequestsFree.next=rt:it.corkedRequestsFree=rt}Object.defineProperty(ke.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(rt){this._writableState&&(this._writableState.destroyed=rt)}}),ke.prototype.destroy=Me.destroy,ke.prototype._undestroy=Me.undestroy,ke.prototype._destroy=function(rt,it){this.end(),it(rt)}}).call(this)}).call(this,x("_process"),typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},x("timers").setImmediate)},{"./_stream_duplex":386,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,inherits:364,"process-nextick-args":380,"safe-buffer":396,timers:414,"util-deprecate":416}],391:[function(x,Te,me){"use strict";function ie(oe,he){if(!(oe instanceof he))throw new TypeError("Cannot call a class as a function")}var te=x("safe-buffer").Buffer,ae=x("util");function ne(oe,he,re){oe.copy(he,re)}Te.exports=function(){function oe(){ie(this,oe),this.head=null,this.tail=null,this.length=0}return oe.prototype.push=function(re){var se={data:re,next:null};this.length>0?this.tail.next=se:this.head=se,this.tail=se,++this.length},oe.prototype.unshift=function(re){var se={data:re,next:this.head};this.length===0&&(this.tail=se),this.head=se,++this.length},oe.prototype.shift=function(){if(this.length!==0){var re=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,re}},oe.prototype.clear=function(){this.head=this.tail=null,this.length=0},oe.prototype.join=function(re){if(this.length===0)return"";for(var se=this.head,ce=""+se.data;se=se.next;)ce+=re+se.data;return ce},oe.prototype.concat=function(re){if(this.length===0)return te.alloc(0);if(this.length===1)return this.head.data;for(var se=te.allocUnsafe(re>>>0),ce=this.head,fe=0;ce;)ne(ce.data,se,fe),fe+=ce.data.length,ce=ce.next;return se},oe}(),ae&&ae.inspect&&ae.inspect.custom&&(Te.exports.prototype[ae.inspect.custom]=function(){var oe=ae.inspect({length:this.length});return this.constructor.name+" "+oe})},{"safe-buffer":396,util:89}],392:[function(x,Te,me){"use strict";var ie=x("process-nextick-args");function te(oe,he){var re=this,se=this._readableState&&this._readableState.destroyed,ce=this._writableState&&this._writableState.destroyed;return se||ce?(he?he(oe):oe&&(!this._writableState||!this._writableState.errorEmitted)&&ie.nextTick(ne,this,oe),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(oe||null,function(fe){!he&&fe?(ie.nextTick(ne,re,fe),re._writableState&&(re._writableState.errorEmitted=!0)):he&&he(fe)}),this)}function ae(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ne(oe,he){oe.emit("error",he)}Te.exports={destroy:te,undestroy:ae}},{"process-nextick-args":380}],393:[function(x,Te,me){Te.exports=x("events").EventEmitter},{events:344}],394:[function(x,Te,me){me=Te.exports=x("./lib/_stream_readable.js"),me.Stream=me,me.Readable=me,me.Writable=x("./lib/_stream_writable.js"),me.Duplex=x("./lib/_stream_duplex.js"),me.Transform=x("./lib/_stream_transform.js"),me.PassThrough=x("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(x,Te,me){var ie=function(te){"use strict";var ae=Object.prototype,ne=ae.hasOwnProperty,oe,he=typeof Symbol=="function"?Symbol:{},re=he.iterator||"@@iterator",se=he.asyncIterator||"@@asyncIterator",ce=he.toStringTag||"@@toStringTag";function fe(lt,dt,st){return Object.defineProperty(lt,dt,{value:st,enumerable:!0,configurable:!0,writable:!0}),lt[dt]}try{fe({},"")}catch(lt){fe=function(dt,st,nt){return dt[st]=nt}}function pe(lt,dt,st,nt){var rt=dt&&dt.prototype instanceof be?dt:be,it=Object.create(rt.prototype),gt=new pt(nt||[]);return it._invoke=We(lt,st,gt),it}te.wrap=pe;function le(lt,dt,st){try{return{type:"normal",arg:lt.call(dt,st)}}catch(nt){return{type:"throw",arg:nt}}}var Se="suspendedStart",xe="suspendedYield",ge="executing",Me="completed",ye={};function be(){}function Fe(){}function ke(){}var Ie={};fe(Ie,re,function(){return this});var Le=Object.getPrototypeOf,De=Le&&Le(Le(Xe([])));De&&De!==ae&&ne.call(De,re)&&(Ie=De);var Be=ke.prototype=be.prototype=Object.create(Ie);Fe.prototype=ke,fe(Be,"constructor",ke),fe(ke,"constructor",Fe),Fe.displayName=fe(ke,ce,"GeneratorFunction");function Ue(lt){["next","throw","return"].forEach(function(dt){fe(lt,dt,function(st){return this._invoke(dt,st)})})}te.isGeneratorFunction=function(lt){var dt=typeof lt=="function"&&lt.constructor;return dt?dt===Fe||(dt.displayName||dt.name)==="GeneratorFunction":!1},te.mark=function(lt){return Object.setPrototypeOf?Object.setPrototypeOf(lt,ke):(lt.__proto__=ke,fe(lt,ce,"GeneratorFunction")),lt.prototype=Object.create(Be),lt},te.awrap=function(lt){return{__await:lt}};function _e(lt,dt){function st(it,gt,vt,At){var Et=le(lt[it],lt,gt);if(Et.type==="throw")At(Et.arg);else{var ut=Et.arg,Ye=ut.value;return Ye&&typeof Ye=="object"&&ne.call(Ye,"__await")?dt.resolve(Ye.__await).then(function(Ve){st("next",Ve,vt,At)},function(Ve){st("throw",Ve,vt,At)}):dt.resolve(Ye).then(function(Ve){ut.value=Ve,vt(ut)},function(Ve){return st("throw",Ve,vt,At)})}}var nt;function rt(it,gt){function vt(){return new dt(function(At,Et){st(it,gt,At,Et)})}return nt=nt?nt.then(vt,vt):vt()}this._invoke=rt}Ue(_e.prototype),fe(_e.prototype,se,function(){return this}),te.AsyncIterator=_e,te.async=function(lt,dt,st,nt,rt){rt===void 0&&(rt=Promise);var it=new _e(pe(lt,dt,st,nt),rt);return te.isGeneratorFunction(dt)?it:it.next().then(function(gt){return gt.done?gt.value:it.next()})};function We(lt,dt,st){var nt=Se;return function(it,gt){if(nt===ge)throw new Error("Generator is already running");if(nt===Me){if(it==="throw")throw gt;return Ge()}for(st.method=it,st.arg=gt;;){var vt=st.delegate;if(vt){var At=Ze(vt,st);if(At){if(At===ye)continue;return At}}if(st.method==="next")st.sent=st._sent=st.arg;else if(st.method==="throw"){if(nt===Se)throw nt=Me,st.arg;st.dispatchException(st.arg)}else st.method==="return"&&st.abrupt("return",st.arg);nt=ge;var Et=le(lt,dt,st);if(Et.type==="normal"){if(nt=st.done?Me:xe,Et.arg===ye)continue;return{value:Et.arg,done:st.done}}else Et.type==="throw"&&(nt=Me,st.method="throw",st.arg=Et.arg)}}}function Ze(lt,dt){var st=lt.iterator[dt.method];if(st===oe){if(dt.delegate=null,dt.method==="throw"){if(lt.iterator.return&&(dt.method="return",dt.arg=oe,Ze(lt,dt),dt.method==="throw"))return ye;dt.method="throw",dt.arg=new TypeError("The iterator does not provide a 'throw' method")}return ye}var nt=le(st,lt.iterator,dt.arg);if(nt.type==="throw")return dt.method="throw",dt.arg=nt.arg,dt.delegate=null,ye;var rt=nt.arg;if(!rt)return dt.method="throw",dt.arg=new TypeError("iterator result is not an object"),dt.delegate=null,ye;if(rt.done)dt[lt.resultName]=rt.value,dt.next=lt.nextLoc,dt.method!=="return"&&(dt.method="next",dt.arg=oe);else return rt;return dt.delegate=null,ye}Ue(Be),fe(Be,ce,"Generator"),fe(Be,re,function(){return this}),fe(Be,"toString",function(){return"[object Generator]"});function et(lt){var dt={tryLoc:lt[0]};1 in lt&&(dt.catchLoc=lt[1]),2 in lt&&(dt.finallyLoc=lt[2],dt.afterLoc=lt[3]),this.tryEntries.push(dt)}function at(lt){var dt=lt.completion||{};dt.type="normal",delete dt.arg,lt.completion=dt}function pt(lt){this.tryEntries=[{tryLoc:"root"}],lt.forEach(et,this),this.reset(!0)}te.keys=function(lt){var dt=[];for(var st in lt)dt.push(st);return dt.reverse(),function nt(){for(;dt.length;){var rt=dt.pop();if(rt in lt)return nt.value=rt,nt.done=!1,nt}return nt.done=!0,nt}};function Xe(lt){if(lt){var dt=lt[re];if(dt)return dt.call(lt);if(typeof lt.next=="function")return lt;if(!isNaN(lt.length)){var st=-1,nt=function rt(){for(;++st<lt.length;)if(ne.call(lt,st))return rt.value=lt[st],rt.done=!1,rt;return rt.value=oe,rt.done=!0,rt};return nt.next=nt}}return{next:Ge}}te.values=Xe;function Ge(){return{value:oe,done:!0}}return pt.prototype={constructor:pt,reset:function(lt){if(this.prev=0,this.next=0,this.sent=this._sent=oe,this.done=!1,this.delegate=null,this.method="next",this.arg=oe,this.tryEntries.forEach(at),!lt)for(var dt in this)dt.charAt(0)==="t"&&ne.call(this,dt)&&!isNaN(+dt.slice(1))&&(this[dt]=oe)},stop:function(){this.done=!0;var lt=this.tryEntries[0],dt=lt.completion;if(dt.type==="throw")throw dt.arg;return this.rval},dispatchException:function(lt){if(this.done)throw lt;var dt=this;function st(At,Et){return it.type="throw",it.arg=lt,dt.next=At,Et&&(dt.method="next",dt.arg=oe),!!Et}for(var nt=this.tryEntries.length-1;nt>=0;--nt){var rt=this.tryEntries[nt],it=rt.completion;if(rt.tryLoc==="root")return st("end");if(rt.tryLoc<=this.prev){var gt=ne.call(rt,"catchLoc"),vt=ne.call(rt,"finallyLoc");if(gt&&vt){if(this.prev<rt.catchLoc)return st(rt.catchLoc,!0);if(this.prev<rt.finallyLoc)return st(rt.finallyLoc)}else if(gt){if(this.prev<rt.catchLoc)return st(rt.catchLoc,!0)}else if(vt){if(this.prev<rt.finallyLoc)return st(rt.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(lt,dt){for(var st=this.tryEntries.length-1;st>=0;--st){var nt=this.tryEntries[st];if(nt.tryLoc<=this.prev&&ne.call(nt,"finallyLoc")&&this.prev<nt.finallyLoc){var rt=nt;break}}rt&&(lt==="break"||lt==="continue")&&rt.tryLoc<=dt&&dt<=rt.finallyLoc&&(rt=null);var it=rt?rt.completion:{};return it.type=lt,it.arg=dt,rt?(this.method="next",this.next=rt.finallyLoc,ye):this.complete(it)},complete:function(lt,dt){if(lt.type==="throw")throw lt.arg;return lt.type==="break"||lt.type==="continue"?this.next=lt.arg:lt.type==="return"?(this.rval=this.arg=lt.arg,this.method="return",this.next="end"):lt.type==="normal"&&dt&&(this.next=dt),ye},finish:function(lt){for(var dt=this.tryEntries.length-1;dt>=0;--dt){var st=this.tryEntries[dt];if(st.finallyLoc===lt)return this.complete(st.completion,st.afterLoc),at(st),ye}},catch:function(lt){for(var dt=this.tryEntries.length-1;dt>=0;--dt){var st=this.tryEntries[dt];if(st.tryLoc===lt){var nt=st.completion;if(nt.type==="throw"){var rt=nt.arg;at(st)}return rt}}throw new Error("illegal catch attempt")},delegateYield:function(lt,dt,st){return this.delegate={iterator:Xe(lt),resultName:dt,nextLoc:st},this.method==="next"&&(this.arg=oe),ye}},te}(typeof Te=="object"?Te.exports:{});try{regeneratorRuntime=ie}catch(te){typeof globalThis=="object"?globalThis.regeneratorRuntime=ie:Function("r","regeneratorRuntime = r")(ie)}},{}],396:[function(x,Te,me){var ie=x("buffer"),te=ie.Buffer;function ae(oe,he){for(var re in oe)he[re]=oe[re]}te.from&&te.alloc&&te.allocUnsafe&&te.allocUnsafeSlow?Te.exports=ie:(ae(ie,me),me.Buffer=ne);function ne(oe,he,re){return te(oe,he,re)}ae(te,ne),ne.from=function(oe,he,re){if(typeof oe=="number")throw new TypeError("Argument must not be a number");return te(oe,he,re)},ne.alloc=function(oe,he,re){if(typeof oe!="number")throw new TypeError("Argument must be a number");var se=te(oe);return he!==void 0?typeof re=="string"?se.fill(he,re):se.fill(he):se.fill(0),se},ne.allocUnsafe=function(oe){if(typeof oe!="number")throw new TypeError("Argument must be a number");return te(oe)},ne.allocUnsafeSlow=function(oe){if(typeof oe!="number")throw new TypeError("Argument must be a number");return ie.SlowBuffer(oe)}},{buffer:90}],397:[function(x,Te,me){(function(ie){(function(){(function(te){te.parser=function(ut,Ye){return new ne(ut,Ye)},te.SAXParser=ne,te.SAXStream=pe,te.createStream=fe,te.MAX_BUFFER_LENGTH=64*1024;var ae=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];te.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function ne(ut,Ye){if(!(this instanceof ne))return new ne(ut,Ye);var Ve=this;he(Ve),Ve.q=Ve.c="",Ve.bufferCheckPosition=te.MAX_BUFFER_LENGTH,Ve.opt=Ye||{},Ve.opt.lowercase=Ve.opt.lowercase||Ve.opt.lowercasetags,Ve.looseCase=Ve.opt.lowercase?"toLowerCase":"toUpperCase",Ve.tags=[],Ve.closed=Ve.closedRoot=Ve.sawRoot=!1,Ve.tag=Ve.error=null,Ve.strict=!!ut,Ve.noscript=!!(ut||Ve.opt.noscript),Ve.state=_e.BEGIN,Ve.strictEntities=Ve.opt.strictEntities,Ve.ENTITIES=Ve.strictEntities?Object.create(te.XML_ENTITIES):Object.create(te.ENTITIES),Ve.attribList=[],Ve.opt.xmlns&&(Ve.ns=Object.create(Me)),Ve.trackPosition=Ve.opt.position!==!1,Ve.trackPosition&&(Ve.position=Ve.line=Ve.column=0),Ze(Ve,"onready")}Object.create||(Object.create=function(ut){function Ye(){}Ye.prototype=ut;var Ve=new Ye;return Ve}),Object.keys||(Object.keys=function(ut){var Ye=[];for(var Ve in ut)ut.hasOwnProperty(Ve)&&Ye.push(Ve);return Ye});function oe(ut){for(var Ye=Math.max(te.MAX_BUFFER_LENGTH,10),Ve=0,de=0,Ce=ae.length;de<Ce;de++){var He=ut[ae[de]].length;if(He>Ye)switch(ae[de]){case"textNode":at(ut);break;case"cdata":et(ut,"oncdata",ut.cdata),ut.cdata="";break;case"script":et(ut,"onscript",ut.script),ut.script="";break;default:Xe(ut,"Max buffer length exceeded: "+ae[de])}Ve=Math.max(Ve,He)}var je=te.MAX_BUFFER_LENGTH-Ve;ut.bufferCheckPosition=je+ut.position}function he(ut){for(var Ye=0,Ve=ae.length;Ye<Ve;Ye++)ut[ae[Ye]]=""}function re(ut){at(ut),ut.cdata!==""&&(et(ut,"oncdata",ut.cdata),ut.cdata=""),ut.script!==""&&(et(ut,"onscript",ut.script),ut.script="")}ne.prototype={end:function(){Ge(this)},write:Et,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){re(this)}};var se;try{se=x("stream").Stream}catch(ut){se=function(){}}var ce=te.EVENTS.filter(function(ut){return ut!=="error"&&ut!=="end"});function fe(ut,Ye){return new pe(ut,Ye)}function pe(ut,Ye){if(!(this instanceof pe))return new pe(ut,Ye);se.apply(this),this._parser=new ne(ut,Ye),this.writable=!0,this.readable=!0;var Ve=this;this._parser.onend=function(){Ve.emit("end")},this._parser.onerror=function(de){Ve.emit("error",de),Ve._parser.error=null},this._decoder=null,ce.forEach(function(de){Object.defineProperty(Ve,"on"+de,{get:function(){return Ve._parser["on"+de]},set:function(Ce){if(!Ce)return Ve.removeAllListeners(de),Ve._parser["on"+de]=Ce,Ce;Ve.on(de,Ce)},enumerable:!0,configurable:!1})})}pe.prototype=Object.create(se.prototype,{constructor:{value:pe}}),pe.prototype.write=function(ut){if(typeof ie=="function"&&typeof ie.isBuffer=="function"&&ie.isBuffer(ut)){if(!this._decoder){var Ye=x("string_decoder").StringDecoder;this._decoder=new Ye("utf8")}ut=this._decoder.write(ut)}return this._parser.write(ut.toString()),this.emit("data",ut),!0},pe.prototype.end=function(ut){return ut&&ut.length&&this.write(ut),this._parser.end(),!0},pe.prototype.on=function(ut,Ye){var Ve=this;return!Ve._parser["on"+ut]&&ce.indexOf(ut)!==-1&&(Ve._parser["on"+ut]=function(){var de=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);de.splice(0,0,ut),Ve.emit.apply(Ve,de)}),se.prototype.on.call(Ve,ut,Ye)};var le="[CDATA[",Se="DOCTYPE",xe="http://www.w3.org/XML/1998/namespace",ge="http://www.w3.org/2000/xmlns/",Me={xml:xe,xmlns:ge},ye=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,be=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,Fe=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,ke=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function Ie(ut){return ut===" "||ut===`
`||ut==="\r"||ut===" "}function Le(ut){return ut==='"'||ut==="'"}function De(ut){return ut===">"||Ie(ut)}function Be(ut,Ye){return ut.test(Ye)}function Ue(ut,Ye){return!Be(ut,Ye)}var _e=0;te.STATE={BEGIN:_e++,BEGIN_WHITESPACE:_e++,TEXT:_e++,TEXT_ENTITY:_e++,OPEN_WAKA:_e++,SGML_DECL:_e++,SGML_DECL_QUOTED:_e++,DOCTYPE:_e++,DOCTYPE_QUOTED:_e++,DOCTYPE_DTD:_e++,DOCTYPE_DTD_QUOTED:_e++,COMMENT_STARTING:_e++,COMMENT:_e++,COMMENT_ENDING:_e++,COMMENT_ENDED:_e++,CDATA:_e++,CDATA_ENDING:_e++,CDATA_ENDING_2:_e++,PROC_INST:_e++,PROC_INST_BODY:_e++,PROC_INST_ENDING:_e++,OPEN_TAG:_e++,OPEN_TAG_SLASH:_e++,ATTRIB:_e++,ATTRIB_NAME:_e++,ATTRIB_NAME_SAW_WHITE:_e++,ATTRIB_VALUE:_e++,ATTRIB_VALUE_QUOTED:_e++,ATTRIB_VALUE_CLOSED:_e++,ATTRIB_VALUE_UNQUOTED:_e++,ATTRIB_VALUE_ENTITY_Q:_e++,ATTRIB_VALUE_ENTITY_U:_e++,CLOSE_TAG:_e++,CLOSE_TAG_SAW_WHITE:_e++,SCRIPT:_e++,SCRIPT_ENDING:_e++},te.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},te.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(te.ENTITIES).forEach(function(ut){var Ye=te.ENTITIES[ut],Ve=typeof Ye=="number"?String.fromCharCode(Ye):Ye;te.ENTITIES[ut]=Ve});for(var We in te.STATE)te.STATE[te.STATE[We]]=We;_e=te.STATE;function Ze(ut,Ye,Ve){ut[Ye]&&ut[Ye](Ve)}function et(ut,Ye,Ve){ut.textNode&&at(ut),Ze(ut,Ye,Ve)}function at(ut){ut.textNode=pt(ut.opt,ut.textNode),ut.textNode&&Ze(ut,"ontext",ut.textNode),ut.textNode=""}function pt(ut,Ye){return ut.trim&&(Ye=Ye.trim()),ut.normalize&&(Ye=Ye.replace(/\s+/g," ")),Ye}function Xe(ut,Ye){return at(ut),ut.trackPosition&&(Ye+=`
Line: `+ut.line+`
Column: `+ut.column+`
Char: `+ut.c),Ye=new Error(Ye),ut.error=Ye,Ze(ut,"onerror",Ye),ut}function Ge(ut){return ut.sawRoot&&!ut.closedRoot&&lt(ut,"Unclosed root tag"),ut.state!==_e.BEGIN&&ut.state!==_e.BEGIN_WHITESPACE&&ut.state!==_e.TEXT&&Xe(ut,"Unexpected end"),at(ut),ut.c="",ut.closed=!0,Ze(ut,"onend"),ne.call(ut,ut.strict,ut.opt),ut}function lt(ut,Ye){if(typeof ut!="object"||!(ut instanceof ne))throw new Error("bad call to strictFail");ut.strict&&Xe(ut,Ye)}function dt(ut){ut.strict||(ut.tagName=ut.tagName[ut.looseCase]());var Ye=ut.tags[ut.tags.length-1]||ut,Ve=ut.tag={name:ut.tagName,attributes:{}};ut.opt.xmlns&&(Ve.ns=Ye.ns),ut.attribList.length=0,et(ut,"onopentagstart",Ve)}function st(ut,Ye){var Ve=ut.indexOf(":"),de=Ve<0?["",ut]:ut.split(":"),Ce=de[0],He=de[1];return Ye&&ut==="xmlns"&&(Ce="xmlns",He=""),{prefix:Ce,local:He}}function nt(ut){if(ut.strict||(ut.attribName=ut.attribName[ut.looseCase]()),ut.attribList.indexOf(ut.attribName)!==-1||ut.tag.attributes.hasOwnProperty(ut.attribName)){ut.attribName=ut.attribValue="";return}if(ut.opt.xmlns){var Ye=st(ut.attribName,!0),Ve=Ye.prefix,de=Ye.local;if(Ve==="xmlns")if(de==="xml"&&ut.attribValue!==xe)lt(ut,"xml: prefix must be bound to "+xe+`
Actual: `+ut.attribValue);else if(de==="xmlns"&&ut.attribValue!==ge)lt(ut,"xmlns: prefix must be bound to "+ge+`
Actual: `+ut.attribValue);else{var Ce=ut.tag,He=ut.tags[ut.tags.length-1]||ut;Ce.ns===He.ns&&(Ce.ns=Object.create(He.ns)),Ce.ns[de]=ut.attribValue}ut.attribList.push([ut.attribName,ut.attribValue])}else ut.tag.attributes[ut.attribName]=ut.attribValue,et(ut,"onattribute",{name:ut.attribName,value:ut.attribValue});ut.attribName=ut.attribValue=""}function rt(ut,Ye){if(ut.opt.xmlns){var Ve=ut.tag,de=st(ut.tagName);Ve.prefix=de.prefix,Ve.local=de.local,Ve.uri=Ve.ns[de.prefix]||"",Ve.prefix&&!Ve.uri&&(lt(ut,"Unbound namespace prefix: "+JSON.stringify(ut.tagName)),Ve.uri=de.prefix);var Ce=ut.tags[ut.tags.length-1]||ut;Ve.ns&&Ce.ns!==Ve.ns&&Object.keys(Ve.ns).forEach(function(Wt){et(ut,"onopennamespace",{prefix:Wt,uri:Ve.ns[Wt]})});for(var He=0,je=ut.attribList.length;He<je;He++){var Ae=ut.attribList[He],Re=Ae[0],ze=Ae[1],Qe=st(Re,!0),ot=Qe.prefix,mt=Qe.local,Ot=ot===""?"":Ve.ns[ot]||"",xt={name:Re,value:ze,prefix:ot,local:mt,uri:Ot};ot&&ot!=="xmlns"&&!Ot&&(lt(ut,"Unbound namespace prefix: "+JSON.stringify(ot)),xt.uri=ot),ut.tag.attributes[Re]=xt,et(ut,"onattribute",xt)}ut.attribList.length=0}ut.tag.isSelfClosing=!!Ye,ut.sawRoot=!0,ut.tags.push(ut.tag),et(ut,"onopentag",ut.tag),Ye||(!ut.noscript&&ut.tagName.toLowerCase()==="script"?ut.state=_e.SCRIPT:ut.state=_e.TEXT,ut.tag=null,ut.tagName=""),ut.attribName=ut.attribValue="",ut.attribList.length=0}function it(ut){if(!ut.tagName){lt(ut,"Weird empty close tag."),ut.textNode+="</>",ut.state=_e.TEXT;return}if(ut.script){if(ut.tagName!=="script"){ut.script+="</"+ut.tagName+">",ut.tagName="",ut.state=_e.SCRIPT;return}et(ut,"onscript",ut.script),ut.script=""}var Ye=ut.tags.length,Ve=ut.tagName;ut.strict||(Ve=Ve[ut.looseCase]());for(var de=Ve;Ye--;){var Ce=ut.tags[Ye];if(Ce.name!==de)lt(ut,"Unexpected close tag");else break}if(Ye<0){lt(ut,"Unmatched closing tag: "+ut.tagName),ut.textNode+="</"+ut.tagName+">",ut.state=_e.TEXT;return}ut.tagName=Ve;for(var He=ut.tags.length;He-- >Ye;){var je=ut.tag=ut.tags.pop();ut.tagName=ut.tag.name,et(ut,"onclosetag",ut.tagName);var Ae={};for(var Re in je.ns)Ae[Re]=je.ns[Re];var ze=ut.tags[ut.tags.length-1]||ut;ut.opt.xmlns&&je.ns!==ze.ns&&Object.keys(je.ns).forEach(function(Qe){var ot=je.ns[Qe];et(ut,"onclosenamespace",{prefix:Qe,uri:ot})})}Ye===0&&(ut.closedRoot=!0),ut.tagName=ut.attribValue=ut.attribName="",ut.attribList.length=0,ut.state=_e.TEXT}function gt(ut){var Ye=ut.entity,Ve=Ye.toLowerCase(),de,Ce="";return ut.ENTITIES[Ye]?ut.ENTITIES[Ye]:ut.ENTITIES[Ve]?ut.ENTITIES[Ve]:(Ye=Ve,Ye.charAt(0)==="#"&&(Ye.charAt(1)==="x"?(Ye=Ye.slice(2),de=parseInt(Ye,16),Ce=de.toString(16)):(Ye=Ye.slice(1),de=parseInt(Ye,10),Ce=de.toString(10))),Ye=Ye.replace(/^0+/,""),isNaN(de)||Ce.toLowerCase()!==Ye?(lt(ut,"Invalid character entity"),"&"+ut.entity+";"):String.fromCodePoint(de))}function vt(ut,Ye){Ye==="<"?(ut.state=_e.OPEN_WAKA,ut.startTagPosition=ut.position):Ie(Ye)||(lt(ut,"Non-whitespace before first tag."),ut.textNode=Ye,ut.state=_e.TEXT)}function At(ut,Ye){var Ve="";return Ye<ut.length&&(Ve=ut.charAt(Ye)),Ve}function Et(ut){var Ye=this;if(this.error)throw this.error;if(Ye.closed)return Xe(Ye,"Cannot write after close. Assign an onready handler.");if(ut===null)return Ge(Ye);typeof ut=="object"&&(ut=ut.toString());for(var Ve=0,de="";de=At(ut,Ve++),Ye.c=de,!!de;)switch(Ye.trackPosition&&(Ye.position++,de===`
`?(Ye.line++,Ye.column=0):Ye.column++),Ye.state){case _e.BEGIN:if(Ye.state=_e.BEGIN_WHITESPACE,de==="\uFEFF")continue;vt(Ye,de);continue;case _e.BEGIN_WHITESPACE:vt(Ye,de);continue;case _e.TEXT:if(Ye.sawRoot&&!Ye.closedRoot){for(var Ce=Ve-1;de&&de!=="<"&&de!=="&";)de=At(ut,Ve++),de&&Ye.trackPosition&&(Ye.position++,de===`
`?(Ye.line++,Ye.column=0):Ye.column++);Ye.textNode+=ut.substring(Ce,Ve-1)}de==="<"&&!(Ye.sawRoot&&Ye.closedRoot&&!Ye.strict)?(Ye.state=_e.OPEN_WAKA,Ye.startTagPosition=Ye.position):(!Ie(de)&&(!Ye.sawRoot||Ye.closedRoot)&&lt(Ye,"Text data outside of root node."),de==="&"?Ye.state=_e.TEXT_ENTITY:Ye.textNode+=de);continue;case _e.SCRIPT:de==="<"?Ye.state=_e.SCRIPT_ENDING:Ye.script+=de;continue;case _e.SCRIPT_ENDING:de==="/"?Ye.state=_e.CLOSE_TAG:(Ye.script+="<"+de,Ye.state=_e.SCRIPT);continue;case _e.OPEN_WAKA:if(de==="!")Ye.state=_e.SGML_DECL,Ye.sgmlDecl="";else if(!Ie(de))if(Be(ye,de))Ye.state=_e.OPEN_TAG,Ye.tagName=de;else if(de==="/")Ye.state=_e.CLOSE_TAG,Ye.tagName="";else if(de==="?")Ye.state=_e.PROC_INST,Ye.procInstName=Ye.procInstBody="";else{if(lt(Ye,"Unencoded <"),Ye.startTagPosition+1<Ye.position){var He=Ye.position-Ye.startTagPosition;de=new Array(He).join(" ")+de}Ye.textNode+="<"+de,Ye.state=_e.TEXT}continue;case _e.SGML_DECL:(Ye.sgmlDecl+de).toUpperCase()===le?(et(Ye,"onopencdata"),Ye.state=_e.CDATA,Ye.sgmlDecl="",Ye.cdata=""):Ye.sgmlDecl+de==="--"?(Ye.state=_e.COMMENT,Ye.comment="",Ye.sgmlDecl=""):(Ye.sgmlDecl+de).toUpperCase()===Se?(Ye.state=_e.DOCTYPE,(Ye.doctype||Ye.sawRoot)&&lt(Ye,"Inappropriately located doctype declaration"),Ye.doctype="",Ye.sgmlDecl=""):de===">"?(et(Ye,"onsgmldeclaration",Ye.sgmlDecl),Ye.sgmlDecl="",Ye.state=_e.TEXT):(Le(de)&&(Ye.state=_e.SGML_DECL_QUOTED),Ye.sgmlDecl+=de);continue;case _e.SGML_DECL_QUOTED:de===Ye.q&&(Ye.state=_e.SGML_DECL,Ye.q=""),Ye.sgmlDecl+=de;continue;case _e.DOCTYPE:de===">"?(Ye.state=_e.TEXT,et(Ye,"ondoctype",Ye.doctype),Ye.doctype=!0):(Ye.doctype+=de,de==="["?Ye.state=_e.DOCTYPE_DTD:Le(de)&&(Ye.state=_e.DOCTYPE_QUOTED,Ye.q=de));continue;case _e.DOCTYPE_QUOTED:Ye.doctype+=de,de===Ye.q&&(Ye.q="",Ye.state=_e.DOCTYPE);continue;case _e.DOCTYPE_DTD:Ye.doctype+=de,de==="]"?Ye.state=_e.DOCTYPE:Le(de)&&(Ye.state=_e.DOCTYPE_DTD_QUOTED,Ye.q=de);continue;case _e.DOCTYPE_DTD_QUOTED:Ye.doctype+=de,de===Ye.q&&(Ye.state=_e.DOCTYPE_DTD,Ye.q="");continue;case _e.COMMENT:de==="-"?Ye.state=_e.COMMENT_ENDING:Ye.comment+=de;continue;case _e.COMMENT_ENDING:de==="-"?(Ye.state=_e.COMMENT_ENDED,Ye.comment=pt(Ye.opt,Ye.comment),Ye.comment&&et(Ye,"oncomment",Ye.comment),Ye.comment=""):(Ye.comment+="-"+de,Ye.state=_e.COMMENT);continue;case _e.COMMENT_ENDED:de!==">"?(lt(Ye,"Malformed comment"),Ye.comment+="--"+de,Ye.state=_e.COMMENT):Ye.state=_e.TEXT;continue;case _e.CDATA:de==="]"?Ye.state=_e.CDATA_ENDING:Ye.cdata+=de;continue;case _e.CDATA_ENDING:de==="]"?Ye.state=_e.CDATA_ENDING_2:(Ye.cdata+="]"+de,Ye.state=_e.CDATA);continue;case _e.CDATA_ENDING_2:de===">"?(Ye.cdata&&et(Ye,"oncdata",Ye.cdata),et(Ye,"onclosecdata"),Ye.cdata="",Ye.state=_e.TEXT):de==="]"?Ye.cdata+="]":(Ye.cdata+="]]"+de,Ye.state=_e.CDATA);continue;case _e.PROC_INST:de==="?"?Ye.state=_e.PROC_INST_ENDING:Ie(de)?Ye.state=_e.PROC_INST_BODY:Ye.procInstName+=de;continue;case _e.PROC_INST_BODY:if(!Ye.procInstBody&&Ie(de))continue;de==="?"?Ye.state=_e.PROC_INST_ENDING:Ye.procInstBody+=de;continue;case _e.PROC_INST_ENDING:de===">"?(et(Ye,"onprocessinginstruction",{name:Ye.procInstName,body:Ye.procInstBody}),Ye.procInstName=Ye.procInstBody="",Ye.state=_e.TEXT):(Ye.procInstBody+="?"+de,Ye.state=_e.PROC_INST_BODY);continue;case _e.OPEN_TAG:Be(be,de)?Ye.tagName+=de:(dt(Ye),de===">"?rt(Ye):de==="/"?Ye.state=_e.OPEN_TAG_SLASH:(Ie(de)||lt(Ye,"Invalid character in tag name"),Ye.state=_e.ATTRIB));continue;case _e.OPEN_TAG_SLASH:de===">"?(rt(Ye,!0),it(Ye)):(lt(Ye,"Forward-slash in opening tag not followed by >"),Ye.state=_e.ATTRIB);continue;case _e.ATTRIB:if(Ie(de))continue;de===">"?rt(Ye):de==="/"?Ye.state=_e.OPEN_TAG_SLASH:Be(ye,de)?(Ye.attribName=de,Ye.attribValue="",Ye.state=_e.ATTRIB_NAME):lt(Ye,"Invalid attribute name");continue;case _e.ATTRIB_NAME:de==="="?Ye.state=_e.ATTRIB_VALUE:de===">"?(lt(Ye,"Attribute without value"),Ye.attribValue=Ye.attribName,nt(Ye),rt(Ye)):Ie(de)?Ye.state=_e.ATTRIB_NAME_SAW_WHITE:Be(be,de)?Ye.attribName+=de:lt(Ye,"Invalid attribute name");continue;case _e.ATTRIB_NAME_SAW_WHITE:if(de==="=")Ye.state=_e.ATTRIB_VALUE;else{if(Ie(de))continue;lt(Ye,"Attribute without value"),Ye.tag.attributes[Ye.attribName]="",Ye.attribValue="",et(Ye,"onattribute",{name:Ye.attribName,value:""}),Ye.attribName="",de===">"?rt(Ye):Be(ye,de)?(Ye.attribName=de,Ye.state=_e.ATTRIB_NAME):(lt(Ye,"Invalid attribute name"),Ye.state=_e.ATTRIB)}continue;case _e.ATTRIB_VALUE:if(Ie(de))continue;Le(de)?(Ye.q=de,Ye.state=_e.ATTRIB_VALUE_QUOTED):(lt(Ye,"Unquoted attribute value"),Ye.state=_e.ATTRIB_VALUE_UNQUOTED,Ye.attribValue=de);continue;case _e.ATTRIB_VALUE_QUOTED:if(de!==Ye.q){de==="&"?Ye.state=_e.ATTRIB_VALUE_ENTITY_Q:Ye.attribValue+=de;continue}nt(Ye),Ye.q="",Ye.state=_e.ATTRIB_VALUE_CLOSED;continue;case _e.ATTRIB_VALUE_CLOSED:Ie(de)?Ye.state=_e.ATTRIB:de===">"?rt(Ye):de==="/"?Ye.state=_e.OPEN_TAG_SLASH:Be(ye,de)?(lt(Ye,"No whitespace between attributes"),Ye.attribName=de,Ye.attribValue="",Ye.state=_e.ATTRIB_NAME):lt(Ye,"Invalid attribute name");continue;case _e.ATTRIB_VALUE_UNQUOTED:if(!De(de)){de==="&"?Ye.state=_e.ATTRIB_VALUE_ENTITY_U:Ye.attribValue+=de;continue}nt(Ye),de===">"?rt(Ye):Ye.state=_e.ATTRIB;continue;case _e.CLOSE_TAG:if(Ye.tagName)de===">"?it(Ye):Be(be,de)?Ye.tagName+=de:Ye.script?(Ye.script+="</"+Ye.tagName,Ye.tagName="",Ye.state=_e.SCRIPT):(Ie(de)||lt(Ye,"Invalid tagname in closing tag"),Ye.state=_e.CLOSE_TAG_SAW_WHITE);else{if(Ie(de))continue;Ue(ye,de)?Ye.script?(Ye.script+="</"+de,Ye.state=_e.SCRIPT):lt(Ye,"Invalid tagname in closing tag."):Ye.tagName=de}continue;case _e.CLOSE_TAG_SAW_WHITE:if(Ie(de))continue;de===">"?it(Ye):lt(Ye,"Invalid characters in closing tag");continue;case _e.TEXT_ENTITY:case _e.ATTRIB_VALUE_ENTITY_Q:case _e.ATTRIB_VALUE_ENTITY_U:var je,Ae;switch(Ye.state){case _e.TEXT_ENTITY:je=_e.TEXT,Ae="textNode";break;case _e.ATTRIB_VALUE_ENTITY_Q:je=_e.ATTRIB_VALUE_QUOTED,Ae="attribValue";break;case _e.ATTRIB_VALUE_ENTITY_U:je=_e.ATTRIB_VALUE_UNQUOTED,Ae="attribValue";break}de===";"?(Ye[Ae]+=gt(Ye),Ye.entity="",Ye.state=je):Be(Ye.entity.length?ke:Fe,de)?Ye.entity+=de:(lt(Ye,"Invalid character in entity name"),Ye[Ae]+="&"+Ye.entity+de,Ye.entity="",Ye.state=je);continue;default:throw new Error(Ye,"Unknown state: "+Ye.state)}return Ye.position>=Ye.bufferCheckPosition&&oe(Ye),Ye}String.fromCodePoint||function(){var ut=String.fromCharCode,Ye=Math.floor,Ve=function(){var de=16384,Ce=[],He,je,Ae=-1,Re=arguments.length;if(!Re)return"";for(var ze="";++Ae<Re;){var Qe=Number(arguments[Ae]);if(!isFinite(Qe)||Qe<0||Qe>1114111||Ye(Qe)!==Qe)throw RangeError("Invalid code point: "+Qe);Qe<=65535?Ce.push(Qe):(Qe-=65536,He=(Qe>>10)+55296,je=Qe%1024+56320,Ce.push(He,je)),(Ae+1===Re||Ce.length>de)&&(ze+=ut.apply(null,Ce),Ce.length=0)}return ze};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ve,configurable:!0,writable:!0}):String.fromCodePoint=Ve}()})(typeof me=="undefined"?this.sax={}:me)}).call(this)}).call(this,x("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(x,Te,me){Te.exports=ae;var ie=x("events").EventEmitter,te=x("inherits");te(ae,ie),ae.Readable=x("readable-stream/lib/_stream_readable.js"),ae.Writable=x("readable-stream/lib/_stream_writable.js"),ae.Duplex=x("readable-stream/lib/_stream_duplex.js"),ae.Transform=x("readable-stream/lib/_stream_transform.js"),ae.PassThrough=x("readable-stream/lib/_stream_passthrough.js"),ae.finished=x("readable-stream/lib/internal/streams/end-of-stream.js"),ae.pipeline=x("readable-stream/lib/internal/streams/pipeline.js"),ae.Stream=ae;function ae(){ie.call(this)}ae.prototype.pipe=function(ne,oe){var he=this;function re(xe){ne.writable&&ne.write(xe)===!1&&he.pause&&he.pause()}he.on("data",re);function se(){he.readable&&he.resume&&he.resume()}ne.on("drain",se),!ne._isStdio&&(!oe||oe.end!==!1)&&(he.on("end",fe),he.on("close",pe));var ce=!1;function fe(){ce||(ce=!0,ne.end())}function pe(){ce||(ce=!0,typeof ne.destroy=="function"&&ne.destroy())}function le(xe){if(Se(),ie.listenerCount(this,"error")===0)throw xe}he.on("error",le),ne.on("error",le);function Se(){he.removeListener("data",re),ne.removeListener("drain",se),he.removeListener("end",fe),he.removeListener("close",pe),he.removeListener("error",le),ne.removeListener("error",le),he.removeListener("end",Se),he.removeListener("close",Se),ne.removeListener("close",Se)}return he.on("end",Se),he.on("close",Se),ne.on("close",Se),ne.emit("pipe",he),ne}},{events:344,inherits:364,"readable-stream/lib/_stream_duplex.js":400,"readable-stream/lib/_stream_passthrough.js":401,"readable-stream/lib/_stream_readable.js":402,"readable-stream/lib/_stream_transform.js":403,"readable-stream/lib/_stream_writable.js":404,"readable-stream/lib/internal/streams/end-of-stream.js":408,"readable-stream/lib/internal/streams/pipeline.js":410}],399:[function(x,Te,me){"use strict";function ie(se,ce){se.prototype=Object.create(ce.prototype),se.prototype.constructor=se,se.__proto__=ce}var te={};function ae(se,ce,fe){fe||(fe=Error);function pe(Se,xe,ge){return typeof ce=="string"?ce:ce(Se,xe,ge)}var le=function(Se){ie(xe,Se);function xe(ge,Me,ye){return Se.call(this,pe(ge,Me,ye))||this}return xe}(fe);le.prototype.name=fe.name,le.prototype.code=se,te[se]=le}function ne(se,ce){if(Array.isArray(se)){var fe=se.length;return se=se.map(function(pe){return String(pe)}),fe>2?"one of ".concat(ce," ").concat(se.slice(0,fe-1).join(", "),", or ")+se[fe-1]:fe===2?"one of ".concat(ce," ").concat(se[0]," or ").concat(se[1]):"of ".concat(ce," ").concat(se[0])}else return"of ".concat(ce," ").concat(String(se))}function oe(se,ce,fe){return se.substr(!fe||fe<0?0:+fe,ce.length)===ce}function he(se,ce,fe){return(fe===void 0||fe>se.length)&&(fe=se.length),se.substring(fe-ce.length,fe)===ce}function re(se,ce,fe){return typeof fe!="number"&&(fe=0),fe+ce.length>se.length?!1:se.indexOf(ce,fe)!==-1}ae("ERR_INVALID_OPT_VALUE",function(se,ce){return'The value "'+ce+'" is invalid for option "'+se+'"'},TypeError),ae("ERR_INVALID_ARG_TYPE",function(se,ce,fe){var pe;typeof ce=="string"&&oe(ce,"not ")?(pe="must not be",ce=ce.replace(/^not /,"")):pe="must be";var le;if(he(se," argument"))le="The ".concat(se," ").concat(pe," ").concat(ne(ce,"type"));else{var Se=re(se,".")?"property":"argument";le='The "'.concat(se,'" ').concat(Se," ").concat(pe," ").concat(ne(ce,"type"))}return le+=". Received type ".concat(typeof fe),le},TypeError),ae("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),ae("ERR_METHOD_NOT_IMPLEMENTED",function(se){return"The "+se+" method is not implemented"}),ae("ERR_STREAM_PREMATURE_CLOSE","Premature close"),ae("ERR_STREAM_DESTROYED",function(se){return"Cannot call "+se+" after a stream was destroyed"}),ae("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),ae("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),ae("ERR_STREAM_WRITE_AFTER_END","write after end"),ae("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),ae("ERR_UNKNOWN_ENCODING",function(se){return"Unknown encoding: "+se},TypeError),ae("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Te.exports.codes=te},{}],400:[function(x,Te,me){(function(ie){(function(){"use strict";var te=Object.keys||function(pe){var le=[];for(var Se in pe)le.push(Se);return le};Te.exports=se;var ae=x("./_stream_readable"),ne=x("./_stream_writable");x("inherits")(se,ae);for(var oe=te(ne.prototype),he=0;he<oe.length;he++){var re=oe[he];se.prototype[re]||(se.prototype[re]=ne.prototype[re])}function se(pe){if(!(this instanceof se))return new se(pe);ae.call(this,pe),ne.call(this,pe),this.allowHalfOpen=!0,pe&&(pe.readable===!1&&(this.readable=!1),pe.writable===!1&&(this.writable=!1),pe.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",ce)))}Object.defineProperty(se.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(se.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(se.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ce(){this._writableState.ended||ie.nextTick(fe,this)}function fe(pe){pe.end()}Object.defineProperty(se.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(le){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=le,this._writableState.destroyed=le)}})}).call(this)}).call(this,x("_process"))},{"./_stream_readable":402,"./_stream_writable":404,_process:467,inherits:364}],401:[function(x,Te,me){"use strict";Te.exports=te;var ie=x("./_stream_transform");x("inherits")(te,ie);function te(ae){if(!(this instanceof te))return new te(ae);ie.call(this,ae)}te.prototype._transform=function(ae,ne,oe){oe(null,ae)}},{"./_stream_transform":403,inherits:364}],402:[function(x,Te,me){(function(ie,te){(function(){"use strict";Te.exports=et;var ae;et.ReadableState=Ze;var ne=x("events").EventEmitter,oe=function(Re,ze){return Re.listeners(ze).length},he=x("./internal/streams/stream"),re=x("buffer").Buffer,se=(typeof te!="undefined"?te:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function ce(Ae){return re.from(Ae)}function fe(Ae){return re.isBuffer(Ae)||Ae instanceof se}var pe=x("util"),le;pe&&pe.debuglog?le=pe.debuglog("stream"):le=function(){};var Se=x("./internal/streams/buffer_list"),xe=x("./internal/streams/destroy"),ge=x("./internal/streams/state"),Me=ge.getHighWaterMark,ye=x("../errors").codes,be=ye.ERR_INVALID_ARG_TYPE,Fe=ye.ERR_STREAM_PUSH_AFTER_EOF,ke=ye.ERR_METHOD_NOT_IMPLEMENTED,Ie=ye.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Le,De,Be;x("inherits")(et,he);var Ue=xe.errorOrDestroy,_e=["error","close","destroy","pause","resume"];function We(Ae,Re,ze){if(typeof Ae.prependListener=="function")return Ae.prependListener(Re,ze);!Ae._events||!Ae._events[Re]?Ae.on(Re,ze):Array.isArray(Ae._events[Re])?Ae._events[Re].unshift(ze):Ae._events[Re]=[ze,Ae._events[Re]]}function Ze(Ae,Re,ze){ae=ae||x("./_stream_duplex"),Ae=Ae||{},typeof ze!="boolean"&&(ze=Re instanceof ae),this.objectMode=!!Ae.objectMode,ze&&(this.objectMode=this.objectMode||!!Ae.readableObjectMode),this.highWaterMark=Me(this,Ae,"readableHighWaterMark",ze),this.buffer=new Se,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=Ae.emitClose!==!1,this.autoDestroy=!!Ae.autoDestroy,this.destroyed=!1,this.defaultEncoding=Ae.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Ae.encoding&&(Le||(Le=x("string_decoder/").StringDecoder),this.decoder=new Le(Ae.encoding),this.encoding=Ae.encoding)}function et(Ae){if(ae=ae||x("./_stream_duplex"),!(this instanceof et))return new et(Ae);var Re=this instanceof ae;this._readableState=new Ze(Ae,this,Re),this.readable=!0,Ae&&(typeof Ae.read=="function"&&(this._read=Ae.read),typeof Ae.destroy=="function"&&(this._destroy=Ae.destroy)),he.call(this)}Object.defineProperty(et.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Re){this._readableState&&(this._readableState.destroyed=Re)}}),et.prototype.destroy=xe.destroy,et.prototype._undestroy=xe.undestroy,et.prototype._destroy=function(Ae,Re){Re(Ae)},et.prototype.push=function(Ae,Re){var ze=this._readableState,Qe;return ze.objectMode?Qe=!0:typeof Ae=="string"&&(Re=Re||ze.defaultEncoding,Re!==ze.encoding&&(Ae=re.from(Ae,Re),Re=""),Qe=!0),at(this,Ae,Re,!1,Qe)},et.prototype.unshift=function(Ae){return at(this,Ae,null,!0,!1)};function at(Ae,Re,ze,Qe,ot){le("readableAddChunk",Re);var mt=Ae._readableState;if(Re===null)mt.reading=!1,st(Ae,mt);else{var Ot;if(ot||(Ot=Xe(mt,Re)),Ot)Ue(Ae,Ot);else if(mt.objectMode||Re&&Re.length>0)if(typeof Re!="string"&&!mt.objectMode&&Object.getPrototypeOf(Re)!==re.prototype&&(Re=ce(Re)),Qe)mt.endEmitted?Ue(Ae,new Ie):pt(Ae,mt,Re,!0);else if(mt.ended)Ue(Ae,new Fe);else{if(mt.destroyed)return!1;mt.reading=!1,mt.decoder&&!ze?(Re=mt.decoder.write(Re),mt.objectMode||Re.length!==0?pt(Ae,mt,Re,!1):it(Ae,mt)):pt(Ae,mt,Re,!1)}else Qe||(mt.reading=!1,it(Ae,mt))}return!mt.ended&&(mt.length<mt.highWaterMark||mt.length===0)}function pt(Ae,Re,ze,Qe){Re.flowing&&Re.length===0&&!Re.sync?(Re.awaitDrain=0,Ae.emit("data",ze)):(Re.length+=Re.objectMode?1:ze.length,Qe?Re.buffer.unshift(ze):Re.buffer.push(ze),Re.needReadable&&nt(Ae)),it(Ae,Re)}function Xe(Ae,Re){var ze;return!fe(Re)&&typeof Re!="string"&&Re!==void 0&&!Ae.objectMode&&(ze=new be("chunk",["string","Buffer","Uint8Array"],Re)),ze}et.prototype.isPaused=function(){return this._readableState.flowing===!1},et.prototype.setEncoding=function(Ae){Le||(Le=x("string_decoder/").StringDecoder);var Re=new Le(Ae);this._readableState.decoder=Re,this._readableState.encoding=this._readableState.decoder.encoding;for(var ze=this._readableState.buffer.head,Qe="";ze!==null;)Qe+=Re.write(ze.data),ze=ze.next;return this._readableState.buffer.clear(),Qe!==""&&this._readableState.buffer.push(Qe),this._readableState.length=Qe.length,this};var Ge=1073741824;function lt(Ae){return Ae>=Ge?Ae=Ge:(Ae--,Ae|=Ae>>>1,Ae|=Ae>>>2,Ae|=Ae>>>4,Ae|=Ae>>>8,Ae|=Ae>>>16,Ae++),Ae}function dt(Ae,Re){return Ae<=0||Re.length===0&&Re.ended?0:Re.objectMode?1:Ae!==Ae?Re.flowing&&Re.length?Re.buffer.head.data.length:Re.length:(Ae>Re.highWaterMark&&(Re.highWaterMark=lt(Ae)),Ae<=Re.length?Ae:Re.ended?Re.length:(Re.needReadable=!0,0))}et.prototype.read=function(Ae){le("read",Ae),Ae=parseInt(Ae,10);var Re=this._readableState,ze=Ae;if(Ae!==0&&(Re.emittedReadable=!1),Ae===0&&Re.needReadable&&((Re.highWaterMark!==0?Re.length>=Re.highWaterMark:Re.length>0)||Re.ended))return le("read: emitReadable",Re.length,Re.ended),Re.length===0&&Re.ended?Ce(this):nt(this),null;if(Ae=dt(Ae,Re),Ae===0&&Re.ended)return Re.length===0&&Ce(this),null;var Qe=Re.needReadable;le("need readable",Qe),(Re.length===0||Re.length-Ae<Re.highWaterMark)&&(Qe=!0,le("length less than watermark",Qe)),Re.ended||Re.reading?(Qe=!1,le("reading or ended",Qe)):Qe&&(le("do read"),Re.reading=!0,Re.sync=!0,Re.length===0&&(Re.needReadable=!0),this._read(Re.highWaterMark),Re.sync=!1,Re.reading||(Ae=dt(ze,Re)));var ot;return Ae>0?ot=de(Ae,Re):ot=null,ot===null?(Re.needReadable=Re.length<=Re.highWaterMark,Ae=0):(Re.length-=Ae,Re.awaitDrain=0),Re.length===0&&(Re.ended||(Re.needReadable=!0),ze!==Ae&&Re.ended&&Ce(this)),ot!==null&&this.emit("data",ot),ot};function st(Ae,Re){if(le("onEofChunk"),!Re.ended){if(Re.decoder){var ze=Re.decoder.end();ze&&ze.length&&(Re.buffer.push(ze),Re.length+=Re.objectMode?1:ze.length)}Re.ended=!0,Re.sync?nt(Ae):(Re.needReadable=!1,Re.emittedReadable||(Re.emittedReadable=!0,rt(Ae)))}}function nt(Ae){var Re=Ae._readableState;le("emitReadable",Re.needReadable,Re.emittedReadable),Re.needReadable=!1,Re.emittedReadable||(le("emitReadable",Re.flowing),Re.emittedReadable=!0,ie.nextTick(rt,Ae))}function rt(Ae){var Re=Ae._readableState;le("emitReadable_",Re.destroyed,Re.length,Re.ended),!Re.destroyed&&(Re.length||Re.ended)&&(Ae.emit("readable"),Re.emittedReadable=!1),Re.needReadable=!Re.flowing&&!Re.ended&&Re.length<=Re.highWaterMark,Ve(Ae)}function it(Ae,Re){Re.readingMore||(Re.readingMore=!0,ie.nextTick(gt,Ae,Re))}function gt(Ae,Re){for(;!Re.reading&&!Re.ended&&(Re.length<Re.highWaterMark||Re.flowing&&Re.length===0);){var ze=Re.length;if(le("maybeReadMore read 0"),Ae.read(0),ze===Re.length)break}Re.readingMore=!1}et.prototype._read=function(Ae){Ue(this,new ke("_read()"))},et.prototype.pipe=function(Ae,Re){var ze=this,Qe=this._readableState;switch(Qe.pipesCount){case 0:Qe.pipes=Ae;break;case 1:Qe.pipes=[Qe.pipes,Ae];break;default:Qe.pipes.push(Ae);break}Qe.pipesCount+=1,le("pipe count=%d opts=%j",Qe.pipesCount,Re);var ot=(!Re||Re.end!==!1)&&Ae!==ie.stdout&&Ae!==ie.stderr,mt=ot?xt:zt;Qe.endEmitted?ie.nextTick(mt):ze.once("end",mt),Ae.on("unpipe",Ot);function Ot(an,gn){le("onunpipe"),an===ze&&gn&&gn.hasUnpiped===!1&&(gn.hasUnpiped=!0,Ft())}function xt(){le("onend"),Ae.end()}var Wt=vt(ze);Ae.on("drain",Wt);var bn=!1;function Ft(){le("cleanup"),Ae.removeListener("close",yn),Ae.removeListener("finish",Pt),Ae.removeListener("drain",Wt),Ae.removeListener("error",Vt),Ae.removeListener("unpipe",Ot),ze.removeListener("end",xt),ze.removeListener("end",zt),ze.removeListener("data",Qt),bn=!0,Qe.awaitDrain&&(!Ae._writableState||Ae._writableState.needDrain)&&Wt()}ze.on("data",Qt);function Qt(an){le("ondata");var gn=Ae.write(an);le("dest.write",gn),gn===!1&&((Qe.pipesCount===1&&Qe.pipes===Ae||Qe.pipesCount>1&&je(Qe.pipes,Ae)!==-1)&&!bn&&(le("false write response, pause",Qe.awaitDrain),Qe.awaitDrain++),ze.pause())}function Vt(an){le("onerror",an),zt(),Ae.removeListener("error",Vt),oe(Ae,"error")===0&&Ue(Ae,an)}We(Ae,"error",Vt);function yn(){Ae.removeListener("finish",Pt),zt()}Ae.once("close",yn);function Pt(){le("onfinish"),Ae.removeListener("close",yn),zt()}Ae.once("finish",Pt);function zt(){le("unpipe"),ze.unpipe(Ae)}return Ae.emit("pipe",ze),Qe.flowing||(le("pipe resume"),ze.resume()),Ae};function vt(Ae){return function(){var ze=Ae._readableState;le("pipeOnDrain",ze.awaitDrain),ze.awaitDrain&&ze.awaitDrain--,ze.awaitDrain===0&&oe(Ae,"data")&&(ze.flowing=!0,Ve(Ae))}}et.prototype.unpipe=function(Ae){var Re=this._readableState,ze={hasUnpiped:!1};if(Re.pipesCount===0)return this;if(Re.pipesCount===1)return Ae&&Ae!==Re.pipes?this:(Ae||(Ae=Re.pipes),Re.pipes=null,Re.pipesCount=0,Re.flowing=!1,Ae&&Ae.emit("unpipe",this,ze),this);if(!Ae){var Qe=Re.pipes,ot=Re.pipesCount;Re.pipes=null,Re.pipesCount=0,Re.flowing=!1;for(var mt=0;mt<ot;mt++)Qe[mt].emit("unpipe",this,{hasUnpiped:!1});return this}var Ot=je(Re.pipes,Ae);return Ot===-1?this:(Re.pipes.splice(Ot,1),Re.pipesCount-=1,Re.pipesCount===1&&(Re.pipes=Re.pipes[0]),Ae.emit("unpipe",this,ze),this)},et.prototype.on=function(Ae,Re){var ze=he.prototype.on.call(this,Ae,Re),Qe=this._readableState;return Ae==="data"?(Qe.readableListening=this.listenerCount("readable")>0,Qe.flowing!==!1&&this.resume()):Ae==="readable"&&!Qe.endEmitted&&!Qe.readableListening&&(Qe.readableListening=Qe.needReadable=!0,Qe.flowing=!1,Qe.emittedReadable=!1,le("on readable",Qe.length,Qe.reading),Qe.length?nt(this):Qe.reading||ie.nextTick(Et,this)),ze},et.prototype.addListener=et.prototype.on,et.prototype.removeListener=function(Ae,Re){var ze=he.prototype.removeListener.call(this,Ae,Re);return Ae==="readable"&&ie.nextTick(At,this),ze},et.prototype.removeAllListeners=function(Ae){var Re=he.prototype.removeAllListeners.apply(this,arguments);return(Ae==="readable"||Ae===void 0)&&ie.nextTick(At,this),Re};function At(Ae){var Re=Ae._readableState;Re.readableListening=Ae.listenerCount("readable")>0,Re.resumeScheduled&&!Re.paused?Re.flowing=!0:Ae.listenerCount("data")>0&&Ae.resume()}function Et(Ae){le("readable nexttick read 0"),Ae.read(0)}et.prototype.resume=function(){var Ae=this._readableState;return Ae.flowing||(le("resume"),Ae.flowing=!Ae.readableListening,ut(this,Ae)),Ae.paused=!1,this};function ut(Ae,Re){Re.resumeScheduled||(Re.resumeScheduled=!0,ie.nextTick(Ye,Ae,Re))}function Ye(Ae,Re){le("resume",Re.reading),Re.reading||Ae.read(0),Re.resumeScheduled=!1,Ae.emit("resume"),Ve(Ae),Re.flowing&&!Re.reading&&Ae.read(0)}et.prototype.pause=function(){return le("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(le("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Ve(Ae){var Re=Ae._readableState;for(le("flow",Re.flowing);Re.flowing&&Ae.read()!==null;);}et.prototype.wrap=function(Ae){var Re=this,ze=this._readableState,Qe=!1;Ae.on("end",function(){if(le("wrapped end"),ze.decoder&&!ze.ended){var Ot=ze.decoder.end();Ot&&Ot.length&&Re.push(Ot)}Re.push(null)}),Ae.on("data",function(Ot){if(le("wrapped data"),ze.decoder&&(Ot=ze.decoder.write(Ot)),!(ze.objectMode&&Ot==null)&&!(!ze.objectMode&&(!Ot||!Ot.length))){var xt=Re.push(Ot);xt||(Qe=!0,Ae.pause())}});for(var ot in Ae)this[ot]===void 0&&typeof Ae[ot]=="function"&&(this[ot]=function(xt){return function(){return Ae[xt].apply(Ae,arguments)}}(ot));for(var mt=0;mt<_e.length;mt++)Ae.on(_e[mt],this.emit.bind(this,_e[mt]));return this._read=function(Ot){le("wrapped _read",Ot),Qe&&(Qe=!1,Ae.resume())},this},typeof Symbol=="function"&&(et.prototype[Symbol.asyncIterator]=function(){return De===void 0&&(De=x("./internal/streams/async_iterator")),De(this)}),Object.defineProperty(et.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(et.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(et.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Re){this._readableState&&(this._readableState.flowing=Re)}}),et._fromList=de,Object.defineProperty(et.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function de(Ae,Re){if(Re.length===0)return null;var ze;return Re.objectMode?ze=Re.buffer.shift():!Ae||Ae>=Re.length?(Re.decoder?ze=Re.buffer.join(""):Re.buffer.length===1?ze=Re.buffer.first():ze=Re.buffer.concat(Re.length),Re.buffer.clear()):ze=Re.buffer.consume(Ae,Re.decoder),ze}function Ce(Ae){var Re=Ae._readableState;le("endReadable",Re.endEmitted),Re.endEmitted||(Re.ended=!0,ie.nextTick(He,Re,Ae))}function He(Ae,Re){if(le("endReadableNT",Ae.endEmitted,Ae.length),!Ae.endEmitted&&Ae.length===0&&(Ae.endEmitted=!0,Re.readable=!1,Re.emit("end"),Ae.autoDestroy)){var ze=Re._writableState;(!ze||ze.autoDestroy&&ze.finished)&&Re.destroy()}}typeof Symbol=="function"&&(et.from=function(Ae,Re){return Be===void 0&&(Be=x("./internal/streams/from")),Be(et,Ae,Re)});function je(Ae,Re){for(var ze=0,Qe=Ae.length;ze<Qe;ze++)if(Ae[ze]===Re)return ze;return-1}}).call(this)}).call(this,x("_process"),typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/async_iterator":405,"./internal/streams/buffer_list":406,"./internal/streams/destroy":407,"./internal/streams/from":409,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,events:344,inherits:364,"string_decoder/":413,util:89}],403:[function(x,Te,me){"use strict";Te.exports=se;var ie=x("../errors").codes,te=ie.ERR_METHOD_NOT_IMPLEMENTED,ae=ie.ERR_MULTIPLE_CALLBACK,ne=ie.ERR_TRANSFORM_ALREADY_TRANSFORMING,oe=ie.ERR_TRANSFORM_WITH_LENGTH_0,he=x("./_stream_duplex");x("inherits")(se,he);function re(pe,le){var Se=this._transformState;Se.transforming=!1;var xe=Se.writecb;if(xe===null)return this.emit("error",new ae);Se.writechunk=null,Se.writecb=null,le!=null&&this.push(le),xe(pe);var ge=this._readableState;ge.reading=!1,(ge.needReadable||ge.length<ge.highWaterMark)&&this._read(ge.highWaterMark)}function se(pe){if(!(this instanceof se))return new se(pe);he.call(this,pe),this._transformState={afterTransform:re.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,pe&&(typeof pe.transform=="function"&&(this._transform=pe.transform),typeof pe.flush=="function"&&(this._flush=pe.flush)),this.on("prefinish",ce)}function ce(){var pe=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(le,Se){fe(pe,le,Se)}):fe(this,null,null)}se.prototype.push=function(pe,le){return this._transformState.needTransform=!1,he.prototype.push.call(this,pe,le)},se.prototype._transform=function(pe,le,Se){Se(new te("_transform()"))},se.prototype._write=function(pe,le,Se){var xe=this._transformState;if(xe.writecb=Se,xe.writechunk=pe,xe.writeencoding=le,!xe.transforming){var ge=this._readableState;(xe.needTransform||ge.needReadable||ge.length<ge.highWaterMark)&&this._read(ge.highWaterMark)}},se.prototype._read=function(pe){var le=this._transformState;le.writechunk!==null&&!le.transforming?(le.transforming=!0,this._transform(le.writechunk,le.writeencoding,le.afterTransform)):le.needTransform=!0},se.prototype._destroy=function(pe,le){he.prototype._destroy.call(this,pe,function(Se){le(Se)})};function fe(pe,le,Se){if(le)return pe.emit("error",le);if(Se!=null&&pe.push(Se),pe._writableState.length)throw new oe;if(pe._transformState.transforming)throw new ne;return pe.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(x,Te,me){(function(ie,te){(function(){"use strict";Te.exports=Ze;function ae(Ve,de,Ce){this.chunk=Ve,this.encoding=de,this.callback=Ce,this.next=null}function ne(Ve){var de=this;this.next=null,this.entry=null,this.finish=function(){Ye(de,Ve)}}var oe;Ze.WritableState=_e;var he={deprecate:x("util-deprecate")},re=x("./internal/streams/stream"),se=x("buffer").Buffer,ce=(typeof te!="undefined"?te:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function fe(Ve){return se.from(Ve)}function pe(Ve){return se.isBuffer(Ve)||Ve instanceof ce}var le=x("./internal/streams/destroy"),Se=x("./internal/streams/state"),xe=Se.getHighWaterMark,ge=x("../errors").codes,Me=ge.ERR_INVALID_ARG_TYPE,ye=ge.ERR_METHOD_NOT_IMPLEMENTED,be=ge.ERR_MULTIPLE_CALLBACK,Fe=ge.ERR_STREAM_CANNOT_PIPE,ke=ge.ERR_STREAM_DESTROYED,Ie=ge.ERR_STREAM_NULL_VALUES,Le=ge.ERR_STREAM_WRITE_AFTER_END,De=ge.ERR_UNKNOWN_ENCODING,Be=le.errorOrDestroy;x("inherits")(Ze,re);function Ue(){}function _e(Ve,de,Ce){oe=oe||x("./_stream_duplex"),Ve=Ve||{},typeof Ce!="boolean"&&(Ce=de instanceof oe),this.objectMode=!!Ve.objectMode,Ce&&(this.objectMode=this.objectMode||!!Ve.writableObjectMode),this.highWaterMark=xe(this,Ve,"writableHighWaterMark",Ce),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var He=Ve.decodeStrings===!1;this.decodeStrings=!He,this.defaultEncoding=Ve.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(je){st(de,je)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Ve.emitClose!==!1,this.autoDestroy=!!Ve.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new ne(this)}_e.prototype.getBuffer=function(){for(var de=this.bufferedRequest,Ce=[];de;)Ce.push(de),de=de.next;return Ce},function(){try{Object.defineProperty(_e.prototype,"buffer",{get:he.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ve){}}();var We;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(We=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ze,Symbol.hasInstance,{value:function(de){return We.call(this,de)?!0:this!==Ze?!1:de&&de._writableState instanceof _e}})):We=function(de){return de instanceof this};function Ze(Ve){oe=oe||x("./_stream_duplex");var de=this instanceof oe;if(!de&&!We.call(Ze,this))return new Ze(Ve);this._writableState=new _e(Ve,this,de),this.writable=!0,Ve&&(typeof Ve.write=="function"&&(this._write=Ve.write),typeof Ve.writev=="function"&&(this._writev=Ve.writev),typeof Ve.destroy=="function"&&(this._destroy=Ve.destroy),typeof Ve.final=="function"&&(this._final=Ve.final)),re.call(this)}Ze.prototype.pipe=function(){Be(this,new Fe)};function et(Ve,de){var Ce=new Le;Be(Ve,Ce),ie.nextTick(de,Ce)}function at(Ve,de,Ce,He){var je;return Ce===null?je=new Ie:typeof Ce!="string"&&!de.objectMode&&(je=new Me("chunk",["string","Buffer"],Ce)),je?(Be(Ve,je),ie.nextTick(He,je),!1):!0}Ze.prototype.write=function(Ve,de,Ce){var He=this._writableState,je=!1,Ae=!He.objectMode&&pe(Ve);return Ae&&!se.isBuffer(Ve)&&(Ve=fe(Ve)),typeof de=="function"&&(Ce=de,de=null),Ae?de="buffer":de||(de=He.defaultEncoding),typeof Ce!="function"&&(Ce=Ue),He.ending?et(this,Ce):(Ae||at(this,He,Ve,Ce))&&(He.pendingcb++,je=Xe(this,He,Ae,Ve,de,Ce)),je},Ze.prototype.cork=function(){this._writableState.corked++},Ze.prototype.uncork=function(){var Ve=this._writableState;Ve.corked&&(Ve.corked--,!Ve.writing&&!Ve.corked&&!Ve.bufferProcessing&&Ve.bufferedRequest&&it(this,Ve))},Ze.prototype.setDefaultEncoding=function(de){if(typeof de=="string"&&(de=de.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((de+"").toLowerCase())>-1))throw new De(de);return this._writableState.defaultEncoding=de,this},Object.defineProperty(Ze.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function pt(Ve,de,Ce){return!Ve.objectMode&&Ve.decodeStrings!==!1&&typeof de=="string"&&(de=se.from(de,Ce)),de}Object.defineProperty(Ze.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Xe(Ve,de,Ce,He,je,Ae){if(!Ce){var Re=pt(de,He,je);He!==Re&&(Ce=!0,je="buffer",He=Re)}var ze=de.objectMode?1:He.length;de.length+=ze;var Qe=de.length<de.highWaterMark;if(Qe||(de.needDrain=!0),de.writing||de.corked){var ot=de.lastBufferedRequest;de.lastBufferedRequest={chunk:He,encoding:je,isBuf:Ce,callback:Ae,next:null},ot?ot.next=de.lastBufferedRequest:de.bufferedRequest=de.lastBufferedRequest,de.bufferedRequestCount+=1}else Ge(Ve,de,!1,ze,He,je,Ae);return Qe}function Ge(Ve,de,Ce,He,je,Ae,Re){de.writelen=He,de.writecb=Re,de.writing=!0,de.sync=!0,de.destroyed?de.onwrite(new ke("write")):Ce?Ve._writev(je,de.onwrite):Ve._write(je,Ae,de.onwrite),de.sync=!1}function lt(Ve,de,Ce,He,je){--de.pendingcb,Ce?(ie.nextTick(je,He),ie.nextTick(Et,Ve,de),Ve._writableState.errorEmitted=!0,Be(Ve,He)):(je(He),Ve._writableState.errorEmitted=!0,Be(Ve,He),Et(Ve,de))}function dt(Ve){Ve.writing=!1,Ve.writecb=null,Ve.length-=Ve.writelen,Ve.writelen=0}function st(Ve,de){var Ce=Ve._writableState,He=Ce.sync,je=Ce.writecb;if(typeof je!="function")throw new be;if(dt(Ce),de)lt(Ve,Ce,He,de,je);else{var Ae=gt(Ce)||Ve.destroyed;!Ae&&!Ce.corked&&!Ce.bufferProcessing&&Ce.bufferedRequest&&it(Ve,Ce),He?ie.nextTick(nt,Ve,Ce,Ae,je):nt(Ve,Ce,Ae,je)}}function nt(Ve,de,Ce,He){Ce||rt(Ve,de),de.pendingcb--,He(),Et(Ve,de)}function rt(Ve,de){de.length===0&&de.needDrain&&(de.needDrain=!1,Ve.emit("drain"))}function it(Ve,de){de.bufferProcessing=!0;var Ce=de.bufferedRequest;if(Ve._writev&&Ce&&Ce.next){var He=de.bufferedRequestCount,je=new Array(He),Ae=de.corkedRequestsFree;Ae.entry=Ce;for(var Re=0,ze=!0;Ce;)je[Re]=Ce,Ce.isBuf||(ze=!1),Ce=Ce.next,Re+=1;je.allBuffers=ze,Ge(Ve,de,!0,de.length,je,"",Ae.finish),de.pendingcb++,de.lastBufferedRequest=null,Ae.next?(de.corkedRequestsFree=Ae.next,Ae.next=null):de.corkedRequestsFree=new ne(de),de.bufferedRequestCount=0}else{for(;Ce;){var Qe=Ce.chunk,ot=Ce.encoding,mt=Ce.callback,Ot=de.objectMode?1:Qe.length;if(Ge(Ve,de,!1,Ot,Qe,ot,mt),Ce=Ce.next,de.bufferedRequestCount--,de.writing)break}Ce===null&&(de.lastBufferedRequest=null)}de.bufferedRequest=Ce,de.bufferProcessing=!1}Ze.prototype._write=function(Ve,de,Ce){Ce(new ye("_write()"))},Ze.prototype._writev=null,Ze.prototype.end=function(Ve,de,Ce){var He=this._writableState;return typeof Ve=="function"?(Ce=Ve,Ve=null,de=null):typeof de=="function"&&(Ce=de,de=null),Ve!=null&&this.write(Ve,de),He.corked&&(He.corked=1,this.uncork()),He.ending||ut(this,He,Ce),this},Object.defineProperty(Ze.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function gt(Ve){return Ve.ending&&Ve.length===0&&Ve.bufferedRequest===null&&!Ve.finished&&!Ve.writing}function vt(Ve,de){Ve._final(function(Ce){de.pendingcb--,Ce&&Be(Ve,Ce),de.prefinished=!0,Ve.emit("prefinish"),Et(Ve,de)})}function At(Ve,de){!de.prefinished&&!de.finalCalled&&(typeof Ve._final=="function"&&!de.destroyed?(de.pendingcb++,de.finalCalled=!0,ie.nextTick(vt,Ve,de)):(de.prefinished=!0,Ve.emit("prefinish")))}function Et(Ve,de){var Ce=gt(de);if(Ce&&(At(Ve,de),de.pendingcb===0&&(de.finished=!0,Ve.emit("finish"),de.autoDestroy))){var He=Ve._readableState;(!He||He.autoDestroy&&He.endEmitted)&&Ve.destroy()}return Ce}function ut(Ve,de,Ce){de.ending=!0,Et(Ve,de),Ce&&(de.finished?ie.nextTick(Ce):Ve.once("finish",Ce)),de.ended=!0,Ve.writable=!1}function Ye(Ve,de,Ce){var He=Ve.entry;for(Ve.entry=null;He;){var je=He.callback;de.pendingcb--,je(Ce),He=He.next}de.corkedRequestsFree.next=Ve}Object.defineProperty(Ze.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(de){this._writableState&&(this._writableState.destroyed=de)}}),Ze.prototype.destroy=le.destroy,Ze.prototype._undestroy=le.undestroy,Ze.prototype._destroy=function(Ve,de){de(Ve)}}).call(this)}).call(this,x("_process"),typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/destroy":407,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,inherits:364,"util-deprecate":416}],405:[function(x,Te,me){(function(ie){(function(){"use strict";var te;function ae(Ie,Le,De){return Le=ne(Le),Le in Ie?Object.defineProperty(Ie,Le,{value:De,enumerable:!0,configurable:!0,writable:!0}):Ie[Le]=De,Ie}function ne(Ie){var Le=oe(Ie,"string");return typeof Le=="symbol"?Le:String(Le)}function oe(Ie,Le){if(typeof Ie!="object"||Ie===null)return Ie;var De=Ie[Symbol.toPrimitive];if(De!==void 0){var Be=De.call(Ie,Le||"default");if(typeof Be!="object")return Be;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Le==="string"?String:Number)(Ie)}var he=x("./end-of-stream"),re=Symbol("lastResolve"),se=Symbol("lastReject"),ce=Symbol("error"),fe=Symbol("ended"),pe=Symbol("lastPromise"),le=Symbol("handlePromise"),Se=Symbol("stream");function xe(Ie,Le){return{value:Ie,done:Le}}function ge(Ie){var Le=Ie[re];if(Le!==null){var De=Ie[Se].read();De!==null&&(Ie[pe]=null,Ie[re]=null,Ie[se]=null,Le(xe(De,!1)))}}function Me(Ie){ie.nextTick(ge,Ie)}function ye(Ie,Le){return function(De,Be){Ie.then(function(){if(Le[fe]){De(xe(void 0,!0));return}Le[le](De,Be)},Be)}}var be=Object.getPrototypeOf(function(){}),Fe=Object.setPrototypeOf((te={get stream(){return this[Se]},next:function(){var Le=this,De=this[ce];if(De!==null)return Promise.reject(De);if(this[fe])return Promise.resolve(xe(void 0,!0));if(this[Se].destroyed)return new Promise(function(We,Ze){ie.nextTick(function(){Le[ce]?Ze(Le[ce]):We(xe(void 0,!0))})});var Be=this[pe],Ue;if(Be)Ue=new Promise(ye(Be,this));else{var _e=this[Se].read();if(_e!==null)return Promise.resolve(xe(_e,!1));Ue=new Promise(this[le])}return this[pe]=Ue,Ue}},ae(te,Symbol.asyncIterator,function(){return this}),ae(te,"return",function(){var Le=this;return new Promise(function(De,Be){Le[Se].destroy(null,function(Ue){if(Ue){Be(Ue);return}De(xe(void 0,!0))})})}),te),be),ke=function(Le){var De,Be=Object.create(Fe,(De={},ae(De,Se,{value:Le,writable:!0}),ae(De,re,{value:null,writable:!0}),ae(De,se,{value:null,writable:!0}),ae(De,ce,{value:null,writable:!0}),ae(De,fe,{value:Le._readableState.endEmitted,writable:!0}),ae(De,le,{value:function(_e,We){var Ze=Be[Se].read();Ze?(Be[pe]=null,Be[re]=null,Be[se]=null,_e(xe(Ze,!1))):(Be[re]=_e,Be[se]=We)},writable:!0}),De));return Be[pe]=null,he(Le,function(Ue){if(Ue&&Ue.code!=="ERR_STREAM_PREMATURE_CLOSE"){var _e=Be[se];_e!==null&&(Be[pe]=null,Be[re]=null,Be[se]=null,_e(Ue)),Be[ce]=Ue;return}var We=Be[re];We!==null&&(Be[pe]=null,Be[re]=null,Be[se]=null,We(xe(void 0,!0))),Be[fe]=!0}),Le.on("readable",Me.bind(null,Be)),Be};Te.exports=ke}).call(this)}).call(this,x("_process"))},{"./end-of-stream":408,_process:467}],406:[function(x,Te,me){"use strict";function ie(ge,Me){var ye=Object.keys(ge);if(Object.getOwnPropertySymbols){var be=Object.getOwnPropertySymbols(ge);Me&&(be=be.filter(function(Fe){return Object.getOwnPropertyDescriptor(ge,Fe).enumerable})),ye.push.apply(ye,be)}return ye}function te(ge){for(var Me=1;Me<arguments.length;Me++){var ye=arguments[Me]!=null?arguments[Me]:{};Me%2?ie(Object(ye),!0).forEach(function(be){ae(ge,be,ye[be])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ge,Object.getOwnPropertyDescriptors(ye)):ie(Object(ye)).forEach(function(be){Object.defineProperty(ge,be,Object.getOwnPropertyDescriptor(ye,be))})}return ge}function ae(ge,Me,ye){return Me=re(Me),Me in ge?Object.defineProperty(ge,Me,{value:ye,enumerable:!0,configurable:!0,writable:!0}):ge[Me]=ye,ge}function ne(ge,Me){if(!(ge instanceof Me))throw new TypeError("Cannot call a class as a function")}function oe(ge,Me){for(var ye=0;ye<Me.length;ye++){var be=Me[ye];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(ge,re(be.key),be)}}function he(ge,Me,ye){return Me&&oe(ge.prototype,Me),ye&&oe(ge,ye),Object.defineProperty(ge,"prototype",{writable:!1}),ge}function re(ge){var Me=se(ge,"string");return typeof Me=="symbol"?Me:String(Me)}function se(ge,Me){if(typeof ge!="object"||ge===null)return ge;var ye=ge[Symbol.toPrimitive];if(ye!==void 0){var be=ye.call(ge,Me||"default");if(typeof be!="object")return be;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Me==="string"?String:Number)(ge)}var ce=x("buffer"),fe=ce.Buffer,pe=x("util"),le=pe.inspect,Se=le&&le.custom||"inspect";function xe(ge,Me,ye){fe.prototype.copy.call(ge,Me,ye)}Te.exports=function(){function ge(){ne(this,ge),this.head=null,this.tail=null,this.length=0}return he(ge,[{key:"push",value:function(ye){var be={data:ye,next:null};this.length>0?this.tail.next=be:this.head=be,this.tail=be,++this.length}},{key:"unshift",value:function(ye){var be={data:ye,next:this.head};this.length===0&&(this.tail=be),this.head=be,++this.length}},{key:"shift",value:function(){if(this.length!==0){var ye=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ye}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(ye){if(this.length===0)return"";for(var be=this.head,Fe=""+be.data;be=be.next;)Fe+=ye+be.data;return Fe}},{key:"concat",value:function(ye){if(this.length===0)return fe.alloc(0);for(var be=fe.allocUnsafe(ye>>>0),Fe=this.head,ke=0;Fe;)xe(Fe.data,be,ke),ke+=Fe.data.length,Fe=Fe.next;return be}},{key:"consume",value:function(ye,be){var Fe;return ye<this.head.data.length?(Fe=this.head.data.slice(0,ye),this.head.data=this.head.data.slice(ye)):ye===this.head.data.length?Fe=this.shift():Fe=be?this._getString(ye):this._getBuffer(ye),Fe}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(ye){var be=this.head,Fe=1,ke=be.data;for(ye-=ke.length;be=be.next;){var Ie=be.data,Le=ye>Ie.length?Ie.length:ye;if(Le===Ie.length?ke+=Ie:ke+=Ie.slice(0,ye),ye-=Le,ye===0){Le===Ie.length?(++Fe,be.next?this.head=be.next:this.head=this.tail=null):(this.head=be,be.data=Ie.slice(Le));break}++Fe}return this.length-=Fe,ke}},{key:"_getBuffer",value:function(ye){var be=fe.allocUnsafe(ye),Fe=this.head,ke=1;for(Fe.data.copy(be),ye-=Fe.data.length;Fe=Fe.next;){var Ie=Fe.data,Le=ye>Ie.length?Ie.length:ye;if(Ie.copy(be,be.length-ye,0,Le),ye-=Le,ye===0){Le===Ie.length?(++ke,Fe.next?this.head=Fe.next:this.head=this.tail=null):(this.head=Fe,Fe.data=Ie.slice(Le));break}++ke}return this.length-=ke,be}},{key:Se,value:function(ye,be){return le(this,te(te({},be),{},{depth:0,customInspect:!1}))}}]),ge}()},{buffer:90,util:89}],407:[function(x,Te,me){(function(ie){(function(){"use strict";function te(se,ce){var fe=this,pe=this._readableState&&this._readableState.destroyed,le=this._writableState&&this._writableState.destroyed;return pe||le?(ce?ce(se):se&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,ie.nextTick(he,this,se)):ie.nextTick(he,this,se)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(se||null,function(Se){!ce&&Se?fe._writableState?fe._writableState.errorEmitted?ie.nextTick(ne,fe):(fe._writableState.errorEmitted=!0,ie.nextTick(ae,fe,Se)):ie.nextTick(ae,fe,Se):ce?(ie.nextTick(ne,fe),ce(Se)):ie.nextTick(ne,fe)}),this)}function ae(se,ce){he(se,ce),ne(se)}function ne(se){se._writableState&&!se._writableState.emitClose||se._readableState&&!se._readableState.emitClose||se.emit("close")}function oe(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function he(se,ce){se.emit("error",ce)}function re(se,ce){var fe=se._readableState,pe=se._writableState;fe&&fe.autoDestroy||pe&&pe.autoDestroy?se.destroy(ce):se.emit("error",ce)}Te.exports={destroy:te,undestroy:oe,errorOrDestroy:re}}).call(this)}).call(this,x("_process"))},{_process:467}],408:[function(x,Te,me){"use strict";var ie=x("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function te(he){var re=!1;return function(){if(!re){re=!0;for(var se=arguments.length,ce=new Array(se),fe=0;fe<se;fe++)ce[fe]=arguments[fe];he.apply(this,ce)}}}function ae(){}function ne(he){return he.setHeader&&typeof he.abort=="function"}function oe(he,re,se){if(typeof re=="function")return oe(he,null,re);re||(re={}),se=te(se||ae);var ce=re.readable||re.readable!==!1&&he.readable,fe=re.writable||re.writable!==!1&&he.writable,pe=function(){he.writable||Se()},le=he._writableState&&he._writableState.finished,Se=function(){fe=!1,le=!0,ce||se.call(he)},xe=he._readableState&&he._readableState.endEmitted,ge=function(){ce=!1,xe=!0,fe||se.call(he)},Me=function(ke){se.call(he,ke)},ye=function(){var ke;if(ce&&!xe)return(!he._readableState||!he._readableState.ended)&&(ke=new ie),se.call(he,ke);if(fe&&!le)return(!he._writableState||!he._writableState.ended)&&(ke=new ie),se.call(he,ke)},be=function(){he.req.on("finish",Se)};return ne(he)?(he.on("complete",Se),he.on("abort",ye),he.req?be():he.on("request",be)):fe&&!he._writableState&&(he.on("end",pe),he.on("close",pe)),he.on("end",ge),he.on("finish",Se),re.error!==!1&&he.on("error",Me),he.on("close",ye),function(){he.removeListener("complete",Se),he.removeListener("abort",ye),he.removeListener("request",be),he.req&&he.req.removeListener("finish",Se),he.removeListener("end",pe),he.removeListener("close",pe),he.removeListener("finish",Se),he.removeListener("end",ge),he.removeListener("error",Me),he.removeListener("close",ye)}}Te.exports=oe},{"../../../errors":399}],409:[function(x,Te,me){Te.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(x,Te,me){"use strict";var ie;function te(Se){var xe=!1;return function(){xe||(xe=!0,Se.apply(void 0,arguments))}}var ae=x("../../../errors").codes,ne=ae.ERR_MISSING_ARGS,oe=ae.ERR_STREAM_DESTROYED;function he(Se){if(Se)throw Se}function re(Se){return Se.setHeader&&typeof Se.abort=="function"}function se(Se,xe,ge,Me){Me=te(Me);var ye=!1;Se.on("close",function(){ye=!0}),ie===void 0&&(ie=x("./end-of-stream")),ie(Se,{readable:xe,writable:ge},function(Fe){if(Fe)return Me(Fe);ye=!0,Me()});var be=!1;return function(Fe){if(!ye&&!be){if(be=!0,re(Se))return Se.abort();if(typeof Se.destroy=="function")return Se.destroy();Me(Fe||new oe("pipe"))}}}function ce(Se){Se()}function fe(Se,xe){return Se.pipe(xe)}function pe(Se){return!Se.length||typeof Se[Se.length-1]!="function"?he:Se.pop()}function le(){for(var Se=arguments.length,xe=new Array(Se),ge=0;ge<Se;ge++)xe[ge]=arguments[ge];var Me=pe(xe);if(Array.isArray(xe[0])&&(xe=xe[0]),xe.length<2)throw new ne("streams");var ye,be=xe.map(function(Fe,ke){var Ie=ke<xe.length-1,Le=ke>0;return se(Fe,Ie,Le,function(De){ye||(ye=De),De&&be.forEach(ce),!Ie&&(be.forEach(ce),Me(ye))})});return xe.reduce(fe)}Te.exports=le},{"../../../errors":399,"./end-of-stream":408}],411:[function(x,Te,me){"use strict";var ie=x("../../../errors").codes.ERR_INVALID_OPT_VALUE;function te(ne,oe,he){return ne.highWaterMark!=null?ne.highWaterMark:oe?ne[he]:null}function ae(ne,oe,he,re){var se=te(oe,re,he);if(se!=null){if(!(isFinite(se)&&Math.floor(se)===se)||se<0){var ce=re?he:"highWaterMark";throw new ie(ce,se)}return Math.floor(se)}return ne.objectMode?16:16*1024}Te.exports={getHighWaterMark:ae}},{"../../../errors":399}],412:[function(x,Te,me){arguments[4][393][0].apply(me,arguments)},{dup:393,events:344}],413:[function(x,Te,me){"use strict";var ie=x("safe-buffer").Buffer,te=ie.isEncoding||function(be){switch(be=""+be,be&&be.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function ae(be){if(!be)return"utf8";for(var Fe;;)switch(be){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return be;default:if(Fe)return;be=(""+be).toLowerCase(),Fe=!0}}function ne(be){var Fe=ae(be);if(typeof Fe!="string"&&(ie.isEncoding===te||!te(be)))throw new Error("Unknown encoding: "+be);return Fe||be}me.StringDecoder=oe;function oe(be){this.encoding=ne(be);var Fe;switch(this.encoding){case"utf16le":this.text=le,this.end=Se,Fe=4;break;case"utf8":this.fillLast=ce,Fe=4;break;case"base64":this.text=xe,this.end=ge,Fe=3;break;default:this.write=Me,this.end=ye;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=ie.allocUnsafe(Fe)}oe.prototype.write=function(be){if(be.length===0)return"";var Fe,ke;if(this.lastNeed){if(Fe=this.fillLast(be),Fe===void 0)return"";ke=this.lastNeed,this.lastNeed=0}else ke=0;return ke<be.length?Fe?Fe+this.text(be,ke):this.text(be,ke):Fe||""},oe.prototype.end=pe,oe.prototype.text=fe,oe.prototype.fillLast=function(be){if(this.lastNeed<=be.length)return be.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);be.copy(this.lastChar,this.lastTotal-this.lastNeed,0,be.length),this.lastNeed-=be.length};function he(be){return be<=127?0:be>>5===6?2:be>>4===14?3:be>>3===30?4:be>>6===2?-1:-2}function re(be,Fe,ke){var Ie=Fe.length-1;if(Ie<ke)return 0;var Le=he(Fe[Ie]);return Le>=0?(Le>0&&(be.lastNeed=Le-1),Le):--Ie<ke||Le===-2?0:(Le=he(Fe[Ie]),Le>=0?(Le>0&&(be.lastNeed=Le-2),Le):--Ie<ke||Le===-2?0:(Le=he(Fe[Ie]),Le>=0?(Le>0&&(Le===2?Le=0:be.lastNeed=Le-3),Le):0))}function se(be,Fe,ke){if((Fe[0]&192)!==128)return be.lastNeed=0,"\uFFFD";if(be.lastNeed>1&&Fe.length>1){if((Fe[1]&192)!==128)return be.lastNeed=1,"\uFFFD";if(be.lastNeed>2&&Fe.length>2&&(Fe[2]&192)!==128)return be.lastNeed=2,"\uFFFD"}}function ce(be){var Fe=this.lastTotal-this.lastNeed,ke=se(this,be,Fe);if(ke!==void 0)return ke;if(this.lastNeed<=be.length)return be.copy(this.lastChar,Fe,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);be.copy(this.lastChar,Fe,0,be.length),this.lastNeed-=be.length}function fe(be,Fe){var ke=re(this,be,Fe);if(!this.lastNeed)return be.toString("utf8",Fe);this.lastTotal=ke;var Ie=be.length-(ke-this.lastNeed);return be.copy(this.lastChar,0,Ie),be.toString("utf8",Fe,Ie)}function pe(be){var Fe=be&&be.length?this.write(be):"";return this.lastNeed?Fe+"\uFFFD":Fe}function le(be,Fe){if((be.length-Fe)%2===0){var ke=be.toString("utf16le",Fe);if(ke){var Ie=ke.charCodeAt(ke.length-1);if(Ie>=55296&&Ie<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=be[be.length-2],this.lastChar[1]=be[be.length-1],ke.slice(0,-1)}return ke}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=be[be.length-1],be.toString("utf16le",Fe,be.length-1)}function Se(be){var Fe=be&&be.length?this.write(be):"";if(this.lastNeed){var ke=this.lastTotal-this.lastNeed;return Fe+this.lastChar.toString("utf16le",0,ke)}return Fe}function xe(be,Fe){var ke=(be.length-Fe)%3;return ke===0?be.toString("base64",Fe):(this.lastNeed=3-ke,this.lastTotal=3,ke===1?this.lastChar[0]=be[be.length-1]:(this.lastChar[0]=be[be.length-2],this.lastChar[1]=be[be.length-1]),be.toString("base64",Fe,be.length-ke))}function ge(be){var Fe=be&&be.length?this.write(be):"";return this.lastNeed?Fe+this.lastChar.toString("base64",0,3-this.lastNeed):Fe}function Me(be){return be.toString(this.encoding)}function ye(be){return be&&be.length?this.write(be):""}},{"safe-buffer":396}],414:[function(x,Te,me){(function(ie,te){(function(){var ae=x("process/browser.js").nextTick,ne=Function.prototype.apply,oe=Array.prototype.slice,he={},re=0;me.setTimeout=function(){return new se(ne.call(setTimeout,window,arguments),clearTimeout)},me.setInterval=function(){return new se(ne.call(setInterval,window,arguments),clearInterval)},me.clearTimeout=me.clearInterval=function(ce){ce.close()};function se(ce,fe){this._id=ce,this._clearFn=fe}se.prototype.unref=se.prototype.ref=function(){},se.prototype.close=function(){this._clearFn.call(window,this._id)},me.enroll=function(ce,fe){clearTimeout(ce._idleTimeoutId),ce._idleTimeout=fe},me.unenroll=function(ce){clearTimeout(ce._idleTimeoutId),ce._idleTimeout=-1},me._unrefActive=me.active=function(ce){clearTimeout(ce._idleTimeoutId);var fe=ce._idleTimeout;fe>=0&&(ce._idleTimeoutId=setTimeout(function(){ce._onTimeout&&ce._onTimeout()},fe))},me.setImmediate=typeof ie=="function"?ie:function(ce){var fe=re++,pe=arguments.length<2?!1:oe.call(arguments,1);return he[fe]=!0,ae(function(){he[fe]&&(pe?ce.apply(null,pe):ce.call(null),me.clearImmediate(fe))}),fe},me.clearImmediate=typeof te=="function"?te:function(ce){delete he[ce]}}).call(this)}).call(this,x("timers").setImmediate,x("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(x,Te,me){var ie=x("buffer").Buffer;Te.exports=function(te){if(te instanceof Uint8Array){if(te.byteOffset===0&&te.byteLength===te.buffer.byteLength)return te.buffer;if(typeof te.buffer.slice=="function")return te.buffer.slice(te.byteOffset,te.byteOffset+te.byteLength)}if(ie.isBuffer(te)){for(var ae=new Uint8Array(te.length),ne=te.length,oe=0;oe<ne;oe++)ae[oe]=te[oe];return ae.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(x,Te,me){(function(ie){(function(){Te.exports=te;function te(ne,oe){if(ae("noDeprecation"))return ne;var he=!1;function re(){if(!he){if(ae("throwDeprecation"))throw new Error(oe);ae("traceDeprecation")?console.trace(oe):console.warn(oe),he=!0}return ne.apply(this,arguments)}return re}function ae(ne){try{if(!ie.localStorage)return!1}catch(he){return!1}var oe=ie.localStorage[ne];return oe==null?!1:String(oe).toLowerCase()==="true"}}).call(this)}).call(this,typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(x,Te,me){arguments[4][84][0].apply(me,arguments)},{dup:84}],418:[function(x,Te,me){"use strict";var ie=x("is-arguments"),te=x("is-generator-function"),ae=x("which-typed-array"),ne=x("is-typed-array");function oe(ot){return ot.call.bind(ot)}var he=typeof BigInt!="undefined",re=typeof Symbol!="undefined",se=oe(Object.prototype.toString),ce=oe(Number.prototype.valueOf),fe=oe(String.prototype.valueOf),pe=oe(Boolean.prototype.valueOf);if(he)var le=oe(BigInt.prototype.valueOf);if(re)var Se=oe(Symbol.prototype.valueOf);function xe(ot,mt){if(typeof ot!="object")return!1;try{return mt(ot),!0}catch(Ot){return!1}}me.isArgumentsObject=ie,me.isGeneratorFunction=te,me.isTypedArray=ne;function ge(ot){return typeof Promise!="undefined"&&ot instanceof Promise||ot!==null&&typeof ot=="object"&&typeof ot.then=="function"&&typeof ot.catch=="function"}me.isPromise=ge;function Me(ot){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(ot):ne(ot)||it(ot)}me.isArrayBufferView=Me;function ye(ot){return ae(ot)==="Uint8Array"}me.isUint8Array=ye;function be(ot){return ae(ot)==="Uint8ClampedArray"}me.isUint8ClampedArray=be;function Fe(ot){return ae(ot)==="Uint16Array"}me.isUint16Array=Fe;function ke(ot){return ae(ot)==="Uint32Array"}me.isUint32Array=ke;function Ie(ot){return ae(ot)==="Int8Array"}me.isInt8Array=Ie;function Le(ot){return ae(ot)==="Int16Array"}me.isInt16Array=Le;function De(ot){return ae(ot)==="Int32Array"}me.isInt32Array=De;function Be(ot){return ae(ot)==="Float32Array"}me.isFloat32Array=Be;function Ue(ot){return ae(ot)==="Float64Array"}me.isFloat64Array=Ue;function _e(ot){return ae(ot)==="BigInt64Array"}me.isBigInt64Array=_e;function We(ot){return ae(ot)==="BigUint64Array"}me.isBigUint64Array=We;function Ze(ot){return se(ot)==="[object Map]"}Ze.working=typeof Map!="undefined"&&Ze(new Map);function et(ot){return typeof Map=="undefined"?!1:Ze.working?Ze(ot):ot instanceof Map}me.isMap=et;function at(ot){return se(ot)==="[object Set]"}at.working=typeof Set!="undefined"&&at(new Set);function pt(ot){return typeof Set=="undefined"?!1:at.working?at(ot):ot instanceof Set}me.isSet=pt;function Xe(ot){return se(ot)==="[object WeakMap]"}Xe.working=typeof WeakMap!="undefined"&&Xe(new WeakMap);function Ge(ot){return typeof WeakMap=="undefined"?!1:Xe.working?Xe(ot):ot instanceof WeakMap}me.isWeakMap=Ge;function lt(ot){return se(ot)==="[object WeakSet]"}lt.working=typeof WeakSet!="undefined"&&lt(new WeakSet);function dt(ot){return lt(ot)}me.isWeakSet=dt;function st(ot){return se(ot)==="[object ArrayBuffer]"}st.working=typeof ArrayBuffer!="undefined"&&st(new ArrayBuffer);function nt(ot){return typeof ArrayBuffer=="undefined"?!1:st.working?st(ot):ot instanceof ArrayBuffer}me.isArrayBuffer=nt;function rt(ot){return se(ot)==="[object DataView]"}rt.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&rt(new DataView(new ArrayBuffer(1),0,1));function it(ot){return typeof DataView=="undefined"?!1:rt.working?rt(ot):ot instanceof DataView}me.isDataView=it;var gt=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function vt(ot){return se(ot)==="[object SharedArrayBuffer]"}function At(ot){return typeof gt=="undefined"?!1:(typeof vt.working=="undefined"&&(vt.working=vt(new gt)),vt.working?vt(ot):ot instanceof gt)}me.isSharedArrayBuffer=At;function Et(ot){return se(ot)==="[object AsyncFunction]"}me.isAsyncFunction=Et;function ut(ot){return se(ot)==="[object Map Iterator]"}me.isMapIterator=ut;function Ye(ot){return se(ot)==="[object Set Iterator]"}me.isSetIterator=Ye;function Ve(ot){return se(ot)==="[object Generator]"}me.isGeneratorObject=Ve;function de(ot){return se(ot)==="[object WebAssembly.Module]"}me.isWebAssemblyCompiledModule=de;function Ce(ot){return xe(ot,ce)}me.isNumberObject=Ce;function He(ot){return xe(ot,fe)}me.isStringObject=He;function je(ot){return xe(ot,pe)}me.isBooleanObject=je;function Ae(ot){return he&&xe(ot,le)}me.isBigIntObject=Ae;function Re(ot){return re&&xe(ot,Se)}me.isSymbolObject=Re;function ze(ot){return Ce(ot)||He(ot)||je(ot)||Ae(ot)||Re(ot)}me.isBoxedPrimitive=ze;function Qe(ot){return typeof Uint8Array!="undefined"&&(nt(ot)||At(ot))}me.isAnyArrayBuffer=Qe,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(ot){Object.defineProperty(me,ot,{enumerable:!1,value:function(){throw new Error(ot+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(x,Te,me){(function(ie){(function(){var te=Object.getOwnPropertyDescriptors||function(gt){for(var vt=Object.keys(gt),At={},Et=0;Et<vt.length;Et++)At[vt[Et]]=Object.getOwnPropertyDescriptor(gt,vt[Et]);return At},ae=/%[sdj%]/g;me.format=function(it){if(!Le(it)){for(var gt=[],vt=0;vt<arguments.length;vt++)gt.push(re(arguments[vt]));return gt.join(" ")}for(var vt=1,At=arguments,Et=At.length,ut=String(it).replace(ae,function(Ve){if(Ve==="%%")return"%";if(vt>=Et)return Ve;switch(Ve){case"%s":return String(At[vt++]);case"%d":return Number(At[vt++]);case"%j":try{return JSON.stringify(At[vt++])}catch(de){return"[Circular]"}default:return Ve}}),Ye=At[vt];vt<Et;Ye=At[++vt])Fe(Ye)||!_e(Ye)?ut+=" "+Ye:ut+=" "+re(Ye);return ut},me.deprecate=function(it,gt){if(typeof ie!="undefined"&&ie.noDeprecation===!0)return it;if(typeof ie=="undefined")return function(){return me.deprecate(it,gt).apply(this,arguments)};var vt=!1;function At(){if(!vt){if(ie.throwDeprecation)throw new Error(gt);ie.traceDeprecation?console.trace(gt):console.error(gt),vt=!0}return it.apply(this,arguments)}return At};var ne={},oe=/^$/;if(ie.env.NODE_DEBUG){var he=ie.env.NODE_DEBUG;he=he.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),oe=new RegExp("^"+he+"$","i")}me.debuglog=function(it){if(it=it.toUpperCase(),!ne[it])if(oe.test(it)){var gt=ie.pid;ne[it]=function(){var vt=me.format.apply(me,arguments);console.error("%s %d: %s",it,gt,vt)}}else ne[it]=function(){};return ne[it]};function re(it,gt){var vt={seen:[],stylize:ce};return arguments.length>=3&&(vt.depth=arguments[2]),arguments.length>=4&&(vt.colors=arguments[3]),be(gt)?vt.showHidden=gt:gt&&me._extend(vt,gt),Be(vt.showHidden)&&(vt.showHidden=!1),Be(vt.depth)&&(vt.depth=2),Be(vt.colors)&&(vt.colors=!1),Be(vt.customInspect)&&(vt.customInspect=!0),vt.colors&&(vt.stylize=se),pe(vt,it,vt.depth)}me.inspect=re,re.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},re.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function se(it,gt){var vt=re.styles[gt];return vt?"\x1B["+re.colors[vt][0]+"m"+it+"\x1B["+re.colors[vt][1]+"m":it}function ce(it,gt){return it}function fe(it){var gt={};return it.forEach(function(vt,At){gt[vt]=!0}),gt}function pe(it,gt,vt){if(it.customInspect&&gt&&et(gt.inspect)&&gt.inspect!==me.inspect&&!(gt.constructor&&gt.constructor.prototype===gt)){var At=gt.inspect(vt,it);return Le(At)||(At=pe(it,At,vt)),At}var Et=le(it,gt);if(Et)return Et;var ut=Object.keys(gt),Ye=fe(ut);if(it.showHidden&&(ut=Object.getOwnPropertyNames(gt)),Ze(gt)&&(ut.indexOf("message")>=0||ut.indexOf("description")>=0))return Se(gt);if(ut.length===0){if(et(gt)){var Ve=gt.name?": "+gt.name:"";return it.stylize("[Function"+Ve+"]","special")}if(Ue(gt))return it.stylize(RegExp.prototype.toString.call(gt),"regexp");if(We(gt))return it.stylize(Date.prototype.toString.call(gt),"date");if(Ze(gt))return Se(gt)}var de="",Ce=!1,He=["{","}"];if(ye(gt)&&(Ce=!0,He=["[","]"]),et(gt)){var je=gt.name?": "+gt.name:"";de=" [Function"+je+"]"}if(Ue(gt)&&(de=" "+RegExp.prototype.toString.call(gt)),We(gt)&&(de=" "+Date.prototype.toUTCString.call(gt)),Ze(gt)&&(de=" "+Se(gt)),ut.length===0&&(!Ce||gt.length==0))return He[0]+de+He[1];if(vt<0)return Ue(gt)?it.stylize(RegExp.prototype.toString.call(gt),"regexp"):it.stylize("[Object]","special");it.seen.push(gt);var Ae;return Ce?Ae=xe(it,gt,vt,Ye,ut):Ae=ut.map(function(Re){return ge(it,gt,vt,Ye,Re,Ce)}),it.seen.pop(),Me(Ae,de,He)}function le(it,gt){if(Be(gt))return it.stylize("undefined","undefined");if(Le(gt)){var vt="'"+JSON.stringify(gt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return it.stylize(vt,"string")}if(Ie(gt))return it.stylize(""+gt,"number");if(be(gt))return it.stylize(""+gt,"boolean");if(Fe(gt))return it.stylize("null","null")}function Se(it){return"["+Error.prototype.toString.call(it)+"]"}function xe(it,gt,vt,At,Et){for(var ut=[],Ye=0,Ve=gt.length;Ye<Ve;++Ye)dt(gt,String(Ye))?ut.push(ge(it,gt,vt,At,String(Ye),!0)):ut.push("");return Et.forEach(function(de){de.match(/^\d+$/)||ut.push(ge(it,gt,vt,At,de,!0))}),ut}function ge(it,gt,vt,At,Et,ut){var Ye,Ve,de;if(de=Object.getOwnPropertyDescriptor(gt,Et)||{value:gt[Et]},de.get?de.set?Ve=it.stylize("[Getter/Setter]","special"):Ve=it.stylize("[Getter]","special"):de.set&&(Ve=it.stylize("[Setter]","special")),dt(At,Et)||(Ye="["+Et+"]"),Ve||(it.seen.indexOf(de.value)<0?(Fe(vt)?Ve=pe(it,de.value,null):Ve=pe(it,de.value,vt-1),Ve.indexOf(`
`)>-1&&(ut?Ve=Ve.split(`
`).map(function(Ce){return" "+Ce}).join(`
`).slice(2):Ve=`
`+Ve.split(`
`).map(function(Ce){return" "+Ce}).join(`
`))):Ve=it.stylize("[Circular]","special")),Be(Ye)){if(ut&&Et.match(/^\d+$/))return Ve;Ye=JSON.stringify(""+Et),Ye.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Ye=Ye.slice(1,-1),Ye=it.stylize(Ye,"name")):(Ye=Ye.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Ye=it.stylize(Ye,"string"))}return Ye+": "+Ve}function Me(it,gt,vt){var At=0,Et=it.reduce(function(ut,Ye){return At++,Ye.indexOf(`
`)>=0&&At++,ut+Ye.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Et>60?vt[0]+(gt===""?"":gt+`
`)+" "+it.join(`,
`)+" "+vt[1]:vt[0]+gt+" "+it.join(", ")+" "+vt[1]}me.types=x("./support/types");function ye(it){return Array.isArray(it)}me.isArray=ye;function be(it){return typeof it=="boolean"}me.isBoolean=be;function Fe(it){return it===null}me.isNull=Fe;function ke(it){return it==null}me.isNullOrUndefined=ke;function Ie(it){return typeof it=="number"}me.isNumber=Ie;function Le(it){return typeof it=="string"}me.isString=Le;function De(it){return typeof it=="symbol"}me.isSymbol=De;function Be(it){return it===void 0}me.isUndefined=Be;function Ue(it){return _e(it)&&pt(it)==="[object RegExp]"}me.isRegExp=Ue,me.types.isRegExp=Ue;function _e(it){return typeof it=="object"&&it!==null}me.isObject=_e;function We(it){return _e(it)&&pt(it)==="[object Date]"}me.isDate=We,me.types.isDate=We;function Ze(it){return _e(it)&&(pt(it)==="[object Error]"||it instanceof Error)}me.isError=Ze,me.types.isNativeError=Ze;function et(it){return typeof it=="function"}me.isFunction=et;function at(it){return it===null||typeof it=="boolean"||typeof it=="number"||typeof it=="string"||typeof it=="symbol"||typeof it=="undefined"}me.isPrimitive=at,me.isBuffer=x("./support/isBuffer");function pt(it){return Object.prototype.toString.call(it)}function Xe(it){return it<10?"0"+it.toString(10):it.toString(10)}var Ge=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function lt(){var it=new Date,gt=[Xe(it.getHours()),Xe(it.getMinutes()),Xe(it.getSeconds())].join(":");return[it.getDate(),Ge[it.getMonth()],gt].join(" ")}me.log=function(){console.log("%s - %s",lt(),me.format.apply(me,arguments))},me.inherits=x("inherits"),me._extend=function(it,gt){if(!gt||!_e(gt))return it;for(var vt=Object.keys(gt),At=vt.length;At--;)it[vt[At]]=gt[vt[At]];return it};function dt(it,gt){return Object.prototype.hasOwnProperty.call(it,gt)}var st=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;me.promisify=function(gt){if(typeof gt!="function")throw new TypeError('The "original" argument must be of type Function');if(st&&gt[st]){var vt=gt[st];if(typeof vt!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(vt,st,{value:vt,enumerable:!1,writable:!1,configurable:!0}),vt}function vt(){for(var At,Et,ut=new Promise(function(de,Ce){At=de,Et=Ce}),Ye=[],Ve=0;Ve<arguments.length;Ve++)Ye.push(arguments[Ve]);Ye.push(function(de,Ce){de?Et(de):At(Ce)});try{gt.apply(this,Ye)}catch(de){Et(de)}return ut}return Object.setPrototypeOf(vt,Object.getPrototypeOf(gt)),st&&Object.defineProperty(vt,st,{value:vt,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(vt,te(gt))},me.promisify.custom=st;function nt(it,gt){if(!it){var vt=new Error("Promise was rejected with a falsy value");vt.reason=it,it=vt}return gt(it)}function rt(it){if(typeof it!="function")throw new TypeError('The "original" argument must be of type Function');function gt(){for(var vt=[],At=0;At<arguments.length;At++)vt.push(arguments[At]);var Et=vt.pop();if(typeof Et!="function")throw new TypeError("The last argument must be of type Function");var ut=this,Ye=function(){return Et.apply(ut,arguments)};it.apply(this,vt).then(function(Ve){ie.nextTick(Ye.bind(null,null,Ve))},function(Ve){ie.nextTick(nt.bind(null,Ve,Ye))})}return Object.setPrototypeOf(gt,Object.getPrototypeOf(it)),Object.defineProperties(gt,te(it)),gt}me.callbackify=rt}).call(this)}).call(this,x("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(x,Te,me){(function(ie){(function(){"use strict";var te=x("for-each"),ae=x("available-typed-arrays"),ne=x("call-bind"),oe=x("call-bind/callBound"),he=x("gopd"),re=oe("Object.prototype.toString"),se=x("has-tostringtag/shams")(),ce=typeof globalThis=="undefined"?ie:globalThis,fe=ae(),pe=oe("String.prototype.slice"),le=Object.getPrototypeOf,Se=oe("Array.prototype.indexOf",!0)||function(be,Fe){for(var ke=0;ke<be.length;ke+=1)if(be[ke]===Fe)return ke;return-1},xe={__proto__:null};se&&he&&le?te(fe,function(ye){var be=new ce[ye];if(Symbol.toStringTag in be){var Fe=le(be),ke=he(Fe,Symbol.toStringTag);if(!ke){var Ie=le(Fe);ke=he(Ie,Symbol.toStringTag)}xe["$"+ye]=ne(ke.get)}}):te(fe,function(ye){var be=new ce[ye];xe["$"+ye]=ne(be.slice)});var ge=function(be){var Fe=!1;return te(xe,function(ke,Ie){if(!Fe)try{"$"+ke(be)===Ie&&(Fe=pe(Ie,1))}catch(Le){}}),Fe},Me=function(be){var Fe=!1;return te(xe,function(ke,Ie){if(!Fe)try{ke(be),Fe=pe(Ie,1)}catch(Le){}}),Fe};Te.exports=function(be){if(!be||typeof be!="object")return!1;if(!se){var Fe=pe(re(be),8,-1);return Se(fe,Fe)>-1?Fe:Fe!=="Object"?!1:Me(be)}return he?ge(be):null}}).call(this)}).call(this,typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(x,Te,me){(function(){"use strict";me.stripBOM=function(ie){return ie[0]==="\uFEFF"?ie.substring(1):ie}}).call(this)},{}],422:[function(x,Te,me){(function(){"use strict";var ie,te,ae,ne,oe,he={}.hasOwnProperty;ie=x("xmlbuilder"),te=x("./defaults").defaults,ne=function(re){return typeof re=="string"&&(re.indexOf("&")>=0||re.indexOf(">")>=0||re.indexOf("<")>=0)},oe=function(re){return"<![CDATA["+ae(re)+"]]>"},ae=function(re){return re.replace("]]>","]]]]><![CDATA[>")},me.Builder=function(){function re(se){var ce,fe,pe;this.options={},fe=te["0.2"];for(ce in fe)he.call(fe,ce)&&(pe=fe[ce],this.options[ce]=pe);for(ce in se)he.call(se,ce)&&(pe=se[ce],this.options[ce]=pe)}return re.prototype.buildObject=function(se){var ce,fe,pe,le,Se;return ce=this.options.attrkey,fe=this.options.charkey,Object.keys(se).length===1&&this.options.rootName===te["0.2"].rootName?(Se=Object.keys(se)[0],se=se[Se]):Se=this.options.rootName,pe=function(xe){return function(ge,Me){var ye,be,Fe,ke,Ie,Le;if(typeof Me!="object")xe.options.cdata&&ne(Me)?ge.raw(oe(Me)):ge.txt(Me);else if(Array.isArray(Me)){for(ke in Me)if(he.call(Me,ke)){be=Me[ke];for(Ie in be)Fe=be[Ie],ge=pe(ge.ele(Ie),Fe).up()}}else for(Ie in Me)if(he.call(Me,Ie))if(be=Me[Ie],Ie===ce){if(typeof be=="object")for(ye in be)Le=be[ye],ge=ge.att(ye,Le)}else if(Ie===fe)xe.options.cdata&&ne(be)?ge=ge.raw(oe(be)):ge=ge.txt(be);else if(Array.isArray(be))for(ke in be)he.call(be,ke)&&(Fe=be[ke],typeof Fe=="string"?xe.options.cdata&&ne(Fe)?ge=ge.ele(Ie).raw(oe(Fe)).up():ge=ge.ele(Ie,Fe).up():ge=pe(ge.ele(Ie),Fe).up());else typeof be=="object"?ge=pe(ge.ele(Ie),be).up():typeof be=="string"&&xe.options.cdata&&ne(be)?ge=ge.ele(Ie).raw(oe(be)).up():(be==null&&(be=""),ge=ge.ele(Ie,be.toString()).up());return ge}}(this),le=ie.create(Se,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),pe(le,se).end(this.options.renderOpts)},re}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(x,Te,me){(function(){me.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(x,Te,me){(function(){"use strict";var ie,te,ae,ne,oe,he,re,se,ce,fe=function(Se,xe){return function(){return Se.apply(xe,arguments)}},pe=function(Se,xe){for(var ge in xe)le.call(xe,ge)&&(Se[ge]=xe[ge]);function Me(){this.constructor=Se}return Me.prototype=xe.prototype,Se.prototype=new Me,Se.__super__=xe.prototype,Se},le={}.hasOwnProperty;se=x("sax"),ne=x("events"),ie=x("./bom"),re=x("./processors"),ce=x("timers").setImmediate,te=x("./defaults").defaults,oe=function(Se){return typeof Se=="object"&&Se!=null&&Object.keys(Se).length===0},he=function(Se,xe,ge){var Me,ye,be;for(Me=0,ye=Se.length;Me<ye;Me++)be=Se[Me],xe=be(xe,ge);return xe},ae=function(Se,xe,ge){var Me;return Me=Object.create(null),Me.value=ge,Me.writable=!0,Me.enumerable=!0,Me.configurable=!0,Object.defineProperty(Se,xe,Me)},me.Parser=function(Se){pe(xe,Se);function xe(ge){this.parseStringPromise=fe(this.parseStringPromise,this),this.parseString=fe(this.parseString,this),this.reset=fe(this.reset,this),this.assignOrPush=fe(this.assignOrPush,this),this.processAsync=fe(this.processAsync,this);var Me,ye,be;if(!(this instanceof me.Parser))return new me.Parser(ge);this.options={},ye=te["0.2"];for(Me in ye)le.call(ye,Me)&&(be=ye[Me],this.options[Me]=be);for(Me in ge)le.call(ge,Me)&&(be=ge[Me],this.options[Me]=be);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(re.normalize)),this.reset()}return xe.prototype.processAsync=function(){var ge,Me;try{return this.remaining.length<=this.options.chunkSize?(ge=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(ge),this.saxParser.close()):(ge=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(ge),ce(this.processAsync))}catch(ye){if(Me=ye,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(Me)}},xe.prototype.assignOrPush=function(ge,Me,ye){return Me in ge?(ge[Me]instanceof Array||ae(ge,Me,[ge[Me]]),ge[Me].push(ye)):this.options.explicitArray?ae(ge,Me,[ye]):ae(ge,Me,ye)},xe.prototype.reset=function(){var ge,Me,ye,be;return this.removeAllListeners(),this.saxParser=se.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(Fe){return function(ke){if(Fe.saxParser.resume(),!Fe.saxParser.errThrown)return Fe.saxParser.errThrown=!0,Fe.emit("error",ke)}}(this),this.saxParser.onend=function(Fe){return function(){if(!Fe.saxParser.ended)return Fe.saxParser.ended=!0,Fe.emit("end",Fe.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,be=[],ge=this.options.attrkey,Me=this.options.charkey,this.saxParser.onopentag=function(Fe){return function(ke){var Ie,Le,De,Be,Ue;if(De={},De[Me]="",!Fe.options.ignoreAttrs){Ue=ke.attributes;for(Ie in Ue)le.call(Ue,Ie)&&(!(ge in De)&&!Fe.options.mergeAttrs&&(De[ge]={}),Le=Fe.options.attrValueProcessors?he(Fe.options.attrValueProcessors,ke.attributes[Ie],Ie):ke.attributes[Ie],Be=Fe.options.attrNameProcessors?he(Fe.options.attrNameProcessors,Ie):Ie,Fe.options.mergeAttrs?Fe.assignOrPush(De,Be,Le):ae(De[ge],Be,Le))}return De["#name"]=Fe.options.tagNameProcessors?he(Fe.options.tagNameProcessors,ke.name):ke.name,Fe.options.xmlns&&(De[Fe.options.xmlnskey]={uri:ke.uri,local:ke.local}),be.push(De)}}(this),this.saxParser.onclosetag=function(Fe){return function(){var ke,Ie,Le,De,Be,Ue,_e,We,Ze,et;if(Ue=be.pop(),Be=Ue["#name"],(!Fe.options.explicitChildren||!Fe.options.preserveChildrenOrder)&&delete Ue["#name"],Ue.cdata===!0&&(ke=Ue.cdata,delete Ue.cdata),Ze=be[be.length-1],Ue[Me].match(/^\s*$/)&&!ke?(Ie=Ue[Me],delete Ue[Me]):(Fe.options.trim&&(Ue[Me]=Ue[Me].trim()),Fe.options.normalize&&(Ue[Me]=Ue[Me].replace(/\s{2,}/g," ").trim()),Ue[Me]=Fe.options.valueProcessors?he(Fe.options.valueProcessors,Ue[Me],Be):Ue[Me],Object.keys(Ue).length===1&&Me in Ue&&!Fe.EXPLICIT_CHARKEY&&(Ue=Ue[Me])),oe(Ue)&&(typeof Fe.options.emptyTag=="function"?Ue=Fe.options.emptyTag():Ue=Fe.options.emptyTag!==""?Fe.options.emptyTag:Ie),Fe.options.validator!=null&&(et="/"+function(){var at,pt,Xe;for(Xe=[],at=0,pt=be.length;at<pt;at++)De=be[at],Xe.push(De["#name"]);return Xe}().concat(Be).join("/"),function(){var at;try{return Ue=Fe.options.validator(et,Ze&&Ze[Be],Ue)}catch(pt){return at=pt,Fe.emit("error",at)}}()),Fe.options.explicitChildren&&!Fe.options.mergeAttrs&&typeof Ue=="object"){if(!Fe.options.preserveChildrenOrder)De={},Fe.options.attrkey in Ue&&(De[Fe.options.attrkey]=Ue[Fe.options.attrkey],delete Ue[Fe.options.attrkey]),!Fe.options.charsAsChildren&&Fe.options.charkey in Ue&&(De[Fe.options.charkey]=Ue[Fe.options.charkey],delete Ue[Fe.options.charkey]),Object.getOwnPropertyNames(Ue).length>0&&(De[Fe.options.childkey]=Ue),Ue=De;else if(Ze){Ze[Fe.options.childkey]=Ze[Fe.options.childkey]||[],_e={};for(Le in Ue)le.call(Ue,Le)&&ae(_e,Le,Ue[Le]);Ze[Fe.options.childkey].push(_e),delete Ue["#name"],Object.keys(Ue).length===1&&Me in Ue&&!Fe.EXPLICIT_CHARKEY&&(Ue=Ue[Me])}}return be.length>0?Fe.assignOrPush(Ze,Be,Ue):(Fe.options.explicitRoot&&(We=Ue,Ue={},ae(Ue,Be,We)),Fe.resultObject=Ue,Fe.saxParser.ended=!0,Fe.emit("end",Fe.resultObject))}}(this),ye=function(Fe){return function(ke){var Ie,Le;if(Le=be[be.length-1],Le)return Le[Me]+=ke,Fe.options.explicitChildren&&Fe.options.preserveChildrenOrder&&Fe.options.charsAsChildren&&(Fe.options.includeWhiteChars||ke.replace(/\\n/g,"").trim()!=="")&&(Le[Fe.options.childkey]=Le[Fe.options.childkey]||[],Ie={"#name":"__text__"},Ie[Me]=ke,Fe.options.normalize&&(Ie[Me]=Ie[Me].replace(/\s{2,}/g," ").trim()),Le[Fe.options.childkey].push(Ie)),Le}}(this),this.saxParser.ontext=ye,this.saxParser.oncdata=function(Fe){return function(ke){var Ie;if(Ie=ye(ke),Ie)return Ie.cdata=!0}}(this)},xe.prototype.parseString=function(ge,Me){var ye;Me!=null&&typeof Me=="function"&&(this.on("end",function(be){return this.reset(),Me(null,be)}),this.on("error",function(be){return this.reset(),Me(be)}));try{return ge=ge.toString(),ge.trim()===""?(this.emit("end",null),!0):(ge=ie.stripBOM(ge),this.options.async?(this.remaining=ge,ce(this.processAsync),this.saxParser):this.saxParser.write(ge).close())}catch(be){if(ye=be,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw ye}else return this.emit("error",ye),this.saxParser.errThrown=!0}},xe.prototype.parseStringPromise=function(ge){return new Promise(function(Me){return function(ye,be){return Me.parseString(ge,function(Fe,ke){return Fe?be(Fe):ye(ke)})}}(this))},xe}(ne),me.parseString=function(Se,xe,ge){var Me,ye,be;return ge!=null?(typeof ge=="function"&&(Me=ge),typeof xe=="object"&&(ye=xe)):(typeof xe=="function"&&(Me=xe),ye={}),be=new me.Parser(ye),be.parseString(Se,Me)},me.parseStringPromise=function(Se,xe){var ge,Me;return typeof xe=="object"&&(ge=xe),Me=new me.Parser(ge),Me.parseStringPromise(Se)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(x,Te,me){(function(){"use strict";var ie;ie=new RegExp(/(?!xmlns)^.*:/),me.normalize=function(te){return te.toLowerCase()},me.firstCharLowerCase=function(te){return te.charAt(0).toLowerCase()+te.slice(1)},me.stripPrefix=function(te){return te.replace(ie,"")},me.parseNumbers=function(te){return isNaN(te)||(te=te%1===0?parseInt(te,10):parseFloat(te)),te},me.parseBooleans=function(te){return/^(?:true|false)$/i.test(te)&&(te=te.toLowerCase()==="true"),te}}).call(this)},{}],426:[function(x,Te,me){(function(){"use strict";var ie,te,ae,ne,oe=function(re,se){for(var ce in se)he.call(se,ce)&&(re[ce]=se[ce]);function fe(){this.constructor=re}return fe.prototype=se.prototype,re.prototype=new fe,re.__super__=se.prototype,re},he={}.hasOwnProperty;te=x("./defaults"),ie=x("./builder"),ae=x("./parser"),ne=x("./processors"),me.defaults=te.defaults,me.processors=ne,me.ValidationError=function(re){oe(se,re);function se(ce){this.message=ce}return se}(Error),me.Builder=ie.Builder,me.Parser=ae.Parser,me.parseString=ae.parseString,me.parseStringPromise=ae.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(x,Te,me){(function(){Te.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(x,Te,me){(function(){Te.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},{}],429:[function(x,Te,me){(function(){var ie,te,ae,ne,oe,he,re,se=[].slice,ce={}.hasOwnProperty;ie=function(){var fe,pe,le,Se,xe,ge;if(ge=arguments[0],xe=2<=arguments.length?se.call(arguments,1):[],oe(Object.assign))Object.assign.apply(null,arguments);else for(fe=0,le=xe.length;fe<le;fe++)if(Se=xe[fe],Se!=null)for(pe in Se)ce.call(Se,pe)&&(ge[pe]=Se[pe]);return ge},oe=function(fe){return!!fe&&Object.prototype.toString.call(fe)==="[object Function]"},he=function(fe){var pe;return!!fe&&((pe=typeof fe)=="function"||pe==="object")},ae=function(fe){return oe(Array.isArray)?Array.isArray(fe):Object.prototype.toString.call(fe)==="[object Array]"},ne=function(fe){var pe;if(ae(fe))return!fe.length;for(pe in fe)if(ce.call(fe,pe))return!1;return!0},re=function(fe){var pe,le;return he(fe)&&(le=Object.getPrototypeOf(fe))&&(pe=le.constructor)&&typeof pe=="function"&&pe instanceof pe&&Function.prototype.toString.call(pe)===Function.prototype.toString.call(Object)},te=function(fe){return oe(fe.valueOf)?fe.valueOf():fe},Te.exports.assign=ie,Te.exports.isFunction=oe,Te.exports.isObject=he,Te.exports.isArray=ae,Te.exports.isEmpty=ne,Te.exports.isPlainObject=re,Te.exports.getValue=te}).call(this)},{}],430:[function(x,Te,me){(function(){Te.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(x,Te,me){(function(){var ie,te,ae;ie=x("./NodeType"),ae=x("./XMLNode"),Te.exports=te=function(){function ne(oe,he,re){if(this.parent=oe,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),he==null)throw new Error("Missing attribute name. "+this.debugInfo(he));this.name=this.stringify.name(he),this.value=this.stringify.attValue(re),this.type=ie.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(ne.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(ne.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(ne.prototype,"textContent",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),Object.defineProperty(ne.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(ne.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(ne.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(ne.prototype,"specified",{get:function(){return!0}}),ne.prototype.clone=function(){return Object.create(this)},ne.prototype.toString=function(oe){return this.options.writer.attribute(this,this.options.writer.filterOptions(oe))},ne.prototype.debugInfo=function(oe){return oe=oe||this.name,oe==null?"parent: <"+this.parent.name+">":"attribute: {"+oe+"}, parent: <"+this.parent.name+">"},ne.prototype.isEqualNode=function(oe){return!(oe.namespaceURI!==this.namespaceURI||oe.prefix!==this.prefix||oe.localName!==this.localName||oe.value!==this.value)},ne}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(x,Te,me){(function(){var ie,te,ae,ne=function(he,re){for(var se in re)oe.call(re,se)&&(he[se]=re[se]);function ce(){this.constructor=he}return ce.prototype=re.prototype,he.prototype=new ce,he.__super__=re.prototype,he},oe={}.hasOwnProperty;ie=x("./NodeType"),ae=x("./XMLCharacterData"),Te.exports=te=function(he){ne(re,he);function re(se,ce){if(re.__super__.constructor.call(this,se),ce==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=ie.CData,this.value=this.stringify.cdata(ce)}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(se){return this.options.writer.cdata(this,this.options.writer.filterOptions(se))},re}(ae)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(x,Te,me){(function(){var ie,te,ae=function(oe,he){for(var re in he)ne.call(he,re)&&(oe[re]=he[re]);function se(){this.constructor=oe}return se.prototype=he.prototype,oe.prototype=new se,oe.__super__=he.prototype,oe},ne={}.hasOwnProperty;te=x("./XMLNode"),Te.exports=ie=function(oe){ae(he,oe);function he(re){he.__super__.constructor.call(this,re),this.value=""}return Object.defineProperty(he.prototype,"data",{get:function(){return this.value},set:function(re){return this.value=re||""}}),Object.defineProperty(he.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(he.prototype,"textContent",{get:function(){return this.value},set:function(re){return this.value=re||""}}),he.prototype.clone=function(){return Object.create(this)},he.prototype.substringData=function(re,se){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.appendData=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.insertData=function(re,se){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.deleteData=function(re,se){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.replaceData=function(re,se,ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},he.prototype.isEqualNode=function(re){return!(!he.__super__.isEqualNode.apply(this,arguments).isEqualNode(re)||re.data!==this.data)},he}(te)}).call(this)},{"./XMLNode":450}],434:[function(x,Te,me){(function(){var ie,te,ae,ne=function(he,re){for(var se in re)oe.call(re,se)&&(he[se]=re[se]);function ce(){this.constructor=he}return ce.prototype=re.prototype,he.prototype=new ce,he.__super__=re.prototype,he},oe={}.hasOwnProperty;ie=x("./NodeType"),te=x("./XMLCharacterData"),Te.exports=ae=function(he){ne(re,he);function re(se,ce){if(re.__super__.constructor.call(this,se),ce==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=ie.Comment,this.value=this.stringify.comment(ce)}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(se){return this.options.writer.comment(this,this.options.writer.filterOptions(se))},re}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(x,Te,me){(function(){var ie,te,ae;te=x("./XMLDOMErrorHandler"),ae=x("./XMLDOMStringList"),Te.exports=ie=function(){function ne(){var oe;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new te,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=oe=Object.create(this.defaultParams)}return Object.defineProperty(ne.prototype,"parameterNames",{get:function(){return new ae(Object.keys(this.defaultParams))}}),ne.prototype.getParameter=function(oe){return this.params.hasOwnProperty(oe)?this.params[oe]:null},ne.prototype.canSetParameter=function(oe,he){return!0},ne.prototype.setParameter=function(oe,he){return he!=null?this.params[oe]=he:delete this.params[oe]},ne}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(x,Te,me){(function(){var ie;Te.exports=ie=function(){function te(){}return te.prototype.handleError=function(ae){throw new Error(ae)},te}()}).call(this)},{}],437:[function(x,Te,me){(function(){var ie;Te.exports=ie=function(){function te(){}return te.prototype.hasFeature=function(ae,ne){return!0},te.prototype.createDocumentType=function(ae,ne,oe){throw new Error("This DOM method is not implemented.")},te.prototype.createDocument=function(ae,ne,oe){throw new Error("This DOM method is not implemented.")},te.prototype.createHTMLDocument=function(ae){throw new Error("This DOM method is not implemented.")},te.prototype.getFeature=function(ae,ne){throw new Error("This DOM method is not implemented.")},te}()}).call(this)},{}],438:[function(x,Te,me){(function(){var ie;Te.exports=ie=function(){function te(ae){this.arr=ae||[]}return Object.defineProperty(te.prototype,"length",{get:function(){return this.arr.length}}),te.prototype.item=function(ae){return this.arr[ae]||null},te.prototype.contains=function(ae){return this.arr.indexOf(ae)!==-1},te}()}).call(this)},{}],439:[function(x,Te,me){(function(){var ie,te,ae,ne=function(he,re){for(var se in re)oe.call(re,se)&&(he[se]=re[se]);function ce(){this.constructor=he}return ce.prototype=re.prototype,he.prototype=new ce,he.__super__=re.prototype,he},oe={}.hasOwnProperty;ae=x("./XMLNode"),ie=x("./NodeType"),Te.exports=te=function(he){ne(re,he);function re(se,ce,fe,pe,le,Se){if(re.__super__.constructor.call(this,se),ce==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(fe==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(ce));if(!pe)throw new Error("Missing DTD attribute type. "+this.debugInfo(ce));if(!le)throw new Error("Missing DTD attribute default. "+this.debugInfo(ce));if(le.indexOf("#")!==0&&(le="#"+le),!le.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(ce));if(Se&&!le.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(ce));this.elementName=this.stringify.name(ce),this.type=ie.AttributeDeclaration,this.attributeName=this.stringify.name(fe),this.attributeType=this.stringify.dtdAttType(pe),Se&&(this.defaultValue=this.stringify.dtdAttDefault(Se)),this.defaultValueType=le}return re.prototype.toString=function(se){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(se))},re}(ae)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(x,Te,me){(function(){var ie,te,ae,ne=function(he,re){for(var se in re)oe.call(re,se)&&(he[se]=re[se]);function ce(){this.constructor=he}return ce.prototype=re.prototype,he.prototype=new ce,he.__super__=re.prototype,he},oe={}.hasOwnProperty;ae=x("./XMLNode"),ie=x("./NodeType"),Te.exports=te=function(he){ne(re,he);function re(se,ce,fe){if(re.__super__.constructor.call(this,se),ce==null)throw new Error("Missing DTD element name. "+this.debugInfo());fe||(fe="(#PCDATA)"),Array.isArray(fe)&&(fe="("+fe.join(",")+")"),this.name=this.stringify.name(ce),this.type=ie.ElementDeclaration,this.value=this.stringify.dtdElementValue(fe)}return re.prototype.toString=function(se){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(se))},re}(ae)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(x,Te,me){(function(){var ie,te,ae,ne,oe=function(re,se){for(var ce in se)he.call(se,ce)&&(re[ce]=se[ce]);function fe(){this.constructor=re}return fe.prototype=se.prototype,re.prototype=new fe,re.__super__=se.prototype,re},he={}.hasOwnProperty;ne=x("./Utility").isObject,ae=x("./XMLNode"),ie=x("./NodeType"),Te.exports=te=function(re){oe(se,re);function se(ce,fe,pe,le){if(se.__super__.constructor.call(this,ce),pe==null)throw new Error("Missing DTD entity name. "+this.debugInfo(pe));if(le==null)throw new Error("Missing DTD entity value. "+this.debugInfo(pe));if(this.pe=!!fe,this.name=this.stringify.name(pe),this.type=ie.EntityDeclaration,!ne(le))this.value=this.stringify.dtdEntityValue(le),this.internal=!0;else{if(!le.pubID&&!le.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(pe));if(le.pubID&&!le.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(pe));if(this.internal=!1,le.pubID!=null&&(this.pubID=this.stringify.dtdPubID(le.pubID)),le.sysID!=null&&(this.sysID=this.stringify.dtdSysID(le.sysID)),le.nData!=null&&(this.nData=this.stringify.dtdNData(le.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(pe))}}return Object.defineProperty(se.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(se.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(se.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(se.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(se.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(se.prototype,"xmlVersion",{get:function(){return null}}),se.prototype.toString=function(ce){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(ce))},se}(ae)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(x,Te,me){(function(){var ie,te,ae,ne=function(he,re){for(var se in re)oe.call(re,se)&&(he[se]=re[se]);function ce(){this.constructor=he}return ce.prototype=re.prototype,he.prototype=new ce,he.__super__=re.prototype,he},oe={}.hasOwnProperty;ae=x("./XMLNode"),ie=x("./NodeType"),Te.exports=te=function(he){ne(re,he);function re(se,ce,fe){if(re.__super__.constructor.call(this,se),ce==null)throw new Error("Missing DTD notation name. "+this.debugInfo(ce));if(!fe.pubID&&!fe.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(ce));this.name=this.stringify.name(ce),this.type=ie.NotationDeclaration,fe.pubID!=null&&(this.pubID=this.stringify.dtdPubID(fe.pubID)),fe.sysID!=null&&(this.sysID=this.stringify.dtdSysID(fe.sysID))}return Object.defineProperty(re.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(re.prototype,"systemId",{get:function(){return this.sysID}}),re.prototype.toString=function(se){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(se))},re}(ae)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(x,Te,me){(function(){var ie,te,ae,ne,oe=function(re,se){for(var ce in se)he.call(se,ce)&&(re[ce]=se[ce]);function fe(){this.constructor=re}return fe.prototype=se.prototype,re.prototype=new fe,re.__super__=se.prototype,re},he={}.hasOwnProperty;ne=x("./Utility").isObject,ae=x("./XMLNode"),ie=x("./NodeType"),Te.exports=te=function(re){oe(se,re);function se(ce,fe,pe,le){var Se;se.__super__.constructor.call(this,ce),ne(fe)&&(Se=fe,fe=Se.version,pe=Se.encoding,le=Se.standalone),fe||(fe="1.0"),this.type=ie.Declaration,this.version=this.stringify.xmlVersion(fe),pe!=null&&(this.encoding=this.stringify.xmlEncoding(pe)),le!=null&&(this.standalone=this.stringify.xmlStandalone(le))}return se.prototype.toString=function(ce){return this.options.writer.declaration(this,this.options.writer.filterOptions(ce))},se}(ae)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(x,Te,me){(function(){var ie,te,ae,ne,oe,he,re,se,ce,fe=function(le,Se){for(var xe in Se)pe.call(Se,xe)&&(le[xe]=Se[xe]);function ge(){this.constructor=le}return ge.prototype=Se.prototype,le.prototype=new ge,le.__super__=Se.prototype,le},pe={}.hasOwnProperty;ce=x("./Utility").isObject,se=x("./XMLNode"),ie=x("./NodeType"),te=x("./XMLDTDAttList"),ne=x("./XMLDTDEntity"),ae=x("./XMLDTDElement"),oe=x("./XMLDTDNotation"),re=x("./XMLNamedNodeMap"),Te.exports=he=function(le){fe(Se,le);function Se(xe,ge,Me){var ye,be,Fe,ke,Ie,Le;if(Se.__super__.constructor.call(this,xe),this.type=ie.DocType,xe.children){for(ke=xe.children,be=0,Fe=ke.length;be<Fe;be++)if(ye=ke[be],ye.type===ie.Element){this.name=ye.name;break}}this.documentObject=xe,ce(ge)&&(Ie=ge,ge=Ie.pubID,Me=Ie.sysID),Me==null&&(Le=[ge,Me],Me=Le[0],ge=Le[1]),ge!=null&&(this.pubID=this.stringify.dtdPubID(ge)),Me!=null&&(this.sysID=this.stringify.dtdSysID(Me))}return Object.defineProperty(Se.prototype,"entities",{get:function(){var xe,ge,Me,ye,be;for(ye={},be=this.children,ge=0,Me=be.length;ge<Me;ge++)xe=be[ge],xe.type===ie.EntityDeclaration&&!xe.pe&&(ye[xe.name]=xe);return new re(ye)}}),Object.defineProperty(Se.prototype,"notations",{get:function(){var xe,ge,Me,ye,be;for(ye={},be=this.children,ge=0,Me=be.length;ge<Me;ge++)xe=be[ge],xe.type===ie.NotationDeclaration&&(ye[xe.name]=xe);return new re(ye)}}),Object.defineProperty(Se.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(Se.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(Se.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Se.prototype.element=function(xe,ge){var Me;return Me=new ae(this,xe,ge),this.children.push(Me),this},Se.prototype.attList=function(xe,ge,Me,ye,be){var Fe;return Fe=new te(this,xe,ge,Me,ye,be),this.children.push(Fe),this},Se.prototype.entity=function(xe,ge){var Me;return Me=new ne(this,!1,xe,ge),this.children.push(Me),this},Se.prototype.pEntity=function(xe,ge){var Me;return Me=new ne(this,!0,xe,ge),this.children.push(Me),this},Se.prototype.notation=function(xe,ge){var Me;return Me=new oe(this,xe,ge),this.children.push(Me),this},Se.prototype.toString=function(xe){return this.options.writer.docType(this,this.options.writer.filterOptions(xe))},Se.prototype.ele=function(xe,ge){return this.element(xe,ge)},Se.prototype.att=function(xe,ge,Me,ye,be){return this.attList(xe,ge,Me,ye,be)},Se.prototype.ent=function(xe,ge){return this.entity(xe,ge)},Se.prototype.pent=function(xe,ge){return this.pEntity(xe,ge)},Se.prototype.not=function(xe,ge){return this.notation(xe,ge)},Se.prototype.up=function(){return this.root()||this.documentObject},Se.prototype.isEqualNode=function(xe){return!(!Se.__super__.isEqualNode.apply(this,arguments).isEqualNode(xe)||xe.name!==this.name||xe.publicId!==this.publicId||xe.systemId!==this.systemId)},Se}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(x,Te,me){(function(){var ie,te,ae,ne,oe,he,re,se,ce=function(pe,le){for(var Se in le)fe.call(le,Se)&&(pe[Se]=le[Se]);function xe(){this.constructor=pe}return xe.prototype=le.prototype,pe.prototype=new xe,pe.__super__=le.prototype,pe},fe={}.hasOwnProperty;se=x("./Utility").isPlainObject,ae=x("./XMLDOMImplementation"),te=x("./XMLDOMConfiguration"),oe=x("./XMLNode"),ie=x("./NodeType"),re=x("./XMLStringifier"),he=x("./XMLStringWriter"),Te.exports=ne=function(pe){ce(le,pe);function le(Se){le.__super__.constructor.call(this,null),this.name="#document",this.type=ie.Document,this.documentURI=null,this.domConfig=new te,Se||(Se={}),Se.writer||(Se.writer=new he),this.options=Se,this.stringify=new re(Se)}return Object.defineProperty(le.prototype,"implementation",{value:new ae}),Object.defineProperty(le.prototype,"doctype",{get:function(){var Se,xe,ge,Me;for(Me=this.children,xe=0,ge=Me.length;xe<ge;xe++)if(Se=Me[xe],Se.type===ie.DocType)return Se;return null}}),Object.defineProperty(le.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(le.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(le.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(le.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===ie.Declaration?this.children[0].encoding:null}}),Object.defineProperty(le.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===ie.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(le.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===ie.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(le.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(le.prototype,"origin",{get:function(){return null}}),Object.defineProperty(le.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(le.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(le.prototype,"contentType",{get:function(){return null}}),le.prototype.end=function(Se){var xe;return xe={},Se?se(Se)&&(xe=Se,Se=this.options.writer):Se=this.options.writer,Se.document(this,Se.filterOptions(xe))},le.prototype.toString=function(Se){return this.options.writer.document(this,this.options.writer.filterOptions(Se))},le.prototype.createElement=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createTextNode=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createComment=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createCDATASection=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createProcessingInstruction=function(Se,xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createAttribute=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createEntityReference=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.getElementsByTagName=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.importNode=function(Se,xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createElementNS=function(Se,xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createAttributeNS=function(Se,xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.getElementsByTagNameNS=function(Se,xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.getElementById=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.adoptNode=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.renameNode=function(Se,xe,ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.getElementsByClassName=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createEvent=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createNodeIterator=function(Se,xe,ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},le.prototype.createTreeWalker=function(Se,xe,ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},le}(oe)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(x,Te,me){(function(){var ie,te,ae,ne,oe,he,re,se,ce,fe,pe,le,Se,xe,ge,Me,ye,be,Fe,ke,Ie,Le,De,Be,Ue={}.hasOwnProperty;Be=x("./Utility"),Le=Be.isObject,Ie=Be.isFunction,De=Be.isPlainObject,ke=Be.getValue,ie=x("./NodeType"),le=x("./XMLDocument"),xe=x("./XMLElement"),ne=x("./XMLCData"),oe=x("./XMLComment"),Me=x("./XMLRaw"),Fe=x("./XMLText"),ge=x("./XMLProcessingInstruction"),fe=x("./XMLDeclaration"),pe=x("./XMLDocType"),he=x("./XMLDTDAttList"),se=x("./XMLDTDEntity"),re=x("./XMLDTDElement"),ce=x("./XMLDTDNotation"),ae=x("./XMLAttribute"),be=x("./XMLStringifier"),ye=x("./XMLStringWriter"),te=x("./WriterState"),Te.exports=Se=function(){function _e(We,Ze,et){var at;this.name="?xml",this.type=ie.Document,We||(We={}),at={},We.writer?De(We.writer)&&(at=We.writer,We.writer=new ye):We.writer=new ye,this.options=We,this.writer=We.writer,this.writerOptions=this.writer.filterOptions(at),this.stringify=new be(We),this.onDataCallback=Ze||function(){},this.onEndCallback=et||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return _e.prototype.createChildNode=function(We){var Ze,et,at,pt,Xe,Ge,lt,dt;switch(We.type){case ie.CData:this.cdata(We.value);break;case ie.Comment:this.comment(We.value);break;case ie.Element:at={},lt=We.attribs;for(et in lt)Ue.call(lt,et)&&(Ze=lt[et],at[et]=Ze.value);this.node(We.name,at);break;case ie.Dummy:this.dummy();break;case ie.Raw:this.raw(We.value);break;case ie.Text:this.text(We.value);break;case ie.ProcessingInstruction:this.instruction(We.target,We.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+We.constructor.name)}for(dt=We.children,Xe=0,Ge=dt.length;Xe<Ge;Xe++)pt=dt[Xe],this.createChildNode(pt),pt.type===ie.Element&&this.up();return this},_e.prototype.dummy=function(){return this},_e.prototype.node=function(We,Ze,et){var at;if(We==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(We));return this.openCurrent(),We=ke(We),Ze==null&&(Ze={}),Ze=ke(Ze),Le(Ze)||(at=[Ze,et],et=at[0],Ze=at[1]),this.currentNode=new xe(this,We,Ze),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,et!=null&&this.text(et),this},_e.prototype.element=function(We,Ze,et){var at,pt,Xe,Ge,lt,dt;if(this.currentNode&&this.currentNode.type===ie.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(We)||Le(We)||Ie(We))for(Ge=this.options.noValidation,this.options.noValidation=!0,dt=new le(this.options).element("TEMP_ROOT"),dt.element(We),this.options.noValidation=Ge,lt=dt.children,pt=0,Xe=lt.length;pt<Xe;pt++)at=lt[pt],this.createChildNode(at),at.type===ie.Element&&this.up();else this.node(We,Ze,et);return this},_e.prototype.attribute=function(We,Ze){var et,at;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(We));if(We!=null&&(We=ke(We)),Le(We))for(et in We)Ue.call(We,et)&&(at=We[et],this.attribute(et,at));else Ie(Ze)&&(Ze=Ze.apply()),this.options.keepNullAttributes&&Ze==null?this.currentNode.attribs[We]=new ae(this,We,""):Ze!=null&&(this.currentNode.attribs[We]=new ae(this,We,Ze));return this},_e.prototype.text=function(We){var Ze;return this.openCurrent(),Ze=new Fe(this,We),this.onData(this.writer.text(Ze,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.cdata=function(We){var Ze;return this.openCurrent(),Ze=new ne(this,We),this.onData(this.writer.cdata(Ze,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.comment=function(We){var Ze;return this.openCurrent(),Ze=new oe(this,We),this.onData(this.writer.comment(Ze,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.raw=function(We){var Ze;return this.openCurrent(),Ze=new Me(this,We),this.onData(this.writer.raw(Ze,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.instruction=function(We,Ze){var et,at,pt,Xe,Ge;if(this.openCurrent(),We!=null&&(We=ke(We)),Ze!=null&&(Ze=ke(Ze)),Array.isArray(We))for(et=0,Xe=We.length;et<Xe;et++)at=We[et],this.instruction(at);else if(Le(We))for(at in We)Ue.call(We,at)&&(pt=We[at],this.instruction(at,pt));else Ie(Ze)&&(Ze=Ze.apply()),Ge=new ge(this,We,Ze),this.onData(this.writer.processingInstruction(Ge,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},_e.prototype.declaration=function(We,Ze,et){var at;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return at=new fe(this,We,Ze,et),this.onData(this.writer.declaration(at,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.doctype=function(We,Ze,et){if(this.openCurrent(),We==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new pe(this,Ze,et),this.currentNode.rootNodeName=We,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},_e.prototype.dtdElement=function(We,Ze){var et;return this.openCurrent(),et=new re(this,We,Ze),this.onData(this.writer.dtdElement(et,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.attList=function(We,Ze,et,at,pt){var Xe;return this.openCurrent(),Xe=new he(this,We,Ze,et,at,pt),this.onData(this.writer.dtdAttList(Xe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.entity=function(We,Ze){var et;return this.openCurrent(),et=new se(this,!1,We,Ze),this.onData(this.writer.dtdEntity(et,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.pEntity=function(We,Ze){var et;return this.openCurrent(),et=new se(this,!0,We,Ze),this.onData(this.writer.dtdEntity(et,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.notation=function(We,Ze){var et;return this.openCurrent(),et=new ce(this,We,Ze),this.onData(this.writer.dtdNotation(et,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},_e.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},_e.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},_e.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},_e.prototype.openNode=function(We){var Ze,et,at,pt;if(!We.isOpen){if(!this.root&&this.currentLevel===0&&We.type===ie.Element&&(this.root=We),et="",We.type===ie.Element){this.writerOptions.state=te.OpenTag,et=this.writer.indent(We,this.writerOptions,this.currentLevel)+"<"+We.name,pt=We.attribs;for(at in pt)Ue.call(pt,at)&&(Ze=pt[at],et+=this.writer.attribute(Ze,this.writerOptions,this.currentLevel));et+=(We.children?">":"/>")+this.writer.endline(We,this.writerOptions,this.currentLevel),this.writerOptions.state=te.InsideTag}else this.writerOptions.state=te.OpenTag,et=this.writer.indent(We,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+We.rootNodeName,We.pubID&&We.sysID?et+=' PUBLIC "'+We.pubID+'" "'+We.sysID+'"':We.sysID&&(et+=' SYSTEM "'+We.sysID+'"'),We.children?(et+=" [",this.writerOptions.state=te.InsideTag):(this.writerOptions.state=te.CloseTag,et+=">"),et+=this.writer.endline(We,this.writerOptions,this.currentLevel);return this.onData(et,this.currentLevel),We.isOpen=!0}},_e.prototype.closeNode=function(We){var Ze;if(!We.isClosed)return Ze="",this.writerOptions.state=te.CloseTag,We.type===ie.Element?Ze=this.writer.indent(We,this.writerOptions,this.currentLevel)+"</"+We.name+">"+this.writer.endline(We,this.writerOptions,this.currentLevel):Ze=this.writer.indent(We,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(We,this.writerOptions,this.currentLevel),this.writerOptions.state=te.None,this.onData(Ze,this.currentLevel),We.isClosed=!0},_e.prototype.onData=function(We,Ze){return this.documentStarted=!0,this.onDataCallback(We,Ze+1)},_e.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},_e.prototype.debugInfo=function(We){return We==null?"":"node: <"+We+">"},_e.prototype.ele=function(){return this.element.apply(this,arguments)},_e.prototype.nod=function(We,Ze,et){return this.node(We,Ze,et)},_e.prototype.txt=function(We){return this.text(We)},_e.prototype.dat=function(We){return this.cdata(We)},_e.prototype.com=function(We){return this.comment(We)},_e.prototype.ins=function(We,Ze){return this.instruction(We,Ze)},_e.prototype.dec=function(We,Ze,et){return this.declaration(We,Ze,et)},_e.prototype.dtd=function(We,Ze,et){return this.doctype(We,Ze,et)},_e.prototype.e=function(We,Ze,et){return this.element(We,Ze,et)},_e.prototype.n=function(We,Ze,et){return this.node(We,Ze,et)},_e.prototype.t=function(We){return this.text(We)},_e.prototype.d=function(We){return this.cdata(We)},_e.prototype.c=function(We){return this.comment(We)},_e.prototype.r=function(We){return this.raw(We)},_e.prototype.i=function(We,Ze){return this.instruction(We,Ze)},_e.prototype.att=function(){return this.currentNode&&this.currentNode.type===ie.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_e.prototype.a=function(){return this.currentNode&&this.currentNode.type===ie.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_e.prototype.ent=function(We,Ze){return this.entity(We,Ze)},_e.prototype.pent=function(We,Ze){return this.pEntity(We,Ze)},_e.prototype.not=function(We,Ze){return this.notation(We,Ze)},_e}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(x,Te,me){(function(){var ie,te,ae,ne=function(he,re){for(var se in re)oe.call(re,se)&&(he[se]=re[se]);function ce(){this.constructor=he}return ce.prototype=re.prototype,he.prototype=new ce,he.__super__=re.prototype,he},oe={}.hasOwnProperty;ae=x("./XMLNode"),ie=x("./NodeType"),Te.exports=te=function(he){ne(re,he);function re(se){re.__super__.constructor.call(this,se),this.type=ie.Dummy}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(se){return""},re}(ae)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(x,Te,me){(function(){var ie,te,ae,ne,oe,he,re,se,ce,fe=function(le,Se){for(var xe in Se)pe.call(Se,xe)&&(le[xe]=Se[xe]);function ge(){this.constructor=le}return ge.prototype=Se.prototype,le.prototype=new ge,le.__super__=Se.prototype,le},pe={}.hasOwnProperty;ce=x("./Utility"),se=ce.isObject,re=ce.isFunction,he=ce.getValue,oe=x("./XMLNode"),ie=x("./NodeType"),te=x("./XMLAttribute"),ne=x("./XMLNamedNodeMap"),Te.exports=ae=function(le){fe(Se,le);function Se(xe,ge,Me){var ye,be,Fe,ke;if(Se.__super__.constructor.call(this,xe),ge==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(ge),this.type=ie.Element,this.attribs={},this.schemaTypeInfo=null,Me!=null&&this.attribute(Me),xe.type===ie.Document&&(this.isRoot=!0,this.documentObject=xe,xe.rootObject=this,xe.children)){for(ke=xe.children,be=0,Fe=ke.length;be<Fe;be++)if(ye=ke[be],ye.type===ie.DocType){ye.name=this.name;break}}}return Object.defineProperty(Se.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(Se.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(Se.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(Se.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(Se.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(Se.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(Se.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(Se.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new ne(this.attribs)),this.attributeMap}}),Se.prototype.clone=function(){var xe,ge,Me,ye;Me=Object.create(this),Me.isRoot&&(Me.documentObject=null),Me.attribs={},ye=this.attribs;for(ge in ye)pe.call(ye,ge)&&(xe=ye[ge],Me.attribs[ge]=xe.clone());return Me.children=[],this.children.forEach(function(be){var Fe;return Fe=be.clone(),Fe.parent=Me,Me.children.push(Fe)}),Me},Se.prototype.attribute=function(xe,ge){var Me,ye;if(xe!=null&&(xe=he(xe)),se(xe))for(Me in xe)pe.call(xe,Me)&&(ye=xe[Me],this.attribute(Me,ye));else re(ge)&&(ge=ge.apply()),this.options.keepNullAttributes&&ge==null?this.attribs[xe]=new te(this,xe,""):ge!=null&&(this.attribs[xe]=new te(this,xe,ge));return this},Se.prototype.removeAttribute=function(xe){var ge,Me,ye;if(xe==null)throw new Error("Missing attribute name. "+this.debugInfo());if(xe=he(xe),Array.isArray(xe))for(Me=0,ye=xe.length;Me<ye;Me++)ge=xe[Me],delete this.attribs[ge];else delete this.attribs[xe];return this},Se.prototype.toString=function(xe){return this.options.writer.element(this,this.options.writer.filterOptions(xe))},Se.prototype.att=function(xe,ge){return this.attribute(xe,ge)},Se.prototype.a=function(xe,ge){return this.attribute(xe,ge)},Se.prototype.getAttribute=function(xe){return this.attribs.hasOwnProperty(xe)?this.attribs[xe].value:null},Se.prototype.setAttribute=function(xe,ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getAttributeNode=function(xe){return this.attribs.hasOwnProperty(xe)?this.attribs[xe]:null},Se.prototype.setAttributeNode=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.removeAttributeNode=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getElementsByTagName=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getAttributeNS=function(xe,ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.setAttributeNS=function(xe,ge,Me){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.removeAttributeNS=function(xe,ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getAttributeNodeNS=function(xe,ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.setAttributeNodeNS=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getElementsByTagNameNS=function(xe,ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.hasAttribute=function(xe){return this.attribs.hasOwnProperty(xe)},Se.prototype.hasAttributeNS=function(xe,ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.setIdAttribute=function(xe,ge){return this.attribs.hasOwnProperty(xe)?this.attribs[xe].isId:ge},Se.prototype.setIdAttributeNS=function(xe,ge,Me){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.setIdAttributeNode=function(xe,ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getElementsByTagName=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getElementsByTagNameNS=function(xe,ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getElementsByClassName=function(xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isEqualNode=function(xe){var ge,Me,ye;if(!Se.__super__.isEqualNode.apply(this,arguments).isEqualNode(xe)||xe.namespaceURI!==this.namespaceURI||xe.prefix!==this.prefix||xe.localName!==this.localName||xe.attribs.length!==this.attribs.length)return!1;for(ge=Me=0,ye=this.attribs.length-1;0<=ye?Me<=ye:Me>=ye;ge=0<=ye?++Me:--Me)if(!this.attribs[ge].isEqualNode(xe.attribs[ge]))return!1;return!0},Se}(oe)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(x,Te,me){(function(){var ie;Te.exports=ie=function(){function te(ae){this.nodes=ae}return Object.defineProperty(te.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),te.prototype.clone=function(){return this.nodes=null},te.prototype.getNamedItem=function(ae){return this.nodes[ae]},te.prototype.setNamedItem=function(ae){var ne;return ne=this.nodes[ae.nodeName],this.nodes[ae.nodeName]=ae,ne||null},te.prototype.removeNamedItem=function(ae){var ne;return ne=this.nodes[ae],delete this.nodes[ae],ne||null},te.prototype.item=function(ae){return this.nodes[Object.keys(this.nodes)[ae]]||null},te.prototype.getNamedItemNS=function(ae,ne){throw new Error("This DOM method is not implemented.")},te.prototype.setNamedItemNS=function(ae){throw new Error("This DOM method is not implemented.")},te.prototype.removeNamedItemNS=function(ae,ne){throw new Error("This DOM method is not implemented.")},te}()}).call(this)},{}],450:[function(x,Te,me){(function(){var ie,te,ae,ne,oe,he,re,se,ce,fe,pe,le,Se,xe,ge,Me,ye,be,Fe,ke={}.hasOwnProperty;Fe=x("./Utility"),be=Fe.isObject,ye=Fe.isFunction,Me=Fe.isEmpty,ge=Fe.getValue,se=null,ae=null,ne=null,oe=null,he=null,Se=null,xe=null,le=null,re=null,te=null,pe=null,ce=null,ie=null,Te.exports=fe=function(){function Ie(Le){this.parent=Le,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,se||(se=x("./XMLElement"),ae=x("./XMLCData"),ne=x("./XMLComment"),oe=x("./XMLDeclaration"),he=x("./XMLDocType"),Se=x("./XMLRaw"),xe=x("./XMLText"),le=x("./XMLProcessingInstruction"),re=x("./XMLDummy"),te=x("./NodeType"),pe=x("./XMLNodeList"),ce=x("./XMLNamedNodeMap"),ie=x("./DocumentPosition"))}return Object.defineProperty(Ie.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(Ie.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Ie.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(Ie.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(Ie.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new pe(this.children)),this.childNodeList}}),Object.defineProperty(Ie.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(Ie.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(Ie.prototype,"previousSibling",{get:function(){var Le;return Le=this.parent.children.indexOf(this),this.parent.children[Le-1]||null}}),Object.defineProperty(Ie.prototype,"nextSibling",{get:function(){var Le;return Le=this.parent.children.indexOf(this),this.parent.children[Le+1]||null}}),Object.defineProperty(Ie.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(Ie.prototype,"textContent",{get:function(){var Le,De,Be,Ue,_e;if(this.nodeType===te.Element||this.nodeType===te.DocumentFragment){for(_e="",Ue=this.children,De=0,Be=Ue.length;De<Be;De++)Le=Ue[De],Le.textContent&&(_e+=Le.textContent);return _e}else return null},set:function(Le){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Ie.prototype.setParent=function(Le){var De,Be,Ue,_e,We;for(this.parent=Le,Le&&(this.options=Le.options,this.stringify=Le.stringify),_e=this.children,We=[],Be=0,Ue=_e.length;Be<Ue;Be++)De=_e[Be],We.push(De.setParent(this));return We},Ie.prototype.element=function(Le,De,Be){var Ue,_e,We,Ze,et,at,pt,Xe,Ge,lt,dt;if(at=null,De===null&&Be==null&&(Ge=[{},null],De=Ge[0],Be=Ge[1]),De==null&&(De={}),De=ge(De),be(De)||(lt=[De,Be],Be=lt[0],De=lt[1]),Le!=null&&(Le=ge(Le)),Array.isArray(Le))for(We=0,pt=Le.length;We<pt;We++)_e=Le[We],at=this.element(_e);else if(ye(Le))at=this.element(Le.apply());else if(be(Le)){for(et in Le)if(ke.call(Le,et))if(dt=Le[et],ye(dt)&&(dt=dt.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&et.indexOf(this.stringify.convertAttKey)===0)at=this.attribute(et.substr(this.stringify.convertAttKey.length),dt);else if(!this.options.separateArrayItems&&Array.isArray(dt)&&Me(dt))at=this.dummy();else if(be(dt)&&Me(dt))at=this.element(et);else if(!this.options.keepNullNodes&&dt==null)at=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(dt))for(Ze=0,Xe=dt.length;Ze<Xe;Ze++)_e=dt[Ze],Ue={},Ue[et]=_e,at=this.element(Ue);else be(dt)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&et.indexOf(this.stringify.convertTextKey)===0?at=this.element(dt):(at=this.element(et),at.element(dt)):at=this.element(et,dt)}else!this.options.keepNullNodes&&Be===null?at=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Le.indexOf(this.stringify.convertTextKey)===0?at=this.text(Be):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&Le.indexOf(this.stringify.convertCDataKey)===0?at=this.cdata(Be):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&Le.indexOf(this.stringify.convertCommentKey)===0?at=this.comment(Be):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&Le.indexOf(this.stringify.convertRawKey)===0?at=this.raw(Be):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&Le.indexOf(this.stringify.convertPIKey)===0?at=this.instruction(Le.substr(this.stringify.convertPIKey.length),Be):at=this.node(Le,De,Be);if(at==null)throw new Error("Could not create any elements with: "+Le+". "+this.debugInfo());return at},Ie.prototype.insertBefore=function(Le,De,Be){var Ue,_e,We,Ze,et;if(Le!=null&&Le.type)return We=Le,Ze=De,We.setParent(this),Ze?(_e=children.indexOf(Ze),et=children.splice(_e),children.push(We),Array.prototype.push.apply(children,et)):children.push(We),We;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Le));return _e=this.parent.children.indexOf(this),et=this.parent.children.splice(_e),Ue=this.parent.element(Le,De,Be),Array.prototype.push.apply(this.parent.children,et),Ue},Ie.prototype.insertAfter=function(Le,De,Be){var Ue,_e,We;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Le));return _e=this.parent.children.indexOf(this),We=this.parent.children.splice(_e+1),Ue=this.parent.element(Le,De,Be),Array.prototype.push.apply(this.parent.children,We),Ue},Ie.prototype.remove=function(){var Le,De;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return Le=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[Le,Le-Le+1].concat(De=[])),this.parent},Ie.prototype.node=function(Le,De,Be){var Ue,_e;return Le!=null&&(Le=ge(Le)),De||(De={}),De=ge(De),be(De)||(_e=[De,Be],Be=_e[0],De=_e[1]),Ue=new se(this,Le,De),Be!=null&&Ue.text(Be),this.children.push(Ue),Ue},Ie.prototype.text=function(Le){var De;return be(Le)&&this.element(Le),De=new xe(this,Le),this.children.push(De),this},Ie.prototype.cdata=function(Le){var De;return De=new ae(this,Le),this.children.push(De),this},Ie.prototype.comment=function(Le){var De;return De=new ne(this,Le),this.children.push(De),this},Ie.prototype.commentBefore=function(Le){var De,Be,Ue;return Be=this.parent.children.indexOf(this),Ue=this.parent.children.splice(Be),De=this.parent.comment(Le),Array.prototype.push.apply(this.parent.children,Ue),this},Ie.prototype.commentAfter=function(Le){var De,Be,Ue;return Be=this.parent.children.indexOf(this),Ue=this.parent.children.splice(Be+1),De=this.parent.comment(Le),Array.prototype.push.apply(this.parent.children,Ue),this},Ie.prototype.raw=function(Le){var De;return De=new Se(this,Le),this.children.push(De),this},Ie.prototype.dummy=function(){var Le;return Le=new re(this),Le},Ie.prototype.instruction=function(Le,De){var Be,Ue,_e,We,Ze;if(Le!=null&&(Le=ge(Le)),De!=null&&(De=ge(De)),Array.isArray(Le))for(We=0,Ze=Le.length;We<Ze;We++)Be=Le[We],this.instruction(Be);else if(be(Le))for(Be in Le)ke.call(Le,Be)&&(Ue=Le[Be],this.instruction(Be,Ue));else ye(De)&&(De=De.apply()),_e=new le(this,Le,De),this.children.push(_e);return this},Ie.prototype.instructionBefore=function(Le,De){var Be,Ue,_e;return Ue=this.parent.children.indexOf(this),_e=this.parent.children.splice(Ue),Be=this.parent.instruction(Le,De),Array.prototype.push.apply(this.parent.children,_e),this},Ie.prototype.instructionAfter=function(Le,De){var Be,Ue,_e;return Ue=this.parent.children.indexOf(this),_e=this.parent.children.splice(Ue+1),Be=this.parent.instruction(Le,De),Array.prototype.push.apply(this.parent.children,_e),this},Ie.prototype.declaration=function(Le,De,Be){var Ue,_e;return Ue=this.document(),_e=new oe(Ue,Le,De,Be),Ue.children.length===0?Ue.children.unshift(_e):Ue.children[0].type===te.Declaration?Ue.children[0]=_e:Ue.children.unshift(_e),Ue.root()||Ue},Ie.prototype.dtd=function(Le,De){var Be,Ue,_e,We,Ze,et,at,pt,Xe,Ge;for(Ue=this.document(),_e=new he(Ue,Le,De),Xe=Ue.children,We=Ze=0,at=Xe.length;Ze<at;We=++Ze)if(Be=Xe[We],Be.type===te.DocType)return Ue.children[We]=_e,_e;for(Ge=Ue.children,We=et=0,pt=Ge.length;et<pt;We=++et)if(Be=Ge[We],Be.isRoot)return Ue.children.splice(We,0,_e),_e;return Ue.children.push(_e),_e},Ie.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},Ie.prototype.root=function(){var Le;for(Le=this;Le;){if(Le.type===te.Document)return Le.rootObject;if(Le.isRoot)return Le;Le=Le.parent}},Ie.prototype.document=function(){var Le;for(Le=this;Le;){if(Le.type===te.Document)return Le;Le=Le.parent}},Ie.prototype.end=function(Le){return this.document().end(Le)},Ie.prototype.prev=function(){var Le;if(Le=this.parent.children.indexOf(this),Le<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[Le-1]},Ie.prototype.next=function(){var Le;if(Le=this.parent.children.indexOf(this),Le===-1||Le===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[Le+1]},Ie.prototype.importDocument=function(Le){var De;return De=Le.root().clone(),De.parent=this,De.isRoot=!1,this.children.push(De),this},Ie.prototype.debugInfo=function(Le){var De,Be;return Le=Le||this.name,Le==null&&!((De=this.parent)!=null&&De.name)?"":Le==null?"parent: <"+this.parent.name+">":(Be=this.parent)!=null&&Be.name?"node: <"+Le+">, parent: <"+this.parent.name+">":"node: <"+Le+">"},Ie.prototype.ele=function(Le,De,Be){return this.element(Le,De,Be)},Ie.prototype.nod=function(Le,De,Be){return this.node(Le,De,Be)},Ie.prototype.txt=function(Le){return this.text(Le)},Ie.prototype.dat=function(Le){return this.cdata(Le)},Ie.prototype.com=function(Le){return this.comment(Le)},Ie.prototype.ins=function(Le,De){return this.instruction(Le,De)},Ie.prototype.doc=function(){return this.document()},Ie.prototype.dec=function(Le,De,Be){return this.declaration(Le,De,Be)},Ie.prototype.e=function(Le,De,Be){return this.element(Le,De,Be)},Ie.prototype.n=function(Le,De,Be){return this.node(Le,De,Be)},Ie.prototype.t=function(Le){return this.text(Le)},Ie.prototype.d=function(Le){return this.cdata(Le)},Ie.prototype.c=function(Le){return this.comment(Le)},Ie.prototype.r=function(Le){return this.raw(Le)},Ie.prototype.i=function(Le,De){return this.instruction(Le,De)},Ie.prototype.u=function(){return this.up()},Ie.prototype.importXMLBuilder=function(Le){return this.importDocument(Le)},Ie.prototype.replaceChild=function(Le,De){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ie.prototype.removeChild=function(Le){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ie.prototype.appendChild=function(Le){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ie.prototype.hasChildNodes=function(){return this.children.length!==0},Ie.prototype.cloneNode=function(Le){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ie.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ie.prototype.isSupported=function(Le,De){return!0},Ie.prototype.hasAttributes=function(){return this.attribs.length!==0},Ie.prototype.compareDocumentPosition=function(Le){var De,Be;return De=this,De===Le?0:this.document()!==Le.document()?(Be=ie.Disconnected|ie.ImplementationSpecific,Math.random()<.5?Be|=ie.Preceding:Be|=ie.Following,Be):De.isAncestor(Le)?ie.Contains|ie.Preceding:De.isDescendant(Le)?ie.Contains|ie.Following:De.isPreceding(Le)?ie.Preceding:ie.Following},Ie.prototype.isSameNode=function(Le){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ie.prototype.lookupPrefix=function(Le){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ie.prototype.isDefaultNamespace=function(Le){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ie.prototype.lookupNamespaceURI=function(Le){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ie.prototype.isEqualNode=function(Le){var De,Be,Ue;if(Le.nodeType!==this.nodeType||Le.children.length!==this.children.length)return!1;for(De=Be=0,Ue=this.children.length-1;0<=Ue?Be<=Ue:Be>=Ue;De=0<=Ue?++Be:--Be)if(!this.children[De].isEqualNode(Le.children[De]))return!1;return!0},Ie.prototype.getFeature=function(Le,De){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ie.prototype.setUserData=function(Le,De,Be){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ie.prototype.getUserData=function(Le){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ie.prototype.contains=function(Le){return Le?Le===this||this.isDescendant(Le):!1},Ie.prototype.isDescendant=function(Le){var De,Be,Ue,_e,We;for(We=this.children,Ue=0,_e=We.length;Ue<_e;Ue++)if(De=We[Ue],Le===De||(Be=De.isDescendant(Le),Be))return!0;return!1},Ie.prototype.isAncestor=function(Le){return Le.isDescendant(this)},Ie.prototype.isPreceding=function(Le){var De,Be;return De=this.treePosition(Le),Be=this.treePosition(this),De===-1||Be===-1?!1:De<Be},Ie.prototype.isFollowing=function(Le){var De,Be;return De=this.treePosition(Le),Be=this.treePosition(this),De===-1||Be===-1?!1:De>Be},Ie.prototype.treePosition=function(Le){var De,Be;return Be=0,De=!1,this.foreachTreeNode(this.document(),function(Ue){if(Be++,!De&&Ue===Le)return De=!0}),De?Be:-1},Ie.prototype.foreachTreeNode=function(Le,De){var Be,Ue,_e,We,Ze;for(Le||(Le=this.document()),We=Le.children,Ue=0,_e=We.length;Ue<_e;Ue++){if(Be=We[Ue],Ze=De(Be))return Ze;if(Ze=this.foreachTreeNode(Be,De),Ze)return Ze}},Ie}()}).call(this)},{"./DocumentPosition":427,"./NodeType":428,"./Utility":429,"./XMLCData":432,"./XMLComment":434,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLNamedNodeMap":449,"./XMLNodeList":451,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],451:[function(x,Te,me){(function(){var ie;Te.exports=ie=function(){function te(ae){this.nodes=ae}return Object.defineProperty(te.prototype,"length",{get:function(){return this.nodes.length||0}}),te.prototype.clone=function(){return this.nodes=null},te.prototype.item=function(ae){return this.nodes[ae]||null},te}()}).call(this)},{}],452:[function(x,Te,me){(function(){var ie,te,ae,ne=function(he,re){for(var se in re)oe.call(re,se)&&(he[se]=re[se]);function ce(){this.constructor=he}return ce.prototype=re.prototype,he.prototype=new ce,he.__super__=re.prototype,he},oe={}.hasOwnProperty;ie=x("./NodeType"),te=x("./XMLCharacterData"),Te.exports=ae=function(he){ne(re,he);function re(se,ce,fe){if(re.__super__.constructor.call(this,se),ce==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=ie.ProcessingInstruction,this.target=this.stringify.insTarget(ce),this.name=this.target,fe&&(this.value=this.stringify.insValue(fe))}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(se){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(se))},re.prototype.isEqualNode=function(se){return!(!re.__super__.isEqualNode.apply(this,arguments).isEqualNode(se)||se.target!==this.target)},re}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(x,Te,me){(function(){var ie,te,ae,ne=function(he,re){for(var se in re)oe.call(re,se)&&(he[se]=re[se]);function ce(){this.constructor=he}return ce.prototype=re.prototype,he.prototype=new ce,he.__super__=re.prototype,he},oe={}.hasOwnProperty;ie=x("./NodeType"),te=x("./XMLNode"),Te.exports=ae=function(he){ne(re,he);function re(se,ce){if(re.__super__.constructor.call(this,se),ce==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=ie.Raw,this.value=this.stringify.raw(ce)}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(se){return this.options.writer.raw(this,this.options.writer.filterOptions(se))},re}(te)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(x,Te,me){(function(){var ie,te,ae,ne,oe=function(re,se){for(var ce in se)he.call(se,ce)&&(re[ce]=se[ce]);function fe(){this.constructor=re}return fe.prototype=se.prototype,re.prototype=new fe,re.__super__=se.prototype,re},he={}.hasOwnProperty;ie=x("./NodeType"),ne=x("./XMLWriterBase"),te=x("./WriterState"),Te.exports=ae=function(re){oe(se,re);function se(ce,fe){this.stream=ce,se.__super__.constructor.call(this,fe)}return se.prototype.endline=function(ce,fe,pe){return ce.isLastRootNode&&fe.state===te.CloseTag?"":se.__super__.endline.call(this,ce,fe,pe)},se.prototype.document=function(ce,fe){var pe,le,Se,xe,ge,Me,ye,be,Fe;for(ye=ce.children,le=Se=0,ge=ye.length;Se<ge;le=++Se)pe=ye[le],pe.isLastRootNode=le===ce.children.length-1;for(fe=this.filterOptions(fe),be=ce.children,Fe=[],xe=0,Me=be.length;xe<Me;xe++)pe=be[xe],Fe.push(this.writeChildNode(pe,fe,0));return Fe},se.prototype.attribute=function(ce,fe,pe){return this.stream.write(se.__super__.attribute.call(this,ce,fe,pe))},se.prototype.cdata=function(ce,fe,pe){return this.stream.write(se.__super__.cdata.call(this,ce,fe,pe))},se.prototype.comment=function(ce,fe,pe){return this.stream.write(se.__super__.comment.call(this,ce,fe,pe))},se.prototype.declaration=function(ce,fe,pe){return this.stream.write(se.__super__.declaration.call(this,ce,fe,pe))},se.prototype.docType=function(ce,fe,pe){var le,Se,xe,ge;if(pe||(pe=0),this.openNode(ce,fe,pe),fe.state=te.OpenTag,this.stream.write(this.indent(ce,fe,pe)),this.stream.write("<!DOCTYPE "+ce.root().name),ce.pubID&&ce.sysID?this.stream.write(' PUBLIC "'+ce.pubID+'" "'+ce.sysID+'"'):ce.sysID&&this.stream.write(' SYSTEM "'+ce.sysID+'"'),ce.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(ce,fe,pe)),fe.state=te.InsideTag,ge=ce.children,Se=0,xe=ge.length;Se<xe;Se++)le=ge[Se],this.writeChildNode(le,fe,pe+1);fe.state=te.CloseTag,this.stream.write("]")}return fe.state=te.CloseTag,this.stream.write(fe.spaceBeforeSlash+">"),this.stream.write(this.endline(ce,fe,pe)),fe.state=te.None,this.closeNode(ce,fe,pe)},se.prototype.element=function(ce,fe,pe){var le,Se,xe,ge,Me,ye,be,Fe,ke,Ie;pe||(pe=0),this.openNode(ce,fe,pe),fe.state=te.OpenTag,this.stream.write(this.indent(ce,fe,pe)+"<"+ce.name),ke=ce.attribs;for(be in ke)he.call(ke,be)&&(le=ke[be],this.attribute(le,fe,pe));if(xe=ce.children.length,ge=xe===0?null:ce.children[0],xe===0||ce.children.every(function(Le){return(Le.type===ie.Text||Le.type===ie.Raw)&&Le.value===""}))fe.allowEmpty?(this.stream.write(">"),fe.state=te.CloseTag,this.stream.write("</"+ce.name+">")):(fe.state=te.CloseTag,this.stream.write(fe.spaceBeforeSlash+"/>"));else if(fe.pretty&&xe===1&&(ge.type===ie.Text||ge.type===ie.Raw)&&ge.value!=null)this.stream.write(">"),fe.state=te.InsideTag,fe.suppressPrettyCount++,Fe=!0,this.writeChildNode(ge,fe,pe+1),fe.suppressPrettyCount--,Fe=!1,fe.state=te.CloseTag,this.stream.write("</"+ce.name+">");else{for(this.stream.write(">"+this.endline(ce,fe,pe)),fe.state=te.InsideTag,Ie=ce.children,Me=0,ye=Ie.length;Me<ye;Me++)Se=Ie[Me],this.writeChildNode(Se,fe,pe+1);fe.state=te.CloseTag,this.stream.write(this.indent(ce,fe,pe)+"</"+ce.name+">")}return this.stream.write(this.endline(ce,fe,pe)),fe.state=te.None,this.closeNode(ce,fe,pe)},se.prototype.processingInstruction=function(ce,fe,pe){return this.stream.write(se.__super__.processingInstruction.call(this,ce,fe,pe))},se.prototype.raw=function(ce,fe,pe){return this.stream.write(se.__super__.raw.call(this,ce,fe,pe))},se.prototype.text=function(ce,fe,pe){return this.stream.write(se.__super__.text.call(this,ce,fe,pe))},se.prototype.dtdAttList=function(ce,fe,pe){return this.stream.write(se.__super__.dtdAttList.call(this,ce,fe,pe))},se.prototype.dtdElement=function(ce,fe,pe){return this.stream.write(se.__super__.dtdElement.call(this,ce,fe,pe))},se.prototype.dtdEntity=function(ce,fe,pe){return this.stream.write(se.__super__.dtdEntity.call(this,ce,fe,pe))},se.prototype.dtdNotation=function(ce,fe,pe){return this.stream.write(se.__super__.dtdNotation.call(this,ce,fe,pe))},se}(ne)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(x,Te,me){(function(){var ie,te,ae=function(oe,he){for(var re in he)ne.call(he,re)&&(oe[re]=he[re]);function se(){this.constructor=oe}return se.prototype=he.prototype,oe.prototype=new se,oe.__super__=he.prototype,oe},ne={}.hasOwnProperty;te=x("./XMLWriterBase"),Te.exports=ie=function(oe){ae(he,oe);function he(re){he.__super__.constructor.call(this,re)}return he.prototype.document=function(re,se){var ce,fe,pe,le,Se;for(se=this.filterOptions(se),le="",Se=re.children,fe=0,pe=Se.length;fe<pe;fe++)ce=Se[fe],le+=this.writeChildNode(ce,se,0);return se.pretty&&le.slice(-se.newline.length)===se.newline&&(le=le.slice(0,-se.newline.length)),le},he}(te)}).call(this)},{"./XMLWriterBase":458}],456:[function(x,Te,me){(function(){var ie,te=function(ne,oe){return function(){return ne.apply(oe,arguments)}},ae={}.hasOwnProperty;Te.exports=ie=function(){function ne(oe){this.assertLegalName=te(this.assertLegalName,this),this.assertLegalChar=te(this.assertLegalChar,this);var he,re,se;oe||(oe={}),this.options=oe,this.options.version||(this.options.version="1.0"),re=oe.stringify||{};for(he in re)ae.call(re,he)&&(se=re[he],this[he]=se)}return ne.prototype.name=function(oe){return this.options.noValidation?oe:this.assertLegalName(""+oe||"")},ne.prototype.text=function(oe){return this.options.noValidation?oe:this.assertLegalChar(this.textEscape(""+oe||""))},ne.prototype.cdata=function(oe){return this.options.noValidation?oe:(oe=""+oe||"",oe=oe.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(oe))},ne.prototype.comment=function(oe){if(this.options.noValidation)return oe;if(oe=""+oe||"",oe.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+oe);return this.assertLegalChar(oe)},ne.prototype.raw=function(oe){return this.options.noValidation?oe:""+oe||""},ne.prototype.attValue=function(oe){return this.options.noValidation?oe:this.assertLegalChar(this.attEscape(oe=""+oe||""))},ne.prototype.insTarget=function(oe){return this.options.noValidation?oe:this.assertLegalChar(""+oe||"")},ne.prototype.insValue=function(oe){if(this.options.noValidation)return oe;if(oe=""+oe||"",oe.match(/\?>/))throw new Error("Invalid processing instruction value: "+oe);return this.assertLegalChar(oe)},ne.prototype.xmlVersion=function(oe){if(this.options.noValidation)return oe;if(oe=""+oe||"",!oe.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+oe);return oe},ne.prototype.xmlEncoding=function(oe){if(this.options.noValidation)return oe;if(oe=""+oe||"",!oe.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+oe);return this.assertLegalChar(oe)},ne.prototype.xmlStandalone=function(oe){return this.options.noValidation?oe:oe?"yes":"no"},ne.prototype.dtdPubID=function(oe){return this.options.noValidation?oe:this.assertLegalChar(""+oe||"")},ne.prototype.dtdSysID=function(oe){return this.options.noValidation?oe:this.assertLegalChar(""+oe||"")},ne.prototype.dtdElementValue=function(oe){return this.options.noValidation?oe:this.assertLegalChar(""+oe||"")},ne.prototype.dtdAttType=function(oe){return this.options.noValidation?oe:this.assertLegalChar(""+oe||"")},ne.prototype.dtdAttDefault=function(oe){return this.options.noValidation?oe:this.assertLegalChar(""+oe||"")},ne.prototype.dtdEntityValue=function(oe){return this.options.noValidation?oe:this.assertLegalChar(""+oe||"")},ne.prototype.dtdNData=function(oe){return this.options.noValidation?oe:this.assertLegalChar(""+oe||"")},ne.prototype.convertAttKey="@",ne.prototype.convertPIKey="?",ne.prototype.convertTextKey="#text",ne.prototype.convertCDataKey="#cdata",ne.prototype.convertCommentKey="#comment",ne.prototype.convertRawKey="#raw",ne.prototype.assertLegalChar=function(oe){var he,re;if(this.options.noValidation)return oe;if(he="",this.options.version==="1.0"){if(he=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,re=oe.match(he))throw new Error("Invalid character in string: "+oe+" at index "+re.index)}else if(this.options.version==="1.1"&&(he=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,re=oe.match(he)))throw new Error("Invalid character in string: "+oe+" at index "+re.index);return oe},ne.prototype.assertLegalName=function(oe){var he;if(this.options.noValidation)return oe;if(this.assertLegalChar(oe),he=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!oe.match(he))throw new Error("Invalid character in name");return oe},ne.prototype.textEscape=function(oe){var he;return this.options.noValidation?oe:(he=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,oe.replace(he,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},ne.prototype.attEscape=function(oe){var he;return this.options.noValidation?oe:(he=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,oe.replace(he,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},ne}()}).call(this)},{}],457:[function(x,Te,me){(function(){var ie,te,ae,ne=function(he,re){for(var se in re)oe.call(re,se)&&(he[se]=re[se]);function ce(){this.constructor=he}return ce.prototype=re.prototype,he.prototype=new ce,he.__super__=re.prototype,he},oe={}.hasOwnProperty;ie=x("./NodeType"),te=x("./XMLCharacterData"),Te.exports=ae=function(he){ne(re,he);function re(se,ce){if(re.__super__.constructor.call(this,se),ce==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=ie.Text,this.value=this.stringify.text(ce)}return Object.defineProperty(re.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(re.prototype,"wholeText",{get:function(){var se,ce,fe;for(fe="",ce=this.previousSibling;ce;)fe=ce.data+fe,ce=ce.previousSibling;for(fe+=this.data,se=this.nextSibling;se;)fe=fe+se.data,se=se.nextSibling;return fe}}),re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(se){return this.options.writer.text(this,this.options.writer.filterOptions(se))},re.prototype.splitText=function(se){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.replaceWholeText=function(se){throw new Error("This DOM method is not implemented."+this.debugInfo())},re}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(x,Te,me){(function(){var ie,te,ae,ne,oe,he,re,se,ce,fe,pe,le,Se,xe,ge,Me,ye,be={}.hasOwnProperty;ye=x("./Utility").assign,ie=x("./NodeType"),ce=x("./XMLDeclaration"),fe=x("./XMLDocType"),ae=x("./XMLCData"),ne=x("./XMLComment"),le=x("./XMLElement"),xe=x("./XMLRaw"),ge=x("./XMLText"),Se=x("./XMLProcessingInstruction"),pe=x("./XMLDummy"),oe=x("./XMLDTDAttList"),he=x("./XMLDTDElement"),re=x("./XMLDTDEntity"),se=x("./XMLDTDNotation"),te=x("./WriterState"),Te.exports=Me=function(){function Fe(ke){var Ie,Le,De;ke||(ke={}),this.options=ke,Le=ke.writer||{};for(Ie in Le)be.call(Le,Ie)&&(De=Le[Ie],this["_"+Ie]=this[Ie],this[Ie]=De)}return Fe.prototype.filterOptions=function(ke){var Ie,Le,De,Be,Ue,_e,We,Ze;return ke||(ke={}),ke=ye({},this.options,ke),Ie={writer:this},Ie.pretty=ke.pretty||!1,Ie.allowEmpty=ke.allowEmpty||!1,Ie.indent=(Le=ke.indent)!=null?Le:" ",Ie.newline=(De=ke.newline)!=null?De:`
`,Ie.offset=(Be=ke.offset)!=null?Be:0,Ie.dontPrettyTextNodes=(Ue=(_e=ke.dontPrettyTextNodes)!=null?_e:ke.dontprettytextnodes)!=null?Ue:0,Ie.spaceBeforeSlash=(We=(Ze=ke.spaceBeforeSlash)!=null?Ze:ke.spacebeforeslash)!=null?We:"",Ie.spaceBeforeSlash===!0&&(Ie.spaceBeforeSlash=" "),Ie.suppressPrettyCount=0,Ie.user={},Ie.state=te.None,Ie},Fe.prototype.indent=function(ke,Ie,Le){var De;return!Ie.pretty||Ie.suppressPrettyCount?"":Ie.pretty&&(De=(Le||0)+Ie.offset+1,De>0)?new Array(De).join(Ie.indent):""},Fe.prototype.endline=function(ke,Ie,Le){return!Ie.pretty||Ie.suppressPrettyCount?"":Ie.newline},Fe.prototype.attribute=function(ke,Ie,Le){var De;return this.openAttribute(ke,Ie,Le),De=" "+ke.name+'="'+ke.value+'"',this.closeAttribute(ke,Ie,Le),De},Fe.prototype.cdata=function(ke,Ie,Le){var De;return this.openNode(ke,Ie,Le),Ie.state=te.OpenTag,De=this.indent(ke,Ie,Le)+"<![CDATA[",Ie.state=te.InsideTag,De+=ke.value,Ie.state=te.CloseTag,De+="]]>"+this.endline(ke,Ie,Le),Ie.state=te.None,this.closeNode(ke,Ie,Le),De},Fe.prototype.comment=function(ke,Ie,Le){var De;return this.openNode(ke,Ie,Le),Ie.state=te.OpenTag,De=this.indent(ke,Ie,Le)+"<!-- ",Ie.state=te.InsideTag,De+=ke.value,Ie.state=te.CloseTag,De+=" -->"+this.endline(ke,Ie,Le),Ie.state=te.None,this.closeNode(ke,Ie,Le),De},Fe.prototype.declaration=function(ke,Ie,Le){var De;return this.openNode(ke,Ie,Le),Ie.state=te.OpenTag,De=this.indent(ke,Ie,Le)+"<?xml",Ie.state=te.InsideTag,De+=' version="'+ke.version+'"',ke.encoding!=null&&(De+=' encoding="'+ke.encoding+'"'),ke.standalone!=null&&(De+=' standalone="'+ke.standalone+'"'),Ie.state=te.CloseTag,De+=Ie.spaceBeforeSlash+"?>",De+=this.endline(ke,Ie,Le),Ie.state=te.None,this.closeNode(ke,Ie,Le),De},Fe.prototype.docType=function(ke,Ie,Le){var De,Be,Ue,_e,We;if(Le||(Le=0),this.openNode(ke,Ie,Le),Ie.state=te.OpenTag,_e=this.indent(ke,Ie,Le),_e+="<!DOCTYPE "+ke.root().name,ke.pubID&&ke.sysID?_e+=' PUBLIC "'+ke.pubID+'" "'+ke.sysID+'"':ke.sysID&&(_e+=' SYSTEM "'+ke.sysID+'"'),ke.children.length>0){for(_e+=" [",_e+=this.endline(ke,Ie,Le),Ie.state=te.InsideTag,We=ke.children,Be=0,Ue=We.length;Be<Ue;Be++)De=We[Be],_e+=this.writeChildNode(De,Ie,Le+1);Ie.state=te.CloseTag,_e+="]"}return Ie.state=te.CloseTag,_e+=Ie.spaceBeforeSlash+">",_e+=this.endline(ke,Ie,Le),Ie.state=te.None,this.closeNode(ke,Ie,Le),_e},Fe.prototype.element=function(ke,Ie,Le){var De,Be,Ue,_e,We,Ze,et,at,pt,Xe,Ge,lt,dt,st;Le||(Le=0),Xe=!1,Ge="",this.openNode(ke,Ie,Le),Ie.state=te.OpenTag,Ge+=this.indent(ke,Ie,Le)+"<"+ke.name,lt=ke.attribs;for(pt in lt)be.call(lt,pt)&&(De=lt[pt],Ge+=this.attribute(De,Ie,Le));if(Ue=ke.children.length,_e=Ue===0?null:ke.children[0],Ue===0||ke.children.every(function(nt){return(nt.type===ie.Text||nt.type===ie.Raw)&&nt.value===""}))Ie.allowEmpty?(Ge+=">",Ie.state=te.CloseTag,Ge+="</"+ke.name+">"+this.endline(ke,Ie,Le)):(Ie.state=te.CloseTag,Ge+=Ie.spaceBeforeSlash+"/>"+this.endline(ke,Ie,Le));else if(Ie.pretty&&Ue===1&&(_e.type===ie.Text||_e.type===ie.Raw)&&_e.value!=null)Ge+=">",Ie.state=te.InsideTag,Ie.suppressPrettyCount++,Xe=!0,Ge+=this.writeChildNode(_e,Ie,Le+1),Ie.suppressPrettyCount--,Xe=!1,Ie.state=te.CloseTag,Ge+="</"+ke.name+">"+this.endline(ke,Ie,Le);else{if(Ie.dontPrettyTextNodes){for(dt=ke.children,We=0,et=dt.length;We<et;We++)if(Be=dt[We],(Be.type===ie.Text||Be.type===ie.Raw)&&Be.value!=null){Ie.suppressPrettyCount++,Xe=!0;break}}for(Ge+=">"+this.endline(ke,Ie,Le),Ie.state=te.InsideTag,st=ke.children,Ze=0,at=st.length;Ze<at;Ze++)Be=st[Ze],Ge+=this.writeChildNode(Be,Ie,Le+1);Ie.state=te.CloseTag,Ge+=this.indent(ke,Ie,Le)+"</"+ke.name+">",Xe&&Ie.suppressPrettyCount--,Ge+=this.endline(ke,Ie,Le),Ie.state=te.None}return this.closeNode(ke,Ie,Le),Ge},Fe.prototype.writeChildNode=function(ke,Ie,Le){switch(ke.type){case ie.CData:return this.cdata(ke,Ie,Le);case ie.Comment:return this.comment(ke,Ie,Le);case ie.Element:return this.element(ke,Ie,Le);case ie.Raw:return this.raw(ke,Ie,Le);case ie.Text:return this.text(ke,Ie,Le);case ie.ProcessingInstruction:return this.processingInstruction(ke,Ie,Le);case ie.Dummy:return"";case ie.Declaration:return this.declaration(ke,Ie,Le);case ie.DocType:return this.docType(ke,Ie,Le);case ie.AttributeDeclaration:return this.dtdAttList(ke,Ie,Le);case ie.ElementDeclaration:return this.dtdElement(ke,Ie,Le);case ie.EntityDeclaration:return this.dtdEntity(ke,Ie,Le);case ie.NotationDeclaration:return this.dtdNotation(ke,Ie,Le);default:throw new Error("Unknown XML node type: "+ke.constructor.name)}},Fe.prototype.processingInstruction=function(ke,Ie,Le){var De;return this.openNode(ke,Ie,Le),Ie.state=te.OpenTag,De=this.indent(ke,Ie,Le)+"<?",Ie.state=te.InsideTag,De+=ke.target,ke.value&&(De+=" "+ke.value),Ie.state=te.CloseTag,De+=Ie.spaceBeforeSlash+"?>",De+=this.endline(ke,Ie,Le),Ie.state=te.None,this.closeNode(ke,Ie,Le),De},Fe.prototype.raw=function(ke,Ie,Le){var De;return this.openNode(ke,Ie,Le),Ie.state=te.OpenTag,De=this.indent(ke,Ie,Le),Ie.state=te.InsideTag,De+=ke.value,Ie.state=te.CloseTag,De+=this.endline(ke,Ie,Le),Ie.state=te.None,this.closeNode(ke,Ie,Le),De},Fe.prototype.text=function(ke,Ie,Le){var De;return this.openNode(ke,Ie,Le),Ie.state=te.OpenTag,De=this.indent(ke,Ie,Le),Ie.state=te.InsideTag,De+=ke.value,Ie.state=te.CloseTag,De+=this.endline(ke,Ie,Le),Ie.state=te.None,this.closeNode(ke,Ie,Le),De},Fe.prototype.dtdAttList=function(ke,Ie,Le){var De;return this.openNode(ke,Ie,Le),Ie.state=te.OpenTag,De=this.indent(ke,Ie,Le)+"<!ATTLIST",Ie.state=te.InsideTag,De+=" "+ke.elementName+" "+ke.attributeName+" "+ke.attributeType,ke.defaultValueType!=="#DEFAULT"&&(De+=" "+ke.defaultValueType),ke.defaultValue&&(De+=' "'+ke.defaultValue+'"'),Ie.state=te.CloseTag,De+=Ie.spaceBeforeSlash+">"+this.endline(ke,Ie,Le),Ie.state=te.None,this.closeNode(ke,Ie,Le),De},Fe.prototype.dtdElement=function(ke,Ie,Le){var De;return this.openNode(ke,Ie,Le),Ie.state=te.OpenTag,De=this.indent(ke,Ie,Le)+"<!ELEMENT",Ie.state=te.InsideTag,De+=" "+ke.name+" "+ke.value,Ie.state=te.CloseTag,De+=Ie.spaceBeforeSlash+">"+this.endline(ke,Ie,Le),Ie.state=te.None,this.closeNode(ke,Ie,Le),De},Fe.prototype.dtdEntity=function(ke,Ie,Le){var De;return this.openNode(ke,Ie,Le),Ie.state=te.OpenTag,De=this.indent(ke,Ie,Le)+"<!ENTITY",Ie.state=te.InsideTag,ke.pe&&(De+=" %"),De+=" "+ke.name,ke.value?De+=' "'+ke.value+'"':(ke.pubID&&ke.sysID?De+=' PUBLIC "'+ke.pubID+'" "'+ke.sysID+'"':ke.sysID&&(De+=' SYSTEM "'+ke.sysID+'"'),ke.nData&&(De+=" NDATA "+ke.nData)),Ie.state=te.CloseTag,De+=Ie.spaceBeforeSlash+">"+this.endline(ke,Ie,Le),Ie.state=te.None,this.closeNode(ke,Ie,Le),De},Fe.prototype.dtdNotation=function(ke,Ie,Le){var De;return this.openNode(ke,Ie,Le),Ie.state=te.OpenTag,De=this.indent(ke,Ie,Le)+"<!NOTATION",Ie.state=te.InsideTag,De+=" "+ke.name,ke.pubID&&ke.sysID?De+=' PUBLIC "'+ke.pubID+'" "'+ke.sysID+'"':ke.pubID?De+=' PUBLIC "'+ke.pubID+'"':ke.sysID&&(De+=' SYSTEM "'+ke.sysID+'"'),Ie.state=te.CloseTag,De+=Ie.spaceBeforeSlash+">"+this.endline(ke,Ie,Le),Ie.state=te.None,this.closeNode(ke,Ie,Le),De},Fe.prototype.openNode=function(ke,Ie,Le){},Fe.prototype.closeNode=function(ke,Ie,Le){},Fe.prototype.openAttribute=function(ke,Ie,Le){},Fe.prototype.closeAttribute=function(ke,Ie,Le){},Fe}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(x,Te,me){(function(){var ie,te,ae,ne,oe,he,re,se,ce,fe;fe=x("./Utility"),se=fe.assign,ce=fe.isFunction,ae=x("./XMLDOMImplementation"),ne=x("./XMLDocument"),oe=x("./XMLDocumentCB"),re=x("./XMLStringWriter"),he=x("./XMLStreamWriter"),ie=x("./NodeType"),te=x("./WriterState"),Te.exports.create=function(pe,le,Se,xe){var ge,Me;if(pe==null)throw new Error("Root element needs a name.");return xe=se({},le,Se,xe),ge=new ne(xe),Me=ge.element(pe),xe.headless||(ge.declaration(xe),(xe.pubID!=null||xe.sysID!=null)&&ge.dtd(xe)),Me},Te.exports.begin=function(pe,le,Se){var xe;return ce(pe)&&(xe=[pe,le],le=xe[0],Se=xe[1],pe={}),le?new oe(pe,le,Se):new ne(pe)},Te.exports.stringWriter=function(pe){return new re(pe)},Te.exports.streamWriter=function(pe,le){return new he(pe,le)},Te.exports.implementation=new ae,Te.exports.nodeType=ie,Te.exports.writerState=te}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(x,Te,me){Te.exports=te;var ie=Object.prototype.hasOwnProperty;function te(){for(var ae={},ne=0;ne<arguments.length;ne++){var oe=arguments[ne];for(var he in oe)ie.call(oe,he)&&(ae[he]=oe[he])}return ae}},{}],461:[function(x,Te,me){"use strict";x("core-js/modules/es.array.fill.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.regexp.to-string.js"),x("core-js/modules/es.array.join.js"),x("core-js/modules/es.array.slice.js");var ie=x("buffer").Buffer,te=x("./sha"),ae=x("./md5"),ne={sha1:te,md5:ae},oe=64,he=ie.alloc(oe);he.fill(0);function re(fe,pe,le){ie.isBuffer(pe)||(pe=ie.from(pe)),ie.isBuffer(le)||(le=ie.from(le)),pe.length>oe?pe=fe(pe):pe.length<oe&&(pe=ie.concat([pe,he],oe));for(var Se=ie.alloc(oe),xe=ie.alloc(oe),ge=0;ge<oe;ge++)Se[ge]=pe[ge]^54,xe[ge]=pe[ge]^92;var Me=fe(ie.concat([Se,le]));return fe(ie.concat([xe,Me]))}function se(fe,pe){fe=fe||"sha1";var le=ne[fe],Se=[],xe=0;return le||ce("algorithm:",fe,"is not yet supported"),{update:function(Me){return ie.isBuffer(Me)||(Me=ie.from(Me)),Se.push(Me),xe+=Me.length,this},digest:function(Me){var ye=ie.concat(Se),be=pe?re(le,pe,ye):le(ye);return Se=null,Me?be.toString(Me):be}}}function ce(){var fe=[].slice.call(arguments).join(" ");throw new Error([fe,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}me.createHash=function(fe){return se(fe)},me.createHmac=function(fe,pe){return se(fe,pe)},me.createCredentials=function(){ce("sorry,createCredentials is not implemented yet")},me.createCipher=function(){ce("sorry,createCipher is not implemented yet")},me.createCipheriv=function(){ce("sorry,createCipheriv is not implemented yet")},me.createDecipher=function(){ce("sorry,createDecipher is not implemented yet")},me.createDecipheriv=function(){ce("sorry,createDecipheriv is not implemented yet")},me.createSign=function(){ce("sorry,createSign is not implemented yet")},me.createVerify=function(){ce("sorry,createVerify is not implemented yet")},me.createDiffieHellman=function(){ce("sorry,createDiffieHellman is not implemented yet")},me.pbkdf2=function(){ce("sorry,pbkdf2 is not implemented yet")}},{"./md5":463,"./sha":464,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],462:[function(x,Te,me){"use strict";x("core-js/modules/es.array.fill.js"),x("core-js/modules/es.array.concat.js");var ie=x("buffer").Buffer,te=4,ae=ie.alloc(te);ae.fill(0);var ne=8;function oe(se,ce){if(se.length%te!==0){var fe=se.length+(te-se.length%te);se=ie.concat([se,ae],fe)}for(var pe=[],le=ce?se.readInt32BE:se.readInt32LE,Se=0;Se<se.length;Se+=te)pe.push(le.call(se,Se));return pe}function he(se,ce,fe){for(var pe=ie.alloc(ce),le=fe?pe.writeInt32BE:pe.writeInt32LE,Se=0;Se<se.length;Se++)le.call(pe,se[Se],Se*4,!0);return pe}function re(se,ce,fe,pe){ie.isBuffer(se)||(se=ie.from(se));var le=ce(oe(se,pe),se.length*ne);return he(le,fe,pe)}Te.exports={hash:re}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(x,Te,me){"use strict";var ie=x("./helpers");function te(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function ae(pe,le){pe[le>>5]|=128<<le%32,pe[(le+64>>>9<<4)+14]=le;for(var Se=1732584193,xe=-271733879,ge=-1732584194,Me=271733878,ye=0;ye<pe.length;ye+=16){var be=Se,Fe=xe,ke=ge,Ie=Me;Se=oe(Se,xe,ge,Me,pe[ye+0],7,-680876936),Me=oe(Me,Se,xe,ge,pe[ye+1],12,-389564586),ge=oe(ge,Me,Se,xe,pe[ye+2],17,606105819),xe=oe(xe,ge,Me,Se,pe[ye+3],22,-1044525330),Se=oe(Se,xe,ge,Me,pe[ye+4],7,-176418897),Me=oe(Me,Se,xe,ge,pe[ye+5],12,1200080426),ge=oe(ge,Me,Se,xe,pe[ye+6],17,-1473231341),xe=oe(xe,ge,Me,Se,pe[ye+7],22,-45705983),Se=oe(Se,xe,ge,Me,pe[ye+8],7,1770035416),Me=oe(Me,Se,xe,ge,pe[ye+9],12,-1958414417),ge=oe(ge,Me,Se,xe,pe[ye+10],17,-42063),xe=oe(xe,ge,Me,Se,pe[ye+11],22,-1990404162),Se=oe(Se,xe,ge,Me,pe[ye+12],7,1804603682),Me=oe(Me,Se,xe,ge,pe[ye+13],12,-40341101),ge=oe(ge,Me,Se,xe,pe[ye+14],17,-1502002290),xe=oe(xe,ge,Me,Se,pe[ye+15],22,1236535329),Se=he(Se,xe,ge,Me,pe[ye+1],5,-165796510),Me=he(Me,Se,xe,ge,pe[ye+6],9,-1069501632),ge=he(ge,Me,Se,xe,pe[ye+11],14,643717713),xe=he(xe,ge,Me,Se,pe[ye+0],20,-373897302),Se=he(Se,xe,ge,Me,pe[ye+5],5,-701558691),Me=he(Me,Se,xe,ge,pe[ye+10],9,38016083),ge=he(ge,Me,Se,xe,pe[ye+15],14,-660478335),xe=he(xe,ge,Me,Se,pe[ye+4],20,-405537848),Se=he(Se,xe,ge,Me,pe[ye+9],5,568446438),Me=he(Me,Se,xe,ge,pe[ye+14],9,-1019803690),ge=he(ge,Me,Se,xe,pe[ye+3],14,-187363961),xe=he(xe,ge,Me,Se,pe[ye+8],20,1163531501),Se=he(Se,xe,ge,Me,pe[ye+13],5,-1444681467),Me=he(Me,Se,xe,ge,pe[ye+2],9,-51403784),ge=he(ge,Me,Se,xe,pe[ye+7],14,1735328473),xe=he(xe,ge,Me,Se,pe[ye+12],20,-1926607734),Se=re(Se,xe,ge,Me,pe[ye+5],4,-378558),Me=re(Me,Se,xe,ge,pe[ye+8],11,-2022574463),ge=re(ge,Me,Se,xe,pe[ye+11],16,1839030562),xe=re(xe,ge,Me,Se,pe[ye+14],23,-35309556),Se=re(Se,xe,ge,Me,pe[ye+1],4,-1530992060),Me=re(Me,Se,xe,ge,pe[ye+4],11,1272893353),ge=re(ge,Me,Se,xe,pe[ye+7],16,-155497632),xe=re(xe,ge,Me,Se,pe[ye+10],23,-1094730640),Se=re(Se,xe,ge,Me,pe[ye+13],4,681279174),Me=re(Me,Se,xe,ge,pe[ye+0],11,-358537222),ge=re(ge,Me,Se,xe,pe[ye+3],16,-722521979),xe=re(xe,ge,Me,Se,pe[ye+6],23,76029189),Se=re(Se,xe,ge,Me,pe[ye+9],4,-640364487),Me=re(Me,Se,xe,ge,pe[ye+12],11,-421815835),ge=re(ge,Me,Se,xe,pe[ye+15],16,530742520),xe=re(xe,ge,Me,Se,pe[ye+2],23,-995338651),Se=se(Se,xe,ge,Me,pe[ye+0],6,-198630844),Me=se(Me,Se,xe,ge,pe[ye+7],10,1126891415),ge=se(ge,Me,Se,xe,pe[ye+14],15,-1416354905),xe=se(xe,ge,Me,Se,pe[ye+5],21,-57434055),Se=se(Se,xe,ge,Me,pe[ye+12],6,1700485571),Me=se(Me,Se,xe,ge,pe[ye+3],10,-1894986606),ge=se(ge,Me,Se,xe,pe[ye+10],15,-1051523),xe=se(xe,ge,Me,Se,pe[ye+1],21,-2054922799),Se=se(Se,xe,ge,Me,pe[ye+8],6,1873313359),Me=se(Me,Se,xe,ge,pe[ye+15],10,-30611744),ge=se(ge,Me,Se,xe,pe[ye+6],15,-1560198380),xe=se(xe,ge,Me,Se,pe[ye+13],21,1309151649),Se=se(Se,xe,ge,Me,pe[ye+4],6,-145523070),Me=se(Me,Se,xe,ge,pe[ye+11],10,-1120210379),ge=se(ge,Me,Se,xe,pe[ye+2],15,718787259),xe=se(xe,ge,Me,Se,pe[ye+9],21,-343485551),Se=ce(Se,be),xe=ce(xe,Fe),ge=ce(ge,ke),Me=ce(Me,Ie)}return Array(Se,xe,ge,Me)}function ne(pe,le,Se,xe,ge,Me){return ce(fe(ce(ce(le,pe),ce(xe,Me)),ge),Se)}function oe(pe,le,Se,xe,ge,Me,ye){return ne(le&Se|~le&xe,pe,le,ge,Me,ye)}function he(pe,le,Se,xe,ge,Me,ye){return ne(le&xe|Se&~xe,pe,le,ge,Me,ye)}function re(pe,le,Se,xe,ge,Me,ye){return ne(le^Se^xe,pe,le,ge,Me,ye)}function se(pe,le,Se,xe,ge,Me,ye){return ne(Se^(le|~xe),pe,le,ge,Me,ye)}function ce(pe,le){var Se=(pe&65535)+(le&65535),xe=(pe>>16)+(le>>16)+(Se>>16);return xe<<16|Se&65535}function fe(pe,le){return pe<<le|pe>>>32-le}Te.exports=function(le){return ie.hash(le,ae,16)}},{"./helpers":462}],464:[function(x,Te,me){"use strict";var ie=x("./helpers");function te(re,se){re[se>>5]|=128<<24-se%32,re[(se+64>>9<<4)+15]=se;for(var ce=Array(80),fe=1732584193,pe=-271733879,le=-1732584194,Se=271733878,xe=-1009589776,ge=0;ge<re.length;ge+=16){for(var Me=fe,ye=pe,be=le,Fe=Se,ke=xe,Ie=0;Ie<80;Ie++){Ie<16?ce[Ie]=re[ge+Ie]:ce[Ie]=he(ce[Ie-3]^ce[Ie-8]^ce[Ie-14]^ce[Ie-16],1);var Le=oe(oe(he(fe,5),ae(Ie,pe,le,Se)),oe(oe(xe,ce[Ie]),ne(Ie)));xe=Se,Se=le,le=he(pe,30),pe=fe,fe=Le}fe=oe(fe,Me),pe=oe(pe,ye),le=oe(le,be),Se=oe(Se,Fe),xe=oe(xe,ke)}return Array(fe,pe,le,Se,xe)}function ae(re,se,ce,fe){return re<20?se&ce|~se&fe:re<40?se^ce^fe:re<60?se&ce|se&fe|ce&fe:se^ce^fe}function ne(re){return re<20?1518500249:re<40?1859775393:re<60?-1894007588:-899497514}function oe(re,se){var ce=(re&65535)+(se&65535),fe=(re>>16)+(se>>16)+(ce>>16);return fe<<16|ce&65535}function he(re,se){return re<<se|re>>>32-se}Te.exports=function(se){return ie.hash(se,te,20,!0)}},{"./helpers":462}],465:[function(x,Te,me){"use strict";Te.exports=function(){return function(){}}},{}],466:[function(x,Te,me){(function(ie){(function(){"use strict";var te=x("@babel/runtime/helpers/interopRequireDefault"),ae=te(x("@babel/runtime/helpers/typeof")),ne=x("stream"),oe=ne.Stream,he=x("../lib/common/utils/isArray"),re=he.isArray;Te.exports.string=function(fe){return typeof fe=="string"},Te.exports.array=re,Te.exports.buffer=ie.isBuffer;function se(ce){return ce instanceof oe}Te.exports.writableStream=function(fe){return se(fe)&&typeof fe._write=="function"&&(0,ae.default)(fe._writableState)==="object"}}).call(this)}).call(this,{isBuffer:x("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(x,Te,me){"use strict";var ie=x("immediate"),te=Te.exports={};te.nextTick=ie,te.title="browser",te.browser=!0,te.env={},te.argv=[],te.version="",te.versions={};function ae(){}te.on=ae,te.addListener=ae,te.once=ae,te.off=ae,te.removeListener=ae,te.removeAllListeners=ae,te.emit=ae,te.prependListener=ae,te.prependOnceListener=ae,te.listeners=function(ne){return[]},te.binding=function(ne){throw new Error("process.binding is not supported")},te.cwd=function(){return"/"},te.chdir=function(ne){throw new Error("process.chdir is not supported")},te.umask=function(){return 0}},{immediate:358}],468:[function(x,Te,me){(function(ie){(function(){"use strict";x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.search.js");var te=x("./lib/request"),ae=x("./lib/response"),ne=x("xtend"),oe=x("builtin-status-codes"),he=x("url"),re=me;re.request=function(se,ce){typeof se=="string"?se=he.parse(se):se=ne(se);var fe=ie.location.protocol.search(/^https?:$/)===-1?"http:":"",pe=se.protocol||fe,le=se.hostname||se.host,Se=se.port,xe=se.path||"/";le&&le.indexOf(":")!==-1&&(le="["+le+"]"),se.url=(le?pe+"//"+le:"")+(Se?":"+Se:"")+xe,se.method=(se.method||"GET").toUpperCase(),se.headers=se.headers||{};var ge=new te(se);return ce&&ge.on("response",ce),ge},re.get=function(ce,fe){var pe=re.request(ce,fe);return pe.end(),pe},re.ClientRequest=te,re.IncomingMessage=ae.IncomingMessage,re.Agent=function(){},re.Agent.defaultMaxSockets=4,re.globalAgent=new re.Agent,re.STATUS_CODES=oe,re.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(x,Te,me){(function(ie){(function(){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.array-buffer.constructor.js"),x("core-js/modules/es.array-buffer.slice.js"),x("core-js/modules/es.array.slice.js"),me.fetch=re(ie.fetch)&&re(ie.ReadableStream),me.writableStream=re(ie.WritableStream),me.abortController=re(ie.AbortController),me.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),me.blobConstructor=!0}catch(se){}var te;function ae(){if(te!==void 0)return te;if(ie.XMLHttpRequest){te=new ie.XMLHttpRequest;try{te.open("GET",ie.XDomainRequest?"/":"https://example.com")}catch(se){te=null}}else te=null;return te}function ne(se){var ce=ae();if(!ce)return!1;try{return ce.responseType=se,ce.responseType===se}catch(fe){}return!1}var oe=typeof ie.ArrayBuffer!="undefined",he=oe&&re(ie.ArrayBuffer.prototype.slice);me.arraybuffer=me.fetch||oe&&ne("arraybuffer"),me.msstream=!me.fetch&&he&&ne("ms-stream"),me.mozchunkedarraybuffer=!me.fetch&&oe&&ne("moz-chunked-arraybuffer"),me.overrideMimeType=me.fetch||(ae()?re(ae().overrideMimeType):!1),me.vbArray=re(ie.VBArray);function re(se){return typeof se=="function"}te=null}).call(this)}).call(this,typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(x,Te,me){(function(ie,te,ae){(function(){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.regexp.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.array.map.js"),x("core-js/modules/es.function.name.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.split.js");var ne=x("./capability"),oe=x("inherits"),he=x("./response"),re=x("readable-stream"),se=x("to-arraybuffer"),ce=he.IncomingMessage,fe=he.readyStates;function pe(ge,Me){return ne.fetch&&Me?"fetch":ne.mozchunkedarraybuffer?"moz-chunked-arraybuffer":ne.msstream?"ms-stream":ne.arraybuffer&&ge?"arraybuffer":ne.vbArray&&ge?"text:vbarray":"text"}var le=Te.exports=function(ge){var Me=this;re.Writable.call(Me),Me._opts=ge,Me._body=[],Me._headers={},ge.auth&&Me.setHeader("Authorization","Basic "+new ae(ge.auth).toString("base64")),Object.keys(ge.headers).forEach(function(Fe){Me.setHeader(Fe,ge.headers[Fe])});var ye,be=!0;if(ge.mode==="disable-fetch"||"requestTimeout"in ge&&!ne.abortController)be=!1,ye=!0;else if(ge.mode==="prefer-streaming")ye=!1;else if(ge.mode==="allow-wrong-content-type")ye=!ne.overrideMimeType;else if(!ge.mode||ge.mode==="default"||ge.mode==="prefer-fast")ye=!0;else throw new Error("Invalid value for opts.mode");Me._mode=pe(ye,be),Me._fetchTimer=null,Me.on("finish",function(){Me._onFinish()})};oe(le,re.Writable),le.prototype.setHeader=function(ge,Me){var ye=this,be=ge.toLowerCase();xe.indexOf(be)===-1&&(ye._headers[be]={name:ge,value:Me})},le.prototype.getHeader=function(ge){var Me=this._headers[ge.toLowerCase()];return Me?Me.value:null},le.prototype.removeHeader=function(ge){var Me=this;delete Me._headers[ge.toLowerCase()]},le.prototype._onFinish=function(){var ge=this;if(!ge._destroyed){var Me=ge._opts,ye=ge._headers,be=null;Me.method!=="GET"&&Me.method!=="HEAD"&&(ne.arraybuffer?be=se(ae.concat(ge._body)):ne.blobConstructor?be=new te.Blob(ge._body.map(function(Be){return se(Be)}),{type:(ye["content-type"]||{}).value||""}):be=ae.concat(ge._body).toString());var Fe=[];if(Object.keys(ye).forEach(function(Be){var Ue=ye[Be].name,_e=ye[Be].value;Array.isArray(_e)?_e.forEach(function(We){Fe.push([Ue,We])}):Fe.push([Ue,_e])}),ge._mode==="fetch"){var ke=null,Ie=null;if(ne.abortController){var Le=new AbortController;ke=Le.signal,ge._fetchAbortController=Le,"requestTimeout"in Me&&Me.requestTimeout!==0&&(ge._fetchTimer=te.setTimeout(function(){ge.emit("requestTimeout"),ge._fetchAbortController&&ge._fetchAbortController.abort()},Me.requestTimeout))}te.fetch(ge._opts.url,{method:ge._opts.method,headers:Fe,body:be||void 0,mode:"cors",credentials:Me.withCredentials?"include":"same-origin",signal:ke}).then(function(Be){ge._fetchResponse=Be,ge._connect()},function(Be){te.clearTimeout(ge._fetchTimer),ge._destroyed||ge.emit("error",Be)})}else{var De=ge._xhr=new te.XMLHttpRequest;try{De.open(ge._opts.method,ge._opts.url,!0)}catch(Be){ie.nextTick(function(){ge.emit("error",Be)});return}"responseType"in De&&(De.responseType=ge._mode.split(":")[0]),"withCredentials"in De&&(De.withCredentials=!!Me.withCredentials),ge._mode==="text"&&"overrideMimeType"in De&&De.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in Me&&(De.timeout=Me.requestTimeout,De.ontimeout=function(){ge.emit("requestTimeout")}),Fe.forEach(function(Be){De.setRequestHeader(Be[0],Be[1])}),ge._response=null,De.onreadystatechange=function(){switch(De.readyState){case fe.LOADING:case fe.DONE:ge._onXHRProgress();break}},ge._mode==="moz-chunked-arraybuffer"&&(De.onprogress=function(){ge._onXHRProgress()}),De.onerror=function(){ge._destroyed||ge.emit("error",new Error("XHR error"))};try{De.send(be)}catch(Be){ie.nextTick(function(){ge.emit("error",Be)});return}}}};function Se(ge){try{var Me=ge.status;return Me!==null&&Me!==0}catch(ye){return!1}}le.prototype._onXHRProgress=function(){var ge=this;!Se(ge._xhr)||ge._destroyed||(ge._response||ge._connect(),ge._response._onXHRProgress())},le.prototype._connect=function(){var ge=this;ge._destroyed||(ge._response=new ce(ge._xhr,ge._fetchResponse,ge._mode,ge._fetchTimer),ge._response.on("error",function(Me){ge.emit("error",Me)}),ge.emit("response",ge._response))},le.prototype._write=function(ge,Me,ye){var be=this;be._body.push(ge),ye()},le.prototype.abort=le.prototype.destroy=function(){var ge=this;ge._destroyed=!0,te.clearTimeout(ge._fetchTimer),ge._response&&(ge._response._destroyed=!0),ge._xhr?ge._xhr.abort():ge._fetchAbortController&&ge._fetchAbortController.abort()},le.prototype.end=function(ge,Me,ye){var be=this;typeof ge=="function"&&(ye=ge,ge=void 0),re.Writable.prototype.end.call(be,ge,Me,ye)},le.prototype.flushHeaders=function(){},le.prototype.setTimeout=function(){},le.prototype.setNoDelay=function(){},le.prototype.setSocketKeepAlive=function(){};var xe=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,x("_process"),typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},x("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(x,Te,me){(function(ie,te,ae){(function(){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/web.dom-collections.for-each.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.split.js"),x("core-js/modules/es.string.match.js"),x("core-js/modules/es.array.iterator.js"),x("core-js/modules/es.array-buffer.slice.js"),x("core-js/modules/es.typed-array.uint8-array.js"),x("core-js/modules/es.typed-array.copy-within.js"),x("core-js/modules/es.typed-array.every.js"),x("core-js/modules/es.typed-array.fill.js"),x("core-js/modules/es.typed-array.filter.js"),x("core-js/modules/es.typed-array.find.js"),x("core-js/modules/es.typed-array.find-index.js"),x("core-js/modules/es.typed-array.for-each.js"),x("core-js/modules/es.typed-array.includes.js"),x("core-js/modules/es.typed-array.index-of.js"),x("core-js/modules/es.typed-array.iterator.js"),x("core-js/modules/es.typed-array.join.js"),x("core-js/modules/es.typed-array.last-index-of.js"),x("core-js/modules/es.typed-array.map.js"),x("core-js/modules/es.typed-array.reduce.js"),x("core-js/modules/es.typed-array.reduce-right.js"),x("core-js/modules/es.typed-array.reverse.js"),x("core-js/modules/es.typed-array.set.js"),x("core-js/modules/es.typed-array.slice.js"),x("core-js/modules/es.typed-array.some.js"),x("core-js/modules/es.typed-array.sort.js"),x("core-js/modules/es.typed-array.subarray.js"),x("core-js/modules/es.typed-array.to-locale-string.js"),x("core-js/modules/es.typed-array.to-string.js"),x("core-js/modules/es.array.slice.js");var ne=x("./capability"),oe=x("inherits"),he=x("readable-stream"),re=me.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},se=me.IncomingMessage=function(ce,fe,pe,le){var Se=this;if(he.Readable.call(Se),Se._mode=pe,Se.headers={},Se.rawHeaders=[],Se.trailers={},Se.rawTrailers=[],Se.on("end",function(){ie.nextTick(function(){Se.emit("close")})}),pe==="fetch"){var xe=function ke(){Me.read().then(function(Ie){if(!Se._destroyed){if(Ie.done){te.clearTimeout(le),Se.push(null);return}Se.push(new ae(Ie.value)),ke()}}).catch(function(Ie){te.clearTimeout(le),Se._destroyed||Se.emit("error",Ie)})};if(Se._fetchResponse=fe,Se.url=fe.url,Se.statusCode=fe.status,Se.statusMessage=fe.statusText,fe.headers.forEach(function(ke,Ie){Se.headers[Ie.toLowerCase()]=ke,Se.rawHeaders.push(Ie,ke)}),ne.writableStream){var ge=new WritableStream({write:function(Ie){return new Promise(function(Le,De){Se._destroyed?De():Se.push(new ae(Ie))?Le():Se._resumeFetch=Le})},close:function(){te.clearTimeout(le),Se._destroyed||Se.push(null)},abort:function(Ie){Se._destroyed||Se.emit("error",Ie)}});try{fe.body.pipeTo(ge).catch(function(ke){te.clearTimeout(le),Se._destroyed||Se.emit("error",ke)});return}catch(ke){}}var Me=fe.body.getReader();xe()}else{Se._xhr=ce,Se._pos=0,Se.url=ce.responseURL,Se.statusCode=ce.status,Se.statusMessage=ce.statusText;var ye=ce.getAllResponseHeaders().split(/\r?\n/);if(ye.forEach(function(ke){var Ie=ke.match(/^([^:]+):\s*(.*)/);if(Ie){var Le=Ie[1].toLowerCase();Le==="set-cookie"?(Se.headers[Le]===void 0&&(Se.headers[Le]=[]),Se.headers[Le].push(Ie[2])):Se.headers[Le]!==void 0?Se.headers[Le]+=", "+Ie[2]:Se.headers[Le]=Ie[2],Se.rawHeaders.push(Ie[1],Ie[2])}}),Se._charset="x-user-defined",!ne.overrideMimeType){var be=Se.rawHeaders["mime-type"];if(be){var Fe=be.match(/;\s*charset=([^;])(;|$)/);Fe&&(Se._charset=Fe[1].toLowerCase())}Se._charset||(Se._charset="utf-8")}}};oe(se,he.Readable),se.prototype._read=function(){var ce=this,fe=ce._resumeFetch;fe&&(ce._resumeFetch=null,fe())},se.prototype._onXHRProgress=function(){var ce=this,fe=ce._xhr,pe=null;switch(ce._mode){case"text:vbarray":if(fe.readyState!==re.DONE)break;try{pe=new te.VBArray(fe.responseBody).toArray()}catch(Me){}if(pe!==null){ce.push(new ae(pe));break}case"text":try{pe=fe.responseText}catch(Me){ce._mode="text:vbarray";break}if(pe.length>ce._pos){var le=pe.substr(ce._pos);if(ce._charset==="x-user-defined"){for(var Se=new ae(le.length),xe=0;xe<le.length;xe++)Se[xe]=le.charCodeAt(xe)&255;ce.push(Se)}else ce.push(le,ce._charset);ce._pos=pe.length}break;case"arraybuffer":if(fe.readyState!==re.DONE||!fe.response)break;pe=fe.response,ce.push(new ae(new Uint8Array(pe)));break;case"moz-chunked-arraybuffer":if(pe=fe.response,fe.readyState!==re.LOADING||!pe)break;ce.push(new ae(new Uint8Array(pe)));break;case"ms-stream":if(pe=fe.response,fe.readyState!==re.LOADING)break;var ge=new te.MSStreamReader;ge.onprogress=function(){ge.result.byteLength>ce._pos&&(ce.push(new ae(new Uint8Array(ge.result.slice(ce._pos)))),ce._pos=ge.result.byteLength)},ge.onload=function(){ce.push(null)},ge.readAsArrayBuffer(pe);break}ce._xhr.readyState===re.DONE&&ce._mode!=="ms-stream"&&ce.push(null)}}).call(this)}).call(this,x("_process"),typeof Kt!="undefined"?Kt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},x("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/helpers/typeof"));x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.search.js"),x("core-js/modules/es.array.concat.js"),x("core-js/modules/es.string.split.js"),x("core-js/modules/es.string.replace.js"),x("core-js/modules/es.array.join.js"),x("core-js/modules/es.string.trim.js"),x("core-js/modules/es.string.match.js"),x("core-js/modules/es.array.slice.js"),x("core-js/modules/es.object.keys.js"),x("core-js/modules/es.array.splice.js");var ae=x("punycode"),ne=x("./util");me.parse=Ie,me.resolve=De,me.resolveObject=Be,me.format=Le,me.Url=oe;function oe(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var he=/^([a-z0-9.+-]+:)/i,re=/:[0-9]*$/,se=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ce=["<",">",'"',"`"," ","\r",`
`," "],fe=["{","}","|","\\","^","`"].concat(ce),pe=["'"].concat(fe),le=["%","/","?",";","#"].concat(pe),Se=["/","?","#"],xe=255,ge=/^[+a-z0-9A-Z_-]{0,63}$/,Me=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ye={javascript:!0,"javascript:":!0},be={javascript:!0,"javascript:":!0},Fe={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},ke=x("querystring");function Ie(Ue,_e,We){if(Ue&&ne.isObject(Ue)&&Ue instanceof oe)return Ue;var Ze=new oe;return Ze.parse(Ue,_e,We),Ze}oe.prototype.parse=function(Ue,_e,We){if(!ne.isString(Ue))throw new TypeError("Parameter 'url' must be a string, not "+(0,te.default)(Ue));var Ze=Ue.indexOf("?"),et=Ze!==-1&&Ze<Ue.indexOf("#")?"?":"#",at=Ue.split(et),pt=/\\/g;at[0]=at[0].replace(pt,"/"),Ue=at.join(et);var Xe=Ue;if(Xe=Xe.trim(),!We&&Ue.split("#").length===1){var Ge=se.exec(Xe);if(Ge)return this.path=Xe,this.href=Xe,this.pathname=Ge[1],Ge[2]?(this.search=Ge[2],_e?this.query=ke.parse(this.search.substr(1)):this.query=this.search.substr(1)):_e&&(this.search="",this.query={}),this}var lt=he.exec(Xe);if(lt){lt=lt[0];var dt=lt.toLowerCase();this.protocol=dt,Xe=Xe.substr(lt.length)}if(We||lt||Xe.match(/^\/\/[^@\/]+@[^@\/]+/)){var st=Xe.substr(0,2)==="//";st&&!(lt&&be[lt])&&(Xe=Xe.substr(2),this.slashes=!0)}if(!be[lt]&&(st||lt&&!Fe[lt])){for(var nt=-1,rt=0;rt<Se.length;rt++){var it=Xe.indexOf(Se[rt]);it!==-1&&(nt===-1||it<nt)&&(nt=it)}var gt,vt;nt===-1?vt=Xe.lastIndexOf("@"):vt=Xe.lastIndexOf("@",nt),vt!==-1&&(gt=Xe.slice(0,vt),Xe=Xe.slice(vt+1),this.auth=decodeURIComponent(gt)),nt=-1;for(var rt=0;rt<le.length;rt++){var it=Xe.indexOf(le[rt]);it!==-1&&(nt===-1||it<nt)&&(nt=it)}nt===-1&&(nt=Xe.length),this.host=Xe.slice(0,nt),Xe=Xe.slice(nt),this.parseHost(),this.hostname=this.hostname||"";var At=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!At)for(var Et=this.hostname.split("."),rt=0,ut=Et.length;rt<ut;rt++){var Ye=Et[rt];if(Ye&&!Ye.match(ge)){for(var Ve="",de=0,Ce=Ye.length;de<Ce;de++)Ye.charCodeAt(de)>127?Ve+="x":Ve+=Ye[de];if(!Ve.match(ge)){var He=Et.slice(0,rt),je=Et.slice(rt+1),Ae=Ye.match(Me);Ae&&(He.push(Ae[1]),je.unshift(Ae[2])),je.length&&(Xe="/"+je.join(".")+Xe),this.hostname=He.join(".");break}}}this.hostname.length>xe?this.hostname="":this.hostname=this.hostname.toLowerCase(),At||(this.hostname=ae.toASCII(this.hostname));var Re=this.port?":"+this.port:"",ze=this.hostname||"";this.host=ze+Re,this.href+=this.host,At&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Xe[0]!=="/"&&(Xe="/"+Xe))}if(!ye[dt])for(var rt=0,ut=pe.length;rt<ut;rt++){var Qe=pe[rt];if(Xe.indexOf(Qe)!==-1){var ot=encodeURIComponent(Qe);ot===Qe&&(ot=escape(Qe)),Xe=Xe.split(Qe).join(ot)}}var mt=Xe.indexOf("#");mt!==-1&&(this.hash=Xe.substr(mt),Xe=Xe.slice(0,mt));var Ot=Xe.indexOf("?");if(Ot!==-1?(this.search=Xe.substr(Ot),this.query=Xe.substr(Ot+1),_e&&(this.query=ke.parse(this.query)),Xe=Xe.slice(0,Ot)):_e&&(this.search="",this.query={}),Xe&&(this.pathname=Xe),Fe[dt]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Re=this.pathname||"",xt=this.search||"";this.path=Re+xt}return this.href=this.format(),this};function Le(Ue){return ne.isString(Ue)&&(Ue=Ie(Ue)),Ue instanceof oe?Ue.format():oe.prototype.format.call(Ue)}oe.prototype.format=function(){var Ue=this.auth||"";Ue&&(Ue=encodeURIComponent(Ue),Ue=Ue.replace(/%3A/i,":"),Ue+="@");var _e=this.protocol||"",We=this.pathname||"",Ze=this.hash||"",et=!1,at="";this.host?et=Ue+this.host:this.hostname&&(et=Ue+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(et+=":"+this.port)),this.query&&ne.isObject(this.query)&&Object.keys(this.query).length&&(at=ke.stringify(this.query));var pt=this.search||at&&"?"+at||"";return _e&&_e.substr(-1)!==":"&&(_e+=":"),this.slashes||(!_e||Fe[_e])&&et!==!1?(et="//"+(et||""),We&&We.charAt(0)!=="/"&&(We="/"+We)):et||(et=""),Ze&&Ze.charAt(0)!=="#"&&(Ze="#"+Ze),pt&&pt.charAt(0)!=="?"&&(pt="?"+pt),We=We.replace(/[?#]/g,function(Xe){return encodeURIComponent(Xe)}),pt=pt.replace("#","%23"),_e+et+We+pt+Ze};function De(Ue,_e){return Ie(Ue,!1,!0).resolve(_e)}oe.prototype.resolve=function(Ue){return this.resolveObject(Ie(Ue,!1,!0)).format()};function Be(Ue,_e){return Ue?Ie(Ue,!1,!0).resolveObject(_e):_e}oe.prototype.resolveObject=function(Ue){if(ne.isString(Ue)){var _e=new oe;_e.parse(Ue,!1,!0),Ue=_e}for(var We=new oe,Ze=Object.keys(this),et=0;et<Ze.length;et++){var at=Ze[et];We[at]=this[at]}if(We.hash=Ue.hash,Ue.href==="")return We.href=We.format(),We;if(Ue.slashes&&!Ue.protocol){for(var pt=Object.keys(Ue),Xe=0;Xe<pt.length;Xe++){var Ge=pt[Xe];Ge!=="protocol"&&(We[Ge]=Ue[Ge])}return Fe[We.protocol]&&We.hostname&&!We.pathname&&(We.path=We.pathname="/"),We.href=We.format(),We}if(Ue.protocol&&Ue.protocol!==We.protocol){if(!Fe[Ue.protocol]){for(var lt=Object.keys(Ue),dt=0;dt<lt.length;dt++){var st=lt[dt];We[st]=Ue[st]}return We.href=We.format(),We}if(We.protocol=Ue.protocol,!Ue.host&&!be[Ue.protocol]){for(var ut=(Ue.pathname||"").split("/");ut.length&&!(Ue.host=ut.shift()););Ue.host||(Ue.host=""),Ue.hostname||(Ue.hostname=""),ut[0]!==""&&ut.unshift(""),ut.length<2&&ut.unshift(""),We.pathname=ut.join("/")}else We.pathname=Ue.pathname;if(We.search=Ue.search,We.query=Ue.query,We.host=Ue.host||"",We.auth=Ue.auth,We.hostname=Ue.hostname||Ue.host,We.port=Ue.port,We.pathname||We.search){var nt=We.pathname||"",rt=We.search||"";We.path=nt+rt}return We.slashes=We.slashes||Ue.slashes,We.href=We.format(),We}var it=We.pathname&&We.pathname.charAt(0)==="/",gt=Ue.host||Ue.pathname&&Ue.pathname.charAt(0)==="/",vt=gt||it||We.host&&Ue.pathname,At=vt,Et=We.pathname&&We.pathname.split("/")||[],ut=Ue.pathname&&Ue.pathname.split("/")||[],Ye=We.protocol&&!Fe[We.protocol];if(Ye&&(We.hostname="",We.port=null,We.host&&(Et[0]===""?Et[0]=We.host:Et.unshift(We.host)),We.host="",Ue.protocol&&(Ue.hostname=null,Ue.port=null,Ue.host&&(ut[0]===""?ut[0]=Ue.host:ut.unshift(Ue.host)),Ue.host=null),vt=vt&&(ut[0]===""||Et[0]==="")),gt)We.host=Ue.host||Ue.host===""?Ue.host:We.host,We.hostname=Ue.hostname||Ue.hostname===""?Ue.hostname:We.hostname,We.search=Ue.search,We.query=Ue.query,Et=ut;else if(ut.length)Et||(Et=[]),Et.pop(),Et=Et.concat(ut),We.search=Ue.search,We.query=Ue.query;else if(!ne.isNullOrUndefined(Ue.search)){if(Ye){We.hostname=We.host=Et.shift();var Ve=We.host&&We.host.indexOf("@")>0?We.host.split("@"):!1;Ve&&(We.auth=Ve.shift(),We.host=We.hostname=Ve.shift())}return We.search=Ue.search,We.query=Ue.query,(!ne.isNull(We.pathname)||!ne.isNull(We.search))&&(We.path=(We.pathname?We.pathname:"")+(We.search?We.search:"")),We.href=We.format(),We}if(!Et.length)return We.pathname=null,We.search?We.path="/"+We.search:We.path=null,We.href=We.format(),We;for(var de=Et.slice(-1)[0],Ce=(We.host||Ue.host||Et.length>1)&&(de==="."||de==="..")||de==="",He=0,je=Et.length;je>=0;je--)de=Et[je],de==="."?Et.splice(je,1):de===".."?(Et.splice(je,1),He++):He&&(Et.splice(je,1),He--);if(!vt&&!At)for(;He--;He)Et.unshift("..");vt&&Et[0]!==""&&(!Et[0]||Et[0].charAt(0)!=="/")&&Et.unshift(""),Ce&&Et.join("/").substr(-1)!=="/"&&Et.push("");var Ae=Et[0]===""||Et[0]&&Et[0].charAt(0)==="/";if(Ye){We.hostname=We.host=Ae?"":Et.length?Et.shift():"";var Ve=We.host&&We.host.indexOf("@")>0?We.host.split("@"):!1;Ve&&(We.auth=Ve.shift(),We.host=We.hostname=Ve.shift())}return vt=vt||We.host&&Et.length,vt&&!Ae&&Et.unshift(""),Et.length?We.pathname=Et.join("/"):(We.pathname=null,We.path=null),(!ne.isNull(We.pathname)||!ne.isNull(We.search))&&(We.path=(We.pathname?We.pathname:"")+(We.search?We.search:"")),We.auth=Ue.auth||We.auth,We.slashes=We.slashes||Ue.slashes,We.href=We.format(),We},oe.prototype.parseHost=function(){var Ue=this.host,_e=re.exec(Ue);_e&&(_e=_e[0],_e!==":"&&(this.port=_e.substr(1)),Ue=Ue.substr(0,Ue.length-_e.length)),Ue&&(this.hostname=Ue)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(x,Te,me){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),te=ie(x("@babel/runtime/helpers/typeof"));Te.exports={isString:function(ne){return typeof ne=="string"},isObject:function(ne){return(0,te.default)(ne)==="object"&&ne!==null},isNull:function(ne){return ne===null},isNullOrUndefined:function(ne){return ne==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(x,Te,me){"use strict";x("core-js/modules/es.number.constructor.js"),me.encodeURIComponent=function(ie){try{return encodeURIComponent(ie)}catch(te){return ie}},me.escape=x("escape-html"),me.timestamp=function(te){if(te){var ae=te;return typeof ae=="string"&&(ae=Number(ae)),String(te).length===10&&(ae*=1e3),new Date(ae)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(x,Te,me){(function(ie,te){(function(){"use strict";var ae=x("@babel/runtime/helpers/interopRequireDefault"),ne=ae(x("@babel/runtime/helpers/typeof"));x("core-js/modules/es.string.trim.js"),x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.split.js"),x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),x("core-js/modules/es.function.name.js"),x("core-js/modules/es.array.concat.js");var oe=x("util"),he=x("url"),re=x("http"),se=x("https"),ce=x("debug")("urllib"),fe=x("humanize-ms"),pe=0,le=Math.pow(2,31)-10,Se=/^https?:\/\//i;function xe(be,Fe){return be===void 0?Fe:be}function ge(be){return be?be.split(";")[0].trim().toLowerCase():""}function Me(be,Fe){return function(ke,Ie,Le){if(ke)return Fe(ke);be({data:Ie,status:Le.statusCode,headers:Le.headers,res:Le})}}me.TIMEOUTS=[fe("300s"),fe("300s")];var ye=["json","text"];me.request=function(Fe,ke,Ie){return arguments.length===2&&typeof ke=="function"&&(Ie=ke,ke=null),typeof Ie=="function"?me.requestWithCallback(Fe,ke,Ie):new Promise(function(Le,De){me.requestWithCallback(Fe,ke,Me(Le,De))})},me.requestWithCallback=function(Fe,ke,Ie){if(!Fe||typeof Fe!="string"&&(0,ne.default)(Fe)!=="object"){var Le=oe.format("expect request url to be a string or a http request options, but got %j",Fe);throw new Error(Le)}arguments.length===2&&typeof ke=="function"&&(Ie=ke,ke=null),ke=ke||{},pe>=le&&(pe=0);var De=++pe;ke.requestUrls=ke.requestUrls||[];var Be={requestId:De,url:Fe,args:ke,ctx:ke.ctx};ke.emitter&&ke.emitter.emit("request",Be),ke.timeout=ke.timeout||me.TIMEOUTS,ke.maxRedirects=ke.maxRedirects||10,ke.streaming=ke.streaming||ke.customResponse;var Ue=Date.now(),_e;typeof Fe=="string"?(Se.test(Fe)||(Fe="https://"+Fe),_e=he.parse(Fe)):_e=Fe;var We=(ke.type||ke.method||_e.method||"GET").toUpperCase(),Ze=_e.port||80,et=re,at=xe(ke.agent,me.agent),pt=ke.fixJSONCtlChars;_e.protocol==="https:"&&(et=se,at=xe(ke.httpsAgent,me.httpsAgent),_e.port||(Ze=443));var Xe={host:_e.hostname||_e.host||"localhost",path:_e.path||"/",method:We,port:Ze,agent:at,headers:ke.headers||{},lookup:ke.lookup};Array.isArray(ke.timeout)?Xe.requestTimeout=ke.timeout[ke.timeout.length-1]:typeof ke.timeout!="undefined"&&(Xe.requestTimeout=ke.timeout);var Ge=ke.auth||_e.auth;Ge&&(Xe.auth=Ge);var lt=ke.content||ke.data,dt=We==="GET"||We==="HEAD"||ke.dataAsQueryString;if(!ke.content&&lt&&!(typeof lt=="string"||te.isBuffer(lt)))if(dt)lt=ke.nestedQuerystring?qs.stringify(lt):querystring.stringify(lt);else{var st=Xe.headers["Content-Type"]||Xe.headers["content-type"];st||(ke.contentType==="json"?st="application/json":st="application/x-www-form-urlencoded",Xe.headers["Content-Type"]=st),ge(st)==="application/json"?lt=JSON.stringify(lt):lt=ke.nestedQuerystring?qs.stringify(lt):querystring.stringify(lt)}dt&&lt&&(Xe.path+=(_e.query?"&":"?")+lt,lt=null);var nt=0;if(lt){var rt=lt.length;te.isBuffer(lt)||(rt=te.byteLength(lt)),nt=Xe.headers["Content-Length"]=rt}ke.dataType==="json"&&(Xe.headers.Accept="application/json"),typeof ke.beforeRequest=="function"&&ke.beforeRequest(Xe);var it=null,gt=null,vt=null,At=!1,Et=!1,ut=0,Ye=-1,Ve=!1,de="",Ce="",He=null;ke.timing&&(He={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function je(){it&&(clearTimeout(it),it=null)}function Ae(){gt&&(clearTimeout(gt),gt=null)}function Re(Vt,yn,Pt){if(Ae(),!Ie){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),De,ie.pid,Xe.method,Fe),Vt&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),De,ie.pid,Vt.name,Vt.message,Vt.stack);return}var zt=Ie;Ie=null;var an={};Pt&&(Ye=Pt.statusCode,an=Pt.headers);var gn=Date.now()-Ue;He&&(He.contentDownload=gn),ce("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",gn,ut,Ye,Xe.method,Xe.host,Xe.path,Et,He);var Tn={status:Ye,statusCode:Ye,headers:an,size:ut,aborted:Ve,rt:gn,keepAliveSocket:Et,data:yn,requestUrls:ke.requestUrls,timing:He,remoteAddress:de,remotePort:Ce};if(Vt){var Gn="";at&&typeof at.getCurrentStatus=="function"&&(Gn=", agent status: "+JSON.stringify(at.getCurrentStatus())),Vt.message+=", "+Xe.method+" "+Fe+" "+Ye+" (connected: "+At+", keepalive socket: "+Et+Gn+`)
headers: `+JSON.stringify(an),Vt.data=yn,Vt.path=Xe.path,Vt.status=Ye,Vt.headers=an,Vt.res=Tn}zt(Vt,yn,ke.streaming?Pt:Tn),ke.emitter&&(Be.url=Fe,Be.socket=Ft&&Ft.connection,Be.options=Xe,Be.size=nt,ke.emitter.emit("response",{requestId:De,error:Vt,ctx:ke.ctx,req:Be,res:Tn}))}function ze(Vt){var yn=null;if(ke.followRedirect&&statuses.redirect[Vt.statusCode]){ke._followRedirectCount=(ke._followRedirectCount||0)+1;var Pt=Vt.headers.location;if(!Pt)yn=new Error("Got statusCode "+Vt.statusCode+" but cannot resolve next location from headers"),yn.name="FollowRedirectError";else if(ke._followRedirectCount>ke.maxRedirects)yn=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+Fe),yn.name="MaxRedirectError";else{var zt=ke.formatRedirectUrl?ke.formatRedirectUrl(Fe,Pt):he.resolve(Fe,Pt);ce("Request#%d %s: `redirected` from %s to %s",De,Xe.path,Fe,zt),Ae(),ke.headers&&ke.headers.Host&&Se.test(Pt)&&(ke.headers.Host=null);var an=Ie;return Ie=null,me.requestWithCallback(zt,ke,an),{redirect:!0,error:null}}}return{redirect:!1,error:yn}}ke.gzip&&!Xe.headers["Accept-Encoding"]&&!Xe.headers["accept-encoding"]&&(Xe.headers["Accept-Encoding"]="gzip");function Qe(Vt,yn,Pt){var zt=Vt.headers["content-encoding"];return Pt(null,yn,zt)}var ot=ke.writeStream;ce("Request#%d %s %s with headers %j, options.path: %s",De,We,Fe,Xe.headers,Xe.path),ke.requestUrls.push(Fe);function mt(Vt){if(He&&(He.waiting=Date.now()-Ue),ce("Request#%d %s `req response` event emit: status %d, headers: %j",De,Fe,Vt.statusCode,Vt.headers),ke.streaming){var yn=ze(Vt);if(yn.redirect){Vt.resume();return}return yn.error?(Vt.resume(),Re(yn.error,null,Vt)):Re(null,null,Vt)}if(Vt.on("close",function(){ce("Request#%d %s: `res close` event emit, total size %d",De,Fe,ut)}),Vt.on("error",function(){ce("Request#%d %s: `res error` event emit, total size %d",De,Fe,ut)}),Vt.on("aborted",function(){Ve=!0,ce("Request#%d %s: `res aborted` event emit, total size %d",De,Fe,ut)}),ot){var Pt=ze(Vt);if(Pt.redirect){Vt.resume();return}return Pt.error?(Vt.resume(),ot.end(),Re(Pt.error,null,Vt)):(ke.consumeWriteStream===!1?Vt.on("end",Re.bind(null,null,null,Vt)):ot.on("close",function(){ce("Request#%d %s: writeStream close event emitted",De,Fe),Re(vt||null,null,Vt)}),Vt.pipe(ot))}var zt=[];Vt.on("data",function(an){ce("Request#%d %s: `res data` event emit, size %d",De,Fe,an.length),ut+=an.length,zt.push(an)}),Vt.on("end",function(){var an=te.concat(zt,ut);if(ce("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",De,Fe,ut,Vt._dumped),vt)return Re(vt,an,Vt);var gn=ze(Vt);if(gn.error)return Re(gn.error,an,Vt);gn.redirect||Qe(Vt,an,function(Tn,Gn,fr){if(Tn)return Re(Tn,an,Vt);if(!fr&&ye.indexOf(ke.dataType)>=0){try{Gn=decodeBodyByCharset(Gn,Vt)}catch(Wr){return ce("decodeBodyByCharset error: %s",Wr),Re(null,Gn,Vt)}if(ke.dataType==="json")if(ut===0)Gn=null;else{var Tr=parseJSON(Gn,pt);Tr.error?Tn=Tr.error:Gn=Tr.data}}Ve&&ce("Request#%d %s: Remote socket was terminated before `response.end()` was called",De,Fe),Re(Tn,Gn,Vt)})})}var Ot,xt;Array.isArray(ke.timeout)?(Ot=fe(ke.timeout[0]),xt=fe(ke.timeout[1])):Ot=xt=fe(ke.timeout),ce("ConnectTimeout: %d, ResponseTimeout: %d",Ot,xt);function Wt(){ce("Connect timer ticking, timeout: %d",Ot),it=setTimeout(function(){it=null,Ye===-1&&(Ye=-2);var Vt="Connect timeout for "+Ot+"ms",yn="ConnectionTimeoutError";Ft.socket||(yn="SocketAssignTimeoutError",Vt+=", working sockets is full"),vt=new Error(Vt),vt.name=yn,vt.requestId=De,ce("ConnectTimeout: Request#%d %s %s: %s, connected: %s",De,Fe,vt.name,Vt,At),Qt()},Ot)}function bn(){ce("Response timer ticking, timeout: %d",xt),gt=setTimeout(function(){gt=null;var Vt="Response timeout for "+xt+"ms",yn="ResponseTimeoutError";vt=new Error(Vt),vt.name=yn,vt.requestId=De,ce("ResponseTimeout: Request#%d %s %s: %s, connected: %s",De,Fe,vt.name,Vt,At),Qt()},xt)}var Ft;Xe.mode=ke.mode?ke.mode:"";try{Ft=et.request(Xe,mt)}catch(Vt){return Re(Vt)}typeof window=="undefined"?Wt():Ft.on("requestTimeout",function(){Ye===-1&&(Ye=-2);var Vt="Connect timeout for "+Ot+"ms",yn="ConnectionTimeoutError";vt=new Error(Vt),vt.name=yn,vt.requestId=De,Qt()});function Qt(){ce("Request#%d %s abort, connected: %s",De,Fe,At),Ft.socket||(vt.noSocket=!0,Re(vt)),Ft.abort()}return He&&Ft.on("finish",function(){He.requestSent=Date.now()-Ue}),Ft.once("socket",function(Vt){He&&(He.queuing=Date.now()-Ue);var yn=Vt.readyState;if(yn==="opening"){Vt.once("lookup",function(Pt,zt,an){ce("Request#%d %s lookup: %s, %s, %s",De,Fe,Pt,zt,an),He&&(He.dnslookup=Date.now()-Ue),zt&&(de=zt)}),Vt.once("connect",function(){He&&(He.connected=Date.now()-Ue),je(),bn(),ce("Request#%d %s new socket connected",De,Fe),At=!0,de||(de=Vt.remoteAddress),Ce=Vt.remotePort});return}ce("Request#%d %s reuse socket connected, readyState: %s",De,Fe,yn),At=!0,Et=!0,de||(de=Vt.remoteAddress),Ce=Vt.remotePort,je(),bn()}),Ft.on("error",function(Vt){(Vt.name==="Error"||Vt.name==="TypeError")&&(Vt.name=At?"ResponseError":"RequestError"),Vt.message+=' (req "error")',ce("Request#%d %s `req error` event emit, %s: %s",De,Fe,Vt.name,Vt.message),Re(vt||Vt)}),ot&&ot.once("error",function(Vt){Vt.message+=' (writeStream "error")',vt=Vt,ce("Request#%d %s `writeStream error` event emit, %s: %s",De,Fe,Vt.name,Vt.message),Qt()}),ke.stream?(ke.stream.pipe(Ft),ke.stream.once("error",function(Vt){Vt.message+=' (stream "error")',vt=Vt,ce("Request#%d %s `readStream error` event emit, %s: %s",De,Fe,Vt.name,Vt.message),Qt()})):Ft.end(lt),Ft.requestId=De,Ft}}).call(this)}).call(this,x("_process"),x("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,debug:465,http:468,https:355,"humanize-ms":356,url:472,util:419}]},{},[1])(1)})})(window)},81643:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Oe}});const Oe=$e=>$e?typeof $e=="function"?$e():$e:null},57838:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return $e}});var Oe=ve(67294);function $e(){const[,x]=Oe.useReducer(Te=>Te+1,0);return x}},9708:function(tn,Kt,ve){"use strict";ve.d(Kt,{F:function(){return me},Z:function(){return Te}});var Oe=ve(94184),$e=ve.n(Oe);const x=null;function Te(ie,te,ae){return $e()({[`${ie}-status-success`]:te==="success",[`${ie}-status-warning`]:te==="warning",[`${ie}-status-error`]:te==="error",[`${ie}-status-validating`]:te==="validating",[`${ie}-has-feedback`]:ae})}const me=(ie,te)=>te||ie},85546:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return To}});var Oe=ve(74902),$e=ve(67294),x=ve(22751),Te=ve(3407),me=ve(91034),ie=ve(94184),te=ve.n(ie),ae=ve(87462),ne=ve(97685),oe=ve(45987),he=ve(4942),re=ve(1413),se=ve(71002);function ce(Ct){var Lt=$e.useRef();Lt.current=Ct;var dn=$e.useCallback(function(){for(var un,Un=arguments.length,Pn=new Array(Un),Mn=0;Mn<Un;Mn++)Pn[Mn]=arguments[Mn];return(un=Lt.current)===null||un===void 0?void 0:un.call.apply(un,[Lt].concat(Pn))},[]);return dn}function fe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var pe=fe()?$e.useLayoutEffect:$e.useEffect,le=pe,Se=function(Lt,dn){var un=$e.useRef(!0);pe(function(){if(!un.current)return Lt()},dn),pe(function(){return un.current=!1,function(){un.current=!0}},[])};function xe(Ct){var Lt=$e.useRef(!1),dn=$e.useState(Ct),un=(0,ne.Z)(dn,2),Un=un[0],Pn=un[1];$e.useEffect(function(){return Lt.current=!1,function(){Lt.current=!0}},[]);function Mn(nr,rr){rr&&Lt.current||Pn(nr)}return[Un,Mn]}function ge(Ct){return Ct!==void 0}function Me(Ct,Lt){var dn=Lt||{},un=dn.defaultValue,Un=dn.value,Pn=dn.onChange,Mn=dn.postState,nr=xe(function(){return ge(Un)?Un:ge(un)?typeof un=="function"?un():un:typeof Ct=="function"?Ct():Ct}),rr=(0,ne.Z)(nr,2),vr=rr[0],Jr=rr[1],zr=Un!==void 0?Un:vr,wi=Mn?Mn(zr):zr,Yr=ce(Pn),ci=xe([zr]),ei=(0,ne.Z)(ci,2),Ci=ei[0],Vi=ei[1];Se(function(){var ha=Ci[0];vr!==ha&&Yr(vr,ha)},[Ci]),Se(function(){ge(Un)||Jr(Un)},[Un]);var oa=ce(function(ha,ta){Jr(ha,ta),Vi([zr],ta)});return[wi,oa]}var ye={};function be(Ct,Lt){}function Fe(Ct,Lt){}function ke(){ye={}}function Ie(Ct,Lt,dn){!Lt&&!ye[dn]&&(Ct(!1,dn),ye[dn]=!0)}function Le(Ct,Lt){Ie(be,Ct,Lt)}function De(Ct,Lt){Ie(Fe,Ct,Lt)}var Be=Le,Ue=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Ct=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(Ct)||/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(Ct==null?void 0:Ct.substr(0,4))},_e={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(Lt){var dn=Lt.keyCode;if(Lt.altKey&&!Lt.ctrlKey||Lt.metaKey||dn>=_e.F1&&dn<=_e.F12)return!1;switch(dn){case _e.ALT:case _e.CAPS_LOCK:case _e.CONTEXT_MENU:case _e.CTRL:case _e.DOWN:case _e.END:case _e.ESC:case _e.HOME:case _e.INSERT:case _e.LEFT:case _e.MAC_FF_META:case _e.META:case _e.NUMLOCK:case _e.NUM_CENTER:case _e.PAGE_DOWN:case _e.PAGE_UP:case _e.PAUSE:case _e.PRINT_SCREEN:case _e.RIGHT:case _e.SHIFT:case _e.UP:case _e.WIN_KEY:case _e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Lt){if(Lt>=_e.ZERO&&Lt<=_e.NINE||Lt>=_e.NUM_ZERO&&Lt<=_e.NUM_MULTIPLY||Lt>=_e.A&&Lt<=_e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Lt===0)return!0;switch(Lt){case _e.SPACE:case _e.QUESTION_MARK:case _e.NUM_PLUS:case _e.NUM_MINUS:case _e.NUM_PERIOD:case _e.NUM_DIVISION:case _e.SEMICOLON:case _e.DASH:case _e.EQUALS:case _e.COMMA:case _e.PERIOD:case _e.SLASH:case _e.APOSTROPHE:case _e.SINGLE_QUOTE:case _e.OPEN_SQUARE_BRACKET:case _e.BACKSLASH:case _e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},We=_e,Ze=ve(16357);function et(Ct,Lt,dn){var un=$e.useRef({});return(!("value"in un.current)||dn(un.current.condition,Lt))&&(un.current.value=Ct(),un.current.condition=Lt),un.current.value}function at(Ct,Lt){typeof Ct=="function"?Ct(Lt):(0,se.Z)(Ct)==="object"&&Ct&&"current"in Ct&&(Ct.current=Lt)}function pt(){for(var Ct=arguments.length,Lt=new Array(Ct),dn=0;dn<Ct;dn++)Lt[dn]=arguments[dn];var un=Lt.filter(function(Un){return Un});return un.length<=1?un[0]:function(Un){Lt.forEach(function(Pn){at(Pn,Un)})}}function Xe(){for(var Ct=arguments.length,Lt=new Array(Ct),dn=0;dn<Ct;dn++)Lt[dn]=arguments[dn];return et(function(){return pt.apply(void 0,Lt)},Lt,function(un,Un){return un.length===Un.length&&un.every(function(Pn,Mn){return Pn===Un[Mn]})})}function Ge(Ct){var Lt,dn,un=isMemo(Ct)?Ct.type.type:Ct.type;return!(typeof un=="function"&&!((Lt=un.prototype)!==null&&Lt!==void 0&&Lt.render)||typeof Ct=="function"&&!((dn=Ct.prototype)!==null&&dn!==void 0&&dn.render))}var lt=function(Lt){var dn=Lt.className,un=Lt.customizeIcon,Un=Lt.customizeIconProps,Pn=Lt.onMouseDown,Mn=Lt.onClick,nr=Lt.children,rr;return typeof un=="function"?rr=un(Un):rr=un,$e.createElement("span",{className:dn,onMouseDown:function(Jr){Jr.preventDefault(),Pn&&Pn(Jr)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Mn,"aria-hidden":!0},rr!==void 0?rr:$e.createElement("span",{className:te()(dn.split(/\s+/).map(function(vr){return"".concat(vr,"-icon")}))},nr))},dt=lt;function st(Ct,Lt,dn,un,Un){var Pn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Mn=arguments.length>6?arguments[6]:void 0,nr=arguments.length>7?arguments[7]:void 0,rr=$e.useMemo(function(){if((0,se.Z)(un)==="object")return un.clearIcon;if(Un)return Un},[un,Un]),vr=$e.useMemo(function(){return!!(!Pn&&un&&(dn.length||Mn)&&!(nr==="combobox"&&Mn===""))},[un,Pn,dn.length,Mn,nr]);return{allowClear:vr,clearIcon:$e.createElement(dt,{className:"".concat(Ct,"-clear"),onMouseDown:Lt,customizeIcon:rr},"\xD7")}}var nt=$e.createContext(null);function rt(){return $e.useContext(nt)}function it(){var Ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Lt=$e.useState(!1),dn=(0,ne.Z)(Lt,2),un=dn[0],Un=dn[1],Pn=$e.useRef(null),Mn=function(){window.clearTimeout(Pn.current)};$e.useEffect(function(){return Mn},[]);var nr=function(vr,Jr){Mn(),Pn.current=window.setTimeout(function(){Un(vr),Jr&&Jr()},Ct)};return[un,nr,Mn]}function gt(){var Ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Lt=$e.useRef(null),dn=$e.useRef(null);$e.useEffect(function(){return function(){window.clearTimeout(dn.current)}},[]);function un(Un){(Un||Lt.current===null)&&(Lt.current=Un),window.clearTimeout(dn.current),dn.current=window.setTimeout(function(){Lt.current=null},Ct)}return[function(){return Lt.current},un]}function vt(Ct,Lt,dn,un){var Un=$e.useRef(null);Un.current={open:Lt,triggerOpen:dn,customizedTrigger:un},$e.useEffect(function(){function Pn(Mn){var nr;if(!((nr=Un.current)!==null&&nr!==void 0&&nr.customizedTrigger)){var rr=Mn.target;rr.shadowRoot&&Mn.composed&&(rr=Mn.composedPath()[0]||rr),Un.current.open&&Ct().filter(function(vr){return vr}).every(function(vr){return!vr.contains(rr)&&vr!==rr})&&Un.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Pn),function(){return window.removeEventListener("mousedown",Pn)}},[])}var At=`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`,Et=`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(At," ").concat(Et).split(/[\s\n]+/),Ye="aria-",Ve="data-";function de(Ct,Lt){return Ct.indexOf(Lt)===0}function Ce(Ct){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dn;Lt===!1?dn={aria:!0,data:!0,attr:!0}:Lt===!0?dn={aria:!0}:dn=(0,re.Z)({},Lt);var un={};return Object.keys(Ct).forEach(function(Un){(dn.aria&&(Un==="role"||de(Un,Ye))||dn.data&&de(Un,Ve)||dn.attr&&ut.includes(Un))&&(un[Un]=Ct[Un])}),un}var He=ve(48555);function je(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ae=je()?$e.useLayoutEffect:$e.useEffect,Re=function(Lt,dn){var un=$e.useRef(!0);Ae(function(){return Lt(un.current)},dn),Ae(function(){return un.current=!1,function(){un.current=!0}},[])},ze=function(Lt,dn){Re(function(un){if(!un)return Lt()},dn)},Qe=Re,ot=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],mt=void 0;function Ot(Ct,Lt){var dn=Ct.prefixCls,un=Ct.invalidate,Un=Ct.item,Pn=Ct.renderItem,Mn=Ct.responsive,nr=Ct.responsiveDisabled,rr=Ct.registerSize,vr=Ct.itemKey,Jr=Ct.className,zr=Ct.style,wi=Ct.children,Yr=Ct.display,ci=Ct.order,ei=Ct.component,Ci=ei===void 0?"div":ei,Vi=(0,oe.Z)(Ct,ot),oa=Mn&&!Yr;function ha(Ma){rr(vr,Ma)}$e.useEffect(function(){return function(){ha(null)}},[]);var ta=Pn&&Un!==mt?Pn(Un):wi,ba;un||(ba={opacity:oa?0:1,height:oa?0:mt,overflowY:oa?"hidden":mt,order:Mn?ci:mt,pointerEvents:oa?"none":mt,position:oa?"absolute":mt});var Ki={};oa&&(Ki["aria-hidden"]=!0);var xa=$e.createElement(Ci,(0,ae.Z)({className:te()(!un&&dn,Jr),style:(0,re.Z)((0,re.Z)({},ba),zr)},Ki,Vi,{ref:Lt}),ta);return Mn&&(xa=$e.createElement(He.Z,{onResize:function(li){var fi=li.offsetWidth;ha(fi)},disabled:nr},xa)),xa}var xt=$e.forwardRef(Ot);xt.displayName="Item";var Wt=xt;function bn(Ct){var Lt=$e.useRef();Lt.current=Ct;var dn=$e.useCallback(function(){for(var un,Un=arguments.length,Pn=new Array(Un),Mn=0;Mn<Un;Mn++)Pn[Mn]=arguments[Mn];return(un=Lt.current)===null||un===void 0?void 0:un.call.apply(un,[Lt].concat(Pn))},[]);return dn}var Ft=ve(73935),Qt=function(Lt){return+setTimeout(Lt,16)},Vt=function(Lt){return clearTimeout(Lt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Qt=function(Lt){return window.requestAnimationFrame(Lt)},Vt=function(Lt){return window.cancelAnimationFrame(Lt)});var yn=0,Pt=new Map;function zt(Ct){Pt.delete(Ct)}var an=function(Lt){var dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;yn+=1;var un=yn;function Un(Pn){if(Pn===0)zt(un),Lt();else{var Mn=Qt(function(){Un(Pn-1)});Pt.set(un,Mn)}}return Un(dn),un};an.cancel=function(Ct){var Lt=Pt.get(Ct);return zt(Lt),Vt(Lt)};var gn=an;function Tn(Ct){if(typeof MessageChannel=="undefined")gn(Ct);else{var Lt=new MessageChannel;Lt.port1.onmessage=function(){return Ct()},Lt.port2.postMessage(void 0)}}function Gn(){var Ct=$e.useRef(null),Lt=function(un){Ct.current||(Ct.current=[],Tn(function(){(0,Ft.unstable_batchedUpdates)(function(){Ct.current.forEach(function(Un){Un()}),Ct.current=null})})),Ct.current.push(un)};return Lt}function fr(Ct,Lt){var dn=$e.useState(Lt),un=(0,ne.Z)(dn,2),Un=un[0],Pn=un[1],Mn=bn(function(nr){Ct(function(){Pn(nr)})});return[Un,Mn]}var Tr=$e.createContext(null),Wr=["component"],ti=["className"],Dr=["className"],ri=function(Lt,dn){var un=$e.useContext(Tr);if(!un){var Un=Lt.component,Pn=Un===void 0?"div":Un,Mn=(0,oe.Z)(Lt,Wr);return $e.createElement(Pn,(0,ae.Z)({},Mn,{ref:dn}))}var nr=un.className,rr=(0,oe.Z)(un,ti),vr=Lt.className,Jr=(0,oe.Z)(Lt,Dr);return $e.createElement(Tr.Provider,{value:null},$e.createElement(Wt,(0,ae.Z)({ref:dn,className:te()(nr,vr)},rr,Jr)))},Mi=$e.forwardRef(ri);Mi.displayName="RawItem";var $r=Mi,Xi=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Ii="responsive",nn="invalidate";function Jn(Ct){return"+ ".concat(Ct.length," ...")}function hr(Ct,Lt){var dn=Ct.prefixCls,un=dn===void 0?"rc-overflow":dn,Un=Ct.data,Pn=Un===void 0?[]:Un,Mn=Ct.renderItem,nr=Ct.renderRawItem,rr=Ct.itemKey,vr=Ct.itemWidth,Jr=vr===void 0?10:vr,zr=Ct.ssr,wi=Ct.style,Yr=Ct.className,ci=Ct.maxCount,ei=Ct.renderRest,Ci=Ct.renderRawRest,Vi=Ct.suffix,oa=Ct.component,ha=oa===void 0?"div":oa,ta=Ct.itemComponent,ba=Ct.onVisibleChange,Ki=(0,oe.Z)(Ct,Xi),xa=zr==="full",Ma=Gn(),li=fr(Ma,null),fi=(0,ne.Z)(li,2),Di=fi[0],Ia=fi[1],va=Di||0,Ca=fr(Ma,new Map),wa=(0,ne.Z)(Ca,2),Ra=wa[0],Fa=wa[1],Ga=fr(Ma,0),qa=(0,ne.Z)(Ga,2),Wo=qa[0],no=qa[1],Io=fr(Ma,0),vs=(0,ne.Z)(Io,2),Ja=vs[0],na=vs[1],ra=fr(Ma,0),Sa=(0,ne.Z)(ra,2),Zi=Sa[0],bi=Sa[1],ia=(0,$e.useState)(null),Gi=(0,ne.Z)(ia,2),Pa=Gi[0],Ua=Gi[1],Qa=(0,$e.useState)(null),ka=(0,ne.Z)(Qa,2),oo=ka[0],Oo=ka[1],So=$e.useMemo(function(){return oo===null&&xa?Number.MAX_SAFE_INTEGER:oo||0},[oo,Di]),jo=(0,$e.useState)(!1),ts=(0,ne.Z)(jo,2),_o=ts[0],ks=ts[1],xs="".concat(un,"-item"),js=Math.max(Wo,Ja),ns=ci===Ii,Ko=Pn.length&&ns,ws=ci===nn,ss=Ko||typeof ci=="number"&&Pn.length>ci,qo=(0,$e.useMemo)(function(){var eo=Pn;return Ko?Di===null&&xa?eo=Pn:eo=Pn.slice(0,Math.min(Pn.length,va/Jr)):typeof ci=="number"&&(eo=Pn.slice(0,ci)),eo},[Pn,Jr,Di,ci,Ko]),Ls=(0,$e.useMemo)(function(){return Ko?Pn.slice(So+1):Pn.slice(qo.length)},[Pn,qo,Ko,So]),Es=(0,$e.useCallback)(function(eo,xi){var Qi;return typeof rr=="function"?rr(eo):(Qi=rr&&(eo==null?void 0:eo[rr]))!==null&&Qi!==void 0?Qi:xi},[rr]),Qo=(0,$e.useCallback)(Mn||function(eo){return eo},[Mn]);function Zs(eo,xi,Qi){oo===eo&&(xi===void 0||xi===Pa)||(Oo(eo),Qi||(ks(eo<Pn.length-1),ba==null||ba(eo)),xi!==void 0&&Ua(xi))}function Ol(eo,xi){Ia(xi.clientWidth)}function xl(eo,xi){Fa(function(Qi){var Ta=new Map(Qi);return xi===null?Ta.delete(eo):Ta.set(eo,xi),Ta})}function ls(eo,xi){na(xi),no(Ja)}function Co(eo,xi){bi(xi)}function cs(eo){return Ra.get(Es(qo[eo],eo))}Qe(function(){if(va&&typeof js=="number"&&qo){var eo=Zi,xi=qo.length,Qi=xi-1;if(!xi){Zs(0,null);return}for(var Ta=0;Ta<xi;Ta+=1){var Va=cs(Ta);if(xa&&(Va=Va||0),Va===void 0){Zs(Ta-1,void 0,!0);break}if(eo+=Va,Qi===0&&eo<=va||Ta===Qi-1&&eo+cs(Qi)<=va){Zs(Qi,null);break}else if(eo+js>va){Zs(Ta-1,eo-Va-Zi+Ja);break}}Vi&&cs(0)+Zi>va&&Ua(null)}},[va,Ra,Ja,Zi,Es,qo]);var Gs=_o&&!!Ls.length,tl={};Pa!==null&&Ko&&(tl={position:"absolute",left:Pa,top:0});var Jo={prefixCls:xs,responsive:Ko,component:ta,invalidate:ws},No=nr?function(eo,xi){var Qi=Es(eo,xi);return $e.createElement(Tr.Provider,{key:Qi,value:(0,re.Z)((0,re.Z)({},Jo),{},{order:xi,item:eo,itemKey:Qi,registerSize:xl,display:xi<=So})},nr(eo,xi))}:function(eo,xi){var Qi=Es(eo,xi);return $e.createElement(Wt,(0,ae.Z)({},Jo,{order:xi,key:Qi,item:eo,renderItem:Qo,itemKey:Qi,registerSize:xl,display:xi<=So}))},Zo,Ks={order:Gs?So:Number.MAX_SAFE_INTEGER,className:"".concat(xs,"-rest"),registerSize:ls,display:Gs};if(Ci)Ci&&(Zo=$e.createElement(Tr.Provider,{value:(0,re.Z)((0,re.Z)({},Jo),Ks)},Ci(Ls)));else{var As=ei||Jn;Zo=$e.createElement(Wt,(0,ae.Z)({},Jo,Ks),typeof As=="function"?As(Ls):As)}var zs=$e.createElement(ha,(0,ae.Z)({className:te()(!ws&&un,Yr),style:wi,ref:Lt},Ki),qo.map(No),ss?Zo:null,Vi&&$e.createElement(Wt,(0,ae.Z)({},Jo,{responsive:ns,responsiveDisabled:!Ko,order:So,className:"".concat(xs,"-suffix"),registerSize:Co,display:!0,style:tl}),Vi));return ns&&(zs=$e.createElement(He.Z,{onResize:Ol,disabled:!Ko},zs)),zs}var Kn=$e.forwardRef(hr);Kn.displayName="Overflow",Kn.Item=$r,Kn.RESPONSIVE=Ii,Kn.INVALIDATE=nn;var Hr=Kn,Pr=Hr,Or=function(Lt,dn){var un,Un,Pn=Lt.prefixCls,Mn=Lt.id,nr=Lt.inputElement,rr=Lt.disabled,vr=Lt.tabIndex,Jr=Lt.autoFocus,zr=Lt.autoComplete,wi=Lt.editable,Yr=Lt.activeDescendantId,ci=Lt.value,ei=Lt.maxLength,Ci=Lt.onKeyDown,Vi=Lt.onMouseDown,oa=Lt.onChange,ha=Lt.onPaste,ta=Lt.onCompositionStart,ba=Lt.onCompositionEnd,Ki=Lt.open,xa=Lt.attrs,Ma=nr||$e.createElement("input",null),li=Ma,fi=li.ref,Di=li.props,Ia=Di.onKeyDown,va=Di.onChange,Ca=Di.onMouseDown,wa=Di.onCompositionStart,Ra=Di.onCompositionEnd,Fa=Di.style;return"maxLength"in Ma.props,Ma=$e.cloneElement(Ma,(0,re.Z)((0,re.Z)((0,re.Z)({type:"search"},Di),{},{id:Mn,ref:pt(dn,fi),disabled:rr,tabIndex:vr,autoComplete:zr||"off",autoFocus:Jr,className:te()("".concat(Pn,"-selection-search-input"),(un=Ma)===null||un===void 0||(Un=un.props)===null||Un===void 0?void 0:Un.className),role:"combobox","aria-label":"Search","aria-expanded":Ki||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Mn,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Mn,"_list"),"aria-activedescendant":Ki?Yr:void 0},xa),{},{value:wi?ci:"",maxLength:ei,readOnly:!wi,unselectable:wi?null:"on",style:(0,re.Z)((0,re.Z)({},Fa),{},{opacity:wi?null:0}),onKeyDown:function(qa){Ci(qa),Ia&&Ia(qa)},onMouseDown:function(qa){Vi(qa),Ca&&Ca(qa)},onChange:function(qa){oa(qa),va&&va(qa)},onCompositionStart:function(qa){ta(qa),wa&&wa(qa)},onCompositionEnd:function(qa){ba(qa),Ra&&Ra(qa)},onPaste:ha})),Ma},Mr=$e.forwardRef(Or);Mr.displayName="Input";var Ut=Mr;function $t(Ct){return Array.isArray(Ct)?Ct:Ct!==void 0?[Ct]:[]}var qt=typeof window!="undefined"&&window.document&&window.document.documentElement,Nn=qt;function jt(Ct){return Ct!=null}function on(Ct){return!Ct&&Ct!==0}function kn(Ct){return["string","number"].includes((0,se.Z)(Ct))}function pn(Ct){var Lt=void 0;return Ct&&(kn(Ct.title)?Lt=Ct.title.toString():kn(Ct.label)&&(Lt=Ct.label.toString())),Lt}function Bn(Ct,Lt){Nn?$e.useLayoutEffect(Ct,Lt):$e.useEffect(Ct,Lt)}function Rn(Ct){var Lt;return(Lt=Ct.key)!==null&&Lt!==void 0?Lt:Ct.value}var pr=function(Lt){Lt.preventDefault(),Lt.stopPropagation()},ii=function(Lt){var dn=Lt.id,un=Lt.prefixCls,Un=Lt.values,Pn=Lt.open,Mn=Lt.searchValue,nr=Lt.autoClearSearchValue,rr=Lt.inputRef,vr=Lt.placeholder,Jr=Lt.disabled,zr=Lt.mode,wi=Lt.showSearch,Yr=Lt.autoFocus,ci=Lt.autoComplete,ei=Lt.activeDescendantId,Ci=Lt.tabIndex,Vi=Lt.removeIcon,oa=Lt.maxTagCount,ha=Lt.maxTagTextLength,ta=Lt.maxTagPlaceholder,ba=ta===void 0?function(Ua){return"+ ".concat(Ua.length," ...")}:ta,Ki=Lt.tagRender,xa=Lt.onToggleOpen,Ma=Lt.onRemove,li=Lt.onInputChange,fi=Lt.onInputPaste,Di=Lt.onInputKeyDown,Ia=Lt.onInputMouseDown,va=Lt.onInputCompositionStart,Ca=Lt.onInputCompositionEnd,wa=$e.useRef(null),Ra=(0,$e.useState)(0),Fa=(0,ne.Z)(Ra,2),Ga=Fa[0],qa=Fa[1],Wo=(0,$e.useState)(!1),no=(0,ne.Z)(Wo,2),Io=no[0],vs=no[1],Ja="".concat(un,"-selection"),na=Pn||zr==="multiple"&&nr===!1||zr==="tags"?Mn:"",ra=zr==="tags"||zr==="multiple"&&nr===!1||wi&&(Pn||Io);Bn(function(){qa(wa.current.scrollWidth)},[na]);function Sa(Ua,Qa,ka,oo,Oo){return $e.createElement("span",{className:te()("".concat(Ja,"-item"),(0,he.Z)({},"".concat(Ja,"-item-disabled"),ka)),title:pn(Ua)},$e.createElement("span",{className:"".concat(Ja,"-item-content")},Qa),oo&&$e.createElement(dt,{className:"".concat(Ja,"-item-remove"),onMouseDown:pr,onClick:Oo,customizeIcon:Vi},"\xD7"))}function Zi(Ua,Qa,ka,oo,Oo){var So=function(ts){pr(ts),xa(!Pn)};return $e.createElement("span",{onMouseDown:So},Ki({label:Qa,value:Ua,disabled:ka,closable:oo,onClose:Oo}))}function bi(Ua){var Qa=Ua.disabled,ka=Ua.label,oo=Ua.value,Oo=!Jr&&!Qa,So=ka;if(typeof ha=="number"&&(typeof ka=="string"||typeof ka=="number")){var jo=String(So);jo.length>ha&&(So="".concat(jo.slice(0,ha),"..."))}var ts=function(ks){ks&&ks.stopPropagation(),Ma(Ua)};return typeof Ki=="function"?Zi(oo,So,Qa,Oo,ts):Sa(Ua,So,Qa,Oo,ts)}function ia(Ua){var Qa=typeof ba=="function"?ba(Ua):ba;return Sa({title:Qa},Qa,!1)}var Gi=$e.createElement("div",{className:"".concat(Ja,"-search"),style:{width:Ga},onFocus:function(){vs(!0)},onBlur:function(){vs(!1)}},$e.createElement(Ut,{ref:rr,open:Pn,prefixCls:un,id:dn,inputElement:null,disabled:Jr,autoFocus:Yr,autoComplete:ci,editable:ra,activeDescendantId:ei,value:na,onKeyDown:Di,onMouseDown:Ia,onChange:li,onPaste:fi,onCompositionStart:va,onCompositionEnd:Ca,tabIndex:Ci,attrs:Ce(Lt,!0)}),$e.createElement("span",{ref:wa,className:"".concat(Ja,"-search-mirror"),"aria-hidden":!0},na,"\xA0")),Pa=$e.createElement(Pr,{prefixCls:"".concat(Ja,"-overflow"),data:Un,renderItem:bi,renderRest:ia,suffix:Gi,itemKey:Rn,maxCount:oa});return $e.createElement($e.Fragment,null,Pa,!Un.length&&!na&&$e.createElement("span",{className:"".concat(Ja,"-placeholder")},vr))},Lr=ii,Ir=function(Lt){var dn=Lt.inputElement,un=Lt.prefixCls,Un=Lt.id,Pn=Lt.inputRef,Mn=Lt.disabled,nr=Lt.autoFocus,rr=Lt.autoComplete,vr=Lt.activeDescendantId,Jr=Lt.mode,zr=Lt.open,wi=Lt.values,Yr=Lt.placeholder,ci=Lt.tabIndex,ei=Lt.showSearch,Ci=Lt.searchValue,Vi=Lt.activeValue,oa=Lt.maxLength,ha=Lt.onInputKeyDown,ta=Lt.onInputMouseDown,ba=Lt.onInputChange,Ki=Lt.onInputPaste,xa=Lt.onInputCompositionStart,Ma=Lt.onInputCompositionEnd,li=Lt.title,fi=$e.useState(!1),Di=(0,ne.Z)(fi,2),Ia=Di[0],va=Di[1],Ca=Jr==="combobox",wa=Ca||ei,Ra=wi[0],Fa=Ci||"";Ca&&Vi&&!Ia&&(Fa=Vi),$e.useEffect(function(){Ca&&va(!1)},[Ca,Vi]);var Ga=Jr!=="combobox"&&!zr&&!ei?!1:!!Fa,qa=li===void 0?pn(Ra):li,Wo=function(){if(Ra)return null;var Io=Ga?{visibility:"hidden"}:void 0;return $e.createElement("span",{className:"".concat(un,"-selection-placeholder"),style:Io},Yr)};return $e.createElement($e.Fragment,null,$e.createElement("span",{className:"".concat(un,"-selection-search")},$e.createElement(Ut,{ref:Pn,prefixCls:un,id:Un,open:zr,inputElement:dn,disabled:Mn,autoFocus:nr,autoComplete:rr,editable:wa,activeDescendantId:vr,value:Fa,onKeyDown:ha,onMouseDown:ta,onChange:function(Io){va(!0),ba(Io)},onPaste:Ki,onCompositionStart:xa,onCompositionEnd:Ma,tabIndex:ci,attrs:Ce(Lt,!0),maxLength:Ca?oa:void 0})),!Ca&&Ra?$e.createElement("span",{className:"".concat(un,"-selection-item"),title:qa,style:Ga?{visibility:"hidden"}:void 0},Ra.label):null,Wo())},Ur=Ir;function Zr(Ct){return![We.ESC,We.SHIFT,We.BACKSPACE,We.TAB,We.WIN_KEY,We.ALT,We.META,We.WIN_KEY_RIGHT,We.CTRL,We.SEMICOLON,We.EQUALS,We.CAPS_LOCK,We.CONTEXT_MENU,We.F1,We.F2,We.F3,We.F4,We.F5,We.F6,We.F7,We.F8,We.F9,We.F10,We.F11,We.F12].includes(Ct)}var ln=function(Lt,dn){var un=(0,$e.useRef)(null),Un=(0,$e.useRef)(!1),Pn=Lt.prefixCls,Mn=Lt.open,nr=Lt.mode,rr=Lt.showSearch,vr=Lt.tokenWithEnter,Jr=Lt.autoClearSearchValue,zr=Lt.onSearch,wi=Lt.onSearchSubmit,Yr=Lt.onToggleOpen,ci=Lt.onInputKeyDown,ei=Lt.domRef;$e.useImperativeHandle(dn,function(){return{focus:function(){un.current.focus()},blur:function(){un.current.blur()}}});var Ci=gt(0),Vi=(0,ne.Z)(Ci,2),oa=Vi[0],ha=Vi[1],ta=function(Fa){var Ga=Fa.which;(Ga===We.UP||Ga===We.DOWN)&&Fa.preventDefault(),ci&&ci(Fa),Ga===We.ENTER&&nr==="tags"&&!Un.current&&!Mn&&(wi==null||wi(Fa.target.value)),Zr(Ga)&&Yr(!0)},ba=function(){ha(!0)},Ki=(0,$e.useRef)(null),xa=function(Fa){zr(Fa,!0,Un.current)!==!1&&Yr(!0)},Ma=function(){Un.current=!0},li=function(Fa){Un.current=!1,nr!=="combobox"&&xa(Fa.target.value)},fi=function(Fa){var Ga=Fa.target.value;if(vr&&Ki.current&&/[\r\n]/.test(Ki.current)){var qa=Ki.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ga=Ga.replace(qa,Ki.current)}Ki.current=null,xa(Ga)},Di=function(Fa){var Ga=Fa.clipboardData,qa=Ga.getData("text");Ki.current=qa},Ia=function(Fa){var Ga=Fa.target;if(Ga!==un.current){var qa=document.body.style.msTouchAction!==void 0;qa?setTimeout(function(){un.current.focus()}):un.current.focus()}},va=function(Fa){var Ga=oa();Fa.target!==un.current&&!Ga&&nr!=="combobox"&&Fa.preventDefault(),(nr!=="combobox"&&(!rr||!Ga)||!Mn)&&(Mn&&Jr!==!1&&zr("",!0,!1),Yr())},Ca={inputRef:un,onInputKeyDown:ta,onInputMouseDown:ba,onInputChange:fi,onInputPaste:Di,onInputCompositionStart:Ma,onInputCompositionEnd:li},wa=nr==="multiple"||nr==="tags"?$e.createElement(Lr,(0,ae.Z)({},Lt,Ca)):$e.createElement(Ur,(0,ae.Z)({},Lt,Ca));return $e.createElement("div",{ref:ei,className:"".concat(Pn,"-selector"),onClick:Ia,onMouseDown:va},wa)},Jt=$e.forwardRef(ln);Jt.displayName="Selector";var cn=Jt,er=ve(62709),Ar=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Fn=function(Lt){var dn=Lt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:dn,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:dn,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:dn,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:dn,adjustY:1},htmlRegion:"scroll"}}},lr=function(Lt,dn){var un=Lt.prefixCls,Un=Lt.disabled,Pn=Lt.visible,Mn=Lt.children,nr=Lt.popupElement,rr=Lt.animation,vr=Lt.transitionName,Jr=Lt.dropdownStyle,zr=Lt.dropdownClassName,wi=Lt.direction,Yr=wi===void 0?"ltr":wi,ci=Lt.placement,ei=Lt.builtinPlacements,Ci=Lt.dropdownMatchSelectWidth,Vi=Lt.dropdownRender,oa=Lt.dropdownAlign,ha=Lt.getPopupContainer,ta=Lt.empty,ba=Lt.getTriggerDOMNode,Ki=Lt.onPopupVisibleChange,xa=Lt.onPopupMouseEnter,Ma=(0,oe.Z)(Lt,Ar),li="".concat(un,"-dropdown"),fi=nr;Vi&&(fi=Vi(nr));var Di=$e.useMemo(function(){return ei||Fn(Ci)},[ei,Ci]),Ia=rr?"".concat(li,"-").concat(rr):vr,va=typeof Ci=="number",Ca=$e.useMemo(function(){return va?null:Ci===!1?"minWidth":"width"},[Ci,va]),wa=Jr;va&&(wa=(0,re.Z)((0,re.Z)({},wa),{},{width:Ci}));var Ra=$e.useRef(null);return $e.useImperativeHandle(dn,function(){return{getPopupElement:function(){return Ra.current}}}),$e.createElement(er.Z,(0,ae.Z)({},Ma,{showAction:Ki?["click"]:[],hideAction:Ki?["click"]:[],popupPlacement:ci||(Yr==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Di,prefixCls:li,popupTransitionName:Ia,popup:$e.createElement("div",{ref:Ra,onMouseEnter:xa},fi),stretch:Ca,popupAlign:oa,popupVisible:Pn,getPopupContainer:ha,popupClassName:te()(zr,(0,he.Z)({},"".concat(li,"-empty"),ta)),popupStyle:wa,getTriggerDOMNode:ba,onPopupVisibleChange:Ki}),Mn)},ir=$e.forwardRef(lr);ir.displayName="SelectTrigger";var wr=ir,Vr=ve(84506);function Zn(Ct,Lt){var dn=Ct.key,un;return"value"in Ct&&(un=Ct.value),dn!=null?dn:un!==void 0?un:"rc-index-key-".concat(Lt)}function _i(Ct,Lt){var dn=Ct||{},un=dn.label,Un=dn.value,Pn=dn.options,Mn=dn.groupLabel,nr=un||(Lt?"children":"label");return{label:nr,value:Un||"value",options:Pn||"options",groupLabel:Mn||nr}}function gi(Ct){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},dn=Lt.fieldNames,un=Lt.childrenAsData,Un=[],Pn=_i(dn,!1),Mn=Pn.label,nr=Pn.value,rr=Pn.options,vr=Pn.groupLabel;function Jr(zr,wi){zr.forEach(function(Yr){if(wi||!(rr in Yr)){var ci=Yr[nr];Un.push({key:Zn(Yr,Un.length),groupOption:wi,data:Yr,label:Yr[Mn],value:ci})}else{var ei=Yr[vr];ei===void 0&&un&&(ei=Yr.label),Un.push({key:Zn(Yr,Un.length),group:!0,data:Yr,label:ei}),Jr(Yr[rr],!0)}})}return Jr(Ct,!1),Un}function ma(Ct){var Lt=(0,re.Z)({},Ct);return"props"in Lt||Object.defineProperty(Lt,"props",{get:function(){return Be(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Lt}}),Lt}function ga(Ct,Lt){if(!Lt||!Lt.length)return null;var dn=!1;function un(Pn,Mn){var nr=(0,Vr.Z)(Mn),rr=nr[0],vr=nr.slice(1);if(!rr)return[Pn];var Jr=Pn.split(rr);return dn=dn||Jr.length>1,Jr.reduce(function(zr,wi){return[].concat((0,Oe.Z)(zr),(0,Oe.Z)(un(wi,vr)))},[]).filter(function(zr){return zr})}var Un=un(Ct,Lt);return dn?Un:null}var la=["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"],_a=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function $i(Ct){return Ct==="tags"||Ct==="multiple"}var Ui=$e.forwardRef(function(Ct,Lt){var dn,un,Un=Ct.id,Pn=Ct.prefixCls,Mn=Ct.className,nr=Ct.showSearch,rr=Ct.tagRender,vr=Ct.direction,Jr=Ct.omitDomProps,zr=Ct.displayValues,wi=Ct.onDisplayValuesChange,Yr=Ct.emptyOptions,ci=Ct.notFoundContent,ei=ci===void 0?"Not Found":ci,Ci=Ct.onClear,Vi=Ct.mode,oa=Ct.disabled,ha=Ct.loading,ta=Ct.getInputElement,ba=Ct.getRawInputElement,Ki=Ct.open,xa=Ct.defaultOpen,Ma=Ct.onDropdownVisibleChange,li=Ct.activeValue,fi=Ct.onActiveValueChange,Di=Ct.activeDescendantId,Ia=Ct.searchValue,va=Ct.autoClearSearchValue,Ca=Ct.onSearch,wa=Ct.onSearchSplit,Ra=Ct.tokenSeparators,Fa=Ct.allowClear,Ga=Ct.suffixIcon,qa=Ct.clearIcon,Wo=Ct.OptionList,no=Ct.animation,Io=Ct.transitionName,vs=Ct.dropdownStyle,Ja=Ct.dropdownClassName,na=Ct.dropdownMatchSelectWidth,ra=Ct.dropdownRender,Sa=Ct.dropdownAlign,Zi=Ct.placement,bi=Ct.builtinPlacements,ia=Ct.getPopupContainer,Gi=Ct.showAction,Pa=Gi===void 0?[]:Gi,Ua=Ct.onFocus,Qa=Ct.onBlur,ka=Ct.onKeyUp,oo=Ct.onKeyDown,Oo=Ct.onMouseDown,So=(0,oe.Z)(Ct,la),jo=$i(Vi),ts=(nr!==void 0?nr:jo)||Vi==="combobox",_o=(0,re.Z)({},So);_a.forEach(function(go){delete _o[go]}),Jr==null||Jr.forEach(function(go){delete _o[go]});var ks=$e.useState(!1),xs=(0,ne.Z)(ks,2),js=xs[0],ns=xs[1];$e.useEffect(function(){ns(Ue())},[]);var Ko=$e.useRef(null),ws=$e.useRef(null),ss=$e.useRef(null),qo=$e.useRef(null),Ls=$e.useRef(null),Es=it(),Qo=(0,ne.Z)(Es,3),Zs=Qo[0],Ol=Qo[1],xl=Qo[2];$e.useImperativeHandle(Lt,function(){var go,yo;return{focus:(go=qo.current)===null||go===void 0?void 0:go.focus,blur:(yo=qo.current)===null||yo===void 0?void 0:yo.blur,scrollTo:function(nl){var gs;return(gs=Ls.current)===null||gs===void 0?void 0:gs.scrollTo(nl)}}});var ls=$e.useMemo(function(){var go;if(Vi!=="combobox")return Ia;var yo=(go=zr[0])===null||go===void 0?void 0:go.value;return typeof yo=="string"||typeof yo=="number"?String(yo):""},[Ia,Vi,zr]),Co=Vi==="combobox"&&typeof ta=="function"&&ta()||null,cs=typeof ba=="function"&&ba(),Gs=Xe(ws,cs==null||(dn=cs.props)===null||dn===void 0?void 0:dn.ref),tl=$e.useState(!1),Jo=(0,ne.Z)(tl,2),No=Jo[0],Zo=Jo[1];le(function(){Zo(!0)},[]);var Ks=Me(!1,{defaultValue:xa,value:Ki}),As=(0,ne.Z)(Ks,2),zs=As[0],eo=As[1],xi=No?zs:!1,Qi=!ei&&Yr;(oa||Qi&&xi&&Vi==="combobox")&&(xi=!1);var Ta=Qi?!1:xi,Va=$e.useCallback(function(go){var yo=go!==void 0?go:!xi;oa||(eo(yo),xi!==yo&&(Ma==null||Ma(yo)))},[oa,xi,eo,Ma]),Go=$e.useMemo(function(){return(Ra||[]).some(function(go){return[`
`,`\r
`].includes(go)})},[Ra]),Xo=function(yo,Ss,nl){var gs=!0,yl=yo;fi==null||fi(null);var ol=nl?null:ga(yo,Ra);return Vi!=="combobox"&&ol&&(yl="",wa==null||wa(ol),Va(!1),gs=!1),Ca&&ls!==yl&&Ca(yl,{source:Ss?"typing":"effect"}),gs},gl=function(yo){!yo||!yo.trim()||Ca(yo,{source:"submit"})};$e.useEffect(function(){!xi&&!jo&&Vi!=="combobox"&&Xo("",!1,!1)},[xi]),$e.useEffect(function(){zs&&oa&&eo(!1),oa&&Ol(!1)},[oa]);var Js=gt(),Dl=(0,ne.Z)(Js,2),Ps=Dl[0],Il=Dl[1],ac=function(yo){var Ss=Ps(),nl=yo.which;if(nl===We.ENTER&&(Vi!=="combobox"&&yo.preventDefault(),xi||Va(!0)),Il(!!ls),nl===We.BACKSPACE&&!Ss&&jo&&!ls&&zr.length){for(var gs=(0,Oe.Z)(zr),yl=null,ol=gs.length-1;ol>=0;ol-=1){var bc=gs[ol];if(!bc.disabled){gs.splice(ol,1),yl=bc;break}}yl&&wi(gs,{type:"remove",values:[yl]})}for(var Hl=arguments.length,_l=new Array(Hl>1?Hl-1:0),Ml=1;Ml<Hl;Ml++)_l[Ml-1]=arguments[Ml];if(xi&&Ls.current){var Wl;(Wl=Ls.current).onKeyDown.apply(Wl,[yo].concat(_l))}oo==null||oo.apply(void 0,[yo].concat(_l))},oc=function(yo){for(var Ss=arguments.length,nl=new Array(Ss>1?Ss-1:0),gs=1;gs<Ss;gs++)nl[gs-1]=arguments[gs];if(xi&&Ls.current){var yl;(yl=Ls.current).onKeyUp.apply(yl,[yo].concat(nl))}ka==null||ka.apply(void 0,[yo].concat(nl))},Kc=function(yo){var Ss=zr.filter(function(nl){return nl!==yo});wi(Ss,{type:"remove",values:[yo]})},Rl=$e.useRef(!1),Bl=function(){Ol(!0),oa||(Ua&&!Rl.current&&Ua.apply(void 0,arguments),Pa.includes("focus")&&Va(!0)),Rl.current=!0},mu=function(){Ol(!1,function(){Rl.current=!1,Va(!1)}),!oa&&(ls&&(Vi==="tags"?Ca(ls,{source:"submit"}):Vi==="multiple"&&Ca("",{source:"blur"})),Qa&&Qa.apply(void 0,arguments))},Al=[];$e.useEffect(function(){return function(){Al.forEach(function(go){return clearTimeout(go)}),Al.splice(0,Al.length)}},[]);var Qc=function(yo){var Ss,nl=yo.target,gs=(Ss=ss.current)===null||Ss===void 0?void 0:Ss.getPopupElement();if(gs&&gs.contains(nl)){var yl=setTimeout(function(){var _l=Al.indexOf(yl);if(_l!==-1&&Al.splice(_l,1),xl(),!js&&!gs.contains(document.activeElement)){var Ml;(Ml=qo.current)===null||Ml===void 0||Ml.focus()}});Al.push(yl)}for(var ol=arguments.length,bc=new Array(ol>1?ol-1:0),Hl=1;Hl<ol;Hl++)bc[Hl-1]=arguments[Hl];Oo==null||Oo.apply(void 0,[yo].concat(bc))},sc=$e.useState({}),aa=(0,ne.Z)(sc,2),wl=aa[1];function vu(){wl({})}var gu;cs&&(gu=function(yo){Va(yo)}),vt(function(){var go;return[Ko.current,(go=ss.current)===null||go===void 0?void 0:go.getPopupElement()]},Ta,Va,!!cs);var il=$e.useMemo(function(){return(0,re.Z)((0,re.Z)({},Ct),{},{notFoundContent:ei,open:xi,triggerOpen:Ta,id:Un,showSearch:ts,multiple:jo,toggleOpen:Va})},[Ct,ei,Ta,xi,Un,ts,jo,Va]),Ts=!!Ga||ha,gc;Ts&&(gc=$e.createElement(dt,{className:te()("".concat(Pn,"-arrow"),(0,he.Z)({},"".concat(Pn,"-arrow-loading"),ha)),customizeIcon:Ga,customizeIconProps:{loading:ha,searchValue:ls,open:xi,focused:Zs,showSearch:ts}}));var ju=function(){var yo;Ci==null||Ci(),(yo=qo.current)===null||yo===void 0||yo.focus(),wi([],{type:"clear",values:zr}),Xo("",!1,!1)},yu=st(Pn,ju,zr,Fa,qa,oa,ls,Vi),lc=yu.allowClear,al=yu.clearIcon,Jc=$e.createElement(Wo,{ref:Ls}),zl=te()(Pn,Mn,(un={},(0,he.Z)(un,"".concat(Pn,"-focused"),Zs),(0,he.Z)(un,"".concat(Pn,"-multiple"),jo),(0,he.Z)(un,"".concat(Pn,"-single"),!jo),(0,he.Z)(un,"".concat(Pn,"-allow-clear"),Fa),(0,he.Z)(un,"".concat(Pn,"-show-arrow"),Ts),(0,he.Z)(un,"".concat(Pn,"-disabled"),oa),(0,he.Z)(un,"".concat(Pn,"-loading"),ha),(0,he.Z)(un,"".concat(Pn,"-open"),xi),(0,he.Z)(un,"".concat(Pn,"-customize-input"),Co),(0,he.Z)(un,"".concat(Pn,"-show-search"),ts),un)),$c=$e.createElement(wr,{ref:ss,disabled:oa,prefixCls:Pn,visible:Ta,popupElement:Jc,animation:no,transitionName:Io,dropdownStyle:vs,dropdownClassName:Ja,direction:vr,dropdownMatchSelectWidth:na,dropdownRender:ra,dropdownAlign:Sa,placement:Zi,builtinPlacements:bi,getPopupContainer:ia,empty:Yr,getTriggerDOMNode:function(){return ws.current},onPopupVisibleChange:gu,onPopupMouseEnter:vu},cs?$e.cloneElement(cs,{ref:Gs}):$e.createElement(cn,(0,ae.Z)({},Ct,{domRef:ws,prefixCls:Pn,inputElement:Co,ref:qo,id:Un,showSearch:ts,autoClearSearchValue:va,mode:Vi,activeDescendantId:Di,tagRender:rr,values:zr,open:xi,onToggleOpen:Va,activeValue:li,searchValue:ls,onSearch:Xo,onSearchSubmit:gl,onRemove:Kc,tokenWithEnter:Go}))),yc;return cs?yc=$c:yc=$e.createElement("div",(0,ae.Z)({className:zl},_o,{ref:Ko,onMouseDown:Qc,onKeyDown:ac,onKeyUp:oc,onFocus:Bl,onBlur:mu}),Zs&&!xi&&$e.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(zr.map(function(go){var yo=go.label,Ss=go.value;return["number","string"].includes((0,se.Z)(yo))?yo:Ss}).join(", "))),$c,gc,lc&&al),$e.createElement(nt.Provider,{value:il},yc)}),ya=Ui,Ka=function(Ct,Lt){var dn=$e.useRef({values:new Map,options:new Map}),un=$e.useMemo(function(){var Pn=dn.current,Mn=Pn.values,nr=Pn.options,rr=Ct.map(function(zr){if(zr.label===void 0){var wi;return(0,re.Z)((0,re.Z)({},zr),{},{label:(wi=Mn.get(zr.value))===null||wi===void 0?void 0:wi.label})}return zr}),vr=new Map,Jr=new Map;return rr.forEach(function(zr){vr.set(zr.value,zr),Jr.set(zr.value,Lt.get(zr.value)||nr.get(zr.value))}),dn.current.values=vr,dn.current.options=Jr,rr},[Ct,Lt]),Un=$e.useCallback(function(Pn){return Lt.get(Pn)||dn.current.options.get(Pn)},[Lt]);return[un,Un]};function Ri(Ct,Lt){return $t(Ct).join("").toUpperCase().includes(Lt)}var ca=function(Ct,Lt,dn,un,Un){return $e.useMemo(function(){if(!dn||un===!1)return Ct;var Pn=Lt.options,Mn=Lt.label,nr=Lt.value,rr=[],vr=typeof un=="function",Jr=dn.toUpperCase(),zr=vr?un:function(Yr,ci){return Un?Ri(ci[Un],Jr):ci[Pn]?Ri(ci[Mn!=="children"?Mn:"label"],Jr):Ri(ci[nr],Jr)},wi=vr?function(Yr){return ma(Yr)}:function(Yr){return Yr};return Ct.forEach(function(Yr){if(Yr[Pn]){var ci=zr(dn,wi(Yr));if(ci)rr.push(Yr);else{var ei=Yr[Pn].filter(function(Ci){return zr(dn,wi(Ci))});ei.length&&rr.push((0,re.Z)((0,re.Z)({},Yr),{},(0,he.Z)({},Pn,ei)))}return}zr(dn,wi(Yr))&&rr.push(Yr)}),rr},[Ct,un,Un,dn,Lt])},Na=0,ro=fe();function Ya(){var Ct;return ro?(Ct=Na,Na+=1):Ct="TEST_OR_SSR",Ct}function Wi(Ct){var Lt=$e.useState(),dn=(0,ne.Z)(Lt,2),un=dn[0],Un=dn[1];return $e.useEffect(function(){Un("rc_select_".concat(Ya()))},[]),Ct||un}function mn(Ct){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},dn=[];return $e.Children.forEach(Ct,function(un){un==null&&!Lt.keepEmpty||(Array.isArray(un)?dn=dn.concat(mn(un)):(0,Ze.isFragment)(un)&&un.props?dn=dn.concat(mn(un.props.children,Lt)):dn.push(un))}),dn}var sn=["children","value"],jn=["children"];function ar(Ct){var Lt=Ct,dn=Lt.key,un=Lt.props,Un=un.children,Pn=un.value,Mn=(0,oe.Z)(un,sn);return(0,re.Z)({key:dn,value:Pn!==void 0?Pn:dn,children:Un},Mn)}function gr(Ct){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return mn(Ct).map(function(dn,un){if(!$e.isValidElement(dn)||!dn.type)return null;var Un=dn,Pn=Un.type.isSelectOptGroup,Mn=Un.key,nr=Un.props,rr=nr.children,vr=(0,oe.Z)(nr,jn);return Lt||!Pn?ar(dn):(0,re.Z)((0,re.Z)({key:"__RC_SELECT_GRP__".concat(Mn===null?un:Mn,"__"),label:Mn},vr),{},{options:gr(rr)})}).filter(function(dn){return dn})}function Xr(Ct,Lt,dn,un,Un){return $e.useMemo(function(){var Pn=Ct,Mn=!Ct;Mn&&(Pn=gr(Lt));var nr=new Map,rr=new Map,vr=function(wi,Yr,ci){ci&&typeof ci=="string"&&wi.set(Yr[ci],Yr)};function Jr(zr){for(var wi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Yr=0;Yr<zr.length;Yr+=1){var ci=zr[Yr];!ci[dn.options]||wi?(nr.set(ci[dn.value],ci),vr(rr,ci,dn.label),vr(rr,ci,un),vr(rr,ci,Un)):Jr(ci[dn.options],!0)}}return Jr(Pn),{options:Pn,valueOptions:nr,labelOptions:rr}},[Ct,Lt,dn,un,Un])}function ai(Ct){var Lt=$e.useRef();Lt.current=Ct;var dn=$e.useCallback(function(){return Lt.current.apply(Lt,arguments)},[]);return dn}var pi=function(){return null};pi.isSelectOptGroup=!0;var Li=pi,yi=function(){return null};yi.isSelectOption=!0;var ji=yi;function qi(Ct,Lt){var dn=(0,re.Z)({},Ct);return Array.isArray(Lt)&&Lt.forEach(function(un){delete dn[un]}),dn}var oi=ve(73299),Sn=$e.createContext(null),Ln=Sn;function Yn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var qe=["disabled","title","children","style","className"];function yt(Ct){return typeof Ct=="string"||typeof Ct=="number"}var St=function(Lt,dn){var un=rt(),Un=un.prefixCls,Pn=un.id,Mn=un.open,nr=un.multiple,rr=un.mode,vr=un.searchValue,Jr=un.toggleOpen,zr=un.notFoundContent,wi=un.onPopupScroll,Yr=$e.useContext(Ln),ci=Yr.flattenOptions,ei=Yr.onActiveValue,Ci=Yr.defaultActiveFirstOption,Vi=Yr.onSelect,oa=Yr.menuItemSelectedIcon,ha=Yr.rawValues,ta=Yr.fieldNames,ba=Yr.virtual,Ki=Yr.direction,xa=Yr.listHeight,Ma=Yr.listItemHeight,li="".concat(Un,"-item"),fi=et(function(){return ci},[Mn,ci],function(Sa,Zi){return Zi[0]&&Sa[1]!==Zi[1]}),Di=$e.useRef(null),Ia=function(Zi){Zi.preventDefault()},va=function(Zi){Di.current&&Di.current.scrollTo(typeof Zi=="number"?{index:Zi}:Zi)},Ca=function(Zi){for(var bi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ia=fi.length,Gi=0;Gi<ia;Gi+=1){var Pa=(Zi+Gi*bi+ia)%ia,Ua=fi[Pa],Qa=Ua.group,ka=Ua.data;if(!Qa&&!ka.disabled)return Pa}return-1},wa=$e.useState(function(){return Ca(0)}),Ra=(0,ne.Z)(wa,2),Fa=Ra[0],Ga=Ra[1],qa=function(Zi){var bi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ga(Zi);var ia={source:bi?"keyboard":"mouse"},Gi=fi[Zi];if(!Gi){ei(null,-1,ia);return}ei(Gi.value,Zi,ia)};(0,$e.useEffect)(function(){qa(Ci!==!1?Ca(0):-1)},[fi.length,vr]);var Wo=$e.useCallback(function(Sa){return ha.has(Sa)&&rr!=="combobox"},[rr,(0,Oe.Z)(ha).toString(),ha.size]);(0,$e.useEffect)(function(){var Sa=setTimeout(function(){if(!nr&&Mn&&ha.size===1){var bi=Array.from(ha)[0],ia=fi.findIndex(function(Gi){var Pa=Gi.data;return Pa.value===bi});ia!==-1&&(qa(ia),va(ia))}});if(Mn){var Zi;(Zi=Di.current)===null||Zi===void 0||Zi.scrollTo(void 0)}return function(){return clearTimeout(Sa)}},[Mn,vr,ci.length]);var no=function(Zi){Zi!==void 0&&Vi(Zi,{selected:!ha.has(Zi)}),nr||Jr(!1)};if($e.useImperativeHandle(dn,function(){return{onKeyDown:function(Zi){var bi=Zi.which,ia=Zi.ctrlKey;switch(bi){case We.N:case We.P:case We.UP:case We.DOWN:{var Gi=0;if(bi===We.UP?Gi=-1:bi===We.DOWN?Gi=1:Yn()&&ia&&(bi===We.N?Gi=1:bi===We.P&&(Gi=-1)),Gi!==0){var Pa=Ca(Fa+Gi,Gi);va(Pa),qa(Pa,!0)}break}case We.ENTER:{var Ua=fi[Fa];Ua&&!Ua.data.disabled?no(Ua.value):no(void 0),Mn&&Zi.preventDefault();break}case We.ESC:Jr(!1),Mn&&Zi.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Zi){va(Zi)}}}),fi.length===0)return $e.createElement("div",{role:"listbox",id:"".concat(Pn,"_list"),className:"".concat(li,"-empty"),onMouseDown:Ia},zr);var Io=Object.keys(ta).map(function(Sa){return ta[Sa]}),vs=function(Zi){return Zi.label};function Ja(Sa,Zi){var bi=Sa.group;return{role:bi?"presentation":"option",id:"".concat(Pn,"_list_").concat(Zi)}}var na=function(Zi){var bi=fi[Zi];if(!bi)return null;var ia=bi.data||{},Gi=ia.value,Pa=bi.group,Ua=Ce(ia,!0),Qa=vs(bi);return bi?$e.createElement("div",(0,ae.Z)({"aria-label":typeof Qa=="string"&&!Pa?Qa:null},Ua,{key:Zi},Ja(bi,Zi),{"aria-selected":Wo(Gi)}),Gi):null},ra={role:"listbox",id:"".concat(Pn,"_list")};return $e.createElement($e.Fragment,null,ba&&$e.createElement("div",(0,ae.Z)({},ra,{style:{height:0,width:0,overflow:"hidden"}}),na(Fa-1),na(Fa),na(Fa+1)),$e.createElement(oi.Z,{itemKey:"key",ref:Di,data:fi,height:xa,itemHeight:Ma,fullHeight:!1,onMouseDown:Ia,onScroll:wi,virtual:ba,direction:Ki,innerProps:ba?null:ra},function(Sa,Zi){var bi,ia=Sa.group,Gi=Sa.groupOption,Pa=Sa.data,Ua=Sa.label,Qa=Sa.value,ka=Pa.key;if(ia){var oo,Oo=(oo=Pa.title)!==null&&oo!==void 0?oo:yt(Ua)?Ua.toString():void 0;return $e.createElement("div",{className:te()(li,"".concat(li,"-group")),title:Oo},Ua!==void 0?Ua:ka)}var So=Pa.disabled,jo=Pa.title,ts=Pa.children,_o=Pa.style,ks=Pa.className,xs=(0,oe.Z)(Pa,qe),js=qi(xs,Io),ns=Wo(Qa),Ko="".concat(li,"-option"),ws=te()(li,Ko,ks,(bi={},(0,he.Z)(bi,"".concat(Ko,"-grouped"),Gi),(0,he.Z)(bi,"".concat(Ko,"-active"),Fa===Zi&&!So),(0,he.Z)(bi,"".concat(Ko,"-disabled"),So),(0,he.Z)(bi,"".concat(Ko,"-selected"),ns),bi)),ss=vs(Sa),qo=!oa||typeof oa=="function"||ns,Ls=typeof ss=="number"?ss:ss||Qa,Es=yt(Ls)?Ls.toString():void 0;return jo!==void 0&&(Es=jo),$e.createElement("div",(0,ae.Z)({},Ce(js),ba?{}:Ja(Sa,Zi),{"aria-selected":ns,className:ws,title:Es,onMouseMove:function(){Fa===Zi||So||qa(Zi)},onClick:function(){So||no(Qa)},style:_o}),$e.createElement("div",{className:"".concat(Ko,"-content")},Ls),$e.isValidElement(oa)||ns,qo&&$e.createElement(dt,{className:"".concat(li,"-option-state"),customizeIcon:oa,customizeIconProps:{isSelected:ns}},ns?"\u2713":null))}))},Dt=$e.forwardRef(St);Dt.displayName="OptionList";var Tt=Dt;function Nt(Ct){var Lt=Ct.mode,dn=Ct.options,un=Ct.children,Un=Ct.backfill,Pn=Ct.allowClear,Mn=Ct.placeholder,nr=Ct.getInputElement,rr=Ct.showSearch,vr=Ct.onSearch,Jr=Ct.defaultOpen,zr=Ct.autoFocus,wi=Ct.labelInValue,Yr=Ct.value,ci=Ct.inputValue,ei=Ct.optionLabelProp,Ci=isMultiple(Lt),Vi=rr!==void 0?rr:Ci||Lt==="combobox",oa=dn||convertChildrenToData(un);if(warning(Lt!=="tags"||oa.every(function(Ki){return!Ki.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Lt==="tags"||Lt==="combobox"){var ha=oa.some(function(Ki){return Ki.options?Ki.options.some(function(xa){return typeof("value"in xa?xa.value:xa.key)=="number"}):typeof("value"in Ki?Ki.value:Ki.key)=="number"});warning(!ha,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Lt!=="combobox"||!ei,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Lt==="combobox"||!Un,"`backfill` only works with `combobox` mode."),warning(Lt==="combobox"||!nr,"`getInputElement` only work with `combobox` mode."),noteOnce(Lt!=="combobox"||!nr||!Pn||!Mn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),vr&&!Vi&&Lt!=="combobox"&&Lt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Jr||zr,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Yr!=null){var ta=toArray(Yr);warning(!wi||ta.every(function(Ki){return _typeof(Ki)==="object"&&("key"in Ki||"value"in Ki)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Ci||Array.isArray(Yr),"`value` should be array when `mode` is `multiple` or `tags`")}if(un){var ba=null;toNodeArray(un).some(function(Ki){if(!React.isValidElement(Ki)||!Ki.type)return!1;var xa=Ki,Ma=xa.type;if(Ma.isSelectOption)return!1;if(Ma.isSelectOptGroup){var li=toNodeArray(Ki.props.children).every(function(fi){return!React.isValidElement(fi)||!Ki.type||fi.type.isSelectOption?!0:(ba=fi.type,!1)});return!li}return ba=Ma,!0}),ba&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ba.displayName||ba.name||ba,"`.")),warning(ci===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function _t(Ct,Lt){if(Ct){var dn=function un(Un){for(var Pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Mn=0;Mn<Un.length;Mn++){var nr=Un[Mn];if(nr[Lt==null?void 0:Lt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Pn&&Array.isArray(nr[Lt==null?void 0:Lt.options])&&un(nr[Lt==null?void 0:Lt.options],!0))break}};dn(Ct)}}var rn=null,vn=["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"],Vn=["inputValue"];function $n(Ct){return!Ct||(0,se.Z)(Ct)!=="object"}var Xn=$e.forwardRef(function(Ct,Lt){var dn=Ct.id,un=Ct.mode,Un=Ct.prefixCls,Pn=Un===void 0?"rc-select":Un,Mn=Ct.backfill,nr=Ct.fieldNames,rr=Ct.inputValue,vr=Ct.searchValue,Jr=Ct.onSearch,zr=Ct.autoClearSearchValue,wi=zr===void 0?!0:zr,Yr=Ct.onSelect,ci=Ct.onDeselect,ei=Ct.dropdownMatchSelectWidth,Ci=ei===void 0?!0:ei,Vi=Ct.filterOption,oa=Ct.filterSort,ha=Ct.optionFilterProp,ta=Ct.optionLabelProp,ba=Ct.options,Ki=Ct.children,xa=Ct.defaultActiveFirstOption,Ma=Ct.menuItemSelectedIcon,li=Ct.virtual,fi=Ct.direction,Di=Ct.listHeight,Ia=Di===void 0?200:Di,va=Ct.listItemHeight,Ca=va===void 0?20:va,wa=Ct.value,Ra=Ct.defaultValue,Fa=Ct.labelInValue,Ga=Ct.onChange,qa=(0,oe.Z)(Ct,vn),Wo=Wi(dn),no=$i(un),Io=!!(!ba&&Ki),vs=$e.useMemo(function(){return Vi===void 0&&un==="combobox"?!1:Vi},[Vi,un]),Ja=$e.useMemo(function(){return _i(nr,Io)},[JSON.stringify(nr),Io]),na=Me("",{value:vr!==void 0?vr:rr,postState:function(Qi){return Qi||""}}),ra=(0,ne.Z)(na,2),Sa=ra[0],Zi=ra[1],bi=Xr(ba,Ki,Ja,ha,ta),ia=bi.valueOptions,Gi=bi.labelOptions,Pa=bi.options,Ua=$e.useCallback(function(xi){var Qi=$t(xi);return Qi.map(function(Ta){var Va,Go,Xo,gl,Js;if($n(Ta))Va=Ta;else{var Dl;Xo=Ta.key,Go=Ta.label,Va=(Dl=Ta.value)!==null&&Dl!==void 0?Dl:Xo}var Ps=ia.get(Va);if(Ps){var Il;if(Go===void 0&&(Go=Ps==null?void 0:Ps[ta||Ja.label]),Xo===void 0&&(Xo=(Il=Ps==null?void 0:Ps.key)!==null&&Il!==void 0?Il:Va),gl=Ps==null?void 0:Ps.disabled,Js=Ps==null?void 0:Ps.title,0)var ac}return{label:Go,value:Va,key:Xo,disabled:gl,title:Js}})},[Ja,ta,ia]),Qa=Me(Ra,{value:wa}),ka=(0,ne.Z)(Qa,2),oo=ka[0],Oo=ka[1],So=$e.useMemo(function(){var xi,Qi=Ua(oo);return un==="combobox"&&on((xi=Qi[0])===null||xi===void 0?void 0:xi.value)?[]:Qi},[oo,Ua,un]),jo=Ka(So,ia),ts=(0,ne.Z)(jo,2),_o=ts[0],ks=ts[1],xs=$e.useMemo(function(){if(!un&&_o.length===1){var xi=_o[0];if(xi.value===null&&(xi.label===null||xi.label===void 0))return[]}return _o.map(function(Qi){var Ta;return(0,re.Z)((0,re.Z)({},Qi),{},{label:(Ta=Qi.label)!==null&&Ta!==void 0?Ta:Qi.value})})},[un,_o]),js=$e.useMemo(function(){return new Set(_o.map(function(xi){return xi.value}))},[_o]);$e.useEffect(function(){if(un==="combobox"){var xi,Qi=(xi=_o[0])===null||xi===void 0?void 0:xi.value;Zi(jt(Qi)?String(Qi):"")}},[_o]);var ns=ai(function(xi,Qi){var Ta,Va=Qi!=null?Qi:xi;return Ta={},(0,he.Z)(Ta,Ja.value,xi),(0,he.Z)(Ta,Ja.label,Va),Ta}),Ko=$e.useMemo(function(){if(un!=="tags")return Pa;var xi=(0,Oe.Z)(Pa),Qi=function(Va){return ia.has(Va)};return(0,Oe.Z)(_o).sort(function(Ta,Va){return Ta.value<Va.value?-1:1}).forEach(function(Ta){var Va=Ta.value;Qi(Va)||xi.push(ns(Va,Ta.label))}),xi},[ns,Pa,ia,_o,un]),ws=ca(Ko,Ja,Sa,vs,ha),ss=$e.useMemo(function(){return un!=="tags"||!Sa||ws.some(function(xi){return xi[ha||"value"]===Sa})||ws.some(function(xi){return xi[Ja.value]===Sa})?ws:[ns(Sa)].concat((0,Oe.Z)(ws))},[ns,ha,un,ws,Sa,Ja]),qo=$e.useMemo(function(){return oa?(0,Oe.Z)(ss).sort(function(xi,Qi){return oa(xi,Qi)}):ss},[ss,oa]),Ls=$e.useMemo(function(){return gi(qo,{fieldNames:Ja,childrenAsData:Io})},[qo,Ja,Io]),Es=function(Qi){var Ta=Ua(Qi);if(Oo(Ta),Ga&&(Ta.length!==_o.length||Ta.some(function(Xo,gl){var Js;return((Js=_o[gl])===null||Js===void 0?void 0:Js.value)!==(Xo==null?void 0:Xo.value)}))){var Va=Fa?Ta:Ta.map(function(Xo){return Xo.value}),Go=Ta.map(function(Xo){return ma(ks(Xo.value))});Ga(no?Va:Va[0],no?Go:Go[0])}},Qo=$e.useState(null),Zs=(0,ne.Z)(Qo,2),Ol=Zs[0],xl=Zs[1],ls=$e.useState(0),Co=(0,ne.Z)(ls,2),cs=Co[0],Gs=Co[1],tl=xa!==void 0?xa:un!=="combobox",Jo=$e.useCallback(function(xi,Qi){var Ta=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Va=Ta.source,Go=Va===void 0?"keyboard":Va;Gs(Qi),Mn&&un==="combobox"&&xi!==null&&Go==="keyboard"&&xl(String(xi))},[Mn,un]),No=function(Qi,Ta,Va){var Go=function(){var Rl,Bl=ks(Qi);return[Fa?{label:Bl==null?void 0:Bl[Ja.label],value:Qi,key:(Rl=Bl==null?void 0:Bl.key)!==null&&Rl!==void 0?Rl:Qi}:Qi,ma(Bl)]};if(Ta&&Yr){var Xo=Go(),gl=(0,ne.Z)(Xo,2),Js=gl[0],Dl=gl[1];Yr(Js,Dl)}else if(!Ta&&ci&&Va!=="clear"){var Ps=Go(),Il=(0,ne.Z)(Ps,2),ac=Il[0],oc=Il[1];ci(ac,oc)}},Zo=ai(function(xi,Qi){var Ta,Va=no?Qi.selected:!0;Va?Ta=no?[].concat((0,Oe.Z)(_o),[xi]):[xi]:Ta=_o.filter(function(Go){return Go.value!==xi}),Es(Ta),No(xi,Va),un==="combobox"?xl(""):(!$i||wi)&&(Zi(""),xl(""))}),Ks=function(Qi,Ta){Es(Qi);var Va=Ta.type,Go=Ta.values;(Va==="remove"||Va==="clear")&&Go.forEach(function(Xo){No(Xo.value,!1,Va)})},As=function(Qi,Ta){if(Zi(Qi),xl(null),Ta.source==="submit"){var Va=(Qi||"").trim();if(Va){var Go=Array.from(new Set([].concat((0,Oe.Z)(js),[Va])));Es(Go),No(Va,!0),Zi("")}return}Ta.source!=="blur"&&(un==="combobox"&&Es(Qi),Jr==null||Jr(Qi))},zs=function(Qi){var Ta=Qi;un!=="tags"&&(Ta=Qi.map(function(Go){var Xo=Gi.get(Go);return Xo==null?void 0:Xo.value}).filter(function(Go){return Go!==void 0}));var Va=Array.from(new Set([].concat((0,Oe.Z)(js),(0,Oe.Z)(Ta))));Es(Va),Va.forEach(function(Go){No(Go,!0)})},eo=$e.useMemo(function(){var xi=li!==!1&&Ci!==!1;return(0,re.Z)((0,re.Z)({},bi),{},{flattenOptions:Ls,onActiveValue:Jo,defaultActiveFirstOption:tl,onSelect:Zo,menuItemSelectedIcon:Ma,rawValues:js,fieldNames:Ja,virtual:xi,direction:fi,listHeight:Ia,listItemHeight:Ca,childrenAsData:Io})},[bi,Ls,Jo,tl,Zo,Ma,js,Ja,li,Ci,Ia,Ca,Io]);return $e.createElement(Ln.Provider,{value:eo},$e.createElement(ya,(0,ae.Z)({},qa,{id:Wo,prefixCls:Pn,ref:Lt,omitDomProps:Vn,mode:un,displayValues:xs,onDisplayValuesChange:Ks,direction:fi,searchValue:Sa,onSearch:As,autoClearSearchValue:wi,onSearchSplit:zs,dropdownMatchSelectWidth:Ci,OptionList:Tt,emptyOptions:!Ls.length,activeValue:Ol,activeDescendantId:"".concat(Wo,"_list_").concat(cs)})))}),On=Xn;On.Option=ji,On.OptGroup=Li;var In=null,En=null,Hn=ve(17341);function mr(Ct){var Lt=$e.useRef(!1),dn=$e.useState(Ct),un=(0,ne.Z)(dn,2),Un=un[0],Pn=un[1];$e.useEffect(function(){return Lt.current=!1,function(){Lt.current=!0}},[]);function Mn(nr,rr){rr&&Lt.current||Pn(nr)}return[Un,Mn]}function Qn(Ct){return Ct!==void 0}function or(Ct,Lt){var dn=Lt||{},un=dn.defaultValue,Un=dn.value,Pn=dn.onChange,Mn=dn.postState,nr=mr(function(){return Qn(Un)?Un:Qn(un)?typeof un=="function"?un():un:typeof Ct=="function"?Ct():Ct}),rr=(0,ne.Z)(nr,2),vr=rr[0],Jr=rr[1],zr=Un!==void 0?Un:vr,wi=Mn?Mn(zr):zr,Yr=bn(Pn),ci=mr([zr]),ei=(0,ne.Z)(ci,2),Ci=ei[0],Vi=ei[1];ze(function(){var ha=Ci[0];vr!==ha&&Yr(vr,ha)},[Ci]),ze(function(){Qn(Un)||Jr(Un)},[Un]);var oa=bn(function(ha,ta){Jr(ha,ta),Vi([zr],ta)});return[wi,oa]}var ur=$e.createContext(null),yr=ur,Sr="__rc_cascader_search_mark__",kt=function(Lt,dn,un){var Un=un.label;return dn.some(function(Pn){return String(Pn[Un]).toLowerCase().includes(Lt.toLowerCase())})},It=function(Lt,dn,un,Un){return dn.map(function(Pn){return Pn[Un.label]}).join(" / ")},en=function(Ct,Lt,dn,un,Un,Pn){var Mn=Un.filter,nr=Mn===void 0?kt:Mn,rr=Un.render,vr=rr===void 0?It:rr,Jr=Un.limit,zr=Jr===void 0?50:Jr,wi=Un.sort;return $e.useMemo(function(){var Yr=[];if(!Ct)return[];function ci(ei,Ci){var Vi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ei.forEach(function(oa){if(!(!wi&&zr!==!1&&zr>0&&Yr.length>=zr)){var ha=[].concat((0,Oe.Z)(Ci),[oa]),ta=oa[dn.children],ba=Vi||oa.disabled;if((!ta||ta.length===0||Pn)&&nr(Ct,ha,{label:dn.label})){var Ki;Yr.push((0,re.Z)((0,re.Z)({},oa),{},(Ki={disabled:ba},(0,he.Z)(Ki,dn.label,vr(Ct,ha,un,dn)),(0,he.Z)(Ki,Sr,ha),(0,he.Z)(Ki,dn.children,void 0),Ki)))}ta&&ci(oa[dn.children],ha,ba)}})}return ci(Lt,[]),wi&&Yr.sort(function(ei,Ci){return wi(ei[Sr],Ci[Sr],Ct,dn)}),zr!==!1&&zr>0?Yr.slice(0,zr):Yr},[Ct,Lt,dn,un,vr,Pn,nr,wi,zr])},Xt="__RC_CASCADER_SPLIT__",wn="SHOW_PARENT",zn="SHOW_CHILD";function _n(Ct){return Ct.join(Xt)}function dr(Ct){return Ct.map(_n)}function Zt(Ct){return Ct.split(Xt)}function Ht(Ct){var Lt=Ct||{},dn=Lt.label,un=Lt.value,Un=Lt.children,Pn=un||"value";return{label:dn||"label",value:Pn,key:Pn,children:Un||"children"}}function Yt(Ct,Lt){var dn,un;return(dn=Ct.isLeaf)!==null&&dn!==void 0?dn:!((un=Ct[Lt.children])!==null&&un!==void 0&&un.length)}function Cn(Ct){var Lt=Ct.parentElement;if(Lt){var dn=Ct.offsetTop-Lt.offsetTop;dn-Lt.scrollTop<0?Lt.scrollTo({top:dn}):dn+Ct.offsetHeight-Lt.scrollTop>Lt.offsetHeight&&Lt.scrollTo({top:dn+Ct.offsetHeight-Lt.offsetHeight})}}function sr(Ct,Lt){return Ct.map(function(dn){var un;return(un=dn[Sr])===null||un===void 0?void 0:un.map(function(Un){return Un[Lt.value]})})}function Wn(Ct,Lt,dn){var un=new Set(Ct),Un=Lt();return Ct.filter(function(Pn){var Mn=Un[Pn],nr=Mn?Mn.parent:null,rr=Mn?Mn.children:null;return Mn&&Mn.node.disabled?!0:dn===zn?!(rr&&rr.some(function(vr){return vr.key&&un.has(vr.key)})):!(nr&&!nr.node.disabled&&un.has(nr.key))})}function Dn(Ct,Lt,dn){for(var un=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Un=Lt,Pn=[],Mn=function(){var vr,Jr,zr,wi=Ct[nr],Yr=(vr=Un)===null||vr===void 0?void 0:vr.findIndex(function(ei){var Ci=ei[dn.value];return un?String(Ci)===String(wi):Ci===wi}),ci=Yr!==-1?(Jr=Un)===null||Jr===void 0?void 0:Jr[Yr]:null;Pn.push({value:(zr=ci==null?void 0:ci[dn.value])!==null&&zr!==void 0?zr:wi,index:Yr,option:ci}),Un=ci==null?void 0:ci[dn.children]},nr=0;nr<Ct.length;nr+=1)Mn();return Pn}var kr=function(Ct,Lt,dn,un,Un){return $e.useMemo(function(){var Pn=Un||function(Mn){var nr=un?Mn.slice(-1):Mn,rr=" / ";return nr.every(function(vr){return["string","number"].includes((0,se.Z)(vr))})?nr.join(rr):nr.reduce(function(vr,Jr,zr){var wi=$e.isValidElement(Jr)?$e.cloneElement(Jr,{key:zr}):Jr;return zr===0?[wi]:[].concat((0,Oe.Z)(vr),[rr,wi])},[])};return Ct.map(function(Mn){var nr,rr,vr=Dn(Mn,Lt,dn),Jr=Pn(vr.map(function(wi){var Yr,ci=wi.option,ei=wi.value;return(Yr=ci==null?void 0:ci[dn.label])!==null&&Yr!==void 0?Yr:ei}),vr.map(function(wi){var Yr=wi.option;return Yr})),zr=_n(Mn);return{label:Jr,value:zr,key:zr,valueCells:Mn,disabled:(nr=vr[vr.length-1])===null||nr===void 0||(rr=nr.option)===null||rr===void 0?void 0:rr.disabled}})},[Ct,Lt,dn,Un,un])},Er=ve(1089),Rr=function(Ct,Lt){var dn=$e.useRef({options:null,info:null}),un=$e.useCallback(function(){return dn.current.options!==Ct&&(dn.current.options=Ct,dn.current.info=(0,Er.I8)(Ct,{fieldNames:Lt,initWrapper:function(Pn){return(0,re.Z)((0,re.Z)({},Pn),{},{pathKeyEntities:{}})},processEntity:function(Pn,Mn){var nr=Pn.nodes.map(function(rr){return rr[Lt.value]}).join(Xt);Mn.pathKeyEntities[nr]=Pn,Pn.key=nr}})),dn.current.info.pathKeyEntities},[Lt,Ct]);return un},br=function(Ct,Lt){return $e.useCallback(function(dn){var un=[],Un=[];return dn.forEach(function(Pn){var Mn=Dn(Pn,Ct,Lt);Mn.every(function(nr){return nr.option})?Un.push(Pn):un.push(Pn)}),[Un,un]},[Ct,Lt])},tr={},Nr=[],Qr=function(Lt){Nr.push(Lt)};function _r(Ct,Lt){if(0)var dn}function Fr(Ct,Lt){if(0)var dn}function jr(){tr={}}function Pi(Ct,Lt,dn){!Lt&&!tr[dn]&&(Ct(!1,dn),tr[dn]=!0)}function di(Ct,Lt){Pi(_r,Ct,Lt)}function Ai(Ct,Lt){Pi(Fr,Ct,Lt)}di.preMessage=Qr,di.resetWarned=jr,di.noteOnce=Ai;var Ti=null;function Hi(Ct){return $e.useMemo(function(){if(!Ct)return[!1,{}];var Lt={matchInputWidth:!0,limit:50};return Ct&&(0,se.Z)(Ct)==="object"&&(Lt=(0,re.Z)((0,re.Z)({},Lt),Ct)),Lt.limit<=0&&delete Lt.limit,[!0,Lt]},[Ct])}var Oi=$e.memo(function(Ct){var Lt=Ct.children;return Lt},function(Ct,Lt){return!Lt.open}),ua=Oi;function Ni(Ct){var Lt,dn=Ct.prefixCls,un=Ct.checked,Un=Ct.halfChecked,Pn=Ct.disabled,Mn=Ct.onClick,nr=Ct.disableCheckbox,rr=$e.useContext(yr),vr=rr.checkable,Jr=typeof vr!="boolean"?vr:null;return $e.createElement("span",{className:te()("".concat(dn),(Lt={},(0,he.Z)(Lt,"".concat(dn,"-checked"),un),(0,he.Z)(Lt,"".concat(dn,"-indeterminate"),!un&&Un),(0,he.Z)(Lt,"".concat(dn,"-disabled"),Pn||nr),Lt)),onClick:Mn},Jr)}var mi="__cascader_fix_label__";function ea(Ct){var Lt=Ct.prefixCls,dn=Ct.multiple,un=Ct.options,Un=Ct.activeValue,Pn=Ct.prevValuePath,Mn=Ct.onToggleOpen,nr=Ct.onSelect,rr=Ct.onActive,vr=Ct.checkedSet,Jr=Ct.halfCheckedSet,zr=Ct.loadingKeys,wi=Ct.isSelectable,Yr=Ct.searchValue,ci="".concat(Lt,"-menu"),ei="".concat(Lt,"-menu-item"),Ci=$e.useContext(yr),Vi=Ci.fieldNames,oa=Ci.changeOnSelect,ha=Ci.expandTrigger,ta=Ci.expandIcon,ba=Ci.loadingIcon,Ki=Ci.dropdownMenuColumnStyle,xa=ha==="hover",Ma=$e.useMemo(function(){return un.map(function(li){var fi,Di=li.disabled,Ia=li.disableCheckbox,va=li[Sr],Ca=(fi=li[mi])!==null&&fi!==void 0?fi:li[Vi.label],wa=li[Vi.value],Ra=Yt(li,Vi),Fa=va?va.map(function(Io){return Io[Vi.value]}):[].concat((0,Oe.Z)(Pn),[wa]),Ga=_n(Fa),qa=zr.includes(Ga),Wo=vr.has(Ga),no=Jr.has(Ga);return{disabled:Di,label:Ca,value:wa,isLeaf:Ra,isLoading:qa,checked:Wo,halfChecked:no,option:li,disableCheckbox:Ia,fullPath:Fa,fullPathKey:Ga}})},[un,vr,Vi,Jr,zr,Pn]);return $e.createElement("ul",{className:ci,role:"menu"},Ma.map(function(li){var fi,Di=li.disabled,Ia=li.label,va=li.value,Ca=li.isLeaf,wa=li.isLoading,Ra=li.checked,Fa=li.halfChecked,Ga=li.option,qa=li.fullPath,Wo=li.fullPathKey,no=li.disableCheckbox,Io=function(){if(!(Di||Yr)){var ra=(0,Oe.Z)(qa);xa&&Ca&&ra.pop(),rr(ra)}},vs=function(){wi(Ga)&&nr(qa,Ca)},Ja;return typeof Ga.title=="string"?Ja=Ga.title:typeof Ia=="string"&&(Ja=Ia),$e.createElement("li",{key:Wo,className:te()(ei,(fi={},(0,he.Z)(fi,"".concat(ei,"-expand"),!Ca),(0,he.Z)(fi,"".concat(ei,"-active"),Un===va||Un===Wo),(0,he.Z)(fi,"".concat(ei,"-disabled"),Di),(0,he.Z)(fi,"".concat(ei,"-loading"),wa),fi)),style:Ki,role:"menuitemcheckbox",title:Ja,"aria-checked":Ra,"data-path-key":Wo,onClick:function(){Io(),!no&&(!dn||Ca)&&vs()},onDoubleClick:function(){oa&&Mn(!1)},onMouseEnter:function(){xa&&Io()},onMouseDown:function(ra){ra.preventDefault()}},dn&&$e.createElement(Ni,{prefixCls:"".concat(Lt,"-checkbox"),checked:Ra,halfChecked:Fa,disabled:Di||no,disableCheckbox:no,onClick:function(ra){no||(ra.stopPropagation(),vs())}}),$e.createElement("div",{className:"".concat(ei,"-content")},Ia),!wa&&ta&&!Ca&&$e.createElement("div",{className:"".concat(ei,"-expand-icon")},ta),wa&&ba&&$e.createElement("div",{className:"".concat(ei,"-loading-icon")},ba))}))}var da=function(){var Ct=rt(),Lt=Ct.multiple,dn=Ct.open,un=$e.useContext(yr),Un=un.values,Pn=$e.useState([]),Mn=(0,ne.Z)(Pn,2),nr=Mn[0],rr=Mn[1];return $e.useEffect(function(){if(dn&&!Lt){var vr=Un[0];rr(vr||[])}},[dn]),[nr,rr]},Si={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(Lt){var dn=Lt.keyCode;if(Lt.altKey&&!Lt.ctrlKey||Lt.metaKey||dn>=Si.F1&&dn<=Si.F12)return!1;switch(dn){case Si.ALT:case Si.CAPS_LOCK:case Si.CONTEXT_MENU:case Si.CTRL:case Si.DOWN:case Si.END:case Si.ESC:case Si.HOME:case Si.INSERT:case Si.LEFT:case Si.MAC_FF_META:case Si.META:case Si.NUMLOCK:case Si.NUM_CENTER:case Si.PAGE_DOWN:case Si.PAGE_UP:case Si.PAUSE:case Si.PRINT_SCREEN:case Si.RIGHT:case Si.SHIFT:case Si.UP:case Si.WIN_KEY:case Si.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Lt){if(Lt>=Si.ZERO&&Lt<=Si.NINE||Lt>=Si.NUM_ZERO&&Lt<=Si.NUM_MULTIPLY||Lt>=Si.A&&Lt<=Si.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Lt===0)return!0;switch(Lt){case Si.SPACE:case Si.QUESTION_MARK:case Si.NUM_PLUS:case Si.NUM_MINUS:case Si.NUM_PERIOD:case Si.NUM_DIVISION:case Si.SEMICOLON:case Si.DASH:case Si.EQUALS:case Si.COMMA:case Si.PERIOD:case Si.SLASH:case Si.APOSTROPHE:case Si.SINGLE_QUOTE:case Si.OPEN_SQUARE_BRACKET:case Si.BACKSLASH:case Si.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},$a=Si,io=function(Ct,Lt,dn,un,Un,Pn){var Mn=rt(),nr=Mn.direction,rr=Mn.searchValue,vr=Mn.toggleOpen,Jr=Mn.open,zr=nr==="rtl",wi=$e.useMemo(function(){for(var Ki=-1,xa=Lt,Ma=[],li=[],fi=un.length,Di=sr(Lt,dn),Ia=function(Ga){var qa=xa.findIndex(function(Wo,no){return(Di[no]?_n(Di[no]):Wo[dn.value])===un[Ga]});if(qa===-1)return"break";Ki=qa,Ma.push(Ki),li.push(un[Ga]),xa=xa[Ki][dn.children]},va=0;va<fi&&xa;va+=1){var Ca=Ia(va);if(Ca==="break")break}for(var wa=Lt,Ra=0;Ra<Ma.length-1;Ra+=1)wa=wa[Ma[Ra]][dn.children];return[li,Ki,wa,Di]},[un,dn,Lt]),Yr=(0,ne.Z)(wi,4),ci=Yr[0],ei=Yr[1],Ci=Yr[2],Vi=Yr[3],oa=function(xa){Un(xa)},ha=function(xa){var Ma=Ci.length,li=ei;li===-1&&xa<0&&(li=Ma);for(var fi=0;fi<Ma;fi+=1){li=(li+xa+Ma)%Ma;var Di=Ci[li];if(Di&&!Di.disabled){var Ia=ci.slice(0,-1).concat(Vi[li]?_n(Vi[li]):Di[dn.value]);oa(Ia);return}}},ta=function(){if(ci.length>1){var xa=ci.slice(0,-1);oa(xa)}else vr(!1)},ba=function(){var xa,Ma=((xa=Ci[ei])===null||xa===void 0?void 0:xa[dn.children])||[],li=Ma.find(function(Di){return!Di.disabled});if(li){var fi=[].concat((0,Oe.Z)(ci),[li[dn.value]]);oa(fi)}};$e.useImperativeHandle(Ct,function(){return{onKeyDown:function(xa){var Ma=xa.which;switch(Ma){case $a.UP:case $a.DOWN:{var li=0;Ma===$a.UP?li=-1:Ma===$a.DOWN&&(li=1),li!==0&&ha(li);break}case $a.LEFT:{if(rr)break;zr?ba():ta();break}case $a.RIGHT:{if(rr)break;zr?ta():ba();break}case $a.BACKSPACE:{rr||ta();break}case $a.ENTER:{if(ci.length){var fi=Ci[ei],Di=(fi==null?void 0:fi[Sr])||[];Di.length?Pn(Di.map(function(Ia){return Ia[dn.value]}),Di[Di.length-1]):Pn(ci,Ci[ei])}break}case $a.ESC:vr(!1),Jr&&xa.stopPropagation()}},onKeyUp:function(){}}})},Za=$e.forwardRef(function(Ct,Lt){var dn,un,Un,Pn,Mn=rt(),nr=Mn.prefixCls,rr=Mn.multiple,vr=Mn.searchValue,Jr=Mn.toggleOpen,zr=Mn.notFoundContent,wi=Mn.direction,Yr=Mn.open,ci=$e.useRef(),ei=wi==="rtl",Ci=$e.useContext(yr),Vi=Ci.options,oa=Ci.values,ha=Ci.halfValues,ta=Ci.fieldNames,ba=Ci.changeOnSelect,Ki=Ci.onSelect,xa=Ci.searchOptions,Ma=Ci.dropdownPrefixCls,li=Ci.loadData,fi=Ci.expandTrigger,Di=Ma||nr,Ia=$e.useState([]),va=(0,ne.Z)(Ia,2),Ca=va[0],wa=va[1],Ra=function(ka){if(!(!li||vr)){var oo=Dn(ka,Vi,ta),Oo=oo.map(function(ts){var _o=ts.option;return _o}),So=Oo[Oo.length-1];if(So&&!Yt(So,ta)){var jo=_n(ka);wa(function(ts){return[].concat((0,Oe.Z)(ts),[jo])}),li(Oo)}}};$e.useEffect(function(){Ca.length&&Ca.forEach(function(Qa){var ka=Zt(Qa),oo=Dn(ka,Vi,ta,!0).map(function(So){var jo=So.option;return jo}),Oo=oo[oo.length-1];(!Oo||Oo[ta.children]||Yt(Oo,ta))&&wa(function(So){return So.filter(function(jo){return jo!==Qa})})})},[Vi,Ca,ta]);var Fa=$e.useMemo(function(){return new Set(dr(oa))},[oa]),Ga=$e.useMemo(function(){return new Set(dr(ha))},[ha]),qa=da(),Wo=(0,ne.Z)(qa,2),no=Wo[0],Io=Wo[1],vs=function(ka){Io(ka),Ra(ka)},Ja=function(ka){var oo=ka.disabled,Oo=Yt(ka,ta);return!oo&&(Oo||ba||rr)},na=function(ka,oo){var Oo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Ki(ka),!rr&&(oo||ba&&(fi==="hover"||Oo))&&Jr(!1)},ra=$e.useMemo(function(){return vr?xa:Vi},[vr,xa,Vi]),Sa=$e.useMemo(function(){for(var Qa=[{options:ra}],ka=ra,oo=sr(ka,ta),Oo=function(){var _o=no[So],ks=ka.find(function(js,ns){return(oo[ns]?_n(oo[ns]):js[ta.value])===_o}),xs=ks==null?void 0:ks[ta.children];if(!(xs!=null&&xs.length))return"break";ka=xs,Qa.push({options:xs})},So=0;So<no.length;So+=1){var jo=Oo();if(jo==="break")break}return Qa},[ra,no,ta]),Zi=function(ka,oo){Ja(oo)&&na(ka,Yt(oo,ta),!0)};io(Lt,ra,ta,no,vs,Zi),$e.useEffect(function(){for(var Qa=0;Qa<no.length;Qa+=1){var ka,oo=no.slice(0,Qa+1),Oo=_n(oo),So=(ka=ci.current)===null||ka===void 0?void 0:ka.querySelector('li[data-path-key="'.concat(Oo.replace(/\\{0,2}"/g,'\\"'),'"]'));So&&Cn(So)}},[no]);var bi=!((dn=Sa[0])!==null&&dn!==void 0&&(un=dn.options)!==null&&un!==void 0&&un.length),ia=[(Un={},(0,he.Z)(Un,ta.value,"__EMPTY__"),(0,he.Z)(Un,mi,zr),(0,he.Z)(Un,"disabled",!0),Un)],Gi=(0,re.Z)((0,re.Z)({},Ct),{},{multiple:!bi&&rr,onSelect:na,onActive:vs,onToggleOpen:Jr,checkedSet:Fa,halfCheckedSet:Ga,loadingKeys:Ca,isSelectable:Ja}),Pa=bi?[{options:ia}]:Sa,Ua=Pa.map(function(Qa,ka){var oo=no.slice(0,ka),Oo=no[ka];return $e.createElement(ea,(0,ae.Z)({key:ka},Gi,{searchValue:vr,prefixCls:Di,options:Qa.options,prevValuePath:oo,activeValue:Oo}))});return $e.createElement(ua,{open:Yr},$e.createElement("div",{className:te()("".concat(Di,"-menus"),(Pn={},(0,he.Z)(Pn,"".concat(Di,"-menu-empty"),bi),(0,he.Z)(Pn,"".concat(Di,"-rtl"),ei),Pn)),ref:ci},Ua))}),Ea=Za;function Yi(Ct){var Lt=Ct.onPopupVisibleChange,dn=Ct.popupVisible,un=Ct.popupClassName,Un=Ct.popupPlacement;warning(!Lt,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(dn===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(un===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Un===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function xo(Ct,Lt){if(Ct){var dn=function un(Un){for(var Pn=0;Pn<Un.length;Pn++){var Mn=Un[Pn];if(Mn[Lt==null?void 0:Lt.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(Mn[Lt==null?void 0:Lt.children])&&un(Mn[Lt==null?void 0:Lt.children]))return!0}};dn(Ct)}}var Da=null,Fi=["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 Ba(Ct){return Array.isArray(Ct)&&Array.isArray(Ct[0])}function lo(Ct){return Ct?Ba(Ct)?Ct:(Ct.length===0?[]:[Ct]).map(function(Lt){return Array.isArray(Lt)?Lt:[Lt]}):[]}var za=$e.forwardRef(function(Ct,Lt){var dn=Ct.id,un=Ct.prefixCls,Un=un===void 0?"rc-cascader":un,Pn=Ct.fieldNames,Mn=Ct.defaultValue,nr=Ct.value,rr=Ct.changeOnSelect,vr=Ct.onChange,Jr=Ct.displayRender,zr=Ct.checkable,wi=Ct.autoClearSearchValue,Yr=wi===void 0?!0:wi,ci=Ct.searchValue,ei=Ct.onSearch,Ci=Ct.showSearch,Vi=Ct.expandTrigger,oa=Ct.options,ha=Ct.dropdownPrefixCls,ta=Ct.loadData,ba=Ct.popupVisible,Ki=Ct.open,xa=Ct.popupClassName,Ma=Ct.dropdownClassName,li=Ct.dropdownMenuColumnStyle,fi=Ct.popupPlacement,Di=Ct.placement,Ia=Ct.onDropdownVisibleChange,va=Ct.onPopupVisibleChange,Ca=Ct.expandIcon,wa=Ca===void 0?">":Ca,Ra=Ct.loadingIcon,Fa=Ct.children,Ga=Ct.dropdownMatchSelectWidth,qa=Ga===void 0?!1:Ga,Wo=Ct.showCheckedStrategy,no=Wo===void 0?wn:Wo,Io=(0,oe.Z)(Ct,Fi),vs=Wi(dn),Ja=!!zr,na=or(Mn,{value:nr,postState:lo}),ra=(0,ne.Z)(na,2),Sa=ra[0],Zi=ra[1],bi=$e.useMemo(function(){return Ht(Pn)},[JSON.stringify(Pn)]),ia=$e.useMemo(function(){return oa||[]},[oa]),Gi=Rr(ia,bi),Pa=$e.useCallback(function(Jo){var No=Gi();return Jo.map(function(Zo){var Ks=No[Zo].nodes;return Ks.map(function(As){return As[bi.value]})})},[Gi,bi]),Ua=or("",{value:ci,postState:function(No){return No||""}}),Qa=(0,ne.Z)(Ua,2),ka=Qa[0],oo=Qa[1],Oo=function(No,Zo){oo(No),Zo.source!=="blur"&&ei&&ei(No)},So=Hi(Ci),jo=(0,ne.Z)(So,2),ts=jo[0],_o=jo[1],ks=en(ka,ia,bi,ha||Un,_o,rr),xs=br(ia,bi),js=$e.useMemo(function(){var Jo=xs(Sa),No=(0,ne.Z)(Jo,2),Zo=No[0],Ks=No[1];if(!Ja||!Sa.length)return[Zo,[],Ks];var As=dr(Zo),zs=Gi(),eo=(0,Hn.S)(As,!0,zs),xi=eo.checkedKeys,Qi=eo.halfCheckedKeys;return[Pa(xi),Pa(Qi),Ks]},[Ja,Sa,Gi,Pa,xs]),ns=(0,ne.Z)(js,3),Ko=ns[0],ws=ns[1],ss=ns[2],qo=$e.useMemo(function(){var Jo=dr(Ko),No=Wn(Jo,Gi,no);return[].concat((0,Oe.Z)(ss),(0,Oe.Z)(Pa(No)))},[Ko,Gi,Pa,ss,no]),Ls=kr(qo,ia,bi,Ja,Jr),Es=bn(function(Jo){if(Zi(Jo),vr){var No=lo(Jo),Zo=No.map(function(zs){return Dn(zs,ia,bi).map(function(eo){return eo.option})}),Ks=Ja?No:No[0],As=Ja?Zo:Zo[0];vr(Ks,As)}}),Qo=bn(function(Jo){if((!Ja||Yr)&&oo(""),!Ja)Es(Jo);else{var No=_n(Jo),Zo=dr(Ko),Ks=dr(ws),As=Zo.includes(No),zs=ss.some(function(Js){return _n(Js)===No}),eo=Ko,xi=ss;if(zs&&!As)xi=ss.filter(function(Js){return _n(Js)!==No});else{var Qi=As?Zo.filter(function(Js){return Js!==No}):[].concat((0,Oe.Z)(Zo),[No]),Ta=Gi(),Va;if(As){var Go=(0,Hn.S)(Qi,{checked:!1,halfCheckedKeys:Ks},Ta);Va=Go.checkedKeys}else{var Xo=(0,Hn.S)(Qi,!0,Ta);Va=Xo.checkedKeys}var gl=Wn(Va,Gi,no);eo=Pa(gl)}Es([].concat((0,Oe.Z)(xi),(0,Oe.Z)(eo)))}}),Zs=function(No,Zo){if(Zo.type==="clear"){Es([]);return}var Ks=Zo.values[0],As=Ks.valueCells;Qo(As)},Ol=Ki!==void 0?Ki:ba,xl=Ma||xa,ls=Di||fi,Co=function(No){Ia==null||Ia(No),va==null||va(No)},cs=$e.useMemo(function(){return{options:ia,fieldNames:bi,values:Ko,halfValues:ws,changeOnSelect:rr,onSelect:Qo,checkable:zr,searchOptions:ks,dropdownPrefixCls:ha,loadData:ta,expandTrigger:Vi,expandIcon:wa,loadingIcon:Ra,dropdownMenuColumnStyle:li}},[ia,bi,Ko,ws,rr,Qo,zr,ks,ha,ta,Vi,wa,Ra,li]),Gs=!(ka?ks:ia).length,tl=ka&&_o.matchInputWidth||Gs?{}:{minWidth:"auto"};return $e.createElement(yr.Provider,{value:cs},$e.createElement(ya,(0,ae.Z)({},Io,{ref:Lt,id:vs,prefixCls:Un,autoClearSearchValue:Yr,dropdownMatchSelectWidth:qa,dropdownStyle:tl,displayValues:Ls,onDisplayValuesChange:Zs,mode:Ja?"multiple":void 0,searchValue:ka,onSearch:Oo,showSearch:ts,OptionList:Ea,emptyOptions:Gs,open:Ol,dropdownClassName:xl,placement:ls,onDropdownVisibleChange:Co,getRawInputElement:function(){return Fa}})))});za.SHOW_PARENT=wn,za.SHOW_CHILD=zn;var ao=za,pa=ao,po=ve(10366),mo=ve(33603),fo=ve(8745),vo=ve(9708),Mo=ve(53124),Ho=ve(88258),ho=ve(98866),ko=ve(98675),$o=ve(65223),Yo=ve(87244),as=ve(13458),Bo=ve(78642),wo=ve(46163),La=ve(4173),Ha=ve(63185),uo=ve(14747),bo=ve(80110),Fo=ve(67968);const es=Ct=>{const{prefixCls:Lt,componentCls:dn,antCls:un}=Ct,Un=`${dn}-menu-item`,Pn=`
&${Un}-expand ${Un}-expand-icon,
${Un}-loading-icon
`;return[{[dn]:{width:Ct.controlWidth}},{[`${dn}-dropdown`]:[(0,Ha.C2)(`${Lt}-checkbox`,Ct),{[`&${un}-select-dropdown`]:{padding:0}},{[dn]:{"&-checkbox":{top:0,marginInlineEnd:Ct.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${dn}-menu-empty`]:{[`${dn}-menu`]:{width:"100%",height:"auto",[Un]:{color:Ct.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Ct.controlItemWidth,height:Ct.dropdownHeight,margin:0,padding:Ct.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Ct.lineWidth}px ${Ct.lineType} ${Ct.colorSplit}`},"&-item":Object.assign(Object.assign({},uo.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Ct.optionPadding,lineHeight:Ct.lineHeight,cursor:"pointer",transition:`all ${Ct.motionDurationMid}`,borderRadius:Ct.borderRadiusSM,"&:hover":{background:Ct.controlItemBgHover},"&-disabled":{color:Ct.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Pn]:{color:Ct.colorTextDisabled}},[`&-active:not(${Un}-disabled)`]:{"&, &:hover":{fontWeight:Ct.optionSelectedFontWeight,backgroundColor:Ct.optionSelectedBg}},"&-content":{flex:"auto"},[Pn]:{marginInlineStart:Ct.paddingXXS,color:Ct.colorTextDescription,fontSize:Ct.fontSizeIcon},"&-keyword":{color:Ct.colorHighlight}})}}}]},{[`${dn}-dropdown-rtl`]:{direction:"rtl"}},(0,bo.c)(Ct)]};var ms=(0,Fo.Z)("Cascader",Ct=>[es(Ct)],Ct=>{const Lt=Math.round((Ct.controlHeight-Ct.fontSize*Ct.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Ct.controlItemBgActive,optionSelectedFontWeight:Ct.fontWeightStrong,optionPadding:`${Lt}px ${Ct.paddingSM}px`,menuPadding:Ct.paddingXXS}}),_s=function(Ct,Lt){var dn={};for(var un in Ct)Object.prototype.hasOwnProperty.call(Ct,un)&&Lt.indexOf(un)<0&&(dn[un]=Ct[un]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Un=0,un=Object.getOwnPropertySymbols(Ct);Un<un.length;Un++)Lt.indexOf(un[Un])<0&&Object.prototype.propertyIsEnumerable.call(Ct,un[Un])&&(dn[un[Un]]=Ct[un[Un]]);return dn};const{SHOW_CHILD:Fs,SHOW_PARENT:os}=pa;function Is(Ct,Lt,dn){const un=Ct.toLowerCase().split(Lt).reduce((Mn,nr,rr)=>rr===0?[nr]:[].concat((0,Oe.Z)(Mn),[Lt,nr]),[]),Un=[];let Pn=0;return un.forEach((Mn,nr)=>{const rr=Pn+Mn.length;let vr=Ct.slice(Pn,rr);Pn=rr,nr%2===1&&(vr=$e.createElement("span",{className:`${dn}-menu-item-keyword`,key:`separator-${nr}`},vr)),Un.push(vr)}),Un}const to=(Ct,Lt,dn,un)=>{const Un=[],Pn=Ct.toLowerCase();return Lt.forEach((Mn,nr)=>{nr!==0&&Un.push(" / ");let rr=Mn[un.label];const vr=typeof rr;(vr==="string"||vr==="number")&&(rr=Is(String(rr),Pn,dn)),Un.push(rr)}),Un},Aa=$e.forwardRef((Ct,Lt)=>{const{prefixCls:dn,size:un,disabled:Un,className:Pn,rootClassName:Mn,multiple:nr,bordered:rr=!0,transitionName:vr,choiceTransitionName:Jr="",popupClassName:zr,dropdownClassName:wi,expandIcon:Yr,placement:ci,showSearch:ei,allowClear:Ci=!0,notFoundContent:Vi,direction:oa,getPopupContainer:ha,status:ta,showArrow:ba,builtinPlacements:Ki,style:xa}=Ct,Ma=_s(Ct,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),li=(0,po.Z)(Ma,["suffixIcon"]),{getPopupContainer:fi,getPrefixCls:Di,renderEmpty:Ia,direction:va,popupOverflow:Ca,cascader:wa}=$e.useContext(Mo.E_),Ra=oa||va,Fa=Ra==="rtl",{status:Ga,hasFeedback:qa,isFormItemInput:Wo,feedbackIcon:no}=$e.useContext($o.aM),Io=(0,vo.F)(Ga,ta),vs=Vi||(Ia==null?void 0:Ia("Cascader"))||$e.createElement(Ho.Z,{componentName:"Cascader"}),Ja=Di(),na=Di("select",dn),ra=Di("cascader",dn),[Sa,Zi]=(0,Yo.Z)(na),[bi]=ms(ra),{compactSize:ia,compactItemClassnames:Gi}=(0,La.ri)(na,oa),Pa=te()(zr||wi,`${ra}-dropdown`,{[`${ra}-dropdown-rtl`]:Ra==="rtl"},Mn,Zi),Ua=$e.useMemo(()=>{if(!ei)return ei;let ss={render:to};return typeof ei=="object"&&(ss=Object.assign(Object.assign({},ss),ei)),ss},[ei]),Qa=(0,ko.Z)(ss=>{var qo;return(qo=un!=null?un:ia)!==null&&qo!==void 0?qo:ss}),ka=$e.useContext(ho.Z),oo=Un!=null?Un:ka;let Oo=Yr;Yr||(Oo=Fa?$e.createElement(x.Z,null):$e.createElement(me.Z,null));const So=$e.createElement("span",{className:`${na}-menu-item-loading-icon`},$e.createElement(Te.Z,{spin:!0})),jo=$e.useMemo(()=>nr?$e.createElement("span",{className:`${ra}-checkbox-inner`}):!1,[nr]),ts=(0,Bo.Z)(Ct.suffixIcon,ba),{suffixIcon:_o,removeIcon:ks,clearIcon:xs}=(0,wo.Z)(Object.assign(Object.assign({},Ct),{hasFeedback:qa,feedbackIcon:no,showSuffixIcon:ts,multiple:nr,prefixCls:na,componentName:"Cascader"})),js=$e.useMemo(()=>ci!==void 0?ci:Fa?"bottomRight":"bottomLeft",[ci,Fa]),ns=(0,as.Z)(Ki,Ca),Ko=Ci===!0?{clearIcon:xs}:Ci,ws=$e.createElement(pa,Object.assign({prefixCls:na,className:te()(!dn&&ra,{[`${na}-lg`]:Qa==="large",[`${na}-sm`]:Qa==="small",[`${na}-rtl`]:Fa,[`${na}-borderless`]:!rr,[`${na}-in-form-item`]:Wo},(0,vo.Z)(na,Io,qa),Gi,wa==null?void 0:wa.className,Pn,Mn,Zi),disabled:oo,style:Object.assign(Object.assign({},wa==null?void 0:wa.style),xa)},li,{builtinPlacements:ns,direction:Ra,placement:js,notFoundContent:vs,allowClear:Ko,showSearch:Ua,expandIcon:Oo,suffixIcon:_o,removeIcon:ks,loadingIcon:So,checkable:jo,dropdownClassName:Pa,dropdownPrefixCls:dn||ra,choiceTransitionName:(0,mo.m)(Ja,"",Jr),transitionName:(0,mo.m)(Ja,"slide-up",vr),getPopupContainer:ha||fi,ref:Lt}));return bi(Sa(ws))}),Do=(0,fo.Z)(Aa);Aa.SHOW_PARENT=os,Aa.SHOW_CHILD=Fs,Aa._InternalPanelDoNotUseOrYouWillBeFired=Do;var To=Aa},84567:function(tn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return Fe}});var Oe=ve(94184),$e=ve.n(Oe),x=ve(95860),Te=ve(67294),me=ve(53124),ie=ve(98866),te=ve(65223),ne=Te.createContext(null),oe=ve(63185),he=ve(45353),re=ve(92429),se=function(ke,Ie){var Le={};for(var De in ke)Object.prototype.hasOwnProperty.call(ke,De)&&Ie.indexOf(De)<0&&(Le[De]=ke[De]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,De=Object.getOwnPropertySymbols(ke);Be<De.length;Be++)Ie.indexOf(De[Be])<0&&Object.prototype.propertyIsEnumerable.call(ke,De[Be])&&(Le[De[Be]]=ke[De[Be]]);return Le};const ce=(ke,Ie)=>{var Le;const{prefixCls:De,className:Be,rootClassName:Ue,children:_e,indeterminate:We=!1,style:Ze,onMouseEnter:et,onMouseLeave:at,skipGroup:pt=!1,disabled:Xe}=ke,Ge=se(ke,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:lt,direction:dt,checkbox:st}=Te.useContext(me.E_),nt=Te.useContext(ne),{isFormItemInput:rt}=Te.useContext(te.aM),it=Te.useContext(ie.Z),gt=(Le=(nt==null?void 0:nt.disabled)||Xe)!==null&&Le!==void 0?Le:it,vt=Te.useRef(Ge.value);Te.useEffect(()=>{nt==null||nt.registerValue(Ge.value)},[]),Te.useEffect(()=>{if(!pt)return Ge.value!==vt.current&&(nt==null||nt.cancelValue(vt.current),nt==null||nt.registerValue(Ge.value),vt.current=Ge.value),()=>nt==null?void 0:nt.cancelValue(Ge.value)},[Ge.value]);const At=lt("checkbox",De),[Et,ut]=(0,oe.ZP)(At),Ye=Object.assign({},Ge);nt&&!pt&&(Ye.onChange=function(){Ge.onChange&&Ge.onChange.apply(Ge,arguments),nt.toggleOption&&nt.toggleOption({label:_e,value:Ge.value})},Ye.name=nt.name,Ye.checked=nt.value.includes(Ge.value));const Ve=$e()(`${At}-wrapper`,{[`${At}-rtl`]:dt==="rtl",[`${At}-wrapper-checked`]:Ye.checked,[`${At}-wrapper-disabled`]:gt,[`${At}-wrapper-in-form-item`]:rt},st==null?void 0:st.className,Be,Ue,ut),de=$e()({[`${At}-indeterminate`]:We},re.A,ut),Ce=We?"mixed":void 0;return Et(Te.createElement(he.Z,{component:"Checkbox",disabled:gt},Te.createElement("label",{className:Ve,style:Object.assign(Object.assign({},st==null?void 0:st.style),Ze),onMouseEnter:et,onMouseLeave:at},Te.createElement(x.Z,Object.assign({"aria-checked":Ce},Ye,{prefixCls:At,className:de,disabled:gt,ref:Ie})),_e!==void 0&&Te.createElement("span",null,_e))))};var pe=Te.forwardRef(ce),le=ve(74902),Se=ve(10366),xe=function(ke,Ie){var Le={};for(var De in ke)Object.prototype.hasOwnProperty.call(ke,De)&&Ie.indexOf(De)<0&&(Le[De]=ke[De]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,De=Object.getOwnPropertySymbols(ke);Be<De.length;Be++)Ie.indexOf(De[Be])<0&&Object.prototype.propertyIsEnumerable.call(ke,De[Be])&&(Le[De[Be]]=ke[De[Be]]);return Le};const ge=(ke,Ie)=>{const{defaultValue:Le,children:De,options:Be=[],prefixCls:Ue,className:_e,rootClassName:We,style:Ze,onChange:et}=ke,at=xe(ke,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:pt,direction:Xe}=Te.useContext(me.E_),[Ge,lt]=Te.useState(at.value||Le||[]),[dt,st]=Te.useState([]);Te.useEffect(()=>{"value"in at&&lt(at.value||[])},[at.value]);const nt=Te.useMemo(()=>Be.map(He=>typeof He=="string"||typeof He=="number"?{label:He,value:He}:He),[Be]),rt=He=>{st(je=>je.filter(Ae=>Ae!==He))},it=He=>{st(je=>[].concat((0,le.Z)(je),[He]))},gt=He=>{const je=Ge.indexOf(He.value),Ae=(0,le.Z)(Ge);je===-1?Ae.push(He.value):Ae.splice(je,1),"value"in at||lt(Ae),et==null||et(Ae.filter(Re=>dt.includes(Re)).sort((Re,ze)=>{const Qe=nt.findIndex(mt=>mt.value===Re),ot=nt.findIndex(mt=>mt.value===ze);return Qe-ot}))},vt=pt("checkbox",Ue),At=`${vt}-group`,[Et,ut]=(0,oe.ZP)(vt),Ye=(0,Se.Z)(at,["value","disabled"]),Ve=Be.length?nt.map(He=>Te.createElement(pe,{prefixCls:vt,key:He.value.toString(),disabled:"disabled"in He?He.disabled:at.disabled,value:He.value,checked:Ge.includes(He.value),onChange:He.onChange,className:`${At}-item`,style:He.style,title:He.title},He.label)):De,de={toggleOption:gt,value:Ge,disabled:at.disabled,name:at.name,registerValue:it,cancelValue:rt},Ce=$e()(At,{[`${At}-rtl`]:Xe==="rtl"},_e,We,ut);return Et(Te.createElement("div",Object.assign({className:Ce,style:Ze},Ye,{ref:Ie}),Te.createElement(ne.Provider,{value:de},Ve)))},Me=Te.forwardRef(ge);var ye=Te.memo(Me);const be=pe;be.Group=ye,be.__ANT_CHECKBOX=!0;var Fe=be},63185:function(tn,Kt,ve){"use strict";ve.d(Kt,{C2:function(){return me}});var Oe=ve(14747),$e=ve(45503),x=ve(67968);const Te=ie=>{const{checkboxCls:te}=ie,ae=`${te}-wrapper`;return[{[`${te}-group`]:Object.assign(Object.assign({},(0,Oe.Wf)(ie)),{display:"inline-flex",flexWrap:"wrap",columnGap:ie.marginXS,[`> ${ie.antCls}-row`]:{flex:1}}),[ae]:Object.assign(Object.assign({},(0,Oe.Wf)(ie)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ae}`]:{marginInlineStart:0},[`&${ae}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[te]:Object.assign(Object.assign({},(0,Oe.Wf)(ie)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ie.borderRadiusSM,alignSelf:"center",[`${te}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${te}-inner`]:Object.assign({},(0,Oe.oN)(ie))},[`${te}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ie.checkboxSize,height:ie.checkboxSize,direction:"ltr",backgroundColor:ie.colorBgContainer,border:`${ie.lineWidth}px ${ie.lineType} ${ie.colorBorder}`,borderRadius:ie.borderRadiusSM,borderCollapse:"separate",transition:`all ${ie.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ie.checkboxSize/14*5,height:ie.checkboxSize/14*8,border:`${ie.lineWidthBold}px solid ${ie.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ie.motionDurationFast} ${ie.motionEaseInBack}, opacity ${ie.motionDurationFast}`}},"& + span":{paddingInlineStart:ie.paddingXS,paddingInlineEnd:ie.paddingXS}})},{[`
${ae}:not(${ae}-disabled),
${te}:not(${te}-disabled)
`]:{[`&:hover ${te}-inner`]:{borderColor:ie.colorPrimary}},[`${ae}:not(${ae}-disabled)`]:{[`&:hover ${te}-checked:not(${te}-disabled) ${te}-inner`]:{backgroundColor:ie.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${te}-checked:not(${te}-disabled):after`]:{borderColor:ie.colorPrimaryHover}}},{[`${te}-checked`]:{[`${te}-inner`]:{backgroundColor:ie.colorPrimary,borderColor:ie.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ie.motionDurationMid} ${ie.motionEaseOutBack} ${ie.motionDurationFast}`}}},[`
${ae}-checked:not(${ae}-disabled),
${te}-checked:not(${te}-disabled)
`]:{[`&:hover ${te}-inner`]:{backgroundColor:ie.colorPrimaryHover,borderColor:"transparent"}}},{[te]:{"&-indeterminate":{[`${te}-inner`]:{backgroundColor:ie.colorBgContainer,borderColor:ie.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ie.fontSizeLG/2,height:ie.fontSizeLG/2,backgroundColor:ie.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ae}-disabled`]:{cursor:"not-allowed"},[`${te}-disabled`]:{[`&, ${te}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${te}-inner`]:{background:ie.colorBgContainerDisabled,borderColor:ie.colorBorder,"&:after":{borderColor:ie.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ie.colorTextDisabled},[`&${te}-indeterminate ${te}-inner::after`]:{background:ie.colorTextDisabled}}}]};function me(ie,te){const ae=(0,$e.TS)(te,{checkboxCls:`.${ie}`,checkboxSize:te.controlInteractiveSize});return[Te(ae)]}Kt.ZP=(0,x.Z)("Checkbox",(ie,te)=>{let{prefixCls:ae}=te;return[me(ae,ie)]})},47221:function(tn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return Ye}});var Oe=ve(91034),$e=ve(94184),x=ve.n($e),Te=ve(97685),me=ve(74902),ie=ve(71002),te=ve(21770),ae=ve(80334),ne=ve(67294),oe=ve(87462),he=ve(45987),re=ve(50344),se=ve(4942),ce=ve(62874),fe=ve(15105),pe=ne.forwardRef(function(Ve,de){var Ce,He=Ve.prefixCls,je=Ve.forceRender,Ae=Ve.className,Re=Ve.style,ze=Ve.children,Qe=Ve.isActive,ot=Ve.role,mt=ne.useState(Qe||je),Ot=(0,Te.Z)(mt,2),xt=Ot[0],Wt=Ot[1];return ne.useEffect(function(){(je||Qe)&&Wt(!0)},[je,Qe]),xt?ne.createElement("div",{ref:de,className:x()("".concat(He,"-content"),(Ce={},(0,se.Z)(Ce,"".concat(He,"-content-active"),Qe),(0,se.Z)(Ce,"".concat(He,"-content-inactive"),!Qe),Ce),Ae),style:Re,role:ot},ne.createElement("div",{className:"".concat(He,"-content-box")},ze)):null});pe.displayName="PanelContent";var le=pe,Se=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],xe=ne.forwardRef(function(Ve,de){var Ce,He,je=Ve.showArrow,Ae=je===void 0?!0:je,Re=Ve.headerClass,ze=Ve.isActive,Qe=Ve.onItemClick,ot=Ve.forceRender,mt=Ve.className,Ot=Ve.prefixCls,xt=Ve.collapsible,Wt=Ve.accordion,bn=Ve.panelKey,Ft=Ve.extra,Qt=Ve.header,Vt=Ve.expandIcon,yn=Ve.openMotion,Pt=Ve.destroyInactivePanel,zt=Ve.children,an=(0,he.Z)(Ve,Se),gn=xt==="disabled",Tn=xt==="header",Gn=xt==="icon",fr=Ft!=null&&typeof Ft!="boolean",Tr=function(){Qe==null||Qe(bn)},Wr=function(Xi){(Xi.key==="Enter"||Xi.keyCode===fe.Z.ENTER||Xi.which===fe.Z.ENTER)&&Tr()},ti=typeof Vt=="function"?Vt(Ve):ne.createElement("i",{className:"arrow"});ti&&(ti=ne.createElement("div",{className:"".concat(Ot,"-expand-icon"),onClick:["header","icon"].includes(xt)?Tr:void 0},ti));var Dr=x()((Ce={},(0,se.Z)(Ce,"".concat(Ot,"-item"),!0),(0,se.Z)(Ce,"".concat(Ot,"-item-active"),ze),(0,se.Z)(Ce,"".concat(Ot,"-item-disabled"),gn),Ce),mt),ri=x()(Re,(He={},(0,se.Z)(He,"".concat(Ot,"-header"),!0),(0,se.Z)(He,"".concat(Ot,"-header-collapsible-only"),Tn),(0,se.Z)(He,"".concat(Ot,"-icon-collapsible-only"),Gn),He)),Mi={className:ri,"aria-expanded":ze,"aria-disabled":gn,onKeyDown:Wr};return!Tn&&!Gn&&(Mi.onClick=Tr,Mi.role=Wt?"tab":"button",Mi.tabIndex=gn?-1:0),ne.createElement("div",(0,oe.Z)({},an,{ref:de,className:Dr}),ne.createElement("div",Mi,Ae&&ti,ne.createElement("span",{className:"".concat(Ot,"-header-text"),onClick:xt==="header"?Tr:void 0},Qt),fr&&ne.createElement("div",{className:"".concat(Ot,"-extra")},Ft)),ne.createElement(ce.Z,(0,oe.Z)({visible:ze,leavedClassName:"".concat(Ot,"-content-hidden")},yn,{forceRender:ot,removeOnLeave:Pt}),function($r,Xi){var Ii=$r.className,nn=$r.style;return ne.createElement(le,{ref:Xi,prefixCls:Ot,className:Ii,style:nn,isActive:ze,forceRender:ot,role:Wt?"tabpanel":void 0},zt)}))}),ge=xe,Me=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ye=function(de,Ce){var He=Ce.prefixCls,je=Ce.accordion,Ae=Ce.collapsible,Re=Ce.destroyInactivePanel,ze=Ce.onItemClick,Qe=Ce.activeKey,ot=Ce.openMotion,mt=Ce.expandIcon;return de.map(function(Ot,xt){var Wt=Ot.children,bn=Ot.label,Ft=Ot.key,Qt=Ot.collapsible,Vt=Ot.onItemClick,yn=Ot.destroyInactivePanel,Pt=(0,he.Z)(Ot,Me),zt=String(Ft!=null?Ft:xt),an=Qt!=null?Qt:Ae,gn=yn!=null?yn:Re,Tn=function(Tr){an!=="disabled"&&(ze(Tr),Vt==null||Vt(Tr))},Gn=!1;return je?Gn=Qe[0]===zt:Gn=Qe.indexOf(zt)>-1,ne.createElement(ge,(0,oe.Z)({},Pt,{prefixCls:He,key:zt,panelKey:zt,isActive:Gn,accordion:je,openMotion:ot,expandIcon:mt,header:bn,collapsible:an,onItemClick:Tn,destroyInactivePanel:gn}),Wt)})},be=function(de,Ce,He){if(!de)return null;var je=He.prefixCls,Ae=He.accordion,Re=He.collapsible,ze=He.destroyInactivePanel,Qe=He.onItemClick,ot=He.activeKey,mt=He.openMotion,Ot=He.expandIcon,xt=de.key||String(Ce),Wt=de.props,bn=Wt.header,Ft=Wt.headerClass,Qt=Wt.destroyInactivePanel,Vt=Wt.collapsible,yn=Wt.onItemClick,Pt=!1;Ae?Pt=ot[0]===xt:Pt=ot.indexOf(xt)>-1;var zt=Vt!=null?Vt:Re,an=function(Gn){zt!=="disabled"&&(Qe(Gn),yn==null||yn(Gn))},gn={key:xt,panelKey:xt,header:bn,headerClass:Ft,isActive:Pt,prefixCls:je,destroyInactivePanel:Qt!=null?Qt:ze,openMotion:mt,accordion:Ae,children:de.props.children,onItemClick:an,expandIcon:Ot,collapsible:zt};return typeof de.type=="string"?de:(Object.keys(gn).forEach(function(Tn){typeof gn[Tn]=="undefined"&&delete gn[Tn]}),ne.cloneElement(de,gn))};function Fe(Ve,de,Ce){return Array.isArray(Ve)?ye(Ve,Ce):(0,re.Z)(de).map(function(He,je){return be(He,je,Ce)})}var ke=Fe;function Ie(Ve){var de=Ve;if(!Array.isArray(de)){var Ce=(0,ie.Z)(de);de=Ce==="number"||Ce==="string"?[de]:[]}return de.map(function(He){return String(He)})}var Le=ne.forwardRef(function(Ve,de){var Ce=Ve.prefixCls,He=Ce===void 0?"rc-collapse":Ce,je=Ve.destroyInactivePanel,Ae=je===void 0?!1:je,Re=Ve.style,ze=Ve.accordion,Qe=Ve.className,ot=Ve.children,mt=Ve.collapsible,Ot=Ve.openMotion,xt=Ve.expandIcon,Wt=Ve.activeKey,bn=Ve.defaultActiveKey,Ft=Ve.onChange,Qt=Ve.items,Vt=x()(He,Qe),yn=(0,te.Z)([],{value:Wt,onChange:function(fr){return Ft==null?void 0:Ft(fr)},defaultValue:bn,postState:Ie}),Pt=(0,Te.Z)(yn,2),zt=Pt[0],an=Pt[1],gn=function(fr){return an(function(){if(ze)return zt[0]===fr?[]:[fr];var Tr=zt.indexOf(fr),Wr=Tr>-1;return Wr?zt.filter(function(ti){return ti!==fr}):[].concat((0,me.Z)(zt),[fr])})};(0,ae.ZP)(!ot,"`children` will be removed in next major version. Please use `items` instead.");var Tn=ke(Qt,ot,{prefixCls:He,accordion:ze,openMotion:Ot,expandIcon:xt,collapsible:mt,destroyInactivePanel:Ae,onItemClick:gn,activeKey:zt});return ne.createElement("div",{ref:de,className:Vt,style:Re,role:ze?"tablist":void 0},Tn)}),De=Object.assign(Le,{Panel:ge}),Be=De,Ue=De.Panel,_e=ve(37419),We=ve(10366),Ze=ve(33603),et=ve(96159),at=ve(53124),pt=ve(98675),Ge=ne.forwardRef((Ve,de)=>{const{getPrefixCls:Ce}=ne.useContext(at.E_),{prefixCls:He,className:je,showArrow:Ae=!0}=Ve,Re=Ce("collapse",He),ze=x()({[`${Re}-no-arrow`]:!Ae},je);return ne.createElement(Be.Panel,Object.assign({ref:de},Ve,{prefixCls:Re,className:ze}))}),lt=ve(14747),dt=ve(33507),st=ve(67968),nt=ve(45503);const rt=Ve=>{const{componentCls:de,contentBg:Ce,padding:He,headerBg:je,headerPadding:Ae,collapseHeaderPaddingSM:Re,collapseHeaderPaddingLG:ze,collapsePanelBorderRadius:Qe,lineWidth:ot,lineType:mt,colorBorder:Ot,colorText:xt,colorTextHeading:Wt,colorTextDisabled:bn,fontSize:Ft,fontSizeLG:Qt,lineHeight:Vt,marginSM:yn,paddingSM:Pt,paddingLG:zt,paddingXS:an,motionDurationSlow:gn,fontSizeIcon:Tn,contentPadding:Gn}=Ve,fr=`${ot}px ${mt} ${Ot}`;return{[de]:Object.assign(Object.assign({},(0,lt.Wf)(Ve)),{backgroundColor:je,border:fr,borderBottom:0,borderRadius:`${Qe}px`,"&-rtl":{direction:"rtl"},[`& > ${de}-item`]:{borderBottom:fr,"&:last-child":{[`
&,
& > ${de}-header`]:{borderRadius:`0 0 ${Qe}px ${Qe}px`}},[`> ${de}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Ae,color:Wt,lineHeight:Vt,cursor:"pointer",transition:`all ${gn}, visibility 0s`,[`> ${de}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${de}-expand-icon`]:{height:Ft*Vt,display:"flex",alignItems:"center",paddingInlineEnd:yn},[`${de}-arrow`]:Object.assign(Object.assign({},(0,lt.Ro)()),{fontSize:Tn,svg:{transition:`transform ${gn}`}}),[`${de}-header-text`]:{marginInlineEnd:"auto"}},[`${de}-header-collapsible-only`]:{cursor:"default",[`${de}-header-text`]:{flex:"none",cursor:"pointer"}},[`${de}-icon-collapsible-only`]:{cursor:"default",[`${de}-expand-icon`]:{cursor:"pointer"}}},[`${de}-content`]:{color:xt,backgroundColor:Ce,borderTop:fr,[`& > ${de}-content-box`]:{padding:Gn},"&-hidden":{display:"none"}},"&-small":{[`> ${de}-item`]:{[`> ${de}-header`]:{padding:Re,paddingInlineStart:an,[`> ${de}-expand-icon`]:{marginInlineStart:Pt-an}},[`> ${de}-content > ${de}-content-box`]:{padding:Pt}}},"&-large":{[`> ${de}-item`]:{fontSize:Qt,[`> ${de}-header`]:{padding:ze,paddingInlineStart:He,[`> ${de}-expand-icon`]:{height:Qt*Vt,marginInlineStart:zt-He}},[`> ${de}-content > ${de}-content-box`]:{padding:zt}}},[`${de}-item:last-child`]:{[`> ${de}-content`]:{borderRadius:`0 0 ${Qe}px ${Qe}px`}},[`& ${de}-item-disabled > ${de}-header`]:{"\n &,\n & > .arrow\n ":{color:bn,cursor:"not-allowed"}},[`&${de}-icon-position-end`]:{[`& > ${de}-item`]:{[`> ${de}-header`]:{[`${de}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:yn}}}}})}},it=Ve=>{const{componentCls:de}=Ve,Ce=`> ${de}-item > ${de}-header ${de}-arrow svg`;return{[`${de}-rtl`]:{[Ce]:{transform:"rotate(180deg)"}}}},gt=Ve=>{const{componentCls:de,headerBg:Ce,paddingXXS:He,colorBorder:je}=Ve;return{[`${de}-borderless`]:{backgroundColor:Ce,border:0,[`> ${de}-item`]:{borderBottom:`1px solid ${je}`},[`
> ${de}-item:last-child,
> ${de}-item:last-child ${de}-header
`]:{borderRadius:0},[`> ${de}-item:last-child`]:{borderBottom:0},[`> ${de}-item > ${de}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${de}-item > ${de}-content > ${de}-content-box`]:{paddingTop:He}}}},vt=Ve=>{const{componentCls:de,paddingSM:Ce}=Ve;return{[`${de}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${de}-item`]:{borderBottom:0,[`> ${de}-content`]:{backgroundColor:"transparent",border:0,[`> ${de}-content-box`]:{paddingBlock:Ce}}}}}};var At=(0,st.Z)("Collapse",Ve=>{const de=(0,nt.TS)(Ve,{collapseHeaderPaddingSM:`${Ve.paddingXS}px ${Ve.paddingSM}px`,collapseHeaderPaddingLG:`${Ve.padding}px ${Ve.paddingLG}px`,collapsePanelBorderRadius:Ve.borderRadiusLG});return[rt(de),gt(de),vt(de),it(de),(0,dt.Z)(de)]},Ve=>({headerPadding:`${Ve.paddingSM}px ${Ve.padding}px`,headerBg:Ve.colorFillAlter,contentPadding:`${Ve.padding}px 16px`,contentBg:Ve.colorBgContainer})),ut=Object.assign(ne.forwardRef((Ve,de)=>{const{getPrefixCls:Ce,direction:He,collapse:je}=ne.useContext(at.E_),{prefixCls:Ae,className:Re,rootClassName:ze,style:Qe,bordered:ot=!0,ghost:mt,size:Ot,expandIconPosition:xt="start",children:Wt,expandIcon:bn}=Ve,Ft=(0,pt.Z)(fr=>{var Tr;return(Tr=Ot!=null?Ot:fr)!==null&&Tr!==void 0?Tr:"middle"}),Qt=Ce("collapse",Ae),Vt=Ce(),[yn,Pt]=At(Qt),zt=ne.useMemo(()=>xt==="left"?"start":xt==="right"?"end":xt,[xt]),an=function(){let fr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Tr=bn?bn(fr):ne.createElement(Oe.Z,{rotate:fr.isActive?90:void 0});return(0,et.Tm)(Tr,()=>({className:x()(Tr.props.className,`${Qt}-arrow`)}))},gn=x()(`${Qt}-icon-position-${zt}`,{[`${Qt}-borderless`]:!ot,[`${Qt}-rtl`]:He==="rtl",[`${Qt}-ghost`]:!!mt,[`${Qt}-${Ft}`]:Ft!=="middle"},je==null?void 0:je.className,Re,ze,Pt),Tn=Object.assign(Object.assign({},(0,Ze.Z)(Vt)),{motionAppear:!1,leavedClassName:`${Qt}-content-hidden`}),Gn=ne.useMemo(()=>Wt?(0,_e.Z)(Wt).map((fr,Tr)=>{var Wr,ti;if(!((Wr=fr.props)===null||Wr===void 0)&&Wr.disabled){const Dr=(ti=fr.key)!==null&&ti!==void 0?ti:String(Tr),{disabled:ri,collapsible:Mi}=fr.props,$r=Object.assign(Object.assign({},(0,We.Z)(fr.props,["disabled"])),{key:Dr,collapsible:Mi!=null?Mi:ri?"disabled":void 0});return(0,et.Tm)(fr,$r)}return fr}):null,[Wt]);return yn(ne.createElement(Be,Object.assign({ref:de,openMotion:Tn},(0,We.Z)(Ve,["rootClassName"]),{expandIcon:an,prefixCls:Qt,className:gn,style:Object.assign(Object.assign({},je==null?void 0:je.style),Qe)}),Gn))}),{Panel:Ge}),Ye=ut},88258:function(tn,Kt,ve){"use strict";var Oe=ve(67294),$e=ve(53124),x=ve(32983);const Te=me=>{const{componentName:ie}=me,{getPrefixCls:te}=(0,Oe.useContext)($e.E_),ae=te("empty");switch(ie){case"Table":case"List":return Oe.createElement(x.Z,{image:x.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return Oe.createElement(x.Z,{image:x.Z.PRESENTED_IMAGE_SIMPLE,className:`${ae}-small`});default:return Oe.createElement(x.Z,null)}};Kt.Z=Te},72565:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Wi}});var Oe=ve(94184),$e=ve.n(Oe),x=ve(1413),Te=ve(97685),me=ve(67294),ie=ve(73935);function te(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ae={};function ne(mn,sn){}function oe(mn,sn){}function he(){ae={}}function re(mn,sn,jn){!sn&&!ae[jn]&&(mn(!1,jn),ae[jn]=!0)}function se(mn,sn){re(ne,mn,sn)}function ce(mn,sn){re(oe,mn,sn)}var fe=null,pe=ve(71002),le=ve(18459);function Se(mn,sn,jn){var ar=me.useRef({});return(!("value"in ar.current)||jn(ar.current.condition,sn))&&(ar.current.value=mn(),ar.current.condition=sn),ar.current.value}function xe(mn,sn){typeof mn=="function"?mn(sn):(0,pe.Z)(mn)==="object"&&mn&&"current"in mn&&(mn.current=sn)}function ge(){for(var mn=arguments.length,sn=new Array(mn),jn=0;jn<mn;jn++)sn[jn]=arguments[jn];var ar=sn.filter(function(gr){return gr});return ar.length<=1?ar[0]:function(gr){sn.forEach(function(Xr){xe(Xr,gr)})}}function Me(){for(var mn=arguments.length,sn=new Array(mn),jn=0;jn<mn;jn++)sn[jn]=arguments[jn];return Se(function(){return ge.apply(void 0,sn)},sn,function(ar,gr){return ar.length===gr.length&&ar.every(function(Xr,ai){return Xr===gr[ai]})})}function ye(mn){var sn,jn,ar=(0,le.isMemo)(mn)?mn.type.type:mn.type;return!(typeof ar=="function"&&!((sn=ar.prototype)!==null&&sn!==void 0&&sn.render)||typeof mn=="function"&&!((jn=mn.prototype)!==null&&jn!==void 0&&jn.render))}var be=me.createContext(null),Fe=be,ke=ve(74902),Ie=te()?me.useLayoutEffect:me.useEffect,Le=Ie,De=function(sn,jn){var ar=React.useRef(!0);Ie(function(){if(!ar.current)return sn()},jn),Ie(function(){return ar.current=!1,function(){ar.current=!0}},[])},Be=[];function Ue(mn,sn){var jn=me.useState(function(){if(!te())return null;var Ln=document.createElement("div");return Ln}),ar=(0,Te.Z)(jn,1),gr=ar[0],Xr=me.useRef(!1),ai=me.useContext(Fe),pi=me.useState(Be),Li=(0,Te.Z)(pi,2),yi=Li[0],ji=Li[1],qi=ai||(Xr.current?void 0:function(Ln){ji(function(Yn){var qe=[Ln].concat((0,ke.Z)(Yn));return qe})});function oi(){gr.parentElement||document.body.appendChild(gr),Xr.current=!0}function Sn(){var Ln;(Ln=gr.parentElement)===null||Ln===void 0||Ln.removeChild(gr),Xr.current=!1}return Le(function(){return mn?ai?ai(oi):oi():Sn(),Sn},[mn]),Le(function(){yi.length&&(yi.forEach(function(Ln){return Ln()}),ji(Be))},[yi]),[gr,qi]}function _e(mn,sn){if(!mn)return!1;if(mn.contains)return mn.contains(sn);for(var jn=sn;jn;){if(jn===mn)return!0;jn=jn.parentNode}return!1}var We="data-rc-order",Ze="rc-util-key",et=new Map;function at(){var mn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},sn=mn.mark;return sn?sn.startsWith("data-")?sn:"data-".concat(sn):Ze}function pt(mn){if(mn.attachTo)return mn.attachTo;var sn=document.querySelector("head");return sn||document.body}function Xe(mn){return mn==="queue"?"prependQueue":mn?"prepend":"append"}function Ge(mn){return Array.from((et.get(mn)||mn).children).filter(function(sn){return sn.tagName==="STYLE"})}function lt(mn){var sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!te())return null;var jn=sn.csp,ar=sn.prepend,gr=document.createElement("style");gr.setAttribute(We,Xe(ar)),jn!=null&&jn.nonce&&(gr.nonce=jn==null?void 0:jn.nonce),gr.innerHTML=mn;var Xr=pt(sn),ai=Xr.firstChild;if(ar){if(ar==="queue"){var pi=Ge(Xr).filter(function(Li){return["prepend","prependQueue"].includes(Li.getAttribute(We))});if(pi.length)return Xr.insertBefore(gr,pi[pi.length-1].nextSibling),gr}Xr.insertBefore(gr,ai)}else Xr.appendChild(gr);return gr}function dt(mn){var sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},jn=pt(sn);return Ge(jn).find(function(ar){return ar.getAttribute(at(sn))===mn})}function st(mn){var sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},jn=dt(mn,sn);if(jn){var ar=pt(sn);ar.removeChild(jn)}}function nt(mn,sn){var jn=et.get(mn);if(!jn||!_e(document,jn)){var ar=lt("",sn),gr=ar.parentNode;et.set(mn,gr),mn.removeChild(ar)}}function rt(){et.clear()}function it(mn,sn){var jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ar=pt(jn);nt(ar,jn);var gr=dt(sn,jn);if(gr){var Xr,ai;if((Xr=jn.csp)!==null&&Xr!==void 0&&Xr.nonce&&gr.nonce!==((ai=jn.csp)===null||ai===void 0?void 0:ai.nonce)){var pi;gr.nonce=(pi=jn.csp)===null||pi===void 0?void 0:pi.nonce}return gr.innerHTML!==mn&&(gr.innerHTML=mn),gr}var Li=lt(mn,jn);return Li.setAttribute(at(jn),sn),Li}var gt;function vt(mn){if(typeof document=="undefined")return 0;if(mn||gt===void 0){var sn=document.createElement("div");sn.style.width="100%",sn.style.height="200px";var jn=document.createElement("div"),ar=jn.style;ar.position="absolute",ar.top="0",ar.left="0",ar.pointerEvents="none",ar.visibility="hidden",ar.width="200px",ar.height="150px",ar.overflow="hidden",jn.appendChild(sn),document.body.appendChild(jn);var gr=sn.offsetWidth;jn.style.overflow="scroll";var Xr=sn.offsetWidth;gr===Xr&&(Xr=jn.clientWidth),document.body.removeChild(jn),gt=gr-Xr}return gt}function At(mn){var sn=mn.match(/^(.*)px$/),jn=Number(sn==null?void 0:sn[1]);return Number.isNaN(jn)?vt():jn}function Et(mn){if(typeof document=="undefined"||!mn||!(mn instanceof Element))return{width:0,height:0};var sn=getComputedStyle(mn,"::-webkit-scrollbar"),jn=sn.width,ar=sn.height;return{width:At(jn),height:At(ar)}}function ut(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Ye="rc-util-locker-".concat(Date.now()),Ve=0;function de(mn){var sn=!!mn,jn=me.useState(function(){return Ve+=1,"".concat(Ye,"_").concat(Ve)}),ar=(0,Te.Z)(jn,1),gr=ar[0];Le(function(){if(sn){var Xr=Et(document.body).width,ai=ut();it(`
html body {
overflow-y: hidden;
`.concat(ai?"width: calc(100% - ".concat(Xr,"px);"):"",`
}`),gr)}else st(gr);return function(){st(gr)}},[sn,gr])}var Ce=!1;function He(mn){return typeof mn=="boolean"&&(Ce=mn),Ce}var je=function(sn){return sn===!1?!1:!te()||!sn?null:typeof sn=="string"?document.querySelector(sn):typeof sn=="function"?sn():sn},Ae=me.forwardRef(function(mn,sn){var jn=mn.open,ar=mn.autoLock,gr=mn.getContainer,Xr=mn.debug,ai=mn.autoDestroy,pi=ai===void 0?!0:ai,Li=mn.children,yi=me.useState(jn),ji=(0,Te.Z)(yi,2),qi=ji[0],oi=ji[1],Sn=qi||jn;me.useEffect(function(){(pi||jn)&&oi(jn)},[jn,pi]);var Ln=me.useState(function(){return je(gr)}),Yn=(0,Te.Z)(Ln,2),qe=Yn[0],yt=Yn[1];me.useEffect(function(){var On=je(gr);yt(On!=null?On:null)});var St=Ue(Sn&&!qe,Xr),Dt=(0,Te.Z)(St,2),Tt=Dt[0],Nt=Dt[1],_t=qe!=null?qe:Tt;de(ar&&jn&&te()&&(_t===Tt||_t===document.body));var rn=null;if(Li&&ye(Li)&&sn){var vn=Li;rn=vn.ref}var Vn=Me(rn,sn);if(!Sn||!te()||qe===void 0)return null;var $n=_t===!1||He(),Xn=Li;return sn&&(Xn=me.cloneElement(Li,{ref:Vn})),me.createElement(Fe.Provider,{value:Nt},$n?Xn:(0,ie.createPortal)(Xn,_t))}),Re=Ae,ze=Re;function Qe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ot=Qe()?me.useLayoutEffect:me.useEffect,mt=function(sn,jn){var ar=me.useRef(!0);ot(function(){return sn(ar.current)},jn),ot(function(){return ar.current=!1,function(){ar.current=!0}},[])},Ot=function(sn,jn){mt(function(ar){if(!ar)return sn()},jn)},xt=mt,Wt=me.createContext(null),bn=me.createContext({}),Ft=Wt,Qt=ve(4942),Vt=ve(87462),yn=ve(62874),Pt={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(sn){var jn=sn.keyCode;if(sn.altKey&&!sn.ctrlKey||sn.metaKey||jn>=Pt.F1&&jn<=Pt.F12)return!1;switch(jn){case Pt.ALT:case Pt.CAPS_LOCK:case Pt.CONTEXT_MENU:case Pt.CTRL:case Pt.DOWN:case Pt.END:case Pt.ESC:case Pt.HOME:case Pt.INSERT:case Pt.LEFT:case Pt.MAC_FF_META:case Pt.META:case Pt.NUMLOCK:case Pt.NUM_CENTER:case Pt.PAGE_DOWN:case Pt.PAGE_UP:case Pt.PAUSE:case Pt.PRINT_SCREEN:case Pt.RIGHT:case Pt.SHIFT:case Pt.UP:case Pt.WIN_KEY:case Pt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(sn){if(sn>=Pt.ZERO&&sn<=Pt.NINE||sn>=Pt.NUM_ZERO&&sn<=Pt.NUM_MULTIPLY||sn>=Pt.A&&sn<=Pt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&sn===0)return!0;switch(sn){case Pt.SPACE:case Pt.QUESTION_MARK:case Pt.NUM_PLUS:case Pt.NUM_MINUS:case Pt.NUM_PERIOD:case Pt.NUM_DIVISION:case Pt.SEMICOLON:case Pt.DASH:case Pt.EQUALS:case Pt.COMMA:case Pt.PERIOD:case Pt.SLASH:case Pt.APOSTROPHE:case Pt.SINGLE_QUOTE:case Pt.OPEN_SQUARE_BRACKET:case Pt.BACKSLASH:case Pt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},zt=Pt,an=`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`,gn=`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`,Tn="".concat(an," ").concat(gn).split(/[\s\n]+/),Gn="aria-",fr="data-";function Tr(mn,sn){return mn.indexOf(sn)===0}function Wr(mn){var sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,jn;sn===!1?jn={aria:!0,data:!0,attr:!0}:sn===!0?jn={aria:!0}:jn=(0,x.Z)({},sn);var ar={};return Object.keys(mn).forEach(function(gr){(jn.aria&&(gr==="role"||Tr(gr,Gn))||jn.data&&Tr(gr,fr)||jn.attr&&Tn.includes(gr))&&(ar[gr]=mn[gr])}),ar}function ti(mn){var sn=React.useRef();sn.current=mn;var jn=React.useCallback(function(){for(var ar,gr=arguments.length,Xr=new Array(gr),ai=0;ai<gr;ai++)Xr[ai]=arguments[ai];return(ar=sn.current)===null||ar===void 0?void 0:ar.call.apply(ar,[sn].concat(Xr))},[]);return jn}function Dr(mn){var sn=React.useRef(!1),jn=React.useState(mn),ar=_slicedToArray(jn,2),gr=ar[0],Xr=ar[1];React.useEffect(function(){return sn.current=!1,function(){sn.current=!0}},[]);function ai(pi,Li){Li&&sn.current||Xr(pi)}return[gr,ai]}function ri(mn){return mn!==void 0}function Mi(mn,sn){var jn=sn||{},ar=jn.defaultValue,gr=jn.value,Xr=jn.onChange,ai=jn.postState,pi=useState(function(){return ri(gr)?gr:ri(ar)?typeof ar=="function"?ar():ar:typeof mn=="function"?mn():mn}),Li=_slicedToArray(pi,2),yi=Li[0],ji=Li[1],qi=gr!==void 0?gr:yi,oi=ai?ai(qi):qi,Sn=useEvent(Xr),Ln=useState([qi]),Yn=_slicedToArray(Ln,2),qe=Yn[0],yt=Yn[1];useLayoutUpdateEffect(function(){var Dt=qe[0];yi!==Dt&&Sn(yi,Dt)},[qe]),useLayoutUpdateEffect(function(){ri(gr)||ji(gr)},[gr]);var St=useEvent(function(Dt,Tt){ji(Dt,Tt),yt([qi],Tt)});return[oi,St]}var $r=ve(33993);function Xi(mn,sn,jn){var ar=me.useRef({});return(!("value"in ar.current)||jn(ar.current.condition,sn))&&(ar.current.value=mn(),ar.current.condition=sn),ar.current.value}function Ii(mn,sn){typeof mn=="function"?mn(sn):(0,pe.Z)(mn)==="object"&&mn&&"current"in mn&&(mn.current=sn)}function nn(){for(var mn=arguments.length,sn=new Array(mn),jn=0;jn<mn;jn++)sn[jn]=arguments[jn];var ar=sn.filter(function(gr){return gr});return ar.length<=1?ar[0]:function(gr){sn.forEach(function(Xr){Ii(Xr,gr)})}}function Jn(){for(var mn=arguments.length,sn=new Array(mn),jn=0;jn<mn;jn++)sn[jn]=arguments[jn];return Xi(function(){return nn.apply(void 0,sn)},sn,function(ar,gr){return ar.length!==gr.length||ar.every(function(Xr,ai){return Xr!==gr[ai]})})}function hr(mn){var sn,jn,ar=isMemo(mn)?mn.type.type:mn.type;return!(typeof ar=="function"&&!((sn=ar.prototype)!==null&&sn!==void 0&&sn.render)||typeof mn=="function"&&!((jn=mn.prototype)!==null&&jn!==void 0&&jn.render))}function Kn(mn){return!isValidElement(mn)||isFragment(mn)?!1:hr(mn)}function Hr(mn,sn,jn,ar){if(!sn.length)return jn;var gr=_toArray(sn),Xr=gr[0],ai=gr.slice(1),pi;return!mn&&typeof Xr=="number"?pi=[]:Array.isArray(mn)?pi=_toConsumableArray(mn):pi=_objectSpread({},mn),ar&&jn===void 0&&ai.length===1?delete pi[Xr][ai[0]]:pi[Xr]=Hr(pi[Xr],ai,jn,ar),pi}function Pr(mn,sn,jn){var ar=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return sn.length&&ar&&jn===void 0&&!get(mn,sn.slice(0,-1))?mn:Hr(mn,sn,jn,ar)}function Or(mn){return _typeof(mn)==="object"&&mn!==null&&Object.getPrototypeOf(mn)===Object.prototype}function Mr(mn){return Array.isArray(mn)?[]:{}}var Ut=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function $t(){for(var mn=arguments.length,sn=new Array(mn),jn=0;jn<mn;jn++)sn[jn]=arguments[jn];var ar=Mr(sn[0]);return sn.forEach(function(gr){function Xr(ai,pi){var Li=new Set(pi),yi=get(gr,ai),ji=Array.isArray(yi);if(ji||Or(yi)){if(!Li.has(yi)){Li.add(yi);var qi=get(ar,ai);ji?ar=Pr(ar,ai,[]):(!qi||_typeof(qi)!=="object")&&(ar=Pr(ar,ai,Mr(yi))),Ut(yi).forEach(function(oi){Xr([].concat(_toConsumableArray(ai),[oi]),Li)})}}else ar=Pr(ar,ai,yi)}Xr([])}),ar}var qt={},Nn=[],jt=function(sn){Nn.push(sn)};function on(mn,sn){if(0)var jn}function kn(mn,sn){if(0)var jn}function pn(){qt={}}function Bn(mn,sn,jn){!sn&&!qt[jn]&&(mn(!1,jn),qt[jn]=!0)}function Rn(mn,sn){Bn(on,mn,sn)}function pr(mn,sn){Bn(kn,mn,sn)}Rn.preMessage=jt,Rn.resetWarned=pn,Rn.noteOnce=pr;var ii=Rn,Lr=function(sn){var jn=sn.prefixCls,ar=sn.className,gr=sn.style,Xr=sn.children,ai=sn.containerRef,pi=sn.id,Li=sn.onMouseEnter,yi=sn.onMouseOver,ji=sn.onMouseLeave,qi=sn.onClick,oi=sn.onKeyDown,Sn=sn.onKeyUp,Ln={onMouseEnter:Li,onMouseOver:yi,onMouseLeave:ji,onClick:qi,onKeyDown:oi,onKeyUp:Sn},Yn=me.useContext(bn),qe=Yn.panel,yt=Jn(qe,ai);return me.createElement(me.Fragment,null,me.createElement("div",(0,Vt.Z)({id:pi,className:$e()("".concat(jn,"-content"),ar),style:(0,x.Z)({},gr),"aria-modal":"true",role:"dialog",ref:yt},Ln),Xr))},Ir=Lr;function Ur(mn){return typeof mn=="string"&&String(Number(mn))===mn?(ii(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(mn)):mn}function Zr(mn){warning(!("wrapperClassName"in mn),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!mn.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ln={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Jt(mn,sn){var jn,ar,gr,Xr,ai=mn.prefixCls,pi=mn.open,Li=mn.placement,yi=mn.inline,ji=mn.push,qi=mn.forceRender,oi=mn.autoFocus,Sn=mn.keyboard,Ln=mn.rootClassName,Yn=mn.rootStyle,qe=mn.zIndex,yt=mn.className,St=mn.id,Dt=mn.style,Tt=mn.motion,Nt=mn.width,_t=mn.height,rn=mn.children,vn=mn.contentWrapperStyle,Vn=mn.mask,$n=mn.maskClosable,Xn=mn.maskMotion,On=mn.maskClassName,In=mn.maskStyle,En=mn.afterOpenChange,Hn=mn.onClose,mr=mn.onMouseEnter,Qn=mn.onMouseOver,or=mn.onMouseLeave,ur=mn.onClick,yr=mn.onKeyDown,Sr=mn.onKeyUp,kt=me.useRef(),It=me.useRef(),en=me.useRef();me.useImperativeHandle(sn,function(){return kt.current});var Xt=function(tr){var Nr=tr.keyCode,Qr=tr.shiftKey;switch(Nr){case zt.TAB:{if(Nr===zt.TAB){if(!Qr&&document.activeElement===en.current){var _r;(_r=It.current)===null||_r===void 0||_r.focus({preventScroll:!0})}else if(Qr&&document.activeElement===It.current){var Fr;(Fr=en.current)===null||Fr===void 0||Fr.focus({preventScroll:!0})}}break}case zt.ESC:{Hn&&Sn&&(tr.stopPropagation(),Hn(tr));break}}};me.useEffect(function(){if(pi&&oi){var br;(br=kt.current)===null||br===void 0||br.focus({preventScroll:!0})}},[pi]);var wn=me.useState(!1),zn=(0,Te.Z)(wn,2),_n=zn[0],dr=zn[1],Zt=me.useContext(Ft),Ht;ji===!1?Ht={distance:0}:ji===!0?Ht={}:Ht=ji||{};var Yt=(jn=(ar=(gr=Ht)===null||gr===void 0?void 0:gr.distance)!==null&&ar!==void 0?ar:Zt==null?void 0:Zt.pushDistance)!==null&&jn!==void 0?jn:180,Cn=me.useMemo(function(){return{pushDistance:Yt,push:function(){dr(!0)},pull:function(){dr(!1)}}},[Yt]);me.useEffect(function(){if(pi){var br;Zt==null||(br=Zt.push)===null||br===void 0||br.call(Zt)}else{var tr;Zt==null||(tr=Zt.pull)===null||tr===void 0||tr.call(Zt)}},[pi]),me.useEffect(function(){return function(){var br;Zt==null||(br=Zt.pull)===null||br===void 0||br.call(Zt)}},[]);var sr=Vn&&me.createElement(yn.Z,(0,Vt.Z)({key:"mask"},Xn,{visible:pi}),function(br,tr){var Nr=br.className,Qr=br.style;return me.createElement("div",{className:$e()("".concat(ai,"-mask"),Nr,On),style:(0,x.Z)((0,x.Z)({},Qr),In),onClick:$n&&pi?Hn:void 0,ref:tr})}),Wn=typeof Tt=="function"?Tt(Li):Tt,Dn={};if(_n&&Yt)switch(Li){case"top":Dn.transform="translateY(".concat(Yt,"px)");break;case"bottom":Dn.transform="translateY(".concat(-Yt,"px)");break;case"left":Dn.transform="translateX(".concat(Yt,"px)");break;default:Dn.transform="translateX(".concat(-Yt,"px)");break}Li==="left"||Li==="right"?Dn.width=Ur(Nt):Dn.height=Ur(_t);var kr={onMouseEnter:mr,onMouseOver:Qn,onMouseLeave:or,onClick:ur,onKeyDown:yr,onKeyUp:Sr},Er=me.createElement(yn.Z,(0,Vt.Z)({key:"panel"},Wn,{visible:pi,forceRender:qi,onVisibleChanged:function(tr){En==null||En(tr)},removeOnLeave:!1,leavedClassName:"".concat(ai,"-content-wrapper-hidden")}),function(br,tr){var Nr=br.className,Qr=br.style;return me.createElement("div",(0,Vt.Z)({className:$e()("".concat(ai,"-content-wrapper"),Nr),style:(0,x.Z)((0,x.Z)((0,x.Z)({},Dn),Qr),vn)},Wr(mn,{data:!0})),me.createElement(Ir,(0,Vt.Z)({id:St,containerRef:tr,prefixCls:ai,className:yt,style:Dt},kr),rn))}),Rr=(0,x.Z)({},Yn);return qe&&(Rr.zIndex=qe),me.createElement(Ft.Provider,{value:Cn},me.createElement("div",{className:$e()(ai,"".concat(ai,"-").concat(Li),Ln,(Xr={},(0,Qt.Z)(Xr,"".concat(ai,"-open"),pi),(0,Qt.Z)(Xr,"".concat(ai,"-inline"),yi),Xr)),style:Rr,tabIndex:-1,ref:kt,onKeyDown:Xt},sr,me.createElement("div",{tabIndex:0,ref:It,style:ln,"aria-hidden":"true","data-sentinel":"start"}),Er,me.createElement("div",{tabIndex:0,ref:en,style:ln,"aria-hidden":"true","data-sentinel":"end"})))}var cn=me.forwardRef(Jt),er=cn,Ar=function(sn){var jn=sn.open,ar=jn===void 0?!1:jn,gr=sn.prefixCls,Xr=gr===void 0?"rc-drawer":gr,ai=sn.placement,pi=ai===void 0?"right":ai,Li=sn.autoFocus,yi=Li===void 0?!0:Li,ji=sn.keyboard,qi=ji===void 0?!0:ji,oi=sn.width,Sn=oi===void 0?378:oi,Ln=sn.mask,Yn=Ln===void 0?!0:Ln,qe=sn.maskClosable,yt=qe===void 0?!0:qe,St=sn.getContainer,Dt=sn.forceRender,Tt=sn.afterOpenChange,Nt=sn.destroyOnClose,_t=sn.onMouseEnter,rn=sn.onMouseOver,vn=sn.onMouseLeave,Vn=sn.onClick,$n=sn.onKeyDown,Xn=sn.onKeyUp,On=sn.panelRef,In=me.useState(!1),En=(0,Te.Z)(In,2),Hn=En[0],mr=En[1],Qn=me.useState(!1),or=(0,Te.Z)(Qn,2),ur=or[0],yr=or[1];xt(function(){yr(!0)},[]);var Sr=ur?ar:!1,kt=me.useRef(),It=me.useRef();xt(function(){Sr&&(It.current=document.activeElement)},[Sr]);var en=function(dr){var Zt;if(mr(dr),Tt==null||Tt(dr),!dr&&It.current&&!((Zt=kt.current)!==null&&Zt!==void 0&&Zt.contains(It.current))){var Ht;(Ht=It.current)===null||Ht===void 0||Ht.focus({preventScroll:!0})}},Xt=me.useMemo(function(){return{panel:On}},[On]);if(!Dt&&!Hn&&!Sr&&Nt)return null;var wn={onMouseEnter:_t,onMouseOver:rn,onMouseLeave:vn,onClick:Vn,onKeyDown:$n,onKeyUp:Xn},zn=(0,x.Z)((0,x.Z)({},sn),{},{open:Sr,prefixCls:Xr,placement:pi,autoFocus:yi,keyboard:qi,width:Sn,mask:Yn,maskClosable:yt,inline:St===!1,afterOpenChange:en,ref:kt},wn);return me.createElement(bn.Provider,{value:Xt},me.createElement(ze,{open:Sr||Dt||Hn,autoDestroy:!1,getContainer:St,autoLock:Yn&&(Sr||Hn)},me.createElement(er,zn)))},Fn=Ar,lr=Fn,ir=ve(33603),wr=ve(53124),Vr=ve(65223),Zn=ve(69760),gi=mn=>{const{prefixCls:sn,title:jn,footer:ar,extra:gr,closeIcon:Xr,closable:ai,onClose:pi,headerStyle:Li,drawerStyle:yi,bodyStyle:ji,footerStyle:qi,children:oi}=mn,Sn=me.useCallback(St=>me.createElement("button",{type:"button",onClick:pi,"aria-label":"Close",className:`${sn}-close`},St),[pi]),[Ln,Yn]=(0,Zn.Z)(ai,Xr,Sn,void 0,!0),qe=me.useMemo(()=>!jn&&!Ln?null:me.createElement("div",{style:Li,className:$e()(`${sn}-header`,{[`${sn}-header-close-only`]:Ln&&!jn&&!gr})},me.createElement("div",{className:`${sn}-header-title`},Yn,jn&&me.createElement("div",{className:`${sn}-title`},jn)),gr&&me.createElement("div",{className:`${sn}-extra`},gr)),[Ln,Yn,gr,Li,sn,jn]),yt=me.useMemo(()=>{if(!ar)return null;const St=`${sn}-footer`;return me.createElement("div",{className:St,style:qi},ar)},[ar,qi,sn]);return me.createElement("div",{className:`${sn}-wrapper-body`,style:yi},qe,me.createElement("div",{className:`${sn}-body`,style:ji},oi),yt)},ma=ve(4173),ga=ve(67968),la=ve(45503),$i=mn=>{const{componentCls:sn,motionDurationSlow:jn}=mn,ar={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${jn}`}}};return{[sn]:{[`${sn}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${jn}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${sn}-panel-motion`]:{"&-left":[ar,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[ar,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[ar,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[ar,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Ui=mn=>{const{componentCls:sn,zIndexPopup:jn,colorBgMask:ar,colorBgElevated:gr,motionDurationSlow:Xr,motionDurationMid:ai,padding:pi,paddingLG:Li,fontSizeLG:yi,lineHeightLG:ji,lineWidth:qi,lineType:oi,colorSplit:Sn,marginSM:Ln,colorIcon:Yn,colorIconHover:qe,colorText:yt,fontWeightStrong:St,footerPaddingBlock:Dt,footerPaddingInline:Tt}=mn,Nt=`${sn}-content-wrapper`;return{[sn]:{position:"fixed",inset:0,zIndex:jn,pointerEvents:"none","&-pure":{position:"relative",background:gr,[`&${sn}-left`]:{boxShadow:mn.boxShadowDrawerLeft},[`&${sn}-right`]:{boxShadow:mn.boxShadowDrawerRight},[`&${sn}-top`]:{boxShadow:mn.boxShadowDrawerUp},[`&${sn}-bottom`]:{boxShadow:mn.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${sn}-mask`]:{position:"absolute",inset:0,zIndex:jn,background:ar,pointerEvents:"auto"},[Nt]:{position:"absolute",zIndex:jn,maxWidth:"100vw",transition:`all ${Xr}`,"&-hidden":{display:"none"}},[`&-left > ${Nt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:mn.boxShadowDrawerLeft},[`&-right > ${Nt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:mn.boxShadowDrawerRight},[`&-top > ${Nt}`]:{top:0,insetInline:0,boxShadow:mn.boxShadowDrawerUp},[`&-bottom > ${Nt}`]:{bottom:0,insetInline:0,boxShadow:mn.boxShadowDrawerDown},[`${sn}-content`]:{width:"100%",height:"100%",overflow:"auto",background:gr,pointerEvents:"auto"},[`${sn}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${sn}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${pi}px ${Li}px`,fontSize:yi,lineHeight:ji,borderBottom:`${qi}px ${oi} ${Sn}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${sn}-extra`]:{flex:"none"},[`${sn}-close`]:{display:"inline-block",marginInlineEnd:Ln,color:Yn,fontWeight:St,fontSize:yi,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${ai}`,textRendering:"auto","&:focus, &:hover":{color:qe,textDecoration:"none"}},[`${sn}-title`]:{flex:1,margin:0,color:yt,fontWeight:mn.fontWeightStrong,fontSize:yi,lineHeight:ji},[`${sn}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Li,overflow:"auto"},[`${sn}-footer`]:{flexShrink:0,padding:`${Dt}px ${Tt}px`,borderTop:`${qi}px ${oi} ${Sn}`},"&-rtl":{direction:"rtl"}}}};var ya=(0,ga.Z)("Drawer",mn=>{const sn=(0,la.TS)(mn,{});return[Ui(sn),$i(sn)]},mn=>({zIndexPopup:mn.zIndexPopupBase,footerPaddingBlock:mn.paddingXS,footerPaddingInline:mn.padding})),Ka=ve(16569),Ri=function(mn,sn){var jn={};for(var ar in mn)Object.prototype.hasOwnProperty.call(mn,ar)&&sn.indexOf(ar)<0&&(jn[ar]=mn[ar]);if(mn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gr=0,ar=Object.getOwnPropertySymbols(mn);gr<ar.length;gr++)sn.indexOf(ar[gr])<0&&Object.prototype.propertyIsEnumerable.call(mn,ar[gr])&&(jn[ar[gr]]=mn[ar[gr]]);return jn};const ca=null,Na={distance:180},ro=mn=>{var sn;const{rootClassName:jn,width:ar,height:gr,size:Xr="default",mask:ai=!0,push:pi=Na,open:Li,afterOpenChange:yi,onClose:ji,prefixCls:qi,getContainer:oi,style:Sn,className:Ln,visible:Yn,afterVisibleChange:qe}=mn,yt=Ri(mn,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:St,getPrefixCls:Dt,direction:Tt,drawer:Nt}=me.useContext(wr.E_),_t=Dt("drawer",qi),[rn,vn]=ya(_t),Vn=oi===void 0&&St?()=>St(document.body):oi,$n=$e()({"no-mask":!ai,[`${_t}-rtl`]:Tt==="rtl"},jn,vn),Xn=me.useMemo(()=>ar!=null?ar:Xr==="large"?736:378,[ar,Xr]),On=me.useMemo(()=>gr!=null?gr:Xr==="large"?736:378,[gr,Xr]),In={motionName:(0,ir.m)(_t,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},En=mr=>({motionName:(0,ir.m)(_t,`panel-motion-${mr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Hn=(0,Ka.H)();return rn(me.createElement(ma.BR,null,me.createElement(Vr.Ux,{status:!0,override:!0},me.createElement(lr,Object.assign({prefixCls:_t,onClose:ji,maskMotion:In,motion:En},yt,{open:Li!=null?Li:Yn,mask:ai,push:pi,width:Xn,height:On,style:Object.assign(Object.assign({},Nt==null?void 0:Nt.style),Sn),className:$e()(Nt==null?void 0:Nt.className,Ln),rootClassName:$n,getContainer:Vn,afterOpenChange:yi!=null?yi:qe,panelRef:Hn}),me.createElement(gi,Object.assign({prefixCls:_t},yt,{onClose:ji}))))))},Ya=mn=>{const{prefixCls:sn,style:jn,className:ar,placement:gr="right"}=mn,Xr=Ri(mn,["prefixCls","style","className","placement"]),{getPrefixCls:ai}=me.useContext(wr.E_),pi=ai("drawer",sn),[Li,yi]=ya(pi),ji=$e()(pi,`${pi}-pure`,`${pi}-${gr}`,yi,ar);return Li(me.createElement("div",{className:ji,style:jn},me.createElement(gi,Object.assign({prefixCls:pi},Xr))))};ro._InternalPanelDoNotUseOrYouWillBeFired=Ya;var Wi=ro},35874:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return je}});var Oe=ve(67294),$e=ve(91034),x=ve(94184),Te=ve.n(x),me=ve(87462),ie=ve(4942),te=ve(97685),ae=ve(45987),ne=ve(62709),oe=ve(71002),he=ve(12060);function re(Ae,Re,ze){var Qe=React.useRef({});return(!("value"in Qe.current)||ze(Qe.current.condition,Re))&&(Qe.current.value=Ae(),Qe.current.condition=Re),Qe.current.value}function se(Ae,Re){typeof Ae=="function"?Ae(Re):(0,oe.Z)(Ae)==="object"&&Ae&&"current"in Ae&&(Ae.current=Re)}function ce(){for(var Ae=arguments.length,Re=new Array(Ae),ze=0;ze<Ae;ze++)Re[ze]=arguments[ze];var Qe=Re.filter(function(ot){return ot});return Qe.length<=1?Qe[0]:function(ot){Re.forEach(function(mt){se(mt,ot)})}}function fe(){for(var Ae=arguments.length,Re=new Array(Ae),ze=0;ze<Ae;ze++)Re[ze]=arguments[ze];return useMemo(function(){return ce.apply(void 0,Re)},Re,function(Qe,ot){return Qe.length===ot.length&&Qe.every(function(mt,Ot){return mt===ot[Ot]})})}function pe(Ae){var Re,ze,Qe=(0,he.isMemo)(Ae)?Ae.type.type:Ae.type;return!(typeof Qe=="function"&&!((Re=Qe.prototype)!==null&&Re!==void 0&&Re.render)||typeof Ae=="function"&&!((ze=Ae.prototype)!==null&&ze!==void 0&&ze.render))}var le={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(Re){var ze=Re.keyCode;if(Re.altKey&&!Re.ctrlKey||Re.metaKey||ze>=le.F1&&ze<=le.F12)return!1;switch(ze){case le.ALT:case le.CAPS_LOCK:case le.CONTEXT_MENU:case le.CTRL:case le.DOWN:case le.END:case le.ESC:case le.HOME:case le.INSERT:case le.LEFT:case le.MAC_FF_META:case le.META:case le.NUMLOCK:case le.NUM_CENTER:case le.PAGE_DOWN:case le.PAGE_UP:case le.PAUSE:case le.PRINT_SCREEN:case le.RIGHT:case le.SHIFT:case le.UP:case le.WIN_KEY:case le.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Re){if(Re>=le.ZERO&&Re<=le.NINE||Re>=le.NUM_ZERO&&Re<=le.NUM_MULTIPLY||Re>=le.A&&Re<=le.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Re===0)return!0;switch(Re){case le.SPACE:case le.QUESTION_MARK:case le.NUM_PLUS:case le.NUM_MINUS:case le.NUM_PERIOD:case le.NUM_DIVISION:case le.SEMICOLON:case le.DASH:case le.EQUALS:case le.COMMA:case le.PERIOD:case le.SLASH:case le.APOSTROPHE:case le.SINGLE_QUOTE:case le.OPEN_SQUARE_BRACKET:case le.BACKSLASH:case le.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Se=le,xe=function(Re){return+setTimeout(Re,16)},ge=function(Re){return clearTimeout(Re)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(xe=function(Re){return window.requestAnimationFrame(Re)},ge=function(Re){return window.cancelAnimationFrame(Re)});var Me=0,ye=new Map;function be(Ae){ye.delete(Ae)}var Fe=function(Re){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Me+=1;var Qe=Me;function ot(mt){if(mt===0)be(Qe),Re();else{var Ot=xe(function(){ot(mt-1)});ye.set(Qe,Ot)}}return ot(ze),Qe};Fe.cancel=function(Ae){var Re=ye.get(Ae);return be(Re),ge(Re)};var ke=Fe,Ie=Se.ESC,Le=Se.TAB;function De(Ae){var Re=Ae.visible,ze=Ae.triggerRef,Qe=Ae.onVisibleChange,ot=Ae.autoFocus,mt=Ae.overlayRef,Ot=Oe.useRef(!1),xt=function(){if(Re){var Qt,Vt;(Qt=ze.current)===null||Qt===void 0||(Vt=Qt.focus)===null||Vt===void 0||Vt.call(Qt),Qe==null||Qe(!1)}},Wt=function(){var Qt;return(Qt=mt.current)!==null&&Qt!==void 0&&Qt.focus?(mt.current.focus(),Ot.current=!0,!0):!1},bn=function(Qt){switch(Qt.keyCode){case Ie:xt();break;case Le:{var Vt=!1;Ot.current||(Vt=Wt()),Vt?Qt.preventDefault():xt();break}}};Oe.useEffect(function(){return Re?(window.addEventListener("keydown",bn),ot&&ke(Wt,3),function(){window.removeEventListener("keydown",bn),Ot.current=!1}):function(){Ot.current=!1}},[Re])}var Be=(0,Oe.forwardRef)(function(Ae,Re){var ze=Ae.overlay,Qe=Ae.arrow,ot=Ae.prefixCls,mt=(0,Oe.useMemo)(function(){var xt;return typeof ze=="function"?xt=ze():xt=ze,xt},[ze]),Ot=ce(Re,mt==null?void 0:mt.ref);return Oe.createElement(Oe.Fragment,null,Qe&&Oe.createElement("div",{className:"".concat(ot,"-arrow")}),Oe.cloneElement(mt,{ref:pe(mt)?Ot:void 0}))}),Ue=Be,_e={adjustX:1,adjustY:1},We=[0,0],Ze={topLeft:{points:["bl","tl"],overflow:_e,offset:[0,-4],targetOffset:We},top:{points:["bc","tc"],overflow:_e,offset:[0,-4],targetOffset:We},topRight:{points:["br","tr"],overflow:_e,offset:[0,-4],targetOffset:We},bottomLeft:{points:["tl","bl"],overflow:_e,offset:[0,4],targetOffset:We},bottom:{points:["tc","bc"],overflow:_e,offset:[0,4],targetOffset:We},bottomRight:{points:["tr","br"],overflow:_e,offset:[0,4],targetOffset:We}},et=Ze,at=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function pt(Ae,Re){var ze,Qe=Ae.arrow,ot=Qe===void 0?!1:Qe,mt=Ae.prefixCls,Ot=mt===void 0?"rc-dropdown":mt,xt=Ae.transitionName,Wt=Ae.animation,bn=Ae.align,Ft=Ae.placement,Qt=Ft===void 0?"bottomLeft":Ft,Vt=Ae.placements,yn=Vt===void 0?et:Vt,Pt=Ae.getPopupContainer,zt=Ae.showAction,an=Ae.hideAction,gn=Ae.overlayClassName,Tn=Ae.overlayStyle,Gn=Ae.visible,fr=Ae.trigger,Tr=fr===void 0?["hover"]:fr,Wr=Ae.autoFocus,ti=Ae.overlay,Dr=Ae.children,ri=Ae.onVisibleChange,Mi=(0,ae.Z)(Ae,at),$r=Oe.useState(),Xi=(0,te.Z)($r,2),Ii=Xi[0],nn=Xi[1],Jn="visible"in Ae?Gn:Ii,hr=Oe.useRef(null),Kn=Oe.useRef(null),Hr=Oe.useRef(null);Oe.useImperativeHandle(Re,function(){return hr.current});var Pr=function(kn){nn(kn),ri==null||ri(kn)};De({visible:Jn,triggerRef:Hr,onVisibleChange:Pr,autoFocus:Wr,overlayRef:Kn});var Or=function(kn){var pn=Ae.onOverlayClick;nn(!1),pn&&pn(kn)},Mr=function(){return Oe.createElement(Ue,{ref:Kn,overlay:ti,prefixCls:Ot,arrow:ot})},Ut=function(){return typeof ti=="function"?Mr:Mr()},$t=function(){var kn=Ae.minOverlayWidthMatchTrigger,pn=Ae.alignPoint;return"minOverlayWidthMatchTrigger"in Ae?kn:!pn},qt=function(){var kn=Ae.openClassName;return kn!==void 0?kn:"".concat(Ot,"-open")},Nn=Oe.cloneElement(Dr,{className:Te()((ze=Dr.props)===null||ze===void 0?void 0:ze.className,Jn&&qt()),ref:pe(Dr)?ce(Hr,Dr.ref):void 0}),jt=an;return!jt&&Tr.indexOf("contextMenu")!==-1&&(jt=["click"]),Oe.createElement(ne.Z,(0,me.Z)({builtinPlacements:yn},Mi,{prefixCls:Ot,ref:hr,popupClassName:Te()(gn,(0,ie.Z)({},"".concat(Ot,"-show-arrow"),ot)),popupStyle:Tn,action:Tr,showAction:zt,hideAction:jt,popupPlacement:Qt,popupAlign:bn,popupTransitionName:xt,popupAnimation:Wt,popupVisible:Jn,stretch:$t()?"minWidth":"",popup:Ut(),onPopupVisibleChange:Pr,onPopupClick:Or,getPopupContainer:Pt}),Nn)}var Xe=Oe.forwardRef(pt),Ge=Xe,lt=ve(60276),dt=ve(5663),st=ve(10366),nt=ve(80636),rt=ve(8745),it=ve(96159),gt=ve(53124),vt=ve(68508),At=ve(76529),Et=ve(46605),ut=ve(66748);const Ye=null,Ve=Ae=>{const{menu:Re,arrow:ze,prefixCls:Qe,children:ot,trigger:mt,disabled:Ot,dropdownRender:xt,getPopupContainer:Wt,overlayClassName:bn,rootClassName:Ft,open:Qt,onOpenChange:Vt,visible:yn,onVisibleChange:Pt,mouseEnterDelay:zt=.15,mouseLeaveDelay:an=.1,autoAdjustOverflow:gn=!0,placement:Tn="",overlay:Gn,transitionName:fr}=Ae,{getPopupContainer:Tr,getPrefixCls:Wr,direction:ti}=Oe.useContext(gt.E_),Dr=Oe.useMemo(()=>{const Nn=Wr();return fr!==void 0?fr:Tn.includes("top")?`${Nn}-slide-down`:`${Nn}-slide-up`},[Wr,Tn,fr]),ri=Oe.useMemo(()=>Tn?Tn.includes("Center")?Tn.slice(0,Tn.indexOf("Center")):Tn:ti==="rtl"?"bottomRight":"bottomLeft",[Tn,ti]),Mi=Wr("dropdown",Qe),[$r,Xi]=(0,ut.Z)(Mi),[,Ii]=(0,Et.Z)(),nn=Oe.Children.only(ot),Jn=(0,it.Tm)(nn,{className:Te()(`${Mi}-trigger`,{[`${Mi}-rtl`]:ti==="rtl"},nn.props.className),disabled:Ot}),hr=Ot?[]:mt;let Kn;hr&&hr.includes("contextMenu")&&(Kn=!0);const[Hr,Pr]=(0,dt.Z)(!1,{value:Qt!=null?Qt:yn}),Or=(0,lt.useEvent)(Nn=>{Vt==null||Vt(Nn),Pt==null||Pt(Nn),Pr(Nn)}),Mr=Te()(bn,Ft,Xi,{[`${Mi}-rtl`]:ti==="rtl"}),Ut=(0,nt.Z)({arrowPointAtCenter:typeof ze=="object"&&ze.pointAtCenter,autoAdjustOverflow:gn,offset:Ii.marginXXS,arrowWidth:ze?Ii.sizePopupArrow:0,borderRadius:Ii.borderRadius}),$t=Oe.useCallback(()=>{Pr(!1)},[]),qt=()=>{let Nn;return Re!=null&&Re.items?Nn=Oe.createElement(vt.default,Object.assign({},Re)):typeof Gn=="function"?Nn=Gn():Nn=Gn,xt&&(Nn=xt(Nn)),Nn=Oe.Children.only(typeof Nn=="string"?Oe.createElement("span",null,Nn):Nn),Oe.createElement(At.J,{prefixCls:`${Mi}-menu`,expandIcon:Oe.createElement("span",{className:`${Mi}-menu-submenu-arrow`},Oe.createElement($e.Z,{className:`${Mi}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:$t,validator:jt=>{let{mode:on}=jt}},Nn)};return $r(Oe.createElement(Ge,Object.assign({alignPoint:Kn},(0,st.Z)(Ae,["rootClassName"]),{mouseEnterDelay:zt,mouseLeaveDelay:an,visible:Hr,builtinPlacements:Ut,arrow:!!ze,overlayClassName:Mr,prefixCls:Mi,getPopupContainer:Wt||Tr,transitionName:Dr,trigger:hr,overlay:qt,placement:ri,onVisibleChange:Or}),Jn))};function de(Ae){return Object.assign(Object.assign({},Ae),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Ce=(0,rt.Z)(Ve,"dropdown",Ae=>Ae,de),He=Ae=>Oe.createElement(Ce,Object.assign({},Ae),Oe.createElement("span",null));Ve._InternalPanelDoNotUseOrYouWillBeFired=He;var je=Ve},85418:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return fe}});var Oe=ve(35874),$e=ve(94184),x=ve.n($e),Te=ve(67294),me=ve(25877),ie=ve(71577),te=ve(53124),ae=ve(93421),ne=ve(4173),oe=ve(66748),he=function(pe,le){var Se={};for(var xe in pe)Object.prototype.hasOwnProperty.call(pe,xe)&&le.indexOf(xe)<0&&(Se[xe]=pe[xe]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,xe=Object.getOwnPropertySymbols(pe);ge<xe.length;ge++)le.indexOf(xe[ge])<0&&Object.prototype.propertyIsEnumerable.call(pe,xe[ge])&&(Se[xe[ge]]=pe[xe[ge]]);return Se};const re=pe=>{const{getPopupContainer:le,getPrefixCls:Se,direction:xe}=Te.useContext(te.E_),{prefixCls:ge,type:Me="default",danger:ye,disabled:be,loading:Fe,onClick:ke,htmlType:Ie,children:Le,className:De,menu:Be,arrow:Ue,autoFocus:_e,overlay:We,trigger:Ze,align:et,open:at,onOpenChange:pt,placement:Xe,getPopupContainer:Ge,href:lt,icon:dt=Te.createElement(me.Z,null),title:st,buttonsRender:nt=Ot=>Ot,mouseEnterDelay:rt,mouseLeaveDelay:it,overlayClassName:gt,overlayStyle:vt,destroyPopupOnHide:At,dropdownRender:Et}=pe,ut=he(pe,["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"]),Ye=Se("dropdown",ge),Ve=`${Ye}-button`,[de,Ce]=(0,oe.Z)(Ye),He={menu:Be,arrow:Ue,autoFocus:_e,align:et,disabled:be,trigger:be?[]:Ze,onOpenChange:pt,getPopupContainer:Ge||le,mouseEnterDelay:rt,mouseLeaveDelay:it,overlayClassName:gt,overlayStyle:vt,destroyPopupOnHide:At,dropdownRender:Et},{compactSize:je,compactItemClassnames:Ae}=(0,ne.ri)(Ye,xe),Re=x()(Ve,Ae,De,Ce);"overlay"in pe&&(He.overlay=We),"open"in pe&&(He.open=at),"placement"in pe?He.placement=Xe:He.placement=xe==="rtl"?"bottomLeft":"bottomRight";const ze=Te.createElement(ie.ZP,{type:Me,danger:ye,disabled:be,loading:Fe,onClick:ke,htmlType:Ie,href:lt,title:st},Le),Qe=Te.createElement(ie.ZP,{type:Me,danger:ye,icon:dt}),[ot,mt]=nt([ze,Qe]);return de(Te.createElement(ae.Z.Compact,Object.assign({className:Re,size:je,block:!0},ut),ot,Te.createElement(Oe.Z,Object.assign({},He),mt)))};re.__ANT_BUTTON=!0;var se=re;const ce=Oe.Z;ce.Button=se;var fe=ce},66748:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return he}});var Oe=ve(14747),$e=ve(67771),x=ve(33297),Te=ve(50438),me=ve(97414),ie=ve(67968),te=ve(45503),ne=re=>{const{componentCls:se,menuCls:ce,colorError:fe,colorTextLightSolid:pe}=re,le=`${ce}-item`;return{[`${se}, ${se}-menu-submenu`]:{[`${ce} ${le}`]:{[`&${le}-danger:not(${le}-disabled)`]:{color:fe,"&:hover":{color:pe,backgroundColor:fe}}}}}};const oe=re=>{const{componentCls:se,menuCls:ce,zIndexPopup:fe,dropdownArrowDistance:pe,sizePopupArrow:le,antCls:Se,iconCls:xe,motionDurationMid:ge,dropdownPaddingVertical:Me,fontSize:ye,dropdownEdgeChildPadding:be,colorTextDisabled:Fe,fontSizeIcon:ke,controlPaddingHorizontal:Ie,colorBgElevated:Le}=re;return[{[se]:Object.assign(Object.assign({},(0,Oe.Wf)(re)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:fe,display:"block","&::before":{position:"absolute",insetBlock:-pe+le/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${Se}-btn`]:{[`& > ${xe}-down, & > ${Se}-btn-icon > ${xe}-down`]:{fontSize:ke}},[`${se}-wrap`]:{position:"relative",[`${Se}-btn > ${xe}-down`]:{fontSize:ke},[`${xe}-down::before`]:{transition:`transform ${ge}`}},[`${se}-wrap-open`]:{[`${xe}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Se}-slide-down-enter${Se}-slide-down-enter-active${se}-placement-bottomLeft,
&${Se}-slide-down-appear${Se}-slide-down-appear-active${se}-placement-bottomLeft,
&${Se}-slide-down-enter${Se}-slide-down-enter-active${se}-placement-bottom,
&${Se}-slide-down-appear${Se}-slide-down-appear-active${se}-placement-bottom,
&${Se}-slide-down-enter${Se}-slide-down-enter-active${se}-placement-bottomRight,
&${Se}-slide-down-appear${Se}-slide-down-appear-active${se}-placement-bottomRight`]:{animationName:$e.fJ},[`&${Se}-slide-up-enter${Se}-slide-up-enter-active${se}-placement-topLeft,
&${Se}-slide-up-appear${Se}-slide-up-appear-active${se}-placement-topLeft,
&${Se}-slide-up-enter${Se}-slide-up-enter-active${se}-placement-top,
&${Se}-slide-up-appear${Se}-slide-up-appear-active${se}-placement-top,
&${Se}-slide-up-enter${Se}-slide-up-enter-active${se}-placement-topRight,
&${Se}-slide-up-appear${Se}-slide-up-appear-active${se}-placement-topRight`]:{animationName:$e.Qt},[`&${Se}-slide-down-leave${Se}-slide-down-leave-active${se}-placement-bottomLeft,
&${Se}-slide-down-leave${Se}-slide-down-leave-active${se}-placement-bottom,
&${Se}-slide-down-leave${Se}-slide-down-leave-active${se}-placement-bottomRight`]:{animationName:$e.Uw},[`&${Se}-slide-up-leave${Se}-slide-up-leave-active${se}-placement-topLeft,
&${Se}-slide-up-leave${Se}-slide-up-leave-active${se}-placement-top,
&${Se}-slide-up-leave${Se}-slide-up-leave-active${se}-placement-topRight`]:{animationName:$e.ly}})},(0,me.ZP)(re,{colorBg:Le,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${se} ${ce}`]:{position:"relative",margin:0},[`${ce}-submenu-popup`]:{position:"absolute",zIndex:fe,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${se}, ${se}-menu-submenu`]:{[ce]:Object.assign(Object.assign({padding:be,listStyleType:"none",backgroundColor:Le,backgroundClip:"padding-box",borderRadius:re.borderRadiusLG,outline:"none",boxShadow:re.boxShadowSecondary},(0,Oe.Qy)(re)),{[`${ce}-item-group-title`]:{padding:`${Me}px ${Ie}px`,color:re.colorTextDescription,transition:`all ${ge}`},[`${ce}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ce}-item-icon`]:{minWidth:ye,marginInlineEnd:re.marginXS,fontSize:re.fontSizeSM},[`${ce}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ge}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ce}-item, ${ce}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${Me}px ${Ie}px`,color:re.colorText,fontWeight:"normal",fontSize:ye,lineHeight:re.lineHeight,cursor:"pointer",transition:`all ${ge}`,borderRadius:re.borderRadiusSM,"&:hover, &-active":{backgroundColor:re.controlItemBgHover}},(0,Oe.Qy)(re)),{"&-selected":{color:re.colorPrimary,backgroundColor:re.controlItemBgActive,"&:hover, &-active":{backgroundColor:re.controlItemBgActiveHover}},"&-disabled":{color:Fe,cursor:"not-allowed","&:hover":{color:Fe,backgroundColor:Le,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${re.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:re.colorSplit},[`${se}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:re.paddingXS,[`${se}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:re.colorTextDescription,fontSize:ke,fontStyle:"normal"}}}),[`${ce}-item-group-list`]:{margin:`0 ${re.marginXS}px`,padding:0,listStyle:"none"},[`${ce}-submenu-title`]:{paddingInlineEnd:Ie+re.fontSizeSM},[`${ce}-submenu-vertical`]:{position:"relative"},[`${ce}-submenu${ce}-submenu-disabled ${se}-menu-submenu-title`]:{[`&, ${se}-menu-submenu-arrow-icon`]:{color:Fe,backgroundColor:Le,cursor:"not-allowed"}},[`${ce}-submenu-selected ${se}-menu-submenu-title`]:{color:re.colorPrimary}})}},[(0,$e.oN)(re,"slide-up"),(0,$e.oN)(re,"slide-down"),(0,x.Fm)(re,"move-up"),(0,x.Fm)(re,"move-down"),(0,Te._y)(re,"zoom-big")]]};var he=(0,ie.Z)("Dropdown",(re,se)=>{let{rootPrefixCls:ce}=se;const{marginXXS:fe,sizePopupArrow:pe,controlHeight:le,fontSize:Se,lineHeight:xe,paddingXXS:ge,componentCls:Me,borderRadiusLG:ye}=re,be=(le-Se*xe)/2,{dropdownArrowOffset:Fe}=(0,me.fS)({contentRadius:ye}),ke=(0,te.TS)(re,{menuCls:`${Me}-menu`,rootPrefixCls:ce,dropdownArrowDistance:pe/2+fe,dropdownArrowOffset:Fe,dropdownPaddingVertical:be,dropdownEdgeChildPadding:ge});return[oe(ke),ne(ke)]},re=>({zIndexPopup:re.zIndexPopupBase+50}))},32983:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return ge}});var Oe=ve(94184),$e=ve.n(Oe),x=ve(67294),Te=ve(53124),me=ve(10110),ie=ve(84780),te=ve(46605),ne=()=>{const[,Me]=(0,te.Z)(),be=new ie.C(Me.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return x.createElement("svg",{style:be,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",{fill:"none",fillRule:"evenodd"},x.createElement("g",{transform:"translate(24 31.67)"},x.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),x.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"}),x.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)"}),x.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"}),x.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"})),x.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"}),x.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},x.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),x.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},he=()=>{const[,Me]=(0,te.Z)(),{colorFill:ye,colorFillTertiary:be,colorFillQuaternary:Fe,colorBgContainer:ke}=Me,{borderColor:Ie,shadowColor:Le,contentColor:De}=(0,x.useMemo)(()=>({borderColor:new ie.C(ye).onBackground(ke).toHexShortString(),shadowColor:new ie.C(be).onBackground(ke).toHexShortString(),contentColor:new ie.C(Fe).onBackground(ke).toHexShortString()}),[ye,be,Fe,ke]);return x.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},x.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},x.createElement("ellipse",{fill:Le,cx:"32",cy:"33",rx:"32",ry:"7"}),x.createElement("g",{fillRule:"nonzero",stroke:Ie},x.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"}),x.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:De}))))},re=ve(67968),se=ve(45503);const ce=Me=>{const{componentCls:ye,margin:be,marginXS:Fe,marginXL:ke,fontSize:Ie,lineHeight:Le}=Me;return{[ye]:{marginInline:Fe,fontSize:Ie,lineHeight:Le,textAlign:"center",[`${ye}-image`]:{height:Me.emptyImgHeight,marginBottom:Fe,opacity:Me.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${ye}-description`]:{color:Me.colorText},[`${ye}-footer`]:{marginTop:be},"&-normal":{marginBlock:ke,color:Me.colorTextDisabled,[`${ye}-description`]:{color:Me.colorTextDisabled},[`${ye}-image`]:{height:Me.emptyImgHeightMD}},"&-small":{marginBlock:Fe,color:Me.colorTextDisabled,[`${ye}-image`]:{height:Me.emptyImgHeightSM}}}}};var fe=(0,re.Z)("Empty",Me=>{const{componentCls:ye,controlHeightLG:be}=Me,Fe=(0,se.TS)(Me,{emptyImgCls:`${ye}-img`,emptyImgHeight:be*2.5,emptyImgHeightMD:be,emptyImgHeightSM:be*.875});return[ce(Fe)]}),pe=function(Me,ye){var be={};for(var Fe in Me)Object.prototype.hasOwnProperty.call(Me,Fe)&&ye.indexOf(Fe)<0&&(be[Fe]=Me[Fe]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,Fe=Object.getOwnPropertySymbols(Me);ke<Fe.length;ke++)ye.indexOf(Fe[ke])<0&&Object.prototype.propertyIsEnumerable.call(Me,Fe[ke])&&(be[Fe[ke]]=Me[Fe[ke]]);return be};const le=x.createElement(ne,null),Se=x.createElement(he,null),xe=Me=>{var{className:ye,rootClassName:be,prefixCls:Fe,image:ke=le,description:Ie,children:Le,imageStyle:De,style:Be}=Me,Ue=pe(Me,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:_e,direction:We,empty:Ze}=x.useContext(Te.E_),et=_e("empty",Fe),[at,pt]=fe(et),[Xe]=(0,me.Z)("Empty"),Ge=typeof Ie!="undefined"?Ie:Xe==null?void 0:Xe.description,lt=typeof Ge=="string"?Ge:"empty";let dt=null;return typeof ke=="string"?dt=x.createElement("img",{alt:lt,src:ke}):dt=ke,at(x.createElement("div",Object.assign({className:$e()(pt,et,Ze==null?void 0:Ze.className,{[`${et}-normal`]:ke===Se,[`${et}-rtl`]:We==="rtl"},ye,be),style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),Be)},Ue),x.createElement("div",{className:`${et}-image`,style:De},dt),Ge&&x.createElement("div",{className:`${et}-description`},Ge),Le&&x.createElement("div",{className:`${et}-footer`},Le)))};xe.PRESENTED_IMAGE_DEFAULT=le,xe.PRESENTED_IMAGE_SIMPLE=Se;var ge=xe},22150:function(tn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return Nn}});var Oe=ve(74902),$e=ve(94184),x=ve.n($e),Te=ve(38379),me=ve(67294),ie=ve(33603),te=ve(65223);function ae(jt){const[on,kn]=me.useState(jt);return me.useEffect(()=>{const pn=setTimeout(()=>{kn(jt)},jt.length?0:10);return()=>{clearTimeout(pn)}},[jt]),on}var ne=ve(14747),oe=ve(50438),he=ve(33507),re=ve(45503),se=ve(67968),fe=jt=>{const{componentCls:on}=jt,kn=`${on}-show-help`,pn=`${on}-show-help-item`;return{[kn]:{transition:`opacity ${jt.motionDurationSlow} ${jt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[pn]:{overflow:"hidden",transition:`height ${jt.motionDurationSlow} ${jt.motionEaseInOut},
opacity ${jt.motionDurationSlow} ${jt.motionEaseInOut},
transform ${jt.motionDurationSlow} ${jt.motionEaseInOut} !important`,[`&${pn}-appear, &${pn}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${pn}-leave-active`]:{transform:"translateY(-5px)"}}}}};const pe=jt=>({legend:{display:"block",width:"100%",marginBottom:jt.marginLG,padding:0,color:jt.colorTextDescription,fontSize:jt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${jt.lineWidth}px ${jt.lineType} ${jt.colorBorder}`},label:{fontSize:jt.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 ${jt.controlOutlineWidth}px ${jt.controlOutline}`},output:{display:"block",paddingTop:15,color:jt.colorText,fontSize:jt.fontSize,lineHeight:jt.lineHeight}}),le=(jt,on)=>{const{formItemCls:kn}=jt;return{[kn]:{[`${kn}-label > label`]:{height:on},[`${kn}-control-input`]:{minHeight:on}}}},Se=jt=>{const{componentCls:on}=jt;return{[jt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,ne.Wf)(jt)),pe(jt)),{[`${on}-text`]:{display:"inline-block",paddingInlineEnd:jt.paddingSM},"&-small":Object.assign({},le(jt,jt.controlHeightSM)),"&-large":Object.assign({},le(jt,jt.controlHeightLG))})}},xe=jt=>{const{formItemCls:on,iconCls:kn,componentCls:pn,rootPrefixCls:Bn,labelRequiredMarkColor:Rn,labelColor:pr,labelFontSize:ii,labelHeight:Lr,labelColonMarginInlineStart:Ir,labelColonMarginInlineEnd:Ur,itemMarginBottom:Zr}=jt;return{[on]:Object.assign(Object.assign({},(0,ne.Wf)(jt)),{marginBottom:Zr,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden.${Bn}-row`]:{display:"none"},"&-has-warning":{[`${on}-split`]:{color:jt.colorError}},"&-has-error":{[`${on}-split`]:{color:jt.colorWarning}},[`${on}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${jt.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Lr,color:pr,fontSize:ii,[`> ${kn}`]:{fontSize:jt.fontSize,verticalAlign:"top"},[`&${on}-required:not(${on}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:jt.marginXXS,color:Rn,fontSize:jt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${pn}-hide-required-mark &`]:{display:"none"}},[`${on}-optional`]:{display:"inline-block",marginInlineStart:jt.marginXXS,color:jt.colorTextDescription,[`${pn}-hide-required-mark &`]:{display:"none"}},[`${on}-tooltip`]:{color:jt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:jt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Ir,marginInlineEnd:Ur},[`&${on}-no-colon::after`]:{content:'"\\a0"'}}},[`${on}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Bn}-col-'"]):not([class*="' ${Bn}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:jt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[on]:{"&-explain, &-extra":{clear:"both",color:jt.colorTextDescription,fontSize:jt.fontSize,lineHeight:jt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:jt.controlHeightSM,transition:`color ${jt.motionDurationMid} ${jt.motionEaseOut}`},"&-explain":{"&-error":{color:jt.colorError},"&-warning":{color:jt.colorWarning}}},[`&-with-help ${on}-explain`]:{height:"auto",opacity:1},[`${on}-feedback-icon`]:{fontSize:jt.fontSize,textAlign:"center",visibility:"visible",animationName:oe.kr,animationDuration:jt.motionDurationMid,animationTimingFunction:jt.motionEaseOutBack,pointerEvents:"none","&-success":{color:jt.colorSuccess},"&-error":{color:jt.colorError},"&-warning":{color:jt.colorWarning},"&-validating":{color:jt.colorPrimary}}})}},ge=jt=>{const{componentCls:on,formItemCls:kn}=jt;return{[`${on}-horizontal`]:{[`${kn}-label`]:{flexGrow:0},[`${kn}-control`]:{flex:"1 1 0",minWidth:0},[`${kn}-label[class$='-24'], ${kn}-label[class*='-24 ']`]:{[`& + ${kn}-control`]:{minWidth:"unset"}}}}},Me=jt=>{const{componentCls:on,formItemCls:kn}=jt;return{[`${on}-inline`]:{display:"flex",flexWrap:"wrap",[kn]:{flex:"none",marginInlineEnd:jt.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${kn}-label,
> ${kn}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${kn}-label`]:{flex:"none"},[`${on}-text`]:{display:"inline-block"},[`${kn}-has-feedback`]:{display:"inline-block"}}}}},ye=jt=>({padding:jt.verticalLabelPadding,margin:jt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),be=jt=>{const{componentCls:on,formItemCls:kn,rootPrefixCls:pn}=jt;return{[`${kn} ${kn}-label`]:ye(jt),[on]:{[kn]:{flexWrap:"wrap",[`${kn}-label, ${kn}-control`]:{[`&:not([class*=" ${pn}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Fe=jt=>{const{componentCls:on,formItemCls:kn,rootPrefixCls:pn}=jt;return{[`${on}-vertical`]:{[kn]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${on}-item-control`]:{width:"100%"}}},[`${on}-vertical ${kn}-label,
.${pn}-col-24${kn}-label,
.${pn}-col-xl-24${kn}-label`]:ye(jt),[`@media (max-width: ${jt.screenXSMax}px)`]:[be(jt),{[on]:{[`.${pn}-col-xs-24${kn}-label`]:ye(jt)}}],[`@media (max-width: ${jt.screenSMMax}px)`]:{[on]:{[`.${pn}-col-sm-24${kn}-label`]:ye(jt)}},[`@media (max-width: ${jt.screenMDMax}px)`]:{[on]:{[`.${pn}-col-md-24${kn}-label`]:ye(jt)}},[`@media (max-width: ${jt.screenLGMax}px)`]:{[on]:{[`.${pn}-col-lg-24${kn}-label`]:ye(jt)}}}},ke=(jt,on)=>(0,re.TS)(jt,{formItemCls:`${jt.componentCls}-item`,rootPrefixCls:on});var Ie=(0,se.Z)("Form",(jt,on)=>{let{rootPrefixCls:kn}=on;const pn=ke(jt,kn);return[Se(pn),xe(pn),fe(pn),ge(pn),Me(pn),Fe(pn),(0,he.Z)(pn),oe.kr]},jt=>({labelRequiredMarkColor:jt.colorError,labelColor:jt.colorTextHeading,labelFontSize:jt.fontSize,labelHeight:jt.controlHeight,labelColonMarginInlineStart:jt.marginXXS/2,labelColonMarginInlineEnd:jt.marginXS,itemMarginBottom:jt.marginLG,verticalLabelPadding:`0 0 ${jt.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const Le=[];function De(jt,on,kn){let pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof jt=="string"?jt:`${on}-${pn}`,error:jt,errorStatus:kn}}var Ue=jt=>{let{help:on,helpStatus:kn,errors:pn=Le,warnings:Bn=Le,className:Rn,fieldId:pr,onVisibleChanged:ii}=jt;const{prefixCls:Lr}=me.useContext(te.Rk),Ir=`${Lr}-item-explain`,[,Ur]=Ie(Lr),Zr=(0,me.useMemo)(()=>(0,ie.Z)(Lr),[Lr]),ln=ae(pn),Jt=ae(Bn),cn=me.useMemo(()=>on!=null?[De(on,"help",kn)]:[].concat((0,Oe.Z)(ln.map((Ar,Fn)=>De(Ar,"error","error",Fn))),(0,Oe.Z)(Jt.map((Ar,Fn)=>De(Ar,"warning","warning",Fn)))),[on,kn,ln,Jt]),er={};return pr&&(er.id=`${pr}_help`),me.createElement(Te.default,{motionDeadline:Zr.motionDeadline,motionName:`${Lr}-show-help`,visible:!!cn.length,onVisibleChanged:ii},Ar=>{const{className:Fn,style:lr}=Ar;return me.createElement("div",Object.assign({},er,{className:x()(Ir,Fn,Rn,Ur),style:lr,role:"alert"}),me.createElement(Te.CSSMotionList,Object.assign({keys:cn},(0,ie.Z)(Lr),{motionName:`${Lr}-show-help-item`,component:!1}),ir=>{const{key:wr,error:Vr,errorStatus:Zn,className:_i,style:gi}=ir;return me.createElement("div",{key:wr,className:x()(_i,{[`${Ir}-${Zn}`]:Zn}),style:gi},Vr)}))})},_e=ve(58083),We=ve(53124),Ze=ve(98866),et=ve(97647),at=ve(98675),pt=ve(17423);const Xe=["parentNode"],Ge="form_item";function lt(jt){return jt===void 0||jt===!1?[]:Array.isArray(jt)?jt:[jt]}function dt(jt,on){if(!jt.length)return;const kn=jt.join("_");return on?`${on}_${kn}`:Xe.includes(kn)?`${Ge}_${kn}`:kn}function st(jt,on,kn,pn,Bn,Rn){let pr=pn;return Rn!==void 0?pr=Rn:kn.validating?pr="validating":jt.length?pr="error":on.length?pr="warning":(kn.touched||Bn&&kn.validated)&&(pr="success"),pr}function nt(jt){return lt(jt).join("_")}function rt(jt){const[on]=(0,_e.useForm)(),kn=me.useRef({}),pn=me.useMemo(()=>jt!=null?jt:Object.assign(Object.assign({},on),{__INTERNAL__:{itemRef:Bn=>Rn=>{const pr=nt(Bn);Rn?kn.current[pr]=Rn:delete kn.current[pr]}},scrollToField:function(Bn){let Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const pr=lt(Bn),ii=dt(pr,pn.__INTERNAL__.name),Lr=ii?document.getElementById(ii):null;Lr&&(0,pt.Z)(Lr,Object.assign({scrollMode:"if-needed",block:"nearest"},Rn))},getFieldInstance:Bn=>{const Rn=nt(Bn);return kn.current[Rn]}}),[jt,on]);return[pn]}var it=ve(37920),gt=function(jt,on){var kn={};for(var pn in jt)Object.prototype.hasOwnProperty.call(jt,pn)&&on.indexOf(pn)<0&&(kn[pn]=jt[pn]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bn=0,pn=Object.getOwnPropertySymbols(jt);Bn<pn.length;Bn++)on.indexOf(pn[Bn])<0&&Object.prototype.propertyIsEnumerable.call(jt,pn[Bn])&&(kn[pn[Bn]]=jt[pn[Bn]]);return kn};const vt=(jt,on)=>{const kn=me.useContext(Ze.Z),{getPrefixCls:pn,direction:Bn,form:Rn}=me.useContext(We.E_),{prefixCls:pr,className:ii,rootClassName:Lr,size:Ir,disabled:Ur=kn,form:Zr,colon:ln,labelAlign:Jt,labelWrap:cn,labelCol:er,wrapperCol:Ar,hideRequiredMark:Fn,layout:lr="horizontal",scrollToFirstError:ir,requiredMark:wr,onFinishFailed:Vr,name:Zn,style:_i,feedbackIcons:gi}=jt,ma=gt(jt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),ga=(0,at.Z)(Ir),la=me.useContext(it.Z),_a=(0,me.useMemo)(()=>wr!==void 0?wr:Rn&&Rn.requiredMark!==void 0?Rn.requiredMark:!Fn,[Fn,wr,Rn]),$i=ln!=null?ln:Rn==null?void 0:Rn.colon,Ui=pn("form",pr),[ya,Ka]=Ie(Ui),Ri=x()(Ui,`${Ui}-${lr}`,{[`${Ui}-hide-required-mark`]:_a===!1,[`${Ui}-rtl`]:Bn==="rtl",[`${Ui}-${ga}`]:ga},Ka,Rn==null?void 0:Rn.className,ii,Lr),[ca]=rt(Zr),{__INTERNAL__:Na}=ca;Na.name=Zn;const ro=(0,me.useMemo)(()=>({name:Zn,labelAlign:Jt,labelCol:er,labelWrap:cn,wrapperCol:Ar,vertical:lr==="vertical",colon:$i,requiredMark:_a,itemRef:Na.itemRef,form:ca,feedbackIcons:gi}),[Zn,Jt,er,Ar,lr,$i,_a,ca,gi]);me.useImperativeHandle(on,()=>ca);const Ya=(mn,sn)=>{if(mn){let jn={block:"nearest"};typeof mn=="object"&&(jn=mn),ca.scrollToField(sn,jn)}},Wi=mn=>{if(Vr==null||Vr(mn),mn.errorFields.length){const sn=mn.errorFields[0].name;if(ir!==void 0){Ya(ir,sn);return}Rn&&Rn.scrollToFirstError!==void 0&&Ya(Rn.scrollToFirstError,sn)}};return ya(me.createElement(Ze.n,{disabled:Ur},me.createElement(et.q,{size:ga},me.createElement(te.RV,Object.assign({},{validateMessages:la}),me.createElement(te.q3.Provider,{value:ro},me.createElement(_e.default,Object.assign({id:Zn},ma,{name:Zn,onFinishFailed:Wi,form:ca,style:Object.assign(Object.assign({},Rn==null?void 0:Rn.style),_i),className:Ri})))))))};var Et=me.forwardRef(vt),ut=ve(9475),Ye=ve(17799),Ve=ve(96159),de=ve(37419);function Ce(jt){if(typeof jt=="function")return jt;const on=(0,de.Z)(jt);return on.length<=1?on[0]:on}const He=()=>{const{status:jt,errors:on=[],warnings:kn=[]}=(0,me.useContext)(te.aM);return{status:jt,errors:on,warnings:kn}};He.Context=te.aM;var je=He,Ae=ve(96523);function Re(jt){const[on,kn]=me.useState(jt),pn=(0,me.useRef)(null),Bn=(0,me.useRef)([]),Rn=(0,me.useRef)(!1);me.useEffect(()=>(Rn.current=!1,()=>{Rn.current=!0,Ae.Z.cancel(pn.current),pn.current=null}),[]);function pr(ii){Rn.current||(pn.current===null&&(Bn.current=[],pn.current=(0,Ae.Z)(()=>{pn.current=null,kn(Lr=>{let Ir=Lr;return Bn.current.forEach(Ur=>{Ir=Ur(Ir)}),Ir})})),Bn.current.push(ii))}return[on,pr]}function ze(){const{itemRef:jt}=me.useContext(te.q3),on=me.useRef({});function kn(pn,Bn){const Rn=Bn&&typeof Bn=="object"&&Bn.ref,pr=pn.join("_");return(on.current.name!==pr||on.current.originRef!==Rn)&&(on.current.name=pr,on.current.originRef=Rn,on.current.ref=(0,Ye.sQ)(jt(pn),Rn)),on.current.ref}return kn}var Qe=ve(48130),ot=ve(14075),mt=ve(10366),Ot=ve(92820),xt=ve(21584);const Wt=jt=>{const{formItemCls:on}=jt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${on}-control`]:{display:"flex"}}}};var bn=(0,se.b)(["Form","item-item"],(jt,on)=>{let{rootPrefixCls:kn}=on;const pn=ke(jt,kn);return[Wt(pn)]}),Qt=jt=>{const{prefixCls:on,status:kn,wrapperCol:pn,children:Bn,errors:Rn,warnings:pr,_internalItemRender:ii,extra:Lr,help:Ir,fieldId:Ur,marginBottom:Zr,onErrorVisibleChanged:ln}=jt,Jt=`${on}-item`,cn=me.useContext(te.q3),er=pn||cn.wrapperCol||{},Ar=x()(`${Jt}-control`,er.className),Fn=me.useMemo(()=>Object.assign({},cn),[cn]);delete Fn.labelCol,delete Fn.wrapperCol;const lr=me.createElement("div",{className:`${Jt}-control-input`},me.createElement("div",{className:`${Jt}-control-input-content`},Bn)),ir=me.useMemo(()=>({prefixCls:on,status:kn}),[on,kn]),wr=Zr!==null||Rn.length||pr.length?me.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},me.createElement(te.Rk.Provider,{value:ir},me.createElement(Ue,{fieldId:Ur,errors:Rn,warnings:pr,help:Ir,helpStatus:kn,className:`${Jt}-explain-connected`,onVisibleChanged:ln})),!!Zr&&me.createElement("div",{style:{width:0,height:Zr}})):null,Vr={};Ur&&(Vr.id=`${Ur}_extra`);const Zn=Lr?me.createElement("div",Object.assign({},Vr,{className:`${Jt}-extra`}),Lr):null,_i=ii&&ii.mark==="pro_table_render"&&ii.render?ii.render(jt,{input:lr,errorList:wr,extra:Zn}):me.createElement(me.Fragment,null,lr,wr,Zn);return me.createElement(te.q3.Provider,{value:Fn},me.createElement(xt.Z,Object.assign({},er,{className:Ar}),_i),me.createElement(bn,{prefixCls:on}))},Vt=ve(17663),yn=ve(24457),Pt=ve(10110),zt=ve(83062),an=function(jt,on){var kn={};for(var pn in jt)Object.prototype.hasOwnProperty.call(jt,pn)&&on.indexOf(pn)<0&&(kn[pn]=jt[pn]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bn=0,pn=Object.getOwnPropertySymbols(jt);Bn<pn.length;Bn++)on.indexOf(pn[Bn])<0&&Object.prototype.propertyIsEnumerable.call(jt,pn[Bn])&&(kn[pn[Bn]]=jt[pn[Bn]]);return kn};function gn(jt){return jt?typeof jt=="object"&&!me.isValidElement(jt)?jt:{title:jt}:null}var Gn=jt=>{let{prefixCls:on,label:kn,htmlFor:pn,labelCol:Bn,labelAlign:Rn,colon:pr,required:ii,requiredMark:Lr,tooltip:Ir}=jt;var Ur;const[Zr]=(0,Pt.Z)("Form"),{vertical:ln,labelAlign:Jt,labelCol:cn,labelWrap:er,colon:Ar}=me.useContext(te.q3);if(!kn)return null;const Fn=Bn||cn||{},lr=Rn||Jt,ir=`${on}-item-label`,wr=x()(ir,lr==="left"&&`${ir}-left`,Fn.className,{[`${ir}-wrap`]:!!er});let Vr=kn;const Zn=pr===!0||Ar!==!1&&pr!==!1;Zn&&!ln&&typeof kn=="string"&&kn.trim()!==""&&(Vr=kn.replace(/[:|]\s*$/,""));const gi=gn(Ir);if(gi){const{icon:_a=me.createElement(Vt.Z,null)}=gi,$i=an(gi,["icon"]),Ui=me.createElement(zt.Z,Object.assign({},$i),me.cloneElement(_a,{className:`${on}-item-tooltip`,title:""}));Vr=me.createElement(me.Fragment,null,Vr,Ui)}const ma=Lr==="optional",ga=typeof Lr=="function";ga?Vr=Lr(Vr,{required:!!ii}):ma&&!ii&&(Vr=me.createElement(me.Fragment,null,Vr,me.createElement("span",{className:`${on}-item-optional`,title:""},(Zr==null?void 0:Zr.optional)||((Ur=yn.Z.Form)===null||Ur===void 0?void 0:Ur.optional))));const la=x()({[`${on}-item-required`]:ii,[`${on}-item-required-mark-optional`]:ma||ga,[`${on}-item-no-colon`]:!Zn});return me.createElement(xt.Z,Object.assign({},Fn,{className:wr}),me.createElement("label",{htmlFor:pn,className:la,title:typeof kn=="string"?kn:""},Vr))},fr=ve(87725),Tr=ve(16646),Wr=ve(87995),ti=ve(3407);const Dr={success:fr.Z,warning:Wr.Z,error:Tr.Z,validating:ti.Z};function ri(jt){let{children:on,errors:kn,warnings:pn,hasFeedback:Bn,validateStatus:Rn,prefixCls:pr,meta:ii,noStyle:Lr}=jt;const Ir=`${pr}-item`,{feedbackIcons:Ur}=me.useContext(te.q3),Zr=st(kn,pn,ii,null,!!Bn,Rn),{isFormItemInput:ln,status:Jt}=me.useContext(te.aM),cn=me.useMemo(()=>{var er;let Ar;if(Bn){const ir=Bn!==!0&&Bn.icons||Ur,wr=Zr&&((er=ir==null?void 0:ir({status:Zr,errors:kn,warnings:pn}))===null||er===void 0?void 0:er[Zr]),Vr=Zr&&Dr[Zr];Ar=wr!==!1&&Vr?me.createElement("span",{className:x()(`${Ir}-feedback-icon`,`${Ir}-feedback-icon-${Zr}`)},wr||me.createElement(Vr,null)):null}let Fn=!0,lr=Zr||"";return Lr&&(Fn=ln,lr=(Zr!=null?Zr:Jt)||""),{status:lr,errors:kn,warnings:pn,hasFeedback:!!Bn,feedbackIcon:Ar,isFormItemInput:Fn}},[Zr,Bn,Lr,ln,Jt]);return me.createElement(te.aM.Provider,{value:cn},on)}var Mi=function(jt,on){var kn={};for(var pn in jt)Object.prototype.hasOwnProperty.call(jt,pn)&&on.indexOf(pn)<0&&(kn[pn]=jt[pn]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bn=0,pn=Object.getOwnPropertySymbols(jt);Bn<pn.length;Bn++)on.indexOf(pn[Bn])<0&&Object.prototype.propertyIsEnumerable.call(jt,pn[Bn])&&(kn[pn[Bn]]=jt[pn[Bn]]);return kn};function $r(jt){const{prefixCls:on,className:kn,rootClassName:pn,style:Bn,help:Rn,errors:pr,warnings:ii,validateStatus:Lr,meta:Ir,hasFeedback:Ur,hidden:Zr,children:ln,fieldId:Jt,required:cn,isRequired:er,onSubItemMetaChange:Ar}=jt,Fn=Mi(jt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),lr=`${on}-item`,{requiredMark:ir}=me.useContext(te.q3),wr=me.useRef(null),Vr=ae(pr),Zn=ae(ii),_i=Rn!=null,gi=!!(_i||pr.length||ii.length),ma=!!wr.current&&(0,Qe.Z)(wr.current),[ga,la]=me.useState(null);(0,ot.Z)(()=>{if(gi&&wr.current){const Ka=getComputedStyle(wr.current);la(parseInt(Ka.marginBottom,10))}},[gi,ma]);const _a=Ka=>{Ka||la(null)},Ui=function(){let Ka=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Ri=Ka?Vr:Ir.errors,ca=Ka?Zn:Ir.warnings;return st(Ri,ca,Ir,"",!!Ur,Lr)}(),ya=x()(lr,kn,pn,{[`${lr}-with-help`]:_i||Vr.length||Zn.length,[`${lr}-has-feedback`]:Ui&&Ur,[`${lr}-has-success`]:Ui==="success",[`${lr}-has-warning`]:Ui==="warning",[`${lr}-has-error`]:Ui==="error",[`${lr}-is-validating`]:Ui==="validating",[`${lr}-hidden`]:Zr});return me.createElement("div",{className:ya,style:Bn,ref:wr},me.createElement(Ot.Z,Object.assign({className:`${lr}-row`},(0,mt.Z)(Fn,["_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"])),me.createElement(Gn,Object.assign({htmlFor:Jt},jt,{requiredMark:ir,required:cn!=null?cn:er,prefixCls:on})),me.createElement(Qt,Object.assign({},jt,Ir,{errors:Vr,warnings:Zn,prefixCls:on,status:Ui,help:Rn,marginBottom:ga,onErrorVisibleChanged:_a}),me.createElement(te.qI.Provider,{value:Ar},me.createElement(ri,{prefixCls:on,meta:Ir,errors:Ir.errors,warnings:Ir.warnings,hasFeedback:Ur,validateStatus:Ui},ln)))),!!ga&&me.createElement("div",{className:`${lr}-margin-offset`,style:{marginBottom:-ga}}))}const Xi="__SPLIT__",Ii=null,nn=me.memo(jt=>{let{children:on}=jt;return on},(jt,on)=>jt.value===on.value&&jt.update===on.update&&jt.childProps.length===on.childProps.length&&jt.childProps.every((kn,pn)=>kn===on.childProps[pn]));function Jn(jt){return jt!=null}function hr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Kn(jt){const{name:on,noStyle:kn,className:pn,dependencies:Bn,prefixCls:Rn,shouldUpdate:pr,rules:ii,children:Lr,required:Ir,label:Ur,messageVariables:Zr,trigger:ln="onChange",validateTrigger:Jt,hidden:cn,help:er}=jt,{getPrefixCls:Ar}=me.useContext(We.E_),{name:Fn}=me.useContext(te.q3),lr=Ce(Lr),ir=typeof lr=="function",wr=me.useContext(te.qI),{validateTrigger:Vr}=me.useContext(_e.FieldContext),Zn=Jt!==void 0?Jt:Vr,_i=Jn(on),gi=Ar("form",Rn),[ma,ga]=Ie(gi),la=me.useContext(_e.ListContext),_a=me.useRef(),[$i,Ui]=Re({}),[ya,Ka]=(0,ut.Z)(()=>hr()),Ri=sn=>{const jn=la==null?void 0:la.getKey(sn.name);if(Ka(sn.destroy?hr():sn,!0),kn&&er!==!1&&wr){let ar=sn.name;if(sn.destroy)ar=_a.current||ar;else if(jn!==void 0){const[gr,Xr]=jn;ar=[gr].concat((0,Oe.Z)(Xr)),_a.current=ar}wr(sn,ar)}},ca=(sn,jn)=>{Ui(ar=>{const gr=Object.assign({},ar),ai=[].concat((0,Oe.Z)(sn.name.slice(0,-1)),(0,Oe.Z)(jn)).join(Xi);return sn.destroy?delete gr[ai]:gr[ai]=sn,gr})},[Na,ro]=me.useMemo(()=>{const sn=(0,Oe.Z)(ya.errors),jn=(0,Oe.Z)(ya.warnings);return Object.values($i).forEach(ar=>{sn.push.apply(sn,(0,Oe.Z)(ar.errors||[])),jn.push.apply(jn,(0,Oe.Z)(ar.warnings||[]))}),[sn,jn]},[$i,ya.errors,ya.warnings]),Ya=ze();function Wi(sn,jn,ar){return kn&&!cn?me.createElement(ri,{prefixCls:gi,hasFeedback:jt.hasFeedback,validateStatus:jt.validateStatus,meta:ya,errors:Na,warnings:ro,noStyle:!0},sn):me.createElement($r,Object.assign({key:"row"},jt,{className:x()(pn,ga),prefixCls:gi,fieldId:jn,isRequired:ar,errors:Na,warnings:ro,meta:ya,onSubItemMetaChange:ca}),sn)}if(!_i&&!ir&&!Bn)return ma(Wi(lr));let mn={};return typeof Ur=="string"?mn.label=Ur:on&&(mn.label=String(on)),Zr&&(mn=Object.assign(Object.assign({},mn),Zr)),ma(me.createElement(_e.Field,Object.assign({},jt,{messageVariables:mn,trigger:ln,validateTrigger:Zn,onMetaChange:Ri}),(sn,jn,ar)=>{const gr=lt(on).length&&jn?jn.name:[],Xr=dt(gr,Fn),ai=Ir!==void 0?Ir:!!(ii&&ii.some(yi=>{if(yi&&typeof yi=="object"&&yi.required&&!yi.warningOnly)return!0;if(typeof yi=="function"){const ji=yi(ar);return ji&&ji.required&&!ji.warningOnly}return!1})),pi=Object.assign({},sn);let Li=null;if(Array.isArray(lr)&&_i)Li=lr;else if(!(ir&&(!(pr||Bn)||_i))){if(!(Bn&&!ir&&!_i))if((0,Ve.l$)(lr)){const yi=Object.assign(Object.assign({},lr.props),pi);if(yi.id||(yi.id=Xr),er||Na.length>0||ro.length>0||jt.extra){const oi=[];(er||Na.length>0)&&oi.push(`${Xr}_help`),jt.extra&&oi.push(`${Xr}_extra`),yi["aria-describedby"]=oi.join(" ")}Na.length>0&&(yi["aria-invalid"]="true"),ai&&(yi["aria-required"]="true"),(0,Ye.Yr)(lr)&&(yi.ref=Ya(gr,lr)),new Set([].concat((0,Oe.Z)(lt(ln)),(0,Oe.Z)(lt(Zn)))).forEach(oi=>{yi[oi]=function(){for(var Sn,Ln,Yn,qe,yt,St=arguments.length,Dt=new Array(St),Tt=0;Tt<St;Tt++)Dt[Tt]=arguments[Tt];(Yn=pi[oi])===null||Yn===void 0||(Sn=Yn).call.apply(Sn,[pi].concat(Dt)),(yt=(qe=lr.props)[oi])===null||yt===void 0||(Ln=yt).call.apply(Ln,[qe].concat(Dt))}});const qi=[yi["aria-required"],yi["aria-invalid"],yi["aria-describedby"]];Li=me.createElement(nn,{value:pi[jt.valuePropName||"value"],update:lr,childProps:qi},(0,Ve.Tm)(lr,yi))}else ir&&(pr||Bn)&&!_i?Li=lr(ar):Li=lr}return Wi(Li,Xr,ai)}))}const Hr=Kn;Hr.useStatus=je;var Pr=Hr,Or=function(jt,on){var kn={};for(var pn in jt)Object.prototype.hasOwnProperty.call(jt,pn)&&on.indexOf(pn)<0&&(kn[pn]=jt[pn]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bn=0,pn=Object.getOwnPropertySymbols(jt);Bn<pn.length;Bn++)on.indexOf(pn[Bn])<0&&Object.prototype.propertyIsEnumerable.call(jt,pn[Bn])&&(kn[pn[Bn]]=jt[pn[Bn]]);return kn},Ut=jt=>{var{prefixCls:on,children:kn}=jt,pn=Or(jt,["prefixCls","children"]);const{getPrefixCls:Bn}=me.useContext(We.E_),Rn=Bn("form",on),pr=me.useMemo(()=>({prefixCls:Rn,status:"error"}),[Rn]);return me.createElement(_e.List,Object.assign({},pn),(ii,Lr,Ir)=>me.createElement(te.Rk.Provider,{value:pr},kn(ii.map(Ur=>Object.assign(Object.assign({},Ur),{fieldKey:Ur.key})),Lr,{errors:Ir.errors,warnings:Ir.warnings})))};function $t(){const{form:jt}=(0,me.useContext)(te.q3);return jt}const qt=Et;qt.Item=Pr,qt.List=Ut,qt.ErrorList=Ue,qt.useForm=rt,qt.useFormInstance=$t,qt.useWatch=_e.useWatch,qt.Provider=te.RV,qt.create=()=>{};var Nn=qt},31795:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Mr}});var Oe=ve(42922),$e=ve(53978),x=ve(94184),Te=ve.n(x),me=ve(87462),ie=ve(4942),te=ve(71002),ae=ve(97685),ne=ve(45987),oe=ve(15671),he=ve(43144);function re(){return typeof BigInt=="function"}function se(Ut){return!Ut&&Ut!==0&&!Number.isNaN(Ut)||!String(Ut).trim()}function ce(Ut){var $t=Ut.trim(),qt=$t.startsWith("-");qt&&($t=$t.slice(1)),$t=$t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),$t.startsWith(".")&&($t="0".concat($t));var Nn=$t||"0",jt=Nn.split("."),on=jt[0]||"0",kn=jt[1]||"0";on==="0"&&kn==="0"&&(qt=!1);var pn=qt?"-":"";return{negative:qt,negativeStr:pn,trimStr:Nn,integerStr:on,decimalStr:kn,fullStr:"".concat(pn).concat(Nn)}}function fe(Ut){var $t=String(Ut);return!Number.isNaN(Number($t))&&$t.includes("e")}function pe(Ut){var $t=String(Ut);if(fe(Ut)){var qt=Number($t.slice($t.indexOf("e-")+2)),Nn=$t.match(/\.(\d+)/);return Nn!=null&&Nn[1]&&(qt+=Nn[1].length),qt}return $t.includes(".")&&Se($t)?$t.length-$t.indexOf(".")-1:0}function le(Ut){var $t=String(Ut);if(fe(Ut)){if(Ut>Number.MAX_SAFE_INTEGER)return String(re()?BigInt(Ut).toString():Number.MAX_SAFE_INTEGER);if(Ut<Number.MIN_SAFE_INTEGER)return String(re()?BigInt(Ut).toString():Number.MIN_SAFE_INTEGER);$t=Ut.toFixed(pe($t))}return ce($t).fullStr}function Se(Ut){return typeof Ut=="number"?!Number.isNaN(Ut):Ut?/^\s*-?\d+(\.\d+)?\s*$/.test(Ut)||/^\s*-?\d+\.\s*$/.test(Ut)||/^\s*-?\.\d+\s*$/.test(Ut):!1}var xe=function(){function Ut($t){if((0,oe.Z)(this,Ut),(0,ie.Z)(this,"origin",""),(0,ie.Z)(this,"negative",void 0),(0,ie.Z)(this,"integer",void 0),(0,ie.Z)(this,"decimal",void 0),(0,ie.Z)(this,"decimalLen",void 0),(0,ie.Z)(this,"empty",void 0),(0,ie.Z)(this,"nan",void 0),se($t)){this.empty=!0;return}if(this.origin=String($t),$t==="-"||Number.isNaN($t)){this.nan=!0;return}var qt=$t;if(fe(qt)&&(qt=Number(qt)),qt=typeof qt=="string"?qt:le(qt),Se(qt)){var Nn=ce(qt);this.negative=Nn.negative;var jt=Nn.trimStr.split(".");this.integer=BigInt(jt[0]);var on=jt[1]||"0";this.decimal=BigInt(on),this.decimalLen=on.length}else this.nan=!0}return(0,he.Z)(Ut,[{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(qt){var Nn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(qt,"0"));return BigInt(Nn)}},{key:"negate",value:function(){var qt=new Ut(this.toString());return qt.negative=!qt.negative,qt}},{key:"cal",value:function(qt,Nn,jt){var on=Math.max(this.getDecimalStr().length,qt.getDecimalStr().length),kn=this.alignDecimal(on),pn=qt.alignDecimal(on),Bn=Nn(kn,pn).toString(),Rn=jt(on),pr=ce(Bn),ii=pr.negativeStr,Lr=pr.trimStr,Ir="".concat(ii).concat(Lr.padStart(Rn+1,"0"));return new Ut("".concat(Ir.slice(0,-Rn),".").concat(Ir.slice(-Rn)))}},{key:"add",value:function(qt){if(this.isInvalidate())return new Ut(qt);var Nn=new Ut(qt);return Nn.isInvalidate()?this:this.cal(Nn,function(jt,on){return jt+on},function(jt){return jt})}},{key:"multi",value:function(qt){var Nn=new Ut(qt);return this.isInvalidate()||Nn.isInvalidate()?new Ut(NaN):this.cal(Nn,function(jt,on){return jt*on},function(jt){return jt*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(qt){return this.toString()===(qt==null?void 0:qt.toString())}},{key:"lessEquals",value:function(qt){return this.add(qt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var qt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return qt?this.isInvalidate()?"":ce("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Ut}(),ge=function(){function Ut($t){if((0,oe.Z)(this,Ut),(0,ie.Z)(this,"origin",""),(0,ie.Z)(this,"number",void 0),(0,ie.Z)(this,"empty",void 0),se($t)){this.empty=!0;return}this.origin=String($t),this.number=Number($t)}return(0,he.Z)(Ut,[{key:"negate",value:function(){return new Ut(-this.toNumber())}},{key:"add",value:function(qt){if(this.isInvalidate())return new Ut(qt);var Nn=Number(qt);if(Number.isNaN(Nn))return this;var jt=this.number+Nn;if(jt>Number.MAX_SAFE_INTEGER)return new Ut(Number.MAX_SAFE_INTEGER);if(jt<Number.MIN_SAFE_INTEGER)return new Ut(Number.MIN_SAFE_INTEGER);var on=Math.max(pe(this.number),pe(Nn));return new Ut(jt.toFixed(on))}},{key:"multi",value:function(qt){var Nn=Number(qt);if(this.isInvalidate()||Number.isNaN(Nn))return new Ut(NaN);var jt=this.number*Nn;if(jt>Number.MAX_SAFE_INTEGER)return new Ut(Number.MAX_SAFE_INTEGER);if(jt<Number.MIN_SAFE_INTEGER)return new Ut(Number.MIN_SAFE_INTEGER);var on=Math.max(pe(this.number),pe(Nn));return new Ut(jt.toFixed(on))}},{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(qt){return this.toNumber()===(qt==null?void 0:qt.toNumber())}},{key:"lessEquals",value:function(qt){return this.add(qt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var qt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return qt?this.isInvalidate()?"":le(this.number):this.origin}}]),Ut}();function Me(Ut){return re()?new xe(Ut):new ge(Ut)}function ye(Ut,$t,qt){var Nn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Ut==="")return"";var jt=ce(Ut),on=jt.negativeStr,kn=jt.integerStr,pn=jt.decimalStr,Bn="".concat($t).concat(pn),Rn="".concat(on).concat(kn);if(qt>=0){var pr=Number(pn[qt]);if(pr>=5&&!Nn){var ii=Me(Ut).add("".concat(on,"0.").concat("0".repeat(qt)).concat(10-pr));return ye(ii.toString(),$t,qt,Nn)}return qt===0?Rn:"".concat(Rn).concat($t).concat(pn.padEnd(qt,"0").slice(0,qt))}return Bn===".0"?Rn:"".concat(Rn).concat(Bn)}var be=Me,Fe=ve(67656),ke=ve(67294);function Ie(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Le=Ie()?ke.useLayoutEffect:ke.useEffect,De=function($t,qt){var Nn=ke.useRef(!0);Le(function(){return $t(Nn.current)},qt),Le(function(){return Nn.current=!1,function(){Nn.current=!0}},[])},Be=function($t,qt){De(function(Nn){if(!Nn)return $t()},qt)},Ue=De,_e=ve(27183);function We(Ut,$t,qt){var Nn=React.useRef({});return(!("value"in Nn.current)||qt(Nn.current.condition,$t))&&(Nn.current.value=Ut(),Nn.current.condition=$t),Nn.current.value}function Ze(Ut,$t){typeof Ut=="function"?Ut($t):(0,te.Z)(Ut)==="object"&&Ut&&"current"in Ut&&(Ut.current=$t)}function et(){for(var Ut=arguments.length,$t=new Array(Ut),qt=0;qt<Ut;qt++)$t[qt]=arguments[qt];var Nn=$t.filter(function(jt){return jt});return Nn.length<=1?Nn[0]:function(jt){$t.forEach(function(on){Ze(on,jt)})}}function at(){for(var Ut=arguments.length,$t=new Array(Ut),qt=0;qt<Ut;qt++)$t[qt]=arguments[qt];return useMemo(function(){return et.apply(void 0,$t)},$t,function(Nn,jt){return Nn.length!==jt.length||Nn.every(function(on,kn){return on!==jt[kn]})})}function pt(Ut){var $t,qt,Nn=isMemo(Ut)?Ut.type.type:Ut.type;return!(typeof Nn=="function"&&!(($t=Nn.prototype)!==null&&$t!==void 0&&$t.render)||typeof Ut=="function"&&!((qt=Ut.prototype)!==null&&qt!==void 0&&qt.render))}function Xe(Ut){return!isValidElement(Ut)||isFragment(Ut)?!1:pt(Ut)}var Ge={},lt=[],dt=function($t){lt.push($t)};function st(Ut,$t){if(0)var qt}function nt(Ut,$t){if(0)var qt}function rt(){Ge={}}function it(Ut,$t,qt){!$t&&!Ge[qt]&&(Ut(!1,qt),Ge[qt]=!0)}function gt(Ut,$t){it(st,Ut,$t)}function vt(Ut,$t){it(nt,Ut,$t)}gt.preMessage=dt,gt.resetWarned=rt,gt.noteOnce=vt;var At=gt;function Et(Ut,$t){var qt=(0,ke.useRef)(null);function Nn(){try{var on=Ut.selectionStart,kn=Ut.selectionEnd,pn=Ut.value,Bn=pn.substring(0,on),Rn=pn.substring(kn);qt.current={start:on,end:kn,value:pn,beforeTxt:Bn,afterTxt:Rn}}catch(pr){}}function jt(){if(Ut&&qt.current&&$t)try{var on=Ut.value,kn=qt.current,pn=kn.beforeTxt,Bn=kn.afterTxt,Rn=kn.start,pr=on.length;if(on.endsWith(Bn))pr=on.length-qt.current.afterTxt.length;else if(on.startsWith(pn))pr=pn.length;else{var ii=pn[Rn-1],Lr=on.indexOf(ii,Rn-1);Lr!==-1&&(pr=Lr+1)}Ut.setSelectionRange(pr,pr)}catch(Ir){At(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Ir.message))}}return[Nn,jt]}var ut=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Ut=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(Ut)||/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(Ut==null?void 0:Ut.substr(0,4))},Ye=function(){var $t=(0,ke.useState)(!1),qt=(0,ae.Z)($t,2),Nn=qt[0],jt=qt[1];return Ue(function(){jt(ut())},[]),Nn},Ve=Ye,de=function($t){return+setTimeout($t,16)},Ce=function($t){return clearTimeout($t)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(de=function($t){return window.requestAnimationFrame($t)},Ce=function($t){return window.cancelAnimationFrame($t)});var He=0,je=new Map;function Ae(Ut){je.delete(Ut)}var Re=function($t){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;He+=1;var Nn=He;function jt(on){if(on===0)Ae(Nn),$t();else{var kn=de(function(){jt(on-1)});je.set(Nn,kn)}}return jt(qt),Nn};Re.cancel=function(Ut){var $t=je.get(Ut);return Ae($t),Ce($t)};var ze=Re,Qe=200,ot=600;function mt(Ut){var $t=Ut.prefixCls,qt=Ut.upNode,Nn=Ut.downNode,jt=Ut.upDisabled,on=Ut.downDisabled,kn=Ut.onStep,pn=ke.useRef(),Bn=ke.useRef([]),Rn=ke.useRef();Rn.current=kn;var pr=function(){clearTimeout(pn.current)},ii=function(er,Ar){er.preventDefault(),pr(),Rn.current(Ar);function Fn(){Rn.current(Ar),pn.current=setTimeout(Fn,Qe)}pn.current=setTimeout(Fn,ot)};ke.useEffect(function(){return function(){pr(),Bn.current.forEach(function(cn){return ze.cancel(cn)})}},[]);var Lr=Ve();if(Lr)return null;var Ir="".concat($t,"-handler"),Ur=Te()(Ir,"".concat(Ir,"-up"),(0,ie.Z)({},"".concat(Ir,"-up-disabled"),jt)),Zr=Te()(Ir,"".concat(Ir,"-down"),(0,ie.Z)({},"".concat(Ir,"-down-disabled"),on)),ln=function(){return Bn.current.push(ze(pr))},Jt={unselectable:"on",role:"button",onMouseUp:ln,onMouseLeave:ln};return ke.createElement("div",{className:"".concat(Ir,"-wrap")},ke.createElement("span",(0,me.Z)({},Jt,{onMouseDown:function(er){ii(er,!0)},"aria-label":"Increase Value","aria-disabled":jt,className:Ur}),qt||ke.createElement("span",{unselectable:"on",className:"".concat($t,"-handler-up-inner")})),ke.createElement("span",(0,me.Z)({},Jt,{onMouseDown:function(er){ii(er,!1)},"aria-label":"Decrease Value","aria-disabled":on,className:Zr}),Nn||ke.createElement("span",{unselectable:"on",className:"".concat($t,"-handler-down-inner")})))}function Ot(Ut){var $t=typeof Ut=="number"?le(Ut):ce(Ut).fullStr,qt=$t.includes(".");return qt?ce($t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Ut+"0"}var xt=ve(87887),Wt=function(){var Ut=(0,ke.useRef)(0),$t=function(){ze.cancel(Ut.current)};return(0,ke.useEffect)(function(){return $t},[]),function(qt){$t(),Ut.current=ze(function(){qt()})}},bn=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Ft=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],Qt=function($t,qt){return $t||qt.isEmpty()?qt.toString():qt.toNumber()},Vt=function($t){var qt=be($t);return qt.isInvalidate()?null:qt},yn=ke.forwardRef(function(Ut,$t){var qt,Nn=Ut.prefixCls,jt=Nn===void 0?"rc-input-number":Nn,on=Ut.className,kn=Ut.style,pn=Ut.min,Bn=Ut.max,Rn=Ut.step,pr=Rn===void 0?1:Rn,ii=Ut.defaultValue,Lr=Ut.value,Ir=Ut.disabled,Ur=Ut.readOnly,Zr=Ut.upHandler,ln=Ut.downHandler,Jt=Ut.keyboard,cn=Ut.controls,er=cn===void 0?!0:cn,Ar=Ut.classNames,Fn=Ut.stringMode,lr=Ut.parser,ir=Ut.formatter,wr=Ut.precision,Vr=Ut.decimalSeparator,Zn=Ut.onChange,_i=Ut.onInput,gi=Ut.onPressEnter,ma=Ut.onStep,ga=(0,ne.Z)(Ut,bn),la="".concat(jt,"-input"),_a=ke.useRef(null),$i=ke.useState(!1),Ui=(0,ae.Z)($i,2),ya=Ui[0],Ka=Ui[1],Ri=ke.useRef(!1),ca=ke.useRef(!1),Na=ke.useRef(!1),ro=ke.useState(function(){return be(Lr!=null?Lr:ii)}),Ya=(0,ae.Z)(ro,2),Wi=Ya[0],mn=Ya[1];function sn(Qn){Lr===void 0&&mn(Qn)}var jn=ke.useCallback(function(Qn,or){if(!or)return wr>=0?wr:Math.max(pe(Qn),pe(pr))},[wr,pr]),ar=ke.useCallback(function(Qn){var or=String(Qn);if(lr)return lr(or);var ur=or;return Vr&&(ur=ur.replace(Vr,".")),ur.replace(/[^\w.-]+/g,"")},[lr,Vr]),gr=ke.useRef(""),Xr=ke.useCallback(function(Qn,or){if(ir)return ir(Qn,{userTyping:or,input:String(gr.current)});var ur=typeof Qn=="number"?le(Qn):Qn;if(!or){var yr=jn(ur,or);if(Se(ur)&&(Vr||yr>=0)){var Sr=Vr||".";ur=ye(ur,Sr,yr)}}return ur},[ir,jn,Vr]),ai=ke.useState(function(){var Qn=ii!=null?ii:Lr;return Wi.isInvalidate()&&["string","number"].includes((0,te.Z)(Qn))?Number.isNaN(Qn)?"":Qn:Xr(Wi.toString(),!1)}),pi=(0,ae.Z)(ai,2),Li=pi[0],yi=pi[1];gr.current=Li;function ji(Qn,or){yi(Xr(Qn.isInvalidate()?Qn.toString(!1):Qn.toString(!or),or))}var qi=ke.useMemo(function(){return Vt(Bn)},[Bn,wr]),oi=ke.useMemo(function(){return Vt(pn)},[pn,wr]),Sn=ke.useMemo(function(){return!qi||!Wi||Wi.isInvalidate()?!1:qi.lessEquals(Wi)},[qi,Wi]),Ln=ke.useMemo(function(){return!oi||!Wi||Wi.isInvalidate()?!1:Wi.lessEquals(oi)},[oi,Wi]),Yn=Et(_a.current,ya),qe=(0,ae.Z)(Yn,2),yt=qe[0],St=qe[1],Dt=function(or){return qi&&!or.lessEquals(qi)?qi:oi&&!oi.lessEquals(or)?oi:null},Tt=function(or){return!Dt(or)},Nt=function(or,ur){var yr=or,Sr=Tt(yr)||yr.isEmpty();if(!yr.isEmpty()&&!ur&&(yr=Dt(yr)||yr,Sr=!0),!Ur&&!Ir&&Sr){var kt=yr.toString(),It=jn(kt,ur);return It>=0&&(yr=be(ye(kt,".",It)),Tt(yr)||(yr=be(ye(kt,".",It,!0)))),yr.equals(Wi)||(sn(yr),Zn==null||Zn(yr.isEmpty()?null:Qt(Fn,yr)),Lr===void 0&&ji(yr,ur)),yr}return Wi},_t=Wt(),rn=function Qn(or){if(yt(),gr.current=or,yi(or),!ca.current){var ur=ar(or),yr=be(ur);yr.isNaN()||Nt(yr,!0)}_i==null||_i(or),_t(function(){var Sr=or;lr||(Sr=or.replace(/。/g,".")),Sr!==or&&Qn(Sr)})},vn=function(){ca.current=!0},Vn=function(){ca.current=!1,rn(_a.current.value)},$n=function(or){rn(or.target.value)},Xn=function(or){var ur;if(!(or&&Sn||!or&&Ln)){Ri.current=!1;var yr=be(Na.current?Ot(pr):pr);or||(yr=yr.negate());var Sr=(Wi||be(0)).add(yr.toString()),kt=Nt(Sr,!1);ma==null||ma(Qt(Fn,kt),{offset:Na.current?Ot(pr):pr,type:or?"up":"down"}),(ur=_a.current)===null||ur===void 0||ur.focus()}},On=function(or){var ur=be(ar(Li)),yr=ur;ur.isNaN()?yr=Nt(Wi,or):yr=Nt(ur,or),Lr!==void 0?ji(Wi,!1):yr.isNaN()||ji(yr,!1)},In=function(){Ri.current=!0},En=function(or){var ur=or.key,yr=or.shiftKey;Ri.current=!0,Na.current=yr,ur==="Enter"&&(ca.current||(Ri.current=!1),On(!1),gi==null||gi(or)),Jt!==!1&&!ca.current&&["Up","ArrowUp","Down","ArrowDown"].includes(ur)&&(Xn(ur==="Up"||ur==="ArrowUp"),or.preventDefault())},Hn=function(){Ri.current=!1,Na.current=!1},mr=function(){On(!1),Ka(!1),Ri.current=!1};return Be(function(){Wi.isInvalidate()||ji(Wi,!1)},[wr]),Be(function(){var Qn=be(Lr);mn(Qn);var or=be(ar(Li));(!Qn.equals(or)||!Ri.current||ir)&&ji(Qn,Ri.current)},[Lr]),Be(function(){ir&&St()},[Li]),ke.createElement("div",{className:Te()(jt,Ar==null?void 0:Ar.input,on,(qt={},(0,ie.Z)(qt,"".concat(jt,"-focused"),ya),(0,ie.Z)(qt,"".concat(jt,"-disabled"),Ir),(0,ie.Z)(qt,"".concat(jt,"-readonly"),Ur),(0,ie.Z)(qt,"".concat(jt,"-not-a-number"),Wi.isNaN()),(0,ie.Z)(qt,"".concat(jt,"-out-of-range"),!Wi.isInvalidate()&&!Tt(Wi)),qt)),style:kn,onFocus:function(){Ka(!0)},onBlur:mr,onKeyDown:En,onKeyUp:Hn,onCompositionStart:vn,onCompositionEnd:Vn,onBeforeInput:In},er&&ke.createElement(mt,{prefixCls:jt,upNode:Zr,downNode:ln,upDisabled:Sn,downDisabled:Ln,onStep:Xn}),ke.createElement("div",{className:"".concat(la,"-wrap")},ke.createElement("input",(0,me.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":pn,"aria-valuemax":Bn,"aria-valuenow":Wi.isInvalidate()?null:Wi.toString(),step:pr},ga,{ref:et(_a,$t),className:la,value:Li,onChange:$n,disabled:Ir,readOnly:Ur}))))}),Pt=ke.forwardRef(function(Ut,$t){var qt=Ut.disabled,Nn=Ut.style,jt=Ut.prefixCls,on=Ut.value,kn=Ut.prefix,pn=Ut.suffix,Bn=Ut.addonBefore,Rn=Ut.addonAfter,pr=Ut.classes,ii=Ut.className,Lr=Ut.classNames,Ir=(0,ne.Z)(Ut,Ft),Ur=ke.useRef(null),Zr=function(Jt){Ur.current&&(0,xt.nH)(Ur.current,Jt)};return ke.createElement(Fe.BaseInput,{inputElement:ke.createElement(yn,(0,me.Z)({prefixCls:jt,disabled:qt,classNames:Lr,ref:et(Ur,$t)},Ir)),className:ii,triggerFocus:Zr,prefixCls:jt,value:on,disabled:qt,style:Nn,prefix:kn,suffix:pn,addonAfter:Rn,addonBefore:Bn,classes:pr,classNames:Lr,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});Pt.displayName="InputNumber";var zt=Pt,an=zt,gn=ve(9708),Tn=ve(53124),Gn=ve(46735),fr=ve(98866),Tr=ve(98675),Wr=ve(65223),ti=ve(4173),Dr=ve(47673),ri=ve(14747),Mi=ve(80110),$r=ve(67968),Xi=ve(45503);const Ii=(Ut,$t)=>{let{componentCls:qt,borderRadiusSM:Nn,borderRadiusLG:jt}=Ut;const on=$t==="lg"?jt:Nn;return{[`&-${$t}`]:{[`${qt}-handler-wrap`]:{borderStartEndRadius:on,borderEndEndRadius:on},[`${qt}-handler-up`]:{borderStartEndRadius:on},[`${qt}-handler-down`]:{borderEndEndRadius:on}}}},nn=Ut=>{const{componentCls:$t,lineWidth:qt,lineType:Nn,colorBorder:jt,borderRadius:on,fontSizeLG:kn,controlHeightLG:pn,controlHeightSM:Bn,colorError:Rn,paddingInlineSM:pr,colorTextDescription:ii,motionDurationMid:Lr,handleHoverColor:Ir,paddingInline:Ur,paddingBlock:Zr,handleBg:ln,handleActiveBg:Jt,colorTextDisabled:cn,borderRadiusSM:er,borderRadiusLG:Ar,controlWidth:Fn,handleVisible:lr,handleBorderColor:ir}=Ut;return[{[$t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ri.Wf)(Ut)),(0,Dr.ik)(Ut)),(0,Dr.bi)(Ut,$t)),{display:"inline-block",width:Fn,margin:0,padding:0,border:`${qt}px ${Nn} ${jt}`,borderRadius:on,"&-rtl":{direction:"rtl",[`${$t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:kn,borderRadius:Ar,[`input${$t}-input`]:{height:pn-2*qt}},"&-sm":{padding:0,borderRadius:er,[`input${$t}-input`]:{height:Bn-2*qt,padding:`0 ${pr}px`}},"&:hover":Object.assign({},(0,Dr.pU)(Ut)),"&-focused":Object.assign({},(0,Dr.M1)(Ut)),"&-out-of-range":{[`${$t}-input-wrap`]:{input:{color:Rn}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,ri.Wf)(Ut)),(0,Dr.s7)(Ut)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${$t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${$t}-group-addon`]:{borderRadius:Ar,fontSize:Ut.fontSizeLG}},"&-sm":{[`${$t}-group-addon`]:{borderRadius:er}},[`${$t}-wrapper-disabled > ${$t}-group-addon`]:Object.assign({},(0,Dr.Xy)(Ut))}}),[`&-disabled ${$t}-input`]:{cursor:"not-allowed"},[$t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,ri.Wf)(Ut)),{width:"100%",padding:`${Zr}px ${Ur}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:on,outline:0,transition:`all ${Lr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Dr.nz)(Ut.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[$t]:Object.assign(Object.assign(Object.assign({[`&:hover ${$t}-handler-wrap, &-focused ${$t}-handler-wrap`]:{opacity:1},[`${$t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Ut.handleWidth,height:"100%",background:ln,borderStartStartRadius:0,borderStartEndRadius:on,borderEndEndRadius:on,borderEndStartRadius:0,opacity:lr===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${Lr} linear ${Lr}`,[`${$t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${$t}-handler-up-inner,
${$t}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:Ut.handleFontSize}}},[`${$t}-handler`]:{height:"50%",overflow:"hidden",color:ii,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${qt}px ${Nn} ${ir}`,transition:`all ${Lr} linear`,"&:active":{background:Jt},"&:hover":{height:"60%",[`
${$t}-handler-up-inner,
${$t}-handler-down-inner
`]:{color:Ir}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,ri.Ro)()),{color:ii,transition:`all ${Lr} linear`,userSelect:"none"})},[`${$t}-handler-up`]:{borderStartEndRadius:on},[`${$t}-handler-down`]:{borderBlockStart:`${qt}px ${Nn} ${ir}`,borderEndEndRadius:on}},Ii(Ut,"lg")),Ii(Ut,"sm")),{"&-disabled, &-readonly":{[`${$t}-handler-wrap`]:{display:"none"},[`${$t}-input`]:{color:"inherit"}},[`
${$t}-handler-up-disabled,
${$t}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${$t}-handler-up-disabled:hover &-handler-up-inner,
${$t}-handler-down-disabled:hover &-handler-down-inner
`]:{color:cn}})},{[`${$t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${$t}-handler-down`]:{borderBlockStartWidth:0}}}]},Jn=Ut=>{const{componentCls:$t,paddingBlock:qt,paddingInline:Nn,inputAffixPadding:jt,controlWidth:on,borderRadiusLG:kn,borderRadiusSM:pn}=Ut;return{[`${$t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,Dr.ik)(Ut)),(0,Dr.bi)(Ut,`${$t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:on,padding:0,paddingInlineStart:Nn,"&-lg":{borderRadius:kn},"&-sm":{borderRadius:pn},[`&:not(${$t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,Dr.pU)(Ut)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${$t}-disabled`]:{background:"transparent"},[`> div${$t}`]:{width:"100%",border:"none",outline:"none",[`&${$t}-focused`]:{boxShadow:"none !important"}},[`input${$t}-input`]:{padding:`${qt}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${$t}-handler-wrap`]:{zIndex:2},[$t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:jt},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:Nn,marginInlineStart:jt}}})}};var hr=(0,$r.Z)("InputNumber",Ut=>{const $t=(0,Xi.TS)(Ut,(0,Dr.e5)(Ut));return[nn($t),Jn($t),(0,Mi.c)($t)]},Ut=>Object.assign(Object.assign({},(0,Dr.TM)(Ut)),{controlWidth:90,handleWidth:Ut.controlHeightSM-Ut.lineWidth*2,handleFontSize:Ut.fontSize/2,handleVisible:"auto",handleActiveBg:Ut.colorFillAlter,handleBg:Ut.colorBgContainer,handleHoverColor:Ut.colorPrimary,handleBorderColor:Ut.colorBorder})),Kn=function(Ut,$t){var qt={};for(var Nn in Ut)Object.prototype.hasOwnProperty.call(Ut,Nn)&&$t.indexOf(Nn)<0&&(qt[Nn]=Ut[Nn]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,Nn=Object.getOwnPropertySymbols(Ut);jt<Nn.length;jt++)$t.indexOf(Nn[jt])<0&&Object.prototype.propertyIsEnumerable.call(Ut,Nn[jt])&&(qt[Nn[jt]]=Ut[Nn[jt]]);return qt};const Hr=ke.forwardRef((Ut,$t)=>{const{getPrefixCls:qt,direction:Nn}=ke.useContext(Tn.E_),jt=ke.useRef(null);ke.useImperativeHandle($t,()=>jt.current);const{className:on,rootClassName:kn,size:pn,disabled:Bn,prefixCls:Rn,addonBefore:pr,addonAfter:ii,prefix:Lr,bordered:Ir=!0,readOnly:Ur,status:Zr,controls:ln}=Ut,Jt=Kn(Ut,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),cn=qt("input-number",Rn),[er,Ar]=hr(cn),{compactSize:Fn,compactItemClassnames:lr}=(0,ti.ri)(cn,Nn);let ir=ke.createElement($e.Z,{className:`${cn}-handler-up-inner`}),wr=ke.createElement(Oe.Z,{className:`${cn}-handler-down-inner`});const Vr=typeof ln=="boolean"?ln:void 0;typeof ln=="object"&&(ir=typeof ln.upIcon=="undefined"?ir:ke.createElement("span",{className:`${cn}-handler-up-inner`},ln.upIcon),wr=typeof ln.downIcon=="undefined"?wr:ke.createElement("span",{className:`${cn}-handler-down-inner`},ln.downIcon));const{hasFeedback:Zn,status:_i,isFormItemInput:gi,feedbackIcon:ma}=ke.useContext(Wr.aM),ga=(0,gn.F)(_i,Zr),la=(0,Tr.Z)(Ri=>{var ca;return(ca=pn!=null?pn:Fn)!==null&&ca!==void 0?ca:Ri}),_a=ke.useContext(fr.Z),$i=Bn!=null?Bn:_a,Ui=Te()({[`${cn}-lg`]:la==="large",[`${cn}-sm`]:la==="small",[`${cn}-rtl`]:Nn==="rtl",[`${cn}-borderless`]:!Ir,[`${cn}-in-form-item`]:gi},(0,gn.Z)(cn,ga),lr,Ar),ya=`${cn}-group`,Ka=ke.createElement(an,Object.assign({ref:jt,disabled:$i,className:Te()(on,kn),upHandler:ir,downHandler:wr,prefixCls:cn,readOnly:Ur,controls:Vr,prefix:Lr,suffix:Zn&&ma,addonAfter:ii&&ke.createElement(ti.BR,null,ke.createElement(Wr.Ux,{override:!0,status:!0},ii)),addonBefore:pr&&ke.createElement(ti.BR,null,ke.createElement(Wr.Ux,{override:!0,status:!0},pr)),classNames:{input:Ui},classes:{affixWrapper:Te()((0,gn.Z)(`${cn}-affix-wrapper`,ga,Zn),{[`${cn}-affix-wrapper-sm`]:la==="small",[`${cn}-affix-wrapper-lg`]:la==="large",[`${cn}-affix-wrapper-rtl`]:Nn==="rtl",[`${cn}-affix-wrapper-borderless`]:!Ir},Ar),wrapper:Te()({[`${ya}-rtl`]:Nn==="rtl",[`${cn}-wrapper-disabled`]:$i},Ar),group:Te()({[`${cn}-group-wrapper-sm`]:la==="small",[`${cn}-group-wrapper-lg`]:la==="large",[`${cn}-group-wrapper-rtl`]:Nn==="rtl"},(0,gn.Z)(`${cn}-group-wrapper`,ga,Zn),Ar)}},Jt));return er(Ka)}),Pr=Hr,Or=Ut=>ke.createElement(Gn.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},ke.createElement(Hr,Object.assign({},Ut)));Pr._InternalPanelDoNotUseOrYouWillBeFired=Or;var Mr=Pr},82586:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return xe},n:function(){return le}});var Oe=ve(16646),$e=ve(94184),x=ve.n($e),Te=ve(67656),me=ve(17799),ie=ve(67294),te=ve(9708),ae=ve(53124),ne=ve(98866),oe=ve(98675),he=ve(65223),re=ve(4173),se=ve(72922),ce=ve(47673);function fe(ge){return!!(ge.prefix||ge.suffix||ge.allowClear)}var pe=function(ge,Me){var ye={};for(var be in ge)Object.prototype.hasOwnProperty.call(ge,be)&&Me.indexOf(be)<0&&(ye[be]=ge[be]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,be=Object.getOwnPropertySymbols(ge);Fe<be.length;Fe++)Me.indexOf(be[Fe])<0&&Object.prototype.propertyIsEnumerable.call(ge,be[Fe])&&(ye[be[Fe]]=ge[be[Fe]]);return ye};function le(ge,Me){if(!ge)return;ge.focus(Me);const{cursor:ye}=Me||{};if(ye){const be=ge.value.length;switch(ye){case"start":ge.setSelectionRange(0,0);break;case"end":ge.setSelectionRange(be,be);break;default:ge.setSelectionRange(0,be);break}}}var xe=(0,ie.forwardRef)((ge,Me)=>{var ye;const{prefixCls:be,bordered:Fe=!0,status:ke,size:Ie,disabled:Le,onBlur:De,onFocus:Be,suffix:Ue,allowClear:_e,addonAfter:We,addonBefore:Ze,className:et,style:at,styles:pt,rootClassName:Xe,onChange:Ge,classNames:lt}=ge,dt=pe(ge,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:st,direction:nt,input:rt}=ie.useContext(ae.E_),it=st("input",be),gt=(0,ie.useRef)(null),[vt,At]=(0,ce.ZP)(it),{compactSize:Et,compactItemClassnames:ut}=(0,re.ri)(it,nt),Ye=(0,oe.Z)(bn=>{var Ft;return(Ft=Ie!=null?Ie:Et)!==null&&Ft!==void 0?Ft:bn}),Ve=ie.useContext(ne.Z),de=Le!=null?Le:Ve,{status:Ce,hasFeedback:He,feedbackIcon:je}=(0,ie.useContext)(he.aM),Ae=(0,te.F)(Ce,ke),Re=fe(ge)||!!He,ze=(0,ie.useRef)(Re);(0,ie.useEffect)(()=>{var bn;Re&&ze.current,ze.current=Re},[Re]);const Qe=(0,se.Z)(gt,!0),ot=bn=>{Qe(),De==null||De(bn)},mt=bn=>{Qe(),Be==null||Be(bn)},Ot=bn=>{Qe(),Ge==null||Ge(bn)},xt=(He||Ue)&&ie.createElement(ie.Fragment,null,Ue,He&&je);let Wt;return typeof _e=="object"&&(_e!=null&&_e.clearIcon)?Wt=_e:_e&&(Wt={clearIcon:ie.createElement(Oe.Z,null)}),vt(ie.createElement(Te.default,Object.assign({ref:(0,me.sQ)(Me,gt),prefixCls:it,autoComplete:rt==null?void 0:rt.autoComplete},dt,{disabled:de,onBlur:ot,onFocus:mt,style:Object.assign(Object.assign({},rt==null?void 0:rt.style),at),styles:Object.assign(Object.assign({},rt==null?void 0:rt.styles),pt),suffix:xt,allowClear:Wt,className:x()(et,Xe,ut,rt==null?void 0:rt.className),onChange:Ot,addonAfter:We&&ie.createElement(re.BR,null,ie.createElement(he.Ux,{override:!0,status:!0},We)),addonBefore:Ze&&ie.createElement(re.BR,null,ie.createElement(he.Ux,{override:!0,status:!0},Ze)),classNames:Object.assign(Object.assign(Object.assign({},lt),rt==null?void 0:rt.classNames),{input:x()({[`${it}-sm`]:Ye==="small",[`${it}-lg`]:Ye==="large",[`${it}-rtl`]:nt==="rtl",[`${it}-borderless`]:!Fe},!Re&&(0,te.Z)(it,Ae),lt==null?void 0:lt.input,(ye=rt==null?void 0:rt.classNames)===null||ye===void 0?void 0:ye.input,At)}),classes:{affixWrapper:x()({[`${it}-affix-wrapper-sm`]:Ye==="small",[`${it}-affix-wrapper-lg`]:Ye==="large",[`${it}-affix-wrapper-rtl`]:nt==="rtl",[`${it}-affix-wrapper-borderless`]:!Fe},(0,te.Z)(`${it}-affix-wrapper`,Ae,He),At),wrapper:x()({[`${it}-group-rtl`]:nt==="rtl"},At),group:x()({[`${it}-group-wrapper-sm`]:Ye==="small",[`${it}-group-wrapper-lg`]:Ye==="large",[`${it}-group-wrapper-rtl`]:nt==="rtl",[`${it}-group-wrapper-disabled`]:de},(0,te.Z)(`${it}-group-wrapper`,Ae,He),At)}})))})},96330:function(tn,Kt,ve){"use strict";var Oe=ve(16646),$e=ve(94184),x=ve.n($e),Te=ve(64701),me=ve(67294),ie=ve(9708),te=ve(53124),ae=ve(98866),ne=ve(98675),oe=ve(65223),he=ve(82586),re=ve(47673),se=function(fe,pe){var le={};for(var Se in fe)Object.prototype.hasOwnProperty.call(fe,Se)&&pe.indexOf(Se)<0&&(le[Se]=fe[Se]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,Se=Object.getOwnPropertySymbols(fe);xe<Se.length;xe++)pe.indexOf(Se[xe])<0&&Object.prototype.propertyIsEnumerable.call(fe,Se[xe])&&(le[Se[xe]]=fe[Se[xe]]);return le};const ce=(0,me.forwardRef)((fe,pe)=>{const{prefixCls:le,bordered:Se=!0,size:xe,disabled:ge,status:Me,allowClear:ye,showCount:be,classNames:Fe,rootClassName:ke,className:Ie}=fe,Le=se(fe,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:De,direction:Be}=me.useContext(te.E_),Ue=(0,ne.Z)(xe),_e=me.useContext(ae.Z),We=ge!=null?ge:_e,{status:Ze,hasFeedback:et,feedbackIcon:at}=me.useContext(oe.aM),pt=(0,ie.F)(Ze,Me),Xe=me.useRef(null);me.useImperativeHandle(pe,()=>{var nt;return{resizableTextArea:(nt=Xe.current)===null||nt===void 0?void 0:nt.resizableTextArea,focus:rt=>{var it,gt;(0,he.n)((gt=(it=Xe.current)===null||it===void 0?void 0:it.resizableTextArea)===null||gt===void 0?void 0:gt.textArea,rt)},blur:()=>{var rt;return(rt=Xe.current)===null||rt===void 0?void 0:rt.blur()}}});const Ge=De("input",le);let lt;typeof ye=="object"&&(ye!=null&&ye.clearIcon)?lt=ye:ye&&(lt={clearIcon:me.createElement(Oe.Z,null)});const[dt,st]=(0,re.ZP)(Ge);return dt(me.createElement(Te.default,Object.assign({},Le,{disabled:We,allowClear:lt,className:x()(Ie,ke),classes:{affixWrapper:x()(`${Ge}-textarea-affix-wrapper`,{[`${Ge}-affix-wrapper-rtl`]:Be==="rtl",[`${Ge}-affix-wrapper-borderless`]:!Se,[`${Ge}-affix-wrapper-sm`]:Ue==="small",[`${Ge}-affix-wrapper-lg`]:Ue==="large",[`${Ge}-textarea-show-count`]:be},(0,ie.Z)(`${Ge}-affix-wrapper`,pt),st)},classNames:Object.assign(Object.assign({},Fe),{textarea:x()({[`${Ge}-borderless`]:!Se,[`${Ge}-sm`]:Ue==="small",[`${Ge}-lg`]:Ue==="large"},(0,ie.Z)(Ge,pt),st,Fe==null?void 0:Fe.textarea)}),prefixCls:Ge,suffix:et&&me.createElement("span",{className:`${Ge}-textarea-suffix`},at),showCount:be,ref:Xe})))});Kt.Z=ce},72922:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return $e}});var Oe=ve(67294);function $e(x,Te){const me=(0,Oe.useRef)([]),ie=()=>{me.current.push(setTimeout(()=>{var te,ae,ne,oe;!((te=x.current)===null||te===void 0)&&te.input&&((ae=x.current)===null||ae===void 0?void 0:ae.input.getAttribute("type"))==="password"&&(!((ne=x.current)===null||ne===void 0)&&ne.input.hasAttribute("value"))&&((oe=x.current)===null||oe===void 0||oe.input.removeAttribute("value"))}))};return(0,Oe.useEffect)(()=>(Te&&ie(),()=>me.current.forEach(te=>{te&&clearTimeout(te)})),[]),ie}},69677:function(tn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return Ue}});var Oe=ve(94184),$e=ve.n(Oe),x=ve(67294),Te=ve(53124),me=ve(65223),ie=ve(47673),ae=_e=>{const{getPrefixCls:We,direction:Ze}=(0,x.useContext)(Te.E_),{prefixCls:et,className:at}=_e,pt=We("input-group",et),Xe=We("input"),[Ge,lt]=(0,ie.ZP)(Xe),dt=$e()(pt,{[`${pt}-lg`]:_e.size==="large",[`${pt}-sm`]:_e.size==="small",[`${pt}-compact`]:_e.compact,[`${pt}-rtl`]:Ze==="rtl"},lt,at),st=(0,x.useContext)(me.aM),nt=(0,x.useMemo)(()=>Object.assign(Object.assign({},st),{isFormItemInput:!1}),[st]);return Ge(x.createElement("span",{className:dt,style:_e.style,onMouseEnter:_e.onMouseEnter,onMouseLeave:_e.onMouseLeave,onFocus:_e.onFocus,onBlur:_e.onBlur},x.createElement(me.aM.Provider,{value:nt},_e.children)))},ne=ve(82586),oe=ve(63237),he=ve(99569),re=ve(10366),se=ve(17799),ce=ve(72922),fe=function(_e,We){var Ze={};for(var et in _e)Object.prototype.hasOwnProperty.call(_e,et)&&We.indexOf(et)<0&&(Ze[et]=_e[et]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,et=Object.getOwnPropertySymbols(_e);at<et.length;at++)We.indexOf(et[at])<0&&Object.prototype.propertyIsEnumerable.call(_e,et[at])&&(Ze[et[at]]=_e[et[at]]);return Ze};const pe=_e=>_e?x.createElement(he.Z,null):x.createElement(oe.Z,null),le={click:"onClick",hover:"onMouseOver"};var xe=x.forwardRef((_e,We)=>{const{visibilityToggle:Ze=!0}=_e,et=typeof Ze=="object"&&Ze.visible!==void 0,[at,pt]=(0,x.useState)(()=>et?Ze.visible:!1),Xe=(0,x.useRef)(null);x.useEffect(()=>{et&&pt(Ze.visible)},[et,Ze]);const Ge=(0,ce.Z)(Xe),lt=()=>{const{disabled:de}=_e;de||(at&&Ge(),pt(Ce=>{var He;const je=!Ce;return typeof Ze=="object"&&((He=Ze.onVisibleChange)===null||He===void 0||He.call(Ze,je)),je}))},dt=de=>{const{action:Ce="click",iconRender:He=pe}=_e,je=le[Ce]||"",Ae=He(at),Re={[je]:lt,className:`${de}-icon`,key:"passwordIcon",onMouseDown:ze=>{ze.preventDefault()},onMouseUp:ze=>{ze.preventDefault()}};return x.cloneElement(x.isValidElement(Ae)?Ae:x.createElement("span",null,Ae),Re)},{className:st,prefixCls:nt,inputPrefixCls:rt,size:it}=_e,gt=fe(_e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:vt}=x.useContext(Te.E_),At=vt("input",rt),Et=vt("input-password",nt),ut=Ze&&dt(Et),Ye=$e()(Et,st,{[`${Et}-${it}`]:!!it}),Ve=Object.assign(Object.assign({},(0,re.Z)(gt,["suffix","iconRender","visibilityToggle"])),{type:at?"text":"password",className:Ye,prefixCls:At,suffix:ut});return it&&(Ve.size=it),x.createElement(ne.Z,Object.assign({ref:(0,se.sQ)(We,Xe)},Ve))}),ge=ve(72395),Me=ve(96159),ye=ve(71577),be=ve(98675),Fe=ve(4173),ke=function(_e,We){var Ze={};for(var et in _e)Object.prototype.hasOwnProperty.call(_e,et)&&We.indexOf(et)<0&&(Ze[et]=_e[et]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,et=Object.getOwnPropertySymbols(_e);at<et.length;at++)We.indexOf(et[at])<0&&Object.prototype.propertyIsEnumerable.call(_e,et[at])&&(Ze[et[at]]=_e[et[at]]);return Ze},Le=x.forwardRef((_e,We)=>{const{prefixCls:Ze,inputPrefixCls:et,className:at,size:pt,suffix:Xe,enterButton:Ge=!1,addonAfter:lt,loading:dt,disabled:st,onSearch:nt,onChange:rt,onCompositionStart:it,onCompositionEnd:gt}=_e,vt=ke(_e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:At,direction:Et}=x.useContext(Te.E_),ut=x.useRef(!1),Ye=At("input-search",Ze),Ve=At("input",et),{compactSize:de}=(0,Fe.ri)(Ye,Et),Ce=(0,be.Z)(Qt=>{var Vt;return(Vt=pt!=null?pt:de)!==null&&Vt!==void 0?Vt:Qt}),He=x.useRef(null),je=Qt=>{Qt&&Qt.target&&Qt.type==="click"&&nt&&nt(Qt.target.value,Qt,{source:"clear"}),rt&&rt(Qt)},Ae=Qt=>{var Vt;document.activeElement===((Vt=He.current)===null||Vt===void 0?void 0:Vt.input)&&Qt.preventDefault()},Re=Qt=>{var Vt,yn;nt&&nt((yn=(Vt=He.current)===null||Vt===void 0?void 0:Vt.input)===null||yn===void 0?void 0:yn.value,Qt,{source:"input"})},ze=Qt=>{ut.current||dt||Re(Qt)},Qe=typeof Ge=="boolean"?x.createElement(ge.Z,null):null,ot=`${Ye}-button`;let mt;const Ot=Ge||{},xt=Ot.type&&Ot.type.__ANT_BUTTON===!0;xt||Ot.type==="button"?mt=(0,Me.Tm)(Ot,Object.assign({onMouseDown:Ae,onClick:Qt=>{var Vt,yn;(yn=(Vt=Ot==null?void 0:Ot.props)===null||Vt===void 0?void 0:Vt.onClick)===null||yn===void 0||yn.call(Vt,Qt),Re(Qt)},key:"enterButton"},xt?{className:ot,size:Ce}:{})):mt=x.createElement(ye.ZP,{className:ot,type:Ge?"primary":void 0,size:Ce,disabled:st,key:"enterButton",onMouseDown:Ae,onClick:Re,loading:dt,icon:Qe},Ge),lt&&(mt=[mt,(0,Me.Tm)(lt,{key:"addonAfter"})]);const Wt=$e()(Ye,{[`${Ye}-rtl`]:Et==="rtl",[`${Ye}-${Ce}`]:!!Ce,[`${Ye}-with-button`]:!!Ge},at),bn=Qt=>{ut.current=!0,it==null||it(Qt)},Ft=Qt=>{ut.current=!1,gt==null||gt(Qt)};return x.createElement(ne.Z,Object.assign({ref:(0,se.sQ)(He,We),onPressEnter:ze},vt,{size:Ce,onCompositionStart:bn,onCompositionEnd:Ft,prefixCls:Ve,addonAfter:mt,suffix:Xe,onChange:je,className:Wt,disabled:st}))}),De=ve(96330);const Be=ne.Z;Be.Group=ae,Be.Search=Le,Be.TextArea=De.Z,Be.Password=xe;var Ue=Be},47673:function(tn,Kt,ve){"use strict";ve.d(Kt,{M1:function(){return te},TM:function(){return Me},Xy:function(){return ae},bi:function(){return he},e5:function(){return ge},ik:function(){return re},nz:function(){return me},pU:function(){return ie},s7:function(){return se},x0:function(){return oe}});var Oe=ve(14747),$e=ve(80110),x=ve(45503),Te=ve(67968);const me=ye=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:ye,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),ie=ye=>({borderColor:ye.hoverBorderColor}),te=ye=>({borderColor:ye.activeBorderColor,boxShadow:ye.activeShadow,outline:0}),ae=ye=>({color:ye.colorTextDisabled,backgroundColor:ye.colorBgContainerDisabled,borderColor:ye.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},ie((0,x.TS)(ye,{hoverBorderColor:ye.colorBorder})))}),ne=ye=>{const{paddingBlockLG:be,fontSizeLG:Fe,lineHeightLG:ke,borderRadiusLG:Ie,paddingInlineLG:Le}=ye;return{padding:`${be}px ${Le}px`,fontSize:Fe,lineHeight:ke,borderRadius:Ie}},oe=ye=>({padding:`${ye.paddingBlockSM}px ${ye.paddingInlineSM}px`,borderRadius:ye.borderRadiusSM}),he=(ye,be)=>{const{componentCls:Fe,colorError:ke,colorWarning:Ie,errorActiveShadow:Le,warningActiveShadow:De,colorErrorBorderHover:Be,colorWarningBorderHover:Ue}=ye;return{[`&-status-error:not(${be}-disabled):not(${be}-borderless)${be}`]:{borderColor:ke,"&:hover":{borderColor:Be},"&:focus, &-focused":Object.assign({},te((0,x.TS)(ye,{activeBorderColor:ke,activeShadow:Le}))),[`${Fe}-prefix, ${Fe}-suffix`]:{color:ke}},[`&-status-warning:not(${be}-disabled):not(${be}-borderless)${be}`]:{borderColor:Ie,"&:hover":{borderColor:Ue},"&:focus, &-focused":Object.assign({},te((0,x.TS)(ye,{activeBorderColor:Ie,activeShadow:De}))),[`${Fe}-prefix, ${Fe}-suffix`]:{color:Ie}}}},re=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}`},me(ye.colorTextPlaceholder)),{"&:hover":Object.assign({},ie(ye)),"&:focus, &-focused":Object.assign({},te(ye)),"&-disabled, &[disabled]":Object.assign({},ae(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({},ne(ye)),"&-sm":Object.assign({},oe(ye)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),se=ye=>{const{componentCls:be,antCls:Fe}=ye;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:ye.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${be}, &-lg > ${be}-group-addon`]:Object.assign({},ne(ye)),[`&-sm ${be}, &-sm > ${be}-group-addon`]:Object.assign({},oe(ye)),[`&-lg ${Fe}-select-single ${Fe}-select-selector`]:{height:ye.controlHeightLG},[`&-sm ${Fe}-select-single ${Fe}-select-selector`]:{height:ye.controlHeightSM},[`> ${be}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${be}-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,[`${Fe}-select`]:{margin:`-${ye.paddingBlock+1}px -${ye.paddingInline}px`,[`&${Fe}-select-single:not(${Fe}-select-customize-input)`]:{[`${Fe}-select-selector`]:{backgroundColor:"inherit",border:`${ye.lineWidth}px ${ye.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${Fe}-select-selector`]:{color:ye.colorPrimary}}},[`${Fe}-cascader-picker`]:{margin:`-9px -${ye.paddingInline}px`,backgroundColor:"transparent",[`${Fe}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${be}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${be}-search-with-button &`]:{zIndex:0}}},[`> ${be}:first-child, ${be}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${Fe}-select ${Fe}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${be}-affix-wrapper`]:{[`&:not(:first-child) ${be}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${be}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${be}:last-child, ${be}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${Fe}-select ${Fe}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${be}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${be}-search &`]:{borderStartStartRadius:ye.borderRadius,borderEndStartRadius:ye.borderRadius}},[`&:not(:first-child), ${be}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${be}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,Oe.dF)()),{[`${be}-group-addon, ${be}-group-wrap, > ${be}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:ye.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
& > ${be}-affix-wrapper,
& > ${be}-number-affix-wrapper,
& > ${Fe}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-ye.lineWidth,borderInlineEndWidth:ye.lineWidth},[`${be}`]:{float:"none"},[`& > ${Fe}-select > ${Fe}-select-selector,
& > ${Fe}-select-auto-complete ${be},
& > ${Fe}-cascader-picker ${be},
& > ${be}-group-wrapper ${be}`]:{borderInlineEndWidth:ye.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${Fe}-select-focused`]:{zIndex:1},[`& > ${Fe}-select > ${Fe}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${Fe}-select:first-child > ${Fe}-select-selector,
& > ${Fe}-select-auto-complete:first-child ${be},
& > ${Fe}-cascader-picker:first-child ${be}`]:{borderStartStartRadius:ye.borderRadius,borderEndStartRadius:ye.borderRadius},[`& > *:last-child,
& > ${Fe}-select:last-child > ${Fe}-select-selector,
& > ${Fe}-cascader-picker:last-child ${be},
& > ${Fe}-cascader-picker-focused:last-child ${be}`]:{borderInlineEndWidth:ye.lineWidth,borderStartEndRadius:ye.borderRadius,borderEndEndRadius:ye.borderRadius},[`& > ${Fe}-select-auto-complete ${be}`]:{verticalAlign:"top"},[`${be}-group-wrapper + ${be}-group-wrapper`]:{marginInlineStart:-ye.lineWidth,[`${be}-affix-wrapper`]:{borderRadius:0}},[`${be}-group-wrapper:not(:last-child)`]:{[`&${be}-search > ${be}-group`]:{[`& > ${be}-group-addon > ${be}-search-button`]:{borderRadius:0},[`& > ${be}`]:{borderStartStartRadius:ye.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ye.borderRadius}}}})}},ce=ye=>{const{componentCls:be,controlHeightSM:Fe,lineWidth:ke}=ye,Le=(Fe-ke*2-16)/2;return{[be]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Oe.Wf)(ye)),re(ye)),he(ye,be)),{'&[type="color"]':{height:ye.controlHeight,[`&${be}-lg`]:{height:ye.controlHeightLG},[`&${be}-sm`]:{height:Fe,paddingTop:Le,paddingBottom:Le}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},fe=ye=>{const{componentCls:be}=ye;return{[`${be}-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`}}}},pe=ye=>{const{componentCls:be,inputAffixPadding:Fe,colorTextDescription:ke,motionDurationSlow:Ie,colorIcon:Le,colorIconHover:De,iconCls:Be}=ye;return{[`${be}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},re(ye)),{display:"inline-flex",[`&:not(${be}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},ie(ye)),{zIndex:1,[`${be}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${be}[disabled]`]:{background:"transparent"}},[`> input${be}`]:{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"'},[`${be}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:ye.paddingXS}},"&-show-count-suffix":{color:ke},"&-show-count-has-suffix":{marginInlineEnd:ye.paddingXXS},"&-prefix":{marginInlineEnd:Fe},"&-suffix":{marginInlineStart:Fe}}}),fe(ye)),{[`${Be}${be}-password-icon`]:{color:Le,cursor:"pointer",transition:`all ${Ie}`,"&:hover":{color:De}}}),he(ye,`${be}-affix-wrapper`))}},le=ye=>{const{componentCls:be,colorError:Fe,colorWarning:ke,borderRadiusLG:Ie,borderRadiusSM:Le}=ye;return{[`${be}-group`]:Object.assign(Object.assign(Object.assign({},(0,Oe.Wf)(ye)),se(ye)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${be}-group-addon`]:{borderRadius:Ie,fontSize:ye.fontSizeLG}},"&-sm":{[`${be}-group-addon`]:{borderRadius:Le}},"&-status-error":{[`${be}-group-addon`]:{color:Fe,borderColor:Fe}},"&-status-warning":{[`${be}-group-addon`]:{color:ke,borderColor:ke}},"&-disabled":{[`${be}-group-addon`]:Object.assign({},ae(ye))},[`&:not(${be}-compact-first-item):not(${be}-compact-last-item)${be}-compact-item`]:{[`${be}, ${be}-group-addon`]:{borderRadius:0}},[`&:not(${be}-compact-last-item)${be}-compact-first-item`]:{[`${be}, ${be}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${be}-compact-first-item)${be}-compact-last-item`]:{[`${be}, ${be}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},Se=ye=>{const{componentCls:be,antCls:Fe}=ye,ke=`${be}-search`;return{[ke]:{[`${be}`]:{"&:hover, &:focus":{borderColor:ye.colorPrimaryHover,[`+ ${be}-group-addon ${ke}-button:not(${Fe}-btn-primary)`]:{borderInlineStartColor:ye.colorPrimaryHover}}},[`${be}-affix-wrapper`]:{borderRadius:0},[`${be}-lg`]:{lineHeight:ye.lineHeightLG-2e-4},[`> ${be}-group`]:{[`> ${be}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${ke}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:ye.borderRadius,borderEndEndRadius:ye.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${ke}-button:not(${Fe}-btn-primary)`]:{color:ye.colorTextDescription,"&:hover":{color:ye.colorPrimaryHover},"&:active":{color:ye.colorPrimaryActive},[`&${Fe}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${ke}-button`]:{height:ye.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${ke}-button`]:{height:ye.controlHeightLG},[`&-small ${ke}-button`]:{height:ye.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${be}-compact-item`]:{[`&:not(${be}-compact-last-item)`]:{[`${be}-group-addon`]:{[`${be}-search-button`]:{marginInlineEnd:-ye.lineWidth,borderRadius:0}}},[`&:not(${be}-compact-first-item)`]:{[`${be},${be}-affix-wrapper`]:{borderRadius:0}},[`> ${be}-group-addon ${be}-search-button,
> ${be},
${be}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${be}-affix-wrapper-focused`]:{zIndex:2}}}}},xe=ye=>{const{componentCls:be,paddingLG:Fe}=ye,ke=`${be}-textarea`;return{[ke]:{position:"relative","&-show-count":{[`> ${be}`]:{height:"100%"},[`${be}-data-count`]:{position:"absolute",bottom:-ye.fontSize*ye.lineHeight,insetInlineEnd:0,color:ye.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${be}`]:{paddingInlineEnd:Fe}},[`&-affix-wrapper${ke}-has-feedback`]:{[`${be}`]:{paddingInlineEnd:Fe}},[`&-affix-wrapper${be}-affix-wrapper`]:{padding:0,[`> textarea${be}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${be}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${be}-clear-icon`]:{position:"absolute",insetInlineEnd:ye.paddingXS,insetBlockStart:ye.paddingXS},[`${ke}-suffix`]:{position:"absolute",top:0,insetInlineEnd:ye.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function ge(ye){return(0,x.TS)(ye,{inputAffixPadding:ye.paddingXXS})}const Me=ye=>{const{controlHeight:be,fontSize:Fe,lineHeight:ke,lineWidth:Ie,controlHeightSM:Le,controlHeightLG:De,fontSizeLG:Be,lineHeightLG:Ue,paddingSM:_e,controlPaddingHorizontalSM:We,controlPaddingHorizontal:Ze,colorFillAlter:et,colorPrimaryHover:at,controlOutlineWidth:pt,controlOutline:Xe,colorErrorOutline:Ge,colorWarningOutline:lt}=ye;return{paddingBlock:Math.max(Math.round((be-Fe*ke)/2*10)/10-Ie,3),paddingBlockSM:Math.max(Math.round((Le-Fe*ke)/2*10)/10-Ie,0),paddingBlockLG:Math.ceil((De-Be*Ue)/2*10)/10-Ie,paddingInline:_e-Ie,paddingInlineSM:We-Ie,paddingInlineLG:Ze-Ie,addonBg:et,activeBorderColor:at,hoverBorderColor:at,activeShadow:`0 0 0 ${pt}px ${Xe}`,errorActiveShadow:`0 0 0 ${pt}px ${Ge}`,warningActiveShadow:`0 0 0 ${pt}px ${lt}`}};Kt.ZP=(0,Te.Z)("Input",ye=>{const be=(0,x.TS)(ye,ge(ye));return[ce(be),xe(be),pe(be),le(be),Se(be),(0,$e.c)(be)]},Me)},71322:function(tn,Kt,ve){"use strict";ve.d(Kt,{D:function(){return xe},Z:function(){return ye}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(Fe,ke){return $e.createElement(me.Z,(0,Oe.Z)({},Fe,{ref:ke,icon:Te}))},te=$e.forwardRef(ie),ae=ve(22751),ne=ve(91034),oe=ve(94184),he=ve.n(oe),re=ve(10366),ce=be=>!isNaN(parseFloat(be))&&isFinite(be),fe=ve(53124),pe=ve(84321),le=function(be,Fe){var ke={};for(var Ie in be)Object.prototype.hasOwnProperty.call(be,Ie)&&Fe.indexOf(Ie)<0&&(ke[Ie]=be[Ie]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Ie=Object.getOwnPropertySymbols(be);Le<Ie.length;Le++)Fe.indexOf(Ie[Le])<0&&Object.prototype.propertyIsEnumerable.call(be,Ie[Le])&&(ke[Ie[Le]]=be[Ie[Le]]);return ke};const Se={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},xe=$e.createContext({}),ge=(()=>{let be=0;return function(){let Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return be+=1,`${Fe}${be}`}})();var ye=$e.forwardRef((be,Fe)=>{const{prefixCls:ke,className:Ie,trigger:Le,children:De,defaultCollapsed:Be=!1,theme:Ue="dark",style:_e={},collapsible:We=!1,reverseArrow:Ze=!1,width:et=200,collapsedWidth:at=80,zeroWidthTriggerStyle:pt,breakpoint:Xe,onCollapse:Ge,onBreakpoint:lt}=be,dt=le(be,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:st}=(0,$e.useContext)(pe.Gs),[nt,rt]=(0,$e.useState)("collapsed"in be?be.collapsed:Be),[it,gt]=(0,$e.useState)(!1);(0,$e.useEffect)(()=>{"collapsed"in be&&rt(be.collapsed)},[be.collapsed]);const vt=(de,Ce)=>{"collapsed"in be||rt(de),Ge==null||Ge(de,Ce)},At=(0,$e.useRef)();At.current=de=>{gt(de.matches),lt==null||lt(de.matches),nt!==de.matches&&vt(de.matches,"responsive")},(0,$e.useEffect)(()=>{function de(He){return At.current(He)}let Ce;if(typeof window!="undefined"){const{matchMedia:He}=window;if(He&&Xe&&Xe in Se){Ce=He(`(max-width: ${Se[Xe]})`);try{Ce.addEventListener("change",de)}catch(je){Ce.addListener(de)}de(Ce)}}return()=>{try{Ce==null||Ce.removeEventListener("change",de)}catch(He){Ce==null||Ce.removeListener(de)}}},[Xe]),(0,$e.useEffect)(()=>{const de=ge("ant-sider-");return st.addSider(de),()=>st.removeSider(de)},[]);const Et=()=>{vt(!nt,"clickTrigger")},{getPrefixCls:ut}=(0,$e.useContext)(fe.E_),Ye=()=>{const de=ut("layout-sider",ke),Ce=(0,re.Z)(dt,["collapsed"]),He=nt?at:et,je=ce(He)?`${He}px`:String(He),Ae=parseFloat(String(at||0))===0?$e.createElement("span",{onClick:Et,className:he()(`${de}-zero-width-trigger`,`${de}-zero-width-trigger-${Ze?"right":"left"}`),style:pt},Le||$e.createElement(te,null)):null,Qe={expanded:Ze?$e.createElement(ne.Z,null):$e.createElement(ae.Z,null),collapsed:Ze?$e.createElement(ae.Z,null):$e.createElement(ne.Z,null)}[nt?"collapsed":"expanded"],ot=Le!==null?Ae||$e.createElement("div",{className:`${de}-trigger`,onClick:Et,style:{width:je}},Le||Qe):null,mt=Object.assign(Object.assign({},_e),{flex:`0 0 ${je}`,maxWidth:je,minWidth:je,width:je}),Ot=he()(de,`${de}-${Ue}`,{[`${de}-collapsed`]:!!nt,[`${de}-has-trigger`]:We&&Le!==null&&!Ae,[`${de}-below`]:!!it,[`${de}-zero-width`]:parseFloat(je)===0},Ie);return $e.createElement("aside",Object.assign({className:Ot},Ce,{style:mt,ref:Fe}),$e.createElement("div",{className:`${de}-children`},De),We||it&&Ae?ot:null)},Ve=$e.useMemo(()=>({siderCollapsed:nt}),[nt]);return $e.createElement(xe.Provider,{value:Ve},Ye())})},84321:function(tn,Kt,ve){"use strict";ve.d(Kt,{VY:function(){return ge},$_:function(){return xe},h4:function(){return Se},Gs:function(){return se},ZP:function(){return Me}});var Oe=ve(74902),$e=ve(94184),x=ve.n($e),Te=ve(10366),me=ve(67294),ie=ve(53124),te=ve(67968),ne=ye=>{const{componentCls:be,bodyBg:Fe,lightSiderBg:ke,lightTriggerBg:Ie,lightTriggerColor:Le}=ye;return{[`${be}-sider-light`]:{background:ke,[`${be}-sider-trigger`]:{color:Le,background:Ie},[`${be}-sider-zero-width-trigger`]:{color:Le,background:Ie,border:`1px solid ${Fe}`,borderInlineStart:0}}}};const oe=ye=>{const{antCls:be,componentCls:Fe,colorText:ke,triggerColor:Ie,footerBg:Le,triggerBg:De,headerHeight:Be,headerPadding:Ue,headerColor:_e,footerPadding:We,triggerHeight:Ze,zeroTriggerHeight:et,zeroTriggerWidth:at,motionDurationMid:pt,motionDurationSlow:Xe,fontSize:Ge,borderRadius:lt,bodyBg:dt,headerBg:st,siderBg:nt}=ye;return{[Fe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:dt,"&, *":{boxSizing:"border-box"},[`&${Fe}-has-sider`]:{flexDirection:"row",[`> ${Fe}, > ${Fe}-content`]:{width:0}},[`${Fe}-header, &${Fe}-footer`]:{flex:"0 0 auto"},[`${Fe}-sider`]:{position:"relative",minWidth:0,background:nt,transition:`all ${pt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${be}-menu${be}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ze},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ze,color:Ie,lineHeight:`${Ze}px`,textAlign:"center",background:De,cursor:"pointer",transition:`all ${pt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Be,insetInlineEnd:-at,zIndex:1,width:at,height:et,color:Ie,fontSize:ye.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:nt,borderStartStartRadius:0,borderStartEndRadius:lt,borderEndEndRadius:lt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Xe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Xe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-at,borderStartStartRadius:lt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:lt}}}}},ne(ye)),{"&-rtl":{direction:"rtl"}}),[`${Fe}-header`]:{height:Be,padding:Ue,color:_e,lineHeight:`${Be}px`,background:st,[`${be}-menu`]:{lineHeight:"inherit"}},[`${Fe}-footer`]:{padding:We,color:ke,fontSize:Ge,background:Le},[`${Fe}-content`]:{flex:"auto",minHeight:0}}};var he=(0,te.Z)("Layout",ye=>[oe(ye)],ye=>{const{colorBgLayout:be,controlHeight:Fe,controlHeightLG:ke,colorText:Ie,controlHeightSM:Le,marginXXS:De,colorTextLightSolid:Be,colorBgContainer:Ue}=ye,_e=ke*1.25;return{colorBgHeader:"#001529",colorBgBody:be,colorBgTrigger:"#002140",bodyBg:be,headerBg:"#001529",headerHeight:Fe*2,headerPadding:`0 ${_e}px`,headerColor:Ie,footerPadding:`${Le}px ${_e}px`,footerBg:be,siderBg:"#001529",triggerHeight:ke+De*2,triggerBg:"#002140",triggerColor:Be,zeroTriggerWidth:ke,zeroTriggerHeight:ke,lightSiderBg:Ue,lightTriggerBg:Ue,lightTriggerColor:Ie}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),re=function(ye,be){var Fe={};for(var ke in ye)Object.prototype.hasOwnProperty.call(ye,ke)&&be.indexOf(ke)<0&&(Fe[ke]=ye[ke]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,ke=Object.getOwnPropertySymbols(ye);Ie<ke.length;Ie++)be.indexOf(ke[Ie])<0&&Object.prototype.propertyIsEnumerable.call(ye,ke[Ie])&&(Fe[ke[Ie]]=ye[ke[Ie]]);return Fe};const se=me.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ce(ye){let{suffixCls:be,tagName:Fe,displayName:ke}=ye;return Ie=>me.forwardRef((De,Be)=>me.createElement(Ie,Object.assign({ref:Be,suffixCls:be,tagName:Fe},De)))}const fe=me.forwardRef((ye,be)=>{const{prefixCls:Fe,suffixCls:ke,className:Ie,tagName:Le}=ye,De=re(ye,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Be}=me.useContext(ie.E_),Ue=Be("layout",Fe),[_e,We]=he(Ue),Ze=ke?`${Ue}-${ke}`:Ue;return _e(me.createElement(Le,Object.assign({className:x()(Fe||Ze,Ie,We),ref:be},De)))}),pe=me.forwardRef((ye,be)=>{const{direction:Fe}=me.useContext(ie.E_),[ke,Ie]=me.useState([]),{prefixCls:Le,className:De,rootClassName:Be,children:Ue,hasSider:_e,tagName:We,style:Ze}=ye,et=re(ye,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),at=(0,Te.Z)(et,["suffixCls"]),{getPrefixCls:pt,layout:Xe}=me.useContext(ie.E_),Ge=pt("layout",Le),[lt,dt]=he(Ge),st=x()(Ge,{[`${Ge}-has-sider`]:typeof _e=="boolean"?_e:ke.length>0,[`${Ge}-rtl`]:Fe==="rtl"},Xe==null?void 0:Xe.className,De,Be,dt),nt=me.useMemo(()=>({siderHook:{addSider:rt=>{Ie(it=>[].concat((0,Oe.Z)(it),[rt]))},removeSider:rt=>{Ie(it=>it.filter(gt=>gt!==rt))}}}),[]);return lt(me.createElement(se.Provider,{value:nt},me.createElement(We,Object.assign({ref:be,className:st,style:Object.assign(Object.assign({},Xe==null?void 0:Xe.style),Ze)},at),Ue)))}),le=ce({tagName:"div",displayName:"Layout"})(pe),Se=ce({suffixCls:"header",tagName:"header",displayName:"Header"})(fe),xe=ce({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(fe),ge=ce({suffixCls:"content",tagName:"main",displayName:"Content"})(fe);var Me=le},76529:function(tn,Kt,ve){"use strict";ve.d(Kt,{J:function(){return ie}});var Oe=ve(67294),$e=ve(4173),x=ve(60276),Te=function(te,ae){var ne={};for(var oe in te)Object.prototype.hasOwnProperty.call(te,oe)&&ae.indexOf(oe)<0&&(ne[oe]=te[oe]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,oe=Object.getOwnPropertySymbols(te);he<oe.length;he++)ae.indexOf(oe[he])<0&&Object.prototype.propertyIsEnumerable.call(te,oe[he])&&(ne[oe[he]]=te[oe[he]]);return ne};const me=Oe.createContext(null),ie=Oe.forwardRef((te,ae)=>{const{children:ne}=te,oe=Te(te,["children"]),he=Oe.useContext(me),re=Oe.useMemo(()=>Object.assign(Object.assign({},he),oe),[he,oe.prefixCls,oe.mode,oe.selectable]);return Oe.createElement(me.Provider,{value:re},Oe.createElement($e.BR,null,(0,x.supportNodeRef)(ne)?Oe.cloneElement(ne,{ref:ae}):ne))});Kt.Z=me},68508:function(tn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return de}});var Oe=ve(78595),$e=ve(67294),x=ve(71322),Te=ve(94184),me=ve.n(Te),ie=ve(53124),te=function(Ce,He){var je={};for(var Ae in Ce)Object.prototype.hasOwnProperty.call(Ce,Ae)&&He.indexOf(Ae)<0&&(je[Ae]=Ce[Ae]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Ae=Object.getOwnPropertySymbols(Ce);Re<Ae.length;Re++)He.indexOf(Ae[Re])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Ae[Re])&&(je[Ae[Re]]=Ce[Ae[Re]]);return je},ne=Ce=>{const{prefixCls:He,className:je,dashed:Ae}=Ce,Re=te(Ce,["prefixCls","className","dashed"]),{getPrefixCls:ze}=$e.useContext(ie.E_),Qe=ze("menu",He),ot=me()({[`${Qe}-item-divider-dashed`]:!!Ae},je);return $e.createElement(Oe.iz,Object.assign({className:ot},Re))},oe=ve(37419),he=ve(10366),re=ve(83062),se=ve(96159),fe=(0,$e.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),le=Ce=>{var He;const{className:je,children:Ae,icon:Re,title:ze,danger:Qe}=Ce,{prefixCls:ot,firstLevel:mt,direction:Ot,disableMenuItemTitleTooltip:xt,inlineCollapsed:Wt}=$e.useContext(fe),bn=zt=>{const an=$e.createElement("span",{className:`${ot}-title-content`},Ae);return(!Re||(0,se.l$)(Ae)&&Ae.type==="span")&&Ae&&zt&&mt&&typeof Ae=="string"?$e.createElement("div",{className:`${ot}-inline-collapsed-noicon`},Ae.charAt(0)):an},{siderCollapsed:Ft}=$e.useContext(x.D);let Qt=ze;typeof ze=="undefined"?Qt=mt?Ae:"":ze===!1&&(Qt="");const Vt={title:Qt};!Ft&&!Wt&&(Vt.title=null,Vt.open=!1);const yn=(0,oe.Z)(Ae).length;let Pt=$e.createElement(Oe.ck,Object.assign({},(0,he.Z)(Ce,["title","icon","danger"]),{className:me()({[`${ot}-item-danger`]:Qe,[`${ot}-item-only-child`]:(Re?yn+1:yn)===1},je),title:typeof ze=="string"?ze:void 0}),(0,se.Tm)(Re,{className:me()((0,se.l$)(Re)?(He=Re.props)===null||He===void 0?void 0:He.className:"",`${ot}-item-icon`)}),bn(Wt));return xt||(Pt=$e.createElement(re.Z,Object.assign({},Vt,{placement:Ot==="rtl"?"left":"right",overlayClassName:`${ot}-inline-collapsed-tooltip`}),Pt)),Pt},xe=Ce=>{var He;const{popupClassName:je,icon:Ae,title:Re,theme:ze}=Ce,Qe=$e.useContext(fe),{prefixCls:ot,inlineCollapsed:mt,theme:Ot}=Qe,xt=(0,Oe.Xl)();let Wt;if(!Ae)Wt=mt&&!xt.length&&Re&&typeof Re=="string"?$e.createElement("div",{className:`${ot}-inline-collapsed-noicon`},Re.charAt(0)):$e.createElement("span",{className:`${ot}-title-content`},Re);else{const Ft=(0,se.l$)(Re)&&Re.type==="span";Wt=$e.createElement($e.Fragment,null,(0,se.Tm)(Ae,{className:me()((0,se.l$)(Ae)?(He=Ae.props)===null||He===void 0?void 0:He.className:"",`${ot}-item-icon`)}),Ft?Re:$e.createElement("span",{className:`${ot}-title-content`},Re))}const bn=$e.useMemo(()=>Object.assign(Object.assign({},Qe),{firstLevel:!1}),[Qe]);return $e.createElement(fe.Provider,{value:bn},$e.createElement(Oe.Wd,Object.assign({},(0,he.Z)(Ce,["icon"]),{title:Wt,popupClassName:me()(ot,je,`${ot}-${ze||Ot}`)})))},ge=ve(25877),Me=ve(60276),ye=ve(33603),be=ve(76529),Fe=function(Ce,He){var je={};for(var Ae in Ce)Object.prototype.hasOwnProperty.call(Ce,Ae)&&He.indexOf(Ae)<0&&(je[Ae]=Ce[Ae]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Ae=Object.getOwnPropertySymbols(Ce);Re<Ae.length;Re++)He.indexOf(Ae[Re])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Ae[Re])&&(je[Ae[Re]]=Ce[Ae[Re]]);return je};function ke(Ce){return(Ce||[]).map((He,je)=>{if(He&&typeof He=="object"){const Ae=He,{label:Re,children:ze,key:Qe,type:ot}=Ae,mt=Fe(Ae,["label","children","key","type"]),Ot=Qe!=null?Qe:`tmp-${je}`;return ze||ot==="group"?ot==="group"?$e.createElement(Oe.BW,Object.assign({key:Ot},mt,{title:Re}),ke(ze)):$e.createElement(xe,Object.assign({key:Ot},mt,{title:Re}),ke(ze)):ot==="divider"?$e.createElement(ne,Object.assign({key:Ot},mt)):$e.createElement(le,Object.assign({key:Ot},mt),Re)}return null}).filter(He=>He)}function Ie(Ce){return $e.useMemo(()=>Ce&&ke(Ce),[Ce])}var Le=ve(84780),De=ve(14747),Be=ve(33507),Ue=ve(67771),_e=ve(50438),We=ve(67968),Ze=ve(45503),at=Ce=>{const{componentCls:He,motionDurationSlow:je,horizontalLineHeight:Ae,colorSplit:Re,lineWidth:ze,lineType:Qe,itemPaddingInline:ot}=Ce;return{[`${He}-horizontal`]:{lineHeight:Ae,border:0,borderBottom:`${ze}px ${Qe} ${Re}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${He}-item, ${He}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ot},[`> ${He}-item:hover,
> ${He}-item-active,
> ${He}-submenu ${He}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${He}-item, ${He}-submenu-title`]:{transition:[`border-color ${je}`,`background ${je}`].join(",")},[`${He}-submenu-arrow`]:{display:"none"}}}},Xe=Ce=>{let{componentCls:He,menuArrowOffset:je}=Ce;return{[`${He}-rtl`]:{direction:"rtl"},[`${He}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${He}-rtl${He}-vertical,
${He}-submenu-rtl ${He}-vertical`]:{[`${He}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${je})`},"&::after":{transform:`rotate(45deg) translateY(${je})`}}}}};const Ge=Ce=>Object.assign({},(0,De.oN)(Ce));var dt=(Ce,He)=>{const{componentCls:je,itemColor:Ae,itemSelectedColor:Re,groupTitleColor:ze,itemBg:Qe,subMenuItemBg:ot,itemSelectedBg:mt,activeBarHeight:Ot,activeBarWidth:xt,activeBarBorderWidth:Wt,motionDurationSlow:bn,motionEaseInOut:Ft,motionEaseOut:Qt,itemPaddingInline:Vt,motionDurationMid:yn,itemHoverColor:Pt,lineType:zt,colorSplit:an,itemDisabledColor:gn,dangerItemColor:Tn,dangerItemHoverColor:Gn,dangerItemSelectedColor:fr,dangerItemActiveBg:Tr,dangerItemSelectedBg:Wr,itemHoverBg:ti,itemActiveBg:Dr,menuSubMenuBg:ri,horizontalItemSelectedColor:Mi,horizontalItemSelectedBg:$r,horizontalItemBorderRadius:Xi,horizontalItemHoverBg:Ii,popupBg:nn}=Ce;return{[`${je}-${He}, ${je}-${He} > ${je}`]:{color:Ae,background:Qe,[`&${je}-root:focus-visible`]:Object.assign({},Ge(Ce)),[`${je}-item-group-title`]:{color:ze},[`${je}-submenu-selected`]:{[`> ${je}-submenu-title`]:{color:Re}},[`${je}-item-disabled, ${je}-submenu-disabled`]:{color:`${gn} !important`},[`${je}-item:not(${je}-item-selected):not(${je}-submenu-selected)`]:{[`&:hover, > ${je}-submenu-title:hover`]:{color:Pt}},[`&:not(${je}-horizontal)`]:{[`${je}-item:not(${je}-item-selected)`]:{"&:hover":{backgroundColor:ti},"&:active":{backgroundColor:Dr}},[`${je}-submenu-title`]:{"&:hover":{backgroundColor:ti},"&:active":{backgroundColor:Dr}}},[`${je}-item-danger`]:{color:Tn,[`&${je}-item:hover`]:{[`&:not(${je}-item-selected):not(${je}-submenu-selected)`]:{color:Gn}},[`&${je}-item:active`]:{background:Tr}},[`${je}-item a`]:{"&, &:hover":{color:"inherit"}},[`${je}-item-selected`]:{color:Re,[`&${je}-item-danger`]:{color:fr},"a, a:hover":{color:"inherit"}},[`& ${je}-item-selected`]:{backgroundColor:mt,[`&${je}-item-danger`]:{backgroundColor:Wr}},[`${je}-item, ${je}-submenu-title`]:{[`&:not(${je}-item-disabled):focus-visible`]:Object.assign({},Ge(Ce))},[`&${je}-submenu > ${je}`]:{backgroundColor:ri},[`&${je}-popup > ${je}`]:{backgroundColor:nn},[`&${je}-horizontal`]:Object.assign(Object.assign({},He==="dark"?{borderBottom:0}:{}),{[`> ${je}-item, > ${je}-submenu`]:{top:Wt,marginTop:-Wt,marginBottom:0,borderRadius:Xi,"&::after":{position:"absolute",insetInline:Vt,bottom:0,borderBottom:`${Ot}px solid transparent`,transition:`border-color ${bn} ${Ft}`,content:'""'},"&:hover, &-active, &-open":{background:Ii,"&::after":{borderBottomWidth:Ot,borderBottomColor:Mi}},"&-selected":{color:Mi,backgroundColor:$r,"&:hover":{backgroundColor:$r},"&::after":{borderBottomWidth:Ot,borderBottomColor:Mi}}}}),[`&${je}-root`]:{[`&${je}-inline, &${je}-vertical`]:{borderInlineEnd:`${Wt}px ${zt} ${an}`}},[`&${je}-inline`]:{[`${je}-sub${je}-inline`]:{background:ot},[`${je}-item, ${je}-submenu-title`]:Wt&&xt?{width:`calc(100% + ${Wt}px)`}:{},[`${je}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${xt}px solid ${Re}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${yn} ${Qt}`,`opacity ${yn} ${Qt}`].join(","),content:'""'},[`&${je}-item-danger`]:{"&::after":{borderInlineEndColor:fr}}},[`${je}-selected, ${je}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${yn} ${Ft}`,`opacity ${yn} ${Ft}`].join(",")}}}}}};const st=Ce=>{const{componentCls:He,itemHeight:je,itemMarginInline:Ae,padding:Re,menuArrowSize:ze,marginXS:Qe,itemMarginBlock:ot}=Ce,mt=Re+ze+Qe;return{[`${He}-item`]:{position:"relative",overflow:"hidden"},[`${He}-item, ${He}-submenu-title`]:{height:je,lineHeight:`${je}px`,paddingInline:Re,overflow:"hidden",textOverflow:"ellipsis",marginInline:Ae,marginBlock:ot,width:`calc(100% - ${Ae*2}px)`},[`> ${He}-item,
> ${He}-submenu > ${He}-submenu-title`]:{height:je,lineHeight:`${je}px`},[`${He}-item-group-list ${He}-submenu-title,
${He}-submenu-title`]:{paddingInlineEnd:mt}}};var rt=Ce=>{const{componentCls:He,iconCls:je,itemHeight:Ae,colorTextLightSolid:Re,dropdownWidth:ze,controlHeightLG:Qe,motionDurationMid:ot,motionEaseOut:mt,paddingXL:Ot,itemMarginInline:xt,fontSizeLG:Wt,motionDurationSlow:bn,paddingXS:Ft,boxShadowSecondary:Qt,collapsedWidth:Vt,collapsedIconSize:yn}=Ce,Pt={height:Ae,lineHeight:`${Ae}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[He]:{"&-inline, &-vertical":Object.assign({[`&${He}-root`]:{boxShadow:"none"}},st(Ce))},[`${He}-submenu-popup`]:{[`${He}-vertical`]:Object.assign(Object.assign({},st(Ce)),{boxShadow:Qt})}},{[`${He}-submenu-popup ${He}-vertical${He}-sub`]:{minWidth:ze,maxHeight:`calc(100vh - ${Qe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${He}-inline`]:{width:"100%",[`&${He}-root`]:{[`${He}-item, ${He}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${bn}`,`background ${bn}`,`padding ${ot} ${mt}`].join(","),[`> ${He}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${He}-sub${He}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${He}-submenu > ${He}-submenu-title`]:Pt,[`& ${He}-item-group-title`]:{paddingInlineStart:Ot}},[`${He}-item`]:Pt}},{[`${He}-inline-collapsed`]:{width:Vt,[`&${He}-root`]:{[`${He}-item, ${He}-submenu ${He}-submenu-title`]:{[`> ${He}-inline-collapsed-noicon`]:{fontSize:Wt,textAlign:"center"}}},[`> ${He}-item,
> ${He}-item-group > ${He}-item-group-list > ${He}-item,
> ${He}-item-group > ${He}-item-group-list > ${He}-submenu > ${He}-submenu-title,
> ${He}-submenu > ${He}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Wt/2}px - ${xt}px)`,textOverflow:"clip",[`
${He}-submenu-arrow,
${He}-submenu-expand-icon
`]:{opacity:0},[`${He}-item-icon, ${je}`]:{margin:0,fontSize:yn,lineHeight:`${Ae}px`,"+ span":{display:"inline-block",opacity:0}}},[`${He}-item-icon, ${je}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${He}-item-icon, ${je}`]:{display:"none"},"a, a:hover":{color:Re}},[`${He}-item-group-title`]:Object.assign(Object.assign({},De.vS),{paddingInline:Ft})}}]};const it=Ce=>{const{componentCls:He,motionDurationSlow:je,motionDurationMid:Ae,motionEaseInOut:Re,motionEaseOut:ze,iconCls:Qe,iconSize:ot,iconMarginInlineEnd:mt}=Ce;return{[`${He}-item, ${He}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${je}`,`background ${je}`,`padding ${je} ${Re}`].join(","),[`${He}-item-icon, ${Qe}`]:{minWidth:ot,fontSize:ot,transition:[`font-size ${Ae} ${ze}`,`margin ${je} ${Re}`,`color ${je}`].join(","),"+ span":{marginInlineStart:mt,opacity:1,transition:[`opacity ${je} ${Re}`,`margin ${je}`,`color ${je}`].join(",")}},[`${He}-item-icon`]:Object.assign({},(0,De.Ro)()),[`&${He}-item-only-child`]:{[`> ${Qe}, > ${He}-item-icon`]:{marginInlineEnd:0}}},[`${He}-item-disabled, ${He}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${He}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},gt=Ce=>{const{componentCls:He,motionDurationSlow:je,motionEaseInOut:Ae,borderRadius:Re,menuArrowSize:ze,menuArrowOffset:Qe}=Ce;return{[`${He}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ce.margin,width:ze,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${je} ${Ae}, opacity ${je}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:ze*.6,height:ze*.15,backgroundColor:"currentcolor",borderRadius:Re,transition:[`background ${je} ${Ae}`,`transform ${je} ${Ae}`,`top ${je} ${Ae}`,`color ${je} ${Ae}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Qe})`},"&::after":{transform:`rotate(-45deg) translateY(${Qe})`}}}}},vt=Ce=>{const{antCls:He,componentCls:je,fontSize:Ae,motionDurationSlow:Re,motionDurationMid:ze,motionEaseInOut:Qe,paddingXS:ot,padding:mt,colorSplit:Ot,lineWidth:xt,zIndexPopup:Wt,borderRadiusLG:bn,subMenuItemBorderRadius:Ft,menuArrowSize:Qt,menuArrowOffset:Vt,lineType:yn,menuPanelMaskInset:Pt,groupTitleLineHeight:zt,groupTitleFontSize:an}=Ce;return[{"":{[`${je}`]:Object.assign(Object.assign({},(0,De.dF)()),{"&-hidden":{display:"none"}})},[`${je}-submenu-hidden`]:{display:"none"}},{[je]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,De.Wf)(Ce)),(0,De.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Ae,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Re} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${je}-item`]:{flex:"none"}},[`${je}-item, ${je}-submenu, ${je}-submenu-title`]:{borderRadius:Ce.itemBorderRadius},[`${je}-item-group-title`]:{padding:`${ot}px ${mt}px`,fontSize:an,lineHeight:zt,transition:`all ${Re}`},[`&-horizontal ${je}-submenu`]:{transition:[`border-color ${Re} ${Qe}`,`background ${Re} ${Qe}`].join(",")},[`${je}-submenu, ${je}-submenu-inline`]:{transition:[`border-color ${Re} ${Qe}`,`background ${Re} ${Qe}`,`padding ${ze} ${Qe}`].join(",")},[`${je}-submenu ${je}-sub`]:{cursor:"initial",transition:[`background ${Re} ${Qe}`,`padding ${Re} ${Qe}`].join(",")},[`${je}-title-content`]:{transition:`color ${Re}`},[`${je}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${je}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Ot,borderStyle:yn,borderWidth:0,borderTopWidth:xt,marginBlock:xt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),it(Ce)),{[`${je}-item-group`]:{[`${je}-item-group-list`]:{margin:0,padding:0,[`${je}-item, ${je}-submenu-title`]:{paddingInline:`${Ae*2}px ${mt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Wt,borderRadius:bn,boxShadow:"none",transformOrigin:"0 0",[`&${je}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Pt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Pt},"\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:Ce.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ce.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ce.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ce.paddingXS},[`> ${je}`]:Object.assign(Object.assign(Object.assign({borderRadius:bn},it(Ce)),gt(Ce)),{[`${je}-item, ${je}-submenu > ${je}-submenu-title`]:{borderRadius:Ft},[`${je}-submenu-title::after`]:{transition:`transform ${Re} ${Qe}`}})}}),gt(Ce)),{[`&-inline-collapsed ${je}-submenu-arrow,
&-inline ${je}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Vt})`},"&::after":{transform:`rotate(45deg) translateX(-${Vt})`}},[`${je}-submenu-open${je}-submenu-inline > ${je}-submenu-title > ${je}-submenu-arrow`]:{transform:`translateY(-${Qt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Vt})`},"&::before":{transform:`rotate(45deg) translateX(${Vt})`}}})},{[`${He}-layout-header`]:{[je]:{lineHeight:"inherit"}}}]};var At=(Ce,He)=>(0,We.Z)("Menu",Ae=>{if(He===!1)return[];const{colorBgElevated:Re,colorPrimary:ze,colorTextLightSolid:Qe,controlHeightLG:ot,fontSize:mt,darkItemColor:Ot,darkDangerItemColor:xt,darkItemBg:Wt,darkSubMenuItemBg:bn,darkItemSelectedColor:Ft,darkItemSelectedBg:Qt,darkDangerItemSelectedBg:Vt,darkItemHoverBg:yn,darkGroupTitleColor:Pt,darkItemHoverColor:zt,darkItemDisabledColor:an,darkDangerItemHoverColor:gn,darkDangerItemSelectedColor:Tn,darkDangerItemActiveBg:Gn}=Ae,fr=mt/7*5,Tr=(0,Ze.TS)(Ae,{menuArrowSize:fr,menuHorizontalHeight:ot*1.15,menuArrowOffset:`${fr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Re}),Wr=(0,Ze.TS)(Tr,{itemColor:Ot,itemHoverColor:zt,groupTitleColor:Pt,itemSelectedColor:Ft,itemBg:Wt,popupBg:Wt,subMenuItemBg:bn,itemActiveBg:"transparent",itemSelectedBg:Qt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:yn,itemDisabledColor:an,dangerItemColor:xt,dangerItemHoverColor:gn,dangerItemSelectedColor:Tn,dangerItemActiveBg:Gn,dangerItemSelectedBg:Vt,menuSubMenuBg:bn,horizontalItemSelectedColor:Qe,horizontalItemSelectedBg:ze});return[vt(Tr),at(Tr),rt(Tr),dt(Tr,"light"),dt(Wr,"dark"),Xe(Tr),(0,Be.Z)(Tr),(0,Ue.oN)(Tr,"slide-up"),(0,Ue.oN)(Tr,"slide-down"),(0,_e._y)(Tr,"zoom-big")]},Ae=>{const{colorPrimary:Re,colorError:ze,colorTextDisabled:Qe,colorErrorBg:ot,colorText:mt,colorTextDescription:Ot,colorBgContainer:xt,colorFillAlter:Wt,colorFillContent:bn,lineWidth:Ft,lineWidthBold:Qt,controlItemBgActive:Vt,colorBgTextHover:yn,controlHeightLG:Pt,lineHeight:zt,colorBgElevated:an,marginXXS:gn,padding:Tn,fontSize:Gn,controlHeightSM:fr,fontSizeLG:Tr,colorTextLightSolid:Wr,colorErrorHover:ti}=Ae,Dr=new Le.C(Wr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Ae.zIndexPopupBase+50,radiusItem:Ae.borderRadiusLG,itemBorderRadius:Ae.borderRadiusLG,radiusSubMenuItem:Ae.borderRadiusSM,subMenuItemBorderRadius:Ae.borderRadiusSM,colorItemText:mt,itemColor:mt,colorItemTextHover:mt,itemHoverColor:mt,colorItemTextHoverHorizontal:Re,horizontalItemHoverColor:Re,colorGroupTitle:Ot,groupTitleColor:Ot,colorItemTextSelected:Re,itemSelectedColor:Re,colorItemTextSelectedHorizontal:Re,horizontalItemSelectedColor:Re,colorItemBg:xt,itemBg:xt,colorItemBgHover:yn,itemHoverBg:yn,colorItemBgActive:bn,itemActiveBg:Vt,colorSubItemBg:Wt,subMenuItemBg:Wt,colorItemBgSelected:Vt,itemSelectedBg:Vt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Qt,activeBarHeight:Qt,colorActiveBarBorderSize:Ft,activeBarBorderWidth:Ft,colorItemTextDisabled:Qe,itemDisabledColor:Qe,colorDangerItemText:ze,dangerItemColor:ze,colorDangerItemTextHover:ze,dangerItemHoverColor:ze,colorDangerItemTextSelected:ze,dangerItemSelectedColor:ze,colorDangerItemBgActive:ot,dangerItemActiveBg:ot,colorDangerItemBgSelected:ot,dangerItemSelectedBg:ot,itemMarginInline:Ae.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Pt,groupTitleLineHeight:zt,collapsedWidth:Pt*2,popupBg:an,itemMarginBlock:gn,itemPaddingInline:Tn,horizontalLineHeight:`${Pt*1.15}px`,iconSize:Gn,iconMarginInlineEnd:fr-Gn,collapsedIconSize:Tr,groupTitleFontSize:Gn,darkItemDisabledColor:new Le.C(Wr).setAlpha(.25).toRgbString(),darkItemColor:Dr,darkDangerItemColor:ze,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Wr,darkItemSelectedBg:Re,darkDangerItemSelectedBg:ze,darkItemHoverBg:"transparent",darkGroupTitleColor:Dr,darkItemHoverColor:Wr,darkDangerItemHoverColor:ti,darkDangerItemSelectedColor:Wr,darkDangerItemActiveBg:ze}},{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"]]})(Ce),Et=function(Ce,He){var je={};for(var Ae in Ce)Object.prototype.hasOwnProperty.call(Ce,Ae)&&He.indexOf(Ae)<0&&(je[Ae]=Ce[Ae]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Ae=Object.getOwnPropertySymbols(Ce);Re<Ae.length;Re++)He.indexOf(Ae[Re])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Ae[Re])&&(je[Ae[Re]]=Ce[Ae[Re]]);return je},Ye=(0,$e.forwardRef)((Ce,He)=>{var je,Ae;const Re=$e.useContext(be.Z),ze=Re||{},{getPrefixCls:Qe,getPopupContainer:ot,direction:mt,menu:Ot}=$e.useContext(ie.E_),xt=Qe(),{prefixCls:Wt,className:bn,style:Ft,theme:Qt="light",expandIcon:Vt,_internalDisableMenuItemTitleTooltip:yn,inlineCollapsed:Pt,siderCollapsed:zt,items:an,children:gn,rootClassName:Tn,mode:Gn,selectable:fr,onClick:Tr,overflowedIndicatorPopupClassName:Wr}=Ce,ti=Et(Ce,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Dr=(0,he.Z)(ti,["collapsedWidth"]),ri=Ie(an)||gn;(je=ze.validator)===null||je===void 0||je.call(ze,{mode:Gn});const Mi=(0,Me.useEvent)(function(){var Mr;Tr==null||Tr.apply(void 0,arguments),(Mr=ze.onClick)===null||Mr===void 0||Mr.call(ze)}),$r=ze.mode||Gn,Xi=fr!=null?fr:ze.selectable,Ii=$e.useMemo(()=>zt!==void 0?zt:Pt,[Pt,zt]),nn={horizontal:{motionName:`${xt}-slide-up`},inline:(0,ye.Z)(xt),other:{motionName:`${xt}-zoom-big`}},Jn=Qe("menu",Wt||ze.prefixCls),[hr,Kn]=At(Jn,!Re),Hr=me()(`${Jn}-${Qt}`,Ot==null?void 0:Ot.className,bn);let Pr;if(typeof Vt=="function")Pr=Vt;else if(Vt===null||Vt===!1)Pr=null;else if(ze.expandIcon===null||ze.expandIcon===!1)Pr=null;else{const Mr=Vt!=null?Vt:ze.expandIcon;Pr=(0,se.Tm)(Mr,{className:me()(`${Jn}-submenu-expand-icon`,(0,se.l$)(Mr)?(Ae=Mr.props)===null||Ae===void 0?void 0:Ae.className:"")})}const Or=$e.useMemo(()=>({prefixCls:Jn,inlineCollapsed:Ii||!1,direction:mt,firstLevel:!0,theme:Qt,mode:$r,disableMenuItemTitleTooltip:yn}),[Jn,Ii,mt,yn,Qt]);return hr($e.createElement(be.Z.Provider,{value:null},$e.createElement(fe.Provider,{value:Or},$e.createElement(Oe.ZP,Object.assign({getPopupContainer:ot,overflowedIndicator:$e.createElement(ge.Z,null),overflowedIndicatorPopupClassName:me()(Jn,`${Jn}-${Qt}`,Wr),mode:$r,selectable:Xi,onClick:Mi},Dr,{inlineCollapsed:Ii,style:Object.assign(Object.assign({},Ot==null?void 0:Ot.style),Ft),className:Hr,prefixCls:Jn,direction:mt,defaultMotions:nn,expandIcon:Pr,ref:He,rootClassName:me()(Tn,Kn)}),ri))))});const Ve=(0,$e.forwardRef)((Ce,He)=>{const je=(0,$e.useRef)(null),Ae=$e.useContext(x.D);return(0,$e.useImperativeHandle)(He,()=>({menu:je.current,focus:Re=>{var ze;(ze=je.current)===null||ze===void 0||ze.focus(Re)}})),$e.createElement(Ye,Object.assign({ref:je},Ce,Ae))});Ve.Item=le,Ve.SubMenu=xe,Ve.Divider=ne,Ve.ItemGroup=Oe.BW;var de=Ve},86738:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Le}});var Oe=ve(87995),$e=ve(94184),x=ve.n($e),Te=ve(92389),me=ve(5663),ie=ve(10366),te=ve(67294),ae=ve(96159),ne=ve(53124),oe=ve(55241),he=ve(86743),re=ve(81643),se=ve(71577),ce=ve(4026),fe=ve(10110),pe=ve(24457),le=ve(66330),Se=ve(67968);const xe=De=>{const{componentCls:Be,iconCls:Ue,antCls:_e,zIndexPopup:We,colorText:Ze,colorWarning:et,marginXXS:at,marginXS:pt,fontSize:Xe,fontWeightStrong:Ge,colorTextHeading:lt}=De;return{[Be]:{zIndex:We,[`&${_e}-popover`]:{fontSize:Xe},[`${Be}-message`]:{marginBottom:pt,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Be}-message-icon ${Ue}`]:{color:et,fontSize:Xe,lineHeight:1,marginInlineEnd:pt},[`${Be}-title`]:{fontWeight:Ge,color:lt,"&:only-child":{fontWeight:"normal"}},[`${Be}-description`]:{marginTop:at,color:Ze}},[`${Be}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:pt}}}}};var ge=(0,Se.Z)("Popconfirm",De=>xe(De),De=>{const{zIndexPopupBase:Be}=De;return{zIndexPopup:Be+60}},{resetStyle:!1}),Me=function(De,Be){var Ue={};for(var _e in De)Object.prototype.hasOwnProperty.call(De,_e)&&Be.indexOf(_e)<0&&(Ue[_e]=De[_e]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,_e=Object.getOwnPropertySymbols(De);We<_e.length;We++)Be.indexOf(_e[We])<0&&Object.prototype.propertyIsEnumerable.call(De,_e[We])&&(Ue[_e[We]]=De[_e[We]]);return Ue};const ye=De=>{const{prefixCls:Be,okButtonProps:Ue,cancelButtonProps:_e,title:We,description:Ze,cancelText:et,okText:at,okType:pt="primary",icon:Xe=te.createElement(Oe.Z,null),showCancel:Ge=!0,close:lt,onConfirm:dt,onCancel:st,onPopupClick:nt}=De,{getPrefixCls:rt}=te.useContext(ne.E_),[it]=(0,fe.Z)("Popconfirm",pe.Z.Popconfirm),gt=(0,re.Z)(We),vt=(0,re.Z)(Ze);return te.createElement("div",{className:`${Be}-inner-content`,onClick:nt},te.createElement("div",{className:`${Be}-message`},Xe&&te.createElement("span",{className:`${Be}-message-icon`},Xe),te.createElement("div",{className:`${Be}-message-text`},gt&&te.createElement("div",{className:x()(`${Be}-title`)},gt),vt&&te.createElement("div",{className:`${Be}-description`},vt))),te.createElement("div",{className:`${Be}-buttons`},Ge&&te.createElement(se.ZP,Object.assign({onClick:st,size:"small"},_e),et!=null?et:it==null?void 0:it.cancelText),te.createElement(he.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,ce.n)(pt)),Ue),actionFn:dt,close:lt,prefixCls:rt("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},at!=null?at:it==null?void 0:it.okText)))};var Fe=De=>{const{prefixCls:Be,placement:Ue,className:_e,style:We}=De,Ze=Me(De,["prefixCls","placement","className","style"]),{getPrefixCls:et}=te.useContext(ne.E_),at=et("popconfirm",Be),[pt]=ge(at);return pt(te.createElement(le.ZP,{placement:Ue,className:x()(at,_e),style:We,content:te.createElement(ye,Object.assign({prefixCls:at},Ze))}))},ke=function(De,Be){var Ue={};for(var _e in De)Object.prototype.hasOwnProperty.call(De,_e)&&Be.indexOf(_e)<0&&(Ue[_e]=De[_e]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,_e=Object.getOwnPropertySymbols(De);We<_e.length;We++)Be.indexOf(_e[We])<0&&Object.prototype.propertyIsEnumerable.call(De,_e[We])&&(Ue[_e[We]]=De[_e[We]]);return Ue};const Ie=te.forwardRef((De,Be)=>{const{prefixCls:Ue,placement:_e="top",trigger:We="click",okType:Ze="primary",icon:et=te.createElement(Oe.Z,null),children:at,overlayClassName:pt,onOpenChange:Xe,onVisibleChange:Ge}=De,lt=ke(De,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:dt}=te.useContext(ne.E_),[st,nt]=(0,me.Z)(!1,{value:De.open,defaultValue:De.defaultOpen}),rt=(de,Ce)=>{nt(de,!0),Ge==null||Ge(de),Xe==null||Xe(de,Ce)},it=de=>{rt(!1,de)},gt=de=>{var Ce;return(Ce=De.onConfirm)===null||Ce===void 0?void 0:Ce.call(void 0,de)},vt=de=>{var Ce;rt(!1,de),(Ce=De.onCancel)===null||Ce===void 0||Ce.call(void 0,de)},At=de=>{de.keyCode===Te.Z.ESC&&st&&rt(!1,de)},Et=de=>{const{disabled:Ce=!1}=De;Ce||rt(de)},ut=dt("popconfirm",Ue),Ye=x()(ut,pt),[Ve]=ge(ut);return Ve(te.createElement(oe.Z,Object.assign({},(0,ie.Z)(lt,["title"]),{trigger:We,placement:_e,onOpenChange:Et,open:st,ref:Be,overlayClassName:Ye,content:te.createElement(ye,Object.assign({okType:Ze,icon:et},De,{prefixCls:ut,close:it,onConfirm:gt,onCancel:vt})),"data-popover-inject":!0}),(0,ae.Tm)(at,{onKeyDown:de=>{var Ce,He;te.isValidElement(at)&&((He=at==null?void 0:(Ce=at.props).onKeyDown)===null||He===void 0||He.call(Ce,de)),At(de)}})))});Ie._InternalPanelDoNotUseOrYouWillBeFired=Fe;var Le=Ie},66330:function(tn,Kt,ve){"use strict";ve.d(Kt,{t5:function(){return oe}});var Oe=ve(94184),$e=ve.n(Oe),x=ve(92419),Te=ve(67294),me=ve(53124),ie=ve(81643),te=ve(20136),ae=function(re,se){var ce={};for(var fe in re)Object.prototype.hasOwnProperty.call(re,fe)&&se.indexOf(fe)<0&&(ce[fe]=re[fe]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,fe=Object.getOwnPropertySymbols(re);pe<fe.length;pe++)se.indexOf(fe[pe])<0&&Object.prototype.propertyIsEnumerable.call(re,fe[pe])&&(ce[fe[pe]]=re[fe[pe]]);return ce};const ne=(re,se,ce)=>{if(!(!se&&!ce))return Te.createElement(Te.Fragment,null,se&&Te.createElement("div",{className:`${re}-title`},(0,ie.Z)(se)),Te.createElement("div",{className:`${re}-inner-content`},(0,ie.Z)(ce)))},oe=re=>{const{hashId:se,prefixCls:ce,className:fe,style:pe,placement:le="top",title:Se,content:xe,children:ge}=re;return Te.createElement("div",{className:$e()(se,ce,`${ce}-pure`,`${ce}-placement-${le}`,fe),style:pe},Te.createElement("div",{className:`${ce}-arrow`}),Te.createElement(x.G,Object.assign({},re,{className:se,prefixCls:ce}),ge||ne(ce,Se,xe)))},he=re=>{const{prefixCls:se}=re,ce=ae(re,["prefixCls"]),{getPrefixCls:fe}=Te.useContext(me.E_),pe=fe("popover",se),[le,Se]=(0,te.Z)(pe);return le(Te.createElement(oe,Object.assign({},ce,{prefixCls:pe,hashId:Se})))};Kt.ZP=he},55241:function(tn,Kt,ve){"use strict";var Oe=ve(94184),$e=ve.n(Oe),x=ve(67294),Te=ve(81643),me=ve(33603),ie=ve(53124),te=ve(83062),ae=ve(66330),ne=ve(20136),oe=function(se,ce){var fe={};for(var pe in se)Object.prototype.hasOwnProperty.call(se,pe)&&ce.indexOf(pe)<0&&(fe[pe]=se[pe]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,pe=Object.getOwnPropertySymbols(se);le<pe.length;le++)ce.indexOf(pe[le])<0&&Object.prototype.propertyIsEnumerable.call(se,pe[le])&&(fe[pe[le]]=se[pe[le]]);return fe};const he=se=>{let{title:ce,content:fe,prefixCls:pe}=se;return x.createElement(x.Fragment,null,ce&&x.createElement("div",{className:`${pe}-title`},(0,Te.Z)(ce)),x.createElement("div",{className:`${pe}-inner-content`},(0,Te.Z)(fe)))},re=x.forwardRef((se,ce)=>{const{prefixCls:fe,title:pe,content:le,overlayClassName:Se,placement:xe="top",trigger:ge="hover",mouseEnterDelay:Me=.1,mouseLeaveDelay:ye=.1,overlayStyle:be={}}=se,Fe=oe(se,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:ke}=x.useContext(ie.E_),Ie=ke("popover",fe),[Le,De]=(0,ne.Z)(Ie),Be=ke(),Ue=$e()(Se,De);return Le(x.createElement(te.Z,Object.assign({placement:xe,trigger:ge,mouseEnterDelay:Me,mouseLeaveDelay:ye,overlayStyle:be},Fe,{prefixCls:Ie,overlayClassName:Ue,ref:ce,overlay:pe||le?x.createElement(he,{prefixCls:Ie,title:pe,content:le}):null,transitionName:(0,me.m)(Be,"zoom-big",Fe.transitionName),"data-popover-inject":!0})))});re._InternalPanelDoNotUseOrYouWillBeFired=ae.ZP,Kt.Z=re},20136:function(tn,Kt,ve){"use strict";var Oe=ve(14747),$e=ve(50438),x=ve(97414),Te=ve(8796),me=ve(67968),ie=ve(45503);const te=oe=>{const{componentCls:he,popoverColor:re,minWidth:se,fontWeightStrong:ce,popoverPadding:fe,boxShadowSecondary:pe,colorTextHeading:le,borderRadiusLG:Se,zIndexPopup:xe,marginXS:ge,colorBgElevated:Me,popoverBg:ye}=oe;return[{[he]:Object.assign(Object.assign({},(0,Oe.Wf)(oe)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:xe,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":Me,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${he}-content`]:{position:"relative"},[`${he}-inner`]:{backgroundColor:ye,backgroundClip:"padding-box",borderRadius:Se,boxShadow:pe,padding:fe},[`${he}-title`]:{minWidth:se,marginBottom:ge,color:le,fontWeight:ce},[`${he}-inner-content`]:{color:re}})},(0,x.ZP)(oe,{colorBg:"var(--antd-arrow-background-color)"}),{[`${he}-pure`]:{position:"relative",maxWidth:"none",margin:oe.sizePopupArrow,display:"inline-block",[`${he}-content`]:{display:"inline-block"}}}]},ae=oe=>{const{componentCls:he}=oe;return{[he]:Te.i.map(re=>{const se=oe[`${re}6`];return{[`&${he}-${re}`]:{"--antd-arrow-background-color":se,[`${he}-inner`]:{backgroundColor:se},[`${he}-arrow`]:{background:"transparent"}}}})}},ne=oe=>{const{componentCls:he,lineWidth:re,lineType:se,colorSplit:ce,paddingSM:fe,controlHeight:pe,fontSize:le,lineHeight:Se,padding:xe}=oe,ge=pe-Math.round(le*Se),Me=ge/2,ye=ge/2-re,be=xe;return{[he]:{[`${he}-inner`]:{padding:0},[`${he}-title`]:{margin:0,padding:`${Me}px ${be}px ${ye}px`,borderBottom:`${re}px ${se} ${ce}`},[`${he}-inner-content`]:{padding:`${fe}px ${be}px`}}}};Kt.Z=(0,me.Z)("Popover",oe=>{const{colorBgElevated:he,colorText:re,wireframe:se}=oe,ce=(0,ie.TS)(oe,{popoverPadding:12,popoverBg:he,popoverColor:re});return[te(ce),ae(ce),se&&ne(ce),(0,$e._y)(ce,"zoom-big")]},oe=>({width:177,minWidth:177,zIndexPopup:oe.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},38703:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return yn}});var Oe=ve(67294),$e=ve(87725),x=ve(18299),Te=ve(16646),me=ve(73475),ie=ve(94184),te=ve.n(ie),ae=ve(10366),ne=ve(53124),oe=ve(87462),he=ve(1413),re=ve(45987),se={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ce=function(){var zt=(0,Oe.useRef)([]),an=(0,Oe.useRef)(null);return(0,Oe.useEffect)(function(){var gn=Date.now(),Tn=!1;zt.current.forEach(function(Gn){if(Gn){Tn=!0;var fr=Gn.style;fr.transitionDuration=".3s, .3s, .3s, .06s",an.current&&gn-an.current<100&&(fr.transitionDuration="0s, 0s")}}),Tn&&(an.current=Date.now())}),zt.current},fe=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],pe=function(zt){var an=(0,he.Z)((0,he.Z)({},se),zt),gn=an.className,Tn=an.percent,Gn=an.prefixCls,fr=an.strokeColor,Tr=an.strokeLinecap,Wr=an.strokeWidth,ti=an.style,Dr=an.trailColor,ri=an.trailWidth,Mi=an.transition,$r=(0,re.Z)(an,fe);delete $r.gapPosition;var Xi=Array.isArray(Tn)?Tn:[Tn],Ii=Array.isArray(fr)?fr:[fr],nn=ce(),Jn=Wr/2,hr=100-Wr/2,Kn="M ".concat(Tr==="round"?Jn:0,",").concat(Jn,`
L `).concat(Tr==="round"?hr:100,",").concat(Jn),Hr="0 0 100 ".concat(Wr),Pr=0;return Oe.createElement("svg",(0,oe.Z)({className:te()("".concat(Gn,"-line"),gn),viewBox:Hr,preserveAspectRatio:"none",style:ti},$r),Oe.createElement("path",{className:"".concat(Gn,"-line-trail"),d:Kn,strokeLinecap:Tr,stroke:Dr,strokeWidth:ri||Wr,fillOpacity:"0"}),Xi.map(function(Or,Mr){var Ut=1;switch(Tr){case"round":Ut=1-Wr/100;break;case"square":Ut=1-Wr/2/100;break;default:Ut=1;break}var $t={strokeDasharray:"".concat(Or*Ut,"px, 100px"),strokeDashoffset:"-".concat(Pr,"px"),transition:Mi||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},qt=Ii[Mr]||Ii[Ii.length-1];return Pr+=Or,Oe.createElement("path",{key:Mr,className:"".concat(Gn,"-line-path"),d:Kn,strokeLinecap:Tr,stroke:qt,strokeWidth:Wr,fillOpacity:"0",ref:function(jt){nn[Mr]=jt},style:$t})}))},le=pe,Se=ve(71002),xe=ve(97685),ge=ve(98924),Me=0,ye=(0,ge.Z)();function be(){var Pt;return ye?(Pt=Me,Me+=1):Pt="TEST_OR_SSR",Pt}var Fe=function(Pt){var zt=Oe.useState(),an=(0,xe.Z)(zt,2),gn=an[0],Tn=an[1];return Oe.useEffect(function(){Tn("rc_progress_".concat(be()))},[]),Pt||gn},ke=function(zt){var an=zt.bg,gn=zt.children;return Oe.createElement("div",{style:{width:"100%",height:"100%",background:an}},gn)};function Ie(Pt,zt){return Object.keys(Pt).map(function(an){var gn=parseFloat(an),Tn="".concat(Math.floor(gn*zt),"%");return"".concat(Pt[an]," ").concat(Tn)})}var Le=Oe.forwardRef(function(Pt,zt){var an=Pt.prefixCls,gn=Pt.color,Tn=Pt.gradientId,Gn=Pt.radius,fr=Pt.style,Tr=Pt.ptg,Wr=Pt.strokeLinecap,ti=Pt.strokeWidth,Dr=Pt.size,ri=Pt.gapDegree,Mi=gn&&(0,Se.Z)(gn)==="object",$r=Mi?"#FFF":void 0,Xi=Dr/2,Ii=Oe.createElement("circle",{className:"".concat(an,"-circle-path"),r:Gn,cx:Xi,cy:Xi,stroke:$r,strokeLinecap:Wr,strokeWidth:ti,opacity:Tr===0?0:1,style:fr,ref:zt});if(!Mi)return Ii;var nn="".concat(Tn,"-conic"),Jn=ri?"".concat(180+ri/2,"deg"):"0deg",hr=Ie(gn,(360-ri)/360),Kn=Ie(gn,1),Hr="conic-gradient(from ".concat(Jn,", ").concat(hr.join(", "),")"),Pr="linear-gradient(to ".concat(ri?"bottom":"top",", ").concat(Kn.join(", "),")");return Oe.createElement(Oe.Fragment,null,Oe.createElement("mask",{id:nn},Ii),Oe.createElement("foreignObject",{x:0,y:0,width:Dr,height:Dr,mask:"url(#".concat(nn,")")},Oe.createElement(ke,{bg:Pr},Oe.createElement(ke,{bg:Hr}))))}),De=Le,Be=100,Ue=function(zt,an,gn,Tn,Gn,fr,Tr,Wr,ti,Dr){var ri=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Mi=gn/100*360*((360-fr)/360),$r=fr===0?0:{bottom:0,top:180,left:90,right:-90}[Tr],Xi=(100-Tn)/100*an;ti==="round"&&Tn!==100&&(Xi+=Dr/2,Xi>=an&&(Xi=an-.01));var Ii=Be/2;return{stroke:typeof Wr=="string"?Wr:void 0,strokeDasharray:"".concat(an,"px ").concat(zt),strokeDashoffset:Xi+ri,transform:"rotate(".concat(Gn+Mi+$r,"deg)"),transformOrigin:"".concat(Ii,"px ").concat(Ii,"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}},_e=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function We(Pt){var zt=Pt!=null?Pt:[];return Array.isArray(zt)?zt:[zt]}var Ze=function(zt){var an=(0,he.Z)((0,he.Z)({},se),zt),gn=an.id,Tn=an.prefixCls,Gn=an.steps,fr=an.strokeWidth,Tr=an.trailWidth,Wr=an.gapDegree,ti=Wr===void 0?0:Wr,Dr=an.gapPosition,ri=an.trailColor,Mi=an.strokeLinecap,$r=an.style,Xi=an.className,Ii=an.strokeColor,nn=an.percent,Jn=(0,re.Z)(an,_e),hr=Be/2,Kn=Fe(gn),Hr="".concat(Kn,"-gradient"),Pr=hr-fr/2,Or=Math.PI*2*Pr,Mr=ti>0?90+ti/2:-90,Ut=Or*((360-ti)/360),$t=(0,Se.Z)(Gn)==="object"?Gn:{count:Gn,space:2},qt=$t.count,Nn=$t.space,jt=We(nn),on=We(Ii),kn=on.find(function(Ir){return Ir&&(0,Se.Z)(Ir)==="object"}),pn=kn&&(0,Se.Z)(kn)==="object",Bn=pn?"butt":Mi,Rn=Ue(Or,Ut,0,100,Mr,ti,Dr,ri,Bn,fr),pr=ce(),ii=function(){var Ur=0;return jt.map(function(Zr,ln){var Jt=on[ln]||on[on.length-1],cn=Ue(Or,Ut,Ur,Zr,Mr,ti,Dr,Jt,Bn,fr);return Ur+=Zr,Oe.createElement(De,{key:ln,color:Jt,ptg:Zr,radius:Pr,prefixCls:Tn,gradientId:Hr,style:cn,strokeLinecap:Bn,strokeWidth:fr,gapDegree:ti,ref:function(Ar){pr[ln]=Ar},size:Be})}).reverse()},Lr=function(){var Ur=Math.round(qt*(jt[0]/100)),Zr=100/qt,ln=0;return new Array(qt).fill(null).map(function(Jt,cn){var er=cn<=Ur-1?on[0]:ri,Ar=er&&(0,Se.Z)(er)==="object"?"url(#".concat(Hr,")"):void 0,Fn=Ue(Or,Ut,ln,Zr,Mr,ti,Dr,er,"butt",fr,Nn);return ln+=(Ut-Fn.strokeDashoffset+Nn)*100/Ut,Oe.createElement("circle",{key:cn,className:"".concat(Tn,"-circle-path"),r:Pr,cx:hr,cy:hr,stroke:Ar,strokeWidth:fr,opacity:1,style:Fn,ref:function(ir){pr[cn]=ir}})})};return Oe.createElement("svg",(0,oe.Z)({className:te()("".concat(Tn,"-circle"),Xi),viewBox:"0 0 ".concat(Be," ").concat(Be),style:$r,id:gn,role:"presentation"},Jn),!qt&&Oe.createElement("circle",{className:"".concat(Tn,"-circle-trail"),r:Pr,cx:hr,cy:hr,stroke:ri,strokeLinecap:Bn,strokeWidth:Tr||fr,style:Rn}),qt?Lr():ii())},et=Ze,at={Line:le,Circle:et},pt=ve(83062),Xe=ve(47448);function Ge(Pt){return!Pt||Pt<0?0:Pt>100?100:Pt}function lt(Pt){let{success:zt,successPercent:an}=Pt,gn=an;return zt&&"progress"in zt&&(gn=zt.progress),zt&&"percent"in zt&&(gn=zt.percent),gn}const dt=Pt=>{let{percent:zt,success:an,successPercent:gn}=Pt;const Tn=Ge(lt({success:an,successPercent:gn}));return[Tn,Ge(Ge(zt)-Tn)]},st=Pt=>{let{success:zt={},strokeColor:an}=Pt;const{strokeColor:gn}=zt;return[gn||Xe.presetPrimaryColors.green,an||null]},nt=(Pt,zt,an)=>{var gn,Tn,Gn,fr;let Tr=-1,Wr=-1;if(zt==="step"){const ti=an.steps,Dr=an.strokeWidth;typeof Pt=="string"||typeof Pt=="undefined"?(Tr=Pt==="small"?2:14,Wr=Dr!=null?Dr:8):typeof Pt=="number"?[Tr,Wr]=[Pt,Pt]:[Tr=14,Wr=8]=Pt,Tr*=ti}else if(zt==="line"){const ti=an==null?void 0:an.strokeWidth;typeof Pt=="string"||typeof Pt=="undefined"?Wr=ti||(Pt==="small"?6:8):typeof Pt=="number"?[Tr,Wr]=[Pt,Pt]:[Tr=-1,Wr=8]=Pt}else(zt==="circle"||zt==="dashboard")&&(typeof Pt=="string"||typeof Pt=="undefined"?[Tr,Wr]=Pt==="small"?[60,60]:[120,120]:typeof Pt=="number"?[Tr,Wr]=[Pt,Pt]:(Tr=(Tn=(gn=Pt[0])!==null&&gn!==void 0?gn:Pt[1])!==null&&Tn!==void 0?Tn:120,Wr=(fr=(Gn=Pt[0])!==null&&Gn!==void 0?Gn:Pt[1])!==null&&fr!==void 0?fr:120));return[Tr,Wr]},rt=3,it=Pt=>rt/Pt*100;var vt=Pt=>{const{prefixCls:zt,trailColor:an=null,strokeLinecap:gn="round",gapPosition:Tn,gapDegree:Gn,width:fr=120,type:Tr,children:Wr,success:ti,size:Dr=fr}=Pt,[ri,Mi]=nt(Dr,"circle");let{strokeWidth:$r}=Pt;$r===void 0&&($r=Math.max(it(ri),6));const Xi={width:ri,height:Mi,fontSize:ri*.15+6},Ii=Oe.useMemo(()=>{if(Gn||Gn===0)return Gn;if(Tr==="dashboard")return 75},[Gn,Tr]),nn=Tn||Tr==="dashboard"&&"bottom"||void 0,Jn=Object.prototype.toString.call(Pt.strokeColor)==="[object Object]",hr=st({success:ti,strokeColor:Pt.strokeColor}),Kn=te()(`${zt}-inner`,{[`${zt}-circle-gradient`]:Jn}),Hr=Oe.createElement(et,{percent:dt(Pt),strokeWidth:$r,trailWidth:$r,strokeColor:hr,strokeLinecap:gn,trailColor:an,prefixCls:zt,gapDegree:Ii,gapPosition:nn});return Oe.createElement("div",{className:Kn,style:Xi},ri<=20?Oe.createElement(pt.Z,{title:Wr},Oe.createElement("span",null,Hr)):Oe.createElement(Oe.Fragment,null,Hr,Wr))},At=function(Pt,zt){var an={};for(var gn in Pt)Object.prototype.hasOwnProperty.call(Pt,gn)&&zt.indexOf(gn)<0&&(an[gn]=Pt[gn]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tn=0,gn=Object.getOwnPropertySymbols(Pt);Tn<gn.length;Tn++)zt.indexOf(gn[Tn])<0&&Object.prototype.propertyIsEnumerable.call(Pt,gn[Tn])&&(an[gn[Tn]]=Pt[gn[Tn]]);return an};const Et=Pt=>{let zt=[];return Object.keys(Pt).forEach(an=>{const gn=parseFloat(an.replace(/%/g,""));isNaN(gn)||zt.push({key:gn,value:Pt[an]})}),zt=zt.sort((an,gn)=>an.key-gn.key),zt.map(an=>{let{key:gn,value:Tn}=an;return`${Tn} ${gn}%`}).join(", ")},ut=(Pt,zt)=>{const{from:an=Xe.presetPrimaryColors.blue,to:gn=Xe.presetPrimaryColors.blue,direction:Tn=zt==="rtl"?"to left":"to right"}=Pt,Gn=At(Pt,["from","to","direction"]);if(Object.keys(Gn).length!==0){const fr=Et(Gn);return{backgroundImage:`linear-gradient(${Tn}, ${fr})`}}return{backgroundImage:`linear-gradient(${Tn}, ${an}, ${gn})`}};var Ve=Pt=>{const{prefixCls:zt,direction:an,percent:gn,size:Tn,strokeWidth:Gn,strokeColor:fr,strokeLinecap:Tr="round",children:Wr,trailColor:ti=null,success:Dr}=Pt,ri=fr&&typeof fr!="string"?ut(fr,an):{backgroundColor:fr},Mi=Tr==="square"||Tr==="butt"?0:void 0,$r={backgroundColor:ti||void 0,borderRadius:Mi},Xi=Tn!=null?Tn:[-1,Gn||(Tn==="small"?6:8)],[Ii,nn]=nt(Xi,"line",{strokeWidth:Gn}),Jn=Object.assign({width:`${Ge(gn)}%`,height:nn,borderRadius:Mi},ri),hr=lt(Pt),Kn={width:`${Ge(hr)}%`,height:nn,borderRadius:Mi,backgroundColor:Dr==null?void 0:Dr.strokeColor},Hr={width:Ii<0?"100%":Ii,height:nn};return Oe.createElement(Oe.Fragment,null,Oe.createElement("div",{className:`${zt}-outer`,style:Hr},Oe.createElement("div",{className:`${zt}-inner`,style:$r},Oe.createElement("div",{className:`${zt}-bg`,style:Jn}),hr!==void 0?Oe.createElement("div",{className:`${zt}-success-bg`,style:Kn}):null)),Wr)},Ce=Pt=>{const{size:zt,steps:an,percent:gn=0,strokeWidth:Tn=8,strokeColor:Gn,trailColor:fr=null,prefixCls:Tr,children:Wr}=Pt,ti=Math.round(an*(gn/100)),Dr=zt==="small"?2:14,ri=zt!=null?zt:[Dr,Tn],[Mi,$r]=nt(ri,"step",{steps:an,strokeWidth:Tn}),Xi=Mi/an,Ii=new Array(an);for(let nn=0;nn<an;nn++){const Jn=Array.isArray(Gn)?Gn[nn]:Gn;Ii[nn]=Oe.createElement("div",{key:nn,className:te()(`${Tr}-steps-item`,{[`${Tr}-steps-item-active`]:nn<=ti-1}),style:{backgroundColor:nn<=ti-1?Jn:fr,width:Xi,height:$r}})}return Oe.createElement("div",{className:`${Tr}-steps-outer`},Ii,Wr)},He=ve(45930),je=ve(14747),Ae=ve(67968),Re=ve(45503);const ze=Pt=>{const zt=Pt?"100%":"-100%";return new He.Keyframes(`antProgress${Pt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${zt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${zt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Qe=Pt=>{const{componentCls:zt,iconCls:an}=Pt;return{[zt]:Object.assign(Object.assign({},(0,je.Wf)(Pt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Pt.fontSize,marginInlineEnd:Pt.marginXS,marginBottom:Pt.marginXS},[`${zt}-outer`]:{display:"inline-block",width:"100%"},[`&${zt}-show-info`]:{[`${zt}-outer`]:{marginInlineEnd:`calc(-2em - ${Pt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Pt.paddingXS}px)`}},[`${zt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Pt.remainingColor,borderRadius:Pt.lineBorderRadius},[`${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:Pt.defaultColor}},[`${zt}-success-bg, ${zt}-bg`]:{position:"relative",backgroundColor:Pt.defaultColor,borderRadius:Pt.lineBorderRadius,transition:`all ${Pt.motionDurationSlow} ${Pt.motionEaseInOutCirc}`},[`${zt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Pt.colorSuccess},[`${zt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Pt.marginXS,color:Pt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[an]:{fontSize:Pt.fontSize}},[`&${zt}-status-active`]:{[`${zt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Pt.colorBgContainer,borderRadius:Pt.lineBorderRadius,opacity:0,animationName:ze(),animationDuration:Pt.progressActiveMotionDuration,animationTimingFunction:Pt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${zt}-rtl${zt}-status-active`]:{[`${zt}-bg::before`]:{animationName:ze(!0)}},[`&${zt}-status-exception`]:{[`${zt}-bg`]:{backgroundColor:Pt.colorError},[`${zt}-text`]:{color:Pt.colorError}},[`&${zt}-status-exception ${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:Pt.colorError}},[`&${zt}-status-success`]:{[`${zt}-bg`]:{backgroundColor:Pt.colorSuccess},[`${zt}-text`]:{color:Pt.colorSuccess}},[`&${zt}-status-success ${zt}-inner:not(${zt}-circle-gradient)`]:{[`${zt}-circle-path`]:{stroke:Pt.colorSuccess}}})}},ot=Pt=>{const{componentCls:zt,iconCls:an}=Pt;return{[zt]:{[`${zt}-circle-trail`]:{stroke:Pt.remainingColor},[`&${zt}-circle ${zt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${zt}-circle ${zt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Pt.circleTextColor,fontSize:Pt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[an]:{fontSize:`${Pt.fontSize/Pt.fontSizeSM}em`}},[`${zt}-circle&-status-exception`]:{[`${zt}-text`]:{color:Pt.colorError}},[`${zt}-circle&-status-success`]:{[`${zt}-text`]:{color:Pt.colorSuccess}}},[`${zt}-inline-circle`]:{lineHeight:1,[`${zt}-inner`]:{verticalAlign:"bottom"}}}},mt=Pt=>{const{componentCls:zt}=Pt;return{[zt]:{[`${zt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Pt.progressStepMinWidth,marginInlineEnd:Pt.progressStepMarginInlineEnd,backgroundColor:Pt.remainingColor,transition:`all ${Pt.motionDurationSlow}`,"&-active":{backgroundColor:Pt.defaultColor}}}}}},Ot=Pt=>{const{componentCls:zt,iconCls:an}=Pt;return{[zt]:{[`${zt}-small&-line, ${zt}-small&-line ${zt}-text ${an}`]:{fontSize:Pt.fontSizeSM}}}};var xt=(0,Ae.Z)("Progress",Pt=>{const zt=Pt.marginXXS/2,an=(0,Re.TS)(Pt,{progressStepMarginInlineEnd:zt,progressStepMinWidth:zt,progressActiveMotionDuration:"2.4s"});return[Qe(an),ot(an),mt(an),Ot(an)]},Pt=>({circleTextColor:Pt.colorText,defaultColor:Pt.colorInfo,remainingColor:Pt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Wt=function(Pt,zt){var an={};for(var gn in Pt)Object.prototype.hasOwnProperty.call(Pt,gn)&&zt.indexOf(gn)<0&&(an[gn]=Pt[gn]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tn=0,gn=Object.getOwnPropertySymbols(Pt);Tn<gn.length;Tn++)zt.indexOf(gn[Tn])<0&&Object.prototype.propertyIsEnumerable.call(Pt,gn[Tn])&&(an[gn[Tn]]=Pt[gn[Tn]]);return an};const bn=null,Ft=["normal","exception","active","success"];var Vt=Oe.forwardRef((Pt,zt)=>{const{prefixCls:an,className:gn,rootClassName:Tn,steps:Gn,strokeColor:fr,percent:Tr=0,size:Wr="default",showInfo:ti=!0,type:Dr="line",status:ri,format:Mi,style:$r}=Pt,Xi=Wt(Pt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Ii=Oe.useMemo(()=>{var jt,on;const kn=lt(Pt);return parseInt(kn!==void 0?(jt=kn!=null?kn:0)===null||jt===void 0?void 0:jt.toString():(on=Tr!=null?Tr:0)===null||on===void 0?void 0:on.toString(),10)},[Tr,Pt.success,Pt.successPercent]),nn=Oe.useMemo(()=>!Ft.includes(ri)&&Ii>=100?"success":ri||"normal",[ri,Ii]),{getPrefixCls:Jn,direction:hr,progress:Kn}=Oe.useContext(ne.E_),Hr=Jn("progress",an),[Pr,Or]=xt(Hr),Mr=Oe.useMemo(()=>{if(!ti)return null;const jt=lt(Pt);let on;const kn=Mi||(Bn=>`${Bn}%`),pn=Dr==="line";return Mi||nn!=="exception"&&nn!=="success"?on=kn(Ge(Tr),Ge(jt)):nn==="exception"?on=pn?Oe.createElement(Te.Z,null):Oe.createElement(me.Z,null):nn==="success"&&(on=pn?Oe.createElement($e.Z,null):Oe.createElement(x.Z,null)),Oe.createElement("span",{className:`${Hr}-text`,title:typeof on=="string"?on:void 0},on)},[ti,Tr,Ii,nn,Dr,Hr,Mi]),Ut=Array.isArray(fr)?fr[0]:fr,$t=typeof fr=="string"||Array.isArray(fr)?fr:void 0;let qt;Dr==="line"?qt=Gn?Oe.createElement(Ce,Object.assign({},Pt,{strokeColor:$t,prefixCls:Hr,steps:Gn}),Mr):Oe.createElement(Ve,Object.assign({},Pt,{strokeColor:Ut,prefixCls:Hr,direction:hr}),Mr):(Dr==="circle"||Dr==="dashboard")&&(qt=Oe.createElement(vt,Object.assign({},Pt,{strokeColor:Ut,prefixCls:Hr,progressStatus:nn}),Mr));const Nn=te()(Hr,`${Hr}-status-${nn}`,`${Hr}-${Dr==="dashboard"&&"circle"||Gn&&"steps"||Dr}`,{[`${Hr}-inline-circle`]:Dr==="circle"&&nt(Wr,"circle")[0]<=20,[`${Hr}-show-info`]:ti,[`${Hr}-${Wr}`]:typeof Wr=="string",[`${Hr}-rtl`]:hr==="rtl"},Kn==null?void 0:Kn.className,gn,Tn,Or);return Pr(Oe.createElement("div",Object.assign({ref:zt,style:Object.assign(Object.assign({},Kn==null?void 0:Kn.style),$r),className:Nn,role:"progressbar","aria-valuenow":Ii},(0,ae.Z)(Xi,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),qt))}),yn=Vt},78045:function(tn,Kt,ve){"use strict";ve.d(Kt,{ZP:function(){return Xe}});var Oe=ve(94184),$e=ve.n(Oe),x=ve(5663),Te=ve(1337),me=ve(67294),ie=ve(53124),te=ve(98675);const ae=me.createContext(null),ne=ae.Provider;var oe=ae;const he=me.createContext(null),re=he.Provider;var se=ve(95860),ce=ve(17799),fe=ve(98866),pe=ve(65223),le=ve(14747),Se=ve(67968),xe=ve(45503);const ge=Ge=>{const{componentCls:lt,antCls:dt}=Ge,st=`${lt}-group`;return{[st]:Object.assign(Object.assign({},(0,le.Wf)(Ge)),{display:"inline-block",fontSize:0,[`&${st}-rtl`]:{direction:"rtl"},[`${dt}-badge ${dt}-badge-count`]:{zIndex:1},[`> ${dt}-badge:not(:first-child) > ${dt}-button-wrapper`]:{borderInlineStart:"none"}})}},Me=Ge=>{const{componentCls:lt,wrapperMarginInlineEnd:dt,colorPrimary:st,radioSize:nt,motionDurationSlow:rt,motionDurationMid:it,motionEaseInOutCirc:gt,colorBgContainer:vt,colorBorder:At,lineWidth:Et,dotSize:ut,colorBgContainerDisabled:Ye,colorTextDisabled:Ve,paddingXS:de,dotColorDisabled:Ce,lineType:He,radioDotDisabledSize:je,wireframe:Ae,colorWhite:Re}=Ge,ze=`${lt}-inner`;return{[`${lt}-wrapper`]:Object.assign(Object.assign({},(0,le.Wf)(Ge)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:dt,cursor:"pointer",[`&${lt}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:Ge.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${lt}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Et}px ${He} ${st}`,borderRadius:"50%",visibility:"hidden",content:'""'},[lt]:Object.assign(Object.assign({},(0,le.Wf)(Ge)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${lt}-wrapper:hover &,
&:hover ${ze}`]:{borderColor:st},[`${lt}-input:focus-visible + ${ze}`]:Object.assign({},(0,le.oN)(Ge)),[`${lt}:hover::after, ${lt}-wrapper:hover &::after`]:{visibility:"visible"},[`${lt}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:nt,height:nt,marginBlockStart:nt/-2,marginInlineStart:nt/-2,backgroundColor:Ae?st:Re,borderBlockStart:0,borderInlineStart:0,borderRadius:nt,transform:"scale(0)",opacity:0,transition:`all ${rt} ${gt}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:nt,height:nt,backgroundColor:vt,borderColor:At,borderStyle:"solid",borderWidth:Et,borderRadius:"50%",transition:`all ${it}`},[`${lt}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${lt}-checked`]:{[ze]:{borderColor:st,backgroundColor:Ae?vt:st,"&::after":{transform:`scale(${ut/nt})`,opacity:1,transition:`all ${rt} ${gt}`}}},[`${lt}-disabled`]:{cursor:"not-allowed",[ze]:{backgroundColor:Ye,borderColor:At,cursor:"not-allowed","&::after":{backgroundColor:Ce}},[`${lt}-input`]:{cursor:"not-allowed"},[`${lt}-disabled + span`]:{color:Ve,cursor:"not-allowed"},[`&${lt}-checked`]:{[ze]:{"&::after":{transform:`scale(${je/nt})`}}}},[`span${lt} + *`]:{paddingInlineStart:de,paddingInlineEnd:de}})}},ye=Ge=>{const{buttonColor:lt,controlHeight:dt,componentCls:st,lineWidth:nt,lineType:rt,colorBorder:it,motionDurationSlow:gt,motionDurationMid:vt,buttonPaddingInline:At,fontSize:Et,buttonBg:ut,fontSizeLG:Ye,controlHeightLG:Ve,controlHeightSM:de,paddingXS:Ce,borderRadius:He,borderRadiusSM:je,borderRadiusLG:Ae,buttonCheckedBg:Re,buttonSolidCheckedColor:ze,colorTextDisabled:Qe,colorBgContainerDisabled:ot,buttonCheckedBgDisabled:mt,buttonCheckedColorDisabled:Ot,colorPrimary:xt,colorPrimaryHover:Wt,colorPrimaryActive:bn,buttonSolidCheckedBg:Ft,buttonSolidCheckedHoverBg:Qt,buttonSolidCheckedActiveBg:Vt}=Ge;return{[`${st}-button-wrapper`]:{position:"relative",display:"inline-block",height:dt,margin:0,paddingInline:At,paddingBlock:0,color:lt,fontSize:Et,lineHeight:`${dt-nt*2}px`,background:ut,border:`${nt}px ${rt} ${it}`,borderBlockStartWidth:nt+.02,borderInlineStartWidth:0,borderInlineEndWidth:nt,cursor:"pointer",transition:[`color ${vt}`,`background ${vt}`,`box-shadow ${vt}`].join(","),a:{color:lt},[`> ${st}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-nt,insetInlineStart:-nt,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:nt,paddingInline:0,backgroundColor:it,transition:`background-color ${gt}`,content:'""'}},"&:first-child":{borderInlineStart:`${nt}px ${rt} ${it}`,borderStartStartRadius:He,borderEndStartRadius:He},"&:last-child":{borderStartEndRadius:He,borderEndEndRadius:He},"&:first-child:last-child":{borderRadius:He},[`${st}-group-large &`]:{height:Ve,fontSize:Ye,lineHeight:`${Ve-nt*2}px`,"&:first-child":{borderStartStartRadius:Ae,borderEndStartRadius:Ae},"&:last-child":{borderStartEndRadius:Ae,borderEndEndRadius:Ae}},[`${st}-group-small &`]:{height:de,paddingInline:Ce-nt,paddingBlock:0,lineHeight:`${de-nt*2}px`,"&:first-child":{borderStartStartRadius:je,borderEndStartRadius:je},"&:last-child":{borderStartEndRadius:je,borderEndEndRadius:je}},"&:hover":{position:"relative",color:xt},"&:has(:focus-visible)":Object.assign({},(0,le.oN)(Ge)),[`${st}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${st}-button-wrapper-disabled)`]:{zIndex:1,color:xt,background:Re,borderColor:xt,"&::before":{backgroundColor:xt},"&:first-child":{borderColor:xt},"&:hover":{color:Wt,borderColor:Wt,"&::before":{backgroundColor:Wt}},"&:active":{color:bn,borderColor:bn,"&::before":{backgroundColor:bn}}},[`${st}-group-solid &-checked:not(${st}-button-wrapper-disabled)`]:{color:ze,background:Ft,borderColor:Ft,"&:hover":{color:ze,background:Qt,borderColor:Qt},"&:active":{color:ze,background:Vt,borderColor:Vt}},"&-disabled":{color:Qe,backgroundColor:ot,borderColor:it,cursor:"not-allowed","&:first-child, &:hover":{color:Qe,backgroundColor:ot,borderColor:it}},[`&-disabled${st}-button-wrapper-checked`]:{color:Ot,backgroundColor:mt,borderColor:it,boxShadow:"none"}}}},be=Ge=>Ge-4*2;var Fe=(0,Se.Z)("Radio",Ge=>{const{controlOutline:lt,controlOutlineWidth:dt,radioSize:st}=Ge,nt=`0 0 0 ${dt}px ${lt}`,rt=nt,it=be(st),gt=(0,xe.TS)(Ge,{radioDotDisabledSize:it,radioFocusShadow:nt,radioButtonFocusShadow:rt});return[ge(gt),Me(gt),ye(gt)]},Ge=>{const{wireframe:lt,padding:dt,marginXS:st,lineWidth:nt,fontSizeLG:rt,colorText:it,colorBgContainer:gt,colorTextDisabled:vt,controlItemBgActiveDisabled:At,colorTextLightSolid:Et,colorPrimary:ut,colorPrimaryHover:Ye,colorPrimaryActive:Ve}=Ge,de=4,Ce=rt,He=lt?be(Ce):Ce-(de+nt)*2;return{radioSize:Ce,dotSize:He,dotColorDisabled:vt,buttonSolidCheckedColor:Et,buttonSolidCheckedBg:ut,buttonSolidCheckedHoverBg:Ye,buttonSolidCheckedActiveBg:Ve,buttonBg:gt,buttonCheckedBg:gt,buttonColor:it,buttonCheckedBgDisabled:At,buttonCheckedColorDisabled:vt,buttonPaddingInline:dt-nt,wrapperMarginInlineEnd:st}}),ke=ve(45353),Ie=ve(92429),Le=function(Ge,lt){var dt={};for(var st in Ge)Object.prototype.hasOwnProperty.call(Ge,st)&&lt.indexOf(st)<0&&(dt[st]=Ge[st]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,st=Object.getOwnPropertySymbols(Ge);nt<st.length;nt++)lt.indexOf(st[nt])<0&&Object.prototype.propertyIsEnumerable.call(Ge,st[nt])&&(dt[st[nt]]=Ge[st[nt]]);return dt};const De=(Ge,lt)=>{var dt,st;const nt=me.useContext(oe),rt=me.useContext(he),{getPrefixCls:it,direction:gt,radio:vt}=me.useContext(ie.E_),At=me.useRef(null),Et=(0,ce.sQ)(lt,At),{isFormItemInput:ut}=me.useContext(pe.aM),Ye=bn=>{var Ft,Qt;(Ft=Ge.onChange)===null||Ft===void 0||Ft.call(Ge,bn),(Qt=nt==null?void 0:nt.onChange)===null||Qt===void 0||Qt.call(nt,bn)},{prefixCls:Ve,className:de,rootClassName:Ce,children:He,style:je}=Ge,Ae=Le(Ge,["prefixCls","className","rootClassName","children","style"]),Re=it("radio",Ve),ze=((nt==null?void 0:nt.optionType)||rt)==="button",Qe=ze?`${Re}-button`:Re,[ot,mt]=Fe(Re),Ot=Object.assign({},Ae),xt=me.useContext(fe.Z);nt&&(Ot.name=nt.name,Ot.onChange=Ye,Ot.checked=Ge.value===nt.value,Ot.disabled=(dt=Ot.disabled)!==null&&dt!==void 0?dt:nt.disabled),Ot.disabled=(st=Ot.disabled)!==null&&st!==void 0?st:xt;const Wt=$e()(`${Qe}-wrapper`,{[`${Qe}-wrapper-checked`]:Ot.checked,[`${Qe}-wrapper-disabled`]:Ot.disabled,[`${Qe}-wrapper-rtl`]:gt==="rtl",[`${Qe}-wrapper-in-form-item`]:ut},vt==null?void 0:vt.className,de,Ce,mt);return ot(me.createElement(ke.Z,{component:"Radio",disabled:Ot.disabled},me.createElement("label",{className:Wt,style:Object.assign(Object.assign({},vt==null?void 0:vt.style),je),onMouseEnter:Ge.onMouseEnter,onMouseLeave:Ge.onMouseLeave},me.createElement(se.Z,Object.assign({},Ot,{className:$e()(Ot.className,!ze&&Ie.A),type:"radio",prefixCls:Qe,ref:Et})),He!==void 0?me.createElement("span",null,He):null)))};var Ue=me.forwardRef(De);const _e=me.forwardRef((Ge,lt)=>{const{getPrefixCls:dt,direction:st}=me.useContext(ie.E_),[nt,rt]=(0,x.Z)(Ge.defaultValue,{value:Ge.value}),it=Ft=>{const Qt=nt,Vt=Ft.target.value;"value"in Ge||rt(Vt);const{onChange:yn}=Ge;yn&&Vt!==Qt&&yn(Ft)},{prefixCls:gt,className:vt,rootClassName:At,options:Et,buttonStyle:ut="outline",disabled:Ye,children:Ve,size:de,style:Ce,id:He,onMouseEnter:je,onMouseLeave:Ae,onFocus:Re,onBlur:ze}=Ge,Qe=dt("radio",gt),ot=`${Qe}-group`,[mt,Ot]=Fe(Qe);let xt=Ve;Et&&Et.length>0&&(xt=Et.map(Ft=>typeof Ft=="string"||typeof Ft=="number"?me.createElement(Ue,{key:Ft.toString(),prefixCls:Qe,disabled:Ye,value:Ft,checked:nt===Ft},Ft):me.createElement(Ue,{key:`radio-group-value-options-${Ft.value}`,prefixCls:Qe,disabled:Ft.disabled||Ye,value:Ft.value,checked:nt===Ft.value,title:Ft.title,style:Ft.style},Ft.label)));const Wt=(0,te.Z)(de),bn=$e()(ot,`${ot}-${ut}`,{[`${ot}-${Wt}`]:Wt,[`${ot}-rtl`]:st==="rtl"},vt,At,Ot);return mt(me.createElement("div",Object.assign({},(0,Te.Z)(Ge,{aria:!0,data:!0}),{className:bn,style:Ce,onMouseEnter:je,onMouseLeave:Ae,onFocus:Re,onBlur:ze,id:He,ref:lt}),me.createElement(ne,{value:{onChange:it,value:nt,disabled:Ge.disabled,name:Ge.name,optionType:Ge.optionType}},xt)))});var We=me.memo(_e),Ze=function(Ge,lt){var dt={};for(var st in Ge)Object.prototype.hasOwnProperty.call(Ge,st)&&lt.indexOf(st)<0&&(dt[st]=Ge[st]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,st=Object.getOwnPropertySymbols(Ge);nt<st.length;nt++)lt.indexOf(st[nt])<0&&Object.prototype.propertyIsEnumerable.call(Ge,st[nt])&&(dt[st[nt]]=Ge[st[nt]]);return dt};const et=(Ge,lt)=>{const{getPrefixCls:dt}=me.useContext(ie.E_),{prefixCls:st}=Ge,nt=Ze(Ge,["prefixCls"]),rt=dt("radio",st);return me.createElement(re,{value:"button"},me.createElement(Ue,Object.assign({prefixCls:rt},nt,{type:"radio",ref:lt})))};var at=me.forwardRef(et);const pt=Ue;pt.Button=at,pt.Group=We,pt.__ANT_RADIO=!0;var Xe=pt},12604:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Xe}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(lt,dt){return $e.createElement(me.Z,(0,Oe.Z)({},lt,{ref:dt,icon:Te}))},te=$e.forwardRef(ie),ae=ve(94184),ne=ve.n(ae),oe=ve(4942),he=ve(97685),re=ve(45987),se=ve(21770),ce=ve(15105),fe=ve(64217);function pe(Ge,lt){var dt=Ge.disabled,st=Ge.prefixCls,nt=Ge.character,rt=Ge.characterRender,it=Ge.index,gt=Ge.count,vt=Ge.value,At=Ge.allowHalf,Et=Ge.focused,ut=Ge.onHover,Ye=Ge.onClick,Ve=function(Qe){ut(Qe,it)},de=function(Qe){Ye(Qe,it)},Ce=function(Qe){Qe.keyCode===ce.Z.ENTER&&Ye(Qe,it)},He=it+1,je=new Set([st]);vt===0&&it===0&&Et?je.add("".concat(st,"-focused")):At&&vt+.5>=He&&vt<He?(je.add("".concat(st,"-half")),je.add("".concat(st,"-active")),Et&&je.add("".concat(st,"-focused"))):(He<=vt?je.add("".concat(st,"-full")):je.add("".concat(st,"-zero")),He===vt&&Et&&je.add("".concat(st,"-focused")));var Ae=typeof nt=="function"?nt(Ge):nt,Re=$e.createElement("li",{className:ne()(Array.from(je)),ref:lt},$e.createElement("div",{onClick:dt?null:de,onKeyDown:dt?null:Ce,onMouseMove:dt?null:Ve,role:"radio","aria-checked":vt>it?"true":"false","aria-posinset":it+1,"aria-setsize":gt,tabIndex:dt?-1:0},$e.createElement("div",{className:"".concat(st,"-first")},Ae),$e.createElement("div",{className:"".concat(st,"-second")},Ae)));return rt&&(Re=rt(Re,Ge)),Re}var le=$e.forwardRef(pe);function Se(){var Ge=$e.useRef({});function lt(st){return Ge.current[st]}function dt(st){return function(nt){Ge.current[st]=nt}}return[lt,dt]}function xe(Ge){var lt=Ge.pageXOffset,dt="scrollLeft";if(typeof lt!="number"){var st=Ge.document;lt=st.documentElement[dt],typeof lt!="number"&&(lt=st.body[dt])}return lt}function ge(Ge){var lt,dt,st=Ge.ownerDocument,nt=st.body,rt=st&&st.documentElement,it=Ge.getBoundingClientRect();return lt=it.left,dt=it.top,lt-=rt.clientLeft||nt.clientLeft||0,dt-=rt.clientTop||nt.clientTop||0,{left:lt,top:dt}}function Me(Ge){var lt=ge(Ge),dt=Ge.ownerDocument,st=dt.defaultView||dt.parentWindow;return lt.left+=xe(st),lt.left}var ye=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function be(Ge,lt){var dt,st=Ge.prefixCls,nt=st===void 0?"rc-rate":st,rt=Ge.className,it=Ge.defaultValue,gt=Ge.value,vt=Ge.count,At=vt===void 0?5:vt,Et=Ge.allowHalf,ut=Et===void 0?!1:Et,Ye=Ge.allowClear,Ve=Ye===void 0?!0:Ye,de=Ge.character,Ce=de===void 0?"\u2605":de,He=Ge.characterRender,je=Ge.disabled,Ae=Ge.direction,Re=Ae===void 0?"ltr":Ae,ze=Ge.tabIndex,Qe=ze===void 0?0:ze,ot=Ge.autoFocus,mt=Ge.onHoverChange,Ot=Ge.onChange,xt=Ge.onFocus,Wt=Ge.onBlur,bn=Ge.onKeyDown,Ft=Ge.onMouseLeave,Qt=(0,re.Z)(Ge,ye),Vt=Se(),yn=(0,he.Z)(Vt,2),Pt=yn[0],zt=yn[1],an=$e.useRef(null),gn=function(){if(!je){var pn;(pn=an.current)===null||pn===void 0||pn.focus()}};$e.useImperativeHandle(lt,function(){return{focus:gn,blur:function(){if(!je){var pn;(pn=an.current)===null||pn===void 0||pn.blur()}}}});var Tn=(0,se.Z)(it||0,{value:gt}),Gn=(0,he.Z)(Tn,2),fr=Gn[0],Tr=Gn[1],Wr=(0,se.Z)(null),ti=(0,he.Z)(Wr,2),Dr=ti[0],ri=ti[1],Mi=function(pn,Bn){var Rn=Re==="rtl",pr=pn+1;if(ut){var ii=Pt(pn),Lr=Me(ii),Ir=ii.clientWidth;(Rn&&Bn-Lr>Ir/2||!Rn&&Bn-Lr<Ir/2)&&(pr-=.5)}return pr},$r=function(pn){Tr(pn),Ot==null||Ot(pn)},Xi=$e.useState(!1),Ii=(0,he.Z)(Xi,2),nn=Ii[0],Jn=Ii[1],hr=function(){Jn(!0),xt==null||xt()},Kn=function(){Jn(!1),Wt==null||Wt()},Hr=$e.useState(null),Pr=(0,he.Z)(Hr,2),Or=Pr[0],Mr=Pr[1],Ut=function(pn,Bn){var Rn=Mi(Bn,pn.pageX);Rn!==Dr&&(Mr(Rn),ri(null)),mt==null||mt(Rn)},$t=function(pn){je||(Mr(null),ri(null),mt==null||mt(void 0)),pn&&(Ft==null||Ft(pn))},qt=function(pn,Bn){var Rn=Mi(Bn,pn.pageX),pr=!1;Ve&&(pr=Rn===fr),$t(),$r(pr?0:Rn),ri(pr?Rn:null)},Nn=function(pn){var Bn=pn.keyCode,Rn=Re==="rtl",pr=fr;Bn===ce.Z.RIGHT&&pr<At&&!Rn?(ut?pr+=.5:pr+=1,$r(pr),pn.preventDefault()):Bn===ce.Z.LEFT&&pr>0&&!Rn||Bn===ce.Z.RIGHT&&pr>0&&Rn?(ut?pr-=.5:pr-=1,$r(pr),pn.preventDefault()):Bn===ce.Z.LEFT&&pr<At&&Rn&&(ut?pr+=.5:pr+=1,$r(pr),pn.preventDefault()),bn==null||bn(pn)};$e.useEffect(function(){ot&&!je&&gn()},[]);var jt=new Array(At).fill(0).map(function(kn,pn){return $e.createElement(le,{ref:zt(pn),index:pn,count:At,disabled:je,prefixCls:"".concat(nt,"-star"),allowHalf:ut,value:Or===null?fr:Or,onClick:qt,onHover:Ut,key:kn||pn,character:Ce,characterRender:He,focused:nn})}),on=ne()(nt,rt,(dt={},(0,oe.Z)(dt,"".concat(nt,"-disabled"),je),(0,oe.Z)(dt,"".concat(nt,"-rtl"),Re==="rtl"),dt));return $e.createElement("ul",(0,Oe.Z)({className:on,onMouseLeave:$t,tabIndex:je?-1:Qe,onFocus:je?null:hr,onBlur:je?null:Kn,onKeyDown:je?null:Nn,ref:an,role:"radiogroup"},(0,fe.Z)(Qt,{aria:!0,data:!0,attr:!0})),jt)}var Fe=$e.forwardRef(be),ke=Fe,Ie=ve(53124),Le=ve(83062),De=ve(14747),Be=ve(67968),Ue=ve(45503);const _e=Ge=>{const{componentCls:lt}=Ge;return{[`${lt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ge.marginXS},"> div":{transition:`all ${Ge.motionDurationMid}, outline 0s`,"&:hover":{transform:Ge.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Ge.lineWidth}px dashed ${Ge.starColor}`,transform:Ge.starHoverScale}},"&-first, &-second":{color:Ge.starBg,transition:`all ${Ge.motionDurationMid}`,userSelect:"none",[Ge.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${lt}-star-first, &-half ${lt}-star-second`]:{opacity:1},[`&-half ${lt}-star-first, &-full ${lt}-star-second`]:{color:"inherit"}}}},We=Ge=>({[`&-rtl${Ge.componentCls}`]:{direction:"rtl"}}),Ze=Ge=>{const{componentCls:lt}=Ge;return{[lt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,De.Wf)(Ge)),{display:"inline-block",margin:0,padding:0,color:Ge.starColor,fontSize:Ge.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${lt} ${lt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),_e(Ge)),{[`+ ${lt}-text`]:{display:"inline-block",marginInlineStart:Ge.marginXS,fontSize:Ge.fontSize}}),We(Ge))}};var et=(0,Be.Z)("Rate",Ge=>{const lt=(0,Ue.TS)(Ge,{});return[Ze(lt)]},Ge=>({starColor:Ge.yellow6,starSize:Ge.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ge.colorFillContent})),at=function(Ge,lt){var dt={};for(var st in Ge)Object.prototype.hasOwnProperty.call(Ge,st)&&lt.indexOf(st)<0&&(dt[st]=Ge[st]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,st=Object.getOwnPropertySymbols(Ge);nt<st.length;nt++)lt.indexOf(st[nt])<0&&Object.prototype.propertyIsEnumerable.call(Ge,st[nt])&&(dt[st[nt]]=Ge[st[nt]]);return dt},Xe=$e.forwardRef((Ge,lt)=>{const{prefixCls:dt,className:st,rootClassName:nt,style:rt,tooltips:it,character:gt=$e.createElement(te,null)}=Ge,vt=at(Ge,["prefixCls","className","rootClassName","style","tooltips","character"]),At=(je,Ae)=>{let{index:Re}=Ae;return it?$e.createElement(Le.Z,{title:it[Re]},je):je},{getPrefixCls:Et,direction:ut,rate:Ye}=$e.useContext(Ie.E_),Ve=Et("rate",dt),[de,Ce]=et(Ve),He=Object.assign(Object.assign({},Ye==null?void 0:Ye.style),rt);return de($e.createElement(ke,Object.assign({ref:lt,character:gt,characterRender:At},vt,{className:ne()(st,nt,Ce,Ye==null?void 0:Ye.className),style:He,prefixCls:Ve,direction:ut})))})},11713:function(tn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return Sr}});var Oe=ve(94184),$e=ve.n(Oe),x=ve(87462),Te=ve(74902),me=ve(4942),ie=ve(1413),te=ve(97685),ae=ve(45987),ne=ve(71002),oe=ve(67294);function he(kt){var It=oe.useRef();It.current=kt;var en=oe.useCallback(function(){for(var Xt,wn=arguments.length,zn=new Array(wn),_n=0;_n<wn;_n++)zn[_n]=arguments[_n];return(Xt=It.current)===null||Xt===void 0?void 0:Xt.call.apply(Xt,[It].concat(zn))},[]);return en}function re(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var se=re()?oe.useLayoutEffect:oe.useEffect,ce=se,fe=function(It,en){var Xt=oe.useRef(!0);se(function(){if(!Xt.current)return It()},en),se(function(){return Xt.current=!1,function(){Xt.current=!0}},[])};function pe(kt){var It=oe.useRef(!1),en=oe.useState(kt),Xt=(0,te.Z)(en,2),wn=Xt[0],zn=Xt[1];oe.useEffect(function(){return It.current=!1,function(){It.current=!0}},[]);function _n(dr,Zt){Zt&&It.current||zn(dr)}return[wn,_n]}function le(kt){return kt!==void 0}function Se(kt,It){var en=It||{},Xt=en.defaultValue,wn=en.value,zn=en.onChange,_n=en.postState,dr=pe(function(){return le(wn)?wn:le(Xt)?typeof Xt=="function"?Xt():Xt:typeof kt=="function"?kt():kt}),Zt=(0,te.Z)(dr,2),Ht=Zt[0],Yt=Zt[1],Cn=wn!==void 0?wn:Ht,sr=_n?_n(Cn):Cn,Wn=he(zn),Dn=pe([Cn]),kr=(0,te.Z)(Dn,2),Er=kr[0],Rr=kr[1];fe(function(){var tr=Er[0];Ht!==tr&&Wn(Ht,tr)},[Er]),fe(function(){le(wn)||Yt(wn)},[wn]);var br=he(function(tr,Nr){Yt(tr,Nr),Rr([Cn],Nr)});return[sr,br]}var xe={};function ge(kt,It){}function Me(kt,It){}function ye(){xe={}}function be(kt,It,en){!It&&!xe[en]&&(kt(!1,en),xe[en]=!0)}function Fe(kt,It){be(ge,kt,It)}function ke(kt,It){be(Me,kt,It)}var Ie=Fe,Le=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var kt=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(kt)||/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(kt==null?void 0:kt.substr(0,4))},De={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(It){var en=It.keyCode;if(It.altKey&&!It.ctrlKey||It.metaKey||en>=De.F1&&en<=De.F12)return!1;switch(en){case De.ALT:case De.CAPS_LOCK:case De.CONTEXT_MENU:case De.CTRL:case De.DOWN:case De.END:case De.ESC:case De.HOME:case De.INSERT:case De.LEFT:case De.MAC_FF_META:case De.META:case De.NUMLOCK:case De.NUM_CENTER:case De.PAGE_DOWN:case De.PAGE_UP:case De.PAUSE:case De.PRINT_SCREEN:case De.RIGHT:case De.SHIFT:case De.UP:case De.WIN_KEY:case De.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(It){if(It>=De.ZERO&&It<=De.NINE||It>=De.NUM_ZERO&&It<=De.NUM_MULTIPLY||It>=De.A&&It<=De.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&It===0)return!0;switch(It){case De.SPACE:case De.QUESTION_MARK:case De.NUM_PLUS:case De.NUM_MINUS:case De.NUM_PERIOD:case De.NUM_DIVISION:case De.SEMICOLON:case De.DASH:case De.EQUALS:case De.COMMA:case De.PERIOD:case De.SLASH:case De.APOSTROPHE:case De.SINGLE_QUOTE:case De.OPEN_SQUARE_BRACKET:case De.BACKSLASH:case De.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Be=De,Ue=ve(47655);function _e(kt,It,en){var Xt=oe.useRef({});return(!("value"in Xt.current)||en(Xt.current.condition,It))&&(Xt.current.value=kt(),Xt.current.condition=It),Xt.current.value}function We(kt,It){typeof kt=="function"?kt(It):(0,ne.Z)(kt)==="object"&&kt&&"current"in kt&&(kt.current=It)}function Ze(){for(var kt=arguments.length,It=new Array(kt),en=0;en<kt;en++)It[en]=arguments[en];var Xt=It.filter(function(wn){return wn});return Xt.length<=1?Xt[0]:function(wn){It.forEach(function(zn){We(zn,wn)})}}function et(){for(var kt=arguments.length,It=new Array(kt),en=0;en<kt;en++)It[en]=arguments[en];return _e(function(){return Ze.apply(void 0,It)},It,function(Xt,wn){return Xt.length===wn.length&&Xt.every(function(zn,_n){return zn===wn[_n]})})}function at(kt){var It,en,Xt=isMemo(kt)?kt.type.type:kt.type;return!(typeof Xt=="function"&&!((It=Xt.prototype)!==null&&It!==void 0&&It.render)||typeof kt=="function"&&!((en=kt.prototype)!==null&&en!==void 0&&en.render))}var pt=function(It){var en=It.className,Xt=It.customizeIcon,wn=It.customizeIconProps,zn=It.onMouseDown,_n=It.onClick,dr=It.children,Zt;return typeof Xt=="function"?Zt=Xt(wn):Zt=Xt,oe.createElement("span",{className:en,onMouseDown:function(Yt){Yt.preventDefault(),zn&&zn(Yt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:_n,"aria-hidden":!0},Zt!==void 0?Zt:oe.createElement("span",{className:$e()(en.split(/\s+/).map(function(Ht){return"".concat(Ht,"-icon")}))},dr))},Xe=pt;function Ge(kt,It,en,Xt,wn){var zn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,_n=arguments.length>6?arguments[6]:void 0,dr=arguments.length>7?arguments[7]:void 0,Zt=oe.useMemo(function(){if((0,ne.Z)(Xt)==="object")return Xt.clearIcon;if(wn)return wn},[Xt,wn]),Ht=oe.useMemo(function(){return!!(!zn&&Xt&&(en.length||_n)&&!(dr==="combobox"&&_n===""))},[Xt,zn,en.length,_n,dr]);return{allowClear:Ht,clearIcon:oe.createElement(Xe,{className:"".concat(kt,"-clear"),onMouseDown:It,customizeIcon:Zt},"\xD7")}}var lt=oe.createContext(null);function dt(){return oe.useContext(lt)}function st(){var kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,It=oe.useState(!1),en=(0,te.Z)(It,2),Xt=en[0],wn=en[1],zn=oe.useRef(null),_n=function(){window.clearTimeout(zn.current)};oe.useEffect(function(){return _n},[]);var dr=function(Ht,Yt){_n(),zn.current=window.setTimeout(function(){wn(Ht),Yt&&Yt()},kt)};return[Xt,dr,_n]}function nt(){var kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,It=oe.useRef(null),en=oe.useRef(null);oe.useEffect(function(){return function(){window.clearTimeout(en.current)}},[]);function Xt(wn){(wn||It.current===null)&&(It.current=wn),window.clearTimeout(en.current),en.current=window.setTimeout(function(){It.current=null},kt)}return[function(){return It.current},Xt]}function rt(kt,It,en,Xt){var wn=oe.useRef(null);wn.current={open:It,triggerOpen:en,customizedTrigger:Xt},oe.useEffect(function(){function zn(_n){var dr;if(!((dr=wn.current)!==null&&dr!==void 0&&dr.customizedTrigger)){var Zt=_n.target;Zt.shadowRoot&&_n.composed&&(Zt=_n.composedPath()[0]||Zt),wn.current.open&&kt().filter(function(Ht){return Ht}).every(function(Ht){return!Ht.contains(Zt)&&Ht!==Zt})&&wn.current.triggerOpen(!1)}}return window.addEventListener("mousedown",zn),function(){return window.removeEventListener("mousedown",zn)}},[])}var it=`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`,gt=`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`,vt="".concat(it," ").concat(gt).split(/[\s\n]+/),At="aria-",Et="data-";function ut(kt,It){return kt.indexOf(It)===0}function Ye(kt){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,en;It===!1?en={aria:!0,data:!0,attr:!0}:It===!0?en={aria:!0}:en=(0,ie.Z)({},It);var Xt={};return Object.keys(kt).forEach(function(wn){(en.aria&&(wn==="role"||ut(wn,At))||en.data&&ut(wn,Et)||en.attr&&vt.includes(wn))&&(Xt[wn]=kt[wn])}),Xt}var Ve=ve(48555),de=ve(14075),Ce=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],He=void 0;function je(kt,It){var en=kt.prefixCls,Xt=kt.invalidate,wn=kt.item,zn=kt.renderItem,_n=kt.responsive,dr=kt.responsiveDisabled,Zt=kt.registerSize,Ht=kt.itemKey,Yt=kt.className,Cn=kt.style,sr=kt.children,Wn=kt.display,Dn=kt.order,kr=kt.component,Er=kr===void 0?"div":kr,Rr=(0,ae.Z)(kt,Ce),br=_n&&!Wn;function tr(jr){Zt(Ht,jr)}oe.useEffect(function(){return function(){tr(null)}},[]);var Nr=zn&&wn!==He?zn(wn):sr,Qr;Xt||(Qr={opacity:br?0:1,height:br?0:He,overflowY:br?"hidden":He,order:_n?Dn:He,pointerEvents:br?"none":He,position:br?"absolute":He});var _r={};br&&(_r["aria-hidden"]=!0);var Fr=oe.createElement(Er,(0,x.Z)({className:$e()(!Xt&&en,Yt),style:(0,ie.Z)((0,ie.Z)({},Qr),Cn)},_r,Rr,{ref:It}),Nr);return _n&&(Fr=oe.createElement(Ve.Z,{onResize:function(Pi){var di=Pi.offsetWidth;tr(di)},disabled:dr},Fr)),Fr}var Ae=oe.forwardRef(je);Ae.displayName="Item";var Re=Ae,ze=ve(77527),Qe=ve(73935),ot=ve(96523);function mt(kt){if(typeof MessageChannel=="undefined")(0,ot.Z)(kt);else{var It=new MessageChannel;It.port1.onmessage=function(){return kt()},It.port2.postMessage(void 0)}}function Ot(){var kt=oe.useRef(null),It=function(Xt){kt.current||(kt.current=[],mt(function(){(0,Qe.unstable_batchedUpdates)(function(){kt.current.forEach(function(wn){wn()}),kt.current=null})})),kt.current.push(Xt)};return It}function xt(kt,It){var en=oe.useState(It),Xt=(0,te.Z)(en,2),wn=Xt[0],zn=Xt[1],_n=(0,ze.Z)(function(dr){kt(function(){zn(dr)})});return[wn,_n]}var Wt=oe.createContext(null),bn=["component"],Ft=["className"],Qt=["className"],Vt=function(It,en){var Xt=oe.useContext(Wt);if(!Xt){var wn=It.component,zn=wn===void 0?"div":wn,_n=(0,ae.Z)(It,bn);return oe.createElement(zn,(0,x.Z)({},_n,{ref:en}))}var dr=Xt.className,Zt=(0,ae.Z)(Xt,Ft),Ht=It.className,Yt=(0,ae.Z)(It,Qt);return oe.createElement(Wt.Provider,{value:null},oe.createElement(Re,(0,x.Z)({ref:en,className:$e()(dr,Ht)},Zt,Yt)))},yn=oe.forwardRef(Vt);yn.displayName="RawItem";var Pt=yn,zt=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],an="responsive",gn="invalidate";function Tn(kt){return"+ ".concat(kt.length," ...")}function Gn(kt,It){var en=kt.prefixCls,Xt=en===void 0?"rc-overflow":en,wn=kt.data,zn=wn===void 0?[]:wn,_n=kt.renderItem,dr=kt.renderRawItem,Zt=kt.itemKey,Ht=kt.itemWidth,Yt=Ht===void 0?10:Ht,Cn=kt.ssr,sr=kt.style,Wn=kt.className,Dn=kt.maxCount,kr=kt.renderRest,Er=kt.renderRawRest,Rr=kt.suffix,br=kt.component,tr=br===void 0?"div":br,Nr=kt.itemComponent,Qr=kt.onVisibleChange,_r=(0,ae.Z)(kt,zt),Fr=Cn==="full",jr=Ot(),Pi=xt(jr,null),di=(0,te.Z)(Pi,2),Ai=di[0],Ti=di[1],Hi=Ai||0,Oi=xt(jr,new Map),ua=(0,te.Z)(Oi,2),Ni=ua[0],mi=ua[1],ea=xt(jr,0),da=(0,te.Z)(ea,2),Si=da[0],$a=da[1],io=xt(jr,0),Za=(0,te.Z)(io,2),Ea=Za[0],Yi=Za[1],xo=xt(jr,0),Da=(0,te.Z)(xo,2),Fi=Da[0],Ba=Da[1],lo=(0,oe.useState)(null),za=(0,te.Z)(lo,2),ao=za[0],pa=za[1],po=(0,oe.useState)(null),mo=(0,te.Z)(po,2),fo=mo[0],vo=mo[1],Mo=oe.useMemo(function(){return fo===null&&Fr?Number.MAX_SAFE_INTEGER:fo||0},[fo,Ai]),Ho=(0,oe.useState)(!1),ho=(0,te.Z)(Ho,2),ko=ho[0],$o=ho[1],Yo="".concat(Xt,"-item"),as=Math.max(Si,Ea),Bo=Dn===an,wo=zn.length&&Bo,La=Dn===gn,Ha=wo||typeof Dn=="number"&&zn.length>Dn,uo=(0,oe.useMemo)(function(){var Pn=zn;return wo?Ai===null&&Fr?Pn=zn:Pn=zn.slice(0,Math.min(zn.length,Hi/Yt)):typeof Dn=="number"&&(Pn=zn.slice(0,Dn)),Pn},[zn,Yt,Ai,Dn,wo]),bo=(0,oe.useMemo)(function(){return wo?zn.slice(Mo+1):zn.slice(uo.length)},[zn,uo,wo,Mo]),Fo=(0,oe.useCallback)(function(Pn,Mn){var nr;return typeof Zt=="function"?Zt(Pn):(nr=Zt&&(Pn==null?void 0:Pn[Zt]))!==null&&nr!==void 0?nr:Mn},[Zt]),es=(0,oe.useCallback)(_n||function(Pn){return Pn},[_n]);function ms(Pn,Mn,nr){fo===Pn&&(Mn===void 0||Mn===ao)||(vo(Pn),nr||($o(Pn<zn.length-1),Qr==null||Qr(Pn)),Mn!==void 0&&pa(Mn))}function _s(Pn,Mn){Ti(Mn.clientWidth)}function Fs(Pn,Mn){mi(function(nr){var rr=new Map(nr);return Mn===null?rr.delete(Pn):rr.set(Pn,Mn),rr})}function os(Pn,Mn){Yi(Mn),$a(Ea)}function Is(Pn,Mn){Ba(Mn)}function to(Pn){return Ni.get(Fo(uo[Pn],Pn))}(0,de.Z)(function(){if(Hi&&typeof as=="number"&&uo){var Pn=Fi,Mn=uo.length,nr=Mn-1;if(!Mn){ms(0,null);return}for(var rr=0;rr<Mn;rr+=1){var vr=to(rr);if(Fr&&(vr=vr||0),vr===void 0){ms(rr-1,void 0,!0);break}if(Pn+=vr,nr===0&&Pn<=Hi||rr===nr-1&&Pn+to(nr)<=Hi){ms(nr,null);break}else if(Pn+as>Hi){ms(rr-1,Pn-vr-Fi+Ea);break}}Rr&&to(0)+Fi>Hi&&pa(null)}},[Hi,Ni,Ea,Fi,Fo,uo]);var Aa=ko&&!!bo.length,Do={};ao!==null&&wo&&(Do={position:"absolute",left:ao,top:0});var To={prefixCls:Yo,responsive:wo,component:Nr,invalidate:La},Ct=dr?function(Pn,Mn){var nr=Fo(Pn,Mn);return oe.createElement(Wt.Provider,{key:nr,value:(0,ie.Z)((0,ie.Z)({},To),{},{order:Mn,item:Pn,itemKey:nr,registerSize:Fs,display:Mn<=Mo})},dr(Pn,Mn))}:function(Pn,Mn){var nr=Fo(Pn,Mn);return oe.createElement(Re,(0,x.Z)({},To,{order:Mn,key:nr,item:Pn,renderItem:es,itemKey:nr,registerSize:Fs,display:Mn<=Mo}))},Lt,dn={order:Aa?Mo:Number.MAX_SAFE_INTEGER,className:"".concat(Yo,"-rest"),registerSize:os,display:Aa};if(Er)Er&&(Lt=oe.createElement(Wt.Provider,{value:(0,ie.Z)((0,ie.Z)({},To),dn)},Er(bo)));else{var un=kr||Tn;Lt=oe.createElement(Re,(0,x.Z)({},To,dn),typeof un=="function"?un(bo):un)}var Un=oe.createElement(tr,(0,x.Z)({className:$e()(!La&&Xt,Wn),style:sr,ref:It},_r),uo.map(Ct),Ha?Lt:null,Rr&&oe.createElement(Re,(0,x.Z)({},To,{responsive:Bo,responsiveDisabled:!wo,order:Mo,className:"".concat(Yo,"-suffix"),registerSize:Is,display:!0,style:Do}),Rr));return Bo&&(Un=oe.createElement(Ve.Z,{onResize:_s,disabled:!wo},Un)),Un}var fr=oe.forwardRef(Gn);fr.displayName="Overflow",fr.Item=Pt,fr.RESPONSIVE=an,fr.INVALIDATE=gn;var Tr=fr,Wr=Tr,ti=function(It,en){var Xt,wn,zn=It.prefixCls,_n=It.id,dr=It.inputElement,Zt=It.disabled,Ht=It.tabIndex,Yt=It.autoFocus,Cn=It.autoComplete,sr=It.editable,Wn=It.activeDescendantId,Dn=It.value,kr=It.maxLength,Er=It.onKeyDown,Rr=It.onMouseDown,br=It.onChange,tr=It.onPaste,Nr=It.onCompositionStart,Qr=It.onCompositionEnd,_r=It.open,Fr=It.attrs,jr=dr||oe.createElement("input",null),Pi=jr,di=Pi.ref,Ai=Pi.props,Ti=Ai.onKeyDown,Hi=Ai.onChange,Oi=Ai.onMouseDown,ua=Ai.onCompositionStart,Ni=Ai.onCompositionEnd,mi=Ai.style;return"maxLength"in jr.props,jr=oe.cloneElement(jr,(0,ie.Z)((0,ie.Z)((0,ie.Z)({type:"search"},Ai),{},{id:_n,ref:Ze(en,di),disabled:Zt,tabIndex:Ht,autoComplete:Cn||"off",autoFocus:Yt,className:$e()("".concat(zn,"-selection-search-input"),(Xt=jr)===null||Xt===void 0||(wn=Xt.props)===null||wn===void 0?void 0:wn.className),role:"combobox","aria-label":"Search","aria-expanded":_r||!1,"aria-haspopup":"listbox","aria-owns":"".concat(_n,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(_n,"_list"),"aria-activedescendant":_r?Wn:void 0},Fr),{},{value:sr?Dn:"",maxLength:kr,readOnly:!sr,unselectable:sr?null:"on",style:(0,ie.Z)((0,ie.Z)({},mi),{},{opacity:sr?null:0}),onKeyDown:function(da){Er(da),Ti&&Ti(da)},onMouseDown:function(da){Rr(da),Oi&&Oi(da)},onChange:function(da){br(da),Hi&&Hi(da)},onCompositionStart:function(da){Nr(da),ua&&ua(da)},onCompositionEnd:function(da){Qr(da),Ni&&Ni(da)},onPaste:tr})),jr},Dr=oe.forwardRef(ti);Dr.displayName="Input";var ri=Dr;function Mi(kt){return Array.isArray(kt)?kt:kt!==void 0?[kt]:[]}var $r=typeof window!="undefined"&&window.document&&window.document.documentElement,Xi=$r;function Ii(kt){return kt!=null}function nn(kt){return!kt&&kt!==0}function Jn(kt){return["string","number"].includes((0,ne.Z)(kt))}function hr(kt){var It=void 0;return kt&&(Jn(kt.title)?It=kt.title.toString():Jn(kt.label)&&(It=kt.label.toString())),It}function Kn(kt,It){Xi?oe.useLayoutEffect(kt,It):oe.useEffect(kt,It)}function Hr(kt){var It;return(It=kt.key)!==null&&It!==void 0?It:kt.value}var Pr=function(It){It.preventDefault(),It.stopPropagation()},Or=function(It){var en=It.id,Xt=It.prefixCls,wn=It.values,zn=It.open,_n=It.searchValue,dr=It.autoClearSearchValue,Zt=It.inputRef,Ht=It.placeholder,Yt=It.disabled,Cn=It.mode,sr=It.showSearch,Wn=It.autoFocus,Dn=It.autoComplete,kr=It.activeDescendantId,Er=It.tabIndex,Rr=It.removeIcon,br=It.maxTagCount,tr=It.maxTagTextLength,Nr=It.maxTagPlaceholder,Qr=Nr===void 0?function(pa){return"+ ".concat(pa.length," ...")}:Nr,_r=It.tagRender,Fr=It.onToggleOpen,jr=It.onRemove,Pi=It.onInputChange,di=It.onInputPaste,Ai=It.onInputKeyDown,Ti=It.onInputMouseDown,Hi=It.onInputCompositionStart,Oi=It.onInputCompositionEnd,ua=oe.useRef(null),Ni=(0,oe.useState)(0),mi=(0,te.Z)(Ni,2),ea=mi[0],da=mi[1],Si=(0,oe.useState)(!1),$a=(0,te.Z)(Si,2),io=$a[0],Za=$a[1],Ea="".concat(Xt,"-selection"),Yi=zn||Cn==="multiple"&&dr===!1||Cn==="tags"?_n:"",xo=Cn==="tags"||Cn==="multiple"&&dr===!1||sr&&(zn||io);Kn(function(){da(ua.current.scrollWidth)},[Yi]);function Da(pa,po,mo,fo,vo){return oe.createElement("span",{className:$e()("".concat(Ea,"-item"),(0,me.Z)({},"".concat(Ea,"-item-disabled"),mo)),title:hr(pa)},oe.createElement("span",{className:"".concat(Ea,"-item-content")},po),fo&&oe.createElement(Xe,{className:"".concat(Ea,"-item-remove"),onMouseDown:Pr,onClick:vo,customizeIcon:Rr},"\xD7"))}function Fi(pa,po,mo,fo,vo){var Mo=function(ho){Pr(ho),Fr(!zn)};return oe.createElement("span",{onMouseDown:Mo},_r({label:po,value:pa,disabled:mo,closable:fo,onClose:vo}))}function Ba(pa){var po=pa.disabled,mo=pa.label,fo=pa.value,vo=!Yt&&!po,Mo=mo;if(typeof tr=="number"&&(typeof mo=="string"||typeof mo=="number")){var Ho=String(Mo);Ho.length>tr&&(Mo="".concat(Ho.slice(0,tr),"..."))}var ho=function($o){$o&&$o.stopPropagation(),jr(pa)};return typeof _r=="function"?Fi(fo,Mo,po,vo,ho):Da(pa,Mo,po,vo,ho)}function lo(pa){var po=typeof Qr=="function"?Qr(pa):Qr;return Da({title:po},po,!1)}var za=oe.createElement("div",{className:"".concat(Ea,"-search"),style:{width:ea},onFocus:function(){Za(!0)},onBlur:function(){Za(!1)}},oe.createElement(ri,{ref:Zt,open:zn,prefixCls:Xt,id:en,inputElement:null,disabled:Yt,autoFocus:Wn,autoComplete:Dn,editable:xo,activeDescendantId:kr,value:Yi,onKeyDown:Ai,onMouseDown:Ti,onChange:Pi,onPaste:di,onCompositionStart:Hi,onCompositionEnd:Oi,tabIndex:Er,attrs:Ye(It,!0)}),oe.createElement("span",{ref:ua,className:"".concat(Ea,"-search-mirror"),"aria-hidden":!0},Yi,"\xA0")),ao=oe.createElement(Wr,{prefixCls:"".concat(Ea,"-overflow"),data:wn,renderItem:Ba,renderRest:lo,suffix:za,itemKey:Hr,maxCount:br});return oe.createElement(oe.Fragment,null,ao,!wn.length&&!Yi&&oe.createElement("span",{className:"".concat(Ea,"-placeholder")},Ht))},Mr=Or,Ut=function(It){var en=It.inputElement,Xt=It.prefixCls,wn=It.id,zn=It.inputRef,_n=It.disabled,dr=It.autoFocus,Zt=It.autoComplete,Ht=It.activeDescendantId,Yt=It.mode,Cn=It.open,sr=It.values,Wn=It.placeholder,Dn=It.tabIndex,kr=It.showSearch,Er=It.searchValue,Rr=It.activeValue,br=It.maxLength,tr=It.onInputKeyDown,Nr=It.onInputMouseDown,Qr=It.onInputChange,_r=It.onInputPaste,Fr=It.onInputCompositionStart,jr=It.onInputCompositionEnd,Pi=It.title,di=oe.useState(!1),Ai=(0,te.Z)(di,2),Ti=Ai[0],Hi=Ai[1],Oi=Yt==="combobox",ua=Oi||kr,Ni=sr[0],mi=Er||"";Oi&&Rr&&!Ti&&(mi=Rr),oe.useEffect(function(){Oi&&Hi(!1)},[Oi,Rr]);var ea=Yt!=="combobox"&&!Cn&&!kr?!1:!!mi,da=Pi===void 0?hr(Ni):Pi,Si=function(){if(Ni)return null;var io=ea?{visibility:"hidden"}:void 0;return oe.createElement("span",{className:"".concat(Xt,"-selection-placeholder"),style:io},Wn)};return oe.createElement(oe.Fragment,null,oe.createElement("span",{className:"".concat(Xt,"-selection-search")},oe.createElement(ri,{ref:zn,prefixCls:Xt,id:wn,open:Cn,inputElement:en,disabled:_n,autoFocus:dr,autoComplete:Zt,editable:ua,activeDescendantId:Ht,value:mi,onKeyDown:tr,onMouseDown:Nr,onChange:function(io){Hi(!0),Qr(io)},onPaste:_r,onCompositionStart:Fr,onCompositionEnd:jr,tabIndex:Dn,attrs:Ye(It,!0),maxLength:Oi?br:void 0})),!Oi&&Ni?oe.createElement("span",{className:"".concat(Xt,"-selection-item"),title:da,style:ea?{visibility:"hidden"}:void 0},Ni.label):null,Si())},$t=Ut;function qt(kt){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(kt)}var Nn=function(It,en){var Xt=(0,oe.useRef)(null),wn=(0,oe.useRef)(!1),zn=It.prefixCls,_n=It.open,dr=It.mode,Zt=It.showSearch,Ht=It.tokenWithEnter,Yt=It.autoClearSearchValue,Cn=It.onSearch,sr=It.onSearchSubmit,Wn=It.onToggleOpen,Dn=It.onInputKeyDown,kr=It.domRef;oe.useImperativeHandle(en,function(){return{focus:function(){Xt.current.focus()},blur:function(){Xt.current.blur()}}});var Er=nt(0),Rr=(0,te.Z)(Er,2),br=Rr[0],tr=Rr[1],Nr=function(mi){var ea=mi.which;(ea===Be.UP||ea===Be.DOWN)&&mi.preventDefault(),Dn&&Dn(mi),ea===Be.ENTER&&dr==="tags"&&!wn.current&&!_n&&(sr==null||sr(mi.target.value)),qt(ea)&&Wn(!0)},Qr=function(){tr(!0)},_r=(0,oe.useRef)(null),Fr=function(mi){Cn(mi,!0,wn.current)!==!1&&Wn(!0)},jr=function(){wn.current=!0},Pi=function(mi){wn.current=!1,dr!=="combobox"&&Fr(mi.target.value)},di=function(mi){var ea=mi.target.value;if(Ht&&_r.current&&/[\r\n]/.test(_r.current)){var da=_r.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ea=ea.replace(da,_r.current)}_r.current=null,Fr(ea)},Ai=function(mi){var ea=mi.clipboardData,da=ea.getData("text");_r.current=da},Ti=function(mi){var ea=mi.target;if(ea!==Xt.current){var da=document.body.style.msTouchAction!==void 0;da?setTimeout(function(){Xt.current.focus()}):Xt.current.focus()}},Hi=function(mi){var ea=br();mi.target!==Xt.current&&!ea&&dr!=="combobox"&&mi.preventDefault(),(dr!=="combobox"&&(!Zt||!ea)||!_n)&&(_n&&Yt!==!1&&Cn("",!0,!1),Wn())},Oi={inputRef:Xt,onInputKeyDown:Nr,onInputMouseDown:Qr,onInputChange:di,onInputPaste:Ai,onInputCompositionStart:jr,onInputCompositionEnd:Pi},ua=dr==="multiple"||dr==="tags"?oe.createElement(Mr,(0,x.Z)({},It,Oi)):oe.createElement($t,(0,x.Z)({},It,Oi));return oe.createElement("div",{ref:kr,className:"".concat(zn,"-selector"),onClick:Ti,onMouseDown:Hi},ua)},jt=oe.forwardRef(Nn);jt.displayName="Selector";var on=jt,kn=ve(62709),pn=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Bn=function(It){var en=It===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:en,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:en,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:en,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:en,adjustY:1},htmlRegion:"scroll"}}},Rn=function(It,en){var Xt=It.prefixCls,wn=It.disabled,zn=It.visible,_n=It.children,dr=It.popupElement,Zt=It.animation,Ht=It.transitionName,Yt=It.dropdownStyle,Cn=It.dropdownClassName,sr=It.direction,Wn=sr===void 0?"ltr":sr,Dn=It.placement,kr=It.builtinPlacements,Er=It.dropdownMatchSelectWidth,Rr=It.dropdownRender,br=It.dropdownAlign,tr=It.getPopupContainer,Nr=It.empty,Qr=It.getTriggerDOMNode,_r=It.onPopupVisibleChange,Fr=It.onPopupMouseEnter,jr=(0,ae.Z)(It,pn),Pi="".concat(Xt,"-dropdown"),di=dr;Rr&&(di=Rr(dr));var Ai=oe.useMemo(function(){return kr||Bn(Er)},[kr,Er]),Ti=Zt?"".concat(Pi,"-").concat(Zt):Ht,Hi=typeof Er=="number",Oi=oe.useMemo(function(){return Hi?null:Er===!1?"minWidth":"width"},[Er,Hi]),ua=Yt;Hi&&(ua=(0,ie.Z)((0,ie.Z)({},ua),{},{width:Er}));var Ni=oe.useRef(null);return oe.useImperativeHandle(en,function(){return{getPopupElement:function(){return Ni.current}}}),oe.createElement(kn.Z,(0,x.Z)({},jr,{showAction:_r?["click"]:[],hideAction:_r?["click"]:[],popupPlacement:Dn||(Wn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Ai,prefixCls:Pi,popupTransitionName:Ti,popup:oe.createElement("div",{ref:Ni,onMouseEnter:Fr},di),stretch:Oi,popupAlign:br,popupVisible:zn,getPopupContainer:tr,popupClassName:$e()(Cn,(0,me.Z)({},"".concat(Pi,"-empty"),Nr)),popupStyle:ua,getTriggerDOMNode:Qr,onPopupVisibleChange:_r}),_n)},pr=oe.forwardRef(Rn);pr.displayName="SelectTrigger";var ii=pr,Lr=ve(84506);function Ir(kt,It){var en=kt.key,Xt;return"value"in kt&&(Xt=kt.value),en!=null?en:Xt!==void 0?Xt:"rc-index-key-".concat(It)}function Ur(kt,It){var en=kt||{},Xt=en.label,wn=en.value,zn=en.options,_n=en.groupLabel,dr=Xt||(It?"children":"label");return{label:dr,value:wn||"value",options:zn||"options",groupLabel:_n||dr}}function Zr(kt){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},en=It.fieldNames,Xt=It.childrenAsData,wn=[],zn=Ur(en,!1),_n=zn.label,dr=zn.value,Zt=zn.options,Ht=zn.groupLabel;function Yt(Cn,sr){Cn.forEach(function(Wn){if(sr||!(Zt in Wn)){var Dn=Wn[dr];wn.push({key:Ir(Wn,wn.length),groupOption:sr,data:Wn,label:Wn[_n],value:Dn})}else{var kr=Wn[Ht];kr===void 0&&Xt&&(kr=Wn.label),wn.push({key:Ir(Wn,wn.length),group:!0,data:Wn,label:kr}),Yt(Wn[Zt],!0)}})}return Yt(kt,!1),wn}function ln(kt){var It=(0,ie.Z)({},kt);return"props"in It||Object.defineProperty(It,"props",{get:function(){return Ie(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),It}}),It}function Jt(kt,It){if(!It||!It.length)return null;var en=!1;function Xt(zn,_n){var dr=(0,Lr.Z)(_n),Zt=dr[0],Ht=dr.slice(1);if(!Zt)return[zn];var Yt=zn.split(Zt);return en=en||Yt.length>1,Yt.reduce(function(Cn,sr){return[].concat((0,Te.Z)(Cn),(0,Te.Z)(Xt(sr,Ht)))},[]).filter(function(Cn){return Cn})}var wn=Xt(kt,It);return en?wn:null}var cn=["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"],er=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Ar(kt){return kt==="tags"||kt==="multiple"}var Fn=oe.forwardRef(function(kt,It){var en,Xt,wn=kt.id,zn=kt.prefixCls,_n=kt.className,dr=kt.showSearch,Zt=kt.tagRender,Ht=kt.direction,Yt=kt.omitDomProps,Cn=kt.displayValues,sr=kt.onDisplayValuesChange,Wn=kt.emptyOptions,Dn=kt.notFoundContent,kr=Dn===void 0?"Not Found":Dn,Er=kt.onClear,Rr=kt.mode,br=kt.disabled,tr=kt.loading,Nr=kt.getInputElement,Qr=kt.getRawInputElement,_r=kt.open,Fr=kt.defaultOpen,jr=kt.onDropdownVisibleChange,Pi=kt.activeValue,di=kt.onActiveValueChange,Ai=kt.activeDescendantId,Ti=kt.searchValue,Hi=kt.autoClearSearchValue,Oi=kt.onSearch,ua=kt.onSearchSplit,Ni=kt.tokenSeparators,mi=kt.allowClear,ea=kt.suffixIcon,da=kt.clearIcon,Si=kt.OptionList,$a=kt.animation,io=kt.transitionName,Za=kt.dropdownStyle,Ea=kt.dropdownClassName,Yi=kt.dropdownMatchSelectWidth,xo=kt.dropdownRender,Da=kt.dropdownAlign,Fi=kt.placement,Ba=kt.builtinPlacements,lo=kt.getPopupContainer,za=kt.showAction,ao=za===void 0?[]:za,pa=kt.onFocus,po=kt.onBlur,mo=kt.onKeyUp,fo=kt.onKeyDown,vo=kt.onMouseDown,Mo=(0,ae.Z)(kt,cn),Ho=Ar(Rr),ho=(dr!==void 0?dr:Ho)||Rr==="combobox",ko=(0,ie.Z)({},Mo);er.forEach(function(na){delete ko[na]}),Yt==null||Yt.forEach(function(na){delete ko[na]});var $o=oe.useState(!1),Yo=(0,te.Z)($o,2),as=Yo[0],Bo=Yo[1];oe.useEffect(function(){Bo(Le())},[]);var wo=oe.useRef(null),La=oe.useRef(null),Ha=oe.useRef(null),uo=oe.useRef(null),bo=oe.useRef(null),Fo=st(),es=(0,te.Z)(Fo,3),ms=es[0],_s=es[1],Fs=es[2];oe.useImperativeHandle(It,function(){var na,ra;return{focus:(na=uo.current)===null||na===void 0?void 0:na.focus,blur:(ra=uo.current)===null||ra===void 0?void 0:ra.blur,scrollTo:function(Zi){var bi;return(bi=bo.current)===null||bi===void 0?void 0:bi.scrollTo(Zi)}}});var os=oe.useMemo(function(){var na;if(Rr!=="combobox")return Ti;var ra=(na=Cn[0])===null||na===void 0?void 0:na.value;return typeof ra=="string"||typeof ra=="number"?String(ra):""},[Ti,Rr,Cn]),Is=Rr==="combobox"&&typeof Nr=="function"&&Nr()||null,to=typeof Qr=="function"&&Qr(),Aa=et(La,to==null||(en=to.props)===null||en===void 0?void 0:en.ref),Do=oe.useState(!1),To=(0,te.Z)(Do,2),Ct=To[0],Lt=To[1];ce(function(){Lt(!0)},[]);var dn=Se(!1,{defaultValue:Fr,value:_r}),un=(0,te.Z)(dn,2),Un=un[0],Pn=un[1],Mn=Ct?Un:!1,nr=!kr&&Wn;(br||nr&&Mn&&Rr==="combobox")&&(Mn=!1);var rr=nr?!1:Mn,vr=oe.useCallback(function(na){var ra=na!==void 0?na:!Mn;br||(Pn(ra),Mn!==ra&&(jr==null||jr(ra)))},[br,Mn,Pn,jr]),Jr=oe.useMemo(function(){return(Ni||[]).some(function(na){return[`
`,`\r
`].includes(na)})},[Ni]),zr=function(ra,Sa,Zi){var bi=!0,ia=ra;di==null||di(null);var Gi=Zi?null:Jt(ra,Ni);return Rr!=="combobox"&&Gi&&(ia="",ua==null||ua(Gi),vr(!1),bi=!1),Oi&&os!==ia&&Oi(ia,{source:Sa?"typing":"effect"}),bi},wi=function(ra){!ra||!ra.trim()||Oi(ra,{source:"submit"})};oe.useEffect(function(){!Mn&&!Ho&&Rr!=="combobox"&&zr("",!1,!1)},[Mn]),oe.useEffect(function(){Un&&br&&Pn(!1),br&&_s(!1)},[br]);var Yr=nt(),ci=(0,te.Z)(Yr,2),ei=ci[0],Ci=ci[1],Vi=function(ra){var Sa=ei(),Zi=ra.which;if(Zi===Be.ENTER&&(Rr!=="combobox"&&ra.preventDefault(),Mn||vr(!0)),Ci(!!os),Zi===Be.BACKSPACE&&!Sa&&Ho&&!os&&Cn.length){for(var bi=(0,Te.Z)(Cn),ia=null,Gi=bi.length-1;Gi>=0;Gi-=1){var Pa=bi[Gi];if(!Pa.disabled){bi.splice(Gi,1),ia=Pa;break}}ia&&sr(bi,{type:"remove",values:[ia]})}for(var Ua=arguments.length,Qa=new Array(Ua>1?Ua-1:0),ka=1;ka<Ua;ka++)Qa[ka-1]=arguments[ka];if(Mn&&bo.current){var oo;(oo=bo.current).onKeyDown.apply(oo,[ra].concat(Qa))}fo==null||fo.apply(void 0,[ra].concat(Qa))},oa=function(ra){for(var Sa=arguments.length,Zi=new Array(Sa>1?Sa-1:0),bi=1;bi<Sa;bi++)Zi[bi-1]=arguments[bi];if(Mn&&bo.current){var ia;(ia=bo.current).onKeyUp.apply(ia,[ra].concat(Zi))}mo==null||mo.apply(void 0,[ra].concat(Zi))},ha=function(ra){var Sa=Cn.filter(function(Zi){return Zi!==ra});sr(Sa,{type:"remove",values:[ra]})},ta=oe.useRef(!1),ba=function(){_s(!0),br||(pa&&!ta.current&&pa.apply(void 0,arguments),ao.includes("focus")&&vr(!0)),ta.current=!0},Ki=function(){_s(!1,function(){ta.current=!1,vr(!1)}),!br&&(os&&(Rr==="tags"?Oi(os,{source:"submit"}):Rr==="multiple"&&Oi("",{source:"blur"})),po&&po.apply(void 0,arguments))},xa=[];oe.useEffect(function(){return function(){xa.forEach(function(na){return clearTimeout(na)}),xa.splice(0,xa.length)}},[]);var Ma=function(ra){var Sa,Zi=ra.target,bi=(Sa=Ha.current)===null||Sa===void 0?void 0:Sa.getPopupElement();if(bi&&bi.contains(Zi)){var ia=setTimeout(function(){var Qa=xa.indexOf(ia);if(Qa!==-1&&xa.splice(Qa,1),Fs(),!as&&!bi.contains(document.activeElement)){var ka;(ka=uo.current)===null||ka===void 0||ka.focus()}});xa.push(ia)}for(var Gi=arguments.length,Pa=new Array(Gi>1?Gi-1:0),Ua=1;Ua<Gi;Ua++)Pa[Ua-1]=arguments[Ua];vo==null||vo.apply(void 0,[ra].concat(Pa))},li=oe.useState({}),fi=(0,te.Z)(li,2),Di=fi[1];function Ia(){Di({})}var va;to&&(va=function(ra){vr(ra)}),rt(function(){var na;return[wo.current,(na=Ha.current)===null||na===void 0?void 0:na.getPopupElement()]},rr,vr,!!to);var Ca=oe.useMemo(function(){return(0,ie.Z)((0,ie.Z)({},kt),{},{notFoundContent:kr,open:Mn,triggerOpen:rr,id:wn,showSearch:ho,multiple:Ho,toggleOpen:vr})},[kt,kr,rr,Mn,wn,ho,Ho,vr]),wa=!!ea||tr,Ra;wa&&(Ra=oe.createElement(Xe,{className:$e()("".concat(zn,"-arrow"),(0,me.Z)({},"".concat(zn,"-arrow-loading"),tr)),customizeIcon:ea,customizeIconProps:{loading:tr,searchValue:os,open:Mn,focused:ms,showSearch:ho}}));var Fa=function(){var ra;Er==null||Er(),(ra=uo.current)===null||ra===void 0||ra.focus(),sr([],{type:"clear",values:Cn}),zr("",!1,!1)},Ga=Ge(zn,Fa,Cn,mi,da,br,os,Rr),qa=Ga.allowClear,Wo=Ga.clearIcon,no=oe.createElement(Si,{ref:bo}),Io=$e()(zn,_n,(Xt={},(0,me.Z)(Xt,"".concat(zn,"-focused"),ms),(0,me.Z)(Xt,"".concat(zn,"-multiple"),Ho),(0,me.Z)(Xt,"".concat(zn,"-single"),!Ho),(0,me.Z)(Xt,"".concat(zn,"-allow-clear"),mi),(0,me.Z)(Xt,"".concat(zn,"-show-arrow"),wa),(0,me.Z)(Xt,"".concat(zn,"-disabled"),br),(0,me.Z)(Xt,"".concat(zn,"-loading"),tr),(0,me.Z)(Xt,"".concat(zn,"-open"),Mn),(0,me.Z)(Xt,"".concat(zn,"-customize-input"),Is),(0,me.Z)(Xt,"".concat(zn,"-show-search"),ho),Xt)),vs=oe.createElement(ii,{ref:Ha,disabled:br,prefixCls:zn,visible:rr,popupElement:no,animation:$a,transitionName:io,dropdownStyle:Za,dropdownClassName:Ea,direction:Ht,dropdownMatchSelectWidth:Yi,dropdownRender:xo,dropdownAlign:Da,placement:Fi,builtinPlacements:Ba,getPopupContainer:lo,empty:Wn,getTriggerDOMNode:function(){return La.current},onPopupVisibleChange:va,onPopupMouseEnter:Ia},to?oe.cloneElement(to,{ref:Aa}):oe.createElement(on,(0,x.Z)({},kt,{domRef:La,prefixCls:zn,inputElement:Is,ref:uo,id:wn,showSearch:ho,autoClearSearchValue:Hi,mode:Rr,activeDescendantId:Ai,tagRender:Zt,values:Cn,open:Mn,onToggleOpen:vr,activeValue:Pi,searchValue:os,onSearch:zr,onSearchSubmit:wi,onRemove:ha,tokenWithEnter:Jr}))),Ja;return to?Ja=vs:Ja=oe.createElement("div",(0,x.Z)({className:Io},ko,{ref:wo,onMouseDown:Ma,onKeyDown:Vi,onKeyUp:oa,onFocus:ba,onBlur:Ki}),ms&&!Mn&&oe.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Cn.map(function(na){var ra=na.label,Sa=na.value;return["number","string"].includes((0,ne.Z)(ra))?ra:Sa}).join(", "))),vs,Ra,qa&&Wo),oe.createElement(lt.Provider,{value:Ca},Ja)}),lr=Fn,ir=function(kt,It){var en=oe.useRef({values:new Map,options:new Map}),Xt=oe.useMemo(function(){var zn=en.current,_n=zn.values,dr=zn.options,Zt=kt.map(function(Cn){if(Cn.label===void 0){var sr;return(0,ie.Z)((0,ie.Z)({},Cn),{},{label:(sr=_n.get(Cn.value))===null||sr===void 0?void 0:sr.label})}return Cn}),Ht=new Map,Yt=new Map;return Zt.forEach(function(Cn){Ht.set(Cn.value,Cn),Yt.set(Cn.value,It.get(Cn.value)||dr.get(Cn.value))}),en.current.values=Ht,en.current.options=Yt,Zt},[kt,It]),wn=oe.useCallback(function(zn){return It.get(zn)||en.current.options.get(zn)},[It]);return[Xt,wn]};function wr(kt,It){return Mi(kt).join("").toUpperCase().includes(It)}var Vr=function(kt,It,en,Xt,wn){return oe.useMemo(function(){if(!en||Xt===!1)return kt;var zn=It.options,_n=It.label,dr=It.value,Zt=[],Ht=typeof Xt=="function",Yt=en.toUpperCase(),Cn=Ht?Xt:function(Wn,Dn){return wn?wr(Dn[wn],Yt):Dn[zn]?wr(Dn[_n!=="children"?_n:"label"],Yt):wr(Dn[dr],Yt)},sr=Ht?function(Wn){return ln(Wn)}:function(Wn){return Wn};return kt.forEach(function(Wn){if(Wn[zn]){var Dn=Cn(en,sr(Wn));if(Dn)Zt.push(Wn);else{var kr=Wn[zn].filter(function(Er){return Cn(en,sr(Er))});kr.length&&Zt.push((0,ie.Z)((0,ie.Z)({},Wn),{},(0,me.Z)({},zn,kr)))}return}Cn(en,sr(Wn))&&Zt.push(Wn)}),Zt},[kt,Xt,wn,en,It])},Zn=0,_i=re();function gi(){var kt;return _i?(kt=Zn,Zn+=1):kt="TEST_OR_SSR",kt}function ma(kt){var It=oe.useState(),en=(0,te.Z)(It,2),Xt=en[0],wn=en[1];return oe.useEffect(function(){wn("rc_select_".concat(gi()))},[]),kt||Xt}function ga(kt){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},en=[];return oe.Children.forEach(kt,function(Xt){Xt==null&&!It.keepEmpty||(Array.isArray(Xt)?en=en.concat(ga(Xt)):(0,Ue.isFragment)(Xt)&&Xt.props?en=en.concat(ga(Xt.props.children,It)):en.push(Xt))}),en}var la=["children","value"],_a=["children"];function $i(kt){var It=kt,en=It.key,Xt=It.props,wn=Xt.children,zn=Xt.value,_n=(0,ae.Z)(Xt,la);return(0,ie.Z)({key:en,value:zn!==void 0?zn:en,children:wn},_n)}function Ui(kt){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ga(kt).map(function(en,Xt){if(!oe.isValidElement(en)||!en.type)return null;var wn=en,zn=wn.type.isSelectOptGroup,_n=wn.key,dr=wn.props,Zt=dr.children,Ht=(0,ae.Z)(dr,_a);return It||!zn?$i(en):(0,ie.Z)((0,ie.Z)({key:"__RC_SELECT_GRP__".concat(_n===null?Xt:_n,"__"),label:_n},Ht),{},{options:Ui(Zt)})}).filter(function(en){return en})}function ya(kt,It,en,Xt,wn){return oe.useMemo(function(){var zn=kt,_n=!kt;_n&&(zn=Ui(It));var dr=new Map,Zt=new Map,Ht=function(sr,Wn,Dn){Dn&&typeof Dn=="string"&&sr.set(Wn[Dn],Wn)};function Yt(Cn){for(var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Wn=0;Wn<Cn.length;Wn+=1){var Dn=Cn[Wn];!Dn[en.options]||sr?(dr.set(Dn[en.value],Dn),Ht(Zt,Dn,en.label),Ht(Zt,Dn,Xt),Ht(Zt,Dn,wn)):Yt(Dn[en.options],!0)}}return Yt(zn),{options:zn,valueOptions:dr,labelOptions:Zt}},[kt,It,en,Xt,wn])}function Ka(kt){var It=oe.useRef();It.current=kt;var en=oe.useCallback(function(){return It.current.apply(It,arguments)},[]);return en}var Ri=function(){return null};Ri.isSelectOptGroup=!0;var ca=Ri,Na=function(){return null};Na.isSelectOption=!0;var ro=Na;function Ya(kt,It){var en=(0,ie.Z)({},kt);return Array.isArray(It)&&It.forEach(function(Xt){delete en[Xt]}),en}var Wi=ve(73299),mn=oe.createContext(null),sn=mn;function jn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var ar=["disabled","title","children","style","className"];function gr(kt){return typeof kt=="string"||typeof kt=="number"}var Xr=function(It,en){var Xt=dt(),wn=Xt.prefixCls,zn=Xt.id,_n=Xt.open,dr=Xt.multiple,Zt=Xt.mode,Ht=Xt.searchValue,Yt=Xt.toggleOpen,Cn=Xt.notFoundContent,sr=Xt.onPopupScroll,Wn=oe.useContext(sn),Dn=Wn.flattenOptions,kr=Wn.onActiveValue,Er=Wn.defaultActiveFirstOption,Rr=Wn.onSelect,br=Wn.menuItemSelectedIcon,tr=Wn.rawValues,Nr=Wn.fieldNames,Qr=Wn.virtual,_r=Wn.direction,Fr=Wn.listHeight,jr=Wn.listItemHeight,Pi="".concat(wn,"-item"),di=_e(function(){return Dn},[_n,Dn],function(Da,Fi){return Fi[0]&&Da[1]!==Fi[1]}),Ai=oe.useRef(null),Ti=function(Fi){Fi.preventDefault()},Hi=function(Fi){Ai.current&&Ai.current.scrollTo(typeof Fi=="number"?{index:Fi}:Fi)},Oi=function(Fi){for(var Ba=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,lo=di.length,za=0;za<lo;za+=1){var ao=(Fi+za*Ba+lo)%lo,pa=di[ao],po=pa.group,mo=pa.data;if(!po&&!mo.disabled)return ao}return-1},ua=oe.useState(function(){return Oi(0)}),Ni=(0,te.Z)(ua,2),mi=Ni[0],ea=Ni[1],da=function(Fi){var Ba=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ea(Fi);var lo={source:Ba?"keyboard":"mouse"},za=di[Fi];if(!za){kr(null,-1,lo);return}kr(za.value,Fi,lo)};(0,oe.useEffect)(function(){da(Er!==!1?Oi(0):-1)},[di.length,Ht]);var Si=oe.useCallback(function(Da){return tr.has(Da)&&Zt!=="combobox"},[Zt,(0,Te.Z)(tr).toString(),tr.size]);(0,oe.useEffect)(function(){var Da=setTimeout(function(){if(!dr&&_n&&tr.size===1){var Ba=Array.from(tr)[0],lo=di.findIndex(function(za){var ao=za.data;return ao.value===Ba});lo!==-1&&(da(lo),Hi(lo))}});if(_n){var Fi;(Fi=Ai.current)===null||Fi===void 0||Fi.scrollTo(void 0)}return function(){return clearTimeout(Da)}},[_n,Ht,Dn.length]);var $a=function(Fi){Fi!==void 0&&Rr(Fi,{selected:!tr.has(Fi)}),dr||Yt(!1)};if(oe.useImperativeHandle(en,function(){return{onKeyDown:function(Fi){var Ba=Fi.which,lo=Fi.ctrlKey;switch(Ba){case Be.N:case Be.P:case Be.UP:case Be.DOWN:{var za=0;if(Ba===Be.UP?za=-1:Ba===Be.DOWN?za=1:jn()&&lo&&(Ba===Be.N?za=1:Ba===Be.P&&(za=-1)),za!==0){var ao=Oi(mi+za,za);Hi(ao),da(ao,!0)}break}case Be.ENTER:{var pa=di[mi];pa&&!pa.data.disabled?$a(pa.value):$a(void 0),_n&&Fi.preventDefault();break}case Be.ESC:Yt(!1),_n&&Fi.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Fi){Hi(Fi)}}}),di.length===0)return oe.createElement("div",{role:"listbox",id:"".concat(zn,"_list"),className:"".concat(Pi,"-empty"),onMouseDown:Ti},Cn);var io=Object.keys(Nr).map(function(Da){return Nr[Da]}),Za=function(Fi){return Fi.label};function Ea(Da,Fi){var Ba=Da.group;return{role:Ba?"presentation":"option",id:"".concat(zn,"_list_").concat(Fi)}}var Yi=function(Fi){var Ba=di[Fi];if(!Ba)return null;var lo=Ba.data||{},za=lo.value,ao=Ba.group,pa=Ye(lo,!0),po=Za(Ba);return Ba?oe.createElement("div",(0,x.Z)({"aria-label":typeof po=="string"&&!ao?po:null},pa,{key:Fi},Ea(Ba,Fi),{"aria-selected":Si(za)}),za):null},xo={role:"listbox",id:"".concat(zn,"_list")};return oe.createElement(oe.Fragment,null,Qr&&oe.createElement("div",(0,x.Z)({},xo,{style:{height:0,width:0,overflow:"hidden"}}),Yi(mi-1),Yi(mi),Yi(mi+1)),oe.createElement(Wi.Z,{itemKey:"key",ref:Ai,data:di,height:Fr,itemHeight:jr,fullHeight:!1,onMouseDown:Ti,onScroll:sr,virtual:Qr,direction:_r,innerProps:Qr?null:xo},function(Da,Fi){var Ba,lo=Da.group,za=Da.groupOption,ao=Da.data,pa=Da.label,po=Da.value,mo=ao.key;if(lo){var fo,vo=(fo=ao.title)!==null&&fo!==void 0?fo:gr(pa)?pa.toString():void 0;return oe.createElement("div",{className:$e()(Pi,"".concat(Pi,"-group")),title:vo},pa!==void 0?pa:mo)}var Mo=ao.disabled,Ho=ao.title,ho=ao.children,ko=ao.style,$o=ao.className,Yo=(0,ae.Z)(ao,ar),as=Ya(Yo,io),Bo=Si(po),wo="".concat(Pi,"-option"),La=$e()(Pi,wo,$o,(Ba={},(0,me.Z)(Ba,"".concat(wo,"-grouped"),za),(0,me.Z)(Ba,"".concat(wo,"-active"),mi===Fi&&!Mo),(0,me.Z)(Ba,"".concat(wo,"-disabled"),Mo),(0,me.Z)(Ba,"".concat(wo,"-selected"),Bo),Ba)),Ha=Za(Da),uo=!br||typeof br=="function"||Bo,bo=typeof Ha=="number"?Ha:Ha||po,Fo=gr(bo)?bo.toString():void 0;return Ho!==void 0&&(Fo=Ho),oe.createElement("div",(0,x.Z)({},Ye(as),Qr?{}:Ea(Da,Fi),{"aria-selected":Bo,className:La,title:Fo,onMouseMove:function(){mi===Fi||Mo||da(Fi)},onClick:function(){Mo||$a(po)},style:ko}),oe.createElement("div",{className:"".concat(wo,"-content")},bo),oe.isValidElement(br)||Bo,uo&&oe.createElement(Xe,{className:"".concat(Pi,"-option-state"),customizeIcon:br,customizeIconProps:{isSelected:Bo}},Bo?"\u2713":null))}))},ai=oe.forwardRef(Xr);ai.displayName="OptionList";var pi=ai;function Li(kt){var It=kt.mode,en=kt.options,Xt=kt.children,wn=kt.backfill,zn=kt.allowClear,_n=kt.placeholder,dr=kt.getInputElement,Zt=kt.showSearch,Ht=kt.onSearch,Yt=kt.defaultOpen,Cn=kt.autoFocus,sr=kt.labelInValue,Wn=kt.value,Dn=kt.inputValue,kr=kt.optionLabelProp,Er=isMultiple(It),Rr=Zt!==void 0?Zt:Er||It==="combobox",br=en||convertChildrenToData(Xt);if(warning(It!=="tags"||br.every(function(_r){return!_r.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),It==="tags"||It==="combobox"){var tr=br.some(function(_r){return _r.options?_r.options.some(function(Fr){return typeof("value"in Fr?Fr.value:Fr.key)=="number"}):typeof("value"in _r?_r.value:_r.key)=="number"});warning(!tr,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(It!=="combobox"||!kr,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(It==="combobox"||!wn,"`backfill` only works with `combobox` mode."),warning(It==="combobox"||!dr,"`getInputElement` only work with `combobox` mode."),noteOnce(It!=="combobox"||!dr||!zn||!_n,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Ht&&!Rr&&It!=="combobox"&&It!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Yt||Cn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Wn!=null){var Nr=toArray(Wn);warning(!sr||Nr.every(function(_r){return _typeof(_r)==="object"&&("key"in _r||"value"in _r)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Er||Array.isArray(Wn),"`value` should be array when `mode` is `multiple` or `tags`")}if(Xt){var Qr=null;toNodeArray(Xt).some(function(_r){if(!React.isValidElement(_r)||!_r.type)return!1;var Fr=_r,jr=Fr.type;if(jr.isSelectOption)return!1;if(jr.isSelectOptGroup){var Pi=toNodeArray(_r.props.children).every(function(di){return!React.isValidElement(di)||!_r.type||di.type.isSelectOption?!0:(Qr=di.type,!1)});return!Pi}return Qr=jr,!0}),Qr&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Qr.displayName||Qr.name||Qr,"`.")),warning(Dn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function yi(kt,It){if(kt){var en=function Xt(wn){for(var zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_n=0;_n<wn.length;_n++){var dr=wn[_n];if(dr[It==null?void 0:It.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!zn&&Array.isArray(dr[It==null?void 0:It.options])&&Xt(dr[It==null?void 0:It.options],!0))break}};en(kt)}}var ji=null,qi=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],oi=["inputValue"];function Sn(kt){return!kt||(0,ne.Z)(kt)!=="object"}var Ln=oe.forwardRef(function(kt,It){var en=kt.id,Xt=kt.mode,wn=kt.prefixCls,zn=wn===void 0?"rc-select":wn,_n=kt.backfill,dr=kt.fieldNames,Zt=kt.inputValue,Ht=kt.searchValue,Yt=kt.onSearch,Cn=kt.autoClearSearchValue,sr=Cn===void 0?!0:Cn,Wn=kt.onSelect,Dn=kt.onDeselect,kr=kt.dropdownMatchSelectWidth,Er=kr===void 0?!0:kr,Rr=kt.filterOption,br=kt.filterSort,tr=kt.optionFilterProp,Nr=kt.optionLabelProp,Qr=kt.options,_r=kt.children,Fr=kt.defaultActiveFirstOption,jr=kt.menuItemSelectedIcon,Pi=kt.virtual,di=kt.direction,Ai=kt.listHeight,Ti=Ai===void 0?200:Ai,Hi=kt.listItemHeight,Oi=Hi===void 0?20:Hi,ua=kt.value,Ni=kt.defaultValue,mi=kt.labelInValue,ea=kt.onChange,da=(0,ae.Z)(kt,qi),Si=ma(en),$a=Ar(Xt),io=!!(!Qr&&_r),Za=oe.useMemo(function(){return Rr===void 0&&Xt==="combobox"?!1:Rr},[Rr,Xt]),Ea=oe.useMemo(function(){return Ur(dr,io)},[JSON.stringify(dr),io]),Yi=Se("",{value:Ht!==void 0?Ht:Zt,postState:function(nr){return nr||""}}),xo=(0,te.Z)(Yi,2),Da=xo[0],Fi=xo[1],Ba=ya(Qr,_r,Ea,tr,Nr),lo=Ba.valueOptions,za=Ba.labelOptions,ao=Ba.options,pa=oe.useCallback(function(Mn){var nr=Mi(Mn);return nr.map(function(rr){var vr,Jr,zr,wi,Yr;if(Sn(rr))vr=rr;else{var ci;zr=rr.key,Jr=rr.label,vr=(ci=rr.value)!==null&&ci!==void 0?ci:zr}var ei=lo.get(vr);if(ei){var Ci;if(Jr===void 0&&(Jr=ei==null?void 0:ei[Nr||Ea.label]),zr===void 0&&(zr=(Ci=ei==null?void 0:ei.key)!==null&&Ci!==void 0?Ci:vr),wi=ei==null?void 0:ei.disabled,Yr=ei==null?void 0:ei.title,0)var Vi}return{label:Jr,value:vr,key:zr,disabled:wi,title:Yr}})},[Ea,Nr,lo]),po=Se(Ni,{value:ua}),mo=(0,te.Z)(po,2),fo=mo[0],vo=mo[1],Mo=oe.useMemo(function(){var Mn,nr=pa(fo);return Xt==="combobox"&&nn((Mn=nr[0])===null||Mn===void 0?void 0:Mn.value)?[]:nr},[fo,pa,Xt]),Ho=ir(Mo,lo),ho=(0,te.Z)(Ho,2),ko=ho[0],$o=ho[1],Yo=oe.useMemo(function(){if(!Xt&&ko.length===1){var Mn=ko[0];if(Mn.value===null&&(Mn.label===null||Mn.label===void 0))return[]}return ko.map(function(nr){var rr;return(0,ie.Z)((0,ie.Z)({},nr),{},{label:(rr=nr.label)!==null&&rr!==void 0?rr:nr.value})})},[Xt,ko]),as=oe.useMemo(function(){return new Set(ko.map(function(Mn){return Mn.value}))},[ko]);oe.useEffect(function(){if(Xt==="combobox"){var Mn,nr=(Mn=ko[0])===null||Mn===void 0?void 0:Mn.value;Fi(Ii(nr)?String(nr):"")}},[ko]);var Bo=Ka(function(Mn,nr){var rr,vr=nr!=null?nr:Mn;return rr={},(0,me.Z)(rr,Ea.value,Mn),(0,me.Z)(rr,Ea.label,vr),rr}),wo=oe.useMemo(function(){if(Xt!=="tags")return ao;var Mn=(0,Te.Z)(ao),nr=function(vr){return lo.has(vr)};return(0,Te.Z)(ko).sort(function(rr,vr){return rr.value<vr.value?-1:1}).forEach(function(rr){var vr=rr.value;nr(vr)||Mn.push(Bo(vr,rr.label))}),Mn},[Bo,ao,lo,ko,Xt]),La=Vr(wo,Ea,Da,Za,tr),Ha=oe.useMemo(function(){return Xt!=="tags"||!Da||La.some(function(Mn){return Mn[tr||"value"]===Da})||La.some(function(Mn){return Mn[Ea.value]===Da})?La:[Bo(Da)].concat((0,Te.Z)(La))},[Bo,tr,Xt,La,Da,Ea]),uo=oe.useMemo(function(){return br?(0,Te.Z)(Ha).sort(function(Mn,nr){return br(Mn,nr)}):Ha},[Ha,br]),bo=oe.useMemo(function(){return Zr(uo,{fieldNames:Ea,childrenAsData:io})},[uo,Ea,io]),Fo=function(nr){var rr=pa(nr);if(vo(rr),ea&&(rr.length!==ko.length||rr.some(function(zr,wi){var Yr;return((Yr=ko[wi])===null||Yr===void 0?void 0:Yr.value)!==(zr==null?void 0:zr.value)}))){var vr=mi?rr:rr.map(function(zr){return zr.value}),Jr=rr.map(function(zr){return ln($o(zr.value))});ea($a?vr:vr[0],$a?Jr:Jr[0])}},es=oe.useState(null),ms=(0,te.Z)(es,2),_s=ms[0],Fs=ms[1],os=oe.useState(0),Is=(0,te.Z)(os,2),to=Is[0],Aa=Is[1],Do=Fr!==void 0?Fr:Xt!=="combobox",To=oe.useCallback(function(Mn,nr){var rr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},vr=rr.source,Jr=vr===void 0?"keyboard":vr;Aa(nr),_n&&Xt==="combobox"&&Mn!==null&&Jr==="keyboard"&&Fs(String(Mn))},[_n,Xt]),Ct=function(nr,rr,vr){var Jr=function(){var ta,ba=$o(nr);return[mi?{label:ba==null?void 0:ba[Ea.label],value:nr,key:(ta=ba==null?void 0:ba.key)!==null&&ta!==void 0?ta:nr}:nr,ln(ba)]};if(rr&&Wn){var zr=Jr(),wi=(0,te.Z)(zr,2),Yr=wi[0],ci=wi[1];Wn(Yr,ci)}else if(!rr&&Dn&&vr!=="clear"){var ei=Jr(),Ci=(0,te.Z)(ei,2),Vi=Ci[0],oa=Ci[1];Dn(Vi,oa)}},Lt=Ka(function(Mn,nr){var rr,vr=$a?nr.selected:!0;vr?rr=$a?[].concat((0,Te.Z)(ko),[Mn]):[Mn]:rr=ko.filter(function(Jr){return Jr.value!==Mn}),Fo(rr),Ct(Mn,vr),Xt==="combobox"?Fs(""):(!Ar||sr)&&(Fi(""),Fs(""))}),dn=function(nr,rr){Fo(nr);var vr=rr.type,Jr=rr.values;(vr==="remove"||vr==="clear")&&Jr.forEach(function(zr){Ct(zr.value,!1,vr)})},un=function(nr,rr){if(Fi(nr),Fs(null),rr.source==="submit"){var vr=(nr||"").trim();if(vr){var Jr=Array.from(new Set([].concat((0,Te.Z)(as),[vr])));Fo(Jr),Ct(vr,!0),Fi("")}return}rr.source!=="blur"&&(Xt==="combobox"&&Fo(nr),Yt==null||Yt(nr))},Un=function(nr){var rr=nr;Xt!=="tags"&&(rr=nr.map(function(Jr){var zr=za.get(Jr);return zr==null?void 0:zr.value}).filter(function(Jr){return Jr!==void 0}));var vr=Array.from(new Set([].concat((0,Te.Z)(as),(0,Te.Z)(rr))));Fo(vr),vr.forEach(function(Jr){Ct(Jr,!0)})},Pn=oe.useMemo(function(){var Mn=Pi!==!1&&Er!==!1;return(0,ie.Z)((0,ie.Z)({},Ba),{},{flattenOptions:bo,onActiveValue:To,defaultActiveFirstOption:Do,onSelect:Lt,menuItemSelectedIcon:jr,rawValues:as,fieldNames:Ea,virtual:Mn,direction:di,listHeight:Ti,listItemHeight:Oi,childrenAsData:io})},[Ba,bo,To,Do,Lt,jr,as,Ea,Pi,Er,Ti,Oi,io]);return oe.createElement(sn.Provider,{value:Pn},oe.createElement(lr,(0,x.Z)({},da,{id:Si,prefixCls:zn,ref:It,omitDomProps:oi,mode:Xt,displayValues:Yo,onDisplayValuesChange:dn,direction:di,searchValue:Da,onSearch:un,autoClearSearchValue:sr,onSearchSplit:Un,dropdownMatchSelectWidth:Er,OptionList:pi,emptyOptions:!bo.length,activeValue:_s,activeDescendantId:"".concat(Si,"_list_").concat(to)})))}),Yn=Ln;Yn.Option=ro,Yn.OptGroup=ca;var qe=Yn,yt=qe,St=ve(10366),Dt=ve(8745),Tt=ve(33603),Nt=ve(9708),_t=ve(53124),rn=ve(98866),vn=ve(88258),Vn=ve(98675),$n=ve(65223),Xn=ve(4173),On=ve(87244),In=ve(13458),En=ve(78642),Hn=ve(46163),mr=function(kt,It){var en={};for(var Xt in kt)Object.prototype.hasOwnProperty.call(kt,Xt)&&It.indexOf(Xt)<0&&(en[Xt]=kt[Xt]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wn=0,Xt=Object.getOwnPropertySymbols(kt);wn<Xt.length;wn++)It.indexOf(Xt[wn])<0&&Object.prototype.propertyIsEnumerable.call(kt,Xt[wn])&&(en[Xt[wn]]=kt[Xt[wn]]);return en};const Qn="SECRET_COMBOBOX_MODE_DO_NOT_USE",or=(kt,It)=>{var en,{prefixCls:Xt,bordered:wn=!0,className:zn,rootClassName:_n,getPopupContainer:dr,popupClassName:Zt,dropdownClassName:Ht,listHeight:Yt=256,placement:Cn,listItemHeight:sr=24,size:Wn,disabled:Dn,notFoundContent:kr,status:Er,builtinPlacements:Rr,dropdownMatchSelectWidth:br,popupMatchSelectWidth:tr,direction:Nr,style:Qr,allowClear:_r}=kt,Fr=mr(kt,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:jr,getPrefixCls:Pi,renderEmpty:di,direction:Ai,virtual:Ti,popupMatchSelectWidth:Hi,popupOverflow:Oi,select:ua}=oe.useContext(_t.E_),Ni=Pi("select",Xt),mi=Pi(),ea=Nr!=null?Nr:Ai,{compactSize:da,compactItemClassnames:Si}=(0,Xn.ri)(Ni,ea),[$a,io]=(0,On.Z)(Ni),Za=oe.useMemo(()=>{const{mode:wo}=Fr;if(wo!=="combobox")return wo===Qn?"combobox":wo},[Fr.mode]),Ea=Za==="multiple"||Za==="tags",Yi=(0,En.Z)(Fr.suffixIcon,Fr.showArrow),xo=(en=tr!=null?tr:br)!==null&&en!==void 0?en:Hi,{status:Da,hasFeedback:Fi,isFormItemInput:Ba,feedbackIcon:lo}=oe.useContext($n.aM),za=(0,Nt.F)(Da,Er);let ao;kr!==void 0?ao=kr:Za==="combobox"?ao=null:ao=(di==null?void 0:di("Select"))||oe.createElement(vn.Z,{componentName:"Select"});const{suffixIcon:pa,itemIcon:po,removeIcon:mo,clearIcon:fo}=(0,Hn.Z)(Object.assign(Object.assign({},Fr),{multiple:Ea,hasFeedback:Fi,feedbackIcon:lo,showSuffixIcon:Yi,prefixCls:Ni,showArrow:Fr.showArrow,componentName:"Select"})),vo=_r===!0?{clearIcon:fo}:_r,Mo=(0,St.Z)(Fr,["suffixIcon","itemIcon"]),Ho=$e()(Zt||Ht,{[`${Ni}-dropdown-${ea}`]:ea==="rtl"},_n,io),ho=(0,Vn.Z)(wo=>{var La;return(La=Wn!=null?Wn:da)!==null&&La!==void 0?La:wo}),ko=oe.useContext(rn.Z),$o=Dn!=null?Dn:ko,Yo=$e()({[`${Ni}-lg`]:ho==="large",[`${Ni}-sm`]:ho==="small",[`${Ni}-rtl`]:ea==="rtl",[`${Ni}-borderless`]:!wn,[`${Ni}-in-form-item`]:Ba},(0,Nt.Z)(Ni,za,Fi),Si,ua==null?void 0:ua.className,zn,_n,io),as=oe.useMemo(()=>Cn!==void 0?Cn:ea==="rtl"?"bottomRight":"bottomLeft",[Cn,ea]),Bo=(0,In.Z)(Rr,Oi);return $a(oe.createElement(yt,Object.assign({ref:It,virtual:Ti,showSearch:ua==null?void 0:ua.showSearch},Mo,{style:Object.assign(Object.assign({},ua==null?void 0:ua.style),Qr),dropdownMatchSelectWidth:xo,builtinPlacements:Bo,transitionName:(0,Tt.m)(mi,"slide-up",Fr.transitionName),listHeight:Yt,listItemHeight:sr,mode:Za,prefixCls:Ni,placement:as,direction:ea,suffixIcon:pa,menuItemSelectedIcon:po,removeIcon:mo,allowClear:vo,notFoundContent:ao,className:Yo,getPopupContainer:dr||jr,dropdownClassName:Ho,disabled:$o})))},ur=oe.forwardRef(or),yr=(0,Dt.Z)(ur);ur.SECRET_COMBOBOX_MODE_DO_NOT_USE=Qn,ur.Option=ro,ur.OptGroup=ca,ur._InternalPanelDoNotUseOrYouWillBeFired=yr;var Sr=ur},87244:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return ye}});var Oe=ve(14747),$e=ve(80110),x=ve(45503),Te=ve(67968),me=ve(67771),ie=ve(33297);const te=be=>{const{optionHeight:Fe,optionFontSize:ke,optionLineHeight:Ie,optionPadding:Le}=be;return{position:"relative",display:"block",minHeight:Fe,padding:Le,color:be.colorText,fontWeight:"normal",fontSize:ke,lineHeight:Ie,boxSizing:"border-box"}};var ne=be=>{const{antCls:Fe,componentCls:ke}=be,Ie=`${ke}-item`,Le=`&${Fe}-slide-up-enter${Fe}-slide-up-enter-active`,De=`&${Fe}-slide-up-appear${Fe}-slide-up-appear-active`,Be=`&${Fe}-slide-up-leave${Fe}-slide-up-leave-active`,Ue=`${ke}-dropdown-placement-`;return[{[`${ke}-dropdown`]:Object.assign(Object.assign({},(0,Oe.Wf)(be)),{position:"absolute",top:-9999,zIndex:be.zIndexPopup,boxSizing:"border-box",padding:be.paddingXXS,overflow:"hidden",fontSize:be.fontSize,fontVariant:"initial",backgroundColor:be.colorBgElevated,borderRadius:be.borderRadiusLG,outline:"none",boxShadow:be.boxShadowSecondary,[`
${Le}${Ue}bottomLeft,
${De}${Ue}bottomLeft
`]:{animationName:me.fJ},[`
${Le}${Ue}topLeft,
${De}${Ue}topLeft,
${Le}${Ue}topRight,
${De}${Ue}topRight
`]:{animationName:me.Qt},[`${Be}${Ue}bottomLeft`]:{animationName:me.Uw},[`
${Be}${Ue}topLeft,
${Be}${Ue}topRight
`]:{animationName:me.ly},"&-hidden":{display:"none"},[`${Ie}`]:Object.assign(Object.assign({},te(be)),{cursor:"pointer",transition:`background ${be.motionDurationSlow} ease`,borderRadius:be.borderRadiusSM,"&-group":{color:be.colorTextDescription,fontSize:be.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Oe.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Ie}-option-disabled)`]:{backgroundColor:be.optionActiveBg},[`&-selected:not(${Ie}-option-disabled)`]:{color:be.optionSelectedColor,fontWeight:be.optionSelectedFontWeight,backgroundColor:be.optionSelectedBg,[`${Ie}-option-state`]:{color:be.colorPrimary}},"&-disabled":{[`&${Ie}-option-selected`]:{backgroundColor:be.colorBgContainerDisabled},color:be.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:be.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,me.oN)(be,"slide-up"),(0,me.oN)(be,"slide-down"),(0,ie.Fm)(be,"move-up"),(0,ie.Fm)(be,"move-down")]};const oe=2,he=be=>{let{controlHeightSM:Fe,controlHeight:ke,lineWidth:Ie}=be;const Le=(ke-Fe)/2-Ie,De=Math.ceil(Le/2);return[Le,De]};function re(be,Fe){const{componentCls:ke,iconCls:Ie}=be,Le=`${ke}-selection-overflow`,De=be.multipleSelectItemHeight,[Be]=he(be),Ue=Fe?`${ke}-${Fe}`:"";return{[`${ke}-multiple${Ue}`]:{fontSize:be.fontSize,[Le]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${ke}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${Be-oe}px ${oe*2}px`,borderRadius:be.borderRadius,[`${ke}-show-search&`]:{cursor:"text"},[`${ke}-disabled&`]:{background:be.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${oe}px 0`,lineHeight:`${De}px`,visibility:"hidden",content:'"\\a0"'}},[`
&${ke}-show-arrow ${ke}-selector,
&${ke}-allow-clear ${ke}-selector
`]:{paddingInlineEnd:be.fontSizeIcon+be.controlPaddingHorizontal},[`${ke}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:De,marginTop:oe,marginBottom:oe,lineHeight:`${De-be.lineWidth*2}px`,background:be.multipleItemBg,border:`${be.lineWidth}px ${be.lineType} ${be.multipleItemBorderColor}`,borderRadius:be.borderRadiusSM,cursor:"default",transition:`font-size ${be.motionDurationSlow}, line-height ${be.motionDurationSlow}, height ${be.motionDurationSlow}`,userSelect:"none",marginInlineEnd:oe*2,paddingInlineStart:be.paddingXS,paddingInlineEnd:be.paddingXS/2,[`${ke}-disabled&`]:{color:be.multipleItemColorDisabled,borderColor:be.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:be.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Oe.Ro)()),{display:"inline-flex",alignItems:"center",color:be.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Ie}`]:{verticalAlign:"-0.2em"},"&:hover":{color:be.colorIconHover}})},[`${Le}-item + ${Le}-item`]:{[`${ke}-selection-search`]:{marginInlineStart:0}},[`${ke}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:be.inputPaddingHorizontalBase-Be,"\n &-input,\n &-mirror\n ":{height:De,fontFamily:be.fontFamily,lineHeight:`${De}px`,transition:`all ${be.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${ke}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:be.inputPaddingHorizontalBase,insetInlineEnd:be.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${be.motionDurationSlow}`}}}}var ce=be=>{const{componentCls:Fe}=be,ke=(0,x.TS)(be,{controlHeight:be.controlHeightSM,multipleSelectItemHeight:be.controlHeightXS,borderRadius:be.borderRadiusSM,borderRadiusSM:be.borderRadiusXS}),Ie=(0,x.TS)(be,{fontSize:be.fontSizeLG,controlHeight:be.controlHeightLG,multipleSelectItemHeight:be.multipleItemHeightLG,borderRadius:be.borderRadiusLG,borderRadiusSM:be.borderRadius}),[,Le]=he(be);return[re(be),re(ke,"sm"),{[`${Fe}-multiple${Fe}-sm`]:{[`${Fe}-selection-placeholder`]:{insetInline:be.controlPaddingHorizontalSM-be.lineWidth},[`${Fe}-selection-search`]:{marginInlineStart:Le}}},re(Ie,"lg")]};function fe(be,Fe){const{componentCls:ke,inputPaddingHorizontalBase:Ie,borderRadius:Le}=be,De=be.controlHeight-be.lineWidth*2,Be=Math.ceil(be.fontSize*1.25),Ue=Fe?`${ke}-${Fe}`:"";return{[`${ke}-single${Ue}`]:{fontSize:be.fontSize,[`${ke}-selector`]:Object.assign(Object.assign({},(0,Oe.Wf)(be)),{display:"flex",borderRadius:Le,[`${ke}-selection-search`]:{position:"absolute",top:0,insetInlineStart:Ie,insetInlineEnd:Ie,bottom:0,"&-input":{width:"100%"}},[`
${ke}-selection-item,
${ke}-selection-placeholder
`]:{padding:0,lineHeight:`${De}px`,transition:`all ${be.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${De}px`}},[`${ke}-selection-item`]:{position:"relative",userSelect:"none"},[`${ke}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${ke}-selection-item:after`,`${ke}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${ke}-show-arrow ${ke}-selection-item,
&${ke}-show-arrow ${ke}-selection-placeholder
`]:{paddingInlineEnd:Be},[`&${ke}-open ${ke}-selection-item`]:{color:be.colorTextPlaceholder},[`&:not(${ke}-customize-input)`]:{[`${ke}-selector`]:{width:"100%",height:be.controlHeight,padding:`0 ${Ie}px`,[`${ke}-selection-search-input`]:{height:De},"&:after":{lineHeight:`${De}px`}}},[`&${ke}-customize-input`]:{[`${ke}-selector`]:{"&:after":{display:"none"},[`${ke}-selection-search`]:{position:"static",width:"100%"},[`${ke}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Ie}px`,"&:after":{display:"none"}}}}}}}function pe(be){const{componentCls:Fe}=be,ke=be.controlPaddingHorizontalSM-be.lineWidth;return[fe(be),fe((0,x.TS)(be,{controlHeight:be.controlHeightSM,borderRadius:be.borderRadiusSM}),"sm"),{[`${Fe}-single${Fe}-sm`]:{[`&:not(${Fe}-customize-input)`]:{[`${Fe}-selection-search`]:{insetInlineStart:ke,insetInlineEnd:ke},[`${Fe}-selector`]:{padding:`0 ${ke}px`},[`&${Fe}-show-arrow ${Fe}-selection-search`]:{insetInlineEnd:ke+be.fontSize*1.5},[`
&${Fe}-show-arrow ${Fe}-selection-item,
&${Fe}-show-arrow ${Fe}-selection-placeholder
`]:{paddingInlineEnd:be.fontSize*1.5}}}},fe((0,x.TS)(be,{controlHeight:be.singleItemHeightLG,fontSize:be.fontSizeLG,borderRadius:be.borderRadiusLG}),"lg")]}const le=be=>{const{componentCls:Fe,selectorBg:ke}=be;return{position:"relative",backgroundColor:ke,border:`${be.lineWidth}px ${be.lineType} ${be.colorBorder}`,transition:`all ${be.motionDurationMid} ${be.motionEaseInOut}`,input:{cursor:"pointer"},[`${Fe}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${Fe}-disabled&`]:{color:be.colorTextDisabled,background:be.colorBgContainerDisabled,cursor:"not-allowed",[`${Fe}-multiple&`]:{background:be.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},Se=function(be,Fe){let ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:Ie,borderHoverColor:Le,outlineColor:De,antCls:Be}=Fe,Ue=ke?{[`${Ie}-selector`]:{borderColor:Le}}:{};return{[be]:{[`&:not(${Ie}-disabled):not(${Ie}-customize-input):not(${Be}-pagination-size-changer)`]:Object.assign(Object.assign({},Ue),{[`${Ie}-focused& ${Ie}-selector`]:{borderColor:Le,boxShadow:`0 0 0 ${Fe.controlOutlineWidth}px ${De}`,outline:0},[`&:hover ${Ie}-selector`]:{borderColor:Le}})}}},xe=be=>{const{componentCls:Fe}=be;return{[`${Fe}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},ge=be=>{const{componentCls:Fe,inputPaddingHorizontalBase:ke,iconCls:Ie}=be;return{[Fe]:Object.assign(Object.assign({},(0,Oe.Wf)(be)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${Fe}-customize-input) ${Fe}-selector`]:Object.assign(Object.assign({},le(be)),xe(be)),[`${Fe}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},Oe.vS),[`${Fe}-selection-placeholder`]:Object.assign(Object.assign({},Oe.vS),{flex:1,color:be.colorTextPlaceholder,pointerEvents:"none"}),[`${Fe}-arrow`]:Object.assign(Object.assign({},(0,Oe.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ke,height:be.fontSizeIcon,marginTop:-be.fontSizeIcon/2,color:be.colorTextQuaternary,fontSize:be.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[Ie]:{verticalAlign:"top",transition:`transform ${be.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Fe}-suffix)`]:{pointerEvents:"auto"}},[`${Fe}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Fe}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ke,zIndex:1,display:"inline-block",width:be.fontSizeIcon,height:be.fontSizeIcon,marginTop:-be.fontSizeIcon/2,color:be.colorTextQuaternary,fontSize:be.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:be.clearBg,cursor:"pointer",opacity:0,transition:`color ${be.motionDurationMid} ease, opacity ${be.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:be.colorTextTertiary}},"&:hover":{[`${Fe}-clear`]:{opacity:1}}}),[`${Fe}-has-feedback`]:{[`${Fe}-clear`]:{insetInlineEnd:ke+be.fontSize+be.paddingXS}}}},Me=be=>{const{componentCls:Fe}=be;return[{[Fe]:{[`&-borderless ${Fe}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${Fe}-in-form-item`]:{width:"100%"}}},ge(be),pe(be),ce(be),ne(be),{[`${Fe}-rtl`]:{direction:"rtl"}},Se(Fe,(0,x.TS)(be,{borderHoverColor:be.colorPrimaryHover,outlineColor:be.controlOutline})),Se(`${Fe}-status-error`,(0,x.TS)(be,{borderHoverColor:be.colorErrorHover,outlineColor:be.colorErrorOutline}),!0),Se(`${Fe}-status-warning`,(0,x.TS)(be,{borderHoverColor:be.colorWarningHover,outlineColor:be.colorWarningOutline}),!0),(0,$e.c)(be,{borderElCls:`${Fe}-selector`,focusElCls:`${Fe}-focused`})]};var ye=(0,Te.Z)("Select",(be,Fe)=>{let{rootPrefixCls:ke}=Fe;const Ie=(0,x.TS)(be,{rootPrefixCls:ke,inputPaddingHorizontalBase:be.paddingSM-1,multipleSelectItemHeight:be.multipleItemHeight});return[Me(Ie)]},be=>{const{fontSize:Fe,lineHeight:ke,controlHeight:Ie,controlPaddingHorizontal:Le,zIndexPopupBase:De,colorText:Be,fontWeightStrong:Ue,controlItemBgActive:_e,controlItemBgHover:We,colorBgContainer:Ze,colorFillSecondary:et,controlHeightLG:at,controlHeightSM:pt,colorBgContainerDisabled:Xe,colorTextDisabled:Ge}=be;return{zIndexPopup:De+50,optionSelectedColor:Be,optionSelectedFontWeight:Ue,optionSelectedBg:_e,optionActiveBg:We,optionPadding:`${(Ie-Fe*ke)/2}px ${Le}px`,optionFontSize:Fe,optionLineHeight:ke,optionHeight:Ie,selectorBg:Ze,clearBg:Ze,singleItemHeightLG:at,multipleItemBg:et,multipleItemBorderColor:"transparent",multipleItemHeight:pt,multipleItemHeightLG:Ie,multipleSelectorBgDisabled:Xe,multipleItemColorDisabled:Ge,multipleItemBorderColorDisabled:"transparent"}})},13458:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return $e}});const Oe=x=>{const me={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:x==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},me),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},me),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},me),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},me),{points:["br","tr"],offset:[0,-4]})}};function $e(x,Te){return x||Oe(Te)}},78642:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Oe}});function Oe($e,x){return x!==void 0?x:$e!==null}},46163:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return ae}});var Oe=ve(18299),$e=ve(16646),x=ve(73475),Te=ve(42922),me=ve(3407),ie=ve(72395),te=ve(67294);function ae(ne){let{suffixIcon:oe,clearIcon:he,menuItemSelectedIcon:re,removeIcon:se,loading:ce,multiple:fe,hasFeedback:pe,prefixCls:le,showSuffixIcon:Se,feedbackIcon:xe,showArrow:ge,componentName:Me}=ne;const ye=he!=null?he:te.createElement($e.Z,null),be=Le=>oe===null&&!pe&&!ge?null:te.createElement(te.Fragment,null,Se!==!1&&Le,pe&&xe);let Fe=null;if(oe!==void 0)Fe=be(oe);else if(ce)Fe=be(te.createElement(me.Z,{spin:!0}));else{const Le=`${le}-suffix`;Fe=De=>{let{open:Be,showSearch:Ue}=De;return be(Be&&Ue?te.createElement(ie.Z,{className:Le}):te.createElement(Te.Z,{className:Le}))}}let ke=null;re!==void 0?ke=re:fe?ke=te.createElement(Oe.Z,null):ke=null;let Ie=null;return se!==void 0?Ie=se:Ie=te.createElement(x.Z,null),{clearIcon:ye,suffixIcon:Fe,itemIcon:ke,removeIcon:Ie}}},46303:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Ce}});var Oe=ve(94184),$e=ve.n(Oe),x=ve(67294),Te=ve(53124),me=ve(10366),te=He=>{const{prefixCls:je,className:Ae,style:Re,size:ze,shape:Qe}=He,ot=$e()({[`${je}-lg`]:ze==="large",[`${je}-sm`]:ze==="small"}),mt=$e()({[`${je}-circle`]:Qe==="circle",[`${je}-square`]:Qe==="square",[`${je}-round`]:Qe==="round"}),Ot=x.useMemo(()=>typeof ze=="number"?{width:ze,height:ze,lineHeight:`${ze}px`}:{},[ze]);return x.createElement("span",{className:$e()(je,ot,mt,Ae),style:Object.assign(Object.assign({},Ot),Re)})},ae=ve(45930),ne=ve(67968),oe=ve(45503);const he=new ae.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),re=He=>({height:He,lineHeight:`${He}px`}),se=He=>Object.assign({width:He},re(He)),ce=He=>({background:He.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:he,animationDuration:He.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),fe=He=>Object.assign({width:He*5,minWidth:He*5},re(He)),pe=He=>{const{skeletonAvatarCls:je,gradientFromColor:Ae,controlHeight:Re,controlHeightLG:ze,controlHeightSM:Qe}=He;return{[`${je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ae},se(Re)),[`${je}${je}-circle`]:{borderRadius:"50%"},[`${je}${je}-lg`]:Object.assign({},se(ze)),[`${je}${je}-sm`]:Object.assign({},se(Qe))}},le=He=>{const{controlHeight:je,borderRadiusSM:Ae,skeletonInputCls:Re,controlHeightLG:ze,controlHeightSM:Qe,gradientFromColor:ot}=He;return{[`${Re}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ot,borderRadius:Ae},fe(je)),[`${Re}-lg`]:Object.assign({},fe(ze)),[`${Re}-sm`]:Object.assign({},fe(Qe))}},Se=He=>Object.assign({width:He},re(He)),xe=He=>{const{skeletonImageCls:je,imageSizeBase:Ae,gradientFromColor:Re,borderRadiusSM:ze}=He;return{[`${je}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Re,borderRadius:ze},Se(Ae*2)),{[`${je}-path`]:{fill:"#bfbfbf"},[`${je}-svg`]:Object.assign(Object.assign({},Se(Ae)),{maxWidth:Ae*4,maxHeight:Ae*4}),[`${je}-svg${je}-svg-circle`]:{borderRadius:"50%"}}),[`${je}${je}-circle`]:{borderRadius:"50%"}}},ge=(He,je,Ae)=>{const{skeletonButtonCls:Re}=He;return{[`${Ae}${Re}-circle`]:{width:je,minWidth:je,borderRadius:"50%"},[`${Ae}${Re}-round`]:{borderRadius:je}}},Me=He=>Object.assign({width:He*2,minWidth:He*2},re(He)),ye=He=>{const{borderRadiusSM:je,skeletonButtonCls:Ae,controlHeight:Re,controlHeightLG:ze,controlHeightSM:Qe,gradientFromColor:ot}=He;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ae}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ot,borderRadius:je,width:Re*2,minWidth:Re*2},Me(Re))},ge(He,Re,Ae)),{[`${Ae}-lg`]:Object.assign({},Me(ze))}),ge(He,ze,`${Ae}-lg`)),{[`${Ae}-sm`]:Object.assign({},Me(Qe))}),ge(He,Qe,`${Ae}-sm`))},be=He=>{const{componentCls:je,skeletonAvatarCls:Ae,skeletonTitleCls:Re,skeletonParagraphCls:ze,skeletonButtonCls:Qe,skeletonInputCls:ot,skeletonImageCls:mt,controlHeight:Ot,controlHeightLG:xt,controlHeightSM:Wt,gradientFromColor:bn,padding:Ft,marginSM:Qt,borderRadius:Vt,titleHeight:yn,blockRadius:Pt,paragraphLiHeight:zt,controlHeightXS:an,paragraphMarginTop:gn}=He;return{[`${je}`]:{display:"table",width:"100%",[`${je}-header`]:{display:"table-cell",paddingInlineEnd:Ft,verticalAlign:"top",[`${Ae}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:bn},se(Ot)),[`${Ae}-circle`]:{borderRadius:"50%"},[`${Ae}-lg`]:Object.assign({},se(xt)),[`${Ae}-sm`]:Object.assign({},se(Wt))},[`${je}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Re}`]:{width:"100%",height:yn,background:bn,borderRadius:Pt,[`+ ${ze}`]:{marginBlockStart:Wt}},[`${ze}`]:{padding:0,"> li":{width:"100%",height:zt,listStyle:"none",background:bn,borderRadius:Pt,"+ li":{marginBlockStart:an}}},[`${ze}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${je}-content`]:{[`${Re}, ${ze} > li`]:{borderRadius:Vt}}},[`${je}-with-avatar ${je}-content`]:{[`${Re}`]:{marginBlockStart:Qt,[`+ ${ze}`]:{marginBlockStart:gn}}},[`${je}${je}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ye(He)),pe(He)),le(He)),xe(He)),[`${je}${je}-block`]:{width:"100%",[`${Qe}`]:{width:"100%"},[`${ot}`]:{width:"100%"}},[`${je}${je}-active`]:{[`
${Re},
${ze} > li,
${Ae},
${Qe},
${ot},
${mt}
`]:Object.assign({},ce(He))}}};var Fe=(0,ne.Z)("Skeleton",He=>{const{componentCls:je}=He,Ae=(0,oe.TS)(He,{skeletonAvatarCls:`${je}-avatar`,skeletonTitleCls:`${je}-title`,skeletonParagraphCls:`${je}-paragraph`,skeletonButtonCls:`${je}-button`,skeletonInputCls:`${je}-input`,skeletonImageCls:`${je}-image`,imageSizeBase:He.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${He.gradientFromColor} 25%, ${He.gradientToColor} 37%, ${He.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[be(Ae)]},He=>{const{colorFillContent:je,colorFill:Ae}=He,Re=je,ze=Ae;return{color:Re,colorGradientEnd:ze,gradientFromColor:Re,gradientToColor:ze,titleHeight:He.controlHeight/2,blockRadius:He.borderRadiusSM,paragraphMarginTop:He.marginLG+He.marginXXS,paragraphLiHeight:He.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ie=He=>{const{prefixCls:je,className:Ae,rootClassName:Re,active:ze,shape:Qe="circle",size:ot="default"}=He,{getPrefixCls:mt}=x.useContext(Te.E_),Ot=mt("skeleton",je),[xt,Wt]=Fe(Ot),bn=(0,me.Z)(He,["prefixCls","className"]),Ft=$e()(Ot,`${Ot}-element`,{[`${Ot}-active`]:ze},Ae,Re,Wt);return xt(x.createElement("div",{className:Ft},x.createElement(te,Object.assign({prefixCls:`${Ot}-avatar`,shape:Qe,size:ot},bn))))},De=He=>{const{prefixCls:je,className:Ae,rootClassName:Re,active:ze,block:Qe=!1,size:ot="default"}=He,{getPrefixCls:mt}=x.useContext(Te.E_),Ot=mt("skeleton",je),[xt,Wt]=Fe(Ot),bn=(0,me.Z)(He,["prefixCls"]),Ft=$e()(Ot,`${Ot}-element`,{[`${Ot}-active`]:ze,[`${Ot}-block`]:Qe},Ae,Re,Wt);return xt(x.createElement("div",{className:Ft},x.createElement(te,Object.assign({prefixCls:`${Ot}-button`,size:ot},bn))))};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 _e=He=>{const{prefixCls:je,className:Ae,rootClassName:Re,style:ze,active:Qe}=He,{getPrefixCls:ot}=x.useContext(Te.E_),mt=ot("skeleton",je),[Ot,xt]=Fe(mt),Wt=$e()(mt,`${mt}-element`,{[`${mt}-active`]:Qe},Ae,Re,xt);return Ot(x.createElement("div",{className:Wt},x.createElement("div",{className:$e()(`${mt}-image`,Ae),style:ze},x.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${mt}-image-svg`},x.createElement("path",{d:Be,className:`${mt}-image-path`})))))},Ze=He=>{const{prefixCls:je,className:Ae,rootClassName:Re,active:ze,block:Qe,size:ot="default"}=He,{getPrefixCls:mt}=x.useContext(Te.E_),Ot=mt("skeleton",je),[xt,Wt]=Fe(Ot),bn=(0,me.Z)(He,["prefixCls"]),Ft=$e()(Ot,`${Ot}-element`,{[`${Ot}-active`]:ze,[`${Ot}-block`]:Qe},Ae,Re,Wt);return xt(x.createElement("div",{className:Ft},x.createElement(te,Object.assign({prefixCls:`${Ot}-input`,size:ot},bn))))},et=ve(87462),at={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"},pt=at,Xe=ve(74643),Ge=function(je,Ae){return x.createElement(Xe.Z,(0,et.Z)({},je,{ref:Ae,icon:pt}))},lt=x.forwardRef(Ge),st=He=>{const{prefixCls:je,className:Ae,rootClassName:Re,style:ze,active:Qe,children:ot}=He,{getPrefixCls:mt}=x.useContext(Te.E_),Ot=mt("skeleton",je),[xt,Wt]=Fe(Ot),bn=$e()(Ot,`${Ot}-element`,{[`${Ot}-active`]:Qe},Wt,Ae,Re),Ft=ot!=null?ot:x.createElement(lt,null);return xt(x.createElement("div",{className:bn},x.createElement("div",{className:$e()(`${Ot}-image`,Ae),style:ze},Ft)))},nt=ve(74902),it=He=>{const je=mt=>{const{width:Ot,rows:xt=2}=He;if(Array.isArray(Ot))return Ot[mt];if(xt-1===mt)return Ot},{prefixCls:Ae,className:Re,style:ze,rows:Qe}=He,ot=(0,nt.Z)(Array(Qe)).map((mt,Ot)=>x.createElement("li",{key:Ot,style:{width:je(Ot)}}));return x.createElement("ul",{className:$e()(Ae,Re),style:ze},ot)},vt=He=>{let{prefixCls:je,className:Ae,width:Re,style:ze}=He;return x.createElement("h3",{className:$e()(je,Ae),style:Object.assign({width:Re},ze)})};function At(He){return He&&typeof He=="object"?He:{}}function Et(He,je){return He&&!je?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function ut(He,je){return!He&&je?{width:"38%"}:He&&je?{width:"50%"}:{}}function Ye(He,je){const Ae={};return(!He||!je)&&(Ae.width="61%"),!He&&je?Ae.rows=3:Ae.rows=2,Ae}const Ve=He=>{const{prefixCls:je,loading:Ae,className:Re,rootClassName:ze,style:Qe,children:ot,avatar:mt=!1,title:Ot=!0,paragraph:xt=!0,active:Wt,round:bn}=He,{getPrefixCls:Ft,direction:Qt,skeleton:Vt}=x.useContext(Te.E_),yn=Ft("skeleton",je),[Pt,zt]=Fe(yn);if(Ae||!("loading"in He)){const an=!!mt,gn=!!Ot,Tn=!!xt;let Gn;if(an){const Wr=Object.assign(Object.assign({prefixCls:`${yn}-avatar`},Et(gn,Tn)),At(mt));Gn=x.createElement("div",{className:`${yn}-header`},x.createElement(te,Object.assign({},Wr)))}let fr;if(gn||Tn){let Wr;if(gn){const Dr=Object.assign(Object.assign({prefixCls:`${yn}-title`},ut(an,Tn)),At(Ot));Wr=x.createElement(vt,Object.assign({},Dr))}let ti;if(Tn){const Dr=Object.assign(Object.assign({prefixCls:`${yn}-paragraph`},Ye(an,gn)),At(xt));ti=x.createElement(it,Object.assign({},Dr))}fr=x.createElement("div",{className:`${yn}-content`},Wr,ti)}const Tr=$e()(yn,{[`${yn}-with-avatar`]:an,[`${yn}-active`]:Wt,[`${yn}-rtl`]:Qt==="rtl",[`${yn}-round`]:bn},Vt==null?void 0:Vt.className,Re,ze,zt);return Pt(x.createElement("div",{className:Tr,style:Object.assign(Object.assign({},Vt==null?void 0:Vt.style),Qe)},Gn,fr))}return typeof ot!="undefined"?ot:null};Ve.Button=De,Ve.Avatar=Ie,Ve.Input=Ze,Ve.Image=_e,Ve.Node=st;var de=Ve,Ce=de},55054:function(tn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return Fe}});var Oe=ve(67294),$e=ve(57838),x=ve(96159),Te=ve(94184),me=ve.n(Te),ie=ve(53124),te=ve(46303),ne=ke=>{const{value:Ie,formatter:Le,precision:De,decimalSeparator:Be,groupSeparator:Ue="",prefixCls:_e}=ke;let We;if(typeof Le=="function")We=Le(Ie);else{const Ze=String(Ie),et=Ze.match(/^(-?)(\d*)(\.(\d+))?$/);if(!et||Ze==="-")We=Ze;else{const at=et[1];let pt=et[2]||"0",Xe=et[4]||"";pt=pt.replace(/\B(?=(\d{3})+(?!\d))/g,Ue),typeof De=="number"&&(Xe=Xe.padEnd(De,"0").slice(0,De>0?De:0)),Xe&&(Xe=`${Be}${Xe}`),We=[Oe.createElement("span",{key:"int",className:`${_e}-content-value-int`},at,pt),Xe&&Oe.createElement("span",{key:"decimal",className:`${_e}-content-value-decimal`},Xe)]}}return Oe.createElement("span",{className:`${_e}-content-value`},We)},oe=ve(14747),he=ve(67968),re=ve(45503);const se=ke=>{const{componentCls:Ie,marginXXS:Le,padding:De,colorTextDescription:Be,titleFontSize:Ue,colorTextHeading:_e,contentFontSize:We,fontFamily:Ze}=ke;return{[`${Ie}`]:Object.assign(Object.assign({},(0,oe.Wf)(ke)),{[`${Ie}-title`]:{marginBottom:Le,color:Be,fontSize:Ue},[`${Ie}-skeleton`]:{paddingTop:De},[`${Ie}-content`]:{color:_e,fontSize:We,fontFamily:Ze,[`${Ie}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ie}-content-prefix, ${Ie}-content-suffix`]:{display:"inline-block"},[`${Ie}-content-prefix`]:{marginInlineEnd:Le},[`${Ie}-content-suffix`]:{marginInlineStart:Le}}})}};var ce=(0,he.Z)("Statistic",ke=>{const Ie=(0,re.TS)(ke,{});return[se(Ie)]},ke=>{const{fontSizeHeading3:Ie,fontSize:Le}=ke;return{titleFontSize:Le,contentFontSize:Ie}}),pe=ke=>{const{prefixCls:Ie,className:Le,rootClassName:De,style:Be,valueStyle:Ue,value:_e=0,title:We,valueRender:Ze,prefix:et,suffix:at,loading:pt=!1,onMouseEnter:Xe,onMouseLeave:Ge,decimalSeparator:lt=".",groupSeparator:dt=","}=ke,{getPrefixCls:st,direction:nt,statistic:rt}=Oe.useContext(ie.E_),it=st("statistic",Ie),[gt,vt]=ce(it),At=Oe.createElement(ne,Object.assign({decimalSeparator:lt,groupSeparator:dt,prefixCls:it},ke,{value:_e})),Et=me()(it,{[`${it}-rtl`]:nt==="rtl"},rt==null?void 0:rt.className,Le,De,vt);return gt(Oe.createElement("div",{className:Et,style:Object.assign(Object.assign({},rt==null?void 0:rt.style),Be),onMouseEnter:Xe,onMouseLeave:Ge},We&&Oe.createElement("div",{className:`${it}-title`},We),Oe.createElement(te.Z,{paragraph:!1,loading:pt,className:`${it}-skeleton`},Oe.createElement("div",{style:Ue,className:`${it}-content`},et&&Oe.createElement("span",{className:`${it}-content-prefix`},et),Ze?Ze(At):At,at&&Oe.createElement("span",{className:`${it}-content-suffix`},at)))))};const le=[["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 Se(ke,Ie){let Le=ke;const De=/\[[^\]]*]/g,Be=(Ie.match(De)||[]).map(Ze=>Ze.slice(1,-1)),Ue=Ie.replace(De,"[]"),_e=le.reduce((Ze,et)=>{let[at,pt]=et;if(Ze.includes(at)){const Xe=Math.floor(Le/pt);return Le-=Xe*pt,Ze.replace(new RegExp(`${at}+`,"g"),Ge=>{const lt=Ge.length;return Xe.toString().padStart(lt,"0")})}return Ze},Ue);let We=0;return _e.replace(De,()=>{const Ze=Be[We];return We+=1,Ze})}function xe(ke,Ie){const{format:Le=""}=Ie,De=new Date(ke).getTime(),Be=Date.now(),Ue=Math.max(De-Be,0);return Se(Ue,Le)}const ge=1e3/30;function Me(ke){return new Date(ke).getTime()}const ye=ke=>{const{value:Ie,format:Le="HH:mm:ss",onChange:De,onFinish:Be}=ke,Ue=(0,$e.Z)(),_e=Oe.useRef(null),We=()=>{Be==null||Be(),_e.current&&(clearInterval(_e.current),_e.current=null)},Ze=()=>{const pt=Me(Ie);pt>=Date.now()&&(_e.current=setInterval(()=>{Ue(),De==null||De(pt-Date.now()),pt<Date.now()&&We()},ge))};Oe.useEffect(()=>(Ze(),()=>{_e.current&&(clearInterval(_e.current),_e.current=null)}),[Ie]);const et=(pt,Xe)=>xe(pt,Object.assign(Object.assign({},Xe),{format:Le})),at=pt=>(0,x.Tm)(pt,{title:void 0});return Oe.createElement(pe,Object.assign({},ke,{valueRender:at,formatter:et}))};var be=Oe.memo(ye);pe.Countdown=be;var Fe=pe},33507:function(tn,Kt){"use strict";const ve=Oe=>({[Oe.componentCls]:{[`${Oe.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${Oe.motionDurationMid} ${Oe.motionEaseInOut},
opacity ${Oe.motionDurationMid} ${Oe.motionEaseInOut} !important`}},[`${Oe.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${Oe.motionDurationMid} ${Oe.motionEaseInOut},
opacity ${Oe.motionDurationMid} ${Oe.motionEaseInOut} !important`}}});Kt.Z=ve},33297:function(tn,Kt,ve){"use strict";ve.d(Kt,{Fm:function(){return re}});var Oe=ve(45930),$e=ve(93590);const x=new Oe.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Te=new Oe.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),me=new Oe.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ie=new Oe.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),te=new Oe.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ae=new Oe.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ne=new Oe.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),oe=new Oe.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),he={"move-up":{inKeyframes:ne,outKeyframes:oe},"move-down":{inKeyframes:x,outKeyframes:Te},"move-left":{inKeyframes:me,outKeyframes:ie},"move-right":{inKeyframes:te,outKeyframes:ae}},re=(se,ce)=>{const{antCls:fe}=se,pe=`${fe}-${ce}`,{inKeyframes:le,outKeyframes:Se}=he[ce];return[(0,$e.R)(pe,le,Se,se.motionDurationMid),{[`
${pe}-enter,
${pe}-appear
`]:{opacity:0,animationTimingFunction:se.motionEaseOutCirc},[`${pe}-leave`]:{animationTimingFunction:se.motionEaseInOutCirc}}]}},67771:function(tn,Kt,ve){"use strict";ve.d(Kt,{Qt:function(){return me},Uw:function(){return Te},fJ:function(){return x},ly:function(){return ie},oN:function(){return re}});var Oe=ve(45930),$e=ve(93590);const x=new Oe.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Te=new Oe.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),me=new Oe.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),ie=new Oe.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),te=new Oe.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),ae=new Oe.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),ne=new Oe.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),oe=new Oe.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),he={"slide-up":{inKeyframes:x,outKeyframes:Te},"slide-down":{inKeyframes:me,outKeyframes:ie},"slide-left":{inKeyframes:te,outKeyframes:ae},"slide-right":{inKeyframes:ne,outKeyframes:oe}},re=(se,ce)=>{const{antCls:fe}=se,pe=`${fe}-${ce}`,{inKeyframes:le,outKeyframes:Se}=he[ce];return[(0,$e.R)(pe,le,Se,se.motionDurationMid),{[`
${pe}-enter,
${pe}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:se.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${pe}-leave`]:{animationTimingFunction:se.motionEaseInQuint}}]}},47897:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return He}});var Oe=ve(3407),$e=ve(94184),x=ve.n($e);function Te(){return Te=Object.assign?Object.assign.bind():function(je){for(var Ae=1;Ae<arguments.length;Ae++){var Re=arguments[Ae];for(var ze in Re)Object.prototype.hasOwnProperty.call(Re,ze)&&(je[ze]=Re[ze])}return je},Te.apply(this,arguments)}function me(je){"@babel/helpers - typeof";return me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ae){return typeof Ae}:function(Ae){return Ae&&typeof Symbol=="function"&&Ae.constructor===Symbol&&Ae!==Symbol.prototype?"symbol":typeof Ae},me(je)}function ie(je,Ae){if(me(je)!=="object"||je===null)return je;var Re=je[Symbol.toPrimitive];if(Re!==void 0){var ze=Re.call(je,Ae||"default");if(me(ze)!=="object")return ze;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ae==="string"?String:Number)(je)}function te(je){var Ae=ie(je,"string");return me(Ae)==="symbol"?Ae:String(Ae)}function ae(je,Ae,Re){return Ae=te(Ae),Ae in je?Object.defineProperty(je,Ae,{value:Re,enumerable:!0,configurable:!0,writable:!0}):je[Ae]=Re,je}function ne(je){if(Array.isArray(je))return je}function oe(je,Ae){var Re=je==null?null:typeof Symbol!="undefined"&&je[Symbol.iterator]||je["@@iterator"];if(Re!=null){var ze,Qe,ot,mt,Ot=[],xt=!0,Wt=!1;try{if(ot=(Re=Re.call(je)).next,Ae===0){if(Object(Re)!==Re)return;xt=!1}else for(;!(xt=(ze=ot.call(Re)).done)&&(Ot.push(ze.value),Ot.length!==Ae);xt=!0);}catch(bn){Wt=!0,Qe=bn}finally{try{if(!xt&&Re.return!=null&&(mt=Re.return(),Object(mt)!==mt))return}finally{if(Wt)throw Qe}}return Ot}}function he(je,Ae){(Ae==null||Ae>je.length)&&(Ae=je.length);for(var Re=0,ze=new Array(Ae);Re<Ae;Re++)ze[Re]=je[Re];return ze}function re(je,Ae){if(je){if(typeof je=="string")return he(je,Ae);var Re=Object.prototype.toString.call(je).slice(8,-1);if(Re==="Object"&&je.constructor&&(Re=je.constructor.name),Re==="Map"||Re==="Set")return Array.from(je);if(Re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Re))return he(je,Ae)}}function se(){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(je,Ae){return ne(je)||oe(je,Ae)||re(je,Ae)||se()}function fe(je,Ae){if(je==null)return{};var Re={},ze=Object.keys(je),Qe,ot;for(ot=0;ot<ze.length;ot++)Qe=ze[ot],!(Ae.indexOf(Qe)>=0)&&(Re[Qe]=je[Qe]);return Re}function pe(je,Ae){if(je==null)return{};var Re=fe(je,Ae),ze,Qe;if(Object.getOwnPropertySymbols){var ot=Object.getOwnPropertySymbols(je);for(Qe=0;Qe<ot.length;Qe++)ze=ot[Qe],!(Ae.indexOf(ze)>=0)&&Object.prototype.propertyIsEnumerable.call(je,ze)&&(Re[ze]=je[ze])}return Re}var le=ve(67294);function Se(je){if(Array.isArray(je))return je}function xe(je,Ae){var Re=je==null?null:typeof Symbol!="undefined"&&je[Symbol.iterator]||je["@@iterator"];if(Re!=null){var ze,Qe,ot,mt,Ot=[],xt=!0,Wt=!1;try{if(ot=(Re=Re.call(je)).next,Ae===0){if(Object(Re)!==Re)return;xt=!1}else for(;!(xt=(ze=ot.call(Re)).done)&&(Ot.push(ze.value),Ot.length!==Ae);xt=!0);}catch(bn){Wt=!0,Qe=bn}finally{try{if(!xt&&Re.return!=null&&(mt=Re.return(),Object(mt)!==mt))return}finally{if(Wt)throw Qe}}return Ot}}function ge(je,Ae){(Ae==null||Ae>je.length)&&(Ae=je.length);for(var Re=0,ze=new Array(Ae);Re<Ae;Re++)ze[Re]=je[Re];return ze}function Me(je,Ae){if(je){if(typeof je=="string")return ge(je,Ae);var Re=Object.prototype.toString.call(je).slice(8,-1);if(Re==="Object"&&je.constructor&&(Re=je.constructor.name),Re==="Map"||Re==="Set")return Array.from(je);if(Re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Re))return ge(je,Ae)}}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 be(je,Ae){return Se(je)||xe(je,Ae)||Me(je,Ae)||ye()}function Fe(je){var Ae=le.useRef();Ae.current=je;var Re=le.useCallback(function(){for(var ze,Qe=arguments.length,ot=new Array(Qe),mt=0;mt<Qe;mt++)ot[mt]=arguments[mt];return(ze=Ae.current)===null||ze===void 0?void 0:ze.call.apply(ze,[Ae].concat(ot))},[]);return Re}function ke(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ie=ke()?le.useLayoutEffect:le.useEffect,Le=function(Ae,Re){var ze=le.useRef(!0);Ie(function(){return Ae(ze.current)},Re),Ie(function(){return ze.current=!1,function(){ze.current=!0}},[])},De=function(Ae,Re){Le(function(ze){if(!ze)return Ae()},Re)},Be=null;function Ue(je){var Ae=le.useRef(!1),Re=le.useState(je),ze=be(Re,2),Qe=ze[0],ot=ze[1];le.useEffect(function(){return Ae.current=!1,function(){Ae.current=!0}},[]);function mt(Ot,xt){xt&&Ae.current||ot(Ot)}return[Qe,mt]}function _e(je){return je!==void 0}function We(je,Ae){var Re=Ae||{},ze=Re.defaultValue,Qe=Re.value,ot=Re.onChange,mt=Re.postState,Ot=Ue(function(){return _e(Qe)?Qe:_e(ze)?typeof ze=="function"?ze():ze:typeof je=="function"?je():je}),xt=be(Ot,2),Wt=xt[0],bn=xt[1],Ft=Qe!==void 0?Qe:Wt,Qt=mt?mt(Ft):Ft,Vt=Fe(ot),yn=Ue([Ft]),Pt=be(yn,2),zt=Pt[0],an=Pt[1];De(function(){var Tn=zt[0];Wt!==Tn&&Vt(Wt,Tn)},[zt]),De(function(){_e(Qe)||bn(Qe)},[Qe]);var gn=Fe(function(Tn,Gn){bn(Tn,Gn),an([Ft],Gn)});return[Qt,gn]}var 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(Ae){var Re=Ae.keyCode;if(Ae.altKey&&!Ae.ctrlKey||Ae.metaKey||Re>=Ze.F1&&Re<=Ze.F12)return!1;switch(Re){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(Ae){if(Ae>=Ze.ZERO&&Ae<=Ze.NINE||Ae>=Ze.NUM_ZERO&&Ae<=Ze.NUM_MULTIPLY||Ae>=Ze.A&&Ae<=Ze.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ae===0)return!0;switch(Ae){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}}},et=Ze,at=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],pt=le.forwardRef(function(je,Ae){var Re,ze=je.prefixCls,Qe=ze===void 0?"rc-switch":ze,ot=je.className,mt=je.checked,Ot=je.defaultChecked,xt=je.disabled,Wt=je.loadingIcon,bn=je.checkedChildren,Ft=je.unCheckedChildren,Qt=je.onClick,Vt=je.onChange,yn=je.onKeyDown,Pt=pe(je,at),zt=We(!1,{value:mt,defaultValue:Ot}),an=ce(zt,2),gn=an[0],Tn=an[1];function Gn(ti,Dr){var ri=gn;return xt||(ri=ti,Tn(ri),Vt==null||Vt(ri,Dr)),ri}function fr(ti){ti.which===et.LEFT?Gn(!1,ti):ti.which===et.RIGHT&&Gn(!0,ti),yn==null||yn(ti)}function Tr(ti){var Dr=Gn(!gn,ti);Qt==null||Qt(Dr,ti)}var Wr=x()(Qe,ot,(Re={},ae(Re,"".concat(Qe,"-checked"),gn),ae(Re,"".concat(Qe,"-disabled"),xt),Re));return le.createElement("button",Te({},Pt,{type:"button",role:"switch","aria-checked":gn,disabled:xt,className:Wr,ref:Ae,onKeyDown:fr,onClick:Tr}),Wt,le.createElement("span",{className:"".concat(Qe,"-inner")},le.createElement("span",{className:"".concat(Qe,"-inner-checked")},bn),le.createElement("span",{className:"".concat(Qe,"-inner-unchecked")},Ft)))});pt.displayName="Switch";var Xe=pt,Ge=ve(45353),lt=ve(53124),dt=ve(98866),st=ve(98675),nt=ve(84780),rt=ve(14747),it=ve(67968),gt=ve(45503);const vt=je=>{const{componentCls:Ae,trackHeightSM:Re,trackPadding:ze,trackMinWidthSM:Qe,innerMinMarginSM:ot,innerMaxMarginSM:mt,handleSizeSM:Ot}=je,xt=`${Ae}-inner`;return{[Ae]:{[`&${Ae}-small`]:{minWidth:Qe,height:Re,lineHeight:`${Re}px`,[`${Ae}-inner`]:{paddingInlineStart:mt,paddingInlineEnd:ot,[`${xt}-checked`]:{marginInlineStart:`calc(-100% + ${Ot+ze*2}px - ${mt*2}px)`,marginInlineEnd:`calc(100% - ${Ot+ze*2}px + ${mt*2}px)`},[`${xt}-unchecked`]:{marginTop:-Re,marginInlineStart:0,marginInlineEnd:0}},[`${Ae}-handle`]:{width:Ot,height:Ot},[`${Ae}-loading-icon`]:{top:(Ot-je.switchLoadingIconSize)/2,fontSize:je.switchLoadingIconSize},[`&${Ae}-checked`]:{[`${Ae}-inner`]:{paddingInlineStart:ot,paddingInlineEnd:mt,[`${xt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${xt}-unchecked`]:{marginInlineStart:`calc(100% - ${Ot+ze*2}px + ${mt*2}px)`,marginInlineEnd:`calc(-100% + ${Ot+ze*2}px - ${mt*2}px)`}},[`${Ae}-handle`]:{insetInlineStart:`calc(100% - ${Ot+ze}px)`}},[`&:not(${Ae}-disabled):active`]:{[`&:not(${Ae}-checked) ${xt}`]:{[`${xt}-unchecked`]:{marginInlineStart:je.marginXXS/2,marginInlineEnd:-je.marginXXS/2}},[`&${Ae}-checked ${xt}`]:{[`${xt}-checked`]:{marginInlineStart:-je.marginXXS/2,marginInlineEnd:je.marginXXS/2}}}}}}},At=je=>{const{componentCls:Ae,handleSize:Re}=je;return{[Ae]:{[`${Ae}-loading-icon${je.iconCls}`]:{position:"relative",top:(Re-je.fontSize)/2,color:je.switchLoadingIconColor,verticalAlign:"top"},[`&${Ae}-checked ${Ae}-loading-icon`]:{color:je.switchColor}}}},Et=je=>{const{componentCls:Ae,motion:Re,trackPadding:ze,handleBg:Qe,handleShadow:ot,handleSize:mt}=je,Ot=`${Ae}-handle`;return{[Ae]:{[Ot]:{position:"absolute",top:ze,insetInlineStart:ze,width:mt,height:mt,transition:`all ${je.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Qe,borderRadius:mt/2,boxShadow:ot,transition:`all ${je.switchDuration} ease-in-out`,content:'""'}},[`&${Ae}-checked ${Ot}`]:{insetInlineStart:`calc(100% - ${mt+ze}px)`},[`&:not(${Ae}-disabled):active`]:Re?{[`${Ot}::before`]:{insetInlineEnd:je.switchHandleActiveInset,insetInlineStart:0},[`&${Ae}-checked ${Ot}::before`]:{insetInlineEnd:0,insetInlineStart:je.switchHandleActiveInset}}:{}}}},ut=je=>{const{componentCls:Ae,trackHeight:Re,trackPadding:ze,innerMinMargin:Qe,innerMaxMargin:ot,handleSize:mt}=je,Ot=`${Ae}-inner`;return{[Ae]:{[Ot]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:ot,paddingInlineEnd:Qe,transition:`padding-inline-start ${je.switchDuration} ease-in-out, padding-inline-end ${je.switchDuration} ease-in-out`,[`${Ot}-checked, ${Ot}-unchecked`]:{display:"block",color:je.colorTextLightSolid,fontSize:je.fontSizeSM,transition:`margin-inline-start ${je.switchDuration} ease-in-out, margin-inline-end ${je.switchDuration} ease-in-out`,pointerEvents:"none"},[`${Ot}-checked`]:{marginInlineStart:`calc(-100% + ${mt+ze*2}px - ${ot*2}px)`,marginInlineEnd:`calc(100% - ${mt+ze*2}px + ${ot*2}px)`},[`${Ot}-unchecked`]:{marginTop:-Re,marginInlineStart:0,marginInlineEnd:0}},[`&${Ae}-checked ${Ot}`]:{paddingInlineStart:Qe,paddingInlineEnd:ot,[`${Ot}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ot}-unchecked`]:{marginInlineStart:`calc(100% - ${mt+ze*2}px + ${ot*2}px)`,marginInlineEnd:`calc(-100% + ${mt+ze*2}px - ${ot*2}px)`}},[`&:not(${Ae}-disabled):active`]:{[`&:not(${Ae}-checked) ${Ot}`]:{[`${Ot}-unchecked`]:{marginInlineStart:ze*2,marginInlineEnd:-ze*2}},[`&${Ae}-checked ${Ot}`]:{[`${Ot}-checked`]:{marginInlineStart:-ze*2,marginInlineEnd:ze*2}}}}}},Ye=je=>{const{componentCls:Ae,trackHeight:Re,trackMinWidth:ze}=je;return{[Ae]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,rt.Wf)(je)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:ze,height:Re,lineHeight:`${Re}px`,verticalAlign:"middle",background:je.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${je.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Ae}-disabled)`]:{background:je.colorTextTertiary}}),(0,rt.Qy)(je)),{[`&${Ae}-checked`]:{background:je.switchColor,[`&:hover:not(${Ae}-disabled)`]:{background:je.colorPrimaryHover}},[`&${Ae}-loading, &${Ae}-disabled`]:{cursor:"not-allowed",opacity:je.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Ae}-rtl`]:{direction:"rtl"}})}};var Ve=(0,it.Z)("Switch",je=>{const Ae=(0,gt.TS)(je,{switchDuration:je.motionDurationMid,switchColor:je.colorPrimary,switchDisabledOpacity:je.opacityLoading,switchLoadingIconSize:je.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${je.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Ye(Ae),ut(Ae),Et(Ae),At(Ae),vt(Ae)]},je=>{const{fontSize:Ae,lineHeight:Re,controlHeight:ze,colorWhite:Qe}=je,ot=Ae*Re,mt=ze/2,Ot=2,xt=ot-Ot*2,Wt=mt-Ot*2;return{trackHeight:ot,trackHeightSM:mt,trackMinWidth:xt*2+Ot*4,trackMinWidthSM:Wt*2+Ot*2,trackPadding:Ot,handleBg:Qe,handleSize:xt,handleSizeSM:Wt,handleShadow:`0 2px 4px 0 ${new nt.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:xt/2,innerMaxMargin:xt+Ot+Ot*2,innerMinMarginSM:Wt/2,innerMaxMarginSM:Wt+Ot+Ot*2}}),de=function(je,Ae){var Re={};for(var ze in je)Object.prototype.hasOwnProperty.call(je,ze)&&Ae.indexOf(ze)<0&&(Re[ze]=je[ze]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,ze=Object.getOwnPropertySymbols(je);Qe<ze.length;Qe++)Ae.indexOf(ze[Qe])<0&&Object.prototype.propertyIsEnumerable.call(je,ze[Qe])&&(Re[ze[Qe]]=je[ze[Qe]]);return Re};const Ce=le.forwardRef((je,Ae)=>{const{prefixCls:Re,size:ze,disabled:Qe,loading:ot,className:mt,rootClassName:Ot,style:xt}=je,Wt=de(je,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:bn,direction:Ft,switch:Qt}=le.useContext(lt.E_),Vt=le.useContext(dt.Z),yn=(Qe!=null?Qe:Vt)||ot,Pt=bn("switch",Re),zt=le.createElement("div",{className:`${Pt}-handle`},ot&&le.createElement(Oe.Z,{className:`${Pt}-loading-icon`})),[an,gn]=Ve(Pt),Tn=(0,st.Z)(ze),Gn=x()(Qt==null?void 0:Qt.className,{[`${Pt}-small`]:Tn==="small",[`${Pt}-loading`]:ot,[`${Pt}-rtl`]:Ft==="rtl"},mt,Ot,gn),fr=Object.assign(Object.assign({},Qt==null?void 0:Qt.style),xt);return an(le.createElement(Ge.Z,{component:"Switch"},le.createElement(Xe,Object.assign({},Wt,{prefixCls:Pt,className:Gn,style:fr,disabled:yn,ref:Ae,loadingIcon:zt}))))});Ce.__ANT_SWITCH=!0;var He=Ce},66368:function(tn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return Yn}});var Oe=ve(73475),$e=ve(25877),x=ve(38308),Te=ve(94184),me=ve.n(Te),ie=ve(87462),te=ve(4942),ae=ve(1413),ne=ve(97685),oe=ve(71002),he=ve(45987),re=ve(67294),se=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var qe=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(qe)||/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(qe==null?void 0:qe.substr(0,4))};function ce(qe){var yt=re.useRef();yt.current=qe;var St=re.useCallback(function(){for(var Dt,Tt=arguments.length,Nt=new Array(Tt),_t=0;_t<Tt;_t++)Nt[_t]=arguments[_t];return(Dt=yt.current)===null||Dt===void 0?void 0:Dt.call.apply(Dt,[yt].concat(Nt))},[]);return St}function fe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var pe=fe()?re.useLayoutEffect:re.useEffect,le=function(yt,St){var Dt=re.useRef(!0);pe(function(){return yt(Dt.current)},St),pe(function(){return Dt.current=!1,function(){Dt.current=!0}},[])},Se=function(yt,St){le(function(Dt){if(!Dt)return yt()},St)},xe=null;function ge(qe){var yt=re.useRef(!1),St=re.useState(qe),Dt=(0,ne.Z)(St,2),Tt=Dt[0],Nt=Dt[1];re.useEffect(function(){return yt.current=!1,function(){yt.current=!0}},[]);function _t(rn,vn){vn&&yt.current||Nt(rn)}return[Tt,_t]}function Me(qe){return qe!==void 0}function ye(qe,yt){var St=yt||{},Dt=St.defaultValue,Tt=St.value,Nt=St.onChange,_t=St.postState,rn=ge(function(){return Me(Tt)?Tt:Me(Dt)?typeof Dt=="function"?Dt():Dt:typeof qe=="function"?qe():qe}),vn=(0,ne.Z)(rn,2),Vn=vn[0],$n=vn[1],Xn=Tt!==void 0?Tt:Vn,On=_t?_t(Xn):Xn,In=ce(Nt),En=ge([Xn]),Hn=(0,ne.Z)(En,2),mr=Hn[0],Qn=Hn[1];Se(function(){var ur=mr[0];Vn!==ur&&In(Vn,ur)},[mr]),Se(function(){Me(Tt)||$n(Tt)},[Tt]);var or=ce(function(ur,yr){$n(ur,yr),Qn([Xn],yr)});return[On,or]}var be=ve(62874),Fe=(0,re.createContext)(null),ke=re.forwardRef(function(qe,yt){var St=qe.prefixCls,Dt=qe.className,Tt=qe.style,Nt=qe.id,_t=qe.active,rn=qe.tabKey,vn=qe.children;return re.createElement("div",{id:Nt&&"".concat(Nt,"-panel-").concat(rn),role:"tabpanel",tabIndex:_t?0:-1,"aria-labelledby":Nt&&"".concat(Nt,"-tab-").concat(rn),"aria-hidden":!_t,style:Tt,className:me()(St,_t&&"".concat(St,"-active"),Dt),ref:yt},vn)}),Ie=ke,Le=["key","forceRender","style","className"];function De(qe){var yt=qe.id,St=qe.activeKey,Dt=qe.animated,Tt=qe.tabPosition,Nt=qe.destroyInactiveTabPane,_t=re.useContext(Fe),rn=_t.prefixCls,vn=_t.tabs,Vn=Dt.tabPane,$n="".concat(rn,"-tabpane");return re.createElement("div",{className:me()("".concat(rn,"-content-holder"))},re.createElement("div",{className:me()("".concat(rn,"-content"),"".concat(rn,"-content-").concat(Tt),(0,te.Z)({},"".concat(rn,"-content-animated"),Vn))},vn.map(function(Xn){var On=Xn.key,In=Xn.forceRender,En=Xn.style,Hn=Xn.className,mr=(0,he.Z)(Xn,Le),Qn=On===St;return re.createElement(be.Z,(0,ie.Z)({key:On,visible:Qn,forceRender:In,removeOnLeave:!!Nt,leavedClassName:"".concat($n,"-hidden")},Dt.tabPaneMotion),function(or,ur){var yr=or.style,Sr=or.className;return re.createElement(Ie,(0,ie.Z)({},mr,{prefixCls:$n,id:yt,tabKey:On,animated:Vn,active:Qn,style:(0,ae.Z)((0,ae.Z)({},En),yr),className:me()(Hn,Sr),ref:ur}))})})))}var Be=ve(74902),Ue=ve(48555),_e=ve(59864);function We(qe,yt,St){var Dt=re.useRef({});return(!("value"in Dt.current)||St(Dt.current.condition,yt))&&(Dt.current.value=qe(),Dt.current.condition=yt),Dt.current.value}function Ze(qe,yt){typeof qe=="function"?qe(yt):(0,oe.Z)(qe)==="object"&&qe&&"current"in qe&&(qe.current=yt)}function et(){for(var qe=arguments.length,yt=new Array(qe),St=0;St<qe;St++)yt[St]=arguments[St];var Dt=yt.filter(function(Tt){return Tt});return Dt.length<=1?Dt[0]:function(Tt){yt.forEach(function(Nt){Ze(Nt,Tt)})}}function at(){for(var qe=arguments.length,yt=new Array(qe),St=0;St<qe;St++)yt[St]=arguments[St];return We(function(){return et.apply(void 0,yt)},yt,function(Dt,Tt){return Dt.length===Tt.length&&Dt.every(function(Nt,_t){return Nt===Tt[_t]})})}function pt(qe){var yt,St,Dt=isMemo(qe)?qe.type.type:qe.type;return!(typeof Dt=="function"&&!((yt=Dt.prototype)!==null&&yt!==void 0&&yt.render)||typeof qe=="function"&&!((St=qe.prototype)!==null&&St!==void 0&&St.render))}var Xe={width:0,height:0,left:0,top:0};function Ge(qe,yt,St){return(0,re.useMemo)(function(){for(var Dt,Tt=new Map,Nt=yt.get((Dt=qe[0])===null||Dt===void 0?void 0:Dt.key)||Xe,_t=Nt.left+Nt.width,rn=0;rn<qe.length;rn+=1){var vn=qe[rn].key,Vn=yt.get(vn);if(!Vn){var $n;Vn=yt.get(($n=qe[rn-1])===null||$n===void 0?void 0:$n.key)||Xe}var Xn=Tt.get(vn)||(0,ae.Z)({},Vn);Xn.right=_t-Xn.left-Xn.width,Tt.set(vn,Xn)}return Tt},[qe.map(function(Dt){return Dt.key}).join("_"),yt,St])}function lt(qe,yt){var St=re.useRef(qe),Dt=re.useState({}),Tt=(0,ne.Z)(Dt,2),Nt=Tt[1];function _t(rn){var vn=typeof rn=="function"?rn(St.current):rn;vn!==St.current&&yt(vn,St.current),St.current=vn,Nt({})}return[St.current,_t]}var dt=.1,st=.01,nt=20,rt=Math.pow(.995,nt);function it(qe,yt){var St=(0,re.useState)(),Dt=(0,ne.Z)(St,2),Tt=Dt[0],Nt=Dt[1],_t=(0,re.useState)(0),rn=(0,ne.Z)(_t,2),vn=rn[0],Vn=rn[1],$n=(0,re.useState)(0),Xn=(0,ne.Z)($n,2),On=Xn[0],In=Xn[1],En=(0,re.useState)(),Hn=(0,ne.Z)(En,2),mr=Hn[0],Qn=Hn[1],or=(0,re.useRef)();function ur(Xt){var wn=Xt.touches[0],zn=wn.screenX,_n=wn.screenY;Nt({x:zn,y:_n}),window.clearInterval(or.current)}function yr(Xt){if(Tt){Xt.preventDefault();var wn=Xt.touches[0],zn=wn.screenX,_n=wn.screenY;Nt({x:zn,y:_n});var dr=zn-Tt.x,Zt=_n-Tt.y;yt(dr,Zt);var Ht=Date.now();Vn(Ht),In(Ht-vn),Qn({x:dr,y:Zt})}}function Sr(){if(Tt&&(Nt(null),Qn(null),mr)){var Xt=mr.x/On,wn=mr.y/On,zn=Math.abs(Xt),_n=Math.abs(wn);if(Math.max(zn,_n)<dt)return;var dr=Xt,Zt=wn;or.current=window.setInterval(function(){if(Math.abs(dr)<st&&Math.abs(Zt)<st){window.clearInterval(or.current);return}dr*=rt,Zt*=rt,yt(dr*nt,Zt*nt)},nt)}}var kt=(0,re.useRef)();function It(Xt){var wn=Xt.deltaX,zn=Xt.deltaY,_n=0,dr=Math.abs(wn),Zt=Math.abs(zn);dr===Zt?_n=kt.current==="x"?wn:zn:dr>Zt?(_n=wn,kt.current="x"):(_n=zn,kt.current="y"),yt(-_n,-_n)&&Xt.preventDefault()}var en=(0,re.useRef)(null);en.current={onTouchStart:ur,onTouchMove:yr,onTouchEnd:Sr,onWheel:It},re.useEffect(function(){function Xt(dr){en.current.onTouchStart(dr)}function wn(dr){en.current.onTouchMove(dr)}function zn(dr){en.current.onTouchEnd(dr)}function _n(dr){en.current.onWheel(dr)}return document.addEventListener("touchmove",wn,{passive:!1}),document.addEventListener("touchend",zn,{passive:!1}),qe.current.addEventListener("touchstart",Xt,{passive:!1}),qe.current.addEventListener("wheel",_n),function(){document.removeEventListener("touchmove",wn),document.removeEventListener("touchend",zn)}},[])}function gt(qe){var yt=(0,re.useState)(0),St=(0,ne.Z)(yt,2),Dt=St[0],Tt=St[1],Nt=(0,re.useRef)(0),_t=(0,re.useRef)();return _t.current=qe,Se(function(){var rn;(rn=_t.current)===null||rn===void 0||rn.call(_t)},[Dt]),function(){Nt.current===Dt&&(Nt.current+=1,Tt(Nt.current))}}function vt(qe){var yt=(0,re.useRef)([]),St=(0,re.useState)({}),Dt=(0,ne.Z)(St,2),Tt=Dt[1],Nt=(0,re.useRef)(typeof qe=="function"?qe():qe),_t=gt(function(){var vn=Nt.current;yt.current.forEach(function(Vn){vn=Vn(vn)}),yt.current=[],Nt.current=vn,Tt({})});function rn(vn){yt.current.push(vn),_t()}return[Nt.current,rn]}var At={width:0,height:0,left:0,top:0,right:0};function Et(qe,yt,St,Dt,Tt,Nt,_t){var rn=_t.tabs,vn=_t.tabPosition,Vn=_t.rtl,$n,Xn,On;return["top","bottom"].includes(vn)?($n="width",Xn=Vn?"right":"left",On=Math.abs(St)):($n="height",Xn="top",On=-St),(0,re.useMemo)(function(){if(!rn.length)return[0,0];for(var In=rn.length,En=In,Hn=0;Hn<In;Hn+=1){var mr=qe.get(rn[Hn].key)||At;if(mr[Xn]+mr[$n]>On+yt){En=Hn-1;break}}for(var Qn=0,or=In-1;or>=0;or-=1){var ur=qe.get(rn[or].key)||At;if(ur[Xn]<On){Qn=or+1;break}}return Qn>=En?[0,0]:[Qn,En]},[qe,yt,Dt,Tt,Nt,On,vn,rn.map(function(In){return In.key}).join("_"),Vn])}function ut(qe){var yt;return qe instanceof Map?(yt={},qe.forEach(function(St,Dt){yt[Dt]=St})):yt=qe,JSON.stringify(yt)}var Ye="TABS_DQ";function Ve(qe){return String(qe).replace(/"/g,Ye)}function de(qe,yt,St,Dt){return!(!St||Dt||qe===!1||qe===void 0&&(yt===!1||yt===null))}function Ce(qe,yt){var St=qe.prefixCls,Dt=qe.editable,Tt=qe.locale,Nt=qe.style;return!Dt||Dt.showAdd===!1?null:re.createElement("button",{ref:yt,type:"button",className:"".concat(St,"-nav-add"),style:Nt,"aria-label":(Tt==null?void 0:Tt.addAriaLabel)||"Add tab",onClick:function(rn){Dt.onEdit("add",{event:rn})}},Dt.addIcon||"+")}var He=re.forwardRef(Ce),je=re.forwardRef(function(qe,yt){var St=qe.position,Dt=qe.prefixCls,Tt=qe.extra;if(!Tt)return null;var Nt,_t={};return(0,oe.Z)(Tt)==="object"&&!re.isValidElement(Tt)?_t=Tt:_t.right=Tt,St==="right"&&(Nt=_t.right),St==="left"&&(Nt=_t.left),Nt?re.createElement("div",{className:"".concat(Dt,"-extra-content"),ref:yt},Nt):null}),Ae=je,Re=ve(62709);function ze(qe,yt,St){var Dt=React.useRef({});return(!("value"in Dt.current)||St(Dt.current.condition,yt))&&(Dt.current.value=qe(),Dt.current.condition=yt),Dt.current.value}function Qe(qe,yt){typeof qe=="function"?qe(yt):(0,oe.Z)(qe)==="object"&&qe&&"current"in qe&&(qe.current=yt)}function ot(){for(var qe=arguments.length,yt=new Array(qe),St=0;St<qe;St++)yt[St]=arguments[St];var Dt=yt.filter(function(Tt){return Tt});return Dt.length<=1?Dt[0]:function(Tt){yt.forEach(function(Nt){Qe(Nt,Tt)})}}function mt(){for(var qe=arguments.length,yt=new Array(qe),St=0;St<qe;St++)yt[St]=arguments[St];return useMemo(function(){return ot.apply(void 0,yt)},yt,function(Dt,Tt){return Dt.length===Tt.length&&Dt.every(function(Nt,_t){return Nt===Tt[_t]})})}function Ot(qe){var yt,St,Dt=(0,_e.isMemo)(qe)?qe.type.type:qe.type;return!(typeof Dt=="function"&&!((yt=Dt.prototype)!==null&&yt!==void 0&&yt.render)||typeof qe=="function"&&!((St=qe.prototype)!==null&&St!==void 0&&St.render))}var xt={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(yt){var St=yt.keyCode;if(yt.altKey&&!yt.ctrlKey||yt.metaKey||St>=xt.F1&&St<=xt.F12)return!1;switch(St){case xt.ALT:case xt.CAPS_LOCK:case xt.CONTEXT_MENU:case xt.CTRL:case xt.DOWN:case xt.END:case xt.ESC:case xt.HOME:case xt.INSERT:case xt.LEFT:case xt.MAC_FF_META:case xt.META:case xt.NUMLOCK:case xt.NUM_CENTER:case xt.PAGE_DOWN:case xt.PAGE_UP:case xt.PAUSE:case xt.PRINT_SCREEN:case xt.RIGHT:case xt.SHIFT:case xt.UP:case xt.WIN_KEY:case xt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(yt){if(yt>=xt.ZERO&&yt<=xt.NINE||yt>=xt.NUM_ZERO&&yt<=xt.NUM_MULTIPLY||yt>=xt.A&&yt<=xt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&yt===0)return!0;switch(yt){case xt.SPACE:case xt.QUESTION_MARK:case xt.NUM_PLUS:case xt.NUM_MINUS:case xt.NUM_PERIOD:case xt.NUM_DIVISION:case xt.SEMICOLON:case xt.DASH:case xt.EQUALS:case xt.COMMA:case xt.PERIOD:case xt.SLASH:case xt.APOSTROPHE:case xt.SINGLE_QUOTE:case xt.OPEN_SQUARE_BRACKET:case xt.BACKSLASH:case xt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Wt=xt,bn=function(yt){return+setTimeout(yt,16)},Ft=function(yt){return clearTimeout(yt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(bn=function(yt){return window.requestAnimationFrame(yt)},Ft=function(yt){return window.cancelAnimationFrame(yt)});var Qt=0,Vt=new Map;function yn(qe){Vt.delete(qe)}var Pt=function(yt){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Qt+=1;var Dt=Qt;function Tt(Nt){if(Nt===0)yn(Dt),yt();else{var _t=bn(function(){Tt(Nt-1)});Vt.set(Dt,_t)}}return Tt(St),Dt};Pt.cancel=function(qe){var yt=Vt.get(qe);return yn(yt),Ft(yt)};var zt=Pt,an=Wt.ESC,gn=Wt.TAB;function Tn(qe){var yt=qe.visible,St=qe.triggerRef,Dt=qe.onVisibleChange,Tt=qe.autoFocus,Nt=qe.overlayRef,_t=re.useRef(!1),rn=function(){if(yt){var Xn,On;(Xn=St.current)===null||Xn===void 0||(On=Xn.focus)===null||On===void 0||On.call(Xn),Dt==null||Dt(!1)}},vn=function(){var Xn;return(Xn=Nt.current)!==null&&Xn!==void 0&&Xn.focus?(Nt.current.focus(),_t.current=!0,!0):!1},Vn=function(Xn){switch(Xn.keyCode){case an:rn();break;case gn:{var On=!1;_t.current||(On=vn()),On?Xn.preventDefault():rn();break}}};re.useEffect(function(){return yt?(window.addEventListener("keydown",Vn),Tt&&zt(vn,3),function(){window.removeEventListener("keydown",Vn),_t.current=!1}):function(){_t.current=!1}},[yt])}var Gn=(0,re.forwardRef)(function(qe,yt){var St=qe.overlay,Dt=qe.arrow,Tt=qe.prefixCls,Nt=(0,re.useMemo)(function(){var rn;return typeof St=="function"?rn=St():rn=St,rn},[St]),_t=ot(yt,Nt==null?void 0:Nt.ref);return re.createElement(re.Fragment,null,Dt&&re.createElement("div",{className:"".concat(Tt,"-arrow")}),re.cloneElement(Nt,{ref:Ot(Nt)?_t:void 0}))}),fr=Gn,Tr={adjustX:1,adjustY:1},Wr=[0,0],ti={topLeft:{points:["bl","tl"],overflow:Tr,offset:[0,-4],targetOffset:Wr},top:{points:["bc","tc"],overflow:Tr,offset:[0,-4],targetOffset:Wr},topRight:{points:["br","tr"],overflow:Tr,offset:[0,-4],targetOffset:Wr},bottomLeft:{points:["tl","bl"],overflow:Tr,offset:[0,4],targetOffset:Wr},bottom:{points:["tc","bc"],overflow:Tr,offset:[0,4],targetOffset:Wr},bottomRight:{points:["tr","br"],overflow:Tr,offset:[0,4],targetOffset:Wr}},Dr=ti,ri=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Mi(qe,yt){var St,Dt=qe.arrow,Tt=Dt===void 0?!1:Dt,Nt=qe.prefixCls,_t=Nt===void 0?"rc-dropdown":Nt,rn=qe.transitionName,vn=qe.animation,Vn=qe.align,$n=qe.placement,Xn=$n===void 0?"bottomLeft":$n,On=qe.placements,In=On===void 0?Dr:On,En=qe.getPopupContainer,Hn=qe.showAction,mr=qe.hideAction,Qn=qe.overlayClassName,or=qe.overlayStyle,ur=qe.visible,yr=qe.trigger,Sr=yr===void 0?["hover"]:yr,kt=qe.autoFocus,It=qe.overlay,en=qe.children,Xt=qe.onVisibleChange,wn=(0,he.Z)(qe,ri),zn=re.useState(),_n=(0,ne.Z)(zn,2),dr=_n[0],Zt=_n[1],Ht="visible"in qe?ur:dr,Yt=re.useRef(null),Cn=re.useRef(null),sr=re.useRef(null);re.useImperativeHandle(yt,function(){return Yt.current});var Wn=function(_r){Zt(_r),Xt==null||Xt(_r)};Tn({visible:Ht,triggerRef:sr,onVisibleChange:Wn,autoFocus:kt,overlayRef:Cn});var Dn=function(_r){var Fr=qe.onOverlayClick;Zt(!1),Fr&&Fr(_r)},kr=function(){return re.createElement(fr,{ref:Cn,overlay:It,prefixCls:_t,arrow:Tt})},Er=function(){return typeof It=="function"?kr:kr()},Rr=function(){var _r=qe.minOverlayWidthMatchTrigger,Fr=qe.alignPoint;return"minOverlayWidthMatchTrigger"in qe?_r:!Fr},br=function(){var _r=qe.openClassName;return _r!==void 0?_r:"".concat(_t,"-open")},tr=re.cloneElement(en,{className:me()((St=en.props)===null||St===void 0?void 0:St.className,Ht&&br()),ref:Ot(en)?ot(sr,en.ref):void 0}),Nr=mr;return!Nr&&Sr.indexOf("contextMenu")!==-1&&(Nr=["click"]),re.createElement(Re.Z,(0,ie.Z)({builtinPlacements:In},wn,{prefixCls:_t,ref:Yt,popupClassName:me()(Qn,(0,te.Z)({},"".concat(_t,"-show-arrow"),Tt)),popupStyle:or,action:Sr,showAction:Hn,hideAction:Nr,popupPlacement:Xn,popupAlign:Vn,popupTransitionName:rn,popupAnimation:vn,popupVisible:Ht,stretch:Rr()?"minWidth":"",popup:Er(),onPopupVisibleChange:Wn,onPopupClick:Dn,getPopupContainer:En}),tr)}var $r=re.forwardRef(Mi),Xi=$r,Ii=ve(78595),nn={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(yt){var St=yt.keyCode;if(yt.altKey&&!yt.ctrlKey||yt.metaKey||St>=nn.F1&&St<=nn.F12)return!1;switch(St){case nn.ALT:case nn.CAPS_LOCK:case nn.CONTEXT_MENU:case nn.CTRL:case nn.DOWN:case nn.END:case nn.ESC:case nn.HOME:case nn.INSERT:case nn.LEFT:case nn.MAC_FF_META:case nn.META:case nn.NUMLOCK:case nn.NUM_CENTER:case nn.PAGE_DOWN:case nn.PAGE_UP:case nn.PAUSE:case nn.PRINT_SCREEN:case nn.RIGHT:case nn.SHIFT:case nn.UP:case nn.WIN_KEY:case nn.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(yt){if(yt>=nn.ZERO&&yt<=nn.NINE||yt>=nn.NUM_ZERO&&yt<=nn.NUM_MULTIPLY||yt>=nn.A&&yt<=nn.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&yt===0)return!0;switch(yt){case nn.SPACE:case nn.QUESTION_MARK:case nn.NUM_PLUS:case nn.NUM_MINUS:case nn.NUM_PERIOD:case nn.NUM_DIVISION:case nn.SEMICOLON:case nn.DASH:case nn.EQUALS:case nn.COMMA:case nn.PERIOD:case nn.SLASH:case nn.APOSTROPHE:case nn.SINGLE_QUOTE:case nn.OPEN_SQUARE_BRACKET:case nn.BACKSLASH:case nn.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Jn=nn;function hr(qe,yt){var St=qe.prefixCls,Dt=qe.id,Tt=qe.tabs,Nt=qe.locale,_t=qe.mobile,rn=qe.moreIcon,vn=rn===void 0?"More":rn,Vn=qe.moreTransitionName,$n=qe.style,Xn=qe.className,On=qe.editable,In=qe.tabBarGutter,En=qe.rtl,Hn=qe.removeAriaLabel,mr=qe.onTabClick,Qn=qe.getPopupContainer,or=qe.popupClassName,ur=(0,re.useState)(!1),yr=(0,ne.Z)(ur,2),Sr=yr[0],kt=yr[1],It=(0,re.useState)(null),en=(0,ne.Z)(It,2),Xt=en[0],wn=en[1],zn="".concat(Dt,"-more-popup"),_n="".concat(St,"-dropdown"),dr=Xt!==null?"".concat(zn,"-").concat(Xt):null,Zt=Nt==null?void 0:Nt.dropdownAriaLabel;function Ht(Er,Rr){Er.preventDefault(),Er.stopPropagation(),On.onEdit("remove",{key:Rr,event:Er})}var Yt=re.createElement(Ii.ZP,{onClick:function(Rr){var br=Rr.key,tr=Rr.domEvent;mr(br,tr),kt(!1)},prefixCls:"".concat(_n,"-menu"),id:zn,tabIndex:-1,role:"listbox","aria-activedescendant":dr,selectedKeys:[Xt],"aria-label":Zt!==void 0?Zt:"expanded dropdown"},Tt.map(function(Er){var Rr=Er.closable,br=Er.disabled,tr=Er.closeIcon,Nr=Er.key,Qr=Er.label,_r=de(Rr,tr,On,br);return re.createElement(Ii.sN,{key:Nr,id:"".concat(zn,"-").concat(Nr),role:"option","aria-controls":Dt&&"".concat(Dt,"-panel-").concat(Nr),disabled:br},re.createElement("span",null,Qr),_r&&re.createElement("button",{type:"button","aria-label":Hn||"remove",tabIndex:0,className:"".concat(_n,"-menu-item-remove"),onClick:function(jr){jr.stopPropagation(),Ht(jr,Nr)}},tr||On.removeIcon||"\xD7"))}));function Cn(Er){for(var Rr=Tt.filter(function(_r){return!_r.disabled}),br=Rr.findIndex(function(_r){return _r.key===Xt})||0,tr=Rr.length,Nr=0;Nr<tr;Nr+=1){br=(br+Er+tr)%tr;var Qr=Rr[br];if(!Qr.disabled){wn(Qr.key);return}}}function sr(Er){var Rr=Er.which;if(!Sr){[Jn.DOWN,Jn.SPACE,Jn.ENTER].includes(Rr)&&(kt(!0),Er.preventDefault());return}switch(Rr){case Jn.UP:Cn(-1),Er.preventDefault();break;case Jn.DOWN:Cn(1),Er.preventDefault();break;case Jn.ESC:kt(!1);break;case Jn.SPACE:case Jn.ENTER:Xt!==null&&mr(Xt,Er);break}}(0,re.useEffect)(function(){var Er=document.getElementById(dr);Er&&Er.scrollIntoView&&Er.scrollIntoView(!1)},[Xt]),(0,re.useEffect)(function(){Sr||wn(null)},[Sr]);var Wn=(0,te.Z)({},En?"marginRight":"marginLeft",In);Tt.length||(Wn.visibility="hidden",Wn.order=1);var Dn=me()((0,te.Z)({},"".concat(_n,"-rtl"),En)),kr=_t?null:re.createElement(Xi,{prefixCls:_n,overlay:Yt,trigger:["hover"],visible:Tt.length?Sr:!1,transitionName:Vn,onVisibleChange:kt,overlayClassName:me()(Dn,or),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:Qn},re.createElement("button",{type:"button",className:"".concat(St,"-nav-more"),style:Wn,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":zn,id:"".concat(Dt,"-more"),"aria-expanded":Sr,onKeyDown:sr},vn));return re.createElement("div",{className:me()("".concat(St,"-nav-operations"),Xn),style:$n,ref:yt},kr,re.createElement(He,{prefixCls:St,locale:Nt,editable:On}))}var Kn=re.memo(re.forwardRef(hr),function(qe,yt){return yt.tabMoving});function Hr(qe){var yt,St=qe.prefixCls,Dt=qe.id,Tt=qe.active,Nt=qe.tab,_t=Nt.key,rn=Nt.label,vn=Nt.disabled,Vn=Nt.closeIcon,$n=qe.closable,Xn=qe.renderWrapper,On=qe.removeAriaLabel,In=qe.editable,En=qe.onClick,Hn=qe.onFocus,mr=qe.style,Qn="".concat(St,"-tab"),or=de($n,Vn,In,vn);function ur(kt){vn||En(kt)}function yr(kt){kt.preventDefault(),kt.stopPropagation(),In.onEdit("remove",{key:_t,event:kt})}var Sr=re.createElement("div",{key:_t,"data-node-key":Ve(_t),className:me()(Qn,(yt={},(0,te.Z)(yt,"".concat(Qn,"-with-remove"),or),(0,te.Z)(yt,"".concat(Qn,"-active"),Tt),(0,te.Z)(yt,"".concat(Qn,"-disabled"),vn),yt)),style:mr,onClick:ur},re.createElement("div",{role:"tab","aria-selected":Tt,id:Dt&&"".concat(Dt,"-tab-").concat(_t),className:"".concat(Qn,"-btn"),"aria-controls":Dt&&"".concat(Dt,"-panel-").concat(_t),"aria-disabled":vn,tabIndex:vn?null:0,onClick:function(It){It.stopPropagation(),ur(It)},onKeyDown:function(It){[Jn.SPACE,Jn.ENTER].includes(It.which)&&(It.preventDefault(),ur(It))},onFocus:Hn},rn),or&&re.createElement("button",{type:"button","aria-label":On||"remove",tabIndex:0,className:"".concat(Qn,"-remove"),onClick:function(It){It.stopPropagation(),yr(It)}},Vn||In.removeIcon||"\xD7"));return Xn?Xn(Sr):Sr}var Pr=Hr,Or=function(yt){return+setTimeout(yt,16)},Mr=function(yt){return clearTimeout(yt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Or=function(yt){return window.requestAnimationFrame(yt)},Mr=function(yt){return window.cancelAnimationFrame(yt)});var Ut=0,$t=new Map;function qt(qe){$t.delete(qe)}var Nn=function(yt){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ut+=1;var Dt=Ut;function Tt(Nt){if(Nt===0)qt(Dt),yt();else{var _t=Or(function(){Tt(Nt-1)});$t.set(Dt,_t)}}return Tt(St),Dt};Nn.cancel=function(qe){var yt=$t.get(qe);return qt(yt),Mr(yt)};var jt=Nn,on=function(yt){var St=yt.activeTabOffset,Dt=yt.horizontal,Tt=yt.rtl,Nt=yt.indicatorSize,_t=(0,re.useState)(),rn=(0,ne.Z)(_t,2),vn=rn[0],Vn=rn[1],$n=(0,re.useRef)(),Xn=function(En){return typeof Nt=="function"?Nt(En):typeof Nt=="number"?Nt:En};function On(){jt.cancel($n.current)}return(0,re.useEffect)(function(){var In={};return St&&(Dt?(Tt?(In.right=St.right+St.width/2,In.transform="translateX(50%)"):(In.left=St.left+St.width/2,In.transform="translateX(-50%)"),In.width=Xn(St.width)):(In.top=St.top+St.height/2,In.transform="translateY(-50%)",In.height=Xn(St.height))),On(),$n.current=jt(function(){Vn(In)}),On},[St,Dt,Tt,Nt]),{style:vn}},kn=on,pn=function(yt){var St=yt.current||{},Dt=St.offsetWidth,Tt=Dt===void 0?0:Dt,Nt=St.offsetHeight,_t=Nt===void 0?0:Nt;return[Tt,_t]},Bn=function(yt,St){return yt[St?0:1]};function Rn(qe,yt){var St,Dt=re.useContext(Fe),Tt=Dt.prefixCls,Nt=Dt.tabs,_t=qe.className,rn=qe.style,vn=qe.id,Vn=qe.animated,$n=qe.activeKey,Xn=qe.rtl,On=qe.extra,In=qe.editable,En=qe.locale,Hn=qe.tabPosition,mr=qe.tabBarGutter,Qn=qe.children,or=qe.onTabClick,ur=qe.onTabScroll,yr=qe.indicatorSize,Sr=(0,re.useRef)(),kt=(0,re.useRef)(),It=(0,re.useRef)(),en=(0,re.useRef)(),Xt=(0,re.useRef)(),wn=(0,re.useRef)(),zn=(0,re.useRef)(),_n=Hn==="top"||Hn==="bottom",dr=lt(0,function(to,Aa){_n&&ur&&ur({direction:to>Aa?"left":"right"})}),Zt=(0,ne.Z)(dr,2),Ht=Zt[0],Yt=Zt[1],Cn=lt(0,function(to,Aa){!_n&&ur&&ur({direction:to>Aa?"top":"bottom"})}),sr=(0,ne.Z)(Cn,2),Wn=sr[0],Dn=sr[1],kr=(0,re.useState)([0,0]),Er=(0,ne.Z)(kr,2),Rr=Er[0],br=Er[1],tr=(0,re.useState)([0,0]),Nr=(0,ne.Z)(tr,2),Qr=Nr[0],_r=Nr[1],Fr=(0,re.useState)([0,0]),jr=(0,ne.Z)(Fr,2),Pi=jr[0],di=jr[1],Ai=(0,re.useState)([0,0]),Ti=(0,ne.Z)(Ai,2),Hi=Ti[0],Oi=Ti[1],ua=vt(new Map),Ni=(0,ne.Z)(ua,2),mi=Ni[0],ea=Ni[1],da=Ge(Nt,mi,Qr[0]),Si=Bn(Rr,_n),$a=Bn(Qr,_n),io=Bn(Pi,_n),Za=Bn(Hi,_n),Ea=Si<$a+io,Yi=Ea?Si-Za:Si-io,xo="".concat(Tt,"-nav-operations-hidden"),Da=0,Fi=0;_n&&Xn?(Da=0,Fi=Math.max(0,$a-Yi)):(Da=Math.min(0,Yi-$a),Fi=0);function Ba(to){return to<Da?Da:to>Fi?Fi:to}var lo=(0,re.useRef)(),za=(0,re.useState)(),ao=(0,ne.Z)(za,2),pa=ao[0],po=ao[1];function mo(){po(Date.now())}function fo(){window.clearTimeout(lo.current)}it(en,function(to,Aa){function Do(To,Ct){To(function(Lt){var dn=Ba(Lt+Ct);return dn})}return Ea?(_n?Do(Yt,to):Do(Dn,Aa),fo(),mo(),!0):!1}),(0,re.useEffect)(function(){return fo(),pa&&(lo.current=window.setTimeout(function(){po(0)},100)),fo},[pa]);var vo=Et(da,Yi,_n?Ht:Wn,$a,io,Za,(0,ae.Z)((0,ae.Z)({},qe),{},{tabs:Nt})),Mo=(0,ne.Z)(vo,2),Ho=Mo[0],ho=Mo[1],ko=ce(function(){var to=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$n,Aa=da.get(to)||{width:0,height:0,left:0,right:0,top:0};if(_n){var Do=Ht;Xn?Aa.right<Ht?Do=Aa.right:Aa.right+Aa.width>Ht+Yi&&(Do=Aa.right+Aa.width-Yi):Aa.left<-Ht?Do=-Aa.left:Aa.left+Aa.width>-Ht+Yi&&(Do=-(Aa.left+Aa.width-Yi)),Dn(0),Yt(Ba(Do))}else{var To=Wn;Aa.top<-Wn?To=-Aa.top:Aa.top+Aa.height>-Wn+Yi&&(To=-(Aa.top+Aa.height-Yi)),Yt(0),Dn(Ba(To))}}),$o={};Hn==="top"||Hn==="bottom"?$o[Xn?"marginRight":"marginLeft"]=mr:$o.marginTop=mr;var Yo=Nt.map(function(to,Aa){var Do=to.key;return re.createElement(Pr,{id:vn,prefixCls:Tt,key:Do,tab:to,style:Aa===0?void 0:$o,closable:to.closable,editable:In,active:Do===$n,renderWrapper:Qn,removeAriaLabel:En==null?void 0:En.removeAriaLabel,onClick:function(Ct){or(Do,Ct)},onFocus:function(){ko(Do),mo(),en.current&&(Xn||(en.current.scrollLeft=0),en.current.scrollTop=0)}})}),as=function(){return ea(function(){var Aa=new Map;return Nt.forEach(function(Do){var To,Ct=Do.key,Lt=(To=Xt.current)===null||To===void 0?void 0:To.querySelector('[data-node-key="'.concat(Ve(Ct),'"]'));Lt&&Aa.set(Ct,{width:Lt.offsetWidth,height:Lt.offsetHeight,left:Lt.offsetLeft,top:Lt.offsetTop})}),Aa})};(0,re.useEffect)(function(){as()},[Nt.map(function(to){return to.key}).join("_")]);var Bo=gt(function(){var to=pn(Sr),Aa=pn(kt),Do=pn(It);br([to[0]-Aa[0]-Do[0],to[1]-Aa[1]-Do[1]]);var To=pn(zn);di(To);var Ct=pn(wn);Oi(Ct);var Lt=pn(Xt);_r([Lt[0]-To[0],Lt[1]-To[1]]),as()}),wo=Nt.slice(0,Ho),La=Nt.slice(ho+1),Ha=[].concat((0,Be.Z)(wo),(0,Be.Z)(La)),uo=da.get($n),bo=kn({activeTabOffset:uo,horizontal:_n,rtl:Xn,indicatorSize:yr}),Fo=bo.style;(0,re.useEffect)(function(){ko()},[$n,Da,Fi,ut(uo),ut(da),_n]),(0,re.useEffect)(function(){Bo()},[Xn]);var es=!!Ha.length,ms="".concat(Tt,"-nav-wrap"),_s,Fs,os,Is;return _n?Xn?(Fs=Ht>0,_s=Ht!==Fi):(_s=Ht<0,Fs=Ht!==Da):(os=Wn<0,Is=Wn!==Da),re.createElement(Ue.Z,{onResize:Bo},re.createElement("div",{ref:at(yt,Sr),role:"tablist",className:me()("".concat(Tt,"-nav"),_t),style:rn,onKeyDown:function(){mo()}},re.createElement(Ae,{ref:kt,position:"left",extra:On,prefixCls:Tt}),re.createElement(Ue.Z,{onResize:Bo},re.createElement("div",{className:me()(ms,(St={},(0,te.Z)(St,"".concat(ms,"-ping-left"),_s),(0,te.Z)(St,"".concat(ms,"-ping-right"),Fs),(0,te.Z)(St,"".concat(ms,"-ping-top"),os),(0,te.Z)(St,"".concat(ms,"-ping-bottom"),Is),St)),ref:en},re.createElement(Ue.Z,{onResize:Bo},re.createElement("div",{ref:Xt,className:"".concat(Tt,"-nav-list"),style:{transform:"translate(".concat(Ht,"px, ").concat(Wn,"px)"),transition:pa?"none":void 0}},Yo,re.createElement(He,{ref:zn,prefixCls:Tt,locale:En,editable:In,style:(0,ae.Z)((0,ae.Z)({},Yo.length===0?void 0:$o),{},{visibility:es?"hidden":null})}),re.createElement("div",{className:me()("".concat(Tt,"-ink-bar"),(0,te.Z)({},"".concat(Tt,"-ink-bar-animated"),Vn.inkBar)),style:Fo}))))),re.createElement(Kn,(0,ie.Z)({},qe,{removeAriaLabel:En==null?void 0:En.removeAriaLabel,ref:wn,prefixCls:Tt,tabs:Ha,className:!es&&xo,tabMoving:!!pa})),re.createElement(Ae,{ref:It,position:"right",extra:On,prefixCls:Tt})))}var pr=re.forwardRef(Rn),ii=["renderTabBar"],Lr=["label","key"];function Ir(qe){var yt=qe.renderTabBar,St=(0,he.Z)(qe,ii),Dt=re.useContext(Fe),Tt=Dt.tabs;if(yt){var Nt=(0,ae.Z)((0,ae.Z)({},St),{},{panes:Tt.map(function(_t){var rn=_t.label,vn=_t.key,Vn=(0,he.Z)(_t,Lr);return re.createElement(Ie,(0,ie.Z)({tab:rn,key:vn,tabKey:vn},Vn))})});return yt(Nt,pr)}return re.createElement(pr,St)}var Ur={},Zr=[],ln=function(yt){Zr.push(yt)};function Jt(qe,yt){if(0)var St}function cn(qe,yt){if(0)var St}function er(){Ur={}}function Ar(qe,yt,St){!yt&&!Ur[St]&&(qe(!1,St),Ur[St]=!0)}function Fn(qe,yt){Ar(Jt,qe,yt)}function lr(qe,yt){Ar(cn,qe,yt)}Fn.preMessage=ln,Fn.resetWarned=er,Fn.noteOnce=lr;var ir=null;function wr(){var qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},yt;return qe===!1?yt={inkBar:!1,tabPane:!1}:qe===!0?yt={inkBar:!0,tabPane:!1}:yt=(0,ae.Z)({inkBar:!0},(0,oe.Z)(qe)==="object"?qe:{}),yt.tabPaneMotion&&yt.tabPane===void 0&&(yt.tabPane=!0),!yt.tabPaneMotion&&yt.tabPane&&(yt.tabPane=!1),yt}var Vr=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],Zn=0;function _i(qe,yt){var St,Dt=qe.id,Tt=qe.prefixCls,Nt=Tt===void 0?"rc-tabs":Tt,_t=qe.className,rn=qe.items,vn=qe.direction,Vn=qe.activeKey,$n=qe.defaultActiveKey,Xn=qe.editable,On=qe.animated,In=qe.tabPosition,En=In===void 0?"top":In,Hn=qe.tabBarGutter,mr=qe.tabBarStyle,Qn=qe.tabBarExtraContent,or=qe.locale,ur=qe.moreIcon,yr=qe.moreTransitionName,Sr=qe.destroyInactiveTabPane,kt=qe.renderTabBar,It=qe.onChange,en=qe.onTabClick,Xt=qe.onTabScroll,wn=qe.getPopupContainer,zn=qe.popupClassName,_n=qe.indicatorSize,dr=(0,he.Z)(qe,Vr),Zt=re.useMemo(function(){return(rn||[]).filter(function(Oi){return Oi&&(0,oe.Z)(Oi)==="object"&&"key"in Oi})},[rn]),Ht=vn==="rtl",Yt=wr(On),Cn=(0,re.useState)(!1),sr=(0,ne.Z)(Cn,2),Wn=sr[0],Dn=sr[1];(0,re.useEffect)(function(){Dn(se())},[]);var kr=ye(function(){var Oi;return(Oi=Zt[0])===null||Oi===void 0?void 0:Oi.key},{value:Vn,defaultValue:$n}),Er=(0,ne.Z)(kr,2),Rr=Er[0],br=Er[1],tr=(0,re.useState)(function(){return Zt.findIndex(function(Oi){return Oi.key===Rr})}),Nr=(0,ne.Z)(tr,2),Qr=Nr[0],_r=Nr[1];(0,re.useEffect)(function(){var Oi=Zt.findIndex(function(Ni){return Ni.key===Rr});if(Oi===-1){var ua;Oi=Math.max(0,Math.min(Qr,Zt.length-1)),br((ua=Zt[Oi])===null||ua===void 0?void 0:ua.key)}_r(Oi)},[Zt.map(function(Oi){return Oi.key}).join("_"),Rr,Qr]);var Fr=ye(null,{value:Dt}),jr=(0,ne.Z)(Fr,2),Pi=jr[0],di=jr[1];(0,re.useEffect)(function(){Dt||(di("rc-tabs-".concat(Zn)),Zn+=1)},[]);function Ai(Oi,ua){en==null||en(Oi,ua);var Ni=Oi!==Rr;br(Oi),Ni&&(It==null||It(Oi))}var Ti={id:Pi,activeKey:Rr,animated:Yt,tabPosition:En,rtl:Ht,mobile:Wn},Hi=(0,ae.Z)((0,ae.Z)({},Ti),{},{editable:Xn,locale:or,moreIcon:ur,moreTransitionName:yr,tabBarGutter:Hn,onTabClick:Ai,onTabScroll:Xt,extra:Qn,style:mr,panes:null,getPopupContainer:wn,popupClassName:zn,indicatorSize:_n});return re.createElement(Fe.Provider,{value:{tabs:Zt,prefixCls:Nt}},re.createElement("div",(0,ie.Z)({ref:yt,id:Dt,className:me()(Nt,"".concat(Nt,"-").concat(En),(St={},(0,te.Z)(St,"".concat(Nt,"-mobile"),Wn),(0,te.Z)(St,"".concat(Nt,"-editable"),Xn),(0,te.Z)(St,"".concat(Nt,"-rtl"),Ht),St),_t)},dr),re.createElement(Ir,(0,ie.Z)({},Hi,{renderTabBar:kt})),re.createElement(De,(0,ie.Z)({destroyInactiveTabPane:Sr},Ti,{animated:Yt}))))}var gi=re.forwardRef(_i),ma=gi,ga=ma,la=ve(53124),_a=ve(98675),Ui=()=>null,ya=ve(33603);const Ka={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Ri(qe){let yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},St;return yt===!1?St={inkBar:!1,tabPane:!1}:yt===!0?St={inkBar:!0,tabPane:!0}:St=Object.assign({inkBar:!0},typeof yt=="object"?yt:{}),St.tabPane&&(St.tabPaneMotion=Object.assign(Object.assign({},Ka),{motionName:(0,ya.m)(qe,"switch")})),St}var ca=ve(37419),Na=function(qe,yt){var St={};for(var Dt in qe)Object.prototype.hasOwnProperty.call(qe,Dt)&&yt.indexOf(Dt)<0&&(St[Dt]=qe[Dt]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,Dt=Object.getOwnPropertySymbols(qe);Tt<Dt.length;Tt++)yt.indexOf(Dt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(qe,Dt[Tt])&&(St[Dt[Tt]]=qe[Dt[Tt]]);return St};function ro(qe){return qe.filter(yt=>yt)}function Ya(qe,yt){if(qe)return qe;const St=(0,ca.Z)(yt).map(Dt=>{if(re.isValidElement(Dt)){const{key:Tt,props:Nt}=Dt,_t=Nt||{},{tab:rn}=_t,vn=Na(_t,["tab"]);return Object.assign(Object.assign({key:String(Tt)},vn),{label:rn})}return null});return ro(St)}var Wi=ve(14747),mn=ve(67968),sn=ve(45503),jn=ve(67771),gr=qe=>{const{componentCls:yt,motionDurationSlow:St}=qe;return[{[yt]:{[`${yt}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${St}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${St}`}}}}},[(0,jn.oN)(qe,"slide-up"),(0,jn.oN)(qe,"slide-down")]]};const Xr=qe=>{const{componentCls:yt,tabsCardPadding:St,cardBg:Dt,cardGutter:Tt,colorBorderSecondary:Nt,itemSelectedColor:_t}=qe;return{[`${yt}-card`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab`]:{margin:0,padding:St,background:Dt,border:`${qe.lineWidth}px ${qe.lineType} ${Nt}`,transition:`all ${qe.motionDurationSlow} ${qe.motionEaseInOut}`},[`${yt}-tab-active`]:{color:_t,background:qe.colorBgContainer},[`${yt}-ink-bar`]:{visibility:"hidden"}},[`&${yt}-top, &${yt}-bottom`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab + ${yt}-tab`]:{marginLeft:{_skip_check_:!0,value:`${Tt}px`}}}},[`&${yt}-top`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab`]:{borderRadius:`${qe.borderRadiusLG}px ${qe.borderRadiusLG}px 0 0`},[`${yt}-tab-active`]:{borderBottomColor:qe.colorBgContainer}}},[`&${yt}-bottom`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab`]:{borderRadius:`0 0 ${qe.borderRadiusLG}px ${qe.borderRadiusLG}px`},[`${yt}-tab-active`]:{borderTopColor:qe.colorBgContainer}}},[`&${yt}-left, &${yt}-right`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab + ${yt}-tab`]:{marginTop:`${Tt}px`}}},[`&${yt}-left`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab`]:{borderRadius:{_skip_check_:!0,value:`${qe.borderRadiusLG}px 0 0 ${qe.borderRadiusLG}px`}},[`${yt}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:qe.colorBgContainer}}}},[`&${yt}-right`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${qe.borderRadiusLG}px ${qe.borderRadiusLG}px 0`}},[`${yt}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:qe.colorBgContainer}}}}}}},ai=qe=>{const{componentCls:yt,itemHoverColor:St,dropdownEdgeChildVerticalPadding:Dt}=qe;return{[`${yt}-dropdown`]:Object.assign(Object.assign({},(0,Wi.Wf)(qe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:qe.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${yt}-dropdown-menu`]:{maxHeight:qe.tabsDropdownHeight,margin:0,padding:`${Dt}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:qe.colorBgContainer,backgroundClip:"padding-box",borderRadius:qe.borderRadiusLG,outline:"none",boxShadow:qe.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Wi.vS),{display:"flex",alignItems:"center",minWidth:qe.tabsDropdownWidth,margin:0,padding:`${qe.paddingXXS}px ${qe.paddingSM}px`,color:qe.colorText,fontWeight:"normal",fontSize:qe.fontSize,lineHeight:qe.lineHeight,cursor:"pointer",transition:`all ${qe.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:qe.marginSM},color:qe.colorTextDescription,fontSize:qe.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:St}},"&:hover":{background:qe.controlItemBgHover},"&-disabled":{"&, &:hover":{color:qe.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},pi=qe=>{const{componentCls:yt,margin:St,colorBorderSecondary:Dt,horizontalMargin:Tt,verticalItemPadding:Nt,verticalItemMargin:_t}=qe;return{[`${yt}-top, ${yt}-bottom`]:{flexDirection:"column",[`> ${yt}-nav, > div > ${yt}-nav`]:{margin:Tt,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${qe.lineWidth}px ${qe.lineType} ${Dt}`,content:"''"},[`${yt}-ink-bar`]:{height:qe.lineWidthBold,"&-animated":{transition:`width ${qe.motionDurationSlow}, left ${qe.motionDurationSlow},
right ${qe.motionDurationSlow}`}},[`${yt}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:qe.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:qe.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:qe.boxShadowTabsOverflowRight},[`&${yt}-nav-wrap-ping-left::before`]:{opacity:1},[`&${yt}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${yt}-top`]:{[`> ${yt}-nav,
> div > ${yt}-nav`]:{"&::before":{bottom:0},[`${yt}-ink-bar`]:{bottom:0}}},[`${yt}-bottom`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{order:1,marginTop:`${St}px`,marginBottom:0,"&::before":{top:0},[`${yt}-ink-bar`]:{top:0}},[`> ${yt}-content-holder, > div > ${yt}-content-holder`]:{order:0}},[`${yt}-left, ${yt}-right`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{flexDirection:"column",minWidth:qe.controlHeight*1.25,[`${yt}-tab`]:{padding:Nt,textAlign:"center"},[`${yt}-tab + ${yt}-tab`]:{margin:_t},[`${yt}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:qe.controlHeight},"&::before":{top:0,boxShadow:qe.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:qe.boxShadowTabsOverflowBottom},[`&${yt}-nav-wrap-ping-top::before`]:{opacity:1},[`&${yt}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${yt}-ink-bar`]:{width:qe.lineWidthBold,"&-animated":{transition:`height ${qe.motionDurationSlow}, top ${qe.motionDurationSlow}`}},[`${yt}-nav-list, ${yt}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${yt}-left`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${yt}-content-holder, > div > ${yt}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${qe.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${qe.lineWidth}px ${qe.lineType} ${qe.colorBorder}`},[`> ${yt}-content > ${yt}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:qe.paddingLG}}}},[`${yt}-right`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{order:1,[`${yt}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${yt}-content-holder, > div > ${yt}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-qe.lineWidth},borderRight:{_skip_check_:!0,value:`${qe.lineWidth}px ${qe.lineType} ${qe.colorBorder}`},[`> ${yt}-content > ${yt}-tabpane`]:{paddingRight:{_skip_check_:!0,value:qe.paddingLG}}}}}},Li=qe=>{const{componentCls:yt,cardPaddingSM:St,cardPaddingLG:Dt,horizontalItemPaddingSM:Tt,horizontalItemPaddingLG:Nt}=qe;return{[yt]:{"&-small":{[`> ${yt}-nav`]:{[`${yt}-tab`]:{padding:Tt,fontSize:qe.titleFontSizeSM}}},"&-large":{[`> ${yt}-nav`]:{[`${yt}-tab`]:{padding:Nt,fontSize:qe.titleFontSizeLG}}}},[`${yt}-card`]:{[`&${yt}-small`]:{[`> ${yt}-nav`]:{[`${yt}-tab`]:{padding:St}},[`&${yt}-bottom`]:{[`> ${yt}-nav ${yt}-tab`]:{borderRadius:`0 0 ${qe.borderRadius}px ${qe.borderRadius}px`}},[`&${yt}-top`]:{[`> ${yt}-nav ${yt}-tab`]:{borderRadius:`${qe.borderRadius}px ${qe.borderRadius}px 0 0`}},[`&${yt}-right`]:{[`> ${yt}-nav ${yt}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${qe.borderRadius}px ${qe.borderRadius}px 0`}}},[`&${yt}-left`]:{[`> ${yt}-nav ${yt}-tab`]:{borderRadius:{_skip_check_:!0,value:`${qe.borderRadius}px 0 0 ${qe.borderRadius}px`}}}},[`&${yt}-large`]:{[`> ${yt}-nav`]:{[`${yt}-tab`]:{padding:Dt}}}}}},yi=qe=>{const{componentCls:yt,itemActiveColor:St,itemHoverColor:Dt,iconCls:Tt,tabsHorizontalItemMargin:Nt,horizontalItemPadding:_t,itemSelectedColor:rn,itemColor:vn}=qe,Vn=`${yt}-tab`;return{[Vn]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:_t,fontSize:qe.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:vn,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:St}},(0,Wi.Qy)(qe)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-qe.marginXXS},marginLeft:{_skip_check_:!0,value:qe.marginXS},color:qe.colorTextDescription,fontSize:qe.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${qe.motionDurationSlow}`,"&:hover":{color:qe.colorTextHeading}},"&:hover":{color:Dt},[`&${Vn}-active ${Vn}-btn`]:{color:rn,textShadow:qe.tabsActiveTextShadow},[`&${Vn}-disabled`]:{color:qe.colorTextDisabled,cursor:"not-allowed"},[`&${Vn}-disabled ${Vn}-btn, &${Vn}-disabled ${yt}-remove`]:{"&:focus, &:active":{color:qe.colorTextDisabled}},[`& ${Vn}-remove ${Tt}`]:{margin:0},[Tt]:{marginRight:{_skip_check_:!0,value:qe.marginSM}}},[`${Vn} + ${Vn}`]:{margin:{_skip_check_:!0,value:Nt}}}},ji=qe=>{const{componentCls:yt,tabsHorizontalItemMarginRTL:St,iconCls:Dt,cardGutter:Tt}=qe;return{[`${yt}-rtl`]:{direction:"rtl",[`${yt}-nav`]:{[`${yt}-tab`]:{margin:{_skip_check_:!0,value:St},[`${yt}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Dt]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${qe.marginSM}px`}},[`${yt}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${qe.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${qe.marginXXS}px`},[Dt]:{margin:0}}}},[`&${yt}-left`]:{[`> ${yt}-nav`]:{order:1},[`> ${yt}-content-holder`]:{order:0}},[`&${yt}-right`]:{[`> ${yt}-nav`]:{order:0},[`> ${yt}-content-holder`]:{order:1}},[`&${yt}-card${yt}-top, &${yt}-card${yt}-bottom`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab + ${yt}-tab`]:{marginRight:{_skip_check_:!0,value:Tt},marginLeft:{_skip_check_:!0,value:0}}}}},[`${yt}-dropdown-rtl`]:{direction:"rtl"},[`${yt}-menu-item`]:{[`${yt}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},qi=qe=>{const{componentCls:yt,tabsCardPadding:St,cardHeight:Dt,cardGutter:Tt,itemHoverColor:Nt,itemActiveColor:_t,colorBorderSecondary:rn}=qe;return{[yt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Wi.Wf)(qe)),{display:"flex",[`> ${yt}-nav, > div > ${yt}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${yt}-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 ${qe.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${yt}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${qe.motionDurationSlow}`},[`${yt}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${yt}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${yt}-nav-more`]:{position:"relative",padding:St,background:"transparent",border:0,color:qe.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:qe.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${yt}-nav-add`]:Object.assign({minWidth:Dt,marginLeft:{_skip_check_:!0,value:Tt},padding:`0 ${qe.paddingXS}px`,background:"transparent",border:`${qe.lineWidth}px ${qe.lineType} ${rn}`,borderRadius:`${qe.borderRadiusLG}px ${qe.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:qe.colorText,transition:`all ${qe.motionDurationSlow} ${qe.motionEaseInOut}`,"&:hover":{color:Nt},"&:active, &:focus:not(:focus-visible)":{color:_t}},(0,Wi.Qy)(qe))},[`${yt}-extra-content`]:{flex:"none"},[`${yt}-ink-bar`]:{position:"absolute",background:qe.inkBarColor,pointerEvents:"none"}}),yi(qe)),{[`${yt}-content`]:{position:"relative",width:"100%"},[`${yt}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${yt}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${yt}-centered`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-nav-wrap`]:{[`&:not([class*='${yt}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var oi=(0,mn.Z)("Tabs",qe=>{const yt=(0,sn.TS)(qe,{tabsCardPadding:qe.cardPadding||`${(qe.cardHeight-Math.round(qe.fontSize*qe.lineHeight))/2-qe.lineWidth}px ${qe.padding}px`,dropdownEdgeChildVerticalPadding:qe.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${qe.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${qe.horizontalItemGutter}px`});return[Li(yt),ji(yt),pi(yt),ai(yt),Xr(yt),qi(yt),gr(yt)]},qe=>{const yt=qe.controlHeightLG;return{zIndexPopup:qe.zIndexPopupBase+50,cardBg:qe.colorFillAlter,cardHeight:yt,cardPadding:"",cardPaddingSM:`${qe.paddingXXS*1.5}px ${qe.padding}px`,cardPaddingLG:`${qe.paddingXS}px ${qe.padding}px ${qe.paddingXXS*1.5}px`,titleFontSize:qe.fontSize,titleFontSizeLG:qe.fontSizeLG,titleFontSizeSM:qe.fontSize,inkBarColor:qe.colorPrimary,horizontalMargin:`0 0 ${qe.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${qe.paddingSM}px 0`,horizontalItemPaddingSM:`${qe.paddingXS}px 0`,horizontalItemPaddingLG:`${qe.padding}px 0`,verticalItemPadding:`${qe.paddingXS}px ${qe.paddingLG}px`,verticalItemMargin:`${qe.margin}px 0 0 0`,itemColor:qe.colorText,itemSelectedColor:qe.colorPrimary,itemHoverColor:qe.colorPrimaryHover,itemActiveColor:qe.colorPrimaryActive,cardGutter:qe.marginXXS/2}}),Sn=function(qe,yt){var St={};for(var Dt in qe)Object.prototype.hasOwnProperty.call(qe,Dt)&&yt.indexOf(Dt)<0&&(St[Dt]=qe[Dt]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,Dt=Object.getOwnPropertySymbols(qe);Tt<Dt.length;Tt++)yt.indexOf(Dt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(qe,Dt[Tt])&&(St[Dt[Tt]]=qe[Dt[Tt]]);return St};const Ln=qe=>{const{type:yt,className:St,rootClassName:Dt,size:Tt,onEdit:Nt,hideAdd:_t,centered:rn,addIcon:vn,popupClassName:Vn,children:$n,items:Xn,animated:On,style:In,indicatorSize:En}=qe,Hn=Sn(qe,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:mr,moreIcon:Qn=re.createElement($e.Z,null)}=Hn,{direction:or,tabs:ur,getPrefixCls:yr,getPopupContainer:Sr}=re.useContext(la.E_),kt=yr("tabs",mr),[It,en]=oi(kt);let Xt;yt==="editable-card"&&(Xt={onEdit:(Ht,Yt)=>{let{key:Cn,event:sr}=Yt;Nt==null||Nt(Ht==="add"?sr:Cn,Ht)},removeIcon:re.createElement(Oe.Z,null),addIcon:vn||re.createElement(x.Z,null),showAdd:_t!==!0});const wn=yr(),zn=Ya(Xn,$n),_n=Ri(kt,On),dr=(0,_a.Z)(Tt),Zt=Object.assign(Object.assign({},ur==null?void 0:ur.style),In);return It(re.createElement(ga,Object.assign({direction:or,getPopupContainer:Sr,moreTransitionName:`${wn}-slide-up`},Hn,{items:zn,className:me()({[`${kt}-${dr}`]:dr,[`${kt}-card`]:["card","editable-card"].includes(yt),[`${kt}-editable-card`]:yt==="editable-card",[`${kt}-centered`]:rn},ur==null?void 0:ur.className,St,Dt,en),popupClassName:me()(Vn,en),style:Zt,editable:Xt,moreIcon:Qn,prefixCls:kt,animated:_n,indicatorSize:En!=null?En:ur==null?void 0:ur.indicatorSize})))};Ln.TabPane=Ui;var Yn=Ln},79870:function(tn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return oi}});var Oe=ve(87462),$e=ve(4942),x=ve(71002),Te=ve(1413),me=ve(74902),ie=ve(15671),te=ve(43144),ae=ve(97326),ne=ve(60136),oe=ve(51630),he=ve(94184),re=ve.n(he),se={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(Ln){var Yn=Ln.keyCode;if(Ln.altKey&&!Ln.ctrlKey||Ln.metaKey||Yn>=se.F1&&Yn<=se.F12)return!1;switch(Yn){case se.ALT:case se.CAPS_LOCK:case se.CONTEXT_MENU:case se.CTRL:case se.DOWN:case se.END:case se.ESC:case se.HOME:case se.INSERT:case se.LEFT:case se.MAC_FF_META:case se.META:case se.NUMLOCK:case se.NUM_CENTER:case se.PAGE_DOWN:case se.PAGE_UP:case se.PAUSE:case se.PRINT_SCREEN:case se.RIGHT:case se.SHIFT:case se.UP:case se.WIN_KEY:case se.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Ln){if(Ln>=se.ZERO&&Ln<=se.NINE||Ln>=se.NUM_ZERO&&Ln<=se.NUM_MULTIPLY||Ln>=se.A&&Ln<=se.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ln===0)return!0;switch(Ln){case se.SPACE:case se.QUESTION_MARK:case se.NUM_PLUS:case se.NUM_MINUS:case se.NUM_PERIOD:case se.NUM_DIVISION:case se.SEMICOLON:case se.DASH:case se.EQUALS:case se.COMMA:case se.PERIOD:case se.SLASH:case se.APOSTROPHE:case se.SINGLE_QUOTE:case se.OPEN_SQUARE_BRACKET:case se.BACKSLASH:case se.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ce=se,fe=ve(34952),pe=ve(72978),le=ve(67294),Se=ve(69610);function xe(Sn){var Ln=Sn.dropPosition,Yn=Sn.dropLevelOffset,qe=Sn.indent,yt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ln){case-1:yt.top=0,yt.left=-Yn*qe;break;case 1:yt.bottom=0,yt.left=-Yn*qe;break;case 0:yt.bottom=0,yt.left=qe;break}return le.createElement("div",{style:yt})}var ge=ve(36459),Me=ve(97685),ye=ve(45987);function be(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Fe=be()?le.useLayoutEffect:le.useEffect,ke=Fe,Ie=function(Ln,Yn){var qe=React.useRef(!0);Fe(function(){if(!qe.current)return Ln()},Yn),Fe(function(){return qe.current=!1,function(){qe.current=!0}},[])},Le=ve(73299),De=ve(73935);function Be(Sn){return Sn instanceof HTMLElement||Sn instanceof SVGElement}function Ue(Sn){return Be(Sn)?Sn:Sn instanceof le.Component?De.findDOMNode(Sn):null}var _e=ve(28580);function We(Sn,Ln,Yn){var qe=React.useRef({});return(!("value"in qe.current)||Yn(qe.current.condition,Ln))&&(qe.current.value=Sn(),qe.current.condition=Ln),qe.current.value}function Ze(Sn,Ln){typeof Sn=="function"?Sn(Ln):(0,x.Z)(Sn)==="object"&&Sn&&"current"in Sn&&(Sn.current=Ln)}function et(){for(var Sn=arguments.length,Ln=new Array(Sn),Yn=0;Yn<Sn;Yn++)Ln[Yn]=arguments[Yn];var qe=Ln.filter(function(yt){return yt});return qe.length<=1?qe[0]:function(yt){Ln.forEach(function(St){Ze(St,yt)})}}function at(){for(var Sn=arguments.length,Ln=new Array(Sn),Yn=0;Yn<Sn;Yn++)Ln[Yn]=arguments[Yn];return useMemo(function(){return et.apply(void 0,Ln)},Ln,function(qe,yt){return qe.length===yt.length&&qe.every(function(St,Dt){return St===yt[Dt]})})}function pt(Sn){var Ln,Yn,qe=(0,_e.isMemo)(Sn)?Sn.type.type:Sn.type;return!(typeof qe=="function"&&!((Ln=qe.prototype)!==null&&Ln!==void 0&&Ln.render)||typeof Sn=="function"&&!((Yn=Sn.prototype)!==null&&Yn!==void 0&&Yn.render))}function Xe(Sn,Ln){var Yn={};return Yn[Sn.toLowerCase()]=Ln.toLowerCase(),Yn["Webkit".concat(Sn)]="webkit".concat(Ln),Yn["Moz".concat(Sn)]="moz".concat(Ln),Yn["ms".concat(Sn)]="MS".concat(Ln),Yn["O".concat(Sn)]="o".concat(Ln.toLowerCase()),Yn}function Ge(Sn,Ln){var Yn={animationend:Xe("Animation","AnimationEnd"),transitionend:Xe("Transition","TransitionEnd")};return Sn&&("AnimationEvent"in Ln||delete Yn.animationend.animation,"TransitionEvent"in Ln||delete Yn.transitionend.transition),Yn}var lt=Ge(be(),typeof window!="undefined"?window:{}),dt={};if(be()){var st=document.createElement("div");dt=st.style}var nt={};function rt(Sn){if(nt[Sn])return nt[Sn];var Ln=lt[Sn];if(Ln)for(var Yn=Object.keys(Ln),qe=Yn.length,yt=0;yt<qe;yt+=1){var St=Yn[yt];if(Object.prototype.hasOwnProperty.call(Ln,St)&&St in dt)return nt[Sn]=Ln[St],nt[Sn]}return""}var it=rt("animationend"),gt=rt("transitionend"),vt=!!(it&&gt),At=it||"animationend",Et=gt||"transitionend";function ut(Sn,Ln){if(!Sn)return null;if((0,x.Z)(Sn)==="object"){var Yn=Ln.replace(/-\w/g,function(qe){return qe[1].toUpperCase()});return Sn[Yn]}return"".concat(Sn,"-").concat(Ln)}var Ye="none",Ve="appear",de="enter",Ce="leave",He="none",je="prepare",Ae="start",Re="active",ze="end";function Qe(Sn){var Ln=le.useRef(!1),Yn=le.useState(Sn),qe=(0,Me.Z)(Yn,2),yt=qe[0],St=qe[1];le.useEffect(function(){return Ln.current=!1,function(){Ln.current=!0}},[]);function Dt(Tt,Nt){Nt&&Ln.current||St(Tt)}return[yt,Dt]}var ot=function(Ln){return+setTimeout(Ln,16)},mt=function(Ln){return clearTimeout(Ln)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ot=function(Ln){return window.requestAnimationFrame(Ln)},mt=function(Ln){return window.cancelAnimationFrame(Ln)});var Ot=0,xt=new Map;function Wt(Sn){xt.delete(Sn)}var bn=function(Ln){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ot+=1;var qe=Ot;function yt(St){if(St===0)Wt(qe),Ln();else{var Dt=ot(function(){yt(St-1)});xt.set(qe,Dt)}}return yt(Yn),qe};bn.cancel=function(Sn){var Ln=xt.get(Sn);return Wt(Ln),mt(Ln)};var Ft=bn,Qt=function(){var Sn=le.useRef(null);function Ln(){Ft.cancel(Sn.current)}function Yn(qe){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Ln();var St=Ft(function(){yt<=1?qe({isCanceled:function(){return St!==Sn.current}}):Yn(qe,yt-1)});Sn.current=St}return le.useEffect(function(){return function(){Ln()}},[]),[Yn,Ln]},Vt=be()?le.useLayoutEffect:le.useEffect,yn=Vt,Pt=[je,Ae,Re,ze],zt=!1,an=!0;function gn(Sn){return Sn===Re||Sn===ze}var Tn=function(Sn,Ln){var Yn=Qe(He),qe=(0,Me.Z)(Yn,2),yt=qe[0],St=qe[1],Dt=Qt(),Tt=(0,Me.Z)(Dt,2),Nt=Tt[0],_t=Tt[1];function rn(){St(je,!0)}return yn(function(){if(yt!==He&&yt!==ze){var vn=Pt.indexOf(yt),Vn=Pt[vn+1],$n=Ln(yt);$n===zt?St(Vn,!0):Nt(function(Xn){function On(){Xn.isCanceled()||St(Vn,!0)}$n===!0?On():Promise.resolve($n).then(On)})}},[Sn,yt]),le.useEffect(function(){return function(){_t()}},[]),[rn,yt]},Gn=function(Sn){var Ln=(0,le.useRef)(),Yn=(0,le.useRef)(Sn);Yn.current=Sn;var qe=le.useCallback(function(Dt){Yn.current(Dt)},[]);function yt(Dt){Dt&&(Dt.removeEventListener(Et,qe),Dt.removeEventListener(At,qe))}function St(Dt){Ln.current&&Ln.current!==Dt&&yt(Ln.current),Dt&&Dt!==Ln.current&&(Dt.addEventListener(Et,qe),Dt.addEventListener(At,qe),Ln.current=Dt)}return le.useEffect(function(){return function(){yt(Ln.current)}},[]),[St,yt]};function fr(Sn,Ln,Yn,qe){var yt=qe.motionEnter,St=yt===void 0?!0:yt,Dt=qe.motionAppear,Tt=Dt===void 0?!0:Dt,Nt=qe.motionLeave,_t=Nt===void 0?!0:Nt,rn=qe.motionDeadline,vn=qe.motionLeaveImmediately,Vn=qe.onAppearPrepare,$n=qe.onEnterPrepare,Xn=qe.onLeavePrepare,On=qe.onAppearStart,In=qe.onEnterStart,En=qe.onLeaveStart,Hn=qe.onAppearActive,mr=qe.onEnterActive,Qn=qe.onLeaveActive,or=qe.onAppearEnd,ur=qe.onEnterEnd,yr=qe.onLeaveEnd,Sr=qe.onVisibleChanged,kt=Qe(),It=(0,Me.Z)(kt,2),en=It[0],Xt=It[1],wn=Qe(Ye),zn=(0,Me.Z)(wn,2),_n=zn[0],dr=zn[1],Zt=Qe(null),Ht=(0,Me.Z)(Zt,2),Yt=Ht[0],Cn=Ht[1],sr=(0,le.useRef)(!1),Wn=(0,le.useRef)(null);function Dn(){return Yn()}var kr=(0,le.useRef)(!1);function Er(Ti){var Hi=Dn();if(!(Ti&&!Ti.deadline&&Ti.target!==Hi)){var Oi=kr.current,ua;_n===Ve&&Oi?ua=or==null?void 0:or(Hi,Ti):_n===de&&Oi?ua=ur==null?void 0:ur(Hi,Ti):_n===Ce&&Oi&&(ua=yr==null?void 0:yr(Hi,Ti)),_n!==Ye&&Oi&&ua!==!1&&(dr(Ye,!0),Cn(null,!0))}}var Rr=Gn(Er),br=(0,Me.Z)(Rr,1),tr=br[0],Nr=le.useMemo(function(){var Ti,Hi,Oi;switch(_n){case Ve:return Ti={},(0,$e.Z)(Ti,je,Vn),(0,$e.Z)(Ti,Ae,On),(0,$e.Z)(Ti,Re,Hn),Ti;case de:return Hi={},(0,$e.Z)(Hi,je,$n),(0,$e.Z)(Hi,Ae,In),(0,$e.Z)(Hi,Re,mr),Hi;case Ce:return Oi={},(0,$e.Z)(Oi,je,Xn),(0,$e.Z)(Oi,Ae,En),(0,$e.Z)(Oi,Re,Qn),Oi;default:return{}}},[_n]),Qr=Tn(_n,function(Ti){if(Ti===je){var Hi=Nr[je];return Hi?Hi(Dn()):zt}if(jr in Nr){var Oi;Cn(((Oi=Nr[jr])===null||Oi===void 0?void 0:Oi.call(Nr,Dn(),null))||null)}return jr===Re&&(tr(Dn()),rn>0&&(clearTimeout(Wn.current),Wn.current=setTimeout(function(){Er({deadline:!0})},rn))),an}),_r=(0,Me.Z)(Qr,2),Fr=_r[0],jr=_r[1],Pi=gn(jr);kr.current=Pi,yn(function(){Xt(Ln);var Ti=sr.current;if(sr.current=!0,!!Sn){var Hi;!Ti&&Ln&&Tt&&(Hi=Ve),Ti&&Ln&&St&&(Hi=de),(Ti&&!Ln&&_t||!Ti&&vn&&!Ln&&_t)&&(Hi=Ce),Hi&&(dr(Hi),Fr())}},[Ln]),(0,le.useEffect)(function(){(_n===Ve&&!Tt||_n===de&&!St||_n===Ce&&!_t)&&dr(Ye)},[Tt,St,_t]),(0,le.useEffect)(function(){return function(){sr.current=!1,clearTimeout(Wn.current)}},[]);var di=le.useRef(!1);(0,le.useEffect)(function(){en&&(di.current=!0),en!==void 0&&_n===Ye&&((di.current||en)&&(Sr==null||Sr(en)),di.current=!0)},[en,_n]);var Ai=Yt;return Nr[je]&&jr===Ae&&(Ai=(0,Te.Z)({transition:"none"},Ai)),[_n,jr,Ai,en!=null?en:Ln]}var Tr=function(Sn){(0,ne.Z)(Yn,Sn);var Ln=(0,oe.Z)(Yn);function Yn(){return(0,ie.Z)(this,Yn),Ln.apply(this,arguments)}return(0,te.Z)(Yn,[{key:"render",value:function(){return this.props.children}}]),Yn}(le.Component),Wr=Tr;function ti(Sn){var Ln=Sn;(0,x.Z)(Sn)==="object"&&(Ln=Sn.transitionSupport);function Yn(yt){return!!(yt.motionName&&Ln)}var qe=le.forwardRef(function(yt,St){var Dt=yt.visible,Tt=Dt===void 0?!0:Dt,Nt=yt.removeOnLeave,_t=Nt===void 0?!0:Nt,rn=yt.forceRender,vn=yt.children,Vn=yt.motionName,$n=yt.leavedClassName,Xn=yt.eventProps,On=Yn(yt),In=(0,le.useRef)(),En=(0,le.useRef)();function Hn(){try{return In.current instanceof HTMLElement?In.current:Ue(En.current)}catch(Zt){return null}}var mr=fr(On,Tt,Hn,yt),Qn=(0,Me.Z)(mr,4),or=Qn[0],ur=Qn[1],yr=Qn[2],Sr=Qn[3],kt=le.useRef(Sr);Sr&&(kt.current=!0);var It=le.useCallback(function(Zt){In.current=Zt,Ze(St,Zt)},[St]),en,Xt=(0,Te.Z)((0,Te.Z)({},Xn),{},{visible:Tt});if(!vn)en=null;else if(or===Ye||!Yn(yt))Sr?en=vn((0,Te.Z)({},Xt),It):!_t&&kt.current&&$n?en=vn((0,Te.Z)((0,Te.Z)({},Xt),{},{className:$n}),It):rn||!_t&&!$n?en=vn((0,Te.Z)((0,Te.Z)({},Xt),{},{style:{display:"none"}}),It):en=null;else{var wn,zn;ur===je?zn="prepare":gn(ur)?zn="active":ur===Ae&&(zn="start"),en=vn((0,Te.Z)((0,Te.Z)({},Xt),{},{className:re()(ut(Vn,or),(wn={},(0,$e.Z)(wn,ut(Vn,"".concat(or,"-").concat(zn)),zn),(0,$e.Z)(wn,Vn,typeof Vn=="string"),wn)),style:yr}),It)}if(le.isValidElement(en)&&pt(en)){var _n=en,dr=_n.ref;dr||(en=le.cloneElement(en,{ref:It}))}return le.createElement(Wr,{ref:En},en)});return qe.displayName="CSSMotion",qe}var Dr=ti(vt),ri="add",Mi="keep",$r="remove",Xi="removed";function Ii(Sn){var Ln;return Sn&&(0,x.Z)(Sn)==="object"&&"key"in Sn?Ln=Sn:Ln={key:Sn},(0,Te.Z)((0,Te.Z)({},Ln),{},{key:String(Ln.key)})}function nn(){var Sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Sn.map(Ii)}function Jn(){var Sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ln=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Yn=[],qe=0,yt=Ln.length,St=nn(Sn),Dt=nn(Ln);St.forEach(function(_t){for(var rn=!1,vn=qe;vn<yt;vn+=1){var Vn=Dt[vn];if(Vn.key===_t.key){qe<vn&&(Yn=Yn.concat(Dt.slice(qe,vn).map(function($n){return(0,Te.Z)((0,Te.Z)({},$n),{},{status:ri})})),qe=vn),Yn.push((0,Te.Z)((0,Te.Z)({},Vn),{},{status:Mi})),qe+=1,rn=!0;break}}rn||Yn.push((0,Te.Z)((0,Te.Z)({},_t),{},{status:$r}))}),qe<yt&&(Yn=Yn.concat(Dt.slice(qe).map(function(_t){return(0,Te.Z)((0,Te.Z)({},_t),{},{status:ri})})));var Tt={};Yn.forEach(function(_t){var rn=_t.key;Tt[rn]=(Tt[rn]||0)+1});var Nt=Object.keys(Tt).filter(function(_t){return Tt[_t]>1});return Nt.forEach(function(_t){Yn=Yn.filter(function(rn){var vn=rn.key,Vn=rn.status;return vn!==_t||Vn!==$r}),Yn.forEach(function(rn){rn.key===_t&&(rn.status=Mi)})}),Yn}var hr=["component","children","onVisibleChanged","onAllRemoved"],Kn=["status"],Hr=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Pr(Sn){var Ln=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dr,Yn=function(qe){(0,ne.Z)(St,qe);var yt=(0,oe.Z)(St);function St(){var Dt;(0,ie.Z)(this,St);for(var Tt=arguments.length,Nt=new Array(Tt),_t=0;_t<Tt;_t++)Nt[_t]=arguments[_t];return Dt=yt.call.apply(yt,[this].concat(Nt)),(0,$e.Z)((0,ae.Z)(Dt),"state",{keyEntities:[]}),(0,$e.Z)((0,ae.Z)(Dt),"removeKey",function(rn){var vn=Dt.state.keyEntities,Vn=vn.map(function($n){return $n.key!==rn?$n:(0,Te.Z)((0,Te.Z)({},$n),{},{status:Xi})});return Dt.setState({keyEntities:Vn}),Vn.filter(function($n){var Xn=$n.status;return Xn!==Xi}).length}),Dt}return(0,te.Z)(St,[{key:"render",value:function(){var Tt=this,Nt=this.state.keyEntities,_t=this.props,rn=_t.component,vn=_t.children,Vn=_t.onVisibleChanged,$n=_t.onAllRemoved,Xn=(0,ye.Z)(_t,hr),On=rn||le.Fragment,In={};return Hr.forEach(function(En){In[En]=Xn[En],delete Xn[En]}),delete Xn.keys,le.createElement(On,Xn,Nt.map(function(En){var Hn=En.status,mr=(0,ye.Z)(En,Kn),Qn=Hn===ri||Hn===Mi;return le.createElement(Ln,(0,Oe.Z)({},In,{key:mr.key,visible:Qn,eventProps:mr,onVisibleChanged:function(ur){if(Vn==null||Vn(ur,{key:mr.key}),!ur){var yr=Tt.removeKey(mr.key);yr===0&&$n&&$n()}}}),vn)}))}}],[{key:"getDerivedStateFromProps",value:function(Tt,Nt){var _t=Tt.keys,rn=Nt.keyEntities,vn=nn(_t),Vn=Jn(rn,vn);return{keyEntities:Vn.filter(function($n){var Xn=rn.find(function(On){var In=On.key;return $n.key===In});return!(Xn&&Xn.status===Xi&&$n.status===$r)})}}}]),St}(le.Component);return(0,$e.Z)(Yn,"defaultProps",{component:"div"}),Yn}var Or=Pr(vt),Mr=Dr,Ut=ve(56261);function $t(Sn,Ln){var Yn=le.useState(!1),qe=(0,Me.Z)(Yn,2),yt=qe[0],St=qe[1];le.useLayoutEffect(function(){if(yt)return Sn(),function(){Ln()}},[yt]),le.useLayoutEffect(function(){return St(!0),function(){St(!1)}},[])}var qt=ve(83898),Nn=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],jt=function(Ln,Yn){var qe=Ln.className,yt=Ln.style,St=Ln.motion,Dt=Ln.motionNodes,Tt=Ln.motionType,Nt=Ln.onMotionStart,_t=Ln.onMotionEnd,rn=Ln.active,vn=Ln.treeNodeRequiredProps,Vn=(0,ye.Z)(Ln,Nn),$n=le.useState(!0),Xn=(0,Me.Z)($n,2),On=Xn[0],In=Xn[1],En=le.useContext(Se.k),Hn=En.prefixCls,mr=Dt&&Tt!=="hide";ke(function(){Dt&&mr!==On&&In(mr)},[Dt]);var Qn=function(){Dt&&Nt()},or=le.useRef(!1),ur=function(){Dt&&!or.current&&(or.current=!0,_t())};$t(Qn,ur);var yr=function(kt){mr===kt&&ur()};return Dt?le.createElement(Mr,(0,Oe.Z)({ref:Yn,visible:On},St,{motionAppear:Tt==="show",onVisibleChanged:yr}),function(Sr,kt){var It=Sr.className,en=Sr.style;return le.createElement("div",{ref:kt,className:re()("".concat(Hn,"-treenode-motion"),It),style:en},Dt.map(function(Xt){var wn=(0,Oe.Z)({},((0,ge.Z)(Xt.data),Xt.data)),zn=Xt.title,_n=Xt.key,dr=Xt.isStart,Zt=Xt.isEnd;delete wn.children;var Ht=(0,qt.H8)(_n,vn);return le.createElement(Ut.Z,(0,Oe.Z)({},wn,Ht,{title:zn,active:rn,data:Xt.data,key:_n,isStart:dr,isEnd:Zt}))}))}):le.createElement(Ut.Z,(0,Oe.Z)({domRef:Yn,className:qe,style:yt},Vn,{active:rn}))};jt.displayName="MotionTreeNode";var on=le.forwardRef(jt),kn=on;function pn(){var Sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ln=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Yn=Sn.length,qe=Ln.length;if(Math.abs(Yn-qe)!==1)return{add:!1,key:null};function yt(St,Dt){var Tt=new Map;St.forEach(function(_t){Tt.set(_t,!0)});var Nt=Dt.filter(function(_t){return!Tt.has(_t)});return Nt.length===1?Nt[0]:null}return Yn<qe?{add:!0,key:yt(Sn,Ln)}:{add:!1,key:yt(Ln,Sn)}}function Bn(Sn,Ln,Yn){var qe=Sn.findIndex(function(Tt){return Tt.key===Yn}),yt=Sn[qe+1],St=Ln.findIndex(function(Tt){return Tt.key===Yn});if(yt){var Dt=Ln.findIndex(function(Tt){return Tt.key===yt.key});return Ln.slice(St+1,Dt)}return Ln.slice(St+1)}var Rn=["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"],pr={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},ii=function(){},Lr="RC_TREE_MOTION_".concat(Math.random()),Ir={key:Lr},Ur={key:Lr,level:0,index:0,pos:"0",node:Ir,nodes:[Ir]},Zr={parent:null,children:[],pos:Ur.pos,data:Ir,title:null,key:Lr,isStart:[],isEnd:[]};function ln(Sn,Ln,Yn,qe){return Ln===!1||!Yn?Sn:Sn.slice(0,Math.ceil(Yn/qe)+1)}function Jt(Sn){var Ln=Sn.key,Yn=Sn.pos;return(0,qt.km)(Ln,Yn)}function cn(Sn){for(var Ln=String(Sn.data.key),Yn=Sn;Yn.parent;)Yn=Yn.parent,Ln="".concat(Yn.data.key," > ").concat(Ln);return Ln}var er=le.forwardRef(function(Sn,Ln){var Yn=Sn.prefixCls,qe=Sn.data,yt=Sn.selectable,St=Sn.checkable,Dt=Sn.expandedKeys,Tt=Sn.selectedKeys,Nt=Sn.checkedKeys,_t=Sn.loadedKeys,rn=Sn.loadingKeys,vn=Sn.halfCheckedKeys,Vn=Sn.keyEntities,$n=Sn.disabled,Xn=Sn.dragging,On=Sn.dragOverNodeKey,In=Sn.dropPosition,En=Sn.motion,Hn=Sn.height,mr=Sn.itemHeight,Qn=Sn.virtual,or=Sn.focusable,ur=Sn.activeItem,yr=Sn.focused,Sr=Sn.tabIndex,kt=Sn.onKeyDown,It=Sn.onFocus,en=Sn.onBlur,Xt=Sn.onActiveChange,wn=Sn.onListChangeStart,zn=Sn.onListChangeEnd,_n=(0,ye.Z)(Sn,Rn),dr=le.useRef(null),Zt=le.useRef(null);le.useImperativeHandle(Ln,function(){return{scrollTo:function(ea){dr.current.scrollTo(ea)},getIndentWidth:function(){return Zt.current.offsetWidth}}});var Ht=le.useState(Dt),Yt=(0,Me.Z)(Ht,2),Cn=Yt[0],sr=Yt[1],Wn=le.useState(qe),Dn=(0,Me.Z)(Wn,2),kr=Dn[0],Er=Dn[1],Rr=le.useState(qe),br=(0,Me.Z)(Rr,2),tr=br[0],Nr=br[1],Qr=le.useState([]),_r=(0,Me.Z)(Qr,2),Fr=_r[0],jr=_r[1],Pi=le.useState(null),di=(0,Me.Z)(Pi,2),Ai=di[0],Ti=di[1],Hi=le.useRef(qe);Hi.current=qe;function Oi(){var mi=Hi.current;Er(mi),Nr(mi),jr([]),Ti(null),zn()}ke(function(){sr(Dt);var mi=pn(Cn,Dt);if(mi.key!==null)if(mi.add){var ea=kr.findIndex(function(Ea){var Yi=Ea.key;return Yi===mi.key}),da=ln(Bn(kr,qe,mi.key),Qn,Hn,mr),Si=kr.slice();Si.splice(ea+1,0,Zr),Nr(Si),jr(da),Ti("show")}else{var $a=qe.findIndex(function(Ea){var Yi=Ea.key;return Yi===mi.key}),io=ln(Bn(qe,kr,mi.key),Qn,Hn,mr),Za=qe.slice();Za.splice($a+1,0,Zr),Nr(Za),jr(io),Ti("hide")}else kr!==qe&&(Er(qe),Nr(qe))},[Dt,qe]),le.useEffect(function(){Xn||Oi()},[Xn]);var ua=En?tr:qe,Ni={expandedKeys:Dt,selectedKeys:Tt,loadedKeys:_t,loadingKeys:rn,checkedKeys:Nt,halfCheckedKeys:vn,dragOverNodeKey:On,dropPosition:In,keyEntities:Vn};return le.createElement(le.Fragment,null,yr&&ur&&le.createElement("span",{style:pr,"aria-live":"assertive"},cn(ur)),le.createElement("div",null,le.createElement("input",{style:pr,disabled:or===!1||$n,tabIndex:or!==!1?Sr:null,onKeyDown:kt,onFocus:It,onBlur:en,value:"",onChange:ii,"aria-label":"for screen reader"})),le.createElement("div",{className:"".concat(Yn,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},le.createElement("div",{className:"".concat(Yn,"-indent")},le.createElement("div",{ref:Zt,className:"".concat(Yn,"-indent-unit")}))),le.createElement(Le.Z,(0,Oe.Z)({},_n,{data:ua,itemKey:Jt,height:Hn,fullHeight:!1,virtual:Qn,itemHeight:mr,prefixCls:"".concat(Yn,"-list"),ref:dr,onVisibleChange:function(ea,da){var Si=new Set(ea),$a=da.filter(function(io){return!Si.has(io)});$a.some(function(io){return Jt(io)===Lr})&&Oi()}}),function(mi){var ea=mi.pos,da=(0,Oe.Z)({},((0,ge.Z)(mi.data),mi.data)),Si=mi.title,$a=mi.key,io=mi.isStart,Za=mi.isEnd,Ea=(0,qt.km)($a,ea);delete da.key,delete da.children;var Yi=(0,qt.H8)(Ea,Ni);return le.createElement(kn,(0,Oe.Z)({},da,Yi,{title:Si,active:!!ur&&$a===ur.key,pos:ea,data:mi.data,isStart:io,isEnd:Za,motion:En,motionNodes:$a===Lr?Fr:null,motionType:Ai,onMotionStart:wn,onMotionEnd:Oi,treeNodeRequiredProps:Ni,onMouseMove:function(){Xt(null)}}))}))});er.displayName="NodeList";var Ar=er,Fn=ve(29873),lr=ve(97153),ir=ve(3596),wr=10,Vr=function(Sn){(0,ne.Z)(Yn,Sn);var Ln=(0,oe.Z)(Yn);function Yn(){var qe;(0,ie.Z)(this,Yn);for(var yt=arguments.length,St=new Array(yt),Dt=0;Dt<yt;Dt++)St[Dt]=arguments[Dt];return qe=Ln.call.apply(Ln,[this].concat(St)),qe.destroyed=!1,qe.delayedDragEnterLogic=void 0,qe.loadingRetryTimes={},qe.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,qt.w$)()},qe.dragStartMousePosition=null,qe.dragNode=void 0,qe.currentMouseOverDroppableNodeKey=null,qe.listRef=le.createRef(),qe.onNodeDragStart=function(Tt,Nt){var _t=qe.state,rn=_t.expandedKeys,vn=_t.keyEntities,Vn=qe.props.onDragStart,$n=Nt.props.eventKey;qe.dragNode=Nt,qe.dragStartMousePosition={x:Tt.clientX,y:Tt.clientY};var Xn=(0,Fn._5)(rn,$n);qe.setState({draggingNodeKey:$n,dragChildrenKeys:(0,Fn.wA)($n,vn),indent:qe.listRef.current.getIndentWidth()}),qe.setExpandedKeys(Xn),window.addEventListener("dragend",qe.onWindowDragEnd),Vn==null||Vn({event:Tt,node:(0,qt.F)(Nt.props)})},qe.onNodeDragEnter=function(Tt,Nt){var _t=qe.state,rn=_t.expandedKeys,vn=_t.keyEntities,Vn=_t.dragChildrenKeys,$n=_t.flattenNodes,Xn=_t.indent,On=qe.props,In=On.onDragEnter,En=On.onExpand,Hn=On.allowDrop,mr=On.direction,Qn=Nt.props,or=Qn.pos,ur=Qn.eventKey,yr=(0,ae.Z)(qe),Sr=yr.dragNode;if(qe.currentMouseOverDroppableNodeKey!==ur&&(qe.currentMouseOverDroppableNodeKey=ur),!Sr){qe.resetDragState();return}var kt=(0,Fn.OM)(Tt,Sr,Nt,Xn,qe.dragStartMousePosition,Hn,$n,vn,rn,mr),It=kt.dropPosition,en=kt.dropLevelOffset,Xt=kt.dropTargetKey,wn=kt.dropContainerKey,zn=kt.dropTargetPos,_n=kt.dropAllowed,dr=kt.dragOverNodeKey;if(Vn.indexOf(Xt)!==-1||!_n){qe.resetDragState();return}if(qe.delayedDragEnterLogic||(qe.delayedDragEnterLogic={}),Object.keys(qe.delayedDragEnterLogic).forEach(function(Zt){clearTimeout(qe.delayedDragEnterLogic[Zt])}),Sr.props.eventKey!==Nt.props.eventKey&&(Tt.persist(),qe.delayedDragEnterLogic[or]=window.setTimeout(function(){if(qe.state.draggingNodeKey!==null){var Zt=(0,me.Z)(rn),Ht=(0,ir.Z)(vn,Nt.props.eventKey);Ht&&(Ht.children||[]).length&&(Zt=(0,Fn.L0)(rn,Nt.props.eventKey)),"expandedKeys"in qe.props||qe.setExpandedKeys(Zt),En==null||En(Zt,{node:(0,qt.F)(Nt.props),expanded:!0,nativeEvent:Tt.nativeEvent})}},800)),Sr.props.eventKey===Xt&&en===0){qe.resetDragState();return}qe.setState({dragOverNodeKey:dr,dropPosition:It,dropLevelOffset:en,dropTargetKey:Xt,dropContainerKey:wn,dropTargetPos:zn,dropAllowed:_n}),In==null||In({event:Tt,node:(0,qt.F)(Nt.props),expandedKeys:rn})},qe.onNodeDragOver=function(Tt,Nt){var _t=qe.state,rn=_t.dragChildrenKeys,vn=_t.flattenNodes,Vn=_t.keyEntities,$n=_t.expandedKeys,Xn=_t.indent,On=qe.props,In=On.onDragOver,En=On.allowDrop,Hn=On.direction,mr=(0,ae.Z)(qe),Qn=mr.dragNode;if(Qn){var or=(0,Fn.OM)(Tt,Qn,Nt,Xn,qe.dragStartMousePosition,En,vn,Vn,$n,Hn),ur=or.dropPosition,yr=or.dropLevelOffset,Sr=or.dropTargetKey,kt=or.dropContainerKey,It=or.dropAllowed,en=or.dropTargetPos,Xt=or.dragOverNodeKey;rn.indexOf(Sr)!==-1||!It||(Qn.props.eventKey===Sr&&yr===0?qe.state.dropPosition===null&&qe.state.dropLevelOffset===null&&qe.state.dropTargetKey===null&&qe.state.dropContainerKey===null&&qe.state.dropTargetPos===null&&qe.state.dropAllowed===!1&&qe.state.dragOverNodeKey===null||qe.resetDragState():ur===qe.state.dropPosition&&yr===qe.state.dropLevelOffset&&Sr===qe.state.dropTargetKey&&kt===qe.state.dropContainerKey&&en===qe.state.dropTargetPos&&It===qe.state.dropAllowed&&Xt===qe.state.dragOverNodeKey||qe.setState({dropPosition:ur,dropLevelOffset:yr,dropTargetKey:Sr,dropContainerKey:kt,dropTargetPos:en,dropAllowed:It,dragOverNodeKey:Xt}),In==null||In({event:Tt,node:(0,qt.F)(Nt.props)}))}},qe.onNodeDragLeave=function(Tt,Nt){qe.currentMouseOverDroppableNodeKey===Nt.props.eventKey&&!Tt.currentTarget.contains(Tt.relatedTarget)&&(qe.resetDragState(),qe.currentMouseOverDroppableNodeKey=null);var _t=qe.props.onDragLeave;_t==null||_t({event:Tt,node:(0,qt.F)(Nt.props)})},qe.onWindowDragEnd=function(Tt){qe.onNodeDragEnd(Tt,null,!0),window.removeEventListener("dragend",qe.onWindowDragEnd)},qe.onNodeDragEnd=function(Tt,Nt){var _t=qe.props.onDragEnd;qe.setState({dragOverNodeKey:null}),qe.cleanDragState(),_t==null||_t({event:Tt,node:(0,qt.F)(Nt.props)}),qe.dragNode=null,window.removeEventListener("dragend",qe.onWindowDragEnd)},qe.onNodeDrop=function(Tt,Nt){var _t,rn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,vn=qe.state,Vn=vn.dragChildrenKeys,$n=vn.dropPosition,Xn=vn.dropTargetKey,On=vn.dropTargetPos,In=vn.dropAllowed;if(In){var En=qe.props.onDrop;if(qe.setState({dragOverNodeKey:null}),qe.cleanDragState(),Xn!==null){var Hn=(0,Te.Z)((0,Te.Z)({},(0,qt.H8)(Xn,qe.getTreeNodeRequiredProps())),{},{active:((_t=qe.getActiveItem())===null||_t===void 0?void 0:_t.key)===Xn,data:(0,ir.Z)(qe.state.keyEntities,Xn).node}),mr=Vn.indexOf(Xn)!==-1;(0,pe.ZP)(!mr,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Qn=(0,Fn.yx)(On),or={event:Tt,node:(0,qt.F)(Hn),dragNode:qe.dragNode?(0,qt.F)(qe.dragNode.props):null,dragNodesKeys:[qe.dragNode.props.eventKey].concat(Vn),dropToGap:$n!==0,dropPosition:$n+Number(Qn[Qn.length-1])};rn||En==null||En(or),qe.dragNode=null}}},qe.cleanDragState=function(){var Tt=qe.state.draggingNodeKey;Tt!==null&&qe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),qe.dragStartMousePosition=null,qe.currentMouseOverDroppableNodeKey=null},qe.triggerExpandActionExpand=function(Tt,Nt){var _t=qe.state,rn=_t.expandedKeys,vn=_t.flattenNodes,Vn=Nt.expanded,$n=Nt.key,Xn=Nt.isLeaf;if(!(Xn||Tt.shiftKey||Tt.metaKey||Tt.ctrlKey)){var On=vn.filter(function(En){return En.key===$n})[0],In=(0,qt.F)((0,Te.Z)((0,Te.Z)({},(0,qt.H8)($n,qe.getTreeNodeRequiredProps())),{},{data:On.data}));qe.setExpandedKeys(Vn?(0,Fn._5)(rn,$n):(0,Fn.L0)(rn,$n)),qe.onNodeExpand(Tt,In)}},qe.onNodeClick=function(Tt,Nt){var _t=qe.props,rn=_t.onClick,vn=_t.expandAction;vn==="click"&&qe.triggerExpandActionExpand(Tt,Nt),rn==null||rn(Tt,Nt)},qe.onNodeDoubleClick=function(Tt,Nt){var _t=qe.props,rn=_t.onDoubleClick,vn=_t.expandAction;vn==="doubleClick"&&qe.triggerExpandActionExpand(Tt,Nt),rn==null||rn(Tt,Nt)},qe.onNodeSelect=function(Tt,Nt){var _t=qe.state.selectedKeys,rn=qe.state,vn=rn.keyEntities,Vn=rn.fieldNames,$n=qe.props,Xn=$n.onSelect,On=$n.multiple,In=Nt.selected,En=Nt[Vn.key],Hn=!In;Hn?On?_t=(0,Fn.L0)(_t,En):_t=[En]:_t=(0,Fn._5)(_t,En);var mr=_t.map(function(Qn){var or=(0,ir.Z)(vn,Qn);return or?or.node:null}).filter(function(Qn){return Qn});qe.setUncontrolledState({selectedKeys:_t}),Xn==null||Xn(_t,{event:"select",selected:Hn,node:Nt,selectedNodes:mr,nativeEvent:Tt.nativeEvent})},qe.onNodeCheck=function(Tt,Nt,_t){var rn=qe.state,vn=rn.keyEntities,Vn=rn.checkedKeys,$n=rn.halfCheckedKeys,Xn=qe.props,On=Xn.checkStrictly,In=Xn.onCheck,En=Nt.key,Hn,mr={event:"check",node:Nt,checked:_t,nativeEvent:Tt.nativeEvent};if(On){var Qn=_t?(0,Fn.L0)(Vn,En):(0,Fn._5)(Vn,En),or=(0,Fn._5)($n,En);Hn={checked:Qn,halfChecked:or},mr.checkedNodes=Qn.map(function(en){return(0,ir.Z)(vn,en)}).filter(function(en){return en}).map(function(en){return en.node}),qe.setUncontrolledState({checkedKeys:Qn})}else{var ur=(0,lr.S)([].concat((0,me.Z)(Vn),[En]),!0,vn),yr=ur.checkedKeys,Sr=ur.halfCheckedKeys;if(!_t){var kt=new Set(yr);kt.delete(En);var It=(0,lr.S)(Array.from(kt),{checked:!1,halfCheckedKeys:Sr},vn);yr=It.checkedKeys,Sr=It.halfCheckedKeys}Hn=yr,mr.checkedNodes=[],mr.checkedNodesPositions=[],mr.halfCheckedKeys=Sr,yr.forEach(function(en){var Xt=(0,ir.Z)(vn,en);if(Xt){var wn=Xt.node,zn=Xt.pos;mr.checkedNodes.push(wn),mr.checkedNodesPositions.push({node:wn,pos:zn})}}),qe.setUncontrolledState({checkedKeys:yr},!1,{halfCheckedKeys:Sr})}In==null||In(Hn,mr)},qe.onNodeLoad=function(Tt){var Nt=Tt.key,_t=new Promise(function(rn,vn){qe.setState(function(Vn){var $n=Vn.loadedKeys,Xn=$n===void 0?[]:$n,On=Vn.loadingKeys,In=On===void 0?[]:On,En=qe.props,Hn=En.loadData,mr=En.onLoad;if(!Hn||Xn.indexOf(Nt)!==-1||In.indexOf(Nt)!==-1)return null;var Qn=Hn(Tt);return Qn.then(function(){var or=qe.state.loadedKeys,ur=(0,Fn.L0)(or,Nt);mr==null||mr(ur,{event:"load",node:Tt}),qe.setUncontrolledState({loadedKeys:ur}),qe.setState(function(yr){return{loadingKeys:(0,Fn._5)(yr.loadingKeys,Nt)}}),rn()}).catch(function(or){if(qe.setState(function(yr){return{loadingKeys:(0,Fn._5)(yr.loadingKeys,Nt)}}),qe.loadingRetryTimes[Nt]=(qe.loadingRetryTimes[Nt]||0)+1,qe.loadingRetryTimes[Nt]>=wr){var ur=qe.state.loadedKeys;(0,pe.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),qe.setUncontrolledState({loadedKeys:(0,Fn.L0)(ur,Nt)}),rn()}vn(or)}),{loadingKeys:(0,Fn.L0)(In,Nt)}})});return _t.catch(function(){}),_t},qe.onNodeMouseEnter=function(Tt,Nt){var _t=qe.props.onMouseEnter;_t==null||_t({event:Tt,node:Nt})},qe.onNodeMouseLeave=function(Tt,Nt){var _t=qe.props.onMouseLeave;_t==null||_t({event:Tt,node:Nt})},qe.onNodeContextMenu=function(Tt,Nt){var _t=qe.props.onRightClick;_t&&(Tt.preventDefault(),_t({event:Tt,node:Nt}))},qe.onFocus=function(){var Tt=qe.props.onFocus;qe.setState({focused:!0});for(var Nt=arguments.length,_t=new Array(Nt),rn=0;rn<Nt;rn++)_t[rn]=arguments[rn];Tt==null||Tt.apply(void 0,_t)},qe.onBlur=function(){var Tt=qe.props.onBlur;qe.setState({focused:!1}),qe.onActiveChange(null);for(var Nt=arguments.length,_t=new Array(Nt),rn=0;rn<Nt;rn++)_t[rn]=arguments[rn];Tt==null||Tt.apply(void 0,_t)},qe.getTreeNodeRequiredProps=function(){var Tt=qe.state,Nt=Tt.expandedKeys,_t=Tt.selectedKeys,rn=Tt.loadedKeys,vn=Tt.loadingKeys,Vn=Tt.checkedKeys,$n=Tt.halfCheckedKeys,Xn=Tt.dragOverNodeKey,On=Tt.dropPosition,In=Tt.keyEntities;return{expandedKeys:Nt||[],selectedKeys:_t||[],loadedKeys:rn||[],loadingKeys:vn||[],checkedKeys:Vn||[],halfCheckedKeys:$n||[],dragOverNodeKey:Xn,dropPosition:On,keyEntities:In}},qe.setExpandedKeys=function(Tt){var Nt=qe.state,_t=Nt.treeData,rn=Nt.fieldNames,vn=(0,qt.oH)(_t,Tt,rn);qe.setUncontrolledState({expandedKeys:Tt,flattenNodes:vn},!0)},qe.onNodeExpand=function(Tt,Nt){var _t=qe.state.expandedKeys,rn=qe.state,vn=rn.listChanging,Vn=rn.fieldNames,$n=qe.props,Xn=$n.onExpand,On=$n.loadData,In=Nt.expanded,En=Nt[Vn.key];if(!vn){var Hn=_t.indexOf(En),mr=!In;if((0,pe.ZP)(In&&Hn!==-1||!In&&Hn===-1,"Expand state not sync with index check"),mr?_t=(0,Fn.L0)(_t,En):_t=(0,Fn._5)(_t,En),qe.setExpandedKeys(_t),Xn==null||Xn(_t,{node:Nt,expanded:mr,nativeEvent:Tt.nativeEvent}),mr&&On){var Qn=qe.onNodeLoad(Nt);Qn&&Qn.then(function(){var or=(0,qt.oH)(qe.state.treeData,_t,Vn);qe.setUncontrolledState({flattenNodes:or})}).catch(function(){var or=qe.state.expandedKeys,ur=(0,Fn._5)(or,En);qe.setExpandedKeys(ur)})}}},qe.onListChangeStart=function(){qe.setUncontrolledState({listChanging:!0})},qe.onListChangeEnd=function(){setTimeout(function(){qe.setUncontrolledState({listChanging:!1})})},qe.onActiveChange=function(Tt){var Nt=qe.state.activeKey,_t=qe.props.onActiveChange;Nt!==Tt&&(qe.setState({activeKey:Tt}),Tt!==null&&qe.scrollTo({key:Tt}),_t==null||_t(Tt))},qe.getActiveItem=function(){var Tt=qe.state,Nt=Tt.activeKey,_t=Tt.flattenNodes;return Nt===null?null:_t.find(function(rn){var vn=rn.key;return vn===Nt})||null},qe.offsetActiveKey=function(Tt){var Nt=qe.state,_t=Nt.flattenNodes,rn=Nt.activeKey,vn=_t.findIndex(function(Xn){var On=Xn.key;return On===rn});vn===-1&&Tt<0&&(vn=_t.length),vn=(vn+Tt+_t.length)%_t.length;var Vn=_t[vn];if(Vn){var $n=Vn.key;qe.onActiveChange($n)}else qe.onActiveChange(null)},qe.onKeyDown=function(Tt){var Nt=qe.state,_t=Nt.activeKey,rn=Nt.expandedKeys,vn=Nt.checkedKeys,Vn=Nt.fieldNames,$n=qe.props,Xn=$n.onKeyDown,On=$n.checkable,In=$n.selectable;switch(Tt.which){case ce.UP:{qe.offsetActiveKey(-1),Tt.preventDefault();break}case ce.DOWN:{qe.offsetActiveKey(1),Tt.preventDefault();break}}var En=qe.getActiveItem();if(En&&En.data){var Hn=qe.getTreeNodeRequiredProps(),mr=En.data.isLeaf===!1||!!(En.data[Vn.children]||[]).length,Qn=(0,qt.F)((0,Te.Z)((0,Te.Z)({},(0,qt.H8)(_t,Hn)),{},{data:En.data,active:!0}));switch(Tt.which){case ce.LEFT:{mr&&rn.includes(_t)?qe.onNodeExpand({},Qn):En.parent&&qe.onActiveChange(En.parent.key),Tt.preventDefault();break}case ce.RIGHT:{mr&&!rn.includes(_t)?qe.onNodeExpand({},Qn):En.children&&En.children.length&&qe.onActiveChange(En.children[0].key),Tt.preventDefault();break}case ce.ENTER:case ce.SPACE:{On&&!Qn.disabled&&Qn.checkable!==!1&&!Qn.disableCheckbox?qe.onNodeCheck({},Qn,!vn.includes(_t)):!On&&In&&!Qn.disabled&&Qn.selectable!==!1&&qe.onNodeSelect({},Qn);break}}}Xn==null||Xn(Tt)},qe.setUncontrolledState=function(Tt){var Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!qe.destroyed){var rn=!1,vn=!0,Vn={};Object.keys(Tt).forEach(function($n){if($n in qe.props){vn=!1;return}rn=!0,Vn[$n]=Tt[$n]}),rn&&(!Nt||vn)&&qe.setState((0,Te.Z)((0,Te.Z)({},Vn),_t))}},qe.scrollTo=function(Tt){qe.listRef.current.scrollTo(Tt)},qe}return(0,te.Z)(Yn,[{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,St=this.state,Dt=St.focused,Tt=St.flattenNodes,Nt=St.keyEntities,_t=St.draggingNodeKey,rn=St.activeKey,vn=St.dropLevelOffset,Vn=St.dropContainerKey,$n=St.dropTargetKey,Xn=St.dropPosition,On=St.dragOverNodeKey,In=St.indent,En=this.props,Hn=En.prefixCls,mr=En.className,Qn=En.style,or=En.showLine,ur=En.focusable,yr=En.tabIndex,Sr=yr===void 0?0:yr,kt=En.selectable,It=En.showIcon,en=En.icon,Xt=En.switcherIcon,wn=En.draggable,zn=En.checkable,_n=En.checkStrictly,dr=En.disabled,Zt=En.motion,Ht=En.loadData,Yt=En.filterTreeNode,Cn=En.height,sr=En.itemHeight,Wn=En.virtual,Dn=En.titleRender,kr=En.dropIndicatorRender,Er=En.onContextMenu,Rr=En.onScroll,br=En.direction,tr=En.rootClassName,Nr=En.rootStyle,Qr=(0,fe.Z)(this.props,{aria:!0,data:!0}),_r;return wn&&((0,x.Z)(wn)==="object"?_r=wn:typeof wn=="function"?_r={nodeDraggable:wn}:_r={}),le.createElement(Se.k.Provider,{value:{prefixCls:Hn,selectable:kt,showIcon:It,icon:en,switcherIcon:Xt,draggable:_r,draggingNodeKey:_t,checkable:zn,checkStrictly:_n,disabled:dr,keyEntities:Nt,dropLevelOffset:vn,dropContainerKey:Vn,dropTargetKey:$n,dropPosition:Xn,dragOverNodeKey:On,indent:In,direction:br,dropIndicatorRender:kr,loadData:Ht,filterTreeNode:Yt,titleRender:Dn,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}},le.createElement("div",{role:"tree",className:re()(Hn,mr,tr,(yt={},(0,$e.Z)(yt,"".concat(Hn,"-show-line"),or),(0,$e.Z)(yt,"".concat(Hn,"-focused"),Dt),(0,$e.Z)(yt,"".concat(Hn,"-active-focused"),rn!==null),yt)),style:Nr},le.createElement(Ar,(0,Oe.Z)({ref:this.listRef,prefixCls:Hn,style:Qn,data:Tt,disabled:dr,selectable:kt,checkable:!!zn,motion:Zt,dragging:_t!==null,height:Cn,itemHeight:sr,virtual:Wn,focusable:ur,focused:Dt,tabIndex:Sr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Er,onScroll:Rr},this.getTreeNodeRequiredProps(),Qr))))}}],[{key:"getDerivedStateFromProps",value:function(yt,St){var Dt=St.prevProps,Tt={prevProps:yt};function Nt(ur){return!Dt&&ur in yt||Dt&&Dt[ur]!==yt[ur]}var _t,rn=St.fieldNames;if(Nt("fieldNames")&&(rn=(0,qt.w$)(yt.fieldNames),Tt.fieldNames=rn),Nt("treeData")?_t=yt.treeData:Nt("children")&&((0,pe.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),_t=(0,qt.zn)(yt.children)),_t){Tt.treeData=_t;var vn=(0,qt.I8)(_t,{fieldNames:rn});Tt.keyEntities=(0,Te.Z)((0,$e.Z)({},Lr,Ur),vn.keyEntities)}var Vn=Tt.keyEntities||St.keyEntities;if(Nt("expandedKeys")||Dt&&Nt("autoExpandParent"))Tt.expandedKeys=yt.autoExpandParent||!Dt&&yt.defaultExpandParent?(0,Fn.r7)(yt.expandedKeys,Vn):yt.expandedKeys;else if(!Dt&&yt.defaultExpandAll){var $n=(0,Te.Z)({},Vn);delete $n[Lr],Tt.expandedKeys=Object.keys($n).map(function(ur){return $n[ur].key})}else!Dt&&yt.defaultExpandedKeys&&(Tt.expandedKeys=yt.autoExpandParent||yt.defaultExpandParent?(0,Fn.r7)(yt.defaultExpandedKeys,Vn):yt.defaultExpandedKeys);if(Tt.expandedKeys||delete Tt.expandedKeys,_t||Tt.expandedKeys){var Xn=(0,qt.oH)(_t||St.treeData,Tt.expandedKeys||St.expandedKeys,rn);Tt.flattenNodes=Xn}if(yt.selectable&&(Nt("selectedKeys")?Tt.selectedKeys=(0,Fn.BT)(yt.selectedKeys,yt):!Dt&&yt.defaultSelectedKeys&&(Tt.selectedKeys=(0,Fn.BT)(yt.defaultSelectedKeys,yt))),yt.checkable){var On;if(Nt("checkedKeys")?On=(0,Fn.E6)(yt.checkedKeys)||{}:!Dt&&yt.defaultCheckedKeys?On=(0,Fn.E6)(yt.defaultCheckedKeys)||{}:_t&&(On=(0,Fn.E6)(yt.checkedKeys)||{checkedKeys:St.checkedKeys,halfCheckedKeys:St.halfCheckedKeys}),On){var In=On,En=In.checkedKeys,Hn=En===void 0?[]:En,mr=In.halfCheckedKeys,Qn=mr===void 0?[]:mr;if(!yt.checkStrictly){var or=(0,lr.S)(Hn,!0,Vn);Hn=or.checkedKeys,Qn=or.halfCheckedKeys}Tt.checkedKeys=Hn,Tt.halfCheckedKeys=Qn}}return Nt("loadedKeys")&&(Tt.loadedKeys=yt.loadedKeys),Tt}}]),Yn}(le.Component);Vr.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:xe,allowDrop:function(){return!0},expandAction:!1},Vr.TreeNode=Ut.Z;var Zn=Vr,_i=Zn,gi=ve(73148),ma=ve(56747),ga={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"},la=ga,_a=ve(74643),$i=function(Ln,Yn){return le.createElement(_a.Z,(0,Oe.Z)({},Ln,{ref:Yn,icon:la}))},Ui=le.forwardRef($i),ya=ve(53124),Ka=ve(50881),Ri=ve(33603),ca=ve(32157);const Na=4;function ro(Sn){const{dropPosition:Ln,dropLevelOffset:Yn,prefixCls:qe,indent:yt,direction:St="ltr"}=Sn,Dt=St==="ltr"?"left":"right",Tt=St==="ltr"?"right":"left",Nt={[Dt]:-Yn*yt+Na,[Tt]:0};switch(Ln){case-1:Nt.top=-3;break;case 1:Nt.bottom=-3;break;default:Nt.bottom=-3,Nt[Dt]=yt+Na;break}return le.createElement("div",{style:Nt,className:`${qe}-drop-indicator`})}var Ya=ve(99184),mn=le.forwardRef((Sn,Ln)=>{const{getPrefixCls:Yn,direction:qe,virtual:yt,tree:St}=le.useContext(ya.E_),{prefixCls:Dt,className:Tt,showIcon:Nt=!1,showLine:_t,switcherIcon:rn,blockNode:vn=!1,children:Vn,checkable:$n=!1,selectable:Xn=!0,draggable:On,motion:In,style:En}=Sn,Hn=Yn("tree",Dt),mr=Yn(),Qn=In!=null?In:Object.assign(Object.assign({},(0,Ri.Z)(mr)),{motionAppear:!1}),or=Object.assign(Object.assign({},Sn),{checkable:$n,selectable:Xn,showIcon:Nt,motion:Qn,blockNode:vn,showLine:!!_t,dropIndicatorRender:ro}),[ur,yr]=(0,ca.ZP)(Hn),Sr=le.useMemo(()=>{if(!On)return!1;let It={};switch(typeof On){case"function":It.nodeDraggable=On;break;case"object":It=Object.assign({},On);break;default:break}return It.icon!==!1&&(It.icon=It.icon||le.createElement(Ka.Z,null)),It},[On]),kt=It=>le.createElement(Ya.Z,{prefixCls:Hn,switcherIcon:rn,treeNodeProps:It,showLine:_t});return ur(le.createElement(_i,Object.assign({itemHeight:20,ref:Ln,virtual:yt},or,{style:Object.assign(Object.assign({},St==null?void 0:St.style),En),prefixCls:Hn,className:re()({[`${Hn}-icon-hide`]:!Nt,[`${Hn}-block-node`]:vn,[`${Hn}-unselectable`]:!Xn,[`${Hn}-rtl`]:qe==="rtl"},St==null?void 0:St.className,Tt,yr),direction:qe,checkable:$n&&le.createElement("span",{className:`${Hn}-checkbox-inner`}),selectable:Xn,switcherIcon:kt,draggable:Sr}),Vn))}),sn;(function(Sn){Sn[Sn.None=0]="None",Sn[Sn.Start=1]="Start",Sn[Sn.End=2]="End"})(sn||(sn={}));function jn(Sn,Ln){function Yn(qe){const{key:yt,children:St}=qe;Ln(yt,qe)!==!1&&jn(St||[],Ln)}Sn.forEach(Yn)}function ar(Sn){let{treeData:Ln,expandedKeys:Yn,startKey:qe,endKey:yt}=Sn;const St=[];let Dt=sn.None;if(qe&&qe===yt)return[qe];if(!qe||!yt)return[];function Tt(Nt){return Nt===qe||Nt===yt}return jn(Ln,Nt=>{if(Dt===sn.End)return!1;if(Tt(Nt)){if(St.push(Nt),Dt===sn.None)Dt=sn.Start;else if(Dt===sn.Start)return Dt=sn.End,!1}else Dt===sn.Start&&St.push(Nt);return Yn.includes(Nt)}),St}function gr(Sn,Ln){const Yn=(0,me.Z)(Ln),qe=[];return jn(Sn,(yt,St)=>{const Dt=Yn.indexOf(yt);return Dt!==-1&&(qe.push(St),Yn.splice(Dt,1)),!!Yn.length}),qe}var Xr=function(Sn,Ln){var Yn={};for(var qe in Sn)Object.prototype.hasOwnProperty.call(Sn,qe)&&Ln.indexOf(qe)<0&&(Yn[qe]=Sn[qe]);if(Sn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,qe=Object.getOwnPropertySymbols(Sn);yt<qe.length;yt++)Ln.indexOf(qe[yt])<0&&Object.prototype.propertyIsEnumerable.call(Sn,qe[yt])&&(Yn[qe[yt]]=Sn[qe[yt]]);return Yn};function ai(Sn){const{isLeaf:Ln,expanded:Yn}=Sn;return Ln?le.createElement(gi.Z,null):Yn?le.createElement(ma.Z,null):le.createElement(Ui,null)}function pi(Sn){let{treeData:Ln,children:Yn}=Sn;return Ln||(0,qt.zn)(Yn)}const Li=(Sn,Ln)=>{var{defaultExpandAll:Yn,defaultExpandParent:qe,defaultExpandedKeys:yt}=Sn,St=Xr(Sn,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Dt=le.useRef(),Tt=le.useRef(),Nt=()=>{const{keyEntities:Sr}=(0,qt.I8)(pi(St));let kt;return Yn?kt=Object.keys(Sr):qe?kt=(0,Fn.r7)(St.expandedKeys||yt||[],Sr):kt=St.expandedKeys||yt,kt},[_t,rn]=le.useState(St.selectedKeys||St.defaultSelectedKeys||[]),[vn,Vn]=le.useState(()=>Nt());le.useEffect(()=>{"selectedKeys"in St&&rn(St.selectedKeys)},[St.selectedKeys]),le.useEffect(()=>{"expandedKeys"in St&&Vn(St.expandedKeys)},[St.expandedKeys]);const $n=(Sr,kt)=>{var It;return"expandedKeys"in St||Vn(Sr),(It=St.onExpand)===null||It===void 0?void 0:It.call(St,Sr,kt)},Xn=(Sr,kt)=>{var It;const{multiple:en}=St,{node:Xt,nativeEvent:wn}=kt,{key:zn=""}=Xt,_n=pi(St),dr=Object.assign(Object.assign({},kt),{selected:!0}),Zt=(wn==null?void 0:wn.ctrlKey)||(wn==null?void 0:wn.metaKey),Ht=wn==null?void 0:wn.shiftKey;let Yt;en&&Zt?(Yt=Sr,Dt.current=zn,Tt.current=Yt,dr.selectedNodes=gr(_n,Yt)):en&&Ht?(Yt=Array.from(new Set([].concat((0,me.Z)(Tt.current||[]),(0,me.Z)(ar({treeData:_n,expandedKeys:vn,startKey:zn,endKey:Dt.current}))))),dr.selectedNodes=gr(_n,Yt)):(Yt=[zn],Dt.current=zn,Tt.current=Yt,dr.selectedNodes=gr(_n,Yt)),(It=St.onSelect)===null||It===void 0||It.call(St,Yt,dr),"selectedKeys"in St||rn(Yt)},{getPrefixCls:On,direction:In}=le.useContext(ya.E_),{prefixCls:En,className:Hn,showIcon:mr=!0,expandAction:Qn="click"}=St,or=Xr(St,["prefixCls","className","showIcon","expandAction"]),ur=On("tree",En),yr=re()(`${ur}-directory`,{[`${ur}-directory-rtl`]:In==="rtl"},Hn);return le.createElement(mn,Object.assign({icon:ai,ref:Ln,blockNode:!0},or,{showIcon:mr,expandAction:Qn,prefixCls:ur,className:yr,expandedKeys:vn,selectedKeys:_t,onSelect:Xn,onExpand:$n}))};var ji=le.forwardRef(Li);const qi=mn;qi.DirectoryTree=ji,qi.TreeNode=Ut.Z;var oi=qi},32157:function(tn,Kt,ve){"use strict";ve.d(Kt,{TM:function(){return se},Yk:function(){return re}});var Oe=ve(45930),$e=ve(63185),x=ve(14747),Te=ve(33507),me=ve(45503),ie=ve(67968);const te=new Oe.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ae=(ce,fe)=>({[`.${ce}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${fe.motionDurationSlow}`}}}),ne=(ce,fe)=>({[`.${ce}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:fe.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${fe.lineWidthBold}px solid ${fe.colorPrimary}`,borderRadius:"50%",content:'""'}}}),oe=(ce,fe)=>{const{treeCls:pe,treeNodeCls:le,treeNodePadding:Se,titleHeight:xe,nodeSelectedBg:ge,nodeHoverBg:Me}=fe,ye=fe.paddingXS;return{[pe]:Object.assign(Object.assign({},(0,x.Wf)(fe)),{background:fe.colorBgContainer,borderRadius:fe.borderRadius,transition:`background-color ${fe.motionDurationSlow}`,[`&${pe}-rtl`]:{[`${pe}-switcher`]:{"&_close":{[`${pe}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${pe}-active-focused)`]:Object.assign({},(0,x.oN)(fe)),[`${pe}-list-holder-inner`]:{alignItems:"flex-start"},[`&${pe}-block-node`]:{[`${pe}-list-holder-inner`]:{alignItems:"stretch",[`${pe}-node-content-wrapper`]:{flex:"auto"},[`${le}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:Se,insetInlineStart:0,border:`1px solid ${fe.colorPrimary}`,opacity:0,animationName:te,animationDuration:fe.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${le}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${Se}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${pe}-node-content-wrapper`]:{color:fe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${pe}-node-content-wrapper`]:Object.assign({},(0,x.oN)(fe)),[`&:not(${le}-disabled).filter-node ${pe}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${pe}-draggable-icon`]:{flexShrink:0,width:xe,lineHeight:`${xe}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${fe.motionDurationSlow}`,[`${le}:hover &`]:{opacity:.45}},[`&${le}-disabled`]:{[`${pe}-draggable-icon`]:{visibility:"hidden"}}}},[`${pe}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:xe}},[`${pe}-draggable-icon`]:{visibility:"hidden"},[`${pe}-switcher`]:Object.assign(Object.assign({},ae(ce,fe)),{position:"relative",flex:"none",alignSelf:"stretch",width:xe,margin:0,lineHeight:`${xe}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${pe}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:fe.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:xe/2,bottom:-Se,marginInlineStart:-1,borderInlineEnd:`1px solid ${fe.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:xe/2*.8,height:xe/2,borderBottom:`1px solid ${fe.colorBorder}`,content:'""'}}}),[`${pe}-checkbox`]:{top:"initial",marginInlineEnd:ye},[`${pe}-node-content-wrapper, ${pe}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:xe,margin:0,padding:`0 ${fe.paddingXS/2}px`,color:"inherit",lineHeight:`${xe}px`,background:"transparent",borderRadius:fe.borderRadius,cursor:"pointer",transition:`all ${fe.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:Me},[`&${pe}-node-selected`]:{backgroundColor:ge},[`${pe}-iconEle`]:{display:"inline-block",width:xe,height:xe,lineHeight:`${xe}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${pe}-unselectable ${pe}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${pe}-node-content-wrapper`]:Object.assign({lineHeight:`${xe}px`,userSelect:"none"},ne(ce,fe)),[`${le}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${fe.colorPrimary}`}},"&-show-line":{[`${pe}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:xe/2,bottom:-Se,borderInlineEnd:`1px solid ${fe.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${pe}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${le}-leaf-last`]:{[`${pe}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${xe/2}px !important`}}}}})}},he=ce=>{const{treeCls:fe,treeNodeCls:pe,treeNodePadding:le,directoryNodeSelectedBg:Se,directoryNodeSelectedColor:xe}=ce;return{[`${fe}${fe}-directory`]:{[pe]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:le,insetInlineStart:0,transition:`background-color ${ce.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ce.controlItemBgHover}},"> *":{zIndex:1},[`${fe}-switcher`]:{transition:`color ${ce.motionDurationMid}`},[`${fe}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${fe}-node-selected`]:{color:xe,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:Se},[`${fe}-switcher`]:{color:xe},[`${fe}-node-content-wrapper`]:{color:xe,background:"transparent"}}}}}},re=(ce,fe)=>{const pe=`.${ce}`,le=`${pe}-treenode`,Se=fe.paddingXS/2,xe=(0,me.TS)(fe,{treeCls:pe,treeNodeCls:le,treeNodePadding:Se});return[oe(ce,xe),he(xe)]},se=ce=>{const{controlHeightSM:fe}=ce;return{titleHeight:fe,nodeHoverBg:ce.controlItemBgHover,nodeSelectedBg:ce.controlItemBgActive}};Kt.ZP=(0,ie.Z)("Tree",(ce,fe)=>{let{prefixCls:pe}=fe;return[{[ce.componentCls]:(0,$e.C2)(`${pe}-checkbox`,ce)},re(pe,ce),(0,Te.Z)(ce)]},ce=>{const{colorTextLightSolid:fe,colorPrimary:pe}=ce;return Object.assign(Object.assign({},se(ce)),{directoryNodeSelectedColor:fe,directoryNodeSelectedBg:pe})})},99184:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return pe}});var Oe=ve(87462),$e=ve(67294),x={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"},Te=x,me=ve(74643),ie=function(Se,xe){return $e.createElement(me.Z,(0,Oe.Z)({},Se,{ref:xe,icon:Te}))},te=$e.forwardRef(ie),ae=ve(73148),ne=ve(3407),oe=ve(34182),he=ve(74664),re=ve(94184),se=ve.n(re),ce=ve(96159),pe=le=>{const{prefixCls:Se,switcherIcon:xe,treeNodeProps:ge,showLine:Me}=le,{isLeaf:ye,expanded:be,loading:Fe}=ge;if(Fe)return $e.createElement(ne.Z,{className:`${Se}-switcher-loading-icon`});let ke;if(Me&&typeof Me=="object"&&(ke=Me.showLeafIcon),ye){if(!Me)return null;if(typeof ke!="boolean"&&ke){const De=typeof ke=="function"?ke(ge):ke,Be=`${Se}-switcher-line-custom-icon`;return(0,ce.l$)(De)?(0,ce.Tm)(De,{className:se()(De.props.className||"",Be)}):De}return ke?$e.createElement(ae.Z,{className:`${Se}-switcher-line-icon`}):$e.createElement("span",{className:`${Se}-switcher-leaf-line`})}const Ie=`${Se}-switcher-icon`,Le=typeof xe=="function"?xe(ge):xe;return(0,ce.l$)(Le)?(0,ce.Tm)(Le,{className:se()(Le.props.className||"",Ie)}):Le!==void 0?Le:Me?be?$e.createElement(oe.Z,{className:`${Se}-switcher-line-icon`}):$e.createElement(he.Z,{className:`${Se}-switcher-line-icon`}):$e.createElement(te,{className:Ie})}},59810:function(tn,Kt,ve){"use strict";ve.d(Kt,{default:function(){return Zr}});var Oe=ve(67294),$e=ve(74902),x=ve(94184),Te=ve.n(x),me=ve(87462),ie=ve(15671),te=ve(43144),ae=ve(60136),ne=ve(51630),oe=ve(4942),he=ve(45987),re=ve(74165),se=ve(71002),ce=ve(15861),fe=ve(64217);function pe(ln,Jt){var cn="cannot ".concat(ln.method," ").concat(ln.action," ").concat(Jt.status,"'"),er=new Error(cn);return er.status=Jt.status,er.method=ln.method,er.url=ln.action,er}function le(ln){var Jt=ln.responseText||ln.response;if(!Jt)return Jt;try{return JSON.parse(Jt)}catch(cn){return Jt}}function Se(ln){var Jt=new XMLHttpRequest;ln.onProgress&&Jt.upload&&(Jt.upload.onprogress=function(Fn){Fn.total>0&&(Fn.percent=Fn.loaded/Fn.total*100),ln.onProgress(Fn)});var cn=new FormData;ln.data&&Object.keys(ln.data).forEach(function(Ar){var Fn=ln.data[Ar];if(Array.isArray(Fn)){Fn.forEach(function(lr){cn.append("".concat(Ar,"[]"),lr)});return}cn.append(Ar,Fn)}),ln.file instanceof Blob?cn.append(ln.filename,ln.file,ln.file.name):cn.append(ln.filename,ln.file),Jt.onerror=function(Fn){ln.onError(Fn)},Jt.onload=function(){return Jt.status<200||Jt.status>=300?ln.onError(pe(ln,Jt),le(Jt)):ln.onSuccess(le(Jt),Jt)},Jt.open(ln.method,ln.action,!0),ln.withCredentials&&"withCredentials"in Jt&&(Jt.withCredentials=!0);var er=ln.headers||{};return er["X-Requested-With"]!==null&&Jt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(er).forEach(function(Ar){er[Ar]!==null&&Jt.setRequestHeader(Ar,er[Ar])}),Jt.send(cn),{abort:function(){Jt.abort()}}}var xe=+new Date,ge=0;function Me(){return"rc-upload-".concat(xe,"-").concat(++ge)}var ye=ve(80334),be=function(ln,Jt){if(ln&&Jt){var cn=Array.isArray(Jt)?Jt:Jt.split(","),er=ln.name||"",Ar=ln.type||"",Fn=Ar.replace(/\/.*$/,"");return cn.some(function(lr){var ir=lr.trim();if(/^\*(\/\*)?$/.test(lr))return!0;if(ir.charAt(0)==="."){var wr=er.toLowerCase(),Vr=ir.toLowerCase(),Zn=[Vr];return(Vr===".jpg"||Vr===".jpeg")&&(Zn=[".jpg",".jpeg"]),Zn.some(function(_i){return wr.endsWith(_i)})}return/\/\*$/.test(ir)?Fn===ir.replace(/\/.*$/,""):Ar===ir?!0:/^\w+$/.test(ir)?((0,ye.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(ir,"'.Skip for check.")),!0):!1})}return!0};function Fe(ln,Jt){var cn=ln.createReader(),er=[];function Ar(){cn.readEntries(function(Fn){var lr=Array.prototype.slice.apply(Fn);er=er.concat(lr);var ir=!lr.length;ir?Jt(er):Ar()})}Ar()}var ke=function(Jt,cn,er){var Ar=function Fn(lr,ir){lr&&(lr.path=ir||"",lr.isFile?lr.file(function(wr){er(wr)&&(lr.fullPath&&!wr.webkitRelativePath&&(Object.defineProperties(wr,{webkitRelativePath:{writable:!0}}),wr.webkitRelativePath=lr.fullPath.replace(/^\//,""),Object.defineProperties(wr,{webkitRelativePath:{writable:!1}})),cn([wr]))}):lr.isDirectory&&Fe(lr,function(wr){wr.forEach(function(Vr){Fn(Vr,"".concat(ir).concat(lr.name,"/"))})}))};Jt.forEach(function(Fn){Ar(Fn.webkitGetAsEntry())})},Ie=ke,Le=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],De=function(ln){(0,ae.Z)(cn,ln);var Jt=(0,ne.Z)(cn);function cn(){var er;(0,ie.Z)(this,cn);for(var Ar=arguments.length,Fn=new Array(Ar),lr=0;lr<Ar;lr++)Fn[lr]=arguments[lr];return er=Jt.call.apply(Jt,[this].concat(Fn)),er.state={uid:Me()},er.reqs={},er.fileInput=void 0,er._isMounted=void 0,er.onChange=function(ir){var wr=er.props,Vr=wr.accept,Zn=wr.directory,_i=ir.target.files,gi=(0,$e.Z)(_i).filter(function(ma){return!Zn||be(ma,Vr)});er.uploadFiles(gi),er.reset()},er.onClick=function(ir){var wr=er.fileInput;if(wr){var Vr=er.props,Zn=Vr.children,_i=Vr.onClick;if(Zn&&Zn.type==="button"){var gi=wr.parentNode;gi.focus(),gi.querySelector("button").blur()}wr.click(),_i&&_i(ir)}},er.onKeyDown=function(ir){ir.key==="Enter"&&er.onClick(ir)},er.onFileDrop=function(ir){var wr=er.props.multiple;if(ir.preventDefault(),ir.type!=="dragover")if(er.props.directory)Ie(Array.prototype.slice.call(ir.dataTransfer.items),er.uploadFiles,function(Zn){return be(Zn,er.props.accept)});else{var Vr=(0,$e.Z)(ir.dataTransfer.files).filter(function(Zn){return be(Zn,er.props.accept)});wr===!1&&(Vr=Vr.slice(0,1)),er.uploadFiles(Vr)}},er.uploadFiles=function(ir){var wr=(0,$e.Z)(ir),Vr=wr.map(function(Zn){return Zn.uid=Me(),er.processFile(Zn,wr)});Promise.all(Vr).then(function(Zn){var _i=er.props.onBatchStart;_i==null||_i(Zn.map(function(gi){var ma=gi.origin,ga=gi.parsedFile;return{file:ma,parsedFile:ga}})),Zn.filter(function(gi){return gi.parsedFile!==null}).forEach(function(gi){er.post(gi)})})},er.processFile=function(){var ir=(0,ce.Z)((0,re.Z)().mark(function wr(Vr,Zn){var _i,gi,ma,ga,la,_a,$i,Ui,ya;return(0,re.Z)().wrap(function(Ri){for(;;)switch(Ri.prev=Ri.next){case 0:if(_i=er.props.beforeUpload,gi=Vr,!_i){Ri.next=14;break}return Ri.prev=3,Ri.next=6,_i(Vr,Zn);case 6:gi=Ri.sent,Ri.next=12;break;case 9:Ri.prev=9,Ri.t0=Ri.catch(3),gi=!1;case 12:if(gi!==!1){Ri.next=14;break}return Ri.abrupt("return",{origin:Vr,parsedFile:null,action:null,data:null});case 14:if(ma=er.props.action,typeof ma!="function"){Ri.next=21;break}return Ri.next=18,ma(Vr);case 18:ga=Ri.sent,Ri.next=22;break;case 21:ga=ma;case 22:if(la=er.props.data,typeof la!="function"){Ri.next=29;break}return Ri.next=26,la(Vr);case 26:_a=Ri.sent,Ri.next=30;break;case 29:_a=la;case 30:return $i=((0,se.Z)(gi)==="object"||typeof gi=="string")&&gi?gi:Vr,$i instanceof File?Ui=$i:Ui=new File([$i],Vr.name,{type:Vr.type}),ya=Ui,ya.uid=Vr.uid,Ri.abrupt("return",{origin:Vr,data:_a,parsedFile:ya,action:ga});case 35:case"end":return Ri.stop()}},wr,null,[[3,9]])}));return function(wr,Vr){return ir.apply(this,arguments)}}(),er.saveFileInput=function(ir){er.fileInput=ir},er}return(0,te.Z)(cn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Ar){var Fn=this,lr=Ar.data,ir=Ar.origin,wr=Ar.action,Vr=Ar.parsedFile;if(this._isMounted){var Zn=this.props,_i=Zn.onStart,gi=Zn.customRequest,ma=Zn.name,ga=Zn.headers,la=Zn.withCredentials,_a=Zn.method,$i=ir.uid,Ui=gi||Se,ya={action:wr,filename:ma,data:lr,file:Vr,headers:ga,withCredentials:la,method:_a||"post",onProgress:function(Ri){var ca=Fn.props.onProgress;ca==null||ca(Ri,Vr)},onSuccess:function(Ri,ca){var Na=Fn.props.onSuccess;Na==null||Na(Ri,Vr,ca),delete Fn.reqs[$i]},onError:function(Ri,ca){var Na=Fn.props.onError;Na==null||Na(Ri,ca,Vr),delete Fn.reqs[$i]}};_i(ir),this.reqs[$i]=Ui(ya)}}},{key:"reset",value:function(){this.setState({uid:Me()})}},{key:"abort",value:function(Ar){var Fn=this.reqs;if(Ar){var lr=Ar.uid?Ar.uid:Ar;Fn[lr]&&Fn[lr].abort&&Fn[lr].abort(),delete Fn[lr]}else Object.keys(Fn).forEach(function(ir){Fn[ir]&&Fn[ir].abort&&Fn[ir].abort(),delete Fn[ir]})}},{key:"render",value:function(){var Ar,Fn=this.props,lr=Fn.component,ir=Fn.prefixCls,wr=Fn.className,Vr=Fn.disabled,Zn=Fn.id,_i=Fn.style,gi=Fn.multiple,ma=Fn.accept,ga=Fn.capture,la=Fn.children,_a=Fn.directory,$i=Fn.openFileDialogOnClick,Ui=Fn.onMouseEnter,ya=Fn.onMouseLeave,Ka=(0,he.Z)(Fn,Le),Ri=Te()((Ar={},(0,oe.Z)(Ar,ir,!0),(0,oe.Z)(Ar,"".concat(ir,"-disabled"),Vr),(0,oe.Z)(Ar,wr,wr),Ar)),ca=_a?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Na=Vr?{}:{onClick:$i?this.onClick:function(){},onKeyDown:$i?this.onKeyDown:function(){},onMouseEnter:Ui,onMouseLeave:ya,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return Oe.createElement(lr,(0,me.Z)({},Na,{className:Ri,role:"button",style:_i}),Oe.createElement("input",(0,me.Z)({},(0,fe.Z)(Ka,{aria:!0,data:!0}),{id:Zn,disabled:Vr,type:"file",ref:this.saveFileInput,onClick:function(Ya){return Ya.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:ma},ca,{multiple:gi,onChange:this.onChange},ga!=null?{capture:ga}:{})),la)}}]),cn}(Oe.Component),Be=De;function Ue(){}var _e=function(ln){(0,ae.Z)(cn,ln);var Jt=(0,ne.Z)(cn);function cn(){var er;(0,ie.Z)(this,cn);for(var Ar=arguments.length,Fn=new Array(Ar),lr=0;lr<Ar;lr++)Fn[lr]=arguments[lr];return er=Jt.call.apply(Jt,[this].concat(Fn)),er.uploader=void 0,er.saveUploader=function(ir){er.uploader=ir},er}return(0,te.Z)(cn,[{key:"abort",value:function(Ar){this.uploader.abort(Ar)}},{key:"render",value:function(){return Oe.createElement(Be,(0,me.Z)({},this.props,{ref:this.saveUploader}))}}]),cn}(Oe.Component);_e.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Ue,onError:Ue,onSuccess:Ue,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var We=_e,Ze=We,et=ve(5663),at=ve(73935),pt=ve(53124),Xe=ve(98866),Ge=ve(10110),lt=ve(24457),dt={icon:function(Jt,cn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:cn}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:Jt}}]}},name:"file",theme:"twotone"},st=dt,nt=ve(74643),rt=function(Jt,cn){return Oe.createElement(nt.Z,(0,me.Z)({},Jt,{ref:cn,icon:st}))},it=Oe.forwardRef(rt),gt=ve(3407),vt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},At=vt,Et=function(Jt,cn){return Oe.createElement(nt.Z,(0,me.Z)({},Jt,{ref:cn,icon:At}))},ut=Oe.forwardRef(Et),Ye={icon:function(Jt,cn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:Jt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:cn}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:cn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:cn}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:Jt}}]}},name:"picture",theme:"twotone"},Ve=Ye,de=function(Jt,cn){return Oe.createElement(nt.Z,(0,me.Z)({},Jt,{ref:cn,icon:Ve}))},Ce=Oe.forwardRef(de),He=ve(38379),je=ve(57838),Ae=ve(33603),Re=ve(96159),ze=ve(71577);function Qe(ln){return Object.assign(Object.assign({},ln),{lastModified:ln.lastModified,lastModifiedDate:ln.lastModifiedDate,name:ln.name,size:ln.size,type:ln.type,uid:ln.uid,percent:0,originFileObj:ln})}function ot(ln,Jt){const cn=(0,$e.Z)(Jt),er=cn.findIndex(Ar=>{let{uid:Fn}=Ar;return Fn===ln.uid});return er===-1?cn.push(ln):cn[er]=ln,cn}function mt(ln,Jt){const cn=ln.uid!==void 0?"uid":"name";return Jt.filter(er=>er[cn]===ln[cn])[0]}function Ot(ln,Jt){const cn=ln.uid!==void 0?"uid":"name",er=Jt.filter(Ar=>Ar[cn]!==ln[cn]);return er.length===Jt.length?null:er}const xt=function(){const Jt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),er=Jt[Jt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(er)||[""])[0]},Wt=ln=>ln.indexOf("image/")===0,bn=ln=>{if(ln.type&&!ln.thumbUrl)return Wt(ln.type);const Jt=ln.thumbUrl||ln.url||"",cn=xt(Jt);return/^data:image\//.test(Jt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(cn)?!0:!(/^data:/.test(Jt)||cn)},Ft=200;function Qt(ln){return new Promise(Jt=>{if(!ln.type||!Wt(ln.type)){Jt("");return}const cn=document.createElement("canvas");cn.width=Ft,cn.height=Ft,cn.style.cssText=`position: fixed; left: 0; top: 0; width: ${Ft}px; height: ${Ft}px; z-index: 9999; display: none;`,document.body.appendChild(cn);const er=cn.getContext("2d"),Ar=new Image;if(Ar.onload=()=>{const{width:Fn,height:lr}=Ar;let ir=Ft,wr=Ft,Vr=0,Zn=0;Fn>lr?(wr=lr*(Ft/Fn),Zn=-(wr-ir)/2):(ir=Fn*(Ft/lr),Vr=-(ir-wr)/2),er.drawImage(Ar,Vr,Zn,ir,wr);const _i=cn.toDataURL();document.body.removeChild(cn),window.URL.revokeObjectURL(Ar.src),Jt(_i)},Ar.crossOrigin="anonymous",ln.type.startsWith("image/svg+xml")){const Fn=new FileReader;Fn.onload=()=>{Fn.result&&(Ar.src=Fn.result)},Fn.readAsDataURL(ln)}else if(ln.type.startsWith("image/gif")){const Fn=new FileReader;Fn.onload=()=>{Fn.result&&Jt(Fn.result)},Fn.readAsDataURL(ln)}else Ar.src=window.URL.createObjectURL(ln)})}var Vt=ve(84249),yn=ve(90674),Pt=ve(99569),zt=ve(38703),an=ve(83062),Tn=Oe.forwardRef((ln,Jt)=>{let{prefixCls:cn,className:er,style:Ar,locale:Fn,listType:lr,file:ir,items:wr,progress:Vr,iconRender:Zn,actionIconRender:_i,itemRender:gi,isImgUrl:ma,showPreviewIcon:ga,showRemoveIcon:la,showDownloadIcon:_a,previewIcon:$i,removeIcon:Ui,downloadIcon:ya,onPreview:Ka,onDownload:Ri,onClose:ca}=ln;var Na,ro;const{status:Ya}=ir,[Wi,mn]=Oe.useState(Ya);Oe.useEffect(()=>{Ya!=="removed"&&mn(Ya)},[Ya]);const[sn,jn]=Oe.useState(!1);Oe.useEffect(()=>{const Tt=setTimeout(()=>{jn(!0)},300);return()=>{clearTimeout(Tt)}},[]);const ar=Zn(ir);let gr=Oe.createElement("div",{className:`${cn}-icon`},ar);if(lr==="picture"||lr==="picture-card"||lr==="picture-circle")if(Wi==="uploading"||!ir.thumbUrl&&!ir.url){const Tt=Te()(`${cn}-list-item-thumbnail`,{[`${cn}-list-item-file`]:Wi!=="uploading"});gr=Oe.createElement("div",{className:Tt},ar)}else{const Tt=ma!=null&&ma(ir)?Oe.createElement("img",{src:ir.thumbUrl||ir.url,alt:ir.name,className:`${cn}-list-item-image`,crossOrigin:ir.crossOrigin}):ar,Nt=Te()(`${cn}-list-item-thumbnail`,{[`${cn}-list-item-file`]:ma&&!ma(ir)});gr=Oe.createElement("a",{className:Nt,onClick:_t=>Ka(ir,_t),href:ir.url||ir.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Tt)}const Xr=Te()(`${cn}-list-item`,`${cn}-list-item-${Wi}`),ai=typeof ir.linkProps=="string"?JSON.parse(ir.linkProps):ir.linkProps,pi=la?_i((typeof Ui=="function"?Ui(ir):Ui)||Oe.createElement(Vt.Z,null),()=>ca(ir),cn,Fn.removeFile):null,Li=_a&&Wi==="done"?_i((typeof ya=="function"?ya(ir):ya)||Oe.createElement(yn.Z,null),()=>Ri(ir),cn,Fn.downloadFile):null,yi=lr!=="picture-card"&&lr!=="picture-circle"&&Oe.createElement("span",{key:"download-delete",className:Te()(`${cn}-list-item-actions`,{picture:lr==="picture"})},Li,pi),ji=Te()(`${cn}-list-item-name`),qi=ir.url?[Oe.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ji,title:ir.name},ai,{href:ir.url,onClick:Tt=>Ka(ir,Tt)}),ir.name),yi]:[Oe.createElement("span",{key:"view",className:ji,onClick:Tt=>Ka(ir,Tt),title:ir.name},ir.name),yi],oi={pointerEvents:"none",opacity:.5},Sn=ga?Oe.createElement("a",{href:ir.url||ir.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:ir.url||ir.thumbUrl?void 0:oi,onClick:Tt=>Ka(ir,Tt),title:Fn.previewFile},typeof $i=="function"?$i(ir):$i||Oe.createElement(Pt.Z,null)):null,Ln=(lr==="picture-card"||lr==="picture-circle")&&Wi!=="uploading"&&Oe.createElement("span",{className:`${cn}-list-item-actions`},Sn,Wi==="done"&&Li,pi),{getPrefixCls:Yn}=Oe.useContext(pt.E_),qe=Yn(),yt=Oe.createElement("div",{className:Xr},gr,qi,Ln,sn&&Oe.createElement(He.default,{motionName:`${qe}-fade`,visible:Wi==="uploading",motionDeadline:2e3},Tt=>{let{className:Nt}=Tt;const _t="percent"in ir?Oe.createElement(zt.Z,Object.assign({},Vr,{type:"line",percent:ir.percent,"aria-label":ir["aria-label"],"aria-labelledby":ir["aria-labelledby"]})):null;return Oe.createElement("div",{className:Te()(`${cn}-list-item-progress`,Nt)},_t)})),St=ir.response&&typeof ir.response=="string"?ir.response:((Na=ir.error)===null||Na===void 0?void 0:Na.statusText)||((ro=ir.error)===null||ro===void 0?void 0:ro.message)||Fn.uploadError,Dt=Wi==="error"?Oe.createElement(an.Z,{title:St,getPopupContainer:Tt=>Tt.parentNode},yt):yt;return Oe.createElement("div",{className:Te()(`${cn}-list-item-container`,er),style:Ar,ref:Jt},gi?gi(Dt,ir,wr,{download:Ri.bind(null,ir),preview:Ka.bind(null,ir),remove:ca.bind(null,ir)}):Dt)});const Gn=(ln,Jt)=>{const{listType:cn="text",previewFile:er=Qt,onPreview:Ar,onDownload:Fn,onRemove:lr,locale:ir,iconRender:wr,isImageUrl:Vr=bn,prefixCls:Zn,items:_i=[],showPreviewIcon:gi=!0,showRemoveIcon:ma=!0,showDownloadIcon:ga=!1,removeIcon:la,previewIcon:_a,downloadIcon:$i,progress:Ui={size:[-1,2],showInfo:!1},appendAction:ya,appendActionVisible:Ka=!0,itemRender:Ri,disabled:ca}=ln,Na=(0,je.Z)(),[ro,Ya]=Oe.useState(!1);Oe.useEffect(()=>{cn!=="picture"&&cn!=="picture-card"&&cn!=="picture-circle"||(_i||[]).forEach(oi=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(oi.originFileObj instanceof File||oi.originFileObj instanceof Blob)||oi.thumbUrl!==void 0||(oi.thumbUrl="",er&&er(oi.originFileObj).then(Sn=>{oi.thumbUrl=Sn||"",Na()}))})},[cn,_i,er]),Oe.useEffect(()=>{Ya(!0)},[]);const Wi=(oi,Sn)=>{if(Ar)return Sn==null||Sn.preventDefault(),Ar(oi)},mn=oi=>{typeof Fn=="function"?Fn(oi):oi.url&&window.open(oi.url)},sn=oi=>{lr==null||lr(oi)},jn=oi=>{if(wr)return wr(oi,cn);const Sn=oi.status==="uploading",Ln=Vr&&Vr(oi)?Oe.createElement(Ce,null):Oe.createElement(it,null);let Yn=Sn?Oe.createElement(gt.Z,null):Oe.createElement(ut,null);return cn==="picture"?Yn=Sn?Oe.createElement(gt.Z,null):Ln:(cn==="picture-card"||cn==="picture-circle")&&(Yn=Sn?ir.uploading:Ln),Yn},ar=(oi,Sn,Ln,Yn)=>{const qe={type:"text",size:"small",title:Yn,onClick:yt=>{Sn(),(0,Re.l$)(oi)&&oi.props.onClick&&oi.props.onClick(yt)},className:`${Ln}-list-item-action`,disabled:ca};if((0,Re.l$)(oi)){const yt=(0,Re.Tm)(oi,Object.assign(Object.assign({},oi.props),{onClick:()=>{}}));return Oe.createElement(ze.ZP,Object.assign({},qe,{icon:yt}))}return Oe.createElement(ze.ZP,Object.assign({},qe),Oe.createElement("span",null,oi))};Oe.useImperativeHandle(Jt,()=>({handlePreview:Wi,handleDownload:mn}));const{getPrefixCls:gr}=Oe.useContext(pt.E_),Xr=gr("upload",Zn),ai=gr(),pi=Te()(`${Xr}-list`,`${Xr}-list-${cn}`),Li=(0,$e.Z)(_i.map(oi=>({key:oi.uid,file:oi})));let ji={motionDeadline:2e3,motionName:`${Xr}-${cn==="picture-card"||cn==="picture-circle"?"animate-inline":"animate"}`,keys:Li,motionAppear:ro};const qi=Oe.useMemo(()=>{const oi=Object.assign({},(0,Ae.Z)(ai));return delete oi.onAppearEnd,delete oi.onEnterEnd,delete oi.onLeaveEnd,oi},[ai]);return cn!=="picture-card"&&cn!=="picture-circle"&&(ji=Object.assign(Object.assign({},qi),ji)),Oe.createElement("div",{className:pi},Oe.createElement(He.CSSMotionList,Object.assign({},ji,{component:!1}),oi=>{let{key:Sn,file:Ln,className:Yn,style:qe}=oi;return Oe.createElement(Tn,{key:Sn,locale:ir,prefixCls:Xr,className:Yn,style:qe,file:Ln,items:_i,progress:Ui,listType:cn,isImgUrl:Vr,showPreviewIcon:gi,showRemoveIcon:ma,showDownloadIcon:ga,removeIcon:la,previewIcon:_a,downloadIcon:$i,iconRender:jn,actionIconRender:ar,itemRender:Ri,onPreview:Wi,onDownload:mn,onClose:sn})}),ya&&Oe.createElement(He.default,Object.assign({},ji,{visible:Ka,forceRender:!0}),oi=>{let{className:Sn,style:Ln}=oi;return(0,Re.Tm)(ya,Yn=>({className:Te()(Yn.className,Sn),style:Object.assign(Object.assign(Object.assign({},Ln),{pointerEvents:Sn?"none":void 0}),Yn.style)}))}))};var Tr=Oe.forwardRef(Gn),Wr=ve(14747),ti=ve(33507),Dr=ve(67968),ri=ve(45503),$r=ln=>{const{componentCls:Jt,iconCls:cn}=ln;return{[`${Jt}-wrapper`]:{[`${Jt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:ln.colorFillAlter,border:`${ln.lineWidth}px dashed ${ln.colorBorder}`,borderRadius:ln.borderRadiusLG,cursor:"pointer",transition:`border-color ${ln.motionDurationSlow}`,[Jt]:{padding:`${ln.padding}px 0`},[`${Jt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Jt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Jt}-disabled):hover`]:{borderColor:ln.colorPrimaryHover},[`p${Jt}-drag-icon`]:{marginBottom:ln.margin,[cn]:{color:ln.colorPrimary,fontSize:ln.uploadThumbnailSize}},[`p${Jt}-text`]:{margin:`0 0 ${ln.marginXXS}px`,color:ln.colorTextHeading,fontSize:ln.fontSizeLG},[`p${Jt}-hint`]:{color:ln.colorTextDescription,fontSize:ln.fontSize},[`&${Jt}-disabled`]:{cursor:"not-allowed",[`p${Jt}-drag-icon ${cn},
p${Jt}-text,
p${Jt}-hint
`]:{color:ln.colorTextDisabled}}}}}},Ii=ln=>{const{componentCls:Jt,antCls:cn,iconCls:er,fontSize:Ar,lineHeight:Fn}=ln,lr=`${Jt}-list-item`,ir=`${lr}-actions`,wr=`${lr}-action`,Vr=Math.round(Ar*Fn);return{[`${Jt}-wrapper`]:{[`${Jt}-list`]:Object.assign(Object.assign({},(0,Wr.dF)()),{lineHeight:ln.lineHeight,[lr]:{position:"relative",height:ln.lineHeight*Ar,marginTop:ln.marginXS,fontSize:Ar,display:"flex",alignItems:"center",transition:`background-color ${ln.motionDurationSlow}`,"&:hover":{backgroundColor:ln.controlItemBgHover},[`${lr}-name`]:Object.assign(Object.assign({},Wr.vS),{padding:`0 ${ln.paddingXS}px`,lineHeight:Fn,flex:"auto",transition:`all ${ln.motionDurationSlow}`}),[ir]:{[wr]:{opacity:0},[`${wr}${cn}-btn-sm`]:{height:Vr,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${wr}:focus-visible,
&.picture ${wr}
`]:{opacity:1},[er]:{color:ln.actionsColor,transition:`all ${ln.motionDurationSlow}`},[`&:hover ${er}`]:{color:ln.colorText}},[`${Jt}-icon ${er}`]:{color:ln.colorTextDescription,fontSize:Ar},[`${lr}-progress`]:{position:"absolute",bottom:-ln.uploadProgressOffset,width:"100%",paddingInlineStart:Ar+ln.paddingXS,fontSize:Ar,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${lr}:hover ${wr}`]:{opacity:1,color:ln.colorText},[`${lr}-error`]:{color:ln.colorError,[`${lr}-name, ${Jt}-icon ${er}`]:{color:ln.colorError},[ir]:{[`${er}, ${er}:hover`]:{color:ln.colorError},[wr]:{opacity:1}}},[`${Jt}-list-item-container`]:{transition:`opacity ${ln.motionDurationSlow}, height ${ln.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},nn=ve(45930),Jn=ve(16932);const hr=new nn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Kn=new nn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Pr=ln=>{const{componentCls:Jt}=ln,cn=`${Jt}-animate-inline`;return[{[`${Jt}-wrapper`]:{[`${cn}-appear, ${cn}-enter, ${cn}-leave`]:{animationDuration:ln.motionDurationSlow,animationTimingFunction:ln.motionEaseInOutCirc,animationFillMode:"forwards"},[`${cn}-appear, ${cn}-enter`]:{animationName:hr},[`${cn}-leave`]:{animationName:Kn}}},{[`${Jt}-wrapper`]:(0,Jn.J$)(ln)},hr,Kn]},Or=ve(47448),Mr=ve(84780);const Ut=ln=>{const{componentCls:Jt,iconCls:cn,uploadThumbnailSize:er,uploadProgressOffset:Ar}=ln,Fn=`${Jt}-list`,lr=`${Fn}-item`;return{[`${Jt}-wrapper`]:{[`
${Fn}${Fn}-picture,
${Fn}${Fn}-picture-card,
${Fn}${Fn}-picture-circle
`]:{[lr]:{position:"relative",height:er+ln.lineWidth*2+ln.paddingXS*2,padding:ln.paddingXS,border:`${ln.lineWidth}px ${ln.lineType} ${ln.colorBorder}`,borderRadius:ln.borderRadiusLG,"&:hover":{background:"transparent"},[`${lr}-thumbnail`]:Object.assign(Object.assign({},Wr.vS),{width:er,height:er,lineHeight:`${er+ln.paddingSM}px`,textAlign:"center",flex:"none",[cn]:{fontSize:ln.fontSizeHeading2,color:ln.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${lr}-progress`]:{bottom:Ar,width:`calc(100% - ${ln.paddingSM*2}px)`,marginTop:0,paddingInlineStart:er+ln.paddingXS}},[`${lr}-error`]:{borderColor:ln.colorError,[`${lr}-thumbnail ${cn}`]:{[`svg path[fill='${Or.blue[0]}']`]:{fill:ln.colorErrorBg},[`svg path[fill='${Or.blue.primary}']`]:{fill:ln.colorError}}},[`${lr}-uploading`]:{borderStyle:"dashed",[`${lr}-name`]:{marginBottom:Ar}}},[`${Fn}${Fn}-picture-circle ${lr}`]:{[`&, &::before, ${lr}-thumbnail`]:{borderRadius:"50%"}}}}},$t=ln=>{const{componentCls:Jt,iconCls:cn,fontSizeLG:er,colorTextLightSolid:Ar}=ln,Fn=`${Jt}-list`,lr=`${Fn}-item`,ir=ln.uploadPicCardSize;return{[`
${Jt}-wrapper${Jt}-picture-card-wrapper,
${Jt}-wrapper${Jt}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,Wr.dF)()),{display:"inline-block",width:"100%",[`${Jt}${Jt}-select`]:{width:ir,height:ir,marginInlineEnd:ln.marginXS,marginBottom:ln.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:ln.colorFillAlter,border:`${ln.lineWidth}px dashed ${ln.colorBorder}`,borderRadius:ln.borderRadiusLG,cursor:"pointer",transition:`border-color ${ln.motionDurationSlow}`,[`> ${Jt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Jt}-disabled):hover`]:{borderColor:ln.colorPrimary}},[`${Fn}${Fn}-picture-card, ${Fn}${Fn}-picture-circle`]:{[`${Fn}-item-container`]:{display:"inline-block",width:ir,height:ir,marginBlock:`0 ${ln.marginXS}px`,marginInline:`0 ${ln.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[lr]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${ln.paddingXS*2}px)`,height:`calc(100% - ${ln.paddingXS*2}px)`,backgroundColor:ln.colorBgMask,opacity:0,transition:`all ${ln.motionDurationSlow}`,content:'" "'}},[`${lr}:hover`]:{[`&::before, ${lr}-actions`]:{opacity:1}},[`${lr}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${ln.motionDurationSlow}`,[`${cn}-eye, ${cn}-download, ${cn}-delete`]:{zIndex:10,width:er,margin:`0 ${ln.marginXXS}px`,fontSize:er,cursor:"pointer",transition:`all ${ln.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${lr}-actions, ${lr}-actions:hover`]:{[`${cn}-eye, ${cn}-download, ${cn}-delete`]:{color:new Mr.C(Ar).setAlpha(.65).toRgbString(),"&:hover":{color:Ar}}},[`${lr}-thumbnail, ${lr}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${lr}-name`]:{display:"none",textAlign:"center"},[`${lr}-file + ${lr}-name`]:{position:"absolute",bottom:ln.margin,display:"block",width:`calc(100% - ${ln.paddingXS*2}px)`},[`${lr}-uploading`]:{[`&${lr}`]:{backgroundColor:ln.colorFillAlter},[`&::before, ${cn}-eye, ${cn}-download, ${cn}-delete`]:{display:"none"}},[`${lr}-progress`]:{bottom:ln.marginXL,width:`calc(100% - ${ln.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Jt}-wrapper${Jt}-picture-circle-wrapper`]:{[`${Jt}${Jt}-select`]:{borderRadius:"50%"}}}};var Nn=ln=>{const{componentCls:Jt}=ln;return{[`${Jt}-rtl`]:{direction:"rtl"}}};const jt=ln=>{const{componentCls:Jt,colorTextDisabled:cn}=ln;return{[`${Jt}-wrapper`]:Object.assign(Object.assign({},(0,Wr.Wf)(ln)),{[Jt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Jt}-select`]:{display:"inline-block"},[`${Jt}-disabled`]:{color:cn,cursor:"not-allowed"}})}};var on=(0,Dr.Z)("Upload",ln=>{const{fontSizeHeading3:Jt,fontSize:cn,lineHeight:er,lineWidth:Ar,controlHeightLG:Fn}=ln,lr=Math.round(cn*er),ir=(0,ri.TS)(ln,{uploadThumbnailSize:Jt*2,uploadProgressOffset:lr/2+Ar,uploadPicCardSize:Fn*2.55});return[jt(ir),$r(ir),Ut(ir),$t(ir),Ii(ir),Pr(ir),Nn(ir),(0,ti.Z)(ir)]},ln=>({actionsColor:ln.colorTextDescription})),kn=function(ln,Jt,cn,er){function Ar(Fn){return Fn instanceof cn?Fn:new cn(function(lr){lr(Fn)})}return new(cn||(cn=Promise))(function(Fn,lr){function ir(Zn){try{Vr(er.next(Zn))}catch(_i){lr(_i)}}function wr(Zn){try{Vr(er.throw(Zn))}catch(_i){lr(_i)}}function Vr(Zn){Zn.done?Fn(Zn.value):Ar(Zn.value).then(ir,wr)}Vr((er=er.apply(ln,Jt||[])).next())})};const pn=`__LIST_IGNORE_${Date.now()}__`,Bn=(ln,Jt)=>{const{fileList:cn,defaultFileList:er,onRemove:Ar,showUploadList:Fn=!0,listType:lr="text",onPreview:ir,onDownload:wr,onChange:Vr,onDrop:Zn,previewFile:_i,disabled:gi,locale:ma,iconRender:ga,isImageUrl:la,progress:_a,prefixCls:$i,className:Ui,type:ya="select",children:Ka,style:Ri,itemRender:ca,maxCount:Na,data:ro={},multiple:Ya=!1,action:Wi="",accept:mn="",supportServerRender:sn=!0,rootClassName:jn}=ln,ar=Oe.useContext(Xe.Z),gr=gi!=null?gi:ar,[Xr,ai]=(0,et.Z)(er||[],{value:cn,postState:kt=>kt!=null?kt:[]}),[pi,Li]=Oe.useState("drop"),yi=Oe.useRef(null);Oe.useMemo(()=>{const kt=Date.now();(cn||[]).forEach((It,en)=>{!It.uid&&!Object.isFrozen(It)&&(It.uid=`__AUTO__${kt}_${en}__`)})},[cn]);const ji=(kt,It,en)=>{let Xt=(0,$e.Z)(It),wn=!1;Na===1?Xt=Xt.slice(-1):Na&&(wn=Xt.length>Na,Xt=Xt.slice(0,Na)),(0,at.flushSync)(()=>{ai(Xt)});const zn={file:kt,fileList:Xt};en&&(zn.event=en),(!wn||Xt.some(_n=>_n.uid===kt.uid))&&(0,at.flushSync)(()=>{Vr==null||Vr(zn)})},qi=(kt,It)=>kn(void 0,void 0,void 0,function*(){const{beforeUpload:en,transformFile:Xt}=ln;let wn=kt;if(en){const zn=yield en(kt,It);if(zn===!1)return!1;if(delete kt[pn],zn===pn)return Object.defineProperty(kt,pn,{value:!0,configurable:!0}),!1;typeof zn=="object"&&zn&&(wn=zn)}return Xt&&(wn=yield Xt(wn)),wn}),oi=kt=>{const It=kt.filter(wn=>!wn.file[pn]);if(!It.length)return;const en=It.map(wn=>Qe(wn.file));let Xt=(0,$e.Z)(Xr);en.forEach(wn=>{Xt=ot(wn,Xt)}),en.forEach((wn,zn)=>{let _n=wn;if(It[zn].parsedFile)wn.status="uploading";else{const{originFileObj:dr}=wn;let Zt;try{Zt=new File([dr],dr.name,{type:dr.type})}catch(Ht){Zt=new Blob([dr],{type:dr.type}),Zt.name=dr.name,Zt.lastModifiedDate=new Date,Zt.lastModified=new Date().getTime()}Zt.uid=wn.uid,_n=Zt}ji(_n,Xt)})},Sn=(kt,It,en)=>{try{typeof kt=="string"&&(kt=JSON.parse(kt))}catch(zn){}if(!mt(It,Xr))return;const Xt=Qe(It);Xt.status="done",Xt.percent=100,Xt.response=kt,Xt.xhr=en;const wn=ot(Xt,Xr);ji(Xt,wn)},Ln=(kt,It)=>{if(!mt(It,Xr))return;const en=Qe(It);en.status="uploading",en.percent=kt.percent;const Xt=ot(en,Xr);ji(en,Xt,kt)},Yn=(kt,It,en)=>{if(!mt(en,Xr))return;const Xt=Qe(en);Xt.error=kt,Xt.response=It,Xt.status="error";const wn=ot(Xt,Xr);ji(Xt,wn)},qe=kt=>{let It;Promise.resolve(typeof Ar=="function"?Ar(kt):Ar).then(en=>{var Xt;if(en===!1)return;const wn=Ot(kt,Xr);wn&&(It=Object.assign(Object.assign({},kt),{status:"removed"}),Xr==null||Xr.forEach(zn=>{const _n=It.uid!==void 0?"uid":"name";zn[_n]===It[_n]&&!Object.isFrozen(zn)&&(zn.status="removed")}),(Xt=yi.current)===null||Xt===void 0||Xt.abort(It),ji(It,wn))})},yt=kt=>{Li(kt.type),kt.type==="drop"&&(Zn==null||Zn(kt))};Oe.useImperativeHandle(Jt,()=>({onBatchStart:oi,onSuccess:Sn,onProgress:Ln,onError:Yn,fileList:Xr,upload:yi.current}));const{getPrefixCls:St,direction:Dt,upload:Tt}=Oe.useContext(pt.E_),Nt=St("upload",$i),_t=Object.assign(Object.assign({onBatchStart:oi,onError:Yn,onProgress:Ln,onSuccess:Sn},ln),{data:ro,multiple:Ya,action:Wi,accept:mn,supportServerRender:sn,prefixCls:Nt,disabled:gr,beforeUpload:qi,onChange:void 0});delete _t.className,delete _t.style,(!Ka||gr)&&delete _t.id;const[rn,vn]=on(Nt),[Vn]=(0,Ge.Z)("Upload",lt.Z.Upload),{showRemoveIcon:$n,showPreviewIcon:Xn,showDownloadIcon:On,removeIcon:In,previewIcon:En,downloadIcon:Hn}=typeof Fn=="boolean"?{}:Fn,mr=(kt,It)=>Fn?Oe.createElement(Tr,{prefixCls:Nt,listType:lr,items:Xr,previewFile:_i,onPreview:ir,onDownload:wr,onRemove:qe,showRemoveIcon:!gr&&$n,showPreviewIcon:Xn,showDownloadIcon:On,removeIcon:In,previewIcon:En,downloadIcon:Hn,iconRender:ga,locale:Object.assign(Object.assign({},Vn),ma),isImageUrl:la,progress:_a,appendAction:kt,appendActionVisible:It,itemRender:ca,disabled:gr}):kt,Qn=Te()(`${Nt}-wrapper`,Ui,jn,vn,Tt==null?void 0:Tt.className,{[`${Nt}-rtl`]:Dt==="rtl",[`${Nt}-picture-card-wrapper`]:lr==="picture-card",[`${Nt}-picture-circle-wrapper`]:lr==="picture-circle"}),or=Object.assign(Object.assign({},Tt==null?void 0:Tt.style),Ri);if(ya==="drag"){const kt=Te()(vn,Nt,`${Nt}-drag`,{[`${Nt}-drag-uploading`]:Xr.some(It=>It.status==="uploading"),[`${Nt}-drag-hover`]:pi==="dragover",[`${Nt}-disabled`]:gr,[`${Nt}-rtl`]:Dt==="rtl"});return rn(Oe.createElement("span",{className:Qn},Oe.createElement("div",{className:kt,style:or,onDrop:yt,onDragOver:yt,onDragLeave:yt},Oe.createElement(Ze,Object.assign({},_t,{ref:yi,className:`${Nt}-btn`}),Oe.createElement("div",{className:`${Nt}-drag-container`},Ka))),mr()))}const ur=Te()(Nt,`${Nt}-select`,{[`${Nt}-disabled`]:gr}),Sr=(kt=>Oe.createElement("div",{className:ur,style:kt},Oe.createElement(Ze,Object.assign({},_t,{ref:yi}))))(Ka?void 0:{display:"none"});return rn(lr==="picture-card"||lr==="picture-circle"?Oe.createElement("span",{className:Qn},mr(Sr,!!Ka)):Oe.createElement("span",{className:Qn},Sr,mr()))};var pr=Oe.forwardRef(Bn),ii=function(ln,Jt){var cn={};for(var er in ln)Object.prototype.hasOwnProperty.call(ln,er)&&Jt.indexOf(er)<0&&(cn[er]=ln[er]);if(ln!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ar=0,er=Object.getOwnPropertySymbols(ln);Ar<er.length;Ar++)Jt.indexOf(er[Ar])<0&&Object.prototype.propertyIsEnumerable.call(ln,er[Ar])&&(cn[er[Ar]]=ln[er[Ar]]);return cn},Ir=Oe.forwardRef((ln,Jt)=>{var{style:cn,height:er}=ln,Ar=ii(ln,["style","height"]);return Oe.createElement(pr,Object.assign({ref:Jt},Ar,{type:"drag",style:Object.assign(Object.assign({},cn),{height:er})}))});const Ur=pr;Ur.Dragger=Ir,Ur.LIST_IGNORE=pn;var Zr=Ur},72665:function(tn,Kt){"use strict";var ve;var Oe=typeof Symbol=="function"&&Symbol.for,$e=Oe?Symbol.for("react.element"):60103,x=Oe?Symbol.for("react.portal"):60106,Te=Oe?Symbol.for("react.fragment"):60107,me=Oe?Symbol.for("react.strict_mode"):60108,ie=Oe?Symbol.for("react.profiler"):60114,te=Oe?Symbol.for("react.provider"):60109,ae=Oe?Symbol.for("react.context"):60110,ne=Oe?Symbol.for("react.async_mode"):60111,oe=Oe?Symbol.for("react.concurrent_mode"):60111,he=Oe?Symbol.for("react.forward_ref"):60112,re=Oe?Symbol.for("react.suspense"):60113,se=Oe?Symbol.for("react.suspense_list"):60120,ce=Oe?Symbol.for("react.memo"):60115,fe=Oe?Symbol.for("react.lazy"):60116,pe=Oe?Symbol.for("react.block"):60121,le=Oe?Symbol.for("react.fundamental"):60117,Se=Oe?Symbol.for("react.responder"):60118,xe=Oe?Symbol.for("react.scope"):60119;function ge(ye){if(typeof ye=="object"&&ye!==null){var be=ye.$$typeof;switch(be){case $e:switch(ye=ye.type,ye){case ne:case oe:case Te:case ie:case me:case re:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case ae:case he:case fe:case ce:case te:return ye;default:return be}}case x:return be}}}function Me(ye){return ge(ye)===oe}ve=ne,ve=oe,ve=ae,ve=te,ve=$e,ve=he,ve=Te,ve=fe,ve=ce,ve=x,ve=ie,ve=me,ve=re,ve=function(ye){return Me(ye)||ge(ye)===ne},ve=Me,ve=function(ye){return ge(ye)===ae},ve=function(ye){return ge(ye)===te},ve=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===$e},ve=function(ye){return ge(ye)===he},ve=function(ye){return ge(ye)===Te},ve=function(ye){return ge(ye)===fe},Kt.isMemo=function(ye){return ge(ye)===ce},ve=function(ye){return ge(ye)===x},ve=function(ye){return ge(ye)===ie},ve=function(ye){return ge(ye)===me},ve=function(ye){return ge(ye)===re},ve=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===Te||ye===oe||ye===ie||ye===me||ye===re||ye===se||typeof ye=="object"&&ye!==null&&(ye.$$typeof===fe||ye.$$typeof===ce||ye.$$typeof===te||ye.$$typeof===ae||ye.$$typeof===he||ye.$$typeof===le||ye.$$typeof===Se||ye.$$typeof===xe||ye.$$typeof===pe)},ve=ge},12060:function(tn,Kt,ve){"use strict";tn.exports=ve(72665)},41771:function(tn,Kt){"use strict";var ve;var Oe=typeof Symbol=="function"&&Symbol.for,$e=Oe?Symbol.for("react.element"):60103,x=Oe?Symbol.for("react.portal"):60106,Te=Oe?Symbol.for("react.fragment"):60107,me=Oe?Symbol.for("react.strict_mode"):60108,ie=Oe?Symbol.for("react.profiler"):60114,te=Oe?Symbol.for("react.provider"):60109,ae=Oe?Symbol.for("react.context"):60110,ne=Oe?Symbol.for("react.async_mode"):60111,oe=Oe?Symbol.for("react.concurrent_mode"):60111,he=Oe?Symbol.for("react.forward_ref"):60112,re=Oe?Symbol.for("react.suspense"):60113,se=Oe?Symbol.for("react.suspense_list"):60120,ce=Oe?Symbol.for("react.memo"):60115,fe=Oe?Symbol.for("react.lazy"):60116,pe=Oe?Symbol.for("react.block"):60121,le=Oe?Symbol.for("react.fundamental"):60117,Se=Oe?Symbol.for("react.responder"):60118,xe=Oe?Symbol.for("react.scope"):60119;function ge(ye){if(typeof ye=="object"&&ye!==null){var be=ye.$$typeof;switch(be){case $e:switch(ye=ye.type,ye){case ne:case oe:case Te:case ie:case me:case re:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case ae:case he:case fe:case ce:case te:return ye;default:return be}}case x:return be}}}function Me(ye){return ge(ye)===oe}ve=ne,ve=oe,ve=ae,ve=te,ve=$e,ve=he,ve=Te,ve=fe,ve=ce,ve=x,ve=ie,ve=me,ve=re,ve=function(ye){return Me(ye)||ge(ye)===ne},ve=Me,ve=function(ye){return ge(ye)===ae},ve=function(ye){return ge(ye)===te},ve=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===$e},ve=function(ye){return ge(ye)===he},Kt.isFragment=function(ye){return ge(ye)===Te},ve=function(ye){return ge(ye)===fe},ve=function(ye){return ge(ye)===ce},ve=function(ye){return ge(ye)===x},ve=function(ye){return ge(ye)===ie},ve=function(ye){return ge(ye)===me},ve=function(ye){return ge(ye)===re},ve=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===Te||ye===oe||ye===ie||ye===me||ye===re||ye===se||typeof ye=="object"&&ye!==null&&(ye.$$typeof===fe||ye.$$typeof===ce||ye.$$typeof===te||ye.$$typeof===ae||ye.$$typeof===he||ye.$$typeof===le||ye.$$typeof===Se||ye.$$typeof===xe||ye.$$typeof===pe)},ve=ge},47655:function(tn,Kt,ve){"use strict";tn.exports=ve(41771)},64701:function(tn,Kt,ve){"use strict";ve.r(Kt),ve.d(Kt,{ResizableTextArea:function(){return dt},default:function(){return vt}});var Oe=ve(87462),$e=ve(1413),x=ve(4942),Te=ve(71002),me=ve(97685),ie=ve(45987),te=ve(74902),ae=ve(94184),ne=ve.n(ae),oe=ve(67656),he=ve(87887),re=ve(67294);function se(At){var Et=re.useRef();Et.current=At;var ut=re.useCallback(function(){for(var Ye,Ve=arguments.length,de=new Array(Ve),Ce=0;Ce<Ve;Ce++)de[Ce]=arguments[Ce];return(Ye=Et.current)===null||Ye===void 0?void 0:Ye.call.apply(Ye,[Et].concat(de))},[]);return ut}function ce(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var fe=ce()?re.useLayoutEffect:re.useEffect,pe=fe,le=function(Et,ut){var Ye=re.useRef(!0);fe(function(){if(!Ye.current)return Et()},ut),fe(function(){return Ye.current=!1,function(){Ye.current=!0}},[])};function Se(At){var Et=re.useRef(!1),ut=re.useState(At),Ye=(0,me.Z)(ut,2),Ve=Ye[0],de=Ye[1];re.useEffect(function(){return Et.current=!1,function(){Et.current=!0}},[]);function Ce(He,je){je&&Et.current||de(He)}return[Ve,Ce]}function xe(At){return At!==void 0}function ge(At,Et){var ut=Et||{},Ye=ut.defaultValue,Ve=ut.value,de=ut.onChange,Ce=ut.postState,He=Se(function(){return xe(Ve)?Ve:xe(Ye)?typeof Ye=="function"?Ye():Ye:typeof At=="function"?At():At}),je=(0,me.Z)(He,2),Ae=je[0],Re=je[1],ze=Ve!==void 0?Ve:Ae,Qe=Ce?Ce(ze):ze,ot=se(de),mt=Se([ze]),Ot=(0,me.Z)(mt,2),xt=Ot[0],Wt=Ot[1];le(function(){var Ft=xt[0];Ae!==Ft&&ot(Ae,Ft)},[xt]),le(function(){xe(Ve)||Re(Ve)},[Ve]);var bn=se(function(Ft,Qt){Re(Ft,Qt),Wt([ze],Qt)});return[Qe,bn]}var Me=ve(48555),ye=function(Et){return+setTimeout(Et,16)},be=function(Et){return clearTimeout(Et)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ye=function(Et){return window.requestAnimationFrame(Et)},be=function(Et){return window.cancelAnimationFrame(Et)});var Fe=0,ke=new Map;function Ie(At){ke.delete(At)}var Le=function(Et){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Fe+=1;var Ye=Fe;function Ve(de){if(de===0)Ie(Ye),Et();else{var Ce=ye(function(){Ve(de-1)});ke.set(Ye,Ce)}}return Ve(ut),Ye};Le.cancel=function(At){var Et=ke.get(At);return Ie(Et),be(Et)};var De=Le,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;
`,Ue=["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"],_e={},We;function Ze(At){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ut=At.getAttribute("id")||At.getAttribute("data-reactid")||At.getAttribute("name");if(Et&&_e[ut])return _e[ut];var Ye=window.getComputedStyle(At),Ve=Ye.getPropertyValue("box-sizing")||Ye.getPropertyValue("-moz-box-sizing")||Ye.getPropertyValue("-webkit-box-sizing"),de=parseFloat(Ye.getPropertyValue("padding-bottom"))+parseFloat(Ye.getPropertyValue("padding-top")),Ce=parseFloat(Ye.getPropertyValue("border-bottom-width"))+parseFloat(Ye.getPropertyValue("border-top-width")),He=Ue.map(function(Ae){return"".concat(Ae,":").concat(Ye.getPropertyValue(Ae))}).join(";"),je={sizingStyle:He,paddingSize:de,borderSize:Ce,boxSizing:Ve};return Et&&ut&&(_e[ut]=je),je}function et(At){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;We||(We=document.createElement("textarea"),We.setAttribute("tab-index","-1"),We.setAttribute("aria-hidden","true"),document.body.appendChild(We)),At.getAttribute("wrap")?We.setAttribute("wrap",At.getAttribute("wrap")):We.removeAttribute("wrap");var Ve=Ze(At,Et),de=Ve.paddingSize,Ce=Ve.borderSize,He=Ve.boxSizing,je=Ve.sizingStyle;We.setAttribute("style","".concat(je,";").concat(Be)),We.value=At.value||At.placeholder||"";var Ae=void 0,Re=void 0,ze,Qe=We.scrollHeight;if(He==="border-box"?Qe+=Ce:He==="content-box"&&(Qe-=de),ut!==null||Ye!==null){We.value=" ";var ot=We.scrollHeight-de;ut!==null&&(Ae=ot*ut,He==="border-box"&&(Ae=Ae+de+Ce),Qe=Math.max(Ae,Qe)),Ye!==null&&(Re=ot*Ye,He==="border-box"&&(Re=Re+de+Ce),ze=Qe>Re?"":"hidden",Qe=Math.min(Re,Qe))}var mt={height:Qe,overflowY:ze,resize:"none"};return Ae&&(mt.minHeight=Ae),Re&&(mt.maxHeight=Re),mt}var at=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],pt=0,Xe=1,Ge=2,lt=re.forwardRef(function(At,Et){var ut=At,Ye=ut.prefixCls,Ve=ut.onPressEnter,de=ut.defaultValue,Ce=ut.value,He=ut.autoSize,je=ut.onResize,Ae=ut.className,Re=ut.style,ze=ut.disabled,Qe=ut.onChange,ot=ut.onInternalAutoSize,mt=(0,ie.Z)(ut,at),Ot=ge(de,{value:Ce,postState:function(Kn){return Kn!=null?Kn:""}}),xt=(0,me.Z)(Ot,2),Wt=xt[0],bn=xt[1],Ft=function(Kn){bn(Kn.target.value),Qe==null||Qe(Kn)},Qt=re.useRef();re.useImperativeHandle(Et,function(){return{textArea:Qt.current}});var Vt=re.useMemo(function(){return He&&(0,Te.Z)(He)==="object"?[He.minRows,He.maxRows]:[]},[He]),yn=(0,me.Z)(Vt,2),Pt=yn[0],zt=yn[1],an=!!He,gn=function(){try{if(document.activeElement===Qt.current){var Kn=Qt.current,Hr=Kn.selectionStart,Pr=Kn.selectionEnd,Or=Kn.scrollTop;Qt.current.setSelectionRange(Hr,Pr),Qt.current.scrollTop=Or}}catch(Mr){}},Tn=re.useState(Ge),Gn=(0,me.Z)(Tn,2),fr=Gn[0],Tr=Gn[1],Wr=re.useState(),ti=(0,me.Z)(Wr,2),Dr=ti[0],ri=ti[1],Mi=function(){Tr(pt)};pe(function(){an&&Mi()},[Ce,Pt,zt,an]),pe(function(){if(fr===pt)Tr(Xe);else if(fr===Xe){var hr=et(Qt.current,!1,Pt,zt);Tr(Ge),ri(hr)}else gn()},[fr]);var $r=re.useRef(),Xi=function(){De.cancel($r.current)},Ii=function(Kn){fr===Ge&&(je==null||je(Kn),He&&(Xi(),$r.current=De(function(){Mi()})))};re.useEffect(function(){return Xi},[]);var nn=an?Dr:null,Jn=(0,$e.Z)((0,$e.Z)({},Re),nn);return(fr===pt||fr===Xe)&&(Jn.overflowY="hidden",Jn.overflowX="hidden"),re.createElement(Me.Z,{onResize:Ii,disabled:!(He||je)},re.createElement("textarea",(0,Oe.Z)({},mt,{ref:Qt,style:Jn,className:ne()(Ye,Ae,(0,x.Z)({},"".concat(Ye,"-disabled"),ze)),disabled:ze,value:Wt,onChange:Ft})))}),dt=lt,st=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function nt(At,Et){return(0,te.Z)(At||"").slice(0,Et).join("")}function rt(At,Et,ut,Ye){var Ve=ut;return At?Ve=nt(ut,Ye):(0,te.Z)(Et||"").length<ut.length&&(0,te.Z)(ut||"").length>Ye&&(Ve=Et),Ve}var it=re.forwardRef(function(At,Et){var ut,Ye=At.defaultValue,Ve=At.value,de=At.onFocus,Ce=At.onBlur,He=At.onChange,je=At.allowClear,Ae=At.maxLength,Re=At.onCompositionStart,ze=At.onCompositionEnd,Qe=At.suffix,ot=At.prefixCls,mt=ot===void 0?"rc-textarea":ot,Ot=At.classes,xt=At.showCount,Wt=At.className,bn=At.style,Ft=At.disabled,Qt=At.hidden,Vt=At.classNames,yn=At.styles,Pt=At.onResize,zt=(0,ie.Z)(At,st),an=ge(Ye,{value:Ve,defaultValue:Ye}),gn=(0,me.Z)(an,2),Tn=gn[0],Gn=gn[1],fr=(0,re.useRef)(null),Tr=re.useState(!1),Wr=(0,me.Z)(Tr,2),ti=Wr[0],Dr=Wr[1],ri=re.useState(!1),Mi=(0,me.Z)(ri,2),$r=Mi[0],Xi=Mi[1],Ii=re.useRef(),nn=re.useRef(0),Jn=re.useState(null),hr=(0,me.Z)(Jn,2),Kn=hr[0],Hr=hr[1],Pr=function(){var Ur;(Ur=fr.current)===null||Ur===void 0||Ur.textArea.focus()};(0,re.useImperativeHandle)(Et,function(){return{resizableTextArea:fr.current,focus:Pr,blur:function(){var Ur;(Ur=fr.current)===null||Ur===void 0||Ur.textArea.blur()}}}),(0,re.useEffect)(function(){Dr(function(Ir){return!Ft&&Ir})},[Ft]);var Or=Number(Ae)>0,Mr=function(Ur){Xi(!0),Ii.current=Tn,nn.current=Ur.currentTarget.selectionStart,Re==null||Re(Ur)},Ut=function(Ur){Xi(!1);var Zr=Ur.currentTarget.value;if(Or){var ln,Jt=nn.current>=Ae+1||nn.current===((ln=Ii.current)===null||ln===void 0?void 0:ln.length);Zr=rt(Jt,Ii.current,Zr,Ae)}Zr!==Tn&&(Gn(Zr),(0,he.rJ)(Ur.currentTarget,Ur,He,Zr)),ze==null||ze(Ur)},$t=function(Ur){var Zr=Ur.target.value;if(!$r&&Or){var ln=Ur.target.selectionStart>=Ae+1||Ur.target.selectionStart===Zr.length||!Ur.target.selectionStart;Zr=rt(ln,Tn,Zr,Ae)}Gn(Zr),(0,he.rJ)(Ur.currentTarget,Ur,He,Zr)},qt=function(Ur){var Zr=zt.onPressEnter,ln=zt.onKeyDown;Ur.key==="Enter"&&Zr&&Zr(Ur),ln==null||ln(Ur)},Nn=function(Ur){Dr(!0),de==null||de(Ur)},jt=function(Ur){Dr(!1),Ce==null||Ce(Ur)},on=function(Ur){var Zr;Gn(""),Pr(),(0,he.rJ)((Zr=fr.current)===null||Zr===void 0?void 0:Zr.textArea,Ur,He)},kn=(0,he.D7)(Tn);!$r&&Or&&Ve==null&&(kn=nt(kn,Ae));var pn=Qe,Bn;if(xt){var Rn=(0,te.Z)(kn).length;(0,Te.Z)(xt)==="object"?Bn=xt.formatter({value:kn,count:Rn,maxLength:Ae}):Bn="".concat(Rn).concat(Or?" / ".concat(Ae):""),pn=re.createElement(re.Fragment,null,pn,re.createElement("span",{className:ne()("".concat(mt,"-data-count"),Vt==null?void 0:Vt.count),style:yn==null?void 0:yn.count},Bn))}var pr=function(Ur){var Zr;Pt==null||Pt(Ur),(Zr=fr.current)!==null&&Zr!==void 0&&Zr.textArea.style.height&&Hr(!0)},ii=!zt.autoSize&&!xt&&!je,Lr=re.createElement(oe.BaseInput,{value:kn,allowClear:je,handleReset:on,suffix:pn,prefixCls:mt,classes:{affixWrapper:ne()(Ot==null?void 0:Ot.affixWrapper,(ut={},(0,x.Z)(ut,"".concat(mt,"-show-count"),xt),(0,x.Z)(ut,"".concat(mt,"-textarea-allow-clear"),je),ut))},disabled:Ft,focused:ti,className:Wt,style:(0,$e.Z)((0,$e.Z)({},bn),Kn&&!ii?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Bn=="string"?Bn:void 0}},hidden:Qt,inputElement:re.createElement(dt,(0,Oe.Z)({},zt,{onKeyDown:qt,onChange:$t,onFocus:Nn,onBlur:jt,onCompositionStart:Mr,onCompositionEnd:Ut,className:Vt==null?void 0:Vt.textarea,style:(0,$e.Z)((0,$e.Z)({},yn==null?void 0:yn.textarea),{},{resize:bn==null?void 0:bn.resize}),disabled:Ft,prefixCls:mt,onResize:pr,ref:fr}))});return Lr}),gt=it,vt=gt},56261:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return ke}});var Oe=ve(87462),$e=ve(4942),x=ve(45987),Te=ve(1413),me=ve(15671),ie=ve(43144),te=ve(97326),ae=ve(60136),ne=ve(51630),oe=ve(94184),he=ve.n(oe),re=ve(34952),se=ve(67294),ce=ve(69610),fe=function(Le){for(var De=Le.prefixCls,Be=Le.level,Ue=Le.isStart,_e=Le.isEnd,We="".concat(De,"-indent-unit"),Ze=[],et=0;et<Be;et+=1){var at;Ze.push(se.createElement("span",{key:et,className:he()(We,(at={},(0,$e.Z)(at,"".concat(We,"-start"),Ue[et]),(0,$e.Z)(at,"".concat(We,"-end"),_e[et]),at))}))}return se.createElement("span",{"aria-hidden":"true",className:"".concat(De,"-indent")},Ze)},pe=se.memo(fe),le=ve(3596),Se=ve(83898),xe=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ge="open",Me="close",ye="---",be=function(Ie){(0,ae.Z)(De,Ie);var Le=(0,ne.Z)(De);function De(){var Be;(0,me.Z)(this,De);for(var Ue=arguments.length,_e=new Array(Ue),We=0;We<Ue;We++)_e[We]=arguments[We];return Be=Le.call.apply(Le,[this].concat(_e)),Be.state={dragNodeHighlight:!1},Be.selectHandle=void 0,Be.cacheIndent=void 0,Be.onSelectorClick=function(Ze){var et=Be.props.context.onNodeClick;et(Ze,(0,Se.F)(Be.props)),Be.isSelectable()?Be.onSelect(Ze):Be.onCheck(Ze)},Be.onSelectorDoubleClick=function(Ze){var et=Be.props.context.onNodeDoubleClick;et(Ze,(0,Se.F)(Be.props))},Be.onSelect=function(Ze){if(!Be.isDisabled()){var et=Be.props.context.onNodeSelect;et(Ze,(0,Se.F)(Be.props))}},Be.onCheck=function(Ze){if(!Be.isDisabled()){var et=Be.props,at=et.disableCheckbox,pt=et.checked,Xe=Be.props.context.onNodeCheck;if(!(!Be.isCheckable()||at)){var Ge=!pt;Xe(Ze,(0,Se.F)(Be.props),Ge)}}},Be.onMouseEnter=function(Ze){var et=Be.props.context.onNodeMouseEnter;et(Ze,(0,Se.F)(Be.props))},Be.onMouseLeave=function(Ze){var et=Be.props.context.onNodeMouseLeave;et(Ze,(0,Se.F)(Be.props))},Be.onContextMenu=function(Ze){var et=Be.props.context.onNodeContextMenu;et(Ze,(0,Se.F)(Be.props))},Be.onDragStart=function(Ze){var et=Be.props.context.onNodeDragStart;Ze.stopPropagation(),Be.setState({dragNodeHighlight:!0}),et(Ze,(0,te.Z)(Be));try{Ze.dataTransfer.setData("text/plain","")}catch(at){}},Be.onDragEnter=function(Ze){var et=Be.props.context.onNodeDragEnter;Ze.preventDefault(),Ze.stopPropagation(),et(Ze,(0,te.Z)(Be))},Be.onDragOver=function(Ze){var et=Be.props.context.onNodeDragOver;Ze.preventDefault(),Ze.stopPropagation(),et(Ze,(0,te.Z)(Be))},Be.onDragLeave=function(Ze){var et=Be.props.context.onNodeDragLeave;Ze.stopPropagation(),et(Ze,(0,te.Z)(Be))},Be.onDragEnd=function(Ze){var et=Be.props.context.onNodeDragEnd;Ze.stopPropagation(),Be.setState({dragNodeHighlight:!1}),et(Ze,(0,te.Z)(Be))},Be.onDrop=function(Ze){var et=Be.props.context.onNodeDrop;Ze.preventDefault(),Ze.stopPropagation(),Be.setState({dragNodeHighlight:!1}),et(Ze,(0,te.Z)(Be))},Be.onExpand=function(Ze){var et=Be.props,at=et.loading,pt=et.context.onNodeExpand;at||pt(Ze,(0,Se.F)(Be.props))},Be.setSelectHandle=function(Ze){Be.selectHandle=Ze},Be.getNodeState=function(){var Ze=Be.props.expanded;return Be.isLeaf()?null:Ze?ge:Me},Be.hasChildren=function(){var Ze=Be.props.eventKey,et=Be.props.context.keyEntities,at=(0,le.Z)(et,Ze)||{},pt=at.children;return!!(pt||[]).length},Be.isLeaf=function(){var Ze=Be.props,et=Ze.isLeaf,at=Ze.loaded,pt=Be.props.context.loadData,Xe=Be.hasChildren();return et===!1?!1:et||!pt&&!Xe||pt&&at&&!Xe},Be.isDisabled=function(){var Ze=Be.props.disabled,et=Be.props.context.disabled;return!!(et||Ze)},Be.isCheckable=function(){var Ze=Be.props.checkable,et=Be.props.context.checkable;return!et||Ze===!1?!1:et},Be.syncLoadData=function(Ze){var et=Ze.expanded,at=Ze.loading,pt=Ze.loaded,Xe=Be.props.context,Ge=Xe.loadData,lt=Xe.onNodeLoad;at||Ge&&et&&!Be.isLeaf()&&!Be.hasChildren()&&!pt&&lt((0,Se.F)(Be.props))},Be.isDraggable=function(){var Ze=Be.props,et=Ze.data,at=Ze.context.draggable;return!!(at&&(!at.nodeDraggable||at.nodeDraggable(et)))},Be.renderDragHandler=function(){var Ze=Be.props.context,et=Ze.draggable,at=Ze.prefixCls;return et!=null&&et.icon?se.createElement("span",{className:"".concat(at,"-draggable-icon")},et.icon):null},Be.renderSwitcherIconDom=function(Ze){var et=Be.props.switcherIcon,at=Be.props.context.switcherIcon,pt=et||at;return typeof pt=="function"?pt((0,Te.Z)((0,Te.Z)({},Be.props),{},{isLeaf:Ze})):pt},Be.renderSwitcher=function(){var Ze=Be.props.expanded,et=Be.props.context.prefixCls;if(Be.isLeaf()){var at=Be.renderSwitcherIconDom(!0);return at!==!1?se.createElement("span",{className:he()("".concat(et,"-switcher"),"".concat(et,"-switcher-noop"))},at):null}var pt=he()("".concat(et,"-switcher"),"".concat(et,"-switcher_").concat(Ze?ge:Me)),Xe=Be.renderSwitcherIconDom(!1);return Xe!==!1?se.createElement("span",{onClick:Be.onExpand,className:pt},Xe):null},Be.renderCheckbox=function(){var Ze=Be.props,et=Ze.checked,at=Ze.halfChecked,pt=Ze.disableCheckbox,Xe=Be.props.context.prefixCls,Ge=Be.isDisabled(),lt=Be.isCheckable();if(!lt)return null;var dt=typeof lt!="boolean"?lt:null;return se.createElement("span",{className:he()("".concat(Xe,"-checkbox"),et&&"".concat(Xe,"-checkbox-checked"),!et&&at&&"".concat(Xe,"-checkbox-indeterminate"),(Ge||pt)&&"".concat(Xe,"-checkbox-disabled")),onClick:Be.onCheck},dt)},Be.renderIcon=function(){var Ze=Be.props.loading,et=Be.props.context.prefixCls;return se.createElement("span",{className:he()("".concat(et,"-iconEle"),"".concat(et,"-icon__").concat(Be.getNodeState()||"docu"),Ze&&"".concat(et,"-icon_loading"))})},Be.renderSelector=function(){var Ze=Be.state.dragNodeHighlight,et=Be.props,at=et.title,pt=at===void 0?ye:at,Xe=et.selected,Ge=et.icon,lt=et.loading,dt=et.data,st=Be.props.context,nt=st.prefixCls,rt=st.showIcon,it=st.icon,gt=st.loadData,vt=st.titleRender,At=Be.isDisabled(),Et="".concat(nt,"-node-content-wrapper"),ut;if(rt){var Ye=Ge||it;ut=Ye?se.createElement("span",{className:he()("".concat(nt,"-iconEle"),"".concat(nt,"-icon__customize"))},typeof Ye=="function"?Ye(Be.props):Ye):Be.renderIcon()}else gt&&lt&&(ut=Be.renderIcon());var Ve;typeof pt=="function"?Ve=pt(dt):vt?Ve=vt(dt):Ve=pt;var de=se.createElement("span",{className:"".concat(nt,"-title")},Ve);return se.createElement("span",{ref:Be.setSelectHandle,title:typeof pt=="string"?pt:"",className:he()("".concat(Et),"".concat(Et,"-").concat(Be.getNodeState()||"normal"),!At&&(Xe||Ze)&&"".concat(nt,"-node-selected")),onMouseEnter:Be.onMouseEnter,onMouseLeave:Be.onMouseLeave,onContextMenu:Be.onContextMenu,onClick:Be.onSelectorClick,onDoubleClick:Be.onSelectorDoubleClick},ut,de,Be.renderDropIndicator())},Be.renderDropIndicator=function(){var Ze=Be.props,et=Ze.disabled,at=Ze.eventKey,pt=Be.props.context,Xe=pt.draggable,Ge=pt.dropLevelOffset,lt=pt.dropPosition,dt=pt.prefixCls,st=pt.indent,nt=pt.dropIndicatorRender,rt=pt.dragOverNodeKey,it=pt.direction,gt=!!Xe,vt=!et&&gt&&rt===at,At=st!=null?st:Be.cacheIndent;return Be.cacheIndent=st,vt?nt({dropPosition:lt,dropLevelOffset:Ge,indent:At,prefixCls:dt,direction:it}):null},Be}return(0,ie.Z)(De,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Ue=this.props.selectable,_e=this.props.context.selectable;return typeof Ue=="boolean"?Ue:_e}},{key:"render",value:function(){var Ue,_e=this.props,We=_e.eventKey,Ze=_e.className,et=_e.style,at=_e.dragOver,pt=_e.dragOverGapTop,Xe=_e.dragOverGapBottom,Ge=_e.isLeaf,lt=_e.isStart,dt=_e.isEnd,st=_e.expanded,nt=_e.selected,rt=_e.checked,it=_e.halfChecked,gt=_e.loading,vt=_e.domRef,At=_e.active,Et=_e.data,ut=_e.onMouseMove,Ye=_e.selectable,Ve=(0,x.Z)(_e,xe),de=this.props.context,Ce=de.prefixCls,He=de.filterTreeNode,je=de.keyEntities,Ae=de.dropContainerKey,Re=de.dropTargetKey,ze=de.draggingNodeKey,Qe=this.isDisabled(),ot=(0,re.Z)(Ve,{aria:!0,data:!0}),mt=(0,le.Z)(je,We)||{},Ot=mt.level,xt=dt[dt.length-1],Wt=this.isDraggable(),bn=!Qe&&Wt,Ft=ze===We,Qt=Ye!==void 0?{"aria-selected":!!Ye}:void 0;return se.createElement("div",(0,Oe.Z)({ref:vt,className:he()(Ze,"".concat(Ce,"-treenode"),(Ue={},(0,$e.Z)(Ue,"".concat(Ce,"-treenode-disabled"),Qe),(0,$e.Z)(Ue,"".concat(Ce,"-treenode-switcher-").concat(st?"open":"close"),!Ge),(0,$e.Z)(Ue,"".concat(Ce,"-treenode-checkbox-checked"),rt),(0,$e.Z)(Ue,"".concat(Ce,"-treenode-checkbox-indeterminate"),it),(0,$e.Z)(Ue,"".concat(Ce,"-treenode-selected"),nt),(0,$e.Z)(Ue,"".concat(Ce,"-treenode-loading"),gt),(0,$e.Z)(Ue,"".concat(Ce,"-treenode-active"),At),(0,$e.Z)(Ue,"".concat(Ce,"-treenode-leaf-last"),xt),(0,$e.Z)(Ue,"".concat(Ce,"-treenode-draggable"),Wt),(0,$e.Z)(Ue,"dragging",Ft),(0,$e.Z)(Ue,"drop-target",Re===We),(0,$e.Z)(Ue,"drop-container",Ae===We),(0,$e.Z)(Ue,"drag-over",!Qe&&at),(0,$e.Z)(Ue,"drag-over-gap-top",!Qe&&pt),(0,$e.Z)(Ue,"drag-over-gap-bottom",!Qe&&Xe),(0,$e.Z)(Ue,"filter-node",He&&He((0,Se.F)(this.props))),Ue)),style:et,draggable:bn,"aria-grabbed":Ft,onDragStart:bn?this.onDragStart:void 0,onDragEnter:Wt?this.onDragEnter:void 0,onDragOver:Wt?this.onDragOver:void 0,onDragLeave:Wt?this.onDragLeave:void 0,onDrop:Wt?this.onDrop:void 0,onDragEnd:Wt?this.onDragEnd:void 0,onMouseMove:ut},Qt,ot),se.createElement(pe,{prefixCls:Ce,level:Ot,isStart:lt,isEnd:dt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),De}(se.Component),Fe=function(Le){return se.createElement(ce.k.Consumer,null,function(De){return se.createElement(be,(0,Oe.Z)({},Le,{context:De}))})};Fe.displayName="TreeNode",Fe.isTreeNode=1;var ke=Fe},69610:function(tn,Kt,ve){"use strict";ve.d(Kt,{k:function(){return $e}});var Oe=ve(67294),$e=Oe.createContext(null)},29873:function(tn,Kt,ve){"use strict";ve.d(Kt,{BT:function(){return pe},E6:function(){return xe},L0:function(){return oe},OM:function(){return fe},_5:function(){return ne},r7:function(){return ge},wA:function(){return re},yx:function(){return he}});var Oe=ve(74902),$e=ve(71002),x=ve(72978),Te=ve(67294),me=ve(56261),ie=ve(3596),te=ve(83898),ae=null;function ne(Me,ye){if(!Me)return[];var be=Me.slice(),Fe=be.indexOf(ye);return Fe>=0&&be.splice(Fe,1),be}function oe(Me,ye){var be=(Me||[]).slice();return be.indexOf(ye)===-1&&be.push(ye),be}function he(Me){return Me.split("-")}function re(Me,ye){var be=[],Fe=(0,ie.Z)(ye,Me);function ke(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ie.forEach(function(Le){var De=Le.key,Be=Le.children;be.push(De),ke(Be)})}return ke(Fe.children),be}function se(Me){if(Me.parent){var ye=he(Me.pos);return Number(ye[ye.length-1])===Me.parent.children.length-1}return!1}function ce(Me){var ye=he(Me.pos);return Number(ye[ye.length-1])===0}function fe(Me,ye,be,Fe,ke,Ie,Le,De,Be,Ue){var _e,We=Me.clientX,Ze=Me.clientY,et=Me.target.getBoundingClientRect(),at=et.top,pt=et.height,Xe=(Ue==="rtl"?-1:1)*(((ke==null?void 0:ke.x)||0)-We),Ge=(Xe-12)/Fe,lt=(0,ie.Z)(De,be.props.eventKey);if(Ze<at+pt/2){var dt=Le.findIndex(function(de){return de.key===lt.key}),st=dt<=0?0:dt-1,nt=Le[st].key;lt=(0,ie.Z)(De,nt)}var rt=lt.key,it=lt,gt=lt.key,vt=0,At=0;if(!Be.includes(rt))for(var Et=0;Et<Ge&&se(lt);Et+=1)lt=lt.parent,At+=1;var ut=ye.props.data,Ye=lt.node,Ve=!0;return ce(lt)&&lt.level===0&&Ze<at+pt/2&&Ie({dragNode:ut,dropNode:Ye,dropPosition:-1})&&lt.key===be.props.eventKey?vt=-1:(it.children||[]).length&&Be.includes(gt)?Ie({dragNode:ut,dropNode:Ye,dropPosition:0})?vt=0:Ve=!1:At===0?Ge>-1.5?Ie({dragNode:ut,dropNode:Ye,dropPosition:1})?vt=1:Ve=!1:Ie({dragNode:ut,dropNode:Ye,dropPosition:0})?vt=0:Ie({dragNode:ut,dropNode:Ye,dropPosition:1})?vt=1:Ve=!1:Ie({dragNode:ut,dropNode:Ye,dropPosition:1})?vt=1:Ve=!1,{dropPosition:vt,dropLevelOffset:At,dropTargetKey:lt.key,dropTargetPos:lt.pos,dragOverNodeKey:gt,dropContainerKey:vt===0?null:((_e=lt.parent)===null||_e===void 0?void 0:_e.key)||null,dropAllowed:Ve}}function pe(Me,ye){if(Me){var be=ye.multiple;return be?Me.slice():Me.length?[Me[0]]:Me}}var le=function(ye){return ye};function Se(Me,ye){if(!Me)return[];var be=ye||{},Fe=be.processProps,ke=Fe===void 0?le:Fe,Ie=Array.isArray(Me)?Me:[Me];return Ie.map(function(Le){var De=Le.children,Be=_objectWithoutProperties(Le,ae),Ue=Se(De,ye);return React.createElement(TreeNode,_extends({key:Be.key},ke(Be)),Ue)})}function xe(Me){if(!Me)return null;var ye;if(Array.isArray(Me))ye={checkedKeys:Me,halfCheckedKeys:void 0};else if((0,$e.Z)(Me)==="object")ye={checkedKeys:Me.checked||void 0,halfCheckedKeys:Me.halfChecked||void 0};else return(0,x.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ye}function ge(Me,ye){var be=new Set;function Fe(ke){if(!be.has(ke)){var Ie=(0,ie.Z)(ye,ke);if(Ie){be.add(ke);var Le=Ie.parent,De=Ie.node;De.disabled||Le&&Fe(Le.key)}}}return(Me||[]).forEach(function(ke){Fe(ke)}),(0,Oe.Z)(be)}},97153:function(tn,Kt,ve){"use strict";ve.d(Kt,{S:function(){return te}});var Oe=ve(72978),$e=ve(3596);function x(ae,ne){var oe=new Set;return ae.forEach(function(he){ne.has(he)||oe.add(he)}),oe}function Te(ae){var ne=ae||{},oe=ne.disabled,he=ne.disableCheckbox,re=ne.checkable;return!!(oe||he)||re===!1}function me(ae,ne,oe,he){for(var re=new Set(ae),se=new Set,ce=0;ce<=oe;ce+=1){var fe=ne.get(ce)||new Set;fe.forEach(function(xe){var ge=xe.key,Me=xe.node,ye=xe.children,be=ye===void 0?[]:ye;re.has(ge)&&!he(Me)&&be.filter(function(Fe){return!he(Fe.node)}).forEach(function(Fe){re.add(Fe.key)})})}for(var pe=new Set,le=oe;le>=0;le-=1){var Se=ne.get(le)||new Set;Se.forEach(function(xe){var ge=xe.parent,Me=xe.node;if(!(he(Me)||!xe.parent||pe.has(xe.parent.key))){if(he(xe.parent.node)){pe.add(ge.key);return}var ye=!0,be=!1;(ge.children||[]).filter(function(Fe){return!he(Fe.node)}).forEach(function(Fe){var ke=Fe.key,Ie=re.has(ke);ye&&!Ie&&(ye=!1),!be&&(Ie||se.has(ke))&&(be=!0)}),ye&&re.add(ge.key),be&&se.add(ge.key),pe.add(ge.key)}})}return{checkedKeys:Array.from(re),halfCheckedKeys:Array.from(x(se,re))}}function ie(ae,ne,oe,he,re){for(var se=new Set(ae),ce=new Set(ne),fe=0;fe<=he;fe+=1){var pe=oe.get(fe)||new Set;pe.forEach(function(ge){var Me=ge.key,ye=ge.node,be=ge.children,Fe=be===void 0?[]:be;!se.has(Me)&&!ce.has(Me)&&!re(ye)&&Fe.filter(function(ke){return!re(ke.node)}).forEach(function(ke){se.delete(ke.key)})})}ce=new Set;for(var le=new Set,Se=he;Se>=0;Se-=1){var xe=oe.get(Se)||new Set;xe.forEach(function(ge){var Me=ge.parent,ye=ge.node;if(!(re(ye)||!ge.parent||le.has(ge.parent.key))){if(re(ge.parent.node)){le.add(Me.key);return}var be=!0,Fe=!1;(Me.children||[]).filter(function(ke){return!re(ke.node)}).forEach(function(ke){var Ie=ke.key,Le=se.has(Ie);be&&!Le&&(be=!1),!Fe&&(Le||ce.has(Ie))&&(Fe=!0)}),be||se.delete(Me.key),Fe&&ce.add(Me.key),le.add(Me.key)}})}return{checkedKeys:Array.from(se),halfCheckedKeys:Array.from(x(ce,se))}}function te(ae,ne,oe,he){var re=[],se;he?se=he:se=Te;var ce=new Set(ae.filter(function(Se){var xe=!!(0,$e.Z)(oe,Se);return xe||re.push(Se),xe})),fe=new Map,pe=0;Object.keys(oe).forEach(function(Se){var xe=oe[Se],ge=xe.level,Me=fe.get(ge);Me||(Me=new Set,fe.set(ge,Me)),Me.add(xe),pe=Math.max(pe,ge)}),(0,Oe.ZP)(!re.length,"Tree missing follow keys: ".concat(re.slice(0,100).map(function(Se){return"'".concat(Se,"'")}).join(", ")));var le;return ne===!0?le=me(ce,fe,pe,se):le=ie(ce,ne.halfCheckedKeys,fe,pe,se),le}},3596:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Oe}});function Oe($e,x){return $e[x]}},83898:function(tn,Kt,ve){"use strict";ve.d(Kt,{I8:function(){return ge},F:function(){return ye},zn:function(){return le},w$:function(){return fe},oH:function(){return Se},km:function(){return ce},H8:function(){return Me}});var Oe=ve(71002),$e=ve(74902),x=ve(1413),Te=ve(45987),me=ve(67294),ie=ve(28580);function te(be){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ke=[];return me.Children.forEach(be,function(Ie){Ie==null&&!Fe.keepEmpty||(Array.isArray(Ie)?ke=ke.concat(te(Ie)):(0,ie.isFragment)(Ie)&&Ie.props?ke=ke.concat(te(Ie.props.children,Fe)):ke.push(Ie))}),ke}function ae(be,Fe){var ke=(0,x.Z)({},be);return Array.isArray(Fe)&&Fe.forEach(function(Ie){delete ke[Ie]}),ke}var ne=ve(72978),oe=ve(3596),he=["children"];function re(be,Fe){return"".concat(be,"-").concat(Fe)}function se(be){return be&&be.type&&be.type.isTreeNode}function ce(be,Fe){return be!=null?be:Fe}function fe(be){var Fe=be||{},ke=Fe.title,Ie=Fe._title,Le=Fe.key,De=Fe.children,Be=ke||"title";return{title:Be,_title:Ie||[Be],key:Le||"key",children:De||"children"}}function pe(be,Fe){var ke=new Map;function Ie(Le){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Le||[]).forEach(function(Be){var Ue=Be[Fe.key],_e=Be[Fe.children];warning(Ue!=null,"Tree node must have a certain key: [".concat(De).concat(Ue,"]"));var We=String(Ue);warning(!ke.has(We)||Ue===null||Ue===void 0,"Same 'key' exist in the Tree: ".concat(We)),ke.set(We,!0),Ie(_e,"".concat(De).concat(We," > "))})}Ie(be)}function le(be){function Fe(ke){var Ie=te(ke);return Ie.map(function(Le){if(!se(Le))return(0,ne.ZP)(!Le,"Tree/TreeNode can only accept TreeNode as children."),null;var De=Le.key,Be=Le.props,Ue=Be.children,_e=(0,Te.Z)(Be,he),We=(0,x.Z)({key:De},_e),Ze=Fe(Ue);return Ze.length&&(We.children=Ze),We}).filter(function(Le){return Le})}return Fe(be)}function Se(be,Fe,ke){var Ie=fe(ke),Le=Ie._title,De=Ie.key,Be=Ie.children,Ue=new Set(Fe===!0?[]:Fe),_e=[];function We(Ze){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ze.map(function(at,pt){for(var Xe=re(et?et.pos:"0",pt),Ge=ce(at[De],Xe),lt,dt=0;dt<Le.length;dt+=1){var st=Le[dt];if(at[st]!==void 0){lt=at[st];break}}var nt=(0,x.Z)((0,x.Z)({},ae(at,[].concat((0,$e.Z)(Le),[De,Be]))),{},{title:lt,key:Ge,parent:et,pos:Xe,children:null,data:at,isStart:[].concat((0,$e.Z)(et?et.isStart:[]),[pt===0]),isEnd:[].concat((0,$e.Z)(et?et.isEnd:[]),[pt===Ze.length-1])});return _e.push(nt),Fe===!0||Ue.has(Ge)?nt.children=We(at[Be]||[],nt):nt.children=[],nt})}return We(be),_e}function xe(be,Fe,ke){var Ie={};(0,Oe.Z)(ke)==="object"?Ie=ke:Ie={externalGetKey:ke},Ie=Ie||{};var Le=Ie,De=Le.childrenPropName,Be=Le.externalGetKey,Ue=Le.fieldNames,_e=fe(Ue),We=_e.key,Ze=_e.children,et=De||Ze,at;Be?typeof Be=="string"?at=function(Ge){return Ge[Be]}:typeof Be=="function"&&(at=function(Ge){return Be(Ge)}):at=function(Ge,lt){return ce(Ge[We],lt)};function pt(Xe,Ge,lt,dt){var st=Xe?Xe[et]:be,nt=Xe?re(lt.pos,Ge):"0",rt=Xe?[].concat((0,$e.Z)(dt),[Xe]):[];if(Xe){var it=at(Xe,nt),gt={node:Xe,index:Ge,pos:nt,key:it,parentPos:lt.node?lt.pos:null,level:lt.level+1,nodes:rt};Fe(gt)}st&&st.forEach(function(vt,At){pt(vt,At,{node:Xe,pos:nt,level:lt?lt.level+1:-1},rt)})}pt(null)}function ge(be){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ke=Fe.initWrapper,Ie=Fe.processEntity,Le=Fe.onProcessFinished,De=Fe.externalGetKey,Be=Fe.childrenPropName,Ue=Fe.fieldNames,_e=arguments.length>2?arguments[2]:void 0,We=De||_e,Ze={},et={},at={posEntities:Ze,keyEntities:et};return ke&&(at=ke(at)||at),xe(be,function(pt){var Xe=pt.node,Ge=pt.index,lt=pt.pos,dt=pt.key,st=pt.parentPos,nt=pt.level,rt=pt.nodes,it={node:Xe,nodes:rt,index:Ge,key:dt,pos:lt,level:nt},gt=ce(dt,lt);Ze[lt]=it,et[gt]=it,it.parent=Ze[st],it.parent&&(it.parent.children=it.parent.children||[],it.parent.children.push(it)),Ie&&Ie(it,at)},{externalGetKey:We,childrenPropName:Be,fieldNames:Ue}),Le&&Le(at),at}function Me(be,Fe){var ke=Fe.expandedKeys,Ie=Fe.selectedKeys,Le=Fe.loadedKeys,De=Fe.loadingKeys,Be=Fe.checkedKeys,Ue=Fe.halfCheckedKeys,_e=Fe.dragOverNodeKey,We=Fe.dropPosition,Ze=Fe.keyEntities,et=(0,oe.Z)(Ze,be),at={eventKey:be,expanded:ke.indexOf(be)!==-1,selected:Ie.indexOf(be)!==-1,loaded:Le.indexOf(be)!==-1,loading:De.indexOf(be)!==-1,checked:Be.indexOf(be)!==-1,halfChecked:Ue.indexOf(be)!==-1,pos:String(et?et.pos:""),dragOver:_e===be&&We===0,dragOverGapTop:_e===be&&We===-1,dragOverGapBottom:_e===be&&We===1};return at}function ye(be){var Fe=be.data,ke=be.expanded,Ie=be.selected,Le=be.checked,De=be.loaded,Be=be.loading,Ue=be.halfChecked,_e=be.dragOver,We=be.dragOverGapTop,Ze=be.dragOverGapBottom,et=be.pos,at=be.active,pt=be.eventKey,Xe=(0,x.Z)((0,x.Z)({},Fe),{},{expanded:ke,selected:Ie,checked:Le,loaded:De,loading:Be,halfChecked:Ue,dragOver:_e,dragOverGapTop:We,dragOverGapBottom:Ze,pos:et,active:at,key:pt});return"props"in Xe||Object.defineProperty(Xe,"props",{get:function(){return(0,ne.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),be}}),Xe}},34952:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return ae}});var Oe=ve(1413),$e=`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`,x=`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`,Te="".concat($e," ").concat(x).split(/[\s\n]+/),me="aria-",ie="data-";function te(ne,oe){return ne.indexOf(oe)===0}function ae(ne){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,he;oe===!1?he={aria:!0,data:!0,attr:!0}:oe===!0?he={aria:!0}:he=(0,Oe.Z)({},oe);var re={};return Object.keys(ne).forEach(function(se){(he.aria&&(se==="role"||te(se,me))||he.data&&te(se,ie)||he.attr&&Te.includes(se))&&(re[se]=ne[se])}),re}},72978:function(tn,Kt,ve){"use strict";var Oe={};function $e(ae,ne){}function x(ae,ne){}function Te(){Oe={}}function me(ae,ne,oe){!ne&&!Oe[oe]&&(ae(!1,oe),Oe[oe]=!0)}function ie(ae,ne){me($e,ae,ne)}function te(ae,ne){me(x,ae,ne)}Kt.ZP=ie},81533:function(tn,Kt){"use strict";var ve;var Oe=typeof Symbol=="function"&&Symbol.for,$e=Oe?Symbol.for("react.element"):60103,x=Oe?Symbol.for("react.portal"):60106,Te=Oe?Symbol.for("react.fragment"):60107,me=Oe?Symbol.for("react.strict_mode"):60108,ie=Oe?Symbol.for("react.profiler"):60114,te=Oe?Symbol.for("react.provider"):60109,ae=Oe?Symbol.for("react.context"):60110,ne=Oe?Symbol.for("react.async_mode"):60111,oe=Oe?Symbol.for("react.concurrent_mode"):60111,he=Oe?Symbol.for("react.forward_ref"):60112,re=Oe?Symbol.for("react.suspense"):60113,se=Oe?Symbol.for("react.suspense_list"):60120,ce=Oe?Symbol.for("react.memo"):60115,fe=Oe?Symbol.for("react.lazy"):60116,pe=Oe?Symbol.for("react.block"):60121,le=Oe?Symbol.for("react.fundamental"):60117,Se=Oe?Symbol.for("react.responder"):60118,xe=Oe?Symbol.for("react.scope"):60119;function ge(ye){if(typeof ye=="object"&&ye!==null){var be=ye.$$typeof;switch(be){case $e:switch(ye=ye.type,ye){case ne:case oe:case Te:case ie:case me:case re:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case ae:case he:case fe:case ce:case te:return ye;default:return be}}case x:return be}}}function Me(ye){return ge(ye)===oe}ve=ne,ve=oe,ve=ae,ve=te,ve=$e,ve=he,ve=Te,ve=fe,ve=ce,ve=x,ve=ie,ve=me,ve=re,ve=function(ye){return Me(ye)||ge(ye)===ne},ve=Me,ve=function(ye){return ge(ye)===ae},ve=function(ye){return ge(ye)===te},ve=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===$e},ve=function(ye){return ge(ye)===he},Kt.isFragment=function(ye){return ge(ye)===Te},ve=function(ye){return ge(ye)===fe},Kt.isMemo=function(ye){return ge(ye)===ce},ve=function(ye){return ge(ye)===x},ve=function(ye){return ge(ye)===ie},ve=function(ye){return ge(ye)===me},ve=function(ye){return ge(ye)===re},ve=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===Te||ye===oe||ye===ie||ye===me||ye===re||ye===se||typeof ye=="object"&&ye!==null&&(ye.$$typeof===fe||ye.$$typeof===ce||ye.$$typeof===te||ye.$$typeof===ae||ye.$$typeof===he||ye.$$typeof===le||ye.$$typeof===Se||ye.$$typeof===xe||ye.$$typeof===pe)},ve=ge},28580:function(tn,Kt,ve){"use strict";tn.exports=ve(81533)},92389:function(tn,Kt){"use strict";var ve={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($e){var x=$e.keyCode;if($e.altKey&&!$e.ctrlKey||$e.metaKey||x>=ve.F1&&x<=ve.F12)return!1;switch(x){case ve.ALT:case ve.CAPS_LOCK:case ve.CONTEXT_MENU:case ve.CTRL:case ve.DOWN:case ve.END:case ve.ESC:case ve.HOME:case ve.INSERT:case ve.LEFT:case ve.MAC_FF_META:case ve.META:case ve.NUMLOCK:case ve.NUM_CENTER:case ve.PAGE_DOWN:case ve.PAGE_UP:case ve.PAUSE:case ve.PRINT_SCREEN:case ve.RIGHT:case ve.SHIFT:case ve.UP:case ve.WIN_KEY:case ve.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function($e){if($e>=ve.ZERO&&$e<=ve.NINE||$e>=ve.NUM_ZERO&&$e<=ve.NUM_MULTIPLY||$e>=ve.A&&$e<=ve.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&$e===0)return!0;switch($e){case ve.SPACE:case ve.QUESTION_MARK:case ve.NUM_PLUS:case ve.NUM_MINUS:case ve.NUM_PERIOD:case ve.NUM_DIVISION:case ve.SEMICOLON:case ve.DASH:case ve.EQUALS:case ve.COMMA:case ve.PERIOD:case ve.SLASH:case ve.APOSTROPHE:case ve.SINGLE_QUOTE:case ve.OPEN_SQUARE_BRACKET:case ve.BACKSLASH:case ve.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};Kt.Z=ve},1337:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return ae}});var Oe=ve(1413),$e=`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`,x=`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`,Te="".concat($e," ").concat(x).split(/[\s\n]+/),me="aria-",ie="data-";function te(ne,oe){return ne.indexOf(oe)===0}function ae(ne){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,he;oe===!1?he={aria:!0,data:!0,attr:!0}:oe===!0?he={aria:!0}:he=(0,Oe.Z)({},oe);var re={};return Object.keys(ne).forEach(function(se){(he.aria&&(se==="role"||te(se,me))||he.data&&te(se,ie)||he.attr&&Te.includes(se))&&(re[se]=ne[se])}),re}},88386:function(tn,Kt,ve){(function(Oe){Oe(ve(4631))})(function(Oe){Oe.defineOption("placeholder","",function(ae,ne,oe){var he=oe&&oe!=Oe.Init;if(ne&&!he)ae.on("blur",me),ae.on("change",ie),ae.on("swapDoc",ie),Oe.on(ae.getInputField(),"compositionupdate",ae.state.placeholderCompose=function(){Te(ae)}),ie(ae);else if(!ne&&he){ae.off("blur",me),ae.off("change",ie),ae.off("swapDoc",ie),Oe.off(ae.getInputField(),"compositionupdate",ae.state.placeholderCompose),$e(ae);var re=ae.getWrapperElement();re.className=re.className.replace(" CodeMirror-empty","")}ne&&!ae.hasFocus()&&me(ae)});function $e(ae){ae.state.placeholder&&(ae.state.placeholder.parentNode.removeChild(ae.state.placeholder),ae.state.placeholder=null)}function x(ae){$e(ae);var ne=ae.state.placeholder=document.createElement("pre");ne.style.cssText="height: 0; overflow: visible",ne.style.direction=ae.getOption("direction"),ne.className="CodeMirror-placeholder CodeMirror-line-like";var oe=ae.getOption("placeholder");typeof oe=="string"&&(oe=document.createTextNode(oe)),ne.appendChild(oe),ae.display.lineSpace.insertBefore(ne,ae.display.lineSpace.firstChild)}function Te(ae){setTimeout(function(){var ne=!1,oe=ae.getInputField();oe.nodeName=="TEXTAREA"?ne=!oe.value:ae.lineCount()==1&&(ne=!/[^\u200b]/.test(oe.querySelector(".CodeMirror-line").textContent)),ne?x(ae):$e(ae)},20)}function me(ae){te(ae)&&x(ae)}function ie(ae){var ne=ae.getWrapperElement(),oe=te(ae);ne.className=ne.className.replace(" CodeMirror-empty","")+(oe?" CodeMirror-empty":""),oe?x(ae):$e(ae)}function te(ae){return ae.lineCount()===1&&ae.getLine(0)===""}})},82801:function(tn,Kt,ve){(function(Oe){Oe(ve(4631))})(function(Oe){var $e={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},x=Oe.Pos;Oe.defineOption("autoCloseBrackets",!1,function(fe,pe,le){le&&le!=Oe.Init&&(fe.removeKeyMap(me),fe.state.closeBrackets=null),pe&&(ie(Te(pe,"pairs")),fe.state.closeBrackets=pe,fe.addKeyMap(me))});function Te(fe,pe){return pe=="pairs"&&typeof fe=="string"?fe:typeof fe=="object"&&fe[pe]!=null?fe[pe]:$e[pe]}var me={Backspace:ne,Enter:oe};function ie(fe){for(var pe=0;pe<fe.length;pe++){var le=fe.charAt(pe),Se="'"+le+"'";me[Se]||(me[Se]=te(le))}}ie($e.pairs+"`");function te(fe){return function(pe){return re(pe,fe)}}function ae(fe){var pe=fe.state.closeBrackets;if(!pe||pe.override)return pe;var le=fe.getModeAt(fe.getCursor());return le.closeBrackets||pe}function ne(fe){var pe=ae(fe);if(!pe||fe.getOption("disableInput"))return Oe.Pass;for(var le=Te(pe,"pairs"),Se=fe.listSelections(),xe=0;xe<Se.length;xe++){if(!Se[xe].empty())return Oe.Pass;var ge=se(fe,Se[xe].head);if(!ge||le.indexOf(ge)%2!=0)return Oe.Pass}for(var xe=Se.length-1;xe>=0;xe--){var Me=Se[xe].head;fe.replaceRange("",x(Me.line,Me.ch-1),x(Me.line,Me.ch+1),"+delete")}}function oe(fe){var pe=ae(fe),le=pe&&Te(pe,"explode");if(!le||fe.getOption("disableInput"))return Oe.Pass;for(var Se=fe.listSelections(),xe=0;xe<Se.length;xe++){if(!Se[xe].empty())return Oe.Pass;var ge=se(fe,Se[xe].head);if(!ge||le.indexOf(ge)%2!=0)return Oe.Pass}fe.operation(function(){var Me=fe.lineSeparator()||`
`;fe.replaceSelection(Me+Me,null),fe.execCommand("goCharLeft"),Se=fe.listSelections();for(var ye=0;ye<Se.length;ye++){var be=Se[ye].head.line;fe.indentLine(be,null,!0),fe.indentLine(be+1,null,!0)}})}function he(fe){var pe=Oe.cmpPos(fe.anchor,fe.head)>0;return{anchor:new x(fe.anchor.line,fe.anchor.ch+(pe?-1:1)),head:new x(fe.head.line,fe.head.ch+(pe?1:-1))}}function re(fe,pe){var le=ae(fe);if(!le||fe.getOption("disableInput"))return Oe.Pass;var Se=Te(le,"pairs"),xe=Se.indexOf(pe);if(xe==-1)return Oe.Pass;for(var ge=Te(le,"closeBefore"),Me=Te(le,"triples"),ye=Se.charAt(xe+1)==pe,be=fe.listSelections(),Fe=xe%2==0,ke,Ie=0;Ie<be.length;Ie++){var Le=be[Ie],De=Le.head,Be,Ue=fe.getRange(De,x(De.line,De.ch+1));if(Fe&&!Le.empty())Be="surround";else if((ye||!Fe)&&Ue==pe)ye&&ce(fe,De)?Be="both":Me.indexOf(pe)>=0&&fe.getRange(De,x(De.line,De.ch+3))==pe+pe+pe?Be="skipThree":Be="skip";else if(ye&&De.ch>1&&Me.indexOf(pe)>=0&&fe.getRange(x(De.line,De.ch-2),De)==pe+pe){if(De.ch>2&&/\bstring/.test(fe.getTokenTypeAt(x(De.line,De.ch-2))))return Oe.Pass;Be="addFour"}else if(ye){var _e=De.ch==0?" ":fe.getRange(x(De.line,De.ch-1),De);if(!Oe.isWordChar(Ue)&&_e!=pe&&!Oe.isWordChar(_e))Be="both";else return Oe.Pass}else if(Fe&&(Ue.length===0||/\s/.test(Ue)||ge.indexOf(Ue)>-1))Be="both";else return Oe.Pass;if(!ke)ke=Be;else if(ke!=Be)return Oe.Pass}var We=xe%2?Se.charAt(xe-1):pe,Ze=xe%2?pe:Se.charAt(xe+1);fe.operation(function(){if(ke=="skip")fe.execCommand("goCharRight");else if(ke=="skipThree")for(var et=0;et<3;et++)fe.execCommand("goCharRight");else if(ke=="surround"){for(var at=fe.getSelections(),et=0;et<at.length;et++)at[et]=We+at[et]+Ze;fe.replaceSelections(at,"around"),at=fe.listSelections().slice();for(var et=0;et<at.length;et++)at[et]=he(at[et]);fe.setSelections(at)}else ke=="both"?(fe.replaceSelection(We+Ze,null),fe.triggerElectric(We+Ze),fe.execCommand("goCharLeft")):ke=="addFour"&&(fe.replaceSelection(We+We+We+We,"before"),fe.execCommand("goCharRight"))})}function se(fe,pe){var le=fe.getRange(x(pe.line,pe.ch-1),x(pe.line,pe.ch+1));return le.length==2?le:null}function ce(fe,pe){var le=fe.getTokenAt(x(pe.line,pe.ch+1));return/\bstring/.test(le.type)&&le.start==pe.ch&&(pe.ch==0||!/\bstring/.test(fe.getTokenTypeAt(pe)))}})},57341:function(tn,Kt,ve){(function(Oe){Oe(ve(4631),ve(4786))})(function(Oe){Oe.defineOption("autoCloseTags",!1,function(ne,oe,he){if(he!=Oe.Init&&he&&ne.removeKeyMap("autoCloseTags"),!!oe){var re={name:"autoCloseTags"};(typeof oe!="object"||oe.whenClosing!==!1)&&(re["'/'"]=function(se){return ie(se)}),(typeof oe!="object"||oe.whenOpening!==!1)&&(re["'>'"]=function(se){return Te(se)}),ne.addKeyMap(re)}});var $e=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],x=["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 Te(ne){if(ne.getOption("disableInput"))return Oe.Pass;for(var oe=ne.listSelections(),he=[],re=ne.getOption("autoCloseTags"),se=0;se<oe.length;se++){if(!oe[se].empty())return Oe.Pass;var ce=oe[se].head,fe=ne.getTokenAt(ce),pe=Oe.innerMode(ne.getMode(),fe.state),le=pe.state,Se=pe.mode.xmlCurrentTag&&pe.mode.xmlCurrentTag(le),xe=Se&&Se.name;if(!xe)return Oe.Pass;var ge=pe.mode.configuration=="html",Me=typeof re=="object"&&re.dontCloseTags||ge&&$e,ye=typeof re=="object"&&re.indentTags||ge&&x;fe.end>ce.ch&&(xe=xe.slice(0,xe.length-fe.end+ce.ch));var be=xe.toLowerCase();if(!xe||fe.type=="string"&&(fe.end!=ce.ch||!/[\"\']/.test(fe.string.charAt(fe.string.length-1))||fe.string.length==1)||fe.type=="tag"&&Se.close||fe.string.indexOf("/")==ce.ch-fe.start-1||Me&&te(Me,be)>-1||ae(ne,pe.mode.xmlCurrentContext&&pe.mode.xmlCurrentContext(le)||[],xe,ce,!0))return Oe.Pass;var Fe=typeof re=="object"&&re.emptyTags;if(Fe&&te(Fe,xe)>-1){he[se]={text:"/>",newPos:Oe.Pos(ce.line,ce.ch+2)};continue}var ke=ye&&te(ye,be)>-1;he[se]={indent:ke,text:">"+(ke?`
`:"")+"</"+xe+">",newPos:ke?Oe.Pos(ce.line+1,0):Oe.Pos(ce.line,ce.ch+1)}}for(var Ie=typeof re=="object"&&re.dontIndentOnAutoClose,se=oe.length-1;se>=0;se--){var Le=he[se];ne.replaceRange(Le.text,oe[se].head,oe[se].anchor,"+insert");var De=ne.listSelections().slice(0);De[se]={head:Le.newPos,anchor:Le.newPos},ne.setSelections(De),!Ie&&Le.indent&&(ne.indentLine(Le.newPos.line,null,!0),ne.indentLine(Le.newPos.line+1,null,!0))}}function me(ne,oe){for(var he=ne.listSelections(),re=[],se=oe?"/":"</",ce=ne.getOption("autoCloseTags"),fe=typeof ce=="object"&&ce.dontIndentOnSlash,pe=0;pe<he.length;pe++){if(!he[pe].empty())return Oe.Pass;var le=he[pe].head,Se=ne.getTokenAt(le),xe=Oe.innerMode(ne.getMode(),Se.state),ge=xe.state;if(oe&&(Se.type=="string"||Se.string.charAt(0)!="<"||Se.start!=le.ch-1))return Oe.Pass;var Me,ye=xe.mode.name!="xml"&&ne.getMode().name=="htmlmixed";if(ye&&xe.mode.name=="javascript")Me=se+"script";else if(ye&&xe.mode.name=="css")Me=se+"style";else{var be=xe.mode.xmlCurrentContext&&xe.mode.xmlCurrentContext(ge);if(!be||be.length&&ae(ne,be,be[be.length-1],le))return Oe.Pass;Me=se+be[be.length-1]}ne.getLine(le.line).charAt(Se.end)!=">"&&(Me+=">"),re[pe]=Me}if(ne.replaceSelections(re),he=ne.listSelections(),!fe)for(var pe=0;pe<he.length;pe++)(pe==he.length-1||he[pe].head.line<he[pe+1].head.line)&&ne.indentLine(he[pe].head.line)}function ie(ne){return ne.getOption("disableInput")?Oe.Pass:me(ne,!0)}Oe.commands.closeTag=function(ne){return me(ne)};function te(ne,oe){if(ne.indexOf)return ne.indexOf(oe);for(var he=0,re=ne.length;he<re;++he)if(ne[he]==oe)return he;return-1}function ae(ne,oe,he,re,se){if(!Oe.scanForClosingTag)return!1;var ce=Math.min(ne.lastLine()+1,re.line+500),fe=Oe.scanForClosingTag(ne,re,null,ce);if(!fe||fe.tag!=he)return!1;for(var pe=se?1:0,le=oe.length-1;le>=0&&oe[le]==he;le--)++pe;re=fe.to;for(var le=1;le<pe;le++){var Se=Oe.scanForClosingTag(ne,re,null,ce);if(!Se||Se.tag!=he)return!1;re=Se.to}return!0}})},4786:function(tn,Kt,ve){(function(Oe){Oe(ve(4631))})(function(Oe){"use strict";var $e=Oe.Pos;function x(le,Se){return le.line-Se.line||le.ch-Se.ch}var Te="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",me=Te+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ie=new RegExp("<(/?)(["+Te+"]["+me+"]*)","g");function te(le,Se,xe,ge){this.line=Se,this.ch=xe,this.cm=le,this.text=le.getLine(Se),this.min=ge?Math.max(ge.from,le.firstLine()):le.firstLine(),this.max=ge?Math.min(ge.to-1,le.lastLine()):le.lastLine()}function ae(le,Se){var xe=le.cm.getTokenTypeAt($e(le.line,Se));return xe&&/\btag\b/.test(xe)}function ne(le){if(!(le.line>=le.max))return le.ch=0,le.text=le.cm.getLine(++le.line),!0}function oe(le){if(!(le.line<=le.min))return le.text=le.cm.getLine(--le.line),le.ch=le.text.length,!0}function he(le){for(;;){var Se=le.text.indexOf(">",le.ch);if(Se==-1){if(ne(le))continue;return}if(!ae(le,Se+1)){le.ch=Se+1;continue}var xe=le.text.lastIndexOf("/",Se),ge=xe>-1&&!/\S/.test(le.text.slice(xe+1,Se));return le.ch=Se+1,ge?"selfClose":"regular"}}function re(le){for(;;){var Se=le.ch?le.text.lastIndexOf("<",le.ch-1):-1;if(Se==-1){if(oe(le))continue;return}if(!ae(le,Se+1)){le.ch=Se;continue}ie.lastIndex=Se,le.ch=Se;var xe=ie.exec(le.text);if(xe&&xe.index==Se)return xe}}function se(le){for(;;){ie.lastIndex=le.ch;var Se=ie.exec(le.text);if(!Se){if(ne(le))continue;return}if(!ae(le,Se.index+1)){le.ch=Se.index+1;continue}return le.ch=Se.index+Se[0].length,Se}}function ce(le){for(;;){var Se=le.ch?le.text.lastIndexOf(">",le.ch-1):-1;if(Se==-1){if(oe(le))continue;return}if(!ae(le,Se+1)){le.ch=Se;continue}var xe=le.text.lastIndexOf("/",Se),ge=xe>-1&&!/\S/.test(le.text.slice(xe+1,Se));return le.ch=Se+1,ge?"selfClose":"regular"}}function fe(le,Se){for(var xe=[];;){var ge=se(le),Me,ye=le.line,be=le.ch-(ge?ge[0].length:0);if(!ge||!(Me=he(le)))return;if(Me!="selfClose")if(ge[1]){for(var Fe=xe.length-1;Fe>=0;--Fe)if(xe[Fe]==ge[2]){xe.length=Fe;break}if(Fe<0&&(!Se||Se==ge[2]))return{tag:ge[2],from:$e(ye,be),to:$e(le.line,le.ch)}}else xe.push(ge[2])}}function pe(le,Se){for(var xe=[];;){var ge=ce(le);if(!ge)return;if(ge=="selfClose"){re(le);continue}var Me=le.line,ye=le.ch,be=re(le);if(!be)return;if(be[1])xe.push(be[2]);else{for(var Fe=xe.length-1;Fe>=0;--Fe)if(xe[Fe]==be[2]){xe.length=Fe;break}if(Fe<0&&(!Se||Se==be[2]))return{tag:be[2],from:$e(le.line,le.ch),to:$e(Me,ye)}}}}Oe.registerHelper("fold","xml",function(le,Se){for(var xe=new te(le,Se.line,0);;){var ge=se(xe);if(!ge||xe.line!=Se.line)return;var Me=he(xe);if(!Me)return;if(!ge[1]&&Me!="selfClose"){var ye=$e(xe.line,xe.ch),be=fe(xe,ge[2]);return be&&x(be.from,ye)>0?{from:ye,to:be.from}:null}}}),Oe.findMatchingTag=function(le,Se,xe){var ge=new te(le,Se.line,Se.ch,xe);if(!(ge.text.indexOf(">")==-1&&ge.text.indexOf("<")==-1)){var Me=he(ge),ye=Me&&$e(ge.line,ge.ch),be=Me&&re(ge);if(!(!Me||!be||x(ge,Se)>0)){var Fe={from:$e(ge.line,ge.ch),to:ye,tag:be[2]};return Me=="selfClose"?{open:Fe,close:null,at:"open"}:be[1]?{open:pe(ge,be[2]),close:Fe,at:"close"}:(ge=new te(le,ye.line,ye.ch,xe),{open:Fe,close:fe(ge,be[2]),at:"open"})}}},Oe.findEnclosingTag=function(le,Se,xe,ge){for(var Me=new te(le,Se.line,Se.ch,xe);;){var ye=pe(Me,ge);if(!ye)break;var be=new te(le,Se.line,Se.ch,xe),Fe=fe(be,ye.tag);if(Fe)return{open:ye,close:Fe}}},Oe.scanForClosingTag=function(le,Se,xe,ge){var Me=new te(le,Se.line,Se.ch,ge?{from:0,to:ge}:null);return fe(Me,xe)}})},4631:function(tn){(function(Kt,ve){tn.exports=ve()})(this,function(){"use strict";var Kt=navigator.userAgent,ve=navigator.platform,Oe=/gecko\/\d/i.test(Kt),$e=/MSIE \d/.test(Kt),x=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Kt),Te=/Edge\/(\d+)/.exec(Kt),me=$e||x||Te,ie=me&&($e?document.documentMode||6:+(Te||x)[1]),te=!Te&&/WebKit\//.test(Kt),ae=te&&/Qt\/\d+\.\d+/.test(Kt),ne=!Te&&/Chrome\//.test(Kt),oe=/Opera\//.test(Kt),he=/Apple Computer/.test(navigator.vendor),re=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Kt),se=/PhantomJS/.test(Kt),ce=!Te&&/AppleWebKit/.test(Kt)&&/Mobile\/\w+/.test(Kt),fe=/Android/.test(Kt),pe=ce||fe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Kt),le=ce||/Mac/.test(ve),Se=/\bCrOS\b/.test(Kt),xe=/win/i.test(ve),ge=oe&&Kt.match(/Version\/(\d*\.\d*)/);ge&&(ge=Number(ge[1])),ge&&ge>=15&&(oe=!1,te=!0);var Me=le&&(ae||oe&&(ge==null||ge<12.11)),ye=Oe||me&&ie>=9;function be(E){return new RegExp("(^|\\s)"+E+"(?:$|\\s)\\s*")}var Fe=function(E,ee){var Ee=E.className,we=be(ee).exec(Ee);if(we){var Ne=Ee.slice(we.index+we[0].length);E.className=Ee.slice(0,we.index)+(Ne?we[1]+Ne:"")}};function ke(E){for(var ee=E.childNodes.length;ee>0;--ee)E.removeChild(E.firstChild);return E}function Ie(E,ee){return ke(E).appendChild(ee)}function Le(E,ee,Ee,we){var Ne=document.createElement(E);if(Ee&&(Ne.className=Ee),we&&(Ne.style.cssText=we),typeof ee=="string")Ne.appendChild(document.createTextNode(ee));else if(ee)for(var Je=0;Je<ee.length;++Je)Ne.appendChild(ee[Je]);return Ne}function De(E,ee,Ee,we){var Ne=Le(E,ee,Ee,we);return Ne.setAttribute("role","presentation"),Ne}var Be;document.createRange?Be=function(E,ee,Ee,we){var Ne=document.createRange();return Ne.setEnd(we||E,Ee),Ne.setStart(E,ee),Ne}:Be=function(E,ee,Ee){var we=document.body.createTextRange();try{we.moveToElementText(E.parentNode)}catch(Ne){return we}return we.collapse(!0),we.moveEnd("character",Ee),we.moveStart("character",ee),we};function Ue(E,ee){if(ee.nodeType==3&&(ee=ee.parentNode),E.contains)return E.contains(ee);do if(ee.nodeType==11&&(ee=ee.host),ee==E)return!0;while(ee=ee.parentNode)}function _e(){var E;try{E=document.activeElement}catch(ee){E=document.body||null}for(;E&&E.shadowRoot&&E.shadowRoot.activeElement;)E=E.shadowRoot.activeElement;return E}function We(E,ee){var Ee=E.className;be(ee).test(Ee)||(E.className+=(Ee?" ":"")+ee)}function Ze(E,ee){for(var Ee=E.split(" "),we=0;we<Ee.length;we++)Ee[we]&&!be(Ee[we]).test(ee)&&(ee+=" "+Ee[we]);return ee}var et=function(E){E.select()};ce?et=function(E){E.selectionStart=0,E.selectionEnd=E.value.length}:me&&(et=function(E){try{E.select()}catch(ee){}});function at(E){var ee=Array.prototype.slice.call(arguments,1);return function(){return E.apply(null,ee)}}function pt(E,ee,Ee){ee||(ee={});for(var we in E)E.hasOwnProperty(we)&&(Ee!==!1||!ee.hasOwnProperty(we))&&(ee[we]=E[we]);return ee}function Xe(E,ee,Ee,we,Ne){ee==null&&(ee=E.search(/[^\s\u00a0]/),ee==-1&&(ee=E.length));for(var Je=we||0,ft=Ne||0;;){var wt=E.indexOf(" ",Je);if(wt<0||wt>=ee)return ft+(ee-Je);ft+=wt-Je,ft+=Ee-ft%Ee,Je=wt+1}}var Ge=function(){this.id=null,this.f=null,this.time=0,this.handler=at(this.onTimeout,this)};Ge.prototype.onTimeout=function(E){E.id=0,E.time<=+new Date?E.f():setTimeout(E.handler,E.time-+new Date)},Ge.prototype.set=function(E,ee){this.f=ee;var Ee=+new Date+E;(!this.id||Ee<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,E),this.time=Ee)};function lt(E,ee){for(var Ee=0;Ee<E.length;++Ee)if(E[Ee]==ee)return Ee;return-1}var dt=50,st={toString:function(){return"CodeMirror.Pass"}},nt={scroll:!1},rt={origin:"*mouse"},it={origin:"+move"};function gt(E,ee,Ee){for(var we=0,Ne=0;;){var Je=E.indexOf(" ",we);Je==-1&&(Je=E.length);var ft=Je-we;if(Je==E.length||Ne+ft>=ee)return we+Math.min(ft,ee-Ne);if(Ne+=Je-we,Ne+=Ee-Ne%Ee,we=Je+1,Ne>=ee)return we}}var vt=[""];function At(E){for(;vt.length<=E;)vt.push(Et(vt)+" ");return vt[E]}function Et(E){return E[E.length-1]}function ut(E,ee){for(var Ee=[],we=0;we<E.length;we++)Ee[we]=ee(E[we],we);return Ee}function Ye(E,ee,Ee){for(var we=0,Ne=Ee(ee);we<E.length&&Ee(E[we])<=Ne;)we++;E.splice(we,0,ee)}function Ve(){}function de(E,ee){var Ee;return Object.create?Ee=Object.create(E):(Ve.prototype=E,Ee=new Ve),ee&&pt(ee,Ee),Ee}var Ce=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function He(E){return/\w/.test(E)||E>"\x80"&&(E.toUpperCase()!=E.toLowerCase()||Ce.test(E))}function je(E,ee){return ee?ee.source.indexOf("\\w")>-1&&He(E)?!0:ee.test(E):He(E)}function Ae(E){for(var ee in E)if(E.hasOwnProperty(ee)&&E[ee])return!1;return!0}var Re=/[\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 ze(E){return E.charCodeAt(0)>=768&&Re.test(E)}function Qe(E,ee,Ee){for(;(Ee<0?ee>0:ee<E.length)&&ze(E.charAt(ee));)ee+=Ee;return ee}function ot(E,ee,Ee){for(var we=ee>Ee?-1:1;;){if(ee==Ee)return ee;var Ne=(ee+Ee)/2,Je=we<0?Math.ceil(Ne):Math.floor(Ne);if(Je==ee)return E(Je)?ee:Ee;E(Je)?Ee=Je:ee=Je+we}}function mt(E,ee,Ee,we){if(!E)return we(ee,Ee,"ltr",0);for(var Ne=!1,Je=0;Je<E.length;++Je){var ft=E[Je];(ft.from<Ee&&ft.to>ee||ee==Ee&&ft.to==ee)&&(we(Math.max(ft.from,ee),Math.min(ft.to,Ee),ft.level==1?"rtl":"ltr",Je),Ne=!0)}Ne||we(ee,Ee,"ltr")}var Ot=null;function xt(E,ee,Ee){var we;Ot=null;for(var Ne=0;Ne<E.length;++Ne){var Je=E[Ne];if(Je.from<ee&&Je.to>ee)return Ne;Je.to==ee&&(Je.from!=Je.to&&Ee=="before"?we=Ne:Ot=Ne),Je.from==ee&&(Je.from!=Je.to&&Ee!="before"?we=Ne:Ot=Ne)}return we!=null?we:Ot}var Wt=function(){var E="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",ee="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function Ee(Rt){return Rt<=247?E.charAt(Rt):1424<=Rt&&Rt<=1524?"R":1536<=Rt&&Rt<=1785?ee.charAt(Rt-1536):1774<=Rt&&Rt<=2220?"r":8192<=Rt&&Rt<=8203?"w":Rt==8204?"b":"L"}var we=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Ne=/[stwN]/,Je=/[LRr]/,ft=/[Lb1n]/,wt=/[1n]/;function Mt(Rt,fn,An){this.level=Rt,this.from=fn,this.to=An}return function(Rt,fn){var An=fn=="ltr"?"L":"R";if(Rt.length==0||fn=="ltr"&&!we.test(Rt))return!1;for(var cr=Rt.length,qn=[],Kr=0;Kr<cr;++Kr)qn.push(Ee(Rt.charCodeAt(Kr)));for(var ni=0,Ei=An;ni<cr;++ni){var zi=qn[ni];zi=="m"?qn[ni]=Ei:Ei=zi}for(var Ji=0,Bi=An;Ji<cr;++Ji){var sa=qn[Ji];sa=="1"&&Bi=="r"?qn[Ji]="n":Je.test(sa)&&(Bi=sa,sa=="r"&&(qn[Ji]="R"))}for(var Wa=1,Xa=qn[0];Wa<cr-1;++Wa){var Ao=qn[Wa];Ao=="+"&&Xa=="1"&&qn[Wa+1]=="1"?qn[Wa]="1":Ao==","&&Xa==qn[Wa+1]&&(Xa=="1"||Xa=="n")&&(qn[Wa]=Xa),Xa=Ao}for(var fs=0;fs<cr;++fs){var rl=qn[fs];if(rl==",")qn[fs]="N";else if(rl=="%"){var Os=void 0;for(Os=fs+1;Os<cr&&qn[Os]=="%";++Os);for(var Sl=fs&&qn[fs-1]=="!"||Os<cr&&qn[Os]=="1"?"1":"N",Cl=fs;Cl<Os;++Cl)qn[Cl]=Sl;fs=Os-1}}for(var Ys=0,El=An;Ys<cr;++Ys){var co=qn[Ys];El=="L"&&co=="1"?qn[Ys]="L":Je.test(co)&&(El=co)}for(var Ns=0;Ns<cr;++Ns)if(Ne.test(qn[Ns])){var Ds=void 0;for(Ds=Ns+1;Ds<cr&&Ne.test(qn[Ds]);++Ds);for(var Rs=(Ns?qn[Ns-1]:An)=="L",Ws=(Ds<cr?qn[Ds]:An)=="L",Uc=Rs==Ws?Rs?"L":"R":An,kl=Ns;kl<Ds;++kl)qn[kl]=Uc;Ns=Ds-1}for(var cl=[],Uo,$s=0;$s<cr;)if(ft.test(qn[$s])){var Yu=$s;for(++$s;$s<cr&&ft.test(qn[$s]);++$s);cl.push(new Mt(0,Yu,$s))}else{var pc=$s,kc=cl.length,ec=fn=="rtl"?1:0;for(++$s;$s<cr&&qn[$s]!="L";++$s);for(var Qs=pc;Qs<$s;)if(wt.test(qn[Qs])){pc<Qs&&(cl.splice(kc,0,new Mt(1,pc,Qs)),kc+=ec);var Vc=Qs;for(++Qs;Qs<$s&&wt.test(qn[Qs]);++Qs);cl.splice(kc,0,new Mt(2,Vc,Qs)),kc+=ec,pc=Qs}else++Qs;pc<$s&&cl.splice(kc,0,new Mt(1,pc,$s))}return fn=="ltr"&&(cl[0].level==1&&(Uo=Rt.match(/^\s+/))&&(cl[0].from=Uo[0].length,cl.unshift(new Mt(0,0,Uo[0].length))),Et(cl).level==1&&(Uo=Rt.match(/\s+$/))&&(Et(cl).to-=Uo[0].length,cl.push(new Mt(0,cr-Uo[0].length,cr)))),fn=="rtl"?cl.reverse():cl}}();function bn(E,ee){var Ee=E.order;return Ee==null&&(Ee=E.order=Wt(E.text,ee)),Ee}var Ft=[],Qt=function(E,ee,Ee){if(E.addEventListener)E.addEventListener(ee,Ee,!1);else if(E.attachEvent)E.attachEvent("on"+ee,Ee);else{var we=E._handlers||(E._handlers={});we[ee]=(we[ee]||Ft).concat(Ee)}};function Vt(E,ee){return E._handlers&&E._handlers[ee]||Ft}function yn(E,ee,Ee){if(E.removeEventListener)E.removeEventListener(ee,Ee,!1);else if(E.detachEvent)E.detachEvent("on"+ee,Ee);else{var we=E._handlers,Ne=we&&we[ee];if(Ne){var Je=lt(Ne,Ee);Je>-1&&(we[ee]=Ne.slice(0,Je).concat(Ne.slice(Je+1)))}}}function Pt(E,ee){var Ee=Vt(E,ee);if(Ee.length)for(var we=Array.prototype.slice.call(arguments,2),Ne=0;Ne<Ee.length;++Ne)Ee[Ne].apply(null,we)}function zt(E,ee,Ee){return typeof ee=="string"&&(ee={type:ee,preventDefault:function(){this.defaultPrevented=!0}}),Pt(E,Ee||ee.type,E,ee),Tr(ee)||ee.codemirrorIgnore}function an(E){var ee=E._handlers&&E._handlers.cursorActivity;if(ee)for(var Ee=E.curOp.cursorActivityHandlers||(E.curOp.cursorActivityHandlers=[]),we=0;we<ee.length;++we)lt(Ee,ee[we])==-1&&Ee.push(ee[we])}function gn(E,ee){return Vt(E,ee).length>0}function Tn(E){E.prototype.on=function(ee,Ee){Qt(this,ee,Ee)},E.prototype.off=function(ee,Ee){yn(this,ee,Ee)}}function Gn(E){E.preventDefault?E.preventDefault():E.returnValue=!1}function fr(E){E.stopPropagation?E.stopPropagation():E.cancelBubble=!0}function Tr(E){return E.defaultPrevented!=null?E.defaultPrevented:E.returnValue==!1}function Wr(E){Gn(E),fr(E)}function ti(E){return E.target||E.srcElement}function Dr(E){var ee=E.which;return ee==null&&(E.button&1?ee=1:E.button&2?ee=3:E.button&4&&(ee=2)),le&&E.ctrlKey&&ee==1&&(ee=3),ee}var ri=function(){if(me&&ie<9)return!1;var E=Le("div");return"draggable"in E||"dragDrop"in E}(),Mi;function $r(E){if(Mi==null){var ee=Le("span","\u200B");Ie(E,Le("span",[ee,document.createTextNode("x")])),E.firstChild.offsetHeight!=0&&(Mi=ee.offsetWidth<=1&&ee.offsetHeight>2&&!(me&&ie<8))}var Ee=Mi?Le("span","\u200B"):Le("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return Ee.setAttribute("cm-text",""),Ee}var Xi;function Ii(E){if(Xi!=null)return Xi;var ee=Ie(E,document.createTextNode("A\u062EA")),Ee=Be(ee,0,1).getBoundingClientRect(),we=Be(ee,1,2).getBoundingClientRect();return ke(E),!Ee||Ee.left==Ee.right?!1:Xi=we.right-Ee.right<3}var nn=`
b`.split(/\n/).length!=3?function(E){for(var ee=0,Ee=[],we=E.length;ee<=we;){var Ne=E.indexOf(`
`,ee);Ne==-1&&(Ne=E.length);var Je=E.slice(ee,E.charAt(Ne-1)=="\r"?Ne-1:Ne),ft=Je.indexOf("\r");ft!=-1?(Ee.push(Je.slice(0,ft)),ee+=ft+1):(Ee.push(Je),ee=Ne+1)}return Ee}:function(E){return E.split(/\r\n?|\n/)},Jn=window.getSelection?function(E){try{return E.selectionStart!=E.selectionEnd}catch(ee){return!1}}:function(E){var ee;try{ee=E.ownerDocument.selection.createRange()}catch(Ee){}return!ee||ee.parentElement()!=E?!1:ee.compareEndPoints("StartToEnd",ee)!=0},hr=function(){var E=Le("div");return"oncopy"in E?!0:(E.setAttribute("oncopy","return;"),typeof E.oncopy=="function")}(),Kn=null;function Hr(E){if(Kn!=null)return Kn;var ee=Ie(E,Le("span","x")),Ee=ee.getBoundingClientRect(),we=Be(ee,0,1).getBoundingClientRect();return Kn=Math.abs(Ee.left-we.left)>1}var Pr={},Or={};function Mr(E,ee){arguments.length>2&&(ee.dependencies=Array.prototype.slice.call(arguments,2)),Pr[E]=ee}function Ut(E,ee){Or[E]=ee}function $t(E){if(typeof E=="string"&&Or.hasOwnProperty(E))E=Or[E];else if(E&&typeof E.name=="string"&&Or.hasOwnProperty(E.name)){var ee=Or[E.name];typeof ee=="string"&&(ee={name:ee}),E=de(ee,E),E.name=ee.name}else{if(typeof E=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(E))return $t("application/xml");if(typeof E=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(E))return $t("application/json")}return typeof E=="string"?{name:E}:E||{name:"null"}}function qt(E,ee){ee=$t(ee);var Ee=Pr[ee.name];if(!Ee)return qt(E,"text/plain");var we=Ee(E,ee);if(Nn.hasOwnProperty(ee.name)){var Ne=Nn[ee.name];for(var Je in Ne)Ne.hasOwnProperty(Je)&&(we.hasOwnProperty(Je)&&(we["_"+Je]=we[Je]),we[Je]=Ne[Je])}if(we.name=ee.name,ee.helperType&&(we.helperType=ee.helperType),ee.modeProps)for(var ft in ee.modeProps)we[ft]=ee.modeProps[ft];return we}var Nn={};function jt(E,ee){var Ee=Nn.hasOwnProperty(E)?Nn[E]:Nn[E]={};pt(ee,Ee)}function on(E,ee){if(ee===!0)return ee;if(E.copyState)return E.copyState(ee);var Ee={};for(var we in ee){var Ne=ee[we];Ne instanceof Array&&(Ne=Ne.concat([])),Ee[we]=Ne}return Ee}function kn(E,ee){for(var Ee;E.innerMode&&(Ee=E.innerMode(ee),!(!Ee||Ee.mode==E));)ee=Ee.state,E=Ee.mode;return Ee||{mode:E,state:ee}}function pn(E,ee,Ee){return E.startState?E.startState(ee,Ee):!0}var Bn=function(E,ee,Ee){this.pos=this.start=0,this.string=E,this.tabSize=ee||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=Ee};Bn.prototype.eol=function(){return this.pos>=this.string.length},Bn.prototype.sol=function(){return this.pos==this.lineStart},Bn.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Bn.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Bn.prototype.eat=function(E){var ee=this.string.charAt(this.pos),Ee;if(typeof E=="string"?Ee=ee==E:Ee=ee&&(E.test?E.test(ee):E(ee)),Ee)return++this.pos,ee},Bn.prototype.eatWhile=function(E){for(var ee=this.pos;this.eat(E););return this.pos>ee},Bn.prototype.eatSpace=function(){for(var E=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>E},Bn.prototype.skipToEnd=function(){this.pos=this.string.length},Bn.prototype.skipTo=function(E){var ee=this.string.indexOf(E,this.pos);if(ee>-1)return this.pos=ee,!0},Bn.prototype.backUp=function(E){this.pos-=E},Bn.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Xe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Xe(this.string,this.lineStart,this.tabSize):0)},Bn.prototype.indentation=function(){return Xe(this.string,null,this.tabSize)-(this.lineStart?Xe(this.string,this.lineStart,this.tabSize):0)},Bn.prototype.match=function(E,ee,Ee){if(typeof E=="string"){var we=function(ft){return Ee?ft.toLowerCase():ft},Ne=this.string.substr(this.pos,E.length);if(we(Ne)==we(E))return ee!==!1&&(this.pos+=E.length),!0}else{var Je=this.string.slice(this.pos).match(E);return Je&&Je.index>0?null:(Je&&ee!==!1&&(this.pos+=Je[0].length),Je)}},Bn.prototype.current=function(){return this.string.slice(this.start,this.pos)},Bn.prototype.hideFirstChars=function(E,ee){this.lineStart+=E;try{return ee()}finally{this.lineStart-=E}},Bn.prototype.lookAhead=function(E){var ee=this.lineOracle;return ee&&ee.lookAhead(E)},Bn.prototype.baseToken=function(){var E=this.lineOracle;return E&&E.baseToken(this.pos)};function Rn(E,ee){if(ee-=E.first,ee<0||ee>=E.size)throw new Error("There is no line "+(ee+E.first)+" in the document.");for(var Ee=E;!Ee.lines;)for(var we=0;;++we){var Ne=Ee.children[we],Je=Ne.chunkSize();if(ee<Je){Ee=Ne;break}ee-=Je}return Ee.lines[ee]}function pr(E,ee,Ee){var we=[],Ne=ee.line;return E.iter(ee.line,Ee.line+1,function(Je){var ft=Je.text;Ne==Ee.line&&(ft=ft.slice(0,Ee.ch)),Ne==ee.line&&(ft=ft.slice(ee.ch)),we.push(ft),++Ne}),we}function ii(E,ee,Ee){var we=[];return E.iter(ee,Ee,function(Ne){we.push(Ne.text)}),we}function Lr(E,ee){var Ee=ee-E.height;if(Ee)for(var we=E;we;we=we.parent)we.height+=Ee}function Ir(E){if(E.parent==null)return null;for(var ee=E.parent,Ee=lt(ee.lines,E),we=ee.parent;we;ee=we,we=we.parent)for(var Ne=0;we.children[Ne]!=ee;++Ne)Ee+=we.children[Ne].chunkSize();return Ee+ee.first}function Ur(E,ee){var Ee=E.first;e:do{for(var we=0;we<E.children.length;++we){var Ne=E.children[we],Je=Ne.height;if(ee<Je){E=Ne;continue e}ee-=Je,Ee+=Ne.chunkSize()}return Ee}while(!E.lines);for(var ft=0;ft<E.lines.length;++ft){var wt=E.lines[ft],Mt=wt.height;if(ee<Mt)break;ee-=Mt}return Ee+ft}function Zr(E,ee){return ee>=E.first&&ee<E.first+E.size}function ln(E,ee){return String(E.lineNumberFormatter(ee+E.firstLineNumber))}function Jt(E,ee,Ee){if(Ee===void 0&&(Ee=null),!(this instanceof Jt))return new Jt(E,ee,Ee);this.line=E,this.ch=ee,this.sticky=Ee}function cn(E,ee){return E.line-ee.line||E.ch-ee.ch}function er(E,ee){return E.sticky==ee.sticky&&cn(E,ee)==0}function Ar(E){return Jt(E.line,E.ch)}function Fn(E,ee){return cn(E,ee)<0?ee:E}function lr(E,ee){return cn(E,ee)<0?E:ee}function ir(E,ee){return Math.max(E.first,Math.min(ee,E.first+E.size-1))}function wr(E,ee){if(ee.line<E.first)return Jt(E.first,0);var Ee=E.first+E.size-1;return ee.line>Ee?Jt(Ee,Rn(E,Ee).text.length):Vr(ee,Rn(E,ee.line).text.length)}function Vr(E,ee){var Ee=E.ch;return Ee==null||Ee>ee?Jt(E.line,ee):Ee<0?Jt(E.line,0):E}function Zn(E,ee){for(var Ee=[],we=0;we<ee.length;we++)Ee[we]=wr(E,ee[we]);return Ee}var _i=function(E,ee){this.state=E,this.lookAhead=ee},gi=function(E,ee,Ee,we){this.state=ee,this.doc=E,this.line=Ee,this.maxLookAhead=we||0,this.baseTokens=null,this.baseTokenPos=1};gi.prototype.lookAhead=function(E){var ee=this.doc.getLine(this.line+E);return ee!=null&&E>this.maxLookAhead&&(this.maxLookAhead=E),ee},gi.prototype.baseToken=function(E){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=E;)this.baseTokenPos+=2;var ee=this.baseTokens[this.baseTokenPos+1];return{type:ee&&ee.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-E}},gi.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},gi.fromSaved=function(E,ee,Ee){return ee instanceof _i?new gi(E,on(E.mode,ee.state),Ee,ee.lookAhead):new gi(E,on(E.mode,ee),Ee)},gi.prototype.save=function(E){var ee=E!==!1?on(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new _i(ee,this.maxLookAhead):ee};function ma(E,ee,Ee,we){var Ne=[E.state.modeGen],Je={};ca(E,ee.text,E.doc.mode,Ee,function(Rt,fn){return Ne.push(Rt,fn)},Je,we);for(var ft=Ee.state,wt=function(Rt){Ee.baseTokens=Ne;var fn=E.state.overlays[Rt],An=1,cr=0;Ee.state=!0,ca(E,ee.text,fn.mode,Ee,function(qn,Kr){for(var ni=An;cr<qn;){var Ei=Ne[An];Ei>qn&&Ne.splice(An,1,qn,Ne[An+1],Ei),An+=2,cr=Math.min(qn,Ei)}if(Kr)if(fn.opaque)Ne.splice(ni,An-ni,qn,"overlay "+Kr),An=ni+2;else for(;ni<An;ni+=2){var zi=Ne[ni+1];Ne[ni+1]=(zi?zi+" ":"")+"overlay "+Kr}},Je),Ee.state=ft,Ee.baseTokens=null,Ee.baseTokenPos=1},Mt=0;Mt<E.state.overlays.length;++Mt)wt(Mt);return{styles:Ne,classes:Je.bgClass||Je.textClass?Je:null}}function ga(E,ee,Ee){if(!ee.styles||ee.styles[0]!=E.state.modeGen){var we=la(E,Ir(ee)),Ne=ee.text.length>E.options.maxHighlightLength&&on(E.doc.mode,we.state),Je=ma(E,ee,we);Ne&&(we.state=Ne),ee.stateAfter=we.save(!Ne),ee.styles=Je.styles,Je.classes?ee.styleClasses=Je.classes:ee.styleClasses&&(ee.styleClasses=null),Ee===E.doc.highlightFrontier&&(E.doc.modeFrontier=Math.max(E.doc.modeFrontier,++E.doc.highlightFrontier))}return ee.styles}function la(E,ee,Ee){var we=E.doc,Ne=E.display;if(!we.mode.startState)return new gi(we,!0,ee);var Je=Na(E,ee,Ee),ft=Je>we.first&&Rn(we,Je-1).stateAfter,wt=ft?gi.fromSaved(we,ft,Je):new gi(we,pn(we.mode),Je);return we.iter(Je,ee,function(Mt){_a(E,Mt.text,wt);var Rt=wt.line;Mt.stateAfter=Rt==ee-1||Rt%5==0||Rt>=Ne.viewFrom&&Rt<Ne.viewTo?wt.save():null,wt.nextLine()}),Ee&&(we.modeFrontier=wt.line),wt}function _a(E,ee,Ee,we){var Ne=E.doc.mode,Je=new Bn(ee,E.options.tabSize,Ee);for(Je.start=Je.pos=we||0,ee==""&&$i(Ne,Ee.state);!Je.eol();)Ui(Ne,Je,Ee.state),Je.start=Je.pos}function $i(E,ee){if(E.blankLine)return E.blankLine(ee);if(E.innerMode){var Ee=kn(E,ee);if(Ee.mode.blankLine)return Ee.mode.blankLine(Ee.state)}}function Ui(E,ee,Ee,we){for(var Ne=0;Ne<10;Ne++){we&&(we[0]=kn(E,Ee).mode);var Je=E.token(ee,Ee);if(ee.pos>ee.start)return Je}throw new Error("Mode "+E.name+" failed to advance stream.")}var ya=function(E,ee,Ee){this.start=E.start,this.end=E.pos,this.string=E.current(),this.type=ee||null,this.state=Ee};function Ka(E,ee,Ee,we){var Ne=E.doc,Je=Ne.mode,ft;ee=wr(Ne,ee);var wt=Rn(Ne,ee.line),Mt=la(E,ee.line,Ee),Rt=new Bn(wt.text,E.options.tabSize,Mt),fn;for(we&&(fn=[]);(we||Rt.pos<ee.ch)&&!Rt.eol();)Rt.start=Rt.pos,ft=Ui(Je,Rt,Mt.state),we&&fn.push(new ya(Rt,ft,on(Ne.mode,Mt.state)));return we?fn:new ya(Rt,ft,Mt.state)}function Ri(E,ee){if(E)for(;;){var Ee=E.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!Ee)break;E=E.slice(0,Ee.index)+E.slice(Ee.index+Ee[0].length);var we=Ee[1]?"bgClass":"textClass";ee[we]==null?ee[we]=Ee[2]:new RegExp("(?:^|\\s)"+Ee[2]+"(?:$|\\s)").test(ee[we])||(ee[we]+=" "+Ee[2])}return E}function ca(E,ee,Ee,we,Ne,Je,ft){var wt=Ee.flattenSpans;wt==null&&(wt=E.options.flattenSpans);var Mt=0,Rt=null,fn=new Bn(ee,E.options.tabSize,we),An,cr=E.options.addModeClass&&[null];for(ee==""&&Ri($i(Ee,we.state),Je);!fn.eol();){if(fn.pos>E.options.maxHighlightLength?(wt=!1,ft&&_a(E,ee,we,fn.pos),fn.pos=ee.length,An=null):An=Ri(Ui(Ee,fn,we.state,cr),Je),cr){var qn=cr[0].name;qn&&(An="m-"+(An?qn+" "+An:qn))}if(!wt||Rt!=An){for(;Mt<fn.start;)Mt=Math.min(fn.start,Mt+5e3),Ne(Mt,Rt);Rt=An}fn.start=fn.pos}for(;Mt<fn.pos;){var Kr=Math.min(fn.pos,Mt+5e3);Ne(Kr,Rt),Mt=Kr}}function Na(E,ee,Ee){for(var we,Ne,Je=E.doc,ft=Ee?-1:ee-(E.doc.mode.innerMode?1e3:100),wt=ee;wt>ft;--wt){if(wt<=Je.first)return Je.first;var Mt=Rn(Je,wt-1),Rt=Mt.stateAfter;if(Rt&&(!Ee||wt+(Rt instanceof _i?Rt.lookAhead:0)<=Je.modeFrontier))return wt;var fn=Xe(Mt.text,null,E.options.tabSize);(Ne==null||we>fn)&&(Ne=wt-1,we=fn)}return Ne}function ro(E,ee){if(E.modeFrontier=Math.min(E.modeFrontier,ee),!(E.highlightFrontier<ee-10)){for(var Ee=E.first,we=ee-1;we>Ee;we--){var Ne=Rn(E,we).stateAfter;if(Ne&&(!(Ne instanceof _i)||we+Ne.lookAhead<ee)){Ee=we+1;break}}E.highlightFrontier=Math.min(E.highlightFrontier,Ee)}}var Ya=!1,Wi=!1;function mn(){Ya=!0}function sn(){Wi=!0}function jn(E,ee,Ee){this.marker=E,this.from=ee,this.to=Ee}function ar(E,ee){if(E)for(var Ee=0;Ee<E.length;++Ee){var we=E[Ee];if(we.marker==ee)return we}}function gr(E,ee){for(var Ee,we=0;we<E.length;++we)E[we]!=ee&&(Ee||(Ee=[])).push(E[we]);return Ee}function Xr(E,ee){E.markedSpans=E.markedSpans?E.markedSpans.concat([ee]):[ee],ee.marker.attachLine(E)}function ai(E,ee,Ee){var we;if(E)for(var Ne=0;Ne<E.length;++Ne){var Je=E[Ne],ft=Je.marker,wt=Je.from==null||(ft.inclusiveLeft?Je.from<=ee:Je.from<ee);if(wt||Je.from==ee&&ft.type=="bookmark"&&(!Ee||!Je.marker.insertLeft)){var Mt=Je.to==null||(ft.inclusiveRight?Je.to>=ee:Je.to>ee);(we||(we=[])).push(new jn(ft,Je.from,Mt?null:Je.to))}}return we}function pi(E,ee,Ee){var we;if(E)for(var Ne=0;Ne<E.length;++Ne){var Je=E[Ne],ft=Je.marker,wt=Je.to==null||(ft.inclusiveRight?Je.to>=ee:Je.to>ee);if(wt||Je.from==ee&&ft.type=="bookmark"&&(!Ee||Je.marker.insertLeft)){var Mt=Je.from==null||(ft.inclusiveLeft?Je.from<=ee:Je.from<ee);(we||(we=[])).push(new jn(ft,Mt?null:Je.from-ee,Je.to==null?null:Je.to-ee))}}return we}function Li(E,ee){if(ee.full)return null;var Ee=Zr(E,ee.from.line)&&Rn(E,ee.from.line).markedSpans,we=Zr(E,ee.to.line)&&Rn(E,ee.to.line).markedSpans;if(!Ee&&!we)return null;var Ne=ee.from.ch,Je=ee.to.ch,ft=cn(ee.from,ee.to)==0,wt=ai(Ee,Ne,ft),Mt=pi(we,Je,ft),Rt=ee.text.length==1,fn=Et(ee.text).length+(Rt?Ne:0);if(wt)for(var An=0;An<wt.length;++An){var cr=wt[An];if(cr.to==null){var qn=ar(Mt,cr.marker);qn?Rt&&(cr.to=qn.to==null?null:qn.to+fn):cr.to=Ne}}if(Mt)for(var Kr=0;Kr<Mt.length;++Kr){var ni=Mt[Kr];if(ni.to!=null&&(ni.to+=fn),ni.from==null){var Ei=ar(wt,ni.marker);Ei||(ni.from=fn,Rt&&(wt||(wt=[])).push(ni))}else ni.from+=fn,Rt&&(wt||(wt=[])).push(ni)}wt&&(wt=yi(wt)),Mt&&Mt!=wt&&(Mt=yi(Mt));var zi=[wt];if(!Rt){var Ji=ee.text.length-2,Bi;if(Ji>0&&wt)for(var sa=0;sa<wt.length;++sa)wt[sa].to==null&&(Bi||(Bi=[])).push(new jn(wt[sa].marker,null,null));for(var Wa=0;Wa<Ji;++Wa)zi.push(Bi);zi.push(Mt)}return zi}function yi(E){for(var ee=0;ee<E.length;++ee){var Ee=E[ee];Ee.from!=null&&Ee.from==Ee.to&&Ee.marker.clearWhenEmpty!==!1&&E.splice(ee--,1)}return E.length?E:null}function ji(E,ee,Ee){var we=null;if(E.iter(ee.line,Ee.line+1,function(qn){if(qn.markedSpans)for(var Kr=0;Kr<qn.markedSpans.length;++Kr){var ni=qn.markedSpans[Kr].marker;ni.readOnly&&(!we||lt(we,ni)==-1)&&(we||(we=[])).push(ni)}}),!we)return null;for(var Ne=[{from:ee,to:Ee}],Je=0;Je<we.length;++Je)for(var ft=we[Je],wt=ft.find(0),Mt=0;Mt<Ne.length;++Mt){var Rt=Ne[Mt];if(!(cn(Rt.to,wt.from)<0||cn(Rt.from,wt.to)>0)){var fn=[Mt,1],An=cn(Rt.from,wt.from),cr=cn(Rt.to,wt.to);(An<0||!ft.inclusiveLeft&&!An)&&fn.push({from:Rt.from,to:wt.from}),(cr>0||!ft.inclusiveRight&&!cr)&&fn.push({from:wt.to,to:Rt.to}),Ne.splice.apply(Ne,fn),Mt+=fn.length-3}}return Ne}function qi(E){var ee=E.markedSpans;if(ee){for(var Ee=0;Ee<ee.length;++Ee)ee[Ee].marker.detachLine(E);E.markedSpans=null}}function oi(E,ee){if(ee){for(var Ee=0;Ee<ee.length;++Ee)ee[Ee].marker.attachLine(E);E.markedSpans=ee}}function Sn(E){return E.inclusiveLeft?-1:0}function Ln(E){return E.inclusiveRight?1:0}function Yn(E,ee){var Ee=E.lines.length-ee.lines.length;if(Ee!=0)return Ee;var we=E.find(),Ne=ee.find(),Je=cn(we.from,Ne.from)||Sn(E)-Sn(ee);if(Je)return-Je;var ft=cn(we.to,Ne.to)||Ln(E)-Ln(ee);return ft||ee.id-E.id}function qe(E,ee){var Ee=Wi&&E.markedSpans,we;if(Ee)for(var Ne=void 0,Je=0;Je<Ee.length;++Je)Ne=Ee[Je],Ne.marker.collapsed&&(ee?Ne.from:Ne.to)==null&&(!we||Yn(we,Ne.marker)<0)&&(we=Ne.marker);return we}function yt(E){return qe(E,!0)}function St(E){return qe(E,!1)}function Dt(E,ee){var Ee=Wi&&E.markedSpans,we;if(Ee)for(var Ne=0;Ne<Ee.length;++Ne){var Je=Ee[Ne];Je.marker.collapsed&&(Je.from==null||Je.from<ee)&&(Je.to==null||Je.to>ee)&&(!we||Yn(we,Je.marker)<0)&&(we=Je.marker)}return we}function Tt(E,ee,Ee,we,Ne){var Je=Rn(E,ee),ft=Wi&&Je.markedSpans;if(ft)for(var wt=0;wt<ft.length;++wt){var Mt=ft[wt];if(Mt.marker.collapsed){var Rt=Mt.marker.find(0),fn=cn(Rt.from,Ee)||Sn(Mt.marker)-Sn(Ne),An=cn(Rt.to,we)||Ln(Mt.marker)-Ln(Ne);if(!(fn>=0&&An<=0||fn<=0&&An>=0)&&(fn<=0&&(Mt.marker.inclusiveRight&&Ne.inclusiveLeft?cn(Rt.to,Ee)>=0:cn(Rt.to,Ee)>0)||fn>=0&&(Mt.marker.inclusiveRight&&Ne.inclusiveLeft?cn(Rt.from,we)<=0:cn(Rt.from,we)<0)))return!0}}}function Nt(E){for(var ee;ee=yt(E);)E=ee.find(-1,!0).line;return E}function _t(E){for(var ee;ee=St(E);)E=ee.find(1,!0).line;return E}function rn(E){for(var ee,Ee;ee=St(E);)E=ee.find(1,!0).line,(Ee||(Ee=[])).push(E);return Ee}function vn(E,ee){var Ee=Rn(E,ee),we=Nt(Ee);return Ee==we?ee:Ir(we)}function Vn(E,ee){if(ee>E.lastLine())return ee;var Ee=Rn(E,ee),we;if(!$n(E,Ee))return ee;for(;we=St(Ee);)Ee=we.find(1,!0).line;return Ir(Ee)+1}function $n(E,ee){var Ee=Wi&&ee.markedSpans;if(Ee){for(var we=void 0,Ne=0;Ne<Ee.length;++Ne)if(we=Ee[Ne],!!we.marker.collapsed){if(we.from==null)return!0;if(!we.marker.widgetNode&&we.from==0&&we.marker.inclusiveLeft&&Xn(E,ee,we))return!0}}}function Xn(E,ee,Ee){if(Ee.to==null){var we=Ee.marker.find(1,!0);return Xn(E,we.line,ar(we.line.markedSpans,Ee.marker))}if(Ee.marker.inclusiveRight&&Ee.to==ee.text.length)return!0;for(var Ne=void 0,Je=0;Je<ee.markedSpans.length;++Je)if(Ne=ee.markedSpans[Je],Ne.marker.collapsed&&!Ne.marker.widgetNode&&Ne.from==Ee.to&&(Ne.to==null||Ne.to!=Ee.from)&&(Ne.marker.inclusiveLeft||Ee.marker.inclusiveRight)&&Xn(E,ee,Ne))return!0}function On(E){E=Nt(E);for(var ee=0,Ee=E.parent,we=0;we<Ee.lines.length;++we){var Ne=Ee.lines[we];if(Ne==E)break;ee+=Ne.height}for(var Je=Ee.parent;Je;Ee=Je,Je=Ee.parent)for(var ft=0;ft<Je.children.length;++ft){var wt=Je.children[ft];if(wt==Ee)break;ee+=wt.height}return ee}function In(E){if(E.height==0)return 0;for(var ee=E.text.length,Ee,we=E;Ee=yt(we);){var Ne=Ee.find(0,!0);we=Ne.from.line,ee+=Ne.from.ch-Ne.to.ch}for(we=E;Ee=St(we);){var Je=Ee.find(0,!0);ee-=we.text.length-Je.from.ch,we=Je.to.line,ee+=we.text.length-Je.to.ch}return ee}function En(E){var ee=E.display,Ee=E.doc;ee.maxLine=Rn(Ee,Ee.first),ee.maxLineLength=In(ee.maxLine),ee.maxLineChanged=!0,Ee.iter(function(we){var Ne=In(we);Ne>ee.maxLineLength&&(ee.maxLineLength=Ne,ee.maxLine=we)})}var Hn=function(E,ee,Ee){this.text=E,oi(this,ee),this.height=Ee?Ee(this):1};Hn.prototype.lineNo=function(){return Ir(this)},Tn(Hn);function mr(E,ee,Ee,we){E.text=ee,E.stateAfter&&(E.stateAfter=null),E.styles&&(E.styles=null),E.order!=null&&(E.order=null),qi(E),oi(E,Ee);var Ne=we?we(E):1;Ne!=E.height&&Lr(E,Ne)}function Qn(E){E.parent=null,qi(E)}var or={},ur={};function yr(E,ee){if(!E||/^\s*$/.test(E))return null;var Ee=ee.addModeClass?ur:or;return Ee[E]||(Ee[E]=E.replace(/\S+/g,"cm-$&"))}function Sr(E,ee){var Ee=De("span",null,null,te?"padding-right: .1px":null),we={pre:De("pre",[Ee],"CodeMirror-line"),content:Ee,col:0,pos:0,cm:E,trailingSpace:!1,splitSpaces:E.getOption("lineWrapping")};ee.measure={};for(var Ne=0;Ne<=(ee.rest?ee.rest.length:0);Ne++){var Je=Ne?ee.rest[Ne-1]:ee.line,ft=void 0;we.pos=0,we.addToken=It,Ii(E.display.measure)&&(ft=bn(Je,E.doc.direction))&&(we.addToken=Xt(we.addToken,ft)),we.map=[];var wt=ee!=E.display.externalMeasured&&Ir(Je);zn(Je,we,ga(E,Je,wt)),Je.styleClasses&&(Je.styleClasses.bgClass&&(we.bgClass=Ze(Je.styleClasses.bgClass,we.bgClass||"")),Je.styleClasses.textClass&&(we.textClass=Ze(Je.styleClasses.textClass,we.textClass||""))),we.map.length==0&&we.map.push(0,0,we.content.appendChild($r(E.display.measure))),Ne==0?(ee.measure.map=we.map,ee.measure.cache={}):((ee.measure.maps||(ee.measure.maps=[])).push(we.map),(ee.measure.caches||(ee.measure.caches=[])).push({}))}if(te){var Mt=we.content.lastChild;(/\bcm-tab\b/.test(Mt.className)||Mt.querySelector&&Mt.querySelector(".cm-tab"))&&(we.content.className="cm-tab-wrap-hack")}return Pt(E,"renderLine",E,ee.line,we.pre),we.pre.className&&(we.textClass=Ze(we.pre.className,we.textClass||"")),we}function kt(E){var ee=Le("span","\u2022","cm-invalidchar");return ee.title="\\u"+E.charCodeAt(0).toString(16),ee.setAttribute("aria-label",ee.title),ee}function It(E,ee,Ee,we,Ne,Je,ft){if(ee){var wt=E.splitSpaces?en(ee,E.trailingSpace):ee,Mt=E.cm.state.specialChars,Rt=!1,fn;if(!Mt.test(ee))E.col+=ee.length,fn=document.createTextNode(wt),E.map.push(E.pos,E.pos+ee.length,fn),me&&ie<9&&(Rt=!0),E.pos+=ee.length;else{fn=document.createDocumentFragment();for(var An=0;;){Mt.lastIndex=An;var cr=Mt.exec(ee),qn=cr?cr.index-An:ee.length-An;if(qn){var Kr=document.createTextNode(wt.slice(An,An+qn));me&&ie<9?fn.appendChild(Le("span",[Kr])):fn.appendChild(Kr),E.map.push(E.pos,E.pos+qn,Kr),E.col+=qn,E.pos+=qn}if(!cr)break;An+=qn+1;var ni=void 0;if(cr[0]==" "){var Ei=E.cm.options.tabSize,zi=Ei-E.col%Ei;ni=fn.appendChild(Le("span",At(zi),"cm-tab")),ni.setAttribute("role","presentation"),ni.setAttribute("cm-text"," "),E.col+=zi}else cr[0]=="\r"||cr[0]==`
`?(ni=fn.appendChild(Le("span",cr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ni.setAttribute("cm-text",cr[0]),E.col+=1):(ni=E.cm.options.specialCharPlaceholder(cr[0]),ni.setAttribute("cm-text",cr[0]),me&&ie<9?fn.appendChild(Le("span",[ni])):fn.appendChild(ni),E.col+=1);E.map.push(E.pos,E.pos+1,ni),E.pos++}}if(E.trailingSpace=wt.charCodeAt(ee.length-1)==32,Ee||we||Ne||Rt||Je||ft){var Ji=Ee||"";we&&(Ji+=we),Ne&&(Ji+=Ne);var Bi=Le("span",[fn],Ji,Je);if(ft)for(var sa in ft)ft.hasOwnProperty(sa)&&sa!="style"&&sa!="class"&&Bi.setAttribute(sa,ft[sa]);return E.content.appendChild(Bi)}E.content.appendChild(fn)}}function en(E,ee){if(E.length>1&&!/ /.test(E))return E;for(var Ee=ee,we="",Ne=0;Ne<E.length;Ne++){var Je=E.charAt(Ne);Je==" "&&Ee&&(Ne==E.length-1||E.charCodeAt(Ne+1)==32)&&(Je="\xA0"),we+=Je,Ee=Je==" "}return we}function Xt(E,ee){return function(Ee,we,Ne,Je,ft,wt,Mt){Ne=Ne?Ne+" cm-force-border":"cm-force-border";for(var Rt=Ee.pos,fn=Rt+we.length;;){for(var An=void 0,cr=0;cr<ee.length&&(An=ee[cr],!(An.to>Rt&&An.from<=Rt));cr++);if(An.to>=fn)return E(Ee,we,Ne,Je,ft,wt,Mt);E(Ee,we.slice(0,An.to-Rt),Ne,Je,null,wt,Mt),Je=null,we=we.slice(An.to-Rt),Rt=An.to}}}function wn(E,ee,Ee,we){var Ne=!we&&Ee.widgetNode;Ne&&E.map.push(E.pos,E.pos+ee,Ne),!we&&E.cm.display.input.needsContentAttribute&&(Ne||(Ne=E.content.appendChild(document.createElement("span"))),Ne.setAttribute("cm-marker",Ee.id)),Ne&&(E.cm.display.input.setUneditable(Ne),E.content.appendChild(Ne)),E.pos+=ee,E.trailingSpace=!1}function zn(E,ee,Ee){var we=E.markedSpans,Ne=E.text,Je=0;if(!we){for(var ft=1;ft<Ee.length;ft+=2)ee.addToken(ee,Ne.slice(Je,Je=Ee[ft]),yr(Ee[ft+1],ee.cm.options));return}for(var wt=Ne.length,Mt=0,Rt=1,fn="",An,cr,qn=0,Kr,ni,Ei,zi,Ji;;){if(qn==Mt){Kr=ni=Ei=cr="",Ji=null,zi=null,qn=1/0;for(var Bi=[],sa=void 0,Wa=0;Wa<we.length;++Wa){var Xa=we[Wa],Ao=Xa.marker;if(Ao.type=="bookmark"&&Xa.from==Mt&&Ao.widgetNode)Bi.push(Ao);else if(Xa.from<=Mt&&(Xa.to==null||Xa.to>Mt||Ao.collapsed&&Xa.to==Mt&&Xa.from==Mt)){if(Xa.to!=null&&Xa.to!=Mt&&qn>Xa.to&&(qn=Xa.to,ni=""),Ao.className&&(Kr+=" "+Ao.className),Ao.css&&(cr=(cr?cr+";":"")+Ao.css),Ao.startStyle&&Xa.from==Mt&&(Ei+=" "+Ao.startStyle),Ao.endStyle&&Xa.to==qn&&(sa||(sa=[])).push(Ao.endStyle,Xa.to),Ao.title&&((Ji||(Ji={})).title=Ao.title),Ao.attributes)for(var fs in Ao.attributes)(Ji||(Ji={}))[fs]=Ao.attributes[fs];Ao.collapsed&&(!zi||Yn(zi.marker,Ao)<0)&&(zi=Xa)}else Xa.from>Mt&&qn>Xa.from&&(qn=Xa.from)}if(sa)for(var rl=0;rl<sa.length;rl+=2)sa[rl+1]==qn&&(ni+=" "+sa[rl]);if(!zi||zi.from==Mt)for(var Os=0;Os<Bi.length;++Os)wn(ee,0,Bi[Os]);if(zi&&(zi.from||0)==Mt){if(wn(ee,(zi.to==null?wt+1:zi.to)-Mt,zi.marker,zi.from==null),zi.to==null)return;zi.to==Mt&&(zi=!1)}}if(Mt>=wt)break;for(var Sl=Math.min(wt,qn);;){if(fn){var Cl=Mt+fn.length;if(!zi){var Ys=Cl>Sl?fn.slice(0,Sl-Mt):fn;ee.addToken(ee,Ys,An?An+Kr:Kr,Ei,Mt+Ys.length==qn?ni:"",cr,Ji)}if(Cl>=Sl){fn=fn.slice(Sl-Mt),Mt=Sl;break}Mt=Cl,Ei=""}fn=Ne.slice(Je,Je=Ee[Rt++]),An=yr(Ee[Rt++],ee.cm.options)}}}function _n(E,ee,Ee){this.line=ee,this.rest=rn(ee),this.size=this.rest?Ir(Et(this.rest))-Ee+1:1,this.node=this.text=null,this.hidden=$n(E,ee)}function dr(E,ee,Ee){for(var we=[],Ne,Je=ee;Je<Ee;Je=Ne){var ft=new _n(E.doc,Rn(E.doc,Je),Je);Ne=Je+ft.size,we.push(ft)}return we}var Zt=null;function Ht(E){Zt?Zt.ops.push(E):E.ownsGroup=Zt={ops:[E],delayedCallbacks:[]}}function Yt(E){var ee=E.delayedCallbacks,Ee=0;do{for(;Ee<ee.length;Ee++)ee[Ee].call(null);for(var we=0;we<E.ops.length;we++){var Ne=E.ops[we];if(Ne.cursorActivityHandlers)for(;Ne.cursorActivityCalled<Ne.cursorActivityHandlers.length;)Ne.cursorActivityHandlers[Ne.cursorActivityCalled++].call(null,Ne.cm)}}while(Ee<ee.length)}function Cn(E,ee){var Ee=E.ownsGroup;if(Ee)try{Yt(Ee)}finally{Zt=null,ee(Ee)}}var sr=null;function Wn(E,ee){var Ee=Vt(E,ee);if(Ee.length){var we=Array.prototype.slice.call(arguments,2),Ne;Zt?Ne=Zt.delayedCallbacks:sr?Ne=sr:(Ne=sr=[],setTimeout(Dn,0));for(var Je=function(wt){Ne.push(function(){return Ee[wt].apply(null,we)})},ft=0;ft<Ee.length;++ft)Je(ft)}}function Dn(){var E=sr;sr=null;for(var ee=0;ee<E.length;++ee)E[ee]()}function kr(E,ee,Ee,we){for(var Ne=0;Ne<ee.changes.length;Ne++){var Je=ee.changes[Ne];Je=="text"?tr(E,ee):Je=="gutter"?Qr(E,ee,Ee,we):Je=="class"?Nr(E,ee):Je=="widget"&&_r(E,ee,we)}ee.changes=null}function Er(E){return E.node==E.text&&(E.node=Le("div",null,null,"position: relative"),E.text.parentNode&&E.text.parentNode.replaceChild(E.node,E.text),E.node.appendChild(E.text),me&&ie<8&&(E.node.style.zIndex=2)),E.node}function Rr(E,ee){var Ee=ee.bgClass?ee.bgClass+" "+(ee.line.bgClass||""):ee.line.bgClass;if(Ee&&(Ee+=" CodeMirror-linebackground"),ee.background)Ee?ee.background.className=Ee:(ee.background.parentNode.removeChild(ee.background),ee.background=null);else if(Ee){var we=Er(ee);ee.background=we.insertBefore(Le("div",null,Ee),we.firstChild),E.display.input.setUneditable(ee.background)}}function br(E,ee){var Ee=E.display.externalMeasured;return Ee&&Ee.line==ee.line?(E.display.externalMeasured=null,ee.measure=Ee.measure,Ee.built):Sr(E,ee)}function tr(E,ee){var Ee=ee.text.className,we=br(E,ee);ee.text==ee.node&&(ee.node=we.pre),ee.text.parentNode.replaceChild(we.pre,ee.text),ee.text=we.pre,we.bgClass!=ee.bgClass||we.textClass!=ee.textClass?(ee.bgClass=we.bgClass,ee.textClass=we.textClass,Nr(E,ee)):Ee&&(ee.text.className=Ee)}function Nr(E,ee){Rr(E,ee),ee.line.wrapClass?Er(ee).className=ee.line.wrapClass:ee.node!=ee.text&&(ee.node.className="");var Ee=ee.textClass?ee.textClass+" "+(ee.line.textClass||""):ee.line.textClass;ee.text.className=Ee||""}function Qr(E,ee,Ee,we){if(ee.gutter&&(ee.node.removeChild(ee.gutter),ee.gutter=null),ee.gutterBackground&&(ee.node.removeChild(ee.gutterBackground),ee.gutterBackground=null),ee.line.gutterClass){var Ne=Er(ee);ee.gutterBackground=Le("div",null,"CodeMirror-gutter-background "+ee.line.gutterClass,"left: "+(E.options.fixedGutter?we.fixedPos:-we.gutterTotalWidth)+"px; width: "+we.gutterTotalWidth+"px"),E.display.input.setUneditable(ee.gutterBackground),Ne.insertBefore(ee.gutterBackground,ee.text)}var Je=ee.line.gutterMarkers;if(E.options.lineNumbers||Je){var ft=Er(ee),wt=ee.gutter=Le("div",null,"CodeMirror-gutter-wrapper","left: "+(E.options.fixedGutter?we.fixedPos:-we.gutterTotalWidth)+"px");if(E.display.input.setUneditable(wt),ft.insertBefore(wt,ee.text),ee.line.gutterClass&&(wt.className+=" "+ee.line.gutterClass),E.options.lineNumbers&&(!Je||!Je["CodeMirror-linenumbers"])&&(ee.lineNumber=wt.appendChild(Le("div",ln(E.options,Ee),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+we.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+E.display.lineNumInnerWidth+"px"))),Je)for(var Mt=0;Mt<E.display.gutterSpecs.length;++Mt){var Rt=E.display.gutterSpecs[Mt].className,fn=Je.hasOwnProperty(Rt)&&Je[Rt];fn&&wt.appendChild(Le("div",[fn],"CodeMirror-gutter-elt","left: "+we.gutterLeft[Rt]+"px; width: "+we.gutterWidth[Rt]+"px"))}}}function _r(E,ee,Ee){ee.alignable&&(ee.alignable=null);for(var we=be("CodeMirror-linewidget"),Ne=ee.node.firstChild,Je=void 0;Ne;Ne=Je)Je=Ne.nextSibling,we.test(Ne.className)&&ee.node.removeChild(Ne);jr(E,ee,Ee)}function Fr(E,ee,Ee,we){var Ne=br(E,ee);return ee.text=ee.node=Ne.pre,Ne.bgClass&&(ee.bgClass=Ne.bgClass),Ne.textClass&&(ee.textClass=Ne.textClass),Nr(E,ee),Qr(E,ee,Ee,we),jr(E,ee,we),ee.node}function jr(E,ee,Ee){if(Pi(E,ee.line,ee,Ee,!0),ee.rest)for(var we=0;we<ee.rest.length;we++)Pi(E,ee.rest[we],ee,Ee,!1)}function Pi(E,ee,Ee,we,Ne){if(ee.widgets)for(var Je=Er(Ee),ft=0,wt=ee.widgets;ft<wt.length;++ft){var Mt=wt[ft],Rt=Le("div",[Mt.node],"CodeMirror-linewidget"+(Mt.className?" "+Mt.className:""));Mt.handleMouseEvents||Rt.setAttribute("cm-ignore-events","true"),di(Mt,Rt,Ee,we),E.display.input.setUneditable(Rt),Ne&&Mt.above?Je.insertBefore(Rt,Ee.gutter||Ee.text):Je.appendChild(Rt),Wn(Mt,"redraw")}}function di(E,ee,Ee,we){if(E.noHScroll){(Ee.alignable||(Ee.alignable=[])).push(ee);var Ne=we.wrapperWidth;ee.style.left=we.fixedPos+"px",E.coverGutter||(Ne-=we.gutterTotalWidth,ee.style.paddingLeft=we.gutterTotalWidth+"px"),ee.style.width=Ne+"px"}E.coverGutter&&(ee.style.zIndex=5,ee.style.position="relative",E.noHScroll||(ee.style.marginLeft=-we.gutterTotalWidth+"px"))}function Ai(E){if(E.height!=null)return E.height;var ee=E.doc.cm;if(!ee)return 0;if(!Ue(document.body,E.node)){var Ee="position: relative;";E.coverGutter&&(Ee+="margin-left: -"+ee.display.gutters.offsetWidth+"px;"),E.noHScroll&&(Ee+="width: "+ee.display.wrapper.clientWidth+"px;"),Ie(ee.display.measure,Le("div",[E.node],null,Ee))}return E.height=E.node.parentNode.offsetHeight}function Ti(E,ee){for(var Ee=ti(ee);Ee!=E.wrapper;Ee=Ee.parentNode)if(!Ee||Ee.nodeType==1&&Ee.getAttribute("cm-ignore-events")=="true"||Ee.parentNode==E.sizer&&Ee!=E.mover)return!0}function Hi(E){return E.lineSpace.offsetTop}function Oi(E){return E.mover.offsetHeight-E.lineSpace.offsetHeight}function ua(E){if(E.cachedPaddingH)return E.cachedPaddingH;var ee=Ie(E.measure,Le("pre","x","CodeMirror-line-like")),Ee=window.getComputedStyle?window.getComputedStyle(ee):ee.currentStyle,we={left:parseInt(Ee.paddingLeft),right:parseInt(Ee.paddingRight)};return!isNaN(we.left)&&!isNaN(we.right)&&(E.cachedPaddingH=we),we}function Ni(E){return dt-E.display.nativeBarWidth}function mi(E){return E.display.scroller.clientWidth-Ni(E)-E.display.barWidth}function ea(E){return E.display.scroller.clientHeight-Ni(E)-E.display.barHeight}function da(E,ee,Ee){var we=E.options.lineWrapping,Ne=we&&mi(E);if(!ee.measure.heights||we&&ee.measure.width!=Ne){var Je=ee.measure.heights=[];if(we){ee.measure.width=Ne;for(var ft=ee.text.firstChild.getClientRects(),wt=0;wt<ft.length-1;wt++){var Mt=ft[wt],Rt=ft[wt+1];Math.abs(Mt.bottom-Rt.bottom)>2&&Je.push((Mt.bottom+Rt.top)/2-Ee.top)}}Je.push(Ee.bottom-Ee.top)}}function Si(E,ee,Ee){if(E.line==ee)return{map:E.measure.map,cache:E.measure.cache};for(var we=0;we<E.rest.length;we++)if(E.rest[we]==ee)return{map:E.measure.maps[we],cache:E.measure.caches[we]};for(var Ne=0;Ne<E.rest.length;Ne++)if(Ir(E.rest[Ne])>Ee)return{map:E.measure.maps[Ne],cache:E.measure.caches[Ne],before:!0}}function $a(E,ee){ee=Nt(ee);var Ee=Ir(ee),we=E.display.externalMeasured=new _n(E.doc,ee,Ee);we.lineN=Ee;var Ne=we.built=Sr(E,we);return we.text=Ne.pre,Ie(E.display.lineMeasure,Ne.pre),we}function io(E,ee,Ee,we){return Yi(E,Ea(E,ee),Ee,we)}function Za(E,ee){if(ee>=E.display.viewFrom&&ee<E.display.viewTo)return E.display.view[to(E,ee)];var Ee=E.display.externalMeasured;if(Ee&&ee>=Ee.lineN&&ee<Ee.lineN+Ee.size)return Ee}function Ea(E,ee){var Ee=Ir(ee),we=Za(E,Ee);we&&!we.text?we=null:we&&we.changes&&(kr(E,we,Ee,ms(E)),E.curOp.forceUpdate=!0),we||(we=$a(E,ee));var Ne=Si(we,ee,Ee);return{line:ee,view:we,rect:null,map:Ne.map,cache:Ne.cache,before:Ne.before,hasHeights:!1}}function Yi(E,ee,Ee,we,Ne){ee.before&&(Ee=-1);var Je=Ee+(we||""),ft;return ee.cache.hasOwnProperty(Je)?ft=ee.cache[Je]:(ee.rect||(ee.rect=ee.view.text.getBoundingClientRect()),ee.hasHeights||(da(E,ee.view,ee.rect),ee.hasHeights=!0),ft=Ba(E,ee,Ee,we),ft.bogus||(ee.cache[Je]=ft)),{left:ft.left,right:ft.right,top:Ne?ft.rtop:ft.top,bottom:Ne?ft.rbottom:ft.bottom}}var xo={left:0,right:0,top:0,bottom:0};function Da(E,ee,Ee){for(var we,Ne,Je,ft,wt,Mt,Rt=0;Rt<E.length;Rt+=3)if(wt=E[Rt],Mt=E[Rt+1],ee<wt?(Ne=0,Je=1,ft="left"):ee<Mt?(Ne=ee-wt,Je=Ne+1):(Rt==E.length-3||ee==Mt&&E[Rt+3]>ee)&&(Je=Mt-wt,Ne=Je-1,ee>=Mt&&(ft="right")),Ne!=null){if(we=E[Rt+2],wt==Mt&&Ee==(we.insertLeft?"left":"right")&&(ft=Ee),Ee=="left"&&Ne==0)for(;Rt&&E[Rt-2]==E[Rt-3]&&E[Rt-1].insertLeft;)we=E[(Rt-=3)+2],ft="left";if(Ee=="right"&&Ne==Mt-wt)for(;Rt<E.length-3&&E[Rt+3]==E[Rt+4]&&!E[Rt+5].insertLeft;)we=E[(Rt+=3)+2],ft="right";break}return{node:we,start:Ne,end:Je,collapse:ft,coverStart:wt,coverEnd:Mt}}function Fi(E,ee){var Ee=xo;if(ee=="left")for(var we=0;we<E.length&&(Ee=E[we]).left==Ee.right;we++);else for(var Ne=E.length-1;Ne>=0&&(Ee=E[Ne]).left==Ee.right;Ne--);return Ee}function Ba(E,ee,Ee,we){var Ne=Da(ee.map,Ee,we),Je=Ne.node,ft=Ne.start,wt=Ne.end,Mt=Ne.collapse,Rt;if(Je.nodeType==3){for(var fn=0;fn<4;fn++){for(;ft&&ze(ee.line.text.charAt(Ne.coverStart+ft));)--ft;for(;Ne.coverStart+wt<Ne.coverEnd&&ze(ee.line.text.charAt(Ne.coverStart+wt));)++wt;if(me&&ie<9&&ft==0&&wt==Ne.coverEnd-Ne.coverStart?Rt=Je.parentNode.getBoundingClientRect():Rt=Fi(Be(Je,ft,wt).getClientRects(),we),Rt.left||Rt.right||ft==0)break;wt=ft,ft=ft-1,Mt="right"}me&&ie<11&&(Rt=lo(E.display.measure,Rt))}else{ft>0&&(Mt=we="right");var An;E.options.lineWrapping&&(An=Je.getClientRects()).length>1?Rt=An[we=="right"?An.length-1:0]:Rt=Je.getBoundingClientRect()}if(me&&ie<9&&!ft&&(!Rt||!Rt.left&&!Rt.right)){var cr=Je.parentNode.getClientRects()[0];cr?Rt={left:cr.left,right:cr.left+es(E.display),top:cr.top,bottom:cr.bottom}:Rt=xo}for(var qn=Rt.top-ee.rect.top,Kr=Rt.bottom-ee.rect.top,ni=(qn+Kr)/2,Ei=ee.view.measure.heights,zi=0;zi<Ei.length-1&&!(ni<Ei[zi]);zi++);var Ji=zi?Ei[zi-1]:0,Bi=Ei[zi],sa={left:(Mt=="right"?Rt.right:Rt.left)-ee.rect.left,right:(Mt=="left"?Rt.left:Rt.right)-ee.rect.left,top:Ji,bottom:Bi};return!Rt.left&&!Rt.right&&(sa.bogus=!0),E.options.singleCursorHeightPerLine||(sa.rtop=qn,sa.rbottom=Kr),sa}function lo(E,ee){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Hr(E))return ee;var Ee=screen.logicalXDPI/screen.deviceXDPI,we=screen.logicalYDPI/screen.deviceYDPI;return{left:ee.left*Ee,right:ee.right*Ee,top:ee.top*we,bottom:ee.bottom*we}}function za(E){if(E.measure&&(E.measure.cache={},E.measure.heights=null,E.rest))for(var ee=0;ee<E.rest.length;ee++)E.measure.caches[ee]={}}function ao(E){E.display.externalMeasure=null,ke(E.display.lineMeasure);for(var ee=0;ee<E.display.view.length;ee++)za(E.display.view[ee])}function pa(E){ao(E),E.display.cachedCharWidth=E.display.cachedTextHeight=E.display.cachedPaddingH=null,E.options.lineWrapping||(E.display.maxLineChanged=!0),E.display.lineNumChars=null}function po(){return ne&&fe?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function mo(){return ne&&fe?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function fo(E){var ee=0;if(E.widgets)for(var Ee=0;Ee<E.widgets.length;++Ee)E.widgets[Ee].above&&(ee+=Ai(E.widgets[Ee]));return ee}function vo(E,ee,Ee,we,Ne){if(!Ne){var Je=fo(ee);Ee.top+=Je,Ee.bottom+=Je}if(we=="line")return Ee;we||(we="local");var ft=On(ee);if(we=="local"?ft+=Hi(E.display):ft-=E.display.viewOffset,we=="page"||we=="window"){var wt=E.display.lineSpace.getBoundingClientRect();ft+=wt.top+(we=="window"?0:mo());var Mt=wt.left+(we=="window"?0:po());Ee.left+=Mt,Ee.right+=Mt}return Ee.top+=ft,Ee.bottom+=ft,Ee}function Mo(E,ee,Ee){if(Ee=="div")return ee;var we=ee.left,Ne=ee.top;if(Ee=="page")we-=po(),Ne-=mo();else if(Ee=="local"||!Ee){var Je=E.display.sizer.getBoundingClientRect();we+=Je.left,Ne+=Je.top}var ft=E.display.lineSpace.getBoundingClientRect();return{left:we-ft.left,top:Ne-ft.top}}function Ho(E,ee,Ee,we,Ne){return we||(we=Rn(E.doc,ee.line)),vo(E,we,io(E,we,ee.ch,Ne),Ee)}function ho(E,ee,Ee,we,Ne,Je){we=we||Rn(E.doc,ee.line),Ne||(Ne=Ea(E,we));function ft(Kr,ni){var Ei=Yi(E,Ne,Kr,ni?"right":"left",Je);return ni?Ei.left=Ei.right:Ei.right=Ei.left,vo(E,we,Ei,Ee)}var wt=bn(we,E.doc.direction),Mt=ee.ch,Rt=ee.sticky;if(Mt>=we.text.length?(Mt=we.text.length,Rt="before"):Mt<=0&&(Mt=0,Rt="after"),!wt)return ft(Rt=="before"?Mt-1:Mt,Rt=="before");function fn(Kr,ni,Ei){var zi=wt[ni],Ji=zi.level==1;return ft(Ei?Kr-1:Kr,Ji!=Ei)}var An=xt(wt,Mt,Rt),cr=Ot,qn=fn(Mt,An,Rt=="before");return cr!=null&&(qn.other=fn(Mt,cr,Rt!="before")),qn}function ko(E,ee){var Ee=0;ee=wr(E.doc,ee),E.options.lineWrapping||(Ee=es(E.display)*ee.ch);var we=Rn(E.doc,ee.line),Ne=On(we)+Hi(E.display);return{left:Ee,right:Ee,top:Ne,bottom:Ne+we.height}}function $o(E,ee,Ee,we,Ne){var Je=Jt(E,ee,Ee);return Je.xRel=Ne,we&&(Je.outside=we),Je}function Yo(E,ee,Ee){var we=E.doc;if(Ee+=E.display.viewOffset,Ee<0)return $o(we.first,0,null,-1,-1);var Ne=Ur(we,Ee),Je=we.first+we.size-1;if(Ne>Je)return $o(we.first+we.size-1,Rn(we,Je).text.length,null,1,1);ee<0&&(ee=0);for(var ft=Rn(we,Ne);;){var wt=La(E,ft,Ne,ee,Ee),Mt=Dt(ft,wt.ch+(wt.xRel>0||wt.outside>0?1:0));if(!Mt)return wt;var Rt=Mt.find(1);if(Rt.line==Ne)return Rt;ft=Rn(we,Ne=Rt.line)}}function as(E,ee,Ee,we){we-=fo(ee);var Ne=ee.text.length,Je=ot(function(ft){return Yi(E,Ee,ft-1).bottom<=we},Ne,0);return Ne=ot(function(ft){return Yi(E,Ee,ft).top>we},Je,Ne),{begin:Je,end:Ne}}function Bo(E,ee,Ee,we){Ee||(Ee=Ea(E,ee));var Ne=vo(E,ee,Yi(E,Ee,we),"line").top;return as(E,ee,Ee,Ne)}function wo(E,ee,Ee,we){return E.bottom<=Ee?!1:E.top>Ee?!0:(we?E.left:E.right)>ee}function La(E,ee,Ee,we,Ne){Ne-=On(ee);var Je=Ea(E,ee),ft=fo(ee),wt=0,Mt=ee.text.length,Rt=!0,fn=bn(ee,E.doc.direction);if(fn){var An=(E.options.lineWrapping?uo:Ha)(E,ee,Ee,Je,fn,we,Ne);Rt=An.level!=1,wt=Rt?An.from:An.to-1,Mt=Rt?An.to:An.from-1}var cr=null,qn=null,Kr=ot(function(Wa){var Xa=Yi(E,Je,Wa);return Xa.top+=ft,Xa.bottom+=ft,wo(Xa,we,Ne,!1)?(Xa.top<=Ne&&Xa.left<=we&&(cr=Wa,qn=Xa),!0):!1},wt,Mt),ni,Ei,zi=!1;if(qn){var Ji=we-qn.left<qn.right-we,Bi=Ji==Rt;Kr=cr+(Bi?0:1),Ei=Bi?"after":"before",ni=Ji?qn.left:qn.right}else{!Rt&&(Kr==Mt||Kr==wt)&&Kr++,Ei=Kr==0?"after":Kr==ee.text.length?"before":Yi(E,Je,Kr-(Rt?1:0)).bottom+ft<=Ne==Rt?"after":"before";var sa=ho(E,Jt(Ee,Kr,Ei),"line",ee,Je);ni=sa.left,zi=Ne<sa.top?-1:Ne>=sa.bottom?1:0}return Kr=Qe(ee.text,Kr,1),$o(Ee,Kr,Ei,zi,we-ni)}function Ha(E,ee,Ee,we,Ne,Je,ft){var wt=ot(function(An){var cr=Ne[An],qn=cr.level!=1;return wo(ho(E,Jt(Ee,qn?cr.to:cr.from,qn?"before":"after"),"line",ee,we),Je,ft,!0)},0,Ne.length-1),Mt=Ne[wt];if(wt>0){var Rt=Mt.level!=1,fn=ho(E,Jt(Ee,Rt?Mt.from:Mt.to,Rt?"after":"before"),"line",ee,we);wo(fn,Je,ft,!0)&&fn.top>ft&&(Mt=Ne[wt-1])}return Mt}function uo(E,ee,Ee,we,Ne,Je,ft){var wt=as(E,ee,we,ft),Mt=wt.begin,Rt=wt.end;/\s/.test(ee.text.charAt(Rt-1))&&Rt--;for(var fn=null,An=null,cr=0;cr<Ne.length;cr++){var qn=Ne[cr];if(!(qn.from>=Rt||qn.to<=Mt)){var Kr=qn.level!=1,ni=Yi(E,we,Kr?Math.min(Rt,qn.to)-1:Math.max(Mt,qn.from)).right,Ei=ni<Je?Je-ni+1e9:ni-Je;(!fn||An>Ei)&&(fn=qn,An=Ei)}}return fn||(fn=Ne[Ne.length-1]),fn.from<Mt&&(fn={from:Mt,to:fn.to,level:fn.level}),fn.to>Rt&&(fn={from:fn.from,to:Rt,level:fn.level}),fn}var bo;function Fo(E){if(E.cachedTextHeight!=null)return E.cachedTextHeight;if(bo==null){bo=Le("pre",null,"CodeMirror-line-like");for(var ee=0;ee<49;++ee)bo.appendChild(document.createTextNode("x")),bo.appendChild(Le("br"));bo.appendChild(document.createTextNode("x"))}Ie(E.measure,bo);var Ee=bo.offsetHeight/50;return Ee>3&&(E.cachedTextHeight=Ee),ke(E.measure),Ee||1}function es(E){if(E.cachedCharWidth!=null)return E.cachedCharWidth;var ee=Le("span","xxxxxxxxxx"),Ee=Le("pre",[ee],"CodeMirror-line-like");Ie(E.measure,Ee);var we=ee.getBoundingClientRect(),Ne=(we.right-we.left)/10;return Ne>2&&(E.cachedCharWidth=Ne),Ne||10}function ms(E){for(var ee=E.display,Ee={},we={},Ne=ee.gutters.clientLeft,Je=ee.gutters.firstChild,ft=0;Je;Je=Je.nextSibling,++ft){var wt=E.display.gutterSpecs[ft].className;Ee[wt]=Je.offsetLeft+Je.clientLeft+Ne,we[wt]=Je.clientWidth}return{fixedPos:_s(ee),gutterTotalWidth:ee.gutters.offsetWidth,gutterLeft:Ee,gutterWidth:we,wrapperWidth:ee.wrapper.clientWidth}}function _s(E){return E.scroller.getBoundingClientRect().left-E.sizer.getBoundingClientRect().left}function Fs(E){var ee=Fo(E.display),Ee=E.options.lineWrapping,we=Ee&&Math.max(5,E.display.scroller.clientWidth/es(E.display)-3);return function(Ne){if($n(E.doc,Ne))return 0;var Je=0;if(Ne.widgets)for(var ft=0;ft<Ne.widgets.length;ft++)Ne.widgets[ft].height&&(Je+=Ne.widgets[ft].height);return Ee?Je+(Math.ceil(Ne.text.length/we)||1)*ee:Je+ee}}function os(E){var ee=E.doc,Ee=Fs(E);ee.iter(function(we){var Ne=Ee(we);Ne!=we.height&&Lr(we,Ne)})}function Is(E,ee,Ee,we){var Ne=E.display;if(!Ee&&ti(ee).getAttribute("cm-not-content")=="true")return null;var Je,ft,wt=Ne.lineSpace.getBoundingClientRect();try{Je=ee.clientX-wt.left,ft=ee.clientY-wt.top}catch(An){return null}var Mt=Yo(E,Je,ft),Rt;if(we&&Mt.xRel>0&&(Rt=Rn(E.doc,Mt.line).text).length==Mt.ch){var fn=Xe(Rt,Rt.length,E.options.tabSize)-Rt.length;Mt=Jt(Mt.line,Math.max(0,Math.round((Je-ua(E.display).left)/es(E.display))-fn))}return Mt}function to(E,ee){if(ee>=E.display.viewTo||(ee-=E.display.viewFrom,ee<0))return null;for(var Ee=E.display.view,we=0;we<Ee.length;we++)if(ee-=Ee[we].size,ee<0)return we}function Aa(E,ee,Ee,we){ee==null&&(ee=E.doc.first),Ee==null&&(Ee=E.doc.first+E.doc.size),we||(we=0);var Ne=E.display;if(we&&Ee<Ne.viewTo&&(Ne.updateLineNumbers==null||Ne.updateLineNumbers>ee)&&(Ne.updateLineNumbers=ee),E.curOp.viewChanged=!0,ee>=Ne.viewTo)Wi&&vn(E.doc,ee)<Ne.viewTo&&To(E);else if(Ee<=Ne.viewFrom)Wi&&Vn(E.doc,Ee+we)>Ne.viewFrom?To(E):(Ne.viewFrom+=we,Ne.viewTo+=we);else if(ee<=Ne.viewFrom&&Ee>=Ne.viewTo)To(E);else if(ee<=Ne.viewFrom){var Je=Ct(E,Ee,Ee+we,1);Je?(Ne.view=Ne.view.slice(Je.index),Ne.viewFrom=Je.lineN,Ne.viewTo+=we):To(E)}else if(Ee>=Ne.viewTo){var ft=Ct(E,ee,ee,-1);ft?(Ne.view=Ne.view.slice(0,ft.index),Ne.viewTo=ft.lineN):To(E)}else{var wt=Ct(E,ee,ee,-1),Mt=Ct(E,Ee,Ee+we,1);wt&&Mt?(Ne.view=Ne.view.slice(0,wt.index).concat(dr(E,wt.lineN,Mt.lineN)).concat(Ne.view.slice(Mt.index)),Ne.viewTo+=we):To(E)}var Rt=Ne.externalMeasured;Rt&&(Ee<Rt.lineN?Rt.lineN+=we:ee<Rt.lineN+Rt.size&&(Ne.externalMeasured=null))}function Do(E,ee,Ee){E.curOp.viewChanged=!0;var we=E.display,Ne=E.display.externalMeasured;if(Ne&&ee>=Ne.lineN&&ee<Ne.lineN+Ne.size&&(we.externalMeasured=null),!(ee<we.viewFrom||ee>=we.viewTo)){var Je=we.view[to(E,ee)];if(Je.node!=null){var ft=Je.changes||(Je.changes=[]);lt(ft,Ee)==-1&&ft.push(Ee)}}}function To(E){E.display.viewFrom=E.display.viewTo=E.doc.first,E.display.view=[],E.display.viewOffset=0}function Ct(E,ee,Ee,we){var Ne=to(E,ee),Je,ft=E.display.view;if(!Wi||Ee==E.doc.first+E.doc.size)return{index:Ne,lineN:Ee};for(var wt=E.display.viewFrom,Mt=0;Mt<Ne;Mt++)wt+=ft[Mt].size;if(wt!=ee){if(we>0){if(Ne==ft.length-1)return null;Je=wt+ft[Ne].size-ee,Ne++}else Je=wt-ee;ee+=Je,Ee+=Je}for(;vn(E.doc,Ee)!=Ee;){if(Ne==(we<0?0:ft.length-1))return null;Ee+=we*ft[Ne-(we<0?1:0)].size,Ne+=we}return{index:Ne,lineN:Ee}}function Lt(E,ee,Ee){var we=E.display,Ne=we.view;Ne.length==0||ee>=we.viewTo||Ee<=we.viewFrom?(we.view=dr(E,ee,Ee),we.viewFrom=ee):(we.viewFrom>ee?we.view=dr(E,ee,we.viewFrom).concat(we.view):we.viewFrom<ee&&(we.view=we.view.slice(to(E,ee))),we.viewFrom=ee,we.viewTo<Ee?we.view=we.view.concat(dr(E,we.viewTo,Ee)):we.viewTo>Ee&&(we.view=we.view.slice(0,to(E,Ee)))),we.viewTo=Ee}function dn(E){for(var ee=E.display.view,Ee=0,we=0;we<ee.length;we++){var Ne=ee[we];!Ne.hidden&&(!Ne.node||Ne.changes)&&++Ee}return Ee}function un(E){E.display.input.showSelection(E.display.input.prepareSelection())}function Un(E,ee){ee===void 0&&(ee=!0);for(var Ee=E.doc,we={},Ne=we.cursors=document.createDocumentFragment(),Je=we.selection=document.createDocumentFragment(),ft=0;ft<Ee.sel.ranges.length;ft++)if(!(!ee&&ft==Ee.sel.primIndex)){var wt=Ee.sel.ranges[ft];if(!(wt.from().line>=E.display.viewTo||wt.to().line<E.display.viewFrom)){var Mt=wt.empty();(Mt||E.options.showCursorWhenSelecting)&&Pn(E,wt.head,Ne),Mt||nr(E,wt,Je)}}return we}function Pn(E,ee,Ee){var we=ho(E,ee,"div",null,null,!E.options.singleCursorHeightPerLine),Ne=Ee.appendChild(Le("div","\xA0","CodeMirror-cursor"));if(Ne.style.left=we.left+"px",Ne.style.top=we.top+"px",Ne.style.height=Math.max(0,we.bottom-we.top)*E.options.cursorHeight+"px",we.other){var Je=Ee.appendChild(Le("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Je.style.display="",Je.style.left=we.other.left+"px",Je.style.top=we.other.top+"px",Je.style.height=(we.other.bottom-we.other.top)*.85+"px"}}function Mn(E,ee){return E.top-ee.top||E.left-ee.left}function nr(E,ee,Ee){var we=E.display,Ne=E.doc,Je=document.createDocumentFragment(),ft=ua(E.display),wt=ft.left,Mt=Math.max(we.sizerWidth,mi(E)-we.sizer.offsetLeft)-ft.right,Rt=Ne.direction=="ltr";function fn(Bi,sa,Wa,Xa){sa<0&&(sa=0),sa=Math.round(sa),Xa=Math.round(Xa),Je.appendChild(Le("div",null,"CodeMirror-selected","position: absolute; left: "+Bi+`px;
top: `+sa+"px; width: "+(Wa==null?Mt-Bi:Wa)+`px;
height: `+(Xa-sa)+"px"))}function An(Bi,sa,Wa){var Xa=Rn(Ne,Bi),Ao=Xa.text.length,fs,rl;function Os(Ys,El){return Ho(E,Jt(Bi,Ys),"div",Xa,El)}function Sl(Ys,El,co){var Ns=Bo(E,Xa,null,Ys),Ds=El=="ltr"==(co=="after")?"left":"right",Rs=co=="after"?Ns.begin:Ns.end-(/\s/.test(Xa.text.charAt(Ns.end-1))?2:1);return Os(Rs,Ds)[Ds]}var Cl=bn(Xa,Ne.direction);return mt(Cl,sa||0,Wa==null?Ao:Wa,function(Ys,El,co,Ns){var Ds=co=="ltr",Rs=Os(Ys,Ds?"left":"right"),Ws=Os(El-1,Ds?"right":"left"),Uc=sa==null&&Ys==0,kl=Wa==null&&El==Ao,cl=Ns==0,Uo=!Cl||Ns==Cl.length-1;if(Ws.top-Rs.top<=3){var $s=(Rt?Uc:kl)&&cl,Yu=(Rt?kl:Uc)&&Uo,pc=$s?wt:(Ds?Rs:Ws).left,kc=Yu?Mt:(Ds?Ws:Rs).right;fn(pc,Rs.top,kc-pc,Rs.bottom)}else{var ec,Qs,Vc,ul;Ds?(ec=Rt&&Uc&&cl?wt:Rs.left,Qs=Rt?Mt:Sl(Ys,co,"before"),Vc=Rt?wt:Sl(El,co,"after"),ul=Rt&&kl&&Uo?Mt:Ws.right):(ec=Rt?Sl(Ys,co,"before"):wt,Qs=!Rt&&Uc&&cl?Mt:Rs.right,Vc=!Rt&&kl&&Uo?wt:Ws.left,ul=Rt?Sl(El,co,"after"):Mt),fn(ec,Rs.top,Qs-ec,Rs.bottom),Rs.bottom<Ws.top&&fn(wt,Rs.bottom,null,Ws.top),fn(Vc,Ws.top,ul-Vc,Ws.bottom)}(!fs||Mn(Rs,fs)<0)&&(fs=Rs),Mn(Ws,fs)<0&&(fs=Ws),(!rl||Mn(Rs,rl)<0)&&(rl=Rs),Mn(Ws,rl)<0&&(rl=Ws)}),{start:fs,end:rl}}var cr=ee.from(),qn=ee.to();if(cr.line==qn.line)An(cr.line,cr.ch,qn.ch);else{var Kr=Rn(Ne,cr.line),ni=Rn(Ne,qn.line),Ei=Nt(Kr)==Nt(ni),zi=An(cr.line,cr.ch,Ei?Kr.text.length+1:null).end,Ji=An(qn.line,Ei?0:null,qn.ch).start;Ei&&(zi.top<Ji.top-2?(fn(zi.right,zi.top,null,zi.bottom),fn(wt,Ji.top,Ji.left,Ji.bottom)):fn(zi.right,zi.top,Ji.left-zi.right,zi.bottom)),zi.bottom<Ji.top&&fn(wt,zi.bottom,null,Ji.top)}Ee.appendChild(Je)}function rr(E){if(E.state.focused){var ee=E.display;clearInterval(ee.blinker);var Ee=!0;ee.cursorDiv.style.visibility="",E.options.cursorBlinkRate>0?ee.blinker=setInterval(function(){E.hasFocus()||wi(E),ee.cursorDiv.style.visibility=(Ee=!Ee)?"":"hidden"},E.options.cursorBlinkRate):E.options.cursorBlinkRate<0&&(ee.cursorDiv.style.visibility="hidden")}}function vr(E){E.state.focused||(E.display.input.focus(),zr(E))}function Jr(E){E.state.delayingBlurEvent=!0,setTimeout(function(){E.state.delayingBlurEvent&&(E.state.delayingBlurEvent=!1,wi(E))},100)}function zr(E,ee){E.state.delayingBlurEvent&&(E.state.delayingBlurEvent=!1),E.options.readOnly!="nocursor"&&(E.state.focused||(Pt(E,"focus",E,ee),E.state.focused=!0,We(E.display.wrapper,"CodeMirror-focused"),!E.curOp&&E.display.selForContextMenu!=E.doc.sel&&(E.display.input.reset(),te&&setTimeout(function(){return E.display.input.reset(!0)},20)),E.display.input.receivedFocus()),rr(E))}function wi(E,ee){E.state.delayingBlurEvent||(E.state.focused&&(Pt(E,"blur",E,ee),E.state.focused=!1,Fe(E.display.wrapper,"CodeMirror-focused")),clearInterval(E.display.blinker),setTimeout(function(){E.state.focused||(E.display.shift=!1)},150))}function Yr(E){for(var ee=E.display,Ee=ee.lineDiv.offsetTop,we=0;we<ee.view.length;we++){var Ne=ee.view[we],Je=E.options.lineWrapping,ft=void 0,wt=0;if(!Ne.hidden){if(me&&ie<8){var Mt=Ne.node.offsetTop+Ne.node.offsetHeight;ft=Mt-Ee,Ee=Mt}else{var Rt=Ne.node.getBoundingClientRect();ft=Rt.bottom-Rt.top,!Je&&Ne.text.firstChild&&(wt=Ne.text.firstChild.getBoundingClientRect().right-Rt.left-1)}var fn=Ne.line.height-ft;if((fn>.005||fn<-.005)&&(Lr(Ne.line,ft),ci(Ne.line),Ne.rest))for(var An=0;An<Ne.rest.length;An++)ci(Ne.rest[An]);if(wt>E.display.sizerWidth){var cr=Math.ceil(wt/es(E.display));cr>E.display.maxLineLength&&(E.display.maxLineLength=cr,E.display.maxLine=Ne.line,E.display.maxLineChanged=!0)}}}}function ci(E){if(E.widgets)for(var ee=0;ee<E.widgets.length;++ee){var Ee=E.widgets[ee],we=Ee.node.parentNode;we&&(Ee.height=we.offsetHeight)}}function ei(E,ee,Ee){var we=Ee&&Ee.top!=null?Math.max(0,Ee.top):E.scroller.scrollTop;we=Math.floor(we-Hi(E));var Ne=Ee&&Ee.bottom!=null?Ee.bottom:we+E.wrapper.clientHeight,Je=Ur(ee,we),ft=Ur(ee,Ne);if(Ee&&Ee.ensure){var wt=Ee.ensure.from.line,Mt=Ee.ensure.to.line;wt<Je?(Je=wt,ft=Ur(ee,On(Rn(ee,wt))+E.wrapper.clientHeight)):Math.min(Mt,ee.lastLine())>=ft&&(Je=Ur(ee,On(Rn(ee,Mt))-E.wrapper.clientHeight),ft=Mt)}return{from:Je,to:Math.max(ft,Je+1)}}function Ci(E,ee){if(!zt(E,"scrollCursorIntoView")){var Ee=E.display,we=Ee.sizer.getBoundingClientRect(),Ne=null;if(ee.top+we.top<0?Ne=!0:ee.bottom+we.top>(window.innerHeight||document.documentElement.clientHeight)&&(Ne=!1),Ne!=null&&!se){var Je=Le("div","\u200B",null,`position: absolute;
top: `+(ee.top-Ee.viewOffset-Hi(E.display))+`px;
height: `+(ee.bottom-ee.top+Ni(E)+Ee.barHeight)+`px;
left: `+ee.left+"px; width: "+Math.max(2,ee.right-ee.left)+"px;");E.display.lineSpace.appendChild(Je),Je.scrollIntoView(Ne),E.display.lineSpace.removeChild(Je)}}}function Vi(E,ee,Ee,we){we==null&&(we=0);var Ne;!E.options.lineWrapping&&ee==Ee&&(ee=ee.ch?Jt(ee.line,ee.sticky=="before"?ee.ch-1:ee.ch,"after"):ee,Ee=ee.sticky=="before"?Jt(ee.line,ee.ch+1,"before"):ee);for(var Je=0;Je<5;Je++){var ft=!1,wt=ho(E,ee),Mt=!Ee||Ee==ee?wt:ho(E,Ee);Ne={left:Math.min(wt.left,Mt.left),top:Math.min(wt.top,Mt.top)-we,right:Math.max(wt.left,Mt.left),bottom:Math.max(wt.bottom,Mt.bottom)+we};var Rt=ha(E,Ne),fn=E.doc.scrollTop,An=E.doc.scrollLeft;if(Rt.scrollTop!=null&&(fi(E,Rt.scrollTop),Math.abs(E.doc.scrollTop-fn)>1&&(ft=!0)),Rt.scrollLeft!=null&&(Ia(E,Rt.scrollLeft),Math.abs(E.doc.scrollLeft-An)>1&&(ft=!0)),!ft)break}return Ne}function oa(E,ee){var Ee=ha(E,ee);Ee.scrollTop!=null&&fi(E,Ee.scrollTop),Ee.scrollLeft!=null&&Ia(E,Ee.scrollLeft)}function ha(E,ee){var Ee=E.display,we=Fo(E.display);ee.top<0&&(ee.top=0);var Ne=E.curOp&&E.curOp.scrollTop!=null?E.curOp.scrollTop:Ee.scroller.scrollTop,Je=ea(E),ft={};ee.bottom-ee.top>Je&&(ee.bottom=ee.top+Je);var wt=E.doc.height+Oi(Ee),Mt=ee.top<we,Rt=ee.bottom>wt-we;if(ee.top<Ne)ft.scrollTop=Mt?0:ee.top;else if(ee.bottom>Ne+Je){var fn=Math.min(ee.top,(Rt?wt:ee.bottom)-Je);fn!=Ne&&(ft.scrollTop=fn)}var An=E.options.fixedGutter?0:Ee.gutters.offsetWidth,cr=E.curOp&&E.curOp.scrollLeft!=null?E.curOp.scrollLeft:Ee.scroller.scrollLeft-An,qn=mi(E)-Ee.gutters.offsetWidth,Kr=ee.right-ee.left>qn;return Kr&&(ee.right=ee.left+qn),ee.left<10?ft.scrollLeft=0:ee.left<cr?ft.scrollLeft=Math.max(0,ee.left+An-(Kr?0:10)):ee.right>qn+cr-3&&(ft.scrollLeft=ee.right+(Kr?0:10)-qn),ft}function ta(E,ee){ee!=null&&(Ma(E),E.curOp.scrollTop=(E.curOp.scrollTop==null?E.doc.scrollTop:E.curOp.scrollTop)+ee)}function ba(E){Ma(E);var ee=E.getCursor();E.curOp.scrollToPos={from:ee,to:ee,margin:E.options.cursorScrollMargin}}function Ki(E,ee,Ee){(ee!=null||Ee!=null)&&Ma(E),ee!=null&&(E.curOp.scrollLeft=ee),Ee!=null&&(E.curOp.scrollTop=Ee)}function xa(E,ee){Ma(E),E.curOp.scrollToPos=ee}function Ma(E){var ee=E.curOp.scrollToPos;if(ee){E.curOp.scrollToPos=null;var Ee=ko(E,ee.from),we=ko(E,ee.to);li(E,Ee,we,ee.margin)}}function li(E,ee,Ee,we){var Ne=ha(E,{left:Math.min(ee.left,Ee.left),top:Math.min(ee.top,Ee.top)-we,right:Math.max(ee.right,Ee.right),bottom:Math.max(ee.bottom,Ee.bottom)+we});Ki(E,Ne.scrollLeft,Ne.scrollTop)}function fi(E,ee){Math.abs(E.doc.scrollTop-ee)<2||(Oe||_o(E,{top:ee}),Di(E,ee,!0),Oe&&_o(E),Ua(E,100))}function Di(E,ee,Ee){ee=Math.max(0,Math.min(E.display.scroller.scrollHeight-E.display.scroller.clientHeight,ee)),!(E.display.scroller.scrollTop==ee&&!Ee)&&(E.doc.scrollTop=ee,E.display.scrollbars.setScrollTop(ee),E.display.scroller.scrollTop!=ee&&(E.display.scroller.scrollTop=ee))}function Ia(E,ee,Ee,we){ee=Math.max(0,Math.min(ee,E.display.scroller.scrollWidth-E.display.scroller.clientWidth)),!((Ee?ee==E.doc.scrollLeft:Math.abs(E.doc.scrollLeft-ee)<2)&&!we)&&(E.doc.scrollLeft=ee,ns(E),E.display.scroller.scrollLeft!=ee&&(E.display.scroller.scrollLeft=ee),E.display.scrollbars.setScrollLeft(ee))}function va(E){var ee=E.display,Ee=ee.gutters.offsetWidth,we=Math.round(E.doc.height+Oi(E.display));return{clientHeight:ee.scroller.clientHeight,viewHeight:ee.wrapper.clientHeight,scrollWidth:ee.scroller.scrollWidth,clientWidth:ee.scroller.clientWidth,viewWidth:ee.wrapper.clientWidth,barLeft:E.options.fixedGutter?Ee:0,docHeight:we,scrollHeight:we+Ni(E)+ee.barHeight,nativeBarWidth:ee.nativeBarWidth,gutterWidth:Ee}}var Ca=function(E,ee,Ee){this.cm=Ee;var we=this.vert=Le("div",[Le("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Ne=this.horiz=Le("div",[Le("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");we.tabIndex=Ne.tabIndex=-1,E(we),E(Ne),Qt(we,"scroll",function(){we.clientHeight&&ee(we.scrollTop,"vertical")}),Qt(Ne,"scroll",function(){Ne.clientWidth&&ee(Ne.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,me&&ie<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ca.prototype.update=function(E){var ee=E.scrollWidth>E.clientWidth+1,Ee=E.scrollHeight>E.clientHeight+1,we=E.nativeBarWidth;if(Ee){this.vert.style.display="block",this.vert.style.bottom=ee?we+"px":"0";var Ne=E.viewHeight-(ee?we:0);this.vert.firstChild.style.height=Math.max(0,E.scrollHeight-E.clientHeight+Ne)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(ee){this.horiz.style.display="block",this.horiz.style.right=Ee?we+"px":"0",this.horiz.style.left=E.barLeft+"px";var Je=E.viewWidth-E.barLeft-(Ee?we:0);this.horiz.firstChild.style.width=Math.max(0,E.scrollWidth-E.clientWidth+Je)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&E.clientHeight>0&&(we==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:Ee?we:0,bottom:ee?we:0}},Ca.prototype.setScrollLeft=function(E){this.horiz.scrollLeft!=E&&(this.horiz.scrollLeft=E),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ca.prototype.setScrollTop=function(E){this.vert.scrollTop!=E&&(this.vert.scrollTop=E),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ca.prototype.zeroWidthHack=function(){var E=le&&!re?"12px":"18px";this.horiz.style.height=this.vert.style.width=E,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ge,this.disableVert=new Ge},Ca.prototype.enableZeroWidthBar=function(E,ee,Ee){E.style.pointerEvents="auto";function we(){var Ne=E.getBoundingClientRect(),Je=Ee=="vert"?document.elementFromPoint(Ne.right-1,(Ne.top+Ne.bottom)/2):document.elementFromPoint((Ne.right+Ne.left)/2,Ne.bottom-1);Je!=E?E.style.pointerEvents="none":ee.set(1e3,we)}ee.set(1e3,we)},Ca.prototype.clear=function(){var E=this.horiz.parentNode;E.removeChild(this.horiz),E.removeChild(this.vert)};var wa=function(){};wa.prototype.update=function(){return{bottom:0,right:0}},wa.prototype.setScrollLeft=function(){},wa.prototype.setScrollTop=function(){},wa.prototype.clear=function(){};function Ra(E,ee){ee||(ee=va(E));var Ee=E.display.barWidth,we=E.display.barHeight;Fa(E,ee);for(var Ne=0;Ne<4&&Ee!=E.display.barWidth||we!=E.display.barHeight;Ne++)Ee!=E.display.barWidth&&E.options.lineWrapping&&Yr(E),Fa(E,va(E)),Ee=E.display.barWidth,we=E.display.barHeight}function Fa(E,ee){var Ee=E.display,we=Ee.scrollbars.update(ee);Ee.sizer.style.paddingRight=(Ee.barWidth=we.right)+"px",Ee.sizer.style.paddingBottom=(Ee.barHeight=we.bottom)+"px",Ee.heightForcer.style.borderBottom=we.bottom+"px solid transparent",we.right&&we.bottom?(Ee.scrollbarFiller.style.display="block",Ee.scrollbarFiller.style.height=we.bottom+"px",Ee.scrollbarFiller.style.width=we.right+"px"):Ee.scrollbarFiller.style.display="",we.bottom&&E.options.coverGutterNextToScrollbar&&E.options.fixedGutter?(Ee.gutterFiller.style.display="block",Ee.gutterFiller.style.height=we.bottom+"px",Ee.gutterFiller.style.width=ee.gutterWidth+"px"):Ee.gutterFiller.style.display=""}var Ga={native:Ca,null:wa};function qa(E){E.display.scrollbars&&(E.display.scrollbars.clear(),E.display.scrollbars.addClass&&Fe(E.display.wrapper,E.display.scrollbars.addClass)),E.display.scrollbars=new Ga[E.options.scrollbarStyle](function(ee){E.display.wrapper.insertBefore(ee,E.display.scrollbarFiller),Qt(ee,"mousedown",function(){E.state.focused&&setTimeout(function(){return E.display.input.focus()},0)}),ee.setAttribute("cm-not-content","true")},function(ee,Ee){Ee=="horizontal"?Ia(E,ee):fi(E,ee)},E),E.display.scrollbars.addClass&&We(E.display.wrapper,E.display.scrollbars.addClass)}var Wo=0;function no(E){E.curOp={cm:E,viewChanged:!1,startHeight:E.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:++Wo},Ht(E.curOp)}function Io(E){var ee=E.curOp;ee&&Cn(ee,function(Ee){for(var we=0;we<Ee.ops.length;we++)Ee.ops[we].cm.curOp=null;vs(Ee)})}function vs(E){for(var ee=E.ops,Ee=0;Ee<ee.length;Ee++)Ja(ee[Ee]);for(var we=0;we<ee.length;we++)na(ee[we]);for(var Ne=0;Ne<ee.length;Ne++)ra(ee[Ne]);for(var Je=0;Je<ee.length;Je++)Sa(ee[Je]);for(var ft=0;ft<ee.length;ft++)Zi(ee[ft])}function Ja(E){var ee=E.cm,Ee=ee.display;oo(ee),E.updateMaxLine&&En(ee),E.mustUpdate=E.viewChanged||E.forceUpdate||E.scrollTop!=null||E.scrollToPos&&(E.scrollToPos.from.line<Ee.viewFrom||E.scrollToPos.to.line>=Ee.viewTo)||Ee.maxLineChanged&&ee.options.lineWrapping,E.update=E.mustUpdate&&new ka(ee,E.mustUpdate&&{top:E.scrollTop,ensure:E.scrollToPos},E.forceUpdate)}function na(E){E.updatedDisplay=E.mustUpdate&&jo(E.cm,E.update)}function ra(E){var ee=E.cm,Ee=ee.display;E.updatedDisplay&&Yr(ee),E.barMeasure=va(ee),Ee.maxLineChanged&&!ee.options.lineWrapping&&(E.adjustWidthTo=io(ee,Ee.maxLine,Ee.maxLine.text.length).left+3,ee.display.sizerWidth=E.adjustWidthTo,E.barMeasure.scrollWidth=Math.max(Ee.scroller.clientWidth,Ee.sizer.offsetLeft+E.adjustWidthTo+Ni(ee)+ee.display.barWidth),E.maxScrollLeft=Math.max(0,Ee.sizer.offsetLeft+E.adjustWidthTo-mi(ee))),(E.updatedDisplay||E.selectionChanged)&&(E.preparedSelection=Ee.input.prepareSelection())}function Sa(E){var ee=E.cm;E.adjustWidthTo!=null&&(ee.display.sizer.style.minWidth=E.adjustWidthTo+"px",E.maxScrollLeft<ee.doc.scrollLeft&&Ia(ee,Math.min(ee.display.scroller.scrollLeft,E.maxScrollLeft),!0),ee.display.maxLineChanged=!1);var Ee=E.focus&&E.focus==_e();E.preparedSelection&&ee.display.input.showSelection(E.preparedSelection,Ee),(E.updatedDisplay||E.startHeight!=ee.doc.height)&&Ra(ee,E.barMeasure),E.updatedDisplay&&js(ee,E.barMeasure),E.selectionChanged&&rr(ee),ee.state.focused&&E.updateInput&&ee.display.input.reset(E.typing),Ee&&vr(E.cm)}function Zi(E){var ee=E.cm,Ee=ee.display,we=ee.doc;if(E.updatedDisplay&&ts(ee,E.update),Ee.wheelStartX!=null&&(E.scrollTop!=null||E.scrollLeft!=null||E.scrollToPos)&&(Ee.wheelStartX=Ee.wheelStartY=null),E.scrollTop!=null&&Di(ee,E.scrollTop,E.forceScroll),E.scrollLeft!=null&&Ia(ee,E.scrollLeft,!0,!0),E.scrollToPos){var Ne=Vi(ee,wr(we,E.scrollToPos.from),wr(we,E.scrollToPos.to),E.scrollToPos.margin);Ci(ee,Ne)}var Je=E.maybeHiddenMarkers,ft=E.maybeUnhiddenMarkers;if(Je)for(var wt=0;wt<Je.length;++wt)Je[wt].lines.length||Pt(Je[wt],"hide");if(ft)for(var Mt=0;Mt<ft.length;++Mt)ft[Mt].lines.length&&Pt(ft[Mt],"unhide");Ee.wrapper.offsetHeight&&(we.scrollTop=ee.display.scroller.scrollTop),E.changeObjs&&Pt(ee,"changes",ee,E.changeObjs),E.update&&E.update.finish()}function bi(E,ee){if(E.curOp)return ee();no(E);try{return ee()}finally{Io(E)}}function ia(E,ee){return function(){if(E.curOp)return ee.apply(E,arguments);no(E);try{return ee.apply(E,arguments)}finally{Io(E)}}}function Gi(E){return function(){if(this.curOp)return E.apply(this,arguments);no(this);try{return E.apply(this,arguments)}finally{Io(this)}}}function Pa(E){return function(){var ee=this.cm;if(!ee||ee.curOp)return E.apply(this,arguments);no(ee);try{return E.apply(this,arguments)}finally{Io(ee)}}}function Ua(E,ee){E.doc.highlightFrontier<E.display.viewTo&&E.state.highlight.set(ee,at(Qa,E))}function Qa(E){var ee=E.doc;if(!(ee.highlightFrontier>=E.display.viewTo)){var Ee=+new Date+E.options.workTime,we=la(E,ee.highlightFrontier),Ne=[];ee.iter(we.line,Math.min(ee.first+ee.size,E.display.viewTo+500),function(Je){if(we.line>=E.display.viewFrom){var ft=Je.styles,wt=Je.text.length>E.options.maxHighlightLength?on(ee.mode,we.state):null,Mt=ma(E,Je,we,!0);wt&&(we.state=wt),Je.styles=Mt.styles;var Rt=Je.styleClasses,fn=Mt.classes;fn?Je.styleClasses=fn:Rt&&(Je.styleClasses=null);for(var An=!ft||ft.length!=Je.styles.length||Rt!=fn&&(!Rt||!fn||Rt.bgClass!=fn.bgClass||Rt.textClass!=fn.textClass),cr=0;!An&&cr<ft.length;++cr)An=ft[cr]!=Je.styles[cr];An&&Ne.push(we.line),Je.stateAfter=we.save(),we.nextLine()}else Je.text.length<=E.options.maxHighlightLength&&_a(E,Je.text,we),Je.stateAfter=we.line%5==0?we.save():null,we.nextLine();if(+new Date>Ee)return Ua(E,E.options.workDelay),!0}),ee.highlightFrontier=we.line,ee.modeFrontier=Math.max(ee.modeFrontier,we.line),Ne.length&&bi(E,function(){for(var Je=0;Je<Ne.length;Je++)Do(E,Ne[Je],"text")})}}var ka=function(E,ee,Ee){var we=E.display;this.viewport=ee,this.visible=ei(we,E.doc,ee),this.editorIsHidden=!we.wrapper.offsetWidth,this.wrapperHeight=we.wrapper.clientHeight,this.wrapperWidth=we.wrapper.clientWidth,this.oldDisplayWidth=mi(E),this.force=Ee,this.dims=ms(E),this.events=[]};ka.prototype.signal=function(E,ee){gn(E,ee)&&this.events.push(arguments)},ka.prototype.finish=function(){for(var E=0;E<this.events.length;E++)Pt.apply(null,this.events[E])};function oo(E){var ee=E.display;!ee.scrollbarsClipped&&ee.scroller.offsetWidth&&(ee.nativeBarWidth=ee.scroller.offsetWidth-ee.scroller.clientWidth,ee.heightForcer.style.height=Ni(E)+"px",ee.sizer.style.marginBottom=-ee.nativeBarWidth+"px",ee.sizer.style.borderRightWidth=Ni(E)+"px",ee.scrollbarsClipped=!0)}function Oo(E){if(E.hasFocus())return null;var ee=_e();if(!ee||!Ue(E.display.lineDiv,ee))return null;var Ee={activeElt:ee};if(window.getSelection){var we=window.getSelection();we.anchorNode&&we.extend&&Ue(E.display.lineDiv,we.anchorNode)&&(Ee.anchorNode=we.anchorNode,Ee.anchorOffset=we.anchorOffset,Ee.focusNode=we.focusNode,Ee.focusOffset=we.focusOffset)}return Ee}function So(E){if(!(!E||!E.activeElt||E.activeElt==_e())&&(E.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(E.activeElt.nodeName)&&E.anchorNode&&Ue(document.body,E.anchorNode)&&Ue(document.body,E.focusNode))){var ee=window.getSelection(),Ee=document.createRange();Ee.setEnd(E.anchorNode,E.anchorOffset),Ee.collapse(!1),ee.removeAllRanges(),ee.addRange(Ee),ee.extend(E.focusNode,E.focusOffset)}}function jo(E,ee){var Ee=E.display,we=E.doc;if(ee.editorIsHidden)return To(E),!1;if(!ee.force&&ee.visible.from>=Ee.viewFrom&&ee.visible.to<=Ee.viewTo&&(Ee.updateLineNumbers==null||Ee.updateLineNumbers>=Ee.viewTo)&&Ee.renderedView==Ee.view&&dn(E)==0)return!1;Ko(E)&&(To(E),ee.dims=ms(E));var Ne=we.first+we.size,Je=Math.max(ee.visible.from-E.options.viewportMargin,we.first),ft=Math.min(Ne,ee.visible.to+E.options.viewportMargin);Ee.viewFrom<Je&&Je-Ee.viewFrom<20&&(Je=Math.max(we.first,Ee.viewFrom)),Ee.viewTo>ft&&Ee.viewTo-ft<20&&(ft=Math.min(Ne,Ee.viewTo)),Wi&&(Je=vn(E.doc,Je),ft=Vn(E.doc,ft));var wt=Je!=Ee.viewFrom||ft!=Ee.viewTo||Ee.lastWrapHeight!=ee.wrapperHeight||Ee.lastWrapWidth!=ee.wrapperWidth;Lt(E,Je,ft),Ee.viewOffset=On(Rn(E.doc,Ee.viewFrom)),E.display.mover.style.top=Ee.viewOffset+"px";var Mt=dn(E);if(!wt&&Mt==0&&!ee.force&&Ee.renderedView==Ee.view&&(Ee.updateLineNumbers==null||Ee.updateLineNumbers>=Ee.viewTo))return!1;var Rt=Oo(E);return Mt>4&&(Ee.lineDiv.style.display="none"),ks(E,Ee.updateLineNumbers,ee.dims),Mt>4&&(Ee.lineDiv.style.display=""),Ee.renderedView=Ee.view,So(Rt),ke(Ee.cursorDiv),ke(Ee.selectionDiv),Ee.gutters.style.height=Ee.sizer.style.minHeight=0,wt&&(Ee.lastWrapHeight=ee.wrapperHeight,Ee.lastWrapWidth=ee.wrapperWidth,Ua(E,400)),Ee.updateLineNumbers=null,!0}function ts(E,ee){for(var Ee=ee.viewport,we=!0;;we=!1){if(!we||!E.options.lineWrapping||ee.oldDisplayWidth==mi(E)){if(Ee&&Ee.top!=null&&(Ee={top:Math.min(E.doc.height+Oi(E.display)-ea(E),Ee.top)}),ee.visible=ei(E.display,E.doc,Ee),ee.visible.from>=E.display.viewFrom&&ee.visible.to<=E.display.viewTo)break}else we&&(ee.visible=ei(E.display,E.doc,Ee));if(!jo(E,ee))break;Yr(E);var Ne=va(E);un(E),Ra(E,Ne),js(E,Ne),ee.force=!1}ee.signal(E,"update",E),(E.display.viewFrom!=E.display.reportedViewFrom||E.display.viewTo!=E.display.reportedViewTo)&&(ee.signal(E,"viewportChange",E,E.display.viewFrom,E.display.viewTo),E.display.reportedViewFrom=E.display.viewFrom,E.display.reportedViewTo=E.display.viewTo)}function _o(E,ee){var Ee=new ka(E,ee);if(jo(E,Ee)){Yr(E),ts(E,Ee);var we=va(E);un(E),Ra(E,we),js(E,we),Ee.finish()}}function ks(E,ee,Ee){var we=E.display,Ne=E.options.lineNumbers,Je=we.lineDiv,ft=Je.firstChild;function wt(Kr){var ni=Kr.nextSibling;return te&&le&&E.display.currentWheelTarget==Kr?Kr.style.display="none":Kr.parentNode.removeChild(Kr),ni}for(var Mt=we.view,Rt=we.viewFrom,fn=0;fn<Mt.length;fn++){var An=Mt[fn];if(!An.hidden)if(!An.node||An.node.parentNode!=Je){var cr=Fr(E,An,Rt,Ee);Je.insertBefore(cr,ft)}else{for(;ft!=An.node;)ft=wt(ft);var qn=Ne&&ee!=null&&ee<=Rt&&An.lineNumber;An.changes&&(lt(An.changes,"gutter")>-1&&(qn=!1),kr(E,An,Rt,Ee)),qn&&(ke(An.lineNumber),An.lineNumber.appendChild(document.createTextNode(ln(E.options,Rt)))),ft=An.node.nextSibling}Rt+=An.size}for(;ft;)ft=wt(ft)}function xs(E){var ee=E.gutters.offsetWidth;E.sizer.style.marginLeft=ee+"px"}function js(E,ee){E.display.sizer.style.minHeight=ee.docHeight+"px",E.display.heightForcer.style.top=ee.docHeight+"px",E.display.gutters.style.height=ee.docHeight+E.display.barHeight+Ni(E)+"px"}function ns(E){var ee=E.display,Ee=ee.view;if(!(!ee.alignWidgets&&(!ee.gutters.firstChild||!E.options.fixedGutter))){for(var we=_s(ee)-ee.scroller.scrollLeft+E.doc.scrollLeft,Ne=ee.gutters.offsetWidth,Je=we+"px",ft=0;ft<Ee.length;ft++)if(!Ee[ft].hidden){E.options.fixedGutter&&(Ee[ft].gutter&&(Ee[ft].gutter.style.left=Je),Ee[ft].gutterBackground&&(Ee[ft].gutterBackground.style.left=Je));var wt=Ee[ft].alignable;if(wt)for(var Mt=0;Mt<wt.length;Mt++)wt[Mt].style.left=Je}E.options.fixedGutter&&(ee.gutters.style.left=we+Ne+"px")}}function Ko(E){if(!E.options.lineNumbers)return!1;var ee=E.doc,Ee=ln(E.options,ee.first+ee.size-1),we=E.display;if(Ee.length!=we.lineNumChars){var Ne=we.measure.appendChild(Le("div",[Le("div",Ee)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Je=Ne.firstChild.offsetWidth,ft=Ne.offsetWidth-Je;return we.lineGutter.style.width="",we.lineNumInnerWidth=Math.max(Je,we.lineGutter.offsetWidth-ft)+1,we.lineNumWidth=we.lineNumInnerWidth+ft,we.lineNumChars=we.lineNumInnerWidth?Ee.length:-1,we.lineGutter.style.width=we.lineNumWidth+"px",xs(E.display),!0}return!1}function ws(E,ee){for(var Ee=[],we=!1,Ne=0;Ne<E.length;Ne++){var Je=E[Ne],ft=null;if(typeof Je!="string"&&(ft=Je.style,Je=Je.className),Je=="CodeMirror-linenumbers")if(ee)we=!0;else continue;Ee.push({className:Je,style:ft})}return ee&&!we&&Ee.push({className:"CodeMirror-linenumbers",style:null}),Ee}function ss(E){var ee=E.gutters,Ee=E.gutterSpecs;ke(ee),E.lineGutter=null;for(var we=0;we<Ee.length;++we){var Ne=Ee[we],Je=Ne.className,ft=Ne.style,wt=ee.appendChild(Le("div",null,"CodeMirror-gutter "+Je));ft&&(wt.style.cssText=ft),Je=="CodeMirror-linenumbers"&&(E.lineGutter=wt,wt.style.width=(E.lineNumWidth||1)+"px")}ee.style.display=Ee.length?"":"none",xs(E)}function qo(E){ss(E.display),Aa(E),ns(E)}function Ls(E,ee,Ee,we){var Ne=this;this.input=Ee,Ne.scrollbarFiller=Le("div",null,"CodeMirror-scrollbar-filler"),Ne.scrollbarFiller.setAttribute("cm-not-content","true"),Ne.gutterFiller=Le("div",null,"CodeMirror-gutter-filler"),Ne.gutterFiller.setAttribute("cm-not-content","true"),Ne.lineDiv=De("div",null,"CodeMirror-code"),Ne.selectionDiv=Le("div",null,null,"position: relative; z-index: 1"),Ne.cursorDiv=Le("div",null,"CodeMirror-cursors"),Ne.measure=Le("div",null,"CodeMirror-measure"),Ne.lineMeasure=Le("div",null,"CodeMirror-measure"),Ne.lineSpace=De("div",[Ne.measure,Ne.lineMeasure,Ne.selectionDiv,Ne.cursorDiv,Ne.lineDiv],null,"position: relative; outline: none");var Je=De("div",[Ne.lineSpace],"CodeMirror-lines");Ne.mover=Le("div",[Je],null,"position: relative"),Ne.sizer=Le("div",[Ne.mover],"CodeMirror-sizer"),Ne.sizerWidth=null,Ne.heightForcer=Le("div",null,null,"position: absolute; height: "+dt+"px; width: 1px;"),Ne.gutters=Le("div",null,"CodeMirror-gutters"),Ne.lineGutter=null,Ne.scroller=Le("div",[Ne.sizer,Ne.heightForcer,Ne.gutters],"CodeMirror-scroll"),Ne.scroller.setAttribute("tabIndex","-1"),Ne.wrapper=Le("div",[Ne.scrollbarFiller,Ne.gutterFiller,Ne.scroller],"CodeMirror"),me&&ie<8&&(Ne.gutters.style.zIndex=-1,Ne.scroller.style.paddingRight=0),!te&&!(Oe&&pe)&&(Ne.scroller.draggable=!0),E&&(E.appendChild?E.appendChild(Ne.wrapper):E(Ne.wrapper)),Ne.viewFrom=Ne.viewTo=ee.first,Ne.reportedViewFrom=Ne.reportedViewTo=ee.first,Ne.view=[],Ne.renderedView=null,Ne.externalMeasured=null,Ne.viewOffset=0,Ne.lastWrapHeight=Ne.lastWrapWidth=0,Ne.updateLineNumbers=null,Ne.nativeBarWidth=Ne.barHeight=Ne.barWidth=0,Ne.scrollbarsClipped=!1,Ne.lineNumWidth=Ne.lineNumInnerWidth=Ne.lineNumChars=null,Ne.alignWidgets=!1,Ne.cachedCharWidth=Ne.cachedTextHeight=Ne.cachedPaddingH=null,Ne.maxLine=null,Ne.maxLineLength=0,Ne.maxLineChanged=!1,Ne.wheelDX=Ne.wheelDY=Ne.wheelStartX=Ne.wheelStartY=null,Ne.shift=!1,Ne.selForContextMenu=null,Ne.activeTouch=null,Ne.gutterSpecs=ws(we.gutters,we.lineNumbers),ss(Ne),Ee.init(Ne)}var Es=0,Qo=null;me?Qo=-.53:Oe?Qo=15:ne?Qo=-.7:he&&(Qo=-1/3);function Zs(E){var ee=E.wheelDeltaX,Ee=E.wheelDeltaY;return ee==null&&E.detail&&E.axis==E.HORIZONTAL_AXIS&&(ee=E.detail),Ee==null&&E.detail&&E.axis==E.VERTICAL_AXIS?Ee=E.detail:Ee==null&&(Ee=E.wheelDelta),{x:ee,y:Ee}}function Ol(E){var ee=Zs(E);return ee.x*=Qo,ee.y*=Qo,ee}function xl(E,ee){var Ee=Zs(ee),we=Ee.x,Ne=Ee.y,Je=E.display,ft=Je.scroller,wt=ft.scrollWidth>ft.clientWidth,Mt=ft.scrollHeight>ft.clientHeight;if(we&&wt||Ne&&Mt){if(Ne&&le&&te){e:for(var Rt=ee.target,fn=Je.view;Rt!=ft;Rt=Rt.parentNode)for(var An=0;An<fn.length;An++)if(fn[An].node==Rt){E.display.currentWheelTarget=Rt;break e}}if(we&&!Oe&&!oe&&Qo!=null){Ne&&Mt&&fi(E,Math.max(0,ft.scrollTop+Ne*Qo)),Ia(E,Math.max(0,ft.scrollLeft+we*Qo)),(!Ne||Ne&&Mt)&&Gn(ee),Je.wheelStartX=null;return}if(Ne&&Qo!=null){var cr=Ne*Qo,qn=E.doc.scrollTop,Kr=qn+Je.wrapper.clientHeight;cr<0?qn=Math.max(0,qn+cr-50):Kr=Math.min(E.doc.height,Kr+cr+50),_o(E,{top:qn,bottom:Kr})}Es<20&&(Je.wheelStartX==null?(Je.wheelStartX=ft.scrollLeft,Je.wheelStartY=ft.scrollTop,Je.wheelDX=we,Je.wheelDY=Ne,setTimeout(function(){if(Je.wheelStartX!=null){var ni=ft.scrollLeft-Je.wheelStartX,Ei=ft.scrollTop-Je.wheelStartY,zi=Ei&&Je.wheelDY&&Ei/Je.wheelDY||ni&&Je.wheelDX&&ni/Je.wheelDX;Je.wheelStartX=Je.wheelStartY=null,zi&&(Qo=(Qo*Es+zi)/(Es+1),++Es)}},200)):(Je.wheelDX+=we,Je.wheelDY+=Ne))}}var ls=function(E,ee){this.ranges=E,this.primIndex=ee};ls.prototype.primary=function(){return this.ranges[this.primIndex]},ls.prototype.equals=function(E){if(E==this)return!0;if(E.primIndex!=this.primIndex||E.ranges.length!=this.ranges.length)return!1;for(var ee=0;ee<this.ranges.length;ee++){var Ee=this.ranges[ee],we=E.ranges[ee];if(!er(Ee.anchor,we.anchor)||!er(Ee.head,we.head))return!1}return!0},ls.prototype.deepCopy=function(){for(var E=[],ee=0;ee<this.ranges.length;ee++)E[ee]=new Co(Ar(this.ranges[ee].anchor),Ar(this.ranges[ee].head));return new ls(E,this.primIndex)},ls.prototype.somethingSelected=function(){for(var E=0;E<this.ranges.length;E++)if(!this.ranges[E].empty())return!0;return!1},ls.prototype.contains=function(E,ee){ee||(ee=E);for(var Ee=0;Ee<this.ranges.length;Ee++){var we=this.ranges[Ee];if(cn(ee,we.from())>=0&&cn(E,we.to())<=0)return Ee}return-1};var Co=function(E,ee){this.anchor=E,this.head=ee};Co.prototype.from=function(){return lr(this.anchor,this.head)},Co.prototype.to=function(){return Fn(this.anchor,this.head)},Co.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function cs(E,ee,Ee){var we=E&&E.options.selectionsMayTouch,Ne=ee[Ee];ee.sort(function(cr,qn){return cn(cr.from(),qn.from())}),Ee=lt(ee,Ne);for(var Je=1;Je<ee.length;Je++){var ft=ee[Je],wt=ee[Je-1],Mt=cn(wt.to(),ft.from());if(we&&!ft.empty()?Mt>0:Mt>=0){var Rt=lr(wt.from(),ft.from()),fn=Fn(wt.to(),ft.to()),An=wt.empty()?ft.from()==ft.head:wt.from()==wt.head;Je<=Ee&&--Ee,ee.splice(--Je,2,new Co(An?fn:Rt,An?Rt:fn))}}return new ls(ee,Ee)}function Gs(E,ee){return new ls([new Co(E,ee||E)],0)}function tl(E){return E.text?Jt(E.from.line+E.text.length-1,Et(E.text).length+(E.text.length==1?E.from.ch:0)):E.to}function Jo(E,ee){if(cn(E,ee.from)<0)return E;if(cn(E,ee.to)<=0)return tl(ee);var Ee=E.line+ee.text.length-(ee.to.line-ee.from.line)-1,we=E.ch;return E.line==ee.to.line&&(we+=tl(ee).ch-ee.to.ch),Jt(Ee,we)}function No(E,ee){for(var Ee=[],we=0;we<E.sel.ranges.length;we++){var Ne=E.sel.ranges[we];Ee.push(new Co(Jo(Ne.anchor,ee),Jo(Ne.head,ee)))}return cs(E.cm,Ee,E.sel.primIndex)}function Zo(E,ee,Ee){return E.line==ee.line?Jt(Ee.line,E.ch-ee.ch+Ee.ch):Jt(Ee.line+(E.line-ee.line),E.ch)}function Ks(E,ee,Ee){for(var we=[],Ne=Jt(E.first,0),Je=Ne,ft=0;ft<ee.length;ft++){var wt=ee[ft],Mt=Zo(wt.from,Ne,Je),Rt=Zo(tl(wt),Ne,Je);if(Ne=wt.to,Je=Rt,Ee=="around"){var fn=E.sel.ranges[ft],An=cn(fn.head,fn.anchor)<0;we[ft]=new Co(An?Rt:Mt,An?Mt:Rt)}else we[ft]=new Co(Mt,Mt)}return new ls(we,E.sel.primIndex)}function As(E){E.doc.mode=qt(E.options,E.doc.modeOption),zs(E)}function zs(E){E.doc.iter(function(ee){ee.stateAfter&&(ee.stateAfter=null),ee.styles&&(ee.styles=null)}),E.doc.modeFrontier=E.doc.highlightFrontier=E.doc.first,Ua(E,100),E.state.modeGen++,E.curOp&&Aa(E)}function eo(E,ee){return ee.from.ch==0&&ee.to.ch==0&&Et(ee.text)==""&&(!E.cm||E.cm.options.wholeLineUpdateBefore)}function xi(E,ee,Ee,we){function Ne(Ji){return Ee?Ee[Ji]:null}function Je(Ji,Bi,sa){mr(Ji,Bi,sa,we),Wn(Ji,"change",Ji,ee)}function ft(Ji,Bi){for(var sa=[],Wa=Ji;Wa<Bi;++Wa)sa.push(new Hn(Rt[Wa],Ne(Wa),we));return sa}var wt=ee.from,Mt=ee.to,Rt=ee.text,fn=Rn(E,wt.line),An=Rn(E,Mt.line),cr=Et(Rt),qn=Ne(Rt.length-1),Kr=Mt.line-wt.line;if(ee.full)E.insert(0,ft(0,Rt.length)),E.remove(Rt.length,E.size-Rt.length);else if(eo(E,ee)){var ni=ft(0,Rt.length-1);Je(An,An.text,qn),Kr&&E.remove(wt.line,Kr),ni.length&&E.insert(wt.line,ni)}else if(fn==An)if(Rt.length==1)Je(fn,fn.text.slice(0,wt.ch)+cr+fn.text.slice(Mt.ch),qn);else{var Ei=ft(1,Rt.length-1);Ei.push(new Hn(cr+fn.text.slice(Mt.ch),qn,we)),Je(fn,fn.text.slice(0,wt.ch)+Rt[0],Ne(0)),E.insert(wt.line+1,Ei)}else if(Rt.length==1)Je(fn,fn.text.slice(0,wt.ch)+Rt[0]+An.text.slice(Mt.ch),Ne(0)),E.remove(wt.line+1,Kr);else{Je(fn,fn.text.slice(0,wt.ch)+Rt[0],Ne(0)),Je(An,cr+An.text.slice(Mt.ch),qn);var zi=ft(1,Rt.length-1);Kr>1&&E.remove(wt.line+1,Kr-1),E.insert(wt.line+1,zi)}Wn(E,"change",E,ee)}function Qi(E,ee,Ee){function we(Ne,Je,ft){if(Ne.linked)for(var wt=0;wt<Ne.linked.length;++wt){var Mt=Ne.linked[wt];if(Mt.doc!=Je){var Rt=ft&&Mt.sharedHist;Ee&&!Rt||(ee(Mt.doc,Rt),we(Mt.doc,Ne,Rt))}}}we(E,null,!0)}function Ta(E,ee){if(ee.cm)throw new Error("This document is already in use.");E.doc=ee,ee.cm=E,os(E),As(E),Va(E),E.options.lineWrapping||En(E),E.options.mode=ee.modeOption,Aa(E)}function Va(E){(E.doc.direction=="rtl"?We:Fe)(E.display.lineDiv,"CodeMirror-rtl")}function Go(E){bi(E,function(){Va(E),Aa(E)})}function Xo(E){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=E||1}function gl(E,ee){var Ee={from:Ar(ee.from),to:tl(ee),text:pr(E,ee.from,ee.to)};return Kc(E,Ee,ee.from.line,ee.to.line+1),Qi(E,function(we){return Kc(we,Ee,ee.from.line,ee.to.line+1)},!0),Ee}function Js(E){for(;E.length;){var ee=Et(E);if(ee.ranges)E.pop();else break}}function Dl(E,ee){if(ee)return Js(E.done),Et(E.done);if(E.done.length&&!Et(E.done).ranges)return Et(E.done);if(E.done.length>1&&!E.done[E.done.length-2].ranges)return E.done.pop(),Et(E.done)}function Ps(E,ee,Ee,we){var Ne=E.history;Ne.undone.length=0;var Je=+new Date,ft,wt;if((Ne.lastOp==we||Ne.lastOrigin==ee.origin&&ee.origin&&(ee.origin.charAt(0)=="+"&&Ne.lastModTime>Je-(E.cm?E.cm.options.historyEventDelay:500)||ee.origin.charAt(0)=="*"))&&(ft=Dl(Ne,Ne.lastOp==we)))wt=Et(ft.changes),cn(ee.from,ee.to)==0&&cn(ee.from,wt.to)==0?wt.to=tl(ee):ft.changes.push(gl(E,ee));else{var Mt=Et(Ne.done);for((!Mt||!Mt.ranges)&&oc(E.sel,Ne.done),ft={changes:[gl(E,ee)],generation:Ne.generation},Ne.done.push(ft);Ne.done.length>Ne.undoDepth;)Ne.done.shift(),Ne.done[0].ranges||Ne.done.shift()}Ne.done.push(Ee),Ne.generation=++Ne.maxGeneration,Ne.lastModTime=Ne.lastSelTime=Je,Ne.lastOp=Ne.lastSelOp=we,Ne.lastOrigin=Ne.lastSelOrigin=ee.origin,wt||Pt(E,"historyAdded")}function Il(E,ee,Ee,we){var Ne=ee.charAt(0);return Ne=="*"||Ne=="+"&&Ee.ranges.length==we.ranges.length&&Ee.somethingSelected()==we.somethingSelected()&&new Date-E.history.lastSelTime<=(E.cm?E.cm.options.historyEventDelay:500)}function ac(E,ee,Ee,we){var Ne=E.history,Je=we&&we.origin;Ee==Ne.lastSelOp||Je&&Ne.lastSelOrigin==Je&&(Ne.lastModTime==Ne.lastSelTime&&Ne.lastOrigin==Je||Il(E,Je,Et(Ne.done),ee))?Ne.done[Ne.done.length-1]=ee:oc(ee,Ne.done),Ne.lastSelTime=+new Date,Ne.lastSelOrigin=Je,Ne.lastSelOp=Ee,we&&we.clearRedo!==!1&&Js(Ne.undone)}function oc(E,ee){var Ee=Et(ee);Ee&&Ee.ranges&&Ee.equals(E)||ee.push(E)}function Kc(E,ee,Ee,we){var Ne=ee["spans_"+E.id],Je=0;E.iter(Math.max(E.first,Ee),Math.min(E.first+E.size,we),function(ft){ft.markedSpans&&((Ne||(Ne=ee["spans_"+E.id]={}))[Je]=ft.markedSpans),++Je})}function Rl(E){if(!E)return null;for(var ee,Ee=0;Ee<E.length;++Ee)E[Ee].marker.explicitlyCleared?ee||(ee=E.slice(0,Ee)):ee&&ee.push(E[Ee]);return ee?ee.length?ee:null:E}function Bl(E,ee){var Ee=ee["spans_"+E.id];if(!Ee)return null;for(var we=[],Ne=0;Ne<ee.text.length;++Ne)we.push(Rl(Ee[Ne]));return we}function mu(E,ee){var Ee=Bl(E,ee),we=Li(E,ee);if(!Ee)return we;if(!we)return Ee;for(var Ne=0;Ne<Ee.length;++Ne){var Je=Ee[Ne],ft=we[Ne];if(Je&&ft)e:for(var wt=0;wt<ft.length;++wt){for(var Mt=ft[wt],Rt=0;Rt<Je.length;++Rt)if(Je[Rt].marker==Mt.marker)continue e;Je.push(Mt)}else ft&&(Ee[Ne]=ft)}return Ee}function Al(E,ee,Ee){for(var we=[],Ne=0;Ne<E.length;++Ne){var Je=E[Ne];if(Je.ranges){we.push(Ee?ls.prototype.deepCopy.call(Je):Je);continue}var ft=Je.changes,wt=[];we.push({changes:wt});for(var Mt=0;Mt<ft.length;++Mt){var Rt=ft[Mt],fn=void 0;if(wt.push({from:Rt.from,to:Rt.to,text:Rt.text}),ee)for(var An in Rt)(fn=An.match(/^spans_(\d+)$/))&&lt(ee,Number(fn[1]))>-1&&(Et(wt)[An]=Rt[An],delete Rt[An])}}return we}function Qc(E,ee,Ee,we){if(we){var Ne=E.anchor;if(Ee){var Je=cn(ee,Ne)<0;Je!=cn(Ee,Ne)<0?(Ne=ee,ee=Ee):Je!=cn(ee,Ee)<0&&(ee=Ee)}return new Co(Ne,ee)}else return new Co(Ee||ee,ee)}function sc(E,ee,Ee,we,Ne){Ne==null&&(Ne=E.cm&&(E.cm.display.shift||E.extend)),Ts(E,new ls([Qc(E.sel.primary(),ee,Ee,Ne)],0),we)}function aa(E,ee,Ee){for(var we=[],Ne=E.cm&&(E.cm.display.shift||E.extend),Je=0;Je<E.sel.ranges.length;Je++)we[Je]=Qc(E.sel.ranges[Je],ee[Je],null,Ne);var ft=cs(E.cm,we,E.sel.primIndex);Ts(E,ft,Ee)}function wl(E,ee,Ee,we){var Ne=E.sel.ranges.slice(0);Ne[ee]=Ee,Ts(E,cs(E.cm,Ne,E.sel.primIndex),we)}function vu(E,ee,Ee,we){Ts(E,Gs(ee,Ee),we)}function gu(E,ee,Ee){var we={ranges:ee.ranges,update:function(Ne){this.ranges=[];for(var Je=0;Je<Ne.length;Je++)this.ranges[Je]=new Co(wr(E,Ne[Je].anchor),wr(E,Ne[Je].head))},origin:Ee&&Ee.origin};return Pt(E,"beforeSelectionChange",E,we),E.cm&&Pt(E.cm,"beforeSelectionChange",E.cm,we),we.ranges!=ee.ranges?cs(E.cm,we.ranges,we.ranges.length-1):ee}function il(E,ee,Ee){var we=E.history.done,Ne=Et(we);Ne&&Ne.ranges?(we[we.length-1]=ee,gc(E,ee,Ee)):Ts(E,ee,Ee)}function Ts(E,ee,Ee){gc(E,ee,Ee),ac(E,E.sel,E.cm?E.cm.curOp.id:NaN,Ee)}function gc(E,ee,Ee){(gn(E,"beforeSelectionChange")||E.cm&&gn(E.cm,"beforeSelectionChange"))&&(ee=gu(E,ee,Ee));var we=Ee&&Ee.bias||(cn(ee.primary().head,E.sel.primary().head)<0?-1:1);ju(E,lc(E,ee,we,!0)),!(Ee&&Ee.scroll===!1)&&E.cm&&ba(E.cm)}function ju(E,ee){ee.equals(E.sel)||(E.sel=ee,E.cm&&(E.cm.curOp.updateInput=1,E.cm.curOp.selectionChanged=!0,an(E.cm)),Wn(E,"cursorActivity",E))}function yu(E){ju(E,lc(E,E.sel,null,!1))}function lc(E,ee,Ee,we){for(var Ne,Je=0;Je<ee.ranges.length;Je++){var ft=ee.ranges[Je],wt=ee.ranges.length==E.sel.ranges.length&&E.sel.ranges[Je],Mt=Jc(E,ft.anchor,wt&&wt.anchor,Ee,we),Rt=Jc(E,ft.head,wt&&wt.head,Ee,we);(Ne||Mt!=ft.anchor||Rt!=ft.head)&&(Ne||(Ne=ee.ranges.slice(0,Je)),Ne[Je]=new Co(Mt,Rt))}return Ne?cs(E.cm,Ne,ee.primIndex):ee}function al(E,ee,Ee,we,Ne){var Je=Rn(E,ee.line);if(Je.markedSpans)for(var ft=0;ft<Je.markedSpans.length;++ft){var wt=Je.markedSpans[ft],Mt=wt.marker,Rt="selectLeft"in Mt?!Mt.selectLeft:Mt.inclusiveLeft,fn="selectRight"in Mt?!Mt.selectRight:Mt.inclusiveRight;if((wt.from==null||(Rt?wt.from<=ee.ch:wt.from<ee.ch))&&(wt.to==null||(fn?wt.to>=ee.ch:wt.to>ee.ch))){if(Ne&&(Pt(Mt,"beforeCursorEnter"),Mt.explicitlyCleared))if(Je.markedSpans){--ft;continue}else break;if(!Mt.atomic)continue;if(Ee){var An=Mt.find(we<0?1:-1),cr=void 0;if((we<0?fn:Rt)&&(An=zl(E,An,-we,An&&An.line==ee.line?Je:null)),An&&An.line==ee.line&&(cr=cn(An,Ee))&&(we<0?cr<0:cr>0))return al(E,An,ee,we,Ne)}var qn=Mt.find(we<0?-1:1);return(we<0?Rt:fn)&&(qn=zl(E,qn,we,qn.line==ee.line?Je:null)),qn?al(E,qn,ee,we,Ne):null}}return ee}function Jc(E,ee,Ee,we,Ne){var Je=we||1,ft=al(E,ee,Ee,Je,Ne)||!Ne&&al(E,ee,Ee,Je,!0)||al(E,ee,Ee,-Je,Ne)||!Ne&&al(E,ee,Ee,-Je,!0);return ft||(E.cantEdit=!0,Jt(E.first,0))}function zl(E,ee,Ee,we){return Ee<0&&ee.ch==0?ee.line>E.first?wr(E,Jt(ee.line-1)):null:Ee>0&&ee.ch==(we||Rn(E,ee.line)).text.length?ee.line<E.first+E.size-1?Jt(ee.line+1,0):null:new Jt(ee.line,ee.ch+Ee)}function $c(E){E.setSelection(Jt(E.firstLine(),0),Jt(E.lastLine()),nt)}function yc(E,ee,Ee){var we={canceled:!1,from:ee.from,to:ee.to,text:ee.text,origin:ee.origin,cancel:function(){return we.canceled=!0}};return Ee&&(we.update=function(Ne,Je,ft,wt){Ne&&(we.from=wr(E,Ne)),Je&&(we.to=wr(E,Je)),ft&&(we.text=ft),wt!==void 0&&(we.origin=wt)}),Pt(E,"beforeChange",E,we),E.cm&&Pt(E.cm,"beforeChange",E.cm,we),we.canceled?(E.cm&&(E.cm.curOp.updateInput=2),null):{from:we.from,to:we.to,text:we.text,origin:we.origin}}function go(E,ee,Ee){if(E.cm){if(!E.cm.curOp)return ia(E.cm,go)(E,ee,Ee);if(E.cm.state.suppressEdits)return}if(!((gn(E,"beforeChange")||E.cm&&gn(E.cm,"beforeChange"))&&(ee=yc(E,ee,!0),!ee))){var we=Ya&&!Ee&&ji(E,ee.from,ee.to);if(we)for(var Ne=we.length-1;Ne>=0;--Ne)yo(E,{from:we[Ne].from,to:we[Ne].to,text:Ne?[""]:ee.text,origin:ee.origin});else yo(E,ee)}}function yo(E,ee){if(!(ee.text.length==1&&ee.text[0]==""&&cn(ee.from,ee.to)==0)){var Ee=No(E,ee);Ps(E,ee,Ee,E.cm?E.cm.curOp.id:NaN),gs(E,ee,Ee,Li(E,ee));var we=[];Qi(E,function(Ne,Je){!Je&&lt(we,Ne.history)==-1&&(_l(Ne.history,ee),we.push(Ne.history)),gs(Ne,ee,null,Li(Ne,ee))})}}function Ss(E,ee,Ee){var we=E.cm&&E.cm.state.suppressEdits;if(!(we&&!Ee)){for(var Ne=E.history,Je,ft=E.sel,wt=ee=="undo"?Ne.done:Ne.undone,Mt=ee=="undo"?Ne.undone:Ne.done,Rt=0;Rt<wt.length&&(Je=wt[Rt],!(Ee?Je.ranges&&!Je.equals(E.sel):!Je.ranges));Rt++);if(Rt!=wt.length){for(Ne.lastOrigin=Ne.lastSelOrigin=null;;)if(Je=wt.pop(),Je.ranges){if(oc(Je,Mt),Ee&&!Je.equals(E.sel)){Ts(E,Je,{clearRedo:!1});return}ft=Je}else if(we){wt.push(Je);return}else break;var fn=[];oc(ft,Mt),Mt.push({changes:fn,generation:Ne.generation}),Ne.generation=Je.generation||++Ne.maxGeneration;for(var An=gn(E,"beforeChange")||E.cm&&gn(E.cm,"beforeChange"),cr=function(ni){var Ei=Je.changes[ni];if(Ei.origin=ee,An&&!yc(E,Ei,!1))return wt.length=0,{};fn.push(gl(E,Ei));var zi=ni?No(E,Ei):Et(wt);gs(E,Ei,zi,mu(E,Ei)),!ni&&E.cm&&E.cm.scrollIntoView({from:Ei.from,to:tl(Ei)});var Ji=[];Qi(E,function(Bi,sa){!sa&&lt(Ji,Bi.history)==-1&&(_l(Bi.history,Ei),Ji.push(Bi.history)),gs(Bi,Ei,null,mu(Bi,Ei))})},qn=Je.changes.length-1;qn>=0;--qn){var Kr=cr(qn);if(Kr)return Kr.v}}}}function nl(E,ee){if(ee!=0&&(E.first+=ee,E.sel=new ls(ut(E.sel.ranges,function(Ne){return new Co(Jt(Ne.anchor.line+ee,Ne.anchor.ch),Jt(Ne.head.line+ee,Ne.head.ch))}),E.sel.primIndex),E.cm)){Aa(E.cm,E.first,E.first-ee,ee);for(var Ee=E.cm.display,we=Ee.viewFrom;we<Ee.viewTo;we++)Do(E.cm,we,"gutter")}}function gs(E,ee,Ee,we){if(E.cm&&!E.cm.curOp)return ia(E.cm,gs)(E,ee,Ee,we);if(ee.to.line<E.first){nl(E,ee.text.length-1-(ee.to.line-ee.from.line));return}if(!(ee.from.line>E.lastLine())){if(ee.from.line<E.first){var Ne=ee.text.length-1-(E.first-ee.from.line);nl(E,Ne),ee={from:Jt(E.first,0),to:Jt(ee.to.line+Ne,ee.to.ch),text:[Et(ee.text)],origin:ee.origin}}var Je=E.lastLine();ee.to.line>Je&&(ee={from:ee.from,to:Jt(Je,Rn(E,Je).text.length),text:[ee.text[0]],origin:ee.origin}),ee.removed=pr(E,ee.from,ee.to),Ee||(Ee=No(E,ee)),E.cm?yl(E.cm,ee,we):xi(E,ee,we),gc(E,Ee,nt),E.cantEdit&&Jc(E,Jt(E.firstLine(),0))&&(E.cantEdit=!1)}}function yl(E,ee,Ee){var we=E.doc,Ne=E.display,Je=ee.from,ft=ee.to,wt=!1,Mt=Je.line;E.options.lineWrapping||(Mt=Ir(Nt(Rn(we,Je.line))),we.iter(Mt,ft.line+1,function(qn){if(qn==Ne.maxLine)return wt=!0,!0})),we.sel.contains(ee.from,ee.to)>-1&&an(E),xi(we,ee,Ee,Fs(E)),E.options.lineWrapping||(we.iter(Mt,Je.line+ee.text.length,function(qn){var Kr=In(qn);Kr>Ne.maxLineLength&&(Ne.maxLine=qn,Ne.maxLineLength=Kr,Ne.maxLineChanged=!0,wt=!1)}),wt&&(E.curOp.updateMaxLine=!0)),ro(we,Je.line),Ua(E,400);var Rt=ee.text.length-(ft.line-Je.line)-1;ee.full?Aa(E):Je.line==ft.line&&ee.text.length==1&&!eo(E.doc,ee)?Do(E,Je.line,"text"):Aa(E,Je.line,ft.line+1,Rt);var fn=gn(E,"changes"),An=gn(E,"change");if(An||fn){var cr={from:Je,to:ft,text:ee.text,removed:ee.removed,origin:ee.origin};An&&Wn(E,"change",E,cr),fn&&(E.curOp.changeObjs||(E.curOp.changeObjs=[])).push(cr)}E.display.selForContextMenu=null}function ol(E,ee,Ee,we,Ne){var Je;we||(we=Ee),cn(we,Ee)<0&&(Je=[we,Ee],Ee=Je[0],we=Je[1]),typeof ee=="string"&&(ee=E.splitLines(ee)),go(E,{from:Ee,to:we,text:ee,origin:Ne})}function bc(E,ee,Ee,we){Ee<E.line?E.line+=we:ee<E.line&&(E.line=ee,E.ch=0)}function Hl(E,ee,Ee,we){for(var Ne=0;Ne<E.length;++Ne){var Je=E[Ne],ft=!0;if(Je.ranges){Je.copied||(Je=E[Ne]=Je.deepCopy(),Je.copied=!0);for(var wt=0;wt<Je.ranges.length;wt++)bc(Je.ranges[wt].anchor,ee,Ee,we),bc(Je.ranges[wt].head,ee,Ee,we);continue}for(var Mt=0;Mt<Je.changes.length;++Mt){var Rt=Je.changes[Mt];if(Ee<Rt.from.line)Rt.from=Jt(Rt.from.line+we,Rt.from.ch),Rt.to=Jt(Rt.to.line+we,Rt.to.ch);else if(ee<=Rt.to.line){ft=!1;break}}ft||(E.splice(0,Ne+1),Ne=0)}}function _l(E,ee){var Ee=ee.from.line,we=ee.to.line,Ne=ee.text.length-(we-Ee)-1;Hl(E.done,Ee,we,Ne),Hl(E.undone,Ee,we,Ne)}function Ml(E,ee,Ee,we){var Ne=ee,Je=ee;return typeof ee=="number"?Je=Rn(E,ir(E,ee)):Ne=Ir(ee),Ne==null?null:(we(Je,Ne)&&E.cm&&Do(E.cm,Ne,Ee),Je)}function Wl(E){this.lines=E,this.parent=null;for(var ee=0,Ee=0;Ee<E.length;++Ee)E[Ee].parent=this,ee+=E[Ee].height;this.height=ee}Wl.prototype={chunkSize:function(){return this.lines.length},removeInner:function(E,ee){for(var Ee=E,we=E+ee;Ee<we;++Ee){var Ne=this.lines[Ee];this.height-=Ne.height,Qn(Ne),Wn(Ne,"delete")}this.lines.splice(E,ee)},collapse:function(E){E.push.apply(E,this.lines)},insertInner:function(E,ee,Ee){this.height+=Ee,this.lines=this.lines.slice(0,E).concat(ee).concat(this.lines.slice(E));for(var we=0;we<ee.length;++we)ee[we].parent=this},iterN:function(E,ee,Ee){for(var we=E+ee;E<we;++E)if(Ee(this.lines[E]))return!0}};function qc(E){this.children=E;for(var ee=0,Ee=0,we=0;we<E.length;++we){var Ne=E[we];ee+=Ne.chunkSize(),Ee+=Ne.height,Ne.parent=this}this.size=ee,this.height=Ee,this.parent=null}qc.prototype={chunkSize:function(){return this.size},removeInner:function(E,ee){this.size-=ee;for(var Ee=0;Ee<this.children.length;++Ee){var we=this.children[Ee],Ne=we.chunkSize();if(E<Ne){var Je=Math.min(ee,Ne-E),ft=we.height;if(we.removeInner(E,Je),this.height-=ft-we.height,Ne==Je&&(this.children.splice(Ee--,1),we.parent=null),(ee-=Je)==0)break;E=0}else E-=Ne}if(this.size-ee<25&&(this.children.length>1||!(this.children[0]instanceof Wl))){var wt=[];this.collapse(wt),this.children=[new Wl(wt)],this.children[0].parent=this}},collapse:function(E){for(var ee=0;ee<this.children.length;++ee)this.children[ee].collapse(E)},insertInner:function(E,ee,Ee){this.size+=ee.length,this.height+=Ee;for(var we=0;we<this.children.length;++we){var Ne=this.children[we],Je=Ne.chunkSize();if(E<=Je){if(Ne.insertInner(E,ee,Ee),Ne.lines&&Ne.lines.length>50){for(var ft=Ne.lines.length%25+25,wt=ft;wt<Ne.lines.length;){var Mt=new Wl(Ne.lines.slice(wt,wt+=25));Ne.height-=Mt.height,this.children.splice(++we,0,Mt),Mt.parent=this}Ne.lines=Ne.lines.slice(0,ft),this.maybeSpill()}break}E-=Je}},maybeSpill:function(){if(!(this.children.length<=10)){var E=this;do{var ee=E.children.splice(E.children.length-5,5),Ee=new qc(ee);if(E.parent){E.size-=Ee.size,E.height-=Ee.height;var Ne=lt(E.parent.children,E);E.parent.children.splice(Ne+1,0,Ee)}else{var we=new qc(E.children);we.parent=E,E.children=[we,Ee],E=we}Ee.parent=E.parent}while(E.children.length>10);E.parent.maybeSpill()}},iterN:function(E,ee,Ee){for(var we=0;we<this.children.length;++we){var Ne=this.children[we],Je=Ne.chunkSize();if(E<Je){var ft=Math.min(ee,Je-E);if(Ne.iterN(E,ft,Ee))return!0;if((ee-=ft)==0)break;E=0}else E-=Je}}};var eu=function(E,ee,Ee){if(Ee)for(var we in Ee)Ee.hasOwnProperty(we)&&(this[we]=Ee[we]);this.doc=E,this.node=ee};eu.prototype.clear=function(){var E=this.doc.cm,ee=this.line.widgets,Ee=this.line,we=Ir(Ee);if(!(we==null||!ee)){for(var Ne=0;Ne<ee.length;++Ne)ee[Ne]==this&&ee.splice(Ne--,1);ee.length||(Ee.widgets=null);var Je=Ai(this);Lr(Ee,Math.max(0,Ee.height-Je)),E&&(bi(E,function(){rf(E,Ee,-Je),Do(E,we,"widget")}),Wn(E,"lineWidgetCleared",E,this,we))}},eu.prototype.changed=function(){var E=this,ee=this.height,Ee=this.doc.cm,we=this.line;this.height=null;var Ne=Ai(this)-ee;Ne&&($n(this.doc,we)||Lr(we,we.height+Ne),Ee&&bi(Ee,function(){Ee.curOp.forceUpdate=!0,rf(Ee,we,Ne),Wn(Ee,"lineWidgetChanged",Ee,E,Ir(we))}))},Tn(eu);function rf(E,ee,Ee){On(ee)<(E.curOp&&E.curOp.scrollTop||E.doc.scrollTop)&&ta(E,Ee)}function af(E,ee,Ee,we){var Ne=new eu(E,Ee,we),Je=E.cm;return Je&&Ne.noHScroll&&(Je.display.alignWidgets=!0),Ml(E,ee,"widget",function(ft){var wt=ft.widgets||(ft.widgets=[]);if(Ne.insertAt==null?wt.push(Ne):wt.splice(Math.min(wt.length-1,Math.max(0,Ne.insertAt)),0,Ne),Ne.line=ft,Je&&!$n(E,ft)){var Mt=On(ft)<E.scrollTop;Lr(ft,ft.height+Ai(Ne)),Mt&&ta(Je,Ne.height),Je.curOp.forceUpdate=!0}return!0}),Je&&Wn(Je,"lineWidgetAdded",Je,Ne,typeof ee=="number"?ee:Ir(ee)),Ne}var of=0,xc=function(E,ee){this.lines=[],this.type=ee,this.doc=E,this.id=++of};xc.prototype.clear=function(){if(!this.explicitlyCleared){var E=this.doc.cm,ee=E&&!E.curOp;if(ee&&no(E),gn(this,"clear")){var Ee=this.find();Ee&&Wn(this,"clear",Ee.from,Ee.to)}for(var we=null,Ne=null,Je=0;Je<this.lines.length;++Je){var ft=this.lines[Je],wt=ar(ft.markedSpans,this);E&&!this.collapsed?Do(E,Ir(ft),"text"):E&&(wt.to!=null&&(Ne=Ir(ft)),wt.from!=null&&(we=Ir(ft))),ft.markedSpans=gr(ft.markedSpans,wt),wt.from==null&&this.collapsed&&!$n(this.doc,ft)&&E&&Lr(ft,Fo(E.display))}if(E&&this.collapsed&&!E.options.lineWrapping)for(var Mt=0;Mt<this.lines.length;++Mt){var Rt=Nt(this.lines[Mt]),fn=In(Rt);fn>E.display.maxLineLength&&(E.display.maxLine=Rt,E.display.maxLineLength=fn,E.display.maxLineChanged=!0)}we!=null&&E&&this.collapsed&&Aa(E,we,Ne+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,E&&yu(E.doc)),E&&Wn(E,"markerCleared",E,this,we,Ne),ee&&Io(E),this.parent&&this.parent.clear()}},xc.prototype.find=function(E,ee){E==null&&this.type=="bookmark"&&(E=1);for(var Ee,we,Ne=0;Ne<this.lines.length;++Ne){var Je=this.lines[Ne],ft=ar(Je.markedSpans,this);if(ft.from!=null&&(Ee=Jt(ee?Je:Ir(Je),ft.from),E==-1))return Ee;if(ft.to!=null&&(we=Jt(ee?Je:Ir(Je),ft.to),E==1))return we}return Ee&&{from:Ee,to:we}},xc.prototype.changed=function(){var E=this,ee=this.find(-1,!0),Ee=this,we=this.doc.cm;!ee||!we||bi(we,function(){var Ne=ee.line,Je=Ir(ee.line),ft=Za(we,Je);if(ft&&(za(ft),we.curOp.selectionChanged=we.curOp.forceUpdate=!0),we.curOp.updateMaxLine=!0,!$n(Ee.doc,Ne)&&Ee.height!=null){var wt=Ee.height;Ee.height=null;var Mt=Ai(Ee)-wt;Mt&&Lr(Ne,Ne.height+Mt)}Wn(we,"markerChanged",we,E)})},xc.prototype.attachLine=function(E){if(!this.lines.length&&this.doc.cm){var ee=this.doc.cm.curOp;(!ee.maybeHiddenMarkers||lt(ee.maybeHiddenMarkers,this)==-1)&&(ee.maybeUnhiddenMarkers||(ee.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(E)},xc.prototype.detachLine=function(E){if(this.lines.splice(lt(this.lines,E),1),!this.lines.length&&this.doc.cm){var ee=this.doc.cm.curOp;(ee.maybeHiddenMarkers||(ee.maybeHiddenMarkers=[])).push(this)}},Tn(xc);function cc(E,ee,Ee,we,Ne){if(we&&we.shared)return ys(E,ee,Ee,we,Ne);if(E.cm&&!E.cm.curOp)return ia(E.cm,cc)(E,ee,Ee,we,Ne);var Je=new xc(E,Ne),ft=cn(ee,Ee);if(we&&pt(we,Je,!1),ft>0||ft==0&&Je.clearWhenEmpty!==!1)return Je;if(Je.replacedWith&&(Je.collapsed=!0,Je.widgetNode=De("span",[Je.replacedWith],"CodeMirror-widget"),we.handleMouseEvents||Je.widgetNode.setAttribute("cm-ignore-events","true"),we.insertLeft&&(Je.widgetNode.insertLeft=!0)),Je.collapsed){if(Tt(E,ee.line,ee,Ee,Je)||ee.line!=Ee.line&&Tt(E,Ee.line,ee,Ee,Je))throw new Error("Inserting collapsed marker partially overlapping an existing one");sn()}Je.addToHistory&&Ps(E,{from:ee,to:Ee,origin:"markText"},E.sel,NaN);var wt=ee.line,Mt=E.cm,Rt;if(E.iter(wt,Ee.line+1,function(An){Mt&&Je.collapsed&&!Mt.options.lineWrapping&&Nt(An)==Mt.display.maxLine&&(Rt=!0),Je.collapsed&&wt!=ee.line&&Lr(An,0),Xr(An,new jn(Je,wt==ee.line?ee.ch:null,wt==Ee.line?Ee.ch:null)),++wt}),Je.collapsed&&E.iter(ee.line,Ee.line+1,function(An){$n(E,An)&&Lr(An,0)}),Je.clearOnEnter&&Qt(Je,"beforeCursorEnter",function(){return Je.clear()}),Je.readOnly&&(mn(),(E.history.done.length||E.history.undone.length)&&E.clearHistory()),Je.collapsed&&(Je.id=++of,Je.atomic=!0),Mt){if(Rt&&(Mt.curOp.updateMaxLine=!0),Je.collapsed)Aa(Mt,ee.line,Ee.line+1);else if(Je.className||Je.startStyle||Je.endStyle||Je.css||Je.attributes||Je.title)for(var fn=ee.line;fn<=Ee.line;fn++)Do(Mt,fn,"text");Je.atomic&&yu(Mt.doc),Wn(Mt,"markerAdded",Mt,Je)}return Je}var Eo=function(E,ee){this.markers=E,this.primary=ee;for(var Ee=0;Ee<E.length;++Ee)E[Ee].parent=this};Eo.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var E=0;E<this.markers.length;++E)this.markers[E].clear();Wn(this,"clear")}},Eo.prototype.find=function(E,ee){return this.primary.find(E,ee)},Tn(Eo);function ys(E,ee,Ee,we,Ne){we=pt(we),we.shared=!1;var Je=[cc(E,ee,Ee,we,Ne)],ft=Je[0],wt=we.widgetNode;return Qi(E,function(Mt){wt&&(we.widgetNode=wt.cloneNode(!0)),Je.push(cc(Mt,wr(Mt,ee),wr(Mt,Ee),we,Ne));for(var Rt=0;Rt<Mt.linked.length;++Rt)if(Mt.linked[Rt].isParent)return;ft=Et(Je)}),new Eo(Je,ft)}function wc(E){return E.findMarks(Jt(E.first,0),E.clipPos(Jt(E.lastLine())),function(ee){return ee.parent})}function sf(E,ee){for(var Ee=0;Ee<ee.length;Ee++){var we=ee[Ee],Ne=we.find(),Je=E.clipPos(Ne.from),ft=E.clipPos(Ne.to);if(cn(Je,ft)){var wt=cc(E,Je,ft,we.primary,we.primary.type);we.markers.push(wt),wt.parent=we}}}function Ll(E){for(var ee=function(we){var Ne=E[we],Je=[Ne.primary.doc];Qi(Ne.primary.doc,function(Mt){return Je.push(Mt)});for(var ft=0;ft<Ne.markers.length;ft++){var wt=Ne.markers[ft];lt(Je,wt.doc)==-1&&(wt.parent=null,Ne.markers.splice(ft--,1))}},Ee=0;Ee<E.length;Ee++)ee(Ee)}var lf=0,Hs=function(E,ee,Ee,we,Ne){if(!(this instanceof Hs))return new Hs(E,ee,Ee,we,Ne);Ee==null&&(Ee=0),qc.call(this,[new Wl([new Hn("",null)])]),this.first=Ee,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=Ee;var Je=Jt(Ee,0);this.sel=Gs(Je),this.history=new Xo(null),this.id=++lf,this.modeOption=ee,this.lineSep=we,this.direction=Ne=="rtl"?"rtl":"ltr",this.extend=!1,typeof E=="string"&&(E=this.splitLines(E)),xi(this,{from:Je,to:Je,text:E}),Ts(this,Gs(Je),nt)};Hs.prototype=de(qc.prototype,{constructor:Hs,iter:function(E,ee,Ee){Ee?this.iterN(E-this.first,ee-E,Ee):this.iterN(this.first,this.first+this.size,E)},insert:function(E,ee){for(var Ee=0,we=0;we<ee.length;++we)Ee+=ee[we].height;this.insertInner(E-this.first,ee,Ee)},remove:function(E,ee){this.removeInner(E-this.first,ee)},getValue:function(E){var ee=ii(this,this.first,this.first+this.size);return E===!1?ee:ee.join(E||this.lineSeparator())},setValue:Pa(function(E){var ee=Jt(this.first,0),Ee=this.first+this.size-1;go(this,{from:ee,to:Jt(Ee,Rn(this,Ee).text.length),text:this.splitLines(E),origin:"setValue",full:!0},!0),this.cm&&Ki(this.cm,0,0),Ts(this,Gs(ee),nt)}),replaceRange:function(E,ee,Ee,we){ee=wr(this,ee),Ee=Ee?wr(this,Ee):ee,ol(this,E,ee,Ee,we)},getRange:function(E,ee,Ee){var we=pr(this,wr(this,E),wr(this,ee));return Ee===!1?we:we.join(Ee||this.lineSeparator())},getLine:function(E){var ee=this.getLineHandle(E);return ee&&ee.text},getLineHandle:function(E){if(Zr(this,E))return Rn(this,E)},getLineNumber:function(E){return Ir(E)},getLineHandleVisualStart:function(E){return typeof E=="number"&&(E=Rn(this,E)),Nt(E)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(E){return wr(this,E)},getCursor:function(E){var ee=this.sel.primary(),Ee;return E==null||E=="head"?Ee=ee.head:E=="anchor"?Ee=ee.anchor:E=="end"||E=="to"||E===!1?Ee=ee.to():Ee=ee.from(),Ee},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Pa(function(E,ee,Ee){vu(this,wr(this,typeof E=="number"?Jt(E,ee||0):E),null,Ee)}),setSelection:Pa(function(E,ee,Ee){vu(this,wr(this,E),wr(this,ee||E),Ee)}),extendSelection:Pa(function(E,ee,Ee){sc(this,wr(this,E),ee&&wr(this,ee),Ee)}),extendSelections:Pa(function(E,ee){aa(this,Zn(this,E),ee)}),extendSelectionsBy:Pa(function(E,ee){var Ee=ut(this.sel.ranges,E);aa(this,Zn(this,Ee),ee)}),setSelections:Pa(function(E,ee,Ee){if(E.length){for(var we=[],Ne=0;Ne<E.length;Ne++)we[Ne]=new Co(wr(this,E[Ne].anchor),wr(this,E[Ne].head));ee==null&&(ee=Math.min(E.length-1,this.sel.primIndex)),Ts(this,cs(this.cm,we,ee),Ee)}}),addSelection:Pa(function(E,ee,Ee){var we=this.sel.ranges.slice(0);we.push(new Co(wr(this,E),wr(this,ee||E))),Ts(this,cs(this.cm,we,we.length-1),Ee)}),getSelection:function(E){for(var ee=this.sel.ranges,Ee,we=0;we<ee.length;we++){var Ne=pr(this,ee[we].from(),ee[we].to());Ee=Ee?Ee.concat(Ne):Ne}return E===!1?Ee:Ee.join(E||this.lineSeparator())},getSelections:function(E){for(var ee=[],Ee=this.sel.ranges,we=0;we<Ee.length;we++){var Ne=pr(this,Ee[we].from(),Ee[we].to());E!==!1&&(Ne=Ne.join(E||this.lineSeparator())),ee[we]=Ne}return ee},replaceSelection:function(E,ee,Ee){for(var we=[],Ne=0;Ne<this.sel.ranges.length;Ne++)we[Ne]=E;this.replaceSelections(we,ee,Ee||"+input")},replaceSelections:Pa(function(E,ee,Ee){for(var we=[],Ne=this.sel,Je=0;Je<Ne.ranges.length;Je++){var ft=Ne.ranges[Je];we[Je]={from:ft.from(),to:ft.to(),text:this.splitLines(E[Je]),origin:Ee}}for(var wt=ee&&ee!="end"&&Ks(this,we,ee),Mt=we.length-1;Mt>=0;Mt--)go(this,we[Mt]);wt?il(this,wt):this.cm&&ba(this.cm)}),undo:Pa(function(){Ss(this,"undo")}),redo:Pa(function(){Ss(this,"redo")}),undoSelection:Pa(function(){Ss(this,"undo",!0)}),redoSelection:Pa(function(){Ss(this,"redo",!0)}),setExtending:function(E){this.extend=E},getExtending:function(){return this.extend},historySize:function(){for(var E=this.history,ee=0,Ee=0,we=0;we<E.done.length;we++)E.done[we].ranges||++ee;for(var Ne=0;Ne<E.undone.length;Ne++)E.undone[Ne].ranges||++Ee;return{undo:ee,redo:Ee}},clearHistory:function(){var E=this;this.history=new Xo(this.history.maxGeneration),Qi(this,function(ee){return ee.history=E.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(E){return E&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(E){return this.history.generation==(E||this.cleanGeneration)},getHistory:function(){return{done:Al(this.history.done),undone:Al(this.history.undone)}},setHistory:function(E){var ee=this.history=new Xo(this.history.maxGeneration);ee.done=Al(E.done.slice(0),null,!0),ee.undone=Al(E.undone.slice(0),null,!0)},setGutterMarker:Pa(function(E,ee,Ee){return Ml(this,E,"gutter",function(we){var Ne=we.gutterMarkers||(we.gutterMarkers={});return Ne[ee]=Ee,!Ee&&Ae(Ne)&&(we.gutterMarkers=null),!0})}),clearGutter:Pa(function(E){var ee=this;this.iter(function(Ee){Ee.gutterMarkers&&Ee.gutterMarkers[E]&&Ml(ee,Ee,"gutter",function(){return Ee.gutterMarkers[E]=null,Ae(Ee.gutterMarkers)&&(Ee.gutterMarkers=null),!0})})}),lineInfo:function(E){var ee;if(typeof E=="number"){if(!Zr(this,E)||(ee=E,E=Rn(this,E),!E))return null}else if(ee=Ir(E),ee==null)return null;return{line:ee,handle:E,text:E.text,gutterMarkers:E.gutterMarkers,textClass:E.textClass,bgClass:E.bgClass,wrapClass:E.wrapClass,widgets:E.widgets}},addLineClass:Pa(function(E,ee,Ee){return Ml(this,E,ee=="gutter"?"gutter":"class",function(we){var Ne=ee=="text"?"textClass":ee=="background"?"bgClass":ee=="gutter"?"gutterClass":"wrapClass";if(!we[Ne])we[Ne]=Ee;else{if(be(Ee).test(we[Ne]))return!1;we[Ne]+=" "+Ee}return!0})}),removeLineClass:Pa(function(E,ee,Ee){return Ml(this,E,ee=="gutter"?"gutter":"class",function(we){var Ne=ee=="text"?"textClass":ee=="background"?"bgClass":ee=="gutter"?"gutterClass":"wrapClass",Je=we[Ne];if(Je)if(Ee==null)we[Ne]=null;else{var ft=Je.match(be(Ee));if(!ft)return!1;var wt=ft.index+ft[0].length;we[Ne]=Je.slice(0,ft.index)+(!ft.index||wt==Je.length?"":" ")+Je.slice(wt)||null}else return!1;return!0})}),addLineWidget:Pa(function(E,ee,Ee){return af(this,E,ee,Ee)}),removeLineWidget:function(E){E.clear()},markText:function(E,ee,Ee){return cc(this,wr(this,E),wr(this,ee),Ee,Ee&&Ee.type||"range")},setBookmark:function(E,ee){var Ee={replacedWith:ee&&(ee.nodeType==null?ee.widget:ee),insertLeft:ee&&ee.insertLeft,clearWhenEmpty:!1,shared:ee&&ee.shared,handleMouseEvents:ee&&ee.handleMouseEvents};return E=wr(this,E),cc(this,E,E,Ee,"bookmark")},findMarksAt:function(E){E=wr(this,E);var ee=[],Ee=Rn(this,E.line).markedSpans;if(Ee)for(var we=0;we<Ee.length;++we){var Ne=Ee[we];(Ne.from==null||Ne.from<=E.ch)&&(Ne.to==null||Ne.to>=E.ch)&&ee.push(Ne.marker.parent||Ne.marker)}return ee},findMarks:function(E,ee,Ee){E=wr(this,E),ee=wr(this,ee);var we=[],Ne=E.line;return this.iter(E.line,ee.line+1,function(Je){var ft=Je.markedSpans;if(ft)for(var wt=0;wt<ft.length;wt++){var Mt=ft[wt];!(Mt.to!=null&&Ne==E.line&&E.ch>=Mt.to||Mt.from==null&&Ne!=E.line||Mt.from!=null&&Ne==ee.line&&Mt.from>=ee.ch)&&(!Ee||Ee(Mt.marker))&&we.push(Mt.marker.parent||Mt.marker)}++Ne}),we},getAllMarks:function(){var E=[];return this.iter(function(ee){var Ee=ee.markedSpans;if(Ee)for(var we=0;we<Ee.length;++we)Ee[we].from!=null&&E.push(Ee[we].marker)}),E},posFromIndex:function(E){var ee,Ee=this.first,we=this.lineSeparator().length;return this.iter(function(Ne){var Je=Ne.text.length+we;if(Je>E)return ee=E,!0;E-=Je,++Ee}),wr(this,Jt(Ee,ee))},indexFromPos:function(E){E=wr(this,E);var ee=E.ch;if(E.line<this.first||E.ch<0)return 0;var Ee=this.lineSeparator().length;return this.iter(this.first,E.line,function(we){ee+=we.text.length+Ee}),ee},copy:function(E){var ee=new Hs(ii(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return ee.scrollTop=this.scrollTop,ee.scrollLeft=this.scrollLeft,ee.sel=this.sel,ee.extend=!1,E&&(ee.history.undoDepth=this.history.undoDepth,ee.setHistory(this.getHistory())),ee},linkedDoc:function(E){E||(E={});var ee=this.first,Ee=this.first+this.size;E.from!=null&&E.from>ee&&(ee=E.from),E.to!=null&&E.to<Ee&&(Ee=E.to);var we=new Hs(ii(this,ee,Ee),E.mode||this.modeOption,ee,this.lineSep,this.direction);return E.sharedHist&&(we.history=this.history),(this.linked||(this.linked=[])).push({doc:we,sharedHist:E.sharedHist}),we.linked=[{doc:this,isParent:!0,sharedHist:E.sharedHist}],sf(we,wc(this)),we},unlinkDoc:function(E){if(E instanceof so&&(E=E.doc),this.linked)for(var ee=0;ee<this.linked.length;++ee){var Ee=this.linked[ee];if(Ee.doc==E){this.linked.splice(ee,1),E.unlinkDoc(this),Ll(wc(this));break}}if(E.history==this.history){var we=[E.id];Qi(E,function(Ne){return we.push(Ne.id)},!0),E.history=new Xo(null),E.history.done=Al(this.history.done,we),E.history.undone=Al(this.history.undone,we)}},iterLinkedDocs:function(E){Qi(this,E)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(E){return this.lineSep?E.split(this.lineSep):nn(E)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Pa(function(E){E!="rtl"&&(E="ltr"),E!=this.direction&&(this.direction=E,this.iter(function(ee){return ee.order=null}),this.cm&&Go(this.cm))})}),Hs.prototype.eachLine=Hs.prototype.iter;var md=0;function th(E){var ee=this;if(tu(ee),!(zt(ee,E)||Ti(ee.display,E))){Gn(E),me&&(md=+new Date);var Ee=Is(ee,E,!0),we=E.dataTransfer.files;if(!(!Ee||ee.isReadOnly()))if(we&&we.length&&window.FileReader&&window.File)for(var Ne=we.length,Je=Array(Ne),ft=0,wt=function(){++ft==Ne&&ia(ee,function(){Ee=wr(ee.doc,Ee);var qn={from:Ee,to:Ee,text:ee.doc.splitLines(Je.filter(function(Kr){return Kr!=null}).join(ee.doc.lineSeparator())),origin:"paste"};go(ee.doc,qn),il(ee.doc,Gs(wr(ee.doc,Ee),wr(ee.doc,tl(qn))))})()},Mt=function(qn,Kr){if(ee.options.allowDropFileTypes&&lt(ee.options.allowDropFileTypes,qn.type)==-1){wt();return}var ni=new FileReader;ni.onerror=function(){return wt()},ni.onload=function(){var Ei=ni.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Ei)){wt();return}Je[Kr]=Ei,wt()},ni.readAsText(qn)},Rt=0;Rt<we.length;Rt++)Mt(we[Rt],Rt);else{if(ee.state.draggingText&&ee.doc.sel.contains(Ee)>-1){ee.state.draggingText(E),setTimeout(function(){return ee.display.input.focus()},20);return}try{var fn=E.dataTransfer.getData("Text");if(fn){var An;if(ee.state.draggingText&&!ee.state.draggingText.copy&&(An=ee.listSelections()),gc(ee.doc,Gs(Ee,Ee)),An)for(var cr=0;cr<An.length;++cr)ol(ee.doc,"",An[cr].anchor,An[cr].head,"drag");ee.replaceSelection(fn,"around","paste"),ee.display.input.focus()}}catch(qn){}}}}function nh(E,ee){if(me&&(!E.state.draggingText||+new Date-md<100)){Wr(ee);return}if(!(zt(E,ee)||Ti(E.display,ee))&&(ee.dataTransfer.setData("Text",E.getSelection()),ee.dataTransfer.effectAllowed="copyMove",ee.dataTransfer.setDragImage&&!he)){var Ee=Le("img",null,null,"position: fixed; left: 0; top: 0;");Ee.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",oe&&(Ee.width=Ee.height=1,E.display.wrapper.appendChild(Ee),Ee._top=Ee.offsetTop),ee.dataTransfer.setDragImage(Ee,0,0),oe&&Ee.parentNode.removeChild(Ee)}}function vd(E,ee){var Ee=Is(E,ee);if(Ee){var we=document.createDocumentFragment();Pn(E,Ee,we),E.display.dragCursor||(E.display.dragCursor=Le("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),E.display.lineSpace.insertBefore(E.display.dragCursor,E.display.cursorDiv)),Ie(E.display.dragCursor,we)}}function tu(E){E.display.dragCursor&&(E.display.lineSpace.removeChild(E.display.dragCursor),E.display.dragCursor=null)}function nu(E){if(document.getElementsByClassName){for(var ee=document.getElementsByClassName("CodeMirror"),Ee=[],we=0;we<ee.length;we++){var Ne=ee[we].CodeMirror;Ne&&Ee.push(Ne)}Ee.length&&Ee[0].operation(function(){for(var Je=0;Je<Ee.length;Je++)E(Ee[Je])})}}var hi=!1;function gd(){hi||(Ku(),hi=!0)}function Ku(){var E;Qt(window,"resize",function(){E==null&&(E=setTimeout(function(){E=null,nu(zu)},100))}),Qt(window,"blur",function(){return nu(wi)})}function zu(E){var ee=E.display;ee.cachedCharWidth=ee.cachedTextHeight=ee.cachedPaddingH=null,ee.scrollbarsClipped=!1,E.setSize()}for(var Ul={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"},bu=0;bu<10;bu++)Ul[bu+48]=Ul[bu+96]=String(bu);for(var Hu=65;Hu<=90;Hu++)Ul[Hu]=String.fromCharCode(Hu);for(var xu=1;xu<=12;xu++)Ul[xu+111]=Ul[xu+63235]="F"+xu;var us={};us.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"},us.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"},us.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"},us.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"]},us.default=le?us.macDefault:us.pcDefault;function rh(E){var ee=E.split(/-(?!$)/);E=ee[ee.length-1];for(var Ee,we,Ne,Je,ft=0;ft<ee.length-1;ft++){var wt=ee[ft];if(/^(cmd|meta|m)$/i.test(wt))Je=!0;else if(/^a(lt)?$/i.test(wt))Ee=!0;else if(/^(c|ctrl|control)$/i.test(wt))we=!0;else if(/^s(hift)?$/i.test(wt))Ne=!0;else throw new Error("Unrecognized modifier name: "+wt)}return Ee&&(E="Alt-"+E),we&&(E="Ctrl-"+E),Je&&(E="Cmd-"+E),Ne&&(E="Shift-"+E),E}function yd(E){var ee={};for(var Ee in E)if(E.hasOwnProperty(Ee)){var we=E[Ee];if(/^(name|fallthrough|(de|at)tach)$/.test(Ee))continue;if(we=="..."){delete E[Ee];continue}for(var Ne=ut(Ee.split(" "),rh),Je=0;Je<Ne.length;Je++){var ft=void 0,wt=void 0;Je==Ne.length-1?(wt=Ne.join(" "),ft=we):(wt=Ne.slice(0,Je+1).join(" "),ft="...");var Mt=ee[wt];if(!Mt)ee[wt]=ft;else if(Mt!=ft)throw new Error("Inconsistent bindings for "+wt)}delete E[Ee]}for(var Rt in ee)E[Rt]=ee[Rt];return E}function uc(E,ee,Ee,we){ee=bl(ee);var Ne=ee.call?ee.call(E,we):ee[E];if(Ne===!1)return"nothing";if(Ne==="...")return"multi";if(Ne!=null&&Ee(Ne))return"handled";if(ee.fallthrough){if(Object.prototype.toString.call(ee.fallthrough)!="[object Array]")return uc(E,ee.fallthrough,Ee,we);for(var Je=0;Je<ee.fallthrough.length;Je++){var ft=uc(E,ee.fallthrough[Je],Ee,we);if(ft)return ft}}}function wu(E){var ee=typeof E=="string"?E:Ul[E.keyCode];return ee=="Ctrl"||ee=="Alt"||ee=="Shift"||ee=="Mod"}function Sc(E,ee,Ee){var we=E;return ee.altKey&&we!="Alt"&&(E="Alt-"+E),(Me?ee.metaKey:ee.ctrlKey)&&we!="Ctrl"&&(E="Ctrl-"+E),(Me?ee.ctrlKey:ee.metaKey)&&we!="Mod"&&(E="Cmd-"+E),!Ee&&ee.shiftKey&&we!="Shift"&&(E="Shift-"+E),E}function zc(E,ee){if(oe&&E.keyCode==34&&E.char)return!1;var Ee=Ul[E.keyCode];return Ee==null||E.altGraphKey?!1:(E.keyCode==3&&E.code&&(Ee=E.code),Sc(Ee,E,ee))}function bl(E){return typeof E=="string"?us[E]:E}function Fl(E,ee){for(var Ee=E.doc.sel.ranges,we=[],Ne=0;Ne<Ee.length;Ne++){for(var Je=ee(Ee[Ne]);we.length&&cn(Je.from,Et(we).to)<=0;){var ft=we.pop();if(cn(ft.from,Je.from)<0){Je.from=ft.from;break}}we.push(Je)}bi(E,function(){for(var wt=we.length-1;wt>=0;wt--)ol(E.doc,"",we[wt].from,we[wt].to,"+delete");ba(E)})}function sl(E,ee,Ee){var we=Qe(E.text,ee+Ee,Ee);return we<0||we>E.text.length?null:we}function Jl(E,ee,Ee){var we=sl(E,ee.ch,Ee);return we==null?null:new Jt(ee.line,we,Ee<0?"after":"before")}function Hc(E,ee,Ee,we,Ne){if(E){ee.doc.direction=="rtl"&&(Ne=-Ne);var Je=bn(Ee,ee.doc.direction);if(Je){var ft=Ne<0?Et(Je):Je[0],wt=Ne<0==(ft.level==1),Mt=wt?"after":"before",Rt;if(ft.level>0||ee.doc.direction=="rtl"){var fn=Ea(ee,Ee);Rt=Ne<0?Ee.text.length-1:0;var An=Yi(ee,fn,Rt).top;Rt=ot(function(cr){return Yi(ee,fn,cr).top==An},Ne<0==(ft.level==1)?ft.from:ft.to-1,Rt),Mt=="before"&&(Rt=sl(Ee,Rt,1))}else Rt=Ne<0?ft.to:ft.from;return new Jt(we,Rt,Mt)}}return new Jt(we,Ne<0?Ee.text.length:0,Ne<0?"before":"after")}function $l(E,ee,Ee,we){var Ne=bn(ee,E.doc.direction);if(!Ne)return Jl(ee,Ee,we);Ee.ch>=ee.text.length?(Ee.ch=ee.text.length,Ee.sticky="before"):Ee.ch<=0&&(Ee.ch=0,Ee.sticky="after");var Je=xt(Ne,Ee.ch,Ee.sticky),ft=Ne[Je];if(E.doc.direction=="ltr"&&ft.level%2==0&&(we>0?ft.to>Ee.ch:ft.from<Ee.ch))return Jl(ee,Ee,we);var wt=function(zi,Ji){return sl(ee,zi instanceof Jt?zi.ch:zi,Ji)},Mt,Rt=function(zi){return E.options.lineWrapping?(Mt=Mt||Ea(E,ee),Bo(E,ee,Mt,zi)):{begin:0,end:ee.text.length}},fn=Rt(Ee.sticky=="before"?wt(Ee,-1):Ee.ch);if(E.doc.direction=="rtl"||ft.level==1){var An=ft.level==1==we<0,cr=wt(Ee,An?1:-1);if(cr!=null&&(An?cr<=ft.to&&cr<=fn.end:cr>=ft.from&&cr>=fn.begin)){var qn=An?"before":"after";return new Jt(Ee.line,cr,qn)}}var Kr=function(zi,Ji,Bi){for(var sa=function(fs,rl){return rl?new Jt(Ee.line,wt(fs,1),"before"):new Jt(Ee.line,fs,"after")};zi>=0&&zi<Ne.length;zi+=Ji){var Wa=Ne[zi],Xa=Ji>0==(Wa.level!=1),Ao=Xa?Bi.begin:wt(Bi.end,-1);if(Wa.from<=Ao&&Ao<Wa.to||(Ao=Xa?Wa.from:wt(Wa.to,-1),Bi.begin<=Ao&&Ao<Bi.end))return sa(Ao,Xa)}},ni=Kr(Je+we,we,fn);if(ni)return ni;var Ei=we>0?fn.end:wt(fn.begin,-1);return Ei!=null&&!(we>0&&Ei==ee.text.length)&&(ni=Kr(we>0?0:Ne.length-1,we,Rt(Ei)),ni)?ni:null}var ru={selectAll:$c,singleSelection:function(E){return E.setSelection(E.getCursor("anchor"),E.getCursor("head"),nt)},killLine:function(E){return Fl(E,function(ee){if(ee.empty()){var Ee=Rn(E.doc,ee.head.line).text.length;return ee.head.ch==Ee&&ee.head.line<E.lastLine()?{from:ee.head,to:Jt(ee.head.line+1,0)}:{from:ee.head,to:Jt(ee.head.line,Ee)}}else return{from:ee.from(),to:ee.to()}})},deleteLine:function(E){return Fl(E,function(ee){return{from:Jt(ee.from().line,0),to:wr(E.doc,Jt(ee.to().line+1,0))}})},delLineLeft:function(E){return Fl(E,function(ee){return{from:Jt(ee.from().line,0),to:ee.from()}})},delWrappedLineLeft:function(E){return Fl(E,function(ee){var Ee=E.charCoords(ee.head,"div").top+5,we=E.coordsChar({left:0,top:Ee},"div");return{from:we,to:ee.from()}})},delWrappedLineRight:function(E){return Fl(E,function(ee){var Ee=E.charCoords(ee.head,"div").top+5,we=E.coordsChar({left:E.display.lineDiv.offsetWidth+100,top:Ee},"div");return{from:ee.from(),to:we}})},undo:function(E){return E.undo()},redo:function(E){return E.redo()},undoSelection:function(E){return E.undoSelection()},redoSelection:function(E){return E.redoSelection()},goDocStart:function(E){return E.extendSelection(Jt(E.firstLine(),0))},goDocEnd:function(E){return E.extendSelection(Jt(E.lastLine()))},goLineStart:function(E){return E.extendSelectionsBy(function(ee){return bd(E,ee.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(E){return E.extendSelectionsBy(function(ee){return cf(E,ee.head)},{origin:"+move",bias:1})},goLineEnd:function(E){return E.extendSelectionsBy(function(ee){return xd(E,ee.head.line)},{origin:"+move",bias:-1})},goLineRight:function(E){return E.extendSelectionsBy(function(ee){var Ee=E.cursorCoords(ee.head,"div").top+5;return E.coordsChar({left:E.display.lineDiv.offsetWidth+100,top:Ee},"div")},it)},goLineLeft:function(E){return E.extendSelectionsBy(function(ee){var Ee=E.cursorCoords(ee.head,"div").top+5;return E.coordsChar({left:0,top:Ee},"div")},it)},goLineLeftSmart:function(E){return E.extendSelectionsBy(function(ee){var Ee=E.cursorCoords(ee.head,"div").top+5,we=E.coordsChar({left:0,top:Ee},"div");return we.ch<E.getLine(we.line).search(/\S/)?cf(E,ee.head):we},it)},goLineUp:function(E){return E.moveV(-1,"line")},goLineDown:function(E){return E.moveV(1,"line")},goPageUp:function(E){return E.moveV(-1,"page")},goPageDown:function(E){return E.moveV(1,"page")},goCharLeft:function(E){return E.moveH(-1,"char")},goCharRight:function(E){return E.moveH(1,"char")},goColumnLeft:function(E){return E.moveH(-1,"column")},goColumnRight:function(E){return E.moveH(1,"column")},goWordLeft:function(E){return E.moveH(-1,"word")},goGroupRight:function(E){return E.moveH(1,"group")},goGroupLeft:function(E){return E.moveH(-1,"group")},goWordRight:function(E){return E.moveH(1,"word")},delCharBefore:function(E){return E.deleteH(-1,"codepoint")},delCharAfter:function(E){return E.deleteH(1,"char")},delWordBefore:function(E){return E.deleteH(-1,"word")},delWordAfter:function(E){return E.deleteH(1,"word")},delGroupBefore:function(E){return E.deleteH(-1,"group")},delGroupAfter:function(E){return E.deleteH(1,"group")},indentAuto:function(E){return E.indentSelection("smart")},indentMore:function(E){return E.indentSelection("add")},indentLess:function(E){return E.indentSelection("subtract")},insertTab:function(E){return E.replaceSelection(" ")},insertSoftTab:function(E){for(var ee=[],Ee=E.listSelections(),we=E.options.tabSize,Ne=0;Ne<Ee.length;Ne++){var Je=Ee[Ne].from(),ft=Xe(E.getLine(Je.line),Je.ch,we);ee.push(At(we-ft%we))}E.replaceSelections(ee)},defaultTab:function(E){E.somethingSelected()?E.indentSelection("add"):E.execCommand("insertTab")},transposeChars:function(E){return bi(E,function(){for(var ee=E.listSelections(),Ee=[],we=0;we<ee.length;we++)if(ee[we].empty()){var Ne=ee[we].head,Je=Rn(E.doc,Ne.line).text;if(Je){if(Ne.ch==Je.length&&(Ne=new Jt(Ne.line,Ne.ch-1)),Ne.ch>0)Ne=new Jt(Ne.line,Ne.ch+1),E.replaceRange(Je.charAt(Ne.ch-1)+Je.charAt(Ne.ch-2),Jt(Ne.line,Ne.ch-2),Ne,"+transpose");else if(Ne.line>E.doc.first){var ft=Rn(E.doc,Ne.line-1).text;ft&&(Ne=new Jt(Ne.line,1),E.replaceRange(Je.charAt(0)+E.doc.lineSeparator()+ft.charAt(ft.length-1),Jt(Ne.line-1,ft.length-1),Ne,"+transpose"))}}Ee.push(new Co(Ne,Ne))}E.setSelections(Ee)})},newlineAndIndent:function(E){return bi(E,function(){for(var ee=E.listSelections(),Ee=ee.length-1;Ee>=0;Ee--)E.replaceRange(E.doc.lineSeparator(),ee[Ee].anchor,ee[Ee].head,"+input");ee=E.listSelections();for(var we=0;we<ee.length;we++)E.indentLine(ee[we].from().line,null,!0);ba(E)})},openLine:function(E){return E.replaceSelection(`
`,"start")},toggleOverwrite:function(E){return E.toggleOverwrite()}};function bd(E,ee){var Ee=Rn(E.doc,ee),we=Nt(Ee);return we!=Ee&&(ee=Ir(we)),Hc(!0,E,we,ee,1)}function xd(E,ee){var Ee=Rn(E.doc,ee),we=_t(Ee);return we!=Ee&&(ee=Ir(we)),Hc(!0,E,Ee,ee,-1)}function cf(E,ee){var Ee=bd(E,ee.line),we=Rn(E.doc,Ee.line),Ne=bn(we,E.doc.direction);if(!Ne||Ne[0].level==0){var Je=Math.max(Ee.ch,we.text.search(/\S/)),ft=ee.line==Ee.line&&ee.ch<=Je&&ee.ch;return Jt(Ee.line,ft?0:Je,Ee.sticky)}return Ee}function Xs(E,ee,Ee){if(typeof ee=="string"&&(ee=ru[ee],!ee))return!1;E.display.input.ensurePolled();var we=E.display.shift,Ne=!1;try{E.isReadOnly()&&(E.state.suppressEdits=!0),Ee&&(E.display.shift=!1),Ne=ee(E)!=st}finally{E.display.shift=we,E.state.suppressEdits=!1}return Ne}function ql(E,ee,Ee){for(var we=0;we<E.state.keyMaps.length;we++){var Ne=uc(ee,E.state.keyMaps[we],Ee,E);if(Ne)return Ne}return E.options.extraKeys&&uc(ee,E.options.extraKeys,Ee,E)||uc(ee,E.options.keyMap,Ee,E)}var ih=new Ge;function iu(E,ee,Ee,we){var Ne=E.state.keySeq;if(Ne){if(wu(ee))return"handled";if(/\'$/.test(ee)?E.state.keySeq=null:ih.set(50,function(){E.state.keySeq==Ne&&(E.state.keySeq=null,E.display.input.reset())}),Wu(E,Ne+" "+ee,Ee,we))return!0}return Wu(E,ee,Ee,we)}function Wu(E,ee,Ee,we){var Ne=ql(E,ee,we);return Ne=="multi"&&(E.state.keySeq=ee),Ne=="handled"&&Wn(E,"keyHandled",E,ee,Ee),(Ne=="handled"||Ne=="multi")&&(Gn(Ee),rr(E)),!!Ne}function Po(E,ee){var Ee=zc(ee,!0);return Ee?ee.shiftKey&&!E.state.keySeq?iu(E,"Shift-"+Ee,ee,function(we){return Xs(E,we,!0)})||iu(E,Ee,ee,function(we){if(typeof we=="string"?/^go[A-Z]/.test(we):we.motion)return Xs(E,we)}):iu(E,Ee,ee,function(we){return Xs(E,we)}):!1}function au(E,ee,Ee){return iu(E,"'"+Ee+"'",ee,function(we){return Xs(E,we,!0)})}var dc=null;function Su(E){var ee=this;if(!(E.target&&E.target!=ee.display.input.getField())&&(ee.curOp.focus=_e(),!zt(ee,E))){me&&ie<11&&E.keyCode==27&&(E.returnValue=!1);var Ee=E.keyCode;ee.display.shift=Ee==16||E.shiftKey;var we=Po(ee,E);oe&&(dc=we?Ee:null,!we&&Ee==88&&!hr&&(le?E.metaKey:E.ctrlKey)&&ee.replaceSelection("",null,"cut")),Oe&&!le&&!we&&Ee==46&&E.shiftKey&&!E.ctrlKey&&document.execCommand&&document.execCommand("cut"),Ee==18&&!/\bCodeMirror-crosshair\b/.test(ee.display.lineDiv.className)&&Br(ee)}}function Br(E){var ee=E.display.lineDiv;We(ee,"CodeMirror-crosshair");function Ee(we){(we.keyCode==18||!we.altKey)&&(Fe(ee,"CodeMirror-crosshair"),yn(document,"keyup",Ee),yn(document,"mouseover",Ee))}Qt(document,"keyup",Ee),Qt(document,"mouseover",Ee)}function uf(E){E.keyCode==16&&(this.doc.sel.shift=!1),zt(this,E)}function df(E){var ee=this;if(!(E.target&&E.target!=ee.display.input.getField())&&!(Ti(ee.display,E)||zt(ee,E)||E.ctrlKey&&!E.altKey||le&&E.metaKey)){var Ee=E.keyCode,we=E.charCode;if(oe&&Ee==dc){dc=null,Gn(E);return}if(!(oe&&(!E.which||E.which<10)&&Po(ee,E))){var Ne=String.fromCharCode(we==null?Ee:we);Ne!="\b"&&(au(ee,E,Ne)||ee.display.input.onKeyPress(E))}}}var wd=400,Sd=function(E,ee,Ee){this.time=E,this.pos=ee,this.button=Ee};Sd.prototype.compare=function(E,ee,Ee){return this.time+wd>E&&cn(ee,this.pos)==0&&Ee==this.button};var fc,Cu;function ah(E,ee){var Ee=+new Date;return Cu&&Cu.compare(Ee,E,ee)?(fc=Cu=null,"triple"):fc&&fc.compare(Ee,E,ee)?(Cu=new Sd(Ee,E,ee),fc=null,"double"):(fc=new Sd(Ee,E,ee),Cu=null,"single")}function ll(E){var ee=this,Ee=ee.display;if(!(zt(ee,E)||Ee.activeTouch&&Ee.input.supportsTouch())){if(Ee.input.ensurePolled(),Ee.shift=E.shiftKey,Ti(Ee,E)){te||(Ee.scroller.draggable=!1,setTimeout(function(){return Ee.scroller.draggable=!0},100));return}if(!pl(ee,E)){var we=Is(ee,E),Ne=Dr(E),Je=we?ah(we,Ne):"single";window.focus(),Ne==1&&ee.state.selectingText&&ee.state.selectingText(E),!(we&&Cc(ee,Ne,we,Je,E))&&(Ne==1?we?Vu(ee,we,Je,E):ti(E)==Ee.scroller&&Gn(E):Ne==2?(we&&sc(ee.doc,we),setTimeout(function(){return Ee.input.focus()},20)):Ne==3&&(ye?ee.display.input.onContextMenu(E):Jr(ee)))}}}function Cc(E,ee,Ee,we,Ne){var Je="Click";return we=="double"?Je="Double"+Je:we=="triple"&&(Je="Triple"+Je),Je=(ee==1?"Left":ee==2?"Middle":"Right")+Je,iu(E,Sc(Je,Ne),Ne,function(ft){if(typeof ft=="string"&&(ft=ru[ft]),!ft)return!1;var wt=!1;try{E.isReadOnly()&&(E.state.suppressEdits=!0),wt=ft(E,Ee)!=st}finally{E.state.suppressEdits=!1}return wt})}function Uu(E,ee,Ee){var we=E.getOption("configureMouse"),Ne=we?we(E,ee,Ee):{};if(Ne.unit==null){var Je=Se?Ee.shiftKey&&Ee.metaKey:Ee.altKey;Ne.unit=Je?"rectangle":ee=="single"?"char":ee=="double"?"word":"line"}return(Ne.extend==null||E.doc.extend)&&(Ne.extend=E.doc.extend||Ee.shiftKey),Ne.addNew==null&&(Ne.addNew=le?Ee.metaKey:Ee.ctrlKey),Ne.moveOnDrag==null&&(Ne.moveOnDrag=!(le?Ee.altKey:Ee.ctrlKey)),Ne}function Vu(E,ee,Ee,we){me?setTimeout(at(vr,E),0):E.curOp.focus=_e();var Ne=Uu(E,Ee,we),Je=E.doc.sel,ft;E.options.dragDrop&&ri&&!E.isReadOnly()&&Ee=="single"&&(ft=Je.contains(ee))>-1&&(cn((ft=Je.ranges[ft]).from(),ee)<0||ee.xRel>0)&&(cn(ft.to(),ee)>0||ee.xRel<0)?oh(E,we,ee,Ne):Cd(E,we,ee,Ne)}function oh(E,ee,Ee,we){var Ne=E.display,Je=!1,ft=ia(E,function(Rt){te&&(Ne.scroller.draggable=!1),E.state.draggingText=!1,yn(Ne.wrapper.ownerDocument,"mouseup",ft),yn(Ne.wrapper.ownerDocument,"mousemove",wt),yn(Ne.scroller,"dragstart",Mt),yn(Ne.scroller,"drop",ft),Je||(Gn(Rt),we.addNew||sc(E.doc,Ee,null,null,we.extend),te&&!he||me&&ie==9?setTimeout(function(){Ne.wrapper.ownerDocument.body.focus({preventScroll:!0}),Ne.input.focus()},20):Ne.input.focus())}),wt=function(Rt){Je=Je||Math.abs(ee.clientX-Rt.clientX)+Math.abs(ee.clientY-Rt.clientY)>=10},Mt=function(){return Je=!0};te&&(Ne.scroller.draggable=!0),E.state.draggingText=ft,ft.copy=!we.moveOnDrag,Ne.scroller.dragDrop&&Ne.scroller.dragDrop(),Qt(Ne.wrapper.ownerDocument,"mouseup",ft),Qt(Ne.wrapper.ownerDocument,"mousemove",wt),Qt(Ne.scroller,"dragstart",Mt),Qt(Ne.scroller,"drop",ft),Jr(E),setTimeout(function(){return Ne.input.focus()},20)}function ff(E,ee,Ee){if(Ee=="char")return new Co(ee,ee);if(Ee=="word")return E.findWordAt(ee);if(Ee=="line")return new Co(Jt(ee.line,0),wr(E.doc,Jt(ee.line+1,0)));var we=Ee(E,ee);return new Co(we.from,we.to)}function Cd(E,ee,Ee,we){var Ne=E.display,Je=E.doc;Gn(ee);var ft,wt,Mt=Je.sel,Rt=Mt.ranges;if(we.addNew&&!we.extend?(wt=Je.sel.contains(Ee),wt>-1?ft=Rt[wt]:ft=new Co(Ee,Ee)):(ft=Je.sel.primary(),wt=Je.sel.primIndex),we.unit=="rectangle")we.addNew||(ft=new Co(Ee,Ee)),Ee=Is(E,ee,!0,!0),wt=-1;else{var fn=ff(E,Ee,we.unit);we.extend?ft=Qc(ft,fn.anchor,fn.head,we.extend):ft=fn}we.addNew?wt==-1?(wt=Rt.length,Ts(Je,cs(E,Rt.concat([ft]),wt),{scroll:!1,origin:"*mouse"})):Rt.length>1&&Rt[wt].empty()&&we.unit=="char"&&!we.extend?(Ts(Je,cs(E,Rt.slice(0,wt).concat(Rt.slice(wt+1)),0),{scroll:!1,origin:"*mouse"}),Mt=Je.sel):wl(Je,wt,ft,rt):(wt=0,Ts(Je,new ls([ft],0),rt),Mt=Je.sel);var An=Ee;function cr(Bi){if(cn(An,Bi)!=0)if(An=Bi,we.unit=="rectangle"){for(var sa=[],Wa=E.options.tabSize,Xa=Xe(Rn(Je,Ee.line).text,Ee.ch,Wa),Ao=Xe(Rn(Je,Bi.line).text,Bi.ch,Wa),fs=Math.min(Xa,Ao),rl=Math.max(Xa,Ao),Os=Math.min(Ee.line,Bi.line),Sl=Math.min(E.lastLine(),Math.max(Ee.line,Bi.line));Os<=Sl;Os++){var Cl=Rn(Je,Os).text,Ys=gt(Cl,fs,Wa);fs==rl?sa.push(new Co(Jt(Os,Ys),Jt(Os,Ys))):Cl.length>Ys&&sa.push(new Co(Jt(Os,Ys),Jt(Os,gt(Cl,rl,Wa))))}sa.length||sa.push(new Co(Ee,Ee)),Ts(Je,cs(E,Mt.ranges.slice(0,wt).concat(sa),wt),{origin:"*mouse",scroll:!1}),E.scrollIntoView(Bi)}else{var El=ft,co=ff(E,Bi,we.unit),Ns=El.anchor,Ds;cn(co.anchor,Ns)>0?(Ds=co.head,Ns=lr(El.from(),co.anchor)):(Ds=co.anchor,Ns=Fn(El.to(),co.head));var Rs=Mt.ranges.slice(0);Rs[wt]=hf(E,new Co(wr(Je,Ns),Ds)),Ts(Je,cs(E,Rs,wt),rt)}}var qn=Ne.wrapper.getBoundingClientRect(),Kr=0;function ni(Bi){var sa=++Kr,Wa=Is(E,Bi,!0,we.unit=="rectangle");if(Wa)if(cn(Wa,An)!=0){E.curOp.focus=_e(),cr(Wa);var Xa=ei(Ne,Je);(Wa.line>=Xa.to||Wa.line<Xa.from)&&setTimeout(ia(E,function(){Kr==sa&&ni(Bi)}),150)}else{var Ao=Bi.clientY<qn.top?-20:Bi.clientY>qn.bottom?20:0;Ao&&setTimeout(ia(E,function(){Kr==sa&&(Ne.scroller.scrollTop+=Ao,ni(Bi))}),50)}}function Ei(Bi){E.state.selectingText=!1,Kr=1/0,Bi&&(Gn(Bi),Ne.input.focus()),yn(Ne.wrapper.ownerDocument,"mousemove",zi),yn(Ne.wrapper.ownerDocument,"mouseup",Ji),Je.history.lastSelOrigin=null}var zi=ia(E,function(Bi){Bi.buttons===0||!Dr(Bi)?Ei(Bi):ni(Bi)}),Ji=ia(E,Ei);E.state.selectingText=Ji,Qt(Ne.wrapper.ownerDocument,"mousemove",zi),Qt(Ne.wrapper.ownerDocument,"mouseup",Ji)}function hf(E,ee){var Ee=ee.anchor,we=ee.head,Ne=Rn(E.doc,Ee.line);if(cn(Ee,we)==0&&Ee.sticky==we.sticky)return ee;var Je=bn(Ne);if(!Je)return ee;var ft=xt(Je,Ee.ch,Ee.sticky),wt=Je[ft];if(wt.from!=Ee.ch&&wt.to!=Ee.ch)return ee;var Mt=ft+(wt.from==Ee.ch==(wt.level!=1)?0:1);if(Mt==0||Mt==Je.length)return ee;var Rt;if(we.line!=Ee.line)Rt=(we.line-Ee.line)*(E.doc.direction=="ltr"?1:-1)>0;else{var fn=xt(Je,we.ch,we.sticky),An=fn-ft||(we.ch-Ee.ch)*(wt.level==1?-1:1);fn==Mt-1||fn==Mt?Rt=An<0:Rt=An>0}var cr=Je[Mt+(Rt?-1:0)],qn=Rt==(cr.level==1),Kr=qn?cr.from:cr.to,ni=qn?"after":"before";return Ee.ch==Kr&&Ee.sticky==ni?ee:new Co(new Jt(Ee.line,Kr,ni),we)}function Eu(E,ee,Ee,we){var Ne,Je;if(ee.touches)Ne=ee.touches[0].clientX,Je=ee.touches[0].clientY;else try{Ne=ee.clientX,Je=ee.clientY}catch(cr){return!1}if(Ne>=Math.floor(E.display.gutters.getBoundingClientRect().right))return!1;we&&Gn(ee);var ft=E.display,wt=ft.lineDiv.getBoundingClientRect();if(Je>wt.bottom||!gn(E,Ee))return Tr(ee);Je-=wt.top-ft.viewOffset;for(var Mt=0;Mt<E.display.gutterSpecs.length;++Mt){var Rt=ft.gutters.childNodes[Mt];if(Rt&&Rt.getBoundingClientRect().right>=Ne){var fn=Ur(E.doc,Je),An=E.display.gutterSpecs[Mt];return Pt(E,Ee,E,fn,An.className,ee),Tr(ee)}}}function pl(E,ee){return Eu(E,ee,"gutterClick",!0)}function Ec(E,ee){Ti(E.display,ee)||pf(E,ee)||zt(E,ee,"contextmenu")||ye||E.display.input.onContextMenu(ee)}function pf(E,ee){return gn(E,"gutterContextMenu")?Eu(E,ee,"gutterContextMenu",!1):!1}function Ed(E){E.display.wrapper.className=E.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+E.options.theme.replace(/(^|\s)\s*/g," cm-s-"),pa(E)}var Ac={toString:function(){return"CodeMirror.Init"}},mf={},Zu={};function sh(E){var ee=E.optionHandlers;function Ee(we,Ne,Je,ft){E.defaults[we]=Ne,Je&&(ee[we]=ft?function(wt,Mt,Rt){Rt!=Ac&&Je(wt,Mt,Rt)}:Je)}E.defineOption=Ee,E.Init=Ac,Ee("value","",function(we,Ne){return we.setValue(Ne)},!0),Ee("mode",null,function(we,Ne){we.doc.modeOption=Ne,As(we)},!0),Ee("indentUnit",2,As,!0),Ee("indentWithTabs",!1),Ee("smartIndent",!0),Ee("tabSize",4,function(we){zs(we),pa(we),Aa(we)},!0),Ee("lineSeparator",null,function(we,Ne){if(we.doc.lineSep=Ne,!!Ne){var Je=[],ft=we.doc.first;we.doc.iter(function(Mt){for(var Rt=0;;){var fn=Mt.text.indexOf(Ne,Rt);if(fn==-1)break;Rt=fn+Ne.length,Je.push(Jt(ft,fn))}ft++});for(var wt=Je.length-1;wt>=0;wt--)ol(we.doc,Ne,Je[wt],Jt(Je[wt].line,Je[wt].ch+Ne.length))}}),Ee("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(we,Ne,Je){we.state.specialChars=new RegExp(Ne.source+(Ne.test(" ")?"":"| "),"g"),Je!=Ac&&we.refresh()}),Ee("specialCharPlaceholder",kt,function(we){return we.refresh()},!0),Ee("electricChars",!0),Ee("inputStyle",pe?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Ee("spellcheck",!1,function(we,Ne){return we.getInputField().spellcheck=Ne},!0),Ee("autocorrect",!1,function(we,Ne){return we.getInputField().autocorrect=Ne},!0),Ee("autocapitalize",!1,function(we,Ne){return we.getInputField().autocapitalize=Ne},!0),Ee("rtlMoveVisually",!xe),Ee("wholeLineUpdateBefore",!0),Ee("theme","default",function(we){Ed(we),qo(we)},!0),Ee("keyMap","default",function(we,Ne,Je){var ft=bl(Ne),wt=Je!=Ac&&bl(Je);wt&&wt.detach&&wt.detach(we,ft),ft.attach&&ft.attach(we,wt||null)}),Ee("extraKeys",null),Ee("configureMouse",null),Ee("lineWrapping",!1,vf,!0),Ee("gutters",[],function(we,Ne){we.display.gutterSpecs=ws(Ne,we.options.lineNumbers),qo(we)},!0),Ee("fixedGutter",!0,function(we,Ne){we.display.gutters.style.left=Ne?_s(we.display)+"px":"0",we.refresh()},!0),Ee("coverGutterNextToScrollbar",!1,function(we){return Ra(we)},!0),Ee("scrollbarStyle","native",function(we){qa(we),Ra(we),we.display.scrollbars.setScrollTop(we.doc.scrollTop),we.display.scrollbars.setScrollLeft(we.doc.scrollLeft)},!0),Ee("lineNumbers",!1,function(we,Ne){we.display.gutterSpecs=ws(we.options.gutters,Ne),qo(we)},!0),Ee("firstLineNumber",1,qo,!0),Ee("lineNumberFormatter",function(we){return we},qo,!0),Ee("showCursorWhenSelecting",!1,un,!0),Ee("resetSelectionOnContextMenu",!0),Ee("lineWiseCopyCut",!0),Ee("pasteLinesPerSelection",!0),Ee("selectionsMayTouch",!1),Ee("readOnly",!1,function(we,Ne){Ne=="nocursor"&&(wi(we),we.display.input.blur()),we.display.input.readOnlyChanged(Ne)}),Ee("screenReaderLabel",null,function(we,Ne){Ne=Ne===""?null:Ne,we.display.input.screenReaderLabelChanged(Ne)}),Ee("disableInput",!1,function(we,Ne){Ne||we.display.input.reset()},!0),Ee("dragDrop",!0,lh),Ee("allowDropFileTypes",null),Ee("cursorBlinkRate",530),Ee("cursorScrollMargin",0),Ee("cursorHeight",1,un,!0),Ee("singleCursorHeightPerLine",!0,un,!0),Ee("workTime",100),Ee("workDelay",100),Ee("flattenSpans",!0,zs,!0),Ee("addModeClass",!1,zs,!0),Ee("pollInterval",100),Ee("undoDepth",200,function(we,Ne){return we.doc.history.undoDepth=Ne}),Ee("historyEventDelay",1250),Ee("viewportMargin",10,function(we){return we.refresh()},!0),Ee("maxHighlightLength",1e4,zs,!0),Ee("moveInputWithCursor",!0,function(we,Ne){Ne||we.display.input.resetPosition()}),Ee("tabindex",null,function(we,Ne){return we.display.input.getField().tabIndex=Ne||""}),Ee("autofocus",null),Ee("direction","ltr",function(we,Ne){return we.doc.setDirection(Ne)},!0),Ee("phrases",null)}function lh(E,ee,Ee){var we=Ee&&Ee!=Ac;if(!ee!=!we){var Ne=E.display.dragFunctions,Je=ee?Qt:yn;Je(E.display.scroller,"dragstart",Ne.start),Je(E.display.scroller,"dragenter",Ne.enter),Je(E.display.scroller,"dragover",Ne.over),Je(E.display.scroller,"dragleave",Ne.leave),Je(E.display.scroller,"drop",Ne.drop)}}function vf(E){E.options.lineWrapping?(We(E.display.wrapper,"CodeMirror-wrap"),E.display.sizer.style.minWidth="",E.display.sizerWidth=null):(Fe(E.display.wrapper,"CodeMirror-wrap"),En(E)),os(E),Aa(E),pa(E),setTimeout(function(){return Ra(E)},100)}function so(E,ee){var Ee=this;if(!(this instanceof so))return new so(E,ee);this.options=ee=ee?pt(ee):{},pt(mf,ee,!1);var we=ee.value;typeof we=="string"?we=new Hs(we,ee.mode,null,ee.lineSeparator,ee.direction):ee.mode&&(we.modeOption=ee.mode),this.doc=we;var Ne=new so.inputStyles[ee.inputStyle](this),Je=this.display=new Ls(E,we,Ne,ee);Je.wrapper.CodeMirror=this,Ed(this),ee.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),qa(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 Ge,keySeq:null,specialChars:null},ee.autofocus&&!pe&&Je.input.focus(),me&&ie<11&&setTimeout(function(){return Ee.display.input.reset(!0)},20),ch(this),gd(),no(this),this.curOp.forceUpdate=!0,Ta(this,we),ee.autofocus&&!pe||this.hasFocus()?setTimeout(function(){Ee.hasFocus()&&!Ee.state.focused&&zr(Ee)},20):wi(this);for(var ft in Zu)Zu.hasOwnProperty(ft)&&Zu[ft](this,ee[ft],Ac);Ko(this),ee.finishInit&&ee.finishInit(this);for(var wt=0;wt<Ad.length;++wt)Ad[wt](this);Io(this),te&&ee.lineWrapping&&getComputedStyle(Je.lineDiv).textRendering=="optimizelegibility"&&(Je.lineDiv.style.textRendering="auto")}so.defaults=mf,so.optionHandlers=Zu;function ch(E){var ee=E.display;Qt(ee.scroller,"mousedown",ia(E,ll)),me&&ie<11?Qt(ee.scroller,"dblclick",ia(E,function(Mt){if(!zt(E,Mt)){var Rt=Is(E,Mt);if(!(!Rt||pl(E,Mt)||Ti(E.display,Mt))){Gn(Mt);var fn=E.findWordAt(Rt);sc(E.doc,fn.anchor,fn.head)}}})):Qt(ee.scroller,"dblclick",function(Mt){return zt(E,Mt)||Gn(Mt)}),Qt(ee.scroller,"contextmenu",function(Mt){return Ec(E,Mt)}),Qt(ee.input.getField(),"contextmenu",function(Mt){ee.scroller.contains(Mt.target)||Ec(E,Mt)});var Ee,we={end:0};function Ne(){ee.activeTouch&&(Ee=setTimeout(function(){return ee.activeTouch=null},1e3),we=ee.activeTouch,we.end=+new Date)}function Je(Mt){if(Mt.touches.length!=1)return!1;var Rt=Mt.touches[0];return Rt.radiusX<=1&&Rt.radiusY<=1}function ft(Mt,Rt){if(Rt.left==null)return!0;var fn=Rt.left-Mt.left,An=Rt.top-Mt.top;return fn*fn+An*An>20*20}Qt(ee.scroller,"touchstart",function(Mt){if(!zt(E,Mt)&&!Je(Mt)&&!pl(E,Mt)){ee.input.ensurePolled(),clearTimeout(Ee);var Rt=+new Date;ee.activeTouch={start:Rt,moved:!1,prev:Rt-we.end<=300?we:null},Mt.touches.length==1&&(ee.activeTouch.left=Mt.touches[0].pageX,ee.activeTouch.top=Mt.touches[0].pageY)}}),Qt(ee.scroller,"touchmove",function(){ee.activeTouch&&(ee.activeTouch.moved=!0)}),Qt(ee.scroller,"touchend",function(Mt){var Rt=ee.activeTouch;if(Rt&&!Ti(ee,Mt)&&Rt.left!=null&&!Rt.moved&&new Date-Rt.start<300){var fn=E.coordsChar(ee.activeTouch,"page"),An;!Rt.prev||ft(Rt,Rt.prev)?An=new Co(fn,fn):!Rt.prev.prev||ft(Rt,Rt.prev.prev)?An=E.findWordAt(fn):An=new Co(Jt(fn.line,0),wr(E.doc,Jt(fn.line+1,0))),E.setSelection(An.anchor,An.head),E.focus(),Gn(Mt)}Ne()}),Qt(ee.scroller,"touchcancel",Ne),Qt(ee.scroller,"scroll",function(){ee.scroller.clientHeight&&(fi(E,ee.scroller.scrollTop),Ia(E,ee.scroller.scrollLeft,!0),Pt(E,"scroll",E))}),Qt(ee.scroller,"mousewheel",function(Mt){return xl(E,Mt)}),Qt(ee.scroller,"DOMMouseScroll",function(Mt){return xl(E,Mt)}),Qt(ee.wrapper,"scroll",function(){return ee.wrapper.scrollTop=ee.wrapper.scrollLeft=0}),ee.dragFunctions={enter:function(Mt){zt(E,Mt)||Wr(Mt)},over:function(Mt){zt(E,Mt)||(vd(E,Mt),Wr(Mt))},start:function(Mt){return nh(E,Mt)},drop:ia(E,th),leave:function(Mt){zt(E,Mt)||tu(E)}};var wt=ee.input.getField();Qt(wt,"keyup",function(Mt){return uf.call(E,Mt)}),Qt(wt,"keydown",ia(E,Su)),Qt(wt,"keypress",ia(E,df)),Qt(wt,"focus",function(Mt){return zr(E,Mt)}),Qt(wt,"blur",function(Mt){return wi(E,Mt)})}var Ad=[];so.defineInitHook=function(E){return Ad.push(E)};function Vl(E,ee,Ee,we){var Ne=E.doc,Je;Ee==null&&(Ee="add"),Ee=="smart"&&(Ne.mode.indent?Je=la(E,ee).state:Ee="prev");var ft=E.options.tabSize,wt=Rn(Ne,ee),Mt=Xe(wt.text,null,ft);wt.stateAfter&&(wt.stateAfter=null);var Rt=wt.text.match(/^\s*/)[0],fn;if(!we&&!/\S/.test(wt.text))fn=0,Ee="not";else if(Ee=="smart"&&(fn=Ne.mode.indent(Je,wt.text.slice(Rt.length),wt.text),fn==st||fn>150)){if(!we)return;Ee="prev"}Ee=="prev"?ee>Ne.first?fn=Xe(Rn(Ne,ee-1).text,null,ft):fn=0:Ee=="add"?fn=Mt+E.options.indentUnit:Ee=="subtract"?fn=Mt-E.options.indentUnit:typeof Ee=="number"&&(fn=Mt+Ee),fn=Math.max(0,fn);var An="",cr=0;if(E.options.indentWithTabs)for(var qn=Math.floor(fn/ft);qn;--qn)cr+=ft,An+=" ";if(cr<fn&&(An+=At(fn-cr)),An!=Rt)return ol(Ne,An,Jt(ee,0),Jt(ee,Rt.length),"+input"),wt.stateAfter=null,!0;for(var Kr=0;Kr<Ne.sel.ranges.length;Kr++){var ni=Ne.sel.ranges[Kr];if(ni.head.line==ee&&ni.head.ch<Rt.length){var Ei=Jt(ee,Rt.length);wl(Ne,Kr,new Co(Ei,Ei));break}}}var Zl=null;function Mc(E){Zl=E}function Md(E,ee,Ee,we,Ne){var Je=E.doc;E.display.shift=!1,we||(we=Je.sel);var ft=+new Date-200,wt=Ne=="paste"||E.state.pasteIncoming>ft,Mt=nn(ee),Rt=null;if(wt&&we.ranges.length>1)if(Zl&&Zl.text.join(`
`)==ee){if(we.ranges.length%Zl.text.length==0){Rt=[];for(var fn=0;fn<Zl.text.length;fn++)Rt.push(Je.splitLines(Zl.text[fn]))}}else Mt.length==we.ranges.length&&E.options.pasteLinesPerSelection&&(Rt=ut(Mt,function(zi){return[zi]}));for(var An=E.curOp.updateInput,cr=we.ranges.length-1;cr>=0;cr--){var qn=we.ranges[cr],Kr=qn.from(),ni=qn.to();qn.empty()&&(Ee&&Ee>0?Kr=Jt(Kr.line,Kr.ch-Ee):E.state.overwrite&&!wt?ni=Jt(ni.line,Math.min(Rn(Je,ni.line).text.length,ni.ch+Et(Mt).length)):wt&&Zl&&Zl.lineWise&&Zl.text.join(`
`)==Mt.join(`
`)&&(Kr=ni=Jt(Kr.line,0)));var Ei={from:Kr,to:ni,text:Rt?Rt[cr%Rt.length]:Mt,origin:Ne||(wt?"paste":E.state.cutIncoming>ft?"cut":"+input")};go(E.doc,Ei),Wn(E,"inputRead",E,Ei)}ee&&!wt&&Td(E,ee),ba(E),E.curOp.updateInput<2&&(E.curOp.updateInput=An),E.curOp.typing=!0,E.state.pasteIncoming=E.state.cutIncoming=-1}function kd(E,ee){var Ee=E.clipboardData&&E.clipboardData.getData("Text");if(Ee)return E.preventDefault(),!ee.isReadOnly()&&!ee.options.disableInput&&bi(ee,function(){return Md(ee,Ee,0,null,"paste")}),!0}function Td(E,ee){if(!(!E.options.electricChars||!E.options.smartIndent))for(var Ee=E.doc.sel,we=Ee.ranges.length-1;we>=0;we--){var Ne=Ee.ranges[we];if(!(Ne.head.ch>100||we&&Ee.ranges[we-1].head.line==Ne.head.line)){var Je=E.getModeAt(Ne.head),ft=!1;if(Je.electricChars){for(var wt=0;wt<Je.electricChars.length;wt++)if(ee.indexOf(Je.electricChars.charAt(wt))>-1){ft=Vl(E,Ne.head.line,"smart");break}}else Je.electricInput&&Je.electricInput.test(Rn(E.doc,Ne.head.line).text.slice(0,Ne.head.ch))&&(ft=Vl(E,Ne.head.line,"smart"));ft&&Wn(E,"electricInput",E,Ne.head.line)}}}function ou(E){for(var ee=[],Ee=[],we=0;we<E.doc.sel.ranges.length;we++){var Ne=E.doc.sel.ranges[we].head.line,Je={anchor:Jt(Ne,0),head:Jt(Ne+1,0)};Ee.push(Je),ee.push(E.getRange(Je.anchor,Je.head))}return{text:ee,ranges:Ee}}function gf(E,ee,Ee,we){E.setAttribute("autocorrect",Ee?"":"off"),E.setAttribute("autocapitalize",we?"":"off"),E.setAttribute("spellcheck",!!ee)}function Od(){var E=Le("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),ee=Le("div",[E],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return te?E.style.width="1000px":E.setAttribute("wrap","off"),ce&&(E.style.border="1px solid black"),gf(E),ee}function Dd(E){var ee=E.optionHandlers,Ee=E.helpers={};E.prototype={constructor:E,focus:function(){window.focus(),this.display.input.focus()},setOption:function(we,Ne){var Je=this.options,ft=Je[we];Je[we]==Ne&&we!="mode"||(Je[we]=Ne,ee.hasOwnProperty(we)&&ia(this,ee[we])(this,Ne,ft),Pt(this,"optionChange",this,we))},getOption:function(we){return this.options[we]},getDoc:function(){return this.doc},addKeyMap:function(we,Ne){this.state.keyMaps[Ne?"push":"unshift"](bl(we))},removeKeyMap:function(we){for(var Ne=this.state.keyMaps,Je=0;Je<Ne.length;++Je)if(Ne[Je]==we||Ne[Je].name==we)return Ne.splice(Je,1),!0},addOverlay:Gi(function(we,Ne){var Je=we.token?we:E.getMode(this.options,we);if(Je.startState)throw new Error("Overlays may not be stateful.");Ye(this.state.overlays,{mode:Je,modeSpec:we,opaque:Ne&&Ne.opaque,priority:Ne&&Ne.priority||0},function(ft){return ft.priority}),this.state.modeGen++,Aa(this)}),removeOverlay:Gi(function(we){for(var Ne=this.state.overlays,Je=0;Je<Ne.length;++Je){var ft=Ne[Je].modeSpec;if(ft==we||typeof we=="string"&&ft.name==we){Ne.splice(Je,1),this.state.modeGen++,Aa(this);return}}}),indentLine:Gi(function(we,Ne,Je){typeof Ne!="string"&&typeof Ne!="number"&&(Ne==null?Ne=this.options.smartIndent?"smart":"prev":Ne=Ne?"add":"subtract"),Zr(this.doc,we)&&Vl(this,we,Ne,Je)}),indentSelection:Gi(function(we){for(var Ne=this.doc.sel.ranges,Je=-1,ft=0;ft<Ne.length;ft++){var wt=Ne[ft];if(wt.empty())wt.head.line>Je&&(Vl(this,wt.head.line,we,!0),Je=wt.head.line,ft==this.doc.sel.primIndex&&ba(this));else{var Mt=wt.from(),Rt=wt.to(),fn=Math.max(Je,Mt.line);Je=Math.min(this.lastLine(),Rt.line-(Rt.ch?0:1))+1;for(var An=fn;An<Je;++An)Vl(this,An,we);var cr=this.doc.sel.ranges;Mt.ch==0&&Ne.length==cr.length&&cr[ft].from().ch>0&&wl(this.doc,ft,new Co(Mt,cr[ft].to()),nt)}}}),getTokenAt:function(we,Ne){return Ka(this,we,Ne)},getLineTokens:function(we,Ne){return Ka(this,Jt(we),Ne,!0)},getTokenTypeAt:function(we){we=wr(this.doc,we);var Ne=ga(this,Rn(this.doc,we.line)),Je=0,ft=(Ne.length-1)/2,wt=we.ch,Mt;if(wt==0)Mt=Ne[2];else for(;;){var Rt=Je+ft>>1;if((Rt?Ne[Rt*2-1]:0)>=wt)ft=Rt;else if(Ne[Rt*2+1]<wt)Je=Rt+1;else{Mt=Ne[Rt*2+2];break}}var fn=Mt?Mt.indexOf("overlay "):-1;return fn<0?Mt:fn==0?null:Mt.slice(0,fn-1)},getModeAt:function(we){var Ne=this.doc.mode;return Ne.innerMode?E.innerMode(Ne,this.getTokenAt(we).state).mode:Ne},getHelper:function(we,Ne){return this.getHelpers(we,Ne)[0]},getHelpers:function(we,Ne){var Je=[];if(!Ee.hasOwnProperty(Ne))return Je;var ft=Ee[Ne],wt=this.getModeAt(we);if(typeof wt[Ne]=="string")ft[wt[Ne]]&&Je.push(ft[wt[Ne]]);else if(wt[Ne])for(var Mt=0;Mt<wt[Ne].length;Mt++){var Rt=ft[wt[Ne][Mt]];Rt&&Je.push(Rt)}else wt.helperType&&ft[wt.helperType]?Je.push(ft[wt.helperType]):ft[wt.name]&&Je.push(ft[wt.name]);for(var fn=0;fn<ft._global.length;fn++){var An=ft._global[fn];An.pred(wt,this)&&lt(Je,An.val)==-1&&Je.push(An.val)}return Je},getStateAfter:function(we,Ne){var Je=this.doc;return we=ir(Je,we==null?Je.first+Je.size-1:we),la(this,we+1,Ne).state},cursorCoords:function(we,Ne){var Je,ft=this.doc.sel.primary();return we==null?Je=ft.head:typeof we=="object"?Je=wr(this.doc,we):Je=we?ft.from():ft.to(),ho(this,Je,Ne||"page")},charCoords:function(we,Ne){return Ho(this,wr(this.doc,we),Ne||"page")},coordsChar:function(we,Ne){return we=Mo(this,we,Ne||"page"),Yo(this,we.left,we.top)},lineAtHeight:function(we,Ne){return we=Mo(this,{top:we,left:0},Ne||"page").top,Ur(this.doc,we+this.display.viewOffset)},heightAtLine:function(we,Ne,Je){var ft=!1,wt;if(typeof we=="number"){var Mt=this.doc.first+this.doc.size-1;we<this.doc.first?we=this.doc.first:we>Mt&&(we=Mt,ft=!0),wt=Rn(this.doc,we)}else wt=we;return vo(this,wt,{top:0,left:0},Ne||"page",Je||ft).top+(ft?this.doc.height-On(wt):0)},defaultTextHeight:function(){return Fo(this.display)},defaultCharWidth:function(){return es(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(we,Ne,Je,ft,wt){var Mt=this.display;we=ho(this,wr(this.doc,we));var Rt=we.bottom,fn=we.left;if(Ne.style.position="absolute",Ne.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Ne),Mt.sizer.appendChild(Ne),ft=="over")Rt=we.top;else if(ft=="above"||ft=="near"){var An=Math.max(Mt.wrapper.clientHeight,this.doc.height),cr=Math.max(Mt.sizer.clientWidth,Mt.lineSpace.clientWidth);(ft=="above"||we.bottom+Ne.offsetHeight>An)&&we.top>Ne.offsetHeight?Rt=we.top-Ne.offsetHeight:we.bottom+Ne.offsetHeight<=An&&(Rt=we.bottom),fn+Ne.offsetWidth>cr&&(fn=cr-Ne.offsetWidth)}Ne.style.top=Rt+"px",Ne.style.left=Ne.style.right="",wt=="right"?(fn=Mt.sizer.clientWidth-Ne.offsetWidth,Ne.style.right="0px"):(wt=="left"?fn=0:wt=="middle"&&(fn=(Mt.sizer.clientWidth-Ne.offsetWidth)/2),Ne.style.left=fn+"px"),Je&&oa(this,{left:fn,top:Rt,right:fn+Ne.offsetWidth,bottom:Rt+Ne.offsetHeight})},triggerOnKeyDown:Gi(Su),triggerOnKeyPress:Gi(df),triggerOnKeyUp:uf,triggerOnMouseDown:Gi(ll),execCommand:function(we){if(ru.hasOwnProperty(we))return ru[we].call(null,this)},triggerElectric:Gi(function(we){Td(this,we)}),findPosH:function(we,Ne,Je,ft){var wt=1;Ne<0&&(wt=-1,Ne=-Ne);for(var Mt=wr(this.doc,we),Rt=0;Rt<Ne&&(Mt=Gu(this.doc,Mt,wt,Je,ft),!Mt.hitSide);++Rt);return Mt},moveH:Gi(function(we,Ne){var Je=this;this.extendSelectionsBy(function(ft){return Je.display.shift||Je.doc.extend||ft.empty()?Gu(Je.doc,ft.head,we,Ne,Je.options.rtlMoveVisually):we<0?ft.from():ft.to()},it)}),deleteH:Gi(function(we,Ne){var Je=this.doc.sel,ft=this.doc;Je.somethingSelected()?ft.replaceSelection("",null,"+delete"):Fl(this,function(wt){var Mt=Gu(ft,wt.head,we,Ne,!1);return we<0?{from:Mt,to:wt.head}:{from:wt.head,to:Mt}})}),findPosV:function(we,Ne,Je,ft){var wt=1,Mt=ft;Ne<0&&(wt=-1,Ne=-Ne);for(var Rt=wr(this.doc,we),fn=0;fn<Ne;++fn){var An=ho(this,Rt,"div");if(Mt==null?Mt=An.left:An.left=Mt,Rt=yf(this,An,wt,Je),Rt.hitSide)break}return Rt},moveV:Gi(function(we,Ne){var Je=this,ft=this.doc,wt=[],Mt=!this.display.shift&&!ft.extend&&ft.sel.somethingSelected();if(ft.extendSelectionsBy(function(fn){if(Mt)return we<0?fn.from():fn.to();var An=ho(Je,fn.head,"div");fn.goalColumn!=null&&(An.left=fn.goalColumn),wt.push(An.left);var cr=yf(Je,An,we,Ne);return Ne=="page"&&fn==ft.sel.primary()&&ta(Je,Ho(Je,cr,"div").top-An.top),cr},it),wt.length)for(var Rt=0;Rt<ft.sel.ranges.length;Rt++)ft.sel.ranges[Rt].goalColumn=wt[Rt]}),findWordAt:function(we){var Ne=this.doc,Je=Rn(Ne,we.line).text,ft=we.ch,wt=we.ch;if(Je){var Mt=this.getHelper(we,"wordChars");(we.sticky=="before"||wt==Je.length)&&ft?--ft:++wt;for(var Rt=Je.charAt(ft),fn=je(Rt,Mt)?function(An){return je(An,Mt)}:/\s/.test(Rt)?function(An){return/\s/.test(An)}:function(An){return!/\s/.test(An)&&!je(An)};ft>0&&fn(Je.charAt(ft-1));)--ft;for(;wt<Je.length&&fn(Je.charAt(wt));)++wt}return new Co(Jt(we.line,ft),Jt(we.line,wt))},toggleOverwrite:function(we){we!=null&&we==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?We(this.display.cursorDiv,"CodeMirror-overwrite"):Fe(this.display.cursorDiv,"CodeMirror-overwrite"),Pt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==_e()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Gi(function(we,Ne){Ki(this,we,Ne)}),getScrollInfo:function(){var we=this.display.scroller;return{left:we.scrollLeft,top:we.scrollTop,height:we.scrollHeight-Ni(this)-this.display.barHeight,width:we.scrollWidth-Ni(this)-this.display.barWidth,clientHeight:ea(this),clientWidth:mi(this)}},scrollIntoView:Gi(function(we,Ne){we==null?(we={from:this.doc.sel.primary().head,to:null},Ne==null&&(Ne=this.options.cursorScrollMargin)):typeof we=="number"?we={from:Jt(we,0),to:null}:we.from==null&&(we={from:we,to:null}),we.to||(we.to=we.from),we.margin=Ne||0,we.from.line!=null?xa(this,we):li(this,we.from,we.to,we.margin)}),setSize:Gi(function(we,Ne){var Je=this,ft=function(Mt){return typeof Mt=="number"||/^\d+$/.test(String(Mt))?Mt+"px":Mt};we!=null&&(this.display.wrapper.style.width=ft(we)),Ne!=null&&(this.display.wrapper.style.height=ft(Ne)),this.options.lineWrapping&&ao(this);var wt=this.display.viewFrom;this.doc.iter(wt,this.display.viewTo,function(Mt){if(Mt.widgets){for(var Rt=0;Rt<Mt.widgets.length;Rt++)if(Mt.widgets[Rt].noHScroll){Do(Je,wt,"widget");break}}++wt}),this.curOp.forceUpdate=!0,Pt(this,"refresh",this)}),operation:function(we){return bi(this,we)},startOperation:function(){return no(this)},endOperation:function(){return Io(this)},refresh:Gi(function(){var we=this.display.cachedTextHeight;Aa(this),this.curOp.forceUpdate=!0,pa(this),Ki(this,this.doc.scrollLeft,this.doc.scrollTop),xs(this.display),(we==null||Math.abs(we-Fo(this.display))>.5||this.options.lineWrapping)&&os(this),Pt(this,"refresh",this)}),swapDoc:Gi(function(we){var Ne=this.doc;return Ne.cm=null,this.state.selectingText&&this.state.selectingText(),Ta(this,we),pa(this),this.display.input.reset(),Ki(this,we.scrollLeft,we.scrollTop),this.curOp.forceScroll=!0,Wn(this,"swapDoc",this,Ne),Ne}),phrase:function(we){var Ne=this.options.phrases;return Ne&&Object.prototype.hasOwnProperty.call(Ne,we)?Ne[we]:we},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}},Tn(E),E.registerHelper=function(we,Ne,Je){Ee.hasOwnProperty(we)||(Ee[we]=E[we]={_global:[]}),Ee[we][Ne]=Je},E.registerGlobalHelper=function(we,Ne,Je,ft){E.registerHelper(we,Ne,ft),Ee[we]._global.push({pred:Je,val:ft})}}function Gu(E,ee,Ee,we,Ne){var Je=ee,ft=Ee,wt=Rn(E,ee.line),Mt=Ne&&E.direction=="rtl"?-Ee:Ee;function Rt(){var Ji=ee.line+Mt;return Ji<E.first||Ji>=E.first+E.size?!1:(ee=new Jt(Ji,ee.ch,ee.sticky),wt=Rn(E,Ji))}function fn(Ji){var Bi;if(we=="codepoint"){var sa=wt.text.charCodeAt(ee.ch+(we>0?0:-1));isNaN(sa)?Bi=null:Bi=new Jt(ee.line,Math.max(0,Math.min(wt.text.length,ee.ch+Ee*(sa>=55296&&sa<56320?2:1))),-Ee)}else Ne?Bi=$l(E.cm,wt,ee,Ee):Bi=Jl(wt,ee,Ee);if(Bi==null)if(!Ji&&Rt())ee=Hc(Ne,E.cm,wt,ee.line,Mt);else return!1;else ee=Bi;return!0}if(we=="char"||we=="codepoint")fn();else if(we=="column")fn(!0);else if(we=="word"||we=="group")for(var An=null,cr=we=="group",qn=E.cm&&E.cm.getHelper(ee,"wordChars"),Kr=!0;!(Ee<0&&!fn(!Kr));Kr=!1){var ni=wt.text.charAt(ee.ch)||`
`,Ei=je(ni,qn)?"w":cr&&ni==`
`?"n":!cr||/\s/.test(ni)?null:"p";if(cr&&!Kr&&!Ei&&(Ei="s"),An&&An!=Ei){Ee<0&&(Ee=1,fn(),ee.sticky="after");break}if(Ei&&(An=Ei),Ee>0&&!fn(!Kr))break}var zi=Jc(E,ee,Je,ft,!0);return er(Je,zi)&&(zi.hitSide=!0),zi}function yf(E,ee,Ee,we){var Ne=E.doc,Je=ee.left,ft;if(we=="page"){var wt=Math.min(E.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Mt=Math.max(wt-.5*Fo(E.display),3);ft=(Ee>0?ee.bottom:ee.top)+Ee*Mt}else we=="line"&&(ft=Ee>0?ee.bottom+3:ee.top-3);for(var Rt;Rt=Yo(E,Je,ft),!!Rt.outside;){if(Ee<0?ft<=0:ft>=Ne.height){Rt.hitSide=!0;break}ft+=Ee*5}return Rt}var rs=function(E){this.cm=E,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ge,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};rs.prototype.init=function(E){var ee=this,Ee=this,we=Ee.cm,Ne=Ee.div=E.lineDiv;gf(Ne,we.options.spellcheck,we.options.autocorrect,we.options.autocapitalize);function Je(wt){for(var Mt=wt.target;Mt;Mt=Mt.parentNode){if(Mt==Ne)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Mt.className))break}return!1}Qt(Ne,"paste",function(wt){!Je(wt)||zt(we,wt)||kd(wt,we)||ie<=11&&setTimeout(ia(we,function(){return ee.updateFromDOM()}),20)}),Qt(Ne,"compositionstart",function(wt){ee.composing={data:wt.data,done:!1}}),Qt(Ne,"compositionupdate",function(wt){ee.composing||(ee.composing={data:wt.data,done:!1})}),Qt(Ne,"compositionend",function(wt){ee.composing&&(wt.data!=ee.composing.data&&ee.readFromDOMSoon(),ee.composing.done=!0)}),Qt(Ne,"touchstart",function(){return Ee.forceCompositionEnd()}),Qt(Ne,"input",function(){ee.composing||ee.readFromDOMSoon()});function ft(wt){if(!(!Je(wt)||zt(we,wt))){if(we.somethingSelected())Mc({lineWise:!1,text:we.getSelections()}),wt.type=="cut"&&we.replaceSelection("",null,"cut");else if(we.options.lineWiseCopyCut){var Mt=ou(we);Mc({lineWise:!0,text:Mt.text}),wt.type=="cut"&&we.operation(function(){we.setSelections(Mt.ranges,0,nt),we.replaceSelection("",null,"cut")})}else return;if(wt.clipboardData){wt.clipboardData.clearData();var Rt=Zl.text.join(`
`);if(wt.clipboardData.setData("Text",Rt),wt.clipboardData.getData("Text")==Rt){wt.preventDefault();return}}var fn=Od(),An=fn.firstChild;we.display.lineSpace.insertBefore(fn,we.display.lineSpace.firstChild),An.value=Zl.text.join(`
`);var cr=document.activeElement;et(An),setTimeout(function(){we.display.lineSpace.removeChild(fn),cr.focus(),cr==Ne&&Ee.showPrimarySelection()},50)}}Qt(Ne,"copy",ft),Qt(Ne,"cut",ft)},rs.prototype.screenReaderLabelChanged=function(E){E?this.div.setAttribute("aria-label",E):this.div.removeAttribute("aria-label")},rs.prototype.prepareSelection=function(){var E=Un(this.cm,!1);return E.focus=document.activeElement==this.div,E},rs.prototype.showSelection=function(E,ee){!E||!this.cm.display.view.length||((E.focus||ee)&&this.showPrimarySelection(),this.showMultipleSelections(E))},rs.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},rs.prototype.showPrimarySelection=function(){var E=this.getSelection(),ee=this.cm,Ee=ee.doc.sel.primary(),we=Ee.from(),Ne=Ee.to();if(ee.display.viewTo==ee.display.viewFrom||we.line>=ee.display.viewTo||Ne.line<ee.display.viewFrom){E.removeAllRanges();return}var Je=Xu(ee,E.anchorNode,E.anchorOffset),ft=Xu(ee,E.focusNode,E.focusOffset);if(!(Je&&!Je.bad&&ft&&!ft.bad&&cn(lr(Je,ft),we)==0&&cn(Fn(Je,ft),Ne)==0)){var wt=ee.display.view,Mt=we.line>=ee.display.viewFrom&&bf(ee,we)||{node:wt[0].measure.map[2],offset:0},Rt=Ne.line<ee.display.viewTo&&bf(ee,Ne);if(!Rt){var fn=wt[wt.length-1].measure,An=fn.maps?fn.maps[fn.maps.length-1]:fn.map;Rt={node:An[An.length-1],offset:An[An.length-2]-An[An.length-3]}}if(!Mt||!Rt){E.removeAllRanges();return}var cr=E.rangeCount&&E.getRangeAt(0),qn;try{qn=Be(Mt.node,Mt.offset,Rt.offset,Rt.node)}catch(Kr){}qn&&(!Oe&&ee.state.focused?(E.collapse(Mt.node,Mt.offset),qn.collapsed||(E.removeAllRanges(),E.addRange(qn))):(E.removeAllRanges(),E.addRange(qn)),cr&&E.anchorNode==null?E.addRange(cr):Oe&&this.startGracePeriod()),this.rememberSelection()}},rs.prototype.startGracePeriod=function(){var E=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){E.gracePeriod=!1,E.selectionChanged()&&E.cm.operation(function(){return E.cm.curOp.selectionChanged=!0})},20)},rs.prototype.showMultipleSelections=function(E){Ie(this.cm.display.cursorDiv,E.cursors),Ie(this.cm.display.selectionDiv,E.selection)},rs.prototype.rememberSelection=function(){var E=this.getSelection();this.lastAnchorNode=E.anchorNode,this.lastAnchorOffset=E.anchorOffset,this.lastFocusNode=E.focusNode,this.lastFocusOffset=E.focusOffset},rs.prototype.selectionInEditor=function(){var E=this.getSelection();if(!E.rangeCount)return!1;var ee=E.getRangeAt(0).commonAncestorContainer;return Ue(this.div,ee)},rs.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},rs.prototype.blur=function(){this.div.blur()},rs.prototype.getField=function(){return this.div},rs.prototype.supportsTouch=function(){return!0},rs.prototype.receivedFocus=function(){var E=this;this.selectionInEditor()?this.pollSelection():bi(this.cm,function(){return E.cm.curOp.selectionChanged=!0});function ee(){E.cm.state.focused&&(E.pollSelection(),E.polling.set(E.cm.options.pollInterval,ee))}this.polling.set(this.cm.options.pollInterval,ee)},rs.prototype.selectionChanged=function(){var E=this.getSelection();return E.anchorNode!=this.lastAnchorNode||E.anchorOffset!=this.lastAnchorOffset||E.focusNode!=this.lastFocusNode||E.focusOffset!=this.lastFocusOffset},rs.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var E=this.getSelection(),ee=this.cm;if(fe&&ne&&this.cm.display.gutterSpecs.length&&uh(E.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var Ee=Xu(ee,E.anchorNode,E.anchorOffset),we=Xu(ee,E.focusNode,E.focusOffset);Ee&&we&&bi(ee,function(){Ts(ee.doc,Gs(Ee,we),nt),(Ee.bad||we.bad)&&(ee.curOp.selectionChanged=!0)})}}},rs.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var E=this.cm,ee=E.display,Ee=E.doc.sel.primary(),we=Ee.from(),Ne=Ee.to();if(we.ch==0&&we.line>E.firstLine()&&(we=Jt(we.line-1,Rn(E.doc,we.line-1).length)),Ne.ch==Rn(E.doc,Ne.line).text.length&&Ne.line<E.lastLine()&&(Ne=Jt(Ne.line+1,0)),we.line<ee.viewFrom||Ne.line>ee.viewTo-1)return!1;var Je,ft,wt;we.line==ee.viewFrom||(Je=to(E,we.line))==0?(ft=Ir(ee.view[0].line),wt=ee.view[0].node):(ft=Ir(ee.view[Je].line),wt=ee.view[Je-1].node.nextSibling);var Mt=to(E,Ne.line),Rt,fn;if(Mt==ee.view.length-1?(Rt=ee.viewTo-1,fn=ee.lineDiv.lastChild):(Rt=Ir(ee.view[Mt+1].line)-1,fn=ee.view[Mt+1].node.previousSibling),!wt)return!1;for(var An=E.doc.splitLines(dh(E,wt,fn,ft,Rt)),cr=pr(E.doc,Jt(ft,0),Jt(Rt,Rn(E.doc,Rt).text.length));An.length>1&&cr.length>1;)if(Et(An)==Et(cr))An.pop(),cr.pop(),Rt--;else if(An[0]==cr[0])An.shift(),cr.shift(),ft++;else break;for(var qn=0,Kr=0,ni=An[0],Ei=cr[0],zi=Math.min(ni.length,Ei.length);qn<zi&&ni.charCodeAt(qn)==Ei.charCodeAt(qn);)++qn;for(var Ji=Et(An),Bi=Et(cr),sa=Math.min(Ji.length-(An.length==1?qn:0),Bi.length-(cr.length==1?qn:0));Kr<sa&&Ji.charCodeAt(Ji.length-Kr-1)==Bi.charCodeAt(Bi.length-Kr-1);)++Kr;if(An.length==1&&cr.length==1&&ft==we.line)for(;qn&&qn>we.ch&&Ji.charCodeAt(Ji.length-Kr-1)==Bi.charCodeAt(Bi.length-Kr-1);)qn--,Kr++;An[An.length-1]=Ji.slice(0,Ji.length-Kr).replace(/^\u200b+/,""),An[0]=An[0].slice(qn).replace(/\u200b+$/,"");var Wa=Jt(ft,qn),Xa=Jt(Rt,cr.length?Et(cr).length-Kr:0);if(An.length>1||An[0]||cn(Wa,Xa))return ol(E.doc,An,Wa,Xa,"+input"),!0},rs.prototype.ensurePolled=function(){this.forceCompositionEnd()},rs.prototype.reset=function(){this.forceCompositionEnd()},rs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},rs.prototype.readFromDOMSoon=function(){var E=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(E.readDOMTimeout=null,E.composing)if(E.composing.done)E.composing=null;else return;E.updateFromDOM()},80))},rs.prototype.updateFromDOM=function(){var E=this;(this.cm.isReadOnly()||!this.pollContent())&&bi(this.cm,function(){return Aa(E.cm)})},rs.prototype.setUneditable=function(E){E.contentEditable="false"},rs.prototype.onKeyPress=function(E){E.charCode==0||this.composing||(E.preventDefault(),this.cm.isReadOnly()||ia(this.cm,Md)(this.cm,String.fromCharCode(E.charCode==null?E.keyCode:E.charCode),0))},rs.prototype.readOnlyChanged=function(E){this.div.contentEditable=String(E!="nocursor")},rs.prototype.onContextMenu=function(){},rs.prototype.resetPosition=function(){},rs.prototype.needsContentAttribute=!0;function bf(E,ee){var Ee=Za(E,ee.line);if(!Ee||Ee.hidden)return null;var we=Rn(E.doc,ee.line),Ne=Si(Ee,we,ee.line),Je=bn(we,E.doc.direction),ft="left";if(Je){var wt=xt(Je,ee.ch);ft=wt%2?"right":"left"}var Mt=Da(Ne.map,ee.ch,ft);return Mt.offset=Mt.collapse=="right"?Mt.end:Mt.start,Mt}function uh(E){for(var ee=E;ee;ee=ee.parentNode)if(/CodeMirror-gutter-wrapper/.test(ee.className))return!0;return!1}function su(E,ee){return ee&&(E.bad=!0),E}function dh(E,ee,Ee,we,Ne){var Je="",ft=!1,wt=E.doc.lineSeparator(),Mt=!1;function Rt(qn){return function(Kr){return Kr.id==qn}}function fn(){ft&&(Je+=wt,Mt&&(Je+=wt),ft=Mt=!1)}function An(qn){qn&&(fn(),Je+=qn)}function cr(qn){if(qn.nodeType==1){var Kr=qn.getAttribute("cm-text");if(Kr){An(Kr);return}var ni=qn.getAttribute("cm-marker"),Ei;if(ni){var zi=E.findMarks(Jt(we,0),Jt(Ne+1,0),Rt(+ni));zi.length&&(Ei=zi[0].find(0))&&An(pr(E.doc,Ei.from,Ei.to).join(wt));return}if(qn.getAttribute("contenteditable")=="false")return;var Ji=/^(pre|div|p|li|table|br)$/i.test(qn.nodeName);if(!/^br$/i.test(qn.nodeName)&&qn.textContent.length==0)return;Ji&&fn();for(var Bi=0;Bi<qn.childNodes.length;Bi++)cr(qn.childNodes[Bi]);/^(pre|p)$/i.test(qn.nodeName)&&(Mt=!0),Ji&&(ft=!0)}else qn.nodeType==3&&An(qn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;cr(ee),ee!=Ee;)ee=ee.nextSibling,Mt=!1;return Je}function Xu(E,ee,Ee){var we;if(ee==E.display.lineDiv){if(we=E.display.lineDiv.childNodes[Ee],!we)return su(E.clipPos(Jt(E.display.viewTo-1)),!0);ee=null,Ee=0}else for(we=ee;;we=we.parentNode){if(!we||we==E.display.lineDiv)return null;if(we.parentNode&&we.parentNode==E.display.lineDiv)break}for(var Ne=0;Ne<E.display.view.length;Ne++){var Je=E.display.view[Ne];if(Je.node==we)return fh(Je,ee,Ee)}}function fh(E,ee,Ee){var we=E.text.firstChild,Ne=!1;if(!ee||!Ue(we,ee))return su(Jt(Ir(E.line),0),!0);if(ee==we&&(Ne=!0,ee=we.childNodes[Ee],Ee=0,!ee)){var Je=E.rest?Et(E.rest):E.line;return su(Jt(Ir(Je),Je.text.length),Ne)}var ft=ee.nodeType==3?ee:null,wt=ee;for(!ft&&ee.childNodes.length==1&&ee.firstChild.nodeType==3&&(ft=ee.firstChild,Ee&&(Ee=ft.nodeValue.length));wt.parentNode!=we;)wt=wt.parentNode;var Mt=E.measure,Rt=Mt.maps;function fn(Ei,zi,Ji){for(var Bi=-1;Bi<(Rt?Rt.length:0);Bi++)for(var sa=Bi<0?Mt.map:Rt[Bi],Wa=0;Wa<sa.length;Wa+=3){var Xa=sa[Wa+2];if(Xa==Ei||Xa==zi){var Ao=Ir(Bi<0?E.line:E.rest[Bi]),fs=sa[Wa]+Ji;return(Ji<0||Xa!=Ei)&&(fs=sa[Wa+(Ji?1:0)]),Jt(Ao,fs)}}}var An=fn(ft,wt,Ee);if(An)return su(An,Ne);for(var cr=wt.nextSibling,qn=ft?ft.nodeValue.length-Ee:0;cr;cr=cr.nextSibling){if(An=fn(cr,cr.firstChild,0),An)return su(Jt(An.line,An.ch-qn),Ne);qn+=cr.textContent.length}for(var Kr=wt.previousSibling,ni=Ee;Kr;Kr=Kr.previousSibling){if(An=fn(Kr,Kr.firstChild,-1),An)return su(Jt(An.line,An.ch+ni),Ne);ni+=Kr.textContent.length}}var ds=function(E){this.cm=E,this.prevInput="",this.pollingFast=!1,this.polling=new Ge,this.hasSelection=!1,this.composing=null};ds.prototype.init=function(E){var ee=this,Ee=this,we=this.cm;this.createField(E);var Ne=this.textarea;E.wrapper.insertBefore(this.wrapper,E.wrapper.firstChild),ce&&(Ne.style.width="0px"),Qt(Ne,"input",function(){me&&ie>=9&&ee.hasSelection&&(ee.hasSelection=null),Ee.poll()}),Qt(Ne,"paste",function(ft){zt(we,ft)||kd(ft,we)||(we.state.pasteIncoming=+new Date,Ee.fastPoll())});function Je(ft){if(!zt(we,ft)){if(we.somethingSelected())Mc({lineWise:!1,text:we.getSelections()});else if(we.options.lineWiseCopyCut){var wt=ou(we);Mc({lineWise:!0,text:wt.text}),ft.type=="cut"?we.setSelections(wt.ranges,null,nt):(Ee.prevInput="",Ne.value=wt.text.join(`
`),et(Ne))}else return;ft.type=="cut"&&(we.state.cutIncoming=+new Date)}}Qt(Ne,"cut",Je),Qt(Ne,"copy",Je),Qt(E.scroller,"paste",function(ft){if(!(Ti(E,ft)||zt(we,ft))){if(!Ne.dispatchEvent){we.state.pasteIncoming=+new Date,Ee.focus();return}var wt=new Event("paste");wt.clipboardData=ft.clipboardData,Ne.dispatchEvent(wt)}}),Qt(E.lineSpace,"selectstart",function(ft){Ti(E,ft)||Gn(ft)}),Qt(Ne,"compositionstart",function(){var ft=we.getCursor("from");Ee.composing&&Ee.composing.range.clear(),Ee.composing={start:ft,range:we.markText(ft,we.getCursor("to"),{className:"CodeMirror-composing"})}}),Qt(Ne,"compositionend",function(){Ee.composing&&(Ee.poll(),Ee.composing.range.clear(),Ee.composing=null)})},ds.prototype.createField=function(E){this.wrapper=Od(),this.textarea=this.wrapper.firstChild},ds.prototype.screenReaderLabelChanged=function(E){E?this.textarea.setAttribute("aria-label",E):this.textarea.removeAttribute("aria-label")},ds.prototype.prepareSelection=function(){var E=this.cm,ee=E.display,Ee=E.doc,we=Un(E);if(E.options.moveInputWithCursor){var Ne=ho(E,Ee.sel.primary().head,"div"),Je=ee.wrapper.getBoundingClientRect(),ft=ee.lineDiv.getBoundingClientRect();we.teTop=Math.max(0,Math.min(ee.wrapper.clientHeight-10,Ne.top+ft.top-Je.top)),we.teLeft=Math.max(0,Math.min(ee.wrapper.clientWidth-10,Ne.left+ft.left-Je.left))}return we},ds.prototype.showSelection=function(E){var ee=this.cm,Ee=ee.display;Ie(Ee.cursorDiv,E.cursors),Ie(Ee.selectionDiv,E.selection),E.teTop!=null&&(this.wrapper.style.top=E.teTop+"px",this.wrapper.style.left=E.teLeft+"px")},ds.prototype.reset=function(E){if(!(this.contextMenuPending||this.composing)){var ee=this.cm;if(ee.somethingSelected()){this.prevInput="";var Ee=ee.getSelection();this.textarea.value=Ee,ee.state.focused&&et(this.textarea),me&&ie>=9&&(this.hasSelection=Ee)}else E||(this.prevInput=this.textarea.value="",me&&ie>=9&&(this.hasSelection=null))}},ds.prototype.getField=function(){return this.textarea},ds.prototype.supportsTouch=function(){return!1},ds.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!pe||_e()!=this.textarea))try{this.textarea.focus()}catch(E){}},ds.prototype.blur=function(){this.textarea.blur()},ds.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ds.prototype.receivedFocus=function(){this.slowPoll()},ds.prototype.slowPoll=function(){var E=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){E.poll(),E.cm.state.focused&&E.slowPoll()})},ds.prototype.fastPoll=function(){var E=!1,ee=this;ee.pollingFast=!0;function Ee(){var we=ee.poll();!we&&!E?(E=!0,ee.polling.set(60,Ee)):(ee.pollingFast=!1,ee.slowPoll())}ee.polling.set(20,Ee)},ds.prototype.poll=function(){var E=this,ee=this.cm,Ee=this.textarea,we=this.prevInput;if(this.contextMenuPending||!ee.state.focused||Jn(Ee)&&!we&&!this.composing||ee.isReadOnly()||ee.options.disableInput||ee.state.keySeq)return!1;var Ne=Ee.value;if(Ne==we&&!ee.somethingSelected())return!1;if(me&&ie>=9&&this.hasSelection===Ne||le&&/[\uf700-\uf7ff]/.test(Ne))return ee.display.input.reset(),!1;if(ee.doc.sel==ee.display.selForContextMenu){var Je=Ne.charCodeAt(0);if(Je==8203&&!we&&(we="\u200B"),Je==8666)return this.reset(),this.cm.execCommand("undo")}for(var ft=0,wt=Math.min(we.length,Ne.length);ft<wt&&we.charCodeAt(ft)==Ne.charCodeAt(ft);)++ft;return bi(ee,function(){Md(ee,Ne.slice(ft),we.length-ft,null,E.composing?"*compose":null),Ne.length>1e3||Ne.indexOf(`
`)>-1?Ee.value=E.prevInput="":E.prevInput=Ne,E.composing&&(E.composing.range.clear(),E.composing.range=ee.markText(E.composing.start,ee.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ds.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ds.prototype.onKeyPress=function(){me&&ie>=9&&(this.hasSelection=null),this.fastPoll()},ds.prototype.onContextMenu=function(E){var ee=this,Ee=ee.cm,we=Ee.display,Ne=ee.textarea;ee.contextMenuPending&&ee.contextMenuPending();var Je=Is(Ee,E),ft=we.scroller.scrollTop;if(!Je||oe)return;var wt=Ee.options.resetSelectionOnContextMenu;wt&&Ee.doc.sel.contains(Je)==-1&&ia(Ee,Ts)(Ee.doc,Gs(Je),nt);var Mt=Ne.style.cssText,Rt=ee.wrapper.style.cssText,fn=ee.wrapper.offsetParent.getBoundingClientRect();ee.wrapper.style.cssText="position: static",Ne.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(E.clientY-fn.top-5)+"px; left: "+(E.clientX-fn.left-5)+`px;
z-index: 1000; background: `+(me?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var An;te&&(An=window.scrollY),we.input.focus(),te&&window.scrollTo(null,An),we.input.reset(),Ee.somethingSelected()||(Ne.value=ee.prevInput=" "),ee.contextMenuPending=qn,we.selForContextMenu=Ee.doc.sel,clearTimeout(we.detectingSelectAll);function cr(){if(Ne.selectionStart!=null){var ni=Ee.somethingSelected(),Ei="\u200B"+(ni?Ne.value:"");Ne.value="\u21DA",Ne.value=Ei,ee.prevInput=ni?"":"\u200B",Ne.selectionStart=1,Ne.selectionEnd=Ei.length,we.selForContextMenu=Ee.doc.sel}}function qn(){if(ee.contextMenuPending==qn&&(ee.contextMenuPending=!1,ee.wrapper.style.cssText=Rt,Ne.style.cssText=Mt,me&&ie<9&&we.scrollbars.setScrollTop(we.scroller.scrollTop=ft),Ne.selectionStart!=null)){(!me||me&&ie<9)&&cr();var ni=0,Ei=function(){we.selForContextMenu==Ee.doc.sel&&Ne.selectionStart==0&&Ne.selectionEnd>0&&ee.prevInput=="\u200B"?ia(Ee,$c)(Ee):ni++<10?we.detectingSelectAll=setTimeout(Ei,500):(we.selForContextMenu=null,we.input.reset())};we.detectingSelectAll=setTimeout(Ei,200)}}if(me&&ie>=9&&cr(),ye){Wr(E);var Kr=function(){yn(window,"mouseup",Kr),setTimeout(qn,20)};Qt(window,"mouseup",Kr)}else setTimeout(qn,50)},ds.prototype.readOnlyChanged=function(E){E||this.reset(),this.textarea.disabled=E=="nocursor",this.textarea.readOnly=!!E},ds.prototype.setUneditable=function(){},ds.prototype.needsContentAttribute=!1;function Wc(E,ee){if(ee=ee?pt(ee):{},ee.value=E.value,!ee.tabindex&&E.tabIndex&&(ee.tabindex=E.tabIndex),!ee.placeholder&&E.placeholder&&(ee.placeholder=E.placeholder),ee.autofocus==null){var Ee=_e();ee.autofocus=Ee==E||E.getAttribute("autofocus")!=null&&Ee==document.body}function we(){E.value=wt.getValue()}var Ne;if(E.form&&(Qt(E.form,"submit",we),!ee.leaveSubmitMethodAlone)){var Je=E.form;Ne=Je.submit;try{var ft=Je.submit=function(){we(),Je.submit=Ne,Je.submit(),Je.submit=ft}}catch(Mt){}}ee.finishInit=function(Mt){Mt.save=we,Mt.getTextArea=function(){return E},Mt.toTextArea=function(){Mt.toTextArea=isNaN,we(),E.parentNode.removeChild(Mt.getWrapperElement()),E.style.display="",E.form&&(yn(E.form,"submit",we),!ee.leaveSubmitMethodAlone&&typeof E.form.submit=="function"&&(E.form.submit=Ne))}},E.style.display="none";var wt=so(function(Mt){return E.parentNode.insertBefore(Mt,E.nextSibling)},ee);return wt}function lu(E){E.off=yn,E.on=Qt,E.wheelEventPixels=Ol,E.Doc=Hs,E.splitLines=nn,E.countColumn=Xe,E.findColumn=gt,E.isWordChar=He,E.Pass=st,E.signal=Pt,E.Line=Hn,E.changeEnd=tl,E.scrollbarModel=Ga,E.Pos=Jt,E.cmpPos=cn,E.modes=Pr,E.mimeModes=Or,E.resolveMode=$t,E.getMode=qt,E.modeExtensions=Nn,E.extendMode=jt,E.copyState=on,E.startState=pn,E.innerMode=kn,E.commands=ru,E.keyMap=us,E.keyName=zc,E.isModifierKey=wu,E.lookupKey=uc,E.normalizeKeyMap=yd,E.StringStream=Bn,E.SharedTextMarker=Eo,E.TextMarker=xc,E.LineWidget=eu,E.e_preventDefault=Gn,E.e_stopPropagation=fr,E.e_stop=Wr,E.addClass=We,E.contains=Ue,E.rmClass=Fe,E.keyNames=Ul}sh(so),Dd(so);var hc="iter insert remove copy getEditor constructor".split(" ");for(var jl in Hs.prototype)Hs.prototype.hasOwnProperty(jl)&&lt(hc,jl)<0&&(so.prototype[jl]=function(E){return function(){return E.apply(this.doc,arguments)}}(Hs.prototype[jl]));return Tn(Hs),so.inputStyles={textarea:ds,contenteditable:rs},so.defineMode=function(E){!so.defaults.mode&&E!="null"&&(so.defaults.mode=E),Mr.apply(this,arguments)},so.defineMIME=Ut,so.defineMode("null",function(){return{token:function(E){return E.skipToEnd()}}}),so.defineMIME("text/plain","null"),so.defineExtension=function(E,ee){so.prototype[E]=ee},so.defineDocExtension=function(E,ee){Hs.prototype[E]=ee},so.fromTextArea=Wc,lu(so),so.version="5.58.2",so})},49047:function(tn,Kt,ve){(function(Oe){Oe(ve(4631),ve(29589),ve(52539))})(function(Oe){"use strict";Oe.defineMode("markdown",function($e,x){var Te=Oe.getMode($e,"text/html"),me=Te.name=="null";function ie(Xe){if(Oe.findModeByName){var Ge=Oe.findModeByName(Xe);Ge&&(Xe=Ge.mime||Ge.mimes[0])}var lt=Oe.getMode($e,Xe);return lt.name=="null"?null:lt}x.highlightFormatting===void 0&&(x.highlightFormatting=!1),x.maxBlockquoteDepth===void 0&&(x.maxBlockquoteDepth=0),x.taskLists===void 0&&(x.taskLists=!1),x.strikethrough===void 0&&(x.strikethrough=!1),x.emoji===void 0&&(x.emoji=!1),x.fencedCodeBlockHighlighting===void 0&&(x.fencedCodeBlockHighlighting=!0),x.fencedCodeBlockDefaultMode===void 0&&(x.fencedCodeBlockDefaultMode="text/plain"),x.xml===void 0&&(x.xml=!0),x.tokenTypeOverrides===void 0&&(x.tokenTypeOverrides={});var te={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 ae in te)te.hasOwnProperty(ae)&&x.tokenTypeOverrides[ae]&&(te[ae]=x.tokenTypeOverrides[ae]);var ne=/^([*\-_])(?:\s*\1){2,}\s*$/,oe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,he=/^\[(x| )\](?=\s)/i,re=x.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,se=/^ {0,3}(?:\={1,}|-{2,})\s*$/,ce=/^[^#!\[\]*_\\<>` "'(~:]+/,fe=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,pe=/^\s*\[[^\]]+?\]:.*$/,le=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Se=" ";function xe(Xe,Ge,lt){return Ge.f=Ge.inline=lt,lt(Xe,Ge)}function ge(Xe,Ge,lt){return Ge.f=Ge.block=lt,lt(Xe,Ge)}function Me(Xe){return!Xe||!/\S/.test(Xe.string)}function ye(Xe){if(Xe.linkTitle=!1,Xe.linkHref=!1,Xe.linkText=!1,Xe.em=!1,Xe.strong=!1,Xe.strikethrough=!1,Xe.quote=0,Xe.indentedCode=!1,Xe.f==Fe){var Ge=me;if(!Ge){var lt=Oe.innerMode(Te,Xe.htmlState);Ge=lt.mode.name=="xml"&&lt.state.tagStart===null&&!lt.state.context&&lt.state.tokenize.isInText}Ge&&(Xe.f=De,Xe.block=be,Xe.htmlState=null)}return Xe.trailingSpace=0,Xe.trailingSpaceNewLine=!1,Xe.prevLine=Xe.thisLine,Xe.thisLine={stream:null},null}function be(Xe,Ge){var lt=Xe.column()===Ge.indentation,dt=Me(Ge.prevLine.stream),st=Ge.indentedCode,nt=Ge.prevLine.hr,rt=Ge.list!==!1,it=(Ge.listStack[Ge.listStack.length-1]||0)+3;Ge.indentedCode=!1;var gt=Ge.indentation;if(Ge.indentationDiff===null&&(Ge.indentationDiff=Ge.indentation,rt)){for(Ge.list=null;gt<Ge.listStack[Ge.listStack.length-1];)Ge.listStack.pop(),Ge.listStack.length?Ge.indentation=Ge.listStack[Ge.listStack.length-1]:Ge.list=!1;Ge.list!==!1&&(Ge.indentationDiff=gt-Ge.listStack[Ge.listStack.length-1])}var vt=!dt&&!nt&&!Ge.prevLine.header&&(!rt||!st)&&!Ge.prevLine.fencedCodeEnd,At=(Ge.list===!1||nt||dt)&&Ge.indentation<=it&&Xe.match(ne),Et=null;if(Ge.indentationDiff>=4&&(st||Ge.prevLine.fencedCodeEnd||Ge.prevLine.header||dt))return Xe.skipToEnd(),Ge.indentedCode=!0,te.code;if(Xe.eatSpace())return null;if(lt&&Ge.indentation<=it&&(Et=Xe.match(re))&&Et[1].length<=6)return Ge.quote=0,Ge.header=Et[1].length,Ge.thisLine.header=!0,x.highlightFormatting&&(Ge.formatting="header"),Ge.f=Ge.inline,Ie(Ge);if(Ge.indentation<=it&&Xe.eat(">"))return Ge.quote=lt?1:Ge.quote+1,x.highlightFormatting&&(Ge.formatting="quote"),Xe.eatSpace(),Ie(Ge);if(!At&&!Ge.setext&&lt&&Ge.indentation<=it&&(Et=Xe.match(oe))){var ut=Et[1]?"ol":"ul";return Ge.indentation=gt+Xe.current().length,Ge.list=!0,Ge.quote=0,Ge.listStack.push(Ge.indentation),Ge.em=!1,Ge.strong=!1,Ge.code=!1,Ge.strikethrough=!1,x.taskLists&&Xe.match(he,!1)&&(Ge.taskList=!0),Ge.f=Ge.inline,x.highlightFormatting&&(Ge.formatting=["list","list-"+ut]),Ie(Ge)}else{if(lt&&Ge.indentation<=it&&(Et=Xe.match(fe,!0)))return Ge.quote=0,Ge.fencedEndRE=new RegExp(Et[1]+"+ *$"),Ge.localMode=x.fencedCodeBlockHighlighting&&ie(Et[2]||x.fencedCodeBlockDefaultMode),Ge.localMode&&(Ge.localState=Oe.startState(Ge.localMode)),Ge.f=Ge.block=ke,x.highlightFormatting&&(Ge.formatting="code-block"),Ge.code=-1,Ie(Ge);if(Ge.setext||(!vt||!rt)&&!Ge.quote&&Ge.list===!1&&!Ge.code&&!At&&!pe.test(Xe.string)&&(Et=Xe.lookAhead(1))&&(Et=Et.match(se)))return Ge.setext?(Ge.header=Ge.setext,Ge.setext=0,Xe.skipToEnd(),x.highlightFormatting&&(Ge.formatting="header")):(Ge.header=Et[0].charAt(0)=="="?1:2,Ge.setext=Ge.header),Ge.thisLine.header=!0,Ge.f=Ge.inline,Ie(Ge);if(At)return Xe.skipToEnd(),Ge.hr=!0,Ge.thisLine.hr=!0,te.hr;if(Xe.peek()==="[")return xe(Xe,Ge,Ze)}return xe(Xe,Ge,Ge.inline)}function Fe(Xe,Ge){var lt=Te.token(Xe,Ge.htmlState);if(!me){var dt=Oe.innerMode(Te,Ge.htmlState);(dt.mode.name=="xml"&&dt.state.tagStart===null&&!dt.state.context&&dt.state.tokenize.isInText||Ge.md_inside&&Xe.current().indexOf(">")>-1)&&(Ge.f=De,Ge.block=be,Ge.htmlState=null)}return lt}function ke(Xe,Ge){var lt=Ge.listStack[Ge.listStack.length-1]||0,dt=Ge.indentation<lt,st=lt+3;if(Ge.fencedEndRE&&Ge.indentation<=st&&(dt||Xe.match(Ge.fencedEndRE))){x.highlightFormatting&&(Ge.formatting="code-block");var nt;return dt||(nt=Ie(Ge)),Ge.localMode=Ge.localState=null,Ge.block=be,Ge.f=De,Ge.fencedEndRE=null,Ge.code=0,Ge.thisLine.fencedCodeEnd=!0,dt?ge(Xe,Ge,Ge.block):nt}else return Ge.localMode?Ge.localMode.token(Xe,Ge.localState):(Xe.skipToEnd(),te.code)}function Ie(Xe){var Ge=[];if(Xe.formatting){Ge.push(te.formatting),typeof Xe.formatting=="string"&&(Xe.formatting=[Xe.formatting]);for(var lt=0;lt<Xe.formatting.length;lt++)Ge.push(te.formatting+"-"+Xe.formatting[lt]),Xe.formatting[lt]==="header"&&Ge.push(te.formatting+"-"+Xe.formatting[lt]+"-"+Xe.header),Xe.formatting[lt]==="quote"&&(!x.maxBlockquoteDepth||x.maxBlockquoteDepth>=Xe.quote?Ge.push(te.formatting+"-"+Xe.formatting[lt]+"-"+Xe.quote):Ge.push("error"))}if(Xe.taskOpen)return Ge.push("meta"),Ge.length?Ge.join(" "):null;if(Xe.taskClosed)return Ge.push("property"),Ge.length?Ge.join(" "):null;if(Xe.linkHref?Ge.push(te.linkHref,"url"):(Xe.strong&&Ge.push(te.strong),Xe.em&&Ge.push(te.em),Xe.strikethrough&&Ge.push(te.strikethrough),Xe.emoji&&Ge.push(te.emoji),Xe.linkText&&Ge.push(te.linkText),Xe.code&&Ge.push(te.code),Xe.image&&Ge.push(te.image),Xe.imageAltText&&Ge.push(te.imageAltText,"link"),Xe.imageMarker&&Ge.push(te.imageMarker)),Xe.header&&Ge.push(te.header,te.header+"-"+Xe.header),Xe.quote&&(Ge.push(te.quote),!x.maxBlockquoteDepth||x.maxBlockquoteDepth>=Xe.quote?Ge.push(te.quote+"-"+Xe.quote):Ge.push(te.quote+"-"+x.maxBlockquoteDepth)),Xe.list!==!1){var dt=(Xe.listStack.length-1)%3;dt?dt===1?Ge.push(te.list2):Ge.push(te.list3):Ge.push(te.list1)}return Xe.trailingSpaceNewLine?Ge.push("trailing-space-new-line"):Xe.trailingSpace&&Ge.push("trailing-space-"+(Xe.trailingSpace%2?"a":"b")),Ge.length?Ge.join(" "):null}function Le(Xe,Ge){if(Xe.match(ce,!0))return Ie(Ge)}function De(Xe,Ge){var lt=Ge.text(Xe,Ge);if(typeof lt!="undefined")return lt;if(Ge.list)return Ge.list=null,Ie(Ge);if(Ge.taskList){var dt=Xe.match(he,!0)[1]===" ";return dt?Ge.taskOpen=!0:Ge.taskClosed=!0,x.highlightFormatting&&(Ge.formatting="task"),Ge.taskList=!1,Ie(Ge)}if(Ge.taskOpen=!1,Ge.taskClosed=!1,Ge.header&&Xe.match(/^#+$/,!0))return x.highlightFormatting&&(Ge.formatting="header"),Ie(Ge);var st=Xe.next();if(Ge.linkTitle){Ge.linkTitle=!1;var nt=st;st==="("&&(nt=")"),nt=(nt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var rt="^\\s*(?:[^"+nt+"\\\\]+|\\\\\\\\|\\\\.)"+nt;if(Xe.match(new RegExp(rt),!0))return te.linkHref}if(st==="`"){var it=Ge.formatting;x.highlightFormatting&&(Ge.formatting="code"),Xe.eatWhile("`");var gt=Xe.current().length;if(Ge.code==0&&(!Ge.quote||gt==1))return Ge.code=gt,Ie(Ge);if(gt==Ge.code){var vt=Ie(Ge);return Ge.code=0,vt}else return Ge.formatting=it,Ie(Ge)}else if(Ge.code)return Ie(Ge);if(st==="\\"&&(Xe.next(),x.highlightFormatting)){var At=Ie(Ge),Et=te.formatting+"-escape";return At?At+" "+Et:Et}if(st==="!"&&Xe.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ge.imageMarker=!0,Ge.image=!0,x.highlightFormatting&&(Ge.formatting="image"),Ie(Ge);if(st==="["&&Ge.imageMarker&&Xe.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ge.imageMarker=!1,Ge.imageAltText=!0,x.highlightFormatting&&(Ge.formatting="image"),Ie(Ge);if(st==="]"&&Ge.imageAltText){x.highlightFormatting&&(Ge.formatting="image");var At=Ie(Ge);return Ge.imageAltText=!1,Ge.image=!1,Ge.inline=Ge.f=Ue,At}if(st==="["&&!Ge.image)return Ge.linkText&&Xe.match(/^.*?\]/)||(Ge.linkText=!0,x.highlightFormatting&&(Ge.formatting="link")),Ie(Ge);if(st==="]"&&Ge.linkText){x.highlightFormatting&&(Ge.formatting="link");var At=Ie(Ge);return Ge.linkText=!1,Ge.inline=Ge.f=Xe.match(/\(.*?\)| ?\[.*?\]/,!1)?Ue:De,At}if(st==="<"&&Xe.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ge.f=Ge.inline=Be,x.highlightFormatting&&(Ge.formatting="link");var At=Ie(Ge);return At?At+=" ":At="",At+te.linkInline}if(st==="<"&&Xe.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ge.f=Ge.inline=Be,x.highlightFormatting&&(Ge.formatting="link");var At=Ie(Ge);return At?At+=" ":At="",At+te.linkEmail}if(x.xml&&st==="<"&&Xe.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var ut=Xe.string.indexOf(">",Xe.pos);if(ut!=-1){var Ye=Xe.string.substring(Xe.start,ut);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Ye)&&(Ge.md_inside=!0)}return Xe.backUp(1),Ge.htmlState=Oe.startState(Te),ge(Xe,Ge,Fe)}if(x.xml&&st==="<"&&Xe.match(/^\/\w*?>/))return Ge.md_inside=!1,"tag";if(st==="*"||st==="_"){for(var Ve=1,de=Xe.pos==1?" ":Xe.string.charAt(Xe.pos-2);Ve<3&&Xe.eat(st);)Ve++;var Ce=Xe.peek()||" ",He=!/\s/.test(Ce)&&(!le.test(Ce)||/\s/.test(de)||le.test(de)),je=!/\s/.test(de)&&(!le.test(de)||/\s/.test(Ce)||le.test(Ce)),Ae=null,Re=null;if(Ve%2&&(!Ge.em&&He&&(st==="*"||!je||le.test(de))?Ae=!0:Ge.em==st&&je&&(st==="*"||!He||le.test(Ce))&&(Ae=!1)),Ve>1&&(!Ge.strong&&He&&(st==="*"||!je||le.test(de))?Re=!0:Ge.strong==st&&je&&(st==="*"||!He||le.test(Ce))&&(Re=!1)),Re!=null||Ae!=null){x.highlightFormatting&&(Ge.formatting=Ae==null?"strong":Re==null?"em":"strong em"),Ae===!0&&(Ge.em=st),Re===!0&&(Ge.strong=st);var vt=Ie(Ge);return Ae===!1&&(Ge.em=!1),Re===!1&&(Ge.strong=!1),vt}}else if(st===" "&&(Xe.eat("*")||Xe.eat("_"))){if(Xe.peek()===" ")return Ie(Ge);Xe.backUp(1)}if(x.strikethrough){if(st==="~"&&Xe.eatWhile(st)){if(Ge.strikethrough){x.highlightFormatting&&(Ge.formatting="strikethrough");var vt=Ie(Ge);return Ge.strikethrough=!1,vt}else if(Xe.match(/^[^\s]/,!1))return Ge.strikethrough=!0,x.highlightFormatting&&(Ge.formatting="strikethrough"),Ie(Ge)}else if(st===" "&&Xe.match(/^~~/,!0)){if(Xe.peek()===" ")return Ie(Ge);Xe.backUp(2)}}if(x.emoji&&st===":"&&Xe.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ge.emoji=!0,x.highlightFormatting&&(Ge.formatting="emoji");var ze=Ie(Ge);return Ge.emoji=!1,ze}return st===" "&&(Xe.match(/^ +$/,!1)?Ge.trailingSpace++:Ge.trailingSpace&&(Ge.trailingSpaceNewLine=!0)),Ie(Ge)}function Be(Xe,Ge){var lt=Xe.next();if(lt===">"){Ge.f=Ge.inline=De,x.highlightFormatting&&(Ge.formatting="link");var dt=Ie(Ge);return dt?dt+=" ":dt="",dt+te.linkInline}return Xe.match(/^[^>]+/,!0),te.linkInline}function Ue(Xe,Ge){if(Xe.eatSpace())return null;var lt=Xe.next();return lt==="("||lt==="["?(Ge.f=Ge.inline=We(lt==="("?")":"]"),x.highlightFormatting&&(Ge.formatting="link-string"),Ge.linkHref=!0,Ie(Ge)):"error"}var _e={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function We(Xe){return function(Ge,lt){var dt=Ge.next();if(dt===Xe){lt.f=lt.inline=De,x.highlightFormatting&&(lt.formatting="link-string");var st=Ie(lt);return lt.linkHref=!1,st}return Ge.match(_e[Xe]),lt.linkHref=!0,Ie(lt)}}function Ze(Xe,Ge){return Xe.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ge.f=et,Xe.next(),x.highlightFormatting&&(Ge.formatting="link"),Ge.linkText=!0,Ie(Ge)):xe(Xe,Ge,De)}function et(Xe,Ge){if(Xe.match(/^\]:/,!0)){Ge.f=Ge.inline=at,x.highlightFormatting&&(Ge.formatting="link");var lt=Ie(Ge);return Ge.linkText=!1,lt}return Xe.match(/^([^\]\\]|\\.)+/,!0),te.linkText}function at(Xe,Ge){return Xe.eatSpace()?null:(Xe.match(/^[^\s]+/,!0),Xe.peek()===void 0?Ge.linkTitle=!0:Xe.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ge.f=Ge.inline=De,te.linkHref+" url")}var pt={startState:function(){return{f:be,prevLine:{stream:null},thisLine:{stream:null},block:be,htmlState:null,indentation:0,inline:De,text:Le,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(Xe){return{f:Xe.f,prevLine:Xe.prevLine,thisLine:Xe.thisLine,block:Xe.block,htmlState:Xe.htmlState&&Oe.copyState(Te,Xe.htmlState),indentation:Xe.indentation,localMode:Xe.localMode,localState:Xe.localMode?Oe.copyState(Xe.localMode,Xe.localState):null,inline:Xe.inline,text:Xe.text,formatting:!1,linkText:Xe.linkText,linkTitle:Xe.linkTitle,linkHref:Xe.linkHref,code:Xe.code,em:Xe.em,strong:Xe.strong,strikethrough:Xe.strikethrough,emoji:Xe.emoji,header:Xe.header,setext:Xe.setext,hr:Xe.hr,taskList:Xe.taskList,list:Xe.list,listStack:Xe.listStack.slice(0),quote:Xe.quote,indentedCode:Xe.indentedCode,trailingSpace:Xe.trailingSpace,trailingSpaceNewLine:Xe.trailingSpaceNewLine,md_inside:Xe.md_inside,fencedEndRE:Xe.fencedEndRE}},token:function(Xe,Ge){if(Ge.formatting=!1,Xe!=Ge.thisLine.stream){if(Ge.header=0,Ge.hr=!1,Xe.match(/^\s*$/,!0))return ye(Ge),null;if(Ge.prevLine=Ge.thisLine,Ge.thisLine={stream:Xe},Ge.taskList=!1,Ge.trailingSpace=0,Ge.trailingSpaceNewLine=!1,!Ge.localState&&(Ge.f=Ge.block,Ge.f!=Fe)){var lt=Xe.match(/^\s*/,!0)[0].replace(/\t/g,Se).length;if(Ge.indentation=lt,Ge.indentationDiff=null,lt>0)return null}}return Ge.f(Xe,Ge)},innerMode:function(Xe){return Xe.block==Fe?{state:Xe.htmlState,mode:Te}:Xe.localState?{state:Xe.localState,mode:Xe.localMode}:{state:Xe,mode:pt}},indent:function(Xe,Ge,lt){return Xe.block==Fe&&Te.indent?Te.indent(Xe.htmlState,Ge,lt):Xe.localState&&Xe.localMode.indent?Xe.localMode.indent(Xe.localState,Ge,lt):Oe.Pass},blankLine:ye,getType:Ie,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return pt},"xml"),Oe.defineMIME("text/markdown","markdown"),Oe.defineMIME("text/x-markdown","markdown")})},52539:function(tn,Kt,ve){(function(Oe){Oe(ve(4631))})(function(Oe){"use strict";Oe.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var $e=0;$e<Oe.modeInfo.length;$e++){var x=Oe.modeInfo[$e];x.mimes&&(x.mime=x.mimes[0])}Oe.findModeByMIME=function(Te){Te=Te.toLowerCase();for(var me=0;me<Oe.modeInfo.length;me++){var ie=Oe.modeInfo[me];if(ie.mime==Te)return ie;if(ie.mimes){for(var te=0;te<ie.mimes.length;te++)if(ie.mimes[te]==Te)return ie}}if(/\+xml$/.test(Te))return Oe.findModeByMIME("application/xml");if(/\+json$/.test(Te))return Oe.findModeByMIME("application/json")},Oe.findModeByExtension=function(Te){Te=Te.toLowerCase();for(var me=0;me<Oe.modeInfo.length;me++){var ie=Oe.modeInfo[me];if(ie.ext){for(var te=0;te<ie.ext.length;te++)if(ie.ext[te]==Te)return ie}}},Oe.findModeByFileName=function(Te){for(var me=0;me<Oe.modeInfo.length;me++){var ie=Oe.modeInfo[me];if(ie.file&&ie.file.test(Te))return ie}var te=Te.lastIndexOf("."),ae=te>-1&&Te.substring(te+1,Te.length);if(ae)return Oe.findModeByExtension(ae)},Oe.findModeByName=function(Te){Te=Te.toLowerCase();for(var me=0;me<Oe.modeInfo.length;me++){var ie=Oe.modeInfo[me];if(ie.name.toLowerCase()==Te)return ie;if(ie.alias){for(var te=0;te<ie.alias.length;te++)if(ie.alias[te].toLowerCase()==Te)return ie}}}})},80785:function(tn,Kt,ve){(function(Oe){Oe(ve(4631))})(function(Oe){"use strict";Oe.defineMode("stex",function($e,x){"use strict";function Te(ce,fe){ce.cmdState.push(fe)}function me(ce){return ce.cmdState.length>0?ce.cmdState[ce.cmdState.length-1]:null}function ie(ce){var fe=ce.cmdState.pop();fe&&fe.closeBracket()}function te(ce){for(var fe=ce.cmdState,pe=fe.length-1;pe>=0;pe--){var le=fe[pe];if(le.name!="DEFAULT")return le}return{styleIdentifier:function(){return null}}}function ae(ce,fe,pe){return function(){this.name=ce,this.bracketNo=0,this.style=fe,this.styles=pe,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var ne={};ne.importmodule=ae("importmodule","tag",["string","builtin"]),ne.documentclass=ae("documentclass","tag",["","atom"]),ne.usepackage=ae("usepackage","tag",["atom"]),ne.begin=ae("begin","tag",["atom"]),ne.end=ae("end","tag",["atom"]),ne.label=ae("label","tag",["atom"]),ne.ref=ae("ref","tag",["atom"]),ne.eqref=ae("eqref","tag",["atom"]),ne.cite=ae("cite","tag",["atom"]),ne.bibitem=ae("bibitem","tag",["atom"]),ne.Bibitem=ae("Bibitem","tag",["atom"]),ne.RBibitem=ae("RBibitem","tag",["atom"]),ne.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function oe(ce,fe){ce.f=fe}function he(ce,fe){var pe;if(ce.match(/^\\[a-zA-Z@]+/)){var le=ce.current().slice(1);return pe=ne.hasOwnProperty(le)?ne[le]:ne.DEFAULT,pe=new pe,Te(fe,pe),oe(fe,se),pe.style}if(ce.match(/^\\[$&%#{}_]/)||ce.match(/^\\[,;!\/\\]/))return"tag";if(ce.match("\\["))return oe(fe,function(xe,ge){return re(xe,ge,"\\]")}),"keyword";if(ce.match("\\("))return oe(fe,function(xe,ge){return re(xe,ge,"\\)")}),"keyword";if(ce.match("$$"))return oe(fe,function(xe,ge){return re(xe,ge,"$$")}),"keyword";if(ce.match("$"))return oe(fe,function(xe,ge){return re(xe,ge,"$")}),"keyword";var Se=ce.next();if(Se=="%")return ce.skipToEnd(),"comment";if(Se=="}"||Se=="]"){if(pe=me(fe),pe)pe.closeBracket(Se),oe(fe,se);else return"error";return"bracket"}else return Se=="{"||Se=="["?(pe=ne.DEFAULT,pe=new pe,Te(fe,pe),"bracket"):/\d/.test(Se)?(ce.eatWhile(/[\w.%]/),"atom"):(ce.eatWhile(/[\w\-_]/),pe=te(fe),pe.name=="begin"&&(pe.argument=ce.current()),pe.styleIdentifier())}function re(ce,fe,pe){if(ce.eatSpace())return null;if(pe&&ce.match(pe))return oe(fe,he),"keyword";if(ce.match(/^\\[a-zA-Z@]+/))return"tag";if(ce.match(/^[a-zA-Z]+/))return"variable-2";if(ce.match(/^\\[$&%#{}_]/)||ce.match(/^\\[,;!\/]/)||ce.match(/^[\^_&]/))return"tag";if(ce.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(ce.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var le=ce.next();return le=="{"||le=="}"||le=="["||le=="]"||le=="("||le==")"?"bracket":le=="%"?(ce.skipToEnd(),"comment"):"error"}function se(ce,fe){var pe=ce.peek(),le;return pe=="{"||pe=="["?(le=me(fe),le.openBracket(pe),ce.eat(pe),oe(fe,he),"bracket"):/[ \t\r]/.test(pe)?(ce.eat(pe),null):(oe(fe,he),ie(fe),he(ce,fe))}return{startState:function(){var ce=x.inMathMode?function(fe,pe){return re(fe,pe)}:he;return{cmdState:[],f:ce}},copyState:function(ce){return{cmdState:ce.cmdState.slice(),f:ce.f}},token:function(ce,fe){return fe.f(ce,fe)},blankLine:function(ce){ce.f=he,ce.cmdState.length=0},lineComment:"%"}}),Oe.defineMIME("text/x-stex","stex"),Oe.defineMIME("text/x-latex","stex")})},29589:function(tn,Kt,ve){(function(Oe){Oe(ve(4631))})(function(Oe){"use strict";var $e={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},x={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};Oe.defineMode("xml",function(Te,me){var ie=Te.indentUnit,te={},ae=me.htmlMode?$e:x;for(var ne in ae)te[ne]=ae[ne];for(var ne in me)te[ne]=me[ne];var oe,he;function re(Be,Ue){function _e(et){return Ue.tokenize=et,et(Be,Ue)}var We=Be.next();if(We=="<")return Be.eat("!")?Be.eat("[")?Be.match("CDATA[")?_e(fe("atom","]]>")):null:Be.match("--")?_e(fe("comment","-->")):Be.match("DOCTYPE",!0,!0)?(Be.eatWhile(/[\w\._\-]/),_e(pe(1))):null:Be.eat("?")?(Be.eatWhile(/[\w\._\-]/),Ue.tokenize=fe("meta","?>"),"meta"):(oe=Be.eat("/")?"closeTag":"openTag",Ue.tokenize=se,"tag bracket");if(We=="&"){var Ze;return Be.eat("#")?Be.eat("x")?Ze=Be.eatWhile(/[a-fA-F\d]/)&&Be.eat(";"):Ze=Be.eatWhile(/[\d]/)&&Be.eat(";"):Ze=Be.eatWhile(/[\w\.\-:]/)&&Be.eat(";"),Ze?"atom":"error"}else return Be.eatWhile(/[^&<]/),null}re.isInText=!0;function se(Be,Ue){var _e=Be.next();if(_e==">"||_e=="/"&&Be.eat(">"))return Ue.tokenize=re,oe=_e==">"?"endTag":"selfcloseTag","tag bracket";if(_e=="=")return oe="equals",null;if(_e=="<"){Ue.tokenize=re,Ue.state=ge,Ue.tagName=Ue.tagStart=null;var We=Ue.tokenize(Be,Ue);return We?We+" tag error":"tag error"}else return/[\'\"]/.test(_e)?(Ue.tokenize=ce(_e),Ue.stringStartCol=Be.column(),Ue.tokenize(Be,Ue)):(Be.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function ce(Be){var Ue=function(_e,We){for(;!_e.eol();)if(_e.next()==Be){We.tokenize=se;break}return"string"};return Ue.isInAttribute=!0,Ue}function fe(Be,Ue){return function(_e,We){for(;!_e.eol();){if(_e.match(Ue)){We.tokenize=re;break}_e.next()}return Be}}function pe(Be){return function(Ue,_e){for(var We;(We=Ue.next())!=null;){if(We=="<")return _e.tokenize=pe(Be+1),_e.tokenize(Ue,_e);if(We==">")if(Be==1){_e.tokenize=re;break}else return _e.tokenize=pe(Be-1),_e.tokenize(Ue,_e)}return"meta"}}function le(Be,Ue,_e){this.prev=Be.context,this.tagName=Ue,this.indent=Be.indented,this.startOfLine=_e,(te.doNotIndent.hasOwnProperty(Ue)||Be.context&&Be.context.noIndent)&&(this.noIndent=!0)}function Se(Be){Be.context&&(Be.context=Be.context.prev)}function xe(Be,Ue){for(var _e;;){if(!Be.context||(_e=Be.context.tagName,!te.contextGrabbers.hasOwnProperty(_e)||!te.contextGrabbers[_e].hasOwnProperty(Ue)))return;Se(Be)}}function ge(Be,Ue,_e){return Be=="openTag"?(_e.tagStart=Ue.column(),Me):Be=="closeTag"?ye:ge}function Me(Be,Ue,_e){return Be=="word"?(_e.tagName=Ue.current(),he="tag",ke):te.allowMissingTagName&&Be=="endTag"?(he="tag bracket",ke(Be,Ue,_e)):(he="error",Me)}function ye(Be,Ue,_e){if(Be=="word"){var We=Ue.current();return _e.context&&_e.context.tagName!=We&&te.implicitlyClosed.hasOwnProperty(_e.context.tagName)&&Se(_e),_e.context&&_e.context.tagName==We||te.matchClosing===!1?(he="tag",be):(he="tag error",Fe)}else return te.allowMissingTagName&&Be=="endTag"?(he="tag bracket",be(Be,Ue,_e)):(he="error",Fe)}function be(Be,Ue,_e){return Be!="endTag"?(he="error",be):(Se(_e),ge)}function Fe(Be,Ue,_e){return he="error",be(Be,Ue,_e)}function ke(Be,Ue,_e){if(Be=="word")return he="attribute",Ie;if(Be=="endTag"||Be=="selfcloseTag"){var We=_e.tagName,Ze=_e.tagStart;return _e.tagName=_e.tagStart=null,Be=="selfcloseTag"||te.autoSelfClosers.hasOwnProperty(We)?xe(_e,We):(xe(_e,We),_e.context=new le(_e,We,Ze==_e.indented)),ge}return he="error",ke}function Ie(Be,Ue,_e){return Be=="equals"?Le:(te.allowMissing||(he="error"),ke(Be,Ue,_e))}function Le(Be,Ue,_e){return Be=="string"?De:Be=="word"&&te.allowUnquoted?(he="string",ke):(he="error",ke(Be,Ue,_e))}function De(Be,Ue,_e){return Be=="string"?De:ke(Be,Ue,_e)}return{startState:function(Be){var Ue={tokenize:re,state:ge,indented:Be||0,tagName:null,tagStart:null,context:null};return Be!=null&&(Ue.baseIndent=Be),Ue},token:function(Be,Ue){if(!Ue.tagName&&Be.sol()&&(Ue.indented=Be.indentation()),Be.eatSpace())return null;oe=null;var _e=Ue.tokenize(Be,Ue);return(_e||oe)&&_e!="comment"&&(he=null,Ue.state=Ue.state(oe||_e,Be,Ue),he&&(_e=he=="error"?_e+" error":he)),_e},indent:function(Be,Ue,_e){var We=Be.context;if(Be.tokenize.isInAttribute)return Be.tagStart==Be.indented?Be.stringStartCol+1:Be.indented+ie;if(We&&We.noIndent)return Oe.Pass;if(Be.tokenize!=se&&Be.tokenize!=re)return _e?_e.match(/^(\s*)/)[0].length:0;if(Be.tagName)return te.multilineTagIndentPastTag!==!1?Be.tagStart+Be.tagName.length+2:Be.tagStart+ie*(te.multilineTagIndentFactor||1);if(te.alignCDATA&&/<!\[CDATA\[/.test(Ue))return 0;var Ze=Ue&&/^<(\/)?([\w_:\.-]*)/.exec(Ue);if(Ze&&Ze[1])for(;We;)if(We.tagName==Ze[2]){We=We.prev;break}else if(te.implicitlyClosed.hasOwnProperty(We.tagName))We=We.prev;else break;else if(Ze)for(;We;){var et=te.contextGrabbers[We.tagName];if(et&&et.hasOwnProperty(Ze[2]))We=We.prev;else break}for(;We&&We.prev&&!We.startOfLine;)We=We.prev;return We?We.indent+ie:Be.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:te.htmlMode?"html":"xml",helperType:te.htmlMode?"html":"xml",skipAttribute:function(Be){Be.state==Le&&(Be.state=ke)},xmlCurrentTag:function(Be){return Be.tagName?{name:Be.tagName,close:Be.type=="closeTag"}:null},xmlCurrentContext:function(Be){for(var Ue=[],_e=Be.context;_e;_e=_e.prev)_e.tagName&&Ue.push(_e.tagName);return Ue.reverse()}}}),Oe.defineMIME("text/xml","xml"),Oe.defineMIME("application/xml","xml"),Oe.mimeModes.hasOwnProperty("text/html")||Oe.defineMIME("text/html",{name:"xml",htmlMode:!0})})},19575:function(tn,Kt,ve){var Oe,$e;(function(x,Te){tn.exports=Te(x)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ve.g!="undefined"?ve.g:this,function(x){"use strict";x=x||{};var Te=x.Base64,me="2.6.4",ie="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",te=function(_e){for(var We={},Ze=0,et=_e.length;Ze<et;Ze++)We[_e.charAt(Ze)]=Ze;return We}(ie),ae=String.fromCharCode,ne=function(_e){if(_e.length<2){var We=_e.charCodeAt(0);return We<128?_e:We<2048?ae(192|We>>>6)+ae(128|We&63):ae(224|We>>>12&15)+ae(128|We>>>6&63)+ae(128|We&63)}else{var We=65536+(_e.charCodeAt(0)-55296)*1024+(_e.charCodeAt(1)-56320);return ae(240|We>>>18&7)+ae(128|We>>>12&63)+ae(128|We>>>6&63)+ae(128|We&63)}},oe=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,he=function(_e){return _e.replace(oe,ne)},re=function(_e){var We=[0,2,1][_e.length%3],Ze=_e.charCodeAt(0)<<16|(_e.length>1?_e.charCodeAt(1):0)<<8|(_e.length>2?_e.charCodeAt(2):0),et=[ie.charAt(Ze>>>18),ie.charAt(Ze>>>12&63),We>=2?"=":ie.charAt(Ze>>>6&63),We>=1?"=":ie.charAt(Ze&63)];return et.join("")},se=x.btoa&&typeof x.btoa=="function"?function(_e){return x.btoa(_e)}:function(_e){if(_e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return _e.replace(/[\s\S]{1,3}/g,re)},ce=function(_e){return se(he(String(_e)))},fe=function(_e){return _e.replace(/[+\/]/g,function(We){return We=="+"?"-":"_"}).replace(/=/g,"")},pe=function(_e,We){return We?fe(ce(_e)):ce(_e)},le=function(_e){return pe(_e,!0)},Se;x.Uint8Array&&(Se=function(_e,We){for(var Ze="",et=0,at=_e.length;et<at;et+=3){var pt=_e[et],Xe=_e[et+1],Ge=_e[et+2],lt=pt<<16|Xe<<8|Ge;Ze+=ie.charAt(lt>>>18)+ie.charAt(lt>>>12&63)+(typeof Xe!="undefined"?ie.charAt(lt>>>6&63):"=")+(typeof Ge!="undefined"?ie.charAt(lt&63):"=")}return We?fe(Ze):Ze});var xe=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ge=function(_e){switch(_e.length){case 4:var We=(7&_e.charCodeAt(0))<<18|(63&_e.charCodeAt(1))<<12|(63&_e.charCodeAt(2))<<6|63&_e.charCodeAt(3),Ze=We-65536;return ae((Ze>>>10)+55296)+ae((Ze&1023)+56320);case 3:return ae((15&_e.charCodeAt(0))<<12|(63&_e.charCodeAt(1))<<6|63&_e.charCodeAt(2));default:return ae((31&_e.charCodeAt(0))<<6|63&_e.charCodeAt(1))}},Me=function(_e){return _e.replace(xe,ge)},ye=function(_e){var We=_e.length,Ze=We%4,et=(We>0?te[_e.charAt(0)]<<18:0)|(We>1?te[_e.charAt(1)]<<12:0)|(We>2?te[_e.charAt(2)]<<6:0)|(We>3?te[_e.charAt(3)]:0),at=[ae(et>>>16),ae(et>>>8&255),ae(et&255)];return at.length-=[0,0,2,1][Ze],at.join("")},be=x.atob&&typeof x.atob=="function"?function(_e){return x.atob(_e)}:function(_e){return _e.replace(/\S{1,4}/g,ye)},Fe=function(_e){return be(String(_e).replace(/[^A-Za-z0-9\+\/]/g,""))},ke=function(_e){return Me(be(_e))},Ie=function(_e){return String(_e).replace(/[-_]/g,function(We){return We=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Le=function(_e){return ke(Ie(_e))},De;x.Uint8Array&&(De=function(_e){return Uint8Array.from(Fe(Ie(_e)),function(We){return We.charCodeAt(0)})});var Be=function(){var _e=x.Base64;return x.Base64=Te,_e};if(x.Base64={VERSION:me,atob:Fe,btoa:se,fromBase64:Le,toBase64:pe,utob:he,encode:pe,encodeURI:le,btou:Me,decode:Le,noConflict:Be,fromUint8Array:Se,toUint8Array:De},typeof Object.defineProperty=="function"){var Ue=function(_e){return{value:_e,enumerable:!1,writable:!0,configurable:!0}};x.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ue(function(){return Le(this)})),Object.defineProperty(String.prototype,"toBase64",Ue(function(_e){return pe(this,_e)})),Object.defineProperty(String.prototype,"toBase64URI",Ue(function(){return pe(this,!0)}))}}return x.Meteor&&(Base64=x.Base64),tn.exports?tn.exports.Base64=x.Base64:(Oe=[],$e=function(){return x.Base64}.apply(Kt,Oe),$e!==void 0&&(tn.exports=$e)),{Base64:x.Base64}})},15979:function(tn,Kt,ve){"use strict";ve.d(Kt,{hP:function(){return Ye}});var Oe=function(Ve,de){return(Oe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ce,He){Ce.__proto__=He}||function(Ce,He){for(var je in He)Object.prototype.hasOwnProperty.call(He,je)&&(Ce[je]=He[je])})(Ve,de)};function $e(Ve,de){function Ce(){this.constructor=Ve}Oe(Ve,de),Ve.prototype=de===null?Object.create(de):(Ce.prototype=de.prototype,new Ce)}function x(Ve,de,Ce,He){return new(Ce||(Ce=Promise))(function(je,Ae){function Re(ot){try{Qe(He.next(ot))}catch(mt){Ae(mt)}}function ze(ot){try{Qe(He.throw(ot))}catch(mt){Ae(mt)}}function Qe(ot){var mt;ot.done?je(ot.value):(mt=ot.value,mt instanceof Ce?mt:new Ce(function(Ot){Ot(mt)})).then(Re,ze)}Qe((He=He.apply(Ve,de||[])).next())})}function Te(Ve,de){var Ce,He,je,Ae,Re={label:0,sent:function(){if(1&je[0])throw je[1];return je[1]},trys:[],ops:[]};return Ae={next:ze(0),throw:ze(1),return:ze(2)},typeof Symbol=="function"&&(Ae[Symbol.iterator]=function(){return this}),Ae;function ze(Qe){return function(ot){return function(mt){if(Ce)throw new TypeError("Generator is already executing.");for(;Re;)try{if(Ce=1,He&&(je=2&mt[0]?He.return:mt[0]?He.throw||((je=He.return)&&je.call(He),0):He.next)&&!(je=je.call(He,mt[1])).done)return je;switch(He=0,je&&(mt=[2&mt[0],je.value]),mt[0]){case 0:case 1:je=mt;break;case 4:return Re.label++,{value:mt[1],done:!1};case 5:Re.label++,He=mt[1],mt=[0];continue;case 7:mt=Re.ops.pop(),Re.trys.pop();continue;default:if(je=Re.trys,!((je=je.length>0&&je[je.length-1])||mt[0]!==6&&mt[0]!==2)){Re=0;continue}if(mt[0]===3&&(!je||mt[1]>je[0]&&mt[1]<je[3])){Re.label=mt[1];break}if(mt[0]===6&&Re.label<je[1]){Re.label=je[1],je=mt;break}if(je&&Re.label<je[2]){Re.label=je[2],Re.ops.push(mt);break}je[2]&&Re.ops.pop(),Re.trys.pop();continue}mt=de.call(Ve,Re)}catch(Ot){mt=[6,Ot],He=0}finally{Ce=je=0}if(5&mt[0])throw mt[1];return{value:mt[0]?mt[1]:void 0,done:!0}}([Qe,ot])}}}function me(){for(var Ve=0,de=0,Ce=arguments.length;de<Ce;de++)Ve+=arguments[de].length;var He=Array(Ve),je=0;for(de=0;de<Ce;de++)for(var Ae=arguments[de],Re=0,ze=Ae.length;Re<ze;Re++,je++)He[je]=Ae[Re];return He}var ie=function(){function Ve(){}return Ve.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},Ve.setAttributes=function(de,Ce){for(var He=0,je=Ce;He<je.length;He++){var Ae=je[He],Re=Ae[0],ze=Ae[1];de.setAttribute(Re,ze)}},Ve.createRect=function(de,Ce,He){var je=document.createElementNS("http://www.w3.org/2000/svg","rect");return je.setAttribute("width",de.toString()),je.setAttribute("height",Ce.toString()),He&&Ve.setAttributes(je,He),je},Ve.createLine=function(de,Ce,He,je,Ae){var Re=document.createElementNS("http://www.w3.org/2000/svg","line");return Re.setAttribute("x1",de.toString()),Re.setAttribute("y1",Ce.toString()),Re.setAttribute("x2",He.toString()),Re.setAttribute("y2",je.toString()),Ae&&Ve.setAttributes(Re,Ae),Re},Ve.createPolygon=function(de,Ce){var He=document.createElementNS("http://www.w3.org/2000/svg","polygon");return He.setAttribute("points",de),Ce&&Ve.setAttributes(He,Ce),He},Ve.createCircle=function(de,Ce){var He=document.createElementNS("http://www.w3.org/2000/svg","circle");return He.setAttribute("cx",(de/2).toString()),He.setAttribute("cy",(de/2).toString()),He.setAttribute("r",de.toString()),Ce&&Ve.setAttributes(He,Ce),He},Ve.createEllipse=function(de,Ce,He){var je=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return je.setAttribute("cx",(de/2).toString()),je.setAttribute("cy",(Ce/2).toString()),je.setAttribute("rx",(de/2).toString()),je.setAttribute("ry",(Ce/2).toString()),He&&Ve.setAttributes(je,He),je},Ve.createGroup=function(de){var Ce=document.createElementNS("http://www.w3.org/2000/svg","g");return de&&Ve.setAttributes(Ce,de),Ce},Ve.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},Ve.createMarker=function(de,Ce,He,je,Ae,Re,ze){var Qe=document.createElementNS("http://www.w3.org/2000/svg","marker");return Ve.setAttributes(Qe,[["id",de],["orient",Ce],["markerWidth",He.toString()],["markerHeight",je.toString()],["refX",Ae.toString()],["refY",Re.toString()]]),Qe.appendChild(ze),Qe},Ve.createText=function(de){var Ce=document.createElementNS("http://www.w3.org/2000/svg","text");return Ce.setAttribute("x","0"),Ce.setAttribute("y","0"),de&&Ve.setAttributes(Ce,de),Ce},Ve.createTSpan=function(de,Ce){var He=document.createElementNS("http://www.w3.org/2000/svg","tspan");return He.textContent=de,Ce&&Ve.setAttributes(He,Ce),He},Ve.createImage=function(de){var Ce=document.createElementNS("http://www.w3.org/2000/svg","image");return de&&Ve.setAttributes(Ce,de),Ce},Ve.createPoint=function(de,Ce){var He=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return He.x=de,He.y=Ce,He},Ve.createPath=function(de,Ce){var He=document.createElementNS("http://www.w3.org/2000/svg","path");return He.setAttribute("d",de),Ce&&Ve.setAttributes(He,Ce),He},Ve}(),te=function(){function Ve(){}return Ve.addKey=function(de){Ve.key=de},Object.defineProperty(Ve,"isLicensed",{get:function(){return!!Ve.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(Ve.key)},enumerable:!1,configurable:!0}),Ve}(),ae=function(){function Ve(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return Ve.prototype.rasterize=function(de,Ce,He){var je=this;return new Promise(function(Ae){var Re=He!==void 0?He:document.createElement("canvas");de===null&&(je.markersOnly=!0,je.naturalSize=!1);var ze=document.createElementNS("http://www.w3.org/2000/svg","svg");ze.setAttribute("xmlns","http://www.w3.org/2000/svg"),ze.setAttribute("width",Ce.width.baseVal.valueAsString),ze.setAttribute("height",Ce.height.baseVal.valueAsString),ze.setAttribute("viewBox","0 0 "+Ce.viewBox.baseVal.width.toString()+" "+Ce.viewBox.baseVal.height.toString()),ze.innerHTML=Ce.innerHTML,je.naturalSize===!0?(ze.width.baseVal.value=de.naturalWidth,ze.height.baseVal.value=de.naturalHeight):je.width!==void 0&&je.height!==void 0&&(ze.width.baseVal.value=je.width,ze.height.baseVal.value=je.height),Re.width=ze.width.baseVal.value,Re.height=ze.height.baseVal.value;var Qe=ze.outerHTML,ot=Re.getContext("2d");je.markersOnly!==!0&&ot.drawImage(de,0,0,Re.width,Re.height);var mt=window.URL,Ot=new Image(Re.width,Re.height);Ot.setAttribute("crossOrigin","anonymous");var xt=new Blob([Qe],{type:"image/svg+xml"}),Wt=mt.createObjectURL(xt);Ot.onload=function(){ot.drawImage(Ot,0,0),mt.revokeObjectURL(Wt);var bn=Re.toDataURL(je.imageType,je.imageQuality);Ae(bn)},Ot.src=Wt})},Ve}(),ne=function(){},oe=function(){function Ve(de){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+de+"_"}return Object.defineProperty(Ve.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.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(Ve.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),Ve.prototype.addClass=function(de){return this.styleSheet===void 0&&this.addStyleSheet(),de.name=""+this.classNamePrefix+de.localName,this.classes.push(de),this.styleSheet.sheet.insertRule("."+de.name+" {"+de.style+"}",this.styleSheet.sheet.cssRules.length),de},Ve.prototype.addRule=function(de){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(de),this.styleSheet.sheet.insertRule(de.selector+" {"+de.style+"}",this.styleSheet.sheet.cssRules.length)},Ve.prototype.addStyleSheet=function(){var de;this.styleSheet=document.createElement("style"),((de=this.styleSheetRoot)!==null&&de!==void 0?de:document.head).appendChild(this.styleSheet),this.addRule(new he("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new he("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new he("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new re("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new re("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},Ve.prototype.removeStyleSheet=function(){var de;this.styleSheet&&(((de=this.styleSheetRoot)!==null&&de!==void 0?de:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},Ve}(),he=function(Ve,de){this.selector=Ve,this.style=de},re=function(Ve,de){this.localName=Ve,this.style=de},se=function(){function Ve(de,Ce,He,je,Ae){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=de,this.displayMode=Ce,this.markerItems=He,this.uiStyleSettings=je,this.styles=Ae,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return Ve.prototype.show=function(de){var Ce=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=de,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var He=document.createElement("div");He.className=this.toolbarBlockStyleClass.name,He.style.whiteSpace="nowrap",this.uiContainer.appendChild(He),this.addActionButton(He,'<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(He,'<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(He,'<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(He,'<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(He,'<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(He,'<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(He,'<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(He,'<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(Ae){var Re=document.createElement("div");Re.className=""+Ce.toolbarButtonStyleClass.name,Re.setAttribute("data-type-name",Ae.typeName),Re.innerHTML=Ae.icon,Re.addEventListener("click",function(){Ce.markerToolbarButtonClicked(Re,Ae)}),Ce.buttons.push(Re),Ce.markerButtons.push(Re)}),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 je=document.createElement("div");je.className=this.toolbarBlockStyleClass.name,je.style.whiteSpace="nowrap",je.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(je),this.addActionButton(je,'<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(je,'<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()},Ve.prototype.addButtonClickListener=function(de){this.buttonClickListeners.push(de)},Ve.prototype.removeButtonClickListener=function(de){this.buttonClickListeners.indexOf(de)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(de),1)},Ve.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Ve.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var de=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var Ce=0;Ce<this.markerButtons.length;Ce++)Ce<de||Ce===de&&this.markerButtons.length-1===de?this.markerButtonBlock.appendChild(this.markerButtons[Ce]):(Ce===de&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[Ce]))}},Ve.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")},Ve.prototype.resetButtonStyles=function(){var de=this;this.buttons.forEach(function(Ce){Ce.className=Ce.className.replace(de.uiStyleSettings.toolbarButtonStyleColorsClassName?de.uiStyleSettings.toolbarButtonStyleColorsClassName:de.toolbarButtonStyleColorsClass.name,"").trim(),Ce.className=Ce.className.replace(de.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?de.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:de.toolbarActiveButtonStyleColorsClass.name,"").trim(),Ce.className+=" "+(de.uiStyleSettings.toolbarButtonStyleColorsClassName?de.uiStyleSettings.toolbarButtonStyleColorsClassName:de.toolbarButtonStyleColorsClass.name)})},Ve.prototype.addActionButton=function(de,Ce,He){var je=this,Ae=document.createElement("div");switch(Ae.className=""+this.toolbarButtonStyleClass.name,Ae.innerHTML=Ce,Ae.setAttribute("data-action",He),Ae.addEventListener("click",function(){je.actionToolbarButtonClicked(Ae,He)}),He){case"select":Ae.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":Ae.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":Ae.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":Ae.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":Ae.style.fill=this.uiStyleSettings.closeButtonColor}de.appendChild(Ae),this.buttons.push(Ae)},Ve.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new re("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 re("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new re("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new re("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 re("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var de=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new re("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*de)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*de)+`px;
padding: `+de+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new re("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new re("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new he("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new he("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},Ve.prototype.markerToolbarButtonClicked=function(de,Ce){this.setActiveButton(de),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(He){return He("marker",Ce)}),this.markerButtonOverflowBlock.style.display="none"},Ve.prototype.actionToolbarButtonClicked=function(de,Ce){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(He){return He("action",Ce)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Ve.prototype.setActiveButton=function(de){this.resetButtonStyles(),de.className=de.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),de.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Ve.prototype.setActiveMarkerButton=function(de){var Ce=this.markerButtons.find(function(He){return He.getAttribute("data-type-name")===de});Ce&&this.setActiveButton(Ce)},Ve.prototype.setCurrentMarker=function(de){var Ce=this;this.currentMarker=de,this.buttons.filter(function(He){return/delete|notes/.test(He.getAttribute("data-action"))}).forEach(function(He){Ce.currentMarker===void 0?(He.style.fillOpacity="0.4",He.style.pointerEvents="none"):(He.style.fillOpacity="1",He.style.pointerEvents="all")})},Ve}(),ce=function(){function Ve(de,Ce,He,je){this.panels=[],this.panelButtons=[],this.markerjsContainer=de,this.displayMode=Ce,this.uiStyleSettings=He,this.styles=je,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Ve.prototype.addStyles=function(){var de;this.toolboxStyleClass=this.styles.addClass(new re("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 re("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var Ce=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new re("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new re("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new re("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 re("toolbox-panel-row_colors",`
background-color: `+((de=this.uiStyleSettings.toolboxBackgroundColor)!==null&&de!==void 0?de:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new re("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*Ce)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*Ce)+`px;
padding: `+Ce+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new re("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new re("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new he("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new he("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},Ve.prototype.show=function(de){var Ce;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=de,this.uiContainer.className=this.toolboxStyleClass.name+" "+((Ce=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&Ce!==void 0?Ce:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Ve.prototype.setPanelButtons=function(de){var Ce,He,je=this;this.panels=de,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((Ce=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&Ce!==void 0?Ce:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((He=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&He!==void 0?He:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(Ae){var Re;Ae.uiStyleSettings=je.uiStyleSettings;var ze=document.createElement("div");ze.className=je.toolboxButtonStyleClass.name+" "+((Re=je.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Re!==void 0?Re:je.toolboxButtonStyleColorsClass.name),ze.innerHTML=Ae.icon,ze.title=Ae.title,ze.addEventListener("click",function(){je.panelButtonClick(Ae)}),je.panelButtons.push(ze),je.buttonRow.appendChild(ze)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Ve.prototype.panelButtonClick=function(de){var Ce=this,He=-1;if(de!==this.activePanel){He=this.panels.indexOf(de),this.panelRow.innerHTML="";var je=de.getUi();je.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(je),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=de}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){Ce.displayMode==="inline"?Ce.panelRow.style.display="none":Ce.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(Ae,Re){var ze,Qe;Ae.className=Ce.toolboxButtonStyleClass.name+" "+(Re===He?""+((ze=Ce.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&ze!==void 0?ze:Ce.toolboxActiveButtonStyleColorsClass.name):""+((Qe=Ce.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Qe!==void 0?Qe:Ce.toolboxButtonStyleColorsClass.name))})},Ve}(),fe=function(Ve,de){this.title=Ve,this.icon=de},pe=function(Ve){function de(Ce,He,je,Ae){var Re=Ve.call(this,Ce,Ae||'<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 Re.colors=[],Re.addTransparent=!1,Re.colorBoxes=[],Re.colors=He,Re.currentColor=je,Re.setCurrentColor=Re.setCurrentColor.bind(Re),Re.getColorBox=Re.getColorBox.bind(Re),Re}return $e(de,Ve),de.prototype.getUi=function(){var Ce=this,He=document.createElement("div");return He.style.overflow="hidden",He.style.whiteSpace="nowrap",this.colors.forEach(function(je){var Ae=Ce.getColorBox(je);He.appendChild(Ae),Ce.colorBoxes.push(Ae)}),He},de.prototype.getColorBox=function(Ce){var He=this,je=this.uiStyleSettings.toolbarHeight/4,Ae=this.uiStyleSettings.toolbarHeight-je,Re=document.createElement("div");Re.style.display="inline-block",Re.style.boxSizing="content-box",Re.style.width=Ae-2+"px",Re.style.height=Ae-2+"px",Re.style.padding="1px",Re.style.marginRight="2px",Re.style.marginBottom="2px",Re.style.borderWidth="2px",Re.style.borderStyle="solid",Re.style.borderRadius=(Ae+2)/2+"px",Re.style.borderColor=Ce===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Re.addEventListener("click",function(){He.setCurrentColor(Ce,Re)});var ze=document.createElement("div");return ze.style.display="inline-block",ze.style.width=Ae-2+"px",ze.style.height=Ae-2+"px",ze.style.backgroundColor=Ce,ze.style.borderRadius=Ae/2+"px",Ce==="transparent"&&(ze.style.fill=this.uiStyleSettings.toolboxAccentColor,ze.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>`),Re.appendChild(ze),Re},de.prototype.setCurrentColor=function(Ce,He){var je=this;this.currentColor=Ce,this.colorBoxes.forEach(function(Ae){Ae.style.borderColor=Ae===He?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(Ce)},de}(fe),le=function(){function Ve(de,Ce,He){this._state="new",this._isSelected=!1,this._container=de,this._overlayContainer=Ce,this.globalSettings=He,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Ve.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Ve.prototype.ownsTarget=function(de){return!1},Object.defineProperty(Ve.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Ve.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Ve.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Ve.prototype.pointerDown=function(de,Ce){},Ve.prototype.dblClick=function(de,Ce){},Ve.prototype.manipulate=function(de){},Ve.prototype.pointerUp=function(de){this.stateChanged()},Ve.prototype.dispose=function(){},Ve.prototype.addMarkerVisualToContainer=function(de){this.container.childNodes.length>0?this.container.insertBefore(de,this.container.childNodes[0]):this.container.appendChild(de)},Ve.prototype.getState=function(){return{typeName:Ve.typeName,state:this.state,notes:this.notes}},Ve.prototype.restoreState=function(de){this._state=de.state,this.notes=de.notes},Ve.prototype.scale=function(de,Ce){},Ve.prototype.colorChanged=function(de){this.onColorChanged&&this.onColorChanged(de),this.stateChanged()},Ve.prototype.fillColorChanged=function(de){this.onFillColorChanged&&this.onFillColorChanged(de),this.stateChanged()},Ve.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var de=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),de.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(de)&&this.onStateChanged(this)}},Ve.typeName="MarkerBase",Ve}(),Se=function(){function Ve(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Ve.prototype.findGripByVisual=function(de){return this.topLeft.ownsTarget(de)?this.topLeft:this.topCenter.ownsTarget(de)?this.topCenter:this.topRight.ownsTarget(de)?this.topRight:this.centerLeft.ownsTarget(de)?this.centerLeft:this.centerRight.ownsTarget(de)?this.centerRight:this.bottomLeft.ownsTarget(de)?this.bottomLeft:this.bottomCenter.ownsTarget(de)?this.bottomCenter:this.bottomRight.ownsTarget(de)?this.bottomRight:void 0},Ve}(),xe=function(){function Ve(){this.GRIP_SIZE=10,this.visual=ie.createGroup(),this.visual.appendChild(ie.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(ie.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Ve.prototype.ownsTarget=function(de){return de===this.visual||de===this.visual.childNodes[0]||de===this.visual.childNodes[1]},Ve}(),ge=function(){function Ve(){}return Ve.toITransformMatrix=function(de){return{a:de.a,b:de.b,c:de.c,d:de.d,e:de.e,f:de.f}},Ve.toSVGMatrix=function(de,Ce){return de.a=Ce.a,de.b=Ce.b,de.c=Ce.c,de.d=Ce.d,de.e=Ce.e,de.f=Ce.f,de},Ve}(),Me=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.left=0,Ae.top=0,Ae.width=0,Ae.height=0,Ae.defaultSize={x:50,y:20},Ae.offsetX=0,Ae.offsetY=0,Ae.rotationAngle=0,Ae.CB_DISTANCE=10,Ae._suppressMarkerCreateEvent=!1,Ae.container.transform.baseVal.appendItem(ie.createTransform()),Ae.setupControlBox(),Ae}return $e(de,Ve),Object.defineProperty(de.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"visual",{get:function(){return this._visual},set:function(Ce){this._visual=Ce;var He=ie.createTransform();this._visual.transform.baseVal.appendItem(He)},enumerable:!1,configurable:!0}),de.prototype.ownsTarget=function(Ce){return!!Ve.prototype.ownsTarget.call(this,Ce)||!!(this.controlGrips.findGripByVisual(Ce)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Ce))},de.prototype.pointerDown=function(Ce,He){Ve.prototype.pointerDown.call(this,Ce,He),this.state==="new"&&(this.left=Ce.x,this.top=Ce.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var je=this.unrotatePoint(Ce);if(this.manipulationStartX=je.x,this.manipulationStartY=je.y,this.offsetX=je.x-this.left,this.offsetY=je.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(He),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(He)){this.activeGrip=this.rotatorGrip;var Ae=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=Ae.x-this.width/2,this.top=Ae.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Re=this.container.transform.baseVal.getItem(0);Re.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Re,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},de.prototype.pointerUp=function(Ce){var He=this.state;Ve.prototype.pointerUp.call(this,Ce),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(Ce),this._state="select",He==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},de.prototype.moveVisual=function(Ce){this.visual.style.transform="translate("+Ce.x+"px, "+Ce.y+"px)"},de.prototype.manipulate=function(Ce){var He=this.unrotatePoint(Ce);this.state==="creating"?this.resize(Ce):this.state==="move"?(this.left=this.manipulationStartLeft+(He.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(He.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(He):this.state==="rotate"&&this.rotate(Ce)},de.prototype.resize=function(Ce){var He=this.manipulationStartLeft,je=this.manipulationStartWidth,Ae=this.manipulationStartTop,Re=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:He=this.manipulationStartLeft+Ce.x-this.manipulationStartX,je=this.manipulationStartWidth+this.manipulationStartLeft-He;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:je=this.manipulationStartWidth+Ce.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:Ae=this.manipulationStartTop+Ce.y-this.manipulationStartY,Re=this.manipulationStartHeight+this.manipulationStartTop-Ae;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Re=this.manipulationStartHeight+Ce.y-this.manipulationStartY}je>=0?(this.left=He,this.width=je):(this.left=He+je,this.width=-je),Re>=0?(this.top=Ae,this.height=Re):(this.top=Ae+Re,this.height=-Re),this.setSize()},de.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},de.prototype.rotate=function(Ce){if(Math.abs(Ce.x-this.centerX)>.1){var He=Math.sign(Ce.x-this.centerX);this.rotationAngle=180*Math.atan((Ce.y-this.centerY)/(Ce.x-this.centerX))/Math.PI+90*He,this.applyRotation()}},de.prototype.applyRotation=function(){var Ce=this.container.transform.baseVal.getItem(0);Ce.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Ce,0)},de.prototype.rotatePoint=function(Ce){if(this.rotationAngle===0)return Ce;var He=this.container.getCTM(),je=ie.createPoint(Ce.x,Ce.y);return{x:(je=je.matrixTransform(He)).x,y:je.y}},de.prototype.unrotatePoint=function(Ce){if(this.rotationAngle===0)return Ce;var He=this.container.getCTM();He=He.inverse();var je=ie.createPoint(Ce.x,Ce.y);return{x:(je=je.matrixTransform(He)).x,y:je.y}},de.prototype.select=function(){Ve.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},de.prototype.deselect=function(){Ve.prototype.deselect.call(this),this.controlBox.style.display="none"},de.prototype.setupControlBox=function(){this.controlBox=ie.createGroup();var Ce=ie.createTransform();Ce.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(Ce),this.container.appendChild(this.controlBox),this.controlRect=ie.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=ie.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 Se,this.addControlGrips(),this.controlBox.style.display="none"},de.prototype.adjustControlBox=function(){var Ce=this.controlBox.transform.baseVal.getItem(0);Ce.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(Ce,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()},de.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()},de.prototype.createGrip=function(){var Ce=new xe;return Ce.visual.transform.baseVal.appendItem(ie.createTransform()),this.controlBox.appendChild(Ce.visual),Ce},de.prototype.positionGrips=function(){var Ce=this.controlGrips.topLeft.GRIP_SIZE,He=-Ce/2,je=He,Ae=(this.width+this.CB_DISTANCE)/2-Ce/2,Re=(this.height+this.CB_DISTANCE)/2-Ce/2,ze=this.height+this.CB_DISTANCE-Ce/2,Qe=this.width+this.CB_DISTANCE-Ce/2;this.positionGrip(this.controlGrips.topLeft.visual,He,je),this.positionGrip(this.controlGrips.topCenter.visual,Ae,je),this.positionGrip(this.controlGrips.topRight.visual,Qe,je),this.positionGrip(this.controlGrips.centerLeft.visual,He,Re),this.positionGrip(this.controlGrips.centerRight.visual,Qe,Re),this.positionGrip(this.controlGrips.bottomLeft.visual,He,ze),this.positionGrip(this.controlGrips.bottomCenter.visual,Ae,ze),this.positionGrip(this.controlGrips.bottomRight.visual,Qe,ze),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,Ae,je-3*this.CB_DISTANCE)},de.prototype.positionGrip=function(Ce,He,je){var Ae=Ce.transform.baseVal.getItem(0);Ae.setTranslate(He,je),Ce.transform.baseVal.replaceItem(Ae,0)},de.prototype.hideControlBox=function(){this.controlBox.style.display="none"},de.prototype.showControlBox=function(){this.controlBox.style.display=""},de.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:ge.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:ge.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Ve.prototype.getState.call(this))},de.prototype.restoreState=function(Ce){Ve.prototype.restoreState.call(this,Ce);var He=Ce;this.left=He.left,this.top=He.top,this.width=He.width,this.height=He.height,this.rotationAngle=He.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(ge.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,He.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(ge.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,He.containerTransformMatrix))},de.prototype.scale=function(Ce,He){Ve.prototype.scale.call(this,Ce,He);var je=this.rotatePoint({x:this.left,y:this.top}),Ae=this.unrotatePoint({x:je.x*Ce,y:je.y*He});this.left=Ae.x,this.top=Ae.y,this.width=this.width*Ce,this.height=this.height*He,this.adjustControlBox()},de}(le),ye=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.fillColor="transparent",Ae.strokeColor="transparent",Ae.strokeWidth=0,Ae.strokeDasharray="",Ae.opacity=1,Ae.setStrokeColor=Ae.setStrokeColor.bind(Ae),Ae.setFillColor=Ae.setFillColor.bind(Ae),Ae.setStrokeWidth=Ae.setStrokeWidth.bind(Ae),Ae.setStrokeDasharray=Ae.setStrokeDasharray.bind(Ae),Ae.createVisual=Ae.createVisual.bind(Ae),Ae}return $e(de,Ve),de.prototype.ownsTarget=function(Ce){return!(!Ve.prototype.ownsTarget.call(this,Ce)&&Ce!==this.visual)},de.prototype.createVisual=function(){this.visual=ie.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)},de.prototype.pointerDown=function(Ce,He){Ve.prototype.pointerDown.call(this,Ce,He),this.state==="new"&&(this.createVisual(),this.moveVisual(Ce),this._state="creating")},de.prototype.manipulate=function(Ce){Ve.prototype.manipulate.call(this,Ce)},de.prototype.resize=function(Ce){Ve.prototype.resize.call(this,Ce),this.setSize()},de.prototype.setSize=function(){Ve.prototype.setSize.call(this),ie.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},de.prototype.pointerUp=function(Ce){Ve.prototype.pointerUp.call(this,Ce),this.setSize()},de.prototype.setStrokeColor=function(Ce){this.strokeColor=Ce,this.visual&&ie.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(Ce),this.stateChanged()},de.prototype.setFillColor=function(Ce){this.fillColor=Ce,this.visual&&ie.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},de.prototype.setStrokeWidth=function(Ce){this.strokeWidth=Ce,this.visual&&ie.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},de.prototype.setStrokeDasharray=function(Ce){this.strokeDasharray=Ce,this.visual&&ie.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},de.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ve.prototype.getState.call(this))},de.prototype.restoreState=function(Ce){var He=Ce;this.fillColor=He.fillColor,this.strokeColor=He.strokeColor,this.strokeWidth=He.strokeWidth,this.strokeDasharray=He.strokeDasharray,this.opacity=He.opacity,this.createVisual(),Ve.prototype.restoreState.call(this,Ce),this.setSize()},de.prototype.scale=function(Ce,He){Ve.prototype.scale.call(this,Ce,He),this.setSize()},de.title="Rectangle marker",de}(Me),be=function(Ve){function de(Ce,He,je,Ae){var Re=Ve.call(this,Ce,Ae||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return Re.widths=[],Re.widthBoxes=[],Re.widths=He,Re.currentWidth=je,Re.setCurrentWidth=Re.setCurrentWidth.bind(Re),Re}return $e(de,Ve),de.prototype.getUi=function(){var Ce=this,He=document.createElement("div");return He.style.display="flex",He.style.overflow="hidden",He.style.flexGrow="2",this.widths.forEach(function(je){var Ae=document.createElement("div");Ae.style.display="flex",Ae.style.flexGrow="2",Ae.style.alignItems="center",Ae.style.justifyContent="space-between",Ae.style.padding="5px",Ae.style.borderWidth="2px",Ae.style.borderStyle="solid",Ae.style.borderColor=je===Ce.currentWidth?Ce.uiStyleSettings.toolboxAccentColor:"transparent",Ae.addEventListener("click",function(){Ce.setCurrentWidth(je,Ae)}),He.appendChild(Ae);var Re=document.createElement("div");Re.innerText=je.toString(),Re.style.marginRight="5px",Ae.appendChild(Re);var ze=document.createElement("div");ze.style.minHeight="20px",ze.style.flexGrow="2",ze.style.display="flex",ze.style.alignItems="center";var Qe=document.createElement("hr");Qe.style.minWidth="20px",Qe.style.border="0px",Qe.style.borderTop=je+"px solid "+Ce.uiStyleSettings.toolboxColor,Qe.style.flexGrow="2",ze.appendChild(Qe),Ae.appendChild(ze),Ce.widthBoxes.push(Ae)}),He},de.prototype.setCurrentWidth=function(Ce,He){var je=this;this.currentWidth=Ce,this.widthBoxes.forEach(function(Ae){Ae.style.borderColor=Ae===He?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},de}(fe),Fe=function(Ve){function de(Ce,He,je,Ae){var Re=Ve.call(this,Ce,Ae||'<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 Re.styles=[],Re.styleBoxes=[],Re.styles=He,Re.currentStyle=je,Re.setCurrentStyle=Re.setCurrentStyle.bind(Re),Re}return $e(de,Ve),de.prototype.getUi=function(){var Ce=this,He=document.createElement("div");return He.style.display="flex",He.style.overflow="hidden",He.style.flexGrow="2",this.styles.forEach(function(je){var Ae=document.createElement("div");Ae.style.display="flex",Ae.style.alignItems="center",Ae.style.justifyContent="space-between",Ae.style.padding="5px",Ae.style.borderWidth="2px",Ae.style.borderStyle="solid",Ae.style.overflow="hidden",Ae.style.maxWidth=100/Ce.styles.length-5+"%",Ae.style.borderColor=je===Ce.currentStyle?Ce.uiStyleSettings.toolboxAccentColor:"transparent",Ae.addEventListener("click",function(){Ce.setCurrentStyle(je,Ae)}),He.appendChild(Ae);var Re=document.createElement("div");Re.style.minHeight="20px",Re.style.flexGrow="2",Re.style.overflow="hidden";var ze=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+Ce.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(je!==""?'stroke-dasharray="'+je+'"':"")+` />
</svg>`;Re.innerHTML=ze,Ae.appendChild(Re),Ce.styleBoxes.push(Ae)}),He},de.prototype.setCurrentStyle=function(Ce,He){var je=this;this.currentStyle=Ce,this.styleBoxes.forEach(function(Ae){Ae.style.borderColor=Ae===He?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},de}(fe),ke=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.strokeColor=je.defaultColor,Ae.strokeWidth=je.defaultStrokeWidth,Ae.strokeDasharray=je.defaultStrokeDasharray,Ae.strokePanel=new pe("Line color",je.defaultColorSet,je.defaultColor),Ae.strokePanel.onColorChanged=Ae.setStrokeColor,Ae.strokeWidthPanel=new be("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),Ae.strokeWidthPanel.onWidthChanged=Ae.setStrokeWidth,Ae.strokeStylePanel=new Fe("Line style",je.defaultStrokeDasharrays,je.defaultStrokeDasharray),Ae.strokeStylePanel.onStyleChanged=Ae.setStrokeDasharray,Ae}return $e(de,Ve),Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var Ce=Ve.prototype.getState.call(this);return Ce.typeName=de.typeName,Ce},de.typeName="FrameMarker",de.title="Frame marker",de.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',de}(ye),Ie=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"},Le=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.x1=0,Ae.y1=0,Ae.x2=0,Ae.y2=0,Ae.defaultLength=50,Ae.manipulationStartX=0,Ae.manipulationStartY=0,Ae.manipulationStartX1=0,Ae.manipulationStartY1=0,Ae.manipulationStartX2=0,Ae.manipulationStartY2=0,Ae.setupControlBox(),Ae}return $e(de,Ve),de.prototype.ownsTarget=function(Ce){return!!Ve.prototype.ownsTarget.call(this,Ce)||!(!this.grip1.ownsTarget(Ce)&&!this.grip2.ownsTarget(Ce))},de.prototype.pointerDown=function(Ce,He){Ve.prototype.pointerDown.call(this,Ce,He),this.manipulationStartX=Ce.x,this.manipulationStartY=Ce.y,this.state==="new"&&(this.x1=Ce.x,this.y1=Ce.y,this.x2=Ce.x,this.y2=Ce.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(He)?this.activeGrip=this.grip1:this.grip2.ownsTarget(He)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},de.prototype.pointerUp=function(Ce){var He=this.state;Ve.prototype.pointerUp.call(this,Ce),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(Ce),this._state="select",He==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},de.prototype.adjustVisual=function(){},de.prototype.manipulate=function(Ce){this.state==="creating"?this.resize(Ce):this.state==="move"?(this.x1=this.manipulationStartX1+Ce.x-this.manipulationStartX,this.y1=this.manipulationStartY1+Ce.y-this.manipulationStartY,this.x2=this.manipulationStartX2+Ce.x-this.manipulationStartX,this.y2=this.manipulationStartY2+Ce.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(Ce)},de.prototype.resize=function(Ce){switch(this.activeGrip){case this.grip1:this.x1=Ce.x,this.y1=Ce.y;break;case this.grip2:case void 0:this.x2=Ce.x,this.y2=Ce.y}this.adjustVisual(),this.adjustControlBox()},de.prototype.select=function(){Ve.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},de.prototype.deselect=function(){Ve.prototype.deselect.call(this),this.controlBox.style.display="none"},de.prototype.setupControlBox=function(){this.controlBox=ie.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},de.prototype.adjustControlBox=function(){this.positionGrips()},de.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},de.prototype.createGrip=function(){var Ce=new xe;return Ce.visual.transform.baseVal.appendItem(ie.createTransform()),this.controlBox.appendChild(Ce.visual),Ce},de.prototype.positionGrips=function(){var Ce=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-Ce/2,this.y1-Ce/2),this.positionGrip(this.grip2.visual,this.x2-Ce/2,this.y2-Ce/2)},de.prototype.positionGrip=function(Ce,He,je){var Ae=Ce.transform.baseVal.getItem(0);Ae.setTranslate(He,je),Ce.transform.baseVal.replaceItem(Ae,0)},de.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Ve.prototype.getState.call(this))},de.prototype.restoreState=function(Ce){Ve.prototype.restoreState.call(this,Ce);var He=Ce;this.x1=He.x1,this.y1=He.y1,this.x2=He.x2,this.y2=He.y2},de.prototype.scale=function(Ce,He){Ve.prototype.scale.call(this,Ce,He),this.x1=this.x1*Ce,this.y1=this.y1*He,this.x2=this.x2*Ce,this.y2=this.y2*He,this.adjustVisual(),this.adjustControlBox()},de}(le),De=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.strokeColor="transparent",Ae.strokeWidth=0,Ae.strokeDasharray="",Ae.setStrokeColor=Ae.setStrokeColor.bind(Ae),Ae.setStrokeWidth=Ae.setStrokeWidth.bind(Ae),Ae.setStrokeDasharray=Ae.setStrokeDasharray.bind(Ae),Ae.strokeColor=je.defaultColor,Ae.strokeWidth=je.defaultStrokeWidth,Ae.strokeDasharray=je.defaultStrokeDasharray,Ae.strokePanel=new pe("Line color",je.defaultColorSet,je.defaultColor),Ae.strokePanel.onColorChanged=Ae.setStrokeColor,Ae.strokeWidthPanel=new be("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),Ae.strokeWidthPanel.onWidthChanged=Ae.setStrokeWidth,Ae.strokeStylePanel=new Fe("Line style",je.defaultStrokeDasharrays,je.defaultStrokeDasharray),Ae.strokeStylePanel.onStyleChanged=Ae.setStrokeDasharray,Ae}return $e(de,Ve),de.prototype.ownsTarget=function(Ce){return!(!Ve.prototype.ownsTarget.call(this,Ce)&&Ce!==this.visual&&Ce!==this.selectorLine&&Ce!==this.visibleLine)},de.prototype.createVisual=function(){this.visual=ie.createGroup(),this.selectorLine=ie.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=ie.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)},de.prototype.pointerDown=function(Ce,He){Ve.prototype.pointerDown.call(this,Ce,He),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},de.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()),ie.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),ie.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),ie.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},de.prototype.setStrokeColor=function(Ce){this.strokeColor=Ce,this.adjustVisual(),this.colorChanged(Ce)},de.prototype.setStrokeWidth=function(Ce){this.strokeWidth=Ce,this.adjustVisual()},de.prototype.setStrokeDasharray=function(Ce){this.strokeDasharray=Ce,this.adjustVisual(),this.stateChanged()},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var Ce=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Ve.prototype.getState.call(this));return Ce.typeName=de.typeName,Ce},de.prototype.restoreState=function(Ce){Ve.prototype.restoreState.call(this,Ce);var He=Ce;this.strokeColor=He.strokeColor,this.strokeWidth=He.strokeWidth,this.strokeDasharray=He.strokeDasharray,this.createVisual(),this.adjustVisual()},de.typeName="LineMarker",de.title="Line marker",de.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',de}(Le),Be=function(Ve){function de(Ce,He,je,Ae){var Re=Ve.call(this,Ce,Ae||'<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 Re.fonts=[],Re.fontBoxes=[],Re.fonts=He,Re.currentFont=je,Re.setCurrentFont=Re.setCurrentFont.bind(Re),Re}return $e(de,Ve),de.prototype.getUi=function(){var Ce=this,He=document.createElement("div");return He.style.overflow="hidden",He.style.flexGrow="2",this.fonts.forEach(function(je){var Ae=document.createElement("div");Ae.style.display="inline-block",Ae.style.alignItems="center",Ae.style.justifyContent="space-between",Ae.style.padding="5px",Ae.style.borderWidth="2px",Ae.style.borderStyle="solid",Ae.style.overflow="hidden",Ae.style.maxWidth=100/Ce.fonts.length-5+"%",Ae.style.borderColor=je===Ce.currentFont?Ce.uiStyleSettings.toolboxAccentColor:"transparent",Ae.addEventListener("click",function(){Ce.setCurrentFont(je,Ae)}),He.appendChild(Ae);var Re=document.createElement("div");Re.style.display="flex",Re.style.minHeight="20px",Re.style.flexGrow="2",Re.style.fontFamily=je,Re.style.overflow="hidden";var ze=document.createElement("div");ze.style.whiteSpace="nowrap",ze.style.overflow="hidden",ze.style.textOverflow="ellipsis",ze.innerHTML="The quick brown fox jumps over the lazy dog",Re.appendChild(ze),Ae.appendChild(Re),Ce.fontBoxes.push(Ae)}),He},de.prototype.setCurrentFont=function(Ce,He){var je=this;this.currentFont=Ce,this.fontBoxes.forEach(function(Ae){Ae.style.borderColor=Ae===He?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},de}(fe),Ue=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.color="transparent",Ae.padding=5,Ae.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",Ae.text=Ae.DEFAULT_TEXT,Ae.isMoved=!1,Ae.color=je.defaultColor,Ae.fontFamily=je.defaultFontFamily,Ae.defaultSize={x:100,y:30},Ae.setColor=Ae.setColor.bind(Ae),Ae.setFont=Ae.setFont.bind(Ae),Ae.renderText=Ae.renderText.bind(Ae),Ae.sizeText=Ae.sizeText.bind(Ae),Ae.textEditDivClicked=Ae.textEditDivClicked.bind(Ae),Ae.showTextEditor=Ae.showTextEditor.bind(Ae),Ae.setSize=Ae.setSize.bind(Ae),Ae.positionTextEditor=Ae.positionTextEditor.bind(Ae),Ae.colorPanel=new pe("Color",je.defaultColorSet,je.defaultColor),Ae.colorPanel.onColorChanged=Ae.setColor,Ae.fontFamilyPanel=new Be("Font",je.defaultFontFamilies,je.defaultFontFamily),Ae.fontFamilyPanel.onFontChanged=Ae.setFont,Ae}return $e(de,Ve),de.prototype.ownsTarget=function(Ce){if(Ve.prototype.ownsTarget.call(this,Ce)||Ce===this.visual||Ce===this.textElement||Ce===this.bgRectangle)return!0;var He=!1;return this.textElement.childNodes.forEach(function(je){je===Ce&&(He=!0)}),He},de.prototype.createVisual=function(){this.visual=ie.createGroup(),this.bgRectangle=ie.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=ie.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(ie.createTransform()),this.textElement.transform.baseVal.appendItem(ie.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},de.prototype.pointerDown=function(Ce,He){Ve.prototype.pointerDown.call(this,Ce,He),this.isMoved=!1,this.pointerDownPoint=Ce,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(Ce),this._state="creating")},de.prototype.renderText=function(){var Ce=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(He){Ce.textElement.appendChild(ie.createTSpan(He.trim()===""?" ":He.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},de.prototype.getTextScale=function(){var Ce=this.textElement.getBBox(),He=1;if(Ce.width>0&&Ce.height>0){var je=(1*this.width-this.width*this.padding*2/100)/Ce.width,Ae=(1*this.height-this.height*this.padding*2/100)/Ce.height;He=Math.min(je,Ae)}return He},de.prototype.getTextPosition=function(Ce){var He=this.textElement.getBBox(),je=0,Ae=0;return He.width>0&&He.height>0&&(je=(this.width-He.width*Ce)/2,Ae=this.height/2-He.height*Ce/2),{x:je,y:Ae}},de.prototype.sizeText=function(){var Ce=this.textElement.getBBox(),He=this.getTextScale(),je=this.getTextPosition(He);je.y-=Ce.y*He,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+je.x+"px, "+je.y+"px) scale("+He+", "+He+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(je.x,je.y),this.textElement.transform.baseVal.getItem(1).setScale(He,He))},de.prototype.manipulate=function(Ce){Ve.prototype.manipulate.call(this,Ce),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(Ce.x-this.pointerDownPoint.x)>5||Math.abs(Ce.y-this.pointerDownPoint.y)>5)},de.prototype.resize=function(Ce){Ve.prototype.resize.call(this,Ce),this.isMoved=!0,this.setSize(),this.sizeText()},de.prototype.setSize=function(){Ve.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(ie.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ie.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},de.prototype.pointerUp=function(Ce){var He=this.state;He==="creating"&&(this._suppressMarkerCreateEvent=!0),Ve.prototype.pointerUp.call(this,Ce),this.setSize(),(He==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},de.prototype.showTextEditor=function(){var Ce=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(He){He.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var He=Number.parseFloat(Ce.textEditor.style.fontSize);Ce.textEditor.clientWidth>=Number.parseInt(Ce.textEditor.style.maxWidth)&&He>.9;)He-=.1,Ce.textEditor.style.fontSize=Math.max(He,.9)+"em"}),this.textEditor.addEventListener("keyup",function(He){He.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(He){if(He.clipboardData){var je=He.clipboardData.getData("text"),Ae=window.getSelection();if(!Ae.rangeCount)return!1;Ae.deleteFromDocument(),Ae.getRangeAt(0).insertNode(document.createTextNode(je)),He.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){Ce.textEditDivClicked(Ce.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},de.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var Ce=this.getTextScale(),He=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),je=this.textElement.getBBox(),Ae={x:je.width*Ce,y:je.height*Ce};He.x-=Ae.x/2,He.y-=Ae.y/2,this.textEditor.style.top=He.y+"px",this.textEditor.style.left=He.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-He.x+"px",this.textEditor.style.fontSize=Math.max(16*Ce,12)+"px",this.textElement.style.display="none"}},de.prototype.textEditDivClicked=function(Ce){this.text=Ce.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},de.prototype.select=function(){Ve.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},de.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Ve.prototype.deselect.call(this)},de.prototype.dblClick=function(Ce,He){Ve.prototype.dblClick.call(this,Ce,He),this.showTextEditor()},de.prototype.setColor=function(Ce){this.textElement&&ie.setAttributes(this.textElement,[["fill",Ce]]),this.color=Ce,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(Ce)},de.prototype.setFont=function(Ce){this.textElement&&ie.setAttributes(this.textElement,[["font-family",Ce]]),this.fontFamily=Ce,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},de.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},de.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var Ce=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Ve.prototype.getState.call(this));return Ce.typeName=de.typeName,Ce},de.prototype.restoreState=function(Ce){var He=Ce;this.color=He.color,this.fontFamily=He.fontFamily,this.padding=He.padding,this.text=He.text,this.createVisual(),Ve.prototype.restoreState.call(this,Ce),this.setSize()},de.prototype.scale=function(Ce,He){Ve.prototype.scale.call(this,Ce,He),this.setSize(),this.sizeText(),this.positionTextEditor()},de.typeName="TextMarker",de.title="Text marker",de.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>',de}(Me),_e=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.color="transparent",Ae.lineWidth=3,Ae.drawing=!1,Ae.pixelRatio=1,Ae.color=je.defaultColor,Ae.lineWidth=je.defaultStrokeWidth,Ae.pixelRatio=je.freehandPixelRatio,Ae.setColor=Ae.setColor.bind(Ae),Ae.addCanvas=Ae.addCanvas.bind(Ae),Ae.finishCreation=Ae.finishCreation.bind(Ae),Ae.setLineWidth=Ae.setLineWidth.bind(Ae),Ae.colorPanel=new pe("Color",je.defaultColorSet,je.defaultColor),Ae.colorPanel.onColorChanged=Ae.setColor,Ae.lineWidthPanel=new be("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),Ae.lineWidthPanel.onWidthChanged=Ae.setLineWidth,Ae}return $e(de,Ve),de.prototype.ownsTarget=function(Ce){return!(!Ve.prototype.ownsTarget.call(this,Ce)&&Ce!==this.visual&&Ce!==this.drawingImage)},de.prototype.createVisual=function(){this.visual=ie.createGroup(),this.drawingImage=ie.createImage(),this.visual.appendChild(this.drawingImage);var Ce=ie.createTransform();this.visual.transform.baseVal.appendItem(Ce),this.addMarkerVisualToContainer(this.visual)},de.prototype.pointerDown=function(Ce,He){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(Ce.x,Ce.y),this.drawing=!0):Ve.prototype.pointerDown.call(this,Ce,He)},de.prototype.manipulate=function(Ce){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(Ce.x,Ce.y),this.canvasContext.stroke()):Ve.prototype.manipulate.call(this,Ce)},de.prototype.resize=function(Ce){Ve.prototype.resize.call(this,Ce),ie.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ie.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},de.prototype.pointerUp=function(Ce){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Ve.prototype.pointerUp.call(this,Ce)},de.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)},de.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Ve.prototype.select.call(this)},de.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Ve.prototype.deselect.call(this)},de.prototype.finishCreation=function(){for(var Ce=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),He=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],je=He[0],Ae=He[1],Re=He[2],ze=He[3],Qe=!1,ot=0;ot<this.canvasElement.height;ot++)for(var mt=0;mt<this.canvasElement.width;mt++)Ce.data[ot*this.canvasElement.width*4+4*mt+3]>0&&(Qe=!0,ot<Ae&&(Ae=ot),mt<je&&(je=mt),ot>ze&&(ze=ot),mt>Re&&(Re=mt));if(Qe){this.left=je/this.pixelRatio,this.top=Ae/this.pixelRatio,this.width=(Re-je)/this.pixelRatio,this.height=(ze-Ae)/this.pixelRatio;var Ot=document.createElement("canvas");Ot.width=Re-je,Ot.height=ze-Ae,Ot.getContext("2d").putImageData(this.canvasContext.getImageData(je,Ae,Re-je,ze-Ae),0,0),this.drawingImgUrl=Ot.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},de.prototype.setDrawingImage=function(){ie.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),ie.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},de.prototype.setColor=function(Ce){this.color=Ce,this.colorChanged(Ce)},de.prototype.setLineWidth=function(Ce){this.lineWidth=Ce},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var Ce=Object.assign({drawingImgUrl:this.drawingImgUrl},Ve.prototype.getState.call(this));return Ce.typeName=de.typeName,Ce},de.prototype.restoreState=function(Ce){this.createVisual(),Ve.prototype.restoreState.call(this,Ce),this.drawingImgUrl=Ce.drawingImgUrl,this.setDrawingImage()},de.prototype.scale=function(Ce,He){Ve.prototype.scale.call(this,Ce,He),this.setDrawingImage()},de.typeName="FreehandMarker",de.title="Freehand marker",de.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>',de}(Me),We=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,je||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return Ae.typeBoxes=[],Ae.currentType=He,Ae.setCurrentType=Ae.setCurrentType.bind(Ae),Ae}return $e(de,Ve),de.prototype.getUi=function(){var Ce=this,He=document.createElement("div");He.style.display="flex",He.style.overflow="hidden",He.style.flexGrow="2";for(var je=function(ze){var Qe="both";switch(ze){case 0:Qe="both";break;case 1:Qe="start";break;case 2:Qe="end";break;case 3:Qe="none"}var ot=document.createElement("div");if(ot.style.display="flex",ot.style.flexGrow="2",ot.style.alignItems="center",ot.style.justifyContent="space-between",ot.style.padding="5px",ot.style.borderWidth="2px",ot.style.borderStyle="solid",ot.style.borderColor=Qe===Ae.currentType?Ae.uiStyleSettings.toolboxAccentColor:"transparent",ot.addEventListener("click",function(){Ce.setCurrentType(Qe,ot)}),He.appendChild(ot),Qe==="both"||Qe==="start"){var mt=document.createElement("div");mt.style.display="flex",mt.style.alignItems="center",mt.style.minHeight="20px",mt.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="`+(Ae.uiStyleSettings!==void 0?Ae.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,mt.style.marginLeft="5px",ot.appendChild(mt)}var Ot=document.createElement("div");Ot.style.display="flex",Ot.style.alignItems="center",Ot.style.minHeight="20px",Ot.style.flexGrow="2";var xt=document.createElement("hr");if(xt.style.minWidth="20px",xt.style.border="0px",xt.style.borderTop="3px solid "+(Ae.uiStyleSettings!==void 0?Ae.uiStyleSettings.toolboxColor:"#eeeeee"),xt.style.flexGrow="2",Ot.appendChild(xt),ot.appendChild(Ot),Qe==="both"||Qe==="end"){var Wt=document.createElement("div");Wt.style.display="flex",Wt.style.alignItems="center",Wt.style.minHeight="20px",Wt.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="`+(Ae.uiStyleSettings!==void 0?Ae.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Wt.style.marginRight="5px",ot.appendChild(Wt)}Ae.typeBoxes.push(ot)},Ae=this,Re=0;Re<4;Re++)je(Re);return He},de.prototype.setCurrentType=function(Ce,He){var je=this;this.currentType=Ce,this.typeBoxes.forEach(function(Ae){Ae.style.borderColor=Ae===He?je.uiStyleSettings!==void 0?je.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},de}(fe),Ze=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.arrowType="end",Ae.arrowBaseHeight=10,Ae.arrowBaseWidth=10,Ae.getArrowPoints=Ae.getArrowPoints.bind(Ae),Ae.setArrowType=Ae.setArrowType.bind(Ae),Ae.arrowTypePanel=new We("Arrow type","end"),Ae.arrowTypePanel.onArrowTypeChanged=Ae.setArrowType,Ae}return $e(de,Ve),de.prototype.ownsTarget=function(Ce){return!(!Ve.prototype.ownsTarget.call(this,Ce)&&Ce!==this.arrow1&&Ce!==this.arrow2)},de.prototype.getArrowPoints=function(Ce,He){var je=this.arrowBaseWidth+2*this.strokeWidth,Ae=this.arrowBaseHeight+2*this.strokeWidth;return Ce-je/2+","+(He+Ae/2)+" "+Ce+","+(He-Ae/2)+" "+(Ce+je/2)+","+(He+Ae/2)},de.prototype.createTips=function(){this.arrow1=ie.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(ie.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=ie.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(ie.createTransform()),this.visual.appendChild(this.arrow2)},de.prototype.pointerDown=function(Ce,He){Ve.prototype.pointerDown.call(this,Ce,He),this.state==="creating"&&this.createTips()},de.prototype.adjustVisual=function(){if(Ve.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",ie.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),ie.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var Ce=0;Math.abs(this.x1-this.x2)>.1&&(Ce=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var He=this.arrow1.transform.baseVal.getItem(0);He.setRotate(Ce,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(He,0);var je=this.arrow2.transform.baseVal.getItem(0);je.setRotate(Ce+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(je,0)}},de.prototype.setArrowType=function(Ce){this.arrowType=Ce,this.adjustVisual(),this.stateChanged()},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var Ce=Object.assign({arrowType:this.arrowType},Ve.prototype.getState.call(this));return Ce.typeName=de.typeName,Ce},de.prototype.restoreState=function(Ce){Ve.prototype.restoreState.call(this,Ce);var He=Ce;this.arrowType=He.arrowType,this.createTips(),this.adjustVisual()},de.typeName="ArrowMarker",de.title="Arrow marker",de.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',de}(De),et=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.fillColor=je.defaultFillColor,Ae.strokeWidth=0,Ae.fillPanel=new pe("Color",je.defaultColorSet,je.defaultFillColor),Ae.fillPanel.onColorChanged=Ae.setFillColor,Ae}return $e(de,Ve),Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var Ce=Ve.prototype.getState.call(this);return Ce.typeName=de.typeName,Ce},de.typeName="CoverMarker",de.title="Cover marker",de.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',de}(ye),at=function(Ve){function de(Ce,He,je,Ae){var Re=Ve.call(this,Ce,Ae||'<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 Re.opacities=[],Re.opacityBoxes=[],Re.opacities=He,Re.currentOpacity=je,Re.setCurrentOpacity=Re.setCurrentOpacity.bind(Re),Re}return $e(de,Ve),de.prototype.getUi=function(){var Ce=this,He=document.createElement("div");return He.style.display="flex",He.style.overflow="hidden",He.style.flexGrow="2",He.style.justifyContent="space-between",this.opacities.forEach(function(je){var Ae=document.createElement("div");Ae.style.display="flex",Ae.style.alignItems="center",Ae.style.justifyContent="center",Ae.style.padding="5px",Ae.style.borderWidth="2px",Ae.style.borderStyle="solid",Ae.style.borderColor=je===Ce.currentOpacity?Ce.uiStyleSettings.toolboxAccentColor:"transparent",Ae.addEventListener("click",function(){Ce.setCurrentOpacity(je,Ae)}),He.appendChild(Ae);var Re=document.createElement("div");Re.innerText=100*je+"%",Ae.appendChild(Re),Ce.opacityBoxes.push(Ae)}),He},de.prototype.setCurrentOpacity=function(Ce,He){var je=this;this.currentOpacity=Ce,this.opacityBoxes.forEach(function(Ae){Ae.style.borderColor=Ae===He?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},de}(fe),pt=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.setOpacity=Ae.setOpacity.bind(Ae),Ae.fillColor=je.defaultHighlightColor,Ae.strokeWidth=0,Ae.opacity=je.defaultHighlightOpacity,Ae.fillPanel=new pe("Color",je.defaultColorSet,Ae.fillColor),Ae.fillPanel.onColorChanged=Ae.setFillColor,Ae.opacityPanel=new at("Opacity",je.defaultOpacitySteps,Ae.opacity),Ae.opacityPanel.onOpacityChanged=Ae.setOpacity,Ae}return $e(de,Ve),de.prototype.setOpacity=function(Ce){this.opacity=Ce,this.visual&&ie.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var Ce=Ve.prototype.getState.call(this);return Ce.typeName=de.typeName,Ce},de.typeName="HighlightMarker",de.title="Highlight marker",de.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>',de}(et),Xe='<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>',Ge='<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>',lt=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.bgColor="transparent",Ae.tipPosition={x:0,y:0},Ae.tipBase1Position={x:0,y:0},Ae.tipBase2Position={x:0,y:0},Ae.tipMoving=!1,Ae.color=je.defaultStrokeColor,Ae.bgColor=je.defaultFillColor,Ae.fontFamily=je.defaultFontFamily,Ae.defaultSize={x:100,y:30},Ae.setBgColor=Ae.setBgColor.bind(Ae),Ae.getTipPoints=Ae.getTipPoints.bind(Ae),Ae.positionTip=Ae.positionTip.bind(Ae),Ae.setTipPoints=Ae.setTipPoints.bind(Ae),Ae.colorPanel=new pe("Text color",je.defaultColorSet,Ae.color,Xe),Ae.colorPanel.onColorChanged=Ae.setColor,Ae.bgColorPanel=new pe("Fill color",je.defaultColorSet,Ae.bgColor,Ge),Ae.bgColorPanel.onColorChanged=Ae.setBgColor,Ae.fontFamilyPanel=new Be("Font",je.defaultFontFamilies,je.defaultFontFamily),Ae.fontFamilyPanel.onFontChanged=Ae.setFont,Ae.tipGrip=new xe,Ae.tipGrip.visual.transform.baseVal.appendItem(ie.createTransform()),Ae.controlBox.appendChild(Ae.tipGrip.visual),Ae}return $e(de,Ve),de.prototype.ownsTarget=function(Ce){return Ve.prototype.ownsTarget.call(this,Ce)||this.tipGrip.ownsTarget(Ce)||this.tip===Ce},de.prototype.createTip=function(){ie.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=ie.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},de.prototype.pointerDown=function(Ce,He){this.state==="new"&&Ve.prototype.pointerDown.call(this,Ce,He),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(He)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Ve.prototype.pointerDown.call(this,Ce,He)},de.prototype.pointerUp=function(Ce){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Ve.prototype.pointerUp.call(this,Ce);else{var He=this.state==="creating";Ve.prototype.pointerUp.call(this,Ce),this.setTipPoints(He),this.positionTip()}},de.prototype.manipulate=function(Ce){if(this.tipMoving){var He=this.unrotatePoint(Ce);this.tipPosition={x:He.x-this.manipulationStartLeft,y:He.y-this.manipulationStartTop},this.positionTip()}else Ve.prototype.manipulate.call(this,Ce)},de.prototype.setBgColor=function(Ce){this.bgRectangle&&this.tip&&(ie.setAttributes(this.bgRectangle,[["fill",Ce]]),ie.setAttributes(this.tip,[["fill",Ce]])),this.bgColor=Ce,this.fillColorChanged(Ce)},de.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},de.prototype.setTipPoints=function(Ce){Ce===void 0&&(Ce=!1);var He=Math.min(this.height/2,15),je=this.height/5;Ce&&(this.tipPosition={x:He+je/2,y:this.height+20});var Ae=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?Ae<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(je=this.width/5,He=Math.min(this.width/2,15),this.tipBase1Position={x:He,y:0},this.tipBase2Position={x:He+je,y:0}):(this.tipBase1Position={x:0,y:He},this.tipBase2Position={x:0,y:He+je}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?Ae<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(je=this.width/5,He=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-He-je,y:0},this.tipBase2Position={x:this.width-He,y:0}):(this.tipBase1Position={x:this.width,y:He},this.tipBase2Position={x:this.width,y:He+je}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?Ae<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(je=this.width/5,He=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-He-je,y:this.height},this.tipBase2Position={x:this.width-He,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-He-je},this.tipBase2Position={x:this.width,y:this.height-He}):Ae<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(je=this.width/5,He=Math.min(this.width/2,15),this.tipBase1Position={x:He,y:this.height},this.tipBase2Position={x:He+je,y:this.height}):(this.tipBase1Position={x:0,y:this.height-He},this.tipBase2Position={x:0,y:this.height-He-je})},de.prototype.resize=function(Ce){Ve.prototype.resize.call(this,Ce),this.positionTip()},de.prototype.positionTip=function(){ie.setAttributes(this.tip,[["points",this.getTipPoints()]]);var Ce=this.tipGrip.visual.transform.baseVal.getItem(0);Ce.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(Ce,0)},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),de.prototype.select=function(){this.positionTip(),Ve.prototype.select.call(this)},de.prototype.getState=function(){var Ce=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},Ve.prototype.getState.call(this));return Ce.typeName=de.typeName,Ce},de.prototype.restoreState=function(Ce){var He=Ce;this.bgColor=He.bgColor,this.tipPosition=He.tipPosition,Ve.prototype.restoreState.call(this,Ce),this.createTip(),this.setTipPoints()},de.prototype.scale=function(Ce,He){Ve.prototype.scale.call(this,Ce,He),this.tipPosition={x:this.tipPosition.x*Ce,y:this.tipPosition.y*He},this.positionTip()},de.typeName="CalloutMarker",de.title="Callout marker",de.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>',de}(Ue),dt=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.fillColor="transparent",Ae.strokeColor="transparent",Ae.strokeWidth=0,Ae.strokeDasharray="",Ae.opacity=1,Ae.strokeColor=je.defaultColor,Ae.strokeWidth=je.defaultStrokeWidth,Ae.strokeDasharray=je.defaultStrokeDasharray,Ae.fillColor=je.defaultFillColor,Ae.setStrokeColor=Ae.setStrokeColor.bind(Ae),Ae.setFillColor=Ae.setFillColor.bind(Ae),Ae.setStrokeWidth=Ae.setStrokeWidth.bind(Ae),Ae.setStrokeDasharray=Ae.setStrokeDasharray.bind(Ae),Ae.setOpacity=Ae.setOpacity.bind(Ae),Ae.createVisual=Ae.createVisual.bind(Ae),Ae.strokePanel=new pe("Line color",me(je.defaultColorSet,["transparent"]),je.defaultColor),Ae.strokePanel.onColorChanged=Ae.setStrokeColor,Ae.fillPanel=new pe("Fill color",me(je.defaultColorSet,["transparent"]),Ae.fillColor,Ge),Ae.fillPanel.onColorChanged=Ae.setFillColor,Ae.strokeWidthPanel=new be("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),Ae.strokeWidthPanel.onWidthChanged=Ae.setStrokeWidth,Ae.strokeStylePanel=new Fe("Line style",je.defaultStrokeDasharrays,je.defaultStrokeDasharray),Ae.strokeStylePanel.onStyleChanged=Ae.setStrokeDasharray,Ae.opacityPanel=new at("Opacity",je.defaultOpacitySteps,Ae.opacity),Ae.opacityPanel.onOpacityChanged=Ae.setOpacity,Ae}return $e(de,Ve),de.prototype.ownsTarget=function(Ce){return!(!Ve.prototype.ownsTarget.call(this,Ce)&&Ce!==this.visual)},de.prototype.createVisual=function(){this.visual=ie.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)},de.prototype.pointerDown=function(Ce,He){Ve.prototype.pointerDown.call(this,Ce,He),this.state==="new"&&(this.createVisual(),this.moveVisual(Ce),this._state="creating")},de.prototype.manipulate=function(Ce){Ve.prototype.manipulate.call(this,Ce)},de.prototype.resize=function(Ce){Ve.prototype.resize.call(this,Ce),this.setSize()},de.prototype.setSize=function(){Ve.prototype.setSize.call(this),ie.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},de.prototype.pointerUp=function(Ce){Ve.prototype.pointerUp.call(this,Ce),this.setSize()},de.prototype.setStrokeColor=function(Ce){this.strokeColor=Ce,this.visual&&ie.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(Ce),this.stateChanged()},de.prototype.setFillColor=function(Ce){this.fillColor=Ce,this.visual&&ie.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(Ce),this.stateChanged()},de.prototype.setStrokeWidth=function(Ce){this.strokeWidth=Ce,this.visual&&ie.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},de.prototype.setStrokeDasharray=function(Ce){this.strokeDasharray=Ce,this.visual&&ie.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},de.prototype.setOpacity=function(Ce){this.opacity=Ce,this.visual&&ie.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var Ce=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ve.prototype.getState.call(this));return Ce.typeName=de.typeName,Ce},de.prototype.restoreState=function(Ce){var He=Ce;this.fillColor=He.fillColor,this.strokeColor=He.strokeColor,this.strokeWidth=He.strokeWidth,this.strokeDasharray=He.strokeDasharray,this.opacity=He.opacity,this.createVisual(),Ve.prototype.restoreState.call(this,Ce),this.setSize()},de.prototype.scale=function(Ce,He){Ve.prototype.scale.call(this,Ce,He),this.setSize()},de.typeName="EllipseMarker",de.title="Ellipse marker",de.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>',de}(Me),st=function(Ve){function de(Ce,He,je){return Ve.call(this,Ce,He,je)||this}return $e(de,Ve),Object.defineProperty(de.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),de.prototype.ownsTarget=function(Ce){return!(!Ve.prototype.ownsTarget.call(this,Ce)&&Ce!==this.tip1&&Ce!==this.tip2)},de.prototype.createTips=function(){this.tip1=ie.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(ie.createTransform()),this.visual.appendChild(this.tip1),this.tip2=ie.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(ie.createTransform()),this.visual.appendChild(this.tip2)},de.prototype.pointerDown=function(Ce,He){Ve.prototype.pointerDown.call(this,Ce,He),this.state==="creating"&&this.createTips()},de.prototype.adjustVisual=function(){if(Ve.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(ie.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()]]),ie.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 Ce=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),He=this.tip1.transform.baseVal.getItem(0);He.setRotate(Ce,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(He,0);var je=this.tip2.transform.baseVal.getItem(0);je.setRotate(Ce+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(je,0)}},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var Ce=Ve.prototype.getState.call(this);return Ce.typeName=de.typeName,Ce},de.prototype.restoreState=function(Ce){Ve.prototype.restoreState.call(this,Ce),this.createTips(),this.adjustVisual()},de.typeName="MeasurementMarker",de.title="Measurement marker",de.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>',de}(De),nt=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.strokePanel.colors=je.defaultColorSet,Ae.fillColor="transparent",Ae}return $e(de,Ve),Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var Ce=Ve.prototype.getState.call(this);return Ce.typeName=de.typeName,Ce},de.typeName="EllipseFrameMarker",de.title="Ellipse frame marker",de.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>',de}(dt),rt=function(){function Ve(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Ve.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Ve.prototype.addUndoStep=function(de){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(de)||(this.undoStack.push(de),JSON.stringify(this.lastRedoStep)!==JSON.stringify(de)&&this.redoStack.splice(0,this.redoStack.length))},Ve.prototype.replaceLastUndoStep=function(de){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=de)},Ve.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Ve.prototype.undo=function(){if(this.undoStack.length>1){var de=this.undoStack.pop();return de!==void 0&&this.redoStack.push(de),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Ve.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Ve}(),it=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.strokeColor="transparent",Ae.strokeWidth=0,Ae.strokeDasharray="",Ae.curveX=0,Ae.curveY=0,Ae.manipulationStartCurveX=0,Ae.manipulationStartCurveY=0,Ae.setStrokeColor=Ae.setStrokeColor.bind(Ae),Ae.setStrokeWidth=Ae.setStrokeWidth.bind(Ae),Ae.setStrokeDasharray=Ae.setStrokeDasharray.bind(Ae),Ae.positionGrips=Ae.positionGrips.bind(Ae),Ae.addControlGrips=Ae.addControlGrips.bind(Ae),Ae.adjustVisual=Ae.adjustVisual.bind(Ae),Ae.setupControlBox=Ae.setupControlBox.bind(Ae),Ae.resize=Ae.resize.bind(Ae),Ae.strokeColor=je.defaultColor,Ae.strokeWidth=je.defaultStrokeWidth,Ae.strokeDasharray=je.defaultStrokeDasharray,Ae.strokePanel=new pe("Line color",je.defaultColorSet,je.defaultColor),Ae.strokePanel.onColorChanged=Ae.setStrokeColor,Ae.strokeWidthPanel=new be("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),Ae.strokeWidthPanel.onWidthChanged=Ae.setStrokeWidth,Ae.strokeStylePanel=new Fe("Line style",je.defaultStrokeDasharrays,je.defaultStrokeDasharray),Ae.strokeStylePanel.onStyleChanged=Ae.setStrokeDasharray,Ae}return $e(de,Ve),de.prototype.ownsTarget=function(Ce){return!(!Ve.prototype.ownsTarget.call(this,Ce)&&Ce!==this.visual&&Ce!==this.selectorCurve&&Ce!==this.visibleCurve&&!this.curveGrip.ownsTarget(Ce))},de.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},de.prototype.createVisual=function(){this.visual=ie.createGroup(),this.selectorCurve=ie.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=ie.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)},de.prototype.pointerDown=function(Ce,He){Ve.prototype.pointerDown.call(this,Ce,He),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=Ce.x,this.curveY=Ce.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(He)&&(this.activeGrip=this.curveGrip,this._state="resize")},de.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),ie.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),ie.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),ie.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},de.prototype.setupControlBox=function(){Ve.prototype.setupControlBox.call(this),this.curveControlLine1=ie.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=ie.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)},de.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Ve.prototype.addControlGrips.call(this)},de.prototype.positionGrips=function(){Ve.prototype.positionGrips.call(this);var Ce=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-Ce/2,this.curveY-Ce/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()))},de.prototype.manipulate=function(Ce){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+Ce.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+Ce.y-this.manipulationStartY),Ve.prototype.manipulate.call(this,Ce)},de.prototype.resize=function(Ce){this.activeGrip===this.curveGrip&&(this.curveX=Ce.x,this.curveY=Ce.y),Ve.prototype.resize.call(this,Ce),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},de.prototype.setStrokeColor=function(Ce){this.strokeColor=Ce,this.adjustVisual(),this.colorChanged(Ce)},de.prototype.setStrokeWidth=function(Ce){this.strokeWidth=Ce,this.adjustVisual()},de.prototype.setStrokeDasharray=function(Ce){this.strokeDasharray=Ce,this.adjustVisual()},de.prototype.scale=function(Ce,He){this.curveX=this.curveX*Ce,this.curveY=this.curveY*He,Ve.prototype.scale.call(this,Ce,He)},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var Ce=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Ve.prototype.getState.call(this));return Ce.typeName=de.typeName,Ce},de.prototype.restoreState=function(Ce){Ve.prototype.restoreState.call(this,Ce);var He=Ce;this.strokeColor=He.strokeColor,this.strokeWidth=He.strokeWidth,this.strokeDasharray=He.strokeDasharray,this.curveX=He.curveX,this.curveY=He.curveY,this.createVisual(),this.adjustVisual()},de.typeName="CurveMarker",de.title="Curve marker",de.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>',de}(Le),gt=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,He,je)||this;return Ae.fillColor="transparent",Ae.strokeColor="transparent",Ae.strokeWidth=0,Ae.strokeDasharray="",Ae.textColor="transparent",Ae.fontSize="1rem",Ae.isMoved=!1,Ae.captionText="Caption",Ae.PADDING=5,Ae.captionBoxWidth=0,Ae.captionBoxHeight=0,Ae.strokeColor=je.defaultColor,Ae.strokeWidth=je.defaultStrokeWidth,Ae.strokeDasharray=je.defaultStrokeDasharray,Ae.fillColor=je.defaultFillColor,Ae.textColor=je.defaultStrokeColor,Ae.fontFamily=je.defaultFontFamily,Ae.fontSize=je.defaultCaptionFontSize,Ae.captionText=je.defaultCaptionText,Ae.setStrokeColor=Ae.setStrokeColor.bind(Ae),Ae.setFillColor=Ae.setFillColor.bind(Ae),Ae.setStrokeWidth=Ae.setStrokeWidth.bind(Ae),Ae.setStrokeDasharray=Ae.setStrokeDasharray.bind(Ae),Ae.createVisual=Ae.createVisual.bind(Ae),Ae.sizeCaption=Ae.sizeCaption.bind(Ae),Ae.setCaptionText=Ae.setCaptionText.bind(Ae),Ae.showTextEditor=Ae.showTextEditor.bind(Ae),Ae.positionTextEditor=Ae.positionTextEditor.bind(Ae),Ae.finishTextEditing=Ae.finishTextEditing.bind(Ae),Ae.setFont=Ae.setFont.bind(Ae),Ae.setTextColor=Ae.setTextColor.bind(Ae),Ae.strokePanel=new pe("Line color",me(je.defaultColorSet,["transparent"]),Ae.strokeColor),Ae.strokePanel.onColorChanged=Ae.setStrokeColor,Ae.fillPanel=new pe("Fill color",me(je.defaultColorSet,["transparent"]),Ae.fillColor,Ge),Ae.fillPanel.onColorChanged=Ae.setFillColor,Ae.strokeWidthPanel=new be("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),Ae.strokeWidthPanel.onWidthChanged=Ae.setStrokeWidth,Ae.strokeStylePanel=new Fe("Line style",je.defaultStrokeDasharrays,je.defaultStrokeDasharray),Ae.strokeStylePanel.onStyleChanged=Ae.setStrokeDasharray,Ae.fontFamilyPanel=new Be("Font",je.defaultFontFamilies,je.defaultFontFamily),Ae.fontFamilyPanel.onFontChanged=Ae.setFont,Ae.textColorPanel=new pe("Text color",je.defaultColorSet,Ae.textColor,Xe),Ae.textColorPanel.onColorChanged=Ae.setTextColor,Ae}return $e(de,Ve),de.prototype.ownsTarget=function(Ce){return!(!Ve.prototype.ownsTarget.call(this,Ce)&&Ce!==this.visual&&Ce!==this.frame&&Ce!==this.captionBg&&Ce!==this.captionElement)},de.prototype.createVisual=function(){this.visual=ie.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=ie.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=ie.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=ie.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()},de.prototype.setCaptionText=function(Ce){this.captionText=Ce,this.captionElement.textContent=this.captionText,this.sizeCaption()},de.prototype.pointerDown=function(Ce,He){Ve.prototype.pointerDown.call(this,Ce,He),this.isMoved=!1,this.pointerDownPoint=Ce,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(Ce),this._state="creating")},de.prototype.manipulate=function(Ce){Ve.prototype.manipulate.call(this,Ce),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(Ce.x-this.pointerDownPoint.x)>5||Math.abs(Ce.y-this.pointerDownPoint.y)>5)},de.prototype.resize=function(Ce){Ve.prototype.resize.call(this,Ce),this.setSize()},de.prototype.sizeCaption=function(){var Ce=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=Ce.width+2*this.PADDING,this.captionBoxHeight=Ce.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),ie.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')"]]),ie.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')"]])},de.prototype.showTextEditor=function(){var Ce=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(He){He.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(He){He.key==="Enter"&&Ce.finishTextEditing(Ce.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(He){He.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){Ce.finishTextEditing(Ce.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){Ce.finishTextEditing(Ce.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},de.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"))},de.prototype.finishTextEditing=function(Ce){this.setCaptionText(Ce.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},de.prototype.setFont=function(Ce){this.captionElement&&ie.setAttributes(this.captionElement,[["font-family",Ce]]),this.fontFamily=Ce,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},de.prototype.setTextColor=function(Ce){this.captionElement&&ie.setAttributes(this.captionElement,[["fill",Ce]]),this.textColor=Ce,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},de.prototype.setSize=function(){Ve.prototype.setSize.call(this),ie.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},de.prototype.pointerUp=function(Ce){Ve.prototype.pointerUp.call(this,Ce),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},de.prototype.dblClick=function(Ce,He){Ve.prototype.dblClick.call(this,Ce,He),this.showTextEditor()},de.prototype.setStrokeColor=function(Ce){this.strokeColor=Ce,this.frame&&ie.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(Ce),this.stateChanged()},de.prototype.setFillColor=function(Ce){this.fillColor=Ce,this.captionBg&&ie.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(Ce),this.stateChanged()},de.prototype.setStrokeWidth=function(Ce){this.strokeWidth=Ce,this.frame&&ie.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},de.prototype.setStrokeDasharray=function(Ce){this.strokeDasharray=Ce,this.frame&&ie.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(de.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),de.prototype.getState=function(){var Ce=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},Ve.prototype.getState.call(this));return Ce.typeName=this.typeName,Ce},de.prototype.restoreState=function(Ce){var He=Ce;this.fillColor=He.fillColor,this.strokeColor=He.strokeColor,this.strokeWidth=He.strokeWidth,this.strokeDasharray=He.strokeDasharray,this.textColor=He.textColor,this.fontFamily=He.fontFamily,this.captionText=He.captionText,this.fontSize=He.fontSize,this.createVisual(),Ve.prototype.restoreState.call(this,Ce),this.setSize()},de.prototype.scale=function(Ce,He){Ve.prototype.scale.call(this,Ce,He),this.setSize()},de.typeName="CaptionFrameMarker",de.title="Caption frame marker",de.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>',de}(Me),vt=function(){function Ve(de,Ce){Ce===void 0&&(Ce=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=de,this.cancelable=Ce}return Object.defineProperty(Ve.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Ve.prototype.preventDefault=function(){this._defaultPrevented=!0},Ve}(),At=function(Ve){function de(Ce,He,je){var Ae=Ve.call(this,Ce,!1)||this;return Ae.dataUrl=He,Ae.state=je,Ae}return $e(de,Ve),de}(vt),Et=function(Ve){function de(Ce,He,je){je===void 0&&(je=!1);var Ae=Ve.call(this,Ce,je)||this;return Ae.marker=He,Ae}return $e(de,Ve),de}(vt),ut=function(){function Ve(){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 Ve.prototype.addEventListener=function(de,Ce){this[de].push(Ce)},Ve.prototype.removeEventListener=function(de,Ce){var He=this[de].indexOf(Ce);He>-1&&this[de].splice(He,1)},Ve}(),Ye=function(){function Ve(de){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Ie,this._isOpen=!1,this.undoRedoManager=new rt,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new ut,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Ve.instanceCounter++,this.styles=new oe(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=de,this.targetRoot=document.body,this.width=de.clientWidth,this.height=de.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(Ve.prototype,"ALL_MARKER_TYPES",{get:function(){return[ke,_e,Ze,Ue,nt,dt,pt,lt,st,et,De,it,gt]},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[ke,_e,Ze,Ue,dt,pt,lt]},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"BASIC_MARKER_TYPES",{get:function(){return[ke,_e,Ze,Ue,pt]},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(de){var Ce=this;this._availableMarkerTypes.splice(0),de.forEach(function(He){if(typeof He=="string"){var je=Ce.ALL_MARKER_TYPES.find(function(Ae){return Ae.typeName===He});je!==void 0&&Ce._availableMarkerTypes.push(je)}else Ce._availableMarkerTypes.push(He)})},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ve.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(de){this._zoomLevel=de,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(Ve.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Ve.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),te.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Ve.prototype.show=function(){var de=this;this.styles.styleSheetRoot===void 0&&ne.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=ne.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(Ce){return Ce(new vt(de))})},Ve.prototype.render=function(){return x(this,void 0,void 0,function(){var de;return Te(this,function(Ce){switch(Ce.label){case 0:return this.setCurrentMarker(),(de=new ae).naturalSize=this.renderAtNaturalSize,de.imageType=this.renderImageType,de.imageQuality=this.renderImageQuality,de.markersOnly=this.renderMarkersOnly,de.width=this.renderWidth,de.height=this.renderHeight,[4,de.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return Ce.sent(),[4,de.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,Ce.sent()]}})})},Ve.prototype.close=function(de){var Ce=this;if(de===void 0&&(de=!1),this.isOpen){var He=!1;de||this.eventListeners.beforeclose.forEach(function(je){var Ae=new vt(Ce,!0);je(Ae),Ae.defaultPrevented&&(He=!0)}),He||(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(je){return je(new vt(Ce))}),this.detachEvents(),this._isOpen=!1)}},Ve.prototype.addMarkersToToolbar=function(){for(var de,Ce=[],He=0;He<arguments.length;He++)Ce[He]=arguments[He];(de=this._availableMarkerTypes).push.apply(de,Ce)},Ve.prototype.addRenderEventListener=function(de){this.addEventListener("render",function(Ce){de(Ce.dataUrl,Ce.state)})},Ve.prototype.removeRenderEventListener=function(de){},Ve.prototype.addCloseEventListener=function(de){this.addEventListener("close",function(){de()})},Ve.prototype.removeCloseEventListener=function(de){},Ve.prototype.setupResizeObserver=function(){var de=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){de.resize(de.target.clientWidth,de.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return de.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},Ve.prototype.onPopupTargetResize=function(){var de=1*this.target.clientWidth/this.target.clientHeight,Ce=this.editorCanvas.clientWidth/de>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*de:this.editorCanvas.clientWidth,He=Ce<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/de;this.resize(Ce,He)},Ve.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},Ve.prototype.resize=function(de,Ce){this._isResizing=!0;var He=de/this.imageWidth,je=Ce/this.imageHeight;this.imageWidth=Math.round(de),this.imageHeight=Math.round(Ce),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(He,je),this._isResizing=!1},Ve.prototype.scaleMarkers=function(de,Ce){var He,je=this;this._currentMarker&&this._currentMarker instanceof Ue?this._currentMarker.scale(de,Ce):(He=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(Ae){Ae!==je._currentMarker&&Ae.scale(de,Ce)}),He!==void 0&&this.setCurrentMarker(He)},Ve.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"},Ve.prototype.setTopLeft=function(){var de=this.editingTarget.getBoundingClientRect(),Ce=this.editorCanvas.getBoundingClientRect();this.left=de.left-Ce.left,this.top=de.top-Ce.top},Ve.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)},Ve.prototype.addDefs=function(){for(var de,Ce=[],He=0;He<arguments.length;He++)Ce[He]=arguments[He];this.defs=ie.createDefs(),this.addDefsToImage(),(de=this.defs).append.apply(de,Ce)},Ve.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},Ve.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)},Ve.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},Ve.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},Ve.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)},Ve.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},Ve.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)},Ve.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 de=document.createElement("a");de.href="https://markerjs.com/",de.target="_blank",de.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>',de.title="Powered by marker.js",de.style.display="grid",de.style.alignItems="center",de.style.justifyItems="center",de.style.padding="3px",de.style.width="20px",de.style.height="20px",this.logoUI.appendChild(de),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Ve.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")},Ve.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"},Ve.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Ve.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 de=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=de+"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 se(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 ce(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},Ve.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},Ve.prototype.removeMarker=function(de){this.markerImage.removeChild(de.container),this.markers.indexOf(de)>-1&&this.markers.splice(this.markers.indexOf(de),1),de.dispose()},Ve.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())},Ve.prototype.toolbarButtonClicked=function(de,Ce){if(de==="marker"&&Ce!==void 0)this.createNewMarker(Ce);else if(de==="action")switch(Ce){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()}},Ve.prototype.deleteSelectedMarker=function(){var de=this;if(this._currentMarker!==void 0){var Ce=!1;if(this.eventListeners.markerbeforedelete.forEach(function(je){var Ae=new Et(de,de._currentMarker,!0);je(Ae),Ae.defaultPrevented&&(Ce=!0)}),!Ce){var He=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(je){return je(new Et(de,He))})}}},Ve.prototype.clear=function(){var de=this,Ce=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Re){var ze=new Et(de,void 0,!0);Re(ze),ze.defaultPrevented&&(Ce=!0)}),!Ce)){this.setCurrentMarker();for(var He=function(Re){var ze=je.markers[Re];je.setCurrentMarker(je.markers[Re]),je._currentMarker.dispose(),je.markerImage.removeChild(je._currentMarker.container),je.markers.splice(je.markers.indexOf(je._currentMarker),1),je.eventListeners.markerdelete.forEach(function(Qe){return Qe(new Et(de,ze))})},je=this,Ae=this.markers.length-1;Ae>=0;Ae--)He(Ae);this.addUndoStep()}},Object.defineProperty(Ve.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Ve.prototype.showNotesEditor=function(){var de;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=(de=this._currentMarker.notes)!==null&&de!==void 0?de:"",this.overlayContainer.appendChild(this.notesArea))},Ve.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)},Ve.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Ve.prototype.addUndoStep=function(){var de=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var Ce=this.getState(),He=this.undoRedoManager.getLastUndoStep();if(!He||He.width===Ce.width&&He.height===Ce.height){var je=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(Ce),je<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(Ae){return Ae(new vt(de))})}else this.undoRedoManager.replaceLastUndoStep(Ce),this.eventListeners.statechange.forEach(function(Ae){return Ae(new vt(de))})}},Ve.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},Ve.prototype.undoStep=function(){var de=this,Ce=this.undoRedoManager.undo();Ce!==void 0&&(this.restoreState(Ce),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(He){return He(new vt(de))}))},Ve.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},Ve.prototype.redoStep=function(){var de=this,Ce=this.undoRedoManager.redo();Ce!==void 0&&(this.restoreState(Ce),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(He){return He(new vt(de))}))},Ve.prototype.stepZoom=function(){var de=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=de<this.zoomSteps.length-1?this.zoomSteps[de+1]:this.zoomSteps[0]},Ve.prototype.panTo=function(de){this.contentDiv.scrollBy({left:this.prevPanPoint.x-de.x,top:this.prevPanPoint.y-de.y}),this.prevPanPoint=de},Ve.prototype.startRenderAndClose=function(){return x(this,void 0,void 0,function(){var de,Ce,He=this;return Te(this,function(je){switch(je.label){case 0:return[4,this.render()];case 1:return de=je.sent(),Ce=this.getState(),this.eventListeners.render.forEach(function(Ae){return Ae(new At(He,de,Ce))}),this.close(!0),[2]}})})},Ve.prototype.getState=function(de){de===!0&&this.setCurrentMarker();var Ce={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(He){return Ce.markers.push(He.getState())}),Ce},Ve.prototype.restoreState=function(de){var Ce=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);de.markers.forEach(function(He){var je=Ce._availableMarkerTypes.find(function(Re){return Re.typeName===He.typeName});if(je!==void 0){var Ae=Ce.addNewMarker(je);Ae.restoreState(He),Ce.markers.push(Ae)}}),de.width&&de.height&&(de.width!==this.imageWidth||de.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/de.width,this.imageHeight/de.height),this.eventListeners.restorestate.forEach(function(He){return He(new vt(Ce))})},Ve.prototype.addNewMarker=function(de){var Ce=ie.createGroup();return this.markerImage.appendChild(Ce),new de(Ce,this.overlayContainer,this.settings)},Ve.prototype.createNewMarker=function(de){var Ce,He=this;(Ce=typeof de=="string"?this._availableMarkerTypes.find(function(je){return je.typeName===de}):de)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(Ce),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(Ce.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(je){return je(new Et(He,He._currentMarker))}))},Ve.prototype.markerCreated=function(de){var Ce=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(de),this.setCurrentMarker(de),de instanceof _e&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(_e):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(He){return He(new Et(Ce,Ce._currentMarker))})},Ve.prototype.colorChanged=function(de){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=de,this.settings.defaultStrokeColor=de)},Ve.prototype.fillColorChanged=function(de){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=de)},Ve.prototype.markerStateChanged=function(de){var Ce=this;this.eventListeners.markerchange.forEach(function(He){return He(new Et(Ce,de))})},Ve.prototype.setCurrentMarker=function(de){var Ce=this;this._currentMarker!==de&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(He){return He(new Et(Ce,Ce._currentMarker))})),this._currentMarker=de,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(He){return He(new Et(Ce,Ce._currentMarker))}))},Ve.prototype.onPointerDown=function(de){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||de.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var Ce=this.markers.find(function(He){return He.ownsTarget(de.target)});Ce!==void 0?(this.setCurrentMarker(Ce),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(de.clientX,de.clientY),de.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:de.clientX,y:de.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(de.clientX,de.clientY))},Ve.prototype.onDblClick=function(de){if(this._isFocused||this.focus(),this.mode==="select"){var Ce=this.markers.find(function(He){return He.ownsTarget(de.target)});Ce!==void 0&&Ce!==this._currentMarker&&this.setCurrentMarker(Ce),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(de.clientX,de.clientY),de.target):this.setCurrentMarker()}},Ve.prototype.onPointerMove=function(de){this.touchPoints!==1&&de.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||de.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(de.clientX,de.clientY)):this.zoomLevel>1&&this.panTo({x:de.clientX,y:de.clientY}))},Ve.prototype.onPointerUp=function(de){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(de.clientX,de.clientY)),this.isDragging=!1,this.addUndoStep()},Ve.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Ve.prototype.onKeyUp=function(de){this._currentMarker===void 0||this.notesArea!==void 0||de.key!=="Delete"&&de.key!=="Backspace"||this.deleteSelectedMarker()},Ve.prototype.clientToLocalCoordinates=function(de,Ce){var He=this.markerImage.getBoundingClientRect();return{x:(de-He.left)/this.zoomLevel,y:(Ce-He.top)/this.zoomLevel}},Ve.prototype.onWindowResize=function(){this.positionUI()},Ve.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var de=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=de+"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()},Ve.prototype.addLicenseKey=function(de){te.addKey(de)},Ve.prototype.addEventListener=function(de,Ce){this.eventListeners.addEventListener(de,Ce)},Ve.prototype.removeEventListener=function(de,Ce){this.eventListeners.removeEventListener(de,Ce)},Ve.prototype.renderState=function(de){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(de),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Ve.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Ve.prototype.focus=function(){var de=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(Ce){return Ce(new vt(de))}))},Ve.prototype.blur=function(){var de=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(Ce){return Ce(new vt(de))}))},Ve.instanceCounter=0,Ve}()},42767:function(tn,Kt){"use strict";var ve;var Oe=typeof Symbol=="function"&&Symbol.for,$e=Oe?Symbol.for("react.element"):60103,x=Oe?Symbol.for("react.portal"):60106,Te=Oe?Symbol.for("react.fragment"):60107,me=Oe?Symbol.for("react.strict_mode"):60108,ie=Oe?Symbol.for("react.profiler"):60114,te=Oe?Symbol.for("react.provider"):60109,ae=Oe?Symbol.for("react.context"):60110,ne=Oe?Symbol.for("react.async_mode"):60111,oe=Oe?Symbol.for("react.concurrent_mode"):60111,he=Oe?Symbol.for("react.forward_ref"):60112,re=Oe?Symbol.for("react.suspense"):60113,se=Oe?Symbol.for("react.suspense_list"):60120,ce=Oe?Symbol.for("react.memo"):60115,fe=Oe?Symbol.for("react.lazy"):60116,pe=Oe?Symbol.for("react.block"):60121,le=Oe?Symbol.for("react.fundamental"):60117,Se=Oe?Symbol.for("react.responder"):60118,xe=Oe?Symbol.for("react.scope"):60119;function ge(ye){if(typeof ye=="object"&&ye!==null){var be=ye.$$typeof;switch(be){case $e:switch(ye=ye.type,ye){case ne:case oe:case Te:case ie:case me:case re:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case ae:case he:case fe:case ce:case te:return ye;default:return be}}case x:return be}}}function Me(ye){return ge(ye)===oe}ve=ne,ve=oe,ve=ae,ve=te,ve=$e,ve=he,ve=Te,ve=fe,ve=ce,ve=x,ve=ie,ve=me,ve=re,ve=function(ye){return Me(ye)||ge(ye)===ne},ve=Me,ve=function(ye){return ge(ye)===ae},ve=function(ye){return ge(ye)===te},ve=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===$e},ve=function(ye){return ge(ye)===he},Kt.isFragment=function(ye){return ge(ye)===Te},ve=function(ye){return ge(ye)===fe},ve=function(ye){return ge(ye)===ce},ve=function(ye){return ge(ye)===x},ve=function(ye){return ge(ye)===ie},ve=function(ye){return ge(ye)===me},ve=function(ye){return ge(ye)===re},ve=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===Te||ye===oe||ye===ie||ye===me||ye===re||ye===se||typeof ye=="object"&&ye!==null&&(ye.$$typeof===fe||ye.$$typeof===ce||ye.$$typeof===te||ye.$$typeof===ae||ye.$$typeof===he||ye.$$typeof===le||ye.$$typeof===Se||ye.$$typeof===xe||ye.$$typeof===pe)},ve=ge},16357:function(tn,Kt,ve){"use strict";tn.exports=ve(42767)},95860:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return ge}});var Oe=ve(87462),$e=ve(1413),x=ve(4942),Te=ve(97685),me=ve(45987),ie=ve(94184),te=ve.n(ie),ae=ve(67294);function ne(Me){var ye=ae.useRef();ye.current=Me;var be=ae.useCallback(function(){for(var Fe,ke=arguments.length,Ie=new Array(ke),Le=0;Le<ke;Le++)Ie[Le]=arguments[Le];return(Fe=ye.current)===null||Fe===void 0?void 0:Fe.call.apply(Fe,[ye].concat(Ie))},[]);return be}function oe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var he=oe()?ae.useLayoutEffect:ae.useEffect,re=function(ye,be){var Fe=ae.useRef(!0);he(function(){return ye(Fe.current)},be),he(function(){return Fe.current=!1,function(){Fe.current=!0}},[])},se=function(ye,be){re(function(Fe){if(!Fe)return ye()},be)},ce=null;function fe(Me){var ye=ae.useRef(!1),be=ae.useState(Me),Fe=(0,Te.Z)(be,2),ke=Fe[0],Ie=Fe[1];ae.useEffect(function(){return ye.current=!1,function(){ye.current=!0}},[]);function Le(De,Be){Be&&ye.current||Ie(De)}return[ke,Le]}function pe(Me){return Me!==void 0}function le(Me,ye){var be=ye||{},Fe=be.defaultValue,ke=be.value,Ie=be.onChange,Le=be.postState,De=fe(function(){return pe(ke)?ke:pe(Fe)?typeof Fe=="function"?Fe():Fe:typeof Me=="function"?Me():Me}),Be=(0,Te.Z)(De,2),Ue=Be[0],_e=Be[1],We=ke!==void 0?ke:Ue,Ze=Le?Le(We):We,et=ne(Ie),at=fe([We]),pt=(0,Te.Z)(at,2),Xe=pt[0],Ge=pt[1];se(function(){var dt=Xe[0];Ue!==dt&&et(Ue,dt)},[Xe]),se(function(){pe(ke)||_e(ke)},[ke]);var lt=ne(function(dt,st){_e(dt,st),Ge([We],st)});return[Ze,lt]}var Se=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],xe=(0,ae.forwardRef)(function(Me,ye){var be,Fe=Me.prefixCls,ke=Fe===void 0?"rc-checkbox":Fe,Ie=Me.className,Le=Me.style,De=Me.checked,Be=Me.disabled,Ue=Me.defaultChecked,_e=Ue===void 0?!1:Ue,We=Me.type,Ze=We===void 0?"checkbox":We,et=Me.title,at=Me.onChange,pt=(0,me.Z)(Me,Se),Xe=(0,ae.useRef)(null),Ge=le(_e,{value:De}),lt=(0,Te.Z)(Ge,2),dt=lt[0],st=lt[1];(0,ae.useImperativeHandle)(ye,function(){return{focus:function(){var gt;(gt=Xe.current)===null||gt===void 0||gt.focus()},blur:function(){var gt;(gt=Xe.current)===null||gt===void 0||gt.blur()},input:Xe.current}});var nt=te()(ke,Ie,(be={},(0,x.Z)(be,"".concat(ke,"-checked"),dt),(0,x.Z)(be,"".concat(ke,"-disabled"),Be),be)),rt=function(gt){Be||("checked"in Me||st(gt.target.checked),at==null||at({target:(0,$e.Z)((0,$e.Z)({},Me),{},{type:Ze,checked:gt.target.checked}),stopPropagation:function(){gt.stopPropagation()},preventDefault:function(){gt.preventDefault()},nativeEvent:gt.nativeEvent}))};return ae.createElement("span",{className:nt,title:et,style:Le},ae.createElement("input",(0,Oe.Z)({},pt,{className:"".concat(ke,"-input"),ref:Xe,onChange:rt,disabled:Be,checked:!!dt,type:Ze})),ae.createElement("span",{className:"".concat(ke,"-inner")}))}),ge=xe},26819:function(tn,Kt){"use strict";var ve;var Oe=typeof Symbol=="function"&&Symbol.for,$e=Oe?Symbol.for("react.element"):60103,x=Oe?Symbol.for("react.portal"):60106,Te=Oe?Symbol.for("react.fragment"):60107,me=Oe?Symbol.for("react.strict_mode"):60108,ie=Oe?Symbol.for("react.profiler"):60114,te=Oe?Symbol.for("react.provider"):60109,ae=Oe?Symbol.for("react.context"):60110,ne=Oe?Symbol.for("react.async_mode"):60111,oe=Oe?Symbol.for("react.concurrent_mode"):60111,he=Oe?Symbol.for("react.forward_ref"):60112,re=Oe?Symbol.for("react.suspense"):60113,se=Oe?Symbol.for("react.suspense_list"):60120,ce=Oe?Symbol.for("react.memo"):60115,fe=Oe?Symbol.for("react.lazy"):60116,pe=Oe?Symbol.for("react.block"):60121,le=Oe?Symbol.for("react.fundamental"):60117,Se=Oe?Symbol.for("react.responder"):60118,xe=Oe?Symbol.for("react.scope"):60119;function ge(ye){if(typeof ye=="object"&&ye!==null){var be=ye.$$typeof;switch(be){case $e:switch(ye=ye.type,ye){case ne:case oe:case Te:case ie:case me:case re:return ye;default:switch(ye=ye&&ye.$$typeof,ye){case ae:case he:case fe:case ce:case te:return ye;default:return be}}case x:return be}}}function Me(ye){return ge(ye)===oe}ve=ne,ve=oe,ve=ae,ve=te,ve=$e,ve=he,ve=Te,ve=fe,ve=ce,ve=x,ve=ie,ve=me,ve=re,ve=function(ye){return Me(ye)||ge(ye)===ne},ve=Me,ve=function(ye){return ge(ye)===ae},ve=function(ye){return ge(ye)===te},ve=function(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===$e},ve=function(ye){return ge(ye)===he},ve=function(ye){return ge(ye)===Te},ve=function(ye){return ge(ye)===fe},Kt.isMemo=function(ye){return ge(ye)===ce},ve=function(ye){return ge(ye)===x},ve=function(ye){return ge(ye)===ie},ve=function(ye){return ge(ye)===me},ve=function(ye){return ge(ye)===re},ve=function(ye){return typeof ye=="string"||typeof ye=="function"||ye===Te||ye===oe||ye===ie||ye===me||ye===re||ye===se||typeof ye=="object"&&ye!==null&&(ye.$$typeof===fe||ye.$$typeof===ce||ye.$$typeof===te||ye.$$typeof===ae||ye.$$typeof===he||ye.$$typeof===le||ye.$$typeof===Se||ye.$$typeof===xe||ye.$$typeof===pe)},ve=ge},18459:function(tn,Kt,ve){"use strict";tn.exports=ve(26819)},16651:function(tn,Kt){"use strict";var ve;var Oe=Symbol.for("react.element"),$e=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),Te=Symbol.for("react.strict_mode"),me=Symbol.for("react.profiler"),ie=Symbol.for("react.provider"),te=Symbol.for("react.context"),ae=Symbol.for("react.server_context"),ne=Symbol.for("react.forward_ref"),oe=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),re=Symbol.for("react.memo"),se=Symbol.for("react.lazy"),ce=Symbol.for("react.offscreen"),fe;fe=Symbol.for("react.module.reference");function pe(le){if(typeof le=="object"&&le!==null){var Se=le.$$typeof;switch(Se){case Oe:switch(le=le.type,le){case x:case me:case Te:case oe:case he:return le;default:switch(le=le&&le.$$typeof,le){case ae:case te:case ne:case se:case re:case ie:return le;default:return Se}}case $e:return Se}}}ve=te,ve=ie,ve=Oe,ve=ne,ve=x,ve=se,ve=re,ve=$e,ve=me,ve=Te,ve=oe,ve=he,ve=function(){return!1},ve=function(){return!1},ve=function(le){return pe(le)===te},ve=function(le){return pe(le)===ie},ve=function(le){return typeof le=="object"&&le!==null&&le.$$typeof===Oe},ve=function(le){return pe(le)===ne},ve=function(le){return pe(le)===x},ve=function(le){return pe(le)===se},ve=function(le){return pe(le)===re},ve=function(le){return pe(le)===$e},ve=function(le){return pe(le)===me},ve=function(le){return pe(le)===Te},ve=function(le){return pe(le)===oe},ve=function(le){return pe(le)===he},ve=function(le){return typeof le=="string"||typeof le=="function"||le===x||le===me||le===Te||le===oe||le===he||le===ce||typeof le=="object"&&le!==null&&(le.$$typeof===se||le.$$typeof===re||le.$$typeof===ie||le.$$typeof===te||le.$$typeof===ne||le.$$typeof===fe||le.getModuleId!==void 0)},ve=pe},33993:function(tn,Kt,ve){"use strict";ve(16651)},82523:function(tn,Kt){"use strict";var ve;var Oe=Symbol.for("react.element"),$e=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),Te=Symbol.for("react.strict_mode"),me=Symbol.for("react.profiler"),ie=Symbol.for("react.provider"),te=Symbol.for("react.context"),ae=Symbol.for("react.server_context"),ne=Symbol.for("react.forward_ref"),oe=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),re=Symbol.for("react.memo"),se=Symbol.for("react.lazy"),ce=Symbol.for("react.offscreen"),fe;fe=Symbol.for("react.module.reference");function pe(le){if(typeof le=="object"&&le!==null){var Se=le.$$typeof;switch(Se){case Oe:switch(le=le.type,le){case x:case me:case Te:case oe:case he:return le;default:switch(le=le&&le.$$typeof,le){case ae:case te:case ne:case se:case re:case ie:return le;default:return Se}}case $e:return Se}}}ve=te,ve=ie,ve=Oe,ve=ne,ve=x,ve=se,ve=re,ve=$e,ve=me,ve=Te,ve=oe,ve=he,ve=function(){return!1},ve=function(){return!1},ve=function(le){return pe(le)===te},ve=function(le){return pe(le)===ie},ve=function(le){return typeof le=="object"&&le!==null&&le.$$typeof===Oe},ve=function(le){return pe(le)===ne},ve=function(le){return pe(le)===x},ve=function(le){return pe(le)===se},ve=function(le){return pe(le)===re},ve=function(le){return pe(le)===$e},ve=function(le){return pe(le)===me},ve=function(le){return pe(le)===Te},ve=function(le){return pe(le)===oe},ve=function(le){return pe(le)===he},ve=function(le){return typeof le=="string"||typeof le=="function"||le===x||le===me||le===Te||le===oe||le===he||le===ce||typeof le=="object"&&le!==null&&(le.$$typeof===se||le.$$typeof===re||le.$$typeof===ie||le.$$typeof===te||le.$$typeof===ne||le.$$typeof===fe||le.getModuleId!==void 0)},ve=pe},27183:function(tn,Kt,ve){"use strict";ve(82523)},67656:function(tn,Kt,ve){"use strict";ve.r(Kt),ve.d(Kt,{BaseInput:function(){return oe},default:function(){return xe}});var Oe=ve(87462),$e=ve(1413),x=ve(4942),Te=ve(71002),me=ve(94184),ie=ve.n(me),te=ve(67294),ae=ve(87887),ne=function(Me){var ye,be,Fe=Me.inputElement,ke=Me.prefixCls,Ie=Me.prefix,Le=Me.suffix,De=Me.addonBefore,Be=Me.addonAfter,Ue=Me.className,_e=Me.style,We=Me.disabled,Ze=Me.readOnly,et=Me.focused,at=Me.triggerFocus,pt=Me.allowClear,Xe=Me.value,Ge=Me.handleReset,lt=Me.hidden,dt=Me.classes,st=Me.classNames,nt=Me.dataAttrs,rt=Me.styles,it=Me.components,gt=(it==null?void 0:it.affixWrapper)||"span",vt=(it==null?void 0:it.groupWrapper)||"span",At=(it==null?void 0:it.wrapper)||"span",Et=(it==null?void 0:it.groupAddon)||"span",ut=(0,te.useRef)(null),Ye=function(Ot){var xt;(xt=ut.current)!==null&&xt!==void 0&&xt.contains(Ot.target)&&(at==null||at())},Ve=function(){var Ot;if(!pt)return null;var xt=!We&&!Ze&&Xe,Wt="".concat(ke,"-clear-icon"),bn=(0,Te.Z)(pt)==="object"&&pt!==null&&pt!==void 0&&pt.clearIcon?pt.clearIcon:"\u2716";return te.createElement("span",{onClick:Ge,onMouseDown:function(Qt){return Qt.preventDefault()},className:ie()(Wt,(Ot={},(0,x.Z)(Ot,"".concat(Wt,"-hidden"),!xt),(0,x.Z)(Ot,"".concat(Wt,"-has-suffix"),!!Le),Ot)),role:"button",tabIndex:-1},bn)},de=(0,te.cloneElement)(Fe,{value:Xe,hidden:lt,className:ie()((ye=Fe.props)===null||ye===void 0?void 0:ye.className,!(0,ae.X3)(Me)&&!(0,ae.He)(Me)&&Ue)||null,style:(0,$e.Z)((0,$e.Z)({},(be=Fe.props)===null||be===void 0?void 0:be.style),!(0,ae.X3)(Me)&&!(0,ae.He)(Me)?_e:{})});if((0,ae.X3)(Me)){var Ce,He="".concat(ke,"-affix-wrapper"),je=ie()(He,(Ce={},(0,x.Z)(Ce,"".concat(He,"-disabled"),We),(0,x.Z)(Ce,"".concat(He,"-focused"),et),(0,x.Z)(Ce,"".concat(He,"-readonly"),Ze),(0,x.Z)(Ce,"".concat(He,"-input-with-clear-btn"),Le&&pt&&Xe),Ce),!(0,ae.He)(Me)&&Ue,dt==null?void 0:dt.affixWrapper,st==null?void 0:st.affixWrapper),Ae=(Le||pt)&&te.createElement("span",{className:ie()("".concat(ke,"-suffix"),st==null?void 0:st.suffix),style:rt==null?void 0:rt.suffix},Ve(),Le);de=te.createElement(gt,(0,Oe.Z)({className:je,style:(0,$e.Z)((0,$e.Z)({},(0,ae.He)(Me)?void 0:_e),rt==null?void 0:rt.affixWrapper),hidden:!(0,ae.He)(Me)&&lt,onClick:Ye},nt==null?void 0:nt.affixWrapper,{ref:ut}),Ie&&te.createElement("span",{className:ie()("".concat(ke,"-prefix"),st==null?void 0:st.prefix),style:rt==null?void 0:rt.prefix},Ie),(0,te.cloneElement)(Fe,{value:Xe,hidden:null}),Ae)}if((0,ae.He)(Me)){var Re="".concat(ke,"-group"),ze="".concat(Re,"-addon"),Qe=ie()("".concat(ke,"-wrapper"),Re,dt==null?void 0:dt.wrapper),ot=ie()("".concat(ke,"-group-wrapper"),Ue,dt==null?void 0:dt.group);return te.createElement(vt,{className:ot,style:_e,hidden:lt},te.createElement(At,{className:Qe},De&&te.createElement(Et,{className:ze},De),(0,te.cloneElement)(de,{hidden:null}),Be&&te.createElement(Et,{className:ze},Be)))}return de},oe=ne,he=ve(74902),re=ve(97685),se=ve(45987),ce=ve(21770),fe=ve(98423),pe=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],le=(0,te.forwardRef)(function(ge,Me){var ye=ge.autoComplete,be=ge.onChange,Fe=ge.onFocus,ke=ge.onBlur,Ie=ge.onPressEnter,Le=ge.onKeyDown,De=ge.prefixCls,Be=De===void 0?"rc-input":De,Ue=ge.disabled,_e=ge.htmlSize,We=ge.className,Ze=ge.maxLength,et=ge.suffix,at=ge.showCount,pt=ge.type,Xe=pt===void 0?"text":pt,Ge=ge.classes,lt=ge.classNames,dt=ge.styles,st=(0,se.Z)(ge,pe),nt=(0,ce.Z)(ge.defaultValue,{value:ge.value}),rt=(0,re.Z)(nt,2),it=rt[0],gt=rt[1],vt=(0,te.useState)(!1),At=(0,re.Z)(vt,2),Et=At[0],ut=At[1],Ye=(0,te.useRef)(null),Ve=function(ot){Ye.current&&(0,ae.nH)(Ye.current,ot)};(0,te.useImperativeHandle)(Me,function(){return{focus:Ve,blur:function(){var ot;(ot=Ye.current)===null||ot===void 0||ot.blur()},setSelectionRange:function(ot,mt,Ot){var xt;(xt=Ye.current)===null||xt===void 0||xt.setSelectionRange(ot,mt,Ot)},select:function(){var ot;(ot=Ye.current)===null||ot===void 0||ot.select()},input:Ye.current}}),(0,te.useEffect)(function(){ut(function(Qe){return Qe&&Ue?!1:Qe})},[Ue]);var de=function(ot){ge.value===void 0&&gt(ot.target.value),Ye.current&&(0,ae.rJ)(Ye.current,ot,be)},Ce=function(ot){Ie&&ot.key==="Enter"&&Ie(ot),Le==null||Le(ot)},He=function(ot){ut(!0),Fe==null||Fe(ot)},je=function(ot){ut(!1),ke==null||ke(ot)},Ae=function(ot){gt(""),Ve(),Ye.current&&(0,ae.rJ)(Ye.current,ot,be)},Re=function(){var ot=(0,fe.Z)(ge,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return te.createElement("input",(0,Oe.Z)({autoComplete:ye},ot,{onChange:de,onFocus:He,onBlur:je,onKeyDown:Ce,className:ie()(Be,(0,x.Z)({},"".concat(Be,"-disabled"),Ue),lt==null?void 0:lt.input),style:dt==null?void 0:dt.input,ref:Ye,size:_e,type:Xe}))},ze=function(){var ot=Number(Ze)>0;if(et||at){var mt=(0,ae.D7)(it),Ot=(0,he.Z)(mt).length,xt=(0,Te.Z)(at)==="object"?at.formatter({value:mt,count:Ot,maxLength:Ze}):"".concat(Ot).concat(ot?" / ".concat(Ze):"");return te.createElement(te.Fragment,null,!!at&&te.createElement("span",{className:ie()("".concat(Be,"-show-count-suffix"),(0,x.Z)({},"".concat(Be,"-show-count-has-suffix"),!!et),lt==null?void 0:lt.count),style:(0,$e.Z)({},dt==null?void 0:dt.count)},xt),et)}return null};return te.createElement(oe,(0,Oe.Z)({},st,{prefixCls:Be,className:We,inputElement:Re(),handleReset:Ae,value:(0,ae.D7)(it),focused:Et,triggerFocus:Ve,suffix:ze(),disabled:Ue,classes:Ge,classNames:lt,styles:dt}))}),Se=le,xe=Se},87887:function(tn,Kt,ve){"use strict";ve.d(Kt,{D7:function(){return me},He:function(){return Oe},X3:function(){return $e},nH:function(){return Te},rJ:function(){return x}});function Oe(ie){return!!(ie.addonBefore||ie.addonAfter)}function $e(ie){return!!(ie.prefix||ie.suffix||ie.allowClear)}function x(ie,te,ae,ne){if(ae){var oe=te;if(te.type==="click"){var he=ie.cloneNode(!0);oe=Object.create(te,{target:{value:he},currentTarget:{value:he}}),he.value="",ae(oe);return}if(ne!==void 0){oe=Object.create(te,{target:{value:ie},currentTarget:{value:ie}}),ie.value=ne,ae(oe);return}ae(oe)}}function Te(ie,te){if(ie){ie.focus(te);var ae=te||{},ne=ae.cursor;if(ne){var oe=ie.value.length;switch(ne){case"start":ie.setSelectionRange(0,0);break;case"end":ie.setSelectionRange(oe,oe);break;default:ie.setSelectionRange(0,oe)}}}}function me(ie){return typeof ie=="undefined"||ie===null?"":String(ie)}},78595:function(tn,Kt,ve){"use strict";ve.d(Kt,{iz:function(){return Li},ck:function(){return Vr},BW:function(){return pi},sN:function(){return Vr},Wd:function(){return jn},ZP:function(){return yt},Xl:function(){return xt}});var Oe=ve(87462),$e=ve(4942),x=ve(1413),Te=ve(74902),me=ve(97685),ie=ve(45987),te=ve(94184),ae=ve.n(te),ne=ve(67294),oe=ve(48555);function he(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var re=he()?ne.useLayoutEffect:ne.useEffect,se=function(Dt,Tt){var Nt=ne.useRef(!0);re(function(){return Dt(Nt.current)},Tt),re(function(){return Nt.current=!1,function(){Nt.current=!0}},[])},ce=function(Dt,Tt){se(function(Nt){if(!Nt)return Dt()},Tt)},fe=se,pe=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],le=void 0;function Se(St,Dt){var Tt=St.prefixCls,Nt=St.invalidate,_t=St.item,rn=St.renderItem,vn=St.responsive,Vn=St.responsiveDisabled,$n=St.registerSize,Xn=St.itemKey,On=St.className,In=St.style,En=St.children,Hn=St.display,mr=St.order,Qn=St.component,or=Qn===void 0?"div":Qn,ur=(0,ie.Z)(St,pe),yr=vn&&!Hn;function Sr(wn){$n(Xn,wn)}ne.useEffect(function(){return function(){Sr(null)}},[]);var kt=rn&&_t!==le?rn(_t):En,It;Nt||(It={opacity:yr?0:1,height:yr?0:le,overflowY:yr?"hidden":le,order:vn?mr:le,pointerEvents:yr?"none":le,position:yr?"absolute":le});var en={};yr&&(en["aria-hidden"]=!0);var Xt=ne.createElement(or,(0,Oe.Z)({className:ae()(!Nt&&Tt,On),style:(0,x.Z)((0,x.Z)({},It),In)},en,ur,{ref:Dt}),kt);return vn&&(Xt=ne.createElement(oe.Z,{onResize:function(zn){var _n=zn.offsetWidth;Sr(_n)},disabled:Vn},Xt)),Xt}var xe=ne.forwardRef(Se);xe.displayName="Item";var ge=xe;function Me(St){var Dt=ne.useRef();Dt.current=St;var Tt=ne.useCallback(function(){for(var Nt,_t=arguments.length,rn=new Array(_t),vn=0;vn<_t;vn++)rn[vn]=arguments[vn];return(Nt=Dt.current)===null||Nt===void 0?void 0:Nt.call.apply(Nt,[Dt].concat(rn))},[]);return Tt}var ye=ve(73935),be=function(Dt){return+setTimeout(Dt,16)},Fe=function(Dt){return clearTimeout(Dt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(be=function(Dt){return window.requestAnimationFrame(Dt)},Fe=function(Dt){return window.cancelAnimationFrame(Dt)});var ke=0,Ie=new Map;function Le(St){Ie.delete(St)}var De=function(Dt){var Tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ke+=1;var Nt=ke;function _t(rn){if(rn===0)Le(Nt),Dt();else{var vn=be(function(){_t(rn-1)});Ie.set(Nt,vn)}}return _t(Tt),Nt};De.cancel=function(St){var Dt=Ie.get(St);return Le(Dt),Fe(Dt)};var Be=De;function Ue(St){if(typeof MessageChannel=="undefined")Be(St);else{var Dt=new MessageChannel;Dt.port1.onmessage=function(){return St()},Dt.port2.postMessage(void 0)}}function _e(){var St=ne.useRef(null),Dt=function(Nt){St.current||(St.current=[],Ue(function(){(0,ye.unstable_batchedUpdates)(function(){St.current.forEach(function(_t){_t()}),St.current=null})})),St.current.push(Nt)};return Dt}function We(St,Dt){var Tt=ne.useState(Dt),Nt=(0,me.Z)(Tt,2),_t=Nt[0],rn=Nt[1],vn=Me(function(Vn){St(function(){rn(Vn)})});return[_t,vn]}var Ze=ne.createContext(null),et=["component"],at=["className"],pt=["className"],Xe=function(Dt,Tt){var Nt=ne.useContext(Ze);if(!Nt){var _t=Dt.component,rn=_t===void 0?"div":_t,vn=(0,ie.Z)(Dt,et);return ne.createElement(rn,(0,Oe.Z)({},vn,{ref:Tt}))}var Vn=Nt.className,$n=(0,ie.Z)(Nt,at),Xn=Dt.className,On=(0,ie.Z)(Dt,pt);return ne.createElement(Ze.Provider,{value:null},ne.createElement(ge,(0,Oe.Z)({ref:Tt,className:ae()(Vn,Xn)},$n,On)))},Ge=ne.forwardRef(Xe);Ge.displayName="RawItem";var lt=Ge,dt=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],st="responsive",nt="invalidate";function rt(St){return"+ ".concat(St.length," ...")}function it(St,Dt){var Tt=St.prefixCls,Nt=Tt===void 0?"rc-overflow":Tt,_t=St.data,rn=_t===void 0?[]:_t,vn=St.renderItem,Vn=St.renderRawItem,$n=St.itemKey,Xn=St.itemWidth,On=Xn===void 0?10:Xn,In=St.ssr,En=St.style,Hn=St.className,mr=St.maxCount,Qn=St.renderRest,or=St.renderRawRest,ur=St.suffix,yr=St.component,Sr=yr===void 0?"div":yr,kt=St.itemComponent,It=St.onVisibleChange,en=(0,ie.Z)(St,dt),Xt=In==="full",wn=_e(),zn=We(wn,null),_n=(0,me.Z)(zn,2),dr=_n[0],Zt=_n[1],Ht=dr||0,Yt=We(wn,new Map),Cn=(0,me.Z)(Yt,2),sr=Cn[0],Wn=Cn[1],Dn=We(wn,0),kr=(0,me.Z)(Dn,2),Er=kr[0],Rr=kr[1],br=We(wn,0),tr=(0,me.Z)(br,2),Nr=tr[0],Qr=tr[1],_r=We(wn,0),Fr=(0,me.Z)(_r,2),jr=Fr[0],Pi=Fr[1],di=(0,ne.useState)(null),Ai=(0,me.Z)(di,2),Ti=Ai[0],Hi=Ai[1],Oi=(0,ne.useState)(null),ua=(0,me.Z)(Oi,2),Ni=ua[0],mi=ua[1],ea=ne.useMemo(function(){return Ni===null&&Xt?Number.MAX_SAFE_INTEGER:Ni||0},[Ni,dr]),da=(0,ne.useState)(!1),Si=(0,me.Z)(da,2),$a=Si[0],io=Si[1],Za="".concat(Nt,"-item"),Ea=Math.max(Er,Nr),Yi=mr===st,xo=rn.length&&Yi,Da=mr===nt,Fi=xo||typeof mr=="number"&&rn.length>mr,Ba=(0,ne.useMemo)(function(){var La=rn;return xo?dr===null&&Xt?La=rn:La=rn.slice(0,Math.min(rn.length,Ht/On)):typeof mr=="number"&&(La=rn.slice(0,mr)),La},[rn,On,dr,mr,xo]),lo=(0,ne.useMemo)(function(){return xo?rn.slice(ea+1):rn.slice(Ba.length)},[rn,Ba,xo,ea]),za=(0,ne.useCallback)(function(La,Ha){var uo;return typeof $n=="function"?$n(La):(uo=$n&&(La==null?void 0:La[$n]))!==null&&uo!==void 0?uo:Ha},[$n]),ao=(0,ne.useCallback)(vn||function(La){return La},[vn]);function pa(La,Ha,uo){Ni===La&&(Ha===void 0||Ha===Ti)||(mi(La),uo||(io(La<rn.length-1),It==null||It(La)),Ha!==void 0&&Hi(Ha))}function po(La,Ha){Zt(Ha.clientWidth)}function mo(La,Ha){Wn(function(uo){var bo=new Map(uo);return Ha===null?bo.delete(La):bo.set(La,Ha),bo})}function fo(La,Ha){Qr(Ha),Rr(Nr)}function vo(La,Ha){Pi(Ha)}function Mo(La){return sr.get(za(Ba[La],La))}fe(function(){if(Ht&&typeof Ea=="number"&&Ba){var La=jr,Ha=Ba.length,uo=Ha-1;if(!Ha){pa(0,null);return}for(var bo=0;bo<Ha;bo+=1){var Fo=Mo(bo);if(Xt&&(Fo=Fo||0),Fo===void 0){pa(bo-1,void 0,!0);break}if(La+=Fo,uo===0&&La<=Ht||bo===uo-1&&La+Mo(uo)<=Ht){pa(uo,null);break}else if(La+Ea>Ht){pa(bo-1,La-Fo-jr+Nr);break}}ur&&Mo(0)+jr>Ht&&Hi(null)}},[Ht,sr,Nr,jr,za,Ba]);var Ho=$a&&!!lo.length,ho={};Ti!==null&&xo&&(ho={position:"absolute",left:Ti,top:0});var ko={prefixCls:Za,responsive:xo,component:kt,invalidate:Da},$o=Vn?function(La,Ha){var uo=za(La,Ha);return ne.createElement(Ze.Provider,{key:uo,value:(0,x.Z)((0,x.Z)({},ko),{},{order:Ha,item:La,itemKey:uo,registerSize:mo,display:Ha<=ea})},Vn(La,Ha))}:function(La,Ha){var uo=za(La,Ha);return ne.createElement(ge,(0,Oe.Z)({},ko,{order:Ha,key:uo,item:La,renderItem:ao,itemKey:uo,registerSize:mo,display:Ha<=ea}))},Yo,as={order:Ho?ea:Number.MAX_SAFE_INTEGER,className:"".concat(Za,"-rest"),registerSize:fo,display:Ho};if(or)or&&(Yo=ne.createElement(Ze.Provider,{value:(0,x.Z)((0,x.Z)({},ko),as)},or(lo)));else{var Bo=Qn||rt;Yo=ne.createElement(ge,(0,Oe.Z)({},ko,as),typeof Bo=="function"?Bo(lo):Bo)}var wo=ne.createElement(Sr,(0,Oe.Z)({className:ae()(!Da&&Nt,Hn),style:En,ref:Dt},en),Ba.map($o),Fi?Yo:null,ur&&ne.createElement(ge,(0,Oe.Z)({},ko,{responsive:Yi,responsiveDisabled:!xo,order:ea,className:"".concat(Za,"-suffix"),registerSize:vo,display:!0,style:ho}),ur));return Yi&&(wo=ne.createElement(oe.Z,{onResize:po,disabled:!xo},wo)),wo}var gt=ne.forwardRef(it);gt.displayName="Overflow",gt.Item=lt,gt.RESPONSIVE=st,gt.INVALIDATE=nt;var vt=gt,At=vt,Et=ve(21770),ut=ve(80334),Ye=ve(91881),Ve=ne.createContext(null);function de(St,Dt){return St===void 0?null:"".concat(St,"-").concat(Dt)}function Ce(St){var Dt=ne.useContext(Ve);return de(Dt,St)}var He=ve(56982),je=["children","locked"],Ae=ne.createContext(null);function Re(St,Dt){var Tt=(0,x.Z)({},St);return Object.keys(Dt).forEach(function(Nt){var _t=Dt[Nt];_t!==void 0&&(Tt[Nt]=_t)}),Tt}function ze(St){var Dt=St.children,Tt=St.locked,Nt=(0,ie.Z)(St,je),_t=ne.useContext(Ae),rn=(0,He.Z)(function(){return Re(_t,Nt)},[_t,Nt],function(vn,Vn){return!Tt&&(vn[0]!==Vn[0]||!(0,Ye.Z)(vn[1],Vn[1],!0))});return ne.createElement(Ae.Provider,{value:rn},Dt)}var Qe=[],ot=ne.createContext(null);function mt(){return ne.useContext(ot)}var Ot=ne.createContext(Qe);function xt(St){var Dt=ne.useContext(Ot);return ne.useMemo(function(){return St!==void 0?[].concat((0,Te.Z)(Dt),[St]):Dt},[Dt,St])}var Wt=ne.createContext(null),bn=ne.createContext({}),Ft=bn,Qt=ve(15105),Vt=ve(75164),yn=function(St){if(!St)return!1;if(St instanceof Element){if(St.offsetParent)return!0;if(St.getBBox){var Dt=St.getBBox(),Tt=Dt.width,Nt=Dt.height;if(Tt||Nt)return!0}if(St.getBoundingClientRect){var _t=St.getBoundingClientRect(),rn=_t.width,vn=_t.height;if(rn||vn)return!0}}return!1};function Pt(St){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(yn(St)){var Tt=St.nodeName.toLowerCase(),Nt=["input","select","textarea","button"].includes(Tt)||St.isContentEditable||Tt==="a"&&!!St.getAttribute("href"),_t=St.getAttribute("tabindex"),rn=Number(_t),vn=null;return _t&&!Number.isNaN(rn)?vn=rn:Nt&&vn===null&&(vn=0),Nt&&St.disabled&&(vn=null),vn!==null&&(vn>=0||Dt&&vn<0)}return!1}function zt(St){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Tt=(0,Te.Z)(St.querySelectorAll("*")).filter(function(Nt){return Pt(Nt,Dt)});return Pt(St,Dt)&&Tt.unshift(St),Tt}var an=null;function gn(){an=document.activeElement}function Tn(){an=null}function Gn(){if(an)try{an.focus()}catch(St){}}function fr(St,Dt){if(Dt.keyCode===9){var Tt=zt(St),Nt=Tt[Dt.shiftKey?0:Tt.length-1],_t=Nt===document.activeElement||St===document.activeElement;if(_t){var rn=Tt[Dt.shiftKey?Tt.length-1:0];rn.focus(),Dt.preventDefault()}}}var Tr=Qt.Z.LEFT,Wr=Qt.Z.RIGHT,ti=Qt.Z.UP,Dr=Qt.Z.DOWN,ri=Qt.Z.ENTER,Mi=Qt.Z.ESC,$r=Qt.Z.HOME,Xi=Qt.Z.END,Ii=[ti,Dr,Tr,Wr];function nn(St,Dt,Tt,Nt){var _t,rn,vn,Vn,$n="prev",Xn="next",On="children",In="parent";if(St==="inline"&&Nt===ri)return{inlineTrigger:!0};var En=(_t={},(0,$e.Z)(_t,ti,$n),(0,$e.Z)(_t,Dr,Xn),_t),Hn=(rn={},(0,$e.Z)(rn,Tr,Tt?Xn:$n),(0,$e.Z)(rn,Wr,Tt?$n:Xn),(0,$e.Z)(rn,Dr,On),(0,$e.Z)(rn,ri,On),rn),mr=(vn={},(0,$e.Z)(vn,ti,$n),(0,$e.Z)(vn,Dr,Xn),(0,$e.Z)(vn,ri,On),(0,$e.Z)(vn,Mi,In),(0,$e.Z)(vn,Tr,Tt?On:In),(0,$e.Z)(vn,Wr,Tt?In:On),vn),Qn={inline:En,horizontal:Hn,vertical:mr,inlineSub:En,horizontalSub:mr,verticalSub:mr},or=(Vn=Qn["".concat(St).concat(Dt?"":"Sub")])===null||Vn===void 0?void 0:Vn[Nt];switch(or){case $n:return{offset:-1,sibling:!0};case Xn:return{offset:1,sibling:!0};case In:return{offset:-1,sibling:!1};case On:return{offset:1,sibling:!1};default:return null}}function Jn(St){for(var Dt=St;Dt;){if(Dt.getAttribute("data-menu-list"))return Dt;Dt=Dt.parentElement}return null}function hr(St,Dt){for(var Tt=St||document.activeElement;Tt;){if(Dt.has(Tt))return Tt;Tt=Tt.parentElement}return null}function Kn(St,Dt){var Tt=zt(St,!0);return Tt.filter(function(Nt){return Dt.has(Nt)})}function Hr(St,Dt,Tt){var Nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!St)return null;var _t=Kn(St,Dt),rn=_t.length,vn=_t.findIndex(function(Vn){return Tt===Vn});return Nt<0?vn===-1?vn=rn-1:vn-=1:Nt>0&&(vn+=1),vn=(vn+rn)%rn,_t[vn]}function Pr(St,Dt,Tt,Nt,_t,rn,vn,Vn,$n,Xn){var On=ne.useRef(),In=ne.useRef();In.current=Dt;var En=function(){Vt.Z.cancel(On.current)};return ne.useEffect(function(){return function(){En()}},[]),function(Hn){var mr=Hn.which;if([].concat(Ii,[ri,Mi,$r,Xi]).includes(mr)){var Qn,or,ur,yr=function(){Qn=new Set,or=new Map,ur=new Map;var Cn=rn();return Cn.forEach(function(sr){var Wn=document.querySelector("[data-menu-id='".concat(de(Nt,sr),"']"));Wn&&(Qn.add(Wn),ur.set(Wn,sr),or.set(sr,Wn))}),Qn};yr();var Sr=or.get(Dt),kt=hr(Sr,Qn),It=ur.get(kt),en=nn(St,vn(It,!0).length===1,Tt,mr);if(!en&&mr!==$r&&mr!==Xi)return;(Ii.includes(mr)||[$r,Xi].includes(mr))&&Hn.preventDefault();var Xt=function(Cn){if(Cn){var sr=Cn,Wn=Cn.querySelector("a");Wn!=null&&Wn.getAttribute("href")&&(sr=Wn);var Dn=ur.get(Cn);Vn(Dn),En(),On.current=(0,Vt.Z)(function(){In.current===Dn&&sr.focus()})}};if([$r,Xi].includes(mr)||en.sibling||!kt){var wn;!kt||St==="inline"?wn=_t.current:wn=Jn(kt);var zn,_n=Kn(wn,Qn);mr===$r?zn=_n[0]:mr===Xi?zn=_n[_n.length-1]:zn=Hr(wn,Qn,kt,en.offset),Xt(zn)}else if(en.inlineTrigger)$n(It);else if(en.offset>0)$n(It,!0),En(),On.current=(0,Vt.Z)(function(){yr();var Yt=kt.getAttribute("aria-controls"),Cn=document.getElementById(Yt),sr=Hr(Cn,Qn);Xt(sr)},5);else if(en.offset<0){var dr=vn(It,!0),Zt=dr[dr.length-2],Ht=or.get(Zt);$n(Zt,!1),Xt(Ht)}}Xn==null||Xn(Hn)}}function Or(St){Promise.resolve().then(St)}var Mr="__RC_UTIL_PATH_SPLIT__",Ut=function(Dt){return Dt.join(Mr)},$t=function(Dt){return Dt.split(Mr)},qt="rc-menu-more";function Nn(){var St=ne.useState({}),Dt=(0,me.Z)(St,2),Tt=Dt[1],Nt=(0,ne.useRef)(new Map),_t=(0,ne.useRef)(new Map),rn=ne.useState([]),vn=(0,me.Z)(rn,2),Vn=vn[0],$n=vn[1],Xn=(0,ne.useRef)(0),On=(0,ne.useRef)(!1),In=function(){On.current||Tt({})},En=(0,ne.useCallback)(function(Sr,kt){var It=Ut(kt);_t.current.set(It,Sr),Nt.current.set(Sr,It),Xn.current+=1;var en=Xn.current;Or(function(){en===Xn.current&&In()})},[]),Hn=(0,ne.useCallback)(function(Sr,kt){var It=Ut(kt);_t.current.delete(It),Nt.current.delete(Sr)},[]),mr=(0,ne.useCallback)(function(Sr){$n(Sr)},[]),Qn=(0,ne.useCallback)(function(Sr,kt){var It=Nt.current.get(Sr)||"",en=$t(It);return kt&&Vn.includes(en[0])&&en.unshift(qt),en},[Vn]),or=(0,ne.useCallback)(function(Sr,kt){return Sr.some(function(It){var en=Qn(It,!0);return en.includes(kt)})},[Qn]),ur=function(){var kt=(0,Te.Z)(Nt.current.keys());return Vn.length&&kt.push(qt),kt},yr=(0,ne.useCallback)(function(Sr){var kt="".concat(Nt.current.get(Sr)).concat(Mr),It=new Set;return(0,Te.Z)(_t.current.keys()).forEach(function(en){en.startsWith(kt)&&It.add(_t.current.get(en))}),It},[]);return ne.useEffect(function(){return function(){On.current=!0}},[]),{registerPath:En,unregisterPath:Hn,refreshOverflowKeys:mr,isSubPathKey:or,getKeyPath:Qn,getKeys:ur,getSubPathKeys:yr}}function jt(St){var Dt=ne.useRef(St);Dt.current=St;var Tt=ne.useCallback(function(){for(var Nt,_t=arguments.length,rn=new Array(_t),vn=0;vn<_t;vn++)rn[vn]=arguments[vn];return(Nt=Dt.current)===null||Nt===void 0?void 0:Nt.call.apply(Nt,[Dt].concat(rn))},[]);return St?Tt:void 0}var on=Math.random().toFixed(5).toString().slice(2),kn=0;function pn(St){var Dt=(0,Et.Z)(St,{value:St}),Tt=(0,me.Z)(Dt,2),Nt=Tt[0],_t=Tt[1];return ne.useEffect(function(){kn+=1;var rn="".concat(on,"-").concat(kn);_t("rc-menu-uuid-".concat(rn))},[]),Nt}var Bn=ve(15671),Rn=ve(43144),pr=ve(60136),ii=ve(51630),Lr=ve(98423),Ir=ve(42550);function Ur(St,Dt,Tt,Nt){var _t=ne.useContext(Ae),rn=_t.activeKey,vn=_t.onActive,Vn=_t.onInactive,$n={active:rn===St};return Dt||($n.onMouseEnter=function(Xn){Tt==null||Tt({key:St,domEvent:Xn}),vn(St)},$n.onMouseLeave=function(Xn){Nt==null||Nt({key:St,domEvent:Xn}),Vn(St)}),$n}function Zr(St){var Dt=ne.useContext(Ae),Tt=Dt.mode,Nt=Dt.rtl,_t=Dt.inlineIndent;if(Tt!=="inline")return null;var rn=St;return Nt?{paddingRight:rn*_t}:{paddingLeft:rn*_t}}function ln(St){var Dt=St.icon,Tt=St.props,Nt=St.children,_t;return Dt===null||Dt===!1?null:(typeof Dt=="function"?_t=ne.createElement(Dt,(0,x.Z)({},Tt)):typeof Dt!="boolean"&&(_t=Dt),_t||Nt||null)}var Jt=["item"];function cn(St){var Dt=St.item,Tt=(0,ie.Z)(St,Jt);return Object.defineProperty(Tt,"item",{get:function(){return(0,ut.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),Dt}}),Tt}var er=["title","attribute","elementRef"],Ar=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Fn=["active"],lr=function(St){(0,pr.Z)(Tt,St);var Dt=(0,ii.Z)(Tt);function Tt(){return(0,Bn.Z)(this,Tt),Dt.apply(this,arguments)}return(0,Rn.Z)(Tt,[{key:"render",value:function(){var _t=this.props,rn=_t.title,vn=_t.attribute,Vn=_t.elementRef,$n=(0,ie.Z)(_t,er),Xn=(0,Lr.Z)($n,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,ut.ZP)(!vn,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),ne.createElement(At.Item,(0,Oe.Z)({},vn,{title:typeof rn=="string"?rn:void 0},Xn,{ref:Vn}))}}]),Tt}(ne.Component),ir=ne.forwardRef(function(St,Dt){var Tt,Nt=St.style,_t=St.className,rn=St.eventKey,vn=St.warnKey,Vn=St.disabled,$n=St.itemIcon,Xn=St.children,On=St.role,In=St.onMouseEnter,En=St.onMouseLeave,Hn=St.onClick,mr=St.onKeyDown,Qn=St.onFocus,or=(0,ie.Z)(St,Ar),ur=Ce(rn),yr=ne.useContext(Ae),Sr=yr.prefixCls,kt=yr.onItemClick,It=yr.disabled,en=yr.overflowDisabled,Xt=yr.itemIcon,wn=yr.selectedKeys,zn=yr.onActive,_n=ne.useContext(Ft),dr=_n._internalRenderMenuItem,Zt="".concat(Sr,"-item"),Ht=ne.useRef(),Yt=ne.useRef(),Cn=It||Vn,sr=(0,Ir.x1)(Dt,Yt),Wn=xt(rn),Dn=function(Ai){return{key:rn,keyPath:(0,Te.Z)(Wn).reverse(),item:Ht.current,domEvent:Ai}},kr=$n||Xt,Er=Ur(rn,Cn,In,En),Rr=Er.active,br=(0,ie.Z)(Er,Fn),tr=wn.includes(rn),Nr=Zr(Wn.length),Qr=function(Ai){if(!Cn){var Ti=Dn(Ai);Hn==null||Hn(cn(Ti)),kt(Ti)}},_r=function(Ai){if(mr==null||mr(Ai),Ai.which===Qt.Z.ENTER){var Ti=Dn(Ai);Hn==null||Hn(cn(Ti)),kt(Ti)}},Fr=function(Ai){zn(rn),Qn==null||Qn(Ai)},jr={};St.role==="option"&&(jr["aria-selected"]=tr);var Pi=ne.createElement(lr,(0,Oe.Z)({ref:Ht,elementRef:sr,role:On===null?"none":On||"menuitem",tabIndex:Vn?null:-1,"data-menu-id":en&&ur?null:ur},or,br,jr,{component:"li","aria-disabled":Vn,style:(0,x.Z)((0,x.Z)({},Nr),Nt),className:ae()(Zt,(Tt={},(0,$e.Z)(Tt,"".concat(Zt,"-active"),Rr),(0,$e.Z)(Tt,"".concat(Zt,"-selected"),tr),(0,$e.Z)(Tt,"".concat(Zt,"-disabled"),Cn),Tt),_t),onClick:Qr,onKeyDown:_r,onFocus:Fr}),Xn,ne.createElement(ln,{props:(0,x.Z)((0,x.Z)({},St),{},{isSelected:tr}),icon:kr}));return dr&&(Pi=dr(Pi,St,{selected:tr})),Pi});function wr(St,Dt){var Tt=St.eventKey,Nt=mt(),_t=xt(Tt);return ne.useEffect(function(){if(Nt)return Nt.registerPath(Tt,_t),function(){Nt.unregisterPath(Tt,_t)}},[_t]),Nt?null:ne.createElement(ir,(0,Oe.Z)({},St,{ref:Dt}))}var Vr=ne.forwardRef(wr),Zn=["className","children"],_i=function(Dt,Tt){var Nt=Dt.className,_t=Dt.children,rn=(0,ie.Z)(Dt,Zn),vn=ne.useContext(Ae),Vn=vn.prefixCls,$n=vn.mode,Xn=vn.rtl;return ne.createElement("ul",(0,Oe.Z)({className:ae()(Vn,Xn&&"".concat(Vn,"-rtl"),"".concat(Vn,"-sub"),"".concat(Vn,"-").concat($n==="inline"?"inline":"vertical"),Nt),role:"menu"},rn,{"data-menu-list":!0,ref:Tt}),_t)},gi=ne.forwardRef(_i);gi.displayName="SubMenuList";var ma=gi,ga=ve(50344);function la(St,Dt){return(0,ga.Z)(St).map(function(Tt,Nt){if(ne.isValidElement(Tt)){var _t,rn,vn=Tt.key,Vn=(_t=(rn=Tt.props)===null||rn===void 0?void 0:rn.eventKey)!==null&&_t!==void 0?_t:vn,$n=Vn==null;$n&&(Vn="tmp_key-".concat([].concat((0,Te.Z)(Dt),[Nt]).join("-")));var Xn={key:Vn,eventKey:Vn};return ne.cloneElement(Tt,Xn)}return Tt})}var _a=ve(62709),$i={adjustX:1,adjustY:1},Ui={topLeft:{points:["bl","tl"],overflow:$i},topRight:{points:["br","tr"],overflow:$i},bottomLeft:{points:["tl","bl"],overflow:$i},bottomRight:{points:["tr","br"],overflow:$i},leftTop:{points:["tr","tl"],overflow:$i},leftBottom:{points:["br","bl"],overflow:$i},rightTop:{points:["tl","tr"],overflow:$i},rightBottom:{points:["bl","br"],overflow:$i}},ya={topLeft:{points:["bl","tl"],overflow:$i},topRight:{points:["br","tr"],overflow:$i},bottomLeft:{points:["tl","bl"],overflow:$i},bottomRight:{points:["tr","br"],overflow:$i},rightTop:{points:["tr","tl"],overflow:$i},rightBottom:{points:["br","bl"],overflow:$i},leftTop:{points:["tl","tr"],overflow:$i},leftBottom:{points:["bl","br"],overflow:$i}},Ka=null;function Ri(St,Dt,Tt){if(Dt)return Dt;if(Tt)return Tt[St]||Tt.other}var ca={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Na(St){var Dt=St.prefixCls,Tt=St.visible,Nt=St.children,_t=St.popup,rn=St.popupStyle,vn=St.popupClassName,Vn=St.popupOffset,$n=St.disabled,Xn=St.mode,On=St.onVisibleChange,In=ne.useContext(Ae),En=In.getPopupContainer,Hn=In.rtl,mr=In.subMenuOpenDelay,Qn=In.subMenuCloseDelay,or=In.builtinPlacements,ur=In.triggerSubMenuAction,yr=In.forceSubMenuRender,Sr=In.rootClassName,kt=In.motion,It=In.defaultMotions,en=ne.useState(!1),Xt=(0,me.Z)(en,2),wn=Xt[0],zn=Xt[1],_n=Hn?(0,x.Z)((0,x.Z)({},ya),or):(0,x.Z)((0,x.Z)({},Ui),or),dr=ca[Xn],Zt=Ri(Xn,kt,It),Ht=ne.useRef(Zt);Xn!=="inline"&&(Ht.current=Zt);var Yt=(0,x.Z)((0,x.Z)({},Ht.current),{},{leavedClassName:"".concat(Dt,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Cn=ne.useRef();return ne.useEffect(function(){return Cn.current=(0,Vt.Z)(function(){zn(Tt)}),function(){Vt.Z.cancel(Cn.current)}},[Tt]),ne.createElement(_a.Z,{prefixCls:Dt,popupClassName:ae()("".concat(Dt,"-popup"),(0,$e.Z)({},"".concat(Dt,"-rtl"),Hn),vn,Sr),stretch:Xn==="horizontal"?"minWidth":null,getPopupContainer:En,builtinPlacements:_n,popupPlacement:dr,popupVisible:wn,popup:_t,popupStyle:rn,popupAlign:Vn&&{offset:Vn},action:$n?[]:[ur],mouseEnterDelay:mr,mouseLeaveDelay:Qn,onPopupVisibleChange:On,forceRender:yr,popupMotion:Yt,fresh:!0},Nt)}var ro=ve(62874);function Ya(St){var Dt=St.id,Tt=St.open,Nt=St.keyPath,_t=St.children,rn="inline",vn=ne.useContext(Ae),Vn=vn.prefixCls,$n=vn.forceSubMenuRender,Xn=vn.motion,On=vn.defaultMotions,In=vn.mode,En=ne.useRef(!1);En.current=In===rn;var Hn=ne.useState(!En.current),mr=(0,me.Z)(Hn,2),Qn=mr[0],or=mr[1],ur=En.current?Tt:!1;ne.useEffect(function(){En.current&&or(!1)},[In]);var yr=(0,x.Z)({},Ri(rn,Xn,On));Nt.length>1&&(yr.motionAppear=!1);var Sr=yr.onVisibleChanged;return yr.onVisibleChanged=function(kt){return!En.current&&!kt&&or(!0),Sr==null?void 0:Sr(kt)},Qn?null:ne.createElement(ze,{mode:rn,locked:!En.current},ne.createElement(ro.Z,(0,Oe.Z)({visible:ur},yr,{forceRender:$n,removeOnLeave:!1,leavedClassName:"".concat(Vn,"-hidden")}),function(kt){var It=kt.className,en=kt.style;return ne.createElement(ma,{id:Dt,className:It,style:en},_t)}))}var Wi=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],mn=["active"],sn=function(Dt){var Tt,Nt=Dt.style,_t=Dt.className,rn=Dt.title,vn=Dt.eventKey,Vn=Dt.warnKey,$n=Dt.disabled,Xn=Dt.internalPopupClose,On=Dt.children,In=Dt.itemIcon,En=Dt.expandIcon,Hn=Dt.popupClassName,mr=Dt.popupOffset,Qn=Dt.popupStyle,or=Dt.onClick,ur=Dt.onMouseEnter,yr=Dt.onMouseLeave,Sr=Dt.onTitleClick,kt=Dt.onTitleMouseEnter,It=Dt.onTitleMouseLeave,en=(0,ie.Z)(Dt,Wi),Xt=Ce(vn),wn=ne.useContext(Ae),zn=wn.prefixCls,_n=wn.mode,dr=wn.openKeys,Zt=wn.disabled,Ht=wn.overflowDisabled,Yt=wn.activeKey,Cn=wn.selectedKeys,sr=wn.itemIcon,Wn=wn.expandIcon,Dn=wn.onItemClick,kr=wn.onOpenChange,Er=wn.onActive,Rr=ne.useContext(Ft),br=Rr._internalRenderSubMenuItem,tr=ne.useContext(Wt),Nr=tr.isSubPathKey,Qr=xt(),_r="".concat(zn,"-submenu"),Fr=Zt||$n,jr=ne.useRef(),Pi=ne.useRef(),di=In!=null?In:sr,Ai=En!=null?En:Wn,Ti=dr.includes(vn),Hi=!Ht&&Ti,Oi=Nr(Cn,vn),ua=Ur(vn,Fr,kt,It),Ni=ua.active,mi=(0,ie.Z)(ua,mn),ea=ne.useState(!1),da=(0,me.Z)(ea,2),Si=da[0],$a=da[1],io=function(vo){Fr||$a(vo)},Za=function(vo){io(!0),ur==null||ur({key:vn,domEvent:vo})},Ea=function(vo){io(!1),yr==null||yr({key:vn,domEvent:vo})},Yi=ne.useMemo(function(){return Ni||(_n!=="inline"?Si||Nr([Yt],vn):!1)},[_n,Ni,Yt,Si,vn,Nr]),xo=Zr(Qr.length),Da=function(vo){Fr||(Sr==null||Sr({key:vn,domEvent:vo}),_n==="inline"&&kr(vn,!Ti))},Fi=jt(function(fo){or==null||or(cn(fo)),Dn(fo)}),Ba=function(vo){_n!=="inline"&&kr(vn,vo)},lo=function(){Er(vn)},za=Xt&&"".concat(Xt,"-popup"),ao=ne.createElement("div",(0,Oe.Z)({role:"menuitem",style:xo,className:"".concat(_r,"-title"),tabIndex:Fr?null:-1,ref:jr,title:typeof rn=="string"?rn:null,"data-menu-id":Ht&&Xt?null:Xt,"aria-expanded":Hi,"aria-haspopup":!0,"aria-controls":za,"aria-disabled":Fr,onClick:Da,onFocus:lo},mi),rn,ne.createElement(ln,{icon:_n!=="horizontal"?Ai:void 0,props:(0,x.Z)((0,x.Z)({},Dt),{},{isOpen:Hi,isSubMenu:!0})},ne.createElement("i",{className:"".concat(_r,"-arrow")}))),pa=ne.useRef(_n);if(_n!=="inline"&&Qr.length>1?pa.current="vertical":pa.current=_n,!Ht){var po=pa.current;ao=ne.createElement(Na,{mode:po,prefixCls:_r,visible:!Xn&&Hi&&_n!=="inline",popupClassName:Hn,popupOffset:mr,popupStyle:Qn,popup:ne.createElement(ze,{mode:po==="horizontal"?"vertical":po},ne.createElement(ma,{id:za,ref:Pi},On)),disabled:Fr,onVisibleChange:Ba},ao)}var mo=ne.createElement(At.Item,(0,Oe.Z)({role:"none"},en,{component:"li",style:Nt,className:ae()(_r,"".concat(_r,"-").concat(_n),_t,(Tt={},(0,$e.Z)(Tt,"".concat(_r,"-open"),Hi),(0,$e.Z)(Tt,"".concat(_r,"-active"),Yi),(0,$e.Z)(Tt,"".concat(_r,"-selected"),Oi),(0,$e.Z)(Tt,"".concat(_r,"-disabled"),Fr),Tt)),onMouseEnter:Za,onMouseLeave:Ea}),ao,!Ht&&ne.createElement(Ya,{id:za,open:Hi,keyPath:Qr},On));return br&&(mo=br(mo,Dt,{selected:Oi,active:Yi,open:Hi,disabled:Fr})),ne.createElement(ze,{onItemClick:Fi,mode:_n==="horizontal"?"vertical":_n,itemIcon:di,expandIcon:Ai},mo)};function jn(St){var Dt=St.eventKey,Tt=St.children,Nt=xt(Dt),_t=la(Tt,Nt),rn=mt();ne.useEffect(function(){if(rn)return rn.registerPath(Dt,Nt),function(){rn.unregisterPath(Dt,Nt)}},[Nt]);var vn;return rn?vn=_t:vn=ne.createElement(sn,St,_t),ne.createElement(Ot.Provider,{value:Nt},vn)}var ar=ve(71002),gr=["className","title","eventKey","children"],Xr=["children"],ai=function(Dt){var Tt=Dt.className,Nt=Dt.title,_t=Dt.eventKey,rn=Dt.children,vn=(0,ie.Z)(Dt,gr),Vn=ne.useContext(Ae),$n=Vn.prefixCls,Xn="".concat($n,"-item-group");return ne.createElement("li",(0,Oe.Z)({role:"presentation"},vn,{onClick:function(In){return In.stopPropagation()},className:ae()(Xn,Tt)}),ne.createElement("div",{role:"presentation",className:"".concat(Xn,"-title"),title:typeof Nt=="string"?Nt:void 0},Nt),ne.createElement("ul",{role:"group",className:"".concat(Xn,"-list")},rn))};function pi(St){var Dt=St.children,Tt=(0,ie.Z)(St,Xr),Nt=xt(Tt.eventKey),_t=la(Dt,Nt),rn=mt();return rn?_t:ne.createElement(ai,(0,Lr.Z)(Tt,["warnKey"]),_t)}function Li(St){var Dt=St.className,Tt=St.style,Nt=ne.useContext(Ae),_t=Nt.prefixCls,rn=mt();return rn?null:ne.createElement("li",{role:"separator",className:ae()("".concat(_t,"-item-divider"),Dt),style:Tt})}var yi=["label","children","key","type"];function ji(St){return(St||[]).map(function(Dt,Tt){if(Dt&&(0,ar.Z)(Dt)==="object"){var Nt=Dt,_t=Nt.label,rn=Nt.children,vn=Nt.key,Vn=Nt.type,$n=(0,ie.Z)(Nt,yi),Xn=vn!=null?vn:"tmp-".concat(Tt);return rn||Vn==="group"?Vn==="group"?ne.createElement(pi,(0,Oe.Z)({key:Xn},$n,{title:_t}),ji(rn)):ne.createElement(jn,(0,Oe.Z)({key:Xn},$n,{title:_t}),ji(rn)):Vn==="divider"?ne.createElement(Li,(0,Oe.Z)({key:Xn},$n)):ne.createElement(Vr,(0,Oe.Z)({key:Xn},$n),_t)}return null}).filter(function(Dt){return Dt})}function qi(St,Dt,Tt){var Nt=St;return Dt&&(Nt=ji(Dt)),la(Nt,Tt)}var oi=["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"],Sn=[],Ln=ne.forwardRef(function(St,Dt){var Tt,Nt,_t=St,rn=_t.prefixCls,vn=rn===void 0?"rc-menu":rn,Vn=_t.rootClassName,$n=_t.style,Xn=_t.className,On=_t.tabIndex,In=On===void 0?0:On,En=_t.items,Hn=_t.children,mr=_t.direction,Qn=_t.id,or=_t.mode,ur=or===void 0?"vertical":or,yr=_t.inlineCollapsed,Sr=_t.disabled,kt=_t.disabledOverflow,It=_t.subMenuOpenDelay,en=It===void 0?.1:It,Xt=_t.subMenuCloseDelay,wn=Xt===void 0?.1:Xt,zn=_t.forceSubMenuRender,_n=_t.defaultOpenKeys,dr=_t.openKeys,Zt=_t.activeKey,Ht=_t.defaultActiveFirst,Yt=_t.selectable,Cn=Yt===void 0?!0:Yt,sr=_t.multiple,Wn=sr===void 0?!1:sr,Dn=_t.defaultSelectedKeys,kr=_t.selectedKeys,Er=_t.onSelect,Rr=_t.onDeselect,br=_t.inlineIndent,tr=br===void 0?24:br,Nr=_t.motion,Qr=_t.defaultMotions,_r=_t.triggerSubMenuAction,Fr=_r===void 0?"hover":_r,jr=_t.builtinPlacements,Pi=_t.itemIcon,di=_t.expandIcon,Ai=_t.overflowedIndicator,Ti=Ai===void 0?"...":Ai,Hi=_t.overflowedIndicatorPopupClassName,Oi=_t.getPopupContainer,ua=_t.onClick,Ni=_t.onOpenChange,mi=_t.onKeyDown,ea=_t.openAnimation,da=_t.openTransitionName,Si=_t._internalRenderMenuItem,$a=_t._internalRenderSubMenuItem,io=(0,ie.Z)(_t,oi),Za=ne.useMemo(function(){return qi(Hn,En,Sn)},[Hn,En]),Ea=ne.useState(!1),Yi=(0,me.Z)(Ea,2),xo=Yi[0],Da=Yi[1],Fi=ne.useRef(),Ba=pn(Qn),lo=mr==="rtl",za=(0,Et.Z)(_n,{value:dr,postState:function(fi){return fi||Sn}}),ao=(0,me.Z)(za,2),pa=ao[0],po=ao[1],mo=function(fi){var Di=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Ia(){po(fi),Ni==null||Ni(fi)}Di?(0,ye.flushSync)(Ia):Ia()},fo=ne.useState(pa),vo=(0,me.Z)(fo,2),Mo=vo[0],Ho=vo[1],ho=ne.useRef(!1),ko=ne.useMemo(function(){return(ur==="inline"||ur==="vertical")&&yr?["vertical",yr]:[ur,!1]},[ur,yr]),$o=(0,me.Z)(ko,2),Yo=$o[0],as=$o[1],Bo=Yo==="inline",wo=ne.useState(Yo),La=(0,me.Z)(wo,2),Ha=La[0],uo=La[1],bo=ne.useState(as),Fo=(0,me.Z)(bo,2),es=Fo[0],ms=Fo[1];ne.useEffect(function(){uo(Yo),ms(as),ho.current&&(Bo?po(Mo):mo(Sn))},[Yo,as]);var _s=ne.useState(0),Fs=(0,me.Z)(_s,2),os=Fs[0],Is=Fs[1],to=os>=Za.length-1||Ha!=="horizontal"||kt;ne.useEffect(function(){Bo&&Ho(pa)},[pa]),ne.useEffect(function(){return ho.current=!0,function(){ho.current=!1}},[]);var Aa=Nn(),Do=Aa.registerPath,To=Aa.unregisterPath,Ct=Aa.refreshOverflowKeys,Lt=Aa.isSubPathKey,dn=Aa.getKeyPath,un=Aa.getKeys,Un=Aa.getSubPathKeys,Pn=ne.useMemo(function(){return{registerPath:Do,unregisterPath:To}},[Do,To]),Mn=ne.useMemo(function(){return{isSubPathKey:Lt}},[Lt]);ne.useEffect(function(){Ct(to?Sn:Za.slice(os+1).map(function(li){return li.key}))},[os,to]);var nr=(0,Et.Z)(Zt||Ht&&((Tt=Za[0])===null||Tt===void 0?void 0:Tt.key),{value:Zt}),rr=(0,me.Z)(nr,2),vr=rr[0],Jr=rr[1],zr=jt(function(li){Jr(li)}),wi=jt(function(){Jr(void 0)});(0,ne.useImperativeHandle)(Dt,function(){return{list:Fi.current,focus:function(fi){var Di,Ia=vr!=null?vr:(Di=Za.find(function(Ra){return!Ra.props.disabled}))===null||Di===void 0?void 0:Di.key;if(Ia){var va,Ca,wa;(va=Fi.current)===null||va===void 0||(Ca=va.querySelector("li[data-menu-id='".concat(de(Ba,Ia),"']")))===null||Ca===void 0||(wa=Ca.focus)===null||wa===void 0||wa.call(Ca,fi)}}}});var Yr=(0,Et.Z)(Dn||[],{value:kr,postState:function(fi){return Array.isArray(fi)?fi:fi==null?Sn:[fi]}}),ci=(0,me.Z)(Yr,2),ei=ci[0],Ci=ci[1],Vi=function(fi){if(Cn){var Di=fi.key,Ia=ei.includes(Di),va;Wn?Ia?va=ei.filter(function(wa){return wa!==Di}):va=[].concat((0,Te.Z)(ei),[Di]):va=[Di],Ci(va);var Ca=(0,x.Z)((0,x.Z)({},fi),{},{selectedKeys:va});Ia?Rr==null||Rr(Ca):Er==null||Er(Ca)}!Wn&&pa.length&&Ha!=="inline"&&mo(Sn)},oa=jt(function(li){ua==null||ua(cn(li)),Vi(li)}),ha=jt(function(li,fi){var Di=pa.filter(function(va){return va!==li});if(fi)Di.push(li);else if(Ha!=="inline"){var Ia=Un(li);Di=Di.filter(function(va){return!Ia.has(va)})}(0,Ye.Z)(pa,Di,!0)||mo(Di,!0)}),ta=function(fi,Di){var Ia=Di!=null?Di:!pa.includes(fi);ha(fi,Ia)},ba=Pr(Ha,vr,lo,Ba,Fi,un,dn,Jr,ta,mi);ne.useEffect(function(){Da(!0)},[]);var Ki=ne.useMemo(function(){return{_internalRenderMenuItem:Si,_internalRenderSubMenuItem:$a}},[Si,$a]),xa=Ha!=="horizontal"||kt?Za:Za.map(function(li,fi){return ne.createElement(ze,{key:li.key,overflowDisabled:fi>os},li)}),Ma=ne.createElement(At,(0,Oe.Z)({id:Qn,ref:Fi,prefixCls:"".concat(vn,"-overflow"),component:"ul",itemComponent:Vr,className:ae()(vn,"".concat(vn,"-root"),"".concat(vn,"-").concat(Ha),Xn,(Nt={},(0,$e.Z)(Nt,"".concat(vn,"-inline-collapsed"),es),(0,$e.Z)(Nt,"".concat(vn,"-rtl"),lo),Nt),Vn),dir:mr,style:$n,role:"menu",tabIndex:In,data:xa,renderRawItem:function(fi){return fi},renderRawRest:function(fi){var Di=fi.length,Ia=Di?Za.slice(-Di):null;return ne.createElement(jn,{eventKey:qt,title:Ti,disabled:to,internalPopupClose:Di===0,popupClassName:Hi},Ia)},maxCount:Ha!=="horizontal"||kt?At.INVALIDATE:At.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(fi){Is(fi)},onKeyDown:ba},io));return ne.createElement(Ft.Provider,{value:Ki},ne.createElement(Ve.Provider,{value:Ba},ne.createElement(ze,{prefixCls:vn,rootClassName:Vn,mode:Ha,openKeys:pa,rtl:lo,disabled:Sr,motion:xo?Nr:null,defaultMotions:xo?Qr:null,activeKey:vr,onActive:zr,onInactive:wi,selectedKeys:ei,inlineIndent:tr,subMenuOpenDelay:en,subMenuCloseDelay:wn,forceSubMenuRender:zn,builtinPlacements:jr,triggerSubMenuAction:Fr,getPopupContainer:Oi,itemIcon:Pi,expandIcon:di,onItemClick:oa,onOpenChange:ha},ne.createElement(Wt.Provider,{value:Mn},Ma),ne.createElement("div",{style:{display:"none"},"aria-hidden":!0},ne.createElement(ot.Provider,{value:Pn},Za)))))}),Yn=Ln,qe=Yn;qe.Item=Vr,qe.SubMenu=jn,qe.ItemGroup=pi,qe.Divider=Li;var yt=qe},86128:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Fe}});var Oe=ve(87462),$e=ve(4942),x=ve(45987),Te=ve(1413),me=ve(15671),ie=ve(43144),te=ve(97326),ae=ve(60136),ne=ve(51630),oe=ve(67294),he=ve(94184),re=ve.n(he),se=ve(64217),ce=ve(27822),fe=function(Ie){for(var Le=Ie.prefixCls,De=Ie.level,Be=Ie.isStart,Ue=Ie.isEnd,_e="".concat(Le,"-indent-unit"),We=[],Ze=0;Ze<De;Ze+=1){var et;We.push(oe.createElement("span",{key:Ze,className:re()(_e,(et={},(0,$e.Z)(et,"".concat(_e,"-start"),Be[Ze]),(0,$e.Z)(et,"".concat(_e,"-end"),Ue[Ze]),et))}))}return oe.createElement("span",{"aria-hidden":"true",className:"".concat(Le,"-indent")},We)},pe=oe.memo(fe),le=ve(1089),Se=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],xe="open",ge="close",Me="---",ye=function(ke){(0,ae.Z)(Le,ke);var Ie=(0,ne.Z)(Le);function Le(){var De;(0,me.Z)(this,Le);for(var Be=arguments.length,Ue=new Array(Be),_e=0;_e<Be;_e++)Ue[_e]=arguments[_e];return De=Ie.call.apply(Ie,[this].concat(Ue)),De.state={dragNodeHighlight:!1},De.selectHandle=void 0,De.onSelectorClick=function(We){var Ze=De.props.context.onNodeClick;Ze(We,(0,le.F)(De.props)),De.isSelectable()?De.onSelect(We):De.onCheck(We)},De.onSelectorDoubleClick=function(We){var Ze=De.props.context.onNodeDoubleClick;Ze(We,(0,le.F)(De.props))},De.onSelect=function(We){if(!De.isDisabled()){var Ze=De.props.context.onNodeSelect;We.preventDefault(),Ze(We,(0,le.F)(De.props))}},De.onCheck=function(We){if(!De.isDisabled()){var Ze=De.props,et=Ze.disableCheckbox,at=Ze.checked,pt=De.props.context.onNodeCheck;if(!(!De.isCheckable()||et)){We.preventDefault();var Xe=!at;pt(We,(0,le.F)(De.props),Xe)}}},De.onMouseEnter=function(We){var Ze=De.props.context.onNodeMouseEnter;Ze(We,(0,le.F)(De.props))},De.onMouseLeave=function(We){var Ze=De.props.context.onNodeMouseLeave;Ze(We,(0,le.F)(De.props))},De.onContextMenu=function(We){var Ze=De.props.context.onNodeContextMenu;Ze(We,(0,le.F)(De.props))},De.onDragStart=function(We){var Ze=De.props.context.onNodeDragStart;We.stopPropagation(),De.setState({dragNodeHighlight:!0}),Ze(We,(0,te.Z)(De));try{We.dataTransfer.setData("text/plain","")}catch(et){}},De.onDragEnter=function(We){var Ze=De.props.context.onNodeDragEnter;We.preventDefault(),We.stopPropagation(),Ze(We,(0,te.Z)(De))},De.onDragOver=function(We){var Ze=De.props.context.onNodeDragOver;We.preventDefault(),We.stopPropagation(),Ze(We,(0,te.Z)(De))},De.onDragLeave=function(We){var Ze=De.props.context.onNodeDragLeave;We.stopPropagation(),Ze(We,(0,te.Z)(De))},De.onDragEnd=function(We){var Ze=De.props.context.onNodeDragEnd;We.stopPropagation(),De.setState({dragNodeHighlight:!1}),Ze(We,(0,te.Z)(De))},De.onDrop=function(We){var Ze=De.props.context.onNodeDrop;We.preventDefault(),We.stopPropagation(),De.setState({dragNodeHighlight:!1}),Ze(We,(0,te.Z)(De))},De.onExpand=function(We){var Ze=De.props,et=Ze.loading,at=Ze.context.onNodeExpand;et||at(We,(0,le.F)(De.props))},De.setSelectHandle=function(We){De.selectHandle=We},De.getNodeState=function(){var We=De.props.expanded;return De.isLeaf()?null:We?xe:ge},De.hasChildren=function(){var We=De.props.eventKey,Ze=De.props.context.keyEntities,et=Ze[We]||{},at=et.children;return!!(at||[]).length},De.isLeaf=function(){var We=De.props,Ze=We.isLeaf,et=We.loaded,at=De.props.context.loadData,pt=De.hasChildren();return Ze===!1?!1:Ze||!at&&!pt||at&&et&&!pt},De.isDisabled=function(){var We=De.props.disabled,Ze=De.props.context.disabled;return!!(Ze||We)},De.isCheckable=function(){var We=De.props.checkable,Ze=De.props.context.checkable;return!Ze||We===!1?!1:Ze},De.syncLoadData=function(We){var Ze=We.expanded,et=We.loading,at=We.loaded,pt=De.props.context,Xe=pt.loadData,Ge=pt.onNodeLoad;et||Xe&&Ze&&!De.isLeaf()&&!De.hasChildren()&&!at&&Ge((0,le.F)(De.props))},De.isDraggable=function(){var We=De.props,Ze=We.data,et=We.context.draggable;return!!(et&&(!et.nodeDraggable||et.nodeDraggable(Ze)))},De.renderDragHandler=function(){var We=De.props.context,Ze=We.draggable,et=We.prefixCls;return Ze!=null&&Ze.icon?oe.createElement("span",{className:"".concat(et,"-draggable-icon")},Ze.icon):null},De.renderSwitcherIconDom=function(We){var Ze=De.props.switcherIcon,et=De.props.context.switcherIcon,at=Ze||et;return typeof at=="function"?at((0,Te.Z)((0,Te.Z)({},De.props),{},{isLeaf:We})):at},De.renderSwitcher=function(){var We=De.props.expanded,Ze=De.props.context.prefixCls;if(De.isLeaf()){var et=De.renderSwitcherIconDom(!0);return et!==!1?oe.createElement("span",{className:re()("".concat(Ze,"-switcher"),"".concat(Ze,"-switcher-noop"))},et):null}var at=re()("".concat(Ze,"-switcher"),"".concat(Ze,"-switcher_").concat(We?xe:ge)),pt=De.renderSwitcherIconDom(!1);return pt!==!1?oe.createElement("span",{onClick:De.onExpand,className:at},pt):null},De.renderCheckbox=function(){var We=De.props,Ze=We.checked,et=We.halfChecked,at=We.disableCheckbox,pt=De.props.context.prefixCls,Xe=De.isDisabled(),Ge=De.isCheckable();if(!Ge)return null;var lt=typeof Ge!="boolean"?Ge:null;return oe.createElement("span",{className:re()("".concat(pt,"-checkbox"),Ze&&"".concat(pt,"-checkbox-checked"),!Ze&&et&&"".concat(pt,"-checkbox-indeterminate"),(Xe||at)&&"".concat(pt,"-checkbox-disabled")),onClick:De.onCheck},lt)},De.renderIcon=function(){var We=De.props.loading,Ze=De.props.context.prefixCls;return oe.createElement("span",{className:re()("".concat(Ze,"-iconEle"),"".concat(Ze,"-icon__").concat(De.getNodeState()||"docu"),We&&"".concat(Ze,"-icon_loading"))})},De.renderSelector=function(){var We=De.state.dragNodeHighlight,Ze=De.props,et=Ze.title,at=et===void 0?Me:et,pt=Ze.selected,Xe=Ze.icon,Ge=Ze.loading,lt=Ze.data,dt=De.props.context,st=dt.prefixCls,nt=dt.showIcon,rt=dt.icon,it=dt.loadData,gt=dt.titleRender,vt=De.isDisabled(),At="".concat(st,"-node-content-wrapper"),Et;if(nt){var ut=Xe||rt;Et=ut?oe.createElement("span",{className:re()("".concat(st,"-iconEle"),"".concat(st,"-icon__customize"))},typeof ut=="function"?ut(De.props):ut):De.renderIcon()}else it&&Ge&&(Et=De.renderIcon());var Ye;typeof at=="function"?Ye=at(lt):gt?Ye=gt(lt):Ye=at;var Ve=oe.createElement("span",{className:"".concat(st,"-title")},Ye);return oe.createElement("span",{ref:De.setSelectHandle,title:typeof at=="string"?at:"",className:re()("".concat(At),"".concat(At,"-").concat(De.getNodeState()||"normal"),!vt&&(pt||We)&&"".concat(st,"-node-selected")),onMouseEnter:De.onMouseEnter,onMouseLeave:De.onMouseLeave,onContextMenu:De.onContextMenu,onClick:De.onSelectorClick,onDoubleClick:De.onSelectorDoubleClick},Et,Ve,De.renderDropIndicator())},De.renderDropIndicator=function(){var We=De.props,Ze=We.disabled,et=We.eventKey,at=De.props.context,pt=at.draggable,Xe=at.dropLevelOffset,Ge=at.dropPosition,lt=at.prefixCls,dt=at.indent,st=at.dropIndicatorRender,nt=at.dragOverNodeKey,rt=at.direction,it=!!pt,gt=!Ze&&it&&nt===et;return gt?st({dropPosition:Ge,dropLevelOffset:Xe,indent:dt,prefixCls:lt,direction:rt}):null},De}return(0,ie.Z)(Le,[{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,Ue=this.props.context.selectable;return typeof Be=="boolean"?Be:Ue}},{key:"render",value:function(){var Be,Ue=this.props,_e=Ue.eventKey,We=Ue.className,Ze=Ue.style,et=Ue.dragOver,at=Ue.dragOverGapTop,pt=Ue.dragOverGapBottom,Xe=Ue.isLeaf,Ge=Ue.isStart,lt=Ue.isEnd,dt=Ue.expanded,st=Ue.selected,nt=Ue.checked,rt=Ue.halfChecked,it=Ue.loading,gt=Ue.domRef,vt=Ue.active,At=Ue.data,Et=Ue.onMouseMove,ut=Ue.selectable,Ye=(0,x.Z)(Ue,Se),Ve=this.props.context,de=Ve.prefixCls,Ce=Ve.filterTreeNode,He=Ve.keyEntities,je=Ve.dropContainerKey,Ae=Ve.dropTargetKey,Re=Ve.draggingNodeKey,ze=this.isDisabled(),Qe=(0,se.Z)(Ye,{aria:!0,data:!0}),ot=He[_e]||{},mt=ot.level,Ot=lt[lt.length-1],xt=this.isDraggable(),Wt=!ze&&xt,bn=Re===_e,Ft=ut!==void 0?{"aria-selected":!!ut}:void 0;return oe.createElement("div",(0,Oe.Z)({ref:gt,className:re()(We,"".concat(de,"-treenode"),(Be={},(0,$e.Z)(Be,"".concat(de,"-treenode-disabled"),ze),(0,$e.Z)(Be,"".concat(de,"-treenode-switcher-").concat(dt?"open":"close"),!Xe),(0,$e.Z)(Be,"".concat(de,"-treenode-checkbox-checked"),nt),(0,$e.Z)(Be,"".concat(de,"-treenode-checkbox-indeterminate"),rt),(0,$e.Z)(Be,"".concat(de,"-treenode-selected"),st),(0,$e.Z)(Be,"".concat(de,"-treenode-loading"),it),(0,$e.Z)(Be,"".concat(de,"-treenode-active"),vt),(0,$e.Z)(Be,"".concat(de,"-treenode-leaf-last"),Ot),(0,$e.Z)(Be,"".concat(de,"-treenode-draggable"),xt),(0,$e.Z)(Be,"dragging",bn),(0,$e.Z)(Be,"drop-target",Ae===_e),(0,$e.Z)(Be,"drop-container",je===_e),(0,$e.Z)(Be,"drag-over",!ze&&et),(0,$e.Z)(Be,"drag-over-gap-top",!ze&&at),(0,$e.Z)(Be,"drag-over-gap-bottom",!ze&&pt),(0,$e.Z)(Be,"filter-node",Ce&&Ce((0,le.F)(this.props))),Be)),style:Ze,draggable:Wt,"aria-grabbed":bn,onDragStart:Wt?this.onDragStart:void 0,onDragEnter:xt?this.onDragEnter:void 0,onDragOver:xt?this.onDragOver:void 0,onDragLeave:xt?this.onDragLeave:void 0,onDrop:xt?this.onDrop:void 0,onDragEnd:xt?this.onDragEnd:void 0,onMouseMove:Et},Ft,Qe),oe.createElement(pe,{prefixCls:de,level:mt,isStart:Ge,isEnd:lt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Le}(oe.Component),be=function(Ie){return oe.createElement(ce.k.Consumer,null,function(Le){return oe.createElement(ye,(0,Oe.Z)({},Ie,{context:Le}))})};be.displayName="TreeNode",be.isTreeNode=1;var Fe=be},27822:function(tn,Kt,ve){"use strict";ve.d(Kt,{k:function(){return $e}});var Oe=ve(67294),$e=Oe.createContext(null)},10225:function(tn,Kt,ve){"use strict";ve.d(Kt,{BT:function(){return pe},Ds:function(){return he},E6:function(){return xe},L0:function(){return ae},OM:function(){return fe},_5:function(){return te},bt:function(){return oe},r7:function(){return ge},wA:function(){return re},yx:function(){return ne}});var Oe=ve(74902),$e=ve(71002),x=ve(67294),Te=ve(80334),me=ve(86128),ie=null;function te(Me,ye){if(!Me)return[];var be=Me.slice(),Fe=be.indexOf(ye);return Fe>=0&&be.splice(Fe,1),be}function ae(Me,ye){var be=(Me||[]).slice();return be.indexOf(ye)===-1&&be.push(ye),be}function ne(Me){return Me.split("-")}function oe(Me,ye){return"".concat(Me,"-").concat(ye)}function he(Me){return Me&&Me.type&&Me.type.isTreeNode}function re(Me,ye){var be=[],Fe=ye[Me];function ke(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ie.forEach(function(Le){var De=Le.key,Be=Le.children;be.push(De),ke(Be)})}return ke(Fe.children),be}function se(Me){if(Me.parent){var ye=ne(Me.pos);return Number(ye[ye.length-1])===Me.parent.children.length-1}return!1}function ce(Me){var ye=ne(Me.pos);return Number(ye[ye.length-1])===0}function fe(Me,ye,be,Fe,ke,Ie,Le,De,Be,Ue){var _e,We=Me.clientX,Ze=Me.clientY,et=Me.target.getBoundingClientRect(),at=et.top,pt=et.height,Xe=(Ue==="rtl"?-1:1)*(((ke==null?void 0:ke.x)||0)-We),Ge=(Xe-12)/Fe,lt=De[be.props.eventKey];if(Ze<at+pt/2){var dt=Le.findIndex(function(de){return de.key===lt.key}),st=dt<=0?0:dt-1,nt=Le[st].key;lt=De[nt]}var rt=lt.key,it=lt,gt=lt.key,vt=0,At=0;if(!Be.includes(rt))for(var Et=0;Et<Ge&&se(lt);Et+=1)lt=lt.parent,At+=1;var ut=ye.props.data,Ye=lt.node,Ve=!0;return ce(lt)&&lt.level===0&&Ze<at+pt/2&&Ie({dragNode:ut,dropNode:Ye,dropPosition:-1})&&lt.key===be.props.eventKey?vt=-1:(it.children||[]).length&&Be.includes(gt)?Ie({dragNode:ut,dropNode:Ye,dropPosition:0})?vt=0:Ve=!1:At===0?Ge>-1.5?Ie({dragNode:ut,dropNode:Ye,dropPosition:1})?vt=1:Ve=!1:Ie({dragNode:ut,dropNode:Ye,dropPosition:0})?vt=0:Ie({dragNode:ut,dropNode:Ye,dropPosition:1})?vt=1:Ve=!1:Ie({dragNode:ut,dropNode:Ye,dropPosition:1})?vt=1:Ve=!1,{dropPosition:vt,dropLevelOffset:At,dropTargetKey:lt.key,dropTargetPos:lt.pos,dragOverNodeKey:gt,dropContainerKey:vt===0?null:((_e=lt.parent)===null||_e===void 0?void 0:_e.key)||null,dropAllowed:Ve}}function pe(Me,ye){if(Me){var be=ye.multiple;return be?Me.slice():Me.length?[Me[0]]:Me}}var le=function(ye){return ye};function Se(Me,ye){if(!Me)return[];var be=ye||{},Fe=be.processProps,ke=Fe===void 0?le:Fe,Ie=Array.isArray(Me)?Me:[Me];return Ie.map(function(Le){var De=Le.children,Be=_objectWithoutProperties(Le,ie),Ue=Se(De,ye);return React.createElement(TreeNode,_extends({key:Be.key},ke(Be)),Ue)})}function xe(Me){if(!Me)return null;var ye;if(Array.isArray(Me))ye={checkedKeys:Me,halfCheckedKeys:void 0};else if((0,$e.Z)(Me)==="object")ye={checkedKeys:Me.checked||void 0,halfCheckedKeys:Me.halfChecked||void 0};else return(0,Te.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ye}function ge(Me,ye){var be=new Set;function Fe(ke){if(!be.has(ke)){var Ie=ye[ke];if(Ie){be.add(ke);var Le=Ie.parent,De=Ie.node;De.disabled||Le&&Fe(Le.key)}}}return(Me||[]).forEach(function(ke){Fe(ke)}),(0,Oe.Z)(be)}},17341:function(tn,Kt,ve){"use strict";ve.d(Kt,{S:function(){return ie}});var Oe=ve(80334);function $e(te,ae){var ne=new Set;return te.forEach(function(oe){ae.has(oe)||ne.add(oe)}),ne}function x(te){var ae=te||{},ne=ae.disabled,oe=ae.disableCheckbox,he=ae.checkable;return!!(ne||oe)||he===!1}function Te(te,ae,ne,oe){for(var he=new Set(te),re=new Set,se=0;se<=ne;se+=1){var ce=ae.get(se)||new Set;ce.forEach(function(Se){var xe=Se.key,ge=Se.node,Me=Se.children,ye=Me===void 0?[]:Me;he.has(xe)&&!oe(ge)&&ye.filter(function(be){return!oe(be.node)}).forEach(function(be){he.add(be.key)})})}for(var fe=new Set,pe=ne;pe>=0;pe-=1){var le=ae.get(pe)||new Set;le.forEach(function(Se){var xe=Se.parent,ge=Se.node;if(!(oe(ge)||!Se.parent||fe.has(Se.parent.key))){if(oe(Se.parent.node)){fe.add(xe.key);return}var Me=!0,ye=!1;(xe.children||[]).filter(function(be){return!oe(be.node)}).forEach(function(be){var Fe=be.key,ke=he.has(Fe);Me&&!ke&&(Me=!1),!ye&&(ke||re.has(Fe))&&(ye=!0)}),Me&&he.add(xe.key),ye&&re.add(xe.key),fe.add(xe.key)}})}return{checkedKeys:Array.from(he),halfCheckedKeys:Array.from($e(re,he))}}function me(te,ae,ne,oe,he){for(var re=new Set(te),se=new Set(ae),ce=0;ce<=oe;ce+=1){var fe=ne.get(ce)||new Set;fe.forEach(function(xe){var ge=xe.key,Me=xe.node,ye=xe.children,be=ye===void 0?[]:ye;!re.has(ge)&&!se.has(ge)&&!he(Me)&&be.filter(function(Fe){return!he(Fe.node)}).forEach(function(Fe){re.delete(Fe.key)})})}se=new Set;for(var pe=new Set,le=oe;le>=0;le-=1){var Se=ne.get(le)||new Set;Se.forEach(function(xe){var ge=xe.parent,Me=xe.node;if(!(he(Me)||!xe.parent||pe.has(xe.parent.key))){if(he(xe.parent.node)){pe.add(ge.key);return}var ye=!0,be=!1;(ge.children||[]).filter(function(Fe){return!he(Fe.node)}).forEach(function(Fe){var ke=Fe.key,Ie=re.has(ke);ye&&!Ie&&(ye=!1),!be&&(Ie||se.has(ke))&&(be=!0)}),ye||re.delete(ge.key),be&&se.add(ge.key),pe.add(ge.key)}})}return{checkedKeys:Array.from(re),halfCheckedKeys:Array.from($e(se,re))}}function ie(te,ae,ne,oe){var he=[],re;oe?re=oe:re=x;var se=new Set(te.filter(function(le){var Se=!!ne[le];return Se||he.push(le),Se})),ce=new Map,fe=0;Object.keys(ne).forEach(function(le){var Se=ne[le],xe=Se.level,ge=ce.get(xe);ge||(ge=new Set,ce.set(xe,ge)),ge.add(Se),fe=Math.max(fe,xe)}),(0,Oe.ZP)(!he.length,"Tree missing follow keys: ".concat(he.slice(0,100).map(function(le){return"'".concat(le,"'")}).join(", ")));var pe;return ae===!0?pe=Te(se,ce,fe,re):pe=me(se,ae.halfCheckedKeys,ce,fe,re),pe}},1089:function(tn,Kt,ve){"use strict";ve.d(Kt,{F:function(){return Se},H8:function(){return le},I8:function(){return pe},km:function(){return oe},oH:function(){return ce},w$:function(){return he},zn:function(){return se}});var Oe=ve(71002),$e=ve(74902),x=ve(1413),Te=ve(45987),me=ve(98423),ie=ve(50344),te=ve(80334),ae=ve(10225),ne=["children"];function oe(xe,ge){return xe!=null?xe:ge}function he(xe){var ge=xe||{},Me=ge.title,ye=ge._title,be=ge.key,Fe=ge.children,ke=Me||"title";return{title:ke,_title:ye||[ke],key:be||"key",children:Fe||"children"}}function re(xe,ge){var Me=new Map;function ye(be){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(be||[]).forEach(function(ke){var Ie=ke[ge.key],Le=ke[ge.children];warning(Ie!=null,"Tree node must have a certain key: [".concat(Fe).concat(Ie,"]"));var De=String(Ie);warning(!Me.has(De)||Ie===null||Ie===void 0,"Same 'key' exist in the Tree: ".concat(De)),Me.set(De,!0),ye(Le,"".concat(Fe).concat(De," > "))})}ye(xe)}function se(xe){function ge(Me){var ye=(0,ie.Z)(Me);return ye.map(function(be){if(!(0,ae.Ds)(be))return(0,te.ZP)(!be,"Tree/TreeNode can only accept TreeNode as children."),null;var Fe=be.key,ke=be.props,Ie=ke.children,Le=(0,Te.Z)(ke,ne),De=(0,x.Z)({key:Fe},Le),Be=ge(Ie);return Be.length&&(De.children=Be),De}).filter(function(be){return be})}return ge(xe)}function ce(xe,ge,Me){var ye=he(Me),be=ye._title,Fe=ye.key,ke=ye.children,Ie=new Set(ge===!0?[]:ge),Le=[];function De(Be){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Be.map(function(_e,We){for(var Ze=(0,ae.bt)(Ue?Ue.pos:"0",We),et=oe(_e[Fe],Ze),at,pt=0;pt<be.length;pt+=1){var Xe=be[pt];if(_e[Xe]!==void 0){at=_e[Xe];break}}var Ge=(0,x.Z)((0,x.Z)({},(0,me.Z)(_e,[].concat((0,$e.Z)(be),[Fe,ke]))),{},{title:at,key:et,parent:Ue,pos:Ze,children:null,data:_e,isStart:[].concat((0,$e.Z)(Ue?Ue.isStart:[]),[We===0]),isEnd:[].concat((0,$e.Z)(Ue?Ue.isEnd:[]),[We===Be.length-1])});return Le.push(Ge),ge===!0||Ie.has(et)?Ge.children=De(_e[ke]||[],Ge):Ge.children=[],Ge})}return De(xe),Le}function fe(xe,ge,Me){var ye={};(0,Oe.Z)(Me)==="object"?ye=Me:ye={externalGetKey:Me},ye=ye||{};var be=ye,Fe=be.childrenPropName,ke=be.externalGetKey,Ie=be.fieldNames,Le=he(Ie),De=Le.key,Be=Le.children,Ue=Fe||Be,_e;ke?typeof ke=="string"?_e=function(et){return et[ke]}:typeof ke=="function"&&(_e=function(et){return ke(et)}):_e=function(et,at){return oe(et[De],at)};function We(Ze,et,at,pt){var Xe=Ze?Ze[Ue]:xe,Ge=Ze?(0,ae.bt)(at.pos,et):"0",lt=Ze?[].concat((0,$e.Z)(pt),[Ze]):[];if(Ze){var dt=_e(Ze,Ge),st={node:Ze,index:et,pos:Ge,key:dt,parentPos:at.node?at.pos:null,level:at.level+1,nodes:lt};ge(st)}Xe&&Xe.forEach(function(nt,rt){We(nt,rt,{node:Ze,pos:Ge,level:at?at.level+1:-1},lt)})}We(null)}function pe(xe){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Me=ge.initWrapper,ye=ge.processEntity,be=ge.onProcessFinished,Fe=ge.externalGetKey,ke=ge.childrenPropName,Ie=ge.fieldNames,Le=arguments.length>2?arguments[2]:void 0,De=Fe||Le,Be={},Ue={},_e={posEntities:Be,keyEntities:Ue};return Me&&(_e=Me(_e)||_e),fe(xe,function(We){var Ze=We.node,et=We.index,at=We.pos,pt=We.key,Xe=We.parentPos,Ge=We.level,lt=We.nodes,dt={node:Ze,nodes:lt,index:et,key:pt,pos:at,level:Ge},st=oe(pt,at);Be[at]=dt,Ue[st]=dt,dt.parent=Be[Xe],dt.parent&&(dt.parent.children=dt.parent.children||[],dt.parent.children.push(dt)),ye&&ye(dt,_e)},{externalGetKey:De,childrenPropName:ke,fieldNames:Ie}),be&&be(_e),_e}function le(xe,ge){var Me=ge.expandedKeys,ye=ge.selectedKeys,be=ge.loadedKeys,Fe=ge.loadingKeys,ke=ge.checkedKeys,Ie=ge.halfCheckedKeys,Le=ge.dragOverNodeKey,De=ge.dropPosition,Be=ge.keyEntities,Ue=Be[xe],_e={eventKey:xe,expanded:Me.indexOf(xe)!==-1,selected:ye.indexOf(xe)!==-1,loaded:be.indexOf(xe)!==-1,loading:Fe.indexOf(xe)!==-1,checked:ke.indexOf(xe)!==-1,halfChecked:Ie.indexOf(xe)!==-1,pos:String(Ue?Ue.pos:""),dragOver:Le===xe&&De===0,dragOverGapTop:Le===xe&&De===-1,dragOverGapBottom:Le===xe&&De===1};return _e}function Se(xe){var ge=xe.data,Me=xe.expanded,ye=xe.selected,be=xe.checked,Fe=xe.loaded,ke=xe.loading,Ie=xe.halfChecked,Le=xe.dragOver,De=xe.dragOverGapTop,Be=xe.dragOverGapBottom,Ue=xe.pos,_e=xe.active,We=xe.eventKey,Ze=(0,x.Z)((0,x.Z)({},ge),{},{expanded:Me,selected:ye,checked:be,loaded:Fe,loading:ke,halfChecked:Ie,dragOver:Le,dragOverGapTop:De,dragOverGapBottom:Be,pos:Ue,active:_e,key:We});return"props"in Ze||Object.defineProperty(Ze,"props",{get:function(){return(0,te.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),xe}}),Ze}},66680:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return $e}});var Oe=ve(67294);function $e(x){var Te=Oe.useRef();Te.current=x;var me=Oe.useCallback(function(){for(var ie,te=arguments.length,ae=new Array(te),ne=0;ne<te;ne++)ae[ne]=arguments[ne];return(ie=Te.current)===null||ie===void 0?void 0:ie.call.apply(ie,[Te].concat(ae))},[]);return me}},21770:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return ie}});var Oe=ve(97685),$e=ve(66680),x=ve(8410),Te=ve(63896);function me(te){return te!==void 0}function ie(te,ae){var ne=ae||{},oe=ne.defaultValue,he=ne.value,re=ne.onChange,se=ne.postState,ce=(0,Te.Z)(function(){return me(he)?he:me(oe)?typeof oe=="function"?oe():oe:typeof te=="function"?te():te}),fe=(0,Oe.Z)(ce,2),pe=fe[0],le=fe[1],Se=he!==void 0?he:pe,xe=se?se(Se):Se,ge=(0,$e.Z)(re),Me=(0,Te.Z)([Se]),ye=(0,Oe.Z)(Me,2),be=ye[0],Fe=ye[1];(0,x.o)(function(){var Ie=be[0];pe!==Ie&&ge(pe,Ie)},[be]),(0,x.o)(function(){me(he)||le(he)},[he]);var ke=(0,$e.Z)(function(Ie,Le){le(Ie,Le),Fe([Se],Le)});return[xe,ke]}},91881:function(tn,Kt,ve){"use strict";var Oe=ve(71002),$e=ve(80334);function x(Te,me){var ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,te=new Set;function ae(ne,oe){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,re=te.has(ne);if((0,$e.ZP)(!re,"Warning: There may be circular references"),re)return!1;if(ne===oe)return!0;if(ie&&he>1)return!1;te.add(ne);var se=he+1;if(Array.isArray(ne)){if(!Array.isArray(oe)||ne.length!==oe.length)return!1;for(var ce=0;ce<ne.length;ce++)if(!ae(ne[ce],oe[ce],se))return!1;return!0}if(ne&&oe&&(0,Oe.Z)(ne)==="object"&&(0,Oe.Z)(oe)==="object"){var fe=Object.keys(ne);return fe.length!==Object.keys(oe).length?!1:fe.every(function(pe){return ae(ne[pe],oe[pe],se)})}return!1}return ae(Te,me)}Kt.Z=x},98423:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return $e}});var Oe=ve(1413);function $e(x,Te){var me=(0,Oe.Z)({},x);return Array.isArray(Te)&&Te.forEach(function(ie){delete me[ie]}),me}},64217:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return ae}});var Oe=ve(1413),$e=`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`,x=`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`,Te="".concat($e," ").concat(x).split(/[\s\n]+/),me="aria-",ie="data-";function te(ne,oe){return ne.indexOf(oe)===0}function ae(ne){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,he;oe===!1?he={aria:!0,data:!0,attr:!0}:oe===!0?he={aria:!0}:he=(0,Oe.Z)({},oe);var re={};return Object.keys(ne).forEach(function(se){(he.aria&&(se==="role"||te(se,me))||he.data&&te(se,ie)||he.attr&&Te.includes(se))&&(re[se]=ne[se])}),re}},73299:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Ii}});var Oe=ve(87462),$e=ve(1413),x=ve(71002),Te=ve(97685),me=ve(4942),ie=ve(45987),te=ve(67294),ae=ve(73935),ne=ve(94184),oe=ve.n(ne),he=ve(48555),re=te.forwardRef(function(nn,Jn){var hr=nn.height,Kn=nn.offsetY,Hr=nn.offsetX,Pr=nn.children,Or=nn.prefixCls,Mr=nn.onInnerResize,Ut=nn.innerProps,$t=nn.rtl,qt=nn.extra,Nn={},jt={display:"flex",flexDirection:"column"};if(Kn!==void 0){var on;Nn={height:hr,position:"relative",overflow:"hidden"},jt=(0,$e.Z)((0,$e.Z)({},jt),{},(on={transform:"translateY(".concat(Kn,"px)")},(0,me.Z)(on,$t?"marginRight":"marginLeft",-Hr),(0,me.Z)(on,"position","absolute"),(0,me.Z)(on,"left",0),(0,me.Z)(on,"right",0),(0,me.Z)(on,"top",0),on))}return te.createElement("div",{style:Nn},te.createElement(he.Z,{onResize:function(pn){var Bn=pn.offsetHeight;Bn&&Mr&&Mr()}},te.createElement("div",(0,Oe.Z)({style:jt,className:oe()((0,me.Z)({},"".concat(Or,"-holder-inner"),Or)),ref:Jn},Ut),Pr,qt)))});re.displayName="Filler";var se=re,ce=function(Jn){return+setTimeout(Jn,16)},fe=function(Jn){return clearTimeout(Jn)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ce=function(Jn){return window.requestAnimationFrame(Jn)},fe=function(Jn){return window.cancelAnimationFrame(Jn)});var pe=0,le=new Map;function Se(nn){le.delete(nn)}var xe=function(Jn){var hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;pe+=1;var Kn=pe;function Hr(Pr){if(Pr===0)Se(Kn),Jn();else{var Or=ce(function(){Hr(Pr-1)});le.set(Kn,Or)}}return Hr(hr),Kn};xe.cancel=function(nn){var Jn=le.get(nn);return Se(Jn),fe(Jn)};var ge=xe;function Me(nn,Jn){var hr="touches"in nn?nn.touches[0]:nn;return hr[Jn?"pageX":"pageY"]}var ye=te.forwardRef(function(nn,Jn){var hr,Kn=nn.prefixCls,Hr=nn.rtl,Pr=nn.scrollOffset,Or=nn.scrollRange,Mr=nn.onStartMove,Ut=nn.onStopMove,$t=nn.onScroll,qt=nn.horizontal,Nn=nn.spinSize,jt=nn.containerSize,on=nn.style,kn=nn.thumbStyle,pn=te.useState(!1),Bn=(0,Te.Z)(pn,2),Rn=Bn[0],pr=Bn[1],ii=te.useState(null),Lr=(0,Te.Z)(ii,2),Ir=Lr[0],Ur=Lr[1],Zr=te.useState(null),ln=(0,Te.Z)(Zr,2),Jt=ln[0],cn=ln[1],er=!Hr,Ar=te.useRef(),Fn=te.useRef(),lr=te.useState(!1),ir=(0,Te.Z)(lr,2),wr=ir[0],Vr=ir[1],Zn=te.useRef(),_i=function(){clearTimeout(Zn.current),Vr(!0),Zn.current=setTimeout(function(){Vr(!1)},3e3)},gi=Or-jt||0,ma=jt-Nn||0,ga=gi>0,la=te.useMemo(function(){if(Pr===0||gi===0)return 0;var ro=Pr/gi;return ro*ma},[Pr,gi,ma]),_a=function(Ya){Ya.stopPropagation(),Ya.preventDefault()},$i=te.useRef({top:la,dragging:Rn,pageY:Ir,startTop:Jt});$i.current={top:la,dragging:Rn,pageY:Ir,startTop:Jt};var Ui=function(Ya){pr(!0),Ur(Me(Ya,qt)),cn($i.current.top),Mr(),Ya.stopPropagation(),Ya.preventDefault()};te.useEffect(function(){var ro=function(sn){sn.preventDefault()},Ya=Ar.current,Wi=Fn.current;return Ya.addEventListener("touchstart",ro),Wi.addEventListener("touchstart",Ui),function(){Ya.removeEventListener("touchstart",ro),Wi.removeEventListener("touchstart",Ui)}},[]);var ya=te.useRef();ya.current=gi;var Ka=te.useRef();Ka.current=ma,te.useEffect(function(){if(Rn){var ro,Ya=function(sn){var jn=$i.current,ar=jn.dragging,gr=jn.pageY,Xr=jn.startTop;if(ge.cancel(ro),ar){var ai=Me(sn,qt)-gr,pi=Xr;!er&&qt?pi-=ai:pi+=ai;var Li=ya.current,yi=Ka.current,ji=yi?pi/yi:0,qi=Math.ceil(ji*Li);qi=Math.max(qi,0),qi=Math.min(qi,Li),ro=ge(function(){$t(qi,qt)})}},Wi=function(){pr(!1),Ut()};return window.addEventListener("mousemove",Ya),window.addEventListener("touchmove",Ya),window.addEventListener("mouseup",Wi),window.addEventListener("touchend",Wi),function(){window.removeEventListener("mousemove",Ya),window.removeEventListener("touchmove",Ya),window.removeEventListener("mouseup",Wi),window.removeEventListener("touchend",Wi),ge.cancel(ro)}}},[Rn]),te.useEffect(function(){_i()},[Pr]),te.useImperativeHandle(Jn,function(){return{delayHidden:_i}});var Ri="".concat(Kn,"-scrollbar"),ca={position:"absolute",visibility:wr&&ga?null:"hidden"},Na={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return qt?(ca.height=8,ca.left=0,ca.right=0,ca.bottom=0,Na.height="100%",Na.width=Nn,er?Na.left=la:Na.right=la):(ca.width=8,ca.top=0,ca.bottom=0,er?ca.right=0:ca.left=0,Na.width="100%",Na.height=Nn,Na.top=la),te.createElement("div",{ref:Ar,className:oe()(Ri,(hr={},(0,me.Z)(hr,"".concat(Ri,"-horizontal"),qt),(0,me.Z)(hr,"".concat(Ri,"-vertical"),!qt),(0,me.Z)(hr,"".concat(Ri,"-visible"),wr),hr)),style:(0,$e.Z)((0,$e.Z)({},ca),on),onMouseDown:_a,onMouseMove:_i},te.createElement("div",{ref:Fn,className:oe()("".concat(Ri,"-thumb"),(0,me.Z)({},"".concat(Ri,"-thumb-moving"),Rn)),style:(0,$e.Z)((0,$e.Z)({},Na),kn),onMouseDown:Ui}))}),be=ye;function Fe(nn){var Jn=nn.children,hr=nn.setRef,Kn=te.useCallback(function(Hr){hr(Hr)},[]);return te.cloneElement(Jn,{ref:Kn})}function ke(nn,Jn,hr,Kn,Hr,Pr,Or){var Mr=Or.getKey;return nn.slice(Jn,hr+1).map(function(Ut,$t){var qt=Jn+$t,Nn=Pr(Ut,qt,{style:{width:Kn}}),jt=Mr(Ut);return te.createElement(Fe,{key:jt,setRef:function(kn){return Hr(Ut,kn)}},Nn)})}function Ie(nn){return nn instanceof HTMLElement||nn instanceof SVGElement}function Le(nn){return Ie(nn)?nn:nn instanceof te.Component?ae.findDOMNode(nn):null}var De=ve(15671),Be=ve(43144),Ue=function(){function nn(){(0,De.Z)(this,nn),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,Be.Z)(nn,[{key:"set",value:function(hr,Kn){this.maps[hr]=Kn,this.id+=1}},{key:"get",value:function(hr){return this.maps[hr]}}]),nn}(),_e=Ue;function We(nn,Jn,hr){var Kn=te.useState(0),Hr=(0,Te.Z)(Kn,2),Pr=Hr[0],Or=Hr[1],Mr=(0,te.useRef)(new Map),Ut=(0,te.useRef)(new _e),$t=(0,te.useRef)();function qt(){ge.cancel($t.current)}function Nn(){var on=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;qt();var kn=function(){Mr.current.forEach(function(Bn,Rn){if(Bn&&Bn.offsetParent){var pr=Le(Bn),ii=pr.offsetHeight;Ut.current.get(Rn)!==ii&&Ut.current.set(Rn,pr.offsetHeight)}}),Or(function(Bn){return Bn+1})};on?kn():$t.current=ge(kn)}function jt(on,kn){var pn=nn(on),Bn=Mr.current.get(pn);kn?(Mr.current.set(pn,kn),Nn()):Mr.current.delete(pn),!Bn!=!kn&&(kn?Jn==null||Jn(on):hr==null||hr(on))}return(0,te.useEffect)(function(){return qt},[]),[jt,Nn,Ut.current,Pr]}function Ze(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var et=Ze()?te.useLayoutEffect:te.useEffect,at=function(Jn,hr){var Kn=te.useRef(!0);et(function(){return Jn(Kn.current)},hr),et(function(){return Kn.current=!1,function(){Kn.current=!0}},[])},pt=function(Jn,hr){at(function(Kn){if(!Kn)return Jn()},hr)},Xe=at;function Ge(nn){var Jn=te.useRef();Jn.current=nn;var hr=te.useCallback(function(){for(var Kn,Hr=arguments.length,Pr=new Array(Hr),Or=0;Or<Hr;Or++)Pr[Or]=arguments[Or];return(Kn=Jn.current)===null||Kn===void 0?void 0:Kn.call.apply(Kn,[Jn].concat(Pr))},[]);return hr}function lt(nn){var Jn=React.useRef(!1),hr=React.useState(nn),Kn=_slicedToArray(hr,2),Hr=Kn[0],Pr=Kn[1];React.useEffect(function(){return Jn.current=!1,function(){Jn.current=!0}},[]);function Or(Mr,Ut){Ut&&Jn.current||Pr(Mr)}return[Hr,Or]}function dt(nn){return nn!==void 0}function st(nn,Jn){var hr=Jn||{},Kn=hr.defaultValue,Hr=hr.value,Pr=hr.onChange,Or=hr.postState,Mr=useState(function(){return dt(Hr)?Hr:dt(Kn)?typeof Kn=="function"?Kn():Kn:typeof nn=="function"?nn():nn}),Ut=_slicedToArray(Mr,2),$t=Ut[0],qt=Ut[1],Nn=Hr!==void 0?Hr:$t,jt=Or?Or(Nn):Nn,on=useEvent(Pr),kn=useState([Nn]),pn=_slicedToArray(kn,2),Bn=pn[0],Rn=pn[1];useLayoutUpdateEffect(function(){var ii=Bn[0];$t!==ii&&on($t,ii)},[Bn]),useLayoutUpdateEffect(function(){dt(Hr)||qt(Hr)},[Hr]);var pr=useEvent(function(ii,Lr){qt(ii,Lr),Rn([Nn],Lr)});return[jt,pr]}var nt=ve(31461);function rt(nn,Jn,hr){var Kn=React.useRef({});return(!("value"in Kn.current)||hr(Kn.current.condition,Jn))&&(Kn.current.value=nn(),Kn.current.condition=Jn),Kn.current.value}function it(nn,Jn){typeof nn=="function"?nn(Jn):_typeof(nn)==="object"&&nn&&"current"in nn&&(nn.current=Jn)}function gt(){for(var nn=arguments.length,Jn=new Array(nn),hr=0;hr<nn;hr++)Jn[hr]=arguments[hr];var Kn=Jn.filter(function(Hr){return Hr});return Kn.length<=1?Kn[0]:function(Hr){Jn.forEach(function(Pr){it(Pr,Hr)})}}function vt(){for(var nn=arguments.length,Jn=new Array(nn),hr=0;hr<nn;hr++)Jn[hr]=arguments[hr];return useMemo(function(){return gt.apply(void 0,Jn)},Jn,function(Kn,Hr){return Kn.length!==Hr.length||Kn.every(function(Pr,Or){return Pr!==Hr[Or]})})}function At(nn){var Jn,hr,Kn=isMemo(nn)?nn.type.type:nn.type;return!(typeof Kn=="function"&&!((Jn=Kn.prototype)!==null&&Jn!==void 0&&Jn.render)||typeof nn=="function"&&!((hr=nn.prototype)!==null&&hr!==void 0&&hr.render))}function Et(nn){return!isValidElement(nn)||isFragment(nn)?!1:At(nn)}function ut(nn,Jn,hr,Kn){if(!Jn.length)return hr;var Hr=_toArray(Jn),Pr=Hr[0],Or=Hr.slice(1),Mr;return!nn&&typeof Pr=="number"?Mr=[]:Array.isArray(nn)?Mr=_toConsumableArray(nn):Mr=_objectSpread({},nn),Kn&&hr===void 0&&Or.length===1?delete Mr[Pr][Or[0]]:Mr[Pr]=ut(Mr[Pr],Or,hr,Kn),Mr}function Ye(nn,Jn,hr){var Kn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Jn.length&&Kn&&hr===void 0&&!get(nn,Jn.slice(0,-1))?nn:ut(nn,Jn,hr,Kn)}function Ve(nn){return _typeof(nn)==="object"&&nn!==null&&Object.getPrototypeOf(nn)===Object.prototype}function de(nn){return Array.isArray(nn)?[]:{}}var Ce=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function He(){for(var nn=arguments.length,Jn=new Array(nn),hr=0;hr<nn;hr++)Jn[hr]=arguments[hr];var Kn=de(Jn[0]);return Jn.forEach(function(Hr){function Pr(Or,Mr){var Ut=new Set(Mr),$t=get(Hr,Or),qt=Array.isArray($t);if(qt||Ve($t)){if(!Ut.has($t)){Ut.add($t);var Nn=get(Kn,Or);qt?Kn=Ye(Kn,Or,[]):(!Nn||_typeof(Nn)!=="object")&&(Kn=Ye(Kn,Or,de($t))),Ce($t).forEach(function(jt){Pr([].concat(_toConsumableArray(Or),[jt]),Ut)})}}else Kn=Ye(Kn,Or,$t)}Pr([])}),Kn}var je={},Ae=[],Re=function(Jn){Ae.push(Jn)};function ze(nn,Jn){if(0)var hr}function Qe(nn,Jn){if(0)var hr}function ot(){je={}}function mt(nn,Jn,hr){!Jn&&!je[hr]&&(nn(!1,hr),je[hr]=!0)}function Ot(nn,Jn){mt(ze,nn,Jn)}function xt(nn,Jn){mt(Qe,nn,Jn)}Ot.preMessage=Re,Ot.resetWarned=ot,Ot.noteOnce=xt;var Wt=null,bn=10;function Ft(nn,Jn,hr,Kn,Hr,Pr,Or,Mr){var Ut=te.useRef(),$t=te.useState(null),qt=(0,Te.Z)($t,2),Nn=qt[0],jt=qt[1];return Xe(function(){if(Nn&&Nn.times<bn){if(!nn.current){jt(function(_i){return(0,$e.Z)({},_i)});return}Pr();var on=Nn.targetAlign,kn=Nn.originAlign,pn=Nn.index,Bn=Nn.offset,Rn=nn.current.clientHeight,pr=!1,ii=on,Lr=null;if(Rn){for(var Ir=on||kn,Ur=0,Zr=0,ln=0,Jt=Math.min(Jn.length-1,pn),cn=0;cn<=Jt;cn+=1){var er=Hr(Jn[cn]);Zr=Ur;var Ar=hr.get(er);ln=Zr+(Ar===void 0?Kn:Ar),Ur=ln}for(var Fn=Ir==="top"?Bn:Rn-Bn,lr=Jt;lr>=0;lr-=1){var ir=Hr(Jn[lr]),wr=hr.get(ir);if(wr===void 0){pr=!0;break}if(Fn-=wr,Fn<=0)break}switch(Ir){case"top":Lr=Zr-Bn;break;case"bottom":Lr=ln-Rn+Bn;break;default:{var Vr=nn.current.scrollTop,Zn=Vr+Rn;Zr<Vr?ii="top":ln>Zn&&(ii="bottom")}}Lr!==null&&Or(Lr),Lr!==Nn.lastTop&&(pr=!0)}pr&&jt(function(_i){return(0,$e.Z)((0,$e.Z)({},_i),{},{times:_i.times+1,targetAlign:ii,lastTop:Lr})})}},[Nn,nn.current]),function(on){if(on==null){Mr();return}if(ge.cancel(Ut.current),typeof on=="number")Or(on);else if(on&&(0,x.Z)(on)==="object"){var kn,pn=on.align;"index"in on?kn=on.index:kn=Jn.findIndex(function(pr){return Hr(pr)===on.key});var Bn=on.offset,Rn=Bn===void 0?0:Bn;jt({times:0,index:kn,offset:Rn,originAlign:pn})}}}function Qt(nn,Jn,hr,Kn){var Hr=hr-nn,Pr=Jn-hr,Or=Math.min(Hr,Pr)*2;if(Kn<=Or){var Mr=Math.floor(Kn/2);return Kn%2?hr+Mr+1:hr-Mr}return Hr>Pr?hr-(Kn-Pr):hr+(Kn-Hr)}function Vt(nn,Jn,hr){var Kn=nn.length,Hr=Jn.length,Pr,Or;if(Kn===0&&Hr===0)return null;Kn<Hr?(Pr=nn,Or=Jn):(Pr=Jn,Or=nn);var Mr={__EMPTY_ITEM__:!0};function Ut(kn){return kn!==void 0?hr(kn):Mr}for(var $t=null,qt=Math.abs(Kn-Hr)!==1,Nn=0;Nn<Or.length;Nn+=1){var jt=Ut(Pr[Nn]),on=Ut(Or[Nn]);if(jt!==on){$t=Nn,qt=qt||jt!==Ut(Or[Nn+1]);break}}return $t===null?null:{index:$t,multiple:qt}}function yn(nn,Jn,hr){var Kn=te.useState(nn),Hr=(0,Te.Z)(Kn,2),Pr=Hr[0],Or=Hr[1],Mr=te.useState(null),Ut=(0,Te.Z)(Mr,2),$t=Ut[0],qt=Ut[1];return te.useEffect(function(){var Nn=Vt(Pr||[],nn||[],Jn);(Nn==null?void 0:Nn.index)!==void 0&&(hr==null||hr(Nn.index),qt(nn[Nn.index])),Or(nn)},[nn]),[$t]}var Pt=(typeof navigator=="undefined"?"undefined":(0,x.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),zt=Pt,an=function(nn,Jn){var hr=(0,te.useRef)(!1),Kn=(0,te.useRef)(null);function Hr(){clearTimeout(Kn.current),hr.current=!0,Kn.current=setTimeout(function(){hr.current=!1},50)}var Pr=(0,te.useRef)({top:nn,bottom:Jn});return Pr.current.top=nn,Pr.current.bottom=Jn,function(Or){var Mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ut=Or<0&&Pr.current.top||Or>0&&Pr.current.bottom;return Mr&&Ut?(clearTimeout(Kn.current),hr.current=!1):(!Ut||hr.current)&&Hr(),!hr.current&&Ut}};function gn(nn,Jn,hr,Kn,Hr){var Pr=(0,te.useRef)(0),Or=(0,te.useRef)(null),Mr=(0,te.useRef)(null),Ut=(0,te.useRef)(!1),$t=an(Jn,hr);function qt(Bn,Rn){ge.cancel(Or.current),Pr.current+=Rn,Mr.current=Rn,!$t(Rn)&&(zt||Bn.preventDefault(),Or.current=ge(function(){var pr=Ut.current?10:1;Hr(Pr.current*pr),Pr.current=0}))}function Nn(Bn,Rn){Hr(Rn,!0),zt||Bn.preventDefault()}var jt=(0,te.useRef)(null),on=(0,te.useRef)(null);function kn(Bn){if(nn){ge.cancel(on.current),on.current=ge(function(){jt.current=null},2);var Rn=Bn.deltaX,pr=Bn.deltaY,ii=Bn.shiftKey,Lr=Rn,Ir=pr;(jt.current==="sx"||!jt.current&&ii&&pr&&!Rn)&&(Lr=pr,Ir=0,jt.current="sx");var Ur=Math.abs(Lr),Zr=Math.abs(Ir);jt.current===null&&(jt.current=Kn&&Ur>Zr?"x":"y"),jt.current==="y"?qt(Bn,Ir):Nn(Bn,Lr)}}function pn(Bn){nn&&(Ut.current=Bn.detail===Mr.current)}return[kn,pn]}var Tn=14/15;function Gn(nn,Jn,hr){var Kn=(0,te.useRef)(!1),Hr=(0,te.useRef)(0),Pr=(0,te.useRef)(null),Or=(0,te.useRef)(null),Mr,Ut=function(jt){if(Kn.current){var on=Math.ceil(jt.touches[0].pageY),kn=Hr.current-on;Hr.current=on,hr(kn)&&jt.preventDefault(),clearInterval(Or.current),Or.current=setInterval(function(){kn*=Tn,(!hr(kn,!0)||Math.abs(kn)<=.1)&&clearInterval(Or.current)},16)}},$t=function(){Kn.current=!1,Mr()},qt=function(jt){Mr(),jt.touches.length===1&&!Kn.current&&(Kn.current=!0,Hr.current=Math.ceil(jt.touches[0].pageY),Pr.current=jt.target,Pr.current.addEventListener("touchmove",Ut),Pr.current.addEventListener("touchend",$t))};Mr=function(){Pr.current&&(Pr.current.removeEventListener("touchmove",Ut),Pr.current.removeEventListener("touchend",$t))},Xe(function(){return nn&&Jn.current.addEventListener("touchstart",qt),function(){var Nn;(Nn=Jn.current)===null||Nn===void 0||Nn.removeEventListener("touchstart",qt),Mr(),clearInterval(Or.current)}},[nn])}var fr=20;function Tr(){var nn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Jn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,hr=nn/Jn*100;return isNaN(hr)&&(hr=0),hr=Math.max(hr,fr),hr=Math.min(hr,nn/2),Math.floor(hr)}function Wr(nn,Jn,hr,Kn){var Hr=te.useMemo(function(){return[new Map,[]]},[nn,hr.id,Kn]),Pr=(0,Te.Z)(Hr,2),Or=Pr[0],Mr=Pr[1],Ut=function(qt){var Nn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qt,jt=Or.get(qt),on=Or.get(Nn);if(jt===void 0||on===void 0)for(var kn=nn.length,pn=Mr.length;pn<kn;pn+=1){var Bn,Rn=nn[pn],pr=Jn(Rn);Or.set(pr,pn);var ii=(Bn=hr.get(pr))!==null&&Bn!==void 0?Bn:Kn;if(Mr[pn]=(Mr[pn-1]||0)+ii,pr===qt&&(jt=pn),pr===Nn&&(on=pn),jt!==void 0&&on!==void 0)break}return{top:Mr[jt-1]||0,bottom:Mr[on]}};return Ut}var ti=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],Dr=[],ri={overflowY:"auto",overflowAnchor:"none"};function Mi(nn,Jn){var hr=nn.prefixCls,Kn=hr===void 0?"rc-virtual-list":hr,Hr=nn.className,Pr=nn.height,Or=nn.itemHeight,Mr=nn.fullHeight,Ut=Mr===void 0?!0:Mr,$t=nn.style,qt=nn.data,Nn=nn.children,jt=nn.itemKey,on=nn.virtual,kn=nn.direction,pn=nn.scrollWidth,Bn=nn.component,Rn=Bn===void 0?"div":Bn,pr=nn.onScroll,ii=nn.onVirtualScroll,Lr=nn.onVisibleChange,Ir=nn.innerProps,Ur=nn.extraRender,Zr=nn.styles,ln=(0,ie.Z)(nn,ti),Jt=!!(on!==!1&&Pr&&Or),cn=Jt&&qt&&(Or*qt.length>Pr||!!pn),er=kn==="rtl",Ar=oe()(Kn,(0,me.Z)({},"".concat(Kn,"-rtl"),er),Hr),Fn=qt||Dr,lr=(0,te.useRef)(),ir=(0,te.useRef)(),wr=(0,te.useState)(0),Vr=(0,Te.Z)(wr,2),Zn=Vr[0],_i=Vr[1],gi=(0,te.useState)(0),ma=(0,Te.Z)(gi,2),ga=ma[0],la=ma[1],_a=(0,te.useState)(!1),$i=(0,Te.Z)(_a,2),Ui=$i[0],ya=$i[1],Ka=function(){ya(!0)},Ri=function(){ya(!1)},ca=te.useCallback(function(Ht){return typeof jt=="function"?jt(Ht):Ht==null?void 0:Ht[jt]},[jt]),Na={getKey:ca};function ro(Ht){_i(function(Yt){var Cn;typeof Ht=="function"?Cn=Ht(Yt):Cn=Ht;var sr=Vn(Cn);return lr.current.scrollTop=sr,sr})}var Ya=(0,te.useRef)({start:0,end:Fn.length}),Wi=(0,te.useRef)(),mn=yn(Fn,ca),sn=(0,Te.Z)(mn,1),jn=sn[0];Wi.current=jn;var ar=We(ca,null,null),gr=(0,Te.Z)(ar,4),Xr=gr[0],ai=gr[1],pi=gr[2],Li=gr[3],yi=te.useMemo(function(){if(!Jt)return{scrollHeight:void 0,start:0,end:Fn.length-1,offset:void 0};if(!cn){var Ht;return{scrollHeight:((Ht=ir.current)===null||Ht===void 0?void 0:Ht.offsetHeight)||0,start:0,end:Fn.length-1,offset:void 0}}for(var Yt=0,Cn,sr,Wn,Dn=Fn.length,kr=0;kr<Dn;kr+=1){var Er=Fn[kr],Rr=ca(Er),br=pi.get(Rr),tr=Yt+(br===void 0?Or:br);tr>=Zn&&Cn===void 0&&(Cn=kr,sr=Yt),tr>Zn+Pr&&Wn===void 0&&(Wn=kr),Yt=tr}return Cn===void 0&&(Cn=0,sr=0,Wn=Math.ceil(Pr/Or)),Wn===void 0&&(Wn=Fn.length-1),Wn=Math.min(Wn+1,Fn.length-1),{scrollHeight:Yt,start:Cn,end:Wn,offset:sr}},[cn,Jt,Zn,Fn,Li,Pr]),ji=yi.scrollHeight,qi=yi.start,oi=yi.end,Sn=yi.offset;Ya.current.start=qi,Ya.current.end=oi;var Ln=te.useState({width:0,height:Pr}),Yn=(0,Te.Z)(Ln,2),qe=Yn[0],yt=Yn[1],St=function(Yt){yt({width:Yt.width||Yt.offsetWidth,height:Yt.height||Yt.offsetHeight})},Dt=(0,te.useRef)(),Tt=(0,te.useRef)(),Nt=te.useMemo(function(){return Tr(qe.width,pn)},[qe.width,pn]),_t=te.useMemo(function(){return Tr(qe.height,ji)},[qe.height,ji]),rn=ji-Pr,vn=(0,te.useRef)(rn);vn.current=rn;function Vn(Ht){var Yt=Ht;return Number.isNaN(vn.current)||(Yt=Math.min(Yt,vn.current)),Yt=Math.max(Yt,0),Yt}var $n=Zn<=0,Xn=Zn>=rn,On=an($n,Xn),In=function(){return{x:er?-ga:ga,y:Zn}},En=(0,te.useRef)(In()),Hn=Ge(function(){if(ii){var Ht=In();(En.current.x!==Ht.x||En.current.y!==Ht.y)&&(ii(Ht),En.current=Ht)}});function mr(Ht,Yt){var Cn=Ht;Yt?((0,ae.flushSync)(function(){la(Cn)}),Hn()):ro(Cn)}function Qn(Ht){var Yt=Ht.currentTarget.scrollTop;Yt!==Zn&&ro(Yt),pr==null||pr(Ht),Hn()}var or=function(Yt){var Cn=Yt,sr=pn-qe.width;return Cn=Math.max(Cn,0),Cn=Math.min(Cn,sr),Cn},ur=Ge(function(Ht,Yt){Yt?((0,ae.flushSync)(function(){la(function(Cn){var sr=Cn+(er?-Ht:Ht);return or(sr)})}),Hn()):ro(function(Cn){var sr=Cn+Ht;return sr})}),yr=gn(Jt,$n,Xn,!!pn,ur),Sr=(0,Te.Z)(yr,2),kt=Sr[0],It=Sr[1];Gn(Jt,lr,function(Ht,Yt){return On(Ht,Yt)?!1:(kt({preventDefault:function(){},deltaY:Ht}),!0)}),Xe(function(){function Ht(Cn){Jt&&Cn.preventDefault()}var Yt=lr.current;return Yt.addEventListener("wheel",kt),Yt.addEventListener("DOMMouseScroll",It),Yt.addEventListener("MozMousePixelScroll",Ht),function(){Yt.removeEventListener("wheel",kt),Yt.removeEventListener("DOMMouseScroll",It),Yt.removeEventListener("MozMousePixelScroll",Ht)}},[Jt]),Xe(function(){pn&&la(function(Ht){return or(Ht)})},[qe.width,pn]);var en=function(){var Yt,Cn;(Yt=Dt.current)===null||Yt===void 0||Yt.delayHidden(),(Cn=Tt.current)===null||Cn===void 0||Cn.delayHidden()},Xt=Ft(lr,Fn,pi,Or,ca,function(){return ai(!0)},ro,en);te.useImperativeHandle(Jn,function(){return{getScrollInfo:In,scrollTo:function(Yt){function Cn(sr){return sr&&(0,x.Z)(sr)==="object"&&("left"in sr||"top"in sr)}Cn(Yt)?(Yt.left!==void 0&&la(or(Yt.left)),Xt(Yt.top)):Xt(Yt)}}}),Xe(function(){if(Lr){var Ht=Fn.slice(qi,oi+1);Lr(Ht,Fn)}},[qi,oi,Fn]);var wn=Wr(Fn,ca,pi,Or),zn=Ur==null?void 0:Ur({start:qi,end:oi,virtual:cn,offsetX:ga,offsetY:Sn,rtl:er,getSize:wn}),_n=ke(Fn,qi,oi,pn,Xr,Nn,Na),dr=null;Pr&&(dr=(0,$e.Z)((0,me.Z)({},Ut?"height":"maxHeight",Pr),ri),Jt&&(dr.overflowY="hidden",pn&&(dr.overflowX="hidden"),Ui&&(dr.pointerEvents="none")));var Zt={};return er&&(Zt.dir="rtl"),te.createElement("div",(0,Oe.Z)({style:(0,$e.Z)((0,$e.Z)({},$t),{},{position:"relative"}),className:Ar},Zt,ln),te.createElement(he.Z,{onResize:St},te.createElement(Rn,{className:"".concat(Kn,"-holder"),style:dr,ref:lr,onScroll:Qn,onMouseEnter:en},te.createElement(se,{prefixCls:Kn,height:ji,offsetX:ga,offsetY:Sn,scrollWidth:pn,onInnerResize:ai,ref:ir,innerProps:Ir,rtl:er,extra:zn},_n))),cn&&ji>Pr&&te.createElement(be,{ref:Dt,prefixCls:Kn,scrollOffset:Zn,scrollRange:ji,rtl:er,onScroll:mr,onStartMove:Ka,onStopMove:Ri,spinSize:_t,containerSize:qe.height,style:Zr==null?void 0:Zr.verticalScrollBar,thumbStyle:Zr==null?void 0:Zr.verticalScrollBarThumb}),cn&&pn&&te.createElement(be,{ref:Tt,prefixCls:Kn,scrollOffset:ga,scrollRange:pn,rtl:er,onScroll:mr,onStartMove:Ka,onStopMove:Ri,spinSize:Nt,containerSize:qe.width,horizontal:!0,style:Zr==null?void 0:Zr.horizontalScrollBar,thumbStyle:Zr==null?void 0:Zr.horizontalScrollBarThumb}))}var $r=te.forwardRef(Mi);$r.displayName="List";var Xi=$r,Ii=Xi},66392:function(tn,Kt){"use strict";var ve;var Oe=Symbol.for("react.element"),$e=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),Te=Symbol.for("react.strict_mode"),me=Symbol.for("react.profiler"),ie=Symbol.for("react.provider"),te=Symbol.for("react.context"),ae=Symbol.for("react.server_context"),ne=Symbol.for("react.forward_ref"),oe=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),re=Symbol.for("react.memo"),se=Symbol.for("react.lazy"),ce=Symbol.for("react.offscreen"),fe;fe=Symbol.for("react.module.reference");function pe(le){if(typeof le=="object"&&le!==null){var Se=le.$$typeof;switch(Se){case Oe:switch(le=le.type,le){case x:case me:case Te:case oe:case he:return le;default:switch(le=le&&le.$$typeof,le){case ae:case te:case ne:case se:case re:case ie:return le;default:return Se}}case $e:return Se}}}ve=te,ve=ie,ve=Oe,ve=ne,ve=x,ve=se,ve=re,ve=$e,ve=me,ve=Te,ve=oe,ve=he,ve=function(){return!1},ve=function(){return!1},ve=function(le){return pe(le)===te},ve=function(le){return pe(le)===ie},ve=function(le){return typeof le=="object"&&le!==null&&le.$$typeof===Oe},ve=function(le){return pe(le)===ne},ve=function(le){return pe(le)===x},ve=function(le){return pe(le)===se},ve=function(le){return pe(le)===re},ve=function(le){return pe(le)===$e},ve=function(le){return pe(le)===me},ve=function(le){return pe(le)===Te},ve=function(le){return pe(le)===oe},ve=function(le){return pe(le)===he},ve=function(le){return typeof le=="string"||typeof le=="function"||le===x||le===me||le===Te||le===oe||le===he||le===ce||typeof le=="object"&&le!==null&&(le.$$typeof===se||le.$$typeof===re||le.$$typeof===ie||le.$$typeof===te||le.$$typeof===ne||le.$$typeof===fe||le.getModuleId!==void 0)},ve=pe},31461:function(tn,Kt,ve){"use strict";ve(66392)},58971:function(tn,Kt,ve){var Oe=ve(62195),$e=ve(39015),x=[ve(19257)];tn.exports=Oe.createStore($e,x)},19257:function(tn,Kt,ve){tn.exports=Oe;function Oe(){return ve(55703),{}}},55703:function(){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(tn){return tn<10?"0"+tn:tn}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(tn){return rx_escapable.lastIndex=0,rx_escapable.test(tn)?'"'+tn.replace(rx_escapable,function(Kt){var ve=meta[Kt];return typeof ve=="string"?ve:"\\u"+("0000"+Kt.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+tn+'"'}function str(tn,Kt){var ve,Oe,$e,x,Te=gap,me,ie=Kt[tn];switch(ie&&typeof ie=="object"&&typeof ie.toJSON=="function"&&(ie=ie.toJSON(tn)),typeof rep=="function"&&(ie=rep.call(Kt,tn,ie)),typeof ie){case"string":return quote(ie);case"number":return isFinite(ie)?String(ie):"null";case"boolean":case"null":return String(ie);case"object":if(!ie)return"null";if(gap+=indent,me=[],Object.prototype.toString.apply(ie)==="[object Array]"){for(x=ie.length,ve=0;ve<x;ve+=1)me[ve]=str(ve,ie)||"null";return $e=me.length===0?"[]":gap?`[
`+gap+me.join(`,
`+gap)+`
`+Te+"]":"["+me.join(",")+"]",gap=Te,$e}if(rep&&typeof rep=="object")for(x=rep.length,ve=0;ve<x;ve+=1)typeof rep[ve]=="string"&&(Oe=rep[ve],$e=str(Oe,ie),$e&&me.push(quote(Oe)+(gap?": ":":")+$e));else for(Oe in ie)Object.prototype.hasOwnProperty.call(ie,Oe)&&($e=str(Oe,ie),$e&&me.push(quote(Oe)+(gap?": ":":")+$e));return $e=me.length===0?"{}":gap?`{
`+gap+me.join(`,
`+gap)+`
`+Te+"}":"{"+me.join(",")+"}",gap=Te,$e}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(tn,Kt,ve){var Oe;if(gap="",indent="",typeof ve=="number")for(Oe=0;Oe<ve;Oe+=1)indent+=" ";else typeof ve=="string"&&(indent=ve);if(rep=Kt,Kt&&typeof Kt!="function"&&(typeof Kt!="object"||typeof Kt.length!="number"))throw new Error("JSON.stringify");return str("",{"":tn})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(tn,Kt){var ve,Oe,$e=tn[Kt];if($e&&typeof $e=="object")for(ve in $e)Object.prototype.hasOwnProperty.call($e,ve)&&(Oe=walk($e,ve),Oe!==void 0?$e[ve]=Oe:delete $e[ve]);return reviver.call(tn,Kt,$e)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(tn){return"\\u"+("0000"+tn.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},62195:function(tn,Kt,ve){var Oe=ve(69078),$e=Oe.slice,x=Oe.pluck,Te=Oe.each,me=Oe.bind,ie=Oe.create,te=Oe.isList,ae=Oe.isFunction,ne=Oe.isObject;tn.exports={createStore:re};var oe={version:"2.0.12",enabled:!1,get:function(se,ce){var fe=this.storage.read(this._namespacePrefix+se);return this._deserialize(fe,ce)},set:function(se,ce){return ce===void 0?this.remove(se):(this.storage.write(this._namespacePrefix+se,this._serialize(ce)),ce)},remove:function(se){this.storage.remove(this._namespacePrefix+se)},each:function(se){var ce=this;this.storage.each(function(fe,pe){se.call(ce,ce._deserialize(fe),(pe||"").replace(ce._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(se){return this._namespacePrefix=="__storejs_"+se+"_"},createStore:function(){return re.apply(this,arguments)},addPlugin:function(se){this._addPlugin(se)},namespace:function(se){return re(this.storage,this.plugins,se)}};function he(){var se=typeof console=="undefined"?null:console;if(se){var ce=se.warn?se.warn:se.log;ce.apply(se,arguments)}}function re(se,ce,fe){fe||(fe=""),se&&!te(se)&&(se=[se]),ce&&!te(ce)&&(ce=[ce]);var pe=fe?"__storejs_"+fe+"_":"",le=fe?new RegExp("^"+pe):null,Se=/^[a-zA-Z0-9_\-]*$/;if(!Se.test(fe))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var xe={_namespacePrefix:pe,_namespaceRegexp:le,_testStorage:function(Me){try{var ye="__storejs__test__";Me.write(ye,ye);var be=Me.read(ye)===ye;return Me.remove(ye),be}catch(Fe){return!1}},_assignPluginFnProp:function(Me,ye){var be=this[ye];this[ye]=function(){var ke=$e(arguments,0),Ie=this;function Le(){if(be)return Te(arguments,function(Be,Ue){ke[Ue]=Be}),be.apply(Ie,ke)}var De=[Le].concat(ke);return Me.apply(Ie,De)}},_serialize:function(Me){return JSON.stringify(Me)},_deserialize:function(Me,ye){if(!Me)return ye;var be="";try{be=JSON.parse(Me)}catch(Fe){be=Me}return be!==void 0?be:ye},_addStorage:function(Me){this.enabled||this._testStorage(Me)&&(this.storage=Me,this.enabled=!0)},_addPlugin:function(Me){var ye=this;if(te(Me)){Te(Me,function(ke){ye._addPlugin(ke)});return}var be=x(this.plugins,function(ke){return Me===ke});if(!be){if(this.plugins.push(Me),!ae(Me))throw new Error("Plugins must be function values that return objects");var Fe=Me.call(this);if(!ne(Fe))throw new Error("Plugins must return an object of function properties");Te(Fe,function(ke,Ie){if(!ae(ke))throw new Error("Bad plugin property: "+Ie+" from plugin "+Me.name+". Plugins should only return functions.");ye._assignPluginFnProp(ke,Ie)})}},addStorage:function(Me){he("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(Me)}},ge=ie(xe,oe,{plugins:[]});return ge.raw={},Te(ge,function(Me,ye){ae(Me)&&(ge.raw[ye]=me(ge,Me))}),Te(se,function(Me){ge._addStorage(Me)}),Te(ce,function(Me){ge._addPlugin(Me)}),ge}},69078:function(tn,Kt,ve){var Oe=me(),$e=ie(),x=te(),Te=typeof window!="undefined"?window:ve.g;tn.exports={assign:Oe,create:$e,trim:x,bind:ae,slice:ne,each:oe,map:he,pluck:re,isList:se,isFunction:ce,isObject:fe,Global:Te};function me(){return Object.assign?Object.assign:function(le,Se,xe,ge){for(var Me=1;Me<arguments.length;Me++)oe(Object(arguments[Me]),function(ye,be){le[be]=ye});return le}}function ie(){if(Object.create)return function(Se,xe,ge,Me){var ye=ne(arguments,1);return Oe.apply(this,[Object.create(Se)].concat(ye))};{let le=function(){};var pe=le;return function(xe,ge,Me,ye){var be=ne(arguments,1);return le.prototype=xe,Oe.apply(this,[new le].concat(be))}}}function te(){return String.prototype.trim?function(le){return String.prototype.trim.call(le)}:function(le){return le.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function ae(pe,le){return function(){return le.apply(pe,Array.prototype.slice.call(arguments,0))}}function ne(pe,le){return Array.prototype.slice.call(pe,le||0)}function oe(pe,le){re(pe,function(Se,xe){return le(Se,xe),!1})}function he(pe,le){var Se=se(pe)?[]:{};return re(pe,function(xe,ge){return Se[ge]=le(xe,ge),!1}),Se}function re(pe,le){if(se(pe)){for(var Se=0;Se<pe.length;Se++)if(le(pe[Se],Se))return pe[Se]}else for(var xe in pe)if(pe.hasOwnProperty(xe)&&le(pe[xe],xe))return pe[xe]}function se(pe){return pe!=null&&typeof pe!="function"&&typeof pe.length=="number"}function ce(pe){return pe&&{}.toString.call(pe)==="[object Function]"}function fe(pe){return pe&&{}.toString.call(pe)==="[object Object]"}},39015:function(tn,Kt,ve){tn.exports=[ve(39627),ve(95347),ve(34524),ve(45580),ve(58855),ve(8728)]},45580:function(tn,Kt,ve){var Oe=ve(69078),$e=Oe.Global,x=Oe.trim;tn.exports={name:"cookieStorage",read:me,write:te,each:ie,remove:ae,clearAll:ne};var Te=$e.document;function me(he){if(!he||!oe(he))return null;var re="(?:^|.*;\\s*)"+escape(he).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(Te.cookie.replace(new RegExp(re),"$1"))}function ie(he){for(var re=Te.cookie.split(/; ?/g),se=re.length-1;se>=0;se--)if(x(re[se])){var ce=re[se].split("="),fe=unescape(ce[0]),pe=unescape(ce[1]);he(pe,fe)}}function te(he,re){he&&(Te.cookie=escape(he)+"="+escape(re)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function ae(he){!he||!oe(he)||(Te.cookie=escape(he)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function ne(){ie(function(he,re){ae(re)})}function oe(he){return new RegExp("(?:^|;\\s*)"+escape(he).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(Te.cookie)}},39627:function(tn,Kt,ve){var Oe=ve(69078),$e=Oe.Global;tn.exports={name:"localStorage",read:Te,write:me,each:ie,remove:te,clearAll:ae};function x(){return $e.localStorage}function Te(ne){return x().getItem(ne)}function me(ne,oe){return x().setItem(ne,oe)}function ie(ne){for(var oe=x().length-1;oe>=0;oe--){var he=x().key(oe);ne(Te(he),he)}}function te(ne){return x().removeItem(ne)}function ae(){return x().clear()}},8728:function(tn){tn.exports={name:"memoryStorage",read:ve,write:Oe,each:$e,remove:x,clearAll:Te};var Kt={};function ve(me){return Kt[me]}function Oe(me,ie){Kt[me]=ie}function $e(me){for(var ie in Kt)Kt.hasOwnProperty(ie)&&me(Kt[ie],ie)}function x(me){delete Kt[me]}function Te(me){Kt={}}},95347:function(tn,Kt,ve){var Oe=ve(69078),$e=Oe.Global;tn.exports={name:"oldFF-globalStorage",read:Te,write:me,each:ie,remove:te,clearAll:ae};var x=$e.globalStorage;function Te(ne){return x[ne]}function me(ne,oe){x[ne]=oe}function ie(ne){for(var oe=x.length-1;oe>=0;oe--){var he=x.key(oe);ne(x[he],he)}}function te(ne){return x.removeItem(ne)}function ae(){ie(function(ne,oe){delete x[ne]})}},34524:function(tn,Kt,ve){var Oe=ve(69078),$e=Oe.Global;tn.exports={name:"oldIE-userDataStorage",write:te,read:ae,each:ne,remove:oe,clearAll:he};var x="storejs",Te=$e.document,me=ce(),ie=($e.navigator?$e.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function te(fe,pe){if(!ie){var le=se(fe);me(function(Se){Se.setAttribute(le,pe),Se.save(x)})}}function ae(fe){if(!ie){var pe=se(fe),le=null;return me(function(Se){le=Se.getAttribute(pe)}),le}}function ne(fe){me(function(pe){for(var le=pe.XMLDocument.documentElement.attributes,Se=le.length-1;Se>=0;Se--){var xe=le[Se];fe(pe.getAttribute(xe.name),xe.name)}})}function oe(fe){var pe=se(fe);me(function(le){le.removeAttribute(pe),le.save(x)})}function he(){me(function(fe){var pe=fe.XMLDocument.documentElement.attributes;fe.load(x);for(var le=pe.length-1;le>=0;le--)fe.removeAttribute(pe[le].name);fe.save(x)})}var re=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function se(fe){return fe.replace(/^\d/,"___$&").replace(re,"___")}function ce(){if(!Te||!Te.documentElement||!Te.documentElement.addBehavior)return null;var fe="script",pe,le,Se;try{le=new ActiveXObject("htmlfile"),le.open(),le.write("<"+fe+">document.w=window</"+fe+'><iframe src="/favicon.ico"></iframe>'),le.close(),pe=le.w.frames[0].document,Se=pe.createElement("div")}catch(xe){Se=Te.createElement("div"),pe=Te.body}return function(xe){var ge=[].slice.call(arguments,0);ge.unshift(Se),pe.appendChild(Se),Se.addBehavior("#default#userData"),Se.load(x),xe.apply(this,ge),pe.removeChild(Se)}}},58855:function(tn,Kt,ve){var Oe=ve(69078),$e=Oe.Global;tn.exports={name:"sessionStorage",read:Te,write:me,each:ie,remove:te,clearAll:ae};function x(){return $e.sessionStorage}function Te(ne){return x().getItem(ne)}function me(ne,oe){return x().setItem(ne,oe)}function ie(ne){for(var oe=x().length-1;oe>=0;oe--){var he=x().key(oe);ne(Te(he),he)}}function te(ne){return x().removeItem(ne)}function ae(){return x().clear()}},25365:function(tn){"use strict";tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAA0VJREFUOE+V03lI01EcAPD3fjucs4nmwrXNOY/VdBoe0Tqggi5NgsLaWriWZFQEEvRHBxmL+iMo/KMg6KJSCy03mbapo1vXzCvJUstjZTM1bUzZZP6uF5M0Zwr1/nsHn/d93+/7QjBn3GhuZkm5scvRJIgODWX7s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/2PwaTTJBM8cAxiYZIiH2GuxTHKDflgKQafrVjnLxBP/VsIowYKFhNLOcFasSkQHlSneyVFXAVk7wgOXFKJowGSAH7OgFm7hSoQrGZMUkUWN1TquIY77Eqjlk5W/5VVxIUSK6YpBSe2RsSS9sI9ka1gUo2HlAdIBRIXgFijHMZosE7c+cF6WbmGwIHHtGmoM09ziVVmxYTNwmSMV3knZXj2OcadKQOb3B15y0BWdmb5+ValhWvDM6zWEwcZz5O+ikNSjAmqclULdu9DT89GBl4CIWvy0xUSlFGGGMwMhCT9P2peMS0vUEUNJjETXFS+oa7c5gkV7wuchoGl0C62g6GBA/MJHMMWVWunf6PqlZIUPOsnC3zPrV59NeR2WoA3qkocJmh1miWmxmq0h0ihx7lsHwgkHTrXAAlCGlMq3qnWlUcM2KS192p3IqhFa5AJ7dBoXKBJIN7QJCcEWPvpJDAyIhV1N81GOOIAZNJDkhmYZTdrTFUAhtrrOzUt1ujxj4C2E201JZgcZ/VNWkawOh62secBqLWufgcqCvLDs0z3+CAZIwYe9xdLVepXJScFOKWhWQOd1rVoqqDTMGnV2U85AEN2cQw5h245yd7OLo8oxt4wVyYGyQnkXUadIa6K4xARA9+HALJ8vvfsW0kKnen3JQDkptFyiUKAIUrctSaSGh56uZGIGn3ZTLJ+99dlOpz/lcFOSQxrizjSBCQboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(tn){"use strict";tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7svWuXJMdxJWgRmVmP7gYIgEOOtLMjUY/R7v//OfthZ85KsyNRIgg0+lFVmRkx59o1czf38HhkVjXQAFE8TVRlRvjD3Nzsur28k19/fqXArxT4lQK/UuBXCvxKgV8p8EIU6F6onV+b+ZUCv1LgVwr8SoFfKfArBX6lgHT//O15/DHpUCOZH7Xz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xdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},79633:function(tn){"use strict";tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7tvXlzJzmSJQaSeWcd3TOzvT270mpN0ppM3/+raDWS6TJp/9jpObq6rqw8SZkDcI+HB3ccwR+zsruZZlUkI3A4HH48OByIq/T475EDjxx45MAjBx458MiBRw5ciANXF2rnsZlHDjxy4JEDjxx45MAjBx45kK7+l/96ezfigyCPq6vyX0p3SX4MK0yZev8Wpl18YQVu73z8djFU5zRUpyvlCYv+yUTS+2N2yksu4s09NuE0me7ch6Xv3B81WmSt/JNX/F6ba9rVNpgYaWTAA26bWaVVc5+VOTKdV3exHiD92J7ydqoBNsBa22MwlhmNrw5+2icNPOs9zIFYCW8uXNHCipX/1057Xl2WryHPPLma6H4jJo4wu6qK5Zy5EBnqmvIGUgX6fvbz0AuHzY3e7JhBT+RGup7fBfyXx9d3Kd3e3KWfn3xKN7UhnMuq+VnGblNKz9N1evXpOin/R/o1Gpe09ae3KX26U5/Vqj/qu44vkmtpS8aIY/3965RePUmJvaZnfphF6kvRJBkL71L6539N6c0vh01UWm9vqw0UWuS/2zI+fZ7L1Xe5z0w4/ON5qv7c6KmCdF3tcfb3oq+itPrzKqXbTym9/puUXv+mt8md3ZwBC62gRJRO7z4TuNg1hzuqxB7nEuru9397W2cKXl8EVLSaWhxBVYTIuYkQyjv9ucqxyLbmLkGJG3lGgYZ+i7RWhVfFrQxpjOXAeWs/HWgZORt+N2m/4SFYXmtGgQYxURVzhA/U6Lj8J75ZGRYaZzxNe1a+gUdbulsARulI/i8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H9/LZeiHUXHytHkniFL+8k/0ISO2WLRCIZuI015KOCAgYCDCAingSgQvU8otu9YEsL1zYFWOjW0SUjFiISapNUjDDKIWTY38AXuCALtYt/52lHR8VOC9WDnZ/XB6vTiA7UEB8QlNpHG30Ew3PIM8viGVa28CiSM16WskpraQnHMzInbKZmpmdlLr05dKxRw9sF71WH1Kx+UJRo6ofnxBe6O1tEjexMCk61P5me3GcFVsIa2cs1yar5EGzvG3FRopivTKxnuWGKOyDIdNe/+YbOM8CCLYRHqqpDMyd0p8Is4oC0STt4cZs628wWBbYnBECByU2ty32e5U9kTU7JoOMIGzAVIDuVTbZOOyETtJIz2r35ytseAijkAqz3KQnAQAvf0Kb2Rm1r4Miz470qd10IuBCQ8WrjeCpvH5AZs2GqjHnj5iOmDaiABrs28DSJNizJpTcp3VYd/cKAhVIZWBTjTqR9M2fIQGDFIbLznvV9tHncq8n3XY4cs9c+P0O6vTFw+4dYHW+ONu9veFb4GIm+J/LaXmBtdsEFdgFAA8Up9wTiocZaDRgbuB3DNjNmjQGvQ74fwJl5+NYwSun8H2aBo8h54oZTxALkTR9Zd/uT1Gsoi0bHIRf3l902VNxoWm3ctqzAaaBjmYGLDsTw9gg6XeY7graRINU7FDwtiyyExzvWOA+AneF5t9UF43Rvya0MzrR74jwhAqtE1YdjrUyTrQ5JypT/LI+izkPjTQJ67DEWrh1j/oWACsm/+FryLzaOpzYAg2TFI8kFGoP8Cq+8yTvVE1Chl4PeF1gIizRKgb+rPC5FLHYM72PZRw48cuCRA48ceOTAIwceOTDB2o8MeuTAIwceOfDIgUcOPHLgkQOX4cD/Dy5hqdeaBa56AAAAAElFTkSuQmCC"},36459:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return Oe}});function Oe($e){if($e==null)throw new TypeError("Cannot destructure "+$e)}},84279:function(tn,Kt,ve){"use strict";var Oe=Object.defineProperty,$e=Object.defineProperties,x=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,te=(a,y,b)=>y in a?Oe(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,ae=(a,y)=>{for(var b in y||(y={}))me.call(y,b)&&te(a,b,y[b]);if(Te)for(var b of Te(y))ie.call(y,b)&&te(a,b,y[b]);return a},ne=(a,y)=>$e(a,x(y)),oe=a=>typeof a=="symbol"?a:a+"",he=(a,y)=>{var b={};for(var z in a)me.call(a,z)&&y.indexOf(z)<0&&(b[z]=a[z]);if(a!=null&&Te)for(var z of Te(a))y.indexOf(z)<0&&ie.call(a,z)&&(b[z]=a[z]);return b};function re(a){return Array.isArray(a)}var se={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 ce(){return"window"in globalThis&&"document"in globalThis}function fe(){return"matchMedia"in window?window.matchMedia("(pointer: coarse)").matches:"ontouchstart"in window||navigator.maxTouchPoints>0}function pe(){return typeof navigator.vibrate=="function"}function le(){var a,y;if(!ce())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 Se(){if(!ce())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 xe(){return HTMLElement.prototype.hasOwnProperty("popover")}var ge={strings:se,_locale:"",_dirty:!1,_subscribers:[],_numberFormatter:void 0,get locale(){return ge._locale||(ge._locale=ce()?navigator.language.slice(0,5):"en-US"),ge._locale},set locale(a){ge._locale=a,ge._numberFormatter=void 0,ge.dirty=!0},get numberFormatter(){return ge._numberFormatter||(ge._numberFormatter=new Intl.NumberFormat(ge.locale)),ge._numberFormatter},merge(a,y){if(typeof a=="string"&&y)ge.strings[a]=ae(ae({},ge.strings[a]),y),ge.dirty=!0;else for(const b of Object.keys(a))ge.merge(b,a[b])},get dirty(){return ge._dirty},set dirty(a){ge._dirty||ge._dirty===a||(ge._dirty=!0,setTimeout(()=>{ge._dirty=!1,this._subscribers.forEach(y=>y==null?void 0:y())},0))},subscribe(a){return ge._subscribers.push(a),ge._subscribers.length-1},unsubscribe(a){a<0||a>=ge._subscribers.length||(ge._subscribers[a]=void 0)},update(a){let y=a.querySelectorAll("[data-l10n-tooltip]");for(const b of y){const z=b.getAttribute("data-l10n-tooltip");if(z){const ue=Me(z);ue&&b.setAttribute("data-tooltip",ue)}}y=a.querySelectorAll("[data-l10n-arial-label]");for(const b of y){const z=b.getAttribute("data-l10n-arial-label");if(z){const ue=Me(z);ue&&b.setAttribute("aria-label",ue)}}}};function Me(a,...y){if(a===void 0)return;let b="";const z=ge.locale;ge.strings[z]&&(b=ge.strings[z][a]);const ue=z.slice(0,2);if(!b&&ge.strings[ue]&&(b=ge.strings[ue][a]),b||(b=ge.strings.en[a]),!b)return;const Pe=/(%@|%([0-9]+)\$@)/g;let Ke=Pe.exec(b),tt=0;for(;Ke;){if(y[tt++]){const ht=Ke[2]?parseInt(Ke[2],10)-1:tt-1;let bt=y[ht];typeof bt=="number"&&(bt=ge.numberFormatter.format(bt)),b=b.replace(Ke[1],bt)}Ke=Pe.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"},be={blue:"#0072BD",orange:"#D95319",yellow:"#EDB120",purple:"#7E2F8E",green:"#77AC30",cyan:"#4DBEEE",red:"#A2142F"},Fe={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"},ke={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"},Ie={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"},Le={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 De(a){var y,b,z,ue,Pe,Ke;const tt=a.split("!");let ct,ht,bt,Bt=255,Gt=255,hn=255,xn=-1;const Cr=tt.length>0&&tt[0].startsWith("-");Cr&&(tt[0]=tt[0].slice(1));for(let ui=0;ui<tt.length;ui++){ct=Bt,ht=Gt,bt=hn;const xr=(y=tt[ui].trim().match(/^([A-Za-z\d-]+)/))==null?void 0:y[1],Gr=xr==null?void 0:xr.toLowerCase(),vi=xr&&(Ke=(Pe=(ue=(z=(b=ke[Gr])!=null?b:ke[Ie[xr]])!=null?z:be[xr])!=null?ue:Le[xr])!=null?Pe:ye[xr])!=null?Ke:tt[ui].trim();let qr=vi.match(/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);if(qr!=null&&qr[1]&&qr[2]&&qr[3])Bt=Math.max(0,Math.min(255,Number.parseInt(qr[1],16))),Gt=Math.max(0,Math.min(255,Number.parseInt(qr[2],16))),hn=Math.max(0,Math.min(255,Number.parseInt(qr[3],16)));else if(qr=vi.match(/^#([\da-f]{3})$/i),qr!=null&&qr[1]){const fa=Number.parseInt(qr[1][0],16),ja=Number.parseInt(qr[1][1],16),Oa=Number.parseInt(qr[1][2],16);Bt=Math.max(0,Math.min(255,fa*16+fa)),Gt=Math.max(0,Math.min(255,ja*16+ja)),hn=Math.max(0,Math.min(255,Oa*16+Oa))}else if(qr=vi.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),qr!=null&&qr[1]&&qr[2]&&qr[3])Bt=Math.max(0,Math.min(255,Number.parseInt(qr[1]))),Gt=Math.max(0,Math.min(255,Number.parseInt(qr[2]))),hn=Math.max(0,Math.min(255,Number.parseInt(qr[3])));else return;xn>=0&&(Bt=(1-xn)*Bt+xn*ct,Gt=(1-xn)*Gt+xn*ht,hn=(1-xn)*hn+xn*bt,xn=-1),ui+1<tt.length&&(xn=Math.max(0,Math.min(100,Number.parseInt(tt[++ui])))/100)}return xn>=0&&(Bt=xn*Bt+(1-xn)*ct,Gt=xn*Gt+(1-xn)*ht,hn=xn*hn+(1-xn)*bt),Cr&&(Bt=255-Bt,Gt=255-Gt,hn=255-hn),"#"+("00"+Math.round(Bt).toString(16)).slice(-2)+("00"+Math.round(Gt).toString(16)).slice(-2)+("00"+Math.round(hn).toString(16)).slice(-2)}function Be(a){var y,b;return a=a.trim(),(b=(y=Fe[a.toLowerCase()])!=null?y:Fe[Ie[a]])!=null?b:De(a)}function Ue(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 _e(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 We(a){let[y,b,z]=[a.h,a.s,a.l];y=(y+360)%360/60,z=Math.max(0,Math.min(z,1)),b=Math.max(0,Math.min(b,1));const ue=z<=.5?z*(b+1):z+b-z*b,Pe=z*2-ue;return{r:Math.round(255*_e(Pe,ue,y+2)),g:Math.round(255*_e(Pe,ue,y)),b:Math.round(255*_e(Pe,ue,y-2))}}function Ze(a){return a<0?0:a>255?255:Math.round(a)}function et(a){const{r:y,g:b,b:z}=a;let ue=((1<<24)+(Ze(y)<<16)+(Ze(b)<<8)+Ze(z)).toString(16).slice(1);return ue[0]===ue[1]&&ue[2]===ue[3]&&ue[4]===ue[5]&&ue[6]===ue[7]&&(ue=ue[0]+ue[2]+ue[4]),"#"+ue}function at(a){let{r:y,g:b,b:z}=a;y=y/255,b=b/255,z=z/255;const ue=Math.min(y,b,z),Pe=Math.max(y,b,z),Ke=Pe-ue;let tt,ct;Pe===ue?tt=0:y===Pe?tt=(b-z)/Ke:b===Pe?tt=2+(z-y)/Ke:z===Pe&&(tt=4+(y-b)/Ke),tt=Math.min(tt*60,360),tt<0&&(tt+=360);const ht=(ue+Pe)/2;return Pe===ue?ct=0:ht<=.5?ct=Ke/(Pe+ue):ct=Ke/(2-Pe-ue),{h:tt,s:ct,l:ht}}function pt(a){let y=Ue(a);if(!y)return a;let{h:b,s:z,l:ue}=at(y);return z+=.1,ue-=.1,et(We({h:b,s:z,l:ue}))}var Xe={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"},Ge={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},lt=[{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 dt(a,y,b){if(!/[A-Za-z\d]/.test(a)||(b==="up"&&(b=void 0),!y&&!b))return a;const z=a.codePointAt(0);if(z===void 0)return a;for(const ue of lt)if((!y||ue.variant===y)&&(!b||ue.style===b)&&z>=ue.offset&&z<ue.offset+ue.len){const Pe=ue.start+z-ue.offset;return String.fromCodePoint(Ge[Pe]||Pe)}return a}function st(a){var y;if((a<119808||a>120831)&&(a<8448||a>8527))return{char:String.fromCodePoint(a)};for(const b in Ge)if(Ge[b]===a){a=(y=b.codePointAt(0))!=null?y:0;break}for(const b of lt)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 nt(a){var y;let b="";for(const z of a){if("{}<>[]$&#^_%:'\u02DC".includes(z)){b+=z;continue}const ue=(y=z.codePointAt(0))!=null?y:0;let Pe=Xe[ue];if(Pe)Pe.startsWith("\\")?b+=Pe+" ":b+=Pe;else{const{char:Ke,variant:tt,style:ct}=st(ue);switch(Pe=Ke,tt){case"double-struck":Pe=`\\mathbb{${Pe}}`;break;case"fraktur":Pe=`\\mathfrak{${Pe}}`;break;case"script":Pe=`\\mathscr{${Pe}}`;break;case"sans-serif":Pe=`\\mathsf{${Pe}}`;break;case"monospace":Pe=`\\mathtt{${Pe}}`;break;case"calligraphic":Pe=`\\mathcal{${Pe}}`;break}switch(ct){case"bold":Pe=`\\mathbf{${Pe}}`;break;case"italic":Pe=`\\mathit{${Pe}}`;break;case"bolditalic":Pe=`\\mathbfit{${Pe}}`;break}b+=Pe}}return b}function rt(a){return a?Array.isArray(a)?a:typeof a=="object"&&"group"in a?a.group:[]:[]}var it={},gt=ae({},Xe),vt={},At={},Et={darr:"\\downarrow",dArr:"\\Downarrow",Darr:"\\Downarrow",lang:"\\langle",rang:"\\rangle",uarr:"\\uparrow",uArr:"\\Uparrow",Uarr:"\\Uparrow",N:"\\mathbb{N}",R:"\\mathbb{R}",Z:"\\mathbb{Z}",alef:"\\aleph",alefsym:"\\aleph",Alpha:"\\mathrm{A}",Beta:"\\mathrm{B}",bull:"\\bullet",Chi:"\\mathrm{X}",clubs:"\\clubsuit",cnums:"\\mathbb{C}",Complex:"\\mathbb{C}",Dagger:"\\ddagger",diamonds:"\\diamondsuit",empty:"\\emptyset",Epsilon:"\\mathrm{E}",Eta:"\\mathrm{H}",exist:"\\exists",harr:"\\leftrightarrow",hArr:"\\Leftrightarrow",Harr:"\\Leftrightarrow",hearts:"\\heartsuit",image:"\\Im",infin:"\\infty",Iota:"\\mathrm{I}",isin:"\\in",Kappa:"\\mathrm{K}",larr:"\\leftarrow",lArr:"\\Leftarrow",Larr:"\\Leftarrow",lrarr:"\\leftrightarrow",lrArr:"\\Leftrightarrow",Lrarr:"\\Leftrightarrow",Mu:"\\mathrm{M}",natnums:"\\mathbb{N}",Nu:"\\mathrm{N}",Omicron:"\\mathrm{O}",plusmn:"\\pm",rarr:"\\rightarrow",rArr:"\\Rightarrow",Rarr:"\\Rightarrow",real:"\\Re",reals:"\\mathbb{R}",Reals:"\\mathbb{R}",Rho:"\\mathrm{P}",sdot:"\\cdot",sect:"\\S",spades:"\\spadesuit",sub:"\\subset",sube:"\\subseteq",supe:"\\supseteq",Tau:"\\mathrm{T}",thetasym:"\\vartheta",weierp:"\\wp",Zeta:"\\mathrm{Z}"},ut={varGamma:"\\mathit{\\Gamma}",varDelta:"\\mathit{\\Delta}",varTheta:"\\mathit{\\Theta}",varLambda:"\\mathit{\\Lambda}",varXi:"\\mathit{\\Xi}",varPi:"\\mathit{\\Pi}",varSigma:"\\mathit{\\Sigma}",varUpsilon:"\\mathit{\\Upsilon}",varPhi:"\\mathit{\\Phi}",varPsi:"\\mathit{\\Psi}",varOmega:"\\mathit{\\Omega}",pmod:{def:"\\quad(\\operatorname{mod}\\ #1)",args:1,expand:!1,captureSelection:!1},mod:{def:"\\quad\\operatorname{mod}\\,\\,#1",args:1,expand:!1},bmod:{def:"\\;\\mathbin{\\operatorname{mod }}",expand:!1}},Ye={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}},Ve={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:Ye},"amsmath.sty":{package:ut,primitive:!0},"texvc.sty":{package:Et,primitive:!1}},de={" ":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},Ce=/[\w!@*()-=+{}\[\]\\';:?/.,~<>`|$%#&^" ]/,He,je;Se()?(He=new RegExp("\\p{Letter}","u"),je=new RegExp("[0-9\\p{Letter}]","u")):(He=/[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/,je=/[\da-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/);function Ae(a,y,b="mord",z){y!==void 0&&(it[a]={definitionType:"symbol",type:b,variant:z,codepoint:y},gt[y]||(gt[y]=a))}function Re(a,y,b){if(typeof a=="string"){for(let z=0;z<a.length;z++){const ue=a.charAt(z);Ae(ue,ue.codePointAt(0))}return}for(const[z,ue,Pe,Ke]of a)Ae(z,ue,Pe!=null?Pe:y,Ke!=null?Ke:b)}function ze(a,y){for(let b=a;b<=y;b++)Ae(String.fromCodePoint(b),b)}function Qe(a){var y;return(y=At[a])!=null?y:null}function ot(a,y){var b,z;if(y.length===0||y==="\\"||!y.startsWith("\\"))return[];const ue=[];for(const Ke in vt)Ke.startsWith(y)&&!vt[Ke].infix&&ue.push({match:Ke,frequency:(b=vt[Ke].frequency)!=null?b:0});for(const Ke in it)Ke.startsWith(y)&&ue.push({match:Ke,frequency:(z=it[Ke].frequency)!=null?z:0});const Pe=y.substring(1);for(const Ke of Object.keys(a.options.macros))Ke.startsWith(Pe)&&ue.push({match:"\\"+Ke,frequency:0});return ue.sort((Ke,tt)=>{var ct,ht;return Ke.frequency===tt.frequency?Ke.match.length===tt.match.length?Ke.match<tt.match?-1:1:Ke.match.length-tt.match.length:((ct=tt.frequency)!=null?ct:0)-((ht=Ke.frequency)!=null?ht:0)}),ue.map(Ke=>Ke.match)}function mt(a){let y="auto";const b=a.match(/:([^=]+)/);return b&&(y=b[1].trim()),y}function Ot(a){if(!a)return[];const y=[];let b=a.split("]");if(b[0].startsWith("[")){y.push({isOptional:!0,type:mt(b[0].slice(1))});for(let z=1;z<=b.length;z++)y.push(...Ot(b[z]))}else if(b=a.split("}"),b[0].startsWith("{")){y.push({isOptional:!1,type:mt(b[0].slice(1))});for(let z=1;z<=b.length;z++)y.push(...Ot(b[z]))}return y}function xt(a){if(!a)return"";let y="",b=!0;for(const z of a)typeof z.value=="string"?y+=z.value:b=!1;return b?y:""}function Wt(a,y){typeof a=="string"&&(a=[a]);const b={tabular:!1,params:[],createAtom:y};for(const z of a)At[z]=b}function bn(a,y,b){typeof a=="string"&&(a=[a]);const ue={tabular:!0,params:Ot(y),createAtom:b};for(const Pe of a)At[Pe]=ue}function Ft(a,y,b){var z,ue;b||(b={});const Pe={definitionType:"function",params:Ot(y),ifMode:b.ifMode,isFunction:(z=b.isFunction)!=null?z:!1,applyMode:b.applyMode,infix:(ue=b.infix)!=null?ue:!1,parse:b.parse,createAtom:b.createAtom,applyStyle:b.applyStyle,serialize:b.serialize,render:b.render};if(typeof a=="string")vt["\\"+a]=Pe;else for(const Ke of a)vt["\\"+Ke]=Pe}var Qt;function Vt(a){return Qt||(Qt=Pt(Ve)),a?Pt(ae(ae({},Qt),a)):Qt}function yn(a,y){var b,z,ue,Pe;if(typeof a=="string"){let Ke=0;const tt=a;return/(^|[^\\])#1/.test(tt)&&(Ke=1),/(^|[^\\])#2/.test(tt)&&(Ke=2),/(^|[^\\])#3/.test(tt)&&(Ke=3),/(^|[^\\])#4/.test(tt)&&(Ke=4),/(^|[^\\])#5/.test(tt)&&(Ke=5),/(^|[^\\])#6/.test(tt)&&(Ke=6),/(^|[^\\])#7/.test(tt)&&(Ke=7),/(^|[^\\])#8/.test(tt)&&(Ke=8),/(^|[^\\])#9/.test(tt)&&(Ke=9),{expand:(b=y==null?void 0:y.expand)!=null?b:!0,captureSelection:(z=y==null?void 0:y.captureSelection)!=null?z:!0,args:Ke,def:tt}}return ae({expand:(ue=y==null?void 0:y.expand)!=null?ue:!0,captureSelection:(Pe=y==null?void 0:y.captureSelection)!=null?Pe:!0,args:0},a)}function Pt(a){if(!a)return{};const y={};for(const b of Object.keys(a)){const z=a[b];if(z==null)delete y[b];else if(typeof z=="object"&&"package"in z)for(const ue of Object.keys(z.package))y[ue]=yn(z.package[ue],{expand:!z.primitive,captureSelection:z.captureSelection});else y[b]=yn(z)}return y}function zt(a,y="math"){if(!a||a.length===0)return null;let b=null;if(a.startsWith("\\")){if(b=vt[a],b)return!b.ifMode||b.ifMode===y?b:null;y==="math"?b=it[a]:de[a]&&(b={definitionType:"symbol",type:"mord",codepoint:de[a]})}else if(y==="math"){if(b=it[a],!b&&a.length===1){const z=gn("math",a.codePointAt(0));return z.startsWith("\\")?ne(ae({},zt(z,"math")),{command:z}):null}}else de[a]?b={definitionType:"symbol",type:"mord",codepoint:de[a]}:y==="text"&&(b={definitionType:"symbol",type:"mord",codepoint:a.codePointAt(0)});return b!=null?b:null}function an(a,y){if(!a.startsWith("\\"))return null;const b=a.slice(1);return y[b]}function gn(a,y){if(y===void 0)return"";if(a==="math"&&gt[y])return gt[y];if(a==="text"){const b=Object.keys(de).find(z=>de[z]===y);return b||String.fromCodePoint(y)}return String.fromCodePoint(y)}var Tn=[0,.68889,0,0,.72222],Gn=[0,.68889,0,0,.66667],fr=[0,.68889,0,0,.77778],Tr=[0,.68889,0,0,.61111],Wr=[.16667,.68889,0,0,.77778],ti=[0,.68889,0,0,.55556],Dr=[0,0,0,0,.25],ri=[0,.825,0,0,2.33334],Mi=[0,.9,0,0,2.33334],$r=[0,.68889,0,0,.54028],Xi=[-.03598,.46402,0,0,.5],Ii=[-.13313,.36687,0,0,1],nn=[.01354,.52239,0,0,1],Jn=[.01354,.52239,0,0,1.11111],hr=[0,.54986,0,0,1],Kn=[0,.69224,0,0,.5],Hr=[0,.43056,0,0,1],Pr=[.08198,.58198,0,0,.77778],Or=[.19444,.69224,0,0,.41667],Mr=[.1808,.675,0,0,1],Ut=[.19444,.69224,0,0,.83334],$t=[.13667,.63667,0,0,1],qt=[-.064,.437,0,0,1.334],Nn=[.08167,.58167,0,0,.77778],jt=[0,.69224,0,0,.72222],on=[0,.69224,0,0,.66667],kn=[-.13313,.36687,0,0,.77778],pn=[.06062,.54986,0,0,.77778],Bn=[0,.69224,0,0,.77778],Rn=[.25583,.75583,0,0,.77778],pr=[.25142,.75726,0,0,.77778],ii=[.20576,.70576,0,0,.77778],Lr=[.30274,.79383,0,0,.77778],Ir=[.22958,.72958,0,0,.77778],Ur=[.1808,.675,0,0,.77778],Zr=[.13667,.63667,0,0,.77778],ln=[.13597,.63597,0,0,.77778],Jt=[.03517,.54986,0,0,.77778],cn=[0,.675,0,0,.77778],er=[.19444,.69224,0,0,.61111],Ar=[0,.54986,0,0,.76042],Fn=[0,.54986,0,0,.66667],lr=[.0391,.5391,0,0,.77778],ir=[.03517,.54986,0,0,1.33334],wr=[.38569,.88569,0,0,.77778],Vr=[.23222,.74111,0,0,.77778],Zn=[.19444,.69224,0,0,.77778],_i=[0,.37788,0,0,.5],gi=[0,.54986,0,0,.72222],ma=[0,.69224,0,0,.83334],ga=[.11111,.69224,0,0,.66667],la=[.26167,.75726,0,0,.77778],_a=[.48256,.98256,0,0,.77778],$i=[.28481,.79383,0,0,.77778],Ui=[.08167,.58167,0,0,.22222],ya=[.08167,.58167,0,0,.38889],Ka=[0,.43056,.04028,0,.66667],Ri=[.41951,.91951,0,0,.77778],ca=[.24982,.74947,0,0,.38865],Na=[.08319,.58283,0,0,.75623],ro=[0,.10803,0,0,.27764],Ya=[0,.47534,0,0,.50181],Wi=[.18906,.47534,0,0,.50181],mn=[0,.69141,0,0,.50181],sn=[.24982,.74947,0,0,.27764],jn=[0,.69141,0,0,.21471],ar=[.25,.75,0,0,.44722],gr=[0,.64444,0,0,.575],Xr=[.08556,.58556,0,0,.89444],ai=[0,.69444,0,0,.89444],pi=[0,.68611,0,0,.9],Li=[0,.68611,0,0,.86944],yi=[.25,.75,0,0,.575],ji=[.25,.75,0,0,.31944],qi=[0,.69444,0,0,.63889],oi=[0,.69444,0,0,.31944],Sn=[0,.44444,0,0,.63889],Ln=[0,.44444,0,0,.51111],Yn=[0,.69444,0,0,.575],qe=[.13333,.63333,0,0,.89444],yt=[0,.44444,0,0,.31944],St=[0,.69444,0,0,.86944],Dt=[0,.68611,0,0,.69166],Tt=[0,.68611,0,0,.83055],Nt=[0,.68611,0,0,.89444],_t=[0,.69444,0,0,.60278],rn=[.19444,.69444,0,0,.51111],vn=[0,.69444,0,0,.83055],Vn=[-.10889,.39111,0,0,1.14999],$n=[.19444,.69444,0,0,.575],Xn=[.19444,.69444,0,0,1.14999],On=[.19444,.69444,0,0,.70277],In=[.05556,.75,0,0,.575],En=[0,.68611,0,0,.95833],Hn=[.08556,.58556,0,0,.76666],mr=[-.02639,.47361,0,0,.575],Qn=[0,.44444,0,0,.89444],or=[0,.55556,0,0,.76666],ur=[-.10889,.39111,0,0,.89444],yr=[.00222,.50222,0,0,.89444],Sr=[.19667,.69667,0,0,.89444],kt=[.08556,.58556,0,0,1.14999],It=[0,.69444,0,0,.70277],en=[-.02778,.47222,0,0,.575],Xt=[.25,.75,0,0,.51111],wn=[-.13889,.36111,0,0,1.14999],zn=[.19444,.69444,0,0,1.02222],_n=[.12963,.69444,0,0,.89444],dr=[.19444,.69444,0,0,.44722],Zt=[0,.64444,.13167,0,.59111],Ht=[.19444,.64444,.13167,0,.59111],Yt=[0,.68611,.17208,0,.8961],Cn=[.19444,.44444,.105,0,.53222],sr=[0,.44444,.085,0,.82666],Wn=[0,.69444,.06709,0,.59111],Dn=[0,.69444,.12945,0,.35555],kr=[0,.69444,0,0,.94888],Er=[0,.69444,.11472,0,.59111],Rr=[0,.68611,.10778,0,.88555],br=[0,.69444,.07939,0,.62055],tr=[0,.69444,.12417,0,.30667],Nr=[0,.64444,.13556,0,.51111],Qr=[.19444,.64444,.13556,0,.51111],_r=[0,.68333,.16389,0,.74333],Fr=[.19444,.43056,.08847,0,.46],jr=[0,.43056,.07514,0,.71555],Pi=[0,.69444,.06646,0,.51111],di=[0,.69444,0,0,.83129],Ai=[0,.69444,.1225,0,.51111],Ti=[0,.68333,.09403,0,.76666],Hi=[0,.68333,.11111,0,.76666],Oi=[0,.69444,.06961,0,.51444],ua=[0,.69444,0,0,.27778],Ni=[.25,.75,0,0,.38889],mi=[0,.64444,0,0,.5],ea=[0,.69444,0,0,.77778],da=[0,.68333,0,0,.75],Si=[0,.68333,0,0,.77778],$a=[0,.68333,0,0,.68056],io=[0,.68333,0,0,.72222],Za=[.25,.75,0,0,.5],Ea=[.25,.75,0,0,.27778],Yi=[0,.69444,0,0,.5],xo=[0,.69444,0,0,.55556],Da=[0,.43056,0,0,.44445],Fi=[0,.43056,0,0,.5],Ba=[.19444,.43056,0,0,.55556],lo=[0,.43056,0,0,.55556],za=[.08333,.58333,0,0,.77778],ao=[0,.43056,0,0,.27778],pa=[0,.66786,0,0,.27778],po=[0,.69444,0,0,.75],mo=[0,.66786,0,0,.5],fo=[0,.68333,0,0,.625],vo=[.19444,.69444,0,0,.44445],Mo=[0,.69444,0,0,.72222],Ho=[.19444,.69444,0,0,.5],ho=[.19444,.69444,0,0,1],ko=[.011,.511,0,0,1.126],$o=[.19444,.69444,0,0,.61111],Yo=[.05556,.75,0,0,.5],as=[0,.68333,0,0,.83334],Bo=[.0391,.5391,0,0,.66667],wo=[-.05555,.44445,0,0,.5],La=[0,.43056,0,0,.77778],Ha=[0,.55556,0,0,.66667],uo=[-.03625,.46375,0,0,.77778],bo=[-.01688,.48312,0,0,.77778],Fo=[.0391,.5391,0,0,1],es=[0,.69444,0,0,.61111],ms=[-.03472,.46528,0,0,.5],_s=[.25,.75,0,0,.44445],Fs=[-.14236,.35764,0,0,1],os=[.244,.744,0,0,.412],Is=[.19444,.69444,0,0,.88889],to=[.12963,.69444,0,0,.77778],Aa=[.19444,.69444,0,0,.38889],Do=[.011,.511,0,0,1.638],To=[.19444,.69444,0,0,0],Ct=[0,.44444,0,0,.575],Lt=[.19444,.44444,0,0,.575],dn=[0,.68611,0,0,.75555],un=[0,.69444,0,0,.66759],Un=[0,.68611,0,0,.80555],Pn=[0,.68611,.08229,0,.98229],Mn=[0,.68611,0,0,.76666],nr=[0,.44444,0,0,.58472],rr=[.19444,.44444,0,0,.6118],vr=[.19444,.43056,0,0,.5],Jr=[0,.68333,.02778,.08334,.76278],zr=[0,.68333,.08125,.05556,.83125],wi=[0,.43056,0,.05556,.48472],Yr=[.19444,.43056,0,.08334,.51702],ci=[.25,.75,0,0,.42778],ei=[0,.69444,0,0,.55],Ci=[0,.69444,0,0,.73334],Vi=[0,.69444,0,0,.79445],oa=[0,.69444,0,0,.51945],ha=[0,.69444,0,0,.70278],ta=[0,.69444,0,0,.76389],ba=[.25,.75,0,0,.34306],Ki=[0,.69444,0,0,.56111],xa=[0,.69444,0,0,.25556],Ma=[.19444,.45833,0,0,.56111],li=[0,.45833,0,0,.56111],fi=[0,.69444,0,0,.30556],Di=[0,.69444,0,0,.58056],Ia=[0,.69444,0,0,.67223],va=[0,.69444,0,0,.85556],Ca=[0,.69444,0,0,.55834],wa=[0,.65556,.11156,0,.5],Ra=[0,.69444,.08094,0,.70834],Fa=[.17014,0,0,0,.44445],Ga=[0,.69444,.0799,0,.5],qa=[0,.69444,0,0,.73752],Wo=[0,.69444,.09205,0,.5],no=[0,.69444,.09031,0,.77778],Io=[0,.69444,.07816,0,.27778],vs=[0,.69444,.00316,0,.5],Ja=[.19444,.69444,0,0,.83334],na=[.05556,.75,0,0,.83334],ra=[0,.75,0,0,.5],Sa=[.125,.08333,0,0,.27778],Zi=[0,.08333,0,0,.27778],bi=[0,.65556,0,0,.5],ia=[0,.69444,0,0,.47222],Gi=[0,.69444,0,0,.66667],Pa=[0,.69444,0,0,.59722],Ua=[0,.69444,0,0,.54167],Qa=[0,.69444,0,0,.70834],ka=[.25,.75,0,0,.28889],oo=[0,.69444,0,0,.51667],Oo=[0,.44444,0,0,.44445],So=[.19444,.44444,0,0,.51667],jo=[0,.44444,0,0,.38333],ts=[0,.44444,0,0,.51667],_o=[0,.69444,0,0,.83334],ks=[.35001,.85,0,0,.45834],xs=[.35001,.85,0,0,.57778],js=[.35001,.85,0,0,.41667],ns=[.35001,.85,0,0,.58334],Ko=[0,.72222,0,0,.55556],ws=[1e-5,.6,0,0,.66667],ss=[1e-5,.6,0,0,.77778],qo=[.25001,.75,0,0,.94445],Ls=[.306,.805,.19445,0,.47222],Es=[.30612,.805,.19445,0,.47222],Qo=[.25001,.75,0,0,.83334],Zs=[.35001,.85,0,0,.47222],Ol=[.25001,.75,0,0,1.11111],xl=[.65002,1.15,0,0,.59722],ls=[.65002,1.15,0,0,.81111],Co=[.65002,1.15,0,0,.47222],cs=[.65002,1.15,0,0,.66667],Gs=[0,.75,0,0,1],tl=[.55001,1.05,0,0,1.27778],Jo=[.862,1.36,.44445,0,.55556],No=[.86225,1.36,.44445,0,.55556],Zo=[.55001,1.05,0,0,1.11111],Ks=[.65002,1.15,0,0,.52778],As=[.65002,1.15,0,0,.61111],zs=[.55001,1.05,0,0,1.51112],eo=[.95003,1.45,0,0,.73611],xi=[.95003,1.45,0,0,1.04445],Qi=[.95003,1.45,0,0,.52778],Ta=[.95003,1.45,0,0,.75],Va=[0,.75,0,0,1.44445],Go=[.95003,1.45,0,0,.58334],Xo=[1.25003,1.75,0,0,.79167],gl=[1.25003,1.75,0,0,1.27778],Js=[1.25003,1.75,0,0,.58334],Dl=[1.25003,1.75,0,0,.80556],Ps=[0,.825,0,0,1.8889],Il=[1.25003,1.75,0,0,.63889],ac=[.64502,1.155,0,0,.875],oc=[1e-5,.6,0,0,.875],Kc=[-99e-5,.601,0,0,.66667],Rl=[.64502,1.155,0,0,.66667],Bl=[1e-5,.9,0,0,.88889],mu=[.65002,1.15,0,0,.88889],Al=[.90001,0,0,0,.88889],Qc=[-.00499,.605,0,0,1.05556],sc=[0,.12,0,0,.45],aa=[0,.61111,0,0,.525],wl=[.08333,.69444,0,0,.525],vu=[-.08056,.53055,0,0,.525],gu=[-.05556,.55556,0,0,.525],il=[0,.43056,0,0,.525],Ts=[.22222,.43056,0,0,.525],gc=[0,0,0,0,.525],ju={"AMS-Regular":{32:Dr,65:Tn,66:Gn,67:Tn,68:Tn,69:Gn,70:Tr,71:fr,72:fr,73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:fr,76:Gn,77:[0,.68889,0,0,.94445],78:Tn,79:Wr,80:Tr,81:Wr,82:Tn,83:ti,84:Gn,85:Tn,86:Tn,87:[0,.68889,0,0,1],88:Tn,89:Tn,90:Gn,107:ti,160:Dr,165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:ti,295:$r,710:ri,732:Mi,770:ri,771:Mi,989:Nn,1008:Ka,8245:[0,.54986,0,0,.275],8463:$r,8487:Tn,8498:ti,8502:Gn,8503:[0,.68889,0,0,.44445],8504:Gn,8513:[0,.68889,0,0,.63889],8592:Xi,8594:Xi,8602:Ii,8603:Ii,8606:nn,8608:nn,8610:Jn,8611:Jn,8619:hr,8620:hr,8621:[-.13313,.37788,0,0,1.38889],8622:Ii,8624:Kn,8625:Kn,8630:Hr,8631:Hr,8634:Pr,8635:Pr,8638:Or,8639:Or,8642:Or,8643:Or,8644:Mr,8646:Mr,8647:Mr,8648:Ut,8649:Mr,8650:Ut,8651:nn,8652:nn,8653:Ii,8654:Ii,8655:Ii,8666:$t,8667:$t,8669:[-.13313,.37788,0,0,1],8672:qt,8674:qt,8705:[0,.825,0,0,.5],8708:ti,8709:Nn,8717:[0,.43056,0,0,.42917],8722:Xi,8724:[.08198,.69224,0,0,.77778],8726:Nn,8733:Bn,8736:jt,8737:jt,8738:[.03517,.52239,0,0,.72222],8739:Ui,8740:[.25142,.74111,0,0,.27778],8741:ya,8742:[.25142,.74111,0,0,.5],8756:on,8757:on,8764:kn,8765:[-.13313,.37788,0,0,.77778],8769:kn,8770:uo,8774:Lr,8776:bo,8778:Nn,8782:pn,8783:pn,8785:Pr,8786:Pr,8787:Pr,8790:Bn,8791:Ir,8796:[.08198,.91667,0,0,.77778],8806:Rn,8807:Rn,8808:pr,8809:pr,8812:[.25583,.75583,0,0,.5],8814:ii,8815:ii,8816:Lr,8817:Lr,8818:Ir,8819:Ir,8822:Ur,8823:Ur,8828:Zr,8829:Zr,8830:Ir,8831:Ir,8832:ii,8833:ii,8840:Lr,8841:Lr,8842:ln,8843:ln,8847:Jt,8848:Jt,8858:Pr,8859:Pr,8861:Pr,8862:cn,8863:cn,8864:cn,8865:cn,8872:[0,.69224,0,0,.61111],8873:jt,8874:[0,.69224,0,0,.88889],8876:Tr,8877:Tr,8878:Tn,8879:Tn,8882:Jt,8883:Jt,8884:Zr,8885:Zr,8888:[0,.54986,0,0,1.11111],8890:Ba,8891:er,8892:er,8901:[0,.54986,0,0,.27778],8903:Nn,8905:Nn,8906:Nn,8907:Bn,8908:Bn,8909:[-.03598,.46402,0,0,.77778],8910:Ar,8911:Ar,8912:Jt,8913:Jt,8914:Fn,8915:Fn,8916:on,8918:lr,8919:lr,8920:ir,8921:ir,8922:wr,8923:wr,8926:Zr,8927:Zr,8928:Lr,8929:Lr,8934:Vr,8935:Vr,8936:Vr,8937:Vr,8938:ii,8939:ii,8940:Lr,8941:Lr,8994:Zn,8995:Zn,9416:[.15559,.69224,0,0,.90222],9484:Kn,9488:Kn,9492:_i,9496:_i,9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:cn,9633:cn,9650:gi,9651:gi,9654:Jt,9660:gi,9661:gi,9664:Jt,9674:ga,9733:[.19444,.69224,0,0,.94445],10003:ma,10016:ma,10731:ga,10846:[.19444,.75583,0,0,.61111],10877:Zr,10878:Zr,10885:Rn,10886:Rn,10887:ln,10888:ln,10889:la,10890:la,10891:_a,10892:_a,10901:Zr,10902:Zr,10933:pr,10934:pr,10935:la,10936:la,10937:la,10938:la,10949:Rn,10950:Rn,10955:$i,10956:$i,57350:Ui,57351:ya,57352:Nn,57353:Ka,57356:pr,57357:pr,57358:Ri,57359:Lr,57360:Lr,57361:Ri,57366:pr,57367:pr,57368:pr,57369:pr,57370:ln,57371:ln},"Caligraphic-Regular":{32:Dr,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:Dr},"Fraktur-Regular":{32:Dr,33:[0,.69141,0,0,.29574],34:jn,38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:ca,41:ca,42:[0,.62119,0,0,.27764],43:Na,44:ro,45:Na,46:ro,47:[.24982,.74947,0,0,.50181],48:Ya,49:Ya,50:Ya,51:Wi,52:Wi,53:Wi,54:mn,55:Wi,56:mn,57:Wi,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:sn,93:sn,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:Dr,8216:jn,8217:jn,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:Dr,33:[0,.69444,0,0,.35],34:_t,35:[.19444,.69444,0,0,.95833],36:In,37:[.05556,.75,0,0,.95833],38:ai,39:oi,40:ar,41:ar,42:[0,.75,0,0,.575],43:qe,44:[.19444,.15556,0,0,.31944],45:jo,46:[0,.15556,0,0,.31944],47:yi,48:gr,49:gr,50:gr,51:gr,52:gr,53:gr,54:gr,55:gr,56:gr,57:gr,58:yt,59:[.19444,.44444,0,0,.31944],60:Xr,61:ur,62:Xr,63:[0,.69444,0,0,.54305],64:ai,65:Li,66:[0,.68611,0,0,.81805],67:Tt,68:[0,.68611,0,0,.88194],69:dn,70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:pi,73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:Dt,77:[0,.68611,0,0,1.09166],78:pi,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:Li,89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:ji,92:yi,93:ji,94:Yn,95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:qi,99:Ln,100:qi,101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:qi,105:oi,106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:oi,109:[0,.44444,0,0,.95833],110:Sn,111:Ct,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:Sn,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:Ln,123:yi,124:ji,125:yi,126:[.35,.34444,0,0,.575],160:Dr,163:[0,.69444,0,0,.86853],168:Yn,172:[0,.44444,0,0,.76666],176:St,177:qe,184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:qe,216:[.04861,.73472,0,0,.89444],223:Pa,230:[0,.44444,0,0,.83055],247:qe,248:[.09722,.54167,0,0,.575],305:yt,338:[0,.68611,0,0,1.16944],339:Qn,567:[.19444,.44444,0,0,.35139],710:Yn,711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:Yn,715:Yn,728:Yn,729:oi,730:St,732:Yn,733:Yn,915:Dt,916:En,920:Nt,923:Un,926:Mn,928:pi,931:Tt,933:Nt,934:Tt,936:Nt,937:Tt,8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:oi,8217:oi,8220:_t,8221:_t,8224:rn,8225:rn,8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:un,8465:vn,8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:vn,8501:It,8592:Vn,8593:$n,8594:Vn,8595:$n,8596:Vn,8597:yi,8598:Xn,8599:Xn,8600:Xn,8601:Xn,8636:Vn,8637:Vn,8640:Vn,8641:Vn,8656:Vn,8657:On,8658:Vn,8659:On,8660:Vn,8661:[.25,.75,0,0,.70277],8704:qi,8706:[0,.69444,.06389,0,.62847],8707:qi,8709:In,8711:En,8712:Hn,8715:Hn,8722:qe,8723:qe,8725:yi,8726:yi,8727:en,8728:mr,8729:mr,8730:[.18,.82,0,0,.95833],8733:Qn,8734:[0,.44444,0,0,1.14999],8736:jt,8739:ji,8741:yi,8743:or,8744:or,8745:or,8746:or,8747:[.19444,.69444,.12778,0,.56875],8764:ur,8768:[.19444,.69444,0,0,.31944],8771:yr,8776:[.02444,.52444,0,0,.89444],8781:yr,8801:yr,8804:Sr,8805:Sr,8810:kt,8811:kt,8826:Xr,8827:Xr,8834:Xr,8835:Xr,8838:Sr,8839:Sr,8846:or,8849:Sr,8850:Sr,8851:or,8852:or,8853:qe,8854:qe,8855:qe,8856:qe,8857:qe,8866:It,8867:It,8868:ai,8869:ai,8900:mr,8901:[-.02639,.47361,0,0,.31944],8902:en,8968:Xt,8969:Xt,8970:Xt,8971:Xt,8994:wn,8995:wn,9651:zn,9657:en,9661:zn,9667:en,9711:Xn,9824:_n,9825:_n,9826:_n,9827:_n,9837:[0,.75,0,0,.44722],9838:dr,9839:dr,10216:ar,10217:ar,10815:pi,10927:Sr,10928:Sr,57376:To},"Main-BoldItalic":{32:Dr,33:[0,.69444,.11417,0,.38611],34:br,35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:Dn,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:Zt,49:Zt,50:Zt,51:Zt,52:Ht,53:Zt,54:Zt,55:Ht,56:Zt,57:Zt,58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:Er,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:Yt,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:Yt,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:Wn,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:Cn,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:Cn,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:Dr,168:[0,.69444,.11473,0,.59111],176:kr,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:sr,248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:sr,567:[.19444,.44444,.04611,0,.385],710:Wn,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:Dn,730:kr,732:Er,733:Er,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:Yt,931:[0,.68611,.11431,0,.82666],933:Rr,934:[0,.68611,.05632,0,.82666],936:Rr,937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:Dn,8217:Dn,8220:[0,.69444,.16772,0,.62055],8221:br},"Main-Italic":{32:Dr,33:tr,34:Oi,35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:tr,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:Nr,49:Nr,50:Nr,51:Nr,52:Qr,53:Nr,54:Nr,55:Qr,56:Nr,57:Nr,58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:Ai,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:_r,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:_r,79:Ti,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:_r,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:Pi,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:Fr,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:Fr,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:Dr,168:[0,.66786,.10474,0,.51111],176:di,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:jr,248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:jr,710:Pi,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:di,732:[0,.66786,.11585,0,.51111],733:Ai,915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:Ti,923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:_r,931:[0,.68333,.12028,0,.71555],933:Hi,934:[0,.68333,.05986,0,.71555],936:Hi,937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:tr,8217:tr,8220:[0,.69444,.1685,0,.51444],8221:Oi,8463:$r},"Main-Regular":{32:Dr,33:ua,34:Yi,35:Ja,36:Yo,37:na,38:ea,39:ua,40:Ni,41:Ni,42:ra,43:za,44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:Za,48:mi,49:mi,50:mi,51:mi,52:mi,53:mi,54:mi,55:mi,56:mi,57:mi,58:ao,59:[.19444,.43056,0,0,.27778],60:lr,61:kn,62:lr,63:ia,64:ea,65:da,66:[0,.68333,0,0,.70834],67:io,68:[0,.68333,0,0,.76389],69:$a,70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:da,73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:Si,76:fo,77:[0,.68333,0,0,.91667],78:da,79:Si,80:$a,81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:io,85:da,86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:da,89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:Ea,92:Za,93:Ea,94:Yi,95:[.31,.12056,.02778,0,.5],97:Fi,98:xo,99:Da,100:xo,101:Da,102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:xo,105:pa,106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:ua,109:[0,.43056,0,0,.83334],110:lo,111:Fi,112:Ba,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:lo,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:Da,123:Za,124:Ea,125:Za,126:[.35,.31786,0,0,.5],160:Dr,163:[0,.69444,0,0,.76909],167:vo,168:mo,172:[0,.43056,0,0,.66667],176:po,177:za,182:$o,184:Fa,198:[0,.68333,0,0,.90278],215:za,216:[.04861,.73194,0,0,.77778],223:Yi,230:[0,.43056,0,0,.72222],247:za,248:[.09722,.52778,0,0,.5],305:ao,338:[0,.68333,0,0,1.01389],339:La,567:[.19444,.43056,0,0,.30556],710:Yi,711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:Yi,715:Yi,728:Yi,729:pa,730:po,732:mo,733:Yi,915:fo,916:as,920:Si,923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:da,931:io,933:Si,934:io,936:Si,937:io,8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:ua,8217:ua,8220:Yi,8221:Yi,8224:vo,8225:vo,8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:$r,8465:Mo,8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:Mo,8501:es,8592:Ii,8593:Ho,8594:Ii,8595:Ho,8596:Ii,8597:Za,8598:ho,8599:ho,8600:ho,8601:ho,8614:[.011,.511,0,0,1],8617:ko,8618:ko,8636:Ii,8637:Ii,8640:Ii,8641:Ii,8652:[.011,.671,0,0,1],8656:Ii,8657:$o,8658:Ii,8659:$o,8660:Ii,8661:[.25,.75,0,0,.61111],8704:xo,8706:[0,.69444,.05556,.08334,.5309],8707:xo,8709:Yo,8711:as,8712:Bo,8715:Bo,8722:za,8723:za,8725:Za,8726:Za,8727:ms,8728:wo,8729:wo,8730:[.2,.8,0,0,.83334],8733:La,8734:Hr,8736:jt,8739:Ea,8741:Za,8743:Ha,8744:Ha,8745:Ha,8746:Ha,8747:[.19444,.69444,.11111,0,.41667],8764:kn,8768:[.19444,.69444,0,0,.27778],8771:uo,8773:[-.022,.589,0,0,1],8776:bo,8781:uo,8784:[-.133,.67,0,0,.778],8801:uo,8804:ln,8805:ln,8810:Fo,8811:Fo,8826:lr,8827:lr,8834:lr,8835:lr,8838:ln,8839:ln,8846:Ha,8849:ln,8850:ln,8851:Ha,8852:Ha,8853:za,8854:za,8855:za,8856:za,8857:za,8866:es,8867:es,8868:ea,8869:ea,8872:[.249,.75,0,0,.867],8900:wo,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:_s,8969:_s,8970:_s,8971:_s,8994:Fs,8995:Fs,9136:os,9137:os,9651:Is,9657:ms,9661:Is,9667:ms,9711:ho,9824:to,9825:to,9826:to,9827:to,9837:[0,.75,0,0,.38889],9838:Aa,9839:Aa,10216:Ni,10217:Ni,10222:os,10223:os,10229:[.011,.511,0,0,1.609],10230:Do,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:Do,10815:da,10927:ln,10928:ln,57376:To},"Math-BoldItalic":{32:Dr,48:Ct,49:Ct,50:Ct,51:Lt,52:Lt,53:Lt,54:gr,55:Lt,56:gr,57:Lt,65:Li,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:Pn,73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:dn,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:un,105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:nr,112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:Dr,915:[0,.68611,.15972,0,.65694],916:En,920:[0,.68611,.03194,0,.86722],923:Un,926:[0,.68611,.07458,0,.84125],928:Pn,931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:Mn,936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:nr,960:[0,.44444,.03704,0,.68241],961:rr,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:rr,1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:Dr,48:Fi,49:Fi,50:Fi,51:vr,52:vr,53:vr,54:mi,55:vr,56:mi,57:vr,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:zr,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:Jr,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:wi,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:Dr,915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:Jr,923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:zr,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:wi,960:[0,.43056,.03588,0,.57003],961:Yr,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:Yr,1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:Dr,33:[0,.69444,0,0,.36667],34:Ca,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:fi,40:ci,41:ci,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:ei,49:ei,50:ei,51:ei,52:ei,53:ei,54:ei,55:ei,56:ei,57:ei,58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:oa,64:Ci,65:Ci,66:Ci,67:ha,68:Vi,69:[0,.69444,0,0,.64167],70:es,71:Ci,72:Vi,73:[0,.69444,0,0,.33056],74:oa,75:ta,76:Di,77:[0,.69444,0,0,.97778],78:Vi,79:Vi,80:ha,81:[.10556,.69444,0,0,.79445],82:ha,83:es,84:Ci,85:ta,86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:Ci,89:[0,.69444,.0275,0,.73334],90:Ia,91:ba,93:ba,94:ei,95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:Ki,99:[0,.45833,0,0,.48889],100:Ki,101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:Ki,105:xa,106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:xa,109:[0,.45833,0,0,.86667],110:li,111:[0,.45833,0,0,.55],112:Ma,113:Ma,114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:li,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:Dr,168:ei,176:Ci,180:ei,184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:ei,711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:ei,729:fi,730:Ci,732:ei,733:ei,915:Di,916:[0,.69444,0,0,.91667],920:va,923:Ia,926:Ci,928:Vi,931:Vi,933:va,934:Vi,936:va,937:Vi,8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:fi,8217:fi,8220:Ca,8221:Ca},"SansSerif-Italic":{32:Dr,33:[0,.69444,.05733,0,.31945],34:vs,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:Io,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:Sa,45:[0,.44444,.01946,0,.33333],46:Zi,47:[.25,.75,.13164,0,.5],48:wa,49:wa,50:wa,51:wa,52:wa,53:wa,54:wa,55:wa,56:wa,57:wa,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:Gi,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:Ra,73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:Ua,77:[0,.69444,.08094,0,.875],78:Ra,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:Ga,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:Dr,168:[0,.67937,.06385,0,.5],176:qa,184:Fa,305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:Ga,711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:Wo,715:Yi,728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:qa,732:[0,.67659,.08826,0,.5],733:Wo,915:[0,.69444,.13372,0,.54167],916:_o,920:[0,.69444,.07555,0,.77778],923:es,926:[0,.69444,.12816,0,.66667],928:Ra,931:[0,.69444,.11983,0,.72222],933:no,934:[0,.69444,.04603,0,.72222],936:no,937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:Io,8217:Io,8220:[0,.69444,.14205,0,.5],8221:vs},"SansSerif-Regular":{32:Dr,33:[0,.69444,0,0,.31945],34:Yi,35:Ja,36:Yo,37:na,38:[0,.69444,0,0,.75834],39:ua,40:Ni,41:Ni,42:ra,43:za,44:Sa,45:[0,.44444,0,0,.33333],46:Zi,47:Za,48:bi,49:bi,50:bi,51:bi,52:bi,53:bi,54:bi,55:bi,56:bi,57:bi,58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:ia,64:Gi,65:Gi,66:Gi,67:qi,68:[0,.69444,0,0,.72223],69:Pa,70:[0,.69444,0,0,.56945],71:Gi,72:Qa,73:ua,74:ia,75:[0,.69444,0,0,.69445],76:Ua,77:[0,.69444,0,0,.875],78:Qa,79:[0,.69444,0,0,.73611],80:qi,81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:xo,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:Gi,89:[0,.69444,.025,0,.66667],90:es,91:ka,93:ka,94:Yi,95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:oo,99:Oo,100:oo,101:Oo,102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:oo,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:ts,111:[0,.44444,0,0,.5],112:So,113:So,114:[0,.44444,.01389,0,.34167],115:jo,116:[0,.57143,0,0,.36111],117:ts,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:Dr,168:[0,.67937,0,0,.5],176:Gi,184:Fa,305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:Yi,711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:Yi,715:Yi,728:Yi,729:[0,.67937,0,0,.27778],730:Gi,732:[0,.67659,0,0,.5],733:Yi,915:Ua,916:_o,920:ea,923:es,926:Gi,928:Qa,931:Mo,933:ea,934:Mo,936:ea,937:Mo,8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:ua,8217:ua,8220:Yi,8221:Yi},"Script-Regular":{32:Dr,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:Dr},"Size1-Regular":{32:Dr,40:ks,41:ks,47:xs,91:js,92:xs,93:js,123:ns,125:ns,160:Dr,710:Ko,732:Ko,770:Ko,771:Ko,8214:[-99e-5,.601,0,0,.77778],8593:ws,8595:ws,8657:ss,8659:ss,8719:qo,8720:qo,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:Es,8748:Ls,8749:Ls,8750:Es,8896:Qo,8897:Qo,8898:Qo,8899:Qo,8968:Zs,8969:Zs,8970:Zs,8971:Zs,9168:Kc,10216:Zs,10217:Zs,10752:Ol,10753:Ol,10754:Ol,10756:Qo,10758:Qo},"Size2-Regular":{32:Dr,40:xl,41:xl,47:ls,91:Co,92:ls,93:Co,123:cs,125:cs,160:Dr,710:Gs,732:Gs,770:Gs,771:Gs,8719:tl,8720:tl,8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:No,8748:Jo,8749:Jo,8750:No,8896:Zo,8897:Zo,8898:Zo,8899:Zo,8968:Ks,8969:Ks,8970:Ks,8971:Ks,10216:As,10217:As,10752:zs,10753:zs,10754:zs,10756:Zo,10758:Zo},"Size3-Regular":{32:Dr,40:eo,41:eo,47:xi,91:Qi,92:xi,93:Qi,123:Ta,125:Ta,160:Dr,710:Va,732:Va,770:Va,771:Va,8730:[.95003,1.45,0,0,1],8968:Go,8969:Go,8970:Go,8971:Go,10216:Ta,10217:Ta},"Size4-Regular":{32:Dr,40:Xo,41:Xo,47:gl,91:Js,92:gl,93:Js,123:Dl,125:Dl,160:Dr,710:Ps,732:Ps,770:Ps,771:Ps,8730:[1.25003,1.75,0,0,1],8968:Il,8969:Il,8970:Il,8971:Il,9115:ac,9116:oc,9117:ac,9118:ac,9119:oc,9120:ac,9121:Rl,9122:Kc,9123:Rl,9124:Rl,9125:Kc,9126:Rl,9127:Bl,9128:mu,9129:Al,9130:[0,.3,0,0,.88889],9131:Bl,9132:mu,9133:Al,9143:[.88502,.915,0,0,1.05556],10216:Dl,10217:Dl,57344:Qc,57345:Qc,57680:sc,57681:sc,57682:sc,57683:sc},"Typewriter-Regular":{32:gc,33:aa,34:aa,35:aa,36:wl,37:wl,38:aa,39:aa,40:wl,41:wl,42:[0,.52083,0,0,.525],43:vu,44:[.13889,.125,0,0,.525],45:vu,46:[0,.125,0,0,.525],47:wl,48:aa,49:aa,50:aa,51:aa,52:aa,53:aa,54:aa,55:aa,56:aa,57:aa,58:il,59:[.13889,.43056,0,0,.525],60:gu,61:[-.19549,.41562,0,0,.525],62:gu,63:aa,64:aa,65:aa,66:aa,67:aa,68:aa,69:aa,70:aa,71:aa,72:aa,73:aa,74:aa,75:aa,76:aa,77:aa,78:aa,79:aa,80:aa,81:[.13889,.61111,0,0,.525],82:aa,83:aa,84:aa,85:aa,86:aa,87:aa,88:aa,89:aa,90:aa,91:wl,92:wl,93:wl,94:aa,95:[.09514,0,0,0,.525],96:aa,97:il,98:aa,99:il,100:aa,101:il,102:aa,103:Ts,104:aa,105:aa,106:[.22222,.61111,0,0,.525],107:aa,108:aa,109:il,110:il,111:il,112:Ts,113:Ts,114:il,115:il,116:[0,.55358,0,0,.525],117:il,118:il,119:il,120:il,121:Ts,122:il,123:wl,124:wl,125:wl,126:aa,127:aa,160:gc,176:aa,184:[.19445,0,0,0,.525],305:il,567:Ts,711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:aa,715:aa,728:aa,730:aa,770:aa,771:aa,776:aa,915:aa,916:aa,920:aa,923:aa,926:aa,928:aa,931:aa,933:aa,934:aa,936:aa,937:aa,8216:aa,8217:aa,8242:aa,9251:[.11111,.21944,0,0,.525]}},yu=/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,lc=10,al=.25,Jc=1.2,zl=.431,$c={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[zl,zl,zl],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:[al,al,al],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]},yc=[0,.5,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],go=5,yo={"\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 Ss(a,y){a===void 0&&(a=77);const b=ju[y][a];if(b)return{defaultMetrics:!1,depth:b[0],height:b[1],italic:b[2],skew:b[3],width:b[4]};if(a===11034)return{defaultMetrics:!0,depth:.2,height:.8,italic:0,skew:0,width:.8};const z=String.fromCodePoint(a);if(z in yo)a=yo[z].codePointAt(0);else if(yu.test(z))return a=77,{defaultMetrics:!0,depth:.2,height:.9,italic:0,skew:0,width:1};return{defaultMetrics:!0,depth:.2,height:.7,italic:0,skew:0,width:.8}}var nl={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]},gs={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]},yl={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 ol(a){if(gs[a]){const[ht,bt,Bt]=gs[a],Gt=`<span class="stretchy" style="height:${Bt}em"><svg width="100%" height="${Bt}em" viewBox="0 0 ${ht} ${bt}" preserveAspectRatio="none" ><path fill="currentcolor" d="${yl[a]}"></path></svg></span>`;return`<span style="display:inline-block;height:${Math.floor(100*Bt/2)/100}em;min-width:0">${Gt}</span>`}const[y,b,z,ue]=nl[a];let Pe,Ke;const tt=z/1e3;y.length===3?(Pe=["slice-1-of-3","slice-2-of-3","slice-3-of-3"],Ke=["xMinYMin","xMidYMin","xMaxYMin"]):y.length===2?(Pe=["slice-1-of-2","slice-2-of-2"],Ke=["xMinYMin","xMaxYMin"]):(Pe=["slice-1-of-1"],Ke=[ue]);const ct=y.map((ht,bt)=>`<span class="${Pe[bt]}" style=height:${tt}em><svg width=400em height=${tt}em viewBox="0 0 400000 ${z}" preserveAspectRatio="${Ke[bt]} slice"><path fill="currentcolor" d="${yl[ht]}"></path></svg></span>`).join("");return`<span style="display:inline-block;height:${tt}em;min-width:${b}em;">${ct}</span>`}function bc(a){return nl[a]?nl[a][2]/1e3:gs[a][2]}function Hl(a){const y=[];for(let b=0;b<a.length;b++){let z=a.charCodeAt(b);if(z===13&&a.charCodeAt(b+1)===10&&(z=10,b++),(z===13||z===12)&&(z=10),z===0&&(z=65533),z>=55296&&z<=56319){const ue=a.charCodeAt(b+1);if(ue>=56320&&ue<=57343){const Pe=z-55296,Ke=ue-56320;z=jc(2,16)+Pe*jc(2,10)+Ke,b++}}y.push(z)}return y}var _l=8205,Ml=[[_l,1],[65038,2],[127995,5],[129456,4],[917536,96]],Wl,qc=[127462,127487];function eu(a){var y;if(Wl===void 0){Wl={};for(const b of Ml)for(let z=b[0];z<=b[0]+b[1]-1;z++)Wl[z]=!0}return(y=Wl[a])!=null?y:!1}function rf(a){return a>=qc[0]&&a<=qc[1]}function af(a){if(/^[\u0020-\u00FF]*$/.test(a))return a;const y=[],b=Hl(a);let z=0;for(;z<b.length;){const ue=b[z++],Pe=b[z];if(Pe===_l){const Ke=z-1;for(z+=2;b[z]===_l;)z+=2;y.push(String.fromCodePoint(...b.slice(Ke,z-Ke+1)))}else if(eu(Pe)){const Ke=z-1;for(;eu(b[z]);)z+=b[z]===_l?2:1;y.push(String.fromCodePoint(...b.slice(Ke,2*z-Ke-1)))}else rf(ue)?(z+=1,y.push(String.fromCodePoint(...b.slice(z-2,2)))):y.push(String.fromCodePoint(ue))}return y}var of=class{constructor(a){this.obeyspaces=!1,this.pos=0,this.s=af(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 xc(a,y){var b,z,ue,Pe;const Ke=[];let tt=a.next();if(tt&&tt!=="\\relax"){if(tt==="\\noexpand")tt=a.next(),tt&&Ke.push(tt);else if(tt==="\\obeyspaces")a.obeyspaces=!0;else if(tt==="\\bgroup")Ke.push("<{>");else if(tt==="\\egroup")Ke.push("<}>");else if(tt==="\\string"){if(tt=a.next(),tt)if(tt.startsWith("\\"))for(const ct of tt)Ke.push(ct==="\\"?"\\backslash":ct);else tt==="<{>"?Ke.push("\\{"):tt==="<space>"?Ke.push("~"):tt==="<}>"&&Ke.push("\\}")}else if(tt==="\\csname"){for(;a.peek()==="<space>";)a.next();let ct="",ht=!1,bt=[];do{if(bt.length===0)if(/^#[\d?@]$/.test(a.peek())){const Bt=a.get().slice(1);bt=cc((z=(b=y==null?void 0:y(Bt))!=null?b:y==null?void 0:y("?"))!=null?z:"\\placeholder{}",y),tt=bt[0]}else tt=a.next(),bt=tt?[tt]:[];ht=bt.length===0,!ht&&tt==="\\endcsname"&&(ht=!0,bt.shift()),ht||(ht=tt==="<$>"||tt==="<$$>"||tt==="<{>"||tt==="<}>"||typeof tt=="string"&&tt.length>1&&tt.startsWith("\\")),ht||(ct+=bt.shift())}while(!ht);ct&&Ke.push("\\"+ct),Ke.push(...bt)}else if(tt!=="\\endcsname")if(tt.length>1&&tt.startsWith("#")){const ct=tt.slice(1);Ke.push(...cc((Pe=(ue=y==null?void 0:y(ct))!=null?ue:y==null?void 0:y("?"))!=null?Pe:"\\placeholder{}",y))}else Ke.push(tt)}return Ke}function cc(a,y=null){const b=[];let z="";for(const Ke of a.toString().split(/\r?\n/)){z&&b.push(z),z=" ";const tt=Ke.match(/((?:\\%)|[^%])*/);tt!==null&&b.push(tt[0])}const ue=new of(nt(b.join(""))),Pe=[];do Pe.push(...xc(ue,y));while(!ue.end());return Pe}function Eo(a){let y="";const b=[];for(const z of a)z&&(y&&/^[a-zA-Z\*]/.test(z)&&b.push(y),b.push(z),/^\\[a-zA-Z]+\*?[\"\'][^\ ]+$/.test(z)&&b.push(" "),y=/\\[a-zA-Z]+\*?$/.test(z)?" ":"");return b.join("")}function ys(a,...y){return console.assert(a.startsWith("\\")),y.length===0?a:Eo([a,...y.map(b=>`{${b}}`)])}function wc(a){return Eo(a.map(y=>{var b;return(b={"<space>":" ","<$$>":"$$","<$>":"$","<{>":"{","<}>":"}"}[y])!=null?b:y}))}var sf=class nf{constructor(y){nf._registry[y]=this}static createAtom(y,b,z){return nf._registry[y].createAtom(b,zt(b,y),z)}static serialize(y,b){var z;if(!y||y.length===0)return"";if((z=b.skipStyles)!=null&&z){const ue=[];for(const Pe of lf(y)){const Ke=nf._registry[Pe[0].mode];ue.push(...Ke.serialize(Pe,b))}return Eo(ue)}return Eo(nh(y,b))}static getFont(y,b,z){return nf._registry[y].getFont(b,z)}};sf._registry={};var Ll=sf;function lf(a){const y=[];let b=[],z="NONE";for(const ue of a)ue.type!=="first"&&(ue.mode!==z?(b.length>0&&y.push(b),b=[ue],z=ue.mode):b.push(ue));return b.length>0&&y.push(b),y}function Hs(a,y){const b=[];let z=[],ue;for(const Pe of a)if(Pe.type!=="first"&&Pe.style){let Ke;y==="variant"?(Ke=Pe.style.variant,Pe.style.variantStyle&&Pe.style.variantStyle!=="up"&&(Ke+="-"+Pe.style.variantStyle)):Ke=Pe.style[y],Ke===ue?z.push(Pe):(z.length>0&&b.push(z),z=[Pe],ue=Ke)}return z.length>0&&b.push(z),b}function md(a,y){var b;const{parent:z}=a[0],ue=z==null?void 0:z.computedStyle.color,Pe=[];for(const Ke of lf(a)){const tt=y.defaultMode;for(const ct of Hs(Ke,"color")){const ht=ct[0].computedStyle,bt=Ll._registry[ct[0].mode].serialize(ct,ne(ae({},y),{defaultMode:tt==="text"?"text":"math"}));!y.skipStyles&&ht.color&&ht.color!=="none"&&(!z||ue!==ht.color)?Pe.push(ys("\\textcolor",(b=ht.verbatimColor)!=null?b:ht.color,Eo(bt))):Pe.push(Eo(bt))}}return Pe}function th(a,y){const{parent:b}=a[0],z=b==null?void 0:b.computedStyle.backgroundColor;return Hs(a,"backgroundColor").map(ue=>{var Pe;if(ue.length>0||ue[0].type!=="box"){const Ke=ue[0].computedStyle;if(Ke.backgroundColor&&Ke.backgroundColor!=="none"&&(!b||z!==Ke.backgroundColor))return ys("\\colorbox",(Pe=Ke.verbatimBackgroundColor)!=null?Pe:Ke.backgroundColor,Eo(md(ue,ne(ae({},y),{defaultMode:"text"}))))}return Eo(md(ue,y))})}function nh(a,y){if(a.length===0)return[];const{parent:b}=a[0],z=b==null?void 0:b.computedStyle.fontSize,ue=[];for(const Pe of Hs(a,"fontSize")){const Ke=Pe[0].computedStyle.fontSize,tt=th(Pe,y);tt&&(Ke&&Ke!=="auto"&&(!b||z!==Ke)?ue.push(["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][Ke],...tt):ue.push(...tt))}return ue}function vd(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 tu(a){if(a.length===0)return"ord";const y=vd(a[0].type),b=vd(a[a.length-1].type);return y&&y===b?y:"ord"}function nu(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 hi=class Am{constructor(y,b){var z,ue,Pe,Ke,tt;if(typeof y=="number"?this.value=String.fromCodePoint(y):typeof y=="string"?this.value=y:re(y)?this.children=y.filter(ht=>ht!==null):y&&y instanceof Am&&(this.children=[y]),this.children)for(const ht of this.children)ht.parent=this;this.type=(z=b==null?void 0:b.type)!=null?z:"ignore",this.isSelected=(b==null?void 0:b.isSelected)===!0,b!=null&&b.caret&&(this.caret=b.caret),this.classes=(ue=b==null?void 0:b.classes)!=null?ue:"",this.isTight=(Pe=b==null?void 0:b.isTight)!=null?Pe:!1,b!=null&&b.attributes&&(this.attributes=b.attributes);let ct=b==null?void 0:b.fontFamily;b!=null&&b.style&&this.value&&(ct=(tt=Ll.getFont((Ke=b.mode)!=null?Ke:"math",this,ne(ae({variant:"normal"},b.style),{letterShapeStyle:b.letterShapeStyle})))!=null?tt:void 0),ct||(ct="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),bu(this,ct)}set atomID(y){y===void 0||y.length===0||(this.id=y)}selected(y){if(this.isSelected!==y&&(this.isSelected=y,this.children))for(const b of this.children)b.selected(y)}setStyle(y,b,z){if(b===void 0)return;const ue=nu(b,z);ue.length>0&&(this.cssProperties||(this.cssProperties={}),this.cssProperties[y]=ue)}setTop(y){Number.isFinite(y)&&Math.abs(y)>.01&&(this.cssProperties||(this.cssProperties={}),this.cssProperties.top=nu(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"]=nu(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"]=nu(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"]=nu(y,"em")))}get width(){return this._width*this.scale}set width(y){this._width=y,this.hasExplicitWidth=!0}set softWidth(y){}get height(){return this._height*this.scale}set height(y){this._height=y}get depth(){return this._depth*this.scale}set depth(y){this._depth=y}wrap(y){const b=y.parent;if(!b)return this;y.isPhantom&&this.setStyle("opacity",0);const z=y.color;z&&z!==b.color&&this.setStyle("color",z);let ue=y.backgroundColor;this.isSelected&&(ue=pt(ue)),ue&&ue!==b.backgroundColor&&(this.setStyle("background-color",ue),this.setStyle("display","inline-block"));const Pe=y.scalingFactor;return this.scale=Pe,this.skew*=Pe,this.italic*=Pe,this}toMarkup(){var y,b,z,ue;let Pe=(y=this.value)!=null?y:"";if(this.children)for(const hn of this.children)Pe+=hn.toMarkup();let Ke="";if(this.svgBody)Ke=ol(this.svgBody);else if(this.svgOverlay){Ke='<span style="',Ke+="display: inline-block;",Ke+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`,Ke+=`vertical-align:${Math.floor(100*this.depth)/100}em;`,Ke+='">',Ke+=Pe,Ke+="</span>",Ke+='<svg style="position:absolute;overflow:visible;',Ke+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`;const hn=(b=this.cssProperties)==null?void 0:b.padding;hn?(Ke+=`top:${hn};`,Ke+=`left:${hn};`,Ke+=`width:calc(100% - 2 * ${hn} );`):Ke+="top:0;left:0;width:100%;",Ke+="z-index:2;",Ke+='"',this.svgStyle&&(Ke+=this.svgStyle),Ke+=` viewBox="0 0 ${Math.floor(100*this.width)/100} ${Math.floor(100*(this.height+this.depth))/100}"`,Ke+=`>${this.svgOverlay}</svg>`}let tt="";const ct=this.classes.split(" ");ct.push((z={latex:"ML__raw-latex",placeholder:"ML__placeholder",error:"ML__error"}[this.type])!=null?z:""),this.caret==="latex"&&ct.push("ML__latex-caret"),this.isSelected&&ct.push("ML__selected");const ht=ct.length===1?ct[0]:ct.filter((hn,xn,Cr)=>hn.length>0&&Cr.indexOf(hn)===xn).join(" ");if(ht.length>0&&(tt+=` class="${ht}"`),this.id&&(tt+=` data-atom-id=${this.id}`),this.cssId&&(tt+=` id="${this.cssId.replace(/ /g,"-")}" `),this.attributes&&(tt+=" "+Object.keys(this.attributes).map(hn=>`${hn}="${this.attributes[hn]}"`).join(" ")),this.htmlData){const hn=this.htmlData.split(",");for(const xn of hn){const Cr=xn.match(/([^=]+)=(.+$)/);if(Cr){const ui=Cr[1].trim().replace(/ /g,"-");ui&&(tt+=` data-${ui}="${Cr[2]}" `)}else{const ui=xn.trim().replace(/ /g,"-");ui&&(tt+=` data-${ui} `)}}}const bt=(ue=this.cssProperties)!=null?ue:{};this.hasExplicitWidth&&bt.width===void 0&&(bt.width=`${Math.ceil(this._width*100)/100}em`);const Bt=Object.keys(bt).map(hn=>`${hn}:${bt[hn]}`);if(this.scale!==void 0&&this.scale!==1&&(Pe.length>0||Ke.length>0)&&Bt.push(`font-size: ${Math.ceil(this.scale*1e4)/100}%`),this.htmlStyle){const hn=this.htmlStyle.split(";");let xn="";for(const Cr of hn){const ui=Cr.match(/([^=]+):(.+$)/);if(ui){const xr=ui[1].trim().replace(/ /g,"-");xr&&(xn+=`${xr}:${ui[2]};`)}}xn&&(tt+=` style="${xn}"`)}Bt.length>0&&(tt+=` style="${Bt.join(";")}"`);let Gt="";return tt.length>0||Ke.length>0?Gt=`<span${tt}>${Pe}${Ke}</span>`:Gt=Pe,this.caret==="text"?Gt+='<span class="ML__text-caret"></span>':this.caret==="math"&&(Gt+='<span class="ML__caret"></span>'),Gt}tryCoalesceWith(y){if(this.svgBody||!this.value||y.svgBody||!y.value)return!1;const b=this.children&&this.children.length>0,z=y.children&&y.children.length>0;if(b||z)return!1;if(y.cssProperties||this.cssProperties){for(const ct of["border","border-left","border-right","border-right-width","left","margin","margin-left","margin-right","padding","position","width"])if(y.cssProperties&&ct in y.cssProperties||this.cssProperties&&ct in this.cssProperties)return!1}const ue=this.cssProperties?Object.keys(this.cssProperties).length:0,Pe=y.cssProperties?Object.keys(y.cssProperties).length:0;if(ue!==Pe)return!1;if(ue>0){for(const ct of Object.keys(this.cssProperties))if(this.cssProperties[ct]!==y.cssProperties[ct])return!1}const Ke=this.classes.trim().replace(/\s+/g," ").split(" "),tt=y.classes.trim().replace(/\s+/g," ").split(" ");if(Ke.length!==tt.length)return!1;Ke.sort(),tt.sort();for(const[ct,ht]of Ke.entries())if(ht==="vertical-separator"||ht!==tt[ct])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 gd(a){if(!a||a.length===0)return[];a[0].children=gd(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=gd(a[b].children),y.push(a[b]));return y}function Ku(a){return a.children&&(a.children=gd(a.children)),a}function zu(a,y){if(!a)return new hi(null,y);const b=new hi(null,{classes:"ML__strut",type:"ignore"});b.setStyle("height",Math.max(0,a.height),"em");const z=[b];if(a.depth!==0){const ue=new hi(null,{classes:"ML__strut--bottom",type:"ignore"});ue.setStyle("height",a.height+a.depth,"em"),ue.setStyle("vertical-align",-a.depth,"em"),z.push(ue)}return z.push(a),new hi(z,ne(ae({},y),{type:"lift"}))}function Ul(a){const y=bc(a)/2,b=new hi(null,{maxFontSize:0});return b.height=y+.166,b.depth=y-.166,b.svgBody=a,b}function bu(a,y){var b;if(a.type==="latex"){a.height=.9,a.depth=.2,a._width=1;return}if(a.value){a.height=-1/0,a.depth=-1/0,a._width=0,a.skew=-1/0,a.italic=-1/0;for(let z=0;z<a.value.length;z++){const ue=Ss(a.value.codePointAt(z),y);a.height=Math.max(a.height,ue.height),a.depth=Math.max(a.depth,ue.depth),a._width+=ue.width,a.skew=ue.skew,a.italic=ue.italic}return}if(a.children&&a.children.length>0){let z=-1/0,ue=-1/0,Pe=0;for(const Ke of a.children)Ke.height>z&&(z=Ke.height),Ke.depth>ue&&(ue=Ke.depth),Pe=Math.max(Pe,(b=Ke.maxFontSize)!=null?b:0);a.height=z,a.depth=ue,a._width=a.children.reduce((Ke,tt)=>Ke+tt.width,0),a.maxFontSize=Pe}}function Hu(a){if("individualShift"in a){const y=a.individualShift;let b=y[0];const z=[b],ue=-b.shift-b.box.depth;let Pe=ue;for(let Ke=1;Ke<y.length;Ke++){const tt=y[Ke],ct=-tt.shift-Pe-tt.box.depth,ht=ct-(b.box.height+b.box.depth);Pe=Pe+ct,z.push(ht),z.push(tt),b=tt}return[z,ue]}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 xu(a){var y;const[b,z]=Hu(a);if(!b)return[[],0,0];const ue=new hi(null,{classes:"pstrut"});let Pe=0;for(const xn of b)if(typeof xn!="number"){const Cr=xn.box;Pe=Math.max(Pe,Cr.maxFontSize,Cr.height)}Pe+=2,ue.height=Pe,ue.setStyle("height",Pe,"em");const Ke=[];let tt=z,ct=z,ht=z,bt=0;for(const xn of b){if(typeof xn=="number")ht+=xn;else{const Cr=xn.box,ui=(y=xn.classes)!=null?y:[],xr=new hi([ue,Cr],{classes:ui.join(" "),style:xn.style});Cr.setStyle("height",Cr.height+Cr.depth,"em"),Cr.setStyle("display","inline-block"),xr.setStyle("top",-Pe-ht-Cr.depth,"em"),xn.marginLeft&&xr.setStyle("margin-left",xn.marginLeft,"em"),xn.marginRight&&xr.setStyle("margin-right",xn.marginRight,"em"),Ke.push(xr),ht+=Cr.height+Cr.depth,bt=Math.max(bt,xr.width)}tt=Math.min(tt,ht),ct=Math.max(ct,ht)}Ke.forEach(xn=>{xn.softWidth=bt});const Bt=new hi(Ke,{classes:"vlist"});if(Bt.softWidth=bt,Bt.height=ct,Bt.setStyle("height",ct,"em"),tt>=0)return[[new hi(Bt,{classes:"vlist-r"})],ct,-tt];const Gt=new hi(new hi(null),{classes:"vlist"});Gt.height=-tt,Gt.setStyle("height",-tt,"em");const hn=new hi(8203,{classes:"vlist-s",maxFontSize:0});return hn.softWidth=0,hn.height=0,hn.depth=0,[[new hi([Bt,hn],{classes:"vlist-r"}),new hi(Gt,{classes:"vlist-r"})],ct,-tt]}var us=class extends hi{constructor(a,y){var b;const[z,ue,Pe]=xu(a);super(z.length===1?z[0]:z,{type:y==null?void 0:y.type,classes:((b=y==null?void 0:y.classes)!=null?b:"")+" vlist-t"+(z.length===2?" vlist-t2":"")}),this.height=ue,this.depth=Pe,this.softWidth=z.reduce((Ke,tt)=>Math.max(Ke,tt.width),0)}};function rh(a,y){var b,z,ue,Pe,Ke;const tt=a.metrics,ct=new hi(y.base),ht=(b=y.baseShift)!=null?b:0,bt=(z=y.slant)!=null?z:0;let Bt=0,Gt=0;y.above&&(Bt=(ue=y.aboveShift)!=null?ue:Math.max(tt.bigOpSpacing1,tt.bigOpSpacing3-y.above.depth)),y.below&&(Gt=(Pe=y.belowShift)!=null?Pe:Math.max(tt.bigOpSpacing2,tt.bigOpSpacing4-y.below.height));let hn=null;if(y.below&&y.above){const xn=tt.bigOpSpacing5+y.below.height+y.below.depth+Gt+ct.depth+ht;hn=new us({bottom:xn,children:[tt.bigOpSpacing5,{box:y.below,marginLeft:-bt,classes:["ML__center"]},Gt,{box:ct,classes:["ML__center"]},Bt,{box:y.above,marginLeft:bt,classes:["ML__center"]},tt.bigOpSpacing5]}).wrap(a)}else if(y.below&&!y.above)hn=new us({top:ct.height-ht,children:[tt.bigOpSpacing5,{box:y.below,marginLeft:-bt,classes:["ML__center"]},Gt,{box:ct,classes:["ML__center"]}]}).wrap(a);else if(!y.below&&y.above){const xn=ct.depth+ht;hn=new us({bottom:xn,children:[{box:ct,classes:["ML__center"]},Bt,{box:y.above,marginLeft:bt,classes:["ML__center"]},tt.bigOpSpacing5]}).wrap(a)}else{const xn=ct.depth+ht;hn=new us({bottom:xn,children:[{box:ct},tt.bigOpSpacing5]}).wrap(a)}return new hi(hn,{type:(Ke=y.type)!=null?Ke:"op"})}var yd=7,uc=6,wu=5,Sc=4,zc=3,bl=2,Fl=1,sl=0,Jl=class{constructor(a,y,b){this.id=a,this.sizeDelta=y,this.cramped=b;const z={"-4":2,"-3":1,0:0}[y];this.metrics=Object.keys($c).reduce((ue,Pe)=>ne(ae({},ue),{[Pe]:$c[Pe][z]}),{})}getFontSize(a){return Math.max(1,a+this.sizeDelta)}get sup(){return $l[[sl,Fl,sl,Fl,bl,zc,bl,zc][this.id]]}get sub(){return $l[[sl,sl,sl,sl,bl,bl,bl,bl][this.id]]}get fracNum(){return $l[[sl,Fl,sl,Fl,bl,zc,Sc,wu][this.id]]}get fracDen(){return $l[[sl,sl,sl,sl,bl,bl,Sc,Sc][this.id]]}get cramp(){return $l[[sl,sl,bl,bl,Sc,Sc,uc,uc][this.id]]}get isTight(){return this.sizeDelta<0}},Hc={7:new Jl(yd,0,!1),6:new Jl(uc,0,!0),5:new Jl(wu,0,!1),4:new Jl(Sc,0,!0),3:new Jl(zc,-3,!1),2:new Jl(bl,-3,!0),1:new Jl(Fl,-4,!1),0:new Jl(sl,-4,!0)},$l=ne(ae({},Hc),{displaystyle:Hc[yd],textstyle:Hc[wu],scriptstyle:Hc[zc],scriptscriptstyle:Hc[Fl]});function ru(a,y){var b;if(!a)return 0;const z={pt:1,mm:7227/2540,cm:7227/254,ex:35271/8192,px:3/4,em:lc,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 ue=jc(10,y);return Math.round(a.dimension/lc*z*ue)/ue}return a.dimension*z}function bd(a,y){if(a===null)return 0;const b=ru(a)/lc;if(Number.isFinite(y)){const z=jc(10,y);return Math.round(b*z)/z}return b}function xd(a){var y;return`${a.dimension}${(y=a.unit)!=null?y:"pt"}`}function cf(a){let y=xd(a.glue);return a.grow&&a.grow.dimension!==0&&(y+=` plus ${xd(a.grow)}`),a.shrink&&a.shrink.dimension!==0&&(y+=` minus ${xd(a.shrink)}`),y}function Xs(a){var y,b;if(a==null)return null;let z="";if("dimension"in a&&(z=`${a.dimension}${(y=a.unit)!=null?y:"pt"}`),"glue"in a&&(z=cf(a)),"number"in a)if(!("base"in a)||a.base==="decimal")z=Number(a.number).toString();else if(a.base==="alpha")z=`\`${String.fromCodePoint(a.number)}`;else{const ue=Math.round(a.number)>>>0;a.base==="hexadecimal"?(z=Number(ue).toString(16).toUpperCase(),ue<=255?z=z.padStart(2,"0"):ue<=65535?z=z.padStart(4,"0"):ue<=16777215?z=z.padStart(6,"0"):z=z.padStart(8,"0"),z=`"${z}`):a.base==="octal"&&(z=Number(ue).toString(8),ue<=63?z=z.padStart(2,"0"):ue<=30583?z=z.padStart(4,"0"):z=z.padStart(8,"0"),z=`'${z}`)}return"register"in a&&("factor"in a&&(a.factor===-1?z="-":a.factor!==1&&(z=Number(a.factor).toString())),"global"in a&&a.global&&(z+="\\global"),z+=`\\${a.register}`),"string"in a&&(z=a.string),(b=a.relax)!=null&&b&&(z+="\\relax"),z}function ql(a,y){return a==null?null:"number"in a?ne(ae({},a),{number:a.number*y}):"register"in a?"factor"in a&&a.factor?ne(ae({},a),{factor:a.factor*y}):ne(ae({},a),{factor:y}):"dimension"in a?ne(ae({},a),{dimension:a.dimension*y}):"glue"in a?a.shrink&&a.grow?{glue:ql(a.glue,y),shrink:ql(a.shrink,y),grow:ql(a.grow,y)}:a.shrink?{glue:ql(a.glue,y),shrink:ql(a.shrink,y)}:a.grow?{glue:ql(a.glue,y),grow:ql(a.grow,y)}:{glue:ql(a.glue,y)}:null}var ih={"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 iu(){return ae({},ih)}function Wu(){return{registers:iu(),smartFence:!1,renderPlaceholder:void 0,placeholderSymbol:"\u25A2",letterShapeStyle:ge.locale.startsWith("fr")?"french":"tex",minFontScale:0,colorMap:De,backgroundColorMap:Be,getMacro:a=>an(a,Vt())}}var Po=class Mm{constructor(y,b){var z,ue,Pe,Ke,tt,ct,ht,bt,Bt,Gt,hn,xn,Cr,ui,xr;let Gr;y!=null&&y.parent?(this.parent=y.parent,Gr=y.parent,this.registers={}):(Gr=ae(ae({},Wu()),(z=y==null?void 0:y.from)!=null?z:{}),this.registers=Gr.registers),Gr.atomIdsSettings&&(this.atomIdsSettings=ae({},Gr.atomIdsSettings)),this.renderPlaceholder=Gr.renderPlaceholder,this.isPhantom=(Ke=(Pe=y==null?void 0:y.isPhantom)!=null?Pe:(ue=this.parent)==null?void 0:ue.isPhantom)!=null?Ke:!1,this.letterShapeStyle=Gr.letterShapeStyle,this.minFontScale=Gr.minFontScale,b!=null&&b.color&&b.color!=="none"?this.color=b.color:this.color=(ct=(tt=this.parent)==null?void 0:tt.color)!=null?ct:"",b!=null&&b.backgroundColor&&b.backgroundColor!=="none"?this.backgroundColor=b.backgroundColor:this.backgroundColor=(bt=(ht=this.parent)==null?void 0:ht.backgroundColor)!=null?bt:"",b!=null&&b.fontSize&&b.fontSize!=="auto"&&b.fontSize!==((Bt=this.parent)==null?void 0:Bt.size)?this.size=b.fontSize:this.size=(hn=(Gt=this.parent)==null?void 0:Gt.size)!=null?hn:go;let vi=(Cr=(xn=this.parent)==null?void 0:xn.mathstyle)!=null?Cr:$l.displaystyle;if(typeof(y==null?void 0:y.mathstyle)=="string"){if(Gr instanceof Mm)switch(y.mathstyle){case"cramp":vi=vi.cramp;break;case"superscript":vi=vi.sup;break;case"subscript":vi=vi.sub;break;case"numerator":vi=vi.fracNum;break;case"denominator":vi=vi.fracDen;break}switch(y.mathstyle){case"textstyle":vi=$l.textstyle;break;case"displaystyle":vi=$l.displaystyle;break;case"scriptstyle":vi=$l.scriptstyle;break;case"scriptscriptstyle":vi=$l.scriptscriptstyle;break;case"":case"auto":break}}this.mathstyle=vi,this.smartFence=Gr.smartFence,this.placeholderSymbol=Gr.placeholderSymbol,this.colorMap=(ui=Gr.colorMap)!=null?ui:qr=>qr,this.backgroundColorMap=(xr=Gr.backgroundColorMap)!=null?xr:qr=>qr,this.getMacro=Gr.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===yd||this.mathstyle.id===uc}get isCramped(){return this.mathstyle.cramped}get isTight(){return this.mathstyle.isTight}get metrics(){return this.mathstyle.metrics}get effectiveFontSize(){return Math.max(yc[Math.max(1,this.size+this.mathstyle.sizeDelta)],this.minFontScale)}getRegister(y){var b;if((b=this.registers)!=null&&b[y])return this.registers[y];if(this.parent)return this.parent.getRegister(y)}getRegisterAsNumber(y){const b=this.getRegister(y);if(typeof b=="number")return b;if(typeof b=="string")return Number(b)}getRegisterAsGlue(y){var b;if((b=this.registers)!=null&&b[y]){const z=this.registers[y];return typeof z=="object"&&"glue"in z?z:typeof z=="object"&&"dimension"in z?{glue:{dimension:z.dimension}}:typeof z=="number"?{glue:{dimension:z}}:void 0}if(this.parent)return this.parent.getRegisterAsGlue(y)}getRegisterAsEm(y,b){return bd(this.getRegisterAsDimension(y),b)}getRegisterAsDimension(y){var b;if((b=this.registers)!=null&&b[y]){const z=this.registers[y];return typeof z=="object"&&"glue"in z?z.glue:typeof z=="object"&&"dimension"in z?z:typeof z=="number"?{dimension:z}:void 0}if(this.parent)return this.parent.getRegisterAsDimension(y)}setRegister(y,b){if(b===void 0){delete this.registers[y];return}this.registers[y]=b}evaluate(y){if(!y||!("register"in y))return y;let b=this;if("global"in y&&y.global)for(;b.parent;)b=b.parent;let z=1;"factor"in y&&y.factor!==1&&y.factor!==void 0&&(z=y.factor);const ue=b.getRegister(y.register);if(ue===void 0)return;if(typeof ue=="string")return{string:Number(ue).toString()+ue};if(typeof ue=="number")return{number:z*ue};const Pe=b.evaluate(ue);if(Pe!==void 0)return"string"in Pe?{string:Number(ue).toString()+Pe.string}:"number"in Pe?{number:z*Pe.number}:"dimension"in Pe?ne(ae({},Pe),{dimension:z*Pe.dimension}):"glue"in Pe?ne(ae({},Pe),{glue:ne(ae({},Pe.glue),{dimension:z*Pe.glue.dimension}),shrink:Pe.shrink?ne(ae({},Pe.shrink),{dimension:z*Pe.shrink.dimension}):void 0,grow:Pe.grow?ne(ae({},Pe.grow),{dimension:z*Pe.grow.dimension}):void 0}):y}toDimension(y){const b=this.evaluate(y);return b===void 0?null:"dimension"in b?b:"glue"in b?b.glue:"number"in b?{dimension:b.number}:null}toEm(y,b){if(y===null)return 0;const z=this.toDimension(y);return z===null?0:ru(z,b)/lc}toNumber(y){if(y===null)return null;const b=this.evaluate(y);return b===void 0?null:"number"in b?b.number:"dimension"in b?b.dimension:"glue"in b?b.glue.dimension:"string"in b?Number(b.string):null}toColor(y){var b,z;if(y===null)return null;const ue=this.evaluate(y);return ue===void 0?null:"string"in ue?(z=(b=this.colorMap)==null?void 0:b.call(this,ue.string))!=null?z:ue.string:null}toBackgroundColor(y){var b,z;if(y===null)return null;const ue=this.evaluate(y);return ue===void 0?null:"string"in ue?(z=(b=this.backgroundColorMap)==null?void 0:b.call(this,ue.string))!=null?z:ue.string:null}},au=["body","above","below","superscript","subscript"];function dc(a){return typeof a=="string"&&au.includes(a)}function Su(a){return a!==void 0&&Array.isArray(a)&&a.length===2}var Br=class Xc{constructor(y){var b,z,ue,Pe,Ke,tt;this.type=y.type,typeof y.value=="string"&&(this.value=y.value),this.command=(z=(b=y.command)!=null?b:this.value)!=null?z:"",this.mode=(ue=y.mode)!=null?ue:"math",y.isFunction&&(this.isFunction=!0),y.limits&&(this.subsupPlacement=y.limits),this.style=ae({},y.style),this.displayContainsHighlight=(Pe=y.displayContainsHighlight)!=null?Pe:!1,this.captureSelection=(Ke=y.captureSelection)!=null?Ke:!1,this.skipBoundary=(tt=y.skipBoundary)!=null?tt:!1,y.verbatimLatex!==void 0&&y.verbatimLatex!==null&&(this.verbatimLatex=y.verbatimLatex),y.args&&(this.args=y.args),y.body&&(this.body=y.body),this._changeCounter=0}static createBox(y,b,z){var ue;if(!b)return null;const Pe=uf(b),Ke=[];for(const ct of Pe){const ht=ct[0].style,bt=df(y,ct,{style:{color:ht.color,backgroundColor:ht.backgroundColor,fontSize:ht.fontSize}});bt&&Ke.push(bt)}if(Ke.length===0)return null;const tt=((ue=z==null?void 0:z.classes)!=null?ue:"").trim();return Ke.length===1&&!tt&&!(z!=null&&z.type)?Ke[0].wrap(y):new hi(Ke,{classes:tt,type:z==null?void 0:z.type}).wrap(y)}static serialize(y,b){return Ll.serialize(y,b)}static commonAncestor(y,b){if(y===b||y.parent===b.parent)return y.parent;const z=new WeakSet;let{parent:ue}=y;for(;ue;)z.add(ue),ue=ue.parent;for(ue=b.parent;ue;){if(z.has(ue))return ue;ue=ue.parent}console.assert(!!ue)}static fromJson(y){return typeof y=="string"?new Xc({type:"mord",value:y,mode:"math"}):new Xc(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=ae({},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=Sd(this.args)),this._branches)for(const b of Object.keys(this._branches))this._branches[b]&&(y[b]=this._branches[b].filter(z=>z.type!=="first").map(z=>z.toJson()));return y.type==="mord"&&Object.keys(y).length===2&&"value"in y?y.value:y}get changeCounter(){return this.parent?this.parent.changeCounter:this._changeCounter}set isDirty(y){if(y){this.parent||this._changeCounter++,"verbatimLatex"in this&&(this.verbatimLatex=void 0),this._children=void 0;let{parent:b}=this;for(;b;)b.parent||b._changeCounter++,"verbatimLatex"in b&&(b.verbatimLatex=void 0),b._children=void 0,b=b.parent}}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=zt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):this.body&&this.command?Eo([ys(this.command,this.bodyToLatex(y)),this.supsubToLatex(y)]):this.body?Eo([this.bodyToLatex(y),this.supsubToLatex(y)]):!this.value||this.value==="\u200B"?"":this.command}bodyToLatex(y){var b;return Ll.serialize(this.body,ne(ae({},y),{defaultMode:(b=y.defaultMode)!=null?b:this.latexMode}))}aboveToLatex(y){return Ll.serialize(this.above,y)}belowToLatex(y){return Ll.serialize(this.below,y)}supsubToLatex(y){let b="";if(y=ne(ae({},y),{defaultMode:"math"}),this.branch("subscript")!==void 0){const z=Ll.serialize(this.subscript,y);z.length===0?b+="_{}":z.length===1?/^[0-9]$/.test(z)?b+=`_${z}`:b+=`_{${z}}`:b+=`_{${z}}`}if(this.branch("superscript")!==void 0){const z=Ll.serialize(this.superscript,y);z.length===0?b+="^{}":z.length===1?z==="\u2032"?b+="^\\prime ":z==="\u2033"?b+="^\\doubleprime ":/^[0-9]$/.test(z)?b+=`^${z}`:b+=`^{${z}}`:b+=`^{${z}}`}return b}get treeDepth(){let y=1,b=this.parent;for(;b;)b=b.parent,y+=1;return y}get inCaptureSelection(){let y=this;for(;y;){if(y.captureSelection)return!0;y=y.parent}return!1}get parentPrompt(){let y=this.parent;for(;y;){if(y.type==="prompt"&&!y.captureSelection)return y;y=y.parent}return null}branch(y){if(dc(y)&&this._branches)return this._branches[y]}get branches(){if(!this._branches)return[];const y=[];for(const b of au)this._branches[b]&&y.push(b);return y}createBranch(y){return console.assert(dc(y)),dc(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 Su(this.parentBranch)?this.parentBranch[0]:-1}get col(){return Su(this.parentBranch)?this.parentBranch[1]:-1}get body(){var y;return(y=this._branches)==null?void 0:y.body}set body(y){this.setChildren(y,"body")}get superscript(){var y;return(y=this._branches)==null?void 0:y.superscript}set superscript(y){this.setChildren(y,"superscript")}get subscript(){var y;return(y=this._branches)==null?void 0:y.subscript}set subscript(y){this.setChildren(y,"subscript")}get above(){var y;return(y=this._branches)==null?void 0:y.above}set above(y){this.setChildren(y,"above")}get below(){var y;return(y=this._branches)==null?void 0:y.below}set below(y){this.setChildren(y,"below")}get computedStyle(){var y,b;const z=typeof this.style.verbatimColor=="string",ue=typeof this.style.verbatimBackgroundColor=="string",Pe=ae(ae({},(b=(y=this.parent)==null?void 0:y.computedStyle)!=null?b:{}),this.style);return delete Pe.variant,delete Pe.variantStyle,ue||delete Pe.verbatimBackgroundColor,z||delete Pe.verbatimColor,Pe}applyStyle(y){this.isDirty=!0,this.style=ae(ae({},this.style),y),this.style.fontFamily==="none"&&delete this.style.fontFamily,this.style.fontShape==="auto"&&delete this.style.fontShape,this.style.fontSeries==="auto"&&delete this.style.fontSeries,this.style.color==="none"&&(delete this.style.color,delete this.style.verbatimColor),this.style.backgroundColor==="none"&&(delete this.style.backgroundColor,delete this.style.verbatimBackgroundColor),this.style.fontSize==="auto"&&delete this.style.fontSize;for(const b of this.children)b.applyStyle(y)}getInitialBaseElement(){var y,b,z;return this.hasEmptyBranch("body")?this:(console.assert(((y=this.body)==null?void 0:y[0].type)==="first"),(z=(b=this.body[1])==null?void 0:b.getInitialBaseElement())!=null?z:this)}getFinalBaseElement(){return this.hasEmptyBranch("body")?this:this.body[this.body.length-1].getFinalBaseElement()}isCharacterBox(){return this.type==="leftright"||this.type==="genfrac"||this.type==="subsup"||this.type==="delim"||this.type==="array"||this.type==="surd"?!1:this.getFinalBaseElement().type==="mord"}hasEmptyBranch(y){const b=this.branch(y);return b?(console.assert(b.length>0),console.assert(b[0].type==="first"),b.length===1):!0}setChildren(y,b){var z;if(!y||(console.assert(dc(b)),!dc(b)))return;console.assert(((z=y[0])==null?void 0:z.type)!=="first");const ue=[this.makeFirstAtom(b),...y];this._branches?this._branches[b]=ue:this._branches={[b]:ue};for(const Pe of y)Pe.parent=this,Pe.parentBranch=b;this.isDirty=!0}makeFirstAtom(y){const b=new Xc({type:"first",mode:this.mode});return b.parent=this,b.parentBranch=y,b}addChild(y,b){console.assert(y.type!=="first"),this.createBranch(b).push(y),this.isDirty=!0,y.parent=this,y.parentBranch=b}addChildBefore(y,b){console.assert(b.parentBranch!==void 0);const z=this.createBranch(b.parentBranch);z.splice(z.indexOf(b),0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildAfter(y,b){console.assert(b.parentBranch!==void 0);const z=this.createBranch(b.parentBranch);z.splice(z.indexOf(b)+1,0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildren(y,b){const z=this.createBranch(b);for(const ue of y)ue.parent=this,ue.parentBranch=b,z.push(ue);this.isDirty=!0}addChildrenAfter(y,b){console.assert(y.length===0||y[0].type!=="first"),console.assert(b.parentBranch!==void 0);const z=this.createBranch(b.parentBranch);z.splice(z.indexOf(b)+1,0,...y),this.isDirty=!0;for(const ue of y)ue.parent=this,ue.parentBranch=b.parentBranch;return y[y.length-1]}removeBranch(y){const b=this.branch(y);if(dc(y)&&(this._branches[y]=void 0),!b)return[];for(const z of b)z.parent=void 0,z.parentBranch=void 0;return console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}removeChild(y){if(console.assert(y.parent===this),y.type==="first")return;const b=this.branch(y.parentBranch),z=b.indexOf(y);console.assert(z>=0),b.splice(z,1),this.isDirty=!0,y.parent=void 0,y.parentBranch=void 0}get siblings(){return this.parent?this.parent.branch(this.parentBranch):[]}get firstSibling(){return this.siblings[0]}get lastSibling(){const{siblings:y}=this;return y[y.length-1]}get isFirstSibling(){return this===this.firstSibling}get isLastSibling(){return this===this.lastSibling}get hasNoSiblings(){return this.siblings.length===1}get leftSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)-1]}get rightSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)+1]}get hasChildren(){return!!(this._branches&&this.children.length>0)}get firstChild(){return console.assert(this.hasChildren),this.children[0]}get lastChild(){console.assert(this.hasChildren);const{children:y}=this;return y[y.length-1]}get children(){if(this._children)return this._children;if(!this._branches)return[];const y=[];for(const b of au)if(this._branches[b])for(const z of this._branches[b])y.push(...z.children),y.push(z);return this._children=y,y}render(y){if(this.type==="first"&&!y.atomIdsSettings)return null;const b=zt(this.command,this.mode);if(b!=null&&b.render)return b.render(this,y);const z=new Po({parent:y},this.style);let ue=this.createBox(z,{classes:this.parent?"":"ML__base"});return ue?(!this.subsupPlacement&&(this.superscript||this.subscript)&&(ue=this.attachSupsub(z,{base:ue})),ue.wrap(z)):null}attachSupsub(y,b){var z;const ue=b.base,Pe=this.superscript,Ke=this.subscript;if(!Pe&&!Ke)return ue;let tt=null,ct=null;const ht=(z=b.isCharacterBox)!=null?z:this.isCharacterBox();let bt=0;if(Pe){const Cr=new Po({parent:y,mathstyle:"superscript"});tt=Xc.createBox(Cr,Pe),ht||(bt=ue.height-y.metrics.supDrop*Cr.scalingFactor)}let Bt=0;if(Ke){const Cr=new Po({parent:y,mathstyle:"subscript"});ct=Xc.createBox(Cr,Ke),ht||(Bt=ue.depth+y.metrics.subDrop*Cr.scalingFactor)}let Gt;y.isDisplayStyle?Gt=y.metrics.sup1:y.isCramped?Gt=y.metrics.sup3:Gt=y.metrics.sup2;const hn=.5/lc/y.scalingFactor;let xn=null;if(ct&&tt){bt=Math.max(bt,Gt,tt.depth+.25*y.metrics.xHeight),Bt=Math.max(Bt,y.metrics.sub2);const Cr=y.metrics.defaultRuleThickness;if(bt-tt.depth-(ct.height-Bt)<4*Cr){Bt=4*Cr-(bt-tt.depth)+ct.height;const xr=.8*y.metrics.xHeight-(bt-tt.depth);xr>0&&(bt+=xr,Bt-=xr)}const ui=this.isExtensibleSymbol&&ue.italic?-ue.italic:0;xn=new us({individualShift:[{box:ct,shift:Bt,marginLeft:ui},{box:tt,shift:-bt}]}).wrap(y)}else ct&&!tt?(Bt=Math.max(Bt,y.metrics.sub1,ct.height-.8*zl),xn=new us({shift:Bt,children:[{box:ct,marginRight:hn,marginLeft:this.isCharacterBox()?-ue.italic:0}]})):!ct&&tt&&(bt=Math.max(bt,Gt,tt.depth+.25*zl),xn=new us({shift:-bt,children:[{box:tt,marginRight:hn}]}));return new hi([ue,new hi(xn,{caret:this.caret,isSelected:this.isSelected,classes:"msubsup"})],{type:b.type})}attachLimits(y,b){const z=this.superscript?Xc.createBox(new Po({parent:y,mathstyle:"superscript"},this.style),this.superscript):null,ue=this.subscript?Xc.createBox(new Po({parent:y,mathstyle:"subscript"},this.style),this.subscript):null;return!z&&!ue?b.base.wrap(y):rh(y,ne(ae({},b),{above:z,below:ue}))}bind(y,b){if(!b||y.isPhantom||this.value==="\u200B")return b;let z=this.parent;for(;z&&!z.captureSelection;)z=z.parent;return z!=null&&z.captureSelection||(this.id||(this.id=y.makeID()),b.atomID=this.id),b}createBox(y,b){var z,ue,Pe,Ke;const tt=(z=this.value)!=null?z:this.body,ct=(ue=b==null?void 0:b.boxType)!=null?ue:vd(this.type);let ht=(Pe=b==null?void 0:b.classes)!=null?Pe:"";this.mode==="text"&&(ht+=" ML__text");const bt=typeof tt=="string"||tt===void 0?new hi(tt!=null?tt:null,{type:ct,isSelected:this.isSelected,mode:this.mode,maxFontSize:y.scalingFactor,style:ne(ae({variant:"normal"},this.style),{fontSize:Math.max(1,y.size+y.mathstyle.sizeDelta)}),letterShapeStyle:y.letterShapeStyle,classes:ht}):(Ke=Xc.createBox(y,tt,{type:ct,classes:ht}))!=null?Ke:new hi(null);return y.isTight&&(bt.isTight=!0),(this.mode!=="math"||this.style.variant==="main")&&(bt.italic=0),bt.right=bt.italic,this.bind(y,bt),this.caret&&!this.superscript&&!this.subscript&&(bt.caret=this.caret),bt}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 uf(a){let y;const b=[];let z=[];for(const ue of a)if(!y&&!ue.style)z.push(ue);else{const Pe=ue.computedStyle;y&&Pe.color===y.color&&Pe.backgroundColor===y.backgroundColor&&Pe.fontSize===y.fontSize?z.push(ue):(z.length>0&&b.push(z),z=[ue],y=Pe)}return z.length>0&&b.push(z),b}function df(a,y,b){var z,ue,Pe,Ke,tt;if(!y||y.length===0)return null;const ct=new Po({parent:a},b.style),ht=!((z=ct.atomIdsSettings)!=null&&z.groupNumbers);let bt=[];if(y.length===1){const Gt=y[0],hn=Gt.render(ct);hn&&(ht&&Gt.isSelected&&hn.selected(!0),bt=[hn])}else{let Gt="",hn=!0;for(const xn of y){(ue=ct.atomIdsSettings)!=null&&ue.groupNumbers&&Gt&&(hn&&xn.isDigit()||!hn&&wd(xn))&&(ct.atomIdsSettings.overrideID=Gt);const Cr=xn.render(ct);ct.atomIdsSettings&&(ct.atomIdsSettings.overrideID=void 0),Cr&&((Pe=ct.atomIdsSettings)!=null&&Pe.groupNumbers&&((xn.isDigit()||wd(xn))&&(!Gt||hn!==xn.isDigit())&&(hn=xn.isDigit(),Gt=(Ke=xn.id)!=null?Ke:""),Gt&&(!(xn.isDigit()||wd(xn))||!xn.hasEmptyBranch("superscript")||!xn.hasEmptyBranch("subscript"))&&(Gt="")),ht&&xn.isSelected&&Cr.selected(!0),bt.push(Cr))}}if(bt.length===0)return null;const Bt=new hi(bt,ne(ae({isTight:ct.isTight},b),{type:(tt=b.type)!=null?tt:"lift"}));return Bt.isSelected=bt.every(Gt=>Gt.isSelected),Bt.wrap(ct)}function wd(a){return a.mode==="text"}function Sd(a){return a.map(y=>y===null?"<null>":Array.isArray(y)&&y[0]instanceof Br?{atoms:y.map(b=>b.toJson())}:typeof y=="object"&&"group"in y?{group:y.group.map(b=>b.toJson())}:y)}var fc=class km extends Br{constructor(y,b,z){super({type:"text",command:y,mode:"text",displayContainsHighlight:!0}),this.value=b,this.verbatimLatex=b,this.applyStyle(z)}static fromJson(y){return new km(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:gn("text",this.value.codePointAt(0))}};function Cu(a,y){if(a.direction===y.direction){const b=a.ranges.length;if(y.ranges.length===b){let z=0;for(;z<b&&ah(a.ranges[z],y.ranges[z])==="equal";)z++;return z===b?"equal":"different"}}return"different"}function ah(a,y){return a[0]===y[0]&&a[1]===y[1]?"equal":"different"}function ll(a){let y=1/0,b=-1/0;for(const z of a.ranges)y=Math.min(y,z[0],z[1]),b=Math.max(b,z[0],z[1]);return[y,b]}function Cc(a){return typeof a=="number"&&!Number.isNaN(a)}function Uu(a){return Array.isArray(a)&&a.length===2}function Vu(a){return a!=null&&typeof a=="object"&&"ranges"in a&&Array.isArray(a.ranges)}function oh(a,y){const b=a.at(y);let z;if(b){z=b.mode;let ue=b.parent;for(;!z&&ue;)ue&&(z=ue.mode),ue=ue.parent}return z}function ff(a,y){if(!y)return"";if(typeof y=="string")return y;if(!a||y.after===void 0)return y.value;let b=!1,z=!1,ue=!1,Pe=!1,Ke=!1,tt=!1,ct=!1,ht=!1,bt=!1,Bt=!1,Gt=!1,hn=!1,xn=!1,Cr=!1,ui=!1,xr=a[0],Gr=0;for(;xr!=null&&xr.type&&/^(subsup|placeholder)$/.test(xr.type);)Gr+=1,xr=a[Gr];return b=!xr||xr.type==="first",xr&&(Cr=xr.mode==="text",z=!Cr&&xr.type==="mord"&&He.test(xr.value),ue=!Cr&&xr.type==="mord"&&/\d+$/.test(xr.value),Pe=!Cr&&xr.isFunction,Ke=xr.type==="genfrac",tt=xr.type==="surd",ct=xr.type==="mbin",ht=xr.type==="mrel",bt=xr.type==="mop"||xr.type==="operator"||xr.type==="extensible-symbol",Bt=xr.type==="mpunct"||xr.type==="minner",Gt=xr.type==="array",hn=xr.type==="mopen",xn=xr.type==="mclose"||xr.type==="leftright",ui=xr.type==="space"),y.after.includes("nothing")&&b||y.after.includes("letter")&&z||y.after.includes("digit")&&ue||y.after.includes("function")&&Pe||y.after.includes("frac")&&Ke||y.after.includes("surd")&&tt||y.after.includes("binop")&&ct||y.after.includes("relop")&&ht||y.after.includes("operator")&&bt||y.after.includes("punct")&&Bt||y.after.includes("array")&&Gt||y.after.includes("openfence")&&hn||y.after.includes("closefence")&&xn||y.after.includes("text")&&Cr||y.after.includes("space")&&ui?y.value:""}function Cd(a,y,b){return b?ff(a,b[y]):""}var hf={"&":"\\&","%":"\\%",$:"\\$","''":"^{\\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 Eu(a,y){var b;let z=(b=y==null?void 0:y.format)!=null?b:"auto";return z==="auto"&&([z,a]=mf(a)),z==="ascii-math"?(a=a.replace(/\u2061/gu,""),a=a.replace(/\u3016/gu,"{"),a=a.replace(/\u3017/gu,"}"),a=a.replace(/([^\\])sinx/g,"$1\\sin x"),a=a.replace(/([^\\])cosx/g,"$1\\cos x "),a=a.replace(/\u2013/g,"-"),["ascii-math",pl(a,{inlineShortcuts:y==null?void 0:y.inlineShortcuts})]):["latex",a]}function pl(a,y){var b,z,ue;if(!a)return"";let Pe=!1,Ke;const tt=(b=y.inlineShortcuts)!=null?b:hf;if(!Pe&&(a.startsWith("^")||a.startsWith("_"))&&(Ke=Ec(a.slice(1),{inlineShortcuts:tt,noWrap:!0}),a=a[0]+"{"+Ke.match+"}",a+=pl(Ke.rest,y),Pe=!0),Pe||(Ke=a.match(/^(sqrt|\u221A)(.*)/),Ke&&(Ke=Ec(Ke[2],{inlineShortcuts:tt,noWrap:!0}),a="\\sqrt{"+((z=Ke.match)!=null?z:"\\placeholder{}")+"}",a+=pl(Ke.rest,y),Pe=!0)),Pe||(Ke=a.match(/^(\\cbrt|\u221B)(.*)/),Ke&&(Ke=Ec(Ke[2],{inlineShortcuts:tt,noWrap:!0}),a="\\sqrt[3]{"+((ue=Ke.match)!=null?ue:"\\placeholder{}")+"}",a+=pl(Ke.rest,y),Pe=!0)),Pe||(Ke=a.match(/^abs(.*)/),Ke&&(Ke=Ec(Ke[1],{inlineShortcuts:tt,noWrap:!0}),a="\\left|"+Ke.match+"\\right|",a+=pl(Ke.rest,y),Pe=!0)),Pe||(Ke=a.match(/^["”“](.*?)["”“](.*)/),Ke&&(a="\\text{"+Ke[1]+"}",a+=pl(Ke[2],y),Pe=!0)),Pe||(Ke=a.match(/^([^a-zA-Z\(\{\[\_\^\\\s"]+)(.*)/),Ke&&(a=pf(Ke[1],tt),a+=pl(Ke[2],y),Pe=!0)),!Pe&&/^([fgh])[^a-zA-Z]/.test(a)&&(Ke=Ec(a.slice(1),{inlineShortcuts:tt,noWrap:!0}),a=a[1]==="("?a[0]+"\\left("+Ke.match+"\\right)":a[0]+Ke.match,a+=pl(Ke.rest,y),Pe=!0),Pe||(Ke=a.match(/^([a-zA-Z]+)(.*)/),Ke&&(a=pf(Ke[1],tt),a+=pl(Ke[2],y),Pe=!0)),!Pe)if(Ke=Ec(a,{inlineShortcuts:tt,noWrap:!0}),Ke.match&&Ke.rest[0]==="/"){const ct=Ec(Ke.rest.slice(1),{inlineShortcuts:tt,noWrap:!0});ct.match&&(a="\\frac{"+Ke.match+"}{"+ct.match+"}"+pl(ct.rest,y)),Pe=!0}else Ke.match&&(a=a.startsWith("(")?"\\left("+Ke.match+"\\right)"+pl(Ke.rest,y):Ke.match+pl(Ke.rest,y),Pe=!0);return Pe||(Ke=a.match(/^(\s+)(.*)$/),Ke&&(a=" "+pl(Ke[2],y),Pe=!0)),a}function Ec(a,y){let b="";a=a.trim();let z=a,ue=a.charAt(0),Pe={"(":")","{":"}","[":"]"}[ue];if(Pe){let Ke=1,tt=1;for(;tt<a.length&&Ke>0;)a[tt]===ue&&Ke++,a[tt]===Pe&&Ke--,tt++;Ke===0?(y.noWrap&&ue==="("?b=pl(a.substring(1,tt-1),y):(ue==="{"&&Pe==="}"&&(ue="\\{",Pe="\\}"),b="\\left"+ue+pl(a.substring(1,tt-1),y)+"\\right"+Pe),z=a.slice(Math.max(0,tt))):(b=a.substring(1,tt),z="")}else{let Ke=a.match(/^([a-zA-Z]+)/);if(Ke){let tt=Cd(null,a,y.inlineShortcuts);if(tt)return tt=tt.replace("_{#?}",""),tt=tt.replace("^{#?}",""),{match:tt,rest:a.slice(tt.length)}}if(Ke=a.match(/^([a-zA-Z])/),Ke)return{match:Ke[1],rest:a.slice(1)};if(Ke=a.match(/^(-)?\d+(\.\d*)?/),Ke)return{match:Ke[0],rest:a.slice(Ke[0].length)};/^\\(left|right)/.test(a)||(Ke=a.match(/^(\\[a-zA-Z]+)/),Ke&&(z=a.slice(Ke[1].length),b=Ke[1]))}return{match:b,rest:z}}function pf(a,y){let b=Cd(null,a,y);return b?(b=b.replace("_{#?}",""),b=b.replace("^{#?}",""),b+=" "):b=a,b}var Ed=[["\\[","\\]"],["\\(","\\)"],["$$","$$"],["$","$"],["\\begin{math}","\\end{math}"],["\\begin{displaymath}","\\end{displaymath}"],["\\begin{equation}","\\end{equation}"],["\\begin{equation*}","\\end{equation*}"]];function Ac(a){const y=a.trim();for(const b of Ed)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 mf(a){if(a=a.trim(),a.length<=1)return["latex",a];let y;return[y,a]=Ac(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 Zu="$$",sh="$$",lh=(a,y,b)=>(Ed.some(z=>y.startsWith(z[0])&&y.endsWith(z[1]))||(y=`${Zu} ${y} ${sh}`),y),vf=class eh{constructor(y){eh._modes[y]=this}static onPaste(y,b,z){var ue;if(!b.contentEditable&&b.userSelect==="none")return b.model.announce("plonk"),!1;if(typeof z=="string"){const Ke=new DataTransfer;Ke.setData("text/plain",z),z=Ke}const Pe=new ClipboardEvent("paste",{clipboardData:z,cancelable:!0});return(ue=b.host)!=null&&ue.dispatchEvent(Pe)?eh._modes[y].onPaste(b,z):!1}static copyToClipboard(y,b){if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const z=y.model,ue=z.selectionIsCollapsed?[0,z.lastOffset]:ll(z.selection),Pe=z.getValue(ue,b);navigator.clipboard.writeText(Pe).then(()=>{},()=>y.model.announce("plonk"))}static onCopy(y,b){var z;if(!b.clipboardData)return;if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const ue=y.model,Pe=ue.selectionIsCollapsed?[0,ue.lastOffset]:ll(ue.selection);let Ke=ue.getAtoms(Pe);if(Ke.every(tt=>tt.mode==="text"||!tt.mode))b.clipboardData.setData("text/plain",Ke.filter(tt=>tt instanceof fc).map(tt=>tt.value).join(""));else if(Ke.every(tt=>tt.mode==="latex"))b.clipboardData.setData("text/plain",ue.getAtoms(Pe,{includeChildren:!0}).map(tt=>{var ct;return(ct=tt.value)!=null?ct:""}).join(""));else{let tt;Ke.length===1&&Ke[0].verbatimLatex!==void 0?tt=Ke[0].verbatimLatex:tt=ue.getValue(Pe,"latex-expanded"),b.clipboardData.setData("application/x-latex",tt);try{b.clipboardData.setData("text/plain",y.options.onExport(y,tt,Pe))}catch(ct){}if(Ke.length===1){const ct=Ke[0];(ct.type==="root"||ct.type==="group")&&(Ke=ct.body.filter(ht=>ht.type!=="first"))}try{b.clipboardData.setData("application/json+mathlive",JSON.stringify(Ke.map(ct=>ct.toJson())))}catch(ct){}if((z=window[Symbol.for("io.cortexjs.compute-engine")])!=null&&z.ComputeEngine){const ct=window.MathfieldElement.computeEngine;if(ct)try{const ht=ct.jsonSerializationOptions;ct.jsonSerializationOptions={metadata:["latex"]};const bt=ct.parse(ue.getValue(Pe,"latex-unstyled"));ct.jsonSerializationOptions=ht;const Bt=JSON.stringify(bt.json);Bt&&b.clipboardData.setData("application/json",Bt)}catch(ht){}}}b.preventDefault()}static insert(y,b,z={}){var ue;const Pe=z.mode==="auto"?y.mode:(ue=z.mode)!=null?ue:y.mode;return eh._modes[Pe].insert(y,b,z)}onPaste(y,b){return!1}insert(y,b,z){return!1}};vf._modes={};var so=vf,ch=[{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","^"]}],Ad={"\\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 Vl(a){var y;return((y=a.element)==null?void 0:y.mathfield)===a}function Zl(a){var y,b;return(b=(y=a.querySelector(".ML__caret"))!=null?y:a.querySelector(".ML__text-caret"))!=null?b:a.querySelector(".ML__latex-caret")}function Mc(a){const y=Zl(a);if(!y)return null;const b=y.getBoundingClientRect();return{x:b.right,y:b.bottom,height:b.height}}function Md(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 kd(a,y,b){if(!y)return null;const z=a.field.getBoundingClientRect(),ue=y.right-y.left,Pe=y.bottom-y.top,Ke=Math.ceil(y.left-z.left+a.field.scrollLeft*b),tt=Math.ceil(y.top-z.top);return{left:Ke,right:Ke+ue,top:tt,bottom:tt+Pe}}function Td(a){const y=a.getBoundingClientRect(),b=parseInt(getComputedStyle(a).marginRight),z={top:y.top-1,bottom:y.bottom,left:y.left,right:y.right-1+b};if(a.children.length===0||a.tagName.toUpperCase()==="SVG")return z;for(const ue of a.children)if(ue.nodeType===1&&"atomId"in ue.dataset&&!ue.classList.contains("pstrut")){const Pe=Td(ue);z.left=Math.min(z.left,Pe.left),z.right=Math.max(z.right,Pe.right),z.top=Math.min(z.top,Pe.top),z.bottom=Math.max(z.bottom,Pe.bottom)}return z}function ou(a,y){var b,z;if(!y.id)return null;let ue=(z=(b=a.atomBoundsCache)==null?void 0:b.get(y.id))!=null?z:null;if(ue!==null)return ue;const Pe=a.field.querySelector(`[data-atom-id="${y.id}"]`);return ue=Pe?Td(Pe):null,a.atomBoundsCache&&(ue?a.atomBoundsCache.set(y.id,ue):a.atomBoundsCache.delete(y.id)),ue!=null?ue:null}function gf(a,y,b){const z=new Map;for(const ue of a.model.getAtoms(y,{includeChildren:!0})){if(b!=null&&b.excludeAtomsWithBackground&&ue.style.backgroundColor)continue;const Pe=a.field,Ke=Pe.offsetWidth;let ct=Math.floor(Pe.getBoundingClientRect().width)/Ke;ct=isNaN(ct)?1:ct;const ht=kd(a,ou(a,ue),ct);if(ht){const bt=Md(ue);if(z.has(bt)){const Bt=z.get(bt);z.set(bt,{left:Math.min(Bt.left,ht.left),right:Math.max(Bt.right,ht.right),top:Math.min(Bt.top,ht.top),bottom:Math.max(Bt.bottom,ht.bottom)})}else z.set(bt,ht)}}return[...z.values()]}function Od(a,y){return a.model.selection.ranges.reduce((b,z)=>b.concat(...gf(a,z,y)),[])}function Dd(a,y){return a==="*"||y==="none"?!0:y==="same-origin"?!window.origin||a===window.origin:typeof y=="function"?y(a):!1}function Gu(a){let y=0,b=0;const z=a.offsetWidth,ue=a.offsetHeight;for(;a instanceof HTMLElement;)y+=a.offsetTop,b+=a.offsetLeft,a=a.offsetParent;return new DOMRect(b,y,z,ue)}var yf=`@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;
}
`,rs=`.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);
}
`,bf=`#mathlive-environment-popover.is-visible {
visibility: visible;
}
#mathlive-environment-popover {
--_environment-panel-height: var(--environment-panel-height, 70px);
--_accent-color: var(--accent-color, #aaa);
--_background: var(--environment-panel-background, #fff);
--_button-background: var(--environment-panel-button-background, white);
--_button-background-hover: var(--environment-panel-button-background-hover, #f5f5f7);
--_button-background-active: var(--environment-panel-button-background-active, #f5f5f7);
--_button-text: var(--environment-panel-button-text, #e3e4e8);
position: absolute;
width: calc(var(--_environment-panel-height) * 2);
height: var(--_environment-panel-height);
border-radius: 4px;
border: 1.5px solid var(--_accent-color);
background-color: var(--_background);
box-shadow: 0 0 30px 0 var(--environment-shadow, rgba(0, 0, 0, 0.4));
pointer-events: all;
visibility: hidden;
}
#mathlive-environment-popover .MLEP__array-buttons {
height: calc(var(--_environment-panel-height) * 5/4);
width: calc(var(--_environment-panel-height) * 5/4);
margin-left: calc(0px - var(--_environment-panel-height) * 0.16);
margin-top: calc(0px - var(--_environment-panel-height) * 0.19);
}
#mathlive-environment-popover .MLEP__array-buttons .font {
fill: white;
}
#mathlive-environment-popover .MLEP__array-buttons circle {
fill: #7f7f7f;
transition: fill 300ms;
}
#mathlive-environment-popover .MLEP__array-buttons .MLEP__array-insert-background {
fill-opacity: 1;
fill: var(--_background);
stroke: var(--_accent-color);
stroke-width: 3px;
}
#mathlive-environment-popover .MLEP__array-buttons line {
stroke: var(--_accent-color);
stroke-opacity: 0;
stroke-width: 40;
pointer-events: none;
transition: stroke-opacity 300ms;
stroke-linecap: round;
}
#mathlive-environment-popover .MLEP__array-buttons g[data-command]:hover circle {
fill: var(--_accent-color);
}
#mathlive-environment-popover .MLEP__array-buttons g[data-command]:hover line {
stroke-opacity: 1;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls {
height: 100%;
width: 50%;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options {
width: var(--_environment-panel-height);
height: var(--_environment-panel-height);
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: space-around;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg {
pointer-events: all;
margin-top: 2px;
width: calc(var(--_environment-panel-height) / 3 * 28 / 24);
height: calc(var(--_environment-panel-height) / 3 - 2px);
border-radius: calc(var(--_environment-panel-height) / 25);
background-color: var(--_button-background);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg:hover {
background-color: var(--_button-background-hover);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg path,
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg line {
stroke: var(--_button-text);
stroke-width: 2;
stroke-linecap: round;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg rect,
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg path {
fill-opacity: 0;
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active {
pointer-events: none;
background-color: var(--_button-background-active);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active path,
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active line {
stroke: var(--_accent-color);
}
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active circle {
fill: var(--_accent-color);
}
`,uh=`/* The element that display info while in latex mode */
#mathlive-suggestion-popover {
background-color: rgba(97, 97, 97);
color: #fff;
text-align: center;
border-radius: 8px;
position: fixed;
z-index: 1;
display: none;
flex-direction: column;
justify-content: center;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
#mathlive-suggestion-popover.top-tip::after {
content: '';
position: absolute;
top: -15px;
left: calc(50% - 15px);
width: 0;
height: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-bottom: 15px solid rgba(97, 97, 97);
font-size: 1rem;
}
#mathlive-suggestion-popover.bottom-tip::after {
content: '';
position: absolute;
bottom: -15px;
left: calc(50% - 15px);
width: 0;
height: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-top: 15px solid rgba(97, 97, 97);
font-size: 1rem;
}
#mathlive-suggestion-popover.is-animated {
transition: all 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
animation: ML__fade-in cubic-bezier(0, 0, 0.2, 1) 0.15s;
}
#mathlive-suggestion-popover.is-visible {
display: flex;
}
@keyframes ML__fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* The wrapper class for the entire content of the popover panel */
#mathlive-suggestion-popover ul {
display: flex;
flex-flow: column;
list-style: none;
margin: 0;
padding: 0;
align-items: flex-start;
max-height: 400px;
overflow-y: auto;
}
#mathlive-suggestion-popover li {
display: flex;
flex-direction: row;
justify-content: space-between;
margin: 8px;
padding: 8px;
width: calc(100% - 16px - 16px);
column-gap: 1em;
border-radius: 8px;
cursor: pointer;
/* Since the content can be clicked on, provide feedback on hover */
}
#mathlive-suggestion-popover li a {
color: #5ea6fd;
padding-top: 0.3em;
margin-top: 0.4em;
display: block;
}
#mathlive-suggestion-popover li a:hover {
color: #5ea6fd;
text-decoration: underline;
}
#mathlive-suggestion-popover li:hover,
#mathlive-suggestion-popover li.is-pressed,
#mathlive-suggestion-popover li.is-active {
background: rgba(255, 255, 255, 0.1);
}
/* The command inside a popover (inside a #mathlive-suggestion-popover) */
.ML__popover__command {
font-size: 1.6rem;
font-family: KaTeX_Main;
}
.ML__popover__current {
background: #5ea6fd;
color: #fff;
}
.ML__popover__latex {
font-family: 'IBM Plex Mono', 'Source Code Pro', Consolas, 'Roboto Mono', Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Courier, monospace;
align-self: center;
}
/* The keyboard shortcuts for a symbol as displayed in the popover */
.ML__popover__keybinding {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 0.8em;
opacity: 0.7;
}
/* Style for the character that joins the modifiers of a keyboard shortcut
(usually a "+" sign)*/
.ML__shortcut-join {
opacity: 0.5;
}
`,su=`/* 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);*/
}
`,dh=`.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));
}
`,Xu=`: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;
}
`,fh=`.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;
}
`,ds;function Wc(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=rs;break;case"mathfield":y=yf;break;case"environment-popover":y=bf;break;case"suggestion-popover":y=uh;break;case"keystroke-caption":y=su;break;case"virtual-keyboard":y=dh;break;case"ui":y=Xu;break;case"menu":y=fh;break;default:debugger}return y}function lu(a){return ds||(ds={}),ds[a]||(ds[a]=new CSSStyleSheet,ds[a].replaceSync(Wc(a))),ds[a]}var hc;function jl(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(Wc(a))),window.document.head.appendChild(b);return}if(hc||(hc={}),((y=hc[a])!=null?y:0)!==0)hc[a]+=1;else{const b=lu(a);document.adoptedStyleSheets=[...document.adoptedStyleSheets,b],hc[a]=1}}function E(a){if("adoptedStyleSheets"in document&&hc!=null&&hc[a]&&(hc[a]-=1,hc[a]<=0)){const y=ds[a];document.adoptedStyleSheets=document.adoptedStyleSheets.filter(b=>b!==y)}}var ee=class Tm extends Br{constructor(y){var b;super(ne(ae({},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 Tm(y)}toJson(){return ne(ae({},super.toJson()),{accentChar:this.accent,svgAccent:this.svgAccent})}render(y){var b;const z=new Po({parent:y,mathstyle:"cramp"},this.style),ue=(b=Br.createBox(z,this.body))!=null?b:new hi("\u25A2",{style:this.style});let Pe=0;!this.hasEmptyBranch("body")&&this.body.length===2&&this.body[1].isCharacterBox()&&(Pe=ue.skew);let Ke=Math.min(ue.height,zl),tt;if(this.svgAccent)tt=Ul(this.svgAccent),Ke=z.metrics.bigOpSpacing1-Ke;else if(this.accent){const ht=new hi(this.accent,{fontFamily:"Main-Regular"});ht.italic=0;const bt=this.accent===8407?" ML__accent-vec":"";tt=new hi(new hi(ht),{classes:"ML__accent-body"+bt})}tt=new us({shift:0,children:[{box:new hi(ue)},-Ke,{box:tt,marginLeft:ue.left+2*Pe,classes:["ML__center"]}]});const ct=new hi(tt,{type:"lift"});return this.caret&&(ct.caret=this.caret),this.bind(z,ct.wrap(z)),this.attachSupsub(z,{base:ct})}},Ee={"(":")","{":"}","[":"]","|":"|","\\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"},we=Object.fromEntries(Object.entries(Ee).map(([a,y])=>[y,a]));function Ne(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 Je(a,y,b,z){var ue;const Ke=new hi(Ne(a),{fontFamily:"Main-Regular",isSelected:z.isSelected,classes:"ML__small-delim "+((ue=z.classes)!=null?ue:"")}).wrap(y);return b&&Ke.setTop((1-y.scalingFactor)*al),Ke}function ft(a,y,b,z,ue){var Pe,Ke;const tt=new Po({parent:z,mathstyle:"textstyle"},ue==null?void 0:ue.style),ct=new hi(Ne(a),{fontFamily:`Size${y}-Regular`,isSelected:ue.isSelected,classes:((Pe=ue.classes)!=null?Pe:"")+` ML__delim-size${y}`,type:(Ke=ue.type)!=null?Ke:"ignore"}).wrap(tt);return b&&ct.setTop((1-tt.scalingFactor)*al),ct}function wt(a,y,b,z,ue){var Pe;let Ke,tt,ct,ht;Ke=ct=ht=Ne(a),tt=null;let bt="Size1-Regular";a==="\\vert"||a==="\\lvert"||a==="\\rvert"||a==="\\mvert"||a==="\\mid"?ct=Ke=ht=8739:a==="\\Vert"||a==="\\lVert"||a==="\\rVert"||a==="\\mVert"||a==="\\|"?ct=Ke=ht=8741:a==="\\uparrow"?ct=ht=9168:a==="\\Uparrow"?ct=ht=8214:a==="\\downarrow"?Ke=ct=9168:a==="\\Downarrow"?Ke=ct=8214:a==="\\updownarrow"?(Ke=8593,ct=9168,ht=8595):a==="\\Updownarrow"?(Ke=8657,ct=8214,ht=8659):a==="["||a==="\\lbrack"?(Ke=9121,ct=9122,ht=9123,bt="Size4-Regular"):a==="]"||a==="\\rbrack"?(Ke=9124,ct=9125,ht=9126,bt="Size4-Regular"):a==="\\lfloor"||a==="\u230A"?(ct=Ke=9122,ht=9123,bt="Size4-Regular"):a==="\\lceil"||a==="\u2308"?(Ke=9121,ct=ht=9122,bt="Size4-Regular"):a==="\\rfloor"||a==="\u230B"?(ct=Ke=9125,ht=9126,bt="Size4-Regular"):a==="\\rceil"||a==="\u2309"?(Ke=9124,ct=ht=9125,bt="Size4-Regular"):a==="("||a==="\\lparen"?(Ke=9115,ct=9116,ht=9117,bt="Size4-Regular"):a===")"||a==="\\rparen"?(Ke=9118,ct=9119,ht=9120,bt="Size4-Regular"):a==="\\{"||a==="\\lbrace"?(Ke=9127,tt=9128,ht=9129,ct=9130,bt="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(Ke=9131,tt=9132,ht=9133,ct=9130,bt="Size4-Regular"):a==="\\lgroup"||a==="\u27EE"?(Ke=9127,ht=9129,ct=9130,bt="Size4-Regular"):a==="\\rgroup"||a==="\u27EF"?(Ke=9131,ht=9133,ct=9130,bt="Size4-Regular"):a==="\\lmoustache"||a==="\u23B0"?(Ke=9127,ht=9133,ct=9130,bt="Size4-Regular"):a==="\\rmoustache"||a==="\u23B1"?(Ke=9131,ht=9129,ct=9130,bt="Size4-Regular"):a==="\\surd"?(Ke=57345,ht=9143,ct=57344,bt="Size4-Regular"):a==="\\ulcorner"?(Ke=9484,ct=ht=32):a==="\\urcorner"?(Ke=9488,ct=ht=32):a==="\\llcorner"?(ht=9492,ct=Ke=32):a==="\\lrcorner"&&(Ke=9496,ct=Ke=32);const Bt=Ss(Ke,bt),Gt=Bt.height+Bt.depth,hn=Ss(ct,bt),xn=hn.height+hn.depth,Cr=Ss(ht,bt),ui=Cr.height+Cr.depth;let xr=0,Gr=1;if(tt!==null){const fl=Ss(tt,bt);xr=fl.height+fl.depth,Gr=2}const vi=Gt+ui+xr,qr=Math.max(0,Math.ceil((y-vi)/(Gr*xn))),fa=vi+qr*Gr*xn;let ja=al;b&&(ja=ja*z.scalingFactor);const Oa=fa/2-ja,Ro=.008,is=[];is.push({box:new hi(ht,{fontFamily:bt})}),is.push(-Ro);const ki=new hi(ct,{fontFamily:bt});if(tt===null)for(let fl=0;fl<qr;fl++)is.push({box:ki});else{for(let fl=0;fl<qr;fl++)is.push({box:ki});is.push(-Ro),is.push({box:new hi(tt,{fontFamily:bt})}),is.push(-Ro);for(let fl=0;fl<qr;fl++)is.push({box:ki})}is.push(-Ro),is.push({box:new hi(Ke,{fontFamily:bt})});let Yl="";bt==="Size1-Regular"?Yl=" delim-size1":bt==="Size4-Regular"&&(Yl=" delim-size4");const Nc=new us({bottom:Oa,children:is},{classes:Yl});return new hi(Nc,ne(ae({},ue!=null?ue:{}),{classes:((Pe=ue==null?void 0:ue.classes)!=null?Pe:"")+" ML__delim-mult"}))}var Mt=new Set(["(",")","\\lparen","\\rparen","[","]","\\lbrack","\\rbrack","\\{","\\}","\\lbrace","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd","\u230A","\u230B","\u2308","\u2309"]),Rt=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\mvert","\\mid","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","\u27EE","\u27EF","\u23B0","\u23B1"]),fn=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),An=[0,1.2,1.8,2.4,3];function cr(a,y,b,z){return a===void 0||a==="."?sa(b,z.classes):(a==="<"||a==="\\lt"||a==="\u27E8"?a="\\langle":(a===">"||a==="\\gt"||a==="\u27E9")&&(a="\\rangle"),Mt.has(a)||fn.has(a)?ft(a,y,!1,b,z):Rt.has(a)?wt(a,An[y],!1,b,z):(console.assert(!1,"Unknown delimiter '"+a+"'"),null))}var qn=[{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}],Kr=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"stack"}],ni=[{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 Ei(a){return a.type==="small"?"Main-Regular":a.type==="large"?"Size"+a.size+"-Regular":(console.assert(a.type==="stack"),"Size4-Regular")}function zi(a,y,b,z){const ue={"-4":0,"-3":1,0:2}[z.mathstyle.sizeDelta];for(let Pe=ue;Pe<b.length&&b[Pe].type!=="stack";Pe++){const Ke=Ss(a,Ei(b[Pe]));if(Ke.defaultMetrics)return{type:"small",mathstyle:"scriptstyle"};let tt=Ke.height+Ke.depth;if(b[Pe].type==="small"&&(b[Pe].mathstyle==="scriptscriptstyle"?tt*=Math.max(yc[Math.max(1,z.size-2)],z.minFontScale):b[Pe].mathstyle==="scriptstyle"&&(tt*=Math.max(yc[Math.max(1,z.size-1)],z.minFontScale))),tt>y)return b[Pe]}return b[b.length-1]}function Ji(a,y,b,z,ue,Pe){if(!y||y.length===0||y===".")return sa(ue);y==="<"||y==="\\lt"?y="\\langle":(y===">"||y==="\\gt")&&(y="\\rangle");let Ke;fn.has(y)?Ke=qn:Mt.has(y)?Ke=ni:Ke=Kr;const tt=zi(Ne(y),b,Ke,ue),ct=new Po({parent:ue,mathstyle:tt.mathstyle},Pe==null?void 0:Pe.style);return tt.type==="small"?Je(y,ct,z,ne(ae({},Pe),{type:a})):tt.type==="large"?ft(y,tt.size,z,ct,ne(ae({},Pe),{type:a})):(console.assert(tt.type==="stack"),wt(y,b,z,ct,ne(ae({},Pe),{type:a})))}function Bi(a,y,b,z,ue,Pe){if(y===".")return sa(ue,Pe==null?void 0:Pe.classes);const Ke=al*ue.scalingFactor,tt=901,ct=5/lc,ht=Math.max(b-Ke,z+Ke),bt=Math.max(ht/500*tt,2*ht-ct);return Ji(a,y,bt,!0,ue,Pe)}function sa(a,y){const b=new hi(null,{classes:" nulldelimiter "+(y!=null?y:""),type:"ignore"});return b.width=a.getRegisterAsEm("nulldelimiterspace"),b.wrap(new Po({parent:a,mathstyle:"textstyle"}))}var Wa=class Om extends Br{constructor(y){var b;super({type:"placeholder",command:"\\placeholder",mode:(b=y==null?void 0:y.mode)!=null?b:"math",style:y==null?void 0:y.style}),this.captureSelection=!0}static fromJson(y){return new Om(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{}"}},Xa=["matrix","matrix*","pmatrix","pmatrix*","bmatrix","bmatrix*","Bmatrix","Bmatrix*","vmatrix","vmatrix*","Vmatrix","Vmatrix*"],Ao=["cases","dcases","rcases"],fs=["align","align*","aligned","gather","gathered","split"],rl=["array","subequations","eqnarray"];function Os(a){return rl.concat(fs).concat(Ao).concat(Xa).includes(a)}function Sl(a){return Xa.includes(a)}function Cl(a){return Ao.includes(a)}function Ys(a){return fs.includes(a)}function El(a,y,b){let z=0;for(const ht of b)"align"in ht&&(z+=1);let ue=0;const Pe=[];for(const ht of y){let bt=0;for(ue=Math.max(ue,Math.min(ht.length,z));bt<ht.length;){const Bt=[],Gt=Math.min(ht.length,bt+z);for(;bt<Gt;){const hn=ht[bt];hn.length===0?Bt.push([new Br({type:"first",mode:a.mode})]):hn[0].type!=="first"?Bt.push([new Br({type:"first",mode:a.mode}),...hn]):(console.assert(!hn.slice(1).some(xn=>xn.type==="first")),Bt.push(hn)),bt+=1}Pe.push(Bt)}}Pe.length>0&&Pe[Pe.length-1].length===1&&Pe[Pe.length-1][0].length===1&&Pe[Pe.length-1][0][0].type==="first"&&Pe.pop();const Ke=[];for(const ht of Pe){if(ht.length!==ue)for(let bt=ht.length;bt<ue;bt++)ht.push([new Br({type:"first",mode:a.mode}),new Wa]);Ke.push(ht)}let tt=0,ct=0;for(const ht of Ke){ct=0;for(const bt of ht){for(const Bt of bt)Bt.parent=a,Bt.parentBranch=[tt,ct];ct+=1}tt+=1}return a.isDirty=!0,Ke}var co=class Dm extends Br{constructor(y,b,z,ue={}){var Pe;super({type:"array"}),this.environmentName=y,this.rowGaps=z,ue.mathstyleName&&(this.mathstyleName=ue.mathstyleName),ue.columns&&(ue.columns.length===0?this.colFormat=[{align:"l"}]:this.colFormat=ue.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=El(this,b,this.colFormat),ue.leftDelim&&(this.leftDelim=ue.leftDelim),ue.rightDelim&&(this.rightDelim=ue.rightDelim),ue.arraycolsep!==void 0&&(this.arraycolsep=ue.arraycolsep),this.colSeparationType=ue.colSeparationType,ue.arraystretch!==void 0&&(this.arraystretch=ue.arraystretch),this.minColumns=(Pe=ue.minColumns)!=null?Pe:1}static fromJson(y){return new Dm(y.environmentName,y.array,y.rowGaps,y)}toJson(){const y=ne(ae({},super.toJson()),{environmentName:this.environmentName,array:this.array.map(b=>b.map(z=>z.map(ue=>ue.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(Su(y))return(b=this.array[y[0]][y[1]])!=null?b:void 0}createBranch(y){var b;return Su(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(dc(y))return super.removeBranch(y);const b=this.branch(y);return this.array[y[0]][y[1]]=void 0,b.forEach(z=>{z.parent=void 0,z.parentBranch=void 0}),console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}get hasChildren(){return this.children.length>0}get children(){const y=[];for(const b of this.array)for(const z of b)if(z)for(const ue of z)y.push(...ue.children),y.push(ue);return[...y,...super.children]}render(y){var b,z,ue,Pe,Ke,tt;const ct=new Po({parent:y,mathstyle:this.mathstyleName},this.style),ht=ct.getRegisterAsEm("arrayrulewidth"),bt=ct.getRegisterAsEm("arraycolsep"),Bt=ct.getRegisterAsEm("doublerulesep"),Gt=(z=(b=this.arraystretch)!=null?b:ct.getRegisterAsNumber("arraystretch"))!=null?z:1;let hn=typeof this.arraycolsep=="number"?this.arraycolsep:bt;this.colSeparationType==="small"&&(hn=.2778*(new Po({parent:y,mathstyle:"scriptstyle"}).scalingFactor/y.scalingFactor));const xn=Gt*Jc,Cr=.7*xn,ui=.3*xn;let xr=0;const Gr=[];let vi=0;const qr=this.array.length;for(let ps=0;ps<qr;++ps){const Vs=this.array[ps];vi=Math.max(vi,Vs.length);const hl=new Po({parent:ct,mathstyle:this.mathstyleName},this.style);let Rc=Cr/hl.scalingFactor,Bc=ui/hl.scalingFactor;const _c={cells:[],height:0,depth:0,pos:0};for(const vc of Vs){const tp=(ue=Br.createBox(hl,vc,{type:"ignore"}))!=null?ue:new hi(null,{type:"ignore"});Bc=Math.max(Bc,tp.depth),Rc=Math.max(Rc,tp.height),_c.cells.push(tp)}let Fc=(Pe=bd(this.rowGaps[ps]))!=null?Pe:0;Fc>0&&(Fc+=ui,Bc=Math.max(Bc,Fc),Fc=0),ps<qr-1&&!Sl(this.environmentName)&&this.environmentName!=="cases"&&this.environmentName!=="array"&&(Bc+=ct.getRegisterAsEm("jot")),_c.height=Rc,_c.depth=Bc,xr+=Rc,_c.pos=xr,xr+=Bc+Fc,Gr.push(_c)}const fa=xr/2+al,ja=[];for(let ps=0;ps<vi;ps++){const Vs=[];for(const hl of Gr){const Rc=hl.cells[ps];Rc.depth=hl.depth,Rc.height=hl.height,Vs.push({box:Rc,shift:hl.pos-fa})}Vs.length>0&&ja.push(new us({individualShift:Vs}))}const Oa=[];let Ro=!1,is=!1,ki=0,Yl=!this.leftDelim;const{colFormat:Nc}=this;for(const ps of Nc){if("align"in ps&&ki>=ja.length)break;if("align"in ps)Ro?Oa.push(Ds(2*hn)):(is||Yl)&&Oa.push(Ds(hn)),Oa.push(new hi(ja[ki],{classes:"col-align-"+ps.align})),ki++,Ro=!0,is=!1,Yl=!1;else if("gap"in ps){if(typeof ps.gap=="number")Oa.push(Ds(ps.gap));else{const Vs=Rs(y,Gr,fa,ps.gap);Vs&&Oa.push(Vs)}Ro=!1,is=!1,Yl=!1}else if("separator"in ps){const Vs=new hi(null,{classes:"vertical-separator"});Vs.height=xr,Vs.setStyle("height",xr,"em"),Vs.setStyle("border-right",`${ht}em ${ps.separator} currentColor`),Vs.setStyle("vertical-align",-(xr-fa),"em");let hl=0;is?hl=Bt-ht:Ro&&(hl=hn-ht),Vs.left=hl,Oa.push(Vs),Ro=!1,is=!0,Yl=!1}}Ro&&!this.rightDelim&&Oa.push(Ds(hn));const rc=new hi(Oa,{classes:"mtable"});if((!this.leftDelim||this.leftDelim===".")&&(!this.rightDelim||this.rightDelim==="."))return this.caret&&(rc.caret=this.caret),this.bind(y,rc);const fl=rc.height,Ql=rc.depth,Nl=this.bind(y,new hi([this.bind(y,Bi("open",(Ke=this.leftDelim)!=null?Ke:".",fl,Ql,ct,{isSelected:this.isSelected})),rc,this.bind(y,Bi("close",(tt=this.rightDelim)!=null?tt:".",fl,Ql,ct,{isSelected:this.isSelected}))],{type:"ord"}));return Nl?(Nl.setStyle("display","inline-block"),this.caret&&(Nl.caret=this.caret),this.bind(y,this.attachSupsub(y,{base:Nl}))):null}_serialize(y){var b;const z=[];if(this.environmentName==="lines"?z.push("{\\displaylines"):z.push(`\\begin{${this.environmentName}}`),this.environmentName==="array"){if(z.push("{"),this.colFormat!==void 0)for(const ue of this.colFormat)"align"in ue&&typeof ue.align=="string"?z.push(ue.align):"separator"in ue&&ue.separator==="solid"?z.push("|"):"separator"in ue&&ue.separator==="dashed"&&z.push(":");z.push("}")}for(let ue=0;ue<this.array.length;ue++){for(let Pe=0;Pe<this.array[ue].length;Pe++)Pe>0&&z.push(" & "),z.push(Br.serialize(this.array[ue][Pe],y));if(ue<this.array.length-1){const Pe=this.rowGaps[ue];Pe!=null&&Pe.dimension?z.push(`\\\\[${Pe.dimension} ${(b=Pe.unit)!=null?b:"pt"}] `):z.push("\\\\ ")}}return this.environmentName==="lines"?z.push("}"):z.push(`\\end{${this.environmentName}}`),Eo(z)}getCell(y,b){return this.array[y][b]}setCell(y,b,z){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.array[y][b]!==void 0);for(const Pe of this.array[y][b])Pe.parent=void 0,Pe.parentBranch=void 0;let ue=z;(z.length===0||z[0].type!=="first")&&(ue=[new Br({type:"first",mode:this.mode}),...z]),this.array[y][b]=ue;for(const Pe of ue)Pe.parent=this,Pe.parentBranch=[y,b];this.isDirty=!0}addRowBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let z=0;z<this.colCount;z++)b.push(Ns(this));this.array.splice(y,0,b);for(let z=y;z<this.rowCount;z++)for(let ue=0;ue<this.colCount;ue++){const Pe=this.array[z][ue];if(Pe)for(const Ke of Pe)Ke.parentBranch=[z,ue]}this.isDirty=!0}addRowAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let z=0;z<this.colCount;z++)b.push(Ns(this));this.array.splice(y+1,0,b);for(let z=y+1;z<this.rowCount;z++)for(let ue=0;ue<this.colCount;ue++){const Pe=this.array[z][ue];if(Pe)for(const Ke of Pe)Ke.parentBranch=[z,ue]}this.isDirty=!0}removeRow(y){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.rowCount>y);const b=this.array.splice(y,1);for(const z of b)for(const ue of z)if(ue)for(const Pe of ue)Pe.parent=void 0,Pe.parentBranch=void 0;for(let z=y;z<this.rowCount;z++)for(let ue=0;ue<this.colCount;ue++){const Pe=this.array[z][ue];if(Pe)for(const Ke of Pe)Ke.parentBranch=[z,ue]}this.isDirty=!0}addColumnBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y,0,Ns(this));for(let b=0;b<this.rowCount;b++)for(let z=y;z<this.colCount;z++){const ue=this.array[b][z];if(ue)for(const Pe of ue)Pe.parentBranch=[b,z]}this.isDirty=!0}addColumnAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y+1,0,Ns(this));for(let b=0;b<this.rowCount;b++)for(let z=y+1;z<this.colCount;z++){const ue=this.array[b][z];if(ue)for(const Pe of ue)Pe.parentBranch=[b,z]}this.isDirty=!0}addColumn(){this.addColumnAfter(this.colCount-1)}removeColumn(y){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.colCount>y);for(const b of this.array){const z=b.splice(y,1);for(const ue of z)if(ue)for(const Pe of ue)Pe.parent=void 0,Pe.parentBranch=void 0}for(let b=0;b<this.rowCount;b++)for(let z=y;z<this.colCount;z++){const ue=this.array[b][z];if(ue)for(const Pe of ue)Pe.parentBranch=[b,z]}this.isDirty=!0}get cells(){const y=[];for(const b of this.array)for(const z of b)z&&y.push(z.filter(ue=>ue.type!=="first"));return y}};function Ns(a){const y=new Br({type:"first",mode:a.mode});y.parent=a;const b=new Wa;return b.parent=a,[y,b]}function Ds(a){const y=new hi(null,{classes:"arraycolsep"});return y.width=a,y}function Rs(a,y,b,z){if(!z)return null;const ue=[];for(const Pe of y){const Ke=Br.createBox(a,z,{type:"ignore"});Ke&&(Ke.depth=Pe.depth,Ke.height=Pe.height,ue.push({box:Ke,shift:Pe.pos-b}))}return new us({individualShift:ue}).wrap(a)}var Ws=class Im extends Br{constructor(y){super({mode:y.mode,command:y.command,style:y.style,body:y.body,type:"box"}),this.framecolor=y.framecolor,this.backgroundcolor=y.backgroundcolor,this.padding=y.padding,this.offset=y.offset,this.border=y.border}static fromJson(y){return new Im(y)}toJson(){return ne(ae({},super.toJson()),{framecolor:this.framecolor,backgroundcolor:this.backgroundcolor,padding:this.padding,offset:this.offset,border:this.border})}render(y){var b,z,ue,Pe;const Ke=Br.createBox(y,this.body,{type:"lift"});if(!Ke)return null;const tt=y.toEm((b=this.offset)!=null?b:{dimension:0});Ke.depth+=tt,Ke.setStyle("display","inline-block"),Ke.setStyle("position","relative"),Ke.setStyle("height",Math.floor(100*Ke.height+Ke.depth)/100,"em"),Ke.setStyle("vertical-align",-Math.floor(100*Ke.height)/100,"em");const ct=new Po({parent:y},this.style),ht=ct.toEm((z=this.padding)!=null?z:{register:"fboxsep"}),bt=new hi(null,{classes:"ML__box"});bt.height=Ke.height+ht,bt.depth=Ke.depth+ht,bt.setStyle("box-sizing","border-box"),bt.setStyle("position","absolute"),bt.setStyle("top",-ht+.3,"em"),bt.setStyle("left",0),bt.setStyle("height",bt.height+bt.depth,"em"),bt.setStyle("width","100%"),this.backgroundcolor&&bt.setStyle("background-color",(ue=ct.toColor(this.backgroundcolor))!=null?ue:"transparent"),this.framecolor&&bt.setStyle("border",`${ct.getRegisterAsEm("fboxrule",2)}em solid ${(Pe=ct.toColor(this.framecolor))!=null?Pe:"black"}`),this.border&&bt.setStyle("border",this.border);const Bt=new hi([bt,Ke],{type:"lift"});return Bt.setStyle("display","inline-block"),Bt.setStyle("position","relative"),Bt.setStyle("line-height",0),Bt.height=Ke.height+ht+(tt>0?tt:0),Bt.depth=Ke.depth+ht+(tt<0?-tt:0),Bt.setStyle("padding-left",ht,"em"),Bt.setStyle("padding-right",ht,"em"),Bt.setStyle("height",Math.floor(100*(Ke.height+Ke.depth+2*ht+Math.abs(tt)))/100,"em"),Bt.setStyle("margin-top",-ht,"em"),Bt.setStyle("top",Math.floor(100*(Ke.depth-Ke.height+2*ht-tt))/100,"em"),Bt.setStyle("vertical-align",Math.floor(100*(Ke.depth+2*ht))/100,"em"),this.caret&&(Bt.caret=this.caret),this.attachSupsub(y,{base:Bt})}_serialize(y){return y.skipStyles?Eo([this.bodyToLatex(y),this.supsubToLatex(y)]):super._serialize(y)}},Uc=class Lm extends Br{constructor(y,b){var z;super({type:"composition",mode:(z=b==null?void 0:b.mode)!=null?z:"math",value:y})}static fromJson(y){return new Lm(y.value,y)}toJson(){return super.toJson()}get computedStyle(){return{}}render(y){const b=new hi(this.value,{classes:"ML__composition",type:"composition"});return this.bind(y,b),this.caret&&(b.caret=this.caret),b}_serialize(y){return""}},kl=class Pm extends Br{constructor(y){super({type:"error",value:y,command:y,mode:"math"}),this.verbatimLatex=y}static fromJson(y){return new Pm(y.command)}toJson(){return super.toJson()}render(y){const b=this.createBox(y,{classes:"ML__error"});return this.caret&&(b.caret=this.caret),b}},cl=class Nm extends Br{constructor(y,b,z){super({type:"group",mode:b,style:z}),this.body=y,this.boxType=y.length>1?"ord":"ignore",this.skipBoundary=!0,this.displayContainsHighlight=!1,y&&y.length===1&&y[0].command===","&&(this.captureSelection=!0)}static fromJson(y){return new Nm(y.body,y.mode,y.style)}render(y){const b=Br.createBox(y,this.body,{type:this.boxType});return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=zt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):`{${this.bodyToLatex(y)}}`}},Uo=class Rm extends Br{constructor(y,b,z){super({type:"leftright",style:z.style,displayContainsHighlight:!0}),this.variant=y,this.body=b,this.leftDelim=z.leftDelim,this.rightDelim=z.rightDelim}static fromJson(y){var b;return new Rm((b=y.variant)!=null?b:"",y.body,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),y}_serialize(y){var b,z;const ue=this.matchingRightDelim();return this.variant==="left...right"?Eo(["\\left",(b=this.leftDelim)!=null?b:".",this.bodyToLatex(y),"\\right",ue]):this.variant==="mleft...mright"?Eo(["\\mleft",(z=this.leftDelim)!=null?z:".",this.bodyToLatex(y),"\\mright",ue]):Eo([!this.leftDelim||this.leftDelim==="."?"":this.leftDelim,this.bodyToLatex(y),ue])}matchingRightDelim(){var y,b;if(this.rightDelim&&this.rightDelim!=="?")return this.rightDelim;const z=(y=this.leftDelim)!=null?y:".";return(b=Ee[z])!=null?b:z}render(y){var b,z;const ue=new Po({parent:y},this.style);console.assert(this.body!==void 0);const Pe=new Po({parent:y,mathstyle:"textstyle"},this.style),Ke=(b=Br.createBox(ue,this.body,{type:"inner"}))!=null?b:new hi(null,{type:"inner"}),tt=Ke.height/Pe.scalingFactor,ct=Ke.depth/Pe.scalingFactor,ht=[];if(this.leftDelim&&ht.push(this.bind(Pe,Bi("open",this.leftDelim,tt,ct,Pe,{isSelected:this.isSelected,classes:"ML__open"+(this.containsCaret?" ML__contains-caret":""),mode:this.mode,style:this.style}))),Ke&&($s(Ke.children,this,ue,tt,ct),ht.push(Ke)),this.rightDelim){let hn=this.containsCaret?" ML__contains-caret":"",xn=this.rightDelim;xn==="?"&&(ue.smartFence?(xn=this.matchingRightDelim(),hn+=" ML__smart-fence__close"):xn="."),ht.push(this.bind(Pe,Bi("close",xn,tt,ct,Pe,{isSelected:this.isSelected,classes:hn+" ML__close",mode:this.mode,style:this.style})))}let bt=this.variant==="mleft...mright";const Bt=this.leftSibling;Bt&&(!bt&&Bt.isFunction&&(bt=!0),!bt&&Bt.type==="subsup"&&((z=Bt.leftSibling)!=null&&z.isFunction)&&(bt=!0));const Gt=new hi(ht,{type:bt?"close":"inner",classes:"left-right"});return Gt.setStyle("margin-top",`${-Ke.depth}em`),Gt.setStyle("height",`${Ke.height+Ke.depth}em`),this.caret&&(Gt.caret=this.caret),this.bind(ue,Gt.wrap(ue))}};function $s(a,y,b,z,ue){if(a)for(let Pe=0;Pe<a.length;Pe++){const Ke=a[Pe];Ke.type==="middle"?(a[Pe]=y.bind(b,Bi("inner",Ke.value,z,ue,b,{isSelected:y.isSelected})),a[Pe].caret=Ke.caret,a[Pe].isSelected=Ke.isSelected,a[Pe].cssId=Ke.cssId,a[Pe].htmlData=Ke.htmlData,a[Pe].htmlStyle=Ke.htmlStyle,a[Pe].attributes=Ke.attributes,a[Pe].cssProperties=Ke.cssProperties):Ke.children&&$s(Ke.children,y,b,z,ue)}}var Yu=class Bm extends Br{constructor(y,b){var z;super({type:"macro",command:y,style:b.style}),this.body=b.body,b.captureSelection===void 0?b.args?this.captureSelection=!1:this.captureSelection=!0:this.captureSelection=b.captureSelection,this.macroArgs=b.args,this.expand=(z=b.expand)!=null?z:!1}static fromJson(y){return new Bm(y.command,y)}toJson(){const y=super.toJson();return this.expand&&(y.expand=!0),this.captureSelection!==void 0&&(y.captureSelection=this.captureSelection),this.macroArgs&&(y.args=this.macroArgs),y}_serialize(y){var b;return y.expandMacro&&this.expand?this.bodyToLatex(y):this.command+((b=this.macroArgs)!=null?b:"")}render(y){const b=Br.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},pc=class _m extends Br{constructor(){super({type:"macro-argument"})}static fromJson(y){return new _m}toJson(){return super.toJson()}_serialize(y){return""}render(y){return null}},kc=class Fm extends Br{constructor(y,b,z=!1,ue,Pe){var Ke;super({type:"prompt",mode:(Ke=Pe==null?void 0:Pe.mode)!=null?Ke:"math",style:Pe==null?void 0:Pe.style,command:"\\placeholder"}),this.body=ue,this.correctness=b,this.placeholderId=y,this.locked=z,this.captureSelection=this.locked}static fromJson(y){return new Fm(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 Po({parent:y}),z=b.getRegisterAsEm("fboxsep"),ue=z,Pe=z,Ke=Br.createBox(y,this.body);if(!Ke)return null;Ke.height||(Ke.height=b.metrics.xHeight),Ke.setStyle("vertical-align",-Ke.height,"em"),this.correctness==="correct"?Ke.setStyle("color","var(--correct-color, var(--ML__correct-color))"):this.correctness==="incorrect"&&Ke.setStyle("color","var(--incorrect-color, var(--ML__incorrect-color))");const tt=new hi(Ke,{type:"ord"});tt.setStyle("display","inline-block"),tt.setStyle("height",Ke.height+Ke.depth,"em"),tt.setStyle("vertical-align",-Pe,"em");let ct="ML__prompt ";this.locked?ct+=" ML__lockedPromptBox ":ct+=" ML__editablePromptBox ",this.correctness==="correct"?ct+=" ML__correctPromptBox ":this.correctness==="incorrect"&&(ct+=" ML__incorrectPromptBox "),this.containsCaret&&(ct+=" ML__focusedPromptBox ");const ht=new hi(null,{classes:ct,attributes:{part:"prompt"}});ht.height=tt.height+Pe,ht.depth=tt.depth+Pe,ht.width=tt.width+2*ue,ht.setStyle("box-sizing","border-box"),ht.setStyle("position","absolute"),ht.setStyle("height",tt.height+tt.depth+2*Pe,"em"),ue===0&&ht.setStyle("width","100%"),ue!==0&&(ht.setStyle("width",`calc(100% + ${2*ue}em)`),ht.setStyle("top",z,"em"),ht.setStyle("left",-ue,"em")),(!this.body||this.body.length===1)&&(ht.width=3*ue,ht.setStyle("width",`calc(100% + ${3*ue}em)`),ht.setStyle("left",-1.5*ue,"em"));let bt="";this.correctness==="incorrect"&&(bt+='<line x1="3%" y1="97%" x2="97%" y2="3%" stroke-width="0.5" stroke="var(--incorrect-color, var(--ML__incorrect-color))" stroke-linecap="round" />'),bt&&(ht.svgOverlay=bt);const Bt=new hi([ht,tt],{classes:"ML__prompt-atom"});return Bt.setStyle("position","relative"),Bt.setStyle("display","inline-block"),Bt.setStyle("line-height",0),Bt.height=tt.height+Pe+.2,Bt.depth=tt.depth+Pe,Bt.left=ue,Bt.right=ue,Bt.setStyle("height",tt.height+Pe,"em"),Bt.setStyle("top",tt.depth-tt.height,"em"),Bt.setStyle("vertical-align",tt.depth+Pe,"em"),Bt.setStyle("margin-left",.5,"em"),Bt.setStyle("margin-right",.5,"em"),this.caret&&(Bt.caret=this.caret),this.bind(b,this.attachSupsub(y,{base:Bt}))}_serialize(y){var b;const z=(b=this.bodyToLatex(y))!=null?b:"";if(y.skipPlaceholders)return z;let ue="\\placeholder";return this.placeholderId&&(ue+=`[${this.placeholderId}]`),this.correctness==="correct"?ue+="[correct]":this.correctness==="incorrect"&&(ue+="[incorrect]"),this.locked&&(ue+="[locked]"),ys(ue,z)}},ec=class jm extends Br{constructor(y){super({type:"subsup",style:y==null?void 0:y.style}),this.subsupPlacement="auto"}static fromJson(y){const b=new jm(y);for(const z of au)y[z]&&b.setChildren(y[z],z);return b}render(y){var b;const z=new Po({parent:y,isPhantom:!0}),ue=this.leftSibling,Pe=(b=ue.render(z))!=null?b:new hi(null),Ke=new hi(null);return Ke.height=Pe.height,Ke.depth=Pe.depth,this.attachSupsub(y,{base:Ke,isCharacterBox:ue.isCharacterBox(),type:"ignore"})}_serialize(y){return this.supsubToLatex(y)}};function Qs(a){return a?!/^(<$$>|<$>|<space>|<{>|<}>|#[0-9\?]|\\.+)$/.test(a):!1}var Vc=class{constructor(a,y,b){this.errors=[],this.index=0,this.endCount=0;var z,ue,Pe,Ke;b!=null||(b={}),this.tokens=a,this.context=y instanceof Po&&!(b!=null&&b.parseMode)&&!b.mathstyle?y:new Po({from:y,mathstyle:b.mathstyle},b.style),this.args=(z=b.args)!=null?z:void 0,this.smartFence=this.context.smartFence,this.parsingContext={parent:void 0,mathlist:[],style:(ue=b.style)!=null?ue:{},parseMode:(Pe=b.parseMode)!=null?Pe:"math",mathstyle:(Ke=b.mathstyle)!=null?Ke:"displaystyle",tabular:!1}}beginContext(a){var y,b,z;const ue=this.parsingContext,Pe={parent:ue,mathlist:[],style:ae({},ue.style),parseMode:(y=a==null?void 0:a.mode)!=null?y:ue.parseMode,mathstyle:(b=a==null?void 0:a.mathstyle)!=null?b:ue.mathstyle,tabular:(z=a==null?void 0:a.tabular)!=null?z:!1};this.parsingContext=Pe}endContext(){this.parsingContext=this.parsingContext.parent}onError(a){this.errors.push(ae({before:wc(this.tokens.slice(this.index,this.index+10)),after:wc(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 ae({},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 ec({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=zt(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?ul(y,{parseMode:this.parseMode,mathstyle:"textstyle"}):[new Wa({mode:this.parseMode,style:this.style})]}skipWhitespace(){for(;this.match("<space>"););}skipUntilToken(a){let y=this.tokens[this.index];for(;y&&y!==a;)y=this.tokens[++this.index];y===a&&this.index++}skipFiller(){for(;this.match("\\relax")||this.match("<space>"););}matchKeyword(a){const y=this.index;let b=this.end(),z="";for(;!b;){const Pe=this.get();Qs(Pe)?(z+=Pe,b=this.end()||z.length>=a.length):b=!0}const ue=a.toUpperCase()===z.toUpperCase();return ue||(this.index=y),ue}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(Qs(y))a+=y;else return a;this.next()}return a}scanBalancedString(){let a="",y=this.end(),b=1;for(;!y;){const z=this.get();z==="<space>"?a+=" ":z==="<{>"?(a+="{",b+=1):z==="<}>"?(b-=1,b>0?a+="}":this.index-=1):z==="<$>"?a+="$":z==="<$$>"?a+="$$":a+=z,y=b===0||this.end()}return a}scanLiteralGroup(){var a;if(!this.match("<{>"))return"";let y="",b=1;for(;b>0&&!this.end();){const z=this.get();z==="<}>"?(b-=1,b>0&&(y+="}")):z==="<{>"?(b+=1,y+="{"):(/\\[a-zA-Z]+$/.test(y)&&/^[a-zA-Z]/.test(z)&&(y+=" "),y+=(a={"<space>":" ","<$$>":"$$","<$>":"$"}[z])!=null?a:z)}return y}scanNumber(a=!0){var y,b;let z=!1,ue=this.peek();for(;ue==="<space>"||ue==="+"||ue==="-";)this.get(),ue==="-"&&(z=!z),ue=this.peek();a=!!a;let Pe=10,Ke=/\d/;if(this.match("'"))Pe=8,Ke=/[0-7]/,a=!0;else if(this.match('"'))Pe=16,Ke=/[\dA-F]/,a=!0;else if(this.match("x"))Pe=16,Ke=/[\dA-Fa-f]/,a=!0;else if(this.match("`"))return ue=this.get(),ue?ue.length===2&&ue.startsWith("\\")?{number:(z?-1:1)*((y=ue.codePointAt(1))!=null?y:0),base:"alpha"}:{number:(z?-1:1)*((b=ue.codePointAt(0))!=null?b:0),base:"alpha"}:null;let tt="";for(;this.hasPattern(Ke);)tt+=this.get();if(!a&&(this.match(".")||this.match(",")))for(tt+=".";this.hasPattern(Ke);)tt+=this.get();const ct=a?Number.parseInt(tt,Pe):Number.parseFloat(tt);return Number.isNaN(ct)?null:{number:z?-ct:ct,base:Pe===16?"hexadecimal":Pe===8?"octal":"decimal"}}scanRegister(){var a;const y=this.index,b=this.scanNumber(!1);if(this.skipWhitespace(),this.match("\\relax"))return b;let z=!1;if(b===null)for(;;){const Pe=this.peek();if(Pe==="-")z=!z;else if(Pe!=="+")break;this.next(),this.skipWhitespace()}if(this.match("\\global")){this.skipWhitespace();const Pe=this.get();return Pe.startsWith("\\")?b?{register:Pe,global:!0,factor:(z?-1:1)*b.number}:z?{register:Pe,global:!0,factor:-1}:{register:Pe,global:!0}:(this.index=y,null)}let ue=this.get();return ue!=null&&ue.startsWith("\\")?(ue=ue.substring(1),this.context.registers[ue]?!z||b!==null?{register:ue,factor:(z?-1:1)*((a=b==null?void 0:b.number)!=null?a:1)}:{register:ue}:(this.index=y,null)):(this.index=y,null)}scanValue(){const a=this.scanRegister();if(a)return a;const y=this.index,b=this.scanGlueOrDimen();if(b&&("unit"in b||"glue"in b&&"unit"in b.glue))return b;this.index=y;const z=this.scanNumber();if(z)return z;if(this.end()||!Qs(this.peek()))return null;const ue=this.scanString();return ue.length>0?{string:ue}: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=Qe(a);if(!y)return this.onError({code:"unknown-environment",arg:a}),null;const b=[];if(y.params)for(const tt of y.params)if(tt.isOptional)b.push(this.scanOptionalArgument(tt.type));else{const ct=this.scanArgument(tt.type);ct||this.onError({code:"missing-argument",arg:a}),b.push(ct)}this.beginContext({tabular:y.tabular});const z=[],ue=[];let Pe=[],Ke=!1;do if(this.end()&&(this.onError({code:"unbalanced-environment",arg:a}),Ke=!0),!Ke&&this.match("\\end")&&(this.scanArgument("string")!==a&&this.onError({code:"unbalanced-environment",arg:a}),Ke=!0),!Ke)if(this.matchColumnSeparator())Pe.push(this.mathlist),this.mathlist=[];else if(this.matchRowSeparator()){Pe.push(this.mathlist),this.mathlist=[];let tt=null;this.skipWhitespace(),this.match("[")&&(tt=this.scanDimen(),this.skipWhitespace(),this.match("]")),ue.push(tt!=null?tt:{dimension:0}),z.push(Pe),Pe=[]}else this.mathlist.push(...this.scan(tt=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline"].includes(tt)));while(!Ke);return Pe.push(this.mathlist),Pe.length>0&&z.push(Pe),this.endContext(),y.createAtom(a,z,ue,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=Ke=>Ke==="<}>");let y="",b=null,z=[],ue=null;for(;!this.end()&&!a(this.peek());)this.hasInfixCommand()&&!y?(y=this.get(),b=zt(y,"math"),b&&(z=this.scanArguments(b)[1]),ue=this.mathlist,this.mathlist=[]):this.parseExpression();let Pe;return y?(console.assert(!!b),z.unshift(this.mathlist),ue&&z.unshift(ue),Pe=[b.createAtom({command:y,args:z,style:this.style,mode:this.parseMode})]):Pe=this.mathlist,this.endContext(),Pe}scanGroup(){const a=this.index;if(!this.match("<{>"))return null;const y=this.scan(z=>z==="<}>");this.match("<}>")||this.onError({code:"unbalanced-braces"});const b=new cl(y,this.parseMode,this.style);return b.verbatimLatex=wc(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 Uo("",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(!Qs(a)&&!a.startsWith("\\"))return null;this.next();const y=zt(a,"math");return y?y.definitionType==="function"&&y.ifMode&&!y.ifMode.includes(this.parseMode)?(this.onError({code:"unexpected-delimiter",arg:a}),null):y.definitionType==="symbol"&&(y.type==="mopen"||y.type==="mclose")||/^(\.|\?|\||<|>|\\vert|\\Vert|\\\||\\surd|\\uparrow|\\downarrow|\\Uparrow|\\Downarrow|\\updownarrow|\\Updownarrow|\\mid|\\mvert|\\mVert)$/.test(a)?a:(this.onError({code:"unexpected-delimiter",arg:a}),null):(this.onError({code:"unknown-command",arg:a}),null)}scanLeftRight(){var a;if(this.match("\\right"))return this.onError({code:"unbalanced-braces"}),new kl("\\right");if(this.match("\\mright"))return this.onError({code:"unbalanced-braces"}),new kl("\\mright");let y="\\right";if(!this.match("\\left")){if(!this.match("\\mleft"))return null;y="\\mright"}const b=this.scanDelim();if(!b)return this.onError({code:"unexpected-delimiter"}),new kl(y==="\\right"?"\\left":"\\mleft");for(this.beginContext();!this.end()&&!this.match(y);)this.parseExpression();const z=this.mathlist;this.endContext();const ue=(a=this.scanDelim())!=null?a:".";return new Uo(y==="\\right"?"left...right":"mleft...mright",z,{leftDelim:b,rightDelim:ue,style:this.style})}parseSupSub(){if(this.parseMode!=="math")return!1;let a=this.peek();if(a!=="^"&&a!=="_"&&a!=="'")return!1;const y=this.lastSubsupAtom();for(;a==="^"||a==="_"||a==="'";)this.match("'")?this.match("'")?y.addChild(new Br({type:"mord",command:"\\doubleprime",mode:"math",value:"\u2032\u2032"}),"superscript"):y.addChild(new Br({type:"mord",command:"\\prime",mode:"math",value:"\u2032"}),"superscript"):(this.match("^")||this.match("_"))&&y.addChildren(rt(this.scanArgument("expression")),a==="_"?"subscript":"superscript"),a=this.peek();return!0}parseLimits(){if(this.parseMode!=="math")return!1;const a=this.match("\\limits"),y=!a&&this.match("\\nolimits"),b=!y&&!a&&this.match("\\displaylimits");if(!a&&!y&&!b)return!1;const z=this.mathlist.length>0?this.mathlist[this.mathlist.length-1]:null;return z===null?!1:(z.explicitSubsupPlacement=!0,a&&(z.subsupPlacement="over-under"),y&&(z.subsupPlacement="adjacent"),b&&(z.subsupPlacement="auto"),!0)}scanArguments(a){if(!(a!=null&&a.params))return[void 0,[]];let y;const b=[];let z=a.infix?2:0;for(;z<a.params.length;){const ue=a.params[z];ue.type==="rest"?b.push(this.scan(Pe=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline","\\right"].includes(Pe))):ue.isOptional?b.push(this.scanOptionalArgument(ue.type)):ue.type.endsWith("*")?y=ue.type.slice(0,-1):b.push(this.scanArgument(ue.type)),z+=1}return[y,b]}scanSymbolOrLiteral(){const a=this.peek();if(!a)return null;this.next();let y;if(Qs(a)){const b=Ll.createAtom(this.parseMode,a,ae({},this.style));return b?[b]:null}if(y=this.scanMacro(a),y)return[y];if(a.startsWith("\\")){const b=zt(a,this.parseMode);if(!b)return this.onError({code:"unknown-command",arg:a}),[new kl(a)];if(b.definitionType==="symbol"){const z=ae({},this.style);b.variant&&(z.variant=b.variant),y=new Br({type:b.type,command:a,style:z,value:String.fromCodePoint(b.codepoint),mode:this.parseMode,verbatimLatex:a})}else{if(b.applyMode||b.applyStyle||b.infix)return this.onError({code:"invalid-command",arg:a}),[new kl(a)];b.createAtom&&(y=b.createAtom({command:a,args:[],style:this.style,mode:this.parseMode}))}}return y?[y]:null}scanArgument(a){var y;this.skipFiller();const b=this.parseMode;if(a==="auto"&&(a=b),!this.match("<{>")){if(a==="string")return this.scanString();if(a==="value")return this.scanValue();if(a==="delim")return(y=this.scanDelim())!=null?y:".";if(a==="expression")return this.scanExpression();if(a==="math"){a!==b&&this.beginContext({mode:"math"});const ue=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),ue}if(a==="text"){a!==b&&this.beginContext({mode:"text"});const ue=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),ue}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 ue=this.mathlist;return this.endContext(),{group:ue}}if(a==="math"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ue=this.mathlist;return this.endContext(),{group:ue}}let z=null;if(a==="expression"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ue=this.mathlist;return this.endContext(),{group:ue}}return a==="string"?z=this.scanString():a==="balanced-string"?z=this.scanBalancedString():a==="colspec"?z=this.scanColspec():a==="value"&&(z=this.scanValue()),this.skipUntilToken("<}>"),z}scanOptionalArgument(a){if(a=a==="auto"?this.parseMode:a,this.skipFiller(),!this.match("["))return null;let y=null;for(;!this.end()&&!this.match("]");)if(a==="string")y=this.scanString();else if(a==="value")y=this.scanValue();else if(a==="colspec")y=this.scanColspec();else if(a==="bbox"){const b={},z=this.scanString().toLowerCase().trim().split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const ue of z){const Pe=ue.match(/^\s*([\d.]+)\s*([a-z]{2})/);if(Pe)b.padding={dimension:parseInt(Pe[1]),unit:Pe[2]};else{const Ke=ue.match(/^\s*border\s*:\s*(.*)/);Ke?b.border=Ke[1]:b.backgroundcolor={string:ue}}}y=b}else a==="math"&&(this.beginContext({mode:"math"}),y=this.mathlist.concat(this.scan(b=>b==="]")),this.endContext());return y}scanSymbolOrCommand(a){var y,b,z;if(a==="\\placeholder"){const tt=this.scanOptionalArgument("string"),ct=this.scanOptionalArgument("math"),ht=Br.serialize(ct,{defaultMode:"math"});let bt=[],Bt;!Bt&&ht==="correct"?Bt="correct":!Bt&&ht==="incorrect"?Bt="incorrect":ht!==""&&(bt=ct);const Gt=this.scanOptionalArgument("string")==="locked",hn=this.scanArgument("auto");let xn;return hn&&Array.isArray(hn)&&hn.length>0?xn=hn:hn&&typeof hn=="object"&&"group"in hn?xn=hn.group:xn=bt,tt?[new kc(tt,Bt,Gt,xn!=null?xn:bt,{mode:this.parseMode,style:this.style})]:[new Wa({mode:this.parseMode,style:this.style})]}if(a==="\\renewcommand"||a==="\\newcommand"||a==="\\providecommand"||a==="\\def"){const tt=this.index,ct=this.scanLiteralGroup()||this.next();if(!ct)return null;if(this.context.registers[ct.substring(1)]){const ht=this.scanArgument("string");ht!==null&&(this.context.registers[ct.substring(1)]=ht);const bt=Eo([a,wc(this.tokens.slice(tt,this.index))]);return[new Br({type:"text",value:"",verbatimLatex:bt})]}}let ue=this.scanMacro(a);if(ue)return[ue];const Pe=zt(a,this.parseMode);if(!Pe)return this.parseMode==="text"?(/[a-zA-Z]/.test((y=this.peek())!=null?y:"")&&(a+=" "),[...a].map(tt=>new Br({type:"text",value:tt,mode:"text",style:this.style}))):(this.onError({code:"unknown-command",arg:a}),[new kl(a)]);const Ke=this.index;if(Pe.definitionType==="symbol"){const tt=ae({},this.style);Pe.variant&&(tt.variant=Pe.variant),ue=new Br({type:Pe.type,command:a,style:tt,value:String.fromCodePoint(Pe.codepoint),mode:this.parseMode})}else{if(Pe.ifMode&&!Pe.ifMode.includes(this.parseMode))return[];const tt=this.parseMode;Pe.applyMode&&(this.parseMode=Pe.applyMode);let ct,ht=[];if(Pe.parse?ht=Pe.parse(this):[ct,ht]=this.scanArguments(Pe),this.parseMode=tt,Pe.applyMode&&!Pe.applyStyle&&!Pe.createAtom)return rt(ht[0]);if(Pe.infix)return this.onError({code:"too-many-infix-commands",arg:a}),null;if(typeof Pe.createAtom=="function")ue=Pe.createAtom({command:a,args:ht,style:this.style,mode:this.parseMode}),ct&&(ue.body=rt(this.scanArgument(ct)));else if(typeof Pe.applyStyle=="function"){const bt=ae(ae({},this.style),Pe.applyStyle(a,ht,this.context)),Bt=this.parseMode;if(Pe.applyMode&&(this.parseMode=Pe.applyMode),ct){const Gt=this.style;this.style=bt;const hn=this.scanArgument(ct);return this.style=Gt,this.parseMode=Bt,rt(hn)}this.style=bt}else ue=new Br({type:"mord",command:(b=Pe.command)!=null?b:a,style:ae({},this.style),value:a,mode:(z=Pe.applyMode)!=null?z:this.parseMode})}if(!ue)return null;if(ue instanceof Br&&ue.verbatimLatex===void 0&&!/^\\(llap|rlap|class|cssId|htmlData)$/.test(a)){const tt=Eo([a,wc(this.tokens.slice(Ke,this.index))]);tt&&(ue.verbatimLatex=tt)}if(ue.verbatimLatex===null&&(ue.verbatimLatex=void 0),ue.isFunction&&this.smartFence){const tt=this.scanSmartFence();if(tt)return[ue,tt]}return[ue]}scanSymbolCommandOrLiteral(){const a=this.get();if(!a)return null;if(Qs(a)){const y=Ll.createAtom(this.parseMode,a,ae({},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 fc(" "," ",this.style)]:null:(a==="<}>"?this.onError({latex:"",code:"unbalanced-braces"}):this.onError({latex:"",code:"unexpected-token",arg:a}),null)}scanMacro(a){var y;const b=this.context.getMacro(a);if(!b)return null;const z=this.index,ue=b.args,Pe={"?":(y=this.args)==null?void 0:y.call(this,"?")};for(let Ke=1;Ke<=ue;Ke++){let tt=this.scanLiteralGroup();if(!tt){const ct=this.index;this.scanExpression(),tt=wc(this.tokens.slice(ct,this.index))}Pe[Ke]=tt}return new Yu(a,{expand:b.expand,captureSelection:b.captureSelection,args:z===this.index?null:wc(this.tokens.slice(z,this.index)),style:this.parsingContext.style,body:ul(b.def,{context:this.context,parseMode:this.parseMode,args:Ke=>Pe[Ke],mathstyle:this.parsingContext.mathstyle,style:this.parsingContext.style})})}parseExpression(){var a,y,b,z;let ue=(z=(b=(y=(a=this.scanEnvironment())!=null?a:this.scanModeShift())!=null?y:this.scanModeSet())!=null?b:this.scanGroup())!=null?z:this.scanLeftRight();if(ue===null){if(this.parseSupSub()||this.parseLimits())return!0;ue=this.scanSymbolCommandOrLiteral()}return ue?(Array.isArray(ue)?this.mathlist.push(...ue):this.mathlist.push(ue),!0):!1}};function ul(a,y){var b,z,ue,Pe;const Ke=(b=y==null?void 0:y.args)!=null?b:void 0,tt=new Vc(cc(a,Ke),y==null?void 0:y.context,{args:Ke,mathstyle:(z=y==null?void 0:y.mathstyle)!=null?z:"displaystyle",parseMode:(ue=y==null?void 0:y.parseMode)!=null?ue:"math",style:(Pe=y==null?void 0:y.style)!=null?Pe:{}}),ct=[];for(;!tt.end();)ct.push(...tt.scan(()=>!1));return ct}function np(a,y){var b;const z=new Vc(cc(a,null),y==null?void 0:y.context,{mathstyle:"displaystyle",parseMode:(b=y==null?void 0:y.parseMode)!=null?b:"math"});for(;!z.end();)z.scan();return z.errors}var rp=class Km extends Br{constructor(y,b){super({type:"chem"},{command:y,mode:"math"});const z=Ms.go(si.go(b,y==="\\pu"?"pu":"ce"),!1);this.body=ul(z),this._verbatimLatex=y+"{"+b+"}",this.arg=b,this.captureSelection=!0}static fromJson(y){return new Km(y.command,y.arg)}set verbatimLatex(y){}get verbatimLatex(){return this._verbatimLatex}toJson(){return ne(ae({},super.toJson()),{arg:this.arg})}render(y){const b=Br.createBox(y,this.body,{type:"inner"});return this.caret&&(b.caret=this.caret),this.bind(y,b)}_serialize(y){return console.assert(this.verbatimLatex!==void 0),this.verbatimLatex}};Ft(["ce","pu"],"{chemformula:balanced-string}",{createAtom:a=>{var y;return new rp(a.command,(y=a.args[0])!=null?y:"")}});var si={go:function(a,y){if(!a)return[];y===void 0&&(y="ce");var b="0",z={};z.parenthesisLevel=0,a=a.replace(/\n/g," "),a=a.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),a=a.replace(/[\u2026]/g,"...");for(var ue,Pe=10,Ke=[];;){ue!==a?(Pe=10,ue=a):Pe--;var tt=si.stateMachines[y],ct=tt.transitions[b]||tt.transitions["*"];e:for(var ht=0;ht<ct.length;ht++){var bt=si.patterns.match_(ct[ht].pattern,a);if(bt){for(var Bt=ct[ht].task,Gt=0;Gt<Bt.action_.length;Gt++){var hn;if(tt.actions[Bt.action_[Gt].type_])hn=tt.actions[Bt.action_[Gt].type_](z,bt.match_,Bt.action_[Gt].option);else if(si.actions[Bt.action_[Gt].type_])hn=si.actions[Bt.action_[Gt].type_](z,bt.match_,Bt.action_[Gt].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+Bt.action_[Gt].type_+")"];si.concatArray(Ke,hn)}if(b=Bt.nextState||b,a.length>0){if(Bt.revisit||(a=bt.remainder),!Bt.toContinue)break e}else return Ke}}if(Pe<=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=si.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 si.patterns.findObserveGroups(a,"^{","","","}")},"^($...$)":function(a){return si.patterns.findObserveGroups(a,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(a){return si.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(a){return si.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(a){return si.patterns.findObserveGroups(a,"_{","","","}")},"_($...$)":function(a){return si.patterns.findObserveGroups(a,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(a){return si.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(a){return si.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(a){return si.patterns.findObserveGroups(a,"","{","}","")},"{(...)}":function(a){return si.patterns.findObserveGroups(a,"{","","","}")},"$...$":function(a){return si.patterns.findObserveGroups(a,"","$","$","")},"${(...)}$":function(a){return si.patterns.findObserveGroups(a,"${","","","}$")},"$(...)$":function(a){return si.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 si.patterns.findObserveGroups(a,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(a){return si.patterns.findObserveGroups(a,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(a){return si.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(a){return si.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 si.patterns.findObserveGroups(a,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(a){return si.patterns.findObserveGroups(a,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(a){return si.patterns.findObserveGroups(a,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(a){return si.patterns.findObserveGroups(a,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(a){return si.patterns.findObserveGroups(a,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(a){return si.patterns.findObserveGroups(a,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(a){return si.patterns.findObserveGroups(a,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(a){return si.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=si.patterns.findObserveGroups(a,"","$","$","");return b&&(y=b.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/),y)?{match_:y[0],remainder:a.substr(y[0].length)}:null},amount2:function(a){return this.amount(a)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(a){if(a.match(/^\([a-z]+\)$/))return null;var y=a.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return y?{match_:y[0],remainder:a.substr(y[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(a,y,b,z,ue,Pe,Ke,tt,ct,ht){var bt=function(xr,Gr){if(typeof Gr=="string")return xr.indexOf(Gr)!==0?null:Gr;var vi=xr.match(Gr);return vi?vi[0]:null},Bt=function(xr,Gr,vi){for(var qr=0;Gr<xr.length;){var fa=xr.charAt(Gr),ja=bt(xr.substr(Gr),vi);if(ja!==null&&qr===0)return{endMatchBegin:Gr,endMatchEnd:Gr+ja.length};if(fa==="{")qr++;else if(fa==="}"){if(qr===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];qr--}Gr++}return qr>0,null},Gt=bt(a,y);if(Gt===null||(a=a.substr(Gt.length),Gt=bt(a,b),Gt===null))return null;var hn=Bt(a,Gt.length,z||ue);if(hn===null)return null;var xn=a.substring(0,z?hn.endMatchEnd:hn.endMatchBegin);if(Pe||Ke){var Cr=this.findObserveGroups(a.substr(hn.endMatchEnd),Pe,Ke,tt,ct);if(Cr===null)return null;var ui=[xn,Cr.match_];return{match_:ht?ui.join(""):ui,remainder:Cr.remainder}}else return{match_:xn,remainder:a.substr(hn.endMatchEnd)}},match_:function(a,y){var b=si.patterns.patterns[a];if(b===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+a+")"];if(typeof b=="function")return si.patterns.patterns[a](y);var z=y.match(b);if(z){var ue;return z[2]?ue=[z[1],z[2]]:z[1]?ue=z[1]:ue=z[0],{match_:ue,remainder:y.substr(z[0].length)}}return null}},actions:{"a=":function(a,y){a.a=(a.a||"")+y},"b=":function(a,y){a.b=(a.b||"")+y},"p=":function(a,y){a.p=(a.p||"")+y},"o=":function(a,y){a.o=(a.o||"")+y},"q=":function(a,y){a.q=(a.q||"")+y},"d=":function(a,y){a.d=(a.d||"")+y},"rm=":function(a,y){a.rm=(a.rm||"")+y},"text=":function(a,y){a.text_=(a.text_||"")+y},insert:function(a,y,b){return{type_:b}},"insert+p1":function(a,y,b){return{type_:b,p1:y}},"insert+p1+p2":function(a,y,b){return{type_:b,p1:y[0],p2:y[1]}},copy:function(a,y){return y},rm:function(a,y){return{type_:"rm",p1:y||""}},text:function(a,y){return si.go(y,"text")},"{text}":function(a,y){var b=["{"];return si.concatArray(b,si.go(y,"text")),b.push("}"),b},"tex-math":function(a,y){return si.go(y,"tex-math")},"tex-math tight":function(a,y){return si.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 si.go(y)},"1/2":function(a,y){var b=[];y.match(/^[+\-]/)&&(b.push(y.substr(0,1)),y=y.substr(1));var z=y.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return z[1]=z[1].replace(/\$/g,""),b.push({type_:"frac",p1:z[1],p2:z[2]}),z[3]&&(z[3]=z[3].replace(/\$/g,""),b.push({type_:"tex-math",p1:z[3]})),b},"9,9":function(a,y){return si.go(y,"9,9")}},createTransitions:function(a){var y,b,z,ue,Pe={};for(y in a)for(b in a[y])for(z=b.split("|"),a[y][b].stateArray=z,ue=0;ue<z.length;ue++)Pe[z[ue]]=[];for(y in a)for(b in a[y])for(z=a[y][b].stateArray||[],ue=0;ue<z.length;ue++){var Ke=a[y][b];if(Ke.action_){Ke.action_=[].concat(Ke.action_);for(var tt=0;tt<Ke.action_.length;tt++)typeof Ke.action_[tt]=="string"&&(Ke.action_[tt]={type_:Ke.action_[tt]})}else Ke.action_=[];for(var ct=y.split("|"),ht=0;ht<ct.length;ht++)if(z[ue]==="*")for(var bt in Pe)Pe[bt].push({pattern:ct[ht],task:Ke});else Pe[z[ue]].push({pattern:ct[ht],task:Ke})}return Pe},stateMachines:{}};si.stateMachines={ce:{transitions:si.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(a,y){var b;if((a.d||"").match(/^[0-9]+$/)){var z=a.d;a.d=void 0,b=this.output(a),a.b=z}else b=this.output(a);return si.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 si.concatArray(b,this.output(a)),si.concatArray(b,si.actions.bond(a,y,"-")),b}else a.d=y},"- after o/d":function(a,y,b){var z=si.patterns.match_("orbital",a.o||""),ue=si.patterns.match_("one lowercase greek letter $",a.o||""),Pe=si.patterns.match_("one lowercase latin letter $",a.o||""),Ke=si.patterns.match_("$one lowercase latin letter$ $",a.o||""),tt=y==="-"&&(z&&z.remainder===""||ue||Pe||Ke);tt&&!a.a&&!a.b&&!a.p&&!a.d&&!a.q&&!z&&Pe&&(a.o="$"+a.o+"$");var ct=[];return tt?(si.concatArray(ct,this.output(a)),ct.push({type_:"hyphen"})):(z=si.patterns.match_("digits",a.d||""),b&&z&&z.remainder===""?(si.concatArray(ct,si.actions["d="](a,y)),si.concatArray(ct,this.output(a))):(si.concatArray(ct,this.output(a)),si.concatArray(ct,si.actions.bond(a,y,"-")))),ct},"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:si.go(y,"o")}},comma:function(a,y){var b=y.replace(/\s*$/,""),z=b!==y;return z&&a.parenthesisLevel===0?{type_:"comma enumeration L",p1:b}:{type_:"comma enumeration M",p1:b}},output:function(a,y,b){var z;if(!a.r)z=[],!a.a&&!a.b&&!a.p&&!a.o&&!a.q&&!a.d&&!b||(a.sb&&z.push({type_:"entitySkip"}),!a.o&&!a.q&&!a.d&&!a.b&&!a.p&&b!==2?(a.o=a.a,a.a=void 0):!a.o&&!a.q&&!a.d&&(a.b||a.p)?(a.o=a.a,a.d=a.b,a.q=a.p,a.a=a.b=a.p=void 0):a.o&&a.dType==="kv"&&si.patterns.match_("d-oxidation$",a.d||"")?a.dType="oxidation":a.o&&a.dType==="kv"&&!a.q&&(a.dType=void 0),z.push({type_:"chemfive",a:si.go(a.a,"a"),b:si.go(a.b,"bd"),p:si.go(a.p,"pq"),o:si.go(a.o,"o"),q:si.go(a.q,"pq"),d:si.go(a.d,a.dType==="oxidation"?"oxidation":"bd"),dType:a.dType}));else{var ue;a.rdt==="M"?ue=si.go(a.rd,"tex-math"):a.rdt==="T"?ue=[{type_:"text",p1:a.rd||""}]:ue=si.go(a.rd);var Pe;a.rqt==="M"?Pe=si.go(a.rq,"tex-math"):a.rqt==="T"?Pe=[{type_:"text",p1:a.rq||""}]:Pe=si.go(a.rq),z={type_:"arrow",r:a.r,rd:ue,rq:Pe}}for(var Ke in a)Ke!=="parenthesisLevel"&&Ke!=="beginsWithBond"&&delete a[Ke];return z},"oxidation-output":function(a,y){var b=["{"];return si.concatArray(b,si.go(y,"oxidation")),b.push("}"),b},"frac-output":function(a,y){return{type_:"frac-ce",p1:si.go(y[0]),p2:si.go(y[1])}},"overset-output":function(a,y){return{type_:"overset",p1:si.go(y[0]),p2:si.go(y[1])}},"underset-output":function(a,y){return{type_:"underset",p1:si.go(y[0]),p2:si.go(y[1])}},"underbrace-output":function(a,y){return{type_:"underbrace",p1:si.go(y[0]),p2:si.go(y[1])}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:si.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:si.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:si.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:si.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:si.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:si.go(y,"o")}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:si.go(y[1],"pq")}}}},bd:{transitions:si.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:si.go(y[1],"bd")}}}},oxidation:{transitions:si.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:si.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:si.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:si.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:si.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]&&(si.concatArray(b,si.go(y[1],"pu-9,9")),y[2]&&(y[2].match(/[,.]/)?si.concatArray(b,si.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]),si.concatArray(b,si.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=si.patterns.match_("{(...)}",a.d||"");b&&b.remainder===""&&(a.d=b.match_);var z=si.patterns.match_("{(...)}",a.q||"");if(z&&z.remainder===""&&(a.q=z.match_),a.d&&(a.d=a.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.d=a.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),a.q){a.q=a.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.q=a.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var ue={d:si.go(a.d,"pu"),q:si.go(a.q,"pu")};a.o==="//"?y={type_:"pu-frac",p1:ue.d,p2:ue.q}:(y=ue.d,ue.d.length>1||ue.q.length>1?y.push({type_:" / "}):y.push({type_:"/"}),si.concatArray(y,ue.q))}else y=si.go(a.d,"pu-2");for(var Pe in a)delete a[Pe];return y}}},"pu-2":{transitions:si.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=si.patterns.match_("{(...)}",a.rm||"");b&&b.remainder===""?y=si.go(b.match_,"pu"):y={type_:"rm",p1:a.rm}}for(var z in a)delete a[z];return y}}},"pu-9,9":{transitions:si.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){var b=a.text_.length%3;b===0&&(b=3);for(var z=a.text_.length-3;z>0;z-=3)y.push(a.text_.substr(z,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(0,b)),y.reverse()}else y.push(a.text_);for(var ue in a)delete a[ue];return y},"output-o":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){for(var b=a.text_.length-3,z=0;z<b;z+=3)y.push(a.text_.substr(z,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(z))}else y.push(a.text_);for(var ue in a)delete a[ue];return y}}}};var Ms={go:function(a,y){if(!a)return"";for(var b="",z=!1,ue=0;ue<a.length;ue++){var Pe=a[ue];typeof Pe=="string"?b+=Pe:(b+=Ms._go2(Pe),Pe.type_==="1st-level escape"&&(z=!0))}return!y&&!z&&b&&(b="{"+b+"}"),b},_goInner:function(a){return a&&Ms.go(a,!0)},_go2:function(a){var y;switch(a.type_){case"chemfive":y="";var b={a:Ms._goInner(a.a),b:Ms._goInner(a.b),p:Ms._goInner(a.p),o:Ms._goInner(a.o),q:Ms._goInner(a.q),d:Ms._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 "+Ms._goInner(a.p1);break;case"state of aggregation subscript":y="\\mskip1mu "+Ms._goInner(a.p1);break;case"bond":if(y=Ms._getBond(a.kind_),!y)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+a.kind_+")"];break;case"frac":var z="\\frac{"+a.p1+"}{"+a.p2+"}";y="\\mathchoice{\\textstyle"+z+"}{"+z+"}{"+z+"}{"+z+"}";break;case"pu-frac":var ue="\\frac{"+Ms._goInner(a.p1)+"}{"+Ms._goInner(a.p2)+"}";y="\\mathchoice{\\textstyle"+ue+"}{"+ue+"}{"+ue+"}{"+ue+"}";break;case"tex-math":y=a.p1+" ";break;case"frac-ce":y="\\frac{"+Ms._goInner(a.p1)+"}{"+Ms._goInner(a.p2)+"}";break;case"overset":y="\\overset{"+Ms._goInner(a.p1)+"}{"+Ms._goInner(a.p2)+"}";break;case"underset":y="\\underset{"+Ms._goInner(a.p1)+"}{"+Ms._goInner(a.p2)+"}";break;case"underbrace":y="\\underbrace{"+Ms._goInner(a.p1)+"}_{"+Ms._goInner(a.p2)+"}";break;case"color":y="{\\color{"+a.color1+"}{"+Ms._goInner(a.color2)+"}}";break;case"color0":y="\\color{"+a.color+"}";break;case"arrow":var Pe={rd:Ms._goInner(a.rd),rq:Ms._goInner(a.rq)},Ke=Ms._getArrow(a.r);Pe.rd||Pe.rq?a.r==="<=>"||a.r==="<=>>"||a.r==="<<=>"||a.r==="<-->"?(Ke="\\long"+Ke,Pe.rd&&(Ke="\\overset{"+Pe.rd+"}{"+Ke+"}"),Pe.rq&&(a.r==="<-->"?Ke="\\underset{\\lower2mu{"+Pe.rq+"}}{"+Ke+"}":Ke="\\underset{\\lower6mu{"+Pe.rq+"}}{"+Ke+"}"),Ke=" {}\\mathrel{"+Ke+"}{} "):(Pe.rq&&(Ke+="[{"+Pe.rq+"}]"),Ke+="{"+Pe.rd+"}",Ke=" {}\\mathrel{\\x"+Ke+"}{} "):Ke=" {}\\mathrel{\\long"+Ke+"}{} ",y=Ke;break;case"operator":y=Ms._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 My(a){}function ky(a){}var ip=class zm extends Br{constructor(y){super(ne(ae({},y),{type:"delim"})),this.value=y.delim,this.size=y.size}static fromJson(y){return new zm(y)}toJson(){return ne(ae({},super.toJson()),{delim:this.value,size:this.size})}render(y){return new hi(this.value,{type:"middle"})}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=zt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):ys(this.command,this.value)}},ap=class Hm extends Br{constructor(y){super(ne(ae({},y),{type:"sizeddelim",value:y.delim})),this.delimType=y.delimType,this.size=y.size}static fromJson(y){return new Hm(y)}toJson(){return ne(ae({},super.toJson()),{delim:this.value,size:this.size,delimType:this.delimType})}render(y){let b=cr(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=zt(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):ys(this.command,this.value)}},Id=class Wm extends Br{constructor(y,b,z,ue){var Pe,Ke;super({type:"enclose",command:y,style:ue.style}),this.body=b,this.backgroundcolor=ue.backgroundcolor,z.updiagonalarrow&&(z.updiagonalstrike=!1),z.box&&(z.left=!1,z.right=!1,z.bottom=!1,z.top=!1),this.notation=z,this.shadow=(Pe=ue.shadow)!=null?Pe:"none",this.strokeWidth=(Ke=ue.strokeWidth)!=null?Ke:"0.06em",this.strokeWidth||(this.strokeWidth="0.06em"),this.strokeStyle=ue.strokeStyle,this.svgStrokeStyle=ue.svgStrokeStyle,this.strokeColor=ue.strokeColor,this.borderStyle=ue.borderStyle,this.padding=ue.padding,this.captureSelection=!1}static fromJson(y){return new Wm(y.command,y.body,y.notation,y)}toJson(){return ne(ae({},super.toJson()),{notation:this.notation,shadow:this.shadow,strokeWidth:this.strokeWidth,strokeStyle:this.strokeStyle,svgStrokeStyle:this.svgStrokeStyle,strokeColor:this.strokeColor,borderStyle:this.borderStyle,padding:this.padding})}_serialize(y){var b;if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const z=zt(this.command,this.mode);if(z!=null&&z.serialize)return z.serialize(this,y);let ue=(b=this.command)!=null?b:"";if(this.command==="\\enclose"){ue+="{"+Object.keys(this.notation).join(" ")+"}";let Pe="",Ke="";this.backgroundcolor&&this.backgroundcolor!=="transparent"&&(Pe+=Ke+'mathbackground="'+this.backgroundcolor+'"',Ke=","),this.shadow&&this.shadow!=="auto"&&(Pe+=Ke+'shadow="'+this.shadow+'"',Ke=","),this.strokeWidth||this.strokeStyle!=="solid"?(Pe+=Ke+this.borderStyle,Ke=","):this.strokeColor&&this.strokeColor!=="currentColor"&&(Pe+=Ke+'mathcolor="'+this.strokeColor+'"',Ke=","),Pe&&(ue+=`[${Pe}]`)}return ys(ue,this.bodyToLatex(y))}render(y){const b=new Po({parent:y},this.style),z=Br.createBox(b,this.body);if(!z)return null;const ue=a0(this.borderStyle),Pe=b.toEm(!this.padding||this.padding==="auto"?{register:"fboxsep"}:{string:this.padding});z.setStyle("position","relative"),z.setStyle("display","inline-block"),z.setStyle("top",Pe,"em"),z.setStyle("height",z.height+z.depth,"em"),z.setStyle("width",z.width,"em");const Ke=new hi(null,{classes:"ML__notation"});let tt=z.height+z.depth+2*Pe;const ct=z.width+2*Pe;let ht="";if(this.notation.horizontalstrike&&(ht+=this.line(3,50,97,50)),this.notation.verticalstrike&&(ht+=this.line(50,3,50,97)),this.notation.updiagonalstrike&&(ht+=this.line(3,97,97,3)),this.notation.downdiagonalstrike&&(ht+=this.line(3,3,97,97)),this.notation.updiagonalarrow){ht+=this.line(Pe.toString(),(Pe+z.depth+z.height).toString(),(Pe+z.width).toString(),Pe.toString());const xn=.03*Math.sqrt(ct*ct+tt*tt)*1,Cr=z.width*xn,ui=(z.depth+z.height)*xn,xr=Pe+z.width;let Gr=Pe;Gr+ui-.4*Cr<0&&(Gr=.4*Cr-ui),ht+='<polygon points="',ht+=`${xr},${Gr} ${xr-Cr-.4*ui},${Gr+ui-.4*Cr} `,ht+=`${xr-.7*Cr},${Gr+.7*ui} ${xr-Cr+.4*ui},${Gr+ui+.4*Cr} `,ht+=`${xr},${Gr}`,ht+=`" stroke='none' fill="${this.strokeColor}"`,ht+="/>"}let bt=0;if(this.notation.phasorangle){const Gt=op(b),hn=(z.height+z.depth+2*Gt+Pe).toString(),xn=(z.height+z.depth)/2;ht+=this.line(Pe.toString(),hn,(Pe+xn+z.width).toString(),hn),ht+=this.line(Pe.toString(),hn,(Pe+xn).toString(),(Pe-Gt).toString()),tt+=Gt,bt=xn,z.left+=tt/2-Pe}if(this.notation.longdiv){const Gt=op(b);tt+=Gt,ht+=this.line(Pe.toString(),Pe.toString(),(Pe+z.width).toString(),Pe.toString());const hn=.3;bt=hn+Gt,z.left+=hn+Gt,z.setTop(Pe+Gt),ht+='<path d="',ht+=`M ${Pe} ${Pe} a${hn} ${(z.depth+z.height+2*Gt)/2}, 0, 1, 1, 0 ${z.depth+z.height+2*Gt} "`,ht+=` stroke-width="${o0(b)}" stroke="${this.strokeColor}" fill="none"`,ht+="/>"}if(Ke.width=z.width+2*Pe+bt,Ke.height=z.height+Pe,Ke.depth=z.depth+Pe,Ke.setStyle("box-sizing","border-box"),Ke.setStyle("left",`calc(-${ue} / 2 )`),Ke.setStyle("height",`${Math.floor(100*tt)/100}em`),Ke.setStyle("top",`calc(${ue} / 2 )`),this.backgroundcolor&&Ke.setStyle("background-color",this.backgroundcolor),this.notation.box&&Ke.setStyle("border","1px solid red"),this.notation.actuarial&&(Ke.setStyle("border-top",this.borderStyle),Ke.setStyle("border-right",this.borderStyle)),this.notation.madruwb&&(Ke.setStyle("border-bottom",this.borderStyle),Ke.setStyle("border-right",this.borderStyle)),this.notation.roundedbox&&(Ke.setStyle("border-radius","8px"),Ke.setStyle("border",this.borderStyle)),this.notation.circle&&(Ke.setStyle("border-radius","50%"),Ke.setStyle("border",this.borderStyle)),this.notation.top&&Ke.setStyle("border-top",this.borderStyle),this.notation.left&&Ke.setStyle("border-left",this.borderStyle),this.notation.right&&Ke.setStyle("border-right",this.borderStyle),this.notation.bottom&&Ke.setStyle("border-bottom",this.borderStyle),ht){let Gt="";this.shadow==="auto"&&(Gt+="filter: drop-shadow(0 0 .5px rgba(255, 255, 255, .7)) drop-shadow(1px 1px 2px #333)"),this.shadow!=="none"&&(Gt+=`filter: drop-shadow(${this.shadow})`),Gt+=` stroke-width="${this.strokeWidth}" stroke="${this.strokeColor}"`,Gt+=' stroke-linecap="round"',this.svgStrokeStyle&&(Gt+=` stroke-dasharray="${this.svgStrokeStyle}"`),Ke.svgStyle=Gt,Ke.svgOverlay=ht}const Bt=new hi([Ke,z]);return Bt.setStyle("position","relative"),Bt.setStyle("vertical-align",Pe,"em"),Bt.setStyle("height",`${Math.floor(100*(z.height+z.depth+2*Pe))/100}em`),Bt.setStyle("display","inline-block"),Bt.height=Ke.height,Bt.depth=Ke.depth,Bt.width=Ke.width-2*Pe,Bt.left=Pe,Bt.right=Pe,this.caret&&(Bt.caret=this.caret),Bt.wrap(b)}line(y,b,z,ue){return`<line x1="${xf(y)}" y1="${xf(b)}" x2="${xf(z)}" y2="${xf(ue)}" vector-effect="non-scaling-stroke"></line>`}};function xf(a){return typeof a=="number"?`${Math.floor(100*a)/100}%`:a}function a0(a){if(!a)return"1px";const y=a.match(/([0-9][a-zA-Z\%]+)/);return y===null?"1px":y[1]}function o0(a){return(Math.floor(100*a.metrics.sqrtRuleThickness/a.scalingFactor)/100/10).toString()+"em"}function op(a){const y=a.isDisplayStyle?zl:a.metrics.defaultRuleThickness;return a.metrics.defaultRuleThickness+a.scalingFactor*y/4}var Qu=class Um extends Br{constructor(y,b,z){var ue,Pe;super(ne(ae({},z),{type:"genfrac",displayContainsHighlight:!0})),this.above=y,this.below=b,this.hasBarLine=(ue=z==null?void 0:z.hasBarLine)!=null?ue:!0,this.continuousFraction=(Pe=z==null?void 0:z.continuousFraction)!=null?Pe:!1,this.numerPrefix=z==null?void 0:z.numerPrefix,this.denomPrefix=z==null?void 0:z.denomPrefix,this.mathstyleName=z==null?void 0:z.mathstyleName,this.leftDelim=z==null?void 0:z.leftDelim,this.rightDelim=z==null?void 0:z.rightDelim,this.fractionNavigationOrder=z==null?void 0:z.fractionNavigationOrder}static fromJson(y){return new Um(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),ae(ae({},super.toJson()),y)}get children(){if(this._children)return this._children;const y=[];if(this.fractionNavigationOrder==="denominator-numerator"){for(const b of this.below)y.push(...b.children),y.push(b);for(const b of this.above)y.push(...b.children),y.push(b)}else{for(const b of this.above)y.push(...b.children),y.push(b);for(const b of this.below)y.push(...b.children),y.push(b)}return this._children=y,y}render(y){var b,z;const ue=new Po({parent:y,mathstyle:this.mathstyleName},this.style),Pe=ue.metrics,Ke=new Po({parent:ue,mathstyle:this.continuousFraction?"":"numerator"},this.style),tt=this.numerPrefix?new hi([new hi(this.numerPrefix),Br.createBox(Ke,this.above)],{isTight:Ke.isTight,type:"ignore"}):(b=Br.createBox(Ke,this.above,{type:"ignore"}))!=null?b:new hi(null,{type:"ignore"}),ct=new Po({parent:ue,mathstyle:this.continuousFraction?"":"denominator"},this.style),ht=this.denomPrefix?new hi([new hi(this.denomPrefix),Br.createBox(ct,this.below,{type:"ignore"})]):(z=Br.createBox(ct,this.below,{type:"ignore"}))!=null?z:new hi(null,{type:"ignore"}),bt=this.hasBarLine?Pe.defaultRuleThickness:0;let Bt,Gt=0,hn;ue.isDisplayStyle?(Bt=Ke.metrics.num1,Gt=bt>0?3*bt:7*bt,hn=ct.metrics.denom1):(bt>0?(Bt=Ke.metrics.num2,Gt=bt):(Bt=Ke.metrics.num3,Gt=3*Pe.defaultRuleThickness),hn=ct.metrics.denom2);const xn=[];this.isSelected&&xn.push("ML__selected");const Cr=tt.depth,ui=ht.height;let xr;if(bt<=0){const Oa=Bt-Cr-(ui-hn);Oa<Gt&&(Bt+=(Gt-Oa)/2,hn+=(Gt-Oa)/2),xr=new us({individualShift:[{box:tt,shift:-Bt,classes:[...xn,"ML__center"]},{box:ht,shift:hn,classes:[...xn,"ML__center"]}]}).wrap(ue)}else{const Oa=new hi(null,{classes:"ML__frac-line",mode:this.mode,style:this.style});Oa.softWidth=Math.max(tt.width,ht.width),Oa.height=bt/2,Oa.depth=bt/2;const Ro=al+bt/2;Bt<Gt+Cr+Ro&&(Bt=Gt+Cr+Ro);const is=al-bt/2;hn<Gt+ui-is&&(hn=Gt+ui-is),xr=new us({individualShift:[{box:ht,shift:hn,classes:[...xn,"ML__center"]},{box:Oa,shift:-is,classes:xn},{box:tt,shift:-Bt,classes:[...xn,"ML__center"]}]}).wrap(ue)}const Gr=ue.isDisplayStyle?Pe.delim1:Pe.delim2,vi=this.leftDelim?this.bind(y,Ji("open",this.leftDelim,Gr,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):sa(ue,"open");let qr=null;this.continuousFraction?qr=new hi(null,{type:"close"}):this.rightDelim?qr=this.bind(y,Ji("close",this.rightDelim,Gr,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):qr=sa(ue,"close");const fa=new hi([vi,xr,qr],{isTight:ue.isTight,type:"inner",classes:"mfrac"}),ja=this.bind(y,fa);return this.caret&&(ja.caret=this.caret),this.attachSupsub(y,{base:ja})}},ml=class Vm extends Br{constructor(y,b){var z;super({type:"latex",value:y,mode:"latex"}),this.isSuggestion=(z=b==null?void 0:b.isSuggestion)!=null?z:!1,this.isError=!1}static fromJson(y){const b=new Vm(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),ae({type:"latex",value:this.value},y)}get computedStyle(){return{}}render(y){const b=new hi(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}},Ld=class Zm extends Br{constructor(y){super({type:"latexgroup",mode:"latex"}),this.body=[...y].map(b=>new ml(b)),this.skipBoundary=!1}static fromJson(y){return new Zm("")}toJson(){return super.toJson()}render(y){const b=Br.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){var b,z;return(z=(b=this.body)==null?void 0:b.map(ue=>ue.value).join(""))!=null?z:""}},hh=class Gm extends Br{constructor(y,b){super(ne(ae({},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 Gm(y.symbol,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.subsupPlacement&&(y.limits=this.subsupPlacement),this.isExtensibleSymbol&&(y.isExtensibleSymbol=!0),this.value&&(y.symbol=this.value),y}render(y){var b;const z=y.isDisplayStyle&&this.value!=="\\smallint",ue=new hi(this.value,{fontFamily:z?"Size2-Regular":"Size1-Regular",classes:"op-symbol "+(z?"large-op":"small-op"),type:"op",maxFontSize:y.scalingFactor,isSelected:this.isSelected});if(!ue)return null;ue.right=ue.italic;const Pe=(ue.height-ue.depth)/2-al*y.scalingFactor,Ke=ue.italic;ue.setTop(Pe);let tt=ue;if(this.superscript||this.subscript){const ct=(b=this.subsupPlacement)!=null?b:"auto";tt=ct==="over-under"||ct==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:ue,baseShift:Pe,slant:Ke}):this.attachSupsub(y,{base:ue})}return new hi(this.bind(y,tt),{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=zt(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const z=[];return z.push(this.command),this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&z.push("\\limits"),this.subsupPlacement==="adjacent"&&z.push("\\nolimits"),this.subsupPlacement==="auto"&&z.push("\\displaylimits")),z.push(this.supsubToLatex(y)),Eo(z)}},Au=class Xm extends Br{constructor(y){const b=y.body;super(ne(ae({},y),{type:"overlap",body:typeof b=="string"?[new Br({value:b})]:b,style:y==null?void 0:y.style})),this.skipBoundary=!0,this.align=y==null?void 0:y.align,this.boxType=y==null?void 0:y.boxType}static fromJson(y){return new Xm(y)}toJson(){const y={};return this.align&&(y.align=this.align),this.boxType&&(y.boxType=this.boxType),ae(ae({},super.toJson()),y)}render(y){const b=Br.createBox(y,this.body,{classes:"inner"});return b?(this.caret&&(b.caret=this.caret),this.bind(y,new hi([b,new hi(null,{classes:"fix"})],{classes:this.align==="right"?"rlap":"llap",type:this.boxType}))):null}},tc=class Ym extends Br{constructor(y){var b,z,ue,Pe;super({type:"overunder",command:y.command,style:y.style,mode:y.mode,body:y.body,skipBoundary:(b=y.skipBoundary)!=null?b:!0}),this.subsupPlacement=y.supsubPlacement,this.svgAbove=y.svgAbove,this.svgBelow=y.svgBelow,this.svgBody=y.svgBody,this.above=y.above,this.below=y.below,this.boxType=(z=y.boxType)!=null?z:"ord",this.paddedBody=(ue=y.paddedBody)!=null?ue:!1,this.paddedLabels=(Pe=y.paddedLabels)!=null?Pe:!1}static fromJson(y){return new Ym(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?Ul(this.svgBody):Br.createBox(y,this.body,{type:"ignore"});const z=new Po({parent:y,mathstyle:"scriptstyle"},this.style);let ue=null;this.svgAbove?ue=Ul(this.svgAbove):this.above&&(ue=Br.createBox(z,this.above,{type:"ignore"}));let Pe=null;this.svgBelow?Pe=Ul(this.svgBelow):this.below&&(Pe=Br.createBox(z,this.below,{type:"ignore"})),this.paddedBody&&(b=new hi([sa(y,"open"),b,sa(y,"close")],{type:"ignore"}));let Ke=s0(y,{base:b,above:ue,below:Pe,type:this.boxType==="bin"||this.boxType==="rel"?this.boxType:"ord",paddedAboveBelow:this.paddedLabels});return Ke?(this.subsupPlacement==="over-under"?Ke=this.attachLimits(y,{base:Ke,type:Ke.type}):Ke=this.attachSupsub(y,{base:Ke}),this.caret&&(Ke.caret=this.caret),this.bind(y,Ke)):null}};function s0(a,y){if(!y.base)return null;if(!y.above&&!y.below){const tt=new hi(y.base,{type:y.type});return tt.setStyle("position","relative"),tt}let b=0;y.above&&(b=a.metrics.bigOpSpacing5);let z=null;const ue=y.base,Pe=0,Ke=["ML__center"];if(y.paddedAboveBelow&&Ke.push("ML__label_padding"),y.below&&y.above){const tt=a.metrics.bigOpSpacing5+y.below.height+y.below.depth+ue.depth+Pe;z=new us({bottom:tt,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:Ke},{box:ue,classes:["ML__center"]},b,{box:y.above,classes:Ke},a.metrics.bigOpSpacing5]})}else y.below?z=new us({top:ue.height-Pe,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:Ke},{box:ue,classes:["ML__center"]}]}):y.above&&(z=new us({bottom:ue.depth+Pe,children:[{box:ue,classes:["ML__center"]},b,{box:y.above,classes:Ke},a.metrics.bigOpSpacing5]}));return new hi(z,{type:y.type})}var Pd=class Qm extends Br{constructor(y){var b,z,ue,Pe;super(ne(ae({},y),{type:"phantom"})),this.captureSelection=!0,this.isInvisible=(b=y.isInvisible)!=null?b:!1,this.smashDepth=(z=y.smashDepth)!=null?z:!1,this.smashHeight=(ue=y.smashHeight)!=null?ue:!1,this.smashWidth=(Pe=y.smashWidth)!=null?Pe:!1}static fromJson(y){return new Qm(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),ae(ae({},super.toJson()),y)}render(y){const b=new Po({parent:y,isPhantom:!0});if(!this.smashDepth&&!this.smashHeight&&!this.smashWidth)return console.assert(this.isInvisible),Br.createBox(b,this.body,{classes:"inner"});const z=Br.createBox(this.isInvisible?b:y,this.body);if(!z)return null;if(this.smashWidth){const ue=new hi(null,{classes:"fix"});return new hi([z,ue],{classes:"rlap"}).wrap(y)}if(!this.smashHeight&&!this.smashDepth)return z;if(this.smashHeight&&(z.height=0),this.smashDepth&&(z.depth=0),z.children)for(const ue of z.children)this.smashHeight&&(ue.height=0),this.smashDepth&&(ue.depth=0);return new us({firstBaseline:[{box:z}]},{type:z.type}).wrap(y)}},Nd=class Jm extends Br{constructor(y){var b;super(ae({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 Jm(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 hi(this.mode==="math"?null:" ");let z;if(this.width!==void 0)z=new hi(null,{classes:"mspace"}),z.left=y.toEm(this.width);else{const ue=(b={"\\qquad":"qquad","\\quad":"quad","\\enspace":"enspace","\\;":"thickspace","\\:":"mediumspace","\\>":"mediumspace","\\,":"thinspace","\\!":"negativethinspace"}[this.command])!=null?b:"mediumspace";z=new hi(null,{classes:ue})}return z=this.bind(y,z),this.caret&&(z.caret=this.caret),z}_serialize(y){var b;if(!y.expandMacro&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const z=zt(this.command,this.mode);if(z!=null&&z.serialize)return z.serialize(this,y);const ue=(b=this.command)!=null?b:"";return this.width===void 0?ue:this._braced&&!("register"in this.width)?`${ue}{${Xs(this.width)}}`:`${ue}${Xs(this.width)}`}},sp=class $m extends Br{constructor(y){var b;super(ne(ae({},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 $m(ne(ae({},y),{index:y.above}))}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=zt(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const z=this.command,ue=this.bodyToLatex(y);return this.above&&!this.hasEmptyBranch("above")?ys(`${z}[${this.aboveToLatex(y)}]`,ue):/^[0-9]$/.test(ue)?`${z}${ue}`:ys(z,ue)}get children(){if(this._children)return this._children;const y=[];if(this.above)for(const b of this.above)y.push(...b.children),y.push(b);if(this.body)for(const b of this.body)y.push(...b.children),y.push(b);return this._children=y,y}render(y){var b;const z=new Po({parent:y,mathstyle:"cramp"},this.style),ue=(b=Br.createBox(z,this.body,{type:"inner"}))!=null?b:new hi(null),Pe=z.scalingFactor,Ke=z.metrics.defaultRuleThickness/Pe,tt=y.isDisplayStyle?zl:Ke,ct=new hi(null,{classes:"ML__sqrt-line",style:this.style});ct.height=Ke,ct.softWidth=ue.width;let ht=Pe*(Ke+tt/4);const Bt=Math.max(Pe*2*tt,ue.height+ue.depth)+ht+Ke,Gt=new Po({parent:y},this.style),hn=this.bind(Gt,new hi(Ji("inner","\\surd",Bt,!1,Gt,{isSelected:this.isSelected}),{isSelected:this.isSelected,classes:"ML__sqrt-sign",style:this.style}));if(!hn)return null;const xn=hn.height+hn.depth-Ke;xn>ue.height+ue.depth+ht&&(ht=(ht+xn-(ue.height+ue.depth))/2),hn.setTop(hn.height-ue.height-ht);const Cr=this.bind(y,new us({firstBaseline:[{box:new hi(ue)},ht-2*Ke,{box:ct},Ke]})),ui=Br.createBox(new Po({parent:y,mathstyle:"scriptscriptstyle"}),this.above,{type:"ignore"});if(!ui){const vi=new hi([hn,Cr],{classes:this.containsCaret?"ML__contains-caret":"",type:"inner"});return vi.setStyle("display","inline-block"),vi.setStyle("height",vi.height+vi.depth,"em"),this.caret&&(vi.caret=this.caret),this.bind(y,vi)}const xr=new us({shift:-.6*(Math.max(hn.height,Cr.height)-Math.max(hn.depth,Cr.depth)),children:[{box:ui}]}),Gr=new hi([new hi(xr,{classes:"ML__sqrt-index",type:"ignore"}),hn,Cr],{type:"inner",classes:this.containsCaret?"ML__contains-caret":""});return Gr.height=hn.height,Gr.depth=hn.depth,this.caret&&(Gr.caret=this.caret),this.bind(y,Gr)}},l0=class extends hi{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 wf(a,y){if(!a.parent)return;const b=a.parent.children,z=b.indexOf(a);let ue=z-1;for(;ue>=0&&b[ue].type==="ignore";)ue-=1;if(ue<0&&a.parent.parent&&a.parent.type==="lift"){wf(a.parent,y);return}z>0&&b[z-1].type==="skip"?b[z-1].width+=y:b.splice(z,0,new l0(y))}var c0={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}},u0={ord:{op:3},op:{ord:3,op:3},close:{op:3},inner:{op:3}};function d0(a){Bd(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 Rd(a,y){if(!a.children)return a;const b=a.children;d0(b);const z=y.getRegisterAsEm("thinmuskip"),ue=y.getRegisterAsEm("medmuskip"),Pe=y.getRegisterAsEm("thickmuskip");return Bd(b,(Ke,tt)=>{var ct,ht,bt;if(!Ke)return;const Bt=Ke.type,Gt=tt.isTight?(ct=u0[Bt])!=null?ct:null:(ht=c0[Bt])!=null?ht:null,hn=(bt=Gt==null?void 0:Gt[tt.type])!=null?bt:null;hn===3&&wf(tt,z),hn===4&&wf(tt,ue),hn===5&&wf(tt,Pe)}),a}function Bd(a,y,b=void 0){if(!a)return b;a=[...a];for(const z of a)z.type==="lift"?b=Bd(z.children,y,b):z.type==="ignore"?Bd(z.children,y):(y(b,z),Bd(z.children,y),b=z);return b}var ph=class qm extends Br{constructor(y){super({type:"tooltip",command:y.command,mode:y.mode,style:y.style,body:y.body,displayContainsHighlight:!0}),this.tooltip=new Br({type:"root",mode:y.content,body:y.tooltip,style:{}}),this.skipBoundary=!0,this.captureSelection=!1}static fromJson(y){return new qm(ne(ae({},y),{tooltip:cu(y.tooltip)}))}toJson(){var y;const b=(y=this.tooltip.body)==null?void 0:y.filter(z=>z.type!=="first").map(z=>z.toJson());return ne(ae({},super.toJson()),{tooltip:b})}render(y){const b=Br.createBox(new Po,this.body);if(!b)return null;const z=new Po({parent:y,mathstyle:"displaystyle"},{fontSize:go}),ue=Ku(Rd(new hi(this.tooltip.render(z),{classes:"ML__tooltip-content"}),z)),Pe=new hi([ue,b],{classes:"ML__tooltip-container"});return this.caret&&(Pe.caret=this.caret),this.bind(y,Pe)}},Mu=class e0 extends Br{constructor(y,b){super(ne(ae({},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 e0(y.symbol,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.variantStyle&&(y.variantStyle=this.variantStyle),this.subsupPlacement&&(y.limits=this.subsupPlacement),this.value&&(y.symbol=this.value),y}render(y){var b;const z=new hi(this.value,{type:"op",mode:"math",maxFontSize:y.scalingFactor,style:{variant:this.variant,variantStyle:this.variantStyle},isSelected:this.isSelected,letterShapeStyle:y.letterShapeStyle});let ue=z;if(this.superscript||this.subscript){const Pe=(b=this.subsupPlacement)!=null?b:"auto";ue=Pe==="over-under"||Pe==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:z}):this.attachSupsub(y,{base:z})}return new hi(this.bind(y,ue),{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=zt(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const z=[this.command];return this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&z.push("\\limits"),this.subsupPlacement==="adjacent"&&z.push("\\nolimits"),this.subsupPlacement==="auto"&&z.push("\\displaylimits")),z.push(this.supsubToLatex(y)),Eo(z)}};function cu(a){if(re(a))return a.map(z=>cu(z));if(typeof a=="string")return Br.fromJson(a);a=ae({},a);for(const z of au)a[z]&&(a[z]=cu(a[z]));a.args&&(a.args=f0(a.args)),a.array&&(a.array=cu(a.array));const y=a.type;let b;y==="accent"&&(b=ee.fromJson(a)),y==="array"&&(b=co.fromJson(a)),y==="box"&&(b=Ws.fromJson(a)),y==="chem"&&(b=rp.fromJson(a)),y==="composition"&&(b=Uc.fromJson(a)),y==="delim"&&(b=ip.fromJson(a)),y==="enclose"&&(b=Id.fromJson(a)),y==="error"&&(b=kl.fromJson(a)),y==="extensible-symbol"&&(b=hh.fromJson(a)),y==="genfrac"&&(b=Qu.fromJson(a)),y==="group"&&(b=cl.fromJson(a)),y==="latex"&&(b=ml.fromJson(a)),y==="latexgroup"&&(b=Ld.fromJson(a)),y==="leftright"&&(b=Uo.fromJson(a)),y==="macro"&&(b=Yu.fromJson(a)),y==="macro-argument"&&(b=pc.fromJson(a)),y==="operator"&&(b=Mu.fromJson(a)),y==="overlap"&&(b=Au.fromJson(a)),y==="overunder"&&(b=tc.fromJson(a)),y==="placeholder"&&(b=Wa.fromJson(a)),y==="prompt"&&(b=kc.fromJson(a)),y==="phantom"&&(b=Pd.fromJson(a)),y==="sizeddelim"&&(b=ap.fromJson(a)),y==="spacing"&&(b=Nd.fromJson(a)),y==="subsup"&&(b=ec.fromJson(a)),y==="surd"&&(b=sp.fromJson(a)),y==="text"&&(b=fc.fromJson(a)),y==="tooltip"&&(b=ph.fromJson(a)),b||(console.assert(!y||["first","mbin","mrel","mclose","minner","mop","mopen","mord","mpunct","root","space"].includes(y),`MathLive 0.98.5: an unexpected atom type "${y}" was encountered. Add new atom constructors to \`fromJson()\` in "atom.ts"`),b=Br.fromJson(a));for(const z of au)a[z]&&b.setChildren(a[z],z);return a.verbatimLatex!==void 0&&(b.verbatimLatex=a.verbatimLatex),a.subsupPlacement&&(b.subsupPlacement=a.subsupPlacement),a.explicitSubsupPlacement&&(b.explicitSubsupPlacement=!0),a.isFunction&&(b.isFunction=!0),a.isExtensibleSymbol&&(b.isExtensibleSymbol=!0),a.skipBoundary&&(b.skipBoundary=!0),a.captureSelection&&(b.captureSelection=!0),b}function f0(a){if(a&&Array.isArray(a))return a.map(y=>y==="<null>"?null:typeof y=="object"&&"group"in y?{group:y.group.map(b=>cu(b))}:typeof y=="object"&&"atoms"in y?y.atoms.map(b=>cu(b)):y)}var lp={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"]},mh={"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]$/},cp=/^[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5]$/,h0=/^[\u0393|\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A6\u03A8\u03A9]$/,p0=[/^[a-z]$/,/^[A-Z]$/,cp,h0],m0={iso:["it","it","it","it"],tex:["it","it","it","up"],french:["it","up","up","up"],upright:["up","up","up","up"]},v0=class extends Ll{constructor(){super("math")}createAtom(a,y,b){var z,ue,Pe,Ke;if(y===null)return new Br({type:"mord",mode:"math",command:a,value:a,style:b});const tt=window.MathfieldElement.isFunction((z=y.command)!=null?z:a);if(y.definitionType==="symbol"){const ht=new Br({type:(ue=y.type)!=null?ue:"mord",mode:"math",command:(Pe=y.command)!=null?Pe:a,value:String.fromCodePoint(y.codepoint),style:b});return tt&&(ht.isFunction=!0),a.startsWith("\\")&&(ht.verbatimLatex=a),ht}const ct=new Br({type:"mord",mode:"math",command:(Ke=y.command)!=null?Ke:a,value:a,style:b});return tt&&(ct.isFunction=!0),a.startsWith("\\")&&(ct.verbatimLatex=a),ct}serialize(a,y){const b=g0(a,ne(ae({},y),{defaultMode:"math"}));return b.length===0||y.defaultMode!=="text"?b:["$ ",...b," $"]}getFont(a,y){console.assert(y.variant!==void 0);let{variant:b}=y,{variantStyle:z}=y;b==="normal"&&!z&&/[\u00A3\u0131\u0237]/.test(a.value)&&(b="main",z="italic"),b==="normal"&&!z&&a.value.length===1&&p0.forEach((tt,ct)=>{var ht;tt.test(a.value)&&m0[(ht=y.letterShapeStyle)!=null?ht:"tex"][ct]==="it"&&(z="italic")}),z==="up"&&(z=void 0);const ue=z?b+"-"+z:b;console.assert(lp[ue]!==void 0);const[Pe,Ke]=lp[ue];return mh[b]&&!mh[b].test(a.value)?(a.value=dt(a.value,b,z),null):(cp.test(a.value)&&(a.classes+=" lcGreek"),Ke&&(a.classes+=" "+Ke),Pe)}};function g0(a,y){const{parent:b}=a[0],z=up(b);return Hs(a,"variant").map(ue=>{const Pe=up(ue[0]);let Ke="";Pe&&Pe!==z&&(Ke={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"}[Pe],console.assert(Ke!==void 0));const tt=Eo(ue.map(ct=>ct._serialize(y)));return Ke?ys(Ke,tt):tt})}function up(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 v0;function y0(a,y){return a.map(b=>b._serialize(y))}function b0(a,y){return Hs(a,"fontShape").map(b=>{const z=y0(b,y),{fontShape:ue}=b[0].style;let Pe="";return ue==="it"&&(Pe="\\textit"),ue==="sl"&&(Pe="\\textsl"),ue==="sc"&&(Pe="\\textsc"),ue==="n"&&(Pe="\\textup"),!Pe&&ue?`{${ys("\\fontshape",ue)}${Eo(z)}}`:Pe?ys(Pe,Eo(z)):Eo(z)})}function x0(a,y){return Hs(a,"fontSeries").map(b=>{const z=b0(b,y),{fontSeries:ue}=b[0].style;let Pe="";return ue==="b"&&(Pe="\\textbf"),ue==="l"&&(Pe="\\textlf"),ue==="m"&&(Pe="\\textmd"),ue&&!Pe?`{${ys("\\fontseries",ue)}${Eo(z)}}`:Pe?ys(Pe,Eo(z)):Eo(z)})}function w0(a,y){return Hs(a,"fontSize").map(b=>{var z,ue;const Pe=x0(b,y),Ke=(ue=["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][(z=b[0].style.fontSize)!=null?z:""])!=null?ue:"";return Ke?`${Ke} ${Eo(Pe)}`:Eo(Pe)})}function S0(a,y,b){return Hs(a,"fontFamily").map(z=>{var ue,Pe;const Ke=w0(z,y),tt=(Pe={roman:"textrm",monospace:"texttt","sans-serif":"textsf"}[(ue=z[0].style.fontFamily)!=null?ue:""])!=null?Pe:"";return tt?`\\${tt}{${Eo(Ke)}}`:z[0].style.fontFamily?`{\\fontfamily{${z[0].style.fontFamily}} ${Eo(Ke)}}`:b?`\\text{${Eo(Ke)}}`:Eo(Ke)})}var dp={roman:"","sans-serif":"ML__sans",monospace:"ML__tt"},C0=class extends Ll{constructor(){super("text")}createAtom(a,y,b){return y&&y.definitionType==="symbol"?new fc(a,String.fromCodePoint(y.codepoint),b!=null?b:{}):null}serialize(a,y){return S0(a,ne(ae({},y),{defaultMode:"text"}),y.defaultMode!=="text")}getFont(a,y){var b,z,ue,Pe,Ke;const{fontFamily:tt}=y;if(dp[tt]?a.classes+=" "+dp[tt]:tt&&a.setStyle("font-family",tt),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 ct=y.fontSeries.match(/(.?[lbm])?(.?[cx])?/);ct&&(a.classes+=" ",a.classes+=(ue={ul:"ML__series_ul",el:"ML__series_el",l:"ML__series_l",sl:"ML__series_sl",m:"",sb:"ML__series_sb",b:"ML__bold",eb:"ML__series_eb",ub:"ML__series_ub"}[(z=ct[1])!=null?z:""])!=null?ue:"",a.classes+=" ",a.classes+=(Ke={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"}[(Pe=ct[2])!=null?Pe:""])!=null?Ke:"")}return"Main-Regular"}};new C0;var E0=class extends Ll{constructor(){super("latex")}createAtom(a){return new ml(a)}serialize(a,y){return a.filter(b=>b instanceof ml&&!b.isSuggestion).map(b=>b.value)}getFont(){return null}};new E0;var A0={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:["","=","","="]}},vh={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:["","=","","="]}},fp={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:["\\","|","",""]}},hp={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:[")",")",")",")"]}},M0={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:["=","=","=","="]}},k0={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:["<",">","",""]}},T0={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"]}},O0={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:["=","=","=","="]}},D0={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:["<",">","|",""]}},I0={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:[".",".",".","."]}},L0={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"]}},P0={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:["<",">","",""]}},N0={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 pp(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 Ju(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 R0={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]"},_d=[],Fd;function gh(){switch(le()){case"macos":case"ios":return"apple";case"windows":return"windows"}return"linux"}function Gl(a){(!a.platform||a.platform===gh())&&_d.push(a)}function B0(a,y){var b;const z={shift:!1,alt:!1,cmd:!1,win:!1,meta:!1,ctrl:!1,key:""};if(!a)return z;for(const[ue,Pe]of Object.entries(y.mapping)){if(Pe[0]===a)return z.key=`[${ue}]`,z;if(Pe[1]===a)return z.shift=!0,z.key=`[${ue}]`,z;if(Pe[2]===a)return z.alt=!0,z.key=`[${ue}]`,z;if(Pe[3]===a)return z.shift=!0,z.alt=!0,z.key=`[${ue}]`,z}return z.key=(b=R0[a])!=null?b:"",z}function _0(a){if(a.code)return a;const y=Object.entries(jd().mapping);let b=!1,z=!1,ue="";for(let Pe=0;Pe<4;Pe++){for(const[Ke,tt]of y)if(tt[Pe]===a.key){ue=Ke,Pe===3?(b=!0,z=!0):Pe===2?b=!0:Pe===1&&(z=!0);break}if(ue)break}return new KeyboardEvent(a.type,ne(ae({},a),{altKey:b,shiftKey:z,code:ue}))}function F0(a){var y,b;if(!a||a.key==="Unidentified"||a.key==="Dead")return;const z=a.shiftKey&&a.altKey?3:a.altKey?2:a.shiftKey?1:0;for(const ue of _d)((y=ue.mapping[a.code])==null?void 0:y[z])===a.key?ue.score+=1:(b=ue.mapping[a.code])!=null&&b[z]&&(ue.score=0);_d.sort((ue,Pe)=>Pe.score-ue.score)}function j0(a){Fd=_d.find(y=>a.startsWith(y.locale))}function jd(){return Fd!=null?Fd:_d[0]}function K0(){switch(gh()){case"apple":return vh;case"windows":return fp;case"linux":return hp}return vh}switch(gh()){case"apple":Gl(vh),Gl(M0),Gl(L0),Gl(O0);break;case"windows":Gl(fp),Gl(k0),Gl(P0),Gl(D0);break;case"linux":Gl(hp),Gl(T0),Gl(N0),Gl(I0);break}Gl(A0);function yh(a){var y;const b=/macos|ios/.test(le()),z=a.split("+");let ue="";for(const Pe of z)ue&&(ue+=b?"\u2009":'<span class="ML__shortcut-join">+</span>'),Pe.startsWith("[Key")?ue+=Pe.slice(4,5):Pe.startsWith("Key")?ue+=Pe.slice(3,4):Pe.startsWith("[Digit")?ue+=Pe.slice(6,7):Pe.startsWith("Digit")?ue+=Pe.slice(5,6):ue+=(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:"* &#128290;",numpaddivide:"/ &#128290;",numpadsubtract:"- &#128290;",numpadadd:"+ &#128290;",numpaddecimal:". &#128290;",numpadcomma:", &#128290;",help:"help",left:"\u21E0",up:"\u21E1",right:"\u21E2",down:"\u21E3","[arrowleft]":"\u21E0","[arrowup]":"\u21E1","[arrowright]":"\u21E2","[arrowdown]":"\u21E3"}[Pe.toLowerCase()])!=null?y:Pe.toUpperCase();return ue}function Sf(a){if(a instanceof MouseEvent||a instanceof PointerEvent)return{x:a.clientX,y:a.clientY};if(a instanceof TouchEvent){const y=[...a.touches].reduce((z,ue)=>({x:z.x+ue.clientX,y:z.y+ue.clientY}),{x:0,y:0}),b=a.touches.length;return{x:y.x/b,y:y.y/b}}}function ku(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 z0(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 H0=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 Cf(a){return a.ctrlKey||a.metaKey||["Dead","Process"].includes(a.key)?!1:a.code===""?!0:H0.has(a.code)}function Ef(){var a;let y=document.activeElement;for(;(a=y==null?void 0:y.shadowRoot)!=null&&a.activeElement;)y=y.shadowRoot.activeElement;return y}var Tc=class Yc{static get scrim(){return Yc._scrim||(Yc._scrim=new Yc),Yc._scrim}static open(y){Yc.scrim.open(y)}static close(){Yc.scrim.close()}static get state(){return Yc.scrim.state}static get element(){return Yc.scrim.element}constructor(y){var b,z;this.lightDismiss=(b=y==null?void 0:y.lightDismiss)!=null?b:!0,this.translucent=(z=y==null?void 0:y.translucent)!=null?z:!1,this.state="closed"}get element(){if(this._element)return this._element;const y=document.createElement("div");return y.setAttribute("role","presentation"),y.style.position="fixed",y.style.contain="content",y.style.top="0",y.style.left="0",y.style.right="0",y.style.bottom="0",y.style.zIndex="var(--scrim-zindex, 10099)",y.style.outline="none",this.translucent?(y.style.background="rgba(255, 255, 255, .2)",y.style.backdropFilter="contrast(40%)"):y.style.background="transparent",this._element=y,y}open(y){var b;if(this.state!=="closed")return;this.state="opening",this.onDismiss=y==null?void 0:y.onDismiss,this.savedActiveElement=Ef();const{element:z}=this;((b=y==null?void 0:y.root)!=null?b:document.body).appendChild(z),z.addEventListener("click",this),document.addEventListener("touchmove",this,!1),document.addEventListener("scroll",this,!1);const ue=window.innerWidth-document.documentElement.clientWidth;this.savedMarginRight=document.body.style.marginRight,this.savedOverflow=document.body.style.overflow,document.body.style.overflow="hidden";const Pe=Number.parseFloat(getComputedStyle(document.body).marginRight);document.body.style.marginRight=`${Pe+ue}px`,y!=null&&y.child&&z.append(y.child),this.state="open"}close(){var y,b,z,ue;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:Pe}=this;Pe.removeEventListener("click",this),document.removeEventListener("touchmove",this,!1),document.removeEventListener("scroll",this,!1),Pe.remove(),document.body.style.overflow=(y=this.savedOverflow)!=null?y:"",document.body.style.marginRight=(b=this.savedMarginRight)!=null?b:"",Ef()!==this.savedActiveElement&&((ue=(z=this.savedActiveElement)==null?void 0:z.focus)==null||ue.call(z)),Pe.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 W0(a,y,b){let z=null,ue=null,Pe=!1,Ke=!1,tt=!1;const ct=new AbortController,ht=ct.signal;return a.addEventListener("keydown",bt=>{if(Pe||bt.key==="Process"||bt.code==="CapsLock"||/(Control|Meta|Alt|Shift)(Left|Right)/.test(bt.code)){z=null;return}z=bt,ue=null,b.onKeystroke(bt)?a.textContent="":z=null},{capture:!0,signal:ht}),a.addEventListener("keypress",bt=>{Pe||(z&&ue&&b.onKeystroke(z),ue=bt)},{capture:!0,signal:ht}),a.addEventListener("compositionstart",bt=>{a.textContent="",Pe=!0,b.onCompositionStart(bt.data)},{capture:!0,signal:ht}),a.addEventListener("compositionupdate",bt=>{Pe&&b.onCompositionUpdate(bt.data)},{capture:!0,signal:ht}),a.addEventListener("compositionend",bt=>{a.textContent="",Pe&&(Pe=!1,b.onCompositionEnd(bt.data))},{capture:!0,signal:ht}),a.addEventListener("beforeinput",bt=>bt.stopImmediatePropagation(),{signal:ht}),a.addEventListener("input",bt=>{var Bt;if(!Pe&&(a.textContent="",bt.inputType!=="insertCompositionText")){if(bt.inputType==="insertFromPaste"){bt.preventDefault(),bt.stopPropagation();return}b.onInput((Bt=bt.data)!=null?Bt:""),bt.preventDefault(),bt.stopPropagation()}},{signal:ht}),a.addEventListener("paste",bt=>{a.focus({preventScroll:!0}),a.textContent="",b.onPaste(bt)||bt.preventDefault(),bt.stopImmediatePropagation()},{signal:ht}),a.addEventListener("cut",bt=>b.onCut(bt),{capture:!0,signal:ht}),a.addEventListener("copy",bt=>b.onCopy(bt),{capture:!0,signal:ht}),a.addEventListener("blur",bt=>{var Bt,Gt;if(((Gt=(Bt=bt.relatedTarget)==null?void 0:Bt._mathfield)==null?void 0:Gt.element)===y){a.focus({preventScroll:!0}),bt.preventDefault(),bt.stopPropagation();return}const hn=Tc.state;if(hn==="open"||hn==="opening"){bt.preventDefault(),bt.stopPropagation();return}if(bt.relatedTarget===bt.target.getRootNode().host){bt.preventDefault(),bt.stopPropagation();return}tt||Ke||(tt=!0,z=null,ue=null,b.onBlur(),tt=!1)},{capture:!0,signal:ht}),a.addEventListener("focus",bt=>{tt||Ke||(Ke=!0,b.onFocus(),Ke=!1)},{capture:!0,signal:ht}),{dispose:()=>ct.abort(),cancelComposition:()=>{Pe&&(a.blur(),requestAnimationFrame(()=>a.focus({preventScroll:!0})))},blur:()=>{typeof a.blur=="function"&&a.blur()},focus:()=>{!Ke&&typeof a.focus=="function"&&a.focus({preventScroll:!0})},hasFocus:()=>Ef()===a,setAriaLabel:bt=>a.setAttribute("aria-label",bt),setValue:bt=>{var Bt;a.textContent=bt,a.style.left="-1000px",(Bt=window.getSelection())==null||Bt.selectAllChildren(a)},moveTo:(bt,Bt)=>{a.style.top=`${Bt}px`,a.style.left=`${bt}px`}}}function $u(a){var y;if(!a||!Cf(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 mp(a){a=_0(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 U0(a){if(ce()){const y=le(),b=a.startsWith("!"),z=a.endsWith(y);if(b&&!z||!b&&z)return!0}return a==="!other"?!1:a==="other"}function V0(a,y,b){if(a.length===0)return"";const z=Ju(pp(mp(b))),ue=Ju({key:b.key,shift:b.shiftKey,alt:b.altKey,ctrl:b.ctrlKey,meta:b.metaKey||b.ctrlKey&&/macos|ios/.test(le()),cmd:!1,win:!1});for(let Pe=a.length-1;Pe>=0;Pe--)if((a[Pe].key===z||a[Pe].key===ue)&&(!a[Pe].ifMode||a[Pe].ifMode===y))return a[Pe].command;return""}function vp(a){let y=a;return re(y)&&(y=y.length>0?y[0]+"("+y.slice(1).join("")+")":""),y}function Z0(a,y){let b=[];if(typeof y=="string"){const Pe=Ad[y];re(Pe)?b=Pe.slice():Pe&&b.push(Pe)}const z=vp(y),ue=new RegExp("^"+z.replace("\\","\\\\").replace("|","\\|").replace("*","\\*").replace("$","\\$").replace("^","\\^")+"([^*a-zA-Z]|$)");for(const Pe of a)ue.test(vp(Pe.command))&&b.push(Pe.key);return b.map(yh)}function G0(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=pp(a.key);let z=a.ifPlatform;if(b.cmd){if(z&&z!=="macos"&&z!=="ios")throw new Error('Unexpected "cmd" modifier with platform "'+z+`"
"cmd" modifier can only be used with macOS or iOS platform.`);z||(z=le()==="ios"?"ios":"macos"),b.win=!1,b.cmd=!1,b.meta=!0}if(b.win){if(z&&z!=="windows")throw new Error('Unexpected "win" modifier with platform "'+z+`"
"win" modifier can only be used with Windows platform.`);z="windows",b.win=!1,b.cmd=!1,b.meta=!0}if(z&&!U0(z))return;if(/^\[.+\]$/.test(b.key))return ne(ae({},a),{key:Ju(b)});const ue=B0(b.key,y);if(!ue)return ne(ae({},a),{key:Ju(b)});if(ue.shift&&b.shift||ue.alt&&b.alt)throw new Error(`The keybinding ${a.key} (${bh(a.command)}) is conflicting with the key combination ${Ju(ue)} using the ${y.displayName} keyboard layout`);return ue.shift=ue.shift||b.shift,ue.alt=ue.alt||b.alt,ue.meta=b.meta,ue.ctrl=b.ctrl,ne(ae({},a),{key:Ju(ue)})}function bh(a){if(Array.isArray(a)){const y=[...a];return y.shift()+"("+y.map(b=>typeof b=="string"?`"${b}"`:b.toString()).join(", ")+")"}return a}function X0(a,y){const b=[],z=[];for(const ue of a)try{const Pe=G0(ue,y);if(!Pe)continue;const Ke=z.find(tt=>tt.key===Pe.key&&tt.ifMode===Pe.ifMode);if(Ke)throw new Error(`Ambiguous key binding ${ue.key} (${bh(ue.command)}) matches ${Ke.key} (${bh(Ke.command)}) with the ${y.displayName} keyboard layout`);z.push(Pe)}catch(Pe){Pe instanceof Error&&b.push(Pe.message)}return[z,b]}var Y0=class extends so{constructor(){super("latex")}createAtom(a){return new ml(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"}),Bs(a)),a.startRecording(),!0):!1}insert(a,y,b){if(!a.contentWillChange({data:y,inputType:"insertText"}))return!1;b||(b={}),b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder");const{silenceNotifications:z}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const ue=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(ll(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 Pe=[];for(const ct of y)Ce.test(ct)&&Pe.push(new ml(ct));let Ke=a.at(a.position);if(Ke instanceof Ld&&(Ke=Ke.lastChild),!(Ke.parent instanceof Ld)){const ct=new Ld("");Ke.parent.addChildAfter(ct,Ke),Ke=ct.firstChild}const tt=Ke.parent.addChildrenAfter(Pe,Ke);return a.silenceNotifications=ue,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(tt)):tt&&(a.position=a.offsetOf(tt))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=z,!0}};function Q0(a){return a.atoms.find(y=>y.type==="latexgroup")}function Kd(a){var y,b;const z=a.atoms.find(ue=>ue.type==="latexgroup");return z?(b=(y=z.body)==null?void 0:y.filter(ue=>ue.type==="latex"))!=null?b:[]:[]}function gp(a,y){var b;let z=0,ue=!1;const Pe=Number.isFinite(y==null?void 0:y.before)?(b=y==null?void 0:y.before)!=null?b:0:a.lastOffset;for(;z<=Pe&&!ue;){const ct=a.at(z);ue=ct instanceof ml&&ct.isSuggestion,ue||z++}if(!ue)return[void 0,void 0];let Ke=z,tt=!1;for(;Ke<=Pe&&!tt;){const ct=a.at(Ke);tt=!(ct instanceof ml&&ct.isSuggestion),tt||Ke++}return[z-1,Ke-1]}new Y0;function Af(a){const y=Kd(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 zd(a,y){var b;const{model:z}=a;Af(a);for(const bt of Kd(z))bt.isError=!1;if(!z.selectionIsCollapsed||a.options.popoverPolicy==="off"){ed(a);return}const ue=[];let Pe=z.at(z.position);for(;Pe&&Pe instanceof ml&&/^[a-zA-Z\*]$/.test(Pe.value);)Pe=Pe.leftSibling;if(Pe&&Pe instanceof ml&&Pe.value==="\\")for(ue.push(Pe),Pe=Pe.rightSibling;Pe&&Pe instanceof ml&&/^[a-zA-Z\*]$/.test(Pe.value);)ue.push(Pe),Pe=Pe.rightSibling;const Ke=ue.map(bt=>bt.value).join(""),tt=ot(a,Ke);if(tt.length===0){if(/^\\[a-zA-Z\*]+$/.test(Ke))for(const bt of ue)bt.isError=!0;ed(a);return}const ct=(b=y==null?void 0:y.atIndex)!=null?b:0;a.suggestionIndex=ct<0?tt.length-1:ct%tt.length;const ht=tt[a.suggestionIndex];if(ht!==Ke){const bt=ue[ue.length-1];bt.parent.addChildrenAfter([...ht.slice(Ke.length-ht.length)].map(Bt=>new ml(Bt,{isSuggestion:!0})),bt),Tu(a,{interactive:!0})}$0(a,tt)}function yp(a){const[y,b]=gp(a,{before:a.position});if(y===void 0||b===void 0)return!1;let z=!1;return a.getAtoms([y,b]).forEach(ue=>{ue.isSuggestion&&(ue.isSuggestion=!1,z=!0)}),z}function qu(a,y="accept",b){var z,ue;ed(a);const Pe=Q0(a.model);if(!Pe)return!1;if(y==="accept-suggestion"||y==="accept-all"){const ht=Kd(a.model).filter(bt=>bt.isSuggestion);if(ht.length!==0){for(const bt of ht)bt.isSuggestion=!1;a.model.position=a.model.offsetOf(ht[ht.length-1])}if(y==="accept-suggestion")return ht.length!==0}const tt=Kd(a.model).filter(ht=>!ht.isSuggestion).map(ht=>ht.value).join(""),ct=Pe.leftSibling;return Pe.parent.removeChild(Pe),a.model.position=a.model.offsetOf(ct),a.switchMode((z=b==null?void 0:b.mode)!=null?z:"math"),y==="reject"||(so.insert(a.model,tt,{selectionMode:(ue=b==null?void 0:b.selectItem)!=null&&ue?"item":"placeholder",format:"latex",mode:"math"}),a.snapshot(),a.model.announce("replacement"),a.switchMode("math")),!0}function Mf(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 xh(a){var y;const b=document.getElementById(a);if(!b)return;const z=Number.parseInt((y=b.getAttribute("data-refcount"))!=null?y:"0");z<=1?b.remove():b.dataset.refcount=Number(z-1).toString()}function J0(a,y){const b=new Po({from:a.context}),z=new Br({mode:"math",type:"root",body:ul(y,{context:b})}),ue=Ku(Rd(new hi(z.render(b),{classes:"ML__base"}),b));return zu(ue,{classes:"ML__latex"}).toMarkup()}function $0(a,y){var b;if(y.length===0){ed(a);return}let z="";for(const[Pe,Ke]of y.entries()){const tt=Ke,ct=J0(a,Ke),ht=Z0(a.keybindings,tt).join("<br>");z+=`<li role="button" data-command="${tt}" ${Pe===a.suggestionIndex?"class=ML__popover__current":""}><span class="ML__popover__latex">${tt}</span><span class="ML__popover__command">${ct}</span>`,ht&&(z+=`<span class="ML__popover__keybinding">${ht}</span>`),z+="</li>"}const ue=q0(a,`<ul>${z}</ul>`);wh()&&((b=ue.querySelector(".ML__popover__current"))==null||b.scrollIntoView({block:"nearest",inline:"nearest"})),setTimeout(()=>{var Pe;ue&&!wh()&&(ue.classList.add("is-visible"),kf(a),(Pe=ue.querySelector(".ML__popover__current"))==null||Pe.scrollIntoView({block:"nearest",inline:"nearest"}))},32)}function wh(){const a=document.getElementById("mathlive-suggestion-popover");return a?a.classList.contains("is-visible"):!1}function kf(a,y){var b;if(!a.element||a.element.mathfield!==a||!wh())return;if(((b=a.model.at(a.model.position))==null?void 0:b.type)!=="latex"){ed(a);return}if(y!=null&&y.deferred){setTimeout(()=>kf(a),32);return}const z=Mc(a.field);if(!z)return;const ue=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,Pe=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,Ke=window.innerWidth-document.documentElement.clientWidth,tt=window.innerHeight-document.documentElement.clientHeight,ct=window.mathVirtualKeyboard.boundingRect.height,ht=document.getElementById("mathlive-suggestion-popover");z.x+ht.offsetWidth/2>Pe-Ke?ht.style.left=`${Pe-ht.offsetWidth-Ke}px`:z.x-ht.offsetWidth/2<0?ht.style.left="0":ht.style.left=`${z.x-ht.offsetWidth/2}px`;const bt=z.y-z.height;ue-tt-ct-z.y<bt?(ht.classList.add("ML__popover--reverse-direction"),ht.classList.remove("top-tip"),ht.classList.add("bottom-tip"),ht.style.top=`${z.y-z.height-ht.offsetHeight-15}px`):(ht.classList.remove("ML__popover--reverse-direction"),ht.classList.add("top-tip"),ht.classList.remove("bottom-tip"),ht.style.top=`${z.y+15}px`)}function ed(a){a.suggestionIndex=0;const y=document.getElementById("mathlive-suggestion-popover");y&&(y.classList.remove("is-visible"),y.innerHTML="")}function q0(a,y){let b=document.getElementById("mathlive-suggestion-popover");return b||(b=Mf("mathlive-suggestion-popover"),jl("suggestion-popover"),jl("core"),b.addEventListener("pointerdown",z=>z.preventDefault()),b.addEventListener("click",z=>{let ue=z.target;for(;ue&&!ue.dataset.command;)ue=ue.parentElement;ue&&(qu(a,"reject"),so.insert(a.model,ue.dataset.command,{selectionMode:"placeholder",format:"latex",mode:"math"}),a.dirty=!0,a.focus())})),b.innerHTML=window.MathfieldElement.createHTML(y),b}function ev(){document.getElementById("mathlive-suggestion-popover")&&(xh("mathlive-suggestion-popover"),E("suggestion-popover"),E("core"))}function tv(){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 Tf=null,bp,xp,Sh=((xp=(bp=globalThis==null?void 0:globalThis.document)==null?void 0:bp.currentScript)==null?void 0:xp.src)||tv();function wp(a){return pu(this,null,function*(){if(/^(?:[a-z+]+:)?\/\//i.test(a))return new URL(a).href;if(Tf===null)try{const y=yield fetch(Sh,{method:"HEAD"});y.status===200&&(Tf=y.url)}catch(y){console.error(`Invalid URL "${a}" (relative to "${Sh}")`)}return new URL(a,Tf!=null?Tf:Sh).href})}function nv(a,y,b={}){return new FontFace(a,`url(${y}.woff2) format('woff2')`,b)}var Xl="not-loaded";function rv(){return pu(this,null,function*(){return Xl="not-loaded",Of()})}function Of(){return pu(this,null,function*(){var a;if(Xl!=="not-loaded")return;if(Xl="loading",(a=getComputedStyle(document.documentElement).getPropertyValue("--ML__static-fonts"))!=null?a:!1){Xl="ready";return}if(document.body.classList.remove("ML__fonts-did-not-load"),"fonts"in document){const b=["KaTeX_Main","KaTeX_Math","KaTeX_AMS","KaTeX_Caligraphic","KaTeX_Fraktur","KaTeX_SansSerif","KaTeX_Script","KaTeX_Typewriter","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4"],z=Array.from(document.fonts).map(Ke=>Ke.family);if(b.every(Ke=>z.includes(Ke))){Xl="ready";return}if(!window.MathfieldElement.fontsDirectory){Xl="not-loaded";return}const ue=yield wp(window.MathfieldElement.fontsDirectory);if(!ue){document.body.classList.add("ML__fonts-did-not-load"),Xl="error";return}const Pe=[["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(Ke=>nv(Ke[0].replace(/-[a-zA-Z]+$/,""),`${ue}/${Ke[0]}`,Ke[1]));try{(yield Promise.all(Pe.map(tt=>{try{return tt.load()}catch(ct){}}))).forEach(tt=>document.fonts.add(tt)),Xl="ready";return}catch(Ke){console.error(`MathLive 0.98.5: The math fonts could not be loaded from "${ue}"`,{cause:Ke}),document.body.classList.add("ML__fonts-did-not-load")}Xl="error"}})}function iv(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 Bs(a,y){a&&(a.dirty||(a.dirty=!0,requestAnimationFrame(()=>{Vl(a)&&a.dirty&&(a.atomBoundsCache=new Map,Tu(a,y),a.atomBoundsCache=void 0)})))}function av(a,y){var b;y=y!=null?y:{};const z=new Po({from:ne(ae({},a.context),{atomIdsSettings:{seed:y.forHighlighting?iv(Br.serialize([a.model.root],{expandMacro:!1,defaultMode:a.options.defaultMode})):"random",groupNumbers:(b=y.forHighlighting)!=null?b:!1},letterShapeStyle:a.options.letterShapeStyle}),mathstyle:a.options.defaultMode==="inline-math"?"textstyle":"displaystyle"}),ue=a.model.root.render(z);return zu(Rd(ue,z),{classes:a.hasEditablePrompts?"ML__latex ML__prompting":"ML__latex",attributes:{translate:"no","aria-hidden":"true"}})}function Sp(a,y){const{model:b}=a;b.root.caret=void 0,b.root.isSelected=!1,b.root.containsCaret=!0;for(const ue of b.atoms)ue.caret=void 0,ue.isSelected=!1,ue.containsCaret=!1;if(b.selectionIsCollapsed){const ue=b.at(b.position);ue.caret=a.model.mode;let Pe=ue.parent;for(;Pe;)Pe.containsCaret=!0,Pe=Pe.parent}else{const ue=b.getAtoms(b.selection,{includeChildren:!0});for(const Pe of ue)Pe.isSelected=!0}return av(a,y).toMarkup()}function Tu(a,y){if(!Vl(a))return;y!=null||(y={});const b=a.element.querySelector("[part=virtual-keyboard-toggle]");b&&(b.style.display=a.hasEditableContent?"":"none");const z=a.field;if(!z)return;const ue=a.isSelectionEditable&&a.hasFocus(),Pe=z.classList.contains("ML__focused");Pe&&!ue?z.classList.remove("ML__focused"):!Pe&&ue&&z.classList.add("ML__focused");let Ke=Sp(a,y);const tt=a.element.querySelector("[part=menu-toggle]");if(tt&&(a.model.atoms.length<=1||a.disabled||a.readOnly&&!a.hasEditableContent||a.userSelect==="none"?tt.style.display="none":tt.style.display=""),a.model.atoms.length<=1){const ct=a.options.contentPlaceholder;ct&&(Ke+=`<span part=placeholder class="ML__content-placeholder">${dl(ct)}</span>`)}z.innerHTML=window.MathfieldElement.createHTML(Ke),Df(a,y.interactive),a.dirty=!1}function Df(a,y){const b=a.field;if(!b)return;for(const tt of b.querySelectorAll(".ML__selection, .ML__contains-highlight"))tt.remove();!(y!=null&&y)&&Xl!=="error"&&Xl!=="ready"&&setTimeout(()=>{Xl==="ready"?Df(a):setTimeout(()=>Df(a),128)},32);const z=a.model,ue=b.offsetWidth,Pe=b.getBoundingClientRect().width;let Ke=Math.floor(Pe)/ue;if(Ke=isNaN(Ke)?1:Ke,z.selectionIsCollapsed){kf(a,{deferred:!0});let tt=z.at(z.position);for(;tt&&tt.type!=="prompt"&&!(tt.containsCaret&&tt.displayContainsHighlight);)tt=tt.parent;if(tt!=null&&tt.containsCaret&&tt.displayContainsHighlight){const ct=kd(a,ou(a,tt),Ke);if(ct){ct.left/=Ke,ct.right/=Ke,ct.top/=Ke,ct.bottom/=Ke;const ht=document.createElement("div");ht.classList.add("ML__contains-highlight"),ht.style.position="absolute",ht.style.left=`${ct.left+1}px`,ht.style.top=`${Math.ceil(ct.top)}px`,ht.style.width=`${Math.ceil(ct.right-ct.left)}px`,ht.style.height=`${Math.ceil(ct.bottom-ct.top)}px`,b.insertBefore(ht,b.childNodes[0])}}return}for(const tt of ov(Od(a,{excludeAtomsWithBackground:!0}))){tt.left/=Ke,tt.right/=Ke,tt.top/=Ke,tt.bottom/=Ke;const ct=document.createElement("div");ct.classList.add("ML__selection"),ct.style.position="absolute",ct.style.left=`${tt.left}px`,ct.style.top=`${tt.top}px`,ct.style.width=`${Math.ceil(tt.right-tt.left)}px`,ct.style.height=`${Math.ceil(tt.bottom-tt.top-1)}px`,b.insertBefore(ct,b.childNodes[0])}}function ov(a){let y=[];for(const b of a){let z=!1;for(const ue of y)if(b.left===ue.left&&b.right===ue.right&&b.top===ue.top&&b.bottom===ue.bottom){z=!0;break}z||y.push(b)}a=y,y=[];for(const b of a){let z=0;for(const ue of a)if(b.left>=ue.left&&b.right<=ue.right&&b.top>=ue.top&&b.bottom<=ue.bottom&&(z+=1,z>1))break;z===1&&y.push(b)}return y}var Cp=3,Oc;function Kl(a,y){y=ae({target:"mathfield",canUndo:!1,audioFeedback:void 0,changeContent:!1,changeSelection:!1},y!=null?y:{}),Oc||(Oc={});for(const b of Object.keys(a))console.assert(!Oc[b],"Selector already defined: ",b),Oc[b]=ne(ae({},y),{fn:a[b]})}function Ch(a){let y;if(Array.isArray(a)){if(a[0]==="performWithFeedback")return Ch(a[1]);y=a[0]}else y=a;return y=y.replace(/-\w/g,b=>b[1].toUpperCase()),Oc[y]}function td(a){var y;return(y=Ch(a))==null?void 0:y.target}function sv(a,y){var b;if(!y)return!1;let z,ue=[],Pe=!1,Ke=!1;re(y)?(z=y[0],ue=y.slice(1)):z=y,z=z.replace(/-\w/g,ht=>ht[1].toUpperCase());const tt=Oc[z],ct=tt==null?void 0:tt.target;if(ct==="model"){if(!a.isSelectionEditable&&(tt!=null&&tt.changeContent))return a.model.announce("plonk"),!1;/^(delete|add)/.test(z)&&(z!=="deleteBackward"&&a.flushInlineShortcutBuffer(),a.snapshot(z)),/^complete/.test(z)||Af(a),Oc[z].fn(a.model,...ue),zd(a),Ke=!0,Pe=!0}else if(ct==="virtual-keyboard")Ke=(b=window.mathVirtualKeyboard.executeCommand(y))!=null?b:!1,Pe=!0;else if(Oc[z]){if(!a.isSelectionEditable&&(tt!=null&&tt.changeContent))return a.model.announce("plonk"),!1;/^(undo|redo)/.test(z)&&a.flushInlineShortcutBuffer(),Ke=Oc[z].fn(a,...ue),Pe=!0}else throw new Error(`Unknown command "${z}"`);return ct!=="virtual-keyboard"&&(!a.model.selectionIsCollapsed||tt!=null&&tt.changeSelection&&y!=="deleteBackward")&&(a.flushInlineShortcutBuffer(),tt!=null&&tt.changeContent||a.stopCoalescingUndo(),a.defaultStyle={}),Ke&&Bs(a),Pe}function lv(a,y){var b;if(!a)return!1;a.focus(),ym.keypressVibration&&pe()&&navigator.vibrate(Cp);const z=Ch(y);window.MathfieldElement.playSound((b=z==null?void 0:z.audioFeedback)!=null?b:"keypress");const ue=a.executeCommand(y);return a.scrollIntoView(),ue}Kl({performWithFeedback:(a,y)=>lv(a,y)});function cv(a){return zd(a,{atIndex:a.suggestionIndex+1}),!1}function uv(a){return zd(a,{atIndex:a.suggestionIndex-1}),!1}Kl({complete:qu},{target:"mathfield",audioFeedback:"return",canUndo:!0,changeContent:!0,changeSelection:!0}),Kl({nextSuggestion:cv,previousSuggestion:uv},{target:"mathfield",audioFeedback:"keypress",changeSelection:!0});var If="mathlive#virtual-keyboard-message";function Eh(a){var y;return a.type!=="message"?!1:((y=a.data)==null?void 0:y.type)===If}var dv=class t0{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 t0),this._singleton}set alphabeticLayout(y){this.sendMessage("update-setting",{alphabeticLayout:y})}set layouts(y){this.sendMessage("update-setting",{layouts:y})}get normalizedLayouts(){return[]}set editToolbar(y){this.sendMessage("update-setting",{editToolbar:y})}set actionKeycap(y){this.sendMessage("update-setting",{actionKeycap:y})}set shiftKeycap(y){this.sendMessage("update-setting",{shiftKeycap:y})}set backspaceKeycap(y){this.sendMessage("update-setting",{backspaceKeycap:y})}set tabKeycap(y){this.sendMessage("update-setting",{tabKeycap:y})}set container(y){throw new Error("Container inside an iframe cannot be changed")}show(y){this.sendMessage("show",y)}hide(y){this.sendMessage("hide",y)}get isShifted(){return this._isShifted}get visible(){return this._boundingRect.height>0}set visible(y){y?this.show():this.hide()}get boundingRect(){return this._boundingRect}executeCommand(y){return this.sendMessage("execute-command",{command:y}),!0}updateToolbar(y){this.sendMessage("update-toolbar",y)}update(y){this.sendMessage("update-setting",y)}connect(){this.sendMessage("connect")}disconnect(){this.sendMessage("disconnect")}addEventListener(y,b,z){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,z){this.listeners[y]&&this.listeners[y].delete(b)}handleEvent(y){if(Eh(y)){if(!Dd(y.origin,this.originValidator))throw new DOMException(`Message from unknown origin (${y.origin}) cannot be handled`,"SecurityError");this.handleMessage(y.data)}}handleMessage(y){const{action:b}=y;if(b==="execute-command"){const{command:z}=y;td(z)==="virtual-keyboard"&&this.executeCommand(z);return}if(b==="synchronize-proxy"){this._boundingRect=y.boundingRect,this._isShifted=y.isShifted;return}if(b==="geometry-changed"){this._boundingRect=y.boundingRect,this.dispatchEvent(new Event("geometrychange"));return}}sendMessage(y,b={}){if(!window.top)throw new DOMException("A frame does not have access to the top window and can\u2018t communicate with the keyboard. Review virtualKeyboardTargetOrigin and originValidator on mathfields embedded in an iframe","SecurityError");window.top.postMessage(ae({type:If,action:y},b),this.targetOrigin)}},Ep={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:"&alpha;&beta;&gamma;",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.greek",rows:[[{label:"<i>&#x03c6;</i>",class:"MLK__tex hide-shift",insert:"\\varphi",aside:"phi var.",shift:"\\Phi"},{label:"<i>&#x03c2;</i>",class:"MLK__tex hide-shift",insert:"\\varsigma",aside:"sigma var.",shift:"\\Sigma"},{label:"<i>&#x03f5;</i>",class:"MLK__tex hide-shift",insert:"\\epsilon",aside:"espilon",shift:'\\char"0190'},{label:"<i>&rho;</i>",class:"MLK__tex hide-shift",insert:"\\rho",aside:"rho",shift:'\\char"3A1'},{label:"<i>&tau;</i>",class:"MLK__tex hide-shift",insert:"\\tau",aside:"tau",shift:'\\char"3A4'},{label:"<i>&upsilon;</i>",class:"MLK__tex hide-shift",insert:"\\upsilon",aside:"upsilon",shift:"\\Upsilon"},{label:"<i>&theta;</i>",class:"MLK__tex hide-shift",insert:"\\theta",aside:"theta",shift:"\\Theta"},{label:"<i>&iota;</i>",class:"MLK__tex hide-shift",insert:"\\iota",aside:"iota",shift:'\\char"399'},{label:"<i>&omicron;</i>",class:"MLK__tex hide-shift",insert:"\\omicron",aside:"omicron",shift:'\\char"39F'},{label:"<i>&pi;</i>",class:"MLK__tex hide-shift",insert:"\\pi",aside:"pi",shift:"\\Pi"}],["[separator-5]",{label:"<i>&alpha;</i>",class:"MLK__tex hide-shift",insert:"\\alpha",aside:"alpha",shift:'\\char"391'},{label:"<i>&sigma;</i>",class:"MLK__tex hide-shift",insert:"\\sigma",aside:"sigma",shift:"\\Sigma"},{label:"<i>&delta;</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>&gamma;</i>",class:"MLK__tex hide-shift",insert:"\\gamma",aside:"gamma",shift:"\\Gamma"},{label:"<i>&eta;</i>",class:"MLK__tex hide-shift",insert:"\\eta",aside:"eta",shift:'\\char"397'},{label:"<i>&xi;</i>",class:"MLK__tex hide-shift",insert:"\\xi",aside:"xi",shift:"\\Xi"},{label:"<i>&kappa;</i>",class:"MLK__tex hide-shift",insert:"\\kappa",aside:"kappa",shift:"\\Kappa"},{label:"<i>&lambda;</i>",class:"MLK__tex hide-shift",insert:"\\lambda",aside:"lambda",shift:"\\Lambda"},"[separator-5]"],["[shift]",{label:"<i>&zeta;</i>",class:"MLK__tex hide-shift",insert:"\\zeta",aside:"zeta",shift:'\\char"396'},{label:"<i>&chi;</i>",class:"MLK__tex hide-shift",insert:"\\chi",aside:"chi",shift:'\\char"3A7'},{label:"<i>&psi;</i>",class:"MLK__tex hide-shift",insert:"\\psi",aside:"zeta",shift:"\\Psi"},{label:"<i>&omega;</i>",class:"MLK__tex hide-shift",insert:"\\omega",aside:"omega",shift:"\\Omega"},{label:"<i>&beta;</i>",class:"MLK__tex hide-shift",insert:"\\beta",aside:"beta",shift:'\\char"392'},{label:"<i>&nu;</i>",class:"MLK__tex hide-shift",insert:"\\nu",aside:"nu",shift:'\\char"39D'},{label:"<i>&mu;</i>",class:"MLK__tex hide-shift",insert:"\\mu",aside:"mu",shift:'\\char"39C'},"[backspace]"],["[separator]",{label:"<i>&#x03b5;</i>",class:"MLK__tex",insert:"\\varepsilon",aside:"espilon var."},{label:"<i>&#x03d1;</i>",class:"MLK__tex",insert:"\\vartheta",aside:"theta var."},{label:"<i>&#x3f0;</i>",class:"MLK__tex",insert:"\\varkappa",aside:"kappa var."},{label:"<i>&#x03d6;</i>",class:"MLK__tex",insert:"\\varpi",aside:"pi var."},{label:"<i>&#x03f1;</i>",class:"MLK__tex",insert:"\\varrho",aside:"rho var."},"[left]","[right]","[action]"]]},symbols:{label:"&infin;\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]"]]}},Lf={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"}]},Hd;function Ap(a,y){var b,z,ue;const Pe=uu.singleton;if(!Pe)return;const Ke=nd(a),tt=(z=(b=Pe.getKeycap(Ke==null?void 0:Ke.id))==null?void 0:b.variants)!=null?z:"";if(typeof tt=="string"&&!Mp(tt)||Array.isArray(tt)&&tt.length===0){y==null||y();return}const ct={};let ht="";for(const Cr of hv(tt)){const ui=Tp(Cr),xr=Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);ct[xr]=ui;const[Gr,vi]=Pf(ui);ht+=`<div id=${xr} class="item ${vi}">${Gr}</div>`}const bt=document.createElement("div");bt.setAttribute("aria-hidden","true"),bt.className="MLK__variant-panel",bt.style.height="auto";const Bt=Object.keys(ct).length;let Gt=5;Bt===1?Gt=1:Bt===2||Bt===4?Gt=2:Bt===3||Bt===5||Bt===6?Gt=3:Bt>=7&&Bt<14&&(Gt=4),bt.style.width=`calc(var(--variant-keycap-length) * ${Gt} + 12px)`,bt.innerHTML=ym.createHTML(ht),Tc.open({root:(ue=Pe==null?void 0:Pe.container)==null?void 0:ue.querySelector(".ML__keyboard"),child:bt}),Hd=new AbortController;const{signal:hn}=Hd,xn=a==null?void 0:a.getBoundingClientRect();if(xn){xn.top-bt.clientHeight<0&&(bt.style.width="auto",Bt<=6?bt.style.height="56px":Bt<=12?bt.style.height="108px":Bt<=18?bt.style.height="205px":bt.classList.add("compact"));const Cr=Math.max(0,Math.min(window.innerWidth-bt.offsetWidth,(xn.left+xn.right-bt.offsetWidth)/2)),ui=xn.top-bt.clientHeight+5;bt.style.transform=`translate(${Cr}px, ${ui}px)`,bt.classList.add("is-visible"),requestAnimationFrame(()=>{bt.addEventListener("pointerup",xr=>{const Gr=nd(xr.target);!(Gr!=null&&Gr.id)||!ct[Gr.id]||(Ah(ct[Gr.id]),Wd(),y==null||y(),xr.preventDefault())},{capture:!0,passive:!1,signal:hn}),bt.addEventListener("pointerenter",xr=>{const Gr=nd(xr.target);!(Gr!=null&&Gr.id)||!ct[Gr.id]||Gr.classList.add("is-active")},{capture:!0,signal:hn}),bt.addEventListener("pointerleave",xr=>{const Gr=nd(xr.target);!(Gr!=null&&Gr.id)||!ct[Gr.id]||Gr.classList.remove("is-active")},{capture:!0,signal:hn}),window.addEventListener("pointercancel",()=>{Wd(),y==null||y()},{signal:hn}),window.addEventListener("pointerup",()=>{Wd(),y==null||y()},{signal:hn})})}}function Wd(){Hd==null||Hd.abort(),Hd=null,Tc.state==="open"&&Tc.close()}function fv(a){if(a==="foreground-color"){const y=[];for(const b of Object.keys(ke))y.push({class:"swatch-button",label:'<span style="border: 3px solid '+ke[b]+'"></span>',command:["applyStyle",{color:b}]});return y}if(a==="background-color"){const y=[];for(const b of Object.keys(Fe))y.push({class:"swatch-button",label:'<span style="background:'+Fe[b]+'"></span>',command:["applyStyle",{backgroundColor:b}]});return y}}function Mp(a){return Lf[a]!==void 0}function hv(a){var y;return typeof a!="string"?a:(Lf[a]||(Lf[a]=(y=fv(a))!=null?y:[]),Lf[a])}function pv(a){return typeof a=="string"?a:Object.entries(a).map(([y,b])=>`${y}:${b} !important`).join(";")}function mv(a){return Object.keys(a).map(y=>`${y} {${pv(a[y])}}`).join("")}function Ud(a){if(!a)return"";const y=new Po,b=new Br({mode:"math",type:"root",body:ul(a,{context:y,args:ue=>ue==="@"?"{\\class{ML__box-placeholder}{\\blacksquare}}":"\\placeholder{}"})}),z=Ku(Rd(new hi(b.render(y),{classes:"ML__base"}),y));return zu(z,{classes:"ML__latex"}).toMarkup()}function Vd(a){var y;if(Array.isArray(a))return a.map(z=>Vd(z)).flat();const b=typeof a=="string"?{markup:a}:a;return"rows"in b&&Array.isArray(b.rows)&&(b.rows=b.rows.map(z=>z.map(ue=>Tp(ue)))),(y=b.id)!=null||(b.id="ML__layer_"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36)),[b]}function vv(){var a,y;let z=window.mathVirtualKeyboard.alphabeticLayout;if(z==="auto"){const tt=jd();tt&&(z=tt.virtualLayout),(!z||z==="auto")&&(z=(a={fr:"azerty",be:"azerty",al:"qwertz",ba:"qwertz",cz:"qwertz",de:"qwertz",hu:"qwertz",sk:"qwertz",ch:"qwertz"}[ge.locale.slice(0,2)])!=null?a:"qwerty")}const ue={qwerty:["qwertyuiop"," asdfghjkl ","^zxcvbnm~"],azerty:["azertyuiop","qsdfghjklm","^ wxcvbn ~"],qwertz:["qwertzuiop"," asdfghjkl ","^yxcvbnm~"],dvorak:["^ pyfgcrl ","aoeuidhtns","qjkxbmwvz~"],colemak:[" qwfpgjluy ","arstdhneio","^zxcvbkm~"]},Pe=(y=ue[z])!=null?y:ue.qwerty,Ke=z==="azerty"?[[{label:"1",variants:"1"},{label:"2",shift:{latex:"\xE9"},variants:"2"},{label:"3",shift:{latex:"\xF9"},variants:"3"},{label:"4",variants:"4"},{label:"5",shift:{label:"(",latex:"("},variants:"5"},{label:"6",shift:{label:")",latex:")"},variants:"6"},{label:"7",shift:{latex:"\xE8"},variants:"7"},{label:"8",shift:{latex:"\xEA"},variants:"8"},{label:"9",shift:{latex:"\xE7"},variants:"9"},{label:"0",shift:{latex:"\xE0"},variants:"0"}]]:[[{label:"1",variants:"1"},{label:"2",variants:"2"},{label:"3",variants:"3"},{label:"4",variants:"4"},{label:"5",shift:{latex:"\\frac{#@}{#?}"},variants:"5"},{label:"6",shift:{latex:"#@^#?"},variants:"6"},{label:"7",variants:"7"},{label:"8",shift:{latex:"\\times"},variants:"8"},{label:"9",shift:{label:"(",latex:"("},variants:"9"},{label:"0",shift:{label:")",latex:")"},variants:"0"}]];for(const tt of Pe){const ct=[];for(const ht of tt)/[a-z]/.test(ht)?ct.push({label:ht,class:"hide-shift",shift:{label:ht.toUpperCase()},variants:Mp(ht)?ht:void 0}):ht==="~"?z!=="dvorak"?ct.push("[backspace]"):ct.push({label:"[backspace]",width:1}):ht==="^"?ct.push("[shift]"):ht===" "&&ct.push("[separator-5]");Ke.push(ct)}return Ke.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:Vd({rows:Ke})}}function kp(a){if(a==="alphabetic")return vv();if(typeof a=="string")return console.assert(Ep[a]!==void 0,`MathLive 0.98.5: unknown keyboard layout "${a}"`),kp(Ep[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 ue=a,{rows:Pe}=ue,Ke=he(ue,["rows"]);y=ne(ae({},Ke),{layers:Vd({rows:a.rows})})}else if("markup"in a&&typeof a.markup=="string"){const ue=a,{markup:Pe}=ue,Ke=he(ue,["markup"]);y=ne(ae({},Ke),{layers:Vd(a.markup)})}else y=ae({},a),"layers"in a?y.layers=Vd(a.layers):console.error('MathLive 0.98.5: provide either a "rows", "markup" or "layers" property');let b=!1,z=!1;for(const ue of y.layers)if(ue.rows)for(const Pe of ue.rows.flat()){rd(Pe)&&(b=!0);const Ke=Pe.command;typeof Ke=="string"&&["undo","redo","cut","copy","paste"].includes(Ke)&&(z=!0)}return(!("displayShiftedKeycaps"in a)||a.displayShiftedKeycaps===void 0)&&(y.displayShiftedKeycaps=b),(!("displayEditToolbar"in a)||a.displayEditToolbar===void 0)&&(y.displayEditToolbar=!z),y}function gv(a,y){var b,z;let ue='<div class="left">';if(a.normalizedLayouts.length>1)for(const[Pe,Ke]of a.normalizedLayouts.entries()){const tt=Ke,ct=[Pe===y?"selected":"layer-switch"];tt.tooltip&&ct.push("MLK__tooltip"),tt.labelClass&&ct.push(...tt.labelClass.split(" ")),ue+=`<div class="${ct.join(" ")}"`,tt.tooltip&&(ue+=" data-tooltip='"+((b=Me(tt.tooltip))!=null?b:tt.tooltip)+"' "),Pe!==y&&(ue+=`data-layer="${tt.layers[0].id}"`),ue+=`>${(z=tt.label)!=null?z:"untitled"}</div>`}return ue+="</div>",ue}function yv(a,y){let b="";if(a.editToolbar==="none")return"";const ue=[];y.selectionIsCollapsed?ue.push("undo","redo","pasteFromClipboard"):ue.push("cutToClipboard","copyToClipboard","pasteFromClipboard");const Pe={undo:`<div class='action ${y.canUndo===!1?"disabled":""}'
data-command='"undo"'
data-tooltip='${Me("tooltip.undo")}'>
<svg><use xlink:href='#svg-undo' /></svg>
</div>`,redo:`<div class='action ${y.canRedo===!1?"disabled":""}'
data-command='"redo"'
data-tooltip='${Me("tooltip.redo")}'>
<svg><use xlink:href='#svg-redo' /></svg>
</div>`,cutToClipboard:`
<div class='action'
data-command='"cutToClipboard"'
data-tooltip='${Me("tooltip.cut to clipboard")}'>
<svg><use xlink:href='#svg-cut' /></svg>
</div>
`,copyToClipboard:`
<div class='action'
data-command='"copyToClipboard"'
data-tooltip='${Me("tooltip.copy to clipboard")}'>
<svg><use xlink:href='#svg-copy' /></svg>
</div>
`,pasteFromClipboard:`
<div class='action'
data-command='"pasteFromClipboard"'
data-tooltip='${Me("tooltip.paste from clipboard")}'>
<svg><use xlink:href='#svg-paste' /></svg>
</div>
`};return b+=ue.map(Ke=>Pe[Ke]).join(""),b}function bv(a){for(const y of a)xv(y)}function xv(a){const y=uu.singleton;if(!y)return;const b={};if(!a.id){if(a.hasAttribute("data-label")&&(b.label=a.dataset.label),a.hasAttribute("data-latex")&&(b.latex=a.dataset.latex),a.hasAttribute("data-key")&&(b.key=a.dataset.key),a.hasAttribute("data-insert")&&(b.insert=a.dataset.insert),a.hasAttribute("data-variants")&&(b.variants=a.dataset.variants),a.hasAttribute("data-aside")&&(b.aside=a.dataset.aside),a.className&&(b.class=a.className),!b.label&&!b.latex&&!b.key&&!b.insert&&(b.latex=a.innerText,b.label=a.innerHTML),a.hasAttribute("data-command"))try{b.command=JSON.parse(a.dataset.command)}catch(z){}a.id=y.registerKeycap(b)}if(!a.innerHTML){const[z,ue]=Pf(b);a.innerHTML=window.MathfieldElement.createHTML(z)}}function wv(){jl("virtual-keyboard"),jl("core"),Of()}function Sv(){E("core"),E("virtual-keyboard")}var Cv=`<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 Ev(a){a.resetKeycapRegistry(),wv();const y=document.createElement("div");y.className="ML__keyboard";const b=document.createElement("div");b.className="MLK__plate",b.innerHTML=window.MathfieldElement.createHTML(Cv+a.normalizedLayouts.map((Ke,tt)=>Av(a,Ke,tt)).join(""));const z=document.createElement("div");z.className="MLK__backdrop",z.appendChild(b),y.appendChild(z),y.addEventListener("pointerdown",kv,{passive:!1});const ue=y.querySelectorAll(".ML__edit-toolbar");if(ue)for(const Ke of ue)Ke.addEventListener("click",tt=>{var ct,ht;let bt=tt.target,Bt="";for(;bt&&!Bt;)Bt=(ct=bt==null?void 0:bt.getAttribute("data-command"))!=null?ct:"",bt=(ht=bt==null?void 0:bt.parentElement)!=null?ht:null;Bt&&a.executeCommand(JSON.parse(Bt))});bv(y.querySelectorAll(".MLK__keycap, .action, .fnbutton, .bigfnbutton"));const Pe=y.querySelectorAll(".MLK__layer");console.assert(Pe.length>0,"No virtual keyboards available");for(const Ke of Pe)Ke.addEventListener("pointerdown",tt=>tt.preventDefault());return a.currentLayer=a.latentLayer,y}function Av(a,y,b){const z=[];if(!("layers"in y))return"";for(const ue of y.layers)z.push(`<div tabindex="-1" class="MLK__layer" id="${ue.id}">`),(a.normalizedLayouts.length>1||y.displayEditToolbar)&&(z.push("<div class='MLK__toolbar' role='toolbar'>"),z.push(gv(a,b)),y.displayEditToolbar&&z.push('<div class="ML__edit-toolbar right"></div>'),z.push("</div>")),z.push(Mv(a,ue)),z.push("</div>");return z.join("")}function Mv(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>${mv(y.style)}</style>`),y.backdrop&&(b+=`<div class='${y.backdrop}'>`),y.container&&(b+=`<div class='${y.container}'>`),y.rows){b+="<div class=MLK__rows>";for(const z of y.rows){b+="<div dir='ltr' class=MLK__row>";for(const ue of z)if(ue){const Pe=a.registerKeycap(ue),[Ke,tt]=Pf(ue);/(^|\s)separator/.test(tt)?b+=`<div class="${tt}"`:b+=`<div tabindex="-1" id="${Pe}" class="${tt}"`,ue.tooltip&&(b+=` data-tooltip="${ue.tooltip}"`),b+=`>${Ke}</div>`}b+="</div>"}b+="</div>"}else y.markup&&(b+=y.markup);return y.container&&(b+="</div>"),y.backdrop&&(b+="</div>"),b}function Pf(a,y={shifted:!1}){var b,z,ue,Pe,Ke,tt,ct;let ht="",bt=(b=a.class)!=null?b:"";if(y.shifted&&rd(a)&&(bt+=" is-active"),y.shifted&&"shift"in a)typeof a.shift=="string"?ht=Ud(a.shift):typeof a.shift=="object"&&(ht=a.shift.label?a.shift.label:(z=Ud(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?z:""),typeof a.shift=="object"&&(bt=(Pe=(ue=a.shift.class)!=null?ue:a.class)!=null?Pe:"");else{if(ht=a.label?a.label:(Ke=Ud(a.latex||a.insert||"")||a.key)!=null?Ke:"",a.shift){let Bt;typeof a.shift=="string"?Bt=Ud(a.shift):a.shift.label?Bt=a.shift.label:Bt=(tt=Ud(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?tt:"",ht+=`<span class="MLK__shift">${Bt}</span>`}a.aside&&(ht+=`<aside>${a.aside}</aside>`)}return a.layer&&!/layer-switch/.test(bt)&&(bt+=" layer-switch"),/(^|\s)(separator|action|shift|fnbutton|bigfnbutton)($|\s)/.test(bt)||(bt+=" MLK__keycap"),!/\bw[0-9]+\b/.test(bt)&&a.width&&(bt+=(ct={0:" w0",.5:" w5",1.5:" w15",2:" w20",5:" w50"}[a.width])!=null?ct:""),[ht,bt||"MLK__keycap"]}var Ou={"[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:"&#x2212;",shift:"\\pm",class:"big-op hide-shift"},"[/]":{class:"big-op hide-shift",shift:{class:"",latex:"\\frac{1}{#@}"},variants:["/","\\div","\\%","\\oslash"],latex:"\\frac{#@}{#?}",label:"&divide;"},"[*]":{variants:[{latex:"\\prod_{#0}^{#0}",class:"small"},"\\otimes","\\cdot"],latex:"\\cdot",label:"&times;",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 Tp(a){var y;if(typeof a=="string"){if(a==="[.]"&&window.MathfieldElement.decimalSeparator===","&&(a="[,]"),!Ou[a])return{latex:a};a={label:a}}let b;return"label"in a&&a.label&&Ou[a.label]&&(b=ne(ae(ae({},Ou[a.label]),a),{label:Ou[a.label].label})),"key"in a&&a.key&&Ou[a.key]&&(b=ne(ae(ae({},Ou[a.key]),a),{key:Ou[a.key].key})),b?(b.command==="insertDecimalSeparator"&&(b.label=(y=window.MathfieldElement.decimalSeparator)!=null?y:"."),a.label==="[action]"&&(b=ae(ae({},b),window.mathVirtualKeyboard.actionKeycap)),a.label==="[shift]"&&(b=ae(ae({},b),window.mathVirtualKeyboard.shiftKeycap)),a.label==="[backspace]"&&(b=ae(ae({},b),window.mathVirtualKeyboard.backspaceKeycap)),a.label==="[tab]"&&(b=ae(ae({},b),window.mathVirtualKeyboard.tabKeycap)),b):a}var Zd;function kv(a){var y;if(a.button!==0)return;const b=uu.singleton;if(!b)return;let z=a.target;for(;z&&!z.getAttribute("data-layer");)z=z.parentElement;if(z){b.currentLayer=(y=z.getAttribute("data-layer"))!=null?y:"",a.preventDefault();return}const ue=nd(a.target);if(!(ue!=null&&ue.id))return;const Pe=b.getKeycap(ue.id);if(!Pe)return;console.assert(a.type==="pointerdown");const Ke=new AbortController,tt=Ke.signal;ue.classList.add("is-pressed"),ue.addEventListener("pointerenter",Nf(Ke),{capture:!0,signal:tt}),ue.addEventListener("pointerleave",Nf(Ke),{capture:!0,signal:tt}),ue.addEventListener("pointercancel",Nf(Ke),{signal:tt}),ue.addEventListener("pointerup",Nf(Ke),{signal:tt}),rd(Pe)&&(ue.classList.add("is-active"),b.shiftPressCount++),Pe.variants&&(Zd&&clearTimeout(Zd),Zd=setTimeout(()=>{ue.classList.contains("is-pressed")&&(ue.classList.remove("is-pressed"),ue.classList.add("is-active"),a.target&&"releasePointerCapture"in a.target&&a.target.releasePointerCapture(a.pointerId),Ap(ue,()=>{Ke.abort(),ue==null||ue.classList.remove("is-active")}))},300)),a.preventDefault()}function Nf(a){return y=>{const b=nd(y.target);if(!(b!=null&&b.id))return;const z=uu.singleton;if(!z)return;const ue=z.getKeycap(b.id);if(ue){if(y.type==="pointerenter"&&y.target===b&&y.isPrimary&&b.classList.add("is-pressed"),y.type==="pointercancel"){b.classList.remove("is-pressed"),rd(ue)&&(z.shiftPressCount--,b.classList.toggle("is-active",z.isShifted)),a.abort();return}if(y.type==="pointerleave"&&y.target===b){b.classList.remove("is-pressed"),rd(ue)&&(z.shiftPressCount--,b.classList.toggle("is-active",z.isShifted));return}if(y.type==="pointerup"){Zd&&clearTimeout(Zd),rd(ue)?b.classList.toggle("is-active",z.isShifted):b.classList.contains("is-pressed")&&(b.classList.remove("is-pressed"),z.isShifted&&ue.shift?typeof ue.shift=="string"?z.executeCommand(["insert",ue.shift,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]):Ah(ue.shift):Ah(ue),z.shiftPressCount===1&&!y.shiftKey&&(z.shiftPressCount=0)),a.abort(),y.preventDefault();return}}}}function Ah(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=uu.singleton)==null||y.executeCommand(b)}function Tv(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 nd(a){if(!a)return;let y=a;for(;y&&!Tv(y);)y=y.parentElement;return y!=null?y:void 0}function rd(a){return!!a.class&&/(^|\s)shift($|\s)/.test(a.class)}var uu=class n0{constructor(){this.originalContainerBottomPadding=null,this.keycapRegistry={},this._shiftPressCount=0;var y,b,z;this.targetOrigin=window.origin,this.originValidator="none",this._alphabeticLayout="auto",this._layouts=Object.freeze(["default"]),this._editToolbar="default",this._container=(b=(y=window.document)==null?void 0:y.body)!=null?b:null,this._visible=!1,this._rebuilding=!1,this.observer=new ResizeObserver(ue=>{this.adjustBoundingRect(),this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect})}),this.listeners={};try{(z=window.top)==null||z.addEventListener("message",this)}catch(ue){window.addEventListener("message",this)}document.body.addEventListener("focusin",ue=>{const Pe=ue.target;Pe!=null&&Pe.isConnected&&setTimeout(()=>{const Ke=Op();Ke&&!Ke.readOnly&&Ke.mathVirtualKeyboardPolicy==="auto"&&fe()&&this.show({animate:!0})},300)}),document.addEventListener("focusout",ue=>{ue.target.mathVirtualKeyboardPolicy!=="manual"&&setTimeout(()=>{Op()||this.hide()},300)})}get currentLayer(){var y,b,z;return(z=(b=(y=this._element)==null?void 0:y.querySelector(".MLK__layer.is-visible"))==null?void 0:b.id)!=null?z:""}set currentLayer(y){var b;if(!this._element){this.latentLayer=y;return}let z=y?this._element.querySelector(`#${y}.MLK__layer`):null;z||(z=this._element.querySelector(".MLK__layer")),z&&((b=this._element.querySelector(".MLK__layer.is-visible"))==null||b.classList.remove("is-visible"),z.classList.add("is-visible")),this.render()}get shiftPressCount(){return this._shiftPressCount}set shiftPressCount(y){var b;this._shiftPressCount=y>2||y<0?0:y,(b=this._element)==null||b.classList.toggle("is-caps-lock",this.shiftPressCount===2),this.render()}get isShifted(){return this._shiftPressCount>0}resetKeycapRegistry(){this.keycapRegistry={}}registerKeycap(y){const b="ML__k"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);return this.keycapRegistry[b]=y,b}getKeycap(y){return y?this.keycapRegistry[y]:void 0}getLayer(y){const b=this.normalizedLayouts;for(const z of b)for(const ue of z.layers)if(ue.id===y)return ue}get alphabeticLayout(){return this._alphabeticLayout}set alphabeticLayout(y){this._alphabeticLayout=y,this.rebuild()}get actionKeycap(){return this._actionKeycap}set actionKeycap(y){this._actionKeycap=typeof y=="string"?{label:y}:y}get shiftKeycap(){return this._shiftKeycap}set shiftKeycap(y){this._shiftKeycap=typeof y=="string"?{label:y}:y}get backspaceKeycap(){return this._backspaceKeycap}set backspaceKeycap(y){this._backspaceKeycap=typeof y=="string"?{label:y}:y}get tabKeycap(){return this._tabKeycap}set tabKeycap(y){this._tabKeycap=typeof y=="string"?{label:y}:y}get layouts(){return this._layouts}set layouts(y){this.updateNormalizedLayouts(y),this.rebuild()}updateNormalizedLayouts(y){const b=Array.isArray(y)?[...y]:[y],z=b.findIndex(ue=>ue==="default");z>=0&&b.splice(z,1,"numeric","symbols","alphabetic","greek"),this._layouts=Object.freeze(b),this._normalizedLayouts=b.map(ue=>kp(ue))}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 n0}catch(y){this._singleton=null}return this._singleton}get style(){return this._style}addEventListener(y,b,z){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,z){this.listeners[y]&&this.listeners[y].delete(b)}get element(){return this._element}set element(y){var b;this._element!==y&&((b=this._element)==null||b.remove(),this._element=y)}get visible(){return this._visible}set visible(y){y?this.show():this.hide()}get boundingRect(){var y;if(!this._visible)return new DOMRect;const b=(y=this._element)==null?void 0:y.getElementsByClassName("MLK__plate")[0];return b?b.getBoundingClientRect():new DOMRect}adjustBoundingRect(){var y,b;const z=this.boundingRect.height;if(this.container===document.body){(y=this._element)==null||y.style.setProperty("--_keyboard-height",`calc(${z}px + var(--_padding-top) + var(--_padding-bottom) + env(safe-area-inset-bottom, 0))`);const ue=z-1;this.container.style.paddingBottom=this.originalContainerBottomPadding?`calc(${this.originalContainerBottomPadding} + ${ue}px)`:`${ue}px`}else(b=this._element)==null||b.style.setProperty("--_keyboard-height",`${z}px`)}rebuild(){if(this._rebuilding||!this._element)return;this._rebuilding=!0;const y=this.currentLayer;requestAnimationFrame(()=>{this._rebuilding=!1,this._element&&(this._element.remove(),this._element=void 0),this.visible&&(this.buildAndAttachElement(),this.currentLayer=y,this.render(),this.adjustBoundingRect(),this._element.classList.add("is-visible"))})}render(){if(!this._element)return;const y=this.getLayer(this.currentLayer);this._element.classList.toggle("backdrop-is-transparent",!!(y&&(y.backdrop||y.container)));const b=this._element.querySelectorAll(".MLK__layer.is-visible .MLK__keycap, .MLK__layer.is-visible .action, .fnbutton, .MLK__layer.is-visible .bigfnbutton, .MLK__layer.is-visible .shift");if(b)for(const z of b){const ue=this.getKeycap(z.id);if(ue){const[Pe,Ke]=Pf(ue,{shifted:this.isShifted});z.innerHTML=window.MathfieldElement.createHTML(Pe),z.className=Ke}}}show(y){var b;if(this._visible)return;const z=this.container;if(z&&window.mathVirtualKeyboard&&this.stateWillChange(!0)){if(this._element||(this.buildAndAttachElement(),this.adjustBoundingRect()),!this._visible){const ue=this._element.getElementsByClassName("MLK__plate")[0];if(ue&&this.observer.observe(ue),z===window.document.body){const Pe=z.style.paddingBottom;this.originalContainerBottomPadding=Pe;const Ke=ue.offsetHeight-1;z.style.paddingBottom=Pe?`calc(${Pe} + ${Ke}px)`:`${Ke}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 ue;return(ue=this._element)==null?void 0:ue.classList.remove("animate")},{once:!0}),this._element.classList.add("is-visible"),this.stateChanged())}):(this._element.classList.add("is-visible"),this.stateChanged())}}hide(y){var b;const z=this.container;if(z&&this._visible&&this.stateWillChange(!1)){if(this._visible=!1,this._element){this.latentLayer=this.currentLayer;const ue=this._element.getElementsByClassName("MLK__plate")[0];ue&&this.observer.unobserve(ue),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}),Wd(),Sv(),(b=this._element)==null||b.remove(),this._element=void 0,this.originalContainerBottomPadding!==null&&(z.style.paddingBottom=this.originalContainerBottomPadding)}this.stateChanged()}}get height(){var y,b;return(b=(y=this.element)==null?void 0:y.offsetHeight)!=null?b:0}buildAndAttachElement(){var y;console.assert(!this.element),this.element=Ev(this),window.addEventListener("contextmenu",this,{capture:!0}),this.element.addEventListener("contextmenu",b=>{b.shiftKey||((b.ctrlKey||b.button===2)&&Ap(b.target),b.preventDefault(),b.stopPropagation())},{capture:!0}),(y=this.container)==null||y.appendChild(this.element)}handleEvent(y){if(Eh(y)){if(!Dd(y.origin,this.originValidator))throw new DOMException(`Message from unknown origin (${y.origin}) cannot be handled`,"SecurityError");y.data.action==="disconnect"?this.connectedMathfieldWindow=void 0:y.data.action!=="update-setting"&&y.data.action!=="proxy-created"&&y.data.action!=="execute-command"&&(console.assert(y.source!==void 0),this.connectedMathfieldWindow=y.source),this.handleMessage(y.data,y.source)}if(this._element)switch(y.type){case"mouseup":case"blur":document.body.style.userSelect="",this.shiftPressCount=0;break;case"contextmenu":y.button!==2&&y.preventDefault();break;case"keydown":{y.key==="Shift"&&!y.repeat&&(this.shiftPressCount=1);break}case"keyup":{(y.key==="Shift"||!y.getModifierState("Shift")&&this.shiftPressCount!==2)&&(this.shiftPressCount=0);break}}}handleMessage(y,b){const{action:z}=y;if(z==="execute-command"){const{command:ue}=y,Pe=td(ue);if(window.top!==void 0&&Pe!=="virtual-keyboard")return;this.executeCommand(ue);return}if((z==="connect"||z==="show")&&this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b),z!=="disconnect"&&window===window.top){if(z==="show"){typeof y.animate!="undefined"?this.show({animate:y.animate}):this.show();return}if(z==="hide"){typeof y.animate!="undefined"?this.hide({animate:y.animate}):this.hide();return}if(z==="update-setting"){y.alphabeticLayout&&(this.alphabeticLayout=y.alphabeticLayout),y.layouts&&(this.layouts=y.layouts),y.editToolbar&&(this.editToolbar=y.editToolbar);return}if(z==="proxy-created"){this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b);return}}}sendMessage(y,b,z){if(z||(z=this.connectedMathfieldWindow),this.targetOrigin===null||this.targetOrigin==="null"||z===window){window.dispatchEvent(new MessageEvent("message",{source:window,data:ae({type:If,action:y},b)}));return}if(z)z.postMessage(ae({type:If,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 ue=b.command[1].split("");for(const Pe of ue)this.dispatchEvent(new KeyboardEvent("keydown",{key:Pe,bubbles:!0})),this.dispatchEvent(new KeyboardEvent("keyup",{key:Pe,bubbles:!0}))}}stateWillChange(y){return this.dispatchEvent(new CustomEvent("before-virtual-keyboard-toggle",{detail:{visible:y},bubbles:!0,cancelable:!0,composed:!0}))}stateChanged(){this.dispatchEvent(new Event("virtual-keyboard-toggle")),this._visible||(this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect}))}focus(){this.sendMessage("focus",{})}blur(){this.sendMessage("blur",{})}updateToolbar(y){const b=this._element;if(!b)return;b.classList.toggle("is-math-mode",y.mode==="math"),b.classList.toggle("is-text-mode",y.mode==="text"),b.classList.toggle("can-undo",y.canUndo),b.classList.toggle("can-redo",y.canRedo),b.classList.toggle("can-copy",!y.selectionIsCollapsed),b.classList.toggle("can-copy",!y.selectionIsCollapsed),b.classList.toggle("can-paste",!0);const z=b.querySelectorAll(".ML__edit-toolbar");if(z)for(const ue of z)ue.innerHTML=yv(this,y)}update(y){this._style=y.style,this.updateToolbar(y)}connect(){this.connectedMathfieldWindow=window}disconnect(){this.connectedMathfieldWindow=void 0}executeCommand(y){let b,z=[],ue=td(y);return re(y)?(b=y[0],b==="performWithFeedback"&&(y=y.slice(1),ue=td(y)),z=y.slice(1)):b=y,b=b.replace(/-\w/g,Pe=>Pe[1].toUpperCase()),ue==="virtual-keyboard"?Oc[b].fn(void 0,...z):(this.sendMessage("execute-command",{command:y}),!1)}dispose(){window.removeEventListener("mouseup",this),window.removeEventListener("blur",this),window.removeEventListener("message",this)}};function Op(){var a,y;let b=Ef(),z=null;for(;b;){if("host"in b&&((y=(a=b.host)==null?void 0:a.tagName)==null?void 0:y.toLowerCase())==="math-field"){z=b.host;break}b=b.parentNode}return z}if(ce()&&!("mathVirtualKeyboard"in window))if(window===window.top){const a=uu.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>a})}else Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>dv.singleton,configurable:!0});function Rf(a){const y={};for(const b of Object.keys(a))switch(b){case"scriptDepth":const z=a.scriptDepth;if(re(z))y.scriptDepth=[z[0],z[1]];else if(typeof z=="number")y.scriptDepth=[z,z];else if(typeof z=="string"){const[Pe,Ke]=z.split(",").map(tt=>parseInt(tt.trim()));y.scriptDepth=[Pe,Ke]}else throw new TypeError("Unexpected value for scriptDepth");break;case"mathVirtualKeyboardPolicy":let ue=a.mathVirtualKeyboardPolicy.toLowerCase();if(ue==="sandboxed"){if(window!==window.top){const Pe=uu.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>Pe})}ue="manual"}y.mathVirtualKeyboardPolicy=ue;break;case"letterShapeStyle":a.letterShapeStyle==="auto"?ge.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=Pt(a.macros);break;default:re(a[b])?y[b]=[...a[b]]:typeof a[b]=="object"&&!(a[b]instanceof Element)&&b!=="computeEngine"?y[b]=ae({},a[b]):y[b]=a[b]}return y}function Du(a,y){let b;typeof y=="string"?b=[y]:y===void 0?b=Object.keys(a):b=y;const z={};for(const ue of b)a[ue]===null?z[ue]=null:re(a[ue])?z[ue]=[...a[ue]]:typeof a[ue]=="object"&&!(a[ue]instanceof Element)&&ue!=="computeEngine"?z[ue]=ae({},a[ue]):z[ue]=a[ue];return typeof y=="string"?z[y]:z}function Bf(){return{readOnly:!1,defaultMode:"math",macros:{},registers:{},colorMap:De,backgroundColorMap:Be,letterShapeStyle:ge.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:ch,inlineShortcuts:hf,inlineShortcutTimeout:0,mathVirtualKeyboardPolicy:"auto",virtualKeyboardTargetOrigin:window==null?void 0:window.origin,originValidator:"none",onInlineShortcut:()=>"",onScrollIntoView:null,onExport:lh,value:""}}function Dp(a){return a.defaultMode==="inline-math"?"math":a.defaultMode}function du(a,y){!a||!y||(re(a)?a.forEach(b=>du(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),du(a.body,y),du(a.above,y),du(a.below,y),du(a.subscript,y),du(a.superscript,y)))}function Mh(a,y,b,z){function ue(Ke,tt){for(const ct of Pe)if(ct.style[Ke]!==tt)return!1;return!0}if(y=a.normalizeRange(y),y[0]===y[1])return!1;const Pe=a.getAtoms(y,{includeChildren:!0});z.operation==="toggle"&&(b.color&&ue("color",b.color)&&(b.color="none",delete b.verbatimColor),b.backgroundColor&&ue("backgroundColor",b.backgroundColor)&&(b.backgroundColor="none",delete b.verbatimBackgroundColor),b.fontFamily&&ue("fontFamily",b.fontFamily)&&(b.fontFamily="none"),b.fontSeries&&ue("fontSeries",b.fontSeries)&&(b.fontSeries="auto"),b.fontShape&&ue("fontShape",b.fontShape)&&(b.fontShape="auto"),b.fontSize&&ue("fontSize",b.fontSize)&&(b.fontSize=go),b.variant&&ue("variant",b.variant)&&(b.variant="normal"),b.variantStyle&&ue("variantStyle",b.variantStyle)&&(b.variantStyle=""));for(const Ke of Pe)Ke.applyStyle(b);return!0}function Ov(a,y){const b=a.at(a.position);if(b.type==="composition")b.value=y;else{const{caret:z}=b;b.caret=void 0;const ue=new Uc(y,{mode:b.mode});ue.caret=z,b.parent.addChildAfter(ue,b),a.position+=1}}function Dv(a){const y=a.at(a.position);y.type==="composition"&&(y.parent.removeChild(y),a.position-=1)}Wt(["math","displaymath"],nc),Wt("center",nc),Ft("displaylines","",{parse:a=>{const y=[];let b=[];a.beginContext({tabular:!0});do{if(a.end()||a.match("<}>"))break;a.matchColumnSeparator()||a.matchRowSeparator()?(y.push([b]),b=[]):b.push(...a.scan(z=>["<}>","&","\\cr","\\\\","\\tabularnewline"].includes(z)))}while(!0);return a.endContext(),y.push([b]),y},createAtom:a=>new co("lines",a.args,[],{leftDelim:".",rightDelim:".",columns:[{align:"l"}]})}),bn("array","{columns:colspec}",(a,y,b,z)=>new co(a,kh(y),b,{columns:z[0],mathstyleName:"textstyle"})),bn(["equation","equation*","subequations"],"",(a,y,b)=>new co(a,kh(y),b,{columns:[{align:"c"}]})),bn(["multline","multline*"],"",nc),bn(["align","align*","aligned","eqnarray"],"",nc),bn("split","",nc),bn(["gather","gathered"],"",nc),bn(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],"[columns:colspec]",nc),bn(["smallmatrix","smallmatrix*"],"[columns:colspec]",nc),bn(["cases","dcases","rcases"],"",nc);function Iv(a){for(const y of a)for(const b of y)if(b.length>0)return!1;return!0}function kh(a,y=1){return Iv(a)?Array(y).fill([[new Br({type:"first"}),new Wa]]):a.map(b=>b.length===0?[[new Br({type:"first"})]]:b.map(z=>z.length===0?[new Br({type:"first"})]:(z[0].type!=="first"&&z.unshift(new Br({type:"first"})),z)))}function nc(a,y=[[[]]],b=[],z=[]){switch(y=kh(y,["split","align","align*","aligned","eqnarray"].includes(a)?2:1),a){case"math":return new co(a,y,b,{mathstyleName:"textstyle"});case"displaymath":return new co(a,y,b,{mathstyleName:"textstyle"});case"center":return new co(a,y,b,{columns:[{align:"c"}]});case"multline":case"multline*":return new co(a,y,b,{columns:[{align:"m"}],leftDelim:".",rightDelim:"."});case"split":return new co(a,y,b,{columns:[{align:"r"},{align:"l"}],minColumns:2});case"gather":case"gathered":return new co(a,y,b,{columns:[{gap:.25},{align:"c"},{gap:0}]});case"pmatrix":case"pmatrix*":return new co(a,y,b,{mathstyleName:"textstyle",leftDelim:"(",rightDelim:")",columns:Iu(z[0])});case"bmatrix":case"bmatrix*":return new co(a,y,b,{mathstyleName:"textstyle",leftDelim:"[",rightDelim:"]",columns:Iu(z[0])});case"Bmatrix":case"Bmatrix*":return new co(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\lbrace",rightDelim:"\\rbrace",columns:Iu(z[0])});case"vmatrix":case"vmatrix*":return new co(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\vert",rightDelim:"\\vert",columns:Iu(z[0])});case"Vmatrix":case"Vmatrix*":return new co(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\Vert",rightDelim:"\\Vert",columns:Iu(z[0])});case"matrix":case"matrix*":return new co(a,y,b,{mathstyleName:"textstyle",leftDelim:".",rightDelim:".",columns:Iu(z==null?void 0:z[0])});case"smallmatrix":case"smallmatrix*":return new co(a,y,b,{mathstyleName:"scriptstyle",columns:Iu(z==null?void 0:z[0]),colSeparationType:"small",arraystretch:.5});case"cases":case"dcases":return new co(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 co(a,y,b,{arraystretch:1.2,leftDelim:".",rightDelim:"\\rbrace",columns:[{align:"l"},{gap:1},{align:"l"}]});case"lines":return new co(a,y,b,{leftDelim:".",rightDelim:".",columns:[{align:"l"}]});case"align":case"align*":case"aligned":case"eqnarray":{let ue=0;for(const tt of y)ue=Math.max(ue,tt.length);const Pe=[{gap:0},{align:"r"},{gap:.25},{align:"l"}];let Ke=2;for(;Ke<ue;)Pe.push({gap:1},{align:"r"},{gap:.25},{align:"l"}),Ke+=2;return Pe.push({gap:0}),new co(a,y,b,{arraycolsep:0,columns:Pe,minColumns:2})}}return new co(a,y,b,{mathstyleName:"textstyle"})}function Iu(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 Lv(a,y){let b=a.at(a.position);for(;b&&!(b.parent instanceof co);)b=b.parent;if(b&&b.type==="array"&&b.environmentName,!b||!(b.parent instanceof co)){const z=a.at(a.position);if(b=z,!b.parent.parent){let ue=a.extractAtoms([a.position,a.lastOffset]),Pe=a.extractAtoms([0,a.position]);Pe.length===0&&(Pe=jf()),ue.length===0&&(ue=jf());let Ke;return y.endsWith("column")?(Ke=nc("split",[[Pe,ue]]),a.root=Ke,Lu(Ke,0,0)?Pu(a,Ke,0,0):Lu(Ke,0,1)?Pu(a,Ke,0,1):a.position=a.offsetOf(z)):(Ke=nc("lines",[[Pe],[ue]]),a.root=Ke,Lu(Ke,0,0)?Pu(a,Ke,0,0):Lu(Ke,1,0)?Pu(a,Ke,1,0):a.position=a.offsetOf(z)),[void 0,[0,0]]}if(b.parent instanceof Uo){const ue=b.parent;let Pe=a.extractAtoms([a.position,a.offsetOf(ue.lastChild)]),Ke=a.extractAtoms([a.offsetOf(ue.firstChild),a.position]);Ke.length===0&&(Ke=jf()),Pe.length===0&&(Pe=jf());let tt="pmatrix";const ct=ue.leftDelim,ht=ue.rightDelim;ct==="("&&(ht===")"||ht==="?")?tt="pmatrix":(ct==="["||ct==="\\lbrack")&&(ht==="]"||ht==="\\rbrack"||ht==="?")?tt="bmatrix":ct==="\\vert"&&ht==="\\vert"?tt="vmatrix":ct==="\\Vert"&&ht==="\\Vert"?tt="Vmatrix":(ct==="{"||ct==="\\lbrace")&&(ht==="."||ht==="?")&&(tt="cases");const bt=nc(tt,y.endsWith("column")?[[Ke,Pe]]:[[Ke],[Pe]]);return ue.parent.addChildBefore(bt,ue),ue.parent.removeChild(ue),Lu(bt,0,0)?Pu(a,bt,0,0):y.endsWith("column")?Lu(bt,0,1)?Pu(a,bt,0,1):a.position=a.offsetOf(b):Lu(bt,1,0)?Pu(a,bt,1,0):a.position=a.offsetOf(b),[void 0,[0,0]]}}return b&&b.parent instanceof co?[b.parent,b.parentBranch]:[void 0,[0,0]]}function Lu(a,y,b){const z=a.getCell(y,b);return!z||z.length!==2?!1:z[1].type==="placeholder"}function Pv(a,y,b,z){const ue=y.getCell(b,z);return ue?[a.offsetOf(ue[0]),a.offsetOf(ue[ue.length-1])]:-1}function Pu(a,y,b,z){const ue=Pv(a,y,b,z);typeof ue!="number"&&a.setSelection(ue)}function _f(a,y,b,z,ue){const Pe=y.getCell(b,z);Pe&&a.setPositionHandlingPlaceholder(a.offsetOf(Pe[ue==="start"?0:Pe.length-1]))}function Ff(a,y){const[b,[z,ue]]=Lv(a,y);if(b)switch(y){case"after row":b.addRowAfter(z),_f(a,b,z+1,0,"end");break;case"after column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnAfter(ue),_f(a,b,z,ue+1,"end");break;case"before row":b.addRowBefore(z),_f(a,b,z,0,"start");break;case"before column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnBefore(ue),_f(a,b,z,ue,"start");break}}function Ip(a){return a.contentWillChange({inputType:"insertText"})?(Ff(a,"after row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Nv(a){return a.contentWillChange({inputType:"insertText"})?(Ff(a,"before row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Lp(a){return a.contentWillChange({inputType:"insertText"})?(Ff(a,"after column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Rv(a){return a.contentWillChange({inputType:"insertText"})?(Ff(a,"before column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Pp(a,y){if(!a.contentWillChange({}))return!1;a.mathfield.snapshot();let b=".",z=".";switch(y){case"pmatrix":case"pmatrix*":b="(",z=")";break;case"bmatrix":case"bmatrix*":b="[",z="]";break;case"Bmatrix":case"Bmatrix*":b="\\lbrace",z="\\rbrace";break;case"vmatrix":case"vmatrix*":b="\\vert",z="\\vert";break;case"Vmatrix":case"Vmatrix*":b="\\Vert",z="\\Vert";break;case"matrix":case"matrix*":b=".",z=".";break;case"cases":case"dcases":b="\\lbrace";break;case"rcases":z="\\rbrace";break}const ue=a.at(a.position),Pe=ue.type==="array"?ue:a.parentEnvironment;return Pe.environmentName=y,Pe.leftDelim=b,Pe.rightDelim=z,a.contentDidChange({}),!0}function Np(a,y){let b=a.at(a.position);for(;b&&!(Array.isArray(b.parentBranch)&&b.parent instanceof co);)b=b.parent;if(Array.isArray(b==null?void 0:b.parentBranch)&&(b==null?void 0:b.parent)instanceof co){const z=b.parent,ue=b.parentBranch;let Pe;switch(y){case"row":if(z.rowCount>1){z.removeRow(ue[0]);const Ke=z.getCell(Math.max(0,ue[0]-1),ue[1]);Pe=a.offsetOf(Ke[Ke.length-1])}break;case"column":if(z.colCount>z.minColumns){z.removeColumn(ue[1]);const Ke=z.getCell(ue[0],Math.max(0,ue[1]-1));Pe=a.offsetOf(Ke[Ke.length-1])}break}Pe&&a.setPositionHandlingPlaceholder(Pe)}}function Bv(a){return a.contentWillChange({inputType:"deleteContent"})?(Np(a,"row"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}function _v(a){return a.contentWillChange({inputType:"deleteContent"})?(Np(a,"column"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}Kl({addRowAfter:Ip,addColumnAfter:Lp,addRowBefore:Nv,addColumnBefore:Rv,removeRow:Bv,removeColumn:_v,setEnvironment:Pp},{target:"model",canUndo:!0,changeContent:!0,changeSelection:!0});function jf(){return[new Wa]}var Rp=class r0{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>r0.maximumDepth&&(this.stack.shift(),this.index-=1),this.lastOp=y!=null?y:"",!0):!1}};Rp.maximumDepth=1e3;var Fv=Rp;function Th(a,y,b){if(a.at(y).mode!=="text")return y;const z=b==="backward"?-1:1;let ue;if(je.test(a.at(y).value)){let Pe=y,Ke;do Ke=a.at(Pe).mode==="text"&&je.test(a.at(Pe).value),Pe+=z;while(a.at(Pe)&&Ke);ue=a.at(Pe)?Pe-2*z:Pe-z}else if(/\s/.test(a.at(y).value)){let Pe=y;for(;a.at(Pe)&&a.at(Pe).mode==="text"&&/\s/.test(a.at(Pe).value);)Pe+=z;if(!a.at(Pe))ue=Pe-z;else{let Ke=!0;do Ke=a.at(Pe).mode==="text"&&!/\s/.test(a.at(Pe).value),Pe+=z;while(a.at(Pe)&&Ke);ue=a.at(Pe)?Pe-2*z:Pe-z}}else{let Pe=y;for(;a.at(Pe)&&a.at(Pe).mode==="text"&&!/\s/.test(a.at(Pe).value);)Pe+=z;ue=a.at(Pe)?Pe:Pe-z;let Ke=!0;for(;a.at(Pe)&&Ke;)Ke=a.at(Pe).mode==="text"&&/\s/.test(a.at(Pe).value),Ke&&(ue=Pe),Pe+=z;ue=a.at(Pe)?Pe-2*z:Pe-z}return ue-(z>0?0:1)}function id(a,y,b){var z,ue,Pe,Ke,tt,ct,ht;const bt=a.position;(z=b==null?void 0:b.extend)!=null&&z||a.collapseSelection(y);let Bt=a.at(a.position);if(y==="forward"&&(Bt.type==="subsup"?(Bt=Bt.rightSibling,Bt||(Bt=a.at(a.position+1))):Bt=a.at(a.position+1)),!Bt)return a.announce("plonk"),!1;let Gt=a.offsetOf(Bt);if(Bt instanceof fc)Gt=Th(a,Gt,y);else if(Bt instanceof ml)if(Bt.isSuggestion)for(console.assert(y==="forward");Bt&&Bt instanceof ml;)Bt.isSuggestion=!1,Gt=a.offsetOf(Bt),Bt=Bt.rightSibling;else if(y==="forward"){if(Bt=Bt.rightSibling,!Bt||!(Bt instanceof ml))return a.announce("plonk"),!1;for(;Bt&&Bt instanceof ml&&/[a-zA-Z\*]/.test(Bt.value);)Gt=a.offsetOf(Bt),Bt=Bt.rightSibling}else{if(Bt=Bt.leftSibling,!Bt||!(Bt instanceof ml))return a.announce("plonk"),!1;for(;Bt&&Bt instanceof ml&&/[a-zA-Z\*]/.test(Bt.value);)Gt=a.offsetOf(Bt),Bt=Bt.leftSibling}else if(y==="forward"&&Bt.type==="mopen"){let hn=0;do Bt.type==="mopen"?hn+=1:Bt.type==="mclose"&&(hn-=1),Bt=Bt.rightSibling;while(!Bt.isLastSibling&&hn!==0);Gt=a.offsetOf(Bt.leftSibling)}else if(y==="backward"&&Bt.type==="mclose"){let hn=0;do Bt.type==="mopen"?hn+=1:Bt.type==="mclose"&&(hn-=1),Bt=Bt.leftSibling;while(!Bt.isFirstSibling&&hn!==0);Gt=a.offsetOf(Bt)}else if(y==="backward")if(Bt.type==="first")for(;Gt>0&&Bt.type==="first";)Gt-=1,Bt=a.at(Gt);else{const hn=Bt.type;Bt.type==="subsup"&&(Gt=a.offsetOf(a.at(Gt).leftSibling)),Gt-=1;let xn=(ue=a.at(Gt))==null?void 0:ue.type;for(;Gt>=0&&xn===hn;)((Pe=a.at(Gt))==null?void 0:Pe.type)==="subsup"?Gt=a.offsetOf(a.at(Gt).leftSibling):Gt-=1,xn=a.at(Gt).type}else{const{type:hn}=Bt;let xn=(Ke=a.at(Gt))==null?void 0:Ke.type;const{lastOffset:Cr}=a;for(;Gt<=Cr&&(xn===hn||xn==="subsup");){for(;((tt=a.at(Gt).rightSibling)==null?void 0:tt.type)==="subsup";)Gt=a.offsetOf(a.at(Gt).rightSibling);Gt+=1,xn=(ct=a.at(Gt))==null?void 0:ct.type}Gt-=1}if((ht=b==null?void 0:b.extend)!=null&&ht){if(!a.setSelection(a.anchor,Gt))return a.announce("plonk"),!1}else{if(Gt===a.position)return a.announce("plonk"),!1;a.position=Gt}return a.announce("move",bt),a.mathfield.stopCoalescingUndo(),!0}function Dc(a,y,b){var z,ue;if(b=b!=null?b:{extend:!1},a.mathfield.adoptStyle=y==="backward"?"right":"left",y!=="forward"){const[tt,ct]=gp(a);tt!==void 0&&ct!==void 0&&a.deleteAtoms([tt,ct])}if(y==="upward")return Kv(a,b);if(y==="downward")return zv(a,b);if(b.extend){let tt=Kf(a,a.position,y);tt<0&&(tt=0),tt>a.lastOffset&&(tt=a.lastOffset);const ct=a.setSelection(a.anchor,tt);return a.mathfield.stopCoalescingUndo(),ct}if(a.selectionIsPlaceholder){a.collapseSelection(y);const tt=Dc(a,y);return a.mathfield.stopCoalescingUndo(),tt}let Pe=a.position;const Ke=Pe;if(a.collapseSelection(y)?(Pe=a.position,Bp(a,Pe)||(Pe=Kf(a,Pe,y))):Pe=Kf(a,Pe,y),Pe<0||Pe>a.lastOffset){let tt=!0;return a.silenceNotifications||(tt=(ue=(z=a.mathfield.host)==null?void 0:z.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))!=null?ue:!0),tt&&a.announce("plonk"),tt}return a.setPositionHandlingPlaceholder(Pe),a.mathfield.stopCoalescingUndo(),a.announce("move",Ke),!0}function Kf(a,y,b){return y=y+(b==="forward"?1:-1),y<0||y>a.lastOffset||Bp(a,y)?y:Kf(a,y,b)}function Bp(a,y){var b;const z=a.at(y);let ue=z.parent;for(;ue&&!ue.inCaptureSelection;)ue=ue.parent;return!(ue!=null&&ue.inCaptureSelection||(b=z.parent)!=null&&b.skipBoundary&&(!z.isFirstSibling&&z.isLastSibling||z.type==="first")||a.mathfield.hasEditablePrompts&&!z.parentPrompt)}function jv(a,y,b){let z=1/0,ue=0;for(;ue<y.length;ue++){const Pe=Gu(a.getHTMLElement(y[ue])).right,Ke=Math.abs(b-Pe);if(Ke<=z)z=Ke;else break}return y[ue-1]}function zf(a,y,b,z,ue){const Pe=a.mathfield.hasEditablePrompts,Ke=Pe?b.filter(ht=>ht.type==="prompt"&&!ht.captureSelection):b,tt=Gu(a.mathfield.getHTMLElement(y)).right,ct=a.offsetOf(jv(a.mathfield,Ke,tt))-(Pe?1:0);if(z){const[ht,bt]=a.selection.ranges[0];let Bt;ct<(ue==="up"?ht:bt)?Bt={ranges:[[ct,bt]],direction:"backward"}:Bt={ranges:[[ht,ct]],direction:"forward"},a.setSelection(Bt)}else a.setPositionHandlingPlaceholder(ct);a.announce(`move ${ue}`)}function Kv(a,y){var b,z;const ue=(b=y==null?void 0:y.extend)!=null?b:!1;ue||a.collapseSelection("backward");const Pe=()=>{var ct,ht;let bt=!0;return a.silenceNotifications||(bt=(ht=(ct=a.mathfield.host)==null?void 0:ct.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"upward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?ht:!0),a.announce(bt?"plonk":"line"),bt},Ke=a.at(a.position);let tt=Ke;for(;tt&&tt.parentBranch!=="below"&&!(Array.isArray(tt.parentBranch)&&tt.parent instanceof co);)tt=tt.parent;if(Array.isArray(tt==null?void 0:tt.parentBranch)&&tt.parent instanceof co){const ct=tt.parent;if(tt.parentBranch[0]<1)return Pe();const ht=tt.parentBranch[0]-1,bt=ct.array[ht][tt.parentBranch[1]];if(!bt.some(Gt=>Gt.type==="prompt"&&!Gt.captureSelection)&&a.mathfield.hasEditablePrompts)return Pe();zf(a,Ke,bt,ue,"up")}else if(tt){const ct=(z=tt.parent.branch("above"))!=null?z:tt.parent.createBranch("above");if(!ct.some(bt=>bt.type==="prompt"&&bt.placeholderId)&&a.mathfield.hasEditablePrompts)return Pe();zf(a,Ke,ct,ue,"up")}else return Pe();return a.mathfield.stopCoalescingUndo(),!0}function zv(a,y){var b,z;const ue=(b=y==null?void 0:y.extend)!=null?b:!1;ue||a.collapseSelection("forward");const Pe=()=>{var ct,ht;let bt=!0;return a.silenceNotifications||(bt=(ht=(ct=a.mathfield.host)==null?void 0:ct.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"downward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?ht:!0),a.announce(bt?"plonk":"line"),bt},Ke=a.at(a.position);let tt=Ke;for(;tt&&tt.parentBranch!=="above"&&!(Array.isArray(tt.parentBranch)&&tt.parent instanceof co);)tt=tt.parent;if(Array.isArray(tt==null?void 0:tt.parentBranch)&&tt.parent instanceof co){const ct=tt.parent;if(tt.parentBranch[0]+1>ct.array.length-1)return Pe();const ht=tt.parentBranch[0]+1,bt=ct.array[ht][tt.parentBranch[1]];if(!bt.some(Gt=>Gt.type==="prompt"&&!Gt.captureSelection)&&a.mathfield.hasEditablePrompts)return Pe();zf(a,Ke,bt,ue,"down")}else if(tt){const ct=(z=tt.parent.branch("below"))!=null?z:tt.parent.createBranch("below");if(!ct.some(bt=>bt.type==="prompt")&&a.mathfield.hasEditablePrompts)return Pe();zf(a,Ke,ct,ue,"down")}else return Pe();return!0}function _p(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 Hv(a){let y=0,b=a.at(a.position),z=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(z=!1):z=!0,b=b.parent;return z?y:0}function Wv(a){let y=0,b=a.at(a.position),z=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(z=!0):z=!1,b=b.parent;return z?y:0}function Fp(a){var y;if(a.collapseSelection(),Hv(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 ec({style:b.computedStyle}),b),b=b.rightSibling),b.createBranch("superscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.superscript[0]))),!0}function jp(a){var y;if(a.collapseSelection(),Wv(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 ec({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 Uv(){function a(ct){const ht=[],bt=[];return[...ct.querySelectorAll(`input, select, textarea, a[href], button,
[tabindex], audio[controls], video[controls],
[contenteditable]:not([contenteditable="false"]), details>summary`)].filter(y).forEach((Gt,hn)=>{const xn=z(Gt);xn===0?ht.push(Gt):bt.push({documentOrder:hn,tabIndex:xn,node:Gt})}),bt.sort((Gt,hn)=>Gt.tabIndex===hn.tabIndex?Gt.documentOrder-hn.documentOrder:Gt.tabIndex-hn.tabIndex).map(Gt=>Gt.node).concat(ht)}function y(ct){return!(!b(ct)||ue(ct)||z(ct)<0)}function b(ct){return!(ct.disabled||ct.type==="hidden"&&ct.tagName.toUpperCase()==="INPUT"||tt(ct))}function z(ct){var ht;const bt=Number.parseInt((ht=ct.getAttribute("tabindex"))!=null?ht:"NaN",10);return Number.isNaN(bt)?ct.contentEditable==="true"||(ct.nodeName==="AUDIO"||ct.nodeName==="VIDEO")&&ct.getAttribute("tabindex")===null?0:ct.tabIndex:bt}function ue(ct){return ct.tagName.toUpperCase()==="INPUT"&&ct.type==="radio"&&!Ke(ct)}function Pe(ct,ht){for(const bt of ct)if(bt.checked&&bt.form===ht)return bt;return null}function Ke(ct){var ht;if(!ct.name)return!0;const Bt=((ht=ct.form)!=null?ht:ct.ownerDocument).querySelectorAll('input[type="radio"][name="'+ct.name+'"]'),Gt=Pe(Bt,ct.form);return!Gt||Gt===ct}function tt(ct){if(!ce()||ct===document.activeElement||ct.contains(document.activeElement))return!1;if(getComputedStyle(ct).visibility==="hidden")return!0;const ht=ct.getBoundingClientRect();if(ht.width===0||ht.height===0)return!0;for(;ct;){if(getComputedStyle(ct).display==="none")return!0;ct=ct.parentElement}return!1}return ce()?a(document.body):[]}function Tl(a,y,b="forward"){const z=a.position;if(Array.isArray(y)){const ue=a.offsetOf(y[0]),Pe=a.offsetOf(y[y.length-1]);return b==="forward"?a.setSelection(ue,Pe):a.setSelection(Pe,ue),a.announce("move",z),a.mathfield.stopCoalescingUndo(),!0}return b==="forward"?Tl(a,[y.leftSibling,y]):Tl(a,[y,y.leftSibling])}function mc(a,y){const b=a.position;if(typeof y=="number"&&(y=a.at(y)),y.type==="prompt")a.setSelection(a.offsetOf(y.firstChild),a.offsetOf(y.lastChild));else{const z=a.offsetOf(y);y.type==="placeholder"?a.setSelection(z-1,z):a.position=z}return a.announce("move",b),a.mathfield.stopCoalescingUndo(),!0}function Hf(a,y,b=!0){var z,ue;const Pe=y==="forward"?1:-1;a.at(a.anchor).type==="placeholder"&&Dc(a,y);let Ke;const tt=a.at(a.anchor).parentPrompt;tt?y==="forward"?Ke=a.offsetOf(tt)+1:Ke=a.offsetOf(tt.leftSibling):Ke=Math.max(a.position+Pe,0);const ct=Oh(a,Ke,y);if(!ct||y==="forward"&&a.offsetOf(ct)<Ke||y==="backward"&&a.offsetOf(ct)>Ke){if(!b||!((ue=(z=a.mathfield.host)==null?void 0:z.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))==null||ue))return a.announce("plonk"),!1;const bt=Uv();if(!document.activeElement||bt.length<=1)return a.announce("plonk"),!1;let Bt=bt.indexOf(document.activeElement)+Pe;return Bt<0&&(Bt=bt.length-1),Bt>=bt.length&&(Bt=0),bt[Bt].focus(),a.mathfield.stopCoalescingUndo(),!0}return mc(a,ct),!0}function Oh(a,y=0,b="forward"){return a.findAtom(z=>z.type==="placeholder"||z.type==="prompt"||!a.mathfield.readOnly&&z.treeDepth>2&&z.isFirstSibling&&z.isLastSibling,y,b)}Kl({moveToOpposite:a=>{const y={superscript:"subscript",subscript:"superscript",above:"below",below:"above"},b=a.at(a.position),{parent:z}=b;if(!z)return a.announce("plonk"),!1;const ue=b.parentBranch;let Pe;if(typeof ue=="string"&&(Pe=y[ue]),!Pe){const tt=b.subsupPlacement?jp(a):Fp(a);return a.mathfield.stopCoalescingUndo(),tt}z.branch(Pe)||z.createBranch(Pe);const Ke=a.setSelection(a.getBranchRange(a.offsetOf(z),Pe));return a.mathfield.stopCoalescingUndo(),Ke},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=>_p(a),moveToNextChar:a=>Dc(a,"forward"),moveToPreviousChar:a=>Dc(a,"backward"),moveUp:a=>Dc(a,"upward"),moveDown:a=>Dc(a,"downward"),moveToNextWord:a=>id(a,"forward"),moveToPreviousWord:a=>id(a,"backward"),moveToGroupStart:a=>{const y=a.offsetOf(a.at(a.position).firstSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToGroupEnd:a=>{const y=a.offsetOf(a.at(a.position).lastSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToNextGroup:a=>{var y,b,z,ue;if(a.position===a.lastOffset&&a.anchor===a.lastOffset)return Hf(a,"forward");const Pe=a.at(a.position);if(Pe.mode==="text"){if(a.selectionIsCollapsed){let Gt=Pe;for(;Gt&&Gt.mode==="text";)Gt=Gt.leftSibling;let hn=Pe;for(;((y=hn.rightSibling)==null?void 0:y.mode)==="text";)hn=hn.rightSibling;if(Gt&&hn)return Tl(a,[Gt,hn])}if(Pe.rightSibling.mode==="text"){let Gt=Pe;for(;Gt&&Gt.mode==="text";)Gt=Gt.rightSibling;return Gt?(mc(a,(b=Gt.leftSibling)!=null?b:Gt),a.mathfield.switchMode("math"),!0):mc(a,a.lastOffset)}}const tt=a.at(a.anchor).parentPrompt,ct=tt?a.offsetOf(tt)+1:Math.max(a.position+1,0),ht=Oh(a,ct,"forward");if(ht)return mc(a,ht);const bt=Kp(a,Pe,Gt=>Gt.type==="leftright"||Gt.type==="text","forward");if(bt){if(bt.mode==="text"){let Gt=bt;for(;Gt&&Gt.mode==="text";)Gt=Gt.rightSibling;return Tl(a,[(z=bt.leftSibling)!=null?z:bt,(ue=Gt.leftSibling)!=null?ue:Gt])}return Tl(a,bt)}const Bt=Pe.parent;if(Bt){if(Bt.type==="leftright"||Bt.type==="surd")return Tl(a,Bt);if(Pe.parentBranch==="superscript"&&Bt.subscript)return Tl(a,Bt.subscript);if(Pe.parentBranch==="above"&&Bt.below)return Tl(a,Bt.below);if(Pe.parentBranch==="superscript"||Pe.parentBranch==="subscript")return mc(a,Bt);if(Pe.parentBranch==="above"||Pe.parentBranch==="below")return Tl(a,Bt)}return mc(a,a.lastOffset)},moveToPreviousGroup:a=>{var y;if(a.position===0&&a.anchor===0)return Hf(a,"backward");let b=a.at(a.position);const z=b.mode;if(z==="text"){if(a.selectionIsCollapsed){let tt=b;for(;tt&&tt.mode==="text";)tt=tt.leftSibling;let ct=b;for(;((y=ct.rightSibling)==null?void 0:y.mode)==="text";)ct=ct.rightSibling;if(tt&&ct)return Tl(a,[tt,ct])}for(;b&&b.mode==="text";)b=b.leftSibling;return b?mc(a,b):mc(a,0)}const ue=a.at(a.anchor).parentPrompt,Pe=ue?a.offsetOf(ue.leftSibling):Math.max(a.position-1,0),Ke=Oh(a,Pe,"backward");if(Ke)return mc(a,Ke);if(z==="math"){const tt=Kp(a,b,ht=>ht.type==="leftright"||ht.type==="text","backward");if(tt){if(tt.mode==="text"){let ht=tt;for(;ht&&ht.mode==="text";)ht=ht.leftSibling;return Tl(a,[tt,ht])}return Tl(a,tt)}const ct=b.parent;if(ct){if(ct.type==="leftright"||ct.type==="surd")return Tl(a,ct);if(b.parentBranch==="subscript"&&ct.superscript)return Tl(a,ct.superscript);if(b.parentBranch==="below"&&ct.above)return Tl(a,ct.above);if(b.parentBranch==="superscript"||b.parentBranch==="subscript")return mc(a,ct);if(b.parentBranch==="above"||b.parentBranch==="below")return Tl(a,ct)}return mc(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:Fp,moveToSubscript:jp},{target:"model",changeSelection:!0}),Kl({moveToNextPlaceholder:a=>Hf(a,"forward"),moveToPreviousPlaceholder:a=>Hf(a,"backward")},{target:"model",changeSelection:!0,audioFeedback:"return"});function Kp(a,y,b,z){if(z==="forward"){let Pe=y.rightSibling;for(;Pe&&!b(Pe);)Pe=Pe.rightSibling;return Pe}let ue=y.leftSibling;for(;ue&&!b(ue);)ue=ue.leftSibling;return ue}function Wf(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let z=a.position,ue=!1,Pe="";for(;!ue;){const Ke=a.at(z);ue=y===0||Ke===void 0||Ke.type==="first"||Ke.mode!=="math"||!(Ke.type&&/mord|mpunct|operator/.test(Ke.type)||Ke.type==="mop"&&/[a-zA-Z ]+/.test(Ke.value))||!Ke.hasEmptyBranch("superscript")||!Ke.hasEmptyBranch("subscript")||typeof b=="function"&&!b(Ke),ue||(Ke.mode="text",Ke.command=Ke.value,Ke.verbatimLatex=void 0,Pe+=Ke.value),z-=1,y-=1}a.contentDidChange({data:Pe,inputType:"insertText"})}function Nu(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let z=a.position,ue=!1;const Pe=[];for(;!ue;){const Ke=a.at(z);ue=y===0||!Ke||Ke.type==="first"||Ke.isFirstSibling||Ke.mode!=="text"||Ke.value===" "||typeof b=="function"&&!b(Ke),ue||(Pe.push(Br.serialize([Ke],{defaultMode:"math"})),Ke.mode="math"),z-=1,y-=1}Dh(a),a.contentDidChange({data:Eo(Pe),inputType:"insertText"})}function Dh(a){var y;let b=a.position-1;for(;b>=0&&((y=a.at(b))==null?void 0:y.mode)==="math";)b-=1;if(!(b<0)&&a.at(b).mode==="text"&&a.at(b).value===" "&&a.at(b-1).mode==="math"){a.at(b-1).parent.removeChild(a.at(b-1));const z=a.silenceNotifications;a.silenceNotifications=!0,a.position-=1,a.silenceNotifications=z,a.contentDidChange({inputType:"deleteContent"})}}function Vv(a){let y="",b=a.position,z=!1;for(;!z;){const ue=a.at(b);z=!(ue&&(ue.mode==="text"||ue.mode==="math"&&ue.type&&/mord|mpunct/.test(ue.type))),z||(y=ue.value+y),b-=1}return y}function Zv(a,y,b){const{model:z}=a;if(z.mode==="latex"||!z.at(z.position).isLastSibling||!b||!Cf(b))return!1;const ue=$u(b);if(!z.selectionIsCollapsed)return!!(a.model.mode==="text"&&/[/_^]/.test(ue));const Pe=Vv(z)+ue;if(a.model.mode==="text"){if(y==="Esc"||/[/\\]/.test(ue))return!0;if(/[\^_]/.test(ue))return/(^|\s)[a-zA-Z][^_]$/.test(Pe)&&Nu(z,1),!0;const Ke={")":"(","}":"{","]":"["}[ue],{parent:tt}=z.at(z.position);if(Ke&&tt instanceof Uo&&tt.leftDelim===Ke)return!0;if(/(^|[^a-zA-Z])(a|I) $/.test(Pe))return!1;if(/[$€£₤₺¥¤฿¢₡₧₨₹₩₱]/u.test(ue))return!0;if(/(^|[^a-zA-Z'])[a-zA-Z] $/.test(Pe))return Nu(z,1),!1;if(/\D\.[^\d\s]$/.test(Pe)){Nu(z,1);const ct=z.at(z.position);return ct.value="\u22C5",ct.style.variant="normal",ct.command="\\cdot",ct.verbatimLatex=void 0,z.contentDidChange({data:"\\cdot",inputType:"insertText"}),!0}if(/(^|\s)[a-zA-Z][^a-zA-Z]$/.test(Pe)||/\.\d$/.test(Pe)||/\([\d+\-.]$/.test(Pe))return Nu(z,1),!0;if(/\([a-z][,;]$/.test(Pe))return Nu(z,2),!0;if(/[\d+\-=><*|]$/.test(ue))return Dh(z),!0}else{if(y==="[Space]")return Wf(z,void 0,Ke=>/[a-z][:,;.]$/.test(Ke.value)),!0;if(/[a-zA-Z]{3,}$/.test(Pe)&&!/(dxd|abc|xyz|uvw)$/.test(Pe))return Wf(z,void 0,Ke=>/[a-zA-Z]/.test(Ke.value)),!0;if(/(^|\W)(if)$/i.test(Pe))return Wf(z,1),!0;if(/(\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5){3,}$/u.test(Pe)&&!/(αβγ)$/.test(Pe))return Wf(z,void 0,Ke=>/(:|,|;|.|\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5)/u.test(Ke.value)),!0;if(ue==="?"||ue==="."&&!/[\d-+]\.$/.test(Pe))return!0}return!1}function Gv(a,y){if(!a.isSelectionEditable||!a.keystrokeCaptionVisible)return;const b=zp(),z=a.element.getBoundingClientRect();b.style.left=`${z.left}px`,b.style.top=`${z.top-64}px`,b.innerHTML=window.MathfieldElement.createHTML("<span>"+(yh(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 Xv(a){if(a.keystrokeCaptionVisible=!a.keystrokeCaptionVisible,a.keystrokeCaptionVisible){const y=zp();y.innerHTML=""}else{const y=Mf("mathlive-keystroke-caption-panel");y.style.visibility="hidden"}return!1}function zp(){const a=document.getElementById("mathlive-keystroke-caption-panel");return a||(jl("keystroke-caption"),jl("core"),Mf("mathlive-keystroke-caption-panel"))}function Yv(){document.getElementById("mathlive-keystroke-caption-panel")&&(xh("mathlive-keystroke-caption-panel"),E("core"),E("keystroke-caption"))}function Hp(a,y){var b,z,ue;const{model:Pe}=a,Ke=mp(y);if(y.isTrusted){F0(y);const hn=jd();a.keyboardLayout!==hn.id&&(a.keyboardLayout=hn.id,a._keybindings=void 0)}if(clearTimeout(a.inlineShortcutBufferFlushTimer),a.inlineShortcutBufferFlushTimer=0,Gv(a,Ke),y.isTrusted&&y.defaultPrevented)return a.flushInlineShortcutBuffer(),!1;let tt,ct="",ht;const bt=a.inlineShortcutBuffer;if(a.isSelectionEditable){if(Pe.mode==="math")if(Ke==="[Backspace]")bt.pop();else if(!Cf(y))a.flushInlineShortcutBuffer();else{const hn=$u(y),xn=[...(z=(b=bt[bt.length-1])==null?void 0:b.keystrokes)!=null?z:[],hn];bt.push({state:Pe.getState(),keystrokes:xn,leftSiblings:Qv(a)});let Cr=0,ui="";for(;!tt&&Cr<xn.length;)ht=bt.length-(xn.length-Cr),ui=xn.slice(Cr).join(""),tt=Cd(bt[ht].leftSiblings,ui,a.options.inlineShortcuts),!tt&&/^[a-zA-Z][a-zA-Z0-9]+?([_\^][a-zA-Z0-9\*\+\-]+?)?$/.test(ui)&&(tt=a.options.onInlineShortcut(a,ui)),Cr+=1;a.flushInlineShortcutBuffer({defer:!0})}a.options.smartMode&&(tt?a.switchMode("math"):Zv(a,Ke,y)&&(a.switchMode({math:"text",text:"math"}[Pe.mode]),ct=""))}if(!tt){if(ct||(ct=V0(a.keybindings,Pe.mode,y)),!ct&&(Ke==="[Enter]"||Ke==="[Return]")){let hn=!1;return Pe.contentWillChange({inputType:"insertLineBreak"})&&(a.host&&(hn=!a.host.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),hn||y.preventDefault&&(y.preventDefault(),y.stopPropagation()),Pe.contentDidChange({inputType:"insertLineBreak"})),hn}if((!ct||Ke==="[Space]")&&Pe.mode==="math"){if(Ke==="[Space]"){if(a.adoptStyle="none",a.flushInlineShortcutBuffer(),a.options.mathModeSpace)return so.insert(Pe,a.options.mathModeSpace,{format:"latex",mode:"math"}),a.snapshot("insert-space"),ct="",a.dirty=!0,a.scrollIntoView(),y.preventDefault&&(y.preventDefault(),y.stopPropagation()),!1;const hn=Pe.at(Pe.position+1),xn=Pe.at(Pe.position-1);if((hn==null?void 0:hn.mode)==="text"||(xn==null?void 0:xn.mode)==="text")return so.insert(Pe," ",{mode:"text"}),a.snapshot("insert-space"),a.dirty=!0,a.scrollIntoView(),!1}(ue=Pe.at(Pe.position))!=null&&ue.isDigit()&&window.MathfieldElement.decimalSeparator===","&&$u(y)===","&&(ct="insertDecimalSeparator")}}if(!tt&&!ct){if(Pe.mathfield.smartFence){if(Lh(Pe,$u(y),a.effectiveStyle))return a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}else{const{parent:hn}=Pe.at(Pe.position);if(hn instanceof Uo&&hn.rightDelim==="?"&&Pe.at(Pe.position).isLastSibling&&/^[)}\]|]$/.test(Ke))return a.snapshot(),hn.isDirty=!0,hn.rightDelim=Ke,Pe.position+=1,Pe.selectionDidChange(),Pe.contentDidChange({data:$u(y),inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1;if(!Pe.selectionIsCollapsed){const xn=$u(y);if(xn==="("||xn==="{"||xn==="["){const Cr={"(":"(","{":"\\lbrace","[":"\\lbrack"}[xn],ui={"(":")","{":"\\rbrace","[":"\\rbrack"}[xn],[xr,Gr]=ll(Pe.selection);return a.snapshot(),Pe.position=Gr,so.insert(Pe,ui,{format:"latex"}),Pe.position=xr,so.insert(Pe,Cr,{format:"latex"}),Pe.setSelection(xr+1,Gr+1),Pe.contentDidChange({data:xn,inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}}}return!0}const Bt=Pe.at(Math.max(Pe.position,Pe.anchor)),{parent:Gt}=Bt;if(ct==="moveAfterParent"&&(Gt==null?void 0:Gt.type)==="leftright"&&Bt.isLastSibling&&a.options.smartFence&&Lh(Pe,".",a.defaultStyle)&&(ct="",Bs(a)),a.keyboardDelegate.cancelComposition(),ct)a.executeCommand(ct);else if(tt){const hn=a.effectiveStyle;Pe.setState(bt[ht].state);const xn=bt[bt.length-1].keystrokes;for(const Cr of xn)so.insert(Pe,Cr,{silenceNotifications:!0,style:hn});a.snapshot("insert-shortcut"),Pe.setState(bt[ht].state),Pe.deferNotifications({content:!0,selection:!0,data:tt,type:"insertText"},()=>(so.insert(Pe,tt,{format:"latex",style:hn}),Dh(a.model),tt.endsWith(" ")&&(a.switchMode("text"),so.insert(Pe," ",{style:hn,mode:"text"})),a.snapshot(),Pe.selectionIsCollapsed||a.flushInlineShortcutBuffer(),!0)),a.dirty=!0,Pe.announce("replacement")}return a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}function Ih(a,y,b){const{model:z}=a;if(!a.isSelectionEditable){z.announce("plonk");return}b!=null||(b={}),b.focus&&a.focus(),b.feedback&&window.MathfieldElement.playSound("keypress"),typeof b.mode=="string"&&(a.switchMode(b.mode),a.snapshot());let ue=af(y);const Pe=window.mathVirtualKeyboard;if(Pe!=null&&Pe.isShifted&&(ue=typeof ue=="string"?ue.toUpperCase():ue.map(ct=>ct.toUpperCase())),b.simulateKeystroke){let ct=!0;for(const ht of ue)Hp(a,new KeyboardEvent("keypress",{key:ht}))&&(ct=!1);if(ct)return}const Ke=z.at(z.position),tt=ae(ae({},Ke.computedStyle),a.defaultStyle);if(z.selectionIsCollapsed||(z.deleteAtoms(ll(z.selection)),a.snapshot("delete")),z.mode==="latex")z.deferNotifications({content:!0,selection:!0,data:y,type:"insertText"},()=>{Af(a);for(const ct of ue)so.insert(z,ct);a.snapshot("insert-latex"),zd(a)});else if(z.mode==="text"){for(const ct of ue)so.insert(z,ct,{style:tt});a.snapshot("insert-text")}else if(z.mode==="math")for(const ct of ue)Jv(a,ct,tt,Ke);a.dirty=!0,a.scrollIntoView()}function Qv(a){const y=a.model,b=[];let z=y.at(Math.min(y.position,y.anchor));for(;z.type!=="first";)b.push(z),z=z.leftSibling;return b}function Jv(a,y,b,z){const ue=a.model;let Pe={"^":"moveToSuperscript",_:"moveToSubscript"," ":"moveAfterParent"}[y];if(y===" "&&a.options.mathModeSpace&&(Pe=["insert",a.options.mathModeSpace]),Pe){a.executeCommand(Pe);return}if(/\d/.test(y)&&a.options.smartSuperscript&&z.parentBranch==="superscript"&&z.parent.type!=="mop"&&z.parent.type!=="operator"&&z.parent.type!=="extensible-symbol"&&z.hasNoSiblings){$v(ue),so.insert(ue,y,{style:b}),a.snapshot(),_p(ue),a.snapshot();return}if(/[a-zA-Z0-9]/.test(y)&&a.adoptStyle!=="none"){const Ke=a.adoptStyle==="left"?z:z.parent?z.rightSibling:null;(Ke==null?void 0:Ke.type)==="mord"&&/[a-zA-Z0-9]/.test(Ke.value)&&(b=ae({},b),Ke.style.variant&&(b.variant=Ke.style.variant),Ke.style.variantStyle&&(b.variantStyle=Ke.style.variantStyle))}so.insert(ue,y,{style:b}),a.snapshot(`insert-${ue.at(ue.position).type}`)}function $v(a){a.selectionIsCollapsed||(a.deleteAtoms(ll(a.selection)),a.mathfield.snapshot("delete"))}function Lh(a,y,b){if(!y||a.mode!=="math")return!1;const z=a.at(a.position),{parent:ue}=z,Pe={"(":"(",")":")","{":"\\lbrace","}":"\\rbrace","[":"\\lbrack","]":"\\rbrack","|":"|"}[y];if(!Pe)return!1;const Ke=we[Pe],tt=Ee[Pe];if(!a.selectionIsCollapsed){a.mathfield.snapshot();const[ct,ht]=ll(a.selection),bt=a.extractAtoms([ct,ht]),Bt=ue.addChildrenAfter([new Uo("left...right",bt,{leftDelim:Pe,rightDelim:tt})],a.at(ct));return a.setSelection(a.offsetOf(Bt.firstChild),a.offsetOf(Bt.lastChild)),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:Pe,inputType:"insertText"}),!0}if(Pe==="|"){const ct=ue instanceof Uo?ue.leftDelim+ue.rightDelim:"";if(ct==="\\lbrace\\rbrace"||ct==="\\{\\}"||ct==="\\lbrace?")return a.mathfield.snapshot(),so.insert(a,"\\,\\middle\\vert\\,",{format:"latex",style:b}),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:Pe,inputType:"insertText"}),!0}if(tt){if(ue instanceof Uo&&ue.firstChild===z&&(ue.leftDelim==="?"||ue.leftDelim==="."))return ue.leftDelim=Pe,ue.isDirty=!0,a.mathfield.snapshot(),a.contentDidChange({data:Pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(!(ue instanceof Uo)){let Bt=z;for(;Bt&&!(Bt.type==="mclose"&&Bt.value===tt);)Bt=Bt.rightSibling;if(Bt){a.mathfield.snapshot();const Gt=a.extractAtoms([a.offsetOf(z),a.offsetOf(Bt)]);return Gt.pop(),ue.addChildrenAfter([new Uo("left...right",Gt,{leftDelim:Pe,rightDelim:tt})],z),a.position=a.offsetOf(ue.firstChild)+1,a.contentDidChange({data:Pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}}const ct=a.offsetOf(z.lastSibling);let ht;for(ht=a.position;ht<=ct;ht++){const Bt=a.at(ht);if(Bt instanceof Uo&&(Bt.leftDelim==="?"||Bt.leftDelim===".")&&Wp(Pe,Bt.rightDelim))break}const bt=a.at(ht);if(ht<=ct&&bt instanceof Uo){bt.leftDelim=Pe,a.mathfield.snapshot();let Bt=a.extractAtoms([a.position,ht-1]);return Bt=Bt.filter(Gt=>Gt.type!=="first"),bt.addChildren(Bt,bt.parentBranch),a.position+=1,a.contentDidChange({data:Pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(ue instanceof Uo&&(ue.leftDelim==="?"||ue.leftDelim===".")&&Wp(Pe,ue.rightDelim)){ue.isDirty=!0,ue.leftDelim=Pe,a.mathfield.snapshot();const Bt=a.extractAtoms([a.offsetOf(z.firstSibling),a.position]);for(const Gt of Bt)ue.parent.addChildBefore(Gt,ue);return a.contentDidChange({data:Pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(!(ue instanceof Uo&&ue.leftDelim==="|")){if(a.mathfield.snapshot(),so.insert(a,`\\left${Pe}\\right?`,{format:"latex",style:b}),z.lastSibling.type!=="first"){const Bt=a.offsetOf(z.lastSibling),Gt=a.extractAtoms([a.position,Bt]);a.at(a.position).body=Gt,a.position-=1}return a.mathfield.snapshot("insert-fence"),!0}}if(Ke){let ct=z;for(;ct;){if(ct.type==="mopen"&&ct.value===Ke){a.mathfield.snapshot();const hn=ct.leftSibling,xn=a.extractAtoms([a.offsetOf(ct.leftSibling),a.offsetOf(z)]);xn.shift();const Cr=new Uo("left...right",xn,{leftDelim:Ke,rightDelim:Pe});return ue.addChildrenAfter([Cr],hn),a.position=a.offsetOf(Cr),a.contentDidChange({data:Pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}ct=ct.leftSibling}if(ue instanceof Uo&&z.isLastSibling&&Ph(ue.leftDelim,Pe))return a.mathfield.snapshot(),ue.isDirty=!0,ue.rightDelim=Pe,a.position+=1,a.contentDidChange({data:Pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const ht=a.offsetOf(z.firstSibling);let bt;for(bt=a.position;bt>=ht;bt--){const hn=a.at(bt);if(hn instanceof Uo&&(hn.rightDelim==="?"||hn.rightDelim===".")&&Ph(hn.leftDelim,Pe))break}const Bt=a.at(bt);if(bt>=ht&&Bt instanceof Uo)return a.mathfield.snapshot(),Bt.rightDelim=Pe,Bt.addChildren(a.extractAtoms([bt,a.position]),Bt.parentBranch),a.contentDidChange({data:Pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(ue instanceof Uo&&(ue.rightDelim==="?"||ue.rightDelim===".")&&Ph(ue.leftDelim,Pe))return a.mathfield.snapshot(),ue.isDirty=!0,ue.rightDelim=Pe,ue.parent.addChildren(a.extractAtoms([a.position,a.offsetOf(z.lastSibling)]),ue.parentBranch),a.position=a.offsetOf(ue),a.contentDidChange({data:Pe,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const Gt=ue.parent;return Gt instanceof Uo&&(Gt.rightDelim==="?"||Gt.rightDelim===".")&&a.at(a.position).isLastSibling?(a.position=a.offsetOf(Gt),Lh(a,Pe,b)):!1}return!1}function Ph(a,y){return a?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a)?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y):Ee[a]===y:!0}function Wp(a,y){return y?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y)?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a):we[y]===a:!0}Kl({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:Xv,toggleContextMenu:a=>{const y=a.toggleContextMenu();return y||a.model.announce("plonk"),y},plonk:a=>(a.model.announce("plonk"),!0),switchMode:(a,y,b,z)=>(a.switchMode(y,b,z),!0),insert:(a,y,b)=>a.insert(y,b),typedText:(a,y,b)=>(Ih(a,y,b),!0),insertDecimalSeparator:a=>{const y=a.model;return y.mode==="math"&&window.MathfieldElement.decimalSeparator===","&&y.at(Math.max(y.position,y.anchor)).isDigit()?(a.insert("{,}",{format:"latex"}),a.snapshot("insert-mord"),!0):(a.insert("."),!0)},commit:a=>{var y;return a.model.contentWillChange({inputType:"insertLineBreak"})&&((y=a.host)==null||y.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),a.model.contentDidChange({inputType:"insertLineBreak"})),!0},insertPrompt:(a,y,b)=>{const z=a.getPrompts();let ue="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),Pe=0;for(;z.includes(ue)&&Pe<100;){if(Pe===99)return console.error("could not find a unique ID after 100 tries"),!1;ue="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),Pe++}return a.insert(`\\placeholder[${y!=null?y:ue}]{}`,b),!0}}),Kl({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"}),Kl({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})&&(zd(a),a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),Bs(a))):a.model.announce("plonk"),a.startRecording()}),!0))},{target:"mathfield",canUndo:!0,changeContent:!0,changeSelection:!0});function qv(a,y){a.flushInlineShortcutBuffer(),a.stopCoalescingUndo();const b=Nh(a,y),{model:z}=a;return z.selectionIsCollapsed?(a.defaultStyle.fontSeries&&b.fontSeries===a.defaultStyle.fontSeries&&(b.fontSeries="auto"),b.fontShape&&b.fontShape===a.defaultStyle.fontShape&&(b.fontShape="auto"),b.color&&b.color===a.defaultStyle.color&&(b.color="none"),b.backgroundColor&&b.backgroundColor===a.defaultStyle.backgroundColor&&(b.backgroundColor="none"),b.fontSize&&b.fontSize===a.defaultStyle.fontSize&&(b.fontSize="auto"),a.defaultStyle=ae(ae({},a.defaultStyle),b)):a.model.deferNotifications({content:!0,type:"insertText"},()=>{z.selection.ranges.forEach(ue=>Mh(z,ue,b,{operation:"toggle"})),a.snapshot("style-change")}),!0}Kl({applyStyle:qv},{target:"mathfield",canUndo:!0,changeContent:!0});function Nh(a,y){var b,z,ue,Pe,Ke,tt,ct,ht,bt,Bt;const Gt={};if(typeof y.color=="string"){const xn=(z=a.colorMap((b=y.color)!=null?b:y.verbatimColor))!=null?z:"none";xn!==y.color&&(Gt.verbatimColor=(ue=y.verbatimColor)!=null?ue:y.color),Gt.color=xn}if(typeof y.backgroundColor=="string"){const xn=(Ke=a.backgroundColorMap((Pe=y.backgroundColor)!=null?Pe:y.verbatimBackgroundColor))!=null?Ke:"none";xn!==y.backgroundColor&&(Gt.verbatimBackgroundColor=(tt=y.verbatimBackgroundColor)!=null?tt:y.backgroundColor),Gt.backgroundColor=xn}typeof y.fontFamily=="string"&&(Gt.fontFamily=y.fontFamily),typeof y.series=="string"&&(Gt.fontSeries=y.series),typeof y.fontSeries=="string"&&(Gt.fontSeries=y.fontSeries.toLowerCase()),Gt.fontSeries&&(Gt.fontSeries=(ct={bold:"b",medium:"m",normal:"m"}[Gt.fontSeries])!=null?ct:Gt.fontSeries),typeof y.shape=="string"&&(Gt.fontShape=y.shape),typeof y.fontShape=="string"&&(Gt.fontShape=y.fontShape.toLowerCase()),Gt.fontShape&&(Gt.fontShape=(ht={italic:"it",up:"n",upright:"n",normal:"n"}[Gt.fontShape])!=null?ht:Gt.fontShape),y.variant&&(Gt.variant=y.variant.toLowerCase()),y.variantStyle&&(Gt.variantStyle=y.variantStyle.toLowerCase());const hn=(bt=y.size)!=null?bt:y.fontSize;return typeof hn=="number"?Gt.fontSize=Math.max(1,Math.min(10,hn)):typeof hn=="string"&&(Gt.fontSize=(Bt={size1:1,size2:2,size3:3,size4:4,size5:5,size6:6,size7:7,size8:8,size9:9,size10:10}[hn.toLowerCase()])!=null?Bt:{tiny:1,scriptsize:2,footnotesize:3,small:4,normal:5,normalsize:5,large:6,Large:7,LARGE:8,huge:9,Huge:10}[hn]),Gt}function Rh(a){let[y,b]=ll(a.selection);if(y=Up(a,y,"backward"),b=Up(a,b,"forward"),y===b){const z=a.at(y);if(z.type==="leftright")return a.setSelection(a.offsetOf(z.firstChild)-1,b);if(z.type==="first"&&(z.parent.type==="leftright"||z.parent.type==="surd"))return a.setSelection(y-1,a.offsetOf(z.parent.lastChild)+1);a.setSelection(y-1,b)}else a.setSelection(y,b);return!0}function Up(a,y,b){var z,ue,Pe;let Ke=a.at(y);if(!Ke)return y;const tt=b==="forward"?1:-1;if(Ke.mode==="text"){for(;Ke&&!(Ke.mode!=="text"||!je.test(Ke.value));)y+=tt,Ke=a.at(y);return b==="backward"?y-1:y}if(Ke.mode==="latex"){if(/[a-zA-Z\*]/.test(Ke.value))if(b==="backward")for(;Ke&&Ke.mode==="latex"&&Ke.value!=="\\"&&/[a-zA-Z]/.test(Ke.value);)y+=tt,Ke=a.at(y);else for(;Ke&&Ke.mode==="latex"&&/[a-zA-Z\*]/.test(Ke.value);)y+=tt,Ke=a.at(y);else if(Ke.value==="{"){if(b==="forward"){for(;Ke&&Ke.mode==="latex"&&Ke.value!=="}";)y+=tt,Ke=a.at(y);return y}return y-1}else if(Ke.value==="}"){if(b==="backward"){for(;Ke&&Ke.mode==="latex"&&Ke.value!=="{";)y+=tt,Ke=a.at(y);return y-1}return y}return y-1}if(Ke.mode==="math"){if(Ke.isDigit()){for(;(z=a.at(y+tt))!=null&&z.isDigit();)y+=tt;return b==="backward"?y-1:y}if(Ke.style.variant||Ke.style.variantStyle){let ct=(ue=a.at(y))==null?void 0:ue.style;for(;ct&&ct.variant===Ke.style.variant&&ct.variantStyle===Ke.style.variantStyle;)ct=(Pe=a.at(y+tt))==null?void 0:Pe.style,y+=tt;return b==="backward"?y-1:y}return y}return y}Kl({selectGroup:a=>{const y=Rh(a);return y||a.announce("plonk"),y},selectAll:a=>a.setSelection(0,a.lastOffset),extendSelectionForward:a=>Dc(a,"forward",{extend:!0}),extendSelectionBackward:a=>Dc(a,"backward",{extend:!0}),extendToNextWord:a=>id(a,"forward",{extend:!0}),extendToPreviousWord:a=>id(a,"backward",{extend:!0}),extendSelectionUpward:a=>Dc(a,"upward",{extend:!0}),extendSelectionDownward:a=>Dc(a,"downward",{extend:!0}),extendToNextBoundary:a=>id(a,"forward",{extend:!0}),extendToPreviousBoundary:a=>id(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 Ru=null,Gd=0,Uf=class ic{static start(y,b,z,ue){var Pe;ic.element=y,(Pe=ic.controller)==null||Pe.abort(),ic.controller=new AbortController;const Ke={signal:ic.controller.signal};"PointerEvent"in window?(y.addEventListener("pointermove",z,Ke),y.addEventListener("pointerup",ue,Ke),y.addEventListener("pointercancel",ue,Ke),Bh(b)&&(ic.pointerId=b.pointerId,y.setPointerCapture(b.pointerId))):(window.addEventListener("mousemove",z,Ke),window.addEventListener("blur",ue,Ke),window.addEventListener("mouseup",ue,Ke))}static stop(){var y;(y=ic.controller)==null||y.abort(),ic.controller=void 0,typeof ic.pointerId=="number"&&(ic.element.releasePointerCapture(ic.pointerId),ic.pointerId=void 0)}};function Bh(a){return a!==null&&globalThis.PointerEvent!==void 0&&a instanceof PointerEvent}function Vp(a,y){var b;if(y.buttons>1)return;a.atomBoundsCache=new Map;const z=a;let ue,Pe=!1,Ke=!1,tt="none",ct=!1,ht=!1;const bt=y.clientX,Bt=y.clientY,Gt=Date.now(),hn=z.field,xn=setInterval(()=>{ct?hn.scroll({top:0,left:hn.scrollLeft-16}):ht&&hn.scroll({top:0,left:hn.scrollLeft+16})},32);function Cr(){Uf.stop(),Pe=!1,clearInterval(xn),a.element.classList.remove("tracking"),y&&y.preventDefault()}function ui(Gr){if(!z.hasFocus()){Cr();return}const vi=Gr.clientX,qr=Gr.clientY,fa=Bh(Gr)&&Gr.pointerType==="touch"?20:5;if(Date.now()<Gt+500&&Math.abs(bt-vi)<fa&&Math.abs(Bt-qr)<fa){Gr.preventDefault(),Gr.stopPropagation();return}const ja=hn.getBoundingClientRect();ht=vi>ja.right,ct=vi<ja.left;let Oa=ue;Bh(Gr)&&(Gr.isPrimary||(Oa=Xd(z,Gr.clientX,Gr.clientY,{bias:0})));const Ro=Xd(z,vi,qr,{bias:vi<=bt?vi===bt?0:-1:1});Oa>=0&&Ro>=0&&(z.model.extendSelectionTo(Oa,Ro),Bs(a)),Ke&&Rh(z.model)}Ru&&Math.abs(Ru.x-bt)<5&&Math.abs(Ru.y-Bt)<5&&Date.now()<Ru.time+500?(Gd+=1,Ru.time=Gt):(Ru={x:bt,y:Bt,time:Gt},Gd=1);const xr=hn.getBoundingClientRect();if(bt>=xr.left&&bt<=xr.right&&Bt>=xr.top&&Bt<=xr.bottom){if(a.flushInlineShortcutBuffer(),a.adoptStyle="left",ue=Xd(a,bt,Bt,{bias:0}),ue>=0){if(a.element.classList.add("tracking"),y.shiftKey){const Gr=a.model.selectionIsCollapsed;a.model.extendSelectionTo(a.model.anchor,ue),yp(a.model)||Gr?tt="all":tt="selection"}else a.model.at(ue).type==="placeholder"?(a.model.setSelection(ue-1,ue),tt="selection"):((b=a.model.at(ue).rightSibling)==null?void 0:b.type)==="placeholder"?(a.model.setSelection(ue,ue+1),tt="selection"):(a.model.position=ue,yp(a.model)?tt="all":tt="selection");a.defaultStyle={},y.detail===3||Gd>2?(Cr(),(y.detail===3||Gd===3)&&(a.model.selection={ranges:[[0,a.model.lastOffset]]},tt="all")):Pe||(Pe=!0,Uf.start(hn,y,ui,Cr),(y.detail===2||Gd===2)&&(Ke=!0,Rh(a.model),tt="all"))}a.hasFocus()||(tt="none",a.focus({preventScroll:!0}))}else Ru=null;a.stopCoalescingUndo(),tt!=="none"&&(a.model.selectionIsCollapsed&&(tt="all"),Bs(a)),y.preventDefault()}function eg(a,y,b){if(a>=b.left&&a<=b.right&&y>=b.top&&y<=b.bottom)return 0;const z=a-(b.left+b.right)/2,ue=y-(b.top+b.bottom)/2;return z*z+ue*ue}function Zp(a,y,b,z,ue){if(!b.id)return[1/0,null];if(y.has(b.id))return y.get(b.id);const Pe=ou(a,b);if(!Pe)return[1/0,null];let Ke=[1/0,null];if(b.hasChildren&&!b.captureSelection&&z>=Pe.left&&z<=Pe.right)for(const tt of b.children){const ct=Zp(a,y,tt,z,ue);ct[0]<=Ke[0]&&(Ke=ct)}return Ke[1]||(Ke=[eg(z,ue,Pe),b]),y.set(b.id,Ke),Ke}function tg(a,y,b){const[,z]=Zp(a,new Map,a.model.root,y,b);return z}function Xd(a,y,b,z){var ue;const Pe=a.field.querySelector(".ML__latex").getBoundingClientRect();if(!Pe)return 0;if(y>Pe.right||b>Pe.bottom+8)return a.model.lastOffset;if(y<Pe.left||b<Pe.top-8)return 0;z=z!=null?z:{},z.bias=(ue=z.bias)!=null?ue:0;let Ke=tg(a,y,b);const tt=[];let ct=Ke;for(;ct;)tt.unshift(ct),ct=ct.parent;for(const bt of tt)if(bt.captureSelection){Ke=bt;break}let ht=a.model.offsetOf(Ke);if(ht<0)return-1;if(Ke.leftSibling)if(z.bias===0&&Ke.type!=="placeholder"){const bt=ou(a,Ke);bt&&y<(bt.left+bt.right)/2&&(ht=a.model.offsetOf(Ke.leftSibling))}else z.bias<0&&(ht=a.model.offsetOf(Ke.leftSibling));return ht}var ng=class extends so{constructor(){super("math")}onPaste(a,y){if(!y||!a.model.contentWillChange({data:typeof y=="string"?y:null,dataTransfer:typeof y=="string"?null:y,inputType:"insertFromPaste"}))return!1;let b="",z="auto",ue=typeof y!="string"?y.getData("application/json+mathlive"):"";if(ue)try{const Pe=JSON.parse(ue);if(Pe&&Array.isArray(Pe)){a.snapshot();const Ke=cu(Pe),{model:tt}=a;tt.selectionIsCollapsed||tt.deleteAtoms(ll(tt.selection));const ct=tt.at(tt.position);if(ct.parent instanceof co){console.assert(ct.parentBranch!==void 0);const ht=[];let bt=[];Ke[0].type==="first"&&Ke.shift(),Ke[Ke.length-1].type==="first"&&Ke.pop();for(const xn of Ke)xn.type==="first"&&bt.length>0?(ht.push(bt),bt=[xn]):bt.push(xn);bt.length>0&&ht.push(bt);let Bt=Number(ct.parentBranch[0]),Gt=Number(ct.parentBranch[1]);const hn=ct.parent.maxColumns;for(;ct.parent.colCount-Gt<ht.length&&ct.parent.colCount<hn;)ct.parent.addColumn();ct.parent.addChildrenAfter(ht[0],ct);for(let xn=1;xn<ht.length;xn++)Gt++,Gt>=hn&&(Gt=0,ct.parent.addRowAfter(Bt),Bt++),ct.parent.setCell(Bt,Gt,ht[xn])}else ct.parent.addChildrenAfter(Ke.filter(ht=>ht.type!=="first"),ct);return tt.position=tt.offsetOf(Ke[Ke.length-1]),tt.contentDidChange({inputType:"insertFromPaste"}),Bs(a),!0}}catch(Pe){}if(ue=typeof y!="string"?y.getData("application/json"):"",ue&&window.MathfieldElement.computeEngine)try{const Pe=JSON.parse(ue);if(typeof Pe=="object"&&"latex"in Pe&&Pe.latex&&(b=Pe.latex),!b){const Ke=window.MathfieldElement.computeEngine.box(Pe);Ke&&!Ke.has("Error")&&(b=Ke.latex)}b||(z="latex")}catch(Pe){}if(!b&&typeof y!="string"&&(b=y.getData("application/x-latex"),b&&(z="latex")),b||(b=typeof y=="string"?y:y.getData("text/plain")),b){let Pe;return[Pe,b]=Ac(b),z==="auto"&&Pe&&(z="latex"),a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b,{format:z})&&(a.startRecording(),a.snapshot("paste"),Bs(a)),a.startRecording(),!0}return!1}insert(a,y,b){var z,ue;const Pe=typeof y=="string"?y:(ue=(z=window.MathfieldElement.computeEngine)==null?void 0:z.box(y).latex)!=null?ue:"";if(!b.silenceNotifications&&!a.contentWillChange({data:Pe,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:Ke}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const tt=a.silenceNotifications;a.silenceNotifications=!0;const ct={"?":"\\placeholder{}","@":"\\placeholder{}"};ct[0]=b.insertionMode==="replaceAll"?"":a.getValue(a.selection,"latex-unstyled"),b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(ll(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 ht=-1;ct[0]?ct["@"]=ct[0]:typeof y=="string"&&/(^|[^\\])#@/.test(y)&&(ht=ig(a),ht>=0&&(ct["@"]=a.getValue(ht,a.position,"latex"))),ct[0]||(ct[0]=ct["?"]);let bt=!1;const Bt=vi=>(bt=!0,ct[vi]);let[Gt,hn]=Gp(a,y,Bt,b);if(!hn)return!1;const xn=hn.length===1&&hn[0].type==="genfrac";xn&&ht>=0&&typeof a.mathfield.options.isImplicitFunction=="function"&&a.mathfield.options.isImplicitFunction(a.at(a.position).command)?(ct["@"]=ct["?"],bt=!1,[Gt,hn]=Gp(a,y,Bt,b)):ht>=0&&a.deleteAtoms([ht,a.position]);const{parent:Cr}=a.at(a.position),ui=Cr.hasEmptyBranch("body");if(xn&&Gt!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Cr instanceof Uo&&Cr.leftDelim==="("&&ui){const vi=Cr.parent,qr=Cr.parentBranch;vi.removeChild(Cr),vi.setChildren(hn,qr)}const xr=a.at(a.position);xr.parent.addChildrenAfter(hn,xr),Gt==="latex"&&typeof y=="string"&&(Cr==null?void 0:Cr.type)==="root"&&ui&&!bt&&(Cr.verbatimLatex=y),a.silenceNotifications=tt;const Gr=hn[hn.length-1];if(b.selectionMode==="placeholder"){const vi=hn.flatMap(qr=>[qr,...qr.children]).find(qr=>qr.type==="placeholder");if(vi){const qr=a.offsetOf(vi);a.setSelection(qr-1,qr),a.announce("move")}else Gr&&(a.position=a.offsetOf(Gr))}else b.selectionMode==="before"||(b.selectionMode==="after"?Gr&&(a.position=a.offsetOf(Gr)):b.selectionMode==="item"&&a.setSelection(a.anchor,a.offsetOf(Gr)));return a.contentDidChange({data:Pe,inputType:"insertText"}),a.silenceNotifications=Ke,!0}};function Gp(a,y,b,z){var ue;let Pe,Ke=[];if(typeof y!="string"||z.format==="math-json"){const tt=window.MathfieldElement.computeEngine;if(!tt)return["math-json",[]];[Pe,y]=["latex",tt.box(y).latex],Ke=ul(y,{context:a.mathfield.context})}else typeof y=="string"&&z.format==="ascii-math"?([Pe,y]=Eu(y,{format:"ascii-math",inlineShortcuts:a.mathfield.options.inlineShortcuts}),Ke=ul(y,{context:a.mathfield.context}),Pe!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Vf(Ke)):(z.format==="auto"||(ue=z.format)!=null&&ue.startsWith("latex"))&&(z.format==="auto"&&([Pe,y]=Eu(y,{format:"auto",inlineShortcuts:a.mathfield.options.inlineShortcuts})),z.format==="latex"&&([,y]=Ac(y)),Ke=ul(y,{context:a.mathfield.context,args:b}),z.format!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Vf(Ke));return du(Ke,z.style),[Pe!=null?Pe:"latex",Ke]}function rg(a){if(!a||(console.assert(a[0].type==="first"),a.length>1))return null;const y=a[0];return y instanceof Uo&&y.leftDelim==="("&&y.rightDelim===")"?y.removeBranch("body"):null}function Vf(a){if(a){for(let y=0;a[y];y++){const b=a[y];if(b instanceof Uo&&b.leftDelim==="("){let z=0,ue=0,Pe=0;for(let Ke=0;b.body[Ke];Ke++)b.body[Ke].type==="genfrac"&&(z++,ue=Ke),Pe++;Pe===0&&z===1&&(a[y]=b.body[ue])}}for(const y of a){for(const b of y.branches)if(!y.hasEmptyBranch(b)){Vf(y.branch(b));const z=rg(y.branch(b));z&&y.setChildren(z,b)}if(y instanceof co)for(const b of y.cells)Vf(b)}}}function ig(a){let y=a.at(a.position);if(y.mode==="text"){for(;!y.isFirstSibling&&y.mode==="text";)y=y.leftSibling;return a.offsetOf(y)}const b=y;let z=!1;if(y.type==="mclose"){const ue=we[y.value];for(;!y.isFirstSibling&&!(y.type==="mopen"&&y.value===ue);)y=y.leftSibling;y.isFirstSibling||(y=y.leftSibling),z=!0}else y.type==="leftright"&&(y=y.leftSibling,z=!0);if(z)for(;!y.isFirstSibling&&(y.isFunction||Xp(y));)y=y.leftSibling;else{const ue=[];for(;!y.isFirstSibling&&(Xp(y)||ue.length>0);)y.type==="mclose"&&ue.unshift(y.value),y.type==="mopen"&&ue.length>0&&y.value===we[ue[0]]&&ue.shift(),y=y.leftSibling}return b===y?-1:a.offsetOf(y)}function Xp(a){return a.isDigit()?!0:a.type&&/^(mord|surd|subsup|leftright|mop|mclose)$/.test(a.type)?!a.isExtensibleSymbol:!1}new ng;var ag=class extends so{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"),Bs(a)),a.startRecording(),!0):!1}insert(a,y,b={}){if(!a.contentWillChange({data:y,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:z}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const ue=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(ll(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 Pe=og(y,a.mathfield.context);if(du(Pe,b.style),!Pe)return!1;const Ke=a.at(a.position),tt=Ke.parent.addChildrenAfter(Pe,Ke);return a.silenceNotifications=ue,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(tt)):tt&&(a.position=a.offsetOf(tt))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=z,!0}};function og(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 "),ul(a,{context:y,parseMode:"text"})}new ag;function Ic(a){return{value:a.model.getValue(),selectionIsCollapsed:a.model.selectionIsCollapsed,canUndo:a.canUndo(),canRedo:a.canRedo(),style:a.selectionStyle,mode:a.model.mode}}var bs=4,Pl=20,el=2*(Pl+bs),Zf=(a,y)=>`
<line x1="${a+Pl}" y1="${y+Pl}"
x2="${a>y?a+Pl:7*Pl+10*bs}"
y2="${a<y?y+Pl:7*Pl+10*bs}"/>
<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>`,Yp=(a,y)=>`
<line x1="${a+Pl}" y1="${y+Pl}"
x2="${a>y?a+Pl:7*Pl+10*bs}"
y2="${a<y?y+Pl:7*Pl+10*bs}"/>
<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>`,Gf=(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>`,sg=`
<svg class="MLEP__array-buttons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox=
"-2 -2 ${8*Pl+10*bs+5} ${8*Pl+10*bs+5}">
<rect
class="MLEP__array-insert-background rows"
x="0"
y="${el+bs}"
height="${3*el}"
width="${el}"
rx="${el/2}"/>
<rect
class="MLEP__array-insert-background columns"
x="${el+bs}"
y="0"
height="${el}"
width="${3*el}"
rx="${el/2}"/>
<g data-command='"moveDown"'>
${Gf(2*(bs+el),2*bs+3*el,0)}
</g>
<g data-command='"moveUp"'>
${Gf(2*(bs+el),2*bs+el,180)}
</g>
<g data-command='"moveToNextWord"'>
${Gf(2*bs+3*el,2*(bs+el),-90)}
</g>
<g data-command='"moveToPreviousWord"'>
${Gf(2*bs+el,2*(bs+el),90)}
</g>
<g>
<g data-command='"addColumnBefore"'>
${Zf(2*bs+el,bs)}
</g>
<g data-command='"removeColumn"'>
${Yp(2*bs+2*el,bs)}
</g>
<g data-command='"addColumnAfter"'>
${Zf(2*bs+3*el,bs)}
</g>
<g data-command='"addRowBefore"'>
${Zf(bs,2*bs+el)}
</g>
<g data-command='"removeRow"'>
${Yp(bs,2*bs+2*el)}
</g>
<g data-command='"addRowAfter"'>
${Zf(bs,2*bs+3*el)}
</g>
</svg>`,lg=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>`,cg=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>`,Qp=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>`,ug=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>`,dg=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>`,fg=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>`,hg=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>`,pg=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>`,_h={matrix:lg,pmatrix:cg,bmatrix:ug,Bmatrix:Qp,vmatrix:dg,Vmatrix:fg},Fh={cases:hg,rcases:pg,Bmatrix:Qp};function mg(a){var y,b;const z=(y=a.model.parentEnvironment)==null?void 0:y.array;if(!z)return;let ue=0;z.forEach(xn=>{(!ue||xn.length>ue)&&(ue=xn.length)});let Pe=document.getElementById("mathlive-environment-popover");Pe||(Pe=Mf("mathlive-environment-popover"),jl("environment-popover"),jl("core"),Pe.setAttribute("aria-hidden","true"));let Ke;const tt=Pe.querySelector(".MLEP__environment-controls");tt?Ke=tt:(Ke=document.createElement("div"),Pe.innerHTML="",Pe.appendChild(Ke)),Ke.className="MLEP__environment-controls",Ke.style.display="flex",Ke.style.width="100%",Ke.style.height="100%",Ke.style.boxSizing="border-box",Ke.innerHTML=sg;let ct=[],ht="";const bt=a.model.parentEnvironment.environmentName;if(Sl(bt)){const xn=gg(bt);ht=_h[xn]("active");const Cr=_h,{[xn]:ui}=Cr,xr=he(Cr,[oe(xn)]);ct=Object.values(xr).map(Gr=>Gr("inactive"))}else if(Cl(bt)){const xn=yg(bt);ht=Fh[xn]("active");const Cr=Fh,{[xn]:ui}=Cr,xr=he(Cr,[oe(xn)]);ct=Object.values(xr).map(Gr=>Gr("inactive"))}else Ys(bt)&&(ht=_h.matrix("active"),ct=Object.values(Fh).map(xn=>xn("inactive")));const Bt=document.createElement("div");Bt.className="MLEP__environment-delimiter-controls",Bt.style.display="flex",Bt.style.flexDirection="column",Bt.innerHTML=`
<div class='MLEP__array-delimiter-options'>
${ht}
${ct.join("")}
</div>`,ht&&Ke.appendChild(Bt),Ke.querySelectorAll("[data-command]").forEach(xn=>{const Cr=xn.dataset.command;let ui=Cr;try{ui=JSON.parse(Cr)}catch(xr){}xn.addEventListener("mousedown",xr=>xr.preventDefault()),ui&&xn.addEventListener("click",()=>a.executeCommand(ui))});const hn=(b=a.field)==null?void 0:b.getBoundingClientRect();hn&&(Pe.style.top=`${window.scrollY+(hn.top-Pe.clientHeight-15)}px`,Pe.style.left=`${hn.left+20}px`,Pe.classList.add("is-visible"))}function jh(){const a=document.getElementById("mathlive-environment-popover");a==null||a.classList.remove("is-visible")}function vg(){document.getElementById("mathlive-environment-popover")&&(xh("mathlive-environment-popover"),E("environment-popover"),E("core"))}function Xf(a){if(!a.hasFocus())return;let y=!1;if(a.model.mode==="math"){const b=a.model.parentEnvironment;if(b!=null&&b.array&&Os(b.environmentName)){const z=a.options.environmentPopoverPolicy;y=z==="auto"||z==="on"}}y?mg(a):jh()}function gg(a){return a.replace("*","")}function yg(a){return a==="dcases"?"cases":a}function Jp(a){const y=getComputedStyle(a).direction;return y==="ltr"||y==="rtl"?y:"ltr"}function $p(a,y,b){return y==="left"||y==="leading"&&b==="ltr"||y==="trailing"&&b==="rtl"?a.left:a.right}function Kh(a,y,b,z){return b==="middle"?a-y/2:b==="start"&&z==="rtl"||b==="end"&&z==="ltr"||b==="top"||b==="right"?Math.max(0,a-y):a}function bg(a,y,b,z){return b==="middle"?a-y/2:b==="start"&&z==="ltr"||b==="end"&&z==="rtl"||b==="top"||b==="right"?a:a-y}function xg(a,y){var b,z,ue;const Pe=(b=Jp(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 Ke=a.getBoundingClientRect(),tt=Number.isFinite(y.maxHeight)?Math.min(y.maxHeight,window.innerHeight):window.innerHeight;let ct=Math.min(tt,(z=y.height)!=null?z:Ke.height),ht=Kh(y.location.y,ct,y.verticalPos,Pe);ht+ct>window.innerHeight-8&&(y.alternateLocation?(ht=Kh(y.alternateLocation.y,ct,y.verticalPos,Pe),ht+ct>window.innerHeight-8&&(ht=void 0)):ht=void 0),Number.isFinite(ht)||(ht=Math.max(8,window.innerHeight-8-ct),8+ct>window.innerHeight-8&&(a.style.bottom="8px")),ct=Math.min(ht+ct,window.innerHeight-8)-ht;const bt=Number.isFinite(y.maxWidth)?Math.min(y.maxWidth,window.innerWidth):window.innerWidth;let Bt=Math.min(bt,(ue=y.width)!=null?ue:Ke.width),Gt=Kh(y.location.x,Bt,y.horizontalPos,Pe);Gt+Bt>window.innerWidth-8&&(y.alternateLocation?(Gt=bg(y.alternateLocation.x,Bt,y.verticalPos,Pe),Gt+Bt>window.innerWidth-8&&(Gt=void 0)):Gt=void 0),Number.isFinite(Gt)||(Gt=Math.max(8,window.innerWidth-8-Bt),8+Bt>window.innerWidth-8&&(a.style.right="8px")),Bt=Math.min(Gt+Bt,window.innerWidth-8)-Gt,Pe==="rtl"?a.style.right=`${Math.ceil(window.innerWidth-Gt-Bt).toString()}px`:a.style.left=`${Math.ceil(Gt).toString()}px`,a.style.top=`${Math.ceil(ht).toString()}px`,ct!==Ke.height&&(a.style.height=`${Math.ceil(ct).toString()}px`),Bt!==Ke.width&&(a.style.width=`${Math.ceil(Bt).toString()}px`)}function wg(a,y){return Math.hypot(y.x-a.x,y.y-a.y)}function ad(a){return"submenu"in a}function Lc(a){return"type"in a&&a.type==="command"||"onMenuSelect"in a||"id"in a}function zh(a){return"type"in a&&a.type==="divider"}function Hh(a){return"type"in a&&a.type==="heading"}var qp={};function Wh(a){let y=qp[a];if(!y){let b;switch(a){case"checkmark":b=`<span aria-hidden="true" class="ui-checkmark"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z"></path></svg>
</span>`;break;case"trailing-chevron":b='<span aria-hidden="true" class="ui-trailing-chevron"><svg focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg></span>';break;case"mixedmark":b='<span aria-hidden="true" class="ui-mixedmark"><svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 512 512"><path fill="currentColor" d="M0 256c0-13.3 10.7-24 24-24H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24z"/></svg></span>'}if(b){const z=document.createElement("template");z.innerHTML=b,qp[a]=z,y=z}}if(y){if("content"in y)return y.content.cloneNode(!0);const b=document.createElement("svg");return b.innerHTML=y.innerHTML,b}}var em=80,tm=class{constructor(a,y){this._element=null;var b;this.parentMenu=y,this._declaration=a,ad(a)?(this.type="submenu",this.submenu=new nm(a.submenu,{parentMenu:y,submenuClass:a.submenuClass,columnCount:a.columnCount})):this.type=(b=a.type)!=null?b:"command",this.hasCheck=Lc(a)&&a.checked!==void 0}get rootMenu(){return this.parentMenu.rootMenu}get abortController(){return this._abortController||(this._abortController=new AbortController),this._abortController}dispose(){var a,y;(a=this._abortController)==null||a.abort(),this._abortController=void 0,(y=this._element)==null||y.remove(),this._element=null,this.submenu&&this.submenu.dispose(),this.submenu=void 0}get menuItem(){return this._declaration}get label(){var a;return(a=this._label)!=null?a:""}set label(a){a===void 0&&(a=""),a!==this._label&&(this._label=a,this.dirty=!0)}get visible(){return this._visible}set visible(a){a!==this._visible&&(this._visible=a,this.dirty=!0)}get enabled(){return this._enabled}set enabled(a){this._enabled=a,this.element&&(a?this.element.removeAttribute("aria-disabled"):this.element.setAttribute("aria-disabled","true")),this.dirty=!0}get checked(){return this._checked}set checked(a){this._checked=a,this.dirty=!0}get tooltip(){return this._tooltip}set tooltip(a){a!==this._tooltip&&(this._tooltip=a,this.dirty=!0)}get ariaLabel(){return this._ariaLabel}set ariaLabel(a){a!==this._ariaLabel&&(this._ariaLabel=a,this.dirty=!0)}get active(){var a,y;return(y=(a=this.element)==null?void 0:a.classList.contains("active"))!=null?y:!1}set active(a){this.element&&this.element.classList.toggle("active",a)}updateState(a){var y,b,z;const ue=this._declaration;if(zh(ue)){this.enabled=!1,this.checked=!1;return}Hh(ue)&&(this.enabled=!1,this.checked=!1,this.visible=!0),Lc(ue)&&(this.checked=Lc(ue)&&((y=od(ue.checked,a))!=null?y:!1)),(Lc(ue)||ad(ue))&&(this.enabled=(b=od(ue.enabled,a))!=null?b:!0,this.visible=(z=od(ue.visible,a))!=null?z:!0,this.visible&&this.enabled&&this.submenu&&(this.submenu.updateState(a),this.submenu.visible||(this.visible=!1))),(Lc(ue)||Hh(ue)||ad(ue))&&(this.label=od(ue.label,a),this.tooltip=od(ue.tooltip,a),this.ariaLabel=od(ue.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(Wh("checkmark"))):this.checked==="mixed"?(a.setAttribute("aria-checked","mixed"),a.append(Wh("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),Lc(this._declaration)&&this._declaration.keyboardShortcut){const b=document.createElement("kbd");b.innerHTML=yh(this._declaration.keyboardShortcut),a.append(b)}this.type==="submenu"&&a.append(Wh("trailing-chevron"))}get element(){if(this._element)return this._element;if(zh(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,(Lc(this._declaration)||Hh(this._declaration)||ad(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(!Lc(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()},em)},em)}openSubmenu(a){var y;if(this.type!=="submenu"||!this.element)return;if((y=a==null?void 0:a.withDelay)!=null&&y){this.rootMenu.scheduleOperation(()=>this.openSubmenu());return}const b=this.element.getBoundingClientRect(),z=Jp(this.element);this.submenu.show({container:this.rootMenu.element.parentNode,location:{x:$p(b,"trailing",z),y:b.top-4},alternateLocation:{x:$p(b,"leading",z),y:b.top-4}})}movingTowardSubmenu(a){if(!this.element||this.type!=="submenu")return!1;const y=this.rootMenu.lastMoveEvent;if(!y)return!1;const b=a.timeStamp-y.timeStamp;if(b>500)return!1;const z=a.clientX-y.clientX;if(Sg(z,y.clientY-a.clientY,b)<=.2)return!1;let Pe="right";if(this.submenu.element){const Ke=this.submenu.element.getBoundingClientRect(),tt=this.element.getBoundingClientRect();Ke.left<tt.left+tt.width/2&&(Pe="left")}return Pe==="right"?z>0:z<0}};function Sg(a,y,b){return Math.hypot(a,y)/b}function od(a,y){return a===void 0||typeof a!="function"?a:(y!=null||(y={alt:!1,control:!1,shift:!1,meta:!1}),a(y))}var nm=class pd{constructor(y,b){this._element=null,this._activeMenuItem=null,this._dirty=!0;var z,ue;this.parentMenu=(z=b==null?void 0:b.parentMenu)!=null?z:null,this._submenuClass=b==null?void 0:b.submenuClass,this.columnCount=(ue=b==null?void 0:b.columnCount)!=null?ue:1,this.isSubmenuOpen=!1,this.menuItems=y}get children(){return this._menuItems}set menuItems(y){const b=this.parentMenu;this.dispose(),this.parentMenu=b,y=[...y],this._menuItems=y.map(z=>z.onCreate?z.onCreate(z,this):new tm(z,this)),this.hasCheck=void 0,this.dirty=!0}dispose(){var y;this.hide(),this._element&&this._element.remove(),this._abortController&&this._abortController.abort(),(y=this._menuItems)==null||y.forEach(b=>b.dispose()),this._menuItems=[],this._activeMenuItem=null,this.parentMenu=null}handleEvent(y){if(y.type==="wheel"&&this._element){const b=y;this._element.scrollBy(0,b.deltaY),y.stopPropagation()}}dispatchEvent(y){return this.rootMenu.dispatchEvent(y)}get rootMenu(){return this.parentMenu.rootMenu}updateState(y){var b,z,ue;this._menuItems.forEach(ht=>ht.updateState(y));const Pe=this.hasCheck;this.hasCheck=this._menuItems.some(ht=>ht.visible&&ht.hasCheck),this.hasCheck!==Pe&&this._menuItems.forEach(ht=>ht.updateState(y));let Ke,tt=0;for(const ht of this._menuItems)ht.type==="heading"?(Ke&&tt===0&&(Ke.visible=!1),Ke=ht,tt=0):ht.type==="divider"&&Ke?(Ke.visible=tt>0,Ke=void 0,tt=0):Ke&&ht.visible&&(tt+=1);Ke&&(Ke.visible=tt>0);let ct=!0;for(const ht of this._menuItems)ht.type==="divider"?(ht.visible=!ct,ct=!0):ht.visible&&(ct=!1);(b=this.activeMenuItem)!=null&&b.visible||(this.activeMenuItem=null),!((z=this.activeMenuItem)!=null&&z.enabled)&&((ue=this.activeMenuItem)==null?void 0:ue.type)==="submenu"&&this._activeMenuItem.submenu.hide(),this._dirty=!1}get enabled(){return this.updateIfDirty(),this._menuItems.some(y=>y.type!=="divider"&&y.visible&&y.enabled)}get visible(){return this.updateIfDirty(),this._menuItems.some(y=>y.type!=="divider"&&y.visible)}set dirty(y){console.assert(y===!0),this._dirty!==y&&y&&this.parentMenu&&(this._dirty=!0,this.parentMenu.dirty=!0)}updateIfDirty(){this._dirty&&this.updateState(this.rootMenu.modifiers)}updateElement(){var y;if(this._element){this._element.textContent="";for(const{element:b,visible:z}of this._menuItems)b&&z&&this._element.append(b);(y=this._element.querySelector("li:first-of-type"))==null||y.setAttribute("tabindex","0")}}get element(){if(this._element)return this._element;const y=document.createElement("menu");y.setAttribute("role","menu"),y.setAttribute("tabindex","-1"),y.setAttribute("aria-orientation","vertical"),y.setAttribute("part","ui-menu-container"),this._submenuClass&&y.classList.add(this._submenuClass),y.classList.add("ui-menu-container"),this._abortController||(this._abortController=new AbortController);const b=this._abortController.signal;return y.addEventListener("focus",this,{signal:b}),y.addEventListener("wheel",this,{passive:!0,signal:b}),this._element=y,this.updateElement(),y}get activeMenuItem(){return this._activeMenuItem}set activeMenuItem(y){var b,z,ue,Pe;if(this.rootMenu.cancelDelayedOperation(),y!==this._activeMenuItem){if(this.activeMenuItem){const Ke=this.activeMenuItem;Ke.active=!1,(b=Ke.submenu)==null||b.hide()}if(!((z=y==null?void 0:y.visible)==null||z)){this._activeMenuItem=null;return}this._activeMenuItem=y,y&&(y.active=!0)}y?(ue=y.element)==null||ue.focus({preventScroll:!0}):(Pe=this._element)==null||Pe.focus({preventScroll:!0})}get firstMenuItem(){this.updateIfDirty();let y=0,b=!1;const z=this._menuItems;for(;!b&&y<=z.length-1;){const ue=z[y];b=ue.type!=="divider"&&ue.visible&&ue.enabled,y+=1}return b?z[y-1]:null}get lastMenuItem(){this.updateIfDirty();const y=this._menuItems;let b=y.length-1,z=!1;for(;!z&&b>=0;){const ue=y[b];z=ue.type!=="divider"&&ue.visible&&ue.enabled,b-=1}return z?y[b+1]:null}nextMenuItem(y){if(y===0)return this._activeMenuItem;if(!this._activeMenuItem)return y>0?this.firstMenuItem:this.lastMenuItem;if(!this.firstMenuItem||!this.lastMenuItem||!this._activeMenuItem)return null;this.updateIfDirty();const b=this._menuItems.indexOf(this.firstMenuItem),z=this._menuItems.indexOf(this.lastMenuItem);let ue=this._menuItems.indexOf(this._activeMenuItem),Pe=1;for(;ue>=b&&ue<=z;){ue+=y>0?1:-1;const Ke=this._menuItems[ue];if(!Ke)break;if(Ke.visible&&Ke.enabled){if(Pe===Math.abs(y))return this._menuItems[ue];Pe+=1}}return y>0?this.lastMenuItem:this.firstMenuItem}getMenuItemColumn(y){this.updateIfDirty();const z=this._menuItems.filter(ue=>ue.visible&&ue.enabled).indexOf(y);return z<0?-1:z%this.columnCount}static get collator(){return pd._collator||(pd._collator=new Intl.Collator(void 0,{usage:"search",sensitivity:"base"})),pd._collator}findMenuItem(y){var b;this.updateIfDirty();const z=this._menuItems.filter(tt=>tt.type!=="divider"&&tt.visible&&tt.enabled);if(z.length===0)return null;const ue=Math.max(...z.map(tt=>tt.label.length))-y.length;if(ue<0)return null;let Pe=null,Ke=0;for(;Ke<ue&&!Pe;)Pe=(b=z.find(tt=>pd.collator.compare(y,tt.label.substring(Ke,y.length))===0))!=null?b:null,Ke++;return Pe}show(y){return!this.visible||!y.container?!1:(this.updateElement(),y.container.appendChild(this.element),xe()&&(this.element.popover="manual",this.element.showPopover()),y.location&&xg(this.element,{location:y.location,alternateLocation:y.alternateLocation,verticalPos:"bottom",horizontalPos:"start"}),this.element.focus({preventScroll:!0}),this.parentMenu&&(this.parentMenu.openSubmenu=this),!0)}hide(){var y,b,z,ue,Pe;this.openSubmenu=null,this.activeMenuItem=null,this.parentMenu&&(this.parentMenu.openSubmenu=null),xe()&&((y=this._element)!=null&&y.popover)&&this.element.hidePopover(),(z=(b=this.parentMenu)==null?void 0:b.element)==null||z.focus(),(Pe=(ue=this._element)==null?void 0:ue.parentNode)==null||Pe.removeChild(this._element)}set openSubmenu(y){var b,z,ue,Pe;const Ke=y!==null;((b=this.activeMenuItem)==null?void 0:b.type)==="submenu"&&((z=this.activeMenuItem.element)==null||z.setAttribute("aria-expanded",Ke.toString())),(Pe=(ue=this.activeMenuItem)==null?void 0:ue.element)==null||Pe.classList.toggle("is-submenu-open",Ke),this.isSubmenuOpen=Ke}},rm=class i0 extends nm{constructor(y,b){var z;super(y),this.state="closed",this.typingBufferResetTimer=0,this.hysteresisTimer=0,this._updating=!1,this._host=(z=b==null?void 0:b.host)!=null?z:null,this.isDynamic=y.some(im),this._modifiers={shift:!1,control:!1,alt:!1,meta:!1},this.typingBuffer="",this.state="closed"}get modifiers(){return this._modifiers}set modifiers(y){z0(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=ku(y)),y.stopImmediatePropagation()}handleKeydownEvent(y){var b,z,ue;if(y.key==="Tab"||y.key==="Escape"){this.hide();return}this.isDynamic&&(this.modifiers=ku(y));let Pe=!0;const Ke=this.activeSubmenu,tt=Ke.activeMenuItem;switch(y.key){case" ":case"Space":case"Return":case"Enter":tt==null||tt.select(ku(y));break;case"ArrowRight":if((tt==null?void 0:tt.type)==="submenu")tt.select(ku(y)),this.activeSubmenu.activeMenuItem=this.activeSubmenu.firstMenuItem;else if(!tt)Ke.activeMenuItem=Ke.firstMenuItem;else{const ct=(b=Ke.getMenuItemColumn(tt))!=null?b:-1;if(ct>=0&&ct<((z=Ke.columnCount)!=null?z:1)-1){const ht=Ke.nextMenuItem(1);ht&&(Ke.activeMenuItem=ht)}}break;case"ArrowLeft":if(Ke===this.rootMenu)tt||(Ke.activeMenuItem=Ke.firstMenuItem);else if((tt&&(ue=Ke.getMenuItemColumn(tt))!=null?ue:-1)<=0||!tt){Ke.hide();const ht=Ke.parentMenu.activeMenuItem;if(ht){const{element:bt}=ht;bt==null||bt.focus(),bt==null||bt.classList.remove("is-submenu-open")}}else{const ht=Ke.nextMenuItem(-1);ht&&(Ke.activeMenuItem=ht)}break;case"ArrowDown":Ke.activeMenuItem=Ke.nextMenuItem(Ke.columnCount);break;case"ArrowUp":Ke.activeMenuItem=Ke.nextMenuItem(-Ke.columnCount);break;case"Home":case"PageUp":Ke.activeMenuItem=Ke.firstMenuItem;break;case"End":case"PageDown":Ke.activeMenuItem=Ke.lastMenuItem;break;case"Backspace":if(this.typingBuffer&&(this.typingBuffer=this.typingBuffer.slice(0,-1),this.typingBuffer)){clearTimeout(this.typingBufferResetTimer);const ct=Ke.findMenuItem(this.typingBuffer);ct&&(Ke.activeMenuItem=ct),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}break;default:if(Cf(y)){isFinite(this.typingBufferResetTimer)&&clearTimeout(this.typingBufferResetTimer),this.typingBuffer+=y.key;const ct=Ke.findMenuItem(this.typingBuffer);ct&&(Ke.activeMenuItem=ct),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}else Pe=!1}Pe&&(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 Tc.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),Tc.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),Tc.state==="open"&&Tc.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(ne(ae({},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,Tc.element.parentElement.focus(),super.hide(),this.state="closed",this.disconnectScrim()),this._onDismiss&&(this._onDismiss(),this._onDismiss=void 0))}scheduleOperation(y){this.cancelDelayedOperation();const b=i0.SUBMENU_DELAY;if(b<=0){y();return}this.hysteresisTimer=setTimeout(()=>{this.hysteresisTimer=0,y()},b)}cancelDelayedOperation(){this.hysteresisTimer&&(clearTimeout(this.hysteresisTimer),this.hysteresisTimer=0)}};rm.SUBMENU_DELAY=120;var Cg=rm;function im(a){return zh(a)?!1:typeof a.label=="function"||typeof a.ariaLabel=="function"||typeof a.tooltip=="function"||(Lc(a)||ad(a))&&(typeof a.enabled=="function"||typeof a.visible=="function")||Lc(a)&&typeof a.checked=="function"?!0:ad(a)?a.submenu.some(im):!1}var Yf=class{};Yf.DELAY=300,Yf.MAX_DISTANCE=10;function Eg(a){return new Promise((y,b)=>{const z=Sf(a);z||y(!1);let ue=z;const Pe=setTimeout(()=>{Ke.abort(),y(wg(ue,z)<Yf.MAX_DISTANCE)},Yf.DELAY),Ke=new AbortController,tt=Ke.signal;for(const ct of["pointermove","pointerup","pointercancel"])window.addEventListener(ct,ht=>{if(ht.type==="pointerup"||ht.type==="pointercancel")clearTimeout(Pe),Ke.abort(),y(!1);else if(ht.type==="pointermove"){const bt=Sf(ht);bt&&(ue=bt)}},{passive:!0,signal:tt})})}function am(a,y,b){return pu(this,null,function*(){if(a.type==="contextmenu"){const z=a;if(b.show({target:y,location:Sf(z),modifiers:ku(z)}))return a.preventDefault(),a.stopPropagation(),!0}if(a.type==="keydown"){const z=a;if(z.code==="ContextMenu"||z.code==="F10"&&z.shiftKey){const ue=y==null?void 0:y.getBoundingClientRect();if(ue&&b.show({target:y,location:{x:Math.ceil(ue.left+ue.width/2),y:Math.ceil(ue.top+ue.height/2)},modifiers:ku(z)}))return a.preventDefault(),a.stopPropagation(),!0}}if(a.type==="pointerdown"&&a.pointerType!=="mouse"&&a.button===0){let z=a.target;for(;z&&y!==z;)z=z.parentNode;if(!z||!b.visible)return!1;const ue=Sf(a);if(yield Eg(a))return b.state!=="closed"?!1:(b.show({target:y,location:ue}),!0)}return!1})}var om={acute:714,grave:715,dot:729,ddot:168,mathring:730,tilde:126,bar:713,breve:728,check:711,hat:94,vec:8407};Ft(Object.keys(om),"{body:auto}",{createAtom:a=>new ee(ne(ae({},a),{body:rt(a.args[0]),accentChar:om[a.command.slice(1)]}))}),Ft(["widehat","widecheck","widetilde"],"{body:auto}",{createAtom:a=>{const y=xt(rt(a.args[0]));return new ee(ne(ae({},a),{body:rt(a.args[0]),svgAccent:a.command.slice(1)+(y.length>5?"4":["1","1","2","2","3","3"][y.length])}))}}),Ft(["overarc","overparen","wideparen"],"{body:auto}",{createAtom:a=>new ee(ne(ae({},a),{body:rt(a.args[0]),svgAccent:"overarc"}))}),Ft(["underarc","underparen"],"{body:auto}",{createAtom:a=>new tc(ne(ae({},a),{body:rt(a.args[0]),svgBelow:"underarc"}))}),Ft("utilde","{body:auto}",{createAtom:a=>{const y=rt(a.args[0]),b=xt(y),z="widetilde"+(b.length>5?"4":["1","1","2","2","3","3"][b.length]);return new tc(ne(ae({},a),{body:y,svgBelow:z,boxType:tu(y)}))}}),Ft("^","{:string}",{createAtom:a=>{var y;return new Br(ne(ae({},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:"^"}))}}),Ft("`","{:string}",{createAtom:a=>{var y;return new Br(ne(ae({},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:"`"}))}}),Ft("'","{:string}",{createAtom:a=>{var y;return new Br(ne(ae({},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:"'"}))}}),Ft('"',"{:string}",{createAtom:a=>{var y,b;return new Br(ne(ae({},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]:'"'}))}}),Ft(".","{:string}",{createAtom:a=>{var y,b;return new Br(ne(ae({},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]:"."}))}}),Ft("=","{:string}",{createAtom:a=>{var y,b;return new Br(ne(ae({},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]:"="}))}}),Ft("~","{:string}",{createAtom:a=>{var y;return new Br(ne(ae({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"}))}}),Ft("c","{:string}",{createAtom:a=>{var y;return new Br(ne(ae({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={c:"\xE7",C:"\xC7"}[a.args[0]])!=null?y:""}))}}),Ft("enclose","{notation:string}[style:string]{body:auto}",{createAtom:a=>{var y,b;const z=a.args,ue={strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",backgroundcolor:"transparent",padding:"auto",shadow:"none",svgStrokeStyle:void 0,borderStyle:void 0,style:(y=a.style)!=null?y:{}};if(z[1]){const Ke=z[1].split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const tt of Ke){const ct=tt.match(/\s*(\S+)\s+(\S+)\s+(.*)/);if(ct)ue.strokeWidth=ct[1],ue.strokeStyle=ct[2],ue.strokeColor=ct[3];else{const ht=tt.match(/\s*([a-z]*)\s*=\s*"(.*)"/);ht&&(ht[1]==="mathbackground"?ue.backgroundcolor=ht[2]:ht[1]==="mathcolor"?ue.strokeColor=ht[2]:ht[1]==="padding"?ue.padding=ht[2]:ht[1]==="shadow"&&(ue.shadow=ht[2]))}}ue.strokeStyle==="dashed"?ue.svgStrokeStyle="5,5":ue.strokeStyle==="dotted"&&(ue.svgStrokeStyle="1,5")}ue.borderStyle=`${ue.strokeWidth} ${ue.strokeStyle} ${ue.strokeColor}`;const Pe={};return((b=z[0])!=null?b:"").split(/[, ]/).filter(Ke=>Ke.length>0).forEach(Ke=>{Pe[Ke.toLowerCase()]=!0}),new Id(a.command,rt(z[2]),Pe,ue)}}),Ft("cancel","{body:auto}",{createAtom:a=>{var y;return new Id(a.command,rt(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:{}})}}),Ft("bcancel","{body:auto}",{createAtom:a=>{var y;return new Id(a.command,rt(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:{}})}}),Ft("xcancel","{body:auto}",{createAtom:a=>{var y;return new Id(a.command,rt(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:{}})}}),Ft(["overrightarrow","overleftarrow","Overrightarrow","overleftharpoon","overrightharpoon","overleftrightarrow","overlinesegment","overgroup"],"{:auto}",{createAtom:a=>{var y;return new tc(ne(ae({},a),{body:rt((y=a.args)==null?void 0:y[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgAbove:a.command.slice(1)}))}}),Ft("overbrace","{:auto}",{createAtom:a=>new tc(ne(ae({},a),{body:rt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgAbove:a.command.slice(1)}))}),Ft(["underrightarrow","underleftarrow","underleftrightarrow","underlinesegment","undergroup"],"{:auto}",{createAtom:a=>new tc(ne(ae({},a),{body:rt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgBelow:a.command.slice(1)}))}),Ft(["underbrace"],"{:auto}",{createAtom:a=>new tc(ne(ae({},a),{body:rt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgBelow:a.command.slice(1)}))}),Ft(["xrightarrow","longrightarrow","xleftarrow","longleftarrow","xRightarrow","xLeftarrow","xleftharpoonup","xleftharpoondown","xrightharpoonup","xrightharpoondown","xlongequal","xtwoheadleftarrow","xtwoheadrightarrow","xleftrightarrow","longleftrightarrow","xLeftrightarrow","xrightleftharpoons","longrightleftharpoons","xleftrightharpoons","xhookleftarrow","xhookrightarrow","xmapsto","xtofrom","xleftrightarrows","longleftrightarrows","xRightleftharpoons","longRightleftharpoons","xLeftrightharpoons","longLeftrightharpoons"],"[:auto]{:auto}",{createAtom:a=>{var y,b,z,ue,Pe;return new tc(ne(ae({},a),{svgBody:a.command.slice(1),above:((b=rt((y=a.args)==null?void 0:y[1]))==null?void 0:b.length)===0?void 0:rt((z=a.args)==null?void 0:z[1]),below:(Pe=rt((ue=a.args)==null?void 0:ue[0]))!=null?Pe: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)}`}),Ft(["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 Mu(a.command.slice(1),ne(ae({},a),{limits:"adjacent",isFunction:!0,variant:"main",variantStyle:"up"}))}),Ft(["liminf","limsup"],"",{ifMode:"math",createAtom:a=>new Mu({"\\liminf":"lim inf","\\limsup":"lim sup"}[a.command],ne(ae({},a),{limits:"over-under",variant:"main"}))}),Ft(["lim","mod"],"",{ifMode:"math",createAtom:a=>new Mu(a.command.slice(1),ne(ae({},a),{limits:"over-under",variant:"main"}))}),Ft(["det","max","min"],"",{ifMode:"math",isFunction:!0,createAtom:a=>new Mu(a.command.slice(1),ne(ae({},a),{limits:"over-under",isFunction:!0,variant:"main"}))}),Ft(["ang"],"{:math}",{ifMode:"math",createAtom:a=>new Br(ne(ae({},a),{body:rt(a.args[0])})),serialize:(a,y)=>`\\ang{${a.bodyToLatex(y)}}`,render:(a,y)=>{const b=a.createBox(y),z=b.caret;b.caret=void 0;const ue=new hi("\xB0",{style:ne(ae({},a.style),{variant:"normal",variantStyle:"up"})});return new hi([b,ue],{type:"inner",isSelected:a.isSelected,caret:z})}}),Ft("sqrt","[index:auto]{radicand:expression}",{ifMode:"math",createAtom:a=>new sp(ne(ae({},a),{body:rt(a.args[1]),index:a.args[0]?rt(a.args[0]):void 0}))}),Ft(["frac","dfrac","tfrac","cfrac","binom","dbinom","tbinom"],"{:expression}{:expression}",{ifMode:"math",createAtom:a=>{const y=ae({},a),b=a.command,z=a.args;switch(b){case"\\dfrac":case"\\frac":case"\\tfrac":y.hasBarLine=!0;break;case"\\atopfrac":y.hasBarLine=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":y.hasBarLine=!1,y.leftDelim="(",y.rightDelim=")";break;case"\\cfrac":y.hasBarLine=!0,y.continuousFraction=!0;break;default:}switch(b){case"\\dfrac":case"\\dbinom":y.mathstyleName="displaystyle";break;case"\\tfrac":case"\\tbinom":y.mathstyleName="textstyle";break;default:}return new Qu(z[0]?rt(z[0]):[new Wa],z[1]?rt(z[1]):[new Wa],y)},serialize:(a,y)=>{const b=a.aboveToLatex(y),z=a.belowToLatex(y);return/^[0-9]$/.test(b)&&/^[0-9]$/.test(z)?`${a.command}${b}${z}`:ys(a.command,b,z)}}),Ft(["brace","brack"],"",{infix:!0,createAtom:a=>new Qu(rt(a.args[0]),rt(a.args[1]),ne(ae({},a),{hasBarLine:!1,leftDelim:a.command==="\\brace"?"\\lbrace":"\\lbrack",rightDelim:a.command==="\\brace"?"\\rbrace":"\\rbrack"})),serialize:(a,y)=>Eo([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),Ft(["over","atop","choose"],"",{infix:!0,createAtom:a=>{let y,b;const z=a.args;return a.command==="\\choose"&&(y="(",b=")"),new Qu(rt(z[0]),rt(z[1]),ne(ae({},a),{hasBarLine:a.command==="\\over",leftDelim:y,rightDelim:b}))},serialize:(a,y)=>Eo([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),Ft(["overwithdelims","atopwithdelims"],"{numer:auto}{denom:auto}{left-delim:delim}{right-delim:delim}",{infix:!0,createAtom:a=>{var y,b;const z=a.args;return new Qu(rt(z[0]),rt(z[1]),ne(ae({},a),{leftDelim:(y=z[2])!=null?y:".",rightDelim:(b=z[3])!=null?b:".",hasBarLine:!1}))},serialize:(a,y)=>`${a.aboveToLatex(y)} ${a.command}${a.leftDelim}${a.rightDelim}${a.belowToLatex(y)}`}),Ft("pdiff","{numerator}{denominator}",{ifMode:"math",createAtom:a=>new Qu(rt(a.args[0]),rt(a.args[1]),ne(ae({},a),{hasBarLine:!0,numerPrefix:"\u2202",denomPrefix:"\u2202"}))}),Ft(["sum","prod","bigcup","bigcap","coprod","bigvee","bigwedge","biguplus","bigotimes","bigoplus","bigodot","bigsqcup","intop"],"",{ifMode:"math",createAtom:a=>new hh({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)],ne(ae({},a),{limits:"auto",variant:"main"}))}),Ft("smallint","",{ifMode:"math",createAtom:a=>new Mu("\u222B",ne(ae({},a),{limits:"adjacent",variant:"main"}))});var sm={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"};Ft(Object.keys(sm),"",{ifMode:"math",createAtom:a=>{const y=a.command,b=sm[y.slice(1)];return new hh(b,ne(ae({},a),{limits:"adjacent",variant:{"\u22D2":"ams","\u22D3":"ams"}[b]}))}}),Ft(["Re","Im"],"",{ifMode:"math",createAtom:a=>new Mu({"\\Re":"\u211C","\\Im":"\u2111"}[a.command],ne(ae({},a),{limits:"adjacent",isFunction:!0,variant:"fraktur"}))}),Ft("middle","{:delim}",{ifMode:"math",createAtom:a=>{var y;return new ip(ne(ae({},a),{delim:(y=a.args[0])!=null?y:"|",size:1}))}}),Ft("the","{:value}",{createAtom:a=>new Br(ne(ae({},a),{captureSelection:!0,verbatimLatex:null})),render:(a,y)=>{var b;const z=new Po({parent:y},a.style);let ue="";a.isSelected&&(ue+=" ML__selected");const Pe=z.evaluate(a.args[0]);return new hi(((b=Xs(Pe))!=null?b:"").split("").map(Ke=>new hi(Ke,{type:"ord",classes:ue,mode:a.mode,isSelected:a.isSelected,style:ae({variant:"main"},a.style)})),{type:"lift",style:a.style,caret:a.caret,isSelected:a.isSelected,classes:ue}).wrap(z)},serialize:a=>{var y;return`\\the${(y=Xs(a.args[0]))!=null?y:"\\relax"}`}}),Ft("mathtip","{:auto}{:math}",{createAtom:a=>new ph(ne(ae({},a),{body:rt(a.args[0]),tooltip:rt(a.args[1]),content:"math"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${Br.serialize([a.tooltip],ne(ae({},y),{defaultMode:"math"}))}}`}),Ft("texttip","{:auto}{:text}",{createAtom:a=>new ph(ne(ae({},a),{body:rt(a.args[0]),tooltip:rt(a.args[1]),content:"text"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${Br.serialize([a.tooltip],ne(ae({},y),{defaultMode:"text"}))}}`}),Ft("error","{:math}",{createAtom:a=>new Br(ne(ae({},a),{body:rt(a.args[0])})),serialize:(a,y)=>`\\error{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__error"})}),Ft("ensuremath","{:math}",{createAtom:a=>new Br(ne(ae({},a),{body:rt(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(ne(ae({},y),{defaultMode:"math"}))}}`}),Ft("color","{:value}",{applyStyle:(a,y,b)=>{var z,ue;return{verbatimColor:(z=Xs(y[0]))!=null?z:void 0,color:b.toColor((ue=y[0])!=null?ue:{string:"red"})}}}),Ft("textcolor","{:value}{content:auto*}",{applyStyle:(a,y,b)=>{var z,ue;return{verbatimColor:(z=Xs(y[0]))!=null?z:void 0,color:b.toColor((ue=y[0])!=null?ue:{string:"red"})}}}),Ft("boxed","{content:math}",{createAtom:a=>new Ws(ne(ae({},a),{body:rt(a.args[0]),framecolor:{string:"black"}}))}),Ft("colorbox","{:value}{:text*}",{applyStyle:(a,y,b)=>{var z,ue;return{verbatimBackgroundColor:(z=Xs(y[0]))!=null?z:void 0,backgroundColor:b.toBackgroundColor((ue=y[0])!=null?ue:{string:"yellow"})}}}),Ft("fcolorbox","{frame-color:value}{background-color:value}{content:text}",{applyMode:"text",createAtom:a=>{var y,b;return new Ws(ne(ae({},a),{body:rt(a.args[2]),framecolor:(y=a.args[0])!=null?y:{string:"blue"},backgroundcolor:(b=a.args[1])!=null?b:{string:"yellow"}}))},serialize:(a,y)=>{var b,z;return y.skipStyles?a.bodyToLatex(ne(ae({},y),{defaultMode:"text"})):ys(a.command,(b=Xs(a.framecolor))!=null?b:"",(z=Xs(a.backgroundcolor))!=null?z:"",a.bodyToLatex(ne(ae({},y),{defaultMode:"text"})))}}),Ft("bbox","[:bbox]{body:auto}",{createAtom:a=>{var y;const b=a.args[0],z=rt(a.args[1]);return b?new Ws(ne(ae({},a),{body:z,padding:b.padding,border:b.border,backgroundcolor:(y=b.backgroundcolor)!=null?y:void 0})):new Ws(ne(ae({},a),{body:z}))},serialize:(a,y)=>{var b,z;if(y.skipStyles)return a.bodyToLatex(y);let ue=a.command;if(Number.isFinite(a.padding)||a.border!==void 0||a.backgroundcolor!==void 0){const Pe=[];a.padding&&Pe.push((b=Xs(a.padding))!=null?b:""),a.border&&Pe.push(`border: ${a.border}`),a.backgroundcolor&&Pe.push((z=Xs(a.backgroundcolor))!=null?z:""),ue+=`[${Pe.join(",")}]`}return ys(ue,a.bodyToLatex(y))}}),Ft(["displaystyle","textstyle","scriptstyle","scriptscriptstyle"],"{:rest}",{createAtom:a=>new Br(ne(ae({},a),{body:rt(a.args[0])})),render:(a,y)=>{const b=new Po({parent:y,mathstyle:a.command.slice(1)},a.style),z=Br.createBox(b,a.body,{type:"lift"});return a.caret&&(z.caret=a.caret),a.bind(y,z)},serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`{${Eo([a.command,a.bodyToLatex(y)])}}`}),Ft(["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]})}),Ft("fontseries","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontSeries:(b=y[0])!=null?b:"auto"}}}),Ft("fontshape","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontShape:(b=y[0])!=null?b:"auto"}}}),Ft("fontfamily","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontFamily:(b=y[0])!=null?b:"roman"}}}),Ft("selectfont","",{ifMode:"text",applyStyle:()=>({})}),Ft("bf","{:rest}",{applyStyle:()=>({fontSeries:"b",fontShape:"n",fontFamily:"roman"})}),Ft(["boldsymbol","bm"],"{:math}",{applyMode:"math",createAtom:a=>new Br(ne(ae({},a),{body:rt(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__boldsymbol"})}),Ft("bold","{:math*}",{applyMode:"math",applyStyle:()=>({variantStyle:"bold"})}),Ft("bfseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),Ft("mdseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),Ft("upshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),Ft("slshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),Ft("scshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),Ft("textbf","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),Ft("textmd","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),Ft("textup","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),Ft("textnormal","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n",fontSeries:"m"})}),Ft("textsl","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),Ft("textit","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"it"})}),Ft("textsc","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),Ft("textrm","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"roman"})}),Ft("textsf","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"sans-serif"})}),Ft("texttt","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"monospace"})}),Ft("mathbf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"bold"})}),Ft("mathit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"italic"})}),Ft("mathnormal","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"italic"})}),Ft("mathbfit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"bolditalic"})}),Ft("mathrm","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"up"})}),Ft("mathsf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"sans-serif",variantStyle:"up"})}),Ft("mathtt","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"monospace",variantStyle:"up"})}),Ft("it","{:rest}",{applyStyle:()=>({fontSeries:"m",fontShape:"it",fontFamily:"roman",variantStyle:"italic"})}),Ft("rmfamily","",{applyStyle:()=>({fontFamily:"roman"})}),Ft("sffamily","",{applyStyle:()=>({fontFamily:"sans-serif"})}),Ft("ttfamily","",{applyStyle:()=>({fontFamily:"monospace"})}),Ft(["Bbb","mathbb"],"{:math*}",{applyStyle:()=>({variant:"double-struck",variantStyle:"up"})}),Ft(["frak","mathfrak"],"{:math*}",{applyStyle:()=>({variant:"fraktur",variantStyle:"up"})}),Ft("mathcal","{:math*}",{applyStyle:()=>({variant:"calligraphic",variantStyle:"up"})}),Ft("mathscr","{:math*}",{applyStyle:()=>({variant:"script",variantStyle:"up"})}),Ft("mbox","{:text}",{ifMode:"math",createAtom:a=>new Br(ne(ae({},a),{type:"mord",body:rt(a.args[0]),mode:"math"})),serialize:(a,y)=>ys("\\mbox",a.bodyToLatex(ne(ae({},y),{defaultMode:"text"})))}),Ft("text","{:text}",{ifMode:"math",applyMode:"text"}),Ft(["class","htmlClass"],"{name:string}{content:auto}",{createAtom:a=>new Br(ne(ae({},a),{body:rt(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:""})}}),Ft(["cssId","htmlId"],"{id:string}{content:auto}",{createAtom:a=>new Br(ne(ae({},a),{body:rt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const z=a.createBox(y);return z.cssId=(b=a.args[0])!=null?b:"",z}}),Ft("htmlData","{data:string}{content:auto}",{createAtom:a=>new Br(ne(ae({},a),{body:rt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`\\htmlData{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const z=a.createBox(y);return z.htmlData=(b=a.args[0])!=null?b:"",z}}),Ft(["style","htmlStyle"],"{data:string}{content:auto}",{createAtom:a=>new Br(ne(ae({},a),{body:rt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const z=a.createBox(y);return z.htmlStyle=(b=a.args[0])!=null?b:"",z}}),Ft("em","{:rest}",{createAtom:a=>new Br(ne(ae({},a),{body:rt(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"})}),Ft("emph","{:auto}",{createAtom:a=>new Br(ne(ae({},a),{body:rt(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 lm={"\\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}};Ft(["bigl","Bigl","biggl","Biggl","bigr","Bigr","biggr","Biggr","bigm","Bigm","biggm","Biggm","big","Big","bigg","Bigg"],"{:delim}",{createAtom:a=>{var y;return new ap(ne(ae({},a),{delim:(y=a.args[0])!=null?y:".",size:lm[a.command].size,delimType:lm[a.command].mclass}))}}),Ft(["hspace","hspace*"],"{width:value}",{createAtom:a=>{var y;return new Nd(ne(ae({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),Ft(["mkern","kern","mskip","hskip","mspace"],"{width:value}",{createAtom:a=>{var y;return new Nd(ne(ae({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),Ft("mathchoice","{:math}{:math}{:math}{:math}",{createAtom:a=>new Br(a),render:(a,y)=>{let b=0;const z=y.mathstyle.id;(z===wu||z===Sc)&&(b=1),(z===zc||z===bl)&&(b=2),(z===Fl||z===sl)&&(b=3);const ue=rt(a.args[b]);return Br.createBox(y,ue)},serialize:(a,y)=>`\\mathchoice{${Br.serialize(a.args[0],y)}}{${Br.serialize(a.args[1],y)}}{${Br.serialize(a.args[2],y)}}{${Br.serialize(a.args[3],y)}}`}),Ft("mathop","{:auto}",{createAtom:a=>new Br(ne(ae({},a),{type:"mop",body:rt(a.args[0]),limits:"over-under",isFunction:!0,captureSelection:!0})),render:(a,y)=>{var b;let z=Br.createBox(y,a.body);if(a.superscript||a.subscript){const ue=(b=a.subsupPlacement)!=null?b:"auto";z=ue==="over-under"||ue==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:z}):a.attachSupsub(y,{base:z})}return new hi(a.bind(y,z),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[ys(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)),Eo(b)}}),Ft(["mathbin","mathrel","mathopen","mathclose","mathpunct","mathord","mathinner"],"{:auto}",{createAtom:a=>new Br(ne(ae({},a),{type:{"\\mathbin":"mbin","\\mathrel":"mrel","\\mathopen":"mopen","\\mathclose":"mclose","\\mathpunct":"mpunct","\\mathord":"mord","\\mathinner":"minner"}[a.command],body:rt(a.args[0])}))}),Ft(["operatorname","operatorname*"],"{operator:math}",{createAtom:a=>{const y=rt(a.args[0]).map(b=>{var z;return b.type!=="first"&&(b.type="mord",b.value=(z={"\u2217":"*","\u2212":"-"}[b.value])!=null?z:b.value,b.isFunction=!1,!b.style.variant&&!b.style.variantStyle&&(b.style.variant="main",b.style.variantStyle="up")),b});return new Br(ne(ae({},a),{type:"mop",body:y,isFunction:!0,limits:a.command==="\\operatorname"?"adjacent":"over-under"}))},render:(a,y)=>{var b;let z=Br.createBox(y,a.body);if(a.superscript||a.subscript){const ue=(b=a.subsupPlacement)!=null?b:"auto";z=ue==="over-under"||ue==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:z}):a.attachSupsub(y,{base:z})}return a.caret&&(z.caret=a.caret),new hi(a.bind(y,z),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[ys(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)),Eo(b)}}),Ft(["char","unicode"],"{charcode:value}",{createAtom:a=>new Br(ne(ae({},a),{type:a.mode==="text"?"text":"mord"})),serialize:a=>{var y;return`${a.command}${Xs((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)}}),Ft("rule","[raise:value]{width:value}{thickness:value}",{createAtom:a=>new Br(a),render:(a,y)=>{var b,z,ue;const Pe=new Po({parent:y,mathstyle:"textstyle"},a.style),Ke=Pe.toEm((b=a.args[0])!=null?b:{dimension:0}),tt=Pe.toEm((z=a.args[1])!=null?z:{dimension:10}),ct=Pe.toEm((ue=a.args[2])!=null?ue:{dimension:10}),ht=new hi(null,{classes:"rule",type:"ord"});return ht.width=tt,ht.height=ct+Ke,ht.depth=-Ke,ht.setStyle("border-right-width",tt,"em"),ht.setStyle("border-top-width",ct,"em"),ht.setStyle("border-color",a.style.color),ht.setStyle("vertical-align",Ke,"em"),a.isSelected&&ht.setStyle("opacity","50%"),a.bind(Pe,ht),a.caret&&(ht.caret=a.caret),ht.wrap(y)},serialize:a=>`\\rule${a.args[0]?`[${Xs(a.args[0])}]`:""}{${Xs(a.args[1])}}{${Xs(a.args[2])}}`}),Ft(["overline","underline"],"{:auto}",{createAtom:a=>new Br(ne(ae({},a),{body:rt(a.args[0])})),render:(a,y)=>{const b=a.command.substring(1),z=new Po({parent:y,mathstyle:"cramp"},a.style),ue=Br.createBox(z,a.body);if(!ue)return null;const Pe=z.metrics.defaultRuleThickness/z.scalingFactor,Ke=new hi(null,{classes:b+"-line"});Ke.height=Pe,Ke.maxFontSize=Pe*1.125*z.scalingFactor;let tt;return b==="overline"?tt=new us({shift:0,children:[{box:ue},3*Pe,{box:Ke},Pe]}):tt=new us({top:ue.height,children:[Pe,{box:Ke},3*Pe,{box:ue}]}),a.caret&&(tt.caret=a.caret),new hi(tt,{classes:b,type:"ignore"})}}),Ft("overset","{:auto}{base:auto}",{createAtom:a=>{const y=rt(a.args[1]);return new tc(ne(ae({},a),{above:rt(a.args[0]),body:y,skipBoundary:!1,boxType:tu(y)}))},serialize:(a,y)=>ys(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),Ft("underset","{:auto}{base:auto}",{createAtom:a=>{const y=rt(a.args[1]);return new tc(ne(ae({},a),{below:rt(a.args[0]),body:y,skipBoundary:!1,boxType:tu(y)}))},serialize:(a,y)=>ys(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),Ft("overunderset","{above:auto}{below:auto}{base:auto}",{createAtom:a=>{const y=rt(a.args[2]);return new tc(ne(ae({},a),{above:rt(a.args[0]),below:rt(a.args[1]),body:y,skipBoundary:!1,boxType:tu(y)}))},serialize:(a,y)=>ys(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),Ft(["stackrel","stackbin"],"[below:auto]{above:auto}{base:auto}",{createAtom:a=>new tc(ne(ae({},a),{body:rt(a.args[2]),above:rt(a.args[1]),below:rt(a.args[0]),skipBoundary:!1,boxType:a.command==="\\stackrel"?"rel":"bin"})),serialize:(a,y)=>ys(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),Ft("smash","[:string]{:auto}",{createAtom:a=>{var y,b,z,ue;return new Pd(ne(ae({},a),{body:rt(a.args[1]),smashHeight:(b=(y=a.args[0])==null?void 0:y.includes("t"))!=null?b:!0,smashDepth:(ue=(z=a.args[0])==null?void 0:z.includes("b"))!=null?ue:!0}))}}),Ft(["vphantom"],"{:auto}",{createAtom:a=>new Pd(ne(ae({},a),{body:rt(a.args[0]),isInvisible:!0,smashWidth:!0}))}),Ft(["hphantom"],"{:auto}",{createAtom:a=>new Pd(ne(ae({},a),{body:rt(a.args[0]),isInvisible:!0,smashHeight:!0,smashDepth:!0}))}),Ft(["phantom"],"{:auto}",{createAtom:a=>new Pd(ne(ae({},a),{body:rt(a.args[0]),isInvisible:!0}))}),Ft("not","{:math}",{createAtom:a=>{const y=rt(a.args[0]);return y.length===0?new Br(ne(ae({},a),{type:"mrel",value:"\uE020"})):new Br(ne(ae({},a),{body:[new Au(ne(ae({},a),{body:"\uE020",align:"right"})),...y],captureSelection:!0}))},serialize:(a,y)=>{const b=a.args[0],z=b&&typeof b=="object"&&"group"in b;return a.value!=="\uE020"?z?`\\not{${Br.serialize(b.group,y)}}`:`\\not${Br.serialize(b,y)}`:z?"\\not{}":"\\not"},render:(a,y)=>{if(a.value)return a.createBox(y);const z=a.args[0]&&typeof a.args[0]=="object"&&"group"in a.args[0]?"ord":tu(rt(a.args[0])),ue=Br.createBox(y,a.body,{type:z});return a.caret&&(ue.caret=a.caret),a.bind(y,ue)}}),Ft(["ne","neq"],"",{createAtom:a=>new Br(ne(ae({},a),{type:"mrel",body:[new Au(ne(ae({},a),{body:"\uE020",align:"right",boxType:"rel"})),new Br(ne(ae({},a),{value:"="}))],captureSelection:!0})),serialize:a=>a.command}),Ft("rlap","{:auto}",{createAtom:a=>new Au(ne(ae({},a),{body:rt(a.args[0]),align:"right"}))}),Ft("llap","{:auto}",{createAtom:a=>new Au(ne(ae({},a),{body:rt(a.args[0]),align:"left"}))}),Ft("mathrlap","{:math}",{createAtom:a=>new Au(ne(ae({},a),{body:rt(a.args[0]),align:"left"}))}),Ft("mathllap","{:math}",{createAtom:a=>new Au(ne(ae({},a),{body:rt(a.args[0]),align:"left"}))}),Ft("raisebox","{:value}{:text}",{createAtom:a=>{var y;return new Ws(ne(ae({},a),{body:rt(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return ys("\\raisebox",(b=Xs(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),Ft("raise","{:value}{:auto}",{createAtom:a=>{var y;return new Ws(ne(ae({},a),{body:rt(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return ys("\\raise",(b=Xs(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),Ft("lower","{:value}{:auto}",{createAtom:a=>{var y;return new Ws(ne(ae({},a),{body:rt(a.args[1]),padding:{dimension:0},offset:(y=ql(a.args[0],-1))!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b,z;return ys("\\lower",(z=Xs(ql((b=a.offset)!=null?b:{dimension:0},-1)))!=null?z:"0pt",a.bodyToLatex(y))}}),Re("0123456789/@.?!"),ze(65,90),ze(97,122),Re([["\\forall",8704],["\\exists",8707],["\\nexists",8708,"mord","ams"],["\\mid",8739,"mrel"],["\\top",8868],["\\bot",8869]]),Re([["\\#",35],["\\&",38],["\\parallelogram",9649],["\\spadesuit",9824],["\\heartsuit",9825],["\\diamondsuit",9826],["\\clubsuit",9827],["\\flat",9837],["\\natural",9838],["\\sharp",9839]]),Re([["\\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]]),Re([["\\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"),Re([["\\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"]]),Re([["\\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"]]),Re([["\\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"),Re([["+",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"),Re([["\\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"),Re([["\\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]]),Re([["=",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"),Re([["\\lnot",172],["\\neg",172],["\\triangle",9651],["\\subsetneq",8842],["\\varsubsetneq",57370],["\\subsetneqq",10955],["\\varsubsetneqq",57367],["\\nsubset",8836],["\\nsupset",8837],["\\nsubseteq",8840],["\\nsupseteq",8841]],"mrel","ams"),Re([["\\wp",8472],["\\aleph",8501]]),Re([["\\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"),Re([["\\ ",160],["~",160]],"space"),Ft(["!",",",":",";",">","enskip","enspace","quad","qquad"],"",{createAtom:a=>new Nd(a)}),Ft("space","",{createAtom:a=>new Nd(a)}),Re([["\\colon",58],["\\cdotp",8901],["\\vdots",8942,"mord"],["\\ldotp",46],[",",44],[";",59]],"mpunct"),Re([["\\cdots",8943],["\\ddots",8945],["\\ldots",8230],["\\mathellipsis",8230]],"minner"),Re([["\\/",47],["|",8739,"mord"],["\\imath",305],["\\jmath",567],["\\degree",176],["'",8242],['"',8221]]);var cm="<mo>&#x2061;</mo>",Qf="<mo>&#8290;</mo>";function Jf(a){return a.replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function hs(a,y){return!a||!y.generateID?"":` extid="${a}"`}function Ag(a,y,b){var z,ue,Pe,Ke,tt,ct,ht,bt,Bt,Gt,hn;let xn=!1;y=y!=null?y:a.atoms.length;let Cr="",ui="",xr=a.atoms[a.index];const Gr=(ue=(z=xr.style)==null?void 0:z.variant)!=null?ue:"",vi=(Ke=(Pe=xr.style)==null?void 0:Pe.variantStyle)!=null?Ke:"";let qr="";if(Gr||vi){const ja=dt(xr.value,(tt=xr.style)==null?void 0:tt.variant,(ct=xr.style)==null?void 0:ct.variantStyle);if(ja!==xr.value)return a.index+=1,Cr=`<mi${hs(xr.id,b)}>${ja}</mi>`,Zc(Cr,a,b)||(a.mathML+=Cr,a.lastType="mi"),!0;qr=(ht={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"}[vi+Gr])!=null?ht:"",qr=` mathvariant="${qr}"`}const fa={"\\exponentialE":"&#x02147;","\\imaginaryI":"&#x2148;","\\differentialD":"&#x2146;","\\capitalDifferentialD":"&#x2145;","\\alpha":"&#x03b1;","\\pi":"&#x03c0;","\\infty":"&#x221e;","\\forall":"&#x2200;","\\nexists":"&#x2204;","\\exists":"&#x2203;","\\hbar":"\u210F","\\cdotp":"\u22C5","\\ldots":"\u2026","\\cdots":"\u22EF","\\ddots":"\u22F1","\\vdots":"\u22EE","\\ldotp":"."};if(xr.command==="!")return a.index+=1,Cr="<mo>!</mo>",Zc(Cr,a,b)||(a.mathML+=Cr,a.lastType="mo"),!0;if(fa[xr.command]){a.index+=1;let ja=`<mi${hs(xr.id,b)}${qr}>${fa[xr.command]}</mi>`;return(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mtext"||a.lastType==="fence")&&(ja=Qf+ja),Zc(ja,a,b)||(a.mathML+=ja,a.lastType="mi"),!0}if(xr.command==="\\operatorname")ui=sd(xr.body),a.index+=1;else if(Gr||vi)for(;a.index<y&&(xr.type==="mord"||xr.type==="macro")&&!xr.isDigit()&&Gr===((Bt=(bt=xr.style)==null?void 0:bt.variant)!=null?Bt:"")&&vi===((hn=(Gt=xr.style)==null?void 0:Gt.variantStyle)!=null?hn:"");)ui+=sd([xr]),a.index+=1,xr=a.atoms[a.index];else(xr.type==="mord"||xr.type==="macro")&&!xr.isDigit()&&(ui+=sd([xr]),a.index+=1);if(ui.length>0){xn=!0,Cr=`<mi${qr}>${ui}</mi>`;const ja=a.lastType;Cr.endsWith(">f</mi>")||Cr.endsWith(">g</mi>")?(Cr+=cm,a.lastType="applyfunction"):a.lastType=/^<mo>(.*)<\/mo>$/.test(Cr)?"mo":"mi",Zc(Cr,a,b)||((ja==="mi"||ja==="mn"||ja==="mtext"||ja==="fence")&&(Cr=Qf+Cr),a.mathML+=Cr)}return xn}function Mg(a){return a.index<a.atoms.length&&a.atoms[a.index].superscript&&a.atoms[a.index].type==="subsup"}function kg(a){let y=-1,b=a.index,z=!1,ue=!1;for(;b<a.atoms.length&&!z&&!ue;){const Pe=a.atoms[b];z=!Pe.isDigit(),ue=!z&&Pe.superscript!==void 0,b++}return ue&&(y=b-1),y}function Zc(a,y,b){var z;let ue=y.atoms[y.index-1];if(!ue)return!1;if(!ue.superscript&&!ue.subscript)if(((z=y.atoms[y.index])==null?void 0:z.type)==="subsup")ue=y.atoms[y.index],y.index+=1;else return!1;const Pe=y.lastType;y.lastType="";const Ke=Vo(ue.superscript,b);y.lastType="";const tt=Vo(ue.subscript,b);if(y.lastType=Pe,!Ke&&!tt)return!1;let ct="";return Ke&&tt?ct=`<msubsup>${a}${tt}${Ke}</msubsup>`:Ke?ct=`<msup>${a}${Ke}</msup>`:tt&&(ct=`<msub>${a}${tt}</msub>`),y.mathML+=ct,y.lastType="",!0}function Tg(a,y,b){y=y!=null?y:a.atoms.length;const z=a.index;let ue="";for(;a.index<y&&a.atoms[a.index].mode==="text";)ue+=a.atoms[a.index].value?a.atoms[a.index].value:" ",a.index+=1;return ue.length>0?(a.mathML+=`<mtext ${hs(a.atoms[z].id,b)}>${ue}</mtext>`,a.lastType="mtext",!0):!1}function Og(a,y,b){y=y!=null?y:a.atoms.length;const z=a.index;let ue="",Pe=kg(a);for(Pe>=0&&Pe<y&&(y=Pe);a.index<y&&a.atoms[a.index].isDigit();)ue+=a.atoms[a.index].asDigit(),a.index+=1;return ue.length<=0?!1:(ue="<mn"+hs(a.atoms[z].id,b)+">"+ue+"</mn>",Pe<0&&Mg(a)&&(Pe=a.index,a.index+=1),Zc(ue,a,b)||(a.mathML+=ue,a.lastType="mn"),!0)}function Dg(a,y,b){let z=!1;y=y!=null?y:a.atoms.length;let ue="",Pe="";if(a.index<y&&a.atoms[a.index].type==="mopen"){let Ke=!1,tt=0;const ct=a.index;let ht=-1,bt=ct+1;for(;bt<y&&!Ke;)a.atoms[bt].type==="mopen"?tt+=1:a.atoms[bt].type==="mclose"&&(tt-=1),tt===-1&&(Ke=!0,ht=bt),bt+=1;Ke&&(ue="<mrow>",ue+=Bu(a.atoms[ct],b),ue+=Vo(a.atoms,b,ct+1,ht),ue+=Bu(a.atoms[ht],b),ue+="</mrow>",a.index=ht+1,(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mfrac"||a.lastType==="fence")&&(a.mathML+=Qf),Zc(ue,a,b)&&(z=!0,a.lastType="",ue=""),Pe="fence")}return ue.length>0&&(z=!0,a.mathML+=ue,a.lastType=Pe),z}function Ig(a,y,b){let z=!1;y=y!=null?y:a.atoms.length;let ue="",Pe="";const Ke=a.atoms[a.index];if(!Ke)return!1;const tt={"\\ne":"&ne;","\\neq":"&neq;","\\pm":"&#177;","\\times":"&#215;","\\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(tt[Ke.command]){a.index+=1;const ct=`<mo${hs(Ke.id,b)}>${tt[Ke.command]}</mo>`;return Zc(ct,a,b)||(a.mathML+=ct,a.lastType="mo"),!0}if(a.index<y&&(Ke.type==="mbin"||Ke.type==="mrel"))ue+=Uh(a.atoms[a.index],b),a.index+=1,Pe="mo";else if(a.index<y&&(Ke.type==="mop"||Ke.type==="operator"||Ke.type==="extensible-symbol")){if(Ke.subsupPlacement==="over-under"&&(Ke.superscript||Ke.subscript)){const ct=Bu(Ke,b);return Ke.superscript&&Ke.subscript?(ue+="<munderover>"+ct,ue+=Vo(Ke.subscript,b),ue+=Vo(Ke.superscript,b),ue+="</munderover>"):Ke.superscript?(ue+="<mover>"+ct,ue+=Vo(Ke.superscript,b),ue+="</mover>"):Ke.subscript&&(ue+="<munder>"+ct,ue+=Vo(Ke.subscript,b),ue+="</munder>"),a.mathML+=ue,a.lastType="mo",a.index+=1,!0}{const ct=a.atoms[a.index],ht=ct.value==="\\operatorname",bt=ht?'<mi class="MathML-Unit"'+hs(ct.id,b)+">"+sd(ct.value)+"</mi>":Bu(ct,b);ue+=bt,!ht&&!/^<mo>(.*)<\/mo>$/.test(bt)?(ue+=cm,Pe="applyfunction"):Pe=ht?"mi":"mo"}(a.lastType==="mi"||a.lastType==="mn")&&!/^<mo>(.*)<\/mo>$/.test(ue)&&(ue=Qf+ue),a.index+=1}return ue.length>0&&(z=!0,Zc(ue,a,b)||(a.mathML+=ue,a.lastType=Pe)),z}function Vo(a,y,b,z){y!=null||(y={});const ue={atoms:[],index:b!=null?b:0,mathML:"",lastType:""};if(typeof a=="number"||typeof a=="boolean")ue.mathML=a.toString();else if(typeof a=="string")ue.mathML=a;else if(a instanceof Br)ue.mathML=Uh(a,y);else if(Array.isArray(a)){ue.atoms=a;let Pe=0;for(z=z||(a?a.length:0);ue.index<z;)if(Tg(ue,z,y)||Og(ue,z,y)||Ag(ue,z,y)||Ig(ue,z,y)||Dg(ue,z,y))Pe+=1;else if(ue.index<z){let Ke=Uh(ue.atoms[ue.index],y);ue.lastType==="mn"&&Ke.length>0&&ue.atoms[ue.index].type==="genfrac"&&(Ke="<mo>&#x2064;</mo>"+Ke),ue.atoms[ue.index].type==="genfrac"?ue.lastType="mfrac":ue.lastType="",ue.index+=1,Zc(Ke,ue,y)?Pe+=1:Ke.length>0&&(ue.mathML+=Ke,Pe+=1)}Pe>1&&(ue.mathML="<mrow>"+ue.mathML+"</mrow>")}return ue.mathML}function Bu(a,y){let b="";const z=sd(a.value);return z&&(b="<mo"+hs(a.id,y)+">"+z+"</mo>"),b}function sd(a){if(!a)return"";if(typeof a=="string")return Jf(a);if(!Array.isArray(a)&&typeof a.body=="string")return Jf(a.body);let y="";for(const b of a)typeof b.value=="string"&&(y+=b.value);return Jf(y)}function Uh(a,y){var b,z,ue,Pe,Ke,tt,ct,ht,bt,Bt,Gt,hn,xn,Cr,ui,xr,Gr,vi,qr,fa,ja,Oa;if(a.mode==="text")return`<mi${hs(a.id,y)}>${a.value}</mi>`;const Ro={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"},is={"\\!":-3/18,"\\ ":6/18,"\\,":3/18,"\\:":4/18,"\\>":4/18,"\\;":5/18,"\\enspace":.5,"\\quad":1,"\\qquad":2,"\\enskip":.5};let ki="",Yl="",Nc,rc,fl,Ql,Nl,ps;const{command:Vs}=a;if(a.command==="\\error")return`<merror${hs(a.id,y)}>${Vo(a.body,y)}</merror>`;const hl={"\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\lbrack":"[","\\rbrack":"]","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"},Rc={"\\vec":"&#x20d7;","\\acute":"&#x00b4;","\\grave":"&#x0060;","\\dot":"&#x02d9;","\\ddot":"&#x00a8;","\\tilde":"&#x007e;","\\bar":"&#x00af;","\\breve":"&#x02d8;","\\check":"&#x02c7;","\\hat":"&#x005e;"};switch(a.type){case"first":break;case"group":case"root":ki=Vo(a.body,y);break;case"array":if((a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(ki+="<mrow>",a.leftDelim&&a.leftDelim!=="."&&(ki+="<mo>"+(hl[a.leftDelim]||a.leftDelim)+"</mo>")),ki+="<mtable",a.colFormat){for(ki+=' columnalign="',fl=0;fl<a.colFormat.length;fl++)a.colFormat[fl].align&&(ki+={l:"left",c:"center",r:"right"}[a.colFormat[fl].align]+" ");ki+='"'}for(ki+=">",rc=0;rc<a.array.length;rc++){for(ki+="<mtr>",Nc=0;Nc<a.array[rc].length;Nc++)ki+="<mtd>"+Vo(a.array[rc][Nc],y)+"</mtd>";ki+="</mtr>"}ki+="</mtable>",(a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(a.rightDelim&&a.rightDelim!=="."&&(ki+="<mo>"+(hl[a.leftDelim]||a.rightDelim)+"</mo>"),ki+="</mrow>");break;case"genfrac":(a.leftDelim||a.rightDelim)&&(ki+="<mrow>"),a.leftDelim&&a.leftDelim!=="."&&(ki+="<mo"+hs(a.id,y)+">"+(hl[a.leftDelim]||a.leftDelim)+"</mo>"),a.hasBarLine?(ki+="<mfrac>",ki+=Vo(a.above,y)||"<mi>&nbsp;</mi>",ki+=Vo(a.below,y)||"<mi>&nbsp;</mi>",ki+="</mfrac>"):(ki+="<mtable"+hs(a.id,y)+">",ki+="<mtr>"+Vo(a.above,y)+"</mtr>",ki+="<mtr>"+Vo(a.below,y)+"</mtr>",ki+="</mtable>"),a.rightDelim&&a.rightDelim!=="."&&(ki+="<mo"+hs(a.id,y)+">"+(hl[a.rightDelim]||a.rightDelim)+"</mo>"),(a.leftDelim||a.rightDelim)&&(ki+="</mrow>");break;case"surd":a.hasEmptyBranch("above")?(ki+="<msqrt"+hs(a.id,y)+">",ki+=Vo(a.body,y),ki+="</msqrt>"):(ki+="<mroot"+hs(a.id,y)+">",ki+=Vo(a.body,y),ki+=Vo(a.above,y),ki+="</mroot>");break;case"leftright":const Bc=a,_c=Bc.leftDelim;ki="<mrow>",_c&&_c!=="."&&(ki+=`<mo${hs(a.id,y)}>${(b=hl[_c])!=null?b:_c}</mo>`),a.body&&(ki+=Vo(a.body,y));const Fc=Bc.matchingRightDelim();Fc&&Fc!=="."&&(ki+=`<mo${hs(a.id,y)}>${(z=hl[Fc])!=null?z:Fc}</mo>`),ki+="</mrow>";break;case"sizeddelim":case"delim":ki+=`<mo${hs(a.id,y)}>${hl[a.value]||a.value}</mo>`;break;case"accent":ki+='<mover accent="true"'+hs(a.id,y)+">",ki+=Vo(a.body,y),ki+="<mo>"+(Rc[Vs]||a.accent)+"</mo>",ki+="</mover>";break;case"line":case"overlap":break;case"overunder":Nl=a.above,Ql=a.below,(a.svgAbove||Nl)&&(a.svgBelow||Ql)?ps=a.body:Nl&&Nl.length>0?(ps=a.body,(Pe=(ue=a.body)==null?void 0:ue[0])!=null&&Pe.below?(Ql=a.body[0].below,ps=a.body[0].body):((tt=(Ke=a.body)==null?void 0:Ke[0])==null?void 0:tt.type)==="first"&&((ht=(ct=a.body)==null?void 0:ct[1])!=null&&ht.below)&&(Ql=a.body[1].below,ps=a.body[1].body)):Ql&&Ql.length>0&&(ps=a.body,(Bt=(bt=a.body)==null?void 0:bt[0])!=null&&Bt.above?(Nl=a.body[0].above,ps=a.body[0].body):((hn=(Gt=a.body)==null?void 0:Gt[0])==null?void 0:hn.type)==="first"&&((Cr=(xn=a.body)==null?void 0:xn[1])!=null&&Cr.above)&&(Nl=a.body[1].overscript,ps=a.body[1].body)),(a.svgAbove||Nl)&&(a.svgBelow||Ql)?(ki+=`<munderover ${hs(a.id,y)}>`,ki+=(ui=Ro[a.svgBody])!=null?ui:Vo(ps,y),ki+=(xr=Ro[a.svgBelow])!=null?xr:Vo(Ql,y),ki+=(Gr=Ro[a.svgAbove])!=null?Gr:Vo(Nl,y),ki+="</munderover>"):a.svgAbove||Nl?(ki+=`<mover ${hs(a.id,y)}>`+((vi=Ro[a.svgBody])!=null?vi:Vo(ps,y)),ki+=(qr=Ro[a.svgAbove])!=null?qr:Vo(Nl,y),ki+="</mover>"):(a.svgBelow||Ql)&&(ki+=`<munder ${hs(a.id,y)}>`+((fa=Ro[a.svgBody])!=null?fa:Vo(ps,y)),ki+=(ja=Ro[a.svgBelow])!=null?ja:Vo(Ql,y),ki+="</munder>");break;case"placeholder":ki+="?";break;case"mord":{ki=typeof a.value=="string"?a.value:Vs,Vs==="\\char"?ki="&#x"+("000000"+a.args[0].number.toString(16)).slice(-4)+";":ki.length>0&&ki.startsWith("\\")&&(typeof a.value=="string"&&a.value.charCodeAt(0)>255?ki="&#x"+("000000"+a.value.charCodeAt(0).toString(16)).slice(-4)+";":typeof a.value=="string"?ki=a.value.charAt(0):(console.error("Did not expect this"),ki=""));const vc=/\d/.test(ki)?"mn":"mi";ki=`<${vc}${hs(a.id,y)}>${Jf(ki)}</${vc}>`;break}case"mbin":case"mrel":case"minner":ki=Bu(a,y);break;case"mpunct":ki='<mo separator="true"'+hs(a.id,y)+">"+Vs+"</mo>";break;case"mop":case"operator":case"extensible-symbol":a.body!=="\u200B"&&(ki="<mo"+hs(a.id,y)+">",ki+=Vs==="\\operatorname"?a.body:Vs||a.body,ki+="</mo>");break;case"box":ki='<menclose notation="box"',a.backgroundcolor&&(ki+=' mathbackground="'+a.backgroundcolor+'"'),ki+=hs(a.id,y)+">"+Vo(a.body,y)+"</menclose>";break;case"spacing":ki+='<mspace width="'+((Oa=is[Vs])!=null?Oa:0)+'em"/>';break;case"enclose":ki='<menclose notation="';for(const vc in a.notation)Object.prototype.hasOwnProperty.call(a.notation,vc)&&a.notation[vc]&&(ki+=Yl+vc,Yl=" ");ki+=hs(a.id,y)+'">'+Vo(a.body,y)+"</menclose>";break;case"prompt":ki='<menclose notation="roundexbox""">'+Vo(a.body,y)+"</menclose>";break;case"space":ki+="&nbsp;";break;case"subsup":break;case"phantom":break;case"composition":break;case"rule":break;case"chem":break;case"mopen":ki+=Bu(a,y);break;case"mclose":ki+=Bu(a,y);break;case"macro":{const vc=a.command+sd(a.macroArgs);vc&&(ki+=`<mo ${hs(a.id,y)}>${vc}</mo>`)}break;case"latexgroup":ki+=Vo(a.body,y);break;case"latex":ki+="<mtext"+hs(a.id,y)+">"+a.value+"</mtext>";break;case"tooltip":ki+=Vo(a.body,y);break;case"text":ki+=`<mtext ${hs(a.id,y)}x>${a.value}</mtext>`;break;default:if(a.command==="\\displaystyle")return`<mrow ${hs(a.id,y)} displaystyle="true">${Vo(a.body,y)}</mrow>`;if(a.command==="\\textstyle")return`<mrow ${hs(a.id,y)} displaystyle="false">${Vo(a.body,y)}</mrow>`;console.info("Unexpected element in conversion to MathML:",a)}return ki}var ld={"\\alpha":"alpha ","\\mu":"mew ","\\sigma":"sigma ","\\pi":"pie ","\\imaginaryI":"imaginary eye ","\\imaginaryJ":"imaginary jay ","\\sum":"Summation ","\\prod":"Product ","+":"plus ","-":"minus ",";":'<break time="150ms"/> semi-colon <break time="150ms"/>',",":'<break time="150ms"/> comma <break time="150ms"/>',"|":'<break time="150ms"/>Vertical bar<break time="150ms"/>',"(":'<break time="150ms"/>Open paren. <break time="150ms"/>',")":'<break time="150ms"/> Close paren. <break time="150ms"/>',"=":"equals ","<":"is less than ","\\lt":"is less than ","<=":"is less than or equal to ","\\le":"is less than or equal to ","\\gt":"is greater than ",">":"is greater than ","\\pm":"plus or minus","\\mp":"minus or plus","\\ge":"is greater than or equal to ","\\geq":"is greater than or equal to ","\\leq":"is less than or equal to ","\\ne":"is not equal to ","\\neq":"is not equal to ","!":"factorial ","\\sin":"sine ","\\cos":"cosine ","\u200B":"","\u2212":"minus ",":":'<break time="150ms"/> such that <break time="200ms"/> ',"\\colon":'<break time="150ms"/> such that <break time="200ms"/> ',"\\hbar":"etch bar ","\\iff":'<break time="200ms"/>if, and only if, <break time="200ms"/>',"\\Longleftrightarrow":'<break time="200ms"/>if, and only if, <break time="200ms"/>',"\\land":"and ","\\lor":"or ","\\neg":"not ","\\div":"divided by ","\\forall":"for all ","\\exists":"there exists ","\\nexists":"there does not exists ","\\in":"element of ","\\N":'the set <break time="150ms"/><say-as interpret-as="character">n</say-as>',"\\C":'the set <break time="150ms"/><say-as interpret-as="character">c</say-as>',"\\Z":'the set <break time="150ms"/><say-as interpret-as="character">z</say-as>',"\\Q":'the set <break time="150ms"/><say-as interpret-as="character">q</say-as>',"\\infty":"infinity ","\\nabla":"nabla ","\\partial":"partial derivative of ","\\cdot":"times ","\\cdots":"dot dot dot ","\\Rightarrow":"implies ","\\lparen":'<break time="150ms"/>open paren<break time="150ms"/>',"\\rparen":'<break time="150ms"/>close paren<break time="150ms"/>',"\\lbrace":'<break time="150ms"/>open brace<break time="150ms"/>',"\\{":'<break time="150ms"/>open brace<break time="150ms"/>',"\\rbrace":'<break time="150ms"/>close brace<break time="150ms"/>',"\\}":'<break time="150ms"/>close brace<break time="150ms"/>',"\\langle":'<break time="150ms"/>left angle bracket<break time="150ms"/>',"\\rangle":'<break time="150ms"/>right angle bracket<break time="150ms"/>',"\\lfloor":'<break time="150ms"/>open floor<break time="150ms"/>',"\\rfloor":'<break time="150ms"/>close floor<break time="150ms"/>',"\\lceil":'<break time="150ms"/>open ceiling<break time="150ms"/>',"\\rceil":'<break time="150ms"/>close ceiling<break time="150ms"/>',"\\vert":'<break time="150ms"/>vertical bar<break time="150ms"/>',"\\mvert":'<break time="150ms"/>divides<break time="150ms"/>',"\\lvert":'<break time="150ms"/>left vertical bar<break time="150ms"/>',"\\rvert":'<break time="150ms"/>right vertical bar<break time="150ms"/>',"\\lbrack":'<break time="150ms"/> open square bracket <break time="150ms"/>',"\\rbrack":'<break time="150ms"/> close square bracket <break time="150ms"/>',mm:"millimeters",cm:"centimeters",km:"kilometers",kg:"kilograms"},Vh={array:"array",matrix:"matrix",pmatrix:"parenthesis matrix",bmatrix:"square brackets matrix",Bmatrix:"braces matrix",vmatrix:"bars matrix",Vmatrix:"double bars matrix","matrix*":"matrix",smallmatrix:"small matrix"};function Lg(a){let y="";return a.startsWith("\\")&&(y=" "+a.replace("\\","")+" "),y}function Yd(a){let y=0;if(re(a))for(const b of a)b.type!=="first"&&(y+=1);return y===1}function Pg(a){if(re(a)){for(const y of a)if(y.type!=="first"&&y.id)return y.id.toString()}return""}function um(a){let y="";if(re(a))for(const b of a)b.type!=="first"&&typeof b.value=="string"&&(y+=b.value);return y}function Ng(a){return a?a.map(y=>y.value).join(""):""}function Lo(a,y){var b,z,ue,Pe,Ke;function tt(bt){return window.MathfieldElement.textToSpeechMarkup?/[a-z]/.test(bt)?` <say-as interpret-as="character">${bt}</say-as>`:/[A-Z]/.test(bt)?`capital <say-as interpret-as="character">${bt.toLowerCase()}</say-as>`:bt:/[a-z]/.test(bt)?" '"+bt.toUpperCase()+"'":/[A-Z]/.test(bt)?" 'capital "+bt.toUpperCase()+"'":bt}function ct(bt){return"<emphasis>"+bt+"</emphasis>"}if(!y)return"";let ht="";if(re(y)){let bt=!1,Bt=!1;for(let Gt=0;Gt<y.length;Gt++)y[Gt].type!=="first"&&(y[Gt].mode!=="text"&&(Bt=!1),Gt<y.length-2&&y[Gt].type==="mopen"&&y[Gt+2].type==="mclose"&&y[Gt+1].type==="mord"?(ht+=" of ",ht+=ct(Lo(a,y[Gt+1])),Gt+=2):y[Gt].mode==="text"?Bt?ht+=(b=y[Gt].value)!=null?b:" ":(Bt=!0,ht+=Lo("text",y[Gt])):y[Gt].isDigit()?bt?ht+=y[Gt].asDigit():(bt=!0,ht+=Lo(a,y[Gt])):(bt=!1,ht+=Lo(a,y[Gt])))}else if(y.mode==="text")y.id&&a==="math"&&(ht+='<mark name="'+y.id.toString()+'"/>'),ht+=y.value;else{y.id&&a==="math"&&(ht+='<mark name="'+y.id.toString()+'"/>');let bt="",Bt="",Gt="",hn=!1;const{command:xn}=y;switch(xn){case"\\vec":return"vector "+Lo(a,y.body);case"\\acute":return Lo(a,y.body)+" acute";case"\\grave":return Lo(a,y.body)+" grave";case"\\dot":return"dot over"+Lo(a,y.body);case"\\ddot":return"double dot over"+Lo(a,y.body);case"\\mathring":return"ring over"+Lo(a,y.body);case"\\tilde":case"\\widetilde":return"tilde over"+Lo(a,y.body);case"\\bar":return Lo(a,y.body)+" bar";case"\\breve":return Lo(a,y.body)+" breve";case"\\check":case"\\widecheck":return"check over "+Lo(a,y.body);case"\\hat":case"\\widehat":return"hat over"+Lo(a,y.body);case"\\overarc":case"\\overparen":case"\\wideparen":return"arc over "+Lo(a,y.body);case"\\underarc":case"\\underparen":return"arc under "+Lo(a,y.body)}switch(y.type){case"prompt":const Cr=y.body.length>1?'start input . <break time="500ms"/> '+Lo(a,y.body)+'. <break time="500ms"/> end input':"blank";ht+=' <break time="300ms"/> '+Cr+'. <break time="700ms"/>'+((z=y.correctness)!=null?z:"")+' . <break time="700ms"/> ';break;case"array":const ui=y.array,xr=y.environmentName;if(Object.keys(Vh).includes(xr)){ht+=` begin ${Vh[xr]} `;for(let qr=0;qr<ui.length;qr++){qr>0&&(ht+=","),ht+=` row ${qr+1} `;for(let fa=0;fa<ui[qr].length;fa++)fa>0&&(ht+=","),ht+=` column ${fa+1}: `,ht+=Lo("math",ui[qr][fa])}ht+=` end ${Vh[xr]} `}break;case"group":xn==="\\ne"?ht+=" not equal ":(xn==="\\not"&&(ht+=" not "),ht+=Lo("math",y.body));break;case"root":ht+=Lo("math",y.body);break;case"genfrac":if(bt=Lo("math",y.above),Bt=Lo("math",y.below),Yd(y.above)&&Yd(y.below)){const fa={"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 "}[um(y.above)+"/"+um(y.below)];fa?ht=fa:ht+=bt+" over "+Bt}else ht+=' the fraction <break time="150ms"/>'+bt+' over <break time="150ms"/>'+Bt+'.<break time="150ms"/> End fraction.<break time="150ms"/>';break;case"surd":if(Gt=Lo("math",y.body),y.hasEmptyBranch("above"))ht+=Yd(y.body)?" the square root of "+Gt+" , ":' the square root of <break time="200ms"/>'+Gt+'. <break time="200ms"/> End square root';else{let qr=Lo("math",y.above);qr=qr.trim();const fa=qr.replace(/<mark([^/]*)\/>/g,"");fa==="3"?ht+=' the cube root of <break time="200ms"/>'+Gt+'. <break time="200ms"/> End cube root':fa==="n"?ht+=' the nth root of <break time="200ms"/>'+Gt+'. <break time="200ms"/> End root':ht+=' the root with index: <break time="200ms"/>'+qr+', of <break time="200ms"/>'+Gt+'. <break time="200ms"/> End root'}break;case"leftright":{const qr=y;ht+=(ue=qr.leftDelim?ld[qr.leftDelim]:void 0)!=null?ue:qr.leftDelim,ht+=Lo("math",y.body),ht+=(Pe=qr.rightDelim?ld[qr.rightDelim]:void 0)!=null?Pe:qr.rightDelim}break;case"rule":break;case"overunder":break;case"overlap":break;case"macro":const Gr=xn.replace(/^\\/g,""),vi=Vt()[Gr];vi&&(vi!=null&&vi.expand?ht+=Lo("math",y.body):ht+=`${Gr} `);break;case"placeholder":ht+="placeholder ";break;case"delim":case"sizeddelim":case"mord":case"minner":case"mbin":case"mrel":case"mpunct":case"mopen":case"mclose":{if(xn==="\\mathbin"||xn==="\\mathrel"||xn==="\\mathopen"||xn==="\\mathclose"||xn==="\\mathpunct"||xn==="\\mathord"||xn==="\\mathinner"){ht=Lo(a,y.body);break}let qr=y.isDigit()?y.asDigit():y.value,fa=y.command;if((y.type==="delim"||y.type==="sizeddelim")&&(fa=y.value,qr=fa),a==="text")ht+=qr;else{if(y.type==="mbin"&&(ht+='<break time="150ms"/>'),qr){const ja=ld[qr]||(fa?ld[fa.trim()]:"");if(ja)ht+=" "+ja;else{const Oa=fa?Lg(fa.trim()):"";ht+=Oa||tt(qr)}}else ht+=Lo("math",y.body);y.type==="mbin"&&(ht+='<break time="150ms"/>')}break}case"mop":case"operator":case"extensible-symbol":if(y.value!=="\u200B"){const qr=y.command;if(qr==="\\sum")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let fa=Lo("math",y.superscript);fa=fa.trim();let ja=Lo("math",y.subscript);ja=ja.trim(),ht+=' the summation from <break time="200ms"/>'+ja+'<break time="200ms"/> to <break time="200ms"/>'+fa+'<break time="200ms"/> of <break time="150ms"/>',hn=!0}else if(y.hasEmptyBranch("subscript"))ht+=" the summation of";else{let fa=Lo("math",y.subscript);fa=fa.trim(),ht+=' the summation from <break time="200ms"/>'+fa+'<break time="200ms"/> of <break time="150ms"/>',hn=!0}else if(qr==="\\prod")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let fa=Lo("math",y.superscript);fa=fa.trim();let ja=Lo("math",y.subscript);ja=ja.trim(),ht+=' the product from <break time="200ms"/>'+ja+'<break time="200ms"/> to <break time="200ms"/>'+fa+'<break time="200ms"/> of <break time="150ms"/>',hn=!0}else if(y.hasEmptyBranch("subscript"))ht+=" the product of ";else{let fa=Lo("math",y.subscript);fa=fa.trim(),ht+=' the product from <break time="200ms"/>'+fa+'<break time="200ms"/> of <break time="150ms"/>',hn=!0}else if(qr==="\\int")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let fa=Lo("math",y.superscript);fa=fa.trim();let ja=Lo("math",y.subscript);ja=ja.trim(),ht+=' the integral from <break time="200ms"/>'+ct(ja)+'<break time="200ms"/> to <break time="200ms"/>'+ct(fa)+' <break time="200ms"/> of ',hn=!0}else ht+=' the integral of <break time="200ms"/> ';else if(typeof y.value=="string"){const fa=(Ke=ld[y.value])!=null?Ke:y.command?ld[y.command]:void 0;ht+=fa||" "+y.value}else y.command&&(y.command==="\\mathop"?ht+=Lo("math",y.body):y.command==="\\operatorname"?ht+=Ng(y.body):ht+=y.command.startsWith("\\")?" "+y.command.slice(1):" "+y.command)}break;case"enclose":Gt=Lo("math",y.body),ht+=" crossed out "+Gt+". End crossed out.";break;case"space":case"spacing":break}if(!hn&&!y.hasEmptyBranch("superscript")){let Cr=Lo(a,y.superscript);Cr=Cr.trim();const ui=Cr.replace(/<[^>]*>/g,"");if(Yd(y.superscript)){if(a==="math"){const xr=Pg(y.superscript);xr&&(ht+='<mark name="'+xr+'"/>')}ui==="\u2032"?ht+=" prime ":ui==="2"?ht+=" squared ":ui==="3"?ht+=" cubed ":Number.isNaN(Number.parseInt(ui))?ht+=" to the "+Cr+"; ":ht+=' to the <say-as interpret-as="ordinal">'+ui+"</say-as> power; "}else Number.isNaN(Number.parseInt(ui))?ht+=" raised to the "+Cr+"; ":ht+=' raised to the <say-as interpret-as="ordinal">'+ui+"</say-as> power; "}if(!hn&&!y.hasEmptyBranch("subscript")){let Cr=Lo("math",y.subscript);Cr=Cr.trim(),ht+=Yd(y.subscript)?" sub "+Cr:" subscript "+Cr+". End subscript. "}}return ht}function cd(a){var y,b;if(window.MathfieldElement.textToSpeechRules==="sre"&&("sre"in window||"SRE"in window)){const ue=Vo(a);if(ue){window.MathfieldElement.textToSpeechMarkup&&(window.MathfieldElement.textToSpeechRulesOptions=(y=window.MathfieldElement.textToSpeechRulesOptions)!=null?y:{},window.MathfieldElement.textToSpeechRulesOptions=ne(ae({},window.MathfieldElement.textToSpeechRulesOptions),{markup:window.MathfieldElement.textToSpeechMarkup}),window.MathfieldElement.textToSpeechRulesOptions.markup==="ssml"&&(window.MathfieldElement.textToSpeechRulesOptions=ne(ae({},window.MathfieldElement.textToSpeechRulesOptions),{markup:"ssml_step"})),window.MathfieldElement.textToSpeechRulesOptions=ne(ae({},window.MathfieldElement.textToSpeechRulesOptions),{rate:window.MathfieldElement.speechEngineRate}));const Pe=(b=window.SRE)!=null?b:window.sre.System.getInstance();window.MathfieldElement.textToSpeechRulesOptions&&Pe.setupEngine(window.MathfieldElement.textToSpeechRulesOptions);let Ke="";try{Ke=Pe.toSpeech(ue)}catch(tt){console.error("MathLive 0.98.5: `SRE.toSpeech()` runtime error",tt)}return Ke}return""}let z=Lo("math",a);if(window.MathfieldElement.textToSpeechMarkup==="ssml"){let ue="";window.MathfieldElement.speechEngineRate&&(ue='<prosody rate="'+window.MathfieldElement.speechEngineRate+'">'),z='<?xml version="1.0"?><speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US"><amazon:auto-breaths>'+ue+"<p><s>"+z+"</s></p>"+(ue?"</prosody>":"")+"</amazon:auto-breaths></speak>"}else window.MathfieldElement.textToSpeechMarkup==="mac"&&le()==="macos"?z=z.replace(/<mark([^/]*)\/>/g,"").replace(/<emphasis>/g,"[[emph+]]").replace(/<\/emphasis>/g,"").replace(/<break time="(\d*)ms"\/>/g,"[[slc $1]]").replace(/<say-as[^>]*>/g,"").replace(/<\/say-as>/g,""):z=z.replace(/<[^>]*>/g,"").replace(/\s{2,}/g," ");return z}var Qd={"\\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"},Jd={"\\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 Rg(a){let y="";for(const b of a){const z=y[y.length-1];z!==void 0&&/\d/.test(z)&&/^\d/.test(b)&&(y+=" "),y+=b}return y}function Us(a){var y,b,z,ue,Pe,Ke,tt,ct,ht,bt,Bt,Gt,hn;if(!a)return"";if(re(a)){if(a.length===0)return"";if(a[0].mode==="latex")return a.map(Us).join("");if(a[0].mode==="text"){let vi=0,qr="";for(;((y=a[vi])==null?void 0:y.mode)==="text";)qr+=a[vi].body?Us(a[vi].body):a[vi].value,vi++;return`"${qr}" ${Us(a.slice(vi))}`}let xr=0;const Gr=[];for(;a[xr]&&a[xr].mode==="math";){let vi="";for(;a[xr]&&a[xr].type==="mord"&&/\d/.test(a[xr].value);)vi+=a[xr++].value;vi?Gr.push(vi):Gr.push(Us(a[xr++]))}return Gr.push(Us(a.slice(xr))),Rg(Gr)}if(a.mode==="text")return`"${a.value}"`;let xn="";const{command:Cr}=a;let ui;if(Cr==="\\placeholder")return`(${Us(a.body)})`;switch(a.type){case"accent":const xr={"\\vec":"vec","\\dot":"dot","\\ddot":"ddot","\\bar":"bar","\\hat":"hat","\\acute":"acute;","\\grave":"grave","\\tilde":"tilde","\\breve":"breave","\\check":"check"}[Cr];xn=`${xr!=null?xr:""} ${Us(a.body)} `;break;case"first":return"";case"latexgroup":return a.body.map(Oa=>Oa.value).join("");case"group":case"root":xn=(b=Qd[Cr])!=null?b:Us(a.body);break;case"genfrac":{const Oa=a;(Oa.leftDelim||Oa.rightDelim)&&(xn=Oa.leftDelim==="."||!Oa.leftDelim?"{:":Oa.leftDelim),Oa.hasBarLine?(xn+="(",xn+=Us(Oa.above),xn+=")/(",xn+=Us(Oa.below),xn+=")"):(xn+="("+Us(Oa.above)+"),",xn+="("+Us(Oa.below)+")"),(Oa.leftDelim||Oa.rightDelim)&&(xn+=Oa.rightDelim==="."||!Oa.rightDelim?"{:":Oa.rightDelim)}break;case"surd":xn+=a.hasEmptyBranch("above")?"sqrt("+Us(a.body)+")":"root("+Us(a.above)+")("+Us(a.body)+")";break;case"latex":xn=a.value;break;case"leftright":{const Oa=a,Ro=Oa.leftDelim;xn+=Ro==="."||!Ro?"{:":Ro,xn+=Us(Oa.body);const is=Oa.matchingRightDelim();xn+=is==="."||!is?":}":is}break;case"sizeddelim":case"delim":xn=a.value;break;case"overlap":break;case"overunder":break;case"mord":xn=(ue=(z=Qd[Cr])!=null?z:Cr)!=null?ue:typeof a.value=="string"?a.value:"",xn.startsWith("\\")&&(xn+=" "),ui=Cr?Cr.match(/{?\\char"([\dabcdefABCDEF]+)}?/):null,ui?xn=String.fromCodePoint(Number.parseInt("0x"+ui[1])):xn.length>0&&xn.startsWith("\\")&&(xn=typeof a.value=="string"?a.value.charAt(0):a.command),xn=Bg(xn,a.style);break;case"mbin":case"mrel":case"minner":xn=(Ke=(Pe=Qd[Cr])!=null?Pe:Jd[Cr])!=null?Ke:a.value;break;case"mopen":case"mclose":xn=a.value;break;case"mpunct":xn=(tt=Jd[Cr])!=null?tt:Cr;break;case"mop":case"operator":case"extensible-symbol":a.value!=="\u200B"&&(Jd[Cr]?xn=Jd[Cr]:xn=Cr==="\\operatorname"?Us(a.body):(ct=a.value)!=null?ct:Cr,xn+=" ");break;case"array":const Gr=a.array,vi=a.environmentName,qr=(ht={bmatrix:["[","]"],"bmatrix*":["[","]"]}[vi])!=null?ht:["(",")"],fa=[];for(const Oa of Gr){const Ro=[];for(const is of Oa)Ro.push(qr[0]+Us(is)+qr[1]);fa.push(Ro.join(","))}const ja=(bt={bmatrix:["[","]"],"bmatrix*":["[","]"],cases:["{",":}"]}[vi])!=null?bt:["(",")"];xn=ja[0]+fa.join(",")+ja[1];break;case"box":break;case"spacing":xn=(Bt=Qd[Cr])!=null?Bt:" ";break;case"enclose":xn="("+Us(a.body)+")";break;case"space":xn=" ";break;case"subsup":xn="";break;case"macro":xn=(hn=(Gt=Qd[Cr])!=null?Gt:Jd[Cr])!=null?hn:Us(a.body);break}if(!a.hasEmptyBranch("subscript")){xn+="_";const xr=Us(a.subscript);xn+=xr.length!==1?`(${xr})`:xr}if(!a.hasEmptyBranch("superscript")){xn+="^";const xr=Us(a.superscript);xn+=xr.length!==1?`(${xr})`:xr}return xn}function Bg(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 dl(a,y){var b,z;y!=null||(y={}),y.mathstyle=(b=y.mathstyle)!=null?b:"displaystyle";const ue=new Po({from:ne(ae({},Wu()),{renderPlaceholder:()=>new hi(160,{maxFontSize:1}),letterShapeStyle:(z=y==null?void 0:y.letterShapeStyle)!=null?z:"tex"}),mathstyle:y.mathstyle}),Ke=new Br({mode:"math",type:"root",body:ul(a,{context:ue,parseMode:"math",mathstyle:y.mathstyle})}).render(ue);return Ke?(Ku(Rd(Ke,ue)),zu(Ke,{classes:"ML__latex"}).toMarkup()):""}function Ty(a){return np(a,{context:Wu()})}function _g(a,y={}){return Vo(ul(a,{parseMode:"math",args:()=>"",mathstyle:"displaystyle"}),y)}function Fg(a){const y=ul(a,{parseMode:"math",mathstyle:"displaystyle"});return cd(y)}var $f;function jg(a){var y,b;if(!$f){const z=(y=globalThis[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;z?$f=new z:console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
Load the library, for example with:
import "https://unpkg.com/@cortex-js/compute-engine?module"`)}return(b=$f==null?void 0:$f.box(a).latex)!=null?b:""}function Oy(a,y="math"){return Us(new Br({type:"root",body:ul(a,{parseMode:y})}))}function Dy(a){return Eu(a,{format:"ascii-math"})[1]}function Zh(a){if(typeof a=="string"){const y=Kg(a);if(!y)throw new Error(`Invalid color: ${a}`);return y}return"C"in a?Hg(a):"a"in a?dm(a):a}function ud(a){return a<0?0:a>255?255:Math.round(a)}function Kg(a){if(!a||a[0]!=="#")return;a=a.slice(1);let y;return a.length<=4?(y={r:parseInt(a[0]+a[0],16),g:parseInt(a[1]+a[1],16),b:parseInt(a[2]+a[2],16)},a.length===4&&(y.a=parseInt(a[3]+a[3],16)/255)):(y={r:parseInt(a[0]+a[1],16),g:parseInt(a[2]+a[3],16),b:parseInt(a[4]+a[5],16)},a.length===8&&(y.a=parseInt(a[6]+a[7],16)/255)),y&&typeof y.a=="undefined"&&(y.a=1),y}function Gh(a){const[y,b,z]=[a.L,a.C,a.H],ue=z*Math.PI/180,Pe={L:y,a:b*Math.cos(ue),b:b*Math.sin(ue)};return a.alpha!==void 0&&(Pe.alpha=a.alpha),Pe}function zg(a){const[y,b,z]=[a.L,a.a,a.b],ue=Math.sqrt(b*b+z*z),Ke=Math.atan2(z,b)*180/Math.PI,tt={L:y,C:ue,H:Ke};return a.alpha!==void 0&&(tt.alpha=a.alpha),tt}function Xh(a){const[y,b,z]=[a.L,a.a,a.b],ue=Math.pow(.9999999984505198*y+.39633779217376786*b+.2158037580607588*z,3),Pe=Math.pow(1.00000000888176*y-.10556134232365635*b-.0638541747717059*z,3),Ke=Math.pow(y*1.000000054672411-.0894841820949657*b-1.2914855378640917*z,3),tt=4.076741661347994*ue-3.307711590408193*Pe+.230969928729428*Ke,ct=-1.2684380040921763*ue+2.6097574006633715*Pe-.3413193963102197*Ke,ht=-.004196086541837188*ue-.7034186144594493*Pe+1.7076147009309444*Ke,bt=Bt=>{const Gt=Math.abs(Bt);return Gt<=.0031308?Bt*12.92:(Math.sign(Bt)||1)*(1.055*Math.pow(Gt,1/2.4)-.055)};return[bt(tt),bt(ct),bt(ht)]}function Yh(a){const[y,b,z]=a;return y>=0&&y<=1&&b>=0&&b<=1&&z>=0&&z<=1}function Qh(a,y){let[b,z,ue]=a;return b=ud(b*255),z=ud(z*255),ue=ud(ue*255),y!==void 0?{r:b,g:z,b:ue,alpha:y}:{r:b,g:z,b:ue}}function dm(a){let[y,b,z]=Xh(a);if(Yh([y,b,z]))return Qh([y,b,z],a.alpha);const ue=zg(a);if(ue.C=0,[y,b,z]=Xh(Gh(ue)),!Yh([y,b,z]))return Qh([y,b,z],a.alpha);let Pe=0,Ke=a.L,tt=(Pe+Ke)/2;ue.C=tt;const ct=.36/Math.pow(2,12);for(;Ke-Pe>ct;)tt=(Pe+Ke)/2,ue.C=tt,[y,b,z]=Xh(Gh(ue)),Yh([y,b,z])?Pe=tt:Ke=tt;return Qh([y,b,z],a.alpha)}function Hg(a){return dm(Gh(a))}function fm(a,y){const b=Zh(a),z=Zh(y),ue=.56,Pe=.57,Ke=.62,tt=.65,ct=.022,ht=1.414,bt=.1,Bt=5e-4,Gt=1.14,hn=.027,xn=1.14,Cr=.027;function ui(Oa){return Oa>=ct?Oa:Oa+jc(ct-Oa,ht)}function xr(Oa){return(Oa<0?-1:1)*Math.pow(Math.abs(Oa),2.4)}const Gr=ui(xr(z.r/255)*.2126729+xr(z.g/255)*.7151522+xr(z.b/255)*.072175),vi=ui(xr(b.r/255)*.2126729+xr(b.g/255)*.7151522+xr(b.b/255)*.072175);let qr,fa,ja;return Math.abs(vi-Gr)<Bt?fa=0:vi>Gr?(qr=jc(vi,ue)-jc(Gr,Pe),fa=qr*Gt):(qr=jc(vi,tt)-jc(Gr,Ke),fa=qr*xn),Math.abs(fa)<bt?ja=0:fa>0?ja=fa-Cr:ja=fa+hn,ja*100}function hm(a,y,b){b!=null||(b="#fff"),y!=null||(y="#000");const z=fm(a,b),ue=fm(a,y);return Math.abs(z)>Math.abs(ue)?b:y}function Wg(a){const y=Zh(a);let b=((1<<24)+(ud(y.r)<<16)+(ud(y.g)<<8)+ud(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 Cs(a){const y=pm(a);let b="";for(const z of y){if(typeof z.value!="string")return"";b+=z.value}return b}function pm(a){const b=a.model.selection.ranges;return b.length!==1?[]:a.model.getAtoms(b[0])}function Ug(a,y){const b=pm(a);if(b.length!==1)return!1;const z=mh[y];return z?!!z.test(b[0].value):!1}function Vg(a,y){return Cs(a).length>0}function Zg(a){return[Jh(a,"double-struck","mathbb","tooltip.blackboard"),Jh(a,"fraktur","mathfrak","tooltip.fraktur"),Jh(a,"calligraphic","mathcal","tooltip.caligraphic"),$h(a,"up","mathrm","tooltip.roman-upright"),$h(a,"bold","mathbf","tooltip.bold"),$h(a,"italic","mathit","tooltip.italic")]}function Gg(a){return[{label:()=>dl(`\\vec{${Cs(a)}}`),visible:()=>Cs(a).length===1,onMenuSelect:()=>a.insert("\\vec{#@}",{selectionMode:"item"})},{label:()=>dl(`\\overrightarrow{${Cs(a)}}`),visible:()=>Cs(a).length>0,onMenuSelect:()=>a.insert("\\overrightarrow{#@}",{selectionMode:"item"})},{label:()=>dl(`\\overleftarrow{${Cs(a)}}`),visible:()=>Cs(a).length>0,onMenuSelect:()=>a.insert("\\overleftarrow{#@}",{selectionMode:"item"})},{label:()=>dl(`\\dot{${Cs(a)}}`),visible:()=>Cs(a).length===1,onMenuSelect:()=>a.insert("\\dot{#@}",{selectionMode:"item"})},{label:()=>dl(`\\ddot{${Cs(a)}}`),visible:()=>Cs(a).length===1,onMenuSelect:()=>a.insert("\\ddot{#@}",{selectionMode:"item"})},{label:()=>dl(`\\bar{${Cs(a)}}`),visible:()=>Cs(a).length===1,onMenuSelect:()=>a.insert("\\bar{#@}",{selectionMode:"item"})},{label:()=>dl(`\\overline{${Cs(a)}}`),visible:()=>Cs(a).length>0,onMenuSelect:()=>a.insert("\\overline{#@}",{selectionMode:"item"})},{label:()=>dl(`\\overgroup{${Cs(a)}}`),visible:()=>Cs(a).length>0,onMenuSelect:()=>a.insert("\\overgroup{#@}",{selectionMode:"item"})},{label:()=>dl(`\\overbrace{${Cs(a)}}`),visible:()=>Cs(a).length>0,onMenuSelect:()=>a.insert("\\overbrace{#@}",{selectionMode:"item"})},{label:()=>dl(`\\underline{${Cs(a)}}`),visible:()=>Cs(a).length>0,onMenuSelect:()=>a.insert("\\underline{#@}",{selectionMode:"item"})},{label:()=>dl(`\\undergroup{${Cs(a)}}`),visible:()=>Cs(a).length>0,onMenuSelect:()=>a.insert("\\undergroup{#@}",{selectionMode:"item"})},{label:()=>dl(`\\underbrace{${Cs(a)}}`),visible:()=>Cs(a).length>0,onMenuSelect:()=>a.insert("\\underbrace{#@}",{selectionMode:"item"})}]}function Xg(a){return[{label:()=>dl(`\\boxed{${a.getValue(a.model.selection)}}}`),onMenuSelect:()=>a.insert("\\boxed{#@}",{selectionMode:"item"})},{label:()=>dl(`\\bbox[5px, border: 2px solid red]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px solid red]{#@}",{selectionMode:"item"})},{label:()=>dl(`\\bbox[5px, border: 2px dashed black]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px dashed black]{#@}",{selectionMode:"item"})}]}function Yg(a){const y=[];for(const b of Object.keys(Fe))y.push({class:(Wg(hm(Fe[b]))==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${Fe[b]} "></span>`,ariaLabel:()=>{var z;return(z=Me(b))!=null?z:b},checked:()=>{var z;return{some:"mixed",all:!0}[(z=a.queryStyle({backgroundColor:b}))!=null?z:!1]},onMenuSelect:()=>{a.applyStyle({backgroundColor:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}function Qg(a){const y=[];for(const b of Object.keys(ke))y.push({class:(hm(ke[b])==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${ke[b]} "></span>`,ariaLabel:()=>{var z;return(z=Me(b))!=null?z:b},checked:()=>{var z;return{some:"mixed",all:!0}[(z=a.queryStyle({color:b}))!=null?z:!1]},onMenuSelect:()=>{a.applyStyle({color:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}var Jg=class extends tm{constructor(a,y,b,z){super(a,y),this.row=b,this.col=z}set active(a){const y=this.parentMenu.children;if(a)for(const b of y)b.element.classList.toggle("active",b.row<=this.row&&b.col<=this.col);else for(const b of y)b.element.classList.remove("active")}};function $g(a){const y=[];for(let b=1;b<=5;b++)for(let z=1;z<=5;z++)y.push({onCreate:(ue,Pe)=>new Jg(ue,Pe,b,z),label:"\u2610",tooltip:()=>Me("tooltip.row-by-col",b,z),data:{row:b,col:z},onMenuSelect:()=>{a.insert(`\\begin{pmatrix}${Array(b).fill(Array(z).fill("#?").join(" & ")).join("\\\\")}\\end{pmatrix}`,{selectionMode:"item"})}});return y}function qg(a){return[{label:()=>Me("menu.array.add row above"),id:"add-row-above",onMenuSelect:()=>a.executeCommand("addRowBefore"),visible:()=>_u(a)},{label:()=>Me("menu.array.add row below"),id:"add-row-below",onMenuSelect:()=>a.executeCommand("addRowAfter"),visible:()=>_u(a)},{label:()=>Me("menu.array.add column before"),id:"add-column-before",onMenuSelect:()=>a.executeCommand("addColumnBefore"),visible:()=>_u(a),enabled:()=>{const y=a.model.parentEnvironment;if(!y)return!1;const[b,z]=ty(a);return b<y.maxColumns}},{label:()=>Me("menu.array.add column after"),id:"add-column-after",onMenuSelect:()=>a.executeCommand("addColumnAfter"),visible:()=>_u(a)},{type:"divider"},{label:()=>Me("menu.array.delete row"),id:"delete-row",onMenuSelect:()=>a.executeCommand("removeRow"),visible:()=>_u(a)},{label:()=>Me("menu.array.delete column"),id:"delete-column",onMenuSelect:()=>a.executeCommand("removeColumn"),visible:()=>_u(a)},{type:"divider"},{label:()=>Me("menu.borders"),visible:()=>(ey(a)||_u(a))&&a.isSelectionEditable,submenu:[{label:" \u22F1 ",id:"environment-no-border",onMenuSelect:()=>$d(a,"matrix")},{label:"(\u22F1)",id:"environment-parentheses",onMenuSelect:()=>$d(a,"pmatrix")},{label:"[\u22F1]",id:"environment-brackets",onMenuSelect:()=>$d(a,"bmatrix")},{label:"|\u22F1|",id:"environment-bar",onMenuSelect:()=>$d(a,"vmatrix")},{label:"{\u22F1}",id:"environment-braces",onMenuSelect:()=>$d(a,"Bmatrix")}],submenuClass:"border-submenu"},{type:"divider"},{label:()=>Me("menu.insert matrix"),id:"insert-matrix",visible:()=>a.isSelectionEditable,submenu:$g(a),submenuClass:"insert-matrix-submenu",columnCount:5},{label:()=>Me("menu.mode"),id:"mode",visible:()=>a.isSelectionEditable&&a.model.selectionIsCollapsed,submenu:[{label:()=>Me("menu.mode-math"),id:"mode-math",onMenuSelect:()=>{qu(a,"accept-all"),a.executeCommand(["switchMode","math"])},checked:()=>a.model.mode==="math"},{label:()=>Me("menu.mode-text"),id:"mode-text",onMenuSelect:()=>{qu(a,"accept-all"),a.executeCommand(["switchMode","text"])},checked:()=>a.model.mode==="text"},{label:()=>Me("menu.mode-latex"),id:"mode-latex",onMenuSelect:()=>a.executeCommand(["switchMode","latex"]),checked:()=>a.model.mode==="latex"}]},{type:"divider"},{label:()=>Me("menu.font-style"),id:"variant",visible:()=>a.isSelectionEditable,submenu:Zg(a),submenuClass:"variant-submenu"},{label:()=>Me("menu.color"),id:"color",visible:()=>a.isSelectionEditable,submenu:Qg(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>Me("menu.background-color"),id:"background-color",visible:()=>a.isSelectionEditable,submenu:Yg(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>Me("menu.accent"),id:"accent",visible:()=>a.isSelectionEditable,submenu:Gg(a),submenuClass:"variant-submenu"},{label:()=>Me("menu.decoration"),id:"decoration",visible:()=>a.isSelectionEditable&&Cs(a).length>0,submenu:Xg(a),submenuClass:"variant-submenu"},{type:"divider"},{label:()=>Me("menu.evaluate"),id:"ce-evaluate",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{const y=ny(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:()=>Me("menu.simplify"),id:"ce-simplify",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{var y,b;if(a.model.selectionIsCollapsed){const z=(y=a.expression)==null?void 0:y.simplify();if(a.model.position=a.model.lastOffset,!z){a.model.announce("plonk");return}a.insert(`=${z.latex}`,{insertionMode:"insertAfter",selectionMode:"item"})}else{const z=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection)).simplify();if(!z){a.model.announce("plonk");return}a.insert(z.latex,{insertionMode:"replaceSelection",selectionMode:"item"})}}},{label:()=>{var y;if(window.MathfieldElement.computeEngine===null)return"";const b=(y=a.expression)==null?void 0:y.unknowns[0];return b?Me("menu.solve-for",dl(b)):Me("menu.solve")},id:"ce-solve",visible:()=>{var y;return a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null&&((y=a.expression)==null?void 0:y.unknowns.length)===1&&a.expression.unknowns[0]!=="Nothing"},onMenuSelect:()=>{var y;const b=a.expression,z=b==null?void 0:b.unknowns[0],ue=(y=b.solve(z))==null?void 0:y.map(Pe=>{var Ke;return(Ke=Pe.simplify().latex)!=null?Ke:""});if(!ue){a.model.announce("plonk");return}a.insert(`${z}=${ue.length===1?ue[0]:"\\left\\lbrace"+(ue==null?void 0:ue.join(", "))+"\\right\\rbrace"}`,{insertionMode:"replaceAll",selectionMode:"item"})}},{type:"divider"},{label:()=>Me("menu.cut"),onMenuSelect:()=>a.executeCommand("cutToClipboard"),visible:()=>!a.options.readOnly&&a.isSelectionEditable,keyboardShortcut:"meta+X"},{label:()=>Me("menu.copy"),id:"copy",submenu:[{label:()=>Me("menu.copy-as-latex"),id:"copy-latex",onMenuSelect:()=>so.copyToClipboard(a,"latex"),keyboardShortcut:"meta+C"},{label:()=>Me("menu.copy-as-ascii-math"),id:"copy-ascii-math",onMenuSelect:()=>so.copyToClipboard(a,"ascii-math")},{label:()=>Me("menu.copy-as-mathml"),id:"copy-math-ml",onMenuSelect:()=>so.copyToClipboard(a,"math-ml")}]},{label:()=>Me("menu.paste"),id:"paste",onMenuSelect:()=>a.executeCommand("pasteFromClipboard"),visible:()=>a.hasEditableContent,keyboardShortcut:"meta+V"},{label:()=>Me("menu.select-all"),id:"select-all",keyboardShortcut:"meta+A",onMenuSelect:()=>a.executeCommand("selectAll")}]}function _u(a){var y;return!!((y=a.model.parentEnvironment)!=null&&y.array)}function ey(a){return a.model.at(a.model.position).type==="array"}function ty(a){var y;const b=(y=a.model.parentEnvironment)==null?void 0:y.array;return b?[b.length,b.reduce((z,ue)=>Math.max(z,ue.length),0)]:[0,0]}function $d(a,y){Af(a),a.flushInlineShortcutBuffer(),Pp(a.model,y),Bs(a)}function ny(a){var y,b;let z;if(a.model.selectionIsCollapsed?z=(y=window.MathfieldElement.computeEngine)==null?void 0:y.parse(a.getValue(),{canonical:!1}):z=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection),{canonical:!1}),!z)return"";let ue=z.evaluate();return ue.isSame(z)&&(ue=z.N()),ue.latex}function Jh(a,y,b,z){return{label:()=>dl(`\\${b}{${Cs(a)}}`),tooltip:()=>{var ue;return(ue=Me(z))!=null?ue:z},visible:()=>Ug(a,y),checked:()=>{var ue;return{some:"mixed",all:!0}[(ue=a.queryStyle({variant:y}))!=null?ue:!1]},onMenuSelect:()=>{a.applyStyle({variant:y},{operation:"toggle"}),a.adoptStyle="none"}}}function $h(a,y,b,z){return{label:()=>dl(`\\${b}{${Cs(a)}}`),tooltip:()=>{var ue;return(ue=Me(z))!=null?ue:z},visible:()=>Vg(a,y),checked:()=>{var ue;return{some:"mixed",all:!0}[(ue=a.queryStyle({variantStyle:y}))!=null?ue:!1]},onMenuSelect:()=>{a.applyStyle({variantStyle:y},{operation:"toggle"}),a.adoptStyle="none"}}}function dd(a,y){return a+cd(y)}Kl({speak:(a,y,b)=>ry(a,y,b)},{target:"mathfield"});function ry(a,y,b){var z,ue;b=b!=null?b:{withHighlighting:!1};const{model:Pe}=a;function Ke(bt){let Bt=null;switch(bt){case"all":Bt=Pe.root;break;case"selection":Bt=Pe.getAtoms(Pe.selection);break;case"left":{Bt=Pe.getAtoms(Pe.offsetOf(Pe.at(Pe.position).leftSibling),Pe.position);break}case"right":{Bt=Pe.getAtoms(Pe.position,Pe.offsetOf(Pe.at(Pe.position).rightSibling));break}case"group":Bt=Pe.getAtoms(Pe.getSiblingsRange(Pe.position));break;case"parent":{const{parent:Gt}=Pe.at(Pe.position);Gt!=null&&Gt.parent?Bt=Gt:Bt=Pe.root;break}default:Bt=Pe.root}return Bt}function tt(bt){let Bt="";switch(bt){case"all":console.log("Internal failure: speak all failed");break;case"selection":Bt="no selection";break;case"left":Bt="at start";break;case"right":Bt="at end";break;case"group":console.log("Internal failure: speak group failed");break;case"parent":Bt="no parent";break;default:console.log('unknown speak_ param value: "'+bt+'"');break}return Bt}const ct=Ke(y);if(ct===null)return(ue=(z=window.MathfieldElement).speakHook)==null||ue.call(z,tt(y)),!1;(b.withHighlighting||window.MathfieldElement.speechEngine==="amazon")&&(window.MathfieldElement.textToSpeechMarkup=window.sre&&window.MathfieldElement.textToSpeechRules==="sre"?"ssml_step":"ssml");const ht=cd(ct);return ce()&&b.withHighlighting?(hu().readAloudMathfield=a,Tu(a,{forHighlighting:!0}),window.MathfieldElement.readAloudHook&&window.MathfieldElement.readAloudHook(a.field,ht)):window.MathfieldElement.speakHook&&window.MathfieldElement.speakHook(ht),!1}function iy(a){var y,b;if(!ce()){console.log("Speak:",a);return}if(!window.MathfieldElement.speechEngine||window.MathfieldElement.speechEngine==="local"){const z=new SpeechSynthesisUtterance(a);window.speechSynthesis.speak(z)}else if(window.MathfieldElement.speechEngine==="amazon")if(!("AWS"in window))console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");else{const z=new window.AWS.Polly({apiVersion:"2016-06-10"}),ue={OutputFormat:"mp3",VoiceId:(y=window.MathfieldElement.speechEngineVoice)!=null?y:"Joanna",Engine:["Amy","Emma","Brian","Ivy","Joanna","Kendra","Kimberly","Salli","Joey","Justin","Matthew"].includes((b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna")?"neural":"standard",Text:a,TextType:"ssml"};z.synthesizeSpeech(ue,(Pe,Ke)=>{if(Pe)console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${Pe}`);else if(Ke!=null&&Ke.AudioStream){const tt=new Uint8Array(Ke.AudioStream),ct=new Blob([tt.buffer],{type:"audio/mpeg"}),ht=URL.createObjectURL(ct);new Audio(ht).play().catch(Bt=>console.log(Bt))}else console.log("polly.synthesizeSpeech():",Ke)})}else window.MathfieldElement.speechEngine==="google"&&console.error("MathLive 0.98.5: The Google speech engine is not supported yet. Please come again.")}function mm(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 ay(a,y,b,z){let ue="";if(y==="plonk")window.MathfieldElement.playSound("plonk"),a.flushInlineShortcutBuffer();else if(y==="delete")ue=dd("deleted: ",z);else if(y==="focus"||y.includes("move"))ue=oy(a.model,b)+(a.model.selectionIsCollapsed?"":"selected: ")+sy(a.model);else if(y==="replacement")ue=dd("",a.model.at(a.model.position));else if(y==="line"){const Pe=dd("",a.model.root);a.keyboardDelegate.setAriaLabel(Pe)}else ue=z?dd(y+" ",z):y;if(ue){const Pe=a.ariaLiveText.textContent.includes("\xA0")?" \u202F ":" \xA0 ";a.ariaLiveText.textContent=ue+Pe}}function oy(a,y){if(Number.isNaN(y))return"";const b=a.at(y);if(!b||b.treeDepth<=a.at(a.position).treeDepth)return"";let z="",ue=b.parent;const Pe=a.at(a.position).parent;for(;ue!==a.root&&ue!==Pe;)z+=`out of ${mm(ue)};`,ue=ue.parent;return z}function sy(a){if(!a.selectionIsCollapsed)return dd("",a.getAtoms(a.selection));let y="";const b=a.at(a.position),z=mm(b);return b.isFirstSibling&&(y=(z?"start of "+z:"unknown")+": "),b.isLastSibling?b.isFirstSibling||(y+=z?"end of "+z:"unknown"):y+=dd("",b),y}var ly=class{constructor(a,y,b){this.mathfield=a,this.mode=y,this.silenceNotifications=!1,this._selection={ranges:[[0,0]],direction:"none"},this._anchor=0,this._position=0,this.root=b}dispose(){this.mathfield=void 0}getState(){const a={ranges:[...this._selection.ranges]};return this.selection.direction&&this.selection.direction!=="none"&&(a.direction=this.selection.direction),{content:this.root.toJson(),selection:a,mode:this.mode}}setState(a,y){var b;const z=this.silenceNotifications;this.silenceNotifications=(b=y==null?void 0:y.silenceNotifications)!=null?b:!0;let ue={};if((y==null?void 0:y.type)==="undo"&&(ue={inputType:"historyUndo"}),(y==null?void 0:y.type)==="redo"&&(ue={inputType:"historyRedo"}),this.contentWillChange(ue)){const Pe=this.silenceNotifications;this.silenceNotifications=!0,this.mode=a.mode,this.root=cu(a.content),this.selection=a.selection,this.silenceNotifications=Pe,this.contentDidChange(ue)}this.silenceNotifications=z}get atoms(){return this.root.children}get selection(){return this._selection}set selection(a){this.setSelection(a)}setSelection(a,y){return!this.mathfield.contentEditable&&this.mathfield.userSelect==="none"?!1:this.deferNotifications({selection:!0},()=>{var b,z,ue;const Pe=this.normalizeSelection(a,y);if(Pe===void 0)throw new TypeError("Invalid selection");if(Pe.ranges.length===1&&Pe.ranges[0][0]===Pe.ranges[0][1]){const bt=Pe.ranges[0][0];if(!this.mathfield.dirty&&!((b=this.at(bt))!=null&&b.parentPrompt)&&this.mathfield.hasEditablePrompts){if((z=this.at(bt-1))!=null&&z.parentPrompt){this._anchor=this.normalizeOffset(bt-1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}if((ue=this.at(bt+1))!=null&&ue.parentPrompt){this._anchor=this.normalizeOffset(bt+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=bt,this._position=bt,this._selection=Pe;return}const Ke=ll(Pe);Pe.direction==="backward"?[this._position,this._anchor]=Ke:[this._anchor,this._position]=Ke;const tt=this.at(Ke[0]+1),ct=this.at(Ke[1]),ht=Br.commonAncestor(tt,ct);(ht==null?void 0:ht.type)==="array"&&tt.parent===ht&&ct.parent===ht?this._selection={ranges:[Ke],direction:Pe.direction}:this._selection={ranges:[Ke],direction:Pe.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 ml&&b.isSuggestion&&(b.isSuggestion=!1),this.mathfield.stopCoalescingUndo()}get position(){return this._position}set position(a){this.setSelection(a,a)}get anchor(){return this._anchor}get selectionIsCollapsed(){return this._anchor===this._position}get selectionIsPlaceholder(){return Math.abs(this._anchor-this._position)===1?this.at(Math.max(this._anchor,this._position)).type==="placeholder":!1}collapseSelection(a="forward"){return this._anchor===this._position?!1:(a==="backward"?this.position=Math.min(this._anchor,this._position):this.position=Math.max(this._anchor,this._position),!0)}get lastOffset(){return this.atoms.length-1}at(a){return this.atoms[a]}offsetOf(a){return this.atoms.indexOf(a)}getSiblingsRange(a){const y=this.at(a),{parent:b}=y;if(!b)return[0,this.lastOffset];const z=y.parent.branch(y.parentBranch);return[this.offsetOf(z[0]),this.offsetOf(z[z.length-1])]}getBranchRange(a,y){const b=this.at(a).branch(y);return[this.offsetOf(b[0]),this.offsetOf(b[b.length-1])]}getAtoms(a,y,b){let z=b!=null?b:{};if(Vu(a)){if(z=y!=null?y:{},a.ranges.length>1)return a.ranges.reduce((ht,bt)=>[...ht,...this.getAtoms(bt,z)],[]);a=a.ranges[0]}let ue,Pe;if(Cc(a)){if(ue=a,!Cc(y))return[];Pe=y}else[ue,Pe]=a,z=y!=null?y:{};if(!Number.isFinite(ue))return[];z.includeChildren===void 0&&(z.includeChildren=!1),ue<0&&(ue=this.lastOffset-ue+1),Pe<0&&(Pe=this.lastOffset-Pe+1);const Ke=Math.min(ue,Pe)+1,tt=Math.max(ue,Pe);if(!z.includeChildren&&Ke===1&&tt===this.lastOffset)return[this.root];let ct=[];for(let ht=Ke;ht<=tt;ht++){const bt=this.atoms[ht];vm(this,bt,Ke,tt)&&ct.push(bt)}return z.includeChildren||(ct=ct.filter(ht=>{let bt=!1,{parent:Bt}=ht;for(;Bt&&!bt;)bt=vm(this,Bt,Ke,tt),Bt=Bt.parent;return!bt})),ct}getAllAtoms(a=0){const y=[],b=this.lastOffset;for(let z=a;z<=b;z++)y.push(this.atoms[z]);for(let z=0;z<a;z++)y.push(this.atoms[z]);return y}findAtom(a,y=0,b="forward"){let z;const ue=this.lastOffset;if(b==="forward"){for(let Pe=y;Pe<=ue;Pe++)if(z=this.atoms[Pe],a(z))return z;for(let Pe=0;Pe<y;Pe++)if(z=this.atoms[Pe],a(z))return z;return}for(let Pe=y;Pe>=0;Pe--)if(z=this.atoms[Pe],a(z))return z;for(let Pe=ue;Pe>y;Pe--)if(z=this.atoms[Pe],a(z))return z}extractAtoms(a){let y=this.getAtoms(a);if(y.length===1&&!y[0].parent)if(y[0].type==="root")y=[...y[0].body],y.shift();else return y=this.root.cells.flat(),this.root=new Br({type:"root",body:[]}),y;for(const b of y)b.parent.removeChild(b);return y}deleteAtoms(a){this.extractAtoms(a),this.position=a[0]}atomToString(a,y){const b=y!=null?y:"latex";if(b.startsWith("latex"))return Br.serialize([a],{expandMacro:b==="latex-expanded",skipStyles:b==="latex-unstyled",skipPlaceholders:b==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode});if(b==="math-ml")return Vo(a);if(b==="spoken")return cd(a);if(b==="spoken-text"){const z=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="";const ue=cd(a);return window.MathfieldElement.textToSpeechMarkup=z,ue}if(b==="spoken-ssml"||b==="spoken-ssml-with-highlighting"){const z=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="ssml";const ue=cd(a);return window.MathfieldElement.textToSpeechMarkup=z,ue}return b==="ascii-math"?Us(a):(console.error(`MathLive 0.98.5: Unexpected format "${b}`),"")}getValue(a,y,b){if(a===void 0)return this.atomToString(this.root,"latex");if(typeof a=="string"&&a!=="math-json")return this.atomToString(this.root,a);let z,ue;if(Cc(a)&&Cc(y)?(z=[this.normalizeRange([a,y])],ue=b):Uu(a)?(z=[this.normalizeRange(a)],ue=y):Vu(a)?(z=a.ranges,ue=y):(z=[this.normalizeRange([0,-1])],ue=a),ue!=null||(ue="latex"),ue==="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 Pe=this.getValue({ranges:z},"latex-unstyled");try{const Ke=window.MathfieldElement.computeEngine.parse(Pe);return JSON.stringify(Ke.json)}catch(Ke){return JSON.stringify(["Error",`'${Ke.toString()}'`])}}if(ue.startsWith("latex")){const Pe={expandMacro:ue==="latex-expanded",skipStyles:ue==="latex-unstyled",skipPlaceholders:ue==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode};return Eo(z.map(Ke=>Br.serialize(this.getAtoms(Ke),Pe)))}return z.map(Pe=>this.getAtoms(Pe).map(Ke=>this.atomToString(Ke,ue)).join("")).join("")}extendSelectionTo(a,y){return!this.mathfield.contentEditable&&this.mathfield.userSelect==="none"?!1:this.deferNotifications({selection:!0},()=>{const b=this.normalizeRange([a,y]);let[z,ue]=b,{parent:Pe}=this.at(ue);if(Pe&&(Pe.type==="genfrac"||Pe.type==="subsup"))for(;Pe!==this.root&&qh(this,Pe,[z,ue]);)ue=this.offsetOf(Pe),Pe=Pe.parent;for(Pe=this.at(z).parent;Pe!==this.root&&qh(this,Pe,[z,ue]);)z=this.offsetOf(Pe.leftSibling),Pe=Pe.parent;if(Pe=this.at(ue).parent,(Pe==null?void 0:Pe.type)==="genfrac")for(;Pe!==this.root&&qh(this,Pe,[z,ue]);)ue=this.offsetOf(Pe),console.assert(ue>=0),Pe=Pe.parent;this._position=this.normalizeOffset(y),this._selection={ranges:[[z,ue]],direction:"none"}})}announce(a,y,b=[]){var z,ue;((ue=(z=this.mathfield.host)==null?void 0:z.dispatchEvent(new CustomEvent("announce",{detail:{command:a,previousPosition:y,atoms:b},cancelable:!0,bubbles:!0,composed:!0})))!=null?ue:!0)&&ay(this.mathfield,a,y,b)}deferNotifications(a,y){const b=this._selection,z=this._anchor,ue=this._position,Pe=this.silenceNotifications;this.silenceNotifications=!0;const Ke=this.root.changeCounter;y();const tt=this.root.changeCounter!==Ke,ct=z!==this._anchor||ue!==this._position||Cu(this._selection,b)==="different";return this.silenceNotifications=Pe,a.content&&tt&&this.contentDidChange({inputType:a.type}),a.selection&&ct&&this.selectionDidChange(),tt||ct}normalizeOffset(a){return a>0?a=Math.min(a,this.lastOffset):a<0&&(a=this.lastOffset+a+1),a}normalizeRange(a){let[y,b]=a;return y=this.normalizeOffset(y),b=this.normalizeOffset(b),y<b?[y,b]:[b,y]}normalizeSelection(a,y){var b;let z;if(Cc(a)){const ue=this.normalizeOffset(a);if(Cc(y)){const Pe=this.normalizeOffset(y);z=ue<=Pe?{ranges:[[ue,Pe]],direction:"none"}:{ranges:[[Pe,ue]],direction:"backward"}}else z={ranges:[[ue,ue]],direction:"none"}}else if(Uu(a)){const ue=this.normalizeOffset(a[0]),Pe=this.normalizeOffset(a[1]);z=ue<=Pe?{ranges:[[ue,Pe]],direction:"none"}:{ranges:[[Pe,ue]],direction:"backward"}}else Vu(a)&&(z={ranges:a.ranges.map(ue=>this.normalizeRange(ue)),direction:(b=a.direction)!=null?b:"none"});return console.assert(z!==void 0),z}get parentEnvironment(){let a=this.at(this.position).parent;if(a){for(;a.parent&&a.type!=="array";)a=a.parent;if(a.type==="array")return a}}get cell(){var a;let y=this.at(this.position);if(y){for(;y&&((a=y.parent)==null?void 0:a.type)!=="array";)y=y.parent;if(!(!(y!=null&&y.parent)||y.parent.type!=="array"))return y.parentBranch}}contentWillChange(a={}){if(this.silenceNotifications||!this.mathfield)return!0;const y=this.silenceNotifications;this.silenceNotifications=!0;const b=this.mathfield.onContentWillChange(a);return this.silenceNotifications=y,b}contentDidChange(a){var y;if(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ic(this.mathfield)),this.silenceNotifications||!this.mathfield.host||!this.mathfield)return;const b=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.host.dispatchEvent(new InputEvent("input",ne(ae({},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(Ic(this.mathfield)),this.silenceNotifications))return;const a=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.onSelectionDidChange(),this.silenceNotifications=a}};function vm(a,y,b,z){const ue=a.offsetOf(y);if(ue<b||ue>z)return!1;if(!y.hasChildren)return!0;const Pe=a.offsetOf(y.firstChild);if(Pe>=b&&Pe<=z){const Ke=a.offsetOf(y.lastChild);if(Ke>=b&&Ke<=z)return!0}return!1}function qh(a,y,b){if(!(y!=null&&y.hasChildren))return!1;const[z,ue]=b,Pe=a.offsetOf(y.firstChild),Ke=a.offsetOf(y.lastChild);return Pe>=z&&Pe<=ue&&Ke>=Pe&&Ke<=ue}function qd(a,y,b,z){var ue,Pe,Ke,tt,ct,ht;const bt=b.parent;if(bt&&b instanceof Uo){const Bt=!z&&y==="forward"||z==="body"&&y==="backward";let Gt=Bt?a.offsetOf(b.firstChild):a.offsetOf(b.lastChild);return Bt?b.rightDelim!=="?"&&b.rightDelim!=="."?(b.leftDelim=".",b.isDirty=!0):(bt.addChildrenAfter(b.removeBranch("body"),b),bt.removeChild(b),Gt--):b.leftDelim!=="?"&&b.leftDelim!=="."?(b.rightDelim=".",b.isDirty=!0):(bt.addChildrenAfter(b.removeBranch("body"),b),bt.removeChild(b),Gt--),a.position=Gt,!0}if(bt&&b.type==="surd"){if(y==="forward"&&!z||y==="backward"&&z==="body"){const Bt=b.leftSibling;b.hasChildren&&bt.addChildrenAfter(b.removeBranch("body"),b),bt.removeChild(b),a.position=a.offsetOf(Bt)}else y==="forward"&&z==="body"?a.position=a.offsetOf(b):!z&&y==="backward"?b.hasChildren?a.position=a.offsetOf(b.lastChild):(a.position=Math.max(0,a.offsetOf(b)-1),bt.removeChild(b)):z==="above"&&(b.hasEmptyBranch("above")&&b.removeBranch("above"),y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b.body[0]));return!0}if(bt&&(b.type==="box"||b.type==="enclose")){const Bt=z&&y==="backward"||!z&&y==="forward"?b.leftSibling:b.lastChild;return bt.addChildrenAfter(b.removeBranch("body"),b),bt.removeChild(b),a.position=a.offsetOf(Bt),!0}if(b.type==="genfrac"||b.type==="overunder"){if(!z)return b.type==="overunder"&&b.hasEmptyBranch("body")||b.type==="genfrac"&&b.hasEmptyBranch("below")&&b.hasEmptyBranch("above")?!1:(a.position=a.offsetOf(y==="forward"?b.firstChild:b.lastChild),!0);const Bt=ef.fractionNavigationOrder==="numerator-denominator"?"above":"below",Gt=Bt==="above"?"below":"above";if(bt&&(y==="forward"&&z===Bt||y==="backward"&&z===Gt)){const hn=b.removeBranch(Bt),xn=b.removeBranch(Gt);return bt.addChildrenAfter([...hn,...xn],b),bt.removeChild(b),a.position=a.offsetOf(hn.length>0?hn[hn.length-1]:xn[0]),!0}return y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b),!0}if(b.isExtensibleSymbol||b.type==="subsup"){if(!z&&y==="forward")return!1;if(!z){if(b.subscript||b.superscript){const Bt=y==="forward"?(Ke=(ue=b.superscript)==null?void 0:ue[0])!=null?Ke:(Pe=b.subscript)==null?void 0:Pe[0]:(ht=(tt=b.subscript)==null?void 0:tt[0].lastSibling)!=null?ht:(ct=b.superscript)==null?void 0:ct[0].lastSibling;return Bt&&(a.position=a.offsetOf(Bt)),!0}return!1}if(!b.hasChildren&&b.type==="subsup"){const Bt=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);return b.parent.removeChild(b),a.position=Bt,!0}if(z==="superscript")if(y==="backward"){const Bt=a.offsetOf(b.firstChild)-1;console.assert(Bt>=0),a.position=Bt}else b.subscript?a.position=a.offsetOf(b.subscript[0]):a.position=a.offsetOf(b);else z==="subscript"&&(y==="backward"&&b.superscript?a.position=a.offsetOf(b.superscript[0].lastSibling):y==="backward"?a.position=a.offsetOf(b.firstChild)-1:a.position=a.offsetOf(b));if(z&&b.hasEmptyBranch(z)&&(b.removeBranch(z),b.type==="subsup"&&!b.subscript&&!b.superscript)){const Bt=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);b.parent.removeChild(b),a.position=Bt}return!0}if((bt==null?void 0:bt.type)==="genfrac"&&!z&&b.type!=="first"){let Bt=a.offsetOf(b.leftSibling);return bt.removeChild(b),bt.hasEmptyBranch("above")&&bt.hasEmptyBranch("below")?(Bt=a.offsetOf(bt.leftSibling),bt.parent.removeChild(bt),a.announce("delete",void 0,[bt]),a.position=Bt,!0):(a.announce("delete",void 0,[b]),a.position=Bt,!0)}if(y==="backward"&&((bt==null?void 0:bt.command)==="\\ln"||(bt==null?void 0:bt.command)==="\\log")&&b.parentBranch!=="body"){const Bt=a.offsetOf(bt.leftSibling);return bt.parent.removeChild(bt),a.announce("delete",void 0,[bt]),a.position=Bt,!0}return!1}function cy(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&&qd(a,"backward",y))){if(y!=null&&y.isFirstSibling){if(qd(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])}}):Pc(a,ll(a.selection),"deleteContentBackward")}function uy(a){return!a.mathfield.isSelectionEditable||!a.contentWillChange({inputType:"deleteContentForward"})?!1:a.selectionIsCollapsed?a.deferNotifications({content:!0,selection:!0,type:"deleteContentForward"},()=>{var y,b;let z=a.at(a.position).rightSibling;if(z&&qd(a,"forward",z))return;if(z){if(a.at(a.position).isLastSibling&&qd(a,"forward",z.parent,z.parentBranch))return}else{if(z=a.at(a.position),z.isLastSibling&&qd(a,"forward",z.parent,z.parentBranch))return;z=void 0}if(a.position===a.lastOffset||!z){a.announce("plonk");return}z.parent.removeChild(z);let ue=(y=a.at(a.position))==null?void 0:y.rightSibling;for(;(ue==null?void 0:ue.type)==="subsup";)ue.parent.removeChild(ue),ue=(b=a.at(a.position))==null?void 0:b.rightSibling;a.announce("delete",void 0,[z])}):Pc(a,ll(a.selection),"deleteContentForward")}function Pc(a,y,b){const z=a.getAtoms(y);if(z.length>0&&z[0].parent){let ue=z[0].parent.firstChild;ue.type==="first"&&(ue=ue.rightSibling);const Pe=z[z.length-1].parent.lastChild;let Ke=z[0];Ke.type==="first"&&(Ke=Ke.rightSibling);const tt=z[z.length-1];if(Ke===ue&&tt===Pe){const ct=z[0].parent;ct.parent&&ct.type!=="prompt"&&(y=[a.offsetOf(ct.leftSibling),a.offsetOf(ct)])}if(z.length===1&&z[0].type==="placeholder"&&z[0].parent.type==="genfrac"){const ct=z[0].parent,ht=z[0].parentBranch==="below"?"above":"below",bt=a.offsetOf(ct.leftSibling);return a.deferNotifications({content:!0,selection:!0,type:b},()=>{var Bt,Gt;const hn=ct.removeBranch(ht);if(hn.length===1&&hn[0].type==="placeholder")(Gt=ct.parent)==null||Gt.removeChild(ct),a.position=Math.max(0,bt);else{const xn=ct.parent.addChildrenAfter(hn,ct);(Bt=ct.parent)==null||Bt.removeChild(ct),a.position=a.offsetOf(xn)}})}}return a.deferNotifications({content:!0,selection:!0,type:b},()=>a.deleteAtoms(y))}Kl({deleteAll:a=>a.contentWillChange({inputType:"deleteContent"})&&Pc(a,[0,-1],"deleteContent"),deleteForward:a=>uy(a),deleteBackward:a=>cy(a),deleteNextWord:a=>a.contentWillChange({inputType:"deleteWordForward"})&&Pc(a,[a.anchor,Th(a,a.position,"forward")],"deleteWordForward"),deletePreviousWord:a=>a.contentWillChange({inputType:"deleteWordBackward"})&&Pc(a,[a.anchor,Th(a,a.position,"backward")],"deleteWordBackward"),deleteToGroupStart:a=>a.contentWillChange({inputType:"deleteSoftLineBackward"})&&Pc(a,[a.anchor,a.offsetOf(a.at(a.position).firstSibling)],"deleteSoftLineBackward"),deleteToGroupEnd:a=>a.contentWillChange({inputType:"deleteSoftLineForward"})&&Pc(a,[a.anchor,a.offsetOf(a.at(a.position).lastSibling)],"deleteSoftLineForward"),deleteToMathFieldStart:a=>a.contentWillChange({inputType:"deleteHardLineBackward"})&&Pc(a,[a.anchor,0],"deleteHardLineBackward"),deleteToMathFieldEnd:a=>a.contentWillChange({inputType:"deleteHardLineForward"})&&Pc(a,[a.anchor,-1],"deleteHardLineForward")},{target:"model",audioFeedback:"delete",canUndo:!0,changeContent:!0,changeSelection:!0});var dy=`<svg xmlns="http://www.w3.org/2000/svg" style="width: 21px;" viewBox="0 0 576 512" role="img" aria-label="${Me("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>`,fy=`<svg xmlns="http://www.w3.org/2000/svg" style="height: 18px;" viewBox="0 0 448 512" role="img" aria-label="${Me("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>`,hy=class{constructor(a,y){this.focusBlurInProgress=!1;var b,z,ue;this.options=ae(ne(ae({},Bf()),{macros:Vt(),registers:iu()}),Rf(y)),this.eventController=new AbortController;const Pe=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 Ke=(z=(b=y.value)!=null?b:this.element.textContent)!=null?z:"";Ke=Ke.trim();const tt=Dp(this.options),ct=new Br({type:"root",mode:tt,body:ul(Ke,{context:this.context})});this.model=new ly(this,tt,ct),this.undoManager=new Fv(this.model);const ht=[];if(ht.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>"),ht.push('<span part=container class=ML__container aria-hidden=true style="visibility:hidden">'),ht.push("<span part=content class=ML__content>"),ht.push(Sp(this)),ht.push("</span>"),window.mathVirtualKeyboard&&(ht.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">`),ht.push(dy),ht.push("</div>")),ht.push('<div part=menu-toggle class=ML__menu-toggle role=button data-l10n-tooltip="tooltip.menu">'),ht.push(fy),ht.push("</div>"),ht.push("</span>"),ht.push("<span class=ML__sr-only>"),ht.push("<span role=status aria-live=assertive aria-atomic=true></span>"),ht.push("</span>"),this.element.innerHTML=window.MathfieldElement.createHTML(ht.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=ge.subscribe(()=>ge.update(this.element)),ge.update(this.element),this.field=this.element.querySelector("[part=content]"),this.field.addEventListener("click",Bt=>Bt.stopImmediatePropagation(),{capture:!1,signal:Pe}),this.field.addEventListener("wheel",this,{passive:!1,signal:Pe}),"PointerEvent"in window?this.field.addEventListener("pointerdown",this,{signal:Pe}):this.field.addEventListener("mousedown",this,{signal:Pe}),(ue=this.element.querySelector("[part=virtual-keyboard-toggle]"))==null||ue.addEventListener("click",()=>{window.mathVirtualKeyboard.visible?window.mathVirtualKeyboard.hide():(window.mathVirtualKeyboard.show({animate:!0}),window.mathVirtualKeyboard.update(Ic(this)))},{signal:Pe}),this._menu=new Cg(qg(this),{host:this.host}),this.field.addEventListener("contextmenu",this,{signal:Pe});const bt=this.element.querySelector("[part=menu-toggle]");bt==null||bt.addEventListener("pointerdown",Bt=>{if(Bt.currentTarget!==bt||this._menu.state!=="closed")return;this.element.classList.add("tracking");const Gt=bt.getBoundingClientRect();this._menu.modifiers=ku(Bt),this._menu.show({target:bt,location:{x:Gt.left,y:Gt.bottom},onDismiss:()=>this.element.classList.remove("tracking")}),Bt.preventDefault(),Bt.stopPropagation()},{signal:Pe}),(this.model.atoms.length<=1||this.disabled||this.readOnly&&!this.hasEditableContent||this.userSelect==="none")&&(bt.style.display="none"),this.ariaLiveText=this.element.querySelector("[role=status]"),this.keyboardDelegate=W0(this.element.querySelector(".ML__keyboard-sink"),this.element,this),window.addEventListener("resize",this,{signal:Pe}),document.addEventListener("scroll",this,{signal:Pe}),this.resizeObserver=new ResizeObserver(()=>Bs(this)),this.resizeObserver.observe(this.field),window.mathVirtualKeyboard.addEventListener("virtual-keyboard-toggle",this,{signal:Pe}),Fd&&!ge.locale.startsWith(Fd.locale)&&j0(ge.locale),Xl!=="ready"&&document.fonts.ready.then(()=>Df(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(Ic(this)),Xf(this))}disconnectFromVirtualKeyboard(){this.connectedToVirtualKeyboard&&(window.removeEventListener("message",this),window.mathVirtualKeyboard.disconnect(),this.connectedToVirtualKeyboard=!1,jh())}showMenu(a){var y,b;const z=(b=(y=a==null?void 0:a.location)!=null?y:Mc(this.field))!=null?b:void 0,ue=a==null?void 0:a.modifiers,Pe=this.element.querySelector("[part=container]");return this._menu.show({target:Pe,location:z,modifiers:ue})}get colorMap(){return a=>{var y,b,z;return(z=(b=(y=this.options).colorMap)==null?void 0:b.call(y,a))!=null?z:De(a)}}get backgroundColorMap(){return a=>{var y,b,z,ue,Pe,Ke;return(Ke=(Pe=(b=(y=this.options).backgroundColorMap)==null?void 0:b.call(y,a))!=null?Pe:(ue=(z=this.options).colorMap)==null?void 0:ue.call(z,a))!=null?Ke: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=Br.commonAncestor(a,y);return!!((b==null?void 0:b.type)==="prompt"||b!=null&&b.parentPrompt)}get letterShapeStyle(){var a;return(a=this.options.letterShapeStyle)!=null?a:"tex"}get minFontScale(){return this.options.minFontScale}get selectionStyle(){if(this.model.selectionIsCollapsed)return this.effectiveStyle;const a=this.model.getAtoms(this.model.selection);if(a.length===0)return{};const y=ae({},a[0].style);for(const b of a)for(const[z,ue]of Object.entries(b.style))y[z]!==ue&&delete y[z];return y}queryStyle(a){const y=Nh(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 ct of Object.keys(y)){const ht=this.queryStyle({[ct]:y[ct]});if(ht==="none")return"none";if(ht==="some")return"some"}return"all"}const z=Object.keys(y)[0],ue=y[z];if(this.model.selectionIsCollapsed)return this.effectiveStyle[z]===ue?"all":"none";const Pe=this.model.getAtoms(this.model.selection,{includeChildren:!0});let Ke=Pe.length;if(Ke===0)return"none";let tt=0;for(const ct of Pe){if(ct.type==="first"){Ke-=1;continue}ct.style[z]===ue&&(tt+=1)}return tt===0?"none":tt===Ke?"all":"some"}get keybindings(){var a,y;if(this._keybindings)return this._keybindings;const[b,z]=X0(this.options.keybindings,(a=jd())!=null?a:K0());return((y=jd())==null?void 0:y.score)>0&&(this._keybindings=b,z.length>0&&console.error("MathLive 0.98.5: Invalid keybindings for current keyboard layout",z)),b}get menu(){return this._menu}setOptions(a){var y;this.options=ae(ae({},this.options),Rf(a)),this._keybindings=void 0,this.options.defaultMode==="inline-math"?this.element.classList.add("ML__is-inline"):this.element.classList.remove("ML__is-inline");let b=this.options.defaultMode;b==="inline-math"&&(b="math"),((y=this.model.root.firstChild)==null?void 0:y.mode)!==b&&(this.model.root.firstChild.mode=b),this.options.readOnly&&this.hasFocus()&&window.mathVirtualKeyboard.visible&&this.executeCommand("hideVirtualKeyboard");const z=Br.serialize([this.model.root],{expandMacro:!1,defaultMode:this.options.defaultMode});("macros"in a||this.model.getValue()!==z)&&so.insert(this.model,z,{insertionMode:"replaceAll",selectionMode:"after",format:"latex",silenceNotifications:!0,mode:"math"}),("value"in a||"macros"in a||"registers"in a||"colorMap"in a||"backgroundColorMap"in a||"letterShapeStyle"in a||"minFontScale"in a||"readOnly"in a||"placeholderSymbol"in a)&&Bs(this)}getOptions(a){return Du(this.options,a)}getOption(a){return Du(this.options,a)}handleEvent(a){return pu(this,null,function*(){var y;if(Vl(this)){if(Eh(a)){if(!Dd(a.origin,(y=this.options.originValidator)!=null?y:"none"))throw new DOMException(`Message from unknown origin (${a.origin}) cannot be handled`,"SecurityError");const{action:b}=a.data;if(b==="execute-command"){const z=a.data.command;if(td(z)==="virtual-keyboard")return;this.executeCommand(z)}else b==="update-state"||(b==="focus"?this.focus({preventScroll:!0}):b==="blur"&&this.blur());return}switch(a.type){case"focus":this.onFocus();break;case"blur":this.onBlur();break;case"mousedown":this.userSelect!=="none"&&Vp(this,a);break;case"pointerdown":this.userSelect!=="none"&&(Vp(this,a),a.shiftKey===!1&&(yield am(a,this.element.querySelector("[part=container]"),this._menu))&&Uf.stop());break;case"contextmenu":this.userSelect!=="none"&&a.shiftKey===!1&&(yield am(a,this.element.querySelector("[part=container]"),this._menu))&&Uf.stop();break;case"virtual-keyboard-toggle":this.hasFocus()&&Xf(this);break;case"resize":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>Vl(this)&&this.onGeometryChange());break;case"scroll":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>Vl(this)&&this.onGeometryChange());break;case"wheel":this.onWheel(a);break;default:console.warn("Unexpected event type",a.type)}}})}dispose(){if(!Vl(this))return;ge.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,Yv(),ev(),vg()}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 td(a)==="virtual-keyboard"?(this.focus({preventScroll:!0}),window.mathVirtualKeyboard.executeCommand(a),requestAnimationFrame(()=>window.mathVirtualKeyboard.update(Ic(this))),!1):sv(this,a)}get errors(){return np(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=oh(this.model,this.model.position))!=null?b:"math");const z=this.undoManager.canUndo();so.insert(this.model,a,y)&&(Bs(this),z||this.undoManager.reset(),this.undoManager.snapshot("set-value"))}get expression(){const a=window.MathfieldElement.computeEngine;return a?a.box(a.parse(this.model.getValue("latex-unstyled"))):(console.error("MathLive 0.98.5: no compute engine available. Make sure the Compute Engine library is loaded."),null)}scrollIntoView(){var a;if(!this.element)return;if(this.host){if(this.options.onScrollIntoView)this.options.onScrollIntoView(this);else if(this.host.scrollIntoView({block:"nearest",inline:"nearest"}),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.container===window.document.body){const z=window.mathVirtualKeyboard.boundingRect,ue=this.host.getBoundingClientRect();ue.bottom>z.top&&((a=window.document.scrollingElement)==null||a.scrollBy(0,ue.bottom-z.top+8))}}this.dirty&&Tu(this,{interactive:!0});const y=this.field.getBoundingClientRect();let b=null;if(this.model.selectionIsCollapsed)b=Mc(this.field);else{const z=Od(this);if(z.length>0){let ue=-1/0,Pe=-1/0;for(const Ke of z)Ke.right>ue&&(ue=Ke.right),Ke.top<Pe&&(Pe=Ke.top);b={x:ue+y.left-this.field.scrollLeft,y:Pe+y.top-this.field.scrollTop,height:0}}}if(this.host&&b){const z=this.host.getBoundingClientRect(),ue=b.y;let Pe=this.host.scrollTop;ue<z.top?Pe=ue-z.top+this.host.scrollTop:ue>z.bottom&&(Pe=ue-z.bottom+this.host.scrollTop+b.height),this.host.scroll({top:Pe,left:0})}if(b){const z=b.x-window.scrollX;let ue=this.field.scrollLeft;z<y.left?ue=z-y.left+this.field.scrollLeft-20:z>y.right&&(ue=z-y.right+this.field.scrollLeft+20),this.field.scroll({top:this.field.scrollTop,left:ue})}}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&&pe()&&navigator.vibrate(Cp),window.MathfieldElement.playSound("keypress")),a==="\\\\"?Ip(this.model):a==="&"?Lp(this.model):this.model.selectionIsCollapsed?so.insert(this.model,a,ae({style:this.model.at(this.model.position).computedStyle},y)):so.insert(this.model,a,y),this.snapshot(`insert-${this.model.at(this.model.position).type}`),Bs(this),y.scrollIntoView&&this.scrollIntoView(),!0)}switchMode(a,y="",b=""){var z;if(this.model.mode===a||!this.hasEditableContent||!this.contentEditable||this.disabled)return;const ue=this.model.mode;if(this.model.mode=a,!((z=this.host)!=null&&z.dispatchEvent(new Event("mode-change",{bubbles:!0,composed:!0,cancelable:!0})))){this.model.mode=ue;return}const Pe=this.model.mode,{model:Ke}=this;Ke.deferNotifications({content:!!b||!!y,selection:!0,type:"insertText"},()=>{let tt=!1;if(this.flushInlineShortcutBuffer(),this.stopCoalescingUndo(),y&&a!=="latex"){const ct=ul(y,{context:this.context,parseMode:a});Ke.collapseSelection("forward");const ht=Ke.at(Ke.position);Ke.position=Ke.offsetOf(ht.parent.addChildrenAfter(ct,ht)),tt=!0}if(this.model.mode=a,a==="latex"){let ct=Ke.selectionIsCollapsed;qu(this,"accept");let ht,bt=Ke.at(Ke.position);if(ct)ht="\\";else{const Gt=ll(Ke.selection);ht=this.model.getValue(Gt,"latex");const hn=this.model.extractAtoms(Gt);hn.length===1&&hn[0].type==="placeholder"&&(ht=y,ct=!0),bt=Ke.at(Gt[0])}const Bt=new Ld(ht);bt.parent.addChildAfter(Bt,bt),ct?Ke.position=Ke.offsetOf(Bt.lastChild):Ke.setSelection(Ke.offsetOf(Bt.firstChild),Ke.offsetOf(Bt.lastChild))}else Kd(Ke).forEach(ct=>{ct.isError=!1});if(b){const ct=ul(b,{context:this.context,parseMode:Pe});Ke.collapseSelection("forward");const ht=Ke.at(Ke.position);Ke.position=Ke.offsetOf(ht.parent.addChildrenAfter(ct,ht)),tt=!0}return Bs(this),this.undoManager.snapshot(a==="latex"?"insert-latex":"insert"),tt}),this.model.mode=a,window.mathVirtualKeyboard.update(Ic(this))}hasFocus(){return!this.blurred}focus(a){var y;this.hasFocus()||(this.keyboardDelegate.focus(),this.connectToVirtualKeyboard(),this.onFocus(),this.model.announce("line")),(y=a==null?void 0:a.preventScroll)!=null&&y||this.scrollIntoView()}blur(){this.disconnectFromVirtualKeyboard(),this.hasFocus()&&this.keyboardDelegate.blur()}select(){this.model.selection={ranges:[[0,this.model.lastOffset]]},this.focus()}applyStyle(a,y={}){var b,z;const ue={operation:"set",silenceNotifications:!1};Uu(y)?ue.range=y:(y.operation==="toggle"&&(ue.operation="toggle"),ue.range=y.range,ue.silenceNotifications=(b=y.silenceNotifications)!=null?b:!1);const Pe=Nh(this,a),Ke=(z=ue.operation)!=null?z:"set";if(ue.range===void 0&&this.model.selectionIsCollapsed){if(Ke==="set"){this.defaultStyle=ae(ae({},this.defaultStyle),Pe);return}const tt=ae({},this.defaultStyle);for(const ct of Object.keys(Pe))tt[ct]===Pe[ct]?(ct==="color"&&delete tt.verbatimColor,ct==="backgroundColor"&&delete tt.verbatimBackgroundColor,delete tt[ct]):tt[ct]=Pe[ct];this.defaultStyle=tt;return}this.model.deferNotifications({content:!ue.silenceNotifications,type:"insertText"},()=>{if(ue.range===void 0)for(const tt of this.model.selection.ranges)Mh(this.model,tt,Pe,{operation:Ke});else Mh(this.model,ue.range,Pe,{operation:Ke})}),Bs(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=Xd(this,a,y,{bias:0});if(b<0)return!1;const z=this.model.position;return this.model.position=b,this.model.announce("move",z),Bs(this),!0}getPrompt(a){const y=this.model.findAtom(b=>b.type==="prompt"&&b.placeholderId===a);return console.assert(y!==void 0,"MathLive 0.98.5: no prompts with matching ID found"),y}getPromptValue(a,y){const b=this.getPrompt(a);if(!b)return"";const z=this.model.offsetOf(b.firstChild),ue=this.model.offsetOf(b.lastChild);return this.model.getValue(z,ue,y)}getPrompts(a){return this.model.getAllAtoms().filter(y=>y.type!=="prompt"?!1:a?!(a.id&&y.placeholderId!==a.id||a.locked&&y.locked!==a.locked||a.correctness==="undefined"&&y.correctness||a.correctness&&y.correctness!==a.correctness):!0).map(y=>y.placeholderId)}setPromptValue(a,y,b){if(y!==void 0){const z=this.getPrompt(a);if(!z){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}const ue=this.model.getBranchRange(this.model.offsetOf(z),"body");this.model.setSelection(ue),this.insert(y,ne(ae({},b),{insertionMode:"replaceSelection"}))}b!=null&&b.silenceNotifications&&(this.valueOnFocus=this.getValue()),Bs(this)}setPromptState(a,y,b){const z=this.getPrompt(a);if(!z){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}y==="undefined"?z.correctness=void 0:typeof y=="string"&&(z.correctness=y),typeof b=="boolean"&&(z.locked=b,z.captureSelection=b),Bs(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(Ic(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(Ic(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(Ic(this)),(a=this.host)==null||a.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"undo"}})))}resetUndo(){var a;(a=this.undoManager)==null||a.reset()}onSelectionDidChange(){var a,y;const b=this.model;this.keyboardDelegate.setValue(b.getValue(this.model.selection,"latex-expanded"));{const z=b.at(b.position),ue=(a=z.mode)!=null?a:Dp(this.options);this.model.mode!==ue&&(this.model.mode==="latex"?(qu(this,"accept",{mode:ue}),b.position=b.offsetOf(z)):this.switchMode(ue))}(y=this.host)==null||y.dispatchEvent(new Event("selection-change",{bubbles:!0,composed:!0})),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ic(this)),Xf(this)}onContentWillChange(a){var y,b,z;return(z=(b=this.host)==null?void 0:b.dispatchEvent(new InputEvent("beforeinput",ne(ae({},a),{data:a.data?a.data:(y=a.inputType)!=null?y:"",cancelable:!0,bubbles:!0,composed:!0}))))!=null?z:!0}onFocus(){this.focusBlurInProgress||!this.blurred||(this.focusBlurInProgress=!0,this.blurred=!1,this.keyboardDelegate.focus(),this.stopCoalescingUndo(),Tu(this,{interactive:!0}),this.valueOnFocus=this.model.getValue(),this.hasEditablePrompts&&!this.model.at(this.model.anchor).parentPrompt&&this.executeCommand("moveToNextPlaceholder"),this.focusBlurInProgress=!1)}onBlur(){var a,y,b;if(this.focusBlurInProgress||this.blurred)return;this.focusBlurInProgress=!0,this.stopCoalescingUndo(),this.blurred=!0,this.ariaLiveText.textContent="",ed(this),this.model.getValue()!==this.valueOnFocus&&((a=this.host)==null||a.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),this.disconnectFromVirtualKeyboard(),(y=this.host)==null||y.dispatchEvent(new Event("blur",{bubbles:!1,composed:!0})),(b=this.host)==null||b.dispatchEvent(new UIEvent("focusout",{bubbles:!0,composed:!0})),Bs(this),this.focusBlurInProgress=!1,jh();const z=new AbortController,ue=z.signal;document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&document.addEventListener("visibilitychange",()=>{Vl(this)&&document.visibilityState==="visible"&&this.focus({preventScroll:!0})},{once:!0,signal:ue})},{once:!0,signal:ue}),setTimeout(()=>z.abort(),100)}onInput(a){Ih(this,a)}onKeystroke(a){return Hp(this,a)}onCompositionStart(a){this.model.deleteAtoms(ll(this.model.selection));const y=Mc(this.field);y&&requestAnimationFrame(()=>{Tu(this),this.keyboardDelegate.moveTo(y.x,y.y-y.height)})}onCompositionUpdate(a){Ov(this.model,a),Bs(this)}onCompositionEnd(a){Dv(this.model),Ih(this,a,{simulateKeystroke:!0})}onCut(a){if(!this.isSelectionEditable){this.model.announce("plonk");return}this.model.contentWillChange({inputType:"deleteByCut"})&&(this.stopCoalescingUndo(),so.onCopy(this,a),Pc(this.model,ll(this.model.selection),"deleteByCut"),this.snapshot("cut"),Bs(this))}onCopy(a){so.onCopy(this,a)}onPaste(a){let y=this.isSelectionEditable;return y&&(y=so.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(),kf(this),Xf(this)}onWheel(a){const y=5*a.deltaX;if(!Number.isFinite(y)||y===0)return;const b=this.field;y<0&&b.scrollLeft===0||y>0&&b.offsetWidth+b.scrollLeft>=b.scrollWidth||(b.scrollBy({top:0,left:y}),a.preventDefault(),a.stopPropagation())}getHTMLElement(a){let y=a;for(;!y.id&&y.hasChildren;)y=a.children[0];return this.field.querySelector(`[data-atom-id="${y.id}"]`)}get context(){var a,y;return{registers:(a=this.options.registers)!=null?a:{},smartFence:this.smartFence,letterShapeStyle:this.letterShapeStyle,minFontScale:this.minFontScale,placeholderSymbol:(y=this.options.placeholderSymbol)!=null?y:"\u25A2",colorMap:b=>this.colorMap(b),backgroundColorMap:b=>this.backgroundColorMap(b),getMacro:b=>an(b,this.options.macros),atomIdsSettings:{seed:"random",groupNumbers:!1}}}};function gm(a){if(a&&(a.classList.remove("ML__highlight"),a.children))for(const y of a.children)gm(y)}function ep(a,y){var b;a&&(!y||((b=a.dataset)==null?void 0:b.atomId)===y?(a.classList.add("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(z=>{z instanceof HTMLElement&&ep(z)})):(a.classList.remove("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(z=>{z instanceof HTMLElement&&ep(z,y)})))}function py(a,y){var b;if(!ce())return;if(window.MathfieldElement.speechEngine!=="amazon"){console.error("MathLive 0.98.5: Use Amazon TTS Engine for synchronized highlighting"),typeof window.MathfieldElement.speakHook=="function"&&window.MathfieldElement.speakHook(y);return}if(!window.AWS){console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");return}const z=new window.AWS.Polly({apiVersion:"2016-06-10"}),ue={OutputFormat:"json",VoiceId:(b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna",Engine:"standard",Text:y,TextType:"ssml",SpeechMarkTypes:["ssml"]};hu().readAloudElement=a,z.synthesizeSpeech(ue,(Pe,Ke)=>{if(Pe){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${Pe}`);return}if(!(Ke!=null&&Ke.AudioStream)){console.log("polly.synthesizeSpeech():",Ke);return}const tt=new TextDecoder("utf-8").decode(new Uint8Array(Ke.AudioStream));hu().readAloudMarks=tt.split(`
`).map(ct=>ct?JSON.parse(ct):{}),hu().readAloudTokens=[];for(const ct of hu().readAloudMarks)ct.value&&hu().readAloudTokens.push(ct.value);hu().readAloudCurrentMark="",ue.OutputFormat="mp3",ue.SpeechMarkTypes=[],z.synthesizeSpeech(ue,(ct,ht)=>{if(ct){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech("${y}") error:${ct}`);return}if(!(ht!=null&&ht.AudioStream))return;const bt=new Uint8Array(ht.AudioStream),Bt=new Blob([bt.buffer],{type:"audio/mpeg"}),Gt=URL.createObjectURL(Bt),hn=hu();hn.readAloudAudio?hn.readAloudAudio.pause():(hn.readAloudAudio=new Audio,hn.readAloudAudio.addEventListener("ended",()=>{const xn=hn.readAloudMathfield;hn.readAloudStatus="ended",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),xn?(Tu(xn),hn.readAloudElement=null,hn.readAloudMathfield=null,hn.readAloudTokens=[],hn.readAloudMarks=[],hn.readAloudCurrentMark=""):gm(hn.readAloudElement)}),hn.readAloudAudio.addEventListener("timeupdate",()=>{let xn="";const Cr=hn.readAloudAudio.currentTime*1e3+100;for(const ui of hn.readAloudMarks)ui.time<Cr&&(xn=ui.value);hn.readAloudCurrentMark!==xn&&(hn.readAloudCurrentToken=xn,xn&&xn===hn.readAloudFinalToken?hn.readAloudAudio.pause():(hn.readAloudCurrentMark=xn,ep(hn.readAloudElement,hn.readAloudCurrentMark)))})),hn.readAloudAudio.src=Gt,hn.readAloudStatus="playing",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),hn.readAloudAudio.play()})})}ce()||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 zo=new WeakMap,my=.5,fu={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 = ..."},vl=class Fu extends HTMLElement{static get formAssociated(){return fd()}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,rv())}get fontsDirectory(){throw new Error("Use MathfieldElement.fontsDirectory instead")}set fontsDirectory(y){throw new Error("Use MathfieldElement.fontsDirectory instead")}static get soundsDirectory(){return this._soundsDirectory}static set soundsDirectory(y){this._soundsDirectory=y,this.audioBuffers={}}get soundsDirectory(){throw new Error("Use MathfieldElement.soundsDirectory instead")}set soundsDirectory(y){throw new Error("Use MathfieldElement.soundsDirectory instead")}static get keypressSound(){return this._keypressSound}static set keypressSound(y){var b,z,ue;this.audioBuffers={},y===null?this._keypressSound={spacebar:null,return:null,delete:null,default:null}:typeof y=="string"?this._keypressSound={spacebar:y,return:y,delete:y,default:y}:typeof y=="object"&&"default"in y&&(this._keypressSound={spacebar:(b=y.spacebar)!=null?b:y.default,return:(z=y.return)!=null?z:y.default,delete:(ue=y.delete)!=null?ue: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 ge.locale}static set locale(y){y==="auto"&&(y=navigator.language.slice(0,5)),ge.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 ge.strings}static set strings(y){ge.merge(y)}get strings(){throw new Error("Use MathfieldElement.strings instead")}set strings(y){throw new Error("Use MathfieldElement.strings instead")}static get decimalSeparator(){return this._decimalSeparator}static set decimalSeparator(y){this._decimalSeparator=y,this._computeEngine&&(this._computeEngine.latexOptions.decimalMarker=this.decimalSeparator===","?"{,}":".")}get decimalSeparator(){throw new Error("Use MathfieldElement.decimalSeparator instead")}set decimalSeparator(y){throw new Error("Use MathfieldElement.decimalSeparator instead")}static get computeEngine(){var y,b;if(this._computeEngine===void 0){const z=(y=window[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;if(!z)return null;this._computeEngine=new z,this._computeEngine&&this.decimalSeparator===","&&(this._computeEngine.latexOptions.decimalMarker="{,}")}return(b=this._computeEngine)!=null?b:null}static set computeEngine(y){this._computeEngine=y}get computeEngine(){throw new Error("Use MathfieldElement.computeEngine instead")}set computeEngine(y){throw new Error("Use MathfieldElement.computeEngine instead")}static get isFunction(){return typeof this._isFunction!="function"?()=>!1:this._isFunction}static set isFunction(y){this._isFunction=y}static loadSound(y){return pu(this,null,function*(){delete this.audioBuffers[y];let b="";switch(y){case"keypress":b=this._keypressSound.default;break;case"return":b=this._keypressSound.return;break;case"spacebar":b=this._keypressSound.spacebar;break;case"delete":b=this._keypressSound.delete;break;case"plonk":b=this.plonkSound;break}if(typeof b!="string")return;b=b.trim();const z=this.soundsDirectory;if(!(z==null||z==="null"||b==="none"||b==="null"))try{const Pe=yield(yield fetch(yield wp(`${z}/${b}`))).arrayBuffer(),Ke=yield this.audioContext.decodeAudioData(Pe);this.audioBuffers[y]=Ke}catch(ue){}})}static playSound(y){return pu(this,null,function*(){if((this.audioContext.state==="suspended"||this.audioContext.state==="interrupted")&&(yield this.audioContext.resume()),this.audioBuffers[y]||(yield this.loadSound(y)),!this.audioBuffers[y])return;const b=this.audioContext.createBufferSource();b.buffer=this.audioBuffers[y];const z=this.audioContext.createGain();z.gain.value=my,b.connect(z).connect(this.audioContext.destination),b.start()})}constructor(y){if(super(),y){const b=[];for(const z of Object.keys(y))if(fu[z])if(fu[z].startsWith("mf."))if(fu[z].startsWith(`mf.${z}`))b.push(`Option \`${z}\` cannot be used as a constructor option. Use ${fu[z]}`);else{const ue=fu[z].match(/([a-zA-Z]+) =/);b.push(`Option \`${z}\` has been renamed \`${ue[1]}\``)}else b.push(`Option \`${z}\` cannot be used as a constructor option. Use ${fu[z]}`);if(b.length>0){console.group("%cMathLive 0.98.5: %cInvalid Options","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),console.warn("Some of the options passed to `new MathfieldElement(...)` are invalid. \n See https://cortexjs.io/mathlive/changelog/ for details.");for(const z of b)console.warn(z);console.groupEnd()}}if(fd()&&(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=[lu("core"),lu("mathfield"),lu("mathfield-element"),lu("ui"),lu("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>"+Wc("core")+Wc("mathfield")+Wc("mathfield-element")+Wc("ui")+Wc("menu")+'</style><span></span><slot style="display:none"></slot>';y&&this._setOptions(y),this.shadowRoot.addEventListener("slotchange",()=>{var b;const z=this.shadowRoot.querySelector("slot:not([name])");this.value=(b=z==null?void 0:z.assignedNodes().map(ue=>ue.nodeType===3?ue.textContent:"").join("").trim())!=null?b:""})}showMenu(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.showMenu(y))!=null?z:!1}get mathVirtualKeyboard(){throw new Error("The `mathVirtualKeyboard` property is not available on the MathfieldElement. Use `window.mathVirtualKeyboard` instead.")}onPointerDown(){window.addEventListener("pointerup",y=>{var b;y.target===this&&!((b=this._mathfield)!=null&&b.disabled)&&this.dispatchEvent(new MouseEvent("click",{altKey:y.altKey,button:y.button,buttons:y.buttons,clientX:y.clientX,clientY:y.clientY,ctrlKey:y.ctrlKey,metaKey:y.metaKey,movementX:y.movementX,movementY:y.movementY,relatedTarget:y.relatedTarget,screenX:y.screenX,screenY:y.screenY,shiftKey:y.shiftKey}))},{once:!0})}getPromptValue(y,b){var z,ue;return(ue=(z=this._mathfield)==null?void 0:z.getPromptValue(y,b))!=null?ue:""}setPromptValue(y,b,z){var ue;(ue=this._mathfield)==null||ue.setPromptValue(y,b,z)}getPromptRange(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.getPromptRange(y))!=null?z:null}getPrompts(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.getPrompts(y))!=null?z:[]}get form(){var y;return(y=this._internals)==null?void 0:y.form}get name(){var y;return(y=this.getAttribute("name"))!=null?y:""}get type(){return this.localName}get mode(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.mode)!=null?b:this.defaultMode==="text"?"text":"math"}set mode(y){var b;(b=this._mathfield)==null||b.switchMode(y)}get expression(){if(this._mathfield)return window[Symbol.for("io.cortexjs.compute-engine")]?this._mathfield.expression:(console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
Load the library, for example with:
import "https://unpkg.com/@cortex-js/compute-engine?module"`),null)}set expression(y){var b,z;if(!this._mathfield)return;const ue=(z=(b=Fu.computeEngine)==null?void 0:b.box(y).latex)!=null?z:null;ue!==null&&this._mathfield.setValue(ue),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?Du(this._mathfield.options,y):zo.has(this)?ae({},Du(ae(ae({},Bf()),Rf(zo.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?Du(this._mathfield.options,y):zo.has(this)?Du(ae(ae({},Bf()),Rf(zo.get(this).options)),y):null}reflectAttributes(){const y=Bf(),b=this._getOptions();Object.keys(Fu.optionsAttributes).forEach(z=>{const ue=Gc(z);Fu.optionsAttributes[z]==="on/off"?y[ue]!==b[ue]?this.setAttribute(z,b[ue]?"on":"off"):this.removeAttribute(z):y[ue]!==b[ue]&&(Fu.optionsAttributes[z]==="boolean"?b[ue]?this.setAttribute(z,""):this.removeAttribute(z):(typeof b[ue]=="string"||typeof b[ue]=="number")&&this.setAttribute(z,b[ue].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(zo.has(this)){const b=ae(ae({},zo.get(this).options),y);zo.set(this,ne(ae({},zo.get(this)),{selection:{ranges:b.readOnly?[[0,0]]:[[0,-1]]},options:b}))}else zo.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))fu[b]&&console.warn(`\`mf.setOptions({${b}:...})\` -> ${fu[b]}`);console.groupEnd(),this._setOptions(y)}executeCommand(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.executeCommand(y))!=null?z:!1}getValue(y,b,z){var ue,Pe;if(this._mathfield)return this._mathfield.model.getValue(y,b,z);if(zo.has(this)){let Ke,tt,ct;if(Vu(y)?([Ke,tt]=y.ranges[0],ct=b):Uu(y)?([Ke,tt]=y,ct=b):Cc(y)&&Cc(b)?(Ke=y,tt=b,ct=z):(Ke=0,tt=-1,ct=y),(ct===void 0||ct==="latex")&&Ke===0&&tt===-1)return(Pe=(ue=zo.get(this).value)!=null?ue:this.textContent)!=null?Pe:""}return""}setValue(y,b){if(this._mathfield&&y!==void 0){b!=null||(b={silenceNotifications:!0,mode:"math"}),this._mathfield.setValue(y,b);return}if(zo.has(this)){const ue=zo.get(this).options;zo.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:ue,menuItems:void 0});return}const z=tf(this);zo.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:z,menuItems:void 0})}hasFocus(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.hasFocus())!=null?b:!1}focus(){var y;(y=this._mathfield)==null||y.focus()}blur(){var y;(y=this._mathfield)==null||y.blur()}select(){var y;(y=this._mathfield)==null||y.select()}insert(y,b){var z,ue;return(ue=(z=this._mathfield)==null?void 0:z.insert(y,b))!=null?ue:!1}applyStyle(y,b){var z;return(z=this._mathfield)==null?void 0:z.applyStyle(y,b)}queryStyle(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.queryStyle(y))!=null?z:"none"}get caretPoint(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.getCaretPoint())!=null?b:null}set caretPoint(y){var b;y&&((b=this._mathfield)==null||b.setCaretPoint(y.x,y.y))}setCaretPoint(y,b){var z,ue;return(ue=(z=this._mathfield)==null?void 0:z.setCaretPoint(y,b))!=null?ue:!1}offsetFromPoint(y,b,z){return this._mathfield?Xd(this._mathfield,y,b,z):-1}hitboxFromOffset(y){if(!this._mathfield)return null;const b=this._mathfield.model.at(y);if(!b)return null;const z=ou(this._mathfield,b);return z?new DOMRect(z.left,z.top,z.right-z.left,z.bottom-z.top):null}resetUndo(){var y;(y=this._mathfield)==null||y.resetUndo()}canUndo(){return this._mathfield?this._mathfield.canUndo():!1}canRedo(){return this._mathfield?this._mathfield.canRedo():!1}handleEvent(y){var b,z,ue,Pe;Tc.state==="closed"&&((z=(b=this._mathfield)==null?void 0:b.menu)==null?void 0:z.state)==="closed"&&(y.type==="pointerdown"&&this.onPointerDown(),y.type==="focus"&&((ue=this._mathfield)==null||ue.focus()),y.type==="blur"&&((Pe=this._mathfield)==null||Pe.blur()))}connectedCallback(){var y,b,z,ue;const Pe=window.getComputedStyle(this),Ke=this.shadowRoot,tt=Pe.userSelect!=="none";if(tt)Ke.host.addEventListener("pointerdown",this,!0);else{const bt=Ke.querySelector("span");bt.style.pointerEvents="none"}Ke.host.addEventListener("focus",this,!0),Ke.host.addEventListener("blur",this,!0),fd()||(this.hasAttribute("role")||this.setAttribute("role","math"),this.hasAttribute("aria-label")||this.setAttribute("aria-label","math input field"),this.setAttribute("aria-multiline","false")),tt&&!this.hasAttribute("contenteditable")&&this.setAttribute("contenteditable","true"),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0");const ct=Ke.querySelector("slot:not([name])");if(ct)try{this._style=ct.assignedElements().filter(bt=>bt.tagName.toLowerCase()==="style").map(bt=>bt.textContent).join("")}catch(bt){console.error(bt)}if(this._style){const bt=document.createElement("style");bt.textContent=this._style,Ke.appendChild(bt)}let ht="";if(this.hasAttribute("value")?ht=this.getAttribute("value"):ht=(y=ct==null?void 0:ct.assignedNodes().map(bt=>bt.nodeType===3?bt.textContent:"").join("").trim())!=null?y:"",this._mathfield=new hy(Ke.querySelector(":host > span"),ne(ae({},(z=(b=zo.get(this))==null?void 0:b.options)!=null?z:tf(this)),{eventSink:this,value:ht})),!zo.has(this)){this.upgradeProperty("disabled"),this.upgradeProperty("readonly");for(const bt of Object.keys(Fu.optionsAttributes))this.upgradeProperty(Gc(bt))}if(!((ue=this._mathfield)!=null&&ue.model)){this._mathfield=null;return}if(zo.has(this)){const bt=this._mathfield,Bt=zo.get(this),Gt=Bt.menuItems;bt.model.deferNotifications({content:!1,selection:!1},()=>{const hn=Bt.value;hn!==void 0&&bt.setValue(hn),bt.model.selection=Bt.selection,zo.delete(this)}),Gt&&(this.menuItems=Gt)}window.queueMicrotask(()=>{this.isConnected&&this.dispatchEvent(new Event("mount",{cancelable:!1,bubbles:!0,composed:!0}))}),Of()}disconnectedCallback(){var y,b;if(this.shadowRoot.host.removeEventListener("pointerdown",this,!0),!this._mathfield)return;window.queueMicrotask(()=>this.dispatchEvent(new Event("unmount",{cancelable:!1,bubbles:!0,composed:!0})));const z=Du(this._mathfield.options,Object.keys(Fu.optionsAttributes).map(ue=>Gc(ue)));zo.set(this,{value:this._mathfield.getValue(),selection:this._mathfield.model.selection,menuItems:(b=(y=this._mathfield.menu)==null?void 0:y.menuItems)!=null?b:void 0,options:z}),this._mathfield.dispose(),this._mathfield=null}upgradeProperty(y){if(this.hasOwnProperty(y)){const b=this[y];delete this[y],(y==="readonly"||y==="read-only")&&(y="readOnly"),this[y]=b}}attributeChangedCallback(y,b,z){if(b===z)return;const ue=z!==null;switch(y){case"contenteditable":Bs(this._mathfield);break;case"disabled":this.disabled=ue;break;case"read-only":case"readonly":this.readOnly=ue;break;default:}}get readonly(){return this.hasAttribute("readonly")||this.hasAttribute("read-only")}set readonly(y){const b=!!y;b?(this.setAttribute("readonly",""),fd()?this._internals.ariaReadOnly="true":this.setAttribute("aria-readonly","true"),this.setAttribute("aria-readonly","true")):(fd()?this._internals.ariaReadOnly="false":this.removeAttribute("aria-readonly"),this.removeAttribute("readonly"),this.removeAttribute("read-only")),this._setOptions({readOnly:b})}get disabled(){return this.hasAttribute("disabled")}set disabled(y){var b;const z=!!y;z?this.setAttribute("disabled",""):this.removeAttribute("disabled"),fd()?this._internals.ariaDisabled=z?"true":"false":this.setAttribute("aria-disabled",z?"true":"false"),z&&((b=this._mathfield)!=null&&b.hasFocus)&&window.mathVirtualKeyboard.visible&&this._mathfield.executeCommand("hideVirtualKeyboard")}get value(){return this.getValue()}set value(y){this.setValue(y)}get defaultMode(){return this._getOption("defaultMode")}set defaultMode(y){this._setOptions({defaultMode:y})}get macros(){return this._getOption("macros")}set macros(y){this._setOptions({macros:y})}get registers(){const y=this;return new Proxy({},{get:(b,z)=>{if(typeof z=="string")return y._getOption("registers")[z]},set(b,z,ue){return typeof z!="string"?!1:(y._setOptions({registers:ne(ae({},y._getOption("registers")),{[z]:ue})}),!0)}})}set registers(y){this._setOptions({registers:y})}get colorMap(){return this._getOption("colorMap")}set colorMap(y){this._setOptions({colorMap:y})}get backgroundColorMap(){return this._getOption("backgroundColorMap")}set backgroundColorMap(y){this._setOptions({backgroundColorMap:y})}get letterShapeStyle(){return this._getOption("letterShapeStyle")}set letterShapeStyle(y){this._setOptions({letterShapeStyle:y})}get minFontScale(){return this._getOption("minFontScale")}set minFontScale(y){this._setOptions({minFontScale:y})}get smartMode(){return this._getOption("smartMode")}set smartMode(y){this._setOptions({smartMode:y})}get smartFence(){return this._getOption("smartFence")}set smartFence(y){this._setOptions({smartFence:y})}get smartSuperscript(){return this._getOption("smartSuperscript")}set smartSuperscript(y){this._setOptions({smartSuperscript:y})}get scriptDepth(){return this._getOption("scriptDepth")}set scriptDepth(y){this._setOptions({scriptDepth:y})}get removeExtraneousParentheses(){return this._getOption("removeExtraneousParentheses")}set removeExtraneousParentheses(y){this._setOptions({removeExtraneousParentheses:y})}get mathModeSpace(){return this._getOption("mathModeSpace")}set mathModeSpace(y){this._setOptions({mathModeSpace:y})}get placeholderSymbol(){return this._getOption("placeholderSymbol")}set placeholderSymbol(y){this._setOptions({placeholderSymbol:y})}get popoverPolicy(){return this._getOption("popoverPolicy")}set popoverPolicy(y){this._setOptions({popoverPolicy:y})}get environmentPopoverPolicy(){return this._getOption("environmentPopoverPolicy")}set environmentPopoverPolicy(y){this._setOptions({environmentPopoverPolicy:y})}get menuItems(){var y,b,z;return this._mathfield?(y=this._mathfield.menu._menuItems.map(ue=>ue.menuItem))!=null?y:[]:(z=(b=zo.get(this))==null?void 0:b.menuItems)!=null?z:[]}set menuItems(y){var b;if(this._mathfield){const z=(b=this._mathfield.element)==null?void 0:b.querySelector("[part=menu-toggle]");z&&(z.style.display=y.length===0?"none":""),this._mathfield.menu.menuItems=y}zo.has(this)?zo.set(this,ne(ae({},zo.get(this)),{menuItems:y})):zo.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:tf(this),menuItems:y})}get mathVirtualKeyboardPolicy(){return this._getOption("mathVirtualKeyboardPolicy")}set mathVirtualKeyboardPolicy(y){this._setOptions({mathVirtualKeyboardPolicy:y})}get inlineShortcuts(){return this._getOption("inlineShortcuts")}set inlineShortcuts(y){this._setOptions({inlineShortcuts:y})}get inlineShortcutTimeout(){return this._getOption("inlineShortcutTimeout")}set inlineShortcutTimeout(y){this._setOptions({inlineShortcutTimeout:y})}get keybindings(){return this._getOption("keybindings")}set keybindings(y){this._setOptions({keybindings:y})}get onInlineShortcut(){return this._getOption("onInlineShortcut")}set onInlineShortcut(y){this._setOptions({onInlineShortcut:y})}get onScrollIntoView(){return this._getOption("onScrollIntoView")}set onScrollIntoView(y){this._setOptions({onScrollIntoView:y})}get onExport(){return this._getOption("onExport")}set onExport(y){this._setOptions({onExport:y})}get readOnly(){return this._getOption("readOnly")}set readOnly(y){this._setOptions({readOnly:y})}get isSelectionEditable(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.isSelectionEditable)!=null?b:!1}setPromptState(y,b,z){var ue;(ue=this._mathfield)==null||ue.setPromptState(y,b,z)}getPromptState(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.getPromptState(y))!=null?z:[void 0,!0]}get virtualKeyboardTargetOrigin(){return this._getOption("virtualKeyboardTargetOrigin")}set virtualKeyboardTargetOrigin(y){this._setOptions({virtualKeyboardTargetOrigin:y})}get selection(){return this._mathfield?this._mathfield.model.selection:zo.has(this)?zo.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,Bs(this._mathfield);return}if(zo.has(this)){zo.set(this,ne(ae({},zo.get(this)),{selection:y}));return}zo.set(this,{value:void 0,selection:y,options:tf(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:zo.has(this)?zo.get(this).selection.ranges[0][0]:0}set position(y){if(this._mathfield&&(this._mathfield.model.position=y,Bs(this._mathfield)),zo.has(this)){zo.set(this,ne(ae({},zo.get(this)),{selection:{ranges:[[y,y]]}}));return}zo.set(this,{value:void 0,selection:{ranges:[[y,y]]},options:tf(this),menuItems:void 0})}getOffsetDepth(y){var b,z;return this._mathfield?((z=(b=this._mathfield.model.at(y))==null?void 0:b.treeDepth)!=null?z:2)-2:0}get lastOffset(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.lastOffset)!=null?b:-1}};vl.version="0.98.5",vl._fontsDirectory="./fonts",vl._soundsDirectory="./sounds",vl.keypressVibration=!0,vl._keypressSound={spacebar:"keypress-spacebar.wav",return:"keypress-return.wav",delete:"keypress-delete.wav",default:"keypress-standard.wav"},vl._plonkSound="plonk.wav",vl.audioBuffers={},vl.createHTML=a=>a,vl._speechEngineRate="100%",vl._speechEngineVoice="Joanna",vl._textToSpeechMarkup="",vl._textToSpeechRules="mathlive",vl._textToSpeechRulesOptions={},vl.speakHook=iy,vl.readAloudHook=py,vl._decimalSeparator=".",vl.fractionNavigationOrder="numerator-denominator",vl._isFunction=a=>{var y,b;const z=window.MathfieldElement.computeEngine;return(b=(y=z==null?void 0:z.parse(a).domain)==null?void 0:y.isFunction)!=null?b:!1};var ef=vl;function Gc(a){return a.replace(/[^a-zA-Z\d]+(.)/g,(y,b)=>b.toUpperCase())}function tf(a){const y={readOnly:!1},b=ef.optionsAttributes;return Object.keys(b).forEach(z=>{if(a.hasAttribute(z)){const ue=a.getAttribute(z);z==="placeholder"?y.contentPlaceholder=ue!=null?ue:"":b[z]==="boolean"?y[Gc(z)]=!0:b[z]==="on/off"?ue==="on"?y[Gc(z)]=!0:ue==="off"?y[Gc(z)]=!1:y[Gc(z)]=void 0:b[z]==="number"?y[Gc(z)]=Number.parseFloat(ue!=null?ue:"0"):y[Gc(z)]=ue}}),y}function fd(){return!(!("ElementInternals"in window)||!HTMLElement.prototype.attachInternals||!("role"in window.ElementInternals.prototype))}var ym=ef,bm,xm,wm,Sm;if(ce()&&!((bm=window.customElements)!=null&&bm.get("math-field"))){(wm=window[xm=Symbol.for("io.cortexjs.mathlive")])!=null||(window[xm]={});const a=window[Symbol.for("io.cortexjs.mathlive")];a.version="0.98.5",window.MathfieldElement=ef,(Sm=window.customElements)==null||Sm.define("math-field",ef)}function vy(a,y,b){let z=b,ue=0;const Pe=a.length;for(;z<y.length;){const Ke=y[z];if(ue<=0&&y.slice(z,z+Pe)===a)return z;Ke==="\\"?z++:Ke==="{"?ue++:Ke==="}"&&ue--,z++}return-1}function qf(a,y,b,z,ue="latex"){const Pe=[];for(const Ke of a)if(Ke.type==="text"){const tt=Ke.data;let ct=!0,ht=0,bt;bt=tt.indexOf(y),bt!==-1&&(ht=bt,ht>0&&Pe.push({type:"text",data:tt.slice(0,ht)}),ct=!1);let Bt=!1;for(;!Bt;){if(ct){if(bt=tt.indexOf(y,ht),bt===-1){Bt=!0;break}ht!==bt&&Pe.push({type:"text",data:tt.slice(ht,bt)}),ht=bt}else{if(bt=vy(b,tt,ht+y.length),bt===-1){Bt=!0;break}let Gt=tt.slice(ht+y.length,bt);ue==="ascii-math"&&([,Gt]=Eu(Gt,{format:"ascii-math"})),Pe.push({type:"math",data:Gt,rawData:tt.slice(ht,bt+b.length),mathstyle:z}),ht=bt+b.length}ct=!ct}ht<tt.length&&Pe.push({type:"text",data:tt.slice(ht)})}else Pe.push(Ke);return Pe}function Cm(a,y,b){let z=[{type:"text",data:a}];return y!=null&&y.inline&&y.inline.forEach(([ue,Pe])=>{z=qf(z,ue,Pe,"textstyle")}),y!=null&&y.display&&y.display.forEach(([ue,Pe])=>{z=qf(z,ue,Pe,"displaystyle")}),b!=null&&b.inline&&b.inline.forEach(([ue,Pe])=>{z=qf(z,ue,Pe,"textstyle","ascii-math")}),b!=null&&b.display&&b.display.forEach(([ue,Pe])=>{z=qf(z,ue,Pe,"displaystyle","ascii-math")}),z}function gy(a,y){const b=document.createElement("span");b.setAttribute("translate","no");try{const z="<math xmlns='http://www.w3.org/1998/Math/MathML'>"+y.renderToMathML(a)+"</math>";b.innerHTML=window.MathfieldElement.createHTML(z)}catch(z){console.error(`MathLive 0.98.5: Could not convert "${a}"' to MathML with ${z}`),b.textContent=a}return b.className="ML__sr-only",b}function yy(a,y,b,z){try{const ue=y.renderToMarkup(a,{mathstyle:b,format:"html"}),Pe=document.createElement("span");return Pe.dataset.latex=a,Pe.style.display=b==="displaystyle"?"flex":"inline-flex",Pe.setAttribute("aria-hidden","true"),Pe.setAttribute("translate","no"),Pe.innerHTML=window.MathfieldElement.createHTML(ue),Pe}catch(ue){if(console.error("Could not parse'"+a+"' with ",ue),z)return document.createTextNode(a)}return null}function hd(a,y,b,z){var ue;const Pe=yy(a,b,y||"textstyle",z),Ke=(ue=b.renderAccessibleContent)!=null?ue:"";if(Pe&&/\b(mathml|speakable-text)\b/i.test(Ke)){const tt=document.createElement("span");if(/\bmathml\b/i.test(Ke)&&b.renderToMathML&&tt.append(gy(a,b)),/\bspeakable-text\b/i.test(Ke)&&b.renderToSpeakableText){const ct=document.createElement("span");ct.setAttribute("translate","no");const ht=b.renderToSpeakableText(a);ct.innerHTML=window.MathfieldElement.createHTML(ht),ct.className="ML__sr-only",tt.append(ct)}return tt.append(Pe),tt}return Pe}function by(a,y){var b,z,ue;let Pe=null;if((b=y.TeX)!=null&&b.processEnvironments&&/^\s*\\begin/.test(a)){Pe=document.createDocumentFragment();const Ke=hd(a,"",y,!0);Ke&&Pe.appendChild(Ke)}else{if(!a.trim())return null;const Ke=Cm(a,(z=y.TeX)==null?void 0:z.delimiters,(ue=y.asciiMath)==null?void 0:ue.delimiters);if(Ke.length===1&&Ke[0].type==="text")return null;Pe=document.createDocumentFragment();for(const tt of Ke)if(tt.type==="text")Pe.appendChild(document.createTextNode(tt.data));else{const ct=hd(tt.data,tt.mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);ct&&Pe.appendChild(ct)}}return Pe}function Em(a,y){var b,z,ue,Pe,Ke,tt,ct,ht,bt,Bt,Gt,hn,xn,Cr,ui,xr;if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const Gr=(b=a.childNodes[0].textContent)!=null?b:"";if((z=y.TeX)!=null&&z.processEnvironments&&/^\s*\\begin/.test(Gr)){a.textContent="";const qr=hd(Gr,"",y,!0);qr&&a.append(qr);return}const vi=Cm(Gr,(ue=y.TeX)==null?void 0:ue.delimiters,(Pe=y.asciiMath)==null?void 0:Pe.delimiters);if(vi.length===1&&vi[0].type==="math"){a.textContent="";const qr=hd(vi[0].data,vi[0].mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);qr&&a.append(qr);return}if(vi.length===1&&vi[0].type==="text")return}for(let Gr=a.childNodes.length-1;Gr>=0;Gr--){const vi=a.childNodes[Gr];if(vi.nodeType===3){const qr=by((Ke=vi.textContent)!=null?Ke:"",y);qr&&(Gr+=qr.childNodes.length-1,vi.replaceWith(qr))}else if(vi.nodeType===1){const qr=vi,fa=vi.nodeName.toLowerCase();if(fa==="script"){const ja=vi;let Oa;if((tt=y.processScriptTypePattern)!=null&&tt.test(ja.type))Oa=(ct=ja.textContent)!=null?ct:"";else if((ht=y.processMathJSONScriptTypePattern)!=null&&ht.test(ja.type))try{Oa=(Bt=y.serializeToLatex)==null?void 0:Bt.call(y,JSON.parse((bt=ja.textContent)!=null?bt:""))}catch(Ro){console.error(Ro)}if(Oa){let Ro="textstyle";for(const ki of ja.type.split(";")){const[Yl,Nc]=ki.toLowerCase().split("=");Yl.trim()==="mode"&&(Ro=Nc.trim()==="display"?"displaystyle":"textstyle")}const is=hd(Oa,Ro,y,!0);is&&ja.parentNode.replaceChild(is,ja)}}else if(((hn=(Gt=y.processClassPattern)==null?void 0:Gt.test(qr.className))!=null?hn:!1)||!((Cr=(xn=y.skipTags)==null?void 0:xn.includes(fa))!=null&&Cr||(xr=(ui=y.ignoreClassPattern)==null?void 0:ui.test(qr.className))!=null&&xr))if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const Oa=a.textContent;a.textContent="";const Ro=hd(Oa!=null?Oa:"","displaystyle",y,!0);Ro&&a.append(Ro)}else Em(qr,y)}}}var xy={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 wy(a,y){var b,z,ue,Pe;try{const Ke=ae(ae({},xy),y);Ke.ignoreClassPattern=new RegExp((b=Ke.ignoreClass)!=null?b:""),Ke.processClassPattern=new RegExp((z=Ke.processClass)!=null?z:""),Ke.processScriptTypePattern=new RegExp((ue=Ke.processScriptType)!=null?ue:""),Ke.processMathJSONScriptTypePattern=new RegExp((Pe=Ke.processMathJSONScriptType)!=null?Pe:""),Of(),jl("core"),Em(a,Ke)}catch(Ke){Ke instanceof Error?console.error("renderMathInElement(): "+Ke.message):console.error("renderMathInElement(): Could not render math for element",a)}}function Sy(a,y){const b=uu.singleton;return b?(b.show(),Wd(),b.currentLayer=y,b.render(),b.focus(),!0):!1}function Cy(){const a=window.mathVirtualKeyboard;return a.visible?a.hide({animate:!0}):a.show({animate:!0}),!1}Kl({switchKeyboardLayer:Sy,toggleVirtualKeyboard:Cy,hideVirtualKeyboard:()=>(window.mathVirtualKeyboard.hide({animate:!0}),!1),showVirtualKeyboard:()=>(window.mathVirtualKeyboard.show({animate:!0}),!1)},{target:"virtual-keyboard"});function hu(){var a,y;return(y=globalThis[a=Symbol.for("io.cortexjs.mathlive")])!=null||(globalThis[a]={}),globalThis[Symbol.for("io.cortexjs.mathlive")]}function Iy(){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 Ly(a){Ay(document.body,a)}function Ey(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 Ay(a,y){var b,z,ue,Pe;const Ke=Ey(a);if(!Ke)return;const tt=y!=null?y:{};(b=tt.renderToMarkup)!=null||(tt.renderToMarkup=dl),(z=tt.renderToMathML)!=null||(tt.renderToMathML=_g),(ue=tt.renderToSpeakableText)!=null||(tt.renderToSpeakableText=Fg),(Pe=tt.serializeToLatex)!=null||(tt.serializeToLatex=jg),wy(Ke,tt)}var Py={mathlive:"0.98.5"}},17423:function(tn,Kt,ve){"use strict";ve.d(Kt,{Z:function(){return ae}});const Oe=ne=>typeof ne=="object"&&ne!=null&&ne.nodeType===1,$e=(ne,oe)=>(!oe||ne!=="hidden")&&ne!=="visible"&&ne!=="clip",x=(ne,oe)=>{if(ne.clientHeight<ne.scrollHeight||ne.clientWidth<ne.scrollWidth){const he=getComputedStyle(ne,null);return $e(he.overflowY,oe)||$e(he.overflowX,oe)||(re=>{const se=(ce=>{if(!ce.ownerDocument||!ce.ownerDocument.defaultView)return null;try{return ce.ownerDocument.defaultView.frameElement}catch(fe){return null}})(re);return!!se&&(se.clientHeight<re.scrollHeight||se.clientWidth<re.scrollWidth)})(ne)}return!1},Te=(ne,oe,he,re,se,ce,fe,pe)=>ce<ne&&fe>oe||ce>ne&&fe<oe?0:ce<=ne&&pe<=he||fe>=oe&&pe>=he?ce-ne-re:fe>oe&&pe<he||ce<ne&&pe>he?fe-oe+se:0,me=ne=>{const oe=ne.parentElement;return oe==null?ne.getRootNode().host||null:oe},ie=(ne,oe)=>{var he,re,se,ce;if(typeof document=="undefined")return[];const{scrollMode:fe,block:pe,inline:le,boundary:Se,skipOverflowHiddenElements:xe}=oe,ge=typeof Se=="function"?Se:st=>st!==Se;if(!Oe(ne))throw new TypeError("Invalid target");const Me=document.scrollingElement||document.documentElement,ye=[];let be=ne;for(;Oe(be)&&ge(be);){if(be=me(be),be===Me){ye.push(be);break}be!=null&&be===document.body&&x(be)&&!x(document.documentElement)||be!=null&&x(be,xe)&&ye.push(be)}const Fe=(re=(he=window.visualViewport)==null?void 0:he.width)!=null?re:innerWidth,ke=(ce=(se=window.visualViewport)==null?void 0:se.height)!=null?ce:innerHeight,{scrollX:Ie,scrollY:Le}=window,{height:De,width:Be,top:Ue,right:_e,bottom:We,left:Ze}=ne.getBoundingClientRect(),{top:et,right:at,bottom:pt,left:Xe}=(st=>{const nt=window.getComputedStyle(st);return{top:parseFloat(nt.scrollMarginTop)||0,right:parseFloat(nt.scrollMarginRight)||0,bottom:parseFloat(nt.scrollMarginBottom)||0,left:parseFloat(nt.scrollMarginLeft)||0}})(ne);let Ge=pe==="start"||pe==="nearest"?Ue-et:pe==="end"?We+pt:Ue+De/2-et+pt,lt=le==="center"?Ze+Be/2-Xe+at:le==="end"?_e+at:Ze-Xe;const dt=[];for(let st=0;st<ye.length;st++){const nt=ye[st],{height:rt,width:it,top:gt,right:vt,bottom:At,left:Et}=nt.getBoundingClientRect();if(fe==="if-needed"&&Ue>=0&&Ze>=0&&We<=ke&&_e<=Fe&&Ue>=gt&&We<=At&&Ze>=Et&&_e<=vt)return dt;const ut=getComputedStyle(nt),Ye=parseInt(ut.borderLeftWidth,10),Ve=parseInt(ut.borderTopWidth,10),de=parseInt(ut.borderRightWidth,10),Ce=parseInt(ut.borderBottomWidth,10);let He=0,je=0;const Ae="offsetWidth"in nt?nt.offsetWidth-nt.clientWidth-Ye-de:0,Re="offsetHeight"in nt?nt.offsetHeight-nt.clientHeight-Ve-Ce:0,ze="offsetWidth"in nt?nt.offsetWidth===0?0:it/nt.offsetWidth:0,Qe="offsetHeight"in nt?nt.offsetHeight===0?0:rt/nt.offsetHeight:0;if(Me===nt)He=pe==="start"?Ge:pe==="end"?Ge-ke:pe==="nearest"?Te(Le,Le+ke,ke,Ve,Ce,Le+Ge,Le+Ge+De,De):Ge-ke/2,je=le==="start"?lt:le==="center"?lt-Fe/2:le==="end"?lt-Fe:Te(Ie,Ie+Fe,Fe,Ye,de,Ie+lt,Ie+lt+Be,Be),He=Math.max(0,He+Le),je=Math.max(0,je+Ie);else{He=pe==="start"?Ge-gt-Ve:pe==="end"?Ge-At+Ce+Re:pe==="nearest"?Te(gt,At,rt,Ve,Ce+Re,Ge,Ge+De,De):Ge-(gt+rt/2)+Re/2,je=le==="start"?lt-Et-Ye:le==="center"?lt-(Et+it/2)+Ae/2:le==="end"?lt-vt+de+Ae:Te(Et,vt,it,Ye,de+Ae,lt,lt+Be,Be);const{scrollLeft:ot,scrollTop:mt}=nt;He=Qe===0?0:Math.max(0,Math.min(mt+He/Qe,nt.scrollHeight-rt/Qe+Re)),je=ze===0?0:Math.max(0,Math.min(ot+je/ze,nt.scrollWidth-it/ze+Ae)),Ge+=mt-He,lt+=ot-je}dt.push({el:nt,top:He,left:je})}return dt},te=ne=>ne===!1?{block:"end",inline:"nearest"}:(oe=>oe===Object(oe)&&Object.keys(oe).length!==0)(ne)?ne:{block:"start",inline:"nearest"};function ae(ne,oe){if(!ne.isConnected||!(se=>{let ce=se;for(;ce&&ce.parentNode;){if(ce.parentNode===document)return!0;ce=ce.parentNode instanceof ShadowRoot?ce.parentNode.host:ce.parentNode}return!1})(ne))return;const he=(se=>{const ce=window.getComputedStyle(se);return{top:parseFloat(ce.scrollMarginTop)||0,right:parseFloat(ce.scrollMarginRight)||0,bottom:parseFloat(ce.scrollMarginBottom)||0,left:parseFloat(ce.scrollMarginLeft)||0}})(ne);if((se=>typeof se=="object"&&typeof se.behavior=="function")(oe))return oe.behavior(ie(ne,oe));const re=typeof oe=="boolean"||oe==null?void 0:oe.behavior;for(const{el:se,top:ce,left:fe}of ie(ne,te(oe))){const pe=ce-he.top+he.bottom,le=fe-he.left+he.right;se.scroll({top:pe,left:le,behavior:re})}}}}]);
}());