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/240.c22cda91.async.js

3485 lines
2.7 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 Js=Math.pow;var Kl=(sr,Wt,ke)=>new Promise((Re,vt)=>{var x=re=>{try{ve(ke.next(re))}catch(ne){vt(ne)}},De=re=>{try{ve(ke.throw(re))}catch(ne){vt(ne)}},ve=re=>re.done?Re(re.value):Promise.resolve(re.value).then(x,De);ve((ke=ke.apply(sr,Wt)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[240],{40001:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},26227:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},84105:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},41464:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},18785:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},87169:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},73331:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},15277:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},52671:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},8657:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},56082:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},33853:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},15075:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},62772:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},43531:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},61485:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},38819:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},47472:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},87395:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(le,me){return vt.createElement(ve.Z,(0,Re.Z)({},le,{ref:me,icon:De}))},ne=vt.forwardRef(re),ie=ne},14618:function(){"use strict"},66552:function(){"use strict"},18760:function(sr,Wt){"use strict";Wt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},67609:function(sr,Wt){"use strict";Wt.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"}},4151:function(){"use strict"},3352:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var sr={},Wt="5.0",ke={},Re=null,vt=!1,x=!1,De=null,ve=!1,re=null,ne=null,ie=0;ie<arguments.length;ie++){var oe=arguments[ie];if(oe!==null)switch(typeof oe){case"number":Wt=oe.toFixed(1);break;case"string":oe.match(new RegExp("^[0-9]\\.[0-9]+$"))?Wt=oe:De=oe;break;case"object":typeof oe.is3D!="undefined"?Re=oe:ke=oe;break;case"boolean":vt=oe,x=!0;break}}Re===null&&(Re={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ke.material_id!==void 0&&!x&&(vt=!0)),De!==null&&ke.id===void 0&&(ke.id=De);var le="",me="",te=!1,ae=null,ue=null,de=null,he=!1,we=null,Se=null,xe=null,ye=null,Ae=null;ke.height!==void 0&&(ke.height=Math.round(ke.height)),ke.width!==void 0&&(ke.width=Math.round(ke.width));var Le=function(et){return parseFloat(et)>4?parseFloat(et):5};sr.setHTML5Codebase=function(et,qe){ne=et,nt(et,qe)},sr.setJavaCodebase=sr.setJavaCodebaseVersion=sr.isCompiledInstalled=sr.setPreCompiledScriptPath=sr.setPreCompiledResourcePath=function(){},sr.setHTML5CodebaseVersion=function(et,qe){var it=parseFloat(et);if(it!==NaN&&it<5){console.log("The GeoGebra HTML5 codebase version "+it+" is deprecated. Using version latest instead.");return}re=et,Ye(et,qe)},sr.getHTML5CodebaseVersion=function(){return ue},sr.getParameters=function(){return ke},sr.setFontsCSSURL=function(et){ye=et},sr.setGiacJSURL=function(et){},sr.setJNLPFile=function(et){le=et},sr.setJNLPBaseDir=function(et){},sr.inject=function(){function et(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var qe="auto",it=ke.id,yt,ht=!1,Bt=0;Bt<arguments.length;Bt++){var Et=arguments[Bt];typeof Et=="string"?(Et=Et.toLowerCase(),Et.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?qe=Et:it=arguments[Bt]):typeof Et=="boolean"?ht=Et:Et instanceof HTMLElement&&(yt=Et)}st();function st(){if(!ve){setTimeout(st,200);return}qe=lt(qe);var Ge=yt||document.getElementById(it);if(!Ge){console.log("possibly bug on ajax loading? ");return}if(sr.removeExistingApplet(Ge,!1),ke.width===void 0&&Ge.clientWidth&&(ke.width=Ge.clientWidth),ke.height===void 0&&Ge.clientHeight&&(ke.height=Ge.clientHeight),!(ke.width&&ke.height)&&qe==="html5"&&(delete ke.width,delete ke.height),ae=qe,qe==="screenshot")Pe(Ge,ke);else{var We=!1;ke.hasOwnProperty("playButton")&&ke.playButton||ke.hasOwnProperty("clickToLoad")&&ke.clickToLoad?We=!0:ke.hasOwnProperty("playButtonAutoDecide")&&ke.playButtonAutoDecide&&(We=(!Ee()||et())&&_e()),We?(ae="screenshot",Qe(Ge,ke,ht,qe)):Ze(Ge,ke,ht)}}};function Ee(){try{return window.self!==window.top}catch(et){return!0}}function _e(){return ke.hasOwnProperty("screenshotGenerator")&&ke.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}sr.getViews=function(){return Re},sr.isJavaInstalled=function(){return!1};var Me=function(et){var qe=function(Bt){var Et=JSON.parse(Bt),st=function(se){return se.type=="G"||se.type=="E"},Ge=Et.elements?Et.elements.filter(st)[0]:Et;if(!Ge||!Ge.url){it();return}ke.fileName=Ge.url,Oe(Ge.settings||{}),Re.is3D=!0;var We="https://www.geogebra.org/images/";sr.setPreviewImage(we||Ge.previewUrl,We+"GeoGebra_loading.png",We+"applet_play.png"),et()},it=function(){ke.onError&&ke.onError(),dt("Error: Fetching material (id "+ke.material_id+") failed.",ke)},yt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",ht="/materials/"+ke.material_id+"?scope=basic";Ce("https://"+yt+"/api/proxy.php?path="+encodeURIComponent(ht),qe,it)};function Oe(et){var qe=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(it){et[it]=!!et[it]}),qe.forEach(function(it){ke[it]===void 0&&et[it]!==void 0&&(ke[it]=et[it])}),ke.showToolBarHelp===void 0&&(ke.showToolBarHelp=ke.showToolBar)}function Ce(et,qe,it){var yt=new XMLHttpRequest;yt.open("GET",et),yt.onload=function(){qe(yt.responseText)},yt.onerror=it,yt.send()}sr.isHTML5Installed=function(){return!0},sr.getLoadedAppletType=function(){return ae},sr.setPreviewImage=function(et,qe,it){we=et,Se=qe,xe=it},sr.removeExistingApplet=function(et,qe){var it;typeof et=="string"&&(et=document.getElementById(et)),ae=null;var yt=null;for(it=0;it<et.childNodes.length;it++){var ht=et.childNodes[it],Bt=ht.className;Bt==="applet_screenshot"?qe?(ht.style.display="block",ae="screenshot"):ht.style.display="none":Bt!=="applet_scaler prerender"&&(et.removeChild(ht),yt=Bt&&Bt.indexOf("appletParameters")!=-1?ht.id:null,it--)}var Et=ke.id!==void 0?ke.id:yt,st=window[Et];st&&typeof st.getBase64=="function"&&(st.remove(),window[Et]=null)},sr.refreshHitPoints=function(){if(Le(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var et=sr.getAppletObject();return et&&typeof et.recalculateEnvironments=="function"?(et.recalculateEnvironments(),!0):!1},sr.startAnimation=function(){var et=sr.getAppletObject();return et&&typeof et.startAnimation=="function"?(et.startAnimation(),!0):!1},sr.stopAnimation=function(){var et=sr.getAppletObject();return et&&typeof et.stopAnimation=="function"?(et.stopAnimation(),!0):!1},sr.getAppletObject=function(){var et=ke.id!==void 0?ke.id:"ggbApplet";return window[et]},sr.resize=function(){};var Ne=function(et,qe,it){var yt=document.createElement("param");yt.setAttribute("name",qe),yt.setAttribute("value",it),et.appendChild(yt)},je=function(et){return et&&et!=="false"},Ze=function(et,qe,it){Le(ue)<=4.2&&(it=!0);var yt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ue||ggbHTML5LoadedCodebaseIsWebSimple&&!he)&&(yt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ht=document.createElement("div");ht.classList.add("appletParameters","notranslate");var Bt=qe.width,Et=qe.height;if(qe.disableAutoScale=qe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():qe.disableAutoScale,qe.width!==void 0)if(Le(ue)<=4.4)je(qe.showToolBar)&&(qe.height-=7),je(qe.showAlgebraInput)&&(qe.height-=37),qe.width<605&&je(qe.showToolBar)&&(qe.width=605,Bt=605);else{var st=100;(je(qe.showToolBar)||je(qe.showMenuBar))&&(qe.hasOwnProperty("customToolBar")&&(qe.customToolbar=qe.customToolBar),st=je(qe.showMenuBar)?245:155),Bt<st&&(qe.width=st,Bt=st)}ht.style.border="none",ht.style.display="inline-block";for(var Ge in qe)qe.hasOwnProperty(Ge)&&Ge!=="appletOnLoad"&&ht.setAttribute("data-param-"+Ge,qe[Ge]);ye&&ht.setAttribute("data-param-fontscssurl",ye),sr.resize=function(){GGBAppletUtils.responsiveResize(et,qe)},window.addEventListener("resize",function(gt){sr.resize()});var We=typeof qe.appletOnLoad=="function"?qe.appletOnLoad:function(){};if(!it&&qe.width!==void 0){qe.hasOwnProperty("showSplash")||ht.setAttribute("data-param-showSplash","false");var se=et.querySelector(".applet_scaler.prerender"),fe=se!==null;if(fe)var ze=se.querySelector(".ggb_preview");else{var ze=ot(Bt,Et,qe.borderColor,!1);se=document.createElement("div"),se.className="applet_scaler",se.style.position="relative",se.style.display="block",se.style.width=Bt+"px",se.style.height=Et+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(se,"66%"),Le(ue)>=5?(qe.appletOnLoad=function(gt){var Dt=et.querySelector(".ggb_preview");Dt&&Dt.parentNode.removeChild(Dt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(se),window.GGBT_wsf_view&&$(window).trigger("resize"),We(gt)},fe||se.appendChild(ze)):ht.appendChild(ze),se.appendChild(ht),fe||et.appendChild(se),setTimeout(function(){sr.resize()},1)}else{var He=document.createElement("div");He.className="applet_scaler",He.style.position="relative",He.style.display="block",He.appendChild(ht),et.appendChild(He),qe.appletOnLoad=function(gt){sr.resize(),We(gt)}}function pe(gt,Dt){Dt&&typeof Dt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(gt,Dt.appletOnLoad):renderGGBElement(gt),dt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Dt)}function Be(gt,Dt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:gt,params:Dt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Vt){pe(Vt.article,Vt.params)}),html5AppletsToProcess=null)},Le(ue)<5&&(gt.className+=" geogebraweb")):pe(gt,Dt)}if(yt){scriptLoadStarted=!0;for(var Ke=0;Ke<ht.childNodes.length;Ke++){var Xe=ht.childNodes[Ke].tagName;Xe==="TABLE"&&(ht.removeChild(ht.childNodes[Ke]),Ke--)}if(ggbHTML5LoadedScript!==null){var Je=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Je!=null&&Je.parentNode.removeChild(Je)}var ut=document.createElement("script"),bt=function(){Be(ht,qe)};ut.src=me+de,ggbHTML5LoadedCodebaseIsWebSimple=he,ggbHTML5LoadedCodebaseVersion=ue,ggbHTML5LoadedScript=ut.src,dt("GeoGebra HTML5 codebase loaded: '"+me+"'.",qe),!ne&&(!re||re=="5.0")?(he?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),bt()):me.requirejs?__webpack_require__.e(7206).then(function(){var gt=[__webpack_require__(97206)];bt.apply(null,gt)}.bind(this)).catch(__webpack_require__.oe):(ut.onload=bt,et.appendChild(ut))}else Be(ht,qe);qe.height=Et,qe.width=Bt},Pe=function(et,qe,it){var yt=ot(qe.width,qe.height,qe.borderColor,it),ht=document.createElement("div");ht.style.position="relative",ht.style.display="block",ht.style.width=qe.width+"px",ht.style.height=qe.height+"px",ht.className="applet_screenshot applet_scaler"+(it?" applet_screenshot_play":""),ht.appendChild(yt);var Bt=GGBAppletUtils.getScale(qe,et,it);it?(et.appendChild(tt()),window.GGBT_wsf_view||(et.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ht,"66%"),et.appendChild(ht),Bt!==1&&!isNaN(Bt)&&(GGBAppletUtils.scaleElement(ht,Bt),ht.style.width=qe.width+"px",ht.style.height=qe.height+"px",ht.parentNode.style.width=qe.width*Bt+"px",ht.parentNode.style.height=qe.height*Bt+"px"),sr.resize=function(){Ue(et,yt,ht,it)},window.addEventListener("resize",function(Et){sr.resize()}),sr.resize()};function Ue(et,qe,it,yt){if(et.contains(qe)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(et.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(et)}var ht=GGBAppletUtils.getScale(ke,et,yt);it.parentNode!==null&&(!isNaN(ht)&&ht!==1?(GGBAppletUtils.scaleElement(it,ht),it.parentNode.style.width=ke.width*ht+"px",it.parentNode.style.height=ke.height*ht+"px"):(GGBAppletUtils.scaleElement(it,1),it.parentNode.style.width=ke.width+"px",it.parentNode.style.height=ke.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(et),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}sr.onExitFullscreen=function(et,qe){qe.appendChild(et)};var Qe=function(et,qe,it,yt){Pe(et,qe,!0);for(var ht=function(){var st=[];for(Et=0;Et<et.childNodes.length;Et++)st.push(et.childNodes[Et]);if(window.GGBT_wsf_view){var Ge=window.GGBT_wsf_view.renderFullScreen(et,qe.id),We=document.getElementById("fullscreencontainer"),se=jQuery(et).find(".fullscreencontent");se.length>0?(Ge.remove(),se.attr("id","fullscreencontent").show(),jQuery(We).append(se),window.dispatchEvent(new Event("resize"))):Ze(Ge,qe,!1),window.GGBT_wsf_view.launchFullScreen(We)}else ae=yt,Ze(et,qe,!1);if(!window.GGBT_wsf_view)for(Et=0;Et<st.length;Et++)et.removeChild(st[Et])},Bt=et.getElementsByClassName("ggb_preview_play"),Et=0;Et<Bt.length;Et++)Bt[Et].addEventListener("click",ht,!1),Bt[Et].addEventListener("ontouchstart",ht,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(et),_e()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},tt=function(){var et=document.createElement("div");if(et.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var qe='.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=qe:it.appendChild(document.createTextNode(qe)),document.getElementsByTagName("head")[0].appendChild(it)}return et},ot=function(et,qe,it,yt){var ht=document.createElement("div");ht.className="ggb_preview",ht.style.position="absolute",ht.style.zIndex="90",ht.style.width=et-2+"px",ht.style.height=qe-2+"px",ht.style.top="0px",ht.style.left="0px",ht.style.overflow="hidden",ht.style.backgroundColor="white";var Bt="lightgrey";it!==void 0&&(it==="none"?Bt="transparent":Bt=it),ht.style.border="1px solid "+Bt;var Et=document.createElement("img");if(Et.style.position="relative",Et.style.zIndex="1000",Et.style.top="-1px",Et.style.left="-1px",we!==null&&Et.setAttribute("src",we),Et.style.opacity=.7,Se!==null){var st,Ge,We;if(!yt){st=document.createElement("img"),st.style.position="absolute",st.style.zIndex="1001",st.style.opacity=1,Et.style.opacity=.3,Ge=360,Ge>et/4*3&&(Ge=et/4*3),We=Ge/5.8,st.setAttribute("src",Se),st.setAttribute("width",Ge),st.setAttribute("height",We);var se=(et-Ge)/2,fe=(qe-We)/2;st.style.left=se+"px",st.style.top=fe+"px",ht.appendChild(st)}}return ht.appendChild(Et),ht},lt=function(et){return et=et.toLowerCase(),et==="html5"||et==="screenshot"?et:"html5"},Ve=["web","webSimple","web3d","tablet","tablet3d","phone"],Ye=function(et,qe){if(ue=et,qe){nt(ue,!0);return}var it=!vt;if(it){var yt=Le(ue);!isNaN(yt)&&yt<4.4&&(it=!1)}var ht,Bt;window.location.protocol.substr(0,4)==="http"?ht=window.location.protocol:ht="http:";var Et=ue.indexOf("//");Et>0?Bt=ue:Et===0?Bt=ht+ue:Bt="https://www.geogebra.org/apps/5.2.814.0/";for(var st in Ve)if(ue.slice(Ve[st].length*-1)===Ve[st]||ue.slice((Ve[st].length+1)*-1)===Ve[st]+"/"){nt(Bt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&it&&!Re.is3D&&!Re.AV&&!Re.SV&&!Re.CV&&!Re.EV2&&!Re.CP&&!Re.PC&&!Re.DA&&!Re.FI&&!Re.PV&&!je(ke.showToolBar)&&!je(ke.showMenuBar)&&!je(ke.showAlgebraInput)&&!je(ke.enableRightClick)&&(!ke.appName||ke.appName=="classic")?Bt+="webSimple/":Bt+="web3d/",nt(Bt,!1)},nt=function(et,qe){if(et.requirejs){me=et;return}et.slice(-1)!=="/"&&(et+="/"),me=et,qe===null&&(qe=et.indexOf("http")===-1),te=qe,de="web.nocache.js",he=!1;var it=me.split("/");it.length>1&&(!qe&&it[it.length-2]==="webSimple"?(de="webSimple.nocache.js",he=!0):Ve.indexOf(it[it.length-2])>=0&&(de=it[it.length-2]+".nocache.js")),it=et.split("/"),ue=it[it.length-3],ue.substr(0,4)==="test"?ue=ue.substr(4,1)+"."+ue.substr(5,1):(ue.substr(0,3)==="war"||ue.substr(0,4)==="beta")&&(ue="5.0");var yt=parseFloat(ue);yt!==NaN&&yt<5&&et.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+yt+" is deprecated. Using version latest instead."),Ye("5.0",qe))},dt=function(et,qe){window.console&&window.console.log&&(!qe||typeof qe.showLogging=="undefined"||qe.showLogging&&qe.showLogging!=="false")&&console.log(et)};ke.material_id!==void 0?Me(at):at();function at(){var et=Wt;re!==null?et=re:parseFloat(et)<5&&(et="5.0"),Ye(et,!1),ne!==null&&nt(ne,te),ve=!0}return sr},GGBAppletUtils=function(){"use strict";function sr(){return window.GGBT_wsf_edit!==void 0}function Wt(ve,re){re!=1?(ve.style.transformOrigin="0% 0% 0px",ve.style.webkitTransformOrigin="0% 0% 0px",ve.style.transform="scale("+re+","+re+")",ve.style.webkitTransform="scale("+re+","+re+")",ve.style.maxWidth="initial",ve.querySelector(".ggb_preview")!==null&&(ve.querySelector(".ggb_preview").style.maxWidth="initial"),ve.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ve.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ve.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ve.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ve.style.transform="none",ve.style.webkitTransform="none")}function ke(ve,re,ne,ie,oe,le){var me=null;if(le!=null&&le!="")for(var te=ve.parentNode;te!=null;)if((" "+te.className+" ").indexOf(" "+le+" ")>-1){me=te;break}else te=te.parentNode;var ae=0,ue=0,de=0,he=0,we=0,Se=0,xe=0;if(me)ae=me.offsetWidth,ue=Math.max(ie?me.offsetWidth:0,me.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ae=Math.min(window.innerWidth,document.documentElement.clientWidth),ue=Math.min(window.innerHeight,document.documentElement.clientHeight),de=ae):(ae=window.innerWidth,ue=window.innerHeight,de=window.innerWidth),ve){var ye=ve.getBoundingClientRect();ye.left>0&&ye.left<=ae&&(oe===void 0||!oe)&&(document.dir==="rtl"?(we=ae-ye.width-ye.left,Se=de<=480?10:30):(Se=ye.left,we=de<=480?10:30),he=Se+we)}if(ve&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Ae=ve.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(he=40,xe=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(he=0,xe=40)}}return ve&&((ne===void 0||!ne)&&re>0&&re+he<ae?ae=re:ae-=he,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ne===void 0||!ne)&&(ue-=xe)),{width:ae,height:ue}}function Re(ve,re,ne,ie,oe){if(ve.isScreenshoGenerator)return 1;var le=ie!==void 0&&ie,me=ve.noScaleMargin!=null&&ve.noScaleMargin,te=function(Ae){return Ae&&Ae!=="false"},ae=te(ve.autoHeight),ue=ke(re,ve.width,ne,ae,le&&window.GGBT_wsf_view||me,oe),de=parseInt(ue.width),he=ve.width,we=ve.height;if(he===void 0){var Se=re.querySelector(".appletParameters");Se&&(he=Se.offsetWidth,we=Se.offsetHeight)}var xe=de/he,ye=le?1:ue.height/we;return ne!==void 0&&!ne&&(xe=Math.min(1,xe),ye=Math.min(1,ye)),Math.min(xe,ye)}function vt(ve,re,ne){var ie=1,oe,le=!1;if(ve.hasOwnProperty("allowUpscale")&&(le=ve.allowUpscale),ve.hasOwnProperty("scale")&&(ie=parseFloat(ve.scale),(isNaN(ie)||ie===null||ie===0)&&(ie=1),ie>1&&(le=!0)),re&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(le=!0),!(ve.hasOwnProperty("disableAutoScale")&&ve.disableAutoScale))oe=Re(ve,re,le,ne,ve.scaleContainerClass);else return ie;return le&&(!ve.hasOwnProperty("scale")||ie===1)?oe:Math.min(ie,oe)}function x(ve){var re=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=ve.getBoundingClientRect(),oe=(re-ie.width)/2,le=(ne-ie.height)/2;le<0&&(le=0),ve.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(oe<40?ve.style.left="40px":ve.style.left=oe+"px",ve.style.top=le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(le<40?ve.style.top="40px":ve.style.top=le+"px",ve.style.left=oe+"px")}function De(ve,re){var ne=ve.querySelector(".appletParameters");if(ne){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(re.id!==ne.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ve)}if(ne.parentElement&&/fullscreen/.test(ne.parentElement.className))return;var ie=vt(re,ve);sr()&&ne.setAttribute("data-param-scale",ie);for(var oe=null,le=0;le<ve.childNodes.length;le++)if(ve.childNodes[le].className!==void 0&&ve.childNodes[le].className.match(/^applet_scaler/)){oe=ve.childNodes[le];break}if(oe!==null&&oe.querySelector(".noscale")!==null)return;var me=re.id!==void 0?re.id:"ggbApplet",te=window[me];(te==null||!te.recalculateEnvironments)&&oe!==null&&!oe.className.match(/fullscreen/)&&(oe.parentNode.style.transform="",!isNaN(ie)&&ie!==1?(oe.parentNode.style.width=re.width*ie+"px",oe.parentNode.style.height=re.height*ie+"px",Wt(oe,ie)):(Wt(oe,1),oe.parentNode.style.width=re.width+"px",oe.parentNode.style.height=re.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&x(ve),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ne).parents(".content-added-content"))}}return{responsiveResize:De,isFlexibleWorksheetEditor:sr,positionCenter:x,getScale:vt,scaleElement:Wt}}();__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 sr=n.location.search;return sr.indexOf(J)!=-1||sr.indexOf(K)!=-1}function q(sr,Wt){}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(sr){var Wt=s[L].bindings;s[L].bindings=function(){for(var ke=Wt?Wt():{},Re=sr[webModule.__softPermutationId],vt=O;vt<Re.length;vt++){var x=Re[vt];ke[x[O]]=x[P]}return ke}};var t;function u(){return v(),t}function v(){if(!t){var sr=o.createElement(Q);if(sr.id=L,sr.style.cssText=R+S,sr.tabIndex=-1,o.body.appendChild(sr),t=sr.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Wt=document.compatMode==U?V:W;t.write(Wt+X),t.close()}}}function w(sr){function Wt(Re){function vt(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var x=vt();if(x){Re();return}function De(){if(!x){if(!vt())return;x=!0,Re(),o.removeEventListener&&o.removeEventListener(Z,De,!1),ve&&clearInterval(ve)}}o.addEventListener&&o.addEventListener(Z,De,!1);var ve=setInterval(function(){De()},$)}function ke(Re){var vt=u(),x=vt.body,De=vt.createElement(_);De.language=ab,De.crossOrigin=W,De.src=Re,webModule.__errFn&&(De.onerror=function(){webModule.__errFn(L,new Error(bb+Re))}),x.appendChild(De)}Wt(function(){ke(sr)})}webModule.__startLoadingFragment=function(sr){return C(sr)},webModule.__installRunAsyncCode=function(sr){var Wt=u(),ke=Wt.body,Re=Wt.createElement(_);Re.language=ab,Re.text=sr,ke.appendChild(Re),ke.removeChild(Re)};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(sr){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(sr){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(sr){var Wt=c[sr];return Wt==null?null:Wt},r=d,webModule.__errFn=e}function B(){function sr(ve){var re=ve.lastIndexOf(rb);re==-1&&(re=ve.length);var ne=ve.indexOf(sb);ne==-1&&(ne=ve.length);var ie=ve.lastIndexOf(tb,Math.min(ne,re));return ie>=O?ve.substring(O,ie+P):W}function Wt(ve){if(!ve.match(/^\w+:\/\//)){var re=o.createElement(ub);re.src=ve+vb,ve=sr(re.src)}return ve}function ke(){var ve=__gwt_getMetaProperty(wb);return ve!=null?ve:W}function Re(){for(var ve=o.getElementsByTagName(_),re=O;re<ve.length;++re)if(ve[re].src.indexOf(xb)!=-1)return sr(ve[re].src);return W}function vt(){var ve=o.getElementsByTagName(yb);return ve.length>O?ve[ve.length-P].href:W}function x(){var ve=o.location;return ve.href==ve.protocol+zb+ve.host+ve.pathname+ve.search+ve.hash}var De=ke();return De==W&&(De=Re()),De==W&&(De=vt()),De==W&&x()&&(De=sr(o.location.href)),De=Wt(De),De}function C(sr){return sr.match(/^\//)||sr.match(/^[a-zA-Z]+:\/\//)?sr:webModule.__moduleBase+sr}function D(){var sr=[],Wt=O,ke=[],Re=[];function vt(ve){var re=Re[ve](),ne=ke[ve];if(re in ne)return re;var ie=[];for(var oe in ne)ie[ne[oe]]=oe;throw r&&r(ve,ie,re),null}if(__gwt_isKnownPropertyValue=function(ve,re){return re in ke[ve]},webModule.__getPropMap=function(){var ve={};for(var re in ke)ke.hasOwnProperty(re)&&(ve[re]=vt(re));return ve},webModule.__computePropValue=vt,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var x;try{x=Cb;var De=x.indexOf(Db);De!=-1&&(Wt=parseInt(x.substring(De+P),$),x=x.substring(O,De))}catch(ve){}return webModule.__softPermutationId=Wt,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})()},79090:function(sr,Wt,ke){"use strict";ke.d(Wt,{Ax:function(){return De},Ds:function(){return ve},KI:function(){return ne},SI:function(){return x},f1:function(){return vt}});var Re=ke(6521);function vt(ie){let oe=!0;if(ie.length>0){for(let le=0;le<ie.length;le++)if(ie[le].compile_success==0||!ie[le].compile_success){oe=!1;break}}else oe=!1;return oe}function x(ie,oe=""){let le=[];for(let me=0;me<ie.length;me++){let te=ie[me],ae=oe?`${oe}/${te.name}`:`${te.name}`;le.push({title:te.name,type:te.type,isLeaf:te.type!=="tree",key:ae})}return le}function De(ie,oe,le){for(let me=0;me<ie.length;me++){let te=ie[me];if(te.key===oe){te.children=le;break}te.children&&De(te.children,oe,le)}return ie}function ve(ie,oe,le){let me;return function(){let te=this,ae=arguments,ue=function(){me=null,le||ie.apply(te,ae)},de=le&&!me;clearTimeout(me),me=setTimeout(ue,oe),de&&ie.apply(te,ae)}}const re=!0,ne=Re.Z.API_SERVER},15868:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return me}});var Re=ke(59301),vt={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},x=ke(92310),De=ke.n(x),ve=ke(71418),re=ke(2859),ne=ke(79769),ie=ke(25544),oe=(te,ae,ue)=>new Promise((de,he)=>{var we=ye=>{try{xe(ue.next(ye))}catch(Ae){he(Ae)}},Se=ye=>{try{xe(ue.throw(ye))}catch(Ae){he(Ae)}},xe=ye=>ye.done?de(ye.value):Promise.resolve(ye.value).then(we,Se);xe((ue=ue.apply(te,ae)).next())}),me=({data:te,className:ae,fullWidth:ue,style:de={},onClose:he,onOk:we,showFullTools:Se,noAssociationId:xe})=>{const ye=(0,Re.useRef)(null),Ae=(0,Re.useRef)(null),Le=(0,Re.useRef)(null),Ee=(0,Re.useRef)(null),[_e,Me]=(0,Re.useState)(!1),[Oe,Ce]=(0,Re.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Re.useEffect)(()=>{Le.current||(Le.current=document.createElement("style"),document.head.appendChild(Le.current)),te!=null&&te.visible?(document.body.setAttribute("data-custom","y-hidden"),Le.current.innerHTML=" html { overflow-y: hidden; }",te!=null&&te.src&&Ne()):(document.body.removeAttribute("data-custom"),Le.current&&(document.head.removeChild(Le.current),Le.current=null))},[te==null?void 0:te.visible]);const Ne=()=>oe(void 0,null,function*(){Me(!0),Ce("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Qe=yield(0,ie.ZJ)(te==null?void 0:te.src);ye.current.src="",ye.current.src=Qe,ye.current.onload=function(){Ue()},Me(!1),Ce("")}),je=()=>{document.body.removeAttribute("data-custom"),Le.current.innerHTML=" ",he()},Ze=Qe=>oe(void 0,null,function*(){Me(!0),Ce("\u6B63\u5728\u4FDD\u5B58\u4E2D");const tt=yield(0,ne.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:te.title,file:Qe.dataUrl}});tt!=null&&tt.id&&!xe?(yield(0,ne.ZP)(`/api/attachments/${te.id}/add_subitem.json`,{method:"post",body:{subitem_id:tt==null?void 0:tt.id,settings:JSON.stringify(Qe.state)}})).status===0&&we():tt!=null&&tt.id&&we(tt),document.body.removeAttribute("data-custom"),Le.current.innerHTML=" ",Me(!1),Ce("")}),Pe=()=>{const Qe=document.querySelector('a[href="https://markerjs.com/"]');Qe&&Qe.parentNode&&(Qe.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(ot=>{const lt=document.querySelector(ot.name);lt&&lt.setAttribute("title",ot.title)})},Ue=()=>{Ae.current=new re.hP(ye.current),Ae.current.targetRoot=Ee.current,Ae.current.addEventListener("render",Ze),Ae.current.addEventListener("beforeclose",je),Se&&(Ae.current.availableMarkerTypes=Ae.current.ALL_MARKER_TYPES,Ae.current.uiStyleSettings.redoButtonVisible=!0,Ae.current.uiStyleSettings.notesButtonVisible=!0,Ae.current.uiStyleSettings.zoomButtonVisible=!0,Ae.current.uiStyleSettings.zoomOutButtonVisible=!0,Ae.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Ae.current.uiStyleSettings,Ae.current.show(),te!=null&&te.snapshotData&&Ae.current.restoreState(te.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Pe()},300)};return Re.createElement(Re.Fragment,null,(te==null?void 0:te.visible)&&Re.createElement(ve.Z,{spinning:_e,tip:Oe,style:{position:"absolute"}},Re.createElement("div",{ref:Ee,className:De()(vt.imageDimensions,ae,ue?vt.fullWidth:""),style:de},Re.createElement("img",{className:vt.img,ref:ye}))))}},13624:function(sr,Wt,ke){"use strict";ke.d(Wt,{N:function(){return he}});var Re=ke(59301),vt=ke(57809),x=ke(43418),De=ke(92832),ve=ke(8591),re=ke(95237),ne=ke(43604),ie=ke(79769),oe={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"},le=ke(92310),me=ke.n(le),te=ke(87169),ae=ke(59301),ue=(we,Se,xe)=>new Promise((ye,Ae)=>{var Le=Me=>{try{_e(xe.next(Me))}catch(Oe){Ae(Oe)}},Ee=Me=>{try{_e(xe.throw(Me))}catch(Oe){Ae(Oe)}},_e=Me=>Me.done?ye(Me.value):Promise.resolve(Me.value).then(Le,Ee);_e((xe=xe.apply(we,Se)).next())});const{Option:de}=vt.default,he=({subId:we,value:Se,selectvalues:xe,disabled:ye,knowledgeOptions:Ae=[],className:Le,height:Ee,onChange:_e=()=>{},onAddKnowledgeFinish:Me=()=>{},zIndex:Oe=1e3})=>{const Ce=(0,Re.useRef)(),[Ne,je]=(0,Re.useState)([]);Se=Se||[];const Ze=(Ue,Qe)=>{Ue?(je([...Qe]),_e([...Qe])):(je([]),_e([]))};(0,Re.useEffect)(()=>{(xe==null?void 0:xe.length)>0?(je([...xe]),_e([...xe])):(je([]),_e([]))},[Ae]),(0,Re.useEffect)(()=>{(Se==null?void 0:Se.length)>0&&_e([...Se])},[Ae]);const Pe=Ue=>{Ue.preventDefault(),Ce.current="",x.default.confirm({centered:!0,width:585,zIndex:Oe,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u65B0\u5EFA\u77E5\u8BC6\u70B9",className:"custom-modal-divider",content:ae.createElement("div",{className:"font14"},ae.createElement("div",{className:oe.public_tips},ae.createElement(te.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"),ae.createElement("div",{style:{display:"flex",alignItems:"center"}},ae.createElement("div",{style:{width:"95px"}},ae.createElement("span",{className:oe.bt},"*"),"\u77E5\u8BC6\u70B9\u540D\u79F0"),ae.createElement(De.default,{className:oe.inputCss,style:{width:"calc(100% - 95px)"},maxLength:20,size:"middle",showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0",defaultValue:Ce.current,onChange:Qe=>{Ce.current=Qe.target.value}}))),onOk:()=>new Promise((Qe,tt)=>ue(void 0,null,function*(){if(!Ce.current)return ve.ZP.warning("\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"),tt();if(Ce.current.length>20)return ve.ZP.warning("\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u77E5\u8BC6\u70B9\u540D\u79F0"),tt();const ot=yield(0,ie.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:Ce.current,sub_discipline_id:we}});if((ot==null?void 0:ot.status)===0){Me({id:ot.tag_discipline_id,name:Ce.current,type:"personal"});let lt=xe||[];lt.push(ot.tag_discipline_id),_e([...lt]),je([...lt]),_e([...lt])}return Qe()}))})};return ae.createElement(re.Z,{wrap:!1,align:"middle",className:me()(oe.wrap,Le)},ae.createElement(ne.Z,null,ae.createElement(vt.default,{mode:"multiple",disabled:!we||ye,className:oe.selectWrapper,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",onChange:Ze,style:{width:Ee||490},showSearch:!0,allowClear:!0,value:Ne,filterOption:(Ue,Qe)=>Qe.label.indexOf(Ue.toLowerCase())>=0},Ae==null?void 0:Ae.map(Ue=>ae.createElement(de,{key:Ue.id,value:Ue.id,label:Ue.name},ae.createElement("div",{style:{display:"flex",alignItems:"center"}},ae.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Ue.name),(Ue==null?void 0:Ue.type)==="personal"&&ae.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),we&&ae.createElement(ne.Z,{className:`ml20 ${Ee&&oe.add_style}`},ae.createElement("span",{className:oe.tips},"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),ae.createElement("span",{className:oe.linkBtn,onClick:Pe},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))}},3315:function(sr,Wt,ke){"use strict";var Re=ke(59301),vt=ke(95237),x=ke(43604),De=ke(99313),ve=ke(3113),re=ke(39655),ne=ke(18760),ie=ke(48136),oe=ke(59301);const le=(0,Re.forwardRef)(({callback:me,showSaveButton:te,value:ae=""},ue)=>{const de=(0,Re.useRef)(),he=[{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 "}]}]}],we=[{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=Ae=>{de.current.setValue(de.current.getValue()+" "+Ae.value+" ")},xe=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:oe.createElement(vt.Z,{className:ne.Z.lists,gutter:[10,10]},he.map((Ae,Le)=>oe.createElement(x.Z,{flex:"110px",className:ne.Z.item},oe.createElement("div",null,oe.createElement(re.Z,{value:`$$${Ae.value}$$`}),Ae.name),oe.createElement("div",{className:ne.Z.children},Ae.children.map((Ee,_e)=>oe.createElement("div",{key:_e},oe.createElement("h1",null,Ee.name),oe.createElement(vt.Z,{gutter:[10,10]},Ee.data.map((Me,Oe)=>oe.createElement(x.Z,{key:Oe,onClick:()=>Se(Me),className:ne.Z.diamond},oe.createElement(re.Z,{value:"`$$"+Me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:oe.createElement(vt.Z,{className:ne.Z.lists,gutter:[10,10]},we.map((Ae,Le)=>oe.createElement(x.Z,{flex:"110px",className:ne.Z.item},oe.createElement("div",null,oe.createElement(re.Z,{value:"`$$"+Ae.value+"$$`"}),Ae.name),oe.createElement("div",{className:ne.Z.children},Ae.children.map((Ee,_e)=>oe.createElement("div",{key:_e},Ee.name&&oe.createElement("h1",null,Ee.name),oe.createElement(vt.Z,{gutter:[10,10]},Ee.data.map((Me,Oe)=>oe.createElement(x.Z,{key:Oe,onClick:()=>Se(Me),className:ne.Z.diamond},oe.createElement(re.Z,{value:"`$$"+Me.value+"$$`"}))))))))))}],ye=()=>{var Ae=document.createElement("div");Ae.innerHTML=de.current.getValue();var Le=Ae.innerText;return me&&me(Le),Le};return(0,Re.useImperativeHandle)(ue,()=>({getData:ye})),oe.createElement("div",{className:ne.Z.mathWrap},oe.createElement(De.default,{defaultActiveKey:"1",items:xe}),oe.createElement("math-field",{locale:"zh_cn",className:ne.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:de,style:{width:800,marginTop:30,fontSize:18}},ae||""),te&&oe.createElement("div",{className:ne.Z.button},oe.createElement(ve.ZP,{size:"large",onClick:ye,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Wt.Z=le},69925:function(sr,Wt,ke){"use strict";ke.d(Wt,{h:function(){return de},x:function(){return he}});var Re=ke(40973),vt=ke(67609),x=ke(39655),De=ke(59301),ve=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,me=(we,Se,xe)=>Se in we?ve(we,Se,{enumerable:!0,configurable:!0,writable:!0,value:xe}):we[Se]=xe,te=(we,Se)=>{for(var xe in Se||(Se={}))oe.call(Se,xe)&&me(we,xe,Se[xe]);if(ie)for(var xe of ie(Se))le.call(Se,xe)&&me(we,xe,Se[xe]);return we},ae=(we,Se)=>re(we,ne(Se)),ue=(we,Se)=>{var xe={};for(var ye in we)oe.call(we,ye)&&Se.indexOf(ye)<0&&(xe[ye]=we[ye]);if(we!=null&&ie)for(var ye of ie(we))Se.indexOf(ye)<0&&le.call(we,ye)&&(xe[ye]=we[ye]);return xe};const de=we=>{var Se=we,{value:xe,onChange:ye,scrollId:Ae}=Se,Le=ue(Se,["value","onChange","scrollId"]);return De.createElement("div",{id:Ae||""},De.createElement(Re.Z,ae(te({},Le),{defaultValue:xe,onChange:(Ee,_e)=>{_e!=null&&_e.length?ye(Ee,_e):ye(Ee)}})))},he=({value:we,onChange:Se,placeholder:xe,height:ye=140,isEdit:Ae,miniToolbar:Le,watch:Ee=!0})=>Ae?De.createElement(Re.Z,{watch:Ee,isFocus:!0,height:ye||void 0,placeholder:xe,defaultValue:we,onChange:Se,miniToolbar:Le}):De.createElement("div",{style:{cursor:"pointer"}},we?De.createElement(x.Z,{className:vt.Z.inputBorder,value:we}):De.createElement("div",{className:`${vt.Z.inputBorder} ${vt.Z.placeholder} inputBorderError`},xe))},67831:function(sr,Wt,ke){"use strict";ke.d(Wt,{h:function(){return Ae}});var Re=ke(59301),vt=ke(57809),x=ke(78241),De=ke(3113),ve=ke(89780),re=ke.n(ve),ne=ke(14618),ie=ke(66552),oe=Object.defineProperty,le=Object.defineProperties,me=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,de=(Le,Ee,_e)=>Ee in Le?oe(Le,Ee,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Le[Ee]=_e,he=(Le,Ee)=>{for(var _e in Ee||(Ee={}))ae.call(Ee,_e)&&de(Le,_e,Ee[_e]);if(te)for(var _e of te(Ee))ue.call(Ee,_e)&&de(Le,_e,Ee[_e]);return Le},we=(Le,Ee)=>le(Le,me(Ee));const Se=vt.default.Option,xe={labelCol:{span:4},wrapperCol:{span:20}},ye={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"]};Wt.Z=({callback:Le,onCancel:Ee})=>{const[_e,Me]=(0,Re.useState)("python");function Oe(Ne){Me(ye[Ne][1])}function Ce(Ne){Le(Ne)}return Re.createElement(x.default,we(he({},xe),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ce,style:{width:500}}),Re.createElement(x.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Re.createElement(vt.default,{getPopupContainer:Ne=>Ne.parentNode,onChange:Oe},Object.keys(ye).map(Ne=>Re.createElement(Se,{key:Ne,value:Ne},ye[Ne][0])))),Re.createElement(x.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Re.createElement(Ae,{mode:_e})),Re.createElement("div",{className:"flex-container flex-end"},Re.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Re.createElement(De.ZP,{type:"ghost",onClick:Ee},"\u53D6\u6D88")))};function Ae({value:Le,onChange:Ee,mode:_e,options:Me={}}){const Oe=(0,Re.useRef)(),[Ce,Ne]=(0,Re.useState)();return(0,Re.useEffect)(()=>{if(Ce){let je=function(Ze){const Pe=Ze.getValue();Ee&&Ee(Pe)};return Ce.on("change",je),()=>{Ce.off("change",je)}}},[Ce,Ee]),(0,Re.useEffect)(()=>{Ce&&Ce.setOption("mode",_e)},[Ce,_e]),(0,Re.useEffect)(()=>{Ce&&(Le!==Ce.getValue()||Le==="")&&setTimeout(()=>{Ce.setValue(Le||"")},300)},[Ce,Le]),(0,Re.useEffect)(()=>{if(Oe.current&&!Ce){const je=re().fromTextArea(Oe.current,he({mode:_e,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Me));Ne(je)}},[Oe.current,Ce]),Re.createElement("div",{className:"my-codemirror-container"},Re.createElement("textarea",{ref:Oe}))}},40973:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return Mr}});var Re=ke(59301),vt=ke(89780),x=ke.n(vt),De=ke(76374),ve=ke(14618),re=ke(6313),ne=ke(25717),ie=ke(99498),oe=ke(25419),le=ke(67549),me=ke(39655),te=({value:Or="",className:Pr,showTextOnly:Tr,showLines:wr,style:Xr={}})=>{const Kt=(0,Re.useMemo)(()=>"",[Or]);return Re.createElement(Re.Fragment,null,Re.createElement("div",{dangerouslySetInnerHTML:{__html:Kt}}))},ae=ke(59301),ue=Object.defineProperty,de=Object.defineProperties,he=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,ye=(Or,Pr,Tr)=>Pr in Or?ue(Or,Pr,{enumerable:!0,configurable:!0,writable:!0,value:Tr}):Or[Pr]=Tr,Ae=(Or,Pr)=>{for(var Tr in Pr||(Pr={}))Se.call(Pr,Tr)&&ye(Or,Tr,Pr[Tr]);if(we)for(var Tr of we(Pr))xe.call(Pr,Tr)&&ye(Or,Tr,Pr[Tr]);return Or},Le=(Or,Pr)=>de(Or,he(Pr));let Ee=[{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 _e({onActionCallback:Or,title:Pr,icon:Tr,actionName:wr,className:Xr="",children:Kt}){function xt(){Or(wr)}return ae.createElement("a",{title:Pr,className:Xr,onClick:xt},ae.createElement("i",{className:`${Tr}`}),Kt)}var Me=({watch:Or,showNullButton:Pr,showNullProgramButton:Tr,onActionCallback:wr,fullScreen:Xr,insertTemp:Kt,hidetoolBar:xt,extraUse:It})=>{const Tt=[...Ee,{title:`${Or?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Or?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ae.createElement("ul",{className:"markdown-toolbar-container"},!xt&&Tt.map((At,zt)=>ae.createElement("li",{key:zt},At.actionName?ae.createElement(_e,Le(Ae({},At),{onActionCallback:wr})):ae.createElement("span",{className:"v-line"}))),Pr?ae.createElement("li",null,ae.createElement(_e,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:wr},ae.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Tr?ae.createElement(ae.Fragment,null,ae.createElement("li",null,ae.createElement(_e,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:wr},ae.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ae.createElement("li",null,ae.createElement(_e,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:wr},ae.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Kt&&ae.createElement("li",null,ae.createElement(_e,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Kt}`,onActionCallback:wr},ae.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),It&&ae.createElement("li",null,It),ae.createElement("li",{className:"btn-full-screen"},ae.createElement(_e,{icon:`${Xr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Xr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:wr})))},Oe=ke(53531),Ce=ke(78241),Ne=ke(92832),je=ke(3113),Ze=Object.defineProperty,Pe=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,Qe=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,lt=(Or,Pr,Tr)=>Pr in Or?Ze(Or,Pr,{enumerable:!0,configurable:!0,writable:!0,value:Tr}):Or[Pr]=Tr,Ve=(Or,Pr)=>{for(var Tr in Pr||(Pr={}))tt.call(Pr,Tr)&&lt(Or,Tr,Pr[Tr]);if(Qe)for(var Tr of Qe(Pr))ot.call(Pr,Tr)&&lt(Or,Tr,Pr[Tr]);return Or},Ye=(Or,Pr)=>Pe(Or,Ue(Pr));const nt={labelCol:{span:4},wrapperCol:{span:20}};var dt=({callback:Or,onCancel:Pr})=>{function Tr(wr){Or(wr)}return Re.createElement(Ce.default,Ye(Ve({},nt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Tr,style:{width:500}}),Re.createElement(Ce.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Re.createElement(Ne.default,null)),Re.createElement(Ce.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Re.createElement(Ne.default,null)),Re.createElement("div",{className:"flex-container flex-end"},Re.createElement(je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Re.createElement(je.ZP,{type:"ghost",onClick:Pr},"\u53D6\u6D88")))},at=ke(67831),et=ke(58448),qe=ke(43418),it=ke(95237),yt=ke(15868),ht=ke(59301),Bt=({callback:Or,onCancel:Pr})=>{const Tr=document.createElement("canvas"),wr=Tr.getContext("2d");Tr.width=1e3,Tr.height=800,wr.fillStyle="#ffffff",wr.fillRect(0,0,Tr.width,Tr.height);const Xr=Tr.toDataURL("image/png");return ht.createElement(qe.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ht.createElement(it.Z,{style:{height:"100vh"}},ht.createElement(yt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Xr,visible:!0,title:String(Date.now())},onOk:Kt=>{Or({src:Kt.url})},onClose:Pr})))},Et=ke(8591),st=ke(43428),Ge=ke(43604),We={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},se=ke(59301),ze=(0,Re.forwardRef)(({onCancel:Or,editImgId:Pr,callback:Tr},wr)=>{let Xr=(0,Re.useRef)(),Kt=(0,Re.useRef)(),xt=(0,Re.useRef)(),It=(0,Re.useRef)(!1);const Tt=(0,Re.useRef)(!1);console.log("ref:",wr);const[At,zt]=(0,Re.useState)(0),[Ut,ir]=(0,Re.useState)("100vh");(0,Re.useEffect)(()=>{zt(1);try{indexedDB.databases().then(Cr=>{Cr.forEach(Dr=>indexedDB.deleteDatabase(Dr.name))})}catch(Cr){}},[]),(0,Re.useEffect)(()=>(window.addEventListener("message",hr),()=>{window.removeEventListener("message",hr)}),[]),(0,Re.useImperativeHandle)(wr,()=>({setHeight:ir}));const er=Cr=>{window.saveDrawData(Dr=>{if(Dr===null&&!Cr){Et.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Et.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Tr({src:`/api/attachments/${Dr}`,id:Dr,disabledClose:!0})})},hr=Cr=>{var Dr;((Dr=Cr==null?void 0:Cr.data)==null?void 0:Dr.type)==="closePop"&&er(!0)};return se.createElement("div",{ref:Tt,className:"body-overflow-initial"},se.createElement(st.Z,{width:"100vw",height:Ut,footer:null,closable:!0,placement:"bottom",open:!!At,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${We.drawerWrap}`,onClose:()=>{window.saveDrawData(Cr=>{Tr({src:`/api/attachments/${Cr}`,id:Cr})})},title:se.createElement(it.Z,{align:"middle"},se.createElement(Ge.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),se.createElement(Ge.Z,{onClick:()=>{ir(Ut==="60px"?"100vh":"60px")}},se.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),se.createElement(Ge.Z,{onClick:er},se.createElement(je.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},se.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${Pr||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Kt})))}),He=ke(6521),pe=ke(5112),Be=ke(5871);const Ke=pe.ZP.Group,Xe={margin:"0 8px"};var Je=({callback:Or,onCancel:Pr})=>{function Tr(wr){Or(wr)}return Re.createElement(Ce.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Tr},Re.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Re.createElement("span",{style:Xe},"\u5355\u5143\u683C\u6570\uFF1A"),Re.createElement("span",{style:Xe},"\u884C\u6570"),Re.createElement(Ce.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Re.createElement(Be.Z,null)),Re.createElement("span",{style:Xe},"\u5217\u6570"),Re.createElement(Ce.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Re.createElement(Be.Z,null))),Re.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Re.createElement("span",{style:Xe},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),Re.createElement(Ce.default.Item,{name:"align"},Re.createElement(Ke,null,Re.createElement(pe.ZP,{value:"default"},Re.createElement("i",{className:"fa fa-align-justify"})),Re.createElement(pe.ZP,{value:"left"},Re.createElement("i",{className:"fa fa-align-left"})),Re.createElement(pe.ZP,{value:"center"},Re.createElement("i",{className:"fa fa-align-center"})),Re.createElement(pe.ZP,{value:"right"},Re.createElement("i",{className:"fa fa-align-right"}))))),Re.createElement("div",{className:"flex-container flex-end"},Re.createElement(je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Re.createElement(je.ZP,{type:"ghost",onClick:Pr},"\u53D6\u6D88")))},ut=ke(78673),bt=ke(3352),gt=ke.n(bt),Vt=(0,Re.forwardRef)(({use3d:Or,width:Pr,height:Tr,callback:wr,showSaveButton:Xr},Kt)=>{const xt=(0,Re.useRef)(),It=(0,Re.useRef)(),[Tt,At]=(0,Re.useState)(!1),zt=(0,Re.useRef)({id:xt,appName:"graphing",width:Pr||1e3,height:Tr||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Re.useEffect)(()=>{It.current=new(gt())(zt.current,!0),window.onload=function(){It.current.inject("applet_container")}},[]);const Ut=()=>{var ir=window.ggbApplet.getPNGBase64(1,!0,72);return wr&&wr(ir),ir};return(0,Re.useEffect)(()=>{zt.current.appName=Tt?"3D":"graphing",It.current.inject("applet_container")},[Tt]),(0,Re.useEffect)(()=>{At(Or)},[Or]),(0,Re.useImperativeHandle)(Kt,()=>({getImgData:Ut})),Re.createElement(Re.Fragment,null,Re.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:xt}),Re.createElement(it.Z,{align:"middle"},Re.createElement(Ge.Z,{flex:1},Re.createElement(ut.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Tt,onChange:ir=>At(ir)})),Re.createElement(Ge.Z,null,Re.createElement(je.ZP,{size:"large",onClick:Ut,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),kt=ke(3315),jt=ke(1012);const _t="link",Mt="upload-image",ft="add-flowchart",St="draw-image",Nt="add-flowchart",Ft="code-block",Zt="add-table",or="------------",yr={default:or,left:`:${or}`,center:`:${or}:`,right:`${or}:`};var Sr=ke(57649),Fr=(Or,Pr,Tr)=>new Promise((wr,Xr)=>{var Kt=Tt=>{try{It(Tr.next(Tt))}catch(At){Xr(At)}},xt=Tt=>{try{It(Tr.throw(Tt))}catch(At){Xr(At)}},It=Tt=>Tt.done?wr(Tt.value):Promise.resolve(Tt.value).then(Kt,xt);It((Tr=Tr.apply(Or,Pr)).next())});function Vr(){}let Br=0;const Ur=1e4,on="\u2581",Yr="@\u2581\u2581@",Fn="@\u2581@",vn=`
**\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`,Tn=["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 qr(Or){return/^\d+$/.test(Or)?`${Or}px`:Or}const un=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ar={[un+"-B"]:"bold",[un+"-I"]:"italic"},Nr={[_t]:"\u6DFB\u52A0\u94FE\u63A5",[Ft]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Mt]:"\u6DFB\u52A0\u56FE\u7247",[St]:"\u6DFB\u52A0\u753B\u56FE",[ft]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Zt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Mr=({defaultValue:Or="",onChange:Pr,width:Tr="100%",height:wr=400,miniToolbar:Xr=!1,isFocus:Kt=!1,watch:xt,insertTemp:It,mode:Tt="markdown",id:At="markdown-editor-id",showResizeBar:zt=!1,noStorage:Ut=!1,showNullButton:ir=!1,showNullProgramButton:er=!1,hidetoolBar:hr=!1,fullScreen:Cr=!1,onBlur:Dr,onCMBeforeChange:Ir,onFullScreen:qt,className:vr="",disablePaste:Ht=!1,disabled:Yt=!1,disabledFill:Xt=!1,placeholder:rr="",values:gr="",extraUse:Qt,onAddBlank:xr})=>{const[Lt,Jt]=(0,Re.useState)(null),[$t,dr]=(0,Re.useState)(Or),[lr,pr]=(0,Re.useState)(xt),[fr,Ar]=(0,Re.useState)(Cr),[Rr,Zr]=(0,Re.useState)(""),[Qr,nn]=(0,Re.useState)(0),[dn,pn]=(0,Re.useState)(wr),[Gr,yn]=(0,Re.useState)(!1),mn=(0,Re.useRef)((0,jt.Z)()),On=(0,Re.useRef)(!1),cn=(0,Re.useRef)(),[Sn,gn]=(0,Re.useState)(0),[Jr,Ln]=(0,Re.useState)(0),Zn=(0,Re.useRef)(),fn=(0,Re.useRef)(),Hr=(0,Re.useRef)(),Wr=(0,Re.useRef)(),In=(0,Re.useRef)(),bn=(0,Re.useRef)(),Nn=()=>Fr(void 0,null,function*(){var En;const An=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:mn.current}});(En=An==null?void 0:An.attachments)!=null&&En.length&&(console.log("cm:",Lt,Zn),An.attachments.map(an=>{an.content_type.indexOf("image")>-1?Lt.replaceSelection(`![,](/api/attachments/${an.id}?type=${an.content_type})`):an.content_type.indexOf("video")>-1?Lt.replaceSelection(`<video width="100%" controls src="${He.Z.API_SERVER}/api/attachments/${data.id}"></video>`):an.content_type.indexOf("pdf")>-1?Lt.replaceSelection(`<a href="${He.Z.API_SERVER}/api/attachments/${an.id}?type=${an.content_type}&disposition=inline" target="_blank">${an.name}</a>`):Lt.replaceSelection(`[${an.name}](${He.Z.API_SERVER}/api/attachments/${an.id}?type=${an.content_type})`)}))});(0,Re.useEffect)(()=>{const En=window.scrollY||window.pageYOffset;dr(gr),Lt==null||Lt.setValue(gr),window.scrollTo(0,En)},[gr]),(0,Re.useEffect)(()=>{qt==null||qt(fr)},[fr]),(0,Re.useEffect)(()=>{if(Zn.current){let En=function(an,sn){var ni;if(Ht){sn.preventDefault();return}const wi=sn.clipboardData;if(wi){const Si=wi.types.toString(),Ai=wi.items;if(Si==="Files"||wi.types.indexOf("Files")>-1){if(sn.preventDefault(),Tt=="stex")return;try{let vi=Ai[1];((ni=Ai[0])==null?void 0:ni.kind)==="file"&&(vi=Ai[0]);const Ii=vi.getAsFile(),Ki=Ii.name.split(".").pop();(0,et.I)(Ii,Ui=>{var $i,li,fi;Ui.id?(($i=Ii==null?void 0:Ii.type)==null?void 0:$i.indexOf("image"))>-1?An.replaceSelection(`<img width="100%" src="/api/attachments/${Ui.id}?type=${Ui.content_type})" alt="" />`):((li=Ii==null?void 0:Ii.type)==null?void 0:li.indexOf("video"))>-1?An.replaceSelection(`<video width="100%" controls src="/api/attachments/${Ui.id}"></video>`):((fi=Ii==null?void 0:Ii.type)==null?void 0:fi.indexOf("pdf"))>-1?An.replaceSelection(`<a href="/api/attachments/${Ui.id}?type=${Ii.type}&disposition=inline" target="_blank">${Ii.name}</a>`):Tn.includes(Ki)?An.replaceSelection(`<a href="/api/attachments/${Ui.id}?type=office&disposition=inline" target="_blank">${Ii.name}</a>`):An.replaceSelection(`[${Ii.name}](/api/attachments/${Ui.id}?type=${Ui.content_type})`):(Ui==null?void 0:Ui.status)===401&&(Et.ZP.warning((Ui==null?void 0:Ui.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(vi){Et.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const An=x().fromTextArea(Zn.current,{mode:Tt,lineNumbers:!Xr,lineWrapping:!0,value:Or,autoCloseTags:!er,autoCloseBrackets:!0});return An.on("keyup",function(an,sn){sn.keyCode===8&&(an.getValue()==""?An.setOption("placeholder",rr):An.setOption("placeholder",null))}),An.on("keydown",function(an,sn){if(sn.keyCode===8){var ni=zn(an);ni&&sn.preventDefault()}}),Kt&&An.focus(),An.on("paste",En),An.on("dragleave",function(an,sn){fn.current.classList.remove("mouse-hover-md")}),Yt&&An.on("beforeChange",function(an,sn){(sn.origin==="paste"||sn.origin==="+input")&&sn.cancel()}),Jt(An),()=>{An.off("paste",En)}}},[]);const Hn=(0,Re.useCallback)(()=>{if(fn.current)try{}catch(En){console.log(En,"---- to set md editor body height")}},[dn,fn,fr]);(0,Re.useEffect)(()=>{function En(){let An=new De.Z(an=>{for(let sn of an)(sn.target.offsetHeight>0||sn.target.offsetWidth>0)&&(Hn(),Lt.setSize("100%","100%"),Lt.refresh())});return An.observe(Zn.current.parentElement),An}if(Lt){const An=En();return()=>{var an,sn;(an=Zn.current)!=null&&an.parentElement&&An.unobserve((sn=Zn.current)==null?void 0:sn.parentElement)}}},[Lt,Hn]),(0,Re.useEffect)(()=>{if(Lt){let En=[];for(const[An,an]of Object.entries(ar)){let sn={[An]:()=>{Dn(an)}};En.push(sn),Lt.addKeyMap(sn)}return cn.current=setInterval(()=>{On.current&&Nn()},4e3),()=>{clearInterval(cn.current);for(let An of En)Lt.removeKeyMap(An)}}},[Lt]),(0,Re.useEffect)(()=>{Cr!==fr&&Ar(Cr)},[Cr]),(0,Sr.Z)(()=>{if(!Ut&&Qr>0){let En=new Date().getTime(),An=window.sessionStorage.getItem(At);En>=Qr+Ur&&(!An||An!==$t)&&(window.sessionStorage.setItem(At,$t),yn(!0))}},Ur),(0,Re.useEffect)(()=>{pr(xt)},[Lt,xt]),(0,Re.useEffect)(()=>{Lt&&Kt&&Lt.focus()},[Lt,Kt]),(0,Re.useEffect)(()=>{if(lr&&Lt){let En=function(an){let sn=an.target;if(Wr.current){let ni=sn.scrollTop/sn.scrollHeight;Wr.current.scrollTop=Wr.current.scrollHeight*ni}};const An=Lt.getScrollerElement();return An.addEventListener("scroll",En),()=>{An.removeEventListener("scroll",En)}}},[Lt,lr]),(0,Re.useEffect)(()=>{if(Lt&&Ir){let En=function(An,an){Ir(An,an)};return Lt.on("beforeChange",En),()=>{Lt.off("beforeChange",En)}}},[Lt,Ir]),(0,Re.useEffect)(()=>{if(Lt&&Dr){let En=function(){Dr(Lt.getValue())};return Lt.on("blur",En),()=>{Lt.off("blur",En)}}},[Lt,Dr]);function zn(En,An){var an=En.getDoc(),sn=an.getCursor(),ni=an.getLine(sn.line),wi=ni.charAt(sn.ch-1),Si=ni.lastIndexOf("@\u2581@",sn.ch),Ai=ni.lastIndexOf("@\u2581\u2581@",sn.ch),vi=Si>Ai?Si:Ai,Ii=Si>Ai?3:4;if(Yr.indexOf(wi)===-1)return null;if(console.log("change1:",An,En,ni,sn,vi,Si,Ai,wi),vi>=0&&sn.ch-vi<5){var Ki=vi+Ii;return an.replaceRange("",{line:sn.line,ch:vi},{line:sn.line,ch:Ki}),{line:sn.line,ch:Ki}}return null}(0,Re.useEffect)(()=>{if(Lt){let En=function(An,an){const sn=An.getValue();dr(sn),nn(new Date().getTime()),An.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Pr&&(er?Pr(sn,Ei(sn)):Pr(sn))};return Lt.on("change",En),()=>{Lt.off("change",En)}}},[Lt,Pr]),(0,Re.useEffect)(()=>{if(Lt)if(Or==null)Lt.setValue(""),dr("");else{const En=window.scrollY||window.pageYOffset;Or!==Lt.getValue()&&(Lt.setValue(Or),dr(Or),Lt.setCursor(Yt?1:Lt.lineCount(),0),window.scrollTo(0,En))}},[Lt,Or]);const Dn=(0,Re.useCallback)(En=>{const An=Lt.getCursor(),an=Lt.getSelection();let sn=an.split(`
`);switch(En){case"bold":return Lt.replaceSelection("**"+an+"**"),an===""&&Lt.setCursor(An.line,An.ch+2),Lt.focus();case"italic":return Lt.replaceSelection("*"+an+"*"),an===""&&Lt.setCursor(An.line,An.ch+1),Lt.focus();case"code":return Lt.replaceSelection("`"+an+"`"),an===""&&Lt.setCursor(An.line,An.ch+1),Lt.focus();case"inline-latex":return Zr("inline-latex"),Lt.focus();case"latex":return Lt.replaceSelection("```latex\n"+an+"\n```"),Lt.setCursor(An.line+1,an.length+1),Lt.focus();case"line-break":return Lt.replaceSelection(`<br/>
`),Lt.focus();case"list-ul":return an===""?Lt.replaceSelection("- "+an):Lt.replaceSelection(sn.map(ni=>ni===""?"":`- ${ni}`).join(`
`)),Lt.focus();case"list-ol":return an===""?Lt.replaceSelection("1. "+an):Lt.replaceSelection(sn.map((ni,wi)=>ni===""?"":`${wi+1}. ${ni}`).join(`
`)),Lt.focus();case"add-null-ch":xr==null||xr();return;case"add-signal":return an===""&&Lt.setCursor(An.line,An.ch),Lt.replaceSelection(Fn),Lt.focus();case"add-multiple":return an===""&&Lt.setCursor(An.line,An.ch),Lt.replaceSelection(Yr),Lt.focus();case"inster-template-1":return an===""&&Lt.setCursor(An.line,An.ch),Lt.replaceSelection(vn),Lt.focus();case"eraser":return Lt.setValue(""),Lt.focus();case"trigger-watch":return pr(!lr),Lt.focus();case"trigger-full-screen":return Ar(!fr),Lt.focus();case _t:Zr(_t);return;case Ft:Zr(Ft);return;case Mt:Zr(Mt);return;case St:Zr(St);return;case"maths-latex":Zr("maths-latex");return;case ft:In.current="",sessionStorage.removeItem("file_id"),Zr(ft);return;case Zt:Zr(Zt);return;default:throw new Error}},[Lt,lr,fr]),_n=(0,Re.useCallback)((En,An)=>{var an,sn,ni,wi,Si,Ai;Zr("");const{src:vi,alt:Ii,id:Ki}=En||{};switch(Rr){case _t:const{title:Pi,link:mi}=En;return Lt.replaceSelection(`[${Pi}](${mi})`),Lt.focus();case Ft:const{language:ki,content:Er}=En;return Lt.replaceSelection(["```"+ki,Er,"```"].join(`
`)),Lt.focus();case"maths-latex":for(var Ui=atob(En),$i=new Uint8Array(Ui.length),li=0;li<Ui.length;li++)$i[li]=Ui.charCodeAt(li);var fi=new Blob([$i],{type:"image/png"});(0,et.I)(fi,Cn=>{Cn.id?Lt.replaceSelection(`![,](/api/attachments/${Cn.id}?type=${Cn.content_type})`):(Cn==null?void 0:Cn.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Lt.replaceSelection("`$$"+En+"$$`");break;case Nt:if(!Ki)return;Lt.focus(),Lt.getValue().indexOf(vi)===-1?Lt.replaceSelection(`<center><img id="${Ki}" width="80%" src="${vi}" class="draw-flowchart" alt="${Ii||""}" /></center>`):document.getElementById(Ki).src=He.Z.API_SERVER+vi+"?t="+Date.now();try{setTimeout(()=>{Dr(Lt.getValue())},100)}catch(Cn){}break;case Mt:case St:const br=An,mr=(ni=(sn=(an=br==null?void 0:br.name)==null?void 0:an.split("."))==null?void 0:sn.pop)==null?void 0:ni.call(sn);return((wi=br==null?void 0:br.type)==null?void 0:wi.indexOf("image"))>-1||!(br!=null&&br.type)?br!=null&&br.align||br!=null&&br.width?Lt.replaceSelection(`<p style="text-align:${br.align||"initial"}"><img width="${br.width?br.width+"%":"initial"}" src="${vi}" alt="${Ii||""}" /></p>`):Lt.replaceSelection(`<img width="100%" src="${vi}" alt="${Ii||""}" />`):((Si=br==null?void 0:br.type)==null?void 0:Si.indexOf("video"))>-1?Lt.replaceSelection(`<video width="100%" controls src="${vi}"></video>`):((Ai=br==null?void 0:br.type)==null?void 0:Ai.indexOf("pdf"))>-1?Lt.replaceSelection(`<a href="${vi}?type=${br.type}&disposition=inline" target="_blank">${br.name}</a>`):Tn.includes(mr)?Lt.replaceSelection(`<a href="${vi}?type=office&disposition=inline" target="_blank">${br.name}</a>`):Lt.replaceSelection(`[${br.name}](${vi})`),Lt.focus();case Zt:const{row:jr,col:en,align:tn}=En;let _r=`
`;for(let Cn=0;Cn<jr;Cn++){let Gn=[],si=[];for(let Yn=0;Yn<en;Yn++)Cn===1&&si.push(yr[tn]),Gn.push(" ");Cn===1&&(_r+=`| ${si.join(" | ")} |
`),_r+=`| ${Gn.join(en===1?"":" | ")} |
`}return Lt.replaceSelection(_r+`
`),Lt.focus();default:throw new Error}},[Lt,Rr]),ci=(0,Re.useMemo)(()=>{switch(Rr){case _t:return Re.createElement(dt,{callback:_n,onCancel:hn});case Ft:return Re.createElement(at.Z,{callback:_n,onCancel:hn});case Mt:return Re.createElement(et.Z,{callback:_n,onCancel:hn});case ft:return Re.createElement(ze,{editImgId:In.current,callback:_n,onCancel:hn});case Zt:return Re.createElement(Je,{callback:_n,onCancel:hn});case"maths-latex":return Re.createElement(Vt,{showSaveButton:!0,callback:_n});case"inline-latex":return Re.createElement(kt.Z,{showSaveButton:!0,callback:_n});default:return null}},[Rr]);function hn(){Zr("")}(0,Re.useEffect)(()=>{if(Hr.current){let En=function(Si){ni=!0,wi=Si.pageY},An=function(){ni=!1},an=function(Si){if(ni){let Ai=Si.pageY-wi;Ai<0&&(Ai=0),Ai>300&&(Ai=300);let vi=wr+Ai+"px";pn(vi)}},sn=Hr.current,ni=!1,wi=0;return sn.addEventListener("mousedown",En),document.addEventListener("mousemove",an),document.addEventListener("mouseup",An),()=>{sn.removeEventListener("mousedown",En),document.removeEventListener("mousemove",an),document.removeEventListener("mouseup",An)}}},[Lt,Hr]),(0,Re.useEffect)(()=>{pn(wr)},[wr]);const kn=qr(Tr),Vn=qr(dn),$n={width:kn,height:Vn},Ci=(0,Re.useMemo)(()=>{if(Qr){let En=new Date(Qr),An=En.getHours(),an=En.getMinutes(),sn=En.getSeconds();return An=An<10?"0"+An:An,an=an<10?"0"+an:an,sn=sn<10?"0"+sn:sn,`${An}:${an}:${sn}`}return 0},[Qr]),Ei=En=>{const An=[];if(er){let an=-1;En=En.replace(/(@▁▁@|@▁@)/g,function(sn,ni,wi){An.push({multiLine:sn!==Fn})})}return An};function gi(){window.sessionStorage.removeItem(At),yn(!1),nn(0)}function di(){yn(!1),nn(0),Lt.setValue(window.sessionStorage.getItem(At))}(0,Re.useEffect)(()=>{Nr[Rr]&&Rr!==St&&Rr!==ft&&setTimeout(()=>{const En=document.getElementsByClassName("markdown-popup-form")[0],An=window.innerWidth/2-En.offsetWidth/2,an=window.innerHeight/2-En.offsetHeight/2;gn(An),Ln(an)},0)},[Rr]);const Oi=En=>{En.preventDefault();const An=En.clientX-Sn,an=En.clientY-Jr;document.body.onmousemove=sn=>{let ni=sn.clientX-An,wi=sn.clientY-an;const Si=document.getElementsByClassName("markdown-popup-form")[0],Ai=window.innerWidth-Si.offsetWidth,vi=window.innerHeight-Si.offsetHeight;ni=Math.max(0,Math.min(ni,Ai)),wi=Math.max(0,Math.min(wi,vi)),Di(sn.clientX,sn.clientY,An,an)&&(gn(ni),Ln(wi))},document.body.onmouseup=function(){document.body.onmousemove=null}},Di=(En,An,an,sn)=>{const ni=document.body.clientHeight,wi=document.body.clientWidth;return En<20&&an>En||En>wi-20&&an<En||An<20&&sn>An||An>ni-20&&sn<An?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return Re.createElement(Re.Fragment,null,Re.createElement("div",{className:"markdown-editor-wrapper",ref:fn},Re.createElement("div",{className:`markdown-editor-container ${vr} ${lr?"on-preview":""} ${Xr?"mini":""} ${fr?"full-screen":""}`,style:$n},Re.createElement(Me,{insertTemp:It,watch:lr,fullScreen:fr,showNullButton:ir,showNullProgramButton:er,onActionCallback:Dn,hidetoolBar:hr,extraUse:Qt}),Re.createElement("div",{className:"markdown-editor-body"},Re.createElement("div",{className:"codemirror-container"},Re.createElement("textarea",{ref:Zn,placeholder:rr})),lr?Re.createElement("div",{ref:Wr,className:"preview-container"},Tt==="stex"&&Re.createElement(te,{value:$t}),Tt!=="stex"&&Re.createElement(me.Z,{edit:!0,disabledFill:Xt,showProgramFill:er,value:$t,openEditor:En=>{var An;In.current=En,(An=bn.current)==null||An.setHeight("100vh"),setTimeout(()=>{Zr("add-flowchart")},150)}})):null))),zt?Re.createElement("a",{ref:Hr,className:"editor-resize"}):null,Rr===St&&Re.createElement(Bt,{callback:_n,onCancel:hn}),Rr===ft&&Re.createElement(ze,{ref:bn,editImgId:In.current,callback:_n,onCancel:hn}),Re.createElement(Oe.Z,null,Nr[Rr]&&Rr!==St&&Rr!==ft?Re.createElement(qe.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Sn,top:Jr},title:Re.createElement("div",{style:{cursor:"move"},onMouseDown:Oi},Nr[Rr]),open:!0,onCancel:hn,footer:null,destroyOnClose:!0,width:Rr===ft?"1200px":null,height:Rr===ft?"80vh":null,className:"markdown-popup-form"},ci):null))}},58448:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return _e},I:function(){return Oe}});var Re=ke(78241),vt=ke(8591),x=ke(92832),De=ke(81327),ve=ke(5871),re=ke(5112),ne=ke(3113),ie=ke(79090),oe=ke(59301),le=ke(7544),me=ke(59301),te=Object.defineProperty,ae=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Se=(Ce,Ne,je)=>Ne in Ce?te(Ce,Ne,{enumerable:!0,configurable:!0,writable:!0,value:je}):Ce[Ne]=je,xe=(Ce,Ne)=>{for(var je in Ne||(Ne={}))he.call(Ne,je)&&Se(Ce,je,Ne[je]);if(de)for(var je of de(Ne))we.call(Ne,je)&&Se(Ce,je,Ne[je]);return Ce},ye=(Ce,Ne)=>ae(Ce,ue(Ne));const{useForm:Ae}=Re.default,Le={width:280,marginRight:10},Ee={labelCol:{span:5},wrapperCol:{span:19}};var _e=({callback:Ce,onCancel:Ne})=>{const[je]=Ae();let Ze=(0,oe.useRef)();function Pe(tt){Ze.current.width=je.getFieldValue("width"),Ze.current.align=je.getFieldValue("align"),Ce(tt,Ze.current)}function Ue(tt,ot){if(tt.status===-1){vt.ZP.error(tt.message);return}je.setFieldsValue({src:`/api/attachments/${tt.id}`,type:ot.type})}function Qe(tt){let ot=tt.target.files[0];Ze.current=ot,Oe(ot,Ue)}return me.createElement(Re.default,ye(xe({form:je},Ee),{className:"upload-image-panel",onFinish:Pe,style:{width:470,overflow:"hidden"}}),me.createElement(Re.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},me.createElement("div",{className:"flex-container"},me.createElement(Re.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},me.createElement(x.default,{style:Le})),me.createElement(Me,{onFileChange:Qe}))),me.createElement(Re.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},me.createElement(x.default,{style:{width:264}})),me.createElement(Re.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},me.createElement(De.Z,null,me.createElement(Re.default.Item,{name:"width",style:{margin:0}},me.createElement(ve.Z,{style:{width:264}})),me.createElement("span",{className:"ml8"},"%"))),me.createElement(Re.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},me.createElement(re.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"}]})),me.createElement("aside",null,me.createElement(Re.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},me.createElement(ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),me.createElement(ne.ZP,{type:"default",onClick:Ne},"\u53D6\u6D88"))))};function Me({onFileChange:Ce}){return me.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",me.createElement("input",{type:"file",onChange:Ce}))}function Oe(Ce,Ne){if(!Ce)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,le.bg)())throw vt.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let je=new FormData;je.append("editormd-image-file",Ce),je.append("file_param_name","editormd-image-file"),je.append("byxhr","true");var Ze=new window.XMLHttpRequest;Ze.withCredentials=!0,Ze.addEventListener("load",function(Pe){Ne(JSON.parse(Pe.target.responseText),Ce)},!1),Ze.addEventListener("error",function(Pe){console.error(Pe)},!1),Ze.open("POST",`${ie.KI}/api/attachments.json`),Ze.send(je)}},53531:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return x}});var Re=ke(59301),vt=ke(4676);class x extends Re.Component{constructor(ve){super(ve);const re=window.document;this.node=re.createElement("div"),re.body.appendChild(this.node)}render(){const{children:ve}=this.props;return(0,vt.createPortal)(ve,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},24821:function(sr,Wt,ke){"use strict";var Re=ke(4151),vt=ke(57809),x=ke(78673),De=ke(59301);const ve=vt.default.Option;Wt.Z=({isTheoretical:re,onFontSizeChange:ne,cmFontSize:ie,cmCodeMode:oe,autoFormat:le,onCodeModeChange:me,onTabToSpace:te,onAutoFormat:ae,formatDocument:ue,className:de="",tabToSpace:he,children:we,code_editor:Se,challenge:xe,shixun_environment_id:ye,shixun_environments:Ae})=>{var Le;const Ee={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"},_e=(Le=Ae==null?void 0:Ae.find(Me=>Me.shixun_environment_id===ye))==null?void 0:Le.program_language;return De.createElement("div",{className:`tpi-code-setting ${de}`},De.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),De.createElement("section",null,De.createElement("div",{className:"file-item"},De.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),De.createElement(vt.default,{bordered:!1,size:"small",value:oe,onChange:me},De.createElement(ve,{value:"vs"},"\u767D\u8272\u80CC\u666F"),De.createElement(ve,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!re&&De.createElement(De.Fragment,null,De.createElement("div",{className:"file-item"},De.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),De.createElement(vt.default,{bordered:!1,size:"small",value:ie,onChange:ne},De.createElement(ve,{value:12},"12px"),De.createElement(ve,{value:14},"14px"),De.createElement(ve,{value:16},"16px"),De.createElement(ve,{value:18},"18px"),De.createElement(ve,{value:20},"20px"),De.createElement(ve,{value:22},"22px"))),De.createElement("div",{className:"file-item"},De.createElement("b",null,"Tab\u8F6C\u6362"),De.createElement(x.Z,{checked:he,onChange:te})),De.createElement("div",{className:"file-item",onClick:ue},De.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!re&&De.createElement(De.Fragment,null,De.createElement("h3",null,"\u5FEB\u6377\u952E"),De.createElement("section",null,De.createElement("div",{className:"file-item"},De.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),De.createElement("span",null,"Ctrl + S")),De.createElement("div",{className:"file-item"},De.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),De.createElement("span",null,"F1 / Alt + F1")),De.createElement("div",{className:"file-item"},De.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),De.createElement("span",null,"Ctrl + ]/[")),De.createElement("div",{className:"file-item"},De.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),De.createElement("span",null,"Ctrl + Shift + \\")),De.createElement("div",{className:"file-item"},De.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),De.createElement("span",null,"Home")),De.createElement("div",{className:"file-item"},De.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),De.createElement("span",null,"End"))),we),!re&&De.createElement(De.Fragment,null,De.createElement("h3",null,"\u5FEB\u6377\u952E"),De.createElement("section",null,_e&&De.createElement("div",{className:"file-item"},De.createElement("b",null,"\u7F16\u7A0B\u8BED\u8A00"),De.createElement("span",null,_e)),De.createElement("div",{className:"file-item"},De.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),De.createElement("span",null,Ee[xe==null?void 0:xe.difficulty])),De.createElement("div",{className:"file-item"},De.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),De.createElement("span",null,Se==null?void 0:Se.name)),De.createElement("div",{className:"file-item"},De.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),De.createElement("span",null,Se!=null&&Se.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},26073:function(sr,Wt,ke){"use strict";ke.d(Wt,{i:function(){return Ee},Z:function(){return Me}});var Re={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"},vt=ke(71418),x=ke(6848),De=ke(93948),ve=ke(92310),re=ke.n(ve),ne=ke(25544),ie=ke(18540),oe=ke(7544),le=ke(79005),me=ke(20345),te=ke(77882),ae=ke(31081),ue=ke(75309),de=ke(71979),he=ke(47558),we=ke(42922),Se=ke(66832),xe=ke(96593),ye=ke(19664),Ae=ke(91833),Le=ke(59301);const Ee=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:le,swimg:me},{name:"101\u8BA1\u5212",ptimg:te,swimg:ae},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ue,swimg:de},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:he,swimg:we},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Se,swimg:xe},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ye,swimg:Ae}];var Me=({className:Oe,dataSource:Ce=[],col:Ne=4,right:je,bottom:Ze=23,precision:Pe=0,wrapWidth:Ue=1200,trackEventItems:Qe,loading:tt,onRemove:ot=()=>{},isCurrent:lt=!0,showAlias:Ve=!1,showProgress:Ye=!1})=>{const nt=Math.floor((Ue-(Ne-1)*je)/Ne),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(at=>(window.ENV==="build"&&(at.ptimg=`/react/build${at.ptimg}`,at.swimg=`/react/build${at.swimg}`),at));return Le.createElement(vt.Z,{spinning:tt},Le.createElement("div",{className:re()(Re.list,Oe)},!!(Ce!=null&&Ce.length)&&(Ce==null?void 0:Ce.map((at,et)=>{var qe,it,yt,ht,Bt,Et;const{name:st,id:Ge,identifier:We,featured:se,school_name:fe,image_url:ze,excellent:He,is_plan:pe}=at;return Le.createElement("div",{key:Ge,className:lt&&Ye?Re.wrapisCurrent:Re.wrap,style:{width:nt,marginRight:(1+et)%Ne===0?0:je+Pe,marginBottom:Ze}},Le.createElement("a",{className:Re.li,onClick:Be=>{Be.preventDefault(),Be.stopPropagation(),Qe&&(0,ne.L9)([Qe]),(0,ne.xg)(`/paths/${We}`)}},Le.createElement("div",{className:Re.img},Le.createElement("img",{className:Re.cover,src:`${ze}`}),lt&&(0,oe.bg)()&&(at==null?void 0:at.studying)&&Le.createElement("div",{className:`${Re.movebq} user-path-items`,onClick:Be=>{Be.stopPropagation(),ot(at)}},Le.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Le.createElement("span",{className:"c-red"},"\u79FB\u9664")),(qe=at==null?void 0:at.subject_tags)==null?void 0:qe.map((Be,Ke)=>{var Xe,Je;if(Ke===0){const bt=(Xe=dt.find(gt=>gt.name==Be))==null?void 0:Xe.swimg;return Le.createElement("img",{className:Re.sign,src:bt,style:{left:"-4px"}})}const ut=(Je=dt.find(bt=>bt.name==Be))==null?void 0:Je.ptimg;return Le.createElement("img",{className:Re.sign,src:ut,style:{left:`${48+52*(Ke-1)+2*Ke}px`}})}),Le.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(at==null?void 0:at.excellent)&&Le.createElement("div",{className:Re.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Le.createElement("div",{className:Re.name},Le.createElement(x.Z,{title:Ve&&(at!=null&&at.excellent_alias_name)?Le.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${st}`,Le.createElement("br",null),Le.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${at==null?void 0:at.excellent_alias_name}`)):st},Le.createElement("span",{className:Re.e},Ve&&(at==null?void 0:at.excellent_alias_name)||st))),lt&&Ye&&((it=at==null?void 0:at.progress)==null?void 0:it.all_score)!=0&&Le.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Le.createElement(De.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((yt=at==null?void 0:at.progress)==null?void 0:yt.my_score)/((ht=at==null?void 0:at.progress)==null?void 0:ht.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Bt=at==null?void 0:at.progress)==null?void 0:Bt.my_score,"/",(Et=at==null?void 0:at.progress)==null?void 0:Et.all_score),(!lt||!Ye)&&Le.createElement("div",{className:Re.tags},Le.createElement("div",null,Le.createElement(x.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Le.createElement("span",null,Le.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Le.createElement("span",null,at.stages_count))),Le.createElement(x.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Le.createElement("span",null,Le.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Le.createElement("span",null,at.members_count)))))))})),!Ce.length&&Le.createElement(ie.Z,null)))}},23579:function(sr,Wt,ke){"use strict";ke.d(Wt,{jL:function(){return ve},w9:function(){return Nr},vv:function(){return xt},dN:function(){return Tr},QD:function(){return gn},cQ:function(){return Ke.Z},vg:function(){return Tn},Oz:function(){return Br},op:function(){return Gr},O5:function(){return Ei},_b:function(){return Wr},t7:function(){return Ze},tT:function(){return Qe},Gi:function(){return qt},YG:function(){return zt},Ed:function(){return Dr},kT:function(){return er},qp:function(){return we},Um:function(){return Ee},K3:function(){return ye},vr:function(){return Zn},qE:function(){return On},Je:function(){return lt},wb:function(){return Et},rC:function(){return Be},lB:function(){return We},cq:function(){return gr},kO:function(){return Jt},tp:function(){return Oe},Si:function(){return Oi},k8:function(){return ki},Du:function(){return Si}});var Re=ke(59301),vt={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},x="data:image/png;base64,iVB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+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==",ve=({dataSource:Er=[],img:br,imgWidth:mr=346,title:jr,sunTitle:en,bannerExtraContent:tn})=>Re.createElement("div",{className:vt.banner},Re.createElement("div",{className:vt.content},Re.createElement("aside",null,Re.createElement("p",null,Re.createElement("b",null,jr),Re.createElement("span",null,en)),Er.length>0&&Re.createElement("div",{className:vt.btns},Er.map((_r,Cn)=>Re.createElement("div",{key:Cn,onClick:_r.click},_r.name,_r.sign?Re.createElement("img",{src:x,width:39}):null))),tn),br&&Re.createElement("img",{style:{marginTop:33,marginRight:38},src:br,width:mr}))),re={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"},ne=ke(92310),ie=ke.n(ne),oe=ke(78267),le=Object.defineProperty,me=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,ue=(Er,br,mr)=>br in Er?le(Er,br,{enumerable:!0,configurable:!0,writable:!0,value:mr}):Er[br]=mr,de=(Er,br)=>{for(var mr in br||(br={}))te.call(br,mr)&&ue(Er,mr,br[mr]);if(me)for(var mr of me(br))ae.call(br,mr)&&ue(Er,mr,br[mr]);return Er},we=({dataSource:Er=[],value:br,onChange:mr,onTitleChange:jr,className:en,title:tn,titleWidth:_r=41,style:Cn={},fontColor:Gn="#6A7283",showCount:si,classNameActive:Yn,styleItem:xn={}})=>{const[Xn,ei]=(0,Re.useState)(0),[xi,ti]=(0,Re.useState)(!1),qn=(0,Re.useRef)(null),yi=(0,Re.useRef)(null);return(0,Re.useEffect)(()=>{var Li;Er.length!==0&&(((Li=qn==null?void 0:qn.current)==null?void 0:Li.clientHeight)>97?ei(1):ei(0)),Er.length===0&&ei(0),ti(!1)},[Er]),Re.createElement("div",{className:ie()(re.row,en),style:Cn},Re.createElement("div",{onClick:(0,oe.throttle)(()=>jr==null?void 0:jr(),2e3),style:{width:_r,marginTop:xi?12:4},className:`${re.title} ${jr?"current":""}`},tn),Re.createElement("div",{className:xi?`${re.tagsWrap} ${re.tagsBorderWrap}`:re.tagsWrap},Re.createElement("div",{className:re.bar,ref:yi,style:Xn>0?{height:Xn===1?97:"auto",overflow:Xn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},Re.createElement("div",{className:re.tag,ref:qn},Er==null?void 0:Er.map(Li=>Re.createElement("span",{onClick:()=>mr(Li.id),key:Li.id,style:de(de({color:Gn},xn),(Li==null?void 0:Li.style)||{}),className:br===Li.id?ie()(Yn||re.active,Li.classNameActive):""},Re.createElement("span",{title:Li.name,className:re.name},Li.name),!!si&&Re.createElement("span",{className:re.num},Li.count))))),!!Xn&&Re.createElement(Re.Fragment,null,Xn===1?Re.createElement("div",{onClick:()=>{var Li;ei(2),((Li=qn==null?void 0:qn.current)==null?void 0:Li.clientHeight)>245?ti(!0):ti(!1)},className:re.action},"\u5C55\u5F00",Re.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):Re.createElement("div",{onClick:()=>{yi.current.scrollTop=0,ei(1),ti(!1)},className:re.action},"\u6536\u8D77",Re.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"},ye=({dataSource:Er=[],value:br,onChange:mr,onTitleChange:jr,className:en,title:tn,titleWidth:_r=41,style:Cn={},fontColor:Gn="#6A7283",showCount:si,expand:Yn=!0})=>{const[xn,Xn]=(0,Re.useState)(0),[ei,xi]=(0,Re.useState)(!1),ti=(0,Re.useRef)(null),qn=(0,Re.useRef)(null),[yi,Li]=(0,Re.useState)(Yn);return Re.createElement("div",{className:ie()(Se.row,en),style:Cn},Re.createElement("div",{className:"flex item-center justify-between"},Re.createElement("div",{onClick:(0,oe.throttle)(()=>jr==null?void 0:jr(),2e3),style:{width:_r,marginTop:ei?12:4},className:`${Se.title} ${jr?"current":""}`},tn),Re.createElement("i",{className:`iconfont ${yi?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:yi?8:10},onClick:()=>Li(!yi)})),yi&&Re.createElement("div",{className:ei?`${Se.tagsWrap} ${Se.tagsBorderWrap}`:Se.tagsWrap},Re.createElement("div",{className:Se.fenge}),Re.createElement("div",{className:Se.bar,ref:qn},Re.createElement("div",{className:Se.tag,ref:ti},Er==null?void 0:Er.map(Fi=>Re.createElement("span",{onClick:()=>mr(Fi.id),key:Fi.id,style:{color:Gn},className:br===Fi.id?Se.active:""},Re.createElement("span",{title:Fi.name,className:Se.name},Fi.name),!!si&&Re.createElement("span",{className:Se.num},Fi.count)))))))},Ae={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"},Ee=({dataSource:Er=[],value:br,onChange:mr,onTitleChange:jr,className:en,title:tn,titleWidth:_r=41,style:Cn={},fontColor:Gn="#fff",showCount:si,expand:Yn=!0})=>{const[xn,Xn]=(0,Re.useState)(0),[ei,xi]=(0,Re.useState)(!1),ti=(0,Re.useRef)(null),qn=(0,Re.useRef)(null),[yi,Li]=(0,Re.useState)(Yn);return Re.createElement("div",{className:ie()(Ae.row,en),style:Cn},Re.createElement("div",{className:"flex item-center justify-between"},Re.createElement("div",{onClick:(0,oe.throttle)(()=>jr==null?void 0:jr(),2e3),style:{width:_r},className:`${Ae.title} ${jr?"current":""}`},tn),Re.createElement("i",{className:`iconfont ${yi?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:yi?"#00DDC7":"#037F74",fontSize:yi?10:12},onClick:()=>Li(!yi)})),yi&&Re.createElement("div",{className:ei?`${Ae.tagsWrap} ${Ae.tagsBorderWrap}`:Ae.tagsWrap},Re.createElement("div",{className:Ae.bar,ref:qn},Re.createElement("div",{className:Ae.tag,ref:ti},Er==null?void 0:Er.map(Fi=>Re.createElement("span",{onClick:()=>mr(Fi.id),key:Fi.id,style:{color:Gn},className:br===Fi.id?Ae.active:""},Re.createElement("span",{title:Fi.name,className:Ae.name},Fi.name),!!si&&Re.createElement("span",{className:Ae.num},Fi.count)))))))},_e={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"},Oe=({dataSource:Er=[],value:br,onChange:mr,className:jr,style:en={}})=>Re.createElement("div",{style:en,className:ie()(_e.tabs,jr)},Er.map(tn=>Re.createElement("span",{onClick:()=>mr(tn.id),className:br===tn.id?_e.active:"",key:tn.id},tn.name))),Ce={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"},Ne=ke(92832),Ze=({dataSource:Er=[],value:br="",onChange:mr,onInputChange:jr=()=>{},className:en,style:tn={},placeholder:_r,allowClear:Cn=!1})=>{var Gn;const[si,Yn]=(0,Re.useState)(""),[xn,Xn]=(0,Re.useState)("");(0,Re.useEffect)(()=>{var ti;let qn=br;(ti=JSON.stringify(br))!=null&&ti.includes("{")&&(Yn(br.id),qn=br.value||"");try{Xn(decodeURIComponent(qn||""))}catch(yi){Xn(decodeURIComponent(qn||""))}},[br]);const ei=()=>{mr(encodeURIComponent(xn),si||null)},xi=ti=>{ti!==si&&(Yn(ti),mr(encodeURIComponent(xn),ti))};return Re.createElement("div",{className:ie()(Ce.input,en),style:tn},!!Er.length&&Re.createElement("div",{className:Ce.dropdown},Re.createElement("div",{className:Ce.text},(Gn=Er.find(ti=>ti.id===si))==null?void 0:Gn.name,Re.createElement("i",{className:"iconfont icon-zhankai4"}),Re.createElement("b",{className:Ce.b1}),Re.createElement("b",{className:Ce.b2})),Re.createElement("div",{className:Ce.menu},Er.map((ti,qn)=>Re.createElement("div",{key:qn,onClick:()=>xi(ti.id)},ti.name)))),Re.createElement(Ne.default,{onPressEnter:ei,value:xn,onChange:ti=>{Xn(ti.target.value),jr(encodeURIComponent(ti.target.value),si||null)},bordered:!1,placeholder:_r}),Re.createElement("i",{onClick:ei,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Pe={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"},Qe=({dataSource:Er=[],value:br="",onChange:mr,onInputChange:jr=()=>{},className:en,style:tn={},placeholder:_r,allowClear:Cn=!1})=>{var Gn;const[si,Yn]=(0,Re.useState)(""),[xn,Xn]=(0,Re.useState)("");(0,Re.useEffect)(()=>{var ti;let qn=br;(ti=JSON.stringify(br))!=null&&ti.includes("{")&&(Yn(br.id),qn=br.value||"");try{Xn(decodeURIComponent(qn||""))}catch(yi){Xn(decodeURIComponent(qn||""))}},[br]);const ei=()=>{mr(encodeURIComponent(xn),si||null)},xi=ti=>{ti!==si&&(Yn(ti),mr(encodeURIComponent(xn),ti))};return Re.createElement("div",{className:ie()(Pe.input,en),style:tn},!!Er.length&&Re.createElement("div",{className:Pe.dropdown},Re.createElement("div",{className:Pe.text},(Gn=Er.find(ti=>ti.id===si))==null?void 0:Gn.name,Re.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),Re.createElement("div",{className:Pe.menu},Er.map((ti,qn)=>Re.createElement("div",{key:qn,onClick:()=>xi(ti.id)},ti.name)))),Re.createElement(Ne.default,{onPressEnter:ei,value:xn,onChange:ti=>{Xn(ti.target.value),jr(encodeURIComponent(ti.target.value),si||null)},bordered:!1,placeholder:_r}),Re.createElement("i",{onClick:ei,className:"iconfont icon-sousuo9 font14 pl10 current"}))},tt={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"},lt=({value:Er,onChange:br,className:mr,total:jr,pageSize:en,style:tn={}})=>{const _r=Er<2,Cn=Er>=Math.ceil(jr/en);return jr<=en?Re.createElement(Re.Fragment,null):Re.createElement("div",{className:ie()(tt.quickPager,mr),style:tn},Re.createElement("div",{onClick:()=>{_r||br(Er-1,"prev")},className:_r?tt.disabled:""},"\u4E0A\u4E00\u9875"),Re.createElement("div",{onClick:()=>{Cn||br(Er+1,"next")},className:Cn?tt.disabled:""},"\u4E0B\u4E00\u9875"))},Ve={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"},Ye=ke(71418),nt=ke(6848),dt=ke(13570),at=ke(6521),et=ke(25544),qe=ke(96908),it=ke(57177),yt=ke(81378),ht=ke(18540),Et=({className:Er,dataSource:br=[],col:mr=4,right:jr,bottom:en=23,precision:tn=0,wrapWidth:_r=1200,trackEventItems:Cn,loading:Gn})=>{const si=Math.floor((_r-(mr-1)*jr)/mr);return Re.createElement(Ye.Z,{spinning:Gn},Re.createElement("div",{className:ie()(Ve.list,Er)},!!br.length&&br.map((Yn,xn)=>{const{name:Xn,id:ei,identifier:xi,power:ti,cover_image_id:qn,pic:yi}=Yn;return Re.createElement("div",{className:Ve.wrap,key:ei,style:{width:si,marginRight:(1+xn)%mr===0?0:jr+tn,marginBottom:en}},Re.createElement("a",{target:"_blank",href:`/shixuns/${xi}/challenges`,className:Ve.li,onClick:Li=>{Li.preventDefault(),Cn&&(0,et.L9)([Cn]),ti&&(0,et.xg)(`/shixuns/${xi}/challenges`)}},Re.createElement("div",{className:Ve.img},Re.createElement("img",{className:Ve.cover,src:`${yi}`}),Yn.is_jupyter&&Re.createElement("img",{className:Ve.sign,src:qe}),Yn.is_jupyter_lab&&Re.createElement("img",{className:Ve.sign,src:it}),Yn.is_unity_3d&&Re.createElement("img",{className:Ve.sign,src:yt})),Re.createElement("div",{className:Ve.name},Re.createElement(nt.Z,{title:Xn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},Re.createElement("span",{className:Ve.e},Xn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),Re.createElement("div",{className:Ve.tags},Re.createElement(nt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},Re.createElement("span",null,Re.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),Re.createElement("span",null,Yn.challenges_count))),!!Yn.myshixuns_count&&Re.createElement(nt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Re.createElement("span",null,Re.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),Re.createElement("span",null,Yn.myshixuns_count))),Re.createElement(nt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},Re.createElement("span",null,Re.createElement("span",null,Yn.level))),Re.createElement("div",{className:Ve.rate},Re.createElement(dt.Z,{allowHalf:!0,disabled:!0,defaultValue:Yn.score_info}),Re.createElement("span",null,"\xA0",Yn.score_info?`${Yn.score_info}\u5206`:"5\u5206")))),!ti&&Re.createElement("div",{className:Ve.lockWrap},Re.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Re.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!br.length&&Re.createElement(ht.Z,null)))},st={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"},We=({className:Er,dataSource:br=[],col:mr=4,right:jr,bottom:en=23,precision:tn=0,wrapWidth:_r=1200,wrapClassName:Cn,trackEventItems:Gn,loading:si})=>{const Yn=Math.floor((_r-(mr-1)*jr)/mr);return Re.createElement(Ye.Z,{spinning:si},Re.createElement("div",{className:ie()(st.list,Er)},!!br.length&&br.map((xn,Xn)=>{const{name:ei,id:xi,identifier:ti,power:qn,cover_image_id:yi,pic:Li}=xn;return Re.createElement("div",{className:ie()(st.wrap,Cn),key:xi,style:{width:Yn,marginRight:(1+Xn)%mr===0?0:jr+tn,marginBottom:en}},Re.createElement("a",{target:"_blank",href:`/shixuns/${ti}/challenges`,className:st.li,onClick:Fi=>{Fi.preventDefault(),Gn&&(0,et.L9)([Gn]),qn&&(0,et.xg)(`/shixuns/${ti}/challenges`)}},Re.createElement("img",{src:ke(47621),className:st.titleBg}),Re.createElement("div",{className:st.name},Re.createElement(nt.Z,{title:ei||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},Re.createElement("span",{className:st.e},ei||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),Re.createElement("div",{style:{padding:"14px",paddingBottom:0}},Re.createElement("div",{className:st.img},Re.createElement("img",{className:st.cover,src:yi?`${at.Z.API_SERVER}/api/attachments/${yi}`:`${at.Z.IMG_SERVER+Li}`}),xn.is_jupyter&&Re.createElement("div",{className:st.bq},"Jupyter"),xn.is_jupyter_lab&&Re.createElement("div",{className:st.bq},"JupyterLab"),xn.is_unity_3d&&Re.createElement("div",{className:st.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),Re.createElement("div",{className:"mt20 flex item-center justify-between"},Re.createElement("div",null,Re.createElement("span",{className:st.text},"\u5B66\u4E60\u4EBA\u6570"),Re.createElement("span",{className:st.value},xn.myshixuns_count)),Re.createElement("div",null,Re.createElement("span",{className:st.text},"\u56F0\u96BE\u7B49\u7EA7"),Re.createElement("span",{className:st.value},xn.level))),Re.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},Re.createElement("div",null,Re.createElement("span",{className:st.text},"\u5173\u5361\u6570"),Re.createElement("span",{className:st.value},xn.challenges_count)),Re.createElement("div",{className:st.rate},Re.createElement(dt.Z,{allowHalf:!0,disabled:!0,defaultValue:xn.score_info}),Re.createElement("span",{className:st.value,style:{color:"#FF9C00"}},"\xA0",xn.score_info?`${xn.score_info}\u5206`:"5\u5206"))))),!qn&&Re.createElement("div",{className:st.lockWrap},Re.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Re.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!br.length&&Re.createElement(ht.Z,null)))},se={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPY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xhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Be=({className:Er,dataSource:br=[],col:mr=4,right:jr,bottom:en=23,precision:tn=0,wrapWidth:_r=1200,trackEventItems:Cn,loading:Gn,wrapClassName:si,imgClassName:Yn})=>{const xn=Math.floor((_r-(mr-1)*jr)/mr);return Re.createElement(Ye.Z,{spinning:Gn},Re.createElement("div",{className:ie()(se.list,Er)},!!br.length&&br.map((Xn,ei)=>{const{name:xi,id:ti,identifier:qn,power:yi,cover_image_id:Li,pic:Fi}=Xn;return Re.createElement("div",{className:ie()(se.wrap,si),key:ti,style:{width:xn,marginRight:(1+ei)%mr===0?0:jr+tn,marginBottom:en}},Re.createElement("a",{target:"_blank",href:`/shixuns/${qn}/challenges`,className:se.li,onClick:ra=>{ra.preventDefault(),Cn&&(0,et.L9)([Cn]),yi&&(0,et.xg)(`/shixuns/${qn}/challenges`)}},Re.createElement("div",{className:ie()(se.img,Yn)},Re.createElement("img",{className:se.cover,src:Li?`${at.Z.API_SERVER}/api/attachments/${Li}`:`${at.Z.IMG_SERVER+Fi}`}),Xn.is_jupyter&&Re.createElement("img",{className:se.sign,src:fe}),Xn.is_jupyter_lab&&Re.createElement("img",{className:se.sign,src:ze}),Xn.is_unity_3d&&Re.createElement("img",{className:se.sign,src:He})),Re.createElement("div",{className:se.name},Re.createElement(nt.Z,{title:xi||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},Re.createElement("span",{className:se.e},xi||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),Re.createElement("div",{className:se.tags},Re.createElement(nt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},Re.createElement("span",null,Re.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),Re.createElement("span",null,Xn.challenges_count))),!!Xn.myshixuns_count&&Re.createElement(nt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Re.createElement("span",null,Re.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),Re.createElement("span",null,Xn.myshixuns_count))),Re.createElement(nt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},Re.createElement("span",null,Re.createElement("span",null,Xn.level))),Re.createElement("div",{className:se.rate},Re.createElement(dt.Z,{allowHalf:!0,disabled:!0,defaultValue:Xn.score_info}),Re.createElement("span",null,"\xA0",Xn.score_info?`${Xn.score_info}\u5206`:"5\u5206")))),!yi&&Re.createElement("div",{className:se.lockWrap},Re.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Re.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!br.length&&Re.createElement(ht.Z,null)))},Ke=ke(26073),Xe={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},Je=ke(79005),ut=ke(20345),bt=ke(77882),gt=ke(31081),Dt=ke(75309),Vt=ke(71979),kt=ke(47558),jt=ke(42922),_t=ke(66832),Mt=ke(96593),ft=ke(19664),St=ke(91833),Nt=Object.defineProperty,Ft=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,yr=(Er,br,mr)=>br in Er?Nt(Er,br,{enumerable:!0,configurable:!0,writable:!0,value:mr}):Er[br]=mr,Sr=(Er,br)=>{for(var mr in br||(br={}))Zt.call(br,mr)&&yr(Er,mr,br[mr]);if(Ft)for(var mr of Ft(br))or.call(br,mr)&&yr(Er,mr,br[mr]);return Er};const Fr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Je,swimg:ut},{name:"101\u8BA1\u5212",ptimg:bt,swimg:gt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Dt,swimg:Vt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:kt,swimg:jt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:_t,swimg:Mt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ft,swimg:St}];var Br=({className:Er,dataSource:br=[],col:mr=4,right:jr,bottom:en=23,precision:tn=0,wrapWidth:_r=1200,trackEventItems:Cn,loading:Gn,wrapClassName:si,imgClassName:Yn,isArrow:xn=!1,imgStyle:Xn={}})=>{const ei=Math.floor((_r-(mr-1)*jr)/mr),[xi,ti]=(0,Re.useState)(),[qn,yi]=(0,Re.useState)(),Li=ra=>ti(ra),Fi=()=>ti(-1);return Re.createElement(Ye.Z,{spinning:Gn},Re.createElement("div",{className:ie()(Xe.list,Er)},!!(br!=null&&br.length)&&(br==null?void 0:br.map((ra,Ea)=>{var Lo;const{name:Za,id:ma,identifier:ca,featured:ho,school_name:Oa,image_url:Va,excellent:Mo,is_plan:po}=ra;return Re.createElement("div",{key:ma,className:ie()(Xe.wrap,si),style:{width:ei,marginRight:(1+Ea)%mr===0?0:jr+tn,marginBottom:en}},Re.createElement("a",{target:"_blank",href:`/paths/${ca}`,className:Xe.li,onClick:ga=>{ga.preventDefault(),Cn&&(0,et.L9)([Cn]),(0,et.xg)(`/paths/${ca}`)}},Re.createElement("img",{src:ke(39057),className:Xe.titleBg}),Re.createElement("div",{className:Xe.name},Re.createElement(nt.Z,{title:Za},Re.createElement("span",{className:Xe.e,style:{color:xn&&xi===Ea?"#145DFF":"#000000"},onMouseEnter:()=>{Li(Ea)},onMouseLeave:Fi},Za))),Re.createElement("div",{style:{padding:"14px",paddingBottom:0}},Re.createElement("div",{className:ie()(Xe.img,Yn)},Re.createElement("img",{className:Xe.cover,style:Sr({},Xn),src:`${at.Z.IMG_SERVER+Va}`}),(Lo=ra==null?void 0:ra.subject_tags)==null?void 0:Lo.map((ga,ua)=>{var Hi,mo;if(ua===0){const so=(Hi=Fr.find(Ri=>Ri.name==ga))==null?void 0:Hi.swimg;return Re.createElement("img",{className:Xe.sign,src:so,style:{left:"-4px"}})}const zo=(mo=Fr.find(so=>so.name==ga))==null?void 0:mo.ptimg;return Re.createElement("img",{className:Xe.sign,src:zo,style:{left:`${48+52*(ua-1)+2*ua}px`}})}),Re.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(ra==null?void 0:ra.excellent)&&Re.createElement("div",{className:Xe.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Re.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},Re.createElement("div",null,Re.createElement("span",{className:Xe.text},"\u7AE0\u8282\u6570"),Re.createElement("span",{className:Xe.value},ra.stages_count)),Re.createElement("div",null,Re.createElement("span",{className:Xe.text},"\u5B66\u4E60\u4EBA\u6570"),Re.createElement("span",{className:Xe.value},ra.members_count))))))})),!br.length&&Re.createElement(ht.Z,null)))},Ur={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"},on=ke(7544),Yr=ke(59301);const Fn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Je,swimg:ut},{name:"101\u8BA1\u5212",ptimg:bt,swimg:gt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Dt,swimg:Vt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:kt,swimg:jt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:_t,swimg:Mt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ft,swimg:St}];var Tn=({className:Er,dataSource:br=[],col:mr=4,right:jr,bottom:en=23,precision:tn=0,wrapWidth:_r=1200,trackEventItems:Cn,loading:Gn,onRemove:si=()=>{},isCurrent:Yn=!0,showAlias:xn=!1,wrapClassName:Xn,imgClassName:ei})=>{const xi=Math.floor((_r-(mr-1)*jr)/mr),ti=[{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(qn=>(window.ENV==="build"&&(qn.ptimg=`/react/build${qn.ptimg}`,qn.swimg=`/react/build${qn.swimg}`),qn));return Yr.createElement(Ye.Z,{spinning:Gn},Yr.createElement("div",{className:ie()(Ur.list,Er)},!!(br!=null&&br.length)&&(br==null?void 0:br.map((qn,yi)=>{var Li;const{name:Fi,id:ra,identifier:Ea,featured:Lo,school_name:Za,image_url:ma,excellent:ca,is_plan:ho}=qn;return Yr.createElement("div",{key:ra,className:ie()(Ur.wrap,Xn),style:{width:xi,marginRight:(1+yi)%mr===0?0:jr+tn,marginBottom:en}},Yr.createElement("a",{className:Ur.li,onClick:Oa=>{Oa.preventDefault(),Oa.stopPropagation(),Cn&&(0,et.L9)([Cn]),(0,et.xg)(`/paths/${Ea}`)}},Yr.createElement("div",{className:ie()(Ur.img,ei)},Yr.createElement("img",{className:Ur.cover,src:`${at.Z.IMG_SERVER+ma}`}),Yn&&(0,on.bg)()&&(qn==null?void 0:qn.studying)&&Yr.createElement("div",{className:`${Ur.movebq} user-path-items`,onClick:Oa=>{Oa.stopPropagation(),si(qn)}},Yr.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Yr.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Li=qn==null?void 0:qn.subject_tags)==null?void 0:Li.map((Oa,Va)=>{var Mo,po;if(Va===0){const ua=(Mo=ti.find(Hi=>Hi.name==Oa))==null?void 0:Mo.swimg;return Yr.createElement("img",{className:Ur.sign,src:ua,style:{left:"-4px"}})}const ga=(po=ti.find(ua=>ua.name==Oa))==null?void 0:po.ptimg;return Yr.createElement("img",{className:Ur.sign,src:ga,style:{left:`${48+52*(Va-1)+2*Va}px`}})}),Yr.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(qn==null?void 0:qn.excellent)&&Yr.createElement("div",{className:Ur.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Yr.createElement("div",{className:Ur.name},Yr.createElement(nt.Z,{title:xn&&(qn!=null&&qn.excellent_alias_name)?Yr.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Fi}`,Yr.createElement("br",null),Yr.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${qn==null?void 0:qn.excellent_alias_name}`)):Fi},Yr.createElement("span",{className:Ur.e},xn&&(qn==null?void 0:qn.excellent_alias_name)||Fi))),Yr.createElement("div",{className:Ur.tags},Yr.createElement("div",null,Yr.createElement(nt.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Yr.createElement("span",null,Yr.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Yr.createElement("span",null,qn.stages_count))),Yr.createElement(nt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Yr.createElement("span",null,Yr.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Yr.createElement("span",null,qn.members_count)))))))})),!br.length&&Yr.createElement(ht.Z,null)))},qr={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"},Un="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlav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3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",un=ke(59301),Nr=({className:Er,dataSource:br=[],col:mr=4,right:jr,bottom:en=23,precision:tn=0,wrapWidth:_r=1200,trackEventItems:Cn,loading:Gn})=>{const si=Math.floor((_r-(mr-1)*jr)/mr);return un.createElement(Ye.Z,{spinning:Gn},un.createElement("div",{className:ie()(qr.list,Er)},!!br.length&&br.map((Yn,xn)=>{const{subject_identifier:Xn,id:ei,identifier:xi,power:ti}=Yn,qn=Yn.is_public!=0&&Yn.is_public;return un.createElement("div",{className:qr.wrap,key:ei,style:{width:si,marginRight:(1+xn)%mr===0?0:jr+tn,marginBottom:en}},un.createElement("a",{className:qr.li,onClick:yi=>{yi.preventDefault(),Cn&&(0,et.L9)([Cn]),(0,et.xg)(Yn.first_category_url)}},un.createElement("div",{className:qr.top},un.createElement(nt.Z,{title:Yn.name},un.createElement("div",{className:qr.name},Yn.name)),un.createElement("img",{className:qr.img,src:at.Z.IMG_SERVER+"/images/"+Yn.avatar_url}),un.createElement("div",{className:qr.text,title:Yn.creator},Yn.creator),Xn&&un.createElement("div",{className:qr.btns},un.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),un.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),qn&&un.createElement("div",{className:qr.sign},"\u516C\u5F00")),un.createElement("div",{className:qr.bottom},Yn.visits>0&&un.createElement(nt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},un.createElement("span",null,un.createElement("i",{className:"iconfont icon-liulanyan"}),un.createElement("span",null,Yn.visits))),Yn.course_members_count>0&&un.createElement(nt.Z,{title:"\u6210\u5458",placement:"bottom"},un.createElement("span",null,un.createElement("i",{className:"iconfont icon-chengyuan"}),Yn.course_members_count)),Yn.tasks_count>0&&un.createElement(nt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},un.createElement("span",null,un.createElement("i",{className:"iconfont icon-zuoye"}),Yn.tasks_count)),Yn.is_end?un.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):un.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Yn.is_accessible&&un.createElement("div",{className:qr.lockWrap},un.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),un.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!br.length&&un.createElement(ht.Z,null)))},Mr={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"},Or="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmE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SakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Tr=({className:Er,dataSource:br=[],col:mr=4,right:jr,bottom:en=23,precision:tn=0,wrapWidth:_r=1200,wrapClassName:Cn,trackEventItems:Gn,loading:si})=>{const Yn=Math.floor((_r-(mr-1)*jr)/mr);return Re.createElement(Ye.Z,{spinning:si},Re.createElement("div",{className:ie()(Mr.list,Er)},!!br.length&&br.map((xn,Xn)=>{const{subject_identifier:ei,id:xi,identifier:ti,power:qn}=xn,yi=xn.is_public!=0&&xn.is_public;return Re.createElement("div",{className:ie()(`${Mr.wrap} ${xn.is_accessible?"":Mr.warpStyle}`,Cn),key:xi,style:{width:Yn,marginRight:(1+Xn)%mr===0?0:jr+tn,marginBottom:en}},Re.createElement("a",{className:Mr.li,onClick:Li=>{Li.preventDefault(),Gn&&(0,et.L9)([Gn]),(0,et.xg)(xn.first_category_url)}},Re.createElement("div",{className:Mr.creator},Re.createElement("img",{className:Mr.img,src:at.Z.IMG_SERVER+"/images/"+xn.avatar_url}),Re.createElement("div",{className:Mr.text,title:xn.creator},xn.creator)),Re.createElement("div",{className:Mr.top},Re.createElement(nt.Z,{title:xn.name},Re.createElement("div",{className:Mr.name},xn.name)),yi&&Re.createElement("div",{className:Mr.sign},"\u516C\u5F00")),Re.createElement("div",{className:Mr.middle},Re.createElement("div",{className:Mr.row,style:{marginBottom:6}},Re.createElement("div",null,Re.createElement("span",{className:Mr.text},"\u8BBF\u95EE\u91CF"),Re.createElement("span",{className:Mr.value},(xn==null?void 0:xn.visits)||0)),Re.createElement("div",null,Re.createElement("span",{className:Mr.text},"\u6210\u5458"),Re.createElement("span",{className:Mr.value},(xn==null?void 0:xn.course_members_count)||0))),Re.createElement("div",{className:Mr.row},Re.createElement("div",null,Re.createElement("span",{className:Mr.text,style:{width:42}},"\u4F5C",Re.createElement("span",{style:{marginLeft:14}},"\u4E1A")),Re.createElement("span",{className:Mr.value},(xn==null?void 0:xn.tasks_count)||0)),Re.createElement("div",null,Re.createElement("span",{className:Mr.text},"\u72B6\u6001"),xn.is_end?Re.createElement("span",{className:Mr.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):Re.createElement("span",{className:Mr.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ei&&Re.createElement("div",{className:Mr.btns},Re.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Re.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!xn.is_accessible&&Re.createElement("div",{className:Mr.lockWrap},Re.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Re.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!br.length&&Re.createElement(ht.Z,null)))},wr={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"},Xr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmW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uQmCC",xt=({className:Er,dataSource:br=[],col:mr=4,right:jr,bottom:en=23,precision:tn=0,wrapWidth:_r=1200,wrapClassName:Cn,trackEventItems:Gn,loading:si})=>{const Yn=Math.floor((_r-(mr-1)*jr)/mr);return Re.createElement(Ye.Z,{spinning:si},Re.createElement("div",{className:ie()(wr.list,Er)},!!br.length&&br.map((xn,Xn)=>{const{subject_identifier:ei,id:xi,identifier:ti,power:qn}=xn,yi=xn.is_public!=0&&xn.is_public;return Re.createElement("div",{className:ie()(`${wr.wrap} ${xn.is_accessible?"":wr.warpStyle}`,Cn),key:xi,style:{width:Yn,marginRight:(1+Xn)%mr===0?0:jr+tn,marginBottom:en}},Re.createElement("a",{className:wr.li,onClick:Li=>{Li.preventDefault(),Gn&&(0,et.L9)([Gn]),(0,et.xg)(xn.first_category_url)}},Re.createElement("div",{className:wr.creator},Re.createElement("img",{className:wr.img,src:at.Z.IMG_SERVER+"/images/"+xn.avatar_url}),Re.createElement("div",{className:wr.text,title:xn.creator},xn.creator)),Re.createElement("div",{className:wr.top},Re.createElement(nt.Z,{title:xn.name},Re.createElement("div",{className:wr.name},xn.name)),yi&&Re.createElement("div",{className:wr.sign})),Re.createElement("div",{className:wr.middle},Re.createElement("div",{className:wr.row,style:{marginBottom:6}},Re.createElement("div",null,Re.createElement("span",{className:wr.text},"\u8BBF\u95EE\u91CF"),Re.createElement("span",{className:wr.value},(xn==null?void 0:xn.visits)||0)),Re.createElement("div",null,Re.createElement("span",{className:wr.text},"\u6210\u5458"),Re.createElement("span",{className:wr.value},(xn==null?void 0:xn.course_members_count)||0))),Re.createElement("div",{className:wr.row},Re.createElement("div",null,Re.createElement("span",{className:wr.text,style:{width:42}},"\u4F5C",Re.createElement("span",{style:{marginLeft:14}},"\u4E1A")),Re.createElement("span",{className:wr.value},(xn==null?void 0:xn.tasks_count)||0)),Re.createElement("div",null,Re.createElement("span",{className:wr.text},"\u72B6\u6001"),xn.is_end?Re.createElement("span",{className:wr.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):Re.createElement("span",{className:wr.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),ei&&Re.createElement("div",{className:wr.btns},Re.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Re.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!xn.is_accessible&&Re.createElement("div",{className:wr.lockWrap},Re.createElement("img",{src:`${at.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Re.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!br.length&&Re.createElement(ht.Z,null)))},It={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Tt=ke(91482),zt=({dataSource:Er=[],value:br,onChange:mr,className:jr,style:en={},tabBarExtraContent:tn})=>Re.createElement("div",{className:ie()(It.tabs,jr),style:en},Re.createElement("div",{className:It.tabsWrap},Er.map((_r,Cn)=>Re.createElement("aside",{className:It.tab,onClick:()=>{mr(_r.id),_r.link&&Tt.history.push(_r.link)},key:Cn},Re.createElement("div",{className:br===_r.id?It.active:""},_r.name),(_r==null?void 0:_r.resetCount)==null&&(_r==null?void 0:_r.total)!==void 0&&Re.createElement("span",null,"\uFF08",_r==null?void 0:_r.total,"\uFF09"),(_r==null?void 0:_r.resetCount)!==void 0&&(_r==null?void 0:_r.total)!==void 0&&Re.createElement(nt.Z,{title:(_r==null?void 0:_r.tip)!=null?_r==null?void 0:_r.tip:""},Re.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Re.createElement("span",{style:{color:"#000"}},_r==null?void 0:_r.resetCount),"/",Re.createElement("span",null,_r==null?void 0:_r.total),"\uFF09"))))),Re.createElement("div",{className:It.tabBar},tn)),Ut={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"},er=({dataSource:Er=[],value:br,onChange:mr,className:jr,style:en={},tabBarExtraContent:tn})=>Re.createElement("div",{className:ie()(Ut.tabs,jr),style:en},Re.createElement("div",{className:Ut.tabsWrap},Er.map((_r,Cn)=>Re.createElement("aside",{className:Ut.tab,onClick:()=>{mr(_r.id),_r.link&&Tt.history.push(_r.link)},key:Cn},Re.createElement("div",{className:br===_r.id?Ut.active:""},_r.name),(_r==null?void 0:_r.resetCount)==null&&(_r==null?void 0:_r.total)!==void 0&&Re.createElement("span",null,"\uFF08",_r==null?void 0:_r.total,"\uFF09"),(_r==null?void 0:_r.resetCount)!==void 0&&(_r==null?void 0:_r.total)!==void 0&&Re.createElement(nt.Z,{title:(_r==null?void 0:_r.tip)!=null?_r==null?void 0:_r.tip:""},Re.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Re.createElement("span",{style:{color:"#000"}},_r==null?void 0:_r.resetCount),"/",Re.createElement("span",null,_r==null?void 0:_r.total),"\uFF09"))))),Re.createElement("div",{className:Ut.tabBar},tn)),hr={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"},Dr=({dataSource:Er=[],value:br,onChange:mr,className:jr,style:en={},tabBarExtraContent:tn})=>Re.createElement("div",{className:ie()(hr.tabs,jr),style:en},Re.createElement("div",{className:hr.tabsWrap},Er.map((_r,Cn)=>Re.createElement("aside",{className:`${hr.tab} ${br===_r.id?hr.active:""}`,onClick:()=>{mr(_r.id),_r.link&&Tt.history.push(_r.link)},key:Cn},Re.createElement("div",null,_r.name),(_r==null?void 0:_r.resetCount)==null&&(_r==null?void 0:_r.total)!==void 0&&Re.createElement("span",null,"\uFF08",_r==null?void 0:_r.total,"\uFF09"),(_r==null?void 0:_r.resetCount)!==void 0&&(_r==null?void 0:_r.total)!==void 0&&Re.createElement(nt.Z,{title:(_r==null?void 0:_r.tip)!=null?_r==null?void 0:_r.tip:""},Re.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Re.createElement("span",{style:{color:"#000"}},_r==null?void 0:_r.resetCount),"/",Re.createElement("span",null,_r==null?void 0:_r.total),"\uFF09"))))),Re.createElement("div",{className:hr.tabBar},tn)),qt=({className:Er,style:br={},children:mr})=>Re.createElement("div",{className:ie()(Er),style:br},mr),vr={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"},Ht=ke(38854),Yt=ke(20834);const Xt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var gr=({sortValue:Er,dropValue:br,className:mr,onSort:jr,onDrop:en,dataSource:tn=Xt})=>{var _r;return Re.createElement("div",{className:ie()(vr.orderWrap,mr)},Re.createElement(Ht.Z,{dropdownRender:()=>Re.createElement(Yt.default,null,tn.map((Cn,Gn)=>Re.createElement(Yt.default.Item,{key:Gn,onClick:()=>en(Cn.id)},Cn.name)))},Re.createElement("span",{className:vr.orderTextWrap},(_r=tn.find(Cn=>br===Cn.id))==null?void 0:_r.name)),Re.createElement("span",{className:vr.orderIconWrap},Re.createElement("span",{className:vr.orderAsc},Re.createElement("i",{className:Er==="asc"?`iconfont icon-sanjiaoxing-up font12 ${vr.cursorPointer} ${vr.active}`:`iconfont icon-sanjiaoxing-up font12 ${vr.cursorPointer}`,onClick:()=>jr(Er==="asc"?"desc":"asc")})),Re.createElement("span",{className:vr.orderDesc},Re.createElement("i",{className:Er==="desc"?`iconfont icon-sanjiaoxing-down font12 ${vr.cursorPointer} ${vr.active}`:`iconfont icon-sanjiaoxing-down font12 ${vr.cursorPointer}`,onClick:()=>jr(Er==="asc"?"desc":"asc")}))))},Qt={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 xr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Jt=({sortValue:Er,dropValue:br,className:mr,onSort:jr,onDrop:en,dataSource:tn=xr})=>{var _r;return Re.createElement("div",{className:ie()(Qt.orderWrap,mr)},Re.createElement(Ht.Z,{dropdownRender:()=>Re.createElement(Yt.default,null,tn.map((Cn,Gn)=>Re.createElement(Yt.default.Item,{key:Gn,onClick:()=>en(Cn.id)},Cn.name)))},Re.createElement("span",{className:Qt.orderTextWrap},(_r=tn.find(Cn=>br===Cn.id))==null?void 0:_r.name)),Re.createElement("span",{className:Qt.orderIconWrap},Re.createElement("span",{className:Qt.orderAsc},Re.createElement("i",{className:Er==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Qt.cursorPointer} ${Qt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Qt.cursorPointer}`,onClick:()=>jr(Er==="asc"?"desc":"asc")})),Re.createElement("span",{className:Qt.orderDesc},Re.createElement("i",{className:Er==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Qt.cursorPointer} ${Qt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Qt.cursorPointer}`,onClick:()=>jr(Er==="asc"?"desc":"asc")}))))},$t={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"},dr=ke(3113),lr=ke(29715),pr=Object.defineProperty,fr=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,Zr=(Er,br,mr)=>br in Er?pr(Er,br,{enumerable:!0,configurable:!0,writable:!0,value:mr}):Er[br]=mr,Qr=(Er,br)=>{for(var mr in br||(br={}))Ar.call(br,mr)&&Zr(Er,mr,br[mr]);if(fr)for(var mr of fr(br))Rr.call(br,mr)&&Zr(Er,mr,br[mr]);return Er},nn=(Er,br)=>{var mr={};for(var jr in Er)Ar.call(Er,jr)&&br.indexOf(jr)<0&&(mr[jr]=Er[jr]);if(Er!=null&&fr)for(var jr of fr(Er))br.indexOf(jr)<0&&Rr.call(Er,jr)&&(mr[jr]=Er[jr]);return mr},dn=(Er,br,mr)=>new Promise((jr,en)=>{var tn=Gn=>{try{Cn(mr.next(Gn))}catch(si){en(si)}},_r=Gn=>{try{Cn(mr.throw(Gn))}catch(si){en(si)}},Cn=Gn=>Gn.done?jr(Gn.value):Promise.resolve(Gn.value).then(tn,_r);Cn((mr=mr.apply(Er,br)).next())}),Gr=Er=>{var br=Er,{className:mr,style:jr,children:en,loading:tn=!1,openLoading:_r,onClick:Cn=()=>{},size:Gn="middle",shape:si="round",theme:Yn}=br,xn=nn(br,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Xn,ei]=(0,Re.useState)(!1),xi=(0,Re.useMemo)(()=>{switch(Yn){case lr.Fy.THEMEONE:return $t.ThemeOne;case lr.Fy.DEFAULT:default:return $t.btn}},[Yn]);return Re.createElement(dr.ZP,Qr({onClick:(0,oe.throttle)(ti=>dn(void 0,null,function*(){_r&&ei(!0);try{yield Cn(ti)}catch(qn){console.log("error",qn)}_r&&ei(!1)}),2e3,{leading:!0,trailing:!1}),className:ie()(xi,$t[`${Gn}-${si}`],mr),style:jr,size:Gn,shape:si,loading:Xn||tn},xn),en)},yn={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"},On=({className:Er,style:br,children:mr=null,onClick:jr,title:en})=>Re.createElement("div",{className:ie()(yn.head,Er),style:br},Re.createElement("span",{className:"primary-hover",onClick:jr},Re.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),Re.createElement("b",{title:en},en),Re.createElement("div",{className:yn.node},mr)),cn={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},gn=({confirmShow:Er=!0,confirmTitle:br,confirmClick:mr,cancelShow:jr=!0,cancelTitle:en,cancelClick:tn,className:_r,style:Cn,confirmLoading:Gn=!1})=>Re.createElement("div",{className:ie()(cn.btns,_r),style:Cn},Er&&Re.createElement(dr.ZP,{loading:Gn,onClick:mr,type:"primary",className:cn.confirm},br),jr&&Re.createElement(dr.ZP,{onClick:tn,className:cn.cancel},en)),Jr={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"},Zn=({className:Er,style:br={},LeftContent:mr,children:jr,RightContent:en})=>Re.createElement("div",{className:ie()(Jr.fixedBottom,Er),style:br},Re.createElement("div",{className:Jr.wrap},Re.createElement("div",{className:Jr.left},mr),Re.createElement("div",{className:Jr.center},jr),Re.createElement("div",{className:Jr.right},en))),fn={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"},Wr=({className:Er,style:br={},dataSource:mr=[]})=>Re.createElement("div",{className:ie()(fn.crumbs,Er),style:br},mr.map((jr,en)=>en<mr.length-1?Re.createElement(Re.Fragment,{key:en},jr.path||jr.onClick?Re.createElement("span",{className:fn.hover,onClick:jr!=null&&jr.onClick?jr.onClick:()=>Tt.history.push(jr.path)},jr.name):Re.createElement("span",null,jr.name),Re.createElement("span",null,"\xA0",">","\xA0")):Re.createElement("span",{key:en,style:{color:"#5F6368"}},jr.name))),In=ke(31797),bn=Object.defineProperty,Nn=Object.defineProperties,Hn=Object.getOwnPropertyDescriptors,zn=Object.getOwnPropertySymbols,Dn=Object.prototype.hasOwnProperty,_n=Object.prototype.propertyIsEnumerable,ci=(Er,br,mr)=>br in Er?bn(Er,br,{enumerable:!0,configurable:!0,writable:!0,value:mr}):Er[br]=mr,hn=(Er,br)=>{for(var mr in br||(br={}))Dn.call(br,mr)&&ci(Er,mr,br[mr]);if(zn)for(var mr of zn(br))_n.call(br,mr)&&ci(Er,mr,br[mr]);return Er},kn=(Er,br)=>Nn(Er,Hn(br)),Vn=(Er,br)=>{var mr={};for(var jr in Er)Dn.call(Er,jr)&&br.indexOf(jr)<0&&(mr[jr]=Er[jr]);if(Er!=null&&zn)for(var jr of zn(Er))br.indexOf(jr)<0&&_n.call(Er,jr)&&(mr[jr]=Er[jr]);return mr};const{Countdown:$n}=In.default;var Ei=Er=>{var br=Er,{onChange:mr}=br,jr=Vn(br,["onChange"]);const[en,tn]=(0,Re.useState)(null);(0,Re.useEffect)(()=>{typeof en=="number"&&en>=0&&mr(en)},[en]);const _r=Cn=>{const Gn=Math.floor(Cn/1e3);tn(Gn)};return Re.createElement($n,kn(hn({},jr),{onChange:_r}))},gi={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Oi=({DataProps:Er,className:br,style:mr={}})=>{var jr;return Re.createElement("div",{className:ie()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",gi.ClassRoomItem,br),style:mr,onClick:()=>{(0,et.xg)(Er==null?void 0:Er.first_category_url)}},Re.createElement("div",{className:"flex flex-col item-center"},Re.createElement("img",{src:`${(jr=at.Z)==null?void 0:jr.IMG_SERVER}/images/${Er==null?void 0:Er.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Er==null?void 0:Er.subject_identifier)&&Re.createElement("div",{className:"mt-40px"},Re.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),Re.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),Re.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},Re.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Er!=null&&Er.is_public)&&Re.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"),Re.createElement("span",{className:ie()("text-16px font-medium",gi.TitleDom)},Er==null?void 0:Er.name)),Re.createElement("div",{className:"c-grey-333 font-medium"},Er==null?void 0:Er.creator),Re.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Er==null?void 0:Er.course_members_count),Re.createElement("div",{className:"c-grey-333 flex item-center justify-between"},Re.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Er==null?void 0:Er.tasks_count),Er!=null&&Er.is_end?Re.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):Re.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Di=Object.defineProperty,En=Object.getOwnPropertySymbols,An=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,sn=(Er,br,mr)=>br in Er?Di(Er,br,{enumerable:!0,configurable:!0,writable:!0,value:mr}):Er[br]=mr,ni=(Er,br)=>{for(var mr in br||(br={}))An.call(br,mr)&&sn(Er,mr,br[mr]);if(En)for(var mr of En(br))an.call(br,mr)&&sn(Er,mr,br[mr]);return Er},Si=({DataProps:Er=[],selectValue:br,onChange:mr,className:jr,style:en={},extra:tn,classNameItem:_r,styleItem:Cn={},barHidden:Gn})=>{const[si,Yn]=(0,Re.useState)();return(0,Re.useEffect)(()=>{Yn(Array.isArray(br)?br:[br])},[br]),Re.createElement("div",{className:ie()("flex px-20px py-10px gap-40px",jr),style:ni({borderBottom:"1px solid #D3F0FF"},en)},Er==null?void 0:Er.map(xn=>Re.createElement("div",{key:xn==null?void 0:xn.id,className:ie()("flex item-center justify-center current c-grey-333 text-16 relative",_r,xn==null?void 0:xn.className),style:ni(ni({color:si!=null&&si.includes(xn==null?void 0:xn.id)?"#1890FF":"",minWidth:88},Cn),(xn==null?void 0:xn.style)||{}),onClick:Xn=>{mr==null||mr({domEvent:Xn,item:xn}),xn!=null&&xn.link&&Tt.history.push(xn==null?void 0:xn.link)}},xn==null?void 0:xn.name,!Gn&&(si==null?void 0:si.includes(xn==null?void 0:xn.id))&&Re.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),Re.createElement("div",{className:"ml-auto"},tn))},Ai=Object.defineProperty,vi=Object.defineProperties,Ii=Object.getOwnPropertyDescriptors,Ki=Object.getOwnPropertySymbols,Ui=Object.prototype.hasOwnProperty,$i=Object.prototype.propertyIsEnumerable,li=(Er,br,mr)=>br in Er?Ai(Er,br,{enumerable:!0,configurable:!0,writable:!0,value:mr}):Er[br]=mr,fi=(Er,br)=>{for(var mr in br||(br={}))Ui.call(br,mr)&&li(Er,mr,br[mr]);if(Ki)for(var mr of Ki(br))$i.call(br,mr)&&li(Er,mr,br[mr]);return Er},Pi=(Er,br)=>vi(Er,Ii(br)),ki=({value:Er,onChange:br,onInputChange:mr,className:jr,style:en={},InputProps:tn})=>{const[_r,Cn]=(0,Re.useState)(Er);return Re.createElement("div",{className:ie()("flex item-center rounded-full px-10px py-2px",jr),style:fi({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},en)},Re.createElement(Ne.default,Pi(fi({bordered:!1},tn),{onChange:Gn=>{Cn(Gn.target.value),mr==null||mr(encodeURIComponent(Gn.target.value))},onPressEnter:Gn=>{br==null||br({domEvent:Gn,item:{value:_r}})}})),Re.createElement("img",{className:"h-22px current",src:ke(25365),height:22,onClick:Gn=>{br==null||br({domEvent:Gn,item:{value:_r}})}}))}},57649:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return vt}});var Re=ke(59301);function vt(x,De){const ve=(0,Re.useRef)();(0,Re.useEffect)(()=>{ve.current=x}),(0,Re.useEffect)(()=>{function re(){ve.current()}if(De!==null){let ne=setInterval(re,De);return()=>clearInterval(ne)}},[De])}},63996:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return Ne}});var Re=ke(59301),vt=ke(78241),x=ke(43428),De=ke(43418),ve=ke(8591),re=ke(24905),ne=ke(11488),ie=ke(24821),oe=ke(53531),le=ke(13357),me={"code-panel-container":"code-panel-container___RFtv_","action-oj-bar":"action-oj-bar___ByFmZ",active:"active___s9gT5",tip:"tip___XZhl7"},te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAcCAYAAAAJKR1YAAAAAXNSR0IArs4c6QAAA8pJREFUWEfdl1toHUUYx//f7p7LbnIuSU4bk2JqS3qxbTA9FsQXBamJNMVS8CEPAfGhakQFUaHQh2Kp4IPgBfTBBx9UUHyQGgslscGCIr2QHlpfWg1pktPW0rTunvttdqadTY85yUmTTXJSwe9pZ3dm/r/5f8PMtzQYs96FwEEI0Yj/KojGVUV5Y3dn8DgNnrduV8IQAWtCXty0iggYGmybI1vgiIS8MFNF2Hx1qInoRFc0vIcGR0xRKaEqQGuTH/GpPBqDHjDGkczaWBfxOZAlNqt77eiIznZHw09UAWkqIaCrEKDaiVXNJJDMMPDKtc0HJBE624PwaMoqwkxPnciUcDmemdGZD8irETrbQ6sOIwVKjCM2mvyfAp25VsTjLV7Ml9kEB0gAQXVho2vm0MCfOXwxksbeTTpe3VU/S5UBOJ6afvWMsTBUTYDKMA/Vq/hgdxgRvXrzT5SA03nAtwjUioHcwJTtcgO1IqClwLiFWjYQ48BbQyaumAz7thg4EK1zdSwUBPBzFkhz4DEv8KjMYUUsG0jOkSoIHPrFwpjJ0LujDn0dxoJQEuZUFjA5sN0HdHiru68IaClQbmBqdjBWOtXXUYfeHbOdkvfu8Bxn4qyAj1Pj2KgZ6NEjeETTHbtW7FDZdAl19NcEXuysx7aIVpWLWB7OgVlOk31X/JD1F+IsBxWE/kAbnvSFage02I5mEBhjOWzWZtyT7cPWKDgEfKTgw4atCHDlwdxl54pJfJqcwJFwOzbcS49cxDeZv3EiN+Wsp9dowXPepgcD9GP2Jr7P3kCbpuNoeBPKV9rZYgKfJCccoKf9jXjJ37o4kELT9ZAmy8ZlxnD+H3yZvuqM3m804wWjGb8VLHyVuY4Ml7cdsFdfix6K4NJkekblfhWjz6MgWFe9Wd3ymcTwkTqOcultQEUWcmvPxAF7HYJJDcyuKBkrgBIAgm4F3fQ7bSRwxpDTzh99ZguabM/sj0Qnu6PhZ2loxHpfEN6GEHMOdzfS9+8T01OQYEWq/k1pK/mxP7H238FEZAlQf3c09J1Tyf8eF3ohm1r0kmJ58R5n/DW3qNwvXvmh3hzLodBqonREAOvLY0PQ3nw5//C3sh3YHEjsIirJZ9e/FsPnc+sZCpeX5CTRaNPO0DYptmfy4lMATkEIR5MASzV8bQNrtt4r6aZRXQMNxcyvBUefW3fK/UhRXu/aGfpMtnsmL3wuBPodYcJ1TyC4/VjDBqtyTldAJ/9IN/MiOyYISz4PCOJGV7RhnxR9fupSwM4VBwBMKJrvnZ9at9yau8A7ulgdO7eZq+0AAAAASUVORK5CYII=",ae=ke(78267),ue=ke(23579),de=ke(59301),he=Object.defineProperty,we=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,Le=(Ze,Pe,Ue)=>Pe in Ze?he(Ze,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):Ze[Pe]=Ue,Ee=(Ze,Pe)=>{for(var Ue in Pe||(Pe={}))ye.call(Pe,Ue)&&Le(Ze,Ue,Pe[Ue]);if(xe)for(var Ue of xe(Pe))Ae.call(Pe,Ue)&&Le(Ze,Ue,Pe[Ue]);return Ze},_e=(Ze,Pe)=>we(Ze,Se(Pe));const Me={theme:(0,le.G)("cmCodeMode","vs-dark"),fontSize:(0,le.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,le.G)("cmTabToSpace",!0)};var Oe=(Ze=>(Ze[Ze.set_font_size=0]="set_font_size",Ze[Ze.set_theme=1]="set_theme",Ze[Ze.on_tab_to_space=2]="on_tab_to_space",Ze[Ze.set_show_editor_setting=3]="set_show_editor_setting",Ze))(Oe||{});function Ce(Ze,Pe){switch(Pe.type){case 3:return _e(Ee({},Ze),{showEditorSetting:Pe.payload});case 1:return _e(Ee({},Ze),{theme:Pe.payload});case 0:return _e(Ee({},Ze),{fontSize:Pe.payload});case 2:return _e(Ee({},Ze),{tabToSpace:Pe.payload});default:throw new Error}}var Ne=({isLoading:Ze,value:Pe=[],onChange:Ue,form:Qe})=>{var tt;const[ot,lt]=(0,Re.useReducer)(Ce,Me),{theme:Ve,fontSize:Ye,showEditorSetting:nt,tabToSpace:dt}=ot,[at,et]=(0,Re.useState)("C"),[qe,it]=(0,Re.useState)(!1),[yt,ht]=(0,Re.useState)([]),Bt=(0,Re.useRef)([]),Et=vt.default.useWatch(["hack","languages"],Qe);(0,Re.useEffect)(()=>{Pe!=null&&Pe.length&&(Bt.current=(0,ae.cloneDeep)(Pe))},[Pe]),(0,Re.useEffect)(()=>{qe&&ht(Et)},[qe]),(0,Re.useEffect)(()=>{et(Et==null?void 0:Et[0])},[Et]);const st={onFontSizeChange:He=>{lt({type:0,payload:He}),(0,le.t)("cmFontSize",He)},tabToSpace:dt,cmFontSize:Ye,className:"oj",cmCodeMode:Ve,onTabToSpace:He=>{lt({type:2,payload:He}),(0,le.t)("cmTabToSpace",He)},onCodeModeChange:He=>{lt({type:1,payload:He}),(0,le.t)("cmCodeMode",He)}};function Ge(){lt({type:3,payload:!1})}function We(){lt({type:3,payload:!0})}function se(He){var pe;const Be=(pe=Bt.current)==null?void 0:pe.map(Ke=>(Ke.language===at&&(Ke.code=He),Ke));Bt.current=(0,ae.cloneDeep)(Be),Ue(Be)}const fe={key:at,value:(tt=Pe==null?void 0:Pe.find(He=>He.language===at))==null?void 0:tt.code,language:at,onChange:se,theme:"vs",height:"calc(100% - 40px)",options:{fontSize:Ye,insertSpaces:dt}};console.log(888,Pe,Et);const ze=Pe.filter(He=>Et==null?void 0:Et.includes(He.language));return de.createElement(Re.Fragment,null,de.createElement("div",{className:me["code-panel-container"]},de.createElement(je,{setVisible:it,languageItems:ze,onLanguage:He=>et(He),language:at,onShowCodeSetting:We}),!Ze&&de.createElement(ne.ZP,Ee({},fe))),de.createElement(oe.Z,null,de.createElement(x.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:nt,onClose:Ge},de.createElement(ie.Z,Ee({},st)))),de.createElement(De.default,{centered:!0,open:qe,title:"\u7F16\u7A0B\u8BED\u8A00\u914D\u7F6E",width:564,onOk:()=>{if(!yt.length){ve.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}Qe.setFieldValue(["hack","languages"],yt),it(!1)},onCancel:()=>it(!1)},de.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},de.createElement(re.default.Group,{value:yt,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:He=>{ht(He)}}))))};function je({languageItems:Ze,language:Pe,onShowCodeSetting:Ue,onLanguage:Qe,setVisible:tt}){return de.createElement("div",{className:me["action-oj-bar"]},Ze==null?void 0:Ze.map(ot=>de.createElement("aside",{className:Pe===(ot==null?void 0:ot.language)?me.active:"",onClick:()=>Qe(ot==null?void 0:ot.language),key:ot==null?void 0:ot.language},de.createElement("i",{className:"iconfont icon-bianchengyuyan1"}),de.createElement("span",null,ot==null?void 0:ot.language))),de.createElement("div",{className:me.tip},de.createElement("i",{className:"iconfont icon-tishi12 font14",style:{color:"#FEB636",marginRight:3}}),de.createElement("span",null,"\u8BBE\u7F6E\u521D\u59CB\u4EE3\u7801\uFF0C\u4E3A\u5B66\u751F\u63D0\u4F9B\u660E\u786E\u7F16\u8BD1\u8D77\u70B9")),de.createElement(ue.op,{onClick:()=>tt(!0),shape:"default"},de.createElement("img",{src:te,width:18,style:{marginRight:8}}),"\u7F16\u7A0B\u8BED\u8A00\u914D\u7F6E"))}},50263:function(sr,Wt,ke){"use strict";ke.d(Wt,{GM:function(){return ie},MK:function(){return ne},PR:function(){return vt},ZS:function(){return le},d1:function(){return x},fu:function(){return De},j2:function(){return oe},l_:function(){return ve},uE:function(){return me},zQ:function(){return re}});var Re=ke(79769);function vt(){return(0,Re.U2)("problems/new.json")}function x(ae="question"){return(0,Re.U2)("disciplines.json",{source:ae})}function De(ae){return(0,Re.U2)(`problems/${ae}/edit.json`)}function ve(ae,ue){return(0,Re.gz)(`problems/${ae}.json`,ue)}function re(ae){return(0,Re.v_)("problems.json",ae)}function ne(ae,ue){return(0,Re.v_)(`exercises/${ae}/exercise_questions.json`,ue)}function ie(ae,ue){return(0,Re.gz)(`exercise_questions/${ae}.json`,ue)}function oe(ae){return(0,Re.v_)(`problems/${ae}/publish.json`)}function le(ae){return(0,Re.v_)(`problems/${ae}/cancel_publish.json`)}function me(ae){return(0,Re.U2)(`problems/${ae}/start.json`)}function te(ae,ue){return post("tag_disciplines.json",{name:ue,sub_discipline_id:ae})}},99612:function(sr,Wt,ke){"use strict";ke.d(Wt,{D0:function(){return ne},R8:function(){return De},jw:function(){return re},y3:function(){return ie}});var Re=ke(57809),vt=ke(59301);const{Option:x}=Re.default;var De=(oe=>(oe[oe.language=0]="language",oe[oe.difficult=1]="difficult",oe[oe.category=2]="category",oe[oe.openOrNot=3]="openOrNot",oe))(De||{});const ve={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 re(oe){return ve[oe].map(le=>vt.createElement(x,{key:le.title,value:le.key}," ",le.title," "))}function ne(oe,le){oe.map(me=>{const{id:te,name:ae,sub_disciplines:ue}=me;let de={value:te,label:ae};le.push(de),ue&&ue.length>0&&(de.children=[],ne(ue,de.children))})}function ie(oe,le){var me;let te=[];for(let ae=0;ae<oe.length;ae++){const ue=oe[ae];if(((me=ue.sub_disciplines)==null?void 0:me.length)>0){te[0]=ue.id;for(let de=0;de<ue.sub_disciplines.length;de++){const he=ue.sub_disciplines[de];if(he.id===le)return te[1]=he.id,[te,he.tag_disciplines||he.sub_disciplines||[]]}}}return[te,[]]}},56125:function(sr,Wt,ke){"use strict";ke.d(Wt,{Y2:function(){return Qe},ZP:function(){return tt}});var Re=ke(59301),vt=ke(54580),x=ke(8591),De=ke(43418),ve=ke(95237),re=ke(5112),ne=ke(3113),ie=ke(24905),oe=ke(6848),le=ke(92832),me={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"},te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV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WTeECsG6v1LDT2HGwZcRLEjudj/HUkPd7XiASI1VCVMe8rIDgHKwIxQOY+G4GYe4sVLTARYNMKkiuxGWL8hSRFWVA8FCBWXFIGXFVAeJB/PUYWxACZ66QEYq7tVbK4TIBlV2InGajIlCRE2TCAWFk9Ge2mhBrf9/++Hv4IcsYnuxK7Atn3EAJ/VTnDEEVdgZgiM9yFUqACO2lSDGJnmL3teWrpI+OAmA8f9a0i4xB/bTHFITafkwEyfYkjjwiIyTWjx2MFdmEc32O/ThQrZhWIzSDjK0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ae=ke(47257),ue=ke.n(ae),de=ke(79769),he=ke(1012),we=ke(25544),Se=ke(99337),xe=ke(59301),ye=Object.defineProperty,Ae=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Oe=(ot,lt,Ve)=>lt in ot?ye(ot,lt,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ot[lt]=Ve,Ce=(ot,lt)=>{for(var Ve in lt||(lt={}))_e.call(lt,Ve)&&Oe(ot,Ve,lt[Ve]);if(Ee)for(var Ve of Ee(lt))Me.call(lt,Ve)&&Oe(ot,Ve,lt[Ve]);return ot},Ne=(ot,lt)=>Ae(ot,Le(lt)),je=(ot,lt,Ve)=>new Promise((Ye,nt)=>{var dt=qe=>{try{et(Ve.next(qe))}catch(it){nt(it)}},at=qe=>{try{et(Ve.throw(qe))}catch(it){nt(it)}},et=qe=>qe.done?Ye(qe.value):Promise.resolve(qe.value).then(dt,at);et((Ve=Ve.apply(ot,lt)).next())});const{Dragger:Ze}=vt.default,Pe=ot=>{const lt=it=>it&&it.substring(0,it.lastIndexOf("."));for(var Ve=[...ot],Ye=0,nt=[],dt=0;dt<Ve.length;dt++){for(var at="",et=0;et<nt.length;et++)if(lt(nt[et][0].name)==lt(Ve[dt].name)){Ye=1,at=et;break}if(Ye==1)nt[at].push(Ve[dt]),Ye=0;else if(Ye==0){let it=new Array;it.push(Ve[dt]),nt.push(it)}}return nt.map(it=>{if(it.forEach(yt=>{let ht=yt.name.split(/\.(?=[^\.]+$)/);yt.name=`${ht[0]}.${ht[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]]})},Ue=({onClose:ot,onOK:lt,visible:Ve,wrapClassName:Ye,rootIdentifier:nt,multiple:dt=!1,defaultMultipleValue:at=!0})=>{const[et,qe]=(0,Re.useState)([]),[it,yt]=(0,Re.useState)({}),[ht,Bt]=(0,Re.useState)(!1),[Et,st]=(0,Re.useState)(!0),[Ge,We]=(0,Re.useState)(null),se=(0,Re.useRef)([]),fe=(0,Re.useRef)(0),ze=()=>{ot()};(0,Re.useEffect)(()=>{He()},[]),(0,Re.useEffect)(()=>{Ve&&(se.current=[],fe.current=0,qe([]),st(at))},[Ve]);const He=()=>je(void 0,null,function*(){try{We(!0)}catch(gt){}}),pe=gt=>gt&&gt.substring(0,gt.lastIndexOf(".")),Be=gt=>{var Dt,Vt;const kt=pe((Dt=gt[0])==null?void 0:Dt.name)||pe((Vt=gt[1])==null?void 0:Vt.name),jt=et.filter(_t=>pe(_t.name)!==kt);se.current=[...jt],qe([...jt])},Ke=gt=>{if(!Et){const Mt=new FormData;Mt.append("file",gt.file),(0,de.ZP)("/api/attachments/get_file_content.json",{method:"post",body:Mt},!0).then(St=>{if(St.status===0){fe.current=fe.current+1;const Nt=se.current.map(Ft=>{var Zt;if(Ft.name===gt.name){const or=Ce({},Ft);return(Zt=gt==null?void 0:gt.name)!=null&&Zt.includes(".in")?or.input=St==null?void 0:St.content:or.output=St==null?void 0:St.content,or}return Ft});if(se.current=[...Nt],qe([...Nt]),fe.current>0&&fe.current===et.length){Bt(!1);let Ft=Pe(Nt);Ft=Ft.filter(Zt=>{var or,yr;return!!((or=Zt[0])!=null&&or.name&&((yr=Zt[1])!=null&&yr.name))}),Ft=Ft.map(Zt=>Ne(Ce(Ce({},Zt[0]),Zt[1]),{is_file:!1})),lt(Ft),ot()}}else Bt(!1),ot()});return}if(Ge){const Mt=new FormData;Mt.append("file",gt.file),nt===null?Mt.append("identifier","testsets"):Mt.append("identifier",nt),(0,de.ZP)("/api/attachments.json",{method:"post",body:Mt},!0).then(St=>{if(St.filename){fe.current=fe.current+1;const Nt=se.current.map(Ft=>{var Zt;if(Ft.name===(St==null?void 0:St.filename)){const or=Ne(Ce({},Ft),{is_oss:!Ge});return(Zt=St==null?void 0:St.filename)!=null&&Zt.includes(".in")?(or.in_object_key=St==null?void 0:St.object,or.in_object_size=St==null?void 0:St.size,or.input=St==null?void 0:St.filename,or.in_file=gt):(or.out_object_key=St==null?void 0:St.object,or.out_object_size=St==null?void 0:St.size,or.output=St==null?void 0:St.filename,or.out_file=gt),or}return Ft});if(se.current=[...Nt],qe([...Nt]),fe.current>0&&fe.current===et.length){Bt(!1);let Ft=Pe(Nt);Ft=Ft.filter(Zt=>{var or,yr;return!!((or=Zt[0])!=null&&or.name&&((yr=Zt[1])!=null&&yr.name))}),Ft=Ft.map(Zt=>Ne(Ce(Ce({},Zt[0]),Zt[1]),{is_file:!0})),lt(Ft),ot()}}else Bt(!1),ot()});return}const Dt=new(ue())({endpoint:it.end_point,region:it.region,accessKeyId:it.access_key_id,accessKeySecret:it.access_key_secret,bucket:it.bucket,stsToken:it.security_token}),Vt=gt.name,kt={container_type:"TestSet",file_name:Vt},jt=(0,he.Z)();let _t=`testsets/${nt}/${jt}${Vt.indexOf(".")>-1?"."+Vt.split(".").pop():""}`;nt===null&&(_t=`testsets/${jt}${Vt.indexOf(".")>-1?"."+Vt.split(".").pop():""}`),Dt.multipartUpload(_t,new Blob([gt.file],{type:gt.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:Vt+""},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,de.rz)(kt)}}).then(function(Mt){if(Mt.data.status===0){fe.current=fe.current+1;const ft=se.current.map(St=>{var Nt,Ft,Zt,or,yr,Sr,Fr,Vr,Br,Ur,on,Yr,Fn,vn,Tn,qr,Un;if(St.name===((Ft=(Nt=Mt.data)==null?void 0:Nt.data)==null?void 0:Ft.file_name)){const un=Ne(Ce({},St),{is_oss:!Ge});return(yr=(or=(Zt=Mt.data)==null?void 0:Zt.data)==null?void 0:or.file_name)!=null&&yr.includes(".in")?(un.in_object_key=(Fr=(Sr=Mt.data)==null?void 0:Sr.data)==null?void 0:Fr.object,un.in_object_size=(Br=(Vr=Mt.data)==null?void 0:Vr.data)==null?void 0:Br.size,un.input=(on=(Ur=Mt.data)==null?void 0:Ur.data)==null?void 0:on.file_name,un.in_file=gt):(un.out_object_key=(Fn=(Yr=Mt.data)==null?void 0:Yr.data)==null?void 0:Fn.object,un.out_object_size=(Tn=(vn=Mt.data)==null?void 0:vn.data)==null?void 0:Tn.size,un.output=(Un=(qr=Mt.data)==null?void 0:qr.data)==null?void 0:Un.file_name,un.out_file=gt),un}return St});if(se.current=[...ft],qe([...ft]),fe.current>0&&fe.current===et.length){Bt(!1);let St=Pe(ft);St=St.filter(Nt=>{var Ft,Zt;return!!((Ft=Nt[0])!=null&&Ft.name&&((Zt=Nt[1])!=null&&Zt.name))}),St=St.map(Nt=>Ne(Ce(Ce({},Nt[0]),Nt[1]),{is_file:!0})),lt(St),ot()}}})},Xe=gt=>new Promise((Dt,Vt)=>{let kt=0,jt=[];for(let _t=0;_t<gt.length;_t++)gt[_t].file.slice(0,1).arrayBuffer().then(()=>{kt++,kt===gt.length&&(jt.length?(x.ZP.warning(`${jt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),Vt()):Dt(gt))}).catch(Mt=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",Mt),kt++,jt.push(gt[_t].name),kt===gt.length&&(jt.length?(x.ZP.warning(`${jt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),Vt()):Dt(gt))})}),Je=()=>je(void 0,null,function*(){if(et.length===0){x.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Xe(et),Bt(!0),Pe(et).some(Dt=>{var Vt,kt;return!((Vt=Dt[0])!=null&&Vt.name&&((kt=Dt[1])!=null&&kt.name))})){De.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:()=>je(void 0,null,function*(){et.map(Dt=>je(void 0,null,function*(){Ke(Dt)}))}),onCancel:()=>{Bt(!1)}});return}et.map(Dt=>je(void 0,null,function*(){Ke(Dt)}))}),ut={name:"file",fileList:et,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:gt=>{if(et!=null&&et.some(Vt=>Vt.name===gt.name))return x.ZP.info(`${gt.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(gt.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(gt.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 Dt={name:gt.name,uid:gt.uid,file:gt,percent:0};return et.push(Dt),se.current=[...et],qe([...et]),!1}},bt=Pe(et);return console.log(et,bt,"fileList"),xe.createElement(De.default,{open:Ve,wrapClassName:Ye,onOk:Je,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:ht},onCancel:ze,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},xe.createElement("div",{className:me.wrap},et.length?xe.createElement("div",null,xe.createElement(ve.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},xe.createElement("div",{style:{visibility:dt?"visible":"hidden"}},xe.createElement("span",{className:me.greyText},"\u7528\u4F8B\u7C7B\u578B"),xe.createElement(re.ZP.Group,{className:`ml20 ${me.testCaseRadio}`,optionType:"button",value:Et,onChange:gt=>st(gt.target.value)},xe.createElement(re.ZP,{value:!1},"\u6587\u672C"),xe.createElement(re.ZP,{value:!0},"\u6587\u4EF6"))),xe.createElement(vt.default,Ce({},ut),xe.createElement(ne.ZP,{type:"primary",className:me.btnS},xe.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),xe.createElement(Qe,{data:bt,onRemove:Be})):xe.createElement("div",{className:`${me.noData} mb30`},xe.createElement(vt.default.Dragger,Ne(Ce({},ut),{className:me.dragger}),xe.createElement("img",{src:te,alt:"",className:"mb20"}),xe.createElement("div",null,xe.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),xe.createElement("span",{className:me.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),xe.createElement("div",{className:me.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))))},Qe=({data:ot=[],onRemove:lt,width:Ve="auto",showScore:Ye=!1,disabled:nt=!1,inputChange:dt,onEvaluatingChange:at,onSelectAll:et,checkAll1:qe,checkAll2:it,checkAll3:yt,checkAll4:ht,checkAll5:Bt,showEvaluatingSetting:Et=!1,className:st="",isProgramHomework:Ge=!1})=>{const We={value:"",filename:"",dataUrl:""},[se,fe]=(0,Re.useState)(Ce({},We)),ze=Be=>{let Ke=document.createElement("a");document.body.appendChild(Ke);let Xe=URL.createObjectURL(Be.file);Ke.href=Xe,Ke.download=Be.name,Ke.click(),URL.revokeObjectURL(Xe),document.body.removeChild(Ke)},He=(Be,Ke)=>{(0,we.LR)(Be,Ke)},pe=(Be,Ke)=>{De.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:()=>{lt(Be,Ke)},onCancel:()=>{}})};return ot.length?xe.createElement("div",{className:st,style:{width:Ve}},xe.createElement("div",{className:`${Ge?me.headProgram:me.head}`},Et&&xe.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},xe.createElement(ie.default,{checked:qe,onChange:Be=>{et(Be.target.checked,"hidden")}}),xe.createElement(oe.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:Ge?"25%":"15%"}},"\u7528\u4F8B"),xe.createElement("div",{style:{width:Ye?Ge?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),xe.createElement("div",{style:{width:Ye?Ge?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),Ye&&xe.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Et&&xe.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},xe.createElement(ie.default,{checked:ht,onChange:Be=>{et(Be.target.checked,"input_visible")}}),xe.createElement(oe.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(ie.default,{checked:it,onChange:Be=>{et(Be.target.checked,"is_invisible")}}),xe.createElement(oe.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(ie.default,{checked:Bt,onChange:Be=>{et(Be.target.checked,"actual_output_visible")}}),xe.createElement(oe.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(ie.default,{checked:yt,onChange:Be=>{et(Be.target.checked,"last_match_rule")}}),xe.createElement(oe.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:me.operation,style:Ge?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),xe.createElement("div",{className:me.listWrapper,style:{boxShadow:Ge?"0px 2px 4px 0px #EAEEF4":"unset"}},ot.map((Be,Ke)=>{var Xe,Je,ut,bt;return xe.createElement("div",{key:Ke,className:me.list,style:Ge?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Et&&xe.createElement("div",{style:{width:"15%"}},xe.createElement(ie.default,{checked:!!Be.hidden,onChange:gt=>{at(gt.target.checked,Ke,"hidden")}})),xe.createElement("div",{style:{width:Ge?"25%":"15%",paddingLeft:Ge?"5px":"0px",paddingRight:Ge?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",Ke+1),xe.createElement("div",{className:me.info,style:{width:Ye?Ge?"20%":"15%":"25%"}},xe.createElement("span",{title:Be.input||((Xe=Be[0])==null?void 0:Xe.name),onClick:()=>je(void 0,null,function*(){let gt;Be.input?Be.input_file_url?gt=Be.input_file_url:gt=Be.in_file:gt=Be[0];let Dt;typeof gt=="string"?(Dt=yield fetch(gt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),fe({value:yield Dt.text(),filename:"",dataUrl:gt})):(Dt=yield(0,we.db)(gt.file),fe({value:Dt.text,filename:gt.name,dataUrl:Dt.link}))})},Be.input||((Je=Be[0])==null?void 0:Je.name))),xe.createElement("div",{className:me.info,style:{width:Ye?Ge?"20%":"15%":"25%"}},xe.createElement("span",{title:Be.output||((ut=Be[1])==null?void 0:ut.name),onClick:()=>je(void 0,null,function*(){let gt;Be.input?Be.output_file_url?gt=Be.output_file_url:gt=Be.out_file:gt=Be[1];let Dt;typeof gt=="string"?(Dt=yield fetch(gt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),fe({value:yield Dt.text(),filename:"",dataUrl:gt})):(Dt=yield(0,we.db)(gt.file),fe({value:Dt.text,filename:gt.name,dataUrl:Dt.link}))})},Be.output||((bt=Be[1])==null?void 0:bt.name))),Ye&&xe.createElement("div",{style:{width:"20%"}},xe.createElement(le.default,{size:"large",addonAfter:Ge?"%":null,disabled:nt,style:{width:"80%"},onChange:gt=>dt(gt,Ke),value:Be.score}),!Ge&&xe.createElement("span",null,"\xA0%")),Et&&xe.createElement("div",{style:{width:"20%"}},xe.createElement(ie.default,{checked:Be.input_visible||!1,onChange:gt=>{at(gt.target.checked,Ke,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Et&&xe.createElement("div",{style:{width:"20%"}},xe.createElement(ie.default,{checked:Be.is_invisible||!1,onChange:gt=>{at(gt.target.checked,Ke,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Et&&xe.createElement("div",{style:{width:"20%"}},xe.createElement(ie.default,{checked:Be.actual_output_visible||!1,onChange:gt=>{at(gt.target.checked,Ke,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Et&&xe.createElement("div",{style:{width:"20%"}},xe.createElement(ie.default,{checked:Be.last_match_rule||!1,onChange:gt=>{at(gt.target.checked,Ke,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),xe.createElement("div",{onClick:()=>pe(Be,Ke),style:Ge?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},xe.createElement("span",{className:me.del},"\u5220\u9664")))})),xe.createElement(Se.Z,{close:!0,data:se.dataUrl,filename:se.filename,type:se.dataUrl.length?"txt":"",onClose:()=>fe(Ce({},We)),monacoEditor:{value:se.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):xe.createElement(xe.Fragment,null)};var tt=Ue},57971:function(sr,Wt,ke){"use strict";ke.d(Wt,{c:function(){return vt}});var Re=(x=>(x.FirstPage="firstPage",x.PrevPage="prevPage",x.NextPage="nextPage",x))(Re||{}),vt=(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))(vt||{})},13357:function(sr,Wt,ke){"use strict";ke.d(Wt,{G:function(){return ve},t:function(){return De}});var Re=ke(7062),vt=ke.n(Re);const x=null;function De(re,ne){let ie=vt().get("__ec");ie||(ie={}),ie[re]=ne,vt().set("__ec",ie)}function ve(re,ne){let ie=vt().get("__ec");return ie?ie[re]===void 0?ne:ie[re]:ne}},47257:function(sr){(function(Wt){(function(ke){if(1)sr.exports=ke();else var Re})(function(){var ke,Re,vt;return function(){function x(De,ve,re){function ne(le,me){if(!ve[le]){if(!De[le]){var te=void 0;if(!me&&te)return require(le,!0);if(ie)return ie(le,!0);var ae=new Error("Cannot find module '"+le+"'");throw ae.code="MODULE_NOT_FOUND",ae}var ue=ve[le]={exports:{}};De[le][0].call(ue.exports,function(de){var he=De[le][1][de];return ne(he||de)},ue,ue.exports,x,De,ve,re)}return ve[le].exports}for(var ie=void 0,oe=0;oe<re.length;oe++)ne(re[oe]);return ne}return x}()({1:[function(x,De,ve){"use strict";var re=x("./browser/client");re.Buffer=x("buffer").Buffer,re.urllib=x("../shims/xhr"),re.version=x("./browser/version").version,De.exports=re},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(x,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator")),ie=re(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 oe=x("assert"),le=x("../common/utils/checkBucketName"),me=le.checkBucketName,te=ve;function ae(de){return Array.isArray?Array.isArray(de):Object.prototype.toString.call(de)==="[object Array]"}function ue(de){return de?ae(de)?de:[de]:[]}te.useBucket=function(he){return me(he),this.options.bucket=he,this},te.setBucket=function(he){return me(he),this.options.bucket=he,this},te.getBucket=function(){return this.options.bucket},te.deleteBucket=function(){var de=(0,ie.default)(ne.default.mark(function we(Se,xe){var ye,Ae;return ne.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return ye=this._bucketRequestParams("DELETE",Se,"",xe),Ee.next=3,this.request(ye);case 3:if(Ae=Ee.sent,!(Ae.status===200||Ae.status===204)){Ee.next=6;break}return Ee.abrupt("return",{res:Ae.res});case 6:return Ee.next=8,this.requestError(Ae);case 8:throw Ee.sent;case 9:case"end":return Ee.stop()}},we,this)}));function he(we,Se){return de.apply(this,arguments)}return he}(),te.putBucketACL=function(){var de=(0,ie.default)(ne.default.mark(function we(Se,xe,ye){var Ae,Le;return ne.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return Ae=this._bucketRequestParams("PUT",Se,"acl",ye),Ae.headers={"x-oss-acl":xe},Ae.successStatuses=[200],_e.next=5,this.request(Ae);case 5:return Le=_e.sent,_e.abrupt("return",{bucket:Le.headers.location&&Le.headers.location.substring(1)||null,res:Le.res});case 7:case"end":return _e.stop()}},we,this)}));function he(we,Se,xe){return de.apply(this,arguments)}return he}(),te.getBucketACL=function(){var de=(0,ie.default)(ne.default.mark(function we(Se,xe){var ye,Ae;return ne.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return ye=this._bucketRequestParams("GET",Se,"acl",xe),ye.successStatuses=[200],ye.xmlResponse=!0,Ee.next=5,this.request(ye);case 5:return Ae=Ee.sent,Ee.abrupt("return",{acl:Ae.data.AccessControlList.Grant,owner:{id:Ae.data.Owner.ID,displayName:Ae.data.Owner.DisplayName},res:Ae.res});case 7:case"end":return Ee.stop()}},we,this)}));function he(we,Se){return de.apply(this,arguments)}return he}(),te.putBucketLogging=function(){var de=(0,ie.default)(ne.default.mark(function we(Se,xe,ye){var Ae,Le,Ee;return ne.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Ae=this._bucketRequestParams("PUT",Se,"logging",ye),Le=`<?xml version="1.0" encoding="UTF-8"?>
<BucketLoggingStatus>
<LoggingEnabled>
<TargetBucket>`.concat(Se,`</TargetBucket>
`),xe&&(Le+="<TargetPrefix>".concat(xe,`</TargetPrefix>
`)),Le+=`</LoggingEnabled>
</BucketLoggingStatus>`,Ae.content=Le,Ae.mime="xml",Ae.successStatuses=[200],Me.next=9,this.request(Ae);case 9:return Ee=Me.sent,Me.abrupt("return",{res:Ee.res});case 11:case"end":return Me.stop()}},we,this)}));function he(we,Se,xe){return de.apply(this,arguments)}return he}(),te.getBucketLogging=function(){var de=(0,ie.default)(ne.default.mark(function we(Se,xe){var ye,Ae,Le;return ne.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return ye=this._bucketRequestParams("GET",Se,"logging",xe),ye.successStatuses=[200],ye.xmlResponse=!0,_e.next=5,this.request(ye);case 5:return Ae=_e.sent,Le=Ae.data.LoggingEnabled,_e.abrupt("return",{enable:!!Le,prefix:Le&&Le.TargetPrefix||null,res:Ae.res});case 8:case"end":return _e.stop()}},we,this)}));function he(we,Se){return de.apply(this,arguments)}return he}(),te.deleteBucketLogging=function(){var de=(0,ie.default)(ne.default.mark(function we(Se,xe){var ye,Ae;return ne.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return ye=this._bucketRequestParams("DELETE",Se,"logging",xe),ye.successStatuses=[204,200],Ee.next=4,this.request(ye);case 4:return Ae=Ee.sent,Ee.abrupt("return",{res:Ae.res});case 6:case"end":return Ee.stop()}},we,this)}));function he(we,Se){return de.apply(this,arguments)}return he}(),te.putBucketCORS=function(){var de=(0,ie.default)(ne.default.mark(function we(Se,xe,ye){var Ae,Le,Ee,_e,Me,Oe,Ce,Ne,je,Ze;return ne.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:for(xe=xe||[],oe(xe.length,"rules is required"),xe.forEach(function(Qe){oe(Qe.allowedOrigin,"allowedOrigin is required"),oe(Qe.allowedMethod,"allowedMethod is required")}),Ae=this._bucketRequestParams("PUT",Se,"cors",ye),Le=`<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration>`,Ee=function(tt){Le+="<AllowedOrigin>".concat(tt,"</AllowedOrigin>")},_e=function(tt){Le+="<AllowedMethod>".concat(tt,"</AllowedMethod>")},Me=function(tt){Le+="<AllowedHeader>".concat(tt,"</AllowedHeader>")},Oe=function(tt){Le+="<ExposeHeader>".concat(tt,"</ExposeHeader>")},Ce=0,Ne=xe.length;Ce<Ne;Ce++)je=xe[Ce],Le+="<CORSRule>",ue(je.allowedOrigin).forEach(Ee),ue(je.allowedMethod).forEach(_e),ue(je.allowedHeader).forEach(Me),ue(je.exposeHeader).forEach(Oe),je.maxAgeSeconds&&(Le+="<MaxAgeSeconds>".concat(je.maxAgeSeconds,"</MaxAgeSeconds>")),Le+="</CORSRule>";return Le+="</CORSConfiguration>",Ae.content=Le,Ae.mime="xml",Ae.successStatuses=[200],Ue.next=16,this.request(Ae);case 16:return Ze=Ue.sent,Ue.abrupt("return",{res:Ze.res});case 18:case"end":return Ue.stop()}},we,this)}));function he(we,Se,xe){return de.apply(this,arguments)}return he}(),te.getBucketCORS=function(){var de=(0,ie.default)(ne.default.mark(function we(Se,xe){var ye,Ae,Le,Ee;return ne.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return ye=this._bucketRequestParams("GET",Se,"cors",xe),ye.successStatuses=[200],ye.xmlResponse=!0,Me.next=5,this.request(ye);case 5:return Ae=Me.sent,Le=[],Ae.data&&Ae.data.CORSRule&&(Ee=Ae.data.CORSRule,ae(Ee)||(Ee=[Ee]),Ee.forEach(function(Oe){var Ce={};Object.keys(Oe).forEach(function(Ne){Ce[Ne.slice(0,1).toLowerCase()+Ne.slice(1,Ne.length)]=Oe[Ne]}),Le.push(Ce)})),Me.abrupt("return",{rules:Le,res:Ae.res});case 9:case"end":return Me.stop()}},we,this)}));function he(we,Se){return de.apply(this,arguments)}return he}(),te.deleteBucketCORS=function(){var de=(0,ie.default)(ne.default.mark(function we(Se,xe){var ye,Ae;return ne.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return ye=this._bucketRequestParams("DELETE",Se,"cors",xe),ye.successStatuses=[204],Ee.next=4,this.request(ye);case 4:return Ae=Ee.sent,Ee.abrupt("return",{res:Ae.res});case 6:case"end":return Ee.stop()}},we,this)}));function he(we,Se){return de.apply(this,arguments)}return he}(),te.putBucketReferer=function(){var de=(0,ie.default)(ne.default.mark(function we(Se,xe,ye,Ae){var Le,Ee,_e,Me;return ne.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(Le=this._bucketRequestParams("PUT",Se,"referer",Ae),Ee=`<?xml version="1.0" encoding="UTF-8"?>
<RefererConfiguration>
`,Ee+=" <AllowEmptyReferer>".concat(xe?"true":"false",`</AllowEmptyReferer>
`),ye&&ye.length>0){for(Ee+=` <RefererList>
`,_e=0;_e<ye.length;_e++)Ee+=" <Referer>".concat(ye[_e],`</Referer>
`);Ee+=` </RefererList>
`}else Ee+=` <RefererList />
`;return Ee+="</RefererConfiguration>",Le.content=Ee,Le.mime="xml",Le.successStatuses=[200],Ce.next=10,this.request(Le);case 10:return Me=Ce.sent,Ce.abrupt("return",{res:Me.res});case 12:case"end":return Ce.stop()}},we,this)}));function he(we,Se,xe,ye){return de.apply(this,arguments)}return he}(),te.getBucketReferer=function(){var de=(0,ie.default)(ne.default.mark(function we(Se,xe){var ye,Ae,Le;return ne.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return ye=this._bucketRequestParams("GET",Se,"referer",xe),ye.successStatuses=[200],ye.xmlResponse=!0,_e.next=5,this.request(ye);case 5:return Ae=_e.sent,Le=Ae.data.RefererList.Referer||null,Le&&(ae(Le)||(Le=[Le])),_e.abrupt("return",{allowEmpty:Ae.data.AllowEmptyReferer==="true",referers:Le,res:Ae.res});case 9:case"end":return _e.stop()}},we,this)}));function he(we,Se){return de.apply(this,arguments)}return he}(),te.deleteBucketReferer=function(){var de=(0,ie.default)(ne.default.mark(function we(Se,xe){return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,this.putBucketReferer(Se,!0,null,xe);case 2:return Ae.abrupt("return",Ae.sent);case 3:case"end":return Ae.stop()}},we,this)}));function he(we,Se){return de.apply(this,arguments)}return he}(),te._bucketRequestParams=function(he,we,Se,xe){return{method:he,bucket:we,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,De,ve){(function(re,ne){(function(){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),oe=ie(x("@babel/runtime/regenerator")),le=ie(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 me=x("debug")("ali-oss"),te=x("xml2js"),ae=x("agentkeepalive"),ue=x("merge-descriptors"),de=x("platform"),he=x("utility"),we=x("urllib"),Se=x("./version"),xe=x("bowser"),ye=x("../common/signUtils"),Ae=x("../common/client/initOptions"),Le=x("../common/utils/createRequest"),Ee=Le.createRequest,_e=x("../common/utils/encoder"),Me=_e.encoder,Oe=x("../common/client/getReqUrl"),Ce=Oe.getReqUrl,Ne=x("../common/utils/setSTSToken"),je=Ne.setSTSToken,Ze=x("../common/utils/retry"),Pe=Ze.retry,Ue=x("../common/utils/isFunction"),Qe=Ue.isFunction,tt=new ae;function ot(){var at=de.name,et=de.version;at&&at.toLowerCase&&at.toLowerCase()==="ie"&&et.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function lt(){return location&&location.protocol==="https:"}function Ve(at,et){if(ot(),!(this instanceof Ve))return new Ve(at,et);at&&at.inited?this.options=at:this.options=Ve.initOptions(at),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=we,this.agent=this.options.agent||tt),this.ctx=et,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}De.exports=Ve,Ve.initOptions=function(et){et.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var qe=Object.assign({secure:lt(),useFetch:!1},et);return Ae(qe)};var Ye=Ve.prototype;Ye.debug=me,ue(Ye,x("./object")),ue(Ye,x("./bucket")),ue(Ye,x("../common/bucket/getBucketWebsite")),ue(Ye,x("../common/bucket/putBucketWebsite")),ue(Ye,x("../common/bucket/deleteBucketWebsite")),ue(Ye,x("../common/bucket/getBucketLifecycle")),ue(Ye,x("../common/bucket/putBucketLifecycle")),ue(Ye,x("../common/bucket/deleteBucketLifecycle")),ue(Ye,x("../common/bucket/putBucketVersioning")),ue(Ye,x("../common/bucket/getBucketVersioning")),ue(Ye,x("../common/bucket/getBucketInventory")),ue(Ye,x("../common/bucket/deleteBucketInventory")),ue(Ye,x("../common/bucket/listBucketInventory")),ue(Ye,x("../common/bucket/putBucketInventory")),ue(Ye,x("../common/bucket/abortBucketWorm")),ue(Ye,x("../common/bucket/completeBucketWorm")),ue(Ye,x("../common/bucket/extendBucketWorm")),ue(Ye,x("../common/bucket/getBucketWorm")),ue(Ye,x("../common/bucket/initiateBucketWorm")),ue(Ye,x("./managed-upload")),ue(Ye,x("../common/multipart-copy")),ue(Ye,x("../common/multipart")),ue(Ye,x("../common/parallel")),Ye.signature=function(et){return this.debug("authorization stringToSign: %s",et,"info"),ye.computeSignature(this.options.accessKeySecret,et,this.options.headerEncoding)},Ye._getReqUrl=Ce,Ye.authorization=function(et,qe,it,yt){var ht=ye.buildCanonicalString(et.toUpperCase(),qe,{headers:yt,parameters:it});return ye.authorization(this.options.accessKeyId,this.options.accessKeySecret,ht,this.options.headerEncoding)},Ye.request=function(){var at=(0,le.default)(oe.default.mark(function et(qe){var it=this;return oe.default.wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:if(!this.options.retryMax){ht.next=6;break}return ht.next=3,Pe(nt.bind(this),this.options.retryMax,{errorHandler:function(Et){var st=function(We){if(qe.stream)return!1;var se=[-1,-2].includes(We.status),fe=it.options.requestErrorRetryHandle||function(){return!0};return se&&fe(We)};return!!st(Et)}})(qe);case 3:return ht.abrupt("return",ht.sent);case 6:return ht.abrupt("return",nt.call(this,qe));case 7:case"end":return ht.stop()}},et,this)}));return function(et){return at.apply(this,arguments)}}();function nt(at){return dt.apply(this,arguments)}function dt(){return dt=(0,le.default)(oe.default.mark(function at(et){var qe,it,yt,ht,Bt,Et;return oe.default.wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:if(!(this.options.stsToken&&Qe(this.options.refreshSTSToken))){Ge.next=3;break}return Ge.next=3,je.call(this);case 3:return qe=Ee.call(this,et),this.options.useFetch||(qe.params.mode="disable-fetch"),ht=!!et.stream,Ge.prev=6,Ge.next=9,this.urllib.request(qe.url,qe.params);case 9:it=Ge.sent,this.debug("response %s %s, got %s, headers: %j",et.method,qe.url,it.status,it.headers,"info"),Ge.next=16;break;case 13:Ge.prev=13,Ge.t0=Ge.catch(6),yt=Ge.t0;case 16:if(!(it&&et.successStatuses&&et.successStatuses.indexOf(it.status)===-1)){Ge.next=28;break}return Ge.next=19,this.requestError(it);case 19:if(Bt=Ge.sent,!(Bt.code==="RequestTimeTooSkewed"&&!ht)){Ge.next=25;break}return this.options.amendTimeSkewed=+new Date(Bt.serverTime)-new Date,Ge.next=24,this.request(et);case 24:return Ge.abrupt("return",Ge.sent);case 25:Bt.params=et,Ge.next=32;break;case 28:if(!yt){Ge.next=32;break}return Ge.next=31,this.requestError(yt);case 31:Bt=Ge.sent;case 32:if(!Bt){Ge.next=34;break}throw Bt;case 34:if(!et.xmlResponse){Ge.next=39;break}return Ge.next=37,this.parseXML(it.data);case 37:Et=Ge.sent,it.data=Et;case 39:return Ge.abrupt("return",it);case 40:case"end":return Ge.stop()}},at,this,[[6,13]])})),dt.apply(this,arguments)}Ye._getResource=function(et){var qe="/";return et.bucket&&(qe+="".concat(et.bucket,"/")),et.object&&(qe+=Me(et.object,this.options.headerEncoding)),qe},Ye._escape=function(et){return he.encodeURIComponent(et).replace(/%2F/g,"/")},Ye._getUserAgent=function(){var et=ne&&ne.browser?"js":"nodejs",qe="aliyun-sdk-".concat(et,"/").concat(Se.version),it=de.description;return!it&&ne&&(it="Node.js ".concat(ne.version.slice(1)," on ").concat(ne.platform," ").concat(ne.arch)),this._checkUserAgent("".concat(qe," ").concat(it))},Ye._checkUserAgent=function(et){var qe=et.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return qe},Ye.checkBrowserAndVersion=function(et,qe){return xe.name===et&&xe.version.split(".")[0]===qe},Ye.parseXML=function(et){return new Promise(function(qe,it){re.isBuffer(et)&&(et=et.toString()),te.parseString(et,{explicitRoot:!1,explicitArray:!1},function(yt,ht){yt?it(yt):qe(ht)})})},Ye.requestError=function(){var at=(0,le.default)(oe.default.mark(function qe(it){var yt,ht,Bt,Et;return oe.default.wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:if(yt=null,!(!it.data||!it.data.length)){Ge.next=5;break}it.status===-1||it.status===-2?(yt=new Error(it.message),yt.name=it.name,yt.status=it.status,yt.code=it.name):(it.status===404?(yt=new Error("Object not exists"),yt.name="NoSuchKeyError",yt.status=404,yt.code="NoSuchKey"):it.status===412?(yt=new Error("Pre condition failed"),yt.name="PreconditionFailedError",yt.status=412,yt.code="PreconditionFailed"):(yt=new Error("Unknow error, status: ".concat(it.status)),yt.name="UnknownError",yt.status=it.status),yt.requestId=it.headers["x-oss-request-id"],yt.host=""),Ge.next=32;break;case 5:return ht=String(it.data),this.debug("request response error data: %s",ht,"error"),Ge.prev=7,Ge.next=10,this.parseXML(ht);case 10:if(Ge.t0=Ge.sent,Ge.t0){Ge.next=13;break}Ge.t0={};case 13:Bt=Ge.t0,Ge.next=23;break;case 16:return Ge.prev=16,Ge.t1=Ge.catch(7),this.debug(ht,"error"),Ge.t1.message+=`
raw xml: `.concat(ht),Ge.t1.status=it.status,Ge.t1.requestId=it.headers["x-oss-request-id"],Ge.abrupt("return",Ge.t1);case 23:Et=Bt.Message||"unknow request error, status: ".concat(it.status),Bt.Condition&&(Et+=" (condition: ".concat(Bt.Condition,")")),yt=new Error(Et),yt.name=Bt.Code?"".concat(Bt.Code,"Error"):"UnknownError",yt.status=it.status,yt.code=Bt.Code,yt.requestId=Bt.RequestId,yt.hostId=Bt.HostId,yt.serverTime=Bt.ServerTime;case 32:return this.debug("generate error %j",yt,"error"),Ge.abrupt("return",yt);case 34:case"end":return Ge.stop()}},qe,this,[[7,16]])}));function et(qe){return at.apply(this,arguments)}return et}()}).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,De,ve){(function(re){(function(){"use strict";var ne=x("@babel/runtime/helpers/interopRequireDefault"),ie=ne(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 oe=ne(x("@babel/runtime/helpers/asyncToGenerator")),le=x("util"),me=x("path"),te=x("mime"),ae=x("copy-to"),ue=x("../common/utils/isBlob"),de=ue.isBlob,he=x("../common/utils/isFile"),we=he.isFile,Se=x("../common/utils/isBuffer"),xe=Se.isBuffer,ye=ve;ye.multipartUpload=function(){var Me=(0,oe.default)(ie.default.mark(function Ce(Ne,je){var Ze,Pe,Ue,Qe,tt,ot,lt,Ve,Ye,nt=arguments;return ie.default.wrap(function(at){for(;;)switch(at.prev=at.next){case 0:if(Ze=nt.length>2&&nt[2]!==void 0?nt[2]:{},this.resetCancelFlag(),Ze.disabledMD5=Ze.disabledMD5===void 0?!0:!!Ze.disabledMD5,!(Ze.checkpoint&&Ze.checkpoint.uploadId)){at.next=8;break}return je&&we(je)&&(Ze.checkpoint.file=je),at.next=7,this._resumeMultipart(Ze.checkpoint,Ze);case 7:return at.abrupt("return",at.sent);case 8:return Pe=102400,Ze.mime||(we(je)?Ze.mime=te.getType(me.extname(je.name)):de(je)?Ze.mime=je.type:xe(je)?Ze.mime="":Ze.mime=te.getType(me.extname(je))),Ze.headers=Ze.headers||{},this._convertMetaToHeaders(Ze.meta,Ze.headers),at.next=14,this._getFileSize(je);case 14:if(Ue=at.sent,!(Ue<Pe)){at.next=26;break}return Ze.contentLength=Ue,at.next=19,this.put(Ne,je,Ze);case 19:if(Qe=at.sent,!(Ze&&Ze.progress)){at.next=23;break}return at.next=23,Ze.progress(1);case 23:return tt={res:Qe.res,bucket:this.options.bucket,name:Ne,etag:Qe.res.headers.etag},(Ze.headers&&Ze.headers["x-oss-callback"]||Ze.callback)&&(tt.data=Qe.data),at.abrupt("return",tt);case 26:if(!(Ze.partSize&&parseInt(Ze.partSize,10)!==Ze.partSize)){at.next=28;break}throw new Error("partSize must be int number");case 28:if(!(Ze.partSize&&Ze.partSize<Pe)){at.next=30;break}throw new Error("partSize must not be smaller than ".concat(Pe));case 30:return at.next=32,this.initMultipartUpload(Ne,Ze);case 32:if(ot=at.sent,lt=ot.uploadId,Ve=this._getPartSize(Ue,Ze.partSize),Ye={file:je,name:Ne,fileSize:Ue,partSize:Ve,uploadId:lt,doneParts:[]},!(Ze&&Ze.progress)){at.next=39;break}return at.next=39,Ze.progress(0,Ye,ot.res);case 39:return at.next=41,this._resumeMultipart(Ye,Ze);case 41:return at.abrupt("return",at.sent);case 42:case"end":return at.stop()}},Ce,this)}));function Oe(Ce,Ne){return Me.apply(this,arguments)}return Oe}(),ye._resumeMultipart=function(){var Me=(0,oe.default)(ie.default.mark(function Ce(Ne,je){var Ze,Pe,Ue,Qe,tt,ot,lt,Ve,Ye,nt,dt,at,et,qe,it,yt,ht,Bt,Et;return ie.default.wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:if(Ze=this,!this.isCancel()){Ge.next=3;break}throw this._makeCancelEvent();case 3:return Pe=Ne.file,Ue=Ne.fileSize,Qe=Ne.partSize,tt=Ne.uploadId,ot=Ne.doneParts,lt=Ne.name,Ve=[],ot.length>0&&ae(ot).to(Ve),Ye=this._divideParts(Ue,Qe),nt=Ye.length,dt=!1,at=function(se,fe){return new Promise(function(){var ze=(0,oe.default)(ie.default.mark(function He(pe,Be){var Ke,Xe,Je,ut,bt;return ie.default.wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:if(Dt.prev=0,se.isCancel()){Dt.next=29;break}return Ke=Ye[fe-1],Dt.next=5,se._createBuffer(Pe,Ke.start,Ke.end);case 5:return Xe=Dt.sent,Je={content:Xe,size:Ke.end-Ke.start},Dt.prev=7,Dt.next=10,se._uploadPart(lt,tt,fe,Je,je);case 10:ut=Dt.sent,Dt.next=18;break;case 13:if(Dt.prev=13,Dt.t0=Dt.catch(7),Dt.t0.status!==404){Dt.next=17;break}throw se._makeAbortEvent();case 17:throw Dt.t0;case 18:if(!(!se.isCancel()&&!dt)){Dt.next=26;break}if(Ne.doneParts.push({number:fe,etag:ut.res.headers.etag}),!je.progress){Dt.next=23;break}return Dt.next=23,je.progress(ot.length/(nt+1),Ne,ut.res);case 23:pe({number:fe,etag:ut.res.headers.etag}),Dt.next=27;break;case 26:pe();case 27:Dt.next=30;break;case 29:pe();case 30:Dt.next=41;break;case 32:Dt.prev=32,Dt.t1=Dt.catch(0),bt=new Error,bt.name=Dt.t1.name,bt.message=Dt.t1.message,bt.stack=Dt.t1.stack,bt.partNum=fe,ae(Dt.t1).to(bt),Be(bt);case 41:case"end":return Dt.stop()}},He,null,[[0,32],[7,13]])}));return function(He,pe){return ze.apply(this,arguments)}}())},et=Array.from(new Array(nt),function(We,se){return se+1}),qe=Ve.map(function(We){return We.number}),it=et.filter(function(We){return qe.indexOf(We)<0}),yt=5,ht=je.parallel||yt,Ge.next=17,this._parallel(it,ht,function(We){return new Promise(function(se,fe){at(Ze,We).then(function(ze){ze&&Ve.push(ze),se()}).catch(function(ze){fe(ze)})})});case 17:if(Bt=Ge.sent,dt=!0,Et=Bt.find(function(We){return We.name==="abort"}),!Et){Ge.next=22;break}throw Et;case 22:if(!this.isCancel()){Ge.next=25;break}throw at=null,this._makeCancelEvent();case 25:if(!(Bt&&Bt.length>0)){Ge.next=28;break}throw Bt[0].message="Failed to upload some parts with error: ".concat(Bt[0].toString()," part_num: ").concat(Bt[0].partNum),Bt[0];case 28:return Ge.next=30,this.completeMultipartUpload(lt,tt,Ve,je);case 30:return Ge.abrupt("return",Ge.sent);case 31:case"end":return Ge.stop()}},Ce,this)}));function Oe(Ce,Ne){return Me.apply(this,arguments)}return Oe}(),ye._getFileSize=function(){var Me=(0,oe.default)(ie.default.mark(function Ce(Ne){return ie.default.wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:if(!xe(Ne)){Ze.next=4;break}return Ze.abrupt("return",Ne.length);case 4:if(!(de(Ne)||we(Ne))){Ze.next=6;break}return Ze.abrupt("return",Ne.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Ze.stop()}},Ce)}));function Oe(Ce){return Me.apply(this,arguments)}return Oe}();var Ae=x("stream"),Le=Ae.Readable;function Ee(Me,Oe){if(!(this instanceof Ee))return new Ee(Me,Oe);Le.call(this,Oe),this.file=Me,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}le.inherits(Ee,Le),Ee.prototype.readFileAndPush=function(Oe){if(this.fileBuffer)for(var Ce=!0;Ce&&this.fileBuffer&&this.start<this.fileBuffer.length;){var Ne=this.start,je=Ne+Oe;je=je>this.fileBuffer.length?this.fileBuffer.length:je,this.start=je,Ce=this.push(this.fileBuffer.slice(Ne,je))}},Ee.prototype._read=function(Oe){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 Ce=16*1024;Oe=Oe||Ce;var Ne=this;this.reader.onload=function(Ze){Ne.fileBuffer=re.from(new Uint8Array(Ze.target.result)),Ne.file=null,Ne.readFileAndPush(Oe)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(Oe)};function _e(Me){return Me.arrayBuffer?Me.arrayBuffer():new Promise(function(Oe,Ce){var Ne=new FileReader;Ne.onload=function(je){Oe(je.target.result)},Ne.onerror=function(je){Ce(je)},Ne.readAsArrayBuffer(Me)})}ye._createBuffer=function(){var Me=(0,oe.default)(ie.default.mark(function Ce(Ne,je,Ze){var Pe,Ue;return ie.default.wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:if(!(de(Ne)||we(Ne))){tt.next=8;break}return Pe=Ne.slice(je,Ze),tt.next=4,_e(Pe);case 4:return Ue=tt.sent,tt.abrupt("return",re.from(Ue));case 8:if(!xe(Ne)){tt.next=12;break}return tt.abrupt("return",Ne.subarray(je,Ze));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return tt.stop()}},Ce)}));function Oe(Ce,Ne,je){return Me.apply(this,arguments)}return Oe}(),ye._getPartSize=function(Oe,Ce){var Ne=1e4,je=1*1024*1024;Ce||(Ce=je);var Ze=Math.ceil(Oe/Ne);return Ce<Ze&&(Ce=Ze,console.warn("partSize has been set to ".concat(Ce,", because the partSize you provided causes partNumber to be greater than 10,000"))),Ce},ye._divideParts=function(Oe,Ce){for(var Ne=Math.ceil(Oe/Ce),je=[],Ze=0;Ze<Ne;Ze++){var Pe=Ce*Ze,Ue=Math.min(Pe+Ce,Oe);je.push({start:Pe,end:Ue})}return je}}).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,De,ve){"use strict";var re=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 ne=re(x("@babel/runtime/regenerator")),ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("fs"),le=x("copy-to"),me=x("path"),te=x("mime"),ae=x("../common/callback"),ue=x("merge-descriptors"),de=x("../common/utils/isBlob"),he=de.isBlob,we=x("../common/utils/isFile"),Se=we.isFile,xe=x("../common/utils/isBuffer"),ye=xe.isBuffer,Ae=x("../common/utils/obj2xml"),Le=Ae.obj2xml,Ee=ve;Ee.append=function(){var _e=(0,ie.default)(ne.default.mark(function Oe(Ce,Ne,je){var Ze;return ne.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:return je=je||{},je.position===void 0&&(je.position="0"),je.subres={append:"",position:je.position},je.method="POST",Ue.next=6,this.put(Ce,Ne,je);case 6:return Ze=Ue.sent,Ze.nextAppendPosition=Ze.res.headers["x-oss-next-append-position"],Ue.abrupt("return",Ze);case 9:case"end":return Ue.stop()}},Oe,this)}));function Me(Oe,Ce,Ne){return _e.apply(this,arguments)}return Me}(),Ee.put=function(){var _e=(0,ie.default)(ne.default.mark(function Oe(Ce,Ne,je){var Ze,Pe,Ue,Qe,tt;return ne.default.wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:if(je=je||{},je.disabledMD5=je.disabledMD5===void 0?!0:!!je.disabledMD5,je.headers=je.headers||{},Ce=this._objectName(Ce),!ye(Ne)){lt.next=8;break}Ze=Ne,lt.next=19;break;case 8:if(!(he(Ne)||Se(Ne))){lt.next=18;break}return je.mime||(Se(Ne)?je.mime=te.getType(me.extname(Ne.name)):je.mime=Ne.type),lt.next=12,this._createBuffer(Ne,0,Ne.size);case 12:return Ze=lt.sent,lt.next=15,this._getFileSize(Ne);case 15:je.contentLength=lt.sent,lt.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(je.meta,je.headers),Pe=je.method||"PUT",Ue=this._objectRequestParams(Pe,Ce,je),ae.encodeCallback(Ue,je),Ue.mime=je.mime,Ue.disabledMD5=je.disabledMD5,Ue.content=Ze,Ue.successStatuses=[200],lt.next=29,this.request(Ue);case 29:return Qe=lt.sent,tt={name:Ce,url:this._objectUrl(Ce),res:Qe.res},Ue.headers&&Ue.headers["x-oss-callback"]&&(tt.data=JSON.parse(Qe.data.toString())),lt.abrupt("return",tt);case 33:case"end":return lt.stop()}},Oe,this)}));function Me(Oe,Ce,Ne){return _e.apply(this,arguments)}return Me}(),Ee.putStream=function(){var _e=(0,ie.default)(ne.default.mark(function Oe(Ce,Ne,je){var Ze,Pe,Ue,Qe;return ne.default.wrap(function(ot){for(;;)switch(ot.prev=ot.next){case 0:return je=je||{},je.headers=je.headers||{},Ce=this._objectName(Ce),je.contentLength?je.headers["Content-Length"]=je.contentLength:je.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(je.meta,je.headers),Ze=je.method||"PUT",Pe=this._objectRequestParams(Ze,Ce,je),ae.encodeCallback(Pe,je),Pe.mime=je.mime,Pe.stream=Ne,Pe.successStatuses=[200],ot.next=13,this.request(Pe);case 13:return Ue=ot.sent,Qe={name:Ce,url:this._objectUrl(Ce),res:Ue.res},Pe.headers&&Pe.headers["x-oss-callback"]&&(Qe.data=JSON.parse(Ue.data.toString())),ot.abrupt("return",Qe);case 17:case"end":return ot.stop()}},Oe,this)}));function Me(Oe,Ce,Ne){return _e.apply(this,arguments)}return Me}(),ue(Ee,x("../common/object/copyObject")),ue(Ee,x("../common/object/getObjectTagging")),ue(Ee,x("../common/object/putObjectTagging")),ue(Ee,x("../common/object/deleteObjectTagging")),ue(Ee,x("../common/image")),ue(Ee,x("../common/object/getBucketVersions")),ue(Ee,x("../common/object/getACL")),ue(Ee,x("../common/object/putACL")),ue(Ee,x("../common/object/head")),ue(Ee,x("../common/object/delete")),ue(Ee,x("../common/object/get")),ue(Ee,x("../common/object/putSymlink")),ue(Ee,x("../common/object/getSymlink")),ue(Ee,x("../common/object/deleteMulti")),ue(Ee,x("../common/object/getObjectMeta")),ue(Ee,x("../common/object/getObjectUrl")),ue(Ee,x("../common/object/generateObjectUrl")),ue(Ee,x("../common/object/signatureUrl")),ue(Ee,x("../common/object/asyncSignatureUrl")),Ee.putMeta=function(){var _e=(0,ie.default)(ne.default.mark(function Oe(Ce,Ne,je){var Ze;return ne.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:return Ue.next=2,this.copy(Ce,Ce,{meta:Ne||{},timeout:je&&je.timeout,ctx:je&&je.ctx});case 2:return Ze=Ue.sent,Ue.abrupt("return",Ze);case 4:case"end":return Ue.stop()}},Oe,this)}));function Me(Oe,Ce,Ne){return _e.apply(this,arguments)}return Me}(),Ee.list=function(){var _e=(0,ie.default)(ne.default.mark(function Oe(Ce,Ne){var je,Ze,Pe,Ue,Qe;return ne.default.wrap(function(ot){for(;;)switch(ot.prev=ot.next){case 0:return je=this._objectRequestParams("GET","",Ne),je.query=Ce,je.xmlResponse=!0,je.successStatuses=[200],ot.next=6,this.request(je);case 6:return Ze=ot.sent,Pe=Ze.data.Contents||[],Ue=this,Pe&&(Array.isArray(Pe)||(Pe=[Pe]),Pe=Pe.map(function(lt){return{name:lt.Key,url:Ue._objectUrl(lt.Key),lastModified:lt.LastModified,etag:lt.ETag,type:lt.Type,size:Number(lt.Size),storageClass:lt.StorageClass,owner:{id:lt.Owner.ID,displayName:lt.Owner.DisplayName}}})),Qe=Ze.data.CommonPrefixes||null,Qe&&(Array.isArray(Qe)||(Qe=[Qe]),Qe=Qe.map(function(lt){return lt.Prefix})),ot.abrupt("return",{res:Ze.res,objects:Pe,prefixes:Qe,nextMarker:Ze.data.NextMarker||null,isTruncated:Ze.data.IsTruncated==="true"});case 13:case"end":return ot.stop()}},Oe,this)}));function Me(Oe,Ce){return _e.apply(this,arguments)}return Me}(),Ee.listV2=function(){var _e=(0,ie.default)(ne.default.mark(function Oe(Ce){var Ne,je,Ze,Pe,Ue,Qe,tt,ot=arguments;return ne.default.wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:return Ne=ot.length>1&&ot[1]!==void 0?ot[1]:{},je=Ce["continuation-token"]||Ce.continuationToken,je&&(Ne.subres=Object.assign({"continuation-token":je},Ne.subres)),Ze=this._objectRequestParams("GET","",Ne),Ze.query=Object.assign({"list-type":2},Ce),delete Ze.query["continuation-token"],delete Ze.query.continuationToken,Ze.xmlResponse=!0,Ze.successStatuses=[200],Ve.next=11,this.request(Ze);case 11:return Pe=Ve.sent,Ue=Pe.data.Contents||[],Qe=this,Ue&&(Array.isArray(Ue)||(Ue=[Ue]),Ue=Ue.map(function(Ye){var nt=null;return Ye.Owner&&(nt={id:Ye.Owner.ID,displayName:Ye.Owner.DisplayName}),{name:Ye.Key,url:Qe._objectUrl(Ye.Key),lastModified:Ye.LastModified,etag:Ye.ETag,type:Ye.Type,size:Number(Ye.Size),storageClass:Ye.StorageClass,owner:nt}})),tt=Pe.data.CommonPrefixes||null,tt&&(Array.isArray(tt)||(tt=[tt]),tt=tt.map(function(Ye){return Ye.Prefix})),Ve.abrupt("return",{res:Pe.res,objects:Ue,prefixes:tt,isTruncated:Pe.data.IsTruncated==="true",keyCount:+Pe.data.KeyCount,continuationToken:Pe.data.ContinuationToken||null,nextContinuationToken:Pe.data.NextContinuationToken||null});case 18:case"end":return Ve.stop()}},Oe,this)}));function Me(Oe){return _e.apply(this,arguments)}return Me}(),Ee.restore=function(){var _e=(0,ie.default)(ne.default.mark(function Oe(Ce){var Ne,je,Ze,Pe,Ue=arguments;return ne.default.wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return Ne=Ue.length>1&&Ue[1]!==void 0?Ue[1]:{type:"Archive"},Ne=Ne||{},Ne.subres=Object.assign({restore:""},Ne.subres),Ne.versionId&&(Ne.subres.versionId=Ne.versionId),je=this._objectRequestParams("POST",Ce,Ne),Ne.type==="ColdArchive"&&(Ze={RestoreRequest:{Days:Ne.Days?Ne.Days:2,JobParameters:{Tier:Ne.JobParameters?Ne.JobParameters:"Standard"}}},je.content=Le(Ze,{headers:!0}),je.mime="xml"),je.successStatuses=[202],tt.next=9,this.request(je);case 9:return Pe=tt.sent,tt.abrupt("return",{res:Pe.res});case 11:case"end":return tt.stop()}},Oe,this)}));function Me(Oe){return _e.apply(this,arguments)}return Me}(),Ee._objectUrl=function(Me){return this._getReqUrl({bucket:this.options.bucket,object:Me})},Ee._objectRequestParams=function(Me,Oe,Ce){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");Ce=Ce||{},Oe=this._objectName(Oe);var Ne={object:Oe,bucket:this.options.bucket,method:Me,subres:Ce&&Ce.subres,timeout:Ce&&Ce.timeout,ctx:Ce&&Ce.ctx};return Ce.headers&&(Ne.headers={},le(Ce.headers).to(Ne.headers)),Ne},Ee._objectName=function(Me){return Me.replace(/^\/+/,"")},Ee._convertMetaToHeaders=function(Me,Oe){Me&&Object.keys(Me).forEach(function(Ce){Oe["x-oss-meta-".concat(Ce)]=Me[Ce]})},Ee._deleteFileSafe=function(Me){var Oe=this;return new Promise(function(Ce){oe.exists(Me,function(Ne){Ne?oe.unlink(Me,function(je){je&&Oe.debug("unlink %j error: %s",Me,je,"error"),Ce()}):Ce()})})}},{"../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,De,ve){"use strict";ve.version="6.18.1"},{}],7:[function(x,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator")),ie=re(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.abortBucketWorm=void 0;var oe=x("../utils/checkBucketName");function le(te,ae){return me.apply(this,arguments)}function me(){return me=(0,ie.default)(ne.default.mark(function te(ae,ue){var de,he;return ne.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return oe.checkBucketName(ae),de=this._bucketRequestParams("DELETE",ae,"worm",ue),Se.next=4,this.request(de);case 4:return he=Se.sent,Se.abrupt("return",{res:he.res,status:he.status});case 6:case"end":return Se.stop()}},te,this)})),me.apply(this,arguments)}ve.abortBucketWorm=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(x,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator")),ie=re(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.completeBucketWorm=void 0;var oe=x("../utils/checkBucketName");function le(te,ae,ue){return me.apply(this,arguments)}function me(){return me=(0,ie.default)(ne.default.mark(function te(ae,ue,de){var he,we;return ne.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return oe.checkBucketName(ae),he=this._bucketRequestParams("POST",ae,{wormId:ue},de),xe.next=4,this.request(he);case 4:return we=xe.sent,xe.abrupt("return",{res:we.res,status:we.status});case 6:case"end":return xe.stop()}},te,this)})),me.apply(this,arguments)}ve.completeBucketWorm=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(x,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.deleteBucketInventory=void 0;var oe=x("../utils/checkBucketName");function le(te,ae){return me.apply(this,arguments)}function me(){return me=(0,ie.default)(ne.default.mark(function te(ae,ue){var de,he,we,Se,xe=arguments;return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return de=xe.length>2&&xe[2]!==void 0?xe[2]:{},he=Object.assign({inventory:"",inventoryId:ue},de.subres),oe.checkBucketName(ae),we=this._bucketRequestParams("DELETE",ae,he,de),we.successStatuses=[204],Ae.next=7,this.request(we);case 7:return Se=Ae.sent,Ae.abrupt("return",{status:Se.status,res:Se.res});case 9:case"end":return Ae.stop()}},te,this)})),me.apply(this,arguments)}ve.deleteBucketInventory=le},{"../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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator")),ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("../utils/checkBucketName"),le=oe.checkBucketName,me=ve;me.deleteBucketLifecycle=function(){var te=(0,ie.default)(ne.default.mark(function ue(de,he){var we,Se;return ne.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return le(de),we=this._bucketRequestParams("DELETE",de,"lifecycle",he),we.successStatuses=[204],ye.next=5,this.request(we);case 5:return Se=ye.sent,ye.abrupt("return",{res:Se.res});case 7:case"end":return ye.stop()}},ue,this)}));function ae(ue,de){return te.apply(this,arguments)}return ae}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(x,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator")),ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("../utils/checkBucketName"),le=oe.checkBucketName,me=ve;me.deleteBucketWebsite=function(){var te=(0,ie.default)(ne.default.mark(function ue(de,he){var we,Se;return ne.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return le(de),we=this._bucketRequestParams("DELETE",de,"website",he),we.successStatuses=[204],ye.next=5,this.request(we);case 5:return Se=ye.sent,ye.abrupt("return",{res:Se.res});case 7:case"end":return ye.stop()}},ue,this)}));function ae(ue,de){return te.apply(this,arguments)}return ae}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(x,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator")),ie=re(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.extendBucketWorm=void 0;var oe=x("../utils/checkBucketName"),le=x("../utils/obj2xml");function me(ae,ue,de,he){return te.apply(this,arguments)}function te(){return te=(0,ie.default)(ne.default.mark(function ae(ue,de,he,we){var Se,xe,ye;return ne.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return oe.checkBucketName(ue),Se=this._bucketRequestParams("POST",ue,{wormExtend:"",wormId:de},we),xe={ExtendWormConfiguration:{RetentionPeriodInDays:he}},Se.mime="xml",Se.content=le.obj2xml(xe,{headers:!0}),Se.successStatuses=[200],Le.next=8,this.request(Se);case 8:return ye=Le.sent,Le.abrupt("return",{res:ye.res,status:ye.status});case 10:case"end":return Le.stop()}},ae,this)})),te.apply(this,arguments)}ve.extendBucketWorm=me},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(x,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.getBucketInventory=void 0;var oe=x("../utils/checkBucketName"),le=x("../utils/formatInventoryConfig");function me(ae,ue){return te.apply(this,arguments)}function te(){return te=(0,ie.default)(ne.default.mark(function ae(ue,de){var he,we,Se,xe,ye=arguments;return ne.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return he=ye.length>2&&ye[2]!==void 0?ye[2]:{},we=Object.assign({inventory:"",inventoryId:de},he.subres),oe.checkBucketName(ue),Se=this._bucketRequestParams("GET",ue,we,he),Se.successStatuses=[200],Se.xmlResponse=!0,Le.next=8,this.request(Se);case 8:return xe=Le.sent,Le.abrupt("return",{status:xe.status,res:xe.res,inventory:le.formatInventoryConfig(xe.data)});case 10:case"end":return Le.stop()}},ae,this)})),te.apply(this,arguments)}ve.getBucketInventory=me},{"../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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.map.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("../utils/checkBucketName"),le=oe.checkBucketName,me=x("../utils/isArray"),te=me.isArray,ae=x("../utils/formatObjKey"),ue=ae.formatObjKey,de=ve;de.getBucketLifecycle=function(){var he=(0,ie.default)(ne.default.mark(function Se(xe,ye){var Ae,Le,Ee;return ne.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return le(xe),Ae=this._bucketRequestParams("GET",xe,"lifecycle",ye),Ae.successStatuses=[200],Ae.xmlResponse=!0,Me.next=6,this.request(Ae);case 6:return Le=Me.sent,Ee=Le.data.Rule||null,Ee&&(te(Ee)||(Ee=[Ee]),Ee=Ee.map(function(Oe){return Oe.ID&&(Oe.id=Oe.ID,delete Oe.ID),Oe.Tag&&!te(Oe.Tag)&&(Oe.Tag=[Oe.Tag]),ue(Oe,"firstLowerCase")})),Me.abrupt("return",{rules:Ee,res:Le.res});case 10:case"end":return Me.stop()}},Se,this)}));function we(Se,xe){return he.apply(this,arguments)}return we}()},{"../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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator")),ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("../utils/checkBucketName"),le=oe.checkBucketName,me=ve;me.getBucketVersioning=function(){var te=(0,ie.default)(ne.default.mark(function ue(de,he){var we,Se,xe;return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return le(de),we=this._bucketRequestParams("GET",de,"versioning",he),we.xmlResponse=!0,we.successStatuses=[200],Ae.next=6,this.request(we);case 6:return Se=Ae.sent,xe=Se.data.Status,Ae.abrupt("return",{status:Se.status,versionStatus:xe,res:Se.res});case 9:case"end":return Ae.stop()}},ue,this)}));function ae(ue,de){return te.apply(this,arguments)}return ae}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(x,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator")),ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("../utils/checkBucketName"),le=oe.checkBucketName,me=x("../utils/isObject"),te=me.isObject,ae=ve;ae.getBucketWebsite=function(){var ue=(0,ie.default)(ne.default.mark(function he(we,Se){var xe,ye,Ae;return ne.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return le(we),xe=this._bucketRequestParams("GET",we,"website",Se),xe.successStatuses=[200],xe.xmlResponse=!0,Ee.next=6,this.request(xe);case 6:return ye=Ee.sent,Ae=[],ye.data.RoutingRules&&ye.data.RoutingRules.RoutingRule&&(te(ye.data.RoutingRules.RoutingRule)?Ae=[ye.data.RoutingRules.RoutingRule]:Ae=ye.data.RoutingRules.RoutingRule),Ee.abrupt("return",{index:ye.data.IndexDocument&&ye.data.IndexDocument.Suffix||"",supportSubDir:ye.data.IndexDocument&&ye.data.IndexDocument.SupportSubDir||"false",type:ye.data.IndexDocument&&ye.data.IndexDocument.Type,routingRules:Ae,error:ye.data.ErrorDocument&&ye.data.ErrorDocument.Key||null,res:ye.res});case 10:case"end":return Ee.stop()}},he,this)}));function de(he,we){return ue.apply(this,arguments)}return de}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(x,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.getBucketWorm=void 0;var oe=x("../utils/checkBucketName"),le=x("../utils/dataFix");function me(ae,ue){return te.apply(this,arguments)}function te(){return te=(0,ie.default)(ne.default.mark(function ae(ue,de){var he,we;return ne.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return oe.checkBucketName(ue),he=this._bucketRequestParams("GET",ue,"worm",de),he.successStatuses=[200],he.xmlResponse=!0,xe.next=6,this.request(he);case 6:return we=xe.sent,le.dataFix(we.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),xe.abrupt("return",Object.assign(Object.assign({},we.data),{res:we.res,status:we.status}));case 9:case"end":return xe.stop()}},ae,this)})),te.apply(this,arguments)}ve.getBucketWorm=me},{"../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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator")),ie=re(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.initiateBucketWorm=void 0;var oe=x("../utils/obj2xml"),le=x("../utils/checkBucketName");function me(ae,ue,de){return te.apply(this,arguments)}function te(){return te=(0,ie.default)(ne.default.mark(function ae(ue,de,he){var we,Se,xe;return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return le.checkBucketName(ue),we=this._bucketRequestParams("POST",ue,"worm",he),Se={InitiateWormConfiguration:{RetentionPeriodInDays:de}},we.mime="xml",we.content=oe.obj2xml(Se,{headers:!0}),we.successStatuses=[200],Ae.next=8,this.request(we);case 8:return xe=Ae.sent,Ae.abrupt("return",{res:xe.res,wormId:xe.res.headers["x-oss-worm-id"],status:xe.status});case 10:case"end":return Ae.stop()}},ae,this)})),te.apply(this,arguments)}ve.initiateBucketWorm=me},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(x,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.listBucketInventory=void 0;var oe=x("../utils/checkBucketName"),le=x("../utils/formatInventoryConfig");function me(ae){return te.apply(this,arguments)}function te(){return te=(0,ie.default)(ne.default.mark(function ae(ue){var de,he,we,Se,xe,ye,Ae,Le,Ee=arguments;return ne.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return de=Ee.length>1&&Ee[1]!==void 0?Ee[1]:{},he=de.continuationToken,we=Object.assign({inventory:""},he&&{"continuation-token":he},de.subres),oe.checkBucketName(ue),Se=this._bucketRequestParams("GET",ue,we,de),Se.successStatuses=[200],Se.xmlResponse=!0,Me.next=9,this.request(Se);case 9:return xe=Me.sent,ye=xe.data,Ae=xe.res,Le=xe.status,Me.abrupt("return",{isTruncated:ye.IsTruncated==="true",nextContinuationToken:ye.NextContinuationToken,inventoryList:le.formatInventoryConfig(ye.InventoryConfiguration,!0),status:Le,res:Ae});case 12:case"end":return Me.stop()}},ae,this)})),te.apply(this,arguments)}ve.listBucketInventory=me},{"../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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js"),x("core-js/modules/es.array.concat.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.putBucketInventory=void 0;var oe=x("../utils/checkBucketName"),le=x("../utils/obj2xml");function me(ae,ue){return te.apply(this,arguments)}function te(){return te=(0,ie.default)(ne.default.mark(function ae(ue,de){var he,we,Se,xe,ye,Ae,Le,Ee,_e,Me,Oe,Ce=arguments;return ne.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return he=Ce.length>2&&Ce[2]!==void 0?Ce[2]:{},we=Object.assign({inventory:"",inventoryId:de.id},he.subres),oe.checkBucketName(ue),Se=de.OSSBucketDestination,xe=de.optionalFields,ye=de.includedObjectVersions,Ae="acs:oss:::",Le="acs:ram::".concat(Se.accountId,":role/"),Ee={InventoryConfiguration:{Id:de.id,IsEnabled:de.isEnabled,Filter:{Prefix:de.prefix||""},Destination:{OSSBucketDestination:{Format:Se.format,AccountId:Se.accountId,RoleArn:"".concat(Le).concat(Se.rolename),Bucket:"".concat(Ae).concat(Se.bucket),Prefix:Se.prefix||"",Encryption:Se.encryption||""}},Schedule:{Frequency:de.frequency},IncludedObjectVersions:ye,OptionalFields:{Field:(xe==null?void 0:xe.field)||[]}}},_e=le.obj2xml(Ee,{headers:!0,firstUpperCase:!0}),Me=this._bucketRequestParams("PUT",ue,we,he),Me.successStatuses=[200],Me.mime="xml",Me.content=_e,je.next=14,this.request(Me);case 14:return Oe=je.sent,je.abrupt("return",{status:Oe.status,res:Oe.res});case 16:case"end":return je.stop()}},ae,this)})),te.apply(this,arguments)}ve.putBucketInventory=me},{"../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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(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 ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("../utils/checkBucketName"),le=oe.checkBucketName,me=x("../utils/isArray"),te=me.isArray,ae=x("../utils/deepCopy"),ue=ae.deepCopy,de=x("../utils/isObject"),he=de.isObject,we=x("../utils/obj2xml"),Se=we.obj2xml,xe=x("../utils/checkObjectTag"),ye=xe.checkObjectTag,Ae=x("../utils/getStrBytesCount"),Le=Ae.getStrBytesCount,Ee=ve;Ee.putBucketLifecycle=function(){var Ne=(0,ie.default)(ne.default.mark(function Ze(Pe,Ue,Qe){var tt,ot,lt,Ve,Ye;return ne.default.wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:if(le(Pe),te(Ue)){dt.next=3;break}throw new Error("rules must be Array");case 3:return tt=this._bucketRequestParams("PUT",Pe,"lifecycle",Qe),ot=[],lt={LifecycleConfiguration:{Rule:ot}},Ue.forEach(function(at){_e(at),Ce(at),at.id&&(at.ID=at.id,delete at.id),ot.push(at)}),Ve=Se(lt,{headers:!0,firstUpperCase:!0}),tt.content=Ve,tt.mime="xml",tt.successStatuses=[200],dt.next=13,this.request(tt);case 13:return Ye=dt.sent,dt.abrupt("return",{res:Ye.res});case 15:case"end":return dt.stop()}},Ze,this)}));function je(Ze,Pe,Ue){return Ne.apply(this,arguments)}return je}();function _e(Ne){Ne.days&&(Ne.expiration={days:Ne.days}),Ne.date&&(Ne.expiration={createdBeforeDate:Ne.date})}function Me(Ne,je){var Ze=Ne.days,Pe=Ne.createdBeforeDate;if(!Ze&&!Pe)throw new Error("".concat(je," must includes days or createdBeforeDate"));if(Ze&&!/^[1-9][0-9]*$/.test(Ze))throw new Error("days must be a positive integer");if(Pe&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(Pe))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function Oe(Ne){if(!te(Ne)&&!he(Ne))throw new Error("tag must be Object or Array");Ne=he(Ne)?[Ne]:Ne;var je={},Ze=ue(Ne);Ze.forEach(function(Pe){je[Pe.key]=Pe.value}),ye(je)}function Ce(Ne){if(Ne.id&&Le(Ne.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Ne.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Ne.status))throw new Error("Status must be Enabled or Disabled");if(Ne.transition){if(!["IA","Archive"].includes(Ne.transition.storageClass))throw new Error("StorageClass must be IA or Archive");Me(Ne.transition,"Transition")}if(Ne.expiration){if(!Ne.expiration.expiredObjectDeleteMarker)Me(Ne.expiration,"Expiration");else if(Ne.expiration.days||Ne.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Ne.abortMultipartUpload&&Me(Ne.abortMultipartUpload,"AbortMultipartUpload"),!Ne.expiration&&!Ne.abortMultipartUpload&&!Ne.transition&&!Ne.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Ne.tag){if(Ne.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");Oe(Ne.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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.includes.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("../utils/checkBucketName"),le=oe.checkBucketName,me=x("../utils/obj2xml"),te=me.obj2xml,ae=ve;ae.putBucketVersioning=function(){var ue=(0,ie.default)(ne.default.mark(function he(we,Se){var xe,ye,Ae,Le,Ee=arguments;return ne.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(xe=Ee.length>2&&Ee[2]!==void 0?Ee[2]:{},le(we),["Enabled","Suspended"].includes(Se)){Me.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return ye=this._bucketRequestParams("PUT",we,"versioning",xe),Ae={VersioningConfiguration:{Status:Se}},ye.mime="xml",ye.content=te(Ae,{headers:!0}),Me.next=10,this.request(ye);case 10:return Le=Me.sent,Me.abrupt("return",{res:Le.res,status:Le.status});case 12:case"end":return Me.stop()}},he,this)}));function de(he,we){return ue.apply(this,arguments)}return de}()},{"../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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator")),ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("../utils/checkBucketName"),le=oe.checkBucketName,me=x("../utils/obj2xml"),te=me.obj2xml,ae=x("../utils/isArray"),ue=ae.isArray,de=ve;de.putBucketWebsite=function(){var he=(0,ie.default)(ne.default.mark(function Se(xe){var ye,Ae,Le,Ee,_e,Me,Oe,Ce=arguments;return ne.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(ye=Ce.length>1&&Ce[1]!==void 0?Ce[1]:{},Ae=Ce.length>2?Ce[2]:void 0,le(xe),Le=this._bucketRequestParams("PUT",xe,"website",Ae),Ee={Suffix:ye.index||"index.html"},_e={IndexDocument:Ee},Me={WebsiteConfiguration:_e},ye.supportSubDir&&(Ee.SupportSubDir=ye.supportSubDir),ye.type&&(Ee.Type=ye.type),ye.error&&(_e.ErrorDocument={Key:ye.error}),ye.routingRules===void 0){je.next=14;break}if(ue(ye.routingRules)){je.next=13;break}throw new Error("RoutingRules must be Array");case 13:_e.RoutingRules={RoutingRule:ye.routingRules};case 14:return Me=te(Me),Le.content=Me,Le.mime="xml",Le.successStatuses=[200],je.next=20,this.request(Le);case 20:return Oe=je.sent,je.abrupt("return",{res:Oe.res});case 22:case"end":return je.stop()}},Se,this)}));function we(Se){return he.apply(this,arguments)}return we}()},{"../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,De,ve){(function(re){(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"),ve.encodeCallback=function(ie,oe){if(ie.headers=ie.headers||{},!Object.prototype.hasOwnProperty.call(ie.headers,"x-oss-callback")&&oe.callback){var le={callbackUrl:encodeURI(oe.callback.url),callbackBody:oe.callback.body};oe.callback.host&&(le.callbackHost=oe.callback.host),oe.callback.contentType&&(le.callbackBodyType=oe.callback.contentType);var me=re.from(JSON.stringify(le)).toString("base64");if(ie.headers["x-oss-callback"]=me,oe.callback.customValue){var te={};Object.keys(oe.callback.customValue).forEach(function(ae){te["x:".concat(ae)]=oe.callback.customValue[ae].toString()}),ie.headers["x-oss-callback-var"]=re.from(JSON.stringify(te)).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,De,ve){"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 re=function(ue){return ue&&ue.__esModule?ue:{default:ue}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.getReqUrl=void 0;var ne=re(x("copy-to")),ie=re(x("url")),oe=re(x("merge-descriptors")),le=re(x("is-type-of")),me=x("../utils/isIP"),te=x("../utils/checkConfigValid");function ae(ue){var de={},he=this.options.cname;te.checkConfigValid(this.options.endpoint,"endpoint"),ne.default(this.options.endpoint,!1).to(de),ue.bucket&&!he&&!me.isIP(de.hostname)&&!this.options.sldEnable&&(de.host="".concat(ue.bucket,".").concat(de.host));var we="/";ue.bucket&&this.options.sldEnable&&(we+="".concat(ue.bucket,"/")),ue.object&&(we+=this._escape(ue.object).replace(/\+/g,"%2B")),de.pathname=we;var Se={};if(ue.query&&oe.default(Se,ue.query),ue.subres){var xe={};le.default.string(ue.subres)?xe[ue.subres]="":le.default.array(ue.subres)?ue.subres.forEach(function(ye){xe[ye]=""}):xe=ue.subres,oe.default(Se,xe)}return de.query=Se,ie.default.format(de)}ve.getReqUrl=ae},{"../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,De,ve){"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 re=x("humanize-ms"),ne=x("url"),ie=x("../utils/checkBucketName"),oe=ie.checkBucketName,le=x("../utils/setRegion"),me=le.setRegion,te=x("../utils/checkConfigValid"),ae=te.checkConfigValid;function ue(de,he){ae(de,"endpoint");var we=ne.parse(de);if(we.protocol||(we=ne.parse("http".concat(he?"s":"","://").concat(de))),we.protocol!=="http:"&&we.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return we}De.exports=function(de){if(!de||!de.accessKeyId||!de.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");de.stsToken&&!de.refreshSTSToken&&!de.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),de.bucket&&oe(de.bucket);var he=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},de);if(he.accessKeyId=he.accessKeyId.trim(),he.accessKeySecret=he.accessKeySecret.trim(),he.timeout&&(he.timeout=re(he.timeout)),he.endpoint)he.endpoint=ue(he.endpoint,he.secure);else if(he.region)he.endpoint=me(he.region,he.internal,he.secure);else throw new Error("require options.endpoint or options.region");return he.inited=!0,he}},{"../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,De,ve){"use strict";var re=x("merge-descriptors"),ne=ve;re(ne,x("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(x,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.array.concat.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("../utils/checkBucketName"),le=oe.checkBucketName,me=x("querystring"),te=x("js-base64"),ae=te.Base64.encode,ue=ve;ue.processObjectSave=function(){var he=(0,ie.default)(ne.default.mark(function Se(xe,ye,Ae,Le){var Ee,_e,Me,Oe;return ne.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:return de(xe,"sourceObject"),de(ye,"targetObject"),de(Ae,"process"),ye=this._objectName(ye),Le&&le(Le),Ee=this._objectRequestParams("POST",xe,{subres:"x-oss-process"}),_e=Le?",b_".concat(ae(Le)):"",ye=ae(ye),Me={"x-oss-process":"".concat(Ae,"|sys/saveas,o_").concat(ye).concat(_e)},Ee.content=me.stringify(Me),Ne.next=12,this.request(Ee);case 12:return Oe=Ne.sent,Ne.abrupt("return",{res:Oe.res,status:Oe.res.status});case 14:case"end":return Ne.stop()}},Se,this)}));function we(Se,xe,ye,Ae){return he.apply(this,arguments)}return we}();function de(he,we){if(!he)throw new Error("".concat(we," is required"));if(typeof he!="string")throw new Error("".concat(we," 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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(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 ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("debug")("ali-oss:multipart-copy"),le=x("copy-to"),me=ve;me.uploadPartCopy=function(){var te=(0,ie.default)(ne.default.mark(function ue(de,he,we,Se,xe){var ye,Ae,Le,Ee,_e,Me=arguments;return ne.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return ye=Me.length>5&&Me[5]!==void 0?Me[5]:{},ye.headers=ye.headers||{},Ae=ye.versionId||ye.subres&&ye.subres.versionId||null,Ae?Le="/".concat(xe.sourceBucketName,"/").concat(encodeURIComponent(xe.sourceKey),"?versionId=").concat(Ae):Le="/".concat(xe.sourceBucketName,"/").concat(encodeURIComponent(xe.sourceKey)),ye.headers["x-oss-copy-source"]=Le,Se&&(ye.headers["x-oss-copy-source-range"]="bytes=".concat(Se)),ye.subres={partNumber:we,uploadId:he},Ee=this._objectRequestParams("PUT",de,ye),Ee.mime=ye.mime,Ee.successStatuses=[200],Ce.next=12,this.request(Ee);case 12:return _e=Ce.sent,Ce.abrupt("return",{name:de,etag:_e.res.headers.etag,res:_e.res});case 14:case"end":return Ce.stop()}},ue,this)}));function ae(ue,de,he,we,Se){return te.apply(this,arguments)}return ae}(),me.multipartUploadCopy=function(){var te=(0,ie.default)(ne.default.mark(function ue(de,he){var we,Se,xe,ye,Ae,Le,Ee,_e,Me,Oe,Ce,Ne,je=arguments;return ne.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return we=je.length>2&&je[2]!==void 0?je[2]:{},this.resetCancelFlag(),Se=we.versionId,xe=Se===void 0?null:Se,ye={versionId:xe},Pe.next=6,this._getObjectMeta(he.sourceBucketName,he.sourceKey,ye);case 6:if(Ae=Pe.sent,Le=Ae.res.headers["content-length"],he.startOffset=he.startOffset||0,he.endOffset=he.endOffset||Le,!(we.checkpoint&&we.checkpoint.uploadId)){Pe.next=14;break}return Pe.next=13,this._resumeMultipartCopy(we.checkpoint,he,we);case 13:return Pe.abrupt("return",Pe.sent);case 14:if(Ee=102400,_e=he.endOffset-he.startOffset,!(_e<Ee)){Pe.next=18;break}throw new Error("copySize must not be smaller than ".concat(Ee));case 18:if(!(we.partSize&&we.partSize<Ee)){Pe.next=20;break}throw new Error("partSize must not be smaller than ".concat(Ee));case 20:return Pe.next=22,this.initMultipartUpload(de,we);case 22:if(Me=Pe.sent,Oe=Me.uploadId,Ce=this._getPartSize(_e,we.partSize),Ne={name:de,copySize:_e,partSize:Ce,uploadId:Oe,doneParts:[]},!(we&&we.progress)){Pe.next=29;break}return Pe.next=29,we.progress(0,Ne,Me.res);case 29:return Pe.next=31,this._resumeMultipartCopy(Ne,he,we);case 31:return Pe.abrupt("return",Pe.sent);case 32:case"end":return Pe.stop()}},ue,this)}));function ae(ue,de){return te.apply(this,arguments)}return ae}(),me._resumeMultipartCopy=function(){var te=(0,ie.default)(ne.default.mark(function ue(de,he,we){var Se,xe,ye,Ae,Le,Ee,_e,Me,Oe,Ce,Ne,je,Ze,Pe,Ue,Qe,tt,ot,lt,Ve,Ye;return ne.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=we.versionId,xe=Se===void 0?null:Se,ye={versionId:xe},Ae=de.copySize,Le=de.partSize,Ee=de.uploadId,_e=de.doneParts,Me=de.name,Oe=this._divideMultipartCopyParts(Ae,Le,he.startOffset),Ce=Oe.length,Ne={headers:{}},we.copyheaders&&le(we.copyheaders).to(Ne.headers),xe&&le(ye).to(Ne),je=function(et,qe,it){return new Promise(function(){var yt=(0,ie.default)(ne.default.mark(function ht(Bt,Et){var st,Ge,We;return ne.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:if(fe.prev=0,et.isCancel()){fe.next=22;break}return st=Oe[qe-1],Ge="".concat(st.start,"-").concat(st.end-1),fe.prev=4,fe.next=7,et.uploadPartCopy(Me,Ee,qe,Ge,it,Ne);case 7:We=fe.sent,fe.next=15;break;case 10:if(fe.prev=10,fe.t0=fe.catch(4),fe.t0.status!==404){fe.next=14;break}throw et._makeAbortEvent();case 14:throw fe.t0;case 15:if(et.isCancel()){fe.next=22;break}if(oe("content-range ".concat(We.res.headers["content-range"])),_e.push({number:qe,etag:We.res.headers.etag}),de.doneParts=_e,!(we&&we.progress)){fe.next=22;break}return fe.next=22,we.progress(_e.length/Ce,de,We.res);case 22:Bt(),fe.next=29;break;case 25:fe.prev=25,fe.t1=fe.catch(0),fe.t1.partNum=qe,Et(fe.t1);case 29:case"end":return fe.stop()}},ht,null,[[0,25],[4,10]])}));return function(ht,Bt){return yt.apply(this,arguments)}}())},Ze=Array.from(new Array(Ce),function(at,et){return et+1}),Pe=_e.map(function(at){return at.number}),Ue=Ze.filter(function(at){return Pe.indexOf(at)<0}),Qe=5,tt=we.parallel||Qe,!(this.checkBrowserAndVersion("Internet Explorer","10")||tt===1)){dt.next=28;break}ot=0;case 18:if(!(ot<Ue.length)){dt.next=26;break}if(!this.isCancel()){dt.next=21;break}throw this._makeCancelEvent();case 21:return dt.next=23,je(this,Ue[ot],he);case 23:ot++,dt.next=18;break;case 26:dt.next=40;break;case 28:return dt.next=30,this._parallelNode(Ue,tt,je,he);case 30:if(lt=dt.sent,Ve=lt.find(function(at){return at.name==="abort"}),!Ve){dt.next=34;break}throw Ve;case 34:if(!this.isCancel()){dt.next=36;break}throw this._makeCancelEvent();case 36:if(!(lt&&lt.length>0)){dt.next=40;break}throw Ye=lt[0],Ye.message="Failed to copy some parts with error: ".concat(Ye.toString()," part_num: ").concat(Ye.partNum),Ye;case 40:return dt.next=42,this.completeMultipartUpload(Me,Ee,_e,we);case 42:return dt.abrupt("return",dt.sent);case 43:case"end":return dt.stop()}},ue,this)}));function ae(ue,de,he){return te.apply(this,arguments)}return ae}(),me._divideMultipartCopyParts=function(ae,ue,de){for(var he=Math.ceil(ae/ue),we=[],Se=0;Se<he;Se++){var xe=ue*Se+de,ye=Math.min(xe+ue,ae+de);we.push({start:xe,end:ye})}return we},me._getObjectMeta=function(){var te=(0,ie.default)(ne.default.mark(function ue(de,he,we){var Se,xe;return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Se=this.getBucket(),this.setBucket(de),Ae.next=4,this.head(he,we);case 4:return xe=Ae.sent,this.setBucket(Se),Ae.abrupt("return",xe);case 7:case"end":return Ae.stop()}},ue,this)}));function ae(ue,de,he){return te.apply(this,arguments)}return ae}()},{"@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,De,ve){(function(re){(function(){"use strict";var ne=x("@babel/runtime/helpers/interopRequireDefault"),ie=ne(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 oe=ne(x("@babel/runtime/helpers/asyncToGenerator")),le=x("copy-to"),me=x("./callback"),te=x("./utils/deepCopy"),ae=te.deepCopyWith,ue=x("./utils/isBuffer"),de=ue.isBuffer,he=x("./utils/omit"),we=he.omit,Se=ve;Se.listUploads=function(){var xe=(0,oe.default)(ie.default.mark(function Ae(Le,Ee){var _e,Me,Oe,Ce;return ie.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return Ee=Ee||{},_e={},le(Ee).to(_e),_e.subres="uploads",Me=this._objectRequestParams("GET","",_e),Me.query=Le,Me.xmlResponse=!0,Me.successStatuses=[200],je.next=10,this.request(Me);case 10:return Oe=je.sent,Ce=Oe.data.Upload||[],Array.isArray(Ce)||(Ce=[Ce]),Ce=Ce.map(function(Ze){return{name:Ze.Key,uploadId:Ze.UploadId,initiated:Ze.Initiated}}),je.abrupt("return",{res:Oe.res,uploads:Ce,bucket:Oe.data.Bucket,nextKeyMarker:Oe.data.NextKeyMarker,nextUploadIdMarker:Oe.data.NextUploadIdMarker,isTruncated:Oe.data.IsTruncated==="true"});case 15:case"end":return je.stop()}},Ae,this)}));function ye(Ae,Le){return xe.apply(this,arguments)}return ye}(),Se.listParts=function(){var xe=(0,oe.default)(ie.default.mark(function Ae(Le,Ee,_e,Me){var Oe,Ce,Ne;return ie.default.wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:return Me=Me||{},Oe={},le(Me).to(Oe),Oe.subres={uploadId:Ee},Ce=this._objectRequestParams("GET",Le,Oe),Ce.query=_e,Ce.xmlResponse=!0,Ce.successStatuses=[200],Ze.next=10,this.request(Ce);case 10:return Ne=Ze.sent,Ze.abrupt("return",{res:Ne.res,uploadId:Ne.data.UploadId,bucket:Ne.data.Bucket,name:Ne.data.Key,partNumberMarker:Ne.data.PartNumberMarker,nextPartNumberMarker:Ne.data.NextPartNumberMarker,maxParts:Ne.data.MaxParts,isTruncated:Ne.data.IsTruncated,parts:Ne.data.Part||[]});case 12:case"end":return Ze.stop()}},Ae,this)}));function ye(Ae,Le,Ee,_e){return xe.apply(this,arguments)}return ye}(),Se.abortMultipartUpload=function(){var xe=(0,oe.default)(ie.default.mark(function Ae(Le,Ee,_e){var Me,Oe,Ce;return ie.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return this._stop(),_e=_e||{},Me={},le(_e).to(Me),Me.subres={uploadId:Ee},Oe=this._objectRequestParams("DELETE",Le,Me),Oe.successStatuses=[204],je.next=9,this.request(Oe);case 9:return Ce=je.sent,je.abrupt("return",{res:Ce.res});case 11:case"end":return je.stop()}},Ae,this)}));function ye(Ae,Le,Ee){return xe.apply(this,arguments)}return ye}(),Se.initMultipartUpload=function(){var xe=(0,oe.default)(ie.default.mark(function Ae(Le,Ee){var _e,Me,Oe;return ie.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:return Ee=Ee||{},_e={},le(Ee).to(_e),_e.headers=_e.headers||{},this._convertMetaToHeaders(Ee.meta,_e.headers),_e.subres="uploads",Me=this._objectRequestParams("POST",Le,_e),Me.mime=Ee.mime,Me.xmlResponse=!0,Me.successStatuses=[200],Ne.next=12,this.request(Me);case 12:return Oe=Ne.sent,Ne.abrupt("return",{res:Oe.res,bucket:Oe.data.Bucket,name:Oe.data.Key,uploadId:Oe.data.UploadId});case 14:case"end":return Ne.stop()}},Ae,this)}));function ye(Ae,Le){return xe.apply(this,arguments)}return ye}(),Se.uploadPart=function(){var xe=(0,oe.default)(ie.default.mark(function Ae(Le,Ee,_e,Me,Oe,Ce,Ne){var je,Ze;return ie.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:if(je={size:Ce-Oe},Ze=re&&re.browser,!Ze){Ue.next=8;break}return Ue.next=5,this._createBuffer(Me,Oe,Ce);case 5:je.content=Ue.sent,Ue.next=11;break;case 8:return Ue.next=10,this._createStream(Me,Oe,Ce);case 10:je.stream=Ue.sent;case 11:return Ue.next=13,this._uploadPart(Le,Ee,_e,je,Ne);case 13:return Ue.abrupt("return",Ue.sent);case 14:case"end":return Ue.stop()}},Ae,this)}));function ye(Ae,Le,Ee,_e,Me,Oe,Ce){return xe.apply(this,arguments)}return ye}(),Se.completeMultipartUpload=function(){var xe=(0,oe.default)(ie.default.mark(function Ae(Le,Ee,_e,Me){var Oe,Ce,Ne,je,Ze,Pe,Ue,Qe;return ie.default.wrap(function(ot){for(;;)switch(ot.prev=ot.next){case 0:for(Oe=_e.concat().sort(function(lt,Ve){return lt.number-Ve.number}).filter(function(lt,Ve,Ye){return!Ve||lt.number!==Ye[Ve-1].number}),Ce=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,Ne=0;Ne<Oe.length;Ne++)je=Oe[Ne],Ce+=`<Part>
`,Ce+="<PartNumber>".concat(je.number,`</PartNumber>
`),Ce+="<ETag>".concat(je.etag,`</ETag>
`),Ce+=`</Part>
`;return Ce+="</CompleteMultipartUpload>",Me=Me||{},Ze={},Ze=ae(Me,function(lt){if(de(lt))return null}),Ze.subres={uploadId:Ee},Ze.headers=we(Ze.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Pe=this._objectRequestParams("POST",Le,Ze),me.encodeCallback(Pe,Ze),Pe.mime="xml",Pe.content=Ce,Pe.headers&&Pe.headers["x-oss-callback"]||(Pe.xmlResponse=!0),Pe.successStatuses=[200],ot.next=17,this.request(Pe);case 17:if(Ue=ot.sent,!Me.progress){ot.next=21;break}return ot.next=21,Me.progress(1,null,Ue.res);case 21:return Qe={res:Ue.res,bucket:Pe.bucket,name:Le,etag:Ue.res.headers.etag},Pe.headers&&Pe.headers["x-oss-callback"]&&(Qe.data=JSON.parse(Ue.data.toString())),ot.abrupt("return",Qe);case 24:case"end":return ot.stop()}},Ae,this)}));function ye(Ae,Le,Ee,_e){return xe.apply(this,arguments)}return ye}(),Se._uploadPart=function(){var xe=(0,oe.default)(ie.default.mark(function Ae(Le,Ee,_e,Me,Oe){var Ce,Ne,je,Ze;return ie.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:return Oe=Oe||{},Ce={},le(Oe).to(Ce),Ce.headers=Ce.headers||{},Ce.headers["Content-Length"]=Me.size,Ce.headers=we(Ce.headers,["x-oss-server-side-encryption"]),Ce.subres={partNumber:_e,uploadId:Ee},Ne=this._objectRequestParams("PUT",Le,Ce),Ne.mime=Ce.mime,je=re&&re.browser,je?Ne.content=Me.content:Ne.stream=Me.stream,Ne.successStatuses=[200],Ne.disabledMD5=Oe.disabledMD5,Ue.next=15,this.request(Ne);case 15:if(Ze=Ue.sent,Ze.res.headers.etag){Ue.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 Me.stream&&(Me.stream=null,Ne.stream=null),Ue.abrupt("return",{name:Le,etag:Ze.res.headers.etag,res:Ze.res});case 20:case"end":return Ue.stop()}},Ae,this)}));function ye(Ae,Le,Ee,_e,Me){return xe.apply(this,arguments)}return ye}()}).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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator")),ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("url"),le=x("utility"),me=x("copy-to"),te=x("../../common/signUtils"),ae=x("../utils/isIP"),ue=ae.isIP,de=x("../utils/setSTSToken"),he=de.setSTSToken,we=x("../utils/isFunction"),Se=we.isFunction,xe=ve;xe.asyncSignatureUrl=function(){var ye=(0,ie.default)(ne.default.mark(function Le(Ee,_e){var Me,Oe,Ce,Ne,je;return ne.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(!ue(this.options.endpoint.hostname)){Pe.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(_e=_e||{},Ee=this._objectName(Ee),_e.method=_e.method||"GET",Me=le.timestamp()+(_e.expires||1800),Oe={bucket:this.options.bucket,object:Ee},Ce=this._getResource(Oe),!(this.options.stsToken&&Se(this.options.refreshSTSToken))){Pe.next=11;break}return Pe.next=11,he.call(this);case 11:return this.options.stsToken&&(_e["security-token"]=this.options.stsToken),Ne=te._signatureForURL(this.options.accessKeySecret,_e,Ce,Me),je=oe.parse(this._getReqUrl(Oe)),je.query={OSSAccessKeyId:this.options.accessKeyId,Expires:Me,Signature:Ne.Signature},me(Ne.subResource).to(je.query),Pe.abrupt("return",je.format());case 17:case"end":return Pe.stop()}},Le,this)}));function Ae(Le,Ee){return ye.apply(this,arguments)}return Ae}()},{"../../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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(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 ie=re(x("@babel/runtime/helpers/typeof")),oe=re(x("@babel/runtime/helpers/asyncToGenerator")),le=x("../utils/checkBucketName"),me=le.checkBucketName,te=ve,ae=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];te.copy=function(){var ue=(0,oe.default)(ne.default.mark(function he(we,Se,xe,ye){var Ae,Le,Ee;return ne.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return(0,ie.default)(xe)==="object"&&(ye=xe),ye=ye||{},ye.headers=ye.headers||{},Object.keys(ye.headers).forEach(function(Oe){ye.headers["x-oss-copy-source-".concat(Oe.toLowerCase())]=ye.headers[Oe]}),(ye.meta||Object.keys(ye.headers).find(function(Oe){return ae.includes(Oe.toLowerCase())}))&&(ye.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(ye.meta,ye.headers),Se=this._getSourceName(Se,xe),ye.versionId&&(Se="".concat(Se,"?versionId=").concat(ye.versionId)),ye.headers["x-oss-copy-source"]=Se,Ae=this._objectRequestParams("PUT",we,ye),Ae.xmlResponse=!0,Ae.successStatuses=[200,304],Me.next=14,this.request(Ae);case 14:return Le=Me.sent,Ee=Le.data,Ee&&(Ee={etag:Ee.ETag,lastModified:Ee.LastModified}),Me.abrupt("return",{data:Ee,res:Le.res});case 18:case"end":return Me.stop()}},he,this)}));function de(he,we,Se,xe){return ue.apply(this,arguments)}return de}(),te._getSourceName=function(de,he){return typeof he=="string"?de=this._objectName(de):de[0]!=="/"?he=this.options.bucket:(he=de.replace(/\/(.+?)(\/.*)/,"$1"),de=de.replace(/(\/.+?\/)(.*)/,"$2")),me(he),de=encodeURIComponent(de),de="/".concat(he,"/").concat(de),de}},{"../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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=ve;oe.delete=function(){var le=(0,ie.default)(ne.default.mark(function te(ae){var ue,de,he,we=arguments;return ne.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return ue=we.length>1&&we[1]!==void 0?we[1]:{},ue.subres=Object.assign({},ue.subres),ue.versionId&&(ue.subres.versionId=ue.versionId),de=this._objectRequestParams("DELETE",ae,ue),de.successStatuses=[204],xe.next=7,this.request(de);case 7:return he=xe.sent,xe.abrupt("return",{res:he.res});case 9:case"end":return xe.stop()}},te,this)}));function me(te){return le.apply(this,arguments)}return me}()},{"@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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("utility"),le=x("../utils/obj2xml"),me=le.obj2xml,te=ve;te.deleteMulti=function(){var ae=(0,ie.default)(ne.default.mark(function de(he){var we,Se,xe,ye,Ae,Le,Ee,_e,Me,Oe,Ce,Ne,je,Ze=arguments;return ne.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:if(we=Ze.length>1&&Ze[1]!==void 0?Ze[1]:{},Se=[],!(!he||!he.length)){Ue.next=4;break}throw new Error("names is required");case 4:for(xe=0;xe<he.length;xe++)ye={},typeof he[xe]=="string"?ye.Key=oe.escape(this._objectName(he[xe])):(Ae=he[xe],Le=Ae.key,Ee=Ae.versionId,ye.Key=oe.escape(this._objectName(Le)),ye.VersionId=Ee),Se.push(ye);return _e={Delete:{Quiet:!!we.quiet,Object:Se}},Me=me(_e,{headers:!0}),we.subres=Object.assign({delete:""},we.subres),we.versionId&&(we.subres.versionId=we.versionId),Oe=this._objectRequestParams("POST","",we),Oe.mime="xml",Oe.content=Me,Oe.xmlResponse=!0,Oe.successStatuses=[200],Ue.next=16,this.request(Oe);case 16:return Ce=Ue.sent,Ne=Ce.data,je=Ne&&Ne.Deleted||null,je&&(Array.isArray(je)||(je=[je])),Ue.abrupt("return",{res:Ce.res,deleted:je||[]});case 21:case"end":return Ue.stop()}},de,this)}));function ue(de){return ae.apply(this,arguments)}return ue}()},{"../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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=ve;oe.deleteObjectTagging=function(){var le=(0,ie.default)(ne.default.mark(function te(ae){var ue,de,he,we=arguments;return ne.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return ue=we.length>1&&we[1]!==void 0?we[1]:{},ue.subres=Object.assign({tagging:""},ue.subres),ue.versionId&&(ue.subres.versionId=ue.versionId),ae=this._objectName(ae),de=this._objectRequestParams("DELETE",ae,ue),de.successStatuses=[204],xe.next=8,this.request(de);case 8:return he=xe.sent,xe.abrupt("return",{status:he.status,res:he.res});case 10:case"end":return xe.stop()}},te,this)}));function me(te){return le.apply(this,arguments)}return me}()},{"@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,De,ve){"use strict";x("core-js/modules/es.array.concat.js");var re=x("url"),ne=x("../utils/isIP"),ie=ne.isIP,oe=ve;oe.generateObjectUrl=function(me,te){if(ie(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(te)te[te.length-1]!=="/"&&(te+="/");else{te=this.options.endpoint.format();var ae=re.parse(te),ue=this.options.bucket;ae.hostname="".concat(ue,".").concat(ae.hostname),ae.host="".concat(ue,".").concat(ae.host),te=ae.format()}return te+this._escape(this._objectName(me))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(x,De,ve){(function(re){(function(){"use strict";var ne=x("@babel/runtime/helpers/interopRequireDefault"),ie=ne(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var oe=ne(x("@babel/runtime/helpers/asyncToGenerator")),le=x("fs"),me=x("is-type-of"),te=ve;te.get=function(){var ae=(0,oe.default)(ie.default.mark(function de(he,we){var Se,xe,ye,Ae,Le,Ee,_e,Me,Oe=arguments;return ie.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:return Se=Oe.length>2&&Oe[2]!==void 0?Oe[2]:{},xe=null,ye=!1,me.writableStream(we)?xe=we:me.string(we)?(xe=le.createWriteStream(we),ye=!0):Se=we,Se=Se||{},Ae=re&&re.browser,Le=Se.responseCacheControl===null?"":"no-cache",Ee=Ae&&Le?{"response-cache-control":Le}:{},Se.subres=Object.assign(Ee,Se.subres),Se.versionId&&(Se.subres.versionId=Se.versionId),Se.process&&(Se.subres["x-oss-process"]=Se.process),Ne.prev=11,Me=this._objectRequestParams("GET",he,Se),Me.writeStream=xe,Me.successStatuses=[200,206,304],Ne.next=17,this.request(Me);case 17:_e=Ne.sent,ye&&xe.destroy(),Ne.next=28;break;case 21:if(Ne.prev=21,Ne.t0=Ne.catch(11),!ye){Ne.next=27;break}return xe.destroy(),Ne.next=27,this._deleteFileSafe(we);case 27:throw Ne.t0;case 28:return Ne.abrupt("return",{res:_e.res,content:_e.data});case 29:case"end":return Ne.stop()}},de,this,[[11,21]])}));function ue(de,he){return ae.apply(this,arguments)}return ue}()}).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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=ve;oe.getACL=function(){var le=(0,ie.default)(ne.default.mark(function te(ae){var ue,de,he,we=arguments;return ne.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return ue=we.length>1&&we[1]!==void 0?we[1]:{},ue.subres=Object.assign({acl:""},ue.subres),ue.versionId&&(ue.subres.versionId=ue.versionId),ae=this._objectName(ae),de=this._objectRequestParams("GET",ae,ue),de.successStatuses=[200],de.xmlResponse=!0,xe.next=9,this.request(de);case 9:return he=xe.sent,xe.abrupt("return",{acl:he.data.AccessControlList.Grant,owner:{id:he.data.Owner.ID,displayName:he.data.Owner.DisplayName},res:he.res});case 11:case"end":return xe.stop()}},te,this)}));function me(te){return le.apply(this,arguments)}return me}()},{"@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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(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 ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=ve,le=x("../utils/isObject"),me=le.isObject,te=x("../utils/isArray"),ae=te.isArray;oe.getBucketVersions=ue,oe.listObjectVersions=ue;function ue(){return de.apply(this,arguments)}function de(){return de=(0,ie.default)(ne.default.mark(function Se(){var xe,ye,Ae,Le,Ee,_e,Me,Oe,Ce=arguments;return ne.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(xe=Ce.length>0&&Ce[0]!==void 0?Ce[0]:{},ye=Ce.length>1&&Ce[1]!==void 0?Ce[1]:{},!(xe.versionIdMarker&&xe.keyMarker===void 0)){je.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return ye.subres=Object.assign({versions:""},ye.subres),ye.versionId&&(ye.subres.versionId=ye.versionId),Ae=this._objectRequestParams("GET","",ye),Ae.xmlResponse=!0,Ae.successStatuses=[200],Ae.query=we(xe),je.next=12,this.request(Ae);case 12:return Le=je.sent,Ee=Le.data.Version||[],_e=Le.data.DeleteMarker||[],Me=this,Ee&&(Array.isArray(Ee)||(Ee=[Ee]),Ee=Ee.map(function(Ze){return{name:Ze.Key,url:Me._objectUrl(Ze.Key),lastModified:Ze.LastModified,isLatest:Ze.IsLatest==="true",versionId:Ze.VersionId,etag:Ze.ETag,type:Ze.Type,size:Number(Ze.Size),storageClass:Ze.StorageClass,owner:{id:Ze.Owner.ID,displayName:Ze.Owner.DisplayName}}})),_e&&(ae(_e)||(_e=[_e]),_e=_e.map(function(Ze){return{name:Ze.Key,lastModified:Ze.LastModified,versionId:Ze.VersionId,owner:{id:Ze.Owner.ID,displayName:Ze.Owner.DisplayName}}})),Oe=Le.data.CommonPrefixes||null,Oe&&(ae(Oe)||(Oe=[Oe]),Oe=Oe.map(function(Ze){return Ze.Prefix})),je.abrupt("return",{res:Le.res,objects:Ee,deleteMarker:_e,prefixes:Oe,nextMarker:Le.data.NextKeyMarker||null,NextVersionIdMarker:Le.data.NextVersionIdMarker||null,nextKeyMarker:Le.data.NextKeyMarker||null,nextVersionIdMarker:Le.data.NextVersionIdMarker||null,isTruncated:Le.data.IsTruncated==="true"});case 21:case"end":return je.stop()}},Se,this)})),de.apply(this,arguments)}function he(Se){return Se.replace(/([A-Z])/g,"-$1").toLowerCase()}function we(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},xe={};return me(Se)&&Object.keys(Se).forEach(function(ye){xe[he(ye)]=Se[ye]}),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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=ve;oe.getObjectMeta=function(){var le=(0,ie.default)(ne.default.mark(function te(ae,ue){var de,he;return ne.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return ue=ue||{},ae=this._objectName(ae),ue.subres=Object.assign({objectMeta:""},ue.subres),ue.versionId&&(ue.subres.versionId=ue.versionId),de=this._objectRequestParams("HEAD",ae,ue),de.successStatuses=[200],Se.next=8,this.request(de);case 8:return he=Se.sent,Se.abrupt("return",{status:he.status,res:he.res});case 10:case"end":return Se.stop()}},te,this)}));function me(te,ae){return le.apply(this,arguments)}return me}()},{"@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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(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 ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=ve,le=x("../utils/isObject"),me=le.isObject;oe.getObjectTagging=function(){var te=(0,ie.default)(ne.default.mark(function ue(de){var he,we,Se,xe,ye,Ae,Le=arguments;return ne.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return he=Le.length>1&&Le[1]!==void 0?Le[1]:{},he.subres=Object.assign({tagging:""},he.subres),he.versionId&&(he.subres.versionId=he.versionId),de=this._objectName(de),we=this._objectRequestParams("GET",de,he),we.successStatuses=[200],_e.next=8,this.request(we);case 8:return Se=_e.sent,_e.next=11,this.parseXML(Se.data);case 11:return xe=_e.sent,ye=xe.TagSet.Tag,ye=ye&&me(ye)?[ye]:ye||[],Ae={},ye.forEach(function(Me){Ae[Me.Key]=Me.Value}),_e.abrupt("return",{status:Se.status,res:Se.res,tag:Ae});case 17:case"end":return _e.stop()}},ue,this)}));function ae(ue){return te.apply(this,arguments)}return ae}()},{"../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,De,ve){"use strict";var re=x("../utils/isIP"),ne=re.isIP,ie=ve;ie.getObjectUrl=function(le,me){if(ne(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return me?me[me.length-1]!=="/"&&(me+="/"):me=this.options.endpoint.format(),me+this._escape(this._objectName(le))}},{"../utils/isIP":69}],43:[function(x,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=ve;oe.getSymlink=function(){var le=(0,ie.default)(ne.default.mark(function te(ae){var ue,de,he,we,Se=arguments;return ne.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ue=Se.length>1&&Se[1]!==void 0?Se[1]:{},ue.subres=Object.assign({symlink:""},ue.subres),ue.versionId&&(ue.subres.versionId=ue.versionId),ae=this._objectName(ae),de=this._objectRequestParams("GET",ae,ue),de.successStatuses=[200],ye.next=8,this.request(de);case 8:return he=ye.sent,we=he.res.headers["x-oss-symlink-target"],ye.abrupt("return",{targetName:decodeURIComponent(we),res:he.res});case 11:case"end":return ye.stop()}},te,this)}));function me(te){return le.apply(this,arguments)}return me}()},{"@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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(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 ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("../utils/checkEnv"),le=oe.checkEnv,me=ve;me.head=function(){var te=(0,ie.default)(ne.default.mark(function ue(de){var he,we,Se,xe,ye=arguments;return ne.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return he=ye.length>1&&ye[1]!==void 0?ye[1]:{},le("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),he.subres=Object.assign({},he.subres),he.versionId&&(he.subres.versionId=he.versionId),we=this._objectRequestParams("HEAD",de,he),we.successStatuses=[200,304],Le.next=8,this.request(we);case 8:return Se=Le.sent,xe={meta:null,res:Se.res,status:Se.status},Se.status===200&&Object.keys(Se.headers).forEach(function(Ee){Ee.indexOf("x-oss-meta-")===0&&(xe.meta||(xe.meta={}),xe.meta[Ee.substring(11)]=Se.headers[Ee])}),Le.abrupt("return",xe);case 12:case"end":return Le.stop()}},ue,this)}));function ae(ue){return te.apply(this,arguments)}return ae}()},{"../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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=ve;oe.putACL=function(){var le=(0,ie.default)(ne.default.mark(function te(ae,ue,de){var he,we;return ne.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return de=de||{},de.subres=Object.assign({acl:""},de.subres),de.versionId&&(de.subres.versionId=de.versionId),de.headers=de.headers||{},de.headers["x-oss-object-acl"]=ue,ae=this._objectName(ae),he=this._objectRequestParams("PUT",ae,de),he.successStatuses=[200],xe.next=10,this.request(he);case 10:return we=xe.sent,xe.abrupt("return",{res:we.res});case 12:case"end":return xe.stop()}},te,this)}));function me(te,ae,ue){return le.apply(this,arguments)}return me}()},{"@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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(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 ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("../utils/obj2xml"),le=oe.obj2xml,me=x("../utils/checkObjectTag"),te=me.checkObjectTag,ae=ve;ae.putObjectTagging=function(){var ue=(0,ie.default)(ne.default.mark(function he(we,Se){var xe,ye,Ae,Le,Ee=arguments;return ne.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return xe=Ee.length>2&&Ee[2]!==void 0?Ee[2]:{},te(Se),xe.subres=Object.assign({tagging:""},xe.subres),xe.versionId&&(xe.subres.versionId=xe.versionId),we=this._objectName(we),ye=this._objectRequestParams("PUT",we,xe),ye.successStatuses=[200],Se=Object.keys(Se).map(function(Oe){return{Key:Oe,Value:Se[Oe]}}),Ae={Tagging:{TagSet:{Tag:Se}}},ye.mime="xml",ye.content=le(Ae),Me.next=13,this.request(ye);case 13:return Le=Me.sent,Me.abrupt("return",{res:Le.res,status:Le.status});case 15:case"end":return Me.stop()}},he,this)}));function de(he,we){return ue.apply(this,arguments)}return de}()},{"../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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/regenerator"));x("core-js/modules/es.object.assign.js");var ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=ve;oe.putSymlink=function(){var le=(0,ie.default)(ne.default.mark(function te(ae,ue,de){var he,we;return ne.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return de=de||{},de.headers=de.headers||{},ue=this._escape(this._objectName(ue)),this._convertMetaToHeaders(de.meta,de.headers),de.headers["x-oss-symlink-target"]=ue,de.subres=Object.assign({symlink:""},de.subres),de.versionId&&(de.subres.versionId=de.versionId),de.storageClass&&(de.headers["x-oss-storage-class"]=de.storageClass),ae=this._objectName(ae),he=this._objectRequestParams("PUT",ae,de),he.successStatuses=[200],xe.next=13,this.request(he);case 13:return we=xe.sent,xe.abrupt("return",{res:we.res});case 15:case"end":return xe.stop()}},te,this)}));function me(te,ae,ue){return le.apply(this,arguments)}return me}()},{"@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,De,ve){"use strict";var re=x("url"),ne=x("utility"),ie=x("copy-to"),oe=x("../../common/signUtils"),le=x("../utils/isIP"),me=le.isIP,te=ve;te.signatureUrl=function(ue,de){if(me(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");de=de||{},ue=this._objectName(ue),de.method=de.method||"GET";var he=ne.timestamp()+(de.expires||1800),we={bucket:this.options.bucket,object:ue},Se=this._getResource(we);this.options.stsToken&&(de["security-token"]=this.options.stsToken);var xe=oe._signatureForURL(this.options.accessKeySecret,de,Se,he),ye=re.parse(this._getReqUrl(we));return ye.query={OSSAccessKeyId:this.options.accessKeyId,Expires:he,Signature:xe.Signature},ie(xe.subResource).to(ye.query),ye.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(x,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(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 ie=re(x("@babel/runtime/helpers/asyncToGenerator")),oe=x("./utils/isArray"),le=oe.isArray,me=ve;me._parallelNode=function(){var te=(0,ie.default)(ne.default.mark(function ue(de,he,we,Se){var xe,ye,Ae,Le,Ee,_e,Me,Oe;return ne.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:xe=this,ye=[],Ae=[],Le=de.length/he,Ee=de.length%he,_e=Ee===0?Le:(de.length-Ee)/he+1,Me=1,Oe=0;case 8:if(!(Oe<de.length)){Ne.next=26;break}if(!xe.isCancel()){Ne.next=11;break}return Ne.abrupt("break",26);case 11:if(Se?Ae.push(we(xe,de[Oe],Se)):Ae.push(we(xe,de[Oe])),!(Ae.length===he||Me===_e&&Oe===de.length-1)){Ne.next=23;break}return Ne.prev=13,Me+=1,Ne.next=17,Promise.all(Ae);case 17:Ne.next=22;break;case 19:Ne.prev=19,Ne.t0=Ne.catch(13),ye.push(Ne.t0);case 22:Ae=[];case 23:Oe++,Ne.next=8;break;case 26:return Ne.abrupt("return",ye);case 27:case"end":return Ne.stop()}},ue,this,[[13,19]])}));function ae(ue,de,he,we){return te.apply(this,arguments)}return ae}(),me._parallel=function(ae,ue,de){var he=this;return new Promise(function(we){var Se=[];if(ue<=0||!ae){we(Se);return}function xe(Ne){return function(){if(Ne===null)throw new Error("Callback was already called.");var je=Ne;Ne=null;for(var Ze=arguments.length,Pe=new Array(Ze),Ue=0;Ue<Ze;Ue++)Pe[Ue]=arguments[Ue];je.apply(this,Pe)}}function ye(Ne){var je=-1,Ze=Ne.length;return function(){return++je<Ze&&!he.isCancel()?{value:Ne[je],key:je}:null}}var Ae=ye(ae),Le=!1,Ee=0,_e=!1;function Me(Ne){Ee-=1,Ne?(Le=!0,Se.push(Ne),we(Se)):Le&&Ee<=0?(Le=!0,we(Se)):_e||(he.isCancel()?we(Se):Ce())}function Oe(Ne,je){de(Ne).then(function(Ze){je(null,Ze)}).catch(function(Ze){je(Ze)})}function Ce(){for(_e=!0;Ee<ue&&!Le&&!he.isCancel();){var Ne=Ae();if(Ne===null||Se.length>0){Le=!0,Ee<=0&&we(Se);return}Ee+=1,Oe(Ne.value,xe(Me))}_e=!1}Ce()})},me.cancel=function(ae){this.options.cancelFlag=!0,le(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(ue){if(ue.destroyed===!1){var de={name:"cancel",message:"cancel"};ue.destroy(de)}}),this.multipartUploadStreams=[],ae&&this.abortMultipartUpload(ae.name,ae.uploadId,ae.options)},me.isCancel=function(){return this.options.cancelFlag},me.resetCancelFlag=function(){this.options.cancelFlag=!1},me._stop=function(){this.options.cancelFlag=!0},me._makeCancelEvent=function(){var ae={status:0,name:"cancel"};return ae},me._makeAbortEvent=function(){var ae={status:0,name:"abort",message:"upload task has been abort"};return ae}},{"./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,De,ve){(function(re){(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 ne=x("./../../shims/crypto/crypto.js"),ie=x("is-type-of"),oe=x("./utils/lowercaseKeyHeader"),le=oe.lowercaseKeyHeader;ve.buildCanonicalizedResource=function(te,ae){var ue="".concat(te),de="?";if(ie.string(ae)&&ae.trim()!=="")ue+=de+ae;else if(ie.array(ae))ae.sort(),ue+=de+ae.join("&");else if(ae){var he=function(xe,ye){return xe[0]>ye[0]?1:xe[0]<ye[0]?-1:0},we=function(xe){ue+=de+xe,(ae[xe]||ae[xe]===0)&&(ue+="=".concat(ae[xe])),de="&"};Object.keys(ae).sort(he).forEach(we)}return ue},ve.buildCanonicalString=function(te,ae,ue,de){ue=ue||{};var he=le(ue.headers),we="x-oss-",Se=[],xe={},ye=[te.toUpperCase(),he["content-md5"]||"",he["content-type"],de||he["x-oss-date"]];return Object.keys(he).forEach(function(Ae){var Le=Ae.toLowerCase();Le.indexOf(we)===0&&(xe[Le]=String(he[Ae]).trim())}),Object.keys(xe).sort().forEach(function(Ae){Se.push("".concat(Ae,":").concat(xe[Ae]))}),ye=ye.concat(Se),ye.push(this.buildCanonicalizedResource(ae,ue.parameters)),ye.join(`
`)},ve.computeSignature=function(te,ae){var ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",de=ne.createHmac("sha1",te);return de.update(re.from(ae,ue)).digest("base64")},ve.authorization=function(te,ae,ue,de){return"OSS ".concat(te,":").concat(this.computeSignature(ae,ue,de))},ve._signatureForURL=function(te){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ue=arguments.length>2?arguments[2]:void 0,de=arguments.length>3?arguments[3]:void 0,he=arguments.length>4?arguments[4]:void 0,we={},Se=ae.subResource,xe=Se===void 0?{}:Se;if(ae.process){var ye="x-oss-process";xe[ye]=ae.process}if(ae.trafficLimit){var Ae="x-oss-traffic-limit";xe[Ae]=ae.trafficLimit}if(ae.response&&Object.keys(ae.response).forEach(function(Me){var Oe="response-".concat(Me.toLowerCase());xe[Oe]=ae.response[Me]}),Object.keys(ae).forEach(function(Me){var Oe=Me.toLowerCase(),Ce=ae[Me];Oe.indexOf("x-oss-")===0?we[Oe]=Ce:(Oe.indexOf("content-md5")===0||Oe.indexOf("content-type")===0)&&(we[Me]=Ce)}),Object.prototype.hasOwnProperty.call(ae,"security-token")&&(xe["security-token"]=ae["security-token"]),Object.prototype.hasOwnProperty.call(ae,"callback")){var Le={callbackUrl:encodeURI(ae.callback.url),callbackBody:ae.callback.body};if(ae.callback.host&&(Le.callbackHost=ae.callback.host),ae.callback.contentType&&(Le.callbackBodyType=ae.callback.contentType),xe.callback=re.from(JSON.stringify(Le)).toString("base64"),ae.callback.customValue){var Ee={};Object.keys(ae.callback.customValue).forEach(function(Me){Ee["x:".concat(Me)]=ae.callback.customValue[Me]}),xe["callback-var"]=re.from(JSON.stringify(Ee)).toString("base64")}}var _e=this.buildCanonicalString(ae.method,ue,{headers:we,parameters:xe},de.toString());return{Signature:this.computeSignature(te,_e,he),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,De,ve){"use strict";x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkBucketName=void 0,ve.checkBucketName=function(re){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ie=ne?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!ie.test(re))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(x,De,ve){"use strict";x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkConfigValid=void 0;var re={endpoint:ne,region:/^[a-zA-Z0-9\-_]+$/};function ne(ie){return typeof ie=="string"?/^[a-zA-Z0-9._:/-]+$/.test(ie):ie.host?/^[a-zA-Z0-9._:/-]+$/.test(ie.host):!1}ve.checkConfigValid=function(ie,oe){if(re[oe]){var le=!0;if(re[oe]instanceof Function?le=re[oe](ie):le=re[oe].test(ie),!le)throw new Error("The ".concat(oe," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(x,De,ve){(function(re){(function(){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkEnv=void 0;function ne(ie){re.browser&&console.warn(ie)}ve.checkEnv=ne}).call(this)}).call(this,x("_process"))},{_process:467}],54:[function(x,De,ve){"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(ve,"__esModule",{value:!0}),ve.checkObjectTag=void 0;var re=x("./checkValid"),ne=re.checkValid,ie=x("./isObject"),oe=ie.isObject,le=[{validator:function(ue){if(typeof ue!="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 (/)"}],me={key:[].concat(le,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(le,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function te(ae){if(!oe(ae))throw new Error("tag must be Object");var ue=Object.entries(ae);if(ue.length>10)throw new Error("maximum of 10 tags for a object");var de=["key","value"];ue.forEach(function(he){he.forEach(function(we,Se){ne(we,me[de[Se]])})})}ve.checkObjectTag=te},{"./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,De,ve){"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(ve,"__esModule",{value:!0}),ve.checkValid=void 0;function re(ne,ie){ie.forEach(function(oe){if(oe.validator)oe.validator(ne);else if(oe.pattern&&!oe.pattern.test(ne))throw new Error(oe.msg)})}ve.checkValid=re},{"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,De,ve){(function(re){(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(ve,"__esModule",{value:!0}),ve.createRequest=void 0;var ne=x("./../../../shims/crypto/crypto.js"),ie=x("debug")("ali-oss"),oe=x("mime"),le=x("dateformat"),me=x("copy-to"),te=x("path"),ae=x("./encoder"),ue=ae.encoder,de=x("./isIP"),he=de.isIP,we=x("./setRegion"),Se=we.setRegion,xe=x("../client/getReqUrl"),ye=xe.getReqUrl,Ae=x("./isDingTalk"),Le=Ae.isDingTalk;function Ee(Oe,Ce){return Oe[Ce]||Oe[Ce.toLowerCase()]}function _e(Oe,Ce){delete Oe[Ce],delete Oe[Ce.toLowerCase()]}function Me(Oe){var Ce=new Date;this.options.amendTimeSkewed&&(Ce=+new Date+this.options.amendTimeSkewed);var Ne={"x-oss-date":le(Ce,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Ne["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Ne["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Ne,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Ne["x-oss-security-token"]=this.options.stsToken),me(Oe.headers).to(Ne),Ee(Ne,"Content-Type")||(Oe.mime&&Oe.mime.indexOf("/")>0?Ne["Content-Type"]=Oe.mime:Le()?Ne["Content-Type"]="application/octet-stream":Ne["Content-Type"]=oe.getType(Oe.mime||te.extname(Oe.object||""))),Ee(Ne,"Content-Type")||_e(Ne,"Content-Type"),Oe.content&&(Oe.disabledMD5||(!Oe.headers||!Oe.headers["Content-MD5"]?Ne["Content-MD5"]=ne.createHash("md5").update(re.from(Oe.content,"utf8")).digest("base64"):Ne["Content-MD5"]=Oe.headers["Content-MD5"]),Ne["Content-Length"]||(Ne["Content-Length"]=Oe.content.length));var je=Object.prototype.hasOwnProperty;for(var Ze in Ne)Ne[Ze]&&je.call(Ne,Ze)&&(Ne[Ze]=ue(String(Ne[Ze]),this.options.headerEncoding));var Pe=this._getResource(Oe);if(Ne.authorization=this.authorization(Oe.method,Pe,Oe.subres,Ne,this.options.headerEncoding),he(this.options.endpoint.hostname)){var Ue=this.options,Qe=Ue.region,tt=Ue.internal,ot=Ue.secure,lt=Se(Qe,tt,ot);Ne.host="".concat(Oe.bucket,".").concat(lt.host)}var Ve=ye.bind(this)(Oe);ie("request %s %s, with headers %j, !!stream: %s",Oe.method,Ve,Ne,!!Oe.stream);var Ye=Oe.timeout||this.options.timeout,nt={method:Oe.method,content:Oe.content,stream:Oe.stream,headers:Ne,timeout:Ye,writeStream:Oe.writeStream,customResponse:Oe.customResponse,ctx:Oe.ctx||this.ctx};return this.agent&&(nt.agent=this.agent),this.httpsAgent&&(nt.httpsAgent=this.httpsAgent),nt.enableProxy=!!this.options.enableProxy,nt.proxy=this.options.proxy?this.options.proxy:null,{url:Ve,params:nt}}ve.createRequest=Me}).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,De,ve){"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(ve,"__esModule",{value:!0}),ve.dataFix=void 0;var re=x("./isObject"),ne=["true","TRUE","1",1],ie=["false","FALSE","0",0];function oe(te,ae,ue){if(re.isObject(te)){var de=ae.remove,he=de===void 0?[]:de,we=ae.rename,Se=we===void 0?{}:we,xe=ae.camel,ye=xe===void 0?[]:xe,Ae=ae.bool,Le=Ae===void 0?[]:Ae,Ee=ae.lowerFirst,_e=Ee===void 0?!1:Ee;return he.forEach(function(Me){return delete te[Me]}),Object.entries(Se).forEach(function(Me){te[Me[0]]&&(te[Me[1]]||(te[Me[1]]=te[Me[0]],delete te[Me[0]]))}),ye.forEach(function(Me){if(te[Me]){var Oe=Me.replace(/^(.)/,function(Ce){return Ce.toLowerCase()}).replace(/-(\w)/g,function(Ce,Ne){return Ne.toUpperCase()});te[Oe]||(te[Oe]=te[Me])}}),Le.forEach(function(Me){te[Me]=le(te[Me])}),typeof ue=="function"&&ue(te),me(te,_e),oe}}ve.dataFix=oe;function le(te){return te?ne.includes(te)?!0:ie.includes(te)?!1:te:!1}function me(te,ae){ae&&Object.keys(te).forEach(function(ue){var de=ue.replace(/^\w/,function(he){return he.toLowerCase()});typeof te[de]=="undefined"&&(te[de]=te[ue],delete te[ue])})}},{"./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,De,ve){"use strict";var re=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 ne=re(x("@babel/runtime/helpers/typeof"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.deepCopyWith=ve.deepCopy=void 0;var ie=x("./isBuffer");ve.deepCopy=function(oe){if(oe===null||(0,ne.default)(oe)!=="object")return oe;if(ie.isBuffer(oe))return oe.slice();var le=Array.isArray(oe)?[]:{};return Object.keys(oe).forEach(function(me){le[me]=ve.deepCopy(oe[me])}),le},ve.deepCopyWith=function(oe,le){function me(te,ae,ue){var de=le(te,ae,ue);if(de!==void 0)return de;if(te===null||(0,ne.default)(te)!=="object")return te;if(ie.isBuffer(te))return te.slice();var he=Array.isArray(te)?[]:{};return Object.keys(te).forEach(function(we){he[we]=me(te[we],we,te)}),he}return le?me(oe,"",null):ve.deepCopy(oe)}},{"./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,De,ve){(function(re){(function(){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.encoder=void 0;function ne(ie){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return oe==="utf-8"?ie:re.from(ie).toString("latin1")}ve.encoder=ne}).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,De,ve){"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(ve,"__esModule",{value:!0}),ve.formatInventoryConfig=void 0;var re=x("../utils/dataFix"),ne=x("../utils/isObject"),ie=x("../utils/isArray"),oe=x("../utils/formatObjKey");function le(te){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ae&&ne.isObject(te)&&(te=[te]),ie.isArray(te)?te=te.map(me):te=me(te),te}ve.formatInventoryConfig=le;function me(te){return re.dataFix(te,{bool:["IsEnabled"]},function(ae){var ue,de;ae.prefix=ae.Filter.Prefix,delete ae.Filter,ae.OSSBucketDestination=ae.Destination.OSSBucketDestination,ae.OSSBucketDestination.rolename=ae.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete ae.OSSBucketDestination.RoleArn,ae.OSSBucketDestination.bucket=ae.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete ae.OSSBucketDestination.Bucket,delete ae.Destination,ae.frequency=ae.Schedule.Frequency,delete ae.Schedule.Frequency,!((ue=ae==null?void 0:ae.OptionalFields)===null||ue===void 0)&&ue.Field&&!ie.isArray((de=ae.OptionalFields)===null||de===void 0?void 0:de.Field)&&(ae.OptionalFields.Field=[ae.OptionalFields.Field])}),te=oe.formatObjKey(te,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),te}},{"../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,De,ve){"use strict";var re=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 ne=re(x("@babel/runtime/helpers/typeof"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.formatObjKey=void 0;function ie(le,me,te){if(le===null||(0,ne.default)(le)!=="object")return le;var ae;if(Array.isArray(le)){ae=[];for(var ue=0;ue<le.length;ue++)ae.push(ie(le[ue],me,te))}else ae={},Object.keys(le).forEach(function(de){ae[oe(de,me,te)]=ie(le[de],me,te)});return ae}ve.formatObjKey=ie;function oe(le,me,te){return te&&te.exclude&&te.exclude.includes(le)||(me==="firstUpperCase"?le=le.replace(/^./,function(ae){return ae.toUpperCase()}):me==="firstLowerCase"&&(le=le.replace(/^./,function(ae){return ae.toLowerCase()}))),le}},{"@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,De,ve){"use strict";x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.getStrBytesCount=void 0;function re(ne){for(var ie=0,oe=0;oe<ne.length;oe++){var le=ne.charAt(oe);/^[\u00-\uff]$/.test(le)?ie+=1:ie+=2}return ie}ve.getStrBytesCount=re},{"core-js/modules/es.regexp.exec.js":300}],63:[function(x,De,ve){"use strict";x("core-js/modules/es.object.to-string.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.isArray=void 0,ve.isArray=function(re){return Object.prototype.toString.call(re)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(x,De,ve){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.isBlob=void 0;function re(ne){return typeof Blob!="undefined"&&ne instanceof Blob}ve.isBlob=re},{}],65:[function(x,De,ve){(function(re){(function(){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.isBuffer=void 0;function ne(ie){return re.isBuffer(ie)}ve.isBuffer=ne}).call(this)}).call(this,{isBuffer:x("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(x,De,ve){(function(re){(function(){"use strict";x("core-js/modules/es.array.includes.js"),x("core-js/modules/es.string.includes.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.isDingTalk=void 0;function ne(){return!!(re.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}ve.isDingTalk=ne}).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,De,ve){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.isFile=void 0,ve.isFile=function(re){return typeof File!="undefined"&&re instanceof File}},{}],68:[function(x,De,ve){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.isFunction=void 0,ve.isFunction=function(re){return typeof re=="function"}},{}],69:[function(x,De,ve){"use strict";x("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.isIP=void 0,ve.isIP=function(re){var ne=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,ie=/^\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 ne.test(re)||ie.test(re)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(x,De,ve){"use strict";x("core-js/modules/es.object.to-string.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.isObject=void 0,ve.isObject=function(re){return Object.prototype.toString.call(re)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(x,De,ve){"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(ve,"__esModule",{value:!0}),ve.lowercaseKeyHeader=void 0;var re=x("./isObject");function ne(ie){var oe={};return re.isObject(ie)&&Object.keys(ie).forEach(function(le){oe[le.toLowerCase()]=ie[le]}),oe}ve.lowercaseKeyHeader=ne},{"./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,De,ve){"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(ve,"__esModule",{value:!0}),ve.obj2xml=void 0;var re=x("./formatObjKey");function ne(oe){return Object.prototype.toString.call(oe).replace(/(.*? |])/g,"").toLowerCase()}function ie(oe,le){var me="";return le&&le.headers&&(me=`<?xml version="1.0" encoding="UTF-8"?>
`),le&&le.firstUpperCase&&(oe=re.formatObjKey(oe,"firstUpperCase")),ne(oe)==="object"?Object.keys(oe).forEach(function(te){ne(oe[te])!=="undefined"&&ne(oe[te])!=="null"&&(ne(oe[te])==="string"||ne(oe[te])==="number"?me+="<".concat(te,">").concat(oe[te],"</").concat(te,">"):ne(oe[te])==="object"?me+="<".concat(te,">").concat(ie(oe[te]),"</").concat(te,">"):ne(oe[te])==="array"?me+=oe[te].map(function(ae){return"<".concat(te,">").concat(ie(ae),"</").concat(te,">")}).join(""):me+="<".concat(te,">").concat(oe[te].toString(),"</").concat(te,">"))}):me+=oe.toString(),me}ve.obj2xml=ie},{"./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,De,ve){"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 re(le,me){var te=typeof Symbol!="undefined"&&le[Symbol.iterator]||le["@@iterator"];if(!te){if(Array.isArray(le)||(te=ne(le))||me&&le&&typeof le.length=="number"){te&&(le=te);var ae=0,ue=function(){};return{s:ue,n:function(){return ae>=le.length?{done:!0}:{done:!1,value:le[ae++]}},e:function(xe){throw xe},f:ue}}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 de=!0,he=!1,we;return{s:function(){te=te.call(le)},n:function(){var xe=te.next();return de=xe.done,xe},e:function(xe){he=!0,we=xe},f:function(){try{!de&&te.return!=null&&te.return()}finally{if(he)throw we}}}}function ne(le,me){if(le){if(typeof le=="string")return ie(le,me);var te=Object.prototype.toString.call(le).slice(8,-1);if(te==="Object"&&le.constructor&&(te=le.constructor.name),te==="Map"||te==="Set")return Array.from(le);if(te==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(te))return ie(le,me)}}function ie(le,me){(me==null||me>le.length)&&(me=le.length);for(var te=0,ae=new Array(me);te<me;te++)ae[te]=le[te];return ae}Object.defineProperty(ve,"__esModule",{value:!0}),ve.omit=void 0;function oe(le,me){var te=Object.assign({},le),ae=re(me),ue;try{for(ae.s();!(ue=ae.n()).done;){var de=ue.value;delete te[de]}}catch(he){ae.e(he)}finally{ae.f()}return te}ve.omit=oe},{"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,De,ve){"use strict";x("core-js/modules/es.object.to-string.js"),x("core-js/modules/es.promise.js"),Object.defineProperty(ve,"__esModule",{value:!0}),ve.retry=void 0;function re(ne,ie){var oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},le=0,me=oe.retryDelay,te=me===void 0?500:me,ae=oe.errorHandler,ue=ae===void 0?function(){return!0}:ae,de=function he(){for(var we=arguments.length,Se=new Array(we),xe=0;xe<we;xe++)Se[xe]=arguments[xe];return new Promise(function(ye,Ae){ne.apply(void 0,Se).then(function(Le){le=0,ye(Le)}).catch(function(Le){le<ie&&ue(Le)?(le++,setTimeout(function(){ye(he.apply(void 0,Se))},te)):(le=0,Ae(Le))})})};return de}ve.retry=re},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(x,De,ve){"use strict";var re=function(le){return le&&le.__esModule?le:{default:le}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.setRegion=void 0;var ne=re(x("url")),ie=x("./checkConfigValid");function oe(le){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ie.checkConfigValid(le,"region");var ae=te?"https://":"http://",ue=me?"-internal.aliyuncs.com":".aliyuncs.com",de="vpc100-oss-cn-";return le.substr(0,de.length)===de&&(ue=".aliyuncs.com"),ne.default.parse(ae+le+ue)}ve.setRegion=oe},{"./checkConfigValid":52,url:472}],76:[function(x,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(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 ie=re(x("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ve,"__esModule",{value:!0}),ve.checkCredentials=ve.setSTSToken=void 0;var oe=x("./formatObjKey");function le(){return me.apply(this,arguments)}function me(){return me=(0,ie.default)(ne.default.mark(function ae(){var ue,de;return ne.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(this.options||(this.options={}),ue=new Date,!this.stsTokenFreshTime){we.next=14;break}if(!(+ue-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){we.next=12;break}return this.stsTokenFreshTime=ue,we.next=7,this.options.refreshSTSToken();case 7:de=we.sent,de=oe.formatObjKey(de,"firstLowerCase"),de.securityToken&&(de.stsToken=de.securityToken),te(de),Object.assign(this.options,de);case 12:we.next=15;break;case 14:this.stsTokenFreshTime=ue;case 15:return we.abrupt("return",null);case 16:case"end":return we.stop()}},ae,this)})),me.apply(this,arguments)}ve.setSTSToken=le;function te(ae){var ue=["accessKeySecret","accessKeyId","stsToken"],de=Object.keys(ae);ue.forEach(function(he){if(!de.find(function(we){return we===he}))throw Error("refreshSTSToken must return contains ".concat(he))})}ve.checkCredentials=te},{"./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,De,ve){function re(ie,oe,le,me,te,ae,ue){try{var de=ie[ae](ue),he=de.value}catch(we){le(we);return}de.done?oe(he):Promise.resolve(he).then(me,te)}function ne(ie){return function(){var oe=this,le=arguments;return new Promise(function(me,te){var ae=ie.apply(oe,le);function ue(he){re(ae,me,te,ue,de,"next",he)}function de(he){re(ae,me,te,ue,de,"throw",he)}ue(void 0)})}}De.exports=ne,De.exports.__esModule=!0,De.exports.default=De.exports},{}],78:[function(x,De,ve){function re(ne){return ne&&ne.__esModule?ne:{default:ne}}De.exports=re,De.exports.__esModule=!0,De.exports.default=De.exports},{}],79:[function(x,De,ve){function re(ne){"@babel/helpers - typeof";return De.exports=re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ie){return typeof ie}:function(ie){return ie&&typeof Symbol=="function"&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie},De.exports.__esModule=!0,De.exports.default=De.exports,re(ne)}De.exports=re,De.exports.__esModule=!0,De.exports.default=De.exports},{}],80:[function(x,De,ve){De.exports=x("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(x,De,ve){De.exports=re,De.exports.HttpsAgent=re;function re(){}},{}],82:[function(x,De,ve){(function(re){(function(){"use strict";var ne=x("object-assign");function ie(Qe,tt){if(Qe===tt)return 0;for(var ot=Qe.length,lt=tt.length,Ve=0,Ye=Math.min(ot,lt);Ve<Ye;++Ve)if(Qe[Ve]!==tt[Ve]){ot=Qe[Ve],lt=tt[Ve];break}return ot<lt?-1:lt<ot?1:0}function oe(Qe){return re.Buffer&&typeof re.Buffer.isBuffer=="function"?re.Buffer.isBuffer(Qe):!!(Qe!=null&&Qe._isBuffer)}var le=x("util/"),me=Object.prototype.hasOwnProperty,te=Array.prototype.slice,ae=function(){return function(){}.name==="foo"}();function ue(Qe){return Object.prototype.toString.call(Qe)}function de(Qe){return oe(Qe)||typeof re.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(Qe):Qe?!!(Qe instanceof DataView||Qe.buffer&&Qe.buffer instanceof ArrayBuffer):!1}var he=De.exports=Ee,we=/\s*function\s+([^\(\s]*)\s*/;function Se(Qe){if(le.isFunction(Qe)){if(ae)return Qe.name;var tt=Qe.toString(),ot=tt.match(we);return ot&&ot[1]}}he.AssertionError=function(tt){this.name="AssertionError",this.actual=tt.actual,this.expected=tt.expected,this.operator=tt.operator,tt.message?(this.message=tt.message,this.generatedMessage=!1):(this.message=Ae(this),this.generatedMessage=!0);var ot=tt.stackStartFunction||Le;if(Error.captureStackTrace)Error.captureStackTrace(this,ot);else{var lt=new Error;if(lt.stack){var Ve=lt.stack,Ye=Se(ot),nt=Ve.indexOf(`
`+Ye);if(nt>=0){var dt=Ve.indexOf(`
`,nt+1);Ve=Ve.substring(dt+1)}this.stack=Ve}}},le.inherits(he.AssertionError,Error);function xe(Qe,tt){return typeof Qe=="string"?Qe.length<tt?Qe:Qe.slice(0,tt):Qe}function ye(Qe){if(ae||!le.isFunction(Qe))return le.inspect(Qe);var tt=Se(Qe),ot=tt?": "+tt:"";return"[Function"+ot+"]"}function Ae(Qe){return xe(ye(Qe.actual),128)+" "+Qe.operator+" "+xe(ye(Qe.expected),128)}function Le(Qe,tt,ot,lt,Ve){throw new he.AssertionError({message:ot,actual:Qe,expected:tt,operator:lt,stackStartFunction:Ve})}he.fail=Le;function Ee(Qe,tt){Qe||Le(Qe,!0,tt,"==",he.ok)}he.ok=Ee,he.equal=function(tt,ot,lt){tt!=ot&&Le(tt,ot,lt,"==",he.equal)},he.notEqual=function(tt,ot,lt){tt==ot&&Le(tt,ot,lt,"!=",he.notEqual)},he.deepEqual=function(tt,ot,lt){_e(tt,ot,!1)||Le(tt,ot,lt,"deepEqual",he.deepEqual)},he.deepStrictEqual=function(tt,ot,lt){_e(tt,ot,!0)||Le(tt,ot,lt,"deepStrictEqual",he.deepStrictEqual)};function _e(Qe,tt,ot,lt){if(Qe===tt)return!0;if(oe(Qe)&&oe(tt))return ie(Qe,tt)===0;if(le.isDate(Qe)&&le.isDate(tt))return Qe.getTime()===tt.getTime();if(le.isRegExp(Qe)&&le.isRegExp(tt))return Qe.source===tt.source&&Qe.global===tt.global&&Qe.multiline===tt.multiline&&Qe.lastIndex===tt.lastIndex&&Qe.ignoreCase===tt.ignoreCase;if((Qe===null||typeof Qe!="object")&&(tt===null||typeof tt!="object"))return ot?Qe===tt:Qe==tt;if(de(Qe)&&de(tt)&&ue(Qe)===ue(tt)&&!(Qe instanceof Float32Array||Qe instanceof Float64Array))return ie(new Uint8Array(Qe.buffer),new Uint8Array(tt.buffer))===0;if(oe(Qe)!==oe(tt))return!1;lt=lt||{actual:[],expected:[]};var Ve=lt.actual.indexOf(Qe);return Ve!==-1&&Ve===lt.expected.indexOf(tt)?!0:(lt.actual.push(Qe),lt.expected.push(tt),Oe(Qe,tt,ot,lt))}function Me(Qe){return Object.prototype.toString.call(Qe)=="[object Arguments]"}function Oe(Qe,tt,ot,lt){if(Qe==null||tt===null||tt===void 0)return!1;if(le.isPrimitive(Qe)||le.isPrimitive(tt))return Qe===tt;if(ot&&Object.getPrototypeOf(Qe)!==Object.getPrototypeOf(tt))return!1;var Ve=Me(Qe),Ye=Me(tt);if(Ve&&!Ye||!Ve&&Ye)return!1;if(Ve)return Qe=te.call(Qe),tt=te.call(tt),_e(Qe,tt,ot);var nt=Ue(Qe),dt=Ue(tt),at,et;if(nt.length!==dt.length)return!1;for(nt.sort(),dt.sort(),et=nt.length-1;et>=0;et--)if(nt[et]!==dt[et])return!1;for(et=nt.length-1;et>=0;et--)if(at=nt[et],!_e(Qe[at],tt[at],ot,lt))return!1;return!0}he.notDeepEqual=function(tt,ot,lt){_e(tt,ot,!1)&&Le(tt,ot,lt,"notDeepEqual",he.notDeepEqual)},he.notDeepStrictEqual=Ce;function Ce(Qe,tt,ot){_e(Qe,tt,!0)&&Le(Qe,tt,ot,"notDeepStrictEqual",Ce)}he.strictEqual=function(tt,ot,lt){tt!==ot&&Le(tt,ot,lt,"===",he.strictEqual)},he.notStrictEqual=function(tt,ot,lt){tt===ot&&Le(tt,ot,lt,"!==",he.notStrictEqual)};function Ne(Qe,tt){if(!Qe||!tt)return!1;if(Object.prototype.toString.call(tt)=="[object RegExp]")return tt.test(Qe);try{if(Qe instanceof tt)return!0}catch(ot){}return Error.isPrototypeOf(tt)?!1:tt.call({},Qe)===!0}function je(Qe){var tt;try{Qe()}catch(ot){tt=ot}return tt}function Ze(Qe,tt,ot,lt){var Ve;if(typeof tt!="function")throw new TypeError('"block" argument must be a function');typeof ot=="string"&&(lt=ot,ot=null),Ve=je(tt),lt=(ot&&ot.name?" ("+ot.name+").":".")+(lt?" "+lt:"."),Qe&&!Ve&&Le(Ve,ot,"Missing expected exception"+lt);var Ye=typeof lt=="string",nt=!Qe&&le.isError(Ve),dt=!Qe&&Ve&&!ot;if((nt&&Ye&&Ne(Ve,ot)||dt)&&Le(Ve,ot,"Got unwanted exception"+lt),Qe&&Ve&&ot&&!Ne(Ve,ot)||!Qe&&Ve)throw Ve}he.throws=function(Qe,tt,ot){Ze(!0,Qe,tt,ot)},he.doesNotThrow=function(Qe,tt,ot){Ze(!1,Qe,tt,ot)},he.ifError=function(Qe){if(Qe)throw Qe};function Pe(Qe,tt){Qe||Le(Qe,!0,tt,"==",Pe)}he.strict=ne(Pe,he,{equal:he.strictEqual,deepEqual:he.deepStrictEqual,notEqual:he.notStrictEqual,notDeepEqual:he.notDeepStrictEqual}),he.strict.strict=he.strict;var Ue=Object.keys||function(Qe){var tt=[];for(var ot in Qe)me.call(Qe,ot)&&tt.push(ot);return tt}}).call(this)}).call(this,typeof Wt!="undefined"?Wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(x,De,ve){typeof Object.create=="function"?De.exports=function(ne,ie){ne.super_=ie,ne.prototype=Object.create(ie.prototype,{constructor:{value:ne,enumerable:!1,writable:!0,configurable:!0}})}:De.exports=function(ne,ie){ne.super_=ie;var oe=function(){};oe.prototype=ie.prototype,ne.prototype=new oe,ne.prototype.constructor=ne}},{}],84:[function(x,De,ve){De.exports=function(ne){return ne&&typeof ne=="object"&&typeof ne.copy=="function"&&typeof ne.fill=="function"&&typeof ne.readUInt8=="function"}},{}],85:[function(x,De,ve){(function(re,ne){(function(){var ie=/%[sdj%]/g;ve.format=function(dt){if(!Oe(dt)){for(var at=[],et=0;et<arguments.length;et++)at.push(me(arguments[et]));return at.join(" ")}for(var et=1,qe=arguments,it=qe.length,yt=String(dt).replace(ie,function(Bt){if(Bt==="%%")return"%";if(et>=it)return Bt;switch(Bt){case"%s":return String(qe[et++]);case"%d":return Number(qe[et++]);case"%j":try{return JSON.stringify(qe[et++])}catch(Et){return"[Circular]"}default:return Bt}}),ht=qe[et];et<it;ht=qe[++et])Ee(ht)||!Ze(ht)?yt+=" "+ht:yt+=" "+me(ht);return yt},ve.deprecate=function(dt,at){if(Ne(ne.process))return function(){return ve.deprecate(dt,at).apply(this,arguments)};if(re.noDeprecation===!0)return dt;var et=!1;function qe(){if(!et){if(re.throwDeprecation)throw new Error(at);re.traceDeprecation?console.trace(at):console.error(at),et=!0}return dt.apply(this,arguments)}return qe};var oe={},le;ve.debuglog=function(dt){if(Ne(le)&&(le=re.env.NODE_DEBUG||""),dt=dt.toUpperCase(),!oe[dt])if(new RegExp("\\b"+dt+"\\b","i").test(le)){var at=re.pid;oe[dt]=function(){var et=ve.format.apply(ve,arguments);console.error("%s %d: %s",dt,at,et)}}else oe[dt]=function(){};return oe[dt]};function me(dt,at){var et={seen:[],stylize:ae};return arguments.length>=3&&(et.depth=arguments[2]),arguments.length>=4&&(et.colors=arguments[3]),Le(at)?et.showHidden=at:at&&ve._extend(et,at),Ne(et.showHidden)&&(et.showHidden=!1),Ne(et.depth)&&(et.depth=2),Ne(et.colors)&&(et.colors=!1),Ne(et.customInspect)&&(et.customInspect=!0),et.colors&&(et.stylize=te),de(et,dt,et.depth)}ve.inspect=me,me.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]},me.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function te(dt,at){var et=me.styles[at];return et?"\x1B["+me.colors[et][0]+"m"+dt+"\x1B["+me.colors[et][1]+"m":dt}function ae(dt,at){return dt}function ue(dt){var at={};return dt.forEach(function(et,qe){at[et]=!0}),at}function de(dt,at,et){if(dt.customInspect&&at&&Qe(at.inspect)&&at.inspect!==ve.inspect&&!(at.constructor&&at.constructor.prototype===at)){var qe=at.inspect(et,dt);return Oe(qe)||(qe=de(dt,qe,et)),qe}var it=he(dt,at);if(it)return it;var yt=Object.keys(at),ht=ue(yt);if(dt.showHidden&&(yt=Object.getOwnPropertyNames(at)),Ue(at)&&(yt.indexOf("message")>=0||yt.indexOf("description")>=0))return we(at);if(yt.length===0){if(Qe(at)){var Bt=at.name?": "+at.name:"";return dt.stylize("[Function"+Bt+"]","special")}if(je(at))return dt.stylize(RegExp.prototype.toString.call(at),"regexp");if(Pe(at))return dt.stylize(Date.prototype.toString.call(at),"date");if(Ue(at))return we(at)}var Et="",st=!1,Ge=["{","}"];if(Ae(at)&&(st=!0,Ge=["[","]"]),Qe(at)){var We=at.name?": "+at.name:"";Et=" [Function"+We+"]"}if(je(at)&&(Et=" "+RegExp.prototype.toString.call(at)),Pe(at)&&(Et=" "+Date.prototype.toUTCString.call(at)),Ue(at)&&(Et=" "+we(at)),yt.length===0&&(!st||at.length==0))return Ge[0]+Et+Ge[1];if(et<0)return je(at)?dt.stylize(RegExp.prototype.toString.call(at),"regexp"):dt.stylize("[Object]","special");dt.seen.push(at);var se;return st?se=Se(dt,at,et,ht,yt):se=yt.map(function(fe){return xe(dt,at,et,ht,fe,st)}),dt.seen.pop(),ye(se,Et,Ge)}function he(dt,at){if(Ne(at))return dt.stylize("undefined","undefined");if(Oe(at)){var et="'"+JSON.stringify(at).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return dt.stylize(et,"string")}if(Me(at))return dt.stylize(""+at,"number");if(Le(at))return dt.stylize(""+at,"boolean");if(Ee(at))return dt.stylize("null","null")}function we(dt){return"["+Error.prototype.toString.call(dt)+"]"}function Se(dt,at,et,qe,it){for(var yt=[],ht=0,Bt=at.length;ht<Bt;++ht)nt(at,String(ht))?yt.push(xe(dt,at,et,qe,String(ht),!0)):yt.push("");return it.forEach(function(Et){Et.match(/^\d+$/)||yt.push(xe(dt,at,et,qe,Et,!0))}),yt}function xe(dt,at,et,qe,it,yt){var ht,Bt,Et;if(Et=Object.getOwnPropertyDescriptor(at,it)||{value:at[it]},Et.get?Et.set?Bt=dt.stylize("[Getter/Setter]","special"):Bt=dt.stylize("[Getter]","special"):Et.set&&(Bt=dt.stylize("[Setter]","special")),nt(qe,it)||(ht="["+it+"]"),Bt||(dt.seen.indexOf(Et.value)<0?(Ee(et)?Bt=de(dt,Et.value,null):Bt=de(dt,Et.value,et-1),Bt.indexOf(`
`)>-1&&(yt?Bt=Bt.split(`
`).map(function(st){return" "+st}).join(`
`).substr(2):Bt=`
`+Bt.split(`
`).map(function(st){return" "+st}).join(`
`))):Bt=dt.stylize("[Circular]","special")),Ne(ht)){if(yt&&it.match(/^\d+$/))return Bt;ht=JSON.stringify(""+it),ht.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ht=ht.substr(1,ht.length-2),ht=dt.stylize(ht,"name")):(ht=ht.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ht=dt.stylize(ht,"string"))}return ht+": "+Bt}function ye(dt,at,et){var qe=0,it=dt.reduce(function(yt,ht){return qe++,ht.indexOf(`
`)>=0&&qe++,yt+ht.replace(/\u001b\[\d\d?m/g,"").length+1},0);return it>60?et[0]+(at===""?"":at+`
`)+" "+dt.join(`,
`)+" "+et[1]:et[0]+at+" "+dt.join(", ")+" "+et[1]}function Ae(dt){return Array.isArray(dt)}ve.isArray=Ae;function Le(dt){return typeof dt=="boolean"}ve.isBoolean=Le;function Ee(dt){return dt===null}ve.isNull=Ee;function _e(dt){return dt==null}ve.isNullOrUndefined=_e;function Me(dt){return typeof dt=="number"}ve.isNumber=Me;function Oe(dt){return typeof dt=="string"}ve.isString=Oe;function Ce(dt){return typeof dt=="symbol"}ve.isSymbol=Ce;function Ne(dt){return dt===void 0}ve.isUndefined=Ne;function je(dt){return Ze(dt)&&ot(dt)==="[object RegExp]"}ve.isRegExp=je;function Ze(dt){return typeof dt=="object"&&dt!==null}ve.isObject=Ze;function Pe(dt){return Ze(dt)&&ot(dt)==="[object Date]"}ve.isDate=Pe;function Ue(dt){return Ze(dt)&&(ot(dt)==="[object Error]"||dt instanceof Error)}ve.isError=Ue;function Qe(dt){return typeof dt=="function"}ve.isFunction=Qe;function tt(dt){return dt===null||typeof dt=="boolean"||typeof dt=="number"||typeof dt=="string"||typeof dt=="symbol"||typeof dt=="undefined"}ve.isPrimitive=tt,ve.isBuffer=x("./support/isBuffer");function ot(dt){return Object.prototype.toString.call(dt)}function lt(dt){return dt<10?"0"+dt.toString(10):dt.toString(10)}var Ve=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ye(){var dt=new Date,at=[lt(dt.getHours()),lt(dt.getMinutes()),lt(dt.getSeconds())].join(":");return[dt.getDate(),Ve[dt.getMonth()],at].join(" ")}ve.log=function(){console.log("%s - %s",Ye(),ve.format.apply(ve,arguments))},ve.inherits=x("inherits"),ve._extend=function(dt,at){if(!at||!Ze(at))return dt;for(var et=Object.keys(at),qe=et.length;qe--;)dt[et[qe]]=at[et[qe]];return dt};function nt(dt,at){return Object.prototype.hasOwnProperty.call(dt,at)}}).call(this)}).call(this,x("_process"),typeof Wt!="undefined"?Wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(x,De,ve){(function(re){(function(){"use strict";var ne=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ie=typeof globalThis=="undefined"?re:globalThis;De.exports=function(){for(var le=[],me=0;me<ne.length;me++)typeof ie[ne[me]]=="function"&&(le[le.length]=ne[me]);return le}}).call(this)}).call(this,typeof Wt!="undefined"?Wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(x,De,ve){"use strict";ve.byteLength=ae,ve.toByteArray=de,ve.fromByteArray=Se;for(var re=[],ne=[],ie=typeof Uint8Array!="undefined"?Uint8Array:Array,oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=0,me=oe.length;le<me;++le)re[le]=oe[le],ne[oe.charCodeAt(le)]=le;ne[45]=62,ne[95]=63;function te(xe){var ye=xe.length;if(ye%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Ae=xe.indexOf("=");Ae===-1&&(Ae=ye);var Le=Ae===ye?0:4-Ae%4;return[Ae,Le]}function ae(xe){var ye=te(xe),Ae=ye[0],Le=ye[1];return(Ae+Le)*3/4-Le}function ue(xe,ye,Ae){return(ye+Ae)*3/4-Ae}function de(xe){var ye,Ae=te(xe),Le=Ae[0],Ee=Ae[1],_e=new ie(ue(xe,Le,Ee)),Me=0,Oe=Ee>0?Le-4:Le,Ce;for(Ce=0;Ce<Oe;Ce+=4)ye=ne[xe.charCodeAt(Ce)]<<18|ne[xe.charCodeAt(Ce+1)]<<12|ne[xe.charCodeAt(Ce+2)]<<6|ne[xe.charCodeAt(Ce+3)],_e[Me++]=ye>>16&255,_e[Me++]=ye>>8&255,_e[Me++]=ye&255;return Ee===2&&(ye=ne[xe.charCodeAt(Ce)]<<2|ne[xe.charCodeAt(Ce+1)]>>4,_e[Me++]=ye&255),Ee===1&&(ye=ne[xe.charCodeAt(Ce)]<<10|ne[xe.charCodeAt(Ce+1)]<<4|ne[xe.charCodeAt(Ce+2)]>>2,_e[Me++]=ye>>8&255,_e[Me++]=ye&255),_e}function he(xe){return re[xe>>18&63]+re[xe>>12&63]+re[xe>>6&63]+re[xe&63]}function we(xe,ye,Ae){for(var Le,Ee=[],_e=ye;_e<Ae;_e+=3)Le=(xe[_e]<<16&16711680)+(xe[_e+1]<<8&65280)+(xe[_e+2]&255),Ee.push(he(Le));return Ee.join("")}function Se(xe){for(var ye,Ae=xe.length,Le=Ae%3,Ee=[],_e=16383,Me=0,Oe=Ae-Le;Me<Oe;Me+=_e)Ee.push(we(xe,Me,Me+_e>Oe?Oe:Me+_e));return Le===1?(ye=xe[Ae-1],Ee.push(re[ye>>2]+re[ye<<4&63]+"==")):Le===2&&(ye=(xe[Ae-2]<<8)+xe[Ae-1],Ee.push(re[ye>>10]+re[ye>>4&63]+re[ye<<2&63]+"=")),Ee.join("")}},{}],88:[function(x,De,ve){(function(re,ne,ie){typeof De!="undefined"&&De.exports?De.exports=ie():typeof ke=="function"&&ke.amd?ke(ne,ie):re[ne]=ie()})(this,"bowser",function(){var re=!0;function ne(ue){function de(at){var et=ue.match(at);return et&&et.length>1&&et[1]||""}function he(at){var et=ue.match(at);return et&&et.length>1&&et[2]||""}var we=de(/(ipod|iphone|ipad)/i).toLowerCase(),Se=/like android/i.test(ue),xe=!Se&&/android/i.test(ue),ye=/nexus\s*[0-6]\s*/i.test(ue),Ae=!ye&&/nexus\s*[0-9]+/i.test(ue),Le=/CrOS/.test(ue),Ee=/silk/i.test(ue),_e=/sailfish/i.test(ue),Me=/tizen/i.test(ue),Oe=/(web|hpw)(o|0)s/i.test(ue),Ce=/windows phone/i.test(ue),Ne=/SamsungBrowser/i.test(ue),je=!Ce&&/windows/i.test(ue),Ze=!we&&!Ee&&/macintosh/i.test(ue),Pe=!xe&&!_e&&!Me&&!Oe&&/linux/i.test(ue),Ue=he(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Qe=de(/version\/(\d+(\.\d+)?)/i),tt=/tablet/i.test(ue)&&!/tablet pc/i.test(ue),ot=!tt&&/[^-]mobi/i.test(ue),lt=/xbox/i.test(ue),Ve;/opera/i.test(ue)?Ve={name:"Opera",opera:re,version:Qe||de(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ue)?Ve={name:"Opera",opera:re,version:de(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Qe}:/SamsungBrowser/i.test(ue)?Ve={name:"Samsung Internet for Android",samsungBrowser:re,version:Qe||de(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ue)?Ve={name:"NAVER Whale browser",whale:re,version:de(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ue)?Ve={name:"MZ Browser",mzbrowser:re,version:de(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ue)?Ve={name:"Opera Coast",coast:re,version:Qe||de(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ue)?Ve={name:"Focus",focus:re,version:de(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ue)?Ve={name:"Yandex Browser",yandexbrowser:re,version:Qe||de(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ue)?Ve={name:"UC Browser",ucbrowser:re,version:de(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ue)?Ve={name:"Maxthon",maxthon:re,version:de(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ue)?Ve={name:"Epiphany",epiphany:re,version:de(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ue)?Ve={name:"Puffin",puffin:re,version:de(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ue)?Ve={name:"Sleipnir",sleipnir:re,version:de(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ue)?Ve={name:"K-Meleon",kMeleon:re,version:de(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:Ce?(Ve={name:"Windows Phone",osname:"Windows Phone",windowsphone:re},Ue?(Ve.msedge=re,Ve.version=Ue):(Ve.msie=re,Ve.version=de(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ue)?Ve={name:"Internet Explorer",msie:re,version:de(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:Le?Ve={name:"Chrome",osname:"Chrome OS",chromeos:re,chromeBook:re,chrome:re,version:de(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ue)?Ve={name:"Microsoft Edge",msedge:re,version:Ue}:/vivaldi/i.test(ue)?Ve={name:"Vivaldi",vivaldi:re,version:de(/vivaldi\/(\d+(\.\d+)?)/i)||Qe}:_e?Ve={name:"Sailfish",osname:"Sailfish OS",sailfish:re,version:de(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ue)?Ve={name:"SeaMonkey",seamonkey:re,version:de(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ue)?(Ve={name:"Firefox",firefox:re,version:de(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ue)&&(Ve.firefoxos=re,Ve.osname="Firefox OS")):Ee?Ve={name:"Amazon Silk",silk:re,version:de(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ue)?Ve={name:"PhantomJS",phantom:re,version:de(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ue)?Ve={name:"SlimerJS",slimer:re,version:de(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ue)||/rim\stablet/i.test(ue)?Ve={name:"BlackBerry",osname:"BlackBerry OS",blackberry:re,version:Qe||de(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:Oe?(Ve={name:"WebOS",osname:"WebOS",webos:re,version:Qe||de(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ue)&&(Ve.touchpad=re)):/bada/i.test(ue)?Ve={name:"Bada",osname:"Bada",bada:re,version:de(/dolfin\/(\d+(\.\d+)?)/i)}:Me?Ve={name:"Tizen",osname:"Tizen",tizen:re,version:de(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Qe}:/qupzilla/i.test(ue)?Ve={name:"QupZilla",qupzilla:re,version:de(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Qe}:/chromium/i.test(ue)?Ve={name:"Chromium",chromium:re,version:de(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Qe}:/chrome|crios|crmo/i.test(ue)?Ve={name:"Chrome",chrome:re,version:de(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:xe?Ve={name:"Android",version:Qe}:/safari|applewebkit/i.test(ue)?(Ve={name:"Safari",safari:re},Qe&&(Ve.version=Qe)):we?(Ve={name:we=="iphone"?"iPhone":we=="ipad"?"iPad":"iPod"},Qe&&(Ve.version=Qe)):/googlebot/i.test(ue)?Ve={name:"Googlebot",googlebot:re,version:de(/googlebot\/(\d+(\.\d+))/i)||Qe}:Ve={name:de(/^(.*)\/(.*) /),version:he(/^(.*)\/(.*) /)},!Ve.msedge&&/(apple)?webkit/i.test(ue)?(/(apple)?webkit\/537\.36/i.test(ue)?(Ve.name=Ve.name||"Blink",Ve.blink=re):(Ve.name=Ve.name||"Webkit",Ve.webkit=re),!Ve.version&&Qe&&(Ve.version=Qe)):!Ve.opera&&/gecko\//i.test(ue)&&(Ve.name=Ve.name||"Gecko",Ve.gecko=re,Ve.version=Ve.version||de(/gecko\/(\d+(\.\d+)?)/i)),!Ve.windowsphone&&(xe||Ve.silk)?(Ve.android=re,Ve.osname="Android"):!Ve.windowsphone&&we?(Ve[we]=re,Ve.ios=re,Ve.osname="iOS"):Ze?(Ve.mac=re,Ve.osname="macOS"):lt?(Ve.xbox=re,Ve.osname="Xbox"):je?(Ve.windows=re,Ve.osname="Windows"):Pe&&(Ve.linux=re,Ve.osname="Linux");function Ye(at){switch(at){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 nt="";Ve.windows?nt=Ye(de(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Ve.windowsphone?nt=de(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Ve.mac?(nt=de(/Mac OS X (\d+([_\.\s]\d+)*)/i),nt=nt.replace(/[_\s]/g,".")):we?(nt=de(/os (\d+([_\s]\d+)*) like mac os x/i),nt=nt.replace(/[_\s]/g,".")):xe?nt=de(/android[ \/-](\d+(\.\d+)*)/i):Ve.webos?nt=de(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Ve.blackberry?nt=de(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Ve.bada?nt=de(/bada\/(\d+(\.\d+)*)/i):Ve.tizen&&(nt=de(/tizen[\/\s](\d+(\.\d+)*)/i)),nt&&(Ve.osversion=nt);var dt=!Ve.windows&&nt.split(".")[0];return tt||Ae||we=="ipad"||xe&&(dt==3||dt>=4&&!ot)||Ve.silk?Ve.tablet=re:(ot||we=="iphone"||we=="ipod"||xe||ye||Ve.blackberry||Ve.webos||Ve.bada)&&(Ve.mobile=re),Ve.msedge||Ve.msie&&Ve.version>=10||Ve.yandexbrowser&&Ve.version>=15||Ve.vivaldi&&Ve.version>=1||Ve.chrome&&Ve.version>=20||Ve.samsungBrowser&&Ve.version>=4||Ve.whale&&me([Ve.version,"1.0"])===1||Ve.mzbrowser&&me([Ve.version,"6.0"])===1||Ve.focus&&me([Ve.version,"1.0"])===1||Ve.firefox&&Ve.version>=20||Ve.safari&&Ve.version>=6||Ve.opera&&Ve.version>=10||Ve.ios&&Ve.osversion&&Ve.osversion.split(".")[0]>=6||Ve.blackberry&&Ve.version>=10.1||Ve.chromium&&Ve.version>=20?Ve.a=re:Ve.msie&&Ve.version<10||Ve.chrome&&Ve.version<20||Ve.firefox&&Ve.version<20||Ve.safari&&Ve.version<6||Ve.opera&&Ve.version<10||Ve.ios&&Ve.osversion&&Ve.osversion.split(".")[0]<6||Ve.chromium&&Ve.version<20?Ve.c=re:Ve.x=re,Ve}var ie=ne(typeof navigator!="undefined"&&navigator.userAgent||"");ie.test=function(ue){for(var de=0;de<ue.length;++de){var he=ue[de];if(typeof he=="string"&&he in ie)return!0}return!1};function oe(ue){return ue.split(".").length}function le(ue,de){var he=[],we;if(Array.prototype.map)return Array.prototype.map.call(ue,de);for(we=0;we<ue.length;we++)he.push(de(ue[we]));return he}function me(ue){for(var de=Math.max(oe(ue[0]),oe(ue[1])),he=le(ue,function(we){var Se=de-oe(we);return we=we+new Array(Se+1).join(".0"),le(we.split("."),function(xe){return new Array(20-xe.length).join("0")+xe}).reverse()});--de>=0;){if(he[0][de]>he[1][de])return 1;if(he[0][de]===he[1][de]){if(de===0)return 0}else return-1}}function te(ue,de,he){var we=ie;typeof de=="string"&&(he=de,de=void 0),de===void 0&&(de=!1),he&&(we=ne(he));var Se=""+we.version;for(var xe in ue)if(ue.hasOwnProperty(xe)&&we[xe]){if(typeof ue[xe]!="string")throw new Error("Browser version in the minVersion map should be a string: "+xe+": "+String(ue));return me([Se,ue[xe]])<0}return de}function ae(ue,de,he){return!te(ue,de,he)}return ie.isUnsupportedBrowser=te,ie.compareVersions=me,ie.check=ae,ie._detect=ne,ie.detect=ne,ie})},{}],89:[function(x,De,ve){},{}],90:[function(x,De,ve){(function(re){(function(){"use strict";var ne=x("base64-js"),ie=x("ieee754");ve.Buffer=te,ve.SlowBuffer=Le,ve.INSPECT_MAX_BYTES=50;var oe=2147483647;ve.kMaxLength=oe,te.TYPED_ARRAY_SUPPORT=le(),!te.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 le(){try{var Be=new Uint8Array(1);return Be.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Be.foo()===42}catch(Ke){return!1}}Object.defineProperty(te.prototype,"parent",{enumerable:!0,get:function(){if(te.isBuffer(this))return this.buffer}}),Object.defineProperty(te.prototype,"offset",{enumerable:!0,get:function(){if(te.isBuffer(this))return this.byteOffset}});function me(Be){if(Be>oe)throw new RangeError('The value "'+Be+'" is invalid for option "size"');var Ke=new Uint8Array(Be);return Ke.__proto__=te.prototype,Ke}function te(Be,Ke,Xe){if(typeof Be=="number"){if(typeof Ke=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return he(Be)}return ae(Be,Ke,Xe)}typeof Symbol!="undefined"&&Symbol.species!=null&&te[Symbol.species]===te&&Object.defineProperty(te,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),te.poolSize=8192;function ae(Be,Ke,Xe){if(typeof Be=="string")return we(Be,Ke);if(ArrayBuffer.isView(Be))return Se(Be);if(Be==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Be);if(He(Be,ArrayBuffer)||Be&&He(Be.buffer,ArrayBuffer))return xe(Be,Ke,Xe);if(typeof Be=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Je=Be.valueOf&&Be.valueOf();if(Je!=null&&Je!==Be)return te.from(Je,Ke,Xe);var ut=ye(Be);if(ut)return ut;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Be[Symbol.toPrimitive]=="function")return te.from(Be[Symbol.toPrimitive]("string"),Ke,Xe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Be)}te.from=function(Be,Ke,Xe){return ae(Be,Ke,Xe)},te.prototype.__proto__=Uint8Array.prototype,te.__proto__=Uint8Array;function ue(Be){if(typeof Be!="number")throw new TypeError('"size" argument must be of type number');if(Be<0)throw new RangeError('The value "'+Be+'" is invalid for option "size"')}function de(Be,Ke,Xe){return ue(Be),Be<=0?me(Be):Ke!==void 0?typeof Xe=="string"?me(Be).fill(Ke,Xe):me(Be).fill(Ke):me(Be)}te.alloc=function(Be,Ke,Xe){return de(Be,Ke,Xe)};function he(Be){return ue(Be),me(Be<0?0:Ae(Be)|0)}te.allocUnsafe=function(Be){return he(Be)},te.allocUnsafeSlow=function(Be){return he(Be)};function we(Be,Ke){if((typeof Ke!="string"||Ke==="")&&(Ke="utf8"),!te.isEncoding(Ke))throw new TypeError("Unknown encoding: "+Ke);var Xe=Ee(Be,Ke)|0,Je=me(Xe),ut=Je.write(Be,Ke);return ut!==Xe&&(Je=Je.slice(0,ut)),Je}function Se(Be){for(var Ke=Be.length<0?0:Ae(Be.length)|0,Xe=me(Ke),Je=0;Je<Ke;Je+=1)Xe[Je]=Be[Je]&255;return Xe}function xe(Be,Ke,Xe){if(Ke<0||Be.byteLength<Ke)throw new RangeError('"offset" is outside of buffer bounds');if(Be.byteLength<Ke+(Xe||0))throw new RangeError('"length" is outside of buffer bounds');var Je;return Ke===void 0&&Xe===void 0?Je=new Uint8Array(Be):Xe===void 0?Je=new Uint8Array(Be,Ke):Je=new Uint8Array(Be,Ke,Xe),Je.__proto__=te.prototype,Je}function ye(Be){if(te.isBuffer(Be)){var Ke=Ae(Be.length)|0,Xe=me(Ke);return Xe.length===0||Be.copy(Xe,0,0,Ke),Xe}if(Be.length!==void 0)return typeof Be.length!="number"||pe(Be.length)?me(0):Se(Be);if(Be.type==="Buffer"&&Array.isArray(Be.data))return Se(Be.data)}function Ae(Be){if(Be>=oe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+oe.toString(16)+" bytes");return Be|0}function Le(Be){return+Be!=Be&&(Be=0),te.alloc(+Be)}te.isBuffer=function(Ke){return Ke!=null&&Ke._isBuffer===!0&&Ke!==te.prototype},te.compare=function(Ke,Xe){if(He(Ke,Uint8Array)&&(Ke=te.from(Ke,Ke.offset,Ke.byteLength)),He(Xe,Uint8Array)&&(Xe=te.from(Xe,Xe.offset,Xe.byteLength)),!te.isBuffer(Ke)||!te.isBuffer(Xe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ke===Xe)return 0;for(var Je=Ke.length,ut=Xe.length,bt=0,gt=Math.min(Je,ut);bt<gt;++bt)if(Ke[bt]!==Xe[bt]){Je=Ke[bt],ut=Xe[bt];break}return Je<ut?-1:ut<Je?1:0},te.isEncoding=function(Ke){switch(String(Ke).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}},te.concat=function(Ke,Xe){if(!Array.isArray(Ke))throw new TypeError('"list" argument must be an Array of Buffers');if(Ke.length===0)return te.alloc(0);var Je;if(Xe===void 0)for(Xe=0,Je=0;Je<Ke.length;++Je)Xe+=Ke[Je].length;var ut=te.allocUnsafe(Xe),bt=0;for(Je=0;Je<Ke.length;++Je){var gt=Ke[Je];if(He(gt,Uint8Array)&&(gt=te.from(gt)),!te.isBuffer(gt))throw new TypeError('"list" argument must be an Array of Buffers');gt.copy(ut,bt),bt+=gt.length}return ut};function Ee(Be,Ke){if(te.isBuffer(Be))return Be.length;if(ArrayBuffer.isView(Be)||He(Be,ArrayBuffer))return Be.byteLength;if(typeof Be!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Be);var Xe=Be.length,Je=arguments.length>2&&arguments[2]===!0;if(!Je&&Xe===0)return 0;for(var ut=!1;;)switch(Ke){case"ascii":case"latin1":case"binary":return Xe;case"utf8":case"utf-8":return Ge(Be).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xe*2;case"hex":return Xe>>>1;case"base64":return fe(Be).length;default:if(ut)return Je?-1:Ge(Be).length;Ke=(""+Ke).toLowerCase(),ut=!0}}te.byteLength=Ee;function _e(Be,Ke,Xe){var Je=!1;if((Ke===void 0||Ke<0)&&(Ke=0),Ke>this.length||((Xe===void 0||Xe>this.length)&&(Xe=this.length),Xe<=0)||(Xe>>>=0,Ke>>>=0,Xe<=Ke))return"";for(Be||(Be="utf8");;)switch(Be){case"hex":return dt(this,Ke,Xe);case"utf8":case"utf-8":return ot(this,Ke,Xe);case"ascii":return Ye(this,Ke,Xe);case"latin1":case"binary":return nt(this,Ke,Xe);case"base64":return tt(this,Ke,Xe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return at(this,Ke,Xe);default:if(Je)throw new TypeError("Unknown encoding: "+Be);Be=(Be+"").toLowerCase(),Je=!0}}te.prototype._isBuffer=!0;function Me(Be,Ke,Xe){var Je=Be[Ke];Be[Ke]=Be[Xe],Be[Xe]=Je}te.prototype.swap16=function(){var Ke=this.length;if(Ke%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Xe=0;Xe<Ke;Xe+=2)Me(this,Xe,Xe+1);return this},te.prototype.swap32=function(){var Ke=this.length;if(Ke%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Xe=0;Xe<Ke;Xe+=4)Me(this,Xe,Xe+3),Me(this,Xe+1,Xe+2);return this},te.prototype.swap64=function(){var Ke=this.length;if(Ke%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Xe=0;Xe<Ke;Xe+=8)Me(this,Xe,Xe+7),Me(this,Xe+1,Xe+6),Me(this,Xe+2,Xe+5),Me(this,Xe+3,Xe+4);return this},te.prototype.toString=function(){var Ke=this.length;return Ke===0?"":arguments.length===0?ot(this,0,Ke):_e.apply(this,arguments)},te.prototype.toLocaleString=te.prototype.toString,te.prototype.equals=function(Ke){if(!te.isBuffer(Ke))throw new TypeError("Argument must be a Buffer");return this===Ke?!0:te.compare(this,Ke)===0},te.prototype.inspect=function(){var Ke="",Xe=ve.INSPECT_MAX_BYTES;return Ke=this.toString("hex",0,Xe).replace(/(.{2})/g,"$1 ").trim(),this.length>Xe&&(Ke+=" ... "),"<Buffer "+Ke+">"},te.prototype.compare=function(Ke,Xe,Je,ut,bt){if(He(Ke,Uint8Array)&&(Ke=te.from(Ke,Ke.offset,Ke.byteLength)),!te.isBuffer(Ke))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ke);if(Xe===void 0&&(Xe=0),Je===void 0&&(Je=Ke?Ke.length:0),ut===void 0&&(ut=0),bt===void 0&&(bt=this.length),Xe<0||Je>Ke.length||ut<0||bt>this.length)throw new RangeError("out of range index");if(ut>=bt&&Xe>=Je)return 0;if(ut>=bt)return-1;if(Xe>=Je)return 1;if(Xe>>>=0,Je>>>=0,ut>>>=0,bt>>>=0,this===Ke)return 0;for(var gt=bt-ut,Dt=Je-Xe,Vt=Math.min(gt,Dt),kt=this.slice(ut,bt),jt=Ke.slice(Xe,Je),_t=0;_t<Vt;++_t)if(kt[_t]!==jt[_t]){gt=kt[_t],Dt=jt[_t];break}return gt<Dt?-1:Dt<gt?1:0};function Oe(Be,Ke,Xe,Je,ut){if(Be.length===0)return-1;if(typeof Xe=="string"?(Je=Xe,Xe=0):Xe>2147483647?Xe=2147483647:Xe<-2147483648&&(Xe=-2147483648),Xe=+Xe,pe(Xe)&&(Xe=ut?0:Be.length-1),Xe<0&&(Xe=Be.length+Xe),Xe>=Be.length){if(ut)return-1;Xe=Be.length-1}else if(Xe<0)if(ut)Xe=0;else return-1;if(typeof Ke=="string"&&(Ke=te.from(Ke,Je)),te.isBuffer(Ke))return Ke.length===0?-1:Ce(Be,Ke,Xe,Je,ut);if(typeof Ke=="number")return Ke=Ke&255,typeof Uint8Array.prototype.indexOf=="function"?ut?Uint8Array.prototype.indexOf.call(Be,Ke,Xe):Uint8Array.prototype.lastIndexOf.call(Be,Ke,Xe):Ce(Be,[Ke],Xe,Je,ut);throw new TypeError("val must be string, number or Buffer")}function Ce(Be,Ke,Xe,Je,ut){var bt=1,gt=Be.length,Dt=Ke.length;if(Je!==void 0&&(Je=String(Je).toLowerCase(),Je==="ucs2"||Je==="ucs-2"||Je==="utf16le"||Je==="utf-16le")){if(Be.length<2||Ke.length<2)return-1;bt=2,gt/=2,Dt/=2,Xe/=2}function Vt(ft,St){return bt===1?ft[St]:ft.readUInt16BE(St*bt)}var kt;if(ut){var jt=-1;for(kt=Xe;kt<gt;kt++)if(Vt(Be,kt)===Vt(Ke,jt===-1?0:kt-jt)){if(jt===-1&&(jt=kt),kt-jt+1===Dt)return jt*bt}else jt!==-1&&(kt-=kt-jt),jt=-1}else for(Xe+Dt>gt&&(Xe=gt-Dt),kt=Xe;kt>=0;kt--){for(var _t=!0,Mt=0;Mt<Dt;Mt++)if(Vt(Be,kt+Mt)!==Vt(Ke,Mt)){_t=!1;break}if(_t)return kt}return-1}te.prototype.includes=function(Ke,Xe,Je){return this.indexOf(Ke,Xe,Je)!==-1},te.prototype.indexOf=function(Ke,Xe,Je){return Oe(this,Ke,Xe,Je,!0)},te.prototype.lastIndexOf=function(Ke,Xe,Je){return Oe(this,Ke,Xe,Je,!1)};function Ne(Be,Ke,Xe,Je){Xe=Number(Xe)||0;var ut=Be.length-Xe;Je?(Je=Number(Je),Je>ut&&(Je=ut)):Je=ut;var bt=Ke.length;Je>bt/2&&(Je=bt/2);for(var gt=0;gt<Je;++gt){var Dt=parseInt(Ke.substr(gt*2,2),16);if(pe(Dt))return gt;Be[Xe+gt]=Dt}return gt}function je(Be,Ke,Xe,Je){return ze(Ge(Ke,Be.length-Xe),Be,Xe,Je)}function Ze(Be,Ke,Xe,Je){return ze(We(Ke),Be,Xe,Je)}function Pe(Be,Ke,Xe,Je){return Ze(Be,Ke,Xe,Je)}function Ue(Be,Ke,Xe,Je){return ze(fe(Ke),Be,Xe,Je)}function Qe(Be,Ke,Xe,Je){return ze(se(Ke,Be.length-Xe),Be,Xe,Je)}te.prototype.write=function(Ke,Xe,Je,ut){if(Xe===void 0)ut="utf8",Je=this.length,Xe=0;else if(Je===void 0&&typeof Xe=="string")ut=Xe,Je=this.length,Xe=0;else if(isFinite(Xe))Xe=Xe>>>0,isFinite(Je)?(Je=Je>>>0,ut===void 0&&(ut="utf8")):(ut=Je,Je=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var bt=this.length-Xe;if((Je===void 0||Je>bt)&&(Je=bt),Ke.length>0&&(Je<0||Xe<0)||Xe>this.length)throw new RangeError("Attempt to write outside buffer bounds");ut||(ut="utf8");for(var gt=!1;;)switch(ut){case"hex":return Ne(this,Ke,Xe,Je);case"utf8":case"utf-8":return je(this,Ke,Xe,Je);case"ascii":return Ze(this,Ke,Xe,Je);case"latin1":case"binary":return Pe(this,Ke,Xe,Je);case"base64":return Ue(this,Ke,Xe,Je);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qe(this,Ke,Xe,Je);default:if(gt)throw new TypeError("Unknown encoding: "+ut);ut=(""+ut).toLowerCase(),gt=!0}},te.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function tt(Be,Ke,Xe){return Ke===0&&Xe===Be.length?ne.fromByteArray(Be):ne.fromByteArray(Be.slice(Ke,Xe))}function ot(Be,Ke,Xe){Xe=Math.min(Be.length,Xe);for(var Je=[],ut=Ke;ut<Xe;){var bt=Be[ut],gt=null,Dt=bt>239?4:bt>223?3:bt>191?2:1;if(ut+Dt<=Xe){var Vt,kt,jt,_t;switch(Dt){case 1:bt<128&&(gt=bt);break;case 2:Vt=Be[ut+1],(Vt&192)===128&&(_t=(bt&31)<<6|Vt&63,_t>127&&(gt=_t));break;case 3:Vt=Be[ut+1],kt=Be[ut+2],(Vt&192)===128&&(kt&192)===128&&(_t=(bt&15)<<12|(Vt&63)<<6|kt&63,_t>2047&&(_t<55296||_t>57343)&&(gt=_t));break;case 4:Vt=Be[ut+1],kt=Be[ut+2],jt=Be[ut+3],(Vt&192)===128&&(kt&192)===128&&(jt&192)===128&&(_t=(bt&15)<<18|(Vt&63)<<12|(kt&63)<<6|jt&63,_t>65535&&_t<1114112&&(gt=_t))}}gt===null?(gt=65533,Dt=1):gt>65535&&(gt-=65536,Je.push(gt>>>10&1023|55296),gt=56320|gt&1023),Je.push(gt),ut+=Dt}return Ve(Je)}var lt=4096;function Ve(Be){var Ke=Be.length;if(Ke<=lt)return String.fromCharCode.apply(String,Be);for(var Xe="",Je=0;Je<Ke;)Xe+=String.fromCharCode.apply(String,Be.slice(Je,Je+=lt));return Xe}function Ye(Be,Ke,Xe){var Je="";Xe=Math.min(Be.length,Xe);for(var ut=Ke;ut<Xe;++ut)Je+=String.fromCharCode(Be[ut]&127);return Je}function nt(Be,Ke,Xe){var Je="";Xe=Math.min(Be.length,Xe);for(var ut=Ke;ut<Xe;++ut)Je+=String.fromCharCode(Be[ut]);return Je}function dt(Be,Ke,Xe){var Je=Be.length;(!Ke||Ke<0)&&(Ke=0),(!Xe||Xe<0||Xe>Je)&&(Xe=Je);for(var ut="",bt=Ke;bt<Xe;++bt)ut+=st(Be[bt]);return ut}function at(Be,Ke,Xe){for(var Je=Be.slice(Ke,Xe),ut="",bt=0;bt<Je.length;bt+=2)ut+=String.fromCharCode(Je[bt]+Je[bt+1]*256);return ut}te.prototype.slice=function(Ke,Xe){var Je=this.length;Ke=~~Ke,Xe=Xe===void 0?Je:~~Xe,Ke<0?(Ke+=Je,Ke<0&&(Ke=0)):Ke>Je&&(Ke=Je),Xe<0?(Xe+=Je,Xe<0&&(Xe=0)):Xe>Je&&(Xe=Je),Xe<Ke&&(Xe=Ke);var ut=this.subarray(Ke,Xe);return ut.__proto__=te.prototype,ut};function et(Be,Ke,Xe){if(Be%1!==0||Be<0)throw new RangeError("offset is not uint");if(Be+Ke>Xe)throw new RangeError("Trying to access beyond buffer length")}te.prototype.readUIntLE=function(Ke,Xe,Je){Ke=Ke>>>0,Xe=Xe>>>0,Je||et(Ke,Xe,this.length);for(var ut=this[Ke],bt=1,gt=0;++gt<Xe&&(bt*=256);)ut+=this[Ke+gt]*bt;return ut},te.prototype.readUIntBE=function(Ke,Xe,Je){Ke=Ke>>>0,Xe=Xe>>>0,Je||et(Ke,Xe,this.length);for(var ut=this[Ke+--Xe],bt=1;Xe>0&&(bt*=256);)ut+=this[Ke+--Xe]*bt;return ut},te.prototype.readUInt8=function(Ke,Xe){return Ke=Ke>>>0,Xe||et(Ke,1,this.length),this[Ke]},te.prototype.readUInt16LE=function(Ke,Xe){return Ke=Ke>>>0,Xe||et(Ke,2,this.length),this[Ke]|this[Ke+1]<<8},te.prototype.readUInt16BE=function(Ke,Xe){return Ke=Ke>>>0,Xe||et(Ke,2,this.length),this[Ke]<<8|this[Ke+1]},te.prototype.readUInt32LE=function(Ke,Xe){return Ke=Ke>>>0,Xe||et(Ke,4,this.length),(this[Ke]|this[Ke+1]<<8|this[Ke+2]<<16)+this[Ke+3]*16777216},te.prototype.readUInt32BE=function(Ke,Xe){return Ke=Ke>>>0,Xe||et(Ke,4,this.length),this[Ke]*16777216+(this[Ke+1]<<16|this[Ke+2]<<8|this[Ke+3])},te.prototype.readIntLE=function(Ke,Xe,Je){Ke=Ke>>>0,Xe=Xe>>>0,Je||et(Ke,Xe,this.length);for(var ut=this[Ke],bt=1,gt=0;++gt<Xe&&(bt*=256);)ut+=this[Ke+gt]*bt;return bt*=128,ut>=bt&&(ut-=Math.pow(2,8*Xe)),ut},te.prototype.readIntBE=function(Ke,Xe,Je){Ke=Ke>>>0,Xe=Xe>>>0,Je||et(Ke,Xe,this.length);for(var ut=Xe,bt=1,gt=this[Ke+--ut];ut>0&&(bt*=256);)gt+=this[Ke+--ut]*bt;return bt*=128,gt>=bt&&(gt-=Math.pow(2,8*Xe)),gt},te.prototype.readInt8=function(Ke,Xe){return Ke=Ke>>>0,Xe||et(Ke,1,this.length),this[Ke]&128?(255-this[Ke]+1)*-1:this[Ke]},te.prototype.readInt16LE=function(Ke,Xe){Ke=Ke>>>0,Xe||et(Ke,2,this.length);var Je=this[Ke]|this[Ke+1]<<8;return Je&32768?Je|4294901760:Je},te.prototype.readInt16BE=function(Ke,Xe){Ke=Ke>>>0,Xe||et(Ke,2,this.length);var Je=this[Ke+1]|this[Ke]<<8;return Je&32768?Je|4294901760:Je},te.prototype.readInt32LE=function(Ke,Xe){return Ke=Ke>>>0,Xe||et(Ke,4,this.length),this[Ke]|this[Ke+1]<<8|this[Ke+2]<<16|this[Ke+3]<<24},te.prototype.readInt32BE=function(Ke,Xe){return Ke=Ke>>>0,Xe||et(Ke,4,this.length),this[Ke]<<24|this[Ke+1]<<16|this[Ke+2]<<8|this[Ke+3]},te.prototype.readFloatLE=function(Ke,Xe){return Ke=Ke>>>0,Xe||et(Ke,4,this.length),ie.read(this,Ke,!0,23,4)},te.prototype.readFloatBE=function(Ke,Xe){return Ke=Ke>>>0,Xe||et(Ke,4,this.length),ie.read(this,Ke,!1,23,4)},te.prototype.readDoubleLE=function(Ke,Xe){return Ke=Ke>>>0,Xe||et(Ke,8,this.length),ie.read(this,Ke,!0,52,8)},te.prototype.readDoubleBE=function(Ke,Xe){return Ke=Ke>>>0,Xe||et(Ke,8,this.length),ie.read(this,Ke,!1,52,8)};function qe(Be,Ke,Xe,Je,ut,bt){if(!te.isBuffer(Be))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ke>ut||Ke<bt)throw new RangeError('"value" argument is out of bounds');if(Xe+Je>Be.length)throw new RangeError("Index out of range")}te.prototype.writeUIntLE=function(Ke,Xe,Je,ut){if(Ke=+Ke,Xe=Xe>>>0,Je=Je>>>0,!ut){var bt=Math.pow(2,8*Je)-1;qe(this,Ke,Xe,Je,bt,0)}var gt=1,Dt=0;for(this[Xe]=Ke&255;++Dt<Je&&(gt*=256);)this[Xe+Dt]=Ke/gt&255;return Xe+Je},te.prototype.writeUIntBE=function(Ke,Xe,Je,ut){if(Ke=+Ke,Xe=Xe>>>0,Je=Je>>>0,!ut){var bt=Math.pow(2,8*Je)-1;qe(this,Ke,Xe,Je,bt,0)}var gt=Je-1,Dt=1;for(this[Xe+gt]=Ke&255;--gt>=0&&(Dt*=256);)this[Xe+gt]=Ke/Dt&255;return Xe+Je},te.prototype.writeUInt8=function(Ke,Xe,Je){return Ke=+Ke,Xe=Xe>>>0,Je||qe(this,Ke,Xe,1,255,0),this[Xe]=Ke&255,Xe+1},te.prototype.writeUInt16LE=function(Ke,Xe,Je){return Ke=+Ke,Xe=Xe>>>0,Je||qe(this,Ke,Xe,2,65535,0),this[Xe]=Ke&255,this[Xe+1]=Ke>>>8,Xe+2},te.prototype.writeUInt16BE=function(Ke,Xe,Je){return Ke=+Ke,Xe=Xe>>>0,Je||qe(this,Ke,Xe,2,65535,0),this[Xe]=Ke>>>8,this[Xe+1]=Ke&255,Xe+2},te.prototype.writeUInt32LE=function(Ke,Xe,Je){return Ke=+Ke,Xe=Xe>>>0,Je||qe(this,Ke,Xe,4,4294967295,0),this[Xe+3]=Ke>>>24,this[Xe+2]=Ke>>>16,this[Xe+1]=Ke>>>8,this[Xe]=Ke&255,Xe+4},te.prototype.writeUInt32BE=function(Ke,Xe,Je){return Ke=+Ke,Xe=Xe>>>0,Je||qe(this,Ke,Xe,4,4294967295,0),this[Xe]=Ke>>>24,this[Xe+1]=Ke>>>16,this[Xe+2]=Ke>>>8,this[Xe+3]=Ke&255,Xe+4},te.prototype.writeIntLE=function(Ke,Xe,Je,ut){if(Ke=+Ke,Xe=Xe>>>0,!ut){var bt=Math.pow(2,8*Je-1);qe(this,Ke,Xe,Je,bt-1,-bt)}var gt=0,Dt=1,Vt=0;for(this[Xe]=Ke&255;++gt<Je&&(Dt*=256);)Ke<0&&Vt===0&&this[Xe+gt-1]!==0&&(Vt=1),this[Xe+gt]=(Ke/Dt>>0)-Vt&255;return Xe+Je},te.prototype.writeIntBE=function(Ke,Xe,Je,ut){if(Ke=+Ke,Xe=Xe>>>0,!ut){var bt=Math.pow(2,8*Je-1);qe(this,Ke,Xe,Je,bt-1,-bt)}var gt=Je-1,Dt=1,Vt=0;for(this[Xe+gt]=Ke&255;--gt>=0&&(Dt*=256);)Ke<0&&Vt===0&&this[Xe+gt+1]!==0&&(Vt=1),this[Xe+gt]=(Ke/Dt>>0)-Vt&255;return Xe+Je},te.prototype.writeInt8=function(Ke,Xe,Je){return Ke=+Ke,Xe=Xe>>>0,Je||qe(this,Ke,Xe,1,127,-128),Ke<0&&(Ke=255+Ke+1),this[Xe]=Ke&255,Xe+1},te.prototype.writeInt16LE=function(Ke,Xe,Je){return Ke=+Ke,Xe=Xe>>>0,Je||qe(this,Ke,Xe,2,32767,-32768),this[Xe]=Ke&255,this[Xe+1]=Ke>>>8,Xe+2},te.prototype.writeInt16BE=function(Ke,Xe,Je){return Ke=+Ke,Xe=Xe>>>0,Je||qe(this,Ke,Xe,2,32767,-32768),this[Xe]=Ke>>>8,this[Xe+1]=Ke&255,Xe+2},te.prototype.writeInt32LE=function(Ke,Xe,Je){return Ke=+Ke,Xe=Xe>>>0,Je||qe(this,Ke,Xe,4,2147483647,-2147483648),this[Xe]=Ke&255,this[Xe+1]=Ke>>>8,this[Xe+2]=Ke>>>16,this[Xe+3]=Ke>>>24,Xe+4},te.prototype.writeInt32BE=function(Ke,Xe,Je){return Ke=+Ke,Xe=Xe>>>0,Je||qe(this,Ke,Xe,4,2147483647,-2147483648),Ke<0&&(Ke=4294967295+Ke+1),this[Xe]=Ke>>>24,this[Xe+1]=Ke>>>16,this[Xe+2]=Ke>>>8,this[Xe+3]=Ke&255,Xe+4};function it(Be,Ke,Xe,Je,ut,bt){if(Xe+Je>Be.length)throw new RangeError("Index out of range");if(Xe<0)throw new RangeError("Index out of range")}function yt(Be,Ke,Xe,Je,ut){return Ke=+Ke,Xe=Xe>>>0,ut||it(Be,Ke,Xe,4,34028234663852886e22,-34028234663852886e22),ie.write(Be,Ke,Xe,Je,23,4),Xe+4}te.prototype.writeFloatLE=function(Ke,Xe,Je){return yt(this,Ke,Xe,!0,Je)},te.prototype.writeFloatBE=function(Ke,Xe,Je){return yt(this,Ke,Xe,!1,Je)};function ht(Be,Ke,Xe,Je,ut){return Ke=+Ke,Xe=Xe>>>0,ut||it(Be,Ke,Xe,8,17976931348623157e292,-17976931348623157e292),ie.write(Be,Ke,Xe,Je,52,8),Xe+8}te.prototype.writeDoubleLE=function(Ke,Xe,Je){return ht(this,Ke,Xe,!0,Je)},te.prototype.writeDoubleBE=function(Ke,Xe,Je){return ht(this,Ke,Xe,!1,Je)},te.prototype.copy=function(Ke,Xe,Je,ut){if(!te.isBuffer(Ke))throw new TypeError("argument should be a Buffer");if(Je||(Je=0),!ut&&ut!==0&&(ut=this.length),Xe>=Ke.length&&(Xe=Ke.length),Xe||(Xe=0),ut>0&&ut<Je&&(ut=Je),ut===Je||Ke.length===0||this.length===0)return 0;if(Xe<0)throw new RangeError("targetStart out of bounds");if(Je<0||Je>=this.length)throw new RangeError("Index out of range");if(ut<0)throw new RangeError("sourceEnd out of bounds");ut>this.length&&(ut=this.length),Ke.length-Xe<ut-Je&&(ut=Ke.length-Xe+Je);var bt=ut-Je;if(this===Ke&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Xe,Je,ut);else if(this===Ke&&Je<Xe&&Xe<ut)for(var gt=bt-1;gt>=0;--gt)Ke[gt+Xe]=this[gt+Je];else Uint8Array.prototype.set.call(Ke,this.subarray(Je,ut),Xe);return bt},te.prototype.fill=function(Ke,Xe,Je,ut){if(typeof Ke=="string"){if(typeof Xe=="string"?(ut=Xe,Xe=0,Je=this.length):typeof Je=="string"&&(ut=Je,Je=this.length),ut!==void 0&&typeof ut!="string")throw new TypeError("encoding must be a string");if(typeof ut=="string"&&!te.isEncoding(ut))throw new TypeError("Unknown encoding: "+ut);if(Ke.length===1){var bt=Ke.charCodeAt(0);(ut==="utf8"&&bt<128||ut==="latin1")&&(Ke=bt)}}else typeof Ke=="number"&&(Ke=Ke&255);if(Xe<0||this.length<Xe||this.length<Je)throw new RangeError("Out of range index");if(Je<=Xe)return this;Xe=Xe>>>0,Je=Je===void 0?this.length:Je>>>0,Ke||(Ke=0);var gt;if(typeof Ke=="number")for(gt=Xe;gt<Je;++gt)this[gt]=Ke;else{var Dt=te.isBuffer(Ke)?Ke:te.from(Ke,ut),Vt=Dt.length;if(Vt===0)throw new TypeError('The value "'+Ke+'" is invalid for argument "value"');for(gt=0;gt<Je-Xe;++gt)this[gt+Xe]=Dt[gt%Vt]}return this};var Bt=/[^+/0-9A-Za-z-_]/g;function Et(Be){if(Be=Be.split("=")[0],Be=Be.trim().replace(Bt,""),Be.length<2)return"";for(;Be.length%4!==0;)Be=Be+"=";return Be}function st(Be){return Be<16?"0"+Be.toString(16):Be.toString(16)}function Ge(Be,Ke){Ke=Ke||1/0;for(var Xe,Je=Be.length,ut=null,bt=[],gt=0;gt<Je;++gt){if(Xe=Be.charCodeAt(gt),Xe>55295&&Xe<57344){if(!ut){if(Xe>56319){(Ke-=3)>-1&&bt.push(239,191,189);continue}else if(gt+1===Je){(Ke-=3)>-1&&bt.push(239,191,189);continue}ut=Xe;continue}if(Xe<56320){(Ke-=3)>-1&&bt.push(239,191,189),ut=Xe;continue}Xe=(ut-55296<<10|Xe-56320)+65536}else ut&&(Ke-=3)>-1&&bt.push(239,191,189);if(ut=null,Xe<128){if((Ke-=1)<0)break;bt.push(Xe)}else if(Xe<2048){if((Ke-=2)<0)break;bt.push(Xe>>6|192,Xe&63|128)}else if(Xe<65536){if((Ke-=3)<0)break;bt.push(Xe>>12|224,Xe>>6&63|128,Xe&63|128)}else if(Xe<1114112){if((Ke-=4)<0)break;bt.push(Xe>>18|240,Xe>>12&63|128,Xe>>6&63|128,Xe&63|128)}else throw new Error("Invalid code point")}return bt}function We(Be){for(var Ke=[],Xe=0;Xe<Be.length;++Xe)Ke.push(Be.charCodeAt(Xe)&255);return Ke}function se(Be,Ke){for(var Xe,Je,ut,bt=[],gt=0;gt<Be.length&&!((Ke-=2)<0);++gt)Xe=Be.charCodeAt(gt),Je=Xe>>8,ut=Xe%256,bt.push(ut),bt.push(Je);return bt}function fe(Be){return ne.toByteArray(Et(Be))}function ze(Be,Ke,Xe,Je){for(var ut=0;ut<Je&&!(ut+Xe>=Ke.length||ut>=Be.length);++ut)Ke[ut+Xe]=Be[ut];return ut}function He(Be,Ke){return Be instanceof Ke||Be!=null&&Be.constructor!=null&&Be.constructor.name!=null&&Be.constructor.name===Ke.name}function pe(Be){return Be!==Be}}).call(this)}).call(this,x("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(x,De,ve){De.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,De,ve){"use strict";var re=x("get-intrinsic"),ne=x("./"),ie=ne(re("String.prototype.indexOf"));De.exports=function(le,me){var te=re(le,!!me);return typeof te=="function"&&ie(le,".prototype.")>-1?ne(te):te}},{"./":93,"get-intrinsic":348}],93:[function(x,De,ve){"use strict";var re=x("function-bind"),ne=x("get-intrinsic"),ie=ne("%Function.prototype.apply%"),oe=ne("%Function.prototype.call%"),le=ne("%Reflect.apply%",!0)||re.call(oe,ie),me=ne("%Object.getOwnPropertyDescriptor%",!0),te=ne("%Object.defineProperty%",!0),ae=ne("%Math.max%");if(te)try{te({},"a",{value:1})}catch(de){te=null}De.exports=function(he){var we=le(re,oe,arguments);if(me&&te){var Se=me(we,"length");Se.configurable&&te(we,"length",{value:1+ae(0,he.length-(arguments.length-1))})}return we};var ue=function(){return le(re,ie,arguments)};te?te(De.exports,"apply",{value:ue}):De.exports.apply=ue},{"function-bind":347,"get-intrinsic":348}],94:[function(x,De,ve){"use strict";var re=Array.prototype.slice;De.exports=ne;function ne(oe,le){if(!(this instanceof ne))return new ne(oe,le);this.src=oe,this._withAccess=le}ne.prototype.withAccess=function(oe){return this._withAccess=oe!==!1,this},ne.prototype.pick=function(oe){return Array.isArray(oe)||(oe=re.call(arguments)),oe.length&&(this.keys=oe),this},ne.prototype.to=function(oe){if(oe=oe||{},!this.src)return oe;var le=this.keys||Object.keys(this.src);if(!this._withAccess){for(var me=0;me<le.length;me++)te=le[me],oe[te]===void 0&&(oe[te]=this.src[te]);return oe}for(var me=0;me<le.length;me++){var te=le[me];if(ie(oe,te)){var ae=this.src.__lookupGetter__(te),ue=this.src.__lookupSetter__(te);ae&&oe.__defineGetter__(te,ae),ue&&oe.__defineSetter__(te,ue),!ae&&!ue&&(oe[te]=this.src[te])}}return oe},ne.prototype.toCover=function(oe){for(var le=this.keys||Object.keys(this.src),me=0;me<le.length;me++){var te=le[me];delete oe[te];var ae=this.src.__lookupGetter__(te),ue=this.src.__lookupSetter__(te);ae&&oe.__defineGetter__(te,ae),ue&&oe.__defineSetter__(te,ue),!ae&&!ue&&(oe[te]=this.src[te])}},ne.prototype.override=ne.prototype.toCover,ne.prototype.and=function(oe){var le={};return this.to(le),this.src=oe,this.to(le),this.src=le,this};function ie(oe,le){return oe[le]===void 0&&oe.__lookupGetter__(le)===void 0&&oe.__lookupSetter__(le)===void 0}},{}],95:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/is-callable"),ie=x("../internals/try-to-string"),oe=re.TypeError;De.exports=function(le){if(ne(le))return le;throw oe(ie(le)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/is-constructor"),ie=x("../internals/try-to-string"),oe=re.TypeError;De.exports=function(le){if(ne(le))return le;throw oe(ie(le)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/is-callable"),ie=re.String,oe=re.TypeError;De.exports=function(le){if(typeof le=="object"||ne(le))return le;throw oe("Can't set "+ie(le)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(x,De,ve){var re=x("../internals/well-known-symbol"),ne=x("../internals/object-create"),ie=x("../internals/object-define-property"),oe=re("unscopables"),le=Array.prototype;le[oe]==null&&ie.f(le,oe,{configurable:!0,value:ne(null)}),De.exports=function(me){le[oe][me]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(x,De,ve){"use strict";var re=x("../internals/string-multibyte").charAt;De.exports=function(ne,ie,oe){return ie+(oe?re(ne,ie).length:1)}},{"../internals/string-multibyte":239}],100:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/object-is-prototype-of"),ie=re.TypeError;De.exports=function(oe,le){if(ne(le,oe))return oe;throw ie("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/is-object"),ie=re.String,oe=re.TypeError;De.exports=function(le){if(ne(le))return le;throw oe(ie(le)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(x,De,ve){De.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-native"),ne=x("../internals/descriptors"),ie=x("../internals/global"),oe=x("../internals/is-callable"),le=x("../internals/is-object"),me=x("../internals/has-own-property"),te=x("../internals/classof"),ae=x("../internals/try-to-string"),ue=x("../internals/create-non-enumerable-property"),de=x("../internals/redefine"),he=x("../internals/object-define-property").f,we=x("../internals/object-is-prototype-of"),Se=x("../internals/object-get-prototype-of"),xe=x("../internals/object-set-prototype-of"),ye=x("../internals/well-known-symbol"),Ae=x("../internals/uid"),Le=ie.Int8Array,Ee=Le&&Le.prototype,_e=ie.Uint8ClampedArray,Me=_e&&_e.prototype,Oe=Le&&Se(Le),Ce=Ee&&Se(Ee),Ne=Object.prototype,je=ie.TypeError,Ze=ye("toStringTag"),Pe=Ae("TYPED_ARRAY_TAG"),Ue=Ae("TYPED_ARRAY_CONSTRUCTOR"),Qe=re&&!!xe&&te(ie.opera)!=="Opera",tt=!1,ot,lt,Ve,Ye={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},nt={BigInt64Array:8,BigUint64Array:8},dt=function(Bt){if(!le(Bt))return!1;var Et=te(Bt);return Et==="DataView"||me(Ye,Et)||me(nt,Et)},at=function(ht){if(!le(ht))return!1;var Bt=te(ht);return me(Ye,Bt)||me(nt,Bt)},et=function(ht){if(at(ht))return ht;throw je("Target is not a typed array")},qe=function(ht){if(oe(ht)&&(!xe||we(Oe,ht)))return ht;throw je(ae(ht)+" is not a typed array constructor")},it=function(ht,Bt,Et,st){if(ne){if(Et)for(var Ge in Ye){var We=ie[Ge];if(We&&me(We.prototype,ht))try{delete We.prototype[ht]}catch(se){try{We.prototype[ht]=Bt}catch(fe){}}}(!Ce[ht]||Et)&&de(Ce,ht,Et?Bt:Qe&&Ee[ht]||Bt,st)}},yt=function(ht,Bt,Et){var st,Ge;if(ne){if(xe){if(Et){for(st in Ye)if(Ge=ie[st],Ge&&me(Ge,ht))try{delete Ge[ht]}catch(We){}}if(!Oe[ht]||Et)try{return de(Oe,ht,Et?Bt:Qe&&Oe[ht]||Bt)}catch(We){}else return}for(st in Ye)Ge=ie[st],Ge&&(!Ge[ht]||Et)&&de(Ge,ht,Bt)}};for(ot in Ye)lt=ie[ot],Ve=lt&&lt.prototype,Ve?ue(Ve,Ue,lt):Qe=!1;for(ot in nt)lt=ie[ot],Ve=lt&&lt.prototype,Ve&&ue(Ve,Ue,lt);if((!Qe||!oe(Oe)||Oe===Function.prototype)&&(Oe=function(){throw je("Incorrect invocation")},Qe))for(ot in Ye)ie[ot]&&xe(ie[ot],Oe);if((!Qe||!Ce||Ce===Ne)&&(Ce=Oe.prototype,Qe))for(ot in Ye)ie[ot]&&xe(ie[ot].prototype,Ce);if(Qe&&Se(Me)!==Ce&&xe(Me,Ce),ne&&!me(Ce,Ze)){tt=!0,he(Ce,Ze,{get:function(){return le(this)?this[Pe]:void 0}});for(ot in Ye)ie[ot]&&ue(ie[ot],Pe,ot)}De.exports={NATIVE_ARRAY_BUFFER_VIEWS:Qe,TYPED_ARRAY_CONSTRUCTOR:Ue,TYPED_ARRAY_TAG:tt&&Pe,aTypedArray:et,aTypedArrayConstructor:qe,exportTypedArrayMethod:it,exportTypedArrayStaticMethod:yt,isView:dt,isTypedArray:at,TypedArray:Oe,TypedArrayPrototype:Ce}},{"../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,De,ve){"use strict";var re=x("../internals/global"),ne=x("../internals/function-uncurry-this"),ie=x("../internals/descriptors"),oe=x("../internals/array-buffer-native"),le=x("../internals/function-name"),me=x("../internals/create-non-enumerable-property"),te=x("../internals/redefine-all"),ae=x("../internals/fails"),ue=x("../internals/an-instance"),de=x("../internals/to-integer-or-infinity"),he=x("../internals/to-length"),we=x("../internals/to-index"),Se=x("../internals/ieee754"),xe=x("../internals/object-get-prototype-of"),ye=x("../internals/object-set-prototype-of"),Ae=x("../internals/object-get-own-property-names").f,Le=x("../internals/object-define-property").f,Ee=x("../internals/array-fill"),_e=x("../internals/array-slice-simple"),Me=x("../internals/set-to-string-tag"),Oe=x("../internals/internal-state"),Ce=le.PROPER,Ne=le.CONFIGURABLE,je=Oe.get,Ze=Oe.set,Pe="ArrayBuffer",Ue="DataView",Qe="prototype",tt="Wrong length",ot="Wrong index",lt=re[Pe],Ve=lt,Ye=Ve&&Ve[Qe],nt=re[Ue],dt=nt&&nt[Qe],at=Object.prototype,et=re.Array,qe=re.RangeError,it=ne(Ee),yt=ne([].reverse),ht=Se.pack,Bt=Se.unpack,Et=function(gt){return[gt&255]},st=function(gt){return[gt&255,gt>>8&255]},Ge=function(gt){return[gt&255,gt>>8&255,gt>>16&255,gt>>24&255]},We=function(gt){return gt[3]<<24|gt[2]<<16|gt[1]<<8|gt[0]},se=function(gt){return ht(gt,23,4)},fe=function(gt){return ht(gt,52,8)},ze=function(gt,Dt){Le(gt[Qe],Dt,{get:function(){return je(this)[Dt]}})},He=function(gt,Dt,Vt,kt){var jt=we(Vt),_t=je(gt);if(jt+Dt>_t.byteLength)throw qe(ot);var Mt=je(_t.buffer).bytes,ft=jt+_t.byteOffset,St=_e(Mt,ft,ft+Dt);return kt?St:yt(St)},pe=function(gt,Dt,Vt,kt,jt,_t){var Mt=we(Vt),ft=je(gt);if(Mt+Dt>ft.byteLength)throw qe(ot);for(var St=je(ft.buffer).bytes,Nt=Mt+ft.byteOffset,Ft=kt(+jt),Zt=0;Zt<Dt;Zt++)St[Nt+Zt]=Ft[_t?Zt:Dt-Zt-1]};if(!oe)Ve=function(Dt){ue(this,Ye);var Vt=we(Dt);Ze(this,{bytes:it(et(Vt),0),byteLength:Vt}),ie||(this.byteLength=Vt)},Ye=Ve[Qe],nt=function(Dt,Vt,kt){ue(this,dt),ue(Dt,Ye);var jt=je(Dt).byteLength,_t=de(Vt);if(_t<0||_t>jt)throw qe("Wrong offset");if(kt=kt===void 0?jt-_t:he(kt),_t+kt>jt)throw qe(tt);Ze(this,{buffer:Dt,byteLength:kt,byteOffset:_t}),ie||(this.buffer=Dt,this.byteLength=kt,this.byteOffset=_t)},dt=nt[Qe],ie&&(ze(Ve,"byteLength"),ze(nt,"buffer"),ze(nt,"byteLength"),ze(nt,"byteOffset")),te(dt,{getInt8:function(Dt){return He(this,1,Dt)[0]<<24>>24},getUint8:function(Dt){return He(this,1,Dt)[0]},getInt16:function(Dt){var Vt=He(this,2,Dt,arguments.length>1?arguments[1]:void 0);return(Vt[1]<<8|Vt[0])<<16>>16},getUint16:function(Dt){var Vt=He(this,2,Dt,arguments.length>1?arguments[1]:void 0);return Vt[1]<<8|Vt[0]},getInt32:function(Dt){return We(He(this,4,Dt,arguments.length>1?arguments[1]:void 0))},getUint32:function(Dt){return We(He(this,4,Dt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(Dt){return Bt(He(this,4,Dt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(Dt){return Bt(He(this,8,Dt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(Dt,Vt){pe(this,1,Dt,Et,Vt)},setUint8:function(Dt,Vt){pe(this,1,Dt,Et,Vt)},setInt16:function(Dt,Vt){pe(this,2,Dt,st,Vt,arguments.length>2?arguments[2]:void 0)},setUint16:function(Dt,Vt){pe(this,2,Dt,st,Vt,arguments.length>2?arguments[2]:void 0)},setInt32:function(Dt,Vt){pe(this,4,Dt,Ge,Vt,arguments.length>2?arguments[2]:void 0)},setUint32:function(Dt,Vt){pe(this,4,Dt,Ge,Vt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(Dt,Vt){pe(this,4,Dt,se,Vt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(Dt,Vt){pe(this,8,Dt,fe,Vt,arguments.length>2?arguments[2]:void 0)}});else{var Be=Ce&&lt.name!==Pe;if(!ae(function(){lt(1)})||!ae(function(){new lt(-1)})||ae(function(){return new lt,new lt(1.5),new lt(NaN),Be&&!Ne})){Ve=function(Dt){return ue(this,Ye),new lt(we(Dt))},Ve[Qe]=Ye;for(var Ke=Ae(lt),Xe=0,Je;Ke.length>Xe;)(Je=Ke[Xe++])in Ve||me(Ve,Je,lt[Je]);Ye.constructor=Ve}else Be&&Ne&&me(lt,"name",Pe);ye&&xe(dt)!==at&&ye(dt,at);var ut=new nt(new Ve(2)),bt=ne(dt.setInt8);ut.setInt8(0,2147483648),ut.setInt8(1,2147483649),(ut.getInt8(0)||!ut.getInt8(1))&&te(dt,{setInt8:function(Dt,Vt){bt(this,Dt,Vt<<24>>24)},setUint8:function(Dt,Vt){bt(this,Dt,Vt<<24>>24)}},{unsafe:!0})}Me(Ve,Pe),Me(nt,Ue),De.exports={ArrayBuffer:Ve,DataView:nt}},{"../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,De,ve){"use strict";var re=x("../internals/to-object"),ne=x("../internals/to-absolute-index"),ie=x("../internals/length-of-array-like"),oe=Math.min;De.exports=[].copyWithin||function(me,te){var ae=re(this),ue=ie(ae),de=ne(me,ue),he=ne(te,ue),we=arguments.length>2?arguments[2]:void 0,Se=oe((we===void 0?ue:ne(we,ue))-he,ue-de),xe=1;for(he<de&&de<he+Se&&(xe=-1,he+=Se-1,de+=Se-1);Se-- >0;)he in ae?ae[de]=ae[he]:delete ae[de],de+=xe,he+=xe;return ae}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(x,De,ve){"use strict";var re=x("../internals/to-object"),ne=x("../internals/to-absolute-index"),ie=x("../internals/length-of-array-like");De.exports=function(le){for(var me=re(this),te=ie(me),ae=arguments.length,ue=ne(ae>1?arguments[1]:void 0,te),de=ae>2?arguments[2]:void 0,he=de===void 0?te:ne(de,te);he>ue;)me[ue++]=le;return me}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(x,De,ve){"use strict";var re=x("../internals/array-iteration").forEach,ne=x("../internals/array-method-is-strict"),ie=ne("forEach");De.exports=ie?[].forEach:function(le){return re(this,le,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(x,De,ve){var re=x("../internals/length-of-array-like");De.exports=function(ne,ie){for(var oe=0,le=re(ie),me=new ne(le);le>oe;)me[oe]=ie[oe++];return me}},{"../internals/length-of-array-like":188}],109:[function(x,De,ve){"use strict";var re=x("../internals/global"),ne=x("../internals/function-bind-context"),ie=x("../internals/function-call"),oe=x("../internals/to-object"),le=x("../internals/call-with-safe-iteration-closing"),me=x("../internals/is-array-iterator-method"),te=x("../internals/is-constructor"),ae=x("../internals/length-of-array-like"),ue=x("../internals/create-property"),de=x("../internals/get-iterator"),he=x("../internals/get-iterator-method"),we=re.Array;De.exports=function(xe){var ye=oe(xe),Ae=te(this),Le=arguments.length,Ee=Le>1?arguments[1]:void 0,_e=Ee!==void 0;_e&&(Ee=ne(Ee,Le>2?arguments[2]:void 0));var Me=he(ye),Oe=0,Ce,Ne,je,Ze,Pe,Ue;if(Me&&!(this==we&&me(Me)))for(Ze=de(ye,Me),Pe=Ze.next,Ne=Ae?new this:[];!(je=ie(Pe,Ze)).done;Oe++)Ue=_e?le(Ze,Ee,[je.value,Oe],!0):je.value,ue(Ne,Oe,Ue);else for(Ce=ae(ye),Ne=Ae?new this(Ce):we(Ce);Ce>Oe;Oe++)Ue=_e?Ee(ye[Oe],Oe):ye[Oe],ue(Ne,Oe,Ue);return Ne.length=Oe,Ne}},{"../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,De,ve){var re=x("../internals/to-indexed-object"),ne=x("../internals/to-absolute-index"),ie=x("../internals/length-of-array-like"),oe=function(le){return function(me,te,ae){var ue=re(me),de=ie(ue),he=ne(ae,de),we;if(le&&te!=te){for(;de>he;)if(we=ue[he++],we!=we)return!0}else for(;de>he;he++)if((le||he in ue)&&ue[he]===te)return le||he||0;return!le&&-1}};De.exports={includes:oe(!0),indexOf:oe(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(x,De,ve){var re=x("../internals/function-bind-context"),ne=x("../internals/function-uncurry-this"),ie=x("../internals/indexed-object"),oe=x("../internals/to-object"),le=x("../internals/length-of-array-like"),me=x("../internals/array-species-create"),te=ne([].push),ae=function(ue){var de=ue==1,he=ue==2,we=ue==3,Se=ue==4,xe=ue==6,ye=ue==7,Ae=ue==5||xe;return function(Le,Ee,_e,Me){for(var Oe=oe(Le),Ce=ie(Oe),Ne=re(Ee,_e),je=le(Ce),Ze=0,Pe=Me||me,Ue=de?Pe(Le,je):he||ye?Pe(Le,0):void 0,Qe,tt;je>Ze;Ze++)if((Ae||Ze in Ce)&&(Qe=Ce[Ze],tt=Ne(Qe,Ze,Oe),ue))if(de)Ue[Ze]=tt;else if(tt)switch(ue){case 3:return!0;case 5:return Qe;case 6:return Ze;case 2:te(Ue,Qe)}else switch(ue){case 4:return!1;case 7:te(Ue,Qe)}return xe?-1:we||Se?Se:Ue}};De.exports={forEach:ae(0),map:ae(1),filter:ae(2),some:ae(3),every:ae(4),find:ae(5),findIndex:ae(6),filterReject:ae(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,De,ve){"use strict";var re=x("../internals/function-apply"),ne=x("../internals/to-indexed-object"),ie=x("../internals/to-integer-or-infinity"),oe=x("../internals/length-of-array-like"),le=x("../internals/array-method-is-strict"),me=Math.min,te=[].lastIndexOf,ae=!!te&&1/[1].lastIndexOf(1,-0)<0,ue=le("lastIndexOf"),de=ae||!ue;De.exports=de?function(we){if(ae)return re(te,this,arguments)||0;var Se=ne(this),xe=oe(Se),ye=xe-1;for(arguments.length>1&&(ye=me(ye,ie(arguments[1]))),ye<0&&(ye=xe+ye);ye>=0;ye--)if(ye in Se&&Se[ye]===we)return ye||0;return-1}:te},{"../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,De,ve){var re=x("../internals/fails"),ne=x("../internals/well-known-symbol"),ie=x("../internals/engine-v8-version"),oe=ne("species");De.exports=function(le){return ie>=51||!re(function(){var me=[],te=me.constructor={};return te[oe]=function(){return{foo:1}},me[le](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(x,De,ve){"use strict";var re=x("../internals/fails");De.exports=function(ne,ie){var oe=[][ne];return!!oe&&re(function(){oe.call(null,ie||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/a-callable"),ie=x("../internals/to-object"),oe=x("../internals/indexed-object"),le=x("../internals/length-of-array-like"),me=re.TypeError,te=function(ae){return function(ue,de,he,we){ne(de);var Se=ie(ue),xe=oe(Se),ye=le(Se),Ae=ae?ye-1:0,Le=ae?-1:1;if(he<2)for(;;){if(Ae in xe){we=xe[Ae],Ae+=Le;break}if(Ae+=Le,ae?Ae<0:ye<=Ae)throw me("Reduce of empty array with no initial value")}for(;ae?Ae>=0:ye>Ae;Ae+=Le)Ae in xe&&(we=de(we,xe[Ae],Ae,Se));return we}};De.exports={left:te(!1),right:te(!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,De,ve){var re=x("../internals/global"),ne=x("../internals/to-absolute-index"),ie=x("../internals/length-of-array-like"),oe=x("../internals/create-property"),le=re.Array,me=Math.max;De.exports=function(te,ae,ue){for(var de=ie(te),he=ne(ae,de),we=ne(ue===void 0?de:ue,de),Se=le(me(we-he,0)),xe=0;he<we;he++,xe++)oe(Se,xe,te[he]);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,De,ve){var re=x("../internals/function-uncurry-this");De.exports=re([].slice)},{"../internals/function-uncurry-this":157}],118:[function(x,De,ve){var re=x("../internals/array-slice-simple"),ne=Math.floor,ie=function(me,te){var ae=me.length,ue=ne(ae/2);return ae<8?oe(me,te):le(me,ie(re(me,0,ue),te),ie(re(me,ue),te),te)},oe=function(me,te){for(var ae=me.length,ue=1,de,he;ue<ae;){for(he=ue,de=me[ue];he&&te(me[he-1],de)>0;)me[he]=me[--he];he!==ue++&&(me[he]=de)}return me},le=function(me,te,ae,ue){for(var de=te.length,he=ae.length,we=0,Se=0;we<de||Se<he;)me[we+Se]=we<de&&Se<he?ue(te[we],ae[Se])<=0?te[we++]:ae[Se++]:we<de?te[we++]:ae[Se++];return me};De.exports=ie},{"../internals/array-slice-simple":116}],119:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/is-array"),ie=x("../internals/is-constructor"),oe=x("../internals/is-object"),le=x("../internals/well-known-symbol"),me=le("species"),te=re.Array;De.exports=function(ae){var ue;return ne(ae)&&(ue=ae.constructor,ie(ue)&&(ue===te||ne(ue.prototype))?ue=void 0:oe(ue)&&(ue=ue[me],ue===null&&(ue=void 0))),ue===void 0?te:ue}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(x,De,ve){var re=x("../internals/array-species-constructor");De.exports=function(ne,ie){return new(re(ne))(ie===0?0:ie)}},{"../internals/array-species-constructor":119}],121:[function(x,De,ve){var re=x("../internals/an-object"),ne=x("../internals/iterator-close");De.exports=function(ie,oe,le,me){try{return me?oe(re(le)[0],le[1]):oe(le)}catch(te){ne(ie,"throw",te)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(x,De,ve){var re=x("../internals/well-known-symbol"),ne=re("iterator"),ie=!1;try{var oe=0,le={next:function(){return{done:!!oe++}},return:function(){ie=!0}};le[ne]=function(){return this},Array.from(le,function(){throw 2})}catch(me){}De.exports=function(me,te){if(!te&&!ie)return!1;var ae=!1;try{var ue={};ue[ne]=function(){return{next:function(){return{done:ae=!0}}}},me(ue)}catch(de){}return ae}},{"../internals/well-known-symbol":268}],123:[function(x,De,ve){var re=x("../internals/function-uncurry-this"),ne=re({}.toString),ie=re("".slice);De.exports=function(oe){return ie(ne(oe),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/to-string-tag-support"),ie=x("../internals/is-callable"),oe=x("../internals/classof-raw"),le=x("../internals/well-known-symbol"),me=le("toStringTag"),te=re.Object,ae=oe(function(){return arguments}())=="Arguments",ue=function(de,he){try{return de[he]}catch(we){}};De.exports=ne?oe:function(de){var he,we,Se;return de===void 0?"Undefined":de===null?"Null":typeof(we=ue(he=te(de),me))=="string"?we:ae?oe(he):(Se=oe(he))=="Object"&&ie(he.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,De,ve){var re=x("../internals/has-own-property"),ne=x("../internals/own-keys"),ie=x("../internals/object-get-own-property-descriptor"),oe=x("../internals/object-define-property");De.exports=function(le,me,te){for(var ae=ne(me),ue=oe.f,de=ie.f,he=0;he<ae.length;he++){var we=ae[he];!re(le,we)&&!(te&&re(te,we))&&ue(le,we,de(me,we))}}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/own-keys":212}],126:[function(x,De,ve){var re=x("../internals/well-known-symbol"),ne=re("match");De.exports=function(ie){var oe=/./;try{"/./"[ie](oe)}catch(le){try{return oe[ne]=!1,"/./"[ie](oe)}catch(me){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(x,De,ve){var re=x("../internals/fails");De.exports=!re(function(){function ne(){}return ne.prototype.constructor=null,Object.getPrototypeOf(new ne)!==ne.prototype})},{"../internals/fails":150}],128:[function(x,De,ve){"use strict";var re=x("../internals/iterators-core").IteratorPrototype,ne=x("../internals/object-create"),ie=x("../internals/create-property-descriptor"),oe=x("../internals/set-to-string-tag"),le=x("../internals/iterators"),me=function(){return this};De.exports=function(te,ae,ue,de){var he=ae+" Iterator";return te.prototype=ne(re,{next:ie(+!de,ue)}),oe(te,he,!1,!0),le[he]=me,te}},{"../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,De,ve){var re=x("../internals/descriptors"),ne=x("../internals/object-define-property"),ie=x("../internals/create-property-descriptor");De.exports=re?function(oe,le,me){return ne.f(oe,le,ie(1,me))}:function(oe,le,me){return oe[le]=me,oe}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(x,De,ve){De.exports=function(re,ne){return{enumerable:!(re&1),configurable:!(re&2),writable:!(re&4),value:ne}}},{}],131:[function(x,De,ve){"use strict";var re=x("../internals/to-property-key"),ne=x("../internals/object-define-property"),ie=x("../internals/create-property-descriptor");De.exports=function(oe,le,me){var te=re(le);te in oe?ne.f(oe,te,ie(0,me)):oe[te]=me}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(x,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/function-call"),ie=x("../internals/is-pure"),oe=x("../internals/function-name"),le=x("../internals/is-callable"),me=x("../internals/create-iterator-constructor"),te=x("../internals/object-get-prototype-of"),ae=x("../internals/object-set-prototype-of"),ue=x("../internals/set-to-string-tag"),de=x("../internals/create-non-enumerable-property"),he=x("../internals/redefine"),we=x("../internals/well-known-symbol"),Se=x("../internals/iterators"),xe=x("../internals/iterators-core"),ye=oe.PROPER,Ae=oe.CONFIGURABLE,Le=xe.IteratorPrototype,Ee=xe.BUGGY_SAFARI_ITERATORS,_e=we("iterator"),Me="keys",Oe="values",Ce="entries",Ne=function(){return this};De.exports=function(je,Ze,Pe,Ue,Qe,tt,ot){me(Pe,Ze,Ue);var lt=function(ht){if(ht===Qe&&at)return at;if(!Ee&&ht in nt)return nt[ht];switch(ht){case Me:return function(){return new Pe(this,ht)};case Oe:return function(){return new Pe(this,ht)};case Ce:return function(){return new Pe(this,ht)}}return function(){return new Pe(this)}},Ve=Ze+" Iterator",Ye=!1,nt=je.prototype,dt=nt[_e]||nt["@@iterator"]||Qe&&nt[Qe],at=!Ee&&dt||lt(Qe),et=Ze=="Array"&&nt.entries||dt,qe,it,yt;if(et&&(qe=te(et.call(new je)),qe!==Object.prototype&&qe.next&&(!ie&&te(qe)!==Le&&(ae?ae(qe,Le):le(qe[_e])||he(qe,_e,Ne)),ue(qe,Ve,!0,!0),ie&&(Se[Ve]=Ne))),ye&&Qe==Oe&&dt&&dt.name!==Oe&&(!ie&&Ae?de(nt,"name",Oe):(Ye=!0,at=function(){return ne(dt,this)})),Qe)if(it={values:lt(Oe),keys:tt?at:lt(Me),entries:lt(Ce)},ot)for(yt in it)(Ee||Ye||!(yt in nt))&&he(nt,yt,it[yt]);else re({target:Ze,proto:!0,forced:Ee||Ye},it);return(!ie||ot)&&nt[_e]!==at&&he(nt,_e,at,{name:Qe}),Se[Ze]=at,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,De,ve){var re=x("../internals/path"),ne=x("../internals/has-own-property"),ie=x("../internals/well-known-symbol-wrapped"),oe=x("../internals/object-define-property").f;De.exports=function(le){var me=re.Symbol||(re.Symbol={});ne(me,le)||oe(me,le,{value:ie.f(le)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(x,De,ve){var re=x("../internals/fails");De.exports=!re(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/is-object"),ie=re.document,oe=ne(ie)&&ne(ie.createElement);De.exports=function(le){return oe?ie.createElement(le):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(x,De,ve){De.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,De,ve){var re=x("../internals/document-create-element"),ne=re("span").classList,ie=ne&&ne.constructor&&ne.constructor.prototype;De.exports=ie===Object.prototype?void 0:ie},{"../internals/document-create-element":135}],138:[function(x,De,ve){var re=x("../internals/engine-user-agent"),ne=re.match(/firefox\/(\d+)/i);De.exports=!!ne&&+ne[1]},{"../internals/engine-user-agent":145}],139:[function(x,De,ve){De.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(x,De,ve){var re=x("../internals/engine-user-agent");De.exports=/MSIE|Trident/.test(re)},{"../internals/engine-user-agent":145}],141:[function(x,De,ve){var re=x("../internals/engine-user-agent"),ne=x("../internals/global");De.exports=/ipad|iphone|ipod/i.test(re)&&ne.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(x,De,ve){var re=x("../internals/engine-user-agent");De.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(re)},{"../internals/engine-user-agent":145}],143:[function(x,De,ve){var re=x("../internals/classof-raw"),ne=x("../internals/global");De.exports=re(ne.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(x,De,ve){var re=x("../internals/engine-user-agent");De.exports=/web0s(?!.*chrome)/i.test(re)},{"../internals/engine-user-agent":145}],145:[function(x,De,ve){var re=x("../internals/get-built-in");De.exports=re("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/engine-user-agent"),ie=re.process,oe=re.Deno,le=ie&&ie.versions||oe&&oe.version,me=le&&le.v8,te,ae;me&&(te=me.split("."),ae=te[0]>0&&te[0]<4?1:+(te[0]+te[1])),!ae&&ne&&(te=ne.match(/Edge\/(\d+)/),(!te||te[1]>=74)&&(te=ne.match(/Chrome\/(\d+)/),te&&(ae=+te[1]))),De.exports=ae},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(x,De,ve){var re=x("../internals/engine-user-agent"),ne=re.match(/AppleWebKit\/(\d+)\./);De.exports=!!ne&&+ne[1]},{"../internals/engine-user-agent":145}],148:[function(x,De,ve){De.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/object-get-own-property-descriptor").f,ie=x("../internals/create-non-enumerable-property"),oe=x("../internals/redefine"),le=x("../internals/set-global"),me=x("../internals/copy-constructor-properties"),te=x("../internals/is-forced");De.exports=function(ae,ue){var de=ae.target,he=ae.global,we=ae.stat,Se,xe,ye,Ae,Le,Ee;if(he?xe=re:we?xe=re[de]||le(de,{}):xe=(re[de]||{}).prototype,xe)for(ye in ue){if(Le=ue[ye],ae.noTargetGet?(Ee=ne(xe,ye),Ae=Ee&&Ee.value):Ae=xe[ye],Se=te(he?ye:de+(we?".":"#")+ye,ae.forced),!Se&&Ae!==void 0){if(typeof Le==typeof Ae)continue;me(Le,Ae)}(ae.sham||Ae&&Ae.sham)&&ie(Le,"sham",!0),oe(xe,ye,Le,ae)}}},{"../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,De,ve){De.exports=function(re){try{return!!re()}catch(ne){return!0}}},{}],151:[function(x,De,ve){"use strict";x("../modules/es.regexp.exec");var re=x("../internals/function-uncurry-this"),ne=x("../internals/redefine"),ie=x("../internals/regexp-exec"),oe=x("../internals/fails"),le=x("../internals/well-known-symbol"),me=x("../internals/create-non-enumerable-property"),te=le("species"),ae=RegExp.prototype;De.exports=function(ue,de,he,we){var Se=le(ue),xe=!oe(function(){var Ee={};return Ee[Se]=function(){return 7},""[ue](Ee)!=7}),ye=xe&&!oe(function(){var Ee=!1,_e=/a/;return ue==="split"&&(_e={},_e.constructor={},_e.constructor[te]=function(){return _e},_e.flags="",_e[Se]=/./[Se]),_e.exec=function(){return Ee=!0,null},_e[Se](""),!Ee});if(!xe||!ye||he){var Ae=re(/./[Se]),Le=de(Se,""[ue],function(Ee,_e,Me,Oe,Ce){var Ne=re(Ee),je=_e.exec;return je===ie||je===ae.exec?xe&&!Ce?{done:!0,value:Ae(_e,Me,Oe)}:{done:!0,value:Ne(Me,_e,Oe)}:{done:!1}});ne(String.prototype,ue,Le[0]),ne(ae,Se,Le[1])}we&&me(ae[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,De,ve){var re=x("../internals/function-bind-native"),ne=Function.prototype,ie=ne.apply,oe=ne.call;De.exports=typeof Reflect=="object"&&Reflect.apply||(re?oe.bind(ie):function(){return oe.apply(ie,arguments)})},{"../internals/function-bind-native":154}],153:[function(x,De,ve){var re=x("../internals/function-uncurry-this"),ne=x("../internals/a-callable"),ie=x("../internals/function-bind-native"),oe=re(re.bind);De.exports=function(le,me){return ne(le),me===void 0?le:ie?oe(le,me):function(){return le.apply(me,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(x,De,ve){var re=x("../internals/fails");De.exports=!re(function(){var ne=function(){}.bind();return typeof ne!="function"||ne.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(x,De,ve){var re=x("../internals/function-bind-native"),ne=Function.prototype.call;De.exports=re?ne.bind(ne):function(){return ne.apply(ne,arguments)}},{"../internals/function-bind-native":154}],156:[function(x,De,ve){var re=x("../internals/descriptors"),ne=x("../internals/has-own-property"),ie=Function.prototype,oe=re&&Object.getOwnPropertyDescriptor,le=ne(ie,"name"),me=le&&function(){}.name==="something",te=le&&(!re||re&&oe(ie,"name").configurable);De.exports={EXISTS:le,PROPER:me,CONFIGURABLE:te}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(x,De,ve){var re=x("../internals/function-bind-native"),ne=Function.prototype,ie=ne.bind,oe=ne.call,le=re&&ie.bind(oe,oe);De.exports=re?function(me){return me&&le(me)}:function(me){return me&&function(){return oe.apply(me,arguments)}}},{"../internals/function-bind-native":154}],158:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/is-callable"),ie=function(oe){return ne(oe)?oe:void 0};De.exports=function(oe,le){return arguments.length<2?ie(re[oe]):re[oe]&&re[oe][le]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(x,De,ve){var re=x("../internals/classof"),ne=x("../internals/get-method"),ie=x("../internals/iterators"),oe=x("../internals/well-known-symbol"),le=oe("iterator");De.exports=function(me){if(me!=null)return ne(me,le)||ne(me,"@@iterator")||ie[re(me)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/function-call"),ie=x("../internals/a-callable"),oe=x("../internals/an-object"),le=x("../internals/try-to-string"),me=x("../internals/get-iterator-method"),te=re.TypeError;De.exports=function(ae,ue){var de=arguments.length<2?me(ae):ue;if(ie(de))return oe(ne(de,ae));throw te(le(ae)+" 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,De,ve){var re=x("../internals/a-callable");De.exports=function(ne,ie){var oe=ne[ie];return oe==null?void 0:re(oe)}},{"../internals/a-callable":95}],162:[function(x,De,ve){var re=x("../internals/function-uncurry-this"),ne=x("../internals/to-object"),ie=Math.floor,oe=re("".charAt),le=re("".replace),me=re("".slice),te=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ae=/\$([$&'`]|\d{1,2})/g;De.exports=function(ue,de,he,we,Se,xe){var ye=he+ue.length,Ae=we.length,Le=ae;return Se!==void 0&&(Se=ne(Se),Le=te),le(xe,Le,function(Ee,_e){var Me;switch(oe(_e,0)){case"$":return"$";case"&":return ue;case"`":return me(de,0,he);case"'":return me(de,ye);case"<":Me=Se[me(_e,1,-1)];break;default:var Oe=+_e;if(Oe===0)return Ee;if(Oe>Ae){var Ce=ie(Oe/10);return Ce===0?Ee:Ce<=Ae?we[Ce-1]===void 0?oe(_e,1):we[Ce-1]+oe(_e,1):Ee}Me=we[Oe-1]}return Me===void 0?"":Me})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(x,De,ve){(function(re){(function(){var ne=function(ie){return ie&&ie.Math==Math&&ie};De.exports=ne(typeof globalThis=="object"&&globalThis)||ne(typeof window=="object"&&window)||ne(typeof self=="object"&&self)||ne(typeof re=="object"&&re)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof Wt!="undefined"?Wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(x,De,ve){var re=x("../internals/function-uncurry-this"),ne=x("../internals/to-object"),ie=re({}.hasOwnProperty);De.exports=Object.hasOwn||function(le,me){return ie(ne(le),me)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(x,De,ve){De.exports={}},{}],166:[function(x,De,ve){var re=x("../internals/global");De.exports=function(ne,ie){var oe=re.console;oe&&oe.error&&(arguments.length==1?oe.error(ne):oe.error(ne,ie))}},{"../internals/global":163}],167:[function(x,De,ve){var re=x("../internals/get-built-in");De.exports=re("document","documentElement")},{"../internals/get-built-in":158}],168:[function(x,De,ve){var re=x("../internals/descriptors"),ne=x("../internals/fails"),ie=x("../internals/document-create-element");De.exports=!re&&!ne(function(){return Object.defineProperty(ie("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(x,De,ve){var re=x("../internals/global"),ne=re.Array,ie=Math.abs,oe=Math.pow,le=Math.floor,me=Math.log,te=Math.LN2,ae=function(de,he,we){var Se=ne(we),xe=we*8-he-1,ye=(1<<xe)-1,Ae=ye>>1,Le=he===23?oe(2,-24)-oe(2,-77):0,Ee=de<0||de===0&&1/de<0?1:0,_e=0,Me,Oe,Ce;for(de=ie(de),de!=de||de===1/0?(Oe=de!=de?1:0,Me=ye):(Me=le(me(de)/te),Ce=oe(2,-Me),de*Ce<1&&(Me--,Ce*=2),Me+Ae>=1?de+=Le/Ce:de+=Le*oe(2,1-Ae),de*Ce>=2&&(Me++,Ce/=2),Me+Ae>=ye?(Oe=0,Me=ye):Me+Ae>=1?(Oe=(de*Ce-1)*oe(2,he),Me=Me+Ae):(Oe=de*oe(2,Ae-1)*oe(2,he),Me=0));he>=8;)Se[_e++]=Oe&255,Oe/=256,he-=8;for(Me=Me<<he|Oe,xe+=he;xe>0;)Se[_e++]=Me&255,Me/=256,xe-=8;return Se[--_e]|=Ee*128,Se},ue=function(de,he){var we=de.length,Se=we*8-he-1,xe=(1<<Se)-1,ye=xe>>1,Ae=Se-7,Le=we-1,Ee=de[Le--],_e=Ee&127,Me;for(Ee>>=7;Ae>0;)_e=_e*256+de[Le--],Ae-=8;for(Me=_e&(1<<-Ae)-1,_e>>=-Ae,Ae+=he;Ae>0;)Me=Me*256+de[Le--],Ae-=8;if(_e===0)_e=1-ye;else{if(_e===xe)return Me?NaN:Ee?-1/0:1/0;Me=Me+oe(2,he),_e=_e-ye}return(Ee?-1:1)*Me*oe(2,_e-he)};De.exports={pack:ae,unpack:ue}},{"../internals/global":163}],170:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/function-uncurry-this"),ie=x("../internals/fails"),oe=x("../internals/classof-raw"),le=re.Object,me=ne("".split);De.exports=ie(function(){return!le("z").propertyIsEnumerable(0)})?function(te){return oe(te)=="String"?me(te,""):le(te)}:le},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(x,De,ve){var re=x("../internals/is-callable"),ne=x("../internals/is-object"),ie=x("../internals/object-set-prototype-of");De.exports=function(oe,le,me){var te,ae;return ie&&re(te=le.constructor)&&te!==me&&ne(ae=te.prototype)&&ae!==me.prototype&&ie(oe,ae),oe}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(x,De,ve){var re=x("../internals/function-uncurry-this"),ne=x("../internals/is-callable"),ie=x("../internals/shared-store"),oe=re(Function.toString);ne(ie.inspectSource)||(ie.inspectSource=function(le){return oe(le)}),De.exports=ie.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(x,De,ve){var re=x("../internals/native-weak-map"),ne=x("../internals/global"),ie=x("../internals/function-uncurry-this"),oe=x("../internals/is-object"),le=x("../internals/create-non-enumerable-property"),me=x("../internals/has-own-property"),te=x("../internals/shared-store"),ae=x("../internals/shared-key"),ue=x("../internals/hidden-keys"),de="Object already initialized",he=ne.TypeError,we=ne.WeakMap,Se,xe,ye,Ae=function(Ne){return ye(Ne)?xe(Ne):Se(Ne,{})},Le=function(Ne){return function(je){var Ze;if(!oe(je)||(Ze=xe(je)).type!==Ne)throw he("Incompatible receiver, "+Ne+" required");return Ze}};if(re||te.state){var Ee=te.state||(te.state=new we),_e=ie(Ee.get),Me=ie(Ee.has),Oe=ie(Ee.set);Se=function(Ne,je){if(Me(Ee,Ne))throw new he(de);return je.facade=Ne,Oe(Ee,Ne,je),je},xe=function(Ne){return _e(Ee,Ne)||{}},ye=function(Ne){return Me(Ee,Ne)}}else{var Ce=ae("state");ue[Ce]=!0,Se=function(Ne,je){if(me(Ne,Ce))throw new he(de);return je.facade=Ne,le(Ne,Ce,je),je},xe=function(Ne){return me(Ne,Ce)?Ne[Ce]:{}},ye=function(Ne){return me(Ne,Ce)}}De.exports={set:Se,get:xe,has:ye,enforce:Ae,getterFor:Le}},{"../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,De,ve){var re=x("../internals/well-known-symbol"),ne=x("../internals/iterators"),ie=re("iterator"),oe=Array.prototype;De.exports=function(le){return le!==void 0&&(ne.Array===le||oe[ie]===le)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(x,De,ve){var re=x("../internals/classof-raw");De.exports=Array.isArray||function(ie){return re(ie)=="Array"}},{"../internals/classof-raw":123}],176:[function(x,De,ve){De.exports=function(re){return typeof re=="function"}},{}],177:[function(x,De,ve){var re=x("../internals/function-uncurry-this"),ne=x("../internals/fails"),ie=x("../internals/is-callable"),oe=x("../internals/classof"),le=x("../internals/get-built-in"),me=x("../internals/inspect-source"),te=function(){},ae=[],ue=le("Reflect","construct"),de=/^\s*(?:class|function)\b/,he=re(de.exec),we=!de.exec(te),Se=function(Ae){if(!ie(Ae))return!1;try{return ue(te,ae,Ae),!0}catch(Le){return!1}},xe=function(Ae){if(!ie(Ae))return!1;switch(oe(Ae)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return we||!!he(de,me(Ae))}catch(Le){return!0}};xe.sham=!0,De.exports=!ue||ne(function(){var ye;return Se(Se.call)||!Se(Object)||!Se(function(){ye=!0})||ye})?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,De,ve){var re=x("../internals/fails"),ne=x("../internals/is-callable"),ie=/#|\.prototype\./,oe=function(ue,de){var he=me[le(ue)];return he==ae?!0:he==te?!1:ne(de)?re(de):!!de},le=oe.normalize=function(ue){return String(ue).replace(ie,".").toLowerCase()},me=oe.data={},te=oe.NATIVE="N",ae=oe.POLYFILL="P";De.exports=oe},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(x,De,ve){var re=x("../internals/is-object"),ne=Math.floor;De.exports=Number.isInteger||function(oe){return!re(oe)&&isFinite(oe)&&ne(oe)===oe}},{"../internals/is-object":180}],180:[function(x,De,ve){var re=x("../internals/is-callable");De.exports=function(ne){return typeof ne=="object"?ne!==null:re(ne)}},{"../internals/is-callable":176}],181:[function(x,De,ve){De.exports=!1},{}],182:[function(x,De,ve){var re=x("../internals/is-object"),ne=x("../internals/classof-raw"),ie=x("../internals/well-known-symbol"),oe=ie("match");De.exports=function(le){var me;return re(le)&&((me=le[oe])!==void 0?!!me:ne(le)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/get-built-in"),ie=x("../internals/is-callable"),oe=x("../internals/object-is-prototype-of"),le=x("../internals/use-symbol-as-uid"),me=re.Object;De.exports=le?function(te){return typeof te=="symbol"}:function(te){var ae=ne("Symbol");return ie(ae)&&oe(ae.prototype,me(te))}},{"../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,De,ve){var re=x("../internals/global"),ne=x("../internals/function-bind-context"),ie=x("../internals/function-call"),oe=x("../internals/an-object"),le=x("../internals/try-to-string"),me=x("../internals/is-array-iterator-method"),te=x("../internals/length-of-array-like"),ae=x("../internals/object-is-prototype-of"),ue=x("../internals/get-iterator"),de=x("../internals/get-iterator-method"),he=x("../internals/iterator-close"),we=re.TypeError,Se=function(ye,Ae){this.stopped=ye,this.result=Ae},xe=Se.prototype;De.exports=function(ye,Ae,Le){var Ee=Le&&Le.that,_e=!!(Le&&Le.AS_ENTRIES),Me=!!(Le&&Le.IS_ITERATOR),Oe=!!(Le&&Le.INTERRUPTED),Ce=ne(Ae,Ee),Ne,je,Ze,Pe,Ue,Qe,tt,ot=function(Ve){return Ne&&he(Ne,"normal",Ve),new Se(!0,Ve)},lt=function(Ve){return _e?(oe(Ve),Oe?Ce(Ve[0],Ve[1],ot):Ce(Ve[0],Ve[1])):Oe?Ce(Ve,ot):Ce(Ve)};if(Me)Ne=ye;else{if(je=de(ye),!je)throw we(le(ye)+" is not iterable");if(me(je)){for(Ze=0,Pe=te(ye);Pe>Ze;Ze++)if(Ue=lt(ye[Ze]),Ue&&ae(xe,Ue))return Ue;return new Se(!1)}Ne=ue(ye,je)}for(Qe=Ne.next;!(tt=ie(Qe,Ne)).done;){try{Ue=lt(tt.value)}catch(Ve){he(Ne,"throw",Ve)}if(typeof Ue=="object"&&Ue&&ae(xe,Ue))return Ue}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,De,ve){var re=x("../internals/function-call"),ne=x("../internals/an-object"),ie=x("../internals/get-method");De.exports=function(oe,le,me){var te,ae;ne(oe);try{if(te=ie(oe,"return"),!te){if(le==="throw")throw me;return me}te=re(te,oe)}catch(ue){ae=!0,te=ue}if(le==="throw")throw me;if(ae)throw te;return ne(te),me}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(x,De,ve){"use strict";var re=x("../internals/fails"),ne=x("../internals/is-callable"),ie=x("../internals/object-create"),oe=x("../internals/object-get-prototype-of"),le=x("../internals/redefine"),me=x("../internals/well-known-symbol"),te=x("../internals/is-pure"),ae=me("iterator"),ue=!1,de,he,we;[].keys&&(we=[].keys(),"next"in we?(he=oe(oe(we)),he!==Object.prototype&&(de=he)):ue=!0);var Se=de==null||re(function(){var xe={};return de[ae].call(xe)!==xe});Se?de={}:te&&(de=ie(de)),ne(de[ae])||le(de,ae,function(){return this}),De.exports={IteratorPrototype:de,BUGGY_SAFARI_ITERATORS:ue}},{"../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,De,ve){arguments[4][165][0].apply(ve,arguments)},{dup:165}],188:[function(x,De,ve){var re=x("../internals/to-length");De.exports=function(ne){return re(ne.length)}},{"../internals/to-length":249}],189:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/function-bind-context"),ie=x("../internals/object-get-own-property-descriptor").f,oe=x("../internals/task").set,le=x("../internals/engine-is-ios"),me=x("../internals/engine-is-ios-pebble"),te=x("../internals/engine-is-webos-webkit"),ae=x("../internals/engine-is-node"),ue=re.MutationObserver||re.WebKitMutationObserver,de=re.document,he=re.process,we=re.Promise,Se=ie(re,"queueMicrotask"),xe=Se&&Se.value,ye,Ae,Le,Ee,_e,Me,Oe,Ce;xe||(ye=function(){var Ne,je;for(ae&&(Ne=he.domain)&&Ne.exit();Ae;){je=Ae.fn,Ae=Ae.next;try{je()}catch(Ze){throw Ae?Ee():Le=void 0,Ze}}Le=void 0,Ne&&Ne.enter()},!le&&!ae&&!te&&ue&&de?(_e=!0,Me=de.createTextNode(""),new ue(ye).observe(Me,{characterData:!0}),Ee=function(){Me.data=_e=!_e}):!me&&we&&we.resolve?(Oe=we.resolve(void 0),Oe.constructor=we,Ce=ne(Oe.then,Oe),Ee=function(){Ce(ye)}):ae?Ee=function(){he.nextTick(ye)}:(oe=ne(oe,re),Ee=function(){oe(ye)})),De.exports=xe||function(Ne){var je={fn:Ne,next:void 0};Le&&(Le.next=je),Ae||(Ae=je,Ee()),Le=je}},{"../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,De,ve){var re=x("../internals/native-symbol");De.exports=re&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(x,De,ve){var re=x("../internals/engine-v8-version"),ne=x("../internals/fails");De.exports=!!Object.getOwnPropertySymbols&&!ne(function(){var ie=Symbol();return!String(ie)||!(Object(ie)instanceof Symbol)||!Symbol.sham&&re&&re<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/is-callable"),ie=x("../internals/inspect-source"),oe=re.WeakMap;De.exports=ne(oe)&&/native code/.test(ie(oe))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(x,De,ve){"use strict";var re=x("../internals/a-callable"),ne=function(ie){var oe,le;this.promise=new ie(function(me,te){if(oe!==void 0||le!==void 0)throw TypeError("Bad Promise constructor");oe=me,le=te}),this.resolve=re(oe),this.reject=re(le)};De.exports.f=function(ie){return new ne(ie)}},{"../internals/a-callable":95}],194:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/is-regexp"),ie=re.TypeError;De.exports=function(oe){if(ne(oe))throw ie("The method doesn't accept regular expressions");return oe}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(x,De,ve){"use strict";var re=x("../internals/descriptors"),ne=x("../internals/function-uncurry-this"),ie=x("../internals/function-call"),oe=x("../internals/fails"),le=x("../internals/object-keys"),me=x("../internals/object-get-own-property-symbols"),te=x("../internals/object-property-is-enumerable"),ae=x("../internals/to-object"),ue=x("../internals/indexed-object"),de=Object.assign,he=Object.defineProperty,we=ne([].concat);De.exports=!de||oe(function(){if(re&&de({b:1},de(he({},"a",{enumerable:!0,get:function(){he(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var Se={},xe={},ye=Symbol(),Ae="abcdefghijklmnopqrst";return Se[ye]=7,Ae.split("").forEach(function(Le){xe[Le]=Le}),de({},Se)[ye]!=7||le(de({},xe)).join("")!=Ae})?function(xe,ye){for(var Ae=ae(xe),Le=arguments.length,Ee=1,_e=me.f,Me=te.f;Le>Ee;)for(var Oe=ue(arguments[Ee++]),Ce=_e?we(le(Oe),_e(Oe)):le(Oe),Ne=Ce.length,je=0,Ze;Ne>je;)Ze=Ce[je++],(!re||ie(Me,Oe,Ze))&&(Ae[Ze]=Oe[Ze]);return Ae}:de},{"../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,De,ve){var re=x("../internals/an-object"),ne=x("../internals/object-define-properties"),ie=x("../internals/enum-bug-keys"),oe=x("../internals/hidden-keys"),le=x("../internals/html"),me=x("../internals/document-create-element"),te=x("../internals/shared-key"),ae=">",ue="<",de="prototype",he="script",we=te("IE_PROTO"),Se=function(){},xe=function(_e){return ue+he+ae+_e+ue+"/"+he+ae},ye=function(_e){_e.write(xe("")),_e.close();var Me=_e.parentWindow.Object;return _e=null,Me},Ae=function(){var _e=me("iframe"),Me="java"+he+":",Oe;return _e.style.display="none",le.appendChild(_e),_e.src=String(Me),Oe=_e.contentWindow.document,Oe.open(),Oe.write(xe("document.F=Object")),Oe.close(),Oe.F},Le,Ee=function(){try{Le=new ActiveXObject("htmlfile")}catch(Me){}Ee=typeof document!="undefined"?document.domain&&Le?ye(Le):Ae():ye(Le);for(var _e=ie.length;_e--;)delete Ee[de][ie[_e]];return Ee()};oe[we]=!0,De.exports=Object.create||function(Me,Oe){var Ce;return Me!==null?(Se[de]=re(Me),Ce=new Se,Se[de]=null,Ce[we]=Me):Ce=Ee(),Oe===void 0?Ce:ne.f(Ce,Oe)}},{"../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,De,ve){var re=x("../internals/descriptors"),ne=x("../internals/v8-prototype-define-bug"),ie=x("../internals/object-define-property"),oe=x("../internals/an-object"),le=x("../internals/to-indexed-object"),me=x("../internals/object-keys");ve.f=re&&!ne?Object.defineProperties:function(ae,ue){oe(ae);for(var de=le(ue),he=me(ue),we=he.length,Se=0,xe;we>Se;)ie.f(ae,xe=he[Se++],de[xe]);return ae}},{"../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,De,ve){var re=x("../internals/global"),ne=x("../internals/descriptors"),ie=x("../internals/ie8-dom-define"),oe=x("../internals/v8-prototype-define-bug"),le=x("../internals/an-object"),me=x("../internals/to-property-key"),te=re.TypeError,ae=Object.defineProperty,ue=Object.getOwnPropertyDescriptor,de="enumerable",he="configurable",we="writable";ve.f=ne?oe?function(xe,ye,Ae){if(le(xe),ye=me(ye),le(Ae),typeof xe=="function"&&ye==="prototype"&&"value"in Ae&&we in Ae&&!Ae[we]){var Le=ue(xe,ye);Le&&Le[we]&&(xe[ye]=Ae.value,Ae={configurable:he in Ae?Ae[he]:Le[he],enumerable:de in Ae?Ae[de]:Le[de],writable:!1})}return ae(xe,ye,Ae)}:ae:function(xe,ye,Ae){if(le(xe),ye=me(ye),le(Ae),ie)try{return ae(xe,ye,Ae)}catch(Le){}if("get"in Ae||"set"in Ae)throw te("Accessors not supported");return"value"in Ae&&(xe[ye]=Ae.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,De,ve){var re=x("../internals/descriptors"),ne=x("../internals/function-call"),ie=x("../internals/object-property-is-enumerable"),oe=x("../internals/create-property-descriptor"),le=x("../internals/to-indexed-object"),me=x("../internals/to-property-key"),te=x("../internals/has-own-property"),ae=x("../internals/ie8-dom-define"),ue=Object.getOwnPropertyDescriptor;ve.f=re?ue:function(he,we){if(he=le(he),we=me(we),ae)try{return ue(he,we)}catch(Se){}if(te(he,we))return oe(!ne(ie.f,he,we),he[we])}},{"../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,De,ve){var re=x("../internals/classof-raw"),ne=x("../internals/to-indexed-object"),ie=x("../internals/object-get-own-property-names").f,oe=x("../internals/array-slice-simple"),le=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],me=function(te){try{return ie(te)}catch(ae){return oe(le)}};De.exports.f=function(ae){return le&&re(ae)=="Window"?me(ae):ie(ne(ae))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(x,De,ve){var re=x("../internals/object-keys-internal"),ne=x("../internals/enum-bug-keys"),ie=ne.concat("length","prototype");ve.f=Object.getOwnPropertyNames||function(le){return re(le,ie)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(x,De,ve){ve.f=Object.getOwnPropertySymbols},{}],203:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/has-own-property"),ie=x("../internals/is-callable"),oe=x("../internals/to-object"),le=x("../internals/shared-key"),me=x("../internals/correct-prototype-getter"),te=le("IE_PROTO"),ae=re.Object,ue=ae.prototype;De.exports=me?ae.getPrototypeOf:function(de){var he=oe(de);if(ne(he,te))return he[te];var we=he.constructor;return ie(we)&&he instanceof we?we.prototype:he instanceof ae?ue: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,De,ve){var re=x("../internals/function-uncurry-this");De.exports=re({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(x,De,ve){var re=x("../internals/function-uncurry-this"),ne=x("../internals/has-own-property"),ie=x("../internals/to-indexed-object"),oe=x("../internals/array-includes").indexOf,le=x("../internals/hidden-keys"),me=re([].push);De.exports=function(te,ae){var ue=ie(te),de=0,he=[],we;for(we in ue)!ne(le,we)&&ne(ue,we)&&me(he,we);for(;ae.length>de;)ne(ue,we=ae[de++])&&(~oe(he,we)||me(he,we));return he}},{"../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,De,ve){var re=x("../internals/object-keys-internal"),ne=x("../internals/enum-bug-keys");De.exports=Object.keys||function(oe){return re(oe,ne)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(x,De,ve){"use strict";var re={}.propertyIsEnumerable,ne=Object.getOwnPropertyDescriptor,ie=ne&&!re.call({1:2},1);ve.f=ie?function(le){var me=ne(this,le);return!!me&&me.enumerable}:re},{}],208:[function(x,De,ve){var re=x("../internals/function-uncurry-this"),ne=x("../internals/an-object"),ie=x("../internals/a-possible-prototype");De.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var oe=!1,le={},me;try{me=re(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),me(le,[]),oe=le instanceof Array}catch(te){}return function(ae,ue){return ne(ae),ie(ue),oe?me(ae,ue):ae.__proto__=ue,ae}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(x,De,ve){var re=x("../internals/descriptors"),ne=x("../internals/function-uncurry-this"),ie=x("../internals/object-keys"),oe=x("../internals/to-indexed-object"),le=x("../internals/object-property-is-enumerable").f,me=ne(le),te=ne([].push),ae=function(ue){return function(de){for(var he=oe(de),we=ie(he),Se=we.length,xe=0,ye=[],Ae;Se>xe;)Ae=we[xe++],(!re||me(he,Ae))&&te(ye,ue?[Ae,he[Ae]]:he[Ae]);return ye}};De.exports={entries:ae(!0),values:ae(!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,De,ve){"use strict";var re=x("../internals/to-string-tag-support"),ne=x("../internals/classof");De.exports=re?{}.toString:function(){return"[object "+ne(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/function-call"),ie=x("../internals/is-callable"),oe=x("../internals/is-object"),le=re.TypeError;De.exports=function(me,te){var ae,ue;if(te==="string"&&ie(ae=me.toString)&&!oe(ue=ne(ae,me))||ie(ae=me.valueOf)&&!oe(ue=ne(ae,me))||te!=="string"&&ie(ae=me.toString)&&!oe(ue=ne(ae,me)))return ue;throw le("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,De,ve){var re=x("../internals/get-built-in"),ne=x("../internals/function-uncurry-this"),ie=x("../internals/object-get-own-property-names"),oe=x("../internals/object-get-own-property-symbols"),le=x("../internals/an-object"),me=ne([].concat);De.exports=re("Reflect","ownKeys")||function(ae){var ue=ie.f(le(ae)),de=oe.f;return de?me(ue,de(ae)):ue}},{"../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,De,ve){var re=x("../internals/global");De.exports=re},{"../internals/global":163}],214:[function(x,De,ve){De.exports=function(re){try{return{error:!1,value:re()}}catch(ne){return{error:!0,value:ne}}}},{}],215:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/promise-native-constructor"),ie=x("../internals/is-callable"),oe=x("../internals/is-forced"),le=x("../internals/inspect-source"),me=x("../internals/well-known-symbol"),te=x("../internals/engine-is-browser"),ae=x("../internals/is-pure"),ue=x("../internals/engine-v8-version"),de=ne&&ne.prototype,he=me("species"),we=!1,Se=ie(re.PromiseRejectionEvent),xe=oe("Promise",function(){var ye=le(ne),Ae=ye!==String(ne);if(!Ae&&ue===66||ae&&!(de.catch&&de.finally))return!0;if(ue>=51&&/native code/.test(ye))return!1;var Le=new ne(function(Me){Me(1)}),Ee=function(Me){Me(function(){},function(){})},_e=Le.constructor={};return _e[he]=Ee,we=Le.then(function(){})instanceof Ee,we?!Ae&&te&&!Se:!0});De.exports={CONSTRUCTOR:xe,REJECTION_EVENT:Se,SUBCLASSING:we}},{"../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,De,ve){var re=x("../internals/global");De.exports=re.Promise},{"../internals/global":163}],217:[function(x,De,ve){var re=x("../internals/an-object"),ne=x("../internals/is-object"),ie=x("../internals/new-promise-capability");De.exports=function(oe,le){if(re(oe),ne(le)&&le.constructor===oe)return le;var me=ie.f(oe),te=me.resolve;return te(le),me.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(x,De,ve){var re=x("../internals/promise-native-constructor"),ne=x("../internals/check-correctness-of-iteration"),ie=x("../internals/promise-constructor-detection").CONSTRUCTOR;De.exports=ie||!ne(function(oe){re.all(oe).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(x,De,ve){var re=x("../internals/object-define-property").f;De.exports=function(ne,ie,oe){oe in ne||re(ne,oe,{configurable:!0,get:function(){return ie[oe]},set:function(le){ie[oe]=le}})}},{"../internals/object-define-property":198}],220:[function(x,De,ve){var re=function(){this.head=null,this.tail=null};re.prototype={add:function(ne){var ie={item:ne,next:null};this.head?this.tail.next=ie:this.head=ie,this.tail=ie},get:function(){var ne=this.head;if(ne)return this.head=ne.next,this.tail===ne&&(this.tail=null),ne.item}},De.exports=re},{}],221:[function(x,De,ve){var re=x("../internals/redefine");De.exports=function(ne,ie,oe){for(var le in ie)re(ne,le,ie[le],oe);return ne}},{"../internals/redefine":222}],222:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/is-callable"),ie=x("../internals/has-own-property"),oe=x("../internals/create-non-enumerable-property"),le=x("../internals/set-global"),me=x("../internals/inspect-source"),te=x("../internals/internal-state"),ae=x("../internals/function-name").CONFIGURABLE,ue=te.get,de=te.enforce,he=String(String).split("String");(De.exports=function(we,Se,xe,ye){var Ae=ye?!!ye.unsafe:!1,Le=ye?!!ye.enumerable:!1,Ee=ye?!!ye.noTargetGet:!1,_e=ye&&ye.name!==void 0?ye.name:Se,Me;if(ne(xe)&&(String(_e).slice(0,7)==="Symbol("&&(_e="["+String(_e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ie(xe,"name")||ae&&xe.name!==_e)&&oe(xe,"name",_e),Me=de(xe),Me.source||(Me.source=he.join(typeof _e=="string"?_e:""))),we===re){Le?we[Se]=xe:le(Se,xe);return}else Ae?!Ee&&we[Se]&&(Le=!0):delete we[Se];Le?we[Se]=xe:oe(we,Se,xe)})(Function.prototype,"toString",function(){return ne(this)&&ue(this).source||me(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,De,ve){var re=x("../internals/global"),ne=x("../internals/function-call"),ie=x("../internals/an-object"),oe=x("../internals/is-callable"),le=x("../internals/classof-raw"),me=x("../internals/regexp-exec"),te=re.TypeError;De.exports=function(ae,ue){var de=ae.exec;if(oe(de)){var he=ne(de,ae,ue);return he!==null&&ie(he),he}if(le(ae)==="RegExp")return ne(me,ae,ue);throw te("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,De,ve){"use strict";var re=x("../internals/function-call"),ne=x("../internals/function-uncurry-this"),ie=x("../internals/to-string"),oe=x("../internals/regexp-flags"),le=x("../internals/regexp-sticky-helpers"),me=x("../internals/shared"),te=x("../internals/object-create"),ae=x("../internals/internal-state").get,ue=x("../internals/regexp-unsupported-dot-all"),de=x("../internals/regexp-unsupported-ncg"),he=me("native-string-replace",String.prototype.replace),we=RegExp.prototype.exec,Se=we,xe=ne("".charAt),ye=ne("".indexOf),Ae=ne("".replace),Le=ne("".slice),Ee=function(){var Ce=/a/,Ne=/b*/g;return re(we,Ce,"a"),re(we,Ne,"a"),Ce.lastIndex!==0||Ne.lastIndex!==0}(),_e=le.BROKEN_CARET,Me=/()??/.exec("")[1]!==void 0,Oe=Ee||Me||_e||ue||de;Oe&&(Se=function(Ne){var je=this,Ze=ae(je),Pe=ie(Ne),Ue=Ze.raw,Qe,tt,ot,lt,Ve,Ye,nt;if(Ue)return Ue.lastIndex=je.lastIndex,Qe=re(Se,Ue,Pe),je.lastIndex=Ue.lastIndex,Qe;var dt=Ze.groups,at=_e&&je.sticky,et=re(oe,je),qe=je.source,it=0,yt=Pe;if(at&&(et=Ae(et,"y",""),ye(et,"g")===-1&&(et+="g"),yt=Le(Pe,je.lastIndex),je.lastIndex>0&&(!je.multiline||je.multiline&&xe(Pe,je.lastIndex-1)!==`
`)&&(qe="(?: "+qe+")",yt=" "+yt,it++),tt=new RegExp("^(?:"+qe+")",et)),Me&&(tt=new RegExp("^"+qe+"$(?!\\s)",et)),Ee&&(ot=je.lastIndex),lt=re(we,at?tt:je,yt),at?lt?(lt.input=Le(lt.input,it),lt[0]=Le(lt[0],it),lt.index=je.lastIndex,je.lastIndex+=lt[0].length):je.lastIndex=0:Ee&&lt&&(je.lastIndex=je.global?lt.index+lt[0].length:ot),Me&&lt&&lt.length>1&&re(he,lt[0],tt,function(){for(Ve=1;Ve<arguments.length-2;Ve++)arguments[Ve]===void 0&&(lt[Ve]=void 0)}),lt&&dt)for(lt.groups=Ye=te(null),Ve=0;Ve<dt.length;Ve++)nt=dt[Ve],Ye[nt[0]]=lt[nt[1]];return lt}),De.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,De,ve){"use strict";var re=x("../internals/an-object");De.exports=function(){var ne=re(this),ie="";return ne.hasIndices&&(ie+="d"),ne.global&&(ie+="g"),ne.ignoreCase&&(ie+="i"),ne.multiline&&(ie+="m"),ne.dotAll&&(ie+="s"),ne.unicode&&(ie+="u"),ne.sticky&&(ie+="y"),ie}},{"../internals/an-object":101}],226:[function(x,De,ve){var re=x("../internals/function-call"),ne=x("../internals/has-own-property"),ie=x("../internals/object-is-prototype-of"),oe=x("../internals/regexp-flags"),le=RegExp.prototype;De.exports=function(me){var te=me.flags;return te===void 0&&!("flags"in le)&&!ne(me,"flags")&&ie(le,me)?re(oe,me):te}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(x,De,ve){var re=x("../internals/fails"),ne=x("../internals/global"),ie=ne.RegExp,oe=re(function(){var te=ie("a","y");return te.lastIndex=2,te.exec("abcd")!=null}),le=oe||re(function(){return!ie("a","y").sticky}),me=oe||re(function(){var te=ie("^r","gy");return te.lastIndex=2,te.exec("str")!=null});De.exports={BROKEN_CARET:me,MISSED_STICKY:le,UNSUPPORTED_Y:oe}},{"../internals/fails":150,"../internals/global":163}],228:[function(x,De,ve){var re=x("../internals/fails"),ne=x("../internals/global"),ie=ne.RegExp;De.exports=re(function(){var oe=ie(".","s");return!(oe.dotAll&&oe.exec(`
`)&&oe.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(x,De,ve){var re=x("../internals/fails"),ne=x("../internals/global"),ie=ne.RegExp;De.exports=re(function(){var oe=ie("(?<a>b)","g");return oe.exec("b").groups.a!=="b"||"b".replace(oe,"$<a>c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(x,De,ve){var re=x("../internals/global"),ne=re.TypeError;De.exports=function(ie){if(ie==null)throw ne("Can't call method on "+ie);return ie}},{"../internals/global":163}],231:[function(x,De,ve){De.exports=Object.is||function(ne,ie){return ne===ie?ne!==0||1/ne===1/ie:ne!=ne&&ie!=ie}},{}],232:[function(x,De,ve){var re=x("../internals/global"),ne=Object.defineProperty;De.exports=function(ie,oe){try{ne(re,ie,{value:oe,configurable:!0,writable:!0})}catch(le){re[ie]=oe}return oe}},{"../internals/global":163}],233:[function(x,De,ve){"use strict";var re=x("../internals/get-built-in"),ne=x("../internals/object-define-property"),ie=x("../internals/well-known-symbol"),oe=x("../internals/descriptors"),le=ie("species");De.exports=function(me){var te=re(me),ae=ne.f;oe&&te&&!te[le]&&ae(te,le,{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,De,ve){var re=x("../internals/object-define-property").f,ne=x("../internals/has-own-property"),ie=x("../internals/well-known-symbol"),oe=ie("toStringTag");De.exports=function(le,me,te){le&&!te&&(le=le.prototype),le&&!ne(le,oe)&&re(le,oe,{configurable:!0,value:me})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(x,De,ve){var re=x("../internals/shared"),ne=x("../internals/uid"),ie=re("keys");De.exports=function(oe){return ie[oe]||(ie[oe]=ne(oe))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/set-global"),ie="__core-js_shared__",oe=re[ie]||ne(ie,{});De.exports=oe},{"../internals/global":163,"../internals/set-global":232}],237:[function(x,De,ve){var re=x("../internals/is-pure"),ne=x("../internals/shared-store");(De.exports=function(ie,oe){return ne[ie]||(ne[ie]=oe!==void 0?oe:{})})("versions",[]).push({version:"3.22.1",mode:re?"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,De,ve){var re=x("../internals/an-object"),ne=x("../internals/a-constructor"),ie=x("../internals/well-known-symbol"),oe=ie("species");De.exports=function(le,me){var te=re(le).constructor,ae;return te===void 0||(ae=re(te)[oe])==null?me:ne(ae)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(x,De,ve){var re=x("../internals/function-uncurry-this"),ne=x("../internals/to-integer-or-infinity"),ie=x("../internals/to-string"),oe=x("../internals/require-object-coercible"),le=re("".charAt),me=re("".charCodeAt),te=re("".slice),ae=function(ue){return function(de,he){var we=ie(oe(de)),Se=ne(he),xe=we.length,ye,Ae;return Se<0||Se>=xe?ue?"":void 0:(ye=me(we,Se),ye<55296||ye>56319||Se+1===xe||(Ae=me(we,Se+1))<56320||Ae>57343?ue?le(we,Se):ye:ue?te(we,Se,Se+2):(ye-55296<<10)+(Ae-56320)+65536)}};De.exports={codeAt:ae(!1),charAt:ae(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(x,De,ve){var re=x("../internals/function-name").PROPER,ne=x("../internals/fails"),ie=x("../internals/whitespaces"),oe="\u200B\x85\u180E";De.exports=function(le){return ne(function(){return!!ie[le]()||oe[le]()!==oe||re&&ie[le].name!==le})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(x,De,ve){var re=x("../internals/function-uncurry-this"),ne=x("../internals/require-object-coercible"),ie=x("../internals/to-string"),oe=x("../internals/whitespaces"),le=re("".replace),me="["+oe+"]",te=RegExp("^"+me+me+"*"),ae=RegExp(me+me+"*$"),ue=function(de){return function(he){var we=ie(ne(he));return de&1&&(we=le(we,te,"")),de&2&&(we=le(we,ae,"")),we}};De.exports={start:ue(1),end:ue(2),trim:ue(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(x,De,ve){var re=x("../internals/function-call"),ne=x("../internals/get-built-in"),ie=x("../internals/well-known-symbol"),oe=x("../internals/redefine");De.exports=function(){var le=ne("Symbol"),me=le&&le.prototype,te=me&&me.valueOf,ae=ie("toPrimitive");me&&!me[ae]&&oe(me,ae,function(ue){return re(te,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/function-apply"),ie=x("../internals/function-bind-context"),oe=x("../internals/is-callable"),le=x("../internals/has-own-property"),me=x("../internals/fails"),te=x("../internals/html"),ae=x("../internals/array-slice"),ue=x("../internals/document-create-element"),de=x("../internals/validate-arguments-length"),he=x("../internals/engine-is-ios"),we=x("../internals/engine-is-node"),Se=re.setImmediate,xe=re.clearImmediate,ye=re.process,Ae=re.Dispatch,Le=re.Function,Ee=re.MessageChannel,_e=re.String,Me=0,Oe={},Ce="onreadystatechange",Ne,je,Ze,Pe;try{Ne=re.location}catch(lt){}var Ue=function(lt){if(le(Oe,lt)){var Ve=Oe[lt];delete Oe[lt],Ve()}},Qe=function(lt){return function(){Ue(lt)}},tt=function(lt){Ue(lt.data)},ot=function(lt){re.postMessage(_e(lt),Ne.protocol+"//"+Ne.host)};(!Se||!xe)&&(Se=function(Ve){de(arguments.length,1);var Ye=oe(Ve)?Ve:Le(Ve),nt=ae(arguments,1);return Oe[++Me]=function(){ne(Ye,void 0,nt)},je(Me),Me},xe=function(Ve){delete Oe[Ve]},we?je=function(lt){ye.nextTick(Qe(lt))}:Ae&&Ae.now?je=function(lt){Ae.now(Qe(lt))}:Ee&&!he?(Ze=new Ee,Pe=Ze.port2,Ze.port1.onmessage=tt,je=ie(Pe.postMessage,Pe)):re.addEventListener&&oe(re.postMessage)&&!re.importScripts&&Ne&&Ne.protocol!=="file:"&&!me(ot)?(je=ot,re.addEventListener("message",tt,!1)):Ce in ue("script")?je=function(lt){te.appendChild(ue("script"))[Ce]=function(){te.removeChild(this),Ue(lt)}}:je=function(lt){setTimeout(Qe(lt),0)}),De.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,De,ve){var re=x("../internals/function-uncurry-this");De.exports=re(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(x,De,ve){var re=x("../internals/to-integer-or-infinity"),ne=Math.max,ie=Math.min;De.exports=function(oe,le){var me=re(oe);return me<0?ne(me+le,0):ie(me,le)}},{"../internals/to-integer-or-infinity":248}],246:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/to-integer-or-infinity"),ie=x("../internals/to-length"),oe=re.RangeError;De.exports=function(le){if(le===void 0)return 0;var me=ne(le),te=ie(me);if(me!==te)throw oe("Wrong length or index");return te}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(x,De,ve){var re=x("../internals/indexed-object"),ne=x("../internals/require-object-coercible");De.exports=function(ie){return re(ne(ie))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(x,De,ve){var re=Math.ceil,ne=Math.floor;De.exports=function(ie){var oe=+ie;return oe!==oe||oe===0?0:(oe>0?ne:re)(oe)}},{}],249:[function(x,De,ve){var re=x("../internals/to-integer-or-infinity"),ne=Math.min;De.exports=function(ie){return ie>0?ne(re(ie),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/require-object-coercible"),ie=re.Object;De.exports=function(oe){return ie(ne(oe))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/to-positive-integer"),ie=re.RangeError;De.exports=function(oe,le){var me=ne(oe);if(me%le)throw ie("Wrong offset");return me}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/to-integer-or-infinity"),ie=re.RangeError;De.exports=function(oe){var le=ne(oe);if(le<0)throw ie("The argument can't be less than 0");return le}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/function-call"),ie=x("../internals/is-object"),oe=x("../internals/is-symbol"),le=x("../internals/get-method"),me=x("../internals/ordinary-to-primitive"),te=x("../internals/well-known-symbol"),ae=re.TypeError,ue=te("toPrimitive");De.exports=function(de,he){if(!ie(de)||oe(de))return de;var we=le(de,ue),Se;if(we){if(he===void 0&&(he="default"),Se=ne(we,de,he),!ie(Se)||oe(Se))return Se;throw ae("Can't convert object to primitive value")}return he===void 0&&(he="number"),me(de,he)}},{"../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,De,ve){var re=x("../internals/to-primitive"),ne=x("../internals/is-symbol");De.exports=function(ie){var oe=re(ie,"string");return ne(oe)?oe:oe+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(x,De,ve){var re=x("../internals/well-known-symbol"),ne=re("toStringTag"),ie={};ie[ne]="z",De.exports=String(ie)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/classof"),ie=re.String;De.exports=function(oe){if(ne(oe)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ie(oe)}},{"../internals/classof":124,"../internals/global":163}],257:[function(x,De,ve){var re=x("../internals/global"),ne=re.String;De.exports=function(ie){try{return ne(ie)}catch(oe){return"Object"}}},{"../internals/global":163}],258:[function(x,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/global"),ie=x("../internals/function-call"),oe=x("../internals/descriptors"),le=x("../internals/typed-array-constructors-require-wrappers"),me=x("../internals/array-buffer-view-core"),te=x("../internals/array-buffer"),ae=x("../internals/an-instance"),ue=x("../internals/create-property-descriptor"),de=x("../internals/create-non-enumerable-property"),he=x("../internals/is-integral-number"),we=x("../internals/to-length"),Se=x("../internals/to-index"),xe=x("../internals/to-offset"),ye=x("../internals/to-property-key"),Ae=x("../internals/has-own-property"),Le=x("../internals/classof"),Ee=x("../internals/is-object"),_e=x("../internals/is-symbol"),Me=x("../internals/object-create"),Oe=x("../internals/object-is-prototype-of"),Ce=x("../internals/object-set-prototype-of"),Ne=x("../internals/object-get-own-property-names").f,je=x("../internals/typed-array-from"),Ze=x("../internals/array-iteration").forEach,Pe=x("../internals/set-species"),Ue=x("../internals/object-define-property"),Qe=x("../internals/object-get-own-property-descriptor"),tt=x("../internals/internal-state"),ot=x("../internals/inherit-if-required"),lt=tt.get,Ve=tt.set,Ye=Ue.f,nt=Qe.f,dt=Math.round,at=ne.RangeError,et=te.ArrayBuffer,qe=et.prototype,it=te.DataView,yt=me.NATIVE_ARRAY_BUFFER_VIEWS,ht=me.TYPED_ARRAY_CONSTRUCTOR,Bt=me.TYPED_ARRAY_TAG,Et=me.TypedArray,st=me.TypedArrayPrototype,Ge=me.aTypedArrayConstructor,We=me.isTypedArray,se="BYTES_PER_ELEMENT",fe="Wrong length",ze=function(Je,ut){Ge(Je);for(var bt=0,gt=ut.length,Dt=new Je(gt);gt>bt;)Dt[bt]=ut[bt++];return Dt},He=function(Je,ut){Ye(Je,ut,{get:function(){return lt(this)[ut]}})},pe=function(Je){var ut;return Oe(qe,Je)||(ut=Le(Je))=="ArrayBuffer"||ut=="SharedArrayBuffer"},Be=function(Je,ut){return We(Je)&&!_e(ut)&&ut in Je&&he(+ut)&&ut>=0},Ke=function(ut,bt){return bt=ye(bt),Be(ut,bt)?ue(2,ut[bt]):nt(ut,bt)},Xe=function(ut,bt,gt){return bt=ye(bt),Be(ut,bt)&&Ee(gt)&&Ae(gt,"value")&&!Ae(gt,"get")&&!Ae(gt,"set")&&!gt.configurable&&(!Ae(gt,"writable")||gt.writable)&&(!Ae(gt,"enumerable")||gt.enumerable)?(ut[bt]=gt.value,ut):Ye(ut,bt,gt)};oe?(yt||(Qe.f=Ke,Ue.f=Xe,He(st,"buffer"),He(st,"byteOffset"),He(st,"byteLength"),He(st,"length")),re({target:"Object",stat:!0,forced:!yt},{getOwnPropertyDescriptor:Ke,defineProperty:Xe}),De.exports=function(Je,ut,bt){var gt=Je.match(/\d+$/)[0]/8,Dt=Je+(bt?"Clamped":"")+"Array",Vt="get"+Je,kt="set"+Je,jt=ne[Dt],_t=jt,Mt=_t&&_t.prototype,ft={},St=function(Zt,or){var yr=lt(Zt);return yr.view[Vt](or*gt+yr.byteOffset,!0)},Nt=function(Zt,or,yr){var Sr=lt(Zt);bt&&(yr=(yr=dt(yr))<0?0:yr>255?255:yr&255),Sr.view[kt](or*gt+Sr.byteOffset,yr,!0)},Ft=function(Zt,or){Ye(Zt,or,{get:function(){return St(this,or)},set:function(yr){return Nt(this,or,yr)},enumerable:!0})};yt?le&&(_t=ut(function(Zt,or,yr,Sr){return ae(Zt,Mt),ot(function(){return Ee(or)?pe(or)?Sr!==void 0?new jt(or,xe(yr,gt),Sr):yr!==void 0?new jt(or,xe(yr,gt)):new jt(or):We(or)?ze(_t,or):ie(je,_t,or):new jt(Se(or))}(),Zt,_t)}),Ce&&Ce(_t,Et),Ze(Ne(jt),function(Zt){Zt in _t||de(_t,Zt,jt[Zt])}),_t.prototype=Mt):(_t=ut(function(Zt,or,yr,Sr){ae(Zt,Mt);var Fr=0,Vr=0,Br,Ur,on;if(!Ee(or))on=Se(or),Ur=on*gt,Br=new et(Ur);else if(pe(or)){Br=or,Vr=xe(yr,gt);var Yr=or.byteLength;if(Sr===void 0){if(Yr%gt||(Ur=Yr-Vr,Ur<0))throw at(fe)}else if(Ur=we(Sr)*gt,Ur+Vr>Yr)throw at(fe);on=Ur/gt}else return We(or)?ze(_t,or):ie(je,_t,or);for(Ve(Zt,{buffer:Br,byteOffset:Vr,byteLength:Ur,length:on,view:new it(Br)});Fr<on;)Ft(Zt,Fr++)}),Ce&&Ce(_t,Et),Mt=_t.prototype=Me(st)),Mt.constructor!==_t&&de(Mt,"constructor",_t),de(Mt,ht,_t),Bt&&de(Mt,Bt,Dt),ft[Dt]=_t,re({global:!0,forced:_t!=jt,sham:!yt},ft),se in _t||de(_t,se,gt),se in Mt||de(Mt,se,gt),Pe(Dt)}):De.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,De,ve){var re=x("../internals/global"),ne=x("../internals/fails"),ie=x("../internals/check-correctness-of-iteration"),oe=x("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,le=re.ArrayBuffer,me=re.Int8Array;De.exports=!oe||!ne(function(){me(1)})||!ne(function(){new me(-1)})||!ie(function(te){new me,new me(null),new me(1.5),new me(te)},!0)||ne(function(){return new me(new le(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,De,ve){var re=x("../internals/array-from-constructor-and-list"),ne=x("../internals/typed-array-species-constructor");De.exports=function(ie,oe){return re(ne(ie),oe)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(x,De,ve){var re=x("../internals/function-bind-context"),ne=x("../internals/function-call"),ie=x("../internals/a-constructor"),oe=x("../internals/to-object"),le=x("../internals/length-of-array-like"),me=x("../internals/get-iterator"),te=x("../internals/get-iterator-method"),ae=x("../internals/is-array-iterator-method"),ue=x("../internals/array-buffer-view-core").aTypedArrayConstructor;De.exports=function(he){var we=ie(this),Se=oe(he),xe=arguments.length,ye=xe>1?arguments[1]:void 0,Ae=ye!==void 0,Le=te(Se),Ee,_e,Me,Oe,Ce,Ne;if(Le&&!ae(Le))for(Ce=me(Se,Le),Ne=Ce.next,Se=[];!(Oe=ne(Ne,Ce)).done;)Se.push(Oe.value);for(Ae&&xe>2&&(ye=re(ye,arguments[2])),_e=le(Se),Me=new(ue(we))(_e),Ee=0;_e>Ee;Ee++)Me[Ee]=Ae?ye(Se[Ee],Ee):Se[Ee];return Me}},{"../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,De,ve){var re=x("../internals/array-buffer-view-core"),ne=x("../internals/species-constructor"),ie=re.TYPED_ARRAY_CONSTRUCTOR,oe=re.aTypedArrayConstructor;De.exports=function(le){return oe(ne(le,le[ie]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(x,De,ve){var re=x("../internals/function-uncurry-this"),ne=0,ie=Math.random(),oe=re(1 .toString);De.exports=function(le){return"Symbol("+(le===void 0?"":le)+")_"+oe(++ne+ie,36)}},{"../internals/function-uncurry-this":157}],264:[function(x,De,ve){var re=x("../internals/native-symbol");De.exports=re&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(x,De,ve){var re=x("../internals/descriptors"),ne=x("../internals/fails");De.exports=re&&ne(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(x,De,ve){var re=x("../internals/global"),ne=re.TypeError;De.exports=function(ie,oe){if(ie<oe)throw ne("Not enough arguments");return ie}},{"../internals/global":163}],267:[function(x,De,ve){var re=x("../internals/well-known-symbol");ve.f=re},{"../internals/well-known-symbol":268}],268:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/shared"),ie=x("../internals/has-own-property"),oe=x("../internals/uid"),le=x("../internals/native-symbol"),me=x("../internals/use-symbol-as-uid"),te=ne("wks"),ae=re.Symbol,ue=ae&&ae.for,de=me?ae:ae&&ae.withoutSetter||oe;De.exports=function(he){if(!ie(te,he)||!(le||typeof te[he]=="string")){var we="Symbol."+he;le&&ie(ae,he)?te[he]=ae[he]:me&&ue?te[he]=ue(we):te[he]=de(we)}return te[he]}},{"../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,De,ve){De.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,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/global"),ie=x("../internals/array-buffer"),oe=x("../internals/set-species"),le="ArrayBuffer",me=ie[le],te=ne[le];re({global:!0,forced:te!==me},{ArrayBuffer:me}),oe(le)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(x,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/function-uncurry-this"),ie=x("../internals/fails"),oe=x("../internals/array-buffer"),le=x("../internals/an-object"),me=x("../internals/to-absolute-index"),te=x("../internals/to-length"),ae=x("../internals/species-constructor"),ue=oe.ArrayBuffer,de=oe.DataView,he=de.prototype,we=ne(ue.prototype.slice),Se=ne(he.getUint8),xe=ne(he.setUint8),ye=ie(function(){return!new ue(2).slice(1,void 0).byteLength});re({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:ye},{slice:function(Le,Ee){if(we&&Ee===void 0)return we(le(this),Le);for(var _e=le(this).byteLength,Me=me(Le,_e),Oe=me(Ee===void 0?_e:Ee,_e),Ce=new(ae(this,ue))(te(Oe-Me)),Ne=new de(this),je=new de(Ce),Ze=0;Me<Oe;)xe(je,Ze++,Se(Ne,Me++));return Ce}})},{"../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,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/global"),ie=x("../internals/fails"),oe=x("../internals/is-array"),le=x("../internals/is-object"),me=x("../internals/to-object"),te=x("../internals/length-of-array-like"),ae=x("../internals/create-property"),ue=x("../internals/array-species-create"),de=x("../internals/array-method-has-species-support"),he=x("../internals/well-known-symbol"),we=x("../internals/engine-v8-version"),Se=he("isConcatSpreadable"),xe=9007199254740991,ye="Maximum allowed index exceeded",Ae=ne.TypeError,Le=we>=51||!ie(function(){var Oe=[];return Oe[Se]=!1,Oe.concat()[0]!==Oe}),Ee=de("concat"),_e=function(Oe){if(!le(Oe))return!1;var Ce=Oe[Se];return Ce!==void 0?!!Ce:oe(Oe)},Me=!Le||!Ee;re({target:"Array",proto:!0,forced:Me},{concat:function(Ce){var Ne=me(this),je=ue(Ne,0),Ze=0,Pe,Ue,Qe,tt,ot;for(Pe=-1,Qe=arguments.length;Pe<Qe;Pe++)if(ot=Pe===-1?Ne:arguments[Pe],_e(ot)){if(tt=te(ot),Ze+tt>xe)throw Ae(ye);for(Ue=0;Ue<tt;Ue++,Ze++)Ue in ot&&ae(je,Ze,ot[Ue])}else{if(Ze>=xe)throw Ae(ye);ae(je,Ze++,ot)}return je.length=Ze,je}})},{"../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,De,ve){var re=x("../internals/export"),ne=x("../internals/array-fill"),ie=x("../internals/add-to-unscopables");re({target:"Array",proto:!0},{fill:ne}),ie("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(x,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/array-iteration").filter,ie=x("../internals/array-method-has-species-support"),oe=ie("filter");re({target:"Array",proto:!0,forced:!oe},{filter:function(me){return ne(this,me,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(x,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/array-iteration").find,ie=x("../internals/add-to-unscopables"),oe="find",le=!0;oe in[]&&Array(1)[oe](function(){le=!1}),re({target:"Array",proto:!0,forced:le},{find:function(te){return ne(this,te,arguments.length>1?arguments[1]:void 0)}}),ie(oe)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(x,De,ve){var re=x("../internals/export"),ne=x("../internals/array-from"),ie=x("../internals/check-correctness-of-iteration"),oe=!ie(function(le){Array.from(le)});re({target:"Array",stat:!0,forced:oe},{from:ne})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(x,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/array-includes").includes,ie=x("../internals/add-to-unscopables");re({target:"Array",proto:!0},{includes:function(le){return ne(this,le,arguments.length>1?arguments[1]:void 0)}}),ie("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(x,De,ve){"use strict";var re=x("../internals/to-indexed-object"),ne=x("../internals/add-to-unscopables"),ie=x("../internals/iterators"),oe=x("../internals/internal-state"),le=x("../internals/object-define-property").f,me=x("../internals/define-iterator"),te=x("../internals/is-pure"),ae=x("../internals/descriptors"),ue="Array Iterator",de=oe.set,he=oe.getterFor(ue);De.exports=me(Array,"Array",function(Se,xe){de(this,{type:ue,target:re(Se),index:0,kind:xe})},function(){var Se=he(this),xe=Se.target,ye=Se.kind,Ae=Se.index++;return!xe||Ae>=xe.length?(Se.target=void 0,{value:void 0,done:!0}):ye=="keys"?{value:Ae,done:!1}:ye=="values"?{value:xe[Ae],done:!1}:{value:[Ae,xe[Ae]],done:!1}},"values");var we=ie.Arguments=ie.Array;if(ne("keys"),ne("values"),ne("entries"),!te&&ae&&we.name!=="values")try{le(we,"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,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/function-uncurry-this"),ie=x("../internals/indexed-object"),oe=x("../internals/to-indexed-object"),le=x("../internals/array-method-is-strict"),me=ne([].join),te=ie!=Object,ae=le("join",",");re({target:"Array",proto:!0,forced:te||!ae},{join:function(de){return me(oe(this),de===void 0?",":de)}})},{"../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,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/array-iteration").map,ie=x("../internals/array-method-has-species-support"),oe=ie("map");re({target:"Array",proto:!0,forced:!oe},{map:function(me){return ne(this,me,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(x,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/global"),ie=x("../internals/is-array"),oe=x("../internals/is-constructor"),le=x("../internals/is-object"),me=x("../internals/to-absolute-index"),te=x("../internals/length-of-array-like"),ae=x("../internals/to-indexed-object"),ue=x("../internals/create-property"),de=x("../internals/well-known-symbol"),he=x("../internals/array-method-has-species-support"),we=x("../internals/array-slice"),Se=he("slice"),xe=de("species"),ye=ne.Array,Ae=Math.max;re({target:"Array",proto:!0,forced:!Se},{slice:function(Ee,_e){var Me=ae(this),Oe=te(Me),Ce=me(Ee,Oe),Ne=me(_e===void 0?Oe:_e,Oe),je,Ze,Pe;if(ie(Me)&&(je=Me.constructor,oe(je)&&(je===ye||ie(je.prototype))?je=void 0:le(je)&&(je=je[xe],je===null&&(je=void 0)),je===ye||je===void 0))return we(Me,Ce,Ne);for(Ze=new(je===void 0?ye:je)(Ae(Ne-Ce,0)),Pe=0;Ce<Ne;Ce++,Pe++)Ce in Me&&ue(Ze,Pe,Me[Ce]);return Ze.length=Pe,Ze}})},{"../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,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/function-uncurry-this"),ie=x("../internals/a-callable"),oe=x("../internals/to-object"),le=x("../internals/length-of-array-like"),me=x("../internals/to-string"),te=x("../internals/fails"),ae=x("../internals/array-sort"),ue=x("../internals/array-method-is-strict"),de=x("../internals/engine-ff-version"),he=x("../internals/engine-is-ie-or-edge"),we=x("../internals/engine-v8-version"),Se=x("../internals/engine-webkit-version"),xe=[],ye=ne(xe.sort),Ae=ne(xe.push),Le=te(function(){xe.sort(void 0)}),Ee=te(function(){xe.sort(null)}),_e=ue("sort"),Me=!te(function(){if(we)return we<70;if(!(de&&de>3)){if(he)return!0;if(Se)return Se<603;var Ne="",je,Ze,Pe,Ue;for(je=65;je<76;je++){switch(Ze=String.fromCharCode(je),je){case 66:case 69:case 70:case 72:Pe=3;break;case 68:case 71:Pe=4;break;default:Pe=2}for(Ue=0;Ue<47;Ue++)xe.push({k:Ze+Ue,v:Pe})}for(xe.sort(function(Qe,tt){return tt.v-Qe.v}),Ue=0;Ue<xe.length;Ue++)Ze=xe[Ue].k.charAt(0),Ne.charAt(Ne.length-1)!==Ze&&(Ne+=Ze);return Ne!=="DGBEFHACIJK"}}),Oe=Le||!Ee||!_e||!Me,Ce=function(Ne){return function(je,Ze){return Ze===void 0?-1:je===void 0?1:Ne!==void 0?+Ne(je,Ze)||0:me(je)>me(Ze)?1:-1}};re({target:"Array",proto:!0,forced:Oe},{sort:function(je){je!==void 0&&ie(je);var Ze=oe(this);if(Me)return je===void 0?ye(Ze):ye(Ze,je);var Pe=[],Ue=le(Ze),Qe,tt;for(tt=0;tt<Ue;tt++)tt in Ze&&Ae(Pe,Ze[tt]);for(ae(Pe,Ce(je)),Qe=Pe.length,tt=0;tt<Qe;)Ze[tt]=Pe[tt++];for(;tt<Ue;)delete Ze[tt++];return Ze}})},{"../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,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/global"),ie=x("../internals/to-absolute-index"),oe=x("../internals/to-integer-or-infinity"),le=x("../internals/length-of-array-like"),me=x("../internals/to-object"),te=x("../internals/array-species-create"),ae=x("../internals/create-property"),ue=x("../internals/array-method-has-species-support"),de=ue("splice"),he=ne.TypeError,we=Math.max,Se=Math.min,xe=9007199254740991,ye="Maximum allowed length exceeded";re({target:"Array",proto:!0,forced:!de},{splice:function(Le,Ee){var _e=me(this),Me=le(_e),Oe=ie(Le,Me),Ce=arguments.length,Ne,je,Ze,Pe,Ue,Qe;if(Ce===0?Ne=je=0:Ce===1?(Ne=0,je=Me-Oe):(Ne=Ce-2,je=Se(we(oe(Ee),0),Me-Oe)),Me+Ne-je>xe)throw he(ye);for(Ze=te(_e,je),Pe=0;Pe<je;Pe++)Ue=Oe+Pe,Ue in _e&&ae(Ze,Pe,_e[Ue]);if(Ze.length=je,Ne<je){for(Pe=Oe;Pe<Me-je;Pe++)Ue=Pe+je,Qe=Pe+Ne,Ue in _e?_e[Qe]=_e[Ue]:delete _e[Qe];for(Pe=Me;Pe>Me-je+Ne;Pe--)delete _e[Pe-1]}else if(Ne>je)for(Pe=Me-je;Pe>Oe;Pe--)Ue=Pe+je-1,Qe=Pe+Ne-1,Ue in _e?_e[Qe]=_e[Ue]:delete _e[Qe];for(Pe=0;Pe<Ne;Pe++)_e[Pe+Oe]=arguments[Pe+2];return _e.length=Me-je+Ne,Ze}})},{"../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,De,ve){var re=x("../internals/descriptors"),ne=x("../internals/function-name").EXISTS,ie=x("../internals/function-uncurry-this"),oe=x("../internals/object-define-property").f,le=Function.prototype,me=ie(le.toString),te=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ae=ie(te.exec),ue="name";re&&!ne&&oe(le,ue,{configurable:!0,get:function(){try{return ae(te,me(this))[1]}catch(de){return""}}})},{"../internals/descriptors":134,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/object-define-property":198}],285:[function(x,De,ve){var re=x("../internals/export"),ne=x("../internals/get-built-in"),ie=x("../internals/function-apply"),oe=x("../internals/function-call"),le=x("../internals/function-uncurry-this"),me=x("../internals/fails"),te=x("../internals/is-array"),ae=x("../internals/is-callable"),ue=x("../internals/is-object"),de=x("../internals/is-symbol"),he=x("../internals/array-slice"),we=x("../internals/native-symbol"),Se=ne("JSON","stringify"),xe=le(/./.exec),ye=le("".charAt),Ae=le("".charCodeAt),Le=le("".replace),Ee=le(1 .toString),_e=/[\uD800-\uDFFF]/g,Me=/^[\uD800-\uDBFF]$/,Oe=/^[\uDC00-\uDFFF]$/,Ce=!we||me(function(){var Pe=ne("Symbol")();return Se([Pe])!="[null]"||Se({a:Pe})!="{}"||Se(Object(Pe))!="{}"}),Ne=me(function(){return Se("\uDF06\uD834")!=='"\\udf06\\ud834"'||Se("\uDEAD")!=='"\\udead"'}),je=function(Pe,Ue){var Qe=he(arguments),tt=Ue;if(!(!ue(Ue)&&Pe===void 0||de(Pe)))return te(Ue)||(Ue=function(ot,lt){if(ae(tt)&&(lt=oe(tt,this,ot,lt)),!de(lt))return lt}),Qe[1]=Ue,ie(Se,null,Qe)},Ze=function(Pe,Ue,Qe){var tt=ye(Qe,Ue-1),ot=ye(Qe,Ue+1);return xe(Me,Pe)&&!xe(Oe,ot)||xe(Oe,Pe)&&!xe(Me,tt)?"\\u"+Ee(Ae(Pe,0),16):Pe};Se&&re({target:"JSON",stat:!0,forced:Ce||Ne},{stringify:function(Ue,Qe,tt){var ot=he(arguments),lt=ie(Ce?je:Se,null,ot);return Ne&&typeof lt=="string"?Le(lt,_e,Ze):lt}})},{"../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,De,ve){"use strict";var re=x("../internals/descriptors"),ne=x("../internals/global"),ie=x("../internals/function-uncurry-this"),oe=x("../internals/is-forced"),le=x("../internals/redefine"),me=x("../internals/has-own-property"),te=x("../internals/inherit-if-required"),ae=x("../internals/object-is-prototype-of"),ue=x("../internals/is-symbol"),de=x("../internals/to-primitive"),he=x("../internals/fails"),we=x("../internals/object-get-own-property-names").f,Se=x("../internals/object-get-own-property-descriptor").f,xe=x("../internals/object-define-property").f,ye=x("../internals/this-number-value"),Ae=x("../internals/string-trim").trim,Le="Number",Ee=ne[Le],_e=Ee.prototype,Me=ne.TypeError,Oe=ie("".slice),Ce=ie("".charCodeAt),Ne=function(tt){var ot=de(tt,"number");return typeof ot=="bigint"?ot:je(ot)},je=function(tt){var ot=de(tt,"number"),lt,Ve,Ye,nt,dt,at,et,qe;if(ue(ot))throw Me("Cannot convert a Symbol value to a number");if(typeof ot=="string"&&ot.length>2){if(ot=Ae(ot),lt=Ce(ot,0),lt===43||lt===45){if(Ve=Ce(ot,2),Ve===88||Ve===120)return NaN}else if(lt===48){switch(Ce(ot,1)){case 66:case 98:Ye=2,nt=49;break;case 79:case 111:Ye=8,nt=55;break;default:return+ot}for(dt=Oe(ot,2),at=dt.length,et=0;et<at;et++)if(qe=Ce(dt,et),qe<48||qe>nt)return NaN;return parseInt(dt,Ye)}}return+ot};if(oe(Le,!Ee(" 0o1")||!Ee("0b1")||Ee("+0x1"))){for(var Ze=function(ot){var lt=arguments.length<1?0:Ee(Ne(ot)),Ve=this;return ae(_e,Ve)&&he(function(){ye(Ve)})?te(Object(lt),Ve,Ze):lt},Pe=re?we(Ee):"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(","),Ue=0,Qe;Pe.length>Ue;Ue++)me(Ee,Qe=Pe[Ue])&&!me(Ze,Qe)&&xe(Ze,Qe,Se(Ee,Qe));Ze.prototype=_e,_e.constructor=Ze,le(ne,Le,Ze)}},{"../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,De,ve){var re=x("../internals/export"),ne=x("../internals/object-assign");re({target:"Object",stat:!0,forced:Object.assign!==ne},{assign:ne})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(x,De,ve){var re=x("../internals/export"),ne=x("../internals/object-to-array").entries;re({target:"Object",stat:!0},{entries:function(oe){return ne(oe)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(x,De,ve){var re=x("../internals/export"),ne=x("../internals/native-symbol"),ie=x("../internals/fails"),oe=x("../internals/object-get-own-property-symbols"),le=x("../internals/to-object"),me=!ne||ie(function(){oe.f(1)});re({target:"Object",stat:!0,forced:me},{getOwnPropertySymbols:function(ae){var ue=oe.f;return ue?ue(le(ae)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(x,De,ve){var re=x("../internals/export"),ne=x("../internals/to-object"),ie=x("../internals/object-keys"),oe=x("../internals/fails"),le=oe(function(){ie(1)});re({target:"Object",stat:!0,forced:le},{keys:function(te){return ie(ne(te))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(x,De,ve){var re=x("../internals/to-string-tag-support"),ne=x("../internals/redefine"),ie=x("../internals/object-to-string");re||ne(Object.prototype,"toString",ie,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(x,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/function-call"),ie=x("../internals/a-callable"),oe=x("../internals/new-promise-capability"),le=x("../internals/perform"),me=x("../internals/iterate"),te=x("../internals/promise-statics-incorrect-iteration");re({target:"Promise",stat:!0,forced:te},{all:function(ue){var de=this,he=oe.f(de),we=he.resolve,Se=he.reject,xe=le(function(){var ye=ie(de.resolve),Ae=[],Le=0,Ee=1;me(ue,function(_e){var Me=Le++,Oe=!1;Ee++,ne(ye,de,_e).then(function(Ce){Oe||(Oe=!0,Ae[Me]=Ce,--Ee||we(Ae))},Se)}),--Ee||we(Ae)});return xe.error&&Se(xe.value),he.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,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/is-pure"),ie=x("../internals/promise-constructor-detection").CONSTRUCTOR,oe=x("../internals/promise-native-constructor"),le=x("../internals/get-built-in"),me=x("../internals/is-callable"),te=x("../internals/redefine"),ae=oe&&oe.prototype;if(re({target:"Promise",proto:!0,forced:ie,real:!0},{catch:function(de){return this.then(void 0,de)}}),!ne&&me(oe)){var ue=le("Promise").prototype.catch;ae.catch!==ue&&te(ae,"catch",ue,{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,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/is-pure"),ie=x("../internals/engine-is-node"),oe=x("../internals/global"),le=x("../internals/function-call"),me=x("../internals/redefine"),te=x("../internals/redefine-all"),ae=x("../internals/object-set-prototype-of"),ue=x("../internals/set-to-string-tag"),de=x("../internals/set-species"),he=x("../internals/a-callable"),we=x("../internals/is-callable"),Se=x("../internals/is-object"),xe=x("../internals/an-instance"),ye=x("../internals/species-constructor"),Ae=x("../internals/task").set,Le=x("../internals/microtask"),Ee=x("../internals/host-report-errors"),_e=x("../internals/perform"),Me=x("../internals/queue"),Oe=x("../internals/internal-state"),Ce=x("../internals/promise-native-constructor"),Ne=x("../internals/promise-constructor-detection"),je=x("../internals/new-promise-capability"),Ze="Promise",Pe=Ne.CONSTRUCTOR,Ue=Ne.REJECTION_EVENT,Qe=Ne.SUBCLASSING,tt=Oe.getterFor(Ze),ot=Oe.set,lt=Ce&&Ce.prototype,Ve=Ce,Ye=lt,nt=oe.TypeError,dt=oe.document,at=oe.process,et=je.f,qe=et,it=!!(dt&&dt.createEvent&&oe.dispatchEvent),yt="unhandledrejection",ht="rejectionhandled",Bt=0,Et=1,st=2,Ge=1,We=2,se,fe,ze,He,pe=function(kt){var jt;return Se(kt)&&we(jt=kt.then)?jt:!1},Be=function(kt,jt){var _t=jt.value,Mt=jt.state==Et,ft=Mt?kt.ok:kt.fail,St=kt.resolve,Nt=kt.reject,Ft=kt.domain,Zt,or,yr;try{ft?(Mt||(jt.rejection===We&&bt(jt),jt.rejection=Ge),ft===!0?Zt=_t:(Ft&&Ft.enter(),Zt=ft(_t),Ft&&(Ft.exit(),yr=!0)),Zt===kt.promise?Nt(nt("Promise-chain cycle")):(or=pe(Zt))?le(or,Zt,St,Nt):St(Zt)):Nt(_t)}catch(Sr){Ft&&!yr&&Ft.exit(),Nt(Sr)}},Ke=function(kt,jt){kt.notified||(kt.notified=!0,Le(function(){for(var _t=kt.reactions,Mt;Mt=_t.get();)Be(Mt,kt);kt.notified=!1,jt&&!kt.rejection&&Je(kt)}))},Xe=function(kt,jt,_t){var Mt,ft;it?(Mt=dt.createEvent("Event"),Mt.promise=jt,Mt.reason=_t,Mt.initEvent(kt,!1,!0),oe.dispatchEvent(Mt)):Mt={promise:jt,reason:_t},!Ue&&(ft=oe["on"+kt])?ft(Mt):kt===yt&&Ee("Unhandled promise rejection",_t)},Je=function(kt){le(Ae,oe,function(){var jt=kt.facade,_t=kt.value,Mt=ut(kt),ft;if(Mt&&(ft=_e(function(){ie?at.emit("unhandledRejection",_t,jt):Xe(yt,jt,_t)}),kt.rejection=ie||ut(kt)?We:Ge,ft.error))throw ft.value})},ut=function(kt){return kt.rejection!==Ge&&!kt.parent},bt=function(kt){le(Ae,oe,function(){var jt=kt.facade;ie?at.emit("rejectionHandled",jt):Xe(ht,jt,kt.value)})},gt=function(kt,jt,_t){return function(Mt){kt(jt,Mt,_t)}},Dt=function(kt,jt,_t){kt.done||(kt.done=!0,_t&&(kt=_t),kt.value=jt,kt.state=st,Ke(kt,!0))},Vt=function(kt,jt,_t){if(!kt.done){kt.done=!0,_t&&(kt=_t);try{if(kt.facade===jt)throw nt("Promise can't be resolved itself");var Mt=pe(jt);Mt?Le(function(){var ft={done:!1};try{le(Mt,jt,gt(Vt,ft,kt),gt(Dt,ft,kt))}catch(St){Dt(ft,St,kt)}}):(kt.value=jt,kt.state=Et,Ke(kt,!1))}catch(ft){Dt({done:!1},ft,kt)}}};if(Pe&&(Ve=function(jt){xe(this,Ye),he(jt),le(se,this);var _t=tt(this);try{jt(gt(Vt,_t),gt(Dt,_t))}catch(Mt){Dt(_t,Mt)}},Ye=Ve.prototype,se=function(jt){ot(this,{type:Ze,done:!1,notified:!1,parent:!1,reactions:new Me,rejection:!1,state:Bt,value:void 0})},se.prototype=te(Ye,{then:function(jt,_t){var Mt=tt(this),ft=et(ye(this,Ve));return Mt.parent=!0,ft.ok=we(jt)?jt:!0,ft.fail=we(_t)&&_t,ft.domain=ie?at.domain:void 0,Mt.state==Bt?Mt.reactions.add(ft):Le(function(){Be(ft,Mt)}),ft.promise}}),fe=function(){var kt=new se,jt=tt(kt);this.promise=kt,this.resolve=gt(Vt,jt),this.reject=gt(Dt,jt)},je.f=et=function(kt){return kt===Ve||kt===ze?new fe(kt):qe(kt)},!ne&&we(Ce)&&lt!==Object.prototype)){He=lt.then,Qe||me(lt,"then",function(jt,_t){var Mt=this;return new Ve(function(ft,St){le(He,Mt,ft,St)}).then(jt,_t)},{unsafe:!0});try{delete lt.constructor}catch(kt){}ae&&ae(lt,Ye)}re({global:!0,wrap:!0,forced:Pe},{Promise:Ve}),ue(Ve,Ze,!1,!0),de(Ze)},{"../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,De,ve){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,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/function-call"),ie=x("../internals/a-callable"),oe=x("../internals/new-promise-capability"),le=x("../internals/perform"),me=x("../internals/iterate"),te=x("../internals/promise-statics-incorrect-iteration");re({target:"Promise",stat:!0,forced:te},{race:function(ue){var de=this,he=oe.f(de),we=he.reject,Se=le(function(){var xe=ie(de.resolve);me(ue,function(ye){ne(xe,de,ye).then(he.resolve,we)})});return Se.error&&we(Se.value),he.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,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/function-call"),ie=x("../internals/new-promise-capability"),oe=x("../internals/promise-constructor-detection").CONSTRUCTOR;re({target:"Promise",stat:!0,forced:oe},{reject:function(me){var te=ie.f(this);return ne(te.reject,void 0,me),te.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(x,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/get-built-in"),ie=x("../internals/is-pure"),oe=x("../internals/promise-native-constructor"),le=x("../internals/promise-constructor-detection").CONSTRUCTOR,me=x("../internals/promise-resolve"),te=ne("Promise"),ae=ie&&!le;re({target:"Promise",stat:!0,forced:ie||le},{resolve:function(de){return me(ae&&this===te?oe:this,de)}})},{"../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,De,ve){var re=x("../internals/descriptors"),ne=x("../internals/global"),ie=x("../internals/function-uncurry-this"),oe=x("../internals/is-forced"),le=x("../internals/inherit-if-required"),me=x("../internals/create-non-enumerable-property"),te=x("../internals/object-get-own-property-names").f,ae=x("../internals/object-is-prototype-of"),ue=x("../internals/is-regexp"),de=x("../internals/to-string"),he=x("../internals/regexp-get-flags"),we=x("../internals/regexp-sticky-helpers"),Se=x("../internals/proxy-accessor"),xe=x("../internals/redefine"),ye=x("../internals/fails"),Ae=x("../internals/has-own-property"),Le=x("../internals/internal-state").enforce,Ee=x("../internals/set-species"),_e=x("../internals/well-known-symbol"),Me=x("../internals/regexp-unsupported-dot-all"),Oe=x("../internals/regexp-unsupported-ncg"),Ce=_e("match"),Ne=ne.RegExp,je=Ne.prototype,Ze=ne.SyntaxError,Pe=ie(je.exec),Ue=ie("".charAt),Qe=ie("".replace),tt=ie("".indexOf),ot=ie("".slice),lt=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Ve=/a/g,Ye=/a/g,nt=new Ne(Ve)!==Ve,dt=we.MISSED_STICKY,at=we.UNSUPPORTED_Y,et=re&&(!nt||dt||Me||Oe||ye(function(){return Ye[Ce]=!1,Ne(Ve)!=Ve||Ne(Ye)==Ye||Ne(Ve,"i")!="/a/i"})),qe=function(Et){for(var st=Et.length,Ge=0,We="",se=!1,fe;Ge<=st;Ge++){if(fe=Ue(Et,Ge),fe==="\\"){We+=fe+Ue(Et,++Ge);continue}!se&&fe==="."?We+="[\\s\\S]":(fe==="["?se=!0:fe==="]"&&(se=!1),We+=fe)}return We},it=function(Et){for(var st=Et.length,Ge=0,We="",se=[],fe={},ze=!1,He=!1,pe=0,Be="",Ke;Ge<=st;Ge++){if(Ke=Ue(Et,Ge),Ke==="\\")Ke=Ke+Ue(Et,++Ge);else if(Ke==="]")ze=!1;else if(!ze)switch(!0){case Ke==="[":ze=!0;break;case Ke==="(":Pe(lt,ot(Et,Ge+1))&&(Ge+=2,He=!0),We+=Ke,pe++;continue;case(Ke===">"&&He):if(Be===""||Ae(fe,Be))throw new Ze("Invalid capture group name");fe[Be]=!0,se[se.length]=[Be,pe],He=!1,Be="";continue}He?Be+=Ke:We+=Ke}return[We,se]};if(oe("RegExp",et)){for(var yt=function(st,Ge){var We=ae(je,this),se=ue(st),fe=Ge===void 0,ze=[],He=st,pe,Be,Ke,Xe,Je,ut;if(!We&&se&&fe&&st.constructor===yt)return st;if((se||ae(je,st))&&(st=st.source,fe&&(Ge=he(He))),st=st===void 0?"":de(st),Ge=Ge===void 0?"":de(Ge),He=st,Me&&"dotAll"in Ve&&(Be=!!Ge&&tt(Ge,"s")>-1,Be&&(Ge=Qe(Ge,/s/g,""))),pe=Ge,dt&&"sticky"in Ve&&(Ke=!!Ge&&tt(Ge,"y")>-1,Ke&&at&&(Ge=Qe(Ge,/y/g,""))),Oe&&(Xe=it(st),st=Xe[0],ze=Xe[1]),Je=le(Ne(st,Ge),We?this:je,yt),(Be||Ke||ze.length)&&(ut=Le(Je),Be&&(ut.dotAll=!0,ut.raw=yt(qe(st),pe)),Ke&&(ut.sticky=!0),ze.length&&(ut.groups=ze)),st!==He)try{me(Je,"source",He===""?"(?:)":He)}catch(bt){}return Je},ht=te(Ne),Bt=0;ht.length>Bt;)Se(yt,Ne,ht[Bt++]);je.constructor=yt,yt.prototype=je,xe(ne,"RegExp",yt)}Ee("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,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/regexp-exec");re({target:"RegExp",proto:!0,forced:/./.exec!==ne},{exec:ne})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(x,De,ve){"use strict";var re=x("../internals/function-name").PROPER,ne=x("../internals/redefine"),ie=x("../internals/an-object"),oe=x("../internals/to-string"),le=x("../internals/fails"),me=x("../internals/regexp-get-flags"),te="toString",ae=RegExp.prototype,ue=ae[te],de=le(function(){return ue.call({source:"a",flags:"b"})!="/a/b"}),he=re&&ue.name!=te;(de||he)&&ne(RegExp.prototype,te,function(){var Se=ie(this),xe=oe(Se.source),ye=oe(me(Se));return"/"+xe+"/"+ye},{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,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/function-uncurry-this"),ie=x("../internals/not-a-regexp"),oe=x("../internals/require-object-coercible"),le=x("../internals/to-string"),me=x("../internals/correct-is-regexp-logic"),te=ne("".indexOf);re({target:"String",proto:!0,forced:!me("includes")},{includes:function(ue){return!!~te(le(oe(this)),le(ie(ue)),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,De,ve){"use strict";var re=x("../internals/string-multibyte").charAt,ne=x("../internals/to-string"),ie=x("../internals/internal-state"),oe=x("../internals/define-iterator"),le="String Iterator",me=ie.set,te=ie.getterFor(le);oe(String,"String",function(ae){me(this,{type:le,string:ne(ae),index:0})},function(){var ue=te(this),de=ue.string,he=ue.index,we;return he>=de.length?{value:void 0,done:!0}:(we=re(de,he),ue.index+=we.length,{value:we,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(x,De,ve){"use strict";var re=x("../internals/function-call"),ne=x("../internals/fix-regexp-well-known-symbol-logic"),ie=x("../internals/an-object"),oe=x("../internals/to-length"),le=x("../internals/to-string"),me=x("../internals/require-object-coercible"),te=x("../internals/get-method"),ae=x("../internals/advance-string-index"),ue=x("../internals/regexp-exec-abstract");ne("match",function(de,he,we){return[function(xe){var ye=me(this),Ae=xe==null?void 0:te(xe,de);return Ae?re(Ae,xe,ye):new RegExp(xe)[de](le(ye))},function(Se){var xe=ie(this),ye=le(Se),Ae=we(he,xe,ye);if(Ae.done)return Ae.value;if(!xe.global)return ue(xe,ye);var Le=xe.unicode;xe.lastIndex=0;for(var Ee=[],_e=0,Me;(Me=ue(xe,ye))!==null;){var Oe=le(Me[0]);Ee[_e]=Oe,Oe===""&&(xe.lastIndex=ae(ye,oe(xe.lastIndex),Le)),_e++}return _e===0?null:Ee}]})},{"../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,De,ve){"use strict";var re=x("../internals/function-apply"),ne=x("../internals/function-call"),ie=x("../internals/function-uncurry-this"),oe=x("../internals/fix-regexp-well-known-symbol-logic"),le=x("../internals/fails"),me=x("../internals/an-object"),te=x("../internals/is-callable"),ae=x("../internals/to-integer-or-infinity"),ue=x("../internals/to-length"),de=x("../internals/to-string"),he=x("../internals/require-object-coercible"),we=x("../internals/advance-string-index"),Se=x("../internals/get-method"),xe=x("../internals/get-substitution"),ye=x("../internals/regexp-exec-abstract"),Ae=x("../internals/well-known-symbol"),Le=Ae("replace"),Ee=Math.max,_e=Math.min,Me=ie([].concat),Oe=ie([].push),Ce=ie("".indexOf),Ne=ie("".slice),je=function(Qe){return Qe===void 0?Qe:String(Qe)},Ze=function(){return"a".replace(/./,"$0")==="$0"}(),Pe=function(){return/./[Le]?/./[Le]("a","$0")==="":!1}(),Ue=!le(function(){var Qe=/./;return Qe.exec=function(){var tt=[];return tt.groups={a:"7"},tt},"".replace(Qe,"$<a>")!=="7"});oe("replace",function(Qe,tt,ot){var lt=Pe?"$":"$0";return[function(Ye,nt){var dt=he(this),at=Ye==null?void 0:Se(Ye,Le);return at?ne(at,Ye,dt,nt):ne(tt,de(dt),Ye,nt)},function(Ve,Ye){var nt=me(this),dt=de(Ve);if(typeof Ye=="string"&&Ce(Ye,lt)===-1&&Ce(Ye,"$<")===-1){var at=ot(tt,nt,dt,Ye);if(at.done)return at.value}var et=te(Ye);et||(Ye=de(Ye));var qe=nt.global;if(qe){var it=nt.unicode;nt.lastIndex=0}for(var yt=[];;){var ht=ye(nt,dt);if(ht===null||(Oe(yt,ht),!qe))break;var Bt=de(ht[0]);Bt===""&&(nt.lastIndex=we(dt,ue(nt.lastIndex),it))}for(var Et="",st=0,Ge=0;Ge<yt.length;Ge++){ht=yt[Ge];for(var We=de(ht[0]),se=Ee(_e(ae(ht.index),dt.length),0),fe=[],ze=1;ze<ht.length;ze++)Oe(fe,je(ht[ze]));var He=ht.groups;if(et){var pe=Me([We],fe,se,dt);He!==void 0&&Oe(pe,He);var Be=de(re(Ye,void 0,pe))}else Be=xe(We,dt,se,fe,He,Ye);se>=st&&(Et+=Ne(dt,st,se)+Be,st=se+We.length)}return Et+Ne(dt,st)}]},!Ue||!Ze||Pe)},{"../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,De,ve){"use strict";var re=x("../internals/function-call"),ne=x("../internals/fix-regexp-well-known-symbol-logic"),ie=x("../internals/an-object"),oe=x("../internals/require-object-coercible"),le=x("../internals/same-value"),me=x("../internals/to-string"),te=x("../internals/get-method"),ae=x("../internals/regexp-exec-abstract");ne("search",function(ue,de,he){return[function(Se){var xe=oe(this),ye=Se==null?void 0:te(Se,ue);return ye?re(ye,Se,xe):new RegExp(Se)[ue](me(xe))},function(we){var Se=ie(this),xe=me(we),ye=he(de,Se,xe);if(ye.done)return ye.value;var Ae=Se.lastIndex;le(Ae,0)||(Se.lastIndex=0);var Le=ae(Se,xe);return le(Se.lastIndex,Ae)||(Se.lastIndex=Ae),Le===null?-1:Le.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,De,ve){"use strict";var re=x("../internals/function-apply"),ne=x("../internals/function-call"),ie=x("../internals/function-uncurry-this"),oe=x("../internals/fix-regexp-well-known-symbol-logic"),le=x("../internals/is-regexp"),me=x("../internals/an-object"),te=x("../internals/require-object-coercible"),ae=x("../internals/species-constructor"),ue=x("../internals/advance-string-index"),de=x("../internals/to-length"),he=x("../internals/to-string"),we=x("../internals/get-method"),Se=x("../internals/array-slice-simple"),xe=x("../internals/regexp-exec-abstract"),ye=x("../internals/regexp-exec"),Ae=x("../internals/regexp-sticky-helpers"),Le=x("../internals/fails"),Ee=Ae.UNSUPPORTED_Y,_e=4294967295,Me=Math.min,Oe=[].push,Ce=ie(/./.exec),Ne=ie(Oe),je=ie("".slice),Ze=!Le(function(){var Pe=/(?:)/,Ue=Pe.exec;Pe.exec=function(){return Ue.apply(this,arguments)};var Qe="ab".split(Pe);return Qe.length!==2||Qe[0]!=="a"||Qe[1]!=="b"});oe("split",function(Pe,Ue,Qe){var tt;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?tt=function(ot,lt){var Ve=he(te(this)),Ye=lt===void 0?_e:lt>>>0;if(Ye===0)return[];if(ot===void 0)return[Ve];if(!le(ot))return ne(Ue,Ve,ot,Ye);for(var nt=[],dt=(ot.ignoreCase?"i":"")+(ot.multiline?"m":"")+(ot.unicode?"u":"")+(ot.sticky?"y":""),at=0,et=new RegExp(ot.source,dt+"g"),qe,it,yt;(qe=ne(ye,et,Ve))&&(it=et.lastIndex,!(it>at&&(Ne(nt,je(Ve,at,qe.index)),qe.length>1&&qe.index<Ve.length&&re(Oe,nt,Se(qe,1)),yt=qe[0].length,at=it,nt.length>=Ye)));)et.lastIndex===qe.index&&et.lastIndex++;return at===Ve.length?(yt||!Ce(et,""))&&Ne(nt,""):Ne(nt,je(Ve,at)),nt.length>Ye?Se(nt,0,Ye):nt}:"0".split(void 0,0).length?tt=function(ot,lt){return ot===void 0&&lt===0?[]:ne(Ue,this,ot,lt)}:tt=Ue,[function(lt,Ve){var Ye=te(this),nt=lt==null?void 0:we(lt,Pe);return nt?ne(nt,lt,Ye,Ve):ne(tt,he(Ye),lt,Ve)},function(ot,lt){var Ve=me(this),Ye=he(ot),nt=Qe(tt,Ve,Ye,lt,tt!==Ue);if(nt.done)return nt.value;var dt=ae(Ve,RegExp),at=Ve.unicode,et=(Ve.ignoreCase?"i":"")+(Ve.multiline?"m":"")+(Ve.unicode?"u":"")+(Ee?"g":"y"),qe=new dt(Ee?"^(?:"+Ve.source+")":Ve,et),it=lt===void 0?_e:lt>>>0;if(it===0)return[];if(Ye.length===0)return xe(qe,Ye)===null?[Ye]:[];for(var yt=0,ht=0,Bt=[];ht<Ye.length;){qe.lastIndex=Ee?0:ht;var Et=xe(qe,Ee?je(Ye,ht):Ye),st;if(Et===null||(st=Me(de(qe.lastIndex+(Ee?ht:0)),Ye.length))===yt)ht=ue(Ye,ht,at);else{if(Ne(Bt,je(Ye,yt,ht)),Bt.length===it)return Bt;for(var Ge=1;Ge<=Et.length-1;Ge++)if(Ne(Bt,Et[Ge]),Bt.length===it)return Bt;ht=yt=st}}return Ne(Bt,je(Ye,yt)),Bt}]},!Ze,Ee)},{"../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,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/string-trim").trim,ie=x("../internals/string-trim-forced");re({target:"String",proto:!0,forced:ie("trim")},{trim:function(){return ne(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(x,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/global"),ie=x("../internals/function-call"),oe=x("../internals/function-uncurry-this"),le=x("../internals/is-pure"),me=x("../internals/descriptors"),te=x("../internals/native-symbol"),ae=x("../internals/fails"),ue=x("../internals/has-own-property"),de=x("../internals/object-is-prototype-of"),he=x("../internals/an-object"),we=x("../internals/to-indexed-object"),Se=x("../internals/to-property-key"),xe=x("../internals/to-string"),ye=x("../internals/create-property-descriptor"),Ae=x("../internals/object-create"),Le=x("../internals/object-keys"),Ee=x("../internals/object-get-own-property-names"),_e=x("../internals/object-get-own-property-names-external"),Me=x("../internals/object-get-own-property-symbols"),Oe=x("../internals/object-get-own-property-descriptor"),Ce=x("../internals/object-define-property"),Ne=x("../internals/object-define-properties"),je=x("../internals/object-property-is-enumerable"),Ze=x("../internals/redefine"),Pe=x("../internals/shared"),Ue=x("../internals/shared-key"),Qe=x("../internals/hidden-keys"),tt=x("../internals/uid"),ot=x("../internals/well-known-symbol"),lt=x("../internals/well-known-symbol-wrapped"),Ve=x("../internals/define-well-known-symbol"),Ye=x("../internals/symbol-define-to-primitive"),nt=x("../internals/set-to-string-tag"),dt=x("../internals/internal-state"),at=x("../internals/array-iteration").forEach,et=Ue("hidden"),qe="Symbol",it="prototype",yt=dt.set,ht=dt.getterFor(qe),Bt=Object[it],Et=ne.Symbol,st=Et&&Et[it],Ge=ne.TypeError,We=ne.QObject,se=Oe.f,fe=Ce.f,ze=_e.f,He=je.f,pe=oe([].push),Be=Pe("symbols"),Ke=Pe("op-symbols"),Xe=Pe("wks"),Je=!We||!We[it]||!We[it].findChild,ut=me&&ae(function(){return Ae(fe({},"a",{get:function(){return fe(this,"a",{value:7}).a}})).a!=7})?function(ft,St,Nt){var Ft=se(Bt,St);Ft&&delete Bt[St],fe(ft,St,Nt),Ft&&ft!==Bt&&fe(Bt,St,Ft)}:fe,bt=function(ft,St){var Nt=Be[ft]=Ae(st);return yt(Nt,{type:qe,tag:ft,description:St}),me||(Nt.description=St),Nt},gt=function(St,Nt,Ft){St===Bt&&gt(Ke,Nt,Ft),he(St);var Zt=Se(Nt);return he(Ft),ue(Be,Zt)?(Ft.enumerable?(ue(St,et)&&St[et][Zt]&&(St[et][Zt]=!1),Ft=Ae(Ft,{enumerable:ye(0,!1)})):(ue(St,et)||fe(St,et,ye(1,{})),St[et][Zt]=!0),ut(St,Zt,Ft)):fe(St,Zt,Ft)},Dt=function(St,Nt){he(St);var Ft=we(Nt),Zt=Le(Ft).concat(Mt(Ft));return at(Zt,function(or){(!me||ie(kt,Ft,or))&&gt(St,or,Ft[or])}),St},Vt=function(St,Nt){return Nt===void 0?Ae(St):Dt(Ae(St),Nt)},kt=function(St){var Nt=Se(St),Ft=ie(He,this,Nt);return this===Bt&&ue(Be,Nt)&&!ue(Ke,Nt)?!1:Ft||!ue(this,Nt)||!ue(Be,Nt)||ue(this,et)&&this[et][Nt]?Ft:!0},jt=function(St,Nt){var Ft=we(St),Zt=Se(Nt);if(!(Ft===Bt&&ue(Be,Zt)&&!ue(Ke,Zt))){var or=se(Ft,Zt);return or&&ue(Be,Zt)&&!(ue(Ft,et)&&Ft[et][Zt])&&(or.enumerable=!0),or}},_t=function(St){var Nt=ze(we(St)),Ft=[];return at(Nt,function(Zt){!ue(Be,Zt)&&!ue(Qe,Zt)&&pe(Ft,Zt)}),Ft},Mt=function(ft){var St=ft===Bt,Nt=ze(St?Ke:we(ft)),Ft=[];return at(Nt,function(Zt){ue(Be,Zt)&&(!St||ue(Bt,Zt))&&pe(Ft,Be[Zt])}),Ft};te||(Et=function(){if(de(st,this))throw Ge("Symbol is not a constructor");var St=!arguments.length||arguments[0]===void 0?void 0:xe(arguments[0]),Nt=tt(St),Ft=function(Zt){this===Bt&&ie(Ft,Ke,Zt),ue(this,et)&&ue(this[et],Nt)&&(this[et][Nt]=!1),ut(this,Nt,ye(1,Zt))};return me&&Je&&ut(Bt,Nt,{configurable:!0,set:Ft}),bt(Nt,St)},st=Et[it],Ze(st,"toString",function(){return ht(this).tag}),Ze(Et,"withoutSetter",function(ft){return bt(tt(ft),ft)}),je.f=kt,Ce.f=gt,Ne.f=Dt,Oe.f=jt,Ee.f=_e.f=_t,Me.f=Mt,lt.f=function(ft){return bt(ot(ft),ft)},me&&(fe(st,"description",{configurable:!0,get:function(){return ht(this).description}}),le||Ze(Bt,"propertyIsEnumerable",kt,{unsafe:!0}))),re({global:!0,wrap:!0,forced:!te,sham:!te},{Symbol:Et}),at(Le(Xe),function(ft){Ve(ft)}),re({target:qe,stat:!0,forced:!te},{useSetter:function(){Je=!0},useSimple:function(){Je=!1}}),re({target:"Object",stat:!0,forced:!te,sham:!me},{create:Vt,defineProperty:gt,defineProperties:Dt,getOwnPropertyDescriptor:jt}),re({target:"Object",stat:!0,forced:!te},{getOwnPropertyNames:_t}),Ye(),nt(Et,qe),Qe[et]=!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,De,ve){"use strict";var re=x("../internals/export"),ne=x("../internals/descriptors"),ie=x("../internals/global"),oe=x("../internals/function-uncurry-this"),le=x("../internals/has-own-property"),me=x("../internals/is-callable"),te=x("../internals/object-is-prototype-of"),ae=x("../internals/to-string"),ue=x("../internals/object-define-property").f,de=x("../internals/copy-constructor-properties"),he=ie.Symbol,we=he&&he.prototype;if(ne&&me(he)&&(!("description"in we)||he().description!==void 0)){var Se={},xe=function(){var Ce=arguments.length<1||arguments[0]===void 0?void 0:ae(arguments[0]),Ne=te(we,this)?new he(Ce):Ce===void 0?he():he(Ce);return Ce===""&&(Se[Ne]=!0),Ne};de(xe,he),xe.prototype=we,we.constructor=xe;var ye=String(he("test"))=="Symbol(test)",Ae=oe(we.toString),Le=oe(we.valueOf),Ee=/^Symbol\((.*)\)[^)]+$/,_e=oe("".replace),Me=oe("".slice);ue(we,"description",{configurable:!0,get:function(){var Ce=Le(this),Ne=Ae(Ce);if(le(Se,Ce))return"";var je=ye?Me(Ne,7,-1):_e(Ne,Ee,"$1");return je===""?void 0:je}}),re({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,De,ve){var re=x("../internals/export"),ne=x("../internals/get-built-in"),ie=x("../internals/has-own-property"),oe=x("../internals/to-string"),le=x("../internals/shared"),me=x("../internals/native-symbol-registry"),te=le("string-to-symbol-registry"),ae=le("symbol-to-string-registry");re({target:"Symbol",stat:!0,forced:!me},{for:function(ue){var de=oe(ue);if(ie(te,de))return te[de];var he=ne("Symbol")(de);return te[de]=he,ae[he]=de,he}})},{"../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,De,ve){var re=x("../internals/define-well-known-symbol");re("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(x,De,ve){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,De,ve){var re=x("../internals/export"),ne=x("../internals/has-own-property"),ie=x("../internals/is-symbol"),oe=x("../internals/try-to-string"),le=x("../internals/shared"),me=x("../internals/native-symbol-registry"),te=le("symbol-to-string-registry");re({target:"Symbol",stat:!0,forced:!me},{keyFor:function(ue){if(!ie(ue))throw TypeError(oe(ue)+" is not a symbol");if(ne(te,ue))return te[ue]}})},{"../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,De,ve){"use strict";var re=x("../internals/function-uncurry-this"),ne=x("../internals/array-buffer-view-core"),ie=x("../internals/array-copy-within"),oe=re(ie),le=ne.aTypedArray,me=ne.exportTypedArrayMethod;me("copyWithin",function(ae,ue){return oe(le(this),ae,ue,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,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/array-iteration").every,ie=re.aTypedArray,oe=re.exportTypedArrayMethod;oe("every",function(me){return ne(ie(this),me,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/function-call"),ie=x("../internals/array-fill"),oe=re.aTypedArray,le=re.exportTypedArrayMethod;le("fill",function(te){var ae=arguments.length;return ne(ie,oe(this),te,ae>1?arguments[1]:void 0,ae>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/array-iteration").filter,ie=x("../internals/typed-array-from-species-and-list"),oe=re.aTypedArray,le=re.exportTypedArrayMethod;le("filter",function(te){var ae=ne(oe(this),te,arguments.length>1?arguments[1]:void 0);return ie(this,ae)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/array-iteration").findIndex,ie=re.aTypedArray,oe=re.exportTypedArrayMethod;oe("findIndex",function(me){return ne(ie(this),me,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/array-iteration").find,ie=re.aTypedArray,oe=re.exportTypedArrayMethod;oe("find",function(me){return ne(ie(this),me,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/array-iteration").forEach,ie=re.aTypedArray,oe=re.exportTypedArrayMethod;oe("forEach",function(me){ne(ie(this),me,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/array-includes").includes,ie=re.aTypedArray,oe=re.exportTypedArrayMethod;oe("includes",function(me){return ne(ie(this),me,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/array-includes").indexOf,ie=re.aTypedArray,oe=re.exportTypedArrayMethod;oe("indexOf",function(me){return ne(ie(this),me,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(x,De,ve){"use strict";var re=x("../internals/global"),ne=x("../internals/fails"),ie=x("../internals/function-uncurry-this"),oe=x("../internals/array-buffer-view-core"),le=x("../modules/es.array.iterator"),me=x("../internals/well-known-symbol"),te=me("iterator"),ae=re.Uint8Array,ue=ie(le.values),de=ie(le.keys),he=ie(le.entries),we=oe.aTypedArray,Se=oe.exportTypedArrayMethod,xe=ae&&ae.prototype,ye=!ne(function(){xe[te].call([1])}),Ae=!!xe&&xe.values&&xe[te]===xe.values&&xe.values.name==="values",Le=function(){return ue(we(this))};Se("entries",function(){return he(we(this))},ye),Se("keys",function(){return de(we(this))},ye),Se("values",Le,ye||!Ae,{name:"values"}),Se(te,Le,ye||!Ae,{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,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/function-uncurry-this"),ie=re.aTypedArray,oe=re.exportTypedArrayMethod,le=ne([].join);oe("join",function(te){return le(ie(this),te)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/function-apply"),ie=x("../internals/array-last-index-of"),oe=re.aTypedArray,le=re.exportTypedArrayMethod;le("lastIndexOf",function(te){var ae=arguments.length;return ne(ie,oe(this),ae>1?[te,arguments[1]]:[te])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/array-iteration").map,ie=x("../internals/typed-array-species-constructor"),oe=re.aTypedArray,le=re.exportTypedArrayMethod;le("map",function(te){return ne(oe(this),te,arguments.length>1?arguments[1]:void 0,function(ae,ue){return new(ie(ae))(ue)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/array-reduce").right,ie=re.aTypedArray,oe=re.exportTypedArrayMethod;oe("reduceRight",function(me){var te=arguments.length;return ne(ie(this),me,te,te>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/array-reduce").left,ie=re.aTypedArray,oe=re.exportTypedArrayMethod;oe("reduce",function(me){var te=arguments.length;return ne(ie(this),me,te,te>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=re.aTypedArray,ie=re.exportTypedArrayMethod,oe=Math.floor;ie("reverse",function(){for(var me=this,te=ne(me).length,ae=oe(te/2),ue=0,de;ue<ae;)de=me[ue],me[ue++]=me[--te],me[te]=de;return me})},{"../internals/array-buffer-view-core":103}],331:[function(x,De,ve){"use strict";var re=x("../internals/global"),ne=x("../internals/function-call"),ie=x("../internals/array-buffer-view-core"),oe=x("../internals/length-of-array-like"),le=x("../internals/to-offset"),me=x("../internals/to-object"),te=x("../internals/fails"),ae=re.RangeError,ue=re.Int8Array,de=ue&&ue.prototype,he=de&&de.set,we=ie.aTypedArray,Se=ie.exportTypedArrayMethod,xe=!te(function(){var Ae=new Uint8ClampedArray(2);return ne(he,Ae,{length:1,0:3},1),Ae[1]!==3}),ye=xe&&ie.NATIVE_ARRAY_BUFFER_VIEWS&&te(function(){var Ae=new ue(2);return Ae.set(1),Ae.set("2",1),Ae[0]!==0||Ae[1]!==2});Se("set",function(Le){we(this);var Ee=le(arguments.length>1?arguments[1]:void 0,1),_e=me(Le);if(xe)return ne(he,this,_e,Ee);var Me=this.length,Oe=oe(_e),Ce=0;if(Oe+Ee>Me)throw ae("Wrong length");for(;Ce<Oe;)this[Ee+Ce]=_e[Ce++]},!xe||ye)},{"../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,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/typed-array-species-constructor"),ie=x("../internals/fails"),oe=x("../internals/array-slice"),le=re.aTypedArray,me=re.exportTypedArrayMethod,te=ie(function(){new Int8Array(1).slice()});me("slice",function(ue,de){for(var he=oe(le(this),ue,de),we=ne(this),Se=0,xe=he.length,ye=new we(xe);xe>Se;)ye[Se]=he[Se++];return ye},te)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/array-iteration").some,ie=re.aTypedArray,oe=re.exportTypedArrayMethod;oe("some",function(me){return ne(ie(this),me,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(x,De,ve){"use strict";var re=x("../internals/global"),ne=x("../internals/function-uncurry-this"),ie=x("../internals/fails"),oe=x("../internals/a-callable"),le=x("../internals/array-sort"),me=x("../internals/array-buffer-view-core"),te=x("../internals/engine-ff-version"),ae=x("../internals/engine-is-ie-or-edge"),ue=x("../internals/engine-v8-version"),de=x("../internals/engine-webkit-version"),he=me.aTypedArray,we=me.exportTypedArrayMethod,Se=re.Uint16Array,xe=Se&&ne(Se.prototype.sort),ye=!!xe&&!(ie(function(){xe(new Se(2),null)})&&ie(function(){xe(new Se(2),{})})),Ae=!!xe&&!ie(function(){if(ue)return ue<74;if(te)return te<67;if(ae)return!0;if(de)return de<602;var Ee=new Se(516),_e=Array(516),Me,Oe;for(Me=0;Me<516;Me++)Oe=Me%4,Ee[Me]=515-Me,_e[Me]=Me-2*Oe+3;for(xe(Ee,function(Ce,Ne){return(Ce/4|0)-(Ne/4|0)}),Me=0;Me<516;Me++)if(Ee[Me]!==_e[Me])return!0}),Le=function(Ee){return function(_e,Me){return Ee!==void 0?+Ee(_e,Me)||0:Me!==Me?-1:_e!==_e?1:_e===0&&Me===0?1/_e>0&&1/Me<0?1:-1:_e>Me}};we("sort",function(_e){return _e!==void 0&&oe(_e),Ae?xe(this,_e):le(he(this),Le(_e))},!Ae||ye)},{"../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,De,ve){"use strict";var re=x("../internals/array-buffer-view-core"),ne=x("../internals/to-length"),ie=x("../internals/to-absolute-index"),oe=x("../internals/typed-array-species-constructor"),le=re.aTypedArray,me=re.exportTypedArrayMethod;me("subarray",function(ae,ue){var de=le(this),he=de.length,we=ie(ae,he),Se=oe(de);return new Se(de.buffer,de.byteOffset+we*de.BYTES_PER_ELEMENT,ne((ue===void 0?he:ie(ue,he))-we))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(x,De,ve){"use strict";var re=x("../internals/global"),ne=x("../internals/function-apply"),ie=x("../internals/array-buffer-view-core"),oe=x("../internals/fails"),le=x("../internals/array-slice"),me=re.Int8Array,te=ie.aTypedArray,ae=ie.exportTypedArrayMethod,ue=[].toLocaleString,de=!!me&&oe(function(){ue.call(new me(1))}),he=oe(function(){return[1,2].toLocaleString()!=new me([1,2]).toLocaleString()})||!oe(function(){me.prototype.toLocaleString.call([1,2])});ae("toLocaleString",function(){return ne(ue,de?le(te(this)):te(this),le(arguments))},he)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(x,De,ve){"use strict";var re=x("../internals/array-buffer-view-core").exportTypedArrayMethod,ne=x("../internals/fails"),ie=x("../internals/global"),oe=x("../internals/function-uncurry-this"),le=ie.Uint8Array,me=le&&le.prototype||{},te=[].toString,ae=oe([].join);ne(function(){te.call({})})&&(te=function(){return ae(this)});var ue=me.toString!=te;re("toString",te,ue)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(x,De,ve){var re=x("../internals/typed-array-constructor");re("Uint8",function(ne){return function(oe,le,me){return ne(this,oe,le,me)}})},{"../internals/typed-array-constructor":258}],339:[function(x,De,ve){var re=x("../internals/global"),ne=x("../internals/dom-iterables"),ie=x("../internals/dom-token-list-prototype"),oe=x("../internals/array-for-each"),le=x("../internals/create-non-enumerable-property"),me=function(ae){if(ae&&ae.forEach!==oe)try{le(ae,"forEach",oe)}catch(ue){ae.forEach=oe}};for(var te in ne)ne[te]&&me(re[te]&&re[te].prototype);me(ie)},{"../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,De,ve){var re=x("../internals/global"),ne=x("../internals/dom-iterables"),ie=x("../internals/dom-token-list-prototype"),oe=x("../modules/es.array.iterator"),le=x("../internals/create-non-enumerable-property"),me=x("../internals/well-known-symbol"),te=me("iterator"),ae=me("toStringTag"),ue=oe.values,de=function(we,Se){if(we){if(we[te]!==ue)try{le(we,te,ue)}catch(ye){we[te]=ue}if(we[ae]||le(we,ae,Se),ne[Se]){for(var xe in oe)if(we[xe]!==oe[xe])try{le(we,xe,oe[xe])}catch(ye){we[xe]=oe[xe]}}}};for(var he in ne)de(re[he]&&re[he].prototype,he);de(ie,"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,De,ve){function re(Ae){return Array.isArray?Array.isArray(Ae):ye(Ae)==="[object Array]"}ve.isArray=re;function ne(Ae){return typeof Ae=="boolean"}ve.isBoolean=ne;function ie(Ae){return Ae===null}ve.isNull=ie;function oe(Ae){return Ae==null}ve.isNullOrUndefined=oe;function le(Ae){return typeof Ae=="number"}ve.isNumber=le;function me(Ae){return typeof Ae=="string"}ve.isString=me;function te(Ae){return typeof Ae=="symbol"}ve.isSymbol=te;function ae(Ae){return Ae===void 0}ve.isUndefined=ae;function ue(Ae){return ye(Ae)==="[object RegExp]"}ve.isRegExp=ue;function de(Ae){return typeof Ae=="object"&&Ae!==null}ve.isObject=de;function he(Ae){return ye(Ae)==="[object Date]"}ve.isDate=he;function we(Ae){return ye(Ae)==="[object Error]"||Ae instanceof Error}ve.isError=we;function Se(Ae){return typeof Ae=="function"}ve.isFunction=Se;function xe(Ae){return Ae===null||typeof Ae=="boolean"||typeof Ae=="number"||typeof Ae=="string"||typeof Ae=="symbol"||typeof Ae=="undefined"}ve.isPrimitive=xe,ve.isBuffer=x("buffer").Buffer.isBuffer;function ye(Ae){return Object.prototype.toString.call(Ae)}},{buffer:90}],342:[function(x,De,ve){(function(re){"use strict";var ne=function(){var te=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,ae=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,ue=/[^-+\dA-Z]/g;return function(de,he,we,Se){if(arguments.length===1&&me(de)==="string"&&!/\d/.test(de)&&(he=de,de=void 0),de=de||new Date,de instanceof Date||(de=new Date(de)),isNaN(de))throw TypeError("Invalid date");he=String(ne.masks[he]||he||ne.masks.default);var xe=he.slice(0,4);(xe==="UTC:"||xe==="GMT:")&&(he=he.slice(4),we=!0,xe==="GMT:"&&(Se=!0));var ye=we?"getUTC":"get",Ae=de[ye+"Date"](),Le=de[ye+"Day"](),Ee=de[ye+"Month"](),_e=de[ye+"FullYear"](),Me=de[ye+"Hours"](),Oe=de[ye+"Minutes"](),Ce=de[ye+"Seconds"](),Ne=de[ye+"Milliseconds"](),je=we?0:de.getTimezoneOffset(),Ze=oe(de),Pe=le(de),Ue={d:Ae,dd:ie(Ae),ddd:ne.i18n.dayNames[Le],dddd:ne.i18n.dayNames[Le+7],m:Ee+1,mm:ie(Ee+1),mmm:ne.i18n.monthNames[Ee],mmmm:ne.i18n.monthNames[Ee+12],yy:String(_e).slice(2),yyyy:_e,h:Me%12||12,hh:ie(Me%12||12),H:Me,HH:ie(Me),M:Oe,MM:ie(Oe),s:Ce,ss:ie(Ce),l:ie(Ne,3),L:ie(Math.round(Ne/10)),t:Me<12?"a":"p",tt:Me<12?"am":"pm",T:Me<12?"A":"P",TT:Me<12?"AM":"PM",Z:Se?"GMT":we?"UTC":(String(de).match(ae)||[""]).pop().replace(ue,""),o:(je>0?"-":"+")+ie(Math.floor(Math.abs(je)/60)*100+Math.abs(je)%60,4),S:["th","st","nd","rd"][Ae%10>3?0:(Ae%100-Ae%10!=10)*Ae%10],W:Ze,N:Pe};return he.replace(te,function(Qe){return Qe in Ue?Ue[Qe]:Qe.slice(1,Qe.length-1)})}}();ne.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"},ne.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 ie(te,ae){for(te=String(te),ae=ae||2;te.length<ae;)te="0"+te;return te}function oe(te){var ae=new Date(te.getFullYear(),te.getMonth(),te.getDate());ae.setDate(ae.getDate()-(ae.getDay()+6)%7+3);var ue=new Date(ae.getFullYear(),0,4);ue.setDate(ue.getDate()-(ue.getDay()+6)%7+3);var de=ae.getTimezoneOffset()-ue.getTimezoneOffset();ae.setHours(ae.getHours()-de);var he=(ae-ue)/(864e5*7);return 1+Math.floor(he)}function le(te){var ae=te.getDay();return ae===0&&(ae=7),ae}function me(te){return te===null?"null":te===void 0?"undefined":typeof te!="object"?typeof te:Array.isArray(te)?"array":{}.toString.call(te).slice(8,-1).toLowerCase()}typeof ke=="function"&&ke.amd?ke(function(){return ne}):typeof ve=="object"?De.exports=ne:re.dateFormat=ne})(this)},{}],343:[function(x,De,ve){"use strict";var re=/["'&<>]/;De.exports=ne;function ne(ie){var oe=""+ie,le=re.exec(oe);if(!le)return oe;var me,te="",ae=0,ue=0;for(ae=le.index;ae<oe.length;ae++){switch(oe.charCodeAt(ae)){case 34:me="&quot;";break;case 38:me="&amp;";break;case 39:me="&#39;";break;case 60:me="&lt;";break;case 62:me="&gt;";break;default:continue}ue!==ae&&(te+=oe.substring(ue,ae)),ue=ae+1,te+=me}return ue!==ae?te+oe.substring(ue,ae):te}},{}],344:[function(x,De,ve){"use strict";var re=typeof Reflect=="object"?Reflect:null,ne=re&&typeof re.apply=="function"?re.apply:function(Ce,Ne,je){return Function.prototype.apply.call(Ce,Ne,je)},ie;re&&typeof re.ownKeys=="function"?ie=re.ownKeys:Object.getOwnPropertySymbols?ie=function(Ce){return Object.getOwnPropertyNames(Ce).concat(Object.getOwnPropertySymbols(Ce))}:ie=function(Ce){return Object.getOwnPropertyNames(Ce)};function oe(Oe){console&&console.warn&&console.warn(Oe)}var le=Number.isNaN||function(Ce){return Ce!==Ce};function me(){me.init.call(this)}De.exports=me,De.exports.once=Ee,me.EventEmitter=me,me.prototype._events=void 0,me.prototype._eventsCount=0,me.prototype._maxListeners=void 0;var te=10;function ae(Oe){if(typeof Oe!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Oe)}Object.defineProperty(me,"defaultMaxListeners",{enumerable:!0,get:function(){return te},set:function(Oe){if(typeof Oe!="number"||Oe<0||le(Oe))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Oe+".");te=Oe}}),me.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},me.prototype.setMaxListeners=function(Ce){if(typeof Ce!="number"||Ce<0||le(Ce))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Ce+".");return this._maxListeners=Ce,this};function ue(Oe){return Oe._maxListeners===void 0?me.defaultMaxListeners:Oe._maxListeners}me.prototype.getMaxListeners=function(){return ue(this)},me.prototype.emit=function(Ce){for(var Ne=[],je=1;je<arguments.length;je++)Ne.push(arguments[je]);var Ze=Ce==="error",Pe=this._events;if(Pe!==void 0)Ze=Ze&&Pe.error===void 0;else if(!Ze)return!1;if(Ze){var Ue;if(Ne.length>0&&(Ue=Ne[0]),Ue instanceof Error)throw Ue;var Qe=new Error("Unhandled error."+(Ue?" ("+Ue.message+")":""));throw Qe.context=Ue,Qe}var tt=Pe[Ce];if(tt===void 0)return!1;if(typeof tt=="function")ne(tt,this,Ne);else for(var ot=tt.length,lt=ye(tt,ot),je=0;je<ot;++je)ne(lt[je],this,Ne);return!0};function de(Oe,Ce,Ne,je){var Ze,Pe,Ue;if(ae(Ne),Pe=Oe._events,Pe===void 0?(Pe=Oe._events=Object.create(null),Oe._eventsCount=0):(Pe.newListener!==void 0&&(Oe.emit("newListener",Ce,Ne.listener?Ne.listener:Ne),Pe=Oe._events),Ue=Pe[Ce]),Ue===void 0)Ue=Pe[Ce]=Ne,++Oe._eventsCount;else if(typeof Ue=="function"?Ue=Pe[Ce]=je?[Ne,Ue]:[Ue,Ne]:je?Ue.unshift(Ne):Ue.push(Ne),Ze=ue(Oe),Ze>0&&Ue.length>Ze&&!Ue.warned){Ue.warned=!0;var Qe=new Error("Possible EventEmitter memory leak detected. "+Ue.length+" "+String(Ce)+" listeners added. Use emitter.setMaxListeners() to increase limit");Qe.name="MaxListenersExceededWarning",Qe.emitter=Oe,Qe.type=Ce,Qe.count=Ue.length,oe(Qe)}return Oe}me.prototype.addListener=function(Ce,Ne){return de(this,Ce,Ne,!1)},me.prototype.on=me.prototype.addListener,me.prototype.prependListener=function(Ce,Ne){return de(this,Ce,Ne,!0)};function he(){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 we(Oe,Ce,Ne){var je={fired:!1,wrapFn:void 0,target:Oe,type:Ce,listener:Ne},Ze=he.bind(je);return Ze.listener=Ne,je.wrapFn=Ze,Ze}me.prototype.once=function(Ce,Ne){return ae(Ne),this.on(Ce,we(this,Ce,Ne)),this},me.prototype.prependOnceListener=function(Ce,Ne){return ae(Ne),this.prependListener(Ce,we(this,Ce,Ne)),this},me.prototype.removeListener=function(Ce,Ne){var je,Ze,Pe,Ue,Qe;if(ae(Ne),Ze=this._events,Ze===void 0)return this;if(je=Ze[Ce],je===void 0)return this;if(je===Ne||je.listener===Ne)--this._eventsCount===0?this._events=Object.create(null):(delete Ze[Ce],Ze.removeListener&&this.emit("removeListener",Ce,je.listener||Ne));else if(typeof je!="function"){for(Pe=-1,Ue=je.length-1;Ue>=0;Ue--)if(je[Ue]===Ne||je[Ue].listener===Ne){Qe=je[Ue].listener,Pe=Ue;break}if(Pe<0)return this;Pe===0?je.shift():Ae(je,Pe),je.length===1&&(Ze[Ce]=je[0]),Ze.removeListener!==void 0&&this.emit("removeListener",Ce,Qe||Ne)}return this},me.prototype.off=me.prototype.removeListener,me.prototype.removeAllListeners=function(Ce){var Ne,je,Ze;if(je=this._events,je===void 0)return this;if(je.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):je[Ce]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete je[Ce]),this;if(arguments.length===0){var Pe=Object.keys(je),Ue;for(Ze=0;Ze<Pe.length;++Ze)Ue=Pe[Ze],Ue!=="removeListener"&&this.removeAllListeners(Ue);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Ne=je[Ce],typeof Ne=="function")this.removeListener(Ce,Ne);else if(Ne!==void 0)for(Ze=Ne.length-1;Ze>=0;Ze--)this.removeListener(Ce,Ne[Ze]);return this};function Se(Oe,Ce,Ne){var je=Oe._events;if(je===void 0)return[];var Ze=je[Ce];return Ze===void 0?[]:typeof Ze=="function"?Ne?[Ze.listener||Ze]:[Ze]:Ne?Le(Ze):ye(Ze,Ze.length)}me.prototype.listeners=function(Ce){return Se(this,Ce,!0)},me.prototype.rawListeners=function(Ce){return Se(this,Ce,!1)},me.listenerCount=function(Oe,Ce){return typeof Oe.listenerCount=="function"?Oe.listenerCount(Ce):xe.call(Oe,Ce)},me.prototype.listenerCount=xe;function xe(Oe){var Ce=this._events;if(Ce!==void 0){var Ne=Ce[Oe];if(typeof Ne=="function")return 1;if(Ne!==void 0)return Ne.length}return 0}me.prototype.eventNames=function(){return this._eventsCount>0?ie(this._events):[]};function ye(Oe,Ce){for(var Ne=new Array(Ce),je=0;je<Ce;++je)Ne[je]=Oe[je];return Ne}function Ae(Oe,Ce){for(;Ce+1<Oe.length;Ce++)Oe[Ce]=Oe[Ce+1];Oe.pop()}function Le(Oe){for(var Ce=new Array(Oe.length),Ne=0;Ne<Ce.length;++Ne)Ce[Ne]=Oe[Ne].listener||Oe[Ne];return Ce}function Ee(Oe,Ce){return new Promise(function(Ne,je){function Ze(Ue){Oe.removeListener(Ce,Pe),je(Ue)}function Pe(){typeof Oe.removeListener=="function"&&Oe.removeListener("error",Ze),Ne([].slice.call(arguments))}Me(Oe,Ce,Pe,{once:!0}),Ce!=="error"&&_e(Oe,Ze,{once:!0})})}function _e(Oe,Ce,Ne){typeof Oe.on=="function"&&Me(Oe,"error",Ce,Ne)}function Me(Oe,Ce,Ne,je){if(typeof Oe.on=="function")je.once?Oe.once(Ce,Ne):Oe.on(Ce,Ne);else if(typeof Oe.addEventListener=="function")Oe.addEventListener(Ce,function Ze(Pe){je.once&&Oe.removeEventListener(Ce,Ze),Ne(Pe)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Oe)}},{}],345:[function(x,De,ve){"use strict";var re=x("is-callable"),ne=Object.prototype.toString,ie=Object.prototype.hasOwnProperty,oe=function(ue,de,he){for(var we=0,Se=ue.length;we<Se;we++)ie.call(ue,we)&&(he==null?de(ue[we],we,ue):de.call(he,ue[we],we,ue))},le=function(ue,de,he){for(var we=0,Se=ue.length;we<Se;we++)he==null?de(ue.charAt(we),we,ue):de.call(he,ue.charAt(we),we,ue)},me=function(ue,de,he){for(var we in ue)ie.call(ue,we)&&(he==null?de(ue[we],we,ue):de.call(he,ue[we],we,ue))},te=function(ue,de,he){if(!re(de))throw new TypeError("iterator must be a function");var we;arguments.length>=3&&(we=he),ne.call(ue)==="[object Array]"?oe(ue,de,we):typeof ue=="string"?le(ue,de,we):me(ue,de,we)};De.exports=te},{"is-callable":367}],346:[function(x,De,ve){"use strict";var re="Function.prototype.bind called on incompatible ",ne=Array.prototype.slice,ie=Object.prototype.toString,oe="[object Function]";De.exports=function(me){var te=this;if(typeof te!="function"||ie.call(te)!==oe)throw new TypeError(re+te);for(var ae=ne.call(arguments,1),ue,de=function(){if(this instanceof ue){var ye=te.apply(this,ae.concat(ne.call(arguments)));return Object(ye)===ye?ye:this}else return te.apply(me,ae.concat(ne.call(arguments)))},he=Math.max(0,te.length-ae.length),we=[],Se=0;Se<he;Se++)we.push("$"+Se);if(ue=Function("binder","return function ("+we.join(",")+"){ return binder.apply(this,arguments); }")(de),te.prototype){var xe=function(){};xe.prototype=te.prototype,ue.prototype=new xe,xe.prototype=null}return ue}},{}],347:[function(x,De,ve){"use strict";var re=x("./implementation");De.exports=Function.prototype.bind||re},{"./implementation":346}],348:[function(x,De,ve){"use strict";var re,ne=SyntaxError,ie=Function,oe=TypeError,le=function(tt){try{return ie('"use strict"; return ('+tt+").constructor;")()}catch(ot){}},me=Object.getOwnPropertyDescriptor;if(me)try{me({},"")}catch(tt){me=null}var te=function(){throw new oe},ae=me?function(){try{return arguments.callee,te}catch(tt){try{return me(arguments,"callee").get}catch(ot){return te}}}():te,ue=x("has-symbols")(),de=x("has-proto")(),he=Object.getPrototypeOf||(de?function(tt){return tt.__proto__}:null),we={},Se=typeof Uint8Array=="undefined"||!he?re:he(Uint8Array),xe={"%AggregateError%":typeof AggregateError=="undefined"?re:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?re:ArrayBuffer,"%ArrayIteratorPrototype%":ue&&he?he([][Symbol.iterator]()):re,"%AsyncFromSyncIteratorPrototype%":re,"%AsyncFunction%":we,"%AsyncGenerator%":we,"%AsyncGeneratorFunction%":we,"%AsyncIteratorPrototype%":we,"%Atomics%":typeof Atomics=="undefined"?re:Atomics,"%BigInt%":typeof BigInt=="undefined"?re:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?re:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?re:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?re:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?re:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?re:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?re:FinalizationRegistry,"%Function%":ie,"%GeneratorFunction%":we,"%Int8Array%":typeof Int8Array=="undefined"?re:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?re:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?re:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ue&&he?he(he([][Symbol.iterator]())):re,"%JSON%":typeof JSON=="object"?JSON:re,"%Map%":typeof Map=="undefined"?re:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!ue||!he?re:he(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?re:Promise,"%Proxy%":typeof Proxy=="undefined"?re:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?re:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?re:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!ue||!he?re:he(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?re:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ue&&he?he(""[Symbol.iterator]()):re,"%Symbol%":ue?Symbol:re,"%SyntaxError%":ne,"%ThrowTypeError%":ae,"%TypedArray%":Se,"%TypeError%":oe,"%Uint8Array%":typeof Uint8Array=="undefined"?re:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?re:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?re:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?re:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?re:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?re:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?re:WeakSet};if(he)try{null.error}catch(tt){var ye=he(he(tt));xe["%Error.prototype%"]=ye}var Ae=function tt(ot){var lt;if(ot==="%AsyncFunction%")lt=le("async function () {}");else if(ot==="%GeneratorFunction%")lt=le("function* () {}");else if(ot==="%AsyncGeneratorFunction%")lt=le("async function* () {}");else if(ot==="%AsyncGenerator%"){var Ve=tt("%AsyncGeneratorFunction%");Ve&&(lt=Ve.prototype)}else if(ot==="%AsyncIteratorPrototype%"){var Ye=tt("%AsyncGenerator%");Ye&&he&&(lt=he(Ye.prototype))}return xe[ot]=lt,lt},Le={"%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"]},Ee=x("function-bind"),_e=x("has"),Me=Ee.call(Function.call,Array.prototype.concat),Oe=Ee.call(Function.apply,Array.prototype.splice),Ce=Ee.call(Function.call,String.prototype.replace),Ne=Ee.call(Function.call,String.prototype.slice),je=Ee.call(Function.call,RegExp.prototype.exec),Ze=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Pe=/\\(\\)?/g,Ue=function(ot){var lt=Ne(ot,0,1),Ve=Ne(ot,-1);if(lt==="%"&&Ve!=="%")throw new ne("invalid intrinsic syntax, expected closing `%`");if(Ve==="%"&&lt!=="%")throw new ne("invalid intrinsic syntax, expected opening `%`");var Ye=[];return Ce(ot,Ze,function(nt,dt,at,et){Ye[Ye.length]=at?Ce(et,Pe,"$1"):dt||nt}),Ye},Qe=function(ot,lt){var Ve=ot,Ye;if(_e(Le,Ve)&&(Ye=Le[Ve],Ve="%"+Ye[0]+"%"),_e(xe,Ve)){var nt=xe[Ve];if(nt===we&&(nt=Ae(Ve)),typeof nt=="undefined"&&!lt)throw new oe("intrinsic "+ot+" exists, but is not available. Please file an issue!");return{alias:Ye,name:Ve,value:nt}}throw new ne("intrinsic "+ot+" does not exist!")};De.exports=function(ot,lt){if(typeof ot!="string"||ot.length===0)throw new oe("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof lt!="boolean")throw new oe('"allowMissing" argument must be a boolean');if(je(/^%?[^%]*%?$/,ot)===null)throw new ne("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ve=Ue(ot),Ye=Ve.length>0?Ve[0]:"",nt=Qe("%"+Ye+"%",lt),dt=nt.name,at=nt.value,et=!1,qe=nt.alias;qe&&(Ye=qe[0],Oe(Ve,Me([0,1],qe)));for(var it=1,yt=!0;it<Ve.length;it+=1){var ht=Ve[it],Bt=Ne(ht,0,1),Et=Ne(ht,-1);if((Bt==='"'||Bt==="'"||Bt==="`"||Et==='"'||Et==="'"||Et==="`")&&Bt!==Et)throw new ne("property names with quotes must have matching quotes");if((ht==="constructor"||!yt)&&(et=!0),Ye+="."+ht,dt="%"+Ye+"%",_e(xe,dt))at=xe[dt];else if(at!=null){if(!(ht in at)){if(!lt)throw new oe("base intrinsic for "+ot+" exists, but the property is not available.");return}if(me&&it+1>=Ve.length){var st=me(at,ht);yt=!!st,yt&&"get"in st&&!("originalValue"in st.get)?at=st.get:at=at[ht]}else yt=_e(at,ht),at=at[ht];yt&&!et&&(xe[dt]=at)}}return at}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(x,De,ve){"use strict";var re=x("get-intrinsic"),ne=re("%Object.getOwnPropertyDescriptor%",!0);if(ne)try{ne([],"length")}catch(ie){ne=null}De.exports=ne},{"get-intrinsic":348}],350:[function(x,De,ve){"use strict";var re={foo:{}},ne=Object;De.exports=function(){return{__proto__:re}.foo===re.foo&&!({__proto__:null}instanceof ne)}},{}],351:[function(x,De,ve){"use strict";var re=typeof Symbol!="undefined"&&Symbol,ne=x("./shams");De.exports=function(){return typeof re!="function"||typeof Symbol!="function"||typeof re("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ne()}},{"./shams":352}],352:[function(x,De,ve){"use strict";De.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var ne={},ie=Symbol("test"),oe=Object(ie);if(typeof ie=="string"||Object.prototype.toString.call(ie)!=="[object Symbol]"||Object.prototype.toString.call(oe)!=="[object Symbol]")return!1;var le=42;ne[ie]=le;for(ie in ne)return!1;if(typeof Object.keys=="function"&&Object.keys(ne).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(ne).length!==0)return!1;var me=Object.getOwnPropertySymbols(ne);if(me.length!==1||me[0]!==ie||!Object.prototype.propertyIsEnumerable.call(ne,ie))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var te=Object.getOwnPropertyDescriptor(ne,ie);if(te.value!==le||te.enumerable!==!0)return!1}return!0}},{}],353:[function(x,De,ve){"use strict";var re=x("has-symbols/shams");De.exports=function(){return re()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(x,De,ve){"use strict";var re=x("function-bind");De.exports=re.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(x,De,ve){var re=x("http"),ne=x("url"),ie=De.exports;for(var oe in re)re.hasOwnProperty(oe)&&(ie[oe]=re[oe]);ie.request=function(me,te){return me=le(me),re.request.call(this,me,te)},ie.get=function(me,te){return me=le(me),re.get.call(this,me,te)};function le(me){if(typeof me=="string"&&(me=ne.parse(me)),me.protocol||(me.protocol="https:"),me.protocol!=="https:")throw new Error('Protocol "'+me.protocol+'" not supported. Expected "https:"');return me}},{http:468,url:472}],356:[function(x,De,ve){"use strict";var re=x("util"),ne=x("ms");De.exports=function(ie){if(typeof ie=="number")return ie;var oe=ne(ie);if(oe===void 0){var le=new Error(re.format("humanize-ms(%j) result undefined",ie));console.warn(le.stack)}return oe}},{ms:376,util:419}],357:[function(x,De,ve){ve.read=function(re,ne,ie,oe,le){var me,te,ae=le*8-oe-1,ue=(1<<ae)-1,de=ue>>1,he=-7,we=ie?le-1:0,Se=ie?-1:1,xe=re[ne+we];for(we+=Se,me=xe&(1<<-he)-1,xe>>=-he,he+=ae;he>0;me=me*256+re[ne+we],we+=Se,he-=8);for(te=me&(1<<-he)-1,me>>=-he,he+=oe;he>0;te=te*256+re[ne+we],we+=Se,he-=8);if(me===0)me=1-de;else{if(me===ue)return te?NaN:(xe?-1:1)*(1/0);te=te+Math.pow(2,oe),me=me-de}return(xe?-1:1)*te*Math.pow(2,me-oe)},ve.write=function(re,ne,ie,oe,le,me){var te,ae,ue,de=me*8-le-1,he=(1<<de)-1,we=he>>1,Se=le===23?Math.pow(2,-24)-Math.pow(2,-77):0,xe=oe?0:me-1,ye=oe?1:-1,Ae=ne<0||ne===0&&1/ne<0?1:0;for(ne=Math.abs(ne),isNaN(ne)||ne===1/0?(ae=isNaN(ne)?1:0,te=he):(te=Math.floor(Math.log(ne)/Math.LN2),ne*(ue=Math.pow(2,-te))<1&&(te--,ue*=2),te+we>=1?ne+=Se/ue:ne+=Se*Math.pow(2,1-we),ne*ue>=2&&(te++,ue/=2),te+we>=he?(ae=0,te=he):te+we>=1?(ae=(ne*ue-1)*Math.pow(2,le),te=te+we):(ae=ne*Math.pow(2,we-1)*Math.pow(2,le),te=0));le>=8;re[ie+xe]=ae&255,xe+=ye,ae/=256,le-=8);for(te=te<<le|ae,de+=le;de>0;re[ie+xe]=te&255,xe+=ye,te/=256,de-=8);re[ie+xe-ye]|=Ae*128}},{}],358:[function(x,De,ve){"use strict";var re=[x("./nextTick"),x("./queueMicrotask"),x("./mutation.js"),x("./messageChannel"),x("./stateChange"),x("./timeout")],ne,ie,oe=-1,le=[],me=!1;function te(){!ne||!ie||(ne=!1,ie.length?le=ie.concat(le):oe=-1,le.length&&ae())}function ae(){if(!ne){me=!1,ne=!0;for(var xe=le.length,ye=setTimeout(te);xe;){for(ie=le,le=[];ie&&++oe<xe;)ie[oe].run();oe=-1,xe=le.length}ie=null,oe=-1,ne=!1,clearTimeout(ye)}}for(var ue,de=-1,he=re.length;++de<he;)if(re[de]&&re[de].test&&re[de].test()){ue=re[de].install(ae);break}function we(xe,ye){this.fun=xe,this.array=ye}we.prototype.run=function(){var xe=this.fun,ye=this.array;switch(ye.length){case 0:return xe();case 1:return xe(ye[0]);case 2:return xe(ye[0],ye[1]);case 3:return xe(ye[0],ye[1],ye[2]);default:return xe.apply(null,ye)}},De.exports=Se;function Se(xe){var ye=new Array(arguments.length-1);if(arguments.length>1)for(var Ae=1;Ae<arguments.length;Ae++)ye[Ae-1]=arguments[Ae];le.push(new we(xe,ye)),!me&&!ne&&(me=!0,ue())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(x,De,ve){(function(re){(function(){"use strict";ve.test=function(){return re.setImmediate?!1:typeof re.MessageChannel!="undefined"},ve.install=function(ne){var ie=new re.MessageChannel;return ie.port1.onmessage=ne,function(){ie.port2.postMessage(0)}}}).call(this)}).call(this,typeof Wt!="undefined"?Wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(x,De,ve){(function(re){(function(){"use strict";var ne=re.MutationObserver||re.WebKitMutationObserver;ve.test=function(){return ne},ve.install=function(ie){var oe=0,le=new ne(ie),me=re.document.createTextNode("");return le.observe(me,{characterData:!0}),function(){me.data=oe=++oe%2}}}).call(this)}).call(this,typeof Wt!="undefined"?Wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(x,De,ve){(function(re){(function(){"use strict";ve.test=function(){return typeof re.queueMicrotask=="function"},ve.install=function(ne){return function(){re.queueMicrotask(ne)}}}).call(this)}).call(this,typeof Wt!="undefined"?Wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(x,De,ve){(function(re){(function(){"use strict";ve.test=function(){return"document"in re&&"onreadystatechange"in re.document.createElement("script")},ve.install=function(ne){return function(){var ie=re.document.createElement("script");return ie.onreadystatechange=function(){ne(),ie.onreadystatechange=null,ie.parentNode.removeChild(ie),ie=null},re.document.documentElement.appendChild(ie),ne}}}).call(this)}).call(this,typeof Wt!="undefined"?Wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(x,De,ve){"use strict";ve.test=function(){return!0},ve.install=function(re){return function(){setTimeout(re,0)}}},{}],364:[function(x,De,ve){typeof Object.create=="function"?De.exports=function(ne,ie){ie&&(ne.super_=ie,ne.prototype=Object.create(ie.prototype,{constructor:{value:ne,enumerable:!1,writable:!0,configurable:!0}}))}:De.exports=function(ne,ie){if(ie){ne.super_=ie;var oe=function(){};oe.prototype=ie.prototype,ne.prototype=new oe,ne.prototype.constructor=ne}}},{}],365:[function(x,De,ve){"use strict";var re=x("has-tostringtag/shams")(),ne=x("call-bind/callBound"),ie=ne("Object.prototype.toString"),oe=function(ae){return re&&ae&&typeof ae=="object"&&Symbol.toStringTag in ae?!1:ie(ae)==="[object Arguments]"},le=function(ae){return oe(ae)?!0:ae!==null&&typeof ae=="object"&&typeof ae.length=="number"&&ae.length>=0&&ie(ae)!=="[object Array]"&&ie(ae.callee)==="[object Function]"},me=function(){return oe(arguments)}();oe.isLegacyArguments=le,De.exports=me?oe:le},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(x,De,ve){De.exports=function(ie){return ie!=null&&(re(ie)||ne(ie)||!!ie._isBuffer)};function re(ie){return!!ie.constructor&&typeof ie.constructor.isBuffer=="function"&&ie.constructor.isBuffer(ie)}function ne(ie){return typeof ie.readFloatLE=="function"&&typeof ie.slice=="function"&&re(ie.slice(0,0))}},{}],367:[function(x,De,ve){"use strict";var re=Function.prototype.toString,ne=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ie,oe;if(typeof ne=="function"&&typeof Object.defineProperty=="function")try{ie=Object.defineProperty({},"length",{get:function(){throw oe}}),oe={},ne(function(){throw 42},null,ie)}catch(_e){_e!==oe&&(ne=null)}else ne=null;var le=/^\s*class\b/,me=function(Me){try{var Oe=re.call(Me);return le.test(Oe)}catch(Ce){return!1}},te=function(Me){try{return me(Me)?!1:(re.call(Me),!0)}catch(Oe){return!1}},ae=Object.prototype.toString,ue="[object Object]",de="[object Function]",he="[object GeneratorFunction]",we="[object HTMLAllCollection]",Se="[object HTML document.all class]",xe="[object HTMLCollection]",ye=typeof Symbol=="function"&&!!Symbol.toStringTag,Ae=!(0 in[,]),Le=function(){return!1};if(typeof document=="object"){var Ee=document.all;ae.call(Ee)===ae.call(document.all)&&(Le=function(Me){if((Ae||!Me)&&(typeof Me=="undefined"||typeof Me=="object"))try{var Oe=ae.call(Me);return(Oe===we||Oe===Se||Oe===xe||Oe===ue)&&Me("")==null}catch(Ce){}return!1})}De.exports=ne?function(Me){if(Le(Me))return!0;if(!Me||typeof Me!="function"&&typeof Me!="object")return!1;try{ne(Me,null,ie)}catch(Oe){if(Oe!==oe)return!1}return!me(Me)&&te(Me)}:function(Me){if(Le(Me))return!0;if(!Me||typeof Me!="function"&&typeof Me!="object")return!1;if(ye)return te(Me);if(me(Me))return!1;var Oe=ae.call(Me);return Oe!==de&&Oe!==he&&!/^\[object HTML/.test(Oe)?!1:te(Me)}},{}],368:[function(x,De,ve){"use strict";var re=Object.prototype.toString,ne=Function.prototype.toString,ie=/^\s*(?:function)?\*/,oe=x("has-tostringtag/shams")(),le=Object.getPrototypeOf,me=function(){if(!oe)return!1;try{return Function("return function*() {}")()}catch(ae){}},te;De.exports=function(ue){if(typeof ue!="function")return!1;if(ie.test(ne.call(ue)))return!0;if(!oe){var de=re.call(ue);return de==="[object GeneratorFunction]"}if(!le)return!1;if(typeof te=="undefined"){var he=me();te=he?le(he):!1}return le(ue)===te}},{"has-tostringtag/shams":353}],369:[function(x,De,ve){"use strict";var re=x("which-typed-array");De.exports=function(ie){return!!re(ie)}},{"which-typed-array":420}],370:[function(x,De,ve){var re={}.toString;De.exports=Array.isArray||function(ne){return re.call(ne)=="[object Array]"}},{}],371:[function(x,De,ve){(function(re){(function(){(function(ne,ie){typeof ve=="object"&&typeof De!="undefined"?De.exports=ie(ne):typeof ke=="function"&&ke.amd?ke(ie):ie(ne)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof re!="undefined"?re:this,function(ne){"use strict";ne=ne||{};var ie=ne.Base64,oe="2.6.4",le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",me=function(ot){for(var lt={},Ve=0,Ye=ot.length;Ve<Ye;Ve++)lt[ot.charAt(Ve)]=Ve;return lt}(le),te=String.fromCharCode,ae=function(ot){if(ot.length<2){var lt=ot.charCodeAt(0);return lt<128?ot:lt<2048?te(192|lt>>>6)+te(128|lt&63):te(224|lt>>>12&15)+te(128|lt>>>6&63)+te(128|lt&63)}else{var lt=65536+(ot.charCodeAt(0)-55296)*1024+(ot.charCodeAt(1)-56320);return te(240|lt>>>18&7)+te(128|lt>>>12&63)+te(128|lt>>>6&63)+te(128|lt&63)}},ue=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,de=function(ot){return ot.replace(ue,ae)},he=function(ot){var lt=[0,2,1][ot.length%3],Ve=ot.charCodeAt(0)<<16|(ot.length>1?ot.charCodeAt(1):0)<<8|(ot.length>2?ot.charCodeAt(2):0),Ye=[le.charAt(Ve>>>18),le.charAt(Ve>>>12&63),lt>=2?"=":le.charAt(Ve>>>6&63),lt>=1?"=":le.charAt(Ve&63)];return Ye.join("")},we=ne.btoa&&typeof ne.btoa=="function"?function(ot){return ne.btoa(ot)}:function(ot){if(ot.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ot.replace(/[\s\S]{1,3}/g,he)},Se=function(ot){return we(de(String(ot)))},xe=function(ot){return ot.replace(/[+\/]/g,function(lt){return lt=="+"?"-":"_"}).replace(/=/g,"")},ye=function(ot,lt){return lt?xe(Se(ot)):Se(ot)},Ae=function(ot){return ye(ot,!0)},Le;ne.Uint8Array&&(Le=function(ot,lt){for(var Ve="",Ye=0,nt=ot.length;Ye<nt;Ye+=3){var dt=ot[Ye],at=ot[Ye+1],et=ot[Ye+2],qe=dt<<16|at<<8|et;Ve+=le.charAt(qe>>>18)+le.charAt(qe>>>12&63)+(typeof at!="undefined"?le.charAt(qe>>>6&63):"=")+(typeof et!="undefined"?le.charAt(qe&63):"=")}return lt?xe(Ve):Ve});var Ee=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,_e=function(ot){switch(ot.length){case 4:var lt=(7&ot.charCodeAt(0))<<18|(63&ot.charCodeAt(1))<<12|(63&ot.charCodeAt(2))<<6|63&ot.charCodeAt(3),Ve=lt-65536;return te((Ve>>>10)+55296)+te((Ve&1023)+56320);case 3:return te((15&ot.charCodeAt(0))<<12|(63&ot.charCodeAt(1))<<6|63&ot.charCodeAt(2));default:return te((31&ot.charCodeAt(0))<<6|63&ot.charCodeAt(1))}},Me=function(ot){return ot.replace(Ee,_e)},Oe=function(ot){var lt=ot.length,Ve=lt%4,Ye=(lt>0?me[ot.charAt(0)]<<18:0)|(lt>1?me[ot.charAt(1)]<<12:0)|(lt>2?me[ot.charAt(2)]<<6:0)|(lt>3?me[ot.charAt(3)]:0),nt=[te(Ye>>>16),te(Ye>>>8&255),te(Ye&255)];return nt.length-=[0,0,2,1][Ve],nt.join("")},Ce=ne.atob&&typeof ne.atob=="function"?function(ot){return ne.atob(ot)}:function(ot){return ot.replace(/\S{1,4}/g,Oe)},Ne=function(ot){return Ce(String(ot).replace(/[^A-Za-z0-9\+\/]/g,""))},je=function(ot){return Me(Ce(ot))},Ze=function(ot){return String(ot).replace(/[-_]/g,function(lt){return lt=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Pe=function(ot){return je(Ze(ot))},Ue;ne.Uint8Array&&(Ue=function(ot){return Uint8Array.from(Ne(Ze(ot)),function(lt){return lt.charCodeAt(0)})});var Qe=function(){var ot=ne.Base64;return ne.Base64=ie,ot};if(ne.Base64={VERSION:oe,atob:Ne,btoa:we,fromBase64:Pe,toBase64:ye,utob:de,encode:ye,encodeURI:Ae,btou:Me,decode:Pe,noConflict:Qe,fromUint8Array:Le,toUint8Array:Ue},typeof Object.defineProperty=="function"){var tt=function(ot){return{value:ot,enumerable:!1,writable:!0,configurable:!0}};ne.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",tt(function(){return Pe(this)})),Object.defineProperty(String.prototype,"toBase64",tt(function(ot){return ye(this,ot)})),Object.defineProperty(String.prototype,"toBase64URI",tt(function(){return ye(this,!0)}))}}return ne.Meteor&&(Base64=ne.Base64),typeof De!="undefined"&&De.exports?De.exports.Base64=ne.Base64:typeof ke=="function"&&ke.amd&&ke([],function(){return ne.Base64}),{Base64:ne.Base64}})}).call(this)}).call(this,typeof Wt!="undefined"?Wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(x,De,ve){"use strict";De.exports=ne;var re=Object.prototype.hasOwnProperty;function ne(ie,oe,le){if(!ie)throw new TypeError("argument dest is required");if(!oe)throw new TypeError("argument src is required");return le===void 0&&(le=!0),Object.getOwnPropertyNames(oe).forEach(function(te){if(!(!le&&re.call(ie,te))){var ae=Object.getOwnPropertyDescriptor(oe,te);Object.defineProperty(ie,te,ae)}}),ie}},{}],373:[function(x,De,ve){"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 re(){this._types=Object.create(null),this._extensions=Object.create(null);for(var ne=0;ne<arguments.length;ne++)this.define(arguments[ne]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}re.prototype.define=function(ne,ie){for(var oe in ne){var le=ne[oe].map(function(ue){return ue.toLowerCase()});oe=oe.toLowerCase();for(var me=0;me<le.length;me++){var te=le[me];if(te[0]!=="*"){if(!ie&&te in this._types)throw new Error('Attempt to change mapping for "'+te+'" extension from "'+this._types[te]+'" to "'+oe+'". Pass `force=true` to allow this, otherwise remove "'+te+'" from the list of extensions for "'+oe+'".');this._types[te]=oe}}if(ie||!this._extensions[oe]){var ae=le[0];this._extensions[oe]=ae[0]!=="*"?ae:ae.substr(1)}}},re.prototype.getType=function(ne){ne=String(ne);var ie=ne.replace(/^.*[/\\]/,"").toLowerCase(),oe=ie.replace(/^.*\./,"").toLowerCase(),le=ie.length<ne.length,me=oe.length<ie.length-1;return(me||!le)&&this._types[oe]||null},re.prototype.getExtension=function(ne){return ne=/^\s*([^;\s]*)/.test(ne)&&RegExp.$1,ne&&this._extensions[ne.toLowerCase()]||null},De.exports=re},{"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,De,ve){"use strict";var re=x("./Mime");De.exports=new re(x("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(x,De,ve){"use strict";De.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,De,ve){var re=1e3,ne=re*60,ie=ne*60,oe=ie*24,le=oe*7,me=oe*365.25;De.exports=function(he,we){we=we||{};var Se=typeof he;if(Se==="string"&&he.length>0)return te(he);if(Se==="number"&&isFinite(he))return we.long?ue(he):ae(he);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(he))};function te(he){if(he=String(he),!(he.length>100)){var we=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(he);if(we){var Se=parseFloat(we[1]),xe=(we[2]||"ms").toLowerCase();switch(xe){case"years":case"year":case"yrs":case"yr":case"y":return Se*me;case"weeks":case"week":case"w":return Se*le;case"days":case"day":case"d":return Se*oe;case"hours":case"hour":case"hrs":case"hr":case"h":return Se*ie;case"minutes":case"minute":case"mins":case"min":case"m":return Se*ne;case"seconds":case"second":case"secs":case"sec":case"s":return Se*re;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return Se;default:return}}}}function ae(he){var we=Math.abs(he);return we>=oe?Math.round(he/oe)+"d":we>=ie?Math.round(he/ie)+"h":we>=ne?Math.round(he/ne)+"m":we>=re?Math.round(he/re)+"s":he+"ms"}function ue(he){var we=Math.abs(he);return we>=oe?de(he,we,oe,"day"):we>=ie?de(he,we,ie,"hour"):we>=ne?de(he,we,ne,"minute"):we>=re?de(he,we,re,"second"):he+" ms"}function de(he,we,Se,xe){var ye=we>=Se*1.5;return Math.round(he/Se)+" "+xe+(ye?"s":"")}},{}],377:[function(x,De,ve){"use strict";var re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;function oe(me){if(me==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(me)}function le(){try{if(!Object.assign)return!1;var me=new String("abc");if(me[5]="de",Object.getOwnPropertyNames(me)[0]==="5")return!1;for(var te={},ae=0;ae<10;ae++)te["_"+String.fromCharCode(ae)]=ae;var ue=Object.getOwnPropertyNames(te).map(function(he){return te[he]});if(ue.join("")!=="0123456789")return!1;var de={};return"abcdefghijklmnopqrst".split("").forEach(function(he){de[he]=he}),Object.keys(Object.assign({},de)).join("")==="abcdefghijklmnopqrst"}catch(he){return!1}}De.exports=le()?Object.assign:function(me,te){for(var ae,ue=oe(me),de,he=1;he<arguments.length;he++){ae=Object(arguments[he]);for(var we in ae)ne.call(ae,we)&&(ue[we]=ae[we]);if(re){de=re(ae);for(var Se=0;Se<de.length;Se++)ie.call(ae,de[Se])&&(ue[de[Se]]=ae[de[Se]])}}return ue}},{}],378:[function(x,De,ve){(function(re){(function(){"use strict";function ne(me){if(typeof me!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(me))}function ie(me,te){for(var ae="",ue=0,de=-1,he=0,we,Se=0;Se<=me.length;++Se){if(Se<me.length)we=me.charCodeAt(Se);else{if(we===47)break;we=47}if(we===47){if(!(de===Se-1||he===1))if(de!==Se-1&&he===2){if(ae.length<2||ue!==2||ae.charCodeAt(ae.length-1)!==46||ae.charCodeAt(ae.length-2)!==46){if(ae.length>2){var xe=ae.lastIndexOf("/");if(xe!==ae.length-1){xe===-1?(ae="",ue=0):(ae=ae.slice(0,xe),ue=ae.length-1-ae.lastIndexOf("/")),de=Se,he=0;continue}}else if(ae.length===2||ae.length===1){ae="",ue=0,de=Se,he=0;continue}}te&&(ae.length>0?ae+="/..":ae="..",ue=2)}else ae.length>0?ae+="/"+me.slice(de+1,Se):ae=me.slice(de+1,Se),ue=Se-de-1;de=Se,he=0}else we===46&&he!==-1?++he:he=-1}return ae}function oe(me,te){var ae=te.dir||te.root,ue=te.base||(te.name||"")+(te.ext||"");return ae?ae===te.root?ae+ue:ae+me+ue:ue}var le={resolve:function(){for(var te="",ae=!1,ue,de=arguments.length-1;de>=-1&&!ae;de--){var he;de>=0?he=arguments[de]:(ue===void 0&&(ue=re.cwd()),he=ue),ne(he),he.length!==0&&(te=he+"/"+te,ae=he.charCodeAt(0)===47)}return te=ie(te,!ae),ae?te.length>0?"/"+te:"/":te.length>0?te:"."},normalize:function(te){if(ne(te),te.length===0)return".";var ae=te.charCodeAt(0)===47,ue=te.charCodeAt(te.length-1)===47;return te=ie(te,!ae),te.length===0&&!ae&&(te="."),te.length>0&&ue&&(te+="/"),ae?"/"+te:te},isAbsolute:function(te){return ne(te),te.length>0&&te.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var te,ae=0;ae<arguments.length;++ae){var ue=arguments[ae];ne(ue),ue.length>0&&(te===void 0?te=ue:te+="/"+ue)}return te===void 0?".":le.normalize(te)},relative:function(te,ae){if(ne(te),ne(ae),te===ae||(te=le.resolve(te),ae=le.resolve(ae),te===ae))return"";for(var ue=1;ue<te.length&&te.charCodeAt(ue)===47;++ue);for(var de=te.length,he=de-ue,we=1;we<ae.length&&ae.charCodeAt(we)===47;++we);for(var Se=ae.length,xe=Se-we,ye=he<xe?he:xe,Ae=-1,Le=0;Le<=ye;++Le){if(Le===ye){if(xe>ye){if(ae.charCodeAt(we+Le)===47)return ae.slice(we+Le+1);if(Le===0)return ae.slice(we+Le)}else he>ye&&(te.charCodeAt(ue+Le)===47?Ae=Le:Le===0&&(Ae=0));break}var Ee=te.charCodeAt(ue+Le),_e=ae.charCodeAt(we+Le);if(Ee!==_e)break;Ee===47&&(Ae=Le)}var Me="";for(Le=ue+Ae+1;Le<=de;++Le)(Le===de||te.charCodeAt(Le)===47)&&(Me.length===0?Me+="..":Me+="/..");return Me.length>0?Me+ae.slice(we+Ae):(we+=Ae,ae.charCodeAt(we)===47&&++we,ae.slice(we))},_makeLong:function(te){return te},dirname:function(te){if(ne(te),te.length===0)return".";for(var ae=te.charCodeAt(0),ue=ae===47,de=-1,he=!0,we=te.length-1;we>=1;--we)if(ae=te.charCodeAt(we),ae===47){if(!he){de=we;break}}else he=!1;return de===-1?ue?"/":".":ue&&de===1?"//":te.slice(0,de)},basename:function(te,ae){if(ae!==void 0&&typeof ae!="string")throw new TypeError('"ext" argument must be a string');ne(te);var ue=0,de=-1,he=!0,we;if(ae!==void 0&&ae.length>0&&ae.length<=te.length){if(ae.length===te.length&&ae===te)return"";var Se=ae.length-1,xe=-1;for(we=te.length-1;we>=0;--we){var ye=te.charCodeAt(we);if(ye===47){if(!he){ue=we+1;break}}else xe===-1&&(he=!1,xe=we+1),Se>=0&&(ye===ae.charCodeAt(Se)?--Se===-1&&(de=we):(Se=-1,de=xe))}return ue===de?de=xe:de===-1&&(de=te.length),te.slice(ue,de)}else{for(we=te.length-1;we>=0;--we)if(te.charCodeAt(we)===47){if(!he){ue=we+1;break}}else de===-1&&(he=!1,de=we+1);return de===-1?"":te.slice(ue,de)}},extname:function(te){ne(te);for(var ae=-1,ue=0,de=-1,he=!0,we=0,Se=te.length-1;Se>=0;--Se){var xe=te.charCodeAt(Se);if(xe===47){if(!he){ue=Se+1;break}continue}de===-1&&(he=!1,de=Se+1),xe===46?ae===-1?ae=Se:we!==1&&(we=1):ae!==-1&&(we=-1)}return ae===-1||de===-1||we===0||we===1&&ae===de-1&&ae===ue+1?"":te.slice(ae,de)},format:function(te){if(te===null||typeof te!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof te);return oe("/",te)},parse:function(te){ne(te);var ae={root:"",dir:"",base:"",ext:"",name:""};if(te.length===0)return ae;var ue=te.charCodeAt(0),de=ue===47,he;de?(ae.root="/",he=1):he=0;for(var we=-1,Se=0,xe=-1,ye=!0,Ae=te.length-1,Le=0;Ae>=he;--Ae){if(ue=te.charCodeAt(Ae),ue===47){if(!ye){Se=Ae+1;break}continue}xe===-1&&(ye=!1,xe=Ae+1),ue===46?we===-1?we=Ae:Le!==1&&(Le=1):we!==-1&&(Le=-1)}return we===-1||xe===-1||Le===0||Le===1&&we===xe-1&&we===Se+1?xe!==-1&&(Se===0&&de?ae.base=ae.name=te.slice(1,xe):ae.base=ae.name=te.slice(Se,xe)):(Se===0&&de?(ae.name=te.slice(1,we),ae.base=te.slice(1,xe)):(ae.name=te.slice(Se,we),ae.base=te.slice(Se,xe)),ae.ext=te.slice(we,xe)),Se>0?ae.dir=te.slice(0,Se-1):de&&(ae.dir="/"),ae},sep:"/",delimiter:":",win32:null,posix:null};le.posix=le,De.exports=le}).call(this)}).call(this,x("_process"))},{_process:467}],379:[function(x,De,ve){(function(re){(function(){(function(){"use strict";var ne={function:!0,object:!0},ie=ne[typeof window]&&window||this,oe=ie,le=ne[typeof ve]&&ve,me=ne[typeof De]&&De&&!De.nodeType&&De,te=le&&me&&typeof re=="object"&&re;te&&(te.global===te||te.window===te||te.self===te)&&(ie=te);var ae=Math.pow(2,53)-1,ue=/\bOpera/,de=this,he=Object.prototype,we=he.hasOwnProperty,Se=he.toString;function xe(Pe){return Pe=String(Pe),Pe.charAt(0).toUpperCase()+Pe.slice(1)}function ye(Pe,Ue,Qe){var tt={"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 Ue&&Qe&&/^Win/i.test(Pe)&&!/^Windows Phone /i.test(Pe)&&(tt=tt[/[\d.]+$/.exec(Pe)])&&(Pe="Windows "+tt),Pe=String(Pe),Ue&&Qe&&(Pe=Pe.replace(RegExp(Ue,"i"),Qe)),Pe=Le(Pe.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]),Pe}function Ae(Pe,Ue){var Qe=-1,tt=Pe?Pe.length:0;if(typeof tt=="number"&&tt>-1&&tt<=ae)for(;++Qe<tt;)Ue(Pe[Qe],Qe,Pe);else Ee(Pe,Ue)}function Le(Pe){return Pe=Ne(Pe),/^(?:webOS|i(?:OS|P))/.test(Pe)?Pe:xe(Pe)}function Ee(Pe,Ue){for(var Qe in Pe)we.call(Pe,Qe)&&Ue(Pe[Qe],Qe,Pe)}function _e(Pe){return Pe==null?xe(Pe):Se.call(Pe).slice(8,-1)}function Me(Pe,Ue){var Qe=Pe!=null?typeof Pe[Ue]:"number";return!/^(?:boolean|number|string|undefined)$/.test(Qe)&&(Qe=="object"?!!Pe[Ue]:!0)}function Oe(Pe){return String(Pe).replace(/([ -])(?!$)/g,"$1?")}function Ce(Pe,Ue){var Qe=null;return Ae(Pe,function(tt,ot){Qe=Ue(Qe,tt,ot,Pe)}),Qe}function Ne(Pe){return String(Pe).replace(/^ +| +$/g,"")}function je(Pe){var Ue=ie,Qe=Pe&&typeof Pe=="object"&&_e(Pe)!="String";Qe&&(Ue=Pe,Pe=null);var tt=Ue.navigator||{},ot=tt.userAgent||"";Pe||(Pe=ot);var lt=Qe||de==oe,Ve=Qe?!!tt.likeChrome:/\bChrome\b/.test(Pe)&&!/internal|\n/i.test(Se.toString()),Ye="Object",nt=Qe?Ye:"ScriptBridgingProxyObject",dt=Qe?Ye:"Environment",at=Qe&&Ue.java?"JavaPackage":_e(Ue.java),et=Qe?Ye:"RuntimeObject",qe=/\bJava/.test(at)&&Ue.java,it=qe&&_e(Ue.environment)==dt,yt=qe?"a":"\u03B1",ht=qe?"b":"\u03B2",Bt=Ue.document||{},Et=Ue.operamini||Ue.opera,st=ue.test(st=Qe&&Et?Et["[[Class]]"]:_e(Et))?st:Et=null,Ge,We=Pe,se=[],fe=null,ze=Pe==ot,He=ze&&Et&&typeof Et.version=="function"&&Et.version(),pe,Be=bt([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Ke=Dt(["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"]),Xe=kt([{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"]),Je=gt({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}}),ut=Vt(["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 bt(ft){return Ce(ft,function(St,Nt){return St||RegExp("\\b"+(Nt.pattern||Oe(Nt))+"\\b","i").exec(Pe)&&(Nt.label||Nt)})}function gt(ft){return Ce(ft,function(St,Nt,Ft){return St||(Nt[Xe]||Nt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Xe)]||RegExp("\\b"+Oe(Ft)+"(?:\\b|\\w*\\d)","i").exec(Pe))&&Ft})}function Dt(ft){return Ce(ft,function(St,Nt){return St||RegExp("\\b"+(Nt.pattern||Oe(Nt))+"\\b","i").exec(Pe)&&(Nt.label||Nt)})}function Vt(ft){return Ce(ft,function(St,Nt){var Ft=Nt.pattern||Oe(Nt);return!St&&(St=RegExp("\\b"+Ft+"(?:/[\\d.]+|[ \\w.]*)","i").exec(Pe))&&(St=ye(St,Ft,Nt.label||Nt)),St})}function kt(ft){return Ce(ft,function(St,Nt){var Ft=Nt.pattern||Oe(Nt);return!St&&(St=RegExp("\\b"+Ft+" *\\d+[.\\w_]*","i").exec(Pe)||RegExp("\\b"+Ft+" *\\w+-[\\w]*","i").exec(Pe)||RegExp("\\b"+Ft+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(Pe))&&((St=String(Nt.label&&!RegExp(Ft,"i").test(Nt.label)?Nt.label:St).split("/"))[1]&&!/[\d.]+/.test(St[0])&&(St[0]+=" "+St[1]),Nt=Nt.label||Nt,St=Le(St[0].replace(RegExp(Ft,"i"),Nt).replace(RegExp("; *(?:"+Nt+"[_-])?","i")," ").replace(RegExp("("+Nt+")[-_.]?(\\w)","i"),"$1 $2"))),St})}function jt(ft){return Ce(ft,function(St,Nt){return St||(RegExp(Nt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(Pe)||0)[1]||null})}function _t(){return this.description||""}if(Be&&(Be=[Be]),/\bAndroid\b/.test(ut)&&!Xe&&(Ge=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(Pe))&&(Xe=Ne(Ge[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),Je&&!Xe?Xe=kt([Je]):Je&&Xe&&(Xe=Xe.replace(RegExp("^("+Oe(Je)+")[-_.\\s]","i"),Je+" ").replace(RegExp("^("+Oe(Je)+")[-_.]?(\\w)","i"),Je+" $2")),(Ge=/\bGoogle TV\b/.exec(Xe))&&(Xe=Ge[0]),/\bSimulator\b/i.test(Pe)&&(Xe=(Xe?Xe+" ":"")+"Simulator"),Ke=="Opera Mini"&&/\bOPiOS\b/.test(Pe)&&se.push("running in Turbo/Uncompressed mode"),Ke=="IE"&&/\blike iPhone OS\b/.test(Pe)?(Ge=je(Pe.replace(/like iPhone OS/,"")),Je=Ge.manufacturer,Xe=Ge.product):/^iP/.test(Xe)?(Ke||(Ke="Safari"),ut="iOS"+((Ge=/ OS ([\d_]+)/i.exec(Pe))?" "+Ge[1].replace(/_/g,"."):"")):Ke=="Konqueror"&&/^Linux\b/i.test(ut)?ut="Kubuntu":Je&&Je!="Google"&&(/Chrome/.test(Ke)&&!/\bMobile Safari\b/i.test(Pe)||/\bVita\b/.test(Xe))||/\bAndroid\b/.test(ut)&&/^Chrome/.test(Ke)&&/\bVersion\//i.test(Pe)?(Ke="Android Browser",ut=/\bAndroid\b/.test(ut)?ut:"Android"):Ke=="Silk"?(/\bMobi/i.test(Pe)||(ut="Android",se.unshift("desktop mode")),/Accelerated *= *true/i.test(Pe)&&se.unshift("accelerated")):Ke=="UC Browser"&&/\bUCWEB\b/.test(Pe)?se.push("speed mode"):Ke=="PaleMoon"&&(Ge=/\bFirefox\/([\d.]+)\b/.exec(Pe))?se.push("identifying as Firefox "+Ge[1]):Ke=="Firefox"&&(Ge=/\b(Mobile|Tablet|TV)\b/i.exec(Pe))?(ut||(ut="Firefox OS"),Xe||(Xe=Ge[1])):!Ke||(Ge=!/\bMinefield\b/i.test(Pe)&&/\b(?:Firefox|Safari)\b/.exec(Ke))?(Ke&&!Xe&&/[\/,]|^[^(]+?\)/.test(Pe.slice(Pe.indexOf(Ge+"/")+8))&&(Ke=null),(Ge=Xe||Je||ut)&&(Xe||Je||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(ut))&&(Ke=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(ut)?ut:Ge)+" Browser")):Ke=="Electron"&&(Ge=(/\bChrome\/([\d.]+)\b/.exec(Pe)||0)[1])&&se.push("Chromium "+Ge),He||(He=jt(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",Oe(Ke),"(?:Firefox|Minefield|NetFront)"])),(Ge=Be=="iCab"&&parseFloat(He)>3&&"WebKit"||/\bOpera\b/.test(Ke)&&(/\bOPR\b/.test(Pe)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Pe)&&!/^(?:Trident|EdgeHTML)$/.test(Be)&&"WebKit"||!Be&&/\bMSIE\b/i.test(Pe)&&(ut=="Mac OS"?"Tasman":"Trident")||Be=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Ke)&&"NetFront")&&(Be=[Ge]),Ke=="IE"&&(Ge=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Pe)||0)[1])?(Ke+=" Mobile",ut="Windows Phone "+(/\+$/.test(Ge)?Ge:Ge+".x"),se.unshift("desktop mode")):/\bWPDesktop\b/i.test(Pe)?(Ke="IE Mobile",ut="Windows Phone 8.x",se.unshift("desktop mode"),He||(He=(/\brv:([\d.]+)/.exec(Pe)||0)[1])):Ke!="IE"&&Be=="Trident"&&(Ge=/\brv:([\d.]+)/.exec(Pe))&&(Ke&&se.push("identifying as "+Ke+(He?" "+He:"")),Ke="IE",He=Ge[1]),ze){if(Me(Ue,"global"))if(qe&&(Ge=qe.lang.System,We=Ge.getProperty("os.arch"),ut=ut||Ge.getProperty("os.name")+" "+Ge.getProperty("os.version")),it){try{He=Ue.require("ringo/engine").version.join("."),Ke="RingoJS"}catch(ft){(Ge=Ue.system)&&Ge.global.system==Ue.system&&(Ke="Narwhal",ut||(ut=Ge[0].os||null))}Ke||(Ke="Rhino")}else typeof Ue.process=="object"&&!Ue.process.browser&&(Ge=Ue.process)&&(typeof Ge.versions=="object"&&(typeof Ge.versions.electron=="string"?(se.push("Node "+Ge.versions.node),Ke="Electron",He=Ge.versions.electron):typeof Ge.versions.nw=="string"&&(se.push("Chromium "+He,"Node "+Ge.versions.node),Ke="NW.js",He=Ge.versions.nw)),Ke||(Ke="Node.js",We=Ge.arch,ut=Ge.platform,He=/[\d.]+/.exec(Ge.version),He=He?He[0]:null));else _e(Ge=Ue.runtime)==nt?(Ke="Adobe AIR",ut=Ge.flash.system.Capabilities.os):_e(Ge=Ue.phantom)==et?(Ke="PhantomJS",He=(Ge=Ge.version||null)&&Ge.major+"."+Ge.minor+"."+Ge.patch):typeof Bt.documentMode=="number"&&(Ge=/\bTrident\/(\d+)/i.exec(Pe))?(He=[He,Bt.documentMode],(Ge=+Ge[1]+4)!=He[1]&&(se.push("IE "+He[1]+" mode"),Be&&(Be[1]=""),He[1]=Ge),He=Ke=="IE"?String(He[1].toFixed(1)):He[0]):typeof Bt.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Ke)&&(se.push("masking as "+Ke+" "+He),Ke="IE",He="11.0",Be=["Trident"],ut="Windows");ut=ut&&Le(ut)}if(He&&(Ge=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(He)||/(?:alpha|beta)(?: ?\d)?/i.exec(Pe+";"+(ze&&tt.appMinorVersion))||/\bMinefield\b/i.test(Pe)&&"a")&&(fe=/b/i.test(Ge)?"beta":"alpha",He=He.replace(RegExp(Ge+"\\+?$"),"")+(fe=="beta"?ht:yt)+(/\d+\+?/.exec(Ge)||"")),Ke=="Fennec"||Ke=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(ut))Ke="Firefox Mobile";else if(Ke=="Maxthon"&&He)He=He.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Xe))Xe=="Xbox 360"&&(ut=null),Xe=="Xbox 360"&&/\bIEMobile\b/.test(Pe)&&se.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Ke)||Ke&&!Xe&&!/Browser|Mobi/.test(Ke))&&(ut=="Windows CE"||/Mobi/i.test(Pe)))Ke+=" Mobile";else if(Ke=="IE"&&ze)try{Ue.external===null&&se.unshift("platform preview")}catch(ft){se.unshift("embedded")}else(/\bBlackBerry\b/.test(Xe)||/\bBB10\b/.test(Pe))&&(Ge=(RegExp(Xe.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Pe)||0)[1]||He)?(Ge=[Ge,/BB10/.test(Pe)],ut=(Ge[1]?(Xe=null,Je="BlackBerry"):"Device Software")+" "+Ge[0],He=null):this!=Ee&&Xe!="Wii"&&(ze&&Et||/Opera/.test(Ke)&&/\b(?:MSIE|Firefox)\b/i.test(Pe)||Ke=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(ut)||Ke=="IE"&&(ut&&!/^Win/.test(ut)&&He>5.5||/\bWindows XP\b/.test(ut)&&He>8||He==8&&!/\bTrident\b/.test(Pe)))&&!ue.test(Ge=je.call(Ee,Pe.replace(ue,"")+";"))&&Ge.name&&(Ge="ing as "+Ge.name+((Ge=Ge.version)?" "+Ge:""),ue.test(Ke)?(/\bIE\b/.test(Ge)&&ut=="Mac OS"&&(ut=null),Ge="identify"+Ge):(Ge="mask"+Ge,st?Ke=Le(st.replace(/([a-z])([A-Z])/g,"$1 $2")):Ke="Opera",/\bIE\b/.test(Ge)&&(ut=null),ze||(He=null)),Be=["Presto"],se.push(Ge));(Ge=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Pe)||0)[1])&&(Ge=[parseFloat(Ge.replace(/\.(\d)$/,".0$1")),Ge],Ke=="Safari"&&Ge[1].slice(-1)=="+"?(Ke="WebKit Nightly",fe="alpha",He=Ge[1].slice(0,-1)):(He==Ge[1]||He==(Ge[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Pe)||0)[1]))&&(He=null),Ge[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Pe)||0)[1],Ge[0]==537.36&&Ge[2]==537.36&&parseFloat(Ge[1])>=28&&Be=="WebKit"&&(Be=["Blink"]),!ze||!Ve&&!Ge[1]?(Be&&(Be[1]="like Safari"),Ge=(Ge=Ge[0],Ge<400?1:Ge<500?2:Ge<526?3:Ge<533?4:Ge<534?"4+":Ge<535?5:Ge<537?6:Ge<538?7:Ge<601?8:Ge<602?9:Ge<604?10:Ge<606?11:Ge<608?12:"12")):(Be&&(Be[1]="like Chrome"),Ge=Ge[1]||(Ge=Ge[0],Ge<530?1:Ge<532?2:Ge<532.05?3:Ge<533?4:Ge<534.03?5:Ge<534.07?6:Ge<534.1?7:Ge<534.13?8:Ge<534.16?9:Ge<534.24?10:Ge<534.3?11:Ge<535.01?12:Ge<535.02?"13+":Ge<535.07?15:Ge<535.11?16:Ge<535.19?17:Ge<536.05?18:Ge<536.1?19:Ge<537.01?20:Ge<537.11?"21+":Ge<537.13?23:Ge<537.18?24:Ge<537.24?25:Ge<537.36?26:Be!="Blink"?"27":"28")),Be&&(Be[1]+=" "+(Ge+=typeof Ge=="number"?".x":/[.+]/.test(Ge)?"":"+")),Ke=="Safari"&&(!He||parseInt(He)>45)?He=Ge:Ke=="Chrome"&&/\bHeadlessChrome/i.test(Pe)&&se.unshift("headless")),Ke=="Opera"&&(Ge=/\bzbov|zvav$/.exec(ut))?(Ke+=" ",se.unshift("desktop mode"),Ge=="zvav"?(Ke+="Mini",He=null):Ke+="Mobile",ut=ut.replace(RegExp(" *"+Ge+"$"),"")):Ke=="Safari"&&/\bChrome\b/.exec(Be&&Be[1])?(se.unshift("desktop mode"),Ke="Chrome Mobile",He=null,/\bOS X\b/.test(ut)?(Je="Apple",ut="iOS 4.3+"):ut=null):/\bSRWare Iron\b/.test(Ke)&&!He&&(He=jt("Chrome")),He&&He.indexOf(Ge=/[\d.]+$/.exec(ut))==0&&Pe.indexOf("/"+Ge+"-")>-1&&(ut=Ne(ut.replace(Ge,""))),ut&&ut.indexOf(Ke)!=-1&&!RegExp(Ke+" OS").test(ut)&&(ut=ut.replace(RegExp(" *"+Oe(Ke)+" *"),"")),Be&&!/\b(?:Avant|Nook)\b/.test(Ke)&&(/Browser|Lunascape|Maxthon/.test(Ke)||Ke!="Safari"&&/^iOS/.test(ut)&&/\bSafari\b/.test(Be[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Ke)&&Be[1])&&(Ge=Be[Be.length-1])&&se.push(Ge),se.length&&(se=["("+se.join("; ")+")"]),Je&&Xe&&Xe.indexOf(Je)<0&&se.push("on "+Je),Xe&&se.push((/^on /.test(se[se.length-1])?"":"on ")+Xe),ut&&(Ge=/ ([\d.+]+)$/.exec(ut),pe=Ge&&ut.charAt(ut.length-Ge[0].length-1)=="/",ut={architecture:32,family:Ge&&!pe?ut.replace(Ge[0],""):ut,version:Ge?Ge[1]:null,toString:function(){var ft=this.version;return this.family+(ft&&!pe?" "+ft:"")+(this.architecture==64?" 64-bit":"")}}),(Ge=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(We))&&!/\bi686\b/i.test(We)?(ut&&(ut.architecture=64,ut.family=ut.family.replace(RegExp(" *"+Ge),"")),Ke&&(/\bWOW64\b/i.test(Pe)||ze&&/\w(?:86|32)$/.test(tt.cpuClass||tt.platform)&&!/\bWin64; x64\b/i.test(Pe))&&se.unshift("32-bit")):ut&&/^OS X/.test(ut.family)&&Ke=="Chrome"&&parseFloat(He)>=39&&(ut.architecture=64),Pe||(Pe=null);var Mt={};return Mt.description=Pe,Mt.layout=Be&&Be[0],Mt.manufacturer=Je,Mt.name=Ke,Mt.prerelease=fe,Mt.product=Xe,Mt.ua=Pe,Mt.version=Ke&&He,Mt.os=ut||{architecture:null,family:null,version:null,toString:function(){return"null"}},Mt.parse=je,Mt.toString=_t,Mt.version&&se.unshift(He),Mt.name&&se.unshift(Ke),ut&&Ke&&!(ut==String(ut).split(" ")[0]&&(ut==Ke.split(" ")[0]||Xe))&&se.push(Xe?"("+ut+")":"on "+ut),se.length&&(Mt.description=se.join(" ")),Mt}var Ze=je();typeof ke=="function"&&typeof ke.amd=="object"&&ke.amd?(ie.platform=Ze,ke(function(){return Ze})):le&&me?Ee(Ze,function(Pe,Ue){le[Ue]=Pe}):ie.platform=Ze}).call(this)}).call(this)}).call(this,typeof Wt!="undefined"?Wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(x,De,ve){(function(re){(function(){"use strict";typeof re=="undefined"||!re.version||re.version.indexOf("v0.")===0||re.version.indexOf("v1.")===0&&re.version.indexOf("v1.8.")!==0?De.exports={nextTick:ne}:De.exports=re;function ne(ie,oe,le,me){if(typeof ie!="function")throw new TypeError('"callback" argument must be a function');var te=arguments.length,ae,ue;switch(te){case 0:case 1:return re.nextTick(ie);case 2:return re.nextTick(function(){ie.call(null,oe)});case 3:return re.nextTick(function(){ie.call(null,oe,le)});case 4:return re.nextTick(function(){ie.call(null,oe,le,me)});default:for(ae=new Array(te-1),ue=0;ue<ae.length;)ae[ue++]=arguments[ue];return re.nextTick(function(){ie.apply(null,ae)})}}}).call(this)}).call(this,x("_process"))},{_process:467}],381:[function(x,De,ve){var re=De.exports={},ne,ie;function oe(){throw new Error("setTimeout has not been defined")}function le(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ne=setTimeout:ne=oe}catch(Ae){ne=oe}try{typeof clearTimeout=="function"?ie=clearTimeout:ie=le}catch(Ae){ie=le}})();function me(Ae){if(ne===setTimeout)return setTimeout(Ae,0);if((ne===oe||!ne)&&setTimeout)return ne=setTimeout,setTimeout(Ae,0);try{return ne(Ae,0)}catch(Le){try{return ne.call(null,Ae,0)}catch(Ee){return ne.call(this,Ae,0)}}}function te(Ae){if(ie===clearTimeout)return clearTimeout(Ae);if((ie===le||!ie)&&clearTimeout)return ie=clearTimeout,clearTimeout(Ae);try{return ie(Ae)}catch(Le){try{return ie.call(null,Ae)}catch(Ee){return ie.call(this,Ae)}}}var ae=[],ue=!1,de,he=-1;function we(){!ue||!de||(ue=!1,de.length?ae=de.concat(ae):he=-1,ae.length&&Se())}function Se(){if(!ue){var Ae=me(we);ue=!0;for(var Le=ae.length;Le;){for(de=ae,ae=[];++he<Le;)de&&de[he].run();he=-1,Le=ae.length}de=null,ue=!1,te(Ae)}}re.nextTick=function(Ae){var Le=new Array(arguments.length-1);if(arguments.length>1)for(var Ee=1;Ee<arguments.length;Ee++)Le[Ee-1]=arguments[Ee];ae.push(new xe(Ae,Le)),ae.length===1&&!ue&&me(Se)};function xe(Ae,Le){this.fun=Ae,this.array=Le}xe.prototype.run=function(){this.fun.apply(null,this.array)},re.title="browser",re.browser=!0,re.env={},re.argv=[],re.version="",re.versions={};function ye(){}re.on=ye,re.addListener=ye,re.once=ye,re.off=ye,re.removeListener=ye,re.removeAllListeners=ye,re.emit=ye,re.prependListener=ye,re.prependOnceListener=ye,re.listeners=function(Ae){return[]},re.binding=function(Ae){throw new Error("process.binding is not supported")},re.cwd=function(){return"/"},re.chdir=function(Ae){throw new Error("process.chdir is not supported")},re.umask=function(){return 0}},{}],382:[function(x,De,ve){(function(re){(function(){(function(ne){var ie=typeof ve=="object"&&ve&&!ve.nodeType&&ve,oe=typeof De=="object"&&De&&!De.nodeType&&De,le=typeof re=="object"&&re;(le.global===le||le.window===le||le.self===le)&&(ne=le);var me,te=2147483647,ae=36,ue=1,de=26,he=38,we=700,Se=72,xe=128,ye="-",Ae=/^xn--/,Le=/[^\x20-\x7E]/,Ee=/[\x2E\u3002\uFF0E\uFF61]/g,_e={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Me=ae-ue,Oe=Math.floor,Ce=String.fromCharCode,Ne;function je(at){throw new RangeError(_e[at])}function Ze(at,et){for(var qe=at.length,it=[];qe--;)it[qe]=et(at[qe]);return it}function Pe(at,et){var qe=at.split("@"),it="";qe.length>1&&(it=qe[0]+"@",at=qe[1]),at=at.replace(Ee,".");var yt=at.split("."),ht=Ze(yt,et).join(".");return it+ht}function Ue(at){for(var et=[],qe=0,it=at.length,yt,ht;qe<it;)yt=at.charCodeAt(qe++),yt>=55296&&yt<=56319&&qe<it?(ht=at.charCodeAt(qe++),(ht&64512)==56320?et.push(((yt&1023)<<10)+(ht&1023)+65536):(et.push(yt),qe--)):et.push(yt);return et}function Qe(at){return Ze(at,function(et){var qe="";return et>65535&&(et-=65536,qe+=Ce(et>>>10&1023|55296),et=56320|et&1023),qe+=Ce(et),qe}).join("")}function tt(at){return at-48<10?at-22:at-65<26?at-65:at-97<26?at-97:ae}function ot(at,et){return at+22+75*(at<26)-((et!=0)<<5)}function lt(at,et,qe){var it=0;for(at=qe?Oe(at/we):at>>1,at+=Oe(at/et);at>Me*de>>1;it+=ae)at=Oe(at/Me);return Oe(it+(Me+1)*at/(at+he))}function Ve(at){var et=[],qe=at.length,it,yt=0,ht=xe,Bt=Se,Et,st,Ge,We,se,fe,ze,He,pe;for(Et=at.lastIndexOf(ye),Et<0&&(Et=0),st=0;st<Et;++st)at.charCodeAt(st)>=128&&je("not-basic"),et.push(at.charCodeAt(st));for(Ge=Et>0?Et+1:0;Ge<qe;){for(We=yt,se=1,fe=ae;Ge>=qe&&je("invalid-input"),ze=tt(at.charCodeAt(Ge++)),(ze>=ae||ze>Oe((te-yt)/se))&&je("overflow"),yt+=ze*se,He=fe<=Bt?ue:fe>=Bt+de?de:fe-Bt,!(ze<He);fe+=ae)pe=ae-He,se>Oe(te/pe)&&je("overflow"),se*=pe;it=et.length+1,Bt=lt(yt-We,it,We==0),Oe(yt/it)>te-ht&&je("overflow"),ht+=Oe(yt/it),yt%=it,et.splice(yt++,0,ht)}return Qe(et)}function Ye(at){var et,qe,it,yt,ht,Bt,Et,st,Ge,We,se,fe=[],ze,He,pe,Be;for(at=Ue(at),ze=at.length,et=xe,qe=0,ht=Se,Bt=0;Bt<ze;++Bt)se=at[Bt],se<128&&fe.push(Ce(se));for(it=yt=fe.length,yt&&fe.push(ye);it<ze;){for(Et=te,Bt=0;Bt<ze;++Bt)se=at[Bt],se>=et&&se<Et&&(Et=se);for(He=it+1,Et-et>Oe((te-qe)/He)&&je("overflow"),qe+=(Et-et)*He,et=Et,Bt=0;Bt<ze;++Bt)if(se=at[Bt],se<et&&++qe>te&&je("overflow"),se==et){for(st=qe,Ge=ae;We=Ge<=ht?ue:Ge>=ht+de?de:Ge-ht,!(st<We);Ge+=ae)Be=st-We,pe=ae-We,fe.push(Ce(ot(We+Be%pe,0))),st=Oe(Be/pe);fe.push(Ce(ot(st,0))),ht=lt(qe,He,it==yt),qe=0,++it}++qe,++et}return fe.join("")}function nt(at){return Pe(at,function(et){return Ae.test(et)?Ve(et.slice(4).toLowerCase()):et})}function dt(at){return Pe(at,function(et){return Le.test(et)?"xn--"+Ye(et):et})}if(me={version:"1.4.1",ucs2:{decode:Ue,encode:Qe},decode:Ve,encode:Ye,toASCII:dt,toUnicode:nt},typeof ke=="function"&&typeof ke.amd=="object"&&ke.amd)ke("punycode",function(){return me});else if(ie&&oe)if(De.exports==ie)oe.exports=me;else for(Ne in me)me.hasOwnProperty(Ne)&&(ie[Ne]=me[Ne]);else ne.punycode=me})(this)}).call(this)}).call(this,typeof Wt!="undefined"?Wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(x,De,ve){"use strict";function re(ie,oe){return Object.prototype.hasOwnProperty.call(ie,oe)}De.exports=function(ie,oe,le,me){oe=oe||"&",le=le||"=";var te={};if(typeof ie!="string"||ie.length===0)return te;var ae=/\+/g;ie=ie.split(oe);var ue=1e3;me&&typeof me.maxKeys=="number"&&(ue=me.maxKeys);var de=ie.length;ue>0&&de>ue&&(de=ue);for(var he=0;he<de;++he){var we=ie[he].replace(ae,"%20"),Se=we.indexOf(le),xe,ye,Ae,Le;Se>=0?(xe=we.substr(0,Se),ye=we.substr(Se+1)):(xe=we,ye=""),Ae=decodeURIComponent(xe),Le=decodeURIComponent(ye),re(te,Ae)?ne(te[Ae])?te[Ae].push(Le):te[Ae]=[te[Ae],Le]:te[Ae]=Le}return te};var ne=Array.isArray||function(ie){return Object.prototype.toString.call(ie)==="[object Array]"}},{}],384:[function(x,De,ve){"use strict";var re=function(le){switch(typeof le){case"string":return le;case"boolean":return le?"true":"false";case"number":return isFinite(le)?le:"";default:return""}};De.exports=function(le,me,te,ae){return me=me||"&",te=te||"=",le===null&&(le=void 0),typeof le=="object"?ie(oe(le),function(ue){var de=encodeURIComponent(re(ue))+te;return ne(le[ue])?ie(le[ue],function(he){return de+encodeURIComponent(re(he))}).join(me):de+encodeURIComponent(re(le[ue]))}).join(me):ae?encodeURIComponent(re(ae))+te+encodeURIComponent(re(le)):""};var ne=Array.isArray||function(le){return Object.prototype.toString.call(le)==="[object Array]"};function ie(le,me){if(le.map)return le.map(me);for(var te=[],ae=0;ae<le.length;ae++)te.push(me(le[ae],ae));return te}var oe=Object.keys||function(le){var me=[];for(var te in le)Object.prototype.hasOwnProperty.call(le,te)&&me.push(te);return me}},{}],385:[function(x,De,ve){"use strict";ve.decode=ve.parse=x("./decode"),ve.encode=ve.stringify=x("./encode")},{"./decode":383,"./encode":384}],386:[function(x,De,ve){"use strict";var re=x("process-nextick-args"),ne=Object.keys||function(we){var Se=[];for(var xe in we)Se.push(xe);return Se};De.exports=ue;var ie=Object.create(x("core-util-is"));ie.inherits=x("inherits");var oe=x("./_stream_readable"),le=x("./_stream_writable");ie.inherits(ue,oe);for(var me=ne(le.prototype),te=0;te<me.length;te++){var ae=me[te];ue.prototype[ae]||(ue.prototype[ae]=le.prototype[ae])}function ue(we){if(!(this instanceof ue))return new ue(we);oe.call(this,we),le.call(this,we),we&&we.readable===!1&&(this.readable=!1),we&&we.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,we&&we.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",de)}Object.defineProperty(ue.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function de(){this.allowHalfOpen||this._writableState.ended||re.nextTick(he,this)}function he(we){we.end()}Object.defineProperty(ue.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(we){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=we,this._writableState.destroyed=we)}}),ue.prototype._destroy=function(we,Se){this.push(null),this.end(),re.nextTick(Se,we)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(x,De,ve){"use strict";De.exports=ie;var re=x("./_stream_transform"),ne=Object.create(x("core-util-is"));ne.inherits=x("inherits"),ne.inherits(ie,re);function ie(oe){if(!(this instanceof ie))return new ie(oe);re.call(this,oe)}ie.prototype._transform=function(oe,le,me){me(null,oe)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(x,De,ve){(function(re,ne){(function(){"use strict";var ie=x("process-nextick-args");De.exports=Ce;var oe=x("isarray"),le;Ce.ReadableState=Oe;var me=x("events").EventEmitter,te=function(se,fe){return se.listeners(fe).length},ae=x("./internal/streams/stream"),ue=x("safe-buffer").Buffer,de=ne.Uint8Array||function(){};function he(se){return ue.from(se)}function we(se){return ue.isBuffer(se)||se instanceof de}var Se=Object.create(x("core-util-is"));Se.inherits=x("inherits");var xe=x("util"),ye=void 0;xe&&xe.debuglog?ye=xe.debuglog("stream"):ye=function(){};var Ae=x("./internal/streams/BufferList"),Le=x("./internal/streams/destroy"),Ee;Se.inherits(Ce,ae);var _e=["error","close","destroy","pause","resume"];function Me(se,fe,ze){if(typeof se.prependListener=="function")return se.prependListener(fe,ze);!se._events||!se._events[fe]?se.on(fe,ze):oe(se._events[fe])?se._events[fe].unshift(ze):se._events[fe]=[ze,se._events[fe]]}function Oe(se,fe){le=le||x("./_stream_duplex"),se=se||{};var ze=fe instanceof le;this.objectMode=!!se.objectMode,ze&&(this.objectMode=this.objectMode||!!se.readableObjectMode);var He=se.highWaterMark,pe=se.readableHighWaterMark,Be=this.objectMode?16:16*1024;He||He===0?this.highWaterMark=He:ze&&(pe||pe===0)?this.highWaterMark=pe:this.highWaterMark=Be,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new Ae,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=se.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,se.encoding&&(Ee||(Ee=x("string_decoder/").StringDecoder),this.decoder=new Ee(se.encoding),this.encoding=se.encoding)}function Ce(se){if(le=le||x("./_stream_duplex"),!(this instanceof Ce))return new Ce(se);this._readableState=new Oe(se,this),this.readable=!0,se&&(typeof se.read=="function"&&(this._read=se.read),typeof se.destroy=="function"&&(this._destroy=se.destroy)),ae.call(this)}Object.defineProperty(Ce.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(se){this._readableState&&(this._readableState.destroyed=se)}}),Ce.prototype.destroy=Le.destroy,Ce.prototype._undestroy=Le.undestroy,Ce.prototype._destroy=function(se,fe){this.push(null),fe(se)},Ce.prototype.push=function(se,fe){var ze=this._readableState,He;return ze.objectMode?He=!0:typeof se=="string"&&(fe=fe||ze.defaultEncoding,fe!==ze.encoding&&(se=ue.from(se,fe),fe=""),He=!0),Ne(this,se,fe,!1,He)},Ce.prototype.unshift=function(se){return Ne(this,se,null,!0,!1)};function Ne(se,fe,ze,He,pe){var Be=se._readableState;if(fe===null)Be.reading=!1,ot(se,Be);else{var Ke;pe||(Ke=Ze(Be,fe)),Ke?se.emit("error",Ke):Be.objectMode||fe&&fe.length>0?(typeof fe!="string"&&!Be.objectMode&&Object.getPrototypeOf(fe)!==ue.prototype&&(fe=he(fe)),He?Be.endEmitted?se.emit("error",new Error("stream.unshift() after end event")):je(se,Be,fe,!0):Be.ended?se.emit("error",new Error("stream.push() after EOF")):(Be.reading=!1,Be.decoder&&!ze?(fe=Be.decoder.write(fe),Be.objectMode||fe.length!==0?je(se,Be,fe,!1):Ye(se,Be)):je(se,Be,fe,!1))):He||(Be.reading=!1)}return Pe(Be)}function je(se,fe,ze,He){fe.flowing&&fe.length===0&&!fe.sync?(se.emit("data",ze),se.read(0)):(fe.length+=fe.objectMode?1:ze.length,He?fe.buffer.unshift(ze):fe.buffer.push(ze),fe.needReadable&&lt(se)),Ye(se,fe)}function Ze(se,fe){var ze;return!we(fe)&&typeof fe!="string"&&fe!==void 0&&!se.objectMode&&(ze=new TypeError("Invalid non-string/buffer chunk")),ze}function Pe(se){return!se.ended&&(se.needReadable||se.length<se.highWaterMark||se.length===0)}Ce.prototype.isPaused=function(){return this._readableState.flowing===!1},Ce.prototype.setEncoding=function(se){return Ee||(Ee=x("string_decoder/").StringDecoder),this._readableState.decoder=new Ee(se),this._readableState.encoding=se,this};var Ue=8388608;function Qe(se){return se>=Ue?se=Ue:(se--,se|=se>>>1,se|=se>>>2,se|=se>>>4,se|=se>>>8,se|=se>>>16,se++),se}function tt(se,fe){return se<=0||fe.length===0&&fe.ended?0:fe.objectMode?1:se!==se?fe.flowing&&fe.length?fe.buffer.head.data.length:fe.length:(se>fe.highWaterMark&&(fe.highWaterMark=Qe(se)),se<=fe.length?se:fe.ended?fe.length:(fe.needReadable=!0,0))}Ce.prototype.read=function(se){ye("read",se),se=parseInt(se,10);var fe=this._readableState,ze=se;if(se!==0&&(fe.emittedReadable=!1),se===0&&fe.needReadable&&(fe.length>=fe.highWaterMark||fe.ended))return ye("read: emitReadable",fe.length,fe.ended),fe.length===0&&fe.ended?st(this):lt(this),null;if(se=tt(se,fe),se===0&&fe.ended)return fe.length===0&&st(this),null;var He=fe.needReadable;ye("need readable",He),(fe.length===0||fe.length-se<fe.highWaterMark)&&(He=!0,ye("length less than watermark",He)),fe.ended||fe.reading?(He=!1,ye("reading or ended",He)):He&&(ye("do read"),fe.reading=!0,fe.sync=!0,fe.length===0&&(fe.needReadable=!0),this._read(fe.highWaterMark),fe.sync=!1,fe.reading||(se=tt(ze,fe)));var pe;return se>0?pe=yt(se,fe):pe=null,pe===null?(fe.needReadable=!0,se=0):fe.length-=se,fe.length===0&&(fe.ended||(fe.needReadable=!0),ze!==se&&fe.ended&&st(this)),pe!==null&&this.emit("data",pe),pe};function ot(se,fe){if(!fe.ended){if(fe.decoder){var ze=fe.decoder.end();ze&&ze.length&&(fe.buffer.push(ze),fe.length+=fe.objectMode?1:ze.length)}fe.ended=!0,lt(se)}}function lt(se){var fe=se._readableState;fe.needReadable=!1,fe.emittedReadable||(ye("emitReadable",fe.flowing),fe.emittedReadable=!0,fe.sync?ie.nextTick(Ve,se):Ve(se))}function Ve(se){ye("emit readable"),se.emit("readable"),it(se)}function Ye(se,fe){fe.readingMore||(fe.readingMore=!0,ie.nextTick(nt,se,fe))}function nt(se,fe){for(var ze=fe.length;!fe.reading&&!fe.flowing&&!fe.ended&&fe.length<fe.highWaterMark&&(ye("maybeReadMore read 0"),se.read(0),ze!==fe.length);)ze=fe.length;fe.readingMore=!1}Ce.prototype._read=function(se){this.emit("error",new Error("_read() is not implemented"))},Ce.prototype.pipe=function(se,fe){var ze=this,He=this._readableState;switch(He.pipesCount){case 0:He.pipes=se;break;case 1:He.pipes=[He.pipes,se];break;default:He.pipes.push(se);break}He.pipesCount+=1,ye("pipe count=%d opts=%j",He.pipesCount,fe);var pe=(!fe||fe.end!==!1)&&se!==re.stdout&&se!==re.stderr,Be=pe?Xe:_t;He.endEmitted?ie.nextTick(Be):ze.once("end",Be),se.on("unpipe",Ke);function Ke(Mt,ft){ye("onunpipe"),Mt===ze&&ft&&ft.hasUnpiped===!1&&(ft.hasUnpiped=!0,bt())}function Xe(){ye("onend"),se.end()}var Je=dt(ze);se.on("drain",Je);var ut=!1;function bt(){ye("cleanup"),se.removeListener("close",kt),se.removeListener("finish",jt),se.removeListener("drain",Je),se.removeListener("error",Vt),se.removeListener("unpipe",Ke),ze.removeListener("end",Xe),ze.removeListener("end",_t),ze.removeListener("data",Dt),ut=!0,He.awaitDrain&&(!se._writableState||se._writableState.needDrain)&&Je()}var gt=!1;ze.on("data",Dt);function Dt(Mt){ye("ondata"),gt=!1;var ft=se.write(Mt);ft===!1&&!gt&&((He.pipesCount===1&&He.pipes===se||He.pipesCount>1&&We(He.pipes,se)!==-1)&&!ut&&(ye("false write response, pause",ze._readableState.awaitDrain),ze._readableState.awaitDrain++,gt=!0),ze.pause())}function Vt(Mt){ye("onerror",Mt),_t(),se.removeListener("error",Vt),te(se,"error")===0&&se.emit("error",Mt)}Me(se,"error",Vt);function kt(){se.removeListener("finish",jt),_t()}se.once("close",kt);function jt(){ye("onfinish"),se.removeListener("close",kt),_t()}se.once("finish",jt);function _t(){ye("unpipe"),ze.unpipe(se)}return se.emit("pipe",ze),He.flowing||(ye("pipe resume"),ze.resume()),se};function dt(se){return function(){var fe=se._readableState;ye("pipeOnDrain",fe.awaitDrain),fe.awaitDrain&&fe.awaitDrain--,fe.awaitDrain===0&&te(se,"data")&&(fe.flowing=!0,it(se))}}Ce.prototype.unpipe=function(se){var fe=this._readableState,ze={hasUnpiped:!1};if(fe.pipesCount===0)return this;if(fe.pipesCount===1)return se&&se!==fe.pipes?this:(se||(se=fe.pipes),fe.pipes=null,fe.pipesCount=0,fe.flowing=!1,se&&se.emit("unpipe",this,ze),this);if(!se){var He=fe.pipes,pe=fe.pipesCount;fe.pipes=null,fe.pipesCount=0,fe.flowing=!1;for(var Be=0;Be<pe;Be++)He[Be].emit("unpipe",this,ze);return this}var Ke=We(fe.pipes,se);return Ke===-1?this:(fe.pipes.splice(Ke,1),fe.pipesCount-=1,fe.pipesCount===1&&(fe.pipes=fe.pipes[0]),se.emit("unpipe",this,ze),this)},Ce.prototype.on=function(se,fe){var ze=ae.prototype.on.call(this,se,fe);if(se==="data")this._readableState.flowing!==!1&&this.resume();else if(se==="readable"){var He=this._readableState;!He.endEmitted&&!He.readableListening&&(He.readableListening=He.needReadable=!0,He.emittedReadable=!1,He.reading?He.length&&lt(this):ie.nextTick(at,this))}return ze},Ce.prototype.addListener=Ce.prototype.on;function at(se){ye("readable nexttick read 0"),se.read(0)}Ce.prototype.resume=function(){var se=this._readableState;return se.flowing||(ye("resume"),se.flowing=!0,et(this,se)),this};function et(se,fe){fe.resumeScheduled||(fe.resumeScheduled=!0,ie.nextTick(qe,se,fe))}function qe(se,fe){fe.reading||(ye("resume read 0"),se.read(0)),fe.resumeScheduled=!1,fe.awaitDrain=0,se.emit("resume"),it(se),fe.flowing&&!fe.reading&&se.read(0)}Ce.prototype.pause=function(){return ye("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(ye("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function it(se){var fe=se._readableState;for(ye("flow",fe.flowing);fe.flowing&&se.read()!==null;);}Ce.prototype.wrap=function(se){var fe=this,ze=this._readableState,He=!1;se.on("end",function(){if(ye("wrapped end"),ze.decoder&&!ze.ended){var Ke=ze.decoder.end();Ke&&Ke.length&&fe.push(Ke)}fe.push(null)}),se.on("data",function(Ke){if(ye("wrapped data"),ze.decoder&&(Ke=ze.decoder.write(Ke)),!(ze.objectMode&&Ke==null)&&!(!ze.objectMode&&(!Ke||!Ke.length))){var Xe=fe.push(Ke);Xe||(He=!0,se.pause())}});for(var pe in se)this[pe]===void 0&&typeof se[pe]=="function"&&(this[pe]=function(Ke){return function(){return se[Ke].apply(se,arguments)}}(pe));for(var Be=0;Be<_e.length;Be++)se.on(_e[Be],this.emit.bind(this,_e[Be]));return this._read=function(Ke){ye("wrapped _read",Ke),He&&(He=!1,se.resume())},this},Object.defineProperty(Ce.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Ce._fromList=yt;function yt(se,fe){if(fe.length===0)return null;var ze;return fe.objectMode?ze=fe.buffer.shift():!se||se>=fe.length?(fe.decoder?ze=fe.buffer.join(""):fe.buffer.length===1?ze=fe.buffer.head.data:ze=fe.buffer.concat(fe.length),fe.buffer.clear()):ze=ht(se,fe.buffer,fe.decoder),ze}function ht(se,fe,ze){var He;return se<fe.head.data.length?(He=fe.head.data.slice(0,se),fe.head.data=fe.head.data.slice(se)):se===fe.head.data.length?He=fe.shift():He=ze?Bt(se,fe):Et(se,fe),He}function Bt(se,fe){var ze=fe.head,He=1,pe=ze.data;for(se-=pe.length;ze=ze.next;){var Be=ze.data,Ke=se>Be.length?Be.length:se;if(Ke===Be.length?pe+=Be:pe+=Be.slice(0,se),se-=Ke,se===0){Ke===Be.length?(++He,ze.next?fe.head=ze.next:fe.head=fe.tail=null):(fe.head=ze,ze.data=Be.slice(Ke));break}++He}return fe.length-=He,pe}function Et(se,fe){var ze=ue.allocUnsafe(se),He=fe.head,pe=1;for(He.data.copy(ze),se-=He.data.length;He=He.next;){var Be=He.data,Ke=se>Be.length?Be.length:se;if(Be.copy(ze,ze.length-se,0,Ke),se-=Ke,se===0){Ke===Be.length?(++pe,He.next?fe.head=He.next:fe.head=fe.tail=null):(fe.head=He,He.data=Be.slice(Ke));break}++pe}return fe.length-=pe,ze}function st(se){var fe=se._readableState;if(fe.length>0)throw new Error('"endReadable()" called on non-empty stream');fe.endEmitted||(fe.ended=!0,ie.nextTick(Ge,fe,se))}function Ge(se,fe){!se.endEmitted&&se.length===0&&(se.endEmitted=!0,fe.readable=!1,fe.emit("end"))}function We(se,fe){for(var ze=0,He=se.length;ze<He;ze++)if(se[ze]===fe)return ze;return-1}}).call(this)}).call(this,x("_process"),typeof Wt!="undefined"?Wt: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,De,ve){"use strict";De.exports=oe;var re=x("./_stream_duplex"),ne=Object.create(x("core-util-is"));ne.inherits=x("inherits"),ne.inherits(oe,re);function ie(te,ae){var ue=this._transformState;ue.transforming=!1;var de=ue.writecb;if(!de)return this.emit("error",new Error("write callback called multiple times"));ue.writechunk=null,ue.writecb=null,ae!=null&&this.push(ae),de(te);var he=this._readableState;he.reading=!1,(he.needReadable||he.length<he.highWaterMark)&&this._read(he.highWaterMark)}function oe(te){if(!(this instanceof oe))return new oe(te);re.call(this,te),this._transformState={afterTransform:ie.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,te&&(typeof te.transform=="function"&&(this._transform=te.transform),typeof te.flush=="function"&&(this._flush=te.flush)),this.on("prefinish",le)}function le(){var te=this;typeof this._flush=="function"?this._flush(function(ae,ue){me(te,ae,ue)}):me(this,null,null)}oe.prototype.push=function(te,ae){return this._transformState.needTransform=!1,re.prototype.push.call(this,te,ae)},oe.prototype._transform=function(te,ae,ue){throw new Error("_transform() is not implemented")},oe.prototype._write=function(te,ae,ue){var de=this._transformState;if(de.writecb=ue,de.writechunk=te,de.writeencoding=ae,!de.transforming){var he=this._readableState;(de.needTransform||he.needReadable||he.length<he.highWaterMark)&&this._read(he.highWaterMark)}},oe.prototype._read=function(te){var ae=this._transformState;ae.writechunk!==null&&ae.writecb&&!ae.transforming?(ae.transforming=!0,this._transform(ae.writechunk,ae.writeencoding,ae.afterTransform)):ae.needTransform=!0},oe.prototype._destroy=function(te,ae){var ue=this;re.prototype._destroy.call(this,te,function(de){ae(de),ue.emit("close")})};function me(te,ae,ue){if(ae)return te.emit("error",ae);if(ue!=null&&te.push(ue),te._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(te._transformState.transforming)throw new Error("Calling transform done when still transforming");return te.push(null)}},{"./_stream_duplex":386,"core-util-is":341,inherits:364}],390:[function(x,De,ve){(function(re,ne,ie){(function(){"use strict";var oe=x("process-nextick-args");De.exports=Me;function le(qe,it,yt){this.chunk=qe,this.encoding=it,this.callback=yt,this.next=null}function me(qe){var it=this;this.next=null,this.entry=null,this.finish=function(){et(it,qe)}}var te=!re.browser&&["v0.10","v0.9."].indexOf(re.version.slice(0,5))>-1?ie:oe.nextTick,ae;Me.WritableState=Ee;var ue=Object.create(x("core-util-is"));ue.inherits=x("inherits");var de={deprecate:x("util-deprecate")},he=x("./internal/streams/stream"),we=x("safe-buffer").Buffer,Se=ne.Uint8Array||function(){};function xe(qe){return we.from(qe)}function ye(qe){return we.isBuffer(qe)||qe instanceof Se}var Ae=x("./internal/streams/destroy");ue.inherits(Me,he);function Le(){}function Ee(qe,it){ae=ae||x("./_stream_duplex"),qe=qe||{};var yt=it instanceof ae;this.objectMode=!!qe.objectMode,yt&&(this.objectMode=this.objectMode||!!qe.writableObjectMode);var ht=qe.highWaterMark,Bt=qe.writableHighWaterMark,Et=this.objectMode?16:16*1024;ht||ht===0?this.highWaterMark=ht:yt&&(Bt||Bt===0)?this.highWaterMark=Bt: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 st=qe.decodeStrings===!1;this.decodeStrings=!st,this.defaultEncoding=qe.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ge){Qe(it,Ge)},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 me(this)}Ee.prototype.getBuffer=function(){for(var it=this.bufferedRequest,yt=[];it;)yt.push(it),it=it.next;return yt},function(){try{Object.defineProperty(Ee.prototype,"buffer",{get:de.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(qe){}}();var _e;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(_e=Function.prototype[Symbol.hasInstance],Object.defineProperty(Me,Symbol.hasInstance,{value:function(qe){return _e.call(this,qe)?!0:this!==Me?!1:qe&&qe._writableState instanceof Ee}})):_e=function(qe){return qe instanceof this};function Me(qe){if(ae=ae||x("./_stream_duplex"),!_e.call(Me,this)&&!(this instanceof ae))return new Me(qe);this._writableState=new Ee(qe,this),this.writable=!0,qe&&(typeof qe.write=="function"&&(this._write=qe.write),typeof qe.writev=="function"&&(this._writev=qe.writev),typeof qe.destroy=="function"&&(this._destroy=qe.destroy),typeof qe.final=="function"&&(this._final=qe.final)),he.call(this)}Me.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Oe(qe,it){var yt=new Error("write after end");qe.emit("error",yt),oe.nextTick(it,yt)}function Ce(qe,it,yt,ht){var Bt=!0,Et=!1;return yt===null?Et=new TypeError("May not write null values to stream"):typeof yt!="string"&&yt!==void 0&&!it.objectMode&&(Et=new TypeError("Invalid non-string/buffer chunk")),Et&&(qe.emit("error",Et),oe.nextTick(ht,Et),Bt=!1),Bt}Me.prototype.write=function(qe,it,yt){var ht=this._writableState,Bt=!1,Et=!ht.objectMode&&ye(qe);return Et&&!we.isBuffer(qe)&&(qe=xe(qe)),typeof it=="function"&&(yt=it,it=null),Et?it="buffer":it||(it=ht.defaultEncoding),typeof yt!="function"&&(yt=Le),ht.ended?Oe(this,yt):(Et||Ce(this,ht,qe,yt))&&(ht.pendingcb++,Bt=je(this,ht,Et,qe,it,yt)),Bt},Me.prototype.cork=function(){var qe=this._writableState;qe.corked++},Me.prototype.uncork=function(){var qe=this._writableState;qe.corked&&(qe.corked--,!qe.writing&&!qe.corked&&!qe.finished&&!qe.bufferProcessing&&qe.bufferedRequest&&lt(this,qe))},Me.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 Ne(qe,it,yt){return!qe.objectMode&&qe.decodeStrings!==!1&&typeof it=="string"&&(it=we.from(it,yt)),it}Object.defineProperty(Me.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function je(qe,it,yt,ht,Bt,Et){if(!yt){var st=Ne(it,ht,Bt);ht!==st&&(yt=!0,Bt="buffer",ht=st)}var Ge=it.objectMode?1:ht.length;it.length+=Ge;var We=it.length<it.highWaterMark;if(We||(it.needDrain=!0),it.writing||it.corked){var se=it.lastBufferedRequest;it.lastBufferedRequest={chunk:ht,encoding:Bt,isBuf:yt,callback:Et,next:null},se?se.next=it.lastBufferedRequest:it.bufferedRequest=it.lastBufferedRequest,it.bufferedRequestCount+=1}else Ze(qe,it,!1,Ge,ht,Bt,Et);return We}function Ze(qe,it,yt,ht,Bt,Et,st){it.writelen=ht,it.writecb=st,it.writing=!0,it.sync=!0,yt?qe._writev(Bt,it.onwrite):qe._write(Bt,Et,it.onwrite),it.sync=!1}function Pe(qe,it,yt,ht,Bt){--it.pendingcb,yt?(oe.nextTick(Bt,ht),oe.nextTick(dt,qe,it),qe._writableState.errorEmitted=!0,qe.emit("error",ht)):(Bt(ht),qe._writableState.errorEmitted=!0,qe.emit("error",ht),dt(qe,it))}function Ue(qe){qe.writing=!1,qe.writecb=null,qe.length-=qe.writelen,qe.writelen=0}function Qe(qe,it){var yt=qe._writableState,ht=yt.sync,Bt=yt.writecb;if(Ue(yt),it)Pe(qe,yt,ht,it,Bt);else{var Et=Ve(yt);!Et&&!yt.corked&&!yt.bufferProcessing&&yt.bufferedRequest&&lt(qe,yt),ht?te(tt,qe,yt,Et,Bt):tt(qe,yt,Et,Bt)}}function tt(qe,it,yt,ht){yt||ot(qe,it),it.pendingcb--,ht(),dt(qe,it)}function ot(qe,it){it.length===0&&it.needDrain&&(it.needDrain=!1,qe.emit("drain"))}function lt(qe,it){it.bufferProcessing=!0;var yt=it.bufferedRequest;if(qe._writev&&yt&&yt.next){var ht=it.bufferedRequestCount,Bt=new Array(ht),Et=it.corkedRequestsFree;Et.entry=yt;for(var st=0,Ge=!0;yt;)Bt[st]=yt,yt.isBuf||(Ge=!1),yt=yt.next,st+=1;Bt.allBuffers=Ge,Ze(qe,it,!0,it.length,Bt,"",Et.finish),it.pendingcb++,it.lastBufferedRequest=null,Et.next?(it.corkedRequestsFree=Et.next,Et.next=null):it.corkedRequestsFree=new me(it),it.bufferedRequestCount=0}else{for(;yt;){var We=yt.chunk,se=yt.encoding,fe=yt.callback,ze=it.objectMode?1:We.length;if(Ze(qe,it,!1,ze,We,se,fe),yt=yt.next,it.bufferedRequestCount--,it.writing)break}yt===null&&(it.lastBufferedRequest=null)}it.bufferedRequest=yt,it.bufferProcessing=!1}Me.prototype._write=function(qe,it,yt){yt(new Error("_write() is not implemented"))},Me.prototype._writev=null,Me.prototype.end=function(qe,it,yt){var ht=this._writableState;typeof qe=="function"?(yt=qe,qe=null,it=null):typeof it=="function"&&(yt=it,it=null),qe!=null&&this.write(qe,it),ht.corked&&(ht.corked=1,this.uncork()),!ht.ending&&!ht.finished&&at(this,ht,yt)};function Ve(qe){return qe.ending&&qe.length===0&&qe.bufferedRequest===null&&!qe.finished&&!qe.writing}function Ye(qe,it){qe._final(function(yt){it.pendingcb--,yt&&qe.emit("error",yt),it.prefinished=!0,qe.emit("prefinish"),dt(qe,it)})}function nt(qe,it){!it.prefinished&&!it.finalCalled&&(typeof qe._final=="function"?(it.pendingcb++,it.finalCalled=!0,oe.nextTick(Ye,qe,it)):(it.prefinished=!0,qe.emit("prefinish")))}function dt(qe,it){var yt=Ve(it);return yt&&(nt(qe,it),it.pendingcb===0&&(it.finished=!0,qe.emit("finish"))),yt}function at(qe,it,yt){it.ending=!0,dt(qe,it),yt&&(it.finished?oe.nextTick(yt):qe.once("finish",yt)),it.ended=!0,qe.writable=!1}function et(qe,it,yt){var ht=qe.entry;for(qe.entry=null;ht;){var Bt=ht.callback;it.pendingcb--,Bt(yt),ht=ht.next}it.corkedRequestsFree?it.corkedRequestsFree.next=qe:it.corkedRequestsFree=qe}Object.defineProperty(Me.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(qe){this._writableState&&(this._writableState.destroyed=qe)}}),Me.prototype.destroy=Ae.destroy,Me.prototype._undestroy=Ae.undestroy,Me.prototype._destroy=function(qe,it){this.end(),it(qe)}}).call(this)}).call(this,x("_process"),typeof Wt!="undefined"?Wt: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,De,ve){"use strict";function re(le,me){if(!(le instanceof me))throw new TypeError("Cannot call a class as a function")}var ne=x("safe-buffer").Buffer,ie=x("util");function oe(le,me,te){le.copy(me,te)}De.exports=function(){function le(){re(this,le),this.head=null,this.tail=null,this.length=0}return le.prototype.push=function(te){var ae={data:te,next:null};this.length>0?this.tail.next=ae:this.head=ae,this.tail=ae,++this.length},le.prototype.unshift=function(te){var ae={data:te,next:this.head};this.length===0&&(this.tail=ae),this.head=ae,++this.length},le.prototype.shift=function(){if(this.length!==0){var te=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,te}},le.prototype.clear=function(){this.head=this.tail=null,this.length=0},le.prototype.join=function(te){if(this.length===0)return"";for(var ae=this.head,ue=""+ae.data;ae=ae.next;)ue+=te+ae.data;return ue},le.prototype.concat=function(te){if(this.length===0)return ne.alloc(0);if(this.length===1)return this.head.data;for(var ae=ne.allocUnsafe(te>>>0),ue=this.head,de=0;ue;)oe(ue.data,ae,de),de+=ue.data.length,ue=ue.next;return ae},le}(),ie&&ie.inspect&&ie.inspect.custom&&(De.exports.prototype[ie.inspect.custom]=function(){var le=ie.inspect({length:this.length});return this.constructor.name+" "+le})},{"safe-buffer":396,util:89}],392:[function(x,De,ve){"use strict";var re=x("process-nextick-args");function ne(le,me){var te=this,ae=this._readableState&&this._readableState.destroyed,ue=this._writableState&&this._writableState.destroyed;return ae||ue?(me?me(le):le&&(!this._writableState||!this._writableState.errorEmitted)&&re.nextTick(oe,this,le),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(le||null,function(de){!me&&de?(re.nextTick(oe,te,de),te._writableState&&(te._writableState.errorEmitted=!0)):me&&me(de)}),this)}function ie(){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 oe(le,me){le.emit("error",me)}De.exports={destroy:ne,undestroy:ie}},{"process-nextick-args":380}],393:[function(x,De,ve){De.exports=x("events").EventEmitter},{events:344}],394:[function(x,De,ve){ve=De.exports=x("./lib/_stream_readable.js"),ve.Stream=ve,ve.Readable=ve,ve.Writable=x("./lib/_stream_writable.js"),ve.Duplex=x("./lib/_stream_duplex.js"),ve.Transform=x("./lib/_stream_transform.js"),ve.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,De,ve){var re=function(ne){"use strict";var ie=Object.prototype,oe=ie.hasOwnProperty,le,me=typeof Symbol=="function"?Symbol:{},te=me.iterator||"@@iterator",ae=me.asyncIterator||"@@asyncIterator",ue=me.toStringTag||"@@toStringTag";function de(nt,dt,at){return Object.defineProperty(nt,dt,{value:at,enumerable:!0,configurable:!0,writable:!0}),nt[dt]}try{de({},"")}catch(nt){de=function(dt,at,et){return dt[at]=et}}function he(nt,dt,at,et){var qe=dt&&dt.prototype instanceof Ee?dt:Ee,it=Object.create(qe.prototype),yt=new lt(et||[]);return it._invoke=Ue(nt,at,yt),it}ne.wrap=he;function we(nt,dt,at){try{return{type:"normal",arg:nt.call(dt,at)}}catch(et){return{type:"throw",arg:et}}}var Se="suspendedStart",xe="suspendedYield",ye="executing",Ae="completed",Le={};function Ee(){}function _e(){}function Me(){}var Oe={};de(Oe,te,function(){return this});var Ce=Object.getPrototypeOf,Ne=Ce&&Ce(Ce(Ve([])));Ne&&Ne!==ie&&oe.call(Ne,te)&&(Oe=Ne);var je=Me.prototype=Ee.prototype=Object.create(Oe);_e.prototype=Me,de(je,"constructor",Me),de(Me,"constructor",_e),_e.displayName=de(Me,ue,"GeneratorFunction");function Ze(nt){["next","throw","return"].forEach(function(dt){de(nt,dt,function(at){return this._invoke(dt,at)})})}ne.isGeneratorFunction=function(nt){var dt=typeof nt=="function"&&nt.constructor;return dt?dt===_e||(dt.displayName||dt.name)==="GeneratorFunction":!1},ne.mark=function(nt){return Object.setPrototypeOf?Object.setPrototypeOf(nt,Me):(nt.__proto__=Me,de(nt,ue,"GeneratorFunction")),nt.prototype=Object.create(je),nt},ne.awrap=function(nt){return{__await:nt}};function Pe(nt,dt){function at(it,yt,ht,Bt){var Et=we(nt[it],nt,yt);if(Et.type==="throw")Bt(Et.arg);else{var st=Et.arg,Ge=st.value;return Ge&&typeof Ge=="object"&&oe.call(Ge,"__await")?dt.resolve(Ge.__await).then(function(We){at("next",We,ht,Bt)},function(We){at("throw",We,ht,Bt)}):dt.resolve(Ge).then(function(We){st.value=We,ht(st)},function(We){return at("throw",We,ht,Bt)})}}var et;function qe(it,yt){function ht(){return new dt(function(Bt,Et){at(it,yt,Bt,Et)})}return et=et?et.then(ht,ht):ht()}this._invoke=qe}Ze(Pe.prototype),de(Pe.prototype,ae,function(){return this}),ne.AsyncIterator=Pe,ne.async=function(nt,dt,at,et,qe){qe===void 0&&(qe=Promise);var it=new Pe(he(nt,dt,at,et),qe);return ne.isGeneratorFunction(dt)?it:it.next().then(function(yt){return yt.done?yt.value:it.next()})};function Ue(nt,dt,at){var et=Se;return function(it,yt){if(et===ye)throw new Error("Generator is already running");if(et===Ae){if(it==="throw")throw yt;return Ye()}for(at.method=it,at.arg=yt;;){var ht=at.delegate;if(ht){var Bt=Qe(ht,at);if(Bt){if(Bt===Le)continue;return Bt}}if(at.method==="next")at.sent=at._sent=at.arg;else if(at.method==="throw"){if(et===Se)throw et=Ae,at.arg;at.dispatchException(at.arg)}else at.method==="return"&&at.abrupt("return",at.arg);et=ye;var Et=we(nt,dt,at);if(Et.type==="normal"){if(et=at.done?Ae:xe,Et.arg===Le)continue;return{value:Et.arg,done:at.done}}else Et.type==="throw"&&(et=Ae,at.method="throw",at.arg=Et.arg)}}}function Qe(nt,dt){var at=nt.iterator[dt.method];if(at===le){if(dt.delegate=null,dt.method==="throw"){if(nt.iterator.return&&(dt.method="return",dt.arg=le,Qe(nt,dt),dt.method==="throw"))return Le;dt.method="throw",dt.arg=new TypeError("The iterator does not provide a 'throw' method")}return Le}var et=we(at,nt.iterator,dt.arg);if(et.type==="throw")return dt.method="throw",dt.arg=et.arg,dt.delegate=null,Le;var qe=et.arg;if(!qe)return dt.method="throw",dt.arg=new TypeError("iterator result is not an object"),dt.delegate=null,Le;if(qe.done)dt[nt.resultName]=qe.value,dt.next=nt.nextLoc,dt.method!=="return"&&(dt.method="next",dt.arg=le);else return qe;return dt.delegate=null,Le}Ze(je),de(je,ue,"Generator"),de(je,te,function(){return this}),de(je,"toString",function(){return"[object Generator]"});function tt(nt){var dt={tryLoc:nt[0]};1 in nt&&(dt.catchLoc=nt[1]),2 in nt&&(dt.finallyLoc=nt[2],dt.afterLoc=nt[3]),this.tryEntries.push(dt)}function ot(nt){var dt=nt.completion||{};dt.type="normal",delete dt.arg,nt.completion=dt}function lt(nt){this.tryEntries=[{tryLoc:"root"}],nt.forEach(tt,this),this.reset(!0)}ne.keys=function(nt){var dt=[];for(var at in nt)dt.push(at);return dt.reverse(),function et(){for(;dt.length;){var qe=dt.pop();if(qe in nt)return et.value=qe,et.done=!1,et}return et.done=!0,et}};function Ve(nt){if(nt){var dt=nt[te];if(dt)return dt.call(nt);if(typeof nt.next=="function")return nt;if(!isNaN(nt.length)){var at=-1,et=function qe(){for(;++at<nt.length;)if(oe.call(nt,at))return qe.value=nt[at],qe.done=!1,qe;return qe.value=le,qe.done=!0,qe};return et.next=et}}return{next:Ye}}ne.values=Ve;function Ye(){return{value:le,done:!0}}return lt.prototype={constructor:lt,reset:function(nt){if(this.prev=0,this.next=0,this.sent=this._sent=le,this.done=!1,this.delegate=null,this.method="next",this.arg=le,this.tryEntries.forEach(ot),!nt)for(var dt in this)dt.charAt(0)==="t"&&oe.call(this,dt)&&!isNaN(+dt.slice(1))&&(this[dt]=le)},stop:function(){this.done=!0;var nt=this.tryEntries[0],dt=nt.completion;if(dt.type==="throw")throw dt.arg;return this.rval},dispatchException:function(nt){if(this.done)throw nt;var dt=this;function at(Bt,Et){return it.type="throw",it.arg=nt,dt.next=Bt,Et&&(dt.method="next",dt.arg=le),!!Et}for(var et=this.tryEntries.length-1;et>=0;--et){var qe=this.tryEntries[et],it=qe.completion;if(qe.tryLoc==="root")return at("end");if(qe.tryLoc<=this.prev){var yt=oe.call(qe,"catchLoc"),ht=oe.call(qe,"finallyLoc");if(yt&&ht){if(this.prev<qe.catchLoc)return at(qe.catchLoc,!0);if(this.prev<qe.finallyLoc)return at(qe.finallyLoc)}else if(yt){if(this.prev<qe.catchLoc)return at(qe.catchLoc,!0)}else if(ht){if(this.prev<qe.finallyLoc)return at(qe.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(nt,dt){for(var at=this.tryEntries.length-1;at>=0;--at){var et=this.tryEntries[at];if(et.tryLoc<=this.prev&&oe.call(et,"finallyLoc")&&this.prev<et.finallyLoc){var qe=et;break}}qe&&(nt==="break"||nt==="continue")&&qe.tryLoc<=dt&&dt<=qe.finallyLoc&&(qe=null);var it=qe?qe.completion:{};return it.type=nt,it.arg=dt,qe?(this.method="next",this.next=qe.finallyLoc,Le):this.complete(it)},complete:function(nt,dt){if(nt.type==="throw")throw nt.arg;return nt.type==="break"||nt.type==="continue"?this.next=nt.arg:nt.type==="return"?(this.rval=this.arg=nt.arg,this.method="return",this.next="end"):nt.type==="normal"&&dt&&(this.next=dt),Le},finish:function(nt){for(var dt=this.tryEntries.length-1;dt>=0;--dt){var at=this.tryEntries[dt];if(at.finallyLoc===nt)return this.complete(at.completion,at.afterLoc),ot(at),Le}},catch:function(nt){for(var dt=this.tryEntries.length-1;dt>=0;--dt){var at=this.tryEntries[dt];if(at.tryLoc===nt){var et=at.completion;if(et.type==="throw"){var qe=et.arg;ot(at)}return qe}}throw new Error("illegal catch attempt")},delegateYield:function(nt,dt,at){return this.delegate={iterator:Ve(nt),resultName:dt,nextLoc:at},this.method==="next"&&(this.arg=le),Le}},ne}(typeof De=="object"?De.exports:{});try{regeneratorRuntime=re}catch(ne){typeof globalThis=="object"?globalThis.regeneratorRuntime=re:Function("r","regeneratorRuntime = r")(re)}},{}],396:[function(x,De,ve){var re=x("buffer"),ne=re.Buffer;function ie(le,me){for(var te in le)me[te]=le[te]}ne.from&&ne.alloc&&ne.allocUnsafe&&ne.allocUnsafeSlow?De.exports=re:(ie(re,ve),ve.Buffer=oe);function oe(le,me,te){return ne(le,me,te)}ie(ne,oe),oe.from=function(le,me,te){if(typeof le=="number")throw new TypeError("Argument must not be a number");return ne(le,me,te)},oe.alloc=function(le,me,te){if(typeof le!="number")throw new TypeError("Argument must be a number");var ae=ne(le);return me!==void 0?typeof te=="string"?ae.fill(me,te):ae.fill(me):ae.fill(0),ae},oe.allocUnsafe=function(le){if(typeof le!="number")throw new TypeError("Argument must be a number");return ne(le)},oe.allocUnsafeSlow=function(le){if(typeof le!="number")throw new TypeError("Argument must be a number");return re.SlowBuffer(le)}},{buffer:90}],397:[function(x,De,ve){(function(re){(function(){(function(ne){ne.parser=function(st,Ge){return new oe(st,Ge)},ne.SAXParser=oe,ne.SAXStream=he,ne.createStream=de,ne.MAX_BUFFER_LENGTH=64*1024;var ie=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];ne.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function oe(st,Ge){if(!(this instanceof oe))return new oe(st,Ge);var We=this;me(We),We.q=We.c="",We.bufferCheckPosition=ne.MAX_BUFFER_LENGTH,We.opt=Ge||{},We.opt.lowercase=We.opt.lowercase||We.opt.lowercasetags,We.looseCase=We.opt.lowercase?"toLowerCase":"toUpperCase",We.tags=[],We.closed=We.closedRoot=We.sawRoot=!1,We.tag=We.error=null,We.strict=!!st,We.noscript=!!(st||We.opt.noscript),We.state=Pe.BEGIN,We.strictEntities=We.opt.strictEntities,We.ENTITIES=We.strictEntities?Object.create(ne.XML_ENTITIES):Object.create(ne.ENTITIES),We.attribList=[],We.opt.xmlns&&(We.ns=Object.create(Ae)),We.trackPosition=We.opt.position!==!1,We.trackPosition&&(We.position=We.line=We.column=0),Qe(We,"onready")}Object.create||(Object.create=function(st){function Ge(){}Ge.prototype=st;var We=new Ge;return We}),Object.keys||(Object.keys=function(st){var Ge=[];for(var We in st)st.hasOwnProperty(We)&&Ge.push(We);return Ge});function le(st){for(var Ge=Math.max(ne.MAX_BUFFER_LENGTH,10),We=0,se=0,fe=ie.length;se<fe;se++){var ze=st[ie[se]].length;if(ze>Ge)switch(ie[se]){case"textNode":ot(st);break;case"cdata":tt(st,"oncdata",st.cdata),st.cdata="";break;case"script":tt(st,"onscript",st.script),st.script="";break;default:Ve(st,"Max buffer length exceeded: "+ie[se])}We=Math.max(We,ze)}var He=ne.MAX_BUFFER_LENGTH-We;st.bufferCheckPosition=He+st.position}function me(st){for(var Ge=0,We=ie.length;Ge<We;Ge++)st[ie[Ge]]=""}function te(st){ot(st),st.cdata!==""&&(tt(st,"oncdata",st.cdata),st.cdata=""),st.script!==""&&(tt(st,"onscript",st.script),st.script="")}oe.prototype={end:function(){Ye(this)},write:Et,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){te(this)}};var ae;try{ae=x("stream").Stream}catch(st){ae=function(){}}var ue=ne.EVENTS.filter(function(st){return st!=="error"&&st!=="end"});function de(st,Ge){return new he(st,Ge)}function he(st,Ge){if(!(this instanceof he))return new he(st,Ge);ae.apply(this),this._parser=new oe(st,Ge),this.writable=!0,this.readable=!0;var We=this;this._parser.onend=function(){We.emit("end")},this._parser.onerror=function(se){We.emit("error",se),We._parser.error=null},this._decoder=null,ue.forEach(function(se){Object.defineProperty(We,"on"+se,{get:function(){return We._parser["on"+se]},set:function(fe){if(!fe)return We.removeAllListeners(se),We._parser["on"+se]=fe,fe;We.on(se,fe)},enumerable:!0,configurable:!1})})}he.prototype=Object.create(ae.prototype,{constructor:{value:he}}),he.prototype.write=function(st){if(typeof re=="function"&&typeof re.isBuffer=="function"&&re.isBuffer(st)){if(!this._decoder){var Ge=x("string_decoder").StringDecoder;this._decoder=new Ge("utf8")}st=this._decoder.write(st)}return this._parser.write(st.toString()),this.emit("data",st),!0},he.prototype.end=function(st){return st&&st.length&&this.write(st),this._parser.end(),!0},he.prototype.on=function(st,Ge){var We=this;return!We._parser["on"+st]&&ue.indexOf(st)!==-1&&(We._parser["on"+st]=function(){var se=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);se.splice(0,0,st),We.emit.apply(We,se)}),ae.prototype.on.call(We,st,Ge)};var we="[CDATA[",Se="DOCTYPE",xe="http://www.w3.org/XML/1998/namespace",ye="http://www.w3.org/2000/xmlns/",Ae={xml:xe,xmlns:ye},Le=/[:_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]/,Ee=/[:_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-]/,_e=/[#:_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]/,Me=/[#:_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 Oe(st){return st===" "||st===`
`||st==="\r"||st===" "}function Ce(st){return st==='"'||st==="'"}function Ne(st){return st===">"||Oe(st)}function je(st,Ge){return st.test(Ge)}function Ze(st,Ge){return!je(st,Ge)}var Pe=0;ne.STATE={BEGIN:Pe++,BEGIN_WHITESPACE:Pe++,TEXT:Pe++,TEXT_ENTITY:Pe++,OPEN_WAKA:Pe++,SGML_DECL:Pe++,SGML_DECL_QUOTED:Pe++,DOCTYPE:Pe++,DOCTYPE_QUOTED:Pe++,DOCTYPE_DTD:Pe++,DOCTYPE_DTD_QUOTED:Pe++,COMMENT_STARTING:Pe++,COMMENT:Pe++,COMMENT_ENDING:Pe++,COMMENT_ENDED:Pe++,CDATA:Pe++,CDATA_ENDING:Pe++,CDATA_ENDING_2:Pe++,PROC_INST:Pe++,PROC_INST_BODY:Pe++,PROC_INST_ENDING:Pe++,OPEN_TAG:Pe++,OPEN_TAG_SLASH:Pe++,ATTRIB:Pe++,ATTRIB_NAME:Pe++,ATTRIB_NAME_SAW_WHITE:Pe++,ATTRIB_VALUE:Pe++,ATTRIB_VALUE_QUOTED:Pe++,ATTRIB_VALUE_CLOSED:Pe++,ATTRIB_VALUE_UNQUOTED:Pe++,ATTRIB_VALUE_ENTITY_Q:Pe++,ATTRIB_VALUE_ENTITY_U:Pe++,CLOSE_TAG:Pe++,CLOSE_TAG_SAW_WHITE:Pe++,SCRIPT:Pe++,SCRIPT_ENDING:Pe++},ne.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},ne.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(ne.ENTITIES).forEach(function(st){var Ge=ne.ENTITIES[st],We=typeof Ge=="number"?String.fromCharCode(Ge):Ge;ne.ENTITIES[st]=We});for(var Ue in ne.STATE)ne.STATE[ne.STATE[Ue]]=Ue;Pe=ne.STATE;function Qe(st,Ge,We){st[Ge]&&st[Ge](We)}function tt(st,Ge,We){st.textNode&&ot(st),Qe(st,Ge,We)}function ot(st){st.textNode=lt(st.opt,st.textNode),st.textNode&&Qe(st,"ontext",st.textNode),st.textNode=""}function lt(st,Ge){return st.trim&&(Ge=Ge.trim()),st.normalize&&(Ge=Ge.replace(/\s+/g," ")),Ge}function Ve(st,Ge){return ot(st),st.trackPosition&&(Ge+=`
Line: `+st.line+`
Column: `+st.column+`
Char: `+st.c),Ge=new Error(Ge),st.error=Ge,Qe(st,"onerror",Ge),st}function Ye(st){return st.sawRoot&&!st.closedRoot&&nt(st,"Unclosed root tag"),st.state!==Pe.BEGIN&&st.state!==Pe.BEGIN_WHITESPACE&&st.state!==Pe.TEXT&&Ve(st,"Unexpected end"),ot(st),st.c="",st.closed=!0,Qe(st,"onend"),oe.call(st,st.strict,st.opt),st}function nt(st,Ge){if(typeof st!="object"||!(st instanceof oe))throw new Error("bad call to strictFail");st.strict&&Ve(st,Ge)}function dt(st){st.strict||(st.tagName=st.tagName[st.looseCase]());var Ge=st.tags[st.tags.length-1]||st,We=st.tag={name:st.tagName,attributes:{}};st.opt.xmlns&&(We.ns=Ge.ns),st.attribList.length=0,tt(st,"onopentagstart",We)}function at(st,Ge){var We=st.indexOf(":"),se=We<0?["",st]:st.split(":"),fe=se[0],ze=se[1];return Ge&&st==="xmlns"&&(fe="xmlns",ze=""),{prefix:fe,local:ze}}function et(st){if(st.strict||(st.attribName=st.attribName[st.looseCase]()),st.attribList.indexOf(st.attribName)!==-1||st.tag.attributes.hasOwnProperty(st.attribName)){st.attribName=st.attribValue="";return}if(st.opt.xmlns){var Ge=at(st.attribName,!0),We=Ge.prefix,se=Ge.local;if(We==="xmlns")if(se==="xml"&&st.attribValue!==xe)nt(st,"xml: prefix must be bound to "+xe+`
Actual: `+st.attribValue);else if(se==="xmlns"&&st.attribValue!==ye)nt(st,"xmlns: prefix must be bound to "+ye+`
Actual: `+st.attribValue);else{var fe=st.tag,ze=st.tags[st.tags.length-1]||st;fe.ns===ze.ns&&(fe.ns=Object.create(ze.ns)),fe.ns[se]=st.attribValue}st.attribList.push([st.attribName,st.attribValue])}else st.tag.attributes[st.attribName]=st.attribValue,tt(st,"onattribute",{name:st.attribName,value:st.attribValue});st.attribName=st.attribValue=""}function qe(st,Ge){if(st.opt.xmlns){var We=st.tag,se=at(st.tagName);We.prefix=se.prefix,We.local=se.local,We.uri=We.ns[se.prefix]||"",We.prefix&&!We.uri&&(nt(st,"Unbound namespace prefix: "+JSON.stringify(st.tagName)),We.uri=se.prefix);var fe=st.tags[st.tags.length-1]||st;We.ns&&fe.ns!==We.ns&&Object.keys(We.ns).forEach(function(Dt){tt(st,"onopennamespace",{prefix:Dt,uri:We.ns[Dt]})});for(var ze=0,He=st.attribList.length;ze<He;ze++){var pe=st.attribList[ze],Be=pe[0],Ke=pe[1],Xe=at(Be,!0),Je=Xe.prefix,ut=Xe.local,bt=Je===""?"":We.ns[Je]||"",gt={name:Be,value:Ke,prefix:Je,local:ut,uri:bt};Je&&Je!=="xmlns"&&!bt&&(nt(st,"Unbound namespace prefix: "+JSON.stringify(Je)),gt.uri=Je),st.tag.attributes[Be]=gt,tt(st,"onattribute",gt)}st.attribList.length=0}st.tag.isSelfClosing=!!Ge,st.sawRoot=!0,st.tags.push(st.tag),tt(st,"onopentag",st.tag),Ge||(!st.noscript&&st.tagName.toLowerCase()==="script"?st.state=Pe.SCRIPT:st.state=Pe.TEXT,st.tag=null,st.tagName=""),st.attribName=st.attribValue="",st.attribList.length=0}function it(st){if(!st.tagName){nt(st,"Weird empty close tag."),st.textNode+="</>",st.state=Pe.TEXT;return}if(st.script){if(st.tagName!=="script"){st.script+="</"+st.tagName+">",st.tagName="",st.state=Pe.SCRIPT;return}tt(st,"onscript",st.script),st.script=""}var Ge=st.tags.length,We=st.tagName;st.strict||(We=We[st.looseCase]());for(var se=We;Ge--;){var fe=st.tags[Ge];if(fe.name!==se)nt(st,"Unexpected close tag");else break}if(Ge<0){nt(st,"Unmatched closing tag: "+st.tagName),st.textNode+="</"+st.tagName+">",st.state=Pe.TEXT;return}st.tagName=We;for(var ze=st.tags.length;ze-- >Ge;){var He=st.tag=st.tags.pop();st.tagName=st.tag.name,tt(st,"onclosetag",st.tagName);var pe={};for(var Be in He.ns)pe[Be]=He.ns[Be];var Ke=st.tags[st.tags.length-1]||st;st.opt.xmlns&&He.ns!==Ke.ns&&Object.keys(He.ns).forEach(function(Xe){var Je=He.ns[Xe];tt(st,"onclosenamespace",{prefix:Xe,uri:Je})})}Ge===0&&(st.closedRoot=!0),st.tagName=st.attribValue=st.attribName="",st.attribList.length=0,st.state=Pe.TEXT}function yt(st){var Ge=st.entity,We=Ge.toLowerCase(),se,fe="";return st.ENTITIES[Ge]?st.ENTITIES[Ge]:st.ENTITIES[We]?st.ENTITIES[We]:(Ge=We,Ge.charAt(0)==="#"&&(Ge.charAt(1)==="x"?(Ge=Ge.slice(2),se=parseInt(Ge,16),fe=se.toString(16)):(Ge=Ge.slice(1),se=parseInt(Ge,10),fe=se.toString(10))),Ge=Ge.replace(/^0+/,""),isNaN(se)||fe.toLowerCase()!==Ge?(nt(st,"Invalid character entity"),"&"+st.entity+";"):String.fromCodePoint(se))}function ht(st,Ge){Ge==="<"?(st.state=Pe.OPEN_WAKA,st.startTagPosition=st.position):Oe(Ge)||(nt(st,"Non-whitespace before first tag."),st.textNode=Ge,st.state=Pe.TEXT)}function Bt(st,Ge){var We="";return Ge<st.length&&(We=st.charAt(Ge)),We}function Et(st){var Ge=this;if(this.error)throw this.error;if(Ge.closed)return Ve(Ge,"Cannot write after close. Assign an onready handler.");if(st===null)return Ye(Ge);typeof st=="object"&&(st=st.toString());for(var We=0,se="";se=Bt(st,We++),Ge.c=se,!!se;)switch(Ge.trackPosition&&(Ge.position++,se===`
`?(Ge.line++,Ge.column=0):Ge.column++),Ge.state){case Pe.BEGIN:if(Ge.state=Pe.BEGIN_WHITESPACE,se==="\uFEFF")continue;ht(Ge,se);continue;case Pe.BEGIN_WHITESPACE:ht(Ge,se);continue;case Pe.TEXT:if(Ge.sawRoot&&!Ge.closedRoot){for(var fe=We-1;se&&se!=="<"&&se!=="&";)se=Bt(st,We++),se&&Ge.trackPosition&&(Ge.position++,se===`
`?(Ge.line++,Ge.column=0):Ge.column++);Ge.textNode+=st.substring(fe,We-1)}se==="<"&&!(Ge.sawRoot&&Ge.closedRoot&&!Ge.strict)?(Ge.state=Pe.OPEN_WAKA,Ge.startTagPosition=Ge.position):(!Oe(se)&&(!Ge.sawRoot||Ge.closedRoot)&&nt(Ge,"Text data outside of root node."),se==="&"?Ge.state=Pe.TEXT_ENTITY:Ge.textNode+=se);continue;case Pe.SCRIPT:se==="<"?Ge.state=Pe.SCRIPT_ENDING:Ge.script+=se;continue;case Pe.SCRIPT_ENDING:se==="/"?Ge.state=Pe.CLOSE_TAG:(Ge.script+="<"+se,Ge.state=Pe.SCRIPT);continue;case Pe.OPEN_WAKA:if(se==="!")Ge.state=Pe.SGML_DECL,Ge.sgmlDecl="";else if(!Oe(se))if(je(Le,se))Ge.state=Pe.OPEN_TAG,Ge.tagName=se;else if(se==="/")Ge.state=Pe.CLOSE_TAG,Ge.tagName="";else if(se==="?")Ge.state=Pe.PROC_INST,Ge.procInstName=Ge.procInstBody="";else{if(nt(Ge,"Unencoded <"),Ge.startTagPosition+1<Ge.position){var ze=Ge.position-Ge.startTagPosition;se=new Array(ze).join(" ")+se}Ge.textNode+="<"+se,Ge.state=Pe.TEXT}continue;case Pe.SGML_DECL:(Ge.sgmlDecl+se).toUpperCase()===we?(tt(Ge,"onopencdata"),Ge.state=Pe.CDATA,Ge.sgmlDecl="",Ge.cdata=""):Ge.sgmlDecl+se==="--"?(Ge.state=Pe.COMMENT,Ge.comment="",Ge.sgmlDecl=""):(Ge.sgmlDecl+se).toUpperCase()===Se?(Ge.state=Pe.DOCTYPE,(Ge.doctype||Ge.sawRoot)&&nt(Ge,"Inappropriately located doctype declaration"),Ge.doctype="",Ge.sgmlDecl=""):se===">"?(tt(Ge,"onsgmldeclaration",Ge.sgmlDecl),Ge.sgmlDecl="",Ge.state=Pe.TEXT):(Ce(se)&&(Ge.state=Pe.SGML_DECL_QUOTED),Ge.sgmlDecl+=se);continue;case Pe.SGML_DECL_QUOTED:se===Ge.q&&(Ge.state=Pe.SGML_DECL,Ge.q=""),Ge.sgmlDecl+=se;continue;case Pe.DOCTYPE:se===">"?(Ge.state=Pe.TEXT,tt(Ge,"ondoctype",Ge.doctype),Ge.doctype=!0):(Ge.doctype+=se,se==="["?Ge.state=Pe.DOCTYPE_DTD:Ce(se)&&(Ge.state=Pe.DOCTYPE_QUOTED,Ge.q=se));continue;case Pe.DOCTYPE_QUOTED:Ge.doctype+=se,se===Ge.q&&(Ge.q="",Ge.state=Pe.DOCTYPE);continue;case Pe.DOCTYPE_DTD:Ge.doctype+=se,se==="]"?Ge.state=Pe.DOCTYPE:Ce(se)&&(Ge.state=Pe.DOCTYPE_DTD_QUOTED,Ge.q=se);continue;case Pe.DOCTYPE_DTD_QUOTED:Ge.doctype+=se,se===Ge.q&&(Ge.state=Pe.DOCTYPE_DTD,Ge.q="");continue;case Pe.COMMENT:se==="-"?Ge.state=Pe.COMMENT_ENDING:Ge.comment+=se;continue;case Pe.COMMENT_ENDING:se==="-"?(Ge.state=Pe.COMMENT_ENDED,Ge.comment=lt(Ge.opt,Ge.comment),Ge.comment&&tt(Ge,"oncomment",Ge.comment),Ge.comment=""):(Ge.comment+="-"+se,Ge.state=Pe.COMMENT);continue;case Pe.COMMENT_ENDED:se!==">"?(nt(Ge,"Malformed comment"),Ge.comment+="--"+se,Ge.state=Pe.COMMENT):Ge.state=Pe.TEXT;continue;case Pe.CDATA:se==="]"?Ge.state=Pe.CDATA_ENDING:Ge.cdata+=se;continue;case Pe.CDATA_ENDING:se==="]"?Ge.state=Pe.CDATA_ENDING_2:(Ge.cdata+="]"+se,Ge.state=Pe.CDATA);continue;case Pe.CDATA_ENDING_2:se===">"?(Ge.cdata&&tt(Ge,"oncdata",Ge.cdata),tt(Ge,"onclosecdata"),Ge.cdata="",Ge.state=Pe.TEXT):se==="]"?Ge.cdata+="]":(Ge.cdata+="]]"+se,Ge.state=Pe.CDATA);continue;case Pe.PROC_INST:se==="?"?Ge.state=Pe.PROC_INST_ENDING:Oe(se)?Ge.state=Pe.PROC_INST_BODY:Ge.procInstName+=se;continue;case Pe.PROC_INST_BODY:if(!Ge.procInstBody&&Oe(se))continue;se==="?"?Ge.state=Pe.PROC_INST_ENDING:Ge.procInstBody+=se;continue;case Pe.PROC_INST_ENDING:se===">"?(tt(Ge,"onprocessinginstruction",{name:Ge.procInstName,body:Ge.procInstBody}),Ge.procInstName=Ge.procInstBody="",Ge.state=Pe.TEXT):(Ge.procInstBody+="?"+se,Ge.state=Pe.PROC_INST_BODY);continue;case Pe.OPEN_TAG:je(Ee,se)?Ge.tagName+=se:(dt(Ge),se===">"?qe(Ge):se==="/"?Ge.state=Pe.OPEN_TAG_SLASH:(Oe(se)||nt(Ge,"Invalid character in tag name"),Ge.state=Pe.ATTRIB));continue;case Pe.OPEN_TAG_SLASH:se===">"?(qe(Ge,!0),it(Ge)):(nt(Ge,"Forward-slash in opening tag not followed by >"),Ge.state=Pe.ATTRIB);continue;case Pe.ATTRIB:if(Oe(se))continue;se===">"?qe(Ge):se==="/"?Ge.state=Pe.OPEN_TAG_SLASH:je(Le,se)?(Ge.attribName=se,Ge.attribValue="",Ge.state=Pe.ATTRIB_NAME):nt(Ge,"Invalid attribute name");continue;case Pe.ATTRIB_NAME:se==="="?Ge.state=Pe.ATTRIB_VALUE:se===">"?(nt(Ge,"Attribute without value"),Ge.attribValue=Ge.attribName,et(Ge),qe(Ge)):Oe(se)?Ge.state=Pe.ATTRIB_NAME_SAW_WHITE:je(Ee,se)?Ge.attribName+=se:nt(Ge,"Invalid attribute name");continue;case Pe.ATTRIB_NAME_SAW_WHITE:if(se==="=")Ge.state=Pe.ATTRIB_VALUE;else{if(Oe(se))continue;nt(Ge,"Attribute without value"),Ge.tag.attributes[Ge.attribName]="",Ge.attribValue="",tt(Ge,"onattribute",{name:Ge.attribName,value:""}),Ge.attribName="",se===">"?qe(Ge):je(Le,se)?(Ge.attribName=se,Ge.state=Pe.ATTRIB_NAME):(nt(Ge,"Invalid attribute name"),Ge.state=Pe.ATTRIB)}continue;case Pe.ATTRIB_VALUE:if(Oe(se))continue;Ce(se)?(Ge.q=se,Ge.state=Pe.ATTRIB_VALUE_QUOTED):(nt(Ge,"Unquoted attribute value"),Ge.state=Pe.ATTRIB_VALUE_UNQUOTED,Ge.attribValue=se);continue;case Pe.ATTRIB_VALUE_QUOTED:if(se!==Ge.q){se==="&"?Ge.state=Pe.ATTRIB_VALUE_ENTITY_Q:Ge.attribValue+=se;continue}et(Ge),Ge.q="",Ge.state=Pe.ATTRIB_VALUE_CLOSED;continue;case Pe.ATTRIB_VALUE_CLOSED:Oe(se)?Ge.state=Pe.ATTRIB:se===">"?qe(Ge):se==="/"?Ge.state=Pe.OPEN_TAG_SLASH:je(Le,se)?(nt(Ge,"No whitespace between attributes"),Ge.attribName=se,Ge.attribValue="",Ge.state=Pe.ATTRIB_NAME):nt(Ge,"Invalid attribute name");continue;case Pe.ATTRIB_VALUE_UNQUOTED:if(!Ne(se)){se==="&"?Ge.state=Pe.ATTRIB_VALUE_ENTITY_U:Ge.attribValue+=se;continue}et(Ge),se===">"?qe(Ge):Ge.state=Pe.ATTRIB;continue;case Pe.CLOSE_TAG:if(Ge.tagName)se===">"?it(Ge):je(Ee,se)?Ge.tagName+=se:Ge.script?(Ge.script+="</"+Ge.tagName,Ge.tagName="",Ge.state=Pe.SCRIPT):(Oe(se)||nt(Ge,"Invalid tagname in closing tag"),Ge.state=Pe.CLOSE_TAG_SAW_WHITE);else{if(Oe(se))continue;Ze(Le,se)?Ge.script?(Ge.script+="</"+se,Ge.state=Pe.SCRIPT):nt(Ge,"Invalid tagname in closing tag."):Ge.tagName=se}continue;case Pe.CLOSE_TAG_SAW_WHITE:if(Oe(se))continue;se===">"?it(Ge):nt(Ge,"Invalid characters in closing tag");continue;case Pe.TEXT_ENTITY:case Pe.ATTRIB_VALUE_ENTITY_Q:case Pe.ATTRIB_VALUE_ENTITY_U:var He,pe;switch(Ge.state){case Pe.TEXT_ENTITY:He=Pe.TEXT,pe="textNode";break;case Pe.ATTRIB_VALUE_ENTITY_Q:He=Pe.ATTRIB_VALUE_QUOTED,pe="attribValue";break;case Pe.ATTRIB_VALUE_ENTITY_U:He=Pe.ATTRIB_VALUE_UNQUOTED,pe="attribValue";break}se===";"?(Ge[pe]+=yt(Ge),Ge.entity="",Ge.state=He):je(Ge.entity.length?Me:_e,se)?Ge.entity+=se:(nt(Ge,"Invalid character in entity name"),Ge[pe]+="&"+Ge.entity+se,Ge.entity="",Ge.state=He);continue;default:throw new Error(Ge,"Unknown state: "+Ge.state)}return Ge.position>=Ge.bufferCheckPosition&&le(Ge),Ge}String.fromCodePoint||function(){var st=String.fromCharCode,Ge=Math.floor,We=function(){var se=16384,fe=[],ze,He,pe=-1,Be=arguments.length;if(!Be)return"";for(var Ke="";++pe<Be;){var Xe=Number(arguments[pe]);if(!isFinite(Xe)||Xe<0||Xe>1114111||Ge(Xe)!==Xe)throw RangeError("Invalid code point: "+Xe);Xe<=65535?fe.push(Xe):(Xe-=65536,ze=(Xe>>10)+55296,He=Xe%1024+56320,fe.push(ze,He)),(pe+1===Be||fe.length>se)&&(Ke+=st.apply(null,fe),fe.length=0)}return Ke};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:We,configurable:!0,writable:!0}):String.fromCodePoint=We}()})(typeof ve=="undefined"?this.sax={}:ve)}).call(this)}).call(this,x("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(x,De,ve){De.exports=ie;var re=x("events").EventEmitter,ne=x("inherits");ne(ie,re),ie.Readable=x("readable-stream/lib/_stream_readable.js"),ie.Writable=x("readable-stream/lib/_stream_writable.js"),ie.Duplex=x("readable-stream/lib/_stream_duplex.js"),ie.Transform=x("readable-stream/lib/_stream_transform.js"),ie.PassThrough=x("readable-stream/lib/_stream_passthrough.js"),ie.finished=x("readable-stream/lib/internal/streams/end-of-stream.js"),ie.pipeline=x("readable-stream/lib/internal/streams/pipeline.js"),ie.Stream=ie;function ie(){re.call(this)}ie.prototype.pipe=function(oe,le){var me=this;function te(xe){oe.writable&&oe.write(xe)===!1&&me.pause&&me.pause()}me.on("data",te);function ae(){me.readable&&me.resume&&me.resume()}oe.on("drain",ae),!oe._isStdio&&(!le||le.end!==!1)&&(me.on("end",de),me.on("close",he));var ue=!1;function de(){ue||(ue=!0,oe.end())}function he(){ue||(ue=!0,typeof oe.destroy=="function"&&oe.destroy())}function we(xe){if(Se(),re.listenerCount(this,"error")===0)throw xe}me.on("error",we),oe.on("error",we);function Se(){me.removeListener("data",te),oe.removeListener("drain",ae),me.removeListener("end",de),me.removeListener("close",he),me.removeListener("error",we),oe.removeListener("error",we),me.removeListener("end",Se),me.removeListener("close",Se),oe.removeListener("close",Se)}return me.on("end",Se),me.on("close",Se),oe.on("close",Se),oe.emit("pipe",me),oe}},{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,De,ve){"use strict";function re(ae,ue){ae.prototype=Object.create(ue.prototype),ae.prototype.constructor=ae,ae.__proto__=ue}var ne={};function ie(ae,ue,de){de||(de=Error);function he(Se,xe,ye){return typeof ue=="string"?ue:ue(Se,xe,ye)}var we=function(Se){re(xe,Se);function xe(ye,Ae,Le){return Se.call(this,he(ye,Ae,Le))||this}return xe}(de);we.prototype.name=de.name,we.prototype.code=ae,ne[ae]=we}function oe(ae,ue){if(Array.isArray(ae)){var de=ae.length;return ae=ae.map(function(he){return String(he)}),de>2?"one of ".concat(ue," ").concat(ae.slice(0,de-1).join(", "),", or ")+ae[de-1]:de===2?"one of ".concat(ue," ").concat(ae[0]," or ").concat(ae[1]):"of ".concat(ue," ").concat(ae[0])}else return"of ".concat(ue," ").concat(String(ae))}function le(ae,ue,de){return ae.substr(!de||de<0?0:+de,ue.length)===ue}function me(ae,ue,de){return(de===void 0||de>ae.length)&&(de=ae.length),ae.substring(de-ue.length,de)===ue}function te(ae,ue,de){return typeof de!="number"&&(de=0),de+ue.length>ae.length?!1:ae.indexOf(ue,de)!==-1}ie("ERR_INVALID_OPT_VALUE",function(ae,ue){return'The value "'+ue+'" is invalid for option "'+ae+'"'},TypeError),ie("ERR_INVALID_ARG_TYPE",function(ae,ue,de){var he;typeof ue=="string"&&le(ue,"not ")?(he="must not be",ue=ue.replace(/^not /,"")):he="must be";var we;if(me(ae," argument"))we="The ".concat(ae," ").concat(he," ").concat(oe(ue,"type"));else{var Se=te(ae,".")?"property":"argument";we='The "'.concat(ae,'" ').concat(Se," ").concat(he," ").concat(oe(ue,"type"))}return we+=". Received type ".concat(typeof de),we},TypeError),ie("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),ie("ERR_METHOD_NOT_IMPLEMENTED",function(ae){return"The "+ae+" method is not implemented"}),ie("ERR_STREAM_PREMATURE_CLOSE","Premature close"),ie("ERR_STREAM_DESTROYED",function(ae){return"Cannot call "+ae+" after a stream was destroyed"}),ie("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),ie("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),ie("ERR_STREAM_WRITE_AFTER_END","write after end"),ie("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),ie("ERR_UNKNOWN_ENCODING",function(ae){return"Unknown encoding: "+ae},TypeError),ie("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),De.exports.codes=ne},{}],400:[function(x,De,ve){(function(re){(function(){"use strict";var ne=Object.keys||function(he){var we=[];for(var Se in he)we.push(Se);return we};De.exports=ae;var ie=x("./_stream_readable"),oe=x("./_stream_writable");x("inherits")(ae,ie);for(var le=ne(oe.prototype),me=0;me<le.length;me++){var te=le[me];ae.prototype[te]||(ae.prototype[te]=oe.prototype[te])}function ae(he){if(!(this instanceof ae))return new ae(he);ie.call(this,he),oe.call(this,he),this.allowHalfOpen=!0,he&&(he.readable===!1&&(this.readable=!1),he.writable===!1&&(this.writable=!1),he.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",ue)))}Object.defineProperty(ae.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(ae.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(ae.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ue(){this._writableState.ended||re.nextTick(de,this)}function de(he){he.end()}Object.defineProperty(ae.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(we){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=we,this._writableState.destroyed=we)}})}).call(this)}).call(this,x("_process"))},{"./_stream_readable":402,"./_stream_writable":404,_process:467,inherits:364}],401:[function(x,De,ve){"use strict";De.exports=ne;var re=x("./_stream_transform");x("inherits")(ne,re);function ne(ie){if(!(this instanceof ne))return new ne(ie);re.call(this,ie)}ne.prototype._transform=function(ie,oe,le){le(null,ie)}},{"./_stream_transform":403,inherits:364}],402:[function(x,De,ve){(function(re,ne){(function(){"use strict";De.exports=tt;var ie;tt.ReadableState=Qe;var oe=x("events").EventEmitter,le=function(Be,Ke){return Be.listeners(Ke).length},me=x("./internal/streams/stream"),te=x("buffer").Buffer,ae=(typeof ne!="undefined"?ne:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function ue(pe){return te.from(pe)}function de(pe){return te.isBuffer(pe)||pe instanceof ae}var he=x("util"),we;he&&he.debuglog?we=he.debuglog("stream"):we=function(){};var Se=x("./internal/streams/buffer_list"),xe=x("./internal/streams/destroy"),ye=x("./internal/streams/state"),Ae=ye.getHighWaterMark,Le=x("../errors").codes,Ee=Le.ERR_INVALID_ARG_TYPE,_e=Le.ERR_STREAM_PUSH_AFTER_EOF,Me=Le.ERR_METHOD_NOT_IMPLEMENTED,Oe=Le.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Ce,Ne,je;x("inherits")(tt,me);var Ze=xe.errorOrDestroy,Pe=["error","close","destroy","pause","resume"];function Ue(pe,Be,Ke){if(typeof pe.prependListener=="function")return pe.prependListener(Be,Ke);!pe._events||!pe._events[Be]?pe.on(Be,Ke):Array.isArray(pe._events[Be])?pe._events[Be].unshift(Ke):pe._events[Be]=[Ke,pe._events[Be]]}function Qe(pe,Be,Ke){ie=ie||x("./_stream_duplex"),pe=pe||{},typeof Ke!="boolean"&&(Ke=Be instanceof ie),this.objectMode=!!pe.objectMode,Ke&&(this.objectMode=this.objectMode||!!pe.readableObjectMode),this.highWaterMark=Ae(this,pe,"readableHighWaterMark",Ke),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=pe.emitClose!==!1,this.autoDestroy=!!pe.autoDestroy,this.destroyed=!1,this.defaultEncoding=pe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,pe.encoding&&(Ce||(Ce=x("string_decoder/").StringDecoder),this.decoder=new Ce(pe.encoding),this.encoding=pe.encoding)}function tt(pe){if(ie=ie||x("./_stream_duplex"),!(this instanceof tt))return new tt(pe);var Be=this instanceof ie;this._readableState=new Qe(pe,this,Be),this.readable=!0,pe&&(typeof pe.read=="function"&&(this._read=pe.read),typeof pe.destroy=="function"&&(this._destroy=pe.destroy)),me.call(this)}Object.defineProperty(tt.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Be){this._readableState&&(this._readableState.destroyed=Be)}}),tt.prototype.destroy=xe.destroy,tt.prototype._undestroy=xe.undestroy,tt.prototype._destroy=function(pe,Be){Be(pe)},tt.prototype.push=function(pe,Be){var Ke=this._readableState,Xe;return Ke.objectMode?Xe=!0:typeof pe=="string"&&(Be=Be||Ke.defaultEncoding,Be!==Ke.encoding&&(pe=te.from(pe,Be),Be=""),Xe=!0),ot(this,pe,Be,!1,Xe)},tt.prototype.unshift=function(pe){return ot(this,pe,null,!0,!1)};function ot(pe,Be,Ke,Xe,Je){we("readableAddChunk",Be);var ut=pe._readableState;if(Be===null)ut.reading=!1,at(pe,ut);else{var bt;if(Je||(bt=Ve(ut,Be)),bt)Ze(pe,bt);else if(ut.objectMode||Be&&Be.length>0)if(typeof Be!="string"&&!ut.objectMode&&Object.getPrototypeOf(Be)!==te.prototype&&(Be=ue(Be)),Xe)ut.endEmitted?Ze(pe,new Oe):lt(pe,ut,Be,!0);else if(ut.ended)Ze(pe,new _e);else{if(ut.destroyed)return!1;ut.reading=!1,ut.decoder&&!Ke?(Be=ut.decoder.write(Be),ut.objectMode||Be.length!==0?lt(pe,ut,Be,!1):it(pe,ut)):lt(pe,ut,Be,!1)}else Xe||(ut.reading=!1,it(pe,ut))}return!ut.ended&&(ut.length<ut.highWaterMark||ut.length===0)}function lt(pe,Be,Ke,Xe){Be.flowing&&Be.length===0&&!Be.sync?(Be.awaitDrain=0,pe.emit("data",Ke)):(Be.length+=Be.objectMode?1:Ke.length,Xe?Be.buffer.unshift(Ke):Be.buffer.push(Ke),Be.needReadable&&et(pe)),it(pe,Be)}function Ve(pe,Be){var Ke;return!de(Be)&&typeof Be!="string"&&Be!==void 0&&!pe.objectMode&&(Ke=new Ee("chunk",["string","Buffer","Uint8Array"],Be)),Ke}tt.prototype.isPaused=function(){return this._readableState.flowing===!1},tt.prototype.setEncoding=function(pe){Ce||(Ce=x("string_decoder/").StringDecoder);var Be=new Ce(pe);this._readableState.decoder=Be,this._readableState.encoding=this._readableState.decoder.encoding;for(var Ke=this._readableState.buffer.head,Xe="";Ke!==null;)Xe+=Be.write(Ke.data),Ke=Ke.next;return this._readableState.buffer.clear(),Xe!==""&&this._readableState.buffer.push(Xe),this._readableState.length=Xe.length,this};var Ye=1073741824;function nt(pe){return pe>=Ye?pe=Ye:(pe--,pe|=pe>>>1,pe|=pe>>>2,pe|=pe>>>4,pe|=pe>>>8,pe|=pe>>>16,pe++),pe}function dt(pe,Be){return pe<=0||Be.length===0&&Be.ended?0:Be.objectMode?1:pe!==pe?Be.flowing&&Be.length?Be.buffer.head.data.length:Be.length:(pe>Be.highWaterMark&&(Be.highWaterMark=nt(pe)),pe<=Be.length?pe:Be.ended?Be.length:(Be.needReadable=!0,0))}tt.prototype.read=function(pe){we("read",pe),pe=parseInt(pe,10);var Be=this._readableState,Ke=pe;if(pe!==0&&(Be.emittedReadable=!1),pe===0&&Be.needReadable&&((Be.highWaterMark!==0?Be.length>=Be.highWaterMark:Be.length>0)||Be.ended))return we("read: emitReadable",Be.length,Be.ended),Be.length===0&&Be.ended?fe(this):et(this),null;if(pe=dt(pe,Be),pe===0&&Be.ended)return Be.length===0&&fe(this),null;var Xe=Be.needReadable;we("need readable",Xe),(Be.length===0||Be.length-pe<Be.highWaterMark)&&(Xe=!0,we("length less than watermark",Xe)),Be.ended||Be.reading?(Xe=!1,we("reading or ended",Xe)):Xe&&(we("do read"),Be.reading=!0,Be.sync=!0,Be.length===0&&(Be.needReadable=!0),this._read(Be.highWaterMark),Be.sync=!1,Be.reading||(pe=dt(Ke,Be)));var Je;return pe>0?Je=se(pe,Be):Je=null,Je===null?(Be.needReadable=Be.length<=Be.highWaterMark,pe=0):(Be.length-=pe,Be.awaitDrain=0),Be.length===0&&(Be.ended||(Be.needReadable=!0),Ke!==pe&&Be.ended&&fe(this)),Je!==null&&this.emit("data",Je),Je};function at(pe,Be){if(we("onEofChunk"),!Be.ended){if(Be.decoder){var Ke=Be.decoder.end();Ke&&Ke.length&&(Be.buffer.push(Ke),Be.length+=Be.objectMode?1:Ke.length)}Be.ended=!0,Be.sync?et(pe):(Be.needReadable=!1,Be.emittedReadable||(Be.emittedReadable=!0,qe(pe)))}}function et(pe){var Be=pe._readableState;we("emitReadable",Be.needReadable,Be.emittedReadable),Be.needReadable=!1,Be.emittedReadable||(we("emitReadable",Be.flowing),Be.emittedReadable=!0,re.nextTick(qe,pe))}function qe(pe){var Be=pe._readableState;we("emitReadable_",Be.destroyed,Be.length,Be.ended),!Be.destroyed&&(Be.length||Be.ended)&&(pe.emit("readable"),Be.emittedReadable=!1),Be.needReadable=!Be.flowing&&!Be.ended&&Be.length<=Be.highWaterMark,We(pe)}function it(pe,Be){Be.readingMore||(Be.readingMore=!0,re.nextTick(yt,pe,Be))}function yt(pe,Be){for(;!Be.reading&&!Be.ended&&(Be.length<Be.highWaterMark||Be.flowing&&Be.length===0);){var Ke=Be.length;if(we("maybeReadMore read 0"),pe.read(0),Ke===Be.length)break}Be.readingMore=!1}tt.prototype._read=function(pe){Ze(this,new Me("_read()"))},tt.prototype.pipe=function(pe,Be){var Ke=this,Xe=this._readableState;switch(Xe.pipesCount){case 0:Xe.pipes=pe;break;case 1:Xe.pipes=[Xe.pipes,pe];break;default:Xe.pipes.push(pe);break}Xe.pipesCount+=1,we("pipe count=%d opts=%j",Xe.pipesCount,Be);var Je=(!Be||Be.end!==!1)&&pe!==re.stdout&&pe!==re.stderr,ut=Je?gt:St;Xe.endEmitted?re.nextTick(ut):Ke.once("end",ut),pe.on("unpipe",bt);function bt(Nt,Ft){we("onunpipe"),Nt===Ke&&Ft&&Ft.hasUnpiped===!1&&(Ft.hasUnpiped=!0,kt())}function gt(){we("onend"),pe.end()}var Dt=ht(Ke);pe.on("drain",Dt);var Vt=!1;function kt(){we("cleanup"),pe.removeListener("close",Mt),pe.removeListener("finish",ft),pe.removeListener("drain",Dt),pe.removeListener("error",_t),pe.removeListener("unpipe",bt),Ke.removeListener("end",gt),Ke.removeListener("end",St),Ke.removeListener("data",jt),Vt=!0,Xe.awaitDrain&&(!pe._writableState||pe._writableState.needDrain)&&Dt()}Ke.on("data",jt);function jt(Nt){we("ondata");var Ft=pe.write(Nt);we("dest.write",Ft),Ft===!1&&((Xe.pipesCount===1&&Xe.pipes===pe||Xe.pipesCount>1&&He(Xe.pipes,pe)!==-1)&&!Vt&&(we("false write response, pause",Xe.awaitDrain),Xe.awaitDrain++),Ke.pause())}function _t(Nt){we("onerror",Nt),St(),pe.removeListener("error",_t),le(pe,"error")===0&&Ze(pe,Nt)}Ue(pe,"error",_t);function Mt(){pe.removeListener("finish",ft),St()}pe.once("close",Mt);function ft(){we("onfinish"),pe.removeListener("close",Mt),St()}pe.once("finish",ft);function St(){we("unpipe"),Ke.unpipe(pe)}return pe.emit("pipe",Ke),Xe.flowing||(we("pipe resume"),Ke.resume()),pe};function ht(pe){return function(){var Ke=pe._readableState;we("pipeOnDrain",Ke.awaitDrain),Ke.awaitDrain&&Ke.awaitDrain--,Ke.awaitDrain===0&&le(pe,"data")&&(Ke.flowing=!0,We(pe))}}tt.prototype.unpipe=function(pe){var Be=this._readableState,Ke={hasUnpiped:!1};if(Be.pipesCount===0)return this;if(Be.pipesCount===1)return pe&&pe!==Be.pipes?this:(pe||(pe=Be.pipes),Be.pipes=null,Be.pipesCount=0,Be.flowing=!1,pe&&pe.emit("unpipe",this,Ke),this);if(!pe){var Xe=Be.pipes,Je=Be.pipesCount;Be.pipes=null,Be.pipesCount=0,Be.flowing=!1;for(var ut=0;ut<Je;ut++)Xe[ut].emit("unpipe",this,{hasUnpiped:!1});return this}var bt=He(Be.pipes,pe);return bt===-1?this:(Be.pipes.splice(bt,1),Be.pipesCount-=1,Be.pipesCount===1&&(Be.pipes=Be.pipes[0]),pe.emit("unpipe",this,Ke),this)},tt.prototype.on=function(pe,Be){var Ke=me.prototype.on.call(this,pe,Be),Xe=this._readableState;return pe==="data"?(Xe.readableListening=this.listenerCount("readable")>0,Xe.flowing!==!1&&this.resume()):pe==="readable"&&!Xe.endEmitted&&!Xe.readableListening&&(Xe.readableListening=Xe.needReadable=!0,Xe.flowing=!1,Xe.emittedReadable=!1,we("on readable",Xe.length,Xe.reading),Xe.length?et(this):Xe.reading||re.nextTick(Et,this)),Ke},tt.prototype.addListener=tt.prototype.on,tt.prototype.removeListener=function(pe,Be){var Ke=me.prototype.removeListener.call(this,pe,Be);return pe==="readable"&&re.nextTick(Bt,this),Ke},tt.prototype.removeAllListeners=function(pe){var Be=me.prototype.removeAllListeners.apply(this,arguments);return(pe==="readable"||pe===void 0)&&re.nextTick(Bt,this),Be};function Bt(pe){var Be=pe._readableState;Be.readableListening=pe.listenerCount("readable")>0,Be.resumeScheduled&&!Be.paused?Be.flowing=!0:pe.listenerCount("data")>0&&pe.resume()}function Et(pe){we("readable nexttick read 0"),pe.read(0)}tt.prototype.resume=function(){var pe=this._readableState;return pe.flowing||(we("resume"),pe.flowing=!pe.readableListening,st(this,pe)),pe.paused=!1,this};function st(pe,Be){Be.resumeScheduled||(Be.resumeScheduled=!0,re.nextTick(Ge,pe,Be))}function Ge(pe,Be){we("resume",Be.reading),Be.reading||pe.read(0),Be.resumeScheduled=!1,pe.emit("resume"),We(pe),Be.flowing&&!Be.reading&&pe.read(0)}tt.prototype.pause=function(){return we("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(we("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function We(pe){var Be=pe._readableState;for(we("flow",Be.flowing);Be.flowing&&pe.read()!==null;);}tt.prototype.wrap=function(pe){var Be=this,Ke=this._readableState,Xe=!1;pe.on("end",function(){if(we("wrapped end"),Ke.decoder&&!Ke.ended){var bt=Ke.decoder.end();bt&&bt.length&&Be.push(bt)}Be.push(null)}),pe.on("data",function(bt){if(we("wrapped data"),Ke.decoder&&(bt=Ke.decoder.write(bt)),!(Ke.objectMode&&bt==null)&&!(!Ke.objectMode&&(!bt||!bt.length))){var gt=Be.push(bt);gt||(Xe=!0,pe.pause())}});for(var Je in pe)this[Je]===void 0&&typeof pe[Je]=="function"&&(this[Je]=function(gt){return function(){return pe[gt].apply(pe,arguments)}}(Je));for(var ut=0;ut<Pe.length;ut++)pe.on(Pe[ut],this.emit.bind(this,Pe[ut]));return this._read=function(bt){we("wrapped _read",bt),Xe&&(Xe=!1,pe.resume())},this},typeof Symbol=="function"&&(tt.prototype[Symbol.asyncIterator]=function(){return Ne===void 0&&(Ne=x("./internal/streams/async_iterator")),Ne(this)}),Object.defineProperty(tt.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(tt.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(tt.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Be){this._readableState&&(this._readableState.flowing=Be)}}),tt._fromList=se,Object.defineProperty(tt.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function se(pe,Be){if(Be.length===0)return null;var Ke;return Be.objectMode?Ke=Be.buffer.shift():!pe||pe>=Be.length?(Be.decoder?Ke=Be.buffer.join(""):Be.buffer.length===1?Ke=Be.buffer.first():Ke=Be.buffer.concat(Be.length),Be.buffer.clear()):Ke=Be.buffer.consume(pe,Be.decoder),Ke}function fe(pe){var Be=pe._readableState;we("endReadable",Be.endEmitted),Be.endEmitted||(Be.ended=!0,re.nextTick(ze,Be,pe))}function ze(pe,Be){if(we("endReadableNT",pe.endEmitted,pe.length),!pe.endEmitted&&pe.length===0&&(pe.endEmitted=!0,Be.readable=!1,Be.emit("end"),pe.autoDestroy)){var Ke=Be._writableState;(!Ke||Ke.autoDestroy&&Ke.finished)&&Be.destroy()}}typeof Symbol=="function"&&(tt.from=function(pe,Be){return je===void 0&&(je=x("./internal/streams/from")),je(tt,pe,Be)});function He(pe,Be){for(var Ke=0,Xe=pe.length;Ke<Xe;Ke++)if(pe[Ke]===Be)return Ke;return-1}}).call(this)}).call(this,x("_process"),typeof Wt!="undefined"?Wt: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,De,ve){"use strict";De.exports=ae;var re=x("../errors").codes,ne=re.ERR_METHOD_NOT_IMPLEMENTED,ie=re.ERR_MULTIPLE_CALLBACK,oe=re.ERR_TRANSFORM_ALREADY_TRANSFORMING,le=re.ERR_TRANSFORM_WITH_LENGTH_0,me=x("./_stream_duplex");x("inherits")(ae,me);function te(he,we){var Se=this._transformState;Se.transforming=!1;var xe=Se.writecb;if(xe===null)return this.emit("error",new ie);Se.writechunk=null,Se.writecb=null,we!=null&&this.push(we),xe(he);var ye=this._readableState;ye.reading=!1,(ye.needReadable||ye.length<ye.highWaterMark)&&this._read(ye.highWaterMark)}function ae(he){if(!(this instanceof ae))return new ae(he);me.call(this,he),this._transformState={afterTransform:te.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,he&&(typeof he.transform=="function"&&(this._transform=he.transform),typeof he.flush=="function"&&(this._flush=he.flush)),this.on("prefinish",ue)}function ue(){var he=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(we,Se){de(he,we,Se)}):de(this,null,null)}ae.prototype.push=function(he,we){return this._transformState.needTransform=!1,me.prototype.push.call(this,he,we)},ae.prototype._transform=function(he,we,Se){Se(new ne("_transform()"))},ae.prototype._write=function(he,we,Se){var xe=this._transformState;if(xe.writecb=Se,xe.writechunk=he,xe.writeencoding=we,!xe.transforming){var ye=this._readableState;(xe.needTransform||ye.needReadable||ye.length<ye.highWaterMark)&&this._read(ye.highWaterMark)}},ae.prototype._read=function(he){var we=this._transformState;we.writechunk!==null&&!we.transforming?(we.transforming=!0,this._transform(we.writechunk,we.writeencoding,we.afterTransform)):we.needTransform=!0},ae.prototype._destroy=function(he,we){me.prototype._destroy.call(this,he,function(Se){we(Se)})};function de(he,we,Se){if(we)return he.emit("error",we);if(Se!=null&&he.push(Se),he._writableState.length)throw new le;if(he._transformState.transforming)throw new oe;return he.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(x,De,ve){(function(re,ne){(function(){"use strict";De.exports=Qe;function ie(We,se,fe){this.chunk=We,this.encoding=se,this.callback=fe,this.next=null}function oe(We){var se=this;this.next=null,this.entry=null,this.finish=function(){Ge(se,We)}}var le;Qe.WritableState=Pe;var me={deprecate:x("util-deprecate")},te=x("./internal/streams/stream"),ae=x("buffer").Buffer,ue=(typeof ne!="undefined"?ne:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function de(We){return ae.from(We)}function he(We){return ae.isBuffer(We)||We instanceof ue}var we=x("./internal/streams/destroy"),Se=x("./internal/streams/state"),xe=Se.getHighWaterMark,ye=x("../errors").codes,Ae=ye.ERR_INVALID_ARG_TYPE,Le=ye.ERR_METHOD_NOT_IMPLEMENTED,Ee=ye.ERR_MULTIPLE_CALLBACK,_e=ye.ERR_STREAM_CANNOT_PIPE,Me=ye.ERR_STREAM_DESTROYED,Oe=ye.ERR_STREAM_NULL_VALUES,Ce=ye.ERR_STREAM_WRITE_AFTER_END,Ne=ye.ERR_UNKNOWN_ENCODING,je=we.errorOrDestroy;x("inherits")(Qe,te);function Ze(){}function Pe(We,se,fe){le=le||x("./_stream_duplex"),We=We||{},typeof fe!="boolean"&&(fe=se instanceof le),this.objectMode=!!We.objectMode,fe&&(this.objectMode=this.objectMode||!!We.writableObjectMode),this.highWaterMark=xe(this,We,"writableHighWaterMark",fe),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ze=We.decodeStrings===!1;this.decodeStrings=!ze,this.defaultEncoding=We.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(He){at(se,He)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=We.emitClose!==!1,this.autoDestroy=!!We.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new oe(this)}Pe.prototype.getBuffer=function(){for(var se=this.bufferedRequest,fe=[];se;)fe.push(se),se=se.next;return fe},function(){try{Object.defineProperty(Pe.prototype,"buffer",{get:me.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(We){}}();var Ue;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Ue=Function.prototype[Symbol.hasInstance],Object.defineProperty(Qe,Symbol.hasInstance,{value:function(se){return Ue.call(this,se)?!0:this!==Qe?!1:se&&se._writableState instanceof Pe}})):Ue=function(se){return se instanceof this};function Qe(We){le=le||x("./_stream_duplex");var se=this instanceof le;if(!se&&!Ue.call(Qe,this))return new Qe(We);this._writableState=new Pe(We,this,se),this.writable=!0,We&&(typeof We.write=="function"&&(this._write=We.write),typeof We.writev=="function"&&(this._writev=We.writev),typeof We.destroy=="function"&&(this._destroy=We.destroy),typeof We.final=="function"&&(this._final=We.final)),te.call(this)}Qe.prototype.pipe=function(){je(this,new _e)};function tt(We,se){var fe=new Ce;je(We,fe),re.nextTick(se,fe)}function ot(We,se,fe,ze){var He;return fe===null?He=new Oe:typeof fe!="string"&&!se.objectMode&&(He=new Ae("chunk",["string","Buffer"],fe)),He?(je(We,He),re.nextTick(ze,He),!1):!0}Qe.prototype.write=function(We,se,fe){var ze=this._writableState,He=!1,pe=!ze.objectMode&&he(We);return pe&&!ae.isBuffer(We)&&(We=de(We)),typeof se=="function"&&(fe=se,se=null),pe?se="buffer":se||(se=ze.defaultEncoding),typeof fe!="function"&&(fe=Ze),ze.ending?tt(this,fe):(pe||ot(this,ze,We,fe))&&(ze.pendingcb++,He=Ve(this,ze,pe,We,se,fe)),He},Qe.prototype.cork=function(){this._writableState.corked++},Qe.prototype.uncork=function(){var We=this._writableState;We.corked&&(We.corked--,!We.writing&&!We.corked&&!We.bufferProcessing&&We.bufferedRequest&&it(this,We))},Qe.prototype.setDefaultEncoding=function(se){if(typeof se=="string"&&(se=se.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((se+"").toLowerCase())>-1))throw new Ne(se);return this._writableState.defaultEncoding=se,this},Object.defineProperty(Qe.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function lt(We,se,fe){return!We.objectMode&&We.decodeStrings!==!1&&typeof se=="string"&&(se=ae.from(se,fe)),se}Object.defineProperty(Qe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ve(We,se,fe,ze,He,pe){if(!fe){var Be=lt(se,ze,He);ze!==Be&&(fe=!0,He="buffer",ze=Be)}var Ke=se.objectMode?1:ze.length;se.length+=Ke;var Xe=se.length<se.highWaterMark;if(Xe||(se.needDrain=!0),se.writing||se.corked){var Je=se.lastBufferedRequest;se.lastBufferedRequest={chunk:ze,encoding:He,isBuf:fe,callback:pe,next:null},Je?Je.next=se.lastBufferedRequest:se.bufferedRequest=se.lastBufferedRequest,se.bufferedRequestCount+=1}else Ye(We,se,!1,Ke,ze,He,pe);return Xe}function Ye(We,se,fe,ze,He,pe,Be){se.writelen=ze,se.writecb=Be,se.writing=!0,se.sync=!0,se.destroyed?se.onwrite(new Me("write")):fe?We._writev(He,se.onwrite):We._write(He,pe,se.onwrite),se.sync=!1}function nt(We,se,fe,ze,He){--se.pendingcb,fe?(re.nextTick(He,ze),re.nextTick(Et,We,se),We._writableState.errorEmitted=!0,je(We,ze)):(He(ze),We._writableState.errorEmitted=!0,je(We,ze),Et(We,se))}function dt(We){We.writing=!1,We.writecb=null,We.length-=We.writelen,We.writelen=0}function at(We,se){var fe=We._writableState,ze=fe.sync,He=fe.writecb;if(typeof He!="function")throw new Ee;if(dt(fe),se)nt(We,fe,ze,se,He);else{var pe=yt(fe)||We.destroyed;!pe&&!fe.corked&&!fe.bufferProcessing&&fe.bufferedRequest&&it(We,fe),ze?re.nextTick(et,We,fe,pe,He):et(We,fe,pe,He)}}function et(We,se,fe,ze){fe||qe(We,se),se.pendingcb--,ze(),Et(We,se)}function qe(We,se){se.length===0&&se.needDrain&&(se.needDrain=!1,We.emit("drain"))}function it(We,se){se.bufferProcessing=!0;var fe=se.bufferedRequest;if(We._writev&&fe&&fe.next){var ze=se.bufferedRequestCount,He=new Array(ze),pe=se.corkedRequestsFree;pe.entry=fe;for(var Be=0,Ke=!0;fe;)He[Be]=fe,fe.isBuf||(Ke=!1),fe=fe.next,Be+=1;He.allBuffers=Ke,Ye(We,se,!0,se.length,He,"",pe.finish),se.pendingcb++,se.lastBufferedRequest=null,pe.next?(se.corkedRequestsFree=pe.next,pe.next=null):se.corkedRequestsFree=new oe(se),se.bufferedRequestCount=0}else{for(;fe;){var Xe=fe.chunk,Je=fe.encoding,ut=fe.callback,bt=se.objectMode?1:Xe.length;if(Ye(We,se,!1,bt,Xe,Je,ut),fe=fe.next,se.bufferedRequestCount--,se.writing)break}fe===null&&(se.lastBufferedRequest=null)}se.bufferedRequest=fe,se.bufferProcessing=!1}Qe.prototype._write=function(We,se,fe){fe(new Le("_write()"))},Qe.prototype._writev=null,Qe.prototype.end=function(We,se,fe){var ze=this._writableState;return typeof We=="function"?(fe=We,We=null,se=null):typeof se=="function"&&(fe=se,se=null),We!=null&&this.write(We,se),ze.corked&&(ze.corked=1,this.uncork()),ze.ending||st(this,ze,fe),this},Object.defineProperty(Qe.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function yt(We){return We.ending&&We.length===0&&We.bufferedRequest===null&&!We.finished&&!We.writing}function ht(We,se){We._final(function(fe){se.pendingcb--,fe&&je(We,fe),se.prefinished=!0,We.emit("prefinish"),Et(We,se)})}function Bt(We,se){!se.prefinished&&!se.finalCalled&&(typeof We._final=="function"&&!se.destroyed?(se.pendingcb++,se.finalCalled=!0,re.nextTick(ht,We,se)):(se.prefinished=!0,We.emit("prefinish")))}function Et(We,se){var fe=yt(se);if(fe&&(Bt(We,se),se.pendingcb===0&&(se.finished=!0,We.emit("finish"),se.autoDestroy))){var ze=We._readableState;(!ze||ze.autoDestroy&&ze.endEmitted)&&We.destroy()}return fe}function st(We,se,fe){se.ending=!0,Et(We,se),fe&&(se.finished?re.nextTick(fe):We.once("finish",fe)),se.ended=!0,We.writable=!1}function Ge(We,se,fe){var ze=We.entry;for(We.entry=null;ze;){var He=ze.callback;se.pendingcb--,He(fe),ze=ze.next}se.corkedRequestsFree.next=We}Object.defineProperty(Qe.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(se){this._writableState&&(this._writableState.destroyed=se)}}),Qe.prototype.destroy=we.destroy,Qe.prototype._undestroy=we.undestroy,Qe.prototype._destroy=function(We,se){se(We)}}).call(this)}).call(this,x("_process"),typeof Wt!="undefined"?Wt: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,De,ve){(function(re){(function(){"use strict";var ne;function ie(Oe,Ce,Ne){return Ce=oe(Ce),Ce in Oe?Object.defineProperty(Oe,Ce,{value:Ne,enumerable:!0,configurable:!0,writable:!0}):Oe[Ce]=Ne,Oe}function oe(Oe){var Ce=le(Oe,"string");return typeof Ce=="symbol"?Ce:String(Ce)}function le(Oe,Ce){if(typeof Oe!="object"||Oe===null)return Oe;var Ne=Oe[Symbol.toPrimitive];if(Ne!==void 0){var je=Ne.call(Oe,Ce||"default");if(typeof je!="object")return je;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ce==="string"?String:Number)(Oe)}var me=x("./end-of-stream"),te=Symbol("lastResolve"),ae=Symbol("lastReject"),ue=Symbol("error"),de=Symbol("ended"),he=Symbol("lastPromise"),we=Symbol("handlePromise"),Se=Symbol("stream");function xe(Oe,Ce){return{value:Oe,done:Ce}}function ye(Oe){var Ce=Oe[te];if(Ce!==null){var Ne=Oe[Se].read();Ne!==null&&(Oe[he]=null,Oe[te]=null,Oe[ae]=null,Ce(xe(Ne,!1)))}}function Ae(Oe){re.nextTick(ye,Oe)}function Le(Oe,Ce){return function(Ne,je){Oe.then(function(){if(Ce[de]){Ne(xe(void 0,!0));return}Ce[we](Ne,je)},je)}}var Ee=Object.getPrototypeOf(function(){}),_e=Object.setPrototypeOf((ne={get stream(){return this[Se]},next:function(){var Ce=this,Ne=this[ue];if(Ne!==null)return Promise.reject(Ne);if(this[de])return Promise.resolve(xe(void 0,!0));if(this[Se].destroyed)return new Promise(function(Ue,Qe){re.nextTick(function(){Ce[ue]?Qe(Ce[ue]):Ue(xe(void 0,!0))})});var je=this[he],Ze;if(je)Ze=new Promise(Le(je,this));else{var Pe=this[Se].read();if(Pe!==null)return Promise.resolve(xe(Pe,!1));Ze=new Promise(this[we])}return this[he]=Ze,Ze}},ie(ne,Symbol.asyncIterator,function(){return this}),ie(ne,"return",function(){var Ce=this;return new Promise(function(Ne,je){Ce[Se].destroy(null,function(Ze){if(Ze){je(Ze);return}Ne(xe(void 0,!0))})})}),ne),Ee),Me=function(Ce){var Ne,je=Object.create(_e,(Ne={},ie(Ne,Se,{value:Ce,writable:!0}),ie(Ne,te,{value:null,writable:!0}),ie(Ne,ae,{value:null,writable:!0}),ie(Ne,ue,{value:null,writable:!0}),ie(Ne,de,{value:Ce._readableState.endEmitted,writable:!0}),ie(Ne,we,{value:function(Pe,Ue){var Qe=je[Se].read();Qe?(je[he]=null,je[te]=null,je[ae]=null,Pe(xe(Qe,!1))):(je[te]=Pe,je[ae]=Ue)},writable:!0}),Ne));return je[he]=null,me(Ce,function(Ze){if(Ze&&Ze.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Pe=je[ae];Pe!==null&&(je[he]=null,je[te]=null,je[ae]=null,Pe(Ze)),je[ue]=Ze;return}var Ue=je[te];Ue!==null&&(je[he]=null,je[te]=null,je[ae]=null,Ue(xe(void 0,!0))),je[de]=!0}),Ce.on("readable",Ae.bind(null,je)),je};De.exports=Me}).call(this)}).call(this,x("_process"))},{"./end-of-stream":408,_process:467}],406:[function(x,De,ve){"use strict";function re(ye,Ae){var Le=Object.keys(ye);if(Object.getOwnPropertySymbols){var Ee=Object.getOwnPropertySymbols(ye);Ae&&(Ee=Ee.filter(function(_e){return Object.getOwnPropertyDescriptor(ye,_e).enumerable})),Le.push.apply(Le,Ee)}return Le}function ne(ye){for(var Ae=1;Ae<arguments.length;Ae++){var Le=arguments[Ae]!=null?arguments[Ae]:{};Ae%2?re(Object(Le),!0).forEach(function(Ee){ie(ye,Ee,Le[Ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ye,Object.getOwnPropertyDescriptors(Le)):re(Object(Le)).forEach(function(Ee){Object.defineProperty(ye,Ee,Object.getOwnPropertyDescriptor(Le,Ee))})}return ye}function ie(ye,Ae,Le){return Ae=te(Ae),Ae in ye?Object.defineProperty(ye,Ae,{value:Le,enumerable:!0,configurable:!0,writable:!0}):ye[Ae]=Le,ye}function oe(ye,Ae){if(!(ye instanceof Ae))throw new TypeError("Cannot call a class as a function")}function le(ye,Ae){for(var Le=0;Le<Ae.length;Le++){var Ee=Ae[Le];Ee.enumerable=Ee.enumerable||!1,Ee.configurable=!0,"value"in Ee&&(Ee.writable=!0),Object.defineProperty(ye,te(Ee.key),Ee)}}function me(ye,Ae,Le){return Ae&&le(ye.prototype,Ae),Le&&le(ye,Le),Object.defineProperty(ye,"prototype",{writable:!1}),ye}function te(ye){var Ae=ae(ye,"string");return typeof Ae=="symbol"?Ae:String(Ae)}function ae(ye,Ae){if(typeof ye!="object"||ye===null)return ye;var Le=ye[Symbol.toPrimitive];if(Le!==void 0){var Ee=Le.call(ye,Ae||"default");if(typeof Ee!="object")return Ee;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ae==="string"?String:Number)(ye)}var ue=x("buffer"),de=ue.Buffer,he=x("util"),we=he.inspect,Se=we&&we.custom||"inspect";function xe(ye,Ae,Le){de.prototype.copy.call(ye,Ae,Le)}De.exports=function(){function ye(){oe(this,ye),this.head=null,this.tail=null,this.length=0}return me(ye,[{key:"push",value:function(Le){var Ee={data:Le,next:null};this.length>0?this.tail.next=Ee:this.head=Ee,this.tail=Ee,++this.length}},{key:"unshift",value:function(Le){var Ee={data:Le,next:this.head};this.length===0&&(this.tail=Ee),this.head=Ee,++this.length}},{key:"shift",value:function(){if(this.length!==0){var Le=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,Le}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(Le){if(this.length===0)return"";for(var Ee=this.head,_e=""+Ee.data;Ee=Ee.next;)_e+=Le+Ee.data;return _e}},{key:"concat",value:function(Le){if(this.length===0)return de.alloc(0);for(var Ee=de.allocUnsafe(Le>>>0),_e=this.head,Me=0;_e;)xe(_e.data,Ee,Me),Me+=_e.data.length,_e=_e.next;return Ee}},{key:"consume",value:function(Le,Ee){var _e;return Le<this.head.data.length?(_e=this.head.data.slice(0,Le),this.head.data=this.head.data.slice(Le)):Le===this.head.data.length?_e=this.shift():_e=Ee?this._getString(Le):this._getBuffer(Le),_e}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(Le){var Ee=this.head,_e=1,Me=Ee.data;for(Le-=Me.length;Ee=Ee.next;){var Oe=Ee.data,Ce=Le>Oe.length?Oe.length:Le;if(Ce===Oe.length?Me+=Oe:Me+=Oe.slice(0,Le),Le-=Ce,Le===0){Ce===Oe.length?(++_e,Ee.next?this.head=Ee.next:this.head=this.tail=null):(this.head=Ee,Ee.data=Oe.slice(Ce));break}++_e}return this.length-=_e,Me}},{key:"_getBuffer",value:function(Le){var Ee=de.allocUnsafe(Le),_e=this.head,Me=1;for(_e.data.copy(Ee),Le-=_e.data.length;_e=_e.next;){var Oe=_e.data,Ce=Le>Oe.length?Oe.length:Le;if(Oe.copy(Ee,Ee.length-Le,0,Ce),Le-=Ce,Le===0){Ce===Oe.length?(++Me,_e.next?this.head=_e.next:this.head=this.tail=null):(this.head=_e,_e.data=Oe.slice(Ce));break}++Me}return this.length-=Me,Ee}},{key:Se,value:function(Le,Ee){return we(this,ne(ne({},Ee),{},{depth:0,customInspect:!1}))}}]),ye}()},{buffer:90,util:89}],407:[function(x,De,ve){(function(re){(function(){"use strict";function ne(ae,ue){var de=this,he=this._readableState&&this._readableState.destroyed,we=this._writableState&&this._writableState.destroyed;return he||we?(ue?ue(ae):ae&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,re.nextTick(me,this,ae)):re.nextTick(me,this,ae)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ae||null,function(Se){!ue&&Se?de._writableState?de._writableState.errorEmitted?re.nextTick(oe,de):(de._writableState.errorEmitted=!0,re.nextTick(ie,de,Se)):re.nextTick(ie,de,Se):ue?(re.nextTick(oe,de),ue(Se)):re.nextTick(oe,de)}),this)}function ie(ae,ue){me(ae,ue),oe(ae)}function oe(ae){ae._writableState&&!ae._writableState.emitClose||ae._readableState&&!ae._readableState.emitClose||ae.emit("close")}function le(){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 me(ae,ue){ae.emit("error",ue)}function te(ae,ue){var de=ae._readableState,he=ae._writableState;de&&de.autoDestroy||he&&he.autoDestroy?ae.destroy(ue):ae.emit("error",ue)}De.exports={destroy:ne,undestroy:le,errorOrDestroy:te}}).call(this)}).call(this,x("_process"))},{_process:467}],408:[function(x,De,ve){"use strict";var re=x("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function ne(me){var te=!1;return function(){if(!te){te=!0;for(var ae=arguments.length,ue=new Array(ae),de=0;de<ae;de++)ue[de]=arguments[de];me.apply(this,ue)}}}function ie(){}function oe(me){return me.setHeader&&typeof me.abort=="function"}function le(me,te,ae){if(typeof te=="function")return le(me,null,te);te||(te={}),ae=ne(ae||ie);var ue=te.readable||te.readable!==!1&&me.readable,de=te.writable||te.writable!==!1&&me.writable,he=function(){me.writable||Se()},we=me._writableState&&me._writableState.finished,Se=function(){de=!1,we=!0,ue||ae.call(me)},xe=me._readableState&&me._readableState.endEmitted,ye=function(){ue=!1,xe=!0,de||ae.call(me)},Ae=function(Me){ae.call(me,Me)},Le=function(){var Me;if(ue&&!xe)return(!me._readableState||!me._readableState.ended)&&(Me=new re),ae.call(me,Me);if(de&&!we)return(!me._writableState||!me._writableState.ended)&&(Me=new re),ae.call(me,Me)},Ee=function(){me.req.on("finish",Se)};return oe(me)?(me.on("complete",Se),me.on("abort",Le),me.req?Ee():me.on("request",Ee)):de&&!me._writableState&&(me.on("end",he),me.on("close",he)),me.on("end",ye),me.on("finish",Se),te.error!==!1&&me.on("error",Ae),me.on("close",Le),function(){me.removeListener("complete",Se),me.removeListener("abort",Le),me.removeListener("request",Ee),me.req&&me.req.removeListener("finish",Se),me.removeListener("end",he),me.removeListener("close",he),me.removeListener("finish",Se),me.removeListener("end",ye),me.removeListener("error",Ae),me.removeListener("close",Le)}}De.exports=le},{"../../../errors":399}],409:[function(x,De,ve){De.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(x,De,ve){"use strict";var re;function ne(Se){var xe=!1;return function(){xe||(xe=!0,Se.apply(void 0,arguments))}}var ie=x("../../../errors").codes,oe=ie.ERR_MISSING_ARGS,le=ie.ERR_STREAM_DESTROYED;function me(Se){if(Se)throw Se}function te(Se){return Se.setHeader&&typeof Se.abort=="function"}function ae(Se,xe,ye,Ae){Ae=ne(Ae);var Le=!1;Se.on("close",function(){Le=!0}),re===void 0&&(re=x("./end-of-stream")),re(Se,{readable:xe,writable:ye},function(_e){if(_e)return Ae(_e);Le=!0,Ae()});var Ee=!1;return function(_e){if(!Le&&!Ee){if(Ee=!0,te(Se))return Se.abort();if(typeof Se.destroy=="function")return Se.destroy();Ae(_e||new le("pipe"))}}}function ue(Se){Se()}function de(Se,xe){return Se.pipe(xe)}function he(Se){return!Se.length||typeof Se[Se.length-1]!="function"?me:Se.pop()}function we(){for(var Se=arguments.length,xe=new Array(Se),ye=0;ye<Se;ye++)xe[ye]=arguments[ye];var Ae=he(xe);if(Array.isArray(xe[0])&&(xe=xe[0]),xe.length<2)throw new oe("streams");var Le,Ee=xe.map(function(_e,Me){var Oe=Me<xe.length-1,Ce=Me>0;return ae(_e,Oe,Ce,function(Ne){Le||(Le=Ne),Ne&&Ee.forEach(ue),!Oe&&(Ee.forEach(ue),Ae(Le))})});return xe.reduce(de)}De.exports=we},{"../../../errors":399,"./end-of-stream":408}],411:[function(x,De,ve){"use strict";var re=x("../../../errors").codes.ERR_INVALID_OPT_VALUE;function ne(oe,le,me){return oe.highWaterMark!=null?oe.highWaterMark:le?oe[me]:null}function ie(oe,le,me,te){var ae=ne(le,te,me);if(ae!=null){if(!(isFinite(ae)&&Math.floor(ae)===ae)||ae<0){var ue=te?me:"highWaterMark";throw new re(ue,ae)}return Math.floor(ae)}return oe.objectMode?16:16*1024}De.exports={getHighWaterMark:ie}},{"../../../errors":399}],412:[function(x,De,ve){arguments[4][393][0].apply(ve,arguments)},{dup:393,events:344}],413:[function(x,De,ve){"use strict";var re=x("safe-buffer").Buffer,ne=re.isEncoding||function(Ee){switch(Ee=""+Ee,Ee&&Ee.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 ie(Ee){if(!Ee)return"utf8";for(var _e;;)switch(Ee){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 Ee;default:if(_e)return;Ee=(""+Ee).toLowerCase(),_e=!0}}function oe(Ee){var _e=ie(Ee);if(typeof _e!="string"&&(re.isEncoding===ne||!ne(Ee)))throw new Error("Unknown encoding: "+Ee);return _e||Ee}ve.StringDecoder=le;function le(Ee){this.encoding=oe(Ee);var _e;switch(this.encoding){case"utf16le":this.text=we,this.end=Se,_e=4;break;case"utf8":this.fillLast=ue,_e=4;break;case"base64":this.text=xe,this.end=ye,_e=3;break;default:this.write=Ae,this.end=Le;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=re.allocUnsafe(_e)}le.prototype.write=function(Ee){if(Ee.length===0)return"";var _e,Me;if(this.lastNeed){if(_e=this.fillLast(Ee),_e===void 0)return"";Me=this.lastNeed,this.lastNeed=0}else Me=0;return Me<Ee.length?_e?_e+this.text(Ee,Me):this.text(Ee,Me):_e||""},le.prototype.end=he,le.prototype.text=de,le.prototype.fillLast=function(Ee){if(this.lastNeed<=Ee.length)return Ee.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Ee.copy(this.lastChar,this.lastTotal-this.lastNeed,0,Ee.length),this.lastNeed-=Ee.length};function me(Ee){return Ee<=127?0:Ee>>5===6?2:Ee>>4===14?3:Ee>>3===30?4:Ee>>6===2?-1:-2}function te(Ee,_e,Me){var Oe=_e.length-1;if(Oe<Me)return 0;var Ce=me(_e[Oe]);return Ce>=0?(Ce>0&&(Ee.lastNeed=Ce-1),Ce):--Oe<Me||Ce===-2?0:(Ce=me(_e[Oe]),Ce>=0?(Ce>0&&(Ee.lastNeed=Ce-2),Ce):--Oe<Me||Ce===-2?0:(Ce=me(_e[Oe]),Ce>=0?(Ce>0&&(Ce===2?Ce=0:Ee.lastNeed=Ce-3),Ce):0))}function ae(Ee,_e,Me){if((_e[0]&192)!==128)return Ee.lastNeed=0,"\uFFFD";if(Ee.lastNeed>1&&_e.length>1){if((_e[1]&192)!==128)return Ee.lastNeed=1,"\uFFFD";if(Ee.lastNeed>2&&_e.length>2&&(_e[2]&192)!==128)return Ee.lastNeed=2,"\uFFFD"}}function ue(Ee){var _e=this.lastTotal-this.lastNeed,Me=ae(this,Ee,_e);if(Me!==void 0)return Me;if(this.lastNeed<=Ee.length)return Ee.copy(this.lastChar,_e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Ee.copy(this.lastChar,_e,0,Ee.length),this.lastNeed-=Ee.length}function de(Ee,_e){var Me=te(this,Ee,_e);if(!this.lastNeed)return Ee.toString("utf8",_e);this.lastTotal=Me;var Oe=Ee.length-(Me-this.lastNeed);return Ee.copy(this.lastChar,0,Oe),Ee.toString("utf8",_e,Oe)}function he(Ee){var _e=Ee&&Ee.length?this.write(Ee):"";return this.lastNeed?_e+"\uFFFD":_e}function we(Ee,_e){if((Ee.length-_e)%2===0){var Me=Ee.toString("utf16le",_e);if(Me){var Oe=Me.charCodeAt(Me.length-1);if(Oe>=55296&&Oe<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Ee[Ee.length-2],this.lastChar[1]=Ee[Ee.length-1],Me.slice(0,-1)}return Me}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Ee[Ee.length-1],Ee.toString("utf16le",_e,Ee.length-1)}function Se(Ee){var _e=Ee&&Ee.length?this.write(Ee):"";if(this.lastNeed){var Me=this.lastTotal-this.lastNeed;return _e+this.lastChar.toString("utf16le",0,Me)}return _e}function xe(Ee,_e){var Me=(Ee.length-_e)%3;return Me===0?Ee.toString("base64",_e):(this.lastNeed=3-Me,this.lastTotal=3,Me===1?this.lastChar[0]=Ee[Ee.length-1]:(this.lastChar[0]=Ee[Ee.length-2],this.lastChar[1]=Ee[Ee.length-1]),Ee.toString("base64",_e,Ee.length-Me))}function ye(Ee){var _e=Ee&&Ee.length?this.write(Ee):"";return this.lastNeed?_e+this.lastChar.toString("base64",0,3-this.lastNeed):_e}function Ae(Ee){return Ee.toString(this.encoding)}function Le(Ee){return Ee&&Ee.length?this.write(Ee):""}},{"safe-buffer":396}],414:[function(x,De,ve){(function(re,ne){(function(){var ie=x("process/browser.js").nextTick,oe=Function.prototype.apply,le=Array.prototype.slice,me={},te=0;ve.setTimeout=function(){return new ae(oe.call(setTimeout,window,arguments),clearTimeout)},ve.setInterval=function(){return new ae(oe.call(setInterval,window,arguments),clearInterval)},ve.clearTimeout=ve.clearInterval=function(ue){ue.close()};function ae(ue,de){this._id=ue,this._clearFn=de}ae.prototype.unref=ae.prototype.ref=function(){},ae.prototype.close=function(){this._clearFn.call(window,this._id)},ve.enroll=function(ue,de){clearTimeout(ue._idleTimeoutId),ue._idleTimeout=de},ve.unenroll=function(ue){clearTimeout(ue._idleTimeoutId),ue._idleTimeout=-1},ve._unrefActive=ve.active=function(ue){clearTimeout(ue._idleTimeoutId);var de=ue._idleTimeout;de>=0&&(ue._idleTimeoutId=setTimeout(function(){ue._onTimeout&&ue._onTimeout()},de))},ve.setImmediate=typeof re=="function"?re:function(ue){var de=te++,he=arguments.length<2?!1:le.call(arguments,1);return me[de]=!0,ie(function(){me[de]&&(he?ue.apply(null,he):ue.call(null),ve.clearImmediate(de))}),de},ve.clearImmediate=typeof ne=="function"?ne:function(ue){delete me[ue]}}).call(this)}).call(this,x("timers").setImmediate,x("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(x,De,ve){var re=x("buffer").Buffer;De.exports=function(ne){if(ne instanceof Uint8Array){if(ne.byteOffset===0&&ne.byteLength===ne.buffer.byteLength)return ne.buffer;if(typeof ne.buffer.slice=="function")return ne.buffer.slice(ne.byteOffset,ne.byteOffset+ne.byteLength)}if(re.isBuffer(ne)){for(var ie=new Uint8Array(ne.length),oe=ne.length,le=0;le<oe;le++)ie[le]=ne[le];return ie.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(x,De,ve){(function(re){(function(){De.exports=ne;function ne(oe,le){if(ie("noDeprecation"))return oe;var me=!1;function te(){if(!me){if(ie("throwDeprecation"))throw new Error(le);ie("traceDeprecation")?console.trace(le):console.warn(le),me=!0}return oe.apply(this,arguments)}return te}function ie(oe){try{if(!re.localStorage)return!1}catch(me){return!1}var le=re.localStorage[oe];return le==null?!1:String(le).toLowerCase()==="true"}}).call(this)}).call(this,typeof Wt!="undefined"?Wt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(x,De,ve){arguments[4][84][0].apply(ve,arguments)},{dup:84}],418:[function(x,De,ve){"use strict";var re=x("is-arguments"),ne=x("is-generator-function"),ie=x("which-typed-array"),oe=x("is-typed-array");function le(Je){return Je.call.bind(Je)}var me=typeof BigInt!="undefined",te=typeof Symbol!="undefined",ae=le(Object.prototype.toString),ue=le(Number.prototype.valueOf),de=le(String.prototype.valueOf),he=le(Boolean.prototype.valueOf);if(me)var we=le(BigInt.prototype.valueOf);if(te)var Se=le(Symbol.prototype.valueOf);function xe(Je,ut){if(typeof Je!="object")return!1;try{return ut(Je),!0}catch(bt){return!1}}ve.isArgumentsObject=re,ve.isGeneratorFunction=ne,ve.isTypedArray=oe;function ye(Je){return typeof Promise!="undefined"&&Je instanceof Promise||Je!==null&&typeof Je=="object"&&typeof Je.then=="function"&&typeof Je.catch=="function"}ve.isPromise=ye;function Ae(Je){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(Je):oe(Je)||it(Je)}ve.isArrayBufferView=Ae;function Le(Je){return ie(Je)==="Uint8Array"}ve.isUint8Array=Le;function Ee(Je){return ie(Je)==="Uint8ClampedArray"}ve.isUint8ClampedArray=Ee;function _e(Je){return ie(Je)==="Uint16Array"}ve.isUint16Array=_e;function Me(Je){return ie(Je)==="Uint32Array"}ve.isUint32Array=Me;function Oe(Je){return ie(Je)==="Int8Array"}ve.isInt8Array=Oe;function Ce(Je){return ie(Je)==="Int16Array"}ve.isInt16Array=Ce;function Ne(Je){return ie(Je)==="Int32Array"}ve.isInt32Array=Ne;function je(Je){return ie(Je)==="Float32Array"}ve.isFloat32Array=je;function Ze(Je){return ie(Je)==="Float64Array"}ve.isFloat64Array=Ze;function Pe(Je){return ie(Je)==="BigInt64Array"}ve.isBigInt64Array=Pe;function Ue(Je){return ie(Je)==="BigUint64Array"}ve.isBigUint64Array=Ue;function Qe(Je){return ae(Je)==="[object Map]"}Qe.working=typeof Map!="undefined"&&Qe(new Map);function tt(Je){return typeof Map=="undefined"?!1:Qe.working?Qe(Je):Je instanceof Map}ve.isMap=tt;function ot(Je){return ae(Je)==="[object Set]"}ot.working=typeof Set!="undefined"&&ot(new Set);function lt(Je){return typeof Set=="undefined"?!1:ot.working?ot(Je):Je instanceof Set}ve.isSet=lt;function Ve(Je){return ae(Je)==="[object WeakMap]"}Ve.working=typeof WeakMap!="undefined"&&Ve(new WeakMap);function Ye(Je){return typeof WeakMap=="undefined"?!1:Ve.working?Ve(Je):Je instanceof WeakMap}ve.isWeakMap=Ye;function nt(Je){return ae(Je)==="[object WeakSet]"}nt.working=typeof WeakSet!="undefined"&&nt(new WeakSet);function dt(Je){return nt(Je)}ve.isWeakSet=dt;function at(Je){return ae(Je)==="[object ArrayBuffer]"}at.working=typeof ArrayBuffer!="undefined"&&at(new ArrayBuffer);function et(Je){return typeof ArrayBuffer=="undefined"?!1:at.working?at(Je):Je instanceof ArrayBuffer}ve.isArrayBuffer=et;function qe(Je){return ae(Je)==="[object DataView]"}qe.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&qe(new DataView(new ArrayBuffer(1),0,1));function it(Je){return typeof DataView=="undefined"?!1:qe.working?qe(Je):Je instanceof DataView}ve.isDataView=it;var yt=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function ht(Je){return ae(Je)==="[object SharedArrayBuffer]"}function Bt(Je){return typeof yt=="undefined"?!1:(typeof ht.working=="undefined"&&(ht.working=ht(new yt)),ht.working?ht(Je):Je instanceof yt)}ve.isSharedArrayBuffer=Bt;function Et(Je){return ae(Je)==="[object AsyncFunction]"}ve.isAsyncFunction=Et;function st(Je){return ae(Je)==="[object Map Iterator]"}ve.isMapIterator=st;function Ge(Je){return ae(Je)==="[object Set Iterator]"}ve.isSetIterator=Ge;function We(Je){return ae(Je)==="[object Generator]"}ve.isGeneratorObject=We;function se(Je){return ae(Je)==="[object WebAssembly.Module]"}ve.isWebAssemblyCompiledModule=se;function fe(Je){return xe(Je,ue)}ve.isNumberObject=fe;function ze(Je){return xe(Je,de)}ve.isStringObject=ze;function He(Je){return xe(Je,he)}ve.isBooleanObject=He;function pe(Je){return me&&xe(Je,we)}ve.isBigIntObject=pe;function Be(Je){return te&&xe(Je,Se)}ve.isSymbolObject=Be;function Ke(Je){return fe(Je)||ze(Je)||He(Je)||pe(Je)||Be(Je)}ve.isBoxedPrimitive=Ke;function Xe(Je){return typeof Uint8Array!="undefined"&&(et(Je)||Bt(Je))}ve.isAnyArrayBuffer=Xe,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Je){Object.defineProperty(ve,Je,{enumerable:!1,value:function(){throw new Error(Je+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(x,De,ve){(function(re){(function(){var ne=Object.getOwnPropertyDescriptors||function(yt){for(var ht=Object.keys(yt),Bt={},Et=0;Et<ht.length;Et++)Bt[ht[Et]]=Object.getOwnPropertyDescriptor(yt,ht[Et]);return Bt},ie=/%[sdj%]/g;ve.format=function(it){if(!Ce(it)){for(var yt=[],ht=0;ht<arguments.length;ht++)yt.push(te(arguments[ht]));return yt.join(" ")}for(var ht=1,Bt=arguments,Et=Bt.length,st=String(it).replace(ie,function(We){if(We==="%%")return"%";if(ht>=Et)return We;switch(We){case"%s":return String(Bt[ht++]);case"%d":return Number(Bt[ht++]);case"%j":try{return JSON.stringify(Bt[ht++])}catch(se){return"[Circular]"}default:return We}}),Ge=Bt[ht];ht<Et;Ge=Bt[++ht])_e(Ge)||!Pe(Ge)?st+=" "+Ge:st+=" "+te(Ge);return st},ve.deprecate=function(it,yt){if(typeof re!="undefined"&&re.noDeprecation===!0)return it;if(typeof re=="undefined")return function(){return ve.deprecate(it,yt).apply(this,arguments)};var ht=!1;function Bt(){if(!ht){if(re.throwDeprecation)throw new Error(yt);re.traceDeprecation?console.trace(yt):console.error(yt),ht=!0}return it.apply(this,arguments)}return Bt};var oe={},le=/^$/;if(re.env.NODE_DEBUG){var me=re.env.NODE_DEBUG;me=me.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),le=new RegExp("^"+me+"$","i")}ve.debuglog=function(it){if(it=it.toUpperCase(),!oe[it])if(le.test(it)){var yt=re.pid;oe[it]=function(){var ht=ve.format.apply(ve,arguments);console.error("%s %d: %s",it,yt,ht)}}else oe[it]=function(){};return oe[it]};function te(it,yt){var ht={seen:[],stylize:ue};return arguments.length>=3&&(ht.depth=arguments[2]),arguments.length>=4&&(ht.colors=arguments[3]),Ee(yt)?ht.showHidden=yt:yt&&ve._extend(ht,yt),je(ht.showHidden)&&(ht.showHidden=!1),je(ht.depth)&&(ht.depth=2),je(ht.colors)&&(ht.colors=!1),je(ht.customInspect)&&(ht.customInspect=!0),ht.colors&&(ht.stylize=ae),he(ht,it,ht.depth)}ve.inspect=te,te.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]},te.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ae(it,yt){var ht=te.styles[yt];return ht?"\x1B["+te.colors[ht][0]+"m"+it+"\x1B["+te.colors[ht][1]+"m":it}function ue(it,yt){return it}function de(it){var yt={};return it.forEach(function(ht,Bt){yt[ht]=!0}),yt}function he(it,yt,ht){if(it.customInspect&&yt&&tt(yt.inspect)&&yt.inspect!==ve.inspect&&!(yt.constructor&&yt.constructor.prototype===yt)){var Bt=yt.inspect(ht,it);return Ce(Bt)||(Bt=he(it,Bt,ht)),Bt}var Et=we(it,yt);if(Et)return Et;var st=Object.keys(yt),Ge=de(st);if(it.showHidden&&(st=Object.getOwnPropertyNames(yt)),Qe(yt)&&(st.indexOf("message")>=0||st.indexOf("description")>=0))return Se(yt);if(st.length===0){if(tt(yt)){var We=yt.name?": "+yt.name:"";return it.stylize("[Function"+We+"]","special")}if(Ze(yt))return it.stylize(RegExp.prototype.toString.call(yt),"regexp");if(Ue(yt))return it.stylize(Date.prototype.toString.call(yt),"date");if(Qe(yt))return Se(yt)}var se="",fe=!1,ze=["{","}"];if(Le(yt)&&(fe=!0,ze=["[","]"]),tt(yt)){var He=yt.name?": "+yt.name:"";se=" [Function"+He+"]"}if(Ze(yt)&&(se=" "+RegExp.prototype.toString.call(yt)),Ue(yt)&&(se=" "+Date.prototype.toUTCString.call(yt)),Qe(yt)&&(se=" "+Se(yt)),st.length===0&&(!fe||yt.length==0))return ze[0]+se+ze[1];if(ht<0)return Ze(yt)?it.stylize(RegExp.prototype.toString.call(yt),"regexp"):it.stylize("[Object]","special");it.seen.push(yt);var pe;return fe?pe=xe(it,yt,ht,Ge,st):pe=st.map(function(Be){return ye(it,yt,ht,Ge,Be,fe)}),it.seen.pop(),Ae(pe,se,ze)}function we(it,yt){if(je(yt))return it.stylize("undefined","undefined");if(Ce(yt)){var ht="'"+JSON.stringify(yt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return it.stylize(ht,"string")}if(Oe(yt))return it.stylize(""+yt,"number");if(Ee(yt))return it.stylize(""+yt,"boolean");if(_e(yt))return it.stylize("null","null")}function Se(it){return"["+Error.prototype.toString.call(it)+"]"}function xe(it,yt,ht,Bt,Et){for(var st=[],Ge=0,We=yt.length;Ge<We;++Ge)dt(yt,String(Ge))?st.push(ye(it,yt,ht,Bt,String(Ge),!0)):st.push("");return Et.forEach(function(se){se.match(/^\d+$/)||st.push(ye(it,yt,ht,Bt,se,!0))}),st}function ye(it,yt,ht,Bt,Et,st){var Ge,We,se;if(se=Object.getOwnPropertyDescriptor(yt,Et)||{value:yt[Et]},se.get?se.set?We=it.stylize("[Getter/Setter]","special"):We=it.stylize("[Getter]","special"):se.set&&(We=it.stylize("[Setter]","special")),dt(Bt,Et)||(Ge="["+Et+"]"),We||(it.seen.indexOf(se.value)<0?(_e(ht)?We=he(it,se.value,null):We=he(it,se.value,ht-1),We.indexOf(`
`)>-1&&(st?We=We.split(`
`).map(function(fe){return" "+fe}).join(`
`).slice(2):We=`
`+We.split(`
`).map(function(fe){return" "+fe}).join(`
`))):We=it.stylize("[Circular]","special")),je(Ge)){if(st&&Et.match(/^\d+$/))return We;Ge=JSON.stringify(""+Et),Ge.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Ge=Ge.slice(1,-1),Ge=it.stylize(Ge,"name")):(Ge=Ge.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Ge=it.stylize(Ge,"string"))}return Ge+": "+We}function Ae(it,yt,ht){var Bt=0,Et=it.reduce(function(st,Ge){return Bt++,Ge.indexOf(`
`)>=0&&Bt++,st+Ge.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Et>60?ht[0]+(yt===""?"":yt+`
`)+" "+it.join(`,
`)+" "+ht[1]:ht[0]+yt+" "+it.join(", ")+" "+ht[1]}ve.types=x("./support/types");function Le(it){return Array.isArray(it)}ve.isArray=Le;function Ee(it){return typeof it=="boolean"}ve.isBoolean=Ee;function _e(it){return it===null}ve.isNull=_e;function Me(it){return it==null}ve.isNullOrUndefined=Me;function Oe(it){return typeof it=="number"}ve.isNumber=Oe;function Ce(it){return typeof it=="string"}ve.isString=Ce;function Ne(it){return typeof it=="symbol"}ve.isSymbol=Ne;function je(it){return it===void 0}ve.isUndefined=je;function Ze(it){return Pe(it)&&lt(it)==="[object RegExp]"}ve.isRegExp=Ze,ve.types.isRegExp=Ze;function Pe(it){return typeof it=="object"&&it!==null}ve.isObject=Pe;function Ue(it){return Pe(it)&&lt(it)==="[object Date]"}ve.isDate=Ue,ve.types.isDate=Ue;function Qe(it){return Pe(it)&&(lt(it)==="[object Error]"||it instanceof Error)}ve.isError=Qe,ve.types.isNativeError=Qe;function tt(it){return typeof it=="function"}ve.isFunction=tt;function ot(it){return it===null||typeof it=="boolean"||typeof it=="number"||typeof it=="string"||typeof it=="symbol"||typeof it=="undefined"}ve.isPrimitive=ot,ve.isBuffer=x("./support/isBuffer");function lt(it){return Object.prototype.toString.call(it)}function Ve(it){return it<10?"0"+it.toString(10):it.toString(10)}var Ye=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function nt(){var it=new Date,yt=[Ve(it.getHours()),Ve(it.getMinutes()),Ve(it.getSeconds())].join(":");return[it.getDate(),Ye[it.getMonth()],yt].join(" ")}ve.log=function(){console.log("%s - %s",nt(),ve.format.apply(ve,arguments))},ve.inherits=x("inherits"),ve._extend=function(it,yt){if(!yt||!Pe(yt))return it;for(var ht=Object.keys(yt),Bt=ht.length;Bt--;)it[ht[Bt]]=yt[ht[Bt]];return it};function dt(it,yt){return Object.prototype.hasOwnProperty.call(it,yt)}var at=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;ve.promisify=function(yt){if(typeof yt!="function")throw new TypeError('The "original" argument must be of type Function');if(at&&yt[at]){var ht=yt[at];if(typeof ht!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(ht,at,{value:ht,enumerable:!1,writable:!1,configurable:!0}),ht}function ht(){for(var Bt,Et,st=new Promise(function(se,fe){Bt=se,Et=fe}),Ge=[],We=0;We<arguments.length;We++)Ge.push(arguments[We]);Ge.push(function(se,fe){se?Et(se):Bt(fe)});try{yt.apply(this,Ge)}catch(se){Et(se)}return st}return Object.setPrototypeOf(ht,Object.getPrototypeOf(yt)),at&&Object.defineProperty(ht,at,{value:ht,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(ht,ne(yt))},ve.promisify.custom=at;function et(it,yt){if(!it){var ht=new Error("Promise was rejected with a falsy value");ht.reason=it,it=ht}return yt(it)}function qe(it){if(typeof it!="function")throw new TypeError('The "original" argument must be of type Function');function yt(){for(var ht=[],Bt=0;Bt<arguments.length;Bt++)ht.push(arguments[Bt]);var Et=ht.pop();if(typeof Et!="function")throw new TypeError("The last argument must be of type Function");var st=this,Ge=function(){return Et.apply(st,arguments)};it.apply(this,ht).then(function(We){re.nextTick(Ge.bind(null,null,We))},function(We){re.nextTick(et.bind(null,We,Ge))})}return Object.setPrototypeOf(yt,Object.getPrototypeOf(it)),Object.defineProperties(yt,ne(it)),yt}ve.callbackify=qe}).call(this)}).call(this,x("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(x,De,ve){(function(re){(function(){"use strict";var ne=x("for-each"),ie=x("available-typed-arrays"),oe=x("call-bind"),le=x("call-bind/callBound"),me=x("gopd"),te=le("Object.prototype.toString"),ae=x("has-tostringtag/shams")(),ue=typeof globalThis=="undefined"?re:globalThis,de=ie(),he=le("String.prototype.slice"),we=Object.getPrototypeOf,Se=le("Array.prototype.indexOf",!0)||function(Ee,_e){for(var Me=0;Me<Ee.length;Me+=1)if(Ee[Me]===_e)return Me;return-1},xe={__proto__:null};ae&&me&&we?ne(de,function(Le){var Ee=new ue[Le];if(Symbol.toStringTag in Ee){var _e=we(Ee),Me=me(_e,Symbol.toStringTag);if(!Me){var Oe=we(_e);Me=me(Oe,Symbol.toStringTag)}xe["$"+Le]=oe(Me.get)}}):ne(de,function(Le){var Ee=new ue[Le];xe["$"+Le]=oe(Ee.slice)});var ye=function(Ee){var _e=!1;return ne(xe,function(Me,Oe){if(!_e)try{"$"+Me(Ee)===Oe&&(_e=he(Oe,1))}catch(Ce){}}),_e},Ae=function(Ee){var _e=!1;return ne(xe,function(Me,Oe){if(!_e)try{Me(Ee),_e=he(Oe,1)}catch(Ce){}}),_e};De.exports=function(Ee){if(!Ee||typeof Ee!="object")return!1;if(!ae){var _e=he(te(Ee),8,-1);return Se(de,_e)>-1?_e:_e!=="Object"?!1:Ae(Ee)}return me?ye(Ee):null}}).call(this)}).call(this,typeof Wt!="undefined"?Wt: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,De,ve){(function(){"use strict";ve.stripBOM=function(re){return re[0]==="\uFEFF"?re.substring(1):re}}).call(this)},{}],422:[function(x,De,ve){(function(){"use strict";var re,ne,ie,oe,le,me={}.hasOwnProperty;re=x("xmlbuilder"),ne=x("./defaults").defaults,oe=function(te){return typeof te=="string"&&(te.indexOf("&")>=0||te.indexOf(">")>=0||te.indexOf("<")>=0)},le=function(te){return"<![CDATA["+ie(te)+"]]>"},ie=function(te){return te.replace("]]>","]]]]><![CDATA[>")},ve.Builder=function(){function te(ae){var ue,de,he;this.options={},de=ne["0.2"];for(ue in de)me.call(de,ue)&&(he=de[ue],this.options[ue]=he);for(ue in ae)me.call(ae,ue)&&(he=ae[ue],this.options[ue]=he)}return te.prototype.buildObject=function(ae){var ue,de,he,we,Se;return ue=this.options.attrkey,de=this.options.charkey,Object.keys(ae).length===1&&this.options.rootName===ne["0.2"].rootName?(Se=Object.keys(ae)[0],ae=ae[Se]):Se=this.options.rootName,he=function(xe){return function(ye,Ae){var Le,Ee,_e,Me,Oe,Ce;if(typeof Ae!="object")xe.options.cdata&&oe(Ae)?ye.raw(le(Ae)):ye.txt(Ae);else if(Array.isArray(Ae)){for(Me in Ae)if(me.call(Ae,Me)){Ee=Ae[Me];for(Oe in Ee)_e=Ee[Oe],ye=he(ye.ele(Oe),_e).up()}}else for(Oe in Ae)if(me.call(Ae,Oe))if(Ee=Ae[Oe],Oe===ue){if(typeof Ee=="object")for(Le in Ee)Ce=Ee[Le],ye=ye.att(Le,Ce)}else if(Oe===de)xe.options.cdata&&oe(Ee)?ye=ye.raw(le(Ee)):ye=ye.txt(Ee);else if(Array.isArray(Ee))for(Me in Ee)me.call(Ee,Me)&&(_e=Ee[Me],typeof _e=="string"?xe.options.cdata&&oe(_e)?ye=ye.ele(Oe).raw(le(_e)).up():ye=ye.ele(Oe,_e).up():ye=he(ye.ele(Oe),_e).up());else typeof Ee=="object"?ye=he(ye.ele(Oe),Ee).up():typeof Ee=="string"&&xe.options.cdata&&oe(Ee)?ye=ye.ele(Oe).raw(le(Ee)).up():(Ee==null&&(Ee=""),ye=ye.ele(Oe,Ee.toString()).up());return ye}}(this),we=re.create(Se,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),he(we,ae).end(this.options.renderOpts)},te}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(x,De,ve){(function(){ve.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,De,ve){(function(){"use strict";var re,ne,ie,oe,le,me,te,ae,ue,de=function(Se,xe){return function(){return Se.apply(xe,arguments)}},he=function(Se,xe){for(var ye in xe)we.call(xe,ye)&&(Se[ye]=xe[ye]);function Ae(){this.constructor=Se}return Ae.prototype=xe.prototype,Se.prototype=new Ae,Se.__super__=xe.prototype,Se},we={}.hasOwnProperty;ae=x("sax"),oe=x("events"),re=x("./bom"),te=x("./processors"),ue=x("timers").setImmediate,ne=x("./defaults").defaults,le=function(Se){return typeof Se=="object"&&Se!=null&&Object.keys(Se).length===0},me=function(Se,xe,ye){var Ae,Le,Ee;for(Ae=0,Le=Se.length;Ae<Le;Ae++)Ee=Se[Ae],xe=Ee(xe,ye);return xe},ie=function(Se,xe,ye){var Ae;return Ae=Object.create(null),Ae.value=ye,Ae.writable=!0,Ae.enumerable=!0,Ae.configurable=!0,Object.defineProperty(Se,xe,Ae)},ve.Parser=function(Se){he(xe,Se);function xe(ye){this.parseStringPromise=de(this.parseStringPromise,this),this.parseString=de(this.parseString,this),this.reset=de(this.reset,this),this.assignOrPush=de(this.assignOrPush,this),this.processAsync=de(this.processAsync,this);var Ae,Le,Ee;if(!(this instanceof ve.Parser))return new ve.Parser(ye);this.options={},Le=ne["0.2"];for(Ae in Le)we.call(Le,Ae)&&(Ee=Le[Ae],this.options[Ae]=Ee);for(Ae in ye)we.call(ye,Ae)&&(Ee=ye[Ae],this.options[Ae]=Ee);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(te.normalize)),this.reset()}return xe.prototype.processAsync=function(){var ye,Ae;try{return this.remaining.length<=this.options.chunkSize?(ye=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(ye),this.saxParser.close()):(ye=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(ye),ue(this.processAsync))}catch(Le){if(Ae=Le,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(Ae)}},xe.prototype.assignOrPush=function(ye,Ae,Le){return Ae in ye?(ye[Ae]instanceof Array||ie(ye,Ae,[ye[Ae]]),ye[Ae].push(Le)):this.options.explicitArray?ie(ye,Ae,[Le]):ie(ye,Ae,Le)},xe.prototype.reset=function(){var ye,Ae,Le,Ee;return this.removeAllListeners(),this.saxParser=ae.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(_e){return function(Me){if(_e.saxParser.resume(),!_e.saxParser.errThrown)return _e.saxParser.errThrown=!0,_e.emit("error",Me)}}(this),this.saxParser.onend=function(_e){return function(){if(!_e.saxParser.ended)return _e.saxParser.ended=!0,_e.emit("end",_e.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,Ee=[],ye=this.options.attrkey,Ae=this.options.charkey,this.saxParser.onopentag=function(_e){return function(Me){var Oe,Ce,Ne,je,Ze;if(Ne={},Ne[Ae]="",!_e.options.ignoreAttrs){Ze=Me.attributes;for(Oe in Ze)we.call(Ze,Oe)&&(!(ye in Ne)&&!_e.options.mergeAttrs&&(Ne[ye]={}),Ce=_e.options.attrValueProcessors?me(_e.options.attrValueProcessors,Me.attributes[Oe],Oe):Me.attributes[Oe],je=_e.options.attrNameProcessors?me(_e.options.attrNameProcessors,Oe):Oe,_e.options.mergeAttrs?_e.assignOrPush(Ne,je,Ce):ie(Ne[ye],je,Ce))}return Ne["#name"]=_e.options.tagNameProcessors?me(_e.options.tagNameProcessors,Me.name):Me.name,_e.options.xmlns&&(Ne[_e.options.xmlnskey]={uri:Me.uri,local:Me.local}),Ee.push(Ne)}}(this),this.saxParser.onclosetag=function(_e){return function(){var Me,Oe,Ce,Ne,je,Ze,Pe,Ue,Qe,tt;if(Ze=Ee.pop(),je=Ze["#name"],(!_e.options.explicitChildren||!_e.options.preserveChildrenOrder)&&delete Ze["#name"],Ze.cdata===!0&&(Me=Ze.cdata,delete Ze.cdata),Qe=Ee[Ee.length-1],Ze[Ae].match(/^\s*$/)&&!Me?(Oe=Ze[Ae],delete Ze[Ae]):(_e.options.trim&&(Ze[Ae]=Ze[Ae].trim()),_e.options.normalize&&(Ze[Ae]=Ze[Ae].replace(/\s{2,}/g," ").trim()),Ze[Ae]=_e.options.valueProcessors?me(_e.options.valueProcessors,Ze[Ae],je):Ze[Ae],Object.keys(Ze).length===1&&Ae in Ze&&!_e.EXPLICIT_CHARKEY&&(Ze=Ze[Ae])),le(Ze)&&(typeof _e.options.emptyTag=="function"?Ze=_e.options.emptyTag():Ze=_e.options.emptyTag!==""?_e.options.emptyTag:Oe),_e.options.validator!=null&&(tt="/"+function(){var ot,lt,Ve;for(Ve=[],ot=0,lt=Ee.length;ot<lt;ot++)Ne=Ee[ot],Ve.push(Ne["#name"]);return Ve}().concat(je).join("/"),function(){var ot;try{return Ze=_e.options.validator(tt,Qe&&Qe[je],Ze)}catch(lt){return ot=lt,_e.emit("error",ot)}}()),_e.options.explicitChildren&&!_e.options.mergeAttrs&&typeof Ze=="object"){if(!_e.options.preserveChildrenOrder)Ne={},_e.options.attrkey in Ze&&(Ne[_e.options.attrkey]=Ze[_e.options.attrkey],delete Ze[_e.options.attrkey]),!_e.options.charsAsChildren&&_e.options.charkey in Ze&&(Ne[_e.options.charkey]=Ze[_e.options.charkey],delete Ze[_e.options.charkey]),Object.getOwnPropertyNames(Ze).length>0&&(Ne[_e.options.childkey]=Ze),Ze=Ne;else if(Qe){Qe[_e.options.childkey]=Qe[_e.options.childkey]||[],Pe={};for(Ce in Ze)we.call(Ze,Ce)&&ie(Pe,Ce,Ze[Ce]);Qe[_e.options.childkey].push(Pe),delete Ze["#name"],Object.keys(Ze).length===1&&Ae in Ze&&!_e.EXPLICIT_CHARKEY&&(Ze=Ze[Ae])}}return Ee.length>0?_e.assignOrPush(Qe,je,Ze):(_e.options.explicitRoot&&(Ue=Ze,Ze={},ie(Ze,je,Ue)),_e.resultObject=Ze,_e.saxParser.ended=!0,_e.emit("end",_e.resultObject))}}(this),Le=function(_e){return function(Me){var Oe,Ce;if(Ce=Ee[Ee.length-1],Ce)return Ce[Ae]+=Me,_e.options.explicitChildren&&_e.options.preserveChildrenOrder&&_e.options.charsAsChildren&&(_e.options.includeWhiteChars||Me.replace(/\\n/g,"").trim()!=="")&&(Ce[_e.options.childkey]=Ce[_e.options.childkey]||[],Oe={"#name":"__text__"},Oe[Ae]=Me,_e.options.normalize&&(Oe[Ae]=Oe[Ae].replace(/\s{2,}/g," ").trim()),Ce[_e.options.childkey].push(Oe)),Ce}}(this),this.saxParser.ontext=Le,this.saxParser.oncdata=function(_e){return function(Me){var Oe;if(Oe=Le(Me),Oe)return Oe.cdata=!0}}(this)},xe.prototype.parseString=function(ye,Ae){var Le;Ae!=null&&typeof Ae=="function"&&(this.on("end",function(Ee){return this.reset(),Ae(null,Ee)}),this.on("error",function(Ee){return this.reset(),Ae(Ee)}));try{return ye=ye.toString(),ye.trim()===""?(this.emit("end",null),!0):(ye=re.stripBOM(ye),this.options.async?(this.remaining=ye,ue(this.processAsync),this.saxParser):this.saxParser.write(ye).close())}catch(Ee){if(Le=Ee,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw Le}else return this.emit("error",Le),this.saxParser.errThrown=!0}},xe.prototype.parseStringPromise=function(ye){return new Promise(function(Ae){return function(Le,Ee){return Ae.parseString(ye,function(_e,Me){return _e?Ee(_e):Le(Me)})}}(this))},xe}(oe),ve.parseString=function(Se,xe,ye){var Ae,Le,Ee;return ye!=null?(typeof ye=="function"&&(Ae=ye),typeof xe=="object"&&(Le=xe)):(typeof xe=="function"&&(Ae=xe),Le={}),Ee=new ve.Parser(Le),Ee.parseString(Se,Ae)},ve.parseStringPromise=function(Se,xe){var ye,Ae;return typeof xe=="object"&&(ye=xe),Ae=new ve.Parser(ye),Ae.parseStringPromise(Se)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(x,De,ve){(function(){"use strict";var re;re=new RegExp(/(?!xmlns)^.*:/),ve.normalize=function(ne){return ne.toLowerCase()},ve.firstCharLowerCase=function(ne){return ne.charAt(0).toLowerCase()+ne.slice(1)},ve.stripPrefix=function(ne){return ne.replace(re,"")},ve.parseNumbers=function(ne){return isNaN(ne)||(ne=ne%1===0?parseInt(ne,10):parseFloat(ne)),ne},ve.parseBooleans=function(ne){return/^(?:true|false)$/i.test(ne)&&(ne=ne.toLowerCase()==="true"),ne}}).call(this)},{}],426:[function(x,De,ve){(function(){"use strict";var re,ne,ie,oe,le=function(te,ae){for(var ue in ae)me.call(ae,ue)&&(te[ue]=ae[ue]);function de(){this.constructor=te}return de.prototype=ae.prototype,te.prototype=new de,te.__super__=ae.prototype,te},me={}.hasOwnProperty;ne=x("./defaults"),re=x("./builder"),ie=x("./parser"),oe=x("./processors"),ve.defaults=ne.defaults,ve.processors=oe,ve.ValidationError=function(te){le(ae,te);function ae(ue){this.message=ue}return ae}(Error),ve.Builder=re.Builder,ve.Parser=ie.Parser,ve.parseString=ie.parseString,ve.parseStringPromise=ie.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(x,De,ve){(function(){De.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(x,De,ve){(function(){De.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,De,ve){(function(){var re,ne,ie,oe,le,me,te,ae=[].slice,ue={}.hasOwnProperty;re=function(){var de,he,we,Se,xe,ye;if(ye=arguments[0],xe=2<=arguments.length?ae.call(arguments,1):[],le(Object.assign))Object.assign.apply(null,arguments);else for(de=0,we=xe.length;de<we;de++)if(Se=xe[de],Se!=null)for(he in Se)ue.call(Se,he)&&(ye[he]=Se[he]);return ye},le=function(de){return!!de&&Object.prototype.toString.call(de)==="[object Function]"},me=function(de){var he;return!!de&&((he=typeof de)=="function"||he==="object")},ie=function(de){return le(Array.isArray)?Array.isArray(de):Object.prototype.toString.call(de)==="[object Array]"},oe=function(de){var he;if(ie(de))return!de.length;for(he in de)if(ue.call(de,he))return!1;return!0},te=function(de){var he,we;return me(de)&&(we=Object.getPrototypeOf(de))&&(he=we.constructor)&&typeof he=="function"&&he instanceof he&&Function.prototype.toString.call(he)===Function.prototype.toString.call(Object)},ne=function(de){return le(de.valueOf)?de.valueOf():de},De.exports.assign=re,De.exports.isFunction=le,De.exports.isObject=me,De.exports.isArray=ie,De.exports.isEmpty=oe,De.exports.isPlainObject=te,De.exports.getValue=ne}).call(this)},{}],430:[function(x,De,ve){(function(){De.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(x,De,ve){(function(){var re,ne,ie;re=x("./NodeType"),ie=x("./XMLNode"),De.exports=ne=function(){function oe(le,me,te){if(this.parent=le,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),me==null)throw new Error("Missing attribute name. "+this.debugInfo(me));this.name=this.stringify.name(me),this.value=this.stringify.attValue(te),this.type=re.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(oe.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(oe.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(oe.prototype,"textContent",{get:function(){return this.value},set:function(le){return this.value=le||""}}),Object.defineProperty(oe.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(oe.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(oe.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(oe.prototype,"specified",{get:function(){return!0}}),oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(le){return this.options.writer.attribute(this,this.options.writer.filterOptions(le))},oe.prototype.debugInfo=function(le){return le=le||this.name,le==null?"parent: <"+this.parent.name+">":"attribute: {"+le+"}, parent: <"+this.parent.name+">"},oe.prototype.isEqualNode=function(le){return!(le.namespaceURI!==this.namespaceURI||le.prefix!==this.prefix||le.localName!==this.localName||le.value!==this.value)},oe}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(x,De,ve){(function(){var re,ne,ie,oe=function(me,te){for(var ae in te)le.call(te,ae)&&(me[ae]=te[ae]);function ue(){this.constructor=me}return ue.prototype=te.prototype,me.prototype=new ue,me.__super__=te.prototype,me},le={}.hasOwnProperty;re=x("./NodeType"),ie=x("./XMLCharacterData"),De.exports=ne=function(me){oe(te,me);function te(ae,ue){if(te.__super__.constructor.call(this,ae),ue==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=re.CData,this.value=this.stringify.cdata(ue)}return te.prototype.clone=function(){return Object.create(this)},te.prototype.toString=function(ae){return this.options.writer.cdata(this,this.options.writer.filterOptions(ae))},te}(ie)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(x,De,ve){(function(){var re,ne,ie=function(le,me){for(var te in me)oe.call(me,te)&&(le[te]=me[te]);function ae(){this.constructor=le}return ae.prototype=me.prototype,le.prototype=new ae,le.__super__=me.prototype,le},oe={}.hasOwnProperty;ne=x("./XMLNode"),De.exports=re=function(le){ie(me,le);function me(te){me.__super__.constructor.call(this,te),this.value=""}return Object.defineProperty(me.prototype,"data",{get:function(){return this.value},set:function(te){return this.value=te||""}}),Object.defineProperty(me.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(me.prototype,"textContent",{get:function(){return this.value},set:function(te){return this.value=te||""}}),me.prototype.clone=function(){return Object.create(this)},me.prototype.substringData=function(te,ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.appendData=function(te){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.insertData=function(te,ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.deleteData=function(te,ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.replaceData=function(te,ae,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.isEqualNode=function(te){return!(!me.__super__.isEqualNode.apply(this,arguments).isEqualNode(te)||te.data!==this.data)},me}(ne)}).call(this)},{"./XMLNode":450}],434:[function(x,De,ve){(function(){var re,ne,ie,oe=function(me,te){for(var ae in te)le.call(te,ae)&&(me[ae]=te[ae]);function ue(){this.constructor=me}return ue.prototype=te.prototype,me.prototype=new ue,me.__super__=te.prototype,me},le={}.hasOwnProperty;re=x("./NodeType"),ne=x("./XMLCharacterData"),De.exports=ie=function(me){oe(te,me);function te(ae,ue){if(te.__super__.constructor.call(this,ae),ue==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=re.Comment,this.value=this.stringify.comment(ue)}return te.prototype.clone=function(){return Object.create(this)},te.prototype.toString=function(ae){return this.options.writer.comment(this,this.options.writer.filterOptions(ae))},te}(ne)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(x,De,ve){(function(){var re,ne,ie;ne=x("./XMLDOMErrorHandler"),ie=x("./XMLDOMStringList"),De.exports=re=function(){function oe(){var le;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new ne,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=le=Object.create(this.defaultParams)}return Object.defineProperty(oe.prototype,"parameterNames",{get:function(){return new ie(Object.keys(this.defaultParams))}}),oe.prototype.getParameter=function(le){return this.params.hasOwnProperty(le)?this.params[le]:null},oe.prototype.canSetParameter=function(le,me){return!0},oe.prototype.setParameter=function(le,me){return me!=null?this.params[le]=me:delete this.params[le]},oe}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(x,De,ve){(function(){var re;De.exports=re=function(){function ne(){}return ne.prototype.handleError=function(ie){throw new Error(ie)},ne}()}).call(this)},{}],437:[function(x,De,ve){(function(){var re;De.exports=re=function(){function ne(){}return ne.prototype.hasFeature=function(ie,oe){return!0},ne.prototype.createDocumentType=function(ie,oe,le){throw new Error("This DOM method is not implemented.")},ne.prototype.createDocument=function(ie,oe,le){throw new Error("This DOM method is not implemented.")},ne.prototype.createHTMLDocument=function(ie){throw new Error("This DOM method is not implemented.")},ne.prototype.getFeature=function(ie,oe){throw new Error("This DOM method is not implemented.")},ne}()}).call(this)},{}],438:[function(x,De,ve){(function(){var re;De.exports=re=function(){function ne(ie){this.arr=ie||[]}return Object.defineProperty(ne.prototype,"length",{get:function(){return this.arr.length}}),ne.prototype.item=function(ie){return this.arr[ie]||null},ne.prototype.contains=function(ie){return this.arr.indexOf(ie)!==-1},ne}()}).call(this)},{}],439:[function(x,De,ve){(function(){var re,ne,ie,oe=function(me,te){for(var ae in te)le.call(te,ae)&&(me[ae]=te[ae]);function ue(){this.constructor=me}return ue.prototype=te.prototype,me.prototype=new ue,me.__super__=te.prototype,me},le={}.hasOwnProperty;ie=x("./XMLNode"),re=x("./NodeType"),De.exports=ne=function(me){oe(te,me);function te(ae,ue,de,he,we,Se){if(te.__super__.constructor.call(this,ae),ue==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(de==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(ue));if(!he)throw new Error("Missing DTD attribute type. "+this.debugInfo(ue));if(!we)throw new Error("Missing DTD attribute default. "+this.debugInfo(ue));if(we.indexOf("#")!==0&&(we="#"+we),!we.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(ue));if(Se&&!we.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(ue));this.elementName=this.stringify.name(ue),this.type=re.AttributeDeclaration,this.attributeName=this.stringify.name(de),this.attributeType=this.stringify.dtdAttType(he),Se&&(this.defaultValue=this.stringify.dtdAttDefault(Se)),this.defaultValueType=we}return te.prototype.toString=function(ae){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ae))},te}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(x,De,ve){(function(){var re,ne,ie,oe=function(me,te){for(var ae in te)le.call(te,ae)&&(me[ae]=te[ae]);function ue(){this.constructor=me}return ue.prototype=te.prototype,me.prototype=new ue,me.__super__=te.prototype,me},le={}.hasOwnProperty;ie=x("./XMLNode"),re=x("./NodeType"),De.exports=ne=function(me){oe(te,me);function te(ae,ue,de){if(te.__super__.constructor.call(this,ae),ue==null)throw new Error("Missing DTD element name. "+this.debugInfo());de||(de="(#PCDATA)"),Array.isArray(de)&&(de="("+de.join(",")+")"),this.name=this.stringify.name(ue),this.type=re.ElementDeclaration,this.value=this.stringify.dtdElementValue(de)}return te.prototype.toString=function(ae){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(ae))},te}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(x,De,ve){(function(){var re,ne,ie,oe,le=function(te,ae){for(var ue in ae)me.call(ae,ue)&&(te[ue]=ae[ue]);function de(){this.constructor=te}return de.prototype=ae.prototype,te.prototype=new de,te.__super__=ae.prototype,te},me={}.hasOwnProperty;oe=x("./Utility").isObject,ie=x("./XMLNode"),re=x("./NodeType"),De.exports=ne=function(te){le(ae,te);function ae(ue,de,he,we){if(ae.__super__.constructor.call(this,ue),he==null)throw new Error("Missing DTD entity name. "+this.debugInfo(he));if(we==null)throw new Error("Missing DTD entity value. "+this.debugInfo(he));if(this.pe=!!de,this.name=this.stringify.name(he),this.type=re.EntityDeclaration,!oe(we))this.value=this.stringify.dtdEntityValue(we),this.internal=!0;else{if(!we.pubID&&!we.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(he));if(we.pubID&&!we.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(he));if(this.internal=!1,we.pubID!=null&&(this.pubID=this.stringify.dtdPubID(we.pubID)),we.sysID!=null&&(this.sysID=this.stringify.dtdSysID(we.sysID)),we.nData!=null&&(this.nData=this.stringify.dtdNData(we.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(he))}}return Object.defineProperty(ae.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ae.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(ae.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(ae.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(ae.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(ae.prototype,"xmlVersion",{get:function(){return null}}),ae.prototype.toString=function(ue){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(ue))},ae}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(x,De,ve){(function(){var re,ne,ie,oe=function(me,te){for(var ae in te)le.call(te,ae)&&(me[ae]=te[ae]);function ue(){this.constructor=me}return ue.prototype=te.prototype,me.prototype=new ue,me.__super__=te.prototype,me},le={}.hasOwnProperty;ie=x("./XMLNode"),re=x("./NodeType"),De.exports=ne=function(me){oe(te,me);function te(ae,ue,de){if(te.__super__.constructor.call(this,ae),ue==null)throw new Error("Missing DTD notation name. "+this.debugInfo(ue));if(!de.pubID&&!de.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(ue));this.name=this.stringify.name(ue),this.type=re.NotationDeclaration,de.pubID!=null&&(this.pubID=this.stringify.dtdPubID(de.pubID)),de.sysID!=null&&(this.sysID=this.stringify.dtdSysID(de.sysID))}return Object.defineProperty(te.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(te.prototype,"systemId",{get:function(){return this.sysID}}),te.prototype.toString=function(ae){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ae))},te}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(x,De,ve){(function(){var re,ne,ie,oe,le=function(te,ae){for(var ue in ae)me.call(ae,ue)&&(te[ue]=ae[ue]);function de(){this.constructor=te}return de.prototype=ae.prototype,te.prototype=new de,te.__super__=ae.prototype,te},me={}.hasOwnProperty;oe=x("./Utility").isObject,ie=x("./XMLNode"),re=x("./NodeType"),De.exports=ne=function(te){le(ae,te);function ae(ue,de,he,we){var Se;ae.__super__.constructor.call(this,ue),oe(de)&&(Se=de,de=Se.version,he=Se.encoding,we=Se.standalone),de||(de="1.0"),this.type=re.Declaration,this.version=this.stringify.xmlVersion(de),he!=null&&(this.encoding=this.stringify.xmlEncoding(he)),we!=null&&(this.standalone=this.stringify.xmlStandalone(we))}return ae.prototype.toString=function(ue){return this.options.writer.declaration(this,this.options.writer.filterOptions(ue))},ae}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(x,De,ve){(function(){var re,ne,ie,oe,le,me,te,ae,ue,de=function(we,Se){for(var xe in Se)he.call(Se,xe)&&(we[xe]=Se[xe]);function ye(){this.constructor=we}return ye.prototype=Se.prototype,we.prototype=new ye,we.__super__=Se.prototype,we},he={}.hasOwnProperty;ue=x("./Utility").isObject,ae=x("./XMLNode"),re=x("./NodeType"),ne=x("./XMLDTDAttList"),oe=x("./XMLDTDEntity"),ie=x("./XMLDTDElement"),le=x("./XMLDTDNotation"),te=x("./XMLNamedNodeMap"),De.exports=me=function(we){de(Se,we);function Se(xe,ye,Ae){var Le,Ee,_e,Me,Oe,Ce;if(Se.__super__.constructor.call(this,xe),this.type=re.DocType,xe.children){for(Me=xe.children,Ee=0,_e=Me.length;Ee<_e;Ee++)if(Le=Me[Ee],Le.type===re.Element){this.name=Le.name;break}}this.documentObject=xe,ue(ye)&&(Oe=ye,ye=Oe.pubID,Ae=Oe.sysID),Ae==null&&(Ce=[ye,Ae],Ae=Ce[0],ye=Ce[1]),ye!=null&&(this.pubID=this.stringify.dtdPubID(ye)),Ae!=null&&(this.sysID=this.stringify.dtdSysID(Ae))}return Object.defineProperty(Se.prototype,"entities",{get:function(){var xe,ye,Ae,Le,Ee;for(Le={},Ee=this.children,ye=0,Ae=Ee.length;ye<Ae;ye++)xe=Ee[ye],xe.type===re.EntityDeclaration&&!xe.pe&&(Le[xe.name]=xe);return new te(Le)}}),Object.defineProperty(Se.prototype,"notations",{get:function(){var xe,ye,Ae,Le,Ee;for(Le={},Ee=this.children,ye=0,Ae=Ee.length;ye<Ae;ye++)xe=Ee[ye],xe.type===re.NotationDeclaration&&(Le[xe.name]=xe);return new te(Le)}}),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,ye){var Ae;return Ae=new ie(this,xe,ye),this.children.push(Ae),this},Se.prototype.attList=function(xe,ye,Ae,Le,Ee){var _e;return _e=new ne(this,xe,ye,Ae,Le,Ee),this.children.push(_e),this},Se.prototype.entity=function(xe,ye){var Ae;return Ae=new oe(this,!1,xe,ye),this.children.push(Ae),this},Se.prototype.pEntity=function(xe,ye){var Ae;return Ae=new oe(this,!0,xe,ye),this.children.push(Ae),this},Se.prototype.notation=function(xe,ye){var Ae;return Ae=new le(this,xe,ye),this.children.push(Ae),this},Se.prototype.toString=function(xe){return this.options.writer.docType(this,this.options.writer.filterOptions(xe))},Se.prototype.ele=function(xe,ye){return this.element(xe,ye)},Se.prototype.att=function(xe,ye,Ae,Le,Ee){return this.attList(xe,ye,Ae,Le,Ee)},Se.prototype.ent=function(xe,ye){return this.entity(xe,ye)},Se.prototype.pent=function(xe,ye){return this.pEntity(xe,ye)},Se.prototype.not=function(xe,ye){return this.notation(xe,ye)},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}(ae)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(x,De,ve){(function(){var re,ne,ie,oe,le,me,te,ae,ue=function(he,we){for(var Se in we)de.call(we,Se)&&(he[Se]=we[Se]);function xe(){this.constructor=he}return xe.prototype=we.prototype,he.prototype=new xe,he.__super__=we.prototype,he},de={}.hasOwnProperty;ae=x("./Utility").isPlainObject,ie=x("./XMLDOMImplementation"),ne=x("./XMLDOMConfiguration"),le=x("./XMLNode"),re=x("./NodeType"),te=x("./XMLStringifier"),me=x("./XMLStringWriter"),De.exports=oe=function(he){ue(we,he);function we(Se){we.__super__.constructor.call(this,null),this.name="#document",this.type=re.Document,this.documentURI=null,this.domConfig=new ne,Se||(Se={}),Se.writer||(Se.writer=new me),this.options=Se,this.stringify=new te(Se)}return Object.defineProperty(we.prototype,"implementation",{value:new ie}),Object.defineProperty(we.prototype,"doctype",{get:function(){var Se,xe,ye,Ae;for(Ae=this.children,xe=0,ye=Ae.length;xe<ye;xe++)if(Se=Ae[xe],Se.type===re.DocType)return Se;return null}}),Object.defineProperty(we.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(we.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(we.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(we.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===re.Declaration?this.children[0].encoding:null}}),Object.defineProperty(we.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===re.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(we.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===re.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(we.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(we.prototype,"origin",{get:function(){return null}}),Object.defineProperty(we.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(we.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(we.prototype,"contentType",{get:function(){return null}}),we.prototype.end=function(Se){var xe;return xe={},Se?ae(Se)&&(xe=Se,Se=this.options.writer):Se=this.options.writer,Se.document(this,Se.filterOptions(xe))},we.prototype.toString=function(Se){return this.options.writer.document(this,this.options.writer.filterOptions(Se))},we.prototype.createElement=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createTextNode=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createComment=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createCDATASection=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createProcessingInstruction=function(Se,xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createAttribute=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createEntityReference=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.getElementsByTagName=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.importNode=function(Se,xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createElementNS=function(Se,xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createAttributeNS=function(Se,xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.getElementsByTagNameNS=function(Se,xe){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.getElementById=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.adoptNode=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.renameNode=function(Se,xe,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.getElementsByClassName=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createEvent=function(Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createNodeIterator=function(Se,xe,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},we.prototype.createTreeWalker=function(Se,xe,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},we}(le)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(x,De,ve){(function(){var re,ne,ie,oe,le,me,te,ae,ue,de,he,we,Se,xe,ye,Ae,Le,Ee,_e,Me,Oe,Ce,Ne,je,Ze={}.hasOwnProperty;je=x("./Utility"),Ce=je.isObject,Oe=je.isFunction,Ne=je.isPlainObject,Me=je.getValue,re=x("./NodeType"),we=x("./XMLDocument"),xe=x("./XMLElement"),oe=x("./XMLCData"),le=x("./XMLComment"),Ae=x("./XMLRaw"),_e=x("./XMLText"),ye=x("./XMLProcessingInstruction"),de=x("./XMLDeclaration"),he=x("./XMLDocType"),me=x("./XMLDTDAttList"),ae=x("./XMLDTDEntity"),te=x("./XMLDTDElement"),ue=x("./XMLDTDNotation"),ie=x("./XMLAttribute"),Ee=x("./XMLStringifier"),Le=x("./XMLStringWriter"),ne=x("./WriterState"),De.exports=Se=function(){function Pe(Ue,Qe,tt){var ot;this.name="?xml",this.type=re.Document,Ue||(Ue={}),ot={},Ue.writer?Ne(Ue.writer)&&(ot=Ue.writer,Ue.writer=new Le):Ue.writer=new Le,this.options=Ue,this.writer=Ue.writer,this.writerOptions=this.writer.filterOptions(ot),this.stringify=new Ee(Ue),this.onDataCallback=Qe||function(){},this.onEndCallback=tt||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return Pe.prototype.createChildNode=function(Ue){var Qe,tt,ot,lt,Ve,Ye,nt,dt;switch(Ue.type){case re.CData:this.cdata(Ue.value);break;case re.Comment:this.comment(Ue.value);break;case re.Element:ot={},nt=Ue.attribs;for(tt in nt)Ze.call(nt,tt)&&(Qe=nt[tt],ot[tt]=Qe.value);this.node(Ue.name,ot);break;case re.Dummy:this.dummy();break;case re.Raw:this.raw(Ue.value);break;case re.Text:this.text(Ue.value);break;case re.ProcessingInstruction:this.instruction(Ue.target,Ue.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+Ue.constructor.name)}for(dt=Ue.children,Ve=0,Ye=dt.length;Ve<Ye;Ve++)lt=dt[Ve],this.createChildNode(lt),lt.type===re.Element&&this.up();return this},Pe.prototype.dummy=function(){return this},Pe.prototype.node=function(Ue,Qe,tt){var ot;if(Ue==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(Ue));return this.openCurrent(),Ue=Me(Ue),Qe==null&&(Qe={}),Qe=Me(Qe),Ce(Qe)||(ot=[Qe,tt],tt=ot[0],Qe=ot[1]),this.currentNode=new xe(this,Ue,Qe),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,tt!=null&&this.text(tt),this},Pe.prototype.element=function(Ue,Qe,tt){var ot,lt,Ve,Ye,nt,dt;if(this.currentNode&&this.currentNode.type===re.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(Ue)||Ce(Ue)||Oe(Ue))for(Ye=this.options.noValidation,this.options.noValidation=!0,dt=new we(this.options).element("TEMP_ROOT"),dt.element(Ue),this.options.noValidation=Ye,nt=dt.children,lt=0,Ve=nt.length;lt<Ve;lt++)ot=nt[lt],this.createChildNode(ot),ot.type===re.Element&&this.up();else this.node(Ue,Qe,tt);return this},Pe.prototype.attribute=function(Ue,Qe){var tt,ot;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(Ue));if(Ue!=null&&(Ue=Me(Ue)),Ce(Ue))for(tt in Ue)Ze.call(Ue,tt)&&(ot=Ue[tt],this.attribute(tt,ot));else Oe(Qe)&&(Qe=Qe.apply()),this.options.keepNullAttributes&&Qe==null?this.currentNode.attribs[Ue]=new ie(this,Ue,""):Qe!=null&&(this.currentNode.attribs[Ue]=new ie(this,Ue,Qe));return this},Pe.prototype.text=function(Ue){var Qe;return this.openCurrent(),Qe=new _e(this,Ue),this.onData(this.writer.text(Qe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Pe.prototype.cdata=function(Ue){var Qe;return this.openCurrent(),Qe=new oe(this,Ue),this.onData(this.writer.cdata(Qe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Pe.prototype.comment=function(Ue){var Qe;return this.openCurrent(),Qe=new le(this,Ue),this.onData(this.writer.comment(Qe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Pe.prototype.raw=function(Ue){var Qe;return this.openCurrent(),Qe=new Ae(this,Ue),this.onData(this.writer.raw(Qe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Pe.prototype.instruction=function(Ue,Qe){var tt,ot,lt,Ve,Ye;if(this.openCurrent(),Ue!=null&&(Ue=Me(Ue)),Qe!=null&&(Qe=Me(Qe)),Array.isArray(Ue))for(tt=0,Ve=Ue.length;tt<Ve;tt++)ot=Ue[tt],this.instruction(ot);else if(Ce(Ue))for(ot in Ue)Ze.call(Ue,ot)&&(lt=Ue[ot],this.instruction(ot,lt));else Oe(Qe)&&(Qe=Qe.apply()),Ye=new ye(this,Ue,Qe),this.onData(this.writer.processingInstruction(Ye,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},Pe.prototype.declaration=function(Ue,Qe,tt){var ot;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return ot=new de(this,Ue,Qe,tt),this.onData(this.writer.declaration(ot,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Pe.prototype.doctype=function(Ue,Qe,tt){if(this.openCurrent(),Ue==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 he(this,Qe,tt),this.currentNode.rootNodeName=Ue,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},Pe.prototype.dtdElement=function(Ue,Qe){var tt;return this.openCurrent(),tt=new te(this,Ue,Qe),this.onData(this.writer.dtdElement(tt,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Pe.prototype.attList=function(Ue,Qe,tt,ot,lt){var Ve;return this.openCurrent(),Ve=new me(this,Ue,Qe,tt,ot,lt),this.onData(this.writer.dtdAttList(Ve,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Pe.prototype.entity=function(Ue,Qe){var tt;return this.openCurrent(),tt=new ae(this,!1,Ue,Qe),this.onData(this.writer.dtdEntity(tt,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Pe.prototype.pEntity=function(Ue,Qe){var tt;return this.openCurrent(),tt=new ae(this,!0,Ue,Qe),this.onData(this.writer.dtdEntity(tt,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Pe.prototype.notation=function(Ue,Qe){var tt;return this.openCurrent(),tt=new ue(this,Ue,Qe),this.onData(this.writer.dtdNotation(tt,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Pe.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},Pe.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},Pe.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Pe.prototype.openNode=function(Ue){var Qe,tt,ot,lt;if(!Ue.isOpen){if(!this.root&&this.currentLevel===0&&Ue.type===re.Element&&(this.root=Ue),tt="",Ue.type===re.Element){this.writerOptions.state=ne.OpenTag,tt=this.writer.indent(Ue,this.writerOptions,this.currentLevel)+"<"+Ue.name,lt=Ue.attribs;for(ot in lt)Ze.call(lt,ot)&&(Qe=lt[ot],tt+=this.writer.attribute(Qe,this.writerOptions,this.currentLevel));tt+=(Ue.children?">":"/>")+this.writer.endline(Ue,this.writerOptions,this.currentLevel),this.writerOptions.state=ne.InsideTag}else this.writerOptions.state=ne.OpenTag,tt=this.writer.indent(Ue,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+Ue.rootNodeName,Ue.pubID&&Ue.sysID?tt+=' PUBLIC "'+Ue.pubID+'" "'+Ue.sysID+'"':Ue.sysID&&(tt+=' SYSTEM "'+Ue.sysID+'"'),Ue.children?(tt+=" [",this.writerOptions.state=ne.InsideTag):(this.writerOptions.state=ne.CloseTag,tt+=">"),tt+=this.writer.endline(Ue,this.writerOptions,this.currentLevel);return this.onData(tt,this.currentLevel),Ue.isOpen=!0}},Pe.prototype.closeNode=function(Ue){var Qe;if(!Ue.isClosed)return Qe="",this.writerOptions.state=ne.CloseTag,Ue.type===re.Element?Qe=this.writer.indent(Ue,this.writerOptions,this.currentLevel)+"</"+Ue.name+">"+this.writer.endline(Ue,this.writerOptions,this.currentLevel):Qe=this.writer.indent(Ue,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Ue,this.writerOptions,this.currentLevel),this.writerOptions.state=ne.None,this.onData(Qe,this.currentLevel),Ue.isClosed=!0},Pe.prototype.onData=function(Ue,Qe){return this.documentStarted=!0,this.onDataCallback(Ue,Qe+1)},Pe.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Pe.prototype.debugInfo=function(Ue){return Ue==null?"":"node: <"+Ue+">"},Pe.prototype.ele=function(){return this.element.apply(this,arguments)},Pe.prototype.nod=function(Ue,Qe,tt){return this.node(Ue,Qe,tt)},Pe.prototype.txt=function(Ue){return this.text(Ue)},Pe.prototype.dat=function(Ue){return this.cdata(Ue)},Pe.prototype.com=function(Ue){return this.comment(Ue)},Pe.prototype.ins=function(Ue,Qe){return this.instruction(Ue,Qe)},Pe.prototype.dec=function(Ue,Qe,tt){return this.declaration(Ue,Qe,tt)},Pe.prototype.dtd=function(Ue,Qe,tt){return this.doctype(Ue,Qe,tt)},Pe.prototype.e=function(Ue,Qe,tt){return this.element(Ue,Qe,tt)},Pe.prototype.n=function(Ue,Qe,tt){return this.node(Ue,Qe,tt)},Pe.prototype.t=function(Ue){return this.text(Ue)},Pe.prototype.d=function(Ue){return this.cdata(Ue)},Pe.prototype.c=function(Ue){return this.comment(Ue)},Pe.prototype.r=function(Ue){return this.raw(Ue)},Pe.prototype.i=function(Ue,Qe){return this.instruction(Ue,Qe)},Pe.prototype.att=function(){return this.currentNode&&this.currentNode.type===re.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Pe.prototype.a=function(){return this.currentNode&&this.currentNode.type===re.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Pe.prototype.ent=function(Ue,Qe){return this.entity(Ue,Qe)},Pe.prototype.pent=function(Ue,Qe){return this.pEntity(Ue,Qe)},Pe.prototype.not=function(Ue,Qe){return this.notation(Ue,Qe)},Pe}()}).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,De,ve){(function(){var re,ne,ie,oe=function(me,te){for(var ae in te)le.call(te,ae)&&(me[ae]=te[ae]);function ue(){this.constructor=me}return ue.prototype=te.prototype,me.prototype=new ue,me.__super__=te.prototype,me},le={}.hasOwnProperty;ie=x("./XMLNode"),re=x("./NodeType"),De.exports=ne=function(me){oe(te,me);function te(ae){te.__super__.constructor.call(this,ae),this.type=re.Dummy}return te.prototype.clone=function(){return Object.create(this)},te.prototype.toString=function(ae){return""},te}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(x,De,ve){(function(){var re,ne,ie,oe,le,me,te,ae,ue,de=function(we,Se){for(var xe in Se)he.call(Se,xe)&&(we[xe]=Se[xe]);function ye(){this.constructor=we}return ye.prototype=Se.prototype,we.prototype=new ye,we.__super__=Se.prototype,we},he={}.hasOwnProperty;ue=x("./Utility"),ae=ue.isObject,te=ue.isFunction,me=ue.getValue,le=x("./XMLNode"),re=x("./NodeType"),ne=x("./XMLAttribute"),oe=x("./XMLNamedNodeMap"),De.exports=ie=function(we){de(Se,we);function Se(xe,ye,Ae){var Le,Ee,_e,Me;if(Se.__super__.constructor.call(this,xe),ye==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(ye),this.type=re.Element,this.attribs={},this.schemaTypeInfo=null,Ae!=null&&this.attribute(Ae),xe.type===re.Document&&(this.isRoot=!0,this.documentObject=xe,xe.rootObject=this,xe.children)){for(Me=xe.children,Ee=0,_e=Me.length;Ee<_e;Ee++)if(Le=Me[Ee],Le.type===re.DocType){Le.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 oe(this.attribs)),this.attributeMap}}),Se.prototype.clone=function(){var xe,ye,Ae,Le;Ae=Object.create(this),Ae.isRoot&&(Ae.documentObject=null),Ae.attribs={},Le=this.attribs;for(ye in Le)he.call(Le,ye)&&(xe=Le[ye],Ae.attribs[ye]=xe.clone());return Ae.children=[],this.children.forEach(function(Ee){var _e;return _e=Ee.clone(),_e.parent=Ae,Ae.children.push(_e)}),Ae},Se.prototype.attribute=function(xe,ye){var Ae,Le;if(xe!=null&&(xe=me(xe)),ae(xe))for(Ae in xe)he.call(xe,Ae)&&(Le=xe[Ae],this.attribute(Ae,Le));else te(ye)&&(ye=ye.apply()),this.options.keepNullAttributes&&ye==null?this.attribs[xe]=new ne(this,xe,""):ye!=null&&(this.attribs[xe]=new ne(this,xe,ye));return this},Se.prototype.removeAttribute=function(xe){var ye,Ae,Le;if(xe==null)throw new Error("Missing attribute name. "+this.debugInfo());if(xe=me(xe),Array.isArray(xe))for(Ae=0,Le=xe.length;Ae<Le;Ae++)ye=xe[Ae],delete this.attribs[ye];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,ye){return this.attribute(xe,ye)},Se.prototype.a=function(xe,ye){return this.attribute(xe,ye)},Se.prototype.getAttribute=function(xe){return this.attribs.hasOwnProperty(xe)?this.attribs[xe].value:null},Se.prototype.setAttribute=function(xe,ye){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,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.setAttributeNS=function(xe,ye,Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.removeAttributeNS=function(xe,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getAttributeNodeNS=function(xe,ye){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,ye){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,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.setIdAttribute=function(xe,ye){return this.attribs.hasOwnProperty(xe)?this.attribs[xe].isId:ye},Se.prototype.setIdAttributeNS=function(xe,ye,Ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.setIdAttributeNode=function(xe,ye){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,ye){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 ye,Ae,Le;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(ye=Ae=0,Le=this.attribs.length-1;0<=Le?Ae<=Le:Ae>=Le;ye=0<=Le?++Ae:--Ae)if(!this.attribs[ye].isEqualNode(xe.attribs[ye]))return!1;return!0},Se}(le)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(x,De,ve){(function(){var re;De.exports=re=function(){function ne(ie){this.nodes=ie}return Object.defineProperty(ne.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),ne.prototype.clone=function(){return this.nodes=null},ne.prototype.getNamedItem=function(ie){return this.nodes[ie]},ne.prototype.setNamedItem=function(ie){var oe;return oe=this.nodes[ie.nodeName],this.nodes[ie.nodeName]=ie,oe||null},ne.prototype.removeNamedItem=function(ie){var oe;return oe=this.nodes[ie],delete this.nodes[ie],oe||null},ne.prototype.item=function(ie){return this.nodes[Object.keys(this.nodes)[ie]]||null},ne.prototype.getNamedItemNS=function(ie,oe){throw new Error("This DOM method is not implemented.")},ne.prototype.setNamedItemNS=function(ie){throw new Error("This DOM method is not implemented.")},ne.prototype.removeNamedItemNS=function(ie,oe){throw new Error("This DOM method is not implemented.")},ne}()}).call(this)},{}],450:[function(x,De,ve){(function(){var re,ne,ie,oe,le,me,te,ae,ue,de,he,we,Se,xe,ye,Ae,Le,Ee,_e,Me={}.hasOwnProperty;_e=x("./Utility"),Ee=_e.isObject,Le=_e.isFunction,Ae=_e.isEmpty,ye=_e.getValue,ae=null,ie=null,oe=null,le=null,me=null,Se=null,xe=null,we=null,te=null,ne=null,he=null,ue=null,re=null,De.exports=de=function(){function Oe(Ce){this.parent=Ce,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ae||(ae=x("./XMLElement"),ie=x("./XMLCData"),oe=x("./XMLComment"),le=x("./XMLDeclaration"),me=x("./XMLDocType"),Se=x("./XMLRaw"),xe=x("./XMLText"),we=x("./XMLProcessingInstruction"),te=x("./XMLDummy"),ne=x("./NodeType"),he=x("./XMLNodeList"),ue=x("./XMLNamedNodeMap"),re=x("./DocumentPosition"))}return Object.defineProperty(Oe.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(Oe.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Oe.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(Oe.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(Oe.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new he(this.children)),this.childNodeList}}),Object.defineProperty(Oe.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(Oe.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(Oe.prototype,"previousSibling",{get:function(){var Ce;return Ce=this.parent.children.indexOf(this),this.parent.children[Ce-1]||null}}),Object.defineProperty(Oe.prototype,"nextSibling",{get:function(){var Ce;return Ce=this.parent.children.indexOf(this),this.parent.children[Ce+1]||null}}),Object.defineProperty(Oe.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(Oe.prototype,"textContent",{get:function(){var Ce,Ne,je,Ze,Pe;if(this.nodeType===ne.Element||this.nodeType===ne.DocumentFragment){for(Pe="",Ze=this.children,Ne=0,je=Ze.length;Ne<je;Ne++)Ce=Ze[Ne],Ce.textContent&&(Pe+=Ce.textContent);return Pe}else return null},set:function(Ce){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Oe.prototype.setParent=function(Ce){var Ne,je,Ze,Pe,Ue;for(this.parent=Ce,Ce&&(this.options=Ce.options,this.stringify=Ce.stringify),Pe=this.children,Ue=[],je=0,Ze=Pe.length;je<Ze;je++)Ne=Pe[je],Ue.push(Ne.setParent(this));return Ue},Oe.prototype.element=function(Ce,Ne,je){var Ze,Pe,Ue,Qe,tt,ot,lt,Ve,Ye,nt,dt;if(ot=null,Ne===null&&je==null&&(Ye=[{},null],Ne=Ye[0],je=Ye[1]),Ne==null&&(Ne={}),Ne=ye(Ne),Ee(Ne)||(nt=[Ne,je],je=nt[0],Ne=nt[1]),Ce!=null&&(Ce=ye(Ce)),Array.isArray(Ce))for(Ue=0,lt=Ce.length;Ue<lt;Ue++)Pe=Ce[Ue],ot=this.element(Pe);else if(Le(Ce))ot=this.element(Ce.apply());else if(Ee(Ce)){for(tt in Ce)if(Me.call(Ce,tt))if(dt=Ce[tt],Le(dt)&&(dt=dt.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&tt.indexOf(this.stringify.convertAttKey)===0)ot=this.attribute(tt.substr(this.stringify.convertAttKey.length),dt);else if(!this.options.separateArrayItems&&Array.isArray(dt)&&Ae(dt))ot=this.dummy();else if(Ee(dt)&&Ae(dt))ot=this.element(tt);else if(!this.options.keepNullNodes&&dt==null)ot=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(dt))for(Qe=0,Ve=dt.length;Qe<Ve;Qe++)Pe=dt[Qe],Ze={},Ze[tt]=Pe,ot=this.element(Ze);else Ee(dt)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&tt.indexOf(this.stringify.convertTextKey)===0?ot=this.element(dt):(ot=this.element(tt),ot.element(dt)):ot=this.element(tt,dt)}else!this.options.keepNullNodes&&je===null?ot=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Ce.indexOf(this.stringify.convertTextKey)===0?ot=this.text(je):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&Ce.indexOf(this.stringify.convertCDataKey)===0?ot=this.cdata(je):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&Ce.indexOf(this.stringify.convertCommentKey)===0?ot=this.comment(je):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&Ce.indexOf(this.stringify.convertRawKey)===0?ot=this.raw(je):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&Ce.indexOf(this.stringify.convertPIKey)===0?ot=this.instruction(Ce.substr(this.stringify.convertPIKey.length),je):ot=this.node(Ce,Ne,je);if(ot==null)throw new Error("Could not create any elements with: "+Ce+". "+this.debugInfo());return ot},Oe.prototype.insertBefore=function(Ce,Ne,je){var Ze,Pe,Ue,Qe,tt;if(Ce!=null&&Ce.type)return Ue=Ce,Qe=Ne,Ue.setParent(this),Qe?(Pe=children.indexOf(Qe),tt=children.splice(Pe),children.push(Ue),Array.prototype.push.apply(children,tt)):children.push(Ue),Ue;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Ce));return Pe=this.parent.children.indexOf(this),tt=this.parent.children.splice(Pe),Ze=this.parent.element(Ce,Ne,je),Array.prototype.push.apply(this.parent.children,tt),Ze},Oe.prototype.insertAfter=function(Ce,Ne,je){var Ze,Pe,Ue;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Ce));return Pe=this.parent.children.indexOf(this),Ue=this.parent.children.splice(Pe+1),Ze=this.parent.element(Ce,Ne,je),Array.prototype.push.apply(this.parent.children,Ue),Ze},Oe.prototype.remove=function(){var Ce,Ne;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return Ce=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[Ce,Ce-Ce+1].concat(Ne=[])),this.parent},Oe.prototype.node=function(Ce,Ne,je){var Ze,Pe;return Ce!=null&&(Ce=ye(Ce)),Ne||(Ne={}),Ne=ye(Ne),Ee(Ne)||(Pe=[Ne,je],je=Pe[0],Ne=Pe[1]),Ze=new ae(this,Ce,Ne),je!=null&&Ze.text(je),this.children.push(Ze),Ze},Oe.prototype.text=function(Ce){var Ne;return Ee(Ce)&&this.element(Ce),Ne=new xe(this,Ce),this.children.push(Ne),this},Oe.prototype.cdata=function(Ce){var Ne;return Ne=new ie(this,Ce),this.children.push(Ne),this},Oe.prototype.comment=function(Ce){var Ne;return Ne=new oe(this,Ce),this.children.push(Ne),this},Oe.prototype.commentBefore=function(Ce){var Ne,je,Ze;return je=this.parent.children.indexOf(this),Ze=this.parent.children.splice(je),Ne=this.parent.comment(Ce),Array.prototype.push.apply(this.parent.children,Ze),this},Oe.prototype.commentAfter=function(Ce){var Ne,je,Ze;return je=this.parent.children.indexOf(this),Ze=this.parent.children.splice(je+1),Ne=this.parent.comment(Ce),Array.prototype.push.apply(this.parent.children,Ze),this},Oe.prototype.raw=function(Ce){var Ne;return Ne=new Se(this,Ce),this.children.push(Ne),this},Oe.prototype.dummy=function(){var Ce;return Ce=new te(this),Ce},Oe.prototype.instruction=function(Ce,Ne){var je,Ze,Pe,Ue,Qe;if(Ce!=null&&(Ce=ye(Ce)),Ne!=null&&(Ne=ye(Ne)),Array.isArray(Ce))for(Ue=0,Qe=Ce.length;Ue<Qe;Ue++)je=Ce[Ue],this.instruction(je);else if(Ee(Ce))for(je in Ce)Me.call(Ce,je)&&(Ze=Ce[je],this.instruction(je,Ze));else Le(Ne)&&(Ne=Ne.apply()),Pe=new we(this,Ce,Ne),this.children.push(Pe);return this},Oe.prototype.instructionBefore=function(Ce,Ne){var je,Ze,Pe;return Ze=this.parent.children.indexOf(this),Pe=this.parent.children.splice(Ze),je=this.parent.instruction(Ce,Ne),Array.prototype.push.apply(this.parent.children,Pe),this},Oe.prototype.instructionAfter=function(Ce,Ne){var je,Ze,Pe;return Ze=this.parent.children.indexOf(this),Pe=this.parent.children.splice(Ze+1),je=this.parent.instruction(Ce,Ne),Array.prototype.push.apply(this.parent.children,Pe),this},Oe.prototype.declaration=function(Ce,Ne,je){var Ze,Pe;return Ze=this.document(),Pe=new le(Ze,Ce,Ne,je),Ze.children.length===0?Ze.children.unshift(Pe):Ze.children[0].type===ne.Declaration?Ze.children[0]=Pe:Ze.children.unshift(Pe),Ze.root()||Ze},Oe.prototype.dtd=function(Ce,Ne){var je,Ze,Pe,Ue,Qe,tt,ot,lt,Ve,Ye;for(Ze=this.document(),Pe=new me(Ze,Ce,Ne),Ve=Ze.children,Ue=Qe=0,ot=Ve.length;Qe<ot;Ue=++Qe)if(je=Ve[Ue],je.type===ne.DocType)return Ze.children[Ue]=Pe,Pe;for(Ye=Ze.children,Ue=tt=0,lt=Ye.length;tt<lt;Ue=++tt)if(je=Ye[Ue],je.isRoot)return Ze.children.splice(Ue,0,Pe),Pe;return Ze.children.push(Pe),Pe},Oe.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},Oe.prototype.root=function(){var Ce;for(Ce=this;Ce;){if(Ce.type===ne.Document)return Ce.rootObject;if(Ce.isRoot)return Ce;Ce=Ce.parent}},Oe.prototype.document=function(){var Ce;for(Ce=this;Ce;){if(Ce.type===ne.Document)return Ce;Ce=Ce.parent}},Oe.prototype.end=function(Ce){return this.document().end(Ce)},Oe.prototype.prev=function(){var Ce;if(Ce=this.parent.children.indexOf(this),Ce<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[Ce-1]},Oe.prototype.next=function(){var Ce;if(Ce=this.parent.children.indexOf(this),Ce===-1||Ce===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[Ce+1]},Oe.prototype.importDocument=function(Ce){var Ne;return Ne=Ce.root().clone(),Ne.parent=this,Ne.isRoot=!1,this.children.push(Ne),this},Oe.prototype.debugInfo=function(Ce){var Ne,je;return Ce=Ce||this.name,Ce==null&&!((Ne=this.parent)!=null&&Ne.name)?"":Ce==null?"parent: <"+this.parent.name+">":(je=this.parent)!=null&&je.name?"node: <"+Ce+">, parent: <"+this.parent.name+">":"node: <"+Ce+">"},Oe.prototype.ele=function(Ce,Ne,je){return this.element(Ce,Ne,je)},Oe.prototype.nod=function(Ce,Ne,je){return this.node(Ce,Ne,je)},Oe.prototype.txt=function(Ce){return this.text(Ce)},Oe.prototype.dat=function(Ce){return this.cdata(Ce)},Oe.prototype.com=function(Ce){return this.comment(Ce)},Oe.prototype.ins=function(Ce,Ne){return this.instruction(Ce,Ne)},Oe.prototype.doc=function(){return this.document()},Oe.prototype.dec=function(Ce,Ne,je){return this.declaration(Ce,Ne,je)},Oe.prototype.e=function(Ce,Ne,je){return this.element(Ce,Ne,je)},Oe.prototype.n=function(Ce,Ne,je){return this.node(Ce,Ne,je)},Oe.prototype.t=function(Ce){return this.text(Ce)},Oe.prototype.d=function(Ce){return this.cdata(Ce)},Oe.prototype.c=function(Ce){return this.comment(Ce)},Oe.prototype.r=function(Ce){return this.raw(Ce)},Oe.prototype.i=function(Ce,Ne){return this.instruction(Ce,Ne)},Oe.prototype.u=function(){return this.up()},Oe.prototype.importXMLBuilder=function(Ce){return this.importDocument(Ce)},Oe.prototype.replaceChild=function(Ce,Ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.removeChild=function(Ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.appendChild=function(Ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.hasChildNodes=function(){return this.children.length!==0},Oe.prototype.cloneNode=function(Ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.isSupported=function(Ce,Ne){return!0},Oe.prototype.hasAttributes=function(){return this.attribs.length!==0},Oe.prototype.compareDocumentPosition=function(Ce){var Ne,je;return Ne=this,Ne===Ce?0:this.document()!==Ce.document()?(je=re.Disconnected|re.ImplementationSpecific,Math.random()<.5?je|=re.Preceding:je|=re.Following,je):Ne.isAncestor(Ce)?re.Contains|re.Preceding:Ne.isDescendant(Ce)?re.Contains|re.Following:Ne.isPreceding(Ce)?re.Preceding:re.Following},Oe.prototype.isSameNode=function(Ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.lookupPrefix=function(Ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.isDefaultNamespace=function(Ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.lookupNamespaceURI=function(Ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.isEqualNode=function(Ce){var Ne,je,Ze;if(Ce.nodeType!==this.nodeType||Ce.children.length!==this.children.length)return!1;for(Ne=je=0,Ze=this.children.length-1;0<=Ze?je<=Ze:je>=Ze;Ne=0<=Ze?++je:--je)if(!this.children[Ne].isEqualNode(Ce.children[Ne]))return!1;return!0},Oe.prototype.getFeature=function(Ce,Ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.setUserData=function(Ce,Ne,je){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.getUserData=function(Ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},Oe.prototype.contains=function(Ce){return Ce?Ce===this||this.isDescendant(Ce):!1},Oe.prototype.isDescendant=function(Ce){var Ne,je,Ze,Pe,Ue;for(Ue=this.children,Ze=0,Pe=Ue.length;Ze<Pe;Ze++)if(Ne=Ue[Ze],Ce===Ne||(je=Ne.isDescendant(Ce),je))return!0;return!1},Oe.prototype.isAncestor=function(Ce){return Ce.isDescendant(this)},Oe.prototype.isPreceding=function(Ce){var Ne,je;return Ne=this.treePosition(Ce),je=this.treePosition(this),Ne===-1||je===-1?!1:Ne<je},Oe.prototype.isFollowing=function(Ce){var Ne,je;return Ne=this.treePosition(Ce),je=this.treePosition(this),Ne===-1||je===-1?!1:Ne>je},Oe.prototype.treePosition=function(Ce){var Ne,je;return je=0,Ne=!1,this.foreachTreeNode(this.document(),function(Ze){if(je++,!Ne&&Ze===Ce)return Ne=!0}),Ne?je:-1},Oe.prototype.foreachTreeNode=function(Ce,Ne){var je,Ze,Pe,Ue,Qe;for(Ce||(Ce=this.document()),Ue=Ce.children,Ze=0,Pe=Ue.length;Ze<Pe;Ze++){if(je=Ue[Ze],Qe=Ne(je))return Qe;if(Qe=this.foreachTreeNode(je,Ne),Qe)return Qe}},Oe}()}).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,De,ve){(function(){var re;De.exports=re=function(){function ne(ie){this.nodes=ie}return Object.defineProperty(ne.prototype,"length",{get:function(){return this.nodes.length||0}}),ne.prototype.clone=function(){return this.nodes=null},ne.prototype.item=function(ie){return this.nodes[ie]||null},ne}()}).call(this)},{}],452:[function(x,De,ve){(function(){var re,ne,ie,oe=function(me,te){for(var ae in te)le.call(te,ae)&&(me[ae]=te[ae]);function ue(){this.constructor=me}return ue.prototype=te.prototype,me.prototype=new ue,me.__super__=te.prototype,me},le={}.hasOwnProperty;re=x("./NodeType"),ne=x("./XMLCharacterData"),De.exports=ie=function(me){oe(te,me);function te(ae,ue,de){if(te.__super__.constructor.call(this,ae),ue==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=re.ProcessingInstruction,this.target=this.stringify.insTarget(ue),this.name=this.target,de&&(this.value=this.stringify.insValue(de))}return te.prototype.clone=function(){return Object.create(this)},te.prototype.toString=function(ae){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(ae))},te.prototype.isEqualNode=function(ae){return!(!te.__super__.isEqualNode.apply(this,arguments).isEqualNode(ae)||ae.target!==this.target)},te}(ne)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(x,De,ve){(function(){var re,ne,ie,oe=function(me,te){for(var ae in te)le.call(te,ae)&&(me[ae]=te[ae]);function ue(){this.constructor=me}return ue.prototype=te.prototype,me.prototype=new ue,me.__super__=te.prototype,me},le={}.hasOwnProperty;re=x("./NodeType"),ne=x("./XMLNode"),De.exports=ie=function(me){oe(te,me);function te(ae,ue){if(te.__super__.constructor.call(this,ae),ue==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=re.Raw,this.value=this.stringify.raw(ue)}return te.prototype.clone=function(){return Object.create(this)},te.prototype.toString=function(ae){return this.options.writer.raw(this,this.options.writer.filterOptions(ae))},te}(ne)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(x,De,ve){(function(){var re,ne,ie,oe,le=function(te,ae){for(var ue in ae)me.call(ae,ue)&&(te[ue]=ae[ue]);function de(){this.constructor=te}return de.prototype=ae.prototype,te.prototype=new de,te.__super__=ae.prototype,te},me={}.hasOwnProperty;re=x("./NodeType"),oe=x("./XMLWriterBase"),ne=x("./WriterState"),De.exports=ie=function(te){le(ae,te);function ae(ue,de){this.stream=ue,ae.__super__.constructor.call(this,de)}return ae.prototype.endline=function(ue,de,he){return ue.isLastRootNode&&de.state===ne.CloseTag?"":ae.__super__.endline.call(this,ue,de,he)},ae.prototype.document=function(ue,de){var he,we,Se,xe,ye,Ae,Le,Ee,_e;for(Le=ue.children,we=Se=0,ye=Le.length;Se<ye;we=++Se)he=Le[we],he.isLastRootNode=we===ue.children.length-1;for(de=this.filterOptions(de),Ee=ue.children,_e=[],xe=0,Ae=Ee.length;xe<Ae;xe++)he=Ee[xe],_e.push(this.writeChildNode(he,de,0));return _e},ae.prototype.attribute=function(ue,de,he){return this.stream.write(ae.__super__.attribute.call(this,ue,de,he))},ae.prototype.cdata=function(ue,de,he){return this.stream.write(ae.__super__.cdata.call(this,ue,de,he))},ae.prototype.comment=function(ue,de,he){return this.stream.write(ae.__super__.comment.call(this,ue,de,he))},ae.prototype.declaration=function(ue,de,he){return this.stream.write(ae.__super__.declaration.call(this,ue,de,he))},ae.prototype.docType=function(ue,de,he){var we,Se,xe,ye;if(he||(he=0),this.openNode(ue,de,he),de.state=ne.OpenTag,this.stream.write(this.indent(ue,de,he)),this.stream.write("<!DOCTYPE "+ue.root().name),ue.pubID&&ue.sysID?this.stream.write(' PUBLIC "'+ue.pubID+'" "'+ue.sysID+'"'):ue.sysID&&this.stream.write(' SYSTEM "'+ue.sysID+'"'),ue.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(ue,de,he)),de.state=ne.InsideTag,ye=ue.children,Se=0,xe=ye.length;Se<xe;Se++)we=ye[Se],this.writeChildNode(we,de,he+1);de.state=ne.CloseTag,this.stream.write("]")}return de.state=ne.CloseTag,this.stream.write(de.spaceBeforeSlash+">"),this.stream.write(this.endline(ue,de,he)),de.state=ne.None,this.closeNode(ue,de,he)},ae.prototype.element=function(ue,de,he){var we,Se,xe,ye,Ae,Le,Ee,_e,Me,Oe;he||(he=0),this.openNode(ue,de,he),de.state=ne.OpenTag,this.stream.write(this.indent(ue,de,he)+"<"+ue.name),Me=ue.attribs;for(Ee in Me)me.call(Me,Ee)&&(we=Me[Ee],this.attribute(we,de,he));if(xe=ue.children.length,ye=xe===0?null:ue.children[0],xe===0||ue.children.every(function(Ce){return(Ce.type===re.Text||Ce.type===re.Raw)&&Ce.value===""}))de.allowEmpty?(this.stream.write(">"),de.state=ne.CloseTag,this.stream.write("</"+ue.name+">")):(de.state=ne.CloseTag,this.stream.write(de.spaceBeforeSlash+"/>"));else if(de.pretty&&xe===1&&(ye.type===re.Text||ye.type===re.Raw)&&ye.value!=null)this.stream.write(">"),de.state=ne.InsideTag,de.suppressPrettyCount++,_e=!0,this.writeChildNode(ye,de,he+1),de.suppressPrettyCount--,_e=!1,de.state=ne.CloseTag,this.stream.write("</"+ue.name+">");else{for(this.stream.write(">"+this.endline(ue,de,he)),de.state=ne.InsideTag,Oe=ue.children,Ae=0,Le=Oe.length;Ae<Le;Ae++)Se=Oe[Ae],this.writeChildNode(Se,de,he+1);de.state=ne.CloseTag,this.stream.write(this.indent(ue,de,he)+"</"+ue.name+">")}return this.stream.write(this.endline(ue,de,he)),de.state=ne.None,this.closeNode(ue,de,he)},ae.prototype.processingInstruction=function(ue,de,he){return this.stream.write(ae.__super__.processingInstruction.call(this,ue,de,he))},ae.prototype.raw=function(ue,de,he){return this.stream.write(ae.__super__.raw.call(this,ue,de,he))},ae.prototype.text=function(ue,de,he){return this.stream.write(ae.__super__.text.call(this,ue,de,he))},ae.prototype.dtdAttList=function(ue,de,he){return this.stream.write(ae.__super__.dtdAttList.call(this,ue,de,he))},ae.prototype.dtdElement=function(ue,de,he){return this.stream.write(ae.__super__.dtdElement.call(this,ue,de,he))},ae.prototype.dtdEntity=function(ue,de,he){return this.stream.write(ae.__super__.dtdEntity.call(this,ue,de,he))},ae.prototype.dtdNotation=function(ue,de,he){return this.stream.write(ae.__super__.dtdNotation.call(this,ue,de,he))},ae}(oe)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(x,De,ve){(function(){var re,ne,ie=function(le,me){for(var te in me)oe.call(me,te)&&(le[te]=me[te]);function ae(){this.constructor=le}return ae.prototype=me.prototype,le.prototype=new ae,le.__super__=me.prototype,le},oe={}.hasOwnProperty;ne=x("./XMLWriterBase"),De.exports=re=function(le){ie(me,le);function me(te){me.__super__.constructor.call(this,te)}return me.prototype.document=function(te,ae){var ue,de,he,we,Se;for(ae=this.filterOptions(ae),we="",Se=te.children,de=0,he=Se.length;de<he;de++)ue=Se[de],we+=this.writeChildNode(ue,ae,0);return ae.pretty&&we.slice(-ae.newline.length)===ae.newline&&(we=we.slice(0,-ae.newline.length)),we},me}(ne)}).call(this)},{"./XMLWriterBase":458}],456:[function(x,De,ve){(function(){var re,ne=function(oe,le){return function(){return oe.apply(le,arguments)}},ie={}.hasOwnProperty;De.exports=re=function(){function oe(le){this.assertLegalName=ne(this.assertLegalName,this),this.assertLegalChar=ne(this.assertLegalChar,this);var me,te,ae;le||(le={}),this.options=le,this.options.version||(this.options.version="1.0"),te=le.stringify||{};for(me in te)ie.call(te,me)&&(ae=te[me],this[me]=ae)}return oe.prototype.name=function(le){return this.options.noValidation?le:this.assertLegalName(""+le||"")},oe.prototype.text=function(le){return this.options.noValidation?le:this.assertLegalChar(this.textEscape(""+le||""))},oe.prototype.cdata=function(le){return this.options.noValidation?le:(le=""+le||"",le=le.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(le))},oe.prototype.comment=function(le){if(this.options.noValidation)return le;if(le=""+le||"",le.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+le);return this.assertLegalChar(le)},oe.prototype.raw=function(le){return this.options.noValidation?le:""+le||""},oe.prototype.attValue=function(le){return this.options.noValidation?le:this.assertLegalChar(this.attEscape(le=""+le||""))},oe.prototype.insTarget=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},oe.prototype.insValue=function(le){if(this.options.noValidation)return le;if(le=""+le||"",le.match(/\?>/))throw new Error("Invalid processing instruction value: "+le);return this.assertLegalChar(le)},oe.prototype.xmlVersion=function(le){if(this.options.noValidation)return le;if(le=""+le||"",!le.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+le);return le},oe.prototype.xmlEncoding=function(le){if(this.options.noValidation)return le;if(le=""+le||"",!le.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+le);return this.assertLegalChar(le)},oe.prototype.xmlStandalone=function(le){return this.options.noValidation?le:le?"yes":"no"},oe.prototype.dtdPubID=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},oe.prototype.dtdSysID=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},oe.prototype.dtdElementValue=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},oe.prototype.dtdAttType=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},oe.prototype.dtdAttDefault=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},oe.prototype.dtdEntityValue=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},oe.prototype.dtdNData=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},oe.prototype.convertAttKey="@",oe.prototype.convertPIKey="?",oe.prototype.convertTextKey="#text",oe.prototype.convertCDataKey="#cdata",oe.prototype.convertCommentKey="#comment",oe.prototype.convertRawKey="#raw",oe.prototype.assertLegalChar=function(le){var me,te;if(this.options.noValidation)return le;if(me="",this.options.version==="1.0"){if(me=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,te=le.match(me))throw new Error("Invalid character in string: "+le+" at index "+te.index)}else if(this.options.version==="1.1"&&(me=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,te=le.match(me)))throw new Error("Invalid character in string: "+le+" at index "+te.index);return le},oe.prototype.assertLegalName=function(le){var me;if(this.options.noValidation)return le;if(this.assertLegalChar(le),me=/^([: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])*$/,!le.match(me))throw new Error("Invalid character in name");return le},oe.prototype.textEscape=function(le){var me;return this.options.noValidation?le:(me=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,le.replace(me,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},oe.prototype.attEscape=function(le){var me;return this.options.noValidation?le:(me=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,le.replace(me,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},oe}()}).call(this)},{}],457:[function(x,De,ve){(function(){var re,ne,ie,oe=function(me,te){for(var ae in te)le.call(te,ae)&&(me[ae]=te[ae]);function ue(){this.constructor=me}return ue.prototype=te.prototype,me.prototype=new ue,me.__super__=te.prototype,me},le={}.hasOwnProperty;re=x("./NodeType"),ne=x("./XMLCharacterData"),De.exports=ie=function(me){oe(te,me);function te(ae,ue){if(te.__super__.constructor.call(this,ae),ue==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=re.Text,this.value=this.stringify.text(ue)}return Object.defineProperty(te.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(te.prototype,"wholeText",{get:function(){var ae,ue,de;for(de="",ue=this.previousSibling;ue;)de=ue.data+de,ue=ue.previousSibling;for(de+=this.data,ae=this.nextSibling;ae;)de=de+ae.data,ae=ae.nextSibling;return de}}),te.prototype.clone=function(){return Object.create(this)},te.prototype.toString=function(ae){return this.options.writer.text(this,this.options.writer.filterOptions(ae))},te.prototype.splitText=function(ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},te.prototype.replaceWholeText=function(ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},te}(ne)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(x,De,ve){(function(){var re,ne,ie,oe,le,me,te,ae,ue,de,he,we,Se,xe,ye,Ae,Le,Ee={}.hasOwnProperty;Le=x("./Utility").assign,re=x("./NodeType"),ue=x("./XMLDeclaration"),de=x("./XMLDocType"),ie=x("./XMLCData"),oe=x("./XMLComment"),we=x("./XMLElement"),xe=x("./XMLRaw"),ye=x("./XMLText"),Se=x("./XMLProcessingInstruction"),he=x("./XMLDummy"),le=x("./XMLDTDAttList"),me=x("./XMLDTDElement"),te=x("./XMLDTDEntity"),ae=x("./XMLDTDNotation"),ne=x("./WriterState"),De.exports=Ae=function(){function _e(Me){var Oe,Ce,Ne;Me||(Me={}),this.options=Me,Ce=Me.writer||{};for(Oe in Ce)Ee.call(Ce,Oe)&&(Ne=Ce[Oe],this["_"+Oe]=this[Oe],this[Oe]=Ne)}return _e.prototype.filterOptions=function(Me){var Oe,Ce,Ne,je,Ze,Pe,Ue,Qe;return Me||(Me={}),Me=Le({},this.options,Me),Oe={writer:this},Oe.pretty=Me.pretty||!1,Oe.allowEmpty=Me.allowEmpty||!1,Oe.indent=(Ce=Me.indent)!=null?Ce:" ",Oe.newline=(Ne=Me.newline)!=null?Ne:`
`,Oe.offset=(je=Me.offset)!=null?je:0,Oe.dontPrettyTextNodes=(Ze=(Pe=Me.dontPrettyTextNodes)!=null?Pe:Me.dontprettytextnodes)!=null?Ze:0,Oe.spaceBeforeSlash=(Ue=(Qe=Me.spaceBeforeSlash)!=null?Qe:Me.spacebeforeslash)!=null?Ue:"",Oe.spaceBeforeSlash===!0&&(Oe.spaceBeforeSlash=" "),Oe.suppressPrettyCount=0,Oe.user={},Oe.state=ne.None,Oe},_e.prototype.indent=function(Me,Oe,Ce){var Ne;return!Oe.pretty||Oe.suppressPrettyCount?"":Oe.pretty&&(Ne=(Ce||0)+Oe.offset+1,Ne>0)?new Array(Ne).join(Oe.indent):""},_e.prototype.endline=function(Me,Oe,Ce){return!Oe.pretty||Oe.suppressPrettyCount?"":Oe.newline},_e.prototype.attribute=function(Me,Oe,Ce){var Ne;return this.openAttribute(Me,Oe,Ce),Ne=" "+Me.name+'="'+Me.value+'"',this.closeAttribute(Me,Oe,Ce),Ne},_e.prototype.cdata=function(Me,Oe,Ce){var Ne;return this.openNode(Me,Oe,Ce),Oe.state=ne.OpenTag,Ne=this.indent(Me,Oe,Ce)+"<![CDATA[",Oe.state=ne.InsideTag,Ne+=Me.value,Oe.state=ne.CloseTag,Ne+="]]>"+this.endline(Me,Oe,Ce),Oe.state=ne.None,this.closeNode(Me,Oe,Ce),Ne},_e.prototype.comment=function(Me,Oe,Ce){var Ne;return this.openNode(Me,Oe,Ce),Oe.state=ne.OpenTag,Ne=this.indent(Me,Oe,Ce)+"<!-- ",Oe.state=ne.InsideTag,Ne+=Me.value,Oe.state=ne.CloseTag,Ne+=" -->"+this.endline(Me,Oe,Ce),Oe.state=ne.None,this.closeNode(Me,Oe,Ce),Ne},_e.prototype.declaration=function(Me,Oe,Ce){var Ne;return this.openNode(Me,Oe,Ce),Oe.state=ne.OpenTag,Ne=this.indent(Me,Oe,Ce)+"<?xml",Oe.state=ne.InsideTag,Ne+=' version="'+Me.version+'"',Me.encoding!=null&&(Ne+=' encoding="'+Me.encoding+'"'),Me.standalone!=null&&(Ne+=' standalone="'+Me.standalone+'"'),Oe.state=ne.CloseTag,Ne+=Oe.spaceBeforeSlash+"?>",Ne+=this.endline(Me,Oe,Ce),Oe.state=ne.None,this.closeNode(Me,Oe,Ce),Ne},_e.prototype.docType=function(Me,Oe,Ce){var Ne,je,Ze,Pe,Ue;if(Ce||(Ce=0),this.openNode(Me,Oe,Ce),Oe.state=ne.OpenTag,Pe=this.indent(Me,Oe,Ce),Pe+="<!DOCTYPE "+Me.root().name,Me.pubID&&Me.sysID?Pe+=' PUBLIC "'+Me.pubID+'" "'+Me.sysID+'"':Me.sysID&&(Pe+=' SYSTEM "'+Me.sysID+'"'),Me.children.length>0){for(Pe+=" [",Pe+=this.endline(Me,Oe,Ce),Oe.state=ne.InsideTag,Ue=Me.children,je=0,Ze=Ue.length;je<Ze;je++)Ne=Ue[je],Pe+=this.writeChildNode(Ne,Oe,Ce+1);Oe.state=ne.CloseTag,Pe+="]"}return Oe.state=ne.CloseTag,Pe+=Oe.spaceBeforeSlash+">",Pe+=this.endline(Me,Oe,Ce),Oe.state=ne.None,this.closeNode(Me,Oe,Ce),Pe},_e.prototype.element=function(Me,Oe,Ce){var Ne,je,Ze,Pe,Ue,Qe,tt,ot,lt,Ve,Ye,nt,dt,at;Ce||(Ce=0),Ve=!1,Ye="",this.openNode(Me,Oe,Ce),Oe.state=ne.OpenTag,Ye+=this.indent(Me,Oe,Ce)+"<"+Me.name,nt=Me.attribs;for(lt in nt)Ee.call(nt,lt)&&(Ne=nt[lt],Ye+=this.attribute(Ne,Oe,Ce));if(Ze=Me.children.length,Pe=Ze===0?null:Me.children[0],Ze===0||Me.children.every(function(et){return(et.type===re.Text||et.type===re.Raw)&&et.value===""}))Oe.allowEmpty?(Ye+=">",Oe.state=ne.CloseTag,Ye+="</"+Me.name+">"+this.endline(Me,Oe,Ce)):(Oe.state=ne.CloseTag,Ye+=Oe.spaceBeforeSlash+"/>"+this.endline(Me,Oe,Ce));else if(Oe.pretty&&Ze===1&&(Pe.type===re.Text||Pe.type===re.Raw)&&Pe.value!=null)Ye+=">",Oe.state=ne.InsideTag,Oe.suppressPrettyCount++,Ve=!0,Ye+=this.writeChildNode(Pe,Oe,Ce+1),Oe.suppressPrettyCount--,Ve=!1,Oe.state=ne.CloseTag,Ye+="</"+Me.name+">"+this.endline(Me,Oe,Ce);else{if(Oe.dontPrettyTextNodes){for(dt=Me.children,Ue=0,tt=dt.length;Ue<tt;Ue++)if(je=dt[Ue],(je.type===re.Text||je.type===re.Raw)&&je.value!=null){Oe.suppressPrettyCount++,Ve=!0;break}}for(Ye+=">"+this.endline(Me,Oe,Ce),Oe.state=ne.InsideTag,at=Me.children,Qe=0,ot=at.length;Qe<ot;Qe++)je=at[Qe],Ye+=this.writeChildNode(je,Oe,Ce+1);Oe.state=ne.CloseTag,Ye+=this.indent(Me,Oe,Ce)+"</"+Me.name+">",Ve&&Oe.suppressPrettyCount--,Ye+=this.endline(Me,Oe,Ce),Oe.state=ne.None}return this.closeNode(Me,Oe,Ce),Ye},_e.prototype.writeChildNode=function(Me,Oe,Ce){switch(Me.type){case re.CData:return this.cdata(Me,Oe,Ce);case re.Comment:return this.comment(Me,Oe,Ce);case re.Element:return this.element(Me,Oe,Ce);case re.Raw:return this.raw(Me,Oe,Ce);case re.Text:return this.text(Me,Oe,Ce);case re.ProcessingInstruction:return this.processingInstruction(Me,Oe,Ce);case re.Dummy:return"";case re.Declaration:return this.declaration(Me,Oe,Ce);case re.DocType:return this.docType(Me,Oe,Ce);case re.AttributeDeclaration:return this.dtdAttList(Me,Oe,Ce);case re.ElementDeclaration:return this.dtdElement(Me,Oe,Ce);case re.EntityDeclaration:return this.dtdEntity(Me,Oe,Ce);case re.NotationDeclaration:return this.dtdNotation(Me,Oe,Ce);default:throw new Error("Unknown XML node type: "+Me.constructor.name)}},_e.prototype.processingInstruction=function(Me,Oe,Ce){var Ne;return this.openNode(Me,Oe,Ce),Oe.state=ne.OpenTag,Ne=this.indent(Me,Oe,Ce)+"<?",Oe.state=ne.InsideTag,Ne+=Me.target,Me.value&&(Ne+=" "+Me.value),Oe.state=ne.CloseTag,Ne+=Oe.spaceBeforeSlash+"?>",Ne+=this.endline(Me,Oe,Ce),Oe.state=ne.None,this.closeNode(Me,Oe,Ce),Ne},_e.prototype.raw=function(Me,Oe,Ce){var Ne;return this.openNode(Me,Oe,Ce),Oe.state=ne.OpenTag,Ne=this.indent(Me,Oe,Ce),Oe.state=ne.InsideTag,Ne+=Me.value,Oe.state=ne.CloseTag,Ne+=this.endline(Me,Oe,Ce),Oe.state=ne.None,this.closeNode(Me,Oe,Ce),Ne},_e.prototype.text=function(Me,Oe,Ce){var Ne;return this.openNode(Me,Oe,Ce),Oe.state=ne.OpenTag,Ne=this.indent(Me,Oe,Ce),Oe.state=ne.InsideTag,Ne+=Me.value,Oe.state=ne.CloseTag,Ne+=this.endline(Me,Oe,Ce),Oe.state=ne.None,this.closeNode(Me,Oe,Ce),Ne},_e.prototype.dtdAttList=function(Me,Oe,Ce){var Ne;return this.openNode(Me,Oe,Ce),Oe.state=ne.OpenTag,Ne=this.indent(Me,Oe,Ce)+"<!ATTLIST",Oe.state=ne.InsideTag,Ne+=" "+Me.elementName+" "+Me.attributeName+" "+Me.attributeType,Me.defaultValueType!=="#DEFAULT"&&(Ne+=" "+Me.defaultValueType),Me.defaultValue&&(Ne+=' "'+Me.defaultValue+'"'),Oe.state=ne.CloseTag,Ne+=Oe.spaceBeforeSlash+">"+this.endline(Me,Oe,Ce),Oe.state=ne.None,this.closeNode(Me,Oe,Ce),Ne},_e.prototype.dtdElement=function(Me,Oe,Ce){var Ne;return this.openNode(Me,Oe,Ce),Oe.state=ne.OpenTag,Ne=this.indent(Me,Oe,Ce)+"<!ELEMENT",Oe.state=ne.InsideTag,Ne+=" "+Me.name+" "+Me.value,Oe.state=ne.CloseTag,Ne+=Oe.spaceBeforeSlash+">"+this.endline(Me,Oe,Ce),Oe.state=ne.None,this.closeNode(Me,Oe,Ce),Ne},_e.prototype.dtdEntity=function(Me,Oe,Ce){var Ne;return this.openNode(Me,Oe,Ce),Oe.state=ne.OpenTag,Ne=this.indent(Me,Oe,Ce)+"<!ENTITY",Oe.state=ne.InsideTag,Me.pe&&(Ne+=" %"),Ne+=" "+Me.name,Me.value?Ne+=' "'+Me.value+'"':(Me.pubID&&Me.sysID?Ne+=' PUBLIC "'+Me.pubID+'" "'+Me.sysID+'"':Me.sysID&&(Ne+=' SYSTEM "'+Me.sysID+'"'),Me.nData&&(Ne+=" NDATA "+Me.nData)),Oe.state=ne.CloseTag,Ne+=Oe.spaceBeforeSlash+">"+this.endline(Me,Oe,Ce),Oe.state=ne.None,this.closeNode(Me,Oe,Ce),Ne},_e.prototype.dtdNotation=function(Me,Oe,Ce){var Ne;return this.openNode(Me,Oe,Ce),Oe.state=ne.OpenTag,Ne=this.indent(Me,Oe,Ce)+"<!NOTATION",Oe.state=ne.InsideTag,Ne+=" "+Me.name,Me.pubID&&Me.sysID?Ne+=' PUBLIC "'+Me.pubID+'" "'+Me.sysID+'"':Me.pubID?Ne+=' PUBLIC "'+Me.pubID+'"':Me.sysID&&(Ne+=' SYSTEM "'+Me.sysID+'"'),Oe.state=ne.CloseTag,Ne+=Oe.spaceBeforeSlash+">"+this.endline(Me,Oe,Ce),Oe.state=ne.None,this.closeNode(Me,Oe,Ce),Ne},_e.prototype.openNode=function(Me,Oe,Ce){},_e.prototype.closeNode=function(Me,Oe,Ce){},_e.prototype.openAttribute=function(Me,Oe,Ce){},_e.prototype.closeAttribute=function(Me,Oe,Ce){},_e}()}).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,De,ve){(function(){var re,ne,ie,oe,le,me,te,ae,ue,de;de=x("./Utility"),ae=de.assign,ue=de.isFunction,ie=x("./XMLDOMImplementation"),oe=x("./XMLDocument"),le=x("./XMLDocumentCB"),te=x("./XMLStringWriter"),me=x("./XMLStreamWriter"),re=x("./NodeType"),ne=x("./WriterState"),De.exports.create=function(he,we,Se,xe){var ye,Ae;if(he==null)throw new Error("Root element needs a name.");return xe=ae({},we,Se,xe),ye=new oe(xe),Ae=ye.element(he),xe.headless||(ye.declaration(xe),(xe.pubID!=null||xe.sysID!=null)&&ye.dtd(xe)),Ae},De.exports.begin=function(he,we,Se){var xe;return ue(he)&&(xe=[he,we],we=xe[0],Se=xe[1],he={}),we?new le(he,we,Se):new oe(he)},De.exports.stringWriter=function(he){return new te(he)},De.exports.streamWriter=function(he,we){return new me(he,we)},De.exports.implementation=new ie,De.exports.nodeType=re,De.exports.writerState=ne}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(x,De,ve){De.exports=ne;var re=Object.prototype.hasOwnProperty;function ne(){for(var ie={},oe=0;oe<arguments.length;oe++){var le=arguments[oe];for(var me in le)re.call(le,me)&&(ie[me]=le[me])}return ie}},{}],461:[function(x,De,ve){"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 re=x("buffer").Buffer,ne=x("./sha"),ie=x("./md5"),oe={sha1:ne,md5:ie},le=64,me=re.alloc(le);me.fill(0);function te(de,he,we){re.isBuffer(he)||(he=re.from(he)),re.isBuffer(we)||(we=re.from(we)),he.length>le?he=de(he):he.length<le&&(he=re.concat([he,me],le));for(var Se=re.alloc(le),xe=re.alloc(le),ye=0;ye<le;ye++)Se[ye]=he[ye]^54,xe[ye]=he[ye]^92;var Ae=de(re.concat([Se,we]));return de(re.concat([xe,Ae]))}function ae(de,he){de=de||"sha1";var we=oe[de],Se=[],xe=0;return we||ue("algorithm:",de,"is not yet supported"),{update:function(Ae){return re.isBuffer(Ae)||(Ae=re.from(Ae)),Se.push(Ae),xe+=Ae.length,this},digest:function(Ae){var Le=re.concat(Se),Ee=he?te(we,he,Le):we(Le);return Se=null,Ae?Ee.toString(Ae):Ee}}}function ue(){var de=[].slice.call(arguments).join(" ");throw new Error([de,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}ve.createHash=function(de){return ae(de)},ve.createHmac=function(de,he){return ae(de,he)},ve.createCredentials=function(){ue("sorry,createCredentials is not implemented yet")},ve.createCipher=function(){ue("sorry,createCipher is not implemented yet")},ve.createCipheriv=function(){ue("sorry,createCipheriv is not implemented yet")},ve.createDecipher=function(){ue("sorry,createDecipher is not implemented yet")},ve.createDecipheriv=function(){ue("sorry,createDecipheriv is not implemented yet")},ve.createSign=function(){ue("sorry,createSign is not implemented yet")},ve.createVerify=function(){ue("sorry,createVerify is not implemented yet")},ve.createDiffieHellman=function(){ue("sorry,createDiffieHellman is not implemented yet")},ve.pbkdf2=function(){ue("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,De,ve){"use strict";x("core-js/modules/es.array.fill.js"),x("core-js/modules/es.array.concat.js");var re=x("buffer").Buffer,ne=4,ie=re.alloc(ne);ie.fill(0);var oe=8;function le(ae,ue){if(ae.length%ne!==0){var de=ae.length+(ne-ae.length%ne);ae=re.concat([ae,ie],de)}for(var he=[],we=ue?ae.readInt32BE:ae.readInt32LE,Se=0;Se<ae.length;Se+=ne)he.push(we.call(ae,Se));return he}function me(ae,ue,de){for(var he=re.alloc(ue),we=de?he.writeInt32BE:he.writeInt32LE,Se=0;Se<ae.length;Se++)we.call(he,ae[Se],Se*4,!0);return he}function te(ae,ue,de,he){re.isBuffer(ae)||(ae=re.from(ae));var we=ue(le(ae,he),ae.length*oe);return me(we,de,he)}De.exports={hash:te}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(x,De,ve){"use strict";var re=x("./helpers");function ne(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function ie(he,we){he[we>>5]|=128<<we%32,he[(we+64>>>9<<4)+14]=we;for(var Se=1732584193,xe=-271733879,ye=-1732584194,Ae=271733878,Le=0;Le<he.length;Le+=16){var Ee=Se,_e=xe,Me=ye,Oe=Ae;Se=le(Se,xe,ye,Ae,he[Le+0],7,-680876936),Ae=le(Ae,Se,xe,ye,he[Le+1],12,-389564586),ye=le(ye,Ae,Se,xe,he[Le+2],17,606105819),xe=le(xe,ye,Ae,Se,he[Le+3],22,-1044525330),Se=le(Se,xe,ye,Ae,he[Le+4],7,-176418897),Ae=le(Ae,Se,xe,ye,he[Le+5],12,1200080426),ye=le(ye,Ae,Se,xe,he[Le+6],17,-1473231341),xe=le(xe,ye,Ae,Se,he[Le+7],22,-45705983),Se=le(Se,xe,ye,Ae,he[Le+8],7,1770035416),Ae=le(Ae,Se,xe,ye,he[Le+9],12,-1958414417),ye=le(ye,Ae,Se,xe,he[Le+10],17,-42063),xe=le(xe,ye,Ae,Se,he[Le+11],22,-1990404162),Se=le(Se,xe,ye,Ae,he[Le+12],7,1804603682),Ae=le(Ae,Se,xe,ye,he[Le+13],12,-40341101),ye=le(ye,Ae,Se,xe,he[Le+14],17,-1502002290),xe=le(xe,ye,Ae,Se,he[Le+15],22,1236535329),Se=me(Se,xe,ye,Ae,he[Le+1],5,-165796510),Ae=me(Ae,Se,xe,ye,he[Le+6],9,-1069501632),ye=me(ye,Ae,Se,xe,he[Le+11],14,643717713),xe=me(xe,ye,Ae,Se,he[Le+0],20,-373897302),Se=me(Se,xe,ye,Ae,he[Le+5],5,-701558691),Ae=me(Ae,Se,xe,ye,he[Le+10],9,38016083),ye=me(ye,Ae,Se,xe,he[Le+15],14,-660478335),xe=me(xe,ye,Ae,Se,he[Le+4],20,-405537848),Se=me(Se,xe,ye,Ae,he[Le+9],5,568446438),Ae=me(Ae,Se,xe,ye,he[Le+14],9,-1019803690),ye=me(ye,Ae,Se,xe,he[Le+3],14,-187363961),xe=me(xe,ye,Ae,Se,he[Le+8],20,1163531501),Se=me(Se,xe,ye,Ae,he[Le+13],5,-1444681467),Ae=me(Ae,Se,xe,ye,he[Le+2],9,-51403784),ye=me(ye,Ae,Se,xe,he[Le+7],14,1735328473),xe=me(xe,ye,Ae,Se,he[Le+12],20,-1926607734),Se=te(Se,xe,ye,Ae,he[Le+5],4,-378558),Ae=te(Ae,Se,xe,ye,he[Le+8],11,-2022574463),ye=te(ye,Ae,Se,xe,he[Le+11],16,1839030562),xe=te(xe,ye,Ae,Se,he[Le+14],23,-35309556),Se=te(Se,xe,ye,Ae,he[Le+1],4,-1530992060),Ae=te(Ae,Se,xe,ye,he[Le+4],11,1272893353),ye=te(ye,Ae,Se,xe,he[Le+7],16,-155497632),xe=te(xe,ye,Ae,Se,he[Le+10],23,-1094730640),Se=te(Se,xe,ye,Ae,he[Le+13],4,681279174),Ae=te(Ae,Se,xe,ye,he[Le+0],11,-358537222),ye=te(ye,Ae,Se,xe,he[Le+3],16,-722521979),xe=te(xe,ye,Ae,Se,he[Le+6],23,76029189),Se=te(Se,xe,ye,Ae,he[Le+9],4,-640364487),Ae=te(Ae,Se,xe,ye,he[Le+12],11,-421815835),ye=te(ye,Ae,Se,xe,he[Le+15],16,530742520),xe=te(xe,ye,Ae,Se,he[Le+2],23,-995338651),Se=ae(Se,xe,ye,Ae,he[Le+0],6,-198630844),Ae=ae(Ae,Se,xe,ye,he[Le+7],10,1126891415),ye=ae(ye,Ae,Se,xe,he[Le+14],15,-1416354905),xe=ae(xe,ye,Ae,Se,he[Le+5],21,-57434055),Se=ae(Se,xe,ye,Ae,he[Le+12],6,1700485571),Ae=ae(Ae,Se,xe,ye,he[Le+3],10,-1894986606),ye=ae(ye,Ae,Se,xe,he[Le+10],15,-1051523),xe=ae(xe,ye,Ae,Se,he[Le+1],21,-2054922799),Se=ae(Se,xe,ye,Ae,he[Le+8],6,1873313359),Ae=ae(Ae,Se,xe,ye,he[Le+15],10,-30611744),ye=ae(ye,Ae,Se,xe,he[Le+6],15,-1560198380),xe=ae(xe,ye,Ae,Se,he[Le+13],21,1309151649),Se=ae(Se,xe,ye,Ae,he[Le+4],6,-145523070),Ae=ae(Ae,Se,xe,ye,he[Le+11],10,-1120210379),ye=ae(ye,Ae,Se,xe,he[Le+2],15,718787259),xe=ae(xe,ye,Ae,Se,he[Le+9],21,-343485551),Se=ue(Se,Ee),xe=ue(xe,_e),ye=ue(ye,Me),Ae=ue(Ae,Oe)}return Array(Se,xe,ye,Ae)}function oe(he,we,Se,xe,ye,Ae){return ue(de(ue(ue(we,he),ue(xe,Ae)),ye),Se)}function le(he,we,Se,xe,ye,Ae,Le){return oe(we&Se|~we&xe,he,we,ye,Ae,Le)}function me(he,we,Se,xe,ye,Ae,Le){return oe(we&xe|Se&~xe,he,we,ye,Ae,Le)}function te(he,we,Se,xe,ye,Ae,Le){return oe(we^Se^xe,he,we,ye,Ae,Le)}function ae(he,we,Se,xe,ye,Ae,Le){return oe(Se^(we|~xe),he,we,ye,Ae,Le)}function ue(he,we){var Se=(he&65535)+(we&65535),xe=(he>>16)+(we>>16)+(Se>>16);return xe<<16|Se&65535}function de(he,we){return he<<we|he>>>32-we}De.exports=function(we){return re.hash(we,ie,16)}},{"./helpers":462}],464:[function(x,De,ve){"use strict";var re=x("./helpers");function ne(te,ae){te[ae>>5]|=128<<24-ae%32,te[(ae+64>>9<<4)+15]=ae;for(var ue=Array(80),de=1732584193,he=-271733879,we=-1732584194,Se=271733878,xe=-1009589776,ye=0;ye<te.length;ye+=16){for(var Ae=de,Le=he,Ee=we,_e=Se,Me=xe,Oe=0;Oe<80;Oe++){Oe<16?ue[Oe]=te[ye+Oe]:ue[Oe]=me(ue[Oe-3]^ue[Oe-8]^ue[Oe-14]^ue[Oe-16],1);var Ce=le(le(me(de,5),ie(Oe,he,we,Se)),le(le(xe,ue[Oe]),oe(Oe)));xe=Se,Se=we,we=me(he,30),he=de,de=Ce}de=le(de,Ae),he=le(he,Le),we=le(we,Ee),Se=le(Se,_e),xe=le(xe,Me)}return Array(de,he,we,Se,xe)}function ie(te,ae,ue,de){return te<20?ae&ue|~ae&de:te<40?ae^ue^de:te<60?ae&ue|ae&de|ue&de:ae^ue^de}function oe(te){return te<20?1518500249:te<40?1859775393:te<60?-1894007588:-899497514}function le(te,ae){var ue=(te&65535)+(ae&65535),de=(te>>16)+(ae>>16)+(ue>>16);return de<<16|ue&65535}function me(te,ae){return te<<ae|te>>>32-ae}De.exports=function(ae){return re.hash(ae,ne,20,!0)}},{"./helpers":462}],465:[function(x,De,ve){"use strict";De.exports=function(){return function(){}}},{}],466:[function(x,De,ve){(function(re){(function(){"use strict";var ne=x("@babel/runtime/helpers/interopRequireDefault"),ie=ne(x("@babel/runtime/helpers/typeof")),oe=x("stream"),le=oe.Stream,me=x("../lib/common/utils/isArray"),te=me.isArray;De.exports.string=function(de){return typeof de=="string"},De.exports.array=te,De.exports.buffer=re.isBuffer;function ae(ue){return ue instanceof le}De.exports.writableStream=function(de){return ae(de)&&typeof de._write=="function"&&(0,ie.default)(de._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,De,ve){"use strict";var re=x("immediate"),ne=De.exports={};ne.nextTick=re,ne.title="browser",ne.browser=!0,ne.env={},ne.argv=[],ne.version="",ne.versions={};function ie(){}ne.on=ie,ne.addListener=ie,ne.once=ie,ne.off=ie,ne.removeListener=ie,ne.removeAllListeners=ie,ne.emit=ie,ne.prependListener=ie,ne.prependOnceListener=ie,ne.listeners=function(oe){return[]},ne.binding=function(oe){throw new Error("process.binding is not supported")},ne.cwd=function(){return"/"},ne.chdir=function(oe){throw new Error("process.chdir is not supported")},ne.umask=function(){return 0}},{immediate:358}],468:[function(x,De,ve){(function(re){(function(){"use strict";x("core-js/modules/es.regexp.exec.js"),x("core-js/modules/es.string.search.js");var ne=x("./lib/request"),ie=x("./lib/response"),oe=x("xtend"),le=x("builtin-status-codes"),me=x("url"),te=ve;te.request=function(ae,ue){typeof ae=="string"?ae=me.parse(ae):ae=oe(ae);var de=re.location.protocol.search(/^https?:$/)===-1?"http:":"",he=ae.protocol||de,we=ae.hostname||ae.host,Se=ae.port,xe=ae.path||"/";we&&we.indexOf(":")!==-1&&(we="["+we+"]"),ae.url=(we?he+"//"+we:"")+(Se?":"+Se:"")+xe,ae.method=(ae.method||"GET").toUpperCase(),ae.headers=ae.headers||{};var ye=new ne(ae);return ue&&ye.on("response",ue),ye},te.get=function(ue,de){var he=te.request(ue,de);return he.end(),he},te.ClientRequest=ne,te.IncomingMessage=ie.IncomingMessage,te.Agent=function(){},te.Agent.defaultMaxSockets=4,te.globalAgent=new te.Agent,te.STATUS_CODES=le,te.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 Wt!="undefined"?Wt: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,De,ve){(function(re){(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"),ve.fetch=te(re.fetch)&&te(re.ReadableStream),ve.writableStream=te(re.WritableStream),ve.abortController=te(re.AbortController),ve.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),ve.blobConstructor=!0}catch(ae){}var ne;function ie(){if(ne!==void 0)return ne;if(re.XMLHttpRequest){ne=new re.XMLHttpRequest;try{ne.open("GET",re.XDomainRequest?"/":"https://example.com")}catch(ae){ne=null}}else ne=null;return ne}function oe(ae){var ue=ie();if(!ue)return!1;try{return ue.responseType=ae,ue.responseType===ae}catch(de){}return!1}var le=typeof re.ArrayBuffer!="undefined",me=le&&te(re.ArrayBuffer.prototype.slice);ve.arraybuffer=ve.fetch||le&&oe("arraybuffer"),ve.msstream=!ve.fetch&&me&&oe("ms-stream"),ve.mozchunkedarraybuffer=!ve.fetch&&le&&oe("moz-chunked-arraybuffer"),ve.overrideMimeType=ve.fetch||(ie()?te(ie().overrideMimeType):!1),ve.vbArray=te(re.VBArray);function te(ae){return typeof ae=="function"}ne=null}).call(this)}).call(this,typeof Wt!="undefined"?Wt: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,De,ve){(function(re,ne,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"),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 oe=x("./capability"),le=x("inherits"),me=x("./response"),te=x("readable-stream"),ae=x("to-arraybuffer"),ue=me.IncomingMessage,de=me.readyStates;function he(ye,Ae){return oe.fetch&&Ae?"fetch":oe.mozchunkedarraybuffer?"moz-chunked-arraybuffer":oe.msstream?"ms-stream":oe.arraybuffer&&ye?"arraybuffer":oe.vbArray&&ye?"text:vbarray":"text"}var we=De.exports=function(ye){var Ae=this;te.Writable.call(Ae),Ae._opts=ye,Ae._body=[],Ae._headers={},ye.auth&&Ae.setHeader("Authorization","Basic "+new ie(ye.auth).toString("base64")),Object.keys(ye.headers).forEach(function(_e){Ae.setHeader(_e,ye.headers[_e])});var Le,Ee=!0;if(ye.mode==="disable-fetch"||"requestTimeout"in ye&&!oe.abortController)Ee=!1,Le=!0;else if(ye.mode==="prefer-streaming")Le=!1;else if(ye.mode==="allow-wrong-content-type")Le=!oe.overrideMimeType;else if(!ye.mode||ye.mode==="default"||ye.mode==="prefer-fast")Le=!0;else throw new Error("Invalid value for opts.mode");Ae._mode=he(Le,Ee),Ae._fetchTimer=null,Ae.on("finish",function(){Ae._onFinish()})};le(we,te.Writable),we.prototype.setHeader=function(ye,Ae){var Le=this,Ee=ye.toLowerCase();xe.indexOf(Ee)===-1&&(Le._headers[Ee]={name:ye,value:Ae})},we.prototype.getHeader=function(ye){var Ae=this._headers[ye.toLowerCase()];return Ae?Ae.value:null},we.prototype.removeHeader=function(ye){var Ae=this;delete Ae._headers[ye.toLowerCase()]},we.prototype._onFinish=function(){var ye=this;if(!ye._destroyed){var Ae=ye._opts,Le=ye._headers,Ee=null;Ae.method!=="GET"&&Ae.method!=="HEAD"&&(oe.arraybuffer?Ee=ae(ie.concat(ye._body)):oe.blobConstructor?Ee=new ne.Blob(ye._body.map(function(je){return ae(je)}),{type:(Le["content-type"]||{}).value||""}):Ee=ie.concat(ye._body).toString());var _e=[];if(Object.keys(Le).forEach(function(je){var Ze=Le[je].name,Pe=Le[je].value;Array.isArray(Pe)?Pe.forEach(function(Ue){_e.push([Ze,Ue])}):_e.push([Ze,Pe])}),ye._mode==="fetch"){var Me=null,Oe=null;if(oe.abortController){var Ce=new AbortController;Me=Ce.signal,ye._fetchAbortController=Ce,"requestTimeout"in Ae&&Ae.requestTimeout!==0&&(ye._fetchTimer=ne.setTimeout(function(){ye.emit("requestTimeout"),ye._fetchAbortController&&ye._fetchAbortController.abort()},Ae.requestTimeout))}ne.fetch(ye._opts.url,{method:ye._opts.method,headers:_e,body:Ee||void 0,mode:"cors",credentials:Ae.withCredentials?"include":"same-origin",signal:Me}).then(function(je){ye._fetchResponse=je,ye._connect()},function(je){ne.clearTimeout(ye._fetchTimer),ye._destroyed||ye.emit("error",je)})}else{var Ne=ye._xhr=new ne.XMLHttpRequest;try{Ne.open(ye._opts.method,ye._opts.url,!0)}catch(je){re.nextTick(function(){ye.emit("error",je)});return}"responseType"in Ne&&(Ne.responseType=ye._mode.split(":")[0]),"withCredentials"in Ne&&(Ne.withCredentials=!!Ae.withCredentials),ye._mode==="text"&&"overrideMimeType"in Ne&&Ne.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in Ae&&(Ne.timeout=Ae.requestTimeout,Ne.ontimeout=function(){ye.emit("requestTimeout")}),_e.forEach(function(je){Ne.setRequestHeader(je[0],je[1])}),ye._response=null,Ne.onreadystatechange=function(){switch(Ne.readyState){case de.LOADING:case de.DONE:ye._onXHRProgress();break}},ye._mode==="moz-chunked-arraybuffer"&&(Ne.onprogress=function(){ye._onXHRProgress()}),Ne.onerror=function(){ye._destroyed||ye.emit("error",new Error("XHR error"))};try{Ne.send(Ee)}catch(je){re.nextTick(function(){ye.emit("error",je)});return}}}};function Se(ye){try{var Ae=ye.status;return Ae!==null&&Ae!==0}catch(Le){return!1}}we.prototype._onXHRProgress=function(){var ye=this;!Se(ye._xhr)||ye._destroyed||(ye._response||ye._connect(),ye._response._onXHRProgress())},we.prototype._connect=function(){var ye=this;ye._destroyed||(ye._response=new ue(ye._xhr,ye._fetchResponse,ye._mode,ye._fetchTimer),ye._response.on("error",function(Ae){ye.emit("error",Ae)}),ye.emit("response",ye._response))},we.prototype._write=function(ye,Ae,Le){var Ee=this;Ee._body.push(ye),Le()},we.prototype.abort=we.prototype.destroy=function(){var ye=this;ye._destroyed=!0,ne.clearTimeout(ye._fetchTimer),ye._response&&(ye._response._destroyed=!0),ye._xhr?ye._xhr.abort():ye._fetchAbortController&&ye._fetchAbortController.abort()},we.prototype.end=function(ye,Ae,Le){var Ee=this;typeof ye=="function"&&(Le=ye,ye=void 0),te.Writable.prototype.end.call(Ee,ye,Ae,Le)},we.prototype.flushHeaders=function(){},we.prototype.setTimeout=function(){},we.prototype.setNoDelay=function(){},we.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 Wt!="undefined"?Wt: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,De,ve){(function(re,ne,ie){(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 oe=x("./capability"),le=x("inherits"),me=x("readable-stream"),te=ve.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ae=ve.IncomingMessage=function(ue,de,he,we){var Se=this;if(me.Readable.call(Se),Se._mode=he,Se.headers={},Se.rawHeaders=[],Se.trailers={},Se.rawTrailers=[],Se.on("end",function(){re.nextTick(function(){Se.emit("close")})}),he==="fetch"){var xe=function Me(){Ae.read().then(function(Oe){if(!Se._destroyed){if(Oe.done){ne.clearTimeout(we),Se.push(null);return}Se.push(new ie(Oe.value)),Me()}}).catch(function(Oe){ne.clearTimeout(we),Se._destroyed||Se.emit("error",Oe)})};if(Se._fetchResponse=de,Se.url=de.url,Se.statusCode=de.status,Se.statusMessage=de.statusText,de.headers.forEach(function(Me,Oe){Se.headers[Oe.toLowerCase()]=Me,Se.rawHeaders.push(Oe,Me)}),oe.writableStream){var ye=new WritableStream({write:function(Oe){return new Promise(function(Ce,Ne){Se._destroyed?Ne():Se.push(new ie(Oe))?Ce():Se._resumeFetch=Ce})},close:function(){ne.clearTimeout(we),Se._destroyed||Se.push(null)},abort:function(Oe){Se._destroyed||Se.emit("error",Oe)}});try{de.body.pipeTo(ye).catch(function(Me){ne.clearTimeout(we),Se._destroyed||Se.emit("error",Me)});return}catch(Me){}}var Ae=de.body.getReader();xe()}else{Se._xhr=ue,Se._pos=0,Se.url=ue.responseURL,Se.statusCode=ue.status,Se.statusMessage=ue.statusText;var Le=ue.getAllResponseHeaders().split(/\r?\n/);if(Le.forEach(function(Me){var Oe=Me.match(/^([^:]+):\s*(.*)/);if(Oe){var Ce=Oe[1].toLowerCase();Ce==="set-cookie"?(Se.headers[Ce]===void 0&&(Se.headers[Ce]=[]),Se.headers[Ce].push(Oe[2])):Se.headers[Ce]!==void 0?Se.headers[Ce]+=", "+Oe[2]:Se.headers[Ce]=Oe[2],Se.rawHeaders.push(Oe[1],Oe[2])}}),Se._charset="x-user-defined",!oe.overrideMimeType){var Ee=Se.rawHeaders["mime-type"];if(Ee){var _e=Ee.match(/;\s*charset=([^;])(;|$)/);_e&&(Se._charset=_e[1].toLowerCase())}Se._charset||(Se._charset="utf-8")}}};le(ae,me.Readable),ae.prototype._read=function(){var ue=this,de=ue._resumeFetch;de&&(ue._resumeFetch=null,de())},ae.prototype._onXHRProgress=function(){var ue=this,de=ue._xhr,he=null;switch(ue._mode){case"text:vbarray":if(de.readyState!==te.DONE)break;try{he=new ne.VBArray(de.responseBody).toArray()}catch(Ae){}if(he!==null){ue.push(new ie(he));break}case"text":try{he=de.responseText}catch(Ae){ue._mode="text:vbarray";break}if(he.length>ue._pos){var we=he.substr(ue._pos);if(ue._charset==="x-user-defined"){for(var Se=new ie(we.length),xe=0;xe<we.length;xe++)Se[xe]=we.charCodeAt(xe)&255;ue.push(Se)}else ue.push(we,ue._charset);ue._pos=he.length}break;case"arraybuffer":if(de.readyState!==te.DONE||!de.response)break;he=de.response,ue.push(new ie(new Uint8Array(he)));break;case"moz-chunked-arraybuffer":if(he=de.response,de.readyState!==te.LOADING||!he)break;ue.push(new ie(new Uint8Array(he)));break;case"ms-stream":if(he=de.response,de.readyState!==te.LOADING)break;var ye=new ne.MSStreamReader;ye.onprogress=function(){ye.result.byteLength>ue._pos&&(ue.push(new ie(new Uint8Array(ye.result.slice(ue._pos)))),ue._pos=ye.result.byteLength)},ye.onload=function(){ue.push(null)},ye.readAsArrayBuffer(he);break}ue._xhr.readyState===te.DONE&&ue._mode!=="ms-stream"&&ue.push(null)}}).call(this)}).call(this,x("_process"),typeof Wt!="undefined"?Wt: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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(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 ie=x("punycode"),oe=x("./util");ve.parse=Oe,ve.resolve=Ne,ve.resolveObject=je,ve.format=Ce,ve.Url=le;function le(){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 me=/^([a-z0-9.+-]+:)/i,te=/:[0-9]*$/,ae=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ue=["<",">",'"',"`"," ","\r",`
`," "],de=["{","}","|","\\","^","`"].concat(ue),he=["'"].concat(de),we=["%","/","?",";","#"].concat(he),Se=["/","?","#"],xe=255,ye=/^[+a-z0-9A-Z_-]{0,63}$/,Ae=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Le={javascript:!0,"javascript:":!0},Ee={javascript:!0,"javascript:":!0},_e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Me=x("querystring");function Oe(Ze,Pe,Ue){if(Ze&&oe.isObject(Ze)&&Ze instanceof le)return Ze;var Qe=new le;return Qe.parse(Ze,Pe,Ue),Qe}le.prototype.parse=function(Ze,Pe,Ue){if(!oe.isString(Ze))throw new TypeError("Parameter 'url' must be a string, not "+(0,ne.default)(Ze));var Qe=Ze.indexOf("?"),tt=Qe!==-1&&Qe<Ze.indexOf("#")?"?":"#",ot=Ze.split(tt),lt=/\\/g;ot[0]=ot[0].replace(lt,"/"),Ze=ot.join(tt);var Ve=Ze;if(Ve=Ve.trim(),!Ue&&Ze.split("#").length===1){var Ye=ae.exec(Ve);if(Ye)return this.path=Ve,this.href=Ve,this.pathname=Ye[1],Ye[2]?(this.search=Ye[2],Pe?this.query=Me.parse(this.search.substr(1)):this.query=this.search.substr(1)):Pe&&(this.search="",this.query={}),this}var nt=me.exec(Ve);if(nt){nt=nt[0];var dt=nt.toLowerCase();this.protocol=dt,Ve=Ve.substr(nt.length)}if(Ue||nt||Ve.match(/^\/\/[^@\/]+@[^@\/]+/)){var at=Ve.substr(0,2)==="//";at&&!(nt&&Ee[nt])&&(Ve=Ve.substr(2),this.slashes=!0)}if(!Ee[nt]&&(at||nt&&!_e[nt])){for(var et=-1,qe=0;qe<Se.length;qe++){var it=Ve.indexOf(Se[qe]);it!==-1&&(et===-1||it<et)&&(et=it)}var yt,ht;et===-1?ht=Ve.lastIndexOf("@"):ht=Ve.lastIndexOf("@",et),ht!==-1&&(yt=Ve.slice(0,ht),Ve=Ve.slice(ht+1),this.auth=decodeURIComponent(yt)),et=-1;for(var qe=0;qe<we.length;qe++){var it=Ve.indexOf(we[qe]);it!==-1&&(et===-1||it<et)&&(et=it)}et===-1&&(et=Ve.length),this.host=Ve.slice(0,et),Ve=Ve.slice(et),this.parseHost(),this.hostname=this.hostname||"";var Bt=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Bt)for(var Et=this.hostname.split("."),qe=0,st=Et.length;qe<st;qe++){var Ge=Et[qe];if(Ge&&!Ge.match(ye)){for(var We="",se=0,fe=Ge.length;se<fe;se++)Ge.charCodeAt(se)>127?We+="x":We+=Ge[se];if(!We.match(ye)){var ze=Et.slice(0,qe),He=Et.slice(qe+1),pe=Ge.match(Ae);pe&&(ze.push(pe[1]),He.unshift(pe[2])),He.length&&(Ve="/"+He.join(".")+Ve),this.hostname=ze.join(".");break}}}this.hostname.length>xe?this.hostname="":this.hostname=this.hostname.toLowerCase(),Bt||(this.hostname=ie.toASCII(this.hostname));var Be=this.port?":"+this.port:"",Ke=this.hostname||"";this.host=Ke+Be,this.href+=this.host,Bt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Ve[0]!=="/"&&(Ve="/"+Ve))}if(!Le[dt])for(var qe=0,st=he.length;qe<st;qe++){var Xe=he[qe];if(Ve.indexOf(Xe)!==-1){var Je=encodeURIComponent(Xe);Je===Xe&&(Je=escape(Xe)),Ve=Ve.split(Xe).join(Je)}}var ut=Ve.indexOf("#");ut!==-1&&(this.hash=Ve.substr(ut),Ve=Ve.slice(0,ut));var bt=Ve.indexOf("?");if(bt!==-1?(this.search=Ve.substr(bt),this.query=Ve.substr(bt+1),Pe&&(this.query=Me.parse(this.query)),Ve=Ve.slice(0,bt)):Pe&&(this.search="",this.query={}),Ve&&(this.pathname=Ve),_e[dt]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Be=this.pathname||"",gt=this.search||"";this.path=Be+gt}return this.href=this.format(),this};function Ce(Ze){return oe.isString(Ze)&&(Ze=Oe(Ze)),Ze instanceof le?Ze.format():le.prototype.format.call(Ze)}le.prototype.format=function(){var Ze=this.auth||"";Ze&&(Ze=encodeURIComponent(Ze),Ze=Ze.replace(/%3A/i,":"),Ze+="@");var Pe=this.protocol||"",Ue=this.pathname||"",Qe=this.hash||"",tt=!1,ot="";this.host?tt=Ze+this.host:this.hostname&&(tt=Ze+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(tt+=":"+this.port)),this.query&&oe.isObject(this.query)&&Object.keys(this.query).length&&(ot=Me.stringify(this.query));var lt=this.search||ot&&"?"+ot||"";return Pe&&Pe.substr(-1)!==":"&&(Pe+=":"),this.slashes||(!Pe||_e[Pe])&&tt!==!1?(tt="//"+(tt||""),Ue&&Ue.charAt(0)!=="/"&&(Ue="/"+Ue)):tt||(tt=""),Qe&&Qe.charAt(0)!=="#"&&(Qe="#"+Qe),lt&&lt.charAt(0)!=="?"&&(lt="?"+lt),Ue=Ue.replace(/[?#]/g,function(Ve){return encodeURIComponent(Ve)}),lt=lt.replace("#","%23"),Pe+tt+Ue+lt+Qe};function Ne(Ze,Pe){return Oe(Ze,!1,!0).resolve(Pe)}le.prototype.resolve=function(Ze){return this.resolveObject(Oe(Ze,!1,!0)).format()};function je(Ze,Pe){return Ze?Oe(Ze,!1,!0).resolveObject(Pe):Pe}le.prototype.resolveObject=function(Ze){if(oe.isString(Ze)){var Pe=new le;Pe.parse(Ze,!1,!0),Ze=Pe}for(var Ue=new le,Qe=Object.keys(this),tt=0;tt<Qe.length;tt++){var ot=Qe[tt];Ue[ot]=this[ot]}if(Ue.hash=Ze.hash,Ze.href==="")return Ue.href=Ue.format(),Ue;if(Ze.slashes&&!Ze.protocol){for(var lt=Object.keys(Ze),Ve=0;Ve<lt.length;Ve++){var Ye=lt[Ve];Ye!=="protocol"&&(Ue[Ye]=Ze[Ye])}return _e[Ue.protocol]&&Ue.hostname&&!Ue.pathname&&(Ue.path=Ue.pathname="/"),Ue.href=Ue.format(),Ue}if(Ze.protocol&&Ze.protocol!==Ue.protocol){if(!_e[Ze.protocol]){for(var nt=Object.keys(Ze),dt=0;dt<nt.length;dt++){var at=nt[dt];Ue[at]=Ze[at]}return Ue.href=Ue.format(),Ue}if(Ue.protocol=Ze.protocol,!Ze.host&&!Ee[Ze.protocol]){for(var st=(Ze.pathname||"").split("/");st.length&&!(Ze.host=st.shift()););Ze.host||(Ze.host=""),Ze.hostname||(Ze.hostname=""),st[0]!==""&&st.unshift(""),st.length<2&&st.unshift(""),Ue.pathname=st.join("/")}else Ue.pathname=Ze.pathname;if(Ue.search=Ze.search,Ue.query=Ze.query,Ue.host=Ze.host||"",Ue.auth=Ze.auth,Ue.hostname=Ze.hostname||Ze.host,Ue.port=Ze.port,Ue.pathname||Ue.search){var et=Ue.pathname||"",qe=Ue.search||"";Ue.path=et+qe}return Ue.slashes=Ue.slashes||Ze.slashes,Ue.href=Ue.format(),Ue}var it=Ue.pathname&&Ue.pathname.charAt(0)==="/",yt=Ze.host||Ze.pathname&&Ze.pathname.charAt(0)==="/",ht=yt||it||Ue.host&&Ze.pathname,Bt=ht,Et=Ue.pathname&&Ue.pathname.split("/")||[],st=Ze.pathname&&Ze.pathname.split("/")||[],Ge=Ue.protocol&&!_e[Ue.protocol];if(Ge&&(Ue.hostname="",Ue.port=null,Ue.host&&(Et[0]===""?Et[0]=Ue.host:Et.unshift(Ue.host)),Ue.host="",Ze.protocol&&(Ze.hostname=null,Ze.port=null,Ze.host&&(st[0]===""?st[0]=Ze.host:st.unshift(Ze.host)),Ze.host=null),ht=ht&&(st[0]===""||Et[0]==="")),yt)Ue.host=Ze.host||Ze.host===""?Ze.host:Ue.host,Ue.hostname=Ze.hostname||Ze.hostname===""?Ze.hostname:Ue.hostname,Ue.search=Ze.search,Ue.query=Ze.query,Et=st;else if(st.length)Et||(Et=[]),Et.pop(),Et=Et.concat(st),Ue.search=Ze.search,Ue.query=Ze.query;else if(!oe.isNullOrUndefined(Ze.search)){if(Ge){Ue.hostname=Ue.host=Et.shift();var We=Ue.host&&Ue.host.indexOf("@")>0?Ue.host.split("@"):!1;We&&(Ue.auth=We.shift(),Ue.host=Ue.hostname=We.shift())}return Ue.search=Ze.search,Ue.query=Ze.query,(!oe.isNull(Ue.pathname)||!oe.isNull(Ue.search))&&(Ue.path=(Ue.pathname?Ue.pathname:"")+(Ue.search?Ue.search:"")),Ue.href=Ue.format(),Ue}if(!Et.length)return Ue.pathname=null,Ue.search?Ue.path="/"+Ue.search:Ue.path=null,Ue.href=Ue.format(),Ue;for(var se=Et.slice(-1)[0],fe=(Ue.host||Ze.host||Et.length>1)&&(se==="."||se==="..")||se==="",ze=0,He=Et.length;He>=0;He--)se=Et[He],se==="."?Et.splice(He,1):se===".."?(Et.splice(He,1),ze++):ze&&(Et.splice(He,1),ze--);if(!ht&&!Bt)for(;ze--;ze)Et.unshift("..");ht&&Et[0]!==""&&(!Et[0]||Et[0].charAt(0)!=="/")&&Et.unshift(""),fe&&Et.join("/").substr(-1)!=="/"&&Et.push("");var pe=Et[0]===""||Et[0]&&Et[0].charAt(0)==="/";if(Ge){Ue.hostname=Ue.host=pe?"":Et.length?Et.shift():"";var We=Ue.host&&Ue.host.indexOf("@")>0?Ue.host.split("@"):!1;We&&(Ue.auth=We.shift(),Ue.host=Ue.hostname=We.shift())}return ht=ht||Ue.host&&Et.length,ht&&!pe&&Et.unshift(""),Et.length?Ue.pathname=Et.join("/"):(Ue.pathname=null,Ue.path=null),(!oe.isNull(Ue.pathname)||!oe.isNull(Ue.search))&&(Ue.path=(Ue.pathname?Ue.pathname:"")+(Ue.search?Ue.search:"")),Ue.auth=Ze.auth||Ue.auth,Ue.slashes=Ue.slashes||Ze.slashes,Ue.href=Ue.format(),Ue},le.prototype.parseHost=function(){var Ze=this.host,Pe=te.exec(Ze);Pe&&(Pe=Pe[0],Pe!==":"&&(this.port=Pe.substr(1)),Ze=Ze.substr(0,Ze.length-Pe.length)),Ze&&(this.hostname=Ze)}},{"./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,De,ve){"use strict";var re=x("@babel/runtime/helpers/interopRequireDefault"),ne=re(x("@babel/runtime/helpers/typeof"));De.exports={isString:function(oe){return typeof oe=="string"},isObject:function(oe){return(0,ne.default)(oe)==="object"&&oe!==null},isNull:function(oe){return oe===null},isNullOrUndefined:function(oe){return oe==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(x,De,ve){"use strict";x("core-js/modules/es.number.constructor.js"),ve.encodeURIComponent=function(re){try{return encodeURIComponent(re)}catch(ne){return re}},ve.escape=x("escape-html"),ve.timestamp=function(ne){if(ne){var ie=ne;return typeof ie=="string"&&(ie=Number(ie)),String(ne).length===10&&(ie*=1e3),new Date(ie)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(x,De,ve){(function(re,ne){(function(){"use strict";var ie=x("@babel/runtime/helpers/interopRequireDefault"),oe=ie(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 le=x("util"),me=x("url"),te=x("http"),ae=x("https"),ue=x("debug")("urllib"),de=x("humanize-ms"),he=0,we=Math.pow(2,31)-10,Se=/^https?:\/\//i;function xe(Ee,_e){return Ee===void 0?_e:Ee}function ye(Ee){return Ee?Ee.split(";")[0].trim().toLowerCase():""}function Ae(Ee,_e){return function(Me,Oe,Ce){if(Me)return _e(Me);Ee({data:Oe,status:Ce.statusCode,headers:Ce.headers,res:Ce})}}ve.TIMEOUTS=[de("300s"),de("300s")];var Le=["json","text"];ve.request=function(_e,Me,Oe){return arguments.length===2&&typeof Me=="function"&&(Oe=Me,Me=null),typeof Oe=="function"?ve.requestWithCallback(_e,Me,Oe):new Promise(function(Ce,Ne){ve.requestWithCallback(_e,Me,Ae(Ce,Ne))})},ve.requestWithCallback=function(_e,Me,Oe){if(!_e||typeof _e!="string"&&(0,oe.default)(_e)!=="object"){var Ce=le.format("expect request url to be a string or a http request options, but got %j",_e);throw new Error(Ce)}arguments.length===2&&typeof Me=="function"&&(Oe=Me,Me=null),Me=Me||{},he>=we&&(he=0);var Ne=++he;Me.requestUrls=Me.requestUrls||[];var je={requestId:Ne,url:_e,args:Me,ctx:Me.ctx};Me.emitter&&Me.emitter.emit("request",je),Me.timeout=Me.timeout||ve.TIMEOUTS,Me.maxRedirects=Me.maxRedirects||10,Me.streaming=Me.streaming||Me.customResponse;var Ze=Date.now(),Pe;typeof _e=="string"?(Se.test(_e)||(_e="https://"+_e),Pe=me.parse(_e)):Pe=_e;var Ue=(Me.type||Me.method||Pe.method||"GET").toUpperCase(),Qe=Pe.port||80,tt=te,ot=xe(Me.agent,ve.agent),lt=Me.fixJSONCtlChars;Pe.protocol==="https:"&&(tt=ae,ot=xe(Me.httpsAgent,ve.httpsAgent),Pe.port||(Qe=443));var Ve={host:Pe.hostname||Pe.host||"localhost",path:Pe.path||"/",method:Ue,port:Qe,agent:ot,headers:Me.headers||{},lookup:Me.lookup};Array.isArray(Me.timeout)?Ve.requestTimeout=Me.timeout[Me.timeout.length-1]:typeof Me.timeout!="undefined"&&(Ve.requestTimeout=Me.timeout);var Ye=Me.auth||Pe.auth;Ye&&(Ve.auth=Ye);var nt=Me.content||Me.data,dt=Ue==="GET"||Ue==="HEAD"||Me.dataAsQueryString;if(!Me.content&&nt&&!(typeof nt=="string"||ne.isBuffer(nt)))if(dt)nt=Me.nestedQuerystring?qs.stringify(nt):querystring.stringify(nt);else{var at=Ve.headers["Content-Type"]||Ve.headers["content-type"];at||(Me.contentType==="json"?at="application/json":at="application/x-www-form-urlencoded",Ve.headers["Content-Type"]=at),ye(at)==="application/json"?nt=JSON.stringify(nt):nt=Me.nestedQuerystring?qs.stringify(nt):querystring.stringify(nt)}dt&&nt&&(Ve.path+=(Pe.query?"&":"?")+nt,nt=null);var et=0;if(nt){var qe=nt.length;ne.isBuffer(nt)||(qe=ne.byteLength(nt)),et=Ve.headers["Content-Length"]=qe}Me.dataType==="json"&&(Ve.headers.Accept="application/json"),typeof Me.beforeRequest=="function"&&Me.beforeRequest(Ve);var it=null,yt=null,ht=null,Bt=!1,Et=!1,st=0,Ge=-1,We=!1,se="",fe="",ze=null;Me.timing&&(ze={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function He(){it&&(clearTimeout(it),it=null)}function pe(){yt&&(clearTimeout(yt),yt=null)}function Be(_t,Mt,ft){if(pe(),!Oe){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Ne,re.pid,Ve.method,_e),_t&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),Ne,re.pid,_t.name,_t.message,_t.stack);return}var St=Oe;Oe=null;var Nt={};ft&&(Ge=ft.statusCode,Nt=ft.headers);var Ft=Date.now()-Ze;ze&&(ze.contentDownload=Ft),ue("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Ft,st,Ge,Ve.method,Ve.host,Ve.path,Et,ze);var Zt={status:Ge,statusCode:Ge,headers:Nt,size:st,aborted:We,rt:Ft,keepAliveSocket:Et,data:Mt,requestUrls:Me.requestUrls,timing:ze,remoteAddress:se,remotePort:fe};if(_t){var or="";ot&&typeof ot.getCurrentStatus=="function"&&(or=", agent status: "+JSON.stringify(ot.getCurrentStatus())),_t.message+=", "+Ve.method+" "+_e+" "+Ge+" (connected: "+Bt+", keepalive socket: "+Et+or+`)
headers: `+JSON.stringify(Nt),_t.data=Mt,_t.path=Ve.path,_t.status=Ge,_t.headers=Nt,_t.res=Zt}St(_t,Mt,Me.streaming?ft:Zt),Me.emitter&&(je.url=_e,je.socket=kt&&kt.connection,je.options=Ve,je.size=et,Me.emitter.emit("response",{requestId:Ne,error:_t,ctx:Me.ctx,req:je,res:Zt}))}function Ke(_t){var Mt=null;if(Me.followRedirect&&statuses.redirect[_t.statusCode]){Me._followRedirectCount=(Me._followRedirectCount||0)+1;var ft=_t.headers.location;if(!ft)Mt=new Error("Got statusCode "+_t.statusCode+" but cannot resolve next location from headers"),Mt.name="FollowRedirectError";else if(Me._followRedirectCount>Me.maxRedirects)Mt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+_e),Mt.name="MaxRedirectError";else{var St=Me.formatRedirectUrl?Me.formatRedirectUrl(_e,ft):me.resolve(_e,ft);ue("Request#%d %s: `redirected` from %s to %s",Ne,Ve.path,_e,St),pe(),Me.headers&&Me.headers.Host&&Se.test(ft)&&(Me.headers.Host=null);var Nt=Oe;return Oe=null,ve.requestWithCallback(St,Me,Nt),{redirect:!0,error:null}}}return{redirect:!1,error:Mt}}Me.gzip&&!Ve.headers["Accept-Encoding"]&&!Ve.headers["accept-encoding"]&&(Ve.headers["Accept-Encoding"]="gzip");function Xe(_t,Mt,ft){var St=_t.headers["content-encoding"];return ft(null,Mt,St)}var Je=Me.writeStream;ue("Request#%d %s %s with headers %j, options.path: %s",Ne,Ue,_e,Ve.headers,Ve.path),Me.requestUrls.push(_e);function ut(_t){if(ze&&(ze.waiting=Date.now()-Ze),ue("Request#%d %s `req response` event emit: status %d, headers: %j",Ne,_e,_t.statusCode,_t.headers),Me.streaming){var Mt=Ke(_t);if(Mt.redirect){_t.resume();return}return Mt.error?(_t.resume(),Be(Mt.error,null,_t)):Be(null,null,_t)}if(_t.on("close",function(){ue("Request#%d %s: `res close` event emit, total size %d",Ne,_e,st)}),_t.on("error",function(){ue("Request#%d %s: `res error` event emit, total size %d",Ne,_e,st)}),_t.on("aborted",function(){We=!0,ue("Request#%d %s: `res aborted` event emit, total size %d",Ne,_e,st)}),Je){var ft=Ke(_t);if(ft.redirect){_t.resume();return}return ft.error?(_t.resume(),Je.end(),Be(ft.error,null,_t)):(Me.consumeWriteStream===!1?_t.on("end",Be.bind(null,null,null,_t)):Je.on("close",function(){ue("Request#%d %s: writeStream close event emitted",Ne,_e),Be(ht||null,null,_t)}),_t.pipe(Je))}var St=[];_t.on("data",function(Nt){ue("Request#%d %s: `res data` event emit, size %d",Ne,_e,Nt.length),st+=Nt.length,St.push(Nt)}),_t.on("end",function(){var Nt=ne.concat(St,st);if(ue("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Ne,_e,st,_t._dumped),ht)return Be(ht,Nt,_t);var Ft=Ke(_t);if(Ft.error)return Be(Ft.error,Nt,_t);Ft.redirect||Xe(_t,Nt,function(Zt,or,yr){if(Zt)return Be(Zt,Nt,_t);if(!yr&&Le.indexOf(Me.dataType)>=0){try{or=decodeBodyByCharset(or,_t)}catch(Fr){return ue("decodeBodyByCharset error: %s",Fr),Be(null,or,_t)}if(Me.dataType==="json")if(st===0)or=null;else{var Sr=parseJSON(or,lt);Sr.error?Zt=Sr.error:or=Sr.data}}We&&ue("Request#%d %s: Remote socket was terminated before `response.end()` was called",Ne,_e),Be(Zt,or,_t)})})}var bt,gt;Array.isArray(Me.timeout)?(bt=de(Me.timeout[0]),gt=de(Me.timeout[1])):bt=gt=de(Me.timeout),ue("ConnectTimeout: %d, ResponseTimeout: %d",bt,gt);function Dt(){ue("Connect timer ticking, timeout: %d",bt),it=setTimeout(function(){it=null,Ge===-1&&(Ge=-2);var _t="Connect timeout for "+bt+"ms",Mt="ConnectionTimeoutError";kt.socket||(Mt="SocketAssignTimeoutError",_t+=", working sockets is full"),ht=new Error(_t),ht.name=Mt,ht.requestId=Ne,ue("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Ne,_e,ht.name,_t,Bt),jt()},bt)}function Vt(){ue("Response timer ticking, timeout: %d",gt),yt=setTimeout(function(){yt=null;var _t="Response timeout for "+gt+"ms",Mt="ResponseTimeoutError";ht=new Error(_t),ht.name=Mt,ht.requestId=Ne,ue("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Ne,_e,ht.name,_t,Bt),jt()},gt)}var kt;Ve.mode=Me.mode?Me.mode:"";try{kt=tt.request(Ve,ut)}catch(_t){return Be(_t)}typeof window=="undefined"?Dt():kt.on("requestTimeout",function(){Ge===-1&&(Ge=-2);var _t="Connect timeout for "+bt+"ms",Mt="ConnectionTimeoutError";ht=new Error(_t),ht.name=Mt,ht.requestId=Ne,jt()});function jt(){ue("Request#%d %s abort, connected: %s",Ne,_e,Bt),kt.socket||(ht.noSocket=!0,Be(ht)),kt.abort()}return ze&&kt.on("finish",function(){ze.requestSent=Date.now()-Ze}),kt.once("socket",function(_t){ze&&(ze.queuing=Date.now()-Ze);var Mt=_t.readyState;if(Mt==="opening"){_t.once("lookup",function(ft,St,Nt){ue("Request#%d %s lookup: %s, %s, %s",Ne,_e,ft,St,Nt),ze&&(ze.dnslookup=Date.now()-Ze),St&&(se=St)}),_t.once("connect",function(){ze&&(ze.connected=Date.now()-Ze),He(),Vt(),ue("Request#%d %s new socket connected",Ne,_e),Bt=!0,se||(se=_t.remoteAddress),fe=_t.remotePort});return}ue("Request#%d %s reuse socket connected, readyState: %s",Ne,_e,Mt),Bt=!0,Et=!0,se||(se=_t.remoteAddress),fe=_t.remotePort,He(),Vt()}),kt.on("error",function(_t){(_t.name==="Error"||_t.name==="TypeError")&&(_t.name=Bt?"ResponseError":"RequestError"),_t.message+=' (req "error")',ue("Request#%d %s `req error` event emit, %s: %s",Ne,_e,_t.name,_t.message),Be(ht||_t)}),Je&&Je.once("error",function(_t){_t.message+=' (writeStream "error")',ht=_t,ue("Request#%d %s `writeStream error` event emit, %s: %s",Ne,_e,_t.name,_t.message),jt()}),Me.stream?(Me.stream.pipe(kt),Me.stream.once("error",function(_t){_t.message+=' (stream "error")',ht=_t,ue("Request#%d %s `readStream error` event emit, %s: %s",Ne,_e,_t.name,_t.message),jt()})):kt.end(nt),kt.requestId=Ne,kt}}).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)},77578:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return Re}});const Re=vt=>vt?typeof vt=="function"?vt():vt:null},56762:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return vt}});var Re=ke(59301);function vt(){const[,x]=Re.useReducer(De=>De+1,0);return x}},19080:function(sr,Wt,ke){"use strict";ke.d(Wt,{F:function(){return ve},Z:function(){return De}});var Re=ke(92310),vt=ke.n(Re);const x=null;function De(re,ne,ie){return vt()({[`${re}-status-success`]:ne==="success",[`${re}-status-warning`]:ne==="warning",[`${re}-status-error`]:ne==="error",[`${re}-status-validating`]:ne==="validating",[`${re}-has-feedback`]:ie})}const ve=(re,ne)=>ne||re},19842:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return un}});var Re=ke(77654),vt=ke(59301),x=ke(33853),De=ke(58617),ve=ke(38819),re=ke(92310),ne=ke.n(re),ie=ke(60499),oe=ke(72190),le=ke(42244),me=ke(77861),te=ke(17115),ae=ke(90782),ue=ke(6089),de=ke(18929),he=vt.createContext(null),we=he,Se=ke(43749),xe=ke(18642),ye=ke(85899),Ae="__rc_cascader_search_mark__",Le=function(Nr,Mr,Or){var Pr=Or.label;return Mr.some(function(Tr){return String(Tr[Pr]).toLowerCase().includes(Nr.toLowerCase())})},Ee=function(Nr,Mr,Or,Pr){return Mr.map(function(Tr){return Tr[Pr.label]}).join(" / ")},_e=function(ar,Nr,Mr,Or,Pr,Tr){var wr=Pr.filter,Xr=wr===void 0?Le:wr,Kt=Pr.render,xt=Kt===void 0?Ee:Kt,It=Pr.limit,Tt=It===void 0?50:It,At=Pr.sort;return vt.useMemo(function(){var zt=[];if(!ar)return[];function Ut(ir,er){var hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ir.forEach(function(Cr){if(!(!At&&Tt!==!1&&Tt>0&&zt.length>=Tt)){var Dr=[].concat((0,Re.Z)(er),[Cr]),Ir=Cr[Mr.children],qt=hr||Cr.disabled;if((!Ir||Ir.length===0||Tr)&&Xr(ar,Dr,{label:Mr.label})){var vr;zt.push((0,ye.Z)((0,ye.Z)({},Cr),{},(vr={disabled:qt},(0,xe.Z)(vr,Mr.label,xt(ar,Dr,Or,Mr)),(0,xe.Z)(vr,Ae,Dr),(0,xe.Z)(vr,Mr.children,void 0),vr)))}Ir&&Ut(Cr[Mr.children],Dr,qt)}})}return Ut(Nr,[]),At&&zt.sort(function(ir,er){return At(ir[Ae],er[Ae],ar,Mr)}),Tt!==!1&&Tt>0?zt.slice(0,Tt):zt},[ar,Nr,Mr,Or,xt,Tr,Xr,At,Tt])},Me="__RC_CASCADER_SPLIT__",Oe="SHOW_PARENT",Ce="SHOW_CHILD";function Ne(ar){return ar.join(Me)}function je(ar){return ar.map(Ne)}function Ze(ar){return ar.split(Me)}function Pe(ar){var Nr=ar||{},Mr=Nr.label,Or=Nr.value,Pr=Nr.children,Tr=Or||"value";return{label:Mr||"label",value:Tr,key:Tr,children:Pr||"children"}}function Ue(ar,Nr){var Mr,Or;return(Mr=ar.isLeaf)!==null&&Mr!==void 0?Mr:!((Or=ar[Nr.children])!==null&&Or!==void 0&&Or.length)}function Qe(ar){var Nr=ar.parentElement;if(Nr){var Mr=ar.offsetTop-Nr.offsetTop;Mr-Nr.scrollTop<0?Nr.scrollTo({top:Mr}):Mr+ar.offsetHeight-Nr.scrollTop>Nr.offsetHeight&&Nr.scrollTo({top:Mr+ar.offsetHeight-Nr.offsetHeight})}}function tt(ar,Nr){return ar.map(function(Mr){var Or;return(Or=Mr[Ae])===null||Or===void 0?void 0:Or.map(function(Pr){return Pr[Nr.value]})})}function ot(ar,Nr,Mr){var Or=new Set(ar),Pr=Nr();return ar.filter(function(Tr){var wr=Pr[Tr],Xr=wr?wr.parent:null,Kt=wr?wr.children:null;return wr&&wr.node.disabled?!0:Mr===Ce?!(Kt&&Kt.some(function(xt){return xt.key&&Or.has(xt.key)})):!(Xr&&!Xr.node.disabled&&Or.has(Xr.key))})}function lt(ar,Nr,Mr){for(var Or=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Pr=Nr,Tr=[],wr=function(){var xt,It,Tt,At=ar[Xr],zt=(xt=Pr)===null||xt===void 0?void 0:xt.findIndex(function(ir){var er=ir[Mr.value];return Or?String(er)===String(At):er===At}),Ut=zt!==-1?(It=Pr)===null||It===void 0?void 0:It[zt]:null;Tr.push({value:(Tt=Ut==null?void 0:Ut[Mr.value])!==null&&Tt!==void 0?Tt:At,index:zt,option:Ut}),Pr=Ut==null?void 0:Ut[Mr.children]},Xr=0;Xr<ar.length;Xr+=1)wr();return Tr}var Ve=function(ar,Nr,Mr,Or,Pr){return vt.useMemo(function(){var Tr=Pr||function(wr){var Xr=Or?wr.slice(-1):wr,Kt=" / ";return Xr.every(function(xt){return["string","number"].includes((0,Se.Z)(xt))})?Xr.join(Kt):Xr.reduce(function(xt,It,Tt){var At=vt.isValidElement(It)?vt.cloneElement(It,{key:Tt}):It;return Tt===0?[At]:[].concat((0,Re.Z)(xt),[Kt,At])},[])};return ar.map(function(wr){var Xr,Kt,xt=lt(wr,Nr,Mr),It=Tr(xt.map(function(At){var zt,Ut=At.option,ir=At.value;return(zt=Ut==null?void 0:Ut[Mr.label])!==null&&zt!==void 0?zt:ir}),xt.map(function(At){var zt=At.option;return zt})),Tt=Ne(wr);return{label:It,value:Tt,key:Tt,valueCells:wr,disabled:(Xr=xt[xt.length-1])===null||Xr===void 0||(Kt=Xr.option)===null||Kt===void 0?void 0:Kt.disabled}})},[ar,Nr,Mr,Pr,Or])},Ye=ke(71430),nt=function(ar,Nr){var Mr=vt.useRef({options:null,info:null}),Or=vt.useCallback(function(){return Mr.current.options!==ar&&(Mr.current.options=ar,Mr.current.info=(0,Ye.I8)(ar,{fieldNames:Nr,initWrapper:function(Tr){return(0,ye.Z)((0,ye.Z)({},Tr),{},{pathKeyEntities:{}})},processEntity:function(Tr,wr){var Xr=Tr.nodes.map(function(Kt){return Kt[Nr.value]}).join(Me);wr.pathKeyEntities[Xr]=Tr,Tr.key=Xr}})),Mr.current.info.pathKeyEntities},[Nr,ar]);return Or},dt=function(ar,Nr){return vt.useCallback(function(Mr){var Or=[],Pr=[];return Mr.forEach(function(Tr){var wr=lt(Tr,ar,Nr);wr.every(function(Xr){return Xr.option})?Pr.push(Tr):Or.push(Tr)}),[Pr,Or]},[ar,Nr])},at=ke(48736);function et(ar){return vt.useMemo(function(){if(!ar)return[!1,{}];var Nr={matchInputWidth:!0,limit:50};return ar&&(0,Se.Z)(ar)==="object"&&(Nr=(0,ye.Z)((0,ye.Z)({},Nr),ar)),Nr.limit<=0&&delete Nr.limit,[!0,Nr]},[ar])}var qe=vt.memo(function(ar){var Nr=ar.children;return Nr},function(ar,Nr){return!Nr.open}),it=qe;function yt(ar){var Nr,Mr=ar.prefixCls,Or=ar.checked,Pr=ar.halfChecked,Tr=ar.disabled,wr=ar.onClick,Xr=ar.disableCheckbox,Kt=vt.useContext(we),xt=Kt.checkable,It=typeof xt!="boolean"?xt:null;return vt.createElement("span",{className:ne()("".concat(Mr),(Nr={},(0,xe.Z)(Nr,"".concat(Mr,"-checked"),Or),(0,xe.Z)(Nr,"".concat(Mr,"-indeterminate"),!Or&&Pr),(0,xe.Z)(Nr,"".concat(Mr,"-disabled"),Tr||Xr),Nr)),onClick:wr},It)}var ht="__cascader_fix_label__";function Bt(ar){var Nr=ar.prefixCls,Mr=ar.multiple,Or=ar.options,Pr=ar.activeValue,Tr=ar.prevValuePath,wr=ar.onToggleOpen,Xr=ar.onSelect,Kt=ar.onActive,xt=ar.checkedSet,It=ar.halfCheckedSet,Tt=ar.loadingKeys,At=ar.isSelectable,zt=ar.searchValue,Ut="".concat(Nr,"-menu"),ir="".concat(Nr,"-menu-item"),er=vt.useContext(we),hr=er.fieldNames,Cr=er.changeOnSelect,Dr=er.expandTrigger,Ir=er.expandIcon,qt=er.loadingIcon,vr=er.dropdownMenuColumnStyle,Ht=Dr==="hover",Yt=vt.useMemo(function(){return Or.map(function(Xt){var rr,gr=Xt.disabled,Qt=Xt.disableCheckbox,xr=Xt[Ae],Lt=(rr=Xt[ht])!==null&&rr!==void 0?rr:Xt[hr.label],Jt=Xt[hr.value],$t=Ue(Xt,hr),dr=xr?xr.map(function(Rr){return Rr[hr.value]}):[].concat((0,Re.Z)(Tr),[Jt]),lr=Ne(dr),pr=Tt.includes(lr),fr=xt.has(lr),Ar=It.has(lr);return{disabled:gr,label:Lt,value:Jt,isLeaf:$t,isLoading:pr,checked:fr,halfChecked:Ar,option:Xt,disableCheckbox:Qt,fullPath:dr,fullPathKey:lr}})},[Or,xt,hr,It,Tt,Tr]);return vt.createElement("ul",{className:Ut,role:"menu"},Yt.map(function(Xt){var rr,gr=Xt.disabled,Qt=Xt.label,xr=Xt.value,Lt=Xt.isLeaf,Jt=Xt.isLoading,$t=Xt.checked,dr=Xt.halfChecked,lr=Xt.option,pr=Xt.fullPath,fr=Xt.fullPathKey,Ar=Xt.disableCheckbox,Rr=function(){if(!(gr||zt)){var dn=(0,Re.Z)(pr);Ht&&Lt&&dn.pop(),Kt(dn)}},Zr=function(){At(lr)&&Xr(pr,Lt)},Qr;return typeof lr.title=="string"?Qr=lr.title:typeof Qt=="string"&&(Qr=Qt),vt.createElement("li",{key:fr,className:ne()(ir,(rr={},(0,xe.Z)(rr,"".concat(ir,"-expand"),!Lt),(0,xe.Z)(rr,"".concat(ir,"-active"),Pr===xr||Pr===fr),(0,xe.Z)(rr,"".concat(ir,"-disabled"),gr),(0,xe.Z)(rr,"".concat(ir,"-loading"),Jt),rr)),style:vr,role:"menuitemcheckbox",title:Qr,"aria-checked":$t,"data-path-key":fr,onClick:function(){Rr(),!Ar&&(!Mr||Lt)&&Zr()},onDoubleClick:function(){Cr&&wr(!1)},onMouseEnter:function(){Ht&&Rr()},onMouseDown:function(dn){dn.preventDefault()}},Mr&&vt.createElement(yt,{prefixCls:"".concat(Nr,"-checkbox"),checked:$t,halfChecked:dr,disabled:gr||Ar,disableCheckbox:Ar,onClick:function(dn){Ar||(dn.stopPropagation(),Zr())}}),vt.createElement("div",{className:"".concat(ir,"-content")},Qt),!Jt&&Ir&&!Lt&&vt.createElement("div",{className:"".concat(ir,"-expand-icon")},Ir),Jt&&qt&&vt.createElement("div",{className:"".concat(ir,"-loading-icon")},qt))}))}var Et=function(){var ar=(0,me.lk)(),Nr=ar.multiple,Mr=ar.open,Or=vt.useContext(we),Pr=Or.values,Tr=vt.useState([]),wr=(0,oe.Z)(Tr,2),Xr=wr[0],Kt=wr[1];return vt.useEffect(function(){if(Mr&&!Nr){var xt=Pr[0];Kt(xt||[])}},[Mr]),[Xr,Kt]},st=ke(10228),Ge=function(ar,Nr,Mr,Or,Pr,Tr){var wr=(0,me.lk)(),Xr=wr.direction,Kt=wr.searchValue,xt=wr.toggleOpen,It=wr.open,Tt=Xr==="rtl",At=vt.useMemo(function(){for(var vr=-1,Ht=Nr,Yt=[],Xt=[],rr=Or.length,gr=tt(Nr,Mr),Qt=function(lr){var pr=Ht.findIndex(function(fr,Ar){return(gr[Ar]?Ne(gr[Ar]):fr[Mr.value])===Or[lr]});if(pr===-1)return"break";vr=pr,Yt.push(vr),Xt.push(Or[lr]),Ht=Ht[vr][Mr.children]},xr=0;xr<rr&&Ht;xr+=1){var Lt=Qt(xr);if(Lt==="break")break}for(var Jt=Nr,$t=0;$t<Yt.length-1;$t+=1)Jt=Jt[Yt[$t]][Mr.children];return[Xt,vr,Jt,gr]},[Or,Mr,Nr]),zt=(0,oe.Z)(At,4),Ut=zt[0],ir=zt[1],er=zt[2],hr=zt[3],Cr=function(Ht){Pr(Ht)},Dr=function(Ht){var Yt=er.length,Xt=ir;Xt===-1&&Ht<0&&(Xt=Yt);for(var rr=0;rr<Yt;rr+=1){Xt=(Xt+Ht+Yt)%Yt;var gr=er[Xt];if(gr&&!gr.disabled){var Qt=Ut.slice(0,-1).concat(hr[Xt]?Ne(hr[Xt]):gr[Mr.value]);Cr(Qt);return}}},Ir=function(){if(Ut.length>1){var Ht=Ut.slice(0,-1);Cr(Ht)}else xt(!1)},qt=function(){var Ht,Yt=((Ht=er[ir])===null||Ht===void 0?void 0:Ht[Mr.children])||[],Xt=Yt.find(function(gr){return!gr.disabled});if(Xt){var rr=[].concat((0,Re.Z)(Ut),[Xt[Mr.value]]);Cr(rr)}};vt.useImperativeHandle(ar,function(){return{onKeyDown:function(Ht){var Yt=Ht.which;switch(Yt){case st.Z.UP:case st.Z.DOWN:{var Xt=0;Yt===st.Z.UP?Xt=-1:Yt===st.Z.DOWN&&(Xt=1),Xt!==0&&Dr(Xt);break}case st.Z.LEFT:{if(Kt)break;Tt?qt():Ir();break}case st.Z.RIGHT:{if(Kt)break;Tt?Ir():qt();break}case st.Z.BACKSPACE:{Kt||Ir();break}case st.Z.ENTER:{if(Ut.length){var rr=er[ir],gr=(rr==null?void 0:rr[Ae])||[];gr.length?Tr(gr.map(function(Qt){return Qt[Mr.value]}),gr[gr.length-1]):Tr(Ut,er[ir])}break}case st.Z.ESC:xt(!1),It&&Ht.stopPropagation()}},onKeyUp:function(){}}})},We=vt.forwardRef(function(ar,Nr){var Mr,Or,Pr,Tr,wr=(0,me.lk)(),Xr=wr.prefixCls,Kt=wr.multiple,xt=wr.searchValue,It=wr.toggleOpen,Tt=wr.notFoundContent,At=wr.direction,zt=wr.open,Ut=vt.useRef(),ir=At==="rtl",er=vt.useContext(we),hr=er.options,Cr=er.values,Dr=er.halfValues,Ir=er.fieldNames,qt=er.changeOnSelect,vr=er.onSelect,Ht=er.searchOptions,Yt=er.dropdownPrefixCls,Xt=er.loadData,rr=er.expandTrigger,gr=Yt||Xr,Qt=vt.useState([]),xr=(0,oe.Z)(Qt,2),Lt=xr[0],Jt=xr[1],$t=function(Jr){if(!(!Xt||xt)){var Ln=lt(Jr,hr,Ir),Zn=Ln.map(function(Wr){var In=Wr.option;return In}),fn=Zn[Zn.length-1];if(fn&&!Ue(fn,Ir)){var Hr=Ne(Jr);Jt(function(Wr){return[].concat((0,Re.Z)(Wr),[Hr])}),Xt(Zn)}}};vt.useEffect(function(){Lt.length&&Lt.forEach(function(gn){var Jr=Ze(gn),Ln=lt(Jr,hr,Ir,!0).map(function(fn){var Hr=fn.option;return Hr}),Zn=Ln[Ln.length-1];(!Zn||Zn[Ir.children]||Ue(Zn,Ir))&&Jt(function(fn){return fn.filter(function(Hr){return Hr!==gn})})})},[hr,Lt,Ir]);var dr=vt.useMemo(function(){return new Set(je(Cr))},[Cr]),lr=vt.useMemo(function(){return new Set(je(Dr))},[Dr]),pr=Et(),fr=(0,oe.Z)(pr,2),Ar=fr[0],Rr=fr[1],Zr=function(Jr){Rr(Jr),$t(Jr)},Qr=function(Jr){var Ln=Jr.disabled,Zn=Ue(Jr,Ir);return!Ln&&(Zn||qt||Kt)},nn=function(Jr,Ln){var Zn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;vr(Jr),!Kt&&(Ln||qt&&(rr==="hover"||Zn))&&It(!1)},dn=vt.useMemo(function(){return xt?Ht:hr},[xt,Ht,hr]),pn=vt.useMemo(function(){for(var gn=[{options:dn}],Jr=dn,Ln=tt(Jr,Ir),Zn=function(){var In=Ar[fn],bn=Jr.find(function(Hn,zn){return(Ln[zn]?Ne(Ln[zn]):Hn[Ir.value])===In}),Nn=bn==null?void 0:bn[Ir.children];if(!(Nn!=null&&Nn.length))return"break";Jr=Nn,gn.push({options:Nn})},fn=0;fn<Ar.length;fn+=1){var Hr=Zn();if(Hr==="break")break}return gn},[dn,Ar,Ir]),Gr=function(Jr,Ln){Qr(Ln)&&nn(Jr,Ue(Ln,Ir),!0)};Ge(Nr,dn,Ir,Ar,Zr,Gr),vt.useEffect(function(){for(var gn=0;gn<Ar.length;gn+=1){var Jr,Ln=Ar.slice(0,gn+1),Zn=Ne(Ln),fn=(Jr=Ut.current)===null||Jr===void 0?void 0:Jr.querySelector('li[data-path-key="'.concat(Zn.replace(/\\{0,2}"/g,'\\"'),'"]'));fn&&Qe(fn)}},[Ar]);var yn=!((Mr=pn[0])!==null&&Mr!==void 0&&(Or=Mr.options)!==null&&Or!==void 0&&Or.length),mn=[(Pr={},(0,xe.Z)(Pr,Ir.value,"__EMPTY__"),(0,xe.Z)(Pr,ht,Tt),(0,xe.Z)(Pr,"disabled",!0),Pr)],On=(0,ye.Z)((0,ye.Z)({},ar),{},{multiple:!yn&&Kt,onSelect:nn,onActive:Zr,onToggleOpen:It,checkedSet:dr,halfCheckedSet:lr,loadingKeys:Lt,isSelectable:Qr}),cn=yn?[{options:mn}]:pn,Sn=cn.map(function(gn,Jr){var Ln=Ar.slice(0,Jr),Zn=Ar[Jr];return vt.createElement(Bt,(0,ie.Z)({key:Jr},On,{searchValue:xt,prefixCls:gr,options:gn.options,prevValuePath:Ln,activeValue:Zn}))});return vt.createElement(it,{open:zt},vt.createElement("div",{className:ne()("".concat(gr,"-menus"),(Tr={},(0,xe.Z)(Tr,"".concat(gr,"-menu-empty"),yn),(0,xe.Z)(Tr,"".concat(gr,"-rtl"),ir),Tr)),ref:Ut},Sn))}),se=We;function fe(ar){var Nr=ar.onPopupVisibleChange,Mr=ar.popupVisible,Or=ar.popupClassName,Pr=ar.popupPlacement;warning(!Nr,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(Mr===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Or===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Pr===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function ze(ar,Nr){if(ar){var Mr=function Or(Pr){for(var Tr=0;Tr<Pr.length;Tr++){var wr=Pr[Tr];if(wr[Nr==null?void 0:Nr.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(wr[Nr==null?void 0:Nr.children])&&Or(wr[Nr==null?void 0:Nr.children]))return!0}};Mr(ar)}}var He=null,pe=["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 Be(ar){return Array.isArray(ar)&&Array.isArray(ar[0])}function Ke(ar){return ar?Be(ar)?ar:(ar.length===0?[]:[ar]).map(function(Nr){return Array.isArray(Nr)?Nr:[Nr]}):[]}var Xe=vt.forwardRef(function(ar,Nr){var Mr=ar.id,Or=ar.prefixCls,Pr=Or===void 0?"rc-cascader":Or,Tr=ar.fieldNames,wr=ar.defaultValue,Xr=ar.value,Kt=ar.changeOnSelect,xt=ar.onChange,It=ar.displayRender,Tt=ar.checkable,At=ar.autoClearSearchValue,zt=At===void 0?!0:At,Ut=ar.searchValue,ir=ar.onSearch,er=ar.showSearch,hr=ar.expandTrigger,Cr=ar.options,Dr=ar.dropdownPrefixCls,Ir=ar.loadData,qt=ar.popupVisible,vr=ar.open,Ht=ar.popupClassName,Yt=ar.dropdownClassName,Xt=ar.dropdownMenuColumnStyle,rr=ar.popupPlacement,gr=ar.placement,Qt=ar.onDropdownVisibleChange,xr=ar.onPopupVisibleChange,Lt=ar.expandIcon,Jt=Lt===void 0?">":Lt,$t=ar.loadingIcon,dr=ar.children,lr=ar.dropdownMatchSelectWidth,pr=lr===void 0?!1:lr,fr=ar.showCheckedStrategy,Ar=fr===void 0?Oe:fr,Rr=(0,le.Z)(ar,pe),Zr=(0,te.ZP)(Mr),Qr=!!Tt,nn=(0,de.Z)(wr,{value:Xr,postState:Ke}),dn=(0,oe.Z)(nn,2),pn=dn[0],Gr=dn[1],yn=vt.useMemo(function(){return Pe(Tr)},[JSON.stringify(Tr)]),mn=vt.useMemo(function(){return Cr||[]},[Cr]),On=nt(mn,yn),cn=vt.useCallback(function(an){var sn=On();return an.map(function(ni){var wi=sn[ni].nodes;return wi.map(function(Si){return Si[yn.value]})})},[On,yn]),Sn=(0,de.Z)("",{value:Ut,postState:function(sn){return sn||""}}),gn=(0,oe.Z)(Sn,2),Jr=gn[0],Ln=gn[1],Zn=function(sn,ni){Ln(sn),ni.source!=="blur"&&ir&&ir(sn)},fn=et(er),Hr=(0,oe.Z)(fn,2),Wr=Hr[0],In=Hr[1],bn=_e(Jr,mn,yn,Dr||Pr,In,Kt),Nn=dt(mn,yn),Hn=vt.useMemo(function(){var an=Nn(pn),sn=(0,oe.Z)(an,2),ni=sn[0],wi=sn[1];if(!Qr||!pn.length)return[ni,[],wi];var Si=je(ni),Ai=On(),vi=(0,ae.S)(Si,!0,Ai),Ii=vi.checkedKeys,Ki=vi.halfCheckedKeys;return[cn(Ii),cn(Ki),wi]},[Qr,pn,On,cn,Nn]),zn=(0,oe.Z)(Hn,3),Dn=zn[0],_n=zn[1],ci=zn[2],hn=vt.useMemo(function(){var an=je(Dn),sn=ot(an,On,Ar);return[].concat((0,Re.Z)(ci),(0,Re.Z)(cn(sn)))},[Dn,On,cn,ci,Ar]),kn=Ve(hn,mn,yn,Qr,It),Vn=(0,ue.Z)(function(an){if(Gr(an),xt){var sn=Ke(an),ni=sn.map(function(Ai){return lt(Ai,mn,yn).map(function(vi){return vi.option})}),wi=Qr?sn:sn[0],Si=Qr?ni:ni[0];xt(wi,Si)}}),$n=(0,ue.Z)(function(an){if((!Qr||zt)&&Ln(""),!Qr)Vn(an);else{var sn=Ne(an),ni=je(Dn),wi=je(_n),Si=ni.includes(sn),Ai=ci.some(function(mi){return Ne(mi)===sn}),vi=Dn,Ii=ci;if(Ai&&!Si)Ii=ci.filter(function(mi){return Ne(mi)!==sn});else{var Ki=Si?ni.filter(function(mi){return mi!==sn}):[].concat((0,Re.Z)(ni),[sn]),Ui=On(),$i;if(Si){var li=(0,ae.S)(Ki,{checked:!1,halfCheckedKeys:wi},Ui);$i=li.checkedKeys}else{var fi=(0,ae.S)(Ki,!0,Ui);$i=fi.checkedKeys}var Pi=ot($i,On,Ar);vi=cn(Pi)}Vn([].concat((0,Re.Z)(Ii),(0,Re.Z)(vi)))}}),Ci=function(sn,ni){if(ni.type==="clear"){Vn([]);return}var wi=ni.values[0],Si=wi.valueCells;$n(Si)},Ei=vr!==void 0?vr:qt,gi=Yt||Ht,di=gr||rr,Oi=function(sn){Qt==null||Qt(sn),xr==null||xr(sn)},Di=vt.useMemo(function(){return{options:mn,fieldNames:yn,values:Dn,halfValues:_n,changeOnSelect:Kt,onSelect:$n,checkable:Tt,searchOptions:bn,dropdownPrefixCls:Dr,loadData:Ir,expandTrigger:hr,expandIcon:Jt,loadingIcon:$t,dropdownMenuColumnStyle:Xt}},[mn,yn,Dn,_n,Kt,$n,Tt,bn,Dr,Ir,hr,Jt,$t,Xt]),En=!(Jr?bn:mn).length,An=Jr&&In.matchInputWidth||En?{}:{minWidth:"auto"};return vt.createElement(we.Provider,{value:Di},vt.createElement(me.Ac,(0,ie.Z)({},Rr,{ref:Nr,id:Zr,prefixCls:Pr,autoClearSearchValue:zt,dropdownMatchSelectWidth:pr,dropdownStyle:An,displayValues:kn,onDisplayValuesChange:Ci,mode:Qr?"multiple":void 0,searchValue:Jr,onSearch:Zn,showSearch:Wr,OptionList:se,emptyOptions:En,open:Ei,dropdownClassName:gi,placement:di,onDropdownVisibleChange:Oi,getRawInputElement:function(){return dr}})))});Xe.SHOW_PARENT=Oe,Xe.SHOW_CHILD=Ce;var Je=Xe,ut=Je,bt=ke(2738),gt=ke(62892),Dt=ke(53487),Vt=ke(19080),kt=ke(36355),jt=ke(93891),_t=ke(1684),Mt=ke(19716),ft=ke(32441),St=ke(14154),Nt=ke(58582),Ft=ke(84443),Zt=ke(66339),or=ke(33234),yr=ke(98447),Sr=ke(17313),Fr=ke(74207),Vr=ke(83116);const Br=ar=>{const{prefixCls:Nr,componentCls:Mr,antCls:Or}=ar,Pr=`${Mr}-menu-item`,Tr=`
&${Pr}-expand ${Pr}-expand-icon,
${Pr}-loading-icon
`;return[{[Mr]:{width:ar.controlWidth}},{[`${Mr}-dropdown`]:[(0,yr.C2)(`${Nr}-checkbox`,ar),{[`&${Or}-select-dropdown`]:{padding:0}},{[Mr]:{"&-checkbox":{top:0,marginInlineEnd:ar.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Mr}-menu-empty`]:{[`${Mr}-menu`]:{width:"100%",height:"auto",[Pr]:{color:ar.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:ar.controlItemWidth,height:ar.dropdownHeight,margin:0,padding:ar.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${ar.lineWidth}px ${ar.lineType} ${ar.colorSplit}`},"&-item":Object.assign(Object.assign({},Sr.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:ar.optionPadding,lineHeight:ar.lineHeight,cursor:"pointer",transition:`all ${ar.motionDurationMid}`,borderRadius:ar.borderRadiusSM,"&:hover":{background:ar.controlItemBgHover},"&-disabled":{color:ar.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Tr]:{color:ar.colorTextDisabled}},[`&-active:not(${Pr}-disabled)`]:{"&, &:hover":{fontWeight:ar.optionSelectedFontWeight,backgroundColor:ar.optionSelectedBg}},"&-content":{flex:"auto"},[Tr]:{marginInlineStart:ar.paddingXXS,color:ar.colorTextDescription,fontSize:ar.fontSizeIcon},"&-keyword":{color:ar.colorHighlight}})}}}]},{[`${Mr}-dropdown-rtl`]:{direction:"rtl"}},(0,Fr.c)(ar)]};var Ur=(0,Vr.Z)("Cascader",ar=>[Br(ar)],ar=>{const Nr=Math.round((ar.controlHeight-ar.fontSize*ar.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:ar.controlItemBgActive,optionSelectedFontWeight:ar.fontWeightStrong,optionPadding:`${Nr}px ${ar.paddingSM}px`,menuPadding:ar.paddingXXS}}),on=function(ar,Nr){var Mr={};for(var Or in ar)Object.prototype.hasOwnProperty.call(ar,Or)&&Nr.indexOf(Or)<0&&(Mr[Or]=ar[Or]);if(ar!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pr=0,Or=Object.getOwnPropertySymbols(ar);Pr<Or.length;Pr++)Nr.indexOf(Or[Pr])<0&&Object.prototype.propertyIsEnumerable.call(ar,Or[Pr])&&(Mr[Or[Pr]]=ar[Or[Pr]]);return Mr};const{SHOW_CHILD:Yr,SHOW_PARENT:Fn}=ut;function vn(ar,Nr,Mr){const Or=ar.toLowerCase().split(Nr).reduce((wr,Xr,Kt)=>Kt===0?[Xr]:[].concat((0,Re.Z)(wr),[Nr,Xr]),[]),Pr=[];let Tr=0;return Or.forEach((wr,Xr)=>{const Kt=Tr+wr.length;let xt=ar.slice(Tr,Kt);Tr=Kt,Xr%2===1&&(xt=vt.createElement("span",{className:`${Mr}-menu-item-keyword`,key:`separator-${Xr}`},xt)),Pr.push(xt)}),Pr}const Tn=(ar,Nr,Mr,Or)=>{const Pr=[],Tr=ar.toLowerCase();return Nr.forEach((wr,Xr)=>{Xr!==0&&Pr.push(" / ");let Kt=wr[Or.label];const xt=typeof Kt;(xt==="string"||xt==="number")&&(Kt=vn(String(Kt),Tr,Mr)),Pr.push(Kt)}),Pr},qr=vt.forwardRef((ar,Nr)=>{const{prefixCls:Mr,size:Or,disabled:Pr,className:Tr,rootClassName:wr,multiple:Xr,bordered:Kt=!0,transitionName:xt,choiceTransitionName:It="",popupClassName:Tt,dropdownClassName:At,expandIcon:zt,placement:Ut,showSearch:ir,allowClear:er=!0,notFoundContent:hr,direction:Cr,getPopupContainer:Dr,status:Ir,showArrow:qt,builtinPlacements:vr,style:Ht}=ar,Yt=on(ar,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Xt=(0,bt.Z)(Yt,["suffixIcon"]),{getPopupContainer:rr,getPrefixCls:gr,renderEmpty:Qt,direction:xr,popupOverflow:Lt,cascader:Jt}=vt.useContext(kt.E_),$t=Cr||xr,dr=$t==="rtl",{status:lr,hasFeedback:pr,isFormItemInput:fr,feedbackIcon:Ar}=vt.useContext(ft.aM),Rr=(0,Vt.F)(lr,Ir),Zr=hr||(Qt==null?void 0:Qt("Cascader"))||vt.createElement(jt.Z,{componentName:"Cascader"}),Qr=gr(),nn=gr("select",Mr),dn=gr("cascader",Mr),[pn,Gr]=(0,St.Z)(nn),[yn]=Ur(dn),{compactSize:mn,compactItemClassnames:On}=(0,or.ri)(nn,Cr),cn=ne()(Tt||At,`${dn}-dropdown`,{[`${dn}-dropdown-rtl`]:$t==="rtl"},wr,Gr),Sn=vt.useMemo(()=>{if(!ir)return ir;let ci={render:Tn};return typeof ir=="object"&&(ci=Object.assign(Object.assign({},ci),ir)),ci},[ir]),gn=(0,Mt.Z)(ci=>{var hn;return(hn=Or!=null?Or:mn)!==null&&hn!==void 0?hn:ci}),Jr=vt.useContext(_t.Z),Ln=Pr!=null?Pr:Jr;let Zn=zt;zt||(Zn=dr?vt.createElement(x.Z,null):vt.createElement(ve.Z,null));const fn=vt.createElement("span",{className:`${nn}-menu-item-loading-icon`},vt.createElement(De.Z,{spin:!0})),Hr=vt.useMemo(()=>Xr?vt.createElement("span",{className:`${dn}-checkbox-inner`}):!1,[Xr]),Wr=(0,Ft.Z)(ar.suffixIcon,qt),{suffixIcon:In,removeIcon:bn,clearIcon:Nn}=(0,Zt.Z)(Object.assign(Object.assign({},ar),{hasFeedback:pr,feedbackIcon:Ar,showSuffixIcon:Wr,multiple:Xr,prefixCls:nn,componentName:"Cascader"})),Hn=vt.useMemo(()=>Ut!==void 0?Ut:dr?"bottomRight":"bottomLeft",[Ut,dr]),zn=(0,Nt.Z)(vr,Lt),Dn=er===!0?{clearIcon:Nn}:er,_n=vt.createElement(ut,Object.assign({prefixCls:nn,className:ne()(!Mr&&dn,{[`${nn}-lg`]:gn==="large",[`${nn}-sm`]:gn==="small",[`${nn}-rtl`]:dr,[`${nn}-borderless`]:!Kt,[`${nn}-in-form-item`]:fr},(0,Vt.Z)(nn,Rr,pr),On,Jt==null?void 0:Jt.className,Tr,wr,Gr),disabled:Ln,style:Object.assign(Object.assign({},Jt==null?void 0:Jt.style),Ht)},Xt,{builtinPlacements:zn,direction:$t,placement:Hn,notFoundContent:Zr,allowClear:Dn,showSearch:Sn,expandIcon:Zn,suffixIcon:In,removeIcon:bn,loadingIcon:fn,checkable:Hr,dropdownClassName:cn,dropdownPrefixCls:Mr||dn,choiceTransitionName:(0,gt.m)(Qr,"",It),transitionName:(0,gt.m)(Qr,"slide-up",xt),getPopupContainer:Dr||rr,ref:Nr}));return yn(pn(_n))}),Un=(0,Dt.Z)(qr);qr.SHOW_PARENT=Fn,qr.SHOW_CHILD=Yr,qr._InternalPanelDoNotUseOrYouWillBeFired=Un;var un=qr},24905:function(sr,Wt,ke){"use strict";ke.d(Wt,{default:function(){return _e}});var Re=ke(92310),vt=ke.n(Re),x=ke(5630),De=ke(59301),ve=ke(36355),re=ke(1684),ne=ke(32441),oe=De.createContext(null),le=ke(98447),me=ke(14088),te=ke(4572),ae=function(Me,Oe){var Ce={};for(var Ne in Me)Object.prototype.hasOwnProperty.call(Me,Ne)&&Oe.indexOf(Ne)<0&&(Ce[Ne]=Me[Ne]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Ne=Object.getOwnPropertySymbols(Me);je<Ne.length;je++)Oe.indexOf(Ne[je])<0&&Object.prototype.propertyIsEnumerable.call(Me,Ne[je])&&(Ce[Ne[je]]=Me[Ne[je]]);return Ce};const ue=(Me,Oe)=>{var Ce;const{prefixCls:Ne,className:je,rootClassName:Ze,children:Pe,indeterminate:Ue=!1,style:Qe,onMouseEnter:tt,onMouseLeave:ot,skipGroup:lt=!1,disabled:Ve}=Me,Ye=ae(Me,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:nt,direction:dt,checkbox:at}=De.useContext(ve.E_),et=De.useContext(oe),{isFormItemInput:qe}=De.useContext(ne.aM),it=De.useContext(re.Z),yt=(Ce=(et==null?void 0:et.disabled)||Ve)!==null&&Ce!==void 0?Ce:it,ht=De.useRef(Ye.value);De.useEffect(()=>{et==null||et.registerValue(Ye.value)},[]),De.useEffect(()=>{if(!lt)return Ye.value!==ht.current&&(et==null||et.cancelValue(ht.current),et==null||et.registerValue(Ye.value),ht.current=Ye.value),()=>et==null?void 0:et.cancelValue(Ye.value)},[Ye.value]);const Bt=nt("checkbox",Ne),[Et,st]=(0,le.ZP)(Bt),Ge=Object.assign({},Ye);et&&!lt&&(Ge.onChange=function(){Ye.onChange&&Ye.onChange.apply(Ye,arguments),et.toggleOption&&et.toggleOption({label:Pe,value:Ye.value})},Ge.name=et.name,Ge.checked=et.value.includes(Ye.value));const We=vt()(`${Bt}-wrapper`,{[`${Bt}-rtl`]:dt==="rtl",[`${Bt}-wrapper-checked`]:Ge.checked,[`${Bt}-wrapper-disabled`]:yt,[`${Bt}-wrapper-in-form-item`]:qe},at==null?void 0:at.className,je,Ze,st),se=vt()({[`${Bt}-indeterminate`]:Ue},te.A,st),fe=Ue?"mixed":void 0;return Et(De.createElement(me.Z,{component:"Checkbox",disabled:yt},De.createElement("label",{className:We,style:Object.assign(Object.assign({},at==null?void 0:at.style),Qe),onMouseEnter:tt,onMouseLeave:ot},De.createElement(x.Z,Object.assign({"aria-checked":fe},Ge,{prefixCls:Bt,className:se,disabled:yt,ref:Oe})),Pe!==void 0&&De.createElement("span",null,Pe))))};var he=De.forwardRef(ue),we=ke(77654),Se=ke(2738),xe=function(Me,Oe){var Ce={};for(var Ne in Me)Object.prototype.hasOwnProperty.call(Me,Ne)&&Oe.indexOf(Ne)<0&&(Ce[Ne]=Me[Ne]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Ne=Object.getOwnPropertySymbols(Me);je<Ne.length;je++)Oe.indexOf(Ne[je])<0&&Object.prototype.propertyIsEnumerable.call(Me,Ne[je])&&(Ce[Ne[je]]=Me[Ne[je]]);return Ce};const ye=(Me,Oe)=>{const{defaultValue:Ce,children:Ne,options:je=[],prefixCls:Ze,className:Pe,rootClassName:Ue,style:Qe,onChange:tt}=Me,ot=xe(Me,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:lt,direction:Ve}=De.useContext(ve.E_),[Ye,nt]=De.useState(ot.value||Ce||[]),[dt,at]=De.useState([]);De.useEffect(()=>{"value"in ot&&nt(ot.value||[])},[ot.value]);const et=De.useMemo(()=>je.map(ze=>typeof ze=="string"||typeof ze=="number"?{label:ze,value:ze}:ze),[je]),qe=ze=>{at(He=>He.filter(pe=>pe!==ze))},it=ze=>{at(He=>[].concat((0,we.Z)(He),[ze]))},yt=ze=>{const He=Ye.indexOf(ze.value),pe=(0,we.Z)(Ye);He===-1?pe.push(ze.value):pe.splice(He,1),"value"in ot||nt(pe),tt==null||tt(pe.filter(Be=>dt.includes(Be)).sort((Be,Ke)=>{const Xe=et.findIndex(ut=>ut.value===Be),Je=et.findIndex(ut=>ut.value===Ke);return Xe-Je}))},ht=lt("checkbox",Ze),Bt=`${ht}-group`,[Et,st]=(0,le.ZP)(ht),Ge=(0,Se.Z)(ot,["value","disabled"]),We=je.length?et.map(ze=>De.createElement(he,{prefixCls:ht,key:ze.value.toString(),disabled:"disabled"in ze?ze.disabled:ot.disabled,value:ze.value,checked:Ye.includes(ze.value),onChange:ze.onChange,className:`${Bt}-item`,style:ze.style,title:ze.title},ze.label)):Ne,se={toggleOption:yt,value:Ye,disabled:ot.disabled,name:ot.name,registerValue:it,cancelValue:qe},fe=vt()(Bt,{[`${Bt}-rtl`]:Ve==="rtl"},Pe,Ue,st);return Et(De.createElement("div",Object.assign({className:fe,style:Qe},Ge,{ref:Oe}),De.createElement(oe.Provider,{value:se},We)))},Ae=De.forwardRef(ye);var Le=De.memo(Ae);const Ee=he;Ee.Group=Le,Ee.__ANT_CHECKBOX=!0;var _e=Ee},98447:function(sr,Wt,ke){"use strict";ke.d(Wt,{C2:function(){return ve}});var Re=ke(17313),vt=ke(37613),x=ke(83116);const De=re=>{const{checkboxCls:ne}=re,ie=`${ne}-wrapper`;return[{[`${ne}-group`]:Object.assign(Object.assign({},(0,Re.Wf)(re)),{display:"inline-flex",flexWrap:"wrap",columnGap:re.marginXS,[`> ${re.antCls}-row`]:{flex:1}}),[ie]:Object.assign(Object.assign({},(0,Re.Wf)(re)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ie}`]:{marginInlineStart:0},[`&${ie}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ne]:Object.assign(Object.assign({},(0,Re.Wf)(re)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:re.borderRadiusSM,alignSelf:"center",[`${ne}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ne}-inner`]:Object.assign({},(0,Re.oN)(re))},[`${ne}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:re.checkboxSize,height:re.checkboxSize,direction:"ltr",backgroundColor:re.colorBgContainer,border:`${re.lineWidth}px ${re.lineType} ${re.colorBorder}`,borderRadius:re.borderRadiusSM,borderCollapse:"separate",transition:`all ${re.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:re.checkboxSize/14*5,height:re.checkboxSize/14*8,border:`${re.lineWidthBold}px solid ${re.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${re.motionDurationFast} ${re.motionEaseInBack}, opacity ${re.motionDurationFast}`}},"& + span":{paddingInlineStart:re.paddingXS,paddingInlineEnd:re.paddingXS}})},{[`
${ie}:not(${ie}-disabled),
${ne}:not(${ne}-disabled)
`]:{[`&:hover ${ne}-inner`]:{borderColor:re.colorPrimary}},[`${ie}:not(${ie}-disabled)`]:{[`&:hover ${ne}-checked:not(${ne}-disabled) ${ne}-inner`]:{backgroundColor:re.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ne}-checked:not(${ne}-disabled):after`]:{borderColor:re.colorPrimaryHover}}},{[`${ne}-checked`]:{[`${ne}-inner`]:{backgroundColor:re.colorPrimary,borderColor:re.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${re.motionDurationMid} ${re.motionEaseOutBack} ${re.motionDurationFast}`}}},[`
${ie}-checked:not(${ie}-disabled),
${ne}-checked:not(${ne}-disabled)
`]:{[`&:hover ${ne}-inner`]:{backgroundColor:re.colorPrimaryHover,borderColor:"transparent"}}},{[ne]:{"&-indeterminate":{[`${ne}-inner`]:{backgroundColor:re.colorBgContainer,borderColor:re.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:re.fontSizeLG/2,height:re.fontSizeLG/2,backgroundColor:re.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ie}-disabled`]:{cursor:"not-allowed"},[`${ne}-disabled`]:{[`&, ${ne}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ne}-inner`]:{background:re.colorBgContainerDisabled,borderColor:re.colorBorder,"&:after":{borderColor:re.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:re.colorTextDisabled},[`&${ne}-indeterminate ${ne}-inner::after`]:{background:re.colorTextDisabled}}}]};function ve(re,ne){const ie=(0,vt.TS)(ne,{checkboxCls:`.${re}`,checkboxSize:ne.controlInteractiveSize});return[De(ie)]}Wt.ZP=(0,x.Z)("Checkbox",(re,ne)=>{let{prefixCls:ie}=ne;return[ve(ie,re)]})},36381:function(sr,Wt,ke){"use strict";ke.d(Wt,{default:function(){return Ge}});var Re=ke(38819),vt=ke(92310),x=ke.n(vt),De=ke(60499),ve=ke(77654),re=ke(72190),ne=ke(43749),ie=ke(18929),oe=ke(48736),le=ke(59301),me=ke(42244),te=ke(11592),ae=ke(18642),ue=ke(77900),de=ke(10228),he=le.forwardRef(function(We,se){var fe=We.prefixCls,ze=We.forceRender,He=We.className,pe=We.style,Be=We.children,Ke=We.isActive,Xe=We.role,Je=le.useState(Ke||ze),ut=(0,re.Z)(Je,2),bt=ut[0],gt=ut[1];return le.useEffect(function(){(ze||Ke)&&gt(!0)},[ze,Ke]),bt?le.createElement("div",{ref:se,className:x()("".concat(fe,"-content"),(0,ae.Z)((0,ae.Z)({},"".concat(fe,"-content-active"),Ke),"".concat(fe,"-content-inactive"),!Ke),He),style:pe,role:Xe},le.createElement("div",{className:"".concat(fe,"-content-box")},Be)):null});he.displayName="PanelContent";var we=he,Se=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],xe=le.forwardRef(function(We,se){var fe=We.showArrow,ze=fe===void 0?!0:fe,He=We.headerClass,pe=We.isActive,Be=We.onItemClick,Ke=We.forceRender,Xe=We.className,Je=We.prefixCls,ut=We.collapsible,bt=We.accordion,gt=We.panelKey,Dt=We.extra,Vt=We.header,kt=We.expandIcon,jt=We.openMotion,_t=We.destroyInactivePanel,Mt=We.children,ft=(0,me.Z)(We,Se),St=ut==="disabled",Nt=ut==="header",Ft=ut==="icon",Zt=Dt!=null&&typeof Dt!="boolean",or=function(){Be==null||Be(gt)},yr=function(on){(on.key==="Enter"||on.keyCode===de.Z.ENTER||on.which===de.Z.ENTER)&&or()},Sr=typeof kt=="function"?kt(We):le.createElement("i",{className:"arrow"});Sr&&(Sr=le.createElement("div",{className:"".concat(Je,"-expand-icon"),onClick:["header","icon"].includes(ut)?or:void 0},Sr));var Fr=x()((0,ae.Z)((0,ae.Z)((0,ae.Z)({},"".concat(Je,"-item"),!0),"".concat(Je,"-item-active"),pe),"".concat(Je,"-item-disabled"),St),Xe),Vr=x()(He,(0,ae.Z)((0,ae.Z)((0,ae.Z)({},"".concat(Je,"-header"),!0),"".concat(Je,"-header-collapsible-only"),Nt),"".concat(Je,"-icon-collapsible-only"),Ft)),Br={className:Vr,"aria-expanded":pe,"aria-disabled":St,onKeyDown:yr};return!Nt&&!Ft&&(Br.onClick=or,Br.role=bt?"tab":"button",Br.tabIndex=St?-1:0),le.createElement("div",(0,De.Z)({},ft,{ref:se,className:Fr}),le.createElement("div",Br,ze&&Sr,le.createElement("span",{className:"".concat(Je,"-header-text"),onClick:ut==="header"?or:void 0},Vt),Zt&&le.createElement("div",{className:"".concat(Je,"-extra")},Dt)),le.createElement(ue.default,(0,De.Z)({visible:pe,leavedClassName:"".concat(Je,"-content-hidden")},jt,{forceRender:Ke,removeOnLeave:_t}),function(Ur,on){var Yr=Ur.className,Fn=Ur.style;return le.createElement(we,{ref:on,prefixCls:Je,className:Yr,style:Fn,isActive:pe,forceRender:Ke,role:bt?"tabpanel":void 0},Mt)}))}),ye=xe,Ae=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],Le=function(se,fe){var ze=fe.prefixCls,He=fe.accordion,pe=fe.collapsible,Be=fe.destroyInactivePanel,Ke=fe.onItemClick,Xe=fe.activeKey,Je=fe.openMotion,ut=fe.expandIcon;return se.map(function(bt,gt){var Dt=bt.children,Vt=bt.label,kt=bt.key,jt=bt.collapsible,_t=bt.onItemClick,Mt=bt.destroyInactivePanel,ft=(0,me.Z)(bt,Ae),St=String(kt!=null?kt:gt),Nt=jt!=null?jt:pe,Ft=Mt!=null?Mt:Be,Zt=function(Sr){Nt!=="disabled"&&(Ke(Sr),_t==null||_t(Sr))},or=!1;return He?or=Xe[0]===St:or=Xe.indexOf(St)>-1,le.createElement(ye,(0,De.Z)({},ft,{prefixCls:ze,key:St,panelKey:St,isActive:or,accordion:He,openMotion:Je,expandIcon:ut,header:Vt,collapsible:Nt,onItemClick:Zt,destroyInactivePanel:Ft}),Dt)})},Ee=function(se,fe,ze){if(!se)return null;var He=ze.prefixCls,pe=ze.accordion,Be=ze.collapsible,Ke=ze.destroyInactivePanel,Xe=ze.onItemClick,Je=ze.activeKey,ut=ze.openMotion,bt=ze.expandIcon,gt=se.key||String(fe),Dt=se.props,Vt=Dt.header,kt=Dt.headerClass,jt=Dt.destroyInactivePanel,_t=Dt.collapsible,Mt=Dt.onItemClick,ft=!1;pe?ft=Je[0]===gt:ft=Je.indexOf(gt)>-1;var St=_t!=null?_t:Be,Nt=function(or){St!=="disabled"&&(Xe(or),Mt==null||Mt(or))},Ft={key:gt,panelKey:gt,header:Vt,headerClass:kt,isActive:ft,prefixCls:He,destroyInactivePanel:jt!=null?jt:Ke,openMotion:ut,accordion:pe,children:se.props.children,onItemClick:Nt,expandIcon:bt,collapsible:St};return typeof se.type=="string"?se:(Object.keys(Ft).forEach(function(Zt){typeof Ft[Zt]=="undefined"&&delete Ft[Zt]}),le.cloneElement(se,Ft))};function _e(We,se,fe){return Array.isArray(We)?Le(We,fe):(0,te.Z)(se).map(function(ze,He){return Ee(ze,He,fe)})}var Me=_e,Oe=ke(26112);function Ce(We){var se=We;if(!Array.isArray(se)){var fe=(0,ne.Z)(se);se=fe==="number"||fe==="string"?[se]:[]}return se.map(function(ze){return String(ze)})}var Ne=le.forwardRef(function(We,se){var fe=We.prefixCls,ze=fe===void 0?"rc-collapse":fe,He=We.destroyInactivePanel,pe=He===void 0?!1:He,Be=We.style,Ke=We.accordion,Xe=We.className,Je=We.children,ut=We.collapsible,bt=We.openMotion,gt=We.expandIcon,Dt=We.activeKey,Vt=We.defaultActiveKey,kt=We.onChange,jt=We.items,_t=x()(ze,Xe),Mt=(0,ie.Z)([],{value:Dt,onChange:function(yr){return kt==null?void 0:kt(yr)},defaultValue:Vt,postState:Ce}),ft=(0,re.Z)(Mt,2),St=ft[0],Nt=ft[1],Ft=function(yr){return Nt(function(){if(Ke)return St[0]===yr?[]:[yr];var Sr=St.indexOf(yr),Fr=Sr>-1;return Fr?St.filter(function(Vr){return Vr!==yr}):[].concat((0,ve.Z)(St),[yr])})};(0,oe.ZP)(!Je,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Zt=Me(jt,Je,{prefixCls:ze,accordion:Ke,openMotion:bt,expandIcon:gt,collapsible:ut,destroyInactivePanel:pe,onItemClick:Ft,activeKey:St});return le.createElement("div",(0,De.Z)({ref:se,className:_t,style:Be,role:Ke?"tablist":void 0},(0,Oe.Z)(We,{aria:!0,data:!0})),Zt)}),je=Object.assign(Ne,{Panel:ye}),Ze=je,Pe=je.Panel,Ue=ke(2738),Qe=ke(62892),tt=ke(92343),ot=ke(36355),lt=ke(19716),Ye=le.forwardRef((We,se)=>{const{getPrefixCls:fe}=le.useContext(ot.E_),{prefixCls:ze,className:He,showArrow:pe=!0}=We,Be=fe("collapse",ze),Ke=x()({[`${Be}-no-arrow`]:!pe},He);return le.createElement(Ze.Panel,Object.assign({ref:se},We,{prefixCls:Be,className:Ke}))}),nt=ke(17313),dt=ke(8378),at=ke(83116),et=ke(37613);const qe=We=>{const{componentCls:se,contentBg:fe,padding:ze,headerBg:He,headerPadding:pe,collapseHeaderPaddingSM:Be,collapseHeaderPaddingLG:Ke,collapsePanelBorderRadius:Xe,lineWidth:Je,lineType:ut,colorBorder:bt,colorText:gt,colorTextHeading:Dt,colorTextDisabled:Vt,fontSize:kt,fontSizeLG:jt,lineHeight:_t,marginSM:Mt,paddingSM:ft,paddingLG:St,paddingXS:Nt,motionDurationSlow:Ft,fontSizeIcon:Zt,contentPadding:or}=We,yr=`${Je}px ${ut} ${bt}`;return{[se]:Object.assign(Object.assign({},(0,nt.Wf)(We)),{backgroundColor:He,border:yr,borderBottom:0,borderRadius:`${Xe}px`,"&-rtl":{direction:"rtl"},[`& > ${se}-item`]:{borderBottom:yr,"&:last-child":{[`
&,
& > ${se}-header`]:{borderRadius:`0 0 ${Xe}px ${Xe}px`}},[`> ${se}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:pe,color:Dt,lineHeight:_t,cursor:"pointer",transition:`all ${Ft}, visibility 0s`,[`> ${se}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${se}-expand-icon`]:{height:kt*_t,display:"flex",alignItems:"center",paddingInlineEnd:Mt},[`${se}-arrow`]:Object.assign(Object.assign({},(0,nt.Ro)()),{fontSize:Zt,svg:{transition:`transform ${Ft}`}}),[`${se}-header-text`]:{marginInlineEnd:"auto"}},[`${se}-header-collapsible-only`]:{cursor:"default",[`${se}-header-text`]:{flex:"none",cursor:"pointer"}},[`${se}-icon-collapsible-only`]:{cursor:"default",[`${se}-expand-icon`]:{cursor:"pointer"}}},[`${se}-content`]:{color:gt,backgroundColor:fe,borderTop:yr,[`& > ${se}-content-box`]:{padding:or},"&-hidden":{display:"none"}},"&-small":{[`> ${se}-item`]:{[`> ${se}-header`]:{padding:Be,paddingInlineStart:Nt,[`> ${se}-expand-icon`]:{marginInlineStart:ft-Nt}},[`> ${se}-content > ${se}-content-box`]:{padding:ft}}},"&-large":{[`> ${se}-item`]:{fontSize:jt,[`> ${se}-header`]:{padding:Ke,paddingInlineStart:ze,[`> ${se}-expand-icon`]:{height:jt*_t,marginInlineStart:St-ze}},[`> ${se}-content > ${se}-content-box`]:{padding:St}}},[`${se}-item:last-child`]:{[`> ${se}-content`]:{borderRadius:`0 0 ${Xe}px ${Xe}px`}},[`& ${se}-item-disabled > ${se}-header`]:{"\n &,\n & > .arrow\n ":{color:Vt,cursor:"not-allowed"}},[`&${se}-icon-position-end`]:{[`& > ${se}-item`]:{[`> ${se}-header`]:{[`${se}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Mt}}}}})}},it=We=>{const{componentCls:se}=We,fe=`> ${se}-item > ${se}-header ${se}-arrow svg`;return{[`${se}-rtl`]:{[fe]:{transform:"rotate(180deg)"}}}},yt=We=>{const{componentCls:se,headerBg:fe,paddingXXS:ze,colorBorder:He}=We;return{[`${se}-borderless`]:{backgroundColor:fe,border:0,[`> ${se}-item`]:{borderBottom:`1px solid ${He}`},[`
> ${se}-item:last-child,
> ${se}-item:last-child ${se}-header
`]:{borderRadius:0},[`> ${se}-item:last-child`]:{borderBottom:0},[`> ${se}-item > ${se}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${se}-item > ${se}-content > ${se}-content-box`]:{paddingTop:ze}}}},ht=We=>{const{componentCls:se,paddingSM:fe}=We;return{[`${se}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${se}-item`]:{borderBottom:0,[`> ${se}-content`]:{backgroundColor:"transparent",border:0,[`> ${se}-content-box`]:{paddingBlock:fe}}}}}};var Bt=(0,at.Z)("Collapse",We=>{const se=(0,et.TS)(We,{collapseHeaderPaddingSM:`${We.paddingXS}px ${We.paddingSM}px`,collapseHeaderPaddingLG:`${We.padding}px ${We.paddingLG}px`,collapsePanelBorderRadius:We.borderRadiusLG});return[qe(se),yt(se),ht(se),it(se),(0,dt.Z)(se)]},We=>({headerPadding:`${We.paddingSM}px ${We.padding}px`,headerBg:We.colorFillAlter,contentPadding:`${We.padding}px 16px`,contentBg:We.colorBgContainer})),st=Object.assign(le.forwardRef((We,se)=>{const{getPrefixCls:fe,direction:ze,collapse:He}=le.useContext(ot.E_),{prefixCls:pe,className:Be,rootClassName:Ke,style:Xe,bordered:Je=!0,ghost:ut,size:bt,expandIconPosition:gt="start",children:Dt,expandIcon:Vt}=We,kt=(0,lt.Z)(yr=>{var Sr;return(Sr=bt!=null?bt:yr)!==null&&Sr!==void 0?Sr:"middle"}),jt=fe("collapse",pe),_t=fe(),[Mt,ft]=Bt(jt),St=le.useMemo(()=>gt==="left"?"start":gt==="right"?"end":gt,[gt]),Nt=function(){let yr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Sr=Vt?Vt(yr):le.createElement(Re.Z,{rotate:yr.isActive?90:void 0});return(0,tt.Tm)(Sr,()=>({className:x()(Sr.props.className,`${jt}-arrow`)}))},Ft=x()(`${jt}-icon-position-${St}`,{[`${jt}-borderless`]:!Je,[`${jt}-rtl`]:ze==="rtl",[`${jt}-ghost`]:!!ut,[`${jt}-${kt}`]:kt!=="middle"},He==null?void 0:He.className,Be,Ke,ft),Zt=Object.assign(Object.assign({},(0,Qe.Z)(_t)),{motionAppear:!1,leavedClassName:`${jt}-content-hidden`}),or=le.useMemo(()=>Dt?(0,te.Z)(Dt).map((yr,Sr)=>{var Fr,Vr;if(!((Fr=yr.props)===null||Fr===void 0)&&Fr.disabled){const Br=(Vr=yr.key)!==null&&Vr!==void 0?Vr:String(Sr),{disabled:Ur,collapsible:on}=yr.props,Yr=Object.assign(Object.assign({},(0,Ue.Z)(yr.props,["disabled"])),{key:Br,collapsible:on!=null?on:Ur?"disabled":void 0});return(0,tt.Tm)(yr,Yr)}return yr}):null,[Dt]);return Mt(le.createElement(Ze,Object.assign({ref:se,openMotion:Zt},(0,Ue.Z)(We,["rootClassName"]),{expandIcon:Nt,prefixCls:jt,className:Ft,style:Object.assign(Object.assign({},He==null?void 0:He.style),Xe)}),or))}),{Panel:Ye}),Ge=st},93891:function(sr,Wt,ke){"use strict";var Re=ke(59301),vt=ke(36355),x=ke(64165);const De=ve=>{const{componentName:re}=ve,{getPrefixCls:ne}=(0,Re.useContext)(vt.E_),ie=ne("empty");switch(re){case"Table":case"List":return Re.createElement(x.Z,{image:x.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return Re.createElement(x.Z,{image:x.Z.PRESENTED_IMAGE_SIMPLE,className:`${ie}-small`});default:return Re.createElement(x.Z,null)}};Wt.Z=De},43428:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return Et}});var Re=ke(92310),vt=ke.n(Re),x=ke(85899),De=ke(72190),ve=ke(43403),re=ke(34280),ne=ke(59301),ie=ne.createContext(null),oe=ne.createContext({}),le=ie,me=ke(18642),te=ke(60499),ae=ke(77900),ue=ke(10228),de=ke(26112),he=ke(70425),we=function(Ge){var We=Ge.prefixCls,se=Ge.className,fe=Ge.style,ze=Ge.children,He=Ge.containerRef,pe=Ge.id,Be=Ge.onMouseEnter,Ke=Ge.onMouseOver,Xe=Ge.onMouseLeave,Je=Ge.onClick,ut=Ge.onKeyDown,bt=Ge.onKeyUp,gt={onMouseEnter:Be,onMouseOver:Ke,onMouseLeave:Xe,onClick:Je,onKeyDown:ut,onKeyUp:bt},Dt=ne.useContext(oe),Vt=Dt.panel,kt=(0,he.useComposeRef)(Vt,He);return ne.createElement(ne.Fragment,null,ne.createElement("div",(0,te.Z)({id:pe,className:vt()("".concat(We,"-content"),se),style:(0,x.Z)({},fe),"aria-modal":"true",role:"dialog",ref:kt},gt),ze))},Se=we,xe=ke(48736);function ye(st){return typeof st=="string"&&String(Number(st))===st?((0,xe.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(st)):st}function Ae(st){warning(!("wrapperClassName"in st),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!st.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Le={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Ee(st,Ge){var We,se,fe,ze,He=st.prefixCls,pe=st.open,Be=st.placement,Ke=st.inline,Xe=st.push,Je=st.forceRender,ut=st.autoFocus,bt=st.keyboard,gt=st.rootClassName,Dt=st.rootStyle,Vt=st.zIndex,kt=st.className,jt=st.id,_t=st.style,Mt=st.motion,ft=st.width,St=st.height,Nt=st.children,Ft=st.contentWrapperStyle,Zt=st.mask,or=st.maskClosable,yr=st.maskMotion,Sr=st.maskClassName,Fr=st.maskStyle,Vr=st.afterOpenChange,Br=st.onClose,Ur=st.onMouseEnter,on=st.onMouseOver,Yr=st.onMouseLeave,Fn=st.onClick,vn=st.onKeyDown,Tn=st.onKeyUp,qr=ne.useRef(),Un=ne.useRef(),un=ne.useRef();ne.useImperativeHandle(Ge,function(){return qr.current});var ar=function(er){var hr=er.keyCode,Cr=er.shiftKey;switch(hr){case ue.Z.TAB:{if(hr===ue.Z.TAB){if(!Cr&&document.activeElement===un.current){var Dr;(Dr=Un.current)===null||Dr===void 0||Dr.focus({preventScroll:!0})}else if(Cr&&document.activeElement===Un.current){var Ir;(Ir=un.current)===null||Ir===void 0||Ir.focus({preventScroll:!0})}}break}case ue.Z.ESC:{Br&&bt&&(er.stopPropagation(),Br(er));break}}};ne.useEffect(function(){if(pe&&ut){var ir;(ir=qr.current)===null||ir===void 0||ir.focus({preventScroll:!0})}},[pe]);var Nr=ne.useState(!1),Mr=(0,De.Z)(Nr,2),Or=Mr[0],Pr=Mr[1],Tr=ne.useContext(le),wr;Xe===!1?wr={distance:0}:Xe===!0?wr={}:wr=Xe||{};var Xr=(We=(se=(fe=wr)===null||fe===void 0?void 0:fe.distance)!==null&&se!==void 0?se:Tr==null?void 0:Tr.pushDistance)!==null&&We!==void 0?We:180,Kt=ne.useMemo(function(){return{pushDistance:Xr,push:function(){Pr(!0)},pull:function(){Pr(!1)}}},[Xr]);ne.useEffect(function(){if(pe){var ir;Tr==null||(ir=Tr.push)===null||ir===void 0||ir.call(Tr)}else{var er;Tr==null||(er=Tr.pull)===null||er===void 0||er.call(Tr)}},[pe]),ne.useEffect(function(){return function(){var ir;Tr==null||(ir=Tr.pull)===null||ir===void 0||ir.call(Tr)}},[]);var xt=Zt&&ne.createElement(ae.default,(0,te.Z)({key:"mask"},yr,{visible:pe}),function(ir,er){var hr=ir.className,Cr=ir.style;return ne.createElement("div",{className:vt()("".concat(He,"-mask"),hr,Sr),style:(0,x.Z)((0,x.Z)({},Cr),Fr),onClick:or&&pe?Br:void 0,ref:er})}),It=typeof Mt=="function"?Mt(Be):Mt,Tt={};if(Or&&Xr)switch(Be){case"top":Tt.transform="translateY(".concat(Xr,"px)");break;case"bottom":Tt.transform="translateY(".concat(-Xr,"px)");break;case"left":Tt.transform="translateX(".concat(Xr,"px)");break;default:Tt.transform="translateX(".concat(-Xr,"px)");break}Be==="left"||Be==="right"?Tt.width=ye(ft):Tt.height=ye(St);var At={onMouseEnter:Ur,onMouseOver:on,onMouseLeave:Yr,onClick:Fn,onKeyDown:vn,onKeyUp:Tn},zt=ne.createElement(ae.default,(0,te.Z)({key:"panel"},It,{visible:pe,forceRender:Je,onVisibleChanged:function(er){Vr==null||Vr(er)},removeOnLeave:!1,leavedClassName:"".concat(He,"-content-wrapper-hidden")}),function(ir,er){var hr=ir.className,Cr=ir.style;return ne.createElement("div",(0,te.Z)({className:vt()("".concat(He,"-content-wrapper"),hr),style:(0,x.Z)((0,x.Z)((0,x.Z)({},Tt),Cr),Ft)},(0,de.Z)(st,{data:!0})),ne.createElement(Se,(0,te.Z)({id:jt,containerRef:er,prefixCls:He,className:kt,style:_t},At),Nt))}),Ut=(0,x.Z)({},Dt);return Vt&&(Ut.zIndex=Vt),ne.createElement(le.Provider,{value:Kt},ne.createElement("div",{className:vt()(He,"".concat(He,"-").concat(Be),gt,(ze={},(0,me.Z)(ze,"".concat(He,"-open"),pe),(0,me.Z)(ze,"".concat(He,"-inline"),Ke),ze)),style:Ut,tabIndex:-1,ref:qr,onKeyDown:ar},xt,ne.createElement("div",{tabIndex:0,ref:Un,style:Le,"aria-hidden":"true","data-sentinel":"start"}),zt,ne.createElement("div",{tabIndex:0,ref:un,style:Le,"aria-hidden":"true","data-sentinel":"end"})))}var _e=ne.forwardRef(Ee),Me=_e,Oe=function(Ge){var We=Ge.open,se=We===void 0?!1:We,fe=Ge.prefixCls,ze=fe===void 0?"rc-drawer":fe,He=Ge.placement,pe=He===void 0?"right":He,Be=Ge.autoFocus,Ke=Be===void 0?!0:Be,Xe=Ge.keyboard,Je=Xe===void 0?!0:Xe,ut=Ge.width,bt=ut===void 0?378:ut,gt=Ge.mask,Dt=gt===void 0?!0:gt,Vt=Ge.maskClosable,kt=Vt===void 0?!0:Vt,jt=Ge.getContainer,_t=Ge.forceRender,Mt=Ge.afterOpenChange,ft=Ge.destroyOnClose,St=Ge.onMouseEnter,Nt=Ge.onMouseOver,Ft=Ge.onMouseLeave,Zt=Ge.onClick,or=Ge.onKeyDown,yr=Ge.onKeyUp,Sr=Ge.panelRef,Fr=ne.useState(!1),Vr=(0,De.Z)(Fr,2),Br=Vr[0],Ur=Vr[1],on=ne.useState(!1),Yr=(0,De.Z)(on,2),Fn=Yr[0],vn=Yr[1];(0,re.Z)(function(){vn(!0)},[]);var Tn=Fn?se:!1,qr=ne.useRef(),Un=ne.useRef();(0,re.Z)(function(){Tn&&(Un.current=document.activeElement)},[Tn]);var un=function(Pr){var Tr;if(Ur(Pr),Mt==null||Mt(Pr),!Pr&&Un.current&&!((Tr=qr.current)!==null&&Tr!==void 0&&Tr.contains(Un.current))){var wr;(wr=Un.current)===null||wr===void 0||wr.focus({preventScroll:!0})}},ar=ne.useMemo(function(){return{panel:Sr}},[Sr]);if(!_t&&!Br&&!Tn&&ft)return null;var Nr={onMouseEnter:St,onMouseOver:Nt,onMouseLeave:Ft,onClick:Zt,onKeyDown:or,onKeyUp:yr},Mr=(0,x.Z)((0,x.Z)({},Ge),{},{open:Tn,prefixCls:ze,placement:pe,autoFocus:Ke,keyboard:Je,width:bt,mask:Dt,maskClosable:kt,inline:jt===!1,afterOpenChange:un,ref:qr},Nr);return ne.createElement(oe.Provider,{value:ar},ne.createElement(ve.Z,{open:Tn||_t||Br,autoDestroy:!1,getContainer:jt,autoLock:Dt&&(Tn||Br)},ne.createElement(Me,Mr)))},Ce=Oe,Ne=Ce,je=ke(62892),Ze=ke(36355),Pe=ke(32441),Ue=ke(47729),tt=st=>{const{prefixCls:Ge,title:We,footer:se,extra:fe,closeIcon:ze,closable:He,onClose:pe,headerStyle:Be,drawerStyle:Ke,bodyStyle:Xe,footerStyle:Je,children:ut}=st,bt=ne.useCallback(jt=>ne.createElement("button",{type:"button",onClick:pe,"aria-label":"Close",className:`${Ge}-close`},jt),[pe]),[gt,Dt]=(0,Ue.Z)(He,ze,bt,void 0,!0),Vt=ne.useMemo(()=>!We&&!gt?null:ne.createElement("div",{style:Be,className:vt()(`${Ge}-header`,{[`${Ge}-header-close-only`]:gt&&!We&&!fe})},ne.createElement("div",{className:`${Ge}-header-title`},Dt,We&&ne.createElement("div",{className:`${Ge}-title`},We)),fe&&ne.createElement("div",{className:`${Ge}-extra`},fe)),[gt,Dt,fe,Be,Ge,We]),kt=ne.useMemo(()=>{if(!se)return null;const jt=`${Ge}-footer`;return ne.createElement("div",{className:jt,style:Je},se)},[se,Je,Ge]);return ne.createElement("div",{className:`${Ge}-wrapper-body`,style:Ke},Vt,ne.createElement("div",{className:`${Ge}-body`,style:Xe},ut),kt)},ot=ke(33234),lt=ke(83116),Ve=ke(37613),nt=st=>{const{componentCls:Ge,motionDurationSlow:We}=st,se={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${We}`}}};return{[Ge]:{[`${Ge}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${We}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Ge}-panel-motion`]:{"&-left":[se,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[se,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[se,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[se,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const dt=st=>{const{componentCls:Ge,zIndexPopup:We,colorBgMask:se,colorBgElevated:fe,motionDurationSlow:ze,motionDurationMid:He,padding:pe,paddingLG:Be,fontSizeLG:Ke,lineHeightLG:Xe,lineWidth:Je,lineType:ut,colorSplit:bt,marginSM:gt,colorIcon:Dt,colorIconHover:Vt,colorText:kt,fontWeightStrong:jt,footerPaddingBlock:_t,footerPaddingInline:Mt}=st,ft=`${Ge}-content-wrapper`;return{[Ge]:{position:"fixed",inset:0,zIndex:We,pointerEvents:"none","&-pure":{position:"relative",background:fe,[`&${Ge}-left`]:{boxShadow:st.boxShadowDrawerLeft},[`&${Ge}-right`]:{boxShadow:st.boxShadowDrawerRight},[`&${Ge}-top`]:{boxShadow:st.boxShadowDrawerUp},[`&${Ge}-bottom`]:{boxShadow:st.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Ge}-mask`]:{position:"absolute",inset:0,zIndex:We,background:se,pointerEvents:"auto"},[ft]:{position:"absolute",zIndex:We,maxWidth:"100vw",transition:`all ${ze}`,"&-hidden":{display:"none"}},[`&-left > ${ft}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:st.boxShadowDrawerLeft},[`&-right > ${ft}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:st.boxShadowDrawerRight},[`&-top > ${ft}`]:{top:0,insetInline:0,boxShadow:st.boxShadowDrawerUp},[`&-bottom > ${ft}`]:{bottom:0,insetInline:0,boxShadow:st.boxShadowDrawerDown},[`${Ge}-content`]:{width:"100%",height:"100%",overflow:"auto",background:fe,pointerEvents:"auto"},[`${Ge}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Ge}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${pe}px ${Be}px`,fontSize:Ke,lineHeight:Xe,borderBottom:`${Je}px ${ut} ${bt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Ge}-extra`]:{flex:"none"},[`${Ge}-close`]:{display:"inline-block",marginInlineEnd:gt,color:Dt,fontWeight:jt,fontSize:Ke,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${He}`,textRendering:"auto","&:focus, &:hover":{color:Vt,textDecoration:"none"}},[`${Ge}-title`]:{flex:1,margin:0,color:kt,fontWeight:st.fontWeightStrong,fontSize:Ke,lineHeight:Xe},[`${Ge}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Be,overflow:"auto"},[`${Ge}-footer`]:{flexShrink:0,padding:`${_t}px ${Mt}px`,borderTop:`${Je}px ${ut} ${bt}`},"&-rtl":{direction:"rtl"}}}};var at=(0,lt.Z)("Drawer",st=>{const Ge=(0,Ve.TS)(st,{});return[dt(Ge),nt(Ge)]},st=>({zIndexPopup:st.zIndexPopupBase,footerPaddingBlock:st.paddingXS,footerPaddingInline:st.padding})),et=ke(11575),qe=function(st,Ge){var We={};for(var se in st)Object.prototype.hasOwnProperty.call(st,se)&&Ge.indexOf(se)<0&&(We[se]=st[se]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,se=Object.getOwnPropertySymbols(st);fe<se.length;fe++)Ge.indexOf(se[fe])<0&&Object.prototype.propertyIsEnumerable.call(st,se[fe])&&(We[se[fe]]=st[se[fe]]);return We};const it=null,yt={distance:180},ht=st=>{var Ge;const{rootClassName:We,width:se,height:fe,size:ze="default",mask:He=!0,push:pe=yt,open:Be,afterOpenChange:Ke,onClose:Xe,prefixCls:Je,getContainer:ut,style:bt,className:gt,visible:Dt,afterVisibleChange:Vt}=st,kt=qe(st,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:jt,getPrefixCls:_t,direction:Mt,drawer:ft}=ne.useContext(Ze.E_),St=_t("drawer",Je),[Nt,Ft]=at(St),Zt=ut===void 0&&jt?()=>jt(document.body):ut,or=vt()({"no-mask":!He,[`${St}-rtl`]:Mt==="rtl"},We,Ft),yr=ne.useMemo(()=>se!=null?se:ze==="large"?736:378,[se,ze]),Sr=ne.useMemo(()=>fe!=null?fe:ze==="large"?736:378,[fe,ze]),Fr={motionName:(0,je.m)(St,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Vr=Ur=>({motionName:(0,je.m)(St,`panel-motion-${Ur}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Br=(0,et.H)();return Nt(ne.createElement(ot.BR,null,ne.createElement(Pe.Ux,{status:!0,override:!0},ne.createElement(Ne,Object.assign({prefixCls:St,onClose:Xe,maskMotion:Fr,motion:Vr},kt,{open:Be!=null?Be:Dt,mask:He,push:pe,width:yr,height:Sr,style:Object.assign(Object.assign({},ft==null?void 0:ft.style),bt),className:vt()(ft==null?void 0:ft.className,gt),rootClassName:or,getContainer:Zt,afterOpenChange:Ke!=null?Ke:Vt,panelRef:Br}),ne.createElement(tt,Object.assign({prefixCls:St},kt,{onClose:Xe}))))))},Bt=st=>{const{prefixCls:Ge,style:We,className:se,placement:fe="right"}=st,ze=qe(st,["prefixCls","style","className","placement"]),{getPrefixCls:He}=ne.useContext(Ze.E_),pe=He("drawer",Ge),[Be,Ke]=at(pe),Xe=vt()(pe,`${pe}-pure`,`${pe}-${fe}`,Ke,se);return Be(ne.createElement("div",{className:Xe,style:We},ne.createElement(tt,Object.assign({prefixCls:pe},ze))))};ht._InternalPanelDoNotUseOrYouWillBeFired=Bt;var Et=ht},91857:function(sr,Wt,ke){"use strict";var Re=ke(59301),vt=ke(38819),x=ke(92310),De=ke.n(x),ve=ke(31561),re=ke(70425),ne=ke(18929),ie=ke(2738),oe=ke(79676),le=ke(53487),me=ke(92343),te=ke(36355),ae=ke(20834),ue=ke(40875),de=ke(88088),he=ke(47211);const we=null,Se=Le=>{const{menu:Ee,arrow:_e,prefixCls:Me,children:Oe,trigger:Ce,disabled:Ne,dropdownRender:je,getPopupContainer:Ze,overlayClassName:Pe,rootClassName:Ue,open:Qe,onOpenChange:tt,visible:ot,onVisibleChange:lt,mouseEnterDelay:Ve=.15,mouseLeaveDelay:Ye=.1,autoAdjustOverflow:nt=!0,placement:dt="",overlay:at,transitionName:et}=Le,{getPopupContainer:qe,getPrefixCls:it,direction:yt}=Re.useContext(te.E_),ht=Re.useMemo(()=>{const gt=it();return et!==void 0?et:dt.includes("top")?`${gt}-slide-down`:`${gt}-slide-up`},[it,dt,et]),Bt=Re.useMemo(()=>dt?dt.includes("Center")?dt.slice(0,dt.indexOf("Center")):dt:yt==="rtl"?"bottomRight":"bottomLeft",[dt,yt]),Et=it("dropdown",Me),[st,Ge]=(0,he.Z)(Et),[,We]=(0,de.Z)(),se=Re.Children.only(Oe),fe=(0,me.Tm)(se,{className:De()(`${Et}-trigger`,{[`${Et}-rtl`]:yt==="rtl"},se.props.className),disabled:Ne}),ze=Ne?[]:Ce;let He;ze&&ze.includes("contextMenu")&&(He=!0);const[pe,Be]=(0,ne.Z)(!1,{value:Qe!=null?Qe:ot}),Ke=(0,re.useEvent)(gt=>{tt==null||tt(gt),lt==null||lt(gt),Be(gt)}),Xe=De()(Pe,Ue,Ge,{[`${Et}-rtl`]:yt==="rtl"}),Je=(0,oe.Z)({arrowPointAtCenter:typeof _e=="object"&&_e.pointAtCenter,autoAdjustOverflow:nt,offset:We.marginXXS,arrowWidth:_e?We.sizePopupArrow:0,borderRadius:We.borderRadius}),ut=Re.useCallback(()=>{Be(!1)},[]),bt=()=>{let gt;return Ee!=null&&Ee.items?gt=Re.createElement(ae.default,Object.assign({},Ee)):typeof at=="function"?gt=at():gt=at,je&&(gt=je(gt)),gt=Re.Children.only(typeof gt=="string"?Re.createElement("span",null,gt):gt),Re.createElement(ue.J,{prefixCls:`${Et}-menu`,expandIcon:Re.createElement("span",{className:`${Et}-menu-submenu-arrow`},Re.createElement(vt.Z,{className:`${Et}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ut,validator:Dt=>{let{mode:Vt}=Dt}},gt)};return st(Re.createElement(ve.Z,Object.assign({alignPoint:He},(0,ie.Z)(Le,["rootClassName"]),{mouseEnterDelay:Ve,mouseLeaveDelay:Ye,visible:pe,builtinPlacements:Je,arrow:!!_e,overlayClassName:Xe,prefixCls:Et,getPopupContainer:Ze||qe,transitionName:ht,trigger:ze,overlay:bt,placement:Bt,onVisibleChange:Ke}),fe))};function xe(Le){return Object.assign(Object.assign({},Le),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ye=(0,le.Z)(Se,"dropdown",Le=>Le,xe),Ae=Le=>Re.createElement(ye,Object.assign({},Le),Re.createElement("span",null));Se._InternalPanelDoNotUseOrYouWillBeFired=Ae,Wt.Z=Se},38854:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return de}});var Re=ke(91857),vt=ke(92310),x=ke.n(vt),De=ke(59301),ve=ke(18785),re=ke(3113),ne=ke(36355),ie=ke(81327),oe=ke(33234),le=ke(47211),me=function(he,we){var Se={};for(var xe in he)Object.prototype.hasOwnProperty.call(he,xe)&&we.indexOf(xe)<0&&(Se[xe]=he[xe]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,xe=Object.getOwnPropertySymbols(he);ye<xe.length;ye++)we.indexOf(xe[ye])<0&&Object.prototype.propertyIsEnumerable.call(he,xe[ye])&&(Se[xe[ye]]=he[xe[ye]]);return Se};const te=he=>{const{getPopupContainer:we,getPrefixCls:Se,direction:xe}=De.useContext(ne.E_),{prefixCls:ye,type:Ae="default",danger:Le,disabled:Ee,loading:_e,onClick:Me,htmlType:Oe,children:Ce,className:Ne,menu:je,arrow:Ze,autoFocus:Pe,overlay:Ue,trigger:Qe,align:tt,open:ot,onOpenChange:lt,placement:Ve,getPopupContainer:Ye,href:nt,icon:dt=De.createElement(ve.Z,null),title:at,buttonsRender:et=bt=>bt,mouseEnterDelay:qe,mouseLeaveDelay:it,overlayClassName:yt,overlayStyle:ht,destroyPopupOnHide:Bt,dropdownRender:Et}=he,st=me(he,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Ge=Se("dropdown",ye),We=`${Ge}-button`,[se,fe]=(0,le.Z)(Ge),ze={menu:je,arrow:Ze,autoFocus:Pe,align:tt,disabled:Ee,trigger:Ee?[]:Qe,onOpenChange:lt,getPopupContainer:Ye||we,mouseEnterDelay:qe,mouseLeaveDelay:it,overlayClassName:yt,overlayStyle:ht,destroyPopupOnHide:Bt,dropdownRender:Et},{compactSize:He,compactItemClassnames:pe}=(0,oe.ri)(Ge,xe),Be=x()(We,pe,Ne,fe);"overlay"in he&&(ze.overlay=Ue),"open"in he&&(ze.open=ot),"placement"in he?ze.placement=Ve:ze.placement=xe==="rtl"?"bottomLeft":"bottomRight";const Ke=De.createElement(re.ZP,{type:Ae,danger:Le,disabled:Ee,loading:_e,onClick:Me,htmlType:Oe,href:nt,title:at},Ce),Xe=De.createElement(re.ZP,{type:Ae,danger:Le,icon:dt}),[Je,ut]=et([Ke,Xe]);return se(De.createElement(ie.Z.Compact,Object.assign({className:Be,size:He,block:!0},st),Je,De.createElement(Re.Z,Object.assign({},ze),ut)))};te.__ANT_BUTTON=!0;var ae=te;const ue=Re.Z;ue.Button=ae;var de=ue},47211:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return me}});var Re=ke(17313),vt=ke(13826),x=ke(92899),De=ke(29878),ve=ke(19447),re=ke(83116),ne=ke(37613),oe=te=>{const{componentCls:ae,menuCls:ue,colorError:de,colorTextLightSolid:he}=te,we=`${ue}-item`;return{[`${ae}, ${ae}-menu-submenu`]:{[`${ue} ${we}`]:{[`&${we}-danger:not(${we}-disabled)`]:{color:de,"&:hover":{color:he,backgroundColor:de}}}}}};const le=te=>{const{componentCls:ae,menuCls:ue,zIndexPopup:de,dropdownArrowDistance:he,sizePopupArrow:we,antCls:Se,iconCls:xe,motionDurationMid:ye,dropdownPaddingVertical:Ae,fontSize:Le,dropdownEdgeChildPadding:Ee,colorTextDisabled:_e,fontSizeIcon:Me,controlPaddingHorizontal:Oe,colorBgElevated:Ce}=te;return[{[ae]:Object.assign(Object.assign({},(0,Re.Wf)(te)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:de,display:"block","&::before":{position:"absolute",insetBlock:-he+we/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${Se}-btn`]:{[`& > ${xe}-down, & > ${Se}-btn-icon > ${xe}-down`]:{fontSize:Me}},[`${ae}-wrap`]:{position:"relative",[`${Se}-btn > ${xe}-down`]:{fontSize:Me},[`${xe}-down::before`]:{transition:`transform ${ye}`}},[`${ae}-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${ae}-placement-bottomLeft,
&${Se}-slide-down-appear${Se}-slide-down-appear-active${ae}-placement-bottomLeft,
&${Se}-slide-down-enter${Se}-slide-down-enter-active${ae}-placement-bottom,
&${Se}-slide-down-appear${Se}-slide-down-appear-active${ae}-placement-bottom,
&${Se}-slide-down-enter${Se}-slide-down-enter-active${ae}-placement-bottomRight,
&${Se}-slide-down-appear${Se}-slide-down-appear-active${ae}-placement-bottomRight`]:{animationName:vt.fJ},[`&${Se}-slide-up-enter${Se}-slide-up-enter-active${ae}-placement-topLeft,
&${Se}-slide-up-appear${Se}-slide-up-appear-active${ae}-placement-topLeft,
&${Se}-slide-up-enter${Se}-slide-up-enter-active${ae}-placement-top,
&${Se}-slide-up-appear${Se}-slide-up-appear-active${ae}-placement-top,
&${Se}-slide-up-enter${Se}-slide-up-enter-active${ae}-placement-topRight,
&${Se}-slide-up-appear${Se}-slide-up-appear-active${ae}-placement-topRight`]:{animationName:vt.Qt},[`&${Se}-slide-down-leave${Se}-slide-down-leave-active${ae}-placement-bottomLeft,
&${Se}-slide-down-leave${Se}-slide-down-leave-active${ae}-placement-bottom,
&${Se}-slide-down-leave${Se}-slide-down-leave-active${ae}-placement-bottomRight`]:{animationName:vt.Uw},[`&${Se}-slide-up-leave${Se}-slide-up-leave-active${ae}-placement-topLeft,
&${Se}-slide-up-leave${Se}-slide-up-leave-active${ae}-placement-top,
&${Se}-slide-up-leave${Se}-slide-up-leave-active${ae}-placement-topRight`]:{animationName:vt.ly}})},(0,ve.ZP)(te,{colorBg:Ce,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ae} ${ue}`]:{position:"relative",margin:0},[`${ue}-submenu-popup`]:{position:"absolute",zIndex:de,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ae}, ${ae}-menu-submenu`]:{[ue]:Object.assign(Object.assign({padding:Ee,listStyleType:"none",backgroundColor:Ce,backgroundClip:"padding-box",borderRadius:te.borderRadiusLG,outline:"none",boxShadow:te.boxShadowSecondary},(0,Re.Qy)(te)),{[`${ue}-item-group-title`]:{padding:`${Ae}px ${Oe}px`,color:te.colorTextDescription,transition:`all ${ye}`},[`${ue}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ue}-item-icon`]:{minWidth:Le,marginInlineEnd:te.marginXS,fontSize:te.fontSizeSM},[`${ue}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ye}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ue}-item, ${ue}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${Ae}px ${Oe}px`,color:te.colorText,fontWeight:"normal",fontSize:Le,lineHeight:te.lineHeight,cursor:"pointer",transition:`all ${ye}`,borderRadius:te.borderRadiusSM,"&:hover, &-active":{backgroundColor:te.controlItemBgHover}},(0,Re.Qy)(te)),{"&-selected":{color:te.colorPrimary,backgroundColor:te.controlItemBgActive,"&:hover, &-active":{backgroundColor:te.controlItemBgActiveHover}},"&-disabled":{color:_e,cursor:"not-allowed","&:hover":{color:_e,backgroundColor:Ce,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${te.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:te.colorSplit},[`${ae}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:te.paddingXS,[`${ae}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:te.colorTextDescription,fontSize:Me,fontStyle:"normal"}}}),[`${ue}-item-group-list`]:{margin:`0 ${te.marginXS}px`,padding:0,listStyle:"none"},[`${ue}-submenu-title`]:{paddingInlineEnd:Oe+te.fontSizeSM},[`${ue}-submenu-vertical`]:{position:"relative"},[`${ue}-submenu${ue}-submenu-disabled ${ae}-menu-submenu-title`]:{[`&, ${ae}-menu-submenu-arrow-icon`]:{color:_e,backgroundColor:Ce,cursor:"not-allowed"}},[`${ue}-submenu-selected ${ae}-menu-submenu-title`]:{color:te.colorPrimary}})}},[(0,vt.oN)(te,"slide-up"),(0,vt.oN)(te,"slide-down"),(0,x.Fm)(te,"move-up"),(0,x.Fm)(te,"move-down"),(0,De._y)(te,"zoom-big")]]};var me=(0,re.Z)("Dropdown",(te,ae)=>{let{rootPrefixCls:ue}=ae;const{marginXXS:de,sizePopupArrow:he,controlHeight:we,fontSize:Se,lineHeight:xe,paddingXXS:ye,componentCls:Ae,borderRadiusLG:Le}=te,Ee=(we-Se*xe)/2,{dropdownArrowOffset:_e}=(0,ve.fS)({contentRadius:Le}),Me=(0,ne.TS)(te,{menuCls:`${Ae}-menu`,rootPrefixCls:ue,dropdownArrowDistance:he/2+de,dropdownArrowOffset:_e,dropdownPaddingVertical:Ee,dropdownEdgeChildPadding:ye});return[le(Me),oe(Me)]},te=>({zIndexPopup:te.zIndexPopupBase+50}))},64165:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ye}});var Re=ke(92310),vt=ke.n(Re),x=ke(59301),De=ke(36355),ve=ke(9763),re=ke(64993),ne=ke(88088),oe=()=>{const[,Ae]=(0,ne.Z)(),Ee=new re.C(Ae.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return x.createElement("svg",{style:Ee,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"}))))},me=()=>{const[,Ae]=(0,ne.Z)(),{colorFill:Le,colorFillTertiary:Ee,colorFillQuaternary:_e,colorBgContainer:Me}=Ae,{borderColor:Oe,shadowColor:Ce,contentColor:Ne}=(0,x.useMemo)(()=>({borderColor:new re.C(Le).onBackground(Me).toHexShortString(),shadowColor:new re.C(Ee).onBackground(Me).toHexShortString(),contentColor:new re.C(_e).onBackground(Me).toHexShortString()}),[Le,Ee,_e,Me]);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:Ce,cx:"32",cy:"33",rx:"32",ry:"7"}),x.createElement("g",{fillRule:"nonzero",stroke:Oe},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:Ne}))))},te=ke(83116),ae=ke(37613);const ue=Ae=>{const{componentCls:Le,margin:Ee,marginXS:_e,marginXL:Me,fontSize:Oe,lineHeight:Ce}=Ae;return{[Le]:{marginInline:_e,fontSize:Oe,lineHeight:Ce,textAlign:"center",[`${Le}-image`]:{height:Ae.emptyImgHeight,marginBottom:_e,opacity:Ae.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Le}-description`]:{color:Ae.colorText},[`${Le}-footer`]:{marginTop:Ee},"&-normal":{marginBlock:Me,color:Ae.colorTextDisabled,[`${Le}-description`]:{color:Ae.colorTextDisabled},[`${Le}-image`]:{height:Ae.emptyImgHeightMD}},"&-small":{marginBlock:_e,color:Ae.colorTextDisabled,[`${Le}-image`]:{height:Ae.emptyImgHeightSM}}}}};var de=(0,te.Z)("Empty",Ae=>{const{componentCls:Le,controlHeightLG:Ee}=Ae,_e=(0,ae.TS)(Ae,{emptyImgCls:`${Le}-img`,emptyImgHeight:Ee*2.5,emptyImgHeightMD:Ee,emptyImgHeightSM:Ee*.875});return[ue(_e)]}),he=function(Ae,Le){var Ee={};for(var _e in Ae)Object.prototype.hasOwnProperty.call(Ae,_e)&&Le.indexOf(_e)<0&&(Ee[_e]=Ae[_e]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,_e=Object.getOwnPropertySymbols(Ae);Me<_e.length;Me++)Le.indexOf(_e[Me])<0&&Object.prototype.propertyIsEnumerable.call(Ae,_e[Me])&&(Ee[_e[Me]]=Ae[_e[Me]]);return Ee};const we=x.createElement(oe,null),Se=x.createElement(me,null),xe=Ae=>{var{className:Le,rootClassName:Ee,prefixCls:_e,image:Me=we,description:Oe,children:Ce,imageStyle:Ne,style:je}=Ae,Ze=he(Ae,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:Pe,direction:Ue,empty:Qe}=x.useContext(De.E_),tt=Pe("empty",_e),[ot,lt]=de(tt),[Ve]=(0,ve.Z)("Empty"),Ye=typeof Oe!="undefined"?Oe:Ve==null?void 0:Ve.description,nt=typeof Ye=="string"?Ye:"empty";let dt=null;return typeof Me=="string"?dt=x.createElement("img",{alt:nt,src:Me}):dt=Me,ot(x.createElement("div",Object.assign({className:vt()(lt,tt,Qe==null?void 0:Qe.className,{[`${tt}-normal`]:Me===Se,[`${tt}-rtl`]:Ue==="rtl"},Le,Ee),style:Object.assign(Object.assign({},Qe==null?void 0:Qe.style),je)},Ze),x.createElement("div",{className:`${tt}-image`,style:Ne},dt),Ye&&x.createElement("div",{className:`${tt}-description`},Ye),Ce&&x.createElement("div",{className:`${tt}-footer`},Ce)))};xe.PRESENTED_IMAGE_DEFAULT=we,xe.PRESENTED_IMAGE_SIMPLE=Se;var ye=xe},78241:function(sr,Wt,ke){"use strict";ke.d(Wt,{default:function(){return Xr}});var Re=ke(77654),vt=ke(92310),x=ke.n(vt),De=ke(77900),ve=ke(59301),re=ke(62892),ne=ke(32441);function ie(Kt){const[xt,It]=ve.useState(Kt);return ve.useEffect(()=>{const Tt=setTimeout(()=>{It(Kt)},Kt.length?0:10);return()=>{clearTimeout(Tt)}},[Kt]),xt}var oe=ke(17313),le=ke(29878),me=ke(8378),te=ke(37613),ae=ke(83116),de=Kt=>{const{componentCls:xt}=Kt,It=`${xt}-show-help`,Tt=`${xt}-show-help-item`;return{[It]:{transition:`opacity ${Kt.motionDurationSlow} ${Kt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Tt]:{overflow:"hidden",transition:`height ${Kt.motionDurationSlow} ${Kt.motionEaseInOut},
opacity ${Kt.motionDurationSlow} ${Kt.motionEaseInOut},
transform ${Kt.motionDurationSlow} ${Kt.motionEaseInOut} !important`,[`&${Tt}-appear, &${Tt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Tt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const he=Kt=>({legend:{display:"block",width:"100%",marginBottom:Kt.marginLG,padding:0,color:Kt.colorTextDescription,fontSize:Kt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Kt.lineWidth}px ${Kt.lineType} ${Kt.colorBorder}`},label:{fontSize:Kt.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${Kt.controlOutlineWidth}px ${Kt.controlOutline}`},output:{display:"block",paddingTop:15,color:Kt.colorText,fontSize:Kt.fontSize,lineHeight:Kt.lineHeight}}),we=(Kt,xt)=>{const{formItemCls:It}=Kt;return{[It]:{[`${It}-label > label`]:{height:xt},[`${It}-control-input`]:{minHeight:xt}}}},Se=Kt=>{const{componentCls:xt}=Kt;return{[Kt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,oe.Wf)(Kt)),he(Kt)),{[`${xt}-text`]:{display:"inline-block",paddingInlineEnd:Kt.paddingSM},"&-small":Object.assign({},we(Kt,Kt.controlHeightSM)),"&-large":Object.assign({},we(Kt,Kt.controlHeightLG))})}},xe=Kt=>{const{formItemCls:xt,iconCls:It,componentCls:Tt,rootPrefixCls:At,labelRequiredMarkColor:zt,labelColor:Ut,labelFontSize:ir,labelHeight:er,labelColonMarginInlineStart:hr,labelColonMarginInlineEnd:Cr,itemMarginBottom:Dr}=Kt;return{[xt]:Object.assign(Object.assign({},(0,oe.Wf)(Kt)),{marginBottom:Dr,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden.${At}-row`]:{display:"none"},"&-has-warning":{[`${xt}-split`]:{color:Kt.colorError}},"&-has-error":{[`${xt}-split`]:{color:Kt.colorWarning}},[`${xt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${Kt.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:er,color:Ut,fontSize:ir,[`> ${It}`]:{fontSize:Kt.fontSize,verticalAlign:"top"},[`&${xt}-required:not(${xt}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:Kt.marginXXS,color:zt,fontSize:Kt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Tt}-hide-required-mark &`]:{display:"none"}},[`${xt}-optional`]:{display:"inline-block",marginInlineStart:Kt.marginXXS,color:Kt.colorTextDescription,[`${Tt}-hide-required-mark &`]:{display:"none"}},[`${xt}-tooltip`]:{color:Kt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Kt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:hr,marginInlineEnd:Cr},[`&${xt}-no-colon::after`]:{content:'"\\a0"'}}},[`${xt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${At}-col-'"]):not([class*="' ${At}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Kt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[xt]:{"&-explain, &-extra":{clear:"both",color:Kt.colorTextDescription,fontSize:Kt.fontSize,lineHeight:Kt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Kt.controlHeightSM,transition:`color ${Kt.motionDurationMid} ${Kt.motionEaseOut}`},"&-explain":{"&-error":{color:Kt.colorError},"&-warning":{color:Kt.colorWarning}}},[`&-with-help ${xt}-explain`]:{height:"auto",opacity:1},[`${xt}-feedback-icon`]:{fontSize:Kt.fontSize,textAlign:"center",visibility:"visible",animationName:le.kr,animationDuration:Kt.motionDurationMid,animationTimingFunction:Kt.motionEaseOutBack,pointerEvents:"none","&-success":{color:Kt.colorSuccess},"&-error":{color:Kt.colorError},"&-warning":{color:Kt.colorWarning},"&-validating":{color:Kt.colorPrimary}}})}},ye=Kt=>{const{componentCls:xt,formItemCls:It}=Kt;return{[`${xt}-horizontal`]:{[`${It}-label`]:{flexGrow:0},[`${It}-control`]:{flex:"1 1 0",minWidth:0},[`${It}-label[class$='-24'], ${It}-label[class*='-24 ']`]:{[`& + ${It}-control`]:{minWidth:"unset"}}}}},Ae=Kt=>{const{componentCls:xt,formItemCls:It}=Kt;return{[`${xt}-inline`]:{display:"flex",flexWrap:"wrap",[It]:{flex:"none",marginInlineEnd:Kt.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${It}-label,
> ${It}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${It}-label`]:{flex:"none"},[`${xt}-text`]:{display:"inline-block"},[`${It}-has-feedback`]:{display:"inline-block"}}}}},Le=Kt=>({padding:Kt.verticalLabelPadding,margin:Kt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Ee=Kt=>{const{componentCls:xt,formItemCls:It,rootPrefixCls:Tt}=Kt;return{[`${It} ${It}-label`]:Le(Kt),[xt]:{[It]:{flexWrap:"wrap",[`${It}-label, ${It}-control`]:{[`&:not([class*=" ${Tt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},_e=Kt=>{const{componentCls:xt,formItemCls:It,rootPrefixCls:Tt}=Kt;return{[`${xt}-vertical`]:{[It]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${xt}-item-control`]:{width:"100%"}}},[`${xt}-vertical ${It}-label,
.${Tt}-col-24${It}-label,
.${Tt}-col-xl-24${It}-label`]:Le(Kt),[`@media (max-width: ${Kt.screenXSMax}px)`]:[Ee(Kt),{[xt]:{[`.${Tt}-col-xs-24${It}-label`]:Le(Kt)}}],[`@media (max-width: ${Kt.screenSMMax}px)`]:{[xt]:{[`.${Tt}-col-sm-24${It}-label`]:Le(Kt)}},[`@media (max-width: ${Kt.screenMDMax}px)`]:{[xt]:{[`.${Tt}-col-md-24${It}-label`]:Le(Kt)}},[`@media (max-width: ${Kt.screenLGMax}px)`]:{[xt]:{[`.${Tt}-col-lg-24${It}-label`]:Le(Kt)}}}},Me=(Kt,xt)=>(0,te.TS)(Kt,{formItemCls:`${Kt.componentCls}-item`,rootPrefixCls:xt});var Oe=(0,ae.Z)("Form",(Kt,xt)=>{let{rootPrefixCls:It}=xt;const Tt=Me(Kt,It);return[Se(Tt),xe(Tt),de(Tt),ye(Tt),Ae(Tt),_e(Tt),(0,me.Z)(Tt),le.kr]},Kt=>({labelRequiredMarkColor:Kt.colorError,labelColor:Kt.colorTextHeading,labelFontSize:Kt.fontSize,labelHeight:Kt.controlHeight,labelColonMarginInlineStart:Kt.marginXXS/2,labelColonMarginInlineEnd:Kt.marginXS,itemMarginBottom:Kt.marginLG,verticalLabelPadding:`0 0 ${Kt.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const Ce=[];function Ne(Kt,xt,It){let Tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Kt=="string"?Kt:`${xt}-${Tt}`,error:Kt,errorStatus:It}}var Ze=Kt=>{let{help:xt,helpStatus:It,errors:Tt=Ce,warnings:At=Ce,className:zt,fieldId:Ut,onVisibleChanged:ir}=Kt;const{prefixCls:er}=ve.useContext(ne.Rk),hr=`${er}-item-explain`,[,Cr]=Oe(er),Dr=(0,ve.useMemo)(()=>(0,re.Z)(er),[er]),Ir=ie(Tt),qt=ie(At),vr=ve.useMemo(()=>xt!=null?[Ne(xt,"help",It)]:[].concat((0,Re.Z)(Ir.map((Yt,Xt)=>Ne(Yt,"error","error",Xt))),(0,Re.Z)(qt.map((Yt,Xt)=>Ne(Yt,"warning","warning",Xt)))),[xt,It,Ir,qt]),Ht={};return Ut&&(Ht.id=`${Ut}_help`),ve.createElement(De.default,{motionDeadline:Dr.motionDeadline,motionName:`${er}-show-help`,visible:!!vr.length,onVisibleChanged:ir},Yt=>{const{className:Xt,style:rr}=Yt;return ve.createElement("div",Object.assign({},Ht,{className:x()(hr,Xt,zt,Cr),style:rr,role:"alert"}),ve.createElement(De.CSSMotionList,Object.assign({keys:vr},(0,re.Z)(er),{motionName:`${er}-show-help-item`,component:!1}),gr=>{const{key:Qt,error:xr,errorStatus:Lt,className:Jt,style:$t}=gr;return ve.createElement("div",{key:Qt,className:x()(Jt,{[`${hr}-${Lt}`]:Lt}),style:$t},xr)}))})},Pe=ke(95013),Ue=ke(36355),Qe=ke(1684),tt=ke(52946),ot=ke(19716),lt=ke(16722);const Ve=["parentNode"],Ye="form_item";function nt(Kt){return Kt===void 0||Kt===!1?[]:Array.isArray(Kt)?Kt:[Kt]}function dt(Kt,xt){if(!Kt.length)return;const It=Kt.join("_");return xt?`${xt}_${It}`:Ve.includes(It)?`${Ye}_${It}`:It}function at(Kt,xt,It,Tt,At,zt){let Ut=Tt;return zt!==void 0?Ut=zt:It.validating?Ut="validating":Kt.length?Ut="error":xt.length?Ut="warning":(It.touched||At&&It.validated)&&(Ut="success"),Ut}function et(Kt){return nt(Kt).join("_")}function qe(Kt){const[xt]=(0,Pe.useForm)(),It=ve.useRef({}),Tt=ve.useMemo(()=>Kt!=null?Kt:Object.assign(Object.assign({},xt),{__INTERNAL__:{itemRef:At=>zt=>{const Ut=et(At);zt?It.current[Ut]=zt:delete It.current[Ut]}},scrollToField:function(At){let zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Ut=nt(At),ir=dt(Ut,Tt.__INTERNAL__.name),er=ir?document.getElementById(ir):null;er&&(0,lt.Z)(er,Object.assign({scrollMode:"if-needed",block:"nearest"},zt))},getFieldInstance:At=>{const zt=et(At);return It.current[zt]}}),[Kt,xt]);return[Tt]}var it=ke(28726),yt=function(Kt,xt){var It={};for(var Tt in Kt)Object.prototype.hasOwnProperty.call(Kt,Tt)&&xt.indexOf(Tt)<0&&(It[Tt]=Kt[Tt]);if(Kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Tt=Object.getOwnPropertySymbols(Kt);At<Tt.length;At++)xt.indexOf(Tt[At])<0&&Object.prototype.propertyIsEnumerable.call(Kt,Tt[At])&&(It[Tt[At]]=Kt[Tt[At]]);return It};const ht=(Kt,xt)=>{const It=ve.useContext(Qe.Z),{getPrefixCls:Tt,direction:At,form:zt}=ve.useContext(Ue.E_),{prefixCls:Ut,className:ir,rootClassName:er,size:hr,disabled:Cr=It,form:Dr,colon:Ir,labelAlign:qt,labelWrap:vr,labelCol:Ht,wrapperCol:Yt,hideRequiredMark:Xt,layout:rr="horizontal",scrollToFirstError:gr,requiredMark:Qt,onFinishFailed:xr,name:Lt,style:Jt,feedbackIcons:$t}=Kt,dr=yt(Kt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),lr=(0,ot.Z)(hr),pr=ve.useContext(it.Z),fr=(0,ve.useMemo)(()=>Qt!==void 0?Qt:zt&&zt.requiredMark!==void 0?zt.requiredMark:!Xt,[Xt,Qt,zt]),Ar=Ir!=null?Ir:zt==null?void 0:zt.colon,Rr=Tt("form",Ut),[Zr,Qr]=Oe(Rr),nn=x()(Rr,`${Rr}-${rr}`,{[`${Rr}-hide-required-mark`]:fr===!1,[`${Rr}-rtl`]:At==="rtl",[`${Rr}-${lr}`]:lr},Qr,zt==null?void 0:zt.className,ir,er),[dn]=qe(Dr),{__INTERNAL__:pn}=dn;pn.name=Lt;const Gr=(0,ve.useMemo)(()=>({name:Lt,labelAlign:qt,labelCol:Ht,labelWrap:vr,wrapperCol:Yt,vertical:rr==="vertical",colon:Ar,requiredMark:fr,itemRef:pn.itemRef,form:dn,feedbackIcons:$t}),[Lt,qt,Ht,Yt,rr,Ar,fr,dn,$t]);ve.useImperativeHandle(xt,()=>dn);const yn=(On,cn)=>{if(On){let Sn={block:"nearest"};typeof On=="object"&&(Sn=On),dn.scrollToField(cn,Sn)}},mn=On=>{if(xr==null||xr(On),On.errorFields.length){const cn=On.errorFields[0].name;if(gr!==void 0){yn(gr,cn);return}zt&&zt.scrollToFirstError!==void 0&&yn(zt.scrollToFirstError,cn)}};return Zr(ve.createElement(Qe.n,{disabled:Cr},ve.createElement(tt.q,{size:lr},ve.createElement(ne.RV,Object.assign({},{validateMessages:pr}),ve.createElement(ne.q3.Provider,{value:Gr},ve.createElement(Pe.default,Object.assign({id:Lt},dr,{name:Lt,onFinishFailed:mn,form:dn,style:Object.assign(Object.assign({},zt==null?void 0:zt.style),Jt),className:nn})))))))};var Et=ve.forwardRef(ht),st=ke(41799),Ge=ke(8654),We=ke(92343),se=ke(11592);function fe(Kt){if(typeof Kt=="function")return Kt;const xt=(0,se.Z)(Kt);return xt.length<=1?xt[0]:xt}const ze=()=>{const{status:Kt,errors:xt=[],warnings:It=[]}=(0,ve.useContext)(ne.aM);return{status:Kt,errors:xt,warnings:It}};ze.Context=ne.aM;var He=ze,pe=ke(16089);function Be(Kt){const[xt,It]=ve.useState(Kt),Tt=(0,ve.useRef)(null),At=(0,ve.useRef)([]),zt=(0,ve.useRef)(!1);ve.useEffect(()=>(zt.current=!1,()=>{zt.current=!0,pe.Z.cancel(Tt.current),Tt.current=null}),[]);function Ut(ir){zt.current||(Tt.current===null&&(At.current=[],Tt.current=(0,pe.Z)(()=>{Tt.current=null,It(er=>{let hr=er;return At.current.forEach(Cr=>{hr=Cr(hr)}),hr})})),At.current.push(ir))}return[xt,Ut]}function Ke(){const{itemRef:Kt}=ve.useContext(ne.q3),xt=ve.useRef({});function It(Tt,At){const zt=At&&typeof At=="object"&&At.ref,Ut=Tt.join("_");return(xt.current.name!==Ut||xt.current.originRef!==zt)&&(xt.current.name=Ut,xt.current.originRef=zt,xt.current.ref=(0,Ge.sQ)(Kt(Tt),zt)),xt.current.ref}return It}var Xe=ke(29194),Je=ke(34280),ut=ke(2738),bt=ke(27382),gt=ke(37028);const Dt=Kt=>{const{formItemCls:xt}=Kt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${xt}-control`]:{display:"flex"}}}};var Vt=(0,ae.b)(["Form","item-item"],(Kt,xt)=>{let{rootPrefixCls:It}=xt;const Tt=Me(Kt,It);return[Dt(Tt)]}),jt=Kt=>{const{prefixCls:xt,status:It,wrapperCol:Tt,children:At,errors:zt,warnings:Ut,_internalItemRender:ir,extra:er,help:hr,fieldId:Cr,marginBottom:Dr,onErrorVisibleChanged:Ir}=Kt,qt=`${xt}-item`,vr=ve.useContext(ne.q3),Ht=Tt||vr.wrapperCol||{},Yt=x()(`${qt}-control`,Ht.className),Xt=ve.useMemo(()=>Object.assign({},vr),[vr]);delete Xt.labelCol,delete Xt.wrapperCol;const rr=ve.createElement("div",{className:`${qt}-control-input`},ve.createElement("div",{className:`${qt}-control-input-content`},At)),gr=ve.useMemo(()=>({prefixCls:xt,status:It}),[xt,It]),Qt=Dr!==null||zt.length||Ut.length?ve.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},ve.createElement(ne.Rk.Provider,{value:gr},ve.createElement(Ze,{fieldId:Cr,errors:zt,warnings:Ut,help:hr,helpStatus:It,className:`${qt}-explain-connected`,onVisibleChanged:Ir})),!!Dr&&ve.createElement("div",{style:{width:0,height:Dr}})):null,xr={};Cr&&(xr.id=`${Cr}_extra`);const Lt=er?ve.createElement("div",Object.assign({},xr,{className:`${qt}-extra`}),er):null,Jt=ir&&ir.mark==="pro_table_render"&&ir.render?ir.render(Kt,{input:rr,errorList:Qt,extra:Lt}):ve.createElement(ve.Fragment,null,rr,Qt,Lt);return ve.createElement(ne.q3.Provider,{value:Xt},ve.createElement(gt.Z,Object.assign({},Ht,{className:Yt}),Jt),ve.createElement(Vt,{prefixCls:xt}))},_t=ke(61485),Mt=ke(31724),ft=ke(9763),St=ke(6848),Nt=function(Kt,xt){var It={};for(var Tt in Kt)Object.prototype.hasOwnProperty.call(Kt,Tt)&&xt.indexOf(Tt)<0&&(It[Tt]=Kt[Tt]);if(Kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Tt=Object.getOwnPropertySymbols(Kt);At<Tt.length;At++)xt.indexOf(Tt[At])<0&&Object.prototype.propertyIsEnumerable.call(Kt,Tt[At])&&(It[Tt[At]]=Kt[Tt[At]]);return It};function Ft(Kt){return Kt?typeof Kt=="object"&&!ve.isValidElement(Kt)?Kt:{title:Kt}:null}var or=Kt=>{let{prefixCls:xt,label:It,htmlFor:Tt,labelCol:At,labelAlign:zt,colon:Ut,required:ir,requiredMark:er,tooltip:hr}=Kt;var Cr;const[Dr]=(0,ft.Z)("Form"),{vertical:Ir,labelAlign:qt,labelCol:vr,labelWrap:Ht,colon:Yt}=ve.useContext(ne.q3);if(!It)return null;const Xt=At||vr||{},rr=zt||qt,gr=`${xt}-item-label`,Qt=x()(gr,rr==="left"&&`${gr}-left`,Xt.className,{[`${gr}-wrap`]:!!Ht});let xr=It;const Lt=Ut===!0||Yt!==!1&&Ut!==!1;Lt&&!Ir&&typeof It=="string"&&It.trim()!==""&&(xr=It.replace(/[:|]\s*$/,""));const $t=Ft(hr);if($t){const{icon:fr=ve.createElement(_t.Z,null)}=$t,Ar=Nt($t,["icon"]),Rr=ve.createElement(St.Z,Object.assign({},Ar),ve.cloneElement(fr,{className:`${xt}-item-tooltip`,title:""}));xr=ve.createElement(ve.Fragment,null,xr,Rr)}const dr=er==="optional",lr=typeof er=="function";lr?xr=er(xr,{required:!!ir}):dr&&!ir&&(xr=ve.createElement(ve.Fragment,null,xr,ve.createElement("span",{className:`${xt}-item-optional`,title:""},(Dr==null?void 0:Dr.optional)||((Cr=Mt.Z.Form)===null||Cr===void 0?void 0:Cr.optional))));const pr=x()({[`${xt}-item-required`]:ir,[`${xt}-item-required-mark-optional`]:dr||lr,[`${xt}-item-no-colon`]:!Lt});return ve.createElement(gt.Z,Object.assign({},Xt,{className:Qt}),ve.createElement("label",{htmlFor:Tt,className:pr,title:typeof It=="string"?It:""},xr))},yr=ke(29679),Sr=ke(19248),Fr=ke(96512),Vr=ke(58617);const Br={success:yr.Z,warning:Fr.Z,error:Sr.Z,validating:Vr.Z};function Ur(Kt){let{children:xt,errors:It,warnings:Tt,hasFeedback:At,validateStatus:zt,prefixCls:Ut,meta:ir,noStyle:er}=Kt;const hr=`${Ut}-item`,{feedbackIcons:Cr}=ve.useContext(ne.q3),Dr=at(It,Tt,ir,null,!!At,zt),{isFormItemInput:Ir,status:qt}=ve.useContext(ne.aM),vr=ve.useMemo(()=>{var Ht;let Yt;if(At){const gr=At!==!0&&At.icons||Cr,Qt=Dr&&((Ht=gr==null?void 0:gr({status:Dr,errors:It,warnings:Tt}))===null||Ht===void 0?void 0:Ht[Dr]),xr=Dr&&Br[Dr];Yt=Qt!==!1&&xr?ve.createElement("span",{className:x()(`${hr}-feedback-icon`,`${hr}-feedback-icon-${Dr}`)},Qt||ve.createElement(xr,null)):null}let Xt=!0,rr=Dr||"";return er&&(Xt=Ir,rr=(Dr!=null?Dr:qt)||""),{status:rr,errors:It,warnings:Tt,hasFeedback:!!At,feedbackIcon:Yt,isFormItemInput:Xt}},[Dr,At,er,Ir,qt]);return ve.createElement(ne.aM.Provider,{value:vr},xt)}var on=function(Kt,xt){var It={};for(var Tt in Kt)Object.prototype.hasOwnProperty.call(Kt,Tt)&&xt.indexOf(Tt)<0&&(It[Tt]=Kt[Tt]);if(Kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Tt=Object.getOwnPropertySymbols(Kt);At<Tt.length;At++)xt.indexOf(Tt[At])<0&&Object.prototype.propertyIsEnumerable.call(Kt,Tt[At])&&(It[Tt[At]]=Kt[Tt[At]]);return It};function Yr(Kt){const{prefixCls:xt,className:It,rootClassName:Tt,style:At,help:zt,errors:Ut,warnings:ir,validateStatus:er,meta:hr,hasFeedback:Cr,hidden:Dr,children:Ir,fieldId:qt,required:vr,isRequired:Ht,onSubItemMetaChange:Yt}=Kt,Xt=on(Kt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),rr=`${xt}-item`,{requiredMark:gr}=ve.useContext(ne.q3),Qt=ve.useRef(null),xr=ie(Ut),Lt=ie(ir),Jt=zt!=null,$t=!!(Jt||Ut.length||ir.length),dr=!!Qt.current&&(0,Xe.Z)(Qt.current),[lr,pr]=ve.useState(null);(0,Je.Z)(()=>{if($t&&Qt.current){const Qr=getComputedStyle(Qt.current);pr(parseInt(Qr.marginBottom,10))}},[$t,dr]);const fr=Qr=>{Qr||pr(null)},Rr=function(){let Qr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const nn=Qr?xr:hr.errors,dn=Qr?Lt:hr.warnings;return at(nn,dn,hr,"",!!Cr,er)}(),Zr=x()(rr,It,Tt,{[`${rr}-with-help`]:Jt||xr.length||Lt.length,[`${rr}-has-feedback`]:Rr&&Cr,[`${rr}-has-success`]:Rr==="success",[`${rr}-has-warning`]:Rr==="warning",[`${rr}-has-error`]:Rr==="error",[`${rr}-is-validating`]:Rr==="validating",[`${rr}-hidden`]:Dr});return ve.createElement("div",{className:Zr,style:At,ref:Qt},ve.createElement(bt.Z,Object.assign({className:`${rr}-row`},(0,ut.Z)(Xt,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),ve.createElement(or,Object.assign({htmlFor:qt},Kt,{requiredMark:gr,required:vr!=null?vr:Ht,prefixCls:xt})),ve.createElement(jt,Object.assign({},Kt,hr,{errors:xr,warnings:Lt,prefixCls:xt,status:Rr,help:zt,marginBottom:lr,onErrorVisibleChanged:fr}),ve.createElement(ne.qI.Provider,{value:Yt},ve.createElement(Ur,{prefixCls:xt,meta:hr,errors:hr.errors,warnings:hr.warnings,hasFeedback:Cr,validateStatus:Rr},Ir)))),!!lr&&ve.createElement("div",{className:`${rr}-margin-offset`,style:{marginBottom:-lr}}))}const Fn="__SPLIT__",vn=null,Tn=ve.memo(Kt=>{let{children:xt}=Kt;return xt},(Kt,xt)=>Kt.value===xt.value&&Kt.update===xt.update&&Kt.childProps.length===xt.childProps.length&&Kt.childProps.every((It,Tt)=>It===xt.childProps[Tt]));function qr(Kt){return Kt!=null}function Un(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function un(Kt){const{name:xt,noStyle:It,className:Tt,dependencies:At,prefixCls:zt,shouldUpdate:Ut,rules:ir,children:er,required:hr,label:Cr,messageVariables:Dr,trigger:Ir="onChange",validateTrigger:qt,hidden:vr,help:Ht}=Kt,{getPrefixCls:Yt}=ve.useContext(Ue.E_),{name:Xt}=ve.useContext(ne.q3),rr=fe(er),gr=typeof rr=="function",Qt=ve.useContext(ne.qI),{validateTrigger:xr}=ve.useContext(Pe.FieldContext),Lt=qt!==void 0?qt:xr,Jt=qr(xt),$t=Yt("form",zt),[dr,lr]=Oe($t),pr=ve.useContext(Pe.ListContext),fr=ve.useRef(),[Ar,Rr]=Be({}),[Zr,Qr]=(0,st.Z)(()=>Un()),nn=cn=>{const Sn=pr==null?void 0:pr.getKey(cn.name);if(Qr(cn.destroy?Un():cn,!0),It&&Ht!==!1&&Qt){let gn=cn.name;if(cn.destroy)gn=fr.current||gn;else if(Sn!==void 0){const[Jr,Ln]=Sn;gn=[Jr].concat((0,Re.Z)(Ln)),fr.current=gn}Qt(cn,gn)}},dn=(cn,Sn)=>{Rr(gn=>{const Jr=Object.assign({},gn),Zn=[].concat((0,Re.Z)(cn.name.slice(0,-1)),(0,Re.Z)(Sn)).join(Fn);return cn.destroy?delete Jr[Zn]:Jr[Zn]=cn,Jr})},[pn,Gr]=ve.useMemo(()=>{const cn=(0,Re.Z)(Zr.errors),Sn=(0,Re.Z)(Zr.warnings);return Object.values(Ar).forEach(gn=>{cn.push.apply(cn,(0,Re.Z)(gn.errors||[])),Sn.push.apply(Sn,(0,Re.Z)(gn.warnings||[]))}),[cn,Sn]},[Ar,Zr.errors,Zr.warnings]),yn=Ke();function mn(cn,Sn,gn){return It&&!vr?ve.createElement(Ur,{prefixCls:$t,hasFeedback:Kt.hasFeedback,validateStatus:Kt.validateStatus,meta:Zr,errors:pn,warnings:Gr,noStyle:!0},cn):ve.createElement(Yr,Object.assign({key:"row"},Kt,{className:x()(Tt,lr),prefixCls:$t,fieldId:Sn,isRequired:gn,errors:pn,warnings:Gr,meta:Zr,onSubItemMetaChange:dn}),cn)}if(!Jt&&!gr&&!At)return dr(mn(rr));let On={};return typeof Cr=="string"?On.label=Cr:xt&&(On.label=String(xt)),Dr&&(On=Object.assign(Object.assign({},On),Dr)),dr(ve.createElement(Pe.Field,Object.assign({},Kt,{messageVariables:On,trigger:Ir,validateTrigger:Lt,onMetaChange:nn}),(cn,Sn,gn)=>{const Jr=nt(xt).length&&Sn?Sn.name:[],Ln=dt(Jr,Xt),Zn=hr!==void 0?hr:!!(ir&&ir.some(Wr=>{if(Wr&&typeof Wr=="object"&&Wr.required&&!Wr.warningOnly)return!0;if(typeof Wr=="function"){const In=Wr(gn);return In&&In.required&&!In.warningOnly}return!1})),fn=Object.assign({},cn);let Hr=null;if(Array.isArray(rr)&&Jt)Hr=rr;else if(!(gr&&(!(Ut||At)||Jt))){if(!(At&&!gr&&!Jt))if((0,We.l$)(rr)){const Wr=Object.assign(Object.assign({},rr.props),fn);if(Wr.id||(Wr.id=Ln),Ht||pn.length>0||Gr.length>0||Kt.extra){const Nn=[];(Ht||pn.length>0)&&Nn.push(`${Ln}_help`),Kt.extra&&Nn.push(`${Ln}_extra`),Wr["aria-describedby"]=Nn.join(" ")}pn.length>0&&(Wr["aria-invalid"]="true"),Zn&&(Wr["aria-required"]="true"),(0,Ge.Yr)(rr)&&(Wr.ref=yn(Jr,rr)),new Set([].concat((0,Re.Z)(nt(Ir)),(0,Re.Z)(nt(Lt)))).forEach(Nn=>{Wr[Nn]=function(){for(var Hn,zn,Dn,_n,ci,hn=arguments.length,kn=new Array(hn),Vn=0;Vn<hn;Vn++)kn[Vn]=arguments[Vn];(Dn=fn[Nn])===null||Dn===void 0||(Hn=Dn).call.apply(Hn,[fn].concat(kn)),(ci=(_n=rr.props)[Nn])===null||ci===void 0||(zn=ci).call.apply(zn,[_n].concat(kn))}});const bn=[Wr["aria-required"],Wr["aria-invalid"],Wr["aria-describedby"]];Hr=ve.createElement(Tn,{value:fn[Kt.valuePropName||"value"],update:rr,childProps:bn},(0,We.Tm)(rr,Wr))}else gr&&(Ut||At)&&!Jt?Hr=rr(gn):Hr=rr}return mn(Hr,Ln,Zn)}))}const ar=un;ar.useStatus=He;var Nr=ar,Mr=function(Kt,xt){var It={};for(var Tt in Kt)Object.prototype.hasOwnProperty.call(Kt,Tt)&&xt.indexOf(Tt)<0&&(It[Tt]=Kt[Tt]);if(Kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Tt=Object.getOwnPropertySymbols(Kt);At<Tt.length;At++)xt.indexOf(Tt[At])<0&&Object.prototype.propertyIsEnumerable.call(Kt,Tt[At])&&(It[Tt[At]]=Kt[Tt[At]]);return It},Pr=Kt=>{var{prefixCls:xt,children:It}=Kt,Tt=Mr(Kt,["prefixCls","children"]);const{getPrefixCls:At}=ve.useContext(Ue.E_),zt=At("form",xt),Ut=ve.useMemo(()=>({prefixCls:zt,status:"error"}),[zt]);return ve.createElement(Pe.List,Object.assign({},Tt),(ir,er,hr)=>ve.createElement(ne.Rk.Provider,{value:Ut},It(ir.map(Cr=>Object.assign(Object.assign({},Cr),{fieldKey:Cr.key})),er,{errors:hr.errors,warnings:hr.warnings})))};function Tr(){const{form:Kt}=(0,ve.useContext)(ne.q3);return Kt}const wr=Et;wr.Item=Nr,wr.List=Pr,wr.ErrorList=Ze,wr.useForm=qe,wr.useFormInstance=Tr,wr.useWatch=Pe.useWatch,wr.Provider=ne.RV,wr.create=()=>{};var Xr=wr},5871:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return _t}});var Re=ke(84105),vt=ke(87395),x=ke(92310),De=ke.n(x),ve=ke(60499),re=ke(18642),ne=ke(43749),ie=ke(72190),oe=ke(42244),le=ke(38705),me=ke(17212);function te(){return typeof BigInt=="function"}function ae(Mt){return!Mt&&Mt!==0&&!Number.isNaN(Mt)||!String(Mt).trim()}function ue(Mt){var ft=Mt.trim(),St=ft.startsWith("-");St&&(ft=ft.slice(1)),ft=ft.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),ft.startsWith(".")&&(ft="0".concat(ft));var Nt=ft||"0",Ft=Nt.split("."),Zt=Ft[0]||"0",or=Ft[1]||"0";Zt==="0"&&or==="0"&&(St=!1);var yr=St?"-":"";return{negative:St,negativeStr:yr,trimStr:Nt,integerStr:Zt,decimalStr:or,fullStr:"".concat(yr).concat(Nt)}}function de(Mt){var ft=String(Mt);return!Number.isNaN(Number(ft))&&ft.includes("e")}function he(Mt){var ft=String(Mt);if(de(Mt)){var St=Number(ft.slice(ft.indexOf("e-")+2)),Nt=ft.match(/\.(\d+)/);return Nt!=null&&Nt[1]&&(St+=Nt[1].length),St}return ft.includes(".")&&Se(ft)?ft.length-ft.indexOf(".")-1:0}function we(Mt){var ft=String(Mt);if(de(Mt)){if(Mt>Number.MAX_SAFE_INTEGER)return String(te()?BigInt(Mt).toString():Number.MAX_SAFE_INTEGER);if(Mt<Number.MIN_SAFE_INTEGER)return String(te()?BigInt(Mt).toString():Number.MIN_SAFE_INTEGER);ft=Mt.toFixed(he(ft))}return ue(ft).fullStr}function Se(Mt){return typeof Mt=="number"?!Number.isNaN(Mt):Mt?/^\s*-?\d+(\.\d+)?\s*$/.test(Mt)||/^\s*-?\d+\.\s*$/.test(Mt)||/^\s*-?\.\d+\s*$/.test(Mt):!1}var xe=function(){function Mt(ft){if((0,le.Z)(this,Mt),(0,re.Z)(this,"origin",""),(0,re.Z)(this,"negative",void 0),(0,re.Z)(this,"integer",void 0),(0,re.Z)(this,"decimal",void 0),(0,re.Z)(this,"decimalLen",void 0),(0,re.Z)(this,"empty",void 0),(0,re.Z)(this,"nan",void 0),ae(ft)){this.empty=!0;return}if(this.origin=String(ft),ft==="-"||Number.isNaN(ft)){this.nan=!0;return}var St=ft;if(de(St)&&(St=Number(St)),St=typeof St=="string"?St:we(St),Se(St)){var Nt=ue(St);this.negative=Nt.negative;var Ft=Nt.trimStr.split(".");this.integer=BigInt(Ft[0]);var Zt=Ft[1]||"0";this.decimal=BigInt(Zt),this.decimalLen=Zt.length}else this.nan=!0}return(0,me.Z)(Mt,[{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(St){var Nt="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(St,"0"));return BigInt(Nt)}},{key:"negate",value:function(){var St=new Mt(this.toString());return St.negative=!St.negative,St}},{key:"cal",value:function(St,Nt,Ft){var Zt=Math.max(this.getDecimalStr().length,St.getDecimalStr().length),or=this.alignDecimal(Zt),yr=St.alignDecimal(Zt),Sr=Nt(or,yr).toString(),Fr=Ft(Zt),Vr=ue(Sr),Br=Vr.negativeStr,Ur=Vr.trimStr,on="".concat(Br).concat(Ur.padStart(Fr+1,"0"));return new Mt("".concat(on.slice(0,-Fr),".").concat(on.slice(-Fr)))}},{key:"add",value:function(St){if(this.isInvalidate())return new Mt(St);var Nt=new Mt(St);return Nt.isInvalidate()?this:this.cal(Nt,function(Ft,Zt){return Ft+Zt},function(Ft){return Ft})}},{key:"multi",value:function(St){var Nt=new Mt(St);return this.isInvalidate()||Nt.isInvalidate()?new Mt(NaN):this.cal(Nt,function(Ft,Zt){return Ft*Zt},function(Ft){return Ft*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(St){return this.toString()===(St==null?void 0:St.toString())}},{key:"lessEquals",value:function(St){return this.add(St.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return St?this.isInvalidate()?"":ue("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Mt}(),ye=function(){function Mt(ft){if((0,le.Z)(this,Mt),(0,re.Z)(this,"origin",""),(0,re.Z)(this,"number",void 0),(0,re.Z)(this,"empty",void 0),ae(ft)){this.empty=!0;return}this.origin=String(ft),this.number=Number(ft)}return(0,me.Z)(Mt,[{key:"negate",value:function(){return new Mt(-this.toNumber())}},{key:"add",value:function(St){if(this.isInvalidate())return new Mt(St);var Nt=Number(St);if(Number.isNaN(Nt))return this;var Ft=this.number+Nt;if(Ft>Number.MAX_SAFE_INTEGER)return new Mt(Number.MAX_SAFE_INTEGER);if(Ft<Number.MIN_SAFE_INTEGER)return new Mt(Number.MIN_SAFE_INTEGER);var Zt=Math.max(he(this.number),he(Nt));return new Mt(Ft.toFixed(Zt))}},{key:"multi",value:function(St){var Nt=Number(St);if(this.isInvalidate()||Number.isNaN(Nt))return new Mt(NaN);var Ft=this.number*Nt;if(Ft>Number.MAX_SAFE_INTEGER)return new Mt(Number.MAX_SAFE_INTEGER);if(Ft<Number.MIN_SAFE_INTEGER)return new Mt(Number.MIN_SAFE_INTEGER);var Zt=Math.max(he(this.number),he(Nt));return new Mt(Ft.toFixed(Zt))}},{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(St){return this.toNumber()===(St==null?void 0:St.toNumber())}},{key:"lessEquals",value:function(St){return this.add(St.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return St?this.isInvalidate()?"":we(this.number):this.origin}}]),Mt}();function Ae(Mt){return te()?new xe(Mt):new ye(Mt)}function Le(Mt,ft,St){var Nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Mt==="")return"";var Ft=ue(Mt),Zt=Ft.negativeStr,or=Ft.integerStr,yr=Ft.decimalStr,Sr="".concat(ft).concat(yr),Fr="".concat(Zt).concat(or);if(St>=0){var Vr=Number(yr[St]);if(Vr>=5&&!Nt){var Br=Ae(Mt).add("".concat(Zt,"0.").concat("0".repeat(St)).concat(10-Vr));return Le(Br.toString(),ft,St,Nt)}return St===0?Fr:"".concat(Fr).concat(ft).concat(yr.padEnd(St,"0").slice(0,St))}return Sr===".0"?Fr:"".concat(Fr).concat(Sr)}var Ee=Ae,_e=ke(93681),Me=ke(34280),Oe=ke(8654),Ce=ke(59301),Ne=ke(48736);function je(Mt,ft){var St=(0,Ce.useRef)(null);function Nt(){try{var Zt=Mt.selectionStart,or=Mt.selectionEnd,yr=Mt.value,Sr=yr.substring(0,Zt),Fr=yr.substring(or);St.current={start:Zt,end:or,value:yr,beforeTxt:Sr,afterTxt:Fr}}catch(Vr){}}function Ft(){if(Mt&&St.current&&ft)try{var Zt=Mt.value,or=St.current,yr=or.beforeTxt,Sr=or.afterTxt,Fr=or.start,Vr=Zt.length;if(Zt.endsWith(Sr))Vr=Zt.length-St.current.afterTxt.length;else if(Zt.startsWith(yr))Vr=yr.length;else{var Br=yr[Fr-1],Ur=Zt.indexOf(Br,Fr-1);Ur!==-1&&(Vr=Ur+1)}Mt.setSelectionRange(Vr,Vr)}catch(on){(0,Ne.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(on.message))}}return[Nt,Ft]}var Ze=ke(49658),Pe=function(){var ft=(0,Ce.useState)(!1),St=(0,ie.Z)(ft,2),Nt=St[0],Ft=St[1];return(0,Me.Z)(function(){Ft((0,Ze.Z)())},[]),Nt},Ue=Pe,Qe=ke(16089),tt=200,ot=600;function lt(Mt){var ft=Mt.prefixCls,St=Mt.upNode,Nt=Mt.downNode,Ft=Mt.upDisabled,Zt=Mt.downDisabled,or=Mt.onStep,yr=Ce.useRef(),Sr=Ce.useRef([]),Fr=Ce.useRef();Fr.current=or;var Vr=function(){clearTimeout(yr.current)},Br=function(Un,un){Un.preventDefault(),Vr(),Fr.current(un);function ar(){Fr.current(un),yr.current=setTimeout(ar,tt)}yr.current=setTimeout(ar,ot)};Ce.useEffect(function(){return function(){Vr(),Sr.current.forEach(function(qr){return Qe.Z.cancel(qr)})}},[]);var Ur=Ue();if(Ur)return null;var on="".concat(ft,"-handler"),Yr=De()(on,"".concat(on,"-up"),(0,re.Z)({},"".concat(on,"-up-disabled"),Ft)),Fn=De()(on,"".concat(on,"-down"),(0,re.Z)({},"".concat(on,"-down-disabled"),Zt)),vn=function(){return Sr.current.push((0,Qe.Z)(Vr))},Tn={unselectable:"on",role:"button",onMouseUp:vn,onMouseLeave:vn};return Ce.createElement("div",{className:"".concat(on,"-wrap")},Ce.createElement("span",(0,ve.Z)({},Tn,{onMouseDown:function(Un){Br(Un,!0)},"aria-label":"Increase Value","aria-disabled":Ft,className:Yr}),St||Ce.createElement("span",{unselectable:"on",className:"".concat(ft,"-handler-up-inner")})),Ce.createElement("span",(0,ve.Z)({},Tn,{onMouseDown:function(Un){Br(Un,!1)},"aria-label":"Decrease Value","aria-disabled":Zt,className:Fn}),Nt||Ce.createElement("span",{unselectable:"on",className:"".concat(ft,"-handler-down-inner")})))}function Ve(Mt){var ft=typeof Mt=="number"?we(Mt):ue(Mt).fullStr,St=ft.includes(".");return St?ue(ft.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Mt+"0"}var Ye=ke(5643),nt=function(){var Mt=(0,Ce.useRef)(0),ft=function(){Qe.Z.cancel(Mt.current)};return(0,Ce.useEffect)(function(){return ft},[]),function(St){ft(),Mt.current=(0,Qe.Z)(function(){St()})}},dt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],at=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],et=function(ft,St){return ft||St.isEmpty()?St.toString():St.toNumber()},qe=function(ft){var St=Ee(ft);return St.isInvalidate()?null:St},it=Ce.forwardRef(function(Mt,ft){var St,Nt=Mt.prefixCls,Ft=Nt===void 0?"rc-input-number":Nt,Zt=Mt.className,or=Mt.style,yr=Mt.min,Sr=Mt.max,Fr=Mt.step,Vr=Fr===void 0?1:Fr,Br=Mt.defaultValue,Ur=Mt.value,on=Mt.disabled,Yr=Mt.readOnly,Fn=Mt.upHandler,vn=Mt.downHandler,Tn=Mt.keyboard,qr=Mt.controls,Un=qr===void 0?!0:qr,un=Mt.classNames,ar=Mt.stringMode,Nr=Mt.parser,Mr=Mt.formatter,Or=Mt.precision,Pr=Mt.decimalSeparator,Tr=Mt.onChange,wr=Mt.onInput,Xr=Mt.onPressEnter,Kt=Mt.onStep,xt=(0,oe.Z)(Mt,dt),It="".concat(Ft,"-input"),Tt=Ce.useRef(null),At=Ce.useState(!1),zt=(0,ie.Z)(At,2),Ut=zt[0],ir=zt[1],er=Ce.useRef(!1),hr=Ce.useRef(!1),Cr=Ce.useRef(!1),Dr=Ce.useState(function(){return Ee(Ur!=null?Ur:Br)}),Ir=(0,ie.Z)(Dr,2),qt=Ir[0],vr=Ir[1];function Ht(Hr){Ur===void 0&&vr(Hr)}var Yt=Ce.useCallback(function(Hr,Wr){if(!Wr)return Or>=0?Or:Math.max(he(Hr),he(Vr))},[Or,Vr]),Xt=Ce.useCallback(function(Hr){var Wr=String(Hr);if(Nr)return Nr(Wr);var In=Wr;return Pr&&(In=In.replace(Pr,".")),In.replace(/[^\w.-]+/g,"")},[Nr,Pr]),rr=Ce.useRef(""),gr=Ce.useCallback(function(Hr,Wr){if(Mr)return Mr(Hr,{userTyping:Wr,input:String(rr.current)});var In=typeof Hr=="number"?we(Hr):Hr;if(!Wr){var bn=Yt(In,Wr);if(Se(In)&&(Pr||bn>=0)){var Nn=Pr||".";In=Le(In,Nn,bn)}}return In},[Mr,Yt,Pr]),Qt=Ce.useState(function(){var Hr=Br!=null?Br:Ur;return qt.isInvalidate()&&["string","number"].includes((0,ne.Z)(Hr))?Number.isNaN(Hr)?"":Hr:gr(qt.toString(),!1)}),xr=(0,ie.Z)(Qt,2),Lt=xr[0],Jt=xr[1];rr.current=Lt;function $t(Hr,Wr){Jt(gr(Hr.isInvalidate()?Hr.toString(!1):Hr.toString(!Wr),Wr))}var dr=Ce.useMemo(function(){return qe(Sr)},[Sr,Or]),lr=Ce.useMemo(function(){return qe(yr)},[yr,Or]),pr=Ce.useMemo(function(){return!dr||!qt||qt.isInvalidate()?!1:dr.lessEquals(qt)},[dr,qt]),fr=Ce.useMemo(function(){return!lr||!qt||qt.isInvalidate()?!1:qt.lessEquals(lr)},[lr,qt]),Ar=je(Tt.current,Ut),Rr=(0,ie.Z)(Ar,2),Zr=Rr[0],Qr=Rr[1],nn=function(Wr){return dr&&!Wr.lessEquals(dr)?dr:lr&&!lr.lessEquals(Wr)?lr:null},dn=function(Wr){return!nn(Wr)},pn=function(Wr,In){var bn=Wr,Nn=dn(bn)||bn.isEmpty();if(!bn.isEmpty()&&!In&&(bn=nn(bn)||bn,Nn=!0),!Yr&&!on&&Nn){var Hn=bn.toString(),zn=Yt(Hn,In);return zn>=0&&(bn=Ee(Le(Hn,".",zn)),dn(bn)||(bn=Ee(Le(Hn,".",zn,!0)))),bn.equals(qt)||(Ht(bn),Tr==null||Tr(bn.isEmpty()?null:et(ar,bn)),Ur===void 0&&$t(bn,In)),bn}return qt},Gr=nt(),yn=function Hr(Wr){if(Zr(),rr.current=Wr,Jt(Wr),!hr.current){var In=Xt(Wr),bn=Ee(In);bn.isNaN()||pn(bn,!0)}wr==null||wr(Wr),Gr(function(){var Nn=Wr;Nr||(Nn=Wr.replace(/。/g,".")),Nn!==Wr&&Hr(Nn)})},mn=function(){hr.current=!0},On=function(){hr.current=!1,yn(Tt.current.value)},cn=function(Wr){yn(Wr.target.value)},Sn=function(Wr){var In;if(!(Wr&&pr||!Wr&&fr)){er.current=!1;var bn=Ee(Cr.current?Ve(Vr):Vr);Wr||(bn=bn.negate());var Nn=(qt||Ee(0)).add(bn.toString()),Hn=pn(Nn,!1);Kt==null||Kt(et(ar,Hn),{offset:Cr.current?Ve(Vr):Vr,type:Wr?"up":"down"}),(In=Tt.current)===null||In===void 0||In.focus()}},gn=function(Wr){var In=Ee(Xt(Lt)),bn=In;In.isNaN()?bn=pn(qt,Wr):bn=pn(In,Wr),Ur!==void 0?$t(qt,!1):bn.isNaN()||$t(bn,!1)},Jr=function(){er.current=!0},Ln=function(Wr){var In=Wr.key,bn=Wr.shiftKey;er.current=!0,Cr.current=bn,In==="Enter"&&(hr.current||(er.current=!1),gn(!1),Xr==null||Xr(Wr)),Tn!==!1&&!hr.current&&["Up","ArrowUp","Down","ArrowDown"].includes(In)&&(Sn(In==="Up"||In==="ArrowUp"),Wr.preventDefault())},Zn=function(){er.current=!1,Cr.current=!1},fn=function(){gn(!1),ir(!1),er.current=!1};return(0,Me.o)(function(){qt.isInvalidate()||$t(qt,!1)},[Or]),(0,Me.o)(function(){var Hr=Ee(Ur);vr(Hr);var Wr=Ee(Xt(Lt));(!Hr.equals(Wr)||!er.current||Mr)&&$t(Hr,er.current)},[Ur]),(0,Me.o)(function(){Mr&&Qr()},[Lt]),Ce.createElement("div",{className:De()(Ft,un==null?void 0:un.input,Zt,(St={},(0,re.Z)(St,"".concat(Ft,"-focused"),Ut),(0,re.Z)(St,"".concat(Ft,"-disabled"),on),(0,re.Z)(St,"".concat(Ft,"-readonly"),Yr),(0,re.Z)(St,"".concat(Ft,"-not-a-number"),qt.isNaN()),(0,re.Z)(St,"".concat(Ft,"-out-of-range"),!qt.isInvalidate()&&!dn(qt)),St)),style:or,onFocus:function(){ir(!0)},onBlur:fn,onKeyDown:Ln,onKeyUp:Zn,onCompositionStart:mn,onCompositionEnd:On,onBeforeInput:Jr},Un&&Ce.createElement(lt,{prefixCls:Ft,upNode:Fn,downNode:vn,upDisabled:pr,downDisabled:fr,onStep:Sn}),Ce.createElement("div",{className:"".concat(It,"-wrap")},Ce.createElement("input",(0,ve.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":yr,"aria-valuemax":Sr,"aria-valuenow":qt.isInvalidate()?null:qt.toString(),step:Vr},xt,{ref:(0,Oe.sQ)(Tt,ft),className:It,value:Lt,onChange:cn,disabled:on,readOnly:Yr}))))}),yt=Ce.forwardRef(function(Mt,ft){var St=Mt.disabled,Nt=Mt.style,Ft=Mt.prefixCls,Zt=Mt.value,or=Mt.prefix,yr=Mt.suffix,Sr=Mt.addonBefore,Fr=Mt.addonAfter,Vr=Mt.classes,Br=Mt.className,Ur=Mt.classNames,on=(0,oe.Z)(Mt,at),Yr=Ce.useRef(null),Fn=function(Tn){Yr.current&&(0,Ye.nH)(Yr.current,Tn)};return Ce.createElement(_e.BaseInput,{inputElement:Ce.createElement(it,(0,ve.Z)({prefixCls:Ft,disabled:St,classNames:Ur,ref:(0,Oe.sQ)(Yr,ft)},on)),className:Br,triggerFocus:Fn,prefixCls:Ft,value:Zt,disabled:St,style:Nt,prefix:or,suffix:yr,addonAfter:Fr,addonBefore:Sr,classes:Vr,classNames:Ur,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});yt.displayName="InputNumber";var ht=yt,Bt=ht,Et=ke(19080),st=ke(36355),Ge=ke(92736),We=ke(1684),se=ke(19716),fe=ke(32441),ze=ke(33234),He=ke(9937),pe=ke(17313),Be=ke(74207),Ke=ke(83116),Xe=ke(37613);const Je=(Mt,ft)=>{let{componentCls:St,borderRadiusSM:Nt,borderRadiusLG:Ft}=Mt;const Zt=ft==="lg"?Ft:Nt;return{[`&-${ft}`]:{[`${St}-handler-wrap`]:{borderStartEndRadius:Zt,borderEndEndRadius:Zt},[`${St}-handler-up`]:{borderStartEndRadius:Zt},[`${St}-handler-down`]:{borderEndEndRadius:Zt}}}},ut=Mt=>{const{componentCls:ft,lineWidth:St,lineType:Nt,colorBorder:Ft,borderRadius:Zt,fontSizeLG:or,controlHeightLG:yr,controlHeightSM:Sr,colorError:Fr,paddingInlineSM:Vr,colorTextDescription:Br,motionDurationMid:Ur,handleHoverColor:on,paddingInline:Yr,paddingBlock:Fn,handleBg:vn,handleActiveBg:Tn,colorTextDisabled:qr,borderRadiusSM:Un,borderRadiusLG:un,controlWidth:ar,handleVisible:Nr,handleBorderColor:Mr}=Mt;return[{[ft]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,pe.Wf)(Mt)),(0,He.ik)(Mt)),(0,He.bi)(Mt,ft)),{display:"inline-block",width:ar,margin:0,padding:0,border:`${St}px ${Nt} ${Ft}`,borderRadius:Zt,"&-rtl":{direction:"rtl",[`${ft}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:or,borderRadius:un,[`input${ft}-input`]:{height:yr-2*St}},"&-sm":{padding:0,borderRadius:Un,[`input${ft}-input`]:{height:Sr-2*St,padding:`0 ${Vr}px`}},"&:hover":Object.assign({},(0,He.pU)(Mt)),"&-focused":Object.assign({},(0,He.M1)(Mt)),"&-out-of-range":{[`${ft}-input-wrap`]:{input:{color:Fr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,pe.Wf)(Mt)),(0,He.s7)(Mt)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${ft}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${ft}-group-addon`]:{borderRadius:un,fontSize:Mt.fontSizeLG}},"&-sm":{[`${ft}-group-addon`]:{borderRadius:Un}},[`${ft}-wrapper-disabled > ${ft}-group-addon`]:Object.assign({},(0,He.Xy)(Mt))}}),[`&-disabled ${ft}-input`]:{cursor:"not-allowed"},[ft]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,pe.Wf)(Mt)),{width:"100%",padding:`${Fn}px ${Yr}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Zt,outline:0,transition:`all ${Ur} linear`,appearance:"textfield",fontSize:"inherit"}),(0,He.nz)(Mt.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[ft]:Object.assign(Object.assign(Object.assign({[`&:hover ${ft}-handler-wrap, &-focused ${ft}-handler-wrap`]:{opacity:1},[`${ft}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Mt.handleWidth,height:"100%",background:vn,borderStartStartRadius:0,borderStartEndRadius:Zt,borderEndEndRadius:Zt,borderEndStartRadius:0,opacity:Nr===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${Ur} linear ${Ur}`,[`${ft}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${ft}-handler-up-inner,
${ft}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:Mt.handleFontSize}}},[`${ft}-handler`]:{height:"50%",overflow:"hidden",color:Br,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${St}px ${Nt} ${Mr}`,transition:`all ${Ur} linear`,"&:active":{background:Tn},"&:hover":{height:"60%",[`
${ft}-handler-up-inner,
${ft}-handler-down-inner
`]:{color:on}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,pe.Ro)()),{color:Br,transition:`all ${Ur} linear`,userSelect:"none"})},[`${ft}-handler-up`]:{borderStartEndRadius:Zt},[`${ft}-handler-down`]:{borderBlockStart:`${St}px ${Nt} ${Mr}`,borderEndEndRadius:Zt}},Je(Mt,"lg")),Je(Mt,"sm")),{"&-disabled, &-readonly":{[`${ft}-handler-wrap`]:{display:"none"},[`${ft}-input`]:{color:"inherit"}},[`
${ft}-handler-up-disabled,
${ft}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${ft}-handler-up-disabled:hover &-handler-up-inner,
${ft}-handler-down-disabled:hover &-handler-down-inner
`]:{color:qr}})},{[`${ft}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${ft}-handler-down`]:{borderBlockStartWidth:0}}}]},bt=Mt=>{const{componentCls:ft,paddingBlock:St,paddingInline:Nt,inputAffixPadding:Ft,controlWidth:Zt,borderRadiusLG:or,borderRadiusSM:yr}=Mt;return{[`${ft}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,He.ik)(Mt)),(0,He.bi)(Mt,`${ft}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:Zt,padding:0,paddingInlineStart:Nt,"&-lg":{borderRadius:or},"&-sm":{borderRadius:yr},[`&:not(${ft}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,He.pU)(Mt)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${ft}-disabled`]:{background:"transparent"},[`> div${ft}`]:{width:"100%",border:"none",outline:"none",[`&${ft}-focused`]:{boxShadow:"none !important"}},[`input${ft}-input`]:{padding:`${St}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${ft}-handler-wrap`]:{zIndex:2},[ft]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Ft},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:Nt,marginInlineStart:Ft}}})}};var gt=(0,Ke.Z)("InputNumber",Mt=>{const ft=(0,Xe.TS)(Mt,(0,He.e5)(Mt));return[ut(ft),bt(ft),(0,Be.c)(ft)]},Mt=>Object.assign(Object.assign({},(0,He.TM)(Mt)),{controlWidth:90,handleWidth:Mt.controlHeightSM-Mt.lineWidth*2,handleFontSize:Mt.fontSize/2,handleVisible:"auto",handleActiveBg:Mt.colorFillAlter,handleBg:Mt.colorBgContainer,handleHoverColor:Mt.colorPrimary,handleBorderColor:Mt.colorBorder})),Dt=function(Mt,ft){var St={};for(var Nt in Mt)Object.prototype.hasOwnProperty.call(Mt,Nt)&&ft.indexOf(Nt)<0&&(St[Nt]=Mt[Nt]);if(Mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,Nt=Object.getOwnPropertySymbols(Mt);Ft<Nt.length;Ft++)ft.indexOf(Nt[Ft])<0&&Object.prototype.propertyIsEnumerable.call(Mt,Nt[Ft])&&(St[Nt[Ft]]=Mt[Nt[Ft]]);return St};const Vt=Ce.forwardRef((Mt,ft)=>{const{getPrefixCls:St,direction:Nt}=Ce.useContext(st.E_),Ft=Ce.useRef(null);Ce.useImperativeHandle(ft,()=>Ft.current);const{className:Zt,rootClassName:or,size:yr,disabled:Sr,prefixCls:Fr,addonBefore:Vr,addonAfter:Br,prefix:Ur,bordered:on=!0,readOnly:Yr,status:Fn,controls:vn}=Mt,Tn=Dt(Mt,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),qr=St("input-number",Fr),[Un,un]=gt(qr),{compactSize:ar,compactItemClassnames:Nr}=(0,ze.ri)(qr,Nt);let Mr=Ce.createElement(vt.Z,{className:`${qr}-handler-up-inner`}),Or=Ce.createElement(Re.Z,{className:`${qr}-handler-down-inner`});const Pr=typeof vn=="boolean"?vn:void 0;typeof vn=="object"&&(Mr=typeof vn.upIcon=="undefined"?Mr:Ce.createElement("span",{className:`${qr}-handler-up-inner`},vn.upIcon),Or=typeof vn.downIcon=="undefined"?Or:Ce.createElement("span",{className:`${qr}-handler-down-inner`},vn.downIcon));const{hasFeedback:Tr,status:wr,isFormItemInput:Xr,feedbackIcon:Kt}=Ce.useContext(fe.aM),xt=(0,Et.F)(wr,Fn),It=(0,se.Z)(er=>{var hr;return(hr=yr!=null?yr:ar)!==null&&hr!==void 0?hr:er}),Tt=Ce.useContext(We.Z),At=Sr!=null?Sr:Tt,zt=De()({[`${qr}-lg`]:It==="large",[`${qr}-sm`]:It==="small",[`${qr}-rtl`]:Nt==="rtl",[`${qr}-borderless`]:!on,[`${qr}-in-form-item`]:Xr},(0,Et.Z)(qr,xt),Nr,un),Ut=`${qr}-group`,ir=Ce.createElement(Bt,Object.assign({ref:Ft,disabled:At,className:De()(Zt,or),upHandler:Mr,downHandler:Or,prefixCls:qr,readOnly:Yr,controls:Pr,prefix:Ur,suffix:Tr&&Kt,addonAfter:Br&&Ce.createElement(ze.BR,null,Ce.createElement(fe.Ux,{override:!0,status:!0},Br)),addonBefore:Vr&&Ce.createElement(ze.BR,null,Ce.createElement(fe.Ux,{override:!0,status:!0},Vr)),classNames:{input:zt},classes:{affixWrapper:De()((0,Et.Z)(`${qr}-affix-wrapper`,xt,Tr),{[`${qr}-affix-wrapper-sm`]:It==="small",[`${qr}-affix-wrapper-lg`]:It==="large",[`${qr}-affix-wrapper-rtl`]:Nt==="rtl",[`${qr}-affix-wrapper-borderless`]:!on},un),wrapper:De()({[`${Ut}-rtl`]:Nt==="rtl",[`${qr}-wrapper-disabled`]:At},un),group:De()({[`${qr}-group-wrapper-sm`]:It==="small",[`${qr}-group-wrapper-lg`]:It==="large",[`${qr}-group-wrapper-rtl`]:Nt==="rtl"},(0,Et.Z)(`${qr}-group-wrapper`,xt,Tr),un)}},Tn));return Un(ir)}),kt=Vt,jt=Mt=>Ce.createElement(Ge.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},Ce.createElement(Vt,Object.assign({},Mt)));kt._InternalPanelDoNotUseOrYouWillBeFired=jt;var _t=kt},9432:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return xe},n:function(){return we}});var Re=ke(19248),vt=ke(92310),x=ke.n(vt),De=ke(93681),ve=ke(8654),re=ke(59301),ne=ke(19080),ie=ke(36355),oe=ke(1684),le=ke(19716),me=ke(32441),te=ke(33234),ae=ke(59412),ue=ke(9937);function de(ye){return!!(ye.prefix||ye.suffix||ye.allowClear)}var he=function(ye,Ae){var Le={};for(var Ee in ye)Object.prototype.hasOwnProperty.call(ye,Ee)&&Ae.indexOf(Ee)<0&&(Le[Ee]=ye[Ee]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,Ee=Object.getOwnPropertySymbols(ye);_e<Ee.length;_e++)Ae.indexOf(Ee[_e])<0&&Object.prototype.propertyIsEnumerable.call(ye,Ee[_e])&&(Le[Ee[_e]]=ye[Ee[_e]]);return Le};function we(ye,Ae){if(!ye)return;ye.focus(Ae);const{cursor:Le}=Ae||{};if(Le){const Ee=ye.value.length;switch(Le){case"start":ye.setSelectionRange(0,0);break;case"end":ye.setSelectionRange(Ee,Ee);break;default:ye.setSelectionRange(0,Ee);break}}}var xe=(0,re.forwardRef)((ye,Ae)=>{var Le;const{prefixCls:Ee,bordered:_e=!0,status:Me,size:Oe,disabled:Ce,onBlur:Ne,onFocus:je,suffix:Ze,allowClear:Pe,addonAfter:Ue,addonBefore:Qe,className:tt,style:ot,styles:lt,rootClassName:Ve,onChange:Ye,classNames:nt}=ye,dt=he(ye,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:at,direction:et,input:qe}=re.useContext(ie.E_),it=at("input",Ee),yt=(0,re.useRef)(null),[ht,Bt]=(0,ue.ZP)(it),{compactSize:Et,compactItemClassnames:st}=(0,te.ri)(it,et),Ge=(0,le.Z)(Vt=>{var kt;return(kt=Oe!=null?Oe:Et)!==null&&kt!==void 0?kt:Vt}),We=re.useContext(oe.Z),se=Ce!=null?Ce:We,{status:fe,hasFeedback:ze,feedbackIcon:He}=(0,re.useContext)(me.aM),pe=(0,ne.F)(fe,Me),Be=de(ye)||!!ze,Ke=(0,re.useRef)(Be);(0,re.useEffect)(()=>{var Vt;Be&&Ke.current,Ke.current=Be},[Be]);const Xe=(0,ae.Z)(yt,!0),Je=Vt=>{Xe(),Ne==null||Ne(Vt)},ut=Vt=>{Xe(),je==null||je(Vt)},bt=Vt=>{Xe(),Ye==null||Ye(Vt)},gt=(ze||Ze)&&re.createElement(re.Fragment,null,Ze,ze&&He);let Dt;return typeof Pe=="object"&&(Pe!=null&&Pe.clearIcon)?Dt=Pe:Pe&&(Dt={clearIcon:re.createElement(Re.Z,null)}),ht(re.createElement(De.default,Object.assign({ref:(0,ve.sQ)(Ae,yt),prefixCls:it,autoComplete:qe==null?void 0:qe.autoComplete},dt,{disabled:se,onBlur:Je,onFocus:ut,style:Object.assign(Object.assign({},qe==null?void 0:qe.style),ot),styles:Object.assign(Object.assign({},qe==null?void 0:qe.styles),lt),suffix:gt,allowClear:Dt,className:x()(tt,Ve,st,qe==null?void 0:qe.className),onChange:bt,addonAfter:Ue&&re.createElement(te.BR,null,re.createElement(me.Ux,{override:!0,status:!0},Ue)),addonBefore:Qe&&re.createElement(te.BR,null,re.createElement(me.Ux,{override:!0,status:!0},Qe)),classNames:Object.assign(Object.assign(Object.assign({},nt),qe==null?void 0:qe.classNames),{input:x()({[`${it}-sm`]:Ge==="small",[`${it}-lg`]:Ge==="large",[`${it}-rtl`]:et==="rtl",[`${it}-borderless`]:!_e},!Be&&(0,ne.Z)(it,pe),nt==null?void 0:nt.input,(Le=qe==null?void 0:qe.classNames)===null||Le===void 0?void 0:Le.input,Bt)}),classes:{affixWrapper:x()({[`${it}-affix-wrapper-sm`]:Ge==="small",[`${it}-affix-wrapper-lg`]:Ge==="large",[`${it}-affix-wrapper-rtl`]:et==="rtl",[`${it}-affix-wrapper-borderless`]:!_e},(0,ne.Z)(`${it}-affix-wrapper`,pe,ze),Bt),wrapper:x()({[`${it}-group-rtl`]:et==="rtl"},Bt),group:x()({[`${it}-group-wrapper-sm`]:Ge==="small",[`${it}-group-wrapper-lg`]:Ge==="large",[`${it}-group-wrapper-rtl`]:et==="rtl",[`${it}-group-wrapper-disabled`]:se},(0,ne.Z)(`${it}-group-wrapper`,pe,ze),Bt)}})))})},1643:function(sr,Wt,ke){"use strict";var Re=ke(19248),vt=ke(92310),x=ke.n(vt),De=ke(9296),ve=ke(59301),re=ke(19080),ne=ke(36355),ie=ke(1684),oe=ke(19716),le=ke(32441),me=ke(9432),te=ke(9937),ae=function(de,he){var we={};for(var Se in de)Object.prototype.hasOwnProperty.call(de,Se)&&he.indexOf(Se)<0&&(we[Se]=de[Se]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,Se=Object.getOwnPropertySymbols(de);xe<Se.length;xe++)he.indexOf(Se[xe])<0&&Object.prototype.propertyIsEnumerable.call(de,Se[xe])&&(we[Se[xe]]=de[Se[xe]]);return we};const ue=(0,ve.forwardRef)((de,he)=>{const{prefixCls:we,bordered:Se=!0,size:xe,disabled:ye,status:Ae,allowClear:Le,showCount:Ee,classNames:_e,rootClassName:Me,className:Oe}=de,Ce=ae(de,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:Ne,direction:je}=ve.useContext(ne.E_),Ze=(0,oe.Z)(xe),Pe=ve.useContext(ie.Z),Ue=ye!=null?ye:Pe,{status:Qe,hasFeedback:tt,feedbackIcon:ot}=ve.useContext(le.aM),lt=(0,re.F)(Qe,Ae),Ve=ve.useRef(null);ve.useImperativeHandle(he,()=>{var et;return{resizableTextArea:(et=Ve.current)===null||et===void 0?void 0:et.resizableTextArea,focus:qe=>{var it,yt;(0,me.n)((yt=(it=Ve.current)===null||it===void 0?void 0:it.resizableTextArea)===null||yt===void 0?void 0:yt.textArea,qe)},blur:()=>{var qe;return(qe=Ve.current)===null||qe===void 0?void 0:qe.blur()}}});const Ye=Ne("input",we);let nt;typeof Le=="object"&&(Le!=null&&Le.clearIcon)?nt=Le:Le&&(nt={clearIcon:ve.createElement(Re.Z,null)});const[dt,at]=(0,te.ZP)(Ye);return dt(ve.createElement(De.default,Object.assign({},Ce,{disabled:Ue,allowClear:nt,className:x()(Oe,Me),classes:{affixWrapper:x()(`${Ye}-textarea-affix-wrapper`,{[`${Ye}-affix-wrapper-rtl`]:je==="rtl",[`${Ye}-affix-wrapper-borderless`]:!Se,[`${Ye}-affix-wrapper-sm`]:Ze==="small",[`${Ye}-affix-wrapper-lg`]:Ze==="large",[`${Ye}-textarea-show-count`]:Ee},(0,re.Z)(`${Ye}-affix-wrapper`,lt),at)},classNames:Object.assign(Object.assign({},_e),{textarea:x()({[`${Ye}-borderless`]:!Se,[`${Ye}-sm`]:Ze==="small",[`${Ye}-lg`]:Ze==="large"},(0,re.Z)(Ye,lt),at,_e==null?void 0:_e.textarea)}),prefixCls:Ye,suffix:tt&&ve.createElement("span",{className:`${Ye}-textarea-suffix`},ot),showCount:Ee,ref:Ve})))});Wt.Z=ue},59412:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return vt}});var Re=ke(59301);function vt(x,De){const ve=(0,Re.useRef)([]),re=()=>{ve.current.push(setTimeout(()=>{var ne,ie,oe,le;!((ne=x.current)===null||ne===void 0)&&ne.input&&((ie=x.current)===null||ie===void 0?void 0:ie.input.getAttribute("type"))==="password"&&(!((oe=x.current)===null||oe===void 0)&&oe.input.hasAttribute("value"))&&((le=x.current)===null||le===void 0||le.input.removeAttribute("value"))}))};return(0,Re.useEffect)(()=>(De&&re(),()=>ve.current.forEach(ne=>{ne&&clearTimeout(ne)})),[]),re}},92832:function(sr,Wt,ke){"use strict";ke.d(Wt,{default:function(){return Ze}});var Re=ke(92310),vt=ke.n(Re),x=ke(59301),De=ke(36355),ve=ke(32441),re=ke(9937),ie=Pe=>{const{getPrefixCls:Ue,direction:Qe}=(0,x.useContext)(De.E_),{prefixCls:tt,className:ot}=Pe,lt=Ue("input-group",tt),Ve=Ue("input"),[Ye,nt]=(0,re.ZP)(Ve),dt=vt()(lt,{[`${lt}-lg`]:Pe.size==="large",[`${lt}-sm`]:Pe.size==="small",[`${lt}-compact`]:Pe.compact,[`${lt}-rtl`]:Qe==="rtl"},nt,ot),at=(0,x.useContext)(ve.aM),et=(0,x.useMemo)(()=>Object.assign(Object.assign({},at),{isFormItemInput:!1}),[at]);return Ye(x.createElement("span",{className:dt,style:Pe.style,onMouseEnter:Pe.onMouseEnter,onMouseLeave:Pe.onMouseLeave,onFocus:Pe.onFocus,onBlur:Pe.onBlur},x.createElement(ve.aM.Provider,{value:et},Pe.children)))},oe=ke(9432),le=ke(73331),me=ke(15277),te=ke(2738),ae=ke(8654),ue=ke(59412),de=function(Pe,Ue){var Qe={};for(var tt in Pe)Object.prototype.hasOwnProperty.call(Pe,tt)&&Ue.indexOf(tt)<0&&(Qe[tt]=Pe[tt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,tt=Object.getOwnPropertySymbols(Pe);ot<tt.length;ot++)Ue.indexOf(tt[ot])<0&&Object.prototype.propertyIsEnumerable.call(Pe,tt[ot])&&(Qe[tt[ot]]=Pe[tt[ot]]);return Qe};const he=Pe=>Pe?x.createElement(me.Z,null):x.createElement(le.Z,null),we={click:"onClick",hover:"onMouseOver"};var xe=x.forwardRef((Pe,Ue)=>{const{visibilityToggle:Qe=!0}=Pe,tt=typeof Qe=="object"&&Qe.visible!==void 0,[ot,lt]=(0,x.useState)(()=>tt?Qe.visible:!1),Ve=(0,x.useRef)(null);x.useEffect(()=>{tt&&lt(Qe.visible)},[tt,Qe]);const Ye=(0,ue.Z)(Ve),nt=()=>{const{disabled:se}=Pe;se||(ot&&Ye(),lt(fe=>{var ze;const He=!fe;return typeof Qe=="object"&&((ze=Qe.onVisibleChange)===null||ze===void 0||ze.call(Qe,He)),He}))},dt=se=>{const{action:fe="click",iconRender:ze=he}=Pe,He=we[fe]||"",pe=ze(ot),Be={[He]:nt,className:`${se}-icon`,key:"passwordIcon",onMouseDown:Ke=>{Ke.preventDefault()},onMouseUp:Ke=>{Ke.preventDefault()}};return x.cloneElement(x.isValidElement(pe)?pe:x.createElement("span",null,pe),Be)},{className:at,prefixCls:et,inputPrefixCls:qe,size:it}=Pe,yt=de(Pe,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:ht}=x.useContext(De.E_),Bt=ht("input",qe),Et=ht("input-password",et),st=Qe&&dt(Et),Ge=vt()(Et,at,{[`${Et}-${it}`]:!!it}),We=Object.assign(Object.assign({},(0,te.Z)(yt,["suffix","iconRender","visibilityToggle"])),{type:ot?"text":"password",className:Ge,prefixCls:Bt,suffix:st});return it&&(We.size=it),x.createElement(oe.Z,Object.assign({ref:(0,ae.sQ)(Ue,Ve)},We))}),ye=ke(47472),Ae=ke(92343),Le=ke(3113),Ee=ke(19716),_e=ke(33234),Me=function(Pe,Ue){var Qe={};for(var tt in Pe)Object.prototype.hasOwnProperty.call(Pe,tt)&&Ue.indexOf(tt)<0&&(Qe[tt]=Pe[tt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,tt=Object.getOwnPropertySymbols(Pe);ot<tt.length;ot++)Ue.indexOf(tt[ot])<0&&Object.prototype.propertyIsEnumerable.call(Pe,tt[ot])&&(Qe[tt[ot]]=Pe[tt[ot]]);return Qe},Ce=x.forwardRef((Pe,Ue)=>{const{prefixCls:Qe,inputPrefixCls:tt,className:ot,size:lt,suffix:Ve,enterButton:Ye=!1,addonAfter:nt,loading:dt,disabled:at,onSearch:et,onChange:qe,onCompositionStart:it,onCompositionEnd:yt}=Pe,ht=Me(Pe,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Bt,direction:Et}=x.useContext(De.E_),st=x.useRef(!1),Ge=Bt("input-search",Qe),We=Bt("input",tt),{compactSize:se}=(0,_e.ri)(Ge,Et),fe=(0,Ee.Z)(jt=>{var _t;return(_t=lt!=null?lt:se)!==null&&_t!==void 0?_t:jt}),ze=x.useRef(null),He=jt=>{jt&&jt.target&&jt.type==="click"&&et&&et(jt.target.value,jt,{source:"clear"}),qe&&qe(jt)},pe=jt=>{var _t;document.activeElement===((_t=ze.current)===null||_t===void 0?void 0:_t.input)&&jt.preventDefault()},Be=jt=>{var _t,Mt;et&&et((Mt=(_t=ze.current)===null||_t===void 0?void 0:_t.input)===null||Mt===void 0?void 0:Mt.value,jt,{source:"input"})},Ke=jt=>{st.current||dt||Be(jt)},Xe=typeof Ye=="boolean"?x.createElement(ye.Z,null):null,Je=`${Ge}-button`;let ut;const bt=Ye||{},gt=bt.type&&bt.type.__ANT_BUTTON===!0;gt||bt.type==="button"?ut=(0,Ae.Tm)(bt,Object.assign({onMouseDown:pe,onClick:jt=>{var _t,Mt;(Mt=(_t=bt==null?void 0:bt.props)===null||_t===void 0?void 0:_t.onClick)===null||Mt===void 0||Mt.call(_t,jt),Be(jt)},key:"enterButton"},gt?{className:Je,size:fe}:{})):ut=x.createElement(Le.ZP,{className:Je,type:Ye?"primary":void 0,size:fe,disabled:at,key:"enterButton",onMouseDown:pe,onClick:Be,loading:dt,icon:Xe},Ye),nt&&(ut=[ut,(0,Ae.Tm)(nt,{key:"addonAfter"})]);const Dt=vt()(Ge,{[`${Ge}-rtl`]:Et==="rtl",[`${Ge}-${fe}`]:!!fe,[`${Ge}-with-button`]:!!Ye},ot),Vt=jt=>{st.current=!0,it==null||it(jt)},kt=jt=>{st.current=!1,yt==null||yt(jt)};return x.createElement(oe.Z,Object.assign({ref:(0,ae.sQ)(ze,Ue),onPressEnter:Ke},ht,{size:fe,onCompositionStart:Vt,onCompositionEnd:kt,prefixCls:We,addonAfter:ut,suffix:Ve,onChange:He,className:Dt,disabled:at}))}),Ne=ke(1643);const je=oe.Z;je.Group=ie,je.Search=Ce,je.TextArea=Ne.Z,je.Password=xe;var Ze=je},9937:function(sr,Wt,ke){"use strict";ke.d(Wt,{M1:function(){return ne},TM:function(){return Ae},Xy:function(){return ie},bi:function(){return me},e5:function(){return ye},ik:function(){return te},nz:function(){return ve},pU:function(){return re},s7:function(){return ae},x0:function(){return le}});var Re=ke(17313),vt=ke(74207),x=ke(37613),De=ke(83116);const ve=Le=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:Le,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),re=Le=>({borderColor:Le.hoverBorderColor}),ne=Le=>({borderColor:Le.activeBorderColor,boxShadow:Le.activeShadow,outline:0}),ie=Le=>({color:Le.colorTextDisabled,backgroundColor:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},re((0,x.TS)(Le,{hoverBorderColor:Le.colorBorder})))}),oe=Le=>{const{paddingBlockLG:Ee,fontSizeLG:_e,lineHeightLG:Me,borderRadiusLG:Oe,paddingInlineLG:Ce}=Le;return{padding:`${Ee}px ${Ce}px`,fontSize:_e,lineHeight:Me,borderRadius:Oe}},le=Le=>({padding:`${Le.paddingBlockSM}px ${Le.paddingInlineSM}px`,borderRadius:Le.borderRadiusSM}),me=(Le,Ee)=>{const{componentCls:_e,colorError:Me,colorWarning:Oe,errorActiveShadow:Ce,warningActiveShadow:Ne,colorErrorBorderHover:je,colorWarningBorderHover:Ze}=Le;return{[`&-status-error:not(${Ee}-disabled):not(${Ee}-borderless)${Ee}`]:{borderColor:Me,"&:hover":{borderColor:je},"&:focus, &-focused":Object.assign({},ne((0,x.TS)(Le,{activeBorderColor:Me,activeShadow:Ce}))),[`${_e}-prefix, ${_e}-suffix`]:{color:Me}},[`&-status-warning:not(${Ee}-disabled):not(${Ee}-borderless)${Ee}`]:{borderColor:Oe,"&:hover":{borderColor:Ze},"&:focus, &-focused":Object.assign({},ne((0,x.TS)(Le,{activeBorderColor:Oe,activeShadow:Ne}))),[`${_e}-prefix, ${_e}-suffix`]:{color:Oe}}}},te=Le=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${Le.paddingBlock}px ${Le.paddingInline}px`,color:Le.colorText,fontSize:Le.fontSize,lineHeight:Le.lineHeight,backgroundColor:Le.colorBgContainer,backgroundImage:"none",borderWidth:Le.lineWidth,borderStyle:Le.lineType,borderColor:Le.colorBorder,borderRadius:Le.borderRadius,transition:`all ${Le.motionDurationMid}`},ve(Le.colorTextPlaceholder)),{"&:hover":Object.assign({},re(Le)),"&:focus, &-focused":Object.assign({},ne(Le)),"&-disabled, &[disabled]":Object.assign({},ie(Le)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:Le.controlHeight,lineHeight:Le.lineHeight,verticalAlign:"bottom",transition:`all ${Le.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},oe(Le)),"&-sm":Object.assign({},le(Le)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),ae=Le=>{const{componentCls:Ee,antCls:_e}=Le;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:Le.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${Ee}, &-lg > ${Ee}-group-addon`]:Object.assign({},oe(Le)),[`&-sm ${Ee}, &-sm > ${Ee}-group-addon`]:Object.assign({},le(Le)),[`&-lg ${_e}-select-single ${_e}-select-selector`]:{height:Le.controlHeightLG},[`&-sm ${_e}-select-single ${_e}-select-selector`]:{height:Le.controlHeightSM},[`> ${Ee}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${Ee}-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 ${Le.paddingInline}px`,color:Le.colorText,fontWeight:"normal",fontSize:Le.fontSize,textAlign:"center",backgroundColor:Le.colorFillAlter,border:`${Le.lineWidth}px ${Le.lineType} ${Le.colorBorder}`,borderRadius:Le.borderRadius,transition:`all ${Le.motionDurationSlow}`,lineHeight:1,[`${_e}-select`]:{margin:`-${Le.paddingBlock+1}px -${Le.paddingInline}px`,[`&${_e}-select-single:not(${_e}-select-customize-input)`]:{[`${_e}-select-selector`]:{backgroundColor:"inherit",border:`${Le.lineWidth}px ${Le.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${_e}-select-selector`]:{color:Le.colorPrimary}}},[`${_e}-cascader-picker`]:{margin:`-9px -${Le.paddingInline}px`,backgroundColor:"transparent",[`${_e}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${Ee}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${Ee}-search-with-button &`]:{zIndex:0}}},[`> ${Ee}:first-child, ${Ee}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${_e}-select ${_e}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${Ee}-affix-wrapper`]:{[`&:not(:first-child) ${Ee}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${Ee}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${Ee}:last-child, ${Ee}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${_e}-select ${_e}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${Ee}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${Ee}-search &`]:{borderStartStartRadius:Le.borderRadius,borderEndStartRadius:Le.borderRadius}},[`&:not(:first-child), ${Ee}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${Ee}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,Re.dF)()),{[`${Ee}-group-addon, ${Ee}-group-wrap, > ${Ee}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:Le.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
& > ${Ee}-affix-wrapper,
& > ${Ee}-number-affix-wrapper,
& > ${_e}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-Le.lineWidth,borderInlineEndWidth:Le.lineWidth},[`${Ee}`]:{float:"none"},[`& > ${_e}-select > ${_e}-select-selector,
& > ${_e}-select-auto-complete ${Ee},
& > ${_e}-cascader-picker ${Ee},
& > ${Ee}-group-wrapper ${Ee}`]:{borderInlineEndWidth:Le.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${_e}-select-focused`]:{zIndex:1},[`& > ${_e}-select > ${_e}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${_e}-select:first-child > ${_e}-select-selector,
& > ${_e}-select-auto-complete:first-child ${Ee},
& > ${_e}-cascader-picker:first-child ${Ee}`]:{borderStartStartRadius:Le.borderRadius,borderEndStartRadius:Le.borderRadius},[`& > *:last-child,
& > ${_e}-select:last-child > ${_e}-select-selector,
& > ${_e}-cascader-picker:last-child ${Ee},
& > ${_e}-cascader-picker-focused:last-child ${Ee}`]:{borderInlineEndWidth:Le.lineWidth,borderStartEndRadius:Le.borderRadius,borderEndEndRadius:Le.borderRadius},[`& > ${_e}-select-auto-complete ${Ee}`]:{verticalAlign:"top"},[`${Ee}-group-wrapper + ${Ee}-group-wrapper`]:{marginInlineStart:-Le.lineWidth,[`${Ee}-affix-wrapper`]:{borderRadius:0}},[`${Ee}-group-wrapper:not(:last-child)`]:{[`&${Ee}-search > ${Ee}-group`]:{[`& > ${Ee}-group-addon > ${Ee}-search-button`]:{borderRadius:0},[`& > ${Ee}`]:{borderStartStartRadius:Le.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Le.borderRadius}}}})}},ue=Le=>{const{componentCls:Ee,controlHeightSM:_e,lineWidth:Me}=Le,Ce=(_e-Me*2-16)/2;return{[Ee]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Re.Wf)(Le)),te(Le)),me(Le,Ee)),{'&[type="color"]':{height:Le.controlHeight,[`&${Ee}-lg`]:{height:Le.controlHeightLG},[`&${Ee}-sm`]:{height:_e,paddingTop:Ce,paddingBottom:Ce}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},de=Le=>{const{componentCls:Ee}=Le;return{[`${Ee}-clear-icon`]:{margin:0,color:Le.colorTextQuaternary,fontSize:Le.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${Le.motionDurationSlow}`,"&:hover":{color:Le.colorTextTertiary},"&:active":{color:Le.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${Le.inputAffixPadding}px`}}}},he=Le=>{const{componentCls:Ee,inputAffixPadding:_e,colorTextDescription:Me,motionDurationSlow:Oe,colorIcon:Ce,colorIconHover:Ne,iconCls:je}=Le;return{[`${Ee}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},te(Le)),{display:"inline-flex",[`&:not(${Ee}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},re(Le)),{zIndex:1,[`${Ee}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${Ee}[disabled]`]:{background:"transparent"}},[`> input${Ee}`]:{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"'},[`${Ee}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:Le.paddingXS}},"&-show-count-suffix":{color:Me},"&-show-count-has-suffix":{marginInlineEnd:Le.paddingXXS},"&-prefix":{marginInlineEnd:_e},"&-suffix":{marginInlineStart:_e}}}),de(Le)),{[`${je}${Ee}-password-icon`]:{color:Ce,cursor:"pointer",transition:`all ${Oe}`,"&:hover":{color:Ne}}}),me(Le,`${Ee}-affix-wrapper`))}},we=Le=>{const{componentCls:Ee,colorError:_e,colorWarning:Me,borderRadiusLG:Oe,borderRadiusSM:Ce}=Le;return{[`${Ee}-group`]:Object.assign(Object.assign(Object.assign({},(0,Re.Wf)(Le)),ae(Le)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${Ee}-group-addon`]:{borderRadius:Oe,fontSize:Le.fontSizeLG}},"&-sm":{[`${Ee}-group-addon`]:{borderRadius:Ce}},"&-status-error":{[`${Ee}-group-addon`]:{color:_e,borderColor:_e}},"&-status-warning":{[`${Ee}-group-addon`]:{color:Me,borderColor:Me}},"&-disabled":{[`${Ee}-group-addon`]:Object.assign({},ie(Le))},[`&:not(${Ee}-compact-first-item):not(${Ee}-compact-last-item)${Ee}-compact-item`]:{[`${Ee}, ${Ee}-group-addon`]:{borderRadius:0}},[`&:not(${Ee}-compact-last-item)${Ee}-compact-first-item`]:{[`${Ee}, ${Ee}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Ee}-compact-first-item)${Ee}-compact-last-item`]:{[`${Ee}, ${Ee}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},Se=Le=>{const{componentCls:Ee,antCls:_e}=Le,Me=`${Ee}-search`;return{[Me]:{[`${Ee}`]:{"&:hover, &:focus":{borderColor:Le.colorPrimaryHover,[`+ ${Ee}-group-addon ${Me}-button:not(${_e}-btn-primary)`]:{borderInlineStartColor:Le.colorPrimaryHover}}},[`${Ee}-affix-wrapper`]:{borderRadius:0},[`${Ee}-lg`]:{lineHeight:Le.lineHeightLG-2e-4},[`> ${Ee}-group`]:{[`> ${Ee}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${Me}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:Le.borderRadius,borderEndEndRadius:Le.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${Me}-button:not(${_e}-btn-primary)`]:{color:Le.colorTextDescription,"&:hover":{color:Le.colorPrimaryHover},"&:active":{color:Le.colorPrimaryActive},[`&${_e}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Me}-button`]:{height:Le.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${Me}-button`]:{height:Le.controlHeightLG},[`&-small ${Me}-button`]:{height:Le.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${Ee}-compact-item`]:{[`&:not(${Ee}-compact-last-item)`]:{[`${Ee}-group-addon`]:{[`${Ee}-search-button`]:{marginInlineEnd:-Le.lineWidth,borderRadius:0}}},[`&:not(${Ee}-compact-first-item)`]:{[`${Ee},${Ee}-affix-wrapper`]:{borderRadius:0}},[`> ${Ee}-group-addon ${Ee}-search-button,
> ${Ee},
${Ee}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${Ee}-affix-wrapper-focused`]:{zIndex:2}}}}},xe=Le=>{const{componentCls:Ee,paddingLG:_e}=Le,Me=`${Ee}-textarea`;return{[Me]:{position:"relative","&-show-count":{[`> ${Ee}`]:{height:"100%"},[`${Ee}-data-count`]:{position:"absolute",bottom:-Le.fontSize*Le.lineHeight,insetInlineEnd:0,color:Le.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${Ee}`]:{paddingInlineEnd:_e}},[`&-affix-wrapper${Me}-has-feedback`]:{[`${Ee}`]:{paddingInlineEnd:_e}},[`&-affix-wrapper${Ee}-affix-wrapper`]:{padding:0,[`> textarea${Ee}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${Ee}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${Ee}-clear-icon`]:{position:"absolute",insetInlineEnd:Le.paddingXS,insetBlockStart:Le.paddingXS},[`${Me}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Le.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function ye(Le){return(0,x.TS)(Le,{inputAffixPadding:Le.paddingXXS})}const Ae=Le=>{const{controlHeight:Ee,fontSize:_e,lineHeight:Me,lineWidth:Oe,controlHeightSM:Ce,controlHeightLG:Ne,fontSizeLG:je,lineHeightLG:Ze,paddingSM:Pe,controlPaddingHorizontalSM:Ue,controlPaddingHorizontal:Qe,colorFillAlter:tt,colorPrimaryHover:ot,controlOutlineWidth:lt,controlOutline:Ve,colorErrorOutline:Ye,colorWarningOutline:nt}=Le;return{paddingBlock:Math.max(Math.round((Ee-_e*Me)/2*10)/10-Oe,3),paddingBlockSM:Math.max(Math.round((Ce-_e*Me)/2*10)/10-Oe,0),paddingBlockLG:Math.ceil((Ne-je*Ze)/2*10)/10-Oe,paddingInline:Pe-Oe,paddingInlineSM:Ue-Oe,paddingInlineLG:Qe-Oe,addonBg:tt,activeBorderColor:ot,hoverBorderColor:ot,activeShadow:`0 0 0 ${lt}px ${Ve}`,errorActiveShadow:`0 0 0 ${lt}px ${Ye}`,warningActiveShadow:`0 0 0 ${lt}px ${nt}`}};Wt.ZP=(0,De.Z)("Input",Le=>{const Ee=(0,x.TS)(Le,ye(Le));return[ue(Ee),xe(Ee),he(Ee),we(Ee),Se(Ee),(0,vt.c)(Ee)]},Ae)},45818:function(sr,Wt,ke){"use strict";ke.d(Wt,{D:function(){return ye},Z:function(){return Ee}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(Me,Oe){return vt.createElement(ve.Z,(0,Re.Z)({},Me,{ref:Oe,icon:De}))},ne=vt.forwardRef(re),ie=ne,oe=ke(33853),le=ke(38819),me=ke(92310),te=ke.n(me),ae=ke(2738),de=_e=>!isNaN(parseFloat(_e))&&isFinite(_e),he=ke(36355),we=ke(84966),Se=function(_e,Me){var Oe={};for(var Ce in _e)Object.prototype.hasOwnProperty.call(_e,Ce)&&Me.indexOf(Ce)<0&&(Oe[Ce]=_e[Ce]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Ce=Object.getOwnPropertySymbols(_e);Ne<Ce.length;Ne++)Me.indexOf(Ce[Ne])<0&&Object.prototype.propertyIsEnumerable.call(_e,Ce[Ne])&&(Oe[Ce[Ne]]=_e[Ce[Ne]]);return Oe};const xe={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ye=vt.createContext({}),Ae=(()=>{let _e=0;return function(){let Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return _e+=1,`${Me}${_e}`}})();var Ee=vt.forwardRef((_e,Me)=>{const{prefixCls:Oe,className:Ce,trigger:Ne,children:je,defaultCollapsed:Ze=!1,theme:Pe="dark",style:Ue={},collapsible:Qe=!1,reverseArrow:tt=!1,width:ot=200,collapsedWidth:lt=80,zeroWidthTriggerStyle:Ve,breakpoint:Ye,onCollapse:nt,onBreakpoint:dt}=_e,at=Se(_e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:et}=(0,vt.useContext)(we.Gs),[qe,it]=(0,vt.useState)("collapsed"in _e?_e.collapsed:Ze),[yt,ht]=(0,vt.useState)(!1);(0,vt.useEffect)(()=>{"collapsed"in _e&&it(_e.collapsed)},[_e.collapsed]);const Bt=(fe,ze)=>{"collapsed"in _e||it(fe),nt==null||nt(fe,ze)},Et=(0,vt.useRef)();Et.current=fe=>{ht(fe.matches),dt==null||dt(fe.matches),qe!==fe.matches&&Bt(fe.matches,"responsive")},(0,vt.useEffect)(()=>{function fe(He){return Et.current(He)}let ze;if(typeof window!="undefined"){const{matchMedia:He}=window;if(He&&Ye&&Ye in xe){ze=He(`(max-width: ${xe[Ye]})`);try{ze.addEventListener("change",fe)}catch(pe){ze.addListener(fe)}fe(ze)}}return()=>{try{ze==null||ze.removeEventListener("change",fe)}catch(He){ze==null||ze.removeListener(fe)}}},[Ye]),(0,vt.useEffect)(()=>{const fe=Ae("ant-sider-");return et.addSider(fe),()=>et.removeSider(fe)},[]);const st=()=>{Bt(!qe,"clickTrigger")},{getPrefixCls:Ge}=(0,vt.useContext)(he.E_),We=()=>{const fe=Ge("layout-sider",Oe),ze=(0,ae.Z)(at,["collapsed"]),He=qe?lt:ot,pe=de(He)?`${He}px`:String(He),Be=parseFloat(String(lt||0))===0?vt.createElement("span",{onClick:st,className:te()(`${fe}-zero-width-trigger`,`${fe}-zero-width-trigger-${tt?"right":"left"}`),style:Ve},Ne||vt.createElement(ie,null)):null,Je={expanded:tt?vt.createElement(le.Z,null):vt.createElement(oe.Z,null),collapsed:tt?vt.createElement(oe.Z,null):vt.createElement(le.Z,null)}[qe?"collapsed":"expanded"],ut=Ne!==null?Be||vt.createElement("div",{className:`${fe}-trigger`,onClick:st,style:{width:pe}},Ne||Je):null,bt=Object.assign(Object.assign({},Ue),{flex:`0 0 ${pe}`,maxWidth:pe,minWidth:pe,width:pe}),gt=te()(fe,`${fe}-${Pe}`,{[`${fe}-collapsed`]:!!qe,[`${fe}-has-trigger`]:Qe&&Ne!==null&&!Be,[`${fe}-below`]:!!yt,[`${fe}-zero-width`]:parseFloat(pe)===0},Ce);return vt.createElement("aside",Object.assign({className:gt},ze,{style:bt,ref:Me}),vt.createElement("div",{className:`${fe}-children`},je),Qe||yt&&Be?ut:null)},se=vt.useMemo(()=>({siderCollapsed:qe}),[qe]);return vt.createElement(ye.Provider,{value:se},We())})},84966:function(sr,Wt,ke){"use strict";ke.d(Wt,{VY:function(){return ye},$_:function(){return xe},h4:function(){return Se},Gs:function(){return ae},ZP:function(){return Ae}});var Re=ke(77654),vt=ke(92310),x=ke.n(vt),De=ke(2738),ve=ke(59301),re=ke(36355),ne=ke(83116),oe=Le=>{const{componentCls:Ee,bodyBg:_e,lightSiderBg:Me,lightTriggerBg:Oe,lightTriggerColor:Ce}=Le;return{[`${Ee}-sider-light`]:{background:Me,[`${Ee}-sider-trigger`]:{color:Ce,background:Oe},[`${Ee}-sider-zero-width-trigger`]:{color:Ce,background:Oe,border:`1px solid ${_e}`,borderInlineStart:0}}}};const le=Le=>{const{antCls:Ee,componentCls:_e,colorText:Me,triggerColor:Oe,footerBg:Ce,triggerBg:Ne,headerHeight:je,headerPadding:Ze,headerColor:Pe,footerPadding:Ue,triggerHeight:Qe,zeroTriggerHeight:tt,zeroTriggerWidth:ot,motionDurationMid:lt,motionDurationSlow:Ve,fontSize:Ye,borderRadius:nt,bodyBg:dt,headerBg:at,siderBg:et}=Le;return{[_e]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:dt,"&, *":{boxSizing:"border-box"},[`&${_e}-has-sider`]:{flexDirection:"row",[`> ${_e}, > ${_e}-content`]:{width:0}},[`${_e}-header, &${_e}-footer`]:{flex:"0 0 auto"},[`${_e}-sider`]:{position:"relative",minWidth:0,background:et,transition:`all ${lt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ee}-menu${Ee}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Qe},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Qe,color:Oe,lineHeight:`${Qe}px`,textAlign:"center",background:Ne,cursor:"pointer",transition:`all ${lt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:je,insetInlineEnd:-ot,zIndex:1,width:ot,height:tt,color:Oe,fontSize:Le.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:et,borderStartStartRadius:0,borderStartEndRadius:nt,borderEndEndRadius:nt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Ve} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ve}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-ot,borderStartStartRadius:nt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:nt}}}}},oe(Le)),{"&-rtl":{direction:"rtl"}}),[`${_e}-header`]:{height:je,padding:Ze,color:Pe,lineHeight:`${je}px`,background:at,[`${Ee}-menu`]:{lineHeight:"inherit"}},[`${_e}-footer`]:{padding:Ue,color:Me,fontSize:Ye,background:Ce},[`${_e}-content`]:{flex:"auto",minHeight:0}}};var me=(0,ne.Z)("Layout",Le=>[le(Le)],Le=>{const{colorBgLayout:Ee,controlHeight:_e,controlHeightLG:Me,colorText:Oe,controlHeightSM:Ce,marginXXS:Ne,colorTextLightSolid:je,colorBgContainer:Ze}=Le,Pe=Me*1.25;return{colorBgHeader:"#001529",colorBgBody:Ee,colorBgTrigger:"#002140",bodyBg:Ee,headerBg:"#001529",headerHeight:_e*2,headerPadding:`0 ${Pe}px`,headerColor:Oe,footerPadding:`${Ce}px ${Pe}px`,footerBg:Ee,siderBg:"#001529",triggerHeight:Me+Ne*2,triggerBg:"#002140",triggerColor:je,zeroTriggerWidth:Me,zeroTriggerHeight:Me,lightSiderBg:Ze,lightTriggerBg:Ze,lightTriggerColor:Oe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),te=function(Le,Ee){var _e={};for(var Me in Le)Object.prototype.hasOwnProperty.call(Le,Me)&&Ee.indexOf(Me)<0&&(_e[Me]=Le[Me]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Me=Object.getOwnPropertySymbols(Le);Oe<Me.length;Oe++)Ee.indexOf(Me[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Le,Me[Oe])&&(_e[Me[Oe]]=Le[Me[Oe]]);return _e};const ae=ve.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ue(Le){let{suffixCls:Ee,tagName:_e,displayName:Me}=Le;return Oe=>ve.forwardRef((Ne,je)=>ve.createElement(Oe,Object.assign({ref:je,suffixCls:Ee,tagName:_e},Ne)))}const de=ve.forwardRef((Le,Ee)=>{const{prefixCls:_e,suffixCls:Me,className:Oe,tagName:Ce}=Le,Ne=te(Le,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:je}=ve.useContext(re.E_),Ze=je("layout",_e),[Pe,Ue]=me(Ze),Qe=Me?`${Ze}-${Me}`:Ze;return Pe(ve.createElement(Ce,Object.assign({className:x()(_e||Qe,Oe,Ue),ref:Ee},Ne)))}),he=ve.forwardRef((Le,Ee)=>{const{direction:_e}=ve.useContext(re.E_),[Me,Oe]=ve.useState([]),{prefixCls:Ce,className:Ne,rootClassName:je,children:Ze,hasSider:Pe,tagName:Ue,style:Qe}=Le,tt=te(Le,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ot=(0,De.Z)(tt,["suffixCls"]),{getPrefixCls:lt,layout:Ve}=ve.useContext(re.E_),Ye=lt("layout",Ce),[nt,dt]=me(Ye),at=x()(Ye,{[`${Ye}-has-sider`]:typeof Pe=="boolean"?Pe:Me.length>0,[`${Ye}-rtl`]:_e==="rtl"},Ve==null?void 0:Ve.className,Ne,je,dt),et=ve.useMemo(()=>({siderHook:{addSider:qe=>{Oe(it=>[].concat((0,Re.Z)(it),[qe]))},removeSider:qe=>{Oe(it=>it.filter(yt=>yt!==qe))}}}),[]);return nt(ve.createElement(ae.Provider,{value:et},ve.createElement(Ue,Object.assign({ref:Ee,className:at,style:Object.assign(Object.assign({},Ve==null?void 0:Ve.style),Qe)},ot),Ze)))}),we=ue({tagName:"div",displayName:"Layout"})(he),Se=ue({suffixCls:"header",tagName:"header",displayName:"Header"})(de),xe=ue({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(de),ye=ue({suffixCls:"content",tagName:"main",displayName:"Content"})(de);var Ae=we},40875:function(sr,Wt,ke){"use strict";ke.d(Wt,{J:function(){return re}});var Re=ke(59301),vt=ke(33234),x=ke(70425),De=function(ne,ie){var oe={};for(var le in ne)Object.prototype.hasOwnProperty.call(ne,le)&&ie.indexOf(le)<0&&(oe[le]=ne[le]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,le=Object.getOwnPropertySymbols(ne);me<le.length;me++)ie.indexOf(le[me])<0&&Object.prototype.propertyIsEnumerable.call(ne,le[me])&&(oe[le[me]]=ne[le[me]]);return oe};const ve=Re.createContext(null),re=Re.forwardRef((ne,ie)=>{const{children:oe}=ne,le=De(ne,["children"]),me=Re.useContext(ve),te=Re.useMemo(()=>Object.assign(Object.assign({},me),le),[me,le.prefixCls,le.mode,le.selectable]);return Re.createElement(ve.Provider,{value:te},Re.createElement(vt.BR,null,(0,x.supportNodeRef)(oe)?Re.cloneElement(oe,{ref:ie}):oe))});Wt.Z=ve},20834:function(sr,Wt,ke){"use strict";ke.d(Wt,{default:function(){return se}});var Re=ke(15285),vt=ke(59301),x=ke(45818),De=ke(92310),ve=ke.n(De),re=ke(36355),ne=function(fe,ze){var He={};for(var pe in fe)Object.prototype.hasOwnProperty.call(fe,pe)&&ze.indexOf(pe)<0&&(He[pe]=fe[pe]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,pe=Object.getOwnPropertySymbols(fe);Be<pe.length;Be++)ze.indexOf(pe[Be])<0&&Object.prototype.propertyIsEnumerable.call(fe,pe[Be])&&(He[pe[Be]]=fe[pe[Be]]);return He},oe=fe=>{const{prefixCls:ze,className:He,dashed:pe}=fe,Be=ne(fe,["prefixCls","className","dashed"]),{getPrefixCls:Ke}=vt.useContext(re.E_),Xe=Ke("menu",ze),Je=ve()({[`${Xe}-item-divider-dashed`]:!!pe},He);return vt.createElement(Re.iz,Object.assign({className:Je},Be))},le=ke(11592),me=ke(2738),te=ke(6848),ae=ke(92343),de=(0,vt.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),we=fe=>{var ze;const{className:He,children:pe,icon:Be,title:Ke,danger:Xe}=fe,{prefixCls:Je,firstLevel:ut,direction:bt,disableMenuItemTitleTooltip:gt,inlineCollapsed:Dt}=vt.useContext(de),Vt=St=>{const Nt=vt.createElement("span",{className:`${Je}-title-content`},pe);return(!Be||(0,ae.l$)(pe)&&pe.type==="span")&&pe&&St&&ut&&typeof pe=="string"?vt.createElement("div",{className:`${Je}-inline-collapsed-noicon`},pe.charAt(0)):Nt},{siderCollapsed:kt}=vt.useContext(x.D);let jt=Ke;typeof Ke=="undefined"?jt=ut?pe:"":Ke===!1&&(jt="");const _t={title:jt};!kt&&!Dt&&(_t.title=null,_t.open=!1);const Mt=(0,le.Z)(pe).length;let ft=vt.createElement(Re.ck,Object.assign({},(0,me.Z)(fe,["title","icon","danger"]),{className:ve()({[`${Je}-item-danger`]:Xe,[`${Je}-item-only-child`]:(Be?Mt+1:Mt)===1},He),title:typeof Ke=="string"?Ke:void 0}),(0,ae.Tm)(Be,{className:ve()((0,ae.l$)(Be)?(ze=Be.props)===null||ze===void 0?void 0:ze.className:"",`${Je}-item-icon`)}),Vt(Dt));return gt||(ft=vt.createElement(te.Z,Object.assign({},_t,{placement:bt==="rtl"?"left":"right",overlayClassName:`${Je}-inline-collapsed-tooltip`}),ft)),ft},xe=fe=>{var ze;const{popupClassName:He,icon:pe,title:Be,theme:Ke}=fe,Xe=vt.useContext(de),{prefixCls:Je,inlineCollapsed:ut,theme:bt}=Xe,gt=(0,Re.Xl)();let Dt;if(!pe)Dt=ut&&!gt.length&&Be&&typeof Be=="string"?vt.createElement("div",{className:`${Je}-inline-collapsed-noicon`},Be.charAt(0)):vt.createElement("span",{className:`${Je}-title-content`},Be);else{const kt=(0,ae.l$)(Be)&&Be.type==="span";Dt=vt.createElement(vt.Fragment,null,(0,ae.Tm)(pe,{className:ve()((0,ae.l$)(pe)?(ze=pe.props)===null||ze===void 0?void 0:ze.className:"",`${Je}-item-icon`)}),kt?Be:vt.createElement("span",{className:`${Je}-title-content`},Be))}const Vt=vt.useMemo(()=>Object.assign(Object.assign({},Xe),{firstLevel:!1}),[Xe]);return vt.createElement(de.Provider,{value:Vt},vt.createElement(Re.Wd,Object.assign({},(0,me.Z)(fe,["icon"]),{title:Dt,popupClassName:ve()(Je,He,`${Je}-${Ke||bt}`)})))},ye=ke(18785),Ae=ke(70425),Le=ke(62892),Ee=ke(40875),_e=function(fe,ze){var He={};for(var pe in fe)Object.prototype.hasOwnProperty.call(fe,pe)&&ze.indexOf(pe)<0&&(He[pe]=fe[pe]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,pe=Object.getOwnPropertySymbols(fe);Be<pe.length;Be++)ze.indexOf(pe[Be])<0&&Object.prototype.propertyIsEnumerable.call(fe,pe[Be])&&(He[pe[Be]]=fe[pe[Be]]);return He};function Me(fe){return(fe||[]).map((ze,He)=>{if(ze&&typeof ze=="object"){const pe=ze,{label:Be,children:Ke,key:Xe,type:Je}=pe,ut=_e(pe,["label","children","key","type"]),bt=Xe!=null?Xe:`tmp-${He}`;return Ke||Je==="group"?Je==="group"?vt.createElement(Re.BW,Object.assign({key:bt},ut,{title:Be}),Me(Ke)):vt.createElement(xe,Object.assign({key:bt},ut,{title:Be}),Me(Ke)):Je==="divider"?vt.createElement(oe,Object.assign({key:bt},ut)):vt.createElement(we,Object.assign({key:bt},ut),Be)}return null}).filter(ze=>ze)}function Oe(fe){return vt.useMemo(()=>fe&&Me(fe),[fe])}var Ce=ke(64993),Ne=ke(17313),je=ke(8378),Ze=ke(13826),Pe=ke(29878),Ue=ke(83116),Qe=ke(37613),ot=fe=>{const{componentCls:ze,motionDurationSlow:He,horizontalLineHeight:pe,colorSplit:Be,lineWidth:Ke,lineType:Xe,itemPaddingInline:Je}=fe;return{[`${ze}-horizontal`]:{lineHeight:pe,border:0,borderBottom:`${Ke}px ${Xe} ${Be}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ze}-item, ${ze}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Je},[`> ${ze}-item:hover,
> ${ze}-item-active,
> ${ze}-submenu ${ze}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ze}-item, ${ze}-submenu-title`]:{transition:[`border-color ${He}`,`background ${He}`].join(",")},[`${ze}-submenu-arrow`]:{display:"none"}}}},Ve=fe=>{let{componentCls:ze,menuArrowOffset:He}=fe;return{[`${ze}-rtl`]:{direction:"rtl"},[`${ze}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ze}-rtl${ze}-vertical,
${ze}-submenu-rtl ${ze}-vertical`]:{[`${ze}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${He})`},"&::after":{transform:`rotate(45deg) translateY(${He})`}}}}};const Ye=fe=>Object.assign({},(0,Ne.oN)(fe));var dt=(fe,ze)=>{const{componentCls:He,itemColor:pe,itemSelectedColor:Be,groupTitleColor:Ke,itemBg:Xe,subMenuItemBg:Je,itemSelectedBg:ut,activeBarHeight:bt,activeBarWidth:gt,activeBarBorderWidth:Dt,motionDurationSlow:Vt,motionEaseInOut:kt,motionEaseOut:jt,itemPaddingInline:_t,motionDurationMid:Mt,itemHoverColor:ft,lineType:St,colorSplit:Nt,itemDisabledColor:Ft,dangerItemColor:Zt,dangerItemHoverColor:or,dangerItemSelectedColor:yr,dangerItemActiveBg:Sr,dangerItemSelectedBg:Fr,itemHoverBg:Vr,itemActiveBg:Br,menuSubMenuBg:Ur,horizontalItemSelectedColor:on,horizontalItemSelectedBg:Yr,horizontalItemBorderRadius:Fn,horizontalItemHoverBg:vn,popupBg:Tn}=fe;return{[`${He}-${ze}, ${He}-${ze} > ${He}`]:{color:pe,background:Xe,[`&${He}-root:focus-visible`]:Object.assign({},Ye(fe)),[`${He}-item-group-title`]:{color:Ke},[`${He}-submenu-selected`]:{[`> ${He}-submenu-title`]:{color:Be}},[`${He}-item-disabled, ${He}-submenu-disabled`]:{color:`${Ft} !important`},[`${He}-item:not(${He}-item-selected):not(${He}-submenu-selected)`]:{[`&:hover, > ${He}-submenu-title:hover`]:{color:ft}},[`&:not(${He}-horizontal)`]:{[`${He}-item:not(${He}-item-selected)`]:{"&:hover":{backgroundColor:Vr},"&:active":{backgroundColor:Br}},[`${He}-submenu-title`]:{"&:hover":{backgroundColor:Vr},"&:active":{backgroundColor:Br}}},[`${He}-item-danger`]:{color:Zt,[`&${He}-item:hover`]:{[`&:not(${He}-item-selected):not(${He}-submenu-selected)`]:{color:or}},[`&${He}-item:active`]:{background:Sr}},[`${He}-item a`]:{"&, &:hover":{color:"inherit"}},[`${He}-item-selected`]:{color:Be,[`&${He}-item-danger`]:{color:yr},"a, a:hover":{color:"inherit"}},[`& ${He}-item-selected`]:{backgroundColor:ut,[`&${He}-item-danger`]:{backgroundColor:Fr}},[`${He}-item, ${He}-submenu-title`]:{[`&:not(${He}-item-disabled):focus-visible`]:Object.assign({},Ye(fe))},[`&${He}-submenu > ${He}`]:{backgroundColor:Ur},[`&${He}-popup > ${He}`]:{backgroundColor:Tn},[`&${He}-horizontal`]:Object.assign(Object.assign({},ze==="dark"?{borderBottom:0}:{}),{[`> ${He}-item, > ${He}-submenu`]:{top:Dt,marginTop:-Dt,marginBottom:0,borderRadius:Fn,"&::after":{position:"absolute",insetInline:_t,bottom:0,borderBottom:`${bt}px solid transparent`,transition:`border-color ${Vt} ${kt}`,content:'""'},"&:hover, &-active, &-open":{background:vn,"&::after":{borderBottomWidth:bt,borderBottomColor:on}},"&-selected":{color:on,backgroundColor:Yr,"&:hover":{backgroundColor:Yr},"&::after":{borderBottomWidth:bt,borderBottomColor:on}}}}),[`&${He}-root`]:{[`&${He}-inline, &${He}-vertical`]:{borderInlineEnd:`${Dt}px ${St} ${Nt}`}},[`&${He}-inline`]:{[`${He}-sub${He}-inline`]:{background:Je},[`${He}-item, ${He}-submenu-title`]:Dt&&gt?{width:`calc(100% + ${Dt}px)`}:{},[`${He}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${gt}px solid ${Be}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Mt} ${jt}`,`opacity ${Mt} ${jt}`].join(","),content:'""'},[`&${He}-item-danger`]:{"&::after":{borderInlineEndColor:yr}}},[`${He}-selected, ${He}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Mt} ${kt}`,`opacity ${Mt} ${kt}`].join(",")}}}}}};const at=fe=>{const{componentCls:ze,itemHeight:He,itemMarginInline:pe,padding:Be,menuArrowSize:Ke,marginXS:Xe,itemMarginBlock:Je}=fe,ut=Be+Ke+Xe;return{[`${ze}-item`]:{position:"relative",overflow:"hidden"},[`${ze}-item, ${ze}-submenu-title`]:{height:He,lineHeight:`${He}px`,paddingInline:Be,overflow:"hidden",textOverflow:"ellipsis",marginInline:pe,marginBlock:Je,width:`calc(100% - ${pe*2}px)`},[`> ${ze}-item,
> ${ze}-submenu > ${ze}-submenu-title`]:{height:He,lineHeight:`${He}px`},[`${ze}-item-group-list ${ze}-submenu-title,
${ze}-submenu-title`]:{paddingInlineEnd:ut}}};var qe=fe=>{const{componentCls:ze,iconCls:He,itemHeight:pe,colorTextLightSolid:Be,dropdownWidth:Ke,controlHeightLG:Xe,motionDurationMid:Je,motionEaseOut:ut,paddingXL:bt,itemMarginInline:gt,fontSizeLG:Dt,motionDurationSlow:Vt,paddingXS:kt,boxShadowSecondary:jt,collapsedWidth:_t,collapsedIconSize:Mt}=fe,ft={height:pe,lineHeight:`${pe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ze]:{"&-inline, &-vertical":Object.assign({[`&${ze}-root`]:{boxShadow:"none"}},at(fe))},[`${ze}-submenu-popup`]:{[`${ze}-vertical`]:Object.assign(Object.assign({},at(fe)),{boxShadow:jt})}},{[`${ze}-submenu-popup ${ze}-vertical${ze}-sub`]:{minWidth:Ke,maxHeight:`calc(100vh - ${Xe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ze}-inline`]:{width:"100%",[`&${ze}-root`]:{[`${ze}-item, ${ze}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Vt}`,`background ${Vt}`,`padding ${Je} ${ut}`].join(","),[`> ${ze}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ze}-sub${ze}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ze}-submenu > ${ze}-submenu-title`]:ft,[`& ${ze}-item-group-title`]:{paddingInlineStart:bt}},[`${ze}-item`]:ft}},{[`${ze}-inline-collapsed`]:{width:_t,[`&${ze}-root`]:{[`${ze}-item, ${ze}-submenu ${ze}-submenu-title`]:{[`> ${ze}-inline-collapsed-noicon`]:{fontSize:Dt,textAlign:"center"}}},[`> ${ze}-item,
> ${ze}-item-group > ${ze}-item-group-list > ${ze}-item,
> ${ze}-item-group > ${ze}-item-group-list > ${ze}-submenu > ${ze}-submenu-title,
> ${ze}-submenu > ${ze}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Dt/2}px - ${gt}px)`,textOverflow:"clip",[`
${ze}-submenu-arrow,
${ze}-submenu-expand-icon
`]:{opacity:0},[`${ze}-item-icon, ${He}`]:{margin:0,fontSize:Mt,lineHeight:`${pe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ze}-item-icon, ${He}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ze}-item-icon, ${He}`]:{display:"none"},"a, a:hover":{color:Be}},[`${ze}-item-group-title`]:Object.assign(Object.assign({},Ne.vS),{paddingInline:kt})}}]};const it=fe=>{const{componentCls:ze,motionDurationSlow:He,motionDurationMid:pe,motionEaseInOut:Be,motionEaseOut:Ke,iconCls:Xe,iconSize:Je,iconMarginInlineEnd:ut}=fe;return{[`${ze}-item, ${ze}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${He}`,`background ${He}`,`padding ${He} ${Be}`].join(","),[`${ze}-item-icon, ${Xe}`]:{minWidth:Je,fontSize:Je,transition:[`font-size ${pe} ${Ke}`,`margin ${He} ${Be}`,`color ${He}`].join(","),"+ span":{marginInlineStart:ut,opacity:1,transition:[`opacity ${He} ${Be}`,`margin ${He}`,`color ${He}`].join(",")}},[`${ze}-item-icon`]:Object.assign({},(0,Ne.Ro)()),[`&${ze}-item-only-child`]:{[`> ${Xe}, > ${ze}-item-icon`]:{marginInlineEnd:0}}},[`${ze}-item-disabled, ${ze}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ze}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},yt=fe=>{const{componentCls:ze,motionDurationSlow:He,motionEaseInOut:pe,borderRadius:Be,menuArrowSize:Ke,menuArrowOffset:Xe}=fe;return{[`${ze}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:fe.margin,width:Ke,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${He} ${pe}, opacity ${He}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ke*.6,height:Ke*.15,backgroundColor:"currentcolor",borderRadius:Be,transition:[`background ${He} ${pe}`,`transform ${He} ${pe}`,`top ${He} ${pe}`,`color ${He} ${pe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Xe})`},"&::after":{transform:`rotate(-45deg) translateY(${Xe})`}}}}},ht=fe=>{const{antCls:ze,componentCls:He,fontSize:pe,motionDurationSlow:Be,motionDurationMid:Ke,motionEaseInOut:Xe,paddingXS:Je,padding:ut,colorSplit:bt,lineWidth:gt,zIndexPopup:Dt,borderRadiusLG:Vt,subMenuItemBorderRadius:kt,menuArrowSize:jt,menuArrowOffset:_t,lineType:Mt,menuPanelMaskInset:ft,groupTitleLineHeight:St,groupTitleFontSize:Nt}=fe;return[{"":{[`${He}`]:Object.assign(Object.assign({},(0,Ne.dF)()),{"&-hidden":{display:"none"}})},[`${He}-submenu-hidden`]:{display:"none"}},{[He]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ne.Wf)(fe)),(0,Ne.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:pe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Be} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${He}-item`]:{flex:"none"}},[`${He}-item, ${He}-submenu, ${He}-submenu-title`]:{borderRadius:fe.itemBorderRadius},[`${He}-item-group-title`]:{padding:`${Je}px ${ut}px`,fontSize:Nt,lineHeight:St,transition:`all ${Be}`},[`&-horizontal ${He}-submenu`]:{transition:[`border-color ${Be} ${Xe}`,`background ${Be} ${Xe}`].join(",")},[`${He}-submenu, ${He}-submenu-inline`]:{transition:[`border-color ${Be} ${Xe}`,`background ${Be} ${Xe}`,`padding ${Ke} ${Xe}`].join(",")},[`${He}-submenu ${He}-sub`]:{cursor:"initial",transition:[`background ${Be} ${Xe}`,`padding ${Be} ${Xe}`].join(",")},[`${He}-title-content`]:{transition:`color ${Be}`},[`${He}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${He}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:bt,borderStyle:Mt,borderWidth:0,borderTopWidth:gt,marginBlock:gt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),it(fe)),{[`${He}-item-group`]:{[`${He}-item-group-list`]:{margin:0,padding:0,[`${He}-item, ${He}-submenu-title`]:{paddingInline:`${pe*2}px ${ut}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Dt,borderRadius:Vt,boxShadow:"none",transformOrigin:"0 0",[`&${He}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ft}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ft},"\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:fe.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:fe.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:fe.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:fe.paddingXS},[`> ${He}`]:Object.assign(Object.assign(Object.assign({borderRadius:Vt},it(fe)),yt(fe)),{[`${He}-item, ${He}-submenu > ${He}-submenu-title`]:{borderRadius:kt},[`${He}-submenu-title::after`]:{transition:`transform ${Be} ${Xe}`}})}}),yt(fe)),{[`&-inline-collapsed ${He}-submenu-arrow,
&-inline ${He}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${_t})`},"&::after":{transform:`rotate(45deg) translateX(-${_t})`}},[`${He}-submenu-open${He}-submenu-inline > ${He}-submenu-title > ${He}-submenu-arrow`]:{transform:`translateY(-${jt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${_t})`},"&::before":{transform:`rotate(45deg) translateX(${_t})`}}})},{[`${ze}-layout-header`]:{[He]:{lineHeight:"inherit"}}}]};var Bt=(fe,ze)=>(0,Ue.Z)("Menu",pe=>{if(ze===!1)return[];const{colorBgElevated:Be,colorPrimary:Ke,colorTextLightSolid:Xe,controlHeightLG:Je,fontSize:ut,darkItemColor:bt,darkDangerItemColor:gt,darkItemBg:Dt,darkSubMenuItemBg:Vt,darkItemSelectedColor:kt,darkItemSelectedBg:jt,darkDangerItemSelectedBg:_t,darkItemHoverBg:Mt,darkGroupTitleColor:ft,darkItemHoverColor:St,darkItemDisabledColor:Nt,darkDangerItemHoverColor:Ft,darkDangerItemSelectedColor:Zt,darkDangerItemActiveBg:or}=pe,yr=ut/7*5,Sr=(0,Qe.TS)(pe,{menuArrowSize:yr,menuHorizontalHeight:Je*1.15,menuArrowOffset:`${yr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Be}),Fr=(0,Qe.TS)(Sr,{itemColor:bt,itemHoverColor:St,groupTitleColor:ft,itemSelectedColor:kt,itemBg:Dt,popupBg:Dt,subMenuItemBg:Vt,itemActiveBg:"transparent",itemSelectedBg:jt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Mt,itemDisabledColor:Nt,dangerItemColor:gt,dangerItemHoverColor:Ft,dangerItemSelectedColor:Zt,dangerItemActiveBg:or,dangerItemSelectedBg:_t,menuSubMenuBg:Vt,horizontalItemSelectedColor:Xe,horizontalItemSelectedBg:Ke});return[ht(Sr),ot(Sr),qe(Sr),dt(Sr,"light"),dt(Fr,"dark"),Ve(Sr),(0,je.Z)(Sr),(0,Ze.oN)(Sr,"slide-up"),(0,Ze.oN)(Sr,"slide-down"),(0,Pe._y)(Sr,"zoom-big")]},pe=>{const{colorPrimary:Be,colorError:Ke,colorTextDisabled:Xe,colorErrorBg:Je,colorText:ut,colorTextDescription:bt,colorBgContainer:gt,colorFillAlter:Dt,colorFillContent:Vt,lineWidth:kt,lineWidthBold:jt,controlItemBgActive:_t,colorBgTextHover:Mt,controlHeightLG:ft,lineHeight:St,colorBgElevated:Nt,marginXXS:Ft,padding:Zt,fontSize:or,controlHeightSM:yr,fontSizeLG:Sr,colorTextLightSolid:Fr,colorErrorHover:Vr}=pe,Br=new Ce.C(Fr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:pe.zIndexPopupBase+50,radiusItem:pe.borderRadiusLG,itemBorderRadius:pe.borderRadiusLG,radiusSubMenuItem:pe.borderRadiusSM,subMenuItemBorderRadius:pe.borderRadiusSM,colorItemText:ut,itemColor:ut,colorItemTextHover:ut,itemHoverColor:ut,colorItemTextHoverHorizontal:Be,horizontalItemHoverColor:Be,colorGroupTitle:bt,groupTitleColor:bt,colorItemTextSelected:Be,itemSelectedColor:Be,colorItemTextSelectedHorizontal:Be,horizontalItemSelectedColor:Be,colorItemBg:gt,itemBg:gt,colorItemBgHover:Mt,itemHoverBg:Mt,colorItemBgActive:Vt,itemActiveBg:_t,colorSubItemBg:Dt,subMenuItemBg:Dt,colorItemBgSelected:_t,itemSelectedBg:_t,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:jt,activeBarHeight:jt,colorActiveBarBorderSize:kt,activeBarBorderWidth:kt,colorItemTextDisabled:Xe,itemDisabledColor:Xe,colorDangerItemText:Ke,dangerItemColor:Ke,colorDangerItemTextHover:Ke,dangerItemHoverColor:Ke,colorDangerItemTextSelected:Ke,dangerItemSelectedColor:Ke,colorDangerItemBgActive:Je,dangerItemActiveBg:Je,colorDangerItemBgSelected:Je,dangerItemSelectedBg:Je,itemMarginInline:pe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ft,groupTitleLineHeight:St,collapsedWidth:ft*2,popupBg:Nt,itemMarginBlock:Ft,itemPaddingInline:Zt,horizontalLineHeight:`${ft*1.15}px`,iconSize:or,iconMarginInlineEnd:yr-or,collapsedIconSize:Sr,groupTitleFontSize:or,darkItemDisabledColor:new Ce.C(Fr).setAlpha(.25).toRgbString(),darkItemColor:Br,darkDangerItemColor:Ke,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Fr,darkItemSelectedBg:Be,darkDangerItemSelectedBg:Ke,darkItemHoverBg:"transparent",darkGroupTitleColor:Br,darkItemHoverColor:Fr,darkDangerItemHoverColor:Vr,darkDangerItemSelectedColor:Fr,darkDangerItemActiveBg:Ke}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(fe),Et=function(fe,ze){var He={};for(var pe in fe)Object.prototype.hasOwnProperty.call(fe,pe)&&ze.indexOf(pe)<0&&(He[pe]=fe[pe]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,pe=Object.getOwnPropertySymbols(fe);Be<pe.length;Be++)ze.indexOf(pe[Be])<0&&Object.prototype.propertyIsEnumerable.call(fe,pe[Be])&&(He[pe[Be]]=fe[pe[Be]]);return He},Ge=(0,vt.forwardRef)((fe,ze)=>{var He,pe;const Be=vt.useContext(Ee.Z),Ke=Be||{},{getPrefixCls:Xe,getPopupContainer:Je,direction:ut,menu:bt}=vt.useContext(re.E_),gt=Xe(),{prefixCls:Dt,className:Vt,style:kt,theme:jt="light",expandIcon:_t,_internalDisableMenuItemTitleTooltip:Mt,inlineCollapsed:ft,siderCollapsed:St,items:Nt,children:Ft,rootClassName:Zt,mode:or,selectable:yr,onClick:Sr,overflowedIndicatorPopupClassName:Fr}=fe,Vr=Et(fe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Br=(0,me.Z)(Vr,["collapsedWidth"]),Ur=Oe(Nt)||Ft;(He=Ke.validator)===null||He===void 0||He.call(Ke,{mode:or});const on=(0,Ae.useEvent)(function(){var Or;Sr==null||Sr.apply(void 0,arguments),(Or=Ke.onClick)===null||Or===void 0||Or.call(Ke)}),Yr=Ke.mode||or,Fn=yr!=null?yr:Ke.selectable,vn=vt.useMemo(()=>St!==void 0?St:ft,[ft,St]),Tn={horizontal:{motionName:`${gt}-slide-up`},inline:(0,Le.Z)(gt),other:{motionName:`${gt}-zoom-big`}},qr=Xe("menu",Dt||Ke.prefixCls),[Un,un]=Bt(qr,!Be),ar=ve()(`${qr}-${jt}`,bt==null?void 0:bt.className,Vt);let Nr;if(typeof _t=="function")Nr=_t;else if(_t===null||_t===!1)Nr=null;else if(Ke.expandIcon===null||Ke.expandIcon===!1)Nr=null;else{const Or=_t!=null?_t:Ke.expandIcon;Nr=(0,ae.Tm)(Or,{className:ve()(`${qr}-submenu-expand-icon`,(0,ae.l$)(Or)?(pe=Or.props)===null||pe===void 0?void 0:pe.className:"")})}const Mr=vt.useMemo(()=>({prefixCls:qr,inlineCollapsed:vn||!1,direction:ut,firstLevel:!0,theme:jt,mode:Yr,disableMenuItemTitleTooltip:Mt}),[qr,vn,ut,Mt,jt]);return Un(vt.createElement(Ee.Z.Provider,{value:null},vt.createElement(de.Provider,{value:Mr},vt.createElement(Re.ZP,Object.assign({getPopupContainer:Je,overflowedIndicator:vt.createElement(ye.Z,null),overflowedIndicatorPopupClassName:ve()(qr,`${qr}-${jt}`,Fr),mode:Yr,selectable:Fn,onClick:on},Br,{inlineCollapsed:vn,style:Object.assign(Object.assign({},bt==null?void 0:bt.style),kt),className:ar,prefixCls:qr,direction:ut,defaultMotions:Tn,expandIcon:Nr,ref:ze,rootClassName:ve()(Zt,un)}),Ur))))});const We=(0,vt.forwardRef)((fe,ze)=>{const He=(0,vt.useRef)(null),pe=vt.useContext(x.D);return(0,vt.useImperativeHandle)(ze,()=>({menu:He.current,focus:Be=>{var Ke;(Ke=He.current)===null||Ke===void 0||Ke.focus(Be)}})),vt.createElement(Ge,Object.assign({ref:He},fe,pe))});We.Item=we,We.SubMenu=xe,We.Divider=oe,We.ItemGroup=Re.BW;var se=We},14478:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return Ce}});var Re=ke(96512),vt=ke(92310),x=ke.n(vt),De=ke(10228),ve=ke(18929),re=ke(2738),ne=ke(59301),ie=ke(92343),oe=ke(36355),le=ke(60324),me=ke(92806),te=ke(77578),ae=ke(3113),ue=ke(67797),de=ke(9763),he=ke(31724),we=ke(39722),Se=ke(83116);const xe=Ne=>{const{componentCls:je,iconCls:Ze,antCls:Pe,zIndexPopup:Ue,colorText:Qe,colorWarning:tt,marginXXS:ot,marginXS:lt,fontSize:Ve,fontWeightStrong:Ye,colorTextHeading:nt}=Ne;return{[je]:{zIndex:Ue,[`&${Pe}-popover`]:{fontSize:Ve},[`${je}-message`]:{marginBottom:lt,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${je}-message-icon ${Ze}`]:{color:tt,fontSize:Ve,lineHeight:1,marginInlineEnd:lt},[`${je}-title`]:{fontWeight:Ye,color:nt,"&:only-child":{fontWeight:"normal"}},[`${je}-description`]:{marginTop:ot,color:Qe}},[`${je}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:lt}}}}};var ye=(0,Se.Z)("Popconfirm",Ne=>xe(Ne),Ne=>{const{zIndexPopupBase:je}=Ne;return{zIndexPopup:je+60}},{resetStyle:!1}),Ae=function(Ne,je){var Ze={};for(var Pe in Ne)Object.prototype.hasOwnProperty.call(Ne,Pe)&&je.indexOf(Pe)<0&&(Ze[Pe]=Ne[Pe]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,Pe=Object.getOwnPropertySymbols(Ne);Ue<Pe.length;Ue++)je.indexOf(Pe[Ue])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Pe[Ue])&&(Ze[Pe[Ue]]=Ne[Pe[Ue]]);return Ze};const Le=Ne=>{const{prefixCls:je,okButtonProps:Ze,cancelButtonProps:Pe,title:Ue,description:Qe,cancelText:tt,okText:ot,okType:lt="primary",icon:Ve=ne.createElement(Re.Z,null),showCancel:Ye=!0,close:nt,onConfirm:dt,onCancel:at,onPopupClick:et}=Ne,{getPrefixCls:qe}=ne.useContext(oe.E_),[it]=(0,de.Z)("Popconfirm",he.Z.Popconfirm),yt=(0,te.Z)(Ue),ht=(0,te.Z)(Qe);return ne.createElement("div",{className:`${je}-inner-content`,onClick:et},ne.createElement("div",{className:`${je}-message`},Ve&&ne.createElement("span",{className:`${je}-message-icon`},Ve),ne.createElement("div",{className:`${je}-message-text`},yt&&ne.createElement("div",{className:x()(`${je}-title`)},yt),ht&&ne.createElement("div",{className:`${je}-description`},ht))),ne.createElement("div",{className:`${je}-buttons`},Ye&&ne.createElement(ae.ZP,Object.assign({onClick:at,size:"small"},Pe),tt!=null?tt:it==null?void 0:it.cancelText),ne.createElement(me.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,ue.n)(lt)),Ze),actionFn:dt,close:nt,prefixCls:qe("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},ot!=null?ot:it==null?void 0:it.okText)))};var _e=Ne=>{const{prefixCls:je,placement:Ze,className:Pe,style:Ue}=Ne,Qe=Ae(Ne,["prefixCls","placement","className","style"]),{getPrefixCls:tt}=ne.useContext(oe.E_),ot=tt("popconfirm",je),[lt]=ye(ot);return lt(ne.createElement(we.ZP,{placement:Ze,className:x()(ot,Pe),style:Ue,content:ne.createElement(Le,Object.assign({prefixCls:ot},Qe))}))},Me=function(Ne,je){var Ze={};for(var Pe in Ne)Object.prototype.hasOwnProperty.call(Ne,Pe)&&je.indexOf(Pe)<0&&(Ze[Pe]=Ne[Pe]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,Pe=Object.getOwnPropertySymbols(Ne);Ue<Pe.length;Ue++)je.indexOf(Pe[Ue])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Pe[Ue])&&(Ze[Pe[Ue]]=Ne[Pe[Ue]]);return Ze};const Oe=ne.forwardRef((Ne,je)=>{const{prefixCls:Ze,placement:Pe="top",trigger:Ue="click",okType:Qe="primary",icon:tt=ne.createElement(Re.Z,null),children:ot,overlayClassName:lt,onOpenChange:Ve,onVisibleChange:Ye}=Ne,nt=Me(Ne,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:dt}=ne.useContext(oe.E_),[at,et]=(0,ve.Z)(!1,{value:Ne.open,defaultValue:Ne.defaultOpen}),qe=(se,fe)=>{et(se,!0),Ye==null||Ye(se),Ve==null||Ve(se,fe)},it=se=>{qe(!1,se)},yt=se=>{var fe;return(fe=Ne.onConfirm)===null||fe===void 0?void 0:fe.call(void 0,se)},ht=se=>{var fe;qe(!1,se),(fe=Ne.onCancel)===null||fe===void 0||fe.call(void 0,se)},Bt=se=>{se.keyCode===De.Z.ESC&&at&&qe(!1,se)},Et=se=>{const{disabled:fe=!1}=Ne;fe||qe(se)},st=dt("popconfirm",Ze),Ge=x()(st,lt),[We]=ye(st);return We(ne.createElement(le.Z,Object.assign({},(0,re.Z)(nt,["title"]),{trigger:Ue,placement:Pe,onOpenChange:Et,open:at,ref:je,overlayClassName:Ge,content:ne.createElement(Le,Object.assign({okType:Qe,icon:tt},Ne,{prefixCls:st,close:it,onConfirm:yt,onCancel:ht})),"data-popover-inject":!0}),(0,ie.Tm)(ot,{onKeyDown:se=>{var fe,ze;ne.isValidElement(ot)&&((ze=ot==null?void 0:(fe=ot.props).onKeyDown)===null||ze===void 0||ze.call(fe,se)),Bt(se)}})))});Oe._InternalPanelDoNotUseOrYouWillBeFired=_e;var Ce=Oe},39722:function(sr,Wt,ke){"use strict";ke.d(Wt,{t5:function(){return le}});var Re=ke(92310),vt=ke.n(Re),x=ke(55477),De=ke(59301),ve=ke(36355),re=ke(77578),ne=ke(17356),ie=function(te,ae){var ue={};for(var de in te)Object.prototype.hasOwnProperty.call(te,de)&&ae.indexOf(de)<0&&(ue[de]=te[de]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,de=Object.getOwnPropertySymbols(te);he<de.length;he++)ae.indexOf(de[he])<0&&Object.prototype.propertyIsEnumerable.call(te,de[he])&&(ue[de[he]]=te[de[he]]);return ue};const oe=(te,ae,ue)=>{if(!(!ae&&!ue))return De.createElement(De.Fragment,null,ae&&De.createElement("div",{className:`${te}-title`},(0,re.Z)(ae)),De.createElement("div",{className:`${te}-inner-content`},(0,re.Z)(ue)))},le=te=>{const{hashId:ae,prefixCls:ue,className:de,style:he,placement:we="top",title:Se,content:xe,children:ye}=te;return De.createElement("div",{className:vt()(ae,ue,`${ue}-pure`,`${ue}-placement-${we}`,de),style:he},De.createElement("div",{className:`${ue}-arrow`}),De.createElement(x.G,Object.assign({},te,{className:ae,prefixCls:ue}),ye||oe(ue,Se,xe)))},me=te=>{const{prefixCls:ae}=te,ue=ie(te,["prefixCls"]),{getPrefixCls:de}=De.useContext(ve.E_),he=de("popover",ae),[we,Se]=(0,ne.Z)(he);return we(De.createElement(le,Object.assign({},ue,{prefixCls:he,hashId:Se})))};Wt.ZP=me},60324:function(sr,Wt,ke){"use strict";var Re=ke(92310),vt=ke.n(Re),x=ke(59301),De=ke(77578),ve=ke(62892),re=ke(36355),ne=ke(6848),ie=ke(39722),oe=ke(17356),le=function(ae,ue){var de={};for(var he in ae)Object.prototype.hasOwnProperty.call(ae,he)&&ue.indexOf(he)<0&&(de[he]=ae[he]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,he=Object.getOwnPropertySymbols(ae);we<he.length;we++)ue.indexOf(he[we])<0&&Object.prototype.propertyIsEnumerable.call(ae,he[we])&&(de[he[we]]=ae[he[we]]);return de};const me=ae=>{let{title:ue,content:de,prefixCls:he}=ae;return x.createElement(x.Fragment,null,ue&&x.createElement("div",{className:`${he}-title`},(0,De.Z)(ue)),x.createElement("div",{className:`${he}-inner-content`},(0,De.Z)(de)))},te=x.forwardRef((ae,ue)=>{const{prefixCls:de,title:he,content:we,overlayClassName:Se,placement:xe="top",trigger:ye="hover",mouseEnterDelay:Ae=.1,mouseLeaveDelay:Le=.1,overlayStyle:Ee={}}=ae,_e=le(ae,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Me}=x.useContext(re.E_),Oe=Me("popover",de),[Ce,Ne]=(0,oe.Z)(Oe),je=Me(),Ze=vt()(Se,Ne);return Ce(x.createElement(ne.Z,Object.assign({placement:xe,trigger:ye,mouseEnterDelay:Ae,mouseLeaveDelay:Le,overlayStyle:Ee},_e,{prefixCls:Oe,overlayClassName:Ze,ref:ue,overlay:he||we?x.createElement(me,{prefixCls:Oe,title:he,content:we}):null,transitionName:(0,ve.m)(je,"zoom-big",_e.transitionName),"data-popover-inject":!0})))});te._InternalPanelDoNotUseOrYouWillBeFired=ie.ZP,Wt.Z=te},17356:function(sr,Wt,ke){"use strict";var Re=ke(17313),vt=ke(29878),x=ke(19447),De=ke(33166),ve=ke(83116),re=ke(37613);const ne=le=>{const{componentCls:me,popoverColor:te,minWidth:ae,fontWeightStrong:ue,popoverPadding:de,boxShadowSecondary:he,colorTextHeading:we,borderRadiusLG:Se,zIndexPopup:xe,marginXS:ye,colorBgElevated:Ae,popoverBg:Le}=le;return[{[me]:Object.assign(Object.assign({},(0,Re.Wf)(le)),{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":Ae,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${me}-content`]:{position:"relative"},[`${me}-inner`]:{backgroundColor:Le,backgroundClip:"padding-box",borderRadius:Se,boxShadow:he,padding:de},[`${me}-title`]:{minWidth:ae,marginBottom:ye,color:we,fontWeight:ue},[`${me}-inner-content`]:{color:te}})},(0,x.ZP)(le,{colorBg:"var(--antd-arrow-background-color)"}),{[`${me}-pure`]:{position:"relative",maxWidth:"none",margin:le.sizePopupArrow,display:"inline-block",[`${me}-content`]:{display:"inline-block"}}}]},ie=le=>{const{componentCls:me}=le;return{[me]:De.i.map(te=>{const ae=le[`${te}6`];return{[`&${me}-${te}`]:{"--antd-arrow-background-color":ae,[`${me}-inner`]:{backgroundColor:ae},[`${me}-arrow`]:{background:"transparent"}}}})}},oe=le=>{const{componentCls:me,lineWidth:te,lineType:ae,colorSplit:ue,paddingSM:de,controlHeight:he,fontSize:we,lineHeight:Se,padding:xe}=le,ye=he-Math.round(we*Se),Ae=ye/2,Le=ye/2-te,Ee=xe;return{[me]:{[`${me}-inner`]:{padding:0},[`${me}-title`]:{margin:0,padding:`${Ae}px ${Ee}px ${Le}px`,borderBottom:`${te}px ${ae} ${ue}`},[`${me}-inner-content`]:{padding:`${de}px ${Ee}px`}}}};Wt.Z=(0,ve.Z)("Popover",le=>{const{colorBgElevated:me,colorText:te,wireframe:ae}=le,ue=(0,re.TS)(le,{popoverPadding:12,popoverBg:me,popoverColor:te});return[ne(ue),ie(ue),ae&&oe(ue),(0,vt._y)(ue,"zoom-big")]},le=>({width:177,minWidth:177,zIndexPopup:le.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return Mt}});var Re=ke(59301),vt=ke(29679),x=ke(40001),De=ke(19248),ve=ke(99267),re=ke(92310),ne=ke.n(re),ie=ke(2738),oe=ke(36355),le=ke(60499),me=ke(85899),te=ke(42244),ae={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ue=function(){var St=(0,Re.useRef)([]),Nt=(0,Re.useRef)(null);return(0,Re.useEffect)(function(){var Ft=Date.now(),Zt=!1;St.current.forEach(function(or){if(or){Zt=!0;var yr=or.style;yr.transitionDuration=".3s, .3s, .3s, .06s",Nt.current&&Ft-Nt.current<100&&(yr.transitionDuration="0s, 0s")}}),Zt&&(Nt.current=Date.now())}),St.current},de=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],he=function(St){var Nt=(0,me.Z)((0,me.Z)({},ae),St),Ft=Nt.className,Zt=Nt.percent,or=Nt.prefixCls,yr=Nt.strokeColor,Sr=Nt.strokeLinecap,Fr=Nt.strokeWidth,Vr=Nt.style,Br=Nt.trailColor,Ur=Nt.trailWidth,on=Nt.transition,Yr=(0,te.Z)(Nt,de);delete Yr.gapPosition;var Fn=Array.isArray(Zt)?Zt:[Zt],vn=Array.isArray(yr)?yr:[yr],Tn=ue(),qr=Fr/2,Un=100-Fr/2,un="M ".concat(Sr==="round"?qr:0,",").concat(qr,`
L `).concat(Sr==="round"?Un:100,",").concat(qr),ar="0 0 100 ".concat(Fr),Nr=0;return Re.createElement("svg",(0,le.Z)({className:ne()("".concat(or,"-line"),Ft),viewBox:ar,preserveAspectRatio:"none",style:Vr},Yr),Re.createElement("path",{className:"".concat(or,"-line-trail"),d:un,strokeLinecap:Sr,stroke:Br,strokeWidth:Ur||Fr,fillOpacity:"0"}),Fn.map(function(Mr,Or){var Pr=1;switch(Sr){case"round":Pr=1-Fr/100;break;case"square":Pr=1-Fr/2/100;break;default:Pr=1;break}var Tr={strokeDasharray:"".concat(Mr*Pr,"px, 100px"),strokeDashoffset:"-".concat(Nr,"px"),transition:on||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},wr=vn[Or]||vn[vn.length-1];return Nr+=Mr,Re.createElement("path",{key:Or,className:"".concat(or,"-line-path"),d:un,strokeLinecap:Sr,stroke:wr,strokeWidth:Fr,fillOpacity:"0",ref:function(Kt){Tn[Or]=Kt},style:Tr})}))},we=he,Se=ke(43749),xe=ke(72190),ye=ke(47273),Ae=0,Le=(0,ye.Z)();function Ee(){var ft;return Le?(ft=Ae,Ae+=1):ft="TEST_OR_SSR",ft}var _e=function(ft){var St=Re.useState(),Nt=(0,xe.Z)(St,2),Ft=Nt[0],Zt=Nt[1];return Re.useEffect(function(){Zt("rc_progress_".concat(Ee()))},[]),ft||Ft},Me=function(St){var Nt=St.bg,Ft=St.children;return Re.createElement("div",{style:{width:"100%",height:"100%",background:Nt}},Ft)};function Oe(ft,St){return Object.keys(ft).map(function(Nt){var Ft=parseFloat(Nt),Zt="".concat(Math.floor(Ft*St),"%");return"".concat(ft[Nt]," ").concat(Zt)})}var Ce=Re.forwardRef(function(ft,St){var Nt=ft.prefixCls,Ft=ft.color,Zt=ft.gradientId,or=ft.radius,yr=ft.style,Sr=ft.ptg,Fr=ft.strokeLinecap,Vr=ft.strokeWidth,Br=ft.size,Ur=ft.gapDegree,on=Ft&&(0,Se.Z)(Ft)==="object",Yr=on?"#FFF":void 0,Fn=Br/2,vn=Re.createElement("circle",{className:"".concat(Nt,"-circle-path"),r:or,cx:Fn,cy:Fn,stroke:Yr,strokeLinecap:Fr,strokeWidth:Vr,opacity:Sr===0?0:1,style:yr,ref:St});if(!on)return vn;var Tn="".concat(Zt,"-conic"),qr=Ur?"".concat(180+Ur/2,"deg"):"0deg",Un=Oe(Ft,(360-Ur)/360),un=Oe(Ft,1),ar="conic-gradient(from ".concat(qr,", ").concat(Un.join(", "),")"),Nr="linear-gradient(to ".concat(Ur?"bottom":"top",", ").concat(un.join(", "),")");return Re.createElement(Re.Fragment,null,Re.createElement("mask",{id:Tn},vn),Re.createElement("foreignObject",{x:0,y:0,width:Br,height:Br,mask:"url(#".concat(Tn,")")},Re.createElement(Me,{bg:Nr},Re.createElement(Me,{bg:ar}))))}),Ne=Ce,je=100,Ze=function(St,Nt,Ft,Zt,or,yr,Sr,Fr,Vr,Br){var Ur=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,on=Ft/100*360*((360-yr)/360),Yr=yr===0?0:{bottom:0,top:180,left:90,right:-90}[Sr],Fn=(100-Zt)/100*Nt;Vr==="round"&&Zt!==100&&(Fn+=Br/2,Fn>=Nt&&(Fn=Nt-.01));var vn=je/2;return{stroke:typeof Fr=="string"?Fr:void 0,strokeDasharray:"".concat(Nt,"px ").concat(St),strokeDashoffset:Fn+Ur,transform:"rotate(".concat(or+on+Yr,"deg)"),transformOrigin:"".concat(vn,"px ").concat(vn,"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}},Pe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ue(ft){var St=ft!=null?ft:[];return Array.isArray(St)?St:[St]}var Qe=function(St){var Nt=(0,me.Z)((0,me.Z)({},ae),St),Ft=Nt.id,Zt=Nt.prefixCls,or=Nt.steps,yr=Nt.strokeWidth,Sr=Nt.trailWidth,Fr=Nt.gapDegree,Vr=Fr===void 0?0:Fr,Br=Nt.gapPosition,Ur=Nt.trailColor,on=Nt.strokeLinecap,Yr=Nt.style,Fn=Nt.className,vn=Nt.strokeColor,Tn=Nt.percent,qr=(0,te.Z)(Nt,Pe),Un=je/2,un=_e(Ft),ar="".concat(un,"-gradient"),Nr=Un-yr/2,Mr=Math.PI*2*Nr,Or=Vr>0?90+Vr/2:-90,Pr=Mr*((360-Vr)/360),Tr=(0,Se.Z)(or)==="object"?or:{count:or,space:2},wr=Tr.count,Xr=Tr.space,Kt=Ue(Tn),xt=Ue(vn),It=xt.find(function(hr){return hr&&(0,Se.Z)(hr)==="object"}),Tt=It&&(0,Se.Z)(It)==="object",At=Tt?"butt":on,zt=Ze(Mr,Pr,0,100,Or,Vr,Br,Ur,At,yr),Ut=ue(),ir=function(){var Cr=0;return Kt.map(function(Dr,Ir){var qt=xt[Ir]||xt[xt.length-1],vr=Ze(Mr,Pr,Cr,Dr,Or,Vr,Br,qt,At,yr);return Cr+=Dr,Re.createElement(Ne,{key:Ir,color:qt,ptg:Dr,radius:Nr,prefixCls:Zt,gradientId:ar,style:vr,strokeLinecap:At,strokeWidth:yr,gapDegree:Vr,ref:function(Yt){Ut[Ir]=Yt},size:je})}).reverse()},er=function(){var Cr=Math.round(wr*(Kt[0]/100)),Dr=100/wr,Ir=0;return new Array(wr).fill(null).map(function(qt,vr){var Ht=vr<=Cr-1?xt[0]:Ur,Yt=Ht&&(0,Se.Z)(Ht)==="object"?"url(#".concat(ar,")"):void 0,Xt=Ze(Mr,Pr,Ir,Dr,Or,Vr,Br,Ht,"butt",yr,Xr);return Ir+=(Pr-Xt.strokeDashoffset+Xr)*100/Pr,Re.createElement("circle",{key:vr,className:"".concat(Zt,"-circle-path"),r:Nr,cx:Un,cy:Un,stroke:Yt,strokeWidth:yr,opacity:1,style:Xt,ref:function(gr){Ut[vr]=gr}})})};return Re.createElement("svg",(0,le.Z)({className:ne()("".concat(Zt,"-circle"),Fn),viewBox:"0 0 ".concat(je," ").concat(je),style:Yr,id:Ft,role:"presentation"},qr),!wr&&Re.createElement("circle",{className:"".concat(Zt,"-circle-trail"),r:Nr,cx:Un,cy:Un,stroke:Ur,strokeLinecap:At,strokeWidth:Sr||yr,style:zt}),wr?er():ir())},tt=Qe,ot={Line:we,Circle:tt},lt=ke(6848),Ve=ke(30071);function Ye(ft){return!ft||ft<0?0:ft>100?100:ft}function nt(ft){let{success:St,successPercent:Nt}=ft,Ft=Nt;return St&&"progress"in St&&(Ft=St.progress),St&&"percent"in St&&(Ft=St.percent),Ft}const dt=ft=>{let{percent:St,success:Nt,successPercent:Ft}=ft;const Zt=Ye(nt({success:Nt,successPercent:Ft}));return[Zt,Ye(Ye(St)-Zt)]},at=ft=>{let{success:St={},strokeColor:Nt}=ft;const{strokeColor:Ft}=St;return[Ft||Ve.presetPrimaryColors.green,Nt||null]},et=(ft,St,Nt)=>{var Ft,Zt,or,yr;let Sr=-1,Fr=-1;if(St==="step"){const Vr=Nt.steps,Br=Nt.strokeWidth;typeof ft=="string"||typeof ft=="undefined"?(Sr=ft==="small"?2:14,Fr=Br!=null?Br:8):typeof ft=="number"?[Sr,Fr]=[ft,ft]:[Sr=14,Fr=8]=ft,Sr*=Vr}else if(St==="line"){const Vr=Nt==null?void 0:Nt.strokeWidth;typeof ft=="string"||typeof ft=="undefined"?Fr=Vr||(ft==="small"?6:8):typeof ft=="number"?[Sr,Fr]=[ft,ft]:[Sr=-1,Fr=8]=ft}else(St==="circle"||St==="dashboard")&&(typeof ft=="string"||typeof ft=="undefined"?[Sr,Fr]=ft==="small"?[60,60]:[120,120]:typeof ft=="number"?[Sr,Fr]=[ft,ft]:(Sr=(Zt=(Ft=ft[0])!==null&&Ft!==void 0?Ft:ft[1])!==null&&Zt!==void 0?Zt:120,Fr=(yr=(or=ft[0])!==null&&or!==void 0?or:ft[1])!==null&&yr!==void 0?yr:120));return[Sr,Fr]},qe=3,it=ft=>qe/ft*100;var ht=ft=>{const{prefixCls:St,trailColor:Nt=null,strokeLinecap:Ft="round",gapPosition:Zt,gapDegree:or,width:yr=120,type:Sr,children:Fr,success:Vr,size:Br=yr}=ft,[Ur,on]=et(Br,"circle");let{strokeWidth:Yr}=ft;Yr===void 0&&(Yr=Math.max(it(Ur),6));const Fn={width:Ur,height:on,fontSize:Ur*.15+6},vn=Re.useMemo(()=>{if(or||or===0)return or;if(Sr==="dashboard")return 75},[or,Sr]),Tn=Zt||Sr==="dashboard"&&"bottom"||void 0,qr=Object.prototype.toString.call(ft.strokeColor)==="[object Object]",Un=at({success:Vr,strokeColor:ft.strokeColor}),un=ne()(`${St}-inner`,{[`${St}-circle-gradient`]:qr}),ar=Re.createElement(tt,{percent:dt(ft),strokeWidth:Yr,trailWidth:Yr,strokeColor:Un,strokeLinecap:Ft,trailColor:Nt,prefixCls:St,gapDegree:vn,gapPosition:Tn});return Re.createElement("div",{className:un,style:Fn},Ur<=20?Re.createElement(lt.Z,{title:Fr},Re.createElement("span",null,ar)):Re.createElement(Re.Fragment,null,ar,Fr))},Bt=function(ft,St){var Nt={};for(var Ft in ft)Object.prototype.hasOwnProperty.call(ft,Ft)&&St.indexOf(Ft)<0&&(Nt[Ft]=ft[Ft]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,Ft=Object.getOwnPropertySymbols(ft);Zt<Ft.length;Zt++)St.indexOf(Ft[Zt])<0&&Object.prototype.propertyIsEnumerable.call(ft,Ft[Zt])&&(Nt[Ft[Zt]]=ft[Ft[Zt]]);return Nt};const Et=ft=>{let St=[];return Object.keys(ft).forEach(Nt=>{const Ft=parseFloat(Nt.replace(/%/g,""));isNaN(Ft)||St.push({key:Ft,value:ft[Nt]})}),St=St.sort((Nt,Ft)=>Nt.key-Ft.key),St.map(Nt=>{let{key:Ft,value:Zt}=Nt;return`${Zt} ${Ft}%`}).join(", ")},st=(ft,St)=>{const{from:Nt=Ve.presetPrimaryColors.blue,to:Ft=Ve.presetPrimaryColors.blue,direction:Zt=St==="rtl"?"to left":"to right"}=ft,or=Bt(ft,["from","to","direction"]);if(Object.keys(or).length!==0){const yr=Et(or);return{backgroundImage:`linear-gradient(${Zt}, ${yr})`}}return{backgroundImage:`linear-gradient(${Zt}, ${Nt}, ${Ft})`}};var We=ft=>{const{prefixCls:St,direction:Nt,percent:Ft,size:Zt,strokeWidth:or,strokeColor:yr,strokeLinecap:Sr="round",children:Fr,trailColor:Vr=null,success:Br}=ft,Ur=yr&&typeof yr!="string"?st(yr,Nt):{backgroundColor:yr},on=Sr==="square"||Sr==="butt"?0:void 0,Yr={backgroundColor:Vr||void 0,borderRadius:on},Fn=Zt!=null?Zt:[-1,or||(Zt==="small"?6:8)],[vn,Tn]=et(Fn,"line",{strokeWidth:or}),qr=Object.assign({width:`${Ye(Ft)}%`,height:Tn,borderRadius:on},Ur),Un=nt(ft),un={width:`${Ye(Un)}%`,height:Tn,borderRadius:on,backgroundColor:Br==null?void 0:Br.strokeColor},ar={width:vn<0?"100%":vn,height:Tn};return Re.createElement(Re.Fragment,null,Re.createElement("div",{className:`${St}-outer`,style:ar},Re.createElement("div",{className:`${St}-inner`,style:Yr},Re.createElement("div",{className:`${St}-bg`,style:qr}),Un!==void 0?Re.createElement("div",{className:`${St}-success-bg`,style:un}):null)),Fr)},fe=ft=>{const{size:St,steps:Nt,percent:Ft=0,strokeWidth:Zt=8,strokeColor:or,trailColor:yr=null,prefixCls:Sr,children:Fr}=ft,Vr=Math.round(Nt*(Ft/100)),Br=St==="small"?2:14,Ur=St!=null?St:[Br,Zt],[on,Yr]=et(Ur,"step",{steps:Nt,strokeWidth:Zt}),Fn=on/Nt,vn=new Array(Nt);for(let Tn=0;Tn<Nt;Tn++){const qr=Array.isArray(or)?or[Tn]:or;vn[Tn]=Re.createElement("div",{key:Tn,className:ne()(`${Sr}-steps-item`,{[`${Sr}-steps-item-active`]:Tn<=Vr-1}),style:{backgroundColor:Tn<=Vr-1?qr:yr,width:Fn,height:Yr}})}return Re.createElement("div",{className:`${Sr}-steps-outer`},vn,Fr)},ze=ke(36237),He=ke(17313),pe=ke(83116),Be=ke(37613);const Ke=ft=>{const St=ft?"100%":"-100%";return new ze.Keyframes(`antProgress${ft?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${St}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${St}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Xe=ft=>{const{componentCls:St,iconCls:Nt}=ft;return{[St]:Object.assign(Object.assign({},(0,He.Wf)(ft)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ft.fontSize,marginInlineEnd:ft.marginXS,marginBottom:ft.marginXS},[`${St}-outer`]:{display:"inline-block",width:"100%"},[`&${St}-show-info`]:{[`${St}-outer`]:{marginInlineEnd:`calc(-2em - ${ft.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ft.paddingXS}px)`}},[`${St}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ft.remainingColor,borderRadius:ft.lineBorderRadius},[`${St}-inner:not(${St}-circle-gradient)`]:{[`${St}-circle-path`]:{stroke:ft.defaultColor}},[`${St}-success-bg, ${St}-bg`]:{position:"relative",backgroundColor:ft.defaultColor,borderRadius:ft.lineBorderRadius,transition:`all ${ft.motionDurationSlow} ${ft.motionEaseInOutCirc}`},[`${St}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ft.colorSuccess},[`${St}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ft.marginXS,color:ft.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Nt]:{fontSize:ft.fontSize}},[`&${St}-status-active`]:{[`${St}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ft.colorBgContainer,borderRadius:ft.lineBorderRadius,opacity:0,animationName:Ke(),animationDuration:ft.progressActiveMotionDuration,animationTimingFunction:ft.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${St}-rtl${St}-status-active`]:{[`${St}-bg::before`]:{animationName:Ke(!0)}},[`&${St}-status-exception`]:{[`${St}-bg`]:{backgroundColor:ft.colorError},[`${St}-text`]:{color:ft.colorError}},[`&${St}-status-exception ${St}-inner:not(${St}-circle-gradient)`]:{[`${St}-circle-path`]:{stroke:ft.colorError}},[`&${St}-status-success`]:{[`${St}-bg`]:{backgroundColor:ft.colorSuccess},[`${St}-text`]:{color:ft.colorSuccess}},[`&${St}-status-success ${St}-inner:not(${St}-circle-gradient)`]:{[`${St}-circle-path`]:{stroke:ft.colorSuccess}}})}},Je=ft=>{const{componentCls:St,iconCls:Nt}=ft;return{[St]:{[`${St}-circle-trail`]:{stroke:ft.remainingColor},[`&${St}-circle ${St}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${St}-circle ${St}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ft.circleTextColor,fontSize:ft.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Nt]:{fontSize:`${ft.fontSize/ft.fontSizeSM}em`}},[`${St}-circle&-status-exception`]:{[`${St}-text`]:{color:ft.colorError}},[`${St}-circle&-status-success`]:{[`${St}-text`]:{color:ft.colorSuccess}}},[`${St}-inline-circle`]:{lineHeight:1,[`${St}-inner`]:{verticalAlign:"bottom"}}}},ut=ft=>{const{componentCls:St}=ft;return{[St]:{[`${St}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ft.progressStepMinWidth,marginInlineEnd:ft.progressStepMarginInlineEnd,backgroundColor:ft.remainingColor,transition:`all ${ft.motionDurationSlow}`,"&-active":{backgroundColor:ft.defaultColor}}}}}},bt=ft=>{const{componentCls:St,iconCls:Nt}=ft;return{[St]:{[`${St}-small&-line, ${St}-small&-line ${St}-text ${Nt}`]:{fontSize:ft.fontSizeSM}}}};var gt=(0,pe.Z)("Progress",ft=>{const St=ft.marginXXS/2,Nt=(0,Be.TS)(ft,{progressStepMarginInlineEnd:St,progressStepMinWidth:St,progressActiveMotionDuration:"2.4s"});return[Xe(Nt),Je(Nt),ut(Nt),bt(Nt)]},ft=>({circleTextColor:ft.colorText,defaultColor:ft.colorInfo,remainingColor:ft.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Dt=function(ft,St){var Nt={};for(var Ft in ft)Object.prototype.hasOwnProperty.call(ft,Ft)&&St.indexOf(Ft)<0&&(Nt[Ft]=ft[Ft]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,Ft=Object.getOwnPropertySymbols(ft);Zt<Ft.length;Zt++)St.indexOf(Ft[Zt])<0&&Object.prototype.propertyIsEnumerable.call(ft,Ft[Zt])&&(Nt[Ft[Zt]]=ft[Ft[Zt]]);return Nt};const Vt=null,kt=["normal","exception","active","success"];var _t=Re.forwardRef((ft,St)=>{const{prefixCls:Nt,className:Ft,rootClassName:Zt,steps:or,strokeColor:yr,percent:Sr=0,size:Fr="default",showInfo:Vr=!0,type:Br="line",status:Ur,format:on,style:Yr}=ft,Fn=Dt(ft,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),vn=Re.useMemo(()=>{var Kt,xt;const It=nt(ft);return parseInt(It!==void 0?(Kt=It!=null?It:0)===null||Kt===void 0?void 0:Kt.toString():(xt=Sr!=null?Sr:0)===null||xt===void 0?void 0:xt.toString(),10)},[Sr,ft.success,ft.successPercent]),Tn=Re.useMemo(()=>!kt.includes(Ur)&&vn>=100?"success":Ur||"normal",[Ur,vn]),{getPrefixCls:qr,direction:Un,progress:un}=Re.useContext(oe.E_),ar=qr("progress",Nt),[Nr,Mr]=gt(ar),Or=Re.useMemo(()=>{if(!Vr)return null;const Kt=nt(ft);let xt;const It=on||(At=>`${At}%`),Tt=Br==="line";return on||Tn!=="exception"&&Tn!=="success"?xt=It(Ye(Sr),Ye(Kt)):Tn==="exception"?xt=Tt?Re.createElement(De.Z,null):Re.createElement(ve.Z,null):Tn==="success"&&(xt=Tt?Re.createElement(vt.Z,null):Re.createElement(x.Z,null)),Re.createElement("span",{className:`${ar}-text`,title:typeof xt=="string"?xt:void 0},xt)},[Vr,Sr,vn,Tn,Br,ar,on]),Pr=Array.isArray(yr)?yr[0]:yr,Tr=typeof yr=="string"||Array.isArray(yr)?yr:void 0;let wr;Br==="line"?wr=or?Re.createElement(fe,Object.assign({},ft,{strokeColor:Tr,prefixCls:ar,steps:or}),Or):Re.createElement(We,Object.assign({},ft,{strokeColor:Pr,prefixCls:ar,direction:Un}),Or):(Br==="circle"||Br==="dashboard")&&(wr=Re.createElement(ht,Object.assign({},ft,{strokeColor:Pr,prefixCls:ar,progressStatus:Tn}),Or));const Xr=ne()(ar,`${ar}-status-${Tn}`,`${ar}-${Br==="dashboard"&&"circle"||or&&"steps"||Br}`,{[`${ar}-inline-circle`]:Br==="circle"&&et(Fr,"circle")[0]<=20,[`${ar}-show-info`]:Vr,[`${ar}-${Fr}`]:typeof Fr=="string",[`${ar}-rtl`]:Un==="rtl"},un==null?void 0:un.className,Ft,Zt,Mr);return Nr(Re.createElement("div",Object.assign({ref:St,style:Object.assign(Object.assign({},un==null?void 0:un.style),Yr),className:Xr,role:"progressbar","aria-valuenow":vn},(0,ie.Z)(Fn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),wr))}),Mt=_t},5112:function(sr,Wt,ke){"use strict";ke.d(Wt,{ZP:function(){return Ve}});var Re=ke(92310),vt=ke.n(Re),x=ke(18929),De=ke(26112),ve=ke(59301),re=ke(36355),ne=ke(19716);const ie=ve.createContext(null),oe=ie.Provider;var le=ie;const me=ve.createContext(null),te=me.Provider;var ae=ke(5630),ue=ke(8654),de=ke(1684),he=ke(32441),we=ke(17313),Se=ke(83116),xe=ke(37613);const ye=Ye=>{const{componentCls:nt,antCls:dt}=Ye,at=`${nt}-group`;return{[at]:Object.assign(Object.assign({},(0,we.Wf)(Ye)),{display:"inline-block",fontSize:0,[`&${at}-rtl`]:{direction:"rtl"},[`${dt}-badge ${dt}-badge-count`]:{zIndex:1},[`> ${dt}-badge:not(:first-child) > ${dt}-button-wrapper`]:{borderInlineStart:"none"}})}},Ae=Ye=>{const{componentCls:nt,wrapperMarginInlineEnd:dt,colorPrimary:at,radioSize:et,motionDurationSlow:qe,motionDurationMid:it,motionEaseInOutCirc:yt,colorBgContainer:ht,colorBorder:Bt,lineWidth:Et,dotSize:st,colorBgContainerDisabled:Ge,colorTextDisabled:We,paddingXS:se,dotColorDisabled:fe,lineType:ze,radioDotDisabledSize:He,wireframe:pe,colorWhite:Be}=Ye,Ke=`${nt}-inner`;return{[`${nt}-wrapper`]:Object.assign(Object.assign({},(0,we.Wf)(Ye)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:dt,cursor:"pointer",[`&${nt}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:Ye.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${nt}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Et}px ${ze} ${at}`,borderRadius:"50%",visibility:"hidden",content:'""'},[nt]:Object.assign(Object.assign({},(0,we.Wf)(Ye)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${nt}-wrapper:hover &,
&:hover ${Ke}`]:{borderColor:at},[`${nt}-input:focus-visible + ${Ke}`]:Object.assign({},(0,we.oN)(Ye)),[`${nt}:hover::after, ${nt}-wrapper:hover &::after`]:{visibility:"visible"},[`${nt}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:et,height:et,marginBlockStart:et/-2,marginInlineStart:et/-2,backgroundColor:pe?at:Be,borderBlockStart:0,borderInlineStart:0,borderRadius:et,transform:"scale(0)",opacity:0,transition:`all ${qe} ${yt}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:et,height:et,backgroundColor:ht,borderColor:Bt,borderStyle:"solid",borderWidth:Et,borderRadius:"50%",transition:`all ${it}`},[`${nt}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${nt}-checked`]:{[Ke]:{borderColor:at,backgroundColor:pe?ht:at,"&::after":{transform:`scale(${st/et})`,opacity:1,transition:`all ${qe} ${yt}`}}},[`${nt}-disabled`]:{cursor:"not-allowed",[Ke]:{backgroundColor:Ge,borderColor:Bt,cursor:"not-allowed","&::after":{backgroundColor:fe}},[`${nt}-input`]:{cursor:"not-allowed"},[`${nt}-disabled + span`]:{color:We,cursor:"not-allowed"},[`&${nt}-checked`]:{[Ke]:{"&::after":{transform:`scale(${He/et})`}}}},[`span${nt} + *`]:{paddingInlineStart:se,paddingInlineEnd:se}})}},Le=Ye=>{const{buttonColor:nt,controlHeight:dt,componentCls:at,lineWidth:et,lineType:qe,colorBorder:it,motionDurationSlow:yt,motionDurationMid:ht,buttonPaddingInline:Bt,fontSize:Et,buttonBg:st,fontSizeLG:Ge,controlHeightLG:We,controlHeightSM:se,paddingXS:fe,borderRadius:ze,borderRadiusSM:He,borderRadiusLG:pe,buttonCheckedBg:Be,buttonSolidCheckedColor:Ke,colorTextDisabled:Xe,colorBgContainerDisabled:Je,buttonCheckedBgDisabled:ut,buttonCheckedColorDisabled:bt,colorPrimary:gt,colorPrimaryHover:Dt,colorPrimaryActive:Vt,buttonSolidCheckedBg:kt,buttonSolidCheckedHoverBg:jt,buttonSolidCheckedActiveBg:_t}=Ye;return{[`${at}-button-wrapper`]:{position:"relative",display:"inline-block",height:dt,margin:0,paddingInline:Bt,paddingBlock:0,color:nt,fontSize:Et,lineHeight:`${dt-et*2}px`,background:st,border:`${et}px ${qe} ${it}`,borderBlockStartWidth:et+.02,borderInlineStartWidth:0,borderInlineEndWidth:et,cursor:"pointer",transition:[`color ${ht}`,`background ${ht}`,`box-shadow ${ht}`].join(","),a:{color:nt},[`> ${at}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-et,insetInlineStart:-et,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:et,paddingInline:0,backgroundColor:it,transition:`background-color ${yt}`,content:'""'}},"&:first-child":{borderInlineStart:`${et}px ${qe} ${it}`,borderStartStartRadius:ze,borderEndStartRadius:ze},"&:last-child":{borderStartEndRadius:ze,borderEndEndRadius:ze},"&:first-child:last-child":{borderRadius:ze},[`${at}-group-large &`]:{height:We,fontSize:Ge,lineHeight:`${We-et*2}px`,"&:first-child":{borderStartStartRadius:pe,borderEndStartRadius:pe},"&:last-child":{borderStartEndRadius:pe,borderEndEndRadius:pe}},[`${at}-group-small &`]:{height:se,paddingInline:fe-et,paddingBlock:0,lineHeight:`${se-et*2}px`,"&:first-child":{borderStartStartRadius:He,borderEndStartRadius:He},"&:last-child":{borderStartEndRadius:He,borderEndEndRadius:He}},"&:hover":{position:"relative",color:gt},"&:has(:focus-visible)":Object.assign({},(0,we.oN)(Ye)),[`${at}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${at}-button-wrapper-disabled)`]:{zIndex:1,color:gt,background:Be,borderColor:gt,"&::before":{backgroundColor:gt},"&:first-child":{borderColor:gt},"&:hover":{color:Dt,borderColor:Dt,"&::before":{backgroundColor:Dt}},"&:active":{color:Vt,borderColor:Vt,"&::before":{backgroundColor:Vt}}},[`${at}-group-solid &-checked:not(${at}-button-wrapper-disabled)`]:{color:Ke,background:kt,borderColor:kt,"&:hover":{color:Ke,background:jt,borderColor:jt},"&:active":{color:Ke,background:_t,borderColor:_t}},"&-disabled":{color:Xe,backgroundColor:Je,borderColor:it,cursor:"not-allowed","&:first-child, &:hover":{color:Xe,backgroundColor:Je,borderColor:it}},[`&-disabled${at}-button-wrapper-checked`]:{color:bt,backgroundColor:ut,borderColor:it,boxShadow:"none"}}}},Ee=Ye=>Ye-4*2;var _e=(0,Se.Z)("Radio",Ye=>{const{controlOutline:nt,controlOutlineWidth:dt,radioSize:at}=Ye,et=`0 0 0 ${dt}px ${nt}`,qe=et,it=Ee(at),yt=(0,xe.TS)(Ye,{radioDotDisabledSize:it,radioFocusShadow:et,radioButtonFocusShadow:qe});return[ye(yt),Ae(yt),Le(yt)]},Ye=>{const{wireframe:nt,padding:dt,marginXS:at,lineWidth:et,fontSizeLG:qe,colorText:it,colorBgContainer:yt,colorTextDisabled:ht,controlItemBgActiveDisabled:Bt,colorTextLightSolid:Et,colorPrimary:st,colorPrimaryHover:Ge,colorPrimaryActive:We}=Ye,se=4,fe=qe,ze=nt?Ee(fe):fe-(se+et)*2;return{radioSize:fe,dotSize:ze,dotColorDisabled:ht,buttonSolidCheckedColor:Et,buttonSolidCheckedBg:st,buttonSolidCheckedHoverBg:Ge,buttonSolidCheckedActiveBg:We,buttonBg:yt,buttonCheckedBg:yt,buttonColor:it,buttonCheckedBgDisabled:Bt,buttonCheckedColorDisabled:ht,buttonPaddingInline:dt-et,wrapperMarginInlineEnd:at}}),Me=ke(14088),Oe=ke(4572),Ce=function(Ye,nt){var dt={};for(var at in Ye)Object.prototype.hasOwnProperty.call(Ye,at)&&nt.indexOf(at)<0&&(dt[at]=Ye[at]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,at=Object.getOwnPropertySymbols(Ye);et<at.length;et++)nt.indexOf(at[et])<0&&Object.prototype.propertyIsEnumerable.call(Ye,at[et])&&(dt[at[et]]=Ye[at[et]]);return dt};const Ne=(Ye,nt)=>{var dt,at;const et=ve.useContext(le),qe=ve.useContext(me),{getPrefixCls:it,direction:yt,radio:ht}=ve.useContext(re.E_),Bt=ve.useRef(null),Et=(0,ue.sQ)(nt,Bt),{isFormItemInput:st}=ve.useContext(he.aM),Ge=Vt=>{var kt,jt;(kt=Ye.onChange)===null||kt===void 0||kt.call(Ye,Vt),(jt=et==null?void 0:et.onChange)===null||jt===void 0||jt.call(et,Vt)},{prefixCls:We,className:se,rootClassName:fe,children:ze,style:He}=Ye,pe=Ce(Ye,["prefixCls","className","rootClassName","children","style"]),Be=it("radio",We),Ke=((et==null?void 0:et.optionType)||qe)==="button",Xe=Ke?`${Be}-button`:Be,[Je,ut]=_e(Be),bt=Object.assign({},pe),gt=ve.useContext(de.Z);et&&(bt.name=et.name,bt.onChange=Ge,bt.checked=Ye.value===et.value,bt.disabled=(dt=bt.disabled)!==null&&dt!==void 0?dt:et.disabled),bt.disabled=(at=bt.disabled)!==null&&at!==void 0?at:gt;const Dt=vt()(`${Xe}-wrapper`,{[`${Xe}-wrapper-checked`]:bt.checked,[`${Xe}-wrapper-disabled`]:bt.disabled,[`${Xe}-wrapper-rtl`]:yt==="rtl",[`${Xe}-wrapper-in-form-item`]:st},ht==null?void 0:ht.className,se,fe,ut);return Je(ve.createElement(Me.Z,{component:"Radio",disabled:bt.disabled},ve.createElement("label",{className:Dt,style:Object.assign(Object.assign({},ht==null?void 0:ht.style),He),onMouseEnter:Ye.onMouseEnter,onMouseLeave:Ye.onMouseLeave},ve.createElement(ae.Z,Object.assign({},bt,{className:vt()(bt.className,!Ke&&Oe.A),type:"radio",prefixCls:Xe,ref:Et})),ze!==void 0?ve.createElement("span",null,ze):null)))};var Ze=ve.forwardRef(Ne);const Pe=ve.forwardRef((Ye,nt)=>{const{getPrefixCls:dt,direction:at}=ve.useContext(re.E_),[et,qe]=(0,x.Z)(Ye.defaultValue,{value:Ye.value}),it=kt=>{const jt=et,_t=kt.target.value;"value"in Ye||qe(_t);const{onChange:Mt}=Ye;Mt&&_t!==jt&&Mt(kt)},{prefixCls:yt,className:ht,rootClassName:Bt,options:Et,buttonStyle:st="outline",disabled:Ge,children:We,size:se,style:fe,id:ze,onMouseEnter:He,onMouseLeave:pe,onFocus:Be,onBlur:Ke}=Ye,Xe=dt("radio",yt),Je=`${Xe}-group`,[ut,bt]=_e(Xe);let gt=We;Et&&Et.length>0&&(gt=Et.map(kt=>typeof kt=="string"||typeof kt=="number"?ve.createElement(Ze,{key:kt.toString(),prefixCls:Xe,disabled:Ge,value:kt,checked:et===kt},kt):ve.createElement(Ze,{key:`radio-group-value-options-${kt.value}`,prefixCls:Xe,disabled:kt.disabled||Ge,value:kt.value,checked:et===kt.value,title:kt.title,style:kt.style},kt.label)));const Dt=(0,ne.Z)(se),Vt=vt()(Je,`${Je}-${st}`,{[`${Je}-${Dt}`]:Dt,[`${Je}-rtl`]:at==="rtl"},ht,Bt,bt);return ut(ve.createElement("div",Object.assign({},(0,De.Z)(Ye,{aria:!0,data:!0}),{className:Vt,style:fe,onMouseEnter:He,onMouseLeave:pe,onFocus:Be,onBlur:Ke,id:ze,ref:nt}),ve.createElement(oe,{value:{onChange:it,value:et,disabled:Ye.disabled,name:Ye.name,optionType:Ye.optionType}},gt)))});var Ue=ve.memo(Pe),Qe=function(Ye,nt){var dt={};for(var at in Ye)Object.prototype.hasOwnProperty.call(Ye,at)&&nt.indexOf(at)<0&&(dt[at]=Ye[at]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,at=Object.getOwnPropertySymbols(Ye);et<at.length;et++)nt.indexOf(at[et])<0&&Object.prototype.propertyIsEnumerable.call(Ye,at[et])&&(dt[at[et]]=Ye[at[et]]);return dt};const tt=(Ye,nt)=>{const{getPrefixCls:dt}=ve.useContext(re.E_),{prefixCls:at}=Ye,et=Qe(Ye,["prefixCls"]),qe=dt("radio",at);return ve.createElement(te,{value:"button"},ve.createElement(Ze,Object.assign({prefixCls:qe},et,{type:"radio",ref:nt})))};var ot=ve.forwardRef(tt);const lt=Ze;lt.Button=ot,lt.Group=Ue,lt.__ANT_RADIO=!0;var Ve=lt},13570:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return Ye}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(dt,at){return vt.createElement(ve.Z,(0,Re.Z)({},dt,{ref:at,icon:De}))},ne=vt.forwardRef(re),ie=ne,oe=ke(92310),le=ke.n(oe),me=ke(18642),te=ke(72190),ae=ke(42244),ue=ke(18929),de=ke(10228),he=ke(26112);function we(nt,dt){var at=nt.disabled,et=nt.prefixCls,qe=nt.character,it=nt.characterRender,yt=nt.index,ht=nt.count,Bt=nt.value,Et=nt.allowHalf,st=nt.focused,Ge=nt.onHover,We=nt.onClick,se=function(Je){Ge(Je,yt)},fe=function(Je){We(Je,yt)},ze=function(Je){Je.keyCode===de.Z.ENTER&&We(Je,yt)},He=yt+1,pe=new Set([et]);Bt===0&&yt===0&&st?pe.add("".concat(et,"-focused")):Et&&Bt+.5>=He&&Bt<He?(pe.add("".concat(et,"-half")),pe.add("".concat(et,"-active")),st&&pe.add("".concat(et,"-focused"))):(He<=Bt?pe.add("".concat(et,"-full")):pe.add("".concat(et,"-zero")),He===Bt&&st&&pe.add("".concat(et,"-focused")));var Be=typeof qe=="function"?qe(nt):qe,Ke=vt.createElement("li",{className:le()(Array.from(pe)),ref:dt},vt.createElement("div",{onClick:at?null:fe,onKeyDown:at?null:ze,onMouseMove:at?null:se,role:"radio","aria-checked":Bt>yt?"true":"false","aria-posinset":yt+1,"aria-setsize":ht,tabIndex:at?-1:0},vt.createElement("div",{className:"".concat(et,"-first")},Be),vt.createElement("div",{className:"".concat(et,"-second")},Be)));return it&&(Ke=it(Ke,nt)),Ke}var Se=vt.forwardRef(we);function xe(){var nt=vt.useRef({});function dt(et){return nt.current[et]}function at(et){return function(qe){nt.current[et]=qe}}return[dt,at]}function ye(nt){var dt=nt.pageXOffset,at="scrollLeft";if(typeof dt!="number"){var et=nt.document;dt=et.documentElement[at],typeof dt!="number"&&(dt=et.body[at])}return dt}function Ae(nt){var dt,at,et=nt.ownerDocument,qe=et.body,it=et&&et.documentElement,yt=nt.getBoundingClientRect();return dt=yt.left,at=yt.top,dt-=it.clientLeft||qe.clientLeft||0,at-=it.clientTop||qe.clientTop||0,{left:dt,top:at}}function Le(nt){var dt=Ae(nt),at=nt.ownerDocument,et=at.defaultView||at.parentWindow;return dt.left+=ye(et),dt.left}var Ee=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function _e(nt,dt){var at,et=nt.prefixCls,qe=et===void 0?"rc-rate":et,it=nt.className,yt=nt.defaultValue,ht=nt.value,Bt=nt.count,Et=Bt===void 0?5:Bt,st=nt.allowHalf,Ge=st===void 0?!1:st,We=nt.allowClear,se=We===void 0?!0:We,fe=nt.character,ze=fe===void 0?"\u2605":fe,He=nt.characterRender,pe=nt.disabled,Be=nt.direction,Ke=Be===void 0?"ltr":Be,Xe=nt.tabIndex,Je=Xe===void 0?0:Xe,ut=nt.autoFocus,bt=nt.onHoverChange,gt=nt.onChange,Dt=nt.onFocus,Vt=nt.onBlur,kt=nt.onKeyDown,jt=nt.onMouseLeave,_t=(0,ae.Z)(nt,Ee),Mt=xe(),ft=(0,te.Z)(Mt,2),St=ft[0],Nt=ft[1],Ft=vt.useRef(null),Zt=function(){if(!pe){var At;(At=Ft.current)===null||At===void 0||At.focus()}};vt.useImperativeHandle(dt,function(){return{focus:Zt,blur:function(){if(!pe){var At;(At=Ft.current)===null||At===void 0||At.blur()}}}});var or=(0,ue.Z)(yt||0,{value:ht}),yr=(0,te.Z)(or,2),Sr=yr[0],Fr=yr[1],Vr=(0,ue.Z)(null),Br=(0,te.Z)(Vr,2),Ur=Br[0],on=Br[1],Yr=function(At,zt){var Ut=Ke==="rtl",ir=At+1;if(Ge){var er=St(At),hr=Le(er),Cr=er.clientWidth;(Ut&&zt-hr>Cr/2||!Ut&&zt-hr<Cr/2)&&(ir-=.5)}return ir},Fn=function(At){Fr(At),gt==null||gt(At)},vn=vt.useState(!1),Tn=(0,te.Z)(vn,2),qr=Tn[0],Un=Tn[1],un=function(){Un(!0),Dt==null||Dt()},ar=function(){Un(!1),Vt==null||Vt()},Nr=vt.useState(null),Mr=(0,te.Z)(Nr,2),Or=Mr[0],Pr=Mr[1],Tr=function(At,zt){var Ut=Yr(zt,At.pageX);Ut!==Ur&&(Pr(Ut),on(null)),bt==null||bt(Ut)},wr=function(At){pe||(Pr(null),on(null),bt==null||bt(void 0)),At&&(jt==null||jt(At))},Xr=function(At,zt){var Ut=Yr(zt,At.pageX),ir=!1;se&&(ir=Ut===Sr),wr(),Fn(ir?0:Ut),on(ir?Ut:null)},Kt=function(At){var zt=At.keyCode,Ut=Ke==="rtl",ir=Sr;zt===de.Z.RIGHT&&ir<Et&&!Ut?(Ge?ir+=.5:ir+=1,Fn(ir),At.preventDefault()):zt===de.Z.LEFT&&ir>0&&!Ut||zt===de.Z.RIGHT&&ir>0&&Ut?(Ge?ir-=.5:ir-=1,Fn(ir),At.preventDefault()):zt===de.Z.LEFT&&ir<Et&&Ut&&(Ge?ir+=.5:ir+=1,Fn(ir),At.preventDefault()),kt==null||kt(At)};vt.useEffect(function(){ut&&!pe&&Zt()},[]);var xt=new Array(Et).fill(0).map(function(Tt,At){return vt.createElement(Se,{ref:Nt(At),index:At,count:Et,disabled:pe,prefixCls:"".concat(qe,"-star"),allowHalf:Ge,value:Or===null?Sr:Or,onClick:Xr,onHover:Tr,key:Tt||At,character:ze,characterRender:He,focused:qr})}),It=le()(qe,it,(at={},(0,me.Z)(at,"".concat(qe,"-disabled"),pe),(0,me.Z)(at,"".concat(qe,"-rtl"),Ke==="rtl"),at));return vt.createElement("ul",(0,Re.Z)({className:It,onMouseLeave:wr,tabIndex:pe?-1:Je,onFocus:pe?null:un,onBlur:pe?null:ar,onKeyDown:pe?null:Kt,ref:Ft,role:"radiogroup"},(0,he.Z)(_t,{aria:!0,data:!0,attr:!0})),xt)}var Me=vt.forwardRef(_e),Oe=Me,Ce=ke(36355),Ne=ke(6848),je=ke(17313),Ze=ke(83116),Pe=ke(37613);const Ue=nt=>{const{componentCls:dt}=nt;return{[`${dt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:nt.marginXS},"> div":{transition:`all ${nt.motionDurationMid}, outline 0s`,"&:hover":{transform:nt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${nt.lineWidth}px dashed ${nt.starColor}`,transform:nt.starHoverScale}},"&-first, &-second":{color:nt.starBg,transition:`all ${nt.motionDurationMid}`,userSelect:"none",[nt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${dt}-star-first, &-half ${dt}-star-second`]:{opacity:1},[`&-half ${dt}-star-first, &-full ${dt}-star-second`]:{color:"inherit"}}}},Qe=nt=>({[`&-rtl${nt.componentCls}`]:{direction:"rtl"}}),tt=nt=>{const{componentCls:dt}=nt;return{[dt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,je.Wf)(nt)),{display:"inline-block",margin:0,padding:0,color:nt.starColor,fontSize:nt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${dt} ${dt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ue(nt)),{[`+ ${dt}-text`]:{display:"inline-block",marginInlineStart:nt.marginXS,fontSize:nt.fontSize}}),Qe(nt))}};var ot=(0,Ze.Z)("Rate",nt=>{const dt=(0,Pe.TS)(nt,{});return[tt(dt)]},nt=>({starColor:nt.yellow6,starSize:nt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:nt.colorFillContent})),lt=function(nt,dt){var at={};for(var et in nt)Object.prototype.hasOwnProperty.call(nt,et)&&dt.indexOf(et)<0&&(at[et]=nt[et]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,et=Object.getOwnPropertySymbols(nt);qe<et.length;qe++)dt.indexOf(et[qe])<0&&Object.prototype.propertyIsEnumerable.call(nt,et[qe])&&(at[et[qe]]=nt[et[qe]]);return at},Ye=vt.forwardRef((nt,dt)=>{const{prefixCls:at,className:et,rootClassName:qe,style:it,tooltips:yt,character:ht=vt.createElement(ie,null)}=nt,Bt=lt(nt,["prefixCls","className","rootClassName","style","tooltips","character"]),Et=(pe,Be)=>{let{index:Ke}=Be;return yt?vt.createElement(Ne.Z,{title:yt[Ke]},pe):pe},{getPrefixCls:st,direction:Ge,rate:We}=vt.useContext(Ce.E_),se=st("rate",at),[fe,ze]=ot(se),He=Object.assign(Object.assign({},We==null?void 0:We.style),it);return fe(vt.createElement(Oe,Object.assign({ref:dt,character:ht,characterRender:Et},Bt,{className:le()(et,qe,ze,We==null?void 0:We.className),style:He,prefixCls:se,direction:Ge})))})},57809:function(sr,Wt,ke){"use strict";var Re=ke(92310),vt=ke.n(Re),x=ke(77861),De=ke(2738),ve=ke(59301),re=ke(53487),ne=ke(62892),ie=ke(19080),oe=ke(36355),le=ke(1684),me=ke(93891),te=ke(19716),ae=ke(32441),ue=ke(33234),de=ke(14154),he=ke(58582),we=ke(84443),Se=ke(66339),xe=function(_e,Me){var Oe={};for(var Ce in _e)Object.prototype.hasOwnProperty.call(_e,Ce)&&Me.indexOf(Ce)<0&&(Oe[Ce]=_e[Ce]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Ce=Object.getOwnPropertySymbols(_e);Ne<Ce.length;Ne++)Me.indexOf(Ce[Ne])<0&&Object.prototype.propertyIsEnumerable.call(_e,Ce[Ne])&&(Oe[Ce[Ne]]=_e[Ce[Ne]]);return Oe};const ye="SECRET_COMBOBOX_MODE_DO_NOT_USE",Ae=(_e,Me)=>{var Oe,{prefixCls:Ce,bordered:Ne=!0,className:je,rootClassName:Ze,getPopupContainer:Pe,popupClassName:Ue,dropdownClassName:Qe,listHeight:tt=256,placement:ot,listItemHeight:lt=24,size:Ve,disabled:Ye,notFoundContent:nt,status:dt,builtinPlacements:at,dropdownMatchSelectWidth:et,popupMatchSelectWidth:qe,direction:it,style:yt,allowClear:ht}=_e,Bt=xe(_e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Et,getPrefixCls:st,renderEmpty:Ge,direction:We,virtual:se,popupMatchSelectWidth:fe,popupOverflow:ze,select:He}=ve.useContext(oe.E_),pe=st("select",Ce),Be=st(),Ke=it!=null?it:We,{compactSize:Xe,compactItemClassnames:Je}=(0,ue.ri)(pe,Ke),[ut,bt]=(0,de.Z)(pe),gt=ve.useMemo(()=>{const{mode:Tn}=Bt;if(Tn!=="combobox")return Tn===ye?"combobox":Tn},[Bt.mode]),Dt=gt==="multiple"||gt==="tags",Vt=(0,we.Z)(Bt.suffixIcon,Bt.showArrow),kt=(Oe=qe!=null?qe:et)!==null&&Oe!==void 0?Oe:fe,{status:jt,hasFeedback:_t,isFormItemInput:Mt,feedbackIcon:ft}=ve.useContext(ae.aM),St=(0,ie.F)(jt,dt);let Nt;nt!==void 0?Nt=nt:gt==="combobox"?Nt=null:Nt=(Ge==null?void 0:Ge("Select"))||ve.createElement(me.Z,{componentName:"Select"});const{suffixIcon:Ft,itemIcon:Zt,removeIcon:or,clearIcon:yr}=(0,Se.Z)(Object.assign(Object.assign({},Bt),{multiple:Dt,hasFeedback:_t,feedbackIcon:ft,showSuffixIcon:Vt,prefixCls:pe,showArrow:Bt.showArrow,componentName:"Select"})),Sr=ht===!0?{clearIcon:yr}:ht,Fr=(0,De.Z)(Bt,["suffixIcon","itemIcon"]),Vr=vt()(Ue||Qe,{[`${pe}-dropdown-${Ke}`]:Ke==="rtl"},Ze,bt),Br=(0,te.Z)(Tn=>{var qr;return(qr=Ve!=null?Ve:Xe)!==null&&qr!==void 0?qr:Tn}),Ur=ve.useContext(le.Z),on=Ye!=null?Ye:Ur,Yr=vt()({[`${pe}-lg`]:Br==="large",[`${pe}-sm`]:Br==="small",[`${pe}-rtl`]:Ke==="rtl",[`${pe}-borderless`]:!Ne,[`${pe}-in-form-item`]:Mt},(0,ie.Z)(pe,St,_t),Je,He==null?void 0:He.className,je,Ze,bt),Fn=ve.useMemo(()=>ot!==void 0?ot:Ke==="rtl"?"bottomRight":"bottomLeft",[ot,Ke]),vn=(0,he.Z)(at,ze);return ut(ve.createElement(x.ZP,Object.assign({ref:Me,virtual:se,showSearch:He==null?void 0:He.showSearch},Fr,{style:Object.assign(Object.assign({},He==null?void 0:He.style),yt),dropdownMatchSelectWidth:kt,builtinPlacements:vn,transitionName:(0,ne.m)(Be,"slide-up",Bt.transitionName),listHeight:tt,listItemHeight:lt,mode:gt,prefixCls:pe,placement:Fn,direction:Ke,suffixIcon:Ft,menuItemSelectedIcon:Zt,removeIcon:or,allowClear:Sr,notFoundContent:Nt,className:Yr,getPopupContainer:Pe||Et,dropdownClassName:Vr,disabled:on})))},Le=ve.forwardRef(Ae),Ee=(0,re.Z)(Le);Le.SECRET_COMBOBOX_MODE_DO_NOT_USE=ye,Le.Option=x.Wx,Le.OptGroup=x.Xo,Le._InternalPanelDoNotUseOrYouWillBeFired=Ee,Wt.default=Le},14154:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return Le}});var Re=ke(17313),vt=ke(74207),x=ke(37613),De=ke(83116),ve=ke(13826),re=ke(92899);const ne=Ee=>{const{optionHeight:_e,optionFontSize:Me,optionLineHeight:Oe,optionPadding:Ce}=Ee;return{position:"relative",display:"block",minHeight:_e,padding:Ce,color:Ee.colorText,fontWeight:"normal",fontSize:Me,lineHeight:Oe,boxSizing:"border-box"}};var oe=Ee=>{const{antCls:_e,componentCls:Me}=Ee,Oe=`${Me}-item`,Ce=`&${_e}-slide-up-enter${_e}-slide-up-enter-active`,Ne=`&${_e}-slide-up-appear${_e}-slide-up-appear-active`,je=`&${_e}-slide-up-leave${_e}-slide-up-leave-active`,Ze=`${Me}-dropdown-placement-`;return[{[`${Me}-dropdown`]:Object.assign(Object.assign({},(0,Re.Wf)(Ee)),{position:"absolute",top:-9999,zIndex:Ee.zIndexPopup,boxSizing:"border-box",padding:Ee.paddingXXS,overflow:"hidden",fontSize:Ee.fontSize,fontVariant:"initial",backgroundColor:Ee.colorBgElevated,borderRadius:Ee.borderRadiusLG,outline:"none",boxShadow:Ee.boxShadowSecondary,[`
${Ce}${Ze}bottomLeft,
${Ne}${Ze}bottomLeft
`]:{animationName:ve.fJ},[`
${Ce}${Ze}topLeft,
${Ne}${Ze}topLeft,
${Ce}${Ze}topRight,
${Ne}${Ze}topRight
`]:{animationName:ve.Qt},[`${je}${Ze}bottomLeft`]:{animationName:ve.Uw},[`
${je}${Ze}topLeft,
${je}${Ze}topRight
`]:{animationName:ve.ly},"&-hidden":{display:"none"},[`${Oe}`]:Object.assign(Object.assign({},ne(Ee)),{cursor:"pointer",transition:`background ${Ee.motionDurationSlow} ease`,borderRadius:Ee.borderRadiusSM,"&-group":{color:Ee.colorTextDescription,fontSize:Ee.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Re.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Oe}-option-disabled)`]:{backgroundColor:Ee.optionActiveBg},[`&-selected:not(${Oe}-option-disabled)`]:{color:Ee.optionSelectedColor,fontWeight:Ee.optionSelectedFontWeight,backgroundColor:Ee.optionSelectedBg,[`${Oe}-option-state`]:{color:Ee.colorPrimary}},"&-disabled":{[`&${Oe}-option-selected`]:{backgroundColor:Ee.colorBgContainerDisabled},color:Ee.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:Ee.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,ve.oN)(Ee,"slide-up"),(0,ve.oN)(Ee,"slide-down"),(0,re.Fm)(Ee,"move-up"),(0,re.Fm)(Ee,"move-down")]};const le=2,me=Ee=>{let{controlHeightSM:_e,controlHeight:Me,lineWidth:Oe}=Ee;const Ce=(Me-_e)/2-Oe,Ne=Math.ceil(Ce/2);return[Ce,Ne]};function te(Ee,_e){const{componentCls:Me,iconCls:Oe}=Ee,Ce=`${Me}-selection-overflow`,Ne=Ee.multipleSelectItemHeight,[je]=me(Ee),Ze=_e?`${Me}-${_e}`:"";return{[`${Me}-multiple${Ze}`]:{fontSize:Ee.fontSize,[Ce]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${Me}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${je-le}px ${le*2}px`,borderRadius:Ee.borderRadius,[`${Me}-show-search&`]:{cursor:"text"},[`${Me}-disabled&`]:{background:Ee.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${le}px 0`,lineHeight:`${Ne}px`,visibility:"hidden",content:'"\\a0"'}},[`
&${Me}-show-arrow ${Me}-selector,
&${Me}-allow-clear ${Me}-selector
`]:{paddingInlineEnd:Ee.fontSizeIcon+Ee.controlPaddingHorizontal},[`${Me}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:Ne,marginTop:le,marginBottom:le,lineHeight:`${Ne-Ee.lineWidth*2}px`,background:Ee.multipleItemBg,border:`${Ee.lineWidth}px ${Ee.lineType} ${Ee.multipleItemBorderColor}`,borderRadius:Ee.borderRadiusSM,cursor:"default",transition:`font-size ${Ee.motionDurationSlow}, line-height ${Ee.motionDurationSlow}, height ${Ee.motionDurationSlow}`,userSelect:"none",marginInlineEnd:le*2,paddingInlineStart:Ee.paddingXS,paddingInlineEnd:Ee.paddingXS/2,[`${Me}-disabled&`]:{color:Ee.multipleItemColorDisabled,borderColor:Ee.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:Ee.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Re.Ro)()),{display:"inline-flex",alignItems:"center",color:Ee.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Oe}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Ee.colorIconHover}})},[`${Ce}-item + ${Ce}-item`]:{[`${Me}-selection-search`]:{marginInlineStart:0}},[`${Me}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:Ee.inputPaddingHorizontalBase-je,"\n &-input,\n &-mirror\n ":{height:Ne,fontFamily:Ee.fontFamily,lineHeight:`${Ne}px`,transition:`all ${Ee.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Me}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:Ee.inputPaddingHorizontalBase,insetInlineEnd:Ee.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${Ee.motionDurationSlow}`}}}}var ue=Ee=>{const{componentCls:_e}=Ee,Me=(0,x.TS)(Ee,{controlHeight:Ee.controlHeightSM,multipleSelectItemHeight:Ee.controlHeightXS,borderRadius:Ee.borderRadiusSM,borderRadiusSM:Ee.borderRadiusXS}),Oe=(0,x.TS)(Ee,{fontSize:Ee.fontSizeLG,controlHeight:Ee.controlHeightLG,multipleSelectItemHeight:Ee.multipleItemHeightLG,borderRadius:Ee.borderRadiusLG,borderRadiusSM:Ee.borderRadius}),[,Ce]=me(Ee);return[te(Ee),te(Me,"sm"),{[`${_e}-multiple${_e}-sm`]:{[`${_e}-selection-placeholder`]:{insetInline:Ee.controlPaddingHorizontalSM-Ee.lineWidth},[`${_e}-selection-search`]:{marginInlineStart:Ce}}},te(Oe,"lg")]};function de(Ee,_e){const{componentCls:Me,inputPaddingHorizontalBase:Oe,borderRadius:Ce}=Ee,Ne=Ee.controlHeight-Ee.lineWidth*2,je=Math.ceil(Ee.fontSize*1.25),Ze=_e?`${Me}-${_e}`:"";return{[`${Me}-single${Ze}`]:{fontSize:Ee.fontSize,[`${Me}-selector`]:Object.assign(Object.assign({},(0,Re.Wf)(Ee)),{display:"flex",borderRadius:Ce,[`${Me}-selection-search`]:{position:"absolute",top:0,insetInlineStart:Oe,insetInlineEnd:Oe,bottom:0,"&-input":{width:"100%"}},[`
${Me}-selection-item,
${Me}-selection-placeholder
`]:{padding:0,lineHeight:`${Ne}px`,transition:`all ${Ee.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${Ne}px`}},[`${Me}-selection-item`]:{position:"relative",userSelect:"none"},[`${Me}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Me}-selection-item:after`,`${Me}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${Me}-show-arrow ${Me}-selection-item,
&${Me}-show-arrow ${Me}-selection-placeholder
`]:{paddingInlineEnd:je},[`&${Me}-open ${Me}-selection-item`]:{color:Ee.colorTextPlaceholder},[`&:not(${Me}-customize-input)`]:{[`${Me}-selector`]:{width:"100%",height:Ee.controlHeight,padding:`0 ${Oe}px`,[`${Me}-selection-search-input`]:{height:Ne},"&:after":{lineHeight:`${Ne}px`}}},[`&${Me}-customize-input`]:{[`${Me}-selector`]:{"&:after":{display:"none"},[`${Me}-selection-search`]:{position:"static",width:"100%"},[`${Me}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Oe}px`,"&:after":{display:"none"}}}}}}}function he(Ee){const{componentCls:_e}=Ee,Me=Ee.controlPaddingHorizontalSM-Ee.lineWidth;return[de(Ee),de((0,x.TS)(Ee,{controlHeight:Ee.controlHeightSM,borderRadius:Ee.borderRadiusSM}),"sm"),{[`${_e}-single${_e}-sm`]:{[`&:not(${_e}-customize-input)`]:{[`${_e}-selection-search`]:{insetInlineStart:Me,insetInlineEnd:Me},[`${_e}-selector`]:{padding:`0 ${Me}px`},[`&${_e}-show-arrow ${_e}-selection-search`]:{insetInlineEnd:Me+Ee.fontSize*1.5},[`
&${_e}-show-arrow ${_e}-selection-item,
&${_e}-show-arrow ${_e}-selection-placeholder
`]:{paddingInlineEnd:Ee.fontSize*1.5}}}},de((0,x.TS)(Ee,{controlHeight:Ee.singleItemHeightLG,fontSize:Ee.fontSizeLG,borderRadius:Ee.borderRadiusLG}),"lg")]}const we=Ee=>{const{componentCls:_e,selectorBg:Me}=Ee;return{position:"relative",backgroundColor:Me,border:`${Ee.lineWidth}px ${Ee.lineType} ${Ee.colorBorder}`,transition:`all ${Ee.motionDurationMid} ${Ee.motionEaseInOut}`,input:{cursor:"pointer"},[`${_e}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${_e}-disabled&`]:{color:Ee.colorTextDisabled,background:Ee.colorBgContainerDisabled,cursor:"not-allowed",[`${_e}-multiple&`]:{background:Ee.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},Se=function(Ee,_e){let Me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:Oe,borderHoverColor:Ce,outlineColor:Ne,antCls:je}=_e,Ze=Me?{[`${Oe}-selector`]:{borderColor:Ce}}:{};return{[Ee]:{[`&:not(${Oe}-disabled):not(${Oe}-customize-input):not(${je}-pagination-size-changer)`]:Object.assign(Object.assign({},Ze),{[`${Oe}-focused& ${Oe}-selector`]:{borderColor:Ce,boxShadow:`0 0 0 ${_e.controlOutlineWidth}px ${Ne}`,outline:0},[`&:hover ${Oe}-selector`]:{borderColor:Ce}})}}},xe=Ee=>{const{componentCls:_e}=Ee;return{[`${_e}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},ye=Ee=>{const{componentCls:_e,inputPaddingHorizontalBase:Me,iconCls:Oe}=Ee;return{[_e]:Object.assign(Object.assign({},(0,Re.Wf)(Ee)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${_e}-customize-input) ${_e}-selector`]:Object.assign(Object.assign({},we(Ee)),xe(Ee)),[`${_e}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},Re.vS),[`${_e}-selection-placeholder`]:Object.assign(Object.assign({},Re.vS),{flex:1,color:Ee.colorTextPlaceholder,pointerEvents:"none"}),[`${_e}-arrow`]:Object.assign(Object.assign({},(0,Re.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Me,height:Ee.fontSizeIcon,marginTop:-Ee.fontSizeIcon/2,color:Ee.colorTextQuaternary,fontSize:Ee.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[Oe]:{verticalAlign:"top",transition:`transform ${Ee.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${_e}-suffix)`]:{pointerEvents:"auto"}},[`${_e}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${_e}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Me,zIndex:1,display:"inline-block",width:Ee.fontSizeIcon,height:Ee.fontSizeIcon,marginTop:-Ee.fontSizeIcon/2,color:Ee.colorTextQuaternary,fontSize:Ee.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:Ee.clearBg,cursor:"pointer",opacity:0,transition:`color ${Ee.motionDurationMid} ease, opacity ${Ee.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:Ee.colorTextTertiary}},"&:hover":{[`${_e}-clear`]:{opacity:1}}}),[`${_e}-has-feedback`]:{[`${_e}-clear`]:{insetInlineEnd:Me+Ee.fontSize+Ee.paddingXS}}}},Ae=Ee=>{const{componentCls:_e}=Ee;return[{[_e]:{[`&-borderless ${_e}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${_e}-in-form-item`]:{width:"100%"}}},ye(Ee),he(Ee),ue(Ee),oe(Ee),{[`${_e}-rtl`]:{direction:"rtl"}},Se(_e,(0,x.TS)(Ee,{borderHoverColor:Ee.colorPrimaryHover,outlineColor:Ee.controlOutline})),Se(`${_e}-status-error`,(0,x.TS)(Ee,{borderHoverColor:Ee.colorErrorHover,outlineColor:Ee.colorErrorOutline}),!0),Se(`${_e}-status-warning`,(0,x.TS)(Ee,{borderHoverColor:Ee.colorWarningHover,outlineColor:Ee.colorWarningOutline}),!0),(0,vt.c)(Ee,{borderElCls:`${_e}-selector`,focusElCls:`${_e}-focused`})]};var Le=(0,De.Z)("Select",(Ee,_e)=>{let{rootPrefixCls:Me}=_e;const Oe=(0,x.TS)(Ee,{rootPrefixCls:Me,inputPaddingHorizontalBase:Ee.paddingSM-1,multipleSelectItemHeight:Ee.multipleItemHeight});return[Ae(Oe)]},Ee=>{const{fontSize:_e,lineHeight:Me,controlHeight:Oe,controlPaddingHorizontal:Ce,zIndexPopupBase:Ne,colorText:je,fontWeightStrong:Ze,controlItemBgActive:Pe,controlItemBgHover:Ue,colorBgContainer:Qe,colorFillSecondary:tt,controlHeightLG:ot,controlHeightSM:lt,colorBgContainerDisabled:Ve,colorTextDisabled:Ye}=Ee;return{zIndexPopup:Ne+50,optionSelectedColor:je,optionSelectedFontWeight:Ze,optionSelectedBg:Pe,optionActiveBg:Ue,optionPadding:`${(Oe-_e*Me)/2}px ${Ce}px`,optionFontSize:_e,optionLineHeight:Me,optionHeight:Oe,selectorBg:Qe,clearBg:Qe,singleItemHeightLG:ot,multipleItemBg:tt,multipleItemBorderColor:"transparent",multipleItemHeight:lt,multipleItemHeightLG:Oe,multipleSelectorBgDisabled:Ve,multipleItemColorDisabled:Ye,multipleItemBorderColorDisabled:"transparent"}})},58582:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return vt}});const Re=x=>{const ve={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:x==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},ve),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},ve),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},ve),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},ve),{points:["br","tr"],offset:[0,-4]})}};function vt(x,De){return x||Re(De)}},84443:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return Re}});function Re(vt,x){return x!==void 0?x:vt!==null}},66339:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});var Re=ke(40001),vt=ke(19248),x=ke(99267),De=ke(84105),ve=ke(58617),re=ke(47472),ne=ke(59301);function ie(oe){let{suffixIcon:le,clearIcon:me,menuItemSelectedIcon:te,removeIcon:ae,loading:ue,multiple:de,hasFeedback:he,prefixCls:we,showSuffixIcon:Se,feedbackIcon:xe,showArrow:ye,componentName:Ae}=oe;const Le=me!=null?me:ne.createElement(vt.Z,null),Ee=Ce=>le===null&&!he&&!ye?null:ne.createElement(ne.Fragment,null,Se!==!1&&Ce,he&&xe);let _e=null;if(le!==void 0)_e=Ee(le);else if(ue)_e=Ee(ne.createElement(ve.Z,{spin:!0}));else{const Ce=`${we}-suffix`;_e=Ne=>{let{open:je,showSearch:Ze}=Ne;return Ee(je&&Ze?ne.createElement(re.Z,{className:Ce}):ne.createElement(De.Z,{className:Ce}))}}let Me=null;te!==void 0?Me=te:de?Me=ne.createElement(Re.Z,null):Me=null;let Oe=null;return ae!==void 0?Oe=ae:Oe=ne.createElement(x.Z,null),{clearIcon:Le,suffixIcon:_e,itemIcon:Me,removeIcon:Oe}}},61621:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ze}});var Re=ke(92310),vt=ke.n(Re),x=ke(59301),De=ke(36355),ve=ke(2738),ne=He=>{const{prefixCls:pe,className:Be,style:Ke,size:Xe,shape:Je}=He,ut=vt()({[`${pe}-lg`]:Xe==="large",[`${pe}-sm`]:Xe==="small"}),bt=vt()({[`${pe}-circle`]:Je==="circle",[`${pe}-square`]:Je==="square",[`${pe}-round`]:Je==="round"}),gt=x.useMemo(()=>typeof Xe=="number"?{width:Xe,height:Xe,lineHeight:`${Xe}px`}:{},[Xe]);return x.createElement("span",{className:vt()(pe,ut,bt,Be),style:Object.assign(Object.assign({},gt),Ke)})},ie=ke(36237),oe=ke(83116),le=ke(37613);const me=new ie.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),te=He=>({height:He,lineHeight:`${He}px`}),ae=He=>Object.assign({width:He},te(He)),ue=He=>({background:He.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:me,animationDuration:He.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),de=He=>Object.assign({width:He*5,minWidth:He*5},te(He)),he=He=>{const{skeletonAvatarCls:pe,gradientFromColor:Be,controlHeight:Ke,controlHeightLG:Xe,controlHeightSM:Je}=He;return{[`${pe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Be},ae(Ke)),[`${pe}${pe}-circle`]:{borderRadius:"50%"},[`${pe}${pe}-lg`]:Object.assign({},ae(Xe)),[`${pe}${pe}-sm`]:Object.assign({},ae(Je))}},we=He=>{const{controlHeight:pe,borderRadiusSM:Be,skeletonInputCls:Ke,controlHeightLG:Xe,controlHeightSM:Je,gradientFromColor:ut}=He;return{[`${Ke}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ut,borderRadius:Be},de(pe)),[`${Ke}-lg`]:Object.assign({},de(Xe)),[`${Ke}-sm`]:Object.assign({},de(Je))}},Se=He=>Object.assign({width:He},te(He)),xe=He=>{const{skeletonImageCls:pe,imageSizeBase:Be,gradientFromColor:Ke,borderRadiusSM:Xe}=He;return{[`${pe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Ke,borderRadius:Xe},Se(Be*2)),{[`${pe}-path`]:{fill:"#bfbfbf"},[`${pe}-svg`]:Object.assign(Object.assign({},Se(Be)),{maxWidth:Be*4,maxHeight:Be*4}),[`${pe}-svg${pe}-svg-circle`]:{borderRadius:"50%"}}),[`${pe}${pe}-circle`]:{borderRadius:"50%"}}},ye=(He,pe,Be)=>{const{skeletonButtonCls:Ke}=He;return{[`${Be}${Ke}-circle`]:{width:pe,minWidth:pe,borderRadius:"50%"},[`${Be}${Ke}-round`]:{borderRadius:pe}}},Ae=He=>Object.assign({width:He*2,minWidth:He*2},te(He)),Le=He=>{const{borderRadiusSM:pe,skeletonButtonCls:Be,controlHeight:Ke,controlHeightLG:Xe,controlHeightSM:Je,gradientFromColor:ut}=He;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Be}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ut,borderRadius:pe,width:Ke*2,minWidth:Ke*2},Ae(Ke))},ye(He,Ke,Be)),{[`${Be}-lg`]:Object.assign({},Ae(Xe))}),ye(He,Xe,`${Be}-lg`)),{[`${Be}-sm`]:Object.assign({},Ae(Je))}),ye(He,Je,`${Be}-sm`))},Ee=He=>{const{componentCls:pe,skeletonAvatarCls:Be,skeletonTitleCls:Ke,skeletonParagraphCls:Xe,skeletonButtonCls:Je,skeletonInputCls:ut,skeletonImageCls:bt,controlHeight:gt,controlHeightLG:Dt,controlHeightSM:Vt,gradientFromColor:kt,padding:jt,marginSM:_t,borderRadius:Mt,titleHeight:ft,blockRadius:St,paragraphLiHeight:Nt,controlHeightXS:Ft,paragraphMarginTop:Zt}=He;return{[`${pe}`]:{display:"table",width:"100%",[`${pe}-header`]:{display:"table-cell",paddingInlineEnd:jt,verticalAlign:"top",[`${Be}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:kt},ae(gt)),[`${Be}-circle`]:{borderRadius:"50%"},[`${Be}-lg`]:Object.assign({},ae(Dt)),[`${Be}-sm`]:Object.assign({},ae(Vt))},[`${pe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Ke}`]:{width:"100%",height:ft,background:kt,borderRadius:St,[`+ ${Xe}`]:{marginBlockStart:Vt}},[`${Xe}`]:{padding:0,"> li":{width:"100%",height:Nt,listStyle:"none",background:kt,borderRadius:St,"+ li":{marginBlockStart:Ft}}},[`${Xe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${pe}-content`]:{[`${Ke}, ${Xe} > li`]:{borderRadius:Mt}}},[`${pe}-with-avatar ${pe}-content`]:{[`${Ke}`]:{marginBlockStart:_t,[`+ ${Xe}`]:{marginBlockStart:Zt}}},[`${pe}${pe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Le(He)),he(He)),we(He)),xe(He)),[`${pe}${pe}-block`]:{width:"100%",[`${Je}`]:{width:"100%"},[`${ut}`]:{width:"100%"}},[`${pe}${pe}-active`]:{[`
${Ke},
${Xe} > li,
${Be},
${Je},
${ut},
${bt}
`]:Object.assign({},ue(He))}}};var _e=(0,oe.Z)("Skeleton",He=>{const{componentCls:pe}=He,Be=(0,le.TS)(He,{skeletonAvatarCls:`${pe}-avatar`,skeletonTitleCls:`${pe}-title`,skeletonParagraphCls:`${pe}-paragraph`,skeletonButtonCls:`${pe}-button`,skeletonInputCls:`${pe}-input`,skeletonImageCls:`${pe}-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[Ee(Be)]},He=>{const{colorFillContent:pe,colorFill:Be}=He,Ke=pe,Xe=Be;return{color:Ke,colorGradientEnd:Xe,gradientFromColor:Ke,gradientToColor:Xe,titleHeight:He.controlHeight/2,blockRadius:He.borderRadiusSM,paragraphMarginTop:He.marginLG+He.marginXXS,paragraphLiHeight:He.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Oe=He=>{const{prefixCls:pe,className:Be,rootClassName:Ke,active:Xe,shape:Je="circle",size:ut="default"}=He,{getPrefixCls:bt}=x.useContext(De.E_),gt=bt("skeleton",pe),[Dt,Vt]=_e(gt),kt=(0,ve.Z)(He,["prefixCls","className"]),jt=vt()(gt,`${gt}-element`,{[`${gt}-active`]:Xe},Be,Ke,Vt);return Dt(x.createElement("div",{className:jt},x.createElement(ne,Object.assign({prefixCls:`${gt}-avatar`,shape:Je,size:ut},kt))))},Ne=He=>{const{prefixCls:pe,className:Be,rootClassName:Ke,active:Xe,block:Je=!1,size:ut="default"}=He,{getPrefixCls:bt}=x.useContext(De.E_),gt=bt("skeleton",pe),[Dt,Vt]=_e(gt),kt=(0,ve.Z)(He,["prefixCls"]),jt=vt()(gt,`${gt}-element`,{[`${gt}-active`]:Xe,[`${gt}-block`]:Je},Be,Ke,Vt);return Dt(x.createElement("div",{className:jt},x.createElement(ne,Object.assign({prefixCls:`${gt}-button`,size:ut},kt))))};const je="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 Pe=He=>{const{prefixCls:pe,className:Be,rootClassName:Ke,style:Xe,active:Je}=He,{getPrefixCls:ut}=x.useContext(De.E_),bt=ut("skeleton",pe),[gt,Dt]=_e(bt),Vt=vt()(bt,`${bt}-element`,{[`${bt}-active`]:Je},Be,Ke,Dt);return gt(x.createElement("div",{className:Vt},x.createElement("div",{className:vt()(`${bt}-image`,Be),style:Xe},x.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${bt}-image-svg`},x.createElement("path",{d:je,className:`${bt}-image-path`})))))},Qe=He=>{const{prefixCls:pe,className:Be,rootClassName:Ke,active:Xe,block:Je,size:ut="default"}=He,{getPrefixCls:bt}=x.useContext(De.E_),gt=bt("skeleton",pe),[Dt,Vt]=_e(gt),kt=(0,ve.Z)(He,["prefixCls"]),jt=vt()(gt,`${gt}-element`,{[`${gt}-active`]:Xe,[`${gt}-block`]:Je},Be,Ke,Vt);return Dt(x.createElement("div",{className:jt},x.createElement(ne,Object.assign({prefixCls:`${gt}-input`,size:ut},kt))))},tt=ke(60499),ot={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"},lt=ot,Ve=ke(7657),Ye=function(pe,Be){return x.createElement(Ve.Z,(0,tt.Z)({},pe,{ref:Be,icon:lt}))},nt=x.forwardRef(Ye),dt=nt,et=He=>{const{prefixCls:pe,className:Be,rootClassName:Ke,style:Xe,active:Je,children:ut}=He,{getPrefixCls:bt}=x.useContext(De.E_),gt=bt("skeleton",pe),[Dt,Vt]=_e(gt),kt=vt()(gt,`${gt}-element`,{[`${gt}-active`]:Je},Vt,Be,Ke),jt=ut!=null?ut:x.createElement(dt,null);return Dt(x.createElement("div",{className:kt},x.createElement("div",{className:vt()(`${gt}-image`,Be),style:Xe},jt)))},qe=ke(77654),yt=He=>{const pe=bt=>{const{width:gt,rows:Dt=2}=He;if(Array.isArray(gt))return gt[bt];if(Dt-1===bt)return gt},{prefixCls:Be,className:Ke,style:Xe,rows:Je}=He,ut=(0,qe.Z)(Array(Je)).map((bt,gt)=>x.createElement("li",{key:gt,style:{width:pe(gt)}}));return x.createElement("ul",{className:vt()(Be,Ke),style:Xe},ut)},Bt=He=>{let{prefixCls:pe,className:Be,width:Ke,style:Xe}=He;return x.createElement("h3",{className:vt()(pe,Be),style:Object.assign({width:Ke},Xe)})};function Et(He){return He&&typeof He=="object"?He:{}}function st(He,pe){return He&&!pe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ge(He,pe){return!He&&pe?{width:"38%"}:He&&pe?{width:"50%"}:{}}function We(He,pe){const Be={};return(!He||!pe)&&(Be.width="61%"),!He&&pe?Be.rows=3:Be.rows=2,Be}const se=He=>{const{prefixCls:pe,loading:Be,className:Ke,rootClassName:Xe,style:Je,children:ut,avatar:bt=!1,title:gt=!0,paragraph:Dt=!0,active:Vt,round:kt}=He,{getPrefixCls:jt,direction:_t,skeleton:Mt}=x.useContext(De.E_),ft=jt("skeleton",pe),[St,Nt]=_e(ft);if(Be||!("loading"in He)){const Ft=!!bt,Zt=!!gt,or=!!Dt;let yr;if(Ft){const Vr=Object.assign(Object.assign({prefixCls:`${ft}-avatar`},st(Zt,or)),Et(bt));yr=x.createElement("div",{className:`${ft}-header`},x.createElement(ne,Object.assign({},Vr)))}let Sr;if(Zt||or){let Vr;if(Zt){const Ur=Object.assign(Object.assign({prefixCls:`${ft}-title`},Ge(Ft,or)),Et(gt));Vr=x.createElement(Bt,Object.assign({},Ur))}let Br;if(or){const Ur=Object.assign(Object.assign({prefixCls:`${ft}-paragraph`},We(Ft,Zt)),Et(Dt));Br=x.createElement(yt,Object.assign({},Ur))}Sr=x.createElement("div",{className:`${ft}-content`},Vr,Br)}const Fr=vt()(ft,{[`${ft}-with-avatar`]:Ft,[`${ft}-active`]:Vt,[`${ft}-rtl`]:_t==="rtl",[`${ft}-round`]:kt},Mt==null?void 0:Mt.className,Ke,Xe,Nt);return St(x.createElement("div",{className:Fr,style:Object.assign(Object.assign({},Mt==null?void 0:Mt.style),Je)},yr,Sr))}return typeof ut!="undefined"?ut:null};se.Button=Ne,se.Avatar=Oe,se.Input=Qe,se.Image=Pe,se.Node=et;var fe=se,ze=fe},31797:function(sr,Wt,ke){"use strict";ke.d(Wt,{default:function(){return _e}});var Re=ke(59301),vt=ke(56762),x=ke(92343),De=ke(92310),ve=ke.n(De),re=ke(36355),ne=ke(61621),oe=Me=>{const{value:Oe,formatter:Ce,precision:Ne,decimalSeparator:je,groupSeparator:Ze="",prefixCls:Pe}=Me;let Ue;if(typeof Ce=="function")Ue=Ce(Oe);else{const Qe=String(Oe),tt=Qe.match(/^(-?)(\d*)(\.(\d+))?$/);if(!tt||Qe==="-")Ue=Qe;else{const ot=tt[1];let lt=tt[2]||"0",Ve=tt[4]||"";lt=lt.replace(/\B(?=(\d{3})+(?!\d))/g,Ze),typeof Ne=="number"&&(Ve=Ve.padEnd(Ne,"0").slice(0,Ne>0?Ne:0)),Ve&&(Ve=`${je}${Ve}`),Ue=[Re.createElement("span",{key:"int",className:`${Pe}-content-value-int`},ot,lt),Ve&&Re.createElement("span",{key:"decimal",className:`${Pe}-content-value-decimal`},Ve)]}}return Re.createElement("span",{className:`${Pe}-content-value`},Ue)},le=ke(17313),me=ke(83116),te=ke(37613);const ae=Me=>{const{componentCls:Oe,marginXXS:Ce,padding:Ne,colorTextDescription:je,titleFontSize:Ze,colorTextHeading:Pe,contentFontSize:Ue,fontFamily:Qe}=Me;return{[`${Oe}`]:Object.assign(Object.assign({},(0,le.Wf)(Me)),{[`${Oe}-title`]:{marginBottom:Ce,color:je,fontSize:Ze},[`${Oe}-skeleton`]:{paddingTop:Ne},[`${Oe}-content`]:{color:Pe,fontSize:Ue,fontFamily:Qe,[`${Oe}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Oe}-content-prefix, ${Oe}-content-suffix`]:{display:"inline-block"},[`${Oe}-content-prefix`]:{marginInlineEnd:Ce},[`${Oe}-content-suffix`]:{marginInlineStart:Ce}}})}};var ue=(0,me.Z)("Statistic",Me=>{const Oe=(0,te.TS)(Me,{});return[ae(Oe)]},Me=>{const{fontSizeHeading3:Oe,fontSize:Ce}=Me;return{titleFontSize:Ce,contentFontSize:Oe}}),he=Me=>{const{prefixCls:Oe,className:Ce,rootClassName:Ne,style:je,valueStyle:Ze,value:Pe=0,title:Ue,valueRender:Qe,prefix:tt,suffix:ot,loading:lt=!1,onMouseEnter:Ve,onMouseLeave:Ye,decimalSeparator:nt=".",groupSeparator:dt=","}=Me,{getPrefixCls:at,direction:et,statistic:qe}=Re.useContext(re.E_),it=at("statistic",Oe),[yt,ht]=ue(it),Bt=Re.createElement(oe,Object.assign({decimalSeparator:nt,groupSeparator:dt,prefixCls:it},Me,{value:Pe})),Et=ve()(it,{[`${it}-rtl`]:et==="rtl"},qe==null?void 0:qe.className,Ce,Ne,ht);return yt(Re.createElement("div",{className:Et,style:Object.assign(Object.assign({},qe==null?void 0:qe.style),je),onMouseEnter:Ve,onMouseLeave:Ye},Ue&&Re.createElement("div",{className:`${it}-title`},Ue),Re.createElement(ne.Z,{paragraph:!1,loading:lt,className:`${it}-skeleton`},Re.createElement("div",{style:Ze,className:`${it}-content`},tt&&Re.createElement("span",{className:`${it}-content-prefix`},tt),Qe?Qe(Bt):Bt,ot&&Re.createElement("span",{className:`${it}-content-suffix`},ot)))))};const we=[["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(Me,Oe){let Ce=Me;const Ne=/\[[^\]]*]/g,je=(Oe.match(Ne)||[]).map(Qe=>Qe.slice(1,-1)),Ze=Oe.replace(Ne,"[]"),Pe=we.reduce((Qe,tt)=>{let[ot,lt]=tt;if(Qe.includes(ot)){const Ve=Math.floor(Ce/lt);return Ce-=Ve*lt,Qe.replace(new RegExp(`${ot}+`,"g"),Ye=>{const nt=Ye.length;return Ve.toString().padStart(nt,"0")})}return Qe},Ze);let Ue=0;return Pe.replace(Ne,()=>{const Qe=je[Ue];return Ue+=1,Qe})}function xe(Me,Oe){const{format:Ce=""}=Oe,Ne=new Date(Me).getTime(),je=Date.now(),Ze=Math.max(Ne-je,0);return Se(Ze,Ce)}const ye=1e3/30;function Ae(Me){return new Date(Me).getTime()}const Le=Me=>{const{value:Oe,format:Ce="HH:mm:ss",onChange:Ne,onFinish:je}=Me,Ze=(0,vt.Z)(),Pe=Re.useRef(null),Ue=()=>{je==null||je(),Pe.current&&(clearInterval(Pe.current),Pe.current=null)},Qe=()=>{const lt=Ae(Oe);lt>=Date.now()&&(Pe.current=setInterval(()=>{Ze(),Ne==null||Ne(lt-Date.now()),lt<Date.now()&&Ue()},ye))};Re.useEffect(()=>(Qe(),()=>{Pe.current&&(clearInterval(Pe.current),Pe.current=null)}),[Oe]);const tt=(lt,Ve)=>xe(lt,Object.assign(Object.assign({},Ve),{format:Ce})),ot=lt=>(0,x.Tm)(lt,{title:void 0});return Re.createElement(he,Object.assign({},Me,{valueRender:ot,formatter:tt}))};var Ee=Re.memo(Le);he.Countdown=Ee;var _e=he},8378:function(sr,Wt){"use strict";const ke=Re=>({[Re.componentCls]:{[`${Re.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${Re.motionDurationMid} ${Re.motionEaseInOut},
opacity ${Re.motionDurationMid} ${Re.motionEaseInOut} !important`}},[`${Re.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${Re.motionDurationMid} ${Re.motionEaseInOut},
opacity ${Re.motionDurationMid} ${Re.motionEaseInOut} !important`}}});Wt.Z=ke},92899:function(sr,Wt,ke){"use strict";ke.d(Wt,{Fm:function(){return te}});var Re=ke(36237),vt=ke(95406);const x=new Re.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),De=new Re.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),ve=new Re.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),re=new Re.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ne=new Re.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ie=new Re.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),oe=new Re.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),le=new Re.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),me={"move-up":{inKeyframes:oe,outKeyframes:le},"move-down":{inKeyframes:x,outKeyframes:De},"move-left":{inKeyframes:ve,outKeyframes:re},"move-right":{inKeyframes:ne,outKeyframes:ie}},te=(ae,ue)=>{const{antCls:de}=ae,he=`${de}-${ue}`,{inKeyframes:we,outKeyframes:Se}=me[ue];return[(0,vt.R)(he,we,Se,ae.motionDurationMid),{[`
${he}-enter,
${he}-appear
`]:{opacity:0,animationTimingFunction:ae.motionEaseOutCirc},[`${he}-leave`]:{animationTimingFunction:ae.motionEaseInOutCirc}}]}},13826:function(sr,Wt,ke){"use strict";ke.d(Wt,{Qt:function(){return ve},Uw:function(){return De},fJ:function(){return x},ly:function(){return re},oN:function(){return te}});var Re=ke(36237),vt=ke(95406);const x=new Re.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),De=new Re.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),ve=new Re.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),re=new Re.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),ne=new Re.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),ie=new Re.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),oe=new Re.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),le=new Re.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),me={"slide-up":{inKeyframes:x,outKeyframes:De},"slide-down":{inKeyframes:ve,outKeyframes:re},"slide-left":{inKeyframes:ne,outKeyframes:ie},"slide-right":{inKeyframes:oe,outKeyframes:le}},te=(ae,ue)=>{const{antCls:de}=ae,he=`${de}-${ue}`,{inKeyframes:we,outKeyframes:Se}=me[ue];return[(0,vt.R)(he,we,Se,ae.motionDurationMid),{[`
${he}-enter,
${he}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:ae.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${he}-leave`]:{animationTimingFunction:ae.motionEaseInQuint}}]}},78673:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return Ze}});var Re=ke(58617),vt=ke(92310),x=ke.n(vt),De=ke(60499),ve=ke(18642),re=ke(72190),ne=ke(42244),ie=ke(59301),oe=ke(18929),le=ke(10228),me=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],te=ie.forwardRef(function(Pe,Ue){var Qe,tt=Pe.prefixCls,ot=tt===void 0?"rc-switch":tt,lt=Pe.className,Ve=Pe.checked,Ye=Pe.defaultChecked,nt=Pe.disabled,dt=Pe.loadingIcon,at=Pe.checkedChildren,et=Pe.unCheckedChildren,qe=Pe.onClick,it=Pe.onChange,yt=Pe.onKeyDown,ht=(0,ne.Z)(Pe,me),Bt=(0,oe.Z)(!1,{value:Ve,defaultValue:Ye}),Et=(0,re.Z)(Bt,2),st=Et[0],Ge=Et[1];function We(He,pe){var Be=st;return nt||(Be=He,Ge(Be),it==null||it(Be,pe)),Be}function se(He){He.which===le.Z.LEFT?We(!1,He):He.which===le.Z.RIGHT&&We(!0,He),yt==null||yt(He)}function fe(He){var pe=We(!st,He);qe==null||qe(pe,He)}var ze=x()(ot,lt,(Qe={},(0,ve.Z)(Qe,"".concat(ot,"-checked"),st),(0,ve.Z)(Qe,"".concat(ot,"-disabled"),nt),Qe));return ie.createElement("button",(0,De.Z)({},ht,{type:"button",role:"switch","aria-checked":st,disabled:nt,className:ze,ref:Ue,onKeyDown:se,onClick:fe}),dt,ie.createElement("span",{className:"".concat(ot,"-inner")},ie.createElement("span",{className:"".concat(ot,"-inner-checked")},at),ie.createElement("span",{className:"".concat(ot,"-inner-unchecked")},et)))});te.displayName="Switch";var ae=te,ue=ke(14088),de=ke(36355),he=ke(1684),we=ke(19716),Se=ke(64993),xe=ke(17313),ye=ke(83116),Ae=ke(37613);const Le=Pe=>{const{componentCls:Ue,trackHeightSM:Qe,trackPadding:tt,trackMinWidthSM:ot,innerMinMarginSM:lt,innerMaxMarginSM:Ve,handleSizeSM:Ye}=Pe,nt=`${Ue}-inner`;return{[Ue]:{[`&${Ue}-small`]:{minWidth:ot,height:Qe,lineHeight:`${Qe}px`,[`${Ue}-inner`]:{paddingInlineStart:Ve,paddingInlineEnd:lt,[`${nt}-checked`]:{marginInlineStart:`calc(-100% + ${Ye+tt*2}px - ${Ve*2}px)`,marginInlineEnd:`calc(100% - ${Ye+tt*2}px + ${Ve*2}px)`},[`${nt}-unchecked`]:{marginTop:-Qe,marginInlineStart:0,marginInlineEnd:0}},[`${Ue}-handle`]:{width:Ye,height:Ye},[`${Ue}-loading-icon`]:{top:(Ye-Pe.switchLoadingIconSize)/2,fontSize:Pe.switchLoadingIconSize},[`&${Ue}-checked`]:{[`${Ue}-inner`]:{paddingInlineStart:lt,paddingInlineEnd:Ve,[`${nt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${nt}-unchecked`]:{marginInlineStart:`calc(100% - ${Ye+tt*2}px + ${Ve*2}px)`,marginInlineEnd:`calc(-100% + ${Ye+tt*2}px - ${Ve*2}px)`}},[`${Ue}-handle`]:{insetInlineStart:`calc(100% - ${Ye+tt}px)`}},[`&:not(${Ue}-disabled):active`]:{[`&:not(${Ue}-checked) ${nt}`]:{[`${nt}-unchecked`]:{marginInlineStart:Pe.marginXXS/2,marginInlineEnd:-Pe.marginXXS/2}},[`&${Ue}-checked ${nt}`]:{[`${nt}-checked`]:{marginInlineStart:-Pe.marginXXS/2,marginInlineEnd:Pe.marginXXS/2}}}}}}},Ee=Pe=>{const{componentCls:Ue,handleSize:Qe}=Pe;return{[Ue]:{[`${Ue}-loading-icon${Pe.iconCls}`]:{position:"relative",top:(Qe-Pe.fontSize)/2,color:Pe.switchLoadingIconColor,verticalAlign:"top"},[`&${Ue}-checked ${Ue}-loading-icon`]:{color:Pe.switchColor}}}},_e=Pe=>{const{componentCls:Ue,motion:Qe,trackPadding:tt,handleBg:ot,handleShadow:lt,handleSize:Ve}=Pe,Ye=`${Ue}-handle`;return{[Ue]:{[Ye]:{position:"absolute",top:tt,insetInlineStart:tt,width:Ve,height:Ve,transition:`all ${Pe.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:ot,borderRadius:Ve/2,boxShadow:lt,transition:`all ${Pe.switchDuration} ease-in-out`,content:'""'}},[`&${Ue}-checked ${Ye}`]:{insetInlineStart:`calc(100% - ${Ve+tt}px)`},[`&:not(${Ue}-disabled):active`]:Qe?{[`${Ye}::before`]:{insetInlineEnd:Pe.switchHandleActiveInset,insetInlineStart:0},[`&${Ue}-checked ${Ye}::before`]:{insetInlineEnd:0,insetInlineStart:Pe.switchHandleActiveInset}}:{}}}},Me=Pe=>{const{componentCls:Ue,trackHeight:Qe,trackPadding:tt,innerMinMargin:ot,innerMaxMargin:lt,handleSize:Ve}=Pe,Ye=`${Ue}-inner`;return{[Ue]:{[Ye]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:lt,paddingInlineEnd:ot,transition:`padding-inline-start ${Pe.switchDuration} ease-in-out, padding-inline-end ${Pe.switchDuration} ease-in-out`,[`${Ye}-checked, ${Ye}-unchecked`]:{display:"block",color:Pe.colorTextLightSolid,fontSize:Pe.fontSizeSM,transition:`margin-inline-start ${Pe.switchDuration} ease-in-out, margin-inline-end ${Pe.switchDuration} ease-in-out`,pointerEvents:"none"},[`${Ye}-checked`]:{marginInlineStart:`calc(-100% + ${Ve+tt*2}px - ${lt*2}px)`,marginInlineEnd:`calc(100% - ${Ve+tt*2}px + ${lt*2}px)`},[`${Ye}-unchecked`]:{marginTop:-Qe,marginInlineStart:0,marginInlineEnd:0}},[`&${Ue}-checked ${Ye}`]:{paddingInlineStart:ot,paddingInlineEnd:lt,[`${Ye}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ye}-unchecked`]:{marginInlineStart:`calc(100% - ${Ve+tt*2}px + ${lt*2}px)`,marginInlineEnd:`calc(-100% + ${Ve+tt*2}px - ${lt*2}px)`}},[`&:not(${Ue}-disabled):active`]:{[`&:not(${Ue}-checked) ${Ye}`]:{[`${Ye}-unchecked`]:{marginInlineStart:tt*2,marginInlineEnd:-tt*2}},[`&${Ue}-checked ${Ye}`]:{[`${Ye}-checked`]:{marginInlineStart:-tt*2,marginInlineEnd:tt*2}}}}}},Oe=Pe=>{const{componentCls:Ue,trackHeight:Qe,trackMinWidth:tt}=Pe;return{[Ue]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(Pe)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:tt,height:Qe,lineHeight:`${Qe}px`,verticalAlign:"middle",background:Pe.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Pe.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Ue}-disabled)`]:{background:Pe.colorTextTertiary}}),(0,xe.Qy)(Pe)),{[`&${Ue}-checked`]:{background:Pe.switchColor,[`&:hover:not(${Ue}-disabled)`]:{background:Pe.colorPrimaryHover}},[`&${Ue}-loading, &${Ue}-disabled`]:{cursor:"not-allowed",opacity:Pe.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Ue}-rtl`]:{direction:"rtl"}})}};var Ce=(0,ye.Z)("Switch",Pe=>{const Ue=(0,Ae.TS)(Pe,{switchDuration:Pe.motionDurationMid,switchColor:Pe.colorPrimary,switchDisabledOpacity:Pe.opacityLoading,switchLoadingIconSize:Pe.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${Pe.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Oe(Ue),Me(Ue),_e(Ue),Ee(Ue),Le(Ue)]},Pe=>{const{fontSize:Ue,lineHeight:Qe,controlHeight:tt,colorWhite:ot}=Pe,lt=Ue*Qe,Ve=tt/2,Ye=2,nt=lt-Ye*2,dt=Ve-Ye*2;return{trackHeight:lt,trackHeightSM:Ve,trackMinWidth:nt*2+Ye*4,trackMinWidthSM:dt*2+Ye*2,trackPadding:Ye,handleBg:ot,handleSize:nt,handleSizeSM:dt,handleShadow:`0 2px 4px 0 ${new Se.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:nt/2,innerMaxMargin:nt+Ye+Ye*2,innerMinMarginSM:dt/2,innerMaxMarginSM:dt+Ye+Ye*2}}),Ne=function(Pe,Ue){var Qe={};for(var tt in Pe)Object.prototype.hasOwnProperty.call(Pe,tt)&&Ue.indexOf(tt)<0&&(Qe[tt]=Pe[tt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,tt=Object.getOwnPropertySymbols(Pe);ot<tt.length;ot++)Ue.indexOf(tt[ot])<0&&Object.prototype.propertyIsEnumerable.call(Pe,tt[ot])&&(Qe[tt[ot]]=Pe[tt[ot]]);return Qe};const je=ie.forwardRef((Pe,Ue)=>{const{prefixCls:Qe,size:tt,disabled:ot,loading:lt,className:Ve,rootClassName:Ye,style:nt}=Pe,dt=Ne(Pe,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:at,direction:et,switch:qe}=ie.useContext(de.E_),it=ie.useContext(he.Z),yt=(ot!=null?ot:it)||lt,ht=at("switch",Qe),Bt=ie.createElement("div",{className:`${ht}-handle`},lt&&ie.createElement(Re.Z,{className:`${ht}-loading-icon`})),[Et,st]=Ce(ht),Ge=(0,we.Z)(tt),We=x()(qe==null?void 0:qe.className,{[`${ht}-small`]:Ge==="small",[`${ht}-loading`]:lt,[`${ht}-rtl`]:et==="rtl"},Ve,Ye,st),se=Object.assign(Object.assign({},qe==null?void 0:qe.style),nt);return Et(ie.createElement(ue.Z,{component:"Switch"},ie.createElement(ae,Object.assign({},dt,{prefixCls:ht,className:We,style:se,disabled:yt,ref:Ue,loadingIcon:Bt}))))});je.__ANT_SWITCH=!0;var Ze=je},99313:function(sr,Wt,ke){"use strict";ke.d(Wt,{default:function(){return Kt}});var Re=ke(99267),vt=ke(18785),x=ke(62772),De=ke(92310),ve=ke.n(De),re=ke(60499),ne=ke(18642),ie=ke(85899),oe=ke(72190),le=ke(43749),me=ke(42244),te=ke(59301),ae=ke(49658),ue=ke(18929),de=ke(77900),he=(0,te.createContext)(null),we=te.forwardRef(function(xt,It){var Tt=xt.prefixCls,At=xt.className,zt=xt.style,Ut=xt.id,ir=xt.active,er=xt.tabKey,hr=xt.children;return te.createElement("div",{id:Ut&&"".concat(Ut,"-panel-").concat(er),role:"tabpanel",tabIndex:ir?0:-1,"aria-labelledby":Ut&&"".concat(Ut,"-tab-").concat(er),"aria-hidden":!ir,style:zt,className:ve()(Tt,ir&&"".concat(Tt,"-active"),At),ref:It},hr)}),Se=we,xe=["key","forceRender","style","className"];function ye(xt){var It=xt.id,Tt=xt.activeKey,At=xt.animated,zt=xt.tabPosition,Ut=xt.destroyInactiveTabPane,ir=te.useContext(he),er=ir.prefixCls,hr=ir.tabs,Cr=At.tabPane,Dr="".concat(er,"-tabpane");return te.createElement("div",{className:ve()("".concat(er,"-content-holder"))},te.createElement("div",{className:ve()("".concat(er,"-content"),"".concat(er,"-content-").concat(zt),(0,ne.Z)({},"".concat(er,"-content-animated"),Cr))},hr.map(function(Ir){var qt=Ir.key,vr=Ir.forceRender,Ht=Ir.style,Yt=Ir.className,Xt=(0,me.Z)(Ir,xe),rr=qt===Tt;return te.createElement(de.default,(0,re.Z)({key:qt,visible:rr,forceRender:vr,removeOnLeave:!!Ut,leavedClassName:"".concat(Dr,"-hidden")},At.tabPaneMotion),function(gr,Qt){var xr=gr.style,Lt=gr.className;return te.createElement(Se,(0,re.Z)({},Xt,{prefixCls:Dr,id:It,tabKey:qt,animated:Cr,active:rr,style:(0,ie.Z)((0,ie.Z)({},Ht),xr),className:ve()(Yt,Lt),ref:Qt}))})})))}var Ae=ke(77654),Le=ke(29301),Ee=ke(6089),_e=ke(8654),Me={width:0,height:0,left:0,top:0};function Oe(xt,It,Tt){return(0,te.useMemo)(function(){for(var At,zt=new Map,Ut=It.get((At=xt[0])===null||At===void 0?void 0:At.key)||Me,ir=Ut.left+Ut.width,er=0;er<xt.length;er+=1){var hr=xt[er].key,Cr=It.get(hr);if(!Cr){var Dr;Cr=It.get((Dr=xt[er-1])===null||Dr===void 0?void 0:Dr.key)||Me}var Ir=zt.get(hr)||(0,ie.Z)({},Cr);Ir.right=ir-Ir.left-Ir.width,zt.set(hr,Ir)}return zt},[xt.map(function(At){return At.key}).join("_"),It,Tt])}function Ce(xt,It){var Tt=te.useRef(xt),At=te.useState({}),zt=(0,oe.Z)(At,2),Ut=zt[1];function ir(er){var hr=typeof er=="function"?er(Tt.current):er;hr!==Tt.current&&It(hr,Tt.current),Tt.current=hr,Ut({})}return[Tt.current,ir]}var Ne=.1,je=.01,Ze=20,Pe=Math.pow(.995,Ze);function Ue(xt,It){var Tt=(0,te.useState)(),At=(0,oe.Z)(Tt,2),zt=At[0],Ut=At[1],ir=(0,te.useState)(0),er=(0,oe.Z)(ir,2),hr=er[0],Cr=er[1],Dr=(0,te.useState)(0),Ir=(0,oe.Z)(Dr,2),qt=Ir[0],vr=Ir[1],Ht=(0,te.useState)(),Yt=(0,oe.Z)(Ht,2),Xt=Yt[0],rr=Yt[1],gr=(0,te.useRef)();function Qt(lr){var pr=lr.touches[0],fr=pr.screenX,Ar=pr.screenY;Ut({x:fr,y:Ar}),window.clearInterval(gr.current)}function xr(lr){if(zt){lr.preventDefault();var pr=lr.touches[0],fr=pr.screenX,Ar=pr.screenY;Ut({x:fr,y:Ar});var Rr=fr-zt.x,Zr=Ar-zt.y;It(Rr,Zr);var Qr=Date.now();Cr(Qr),vr(Qr-hr),rr({x:Rr,y:Zr})}}function Lt(){if(zt&&(Ut(null),rr(null),Xt)){var lr=Xt.x/qt,pr=Xt.y/qt,fr=Math.abs(lr),Ar=Math.abs(pr);if(Math.max(fr,Ar)<Ne)return;var Rr=lr,Zr=pr;gr.current=window.setInterval(function(){if(Math.abs(Rr)<je&&Math.abs(Zr)<je){window.clearInterval(gr.current);return}Rr*=Pe,Zr*=Pe,It(Rr*Ze,Zr*Ze)},Ze)}}var Jt=(0,te.useRef)();function $t(lr){var pr=lr.deltaX,fr=lr.deltaY,Ar=0,Rr=Math.abs(pr),Zr=Math.abs(fr);Rr===Zr?Ar=Jt.current==="x"?pr:fr:Rr>Zr?(Ar=pr,Jt.current="x"):(Ar=fr,Jt.current="y"),It(-Ar,-Ar)&&lr.preventDefault()}var dr=(0,te.useRef)(null);dr.current={onTouchStart:Qt,onTouchMove:xr,onTouchEnd:Lt,onWheel:$t},te.useEffect(function(){function lr(Rr){dr.current.onTouchStart(Rr)}function pr(Rr){dr.current.onTouchMove(Rr)}function fr(Rr){dr.current.onTouchEnd(Rr)}function Ar(Rr){dr.current.onWheel(Rr)}return document.addEventListener("touchmove",pr,{passive:!1}),document.addEventListener("touchend",fr,{passive:!1}),xt.current.addEventListener("touchstart",lr,{passive:!1}),xt.current.addEventListener("wheel",Ar),function(){document.removeEventListener("touchmove",pr),document.removeEventListener("touchend",fr)}},[])}var Qe=ke(34280);function tt(xt){var It=(0,te.useState)(0),Tt=(0,oe.Z)(It,2),At=Tt[0],zt=Tt[1],Ut=(0,te.useRef)(0),ir=(0,te.useRef)();return ir.current=xt,(0,Qe.o)(function(){var er;(er=ir.current)===null||er===void 0||er.call(ir)},[At]),function(){Ut.current===At&&(Ut.current+=1,zt(Ut.current))}}function ot(xt){var It=(0,te.useRef)([]),Tt=(0,te.useState)({}),At=(0,oe.Z)(Tt,2),zt=At[1],Ut=(0,te.useRef)(typeof xt=="function"?xt():xt),ir=tt(function(){var hr=Ut.current;It.current.forEach(function(Cr){hr=Cr(hr)}),It.current=[],Ut.current=hr,zt({})});function er(hr){It.current.push(hr),ir()}return[Ut.current,er]}var lt={width:0,height:0,left:0,top:0,right:0};function Ve(xt,It,Tt,At,zt,Ut,ir){var er=ir.tabs,hr=ir.tabPosition,Cr=ir.rtl,Dr,Ir,qt;return["top","bottom"].includes(hr)?(Dr="width",Ir=Cr?"right":"left",qt=Math.abs(Tt)):(Dr="height",Ir="top",qt=-Tt),(0,te.useMemo)(function(){if(!er.length)return[0,0];for(var vr=er.length,Ht=vr,Yt=0;Yt<vr;Yt+=1){var Xt=xt.get(er[Yt].key)||lt;if(Xt[Ir]+Xt[Dr]>qt+It){Ht=Yt-1;break}}for(var rr=0,gr=vr-1;gr>=0;gr-=1){var Qt=xt.get(er[gr].key)||lt;if(Qt[Ir]<qt){rr=gr+1;break}}return rr>=Ht?[0,0]:[rr,Ht]},[xt,It,At,zt,Ut,qt,hr,er.map(function(vr){return vr.key}).join("_"),Cr])}function Ye(xt){var It;return xt instanceof Map?(It={},xt.forEach(function(Tt,At){It[At]=Tt})):It=xt,JSON.stringify(It)}var nt="TABS_DQ";function dt(xt){return String(xt).replace(/"/g,nt)}function at(xt,It,Tt,At){return!(!Tt||At||xt===!1||xt===void 0&&(It===!1||It===null))}function et(xt,It){var Tt=xt.prefixCls,At=xt.editable,zt=xt.locale,Ut=xt.style;return!At||At.showAdd===!1?null:te.createElement("button",{ref:It,type:"button",className:"".concat(Tt,"-nav-add"),style:Ut,"aria-label":(zt==null?void 0:zt.addAriaLabel)||"Add tab",onClick:function(er){At.onEdit("add",{event:er})}},At.addIcon||"+")}var qe=te.forwardRef(et),it=te.forwardRef(function(xt,It){var Tt=xt.position,At=xt.prefixCls,zt=xt.extra;if(!zt)return null;var Ut,ir={};return(0,le.Z)(zt)==="object"&&!te.isValidElement(zt)?ir=zt:ir.right=zt,Tt==="right"&&(Ut=ir.right),Tt==="left"&&(Ut=ir.left),Ut?te.createElement("div",{className:"".concat(At,"-extra-content"),ref:It},Ut):null}),yt=it,ht=ke(31561),Bt=ke(15285),Et=ke(10228);function st(xt,It){var Tt=xt.prefixCls,At=xt.id,zt=xt.tabs,Ut=xt.locale,ir=xt.mobile,er=xt.moreIcon,hr=er===void 0?"More":er,Cr=xt.moreTransitionName,Dr=xt.style,Ir=xt.className,qt=xt.editable,vr=xt.tabBarGutter,Ht=xt.rtl,Yt=xt.removeAriaLabel,Xt=xt.onTabClick,rr=xt.getPopupContainer,gr=xt.popupClassName,Qt=(0,te.useState)(!1),xr=(0,oe.Z)(Qt,2),Lt=xr[0],Jt=xr[1],$t=(0,te.useState)(null),dr=(0,oe.Z)($t,2),lr=dr[0],pr=dr[1],fr="".concat(At,"-more-popup"),Ar="".concat(Tt,"-dropdown"),Rr=lr!==null?"".concat(fr,"-").concat(lr):null,Zr=Ut==null?void 0:Ut.dropdownAriaLabel;function Qr(On,cn){On.preventDefault(),On.stopPropagation(),qt.onEdit("remove",{key:cn,event:On})}var nn=te.createElement(Bt.ZP,{onClick:function(cn){var Sn=cn.key,gn=cn.domEvent;Xt(Sn,gn),Jt(!1)},prefixCls:"".concat(Ar,"-menu"),id:fr,tabIndex:-1,role:"listbox","aria-activedescendant":Rr,selectedKeys:[lr],"aria-label":Zr!==void 0?Zr:"expanded dropdown"},zt.map(function(On){var cn=On.closable,Sn=On.disabled,gn=On.closeIcon,Jr=On.key,Ln=On.label,Zn=at(cn,gn,qt,Sn);return te.createElement(Bt.sN,{key:Jr,id:"".concat(fr,"-").concat(Jr),role:"option","aria-controls":At&&"".concat(At,"-panel-").concat(Jr),disabled:Sn},te.createElement("span",null,Ln),Zn&&te.createElement("button",{type:"button","aria-label":Yt||"remove",tabIndex:0,className:"".concat(Ar,"-menu-item-remove"),onClick:function(Hr){Hr.stopPropagation(),Qr(Hr,Jr)}},gn||qt.removeIcon||"\xD7"))}));function dn(On){for(var cn=zt.filter(function(Zn){return!Zn.disabled}),Sn=cn.findIndex(function(Zn){return Zn.key===lr})||0,gn=cn.length,Jr=0;Jr<gn;Jr+=1){Sn=(Sn+On+gn)%gn;var Ln=cn[Sn];if(!Ln.disabled){pr(Ln.key);return}}}function pn(On){var cn=On.which;if(!Lt){[Et.Z.DOWN,Et.Z.SPACE,Et.Z.ENTER].includes(cn)&&(Jt(!0),On.preventDefault());return}switch(cn){case Et.Z.UP:dn(-1),On.preventDefault();break;case Et.Z.DOWN:dn(1),On.preventDefault();break;case Et.Z.ESC:Jt(!1);break;case Et.Z.SPACE:case Et.Z.ENTER:lr!==null&&Xt(lr,On);break}}(0,te.useEffect)(function(){var On=document.getElementById(Rr);On&&On.scrollIntoView&&On.scrollIntoView(!1)},[lr]),(0,te.useEffect)(function(){Lt||pr(null)},[Lt]);var Gr=(0,ne.Z)({},Ht?"marginRight":"marginLeft",vr);zt.length||(Gr.visibility="hidden",Gr.order=1);var yn=ve()((0,ne.Z)({},"".concat(Ar,"-rtl"),Ht)),mn=ir?null:te.createElement(ht.Z,{prefixCls:Ar,overlay:nn,trigger:["hover"],visible:zt.length?Lt:!1,transitionName:Cr,onVisibleChange:Jt,overlayClassName:ve()(yn,gr),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:rr},te.createElement("button",{type:"button",className:"".concat(Tt,"-nav-more"),style:Gr,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":fr,id:"".concat(At,"-more"),"aria-expanded":Lt,onKeyDown:pn},hr));return te.createElement("div",{className:ve()("".concat(Tt,"-nav-operations"),Ir),style:Dr,ref:It},mn,te.createElement(qe,{prefixCls:Tt,locale:Ut,editable:qt}))}var Ge=te.memo(te.forwardRef(st),function(xt,It){return It.tabMoving});function We(xt){var It,Tt=xt.prefixCls,At=xt.id,zt=xt.active,Ut=xt.tab,ir=Ut.key,er=Ut.label,hr=Ut.disabled,Cr=Ut.closeIcon,Dr=xt.closable,Ir=xt.renderWrapper,qt=xt.removeAriaLabel,vr=xt.editable,Ht=xt.onClick,Yt=xt.onFocus,Xt=xt.style,rr="".concat(Tt,"-tab"),gr=at(Dr,Cr,vr,hr);function Qt(Jt){hr||Ht(Jt)}function xr(Jt){Jt.preventDefault(),Jt.stopPropagation(),vr.onEdit("remove",{key:ir,event:Jt})}var Lt=te.createElement("div",{key:ir,"data-node-key":dt(ir),className:ve()(rr,(It={},(0,ne.Z)(It,"".concat(rr,"-with-remove"),gr),(0,ne.Z)(It,"".concat(rr,"-active"),zt),(0,ne.Z)(It,"".concat(rr,"-disabled"),hr),It)),style:Xt,onClick:Qt},te.createElement("div",{role:"tab","aria-selected":zt,id:At&&"".concat(At,"-tab-").concat(ir),className:"".concat(rr,"-btn"),"aria-controls":At&&"".concat(At,"-panel-").concat(ir),"aria-disabled":hr,tabIndex:hr?null:0,onClick:function($t){$t.stopPropagation(),Qt($t)},onKeyDown:function($t){[Et.Z.SPACE,Et.Z.ENTER].includes($t.which)&&($t.preventDefault(),Qt($t))},onFocus:Yt},er),gr&&te.createElement("button",{type:"button","aria-label":qt||"remove",tabIndex:0,className:"".concat(rr,"-remove"),onClick:function($t){$t.stopPropagation(),xr($t)}},Cr||vr.removeIcon||"\xD7"));return Ir?Ir(Lt):Lt}var se=We,fe=ke(16089),ze=function(It){var Tt=It.activeTabOffset,At=It.horizontal,zt=It.rtl,Ut=It.indicatorSize,ir=(0,te.useState)(),er=(0,oe.Z)(ir,2),hr=er[0],Cr=er[1],Dr=(0,te.useRef)(),Ir=function(Ht){return typeof Ut=="function"?Ut(Ht):typeof Ut=="number"?Ut:Ht};function qt(){fe.Z.cancel(Dr.current)}return(0,te.useEffect)(function(){var vr={};return Tt&&(At?(zt?(vr.right=Tt.right+Tt.width/2,vr.transform="translateX(50%)"):(vr.left=Tt.left+Tt.width/2,vr.transform="translateX(-50%)"),vr.width=Ir(Tt.width)):(vr.top=Tt.top+Tt.height/2,vr.transform="translateY(-50%)",vr.height=Ir(Tt.height))),qt(),Dr.current=(0,fe.Z)(function(){Cr(vr)}),qt},[Tt,At,zt,Ut]),{style:hr}},He=ze,pe=function(It){var Tt=It.current||{},At=Tt.offsetWidth,zt=At===void 0?0:At,Ut=Tt.offsetHeight,ir=Ut===void 0?0:Ut;return[zt,ir]},Be=function(It,Tt){return It[Tt?0:1]};function Ke(xt,It){var Tt,At=te.useContext(he),zt=At.prefixCls,Ut=At.tabs,ir=xt.className,er=xt.style,hr=xt.id,Cr=xt.animated,Dr=xt.activeKey,Ir=xt.rtl,qt=xt.extra,vr=xt.editable,Ht=xt.locale,Yt=xt.tabPosition,Xt=xt.tabBarGutter,rr=xt.children,gr=xt.onTabClick,Qt=xt.onTabScroll,xr=xt.indicatorSize,Lt=(0,te.useRef)(),Jt=(0,te.useRef)(),$t=(0,te.useRef)(),dr=(0,te.useRef)(),lr=(0,te.useRef)(),pr=(0,te.useRef)(),fr=(0,te.useRef)(),Ar=Yt==="top"||Yt==="bottom",Rr=Ce(0,function(Xn,ei){Ar&&Qt&&Qt({direction:Xn>ei?"left":"right"})}),Zr=(0,oe.Z)(Rr,2),Qr=Zr[0],nn=Zr[1],dn=Ce(0,function(Xn,ei){!Ar&&Qt&&Qt({direction:Xn>ei?"top":"bottom"})}),pn=(0,oe.Z)(dn,2),Gr=pn[0],yn=pn[1],mn=(0,te.useState)([0,0]),On=(0,oe.Z)(mn,2),cn=On[0],Sn=On[1],gn=(0,te.useState)([0,0]),Jr=(0,oe.Z)(gn,2),Ln=Jr[0],Zn=Jr[1],fn=(0,te.useState)([0,0]),Hr=(0,oe.Z)(fn,2),Wr=Hr[0],In=Hr[1],bn=(0,te.useState)([0,0]),Nn=(0,oe.Z)(bn,2),Hn=Nn[0],zn=Nn[1],Dn=ot(new Map),_n=(0,oe.Z)(Dn,2),ci=_n[0],hn=_n[1],kn=Oe(Ut,ci,Ln[0]),Vn=Be(cn,Ar),$n=Be(Ln,Ar),Ci=Be(Wr,Ar),Ei=Be(Hn,Ar),gi=Vn<$n+Ci,di=gi?Vn-Ei:Vn-Ci,Oi="".concat(zt,"-nav-operations-hidden"),Di=0,En=0;Ar&&Ir?(Di=0,En=Math.max(0,$n-di)):(Di=Math.min(0,di-$n),En=0);function An(Xn){return Xn<Di?Di:Xn>En?En:Xn}var an=(0,te.useRef)(),sn=(0,te.useState)(),ni=(0,oe.Z)(sn,2),wi=ni[0],Si=ni[1];function Ai(){Si(Date.now())}function vi(){window.clearTimeout(an.current)}Ue(dr,function(Xn,ei){function xi(ti,qn){ti(function(yi){var Li=An(yi+qn);return Li})}return gi?(Ar?xi(nn,Xn):xi(yn,ei),vi(),Ai(),!0):!1}),(0,te.useEffect)(function(){return vi(),wi&&(an.current=window.setTimeout(function(){Si(0)},100)),vi},[wi]);var Ii=Ve(kn,di,Ar?Qr:Gr,$n,Ci,Ei,(0,ie.Z)((0,ie.Z)({},xt),{},{tabs:Ut})),Ki=(0,oe.Z)(Ii,2),Ui=Ki[0],$i=Ki[1],li=(0,Ee.Z)(function(){var Xn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Dr,ei=kn.get(Xn)||{width:0,height:0,left:0,right:0,top:0};if(Ar){var xi=Qr;Ir?ei.right<Qr?xi=ei.right:ei.right+ei.width>Qr+di&&(xi=ei.right+ei.width-di):ei.left<-Qr?xi=-ei.left:ei.left+ei.width>-Qr+di&&(xi=-(ei.left+ei.width-di)),yn(0),nn(An(xi))}else{var ti=Gr;ei.top<-Gr?ti=-ei.top:ei.top+ei.height>-Gr+di&&(ti=-(ei.top+ei.height-di)),nn(0),yn(An(ti))}}),fi={};Yt==="top"||Yt==="bottom"?fi[Ir?"marginRight":"marginLeft"]=Xt:fi.marginTop=Xt;var Pi=Ut.map(function(Xn,ei){var xi=Xn.key;return te.createElement(se,{id:hr,prefixCls:zt,key:xi,tab:Xn,style:ei===0?void 0:fi,closable:Xn.closable,editable:vr,active:xi===Dr,renderWrapper:rr,removeAriaLabel:Ht==null?void 0:Ht.removeAriaLabel,onClick:function(qn){gr(xi,qn)},onFocus:function(){li(xi),Ai(),dr.current&&(Ir||(dr.current.scrollLeft=0),dr.current.scrollTop=0)}})}),mi=function(){return hn(function(){var ei=new Map;return Ut.forEach(function(xi){var ti,qn=xi.key,yi=(ti=lr.current)===null||ti===void 0?void 0:ti.querySelector('[data-node-key="'.concat(dt(qn),'"]'));yi&&ei.set(qn,{width:yi.offsetWidth,height:yi.offsetHeight,left:yi.offsetLeft,top:yi.offsetTop})}),ei})};(0,te.useEffect)(function(){mi()},[Ut.map(function(Xn){return Xn.key}).join("_")]);var ki=tt(function(){var Xn=pe(Lt),ei=pe(Jt),xi=pe($t);Sn([Xn[0]-ei[0]-xi[0],Xn[1]-ei[1]-xi[1]]);var ti=pe(fr);In(ti);var qn=pe(pr);zn(qn);var yi=pe(lr);Zn([yi[0]-ti[0],yi[1]-ti[1]]),mi()}),Er=Ut.slice(0,Ui),br=Ut.slice($i+1),mr=[].concat((0,Ae.Z)(Er),(0,Ae.Z)(br)),jr=kn.get(Dr),en=He({activeTabOffset:jr,horizontal:Ar,rtl:Ir,indicatorSize:xr}),tn=en.style;(0,te.useEffect)(function(){li()},[Dr,Di,En,Ye(jr),Ye(kn),Ar]),(0,te.useEffect)(function(){ki()},[Ir]);var _r=!!mr.length,Cn="".concat(zt,"-nav-wrap"),Gn,si,Yn,xn;return Ar?Ir?(si=Qr>0,Gn=Qr!==En):(Gn=Qr<0,si=Qr!==Di):(Yn=Gr<0,xn=Gr!==Di),te.createElement(Le.Z,{onResize:ki},te.createElement("div",{ref:(0,_e.x1)(It,Lt),role:"tablist",className:ve()("".concat(zt,"-nav"),ir),style:er,onKeyDown:function(){Ai()}},te.createElement(yt,{ref:Jt,position:"left",extra:qt,prefixCls:zt}),te.createElement(Le.Z,{onResize:ki},te.createElement("div",{className:ve()(Cn,(Tt={},(0,ne.Z)(Tt,"".concat(Cn,"-ping-left"),Gn),(0,ne.Z)(Tt,"".concat(Cn,"-ping-right"),si),(0,ne.Z)(Tt,"".concat(Cn,"-ping-top"),Yn),(0,ne.Z)(Tt,"".concat(Cn,"-ping-bottom"),xn),Tt)),ref:dr},te.createElement(Le.Z,{onResize:ki},te.createElement("div",{ref:lr,className:"".concat(zt,"-nav-list"),style:{transform:"translate(".concat(Qr,"px, ").concat(Gr,"px)"),transition:wi?"none":void 0}},Pi,te.createElement(qe,{ref:fr,prefixCls:zt,locale:Ht,editable:vr,style:(0,ie.Z)((0,ie.Z)({},Pi.length===0?void 0:fi),{},{visibility:_r?"hidden":null})}),te.createElement("div",{className:ve()("".concat(zt,"-ink-bar"),(0,ne.Z)({},"".concat(zt,"-ink-bar-animated"),Cr.inkBar)),style:tn}))))),te.createElement(Ge,(0,re.Z)({},xt,{removeAriaLabel:Ht==null?void 0:Ht.removeAriaLabel,ref:pr,prefixCls:zt,tabs:mr,className:!_r&&Oi,tabMoving:!!wi})),te.createElement(yt,{ref:$t,position:"right",extra:qt,prefixCls:zt})))}var Xe=te.forwardRef(Ke),Je=["renderTabBar"],ut=["label","key"];function bt(xt){var It=xt.renderTabBar,Tt=(0,me.Z)(xt,Je),At=te.useContext(he),zt=At.tabs;if(It){var Ut=(0,ie.Z)((0,ie.Z)({},Tt),{},{panes:zt.map(function(ir){var er=ir.label,hr=ir.key,Cr=(0,me.Z)(ir,ut);return te.createElement(Se,(0,re.Z)({tab:er,key:hr,tabKey:hr},Cr))})});return It(Ut,Xe)}return te.createElement(Xe,Tt)}var gt=ke(48736);function Dt(){var xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},It;return xt===!1?It={inkBar:!1,tabPane:!1}:xt===!0?It={inkBar:!0,tabPane:!1}:It=(0,ie.Z)({inkBar:!0},(0,le.Z)(xt)==="object"?xt:{}),It.tabPaneMotion&&It.tabPane===void 0&&(It.tabPane=!0),!It.tabPaneMotion&&It.tabPane&&(It.tabPane=!1),It}var Vt=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],kt=0;function jt(xt,It){var Tt,At=xt.id,zt=xt.prefixCls,Ut=zt===void 0?"rc-tabs":zt,ir=xt.className,er=xt.items,hr=xt.direction,Cr=xt.activeKey,Dr=xt.defaultActiveKey,Ir=xt.editable,qt=xt.animated,vr=xt.tabPosition,Ht=vr===void 0?"top":vr,Yt=xt.tabBarGutter,Xt=xt.tabBarStyle,rr=xt.tabBarExtraContent,gr=xt.locale,Qt=xt.moreIcon,xr=xt.moreTransitionName,Lt=xt.destroyInactiveTabPane,Jt=xt.renderTabBar,$t=xt.onChange,dr=xt.onTabClick,lr=xt.onTabScroll,pr=xt.getPopupContainer,fr=xt.popupClassName,Ar=xt.indicatorSize,Rr=(0,me.Z)(xt,Vt),Zr=te.useMemo(function(){return(er||[]).filter(function(zn){return zn&&(0,le.Z)(zn)==="object"&&"key"in zn})},[er]),Qr=hr==="rtl",nn=Dt(qt),dn=(0,te.useState)(!1),pn=(0,oe.Z)(dn,2),Gr=pn[0],yn=pn[1];(0,te.useEffect)(function(){yn((0,ae.Z)())},[]);var mn=(0,ue.Z)(function(){var zn;return(zn=Zr[0])===null||zn===void 0?void 0:zn.key},{value:Cr,defaultValue:Dr}),On=(0,oe.Z)(mn,2),cn=On[0],Sn=On[1],gn=(0,te.useState)(function(){return Zr.findIndex(function(zn){return zn.key===cn})}),Jr=(0,oe.Z)(gn,2),Ln=Jr[0],Zn=Jr[1];(0,te.useEffect)(function(){var zn=Zr.findIndex(function(_n){return _n.key===cn});if(zn===-1){var Dn;zn=Math.max(0,Math.min(Ln,Zr.length-1)),Sn((Dn=Zr[zn])===null||Dn===void 0?void 0:Dn.key)}Zn(zn)},[Zr.map(function(zn){return zn.key}).join("_"),cn,Ln]);var fn=(0,ue.Z)(null,{value:At}),Hr=(0,oe.Z)(fn,2),Wr=Hr[0],In=Hr[1];(0,te.useEffect)(function(){At||(In("rc-tabs-".concat(kt)),kt+=1)},[]);function bn(zn,Dn){dr==null||dr(zn,Dn);var _n=zn!==cn;Sn(zn),_n&&($t==null||$t(zn))}var Nn={id:Wr,activeKey:cn,animated:nn,tabPosition:Ht,rtl:Qr,mobile:Gr},Hn=(0,ie.Z)((0,ie.Z)({},Nn),{},{editable:Ir,locale:gr,moreIcon:Qt,moreTransitionName:xr,tabBarGutter:Yt,onTabClick:bn,onTabScroll:lr,extra:rr,style:Xt,panes:null,getPopupContainer:pr,popupClassName:fr,indicatorSize:Ar});return te.createElement(he.Provider,{value:{tabs:Zr,prefixCls:Ut}},te.createElement("div",(0,re.Z)({ref:It,id:At,className:ve()(Ut,"".concat(Ut,"-").concat(Ht),(Tt={},(0,ne.Z)(Tt,"".concat(Ut,"-mobile"),Gr),(0,ne.Z)(Tt,"".concat(Ut,"-editable"),Ir),(0,ne.Z)(Tt,"".concat(Ut,"-rtl"),Qr),Tt),ir)},Rr),te.createElement(bt,(0,re.Z)({},Hn,{renderTabBar:Jt})),te.createElement(ye,(0,re.Z)({destroyInactiveTabPane:Lt},Nn,{animated:nn}))))}var _t=te.forwardRef(jt),Mt=_t,ft=Mt,St=ke(36355),Nt=ke(19716),Zt=()=>null,or=ke(62892);const yr={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Sr(xt){let It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},Tt;return It===!1?Tt={inkBar:!1,tabPane:!1}:It===!0?Tt={inkBar:!0,tabPane:!0}:Tt=Object.assign({inkBar:!0},typeof It=="object"?It:{}),Tt.tabPane&&(Tt.tabPaneMotion=Object.assign(Object.assign({},yr),{motionName:(0,or.m)(xt,"switch")})),Tt}var Fr=ke(11592),Vr=function(xt,It){var Tt={};for(var At in xt)Object.prototype.hasOwnProperty.call(xt,At)&&It.indexOf(At)<0&&(Tt[At]=xt[At]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,At=Object.getOwnPropertySymbols(xt);zt<At.length;zt++)It.indexOf(At[zt])<0&&Object.prototype.propertyIsEnumerable.call(xt,At[zt])&&(Tt[At[zt]]=xt[At[zt]]);return Tt};function Br(xt){return xt.filter(It=>It)}function Ur(xt,It){if(xt)return xt;const Tt=(0,Fr.Z)(It).map(At=>{if(te.isValidElement(At)){const{key:zt,props:Ut}=At,ir=Ut||{},{tab:er}=ir,hr=Vr(ir,["tab"]);return Object.assign(Object.assign({key:String(zt)},hr),{label:er})}return null});return Br(Tt)}var on=ke(17313),Yr=ke(83116),Fn=ke(37613),vn=ke(13826),qr=xt=>{const{componentCls:It,motionDurationSlow:Tt}=xt;return[{[It]:{[`${It}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${Tt}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${Tt}`}}}}},[(0,vn.oN)(xt,"slide-up"),(0,vn.oN)(xt,"slide-down")]]};const Un=xt=>{const{componentCls:It,tabsCardPadding:Tt,cardBg:At,cardGutter:zt,colorBorderSecondary:Ut,itemSelectedColor:ir}=xt;return{[`${It}-card`]:{[`> ${It}-nav, > div > ${It}-nav`]:{[`${It}-tab`]:{margin:0,padding:Tt,background:At,border:`${xt.lineWidth}px ${xt.lineType} ${Ut}`,transition:`all ${xt.motionDurationSlow} ${xt.motionEaseInOut}`},[`${It}-tab-active`]:{color:ir,background:xt.colorBgContainer},[`${It}-ink-bar`]:{visibility:"hidden"}},[`&${It}-top, &${It}-bottom`]:{[`> ${It}-nav, > div > ${It}-nav`]:{[`${It}-tab + ${It}-tab`]:{marginLeft:{_skip_check_:!0,value:`${zt}px`}}}},[`&${It}-top`]:{[`> ${It}-nav, > div > ${It}-nav`]:{[`${It}-tab`]:{borderRadius:`${xt.borderRadiusLG}px ${xt.borderRadiusLG}px 0 0`},[`${It}-tab-active`]:{borderBottomColor:xt.colorBgContainer}}},[`&${It}-bottom`]:{[`> ${It}-nav, > div > ${It}-nav`]:{[`${It}-tab`]:{borderRadius:`0 0 ${xt.borderRadiusLG}px ${xt.borderRadiusLG}px`},[`${It}-tab-active`]:{borderTopColor:xt.colorBgContainer}}},[`&${It}-left, &${It}-right`]:{[`> ${It}-nav, > div > ${It}-nav`]:{[`${It}-tab + ${It}-tab`]:{marginTop:`${zt}px`}}},[`&${It}-left`]:{[`> ${It}-nav, > div > ${It}-nav`]:{[`${It}-tab`]:{borderRadius:{_skip_check_:!0,value:`${xt.borderRadiusLG}px 0 0 ${xt.borderRadiusLG}px`}},[`${It}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:xt.colorBgContainer}}}},[`&${It}-right`]:{[`> ${It}-nav, > div > ${It}-nav`]:{[`${It}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${xt.borderRadiusLG}px ${xt.borderRadiusLG}px 0`}},[`${It}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:xt.colorBgContainer}}}}}}},un=xt=>{const{componentCls:It,itemHoverColor:Tt,dropdownEdgeChildVerticalPadding:At}=xt;return{[`${It}-dropdown`]:Object.assign(Object.assign({},(0,on.Wf)(xt)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:xt.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${It}-dropdown-menu`]:{maxHeight:xt.tabsDropdownHeight,margin:0,padding:`${At}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:xt.colorBgContainer,backgroundClip:"padding-box",borderRadius:xt.borderRadiusLG,outline:"none",boxShadow:xt.boxShadowSecondary,"&-item":Object.assign(Object.assign({},on.vS),{display:"flex",alignItems:"center",minWidth:xt.tabsDropdownWidth,margin:0,padding:`${xt.paddingXXS}px ${xt.paddingSM}px`,color:xt.colorText,fontWeight:"normal",fontSize:xt.fontSize,lineHeight:xt.lineHeight,cursor:"pointer",transition:`all ${xt.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:xt.marginSM},color:xt.colorTextDescription,fontSize:xt.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:Tt}},"&:hover":{background:xt.controlItemBgHover},"&-disabled":{"&, &:hover":{color:xt.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},ar=xt=>{const{componentCls:It,margin:Tt,colorBorderSecondary:At,horizontalMargin:zt,verticalItemPadding:Ut,verticalItemMargin:ir}=xt;return{[`${It}-top, ${It}-bottom`]:{flexDirection:"column",[`> ${It}-nav, > div > ${It}-nav`]:{margin:zt,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${xt.lineWidth}px ${xt.lineType} ${At}`,content:"''"},[`${It}-ink-bar`]:{height:xt.lineWidthBold,"&-animated":{transition:`width ${xt.motionDurationSlow}, left ${xt.motionDurationSlow},
right ${xt.motionDurationSlow}`}},[`${It}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:xt.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:xt.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:xt.boxShadowTabsOverflowRight},[`&${It}-nav-wrap-ping-left::before`]:{opacity:1},[`&${It}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${It}-top`]:{[`> ${It}-nav,
> div > ${It}-nav`]:{"&::before":{bottom:0},[`${It}-ink-bar`]:{bottom:0}}},[`${It}-bottom`]:{[`> ${It}-nav, > div > ${It}-nav`]:{order:1,marginTop:`${Tt}px`,marginBottom:0,"&::before":{top:0},[`${It}-ink-bar`]:{top:0}},[`> ${It}-content-holder, > div > ${It}-content-holder`]:{order:0}},[`${It}-left, ${It}-right`]:{[`> ${It}-nav, > div > ${It}-nav`]:{flexDirection:"column",minWidth:xt.controlHeight*1.25,[`${It}-tab`]:{padding:Ut,textAlign:"center"},[`${It}-tab + ${It}-tab`]:{margin:ir},[`${It}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:xt.controlHeight},"&::before":{top:0,boxShadow:xt.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:xt.boxShadowTabsOverflowBottom},[`&${It}-nav-wrap-ping-top::before`]:{opacity:1},[`&${It}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${It}-ink-bar`]:{width:xt.lineWidthBold,"&-animated":{transition:`height ${xt.motionDurationSlow}, top ${xt.motionDurationSlow}`}},[`${It}-nav-list, ${It}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${It}-left`]:{[`> ${It}-nav, > div > ${It}-nav`]:{[`${It}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${It}-content-holder, > div > ${It}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${xt.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${xt.lineWidth}px ${xt.lineType} ${xt.colorBorder}`},[`> ${It}-content > ${It}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:xt.paddingLG}}}},[`${It}-right`]:{[`> ${It}-nav, > div > ${It}-nav`]:{order:1,[`${It}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${It}-content-holder, > div > ${It}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-xt.lineWidth},borderRight:{_skip_check_:!0,value:`${xt.lineWidth}px ${xt.lineType} ${xt.colorBorder}`},[`> ${It}-content > ${It}-tabpane`]:{paddingRight:{_skip_check_:!0,value:xt.paddingLG}}}}}},Nr=xt=>{const{componentCls:It,cardPaddingSM:Tt,cardPaddingLG:At,horizontalItemPaddingSM:zt,horizontalItemPaddingLG:Ut}=xt;return{[It]:{"&-small":{[`> ${It}-nav`]:{[`${It}-tab`]:{padding:zt,fontSize:xt.titleFontSizeSM}}},"&-large":{[`> ${It}-nav`]:{[`${It}-tab`]:{padding:Ut,fontSize:xt.titleFontSizeLG}}}},[`${It}-card`]:{[`&${It}-small`]:{[`> ${It}-nav`]:{[`${It}-tab`]:{padding:Tt}},[`&${It}-bottom`]:{[`> ${It}-nav ${It}-tab`]:{borderRadius:`0 0 ${xt.borderRadius}px ${xt.borderRadius}px`}},[`&${It}-top`]:{[`> ${It}-nav ${It}-tab`]:{borderRadius:`${xt.borderRadius}px ${xt.borderRadius}px 0 0`}},[`&${It}-right`]:{[`> ${It}-nav ${It}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${xt.borderRadius}px ${xt.borderRadius}px 0`}}},[`&${It}-left`]:{[`> ${It}-nav ${It}-tab`]:{borderRadius:{_skip_check_:!0,value:`${xt.borderRadius}px 0 0 ${xt.borderRadius}px`}}}},[`&${It}-large`]:{[`> ${It}-nav`]:{[`${It}-tab`]:{padding:At}}}}}},Mr=xt=>{const{componentCls:It,itemActiveColor:Tt,itemHoverColor:At,iconCls:zt,tabsHorizontalItemMargin:Ut,horizontalItemPadding:ir,itemSelectedColor:er,itemColor:hr}=xt,Cr=`${It}-tab`;return{[Cr]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:ir,fontSize:xt.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:hr,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:Tt}},(0,on.Qy)(xt)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-xt.marginXXS},marginLeft:{_skip_check_:!0,value:xt.marginXS},color:xt.colorTextDescription,fontSize:xt.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${xt.motionDurationSlow}`,"&:hover":{color:xt.colorTextHeading}},"&:hover":{color:At},[`&${Cr}-active ${Cr}-btn`]:{color:er,textShadow:xt.tabsActiveTextShadow},[`&${Cr}-disabled`]:{color:xt.colorTextDisabled,cursor:"not-allowed"},[`&${Cr}-disabled ${Cr}-btn, &${Cr}-disabled ${It}-remove`]:{"&:focus, &:active":{color:xt.colorTextDisabled}},[`& ${Cr}-remove ${zt}`]:{margin:0},[zt]:{marginRight:{_skip_check_:!0,value:xt.marginSM}}},[`${Cr} + ${Cr}`]:{margin:{_skip_check_:!0,value:Ut}}}},Or=xt=>{const{componentCls:It,tabsHorizontalItemMarginRTL:Tt,iconCls:At,cardGutter:zt}=xt;return{[`${It}-rtl`]:{direction:"rtl",[`${It}-nav`]:{[`${It}-tab`]:{margin:{_skip_check_:!0,value:Tt},[`${It}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[At]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${xt.marginSM}px`}},[`${It}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${xt.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${xt.marginXXS}px`},[At]:{margin:0}}}},[`&${It}-left`]:{[`> ${It}-nav`]:{order:1},[`> ${It}-content-holder`]:{order:0}},[`&${It}-right`]:{[`> ${It}-nav`]:{order:0},[`> ${It}-content-holder`]:{order:1}},[`&${It}-card${It}-top, &${It}-card${It}-bottom`]:{[`> ${It}-nav, > div > ${It}-nav`]:{[`${It}-tab + ${It}-tab`]:{marginRight:{_skip_check_:!0,value:zt},marginLeft:{_skip_check_:!0,value:0}}}}},[`${It}-dropdown-rtl`]:{direction:"rtl"},[`${It}-menu-item`]:{[`${It}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Pr=xt=>{const{componentCls:It,tabsCardPadding:Tt,cardHeight:At,cardGutter:zt,itemHoverColor:Ut,itemActiveColor:ir,colorBorderSecondary:er}=xt;return{[It]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,on.Wf)(xt)),{display:"flex",[`> ${It}-nav, > div > ${It}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${It}-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 ${xt.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${It}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${xt.motionDurationSlow}`},[`${It}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${It}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${It}-nav-more`]:{position:"relative",padding:Tt,background:"transparent",border:0,color:xt.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:xt.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${It}-nav-add`]:Object.assign({minWidth:At,marginLeft:{_skip_check_:!0,value:zt},padding:`0 ${xt.paddingXS}px`,background:"transparent",border:`${xt.lineWidth}px ${xt.lineType} ${er}`,borderRadius:`${xt.borderRadiusLG}px ${xt.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:xt.colorText,transition:`all ${xt.motionDurationSlow} ${xt.motionEaseInOut}`,"&:hover":{color:Ut},"&:active, &:focus:not(:focus-visible)":{color:ir}},(0,on.Qy)(xt))},[`${It}-extra-content`]:{flex:"none"},[`${It}-ink-bar`]:{position:"absolute",background:xt.inkBarColor,pointerEvents:"none"}}),Mr(xt)),{[`${It}-content`]:{position:"relative",width:"100%"},[`${It}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${It}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${It}-centered`]:{[`> ${It}-nav, > div > ${It}-nav`]:{[`${It}-nav-wrap`]:{[`&:not([class*='${It}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var Tr=(0,Yr.Z)("Tabs",xt=>{const It=(0,Fn.TS)(xt,{tabsCardPadding:xt.cardPadding||`${(xt.cardHeight-Math.round(xt.fontSize*xt.lineHeight))/2-xt.lineWidth}px ${xt.padding}px`,dropdownEdgeChildVerticalPadding:xt.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${xt.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${xt.horizontalItemGutter}px`});return[Nr(It),Or(It),ar(It),un(It),Un(It),Pr(It),qr(It)]},xt=>{const It=xt.controlHeightLG;return{zIndexPopup:xt.zIndexPopupBase+50,cardBg:xt.colorFillAlter,cardHeight:It,cardPadding:"",cardPaddingSM:`${xt.paddingXXS*1.5}px ${xt.padding}px`,cardPaddingLG:`${xt.paddingXS}px ${xt.padding}px ${xt.paddingXXS*1.5}px`,titleFontSize:xt.fontSize,titleFontSizeLG:xt.fontSizeLG,titleFontSizeSM:xt.fontSize,inkBarColor:xt.colorPrimary,horizontalMargin:`0 0 ${xt.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${xt.paddingSM}px 0`,horizontalItemPaddingSM:`${xt.paddingXS}px 0`,horizontalItemPaddingLG:`${xt.padding}px 0`,verticalItemPadding:`${xt.paddingXS}px ${xt.paddingLG}px`,verticalItemMargin:`${xt.margin}px 0 0 0`,itemColor:xt.colorText,itemSelectedColor:xt.colorPrimary,itemHoverColor:xt.colorPrimaryHover,itemActiveColor:xt.colorPrimaryActive,cardGutter:xt.marginXXS/2}}),wr=function(xt,It){var Tt={};for(var At in xt)Object.prototype.hasOwnProperty.call(xt,At)&&It.indexOf(At)<0&&(Tt[At]=xt[At]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,At=Object.getOwnPropertySymbols(xt);zt<At.length;zt++)It.indexOf(At[zt])<0&&Object.prototype.propertyIsEnumerable.call(xt,At[zt])&&(Tt[At[zt]]=xt[At[zt]]);return Tt};const Xr=xt=>{const{type:It,className:Tt,rootClassName:At,size:zt,onEdit:Ut,hideAdd:ir,centered:er,addIcon:hr,popupClassName:Cr,children:Dr,items:Ir,animated:qt,style:vr,indicatorSize:Ht}=xt,Yt=wr(xt,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:Xt,moreIcon:rr=te.createElement(vt.Z,null)}=Yt,{direction:gr,tabs:Qt,getPrefixCls:xr,getPopupContainer:Lt}=te.useContext(St.E_),Jt=xr("tabs",Xt),[$t,dr]=Tr(Jt);let lr;It==="editable-card"&&(lr={onEdit:(Qr,nn)=>{let{key:dn,event:pn}=nn;Ut==null||Ut(Qr==="add"?pn:dn,Qr)},removeIcon:te.createElement(Re.Z,null),addIcon:hr||te.createElement(x.Z,null),showAdd:ir!==!0});const pr=xr(),fr=Ur(Ir,Dr),Ar=Sr(Jt,qt),Rr=(0,Nt.Z)(zt),Zr=Object.assign(Object.assign({},Qt==null?void 0:Qt.style),vr);return $t(te.createElement(ft,Object.assign({direction:gr,getPopupContainer:Lt,moreTransitionName:`${pr}-slide-up`},Yt,{items:fr,className:ve()({[`${Jt}-${Rr}`]:Rr,[`${Jt}-card`]:["card","editable-card"].includes(It),[`${Jt}-editable-card`]:It==="editable-card",[`${Jt}-centered`]:er},Qt==null?void 0:Qt.className,Tt,At,dr),popupClassName:ve()(Cr,dr),style:Zr,editable:lr,moreIcon:rr,prefixCls:Jt,animated:Ar,indicatorSize:Ht!=null?Ht:Qt==null?void 0:Qt.indicatorSize})))};Xr.TabPane=Zt;var Kt=Xr},17574:function(sr,Wt,ke){"use strict";ke.d(Wt,{default:function(){return Ve}});var Re=ke(38028),vt=ke(77654),x=ke(52671),De=ke(8657),ve=ke(60499),re=ke(59301),ne={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"},ie=ne,oe=ke(7657),le=function(nt,dt){return re.createElement(oe.Z,(0,ve.Z)({},nt,{ref:dt,icon:ie}))},me=re.forwardRef(le),te=me,ae=ke(92310),ue=ke.n(ae),de=ke(35654),he=ke(71430),we=ke(36355),Se=ke(56082),xe=ke(62892),ye=ke(20648);const Ae=4;function Le(Ye){const{dropPosition:nt,dropLevelOffset:dt,prefixCls:at,indent:et,direction:qe="ltr"}=Ye,it=qe==="ltr"?"left":"right",yt=qe==="ltr"?"right":"left",ht={[it]:-dt*et+Ae,[yt]:0};switch(nt){case-1:ht.top=-3;break;case 1:ht.bottom=-3;break;default:ht.bottom=-3,ht[it]=et+Ae;break}return re.createElement("div",{style:ht,className:`${at}-drop-indicator`})}var Ee=ke(71997),Me=re.forwardRef((Ye,nt)=>{const{getPrefixCls:dt,direction:at,virtual:et,tree:qe}=re.useContext(we.E_),{prefixCls:it,className:yt,showIcon:ht=!1,showLine:Bt,switcherIcon:Et,blockNode:st=!1,children:Ge,checkable:We=!1,selectable:se=!0,draggable:fe,motion:ze,style:He}=Ye,pe=dt("tree",it),Be=dt(),Ke=ze!=null?ze:Object.assign(Object.assign({},(0,xe.Z)(Be)),{motionAppear:!1}),Xe=Object.assign(Object.assign({},Ye),{checkable:We,selectable:se,showIcon:ht,motion:Ke,blockNode:st,showLine:!!Bt,dropIndicatorRender:Le}),[Je,ut]=(0,ye.ZP)(pe),bt=re.useMemo(()=>{if(!fe)return!1;let Dt={};switch(typeof fe){case"function":Dt.nodeDraggable=fe;break;case"object":Dt=Object.assign({},fe);break;default:break}return Dt.icon!==!1&&(Dt.icon=Dt.icon||re.createElement(Se.Z,null)),Dt},[fe]),gt=Dt=>re.createElement(Ee.Z,{prefixCls:pe,switcherIcon:Et,treeNodeProps:Dt,showLine:Bt});return Je(re.createElement(Re.Z,Object.assign({itemHeight:20,ref:nt,virtual:et},Xe,{style:Object.assign(Object.assign({},qe==null?void 0:qe.style),He),prefixCls:pe,className:ue()({[`${pe}-icon-hide`]:!ht,[`${pe}-block-node`]:st,[`${pe}-unselectable`]:!se,[`${pe}-rtl`]:at==="rtl"},qe==null?void 0:qe.className,yt,ut),direction:at,checkable:We&&re.createElement("span",{className:`${pe}-checkbox-inner`}),selectable:se,switcherIcon:gt,draggable:bt}),Ge))}),Oe;(function(Ye){Ye[Ye.None=0]="None",Ye[Ye.Start=1]="Start",Ye[Ye.End=2]="End"})(Oe||(Oe={}));function Ce(Ye,nt){function dt(at){const{key:et,children:qe}=at;nt(et,at)!==!1&&Ce(qe||[],nt)}Ye.forEach(dt)}function Ne(Ye){let{treeData:nt,expandedKeys:dt,startKey:at,endKey:et}=Ye;const qe=[];let it=Oe.None;if(at&&at===et)return[at];if(!at||!et)return[];function yt(ht){return ht===at||ht===et}return Ce(nt,ht=>{if(it===Oe.End)return!1;if(yt(ht)){if(qe.push(ht),it===Oe.None)it=Oe.Start;else if(it===Oe.Start)return it=Oe.End,!1}else it===Oe.Start&&qe.push(ht);return dt.includes(ht)}),qe}function je(Ye,nt){const dt=(0,vt.Z)(nt),at=[];return Ce(Ye,(et,qe)=>{const it=dt.indexOf(et);return it!==-1&&(at.push(qe),dt.splice(it,1)),!!dt.length}),at}var Ze=function(Ye,nt){var dt={};for(var at in Ye)Object.prototype.hasOwnProperty.call(Ye,at)&&nt.indexOf(at)<0&&(dt[at]=Ye[at]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,at=Object.getOwnPropertySymbols(Ye);et<at.length;et++)nt.indexOf(at[et])<0&&Object.prototype.propertyIsEnumerable.call(Ye,at[et])&&(dt[at[et]]=Ye[at[et]]);return dt};function Pe(Ye){const{isLeaf:nt,expanded:dt}=Ye;return nt?re.createElement(x.Z,null):dt?re.createElement(De.Z,null):re.createElement(te,null)}function Ue(Ye){let{treeData:nt,children:dt}=Ye;return nt||(0,he.zn)(dt)}const Qe=(Ye,nt)=>{var{defaultExpandAll:dt,defaultExpandParent:at,defaultExpandedKeys:et}=Ye,qe=Ze(Ye,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const it=re.useRef(),yt=re.useRef(),ht=()=>{const{keyEntities:bt}=(0,he.I8)(Ue(qe));let gt;return dt?gt=Object.keys(bt):at?gt=(0,de.r7)(qe.expandedKeys||et||[],bt):gt=qe.expandedKeys||et,gt},[Bt,Et]=re.useState(qe.selectedKeys||qe.defaultSelectedKeys||[]),[st,Ge]=re.useState(()=>ht());re.useEffect(()=>{"selectedKeys"in qe&&Et(qe.selectedKeys)},[qe.selectedKeys]),re.useEffect(()=>{"expandedKeys"in qe&&Ge(qe.expandedKeys)},[qe.expandedKeys]);const We=(bt,gt)=>{var Dt;return"expandedKeys"in qe||Ge(bt),(Dt=qe.onExpand)===null||Dt===void 0?void 0:Dt.call(qe,bt,gt)},se=(bt,gt)=>{var Dt;const{multiple:Vt}=qe,{node:kt,nativeEvent:jt}=gt,{key:_t=""}=kt,Mt=Ue(qe),ft=Object.assign(Object.assign({},gt),{selected:!0}),St=(jt==null?void 0:jt.ctrlKey)||(jt==null?void 0:jt.metaKey),Nt=jt==null?void 0:jt.shiftKey;let Ft;Vt&&St?(Ft=bt,it.current=_t,yt.current=Ft,ft.selectedNodes=je(Mt,Ft)):Vt&&Nt?(Ft=Array.from(new Set([].concat((0,vt.Z)(yt.current||[]),(0,vt.Z)(Ne({treeData:Mt,expandedKeys:st,startKey:_t,endKey:it.current}))))),ft.selectedNodes=je(Mt,Ft)):(Ft=[_t],it.current=_t,yt.current=Ft,ft.selectedNodes=je(Mt,Ft)),(Dt=qe.onSelect)===null||Dt===void 0||Dt.call(qe,Ft,ft),"selectedKeys"in qe||Et(Ft)},{getPrefixCls:fe,direction:ze}=re.useContext(we.E_),{prefixCls:He,className:pe,showIcon:Be=!0,expandAction:Ke="click"}=qe,Xe=Ze(qe,["prefixCls","className","showIcon","expandAction"]),Je=fe("tree",He),ut=ue()(`${Je}-directory`,{[`${Je}-directory-rtl`]:ze==="rtl"},pe);return re.createElement(Me,Object.assign({icon:Pe,ref:nt,blockNode:!0},Xe,{showIcon:Be,expandAction:Ke,prefixCls:Je,className:ut,expandedKeys:st,selectedKeys:Bt,onSelect:se,onExpand:We}))};var ot=re.forwardRef(Qe);const lt=Me;lt.DirectoryTree=ot,lt.TreeNode=Re.O;var Ve=lt},20648:function(sr,Wt,ke){"use strict";ke.d(Wt,{TM:function(){return ae},Yk:function(){return te}});var Re=ke(36237),vt=ke(98447),x=ke(17313),De=ke(8378),ve=ke(37613),re=ke(83116);const ne=new Re.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ie=(ue,de)=>({[`.${ue}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${de.motionDurationSlow}`}}}),oe=(ue,de)=>({[`.${ue}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:de.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${de.lineWidthBold}px solid ${de.colorPrimary}`,borderRadius:"50%",content:'""'}}}),le=(ue,de)=>{const{treeCls:he,treeNodeCls:we,treeNodePadding:Se,titleHeight:xe,nodeSelectedBg:ye,nodeHoverBg:Ae}=de,Le=de.paddingXS;return{[he]:Object.assign(Object.assign({},(0,x.Wf)(de)),{background:de.colorBgContainer,borderRadius:de.borderRadius,transition:`background-color ${de.motionDurationSlow}`,[`&${he}-rtl`]:{[`${he}-switcher`]:{"&_close":{[`${he}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${he}-active-focused)`]:Object.assign({},(0,x.oN)(de)),[`${he}-list-holder-inner`]:{alignItems:"flex-start"},[`&${he}-block-node`]:{[`${he}-list-holder-inner`]:{alignItems:"stretch",[`${he}-node-content-wrapper`]:{flex:"auto"},[`${we}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:Se,insetInlineStart:0,border:`1px solid ${de.colorPrimary}`,opacity:0,animationName:ne,animationDuration:de.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${we}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${Se}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${he}-node-content-wrapper`]:{color:de.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${he}-node-content-wrapper`]:Object.assign({},(0,x.oN)(de)),[`&:not(${we}-disabled).filter-node ${he}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${he}-draggable-icon`]:{flexShrink:0,width:xe,lineHeight:`${xe}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${de.motionDurationSlow}`,[`${we}:hover &`]:{opacity:.45}},[`&${we}-disabled`]:{[`${he}-draggable-icon`]:{visibility:"hidden"}}}},[`${he}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:xe}},[`${he}-draggable-icon`]:{visibility:"hidden"},[`${he}-switcher`]:Object.assign(Object.assign({},ie(ue,de)),{position:"relative",flex:"none",alignSelf:"stretch",width:xe,margin:0,lineHeight:`${xe}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${he}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:de.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 ${de.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:xe/2*.8,height:xe/2,borderBottom:`1px solid ${de.colorBorder}`,content:'""'}}}),[`${he}-checkbox`]:{top:"initial",marginInlineEnd:Le},[`${he}-node-content-wrapper, ${he}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:xe,margin:0,padding:`0 ${de.paddingXS/2}px`,color:"inherit",lineHeight:`${xe}px`,background:"transparent",borderRadius:de.borderRadius,cursor:"pointer",transition:`all ${de.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:Ae},[`&${he}-node-selected`]:{backgroundColor:ye},[`${he}-iconEle`]:{display:"inline-block",width:xe,height:xe,lineHeight:`${xe}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${he}-unselectable ${he}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${he}-node-content-wrapper`]:Object.assign({lineHeight:`${xe}px`,userSelect:"none"},oe(ue,de)),[`${we}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${de.colorPrimary}`}},"&-show-line":{[`${he}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:xe/2,bottom:-Se,borderInlineEnd:`1px solid ${de.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${he}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${we}-leaf-last`]:{[`${he}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${xe/2}px !important`}}}}})}},me=ue=>{const{treeCls:de,treeNodeCls:he,treeNodePadding:we,directoryNodeSelectedBg:Se,directoryNodeSelectedColor:xe}=ue;return{[`${de}${de}-directory`]:{[he]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:we,insetInlineStart:0,transition:`background-color ${ue.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ue.controlItemBgHover}},"> *":{zIndex:1},[`${de}-switcher`]:{transition:`color ${ue.motionDurationMid}`},[`${de}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${de}-node-selected`]:{color:xe,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:Se},[`${de}-switcher`]:{color:xe},[`${de}-node-content-wrapper`]:{color:xe,background:"transparent"}}}}}},te=(ue,de)=>{const he=`.${ue}`,we=`${he}-treenode`,Se=de.paddingXS/2,xe=(0,ve.TS)(de,{treeCls:he,treeNodeCls:we,treeNodePadding:Se});return[le(ue,xe),me(xe)]},ae=ue=>{const{controlHeightSM:de}=ue;return{titleHeight:de,nodeHoverBg:ue.controlItemBgHover,nodeSelectedBg:ue.controlItemBgActive}};Wt.ZP=(0,re.Z)("Tree",(ue,de)=>{let{prefixCls:he}=de;return[{[ue.componentCls]:(0,vt.C2)(`${he}-checkbox`,ue)},te(he,ue),(0,De.Z)(ue)]},ue=>{const{colorTextLightSolid:de,colorPrimary:he}=ue;return Object.assign(Object.assign({},ae(ue)),{directoryNodeSelectedColor:de,directoryNodeSelectedBg:he})})},71997:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return we}});var Re=ke(60499),vt=ke(59301),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"},De=x,ve=ke(7657),re=function(xe,ye){return vt.createElement(ve.Z,(0,Re.Z)({},xe,{ref:ye,icon:De}))},ne=vt.forwardRef(re),ie=ne,oe=ke(52671),le=ke(58617),me=ke(15075),te=ke(43531),ae=ke(92310),ue=ke.n(ae),de=ke(92343),we=Se=>{const{prefixCls:xe,switcherIcon:ye,treeNodeProps:Ae,showLine:Le}=Se,{isLeaf:Ee,expanded:_e,loading:Me}=Ae;if(Me)return vt.createElement(le.Z,{className:`${xe}-switcher-loading-icon`});let Oe;if(Le&&typeof Le=="object"&&(Oe=Le.showLeafIcon),Ee){if(!Le)return null;if(typeof Oe!="boolean"&&Oe){const je=typeof Oe=="function"?Oe(Ae):Oe,Ze=`${xe}-switcher-line-custom-icon`;return(0,de.l$)(je)?(0,de.Tm)(je,{className:ue()(je.props.className||"",Ze)}):je}return Oe?vt.createElement(oe.Z,{className:`${xe}-switcher-line-icon`}):vt.createElement("span",{className:`${xe}-switcher-leaf-line`})}const Ce=`${xe}-switcher-icon`,Ne=typeof ye=="function"?ye(Ae):ye;return(0,de.l$)(Ne)?(0,de.Tm)(Ne,{className:ue()(Ne.props.className||"",Ce)}):Ne!==void 0?Ne:Le?_e?vt.createElement(me.Z,{className:`${xe}-switcher-line-icon`}):vt.createElement(te.Z,{className:`${xe}-switcher-line-icon`}):vt.createElement(ie,{className:Ce})}},54580:function(sr,Wt,ke){"use strict";ke.d(Wt,{default:function(){return vr}});var Re=ke(59301),vt=ke(77654),x=ke(92310),De=ke.n(x),ve=ke(60499),re=ke(38705),ne=ke(17212),ie=ke(39153),oe=ke(55401),le=ke(18642),me=ke(42244),te=ke(73001),ae=ke(43749),ue=ke(11576),de=ke(26112);function he(Ht,Yt){var Xt="cannot ".concat(Ht.method," ").concat(Ht.action," ").concat(Yt.status,"'"),rr=new Error(Xt);return rr.status=Yt.status,rr.method=Ht.method,rr.url=Ht.action,rr}function we(Ht){var Yt=Ht.responseText||Ht.response;if(!Yt)return Yt;try{return JSON.parse(Yt)}catch(Xt){return Yt}}function Se(Ht){var Yt=new XMLHttpRequest;Ht.onProgress&&Yt.upload&&(Yt.upload.onprogress=function(Qt){Qt.total>0&&(Qt.percent=Qt.loaded/Qt.total*100),Ht.onProgress(Qt)});var Xt=new FormData;Ht.data&&Object.keys(Ht.data).forEach(function(gr){var Qt=Ht.data[gr];if(Array.isArray(Qt)){Qt.forEach(function(xr){Xt.append("".concat(gr,"[]"),xr)});return}Xt.append(gr,Qt)}),Ht.file instanceof Blob?Xt.append(Ht.filename,Ht.file,Ht.file.name):Xt.append(Ht.filename,Ht.file),Yt.onerror=function(Qt){Ht.onError(Qt)},Yt.onload=function(){return Yt.status<200||Yt.status>=300?Ht.onError(he(Ht,Yt),we(Yt)):Ht.onSuccess(we(Yt),Yt)},Yt.open(Ht.method,Ht.action,!0),Ht.withCredentials&&"withCredentials"in Yt&&(Yt.withCredentials=!0);var rr=Ht.headers||{};return rr["X-Requested-With"]!==null&&Yt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(rr).forEach(function(gr){rr[gr]!==null&&Yt.setRequestHeader(gr,rr[gr])}),Yt.send(Xt),{abort:function(){Yt.abort()}}}var xe=+new Date,ye=0;function Ae(){return"rc-upload-".concat(xe,"-").concat(++ye)}var Le=ke(48736),Ee=function(Ht,Yt){if(Ht&&Yt){var Xt=Array.isArray(Yt)?Yt:Yt.split(","),rr=Ht.name||"",gr=Ht.type||"",Qt=gr.replace(/\/.*$/,"");return Xt.some(function(xr){var Lt=xr.trim();if(/^\*(\/\*)?$/.test(xr))return!0;if(Lt.charAt(0)==="."){var Jt=rr.toLowerCase(),$t=Lt.toLowerCase(),dr=[$t];return($t===".jpg"||$t===".jpeg")&&(dr=[".jpg",".jpeg"]),dr.some(function(lr){return Jt.endsWith(lr)})}return/\/\*$/.test(Lt)?Qt===Lt.replace(/\/.*$/,""):gr===Lt?!0:/^\w+$/.test(Lt)?((0,Le.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Lt,"'.Skip for check.")),!0):!1})}return!0};function _e(Ht,Yt){var Xt=Ht.createReader(),rr=[];function gr(){Xt.readEntries(function(Qt){var xr=Array.prototype.slice.apply(Qt);rr=rr.concat(xr);var Lt=!xr.length;Lt?Yt(rr):gr()})}gr()}var Me=function(Yt,Xt,rr){var gr=function Qt(xr,Lt){xr&&(xr.path=Lt||"",xr.isFile?xr.file(function(Jt){rr(Jt)&&(xr.fullPath&&!Jt.webkitRelativePath&&(Object.defineProperties(Jt,{webkitRelativePath:{writable:!0}}),Jt.webkitRelativePath=xr.fullPath.replace(/^\//,""),Object.defineProperties(Jt,{webkitRelativePath:{writable:!1}})),Xt([Jt]))}):xr.isDirectory&&_e(xr,function(Jt){Jt.forEach(function($t){Qt($t,"".concat(Lt).concat(xr.name,"/"))})}))};Yt.forEach(function(Qt){gr(Qt.webkitGetAsEntry())})},Oe=Me,Ce=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Ne=function(Ht){(0,ie.Z)(Xt,Ht);var Yt=(0,oe.Z)(Xt);function Xt(){var rr;(0,re.Z)(this,Xt);for(var gr=arguments.length,Qt=new Array(gr),xr=0;xr<gr;xr++)Qt[xr]=arguments[xr];return rr=Yt.call.apply(Yt,[this].concat(Qt)),rr.state={uid:Ae()},rr.reqs={},rr.fileInput=void 0,rr._isMounted=void 0,rr.onChange=function(Lt){var Jt=rr.props,$t=Jt.accept,dr=Jt.directory,lr=Lt.target.files,pr=(0,vt.Z)(lr).filter(function(fr){return!dr||Ee(fr,$t)});rr.uploadFiles(pr),rr.reset()},rr.onClick=function(Lt){var Jt=rr.fileInput;if(Jt){var $t=Lt.target,dr=rr.props.onClick;if($t&&$t.tagName==="BUTTON"){var lr=Jt.parentNode;lr.focus(),$t.blur()}Jt.click(),dr&&dr(Lt)}},rr.onKeyDown=function(Lt){Lt.key==="Enter"&&rr.onClick(Lt)},rr.onFileDrop=function(Lt){var Jt=rr.props.multiple;if(Lt.preventDefault(),Lt.type!=="dragover")if(rr.props.directory)Oe(Array.prototype.slice.call(Lt.dataTransfer.items),rr.uploadFiles,function(dr){return Ee(dr,rr.props.accept)});else{var $t=(0,vt.Z)(Lt.dataTransfer.files).filter(function(dr){return Ee(dr,rr.props.accept)});Jt===!1&&($t=$t.slice(0,1)),rr.uploadFiles($t)}},rr.uploadFiles=function(Lt){var Jt=(0,vt.Z)(Lt),$t=Jt.map(function(dr){return dr.uid=Ae(),rr.processFile(dr,Jt)});Promise.all($t).then(function(dr){var lr=rr.props.onBatchStart;lr==null||lr(dr.map(function(pr){var fr=pr.origin,Ar=pr.parsedFile;return{file:fr,parsedFile:Ar}})),dr.filter(function(pr){return pr.parsedFile!==null}).forEach(function(pr){rr.post(pr)})})},rr.processFile=function(){var Lt=(0,ue.Z)((0,te.Z)().mark(function Jt($t,dr){var lr,pr,fr,Ar,Rr,Zr,Qr,nn,dn;return(0,te.Z)().wrap(function(Gr){for(;;)switch(Gr.prev=Gr.next){case 0:if(lr=rr.props.beforeUpload,pr=$t,!lr){Gr.next=14;break}return Gr.prev=3,Gr.next=6,lr($t,dr);case 6:pr=Gr.sent,Gr.next=12;break;case 9:Gr.prev=9,Gr.t0=Gr.catch(3),pr=!1;case 12:if(pr!==!1){Gr.next=14;break}return Gr.abrupt("return",{origin:$t,parsedFile:null,action:null,data:null});case 14:if(fr=rr.props.action,typeof fr!="function"){Gr.next=21;break}return Gr.next=18,fr($t);case 18:Ar=Gr.sent,Gr.next=22;break;case 21:Ar=fr;case 22:if(Rr=rr.props.data,typeof Rr!="function"){Gr.next=29;break}return Gr.next=26,Rr($t);case 26:Zr=Gr.sent,Gr.next=30;break;case 29:Zr=Rr;case 30:return Qr=((0,ae.Z)(pr)==="object"||typeof pr=="string")&&pr?pr:$t,Qr instanceof File?nn=Qr:nn=new File([Qr],$t.name,{type:$t.type}),dn=nn,dn.uid=$t.uid,Gr.abrupt("return",{origin:$t,data:Zr,parsedFile:dn,action:Ar});case 35:case"end":return Gr.stop()}},Jt,null,[[3,9]])}));return function(Jt,$t){return Lt.apply(this,arguments)}}(),rr.saveFileInput=function(Lt){rr.fileInput=Lt},rr}return(0,ne.Z)(Xt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(gr){var Qt=this,xr=gr.data,Lt=gr.origin,Jt=gr.action,$t=gr.parsedFile;if(this._isMounted){var dr=this.props,lr=dr.onStart,pr=dr.customRequest,fr=dr.name,Ar=dr.headers,Rr=dr.withCredentials,Zr=dr.method,Qr=Lt.uid,nn=pr||Se,dn={action:Jt,filename:fr,data:xr,file:$t,headers:Ar,withCredentials:Rr,method:Zr||"post",onProgress:function(Gr){var yn=Qt.props.onProgress;yn==null||yn(Gr,$t)},onSuccess:function(Gr,yn){var mn=Qt.props.onSuccess;mn==null||mn(Gr,$t,yn),delete Qt.reqs[Qr]},onError:function(Gr,yn){var mn=Qt.props.onError;mn==null||mn(Gr,yn,$t),delete Qt.reqs[Qr]}};lr(Lt),this.reqs[Qr]=nn(dn)}}},{key:"reset",value:function(){this.setState({uid:Ae()})}},{key:"abort",value:function(gr){var Qt=this.reqs;if(gr){var xr=gr.uid?gr.uid:gr;Qt[xr]&&Qt[xr].abort&&Qt[xr].abort(),delete Qt[xr]}else Object.keys(Qt).forEach(function(Lt){Qt[Lt]&&Qt[Lt].abort&&Qt[Lt].abort(),delete Qt[Lt]})}},{key:"render",value:function(){var gr=this.props,Qt=gr.component,xr=gr.prefixCls,Lt=gr.className,Jt=gr.disabled,$t=gr.id,dr=gr.style,lr=gr.multiple,pr=gr.accept,fr=gr.capture,Ar=gr.children,Rr=gr.directory,Zr=gr.openFileDialogOnClick,Qr=gr.onMouseEnter,nn=gr.onMouseLeave,dn=(0,me.Z)(gr,Ce),pn=De()((0,le.Z)((0,le.Z)((0,le.Z)({},xr,!0),"".concat(xr,"-disabled"),Jt),Lt,Lt)),Gr=Rr?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},yn=Jt?{}:{onClick:Zr?this.onClick:function(){},onKeyDown:Zr?this.onKeyDown:function(){},onMouseEnter:Qr,onMouseLeave:nn,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return Re.createElement(Qt,(0,ve.Z)({},yn,{className:pn,role:"button",style:dr}),Re.createElement("input",(0,ve.Z)({},(0,de.Z)(dn,{aria:!0,data:!0}),{id:$t,disabled:Jt,type:"file",ref:this.saveFileInput,onClick:function(On){return On.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:pr},Gr,{multiple:lr,onChange:this.onChange},fr!=null?{capture:fr}:{})),Ar)}}]),Xt}(Re.Component),je=Ne;function Ze(){}var Pe=function(Ht){(0,ie.Z)(Xt,Ht);var Yt=(0,oe.Z)(Xt);function Xt(){var rr;(0,re.Z)(this,Xt);for(var gr=arguments.length,Qt=new Array(gr),xr=0;xr<gr;xr++)Qt[xr]=arguments[xr];return rr=Yt.call.apply(Yt,[this].concat(Qt)),rr.uploader=void 0,rr.saveUploader=function(Lt){rr.uploader=Lt},rr}return(0,ne.Z)(Xt,[{key:"abort",value:function(gr){this.uploader.abort(gr)}},{key:"render",value:function(){return Re.createElement(je,(0,ve.Z)({},this.props,{ref:this.saveUploader}))}}]),Xt}(Re.Component);Pe.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Ze,onError:Ze,onSuccess:Ze,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Ue=Pe,Qe=Ue,tt=ke(18929),ot=ke(4676),lt=ke(36355),Ve=ke(1684),Ye=ke(9763),nt=ke(31724),dt={icon:function(Yt,Xt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Xt}},{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:Yt}}]}},name:"file",theme:"twotone"},at=dt,et=ke(7657),qe=function(Yt,Xt){return Re.createElement(et.Z,(0,ve.Z)({},Yt,{ref:Xt,icon:at}))},it=Re.forwardRef(qe),yt=it,ht=ke(58617),Bt={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"},Et=Bt,st=function(Yt,Xt){return Re.createElement(et.Z,(0,ve.Z)({},Yt,{ref:Xt,icon:Et}))},Ge=Re.forwardRef(st),We=Ge,se={icon:function(Yt,Xt){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:Yt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Xt}},{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:Xt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Xt}},{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:Yt}}]}},name:"picture",theme:"twotone"},fe=se,ze=function(Yt,Xt){return Re.createElement(et.Z,(0,ve.Z)({},Yt,{ref:Xt,icon:fe}))},He=Re.forwardRef(ze),pe=He,Be=ke(77900),Ke=ke(56762),Xe=ke(62892),Je=ke(92343),ut=ke(3113);function bt(Ht){return Object.assign(Object.assign({},Ht),{lastModified:Ht.lastModified,lastModifiedDate:Ht.lastModifiedDate,name:Ht.name,size:Ht.size,type:Ht.type,uid:Ht.uid,percent:0,originFileObj:Ht})}function gt(Ht,Yt){const Xt=(0,vt.Z)(Yt),rr=Xt.findIndex(gr=>{let{uid:Qt}=gr;return Qt===Ht.uid});return rr===-1?Xt.push(Ht):Xt[rr]=Ht,Xt}function Dt(Ht,Yt){const Xt=Ht.uid!==void 0?"uid":"name";return Yt.filter(rr=>rr[Xt]===Ht[Xt])[0]}function Vt(Ht,Yt){const Xt=Ht.uid!==void 0?"uid":"name",rr=Yt.filter(gr=>gr[Xt]!==Ht[Xt]);return rr.length===Yt.length?null:rr}const kt=function(){const Yt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),rr=Yt[Yt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(rr)||[""])[0]},jt=Ht=>Ht.indexOf("image/")===0,_t=Ht=>{if(Ht.type&&!Ht.thumbUrl)return jt(Ht.type);const Yt=Ht.thumbUrl||Ht.url||"",Xt=kt(Yt);return/^data:image\//.test(Yt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Xt)?!0:!(/^data:/.test(Yt)||Xt)},Mt=200;function ft(Ht){return new Promise(Yt=>{if(!Ht.type||!jt(Ht.type)){Yt("");return}const Xt=document.createElement("canvas");Xt.width=Mt,Xt.height=Mt,Xt.style.cssText=`position: fixed; left: 0; top: 0; width: ${Mt}px; height: ${Mt}px; z-index: 9999; display: none;`,document.body.appendChild(Xt);const rr=Xt.getContext("2d"),gr=new Image;if(gr.onload=()=>{const{width:Qt,height:xr}=gr;let Lt=Mt,Jt=Mt,$t=0,dr=0;Qt>xr?(Jt=xr*(Mt/Qt),dr=-(Jt-Lt)/2):(Lt=Qt*(Mt/xr),$t=-(Lt-Jt)/2),rr.drawImage(gr,$t,dr,Lt,Jt);const lr=Xt.toDataURL();document.body.removeChild(Xt),window.URL.revokeObjectURL(gr.src),Yt(lr)},gr.crossOrigin="anonymous",Ht.type.startsWith("image/svg+xml")){const Qt=new FileReader;Qt.onload=()=>{Qt.result&&(gr.src=Qt.result)},Qt.readAsDataURL(Ht)}else if(Ht.type.startsWith("image/gif")){const Qt=new FileReader;Qt.onload=()=>{Qt.result&&Yt(Qt.result)},Qt.readAsDataURL(Ht)}else gr.src=window.URL.createObjectURL(Ht)})}var St=ke(26227),Nt=ke(41464),Ft=ke(15277),Zt=ke(93948),or=ke(6848),Sr=Re.forwardRef((Ht,Yt)=>{let{prefixCls:Xt,className:rr,style:gr,locale:Qt,listType:xr,file:Lt,items:Jt,progress:$t,iconRender:dr,actionIconRender:lr,itemRender:pr,isImgUrl:fr,showPreviewIcon:Ar,showRemoveIcon:Rr,showDownloadIcon:Zr,previewIcon:Qr,removeIcon:nn,downloadIcon:dn,onPreview:pn,onDownload:Gr,onClose:yn}=Ht;var mn,On;const{status:cn}=Lt,[Sn,gn]=Re.useState(cn);Re.useEffect(()=>{cn!=="removed"&&gn(cn)},[cn]);const[Jr,Ln]=Re.useState(!1);Re.useEffect(()=>{const Ei=setTimeout(()=>{Ln(!0)},300);return()=>{clearTimeout(Ei)}},[]);const Zn=dr(Lt);let fn=Re.createElement("div",{className:`${Xt}-icon`},Zn);if(xr==="picture"||xr==="picture-card"||xr==="picture-circle")if(Sn==="uploading"||!Lt.thumbUrl&&!Lt.url){const Ei=De()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:Sn!=="uploading"});fn=Re.createElement("div",{className:Ei},Zn)}else{const Ei=fr!=null&&fr(Lt)?Re.createElement("img",{src:Lt.thumbUrl||Lt.url,alt:Lt.name,className:`${Xt}-list-item-image`,crossOrigin:Lt.crossOrigin}):Zn,gi=De()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:fr&&!fr(Lt)});fn=Re.createElement("a",{className:gi,onClick:di=>pn(Lt,di),href:Lt.url||Lt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ei)}const Hr=De()(`${Xt}-list-item`,`${Xt}-list-item-${Sn}`),Wr=typeof Lt.linkProps=="string"?JSON.parse(Lt.linkProps):Lt.linkProps,In=Rr?lr((typeof nn=="function"?nn(Lt):nn)||Re.createElement(St.Z,null),()=>yn(Lt),Xt,Qt.removeFile):null,bn=Zr&&Sn==="done"?lr((typeof dn=="function"?dn(Lt):dn)||Re.createElement(Nt.Z,null),()=>Gr(Lt),Xt,Qt.downloadFile):null,Nn=xr!=="picture-card"&&xr!=="picture-circle"&&Re.createElement("span",{key:"download-delete",className:De()(`${Xt}-list-item-actions`,{picture:xr==="picture"})},bn,In),Hn=De()(`${Xt}-list-item-name`),zn=Lt.url?[Re.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Hn,title:Lt.name},Wr,{href:Lt.url,onClick:Ei=>pn(Lt,Ei)}),Lt.name),Nn]:[Re.createElement("span",{key:"view",className:Hn,onClick:Ei=>pn(Lt,Ei),title:Lt.name},Lt.name),Nn],Dn={pointerEvents:"none",opacity:.5},_n=Ar?Re.createElement("a",{href:Lt.url||Lt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Lt.url||Lt.thumbUrl?void 0:Dn,onClick:Ei=>pn(Lt,Ei),title:Qt.previewFile},typeof Qr=="function"?Qr(Lt):Qr||Re.createElement(Ft.Z,null)):null,ci=(xr==="picture-card"||xr==="picture-circle")&&Sn!=="uploading"&&Re.createElement("span",{className:`${Xt}-list-item-actions`},_n,Sn==="done"&&bn,In),{getPrefixCls:hn}=Re.useContext(lt.E_),kn=hn(),Vn=Re.createElement("div",{className:Hr},fn,zn,ci,Jr&&Re.createElement(Be.default,{motionName:`${kn}-fade`,visible:Sn==="uploading",motionDeadline:2e3},Ei=>{let{className:gi}=Ei;const di="percent"in Lt?Re.createElement(Zt.Z,Object.assign({},$t,{type:"line",percent:Lt.percent,"aria-label":Lt["aria-label"],"aria-labelledby":Lt["aria-labelledby"]})):null;return Re.createElement("div",{className:De()(`${Xt}-list-item-progress`,gi)},di)})),$n=Lt.response&&typeof Lt.response=="string"?Lt.response:((mn=Lt.error)===null||mn===void 0?void 0:mn.statusText)||((On=Lt.error)===null||On===void 0?void 0:On.message)||Qt.uploadError,Ci=Sn==="error"?Re.createElement(or.Z,{title:$n,getPopupContainer:Ei=>Ei.parentNode},Vn):Vn;return Re.createElement("div",{className:De()(`${Xt}-list-item-container`,rr),style:gr,ref:Yt},pr?pr(Ci,Lt,Jt,{download:Gr.bind(null,Lt),preview:pn.bind(null,Lt),remove:yn.bind(null,Lt)}):Ci)});const Fr=(Ht,Yt)=>{const{listType:Xt="text",previewFile:rr=ft,onPreview:gr,onDownload:Qt,onRemove:xr,locale:Lt,iconRender:Jt,isImageUrl:$t=_t,prefixCls:dr,items:lr=[],showPreviewIcon:pr=!0,showRemoveIcon:fr=!0,showDownloadIcon:Ar=!1,removeIcon:Rr,previewIcon:Zr,downloadIcon:Qr,progress:nn={size:[-1,2],showInfo:!1},appendAction:dn,appendActionVisible:pn=!0,itemRender:Gr,disabled:yn}=Ht,mn=(0,Ke.Z)(),[On,cn]=Re.useState(!1);Re.useEffect(()=>{Xt!=="picture"&&Xt!=="picture-card"&&Xt!=="picture-circle"||(lr||[]).forEach(Dn=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Dn.originFileObj instanceof File||Dn.originFileObj instanceof Blob)||Dn.thumbUrl!==void 0||(Dn.thumbUrl="",rr&&rr(Dn.originFileObj).then(_n=>{Dn.thumbUrl=_n||"",mn()}))})},[Xt,lr,rr]),Re.useEffect(()=>{cn(!0)},[]);const Sn=(Dn,_n)=>{if(gr)return _n==null||_n.preventDefault(),gr(Dn)},gn=Dn=>{typeof Qt=="function"?Qt(Dn):Dn.url&&window.open(Dn.url)},Jr=Dn=>{xr==null||xr(Dn)},Ln=Dn=>{if(Jt)return Jt(Dn,Xt);const _n=Dn.status==="uploading",ci=$t&&$t(Dn)?Re.createElement(pe,null):Re.createElement(yt,null);let hn=_n?Re.createElement(ht.Z,null):Re.createElement(We,null);return Xt==="picture"?hn=_n?Re.createElement(ht.Z,null):ci:(Xt==="picture-card"||Xt==="picture-circle")&&(hn=_n?Lt.uploading:ci),hn},Zn=(Dn,_n,ci,hn)=>{const kn={type:"text",size:"small",title:hn,onClick:Vn=>{_n(),(0,Je.l$)(Dn)&&Dn.props.onClick&&Dn.props.onClick(Vn)},className:`${ci}-list-item-action`,disabled:yn};if((0,Je.l$)(Dn)){const Vn=(0,Je.Tm)(Dn,Object.assign(Object.assign({},Dn.props),{onClick:()=>{}}));return Re.createElement(ut.ZP,Object.assign({},kn,{icon:Vn}))}return Re.createElement(ut.ZP,Object.assign({},kn),Re.createElement("span",null,Dn))};Re.useImperativeHandle(Yt,()=>({handlePreview:Sn,handleDownload:gn}));const{getPrefixCls:fn}=Re.useContext(lt.E_),Hr=fn("upload",dr),Wr=fn(),In=De()(`${Hr}-list`,`${Hr}-list-${Xt}`),bn=(0,vt.Z)(lr.map(Dn=>({key:Dn.uid,file:Dn})));let Hn={motionDeadline:2e3,motionName:`${Hr}-${Xt==="picture-card"||Xt==="picture-circle"?"animate-inline":"animate"}`,keys:bn,motionAppear:On};const zn=Re.useMemo(()=>{const Dn=Object.assign({},(0,Xe.Z)(Wr));return delete Dn.onAppearEnd,delete Dn.onEnterEnd,delete Dn.onLeaveEnd,Dn},[Wr]);return Xt!=="picture-card"&&Xt!=="picture-circle"&&(Hn=Object.assign(Object.assign({},zn),Hn)),Re.createElement("div",{className:In},Re.createElement(Be.CSSMotionList,Object.assign({},Hn,{component:!1}),Dn=>{let{key:_n,file:ci,className:hn,style:kn}=Dn;return Re.createElement(Sr,{key:_n,locale:Lt,prefixCls:Hr,className:hn,style:kn,file:ci,items:lr,progress:nn,listType:Xt,isImgUrl:$t,showPreviewIcon:pr,showRemoveIcon:fr,showDownloadIcon:Ar,removeIcon:Rr,previewIcon:Zr,downloadIcon:Qr,iconRender:Ln,actionIconRender:Zn,itemRender:Gr,onPreview:Sn,onDownload:gn,onClose:Jr})}),dn&&Re.createElement(Be.default,Object.assign({},Hn,{visible:pn,forceRender:!0}),Dn=>{let{className:_n,style:ci}=Dn;return(0,Je.Tm)(dn,hn=>({className:De()(hn.className,_n),style:Object.assign(Object.assign(Object.assign({},ci),{pointerEvents:_n?"none":void 0}),hn.style)}))}))};var Br=Re.forwardRef(Fr),Ur=ke(17313),on=ke(8378),Yr=ke(83116),Fn=ke(37613),Tn=Ht=>{const{componentCls:Yt,iconCls:Xt}=Ht;return{[`${Yt}-wrapper`]:{[`${Yt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ht.colorFillAlter,border:`${Ht.lineWidth}px dashed ${Ht.colorBorder}`,borderRadius:Ht.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ht.motionDurationSlow}`,[Yt]:{padding:`${Ht.padding}px 0`},[`${Yt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Yt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Yt}-disabled):hover`]:{borderColor:Ht.colorPrimaryHover},[`p${Yt}-drag-icon`]:{marginBottom:Ht.margin,[Xt]:{color:Ht.colorPrimary,fontSize:Ht.uploadThumbnailSize}},[`p${Yt}-text`]:{margin:`0 0 ${Ht.marginXXS}px`,color:Ht.colorTextHeading,fontSize:Ht.fontSizeLG},[`p${Yt}-hint`]:{color:Ht.colorTextDescription,fontSize:Ht.fontSize},[`&${Yt}-disabled`]:{cursor:"not-allowed",[`p${Yt}-drag-icon ${Xt},
p${Yt}-text,
p${Yt}-hint
`]:{color:Ht.colorTextDisabled}}}}}},Un=Ht=>{const{componentCls:Yt,antCls:Xt,iconCls:rr,fontSize:gr,lineHeight:Qt}=Ht,xr=`${Yt}-list-item`,Lt=`${xr}-actions`,Jt=`${xr}-action`,$t=Math.round(gr*Qt);return{[`${Yt}-wrapper`]:{[`${Yt}-list`]:Object.assign(Object.assign({},(0,Ur.dF)()),{lineHeight:Ht.lineHeight,[xr]:{position:"relative",height:Ht.lineHeight*gr,marginTop:Ht.marginXS,fontSize:gr,display:"flex",alignItems:"center",transition:`background-color ${Ht.motionDurationSlow}`,"&:hover":{backgroundColor:Ht.controlItemBgHover},[`${xr}-name`]:Object.assign(Object.assign({},Ur.vS),{padding:`0 ${Ht.paddingXS}px`,lineHeight:Qt,flex:"auto",transition:`all ${Ht.motionDurationSlow}`}),[Lt]:{[Jt]:{opacity:0},[`${Jt}${Xt}-btn-sm`]:{height:$t,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${Jt}:focus-visible,
&.picture ${Jt}
`]:{opacity:1},[rr]:{color:Ht.actionsColor,transition:`all ${Ht.motionDurationSlow}`},[`&:hover ${rr}`]:{color:Ht.colorText}},[`${Yt}-icon ${rr}`]:{color:Ht.colorTextDescription,fontSize:gr},[`${xr}-progress`]:{position:"absolute",bottom:-Ht.uploadProgressOffset,width:"100%",paddingInlineStart:gr+Ht.paddingXS,fontSize:gr,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${xr}:hover ${Jt}`]:{opacity:1,color:Ht.colorText},[`${xr}-error`]:{color:Ht.colorError,[`${xr}-name, ${Yt}-icon ${rr}`]:{color:Ht.colorError},[Lt]:{[`${rr}, ${rr}:hover`]:{color:Ht.colorError},[Jt]:{opacity:1}}},[`${Yt}-list-item-container`]:{transition:`opacity ${Ht.motionDurationSlow}, height ${Ht.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},un=ke(36237),ar=ke(1950);const Nr=new un.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Mr=new un.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Pr=Ht=>{const{componentCls:Yt}=Ht,Xt=`${Yt}-animate-inline`;return[{[`${Yt}-wrapper`]:{[`${Xt}-appear, ${Xt}-enter, ${Xt}-leave`]:{animationDuration:Ht.motionDurationSlow,animationTimingFunction:Ht.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Xt}-appear, ${Xt}-enter`]:{animationName:Nr},[`${Xt}-leave`]:{animationName:Mr}}},{[`${Yt}-wrapper`]:(0,ar.J$)(Ht)},Nr,Mr]},Tr=ke(30071),wr=ke(64993);const Xr=Ht=>{const{componentCls:Yt,iconCls:Xt,uploadThumbnailSize:rr,uploadProgressOffset:gr}=Ht,Qt=`${Yt}-list`,xr=`${Qt}-item`;return{[`${Yt}-wrapper`]:{[`
${Qt}${Qt}-picture,
${Qt}${Qt}-picture-card,
${Qt}${Qt}-picture-circle
`]:{[xr]:{position:"relative",height:rr+Ht.lineWidth*2+Ht.paddingXS*2,padding:Ht.paddingXS,border:`${Ht.lineWidth}px ${Ht.lineType} ${Ht.colorBorder}`,borderRadius:Ht.borderRadiusLG,"&:hover":{background:"transparent"},[`${xr}-thumbnail`]:Object.assign(Object.assign({},Ur.vS),{width:rr,height:rr,lineHeight:`${rr+Ht.paddingSM}px`,textAlign:"center",flex:"none",[Xt]:{fontSize:Ht.fontSizeHeading2,color:Ht.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${xr}-progress`]:{bottom:gr,width:`calc(100% - ${Ht.paddingSM*2}px)`,marginTop:0,paddingInlineStart:rr+Ht.paddingXS}},[`${xr}-error`]:{borderColor:Ht.colorError,[`${xr}-thumbnail ${Xt}`]:{[`svg path[fill='${Tr.blue[0]}']`]:{fill:Ht.colorErrorBg},[`svg path[fill='${Tr.blue.primary}']`]:{fill:Ht.colorError}}},[`${xr}-uploading`]:{borderStyle:"dashed",[`${xr}-name`]:{marginBottom:gr}}},[`${Qt}${Qt}-picture-circle ${xr}`]:{[`&, &::before, ${xr}-thumbnail`]:{borderRadius:"50%"}}}}},Kt=Ht=>{const{componentCls:Yt,iconCls:Xt,fontSizeLG:rr,colorTextLightSolid:gr}=Ht,Qt=`${Yt}-list`,xr=`${Qt}-item`,Lt=Ht.uploadPicCardSize;return{[`
${Yt}-wrapper${Yt}-picture-card-wrapper,
${Yt}-wrapper${Yt}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,Ur.dF)()),{display:"inline-block",width:"100%",[`${Yt}${Yt}-select`]:{width:Lt,height:Lt,marginInlineEnd:Ht.marginXS,marginBottom:Ht.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Ht.colorFillAlter,border:`${Ht.lineWidth}px dashed ${Ht.colorBorder}`,borderRadius:Ht.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ht.motionDurationSlow}`,[`> ${Yt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Yt}-disabled):hover`]:{borderColor:Ht.colorPrimary}},[`${Qt}${Qt}-picture-card, ${Qt}${Qt}-picture-circle`]:{[`${Qt}-item-container`]:{display:"inline-block",width:Lt,height:Lt,marginBlock:`0 ${Ht.marginXS}px`,marginInline:`0 ${Ht.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[xr]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Ht.paddingXS*2}px)`,height:`calc(100% - ${Ht.paddingXS*2}px)`,backgroundColor:Ht.colorBgMask,opacity:0,transition:`all ${Ht.motionDurationSlow}`,content:'" "'}},[`${xr}:hover`]:{[`&::before, ${xr}-actions`]:{opacity:1}},[`${xr}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ht.motionDurationSlow}`,[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{zIndex:10,width:rr,margin:`0 ${Ht.marginXXS}px`,fontSize:rr,cursor:"pointer",transition:`all ${Ht.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${xr}-actions, ${xr}-actions:hover`]:{[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{color:new wr.C(gr).setAlpha(.65).toRgbString(),"&:hover":{color:gr}}},[`${xr}-thumbnail, ${xr}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${xr}-name`]:{display:"none",textAlign:"center"},[`${xr}-file + ${xr}-name`]:{position:"absolute",bottom:Ht.margin,display:"block",width:`calc(100% - ${Ht.paddingXS*2}px)`},[`${xr}-uploading`]:{[`&${xr}`]:{backgroundColor:Ht.colorFillAlter},[`&::before, ${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{display:"none"}},[`${xr}-progress`]:{bottom:Ht.marginXL,width:`calc(100% - ${Ht.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Yt}-wrapper${Yt}-picture-circle-wrapper`]:{[`${Yt}${Yt}-select`]:{borderRadius:"50%"}}}};var It=Ht=>{const{componentCls:Yt}=Ht;return{[`${Yt}-rtl`]:{direction:"rtl"}}};const Tt=Ht=>{const{componentCls:Yt,colorTextDisabled:Xt}=Ht;return{[`${Yt}-wrapper`]:Object.assign(Object.assign({},(0,Ur.Wf)(Ht)),{[Yt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Yt}-select`]:{display:"inline-block"},[`${Yt}-disabled`]:{color:Xt,cursor:"not-allowed"}})}};var At=(0,Yr.Z)("Upload",Ht=>{const{fontSizeHeading3:Yt,fontSize:Xt,lineHeight:rr,lineWidth:gr,controlHeightLG:Qt}=Ht,xr=Math.round(Xt*rr),Lt=(0,Fn.TS)(Ht,{uploadThumbnailSize:Yt*2,uploadProgressOffset:xr/2+gr,uploadPicCardSize:Qt*2.55});return[Tt(Lt),Tn(Lt),Xr(Lt),Kt(Lt),Un(Lt),Pr(Lt),It(Lt),(0,on.Z)(Lt)]},Ht=>({actionsColor:Ht.colorTextDescription})),zt=function(Ht,Yt,Xt,rr){function gr(Qt){return Qt instanceof Xt?Qt:new Xt(function(xr){xr(Qt)})}return new(Xt||(Xt=Promise))(function(Qt,xr){function Lt(dr){try{$t(rr.next(dr))}catch(lr){xr(lr)}}function Jt(dr){try{$t(rr.throw(dr))}catch(lr){xr(lr)}}function $t(dr){dr.done?Qt(dr.value):gr(dr.value).then(Lt,Jt)}$t((rr=rr.apply(Ht,Yt||[])).next())})};const Ut=`__LIST_IGNORE_${Date.now()}__`,ir=(Ht,Yt)=>{const{fileList:Xt,defaultFileList:rr,onRemove:gr,showUploadList:Qt=!0,listType:xr="text",onPreview:Lt,onDownload:Jt,onChange:$t,onDrop:dr,previewFile:lr,disabled:pr,locale:fr,iconRender:Ar,isImageUrl:Rr,progress:Zr,prefixCls:Qr,className:nn,type:dn="select",children:pn,style:Gr,itemRender:yn,maxCount:mn,data:On={},multiple:cn=!1,action:Sn="",accept:gn="",supportServerRender:Jr=!0,rootClassName:Ln}=Ht,Zn=Re.useContext(Ve.Z),fn=pr!=null?pr:Zn,[Hr,Wr]=(0,tt.Z)(rr||[],{value:Xt,postState:li=>li!=null?li:[]}),[In,bn]=Re.useState("drop"),Nn=Re.useRef(null);Re.useMemo(()=>{const li=Date.now();(Xt||[]).forEach((fi,Pi)=>{!fi.uid&&!Object.isFrozen(fi)&&(fi.uid=`__AUTO__${li}_${Pi}__`)})},[Xt]);const Hn=(li,fi,Pi)=>{let mi=(0,vt.Z)(fi),ki=!1;mn===1?mi=mi.slice(-1):mn&&(ki=mi.length>mn,mi=mi.slice(0,mn)),(0,ot.flushSync)(()=>{Wr(mi)});const Er={file:li,fileList:mi};Pi&&(Er.event=Pi),(!ki||mi.some(br=>br.uid===li.uid))&&(0,ot.flushSync)(()=>{$t==null||$t(Er)})},zn=(li,fi)=>zt(void 0,void 0,void 0,function*(){const{beforeUpload:Pi,transformFile:mi}=Ht;let ki=li;if(Pi){const Er=yield Pi(li,fi);if(Er===!1)return!1;if(delete li[Ut],Er===Ut)return Object.defineProperty(li,Ut,{value:!0,configurable:!0}),!1;typeof Er=="object"&&Er&&(ki=Er)}return mi&&(ki=yield mi(ki)),ki}),Dn=li=>{const fi=li.filter(ki=>!ki.file[Ut]);if(!fi.length)return;const Pi=fi.map(ki=>bt(ki.file));let mi=(0,vt.Z)(Hr);Pi.forEach(ki=>{mi=gt(ki,mi)}),Pi.forEach((ki,Er)=>{let br=ki;if(fi[Er].parsedFile)ki.status="uploading";else{const{originFileObj:mr}=ki;let jr;try{jr=new File([mr],mr.name,{type:mr.type})}catch(en){jr=new Blob([mr],{type:mr.type}),jr.name=mr.name,jr.lastModifiedDate=new Date,jr.lastModified=new Date().getTime()}jr.uid=ki.uid,br=jr}Hn(br,mi)})},_n=(li,fi,Pi)=>{try{typeof li=="string"&&(li=JSON.parse(li))}catch(Er){}if(!Dt(fi,Hr))return;const mi=bt(fi);mi.status="done",mi.percent=100,mi.response=li,mi.xhr=Pi;const ki=gt(mi,Hr);Hn(mi,ki)},ci=(li,fi)=>{if(!Dt(fi,Hr))return;const Pi=bt(fi);Pi.status="uploading",Pi.percent=li.percent;const mi=gt(Pi,Hr);Hn(Pi,mi,li)},hn=(li,fi,Pi)=>{if(!Dt(Pi,Hr))return;const mi=bt(Pi);mi.error=li,mi.response=fi,mi.status="error";const ki=gt(mi,Hr);Hn(mi,ki)},kn=li=>{let fi;Promise.resolve(typeof gr=="function"?gr(li):gr).then(Pi=>{var mi;if(Pi===!1)return;const ki=Vt(li,Hr);ki&&(fi=Object.assign(Object.assign({},li),{status:"removed"}),Hr==null||Hr.forEach(Er=>{const br=fi.uid!==void 0?"uid":"name";Er[br]===fi[br]&&!Object.isFrozen(Er)&&(Er.status="removed")}),(mi=Nn.current)===null||mi===void 0||mi.abort(fi),Hn(fi,ki))})},Vn=li=>{bn(li.type),li.type==="drop"&&(dr==null||dr(li))};Re.useImperativeHandle(Yt,()=>({onBatchStart:Dn,onSuccess:_n,onProgress:ci,onError:hn,fileList:Hr,upload:Nn.current}));const{getPrefixCls:$n,direction:Ci,upload:Ei}=Re.useContext(lt.E_),gi=$n("upload",Qr),di=Object.assign(Object.assign({onBatchStart:Dn,onError:hn,onProgress:ci,onSuccess:_n},Ht),{data:On,multiple:cn,action:Sn,accept:gn,supportServerRender:Jr,prefixCls:gi,disabled:fn,beforeUpload:zn,onChange:void 0});delete di.className,delete di.style,(!pn||fn)&&delete di.id;const[Oi,Di]=At(gi),[En]=(0,Ye.Z)("Upload",nt.Z.Upload),{showRemoveIcon:An,showPreviewIcon:an,showDownloadIcon:sn,removeIcon:ni,previewIcon:wi,downloadIcon:Si}=typeof Qt=="boolean"?{}:Qt,Ai=(li,fi)=>Qt?Re.createElement(Br,{prefixCls:gi,listType:xr,items:Hr,previewFile:lr,onPreview:Lt,onDownload:Jt,onRemove:kn,showRemoveIcon:!fn&&An,showPreviewIcon:an,showDownloadIcon:sn,removeIcon:ni,previewIcon:wi,downloadIcon:Si,iconRender:Ar,locale:Object.assign(Object.assign({},En),fr),isImageUrl:Rr,progress:Zr,appendAction:li,appendActionVisible:fi,itemRender:yn,disabled:fn}):li,vi=De()(`${gi}-wrapper`,nn,Ln,Di,Ei==null?void 0:Ei.className,{[`${gi}-rtl`]:Ci==="rtl",[`${gi}-picture-card-wrapper`]:xr==="picture-card",[`${gi}-picture-circle-wrapper`]:xr==="picture-circle"}),Ii=Object.assign(Object.assign({},Ei==null?void 0:Ei.style),Gr);if(dn==="drag"){const li=De()(Di,gi,`${gi}-drag`,{[`${gi}-drag-uploading`]:Hr.some(fi=>fi.status==="uploading"),[`${gi}-drag-hover`]:In==="dragover",[`${gi}-disabled`]:fn,[`${gi}-rtl`]:Ci==="rtl"});return Oi(Re.createElement("span",{className:vi},Re.createElement("div",{className:li,style:Ii,onDrop:Vn,onDragOver:Vn,onDragLeave:Vn},Re.createElement(Qe,Object.assign({},di,{ref:Nn,className:`${gi}-btn`}),Re.createElement("div",{className:`${gi}-drag-container`},pn))),Ai()))}const Ki=De()(gi,`${gi}-select`,{[`${gi}-disabled`]:fn}),$i=(li=>Re.createElement("div",{className:Ki,style:li},Re.createElement(Qe,Object.assign({},di,{ref:Nn}))))(pn?void 0:{display:"none"});return Oi(xr==="picture-card"||xr==="picture-circle"?Re.createElement("span",{className:vi},Ai($i,!!pn)):Re.createElement("span",{className:vi},$i,Ai()))};var hr=Re.forwardRef(ir),Cr=function(Ht,Yt){var Xt={};for(var rr in Ht)Object.prototype.hasOwnProperty.call(Ht,rr)&&Yt.indexOf(rr)<0&&(Xt[rr]=Ht[rr]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gr=0,rr=Object.getOwnPropertySymbols(Ht);gr<rr.length;gr++)Yt.indexOf(rr[gr])<0&&Object.prototype.propertyIsEnumerable.call(Ht,rr[gr])&&(Xt[rr[gr]]=Ht[rr[gr]]);return Xt},Ir=Re.forwardRef((Ht,Yt)=>{var{style:Xt,height:rr}=Ht,gr=Cr(Ht,["style","height"]);return Re.createElement(hr,Object.assign({ref:Yt},gr,{type:"drag",style:Object.assign(Object.assign({},Xt),{height:rr})}))});const qt=hr;qt.Dragger=Ir,qt.LIST_IGNORE=Ut;var vr=qt},99498:function(sr,Wt,ke){(function(Re){Re(ke(89780))})(function(Re){Re.defineOption("placeholder","",function(ie,oe,le){var me=le&&le!=Re.Init;if(oe&&!me)ie.on("blur",ve),ie.on("change",re),ie.on("swapDoc",re),Re.on(ie.getInputField(),"compositionupdate",ie.state.placeholderCompose=function(){De(ie)}),re(ie);else if(!oe&&me){ie.off("blur",ve),ie.off("change",re),ie.off("swapDoc",re),Re.off(ie.getInputField(),"compositionupdate",ie.state.placeholderCompose),vt(ie);var te=ie.getWrapperElement();te.className=te.className.replace(" CodeMirror-empty","")}oe&&!ie.hasFocus()&&ve(ie)});function vt(ie){ie.state.placeholder&&(ie.state.placeholder.parentNode.removeChild(ie.state.placeholder),ie.state.placeholder=null)}function x(ie){vt(ie);var oe=ie.state.placeholder=document.createElement("pre");oe.style.cssText="height: 0; overflow: visible",oe.style.direction=ie.getOption("direction"),oe.className="CodeMirror-placeholder CodeMirror-line-like";var le=ie.getOption("placeholder");typeof le=="string"&&(le=document.createTextNode(le)),oe.appendChild(le),ie.display.lineSpace.insertBefore(oe,ie.display.lineSpace.firstChild)}function De(ie){setTimeout(function(){var oe=!1,le=ie.getInputField();le.nodeName=="TEXTAREA"?oe=!le.value:ie.lineCount()==1&&(oe=!/[^\u200b]/.test(le.querySelector(".CodeMirror-line").textContent)),oe?x(ie):vt(ie)},20)}function ve(ie){ne(ie)&&x(ie)}function re(ie){var oe=ie.getWrapperElement(),le=ne(ie);oe.className=oe.className.replace(" CodeMirror-empty","")+(le?" CodeMirror-empty":""),le?x(ie):vt(ie)}function ne(ie){return ie.lineCount()===1&&ie.getLine(0)===""}})},25717:function(sr,Wt,ke){(function(Re){Re(ke(89780))})(function(Re){var vt={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},x=Re.Pos;Re.defineOption("autoCloseBrackets",!1,function(de,he,we){we&&we!=Re.Init&&(de.removeKeyMap(ve),de.state.closeBrackets=null),he&&(re(De(he,"pairs")),de.state.closeBrackets=he,de.addKeyMap(ve))});function De(de,he){return he=="pairs"&&typeof de=="string"?de:typeof de=="object"&&de[he]!=null?de[he]:vt[he]}var ve={Backspace:oe,Enter:le};function re(de){for(var he=0;he<de.length;he++){var we=de.charAt(he),Se="'"+we+"'";ve[Se]||(ve[Se]=ne(we))}}re(vt.pairs+"`");function ne(de){return function(he){return te(he,de)}}function ie(de){var he=de.state.closeBrackets;if(!he||he.override)return he;var we=de.getModeAt(de.getCursor());return we.closeBrackets||he}function oe(de){var he=ie(de);if(!he||de.getOption("disableInput"))return Re.Pass;for(var we=De(he,"pairs"),Se=de.listSelections(),xe=0;xe<Se.length;xe++){if(!Se[xe].empty())return Re.Pass;var ye=ae(de,Se[xe].head);if(!ye||we.indexOf(ye)%2!=0)return Re.Pass}for(var xe=Se.length-1;xe>=0;xe--){var Ae=Se[xe].head;de.replaceRange("",x(Ae.line,Ae.ch-1),x(Ae.line,Ae.ch+1),"+delete")}}function le(de){var he=ie(de),we=he&&De(he,"explode");if(!we||de.getOption("disableInput"))return Re.Pass;for(var Se=de.listSelections(),xe=0;xe<Se.length;xe++){if(!Se[xe].empty())return Re.Pass;var ye=ae(de,Se[xe].head);if(!ye||we.indexOf(ye)%2!=0)return Re.Pass}de.operation(function(){var Ae=de.lineSeparator()||`
`;de.replaceSelection(Ae+Ae,null),de.execCommand("goCharLeft"),Se=de.listSelections();for(var Le=0;Le<Se.length;Le++){var Ee=Se[Le].head.line;de.indentLine(Ee,null,!0),de.indentLine(Ee+1,null,!0)}})}function me(de){var he=Re.cmpPos(de.anchor,de.head)>0;return{anchor:new x(de.anchor.line,de.anchor.ch+(he?-1:1)),head:new x(de.head.line,de.head.ch+(he?1:-1))}}function te(de,he){var we=ie(de);if(!we||de.getOption("disableInput"))return Re.Pass;var Se=De(we,"pairs"),xe=Se.indexOf(he);if(xe==-1)return Re.Pass;for(var ye=De(we,"closeBefore"),Ae=De(we,"triples"),Le=Se.charAt(xe+1)==he,Ee=de.listSelections(),_e=xe%2==0,Me,Oe=0;Oe<Ee.length;Oe++){var Ce=Ee[Oe],Ne=Ce.head,je,Ze=de.getRange(Ne,x(Ne.line,Ne.ch+1));if(_e&&!Ce.empty())je="surround";else if((Le||!_e)&&Ze==he)Le&&ue(de,Ne)?je="both":Ae.indexOf(he)>=0&&de.getRange(Ne,x(Ne.line,Ne.ch+3))==he+he+he?je="skipThree":je="skip";else if(Le&&Ne.ch>1&&Ae.indexOf(he)>=0&&de.getRange(x(Ne.line,Ne.ch-2),Ne)==he+he){if(Ne.ch>2&&/\bstring/.test(de.getTokenTypeAt(x(Ne.line,Ne.ch-2))))return Re.Pass;je="addFour"}else if(Le){var Pe=Ne.ch==0?" ":de.getRange(x(Ne.line,Ne.ch-1),Ne);if(!Re.isWordChar(Ze)&&Pe!=he&&!Re.isWordChar(Pe))je="both";else return Re.Pass}else if(_e&&(Ze.length===0||/\s/.test(Ze)||ye.indexOf(Ze)>-1))je="both";else return Re.Pass;if(!Me)Me=je;else if(Me!=je)return Re.Pass}var Ue=xe%2?Se.charAt(xe-1):he,Qe=xe%2?he:Se.charAt(xe+1);de.operation(function(){if(Me=="skip")de.execCommand("goCharRight");else if(Me=="skipThree")for(var tt=0;tt<3;tt++)de.execCommand("goCharRight");else if(Me=="surround"){for(var ot=de.getSelections(),tt=0;tt<ot.length;tt++)ot[tt]=Ue+ot[tt]+Qe;de.replaceSelections(ot,"around"),ot=de.listSelections().slice();for(var tt=0;tt<ot.length;tt++)ot[tt]=me(ot[tt]);de.setSelections(ot)}else Me=="both"?(de.replaceSelection(Ue+Qe,null),de.triggerElectric(Ue+Qe),de.execCommand("goCharLeft")):Me=="addFour"&&(de.replaceSelection(Ue+Ue+Ue+Ue,"before"),de.execCommand("goCharRight"))})}function ae(de,he){var we=de.getRange(x(he.line,he.ch-1),x(he.line,he.ch+1));return we.length==2?we:null}function ue(de,he){var we=de.getTokenAt(x(he.line,he.ch+1));return/\bstring/.test(we.type)&&we.start==he.ch&&(he.ch==0||!/\bstring/.test(de.getTokenTypeAt(he)))}})},6313:function(sr,Wt,ke){(function(Re){Re(ke(89780),ke(32855))})(function(Re){Re.defineOption("autoCloseTags",!1,function(oe,le,me){if(me!=Re.Init&&me&&oe.removeKeyMap("autoCloseTags"),!!le){var te={name:"autoCloseTags"};(typeof le!="object"||le.whenClosing!==!1)&&(te["'/'"]=function(ae){return re(ae)}),(typeof le!="object"||le.whenOpening!==!1)&&(te["'>'"]=function(ae){return De(ae)}),oe.addKeyMap(te)}});var vt=["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 De(oe){if(oe.getOption("disableInput"))return Re.Pass;for(var le=oe.listSelections(),me=[],te=oe.getOption("autoCloseTags"),ae=0;ae<le.length;ae++){if(!le[ae].empty())return Re.Pass;var ue=le[ae].head,de=oe.getTokenAt(ue),he=Re.innerMode(oe.getMode(),de.state),we=he.state,Se=he.mode.xmlCurrentTag&&he.mode.xmlCurrentTag(we),xe=Se&&Se.name;if(!xe)return Re.Pass;var ye=he.mode.configuration=="html",Ae=typeof te=="object"&&te.dontCloseTags||ye&&vt,Le=typeof te=="object"&&te.indentTags||ye&&x;de.end>ue.ch&&(xe=xe.slice(0,xe.length-de.end+ue.ch));var Ee=xe.toLowerCase();if(!xe||de.type=="string"&&(de.end!=ue.ch||!/[\"\']/.test(de.string.charAt(de.string.length-1))||de.string.length==1)||de.type=="tag"&&Se.close||de.string.indexOf("/")==ue.ch-de.start-1||Ae&&ne(Ae,Ee)>-1||ie(oe,he.mode.xmlCurrentContext&&he.mode.xmlCurrentContext(we)||[],xe,ue,!0))return Re.Pass;var _e=typeof te=="object"&&te.emptyTags;if(_e&&ne(_e,xe)>-1){me[ae]={text:"/>",newPos:Re.Pos(ue.line,ue.ch+2)};continue}var Me=Le&&ne(Le,Ee)>-1;me[ae]={indent:Me,text:">"+(Me?`
`:"")+"</"+xe+">",newPos:Me?Re.Pos(ue.line+1,0):Re.Pos(ue.line,ue.ch+1)}}for(var Oe=typeof te=="object"&&te.dontIndentOnAutoClose,ae=le.length-1;ae>=0;ae--){var Ce=me[ae];oe.replaceRange(Ce.text,le[ae].head,le[ae].anchor,"+insert");var Ne=oe.listSelections().slice(0);Ne[ae]={head:Ce.newPos,anchor:Ce.newPos},oe.setSelections(Ne),!Oe&&Ce.indent&&(oe.indentLine(Ce.newPos.line,null,!0),oe.indentLine(Ce.newPos.line+1,null,!0))}}function ve(oe,le){for(var me=oe.listSelections(),te=[],ae=le?"/":"</",ue=oe.getOption("autoCloseTags"),de=typeof ue=="object"&&ue.dontIndentOnSlash,he=0;he<me.length;he++){if(!me[he].empty())return Re.Pass;var we=me[he].head,Se=oe.getTokenAt(we),xe=Re.innerMode(oe.getMode(),Se.state),ye=xe.state;if(le&&(Se.type=="string"||Se.string.charAt(0)!="<"||Se.start!=we.ch-1))return Re.Pass;var Ae,Le=xe.mode.name!="xml"&&oe.getMode().name=="htmlmixed";if(Le&&xe.mode.name=="javascript")Ae=ae+"script";else if(Le&&xe.mode.name=="css")Ae=ae+"style";else{var Ee=xe.mode.xmlCurrentContext&&xe.mode.xmlCurrentContext(ye);if(!Ee||Ee.length&&ie(oe,Ee,Ee[Ee.length-1],we))return Re.Pass;Ae=ae+Ee[Ee.length-1]}oe.getLine(we.line).charAt(Se.end)!=">"&&(Ae+=">"),te[he]=Ae}if(oe.replaceSelections(te),me=oe.listSelections(),!de)for(var he=0;he<me.length;he++)(he==me.length-1||me[he].head.line<me[he+1].head.line)&&oe.indentLine(me[he].head.line)}function re(oe){return oe.getOption("disableInput")?Re.Pass:ve(oe,!0)}Re.commands.closeTag=function(oe){return ve(oe)};function ne(oe,le){if(oe.indexOf)return oe.indexOf(le);for(var me=0,te=oe.length;me<te;++me)if(oe[me]==le)return me;return-1}function ie(oe,le,me,te,ae){if(!Re.scanForClosingTag)return!1;var ue=Math.min(oe.lastLine()+1,te.line+500),de=Re.scanForClosingTag(oe,te,null,ue);if(!de||de.tag!=me)return!1;for(var he=ae?1:0,we=le.length-1;we>=0&&le[we]==me;we--)++he;te=de.to;for(var we=1;we<he;we++){var Se=Re.scanForClosingTag(oe,te,null,ue);if(!Se||Se.tag!=me)return!1;te=Se.to}return!0}})},32855:function(sr,Wt,ke){(function(Re){Re(ke(89780))})(function(Re){"use strict";var vt=Re.Pos;function x(we,Se){return we.line-Se.line||we.ch-Se.ch}var De="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ve=De+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",re=new RegExp("<(/?)(["+De+"]["+ve+"]*)","g");function ne(we,Se,xe,ye){this.line=Se,this.ch=xe,this.cm=we,this.text=we.getLine(Se),this.min=ye?Math.max(ye.from,we.firstLine()):we.firstLine(),this.max=ye?Math.min(ye.to-1,we.lastLine()):we.lastLine()}function ie(we,Se){var xe=we.cm.getTokenTypeAt(vt(we.line,Se));return xe&&/\btag\b/.test(xe)}function oe(we){if(!(we.line>=we.max))return we.ch=0,we.text=we.cm.getLine(++we.line),!0}function le(we){if(!(we.line<=we.min))return we.text=we.cm.getLine(--we.line),we.ch=we.text.length,!0}function me(we){for(;;){var Se=we.text.indexOf(">",we.ch);if(Se==-1){if(oe(we))continue;return}if(!ie(we,Se+1)){we.ch=Se+1;continue}var xe=we.text.lastIndexOf("/",Se),ye=xe>-1&&!/\S/.test(we.text.slice(xe+1,Se));return we.ch=Se+1,ye?"selfClose":"regular"}}function te(we){for(;;){var Se=we.ch?we.text.lastIndexOf("<",we.ch-1):-1;if(Se==-1){if(le(we))continue;return}if(!ie(we,Se+1)){we.ch=Se;continue}re.lastIndex=Se,we.ch=Se;var xe=re.exec(we.text);if(xe&&xe.index==Se)return xe}}function ae(we){for(;;){re.lastIndex=we.ch;var Se=re.exec(we.text);if(!Se){if(oe(we))continue;return}if(!ie(we,Se.index+1)){we.ch=Se.index+1;continue}return we.ch=Se.index+Se[0].length,Se}}function ue(we){for(;;){var Se=we.ch?we.text.lastIndexOf(">",we.ch-1):-1;if(Se==-1){if(le(we))continue;return}if(!ie(we,Se+1)){we.ch=Se;continue}var xe=we.text.lastIndexOf("/",Se),ye=xe>-1&&!/\S/.test(we.text.slice(xe+1,Se));return we.ch=Se+1,ye?"selfClose":"regular"}}function de(we,Se){for(var xe=[];;){var ye=ae(we),Ae,Le=we.line,Ee=we.ch-(ye?ye[0].length:0);if(!ye||!(Ae=me(we)))return;if(Ae!="selfClose")if(ye[1]){for(var _e=xe.length-1;_e>=0;--_e)if(xe[_e]==ye[2]){xe.length=_e;break}if(_e<0&&(!Se||Se==ye[2]))return{tag:ye[2],from:vt(Le,Ee),to:vt(we.line,we.ch)}}else xe.push(ye[2])}}function he(we,Se){for(var xe=[];;){var ye=ue(we);if(!ye)return;if(ye=="selfClose"){te(we);continue}var Ae=we.line,Le=we.ch,Ee=te(we);if(!Ee)return;if(Ee[1])xe.push(Ee[2]);else{for(var _e=xe.length-1;_e>=0;--_e)if(xe[_e]==Ee[2]){xe.length=_e;break}if(_e<0&&(!Se||Se==Ee[2]))return{tag:Ee[2],from:vt(we.line,we.ch),to:vt(Ae,Le)}}}}Re.registerHelper("fold","xml",function(we,Se){for(var xe=new ne(we,Se.line,0);;){var ye=ae(xe);if(!ye||xe.line!=Se.line)return;var Ae=me(xe);if(!Ae)return;if(!ye[1]&&Ae!="selfClose"){var Le=vt(xe.line,xe.ch),Ee=de(xe,ye[2]);return Ee&&x(Ee.from,Le)>0?{from:Le,to:Ee.from}:null}}}),Re.findMatchingTag=function(we,Se,xe){var ye=new ne(we,Se.line,Se.ch,xe);if(!(ye.text.indexOf(">")==-1&&ye.text.indexOf("<")==-1)){var Ae=me(ye),Le=Ae&&vt(ye.line,ye.ch),Ee=Ae&&te(ye);if(!(!Ae||!Ee||x(ye,Se)>0)){var _e={from:vt(ye.line,ye.ch),to:Le,tag:Ee[2]};return Ae=="selfClose"?{open:_e,close:null,at:"open"}:Ee[1]?{open:he(ye,Ee[2]),close:_e,at:"close"}:(ye=new ne(we,Le.line,Le.ch,xe),{open:_e,close:de(ye,Ee[2]),at:"open"})}}},Re.findEnclosingTag=function(we,Se,xe,ye){for(var Ae=new ne(we,Se.line,Se.ch,xe);;){var Le=he(Ae,ye);if(!Le)break;var Ee=new ne(we,Se.line,Se.ch,xe),_e=de(Ee,Le.tag);if(_e)return{open:Le,close:_e}}},Re.scanForClosingTag=function(we,Se,xe,ye){var Ae=new ne(we,Se.line,Se.ch,ye?{from:0,to:ye}:null);return de(Ae,xe)}})},89780:function(sr){(function(Wt,ke){sr.exports=ke()})(this,function(){"use strict";var Wt=navigator.userAgent,ke=navigator.platform,Re=/gecko\/\d/i.test(Wt),vt=/MSIE \d/.test(Wt),x=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Wt),De=/Edge\/(\d+)/.exec(Wt),ve=vt||x||De,re=ve&&(vt?document.documentMode||6:+(De||x)[1]),ne=!De&&/WebKit\//.test(Wt),ie=ne&&/Qt\/\d+\.\d+/.test(Wt),oe=!De&&/Chrome\//.test(Wt),le=/Opera\//.test(Wt),me=/Apple Computer/.test(navigator.vendor),te=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Wt),ae=/PhantomJS/.test(Wt),ue=!De&&/AppleWebKit/.test(Wt)&&/Mobile\/\w+/.test(Wt),de=/Android/.test(Wt),he=ue||de||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Wt),we=ue||/Mac/.test(ke),Se=/\bCrOS\b/.test(Wt),xe=/win/i.test(ke),ye=le&&Wt.match(/Version\/(\d*\.\d*)/);ye&&(ye=Number(ye[1])),ye&&ye>=15&&(le=!1,ne=!0);var Ae=we&&(ie||le&&(ye==null||ye<12.11)),Le=Re||ve&&re>=9;function Ee(E){return new RegExp("(^|\\s)"+E+"(?:$|\\s)\\s*")}var _e=function(E,ee){var be=E.className,ge=Ee(ee).exec(be);if(ge){var Ie=be.slice(ge.index+ge[0].length);E.className=be.slice(0,ge.index)+(Ie?ge[1]+Ie:"")}};function Me(E){for(var ee=E.childNodes.length;ee>0;--ee)E.removeChild(E.firstChild);return E}function Oe(E,ee){return Me(E).appendChild(ee)}function Ce(E,ee,be,ge){var Ie=document.createElement(E);if(be&&(Ie.className=be),ge&&(Ie.style.cssText=ge),typeof ee=="string")Ie.appendChild(document.createTextNode(ee));else if(ee)for(var $e=0;$e<ee.length;++$e)Ie.appendChild(ee[$e]);return Ie}function Ne(E,ee,be,ge){var Ie=Ce(E,ee,be,ge);return Ie.setAttribute("role","presentation"),Ie}var je;document.createRange?je=function(E,ee,be,ge){var Ie=document.createRange();return Ie.setEnd(ge||E,be),Ie.setStart(E,ee),Ie}:je=function(E,ee,be){var ge=document.body.createTextRange();try{ge.moveToElementText(E.parentNode)}catch(Ie){return ge}return ge.collapse(!0),ge.moveEnd("character",be),ge.moveStart("character",ee),ge};function Ze(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 Pe(){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 Ue(E,ee){var be=E.className;Ee(ee).test(be)||(E.className+=(be?" ":"")+ee)}function Qe(E,ee){for(var be=E.split(" "),ge=0;ge<be.length;ge++)be[ge]&&!Ee(be[ge]).test(ee)&&(ee+=" "+be[ge]);return ee}var tt=function(E){E.select()};ue?tt=function(E){E.selectionStart=0,E.selectionEnd=E.value.length}:ve&&(tt=function(E){try{E.select()}catch(ee){}});function ot(E){var ee=Array.prototype.slice.call(arguments,1);return function(){return E.apply(null,ee)}}function lt(E,ee,be){ee||(ee={});for(var ge in E)E.hasOwnProperty(ge)&&(be!==!1||!ee.hasOwnProperty(ge))&&(ee[ge]=E[ge]);return ee}function Ve(E,ee,be,ge,Ie){ee==null&&(ee=E.search(/[^\s\u00a0]/),ee==-1&&(ee=E.length));for(var $e=ge||0,pt=Ie||0;;){var Ct=E.indexOf(" ",$e);if(Ct<0||Ct>=ee)return pt+(ee-$e);pt+=Ct-$e,pt+=be-pt%be,$e=Ct+1}}var Ye=function(){this.id=null,this.f=null,this.time=0,this.handler=ot(this.onTimeout,this)};Ye.prototype.onTimeout=function(E){E.id=0,E.time<=+new Date?E.f():setTimeout(E.handler,E.time-+new Date)},Ye.prototype.set=function(E,ee){this.f=ee;var be=+new Date+E;(!this.id||be<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,E),this.time=be)};function nt(E,ee){for(var be=0;be<E.length;++be)if(E[be]==ee)return be;return-1}var dt=50,at={toString:function(){return"CodeMirror.Pass"}},et={scroll:!1},qe={origin:"*mouse"},it={origin:"+move"};function yt(E,ee,be){for(var ge=0,Ie=0;;){var $e=E.indexOf(" ",ge);$e==-1&&($e=E.length);var pt=$e-ge;if($e==E.length||Ie+pt>=ee)return ge+Math.min(pt,ee-Ie);if(Ie+=$e-ge,Ie+=be-Ie%be,ge=$e+1,Ie>=ee)return ge}}var ht=[""];function Bt(E){for(;ht.length<=E;)ht.push(Et(ht)+" ");return ht[E]}function Et(E){return E[E.length-1]}function st(E,ee){for(var be=[],ge=0;ge<E.length;ge++)be[ge]=ee(E[ge],ge);return be}function Ge(E,ee,be){for(var ge=0,Ie=be(ee);ge<E.length&&be(E[ge])<=Ie;)ge++;E.splice(ge,0,ee)}function We(){}function se(E,ee){var be;return Object.create?be=Object.create(E):(We.prototype=E,be=new We),ee&&lt(ee,be),be}var fe=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ze(E){return/\w/.test(E)||E>"\x80"&&(E.toUpperCase()!=E.toLowerCase()||fe.test(E))}function He(E,ee){return ee?ee.source.indexOf("\\w")>-1&&ze(E)?!0:ee.test(E):ze(E)}function pe(E){for(var ee in E)if(E.hasOwnProperty(ee)&&E[ee])return!1;return!0}var Be=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ke(E){return E.charCodeAt(0)>=768&&Be.test(E)}function Xe(E,ee,be){for(;(be<0?ee>0:ee<E.length)&&Ke(E.charAt(ee));)ee+=be;return ee}function Je(E,ee,be){for(var ge=ee>be?-1:1;;){if(ee==be)return ee;var Ie=(ee+be)/2,$e=ge<0?Math.ceil(Ie):Math.floor(Ie);if($e==ee)return E($e)?ee:be;E($e)?be=$e:ee=$e+ge}}function ut(E,ee,be,ge){if(!E)return ge(ee,be,"ltr",0);for(var Ie=!1,$e=0;$e<E.length;++$e){var pt=E[$e];(pt.from<be&&pt.to>ee||ee==be&&pt.to==ee)&&(ge(Math.max(pt.from,ee),Math.min(pt.to,be),pt.level==1?"rtl":"ltr",$e),Ie=!0)}Ie||ge(ee,be,"ltr")}var bt=null;function gt(E,ee,be){var ge;bt=null;for(var Ie=0;Ie<E.length;++Ie){var $e=E[Ie];if($e.from<ee&&$e.to>ee)return Ie;$e.to==ee&&($e.from!=$e.to&&be=="before"?ge=Ie:bt=Ie),$e.from==ee&&($e.from!=$e.to&&be!="before"?ge=Ie:bt=Ie)}return ge!=null?ge:bt}var Dt=function(){var E="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",ee="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function be(Pt){return Pt<=247?E.charAt(Pt):1424<=Pt&&Pt<=1524?"R":1536<=Pt&&Pt<=1785?ee.charAt(Pt-1536):1774<=Pt&&Pt<=2220?"r":8192<=Pt&&Pt<=8203?"w":Pt==8204?"b":"L"}var ge=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Ie=/[stwN]/,$e=/[LRr]/,pt=/[Lb1n]/,Ct=/[1n]/;function Ot(Pt,tr,ur){this.level=Pt,this.from=tr,this.to=ur}return function(Pt,tr){var ur=tr=="ltr"?"L":"R";if(Pt.length==0||tr=="ltr"&&!ge.test(Pt))return!1;for(var Lr=Pt.length,kr=[],rn=0;rn<Lr;++rn)kr.push(be(Pt.charCodeAt(rn)));for(var Mn=0,Kn=ur;Mn<Lr;++Mn){var Qn=kr[Mn];Qn=="m"?kr[Mn]=Kn:Kn=Qn}for(var ri=0,Jn=ur;ri<Lr;++ri){var ii=kr[ri];ii=="1"&&Jn=="r"?kr[ri]="n":$e.test(ii)&&(Jn=ii,ii=="r"&&(kr[ri]="R"))}for(var pi=1,bi=kr[0];pi<Lr-1;++pi){var _i=kr[pi];_i=="+"&&bi=="1"&&kr[pi+1]=="1"?kr[pi]="1":_i==","&&bi==kr[pi+1]&&(bi=="1"||bi=="n")&&(kr[pi]=bi),bi=_i}for(var oa=0;oa<Lr;++oa){var Ua=kr[oa];if(Ua==",")kr[oa]="N";else if(Ua=="%"){var ya=void 0;for(ya=oa+1;ya<Lr&&kr[ya]=="%";++ya);for(var yo=oa&&kr[oa-1]=="!"||ya<Lr&&kr[ya]=="1"?"1":"N",bo=oa;bo<ya;++bo)kr[bo]=yo;oa=ya-1}}for(var La=0,xo=ur;La<Lr;++La){var Ti=kr[La];xo=="L"&&Ti=="1"?kr[La]="L":$e.test(Ti)&&(xo=Ti)}for(var wa=0;wa<Lr;++wa)if(Ie.test(kr[wa])){var ba=void 0;for(ba=wa+1;ba<Lr&&Ie.test(kr[ba]);++ba);for(var Sa=(wa?kr[wa-1]:ur)=="L",Ma=(ba<Lr?kr[ba]:ur)=="L",pl=Sa==Ma?Sa?"L":"R":ur,Eo=wa;Eo<ba;++Eo)kr[Eo]=pl;wa=ba-1}for(var $a=[],Xi,za=0;za<Lr;)if(pt.test(kr[za])){var ou=za;for(++za;za<Lr&&pt.test(kr[za]);++za);$a.push(new Ot(0,ou,za))}else{var xs=za,js=$a.length,es=tr=="rtl"?1:0;for(++za;za<Lr&&kr[za]!="L";++za);for(var Pa=xs;Pa<za;)if(Ct.test(kr[Pa])){xs<Pa&&($a.splice(js,0,new Ot(1,xs,Pa)),js+=es);var ml=Pa;for(++Pa;Pa<za&&Ct.test(kr[Pa]);++Pa);$a.splice(js,0,new Ot(2,ml,Pa)),js+=es,xs=Pa}else++Pa;xs<za&&$a.splice(js,0,new Ot(1,xs,za))}return tr=="ltr"&&($a[0].level==1&&(Xi=Pt.match(/^\s+/))&&($a[0].from=Xi[0].length,$a.unshift(new Ot(0,0,Xi[0].length))),Et($a).level==1&&(Xi=Pt.match(/\s+$/))&&(Et($a).to-=Xi[0].length,$a.push(new Ot(0,Lr-Xi[0].length,Lr)))),tr=="rtl"?$a.reverse():$a}}();function Vt(E,ee){var be=E.order;return be==null&&(be=E.order=Dt(E.text,ee)),be}var kt=[],jt=function(E,ee,be){if(E.addEventListener)E.addEventListener(ee,be,!1);else if(E.attachEvent)E.attachEvent("on"+ee,be);else{var ge=E._handlers||(E._handlers={});ge[ee]=(ge[ee]||kt).concat(be)}};function _t(E,ee){return E._handlers&&E._handlers[ee]||kt}function Mt(E,ee,be){if(E.removeEventListener)E.removeEventListener(ee,be,!1);else if(E.detachEvent)E.detachEvent("on"+ee,be);else{var ge=E._handlers,Ie=ge&&ge[ee];if(Ie){var $e=nt(Ie,be);$e>-1&&(ge[ee]=Ie.slice(0,$e).concat(Ie.slice($e+1)))}}}function ft(E,ee){var be=_t(E,ee);if(be.length)for(var ge=Array.prototype.slice.call(arguments,2),Ie=0;Ie<be.length;++Ie)be[Ie].apply(null,ge)}function St(E,ee,be){return typeof ee=="string"&&(ee={type:ee,preventDefault:function(){this.defaultPrevented=!0}}),ft(E,be||ee.type,E,ee),Sr(ee)||ee.codemirrorIgnore}function Nt(E){var ee=E._handlers&&E._handlers.cursorActivity;if(ee)for(var be=E.curOp.cursorActivityHandlers||(E.curOp.cursorActivityHandlers=[]),ge=0;ge<ee.length;++ge)nt(be,ee[ge])==-1&&be.push(ee[ge])}function Ft(E,ee){return _t(E,ee).length>0}function Zt(E){E.prototype.on=function(ee,be){jt(this,ee,be)},E.prototype.off=function(ee,be){Mt(this,ee,be)}}function or(E){E.preventDefault?E.preventDefault():E.returnValue=!1}function yr(E){E.stopPropagation?E.stopPropagation():E.cancelBubble=!0}function Sr(E){return E.defaultPrevented!=null?E.defaultPrevented:E.returnValue==!1}function Fr(E){or(E),yr(E)}function Vr(E){return E.target||E.srcElement}function Br(E){var ee=E.which;return ee==null&&(E.button&1?ee=1:E.button&2?ee=3:E.button&4&&(ee=2)),we&&E.ctrlKey&&ee==1&&(ee=3),ee}var Ur=function(){if(ve&&re<9)return!1;var E=Ce("div");return"draggable"in E||"dragDrop"in E}(),on;function Yr(E){if(on==null){var ee=Ce("span","\u200B");Oe(E,Ce("span",[ee,document.createTextNode("x")])),E.firstChild.offsetHeight!=0&&(on=ee.offsetWidth<=1&&ee.offsetHeight>2&&!(ve&&re<8))}var be=on?Ce("span","\u200B"):Ce("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return be.setAttribute("cm-text",""),be}var Fn;function vn(E){if(Fn!=null)return Fn;var ee=Oe(E,document.createTextNode("A\u062EA")),be=je(ee,0,1).getBoundingClientRect(),ge=je(ee,1,2).getBoundingClientRect();return Me(E),!be||be.left==be.right?!1:Fn=ge.right-be.right<3}var Tn=`
b`.split(/\n/).length!=3?function(E){for(var ee=0,be=[],ge=E.length;ee<=ge;){var Ie=E.indexOf(`
`,ee);Ie==-1&&(Ie=E.length);var $e=E.slice(ee,E.charAt(Ie-1)=="\r"?Ie-1:Ie),pt=$e.indexOf("\r");pt!=-1?(be.push($e.slice(0,pt)),ee+=pt+1):(be.push($e),ee=Ie+1)}return be}:function(E){return E.split(/\r\n?|\n/)},qr=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(be){}return!ee||ee.parentElement()!=E?!1:ee.compareEndPoints("StartToEnd",ee)!=0},Un=function(){var E=Ce("div");return"oncopy"in E?!0:(E.setAttribute("oncopy","return;"),typeof E.oncopy=="function")}(),un=null;function ar(E){if(un!=null)return un;var ee=Oe(E,Ce("span","x")),be=ee.getBoundingClientRect(),ge=je(ee,0,1).getBoundingClientRect();return un=Math.abs(be.left-ge.left)>1}var Nr={},Mr={};function Or(E,ee){arguments.length>2&&(ee.dependencies=Array.prototype.slice.call(arguments,2)),Nr[E]=ee}function Pr(E,ee){Mr[E]=ee}function Tr(E){if(typeof E=="string"&&Mr.hasOwnProperty(E))E=Mr[E];else if(E&&typeof E.name=="string"&&Mr.hasOwnProperty(E.name)){var ee=Mr[E.name];typeof ee=="string"&&(ee={name:ee}),E=se(ee,E),E.name=ee.name}else{if(typeof E=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(E))return Tr("application/xml");if(typeof E=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(E))return Tr("application/json")}return typeof E=="string"?{name:E}:E||{name:"null"}}function wr(E,ee){ee=Tr(ee);var be=Nr[ee.name];if(!be)return wr(E,"text/plain");var ge=be(E,ee);if(Xr.hasOwnProperty(ee.name)){var Ie=Xr[ee.name];for(var $e in Ie)Ie.hasOwnProperty($e)&&(ge.hasOwnProperty($e)&&(ge["_"+$e]=ge[$e]),ge[$e]=Ie[$e])}if(ge.name=ee.name,ee.helperType&&(ge.helperType=ee.helperType),ee.modeProps)for(var pt in ee.modeProps)ge[pt]=ee.modeProps[pt];return ge}var Xr={};function Kt(E,ee){var be=Xr.hasOwnProperty(E)?Xr[E]:Xr[E]={};lt(ee,be)}function xt(E,ee){if(ee===!0)return ee;if(E.copyState)return E.copyState(ee);var be={};for(var ge in ee){var Ie=ee[ge];Ie instanceof Array&&(Ie=Ie.concat([])),be[ge]=Ie}return be}function It(E,ee){for(var be;E.innerMode&&(be=E.innerMode(ee),!(!be||be.mode==E));)ee=be.state,E=be.mode;return be||{mode:E,state:ee}}function Tt(E,ee,be){return E.startState?E.startState(ee,be):!0}var At=function(E,ee,be){this.pos=this.start=0,this.string=E,this.tabSize=ee||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=be};At.prototype.eol=function(){return this.pos>=this.string.length},At.prototype.sol=function(){return this.pos==this.lineStart},At.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},At.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},At.prototype.eat=function(E){var ee=this.string.charAt(this.pos),be;if(typeof E=="string"?be=ee==E:be=ee&&(E.test?E.test(ee):E(ee)),be)return++this.pos,ee},At.prototype.eatWhile=function(E){for(var ee=this.pos;this.eat(E););return this.pos>ee},At.prototype.eatSpace=function(){for(var E=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>E},At.prototype.skipToEnd=function(){this.pos=this.string.length},At.prototype.skipTo=function(E){var ee=this.string.indexOf(E,this.pos);if(ee>-1)return this.pos=ee,!0},At.prototype.backUp=function(E){this.pos-=E},At.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Ve(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Ve(this.string,this.lineStart,this.tabSize):0)},At.prototype.indentation=function(){return Ve(this.string,null,this.tabSize)-(this.lineStart?Ve(this.string,this.lineStart,this.tabSize):0)},At.prototype.match=function(E,ee,be){if(typeof E=="string"){var ge=function(pt){return be?pt.toLowerCase():pt},Ie=this.string.substr(this.pos,E.length);if(ge(Ie)==ge(E))return ee!==!1&&(this.pos+=E.length),!0}else{var $e=this.string.slice(this.pos).match(E);return $e&&$e.index>0?null:($e&&ee!==!1&&(this.pos+=$e[0].length),$e)}},At.prototype.current=function(){return this.string.slice(this.start,this.pos)},At.prototype.hideFirstChars=function(E,ee){this.lineStart+=E;try{return ee()}finally{this.lineStart-=E}},At.prototype.lookAhead=function(E){var ee=this.lineOracle;return ee&&ee.lookAhead(E)},At.prototype.baseToken=function(){var E=this.lineOracle;return E&&E.baseToken(this.pos)};function zt(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 be=E;!be.lines;)for(var ge=0;;++ge){var Ie=be.children[ge],$e=Ie.chunkSize();if(ee<$e){be=Ie;break}ee-=$e}return be.lines[ee]}function Ut(E,ee,be){var ge=[],Ie=ee.line;return E.iter(ee.line,be.line+1,function($e){var pt=$e.text;Ie==be.line&&(pt=pt.slice(0,be.ch)),Ie==ee.line&&(pt=pt.slice(ee.ch)),ge.push(pt),++Ie}),ge}function ir(E,ee,be){var ge=[];return E.iter(ee,be,function(Ie){ge.push(Ie.text)}),ge}function er(E,ee){var be=ee-E.height;if(be)for(var ge=E;ge;ge=ge.parent)ge.height+=be}function hr(E){if(E.parent==null)return null;for(var ee=E.parent,be=nt(ee.lines,E),ge=ee.parent;ge;ee=ge,ge=ge.parent)for(var Ie=0;ge.children[Ie]!=ee;++Ie)be+=ge.children[Ie].chunkSize();return be+ee.first}function Cr(E,ee){var be=E.first;e:do{for(var ge=0;ge<E.children.length;++ge){var Ie=E.children[ge],$e=Ie.height;if(ee<$e){E=Ie;continue e}ee-=$e,be+=Ie.chunkSize()}return be}while(!E.lines);for(var pt=0;pt<E.lines.length;++pt){var Ct=E.lines[pt],Ot=Ct.height;if(ee<Ot)break;ee-=Ot}return be+pt}function Dr(E,ee){return ee>=E.first&&ee<E.first+E.size}function Ir(E,ee){return String(E.lineNumberFormatter(ee+E.firstLineNumber))}function qt(E,ee,be){if(be===void 0&&(be=null),!(this instanceof qt))return new qt(E,ee,be);this.line=E,this.ch=ee,this.sticky=be}function vr(E,ee){return E.line-ee.line||E.ch-ee.ch}function Ht(E,ee){return E.sticky==ee.sticky&&vr(E,ee)==0}function Yt(E){return qt(E.line,E.ch)}function Xt(E,ee){return vr(E,ee)<0?ee:E}function rr(E,ee){return vr(E,ee)<0?E:ee}function gr(E,ee){return Math.max(E.first,Math.min(ee,E.first+E.size-1))}function Qt(E,ee){if(ee.line<E.first)return qt(E.first,0);var be=E.first+E.size-1;return ee.line>be?qt(be,zt(E,be).text.length):xr(ee,zt(E,ee.line).text.length)}function xr(E,ee){var be=E.ch;return be==null||be>ee?qt(E.line,ee):be<0?qt(E.line,0):E}function Lt(E,ee){for(var be=[],ge=0;ge<ee.length;ge++)be[ge]=Qt(E,ee[ge]);return be}var Jt=function(E,ee){this.state=E,this.lookAhead=ee},$t=function(E,ee,be,ge){this.state=ee,this.doc=E,this.line=be,this.maxLookAhead=ge||0,this.baseTokens=null,this.baseTokenPos=1};$t.prototype.lookAhead=function(E){var ee=this.doc.getLine(this.line+E);return ee!=null&&E>this.maxLookAhead&&(this.maxLookAhead=E),ee},$t.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}},$t.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},$t.fromSaved=function(E,ee,be){return ee instanceof Jt?new $t(E,xt(E.mode,ee.state),be,ee.lookAhead):new $t(E,xt(E.mode,ee),be)},$t.prototype.save=function(E){var ee=E!==!1?xt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Jt(ee,this.maxLookAhead):ee};function dr(E,ee,be,ge){var Ie=[E.state.modeGen],$e={};dn(E,ee.text,E.doc.mode,be,function(Pt,tr){return Ie.push(Pt,tr)},$e,ge);for(var pt=be.state,Ct=function(Pt){be.baseTokens=Ie;var tr=E.state.overlays[Pt],ur=1,Lr=0;be.state=!0,dn(E,ee.text,tr.mode,be,function(kr,rn){for(var Mn=ur;Lr<kr;){var Kn=Ie[ur];Kn>kr&&Ie.splice(ur,1,kr,Ie[ur+1],Kn),ur+=2,Lr=Math.min(kr,Kn)}if(rn)if(tr.opaque)Ie.splice(Mn,ur-Mn,kr,"overlay "+rn),ur=Mn+2;else for(;Mn<ur;Mn+=2){var Qn=Ie[Mn+1];Ie[Mn+1]=(Qn?Qn+" ":"")+"overlay "+rn}},$e),be.state=pt,be.baseTokens=null,be.baseTokenPos=1},Ot=0;Ot<E.state.overlays.length;++Ot)Ct(Ot);return{styles:Ie,classes:$e.bgClass||$e.textClass?$e:null}}function lr(E,ee,be){if(!ee.styles||ee.styles[0]!=E.state.modeGen){var ge=pr(E,hr(ee)),Ie=ee.text.length>E.options.maxHighlightLength&&xt(E.doc.mode,ge.state),$e=dr(E,ee,ge);Ie&&(ge.state=Ie),ee.stateAfter=ge.save(!Ie),ee.styles=$e.styles,$e.classes?ee.styleClasses=$e.classes:ee.styleClasses&&(ee.styleClasses=null),be===E.doc.highlightFrontier&&(E.doc.modeFrontier=Math.max(E.doc.modeFrontier,++E.doc.highlightFrontier))}return ee.styles}function pr(E,ee,be){var ge=E.doc,Ie=E.display;if(!ge.mode.startState)return new $t(ge,!0,ee);var $e=pn(E,ee,be),pt=$e>ge.first&&zt(ge,$e-1).stateAfter,Ct=pt?$t.fromSaved(ge,pt,$e):new $t(ge,Tt(ge.mode),$e);return ge.iter($e,ee,function(Ot){fr(E,Ot.text,Ct);var Pt=Ct.line;Ot.stateAfter=Pt==ee-1||Pt%5==0||Pt>=Ie.viewFrom&&Pt<Ie.viewTo?Ct.save():null,Ct.nextLine()}),be&&(ge.modeFrontier=Ct.line),Ct}function fr(E,ee,be,ge){var Ie=E.doc.mode,$e=new At(ee,E.options.tabSize,be);for($e.start=$e.pos=ge||0,ee==""&&Ar(Ie,be.state);!$e.eol();)Rr(Ie,$e,be.state),$e.start=$e.pos}function Ar(E,ee){if(E.blankLine)return E.blankLine(ee);if(E.innerMode){var be=It(E,ee);if(be.mode.blankLine)return be.mode.blankLine(be.state)}}function Rr(E,ee,be,ge){for(var Ie=0;Ie<10;Ie++){ge&&(ge[0]=It(E,be).mode);var $e=E.token(ee,be);if(ee.pos>ee.start)return $e}throw new Error("Mode "+E.name+" failed to advance stream.")}var Zr=function(E,ee,be){this.start=E.start,this.end=E.pos,this.string=E.current(),this.type=ee||null,this.state=be};function Qr(E,ee,be,ge){var Ie=E.doc,$e=Ie.mode,pt;ee=Qt(Ie,ee);var Ct=zt(Ie,ee.line),Ot=pr(E,ee.line,be),Pt=new At(Ct.text,E.options.tabSize,Ot),tr;for(ge&&(tr=[]);(ge||Pt.pos<ee.ch)&&!Pt.eol();)Pt.start=Pt.pos,pt=Rr($e,Pt,Ot.state),ge&&tr.push(new Zr(Pt,pt,xt(Ie.mode,Ot.state)));return ge?tr:new Zr(Pt,pt,Ot.state)}function nn(E,ee){if(E)for(;;){var be=E.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!be)break;E=E.slice(0,be.index)+E.slice(be.index+be[0].length);var ge=be[1]?"bgClass":"textClass";ee[ge]==null?ee[ge]=be[2]:new RegExp("(?:^|\\s)"+be[2]+"(?:$|\\s)").test(ee[ge])||(ee[ge]+=" "+be[2])}return E}function dn(E,ee,be,ge,Ie,$e,pt){var Ct=be.flattenSpans;Ct==null&&(Ct=E.options.flattenSpans);var Ot=0,Pt=null,tr=new At(ee,E.options.tabSize,ge),ur,Lr=E.options.addModeClass&&[null];for(ee==""&&nn(Ar(be,ge.state),$e);!tr.eol();){if(tr.pos>E.options.maxHighlightLength?(Ct=!1,pt&&fr(E,ee,ge,tr.pos),tr.pos=ee.length,ur=null):ur=nn(Rr(be,tr,ge.state,Lr),$e),Lr){var kr=Lr[0].name;kr&&(ur="m-"+(ur?kr+" "+ur:kr))}if(!Ct||Pt!=ur){for(;Ot<tr.start;)Ot=Math.min(tr.start,Ot+5e3),Ie(Ot,Pt);Pt=ur}tr.start=tr.pos}for(;Ot<tr.pos;){var rn=Math.min(tr.pos,Ot+5e3);Ie(rn,Pt),Ot=rn}}function pn(E,ee,be){for(var ge,Ie,$e=E.doc,pt=be?-1:ee-(E.doc.mode.innerMode?1e3:100),Ct=ee;Ct>pt;--Ct){if(Ct<=$e.first)return $e.first;var Ot=zt($e,Ct-1),Pt=Ot.stateAfter;if(Pt&&(!be||Ct+(Pt instanceof Jt?Pt.lookAhead:0)<=$e.modeFrontier))return Ct;var tr=Ve(Ot.text,null,E.options.tabSize);(Ie==null||ge>tr)&&(Ie=Ct-1,ge=tr)}return Ie}function Gr(E,ee){if(E.modeFrontier=Math.min(E.modeFrontier,ee),!(E.highlightFrontier<ee-10)){for(var be=E.first,ge=ee-1;ge>be;ge--){var Ie=zt(E,ge).stateAfter;if(Ie&&(!(Ie instanceof Jt)||ge+Ie.lookAhead<ee)){be=ge+1;break}}E.highlightFrontier=Math.min(E.highlightFrontier,be)}}var yn=!1,mn=!1;function On(){yn=!0}function cn(){mn=!0}function Sn(E,ee,be){this.marker=E,this.from=ee,this.to=be}function gn(E,ee){if(E)for(var be=0;be<E.length;++be){var ge=E[be];if(ge.marker==ee)return ge}}function Jr(E,ee){for(var be,ge=0;ge<E.length;++ge)E[ge]!=ee&&(be||(be=[])).push(E[ge]);return be}function Ln(E,ee){E.markedSpans=E.markedSpans?E.markedSpans.concat([ee]):[ee],ee.marker.attachLine(E)}function Zn(E,ee,be){var ge;if(E)for(var Ie=0;Ie<E.length;++Ie){var $e=E[Ie],pt=$e.marker,Ct=$e.from==null||(pt.inclusiveLeft?$e.from<=ee:$e.from<ee);if(Ct||$e.from==ee&&pt.type=="bookmark"&&(!be||!$e.marker.insertLeft)){var Ot=$e.to==null||(pt.inclusiveRight?$e.to>=ee:$e.to>ee);(ge||(ge=[])).push(new Sn(pt,$e.from,Ot?null:$e.to))}}return ge}function fn(E,ee,be){var ge;if(E)for(var Ie=0;Ie<E.length;++Ie){var $e=E[Ie],pt=$e.marker,Ct=$e.to==null||(pt.inclusiveRight?$e.to>=ee:$e.to>ee);if(Ct||$e.from==ee&&pt.type=="bookmark"&&(!be||$e.marker.insertLeft)){var Ot=$e.from==null||(pt.inclusiveLeft?$e.from<=ee:$e.from<ee);(ge||(ge=[])).push(new Sn(pt,Ot?null:$e.from-ee,$e.to==null?null:$e.to-ee))}}return ge}function Hr(E,ee){if(ee.full)return null;var be=Dr(E,ee.from.line)&&zt(E,ee.from.line).markedSpans,ge=Dr(E,ee.to.line)&&zt(E,ee.to.line).markedSpans;if(!be&&!ge)return null;var Ie=ee.from.ch,$e=ee.to.ch,pt=vr(ee.from,ee.to)==0,Ct=Zn(be,Ie,pt),Ot=fn(ge,$e,pt),Pt=ee.text.length==1,tr=Et(ee.text).length+(Pt?Ie:0);if(Ct)for(var ur=0;ur<Ct.length;++ur){var Lr=Ct[ur];if(Lr.to==null){var kr=gn(Ot,Lr.marker);kr?Pt&&(Lr.to=kr.to==null?null:kr.to+tr):Lr.to=Ie}}if(Ot)for(var rn=0;rn<Ot.length;++rn){var Mn=Ot[rn];if(Mn.to!=null&&(Mn.to+=tr),Mn.from==null){var Kn=gn(Ct,Mn.marker);Kn||(Mn.from=tr,Pt&&(Ct||(Ct=[])).push(Mn))}else Mn.from+=tr,Pt&&(Ct||(Ct=[])).push(Mn)}Ct&&(Ct=Wr(Ct)),Ot&&Ot!=Ct&&(Ot=Wr(Ot));var Qn=[Ct];if(!Pt){var ri=ee.text.length-2,Jn;if(ri>0&&Ct)for(var ii=0;ii<Ct.length;++ii)Ct[ii].to==null&&(Jn||(Jn=[])).push(new Sn(Ct[ii].marker,null,null));for(var pi=0;pi<ri;++pi)Qn.push(Jn);Qn.push(Ot)}return Qn}function Wr(E){for(var ee=0;ee<E.length;++ee){var be=E[ee];be.from!=null&&be.from==be.to&&be.marker.clearWhenEmpty!==!1&&E.splice(ee--,1)}return E.length?E:null}function In(E,ee,be){var ge=null;if(E.iter(ee.line,be.line+1,function(kr){if(kr.markedSpans)for(var rn=0;rn<kr.markedSpans.length;++rn){var Mn=kr.markedSpans[rn].marker;Mn.readOnly&&(!ge||nt(ge,Mn)==-1)&&(ge||(ge=[])).push(Mn)}}),!ge)return null;for(var Ie=[{from:ee,to:be}],$e=0;$e<ge.length;++$e)for(var pt=ge[$e],Ct=pt.find(0),Ot=0;Ot<Ie.length;++Ot){var Pt=Ie[Ot];if(!(vr(Pt.to,Ct.from)<0||vr(Pt.from,Ct.to)>0)){var tr=[Ot,1],ur=vr(Pt.from,Ct.from),Lr=vr(Pt.to,Ct.to);(ur<0||!pt.inclusiveLeft&&!ur)&&tr.push({from:Pt.from,to:Ct.from}),(Lr>0||!pt.inclusiveRight&&!Lr)&&tr.push({from:Ct.to,to:Pt.to}),Ie.splice.apply(Ie,tr),Ot+=tr.length-3}}return Ie}function bn(E){var ee=E.markedSpans;if(ee){for(var be=0;be<ee.length;++be)ee[be].marker.detachLine(E);E.markedSpans=null}}function Nn(E,ee){if(ee){for(var be=0;be<ee.length;++be)ee[be].marker.attachLine(E);E.markedSpans=ee}}function Hn(E){return E.inclusiveLeft?-1:0}function zn(E){return E.inclusiveRight?1:0}function Dn(E,ee){var be=E.lines.length-ee.lines.length;if(be!=0)return be;var ge=E.find(),Ie=ee.find(),$e=vr(ge.from,Ie.from)||Hn(E)-Hn(ee);if($e)return-$e;var pt=vr(ge.to,Ie.to)||zn(E)-zn(ee);return pt||ee.id-E.id}function _n(E,ee){var be=mn&&E.markedSpans,ge;if(be)for(var Ie=void 0,$e=0;$e<be.length;++$e)Ie=be[$e],Ie.marker.collapsed&&(ee?Ie.from:Ie.to)==null&&(!ge||Dn(ge,Ie.marker)<0)&&(ge=Ie.marker);return ge}function ci(E){return _n(E,!0)}function hn(E){return _n(E,!1)}function kn(E,ee){var be=mn&&E.markedSpans,ge;if(be)for(var Ie=0;Ie<be.length;++Ie){var $e=be[Ie];$e.marker.collapsed&&($e.from==null||$e.from<ee)&&($e.to==null||$e.to>ee)&&(!ge||Dn(ge,$e.marker)<0)&&(ge=$e.marker)}return ge}function Vn(E,ee,be,ge,Ie){var $e=zt(E,ee),pt=mn&&$e.markedSpans;if(pt)for(var Ct=0;Ct<pt.length;++Ct){var Ot=pt[Ct];if(Ot.marker.collapsed){var Pt=Ot.marker.find(0),tr=vr(Pt.from,be)||Hn(Ot.marker)-Hn(Ie),ur=vr(Pt.to,ge)||zn(Ot.marker)-zn(Ie);if(!(tr>=0&&ur<=0||tr<=0&&ur>=0)&&(tr<=0&&(Ot.marker.inclusiveRight&&Ie.inclusiveLeft?vr(Pt.to,be)>=0:vr(Pt.to,be)>0)||tr>=0&&(Ot.marker.inclusiveRight&&Ie.inclusiveLeft?vr(Pt.from,ge)<=0:vr(Pt.from,ge)<0)))return!0}}}function $n(E){for(var ee;ee=ci(E);)E=ee.find(-1,!0).line;return E}function Ci(E){for(var ee;ee=hn(E);)E=ee.find(1,!0).line;return E}function Ei(E){for(var ee,be;ee=hn(E);)E=ee.find(1,!0).line,(be||(be=[])).push(E);return be}function gi(E,ee){var be=zt(E,ee),ge=$n(be);return be==ge?ee:hr(ge)}function di(E,ee){if(ee>E.lastLine())return ee;var be=zt(E,ee),ge;if(!Oi(E,be))return ee;for(;ge=hn(be);)be=ge.find(1,!0).line;return hr(be)+1}function Oi(E,ee){var be=mn&&ee.markedSpans;if(be){for(var ge=void 0,Ie=0;Ie<be.length;++Ie)if(ge=be[Ie],!!ge.marker.collapsed){if(ge.from==null)return!0;if(!ge.marker.widgetNode&&ge.from==0&&ge.marker.inclusiveLeft&&Di(E,ee,ge))return!0}}}function Di(E,ee,be){if(be.to==null){var ge=be.marker.find(1,!0);return Di(E,ge.line,gn(ge.line.markedSpans,be.marker))}if(be.marker.inclusiveRight&&be.to==ee.text.length)return!0;for(var Ie=void 0,$e=0;$e<ee.markedSpans.length;++$e)if(Ie=ee.markedSpans[$e],Ie.marker.collapsed&&!Ie.marker.widgetNode&&Ie.from==be.to&&(Ie.to==null||Ie.to!=be.from)&&(Ie.marker.inclusiveLeft||be.marker.inclusiveRight)&&Di(E,ee,Ie))return!0}function En(E){E=$n(E);for(var ee=0,be=E.parent,ge=0;ge<be.lines.length;++ge){var Ie=be.lines[ge];if(Ie==E)break;ee+=Ie.height}for(var $e=be.parent;$e;be=$e,$e=be.parent)for(var pt=0;pt<$e.children.length;++pt){var Ct=$e.children[pt];if(Ct==be)break;ee+=Ct.height}return ee}function An(E){if(E.height==0)return 0;for(var ee=E.text.length,be,ge=E;be=ci(ge);){var Ie=be.find(0,!0);ge=Ie.from.line,ee+=Ie.from.ch-Ie.to.ch}for(ge=E;be=hn(ge);){var $e=be.find(0,!0);ee-=ge.text.length-$e.from.ch,ge=$e.to.line,ee+=ge.text.length-$e.to.ch}return ee}function an(E){var ee=E.display,be=E.doc;ee.maxLine=zt(be,be.first),ee.maxLineLength=An(ee.maxLine),ee.maxLineChanged=!0,be.iter(function(ge){var Ie=An(ge);Ie>ee.maxLineLength&&(ee.maxLineLength=Ie,ee.maxLine=ge)})}var sn=function(E,ee,be){this.text=E,Nn(this,ee),this.height=be?be(this):1};sn.prototype.lineNo=function(){return hr(this)},Zt(sn);function ni(E,ee,be,ge){E.text=ee,E.stateAfter&&(E.stateAfter=null),E.styles&&(E.styles=null),E.order!=null&&(E.order=null),bn(E),Nn(E,be);var Ie=ge?ge(E):1;Ie!=E.height&&er(E,Ie)}function wi(E){E.parent=null,bn(E)}var Si={},Ai={};function vi(E,ee){if(!E||/^\s*$/.test(E))return null;var be=ee.addModeClass?Ai:Si;return be[E]||(be[E]=E.replace(/\S+/g,"cm-$&"))}function Ii(E,ee){var be=Ne("span",null,null,ne?"padding-right: .1px":null),ge={pre:Ne("pre",[be],"CodeMirror-line"),content:be,col:0,pos:0,cm:E,trailingSpace:!1,splitSpaces:E.getOption("lineWrapping")};ee.measure={};for(var Ie=0;Ie<=(ee.rest?ee.rest.length:0);Ie++){var $e=Ie?ee.rest[Ie-1]:ee.line,pt=void 0;ge.pos=0,ge.addToken=Ui,vn(E.display.measure)&&(pt=Vt($e,E.doc.direction))&&(ge.addToken=li(ge.addToken,pt)),ge.map=[];var Ct=ee!=E.display.externalMeasured&&hr($e);Pi($e,ge,lr(E,$e,Ct)),$e.styleClasses&&($e.styleClasses.bgClass&&(ge.bgClass=Qe($e.styleClasses.bgClass,ge.bgClass||"")),$e.styleClasses.textClass&&(ge.textClass=Qe($e.styleClasses.textClass,ge.textClass||""))),ge.map.length==0&&ge.map.push(0,0,ge.content.appendChild(Yr(E.display.measure))),Ie==0?(ee.measure.map=ge.map,ee.measure.cache={}):((ee.measure.maps||(ee.measure.maps=[])).push(ge.map),(ee.measure.caches||(ee.measure.caches=[])).push({}))}if(ne){var Ot=ge.content.lastChild;(/\bcm-tab\b/.test(Ot.className)||Ot.querySelector&&Ot.querySelector(".cm-tab"))&&(ge.content.className="cm-tab-wrap-hack")}return ft(E,"renderLine",E,ee.line,ge.pre),ge.pre.className&&(ge.textClass=Qe(ge.pre.className,ge.textClass||"")),ge}function Ki(E){var ee=Ce("span","\u2022","cm-invalidchar");return ee.title="\\u"+E.charCodeAt(0).toString(16),ee.setAttribute("aria-label",ee.title),ee}function Ui(E,ee,be,ge,Ie,$e,pt){if(ee){var Ct=E.splitSpaces?$i(ee,E.trailingSpace):ee,Ot=E.cm.state.specialChars,Pt=!1,tr;if(!Ot.test(ee))E.col+=ee.length,tr=document.createTextNode(Ct),E.map.push(E.pos,E.pos+ee.length,tr),ve&&re<9&&(Pt=!0),E.pos+=ee.length;else{tr=document.createDocumentFragment();for(var ur=0;;){Ot.lastIndex=ur;var Lr=Ot.exec(ee),kr=Lr?Lr.index-ur:ee.length-ur;if(kr){var rn=document.createTextNode(Ct.slice(ur,ur+kr));ve&&re<9?tr.appendChild(Ce("span",[rn])):tr.appendChild(rn),E.map.push(E.pos,E.pos+kr,rn),E.col+=kr,E.pos+=kr}if(!Lr)break;ur+=kr+1;var Mn=void 0;if(Lr[0]==" "){var Kn=E.cm.options.tabSize,Qn=Kn-E.col%Kn;Mn=tr.appendChild(Ce("span",Bt(Qn),"cm-tab")),Mn.setAttribute("role","presentation"),Mn.setAttribute("cm-text"," "),E.col+=Qn}else Lr[0]=="\r"||Lr[0]==`
`?(Mn=tr.appendChild(Ce("span",Lr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Mn.setAttribute("cm-text",Lr[0]),E.col+=1):(Mn=E.cm.options.specialCharPlaceholder(Lr[0]),Mn.setAttribute("cm-text",Lr[0]),ve&&re<9?tr.appendChild(Ce("span",[Mn])):tr.appendChild(Mn),E.col+=1);E.map.push(E.pos,E.pos+1,Mn),E.pos++}}if(E.trailingSpace=Ct.charCodeAt(ee.length-1)==32,be||ge||Ie||Pt||$e||pt){var ri=be||"";ge&&(ri+=ge),Ie&&(ri+=Ie);var Jn=Ce("span",[tr],ri,$e);if(pt)for(var ii in pt)pt.hasOwnProperty(ii)&&ii!="style"&&ii!="class"&&Jn.setAttribute(ii,pt[ii]);return E.content.appendChild(Jn)}E.content.appendChild(tr)}}function $i(E,ee){if(E.length>1&&!/ /.test(E))return E;for(var be=ee,ge="",Ie=0;Ie<E.length;Ie++){var $e=E.charAt(Ie);$e==" "&&be&&(Ie==E.length-1||E.charCodeAt(Ie+1)==32)&&($e="\xA0"),ge+=$e,be=$e==" "}return ge}function li(E,ee){return function(be,ge,Ie,$e,pt,Ct,Ot){Ie=Ie?Ie+" cm-force-border":"cm-force-border";for(var Pt=be.pos,tr=Pt+ge.length;;){for(var ur=void 0,Lr=0;Lr<ee.length&&(ur=ee[Lr],!(ur.to>Pt&&ur.from<=Pt));Lr++);if(ur.to>=tr)return E(be,ge,Ie,$e,pt,Ct,Ot);E(be,ge.slice(0,ur.to-Pt),Ie,$e,null,Ct,Ot),$e=null,ge=ge.slice(ur.to-Pt),Pt=ur.to}}}function fi(E,ee,be,ge){var Ie=!ge&&be.widgetNode;Ie&&E.map.push(E.pos,E.pos+ee,Ie),!ge&&E.cm.display.input.needsContentAttribute&&(Ie||(Ie=E.content.appendChild(document.createElement("span"))),Ie.setAttribute("cm-marker",be.id)),Ie&&(E.cm.display.input.setUneditable(Ie),E.content.appendChild(Ie)),E.pos+=ee,E.trailingSpace=!1}function Pi(E,ee,be){var ge=E.markedSpans,Ie=E.text,$e=0;if(!ge){for(var pt=1;pt<be.length;pt+=2)ee.addToken(ee,Ie.slice($e,$e=be[pt]),vi(be[pt+1],ee.cm.options));return}for(var Ct=Ie.length,Ot=0,Pt=1,tr="",ur,Lr,kr=0,rn,Mn,Kn,Qn,ri;;){if(kr==Ot){rn=Mn=Kn=Lr="",ri=null,Qn=null,kr=1/0;for(var Jn=[],ii=void 0,pi=0;pi<ge.length;++pi){var bi=ge[pi],_i=bi.marker;if(_i.type=="bookmark"&&bi.from==Ot&&_i.widgetNode)Jn.push(_i);else if(bi.from<=Ot&&(bi.to==null||bi.to>Ot||_i.collapsed&&bi.to==Ot&&bi.from==Ot)){if(bi.to!=null&&bi.to!=Ot&&kr>bi.to&&(kr=bi.to,Mn=""),_i.className&&(rn+=" "+_i.className),_i.css&&(Lr=(Lr?Lr+";":"")+_i.css),_i.startStyle&&bi.from==Ot&&(Kn+=" "+_i.startStyle),_i.endStyle&&bi.to==kr&&(ii||(ii=[])).push(_i.endStyle,bi.to),_i.title&&((ri||(ri={})).title=_i.title),_i.attributes)for(var oa in _i.attributes)(ri||(ri={}))[oa]=_i.attributes[oa];_i.collapsed&&(!Qn||Dn(Qn.marker,_i)<0)&&(Qn=bi)}else bi.from>Ot&&kr>bi.from&&(kr=bi.from)}if(ii)for(var Ua=0;Ua<ii.length;Ua+=2)ii[Ua+1]==kr&&(Mn+=" "+ii[Ua]);if(!Qn||Qn.from==Ot)for(var ya=0;ya<Jn.length;++ya)fi(ee,0,Jn[ya]);if(Qn&&(Qn.from||0)==Ot){if(fi(ee,(Qn.to==null?Ct+1:Qn.to)-Ot,Qn.marker,Qn.from==null),Qn.to==null)return;Qn.to==Ot&&(Qn=!1)}}if(Ot>=Ct)break;for(var yo=Math.min(Ct,kr);;){if(tr){var bo=Ot+tr.length;if(!Qn){var La=bo>yo?tr.slice(0,yo-Ot):tr;ee.addToken(ee,La,ur?ur+rn:rn,Kn,Ot+La.length==kr?Mn:"",Lr,ri)}if(bo>=yo){tr=tr.slice(yo-Ot),Ot=yo;break}Ot=bo,Kn=""}tr=Ie.slice($e,$e=be[Pt++]),ur=vi(be[Pt++],ee.cm.options)}}}function mi(E,ee,be){this.line=ee,this.rest=Ei(ee),this.size=this.rest?hr(Et(this.rest))-be+1:1,this.node=this.text=null,this.hidden=Oi(E,ee)}function ki(E,ee,be){for(var ge=[],Ie,$e=ee;$e<be;$e=Ie){var pt=new mi(E.doc,zt(E.doc,$e),$e);Ie=$e+pt.size,ge.push(pt)}return ge}var Er=null;function br(E){Er?Er.ops.push(E):E.ownsGroup=Er={ops:[E],delayedCallbacks:[]}}function mr(E){var ee=E.delayedCallbacks,be=0;do{for(;be<ee.length;be++)ee[be].call(null);for(var ge=0;ge<E.ops.length;ge++){var Ie=E.ops[ge];if(Ie.cursorActivityHandlers)for(;Ie.cursorActivityCalled<Ie.cursorActivityHandlers.length;)Ie.cursorActivityHandlers[Ie.cursorActivityCalled++].call(null,Ie.cm)}}while(be<ee.length)}function jr(E,ee){var be=E.ownsGroup;if(be)try{mr(be)}finally{Er=null,ee(be)}}var en=null;function tn(E,ee){var be=_t(E,ee);if(be.length){var ge=Array.prototype.slice.call(arguments,2),Ie;Er?Ie=Er.delayedCallbacks:en?Ie=en:(Ie=en=[],setTimeout(_r,0));for(var $e=function(Ct){Ie.push(function(){return be[Ct].apply(null,ge)})},pt=0;pt<be.length;++pt)$e(pt)}}function _r(){var E=en;en=null;for(var ee=0;ee<E.length;++ee)E[ee]()}function Cn(E,ee,be,ge){for(var Ie=0;Ie<ee.changes.length;Ie++){var $e=ee.changes[Ie];$e=="text"?xn(E,ee):$e=="gutter"?ei(E,ee,be,ge):$e=="class"?Xn(E,ee):$e=="widget"&&xi(E,ee,ge)}ee.changes=null}function Gn(E){return E.node==E.text&&(E.node=Ce("div",null,null,"position: relative"),E.text.parentNode&&E.text.parentNode.replaceChild(E.node,E.text),E.node.appendChild(E.text),ve&&re<8&&(E.node.style.zIndex=2)),E.node}function si(E,ee){var be=ee.bgClass?ee.bgClass+" "+(ee.line.bgClass||""):ee.line.bgClass;if(be&&(be+=" CodeMirror-linebackground"),ee.background)be?ee.background.className=be:(ee.background.parentNode.removeChild(ee.background),ee.background=null);else if(be){var ge=Gn(ee);ee.background=ge.insertBefore(Ce("div",null,be),ge.firstChild),E.display.input.setUneditable(ee.background)}}function Yn(E,ee){var be=E.display.externalMeasured;return be&&be.line==ee.line?(E.display.externalMeasured=null,ee.measure=be.measure,be.built):Ii(E,ee)}function xn(E,ee){var be=ee.text.className,ge=Yn(E,ee);ee.text==ee.node&&(ee.node=ge.pre),ee.text.parentNode.replaceChild(ge.pre,ee.text),ee.text=ge.pre,ge.bgClass!=ee.bgClass||ge.textClass!=ee.textClass?(ee.bgClass=ge.bgClass,ee.textClass=ge.textClass,Xn(E,ee)):be&&(ee.text.className=be)}function Xn(E,ee){si(E,ee),ee.line.wrapClass?Gn(ee).className=ee.line.wrapClass:ee.node!=ee.text&&(ee.node.className="");var be=ee.textClass?ee.textClass+" "+(ee.line.textClass||""):ee.line.textClass;ee.text.className=be||""}function ei(E,ee,be,ge){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 Ie=Gn(ee);ee.gutterBackground=Ce("div",null,"CodeMirror-gutter-background "+ee.line.gutterClass,"left: "+(E.options.fixedGutter?ge.fixedPos:-ge.gutterTotalWidth)+"px; width: "+ge.gutterTotalWidth+"px"),E.display.input.setUneditable(ee.gutterBackground),Ie.insertBefore(ee.gutterBackground,ee.text)}var $e=ee.line.gutterMarkers;if(E.options.lineNumbers||$e){var pt=Gn(ee),Ct=ee.gutter=Ce("div",null,"CodeMirror-gutter-wrapper","left: "+(E.options.fixedGutter?ge.fixedPos:-ge.gutterTotalWidth)+"px");if(E.display.input.setUneditable(Ct),pt.insertBefore(Ct,ee.text),ee.line.gutterClass&&(Ct.className+=" "+ee.line.gutterClass),E.options.lineNumbers&&(!$e||!$e["CodeMirror-linenumbers"])&&(ee.lineNumber=Ct.appendChild(Ce("div",Ir(E.options,be),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+ge.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+E.display.lineNumInnerWidth+"px"))),$e)for(var Ot=0;Ot<E.display.gutterSpecs.length;++Ot){var Pt=E.display.gutterSpecs[Ot].className,tr=$e.hasOwnProperty(Pt)&&$e[Pt];tr&&Ct.appendChild(Ce("div",[tr],"CodeMirror-gutter-elt","left: "+ge.gutterLeft[Pt]+"px; width: "+ge.gutterWidth[Pt]+"px"))}}}function xi(E,ee,be){ee.alignable&&(ee.alignable=null);for(var ge=Ee("CodeMirror-linewidget"),Ie=ee.node.firstChild,$e=void 0;Ie;Ie=$e)$e=Ie.nextSibling,ge.test(Ie.className)&&ee.node.removeChild(Ie);qn(E,ee,be)}function ti(E,ee,be,ge){var Ie=Yn(E,ee);return ee.text=ee.node=Ie.pre,Ie.bgClass&&(ee.bgClass=Ie.bgClass),Ie.textClass&&(ee.textClass=Ie.textClass),Xn(E,ee),ei(E,ee,be,ge),qn(E,ee,ge),ee.node}function qn(E,ee,be){if(yi(E,ee.line,ee,be,!0),ee.rest)for(var ge=0;ge<ee.rest.length;ge++)yi(E,ee.rest[ge],ee,be,!1)}function yi(E,ee,be,ge,Ie){if(ee.widgets)for(var $e=Gn(be),pt=0,Ct=ee.widgets;pt<Ct.length;++pt){var Ot=Ct[pt],Pt=Ce("div",[Ot.node],"CodeMirror-linewidget"+(Ot.className?" "+Ot.className:""));Ot.handleMouseEvents||Pt.setAttribute("cm-ignore-events","true"),Li(Ot,Pt,be,ge),E.display.input.setUneditable(Pt),Ie&&Ot.above?$e.insertBefore(Pt,be.gutter||be.text):$e.appendChild(Pt),tn(Ot,"redraw")}}function Li(E,ee,be,ge){if(E.noHScroll){(be.alignable||(be.alignable=[])).push(ee);var Ie=ge.wrapperWidth;ee.style.left=ge.fixedPos+"px",E.coverGutter||(Ie-=ge.gutterTotalWidth,ee.style.paddingLeft=ge.gutterTotalWidth+"px"),ee.style.width=Ie+"px"}E.coverGutter&&(ee.style.zIndex=5,ee.style.position="relative",E.noHScroll||(ee.style.marginLeft=-ge.gutterTotalWidth+"px"))}function Fi(E){if(E.height!=null)return E.height;var ee=E.doc.cm;if(!ee)return 0;if(!Ze(document.body,E.node)){var be="position: relative;";E.coverGutter&&(be+="margin-left: -"+ee.display.gutters.offsetWidth+"px;"),E.noHScroll&&(be+="width: "+ee.display.wrapper.clientWidth+"px;"),Oe(ee.display.measure,Ce("div",[E.node],null,be))}return E.height=E.node.parentNode.offsetHeight}function ra(E,ee){for(var be=Vr(ee);be!=E.wrapper;be=be.parentNode)if(!be||be.nodeType==1&&be.getAttribute("cm-ignore-events")=="true"||be.parentNode==E.sizer&&be!=E.mover)return!0}function Ea(E){return E.lineSpace.offsetTop}function Lo(E){return E.mover.offsetHeight-E.lineSpace.offsetHeight}function Za(E){if(E.cachedPaddingH)return E.cachedPaddingH;var ee=Oe(E.measure,Ce("pre","x","CodeMirror-line-like")),be=window.getComputedStyle?window.getComputedStyle(ee):ee.currentStyle,ge={left:parseInt(be.paddingLeft),right:parseInt(be.paddingRight)};return!isNaN(ge.left)&&!isNaN(ge.right)&&(E.cachedPaddingH=ge),ge}function ma(E){return dt-E.display.nativeBarWidth}function ca(E){return E.display.scroller.clientWidth-ma(E)-E.display.barWidth}function ho(E){return E.display.scroller.clientHeight-ma(E)-E.display.barHeight}function Oa(E,ee,be){var ge=E.options.lineWrapping,Ie=ge&&ca(E);if(!ee.measure.heights||ge&&ee.measure.width!=Ie){var $e=ee.measure.heights=[];if(ge){ee.measure.width=Ie;for(var pt=ee.text.firstChild.getClientRects(),Ct=0;Ct<pt.length-1;Ct++){var Ot=pt[Ct],Pt=pt[Ct+1];Math.abs(Ot.bottom-Pt.bottom)>2&&$e.push((Ot.bottom+Pt.top)/2-be.top)}}$e.push(be.bottom-be.top)}}function Va(E,ee,be){if(E.line==ee)return{map:E.measure.map,cache:E.measure.cache};for(var ge=0;ge<E.rest.length;ge++)if(E.rest[ge]==ee)return{map:E.measure.maps[ge],cache:E.measure.caches[ge]};for(var Ie=0;Ie<E.rest.length;Ie++)if(hr(E.rest[Ie])>be)return{map:E.measure.maps[Ie],cache:E.measure.caches[Ie],before:!0}}function Mo(E,ee){ee=$n(ee);var be=hr(ee),ge=E.display.externalMeasured=new mi(E.doc,ee,be);ge.lineN=be;var Ie=ge.built=Ii(E,ge);return ge.text=Ie.pre,Oe(E.display.lineMeasure,Ie.pre),ge}function po(E,ee,be,ge){return Hi(E,ua(E,ee),be,ge)}function ga(E,ee){if(ee>=E.display.viewFrom&&ee<E.display.viewTo)return E.display.view[wo(E,ee)];var be=E.display.externalMeasured;if(be&&ee>=be.lineN&&ee<be.lineN+be.size)return be}function ua(E,ee){var be=hr(ee),ge=ga(E,be);ge&&!ge.text?ge=null:ge&&ge.changes&&(Cn(E,ge,be,Gi(E)),E.curOp.forceUpdate=!0),ge||(ge=Mo(E,ee));var Ie=Va(ge,ee,be);return{line:ee,view:ge,rect:null,map:Ie.map,cache:Ie.cache,before:Ie.before,hasHeights:!1}}function Hi(E,ee,be,ge,Ie){ee.before&&(be=-1);var $e=be+(ge||""),pt;return ee.cache.hasOwnProperty($e)?pt=ee.cache[$e]:(ee.rect||(ee.rect=ee.view.text.getBoundingClientRect()),ee.hasHeights||(Oa(E,ee.view,ee.rect),ee.hasHeights=!0),pt=Ri(E,ee,be,ge),pt.bogus||(ee.cache[$e]=pt)),{left:pt.left,right:pt.right,top:Ie?pt.rtop:pt.top,bottom:Ie?pt.rbottom:pt.bottom}}var mo={left:0,right:0,top:0,bottom:0};function zo(E,ee,be){for(var ge,Ie,$e,pt,Ct,Ot,Pt=0;Pt<E.length;Pt+=3)if(Ct=E[Pt],Ot=E[Pt+1],ee<Ct?(Ie=0,$e=1,pt="left"):ee<Ot?(Ie=ee-Ct,$e=Ie+1):(Pt==E.length-3||ee==Ot&&E[Pt+3]>ee)&&($e=Ot-Ct,Ie=$e-1,ee>=Ot&&(pt="right")),Ie!=null){if(ge=E[Pt+2],Ct==Ot&&be==(ge.insertLeft?"left":"right")&&(pt=be),be=="left"&&Ie==0)for(;Pt&&E[Pt-2]==E[Pt-3]&&E[Pt-1].insertLeft;)ge=E[(Pt-=3)+2],pt="left";if(be=="right"&&Ie==Ot-Ct)for(;Pt<E.length-3&&E[Pt+3]==E[Pt+4]&&!E[Pt+5].insertLeft;)ge=E[(Pt+=3)+2],pt="right";break}return{node:ge,start:Ie,end:$e,collapse:pt,coverStart:Ct,coverEnd:Ot}}function so(E,ee){var be=mo;if(ee=="left")for(var ge=0;ge<E.length&&(be=E[ge]).left==be.right;ge++);else for(var Ie=E.length-1;Ie>=0&&(be=E[Ie]).left==be.right;Ie--);return be}function Ri(E,ee,be,ge){var Ie=zo(ee.map,be,ge),$e=Ie.node,pt=Ie.start,Ct=Ie.end,Ot=Ie.collapse,Pt;if($e.nodeType==3){for(var tr=0;tr<4;tr++){for(;pt&&Ke(ee.line.text.charAt(Ie.coverStart+pt));)--pt;for(;Ie.coverStart+Ct<Ie.coverEnd&&Ke(ee.line.text.charAt(Ie.coverStart+Ct));)++Ct;if(ve&&re<9&&pt==0&&Ct==Ie.coverEnd-Ie.coverStart?Pt=$e.parentNode.getBoundingClientRect():Pt=so(je($e,pt,Ct).getClientRects(),ge),Pt.left||Pt.right||pt==0)break;Ct=pt,pt=pt-1,Ot="right"}ve&&re<11&&(Pt=Bi(E.display.measure,Pt))}else{pt>0&&(Ot=ge="right");var ur;E.options.lineWrapping&&(ur=$e.getClientRects()).length>1?Pt=ur[ge=="right"?ur.length-1:0]:Pt=$e.getBoundingClientRect()}if(ve&&re<9&&!pt&&(!Pt||!Pt.left&&!Pt.right)){var Lr=$e.parentNode.getClientRects()[0];Lr?Pt={left:Lr.left,right:Lr.left+Zi(E.display),top:Lr.top,bottom:Lr.bottom}:Pt=mo}for(var kr=Pt.top-ee.rect.top,rn=Pt.bottom-ee.rect.top,Mn=(kr+rn)/2,Kn=ee.view.measure.heights,Qn=0;Qn<Kn.length-1&&!(Mn<Kn[Qn]);Qn++);var ri=Qn?Kn[Qn-1]:0,Jn=Kn[Qn],ii={left:(Ot=="right"?Pt.right:Pt.left)-ee.rect.left,right:(Ot=="left"?Pt.left:Pt.right)-ee.rect.left,top:ri,bottom:Jn};return!Pt.left&&!Pt.right&&(ii.bogus=!0),E.options.singleCursorHeightPerLine||(ii.rtop=kr,ii.rbottom=rn),ii}function Bi(E,ee){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!ar(E))return ee;var be=screen.logicalXDPI/screen.deviceXDPI,ge=screen.logicalYDPI/screen.deviceYDPI;return{left:ee.left*be,right:ee.right*be,top:ee.top*ge,bottom:ee.bottom*ge}}function Qi(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 Ra(E){E.display.externalMeasure=null,Me(E.display.lineMeasure);for(var ee=0;ee<E.display.view.length;ee++)Qi(E.display.view[ee])}function na(E){Ra(E),E.display.cachedCharWidth=E.display.cachedTextHeight=E.display.cachedPaddingH=null,E.options.lineWrapping||(E.display.maxLineChanged=!0),E.display.lineNumChars=null}function Ha(){return oe&&de?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Ga(){return oe&&de?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function lo(E){var ee=0;if(E.widgets)for(var be=0;be<E.widgets.length;++be)E.widgets[be].above&&(ee+=Fi(E.widgets[be]));return ee}function Wa(E,ee,be,ge,Ie){if(!Ie){var $e=lo(ee);be.top+=$e,be.bottom+=$e}if(ge=="line")return be;ge||(ge="local");var pt=En(ee);if(ge=="local"?pt+=Ea(E.display):pt-=E.display.viewOffset,ge=="page"||ge=="window"){var Ct=E.display.lineSpace.getBoundingClientRect();pt+=Ct.top+(ge=="window"?0:Ga());var Ot=Ct.left+(ge=="window"?0:Ha());be.left+=Ot,be.right+=Ot}return be.top+=pt,be.bottom+=pt,be}function go(E,ee,be){if(be=="div")return ee;var ge=ee.left,Ie=ee.top;if(be=="page")ge-=Ha(),Ie-=Ga();else if(be=="local"||!be){var $e=E.display.sizer.getBoundingClientRect();ge+=$e.left,Ie+=$e.top}var pt=E.display.lineSpace.getBoundingClientRect();return{left:ge-pt.left,top:Ie-pt.top}}function vo(E,ee,be,ge,Ie){return ge||(ge=zt(E.doc,ee.line)),Wa(E,ge,po(E,ge,ee.ch,Ie),be)}function Na(E,ee,be,ge,Ie,$e){ge=ge||zt(E.doc,ee.line),Ie||(Ie=ua(E,ge));function pt(rn,Mn){var Kn=Hi(E,Ie,rn,Mn?"right":"left",$e);return Mn?Kn.left=Kn.right:Kn.right=Kn.left,Wa(E,ge,Kn,be)}var Ct=Vt(ge,E.doc.direction),Ot=ee.ch,Pt=ee.sticky;if(Ot>=ge.text.length?(Ot=ge.text.length,Pt="before"):Ot<=0&&(Ot=0,Pt="after"),!Ct)return pt(Pt=="before"?Ot-1:Ot,Pt=="before");function tr(rn,Mn,Kn){var Qn=Ct[Mn],ri=Qn.level==1;return pt(Kn?rn-1:rn,ri!=Kn)}var ur=gt(Ct,Ot,Pt),Lr=bt,kr=tr(Ot,ur,Pt=="before");return Lr!=null&&(kr.other=tr(Ot,Lr,Pt!="before")),kr}function xl(E,ee){var be=0;ee=Qt(E.doc,ee),E.options.lineWrapping||(be=Zi(E.display)*ee.ch);var ge=zt(E.doc,ee.line),Ie=En(ge)+Ea(E.display);return{left:be,right:be,top:Ie,bottom:Ie+ge.height}}function Yo(E,ee,be,ge,Ie){var $e=qt(E,ee,be);return $e.xRel=Ie,ge&&($e.outside=ge),$e}function Qs(E,ee,be){var ge=E.doc;if(be+=E.display.viewOffset,be<0)return Yo(ge.first,0,null,-1,-1);var Ie=Cr(ge,be),$e=ge.first+ge.size-1;if(Ie>$e)return Yo(ge.first+ge.size-1,zt(ge,$e).text.length,null,1,1);ee<0&&(ee=0);for(var pt=zt(ge,Ie);;){var Ct=Mc(E,pt,Ie,ee,be),Ot=kn(pt,Ct.ch+(Ct.xRel>0||Ct.outside>0?1:0));if(!Ot)return Ct;var Pt=Ot.find(1);if(Pt.line==Ie)return Pt;pt=zt(ge,Ie=Pt.line)}}function Hl(E,ee,be,ge){ge-=lo(ee);var Ie=ee.text.length,$e=Je(function(pt){return Hi(E,be,pt-1).bottom<=ge},Ie,0);return Ie=Je(function(pt){return Hi(E,be,pt).top>ge},$e,Ie),{begin:$e,end:Ie}}function Wl(E,ee,be,ge){be||(be=ua(E,ee));var Ie=Wa(E,ee,Hi(E,be,ge),"line").top;return Hl(E,ee,be,Ie)}function Cs(E,ee,be,ge){return E.bottom<=be?!1:E.top>be?!0:(ge?E.left:E.right)>ee}function Mc(E,ee,be,ge,Ie){Ie-=En(ee);var $e=ua(E,ee),pt=lo(ee),Ct=0,Ot=ee.text.length,Pt=!0,tr=Vt(ee,E.doc.direction);if(tr){var ur=(E.options.lineWrapping?wl:as)(E,ee,be,$e,tr,ge,Ie);Pt=ur.level!=1,Ct=Pt?ur.from:ur.to-1,Ot=Pt?ur.to:ur.from-1}var Lr=null,kr=null,rn=Je(function(pi){var bi=Hi(E,$e,pi);return bi.top+=pt,bi.bottom+=pt,Cs(bi,ge,Ie,!1)?(bi.top<=Ie&&bi.left<=ge&&(Lr=pi,kr=bi),!0):!1},Ct,Ot),Mn,Kn,Qn=!1;if(kr){var ri=ge-kr.left<kr.right-ge,Jn=ri==Pt;rn=Lr+(Jn?0:1),Kn=Jn?"after":"before",Mn=ri?kr.left:kr.right}else{!Pt&&(rn==Ot||rn==Ct)&&rn++,Kn=rn==0?"after":rn==ee.text.length?"before":Hi(E,$e,rn-(Pt?1:0)).bottom+pt<=Ie==Pt?"after":"before";var ii=Na(E,qt(be,rn,Kn),"line",ee,$e);Mn=ii.left,Qn=Ie<ii.top?-1:Ie>=ii.bottom?1:0}return rn=Xe(ee.text,rn,1),Yo(be,rn,Kn,Qn,ge-Mn)}function as(E,ee,be,ge,Ie,$e,pt){var Ct=Je(function(ur){var Lr=Ie[ur],kr=Lr.level!=1;return Cs(Na(E,qt(be,kr?Lr.to:Lr.from,kr?"before":"after"),"line",ee,ge),$e,pt,!0)},0,Ie.length-1),Ot=Ie[Ct];if(Ct>0){var Pt=Ot.level!=1,tr=Na(E,qt(be,Pt?Ot.from:Ot.to,Pt?"after":"before"),"line",ee,ge);Cs(tr,$e,pt,!0)&&tr.top>pt&&(Ot=Ie[Ct-1])}return Ot}function wl(E,ee,be,ge,Ie,$e,pt){var Ct=Hl(E,ee,ge,pt),Ot=Ct.begin,Pt=Ct.end;/\s/.test(ee.text.charAt(Pt-1))&&Pt--;for(var tr=null,ur=null,Lr=0;Lr<Ie.length;Lr++){var kr=Ie[Lr];if(!(kr.from>=Pt||kr.to<=Ot)){var rn=kr.level!=1,Mn=Hi(E,ge,rn?Math.min(Pt,kr.to)-1:Math.max(Ot,kr.from)).right,Kn=Mn<$e?$e-Mn+1e9:Mn-$e;(!tr||ur>Kn)&&(tr=kr,ur=Kn)}}return tr||(tr=Ie[Ie.length-1]),tr.from<Ot&&(tr={from:Ot,to:tr.to,level:tr.level}),tr.to>Pt&&(tr={from:tr.from,to:Pt,level:tr.level}),tr}var Jo;function os(E){if(E.cachedTextHeight!=null)return E.cachedTextHeight;if(Jo==null){Jo=Ce("pre",null,"CodeMirror-line-like");for(var ee=0;ee<49;++ee)Jo.appendChild(document.createTextNode("x")),Jo.appendChild(Ce("br"));Jo.appendChild(document.createTextNode("x"))}Oe(E.measure,Jo);var be=Jo.offsetHeight/50;return be>3&&(E.cachedTextHeight=be),Me(E.measure),be||1}function Zi(E){if(E.cachedCharWidth!=null)return E.cachedCharWidth;var ee=Ce("span","xxxxxxxxxx"),be=Ce("pre",[ee],"CodeMirror-line-like");Oe(E.measure,be);var ge=ee.getBoundingClientRect(),Ie=(ge.right-ge.left)/10;return Ie>2&&(E.cachedCharWidth=Ie),Ie||10}function Gi(E){for(var ee=E.display,be={},ge={},Ie=ee.gutters.clientLeft,$e=ee.gutters.firstChild,pt=0;$e;$e=$e.nextSibling,++pt){var Ct=E.display.gutterSpecs[pt].className;be[Ct]=$e.offsetLeft+$e.clientLeft+Ie,ge[Ct]=$e.clientWidth}return{fixedPos:qi(ee),gutterTotalWidth:ee.gutters.offsetWidth,gutterLeft:be,gutterWidth:ge,wrapperWidth:ee.wrapper.clientWidth}}function qi(E){return E.scroller.getBoundingClientRect().left-E.sizer.getBoundingClientRect().left}function no(E){var ee=os(E.display),be=E.options.lineWrapping,ge=be&&Math.max(5,E.display.scroller.clientWidth/Zi(E.display)-3);return function(Ie){if(Oi(E.doc,Ie))return 0;var $e=0;if(Ie.widgets)for(var pt=0;pt<Ie.widgets.length;pt++)Ie.widgets[pt].height&&($e+=Ie.widgets[pt].height);return be?$e+(Math.ceil(Ie.text.length/ge)||1)*ee:$e+ee}}function _a(E){var ee=E.doc,be=no(E);ee.iter(function(ge){var Ie=be(ge);Ie!=ge.height&&er(ge,Ie)})}function ko(E,ee,be,ge){var Ie=E.display;if(!be&&Vr(ee).getAttribute("cm-not-content")=="true")return null;var $e,pt,Ct=Ie.lineSpace.getBoundingClientRect();try{$e=ee.clientX-Ct.left,pt=ee.clientY-Ct.top}catch(ur){return null}var Ot=Qs(E,$e,pt),Pt;if(ge&&Ot.xRel>0&&(Pt=zt(E.doc,Ot.line).text).length==Ot.ch){var tr=Ve(Pt,Pt.length,E.options.tabSize)-Pt.length;Ot=qt(Ot.line,Math.max(0,Math.round(($e-Za(E.display).left)/Zi(E.display))-tr))}return Ot}function wo(E,ee){if(ee>=E.display.viewTo||(ee-=E.display.viewFrom,ee<0))return null;for(var be=E.display.view,ge=0;ge<be.length;ge++)if(ee-=be[ge].size,ee<0)return ge}function Xa(E,ee,be,ge){ee==null&&(ee=E.doc.first),be==null&&(be=E.doc.first+E.doc.size),ge||(ge=0);var Ie=E.display;if(ge&&be<Ie.viewTo&&(Ie.updateLineNumbers==null||Ie.updateLineNumbers>ee)&&(Ie.updateLineNumbers=ee),E.curOp.viewChanged=!0,ee>=Ie.viewTo)mn&&gi(E.doc,ee)<Ie.viewTo&&Ro(E);else if(be<=Ie.viewFrom)mn&&di(E.doc,be+ge)>Ie.viewFrom?Ro(E):(Ie.viewFrom+=ge,Ie.viewTo+=ge);else if(ee<=Ie.viewFrom&&be>=Ie.viewTo)Ro(E);else if(ee<=Ie.viewFrom){var $e=To(E,be,be+ge,1);$e?(Ie.view=Ie.view.slice($e.index),Ie.viewFrom=$e.lineN,Ie.viewTo+=ge):Ro(E)}else if(be>=Ie.viewTo){var pt=To(E,ee,ee,-1);pt?(Ie.view=Ie.view.slice(0,pt.index),Ie.viewTo=pt.lineN):Ro(E)}else{var Ct=To(E,ee,ee,-1),Ot=To(E,be,be+ge,1);Ct&&Ot?(Ie.view=Ie.view.slice(0,Ct.index).concat(ki(E,Ct.lineN,Ot.lineN)).concat(Ie.view.slice(Ot.index)),Ie.viewTo+=ge):Ro(E)}var Pt=Ie.externalMeasured;Pt&&(be<Pt.lineN?Pt.lineN+=ge:ee<Pt.lineN+Pt.size&&(Ie.externalMeasured=null))}function Po(E,ee,be){E.curOp.viewChanged=!0;var ge=E.display,Ie=E.display.externalMeasured;if(Ie&&ee>=Ie.lineN&&ee<Ie.lineN+Ie.size&&(ge.externalMeasured=null),!(ee<ge.viewFrom||ee>=ge.viewTo)){var $e=ge.view[wo(E,ee)];if($e.node!=null){var pt=$e.changes||($e.changes=[]);nt(pt,be)==-1&&pt.push(be)}}}function Ro(E){E.display.viewFrom=E.display.viewTo=E.doc.first,E.display.view=[],E.display.viewOffset=0}function To(E,ee,be,ge){var Ie=wo(E,ee),$e,pt=E.display.view;if(!mn||be==E.doc.first+E.doc.size)return{index:Ie,lineN:be};for(var Ct=E.display.viewFrom,Ot=0;Ot<Ie;Ot++)Ct+=pt[Ot].size;if(Ct!=ee){if(ge>0){if(Ie==pt.length-1)return null;$e=Ct+pt[Ie].size-ee,Ie++}else $e=Ct-ee;ee+=$e,be+=$e}for(;gi(E.doc,be)!=be;){if(Ie==(ge<0?0:pt.length-1))return null;be+=ge*pt[Ie-(ge<0?1:0)].size,Ie+=ge}return{index:Ie,lineN:be}}function ss(E,ee,be){var ge=E.display,Ie=ge.view;Ie.length==0||ee>=ge.viewTo||be<=ge.viewFrom?(ge.view=ki(E,ee,be),ge.viewFrom=ee):(ge.viewFrom>ee?ge.view=ki(E,ee,ge.viewFrom).concat(ge.view):ge.viewFrom<ee&&(ge.view=ge.view.slice(wo(E,ee))),ge.viewFrom=ee,ge.viewTo<be?ge.view=ge.view.concat(ki(E,ge.viewTo,be)):ge.viewTo>be&&(ge.view=ge.view.slice(0,wo(E,be)))),ge.viewTo=be}function Ul(E){for(var ee=E.display.view,be=0,ge=0;ge<ee.length;ge++){var Ie=ee[ge];!Ie.hidden&&(!Ie.node||Ie.changes)&&++be}return be}function Sl(E){E.display.input.showSelection(E.display.input.prepareSelection())}function Mu(E,ee){ee===void 0&&(ee=!0);for(var be=E.doc,ge={},Ie=ge.cursors=document.createDocumentFragment(),$e=ge.selection=document.createDocumentFragment(),pt=0;pt<be.sel.ranges.length;pt++)if(!(!ee&&pt==be.sel.primIndex)){var Ct=be.sel.ranges[pt];if(!(Ct.from().line>=E.display.viewTo||Ct.to().line<E.display.viewFrom)){var Ot=Ct.empty();(Ot||E.options.showCursorWhenSelecting)&&ku(E,Ct.head,Ie),Ot||Nd(E,Ct,$e)}}return ge}function ku(E,ee,be){var ge=Na(E,ee,"div",null,null,!E.options.singleCursorHeightPerLine),Ie=be.appendChild(Ce("div","\xA0","CodeMirror-cursor"));if(Ie.style.left=ge.left+"px",Ie.style.top=ge.top+"px",Ie.style.height=Math.max(0,ge.bottom-ge.top)*E.options.cursorHeight+"px",ge.other){var $e=be.appendChild(Ce("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));$e.style.display="",$e.style.left=ge.other.left+"px",$e.style.top=ge.other.top+"px",$e.style.height=(ge.other.bottom-ge.other.top)*.85+"px"}}function Zl(E,ee){return E.top-ee.top||E.left-ee.left}function Nd(E,ee,be){var ge=E.display,Ie=E.doc,$e=document.createDocumentFragment(),pt=Za(E.display),Ct=pt.left,Ot=Math.max(ge.sizerWidth,ca(E)-ge.sizer.offsetLeft)-pt.right,Pt=Ie.direction=="ltr";function tr(Jn,ii,pi,bi){ii<0&&(ii=0),ii=Math.round(ii),bi=Math.round(bi),$e.appendChild(Ce("div",null,"CodeMirror-selected","position: absolute; left: "+Jn+`px;
top: `+ii+"px; width: "+(pi==null?Ot-Jn:pi)+`px;
height: `+(bi-ii)+"px"))}function ur(Jn,ii,pi){var bi=zt(Ie,Jn),_i=bi.text.length,oa,Ua;function ya(La,xo){return vo(E,qt(Jn,La),"div",bi,xo)}function yo(La,xo,Ti){var wa=Wl(E,bi,null,La),ba=xo=="ltr"==(Ti=="after")?"left":"right",Sa=Ti=="after"?wa.begin:wa.end-(/\s/.test(bi.text.charAt(wa.end-1))?2:1);return ya(Sa,ba)[ba]}var bo=Vt(bi,Ie.direction);return ut(bo,ii||0,pi==null?_i:pi,function(La,xo,Ti,wa){var ba=Ti=="ltr",Sa=ya(La,ba?"left":"right"),Ma=ya(xo-1,ba?"right":"left"),pl=ii==null&&La==0,Eo=pi==null&&xo==_i,$a=wa==0,Xi=!bo||wa==bo.length-1;if(Ma.top-Sa.top<=3){var za=(Pt?pl:Eo)&&$a,ou=(Pt?Eo:pl)&&Xi,xs=za?Ct:(ba?Sa:Ma).left,js=ou?Ot:(ba?Ma:Sa).right;tr(xs,Sa.top,js-xs,Sa.bottom)}else{var es,Pa,ml,qa;ba?(es=Pt&&pl&&$a?Ct:Sa.left,Pa=Pt?Ot:yo(La,Ti,"before"),ml=Pt?Ct:yo(xo,Ti,"after"),qa=Pt&&Eo&&Xi?Ot:Ma.right):(es=Pt?yo(La,Ti,"before"):Ct,Pa=!Pt&&pl&&$a?Ot:Sa.right,ml=!Pt&&Eo&&Xi?Ct:Ma.left,qa=Pt?yo(xo,Ti,"after"):Ot),tr(es,Sa.top,Pa-es,Sa.bottom),Sa.bottom<Ma.top&&tr(Ct,Sa.bottom,null,Ma.top),tr(ml,Ma.top,qa-ml,Ma.bottom)}(!oa||Zl(Sa,oa)<0)&&(oa=Sa),Zl(Ma,oa)<0&&(oa=Ma),(!Ua||Zl(Sa,Ua)<0)&&(Ua=Sa),Zl(Ma,Ua)<0&&(Ua=Ma)}),{start:oa,end:Ua}}var Lr=ee.from(),kr=ee.to();if(Lr.line==kr.line)ur(Lr.line,Lr.ch,kr.ch);else{var rn=zt(Ie,Lr.line),Mn=zt(Ie,kr.line),Kn=$n(rn)==$n(Mn),Qn=ur(Lr.line,Lr.ch,Kn?rn.text.length+1:null).end,ri=ur(kr.line,Kn?0:null,kr.ch).start;Kn&&(Qn.top<ri.top-2?(tr(Qn.right,Qn.top,null,Qn.bottom),tr(Ct,ri.top,ri.left,ri.bottom)):tr(Qn.right,Qn.top,ri.left-Qn.right,Qn.bottom)),Qn.bottom<ri.top&&tr(Ct,Qn.bottom,null,ri.top)}be.appendChild($e)}function kc(E){if(E.state.focused){var ee=E.display;clearInterval(ee.blinker);var be=!0;ee.cursorDiv.style.visibility="",E.options.cursorBlinkRate>0?ee.blinker=setInterval(function(){E.hasFocus()||$s(E),ee.cursorDiv.style.visibility=(be=!be)?"":"hidden"},E.options.cursorBlinkRate):E.options.cursorBlinkRate<0&&(ee.cursorDiv.style.visibility="hidden")}}function Cl(E){E.state.focused||(E.display.input.focus(),Tc(E))}function Tu(E){E.state.delayingBlurEvent=!0,setTimeout(function(){E.state.delayingBlurEvent&&(E.state.delayingBlurEvent=!1,$s(E))},100)}function Tc(E,ee){E.state.delayingBlurEvent&&(E.state.delayingBlurEvent=!1),E.options.readOnly!="nocursor"&&(E.state.focused||(ft(E,"focus",E,ee),E.state.focused=!0,Ue(E.display.wrapper,"CodeMirror-focused"),!E.curOp&&E.display.selForContextMenu!=E.doc.sel&&(E.display.input.reset(),ne&&setTimeout(function(){return E.display.input.reset(!0)},20)),E.display.input.receivedFocus()),kc(E))}function $s(E,ee){E.state.delayingBlurEvent||(E.state.focused&&(ft(E,"blur",E,ee),E.state.focused=!1,_e(E.display.wrapper,"CodeMirror-focused")),clearInterval(E.display.blinker),setTimeout(function(){E.state.focused||(E.display.shift=!1)},150))}function Vl(E){for(var ee=E.display,be=ee.lineDiv.offsetTop,ge=0;ge<ee.view.length;ge++){var Ie=ee.view[ge],$e=E.options.lineWrapping,pt=void 0,Ct=0;if(!Ie.hidden){if(ve&&re<8){var Ot=Ie.node.offsetTop+Ie.node.offsetHeight;pt=Ot-be,be=Ot}else{var Pt=Ie.node.getBoundingClientRect();pt=Pt.bottom-Pt.top,!$e&&Ie.text.firstChild&&(Ct=Ie.text.firstChild.getBoundingClientRect().right-Pt.left-1)}var tr=Ie.line.height-pt;if((tr>.005||tr<-.005)&&(er(Ie.line,pt),Ou(Ie.line),Ie.rest))for(var ur=0;ur<Ie.rest.length;ur++)Ou(Ie.rest[ur]);if(Ct>E.display.sizerWidth){var Lr=Math.ceil(Ct/Zi(E.display));Lr>E.display.maxLineLength&&(E.display.maxLineLength=Lr,E.display.maxLine=Ie.line,E.display.maxLineChanged=!0)}}}}function Ou(E){if(E.widgets)for(var ee=0;ee<E.widgets.length;++ee){var be=E.widgets[ee],ge=be.node.parentNode;ge&&(be.height=ge.offsetHeight)}}function ja(E,ee,be){var ge=be&&be.top!=null?Math.max(0,be.top):E.scroller.scrollTop;ge=Math.floor(ge-Ea(E));var Ie=be&&be.bottom!=null?be.bottom:ge+E.wrapper.clientHeight,$e=Cr(ee,ge),pt=Cr(ee,Ie);if(be&&be.ensure){var Ct=be.ensure.from.line,Ot=be.ensure.to.line;Ct<$e?($e=Ct,pt=Cr(ee,En(zt(ee,Ct))+E.wrapper.clientHeight)):Math.min(Ot,ee.lastLine())>=pt&&($e=Cr(ee,En(zt(ee,Ot))-E.wrapper.clientHeight),pt=Ot)}return{from:$e,to:Math.max(pt,$e+1)}}function ls(E,ee){if(!St(E,"scrollCursorIntoView")){var be=E.display,ge=be.sizer.getBoundingClientRect(),Ie=null;if(ee.top+ge.top<0?Ie=!0:ee.bottom+ge.top>(window.innerHeight||document.documentElement.clientHeight)&&(Ie=!1),Ie!=null&&!ae){var $e=Ce("div","\u200B",null,`position: absolute;
top: `+(ee.top-be.viewOffset-Ea(E.display))+`px;
height: `+(ee.bottom-ee.top+ma(E)+be.barHeight)+`px;
left: `+ee.left+"px; width: "+Math.max(2,ee.right-ee.left)+"px;");E.display.lineSpace.appendChild($e),$e.scrollIntoView(Ie),E.display.lineSpace.removeChild($e)}}}function Es(E,ee,be,ge){ge==null&&(ge=0);var Ie;!E.options.lineWrapping&&ee==be&&(ee=ee.ch?qt(ee.line,ee.sticky=="before"?ee.ch-1:ee.ch,"after"):ee,be=ee.sticky=="before"?qt(ee.line,ee.ch+1,"before"):ee);for(var $e=0;$e<5;$e++){var pt=!1,Ct=Na(E,ee),Ot=!be||be==ee?Ct:Na(E,be);Ie={left:Math.min(Ct.left,Ot.left),top:Math.min(Ct.top,Ot.top)-ge,right:Math.max(Ct.left,Ot.left),bottom:Math.max(Ct.bottom,Ot.bottom)+ge};var Pt=Gl(E,Ie),tr=E.doc.scrollTop,ur=E.doc.scrollLeft;if(Pt.scrollTop!=null&&(As(E,Pt.scrollTop),Math.abs(E.doc.scrollTop-tr)>1&&(pt=!0)),Pt.scrollLeft!=null&&(Ms(E,Pt.scrollLeft),Math.abs(E.doc.scrollLeft-ur)>1&&(pt=!0)),!pt)break}return Ie}function _d(E,ee){var be=Gl(E,ee);be.scrollTop!=null&&As(E,be.scrollTop),be.scrollLeft!=null&&Ms(E,be.scrollLeft)}function Gl(E,ee){var be=E.display,ge=os(E.display);ee.top<0&&(ee.top=0);var Ie=E.curOp&&E.curOp.scrollTop!=null?E.curOp.scrollTop:be.scroller.scrollTop,$e=ho(E),pt={};ee.bottom-ee.top>$e&&(ee.bottom=ee.top+$e);var Ct=E.doc.height+Lo(be),Ot=ee.top<ge,Pt=ee.bottom>Ct-ge;if(ee.top<Ie)pt.scrollTop=Ot?0:ee.top;else if(ee.bottom>Ie+$e){var tr=Math.min(ee.top,(Pt?Ct:ee.bottom)-$e);tr!=Ie&&(pt.scrollTop=tr)}var ur=E.options.fixedGutter?0:be.gutters.offsetWidth,Lr=E.curOp&&E.curOp.scrollLeft!=null?E.curOp.scrollLeft:be.scroller.scrollLeft-ur,kr=ca(E)-be.gutters.offsetWidth,rn=ee.right-ee.left>kr;return rn&&(ee.right=ee.left+kr),ee.left<10?pt.scrollLeft=0:ee.left<Lr?pt.scrollLeft=Math.max(0,ee.left+ur-(rn?0:10)):ee.right>kr+Lr-3&&(pt.scrollLeft=ee.right+(rn?0:10)-kr),pt}function Oc(E,ee){ee!=null&&(Xl(E),E.curOp.scrollTop=(E.curOp.scrollTop==null?E.doc.scrollTop:E.curOp.scrollTop)+ee)}function el(E){Xl(E);var ee=E.getCursor();E.curOp.scrollToPos={from:ee,to:ee,margin:E.options.cursorScrollMargin}}function tl(E,ee,be){(ee!=null||be!=null)&&Xl(E),ee!=null&&(E.curOp.scrollLeft=ee),be!=null&&(E.curOp.scrollTop=be)}function jd(E,ee){Xl(E),E.curOp.scrollToPos=ee}function Xl(E){var ee=E.curOp.scrollToPos;if(ee){E.curOp.scrollToPos=null;var be=xl(E,ee.from),ge=xl(E,ee.to);Du(E,be,ge,ee.margin)}}function Du(E,ee,be,ge){var Ie=Gl(E,{left:Math.min(ee.left,be.left),top:Math.min(ee.top,be.top)-ge,right:Math.max(ee.right,be.right),bottom:Math.max(ee.bottom,be.bottom)+ge});tl(E,Ie.scrollLeft,Ie.scrollTop)}function As(E,ee){Math.abs(E.doc.scrollTop-ee)<2||(Re||Bc(E,{top:ee}),Iu(E,ee,!0),Re&&Bc(E),nl(E,100))}function Iu(E,ee,be){ee=Math.max(0,Math.min(E.display.scroller.scrollHeight-E.display.scroller.clientHeight,ee)),!(E.display.scroller.scrollTop==ee&&!be)&&(E.doc.scrollTop=ee,E.display.scrollbars.setScrollTop(ee),E.display.scroller.scrollTop!=ee&&(E.display.scroller.scrollTop=ee))}function Ms(E,ee,be,ge){ee=Math.max(0,Math.min(ee,E.display.scroller.scrollWidth-E.display.scroller.clientWidth)),!((be?ee==E.doc.scrollLeft:Math.abs(E.doc.scrollLeft-ee)<2)&&!ge)&&(E.doc.scrollLeft=ee,_u(E),E.display.scroller.scrollLeft!=ee&&(E.display.scroller.scrollLeft=ee),E.display.scrollbars.setScrollLeft(ee))}function rl(E){var ee=E.display,be=ee.gutters.offsetWidth,ge=Math.round(E.doc.height+Lo(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?be:0,docHeight:ge,scrollHeight:ge+ma(E)+ee.barHeight,nativeBarWidth:ee.nativeBarWidth,gutterWidth:be}}var cs=function(E,ee,be){this.cm=be;var ge=this.vert=Ce("div",[Ce("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Ie=this.horiz=Ce("div",[Ce("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ge.tabIndex=Ie.tabIndex=-1,E(ge),E(Ie),jt(ge,"scroll",function(){ge.clientHeight&&ee(ge.scrollTop,"vertical")}),jt(Ie,"scroll",function(){Ie.clientWidth&&ee(Ie.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ve&&re<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};cs.prototype.update=function(E){var ee=E.scrollWidth>E.clientWidth+1,be=E.scrollHeight>E.clientHeight+1,ge=E.nativeBarWidth;if(be){this.vert.style.display="block",this.vert.style.bottom=ee?ge+"px":"0";var Ie=E.viewHeight-(ee?ge:0);this.vert.firstChild.style.height=Math.max(0,E.scrollHeight-E.clientHeight+Ie)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(ee){this.horiz.style.display="block",this.horiz.style.right=be?ge+"px":"0",this.horiz.style.left=E.barLeft+"px";var $e=E.viewWidth-E.barLeft-(be?ge:0);this.horiz.firstChild.style.width=Math.max(0,E.scrollWidth-E.clientWidth+$e)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&E.clientHeight>0&&(ge==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:be?ge:0,bottom:ee?ge:0}},cs.prototype.setScrollLeft=function(E){this.horiz.scrollLeft!=E&&(this.horiz.scrollLeft=E),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},cs.prototype.setScrollTop=function(E){this.vert.scrollTop!=E&&(this.vert.scrollTop=E),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},cs.prototype.zeroWidthHack=function(){var E=we&&!te?"12px":"18px";this.horiz.style.height=this.vert.style.width=E,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ye,this.disableVert=new Ye},cs.prototype.enableZeroWidthBar=function(E,ee,be){E.style.pointerEvents="auto";function ge(){var Ie=E.getBoundingClientRect(),$e=be=="vert"?document.elementFromPoint(Ie.right-1,(Ie.top+Ie.bottom)/2):document.elementFromPoint((Ie.right+Ie.left)/2,Ie.bottom-1);$e!=E?E.style.pointerEvents="none":ee.set(1e3,ge)}ee.set(1e3,ge)},cs.prototype.clear=function(){var E=this.horiz.parentNode;E.removeChild(this.horiz),E.removeChild(this.vert)};var So=function(){};So.prototype.update=function(){return{bottom:0,right:0}},So.prototype.setScrollLeft=function(){},So.prototype.setScrollTop=function(){},So.prototype.clear=function(){};function ks(E,ee){ee||(ee=rl(E));var be=E.display.barWidth,ge=E.display.barHeight;Dc(E,ee);for(var Ie=0;Ie<4&&be!=E.display.barWidth||ge!=E.display.barHeight;Ie++)be!=E.display.barWidth&&E.options.lineWrapping&&Vl(E),Dc(E,rl(E)),be=E.display.barWidth,ge=E.display.barHeight}function Dc(E,ee){var be=E.display,ge=be.scrollbars.update(ee);be.sizer.style.paddingRight=(be.barWidth=ge.right)+"px",be.sizer.style.paddingBottom=(be.barHeight=ge.bottom)+"px",be.heightForcer.style.borderBottom=ge.bottom+"px solid transparent",ge.right&&ge.bottom?(be.scrollbarFiller.style.display="block",be.scrollbarFiller.style.height=ge.bottom+"px",be.scrollbarFiller.style.width=ge.right+"px"):be.scrollbarFiller.style.display="",ge.bottom&&E.options.coverGutterNextToScrollbar&&E.options.fixedGutter?(be.gutterFiller.style.display="block",be.gutterFiller.style.height=ge.bottom+"px",be.gutterFiller.style.width=ee.gutterWidth+"px"):be.gutterFiller.style.display=""}var Bu={native:cs,null:So};function Lu(E){E.display.scrollbars&&(E.display.scrollbars.clear(),E.display.scrollbars.addClass&&_e(E.display.wrapper,E.display.scrollbars.addClass)),E.display.scrollbars=new Bu[E.options.scrollbarStyle](function(ee){E.display.wrapper.insertBefore(ee,E.display.scrollbarFiller),jt(ee,"mousedown",function(){E.state.focused&&setTimeout(function(){return E.display.input.focus()},0)}),ee.setAttribute("cm-not-content","true")},function(ee,be){be=="horizontal"?Ms(E,ee):As(E,ee)},E),E.display.scrollbars.addClass&&Ue(E.display.wrapper,E.display.scrollbars.addClass)}var Fd=0;function Ts(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:++Fd},br(E.curOp)}function us(E){var ee=E.curOp;ee&&jr(ee,function(be){for(var ge=0;ge<be.ops.length;ge++)be.ops[ge].cm.curOp=null;zd(be)})}function zd(E){for(var ee=E.ops,be=0;be<ee.length;be++)Kd(ee[be]);for(var ge=0;ge<ee.length;ge++)Hd(ee[ge]);for(var Ie=0;Ie<ee.length;Ie++)Wd(ee[Ie]);for(var $e=0;$e<ee.length;$e++)Ud(ee[$e]);for(var pt=0;pt<ee.length;pt++)Zd(ee[pt])}function Kd(E){var ee=E.cm,be=ee.display;Ru(ee),E.updateMaxLine&&an(ee),E.mustUpdate=E.viewChanged||E.forceUpdate||E.scrollTop!=null||E.scrollToPos&&(E.scrollToPos.from.line<be.viewFrom||E.scrollToPos.to.line>=be.viewTo)||be.maxLineChanged&&ee.options.lineWrapping,E.update=E.mustUpdate&&new Yl(ee,E.mustUpdate&&{top:E.scrollTop,ensure:E.scrollToPos},E.forceUpdate)}function Hd(E){E.updatedDisplay=E.mustUpdate&&Ic(E.cm,E.update)}function Wd(E){var ee=E.cm,be=ee.display;E.updatedDisplay&&Vl(ee),E.barMeasure=rl(ee),be.maxLineChanged&&!ee.options.lineWrapping&&(E.adjustWidthTo=po(ee,be.maxLine,be.maxLine.text.length).left+3,ee.display.sizerWidth=E.adjustWidthTo,E.barMeasure.scrollWidth=Math.max(be.scroller.clientWidth,be.sizer.offsetLeft+E.adjustWidthTo+ma(ee)+ee.display.barWidth),E.maxScrollLeft=Math.max(0,be.sizer.offsetLeft+E.adjustWidthTo-ca(ee))),(E.updatedDisplay||E.selectionChanged)&&(E.preparedSelection=be.input.prepareSelection())}function Ud(E){var ee=E.cm;E.adjustWidthTo!=null&&(ee.display.sizer.style.minWidth=E.adjustWidthTo+"px",E.maxScrollLeft<ee.doc.scrollLeft&&Ms(ee,Math.min(ee.display.scroller.scrollLeft,E.maxScrollLeft),!0),ee.display.maxLineChanged=!1);var be=E.focus&&E.focus==Pe();E.preparedSelection&&ee.display.input.showSelection(E.preparedSelection,be),(E.updatedDisplay||E.startHeight!=ee.doc.height)&&ks(ee,E.barMeasure),E.updatedDisplay&&Pc(ee,E.barMeasure),E.selectionChanged&&kc(ee),ee.state.focused&&E.updateInput&&ee.display.input.reset(E.typing),be&&Cl(E.cm)}function Zd(E){var ee=E.cm,be=ee.display,ge=ee.doc;if(E.updatedDisplay&&Nu(ee,E.update),be.wheelStartX!=null&&(E.scrollTop!=null||E.scrollLeft!=null||E.scrollToPos)&&(be.wheelStartX=be.wheelStartY=null),E.scrollTop!=null&&Iu(ee,E.scrollTop,E.forceScroll),E.scrollLeft!=null&&Ms(ee,E.scrollLeft,!0,!0),E.scrollToPos){var Ie=Es(ee,Qt(ge,E.scrollToPos.from),Qt(ge,E.scrollToPos.to),E.scrollToPos.margin);ls(ee,Ie)}var $e=E.maybeHiddenMarkers,pt=E.maybeUnhiddenMarkers;if($e)for(var Ct=0;Ct<$e.length;++Ct)$e[Ct].lines.length||ft($e[Ct],"hide");if(pt)for(var Ot=0;Ot<pt.length;++Ot)pt[Ot].lines.length&&ft(pt[Ot],"unhide");be.wrapper.offsetHeight&&(ge.scrollTop=ee.display.scroller.scrollTop),E.changeObjs&&ft(ee,"changes",ee,E.changeObjs),E.update&&E.update.finish()}function xa(E,ee){if(E.curOp)return ee();Ts(E);try{return ee()}finally{us(E)}}function Da(E,ee){return function(){if(E.curOp)return ee.apply(E,arguments);Ts(E);try{return ee.apply(E,arguments)}finally{us(E)}}}function va(E){return function(){if(this.curOp)return E.apply(this,arguments);Ts(this);try{return E.apply(this,arguments)}finally{us(this)}}}function Fa(E){return function(){var ee=this.cm;if(!ee||ee.curOp)return E.apply(this,arguments);Ts(ee);try{return E.apply(this,arguments)}finally{us(ee)}}}function nl(E,ee){E.doc.highlightFrontier<E.display.viewTo&&E.state.highlight.set(ee,ot(Pu,E))}function Pu(E){var ee=E.doc;if(!(ee.highlightFrontier>=E.display.viewTo)){var be=+new Date+E.options.workTime,ge=pr(E,ee.highlightFrontier),Ie=[];ee.iter(ge.line,Math.min(ee.first+ee.size,E.display.viewTo+500),function($e){if(ge.line>=E.display.viewFrom){var pt=$e.styles,Ct=$e.text.length>E.options.maxHighlightLength?xt(ee.mode,ge.state):null,Ot=dr(E,$e,ge,!0);Ct&&(ge.state=Ct),$e.styles=Ot.styles;var Pt=$e.styleClasses,tr=Ot.classes;tr?$e.styleClasses=tr:Pt&&($e.styleClasses=null);for(var ur=!pt||pt.length!=$e.styles.length||Pt!=tr&&(!Pt||!tr||Pt.bgClass!=tr.bgClass||Pt.textClass!=tr.textClass),Lr=0;!ur&&Lr<pt.length;++Lr)ur=pt[Lr]!=$e.styles[Lr];ur&&Ie.push(ge.line),$e.stateAfter=ge.save(),ge.nextLine()}else $e.text.length<=E.options.maxHighlightLength&&fr(E,$e.text,ge),$e.stateAfter=ge.line%5==0?ge.save():null,ge.nextLine();if(+new Date>be)return nl(E,E.options.workDelay),!0}),ee.highlightFrontier=ge.line,ee.modeFrontier=Math.max(ee.modeFrontier,ge.line),Ie.length&&xa(E,function(){for(var $e=0;$e<Ie.length;$e++)Po(E,Ie[$e],"text")})}}var Yl=function(E,ee,be){var ge=E.display;this.viewport=ee,this.visible=ja(ge,E.doc,ee),this.editorIsHidden=!ge.wrapper.offsetWidth,this.wrapperHeight=ge.wrapper.clientHeight,this.wrapperWidth=ge.wrapper.clientWidth,this.oldDisplayWidth=ca(E),this.force=be,this.dims=Gi(E),this.events=[]};Yl.prototype.signal=function(E,ee){Ft(E,ee)&&this.events.push(arguments)},Yl.prototype.finish=function(){for(var E=0;E<this.events.length;E++)ft.apply(null,this.events[E])};function Ru(E){var ee=E.display;!ee.scrollbarsClipped&&ee.scroller.offsetWidth&&(ee.nativeBarWidth=ee.scroller.offsetWidth-ee.scroller.clientWidth,ee.heightForcer.style.height=ma(E)+"px",ee.sizer.style.marginBottom=-ee.nativeBarWidth+"px",ee.sizer.style.borderRightWidth=ma(E)+"px",ee.scrollbarsClipped=!0)}function Vd(E){if(E.hasFocus())return null;var ee=Pe();if(!ee||!Ze(E.display.lineDiv,ee))return null;var be={activeElt:ee};if(window.getSelection){var ge=window.getSelection();ge.anchorNode&&ge.extend&&Ze(E.display.lineDiv,ge.anchorNode)&&(be.anchorNode=ge.anchorNode,be.anchorOffset=ge.anchorOffset,be.focusNode=ge.focusNode,be.focusOffset=ge.focusOffset)}return be}function Gd(E){if(!(!E||!E.activeElt||E.activeElt==Pe())&&(E.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(E.activeElt.nodeName)&&E.anchorNode&&Ze(document.body,E.anchorNode)&&Ze(document.body,E.focusNode))){var ee=window.getSelection(),be=document.createRange();be.setEnd(E.anchorNode,E.anchorOffset),be.collapse(!1),ee.removeAllRanges(),ee.addRange(be),ee.extend(E.focusNode,E.focusOffset)}}function Ic(E,ee){var be=E.display,ge=E.doc;if(ee.editorIsHidden)return Ro(E),!1;if(!ee.force&&ee.visible.from>=be.viewFrom&&ee.visible.to<=be.viewTo&&(be.updateLineNumbers==null||be.updateLineNumbers>=be.viewTo)&&be.renderedView==be.view&&Ul(E)==0)return!1;Jl(E)&&(Ro(E),ee.dims=Gi(E));var Ie=ge.first+ge.size,$e=Math.max(ee.visible.from-E.options.viewportMargin,ge.first),pt=Math.min(Ie,ee.visible.to+E.options.viewportMargin);be.viewFrom<$e&&$e-be.viewFrom<20&&($e=Math.max(ge.first,be.viewFrom)),be.viewTo>pt&&be.viewTo-pt<20&&(pt=Math.min(Ie,be.viewTo)),mn&&($e=gi(E.doc,$e),pt=di(E.doc,pt));var Ct=$e!=be.viewFrom||pt!=be.viewTo||be.lastWrapHeight!=ee.wrapperHeight||be.lastWrapWidth!=ee.wrapperWidth;ss(E,$e,pt),be.viewOffset=En(zt(E.doc,be.viewFrom)),E.display.mover.style.top=be.viewOffset+"px";var Ot=Ul(E);if(!Ct&&Ot==0&&!ee.force&&be.renderedView==be.view&&(be.updateLineNumbers==null||be.updateLineNumbers>=be.viewTo))return!1;var Pt=Vd(E);return Ot>4&&(be.lineDiv.style.display="none"),Xd(E,be.updateLineNumbers,ee.dims),Ot>4&&(be.lineDiv.style.display=""),be.renderedView=be.view,Gd(Pt),Me(be.cursorDiv),Me(be.selectionDiv),be.gutters.style.height=be.sizer.style.minHeight=0,Ct&&(be.lastWrapHeight=ee.wrapperHeight,be.lastWrapWidth=ee.wrapperWidth,nl(E,400)),be.updateLineNumbers=null,!0}function Nu(E,ee){for(var be=ee.viewport,ge=!0;;ge=!1){if(!ge||!E.options.lineWrapping||ee.oldDisplayWidth==ca(E)){if(be&&be.top!=null&&(be={top:Math.min(E.doc.height+Lo(E.display)-ho(E),be.top)}),ee.visible=ja(E.display,E.doc,be),ee.visible.from>=E.display.viewFrom&&ee.visible.to<=E.display.viewTo)break}else ge&&(ee.visible=ja(E.display,E.doc,be));if(!Ic(E,ee))break;Vl(E);var Ie=rl(E);Sl(E),ks(E,Ie),Pc(E,Ie),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 Bc(E,ee){var be=new Yl(E,ee);if(Ic(E,be)){Vl(E),Nu(E,be);var ge=rl(E);Sl(E),ks(E,ge),Pc(E,ge),be.finish()}}function Xd(E,ee,be){var ge=E.display,Ie=E.options.lineNumbers,$e=ge.lineDiv,pt=$e.firstChild;function Ct(rn){var Mn=rn.nextSibling;return ne&&we&&E.display.currentWheelTarget==rn?rn.style.display="none":rn.parentNode.removeChild(rn),Mn}for(var Ot=ge.view,Pt=ge.viewFrom,tr=0;tr<Ot.length;tr++){var ur=Ot[tr];if(!ur.hidden)if(!ur.node||ur.node.parentNode!=$e){var Lr=ti(E,ur,Pt,be);$e.insertBefore(Lr,pt)}else{for(;pt!=ur.node;)pt=Ct(pt);var kr=Ie&&ee!=null&&ee<=Pt&&ur.lineNumber;ur.changes&&(nt(ur.changes,"gutter")>-1&&(kr=!1),Cn(E,ur,Pt,be)),kr&&(Me(ur.lineNumber),ur.lineNumber.appendChild(document.createTextNode(Ir(E.options,Pt)))),pt=ur.node.nextSibling}Pt+=ur.size}for(;pt;)pt=Ct(pt)}function Lc(E){var ee=E.gutters.offsetWidth;E.sizer.style.marginLeft=ee+"px"}function Pc(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+ma(E)+"px"}function _u(E){var ee=E.display,be=ee.view;if(!(!ee.alignWidgets&&(!ee.gutters.firstChild||!E.options.fixedGutter))){for(var ge=qi(ee)-ee.scroller.scrollLeft+E.doc.scrollLeft,Ie=ee.gutters.offsetWidth,$e=ge+"px",pt=0;pt<be.length;pt++)if(!be[pt].hidden){E.options.fixedGutter&&(be[pt].gutter&&(be[pt].gutter.style.left=$e),be[pt].gutterBackground&&(be[pt].gutterBackground.style.left=$e));var Ct=be[pt].alignable;if(Ct)for(var Ot=0;Ot<Ct.length;Ot++)Ct[Ot].style.left=$e}E.options.fixedGutter&&(ee.gutters.style.left=ge+Ie+"px")}}function Jl(E){if(!E.options.lineNumbers)return!1;var ee=E.doc,be=Ir(E.options,ee.first+ee.size-1),ge=E.display;if(be.length!=ge.lineNumChars){var Ie=ge.measure.appendChild(Ce("div",[Ce("div",be)],"CodeMirror-linenumber CodeMirror-gutter-elt")),$e=Ie.firstChild.offsetWidth,pt=Ie.offsetWidth-$e;return ge.lineGutter.style.width="",ge.lineNumInnerWidth=Math.max($e,ge.lineGutter.offsetWidth-pt)+1,ge.lineNumWidth=ge.lineNumInnerWidth+pt,ge.lineNumChars=ge.lineNumInnerWidth?be.length:-1,ge.lineGutter.style.width=ge.lineNumWidth+"px",Lc(E.display),!0}return!1}function Rc(E,ee){for(var be=[],ge=!1,Ie=0;Ie<E.length;Ie++){var $e=E[Ie],pt=null;if(typeof $e!="string"&&(pt=$e.style,$e=$e.className),$e=="CodeMirror-linenumbers")if(ee)ge=!0;else continue;be.push({className:$e,style:pt})}return ee&&!ge&&be.push({className:"CodeMirror-linenumbers",style:null}),be}function ju(E){var ee=E.gutters,be=E.gutterSpecs;Me(ee),E.lineGutter=null;for(var ge=0;ge<be.length;++ge){var Ie=be[ge],$e=Ie.className,pt=Ie.style,Ct=ee.appendChild(Ce("div",null,"CodeMirror-gutter "+$e));pt&&(Ct.style.cssText=pt),$e=="CodeMirror-linenumbers"&&(E.lineGutter=Ct,Ct.style.width=(E.lineNumWidth||1)+"px")}ee.style.display=be.length?"":"none",Lc(E)}function El(E){ju(E.display),Xa(E),_u(E)}function Yd(E,ee,be,ge){var Ie=this;this.input=be,Ie.scrollbarFiller=Ce("div",null,"CodeMirror-scrollbar-filler"),Ie.scrollbarFiller.setAttribute("cm-not-content","true"),Ie.gutterFiller=Ce("div",null,"CodeMirror-gutter-filler"),Ie.gutterFiller.setAttribute("cm-not-content","true"),Ie.lineDiv=Ne("div",null,"CodeMirror-code"),Ie.selectionDiv=Ce("div",null,null,"position: relative; z-index: 1"),Ie.cursorDiv=Ce("div",null,"CodeMirror-cursors"),Ie.measure=Ce("div",null,"CodeMirror-measure"),Ie.lineMeasure=Ce("div",null,"CodeMirror-measure"),Ie.lineSpace=Ne("div",[Ie.measure,Ie.lineMeasure,Ie.selectionDiv,Ie.cursorDiv,Ie.lineDiv],null,"position: relative; outline: none");var $e=Ne("div",[Ie.lineSpace],"CodeMirror-lines");Ie.mover=Ce("div",[$e],null,"position: relative"),Ie.sizer=Ce("div",[Ie.mover],"CodeMirror-sizer"),Ie.sizerWidth=null,Ie.heightForcer=Ce("div",null,null,"position: absolute; height: "+dt+"px; width: 1px;"),Ie.gutters=Ce("div",null,"CodeMirror-gutters"),Ie.lineGutter=null,Ie.scroller=Ce("div",[Ie.sizer,Ie.heightForcer,Ie.gutters],"CodeMirror-scroll"),Ie.scroller.setAttribute("tabIndex","-1"),Ie.wrapper=Ce("div",[Ie.scrollbarFiller,Ie.gutterFiller,Ie.scroller],"CodeMirror"),ve&&re<8&&(Ie.gutters.style.zIndex=-1,Ie.scroller.style.paddingRight=0),!ne&&!(Re&&he)&&(Ie.scroller.draggable=!0),E&&(E.appendChild?E.appendChild(Ie.wrapper):E(Ie.wrapper)),Ie.viewFrom=Ie.viewTo=ee.first,Ie.reportedViewFrom=Ie.reportedViewTo=ee.first,Ie.view=[],Ie.renderedView=null,Ie.externalMeasured=null,Ie.viewOffset=0,Ie.lastWrapHeight=Ie.lastWrapWidth=0,Ie.updateLineNumbers=null,Ie.nativeBarWidth=Ie.barHeight=Ie.barWidth=0,Ie.scrollbarsClipped=!1,Ie.lineNumWidth=Ie.lineNumInnerWidth=Ie.lineNumChars=null,Ie.alignWidgets=!1,Ie.cachedCharWidth=Ie.cachedTextHeight=Ie.cachedPaddingH=null,Ie.maxLine=null,Ie.maxLineLength=0,Ie.maxLineChanged=!1,Ie.wheelDX=Ie.wheelDY=Ie.wheelStartX=Ie.wheelStartY=null,Ie.shift=!1,Ie.selForContextMenu=null,Ie.activeTouch=null,Ie.gutterSpecs=Rc(ge.gutters,ge.lineNumbers),ju(Ie),be.init(Ie)}var Ql=0,Ya=null;ve?Ya=-.53:Re?Ya=15:oe?Ya=-.7:me&&(Ya=-1/3);function il(E){var ee=E.wheelDeltaX,be=E.wheelDeltaY;return ee==null&&E.detail&&E.axis==E.HORIZONTAL_AXIS&&(ee=E.detail),be==null&&E.detail&&E.axis==E.VERTICAL_AXIS?be=E.detail:be==null&&(be=E.wheelDelta),{x:ee,y:be}}function Fu(E){var ee=il(E);return ee.x*=Ya,ee.y*=Ya,ee}function zu(E,ee){var be=il(ee),ge=be.x,Ie=be.y,$e=E.display,pt=$e.scroller,Ct=pt.scrollWidth>pt.clientWidth,Ot=pt.scrollHeight>pt.clientHeight;if(ge&&Ct||Ie&&Ot){if(Ie&&we&&ne){e:for(var Pt=ee.target,tr=$e.view;Pt!=pt;Pt=Pt.parentNode)for(var ur=0;ur<tr.length;ur++)if(tr[ur].node==Pt){E.display.currentWheelTarget=Pt;break e}}if(ge&&!Re&&!le&&Ya!=null){Ie&&Ot&&As(E,Math.max(0,pt.scrollTop+Ie*Ya)),Ms(E,Math.max(0,pt.scrollLeft+ge*Ya)),(!Ie||Ie&&Ot)&&or(ee),$e.wheelStartX=null;return}if(Ie&&Ya!=null){var Lr=Ie*Ya,kr=E.doc.scrollTop,rn=kr+$e.wrapper.clientHeight;Lr<0?kr=Math.max(0,kr+Lr-50):rn=Math.min(E.doc.height,rn+Lr+50),Bc(E,{top:kr,bottom:rn})}Ql<20&&($e.wheelStartX==null?($e.wheelStartX=pt.scrollLeft,$e.wheelStartY=pt.scrollTop,$e.wheelDX=ge,$e.wheelDY=Ie,setTimeout(function(){if($e.wheelStartX!=null){var Mn=pt.scrollLeft-$e.wheelStartX,Kn=pt.scrollTop-$e.wheelStartY,Qn=Kn&&$e.wheelDY&&Kn/$e.wheelDY||Mn&&$e.wheelDX&&Mn/$e.wheelDX;$e.wheelStartX=$e.wheelStartY=null,Qn&&(Ya=(Ya*Ql+Qn)/(Ql+1),++Ql)}},200)):($e.wheelDX+=ge,$e.wheelDY+=Ie))}}var Co=function(E,ee){this.ranges=E,this.primIndex=ee};Co.prototype.primary=function(){return this.ranges[this.primIndex]},Co.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 be=this.ranges[ee],ge=E.ranges[ee];if(!Ht(be.anchor,ge.anchor)||!Ht(be.head,ge.head))return!1}return!0},Co.prototype.deepCopy=function(){for(var E=[],ee=0;ee<this.ranges.length;ee++)E[ee]=new Ji(Yt(this.ranges[ee].anchor),Yt(this.ranges[ee].head));return new Co(E,this.primIndex)},Co.prototype.somethingSelected=function(){for(var E=0;E<this.ranges.length;E++)if(!this.ranges[E].empty())return!0;return!1},Co.prototype.contains=function(E,ee){ee||(ee=E);for(var be=0;be<this.ranges.length;be++){var ge=this.ranges[be];if(vr(ee,ge.from())>=0&&vr(E,ge.to())<=0)return be}return-1};var Ji=function(E,ee){this.anchor=E,this.head=ee};Ji.prototype.from=function(){return rr(this.anchor,this.head)},Ji.prototype.to=function(){return Xt(this.anchor,this.head)},Ji.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function No(E,ee,be){var ge=E&&E.options.selectionsMayTouch,Ie=ee[be];ee.sort(function(Lr,kr){return vr(Lr.from(),kr.from())}),be=nt(ee,Ie);for(var $e=1;$e<ee.length;$e++){var pt=ee[$e],Ct=ee[$e-1],Ot=vr(Ct.to(),pt.from());if(ge&&!pt.empty()?Ot>0:Ot>=0){var Pt=rr(Ct.from(),pt.from()),tr=Xt(Ct.to(),pt.to()),ur=Ct.empty()?pt.from()==pt.head:Ct.from()==Ct.head;$e<=be&&--be,ee.splice(--$e,2,new Ji(ur?tr:Pt,ur?Pt:tr))}}return new Co(ee,be)}function Ko(E,ee){return new Co([new Ji(E,ee||E)],0)}function ds(E){return E.text?qt(E.from.line+E.text.length-1,Et(E.text).length+(E.text.length==1?E.from.ch:0)):E.to}function Ku(E,ee){if(vr(E,ee.from)<0)return E;if(vr(E,ee.to)<=0)return ds(ee);var be=E.line+ee.text.length-(ee.to.line-ee.from.line)-1,ge=E.ch;return E.line==ee.to.line&&(ge+=ds(ee).ch-ee.to.ch),qt(be,ge)}function Nc(E,ee){for(var be=[],ge=0;ge<E.sel.ranges.length;ge++){var Ie=E.sel.ranges[ge];be.push(new Ji(Ku(Ie.anchor,ee),Ku(Ie.head,ee)))}return No(E.cm,be,E.sel.primIndex)}function al(E,ee,be){return E.line==ee.line?qt(be.line,E.ch-ee.ch+be.ch):qt(be.line+(E.line-ee.line),E.ch)}function _c(E,ee,be){for(var ge=[],Ie=qt(E.first,0),$e=Ie,pt=0;pt<ee.length;pt++){var Ct=ee[pt],Ot=al(Ct.from,Ie,$e),Pt=al(ds(Ct),Ie,$e);if(Ie=Ct.to,$e=Pt,be=="around"){var tr=E.sel.ranges[pt],ur=vr(tr.head,tr.anchor)<0;ge[pt]=new Ji(ur?Pt:Ot,ur?Ot:Pt)}else ge[pt]=new Ji(Ot,Ot)}return new Co(ge,E.sel.primIndex)}function jc(E){E.doc.mode=wr(E.options,E.doc.modeOption),ol(E)}function ol(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,nl(E,100),E.state.modeGen++,E.curOp&&Xa(E)}function Hu(E,ee){return ee.from.ch==0&&ee.to.ch==0&&Et(ee.text)==""&&(!E.cm||E.cm.options.wholeLineUpdateBefore)}function Fc(E,ee,be,ge){function Ie(ri){return be?be[ri]:null}function $e(ri,Jn,ii){ni(ri,Jn,ii,ge),tn(ri,"change",ri,ee)}function pt(ri,Jn){for(var ii=[],pi=ri;pi<Jn;++pi)ii.push(new sn(Pt[pi],Ie(pi),ge));return ii}var Ct=ee.from,Ot=ee.to,Pt=ee.text,tr=zt(E,Ct.line),ur=zt(E,Ot.line),Lr=Et(Pt),kr=Ie(Pt.length-1),rn=Ot.line-Ct.line;if(ee.full)E.insert(0,pt(0,Pt.length)),E.remove(Pt.length,E.size-Pt.length);else if(Hu(E,ee)){var Mn=pt(0,Pt.length-1);$e(ur,ur.text,kr),rn&&E.remove(Ct.line,rn),Mn.length&&E.insert(Ct.line,Mn)}else if(tr==ur)if(Pt.length==1)$e(tr,tr.text.slice(0,Ct.ch)+Lr+tr.text.slice(Ot.ch),kr);else{var Kn=pt(1,Pt.length-1);Kn.push(new sn(Lr+tr.text.slice(Ot.ch),kr,ge)),$e(tr,tr.text.slice(0,Ct.ch)+Pt[0],Ie(0)),E.insert(Ct.line+1,Kn)}else if(Pt.length==1)$e(tr,tr.text.slice(0,Ct.ch)+Pt[0]+ur.text.slice(Ot.ch),Ie(0)),E.remove(Ct.line+1,rn);else{$e(tr,tr.text.slice(0,Ct.ch)+Pt[0],Ie(0)),$e(ur,Lr+ur.text.slice(Ot.ch),kr);var Qn=pt(1,Pt.length-1);rn>1&&E.remove(Ct.line+1,rn-1),E.insert(Ct.line+1,Qn)}tn(E,"change",E,ee)}function fs(E,ee,be){function ge(Ie,$e,pt){if(Ie.linked)for(var Ct=0;Ct<Ie.linked.length;++Ct){var Ot=Ie.linked[Ct];if(Ot.doc!=$e){var Pt=pt&&Ot.sharedHist;be&&!Pt||(ee(Ot.doc,Pt),ge(Ot.doc,Ie,Pt))}}}ge(E,null,!0)}function $l(E,ee){if(ee.cm)throw new Error("This document is already in use.");E.doc=ee,ee.cm=E,_a(E),jc(E),ql(E),E.options.lineWrapping||an(E),E.options.mode=ee.modeOption,Xa(E)}function ql(E){(E.doc.direction=="rtl"?Ue:_e)(E.display.lineDiv,"CodeMirror-rtl")}function zc(E){xa(E,function(){ql(E),Xa(E)})}function ec(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 Kc(E,ee){var be={from:Yt(ee.from),to:ds(ee),text:Ut(E,ee.from,ee.to)};return Zc(E,be,ee.from.line,ee.to.line+1),fs(E,function(ge){return Zc(ge,be,ee.from.line,ee.to.line+1)},!0),be}function Wu(E){for(;E.length;){var ee=Et(E);if(ee.ranges)E.pop();else break}}function Hc(E,ee){if(ee)return Wu(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 tc(E,ee,be,ge){var Ie=E.history;Ie.undone.length=0;var $e=+new Date,pt,Ct;if((Ie.lastOp==ge||Ie.lastOrigin==ee.origin&&ee.origin&&(ee.origin.charAt(0)=="+"&&Ie.lastModTime>$e-(E.cm?E.cm.options.historyEventDelay:500)||ee.origin.charAt(0)=="*"))&&(pt=Hc(Ie,Ie.lastOp==ge)))Ct=Et(pt.changes),vr(ee.from,ee.to)==0&&vr(ee.from,Ct.to)==0?Ct.to=ds(ee):pt.changes.push(Kc(E,ee));else{var Ot=Et(Ie.done);for((!Ot||!Ot.ranges)&&rc(E.sel,Ie.done),pt={changes:[Kc(E,ee)],generation:Ie.generation},Ie.done.push(pt);Ie.done.length>Ie.undoDepth;)Ie.done.shift(),Ie.done[0].ranges||Ie.done.shift()}Ie.done.push(be),Ie.generation=++Ie.maxGeneration,Ie.lastModTime=Ie.lastSelTime=$e,Ie.lastOp=Ie.lastSelOp=ge,Ie.lastOrigin=Ie.lastSelOrigin=ee.origin,Ct||ft(E,"historyAdded")}function Wc(E,ee,be,ge){var Ie=ee.charAt(0);return Ie=="*"||Ie=="+"&&be.ranges.length==ge.ranges.length&&be.somethingSelected()==ge.somethingSelected()&&new Date-E.history.lastSelTime<=(E.cm?E.cm.options.historyEventDelay:500)}function Uc(E,ee,be,ge){var Ie=E.history,$e=ge&&ge.origin;be==Ie.lastSelOp||$e&&Ie.lastSelOrigin==$e&&(Ie.lastModTime==Ie.lastSelTime&&Ie.lastOrigin==$e||Wc(E,$e,Et(Ie.done),ee))?Ie.done[Ie.done.length-1]=ee:rc(ee,Ie.done),Ie.lastSelTime=+new Date,Ie.lastSelOrigin=$e,Ie.lastSelOp=be,ge&&ge.clearRedo!==!1&&Wu(Ie.undone)}function rc(E,ee){var be=Et(ee);be&&be.ranges&&be.equals(E)||ee.push(E)}function Zc(E,ee,be,ge){var Ie=ee["spans_"+E.id],$e=0;E.iter(Math.max(E.first,be),Math.min(E.first+E.size,ge),function(pt){pt.markedSpans&&((Ie||(Ie=ee["spans_"+E.id]={}))[$e]=pt.markedSpans),++$e})}function Vc(E){if(!E)return null;for(var ee,be=0;be<E.length;++be)E[be].marker.explicitlyCleared?ee||(ee=E.slice(0,be)):ee&&ee.push(E[be]);return ee?ee.length?ee:null:E}function Jd(E,ee){var be=ee["spans_"+E.id];if(!be)return null;for(var ge=[],Ie=0;Ie<ee.text.length;++Ie)ge.push(Vc(be[Ie]));return ge}function Uu(E,ee){var be=Jd(E,ee),ge=Hr(E,ee);if(!be)return ge;if(!ge)return be;for(var Ie=0;Ie<be.length;++Ie){var $e=be[Ie],pt=ge[Ie];if($e&&pt)e:for(var Ct=0;Ct<pt.length;++Ct){for(var Ot=pt[Ct],Pt=0;Pt<$e.length;++Pt)if($e[Pt].marker==Ot.marker)continue e;$e.push(Ot)}else pt&&(be[Ie]=pt)}return be}function sl(E,ee,be){for(var ge=[],Ie=0;Ie<E.length;++Ie){var $e=E[Ie];if($e.ranges){ge.push(be?Co.prototype.deepCopy.call($e):$e);continue}var pt=$e.changes,Ct=[];ge.push({changes:Ct});for(var Ot=0;Ot<pt.length;++Ot){var Pt=pt[Ot],tr=void 0;if(Ct.push({from:Pt.from,to:Pt.to,text:Pt.text}),ee)for(var ur in Pt)(tr=ur.match(/^spans_(\d+)$/))&&nt(ee,Number(tr[1]))>-1&&(Et(Ct)[ur]=Pt[ur],delete Pt[ur])}}return ge}function Gc(E,ee,be,ge){if(ge){var Ie=E.anchor;if(be){var $e=vr(ee,Ie)<0;$e!=vr(be,Ie)<0?(Ie=ee,ee=be):$e!=vr(ee,be)<0&&(ee=be)}return new Ji(Ie,ee)}else return new Ji(be||ee,ee)}function ll(E,ee,be,ge,Ie){Ie==null&&(Ie=E.cm&&(E.cm.display.shift||E.extend)),Ia(E,new Co([Gc(E.sel.primary(),ee,be,Ie)],0),ge)}function ai(E,ee,be){for(var ge=[],Ie=E.cm&&(E.cm.display.shift||E.extend),$e=0;$e<E.sel.ranges.length;$e++)ge[$e]=Gc(E.sel.ranges[$e],ee[$e],null,Ie);var pt=No(E.cm,ge,E.sel.primIndex);Ia(E,pt,be)}function Oo(E,ee,be,ge){var Ie=E.sel.ranges.slice(0);Ie[ee]=be,Ia(E,No(E.cm,Ie,E.sel.primIndex),ge)}function Zu(E,ee,be,ge){Ia(E,Ko(ee,be),ge)}function Qd(E,ee,be){var ge={ranges:ee.ranges,update:function(Ie){this.ranges=[];for(var $e=0;$e<Ie.length;$e++)this.ranges[$e]=new Ji(Qt(E,Ie[$e].anchor),Qt(E,Ie[$e].head))},origin:be&&be.origin};return ft(E,"beforeSelectionChange",E,ge),E.cm&&ft(E.cm,"beforeSelectionChange",E.cm,ge),ge.ranges!=ee.ranges?No(E.cm,ge.ranges,ge.ranges.length-1):ee}function co(E,ee,be){var ge=E.history.done,Ie=Et(ge);Ie&&Ie.ranges?(ge[ge.length-1]=ee,nc(E,ee,be)):Ia(E,ee,be)}function Ia(E,ee,be){nc(E,ee,be),Uc(E,E.sel,E.cm?E.cm.curOp.id:NaN,be)}function nc(E,ee,be){(Ft(E,"beforeSelectionChange")||E.cm&&Ft(E.cm,"beforeSelectionChange"))&&(ee=Qd(E,ee,be));var ge=be&&be.bias||(vr(ee.primary().head,E.sel.primary().head)<0?-1:1);$d(E,cl(E,ee,ge,!0)),!(be&&be.scroll===!1)&&E.cm&&el(E.cm)}function $d(E,ee){ee.equals(E.sel)||(E.sel=ee,E.cm&&(E.cm.curOp.updateInput=1,E.cm.curOp.selectionChanged=!0,Nt(E.cm)),tn(E,"cursorActivity",E))}function qd(E){$d(E,cl(E,E.sel,null,!1))}function cl(E,ee,be,ge){for(var Ie,$e=0;$e<ee.ranges.length;$e++){var pt=ee.ranges[$e],Ct=ee.ranges.length==E.sel.ranges.length&&E.sel.ranges[$e],Ot=Xc(E,pt.anchor,Ct&&Ct.anchor,be,ge),Pt=Xc(E,pt.head,Ct&&Ct.head,be,ge);(Ie||Ot!=pt.anchor||Pt!=pt.head)&&(Ie||(Ie=ee.ranges.slice(0,$e)),Ie[$e]=new Ji(Ot,Pt))}return Ie?No(E.cm,Ie,ee.primIndex):ee}function uo(E,ee,be,ge,Ie){var $e=zt(E,ee.line);if($e.markedSpans)for(var pt=0;pt<$e.markedSpans.length;++pt){var Ct=$e.markedSpans[pt],Ot=Ct.marker,Pt="selectLeft"in Ot?!Ot.selectLeft:Ot.inclusiveLeft,tr="selectRight"in Ot?!Ot.selectRight:Ot.inclusiveRight;if((Ct.from==null||(Pt?Ct.from<=ee.ch:Ct.from<ee.ch))&&(Ct.to==null||(tr?Ct.to>=ee.ch:Ct.to>ee.ch))){if(Ie&&(ft(Ot,"beforeCursorEnter"),Ot.explicitlyCleared))if($e.markedSpans){--pt;continue}else break;if(!Ot.atomic)continue;if(be){var ur=Ot.find(ge<0?1:-1),Lr=void 0;if((ge<0?tr:Pt)&&(ur=hs(E,ur,-ge,ur&&ur.line==ee.line?$e:null)),ur&&ur.line==ee.line&&(Lr=vr(ur,be))&&(ge<0?Lr<0:Lr>0))return uo(E,ur,ee,ge,Ie)}var kr=Ot.find(ge<0?-1:1);return(ge<0?Pt:tr)&&(kr=hs(E,kr,ge,kr.line==ee.line?$e:null)),kr?uo(E,kr,ee,ge,Ie):null}}return ee}function Xc(E,ee,be,ge,Ie){var $e=ge||1,pt=uo(E,ee,be,$e,Ie)||!Ie&&uo(E,ee,be,$e,!0)||uo(E,ee,be,-$e,Ie)||!Ie&&uo(E,ee,be,-$e,!0);return pt||(E.cantEdit=!0,qt(E.first,0))}function hs(E,ee,be,ge){return be<0&&ee.ch==0?ee.line>E.first?Qt(E,qt(ee.line-1)):null:be>0&&ee.ch==(ge||zt(E,ee.line)).text.length?ee.line<E.first+E.size-1?qt(ee.line+1,0):null:new qt(ee.line,ee.ch+be)}function Vu(E){E.setSelection(qt(E.firstLine(),0),qt(E.lastLine()),et)}function Yc(E,ee,be){var ge={canceled:!1,from:ee.from,to:ee.to,text:ee.text,origin:ee.origin,cancel:function(){return ge.canceled=!0}};return be&&(ge.update=function(Ie,$e,pt,Ct){Ie&&(ge.from=Qt(E,Ie)),$e&&(ge.to=Qt(E,$e)),pt&&(ge.text=pt),Ct!==void 0&&(ge.origin=Ct)}),ft(E,"beforeChange",E,ge),E.cm&&ft(E.cm,"beforeChange",E.cm,ge),ge.canceled?(E.cm&&(E.cm.curOp.updateInput=2),null):{from:ge.from,to:ge.to,text:ge.text,origin:ge.origin}}function Os(E,ee,be){if(E.cm){if(!E.cm.curOp)return Da(E.cm,Os)(E,ee,be);if(E.cm.state.suppressEdits)return}if(!((Ft(E,"beforeChange")||E.cm&&Ft(E.cm,"beforeChange"))&&(ee=Yc(E,ee,!0),!ee))){var ge=yn&&!be&&In(E,ee.from,ee.to);if(ge)for(var Ie=ge.length-1;Ie>=0;--Ie)Gu(E,{from:ge[Ie].from,to:ge[Ie].to,text:Ie?[""]:ee.text,origin:ee.origin});else Gu(E,ee)}}function Gu(E,ee){if(!(ee.text.length==1&&ee.text[0]==""&&vr(ee.from,ee.to)==0)){var be=Nc(E,ee);tc(E,ee,be,E.cm?E.cm.curOp.id:NaN),ul(E,ee,be,Hr(E,ee));var ge=[];fs(E,function(Ie,$e){!$e&&nt(ge,Ie.history)==-1&&(ic(Ie.history,ee),ge.push(Ie.history)),ul(Ie,ee,null,Hr(Ie,ee))})}}function ps(E,ee,be){var ge=E.cm&&E.cm.state.suppressEdits;if(!(ge&&!be)){for(var Ie=E.history,$e,pt=E.sel,Ct=ee=="undo"?Ie.done:Ie.undone,Ot=ee=="undo"?Ie.undone:Ie.done,Pt=0;Pt<Ct.length&&($e=Ct[Pt],!(be?$e.ranges&&!$e.equals(E.sel):!$e.ranges));Pt++);if(Pt!=Ct.length){for(Ie.lastOrigin=Ie.lastSelOrigin=null;;)if($e=Ct.pop(),$e.ranges){if(rc($e,Ot),be&&!$e.equals(E.sel)){Ia(E,$e,{clearRedo:!1});return}pt=$e}else if(ge){Ct.push($e);return}else break;var tr=[];rc(pt,Ot),Ot.push({changes:tr,generation:Ie.generation}),Ie.generation=$e.generation||++Ie.maxGeneration;for(var ur=Ft(E,"beforeChange")||E.cm&&Ft(E.cm,"beforeChange"),Lr=function(Mn){var Kn=$e.changes[Mn];if(Kn.origin=ee,ur&&!Yc(E,Kn,!1))return Ct.length=0,{};tr.push(Kc(E,Kn));var Qn=Mn?Nc(E,Kn):Et(Ct);ul(E,Kn,Qn,Uu(E,Kn)),!Mn&&E.cm&&E.cm.scrollIntoView({from:Kn.from,to:ds(Kn)});var ri=[];fs(E,function(Jn,ii){!ii&&nt(ri,Jn.history)==-1&&(ic(Jn.history,Kn),ri.push(Jn.history)),ul(Jn,Kn,null,Uu(Jn,Kn))})},kr=$e.changes.length-1;kr>=0;--kr){var rn=Lr(kr);if(rn)return rn.v}}}}function Jc(E,ee){if(ee!=0&&(E.first+=ee,E.sel=new Co(st(E.sel.ranges,function(Ie){return new Ji(qt(Ie.anchor.line+ee,Ie.anchor.ch),qt(Ie.head.line+ee,Ie.head.ch))}),E.sel.primIndex),E.cm)){Xa(E.cm,E.first,E.first-ee,ee);for(var be=E.cm.display,ge=be.viewFrom;ge<be.viewTo;ge++)Po(E.cm,ge,"gutter")}}function ul(E,ee,be,ge){if(E.cm&&!E.cm.curOp)return Da(E.cm,ul)(E,ee,be,ge);if(ee.to.line<E.first){Jc(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 Ie=ee.text.length-1-(E.first-ee.from.line);Jc(E,Ie),ee={from:qt(E.first,0),to:qt(ee.to.line+Ie,ee.to.ch),text:[Et(ee.text)],origin:ee.origin}}var $e=E.lastLine();ee.to.line>$e&&(ee={from:ee.from,to:qt($e,zt(E,$e).text.length),text:[ee.text[0]],origin:ee.origin}),ee.removed=Ut(E,ee.from,ee.to),be||(be=Nc(E,ee)),E.cm?ef(E.cm,ee,ge):Fc(E,ee,ge),nc(E,be,et),E.cantEdit&&Xc(E,qt(E.firstLine(),0))&&(E.cantEdit=!1)}}function ef(E,ee,be){var ge=E.doc,Ie=E.display,$e=ee.from,pt=ee.to,Ct=!1,Ot=$e.line;E.options.lineWrapping||(Ot=hr($n(zt(ge,$e.line))),ge.iter(Ot,pt.line+1,function(kr){if(kr==Ie.maxLine)return Ct=!0,!0})),ge.sel.contains(ee.from,ee.to)>-1&&Nt(E),Fc(ge,ee,be,no(E)),E.options.lineWrapping||(ge.iter(Ot,$e.line+ee.text.length,function(kr){var rn=An(kr);rn>Ie.maxLineLength&&(Ie.maxLine=kr,Ie.maxLineLength=rn,Ie.maxLineChanged=!0,Ct=!1)}),Ct&&(E.curOp.updateMaxLine=!0)),Gr(ge,$e.line),nl(E,400);var Pt=ee.text.length-(pt.line-$e.line)-1;ee.full?Xa(E):$e.line==pt.line&&ee.text.length==1&&!Hu(E.doc,ee)?Po(E,$e.line,"text"):Xa(E,$e.line,pt.line+1,Pt);var tr=Ft(E,"changes"),ur=Ft(E,"change");if(ur||tr){var Lr={from:$e,to:pt,text:ee.text,removed:ee.removed,origin:ee.origin};ur&&tn(E,"change",E,Lr),tr&&(E.curOp.changeObjs||(E.curOp.changeObjs=[])).push(Lr)}E.display.selForContextMenu=null}function Al(E,ee,be,ge,Ie){var $e;ge||(ge=be),vr(ge,be)<0&&($e=[ge,be],be=$e[0],ge=$e[1]),typeof ee=="string"&&(ee=E.splitLines(ee)),Os(E,{from:be,to:ge,text:ee,origin:Ie})}function tf(E,ee,be,ge){be<E.line?E.line+=ge:ee<E.line&&(E.line=ee,E.ch=0)}function rf(E,ee,be,ge){for(var Ie=0;Ie<E.length;++Ie){var $e=E[Ie],pt=!0;if($e.ranges){$e.copied||($e=E[Ie]=$e.deepCopy(),$e.copied=!0);for(var Ct=0;Ct<$e.ranges.length;Ct++)tf($e.ranges[Ct].anchor,ee,be,ge),tf($e.ranges[Ct].head,ee,be,ge);continue}for(var Ot=0;Ot<$e.changes.length;++Ot){var Pt=$e.changes[Ot];if(be<Pt.from.line)Pt.from=qt(Pt.from.line+ge,Pt.from.ch),Pt.to=qt(Pt.to.line+ge,Pt.to.ch);else if(ee<=Pt.to.line){pt=!1;break}}pt||(E.splice(0,Ie+1),Ie=0)}}function ic(E,ee){var be=ee.from.line,ge=ee.to.line,Ie=ee.text.length-(ge-be)-1;rf(E.done,be,ge,Ie),rf(E.undone,be,ge,Ie)}function ac(E,ee,be,ge){var Ie=ee,$e=ee;return typeof ee=="number"?$e=zt(E,gr(E,ee)):Ie=hr(ee),Ie==null?null:(ge($e,Ie)&&E.cm&&Po(E.cm,Ie,be),$e)}function Ds(E){this.lines=E,this.parent=null;for(var ee=0,be=0;be<E.length;++be)E[be].parent=this,ee+=E[be].height;this.height=ee}Ds.prototype={chunkSize:function(){return this.lines.length},removeInner:function(E,ee){for(var be=E,ge=E+ee;be<ge;++be){var Ie=this.lines[be];this.height-=Ie.height,wi(Ie),tn(Ie,"delete")}this.lines.splice(E,ee)},collapse:function(E){E.push.apply(E,this.lines)},insertInner:function(E,ee,be){this.height+=be,this.lines=this.lines.slice(0,E).concat(ee).concat(this.lines.slice(E));for(var ge=0;ge<ee.length;++ge)ee[ge].parent=this},iterN:function(E,ee,be){for(var ge=E+ee;E<ge;++E)if(be(this.lines[E]))return!0}};function Ml(E){this.children=E;for(var ee=0,be=0,ge=0;ge<E.length;++ge){var Ie=E[ge];ee+=Ie.chunkSize(),be+=Ie.height,Ie.parent=this}this.size=ee,this.height=be,this.parent=null}Ml.prototype={chunkSize:function(){return this.size},removeInner:function(E,ee){this.size-=ee;for(var be=0;be<this.children.length;++be){var ge=this.children[be],Ie=ge.chunkSize();if(E<Ie){var $e=Math.min(ee,Ie-E),pt=ge.height;if(ge.removeInner(E,$e),this.height-=pt-ge.height,Ie==$e&&(this.children.splice(be--,1),ge.parent=null),(ee-=$e)==0)break;E=0}else E-=Ie}if(this.size-ee<25&&(this.children.length>1||!(this.children[0]instanceof Ds))){var Ct=[];this.collapse(Ct),this.children=[new Ds(Ct)],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,be){this.size+=ee.length,this.height+=be;for(var ge=0;ge<this.children.length;++ge){var Ie=this.children[ge],$e=Ie.chunkSize();if(E<=$e){if(Ie.insertInner(E,ee,be),Ie.lines&&Ie.lines.length>50){for(var pt=Ie.lines.length%25+25,Ct=pt;Ct<Ie.lines.length;){var Ot=new Ds(Ie.lines.slice(Ct,Ct+=25));Ie.height-=Ot.height,this.children.splice(++ge,0,Ot),Ot.parent=this}Ie.lines=Ie.lines.slice(0,pt),this.maybeSpill()}break}E-=$e}},maybeSpill:function(){if(!(this.children.length<=10)){var E=this;do{var ee=E.children.splice(E.children.length-5,5),be=new Ml(ee);if(E.parent){E.size-=be.size,E.height-=be.height;var Ie=nt(E.parent.children,E);E.parent.children.splice(Ie+1,0,be)}else{var ge=new Ml(E.children);ge.parent=E,E.children=[ge,be],E=ge}be.parent=E.parent}while(E.children.length>10);E.parent.maybeSpill()}},iterN:function(E,ee,be){for(var ge=0;ge<this.children.length;++ge){var Ie=this.children[ge],$e=Ie.chunkSize();if(E<$e){var pt=Math.min(ee,$e-E);if(Ie.iterN(E,pt,be))return!0;if((ee-=pt)==0)break;E=0}else E-=$e}}};var kl=function(E,ee,be){if(be)for(var ge in be)be.hasOwnProperty(ge)&&(this[ge]=be[ge]);this.doc=E,this.node=ee};kl.prototype.clear=function(){var E=this.doc.cm,ee=this.line.widgets,be=this.line,ge=hr(be);if(!(ge==null||!ee)){for(var Ie=0;Ie<ee.length;++Ie)ee[Ie]==this&&ee.splice(Ie--,1);ee.length||(be.widgets=null);var $e=Fi(this);er(be,Math.max(0,be.height-$e)),E&&(xa(E,function(){nf(E,be,-$e),Po(E,ge,"widget")}),tn(E,"lineWidgetCleared",E,this,ge))}},kl.prototype.changed=function(){var E=this,ee=this.height,be=this.doc.cm,ge=this.line;this.height=null;var Ie=Fi(this)-ee;Ie&&(Oi(this.doc,ge)||er(ge,ge.height+Ie),be&&xa(be,function(){be.curOp.forceUpdate=!0,nf(be,ge,Ie),tn(be,"lineWidgetChanged",be,E,hr(ge))}))},Zt(kl);function nf(E,ee,be){En(ee)<(E.curOp&&E.curOp.scrollTop||E.doc.scrollTop)&&Oc(E,be)}function af(E,ee,be,ge){var Ie=new kl(E,be,ge),$e=E.cm;return $e&&Ie.noHScroll&&($e.display.alignWidgets=!0),ac(E,ee,"widget",function(pt){var Ct=pt.widgets||(pt.widgets=[]);if(Ie.insertAt==null?Ct.push(Ie):Ct.splice(Math.min(Ct.length-1,Math.max(0,Ie.insertAt)),0,Ie),Ie.line=pt,$e&&!Oi(E,pt)){var Ot=En(pt)<E.scrollTop;er(pt,pt.height+Fi(Ie)),Ot&&Oc($e,Ie.height),$e.curOp.forceUpdate=!0}return!0}),$e&&tn($e,"lineWidgetAdded",$e,Ie,typeof ee=="number"?ee:hr(ee)),Ie}var of=0,Is=function(E,ee){this.lines=[],this.type=ee,this.doc=E,this.id=++of};Is.prototype.clear=function(){if(!this.explicitlyCleared){var E=this.doc.cm,ee=E&&!E.curOp;if(ee&&Ts(E),Ft(this,"clear")){var be=this.find();be&&tn(this,"clear",be.from,be.to)}for(var ge=null,Ie=null,$e=0;$e<this.lines.length;++$e){var pt=this.lines[$e],Ct=gn(pt.markedSpans,this);E&&!this.collapsed?Po(E,hr(pt),"text"):E&&(Ct.to!=null&&(Ie=hr(pt)),Ct.from!=null&&(ge=hr(pt))),pt.markedSpans=Jr(pt.markedSpans,Ct),Ct.from==null&&this.collapsed&&!Oi(this.doc,pt)&&E&&er(pt,os(E.display))}if(E&&this.collapsed&&!E.options.lineWrapping)for(var Ot=0;Ot<this.lines.length;++Ot){var Pt=$n(this.lines[Ot]),tr=An(Pt);tr>E.display.maxLineLength&&(E.display.maxLine=Pt,E.display.maxLineLength=tr,E.display.maxLineChanged=!0)}ge!=null&&E&&this.collapsed&&Xa(E,ge,Ie+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,E&&qd(E.doc)),E&&tn(E,"markerCleared",E,this,ge,Ie),ee&&us(E),this.parent&&this.parent.clear()}},Is.prototype.find=function(E,ee){E==null&&this.type=="bookmark"&&(E=1);for(var be,ge,Ie=0;Ie<this.lines.length;++Ie){var $e=this.lines[Ie],pt=gn($e.markedSpans,this);if(pt.from!=null&&(be=qt(ee?$e:hr($e),pt.from),E==-1))return be;if(pt.to!=null&&(ge=qt(ee?$e:hr($e),pt.to),E==1))return ge}return be&&{from:be,to:ge}},Is.prototype.changed=function(){var E=this,ee=this.find(-1,!0),be=this,ge=this.doc.cm;!ee||!ge||xa(ge,function(){var Ie=ee.line,$e=hr(ee.line),pt=ga(ge,$e);if(pt&&(Qi(pt),ge.curOp.selectionChanged=ge.curOp.forceUpdate=!0),ge.curOp.updateMaxLine=!0,!Oi(be.doc,Ie)&&be.height!=null){var Ct=be.height;be.height=null;var Ot=Fi(be)-Ct;Ot&&er(Ie,Ie.height+Ot)}tn(ge,"markerChanged",ge,E)})},Is.prototype.attachLine=function(E){if(!this.lines.length&&this.doc.cm){var ee=this.doc.cm.curOp;(!ee.maybeHiddenMarkers||nt(ee.maybeHiddenMarkers,this)==-1)&&(ee.maybeUnhiddenMarkers||(ee.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(E)},Is.prototype.detachLine=function(E){if(this.lines.splice(nt(this.lines,E),1),!this.lines.length&&this.doc.cm){var ee=this.doc.cm.curOp;(ee.maybeHiddenMarkers||(ee.maybeHiddenMarkers=[])).push(this)}},Zt(Is);function ms(E,ee,be,ge,Ie){if(ge&&ge.shared)return da(E,ee,be,ge,Ie);if(E.cm&&!E.cm.curOp)return Da(E.cm,ms)(E,ee,be,ge,Ie);var $e=new Is(E,Ie),pt=vr(ee,be);if(ge&&lt(ge,$e,!1),pt>0||pt==0&&$e.clearWhenEmpty!==!1)return $e;if($e.replacedWith&&($e.collapsed=!0,$e.widgetNode=Ne("span",[$e.replacedWith],"CodeMirror-widget"),ge.handleMouseEvents||$e.widgetNode.setAttribute("cm-ignore-events","true"),ge.insertLeft&&($e.widgetNode.insertLeft=!0)),$e.collapsed){if(Vn(E,ee.line,ee,be,$e)||ee.line!=be.line&&Vn(E,be.line,ee,be,$e))throw new Error("Inserting collapsed marker partially overlapping an existing one");cn()}$e.addToHistory&&tc(E,{from:ee,to:be,origin:"markText"},E.sel,NaN);var Ct=ee.line,Ot=E.cm,Pt;if(E.iter(Ct,be.line+1,function(ur){Ot&&$e.collapsed&&!Ot.options.lineWrapping&&$n(ur)==Ot.display.maxLine&&(Pt=!0),$e.collapsed&&Ct!=ee.line&&er(ur,0),Ln(ur,new Sn($e,Ct==ee.line?ee.ch:null,Ct==be.line?be.ch:null)),++Ct}),$e.collapsed&&E.iter(ee.line,be.line+1,function(ur){Oi(E,ur)&&er(ur,0)}),$e.clearOnEnter&&jt($e,"beforeCursorEnter",function(){return $e.clear()}),$e.readOnly&&(On(),(E.history.done.length||E.history.undone.length)&&E.clearHistory()),$e.collapsed&&($e.id=++of,$e.atomic=!0),Ot){if(Pt&&(Ot.curOp.updateMaxLine=!0),$e.collapsed)Xa(Ot,ee.line,be.line+1);else if($e.className||$e.startStyle||$e.endStyle||$e.css||$e.attributes||$e.title)for(var tr=ee.line;tr<=be.line;tr++)Po(Ot,tr,"text");$e.atomic&&qd(Ot.doc),tn(Ot,"markerAdded",Ot,$e)}return $e}var Ni=function(E,ee){this.markers=E,this.primary=ee;for(var be=0;be<E.length;++be)E[be].parent=this};Ni.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var E=0;E<this.markers.length;++E)this.markers[E].clear();tn(this,"clear")}},Ni.prototype.find=function(E,ee){return this.primary.find(E,ee)},Zt(Ni);function da(E,ee,be,ge,Ie){ge=lt(ge),ge.shared=!1;var $e=[ms(E,ee,be,ge,Ie)],pt=$e[0],Ct=ge.widgetNode;return fs(E,function(Ot){Ct&&(ge.widgetNode=Ct.cloneNode(!0)),$e.push(ms(Ot,Qt(Ot,ee),Qt(Ot,be),ge,Ie));for(var Pt=0;Pt<Ot.linked.length;++Pt)if(Ot.linked[Pt].isParent)return;pt=Et($e)}),new Ni($e,pt)}function Bs(E){return E.findMarks(qt(E.first,0),E.clipPos(qt(E.lastLine())),function(ee){return ee.parent})}function sf(E,ee){for(var be=0;be<ee.length;be++){var ge=ee[be],Ie=ge.find(),$e=E.clipPos(Ie.from),pt=E.clipPos(Ie.to);if(vr($e,pt)){var Ct=ms(E,$e,pt,ge.primary,ge.primary.type);ge.markers.push(Ct),Ct.parent=ge}}}function Do(E){for(var ee=function(ge){var Ie=E[ge],$e=[Ie.primary.doc];fs(Ie.primary.doc,function(Ot){return $e.push(Ot)});for(var pt=0;pt<Ie.markers.length;pt++){var Ct=Ie.markers[pt];nt($e,Ct.doc)==-1&&(Ct.parent=null,Ie.markers.splice(pt--,1))}},be=0;be<E.length;be++)ee(be)}var lf=0,Aa=function(E,ee,be,ge,Ie){if(!(this instanceof Aa))return new Aa(E,ee,be,ge,Ie);be==null&&(be=0),Ml.call(this,[new Ds([new sn("",null)])]),this.first=be,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=be;var $e=qt(be,0);this.sel=Ko($e),this.history=new ec(null),this.id=++lf,this.modeOption=ee,this.lineSep=ge,this.direction=Ie=="rtl"?"rtl":"ltr",this.extend=!1,typeof E=="string"&&(E=this.splitLines(E)),Fc(this,{from:$e,to:$e,text:E}),Ia(this,Ko($e),et)};Aa.prototype=se(Ml.prototype,{constructor:Aa,iter:function(E,ee,be){be?this.iterN(E-this.first,ee-E,be):this.iterN(this.first,this.first+this.size,E)},insert:function(E,ee){for(var be=0,ge=0;ge<ee.length;++ge)be+=ee[ge].height;this.insertInner(E-this.first,ee,be)},remove:function(E,ee){this.removeInner(E-this.first,ee)},getValue:function(E){var ee=ir(this,this.first,this.first+this.size);return E===!1?ee:ee.join(E||this.lineSeparator())},setValue:Fa(function(E){var ee=qt(this.first,0),be=this.first+this.size-1;Os(this,{from:ee,to:qt(be,zt(this,be).text.length),text:this.splitLines(E),origin:"setValue",full:!0},!0),this.cm&&tl(this.cm,0,0),Ia(this,Ko(ee),et)}),replaceRange:function(E,ee,be,ge){ee=Qt(this,ee),be=be?Qt(this,be):ee,Al(this,E,ee,be,ge)},getRange:function(E,ee,be){var ge=Ut(this,Qt(this,E),Qt(this,ee));return be===!1?ge:ge.join(be||this.lineSeparator())},getLine:function(E){var ee=this.getLineHandle(E);return ee&&ee.text},getLineHandle:function(E){if(Dr(this,E))return zt(this,E)},getLineNumber:function(E){return hr(E)},getLineHandleVisualStart:function(E){return typeof E=="number"&&(E=zt(this,E)),$n(E)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(E){return Qt(this,E)},getCursor:function(E){var ee=this.sel.primary(),be;return E==null||E=="head"?be=ee.head:E=="anchor"?be=ee.anchor:E=="end"||E=="to"||E===!1?be=ee.to():be=ee.from(),be},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Fa(function(E,ee,be){Zu(this,Qt(this,typeof E=="number"?qt(E,ee||0):E),null,be)}),setSelection:Fa(function(E,ee,be){Zu(this,Qt(this,E),Qt(this,ee||E),be)}),extendSelection:Fa(function(E,ee,be){ll(this,Qt(this,E),ee&&Qt(this,ee),be)}),extendSelections:Fa(function(E,ee){ai(this,Lt(this,E),ee)}),extendSelectionsBy:Fa(function(E,ee){var be=st(this.sel.ranges,E);ai(this,Lt(this,be),ee)}),setSelections:Fa(function(E,ee,be){if(E.length){for(var ge=[],Ie=0;Ie<E.length;Ie++)ge[Ie]=new Ji(Qt(this,E[Ie].anchor),Qt(this,E[Ie].head));ee==null&&(ee=Math.min(E.length-1,this.sel.primIndex)),Ia(this,No(this.cm,ge,ee),be)}}),addSelection:Fa(function(E,ee,be){var ge=this.sel.ranges.slice(0);ge.push(new Ji(Qt(this,E),Qt(this,ee||E))),Ia(this,No(this.cm,ge,ge.length-1),be)}),getSelection:function(E){for(var ee=this.sel.ranges,be,ge=0;ge<ee.length;ge++){var Ie=Ut(this,ee[ge].from(),ee[ge].to());be=be?be.concat(Ie):Ie}return E===!1?be:be.join(E||this.lineSeparator())},getSelections:function(E){for(var ee=[],be=this.sel.ranges,ge=0;ge<be.length;ge++){var Ie=Ut(this,be[ge].from(),be[ge].to());E!==!1&&(Ie=Ie.join(E||this.lineSeparator())),ee[ge]=Ie}return ee},replaceSelection:function(E,ee,be){for(var ge=[],Ie=0;Ie<this.sel.ranges.length;Ie++)ge[Ie]=E;this.replaceSelections(ge,ee,be||"+input")},replaceSelections:Fa(function(E,ee,be){for(var ge=[],Ie=this.sel,$e=0;$e<Ie.ranges.length;$e++){var pt=Ie.ranges[$e];ge[$e]={from:pt.from(),to:pt.to(),text:this.splitLines(E[$e]),origin:be}}for(var Ct=ee&&ee!="end"&&_c(this,ge,ee),Ot=ge.length-1;Ot>=0;Ot--)Os(this,ge[Ot]);Ct?co(this,Ct):this.cm&&el(this.cm)}),undo:Fa(function(){ps(this,"undo")}),redo:Fa(function(){ps(this,"redo")}),undoSelection:Fa(function(){ps(this,"undo",!0)}),redoSelection:Fa(function(){ps(this,"redo",!0)}),setExtending:function(E){this.extend=E},getExtending:function(){return this.extend},historySize:function(){for(var E=this.history,ee=0,be=0,ge=0;ge<E.done.length;ge++)E.done[ge].ranges||++ee;for(var Ie=0;Ie<E.undone.length;Ie++)E.undone[Ie].ranges||++be;return{undo:ee,redo:be}},clearHistory:function(){var E=this;this.history=new ec(this.history.maxGeneration),fs(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:sl(this.history.done),undone:sl(this.history.undone)}},setHistory:function(E){var ee=this.history=new ec(this.history.maxGeneration);ee.done=sl(E.done.slice(0),null,!0),ee.undone=sl(E.undone.slice(0),null,!0)},setGutterMarker:Fa(function(E,ee,be){return ac(this,E,"gutter",function(ge){var Ie=ge.gutterMarkers||(ge.gutterMarkers={});return Ie[ee]=be,!be&&pe(Ie)&&(ge.gutterMarkers=null),!0})}),clearGutter:Fa(function(E){var ee=this;this.iter(function(be){be.gutterMarkers&&be.gutterMarkers[E]&&ac(ee,be,"gutter",function(){return be.gutterMarkers[E]=null,pe(be.gutterMarkers)&&(be.gutterMarkers=null),!0})})}),lineInfo:function(E){var ee;if(typeof E=="number"){if(!Dr(this,E)||(ee=E,E=zt(this,E),!E))return null}else if(ee=hr(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:Fa(function(E,ee,be){return ac(this,E,ee=="gutter"?"gutter":"class",function(ge){var Ie=ee=="text"?"textClass":ee=="background"?"bgClass":ee=="gutter"?"gutterClass":"wrapClass";if(!ge[Ie])ge[Ie]=be;else{if(Ee(be).test(ge[Ie]))return!1;ge[Ie]+=" "+be}return!0})}),removeLineClass:Fa(function(E,ee,be){return ac(this,E,ee=="gutter"?"gutter":"class",function(ge){var Ie=ee=="text"?"textClass":ee=="background"?"bgClass":ee=="gutter"?"gutterClass":"wrapClass",$e=ge[Ie];if($e)if(be==null)ge[Ie]=null;else{var pt=$e.match(Ee(be));if(!pt)return!1;var Ct=pt.index+pt[0].length;ge[Ie]=$e.slice(0,pt.index)+(!pt.index||Ct==$e.length?"":" ")+$e.slice(Ct)||null}else return!1;return!0})}),addLineWidget:Fa(function(E,ee,be){return af(this,E,ee,be)}),removeLineWidget:function(E){E.clear()},markText:function(E,ee,be){return ms(this,Qt(this,E),Qt(this,ee),be,be&&be.type||"range")},setBookmark:function(E,ee){var be={replacedWith:ee&&(ee.nodeType==null?ee.widget:ee),insertLeft:ee&&ee.insertLeft,clearWhenEmpty:!1,shared:ee&&ee.shared,handleMouseEvents:ee&&ee.handleMouseEvents};return E=Qt(this,E),ms(this,E,E,be,"bookmark")},findMarksAt:function(E){E=Qt(this,E);var ee=[],be=zt(this,E.line).markedSpans;if(be)for(var ge=0;ge<be.length;++ge){var Ie=be[ge];(Ie.from==null||Ie.from<=E.ch)&&(Ie.to==null||Ie.to>=E.ch)&&ee.push(Ie.marker.parent||Ie.marker)}return ee},findMarks:function(E,ee,be){E=Qt(this,E),ee=Qt(this,ee);var ge=[],Ie=E.line;return this.iter(E.line,ee.line+1,function($e){var pt=$e.markedSpans;if(pt)for(var Ct=0;Ct<pt.length;Ct++){var Ot=pt[Ct];!(Ot.to!=null&&Ie==E.line&&E.ch>=Ot.to||Ot.from==null&&Ie!=E.line||Ot.from!=null&&Ie==ee.line&&Ot.from>=ee.ch)&&(!be||be(Ot.marker))&&ge.push(Ot.marker.parent||Ot.marker)}++Ie}),ge},getAllMarks:function(){var E=[];return this.iter(function(ee){var be=ee.markedSpans;if(be)for(var ge=0;ge<be.length;++ge)be[ge].from!=null&&E.push(be[ge].marker)}),E},posFromIndex:function(E){var ee,be=this.first,ge=this.lineSeparator().length;return this.iter(function(Ie){var $e=Ie.text.length+ge;if($e>E)return ee=E,!0;E-=$e,++be}),Qt(this,qt(be,ee))},indexFromPos:function(E){E=Qt(this,E);var ee=E.ch;if(E.line<this.first||E.ch<0)return 0;var be=this.lineSeparator().length;return this.iter(this.first,E.line,function(ge){ee+=ge.text.length+be}),ee},copy:function(E){var ee=new Aa(ir(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,be=this.first+this.size;E.from!=null&&E.from>ee&&(ee=E.from),E.to!=null&&E.to<be&&(be=E.to);var ge=new Aa(ir(this,ee,be),E.mode||this.modeOption,ee,this.lineSep,this.direction);return E.sharedHist&&(ge.history=this.history),(this.linked||(this.linked=[])).push({doc:ge,sharedHist:E.sharedHist}),ge.linked=[{doc:this,isParent:!0,sharedHist:E.sharedHist}],sf(ge,Bs(this)),ge},unlinkDoc:function(E){if(E instanceof Mi&&(E=E.doc),this.linked)for(var ee=0;ee<this.linked.length;++ee){var be=this.linked[ee];if(be.doc==E){this.linked.splice(ee,1),E.unlinkDoc(this),Do(Bs(this));break}}if(E.history==this.history){var ge=[E.id];fs(E,function(Ie){return ge.push(Ie.id)},!0),E.history=new ec(null),E.history.done=sl(this.history.done,ge),E.history.undone=sl(this.history.undone,ge)}},iterLinkedDocs:function(E){fs(this,E)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(E){return this.lineSep?E.split(this.lineSep):Tn(E)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Fa(function(E){E!="rtl"&&(E="ltr"),E!=this.direction&&(this.direction=E,this.iter(function(ee){return ee.order=null}),this.cm&&zc(this.cm))})}),Aa.prototype.eachLine=Aa.prototype.iter;var Xu=0;function th(E){var ee=this;if(Tl(ee),!(St(ee,E)||ra(ee.display,E))){or(E),ve&&(Xu=+new Date);var be=ko(ee,E,!0),ge=E.dataTransfer.files;if(!(!be||ee.isReadOnly()))if(ge&&ge.length&&window.FileReader&&window.File)for(var Ie=ge.length,$e=Array(Ie),pt=0,Ct=function(){++pt==Ie&&Da(ee,function(){be=Qt(ee.doc,be);var kr={from:be,to:be,text:ee.doc.splitLines($e.filter(function(rn){return rn!=null}).join(ee.doc.lineSeparator())),origin:"paste"};Os(ee.doc,kr),co(ee.doc,Ko(Qt(ee.doc,be),Qt(ee.doc,ds(kr))))})()},Ot=function(kr,rn){if(ee.options.allowDropFileTypes&&nt(ee.options.allowDropFileTypes,kr.type)==-1){Ct();return}var Mn=new FileReader;Mn.onerror=function(){return Ct()},Mn.onload=function(){var Kn=Mn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Kn)){Ct();return}$e[rn]=Kn,Ct()},Mn.readAsText(kr)},Pt=0;Pt<ge.length;Pt++)Ot(ge[Pt],Pt);else{if(ee.state.draggingText&&ee.doc.sel.contains(be)>-1){ee.state.draggingText(E),setTimeout(function(){return ee.display.input.focus()},20);return}try{var tr=E.dataTransfer.getData("Text");if(tr){var ur;if(ee.state.draggingText&&!ee.state.draggingText.copy&&(ur=ee.listSelections()),nc(ee.doc,Ko(be,be)),ur)for(var Lr=0;Lr<ur.length;++Lr)Al(ee.doc,"",ur[Lr].anchor,ur[Lr].head,"drag");ee.replaceSelection(tr,"around","paste"),ee.display.input.focus()}}catch(kr){}}}}function rh(E,ee){if(ve&&(!E.state.draggingText||+new Date-Xu<100)){Fr(ee);return}if(!(St(E,ee)||ra(E.display,ee))&&(ee.dataTransfer.setData("Text",E.getSelection()),ee.dataTransfer.effectAllowed="copyMove",ee.dataTransfer.setDragImage&&!me)){var be=Ce("img",null,null,"position: fixed; left: 0; top: 0;");be.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",le&&(be.width=be.height=1,E.display.wrapper.appendChild(be),be._top=be.offsetTop),ee.dataTransfer.setDragImage(be,0,0),le&&be.parentNode.removeChild(be)}}function Yu(E,ee){var be=ko(E,ee);if(be){var ge=document.createDocumentFragment();ku(E,be,ge),E.display.dragCursor||(E.display.dragCursor=Ce("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),E.display.lineSpace.insertBefore(E.display.dragCursor,E.display.cursorDiv)),Oe(E.display.dragCursor,ge)}}function Tl(E){E.display.dragCursor&&(E.display.lineSpace.removeChild(E.display.dragCursor),E.display.dragCursor=null)}function Ol(E){if(document.getElementsByClassName){for(var ee=document.getElementsByClassName("CodeMirror"),be=[],ge=0;ge<ee.length;ge++){var Ie=ee[ge].CodeMirror;Ie&&be.push(Ie)}be.length&&be[0].operation(function(){for(var $e=0;$e<be.length;$e++)E(be[$e])})}}var Rn=!1;function Ju(){Rn||(Qc(),Rn=!0)}function Qc(){var E;jt(window,"resize",function(){E==null&&(E=setTimeout(function(){E=null,Ol($c)},100))}),jt(window,"blur",function(){return Ol($s)})}function $c(E){var ee=E.display;ee.cachedCharWidth=ee.cachedTextHeight=ee.cachedPaddingH=null,ee.scrollbarsClipped=!1,E.setSize()}for(var Ho={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"},oc=0;oc<10;oc++)Ho[oc+48]=Ho[oc+96]=String(oc);for(var qc=65;qc<=90;qc++)Ho[qc]=String.fromCharCode(qc);for(var sc=1;sc<=12;sc++)Ho[sc+111]=Ho[sc+63235]="F"+sc;var ia={};ia.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"},ia.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"},ia.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"},ia.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"]},ia.default=we?ia.macDefault:ia.pcDefault;function nh(E){var ee=E.split(/-(?!$)/);E=ee[ee.length-1];for(var be,ge,Ie,$e,pt=0;pt<ee.length-1;pt++){var Ct=ee[pt];if(/^(cmd|meta|m)$/i.test(Ct))$e=!0;else if(/^a(lt)?$/i.test(Ct))be=!0;else if(/^(c|ctrl|control)$/i.test(Ct))ge=!0;else if(/^s(hift)?$/i.test(Ct))Ie=!0;else throw new Error("Unrecognized modifier name: "+Ct)}return be&&(E="Alt-"+E),ge&&(E="Ctrl-"+E),$e&&(E="Cmd-"+E),Ie&&(E="Shift-"+E),E}function Qu(E){var ee={};for(var be in E)if(E.hasOwnProperty(be)){var ge=E[be];if(/^(name|fallthrough|(de|at)tach)$/.test(be))continue;if(ge=="..."){delete E[be];continue}for(var Ie=st(be.split(" "),nh),$e=0;$e<Ie.length;$e++){var pt=void 0,Ct=void 0;$e==Ie.length-1?(Ct=Ie.join(" "),pt=ge):(Ct=Ie.slice(0,$e+1).join(" "),pt="...");var Ot=ee[Ct];if(!Ot)ee[Ct]=pt;else if(Ot!=pt)throw new Error("Inconsistent bindings for "+Ct)}delete E[be]}for(var Pt in ee)E[Pt]=ee[Pt];return E}function gs(E,ee,be,ge){ee=fo(ee);var Ie=ee.call?ee.call(E,ge):ee[E];if(Ie===!1)return"nothing";if(Ie==="...")return"multi";if(Ie!=null&&be(Ie))return"handled";if(ee.fallthrough){if(Object.prototype.toString.call(ee.fallthrough)!="[object Array]")return gs(E,ee.fallthrough,be,ge);for(var $e=0;$e<ee.fallthrough.length;$e++){var pt=gs(E,ee.fallthrough[$e],be,ge);if(pt)return pt}}}function lc(E){var ee=typeof E=="string"?E:Ho[E.keyCode];return ee=="Ctrl"||ee=="Alt"||ee=="Shift"||ee=="Mod"}function Ls(E,ee,be){var ge=E;return ee.altKey&&ge!="Alt"&&(E="Alt-"+E),(Ae?ee.metaKey:ee.ctrlKey)&&ge!="Ctrl"&&(E="Ctrl-"+E),(Ae?ee.ctrlKey:ee.metaKey)&&ge!="Mod"&&(E="Cmd-"+E),!be&&ee.shiftKey&&ge!="Shift"&&(E="Shift-"+E),E}function dl(E,ee){if(le&&E.keyCode==34&&E.char)return!1;var be=Ho[E.keyCode];return be==null||E.altGraphKey?!1:(E.keyCode==3&&E.code&&(be=E.code),Ls(be,E,ee))}function fo(E){return typeof E=="string"?ia[E]:E}function _o(E,ee){for(var be=E.doc.sel.ranges,ge=[],Ie=0;Ie<be.length;Ie++){for(var $e=ee(be[Ie]);ge.length&&vr($e.from,Et(ge).to)<=0;){var pt=ge.pop();if(vr(pt.from,$e.from)<0){$e.from=pt.from;break}}ge.push($e)}xa(E,function(){for(var Ct=ge.length-1;Ct>=0;Ct--)Al(E.doc,"",ge[Ct].from,ge[Ct].to,"+delete");el(E)})}function Ja(E,ee,be){var ge=Xe(E.text,ee+be,be);return ge<0||ge>E.text.length?null:ge}function Qo(E,ee,be){var ge=Ja(E,ee.ch,be);return ge==null?null:new qt(ee.line,ge,be<0?"after":"before")}function fl(E,ee,be,ge,Ie){if(E){ee.doc.direction=="rtl"&&(Ie=-Ie);var $e=Vt(be,ee.doc.direction);if($e){var pt=Ie<0?Et($e):$e[0],Ct=Ie<0==(pt.level==1),Ot=Ct?"after":"before",Pt;if(pt.level>0||ee.doc.direction=="rtl"){var tr=ua(ee,be);Pt=Ie<0?be.text.length-1:0;var ur=Hi(ee,tr,Pt).top;Pt=Je(function(Lr){return Hi(ee,tr,Lr).top==ur},Ie<0==(pt.level==1)?pt.from:pt.to-1,Pt),Ot=="before"&&(Pt=Ja(be,Pt,1))}else Pt=Ie<0?pt.to:pt.from;return new qt(ge,Pt,Ot)}}return new qt(ge,Ie<0?be.text.length:0,Ie<0?"before":"after")}function $o(E,ee,be,ge){var Ie=Vt(ee,E.doc.direction);if(!Ie)return Qo(ee,be,ge);be.ch>=ee.text.length?(be.ch=ee.text.length,be.sticky="before"):be.ch<=0&&(be.ch=0,be.sticky="after");var $e=gt(Ie,be.ch,be.sticky),pt=Ie[$e];if(E.doc.direction=="ltr"&&pt.level%2==0&&(ge>0?pt.to>be.ch:pt.from<be.ch))return Qo(ee,be,ge);var Ct=function(Qn,ri){return Ja(ee,Qn instanceof qt?Qn.ch:Qn,ri)},Ot,Pt=function(Qn){return E.options.lineWrapping?(Ot=Ot||ua(E,ee),Wl(E,ee,Ot,Qn)):{begin:0,end:ee.text.length}},tr=Pt(be.sticky=="before"?Ct(be,-1):be.ch);if(E.doc.direction=="rtl"||pt.level==1){var ur=pt.level==1==ge<0,Lr=Ct(be,ur?1:-1);if(Lr!=null&&(ur?Lr<=pt.to&&Lr<=tr.end:Lr>=pt.from&&Lr>=tr.begin)){var kr=ur?"before":"after";return new qt(be.line,Lr,kr)}}var rn=function(Qn,ri,Jn){for(var ii=function(oa,Ua){return Ua?new qt(be.line,Ct(oa,1),"before"):new qt(be.line,oa,"after")};Qn>=0&&Qn<Ie.length;Qn+=ri){var pi=Ie[Qn],bi=ri>0==(pi.level!=1),_i=bi?Jn.begin:Ct(Jn.end,-1);if(pi.from<=_i&&_i<pi.to||(_i=bi?pi.from:Ct(pi.to,-1),Jn.begin<=_i&&_i<Jn.end))return ii(_i,bi)}},Mn=rn($e+ge,ge,tr);if(Mn)return Mn;var Kn=ge>0?tr.end:Ct(tr.begin,-1);return Kn!=null&&!(ge>0&&Kn==ee.text.length)&&(Mn=rn(ge>0?0:Ie.length-1,ge,Pt(Kn)),Mn)?Mn:null}var Dl={selectAll:Vu,singleSelection:function(E){return E.setSelection(E.getCursor("anchor"),E.getCursor("head"),et)},killLine:function(E){return _o(E,function(ee){if(ee.empty()){var be=zt(E.doc,ee.head.line).text.length;return ee.head.ch==be&&ee.head.line<E.lastLine()?{from:ee.head,to:qt(ee.head.line+1,0)}:{from:ee.head,to:qt(ee.head.line,be)}}else return{from:ee.from(),to:ee.to()}})},deleteLine:function(E){return _o(E,function(ee){return{from:qt(ee.from().line,0),to:Qt(E.doc,qt(ee.to().line+1,0))}})},delLineLeft:function(E){return _o(E,function(ee){return{from:qt(ee.from().line,0),to:ee.from()}})},delWrappedLineLeft:function(E){return _o(E,function(ee){var be=E.charCoords(ee.head,"div").top+5,ge=E.coordsChar({left:0,top:be},"div");return{from:ge,to:ee.from()}})},delWrappedLineRight:function(E){return _o(E,function(ee){var be=E.charCoords(ee.head,"div").top+5,ge=E.coordsChar({left:E.display.lineDiv.offsetWidth+100,top:be},"div");return{from:ee.from(),to:ge}})},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(qt(E.firstLine(),0))},goDocEnd:function(E){return E.extendSelection(qt(E.lastLine()))},goLineStart:function(E){return E.extendSelectionsBy(function(ee){return $u(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 qu(E,ee.head.line)},{origin:"+move",bias:-1})},goLineRight:function(E){return E.extendSelectionsBy(function(ee){var be=E.cursorCoords(ee.head,"div").top+5;return E.coordsChar({left:E.display.lineDiv.offsetWidth+100,top:be},"div")},it)},goLineLeft:function(E){return E.extendSelectionsBy(function(ee){var be=E.cursorCoords(ee.head,"div").top+5;return E.coordsChar({left:0,top:be},"div")},it)},goLineLeftSmart:function(E){return E.extendSelectionsBy(function(ee){var be=E.cursorCoords(ee.head,"div").top+5,ge=E.coordsChar({left:0,top:be},"div");return ge.ch<E.getLine(ge.line).search(/\S/)?cf(E,ee.head):ge},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=[],be=E.listSelections(),ge=E.options.tabSize,Ie=0;Ie<be.length;Ie++){var $e=be[Ie].from(),pt=Ve(E.getLine($e.line),$e.ch,ge);ee.push(Bt(ge-pt%ge))}E.replaceSelections(ee)},defaultTab:function(E){E.somethingSelected()?E.indentSelection("add"):E.execCommand("insertTab")},transposeChars:function(E){return xa(E,function(){for(var ee=E.listSelections(),be=[],ge=0;ge<ee.length;ge++)if(ee[ge].empty()){var Ie=ee[ge].head,$e=zt(E.doc,Ie.line).text;if($e){if(Ie.ch==$e.length&&(Ie=new qt(Ie.line,Ie.ch-1)),Ie.ch>0)Ie=new qt(Ie.line,Ie.ch+1),E.replaceRange($e.charAt(Ie.ch-1)+$e.charAt(Ie.ch-2),qt(Ie.line,Ie.ch-2),Ie,"+transpose");else if(Ie.line>E.doc.first){var pt=zt(E.doc,Ie.line-1).text;pt&&(Ie=new qt(Ie.line,1),E.replaceRange($e.charAt(0)+E.doc.lineSeparator()+pt.charAt(pt.length-1),qt(Ie.line-1,pt.length-1),Ie,"+transpose"))}}be.push(new Ji(Ie,Ie))}E.setSelections(be)})},newlineAndIndent:function(E){return xa(E,function(){for(var ee=E.listSelections(),be=ee.length-1;be>=0;be--)E.replaceRange(E.doc.lineSeparator(),ee[be].anchor,ee[be].head,"+input");ee=E.listSelections();for(var ge=0;ge<ee.length;ge++)E.indentLine(ee[ge].from().line,null,!0);el(E)})},openLine:function(E){return E.replaceSelection(`
`,"start")},toggleOverwrite:function(E){return E.toggleOverwrite()}};function $u(E,ee){var be=zt(E.doc,ee),ge=$n(be);return ge!=be&&(ee=hr(ge)),fl(!0,E,ge,ee,1)}function qu(E,ee){var be=zt(E.doc,ee),ge=Ci(be);return ge!=be&&(ee=hr(ge)),fl(!0,E,be,ee,-1)}function cf(E,ee){var be=$u(E,ee.line),ge=zt(E.doc,be.line),Ie=Vt(ge,E.doc.direction);if(!Ie||Ie[0].level==0){var $e=Math.max(be.ch,ge.text.search(/\S/)),pt=ee.line==be.line&&ee.ch<=$e&&ee.ch;return qt(be.line,pt?0:$e,be.sticky)}return be}function Ba(E,ee,be){if(typeof ee=="string"&&(ee=Dl[ee],!ee))return!1;E.display.input.ensurePolled();var ge=E.display.shift,Ie=!1;try{E.isReadOnly()&&(E.state.suppressEdits=!0),be&&(E.display.shift=!1),Ie=ee(E)!=at}finally{E.display.shift=ge,E.state.suppressEdits=!1}return Ie}function qo(E,ee,be){for(var ge=0;ge<E.state.keyMaps.length;ge++){var Ie=gs(ee,E.state.keyMaps[ge],be,E);if(Ie)return Ie}return E.options.extraKeys&&gs(ee,E.options.extraKeys,be,E)||gs(ee,E.options.keyMap,be,E)}var ih=new Ye;function Il(E,ee,be,ge){var Ie=E.state.keySeq;if(Ie){if(lc(ee))return"handled";if(/\'$/.test(ee)?E.state.keySeq=null:ih.set(50,function(){E.state.keySeq==Ie&&(E.state.keySeq=null,E.display.input.reset())}),eu(E,Ie+" "+ee,be,ge))return!0}return eu(E,ee,be,ge)}function eu(E,ee,be,ge){var Ie=qo(E,ee,ge);return Ie=="multi"&&(E.state.keySeq=ee),Ie=="handled"&&tn(E,"keyHandled",E,ee,be),(Ie=="handled"||Ie=="multi")&&(or(be),kc(E)),!!Ie}function zi(E,ee){var be=dl(ee,!0);return be?ee.shiftKey&&!E.state.keySeq?Il(E,"Shift-"+be,ee,function(ge){return Ba(E,ge,!0)})||Il(E,be,ee,function(ge){if(typeof ge=="string"?/^go[A-Z]/.test(ge):ge.motion)return Ba(E,ge)}):Il(E,be,ee,function(ge){return Ba(E,ge)}):!1}function Bl(E,ee,be){return Il(E,"'"+be+"'",ee,function(ge){return Ba(E,ge,!0)})}var vs=null;function cc(E){var ee=this;if(!(E.target&&E.target!=ee.display.input.getField())&&(ee.curOp.focus=Pe(),!St(ee,E))){ve&&re<11&&E.keyCode==27&&(E.returnValue=!1);var be=E.keyCode;ee.display.shift=be==16||E.shiftKey;var ge=zi(ee,E);le&&(vs=ge?be:null,!ge&&be==88&&!Un&&(we?E.metaKey:E.ctrlKey)&&ee.replaceSelection("",null,"cut")),Re&&!we&&!ge&&be==46&&E.shiftKey&&!E.ctrlKey&&document.execCommand&&document.execCommand("cut"),be==18&&!/\bCodeMirror-crosshair\b/.test(ee.display.lineDiv.className)&&$r(ee)}}function $r(E){var ee=E.display.lineDiv;Ue(ee,"CodeMirror-crosshair");function be(ge){(ge.keyCode==18||!ge.altKey)&&(_e(ee,"CodeMirror-crosshair"),Mt(document,"keyup",be),Mt(document,"mouseover",be))}jt(document,"keyup",be),jt(document,"mouseover",be)}function uf(E){E.keyCode==16&&(this.doc.sel.shift=!1),St(this,E)}function df(E){var ee=this;if(!(E.target&&E.target!=ee.display.input.getField())&&!(ra(ee.display,E)||St(ee,E)||E.ctrlKey&&!E.altKey||we&&E.metaKey)){var be=E.keyCode,ge=E.charCode;if(le&&be==vs){vs=null,or(E);return}if(!(le&&(!E.which||E.which<10)&&zi(ee,E))){var Ie=String.fromCharCode(ge==null?be:ge);Ie!="\b"&&(Bl(ee,E,Ie)||ee.display.input.onKeyPress(E))}}}var ed=400,td=function(E,ee,be){this.time=E,this.pos=ee,this.button=be};td.prototype.compare=function(E,ee,be){return this.time+ed>E&&vr(ee,this.pos)==0&&be==this.button};var ys,uc;function ah(E,ee){var be=+new Date;return uc&&uc.compare(be,E,ee)?(ys=uc=null,"triple"):ys&&ys.compare(be,E,ee)?(uc=new td(be,E,ee),ys=null,"double"):(ys=new td(be,E,ee),uc=null,"single")}function Qa(E){var ee=this,be=ee.display;if(!(St(ee,E)||be.activeTouch&&be.input.supportsTouch())){if(be.input.ensurePolled(),be.shift=E.shiftKey,ra(be,E)){ne||(be.scroller.draggable=!1,setTimeout(function(){return be.scroller.draggable=!0},100));return}if(!io(ee,E)){var ge=ko(ee,E),Ie=Br(E),$e=ge?ah(ge,Ie):"single";window.focus(),Ie==1&&ee.state.selectingText&&ee.state.selectingText(E),!(ge&&Ps(ee,Ie,ge,$e,E))&&(Ie==1?ge?ru(ee,ge,$e,E):Vr(E)==be.scroller&&or(E):Ie==2?(ge&&ll(ee.doc,ge),setTimeout(function(){return be.input.focus()},20)):Ie==3&&(Le?ee.display.input.onContextMenu(E):Tu(ee)))}}}function Ps(E,ee,be,ge,Ie){var $e="Click";return ge=="double"?$e="Double"+$e:ge=="triple"&&($e="Triple"+$e),$e=(ee==1?"Left":ee==2?"Middle":"Right")+$e,Il(E,Ls($e,Ie),Ie,function(pt){if(typeof pt=="string"&&(pt=Dl[pt]),!pt)return!1;var Ct=!1;try{E.isReadOnly()&&(E.state.suppressEdits=!0),Ct=pt(E,be)!=at}finally{E.state.suppressEdits=!1}return Ct})}function tu(E,ee,be){var ge=E.getOption("configureMouse"),Ie=ge?ge(E,ee,be):{};if(Ie.unit==null){var $e=Se?be.shiftKey&&be.metaKey:be.altKey;Ie.unit=$e?"rectangle":ee=="single"?"char":ee=="double"?"word":"line"}return(Ie.extend==null||E.doc.extend)&&(Ie.extend=E.doc.extend||be.shiftKey),Ie.addNew==null&&(Ie.addNew=we?be.metaKey:be.ctrlKey),Ie.moveOnDrag==null&&(Ie.moveOnDrag=!(we?be.altKey:be.ctrlKey)),Ie}function ru(E,ee,be,ge){ve?setTimeout(ot(Cl,E),0):E.curOp.focus=Pe();var Ie=tu(E,be,ge),$e=E.doc.sel,pt;E.options.dragDrop&&Ur&&!E.isReadOnly()&&be=="single"&&(pt=$e.contains(ee))>-1&&(vr((pt=$e.ranges[pt]).from(),ee)<0||ee.xRel>0)&&(vr(pt.to(),ee)>0||ee.xRel<0)?oh(E,ge,ee,Ie):rd(E,ge,ee,Ie)}function oh(E,ee,be,ge){var Ie=E.display,$e=!1,pt=Da(E,function(Pt){ne&&(Ie.scroller.draggable=!1),E.state.draggingText=!1,Mt(Ie.wrapper.ownerDocument,"mouseup",pt),Mt(Ie.wrapper.ownerDocument,"mousemove",Ct),Mt(Ie.scroller,"dragstart",Ot),Mt(Ie.scroller,"drop",pt),$e||(or(Pt),ge.addNew||ll(E.doc,be,null,null,ge.extend),ne&&!me||ve&&re==9?setTimeout(function(){Ie.wrapper.ownerDocument.body.focus({preventScroll:!0}),Ie.input.focus()},20):Ie.input.focus())}),Ct=function(Pt){$e=$e||Math.abs(ee.clientX-Pt.clientX)+Math.abs(ee.clientY-Pt.clientY)>=10},Ot=function(){return $e=!0};ne&&(Ie.scroller.draggable=!0),E.state.draggingText=pt,pt.copy=!ge.moveOnDrag,Ie.scroller.dragDrop&&Ie.scroller.dragDrop(),jt(Ie.wrapper.ownerDocument,"mouseup",pt),jt(Ie.wrapper.ownerDocument,"mousemove",Ct),jt(Ie.scroller,"dragstart",Ot),jt(Ie.scroller,"drop",pt),Tu(E),setTimeout(function(){return Ie.input.focus()},20)}function ff(E,ee,be){if(be=="char")return new Ji(ee,ee);if(be=="word")return E.findWordAt(ee);if(be=="line")return new Ji(qt(ee.line,0),Qt(E.doc,qt(ee.line+1,0)));var ge=be(E,ee);return new Ji(ge.from,ge.to)}function rd(E,ee,be,ge){var Ie=E.display,$e=E.doc;or(ee);var pt,Ct,Ot=$e.sel,Pt=Ot.ranges;if(ge.addNew&&!ge.extend?(Ct=$e.sel.contains(be),Ct>-1?pt=Pt[Ct]:pt=new Ji(be,be)):(pt=$e.sel.primary(),Ct=$e.sel.primIndex),ge.unit=="rectangle")ge.addNew||(pt=new Ji(be,be)),be=ko(E,ee,!0,!0),Ct=-1;else{var tr=ff(E,be,ge.unit);ge.extend?pt=Gc(pt,tr.anchor,tr.head,ge.extend):pt=tr}ge.addNew?Ct==-1?(Ct=Pt.length,Ia($e,No(E,Pt.concat([pt]),Ct),{scroll:!1,origin:"*mouse"})):Pt.length>1&&Pt[Ct].empty()&&ge.unit=="char"&&!ge.extend?(Ia($e,No(E,Pt.slice(0,Ct).concat(Pt.slice(Ct+1)),0),{scroll:!1,origin:"*mouse"}),Ot=$e.sel):Oo($e,Ct,pt,qe):(Ct=0,Ia($e,new Co([pt],0),qe),Ot=$e.sel);var ur=be;function Lr(Jn){if(vr(ur,Jn)!=0)if(ur=Jn,ge.unit=="rectangle"){for(var ii=[],pi=E.options.tabSize,bi=Ve(zt($e,be.line).text,be.ch,pi),_i=Ve(zt($e,Jn.line).text,Jn.ch,pi),oa=Math.min(bi,_i),Ua=Math.max(bi,_i),ya=Math.min(be.line,Jn.line),yo=Math.min(E.lastLine(),Math.max(be.line,Jn.line));ya<=yo;ya++){var bo=zt($e,ya).text,La=yt(bo,oa,pi);oa==Ua?ii.push(new Ji(qt(ya,La),qt(ya,La))):bo.length>La&&ii.push(new Ji(qt(ya,La),qt(ya,yt(bo,Ua,pi))))}ii.length||ii.push(new Ji(be,be)),Ia($e,No(E,Ot.ranges.slice(0,Ct).concat(ii),Ct),{origin:"*mouse",scroll:!1}),E.scrollIntoView(Jn)}else{var xo=pt,Ti=ff(E,Jn,ge.unit),wa=xo.anchor,ba;vr(Ti.anchor,wa)>0?(ba=Ti.head,wa=rr(xo.from(),Ti.anchor)):(ba=Ti.anchor,wa=Xt(xo.to(),Ti.head));var Sa=Ot.ranges.slice(0);Sa[Ct]=hf(E,new Ji(Qt($e,wa),ba)),Ia($e,No(E,Sa,Ct),qe)}}var kr=Ie.wrapper.getBoundingClientRect(),rn=0;function Mn(Jn){var ii=++rn,pi=ko(E,Jn,!0,ge.unit=="rectangle");if(pi)if(vr(pi,ur)!=0){E.curOp.focus=Pe(),Lr(pi);var bi=ja(Ie,$e);(pi.line>=bi.to||pi.line<bi.from)&&setTimeout(Da(E,function(){rn==ii&&Mn(Jn)}),150)}else{var _i=Jn.clientY<kr.top?-20:Jn.clientY>kr.bottom?20:0;_i&&setTimeout(Da(E,function(){rn==ii&&(Ie.scroller.scrollTop+=_i,Mn(Jn))}),50)}}function Kn(Jn){E.state.selectingText=!1,rn=1/0,Jn&&(or(Jn),Ie.input.focus()),Mt(Ie.wrapper.ownerDocument,"mousemove",Qn),Mt(Ie.wrapper.ownerDocument,"mouseup",ri),$e.history.lastSelOrigin=null}var Qn=Da(E,function(Jn){Jn.buttons===0||!Br(Jn)?Kn(Jn):Mn(Jn)}),ri=Da(E,Kn);E.state.selectingText=ri,jt(Ie.wrapper.ownerDocument,"mousemove",Qn),jt(Ie.wrapper.ownerDocument,"mouseup",ri)}function hf(E,ee){var be=ee.anchor,ge=ee.head,Ie=zt(E.doc,be.line);if(vr(be,ge)==0&&be.sticky==ge.sticky)return ee;var $e=Vt(Ie);if(!$e)return ee;var pt=gt($e,be.ch,be.sticky),Ct=$e[pt];if(Ct.from!=be.ch&&Ct.to!=be.ch)return ee;var Ot=pt+(Ct.from==be.ch==(Ct.level!=1)?0:1);if(Ot==0||Ot==$e.length)return ee;var Pt;if(ge.line!=be.line)Pt=(ge.line-be.line)*(E.doc.direction=="ltr"?1:-1)>0;else{var tr=gt($e,ge.ch,ge.sticky),ur=tr-pt||(ge.ch-be.ch)*(Ct.level==1?-1:1);tr==Ot-1||tr==Ot?Pt=ur<0:Pt=ur>0}var Lr=$e[Ot+(Pt?-1:0)],kr=Pt==(Lr.level==1),rn=kr?Lr.from:Lr.to,Mn=kr?"after":"before";return be.ch==rn&&be.sticky==Mn?ee:new Ji(new qt(be.line,rn,Mn),ge)}function dc(E,ee,be,ge){var Ie,$e;if(ee.touches)Ie=ee.touches[0].clientX,$e=ee.touches[0].clientY;else try{Ie=ee.clientX,$e=ee.clientY}catch(Lr){return!1}if(Ie>=Math.floor(E.display.gutters.getBoundingClientRect().right))return!1;ge&&or(ee);var pt=E.display,Ct=pt.lineDiv.getBoundingClientRect();if($e>Ct.bottom||!Ft(E,be))return Sr(ee);$e-=Ct.top-pt.viewOffset;for(var Ot=0;Ot<E.display.gutterSpecs.length;++Ot){var Pt=pt.gutters.childNodes[Ot];if(Pt&&Pt.getBoundingClientRect().right>=Ie){var tr=Cr(E.doc,$e),ur=E.display.gutterSpecs[Ot];return ft(E,be,E,tr,ur.className,ee),Sr(ee)}}}function io(E,ee){return dc(E,ee,"gutterClick",!0)}function Rs(E,ee){ra(E.display,ee)||pf(E,ee)||St(E,ee,"contextmenu")||Le||E.display.input.onContextMenu(ee)}function pf(E,ee){return Ft(E,"gutterContextMenu")?dc(E,ee,"gutterContextMenu",!1):!1}function nd(E){E.display.wrapper.className=E.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+E.options.theme.replace(/(^|\s)\s*/g," cm-s-"),na(E)}var Ns={toString:function(){return"CodeMirror.Init"}},mf={},nu={};function sh(E){var ee=E.optionHandlers;function be(ge,Ie,$e,pt){E.defaults[ge]=Ie,$e&&(ee[ge]=pt?function(Ct,Ot,Pt){Pt!=Ns&&$e(Ct,Ot,Pt)}:$e)}E.defineOption=be,E.Init=Ns,be("value","",function(ge,Ie){return ge.setValue(Ie)},!0),be("mode",null,function(ge,Ie){ge.doc.modeOption=Ie,jc(ge)},!0),be("indentUnit",2,jc,!0),be("indentWithTabs",!1),be("smartIndent",!0),be("tabSize",4,function(ge){ol(ge),na(ge),Xa(ge)},!0),be("lineSeparator",null,function(ge,Ie){if(ge.doc.lineSep=Ie,!!Ie){var $e=[],pt=ge.doc.first;ge.doc.iter(function(Ot){for(var Pt=0;;){var tr=Ot.text.indexOf(Ie,Pt);if(tr==-1)break;Pt=tr+Ie.length,$e.push(qt(pt,tr))}pt++});for(var Ct=$e.length-1;Ct>=0;Ct--)Al(ge.doc,Ie,$e[Ct],qt($e[Ct].line,$e[Ct].ch+Ie.length))}}),be("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(ge,Ie,$e){ge.state.specialChars=new RegExp(Ie.source+(Ie.test(" ")?"":"| "),"g"),$e!=Ns&&ge.refresh()}),be("specialCharPlaceholder",Ki,function(ge){return ge.refresh()},!0),be("electricChars",!0),be("inputStyle",he?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),be("spellcheck",!1,function(ge,Ie){return ge.getInputField().spellcheck=Ie},!0),be("autocorrect",!1,function(ge,Ie){return ge.getInputField().autocorrect=Ie},!0),be("autocapitalize",!1,function(ge,Ie){return ge.getInputField().autocapitalize=Ie},!0),be("rtlMoveVisually",!xe),be("wholeLineUpdateBefore",!0),be("theme","default",function(ge){nd(ge),El(ge)},!0),be("keyMap","default",function(ge,Ie,$e){var pt=fo(Ie),Ct=$e!=Ns&&fo($e);Ct&&Ct.detach&&Ct.detach(ge,pt),pt.attach&&pt.attach(ge,Ct||null)}),be("extraKeys",null),be("configureMouse",null),be("lineWrapping",!1,gf,!0),be("gutters",[],function(ge,Ie){ge.display.gutterSpecs=Rc(Ie,ge.options.lineNumbers),El(ge)},!0),be("fixedGutter",!0,function(ge,Ie){ge.display.gutters.style.left=Ie?qi(ge.display)+"px":"0",ge.refresh()},!0),be("coverGutterNextToScrollbar",!1,function(ge){return ks(ge)},!0),be("scrollbarStyle","native",function(ge){Lu(ge),ks(ge),ge.display.scrollbars.setScrollTop(ge.doc.scrollTop),ge.display.scrollbars.setScrollLeft(ge.doc.scrollLeft)},!0),be("lineNumbers",!1,function(ge,Ie){ge.display.gutterSpecs=Rc(ge.options.gutters,Ie),El(ge)},!0),be("firstLineNumber",1,El,!0),be("lineNumberFormatter",function(ge){return ge},El,!0),be("showCursorWhenSelecting",!1,Sl,!0),be("resetSelectionOnContextMenu",!0),be("lineWiseCopyCut",!0),be("pasteLinesPerSelection",!0),be("selectionsMayTouch",!1),be("readOnly",!1,function(ge,Ie){Ie=="nocursor"&&($s(ge),ge.display.input.blur()),ge.display.input.readOnlyChanged(Ie)}),be("screenReaderLabel",null,function(ge,Ie){Ie=Ie===""?null:Ie,ge.display.input.screenReaderLabelChanged(Ie)}),be("disableInput",!1,function(ge,Ie){Ie||ge.display.input.reset()},!0),be("dragDrop",!0,lh),be("allowDropFileTypes",null),be("cursorBlinkRate",530),be("cursorScrollMargin",0),be("cursorHeight",1,Sl,!0),be("singleCursorHeightPerLine",!0,Sl,!0),be("workTime",100),be("workDelay",100),be("flattenSpans",!0,ol,!0),be("addModeClass",!1,ol,!0),be("pollInterval",100),be("undoDepth",200,function(ge,Ie){return ge.doc.history.undoDepth=Ie}),be("historyEventDelay",1250),be("viewportMargin",10,function(ge){return ge.refresh()},!0),be("maxHighlightLength",1e4,ol,!0),be("moveInputWithCursor",!0,function(ge,Ie){Ie||ge.display.input.resetPosition()}),be("tabindex",null,function(ge,Ie){return ge.display.input.getField().tabIndex=Ie||""}),be("autofocus",null),be("direction","ltr",function(ge,Ie){return ge.doc.setDirection(Ie)},!0),be("phrases",null)}function lh(E,ee,be){var ge=be&&be!=Ns;if(!ee!=!ge){var Ie=E.display.dragFunctions,$e=ee?jt:Mt;$e(E.display.scroller,"dragstart",Ie.start),$e(E.display.scroller,"dragenter",Ie.enter),$e(E.display.scroller,"dragover",Ie.over),$e(E.display.scroller,"dragleave",Ie.leave),$e(E.display.scroller,"drop",Ie.drop)}}function gf(E){E.options.lineWrapping?(Ue(E.display.wrapper,"CodeMirror-wrap"),E.display.sizer.style.minWidth="",E.display.sizerWidth=null):(_e(E.display.wrapper,"CodeMirror-wrap"),an(E)),_a(E),Xa(E),na(E),setTimeout(function(){return ks(E)},100)}function Mi(E,ee){var be=this;if(!(this instanceof Mi))return new Mi(E,ee);this.options=ee=ee?lt(ee):{},lt(mf,ee,!1);var ge=ee.value;typeof ge=="string"?ge=new Aa(ge,ee.mode,null,ee.lineSeparator,ee.direction):ee.mode&&(ge.modeOption=ee.mode),this.doc=ge;var Ie=new Mi.inputStyles[ee.inputStyle](this),$e=this.display=new Yd(E,ge,Ie,ee);$e.wrapper.CodeMirror=this,nd(this),ee.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Lu(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 Ye,keySeq:null,specialChars:null},ee.autofocus&&!he&&$e.input.focus(),ve&&re<11&&setTimeout(function(){return be.display.input.reset(!0)},20),ch(this),Ju(),Ts(this),this.curOp.forceUpdate=!0,$l(this,ge),ee.autofocus&&!he||this.hasFocus()?setTimeout(function(){be.hasFocus()&&!be.state.focused&&Tc(be)},20):$s(this);for(var pt in nu)nu.hasOwnProperty(pt)&&nu[pt](this,ee[pt],Ns);Jl(this),ee.finishInit&&ee.finishInit(this);for(var Ct=0;Ct<id.length;++Ct)id[Ct](this);us(this),ne&&ee.lineWrapping&&getComputedStyle($e.lineDiv).textRendering=="optimizelegibility"&&($e.lineDiv.style.textRendering="auto")}Mi.defaults=mf,Mi.optionHandlers=nu;function ch(E){var ee=E.display;jt(ee.scroller,"mousedown",Da(E,Qa)),ve&&re<11?jt(ee.scroller,"dblclick",Da(E,function(Ot){if(!St(E,Ot)){var Pt=ko(E,Ot);if(!(!Pt||io(E,Ot)||ra(E.display,Ot))){or(Ot);var tr=E.findWordAt(Pt);ll(E.doc,tr.anchor,tr.head)}}})):jt(ee.scroller,"dblclick",function(Ot){return St(E,Ot)||or(Ot)}),jt(ee.scroller,"contextmenu",function(Ot){return Rs(E,Ot)}),jt(ee.input.getField(),"contextmenu",function(Ot){ee.scroller.contains(Ot.target)||Rs(E,Ot)});var be,ge={end:0};function Ie(){ee.activeTouch&&(be=setTimeout(function(){return ee.activeTouch=null},1e3),ge=ee.activeTouch,ge.end=+new Date)}function $e(Ot){if(Ot.touches.length!=1)return!1;var Pt=Ot.touches[0];return Pt.radiusX<=1&&Pt.radiusY<=1}function pt(Ot,Pt){if(Pt.left==null)return!0;var tr=Pt.left-Ot.left,ur=Pt.top-Ot.top;return tr*tr+ur*ur>20*20}jt(ee.scroller,"touchstart",function(Ot){if(!St(E,Ot)&&!$e(Ot)&&!io(E,Ot)){ee.input.ensurePolled(),clearTimeout(be);var Pt=+new Date;ee.activeTouch={start:Pt,moved:!1,prev:Pt-ge.end<=300?ge:null},Ot.touches.length==1&&(ee.activeTouch.left=Ot.touches[0].pageX,ee.activeTouch.top=Ot.touches[0].pageY)}}),jt(ee.scroller,"touchmove",function(){ee.activeTouch&&(ee.activeTouch.moved=!0)}),jt(ee.scroller,"touchend",function(Ot){var Pt=ee.activeTouch;if(Pt&&!ra(ee,Ot)&&Pt.left!=null&&!Pt.moved&&new Date-Pt.start<300){var tr=E.coordsChar(ee.activeTouch,"page"),ur;!Pt.prev||pt(Pt,Pt.prev)?ur=new Ji(tr,tr):!Pt.prev.prev||pt(Pt,Pt.prev.prev)?ur=E.findWordAt(tr):ur=new Ji(qt(tr.line,0),Qt(E.doc,qt(tr.line+1,0))),E.setSelection(ur.anchor,ur.head),E.focus(),or(Ot)}Ie()}),jt(ee.scroller,"touchcancel",Ie),jt(ee.scroller,"scroll",function(){ee.scroller.clientHeight&&(As(E,ee.scroller.scrollTop),Ms(E,ee.scroller.scrollLeft,!0),ft(E,"scroll",E))}),jt(ee.scroller,"mousewheel",function(Ot){return zu(E,Ot)}),jt(ee.scroller,"DOMMouseScroll",function(Ot){return zu(E,Ot)}),jt(ee.wrapper,"scroll",function(){return ee.wrapper.scrollTop=ee.wrapper.scrollLeft=0}),ee.dragFunctions={enter:function(Ot){St(E,Ot)||Fr(Ot)},over:function(Ot){St(E,Ot)||(Yu(E,Ot),Fr(Ot))},start:function(Ot){return rh(E,Ot)},drop:Da(E,th),leave:function(Ot){St(E,Ot)||Tl(E)}};var Ct=ee.input.getField();jt(Ct,"keyup",function(Ot){return uf.call(E,Ot)}),jt(Ct,"keydown",Da(E,cc)),jt(Ct,"keypress",Da(E,df)),jt(Ct,"focus",function(Ot){return Tc(E,Ot)}),jt(Ct,"blur",function(Ot){return $s(E,Ot)})}var id=[];Mi.defineInitHook=function(E){return id.push(E)};function Wo(E,ee,be,ge){var Ie=E.doc,$e;be==null&&(be="add"),be=="smart"&&(Ie.mode.indent?$e=pr(E,ee).state:be="prev");var pt=E.options.tabSize,Ct=zt(Ie,ee),Ot=Ve(Ct.text,null,pt);Ct.stateAfter&&(Ct.stateAfter=null);var Pt=Ct.text.match(/^\s*/)[0],tr;if(!ge&&!/\S/.test(Ct.text))tr=0,be="not";else if(be=="smart"&&(tr=Ie.mode.indent($e,Ct.text.slice(Pt.length),Ct.text),tr==at||tr>150)){if(!ge)return;be="prev"}be=="prev"?ee>Ie.first?tr=Ve(zt(Ie,ee-1).text,null,pt):tr=0:be=="add"?tr=Ot+E.options.indentUnit:be=="subtract"?tr=Ot-E.options.indentUnit:typeof be=="number"&&(tr=Ot+be),tr=Math.max(0,tr);var ur="",Lr=0;if(E.options.indentWithTabs)for(var kr=Math.floor(tr/pt);kr;--kr)Lr+=pt,ur+=" ";if(Lr<tr&&(ur+=Bt(tr-Lr)),ur!=Pt)return Al(Ie,ur,qt(ee,0),qt(ee,Pt.length),"+input"),Ct.stateAfter=null,!0;for(var rn=0;rn<Ie.sel.ranges.length;rn++){var Mn=Ie.sel.ranges[rn];if(Mn.head.line==ee&&Mn.head.ch<Pt.length){var Kn=qt(ee,Pt.length);Oo(Ie,rn,new Ji(Kn,Kn));break}}}var Uo=null;function _s(E){Uo=E}function ad(E,ee,be,ge,Ie){var $e=E.doc;E.display.shift=!1,ge||(ge=$e.sel);var pt=+new Date-200,Ct=Ie=="paste"||E.state.pasteIncoming>pt,Ot=Tn(ee),Pt=null;if(Ct&&ge.ranges.length>1)if(Uo&&Uo.text.join(`
`)==ee){if(ge.ranges.length%Uo.text.length==0){Pt=[];for(var tr=0;tr<Uo.text.length;tr++)Pt.push($e.splitLines(Uo.text[tr]))}}else Ot.length==ge.ranges.length&&E.options.pasteLinesPerSelection&&(Pt=st(Ot,function(Qn){return[Qn]}));for(var ur=E.curOp.updateInput,Lr=ge.ranges.length-1;Lr>=0;Lr--){var kr=ge.ranges[Lr],rn=kr.from(),Mn=kr.to();kr.empty()&&(be&&be>0?rn=qt(rn.line,rn.ch-be):E.state.overwrite&&!Ct?Mn=qt(Mn.line,Math.min(zt($e,Mn.line).text.length,Mn.ch+Et(Ot).length)):Ct&&Uo&&Uo.lineWise&&Uo.text.join(`
`)==Ot.join(`
`)&&(rn=Mn=qt(rn.line,0)));var Kn={from:rn,to:Mn,text:Pt?Pt[Lr%Pt.length]:Ot,origin:Ie||(Ct?"paste":E.state.cutIncoming>pt?"cut":"+input")};Os(E.doc,Kn),tn(E,"inputRead",E,Kn)}ee&&!Ct&&sd(E,ee),el(E),E.curOp.updateInput<2&&(E.curOp.updateInput=ur),E.curOp.typing=!0,E.state.pasteIncoming=E.state.cutIncoming=-1}function od(E,ee){var be=E.clipboardData&&E.clipboardData.getData("Text");if(be)return E.preventDefault(),!ee.isReadOnly()&&!ee.options.disableInput&&xa(ee,function(){return ad(ee,be,0,null,"paste")}),!0}function sd(E,ee){if(!(!E.options.electricChars||!E.options.smartIndent))for(var be=E.doc.sel,ge=be.ranges.length-1;ge>=0;ge--){var Ie=be.ranges[ge];if(!(Ie.head.ch>100||ge&&be.ranges[ge-1].head.line==Ie.head.line)){var $e=E.getModeAt(Ie.head),pt=!1;if($e.electricChars){for(var Ct=0;Ct<$e.electricChars.length;Ct++)if(ee.indexOf($e.electricChars.charAt(Ct))>-1){pt=Wo(E,Ie.head.line,"smart");break}}else $e.electricInput&&$e.electricInput.test(zt(E.doc,Ie.head.line).text.slice(0,Ie.head.ch))&&(pt=Wo(E,Ie.head.line,"smart"));pt&&tn(E,"electricInput",E,Ie.head.line)}}}function Ll(E){for(var ee=[],be=[],ge=0;ge<E.doc.sel.ranges.length;ge++){var Ie=E.doc.sel.ranges[ge].head.line,$e={anchor:qt(Ie,0),head:qt(Ie+1,0)};be.push($e),ee.push(E.getRange($e.anchor,$e.head))}return{text:ee,ranges:be}}function vf(E,ee,be,ge){E.setAttribute("autocorrect",be?"":"off"),E.setAttribute("autocapitalize",ge?"":"off"),E.setAttribute("spellcheck",!!ee)}function ld(){var E=Ce("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),ee=Ce("div",[E],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ne?E.style.width="1000px":E.setAttribute("wrap","off"),ue&&(E.style.border="1px solid black"),vf(E),ee}function cd(E){var ee=E.optionHandlers,be=E.helpers={};E.prototype={constructor:E,focus:function(){window.focus(),this.display.input.focus()},setOption:function(ge,Ie){var $e=this.options,pt=$e[ge];$e[ge]==Ie&&ge!="mode"||($e[ge]=Ie,ee.hasOwnProperty(ge)&&Da(this,ee[ge])(this,Ie,pt),ft(this,"optionChange",this,ge))},getOption:function(ge){return this.options[ge]},getDoc:function(){return this.doc},addKeyMap:function(ge,Ie){this.state.keyMaps[Ie?"push":"unshift"](fo(ge))},removeKeyMap:function(ge){for(var Ie=this.state.keyMaps,$e=0;$e<Ie.length;++$e)if(Ie[$e]==ge||Ie[$e].name==ge)return Ie.splice($e,1),!0},addOverlay:va(function(ge,Ie){var $e=ge.token?ge:E.getMode(this.options,ge);if($e.startState)throw new Error("Overlays may not be stateful.");Ge(this.state.overlays,{mode:$e,modeSpec:ge,opaque:Ie&&Ie.opaque,priority:Ie&&Ie.priority||0},function(pt){return pt.priority}),this.state.modeGen++,Xa(this)}),removeOverlay:va(function(ge){for(var Ie=this.state.overlays,$e=0;$e<Ie.length;++$e){var pt=Ie[$e].modeSpec;if(pt==ge||typeof ge=="string"&&pt.name==ge){Ie.splice($e,1),this.state.modeGen++,Xa(this);return}}}),indentLine:va(function(ge,Ie,$e){typeof Ie!="string"&&typeof Ie!="number"&&(Ie==null?Ie=this.options.smartIndent?"smart":"prev":Ie=Ie?"add":"subtract"),Dr(this.doc,ge)&&Wo(this,ge,Ie,$e)}),indentSelection:va(function(ge){for(var Ie=this.doc.sel.ranges,$e=-1,pt=0;pt<Ie.length;pt++){var Ct=Ie[pt];if(Ct.empty())Ct.head.line>$e&&(Wo(this,Ct.head.line,ge,!0),$e=Ct.head.line,pt==this.doc.sel.primIndex&&el(this));else{var Ot=Ct.from(),Pt=Ct.to(),tr=Math.max($e,Ot.line);$e=Math.min(this.lastLine(),Pt.line-(Pt.ch?0:1))+1;for(var ur=tr;ur<$e;++ur)Wo(this,ur,ge);var Lr=this.doc.sel.ranges;Ot.ch==0&&Ie.length==Lr.length&&Lr[pt].from().ch>0&&Oo(this.doc,pt,new Ji(Ot,Lr[pt].to()),et)}}}),getTokenAt:function(ge,Ie){return Qr(this,ge,Ie)},getLineTokens:function(ge,Ie){return Qr(this,qt(ge),Ie,!0)},getTokenTypeAt:function(ge){ge=Qt(this.doc,ge);var Ie=lr(this,zt(this.doc,ge.line)),$e=0,pt=(Ie.length-1)/2,Ct=ge.ch,Ot;if(Ct==0)Ot=Ie[2];else for(;;){var Pt=$e+pt>>1;if((Pt?Ie[Pt*2-1]:0)>=Ct)pt=Pt;else if(Ie[Pt*2+1]<Ct)$e=Pt+1;else{Ot=Ie[Pt*2+2];break}}var tr=Ot?Ot.indexOf("overlay "):-1;return tr<0?Ot:tr==0?null:Ot.slice(0,tr-1)},getModeAt:function(ge){var Ie=this.doc.mode;return Ie.innerMode?E.innerMode(Ie,this.getTokenAt(ge).state).mode:Ie},getHelper:function(ge,Ie){return this.getHelpers(ge,Ie)[0]},getHelpers:function(ge,Ie){var $e=[];if(!be.hasOwnProperty(Ie))return $e;var pt=be[Ie],Ct=this.getModeAt(ge);if(typeof Ct[Ie]=="string")pt[Ct[Ie]]&&$e.push(pt[Ct[Ie]]);else if(Ct[Ie])for(var Ot=0;Ot<Ct[Ie].length;Ot++){var Pt=pt[Ct[Ie][Ot]];Pt&&$e.push(Pt)}else Ct.helperType&&pt[Ct.helperType]?$e.push(pt[Ct.helperType]):pt[Ct.name]&&$e.push(pt[Ct.name]);for(var tr=0;tr<pt._global.length;tr++){var ur=pt._global[tr];ur.pred(Ct,this)&&nt($e,ur.val)==-1&&$e.push(ur.val)}return $e},getStateAfter:function(ge,Ie){var $e=this.doc;return ge=gr($e,ge==null?$e.first+$e.size-1:ge),pr(this,ge+1,Ie).state},cursorCoords:function(ge,Ie){var $e,pt=this.doc.sel.primary();return ge==null?$e=pt.head:typeof ge=="object"?$e=Qt(this.doc,ge):$e=ge?pt.from():pt.to(),Na(this,$e,Ie||"page")},charCoords:function(ge,Ie){return vo(this,Qt(this.doc,ge),Ie||"page")},coordsChar:function(ge,Ie){return ge=go(this,ge,Ie||"page"),Qs(this,ge.left,ge.top)},lineAtHeight:function(ge,Ie){return ge=go(this,{top:ge,left:0},Ie||"page").top,Cr(this.doc,ge+this.display.viewOffset)},heightAtLine:function(ge,Ie,$e){var pt=!1,Ct;if(typeof ge=="number"){var Ot=this.doc.first+this.doc.size-1;ge<this.doc.first?ge=this.doc.first:ge>Ot&&(ge=Ot,pt=!0),Ct=zt(this.doc,ge)}else Ct=ge;return Wa(this,Ct,{top:0,left:0},Ie||"page",$e||pt).top+(pt?this.doc.height-En(Ct):0)},defaultTextHeight:function(){return os(this.display)},defaultCharWidth:function(){return Zi(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ge,Ie,$e,pt,Ct){var Ot=this.display;ge=Na(this,Qt(this.doc,ge));var Pt=ge.bottom,tr=ge.left;if(Ie.style.position="absolute",Ie.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Ie),Ot.sizer.appendChild(Ie),pt=="over")Pt=ge.top;else if(pt=="above"||pt=="near"){var ur=Math.max(Ot.wrapper.clientHeight,this.doc.height),Lr=Math.max(Ot.sizer.clientWidth,Ot.lineSpace.clientWidth);(pt=="above"||ge.bottom+Ie.offsetHeight>ur)&&ge.top>Ie.offsetHeight?Pt=ge.top-Ie.offsetHeight:ge.bottom+Ie.offsetHeight<=ur&&(Pt=ge.bottom),tr+Ie.offsetWidth>Lr&&(tr=Lr-Ie.offsetWidth)}Ie.style.top=Pt+"px",Ie.style.left=Ie.style.right="",Ct=="right"?(tr=Ot.sizer.clientWidth-Ie.offsetWidth,Ie.style.right="0px"):(Ct=="left"?tr=0:Ct=="middle"&&(tr=(Ot.sizer.clientWidth-Ie.offsetWidth)/2),Ie.style.left=tr+"px"),$e&&_d(this,{left:tr,top:Pt,right:tr+Ie.offsetWidth,bottom:Pt+Ie.offsetHeight})},triggerOnKeyDown:va(cc),triggerOnKeyPress:va(df),triggerOnKeyUp:uf,triggerOnMouseDown:va(Qa),execCommand:function(ge){if(Dl.hasOwnProperty(ge))return Dl[ge].call(null,this)},triggerElectric:va(function(ge){sd(this,ge)}),findPosH:function(ge,Ie,$e,pt){var Ct=1;Ie<0&&(Ct=-1,Ie=-Ie);for(var Ot=Qt(this.doc,ge),Pt=0;Pt<Ie&&(Ot=iu(this.doc,Ot,Ct,$e,pt),!Ot.hitSide);++Pt);return Ot},moveH:va(function(ge,Ie){var $e=this;this.extendSelectionsBy(function(pt){return $e.display.shift||$e.doc.extend||pt.empty()?iu($e.doc,pt.head,ge,Ie,$e.options.rtlMoveVisually):ge<0?pt.from():pt.to()},it)}),deleteH:va(function(ge,Ie){var $e=this.doc.sel,pt=this.doc;$e.somethingSelected()?pt.replaceSelection("",null,"+delete"):_o(this,function(Ct){var Ot=iu(pt,Ct.head,ge,Ie,!1);return ge<0?{from:Ot,to:Ct.head}:{from:Ct.head,to:Ot}})}),findPosV:function(ge,Ie,$e,pt){var Ct=1,Ot=pt;Ie<0&&(Ct=-1,Ie=-Ie);for(var Pt=Qt(this.doc,ge),tr=0;tr<Ie;++tr){var ur=Na(this,Pt,"div");if(Ot==null?Ot=ur.left:ur.left=Ot,Pt=yf(this,ur,Ct,$e),Pt.hitSide)break}return Pt},moveV:va(function(ge,Ie){var $e=this,pt=this.doc,Ct=[],Ot=!this.display.shift&&!pt.extend&&pt.sel.somethingSelected();if(pt.extendSelectionsBy(function(tr){if(Ot)return ge<0?tr.from():tr.to();var ur=Na($e,tr.head,"div");tr.goalColumn!=null&&(ur.left=tr.goalColumn),Ct.push(ur.left);var Lr=yf($e,ur,ge,Ie);return Ie=="page"&&tr==pt.sel.primary()&&Oc($e,vo($e,Lr,"div").top-ur.top),Lr},it),Ct.length)for(var Pt=0;Pt<pt.sel.ranges.length;Pt++)pt.sel.ranges[Pt].goalColumn=Ct[Pt]}),findWordAt:function(ge){var Ie=this.doc,$e=zt(Ie,ge.line).text,pt=ge.ch,Ct=ge.ch;if($e){var Ot=this.getHelper(ge,"wordChars");(ge.sticky=="before"||Ct==$e.length)&&pt?--pt:++Ct;for(var Pt=$e.charAt(pt),tr=He(Pt,Ot)?function(ur){return He(ur,Ot)}:/\s/.test(Pt)?function(ur){return/\s/.test(ur)}:function(ur){return!/\s/.test(ur)&&!He(ur)};pt>0&&tr($e.charAt(pt-1));)--pt;for(;Ct<$e.length&&tr($e.charAt(Ct));)++Ct}return new Ji(qt(ge.line,pt),qt(ge.line,Ct))},toggleOverwrite:function(ge){ge!=null&&ge==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Ue(this.display.cursorDiv,"CodeMirror-overwrite"):_e(this.display.cursorDiv,"CodeMirror-overwrite"),ft(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Pe()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:va(function(ge,Ie){tl(this,ge,Ie)}),getScrollInfo:function(){var ge=this.display.scroller;return{left:ge.scrollLeft,top:ge.scrollTop,height:ge.scrollHeight-ma(this)-this.display.barHeight,width:ge.scrollWidth-ma(this)-this.display.barWidth,clientHeight:ho(this),clientWidth:ca(this)}},scrollIntoView:va(function(ge,Ie){ge==null?(ge={from:this.doc.sel.primary().head,to:null},Ie==null&&(Ie=this.options.cursorScrollMargin)):typeof ge=="number"?ge={from:qt(ge,0),to:null}:ge.from==null&&(ge={from:ge,to:null}),ge.to||(ge.to=ge.from),ge.margin=Ie||0,ge.from.line!=null?jd(this,ge):Du(this,ge.from,ge.to,ge.margin)}),setSize:va(function(ge,Ie){var $e=this,pt=function(Ot){return typeof Ot=="number"||/^\d+$/.test(String(Ot))?Ot+"px":Ot};ge!=null&&(this.display.wrapper.style.width=pt(ge)),Ie!=null&&(this.display.wrapper.style.height=pt(Ie)),this.options.lineWrapping&&Ra(this);var Ct=this.display.viewFrom;this.doc.iter(Ct,this.display.viewTo,function(Ot){if(Ot.widgets){for(var Pt=0;Pt<Ot.widgets.length;Pt++)if(Ot.widgets[Pt].noHScroll){Po($e,Ct,"widget");break}}++Ct}),this.curOp.forceUpdate=!0,ft(this,"refresh",this)}),operation:function(ge){return xa(this,ge)},startOperation:function(){return Ts(this)},endOperation:function(){return us(this)},refresh:va(function(){var ge=this.display.cachedTextHeight;Xa(this),this.curOp.forceUpdate=!0,na(this),tl(this,this.doc.scrollLeft,this.doc.scrollTop),Lc(this.display),(ge==null||Math.abs(ge-os(this.display))>.5||this.options.lineWrapping)&&_a(this),ft(this,"refresh",this)}),swapDoc:va(function(ge){var Ie=this.doc;return Ie.cm=null,this.state.selectingText&&this.state.selectingText(),$l(this,ge),na(this),this.display.input.reset(),tl(this,ge.scrollLeft,ge.scrollTop),this.curOp.forceScroll=!0,tn(this,"swapDoc",this,Ie),Ie}),phrase:function(ge){var Ie=this.options.phrases;return Ie&&Object.prototype.hasOwnProperty.call(Ie,ge)?Ie[ge]:ge},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}},Zt(E),E.registerHelper=function(ge,Ie,$e){be.hasOwnProperty(ge)||(be[ge]=E[ge]={_global:[]}),be[ge][Ie]=$e},E.registerGlobalHelper=function(ge,Ie,$e,pt){E.registerHelper(ge,Ie,pt),be[ge]._global.push({pred:$e,val:pt})}}function iu(E,ee,be,ge,Ie){var $e=ee,pt=be,Ct=zt(E,ee.line),Ot=Ie&&E.direction=="rtl"?-be:be;function Pt(){var ri=ee.line+Ot;return ri<E.first||ri>=E.first+E.size?!1:(ee=new qt(ri,ee.ch,ee.sticky),Ct=zt(E,ri))}function tr(ri){var Jn;if(ge=="codepoint"){var ii=Ct.text.charCodeAt(ee.ch+(ge>0?0:-1));isNaN(ii)?Jn=null:Jn=new qt(ee.line,Math.max(0,Math.min(Ct.text.length,ee.ch+be*(ii>=55296&&ii<56320?2:1))),-be)}else Ie?Jn=$o(E.cm,Ct,ee,be):Jn=Qo(Ct,ee,be);if(Jn==null)if(!ri&&Pt())ee=fl(Ie,E.cm,Ct,ee.line,Ot);else return!1;else ee=Jn;return!0}if(ge=="char"||ge=="codepoint")tr();else if(ge=="column")tr(!0);else if(ge=="word"||ge=="group")for(var ur=null,Lr=ge=="group",kr=E.cm&&E.cm.getHelper(ee,"wordChars"),rn=!0;!(be<0&&!tr(!rn));rn=!1){var Mn=Ct.text.charAt(ee.ch)||`
`,Kn=He(Mn,kr)?"w":Lr&&Mn==`
`?"n":!Lr||/\s/.test(Mn)?null:"p";if(Lr&&!rn&&!Kn&&(Kn="s"),ur&&ur!=Kn){be<0&&(be=1,tr(),ee.sticky="after");break}if(Kn&&(ur=Kn),be>0&&!tr(!rn))break}var Qn=Xc(E,ee,$e,pt,!0);return Ht($e,Qn)&&(Qn.hitSide=!0),Qn}function yf(E,ee,be,ge){var Ie=E.doc,$e=ee.left,pt;if(ge=="page"){var Ct=Math.min(E.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ot=Math.max(Ct-.5*os(E.display),3);pt=(be>0?ee.bottom:ee.top)+be*Ot}else ge=="line"&&(pt=be>0?ee.bottom+3:ee.top-3);for(var Pt;Pt=Qs(E,$e,pt),!!Pt.outside;){if(be<0?pt<=0:pt>=Ie.height){Pt.hitSide=!0;break}pt+=be*5}return Pt}var ea=function(E){this.cm=E,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ye,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ea.prototype.init=function(E){var ee=this,be=this,ge=be.cm,Ie=be.div=E.lineDiv;vf(Ie,ge.options.spellcheck,ge.options.autocorrect,ge.options.autocapitalize);function $e(Ct){for(var Ot=Ct.target;Ot;Ot=Ot.parentNode){if(Ot==Ie)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ot.className))break}return!1}jt(Ie,"paste",function(Ct){!$e(Ct)||St(ge,Ct)||od(Ct,ge)||re<=11&&setTimeout(Da(ge,function(){return ee.updateFromDOM()}),20)}),jt(Ie,"compositionstart",function(Ct){ee.composing={data:Ct.data,done:!1}}),jt(Ie,"compositionupdate",function(Ct){ee.composing||(ee.composing={data:Ct.data,done:!1})}),jt(Ie,"compositionend",function(Ct){ee.composing&&(Ct.data!=ee.composing.data&&ee.readFromDOMSoon(),ee.composing.done=!0)}),jt(Ie,"touchstart",function(){return be.forceCompositionEnd()}),jt(Ie,"input",function(){ee.composing||ee.readFromDOMSoon()});function pt(Ct){if(!(!$e(Ct)||St(ge,Ct))){if(ge.somethingSelected())_s({lineWise:!1,text:ge.getSelections()}),Ct.type=="cut"&&ge.replaceSelection("",null,"cut");else if(ge.options.lineWiseCopyCut){var Ot=Ll(ge);_s({lineWise:!0,text:Ot.text}),Ct.type=="cut"&&ge.operation(function(){ge.setSelections(Ot.ranges,0,et),ge.replaceSelection("",null,"cut")})}else return;if(Ct.clipboardData){Ct.clipboardData.clearData();var Pt=Uo.text.join(`
`);if(Ct.clipboardData.setData("Text",Pt),Ct.clipboardData.getData("Text")==Pt){Ct.preventDefault();return}}var tr=ld(),ur=tr.firstChild;ge.display.lineSpace.insertBefore(tr,ge.display.lineSpace.firstChild),ur.value=Uo.text.join(`
`);var Lr=document.activeElement;tt(ur),setTimeout(function(){ge.display.lineSpace.removeChild(tr),Lr.focus(),Lr==Ie&&be.showPrimarySelection()},50)}}jt(Ie,"copy",pt),jt(Ie,"cut",pt)},ea.prototype.screenReaderLabelChanged=function(E){E?this.div.setAttribute("aria-label",E):this.div.removeAttribute("aria-label")},ea.prototype.prepareSelection=function(){var E=Mu(this.cm,!1);return E.focus=document.activeElement==this.div,E},ea.prototype.showSelection=function(E,ee){!E||!this.cm.display.view.length||((E.focus||ee)&&this.showPrimarySelection(),this.showMultipleSelections(E))},ea.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ea.prototype.showPrimarySelection=function(){var E=this.getSelection(),ee=this.cm,be=ee.doc.sel.primary(),ge=be.from(),Ie=be.to();if(ee.display.viewTo==ee.display.viewFrom||ge.line>=ee.display.viewTo||Ie.line<ee.display.viewFrom){E.removeAllRanges();return}var $e=au(ee,E.anchorNode,E.anchorOffset),pt=au(ee,E.focusNode,E.focusOffset);if(!($e&&!$e.bad&&pt&&!pt.bad&&vr(rr($e,pt),ge)==0&&vr(Xt($e,pt),Ie)==0)){var Ct=ee.display.view,Ot=ge.line>=ee.display.viewFrom&&bf(ee,ge)||{node:Ct[0].measure.map[2],offset:0},Pt=Ie.line<ee.display.viewTo&&bf(ee,Ie);if(!Pt){var tr=Ct[Ct.length-1].measure,ur=tr.maps?tr.maps[tr.maps.length-1]:tr.map;Pt={node:ur[ur.length-1],offset:ur[ur.length-2]-ur[ur.length-3]}}if(!Ot||!Pt){E.removeAllRanges();return}var Lr=E.rangeCount&&E.getRangeAt(0),kr;try{kr=je(Ot.node,Ot.offset,Pt.offset,Pt.node)}catch(rn){}kr&&(!Re&&ee.state.focused?(E.collapse(Ot.node,Ot.offset),kr.collapsed||(E.removeAllRanges(),E.addRange(kr))):(E.removeAllRanges(),E.addRange(kr)),Lr&&E.anchorNode==null?E.addRange(Lr):Re&&this.startGracePeriod()),this.rememberSelection()}},ea.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)},ea.prototype.showMultipleSelections=function(E){Oe(this.cm.display.cursorDiv,E.cursors),Oe(this.cm.display.selectionDiv,E.selection)},ea.prototype.rememberSelection=function(){var E=this.getSelection();this.lastAnchorNode=E.anchorNode,this.lastAnchorOffset=E.anchorOffset,this.lastFocusNode=E.focusNode,this.lastFocusOffset=E.focusOffset},ea.prototype.selectionInEditor=function(){var E=this.getSelection();if(!E.rangeCount)return!1;var ee=E.getRangeAt(0).commonAncestorContainer;return Ze(this.div,ee)},ea.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ea.prototype.blur=function(){this.div.blur()},ea.prototype.getField=function(){return this.div},ea.prototype.supportsTouch=function(){return!0},ea.prototype.receivedFocus=function(){var E=this;this.selectionInEditor()?this.pollSelection():xa(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)},ea.prototype.selectionChanged=function(){var E=this.getSelection();return E.anchorNode!=this.lastAnchorNode||E.anchorOffset!=this.lastAnchorOffset||E.focusNode!=this.lastFocusNode||E.focusOffset!=this.lastFocusOffset},ea.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var E=this.getSelection(),ee=this.cm;if(de&&oe&&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 be=au(ee,E.anchorNode,E.anchorOffset),ge=au(ee,E.focusNode,E.focusOffset);be&&ge&&xa(ee,function(){Ia(ee.doc,Ko(be,ge),et),(be.bad||ge.bad)&&(ee.curOp.selectionChanged=!0)})}}},ea.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var E=this.cm,ee=E.display,be=E.doc.sel.primary(),ge=be.from(),Ie=be.to();if(ge.ch==0&&ge.line>E.firstLine()&&(ge=qt(ge.line-1,zt(E.doc,ge.line-1).length)),Ie.ch==zt(E.doc,Ie.line).text.length&&Ie.line<E.lastLine()&&(Ie=qt(Ie.line+1,0)),ge.line<ee.viewFrom||Ie.line>ee.viewTo-1)return!1;var $e,pt,Ct;ge.line==ee.viewFrom||($e=wo(E,ge.line))==0?(pt=hr(ee.view[0].line),Ct=ee.view[0].node):(pt=hr(ee.view[$e].line),Ct=ee.view[$e-1].node.nextSibling);var Ot=wo(E,Ie.line),Pt,tr;if(Ot==ee.view.length-1?(Pt=ee.viewTo-1,tr=ee.lineDiv.lastChild):(Pt=hr(ee.view[Ot+1].line)-1,tr=ee.view[Ot+1].node.previousSibling),!Ct)return!1;for(var ur=E.doc.splitLines(dh(E,Ct,tr,pt,Pt)),Lr=Ut(E.doc,qt(pt,0),qt(Pt,zt(E.doc,Pt).text.length));ur.length>1&&Lr.length>1;)if(Et(ur)==Et(Lr))ur.pop(),Lr.pop(),Pt--;else if(ur[0]==Lr[0])ur.shift(),Lr.shift(),pt++;else break;for(var kr=0,rn=0,Mn=ur[0],Kn=Lr[0],Qn=Math.min(Mn.length,Kn.length);kr<Qn&&Mn.charCodeAt(kr)==Kn.charCodeAt(kr);)++kr;for(var ri=Et(ur),Jn=Et(Lr),ii=Math.min(ri.length-(ur.length==1?kr:0),Jn.length-(Lr.length==1?kr:0));rn<ii&&ri.charCodeAt(ri.length-rn-1)==Jn.charCodeAt(Jn.length-rn-1);)++rn;if(ur.length==1&&Lr.length==1&&pt==ge.line)for(;kr&&kr>ge.ch&&ri.charCodeAt(ri.length-rn-1)==Jn.charCodeAt(Jn.length-rn-1);)kr--,rn++;ur[ur.length-1]=ri.slice(0,ri.length-rn).replace(/^\u200b+/,""),ur[0]=ur[0].slice(kr).replace(/\u200b+$/,"");var pi=qt(pt,kr),bi=qt(Pt,Lr.length?Et(Lr).length-rn:0);if(ur.length>1||ur[0]||vr(pi,bi))return Al(E.doc,ur,pi,bi,"+input"),!0},ea.prototype.ensurePolled=function(){this.forceCompositionEnd()},ea.prototype.reset=function(){this.forceCompositionEnd()},ea.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ea.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))},ea.prototype.updateFromDOM=function(){var E=this;(this.cm.isReadOnly()||!this.pollContent())&&xa(this.cm,function(){return Xa(E.cm)})},ea.prototype.setUneditable=function(E){E.contentEditable="false"},ea.prototype.onKeyPress=function(E){E.charCode==0||this.composing||(E.preventDefault(),this.cm.isReadOnly()||Da(this.cm,ad)(this.cm,String.fromCharCode(E.charCode==null?E.keyCode:E.charCode),0))},ea.prototype.readOnlyChanged=function(E){this.div.contentEditable=String(E!="nocursor")},ea.prototype.onContextMenu=function(){},ea.prototype.resetPosition=function(){},ea.prototype.needsContentAttribute=!0;function bf(E,ee){var be=ga(E,ee.line);if(!be||be.hidden)return null;var ge=zt(E.doc,ee.line),Ie=Va(be,ge,ee.line),$e=Vt(ge,E.doc.direction),pt="left";if($e){var Ct=gt($e,ee.ch);pt=Ct%2?"right":"left"}var Ot=zo(Ie.map,ee.ch,pt);return Ot.offset=Ot.collapse=="right"?Ot.end:Ot.start,Ot}function uh(E){for(var ee=E;ee;ee=ee.parentNode)if(/CodeMirror-gutter-wrapper/.test(ee.className))return!0;return!1}function Pl(E,ee){return ee&&(E.bad=!0),E}function dh(E,ee,be,ge,Ie){var $e="",pt=!1,Ct=E.doc.lineSeparator(),Ot=!1;function Pt(kr){return function(rn){return rn.id==kr}}function tr(){pt&&($e+=Ct,Ot&&($e+=Ct),pt=Ot=!1)}function ur(kr){kr&&(tr(),$e+=kr)}function Lr(kr){if(kr.nodeType==1){var rn=kr.getAttribute("cm-text");if(rn){ur(rn);return}var Mn=kr.getAttribute("cm-marker"),Kn;if(Mn){var Qn=E.findMarks(qt(ge,0),qt(Ie+1,0),Pt(+Mn));Qn.length&&(Kn=Qn[0].find(0))&&ur(Ut(E.doc,Kn.from,Kn.to).join(Ct));return}if(kr.getAttribute("contenteditable")=="false")return;var ri=/^(pre|div|p|li|table|br)$/i.test(kr.nodeName);if(!/^br$/i.test(kr.nodeName)&&kr.textContent.length==0)return;ri&&tr();for(var Jn=0;Jn<kr.childNodes.length;Jn++)Lr(kr.childNodes[Jn]);/^(pre|p)$/i.test(kr.nodeName)&&(Ot=!0),ri&&(pt=!0)}else kr.nodeType==3&&ur(kr.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Lr(ee),ee!=be;)ee=ee.nextSibling,Ot=!1;return $e}function au(E,ee,be){var ge;if(ee==E.display.lineDiv){if(ge=E.display.lineDiv.childNodes[be],!ge)return Pl(E.clipPos(qt(E.display.viewTo-1)),!0);ee=null,be=0}else for(ge=ee;;ge=ge.parentNode){if(!ge||ge==E.display.lineDiv)return null;if(ge.parentNode&&ge.parentNode==E.display.lineDiv)break}for(var Ie=0;Ie<E.display.view.length;Ie++){var $e=E.display.view[Ie];if($e.node==ge)return fh($e,ee,be)}}function fh(E,ee,be){var ge=E.text.firstChild,Ie=!1;if(!ee||!Ze(ge,ee))return Pl(qt(hr(E.line),0),!0);if(ee==ge&&(Ie=!0,ee=ge.childNodes[be],be=0,!ee)){var $e=E.rest?Et(E.rest):E.line;return Pl(qt(hr($e),$e.text.length),Ie)}var pt=ee.nodeType==3?ee:null,Ct=ee;for(!pt&&ee.childNodes.length==1&&ee.firstChild.nodeType==3&&(pt=ee.firstChild,be&&(be=pt.nodeValue.length));Ct.parentNode!=ge;)Ct=Ct.parentNode;var Ot=E.measure,Pt=Ot.maps;function tr(Kn,Qn,ri){for(var Jn=-1;Jn<(Pt?Pt.length:0);Jn++)for(var ii=Jn<0?Ot.map:Pt[Jn],pi=0;pi<ii.length;pi+=3){var bi=ii[pi+2];if(bi==Kn||bi==Qn){var _i=hr(Jn<0?E.line:E.rest[Jn]),oa=ii[pi]+ri;return(ri<0||bi!=Kn)&&(oa=ii[pi+(ri?1:0)]),qt(_i,oa)}}}var ur=tr(pt,Ct,be);if(ur)return Pl(ur,Ie);for(var Lr=Ct.nextSibling,kr=pt?pt.nodeValue.length-be:0;Lr;Lr=Lr.nextSibling){if(ur=tr(Lr,Lr.firstChild,0),ur)return Pl(qt(ur.line,ur.ch-kr),Ie);kr+=Lr.textContent.length}for(var rn=Ct.previousSibling,Mn=be;rn;rn=rn.previousSibling){if(ur=tr(rn,rn.firstChild,-1),ur)return Pl(qt(ur.line,ur.ch+Mn),Ie);Mn+=rn.textContent.length}}var aa=function(E){this.cm=E,this.prevInput="",this.pollingFast=!1,this.polling=new Ye,this.hasSelection=!1,this.composing=null};aa.prototype.init=function(E){var ee=this,be=this,ge=this.cm;this.createField(E);var Ie=this.textarea;E.wrapper.insertBefore(this.wrapper,E.wrapper.firstChild),ue&&(Ie.style.width="0px"),jt(Ie,"input",function(){ve&&re>=9&&ee.hasSelection&&(ee.hasSelection=null),be.poll()}),jt(Ie,"paste",function(pt){St(ge,pt)||od(pt,ge)||(ge.state.pasteIncoming=+new Date,be.fastPoll())});function $e(pt){if(!St(ge,pt)){if(ge.somethingSelected())_s({lineWise:!1,text:ge.getSelections()});else if(ge.options.lineWiseCopyCut){var Ct=Ll(ge);_s({lineWise:!0,text:Ct.text}),pt.type=="cut"?ge.setSelections(Ct.ranges,null,et):(be.prevInput="",Ie.value=Ct.text.join(`
`),tt(Ie))}else return;pt.type=="cut"&&(ge.state.cutIncoming=+new Date)}}jt(Ie,"cut",$e),jt(Ie,"copy",$e),jt(E.scroller,"paste",function(pt){if(!(ra(E,pt)||St(ge,pt))){if(!Ie.dispatchEvent){ge.state.pasteIncoming=+new Date,be.focus();return}var Ct=new Event("paste");Ct.clipboardData=pt.clipboardData,Ie.dispatchEvent(Ct)}}),jt(E.lineSpace,"selectstart",function(pt){ra(E,pt)||or(pt)}),jt(Ie,"compositionstart",function(){var pt=ge.getCursor("from");be.composing&&be.composing.range.clear(),be.composing={start:pt,range:ge.markText(pt,ge.getCursor("to"),{className:"CodeMirror-composing"})}}),jt(Ie,"compositionend",function(){be.composing&&(be.poll(),be.composing.range.clear(),be.composing=null)})},aa.prototype.createField=function(E){this.wrapper=ld(),this.textarea=this.wrapper.firstChild},aa.prototype.screenReaderLabelChanged=function(E){E?this.textarea.setAttribute("aria-label",E):this.textarea.removeAttribute("aria-label")},aa.prototype.prepareSelection=function(){var E=this.cm,ee=E.display,be=E.doc,ge=Mu(E);if(E.options.moveInputWithCursor){var Ie=Na(E,be.sel.primary().head,"div"),$e=ee.wrapper.getBoundingClientRect(),pt=ee.lineDiv.getBoundingClientRect();ge.teTop=Math.max(0,Math.min(ee.wrapper.clientHeight-10,Ie.top+pt.top-$e.top)),ge.teLeft=Math.max(0,Math.min(ee.wrapper.clientWidth-10,Ie.left+pt.left-$e.left))}return ge},aa.prototype.showSelection=function(E){var ee=this.cm,be=ee.display;Oe(be.cursorDiv,E.cursors),Oe(be.selectionDiv,E.selection),E.teTop!=null&&(this.wrapper.style.top=E.teTop+"px",this.wrapper.style.left=E.teLeft+"px")},aa.prototype.reset=function(E){if(!(this.contextMenuPending||this.composing)){var ee=this.cm;if(ee.somethingSelected()){this.prevInput="";var be=ee.getSelection();this.textarea.value=be,ee.state.focused&&tt(this.textarea),ve&&re>=9&&(this.hasSelection=be)}else E||(this.prevInput=this.textarea.value="",ve&&re>=9&&(this.hasSelection=null))}},aa.prototype.getField=function(){return this.textarea},aa.prototype.supportsTouch=function(){return!1},aa.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!he||Pe()!=this.textarea))try{this.textarea.focus()}catch(E){}},aa.prototype.blur=function(){this.textarea.blur()},aa.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},aa.prototype.receivedFocus=function(){this.slowPoll()},aa.prototype.slowPoll=function(){var E=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){E.poll(),E.cm.state.focused&&E.slowPoll()})},aa.prototype.fastPoll=function(){var E=!1,ee=this;ee.pollingFast=!0;function be(){var ge=ee.poll();!ge&&!E?(E=!0,ee.polling.set(60,be)):(ee.pollingFast=!1,ee.slowPoll())}ee.polling.set(20,be)},aa.prototype.poll=function(){var E=this,ee=this.cm,be=this.textarea,ge=this.prevInput;if(this.contextMenuPending||!ee.state.focused||qr(be)&&!ge&&!this.composing||ee.isReadOnly()||ee.options.disableInput||ee.state.keySeq)return!1;var Ie=be.value;if(Ie==ge&&!ee.somethingSelected())return!1;if(ve&&re>=9&&this.hasSelection===Ie||we&&/[\uf700-\uf7ff]/.test(Ie))return ee.display.input.reset(),!1;if(ee.doc.sel==ee.display.selForContextMenu){var $e=Ie.charCodeAt(0);if($e==8203&&!ge&&(ge="\u200B"),$e==8666)return this.reset(),this.cm.execCommand("undo")}for(var pt=0,Ct=Math.min(ge.length,Ie.length);pt<Ct&&ge.charCodeAt(pt)==Ie.charCodeAt(pt);)++pt;return xa(ee,function(){ad(ee,Ie.slice(pt),ge.length-pt,null,E.composing?"*compose":null),Ie.length>1e3||Ie.indexOf(`
`)>-1?be.value=E.prevInput="":E.prevInput=Ie,E.composing&&(E.composing.range.clear(),E.composing.range=ee.markText(E.composing.start,ee.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},aa.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},aa.prototype.onKeyPress=function(){ve&&re>=9&&(this.hasSelection=null),this.fastPoll()},aa.prototype.onContextMenu=function(E){var ee=this,be=ee.cm,ge=be.display,Ie=ee.textarea;ee.contextMenuPending&&ee.contextMenuPending();var $e=ko(be,E),pt=ge.scroller.scrollTop;if(!$e||le)return;var Ct=be.options.resetSelectionOnContextMenu;Ct&&be.doc.sel.contains($e)==-1&&Da(be,Ia)(be.doc,Ko($e),et);var Ot=Ie.style.cssText,Pt=ee.wrapper.style.cssText,tr=ee.wrapper.offsetParent.getBoundingClientRect();ee.wrapper.style.cssText="position: static",Ie.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(E.clientY-tr.top-5)+"px; left: "+(E.clientX-tr.left-5)+`px;
z-index: 1000; background: `+(ve?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var ur;ne&&(ur=window.scrollY),ge.input.focus(),ne&&window.scrollTo(null,ur),ge.input.reset(),be.somethingSelected()||(Ie.value=ee.prevInput=" "),ee.contextMenuPending=kr,ge.selForContextMenu=be.doc.sel,clearTimeout(ge.detectingSelectAll);function Lr(){if(Ie.selectionStart!=null){var Mn=be.somethingSelected(),Kn="\u200B"+(Mn?Ie.value:"");Ie.value="\u21DA",Ie.value=Kn,ee.prevInput=Mn?"":"\u200B",Ie.selectionStart=1,Ie.selectionEnd=Kn.length,ge.selForContextMenu=be.doc.sel}}function kr(){if(ee.contextMenuPending==kr&&(ee.contextMenuPending=!1,ee.wrapper.style.cssText=Pt,Ie.style.cssText=Ot,ve&&re<9&&ge.scrollbars.setScrollTop(ge.scroller.scrollTop=pt),Ie.selectionStart!=null)){(!ve||ve&&re<9)&&Lr();var Mn=0,Kn=function(){ge.selForContextMenu==be.doc.sel&&Ie.selectionStart==0&&Ie.selectionEnd>0&&ee.prevInput=="\u200B"?Da(be,Vu)(be):Mn++<10?ge.detectingSelectAll=setTimeout(Kn,500):(ge.selForContextMenu=null,ge.input.reset())};ge.detectingSelectAll=setTimeout(Kn,200)}}if(ve&&re>=9&&Lr(),Le){Fr(E);var rn=function(){Mt(window,"mouseup",rn),setTimeout(kr,20)};jt(window,"mouseup",rn)}else setTimeout(kr,50)},aa.prototype.readOnlyChanged=function(E){E||this.reset(),this.textarea.disabled=E=="nocursor",this.textarea.readOnly=!!E},aa.prototype.setUneditable=function(){},aa.prototype.needsContentAttribute=!1;function hl(E,ee){if(ee=ee?lt(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 be=Pe();ee.autofocus=be==E||E.getAttribute("autofocus")!=null&&be==document.body}function ge(){E.value=Ct.getValue()}var Ie;if(E.form&&(jt(E.form,"submit",ge),!ee.leaveSubmitMethodAlone)){var $e=E.form;Ie=$e.submit;try{var pt=$e.submit=function(){ge(),$e.submit=Ie,$e.submit(),$e.submit=pt}}catch(Ot){}}ee.finishInit=function(Ot){Ot.save=ge,Ot.getTextArea=function(){return E},Ot.toTextArea=function(){Ot.toTextArea=isNaN,ge(),E.parentNode.removeChild(Ot.getWrapperElement()),E.style.display="",E.form&&(Mt(E.form,"submit",ge),!ee.leaveSubmitMethodAlone&&typeof E.form.submit=="function"&&(E.form.submit=Ie))}},E.style.display="none";var Ct=Mi(function(Ot){return E.parentNode.insertBefore(Ot,E.nextSibling)},ee);return Ct}function Rl(E){E.off=Mt,E.on=jt,E.wheelEventPixels=Fu,E.Doc=Aa,E.splitLines=Tn,E.countColumn=Ve,E.findColumn=yt,E.isWordChar=ze,E.Pass=at,E.signal=ft,E.Line=sn,E.changeEnd=ds,E.scrollbarModel=Bu,E.Pos=qt,E.cmpPos=vr,E.modes=Nr,E.mimeModes=Mr,E.resolveMode=Tr,E.getMode=wr,E.modeExtensions=Xr,E.extendMode=Kt,E.copyState=xt,E.startState=Tt,E.innerMode=It,E.commands=Dl,E.keyMap=ia,E.keyName=dl,E.isModifierKey=lc,E.lookupKey=gs,E.normalizeKeyMap=Qu,E.StringStream=At,E.SharedTextMarker=Ni,E.TextMarker=Is,E.LineWidget=kl,E.e_preventDefault=or,E.e_stopPropagation=yr,E.e_stop=Fr,E.addClass=Ue,E.contains=Ze,E.rmClass=_e,E.keyNames=Ho}sh(Mi),cd(Mi);var bs="iter insert remove copy getEditor constructor".split(" ");for(var jo in Aa.prototype)Aa.prototype.hasOwnProperty(jo)&&nt(bs,jo)<0&&(Mi.prototype[jo]=function(E){return function(){return E.apply(this.doc,arguments)}}(Aa.prototype[jo]));return Zt(Aa),Mi.inputStyles={textarea:aa,contenteditable:ea},Mi.defineMode=function(E){!Mi.defaults.mode&&E!="null"&&(Mi.defaults.mode=E),Or.apply(this,arguments)},Mi.defineMIME=Pr,Mi.defineMode("null",function(){return{token:function(E){return E.skipToEnd()}}}),Mi.defineMIME("text/plain","null"),Mi.defineExtension=function(E,ee){Mi.prototype[E]=ee},Mi.defineDocExtension=function(E,ee){Aa.prototype[E]=ee},Mi.fromTextArea=hl,Rl(Mi),Mi.version="5.58.2",Mi})},25419:function(sr,Wt,ke){(function(Re){Re(ke(89780),ke(15525),ke(98101))})(function(Re){"use strict";Re.defineMode("markdown",function(vt,x){var De=Re.getMode(vt,"text/html"),ve=De.name=="null";function re(Ve){if(Re.findModeByName){var Ye=Re.findModeByName(Ve);Ye&&(Ve=Ye.mime||Ye.mimes[0])}var nt=Re.getMode(vt,Ve);return nt.name=="null"?null:nt}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 ne={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 ie in ne)ne.hasOwnProperty(ie)&&x.tokenTypeOverrides[ie]&&(ne[ie]=x.tokenTypeOverrides[ie]);var oe=/^([*\-_])(?:\s*\1){2,}\s*$/,le=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,me=/^\[(x| )\](?=\s)/i,te=x.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,ae=/^ {0,3}(?:\={1,}|-{2,})\s*$/,ue=/^[^#!\[\]*_\\<>` "'(~:]+/,de=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,he=/^\s*\[[^\]]+?\]:.*$/,we=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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(Ve,Ye,nt){return Ye.f=Ye.inline=nt,nt(Ve,Ye)}function ye(Ve,Ye,nt){return Ye.f=Ye.block=nt,nt(Ve,Ye)}function Ae(Ve){return!Ve||!/\S/.test(Ve.string)}function Le(Ve){if(Ve.linkTitle=!1,Ve.linkHref=!1,Ve.linkText=!1,Ve.em=!1,Ve.strong=!1,Ve.strikethrough=!1,Ve.quote=0,Ve.indentedCode=!1,Ve.f==_e){var Ye=ve;if(!Ye){var nt=Re.innerMode(De,Ve.htmlState);Ye=nt.mode.name=="xml"&&nt.state.tagStart===null&&!nt.state.context&&nt.state.tokenize.isInText}Ye&&(Ve.f=Ne,Ve.block=Ee,Ve.htmlState=null)}return Ve.trailingSpace=0,Ve.trailingSpaceNewLine=!1,Ve.prevLine=Ve.thisLine,Ve.thisLine={stream:null},null}function Ee(Ve,Ye){var nt=Ve.column()===Ye.indentation,dt=Ae(Ye.prevLine.stream),at=Ye.indentedCode,et=Ye.prevLine.hr,qe=Ye.list!==!1,it=(Ye.listStack[Ye.listStack.length-1]||0)+3;Ye.indentedCode=!1;var yt=Ye.indentation;if(Ye.indentationDiff===null&&(Ye.indentationDiff=Ye.indentation,qe)){for(Ye.list=null;yt<Ye.listStack[Ye.listStack.length-1];)Ye.listStack.pop(),Ye.listStack.length?Ye.indentation=Ye.listStack[Ye.listStack.length-1]:Ye.list=!1;Ye.list!==!1&&(Ye.indentationDiff=yt-Ye.listStack[Ye.listStack.length-1])}var ht=!dt&&!et&&!Ye.prevLine.header&&(!qe||!at)&&!Ye.prevLine.fencedCodeEnd,Bt=(Ye.list===!1||et||dt)&&Ye.indentation<=it&&Ve.match(oe),Et=null;if(Ye.indentationDiff>=4&&(at||Ye.prevLine.fencedCodeEnd||Ye.prevLine.header||dt))return Ve.skipToEnd(),Ye.indentedCode=!0,ne.code;if(Ve.eatSpace())return null;if(nt&&Ye.indentation<=it&&(Et=Ve.match(te))&&Et[1].length<=6)return Ye.quote=0,Ye.header=Et[1].length,Ye.thisLine.header=!0,x.highlightFormatting&&(Ye.formatting="header"),Ye.f=Ye.inline,Oe(Ye);if(Ye.indentation<=it&&Ve.eat(">"))return Ye.quote=nt?1:Ye.quote+1,x.highlightFormatting&&(Ye.formatting="quote"),Ve.eatSpace(),Oe(Ye);if(!Bt&&!Ye.setext&&nt&&Ye.indentation<=it&&(Et=Ve.match(le))){var st=Et[1]?"ol":"ul";return Ye.indentation=yt+Ve.current().length,Ye.list=!0,Ye.quote=0,Ye.listStack.push(Ye.indentation),Ye.em=!1,Ye.strong=!1,Ye.code=!1,Ye.strikethrough=!1,x.taskLists&&Ve.match(me,!1)&&(Ye.taskList=!0),Ye.f=Ye.inline,x.highlightFormatting&&(Ye.formatting=["list","list-"+st]),Oe(Ye)}else{if(nt&&Ye.indentation<=it&&(Et=Ve.match(de,!0)))return Ye.quote=0,Ye.fencedEndRE=new RegExp(Et[1]+"+ *$"),Ye.localMode=x.fencedCodeBlockHighlighting&&re(Et[2]||x.fencedCodeBlockDefaultMode),Ye.localMode&&(Ye.localState=Re.startState(Ye.localMode)),Ye.f=Ye.block=Me,x.highlightFormatting&&(Ye.formatting="code-block"),Ye.code=-1,Oe(Ye);if(Ye.setext||(!ht||!qe)&&!Ye.quote&&Ye.list===!1&&!Ye.code&&!Bt&&!he.test(Ve.string)&&(Et=Ve.lookAhead(1))&&(Et=Et.match(ae)))return Ye.setext?(Ye.header=Ye.setext,Ye.setext=0,Ve.skipToEnd(),x.highlightFormatting&&(Ye.formatting="header")):(Ye.header=Et[0].charAt(0)=="="?1:2,Ye.setext=Ye.header),Ye.thisLine.header=!0,Ye.f=Ye.inline,Oe(Ye);if(Bt)return Ve.skipToEnd(),Ye.hr=!0,Ye.thisLine.hr=!0,ne.hr;if(Ve.peek()==="[")return xe(Ve,Ye,Qe)}return xe(Ve,Ye,Ye.inline)}function _e(Ve,Ye){var nt=De.token(Ve,Ye.htmlState);if(!ve){var dt=Re.innerMode(De,Ye.htmlState);(dt.mode.name=="xml"&&dt.state.tagStart===null&&!dt.state.context&&dt.state.tokenize.isInText||Ye.md_inside&&Ve.current().indexOf(">")>-1)&&(Ye.f=Ne,Ye.block=Ee,Ye.htmlState=null)}return nt}function Me(Ve,Ye){var nt=Ye.listStack[Ye.listStack.length-1]||0,dt=Ye.indentation<nt,at=nt+3;if(Ye.fencedEndRE&&Ye.indentation<=at&&(dt||Ve.match(Ye.fencedEndRE))){x.highlightFormatting&&(Ye.formatting="code-block");var et;return dt||(et=Oe(Ye)),Ye.localMode=Ye.localState=null,Ye.block=Ee,Ye.f=Ne,Ye.fencedEndRE=null,Ye.code=0,Ye.thisLine.fencedCodeEnd=!0,dt?ye(Ve,Ye,Ye.block):et}else return Ye.localMode?Ye.localMode.token(Ve,Ye.localState):(Ve.skipToEnd(),ne.code)}function Oe(Ve){var Ye=[];if(Ve.formatting){Ye.push(ne.formatting),typeof Ve.formatting=="string"&&(Ve.formatting=[Ve.formatting]);for(var nt=0;nt<Ve.formatting.length;nt++)Ye.push(ne.formatting+"-"+Ve.formatting[nt]),Ve.formatting[nt]==="header"&&Ye.push(ne.formatting+"-"+Ve.formatting[nt]+"-"+Ve.header),Ve.formatting[nt]==="quote"&&(!x.maxBlockquoteDepth||x.maxBlockquoteDepth>=Ve.quote?Ye.push(ne.formatting+"-"+Ve.formatting[nt]+"-"+Ve.quote):Ye.push("error"))}if(Ve.taskOpen)return Ye.push("meta"),Ye.length?Ye.join(" "):null;if(Ve.taskClosed)return Ye.push("property"),Ye.length?Ye.join(" "):null;if(Ve.linkHref?Ye.push(ne.linkHref,"url"):(Ve.strong&&Ye.push(ne.strong),Ve.em&&Ye.push(ne.em),Ve.strikethrough&&Ye.push(ne.strikethrough),Ve.emoji&&Ye.push(ne.emoji),Ve.linkText&&Ye.push(ne.linkText),Ve.code&&Ye.push(ne.code),Ve.image&&Ye.push(ne.image),Ve.imageAltText&&Ye.push(ne.imageAltText,"link"),Ve.imageMarker&&Ye.push(ne.imageMarker)),Ve.header&&Ye.push(ne.header,ne.header+"-"+Ve.header),Ve.quote&&(Ye.push(ne.quote),!x.maxBlockquoteDepth||x.maxBlockquoteDepth>=Ve.quote?Ye.push(ne.quote+"-"+Ve.quote):Ye.push(ne.quote+"-"+x.maxBlockquoteDepth)),Ve.list!==!1){var dt=(Ve.listStack.length-1)%3;dt?dt===1?Ye.push(ne.list2):Ye.push(ne.list3):Ye.push(ne.list1)}return Ve.trailingSpaceNewLine?Ye.push("trailing-space-new-line"):Ve.trailingSpace&&Ye.push("trailing-space-"+(Ve.trailingSpace%2?"a":"b")),Ye.length?Ye.join(" "):null}function Ce(Ve,Ye){if(Ve.match(ue,!0))return Oe(Ye)}function Ne(Ve,Ye){var nt=Ye.text(Ve,Ye);if(typeof nt!="undefined")return nt;if(Ye.list)return Ye.list=null,Oe(Ye);if(Ye.taskList){var dt=Ve.match(me,!0)[1]===" ";return dt?Ye.taskOpen=!0:Ye.taskClosed=!0,x.highlightFormatting&&(Ye.formatting="task"),Ye.taskList=!1,Oe(Ye)}if(Ye.taskOpen=!1,Ye.taskClosed=!1,Ye.header&&Ve.match(/^#+$/,!0))return x.highlightFormatting&&(Ye.formatting="header"),Oe(Ye);var at=Ve.next();if(Ye.linkTitle){Ye.linkTitle=!1;var et=at;at==="("&&(et=")"),et=(et+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var qe="^\\s*(?:[^"+et+"\\\\]+|\\\\\\\\|\\\\.)"+et;if(Ve.match(new RegExp(qe),!0))return ne.linkHref}if(at==="`"){var it=Ye.formatting;x.highlightFormatting&&(Ye.formatting="code"),Ve.eatWhile("`");var yt=Ve.current().length;if(Ye.code==0&&(!Ye.quote||yt==1))return Ye.code=yt,Oe(Ye);if(yt==Ye.code){var ht=Oe(Ye);return Ye.code=0,ht}else return Ye.formatting=it,Oe(Ye)}else if(Ye.code)return Oe(Ye);if(at==="\\"&&(Ve.next(),x.highlightFormatting)){var Bt=Oe(Ye),Et=ne.formatting+"-escape";return Bt?Bt+" "+Et:Et}if(at==="!"&&Ve.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ye.imageMarker=!0,Ye.image=!0,x.highlightFormatting&&(Ye.formatting="image"),Oe(Ye);if(at==="["&&Ye.imageMarker&&Ve.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ye.imageMarker=!1,Ye.imageAltText=!0,x.highlightFormatting&&(Ye.formatting="image"),Oe(Ye);if(at==="]"&&Ye.imageAltText){x.highlightFormatting&&(Ye.formatting="image");var Bt=Oe(Ye);return Ye.imageAltText=!1,Ye.image=!1,Ye.inline=Ye.f=Ze,Bt}if(at==="["&&!Ye.image)return Ye.linkText&&Ve.match(/^.*?\]/)||(Ye.linkText=!0,x.highlightFormatting&&(Ye.formatting="link")),Oe(Ye);if(at==="]"&&Ye.linkText){x.highlightFormatting&&(Ye.formatting="link");var Bt=Oe(Ye);return Ye.linkText=!1,Ye.inline=Ye.f=Ve.match(/\(.*?\)| ?\[.*?\]/,!1)?Ze:Ne,Bt}if(at==="<"&&Ve.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ye.f=Ye.inline=je,x.highlightFormatting&&(Ye.formatting="link");var Bt=Oe(Ye);return Bt?Bt+=" ":Bt="",Bt+ne.linkInline}if(at==="<"&&Ve.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ye.f=Ye.inline=je,x.highlightFormatting&&(Ye.formatting="link");var Bt=Oe(Ye);return Bt?Bt+=" ":Bt="",Bt+ne.linkEmail}if(x.xml&&at==="<"&&Ve.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var st=Ve.string.indexOf(">",Ve.pos);if(st!=-1){var Ge=Ve.string.substring(Ve.start,st);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Ge)&&(Ye.md_inside=!0)}return Ve.backUp(1),Ye.htmlState=Re.startState(De),ye(Ve,Ye,_e)}if(x.xml&&at==="<"&&Ve.match(/^\/\w*?>/))return Ye.md_inside=!1,"tag";if(at==="*"||at==="_"){for(var We=1,se=Ve.pos==1?" ":Ve.string.charAt(Ve.pos-2);We<3&&Ve.eat(at);)We++;var fe=Ve.peek()||" ",ze=!/\s/.test(fe)&&(!we.test(fe)||/\s/.test(se)||we.test(se)),He=!/\s/.test(se)&&(!we.test(se)||/\s/.test(fe)||we.test(fe)),pe=null,Be=null;if(We%2&&(!Ye.em&&ze&&(at==="*"||!He||we.test(se))?pe=!0:Ye.em==at&&He&&(at==="*"||!ze||we.test(fe))&&(pe=!1)),We>1&&(!Ye.strong&&ze&&(at==="*"||!He||we.test(se))?Be=!0:Ye.strong==at&&He&&(at==="*"||!ze||we.test(fe))&&(Be=!1)),Be!=null||pe!=null){x.highlightFormatting&&(Ye.formatting=pe==null?"strong":Be==null?"em":"strong em"),pe===!0&&(Ye.em=at),Be===!0&&(Ye.strong=at);var ht=Oe(Ye);return pe===!1&&(Ye.em=!1),Be===!1&&(Ye.strong=!1),ht}}else if(at===" "&&(Ve.eat("*")||Ve.eat("_"))){if(Ve.peek()===" ")return Oe(Ye);Ve.backUp(1)}if(x.strikethrough){if(at==="~"&&Ve.eatWhile(at)){if(Ye.strikethrough){x.highlightFormatting&&(Ye.formatting="strikethrough");var ht=Oe(Ye);return Ye.strikethrough=!1,ht}else if(Ve.match(/^[^\s]/,!1))return Ye.strikethrough=!0,x.highlightFormatting&&(Ye.formatting="strikethrough"),Oe(Ye)}else if(at===" "&&Ve.match(/^~~/,!0)){if(Ve.peek()===" ")return Oe(Ye);Ve.backUp(2)}}if(x.emoji&&at===":"&&Ve.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ye.emoji=!0,x.highlightFormatting&&(Ye.formatting="emoji");var Ke=Oe(Ye);return Ye.emoji=!1,Ke}return at===" "&&(Ve.match(/^ +$/,!1)?Ye.trailingSpace++:Ye.trailingSpace&&(Ye.trailingSpaceNewLine=!0)),Oe(Ye)}function je(Ve,Ye){var nt=Ve.next();if(nt===">"){Ye.f=Ye.inline=Ne,x.highlightFormatting&&(Ye.formatting="link");var dt=Oe(Ye);return dt?dt+=" ":dt="",dt+ne.linkInline}return Ve.match(/^[^>]+/,!0),ne.linkInline}function Ze(Ve,Ye){if(Ve.eatSpace())return null;var nt=Ve.next();return nt==="("||nt==="["?(Ye.f=Ye.inline=Ue(nt==="("?")":"]"),x.highlightFormatting&&(Ye.formatting="link-string"),Ye.linkHref=!0,Oe(Ye)):"error"}var Pe={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Ue(Ve){return function(Ye,nt){var dt=Ye.next();if(dt===Ve){nt.f=nt.inline=Ne,x.highlightFormatting&&(nt.formatting="link-string");var at=Oe(nt);return nt.linkHref=!1,at}return Ye.match(Pe[Ve]),nt.linkHref=!0,Oe(nt)}}function Qe(Ve,Ye){return Ve.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ye.f=tt,Ve.next(),x.highlightFormatting&&(Ye.formatting="link"),Ye.linkText=!0,Oe(Ye)):xe(Ve,Ye,Ne)}function tt(Ve,Ye){if(Ve.match(/^\]:/,!0)){Ye.f=Ye.inline=ot,x.highlightFormatting&&(Ye.formatting="link");var nt=Oe(Ye);return Ye.linkText=!1,nt}return Ve.match(/^([^\]\\]|\\.)+/,!0),ne.linkText}function ot(Ve,Ye){return Ve.eatSpace()?null:(Ve.match(/^[^\s]+/,!0),Ve.peek()===void 0?Ye.linkTitle=!0:Ve.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ye.f=Ye.inline=Ne,ne.linkHref+" url")}var lt={startState:function(){return{f:Ee,prevLine:{stream:null},thisLine:{stream:null},block:Ee,htmlState:null,indentation:0,inline:Ne,text:Ce,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(Ve){return{f:Ve.f,prevLine:Ve.prevLine,thisLine:Ve.thisLine,block:Ve.block,htmlState:Ve.htmlState&&Re.copyState(De,Ve.htmlState),indentation:Ve.indentation,localMode:Ve.localMode,localState:Ve.localMode?Re.copyState(Ve.localMode,Ve.localState):null,inline:Ve.inline,text:Ve.text,formatting:!1,linkText:Ve.linkText,linkTitle:Ve.linkTitle,linkHref:Ve.linkHref,code:Ve.code,em:Ve.em,strong:Ve.strong,strikethrough:Ve.strikethrough,emoji:Ve.emoji,header:Ve.header,setext:Ve.setext,hr:Ve.hr,taskList:Ve.taskList,list:Ve.list,listStack:Ve.listStack.slice(0),quote:Ve.quote,indentedCode:Ve.indentedCode,trailingSpace:Ve.trailingSpace,trailingSpaceNewLine:Ve.trailingSpaceNewLine,md_inside:Ve.md_inside,fencedEndRE:Ve.fencedEndRE}},token:function(Ve,Ye){if(Ye.formatting=!1,Ve!=Ye.thisLine.stream){if(Ye.header=0,Ye.hr=!1,Ve.match(/^\s*$/,!0))return Le(Ye),null;if(Ye.prevLine=Ye.thisLine,Ye.thisLine={stream:Ve},Ye.taskList=!1,Ye.trailingSpace=0,Ye.trailingSpaceNewLine=!1,!Ye.localState&&(Ye.f=Ye.block,Ye.f!=_e)){var nt=Ve.match(/^\s*/,!0)[0].replace(/\t/g,Se).length;if(Ye.indentation=nt,Ye.indentationDiff=null,nt>0)return null}}return Ye.f(Ve,Ye)},innerMode:function(Ve){return Ve.block==_e?{state:Ve.htmlState,mode:De}:Ve.localState?{state:Ve.localState,mode:Ve.localMode}:{state:Ve,mode:lt}},indent:function(Ve,Ye,nt){return Ve.block==_e&&De.indent?De.indent(Ve.htmlState,Ye,nt):Ve.localState&&Ve.localMode.indent?Ve.localMode.indent(Ve.localState,Ye,nt):Re.Pass},blankLine:Le,getType:Oe,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return lt},"xml"),Re.defineMIME("text/markdown","markdown"),Re.defineMIME("text/x-markdown","markdown")})},98101:function(sr,Wt,ke){(function(Re){Re(ke(89780))})(function(Re){"use strict";Re.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 vt=0;vt<Re.modeInfo.length;vt++){var x=Re.modeInfo[vt];x.mimes&&(x.mime=x.mimes[0])}Re.findModeByMIME=function(De){De=De.toLowerCase();for(var ve=0;ve<Re.modeInfo.length;ve++){var re=Re.modeInfo[ve];if(re.mime==De)return re;if(re.mimes){for(var ne=0;ne<re.mimes.length;ne++)if(re.mimes[ne]==De)return re}}if(/\+xml$/.test(De))return Re.findModeByMIME("application/xml");if(/\+json$/.test(De))return Re.findModeByMIME("application/json")},Re.findModeByExtension=function(De){De=De.toLowerCase();for(var ve=0;ve<Re.modeInfo.length;ve++){var re=Re.modeInfo[ve];if(re.ext){for(var ne=0;ne<re.ext.length;ne++)if(re.ext[ne]==De)return re}}},Re.findModeByFileName=function(De){for(var ve=0;ve<Re.modeInfo.length;ve++){var re=Re.modeInfo[ve];if(re.file&&re.file.test(De))return re}var ne=De.lastIndexOf("."),ie=ne>-1&&De.substring(ne+1,De.length);if(ie)return Re.findModeByExtension(ie)},Re.findModeByName=function(De){De=De.toLowerCase();for(var ve=0;ve<Re.modeInfo.length;ve++){var re=Re.modeInfo[ve];if(re.name.toLowerCase()==De)return re;if(re.alias){for(var ne=0;ne<re.alias.length;ne++)if(re.alias[ne].toLowerCase()==De)return re}}}})},67549:function(sr,Wt,ke){(function(Re){Re(ke(89780))})(function(Re){"use strict";Re.defineMode("stex",function(vt,x){"use strict";function De(ue,de){ue.cmdState.push(de)}function ve(ue){return ue.cmdState.length>0?ue.cmdState[ue.cmdState.length-1]:null}function re(ue){var de=ue.cmdState.pop();de&&de.closeBracket()}function ne(ue){for(var de=ue.cmdState,he=de.length-1;he>=0;he--){var we=de[he];if(we.name!="DEFAULT")return we}return{styleIdentifier:function(){return null}}}function ie(ue,de,he){return function(){this.name=ue,this.bracketNo=0,this.style=de,this.styles=he,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var oe={};oe.importmodule=ie("importmodule","tag",["string","builtin"]),oe.documentclass=ie("documentclass","tag",["","atom"]),oe.usepackage=ie("usepackage","tag",["atom"]),oe.begin=ie("begin","tag",["atom"]),oe.end=ie("end","tag",["atom"]),oe.label=ie("label","tag",["atom"]),oe.ref=ie("ref","tag",["atom"]),oe.eqref=ie("eqref","tag",["atom"]),oe.cite=ie("cite","tag",["atom"]),oe.bibitem=ie("bibitem","tag",["atom"]),oe.Bibitem=ie("Bibitem","tag",["atom"]),oe.RBibitem=ie("RBibitem","tag",["atom"]),oe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function le(ue,de){ue.f=de}function me(ue,de){var he;if(ue.match(/^\\[a-zA-Z@]+/)){var we=ue.current().slice(1);return he=oe.hasOwnProperty(we)?oe[we]:oe.DEFAULT,he=new he,De(de,he),le(de,ae),he.style}if(ue.match(/^\\[$&%#{}_]/)||ue.match(/^\\[,;!\/\\]/))return"tag";if(ue.match("\\["))return le(de,function(xe,ye){return te(xe,ye,"\\]")}),"keyword";if(ue.match("\\("))return le(de,function(xe,ye){return te(xe,ye,"\\)")}),"keyword";if(ue.match("$$"))return le(de,function(xe,ye){return te(xe,ye,"$$")}),"keyword";if(ue.match("$"))return le(de,function(xe,ye){return te(xe,ye,"$")}),"keyword";var Se=ue.next();if(Se=="%")return ue.skipToEnd(),"comment";if(Se=="}"||Se=="]"){if(he=ve(de),he)he.closeBracket(Se),le(de,ae);else return"error";return"bracket"}else return Se=="{"||Se=="["?(he=oe.DEFAULT,he=new he,De(de,he),"bracket"):/\d/.test(Se)?(ue.eatWhile(/[\w.%]/),"atom"):(ue.eatWhile(/[\w\-_]/),he=ne(de),he.name=="begin"&&(he.argument=ue.current()),he.styleIdentifier())}function te(ue,de,he){if(ue.eatSpace())return null;if(he&&ue.match(he))return le(de,me),"keyword";if(ue.match(/^\\[a-zA-Z@]+/))return"tag";if(ue.match(/^[a-zA-Z]+/))return"variable-2";if(ue.match(/^\\[$&%#{}_]/)||ue.match(/^\\[,;!\/]/)||ue.match(/^[\^_&]/))return"tag";if(ue.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(ue.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var we=ue.next();return we=="{"||we=="}"||we=="["||we=="]"||we=="("||we==")"?"bracket":we=="%"?(ue.skipToEnd(),"comment"):"error"}function ae(ue,de){var he=ue.peek(),we;return he=="{"||he=="["?(we=ve(de),we.openBracket(he),ue.eat(he),le(de,me),"bracket"):/[ \t\r]/.test(he)?(ue.eat(he),null):(le(de,me),re(de),me(ue,de))}return{startState:function(){var ue=x.inMathMode?function(de,he){return te(de,he)}:me;return{cmdState:[],f:ue}},copyState:function(ue){return{cmdState:ue.cmdState.slice(),f:ue.f}},token:function(ue,de){return de.f(ue,de)},blankLine:function(ue){ue.f=me,ue.cmdState.length=0},lineComment:"%"}}),Re.defineMIME("text/x-stex","stex"),Re.defineMIME("text/x-latex","stex")})},15525:function(sr,Wt,ke){(function(Re){Re(ke(89780))})(function(Re){"use strict";var vt={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};Re.defineMode("xml",function(De,ve){var re=De.indentUnit,ne={},ie=ve.htmlMode?vt:x;for(var oe in ie)ne[oe]=ie[oe];for(var oe in ve)ne[oe]=ve[oe];var le,me;function te(je,Ze){function Pe(tt){return Ze.tokenize=tt,tt(je,Ze)}var Ue=je.next();if(Ue=="<")return je.eat("!")?je.eat("[")?je.match("CDATA[")?Pe(de("atom","]]>")):null:je.match("--")?Pe(de("comment","-->")):je.match("DOCTYPE",!0,!0)?(je.eatWhile(/[\w\._\-]/),Pe(he(1))):null:je.eat("?")?(je.eatWhile(/[\w\._\-]/),Ze.tokenize=de("meta","?>"),"meta"):(le=je.eat("/")?"closeTag":"openTag",Ze.tokenize=ae,"tag bracket");if(Ue=="&"){var Qe;return je.eat("#")?je.eat("x")?Qe=je.eatWhile(/[a-fA-F\d]/)&&je.eat(";"):Qe=je.eatWhile(/[\d]/)&&je.eat(";"):Qe=je.eatWhile(/[\w\.\-:]/)&&je.eat(";"),Qe?"atom":"error"}else return je.eatWhile(/[^&<]/),null}te.isInText=!0;function ae(je,Ze){var Pe=je.next();if(Pe==">"||Pe=="/"&&je.eat(">"))return Ze.tokenize=te,le=Pe==">"?"endTag":"selfcloseTag","tag bracket";if(Pe=="=")return le="equals",null;if(Pe=="<"){Ze.tokenize=te,Ze.state=ye,Ze.tagName=Ze.tagStart=null;var Ue=Ze.tokenize(je,Ze);return Ue?Ue+" tag error":"tag error"}else return/[\'\"]/.test(Pe)?(Ze.tokenize=ue(Pe),Ze.stringStartCol=je.column(),Ze.tokenize(je,Ze)):(je.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function ue(je){var Ze=function(Pe,Ue){for(;!Pe.eol();)if(Pe.next()==je){Ue.tokenize=ae;break}return"string"};return Ze.isInAttribute=!0,Ze}function de(je,Ze){return function(Pe,Ue){for(;!Pe.eol();){if(Pe.match(Ze)){Ue.tokenize=te;break}Pe.next()}return je}}function he(je){return function(Ze,Pe){for(var Ue;(Ue=Ze.next())!=null;){if(Ue=="<")return Pe.tokenize=he(je+1),Pe.tokenize(Ze,Pe);if(Ue==">")if(je==1){Pe.tokenize=te;break}else return Pe.tokenize=he(je-1),Pe.tokenize(Ze,Pe)}return"meta"}}function we(je,Ze,Pe){this.prev=je.context,this.tagName=Ze,this.indent=je.indented,this.startOfLine=Pe,(ne.doNotIndent.hasOwnProperty(Ze)||je.context&&je.context.noIndent)&&(this.noIndent=!0)}function Se(je){je.context&&(je.context=je.context.prev)}function xe(je,Ze){for(var Pe;;){if(!je.context||(Pe=je.context.tagName,!ne.contextGrabbers.hasOwnProperty(Pe)||!ne.contextGrabbers[Pe].hasOwnProperty(Ze)))return;Se(je)}}function ye(je,Ze,Pe){return je=="openTag"?(Pe.tagStart=Ze.column(),Ae):je=="closeTag"?Le:ye}function Ae(je,Ze,Pe){return je=="word"?(Pe.tagName=Ze.current(),me="tag",Me):ne.allowMissingTagName&&je=="endTag"?(me="tag bracket",Me(je,Ze,Pe)):(me="error",Ae)}function Le(je,Ze,Pe){if(je=="word"){var Ue=Ze.current();return Pe.context&&Pe.context.tagName!=Ue&&ne.implicitlyClosed.hasOwnProperty(Pe.context.tagName)&&Se(Pe),Pe.context&&Pe.context.tagName==Ue||ne.matchClosing===!1?(me="tag",Ee):(me="tag error",_e)}else return ne.allowMissingTagName&&je=="endTag"?(me="tag bracket",Ee(je,Ze,Pe)):(me="error",_e)}function Ee(je,Ze,Pe){return je!="endTag"?(me="error",Ee):(Se(Pe),ye)}function _e(je,Ze,Pe){return me="error",Ee(je,Ze,Pe)}function Me(je,Ze,Pe){if(je=="word")return me="attribute",Oe;if(je=="endTag"||je=="selfcloseTag"){var Ue=Pe.tagName,Qe=Pe.tagStart;return Pe.tagName=Pe.tagStart=null,je=="selfcloseTag"||ne.autoSelfClosers.hasOwnProperty(Ue)?xe(Pe,Ue):(xe(Pe,Ue),Pe.context=new we(Pe,Ue,Qe==Pe.indented)),ye}return me="error",Me}function Oe(je,Ze,Pe){return je=="equals"?Ce:(ne.allowMissing||(me="error"),Me(je,Ze,Pe))}function Ce(je,Ze,Pe){return je=="string"?Ne:je=="word"&&ne.allowUnquoted?(me="string",Me):(me="error",Me(je,Ze,Pe))}function Ne(je,Ze,Pe){return je=="string"?Ne:Me(je,Ze,Pe)}return{startState:function(je){var Ze={tokenize:te,state:ye,indented:je||0,tagName:null,tagStart:null,context:null};return je!=null&&(Ze.baseIndent=je),Ze},token:function(je,Ze){if(!Ze.tagName&&je.sol()&&(Ze.indented=je.indentation()),je.eatSpace())return null;le=null;var Pe=Ze.tokenize(je,Ze);return(Pe||le)&&Pe!="comment"&&(me=null,Ze.state=Ze.state(le||Pe,je,Ze),me&&(Pe=me=="error"?Pe+" error":me)),Pe},indent:function(je,Ze,Pe){var Ue=je.context;if(je.tokenize.isInAttribute)return je.tagStart==je.indented?je.stringStartCol+1:je.indented+re;if(Ue&&Ue.noIndent)return Re.Pass;if(je.tokenize!=ae&&je.tokenize!=te)return Pe?Pe.match(/^(\s*)/)[0].length:0;if(je.tagName)return ne.multilineTagIndentPastTag!==!1?je.tagStart+je.tagName.length+2:je.tagStart+re*(ne.multilineTagIndentFactor||1);if(ne.alignCDATA&&/<!\[CDATA\[/.test(Ze))return 0;var Qe=Ze&&/^<(\/)?([\w_:\.-]*)/.exec(Ze);if(Qe&&Qe[1])for(;Ue;)if(Ue.tagName==Qe[2]){Ue=Ue.prev;break}else if(ne.implicitlyClosed.hasOwnProperty(Ue.tagName))Ue=Ue.prev;else break;else if(Qe)for(;Ue;){var tt=ne.contextGrabbers[Ue.tagName];if(tt&&tt.hasOwnProperty(Qe[2]))Ue=Ue.prev;else break}for(;Ue&&Ue.prev&&!Ue.startOfLine;)Ue=Ue.prev;return Ue?Ue.indent+re:je.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ne.htmlMode?"html":"xml",helperType:ne.htmlMode?"html":"xml",skipAttribute:function(je){je.state==Ce&&(je.state=Me)},xmlCurrentTag:function(je){return je.tagName?{name:je.tagName,close:je.type=="closeTag"}:null},xmlCurrentContext:function(je){for(var Ze=[],Pe=je.context;Pe;Pe=Pe.prev)Pe.tagName&&Ze.push(Pe.tagName);return Ze.reverse()}}}),Re.defineMIME("text/xml","xml"),Re.defineMIME("application/xml","xml"),Re.mimeModes.hasOwnProperty("text/html")||Re.defineMIME("text/html",{name:"xml",htmlMode:!0})})},24334:function(sr,Wt,ke){var Re,vt;(function(x,De){sr.exports=De(x)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ke.g!="undefined"?ke.g:this,function(x){"use strict";x=x||{};var De=x.Base64,ve="2.6.4",re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ne=function(Pe){for(var Ue={},Qe=0,tt=Pe.length;Qe<tt;Qe++)Ue[Pe.charAt(Qe)]=Qe;return Ue}(re),ie=String.fromCharCode,oe=function(Pe){if(Pe.length<2){var Ue=Pe.charCodeAt(0);return Ue<128?Pe:Ue<2048?ie(192|Ue>>>6)+ie(128|Ue&63):ie(224|Ue>>>12&15)+ie(128|Ue>>>6&63)+ie(128|Ue&63)}else{var Ue=65536+(Pe.charCodeAt(0)-55296)*1024+(Pe.charCodeAt(1)-56320);return ie(240|Ue>>>18&7)+ie(128|Ue>>>12&63)+ie(128|Ue>>>6&63)+ie(128|Ue&63)}},le=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,me=function(Pe){return Pe.replace(le,oe)},te=function(Pe){var Ue=[0,2,1][Pe.length%3],Qe=Pe.charCodeAt(0)<<16|(Pe.length>1?Pe.charCodeAt(1):0)<<8|(Pe.length>2?Pe.charCodeAt(2):0),tt=[re.charAt(Qe>>>18),re.charAt(Qe>>>12&63),Ue>=2?"=":re.charAt(Qe>>>6&63),Ue>=1?"=":re.charAt(Qe&63)];return tt.join("")},ae=x.btoa&&typeof x.btoa=="function"?function(Pe){return x.btoa(Pe)}:function(Pe){if(Pe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Pe.replace(/[\s\S]{1,3}/g,te)},ue=function(Pe){return ae(me(String(Pe)))},de=function(Pe){return Pe.replace(/[+\/]/g,function(Ue){return Ue=="+"?"-":"_"}).replace(/=/g,"")},he=function(Pe,Ue){return Ue?de(ue(Pe)):ue(Pe)},we=function(Pe){return he(Pe,!0)},Se;x.Uint8Array&&(Se=function(Pe,Ue){for(var Qe="",tt=0,ot=Pe.length;tt<ot;tt+=3){var lt=Pe[tt],Ve=Pe[tt+1],Ye=Pe[tt+2],nt=lt<<16|Ve<<8|Ye;Qe+=re.charAt(nt>>>18)+re.charAt(nt>>>12&63)+(typeof Ve!="undefined"?re.charAt(nt>>>6&63):"=")+(typeof Ye!="undefined"?re.charAt(nt&63):"=")}return Ue?de(Qe):Qe});var xe=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ye=function(Pe){switch(Pe.length){case 4:var Ue=(7&Pe.charCodeAt(0))<<18|(63&Pe.charCodeAt(1))<<12|(63&Pe.charCodeAt(2))<<6|63&Pe.charCodeAt(3),Qe=Ue-65536;return ie((Qe>>>10)+55296)+ie((Qe&1023)+56320);case 3:return ie((15&Pe.charCodeAt(0))<<12|(63&Pe.charCodeAt(1))<<6|63&Pe.charCodeAt(2));default:return ie((31&Pe.charCodeAt(0))<<6|63&Pe.charCodeAt(1))}},Ae=function(Pe){return Pe.replace(xe,ye)},Le=function(Pe){var Ue=Pe.length,Qe=Ue%4,tt=(Ue>0?ne[Pe.charAt(0)]<<18:0)|(Ue>1?ne[Pe.charAt(1)]<<12:0)|(Ue>2?ne[Pe.charAt(2)]<<6:0)|(Ue>3?ne[Pe.charAt(3)]:0),ot=[ie(tt>>>16),ie(tt>>>8&255),ie(tt&255)];return ot.length-=[0,0,2,1][Qe],ot.join("")},Ee=x.atob&&typeof x.atob=="function"?function(Pe){return x.atob(Pe)}:function(Pe){return Pe.replace(/\S{1,4}/g,Le)},_e=function(Pe){return Ee(String(Pe).replace(/[^A-Za-z0-9\+\/]/g,""))},Me=function(Pe){return Ae(Ee(Pe))},Oe=function(Pe){return String(Pe).replace(/[-_]/g,function(Ue){return Ue=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ce=function(Pe){return Me(Oe(Pe))},Ne;x.Uint8Array&&(Ne=function(Pe){return Uint8Array.from(_e(Oe(Pe)),function(Ue){return Ue.charCodeAt(0)})});var je=function(){var Pe=x.Base64;return x.Base64=De,Pe};if(x.Base64={VERSION:ve,atob:_e,btoa:ae,fromBase64:Ce,toBase64:he,utob:me,encode:he,encodeURI:we,btou:Ae,decode:Ce,noConflict:je,fromUint8Array:Se,toUint8Array:Ne},typeof Object.defineProperty=="function"){var Ze=function(Pe){return{value:Pe,enumerable:!1,writable:!0,configurable:!0}};x.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ze(function(){return Ce(this)})),Object.defineProperty(String.prototype,"toBase64",Ze(function(Pe){return he(this,Pe)})),Object.defineProperty(String.prototype,"toBase64URI",Ze(function(){return he(this,!0)}))}}return x.Meteor&&(Base64=x.Base64),sr.exports?sr.exports.Base64=x.Base64:(Re=[],vt=function(){return x.Base64}.apply(Wt,Re),vt!==void 0&&(sr.exports=vt)),{Base64:x.Base64}})},2859:function(sr,Wt,ke){"use strict";ke.d(Wt,{hP:function(){return Ge}});var Re=function(We,se){return(Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,ze){fe.__proto__=ze}||function(fe,ze){for(var He in ze)Object.prototype.hasOwnProperty.call(ze,He)&&(fe[He]=ze[He])})(We,se)};function vt(We,se){function fe(){this.constructor=We}Re(We,se),We.prototype=se===null?Object.create(se):(fe.prototype=se.prototype,new fe)}function x(We,se,fe,ze){return new(fe||(fe=Promise))(function(He,pe){function Be(Je){try{Xe(ze.next(Je))}catch(ut){pe(ut)}}function Ke(Je){try{Xe(ze.throw(Je))}catch(ut){pe(ut)}}function Xe(Je){var ut;Je.done?He(Je.value):(ut=Je.value,ut instanceof fe?ut:new fe(function(bt){bt(ut)})).then(Be,Ke)}Xe((ze=ze.apply(We,se||[])).next())})}function De(We,se){var fe,ze,He,pe,Be={label:0,sent:function(){if(1&He[0])throw He[1];return He[1]},trys:[],ops:[]};return pe={next:Ke(0),throw:Ke(1),return:Ke(2)},typeof Symbol=="function"&&(pe[Symbol.iterator]=function(){return this}),pe;function Ke(Xe){return function(Je){return function(ut){if(fe)throw new TypeError("Generator is already executing.");for(;Be;)try{if(fe=1,ze&&(He=2&ut[0]?ze.return:ut[0]?ze.throw||((He=ze.return)&&He.call(ze),0):ze.next)&&!(He=He.call(ze,ut[1])).done)return He;switch(ze=0,He&&(ut=[2&ut[0],He.value]),ut[0]){case 0:case 1:He=ut;break;case 4:return Be.label++,{value:ut[1],done:!1};case 5:Be.label++,ze=ut[1],ut=[0];continue;case 7:ut=Be.ops.pop(),Be.trys.pop();continue;default:if(He=Be.trys,!((He=He.length>0&&He[He.length-1])||ut[0]!==6&&ut[0]!==2)){Be=0;continue}if(ut[0]===3&&(!He||ut[1]>He[0]&&ut[1]<He[3])){Be.label=ut[1];break}if(ut[0]===6&&Be.label<He[1]){Be.label=He[1],He=ut;break}if(He&&Be.label<He[2]){Be.label=He[2],Be.ops.push(ut);break}He[2]&&Be.ops.pop(),Be.trys.pop();continue}ut=se.call(We,Be)}catch(bt){ut=[6,bt],ze=0}finally{fe=He=0}if(5&ut[0])throw ut[1];return{value:ut[0]?ut[1]:void 0,done:!0}}([Xe,Je])}}}function ve(){for(var We=0,se=0,fe=arguments.length;se<fe;se++)We+=arguments[se].length;var ze=Array(We),He=0;for(se=0;se<fe;se++)for(var pe=arguments[se],Be=0,Ke=pe.length;Be<Ke;Be++,He++)ze[He]=pe[Be];return ze}var re=function(){function We(){}return We.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},We.setAttributes=function(se,fe){for(var ze=0,He=fe;ze<He.length;ze++){var pe=He[ze],Be=pe[0],Ke=pe[1];se.setAttribute(Be,Ke)}},We.createRect=function(se,fe,ze){var He=document.createElementNS("http://www.w3.org/2000/svg","rect");return He.setAttribute("width",se.toString()),He.setAttribute("height",fe.toString()),ze&&We.setAttributes(He,ze),He},We.createLine=function(se,fe,ze,He,pe){var Be=document.createElementNS("http://www.w3.org/2000/svg","line");return Be.setAttribute("x1",se.toString()),Be.setAttribute("y1",fe.toString()),Be.setAttribute("x2",ze.toString()),Be.setAttribute("y2",He.toString()),pe&&We.setAttributes(Be,pe),Be},We.createPolygon=function(se,fe){var ze=document.createElementNS("http://www.w3.org/2000/svg","polygon");return ze.setAttribute("points",se),fe&&We.setAttributes(ze,fe),ze},We.createCircle=function(se,fe){var ze=document.createElementNS("http://www.w3.org/2000/svg","circle");return ze.setAttribute("cx",(se/2).toString()),ze.setAttribute("cy",(se/2).toString()),ze.setAttribute("r",se.toString()),fe&&We.setAttributes(ze,fe),ze},We.createEllipse=function(se,fe,ze){var He=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return He.setAttribute("cx",(se/2).toString()),He.setAttribute("cy",(fe/2).toString()),He.setAttribute("rx",(se/2).toString()),He.setAttribute("ry",(fe/2).toString()),ze&&We.setAttributes(He,ze),He},We.createGroup=function(se){var fe=document.createElementNS("http://www.w3.org/2000/svg","g");return se&&We.setAttributes(fe,se),fe},We.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},We.createMarker=function(se,fe,ze,He,pe,Be,Ke){var Xe=document.createElementNS("http://www.w3.org/2000/svg","marker");return We.setAttributes(Xe,[["id",se],["orient",fe],["markerWidth",ze.toString()],["markerHeight",He.toString()],["refX",pe.toString()],["refY",Be.toString()]]),Xe.appendChild(Ke),Xe},We.createText=function(se){var fe=document.createElementNS("http://www.w3.org/2000/svg","text");return fe.setAttribute("x","0"),fe.setAttribute("y","0"),se&&We.setAttributes(fe,se),fe},We.createTSpan=function(se,fe){var ze=document.createElementNS("http://www.w3.org/2000/svg","tspan");return ze.textContent=se,fe&&We.setAttributes(ze,fe),ze},We.createImage=function(se){var fe=document.createElementNS("http://www.w3.org/2000/svg","image");return se&&We.setAttributes(fe,se),fe},We.createPoint=function(se,fe){var ze=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return ze.x=se,ze.y=fe,ze},We.createPath=function(se,fe){var ze=document.createElementNS("http://www.w3.org/2000/svg","path");return ze.setAttribute("d",se),fe&&We.setAttributes(ze,fe),ze},We}(),ne=function(){function We(){}return We.addKey=function(se){We.key=se},Object.defineProperty(We,"isLicensed",{get:function(){return!!We.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(We.key)},enumerable:!1,configurable:!0}),We}(),ie=function(){function We(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return We.prototype.rasterize=function(se,fe,ze){var He=this;return new Promise(function(pe){var Be=ze!==void 0?ze:document.createElement("canvas");se===null&&(He.markersOnly=!0,He.naturalSize=!1);var Ke=document.createElementNS("http://www.w3.org/2000/svg","svg");Ke.setAttribute("xmlns","http://www.w3.org/2000/svg"),Ke.setAttribute("width",fe.width.baseVal.valueAsString),Ke.setAttribute("height",fe.height.baseVal.valueAsString),Ke.setAttribute("viewBox","0 0 "+fe.viewBox.baseVal.width.toString()+" "+fe.viewBox.baseVal.height.toString()),Ke.innerHTML=fe.innerHTML,He.naturalSize===!0?(Ke.width.baseVal.value=se.naturalWidth,Ke.height.baseVal.value=se.naturalHeight):He.width!==void 0&&He.height!==void 0&&(Ke.width.baseVal.value=He.width,Ke.height.baseVal.value=He.height),Be.width=Ke.width.baseVal.value,Be.height=Ke.height.baseVal.value;var Xe=Ke.outerHTML,Je=Be.getContext("2d");He.markersOnly!==!0&&Je.drawImage(se,0,0,Be.width,Be.height);var ut=window.URL,bt=new Image(Be.width,Be.height);bt.setAttribute("crossOrigin","anonymous");var gt=new Blob([Xe],{type:"image/svg+xml"}),Dt=ut.createObjectURL(gt);bt.onload=function(){Je.drawImage(bt,0,0),ut.revokeObjectURL(Dt);var Vt=Be.toDataURL(He.imageType,He.imageQuality);pe(Vt)},bt.src=Dt})},We}(),oe=function(){},le=function(){function We(se){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+se+"_"}return Object.defineProperty(We.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(We.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(We.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),We.prototype.addClass=function(se){return this.styleSheet===void 0&&this.addStyleSheet(),se.name=""+this.classNamePrefix+se.localName,this.classes.push(se),this.styleSheet.sheet.insertRule("."+se.name+" {"+se.style+"}",this.styleSheet.sheet.cssRules.length),se},We.prototype.addRule=function(se){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(se),this.styleSheet.sheet.insertRule(se.selector+" {"+se.style+"}",this.styleSheet.sheet.cssRules.length)},We.prototype.addStyleSheet=function(){var se;this.styleSheet=document.createElement("style"),((se=this.styleSheetRoot)!==null&&se!==void 0?se:document.head).appendChild(this.styleSheet),this.addRule(new me("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new me("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new me("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new te("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new te("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},We.prototype.removeStyleSheet=function(){var se;this.styleSheet&&(((se=this.styleSheetRoot)!==null&&se!==void 0?se:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},We}(),me=function(We,se){this.selector=We,this.style=se},te=function(We,se){this.localName=We,this.style=se},ae=function(){function We(se,fe,ze,He,pe){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=se,this.displayMode=fe,this.markerItems=ze,this.uiStyleSettings=He,this.styles=pe,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return We.prototype.show=function(se){var fe=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=se,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var ze=document.createElement("div");ze.className=this.toolbarBlockStyleClass.name,ze.style.whiteSpace="nowrap",this.uiContainer.appendChild(ze),this.addActionButton(ze,'<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(ze,'<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(ze,'<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(ze,'<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(ze,'<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(ze,'<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(ze,'<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(ze,'<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(pe){var Be=document.createElement("div");Be.className=""+fe.toolbarButtonStyleClass.name,Be.setAttribute("data-type-name",pe.typeName),Be.innerHTML=pe.icon,Be.addEventListener("click",function(){fe.markerToolbarButtonClicked(Be,pe)}),fe.buttons.push(Be),fe.markerButtons.push(Be)}),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 He=document.createElement("div");He.className=this.toolbarBlockStyleClass.name,He.style.whiteSpace="nowrap",He.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(He),this.addActionButton(He,'<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(He,'<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()},We.prototype.addButtonClickListener=function(se){this.buttonClickListeners.push(se)},We.prototype.removeButtonClickListener=function(se){this.buttonClickListeners.indexOf(se)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(se),1)},We.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},We.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var se=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var fe=0;fe<this.markerButtons.length;fe++)fe<se||fe===se&&this.markerButtons.length-1===se?this.markerButtonBlock.appendChild(this.markerButtons[fe]):(fe===se&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[fe]))}},We.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")},We.prototype.resetButtonStyles=function(){var se=this;this.buttons.forEach(function(fe){fe.className=fe.className.replace(se.uiStyleSettings.toolbarButtonStyleColorsClassName?se.uiStyleSettings.toolbarButtonStyleColorsClassName:se.toolbarButtonStyleColorsClass.name,"").trim(),fe.className=fe.className.replace(se.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?se.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:se.toolbarActiveButtonStyleColorsClass.name,"").trim(),fe.className+=" "+(se.uiStyleSettings.toolbarButtonStyleColorsClassName?se.uiStyleSettings.toolbarButtonStyleColorsClassName:se.toolbarButtonStyleColorsClass.name)})},We.prototype.addActionButton=function(se,fe,ze){var He=this,pe=document.createElement("div");switch(pe.className=""+this.toolbarButtonStyleClass.name,pe.innerHTML=fe,pe.setAttribute("data-action",ze),pe.addEventListener("click",function(){He.actionToolbarButtonClicked(pe,ze)}),ze){case"select":pe.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":pe.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":pe.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":pe.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":pe.style.fill=this.uiStyleSettings.closeButtonColor}se.appendChild(pe),this.buttons.push(pe)},We.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new te("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 te("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new te("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new te("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 te("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var se=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new te("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*se)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*se)+`px;
padding: `+se+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new te("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new te("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new me("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new me("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},We.prototype.markerToolbarButtonClicked=function(se,fe){this.setActiveButton(se),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ze){return ze("marker",fe)}),this.markerButtonOverflowBlock.style.display="none"},We.prototype.actionToolbarButtonClicked=function(se,fe){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ze){return ze("action",fe)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},We.prototype.setActiveButton=function(se){this.resetButtonStyles(),se.className=se.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),se.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},We.prototype.setActiveMarkerButton=function(se){var fe=this.markerButtons.find(function(ze){return ze.getAttribute("data-type-name")===se});fe&&this.setActiveButton(fe)},We.prototype.setCurrentMarker=function(se){var fe=this;this.currentMarker=se,this.buttons.filter(function(ze){return/delete|notes/.test(ze.getAttribute("data-action"))}).forEach(function(ze){fe.currentMarker===void 0?(ze.style.fillOpacity="0.4",ze.style.pointerEvents="none"):(ze.style.fillOpacity="1",ze.style.pointerEvents="all")})},We}(),ue=function(){function We(se,fe,ze,He){this.panels=[],this.panelButtons=[],this.markerjsContainer=se,this.displayMode=fe,this.uiStyleSettings=ze,this.styles=He,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return We.prototype.addStyles=function(){var se;this.toolboxStyleClass=this.styles.addClass(new te("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 te("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var fe=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new te("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new te("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new te("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 te("toolbox-panel-row_colors",`
background-color: `+((se=this.uiStyleSettings.toolboxBackgroundColor)!==null&&se!==void 0?se:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new te("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*fe)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*fe)+`px;
padding: `+fe+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new te("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new te("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new me("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new me("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},We.prototype.show=function(se){var fe;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=se,this.uiContainer.className=this.toolboxStyleClass.name+" "+((fe=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&fe!==void 0?fe:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},We.prototype.setPanelButtons=function(se){var fe,ze,He=this;this.panels=se,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((fe=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&fe!==void 0?fe:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((ze=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ze!==void 0?ze:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(pe){var Be;pe.uiStyleSettings=He.uiStyleSettings;var Ke=document.createElement("div");Ke.className=He.toolboxButtonStyleClass.name+" "+((Be=He.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Be!==void 0?Be:He.toolboxButtonStyleColorsClass.name),Ke.innerHTML=pe.icon,Ke.title=pe.title,Ke.addEventListener("click",function(){He.panelButtonClick(pe)}),He.panelButtons.push(Ke),He.buttonRow.appendChild(Ke)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},We.prototype.panelButtonClick=function(se){var fe=this,ze=-1;if(se!==this.activePanel){ze=this.panels.indexOf(se),this.panelRow.innerHTML="";var He=se.getUi();He.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(He),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=se}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){fe.displayMode==="inline"?fe.panelRow.style.display="none":fe.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(pe,Be){var Ke,Xe;pe.className=fe.toolboxButtonStyleClass.name+" "+(Be===ze?""+((Ke=fe.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Ke!==void 0?Ke:fe.toolboxActiveButtonStyleColorsClass.name):""+((Xe=fe.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Xe!==void 0?Xe:fe.toolboxButtonStyleColorsClass.name))})},We}(),de=function(We,se){this.title=We,this.icon=se},he=function(We){function se(fe,ze,He,pe){var Be=We.call(this,fe,pe||'<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 Be.colors=[],Be.addTransparent=!1,Be.colorBoxes=[],Be.colors=ze,Be.currentColor=He,Be.setCurrentColor=Be.setCurrentColor.bind(Be),Be.getColorBox=Be.getColorBox.bind(Be),Be}return vt(se,We),se.prototype.getUi=function(){var fe=this,ze=document.createElement("div");return ze.style.overflow="hidden",ze.style.whiteSpace="nowrap",this.colors.forEach(function(He){var pe=fe.getColorBox(He);ze.appendChild(pe),fe.colorBoxes.push(pe)}),ze},se.prototype.getColorBox=function(fe){var ze=this,He=this.uiStyleSettings.toolbarHeight/4,pe=this.uiStyleSettings.toolbarHeight-He,Be=document.createElement("div");Be.style.display="inline-block",Be.style.boxSizing="content-box",Be.style.width=pe-2+"px",Be.style.height=pe-2+"px",Be.style.padding="1px",Be.style.marginRight="2px",Be.style.marginBottom="2px",Be.style.borderWidth="2px",Be.style.borderStyle="solid",Be.style.borderRadius=(pe+2)/2+"px",Be.style.borderColor=fe===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Be.addEventListener("click",function(){ze.setCurrentColor(fe,Be)});var Ke=document.createElement("div");return Ke.style.display="inline-block",Ke.style.width=pe-2+"px",Ke.style.height=pe-2+"px",Ke.style.backgroundColor=fe,Ke.style.borderRadius=pe/2+"px",fe==="transparent"&&(Ke.style.fill=this.uiStyleSettings.toolboxAccentColor,Ke.innerHTML=`<svg viewBox="0 0 24 24">
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
</svg>`),Be.appendChild(Ke),Be},se.prototype.setCurrentColor=function(fe,ze){var He=this;this.currentColor=fe,this.colorBoxes.forEach(function(pe){pe.style.borderColor=pe===ze?He.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(fe)},se}(de),we=function(){function We(se,fe,ze){this._state="new",this._isSelected=!1,this._container=se,this._overlayContainer=fe,this.globalSettings=ze,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(We.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),We.prototype.ownsTarget=function(se){return!1},Object.defineProperty(We.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),We.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},We.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},We.prototype.pointerDown=function(se,fe){},We.prototype.dblClick=function(se,fe){},We.prototype.manipulate=function(se){},We.prototype.pointerUp=function(se){this.stateChanged()},We.prototype.dispose=function(){},We.prototype.addMarkerVisualToContainer=function(se){this.container.childNodes.length>0?this.container.insertBefore(se,this.container.childNodes[0]):this.container.appendChild(se)},We.prototype.getState=function(){return{typeName:We.typeName,state:this.state,notes:this.notes}},We.prototype.restoreState=function(se){this._state=se.state,this.notes=se.notes},We.prototype.scale=function(se,fe){},We.prototype.colorChanged=function(se){this.onColorChanged&&this.onColorChanged(se),this.stateChanged()},We.prototype.fillColorChanged=function(se){this.onFillColorChanged&&this.onFillColorChanged(se),this.stateChanged()},We.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var se=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),se.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(se)&&this.onStateChanged(this)}},We.typeName="MarkerBase",We}(),Se=function(){function We(){this.findGripByVisual=this.findGripByVisual.bind(this)}return We.prototype.findGripByVisual=function(se){return this.topLeft.ownsTarget(se)?this.topLeft:this.topCenter.ownsTarget(se)?this.topCenter:this.topRight.ownsTarget(se)?this.topRight:this.centerLeft.ownsTarget(se)?this.centerLeft:this.centerRight.ownsTarget(se)?this.centerRight:this.bottomLeft.ownsTarget(se)?this.bottomLeft:this.bottomCenter.ownsTarget(se)?this.bottomCenter:this.bottomRight.ownsTarget(se)?this.bottomRight:void 0},We}(),xe=function(){function We(){this.GRIP_SIZE=10,this.visual=re.createGroup(),this.visual.appendChild(re.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(re.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return We.prototype.ownsTarget=function(se){return se===this.visual||se===this.visual.childNodes[0]||se===this.visual.childNodes[1]},We}(),ye=function(){function We(){}return We.toITransformMatrix=function(se){return{a:se.a,b:se.b,c:se.c,d:se.d,e:se.e,f:se.f}},We.toSVGMatrix=function(se,fe){return se.a=fe.a,se.b=fe.b,se.c=fe.c,se.d=fe.d,se.e=fe.e,se.f=fe.f,se},We}(),Ae=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.left=0,pe.top=0,pe.width=0,pe.height=0,pe.defaultSize={x:50,y:20},pe.offsetX=0,pe.offsetY=0,pe.rotationAngle=0,pe.CB_DISTANCE=10,pe._suppressMarkerCreateEvent=!1,pe.container.transform.baseVal.appendItem(re.createTransform()),pe.setupControlBox(),pe}return vt(se,We),Object.defineProperty(se.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"visual",{get:function(){return this._visual},set:function(fe){this._visual=fe;var ze=re.createTransform();this._visual.transform.baseVal.appendItem(ze)},enumerable:!1,configurable:!0}),se.prototype.ownsTarget=function(fe){return!!We.prototype.ownsTarget.call(this,fe)||!!(this.controlGrips.findGripByVisual(fe)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(fe))},se.prototype.pointerDown=function(fe,ze){We.prototype.pointerDown.call(this,fe,ze),this.state==="new"&&(this.left=fe.x,this.top=fe.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var He=this.unrotatePoint(fe);if(this.manipulationStartX=He.x,this.manipulationStartY=He.y,this.offsetX=He.x-this.left,this.offsetY=He.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(ze),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ze)){this.activeGrip=this.rotatorGrip;var pe=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=pe.x-this.width/2,this.top=pe.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Be=this.container.transform.baseVal.getItem(0);Be.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Be,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},se.prototype.pointerUp=function(fe){var ze=this.state;We.prototype.pointerUp.call(this,fe),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(fe),this._state="select",ze==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},se.prototype.moveVisual=function(fe){this.visual.style.transform="translate("+fe.x+"px, "+fe.y+"px)"},se.prototype.manipulate=function(fe){var ze=this.unrotatePoint(fe);this.state==="creating"?this.resize(fe):this.state==="move"?(this.left=this.manipulationStartLeft+(ze.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ze.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ze):this.state==="rotate"&&this.rotate(fe)},se.prototype.resize=function(fe){var ze=this.manipulationStartLeft,He=this.manipulationStartWidth,pe=this.manipulationStartTop,Be=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ze=this.manipulationStartLeft+fe.x-this.manipulationStartX,He=this.manipulationStartWidth+this.manipulationStartLeft-ze;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:He=this.manipulationStartWidth+fe.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:pe=this.manipulationStartTop+fe.y-this.manipulationStartY,Be=this.manipulationStartHeight+this.manipulationStartTop-pe;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Be=this.manipulationStartHeight+fe.y-this.manipulationStartY}He>=0?(this.left=ze,this.width=He):(this.left=ze+He,this.width=-He),Be>=0?(this.top=pe,this.height=Be):(this.top=pe+Be,this.height=-Be),this.setSize()},se.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},se.prototype.rotate=function(fe){if(Math.abs(fe.x-this.centerX)>.1){var ze=Math.sign(fe.x-this.centerX);this.rotationAngle=180*Math.atan((fe.y-this.centerY)/(fe.x-this.centerX))/Math.PI+90*ze,this.applyRotation()}},se.prototype.applyRotation=function(){var fe=this.container.transform.baseVal.getItem(0);fe.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(fe,0)},se.prototype.rotatePoint=function(fe){if(this.rotationAngle===0)return fe;var ze=this.container.getCTM(),He=re.createPoint(fe.x,fe.y);return{x:(He=He.matrixTransform(ze)).x,y:He.y}},se.prototype.unrotatePoint=function(fe){if(this.rotationAngle===0)return fe;var ze=this.container.getCTM();ze=ze.inverse();var He=re.createPoint(fe.x,fe.y);return{x:(He=He.matrixTransform(ze)).x,y:He.y}},se.prototype.select=function(){We.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},se.prototype.deselect=function(){We.prototype.deselect.call(this),this.controlBox.style.display="none"},se.prototype.setupControlBox=function(){this.controlBox=re.createGroup();var fe=re.createTransform();fe.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(fe),this.container.appendChild(this.controlBox),this.controlRect=re.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=re.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"},se.prototype.adjustControlBox=function(){var fe=this.controlBox.transform.baseVal.getItem(0);fe.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(fe,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()},se.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()},se.prototype.createGrip=function(){var fe=new xe;return fe.visual.transform.baseVal.appendItem(re.createTransform()),this.controlBox.appendChild(fe.visual),fe},se.prototype.positionGrips=function(){var fe=this.controlGrips.topLeft.GRIP_SIZE,ze=-fe/2,He=ze,pe=(this.width+this.CB_DISTANCE)/2-fe/2,Be=(this.height+this.CB_DISTANCE)/2-fe/2,Ke=this.height+this.CB_DISTANCE-fe/2,Xe=this.width+this.CB_DISTANCE-fe/2;this.positionGrip(this.controlGrips.topLeft.visual,ze,He),this.positionGrip(this.controlGrips.topCenter.visual,pe,He),this.positionGrip(this.controlGrips.topRight.visual,Xe,He),this.positionGrip(this.controlGrips.centerLeft.visual,ze,Be),this.positionGrip(this.controlGrips.centerRight.visual,Xe,Be),this.positionGrip(this.controlGrips.bottomLeft.visual,ze,Ke),this.positionGrip(this.controlGrips.bottomCenter.visual,pe,Ke),this.positionGrip(this.controlGrips.bottomRight.visual,Xe,Ke),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,pe,He-3*this.CB_DISTANCE)},se.prototype.positionGrip=function(fe,ze,He){var pe=fe.transform.baseVal.getItem(0);pe.setTranslate(ze,He),fe.transform.baseVal.replaceItem(pe,0)},se.prototype.hideControlBox=function(){this.controlBox.style.display="none"},se.prototype.showControlBox=function(){this.controlBox.style.display=""},se.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:ye.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:ye.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},We.prototype.getState.call(this))},se.prototype.restoreState=function(fe){We.prototype.restoreState.call(this,fe);var ze=fe;this.left=ze.left,this.top=ze.top,this.width=ze.width,this.height=ze.height,this.rotationAngle=ze.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(ye.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ze.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(ye.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ze.containerTransformMatrix))},se.prototype.scale=function(fe,ze){We.prototype.scale.call(this,fe,ze);var He=this.rotatePoint({x:this.left,y:this.top}),pe=this.unrotatePoint({x:He.x*fe,y:He.y*ze});this.left=pe.x,this.top=pe.y,this.width=this.width*fe,this.height=this.height*ze,this.adjustControlBox()},se}(we),Le=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.fillColor="transparent",pe.strokeColor="transparent",pe.strokeWidth=0,pe.strokeDasharray="",pe.opacity=1,pe.setStrokeColor=pe.setStrokeColor.bind(pe),pe.setFillColor=pe.setFillColor.bind(pe),pe.setStrokeWidth=pe.setStrokeWidth.bind(pe),pe.setStrokeDasharray=pe.setStrokeDasharray.bind(pe),pe.createVisual=pe.createVisual.bind(pe),pe}return vt(se,We),se.prototype.ownsTarget=function(fe){return!(!We.prototype.ownsTarget.call(this,fe)&&fe!==this.visual)},se.prototype.createVisual=function(){this.visual=re.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)},se.prototype.pointerDown=function(fe,ze){We.prototype.pointerDown.call(this,fe,ze),this.state==="new"&&(this.createVisual(),this.moveVisual(fe),this._state="creating")},se.prototype.manipulate=function(fe){We.prototype.manipulate.call(this,fe)},se.prototype.resize=function(fe){We.prototype.resize.call(this,fe),this.setSize()},se.prototype.setSize=function(){We.prototype.setSize.call(this),re.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},se.prototype.pointerUp=function(fe){We.prototype.pointerUp.call(this,fe),this.setSize()},se.prototype.setStrokeColor=function(fe){this.strokeColor=fe,this.visual&&re.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(fe),this.stateChanged()},se.prototype.setFillColor=function(fe){this.fillColor=fe,this.visual&&re.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},se.prototype.setStrokeWidth=function(fe){this.strokeWidth=fe,this.visual&&re.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},se.prototype.setStrokeDasharray=function(fe){this.strokeDasharray=fe,this.visual&&re.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},se.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},We.prototype.getState.call(this))},se.prototype.restoreState=function(fe){var ze=fe;this.fillColor=ze.fillColor,this.strokeColor=ze.strokeColor,this.strokeWidth=ze.strokeWidth,this.strokeDasharray=ze.strokeDasharray,this.opacity=ze.opacity,this.createVisual(),We.prototype.restoreState.call(this,fe),this.setSize()},se.prototype.scale=function(fe,ze){We.prototype.scale.call(this,fe,ze),this.setSize()},se.title="Rectangle marker",se}(Ae),Ee=function(We){function se(fe,ze,He,pe){var Be=We.call(this,fe,pe||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return Be.widths=[],Be.widthBoxes=[],Be.widths=ze,Be.currentWidth=He,Be.setCurrentWidth=Be.setCurrentWidth.bind(Be),Be}return vt(se,We),se.prototype.getUi=function(){var fe=this,ze=document.createElement("div");return ze.style.display="flex",ze.style.overflow="hidden",ze.style.flexGrow="2",this.widths.forEach(function(He){var pe=document.createElement("div");pe.style.display="flex",pe.style.flexGrow="2",pe.style.alignItems="center",pe.style.justifyContent="space-between",pe.style.padding="5px",pe.style.borderWidth="2px",pe.style.borderStyle="solid",pe.style.borderColor=He===fe.currentWidth?fe.uiStyleSettings.toolboxAccentColor:"transparent",pe.addEventListener("click",function(){fe.setCurrentWidth(He,pe)}),ze.appendChild(pe);var Be=document.createElement("div");Be.innerText=He.toString(),Be.style.marginRight="5px",pe.appendChild(Be);var Ke=document.createElement("div");Ke.style.minHeight="20px",Ke.style.flexGrow="2",Ke.style.display="flex",Ke.style.alignItems="center";var Xe=document.createElement("hr");Xe.style.minWidth="20px",Xe.style.border="0px",Xe.style.borderTop=He+"px solid "+fe.uiStyleSettings.toolboxColor,Xe.style.flexGrow="2",Ke.appendChild(Xe),pe.appendChild(Ke),fe.widthBoxes.push(pe)}),ze},se.prototype.setCurrentWidth=function(fe,ze){var He=this;this.currentWidth=fe,this.widthBoxes.forEach(function(pe){pe.style.borderColor=pe===ze?He.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},se}(de),_e=function(We){function se(fe,ze,He,pe){var Be=We.call(this,fe,pe||'<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 Be.styles=[],Be.styleBoxes=[],Be.styles=ze,Be.currentStyle=He,Be.setCurrentStyle=Be.setCurrentStyle.bind(Be),Be}return vt(se,We),se.prototype.getUi=function(){var fe=this,ze=document.createElement("div");return ze.style.display="flex",ze.style.overflow="hidden",ze.style.flexGrow="2",this.styles.forEach(function(He){var pe=document.createElement("div");pe.style.display="flex",pe.style.alignItems="center",pe.style.justifyContent="space-between",pe.style.padding="5px",pe.style.borderWidth="2px",pe.style.borderStyle="solid",pe.style.overflow="hidden",pe.style.maxWidth=100/fe.styles.length-5+"%",pe.style.borderColor=He===fe.currentStyle?fe.uiStyleSettings.toolboxAccentColor:"transparent",pe.addEventListener("click",function(){fe.setCurrentStyle(He,pe)}),ze.appendChild(pe);var Be=document.createElement("div");Be.style.minHeight="20px",Be.style.flexGrow="2",Be.style.overflow="hidden";var Ke=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+fe.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(He!==""?'stroke-dasharray="'+He+'"':"")+` />
</svg>`;Be.innerHTML=Ke,pe.appendChild(Be),fe.styleBoxes.push(pe)}),ze},se.prototype.setCurrentStyle=function(fe,ze){var He=this;this.currentStyle=fe,this.styleBoxes.forEach(function(pe){pe.style.borderColor=pe===ze?He.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},se}(de),Me=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.strokeColor=He.defaultColor,pe.strokeWidth=He.defaultStrokeWidth,pe.strokeDasharray=He.defaultStrokeDasharray,pe.strokePanel=new he("Line color",He.defaultColorSet,He.defaultColor),pe.strokePanel.onColorChanged=pe.setStrokeColor,pe.strokeWidthPanel=new Ee("Line width",He.defaultStrokeWidths,He.defaultStrokeWidth),pe.strokeWidthPanel.onWidthChanged=pe.setStrokeWidth,pe.strokeStylePanel=new _e("Line style",He.defaultStrokeDasharrays,He.defaultStrokeDasharray),pe.strokeStylePanel.onStyleChanged=pe.setStrokeDasharray,pe}return vt(se,We),Object.defineProperty(se.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),se.prototype.getState=function(){var fe=We.prototype.getState.call(this);return fe.typeName=se.typeName,fe},se.typeName="FrameMarker",se.title="Frame marker",se.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',se}(Le),Oe=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"},Ce=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.x1=0,pe.y1=0,pe.x2=0,pe.y2=0,pe.defaultLength=50,pe.manipulationStartX=0,pe.manipulationStartY=0,pe.manipulationStartX1=0,pe.manipulationStartY1=0,pe.manipulationStartX2=0,pe.manipulationStartY2=0,pe.setupControlBox(),pe}return vt(se,We),se.prototype.ownsTarget=function(fe){return!!We.prototype.ownsTarget.call(this,fe)||!(!this.grip1.ownsTarget(fe)&&!this.grip2.ownsTarget(fe))},se.prototype.pointerDown=function(fe,ze){We.prototype.pointerDown.call(this,fe,ze),this.manipulationStartX=fe.x,this.manipulationStartY=fe.y,this.state==="new"&&(this.x1=fe.x,this.y1=fe.y,this.x2=fe.x,this.y2=fe.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(ze)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ze)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},se.prototype.pointerUp=function(fe){var ze=this.state;We.prototype.pointerUp.call(this,fe),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(fe),this._state="select",ze==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},se.prototype.adjustVisual=function(){},se.prototype.manipulate=function(fe){this.state==="creating"?this.resize(fe):this.state==="move"?(this.x1=this.manipulationStartX1+fe.x-this.manipulationStartX,this.y1=this.manipulationStartY1+fe.y-this.manipulationStartY,this.x2=this.manipulationStartX2+fe.x-this.manipulationStartX,this.y2=this.manipulationStartY2+fe.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(fe)},se.prototype.resize=function(fe){switch(this.activeGrip){case this.grip1:this.x1=fe.x,this.y1=fe.y;break;case this.grip2:case void 0:this.x2=fe.x,this.y2=fe.y}this.adjustVisual(),this.adjustControlBox()},se.prototype.select=function(){We.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},se.prototype.deselect=function(){We.prototype.deselect.call(this),this.controlBox.style.display="none"},se.prototype.setupControlBox=function(){this.controlBox=re.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},se.prototype.adjustControlBox=function(){this.positionGrips()},se.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},se.prototype.createGrip=function(){var fe=new xe;return fe.visual.transform.baseVal.appendItem(re.createTransform()),this.controlBox.appendChild(fe.visual),fe},se.prototype.positionGrips=function(){var fe=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-fe/2,this.y1-fe/2),this.positionGrip(this.grip2.visual,this.x2-fe/2,this.y2-fe/2)},se.prototype.positionGrip=function(fe,ze,He){var pe=fe.transform.baseVal.getItem(0);pe.setTranslate(ze,He),fe.transform.baseVal.replaceItem(pe,0)},se.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},We.prototype.getState.call(this))},se.prototype.restoreState=function(fe){We.prototype.restoreState.call(this,fe);var ze=fe;this.x1=ze.x1,this.y1=ze.y1,this.x2=ze.x2,this.y2=ze.y2},se.prototype.scale=function(fe,ze){We.prototype.scale.call(this,fe,ze),this.x1=this.x1*fe,this.y1=this.y1*ze,this.x2=this.x2*fe,this.y2=this.y2*ze,this.adjustVisual(),this.adjustControlBox()},se}(we),Ne=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.strokeColor="transparent",pe.strokeWidth=0,pe.strokeDasharray="",pe.setStrokeColor=pe.setStrokeColor.bind(pe),pe.setStrokeWidth=pe.setStrokeWidth.bind(pe),pe.setStrokeDasharray=pe.setStrokeDasharray.bind(pe),pe.strokeColor=He.defaultColor,pe.strokeWidth=He.defaultStrokeWidth,pe.strokeDasharray=He.defaultStrokeDasharray,pe.strokePanel=new he("Line color",He.defaultColorSet,He.defaultColor),pe.strokePanel.onColorChanged=pe.setStrokeColor,pe.strokeWidthPanel=new Ee("Line width",He.defaultStrokeWidths,He.defaultStrokeWidth),pe.strokeWidthPanel.onWidthChanged=pe.setStrokeWidth,pe.strokeStylePanel=new _e("Line style",He.defaultStrokeDasharrays,He.defaultStrokeDasharray),pe.strokeStylePanel.onStyleChanged=pe.setStrokeDasharray,pe}return vt(se,We),se.prototype.ownsTarget=function(fe){return!(!We.prototype.ownsTarget.call(this,fe)&&fe!==this.visual&&fe!==this.selectorLine&&fe!==this.visibleLine)},se.prototype.createVisual=function(){this.visual=re.createGroup(),this.selectorLine=re.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=re.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)},se.prototype.pointerDown=function(fe,ze){We.prototype.pointerDown.call(this,fe,ze),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},se.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()),re.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),re.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),re.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},se.prototype.setStrokeColor=function(fe){this.strokeColor=fe,this.adjustVisual(),this.colorChanged(fe)},se.prototype.setStrokeWidth=function(fe){this.strokeWidth=fe,this.adjustVisual()},se.prototype.setStrokeDasharray=function(fe){this.strokeDasharray=fe,this.adjustVisual(),this.stateChanged()},Object.defineProperty(se.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),se.prototype.getState=function(){var fe=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},We.prototype.getState.call(this));return fe.typeName=se.typeName,fe},se.prototype.restoreState=function(fe){We.prototype.restoreState.call(this,fe);var ze=fe;this.strokeColor=ze.strokeColor,this.strokeWidth=ze.strokeWidth,this.strokeDasharray=ze.strokeDasharray,this.createVisual(),this.adjustVisual()},se.typeName="LineMarker",se.title="Line marker",se.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',se}(Ce),je=function(We){function se(fe,ze,He,pe){var Be=We.call(this,fe,pe||'<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 Be.fonts=[],Be.fontBoxes=[],Be.fonts=ze,Be.currentFont=He,Be.setCurrentFont=Be.setCurrentFont.bind(Be),Be}return vt(se,We),se.prototype.getUi=function(){var fe=this,ze=document.createElement("div");return ze.style.overflow="hidden",ze.style.flexGrow="2",this.fonts.forEach(function(He){var pe=document.createElement("div");pe.style.display="inline-block",pe.style.alignItems="center",pe.style.justifyContent="space-between",pe.style.padding="5px",pe.style.borderWidth="2px",pe.style.borderStyle="solid",pe.style.overflow="hidden",pe.style.maxWidth=100/fe.fonts.length-5+"%",pe.style.borderColor=He===fe.currentFont?fe.uiStyleSettings.toolboxAccentColor:"transparent",pe.addEventListener("click",function(){fe.setCurrentFont(He,pe)}),ze.appendChild(pe);var Be=document.createElement("div");Be.style.display="flex",Be.style.minHeight="20px",Be.style.flexGrow="2",Be.style.fontFamily=He,Be.style.overflow="hidden";var Ke=document.createElement("div");Ke.style.whiteSpace="nowrap",Ke.style.overflow="hidden",Ke.style.textOverflow="ellipsis",Ke.innerHTML="The quick brown fox jumps over the lazy dog",Be.appendChild(Ke),pe.appendChild(Be),fe.fontBoxes.push(pe)}),ze},se.prototype.setCurrentFont=function(fe,ze){var He=this;this.currentFont=fe,this.fontBoxes.forEach(function(pe){pe.style.borderColor=pe===ze?He.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},se}(de),Ze=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.color="transparent",pe.padding=5,pe.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",pe.text=pe.DEFAULT_TEXT,pe.isMoved=!1,pe.color=He.defaultColor,pe.fontFamily=He.defaultFontFamily,pe.defaultSize={x:100,y:30},pe.setColor=pe.setColor.bind(pe),pe.setFont=pe.setFont.bind(pe),pe.renderText=pe.renderText.bind(pe),pe.sizeText=pe.sizeText.bind(pe),pe.textEditDivClicked=pe.textEditDivClicked.bind(pe),pe.showTextEditor=pe.showTextEditor.bind(pe),pe.setSize=pe.setSize.bind(pe),pe.positionTextEditor=pe.positionTextEditor.bind(pe),pe.colorPanel=new he("Color",He.defaultColorSet,He.defaultColor),pe.colorPanel.onColorChanged=pe.setColor,pe.fontFamilyPanel=new je("Font",He.defaultFontFamilies,He.defaultFontFamily),pe.fontFamilyPanel.onFontChanged=pe.setFont,pe}return vt(se,We),se.prototype.ownsTarget=function(fe){if(We.prototype.ownsTarget.call(this,fe)||fe===this.visual||fe===this.textElement||fe===this.bgRectangle)return!0;var ze=!1;return this.textElement.childNodes.forEach(function(He){He===fe&&(ze=!0)}),ze},se.prototype.createVisual=function(){this.visual=re.createGroup(),this.bgRectangle=re.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=re.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(re.createTransform()),this.textElement.transform.baseVal.appendItem(re.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},se.prototype.pointerDown=function(fe,ze){We.prototype.pointerDown.call(this,fe,ze),this.isMoved=!1,this.pointerDownPoint=fe,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(fe),this._state="creating")},se.prototype.renderText=function(){var fe=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(ze){fe.textElement.appendChild(re.createTSpan(ze.trim()===""?" ":ze.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},se.prototype.getTextScale=function(){var fe=this.textElement.getBBox(),ze=1;if(fe.width>0&&fe.height>0){var He=(1*this.width-this.width*this.padding*2/100)/fe.width,pe=(1*this.height-this.height*this.padding*2/100)/fe.height;ze=Math.min(He,pe)}return ze},se.prototype.getTextPosition=function(fe){var ze=this.textElement.getBBox(),He=0,pe=0;return ze.width>0&&ze.height>0&&(He=(this.width-ze.width*fe)/2,pe=this.height/2-ze.height*fe/2),{x:He,y:pe}},se.prototype.sizeText=function(){var fe=this.textElement.getBBox(),ze=this.getTextScale(),He=this.getTextPosition(ze);He.y-=fe.y*ze,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+He.x+"px, "+He.y+"px) scale("+ze+", "+ze+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(He.x,He.y),this.textElement.transform.baseVal.getItem(1).setScale(ze,ze))},se.prototype.manipulate=function(fe){We.prototype.manipulate.call(this,fe),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(fe.x-this.pointerDownPoint.x)>5||Math.abs(fe.y-this.pointerDownPoint.y)>5)},se.prototype.resize=function(fe){We.prototype.resize.call(this,fe),this.isMoved=!0,this.setSize(),this.sizeText()},se.prototype.setSize=function(){We.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(re.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),re.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},se.prototype.pointerUp=function(fe){var ze=this.state;ze==="creating"&&(this._suppressMarkerCreateEvent=!0),We.prototype.pointerUp.call(this,fe),this.setSize(),(ze==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},se.prototype.showTextEditor=function(){var fe=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(ze){ze.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ze=Number.parseFloat(fe.textEditor.style.fontSize);fe.textEditor.clientWidth>=Number.parseInt(fe.textEditor.style.maxWidth)&&ze>.9;)ze-=.1,fe.textEditor.style.fontSize=Math.max(ze,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ze){ze.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ze){if(ze.clipboardData){var He=ze.clipboardData.getData("text"),pe=window.getSelection();if(!pe.rangeCount)return!1;pe.deleteFromDocument(),pe.getRangeAt(0).insertNode(document.createTextNode(He)),ze.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){fe.textEditDivClicked(fe.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},se.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var fe=this.getTextScale(),ze=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),He=this.textElement.getBBox(),pe={x:He.width*fe,y:He.height*fe};ze.x-=pe.x/2,ze.y-=pe.y/2,this.textEditor.style.top=ze.y+"px",this.textEditor.style.left=ze.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ze.x+"px",this.textEditor.style.fontSize=Math.max(16*fe,12)+"px",this.textElement.style.display="none"}},se.prototype.textEditDivClicked=function(fe){this.text=fe.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},se.prototype.select=function(){We.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},se.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),We.prototype.deselect.call(this)},se.prototype.dblClick=function(fe,ze){We.prototype.dblClick.call(this,fe,ze),this.showTextEditor()},se.prototype.setColor=function(fe){this.textElement&&re.setAttributes(this.textElement,[["fill",fe]]),this.color=fe,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(fe)},se.prototype.setFont=function(fe){this.textElement&&re.setAttributes(this.textElement,[["font-family",fe]]),this.fontFamily=fe,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},se.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},se.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(se.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),se.prototype.getState=function(){var fe=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},We.prototype.getState.call(this));return fe.typeName=se.typeName,fe},se.prototype.restoreState=function(fe){var ze=fe;this.color=ze.color,this.fontFamily=ze.fontFamily,this.padding=ze.padding,this.text=ze.text,this.createVisual(),We.prototype.restoreState.call(this,fe),this.setSize()},se.prototype.scale=function(fe,ze){We.prototype.scale.call(this,fe,ze),this.setSize(),this.sizeText(),this.positionTextEditor()},se.typeName="TextMarker",se.title="Text marker",se.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>',se}(Ae),Pe=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.color="transparent",pe.lineWidth=3,pe.drawing=!1,pe.pixelRatio=1,pe.color=He.defaultColor,pe.lineWidth=He.defaultStrokeWidth,pe.pixelRatio=He.freehandPixelRatio,pe.setColor=pe.setColor.bind(pe),pe.addCanvas=pe.addCanvas.bind(pe),pe.finishCreation=pe.finishCreation.bind(pe),pe.setLineWidth=pe.setLineWidth.bind(pe),pe.colorPanel=new he("Color",He.defaultColorSet,He.defaultColor),pe.colorPanel.onColorChanged=pe.setColor,pe.lineWidthPanel=new Ee("Line width",He.defaultStrokeWidths,He.defaultStrokeWidth),pe.lineWidthPanel.onWidthChanged=pe.setLineWidth,pe}return vt(se,We),se.prototype.ownsTarget=function(fe){return!(!We.prototype.ownsTarget.call(this,fe)&&fe!==this.visual&&fe!==this.drawingImage)},se.prototype.createVisual=function(){this.visual=re.createGroup(),this.drawingImage=re.createImage(),this.visual.appendChild(this.drawingImage);var fe=re.createTransform();this.visual.transform.baseVal.appendItem(fe),this.addMarkerVisualToContainer(this.visual)},se.prototype.pointerDown=function(fe,ze){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(fe.x,fe.y),this.drawing=!0):We.prototype.pointerDown.call(this,fe,ze)},se.prototype.manipulate=function(fe){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(fe.x,fe.y),this.canvasContext.stroke()):We.prototype.manipulate.call(this,fe)},se.prototype.resize=function(fe){We.prototype.resize.call(this,fe),re.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),re.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},se.prototype.pointerUp=function(fe){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):We.prototype.pointerUp.call(this,fe)},se.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)},se.prototype.select=function(){this.state==="creating"&&this.finishCreation(),We.prototype.select.call(this)},se.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),We.prototype.deselect.call(this)},se.prototype.finishCreation=function(){for(var fe=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ze=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],He=ze[0],pe=ze[1],Be=ze[2],Ke=ze[3],Xe=!1,Je=0;Je<this.canvasElement.height;Je++)for(var ut=0;ut<this.canvasElement.width;ut++)fe.data[Je*this.canvasElement.width*4+4*ut+3]>0&&(Xe=!0,Je<pe&&(pe=Je),ut<He&&(He=ut),Je>Ke&&(Ke=Je),ut>Be&&(Be=ut));if(Xe){this.left=He/this.pixelRatio,this.top=pe/this.pixelRatio,this.width=(Be-He)/this.pixelRatio,this.height=(Ke-pe)/this.pixelRatio;var bt=document.createElement("canvas");bt.width=Be-He,bt.height=Ke-pe,bt.getContext("2d").putImageData(this.canvasContext.getImageData(He,pe,Be-He,Ke-pe),0,0),this.drawingImgUrl=bt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},se.prototype.setDrawingImage=function(){re.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),re.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},se.prototype.setColor=function(fe){this.color=fe,this.colorChanged(fe)},se.prototype.setLineWidth=function(fe){this.lineWidth=fe},Object.defineProperty(se.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),se.prototype.getState=function(){var fe=Object.assign({drawingImgUrl:this.drawingImgUrl},We.prototype.getState.call(this));return fe.typeName=se.typeName,fe},se.prototype.restoreState=function(fe){this.createVisual(),We.prototype.restoreState.call(this,fe),this.drawingImgUrl=fe.drawingImgUrl,this.setDrawingImage()},se.prototype.scale=function(fe,ze){We.prototype.scale.call(this,fe,ze),this.setDrawingImage()},se.typeName="FreehandMarker",se.title="Freehand marker",se.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>',se}(Ae),Ue=function(We){function se(fe,ze,He){var pe=We.call(this,fe,He||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return pe.typeBoxes=[],pe.currentType=ze,pe.setCurrentType=pe.setCurrentType.bind(pe),pe}return vt(se,We),se.prototype.getUi=function(){var fe=this,ze=document.createElement("div");ze.style.display="flex",ze.style.overflow="hidden",ze.style.flexGrow="2";for(var He=function(Ke){var Xe="both";switch(Ke){case 0:Xe="both";break;case 1:Xe="start";break;case 2:Xe="end";break;case 3:Xe="none"}var Je=document.createElement("div");if(Je.style.display="flex",Je.style.flexGrow="2",Je.style.alignItems="center",Je.style.justifyContent="space-between",Je.style.padding="5px",Je.style.borderWidth="2px",Je.style.borderStyle="solid",Je.style.borderColor=Xe===pe.currentType?pe.uiStyleSettings.toolboxAccentColor:"transparent",Je.addEventListener("click",function(){fe.setCurrentType(Xe,Je)}),ze.appendChild(Je),Xe==="both"||Xe==="start"){var ut=document.createElement("div");ut.style.display="flex",ut.style.alignItems="center",ut.style.minHeight="20px",ut.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="`+(pe.uiStyleSettings!==void 0?pe.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,ut.style.marginLeft="5px",Je.appendChild(ut)}var bt=document.createElement("div");bt.style.display="flex",bt.style.alignItems="center",bt.style.minHeight="20px",bt.style.flexGrow="2";var gt=document.createElement("hr");if(gt.style.minWidth="20px",gt.style.border="0px",gt.style.borderTop="3px solid "+(pe.uiStyleSettings!==void 0?pe.uiStyleSettings.toolboxColor:"#eeeeee"),gt.style.flexGrow="2",bt.appendChild(gt),Je.appendChild(bt),Xe==="both"||Xe==="end"){var Dt=document.createElement("div");Dt.style.display="flex",Dt.style.alignItems="center",Dt.style.minHeight="20px",Dt.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="`+(pe.uiStyleSettings!==void 0?pe.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Dt.style.marginRight="5px",Je.appendChild(Dt)}pe.typeBoxes.push(Je)},pe=this,Be=0;Be<4;Be++)He(Be);return ze},se.prototype.setCurrentType=function(fe,ze){var He=this;this.currentType=fe,this.typeBoxes.forEach(function(pe){pe.style.borderColor=pe===ze?He.uiStyleSettings!==void 0?He.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},se}(de),Qe=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.arrowType="end",pe.arrowBaseHeight=10,pe.arrowBaseWidth=10,pe.getArrowPoints=pe.getArrowPoints.bind(pe),pe.setArrowType=pe.setArrowType.bind(pe),pe.arrowTypePanel=new Ue("Arrow type","end"),pe.arrowTypePanel.onArrowTypeChanged=pe.setArrowType,pe}return vt(se,We),se.prototype.ownsTarget=function(fe){return!(!We.prototype.ownsTarget.call(this,fe)&&fe!==this.arrow1&&fe!==this.arrow2)},se.prototype.getArrowPoints=function(fe,ze){var He=this.arrowBaseWidth+2*this.strokeWidth,pe=this.arrowBaseHeight+2*this.strokeWidth;return fe-He/2+","+(ze+pe/2)+" "+fe+","+(ze-pe/2)+" "+(fe+He/2)+","+(ze+pe/2)},se.prototype.createTips=function(){this.arrow1=re.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(re.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=re.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(re.createTransform()),this.visual.appendChild(this.arrow2)},se.prototype.pointerDown=function(fe,ze){We.prototype.pointerDown.call(this,fe,ze),this.state==="creating"&&this.createTips()},se.prototype.adjustVisual=function(){if(We.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",re.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),re.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var fe=0;Math.abs(this.x1-this.x2)>.1&&(fe=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var ze=this.arrow1.transform.baseVal.getItem(0);ze.setRotate(fe,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ze,0);var He=this.arrow2.transform.baseVal.getItem(0);He.setRotate(fe+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(He,0)}},se.prototype.setArrowType=function(fe){this.arrowType=fe,this.adjustVisual(),this.stateChanged()},Object.defineProperty(se.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),se.prototype.getState=function(){var fe=Object.assign({arrowType:this.arrowType},We.prototype.getState.call(this));return fe.typeName=se.typeName,fe},se.prototype.restoreState=function(fe){We.prototype.restoreState.call(this,fe);var ze=fe;this.arrowType=ze.arrowType,this.createTips(),this.adjustVisual()},se.typeName="ArrowMarker",se.title="Arrow marker",se.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',se}(Ne),tt=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.fillColor=He.defaultFillColor,pe.strokeWidth=0,pe.fillPanel=new he("Color",He.defaultColorSet,He.defaultFillColor),pe.fillPanel.onColorChanged=pe.setFillColor,pe}return vt(se,We),Object.defineProperty(se.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),se.prototype.getState=function(){var fe=We.prototype.getState.call(this);return fe.typeName=se.typeName,fe},se.typeName="CoverMarker",se.title="Cover marker",se.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',se}(Le),ot=function(We){function se(fe,ze,He,pe){var Be=We.call(this,fe,pe||'<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 Be.opacities=[],Be.opacityBoxes=[],Be.opacities=ze,Be.currentOpacity=He,Be.setCurrentOpacity=Be.setCurrentOpacity.bind(Be),Be}return vt(se,We),se.prototype.getUi=function(){var fe=this,ze=document.createElement("div");return ze.style.display="flex",ze.style.overflow="hidden",ze.style.flexGrow="2",ze.style.justifyContent="space-between",this.opacities.forEach(function(He){var pe=document.createElement("div");pe.style.display="flex",pe.style.alignItems="center",pe.style.justifyContent="center",pe.style.padding="5px",pe.style.borderWidth="2px",pe.style.borderStyle="solid",pe.style.borderColor=He===fe.currentOpacity?fe.uiStyleSettings.toolboxAccentColor:"transparent",pe.addEventListener("click",function(){fe.setCurrentOpacity(He,pe)}),ze.appendChild(pe);var Be=document.createElement("div");Be.innerText=100*He+"%",pe.appendChild(Be),fe.opacityBoxes.push(pe)}),ze},se.prototype.setCurrentOpacity=function(fe,ze){var He=this;this.currentOpacity=fe,this.opacityBoxes.forEach(function(pe){pe.style.borderColor=pe===ze?He.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},se}(de),lt=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.setOpacity=pe.setOpacity.bind(pe),pe.fillColor=He.defaultHighlightColor,pe.strokeWidth=0,pe.opacity=He.defaultHighlightOpacity,pe.fillPanel=new he("Color",He.defaultColorSet,pe.fillColor),pe.fillPanel.onColorChanged=pe.setFillColor,pe.opacityPanel=new ot("Opacity",He.defaultOpacitySteps,pe.opacity),pe.opacityPanel.onOpacityChanged=pe.setOpacity,pe}return vt(se,We),se.prototype.setOpacity=function(fe){this.opacity=fe,this.visual&&re.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(se.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),se.prototype.getState=function(){var fe=We.prototype.getState.call(this);return fe.typeName=se.typeName,fe},se.typeName="HighlightMarker",se.title="Highlight marker",se.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>',se}(tt),Ve='<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>',Ye='<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>',nt=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.bgColor="transparent",pe.tipPosition={x:0,y:0},pe.tipBase1Position={x:0,y:0},pe.tipBase2Position={x:0,y:0},pe.tipMoving=!1,pe.color=He.defaultStrokeColor,pe.bgColor=He.defaultFillColor,pe.fontFamily=He.defaultFontFamily,pe.defaultSize={x:100,y:30},pe.setBgColor=pe.setBgColor.bind(pe),pe.getTipPoints=pe.getTipPoints.bind(pe),pe.positionTip=pe.positionTip.bind(pe),pe.setTipPoints=pe.setTipPoints.bind(pe),pe.colorPanel=new he("Text color",He.defaultColorSet,pe.color,Ve),pe.colorPanel.onColorChanged=pe.setColor,pe.bgColorPanel=new he("Fill color",He.defaultColorSet,pe.bgColor,Ye),pe.bgColorPanel.onColorChanged=pe.setBgColor,pe.fontFamilyPanel=new je("Font",He.defaultFontFamilies,He.defaultFontFamily),pe.fontFamilyPanel.onFontChanged=pe.setFont,pe.tipGrip=new xe,pe.tipGrip.visual.transform.baseVal.appendItem(re.createTransform()),pe.controlBox.appendChild(pe.tipGrip.visual),pe}return vt(se,We),se.prototype.ownsTarget=function(fe){return We.prototype.ownsTarget.call(this,fe)||this.tipGrip.ownsTarget(fe)||this.tip===fe},se.prototype.createTip=function(){re.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=re.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},se.prototype.pointerDown=function(fe,ze){this.state==="new"&&We.prototype.pointerDown.call(this,fe,ze),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ze)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):We.prototype.pointerDown.call(this,fe,ze)},se.prototype.pointerUp=function(fe){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,We.prototype.pointerUp.call(this,fe);else{var ze=this.state==="creating";We.prototype.pointerUp.call(this,fe),this.setTipPoints(ze),this.positionTip()}},se.prototype.manipulate=function(fe){if(this.tipMoving){var ze=this.unrotatePoint(fe);this.tipPosition={x:ze.x-this.manipulationStartLeft,y:ze.y-this.manipulationStartTop},this.positionTip()}else We.prototype.manipulate.call(this,fe)},se.prototype.setBgColor=function(fe){this.bgRectangle&&this.tip&&(re.setAttributes(this.bgRectangle,[["fill",fe]]),re.setAttributes(this.tip,[["fill",fe]])),this.bgColor=fe,this.fillColorChanged(fe)},se.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},se.prototype.setTipPoints=function(fe){fe===void 0&&(fe=!1);var ze=Math.min(this.height/2,15),He=this.height/5;fe&&(this.tipPosition={x:ze+He/2,y:this.height+20});var pe=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?pe<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(He=this.width/5,ze=Math.min(this.width/2,15),this.tipBase1Position={x:ze,y:0},this.tipBase2Position={x:ze+He,y:0}):(this.tipBase1Position={x:0,y:ze},this.tipBase2Position={x:0,y:ze+He}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?pe<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(He=this.width/5,ze=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ze-He,y:0},this.tipBase2Position={x:this.width-ze,y:0}):(this.tipBase1Position={x:this.width,y:ze},this.tipBase2Position={x:this.width,y:ze+He}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?pe<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(He=this.width/5,ze=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ze-He,y:this.height},this.tipBase2Position={x:this.width-ze,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ze-He},this.tipBase2Position={x:this.width,y:this.height-ze}):pe<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(He=this.width/5,ze=Math.min(this.width/2,15),this.tipBase1Position={x:ze,y:this.height},this.tipBase2Position={x:ze+He,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ze},this.tipBase2Position={x:0,y:this.height-ze-He})},se.prototype.resize=function(fe){We.prototype.resize.call(this,fe),this.positionTip()},se.prototype.positionTip=function(){re.setAttributes(this.tip,[["points",this.getTipPoints()]]);var fe=this.tipGrip.visual.transform.baseVal.getItem(0);fe.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(fe,0)},Object.defineProperty(se.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),se.prototype.select=function(){this.positionTip(),We.prototype.select.call(this)},se.prototype.getState=function(){var fe=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},We.prototype.getState.call(this));return fe.typeName=se.typeName,fe},se.prototype.restoreState=function(fe){var ze=fe;this.bgColor=ze.bgColor,this.tipPosition=ze.tipPosition,We.prototype.restoreState.call(this,fe),this.createTip(),this.setTipPoints()},se.prototype.scale=function(fe,ze){We.prototype.scale.call(this,fe,ze),this.tipPosition={x:this.tipPosition.x*fe,y:this.tipPosition.y*ze},this.positionTip()},se.typeName="CalloutMarker",se.title="Callout marker",se.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>',se}(Ze),dt=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.fillColor="transparent",pe.strokeColor="transparent",pe.strokeWidth=0,pe.strokeDasharray="",pe.opacity=1,pe.strokeColor=He.defaultColor,pe.strokeWidth=He.defaultStrokeWidth,pe.strokeDasharray=He.defaultStrokeDasharray,pe.fillColor=He.defaultFillColor,pe.setStrokeColor=pe.setStrokeColor.bind(pe),pe.setFillColor=pe.setFillColor.bind(pe),pe.setStrokeWidth=pe.setStrokeWidth.bind(pe),pe.setStrokeDasharray=pe.setStrokeDasharray.bind(pe),pe.setOpacity=pe.setOpacity.bind(pe),pe.createVisual=pe.createVisual.bind(pe),pe.strokePanel=new he("Line color",ve(He.defaultColorSet,["transparent"]),He.defaultColor),pe.strokePanel.onColorChanged=pe.setStrokeColor,pe.fillPanel=new he("Fill color",ve(He.defaultColorSet,["transparent"]),pe.fillColor,Ye),pe.fillPanel.onColorChanged=pe.setFillColor,pe.strokeWidthPanel=new Ee("Line width",He.defaultStrokeWidths,He.defaultStrokeWidth),pe.strokeWidthPanel.onWidthChanged=pe.setStrokeWidth,pe.strokeStylePanel=new _e("Line style",He.defaultStrokeDasharrays,He.defaultStrokeDasharray),pe.strokeStylePanel.onStyleChanged=pe.setStrokeDasharray,pe.opacityPanel=new ot("Opacity",He.defaultOpacitySteps,pe.opacity),pe.opacityPanel.onOpacityChanged=pe.setOpacity,pe}return vt(se,We),se.prototype.ownsTarget=function(fe){return!(!We.prototype.ownsTarget.call(this,fe)&&fe!==this.visual)},se.prototype.createVisual=function(){this.visual=re.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)},se.prototype.pointerDown=function(fe,ze){We.prototype.pointerDown.call(this,fe,ze),this.state==="new"&&(this.createVisual(),this.moveVisual(fe),this._state="creating")},se.prototype.manipulate=function(fe){We.prototype.manipulate.call(this,fe)},se.prototype.resize=function(fe){We.prototype.resize.call(this,fe),this.setSize()},se.prototype.setSize=function(){We.prototype.setSize.call(this),re.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},se.prototype.pointerUp=function(fe){We.prototype.pointerUp.call(this,fe),this.setSize()},se.prototype.setStrokeColor=function(fe){this.strokeColor=fe,this.visual&&re.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(fe),this.stateChanged()},se.prototype.setFillColor=function(fe){this.fillColor=fe,this.visual&&re.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(fe),this.stateChanged()},se.prototype.setStrokeWidth=function(fe){this.strokeWidth=fe,this.visual&&re.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},se.prototype.setStrokeDasharray=function(fe){this.strokeDasharray=fe,this.visual&&re.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},se.prototype.setOpacity=function(fe){this.opacity=fe,this.visual&&re.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(se.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),se.prototype.getState=function(){var fe=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},We.prototype.getState.call(this));return fe.typeName=se.typeName,fe},se.prototype.restoreState=function(fe){var ze=fe;this.fillColor=ze.fillColor,this.strokeColor=ze.strokeColor,this.strokeWidth=ze.strokeWidth,this.strokeDasharray=ze.strokeDasharray,this.opacity=ze.opacity,this.createVisual(),We.prototype.restoreState.call(this,fe),this.setSize()},se.prototype.scale=function(fe,ze){We.prototype.scale.call(this,fe,ze),this.setSize()},se.typeName="EllipseMarker",se.title="Ellipse marker",se.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>',se}(Ae),at=function(We){function se(fe,ze,He){return We.call(this,fe,ze,He)||this}return vt(se,We),Object.defineProperty(se.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),se.prototype.ownsTarget=function(fe){return!(!We.prototype.ownsTarget.call(this,fe)&&fe!==this.tip1&&fe!==this.tip2)},se.prototype.createTips=function(){this.tip1=re.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(re.createTransform()),this.visual.appendChild(this.tip1),this.tip2=re.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(re.createTransform()),this.visual.appendChild(this.tip2)},se.prototype.pointerDown=function(fe,ze){We.prototype.pointerDown.call(this,fe,ze),this.state==="creating"&&this.createTips()},se.prototype.adjustVisual=function(){if(We.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(re.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()]]),re.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 fe=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),ze=this.tip1.transform.baseVal.getItem(0);ze.setRotate(fe,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ze,0);var He=this.tip2.transform.baseVal.getItem(0);He.setRotate(fe+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(He,0)}},Object.defineProperty(se.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),se.prototype.getState=function(){var fe=We.prototype.getState.call(this);return fe.typeName=se.typeName,fe},se.prototype.restoreState=function(fe){We.prototype.restoreState.call(this,fe),this.createTips(),this.adjustVisual()},se.typeName="MeasurementMarker",se.title="Measurement marker",se.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>',se}(Ne),et=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.strokePanel.colors=He.defaultColorSet,pe.fillColor="transparent",pe}return vt(se,We),Object.defineProperty(se.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),se.prototype.getState=function(){var fe=We.prototype.getState.call(this);return fe.typeName=se.typeName,fe},se.typeName="EllipseFrameMarker",se.title="Ellipse frame marker",se.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>',se}(dt),qe=function(){function We(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(We.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),We.prototype.addUndoStep=function(se){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(se)||(this.undoStack.push(se),JSON.stringify(this.lastRedoStep)!==JSON.stringify(se)&&this.redoStack.splice(0,this.redoStack.length))},We.prototype.replaceLastUndoStep=function(se){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=se)},We.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},We.prototype.undo=function(){if(this.undoStack.length>1){var se=this.undoStack.pop();return se!==void 0&&this.redoStack.push(se),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},We.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},We}(),it=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.strokeColor="transparent",pe.strokeWidth=0,pe.strokeDasharray="",pe.curveX=0,pe.curveY=0,pe.manipulationStartCurveX=0,pe.manipulationStartCurveY=0,pe.setStrokeColor=pe.setStrokeColor.bind(pe),pe.setStrokeWidth=pe.setStrokeWidth.bind(pe),pe.setStrokeDasharray=pe.setStrokeDasharray.bind(pe),pe.positionGrips=pe.positionGrips.bind(pe),pe.addControlGrips=pe.addControlGrips.bind(pe),pe.adjustVisual=pe.adjustVisual.bind(pe),pe.setupControlBox=pe.setupControlBox.bind(pe),pe.resize=pe.resize.bind(pe),pe.strokeColor=He.defaultColor,pe.strokeWidth=He.defaultStrokeWidth,pe.strokeDasharray=He.defaultStrokeDasharray,pe.strokePanel=new he("Line color",He.defaultColorSet,He.defaultColor),pe.strokePanel.onColorChanged=pe.setStrokeColor,pe.strokeWidthPanel=new Ee("Line width",He.defaultStrokeWidths,He.defaultStrokeWidth),pe.strokeWidthPanel.onWidthChanged=pe.setStrokeWidth,pe.strokeStylePanel=new _e("Line style",He.defaultStrokeDasharrays,He.defaultStrokeDasharray),pe.strokeStylePanel.onStyleChanged=pe.setStrokeDasharray,pe}return vt(se,We),se.prototype.ownsTarget=function(fe){return!(!We.prototype.ownsTarget.call(this,fe)&&fe!==this.visual&&fe!==this.selectorCurve&&fe!==this.visibleCurve&&!this.curveGrip.ownsTarget(fe))},se.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},se.prototype.createVisual=function(){this.visual=re.createGroup(),this.selectorCurve=re.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=re.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)},se.prototype.pointerDown=function(fe,ze){We.prototype.pointerDown.call(this,fe,ze),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=fe.x,this.curveY=fe.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(ze)&&(this.activeGrip=this.curveGrip,this._state="resize")},se.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),re.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),re.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),re.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},se.prototype.setupControlBox=function(){We.prototype.setupControlBox.call(this),this.curveControlLine1=re.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=re.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)},se.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,We.prototype.addControlGrips.call(this)},se.prototype.positionGrips=function(){We.prototype.positionGrips.call(this);var fe=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-fe/2,this.curveY-fe/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()))},se.prototype.manipulate=function(fe){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+fe.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+fe.y-this.manipulationStartY),We.prototype.manipulate.call(this,fe)},se.prototype.resize=function(fe){this.activeGrip===this.curveGrip&&(this.curveX=fe.x,this.curveY=fe.y),We.prototype.resize.call(this,fe),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},se.prototype.setStrokeColor=function(fe){this.strokeColor=fe,this.adjustVisual(),this.colorChanged(fe)},se.prototype.setStrokeWidth=function(fe){this.strokeWidth=fe,this.adjustVisual()},se.prototype.setStrokeDasharray=function(fe){this.strokeDasharray=fe,this.adjustVisual()},se.prototype.scale=function(fe,ze){this.curveX=this.curveX*fe,this.curveY=this.curveY*ze,We.prototype.scale.call(this,fe,ze)},Object.defineProperty(se.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),se.prototype.getState=function(){var fe=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},We.prototype.getState.call(this));return fe.typeName=se.typeName,fe},se.prototype.restoreState=function(fe){We.prototype.restoreState.call(this,fe);var ze=fe;this.strokeColor=ze.strokeColor,this.strokeWidth=ze.strokeWidth,this.strokeDasharray=ze.strokeDasharray,this.curveX=ze.curveX,this.curveY=ze.curveY,this.createVisual(),this.adjustVisual()},se.typeName="CurveMarker",se.title="Curve marker",se.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>',se}(Ce),yt=function(We){function se(fe,ze,He){var pe=We.call(this,fe,ze,He)||this;return pe.fillColor="transparent",pe.strokeColor="transparent",pe.strokeWidth=0,pe.strokeDasharray="",pe.textColor="transparent",pe.fontSize="1rem",pe.isMoved=!1,pe.captionText="Caption",pe.PADDING=5,pe.captionBoxWidth=0,pe.captionBoxHeight=0,pe.strokeColor=He.defaultColor,pe.strokeWidth=He.defaultStrokeWidth,pe.strokeDasharray=He.defaultStrokeDasharray,pe.fillColor=He.defaultFillColor,pe.textColor=He.defaultStrokeColor,pe.fontFamily=He.defaultFontFamily,pe.fontSize=He.defaultCaptionFontSize,pe.captionText=He.defaultCaptionText,pe.setStrokeColor=pe.setStrokeColor.bind(pe),pe.setFillColor=pe.setFillColor.bind(pe),pe.setStrokeWidth=pe.setStrokeWidth.bind(pe),pe.setStrokeDasharray=pe.setStrokeDasharray.bind(pe),pe.createVisual=pe.createVisual.bind(pe),pe.sizeCaption=pe.sizeCaption.bind(pe),pe.setCaptionText=pe.setCaptionText.bind(pe),pe.showTextEditor=pe.showTextEditor.bind(pe),pe.positionTextEditor=pe.positionTextEditor.bind(pe),pe.finishTextEditing=pe.finishTextEditing.bind(pe),pe.setFont=pe.setFont.bind(pe),pe.setTextColor=pe.setTextColor.bind(pe),pe.strokePanel=new he("Line color",ve(He.defaultColorSet,["transparent"]),pe.strokeColor),pe.strokePanel.onColorChanged=pe.setStrokeColor,pe.fillPanel=new he("Fill color",ve(He.defaultColorSet,["transparent"]),pe.fillColor,Ye),pe.fillPanel.onColorChanged=pe.setFillColor,pe.strokeWidthPanel=new Ee("Line width",He.defaultStrokeWidths,He.defaultStrokeWidth),pe.strokeWidthPanel.onWidthChanged=pe.setStrokeWidth,pe.strokeStylePanel=new _e("Line style",He.defaultStrokeDasharrays,He.defaultStrokeDasharray),pe.strokeStylePanel.onStyleChanged=pe.setStrokeDasharray,pe.fontFamilyPanel=new je("Font",He.defaultFontFamilies,He.defaultFontFamily),pe.fontFamilyPanel.onFontChanged=pe.setFont,pe.textColorPanel=new he("Text color",He.defaultColorSet,pe.textColor,Ve),pe.textColorPanel.onColorChanged=pe.setTextColor,pe}return vt(se,We),se.prototype.ownsTarget=function(fe){return!(!We.prototype.ownsTarget.call(this,fe)&&fe!==this.visual&&fe!==this.frame&&fe!==this.captionBg&&fe!==this.captionElement)},se.prototype.createVisual=function(){this.visual=re.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=re.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=re.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=re.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()},se.prototype.setCaptionText=function(fe){this.captionText=fe,this.captionElement.textContent=this.captionText,this.sizeCaption()},se.prototype.pointerDown=function(fe,ze){We.prototype.pointerDown.call(this,fe,ze),this.isMoved=!1,this.pointerDownPoint=fe,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(fe),this._state="creating")},se.prototype.manipulate=function(fe){We.prototype.manipulate.call(this,fe),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(fe.x-this.pointerDownPoint.x)>5||Math.abs(fe.y-this.pointerDownPoint.y)>5)},se.prototype.resize=function(fe){We.prototype.resize.call(this,fe),this.setSize()},se.prototype.sizeCaption=function(){var fe=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=fe.width+2*this.PADDING,this.captionBoxHeight=fe.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),re.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')"]]),re.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')"]])},se.prototype.showTextEditor=function(){var fe=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(ze){ze.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ze){ze.key==="Enter"&&fe.finishTextEditing(fe.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ze){ze.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){fe.finishTextEditing(fe.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){fe.finishTextEditing(fe.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},se.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"))},se.prototype.finishTextEditing=function(fe){this.setCaptionText(fe.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},se.prototype.setFont=function(fe){this.captionElement&&re.setAttributes(this.captionElement,[["font-family",fe]]),this.fontFamily=fe,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},se.prototype.setTextColor=function(fe){this.captionElement&&re.setAttributes(this.captionElement,[["fill",fe]]),this.textColor=fe,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},se.prototype.setSize=function(){We.prototype.setSize.call(this),re.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},se.prototype.pointerUp=function(fe){We.prototype.pointerUp.call(this,fe),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},se.prototype.dblClick=function(fe,ze){We.prototype.dblClick.call(this,fe,ze),this.showTextEditor()},se.prototype.setStrokeColor=function(fe){this.strokeColor=fe,this.frame&&re.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(fe),this.stateChanged()},se.prototype.setFillColor=function(fe){this.fillColor=fe,this.captionBg&&re.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(fe),this.stateChanged()},se.prototype.setStrokeWidth=function(fe){this.strokeWidth=fe,this.frame&&re.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},se.prototype.setStrokeDasharray=function(fe){this.strokeDasharray=fe,this.frame&&re.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(se.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),se.prototype.getState=function(){var fe=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},We.prototype.getState.call(this));return fe.typeName=this.typeName,fe},se.prototype.restoreState=function(fe){var ze=fe;this.fillColor=ze.fillColor,this.strokeColor=ze.strokeColor,this.strokeWidth=ze.strokeWidth,this.strokeDasharray=ze.strokeDasharray,this.textColor=ze.textColor,this.fontFamily=ze.fontFamily,this.captionText=ze.captionText,this.fontSize=ze.fontSize,this.createVisual(),We.prototype.restoreState.call(this,fe),this.setSize()},se.prototype.scale=function(fe,ze){We.prototype.scale.call(this,fe,ze),this.setSize()},se.typeName="CaptionFrameMarker",se.title="Caption frame marker",se.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>',se}(Ae),ht=function(){function We(se,fe){fe===void 0&&(fe=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=se,this.cancelable=fe}return Object.defineProperty(We.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),We.prototype.preventDefault=function(){this._defaultPrevented=!0},We}(),Bt=function(We){function se(fe,ze,He){var pe=We.call(this,fe,!1)||this;return pe.dataUrl=ze,pe.state=He,pe}return vt(se,We),se}(ht),Et=function(We){function se(fe,ze,He){He===void 0&&(He=!1);var pe=We.call(this,fe,He)||this;return pe.marker=ze,pe}return vt(se,We),se}(ht),st=function(){function We(){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 We.prototype.addEventListener=function(se,fe){this[se].push(fe)},We.prototype.removeEventListener=function(se,fe){var ze=this[se].indexOf(fe);ze>-1&&this[se].splice(ze,1)},We}(),Ge=function(){function We(se){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Oe,this._isOpen=!1,this.undoRedoManager=new qe,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 st,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=We.instanceCounter++,this.styles=new le(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=se,this.targetRoot=document.body,this.width=se.clientWidth,this.height=se.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(We.prototype,"ALL_MARKER_TYPES",{get:function(){return[Me,Pe,Qe,Ze,et,dt,lt,nt,at,tt,Ne,it,yt]},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Me,Pe,Qe,Ze,dt,lt,nt]},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Me,Pe,Qe,Ze,lt]},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(se){var fe=this;this._availableMarkerTypes.splice(0),se.forEach(function(ze){if(typeof ze=="string"){var He=fe.ALL_MARKER_TYPES.find(function(pe){return pe.typeName===ze});He!==void 0&&fe._availableMarkerTypes.push(He)}else fe._availableMarkerTypes.push(ze)})},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(We.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(se){this._zoomLevel=se,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(We.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),We.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),ne.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},We.prototype.show=function(){var se=this;this.styles.styleSheetRoot===void 0&&oe.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=oe.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(fe){return fe(new ht(se))})},We.prototype.render=function(){return x(this,void 0,void 0,function(){var se;return De(this,function(fe){switch(fe.label){case 0:return this.setCurrentMarker(),(se=new ie).naturalSize=this.renderAtNaturalSize,se.imageType=this.renderImageType,se.imageQuality=this.renderImageQuality,se.markersOnly=this.renderMarkersOnly,se.width=this.renderWidth,se.height=this.renderHeight,[4,se.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return fe.sent(),[4,se.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,fe.sent()]}})})},We.prototype.close=function(se){var fe=this;if(se===void 0&&(se=!1),this.isOpen){var ze=!1;se||this.eventListeners.beforeclose.forEach(function(He){var pe=new ht(fe,!0);He(pe),pe.defaultPrevented&&(ze=!0)}),ze||(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(He){return He(new ht(fe))}),this.detachEvents(),this._isOpen=!1)}},We.prototype.addMarkersToToolbar=function(){for(var se,fe=[],ze=0;ze<arguments.length;ze++)fe[ze]=arguments[ze];(se=this._availableMarkerTypes).push.apply(se,fe)},We.prototype.addRenderEventListener=function(se){this.addEventListener("render",function(fe){se(fe.dataUrl,fe.state)})},We.prototype.removeRenderEventListener=function(se){},We.prototype.addCloseEventListener=function(se){this.addEventListener("close",function(){se()})},We.prototype.removeCloseEventListener=function(se){},We.prototype.setupResizeObserver=function(){var se=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){se.resize(se.target.clientWidth,se.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return se.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},We.prototype.onPopupTargetResize=function(){var se=1*this.target.clientWidth/this.target.clientHeight,fe=this.editorCanvas.clientWidth/se>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*se:this.editorCanvas.clientWidth,ze=fe<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/se;this.resize(fe,ze)},We.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},We.prototype.resize=function(se,fe){this._isResizing=!0;var ze=se/this.imageWidth,He=fe/this.imageHeight;this.imageWidth=Math.round(se),this.imageHeight=Math.round(fe),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(ze,He),this._isResizing=!1},We.prototype.scaleMarkers=function(se,fe){var ze,He=this;this._currentMarker&&this._currentMarker instanceof Ze?this._currentMarker.scale(se,fe):(ze=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(pe){pe!==He._currentMarker&&pe.scale(se,fe)}),ze!==void 0&&this.setCurrentMarker(ze)},We.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"},We.prototype.setTopLeft=function(){var se=this.editingTarget.getBoundingClientRect(),fe=this.editorCanvas.getBoundingClientRect();this.left=se.left-fe.left,this.top=se.top-fe.top},We.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)},We.prototype.addDefs=function(){for(var se,fe=[],ze=0;ze<arguments.length;ze++)fe[ze]=arguments[ze];this.defs=re.createDefs(),this.addDefsToImage(),(se=this.defs).append.apply(se,fe)},We.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},We.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)},We.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},We.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},We.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)},We.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},We.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)},We.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 se=document.createElement("a");se.href="https://markerjs.com/",se.target="_blank",se.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>',se.title="Powered by marker.js",se.style.display="grid",se.style.alignItems="center",se.style.justifyItems="center",se.style.padding="3px",se.style.width="20px",se.style.height="20px",this.logoUI.appendChild(se),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},We.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")},We.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"},We.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},We.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 se=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=se+"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 ae(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 ue(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},We.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},We.prototype.removeMarker=function(se){this.markerImage.removeChild(se.container),this.markers.indexOf(se)>-1&&this.markers.splice(this.markers.indexOf(se),1),se.dispose()},We.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())},We.prototype.toolbarButtonClicked=function(se,fe){if(se==="marker"&&fe!==void 0)this.createNewMarker(fe);else if(se==="action")switch(fe){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()}},We.prototype.deleteSelectedMarker=function(){var se=this;if(this._currentMarker!==void 0){var fe=!1;if(this.eventListeners.markerbeforedelete.forEach(function(He){var pe=new Et(se,se._currentMarker,!0);He(pe),pe.defaultPrevented&&(fe=!0)}),!fe){var ze=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(He){return He(new Et(se,ze))})}}},We.prototype.clear=function(){var se=this,fe=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Be){var Ke=new Et(se,void 0,!0);Be(Ke),Ke.defaultPrevented&&(fe=!0)}),!fe)){this.setCurrentMarker();for(var ze=function(Be){var Ke=He.markers[Be];He.setCurrentMarker(He.markers[Be]),He._currentMarker.dispose(),He.markerImage.removeChild(He._currentMarker.container),He.markers.splice(He.markers.indexOf(He._currentMarker),1),He.eventListeners.markerdelete.forEach(function(Xe){return Xe(new Et(se,Ke))})},He=this,pe=this.markers.length-1;pe>=0;pe--)ze(pe);this.addUndoStep()}},Object.defineProperty(We.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),We.prototype.showNotesEditor=function(){var se;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=(se=this._currentMarker.notes)!==null&&se!==void 0?se:"",this.overlayContainer.appendChild(this.notesArea))},We.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)},We.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},We.prototype.addUndoStep=function(){var se=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var fe=this.getState(),ze=this.undoRedoManager.getLastUndoStep();if(!ze||ze.width===fe.width&&ze.height===fe.height){var He=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(fe),He<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(pe){return pe(new ht(se))})}else this.undoRedoManager.replaceLastUndoStep(fe),this.eventListeners.statechange.forEach(function(pe){return pe(new ht(se))})}},We.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},We.prototype.undoStep=function(){var se=this,fe=this.undoRedoManager.undo();fe!==void 0&&(this.restoreState(fe),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ze){return ze(new ht(se))}))},We.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},We.prototype.redoStep=function(){var se=this,fe=this.undoRedoManager.redo();fe!==void 0&&(this.restoreState(fe),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ze){return ze(new ht(se))}))},We.prototype.stepZoom=function(){var se=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=se<this.zoomSteps.length-1?this.zoomSteps[se+1]:this.zoomSteps[0]},We.prototype.panTo=function(se){this.contentDiv.scrollBy({left:this.prevPanPoint.x-se.x,top:this.prevPanPoint.y-se.y}),this.prevPanPoint=se},We.prototype.startRenderAndClose=function(){return x(this,void 0,void 0,function(){var se,fe,ze=this;return De(this,function(He){switch(He.label){case 0:return[4,this.render()];case 1:return se=He.sent(),fe=this.getState(),this.eventListeners.render.forEach(function(pe){return pe(new Bt(ze,se,fe))}),this.close(!0),[2]}})})},We.prototype.getState=function(se){se===!0&&this.setCurrentMarker();var fe={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(ze){return fe.markers.push(ze.getState())}),fe},We.prototype.restoreState=function(se){var fe=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);se.markers.forEach(function(ze){var He=fe._availableMarkerTypes.find(function(Be){return Be.typeName===ze.typeName});if(He!==void 0){var pe=fe.addNewMarker(He);pe.restoreState(ze),fe.markers.push(pe)}}),se.width&&se.height&&(se.width!==this.imageWidth||se.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/se.width,this.imageHeight/se.height),this.eventListeners.restorestate.forEach(function(ze){return ze(new ht(fe))})},We.prototype.addNewMarker=function(se){var fe=re.createGroup();return this.markerImage.appendChild(fe),new se(fe,this.overlayContainer,this.settings)},We.prototype.createNewMarker=function(se){var fe,ze=this;(fe=typeof se=="string"?this._availableMarkerTypes.find(function(He){return He.typeName===se}):se)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(fe),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(fe.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(He){return He(new Et(ze,ze._currentMarker))}))},We.prototype.markerCreated=function(se){var fe=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(se),this.setCurrentMarker(se),se instanceof Pe&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Pe):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(ze){return ze(new Et(fe,fe._currentMarker))})},We.prototype.colorChanged=function(se){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=se,this.settings.defaultStrokeColor=se)},We.prototype.fillColorChanged=function(se){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=se)},We.prototype.markerStateChanged=function(se){var fe=this;this.eventListeners.markerchange.forEach(function(ze){return ze(new Et(fe,se))})},We.prototype.setCurrentMarker=function(se){var fe=this;this._currentMarker!==se&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(ze){return ze(new Et(fe,fe._currentMarker))})),this._currentMarker=se,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(ze){return ze(new Et(fe,fe._currentMarker))}))},We.prototype.onPointerDown=function(se){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||se.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var fe=this.markers.find(function(ze){return ze.ownsTarget(se.target)});fe!==void 0?(this.setCurrentMarker(fe),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(se.clientX,se.clientY),se.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:se.clientX,y:se.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(se.clientX,se.clientY))},We.prototype.onDblClick=function(se){if(this._isFocused||this.focus(),this.mode==="select"){var fe=this.markers.find(function(ze){return ze.ownsTarget(se.target)});fe!==void 0&&fe!==this._currentMarker&&this.setCurrentMarker(fe),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(se.clientX,se.clientY),se.target):this.setCurrentMarker()}},We.prototype.onPointerMove=function(se){this.touchPoints!==1&&se.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||se.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(se.clientX,se.clientY)):this.zoomLevel>1&&this.panTo({x:se.clientX,y:se.clientY}))},We.prototype.onPointerUp=function(se){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(se.clientX,se.clientY)),this.isDragging=!1,this.addUndoStep()},We.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},We.prototype.onKeyUp=function(se){this._currentMarker===void 0||this.notesArea!==void 0||se.key!=="Delete"&&se.key!=="Backspace"||this.deleteSelectedMarker()},We.prototype.clientToLocalCoordinates=function(se,fe){var ze=this.markerImage.getBoundingClientRect();return{x:(se-ze.left)/this.zoomLevel,y:(fe-ze.top)/this.zoomLevel}},We.prototype.onWindowResize=function(){this.positionUI()},We.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var se=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=se+"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()},We.prototype.addLicenseKey=function(se){ne.addKey(se)},We.prototype.addEventListener=function(se,fe){this.eventListeners.addEventListener(se,fe)},We.prototype.removeEventListener=function(se,fe){this.eventListeners.removeEventListener(se,fe)},We.prototype.renderState=function(se){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(se),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(We.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),We.prototype.focus=function(){var se=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(fe){return fe(new ht(se))}))},We.prototype.blur=function(){var se=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(fe){return fe(new ht(se))}))},We.instanceCounter=0,We}()},5630:function(sr,Wt,ke){"use strict";var Re=ke(60499),vt=ke(85899),x=ke(18642),De=ke(72190),ve=ke(42244),re=ke(92310),ne=ke.n(re),ie=ke(18929),oe=ke(59301),le=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],me=(0,oe.forwardRef)(function(te,ae){var ue,de=te.prefixCls,he=de===void 0?"rc-checkbox":de,we=te.className,Se=te.style,xe=te.checked,ye=te.disabled,Ae=te.defaultChecked,Le=Ae===void 0?!1:Ae,Ee=te.type,_e=Ee===void 0?"checkbox":Ee,Me=te.title,Oe=te.onChange,Ce=(0,ve.Z)(te,le),Ne=(0,oe.useRef)(null),je=(0,ie.Z)(Le,{value:xe}),Ze=(0,De.Z)(je,2),Pe=Ze[0],Ue=Ze[1];(0,oe.useImperativeHandle)(ae,function(){return{focus:function(){var lt;(lt=Ne.current)===null||lt===void 0||lt.focus()},blur:function(){var lt;(lt=Ne.current)===null||lt===void 0||lt.blur()},input:Ne.current}});var Qe=ne()(he,we,(ue={},(0,x.Z)(ue,"".concat(he,"-checked"),Pe),(0,x.Z)(ue,"".concat(he,"-disabled"),ye),ue)),tt=function(lt){ye||("checked"in te||Ue(lt.target.checked),Oe==null||Oe({target:(0,vt.Z)((0,vt.Z)({},te),{},{type:_e,checked:lt.target.checked}),stopPropagation:function(){lt.stopPropagation()},preventDefault:function(){lt.preventDefault()},nativeEvent:lt.nativeEvent}))};return oe.createElement("span",{className:Qe,title:Me,style:Se},oe.createElement("input",(0,Re.Z)({},Ce,{className:"".concat(he,"-input"),ref:Ne,onChange:tt,disabled:ye,checked:!!Pe,type:_e})),oe.createElement("span",{className:"".concat(he,"-inner")}))});Wt.Z=me},31561:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return _e}});var Re=ke(60499),vt=ke(18642),x=ke(72190),De=ke(42244),ve=ke(35593),re=ke(92310),ne=ke.n(re),ie=ke(8654),oe=ke(59301),le=ke(10228),me=ke(16089),te=le.Z.ESC,ae=le.Z.TAB;function ue(Me){var Oe=Me.visible,Ce=Me.triggerRef,Ne=Me.onVisibleChange,je=Me.autoFocus,Ze=Me.overlayRef,Pe=oe.useRef(!1),Ue=function(){if(Oe){var lt,Ve;(lt=Ce.current)===null||lt===void 0||(Ve=lt.focus)===null||Ve===void 0||Ve.call(lt),Ne==null||Ne(!1)}},Qe=function(){var lt;return(lt=Ze.current)!==null&&lt!==void 0&&lt.focus?(Ze.current.focus(),Pe.current=!0,!0):!1},tt=function(lt){switch(lt.keyCode){case te:Ue();break;case ae:{var Ve=!1;Pe.current||(Ve=Qe()),Ve?lt.preventDefault():Ue();break}}};oe.useEffect(function(){return Oe?(window.addEventListener("keydown",tt),je&&(0,me.Z)(Qe,3),function(){window.removeEventListener("keydown",tt),Pe.current=!1}):function(){Pe.current=!1}},[Oe])}var de=(0,oe.forwardRef)(function(Me,Oe){var Ce=Me.overlay,Ne=Me.arrow,je=Me.prefixCls,Ze=(0,oe.useMemo)(function(){var Ue;return typeof Ce=="function"?Ue=Ce():Ue=Ce,Ue},[Ce]),Pe=(0,ie.sQ)(Oe,Ze==null?void 0:Ze.ref);return oe.createElement(oe.Fragment,null,Ne&&oe.createElement("div",{className:"".concat(je,"-arrow")}),oe.cloneElement(Ze,{ref:(0,ie.Yr)(Ze)?Pe:void 0}))}),he=de,we={adjustX:1,adjustY:1},Se=[0,0],xe={topLeft:{points:["bl","tl"],overflow:we,offset:[0,-4],targetOffset:Se},top:{points:["bc","tc"],overflow:we,offset:[0,-4],targetOffset:Se},topRight:{points:["br","tr"],overflow:we,offset:[0,-4],targetOffset:Se},bottomLeft:{points:["tl","bl"],overflow:we,offset:[0,4],targetOffset:Se},bottom:{points:["tc","bc"],overflow:we,offset:[0,4],targetOffset:Se},bottomRight:{points:["tr","br"],overflow:we,offset:[0,4],targetOffset:Se}},ye=xe,Ae=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Le(Me,Oe){var Ce,Ne=Me.arrow,je=Ne===void 0?!1:Ne,Ze=Me.prefixCls,Pe=Ze===void 0?"rc-dropdown":Ze,Ue=Me.transitionName,Qe=Me.animation,tt=Me.align,ot=Me.placement,lt=ot===void 0?"bottomLeft":ot,Ve=Me.placements,Ye=Ve===void 0?ye:Ve,nt=Me.getPopupContainer,dt=Me.showAction,at=Me.hideAction,et=Me.overlayClassName,qe=Me.overlayStyle,it=Me.visible,yt=Me.trigger,ht=yt===void 0?["hover"]:yt,Bt=Me.autoFocus,Et=Me.overlay,st=Me.children,Ge=Me.onVisibleChange,We=(0,De.Z)(Me,Ae),se=oe.useState(),fe=(0,x.Z)(se,2),ze=fe[0],He=fe[1],pe="visible"in Me?it:ze,Be=oe.useRef(null),Ke=oe.useRef(null),Xe=oe.useRef(null);oe.useImperativeHandle(Oe,function(){return Be.current});var Je=function(Mt){He(Mt),Ge==null||Ge(Mt)};ue({visible:pe,triggerRef:Xe,onVisibleChange:Je,autoFocus:Bt,overlayRef:Ke});var ut=function(Mt){var ft=Me.onOverlayClick;He(!1),ft&&ft(Mt)},bt=function(){return oe.createElement(he,{ref:Ke,overlay:Et,prefixCls:Pe,arrow:je})},gt=function(){return typeof Et=="function"?bt:bt()},Dt=function(){var Mt=Me.minOverlayWidthMatchTrigger,ft=Me.alignPoint;return"minOverlayWidthMatchTrigger"in Me?Mt:!ft},Vt=function(){var Mt=Me.openClassName;return Mt!==void 0?Mt:"".concat(Pe,"-open")},kt=oe.cloneElement(st,{className:ne()((Ce=st.props)===null||Ce===void 0?void 0:Ce.className,pe&&Vt()),ref:(0,ie.Yr)(st)?(0,ie.sQ)(Xe,st.ref):void 0}),jt=at;return!jt&&ht.indexOf("contextMenu")!==-1&&(jt=["click"]),oe.createElement(ve.Z,(0,Re.Z)({builtinPlacements:Ye},We,{prefixCls:Pe,ref:Be,popupClassName:ne()(et,(0,vt.Z)({},"".concat(Pe,"-show-arrow"),je)),popupStyle:qe,action:ht,showAction:dt,hideAction:jt,popupPlacement:lt,popupAlign:tt,popupTransitionName:Ue,popupAnimation:Qe,popupVisible:pe,stretch:Dt()?"minWidth":"",popup:gt(),onPopupVisibleChange:Je,onPopupClick:ut,getPopupContainer:nt}),kt)}var Ee=oe.forwardRef(Le),_e=Ee},93681:function(sr,Wt,ke){"use strict";ke.r(Wt),ke.d(Wt,{BaseInput:function(){return le},default:function(){return xe}});var Re=ke(60499),vt=ke(85899),x=ke(18642),De=ke(43749),ve=ke(92310),re=ke.n(ve),ne=ke(59301),ie=ke(5643),oe=function(Ae){var Le,Ee,_e=Ae.inputElement,Me=Ae.prefixCls,Oe=Ae.prefix,Ce=Ae.suffix,Ne=Ae.addonBefore,je=Ae.addonAfter,Ze=Ae.className,Pe=Ae.style,Ue=Ae.disabled,Qe=Ae.readOnly,tt=Ae.focused,ot=Ae.triggerFocus,lt=Ae.allowClear,Ve=Ae.value,Ye=Ae.handleReset,nt=Ae.hidden,dt=Ae.classes,at=Ae.classNames,et=Ae.dataAttrs,qe=Ae.styles,it=Ae.components,yt=(it==null?void 0:it.affixWrapper)||"span",ht=(it==null?void 0:it.groupWrapper)||"span",Bt=(it==null?void 0:it.wrapper)||"span",Et=(it==null?void 0:it.groupAddon)||"span",st=(0,ne.useRef)(null),Ge=function(bt){var gt;(gt=st.current)!==null&&gt!==void 0&&gt.contains(bt.target)&&(ot==null||ot())},We=function(){var bt;if(!lt)return null;var gt=!Ue&&!Qe&&Ve,Dt="".concat(Me,"-clear-icon"),Vt=(0,De.Z)(lt)==="object"&&lt!==null&&lt!==void 0&&lt.clearIcon?lt.clearIcon:"\u2716";return ne.createElement("span",{onClick:Ye,onMouseDown:function(jt){return jt.preventDefault()},className:re()(Dt,(bt={},(0,x.Z)(bt,"".concat(Dt,"-hidden"),!gt),(0,x.Z)(bt,"".concat(Dt,"-has-suffix"),!!Ce),bt)),role:"button",tabIndex:-1},Vt)},se=(0,ne.cloneElement)(_e,{value:Ve,hidden:nt,className:re()((Le=_e.props)===null||Le===void 0?void 0:Le.className,!(0,ie.X3)(Ae)&&!(0,ie.He)(Ae)&&Ze)||null,style:(0,vt.Z)((0,vt.Z)({},(Ee=_e.props)===null||Ee===void 0?void 0:Ee.style),!(0,ie.X3)(Ae)&&!(0,ie.He)(Ae)?Pe:{})});if((0,ie.X3)(Ae)){var fe,ze="".concat(Me,"-affix-wrapper"),He=re()(ze,(fe={},(0,x.Z)(fe,"".concat(ze,"-disabled"),Ue),(0,x.Z)(fe,"".concat(ze,"-focused"),tt),(0,x.Z)(fe,"".concat(ze,"-readonly"),Qe),(0,x.Z)(fe,"".concat(ze,"-input-with-clear-btn"),Ce&&lt&&Ve),fe),!(0,ie.He)(Ae)&&Ze,dt==null?void 0:dt.affixWrapper,at==null?void 0:at.affixWrapper),pe=(Ce||lt)&&ne.createElement("span",{className:re()("".concat(Me,"-suffix"),at==null?void 0:at.suffix),style:qe==null?void 0:qe.suffix},We(),Ce);se=ne.createElement(yt,(0,Re.Z)({className:He,style:(0,vt.Z)((0,vt.Z)({},(0,ie.He)(Ae)?void 0:Pe),qe==null?void 0:qe.affixWrapper),hidden:!(0,ie.He)(Ae)&&nt,onClick:Ge},et==null?void 0:et.affixWrapper,{ref:st}),Oe&&ne.createElement("span",{className:re()("".concat(Me,"-prefix"),at==null?void 0:at.prefix),style:qe==null?void 0:qe.prefix},Oe),(0,ne.cloneElement)(_e,{value:Ve,hidden:null}),pe)}if((0,ie.He)(Ae)){var Be="".concat(Me,"-group"),Ke="".concat(Be,"-addon"),Xe=re()("".concat(Me,"-wrapper"),Be,dt==null?void 0:dt.wrapper),Je=re()("".concat(Me,"-group-wrapper"),Ze,dt==null?void 0:dt.group);return ne.createElement(ht,{className:Je,style:Pe,hidden:nt},ne.createElement(Bt,{className:Xe},Ne&&ne.createElement(Et,{className:Ke},Ne),(0,ne.cloneElement)(se,{hidden:null}),je&&ne.createElement(Et,{className:Ke},je)))}return se},le=oe,me=ke(77654),te=ke(72190),ae=ke(42244),ue=ke(18929),de=ke(2738),he=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],we=(0,ne.forwardRef)(function(ye,Ae){var Le=ye.autoComplete,Ee=ye.onChange,_e=ye.onFocus,Me=ye.onBlur,Oe=ye.onPressEnter,Ce=ye.onKeyDown,Ne=ye.prefixCls,je=Ne===void 0?"rc-input":Ne,Ze=ye.disabled,Pe=ye.htmlSize,Ue=ye.className,Qe=ye.maxLength,tt=ye.suffix,ot=ye.showCount,lt=ye.type,Ve=lt===void 0?"text":lt,Ye=ye.classes,nt=ye.classNames,dt=ye.styles,at=(0,ae.Z)(ye,he),et=(0,ue.Z)(ye.defaultValue,{value:ye.value}),qe=(0,te.Z)(et,2),it=qe[0],yt=qe[1],ht=(0,ne.useState)(!1),Bt=(0,te.Z)(ht,2),Et=Bt[0],st=Bt[1],Ge=(0,ne.useRef)(null),We=function(Je){Ge.current&&(0,ie.nH)(Ge.current,Je)};(0,ne.useImperativeHandle)(Ae,function(){return{focus:We,blur:function(){var Je;(Je=Ge.current)===null||Je===void 0||Je.blur()},setSelectionRange:function(Je,ut,bt){var gt;(gt=Ge.current)===null||gt===void 0||gt.setSelectionRange(Je,ut,bt)},select:function(){var Je;(Je=Ge.current)===null||Je===void 0||Je.select()},input:Ge.current}}),(0,ne.useEffect)(function(){st(function(Xe){return Xe&&Ze?!1:Xe})},[Ze]);var se=function(Je){ye.value===void 0&&yt(Je.target.value),Ge.current&&(0,ie.rJ)(Ge.current,Je,Ee)},fe=function(Je){Oe&&Je.key==="Enter"&&Oe(Je),Ce==null||Ce(Je)},ze=function(Je){st(!0),_e==null||_e(Je)},He=function(Je){st(!1),Me==null||Me(Je)},pe=function(Je){yt(""),We(),Ge.current&&(0,ie.rJ)(Ge.current,Je,Ee)},Be=function(){var Je=(0,de.Z)(ye,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return ne.createElement("input",(0,Re.Z)({autoComplete:Le},Je,{onChange:se,onFocus:ze,onBlur:He,onKeyDown:fe,className:re()(je,(0,x.Z)({},"".concat(je,"-disabled"),Ze),nt==null?void 0:nt.input),style:dt==null?void 0:dt.input,ref:Ge,size:Pe,type:Ve}))},Ke=function(){var Je=Number(Qe)>0;if(tt||ot){var ut=(0,ie.D7)(it),bt=(0,me.Z)(ut).length,gt=(0,De.Z)(ot)==="object"?ot.formatter({value:ut,count:bt,maxLength:Qe}):"".concat(bt).concat(Je?" / ".concat(Qe):"");return ne.createElement(ne.Fragment,null,!!ot&&ne.createElement("span",{className:re()("".concat(je,"-show-count-suffix"),(0,x.Z)({},"".concat(je,"-show-count-has-suffix"),!!tt),nt==null?void 0:nt.count),style:(0,vt.Z)({},dt==null?void 0:dt.count)},gt),tt)}return null};return ne.createElement(le,(0,Re.Z)({},at,{prefixCls:je,className:Ue,inputElement:Be(),handleReset:pe,value:(0,ie.D7)(it),focused:Et,triggerFocus:We,suffix:Ke(),disabled:Ze,classes:Ye,classNames:nt,styles:dt}))}),Se=we,xe=Se},5643:function(sr,Wt,ke){"use strict";ke.d(Wt,{D7:function(){return ve},He:function(){return Re},X3:function(){return vt},nH:function(){return De},rJ:function(){return x}});function Re(re){return!!(re.addonBefore||re.addonAfter)}function vt(re){return!!(re.prefix||re.suffix||re.allowClear)}function x(re,ne,ie,oe){if(ie){var le=ne;if(ne.type==="click"){var me=re.cloneNode(!0);le=Object.create(ne,{target:{value:me},currentTarget:{value:me}}),me.value="",ie(le);return}if(oe!==void 0){le=Object.create(ne,{target:{value:re},currentTarget:{value:re}}),re.value=oe,ie(le);return}ie(le)}}function De(re,ne){if(re){re.focus(ne);var ie=ne||{},oe=ie.cursor;if(oe){var le=re.value.length;switch(oe){case"start":re.setSelectionRange(0,0);break;case"end":re.setSelectionRange(le,le);break;default:re.setSelectionRange(0,le)}}}}function ve(re){return typeof re=="undefined"||re===null?"":String(re)}},15285:function(sr,Wt,ke){"use strict";ke.d(Wt,{iz:function(){return Ir},ck:function(){return Fn},BW:function(){return Dr},sN:function(){return Fn},Wd:function(){return Ut},ZP:function(){return xr},Xl:function(){return Ce}});var Re=ke(60499),vt=ke(18642),x=ke(85899),De=ke(77654),ve=ke(72190),re=ke(42244),ne=ke(92310),ie=ke.n(ne),oe=ke(83836),le=ke(18929),me=ke(13697),te=ke(48736),ae=ke(59301),ue=ke(4676),de=ae.createContext(null);function he(Lt,Jt){return Lt===void 0?null:"".concat(Lt,"-").concat(Jt)}function we(Lt){var Jt=ae.useContext(de);return he(Jt,Lt)}var Se=ke(80547),xe=["children","locked"],ye=ae.createContext(null);function Ae(Lt,Jt){var $t=(0,x.Z)({},Lt);return Object.keys(Jt).forEach(function(dr){var lr=Jt[dr];lr!==void 0&&($t[dr]=lr)}),$t}function Le(Lt){var Jt=Lt.children,$t=Lt.locked,dr=(0,re.Z)(Lt,xe),lr=ae.useContext(ye),pr=(0,Se.Z)(function(){return Ae(lr,dr)},[lr,dr],function(fr,Ar){return!$t&&(fr[0]!==Ar[0]||!(0,me.Z)(fr[1],Ar[1],!0))});return ae.createElement(ye.Provider,{value:pr},Jt)}var Ee=[],_e=ae.createContext(null);function Me(){return ae.useContext(_e)}var Oe=ae.createContext(Ee);function Ce(Lt){var Jt=ae.useContext(Oe);return ae.useMemo(function(){return Lt!==void 0?[].concat((0,De.Z)(Jt),[Lt]):Jt},[Jt,Lt])}var Ne=ae.createContext(null),je=ae.createContext({}),Ze=je,Pe=ke(29194);function Ue(Lt){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,Pe.Z)(Lt)){var $t=Lt.nodeName.toLowerCase(),dr=["input","select","textarea","button"].includes($t)||Lt.isContentEditable||$t==="a"&&!!Lt.getAttribute("href"),lr=Lt.getAttribute("tabindex"),pr=Number(lr),fr=null;return lr&&!Number.isNaN(pr)?fr=pr:dr&&fr===null&&(fr=0),dr&&Lt.disabled&&(fr=null),fr!==null&&(fr>=0||Jt&&fr<0)}return!1}function Qe(Lt){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$t=(0,De.Z)(Lt.querySelectorAll("*")).filter(function(dr){return Ue(dr,Jt)});return Ue(Lt,Jt)&&$t.unshift(Lt),$t}var tt=null;function ot(){tt=document.activeElement}function lt(){tt=null}function Ve(){if(tt)try{tt.focus()}catch(Lt){}}function Ye(Lt,Jt){if(Jt.keyCode===9){var $t=Qe(Lt),dr=$t[Jt.shiftKey?0:$t.length-1],lr=dr===document.activeElement||Lt===document.activeElement;if(lr){var pr=$t[Jt.shiftKey?$t.length-1:0];pr.focus(),Jt.preventDefault()}}}var nt=ke(10228),dt=ke(16089),at=nt.Z.LEFT,et=nt.Z.RIGHT,qe=nt.Z.UP,it=nt.Z.DOWN,yt=nt.Z.ENTER,ht=nt.Z.ESC,Bt=nt.Z.HOME,Et=nt.Z.END,st=[qe,it,at,et];function Ge(Lt,Jt,$t,dr){var lr,pr,fr,Ar,Rr="prev",Zr="next",Qr="children",nn="parent";if(Lt==="inline"&&dr===yt)return{inlineTrigger:!0};var dn=(lr={},(0,vt.Z)(lr,qe,Rr),(0,vt.Z)(lr,it,Zr),lr),pn=(pr={},(0,vt.Z)(pr,at,$t?Zr:Rr),(0,vt.Z)(pr,et,$t?Rr:Zr),(0,vt.Z)(pr,it,Qr),(0,vt.Z)(pr,yt,Qr),pr),Gr=(fr={},(0,vt.Z)(fr,qe,Rr),(0,vt.Z)(fr,it,Zr),(0,vt.Z)(fr,yt,Qr),(0,vt.Z)(fr,ht,nn),(0,vt.Z)(fr,at,$t?Qr:nn),(0,vt.Z)(fr,et,$t?nn:Qr),fr),yn={inline:dn,horizontal:pn,vertical:Gr,inlineSub:dn,horizontalSub:Gr,verticalSub:Gr},mn=(Ar=yn["".concat(Lt).concat(Jt?"":"Sub")])===null||Ar===void 0?void 0:Ar[dr];switch(mn){case Rr:return{offset:-1,sibling:!0};case Zr:return{offset:1,sibling:!0};case nn:return{offset:-1,sibling:!1};case Qr:return{offset:1,sibling:!1};default:return null}}function We(Lt){for(var Jt=Lt;Jt;){if(Jt.getAttribute("data-menu-list"))return Jt;Jt=Jt.parentElement}return null}function se(Lt,Jt){for(var $t=Lt||document.activeElement;$t;){if(Jt.has($t))return $t;$t=$t.parentElement}return null}function fe(Lt,Jt){var $t=Qe(Lt,!0);return $t.filter(function(dr){return Jt.has(dr)})}function ze(Lt,Jt,$t){var dr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Lt)return null;var lr=fe(Lt,Jt),pr=lr.length,fr=lr.findIndex(function(Ar){return $t===Ar});return dr<0?fr===-1?fr=pr-1:fr-=1:dr>0&&(fr+=1),fr=(fr+pr)%pr,lr[fr]}var He=function(Jt,$t){var dr=new Set,lr=new Map,pr=new Map;return Jt.forEach(function(fr){var Ar=document.querySelector("[data-menu-id='".concat(he($t,fr),"']"));Ar&&(dr.add(Ar),pr.set(Ar,fr),lr.set(fr,Ar))}),{elements:dr,key2element:lr,element2key:pr}};function pe(Lt,Jt,$t,dr,lr,pr,fr,Ar,Rr,Zr){var Qr=ae.useRef(),nn=ae.useRef();nn.current=Jt;var dn=function(){dt.Z.cancel(Qr.current)};return ae.useEffect(function(){return function(){dn()}},[]),function(pn){var Gr=pn.which;if([].concat(st,[yt,ht,Bt,Et]).includes(Gr)){var yn=pr(),mn=He(yn,dr),On=mn,cn=On.elements,Sn=On.key2element,gn=On.element2key,Jr=Sn.get(Jt),Ln=se(Jr,cn),Zn=gn.get(Ln),fn=Ge(Lt,fr(Zn,!0).length===1,$t,Gr);if(!fn&&Gr!==Bt&&Gr!==Et)return;(st.includes(Gr)||[Bt,Et].includes(Gr))&&pn.preventDefault();var Hr=function(_n){if(_n){var ci=_n,hn=_n.querySelector("a");hn!=null&&hn.getAttribute("href")&&(ci=hn);var kn=gn.get(_n);Ar(kn),dn(),Qr.current=(0,dt.Z)(function(){nn.current===kn&&ci.focus()})}};if([Bt,Et].includes(Gr)||fn.sibling||!Ln){var Wr;!Ln||Lt==="inline"?Wr=lr.current:Wr=We(Ln);var In,bn=fe(Wr,cn);Gr===Bt?In=bn[0]:Gr===Et?In=bn[bn.length-1]:In=ze(Wr,cn,Ln,fn.offset),Hr(In)}else if(fn.inlineTrigger)Rr(Zn);else if(fn.offset>0)Rr(Zn,!0),dn(),Qr.current=(0,dt.Z)(function(){mn=He(yn,dr);var Dn=Ln.getAttribute("aria-controls"),_n=document.getElementById(Dn),ci=ze(_n,mn.elements);Hr(ci)},5);else if(fn.offset<0){var Nn=fr(Zn,!0),Hn=Nn[Nn.length-2],zn=Sn.get(Hn);Rr(Hn,!1),Hr(zn)}}Zr==null||Zr(pn)}}function Be(Lt){Promise.resolve().then(Lt)}var Ke="__RC_UTIL_PATH_SPLIT__",Xe=function(Jt){return Jt.join(Ke)},Je=function(Jt){return Jt.split(Ke)},ut="rc-menu-more";function bt(){var Lt=ae.useState({}),Jt=(0,ve.Z)(Lt,2),$t=Jt[1],dr=(0,ae.useRef)(new Map),lr=(0,ae.useRef)(new Map),pr=ae.useState([]),fr=(0,ve.Z)(pr,2),Ar=fr[0],Rr=fr[1],Zr=(0,ae.useRef)(0),Qr=(0,ae.useRef)(!1),nn=function(){Qr.current||$t({})},dn=(0,ae.useCallback)(function(Sn,gn){var Jr=Xe(gn);lr.current.set(Jr,Sn),dr.current.set(Sn,Jr),Zr.current+=1;var Ln=Zr.current;Be(function(){Ln===Zr.current&&nn()})},[]),pn=(0,ae.useCallback)(function(Sn,gn){var Jr=Xe(gn);lr.current.delete(Jr),dr.current.delete(Sn)},[]),Gr=(0,ae.useCallback)(function(Sn){Rr(Sn)},[]),yn=(0,ae.useCallback)(function(Sn,gn){var Jr=dr.current.get(Sn)||"",Ln=Je(Jr);return gn&&Ar.includes(Ln[0])&&Ln.unshift(ut),Ln},[Ar]),mn=(0,ae.useCallback)(function(Sn,gn){return Sn.some(function(Jr){var Ln=yn(Jr,!0);return Ln.includes(gn)})},[yn]),On=function(){var gn=(0,De.Z)(dr.current.keys());return Ar.length&&gn.push(ut),gn},cn=(0,ae.useCallback)(function(Sn){var gn="".concat(dr.current.get(Sn)).concat(Ke),Jr=new Set;return(0,De.Z)(lr.current.keys()).forEach(function(Ln){Ln.startsWith(gn)&&Jr.add(lr.current.get(Ln))}),Jr},[]);return ae.useEffect(function(){return function(){Qr.current=!0}},[]),{registerPath:dn,unregisterPath:pn,refreshOverflowKeys:Gr,isSubPathKey:mn,getKeyPath:yn,getKeys:On,getSubPathKeys:cn}}function gt(Lt){var Jt=ae.useRef(Lt);Jt.current=Lt;var $t=ae.useCallback(function(){for(var dr,lr=arguments.length,pr=new Array(lr),fr=0;fr<lr;fr++)pr[fr]=arguments[fr];return(dr=Jt.current)===null||dr===void 0?void 0:dr.call.apply(dr,[Jt].concat(pr))},[]);return Lt?$t:void 0}var Dt=Math.random().toFixed(5).toString().slice(2),Vt=0;function kt(Lt){var Jt=(0,le.Z)(Lt,{value:Lt}),$t=(0,ve.Z)(Jt,2),dr=$t[0],lr=$t[1];return ae.useEffect(function(){Vt+=1;var pr="".concat(Dt,"-").concat(Vt);lr("rc-menu-uuid-".concat(pr))},[]),dr}var jt=ke(38705),_t=ke(17212),Mt=ke(39153),ft=ke(55401),St=ke(2738),Nt=ke(8654);function Ft(Lt,Jt,$t,dr){var lr=ae.useContext(ye),pr=lr.activeKey,fr=lr.onActive,Ar=lr.onInactive,Rr={active:pr===Lt};return Jt||(Rr.onMouseEnter=function(Zr){$t==null||$t({key:Lt,domEvent:Zr}),fr(Lt)},Rr.onMouseLeave=function(Zr){dr==null||dr({key:Lt,domEvent:Zr}),Ar(Lt)}),Rr}function Zt(Lt){var Jt=ae.useContext(ye),$t=Jt.mode,dr=Jt.rtl,lr=Jt.inlineIndent;if($t!=="inline")return null;var pr=Lt;return dr?{paddingRight:pr*lr}:{paddingLeft:pr*lr}}function or(Lt){var Jt=Lt.icon,$t=Lt.props,dr=Lt.children,lr;return Jt===null||Jt===!1?null:(typeof Jt=="function"?lr=ae.createElement(Jt,(0,x.Z)({},$t)):typeof Jt!="boolean"&&(lr=Jt),lr||dr||null)}var yr=["item"];function Sr(Lt){var Jt=Lt.item,$t=(0,re.Z)(Lt,yr);return Object.defineProperty($t,"item",{get:function(){return(0,te.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),Jt}}),$t}var Fr=["title","attribute","elementRef"],Vr=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Br=["active"],Ur=function(Lt){(0,Mt.Z)($t,Lt);var Jt=(0,ft.Z)($t);function $t(){return(0,jt.Z)(this,$t),Jt.apply(this,arguments)}return(0,_t.Z)($t,[{key:"render",value:function(){var lr=this.props,pr=lr.title,fr=lr.attribute,Ar=lr.elementRef,Rr=(0,re.Z)(lr,Fr),Zr=(0,St.Z)(Rr,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,te.ZP)(!fr,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),ae.createElement(oe.Z.Item,(0,Re.Z)({},fr,{title:typeof pr=="string"?pr:void 0},Zr,{ref:Ar}))}}]),$t}(ae.Component),on=ae.forwardRef(function(Lt,Jt){var $t,dr=Lt.style,lr=Lt.className,pr=Lt.eventKey,fr=Lt.warnKey,Ar=Lt.disabled,Rr=Lt.itemIcon,Zr=Lt.children,Qr=Lt.role,nn=Lt.onMouseEnter,dn=Lt.onMouseLeave,pn=Lt.onClick,Gr=Lt.onKeyDown,yn=Lt.onFocus,mn=(0,re.Z)(Lt,Vr),On=we(pr),cn=ae.useContext(ye),Sn=cn.prefixCls,gn=cn.onItemClick,Jr=cn.disabled,Ln=cn.overflowDisabled,Zn=cn.itemIcon,fn=cn.selectedKeys,Hr=cn.onActive,Wr=ae.useContext(Ze),In=Wr._internalRenderMenuItem,bn="".concat(Sn,"-item"),Nn=ae.useRef(),Hn=ae.useRef(),zn=Jr||Ar,Dn=(0,Nt.x1)(Jt,Hn),_n=Ce(pr),ci=function(an){return{key:pr,keyPath:(0,De.Z)(_n).reverse(),item:Nn.current,domEvent:an}},hn=Rr||Zn,kn=Ft(pr,zn,nn,dn),Vn=kn.active,$n=(0,re.Z)(kn,Br),Ci=fn.includes(pr),Ei=Zt(_n.length),gi=function(an){if(!zn){var sn=ci(an);pn==null||pn(Sr(sn)),gn(sn)}},di=function(an){if(Gr==null||Gr(an),an.which===nt.Z.ENTER){var sn=ci(an);pn==null||pn(Sr(sn)),gn(sn)}},Oi=function(an){Hr(pr),yn==null||yn(an)},Di={};Lt.role==="option"&&(Di["aria-selected"]=Ci);var En=ae.createElement(Ur,(0,Re.Z)({ref:Nn,elementRef:Dn,role:Qr===null?"none":Qr||"menuitem",tabIndex:Ar?null:-1,"data-menu-id":Ln&&On?null:On},mn,$n,Di,{component:"li","aria-disabled":Ar,style:(0,x.Z)((0,x.Z)({},Ei),dr),className:ie()(bn,($t={},(0,vt.Z)($t,"".concat(bn,"-active"),Vn),(0,vt.Z)($t,"".concat(bn,"-selected"),Ci),(0,vt.Z)($t,"".concat(bn,"-disabled"),zn),$t),lr),onClick:gi,onKeyDown:di,onFocus:Oi}),Zr,ae.createElement(or,{props:(0,x.Z)((0,x.Z)({},Lt),{},{isSelected:Ci}),icon:hn}));return In&&(En=In(En,Lt,{selected:Ci})),En});function Yr(Lt,Jt){var $t=Lt.eventKey,dr=Me(),lr=Ce($t);return ae.useEffect(function(){if(dr)return dr.registerPath($t,lr),function(){dr.unregisterPath($t,lr)}},[lr]),dr?null:ae.createElement(on,(0,Re.Z)({},Lt,{ref:Jt}))}var Fn=ae.forwardRef(Yr),vn=["className","children"],Tn=function(Jt,$t){var dr=Jt.className,lr=Jt.children,pr=(0,re.Z)(Jt,vn),fr=ae.useContext(ye),Ar=fr.prefixCls,Rr=fr.mode,Zr=fr.rtl;return ae.createElement("ul",(0,Re.Z)({className:ie()(Ar,Zr&&"".concat(Ar,"-rtl"),"".concat(Ar,"-sub"),"".concat(Ar,"-").concat(Rr==="inline"?"inline":"vertical"),dr),role:"menu"},pr,{"data-menu-list":!0,ref:$t}),lr)},qr=ae.forwardRef(Tn);qr.displayName="SubMenuList";var Un=qr,un=ke(11592);function ar(Lt,Jt){return(0,un.Z)(Lt).map(function($t,dr){if(ae.isValidElement($t)){var lr,pr,fr=$t.key,Ar=(lr=(pr=$t.props)===null||pr===void 0?void 0:pr.eventKey)!==null&&lr!==void 0?lr:fr,Rr=Ar==null;Rr&&(Ar="tmp_key-".concat([].concat((0,De.Z)(Jt),[dr]).join("-")));var Zr={key:Ar,eventKey:Ar};return ae.cloneElement($t,Zr)}return $t})}var Nr=ke(35593),Mr={adjustX:1,adjustY:1},Or={topLeft:{points:["bl","tl"],overflow:Mr},topRight:{points:["br","tr"],overflow:Mr},bottomLeft:{points:["tl","bl"],overflow:Mr},bottomRight:{points:["tr","br"],overflow:Mr},leftTop:{points:["tr","tl"],overflow:Mr},leftBottom:{points:["br","bl"],overflow:Mr},rightTop:{points:["tl","tr"],overflow:Mr},rightBottom:{points:["bl","br"],overflow:Mr}},Pr={topLeft:{points:["bl","tl"],overflow:Mr},topRight:{points:["br","tr"],overflow:Mr},bottomLeft:{points:["tl","bl"],overflow:Mr},bottomRight:{points:["tr","br"],overflow:Mr},rightTop:{points:["tr","tl"],overflow:Mr},rightBottom:{points:["br","bl"],overflow:Mr},leftTop:{points:["tl","tr"],overflow:Mr},leftBottom:{points:["bl","br"],overflow:Mr}},Tr=null;function wr(Lt,Jt,$t){if(Jt)return Jt;if($t)return $t[Lt]||$t.other}var Xr={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Kt(Lt){var Jt=Lt.prefixCls,$t=Lt.visible,dr=Lt.children,lr=Lt.popup,pr=Lt.popupStyle,fr=Lt.popupClassName,Ar=Lt.popupOffset,Rr=Lt.disabled,Zr=Lt.mode,Qr=Lt.onVisibleChange,nn=ae.useContext(ye),dn=nn.getPopupContainer,pn=nn.rtl,Gr=nn.subMenuOpenDelay,yn=nn.subMenuCloseDelay,mn=nn.builtinPlacements,On=nn.triggerSubMenuAction,cn=nn.forceSubMenuRender,Sn=nn.rootClassName,gn=nn.motion,Jr=nn.defaultMotions,Ln=ae.useState(!1),Zn=(0,ve.Z)(Ln,2),fn=Zn[0],Hr=Zn[1],Wr=pn?(0,x.Z)((0,x.Z)({},Pr),mn):(0,x.Z)((0,x.Z)({},Or),mn),In=Xr[Zr],bn=wr(Zr,gn,Jr),Nn=ae.useRef(bn);Zr!=="inline"&&(Nn.current=bn);var Hn=(0,x.Z)((0,x.Z)({},Nn.current),{},{leavedClassName:"".concat(Jt,"-hidden"),removeOnLeave:!1,motionAppear:!0}),zn=ae.useRef();return ae.useEffect(function(){return zn.current=(0,dt.Z)(function(){Hr($t)}),function(){dt.Z.cancel(zn.current)}},[$t]),ae.createElement(Nr.Z,{prefixCls:Jt,popupClassName:ie()("".concat(Jt,"-popup"),(0,vt.Z)({},"".concat(Jt,"-rtl"),pn),fr,Sn),stretch:Zr==="horizontal"?"minWidth":null,getPopupContainer:dn,builtinPlacements:Wr,popupPlacement:In,popupVisible:fn,popup:lr,popupStyle:pr,popupAlign:Ar&&{offset:Ar},action:Rr?[]:[On],mouseEnterDelay:Gr,mouseLeaveDelay:yn,onPopupVisibleChange:Qr,forceRender:cn,popupMotion:Hn,fresh:!0},dr)}var xt=ke(77900);function It(Lt){var Jt=Lt.id,$t=Lt.open,dr=Lt.keyPath,lr=Lt.children,pr="inline",fr=ae.useContext(ye),Ar=fr.prefixCls,Rr=fr.forceSubMenuRender,Zr=fr.motion,Qr=fr.defaultMotions,nn=fr.mode,dn=ae.useRef(!1);dn.current=nn===pr;var pn=ae.useState(!dn.current),Gr=(0,ve.Z)(pn,2),yn=Gr[0],mn=Gr[1],On=dn.current?$t:!1;ae.useEffect(function(){dn.current&&mn(!1)},[nn]);var cn=(0,x.Z)({},wr(pr,Zr,Qr));dr.length>1&&(cn.motionAppear=!1);var Sn=cn.onVisibleChanged;return cn.onVisibleChanged=function(gn){return!dn.current&&!gn&&mn(!0),Sn==null?void 0:Sn(gn)},yn?null:ae.createElement(Le,{mode:pr,locked:!dn.current},ae.createElement(xt.default,(0,Re.Z)({visible:On},cn,{forceRender:Rr,removeOnLeave:!1,leavedClassName:"".concat(Ar,"-hidden")}),function(gn){var Jr=gn.className,Ln=gn.style;return ae.createElement(Un,{id:Jt,className:Jr,style:Ln},lr)}))}var Tt=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],At=["active"],zt=function(Jt){var $t,dr=Jt.style,lr=Jt.className,pr=Jt.title,fr=Jt.eventKey,Ar=Jt.warnKey,Rr=Jt.disabled,Zr=Jt.internalPopupClose,Qr=Jt.children,nn=Jt.itemIcon,dn=Jt.expandIcon,pn=Jt.popupClassName,Gr=Jt.popupOffset,yn=Jt.popupStyle,mn=Jt.onClick,On=Jt.onMouseEnter,cn=Jt.onMouseLeave,Sn=Jt.onTitleClick,gn=Jt.onTitleMouseEnter,Jr=Jt.onTitleMouseLeave,Ln=(0,re.Z)(Jt,Tt),Zn=we(fr),fn=ae.useContext(ye),Hr=fn.prefixCls,Wr=fn.mode,In=fn.openKeys,bn=fn.disabled,Nn=fn.overflowDisabled,Hn=fn.activeKey,zn=fn.selectedKeys,Dn=fn.itemIcon,_n=fn.expandIcon,ci=fn.onItemClick,hn=fn.onOpenChange,kn=fn.onActive,Vn=ae.useContext(Ze),$n=Vn._internalRenderSubMenuItem,Ci=ae.useContext(Ne),Ei=Ci.isSubPathKey,gi=Ce(),di="".concat(Hr,"-submenu"),Oi=bn||Rr,Di=ae.useRef(),En=ae.useRef(),An=nn!=null?nn:Dn,an=dn!=null?dn:_n,sn=In.includes(fr),ni=!Nn&&sn,wi=Ei(zn,fr),Si=Ft(fr,Oi,gn,Jr),Ai=Si.active,vi=(0,re.Z)(Si,At),Ii=ae.useState(!1),Ki=(0,ve.Z)(Ii,2),Ui=Ki[0],$i=Ki[1],li=function(Yn){Oi||$i(Yn)},fi=function(Yn){li(!0),On==null||On({key:fr,domEvent:Yn})},Pi=function(Yn){li(!1),cn==null||cn({key:fr,domEvent:Yn})},mi=ae.useMemo(function(){return Ai||(Wr!=="inline"?Ui||Ei([Hn],fr):!1)},[Wr,Ai,Hn,Ui,fr,Ei]),ki=Zt(gi.length),Er=function(Yn){Oi||(Sn==null||Sn({key:fr,domEvent:Yn}),Wr==="inline"&&hn(fr,!sn))},br=gt(function(si){mn==null||mn(Sr(si)),ci(si)}),mr=function(Yn){Wr!=="inline"&&hn(fr,Yn)},jr=function(){kn(fr)},en=Zn&&"".concat(Zn,"-popup"),tn=ae.createElement("div",(0,Re.Z)({role:"menuitem",style:ki,className:"".concat(di,"-title"),tabIndex:Oi?null:-1,ref:Di,title:typeof pr=="string"?pr:null,"data-menu-id":Nn&&Zn?null:Zn,"aria-expanded":ni,"aria-haspopup":!0,"aria-controls":en,"aria-disabled":Oi,onClick:Er,onFocus:jr},vi),pr,ae.createElement(or,{icon:Wr!=="horizontal"?an:void 0,props:(0,x.Z)((0,x.Z)({},Jt),{},{isOpen:ni,isSubMenu:!0})},ae.createElement("i",{className:"".concat(di,"-arrow")}))),_r=ae.useRef(Wr);if(Wr!=="inline"&&gi.length>1?_r.current="vertical":_r.current=Wr,!Nn){var Cn=_r.current;tn=ae.createElement(Kt,{mode:Cn,prefixCls:di,visible:!Zr&&ni&&Wr!=="inline",popupClassName:pn,popupOffset:Gr,popupStyle:yn,popup:ae.createElement(Le,{mode:Cn==="horizontal"?"vertical":Cn},ae.createElement(Un,{id:en,ref:En},Qr)),disabled:Oi,onVisibleChange:mr},tn)}var Gn=ae.createElement(oe.Z.Item,(0,Re.Z)({role:"none"},Ln,{component:"li",style:dr,className:ie()(di,"".concat(di,"-").concat(Wr),lr,($t={},(0,vt.Z)($t,"".concat(di,"-open"),ni),(0,vt.Z)($t,"".concat(di,"-active"),mi),(0,vt.Z)($t,"".concat(di,"-selected"),wi),(0,vt.Z)($t,"".concat(di,"-disabled"),Oi),$t)),onMouseEnter:fi,onMouseLeave:Pi}),tn,!Nn&&ae.createElement(It,{id:en,open:ni,keyPath:gi},Qr));return $n&&(Gn=$n(Gn,Jt,{selected:wi,active:mi,open:ni,disabled:Oi})),ae.createElement(Le,{onItemClick:br,mode:Wr==="horizontal"?"vertical":Wr,itemIcon:An,expandIcon:an},Gn)};function Ut(Lt){var Jt=Lt.eventKey,$t=Lt.children,dr=Ce(Jt),lr=ar($t,dr),pr=Me();ae.useEffect(function(){if(pr)return pr.registerPath(Jt,dr),function(){pr.unregisterPath(Jt,dr)}},[dr]);var fr;return pr?fr=lr:fr=ae.createElement(zt,Lt,lr),ae.createElement(Oe.Provider,{value:dr},fr)}var ir=ke(43749),er=["className","title","eventKey","children"],hr=["children"],Cr=function(Jt){var $t=Jt.className,dr=Jt.title,lr=Jt.eventKey,pr=Jt.children,fr=(0,re.Z)(Jt,er),Ar=ae.useContext(ye),Rr=Ar.prefixCls,Zr="".concat(Rr,"-item-group");return ae.createElement("li",(0,Re.Z)({role:"presentation"},fr,{onClick:function(nn){return nn.stopPropagation()},className:ie()(Zr,$t)}),ae.createElement("div",{role:"presentation",className:"".concat(Zr,"-title"),title:typeof dr=="string"?dr:void 0},dr),ae.createElement("ul",{role:"group",className:"".concat(Zr,"-list")},pr))};function Dr(Lt){var Jt=Lt.children,$t=(0,re.Z)(Lt,hr),dr=Ce($t.eventKey),lr=ar(Jt,dr),pr=Me();return pr?lr:ae.createElement(Cr,(0,St.Z)($t,["warnKey"]),lr)}function Ir(Lt){var Jt=Lt.className,$t=Lt.style,dr=ae.useContext(ye),lr=dr.prefixCls,pr=Me();return pr?null:ae.createElement("li",{role:"separator",className:ie()("".concat(lr,"-item-divider"),Jt),style:$t})}var qt=["label","children","key","type"];function vr(Lt){return(Lt||[]).map(function(Jt,$t){if(Jt&&(0,ir.Z)(Jt)==="object"){var dr=Jt,lr=dr.label,pr=dr.children,fr=dr.key,Ar=dr.type,Rr=(0,re.Z)(dr,qt),Zr=fr!=null?fr:"tmp-".concat($t);return pr||Ar==="group"?Ar==="group"?ae.createElement(Dr,(0,Re.Z)({key:Zr},Rr,{title:lr}),vr(pr)):ae.createElement(Ut,(0,Re.Z)({key:Zr},Rr,{title:lr}),vr(pr)):Ar==="divider"?ae.createElement(Ir,(0,Re.Z)({key:Zr},Rr)):ae.createElement(Fn,(0,Re.Z)({key:Zr},Rr),lr)}return null}).filter(function(Jt){return Jt})}function Ht(Lt,Jt,$t){var dr=Lt;return Jt&&(dr=vr(Jt)),ar(dr,$t)}var Yt=["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"],Xt=[],rr=ae.forwardRef(function(Lt,Jt){var $t,dr,lr=Lt,pr=lr.prefixCls,fr=pr===void 0?"rc-menu":pr,Ar=lr.rootClassName,Rr=lr.style,Zr=lr.className,Qr=lr.tabIndex,nn=Qr===void 0?0:Qr,dn=lr.items,pn=lr.children,Gr=lr.direction,yn=lr.id,mn=lr.mode,On=mn===void 0?"vertical":mn,cn=lr.inlineCollapsed,Sn=lr.disabled,gn=lr.disabledOverflow,Jr=lr.subMenuOpenDelay,Ln=Jr===void 0?.1:Jr,Zn=lr.subMenuCloseDelay,fn=Zn===void 0?.1:Zn,Hr=lr.forceSubMenuRender,Wr=lr.defaultOpenKeys,In=lr.openKeys,bn=lr.activeKey,Nn=lr.defaultActiveFirst,Hn=lr.selectable,zn=Hn===void 0?!0:Hn,Dn=lr.multiple,_n=Dn===void 0?!1:Dn,ci=lr.defaultSelectedKeys,hn=lr.selectedKeys,kn=lr.onSelect,Vn=lr.onDeselect,$n=lr.inlineIndent,Ci=$n===void 0?24:$n,Ei=lr.motion,gi=lr.defaultMotions,di=lr.triggerSubMenuAction,Oi=di===void 0?"hover":di,Di=lr.builtinPlacements,En=lr.itemIcon,An=lr.expandIcon,an=lr.overflowedIndicator,sn=an===void 0?"...":an,ni=lr.overflowedIndicatorPopupClassName,wi=lr.getPopupContainer,Si=lr.onClick,Ai=lr.onOpenChange,vi=lr.onKeyDown,Ii=lr.openAnimation,Ki=lr.openTransitionName,Ui=lr._internalRenderMenuItem,$i=lr._internalRenderSubMenuItem,li=(0,re.Z)(lr,Yt),fi=ae.useMemo(function(){return Ht(pn,dn,Xt)},[pn,dn]),Pi=ae.useState(!1),mi=(0,ve.Z)(Pi,2),ki=mi[0],Er=mi[1],br=ae.useRef(),mr=kt(yn),jr=Gr==="rtl",en=(0,le.Z)(Wr,{value:In,postState:function(Gi){return Gi||Xt}}),tn=(0,ve.Z)(en,2),_r=tn[0],Cn=tn[1],Gn=function(Gi){var qi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function no(){Cn(Gi),Ai==null||Ai(Gi)}qi?(0,ue.flushSync)(no):no()},si=ae.useState(_r),Yn=(0,ve.Z)(si,2),xn=Yn[0],Xn=Yn[1],ei=ae.useRef(!1),xi=ae.useMemo(function(){return(On==="inline"||On==="vertical")&&cn?["vertical",cn]:[On,!1]},[On,cn]),ti=(0,ve.Z)(xi,2),qn=ti[0],yi=ti[1],Li=qn==="inline",Fi=ae.useState(qn),ra=(0,ve.Z)(Fi,2),Ea=ra[0],Lo=ra[1],Za=ae.useState(yi),ma=(0,ve.Z)(Za,2),ca=ma[0],ho=ma[1];ae.useEffect(function(){Lo(qn),ho(yi),ei.current&&(Li?Cn(xn):Gn(Xt))},[qn,yi]);var Oa=ae.useState(0),Va=(0,ve.Z)(Oa,2),Mo=Va[0],po=Va[1],ga=Mo>=fi.length-1||Ea!=="horizontal"||gn;ae.useEffect(function(){Li&&Xn(_r)},[_r]),ae.useEffect(function(){return ei.current=!0,function(){ei.current=!1}},[]);var ua=bt(),Hi=ua.registerPath,mo=ua.unregisterPath,zo=ua.refreshOverflowKeys,so=ua.isSubPathKey,Ri=ua.getKeyPath,Bi=ua.getKeys,Qi=ua.getSubPathKeys,Ra=ae.useMemo(function(){return{registerPath:Hi,unregisterPath:mo}},[Hi,mo]),na=ae.useMemo(function(){return{isSubPathKey:so}},[so]);ae.useEffect(function(){zo(ga?Xt:fi.slice(Mo+1).map(function(Zi){return Zi.key}))},[Mo,ga]);var Ha=(0,le.Z)(bn||Nn&&(($t=fi[0])===null||$t===void 0?void 0:$t.key),{value:bn}),Ga=(0,ve.Z)(Ha,2),lo=Ga[0],Wa=Ga[1],go=gt(function(Zi){Wa(Zi)}),vo=gt(function(){Wa(void 0)});(0,ae.useImperativeHandle)(Jt,function(){return{list:br.current,focus:function(Gi){var qi,no=Bi(),_a=He(no,mr),ko=_a.elements,wo=_a.key2element,Xa=_a.element2key,Po=fe(br.current,ko),Ro=lo!=null?lo:Po[0]?Xa.get(Po[0]):(qi=fi.find(function(Ul){return!Ul.props.disabled}))===null||qi===void 0?void 0:qi.key,To=wo.get(Ro);if(Ro&&To){var ss;To==null||(ss=To.focus)===null||ss===void 0||ss.call(To,Gi)}}}});var Na=(0,le.Z)(ci||[],{value:hn,postState:function(Gi){return Array.isArray(Gi)?Gi:Gi==null?Xt:[Gi]}}),xl=(0,ve.Z)(Na,2),Yo=xl[0],Qs=xl[1],Hl=function(Gi){if(zn){var qi=Gi.key,no=Yo.includes(qi),_a;_n?no?_a=Yo.filter(function(wo){return wo!==qi}):_a=[].concat((0,De.Z)(Yo),[qi]):_a=[qi],Qs(_a);var ko=(0,x.Z)((0,x.Z)({},Gi),{},{selectedKeys:_a});no?Vn==null||Vn(ko):kn==null||kn(ko)}!_n&&_r.length&&Ea!=="inline"&&Gn(Xt)},Wl=gt(function(Zi){Si==null||Si(Sr(Zi)),Hl(Zi)}),Cs=gt(function(Zi,Gi){var qi=_r.filter(function(_a){return _a!==Zi});if(Gi)qi.push(Zi);else if(Ea!=="inline"){var no=Qi(Zi);qi=qi.filter(function(_a){return!no.has(_a)})}(0,me.Z)(_r,qi,!0)||Gn(qi,!0)}),Mc=function(Gi,qi){var no=qi!=null?qi:!_r.includes(Gi);Cs(Gi,no)},as=pe(Ea,lo,jr,mr,br,Bi,Ri,Wa,Mc,vi);ae.useEffect(function(){Er(!0)},[]);var wl=ae.useMemo(function(){return{_internalRenderMenuItem:Ui,_internalRenderSubMenuItem:$i}},[Ui,$i]),Jo=Ea!=="horizontal"||gn?fi:fi.map(function(Zi,Gi){return ae.createElement(Le,{key:Zi.key,overflowDisabled:Gi>Mo},Zi)}),os=ae.createElement(oe.Z,(0,Re.Z)({id:yn,ref:br,prefixCls:"".concat(fr,"-overflow"),component:"ul",itemComponent:Fn,className:ie()(fr,"".concat(fr,"-root"),"".concat(fr,"-").concat(Ea),Zr,(dr={},(0,vt.Z)(dr,"".concat(fr,"-inline-collapsed"),ca),(0,vt.Z)(dr,"".concat(fr,"-rtl"),jr),dr),Ar),dir:Gr,style:Rr,role:"menu",tabIndex:nn,data:Jo,renderRawItem:function(Gi){return Gi},renderRawRest:function(Gi){var qi=Gi.length,no=qi?fi.slice(-qi):null;return ae.createElement(Ut,{eventKey:ut,title:sn,disabled:ga,internalPopupClose:qi===0,popupClassName:ni},no)},maxCount:Ea!=="horizontal"||gn?oe.Z.INVALIDATE:oe.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Gi){po(Gi)},onKeyDown:as},li));return ae.createElement(Ze.Provider,{value:wl},ae.createElement(de.Provider,{value:mr},ae.createElement(Le,{prefixCls:fr,rootClassName:Ar,mode:Ea,openKeys:_r,rtl:jr,disabled:Sn,motion:ki?Ei:null,defaultMotions:ki?gi:null,activeKey:lo,onActive:go,onInactive:vo,selectedKeys:Yo,inlineIndent:Ci,subMenuOpenDelay:Ln,subMenuCloseDelay:fn,forceSubMenuRender:Hr,builtinPlacements:Di,triggerSubMenuAction:Oi,getPopupContainer:wi,itemIcon:En,expandIcon:An,onItemClick:Wl,onOpenChange:Cs},ae.createElement(Ne.Provider,{value:na},os),ae.createElement("div",{style:{display:"none"},"aria-hidden":!0},ae.createElement(_e.Provider,{value:Ra},fi)))))}),gr=rr,Qt=gr;Qt.Item=Fn,Qt.SubMenu=Ut,Qt.ItemGroup=Dr,Qt.Divider=Ir;var xr=Qt},83836:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ot}});var Re=ke(60499),vt=ke(85899),x=ke(72190),De=ke(42244),ve=ke(59301),re=ke(92310),ne=ke.n(re),ie=ke(29301),oe=ke(34280),le=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],me=void 0;function te(lt,Ve){var Ye=lt.prefixCls,nt=lt.invalidate,dt=lt.item,at=lt.renderItem,et=lt.responsive,qe=lt.responsiveDisabled,it=lt.registerSize,yt=lt.itemKey,ht=lt.className,Bt=lt.style,Et=lt.children,st=lt.display,Ge=lt.order,We=lt.component,se=We===void 0?"div":We,fe=(0,De.Z)(lt,le),ze=et&&!st;function He(Je){it(yt,Je)}ve.useEffect(function(){return function(){He(null)}},[]);var pe=at&&dt!==me?at(dt,{index:Ge}):Et,Be;nt||(Be={opacity:ze?0:1,height:ze?0:me,overflowY:ze?"hidden":me,order:et?Ge:me,pointerEvents:ze?"none":me,position:ze?"absolute":me});var Ke={};ze&&(Ke["aria-hidden"]=!0);var Xe=ve.createElement(se,(0,Re.Z)({className:ne()(!nt&&Ye,ht),style:(0,vt.Z)((0,vt.Z)({},Be),Bt)},Ke,fe,{ref:Ve}),pe);return et&&(Xe=ve.createElement(ie.Z,{onResize:function(ut){var bt=ut.offsetWidth;He(bt)},disabled:qe},Xe)),Xe}var ae=ve.forwardRef(te);ae.displayName="Item";var ue=ae,de=ke(6089),he=ke(4676),we=ke(16089);function Se(lt){if(typeof MessageChannel=="undefined")(0,we.Z)(lt);else{var Ve=new MessageChannel;Ve.port1.onmessage=function(){return lt()},Ve.port2.postMessage(void 0)}}function xe(){var lt=ve.useRef(null),Ve=function(nt){lt.current||(lt.current=[],Se(function(){(0,he.unstable_batchedUpdates)(function(){lt.current.forEach(function(dt){dt()}),lt.current=null})})),lt.current.push(nt)};return Ve}function ye(lt,Ve){var Ye=ve.useState(Ve),nt=(0,x.Z)(Ye,2),dt=nt[0],at=nt[1],et=(0,de.Z)(function(qe){lt(function(){at(qe)})});return[dt,et]}var Ae=ve.createContext(null),Le=["component"],Ee=["className"],_e=["className"],Me=function(Ve,Ye){var nt=ve.useContext(Ae);if(!nt){var dt=Ve.component,at=dt===void 0?"div":dt,et=(0,De.Z)(Ve,Le);return ve.createElement(at,(0,Re.Z)({},et,{ref:Ye}))}var qe=nt.className,it=(0,De.Z)(nt,Ee),yt=Ve.className,ht=(0,De.Z)(Ve,_e);return ve.createElement(Ae.Provider,{value:null},ve.createElement(ue,(0,Re.Z)({ref:Ye,className:ne()(qe,yt)},it,ht)))},Oe=ve.forwardRef(Me);Oe.displayName="RawItem";var Ce=Oe,Ne=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],je="responsive",Ze="invalidate";function Pe(lt){return"+ ".concat(lt.length," ...")}function Ue(lt,Ve){var Ye=lt.prefixCls,nt=Ye===void 0?"rc-overflow":Ye,dt=lt.data,at=dt===void 0?[]:dt,et=lt.renderItem,qe=lt.renderRawItem,it=lt.itemKey,yt=lt.itemWidth,ht=yt===void 0?10:yt,Bt=lt.ssr,Et=lt.style,st=lt.className,Ge=lt.maxCount,We=lt.renderRest,se=lt.renderRawRest,fe=lt.prefix,ze=lt.suffix,He=lt.component,pe=He===void 0?"div":He,Be=lt.itemComponent,Ke=lt.onVisibleChange,Xe=(0,De.Z)(lt,Ne),Je=Bt==="full",ut=xe(),bt=ye(ut,null),gt=(0,x.Z)(bt,2),Dt=gt[0],Vt=gt[1],kt=Dt||0,jt=ye(ut,new Map),_t=(0,x.Z)(jt,2),Mt=_t[0],ft=_t[1],St=ye(ut,0),Nt=(0,x.Z)(St,2),Ft=Nt[0],Zt=Nt[1],or=ye(ut,0),yr=(0,x.Z)(or,2),Sr=yr[0],Fr=yr[1],Vr=ye(ut,0),Br=(0,x.Z)(Vr,2),Ur=Br[0],on=Br[1],Yr=ye(ut,0),Fn=(0,x.Z)(Yr,2),vn=Fn[0],Tn=Fn[1],qr=(0,ve.useState)(null),Un=(0,x.Z)(qr,2),un=Un[0],ar=Un[1],Nr=(0,ve.useState)(null),Mr=(0,x.Z)(Nr,2),Or=Mr[0],Pr=Mr[1],Tr=ve.useMemo(function(){return Or===null&&Je?Number.MAX_SAFE_INTEGER:Or||0},[Or,Dt]),wr=(0,ve.useState)(!1),Xr=(0,x.Z)(wr,2),Kt=Xr[0],xt=Xr[1],It="".concat(nt,"-item"),Tt=Math.max(Ft,Sr),At=Ge===je,zt=at.length&&At,Ut=Ge===Ze,ir=zt||typeof Ge=="number"&&at.length>Ge,er=(0,ve.useMemo)(function(){var pr=at;return zt?Dt===null&&Je?pr=at:pr=at.slice(0,Math.min(at.length,kt/ht)):typeof Ge=="number"&&(pr=at.slice(0,Ge)),pr},[at,ht,Dt,Ge,zt]),hr=(0,ve.useMemo)(function(){return zt?at.slice(Tr+1):at.slice(er.length)},[at,er,zt,Tr]),Cr=(0,ve.useCallback)(function(pr,fr){var Ar;return typeof it=="function"?it(pr):(Ar=it&&(pr==null?void 0:pr[it]))!==null&&Ar!==void 0?Ar:fr},[it]),Dr=(0,ve.useCallback)(et||function(pr){return pr},[et]);function Ir(pr,fr,Ar){Or===pr&&(fr===void 0||fr===un)||(Pr(pr),Ar||(xt(pr<at.length-1),Ke==null||Ke(pr)),fr!==void 0&&ar(fr))}function qt(pr,fr){Vt(fr.clientWidth)}function vr(pr,fr){ft(function(Ar){var Rr=new Map(Ar);return fr===null?Rr.delete(pr):Rr.set(pr,fr),Rr})}function Ht(pr,fr){Fr(fr),Zt(Sr)}function Yt(pr,fr){on(fr)}function Xt(pr,fr){Tn(fr)}function rr(pr){return Mt.get(Cr(er[pr],pr))}(0,oe.Z)(function(){if(kt&&typeof Tt=="number"&&er){var pr=Ur+vn,fr=er.length,Ar=fr-1;if(!fr){Ir(0,null);return}for(var Rr=0;Rr<fr;Rr+=1){var Zr=rr(Rr);if(Je&&(Zr=Zr||0),Zr===void 0){Ir(Rr-1,void 0,!0);break}if(pr+=Zr,Ar===0&&pr<=kt||Rr===Ar-1&&pr+rr(Ar)<=kt){Ir(Ar,null);break}else if(pr+Tt>kt){Ir(Rr-1,pr-Zr-vn+Sr);break}}ze&&rr(0)+vn>kt&&ar(null)}},[kt,Mt,Sr,Ur,vn,Cr,er]);var gr=Kt&&!!hr.length,Qt={};un!==null&&zt&&(Qt={position:"absolute",left:un,top:0});var xr={prefixCls:It,responsive:zt,component:Be,invalidate:Ut},Lt=qe?function(pr,fr){var Ar=Cr(pr,fr);return ve.createElement(Ae.Provider,{key:Ar,value:(0,vt.Z)((0,vt.Z)({},xr),{},{order:fr,item:pr,itemKey:Ar,registerSize:vr,display:fr<=Tr})},qe(pr,fr))}:function(pr,fr){var Ar=Cr(pr,fr);return ve.createElement(ue,(0,Re.Z)({},xr,{order:fr,key:Ar,item:pr,renderItem:Dr,itemKey:Ar,registerSize:vr,display:fr<=Tr}))},Jt={order:gr?Tr:Number.MAX_SAFE_INTEGER,className:"".concat(It,"-rest"),registerSize:Ht,display:gr},$t=We||Pe,dr=se?ve.createElement(Ae.Provider,{value:(0,vt.Z)((0,vt.Z)({},xr),Jt)},se(hr)):ve.createElement(ue,(0,Re.Z)({},xr,Jt),typeof $t=="function"?$t(hr):$t),lr=ve.createElement(pe,(0,Re.Z)({className:ne()(!Ut&&nt,st),style:Et,ref:Ve},Xe),fe&&ve.createElement(ue,(0,Re.Z)({},xr,{responsive:At,responsiveDisabled:!zt,order:-1,className:"".concat(It,"-prefix"),registerSize:Yt,display:!0}),fe),er.map(Lt),ir?dr:null,ze&&ve.createElement(ue,(0,Re.Z)({},xr,{responsive:At,responsiveDisabled:!zt,order:Tr,className:"".concat(It,"-suffix"),registerSize:Xt,display:!0,style:Qt}),ze));return At?ve.createElement(ie.Z,{onResize:qt,disabled:!zt},lr):lr}var Qe=ve.forwardRef(Ue);Qe.displayName="Overflow",Qe.Item=Ce,Qe.RESPONSIVE=je,Qe.INVALIDATE=Ze;var tt=Qe,ot=tt},17115:function(sr,Wt,ke){"use strict";ke.d(Wt,{ZP:function(){return ne}});var Re=ke(72190),vt=ke(59301),x=ke(47273),De=0,ve=(0,x.Z)();function re(){var ie;return ve?(ie=De,De+=1):ie="TEST_OR_SSR",ie}function ne(ie){var oe=vt.useState(),le=(0,Re.Z)(oe,2),me=le[0],te=le[1];return vt.useEffect(function(){te("rc_select_".concat(re()))},[]),ie||me}},77861:function(sr,Wt,ke){"use strict";ke.d(Wt,{Ac:function(){return Dt},Xo:function(){return Sr},Wx:function(){return Vr},ZP:function(){return It},lk:function(){return Ae}});var Re=ke(60499),vt=ke(77654),x=ke(18642),De=ke(85899),ve=ke(72190),re=ke(42244),ne=ke(43749),ie=ke(18929),oe=ke(48736),le=ke(59301),me=ke(92310),te=ke.n(me),ae=ke(34280),ue=ke(49658),de=ke(10228),he=ke(8654),we=function(At){var zt=At.className,Ut=At.customizeIcon,ir=At.customizeIconProps,er=At.onMouseDown,hr=At.onClick,Cr=At.children,Dr;return typeof Ut=="function"?Dr=Ut(ir):Dr=Ut,le.createElement("span",{className:zt,onMouseDown:function(qt){qt.preventDefault(),er&&er(qt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:hr,"aria-hidden":!0},Dr!==void 0?Dr:le.createElement("span",{className:te()(zt.split(/\s+/).map(function(Ir){return"".concat(Ir,"-icon")}))},Cr))},Se=we;function xe(Tt,At,zt,Ut,ir){var er=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,hr=arguments.length>6?arguments[6]:void 0,Cr=arguments.length>7?arguments[7]:void 0,Dr=le.useMemo(function(){if((0,ne.Z)(Ut)==="object")return Ut.clearIcon;if(ir)return ir},[Ut,ir]),Ir=le.useMemo(function(){return!!(!er&&Ut&&(zt.length||hr)&&!(Cr==="combobox"&&hr===""))},[Ut,er,zt.length,hr,Cr]);return{allowClear:Ir,clearIcon:le.createElement(Se,{className:"".concat(Tt,"-clear"),onMouseDown:At,customizeIcon:Dr},"\xD7")}}var ye=le.createContext(null);function Ae(){return le.useContext(ye)}function Le(){var Tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,At=le.useState(!1),zt=(0,ve.Z)(At,2),Ut=zt[0],ir=zt[1],er=le.useRef(null),hr=function(){window.clearTimeout(er.current)};le.useEffect(function(){return hr},[]);var Cr=function(Ir,qt){hr(),er.current=window.setTimeout(function(){ir(Ir),qt&&qt()},Tt)};return[Ut,Cr,hr]}function Ee(){var Tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,At=le.useRef(null),zt=le.useRef(null);le.useEffect(function(){return function(){window.clearTimeout(zt.current)}},[]);function Ut(ir){(ir||At.current===null)&&(At.current=ir),window.clearTimeout(zt.current),zt.current=window.setTimeout(function(){At.current=null},Tt)}return[function(){return At.current},Ut]}function _e(Tt,At,zt,Ut){var ir=le.useRef(null);ir.current={open:At,triggerOpen:zt,customizedTrigger:Ut},le.useEffect(function(){function er(hr){var Cr;if(!((Cr=ir.current)!==null&&Cr!==void 0&&Cr.customizedTrigger)){var Dr=hr.target;Dr.shadowRoot&&hr.composed&&(Dr=hr.composedPath()[0]||Dr),ir.current.open&&Tt().filter(function(Ir){return Ir}).every(function(Ir){return!Ir.contains(Dr)&&Ir!==Dr})&&ir.current.triggerOpen(!1)}}return window.addEventListener("mousedown",er),function(){return window.removeEventListener("mousedown",er)}},[])}var Me=ke(26112),Oe=ke(83836),Ce=function(At,zt){var Ut,ir,er=At.prefixCls,hr=At.id,Cr=At.inputElement,Dr=At.disabled,Ir=At.tabIndex,qt=At.autoFocus,vr=At.autoComplete,Ht=At.editable,Yt=At.activeDescendantId,Xt=At.value,rr=At.maxLength,gr=At.onKeyDown,Qt=At.onMouseDown,xr=At.onChange,Lt=At.onPaste,Jt=At.onCompositionStart,$t=At.onCompositionEnd,dr=At.open,lr=At.attrs,pr=Cr||le.createElement("input",null),fr=pr,Ar=fr.ref,Rr=fr.props,Zr=Rr.onKeyDown,Qr=Rr.onChange,nn=Rr.onMouseDown,dn=Rr.onCompositionStart,pn=Rr.onCompositionEnd,Gr=Rr.style;return(0,oe.Kp)(!("maxLength"in pr.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),pr=le.cloneElement(pr,(0,De.Z)((0,De.Z)((0,De.Z)({type:"search"},Rr),{},{id:hr,ref:(0,he.sQ)(zt,Ar),disabled:Dr,tabIndex:Ir,autoComplete:vr||"off",autoFocus:qt,className:te()("".concat(er,"-selection-search-input"),(Ut=pr)===null||Ut===void 0||(ir=Ut.props)===null||ir===void 0?void 0:ir.className),role:"combobox","aria-label":"Search","aria-expanded":dr||!1,"aria-haspopup":"listbox","aria-owns":"".concat(hr,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(hr,"_list"),"aria-activedescendant":dr?Yt:void 0},lr),{},{value:Ht?Xt:"",maxLength:rr,readOnly:!Ht,unselectable:Ht?null:"on",style:(0,De.Z)((0,De.Z)({},Gr),{},{opacity:Ht?null:0}),onKeyDown:function(mn){gr(mn),Zr&&Zr(mn)},onMouseDown:function(mn){Qt(mn),nn&&nn(mn)},onChange:function(mn){xr(mn),Qr&&Qr(mn)},onCompositionStart:function(mn){Jt(mn),dn&&dn(mn)},onCompositionEnd:function(mn){$t(mn),pn&&pn(mn)},onPaste:Lt})),pr},Ne=le.forwardRef(Ce);Ne.displayName="Input";var je=Ne;function Ze(Tt){return Array.isArray(Tt)?Tt:Tt!==void 0?[Tt]:[]}var Pe=typeof window!="undefined"&&window.document&&window.document.documentElement,Ue=Pe;function Qe(Tt){return Tt!=null}function tt(Tt){return!Tt&&Tt!==0}function ot(Tt){return["string","number"].includes((0,ne.Z)(Tt))}function lt(Tt){var At=void 0;return Tt&&(ot(Tt.title)?At=Tt.title.toString():ot(Tt.label)&&(At=Tt.label.toString())),At}function Ve(Tt,At){Ue?le.useLayoutEffect(Tt,At):le.useEffect(Tt,At)}function Ye(Tt){var At;return(At=Tt.key)!==null&&At!==void 0?At:Tt.value}var nt=function(At){At.preventDefault(),At.stopPropagation()},dt=function(At){var zt=At.id,Ut=At.prefixCls,ir=At.values,er=At.open,hr=At.searchValue,Cr=At.autoClearSearchValue,Dr=At.inputRef,Ir=At.placeholder,qt=At.disabled,vr=At.mode,Ht=At.showSearch,Yt=At.autoFocus,Xt=At.autoComplete,rr=At.activeDescendantId,gr=At.tabIndex,Qt=At.removeIcon,xr=At.maxTagCount,Lt=At.maxTagTextLength,Jt=At.maxTagPlaceholder,$t=Jt===void 0?function(Hn){return"+ ".concat(Hn.length," ...")}:Jt,dr=At.tagRender,lr=At.onToggleOpen,pr=At.onRemove,fr=At.onInputChange,Ar=At.onInputPaste,Rr=At.onInputKeyDown,Zr=At.onInputMouseDown,Qr=At.onInputCompositionStart,nn=At.onInputCompositionEnd,dn=le.useRef(null),pn=(0,le.useState)(0),Gr=(0,ve.Z)(pn,2),yn=Gr[0],mn=Gr[1],On=(0,le.useState)(!1),cn=(0,ve.Z)(On,2),Sn=cn[0],gn=cn[1],Jr="".concat(Ut,"-selection"),Ln=er||vr==="multiple"&&Cr===!1||vr==="tags"?hr:"",Zn=vr==="tags"||vr==="multiple"&&Cr===!1||Ht&&(er||Sn);Ve(function(){mn(dn.current.scrollWidth)},[Ln]);function fn(Hn,zn,Dn,_n,ci){return le.createElement("span",{className:te()("".concat(Jr,"-item"),(0,x.Z)({},"".concat(Jr,"-item-disabled"),Dn)),title:lt(Hn)},le.createElement("span",{className:"".concat(Jr,"-item-content")},zn),_n&&le.createElement(Se,{className:"".concat(Jr,"-item-remove"),onMouseDown:nt,onClick:ci,customizeIcon:Qt},"\xD7"))}function Hr(Hn,zn,Dn,_n,ci){var hn=function(Vn){nt(Vn),lr(!er)};return le.createElement("span",{onMouseDown:hn},dr({label:zn,value:Hn,disabled:Dn,closable:_n,onClose:ci}))}function Wr(Hn){var zn=Hn.disabled,Dn=Hn.label,_n=Hn.value,ci=!qt&&!zn,hn=Dn;if(typeof Lt=="number"&&(typeof Dn=="string"||typeof Dn=="number")){var kn=String(hn);kn.length>Lt&&(hn="".concat(kn.slice(0,Lt),"..."))}var Vn=function(Ci){Ci&&Ci.stopPropagation(),pr(Hn)};return typeof dr=="function"?Hr(_n,hn,zn,ci,Vn):fn(Hn,hn,zn,ci,Vn)}function In(Hn){var zn=typeof $t=="function"?$t(Hn):$t;return fn({title:zn},zn,!1)}var bn=le.createElement("div",{className:"".concat(Jr,"-search"),style:{width:yn},onFocus:function(){gn(!0)},onBlur:function(){gn(!1)}},le.createElement(je,{ref:Dr,open:er,prefixCls:Ut,id:zt,inputElement:null,disabled:qt,autoFocus:Yt,autoComplete:Xt,editable:Zn,activeDescendantId:rr,value:Ln,onKeyDown:Rr,onMouseDown:Zr,onChange:fr,onPaste:Ar,onCompositionStart:Qr,onCompositionEnd:nn,tabIndex:gr,attrs:(0,Me.Z)(At,!0)}),le.createElement("span",{ref:dn,className:"".concat(Jr,"-search-mirror"),"aria-hidden":!0},Ln,"\xA0")),Nn=le.createElement(Oe.Z,{prefixCls:"".concat(Jr,"-overflow"),data:ir,renderItem:Wr,renderRest:In,suffix:bn,itemKey:Ye,maxCount:xr});return le.createElement(le.Fragment,null,Nn,!ir.length&&!Ln&&le.createElement("span",{className:"".concat(Jr,"-placeholder")},Ir))},at=dt,et=function(At){var zt=At.inputElement,Ut=At.prefixCls,ir=At.id,er=At.inputRef,hr=At.disabled,Cr=At.autoFocus,Dr=At.autoComplete,Ir=At.activeDescendantId,qt=At.mode,vr=At.open,Ht=At.values,Yt=At.placeholder,Xt=At.tabIndex,rr=At.showSearch,gr=At.searchValue,Qt=At.activeValue,xr=At.maxLength,Lt=At.onInputKeyDown,Jt=At.onInputMouseDown,$t=At.onInputChange,dr=At.onInputPaste,lr=At.onInputCompositionStart,pr=At.onInputCompositionEnd,fr=At.title,Ar=le.useState(!1),Rr=(0,ve.Z)(Ar,2),Zr=Rr[0],Qr=Rr[1],nn=qt==="combobox",dn=nn||rr,pn=Ht[0],Gr=gr||"";nn&&Qt&&!Zr&&(Gr=Qt),le.useEffect(function(){nn&&Qr(!1)},[nn,Qt]);var yn=qt!=="combobox"&&!vr&&!rr?!1:!!Gr,mn=fr===void 0?lt(pn):fr,On=function(){if(pn)return null;var Sn=yn?{visibility:"hidden"}:void 0;return le.createElement("span",{className:"".concat(Ut,"-selection-placeholder"),style:Sn},Yt)};return le.createElement(le.Fragment,null,le.createElement("span",{className:"".concat(Ut,"-selection-search")},le.createElement(je,{ref:er,prefixCls:Ut,id:ir,open:vr,inputElement:zt,disabled:hr,autoFocus:Cr,autoComplete:Dr,editable:dn,activeDescendantId:Ir,value:Gr,onKeyDown:Lt,onMouseDown:Jt,onChange:function(Sn){Qr(!0),$t(Sn)},onPaste:dr,onCompositionStart:lr,onCompositionEnd:pr,tabIndex:Xt,attrs:(0,Me.Z)(At,!0),maxLength:nn?xr:void 0})),!nn&&pn?le.createElement("span",{className:"".concat(Ut,"-selection-item"),title:mn,style:yn?{visibility:"hidden"}:void 0},pn.label):null,On())},qe=et;function it(Tt){return![de.Z.ESC,de.Z.SHIFT,de.Z.BACKSPACE,de.Z.TAB,de.Z.WIN_KEY,de.Z.ALT,de.Z.META,de.Z.WIN_KEY_RIGHT,de.Z.CTRL,de.Z.SEMICOLON,de.Z.EQUALS,de.Z.CAPS_LOCK,de.Z.CONTEXT_MENU,de.Z.F1,de.Z.F2,de.Z.F3,de.Z.F4,de.Z.F5,de.Z.F6,de.Z.F7,de.Z.F8,de.Z.F9,de.Z.F10,de.Z.F11,de.Z.F12].includes(Tt)}var yt=function(At,zt){var Ut=(0,le.useRef)(null),ir=(0,le.useRef)(!1),er=At.prefixCls,hr=At.open,Cr=At.mode,Dr=At.showSearch,Ir=At.tokenWithEnter,qt=At.autoClearSearchValue,vr=At.onSearch,Ht=At.onSearchSubmit,Yt=At.onToggleOpen,Xt=At.onInputKeyDown,rr=At.domRef;le.useImperativeHandle(zt,function(){return{focus:function(){Ut.current.focus()},blur:function(){Ut.current.blur()}}});var gr=Ee(0),Qt=(0,ve.Z)(gr,2),xr=Qt[0],Lt=Qt[1],Jt=function(Gr){var yn=Gr.which;(yn===de.Z.UP||yn===de.Z.DOWN)&&Gr.preventDefault(),Xt&&Xt(Gr),yn===de.Z.ENTER&&Cr==="tags"&&!ir.current&&!hr&&(Ht==null||Ht(Gr.target.value)),it(yn)&&Yt(!0)},$t=function(){Lt(!0)},dr=(0,le.useRef)(null),lr=function(Gr){vr(Gr,!0,ir.current)!==!1&&Yt(!0)},pr=function(){ir.current=!0},fr=function(Gr){ir.current=!1,Cr!=="combobox"&&lr(Gr.target.value)},Ar=function(Gr){var yn=Gr.target.value;if(Ir&&dr.current&&/[\r\n]/.test(dr.current)){var mn=dr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");yn=yn.replace(mn,dr.current)}dr.current=null,lr(yn)},Rr=function(Gr){var yn=Gr.clipboardData,mn=yn.getData("text");dr.current=mn},Zr=function(Gr){var yn=Gr.target;if(yn!==Ut.current){var mn=document.body.style.msTouchAction!==void 0;mn?setTimeout(function(){Ut.current.focus()}):Ut.current.focus()}},Qr=function(Gr){var yn=xr();Gr.target!==Ut.current&&!yn&&Cr!=="combobox"&&Gr.preventDefault(),(Cr!=="combobox"&&(!Dr||!yn)||!hr)&&(hr&&qt!==!1&&vr("",!0,!1),Yt())},nn={inputRef:Ut,onInputKeyDown:Jt,onInputMouseDown:$t,onInputChange:Ar,onInputPaste:Rr,onInputCompositionStart:pr,onInputCompositionEnd:fr},dn=Cr==="multiple"||Cr==="tags"?le.createElement(at,(0,Re.Z)({},At,nn)):le.createElement(qe,(0,Re.Z)({},At,nn));return le.createElement("div",{ref:rr,className:"".concat(er,"-selector"),onClick:Zr,onMouseDown:Qr},dn)},ht=le.forwardRef(yt);ht.displayName="Selector";var Bt=ht,Et=ke(35593),st=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Ge=function(At){var zt=At===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:zt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:zt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:zt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:zt,adjustY:1},htmlRegion:"scroll"}}},We=function(At,zt){var Ut=At.prefixCls,ir=At.disabled,er=At.visible,hr=At.children,Cr=At.popupElement,Dr=At.animation,Ir=At.transitionName,qt=At.dropdownStyle,vr=At.dropdownClassName,Ht=At.direction,Yt=Ht===void 0?"ltr":Ht,Xt=At.placement,rr=At.builtinPlacements,gr=At.dropdownMatchSelectWidth,Qt=At.dropdownRender,xr=At.dropdownAlign,Lt=At.getPopupContainer,Jt=At.empty,$t=At.getTriggerDOMNode,dr=At.onPopupVisibleChange,lr=At.onPopupMouseEnter,pr=(0,re.Z)(At,st),fr="".concat(Ut,"-dropdown"),Ar=Cr;Qt&&(Ar=Qt(Cr));var Rr=le.useMemo(function(){return rr||Ge(gr)},[rr,gr]),Zr=Dr?"".concat(fr,"-").concat(Dr):Ir,Qr=typeof gr=="number",nn=le.useMemo(function(){return Qr?null:gr===!1?"minWidth":"width"},[gr,Qr]),dn=qt;Qr&&(dn=(0,De.Z)((0,De.Z)({},dn),{},{width:gr}));var pn=le.useRef(null);return le.useImperativeHandle(zt,function(){return{getPopupElement:function(){return pn.current}}}),le.createElement(Et.Z,(0,Re.Z)({},pr,{showAction:dr?["click"]:[],hideAction:dr?["click"]:[],popupPlacement:Xt||(Yt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Rr,prefixCls:fr,popupTransitionName:Zr,popup:le.createElement("div",{ref:pn,onMouseEnter:lr},Ar),stretch:nn,popupAlign:xr,popupVisible:er,getPopupContainer:Lt,popupClassName:te()(vr,(0,x.Z)({},"".concat(fr,"-empty"),Jt)),popupStyle:dn,getTriggerDOMNode:$t,onPopupVisibleChange:dr}),hr)},se=le.forwardRef(We);se.displayName="SelectTrigger";var fe=se,ze=ke(48745);function He(Tt,At){var zt=Tt.key,Ut;return"value"in Tt&&(Ut=Tt.value),zt!=null?zt:Ut!==void 0?Ut:"rc-index-key-".concat(At)}function pe(Tt,At){var zt=Tt||{},Ut=zt.label,ir=zt.value,er=zt.options,hr=zt.groupLabel,Cr=Ut||(At?"children":"label");return{label:Cr,value:ir||"value",options:er||"options",groupLabel:hr||Cr}}function Be(Tt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},zt=At.fieldNames,Ut=At.childrenAsData,ir=[],er=pe(zt,!1),hr=er.label,Cr=er.value,Dr=er.options,Ir=er.groupLabel;function qt(vr,Ht){vr.forEach(function(Yt){if(Ht||!(Dr in Yt)){var Xt=Yt[Cr];ir.push({key:He(Yt,ir.length),groupOption:Ht,data:Yt,label:Yt[hr],value:Xt})}else{var rr=Yt[Ir];rr===void 0&&Ut&&(rr=Yt.label),ir.push({key:He(Yt,ir.length),group:!0,data:Yt,label:rr}),qt(Yt[Dr],!0)}})}return qt(Tt,!1),ir}function Ke(Tt){var At=(0,De.Z)({},Tt);return"props"in At||Object.defineProperty(At,"props",{get:function(){return(0,oe.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),At}}),At}function Xe(Tt,At){if(!At||!At.length)return null;var zt=!1;function Ut(er,hr){var Cr=(0,ze.Z)(hr),Dr=Cr[0],Ir=Cr.slice(1);if(!Dr)return[er];var qt=er.split(Dr);return zt=zt||qt.length>1,qt.reduce(function(vr,Ht){return[].concat((0,vt.Z)(vr),(0,vt.Z)(Ut(Ht,Ir)))},[]).filter(function(vr){return vr})}var ir=Ut(Tt,At);return zt?ir:null}var Je=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],ut=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function bt(Tt){return Tt==="tags"||Tt==="multiple"}var gt=le.forwardRef(function(Tt,At){var zt,Ut,ir=Tt.id,er=Tt.prefixCls,hr=Tt.className,Cr=Tt.showSearch,Dr=Tt.tagRender,Ir=Tt.direction,qt=Tt.omitDomProps,vr=Tt.displayValues,Ht=Tt.onDisplayValuesChange,Yt=Tt.emptyOptions,Xt=Tt.notFoundContent,rr=Xt===void 0?"Not Found":Xt,gr=Tt.onClear,Qt=Tt.mode,xr=Tt.disabled,Lt=Tt.loading,Jt=Tt.getInputElement,$t=Tt.getRawInputElement,dr=Tt.open,lr=Tt.defaultOpen,pr=Tt.onDropdownVisibleChange,fr=Tt.activeValue,Ar=Tt.onActiveValueChange,Rr=Tt.activeDescendantId,Zr=Tt.searchValue,Qr=Tt.autoClearSearchValue,nn=Tt.onSearch,dn=Tt.onSearchSplit,pn=Tt.tokenSeparators,Gr=Tt.allowClear,yn=Tt.suffixIcon,mn=Tt.clearIcon,On=Tt.OptionList,cn=Tt.animation,Sn=Tt.transitionName,gn=Tt.dropdownStyle,Jr=Tt.dropdownClassName,Ln=Tt.dropdownMatchSelectWidth,Zn=Tt.dropdownRender,fn=Tt.dropdownAlign,Hr=Tt.placement,Wr=Tt.builtinPlacements,In=Tt.getPopupContainer,bn=Tt.showAction,Nn=bn===void 0?[]:bn,Hn=Tt.onFocus,zn=Tt.onBlur,Dn=Tt.onKeyUp,_n=Tt.onKeyDown,ci=Tt.onMouseDown,hn=(0,re.Z)(Tt,Je),kn=bt(Qt),Vn=(Cr!==void 0?Cr:kn)||Qt==="combobox",$n=(0,De.Z)({},hn);ut.forEach(function(Ri){delete $n[Ri]}),qt==null||qt.forEach(function(Ri){delete $n[Ri]});var Ci=le.useState(!1),Ei=(0,ve.Z)(Ci,2),gi=Ei[0],di=Ei[1];le.useEffect(function(){di((0,ue.Z)())},[]);var Oi=le.useRef(null),Di=le.useRef(null),En=le.useRef(null),An=le.useRef(null),an=le.useRef(null),sn=Le(),ni=(0,ve.Z)(sn,3),wi=ni[0],Si=ni[1],Ai=ni[2];le.useImperativeHandle(At,function(){var Ri,Bi;return{focus:(Ri=An.current)===null||Ri===void 0?void 0:Ri.focus,blur:(Bi=An.current)===null||Bi===void 0?void 0:Bi.blur,scrollTo:function(Ra){var na;return(na=an.current)===null||na===void 0?void 0:na.scrollTo(Ra)}}});var vi=le.useMemo(function(){var Ri;if(Qt!=="combobox")return Zr;var Bi=(Ri=vr[0])===null||Ri===void 0?void 0:Ri.value;return typeof Bi=="string"||typeof Bi=="number"?String(Bi):""},[Zr,Qt,vr]),Ii=Qt==="combobox"&&typeof Jt=="function"&&Jt()||null,Ki=typeof $t=="function"&&$t(),Ui=(0,he.x1)(Di,Ki==null||(zt=Ki.props)===null||zt===void 0?void 0:zt.ref),$i=le.useState(!1),li=(0,ve.Z)($i,2),fi=li[0],Pi=li[1];(0,ae.Z)(function(){Pi(!0)},[]);var mi=(0,ie.Z)(!1,{defaultValue:lr,value:dr}),ki=(0,ve.Z)(mi,2),Er=ki[0],br=ki[1],mr=fi?Er:!1,jr=!rr&&Yt;(xr||jr&&mr&&Qt==="combobox")&&(mr=!1);var en=jr?!1:mr,tn=le.useCallback(function(Ri){var Bi=Ri!==void 0?Ri:!mr;xr||(br(Bi),mr!==Bi&&(pr==null||pr(Bi)))},[xr,mr,br,pr]),_r=le.useMemo(function(){return(pn||[]).some(function(Ri){return[`
`,`\r
`].includes(Ri)})},[pn]),Cn=function(Bi,Qi,Ra){var na=!0,Ha=Bi;Ar==null||Ar(null);var Ga=Ra?null:Xe(Bi,pn);return Qt!=="combobox"&&Ga&&(Ha="",dn==null||dn(Ga),tn(!1),na=!1),nn&&vi!==Ha&&nn(Ha,{source:Qi?"typing":"effect"}),na},Gn=function(Bi){!Bi||!Bi.trim()||nn(Bi,{source:"submit"})};le.useEffect(function(){!mr&&!kn&&Qt!=="combobox"&&Cn("",!1,!1)},[mr]),le.useEffect(function(){Er&&xr&&br(!1),xr&&Si(!1)},[xr]);var si=Ee(),Yn=(0,ve.Z)(si,2),xn=Yn[0],Xn=Yn[1],ei=function(Bi){var Qi=xn(),Ra=Bi.which;if(Ra===de.Z.ENTER&&(Qt!=="combobox"&&Bi.preventDefault(),mr||tn(!0)),Xn(!!vi),Ra===de.Z.BACKSPACE&&!Qi&&kn&&!vi&&vr.length){for(var na=(0,vt.Z)(vr),Ha=null,Ga=na.length-1;Ga>=0;Ga-=1){var lo=na[Ga];if(!lo.disabled){na.splice(Ga,1),Ha=lo;break}}Ha&&Ht(na,{type:"remove",values:[Ha]})}for(var Wa=arguments.length,go=new Array(Wa>1?Wa-1:0),vo=1;vo<Wa;vo++)go[vo-1]=arguments[vo];if(mr&&an.current){var Na;(Na=an.current).onKeyDown.apply(Na,[Bi].concat(go))}_n==null||_n.apply(void 0,[Bi].concat(go))},xi=function(Bi){for(var Qi=arguments.length,Ra=new Array(Qi>1?Qi-1:0),na=1;na<Qi;na++)Ra[na-1]=arguments[na];if(mr&&an.current){var Ha;(Ha=an.current).onKeyUp.apply(Ha,[Bi].concat(Ra))}Dn==null||Dn.apply(void 0,[Bi].concat(Ra))},ti=function(Bi){var Qi=vr.filter(function(Ra){return Ra!==Bi});Ht(Qi,{type:"remove",values:[Bi]})},qn=le.useRef(!1),yi=function(){Si(!0),xr||(Hn&&!qn.current&&Hn.apply(void 0,arguments),Nn.includes("focus")&&tn(!0)),qn.current=!0},Li=function(){Si(!1,function(){qn.current=!1,tn(!1)}),!xr&&(vi&&(Qt==="tags"?nn(vi,{source:"submit"}):Qt==="multiple"&&nn("",{source:"blur"})),zn&&zn.apply(void 0,arguments))},Fi=[];le.useEffect(function(){return function(){Fi.forEach(function(Ri){return clearTimeout(Ri)}),Fi.splice(0,Fi.length)}},[]);var ra=function(Bi){var Qi,Ra=Bi.target,na=(Qi=En.current)===null||Qi===void 0?void 0:Qi.getPopupElement();if(na&&na.contains(Ra)){var Ha=setTimeout(function(){var go=Fi.indexOf(Ha);if(go!==-1&&Fi.splice(go,1),Ai(),!gi&&!na.contains(document.activeElement)){var vo;(vo=An.current)===null||vo===void 0||vo.focus()}});Fi.push(Ha)}for(var Ga=arguments.length,lo=new Array(Ga>1?Ga-1:0),Wa=1;Wa<Ga;Wa++)lo[Wa-1]=arguments[Wa];ci==null||ci.apply(void 0,[Bi].concat(lo))},Ea=le.useState({}),Lo=(0,ve.Z)(Ea,2),Za=Lo[1];function ma(){Za({})}var ca;Ki&&(ca=function(Bi){tn(Bi)}),_e(function(){var Ri;return[Oi.current,(Ri=En.current)===null||Ri===void 0?void 0:Ri.getPopupElement()]},en,tn,!!Ki);var ho=le.useMemo(function(){return(0,De.Z)((0,De.Z)({},Tt),{},{notFoundContent:rr,open:mr,triggerOpen:en,id:ir,showSearch:Vn,multiple:kn,toggleOpen:tn})},[Tt,rr,en,mr,ir,Vn,kn,tn]),Oa=!!yn||Lt,Va;Oa&&(Va=le.createElement(Se,{className:te()("".concat(er,"-arrow"),(0,x.Z)({},"".concat(er,"-arrow-loading"),Lt)),customizeIcon:yn,customizeIconProps:{loading:Lt,searchValue:vi,open:mr,focused:wi,showSearch:Vn}}));var Mo=function(){var Bi;gr==null||gr(),(Bi=An.current)===null||Bi===void 0||Bi.focus(),Ht([],{type:"clear",values:vr}),Cn("",!1,!1)},po=xe(er,Mo,vr,Gr,mn,xr,vi,Qt),ga=po.allowClear,ua=po.clearIcon,Hi=le.createElement(On,{ref:an}),mo=te()(er,hr,(Ut={},(0,x.Z)(Ut,"".concat(er,"-focused"),wi),(0,x.Z)(Ut,"".concat(er,"-multiple"),kn),(0,x.Z)(Ut,"".concat(er,"-single"),!kn),(0,x.Z)(Ut,"".concat(er,"-allow-clear"),Gr),(0,x.Z)(Ut,"".concat(er,"-show-arrow"),Oa),(0,x.Z)(Ut,"".concat(er,"-disabled"),xr),(0,x.Z)(Ut,"".concat(er,"-loading"),Lt),(0,x.Z)(Ut,"".concat(er,"-open"),mr),(0,x.Z)(Ut,"".concat(er,"-customize-input"),Ii),(0,x.Z)(Ut,"".concat(er,"-show-search"),Vn),Ut)),zo=le.createElement(fe,{ref:En,disabled:xr,prefixCls:er,visible:en,popupElement:Hi,animation:cn,transitionName:Sn,dropdownStyle:gn,dropdownClassName:Jr,direction:Ir,dropdownMatchSelectWidth:Ln,dropdownRender:Zn,dropdownAlign:fn,placement:Hr,builtinPlacements:Wr,getPopupContainer:In,empty:Yt,getTriggerDOMNode:function(){return Di.current},onPopupVisibleChange:ca,onPopupMouseEnter:ma},Ki?le.cloneElement(Ki,{ref:Ui}):le.createElement(Bt,(0,Re.Z)({},Tt,{domRef:Di,prefixCls:er,inputElement:Ii,ref:An,id:ir,showSearch:Vn,autoClearSearchValue:Qr,mode:Qt,activeDescendantId:Rr,tagRender:Dr,values:vr,open:mr,onToggleOpen:tn,activeValue:fr,searchValue:vi,onSearch:Cn,onSearchSubmit:Gn,onRemove:ti,tokenWithEnter:_r}))),so;return Ki?so=zo:so=le.createElement("div",(0,Re.Z)({className:mo},$n,{ref:Oi,onMouseDown:ra,onKeyDown:ei,onKeyUp:xi,onFocus:yi,onBlur:Li}),wi&&!mr&&le.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(vr.map(function(Ri){var Bi=Ri.label,Qi=Ri.value;return["number","string"].includes((0,ne.Z)(Bi))?Bi:Qi}).join(", "))),zo,Va,ga&&ua),le.createElement(ye.Provider,{value:ho},so)}),Dt=gt,Vt=function(Tt,At){var zt=le.useRef({values:new Map,options:new Map}),Ut=le.useMemo(function(){var er=zt.current,hr=er.values,Cr=er.options,Dr=Tt.map(function(vr){if(vr.label===void 0){var Ht;return(0,De.Z)((0,De.Z)({},vr),{},{label:(Ht=hr.get(vr.value))===null||Ht===void 0?void 0:Ht.label})}return vr}),Ir=new Map,qt=new Map;return Dr.forEach(function(vr){Ir.set(vr.value,vr),qt.set(vr.value,At.get(vr.value)||Cr.get(vr.value))}),zt.current.values=Ir,zt.current.options=qt,Dr},[Tt,At]),ir=le.useCallback(function(er){return At.get(er)||zt.current.options.get(er)},[At]);return[Ut,ir]};function kt(Tt,At){return Ze(Tt).join("").toUpperCase().includes(At)}var jt=function(Tt,At,zt,Ut,ir){return le.useMemo(function(){if(!zt||Ut===!1)return Tt;var er=At.options,hr=At.label,Cr=At.value,Dr=[],Ir=typeof Ut=="function",qt=zt.toUpperCase(),vr=Ir?Ut:function(Yt,Xt){return ir?kt(Xt[ir],qt):Xt[er]?kt(Xt[hr!=="children"?hr:"label"],qt):kt(Xt[Cr],qt)},Ht=Ir?function(Yt){return Ke(Yt)}:function(Yt){return Yt};return Tt.forEach(function(Yt){if(Yt[er]){var Xt=vr(zt,Ht(Yt));if(Xt)Dr.push(Yt);else{var rr=Yt[er].filter(function(gr){return vr(zt,Ht(gr))});rr.length&&Dr.push((0,De.Z)((0,De.Z)({},Yt),{},(0,x.Z)({},er,rr)))}return}vr(zt,Ht(Yt))&&Dr.push(Yt)}),Dr},[Tt,Ut,ir,zt,At])},_t=ke(17115),Mt=ke(11592),ft=["children","value"],St=["children"];function Nt(Tt){var At=Tt,zt=At.key,Ut=At.props,ir=Ut.children,er=Ut.value,hr=(0,re.Z)(Ut,ft);return(0,De.Z)({key:zt,value:er!==void 0?er:zt,children:ir},hr)}function Ft(Tt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Mt.Z)(Tt).map(function(zt,Ut){if(!le.isValidElement(zt)||!zt.type)return null;var ir=zt,er=ir.type.isSelectOptGroup,hr=ir.key,Cr=ir.props,Dr=Cr.children,Ir=(0,re.Z)(Cr,St);return At||!er?Nt(zt):(0,De.Z)((0,De.Z)({key:"__RC_SELECT_GRP__".concat(hr===null?Ut:hr,"__"),label:hr},Ir),{},{options:Ft(Dr)})}).filter(function(zt){return zt})}function Zt(Tt,At,zt,Ut,ir){return le.useMemo(function(){var er=Tt,hr=!Tt;hr&&(er=Ft(At));var Cr=new Map,Dr=new Map,Ir=function(Ht,Yt,Xt){Xt&&typeof Xt=="string"&&Ht.set(Yt[Xt],Yt)};function qt(vr){for(var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Yt=0;Yt<vr.length;Yt+=1){var Xt=vr[Yt];!Xt[zt.options]||Ht?(Cr.set(Xt[zt.value],Xt),Ir(Dr,Xt,zt.label),Ir(Dr,Xt,Ut),Ir(Dr,Xt,ir)):qt(Xt[zt.options],!0)}}return qt(er),{options:er,valueOptions:Cr,labelOptions:Dr}},[Tt,At,zt,Ut,ir])}function or(Tt){var At=le.useRef();At.current=Tt;var zt=le.useCallback(function(){return At.current.apply(At,arguments)},[]);return zt}var yr=function(){return null};yr.isSelectOptGroup=!0;var Sr=yr,Fr=function(){return null};Fr.isSelectOption=!0;var Vr=Fr,Br=ke(80547),Ur=ke(2738),on=ke(48911),Yr=le.createContext(null),Fn=Yr;function vn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Tn=["disabled","title","children","style","className"];function qr(Tt){return typeof Tt=="string"||typeof Tt=="number"}var Un=function(At,zt){var Ut=Ae(),ir=Ut.prefixCls,er=Ut.id,hr=Ut.open,Cr=Ut.multiple,Dr=Ut.mode,Ir=Ut.searchValue,qt=Ut.toggleOpen,vr=Ut.notFoundContent,Ht=Ut.onPopupScroll,Yt=le.useContext(Fn),Xt=Yt.flattenOptions,rr=Yt.onActiveValue,gr=Yt.defaultActiveFirstOption,Qt=Yt.onSelect,xr=Yt.menuItemSelectedIcon,Lt=Yt.rawValues,Jt=Yt.fieldNames,$t=Yt.virtual,dr=Yt.direction,lr=Yt.listHeight,pr=Yt.listItemHeight,fr="".concat(ir,"-item"),Ar=(0,Br.Z)(function(){return Xt},[hr,Xt],function(fn,Hr){return Hr[0]&&fn[1]!==Hr[1]}),Rr=le.useRef(null),Zr=function(Hr){Hr.preventDefault()},Qr=function(Hr){Rr.current&&Rr.current.scrollTo(typeof Hr=="number"?{index:Hr}:Hr)},nn=function(Hr){for(var Wr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,In=Ar.length,bn=0;bn<In;bn+=1){var Nn=(Hr+bn*Wr+In)%In,Hn=Ar[Nn],zn=Hn.group,Dn=Hn.data;if(!zn&&!Dn.disabled)return Nn}return-1},dn=le.useState(function(){return nn(0)}),pn=(0,ve.Z)(dn,2),Gr=pn[0],yn=pn[1],mn=function(Hr){var Wr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;yn(Hr);var In={source:Wr?"keyboard":"mouse"},bn=Ar[Hr];if(!bn){rr(null,-1,In);return}rr(bn.value,Hr,In)};(0,le.useEffect)(function(){mn(gr!==!1?nn(0):-1)},[Ar.length,Ir]);var On=le.useCallback(function(fn){return Lt.has(fn)&&Dr!=="combobox"},[Dr,(0,vt.Z)(Lt).toString(),Lt.size]);(0,le.useEffect)(function(){var fn=setTimeout(function(){if(!Cr&&hr&&Lt.size===1){var Wr=Array.from(Lt)[0],In=Ar.findIndex(function(bn){var Nn=bn.data;return Nn.value===Wr});In!==-1&&(mn(In),Qr(In))}});if(hr){var Hr;(Hr=Rr.current)===null||Hr===void 0||Hr.scrollTo(void 0)}return function(){return clearTimeout(fn)}},[hr,Ir,Xt.length]);var cn=function(Hr){Hr!==void 0&&Qt(Hr,{selected:!Lt.has(Hr)}),Cr||qt(!1)};if(le.useImperativeHandle(zt,function(){return{onKeyDown:function(Hr){var Wr=Hr.which,In=Hr.ctrlKey;switch(Wr){case de.Z.N:case de.Z.P:case de.Z.UP:case de.Z.DOWN:{var bn=0;if(Wr===de.Z.UP?bn=-1:Wr===de.Z.DOWN?bn=1:vn()&&In&&(Wr===de.Z.N?bn=1:Wr===de.Z.P&&(bn=-1)),bn!==0){var Nn=nn(Gr+bn,bn);Qr(Nn),mn(Nn,!0)}break}case de.Z.ENTER:{var Hn=Ar[Gr];Hn&&!Hn.data.disabled?cn(Hn.value):cn(void 0),hr&&Hr.preventDefault();break}case de.Z.ESC:qt(!1),hr&&Hr.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Hr){Qr(Hr)}}}),Ar.length===0)return le.createElement("div",{role:"listbox",id:"".concat(er,"_list"),className:"".concat(fr,"-empty"),onMouseDown:Zr},vr);var Sn=Object.keys(Jt).map(function(fn){return Jt[fn]}),gn=function(Hr){return Hr.label};function Jr(fn,Hr){var Wr=fn.group;return{role:Wr?"presentation":"option",id:"".concat(er,"_list_").concat(Hr)}}var Ln=function(Hr){var Wr=Ar[Hr];if(!Wr)return null;var In=Wr.data||{},bn=In.value,Nn=Wr.group,Hn=(0,Me.Z)(In,!0),zn=gn(Wr);return Wr?le.createElement("div",(0,Re.Z)({"aria-label":typeof zn=="string"&&!Nn?zn:null},Hn,{key:Hr},Jr(Wr,Hr),{"aria-selected":On(bn)}),bn):null},Zn={role:"listbox",id:"".concat(er,"_list")};return le.createElement(le.Fragment,null,$t&&le.createElement("div",(0,Re.Z)({},Zn,{style:{height:0,width:0,overflow:"hidden"}}),Ln(Gr-1),Ln(Gr),Ln(Gr+1)),le.createElement(on.Z,{itemKey:"key",ref:Rr,data:Ar,height:lr,itemHeight:pr,fullHeight:!1,onMouseDown:Zr,onScroll:Ht,virtual:$t,direction:dr,innerProps:$t?null:Zn},function(fn,Hr){var Wr,In=fn.group,bn=fn.groupOption,Nn=fn.data,Hn=fn.label,zn=fn.value,Dn=Nn.key;if(In){var _n,ci=(_n=Nn.title)!==null&&_n!==void 0?_n:qr(Hn)?Hn.toString():void 0;return le.createElement("div",{className:te()(fr,"".concat(fr,"-group")),title:ci},Hn!==void 0?Hn:Dn)}var hn=Nn.disabled,kn=Nn.title,Vn=Nn.children,$n=Nn.style,Ci=Nn.className,Ei=(0,re.Z)(Nn,Tn),gi=(0,Ur.Z)(Ei,Sn),di=On(zn),Oi="".concat(fr,"-option"),Di=te()(fr,Oi,Ci,(Wr={},(0,x.Z)(Wr,"".concat(Oi,"-grouped"),bn),(0,x.Z)(Wr,"".concat(Oi,"-active"),Gr===Hr&&!hn),(0,x.Z)(Wr,"".concat(Oi,"-disabled"),hn),(0,x.Z)(Wr,"".concat(Oi,"-selected"),di),Wr)),En=gn(fn),An=!xr||typeof xr=="function"||di,an=typeof En=="number"?En:En||zn,sn=qr(an)?an.toString():void 0;return kn!==void 0&&(sn=kn),le.createElement("div",(0,Re.Z)({},(0,Me.Z)(gi),$t?{}:Jr(fn,Hr),{"aria-selected":di,className:Di,title:sn,onMouseMove:function(){Gr===Hr||hn||mn(Hr)},onClick:function(){hn||cn(zn)},style:$n}),le.createElement("div",{className:"".concat(Oi,"-content")},an),le.isValidElement(xr)||di,An&&le.createElement(Se,{className:"".concat(fr,"-option-state"),customizeIcon:xr,customizeIconProps:{isSelected:di}},di?"\u2713":null))}))},un=le.forwardRef(Un);un.displayName="OptionList";var ar=un;function Nr(Tt){var At=Tt.mode,zt=Tt.options,Ut=Tt.children,ir=Tt.backfill,er=Tt.allowClear,hr=Tt.placeholder,Cr=Tt.getInputElement,Dr=Tt.showSearch,Ir=Tt.onSearch,qt=Tt.defaultOpen,vr=Tt.autoFocus,Ht=Tt.labelInValue,Yt=Tt.value,Xt=Tt.inputValue,rr=Tt.optionLabelProp,gr=isMultiple(At),Qt=Dr!==void 0?Dr:gr||At==="combobox",xr=zt||convertChildrenToData(Ut);if(warning(At!=="tags"||xr.every(function(dr){return!dr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),At==="tags"||At==="combobox"){var Lt=xr.some(function(dr){return dr.options?dr.options.some(function(lr){return typeof("value"in lr?lr.value:lr.key)=="number"}):typeof("value"in dr?dr.value:dr.key)=="number"});warning(!Lt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(At!=="combobox"||!rr,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(At==="combobox"||!ir,"`backfill` only works with `combobox` mode."),warning(At==="combobox"||!Cr,"`getInputElement` only work with `combobox` mode."),noteOnce(At!=="combobox"||!Cr||!er||!hr,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Ir&&!Qt&&At!=="combobox"&&At!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!qt||vr,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Yt!=null){var Jt=toArray(Yt);warning(!Ht||Jt.every(function(dr){return _typeof(dr)==="object"&&("key"in dr||"value"in dr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!gr||Array.isArray(Yt),"`value` should be array when `mode` is `multiple` or `tags`")}if(Ut){var $t=null;toNodeArray(Ut).some(function(dr){if(!React.isValidElement(dr)||!dr.type)return!1;var lr=dr,pr=lr.type;if(pr.isSelectOption)return!1;if(pr.isSelectOptGroup){var fr=toNodeArray(dr.props.children).every(function(Ar){return!React.isValidElement(Ar)||!dr.type||Ar.type.isSelectOption?!0:($t=Ar.type,!1)});return!fr}return $t=pr,!0}),$t&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat($t.displayName||$t.name||$t,"`.")),warning(Xt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Mr(Tt,At){if(Tt){var zt=function Ut(ir){for(var er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,hr=0;hr<ir.length;hr++){var Cr=ir[hr];if(Cr[At==null?void 0:At.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!er&&Array.isArray(Cr[At==null?void 0:At.options])&&Ut(Cr[At==null?void 0:At.options],!0))break}};zt(Tt)}}var Or=null,Pr=["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"],Tr=["inputValue"];function wr(Tt){return!Tt||(0,ne.Z)(Tt)!=="object"}var Xr=le.forwardRef(function(Tt,At){var zt=Tt.id,Ut=Tt.mode,ir=Tt.prefixCls,er=ir===void 0?"rc-select":ir,hr=Tt.backfill,Cr=Tt.fieldNames,Dr=Tt.inputValue,Ir=Tt.searchValue,qt=Tt.onSearch,vr=Tt.autoClearSearchValue,Ht=vr===void 0?!0:vr,Yt=Tt.onSelect,Xt=Tt.onDeselect,rr=Tt.dropdownMatchSelectWidth,gr=rr===void 0?!0:rr,Qt=Tt.filterOption,xr=Tt.filterSort,Lt=Tt.optionFilterProp,Jt=Tt.optionLabelProp,$t=Tt.options,dr=Tt.children,lr=Tt.defaultActiveFirstOption,pr=Tt.menuItemSelectedIcon,fr=Tt.virtual,Ar=Tt.direction,Rr=Tt.listHeight,Zr=Rr===void 0?200:Rr,Qr=Tt.listItemHeight,nn=Qr===void 0?20:Qr,dn=Tt.value,pn=Tt.defaultValue,Gr=Tt.labelInValue,yn=Tt.onChange,mn=(0,re.Z)(Tt,Pr),On=(0,_t.ZP)(zt),cn=bt(Ut),Sn=!!(!$t&&dr),gn=le.useMemo(function(){return Qt===void 0&&Ut==="combobox"?!1:Qt},[Qt,Ut]),Jr=le.useMemo(function(){return pe(Cr,Sn)},[JSON.stringify(Cr),Sn]),Ln=(0,ie.Z)("",{value:Ir!==void 0?Ir:Dr,postState:function(jr){return jr||""}}),Zn=(0,ve.Z)(Ln,2),fn=Zn[0],Hr=Zn[1],Wr=Zt($t,dr,Jr,Lt,Jt),In=Wr.valueOptions,bn=Wr.labelOptions,Nn=Wr.options,Hn=le.useCallback(function(mr){var jr=Ze(mr);return jr.map(function(en){var tn,_r,Cn,Gn,si;if(wr(en))tn=en;else{var Yn;Cn=en.key,_r=en.label,tn=(Yn=en.value)!==null&&Yn!==void 0?Yn:Cn}var xn=In.get(tn);if(xn){var Xn;if(_r===void 0&&(_r=xn==null?void 0:xn[Jt||Jr.label]),Cn===void 0&&(Cn=(Xn=xn==null?void 0:xn.key)!==null&&Xn!==void 0?Xn:tn),Gn=xn==null?void 0:xn.disabled,si=xn==null?void 0:xn.title,0)var ei}return{label:_r,value:tn,key:Cn,disabled:Gn,title:si}})},[Jr,Jt,In]),zn=(0,ie.Z)(pn,{value:dn}),Dn=(0,ve.Z)(zn,2),_n=Dn[0],ci=Dn[1],hn=le.useMemo(function(){var mr,jr=Hn(_n);return Ut==="combobox"&&tt((mr=jr[0])===null||mr===void 0?void 0:mr.value)?[]:jr},[_n,Hn,Ut]),kn=Vt(hn,In),Vn=(0,ve.Z)(kn,2),$n=Vn[0],Ci=Vn[1],Ei=le.useMemo(function(){if(!Ut&&$n.length===1){var mr=$n[0];if(mr.value===null&&(mr.label===null||mr.label===void 0))return[]}return $n.map(function(jr){var en;return(0,De.Z)((0,De.Z)({},jr),{},{label:(en=jr.label)!==null&&en!==void 0?en:jr.value})})},[Ut,$n]),gi=le.useMemo(function(){return new Set($n.map(function(mr){return mr.value}))},[$n]);le.useEffect(function(){if(Ut==="combobox"){var mr,jr=(mr=$n[0])===null||mr===void 0?void 0:mr.value;Hr(Qe(jr)?String(jr):"")}},[$n]);var di=or(function(mr,jr){var en,tn=jr!=null?jr:mr;return en={},(0,x.Z)(en,Jr.value,mr),(0,x.Z)(en,Jr.label,tn),en}),Oi=le.useMemo(function(){if(Ut!=="tags")return Nn;var mr=(0,vt.Z)(Nn),jr=function(tn){return In.has(tn)};return(0,vt.Z)($n).sort(function(en,tn){return en.value<tn.value?-1:1}).forEach(function(en){var tn=en.value;jr(tn)||mr.push(di(tn,en.label))}),mr},[di,Nn,In,$n,Ut]),Di=jt(Oi,Jr,fn,gn,Lt),En=le.useMemo(function(){return Ut!=="tags"||!fn||Di.some(function(mr){return mr[Lt||"value"]===fn})||Di.some(function(mr){return mr[Jr.value]===fn})?Di:[di(fn)].concat((0,vt.Z)(Di))},[di,Lt,Ut,Di,fn,Jr]),An=le.useMemo(function(){return xr?(0,vt.Z)(En).sort(function(mr,jr){return xr(mr,jr)}):En},[En,xr]),an=le.useMemo(function(){return Be(An,{fieldNames:Jr,childrenAsData:Sn})},[An,Jr,Sn]),sn=function(jr){var en=Hn(jr);if(ci(en),yn&&(en.length!==$n.length||en.some(function(Cn,Gn){var si;return((si=$n[Gn])===null||si===void 0?void 0:si.value)!==(Cn==null?void 0:Cn.value)}))){var tn=Gr?en:en.map(function(Cn){return Cn.value}),_r=en.map(function(Cn){return Ke(Ci(Cn.value))});yn(cn?tn:tn[0],cn?_r:_r[0])}},ni=le.useState(null),wi=(0,ve.Z)(ni,2),Si=wi[0],Ai=wi[1],vi=le.useState(0),Ii=(0,ve.Z)(vi,2),Ki=Ii[0],Ui=Ii[1],$i=lr!==void 0?lr:Ut!=="combobox",li=le.useCallback(function(mr,jr){var en=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},tn=en.source,_r=tn===void 0?"keyboard":tn;Ui(jr),hr&&Ut==="combobox"&&mr!==null&&_r==="keyboard"&&Ai(String(mr))},[hr,Ut]),fi=function(jr,en,tn){var _r=function(){var qn,yi=Ci(jr);return[Gr?{label:yi==null?void 0:yi[Jr.label],value:jr,key:(qn=yi==null?void 0:yi.key)!==null&&qn!==void 0?qn:jr}:jr,Ke(yi)]};if(en&&Yt){var Cn=_r(),Gn=(0,ve.Z)(Cn,2),si=Gn[0],Yn=Gn[1];Yt(si,Yn)}else if(!en&&Xt&&tn!=="clear"){var xn=_r(),Xn=(0,ve.Z)(xn,2),ei=Xn[0],xi=Xn[1];Xt(ei,xi)}},Pi=or(function(mr,jr){var en,tn=cn?jr.selected:!0;tn?en=cn?[].concat((0,vt.Z)($n),[mr]):[mr]:en=$n.filter(function(_r){return _r.value!==mr}),sn(en),fi(mr,tn),Ut==="combobox"?Ai(""):(!bt||Ht)&&(Hr(""),Ai(""))}),mi=function(jr,en){sn(jr);var tn=en.type,_r=en.values;(tn==="remove"||tn==="clear")&&_r.forEach(function(Cn){fi(Cn.value,!1,tn)})},ki=function(jr,en){if(Hr(jr),Ai(null),en.source==="submit"){var tn=(jr||"").trim();if(tn){var _r=Array.from(new Set([].concat((0,vt.Z)(gi),[tn])));sn(_r),fi(tn,!0),Hr("")}return}en.source!=="blur"&&(Ut==="combobox"&&sn(jr),qt==null||qt(jr))},Er=function(jr){var en=jr;Ut!=="tags"&&(en=jr.map(function(_r){var Cn=bn.get(_r);return Cn==null?void 0:Cn.value}).filter(function(_r){return _r!==void 0}));var tn=Array.from(new Set([].concat((0,vt.Z)(gi),(0,vt.Z)(en))));sn(tn),tn.forEach(function(_r){fi(_r,!0)})},br=le.useMemo(function(){var mr=fr!==!1&&gr!==!1;return(0,De.Z)((0,De.Z)({},Wr),{},{flattenOptions:an,onActiveValue:li,defaultActiveFirstOption:$i,onSelect:Pi,menuItemSelectedIcon:pr,rawValues:gi,fieldNames:Jr,virtual:mr,direction:Ar,listHeight:Zr,listItemHeight:nn,childrenAsData:Sn})},[Wr,an,li,$i,Pi,pr,gi,Jr,fr,gr,Zr,nn,Sn]);return le.createElement(Fn.Provider,{value:br},le.createElement(Dt,(0,Re.Z)({},mn,{id:On,prefixCls:er,ref:At,omitDomProps:Tr,mode:Ut,displayValues:Ei,onDisplayValuesChange:mi,direction:Ar,searchValue:fn,onSearch:ki,autoClearSearchValue:Ht,onSearchSplit:Er,dropdownMatchSelectWidth:gr,OptionList:ar,emptyOptions:!an.length,activeValue:Si,activeDescendantId:"".concat(On,"_list_").concat(Ki)})))}),Kt=Xr;Kt.Option=Vr,Kt.OptGroup=Sr;var xt=Kt,It=xt},9296:function(sr,Wt,ke){"use strict";ke.r(Wt),ke.d(Wt,{ResizableTextArea:function(){return Ne},default:function(){return tt}});var Re=ke(60499),vt=ke(85899),x=ke(18642),De=ke(43749),ve=ke(72190),re=ke(42244),ne=ke(77654),ie=ke(92310),oe=ke.n(ie),le=ke(93681),me=ke(5643),te=ke(18929),ae=ke(59301),ue=ke(29301),de=ke(34280),he=ke(16089),we=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,Se=["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"],xe={},ye;function Ae(ot){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ve=ot.getAttribute("id")||ot.getAttribute("data-reactid")||ot.getAttribute("name");if(lt&&xe[Ve])return xe[Ve];var Ye=window.getComputedStyle(ot),nt=Ye.getPropertyValue("box-sizing")||Ye.getPropertyValue("-moz-box-sizing")||Ye.getPropertyValue("-webkit-box-sizing"),dt=parseFloat(Ye.getPropertyValue("padding-bottom"))+parseFloat(Ye.getPropertyValue("padding-top")),at=parseFloat(Ye.getPropertyValue("border-bottom-width"))+parseFloat(Ye.getPropertyValue("border-top-width")),et=Se.map(function(it){return"".concat(it,":").concat(Ye.getPropertyValue(it))}).join(";"),qe={sizingStyle:et,paddingSize:dt,borderSize:at,boxSizing:nt};return lt&&Ve&&(xe[Ve]=qe),qe}function Le(ot){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ye||(ye=document.createElement("textarea"),ye.setAttribute("tab-index","-1"),ye.setAttribute("aria-hidden","true"),document.body.appendChild(ye)),ot.getAttribute("wrap")?ye.setAttribute("wrap",ot.getAttribute("wrap")):ye.removeAttribute("wrap");var nt=Ae(ot,lt),dt=nt.paddingSize,at=nt.borderSize,et=nt.boxSizing,qe=nt.sizingStyle;ye.setAttribute("style","".concat(qe,";").concat(we)),ye.value=ot.value||ot.placeholder||"";var it=void 0,yt=void 0,ht,Bt=ye.scrollHeight;if(et==="border-box"?Bt+=at:et==="content-box"&&(Bt-=dt),Ve!==null||Ye!==null){ye.value=" ";var Et=ye.scrollHeight-dt;Ve!==null&&(it=Et*Ve,et==="border-box"&&(it=it+dt+at),Bt=Math.max(it,Bt)),Ye!==null&&(yt=Et*Ye,et==="border-box"&&(yt=yt+dt+at),ht=Bt>yt?"":"hidden",Bt=Math.min(yt,Bt))}var st={height:Bt,overflowY:ht,resize:"none"};return it&&(st.minHeight=it),yt&&(st.maxHeight=yt),st}var Ee=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],_e=0,Me=1,Oe=2,Ce=ae.forwardRef(function(ot,lt){var Ve=ot,Ye=Ve.prefixCls,nt=Ve.onPressEnter,dt=Ve.defaultValue,at=Ve.value,et=Ve.autoSize,qe=Ve.onResize,it=Ve.className,yt=Ve.style,ht=Ve.disabled,Bt=Ve.onChange,Et=Ve.onInternalAutoSize,st=(0,re.Z)(Ve,Ee),Ge=(0,te.Z)(dt,{value:at,postState:function(Sr){return Sr!=null?Sr:""}}),We=(0,ve.Z)(Ge,2),se=We[0],fe=We[1],ze=function(Sr){fe(Sr.target.value),Bt==null||Bt(Sr)},He=ae.useRef();ae.useImperativeHandle(lt,function(){return{textArea:He.current}});var pe=ae.useMemo(function(){return et&&(0,De.Z)(et)==="object"?[et.minRows,et.maxRows]:[]},[et]),Be=(0,ve.Z)(pe,2),Ke=Be[0],Xe=Be[1],Je=!!et,ut=function(){try{if(document.activeElement===He.current){var Sr=He.current,Fr=Sr.selectionStart,Vr=Sr.selectionEnd,Br=Sr.scrollTop;He.current.setSelectionRange(Fr,Vr),He.current.scrollTop=Br}}catch(Ur){}},bt=ae.useState(Oe),gt=(0,ve.Z)(bt,2),Dt=gt[0],Vt=gt[1],kt=ae.useState(),jt=(0,ve.Z)(kt,2),_t=jt[0],Mt=jt[1],ft=function(){Vt(_e)};(0,de.Z)(function(){Je&&ft()},[at,Ke,Xe,Je]),(0,de.Z)(function(){if(Dt===_e)Vt(Me);else if(Dt===Me){var yr=Le(He.current,!1,Ke,Xe);Vt(Oe),Mt(yr)}else ut()},[Dt]);var St=ae.useRef(),Nt=function(){he.Z.cancel(St.current)},Ft=function(Sr){Dt===Oe&&(qe==null||qe(Sr),et&&(Nt(),St.current=(0,he.Z)(function(){ft()})))};ae.useEffect(function(){return Nt},[]);var Zt=Je?_t:null,or=(0,vt.Z)((0,vt.Z)({},yt),Zt);return(Dt===_e||Dt===Me)&&(or.overflowY="hidden",or.overflowX="hidden"),ae.createElement(ue.Z,{onResize:Ft,disabled:!(et||qe)},ae.createElement("textarea",(0,Re.Z)({},st,{ref:He,style:or,className:oe()(Ye,it,(0,x.Z)({},"".concat(Ye,"-disabled"),ht)),disabled:ht,value:se,onChange:ze})))}),Ne=Ce,je=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function Ze(ot,lt){return(0,ne.Z)(ot||"").slice(0,lt).join("")}function Pe(ot,lt,Ve,Ye){var nt=Ve;return ot?nt=Ze(Ve,Ye):(0,ne.Z)(lt||"").length<Ve.length&&(0,ne.Z)(Ve||"").length>Ye&&(nt=lt),nt}var Ue=ae.forwardRef(function(ot,lt){var Ve,Ye=ot.defaultValue,nt=ot.value,dt=ot.onFocus,at=ot.onBlur,et=ot.onChange,qe=ot.allowClear,it=ot.maxLength,yt=ot.onCompositionStart,ht=ot.onCompositionEnd,Bt=ot.suffix,Et=ot.prefixCls,st=Et===void 0?"rc-textarea":Et,Ge=ot.classes,We=ot.showCount,se=ot.className,fe=ot.style,ze=ot.disabled,He=ot.hidden,pe=ot.classNames,Be=ot.styles,Ke=ot.onResize,Xe=(0,re.Z)(ot,je),Je=(0,te.Z)(Ye,{value:nt,defaultValue:Ye}),ut=(0,ve.Z)(Je,2),bt=ut[0],gt=ut[1],Dt=(0,ae.useRef)(null),Vt=ae.useState(!1),kt=(0,ve.Z)(Vt,2),jt=kt[0],_t=kt[1],Mt=ae.useState(!1),ft=(0,ve.Z)(Mt,2),St=ft[0],Nt=ft[1],Ft=ae.useRef(),Zt=ae.useRef(0),or=ae.useState(null),yr=(0,ve.Z)(or,2),Sr=yr[0],Fr=yr[1],Vr=function(){var wr;(wr=Dt.current)===null||wr===void 0||wr.textArea.focus()};(0,ae.useImperativeHandle)(lt,function(){return{resizableTextArea:Dt.current,focus:Vr,blur:function(){var wr;(wr=Dt.current)===null||wr===void 0||wr.textArea.blur()}}}),(0,ae.useEffect)(function(){_t(function(Tr){return!ze&&Tr})},[ze]);var Br=Number(it)>0,Ur=function(wr){Nt(!0),Ft.current=bt,Zt.current=wr.currentTarget.selectionStart,yt==null||yt(wr)},on=function(wr){Nt(!1);var Xr=wr.currentTarget.value;if(Br){var Kt,xt=Zt.current>=it+1||Zt.current===((Kt=Ft.current)===null||Kt===void 0?void 0:Kt.length);Xr=Pe(xt,Ft.current,Xr,it)}Xr!==bt&&(gt(Xr),(0,me.rJ)(wr.currentTarget,wr,et,Xr)),ht==null||ht(wr)},Yr=function(wr){var Xr=wr.target.value;if(!St&&Br){var Kt=wr.target.selectionStart>=it+1||wr.target.selectionStart===Xr.length||!wr.target.selectionStart;Xr=Pe(Kt,bt,Xr,it)}gt(Xr),(0,me.rJ)(wr.currentTarget,wr,et,Xr)},Fn=function(wr){var Xr=Xe.onPressEnter,Kt=Xe.onKeyDown;wr.key==="Enter"&&Xr&&Xr(wr),Kt==null||Kt(wr)},vn=function(wr){_t(!0),dt==null||dt(wr)},Tn=function(wr){_t(!1),at==null||at(wr)},qr=function(wr){var Xr;gt(""),Vr(),(0,me.rJ)((Xr=Dt.current)===null||Xr===void 0?void 0:Xr.textArea,wr,et)},Un=(0,me.D7)(bt);!St&&Br&&nt==null&&(Un=Ze(Un,it));var un=Bt,ar;if(We){var Nr=(0,ne.Z)(Un).length;(0,De.Z)(We)==="object"?ar=We.formatter({value:Un,count:Nr,maxLength:it}):ar="".concat(Nr).concat(Br?" / ".concat(it):""),un=ae.createElement(ae.Fragment,null,un,ae.createElement("span",{className:oe()("".concat(st,"-data-count"),pe==null?void 0:pe.count),style:Be==null?void 0:Be.count},ar))}var Mr=function(wr){var Xr;Ke==null||Ke(wr),(Xr=Dt.current)!==null&&Xr!==void 0&&Xr.textArea.style.height&&Fr(!0)},Or=!Xe.autoSize&&!We&&!qe,Pr=ae.createElement(le.BaseInput,{value:Un,allowClear:qe,handleReset:qr,suffix:un,prefixCls:st,classes:{affixWrapper:oe()(Ge==null?void 0:Ge.affixWrapper,(Ve={},(0,x.Z)(Ve,"".concat(st,"-show-count"),We),(0,x.Z)(Ve,"".concat(st,"-textarea-allow-clear"),qe),Ve))},disabled:ze,focused:jt,className:se,style:(0,vt.Z)((0,vt.Z)({},fe),Sr&&!Or?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof ar=="string"?ar:void 0}},hidden:He,inputElement:ae.createElement(Ne,(0,Re.Z)({},Xe,{onKeyDown:Fn,onChange:Yr,onFocus:vn,onBlur:Tn,onCompositionStart:Ur,onCompositionEnd:on,className:pe==null?void 0:pe.textarea,style:(0,vt.Z)((0,vt.Z)({},Be==null?void 0:Be.textarea),{},{resize:fe==null?void 0:fe.resize}),disabled:ze,prefixCls:st,onResize:Mr,ref:Dt}))});return Pr}),Qe=Ue,tt=Qe},39417:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return Me}});var Re=ke(60499),vt=ke(18642),x=ke(42244),De=ke(85899),ve=ke(38705),re=ke(17212),ne=ke(15793),ie=ke(39153),oe=ke(55401),le=ke(92310),me=ke.n(le),te=ke(26112),ae=ke(59301),ue=ke(39378),de=function(Ce){for(var Ne=Ce.prefixCls,je=Ce.level,Ze=Ce.isStart,Pe=Ce.isEnd,Ue="".concat(Ne,"-indent-unit"),Qe=[],tt=0;tt<je;tt+=1){var ot;Qe.push(ae.createElement("span",{key:tt,className:me()(Ue,(ot={},(0,vt.Z)(ot,"".concat(Ue,"-start"),Ze[tt]),(0,vt.Z)(ot,"".concat(Ue,"-end"),Pe[tt]),ot))}))}return ae.createElement("span",{"aria-hidden":"true",className:"".concat(Ne,"-indent")},Qe)},he=ae.memo(de),we=ke(67841),Se=ke(71430),xe=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ye="open",Ae="close",Le="---",Ee=function(Oe){(0,ie.Z)(Ne,Oe);var Ce=(0,oe.Z)(Ne);function Ne(){var je;(0,ve.Z)(this,Ne);for(var Ze=arguments.length,Pe=new Array(Ze),Ue=0;Ue<Ze;Ue++)Pe[Ue]=arguments[Ue];return je=Ce.call.apply(Ce,[this].concat(Pe)),je.state={dragNodeHighlight:!1},je.selectHandle=void 0,je.cacheIndent=void 0,je.onSelectorClick=function(Qe){var tt=je.props.context.onNodeClick;tt(Qe,(0,Se.F)(je.props)),je.isSelectable()?je.onSelect(Qe):je.onCheck(Qe)},je.onSelectorDoubleClick=function(Qe){var tt=je.props.context.onNodeDoubleClick;tt(Qe,(0,Se.F)(je.props))},je.onSelect=function(Qe){if(!je.isDisabled()){var tt=je.props.context.onNodeSelect;tt(Qe,(0,Se.F)(je.props))}},je.onCheck=function(Qe){if(!je.isDisabled()){var tt=je.props,ot=tt.disableCheckbox,lt=tt.checked,Ve=je.props.context.onNodeCheck;if(!(!je.isCheckable()||ot)){var Ye=!lt;Ve(Qe,(0,Se.F)(je.props),Ye)}}},je.onMouseEnter=function(Qe){var tt=je.props.context.onNodeMouseEnter;tt(Qe,(0,Se.F)(je.props))},je.onMouseLeave=function(Qe){var tt=je.props.context.onNodeMouseLeave;tt(Qe,(0,Se.F)(je.props))},je.onContextMenu=function(Qe){var tt=je.props.context.onNodeContextMenu;tt(Qe,(0,Se.F)(je.props))},je.onDragStart=function(Qe){var tt=je.props.context.onNodeDragStart;Qe.stopPropagation(),je.setState({dragNodeHighlight:!0}),tt(Qe,(0,ne.Z)(je));try{Qe.dataTransfer.setData("text/plain","")}catch(ot){}},je.onDragEnter=function(Qe){var tt=je.props.context.onNodeDragEnter;Qe.preventDefault(),Qe.stopPropagation(),tt(Qe,(0,ne.Z)(je))},je.onDragOver=function(Qe){var tt=je.props.context.onNodeDragOver;Qe.preventDefault(),Qe.stopPropagation(),tt(Qe,(0,ne.Z)(je))},je.onDragLeave=function(Qe){var tt=je.props.context.onNodeDragLeave;Qe.stopPropagation(),tt(Qe,(0,ne.Z)(je))},je.onDragEnd=function(Qe){var tt=je.props.context.onNodeDragEnd;Qe.stopPropagation(),je.setState({dragNodeHighlight:!1}),tt(Qe,(0,ne.Z)(je))},je.onDrop=function(Qe){var tt=je.props.context.onNodeDrop;Qe.preventDefault(),Qe.stopPropagation(),je.setState({dragNodeHighlight:!1}),tt(Qe,(0,ne.Z)(je))},je.onExpand=function(Qe){var tt=je.props,ot=tt.loading,lt=tt.context.onNodeExpand;ot||lt(Qe,(0,Se.F)(je.props))},je.setSelectHandle=function(Qe){je.selectHandle=Qe},je.getNodeState=function(){var Qe=je.props.expanded;return je.isLeaf()?null:Qe?ye:Ae},je.hasChildren=function(){var Qe=je.props.eventKey,tt=je.props.context.keyEntities,ot=(0,we.Z)(tt,Qe)||{},lt=ot.children;return!!(lt||[]).length},je.isLeaf=function(){var Qe=je.props,tt=Qe.isLeaf,ot=Qe.loaded,lt=je.props.context.loadData,Ve=je.hasChildren();return tt===!1?!1:tt||!lt&&!Ve||lt&&ot&&!Ve},je.isDisabled=function(){var Qe=je.props.disabled,tt=je.props.context.disabled;return!!(tt||Qe)},je.isCheckable=function(){var Qe=je.props.checkable,tt=je.props.context.checkable;return!tt||Qe===!1?!1:tt},je.syncLoadData=function(Qe){var tt=Qe.expanded,ot=Qe.loading,lt=Qe.loaded,Ve=je.props.context,Ye=Ve.loadData,nt=Ve.onNodeLoad;ot||Ye&&tt&&!je.isLeaf()&&!je.hasChildren()&&!lt&&nt((0,Se.F)(je.props))},je.isDraggable=function(){var Qe=je.props,tt=Qe.data,ot=Qe.context.draggable;return!!(ot&&(!ot.nodeDraggable||ot.nodeDraggable(tt)))},je.renderDragHandler=function(){var Qe=je.props.context,tt=Qe.draggable,ot=Qe.prefixCls;return tt!=null&&tt.icon?ae.createElement("span",{className:"".concat(ot,"-draggable-icon")},tt.icon):null},je.renderSwitcherIconDom=function(Qe){var tt=je.props.switcherIcon,ot=je.props.context.switcherIcon,lt=tt||ot;return typeof lt=="function"?lt((0,De.Z)((0,De.Z)({},je.props),{},{isLeaf:Qe})):lt},je.renderSwitcher=function(){var Qe=je.props.expanded,tt=je.props.context.prefixCls;if(je.isLeaf()){var ot=je.renderSwitcherIconDom(!0);return ot!==!1?ae.createElement("span",{className:me()("".concat(tt,"-switcher"),"".concat(tt,"-switcher-noop"))},ot):null}var lt=me()("".concat(tt,"-switcher"),"".concat(tt,"-switcher_").concat(Qe?ye:Ae)),Ve=je.renderSwitcherIconDom(!1);return Ve!==!1?ae.createElement("span",{onClick:je.onExpand,className:lt},Ve):null},je.renderCheckbox=function(){var Qe=je.props,tt=Qe.checked,ot=Qe.halfChecked,lt=Qe.disableCheckbox,Ve=je.props.context.prefixCls,Ye=je.isDisabled(),nt=je.isCheckable();if(!nt)return null;var dt=typeof nt!="boolean"?nt:null;return ae.createElement("span",{className:me()("".concat(Ve,"-checkbox"),tt&&"".concat(Ve,"-checkbox-checked"),!tt&&ot&&"".concat(Ve,"-checkbox-indeterminate"),(Ye||lt)&&"".concat(Ve,"-checkbox-disabled")),onClick:je.onCheck},dt)},je.renderIcon=function(){var Qe=je.props.loading,tt=je.props.context.prefixCls;return ae.createElement("span",{className:me()("".concat(tt,"-iconEle"),"".concat(tt,"-icon__").concat(je.getNodeState()||"docu"),Qe&&"".concat(tt,"-icon_loading"))})},je.renderSelector=function(){var Qe=je.state.dragNodeHighlight,tt=je.props,ot=tt.title,lt=ot===void 0?Le:ot,Ve=tt.selected,Ye=tt.icon,nt=tt.loading,dt=tt.data,at=je.props.context,et=at.prefixCls,qe=at.showIcon,it=at.icon,yt=at.loadData,ht=at.titleRender,Bt=je.isDisabled(),Et="".concat(et,"-node-content-wrapper"),st;if(qe){var Ge=Ye||it;st=Ge?ae.createElement("span",{className:me()("".concat(et,"-iconEle"),"".concat(et,"-icon__customize"))},typeof Ge=="function"?Ge(je.props):Ge):je.renderIcon()}else yt&&nt&&(st=je.renderIcon());var We;typeof lt=="function"?We=lt(dt):ht?We=ht(dt):We=lt;var se=ae.createElement("span",{className:"".concat(et,"-title")},We);return ae.createElement("span",{ref:je.setSelectHandle,title:typeof lt=="string"?lt:"",className:me()("".concat(Et),"".concat(Et,"-").concat(je.getNodeState()||"normal"),!Bt&&(Ve||Qe)&&"".concat(et,"-node-selected")),onMouseEnter:je.onMouseEnter,onMouseLeave:je.onMouseLeave,onContextMenu:je.onContextMenu,onClick:je.onSelectorClick,onDoubleClick:je.onSelectorDoubleClick},st,se,je.renderDropIndicator())},je.renderDropIndicator=function(){var Qe=je.props,tt=Qe.disabled,ot=Qe.eventKey,lt=je.props.context,Ve=lt.draggable,Ye=lt.dropLevelOffset,nt=lt.dropPosition,dt=lt.prefixCls,at=lt.indent,et=lt.dropIndicatorRender,qe=lt.dragOverNodeKey,it=lt.direction,yt=!!Ve,ht=!tt&&yt&&qe===ot,Bt=at!=null?at:je.cacheIndent;return je.cacheIndent=at,ht?et({dropPosition:nt,dropLevelOffset:Ye,indent:Bt,prefixCls:dt,direction:it}):null},je}return(0,re.Z)(Ne,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Ze=this.props.selectable,Pe=this.props.context.selectable;return typeof Ze=="boolean"?Ze:Pe}},{key:"render",value:function(){var Ze,Pe=this.props,Ue=Pe.eventKey,Qe=Pe.className,tt=Pe.style,ot=Pe.dragOver,lt=Pe.dragOverGapTop,Ve=Pe.dragOverGapBottom,Ye=Pe.isLeaf,nt=Pe.isStart,dt=Pe.isEnd,at=Pe.expanded,et=Pe.selected,qe=Pe.checked,it=Pe.halfChecked,yt=Pe.loading,ht=Pe.domRef,Bt=Pe.active,Et=Pe.data,st=Pe.onMouseMove,Ge=Pe.selectable,We=(0,x.Z)(Pe,xe),se=this.props.context,fe=se.prefixCls,ze=se.filterTreeNode,He=se.keyEntities,pe=se.dropContainerKey,Be=se.dropTargetKey,Ke=se.draggingNodeKey,Xe=this.isDisabled(),Je=(0,te.Z)(We,{aria:!0,data:!0}),ut=(0,we.Z)(He,Ue)||{},bt=ut.level,gt=dt[dt.length-1],Dt=this.isDraggable(),Vt=!Xe&&Dt,kt=Ke===Ue,jt=Ge!==void 0?{"aria-selected":!!Ge}:void 0;return ae.createElement("div",(0,Re.Z)({ref:ht,className:me()(Qe,"".concat(fe,"-treenode"),(Ze={},(0,vt.Z)(Ze,"".concat(fe,"-treenode-disabled"),Xe),(0,vt.Z)(Ze,"".concat(fe,"-treenode-switcher-").concat(at?"open":"close"),!Ye),(0,vt.Z)(Ze,"".concat(fe,"-treenode-checkbox-checked"),qe),(0,vt.Z)(Ze,"".concat(fe,"-treenode-checkbox-indeterminate"),it),(0,vt.Z)(Ze,"".concat(fe,"-treenode-selected"),et),(0,vt.Z)(Ze,"".concat(fe,"-treenode-loading"),yt),(0,vt.Z)(Ze,"".concat(fe,"-treenode-active"),Bt),(0,vt.Z)(Ze,"".concat(fe,"-treenode-leaf-last"),gt),(0,vt.Z)(Ze,"".concat(fe,"-treenode-draggable"),Dt),(0,vt.Z)(Ze,"dragging",kt),(0,vt.Z)(Ze,"drop-target",Be===Ue),(0,vt.Z)(Ze,"drop-container",pe===Ue),(0,vt.Z)(Ze,"drag-over",!Xe&&ot),(0,vt.Z)(Ze,"drag-over-gap-top",!Xe&&lt),(0,vt.Z)(Ze,"drag-over-gap-bottom",!Xe&&Ve),(0,vt.Z)(Ze,"filter-node",ze&&ze((0,Se.F)(this.props))),Ze)),style:tt,draggable:Vt,"aria-grabbed":kt,onDragStart:Vt?this.onDragStart:void 0,onDragEnter:Dt?this.onDragEnter:void 0,onDragOver:Dt?this.onDragOver:void 0,onDragLeave:Dt?this.onDragLeave:void 0,onDrop:Dt?this.onDrop:void 0,onDragEnd:Dt?this.onDragEnd:void 0,onMouseMove:st},jt,Je),ae.createElement(he,{prefixCls:fe,level:bt,isStart:nt,isEnd:dt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Ne}(ae.Component),_e=function(Ce){return ae.createElement(ue.k.Consumer,null,function(Ne){return ae.createElement(Ee,(0,Re.Z)({},Ce,{context:Ne}))})};_e.displayName="TreeNode",_e.isTreeNode=1;var Me=_e},39378:function(sr,Wt,ke){"use strict";ke.d(Wt,{k:function(){return vt}});var Re=ke(59301),vt=Re.createContext(null)},38028:function(sr,Wt,ke){"use strict";ke.d(Wt,{O:function(){return Me.Z},Z:function(){return se}});var Re=ke(60499),vt=ke(18642),x=ke(43749),De=ke(85899),ve=ke(77654),re=ke(38705),ne=ke(17212),ie=ke(15793),oe=ke(39153),le=ke(55401),me=ke(92310),te=ke.n(me),ae=ke(10228),ue=ke(26112),de=ke(48736),he=ke(59301),we=ke(39378);function Se(fe){var ze=fe.dropPosition,He=fe.dropLevelOffset,pe=fe.indent,Be={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(ze){case-1:Be.top=0,Be.left=-He*pe;break;case 1:Be.bottom=0,Be.left=-He*pe;break;case 0:Be.bottom=0,Be.left=pe;break}return he.createElement("div",{style:Be})}function xe(fe){if(fe==null)throw new TypeError("Cannot destructure "+fe)}var ye=ke(72190),Ae=ke(42244),Le=ke(34280),Ee=ke(48911),_e=ke(77900),Me=ke(39417);function Oe(fe,ze){var He=he.useState(!1),pe=(0,ye.Z)(He,2),Be=pe[0],Ke=pe[1];he.useLayoutEffect(function(){if(Be)return fe(),function(){ze()}},[Be]),he.useLayoutEffect(function(){return Ke(!0),function(){Ke(!1)}},[])}var Ce=ke(71430),Ne=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],je=function(ze,He){var pe=ze.className,Be=ze.style,Ke=ze.motion,Xe=ze.motionNodes,Je=ze.motionType,ut=ze.onMotionStart,bt=ze.onMotionEnd,gt=ze.active,Dt=ze.treeNodeRequiredProps,Vt=(0,Ae.Z)(ze,Ne),kt=he.useState(!0),jt=(0,ye.Z)(kt,2),_t=jt[0],Mt=jt[1],ft=he.useContext(we.k),St=ft.prefixCls,Nt=Xe&&Je!=="hide";(0,Le.Z)(function(){Xe&&Nt!==_t&&Mt(Nt)},[Xe]);var Ft=function(){Xe&&ut()},Zt=he.useRef(!1),or=function(){Xe&&!Zt.current&&(Zt.current=!0,bt())};Oe(Ft,or);var yr=function(Fr){Nt===Fr&&or()};return Xe?he.createElement(_e.default,(0,Re.Z)({ref:He,visible:_t},Ke,{motionAppear:Je==="show",onVisibleChanged:yr}),function(Sr,Fr){var Vr=Sr.className,Br=Sr.style;return he.createElement("div",{ref:Fr,className:te()("".concat(St,"-treenode-motion"),Vr),style:Br},Xe.map(function(Ur){var on=(0,Re.Z)({},(xe(Ur.data),Ur.data)),Yr=Ur.title,Fn=Ur.key,vn=Ur.isStart,Tn=Ur.isEnd;delete on.children;var qr=(0,Ce.H8)(Fn,Dt);return he.createElement(Me.Z,(0,Re.Z)({},on,qr,{title:Yr,active:gt,data:Ur.data,key:Fn,isStart:vn,isEnd:Tn}))}))}):he.createElement(Me.Z,(0,Re.Z)({domRef:He,className:pe,style:Be},Vt,{active:gt}))};je.displayName="MotionTreeNode";var Ze=he.forwardRef(je),Pe=Ze;function Ue(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],He=fe.length,pe=ze.length;if(Math.abs(He-pe)!==1)return{add:!1,key:null};function Be(Ke,Xe){var Je=new Map;Ke.forEach(function(bt){Je.set(bt,!0)});var ut=Xe.filter(function(bt){return!Je.has(bt)});return ut.length===1?ut[0]:null}return He<pe?{add:!0,key:Be(fe,ze)}:{add:!1,key:Be(ze,fe)}}function Qe(fe,ze,He){var pe=fe.findIndex(function(Je){return Je.key===He}),Be=fe[pe+1],Ke=ze.findIndex(function(Je){return Je.key===He});if(Be){var Xe=ze.findIndex(function(Je){return Je.key===Be.key});return ze.slice(Ke+1,Xe)}return ze.slice(Ke+1)}var tt=["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"],ot={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},lt=function(){},Ve="RC_TREE_MOTION_".concat(Math.random()),Ye={key:Ve},nt={key:Ve,level:0,index:0,pos:"0",node:Ye,nodes:[Ye]},dt={parent:null,children:[],pos:nt.pos,data:Ye,title:null,key:Ve,isStart:[],isEnd:[]};function at(fe,ze,He,pe){return ze===!1||!He?fe:fe.slice(0,Math.ceil(He/pe)+1)}function et(fe){var ze=fe.key,He=fe.pos;return(0,Ce.km)(ze,He)}function qe(fe){for(var ze=String(fe.data.key),He=fe;He.parent;)He=He.parent,ze="".concat(He.data.key," > ").concat(ze);return ze}var it=he.forwardRef(function(fe,ze){var He=fe.prefixCls,pe=fe.data,Be=fe.selectable,Ke=fe.checkable,Xe=fe.expandedKeys,Je=fe.selectedKeys,ut=fe.checkedKeys,bt=fe.loadedKeys,gt=fe.loadingKeys,Dt=fe.halfCheckedKeys,Vt=fe.keyEntities,kt=fe.disabled,jt=fe.dragging,_t=fe.dragOverNodeKey,Mt=fe.dropPosition,ft=fe.motion,St=fe.height,Nt=fe.itemHeight,Ft=fe.virtual,Zt=fe.focusable,or=fe.activeItem,yr=fe.focused,Sr=fe.tabIndex,Fr=fe.onKeyDown,Vr=fe.onFocus,Br=fe.onBlur,Ur=fe.onActiveChange,on=fe.onListChangeStart,Yr=fe.onListChangeEnd,Fn=(0,Ae.Z)(fe,tt),vn=he.useRef(null),Tn=he.useRef(null);he.useImperativeHandle(ze,function(){return{scrollTo:function(vr){vn.current.scrollTo(vr)},getIndentWidth:function(){return Tn.current.offsetWidth}}});var qr=he.useState(Xe),Un=(0,ye.Z)(qr,2),un=Un[0],ar=Un[1],Nr=he.useState(pe),Mr=(0,ye.Z)(Nr,2),Or=Mr[0],Pr=Mr[1],Tr=he.useState(pe),wr=(0,ye.Z)(Tr,2),Xr=wr[0],Kt=wr[1],xt=he.useState([]),It=(0,ye.Z)(xt,2),Tt=It[0],At=It[1],zt=he.useState(null),Ut=(0,ye.Z)(zt,2),ir=Ut[0],er=Ut[1],hr=he.useRef(pe);hr.current=pe;function Cr(){var qt=hr.current;Pr(qt),Kt(qt),At([]),er(null),Yr()}(0,Le.Z)(function(){ar(Xe);var qt=Ue(un,Xe);if(qt.key!==null)if(qt.add){var vr=Or.findIndex(function(Qt){var xr=Qt.key;return xr===qt.key}),Ht=at(Qe(Or,pe,qt.key),Ft,St,Nt),Yt=Or.slice();Yt.splice(vr+1,0,dt),Kt(Yt),At(Ht),er("show")}else{var Xt=pe.findIndex(function(Qt){var xr=Qt.key;return xr===qt.key}),rr=at(Qe(pe,Or,qt.key),Ft,St,Nt),gr=pe.slice();gr.splice(Xt+1,0,dt),Kt(gr),At(rr),er("hide")}else Or!==pe&&(Pr(pe),Kt(pe))},[Xe,pe]),he.useEffect(function(){jt||Cr()},[jt]);var Dr=ft?Xr:pe,Ir={expandedKeys:Xe,selectedKeys:Je,loadedKeys:bt,loadingKeys:gt,checkedKeys:ut,halfCheckedKeys:Dt,dragOverNodeKey:_t,dropPosition:Mt,keyEntities:Vt};return he.createElement(he.Fragment,null,yr&&or&&he.createElement("span",{style:ot,"aria-live":"assertive"},qe(or)),he.createElement("div",null,he.createElement("input",{style:ot,disabled:Zt===!1||kt,tabIndex:Zt!==!1?Sr:null,onKeyDown:Fr,onFocus:Vr,onBlur:Br,value:"",onChange:lt,"aria-label":"for screen reader"})),he.createElement("div",{className:"".concat(He,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},he.createElement("div",{className:"".concat(He,"-indent")},he.createElement("div",{ref:Tn,className:"".concat(He,"-indent-unit")}))),he.createElement(Ee.Z,(0,Re.Z)({},Fn,{data:Dr,itemKey:et,height:St,fullHeight:!1,virtual:Ft,itemHeight:Nt,prefixCls:"".concat(He,"-list"),ref:vn,onVisibleChange:function(vr,Ht){var Yt=new Set(vr),Xt=Ht.filter(function(rr){return!Yt.has(rr)});Xt.some(function(rr){return et(rr)===Ve})&&Cr()}}),function(qt){var vr=qt.pos,Ht=(0,Re.Z)({},(xe(qt.data),qt.data)),Yt=qt.title,Xt=qt.key,rr=qt.isStart,gr=qt.isEnd,Qt=(0,Ce.km)(Xt,vr);delete Ht.key,delete Ht.children;var xr=(0,Ce.H8)(Qt,Ir);return he.createElement(Pe,(0,Re.Z)({},Ht,xr,{title:Yt,active:!!or&&Xt===or.key,pos:vr,data:qt.data,isStart:rr,isEnd:gr,motion:ft,motionNodes:Xt===Ve?Tt:null,motionType:ir,onMotionStart:on,onMotionEnd:Cr,treeNodeRequiredProps:Ir,onMouseMove:function(){Ur(null)}}))}))});it.displayName="NodeList";var yt=it,ht=ke(35654),Bt=ke(90782),Et=ke(67841),st=10,Ge=function(fe){(0,oe.Z)(He,fe);var ze=(0,le.Z)(He);function He(){var pe;(0,re.Z)(this,He);for(var Be=arguments.length,Ke=new Array(Be),Xe=0;Xe<Be;Xe++)Ke[Xe]=arguments[Xe];return pe=ze.call.apply(ze,[this].concat(Ke)),pe.destroyed=!1,pe.delayedDragEnterLogic=void 0,pe.loadingRetryTimes={},pe.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Ce.w$)()},pe.dragStartMousePosition=null,pe.dragNode=void 0,pe.currentMouseOverDroppableNodeKey=null,pe.listRef=he.createRef(),pe.onNodeDragStart=function(Je,ut){var bt=pe.state,gt=bt.expandedKeys,Dt=bt.keyEntities,Vt=pe.props.onDragStart,kt=ut.props.eventKey;pe.dragNode=ut,pe.dragStartMousePosition={x:Je.clientX,y:Je.clientY};var jt=(0,ht._5)(gt,kt);pe.setState({draggingNodeKey:kt,dragChildrenKeys:(0,ht.wA)(kt,Dt),indent:pe.listRef.current.getIndentWidth()}),pe.setExpandedKeys(jt),window.addEventListener("dragend",pe.onWindowDragEnd),Vt==null||Vt({event:Je,node:(0,Ce.F)(ut.props)})},pe.onNodeDragEnter=function(Je,ut){var bt=pe.state,gt=bt.expandedKeys,Dt=bt.keyEntities,Vt=bt.dragChildrenKeys,kt=bt.flattenNodes,jt=bt.indent,_t=pe.props,Mt=_t.onDragEnter,ft=_t.onExpand,St=_t.allowDrop,Nt=_t.direction,Ft=ut.props,Zt=Ft.pos,or=Ft.eventKey,yr=(0,ie.Z)(pe),Sr=yr.dragNode;if(pe.currentMouseOverDroppableNodeKey!==or&&(pe.currentMouseOverDroppableNodeKey=or),!Sr){pe.resetDragState();return}var Fr=(0,ht.OM)(Je,Sr,ut,jt,pe.dragStartMousePosition,St,kt,Dt,gt,Nt),Vr=Fr.dropPosition,Br=Fr.dropLevelOffset,Ur=Fr.dropTargetKey,on=Fr.dropContainerKey,Yr=Fr.dropTargetPos,Fn=Fr.dropAllowed,vn=Fr.dragOverNodeKey;if(Vt.indexOf(Ur)!==-1||!Fn){pe.resetDragState();return}if(pe.delayedDragEnterLogic||(pe.delayedDragEnterLogic={}),Object.keys(pe.delayedDragEnterLogic).forEach(function(Tn){clearTimeout(pe.delayedDragEnterLogic[Tn])}),Sr.props.eventKey!==ut.props.eventKey&&(Je.persist(),pe.delayedDragEnterLogic[Zt]=window.setTimeout(function(){if(pe.state.draggingNodeKey!==null){var Tn=(0,ve.Z)(gt),qr=(0,Et.Z)(Dt,ut.props.eventKey);qr&&(qr.children||[]).length&&(Tn=(0,ht.L0)(gt,ut.props.eventKey)),"expandedKeys"in pe.props||pe.setExpandedKeys(Tn),ft==null||ft(Tn,{node:(0,Ce.F)(ut.props),expanded:!0,nativeEvent:Je.nativeEvent})}},800)),Sr.props.eventKey===Ur&&Br===0){pe.resetDragState();return}pe.setState({dragOverNodeKey:vn,dropPosition:Vr,dropLevelOffset:Br,dropTargetKey:Ur,dropContainerKey:on,dropTargetPos:Yr,dropAllowed:Fn}),Mt==null||Mt({event:Je,node:(0,Ce.F)(ut.props),expandedKeys:gt})},pe.onNodeDragOver=function(Je,ut){var bt=pe.state,gt=bt.dragChildrenKeys,Dt=bt.flattenNodes,Vt=bt.keyEntities,kt=bt.expandedKeys,jt=bt.indent,_t=pe.props,Mt=_t.onDragOver,ft=_t.allowDrop,St=_t.direction,Nt=(0,ie.Z)(pe),Ft=Nt.dragNode;if(Ft){var Zt=(0,ht.OM)(Je,Ft,ut,jt,pe.dragStartMousePosition,ft,Dt,Vt,kt,St),or=Zt.dropPosition,yr=Zt.dropLevelOffset,Sr=Zt.dropTargetKey,Fr=Zt.dropContainerKey,Vr=Zt.dropAllowed,Br=Zt.dropTargetPos,Ur=Zt.dragOverNodeKey;gt.indexOf(Sr)!==-1||!Vr||(Ft.props.eventKey===Sr&&yr===0?pe.state.dropPosition===null&&pe.state.dropLevelOffset===null&&pe.state.dropTargetKey===null&&pe.state.dropContainerKey===null&&pe.state.dropTargetPos===null&&pe.state.dropAllowed===!1&&pe.state.dragOverNodeKey===null||pe.resetDragState():or===pe.state.dropPosition&&yr===pe.state.dropLevelOffset&&Sr===pe.state.dropTargetKey&&Fr===pe.state.dropContainerKey&&Br===pe.state.dropTargetPos&&Vr===pe.state.dropAllowed&&Ur===pe.state.dragOverNodeKey||pe.setState({dropPosition:or,dropLevelOffset:yr,dropTargetKey:Sr,dropContainerKey:Fr,dropTargetPos:Br,dropAllowed:Vr,dragOverNodeKey:Ur}),Mt==null||Mt({event:Je,node:(0,Ce.F)(ut.props)}))}},pe.onNodeDragLeave=function(Je,ut){pe.currentMouseOverDroppableNodeKey===ut.props.eventKey&&!Je.currentTarget.contains(Je.relatedTarget)&&(pe.resetDragState(),pe.currentMouseOverDroppableNodeKey=null);var bt=pe.props.onDragLeave;bt==null||bt({event:Je,node:(0,Ce.F)(ut.props)})},pe.onWindowDragEnd=function(Je){pe.onNodeDragEnd(Je,null,!0),window.removeEventListener("dragend",pe.onWindowDragEnd)},pe.onNodeDragEnd=function(Je,ut){var bt=pe.props.onDragEnd;pe.setState({dragOverNodeKey:null}),pe.cleanDragState(),bt==null||bt({event:Je,node:(0,Ce.F)(ut.props)}),pe.dragNode=null,window.removeEventListener("dragend",pe.onWindowDragEnd)},pe.onNodeDrop=function(Je,ut){var bt,gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Dt=pe.state,Vt=Dt.dragChildrenKeys,kt=Dt.dropPosition,jt=Dt.dropTargetKey,_t=Dt.dropTargetPos,Mt=Dt.dropAllowed;if(Mt){var ft=pe.props.onDrop;if(pe.setState({dragOverNodeKey:null}),pe.cleanDragState(),jt!==null){var St=(0,De.Z)((0,De.Z)({},(0,Ce.H8)(jt,pe.getTreeNodeRequiredProps())),{},{active:((bt=pe.getActiveItem())===null||bt===void 0?void 0:bt.key)===jt,data:(0,Et.Z)(pe.state.keyEntities,jt).node}),Nt=Vt.indexOf(jt)!==-1;(0,de.ZP)(!Nt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Ft=(0,ht.yx)(_t),Zt={event:Je,node:(0,Ce.F)(St),dragNode:pe.dragNode?(0,Ce.F)(pe.dragNode.props):null,dragNodesKeys:[pe.dragNode.props.eventKey].concat(Vt),dropToGap:kt!==0,dropPosition:kt+Number(Ft[Ft.length-1])};gt||ft==null||ft(Zt),pe.dragNode=null}}},pe.cleanDragState=function(){var Je=pe.state.draggingNodeKey;Je!==null&&pe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),pe.dragStartMousePosition=null,pe.currentMouseOverDroppableNodeKey=null},pe.triggerExpandActionExpand=function(Je,ut){var bt=pe.state,gt=bt.expandedKeys,Dt=bt.flattenNodes,Vt=ut.expanded,kt=ut.key,jt=ut.isLeaf;if(!(jt||Je.shiftKey||Je.metaKey||Je.ctrlKey)){var _t=Dt.filter(function(ft){return ft.key===kt})[0],Mt=(0,Ce.F)((0,De.Z)((0,De.Z)({},(0,Ce.H8)(kt,pe.getTreeNodeRequiredProps())),{},{data:_t.data}));pe.setExpandedKeys(Vt?(0,ht._5)(gt,kt):(0,ht.L0)(gt,kt)),pe.onNodeExpand(Je,Mt)}},pe.onNodeClick=function(Je,ut){var bt=pe.props,gt=bt.onClick,Dt=bt.expandAction;Dt==="click"&&pe.triggerExpandActionExpand(Je,ut),gt==null||gt(Je,ut)},pe.onNodeDoubleClick=function(Je,ut){var bt=pe.props,gt=bt.onDoubleClick,Dt=bt.expandAction;Dt==="doubleClick"&&pe.triggerExpandActionExpand(Je,ut),gt==null||gt(Je,ut)},pe.onNodeSelect=function(Je,ut){var bt=pe.state.selectedKeys,gt=pe.state,Dt=gt.keyEntities,Vt=gt.fieldNames,kt=pe.props,jt=kt.onSelect,_t=kt.multiple,Mt=ut.selected,ft=ut[Vt.key],St=!Mt;St?_t?bt=(0,ht.L0)(bt,ft):bt=[ft]:bt=(0,ht._5)(bt,ft);var Nt=bt.map(function(Ft){var Zt=(0,Et.Z)(Dt,Ft);return Zt?Zt.node:null}).filter(function(Ft){return Ft});pe.setUncontrolledState({selectedKeys:bt}),jt==null||jt(bt,{event:"select",selected:St,node:ut,selectedNodes:Nt,nativeEvent:Je.nativeEvent})},pe.onNodeCheck=function(Je,ut,bt){var gt=pe.state,Dt=gt.keyEntities,Vt=gt.checkedKeys,kt=gt.halfCheckedKeys,jt=pe.props,_t=jt.checkStrictly,Mt=jt.onCheck,ft=ut.key,St,Nt={event:"check",node:ut,checked:bt,nativeEvent:Je.nativeEvent};if(_t){var Ft=bt?(0,ht.L0)(Vt,ft):(0,ht._5)(Vt,ft),Zt=(0,ht._5)(kt,ft);St={checked:Ft,halfChecked:Zt},Nt.checkedNodes=Ft.map(function(Br){return(0,Et.Z)(Dt,Br)}).filter(function(Br){return Br}).map(function(Br){return Br.node}),pe.setUncontrolledState({checkedKeys:Ft})}else{var or=(0,Bt.S)([].concat((0,ve.Z)(Vt),[ft]),!0,Dt),yr=or.checkedKeys,Sr=or.halfCheckedKeys;if(!bt){var Fr=new Set(yr);Fr.delete(ft);var Vr=(0,Bt.S)(Array.from(Fr),{checked:!1,halfCheckedKeys:Sr},Dt);yr=Vr.checkedKeys,Sr=Vr.halfCheckedKeys}St=yr,Nt.checkedNodes=[],Nt.checkedNodesPositions=[],Nt.halfCheckedKeys=Sr,yr.forEach(function(Br){var Ur=(0,Et.Z)(Dt,Br);if(Ur){var on=Ur.node,Yr=Ur.pos;Nt.checkedNodes.push(on),Nt.checkedNodesPositions.push({node:on,pos:Yr})}}),pe.setUncontrolledState({checkedKeys:yr},!1,{halfCheckedKeys:Sr})}Mt==null||Mt(St,Nt)},pe.onNodeLoad=function(Je){var ut=Je.key,bt=new Promise(function(gt,Dt){pe.setState(function(Vt){var kt=Vt.loadedKeys,jt=kt===void 0?[]:kt,_t=Vt.loadingKeys,Mt=_t===void 0?[]:_t,ft=pe.props,St=ft.loadData,Nt=ft.onLoad;if(!St||jt.indexOf(ut)!==-1||Mt.indexOf(ut)!==-1)return null;var Ft=St(Je);return Ft.then(function(){var Zt=pe.state.loadedKeys,or=(0,ht.L0)(Zt,ut);Nt==null||Nt(or,{event:"load",node:Je}),pe.setUncontrolledState({loadedKeys:or}),pe.setState(function(yr){return{loadingKeys:(0,ht._5)(yr.loadingKeys,ut)}}),gt()}).catch(function(Zt){if(pe.setState(function(yr){return{loadingKeys:(0,ht._5)(yr.loadingKeys,ut)}}),pe.loadingRetryTimes[ut]=(pe.loadingRetryTimes[ut]||0)+1,pe.loadingRetryTimes[ut]>=st){var or=pe.state.loadedKeys;(0,de.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),pe.setUncontrolledState({loadedKeys:(0,ht.L0)(or,ut)}),gt()}Dt(Zt)}),{loadingKeys:(0,ht.L0)(Mt,ut)}})});return bt.catch(function(){}),bt},pe.onNodeMouseEnter=function(Je,ut){var bt=pe.props.onMouseEnter;bt==null||bt({event:Je,node:ut})},pe.onNodeMouseLeave=function(Je,ut){var bt=pe.props.onMouseLeave;bt==null||bt({event:Je,node:ut})},pe.onNodeContextMenu=function(Je,ut){var bt=pe.props.onRightClick;bt&&(Je.preventDefault(),bt({event:Je,node:ut}))},pe.onFocus=function(){var Je=pe.props.onFocus;pe.setState({focused:!0});for(var ut=arguments.length,bt=new Array(ut),gt=0;gt<ut;gt++)bt[gt]=arguments[gt];Je==null||Je.apply(void 0,bt)},pe.onBlur=function(){var Je=pe.props.onBlur;pe.setState({focused:!1}),pe.onActiveChange(null);for(var ut=arguments.length,bt=new Array(ut),gt=0;gt<ut;gt++)bt[gt]=arguments[gt];Je==null||Je.apply(void 0,bt)},pe.getTreeNodeRequiredProps=function(){var Je=pe.state,ut=Je.expandedKeys,bt=Je.selectedKeys,gt=Je.loadedKeys,Dt=Je.loadingKeys,Vt=Je.checkedKeys,kt=Je.halfCheckedKeys,jt=Je.dragOverNodeKey,_t=Je.dropPosition,Mt=Je.keyEntities;return{expandedKeys:ut||[],selectedKeys:bt||[],loadedKeys:gt||[],loadingKeys:Dt||[],checkedKeys:Vt||[],halfCheckedKeys:kt||[],dragOverNodeKey:jt,dropPosition:_t,keyEntities:Mt}},pe.setExpandedKeys=function(Je){var ut=pe.state,bt=ut.treeData,gt=ut.fieldNames,Dt=(0,Ce.oH)(bt,Je,gt);pe.setUncontrolledState({expandedKeys:Je,flattenNodes:Dt},!0)},pe.onNodeExpand=function(Je,ut){var bt=pe.state.expandedKeys,gt=pe.state,Dt=gt.listChanging,Vt=gt.fieldNames,kt=pe.props,jt=kt.onExpand,_t=kt.loadData,Mt=ut.expanded,ft=ut[Vt.key];if(!Dt){var St=bt.indexOf(ft),Nt=!Mt;if((0,de.ZP)(Mt&&St!==-1||!Mt&&St===-1,"Expand state not sync with index check"),Nt?bt=(0,ht.L0)(bt,ft):bt=(0,ht._5)(bt,ft),pe.setExpandedKeys(bt),jt==null||jt(bt,{node:ut,expanded:Nt,nativeEvent:Je.nativeEvent}),Nt&&_t){var Ft=pe.onNodeLoad(ut);Ft&&Ft.then(function(){var Zt=(0,Ce.oH)(pe.state.treeData,bt,Vt);pe.setUncontrolledState({flattenNodes:Zt})}).catch(function(){var Zt=pe.state.expandedKeys,or=(0,ht._5)(Zt,ft);pe.setExpandedKeys(or)})}}},pe.onListChangeStart=function(){pe.setUncontrolledState({listChanging:!0})},pe.onListChangeEnd=function(){setTimeout(function(){pe.setUncontrolledState({listChanging:!1})})},pe.onActiveChange=function(Je){var ut=pe.state.activeKey,bt=pe.props.onActiveChange;ut!==Je&&(pe.setState({activeKey:Je}),Je!==null&&pe.scrollTo({key:Je}),bt==null||bt(Je))},pe.getActiveItem=function(){var Je=pe.state,ut=Je.activeKey,bt=Je.flattenNodes;return ut===null?null:bt.find(function(gt){var Dt=gt.key;return Dt===ut})||null},pe.offsetActiveKey=function(Je){var ut=pe.state,bt=ut.flattenNodes,gt=ut.activeKey,Dt=bt.findIndex(function(jt){var _t=jt.key;return _t===gt});Dt===-1&&Je<0&&(Dt=bt.length),Dt=(Dt+Je+bt.length)%bt.length;var Vt=bt[Dt];if(Vt){var kt=Vt.key;pe.onActiveChange(kt)}else pe.onActiveChange(null)},pe.onKeyDown=function(Je){var ut=pe.state,bt=ut.activeKey,gt=ut.expandedKeys,Dt=ut.checkedKeys,Vt=ut.fieldNames,kt=pe.props,jt=kt.onKeyDown,_t=kt.checkable,Mt=kt.selectable;switch(Je.which){case ae.Z.UP:{pe.offsetActiveKey(-1),Je.preventDefault();break}case ae.Z.DOWN:{pe.offsetActiveKey(1),Je.preventDefault();break}}var ft=pe.getActiveItem();if(ft&&ft.data){var St=pe.getTreeNodeRequiredProps(),Nt=ft.data.isLeaf===!1||!!(ft.data[Vt.children]||[]).length,Ft=(0,Ce.F)((0,De.Z)((0,De.Z)({},(0,Ce.H8)(bt,St)),{},{data:ft.data,active:!0}));switch(Je.which){case ae.Z.LEFT:{Nt&&gt.includes(bt)?pe.onNodeExpand({},Ft):ft.parent&&pe.onActiveChange(ft.parent.key),Je.preventDefault();break}case ae.Z.RIGHT:{Nt&&!gt.includes(bt)?pe.onNodeExpand({},Ft):ft.children&&ft.children.length&&pe.onActiveChange(ft.children[0].key),Je.preventDefault();break}case ae.Z.ENTER:case ae.Z.SPACE:{_t&&!Ft.disabled&&Ft.checkable!==!1&&!Ft.disableCheckbox?pe.onNodeCheck({},Ft,!Dt.includes(bt)):!_t&&Mt&&!Ft.disabled&&Ft.selectable!==!1&&pe.onNodeSelect({},Ft);break}}}jt==null||jt(Je)},pe.setUncontrolledState=function(Je){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!pe.destroyed){var gt=!1,Dt=!0,Vt={};Object.keys(Je).forEach(function(kt){if(kt in pe.props){Dt=!1;return}gt=!0,Vt[kt]=Je[kt]}),gt&&(!ut||Dt)&&pe.setState((0,De.Z)((0,De.Z)({},Vt),bt))}},pe.scrollTo=function(Je){pe.listRef.current.scrollTo(Je)},pe}return(0,ne.Z)(He,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Be=this.props.activeKey;Be!==void 0&&Be!==this.state.activeKey&&(this.setState({activeKey:Be}),Be!==null&&this.scrollTo({key:Be}))}},{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 Be,Ke=this.state,Xe=Ke.focused,Je=Ke.flattenNodes,ut=Ke.keyEntities,bt=Ke.draggingNodeKey,gt=Ke.activeKey,Dt=Ke.dropLevelOffset,Vt=Ke.dropContainerKey,kt=Ke.dropTargetKey,jt=Ke.dropPosition,_t=Ke.dragOverNodeKey,Mt=Ke.indent,ft=this.props,St=ft.prefixCls,Nt=ft.className,Ft=ft.style,Zt=ft.showLine,or=ft.focusable,yr=ft.tabIndex,Sr=yr===void 0?0:yr,Fr=ft.selectable,Vr=ft.showIcon,Br=ft.icon,Ur=ft.switcherIcon,on=ft.draggable,Yr=ft.checkable,Fn=ft.checkStrictly,vn=ft.disabled,Tn=ft.motion,qr=ft.loadData,Un=ft.filterTreeNode,un=ft.height,ar=ft.itemHeight,Nr=ft.virtual,Mr=ft.titleRender,Or=ft.dropIndicatorRender,Pr=ft.onContextMenu,Tr=ft.onScroll,wr=ft.direction,Xr=ft.rootClassName,Kt=ft.rootStyle,xt=(0,ue.Z)(this.props,{aria:!0,data:!0}),It;return on&&((0,x.Z)(on)==="object"?It=on:typeof on=="function"?It={nodeDraggable:on}:It={}),he.createElement(we.k.Provider,{value:{prefixCls:St,selectable:Fr,showIcon:Vr,icon:Br,switcherIcon:Ur,draggable:It,draggingNodeKey:bt,checkable:Yr,checkStrictly:Fn,disabled:vn,keyEntities:ut,dropLevelOffset:Dt,dropContainerKey:Vt,dropTargetKey:kt,dropPosition:jt,dragOverNodeKey:_t,indent:Mt,direction:wr,dropIndicatorRender:Or,loadData:qr,filterTreeNode:Un,titleRender:Mr,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}},he.createElement("div",{role:"tree",className:te()(St,Nt,Xr,(Be={},(0,vt.Z)(Be,"".concat(St,"-show-line"),Zt),(0,vt.Z)(Be,"".concat(St,"-focused"),Xe),(0,vt.Z)(Be,"".concat(St,"-active-focused"),gt!==null),Be)),style:Kt},he.createElement(yt,(0,Re.Z)({ref:this.listRef,prefixCls:St,style:Ft,data:Je,disabled:vn,selectable:Fr,checkable:!!Yr,motion:Tn,dragging:bt!==null,height:un,itemHeight:ar,virtual:Nr,focusable:or,focused:Xe,tabIndex:Sr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Pr,onScroll:Tr},this.getTreeNodeRequiredProps(),xt))))}}],[{key:"getDerivedStateFromProps",value:function(Be,Ke){var Xe=Ke.prevProps,Je={prevProps:Be};function ut(or){return!Xe&&or in Be||Xe&&Xe[or]!==Be[or]}var bt,gt=Ke.fieldNames;if(ut("fieldNames")&&(gt=(0,Ce.w$)(Be.fieldNames),Je.fieldNames=gt),ut("treeData")?bt=Be.treeData:ut("children")&&((0,de.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),bt=(0,Ce.zn)(Be.children)),bt){Je.treeData=bt;var Dt=(0,Ce.I8)(bt,{fieldNames:gt});Je.keyEntities=(0,De.Z)((0,vt.Z)({},Ve,nt),Dt.keyEntities)}var Vt=Je.keyEntities||Ke.keyEntities;if(ut("expandedKeys")||Xe&&ut("autoExpandParent"))Je.expandedKeys=Be.autoExpandParent||!Xe&&Be.defaultExpandParent?(0,ht.r7)(Be.expandedKeys,Vt):Be.expandedKeys;else if(!Xe&&Be.defaultExpandAll){var kt=(0,De.Z)({},Vt);delete kt[Ve],Je.expandedKeys=Object.keys(kt).map(function(or){return kt[or].key})}else!Xe&&Be.defaultExpandedKeys&&(Je.expandedKeys=Be.autoExpandParent||Be.defaultExpandParent?(0,ht.r7)(Be.defaultExpandedKeys,Vt):Be.defaultExpandedKeys);if(Je.expandedKeys||delete Je.expandedKeys,bt||Je.expandedKeys){var jt=(0,Ce.oH)(bt||Ke.treeData,Je.expandedKeys||Ke.expandedKeys,gt);Je.flattenNodes=jt}if(Be.selectable&&(ut("selectedKeys")?Je.selectedKeys=(0,ht.BT)(Be.selectedKeys,Be):!Xe&&Be.defaultSelectedKeys&&(Je.selectedKeys=(0,ht.BT)(Be.defaultSelectedKeys,Be))),Be.checkable){var _t;if(ut("checkedKeys")?_t=(0,ht.E6)(Be.checkedKeys)||{}:!Xe&&Be.defaultCheckedKeys?_t=(0,ht.E6)(Be.defaultCheckedKeys)||{}:bt&&(_t=(0,ht.E6)(Be.checkedKeys)||{checkedKeys:Ke.checkedKeys,halfCheckedKeys:Ke.halfCheckedKeys}),_t){var Mt=_t,ft=Mt.checkedKeys,St=ft===void 0?[]:ft,Nt=Mt.halfCheckedKeys,Ft=Nt===void 0?[]:Nt;if(!Be.checkStrictly){var Zt=(0,Bt.S)(St,!0,Vt);St=Zt.checkedKeys,Ft=Zt.halfCheckedKeys}Je.checkedKeys=St,Je.halfCheckedKeys=Ft}}return ut("loadedKeys")&&(Je.loadedKeys=Be.loadedKeys),Je}}]),He}(he.Component);Ge.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:Se,allowDrop:function(){return!0},expandAction:!1},Ge.TreeNode=Me.Z;var We=Ge,se=We},35654:function(sr,Wt,ke){"use strict";ke.d(Wt,{BT:function(){return he},E6:function(){return xe},L0:function(){return le},OM:function(){return de},_5:function(){return oe},r7:function(){return ye},wA:function(){return te},yx:function(){return me}});var Re=ke(77654),vt=ke(43749),x=ke(48736),De=ke(59301),ve=ke(39417),re=ke(67841),ne=ke(71430),ie=null;function oe(Ae,Le){if(!Ae)return[];var Ee=Ae.slice(),_e=Ee.indexOf(Le);return _e>=0&&Ee.splice(_e,1),Ee}function le(Ae,Le){var Ee=(Ae||[]).slice();return Ee.indexOf(Le)===-1&&Ee.push(Le),Ee}function me(Ae){return Ae.split("-")}function te(Ae,Le){var Ee=[],_e=(0,re.Z)(Le,Ae);function Me(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Oe.forEach(function(Ce){var Ne=Ce.key,je=Ce.children;Ee.push(Ne),Me(je)})}return Me(_e.children),Ee}function ae(Ae){if(Ae.parent){var Le=me(Ae.pos);return Number(Le[Le.length-1])===Ae.parent.children.length-1}return!1}function ue(Ae){var Le=me(Ae.pos);return Number(Le[Le.length-1])===0}function de(Ae,Le,Ee,_e,Me,Oe,Ce,Ne,je,Ze){var Pe,Ue=Ae.clientX,Qe=Ae.clientY,tt=Ae.target.getBoundingClientRect(),ot=tt.top,lt=tt.height,Ve=(Ze==="rtl"?-1:1)*(((Me==null?void 0:Me.x)||0)-Ue),Ye=(Ve-12)/_e,nt=(0,re.Z)(Ne,Ee.props.eventKey);if(Qe<ot+lt/2){var dt=Ce.findIndex(function(se){return se.key===nt.key}),at=dt<=0?0:dt-1,et=Ce[at].key;nt=(0,re.Z)(Ne,et)}var qe=nt.key,it=nt,yt=nt.key,ht=0,Bt=0;if(!je.includes(qe))for(var Et=0;Et<Ye&&ae(nt);Et+=1)nt=nt.parent,Bt+=1;var st=Le.props.data,Ge=nt.node,We=!0;return ue(nt)&&nt.level===0&&Qe<ot+lt/2&&Oe({dragNode:st,dropNode:Ge,dropPosition:-1})&&nt.key===Ee.props.eventKey?ht=-1:(it.children||[]).length&&je.includes(yt)?Oe({dragNode:st,dropNode:Ge,dropPosition:0})?ht=0:We=!1:Bt===0?Ye>-1.5?Oe({dragNode:st,dropNode:Ge,dropPosition:1})?ht=1:We=!1:Oe({dragNode:st,dropNode:Ge,dropPosition:0})?ht=0:Oe({dragNode:st,dropNode:Ge,dropPosition:1})?ht=1:We=!1:Oe({dragNode:st,dropNode:Ge,dropPosition:1})?ht=1:We=!1,{dropPosition:ht,dropLevelOffset:Bt,dropTargetKey:nt.key,dropTargetPos:nt.pos,dragOverNodeKey:yt,dropContainerKey:ht===0?null:((Pe=nt.parent)===null||Pe===void 0?void 0:Pe.key)||null,dropAllowed:We}}function he(Ae,Le){if(Ae){var Ee=Le.multiple;return Ee?Ae.slice():Ae.length?[Ae[0]]:Ae}}var we=function(Le){return Le};function Se(Ae,Le){if(!Ae)return[];var Ee=Le||{},_e=Ee.processProps,Me=_e===void 0?we:_e,Oe=Array.isArray(Ae)?Ae:[Ae];return Oe.map(function(Ce){var Ne=Ce.children,je=_objectWithoutProperties(Ce,ie),Ze=Se(Ne,Le);return React.createElement(TreeNode,_extends({key:je.key},Me(je)),Ze)})}function xe(Ae){if(!Ae)return null;var Le;if(Array.isArray(Ae))Le={checkedKeys:Ae,halfCheckedKeys:void 0};else if((0,vt.Z)(Ae)==="object")Le={checkedKeys:Ae.checked||void 0,halfCheckedKeys:Ae.halfChecked||void 0};else return(0,x.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Le}function ye(Ae,Le){var Ee=new Set;function _e(Me){if(!Ee.has(Me)){var Oe=(0,re.Z)(Le,Me);if(Oe){Ee.add(Me);var Ce=Oe.parent,Ne=Oe.node;Ne.disabled||Ce&&_e(Ce.key)}}}return(Ae||[]).forEach(function(Me){_e(Me)}),(0,Re.Z)(Ee)}},90782:function(sr,Wt,ke){"use strict";ke.d(Wt,{S:function(){return ne}});var Re=ke(48736),vt=ke(67841);function x(ie,oe){var le=new Set;return ie.forEach(function(me){oe.has(me)||le.add(me)}),le}function De(ie){var oe=ie||{},le=oe.disabled,me=oe.disableCheckbox,te=oe.checkable;return!!(le||me)||te===!1}function ve(ie,oe,le,me){for(var te=new Set(ie),ae=new Set,ue=0;ue<=le;ue+=1){var de=oe.get(ue)||new Set;de.forEach(function(xe){var ye=xe.key,Ae=xe.node,Le=xe.children,Ee=Le===void 0?[]:Le;te.has(ye)&&!me(Ae)&&Ee.filter(function(_e){return!me(_e.node)}).forEach(function(_e){te.add(_e.key)})})}for(var he=new Set,we=le;we>=0;we-=1){var Se=oe.get(we)||new Set;Se.forEach(function(xe){var ye=xe.parent,Ae=xe.node;if(!(me(Ae)||!xe.parent||he.has(xe.parent.key))){if(me(xe.parent.node)){he.add(ye.key);return}var Le=!0,Ee=!1;(ye.children||[]).filter(function(_e){return!me(_e.node)}).forEach(function(_e){var Me=_e.key,Oe=te.has(Me);Le&&!Oe&&(Le=!1),!Ee&&(Oe||ae.has(Me))&&(Ee=!0)}),Le&&te.add(ye.key),Ee&&ae.add(ye.key),he.add(ye.key)}})}return{checkedKeys:Array.from(te),halfCheckedKeys:Array.from(x(ae,te))}}function re(ie,oe,le,me,te){for(var ae=new Set(ie),ue=new Set(oe),de=0;de<=me;de+=1){var he=le.get(de)||new Set;he.forEach(function(ye){var Ae=ye.key,Le=ye.node,Ee=ye.children,_e=Ee===void 0?[]:Ee;!ae.has(Ae)&&!ue.has(Ae)&&!te(Le)&&_e.filter(function(Me){return!te(Me.node)}).forEach(function(Me){ae.delete(Me.key)})})}ue=new Set;for(var we=new Set,Se=me;Se>=0;Se-=1){var xe=le.get(Se)||new Set;xe.forEach(function(ye){var Ae=ye.parent,Le=ye.node;if(!(te(Le)||!ye.parent||we.has(ye.parent.key))){if(te(ye.parent.node)){we.add(Ae.key);return}var Ee=!0,_e=!1;(Ae.children||[]).filter(function(Me){return!te(Me.node)}).forEach(function(Me){var Oe=Me.key,Ce=ae.has(Oe);Ee&&!Ce&&(Ee=!1),!_e&&(Ce||ue.has(Oe))&&(_e=!0)}),Ee||ae.delete(Ae.key),_e&&ue.add(Ae.key),we.add(Ae.key)}})}return{checkedKeys:Array.from(ae),halfCheckedKeys:Array.from(x(ue,ae))}}function ne(ie,oe,le,me){var te=[],ae;me?ae=me:ae=De;var ue=new Set(ie.filter(function(Se){var xe=!!(0,vt.Z)(le,Se);return xe||te.push(Se),xe})),de=new Map,he=0;Object.keys(le).forEach(function(Se){var xe=le[Se],ye=xe.level,Ae=de.get(ye);Ae||(Ae=new Set,de.set(ye,Ae)),Ae.add(xe),he=Math.max(he,ye)}),(0,Re.ZP)(!te.length,"Tree missing follow keys: ".concat(te.slice(0,100).map(function(Se){return"'".concat(Se,"'")}).join(", ")));var we;return oe===!0?we=ve(ue,de,he,ae):we=re(ue,oe.halfCheckedKeys,de,he,ae),we}},67841:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return Re}});function Re(vt,x){return vt[x]}},71430:function(sr,Wt,ke){"use strict";ke.d(Wt,{F:function(){return ye},H8:function(){return xe},I8:function(){return Se},km:function(){return te},oH:function(){return he},w$:function(){return ae},zn:function(){return de}});var Re=ke(43749),vt=ke(77654),x=ke(85899),De=ke(42244),ve=ke(11592),re=ke(2738),ne=ke(48736),ie=ke(67841),oe=["children"];function le(Ae,Le){return"".concat(Ae,"-").concat(Le)}function me(Ae){return Ae&&Ae.type&&Ae.type.isTreeNode}function te(Ae,Le){return Ae!=null?Ae:Le}function ae(Ae){var Le=Ae||{},Ee=Le.title,_e=Le._title,Me=Le.key,Oe=Le.children,Ce=Ee||"title";return{title:Ce,_title:_e||[Ce],key:Me||"key",children:Oe||"children"}}function ue(Ae,Le){var Ee=new Map;function _e(Me){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Me||[]).forEach(function(Ce){var Ne=Ce[Le.key],je=Ce[Le.children];warning(Ne!=null,"Tree node must have a certain key: [".concat(Oe).concat(Ne,"]"));var Ze=String(Ne);warning(!Ee.has(Ze)||Ne===null||Ne===void 0,"Same 'key' exist in the Tree: ".concat(Ze)),Ee.set(Ze,!0),_e(je,"".concat(Oe).concat(Ze," > "))})}_e(Ae)}function de(Ae){function Le(Ee){var _e=(0,ve.Z)(Ee);return _e.map(function(Me){if(!me(Me))return(0,ne.ZP)(!Me,"Tree/TreeNode can only accept TreeNode as children."),null;var Oe=Me.key,Ce=Me.props,Ne=Ce.children,je=(0,De.Z)(Ce,oe),Ze=(0,x.Z)({key:Oe},je),Pe=Le(Ne);return Pe.length&&(Ze.children=Pe),Ze}).filter(function(Me){return Me})}return Le(Ae)}function he(Ae,Le,Ee){var _e=ae(Ee),Me=_e._title,Oe=_e.key,Ce=_e.children,Ne=new Set(Le===!0?[]:Le),je=[];function Ze(Pe){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Pe.map(function(Qe,tt){for(var ot=le(Ue?Ue.pos:"0",tt),lt=te(Qe[Oe],ot),Ve,Ye=0;Ye<Me.length;Ye+=1){var nt=Me[Ye];if(Qe[nt]!==void 0){Ve=Qe[nt];break}}var dt=(0,x.Z)((0,x.Z)({},(0,re.Z)(Qe,[].concat((0,vt.Z)(Me),[Oe,Ce]))),{},{title:Ve,key:lt,parent:Ue,pos:ot,children:null,data:Qe,isStart:[].concat((0,vt.Z)(Ue?Ue.isStart:[]),[tt===0]),isEnd:[].concat((0,vt.Z)(Ue?Ue.isEnd:[]),[tt===Pe.length-1])});return je.push(dt),Le===!0||Ne.has(lt)?dt.children=Ze(Qe[Ce]||[],dt):dt.children=[],dt})}return Ze(Ae),je}function we(Ae,Le,Ee){var _e={};(0,Re.Z)(Ee)==="object"?_e=Ee:_e={externalGetKey:Ee},_e=_e||{};var Me=_e,Oe=Me.childrenPropName,Ce=Me.externalGetKey,Ne=Me.fieldNames,je=ae(Ne),Ze=je.key,Pe=je.children,Ue=Oe||Pe,Qe;Ce?typeof Ce=="string"?Qe=function(lt){return lt[Ce]}:typeof Ce=="function"&&(Qe=function(lt){return Ce(lt)}):Qe=function(lt,Ve){return te(lt[Ze],Ve)};function tt(ot,lt,Ve,Ye){var nt=ot?ot[Ue]:Ae,dt=ot?le(Ve.pos,lt):"0",at=ot?[].concat((0,vt.Z)(Ye),[ot]):[];if(ot){var et=Qe(ot,dt),qe={node:ot,index:lt,pos:dt,key:et,parentPos:Ve.node?Ve.pos:null,level:Ve.level+1,nodes:at};Le(qe)}nt&&nt.forEach(function(it,yt){tt(it,yt,{node:ot,pos:dt,level:Ve?Ve.level+1:-1},at)})}tt(null)}function Se(Ae){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ee=Le.initWrapper,_e=Le.processEntity,Me=Le.onProcessFinished,Oe=Le.externalGetKey,Ce=Le.childrenPropName,Ne=Le.fieldNames,je=arguments.length>2?arguments[2]:void 0,Ze=Oe||je,Pe={},Ue={},Qe={posEntities:Pe,keyEntities:Ue};return Ee&&(Qe=Ee(Qe)||Qe),we(Ae,function(tt){var ot=tt.node,lt=tt.index,Ve=tt.pos,Ye=tt.key,nt=tt.parentPos,dt=tt.level,at=tt.nodes,et={node:ot,nodes:at,index:lt,key:Ye,pos:Ve,level:dt},qe=te(Ye,Ve);Pe[Ve]=et,Ue[qe]=et,et.parent=Pe[nt],et.parent&&(et.parent.children=et.parent.children||[],et.parent.children.push(et)),_e&&_e(et,Qe)},{externalGetKey:Ze,childrenPropName:Ce,fieldNames:Ne}),Me&&Me(Qe),Qe}function xe(Ae,Le){var Ee=Le.expandedKeys,_e=Le.selectedKeys,Me=Le.loadedKeys,Oe=Le.loadingKeys,Ce=Le.checkedKeys,Ne=Le.halfCheckedKeys,je=Le.dragOverNodeKey,Ze=Le.dropPosition,Pe=Le.keyEntities,Ue=(0,ie.Z)(Pe,Ae),Qe={eventKey:Ae,expanded:Ee.indexOf(Ae)!==-1,selected:_e.indexOf(Ae)!==-1,loaded:Me.indexOf(Ae)!==-1,loading:Oe.indexOf(Ae)!==-1,checked:Ce.indexOf(Ae)!==-1,halfChecked:Ne.indexOf(Ae)!==-1,pos:String(Ue?Ue.pos:""),dragOver:je===Ae&&Ze===0,dragOverGapTop:je===Ae&&Ze===-1,dragOverGapBottom:je===Ae&&Ze===1};return Qe}function ye(Ae){var Le=Ae.data,Ee=Ae.expanded,_e=Ae.selected,Me=Ae.checked,Oe=Ae.loaded,Ce=Ae.loading,Ne=Ae.halfChecked,je=Ae.dragOver,Ze=Ae.dragOverGapTop,Pe=Ae.dragOverGapBottom,Ue=Ae.pos,Qe=Ae.active,tt=Ae.eventKey,ot=(0,x.Z)((0,x.Z)({},Le),{},{expanded:Ee,selected:_e,checked:Me,loaded:Oe,loading:Ce,halfChecked:Ne,dragOver:je,dragOverGapTop:Ze,dragOverGapBottom:Pe,pos:Ue,active:Qe,key:tt});return"props"in ot||Object.defineProperty(ot,"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`."),Ae}}),ot}},48911:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return Ge}});var Re=ke(60499),vt=ke(43749),x=ke(85899),De=ke(18642),ve=ke(72190),re=ke(42244),ne=ke(92310),ie=ke.n(ne),oe=ke(29301),le=ke(70425),me=ke(34280),te=ke(59301),ae=ke(4676),ue=te.forwardRef(function(We,se){var fe=We.height,ze=We.offsetY,He=We.offsetX,pe=We.children,Be=We.prefixCls,Ke=We.onInnerResize,Xe=We.innerProps,Je=We.rtl,ut=We.extra,bt={},gt={display:"flex",flexDirection:"column"};return ze!==void 0&&(bt={height:fe,position:"relative",overflow:"hidden"},gt=(0,x.Z)((0,x.Z)({},gt),{},(0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)({transform:"translateY(".concat(ze,"px)")},Je?"marginRight":"marginLeft",-He),"position","absolute"),"left",0),"right",0),"top",0))),te.createElement("div",{style:bt},te.createElement(oe.Z,{onResize:function(Vt){var kt=Vt.offsetHeight;kt&&Ke&&Ke()}},te.createElement("div",(0,Re.Z)({style:gt,className:ie()((0,De.Z)({},"".concat(Be,"-holder-inner"),Be)),ref:se},Xe),pe,ut)))});ue.displayName="Filler";var de=ue;function he(We){var se=We.children,fe=We.setRef,ze=te.useCallback(function(He){fe(He)},[]);return te.cloneElement(se,{ref:ze})}function we(We,se,fe,ze,He,pe,Be,Ke){var Xe=Ke.getKey;return We.slice(se,fe+1).map(function(Je,ut){var bt=se+ut,gt=Be(Je,bt,{style:{width:ze},offsetX:He}),Dt=Xe(Je);return te.createElement(he,{key:Dt,setRef:function(kt){return pe(Je,kt)}},gt)})}function Se(We,se,fe,ze){var He=fe-We,pe=se-fe,Be=Math.min(He,pe)*2;if(ze<=Be){var Ke=Math.floor(ze/2);return ze%2?fe+Ke+1:fe-Ke}return He>pe?fe-(ze-pe):fe+(ze-He)}function xe(We,se,fe){var ze=We.length,He=se.length,pe,Be;if(ze===0&&He===0)return null;ze<He?(pe=We,Be=se):(pe=se,Be=We);var Ke={__EMPTY_ITEM__:!0};function Xe(Vt){return Vt!==void 0?fe(Vt):Ke}for(var Je=null,ut=Math.abs(ze-He)!==1,bt=0;bt<Be.length;bt+=1){var gt=Xe(pe[bt]),Dt=Xe(Be[bt]);if(gt!==Dt){Je=bt,ut=ut||gt!==Xe(Be[bt+1]);break}}return Je===null?null:{index:Je,multiple:ut}}function ye(We,se,fe){var ze=te.useState(We),He=(0,ve.Z)(ze,2),pe=He[0],Be=He[1],Ke=te.useState(null),Xe=(0,ve.Z)(Ke,2),Je=Xe[0],ut=Xe[1];return te.useEffect(function(){var bt=xe(pe||[],We||[],se);(bt==null?void 0:bt.index)!==void 0&&(fe==null||fe(bt.index),ut(We[bt.index])),Be(We)},[We]),[Je]}var Ae=ke(16089),Le=(typeof navigator=="undefined"?"undefined":(0,vt.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Ee=Le,_e=function(We,se,fe,ze){var He=(0,te.useRef)(!1),pe=(0,te.useRef)(null);function Be(){clearTimeout(pe.current),He.current=!0,pe.current=setTimeout(function(){He.current=!1},50)}var Ke=(0,te.useRef)({top:We,bottom:se,left:fe,right:ze});return Ke.current.top=We,Ke.current.bottom=se,Ke.current.left=fe,Ke.current.right=ze,function(Xe,Je){var ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,bt=Xe?Je<0&&Ke.current.left||Je>0&&Ke.current.right:Je<0&&Ke.current.top||Je>0&&Ke.current.bottom;return ut&&bt?(clearTimeout(pe.current),He.current=!1):(!bt||He.current)&&Be(),!He.current&&bt}};function Me(We,se,fe,ze,He,pe,Be){var Ke=(0,te.useRef)(0),Xe=(0,te.useRef)(null),Je=(0,te.useRef)(null),ut=(0,te.useRef)(!1),bt=_e(se,fe,ze,He);function gt(Mt,ft){if(Ae.Z.cancel(Xe.current),!bt(!1,ft)){var St=Mt;if(!St._virtualHandled)St._virtualHandled=!0;else return;Ke.current+=ft,Je.current=ft,Ee||St.preventDefault(),Xe.current=(0,Ae.Z)(function(){var Nt=ut.current?10:1;Be(Ke.current*Nt,!1),Ke.current=0})}}function Dt(Mt,ft){Be(ft,!0),Ee||Mt.preventDefault()}var Vt=(0,te.useRef)(null),kt=(0,te.useRef)(null);function jt(Mt){if(We){Ae.Z.cancel(kt.current),kt.current=(0,Ae.Z)(function(){Vt.current=null},2);var ft=Mt.deltaX,St=Mt.deltaY,Nt=Mt.shiftKey,Ft=ft,Zt=St;(Vt.current==="sx"||!Vt.current&&Nt&&St&&!ft)&&(Ft=St,Zt=0,Vt.current="sx");var or=Math.abs(Ft),yr=Math.abs(Zt);Vt.current===null&&(Vt.current=pe&&or>yr?"x":"y"),Vt.current==="y"?gt(Mt,Zt):Dt(Mt,Ft)}}function _t(Mt){We&&(ut.current=Mt.detail===Je.current)}return[jt,_t]}function Oe(We,se,fe,ze){var He=te.useMemo(function(){return[new Map,[]]},[We,fe.id,ze]),pe=(0,ve.Z)(He,2),Be=pe[0],Ke=pe[1],Xe=function(ut){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ut,gt=Be.get(ut),Dt=Be.get(bt);if(gt===void 0||Dt===void 0)for(var Vt=We.length,kt=Ke.length;kt<Vt;kt+=1){var jt,_t=We[kt],Mt=se(_t);Be.set(Mt,kt);var ft=(jt=fe.get(Mt))!==null&&jt!==void 0?jt:ze;if(Ke[kt]=(Ke[kt-1]||0)+ft,Mt===ut&&(gt=kt),Mt===bt&&(Dt=kt),gt!==void 0&&Dt!==void 0)break}return{top:Ke[gt-1]||0,bottom:Ke[Dt]}};return Xe}var Ce=ke(38705),Ne=ke(17212),je=function(){function We(){(0,Ce.Z)(this,We),(0,De.Z)(this,"maps",void 0),(0,De.Z)(this,"id",0),(0,De.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,Ne.Z)(We,[{key:"set",value:function(fe,ze){this.diffRecords.set(fe,this.maps[fe]),this.maps[fe]=ze,this.id+=1}},{key:"get",value:function(fe){return this.maps[fe]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),We}(),Ze=je;function Pe(We){var se=parseFloat(We);return isNaN(se)?0:se}function Ue(We,se,fe){var ze=te.useState(0),He=(0,ve.Z)(ze,2),pe=He[0],Be=He[1],Ke=(0,te.useRef)(new Map),Xe=(0,te.useRef)(new Ze),Je=(0,te.useRef)(0);function ut(){Je.current+=1}function bt(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ut();var Vt=function(){var _t=!1;Ke.current.forEach(function(Mt,ft){if(Mt&&Mt.offsetParent){var St=Mt.offsetHeight,Nt=getComputedStyle(Mt),Ft=Nt.marginTop,Zt=Nt.marginBottom,or=Pe(Ft),yr=Pe(Zt),Sr=St+or+yr;Xe.current.get(ft)!==Sr&&(Xe.current.set(ft,Sr),_t=!0)}}),_t&&Be(function(Mt){return Mt+1})};if(Dt)Vt();else{Je.current+=1;var kt=Je.current;Promise.resolve().then(function(){kt===Je.current&&Vt()})}}function gt(Dt,Vt){var kt=We(Dt),jt=Ke.current.get(kt);Vt?(Ke.current.set(kt,Vt),bt()):Ke.current.delete(kt),!jt!=!Vt&&(Vt?se==null||se(Dt):fe==null||fe(Dt))}return(0,te.useEffect)(function(){return ut},[]),[gt,bt,Xe.current,pe]}var Qe=14/15;function tt(We,se,fe){var ze=(0,te.useRef)(!1),He=(0,te.useRef)(0),pe=(0,te.useRef)(0),Be=(0,te.useRef)(null),Ke=(0,te.useRef)(null),Xe,Je=function(Dt){if(ze.current){var Vt=Math.ceil(Dt.touches[0].pageX),kt=Math.ceil(Dt.touches[0].pageY),jt=He.current-Vt,_t=pe.current-kt,Mt=Math.abs(jt)>Math.abs(_t);Mt?He.current=Vt:pe.current=kt;var ft=fe(Mt,Mt?jt:_t,!1,Dt);ft&&Dt.preventDefault(),clearInterval(Ke.current),ft&&(Ke.current=setInterval(function(){Mt?jt*=Qe:_t*=Qe;var St=Math.floor(Mt?jt:_t);(!fe(Mt,St,!0)||Math.abs(St)<=.1)&&clearInterval(Ke.current)},16))}},ut=function(){ze.current=!1,Xe()},bt=function(Dt){Xe(),Dt.touches.length===1&&!ze.current&&(ze.current=!0,He.current=Math.ceil(Dt.touches[0].pageX),pe.current=Math.ceil(Dt.touches[0].pageY),Be.current=Dt.target,Be.current.addEventListener("touchmove",Je,{passive:!1}),Be.current.addEventListener("touchend",ut,{passive:!0}))};Xe=function(){Be.current&&(Be.current.removeEventListener("touchmove",Je),Be.current.removeEventListener("touchend",ut))},(0,me.Z)(function(){return We&&se.current.addEventListener("touchstart",bt,{passive:!0}),function(){var gt;(gt=se.current)===null||gt===void 0||gt.removeEventListener("touchstart",bt),Xe(),clearInterval(Ke.current)}},[We])}function ot(We){return Math.floor(Math.pow(We,.5))}function lt(We,se){var fe="touches"in We?We.touches[0]:We;return fe[se?"pageX":"pageY"]-window[se?"scrollX":"scrollY"]}function Ve(We,se,fe){te.useEffect(function(){var ze=se.current;if(We&&ze){var He=!1,pe,Be,Ke=function(){Ae.Z.cancel(pe)},Xe=function gt(){Ke(),pe=(0,Ae.Z)(function(){fe(Be),gt()})},Je=function(){He=!1,Ke()},ut=function(Dt){if(!(Dt.target.draggable||Dt.button!==0)){var Vt=Dt;Vt._virtualHandled||(Vt._virtualHandled=!0,He=!0)}},bt=function(Dt){if(He){var Vt=lt(Dt,!1),kt=ze.getBoundingClientRect(),jt=kt.top,_t=kt.bottom;if(Vt<=jt){var Mt=jt-Vt;Be=-ot(Mt),Xe()}else if(Vt>=_t){var ft=Vt-_t;Be=ot(ft),Xe()}else Ke()}};return ze.addEventListener("mousedown",ut),ze.ownerDocument.addEventListener("mouseup",Je),ze.ownerDocument.addEventListener("mousemove",bt),ze.ownerDocument.addEventListener("dragend",Je),function(){ze.removeEventListener("mousedown",ut),ze.ownerDocument.removeEventListener("mouseup",Je),ze.ownerDocument.removeEventListener("mousemove",bt),ze.ownerDocument.removeEventListener("dragend",Je),Ke()}}},[We])}var Ye=10;function nt(We,se,fe,ze,He,pe,Be,Ke){var Xe=te.useRef(),Je=te.useState(null),ut=(0,ve.Z)(Je,2),bt=ut[0],gt=ut[1];return(0,me.Z)(function(){if(bt&&bt.times<Ye){if(!We.current){gt(function(Tn){return(0,x.Z)({},Tn)});return}pe();var Dt=bt.targetAlign,Vt=bt.originAlign,kt=bt.index,jt=bt.offset,_t=We.current.clientHeight,Mt=!1,ft=Dt,St=null;if(_t){for(var Nt=Dt||Vt,Ft=0,Zt=0,or=0,yr=Math.min(se.length-1,kt),Sr=0;Sr<=yr;Sr+=1){var Fr=He(se[Sr]);Zt=Ft;var Vr=fe.get(Fr);or=Zt+(Vr===void 0?ze:Vr),Ft=or}for(var Br=Nt==="top"?jt:_t-jt,Ur=yr;Ur>=0;Ur-=1){var on=He(se[Ur]),Yr=fe.get(on);if(Yr===void 0){Mt=!0;break}if(Br-=Yr,Br<=0)break}switch(Nt){case"top":St=Zt-jt;break;case"bottom":St=or-_t+jt;break;default:{var Fn=We.current.scrollTop,vn=Fn+_t;Zt<Fn?ft="top":or>vn&&(ft="bottom")}}St!==null&&Be(St),St!==bt.lastTop&&(Mt=!0)}Mt&&gt((0,x.Z)((0,x.Z)({},bt),{},{times:bt.times+1,targetAlign:ft,lastTop:St}))}},[bt,We.current]),function(Dt){if(Dt==null){Ke();return}if(Ae.Z.cancel(Xe.current),typeof Dt=="number")Be(Dt);else if(Dt&&(0,vt.Z)(Dt)==="object"){var Vt,kt=Dt.align;"index"in Dt?Vt=Dt.index:Vt=se.findIndex(function(Mt){return He(Mt)===Dt.key});var jt=Dt.offset,_t=jt===void 0?0:jt;gt({times:0,index:Vt,offset:_t,originAlign:kt})}}}var dt=te.forwardRef(function(We,se){var fe=We.prefixCls,ze=We.rtl,He=We.scrollOffset,pe=We.scrollRange,Be=We.onStartMove,Ke=We.onStopMove,Xe=We.onScroll,Je=We.horizontal,ut=We.spinSize,bt=We.containerSize,gt=We.style,Dt=We.thumbStyle,Vt=We.showScrollBar,kt=te.useState(!1),jt=(0,ve.Z)(kt,2),_t=jt[0],Mt=jt[1],ft=te.useState(null),St=(0,ve.Z)(ft,2),Nt=St[0],Ft=St[1],Zt=te.useState(null),or=(0,ve.Z)(Zt,2),yr=or[0],Sr=or[1],Fr=!ze,Vr=te.useRef(),Br=te.useRef(),Ur=te.useState(Vt),on=(0,ve.Z)(Ur,2),Yr=on[0],Fn=on[1],vn=te.useRef(),Tn=function(){Vt===!0||Vt===!1||(clearTimeout(vn.current),Fn(!0),vn.current=setTimeout(function(){Fn(!1)},3e3))},qr=pe-bt||0,Un=bt-ut||0,un=te.useMemo(function(){if(He===0||qr===0)return 0;var Kt=He/qr;return Kt*Un},[He,qr,Un]),ar=function(xt){xt.stopPropagation(),xt.preventDefault()},Nr=te.useRef({top:un,dragging:_t,pageY:Nt,startTop:yr});Nr.current={top:un,dragging:_t,pageY:Nt,startTop:yr};var Mr=function(xt){Mt(!0),Ft(lt(xt,Je)),Sr(Nr.current.top),Be(),xt.stopPropagation(),xt.preventDefault()};te.useEffect(function(){var Kt=function(At){At.preventDefault()},xt=Vr.current,It=Br.current;return xt.addEventListener("touchstart",Kt,{passive:!1}),It.addEventListener("touchstart",Mr,{passive:!1}),function(){xt.removeEventListener("touchstart",Kt),It.removeEventListener("touchstart",Mr)}},[]);var Or=te.useRef();Or.current=qr;var Pr=te.useRef();Pr.current=Un,te.useEffect(function(){if(_t){var Kt,xt=function(At){var zt=Nr.current,Ut=zt.dragging,ir=zt.pageY,er=zt.startTop;Ae.Z.cancel(Kt);var hr=Vr.current.getBoundingClientRect(),Cr=bt/(Je?hr.width:hr.height);if(Ut){var Dr=(lt(At,Je)-ir)*Cr,Ir=er;!Fr&&Je?Ir-=Dr:Ir+=Dr;var qt=Or.current,vr=Pr.current,Ht=vr?Ir/vr:0,Yt=Math.ceil(Ht*qt);Yt=Math.max(Yt,0),Yt=Math.min(Yt,qt),Kt=(0,Ae.Z)(function(){Xe(Yt,Je)})}},It=function(){Mt(!1),Ke()};return window.addEventListener("mousemove",xt,{passive:!0}),window.addEventListener("touchmove",xt,{passive:!0}),window.addEventListener("mouseup",It,{passive:!0}),window.addEventListener("touchend",It,{passive:!0}),function(){window.removeEventListener("mousemove",xt),window.removeEventListener("touchmove",xt),window.removeEventListener("mouseup",It),window.removeEventListener("touchend",It),Ae.Z.cancel(Kt)}}},[_t]),te.useEffect(function(){return Tn(),function(){clearTimeout(vn.current)}},[He]),te.useImperativeHandle(se,function(){return{delayHidden:Tn}});var Tr="".concat(fe,"-scrollbar"),wr={position:"absolute",visibility:Yr?null:"hidden"},Xr={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Je?(Object.assign(wr,{height:8,left:0,right:0,bottom:0}),Object.assign(Xr,(0,De.Z)({height:"100%",width:ut},Fr?"left":"right",un))):(Object.assign(wr,(0,De.Z)({width:8,top:0,bottom:0},Fr?"right":"left",0)),Object.assign(Xr,{width:"100%",height:ut,top:un})),te.createElement("div",{ref:Vr,className:ie()(Tr,(0,De.Z)((0,De.Z)((0,De.Z)({},"".concat(Tr,"-horizontal"),Je),"".concat(Tr,"-vertical"),!Je),"".concat(Tr,"-visible"),Yr)),style:(0,x.Z)((0,x.Z)({},wr),gt),onMouseDown:ar,onMouseMove:Tn},te.createElement("div",{ref:Br,className:ie()("".concat(Tr,"-thumb"),(0,De.Z)({},"".concat(Tr,"-thumb-moving"),_t)),style:(0,x.Z)((0,x.Z)({},Xr),Dt),onMouseDown:Mr}))}),at=dt,et=20;function qe(){var We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,fe=We/se*We;return isNaN(fe)&&(fe=0),fe=Math.max(fe,et),Math.floor(fe)}var it=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],yt=[],ht={overflowY:"auto",overflowAnchor:"none"};function Bt(We,se){var fe=We.prefixCls,ze=fe===void 0?"rc-virtual-list":fe,He=We.className,pe=We.height,Be=We.itemHeight,Ke=We.fullHeight,Xe=Ke===void 0?!0:Ke,Je=We.style,ut=We.data,bt=We.children,gt=We.itemKey,Dt=We.virtual,Vt=We.direction,kt=We.scrollWidth,jt=We.component,_t=jt===void 0?"div":jt,Mt=We.onScroll,ft=We.onVirtualScroll,St=We.onVisibleChange,Nt=We.innerProps,Ft=We.extraRender,Zt=We.styles,or=We.showScrollBar,yr=or===void 0?"optional":or,Sr=(0,re.Z)(We,it),Fr=te.useCallback(function(hn){return typeof gt=="function"?gt(hn):hn==null?void 0:hn[gt]},[gt]),Vr=Ue(Fr,null,null),Br=(0,ve.Z)(Vr,4),Ur=Br[0],on=Br[1],Yr=Br[2],Fn=Br[3],vn=!!(Dt!==!1&&pe&&Be),Tn=te.useMemo(function(){return Object.values(Yr.maps).reduce(function(hn,kn){return hn+kn},0)},[Yr.id,Yr.maps]),qr=vn&&ut&&(Math.max(Be*ut.length,Tn)>pe||!!kt),Un=Vt==="rtl",un=ie()(ze,(0,De.Z)({},"".concat(ze,"-rtl"),Un),He),ar=ut||yt,Nr=(0,te.useRef)(),Mr=(0,te.useRef)(),Or=(0,te.useRef)(),Pr=(0,te.useState)(0),Tr=(0,ve.Z)(Pr,2),wr=Tr[0],Xr=Tr[1],Kt=(0,te.useState)(0),xt=(0,ve.Z)(Kt,2),It=xt[0],Tt=xt[1],At=(0,te.useState)(!1),zt=(0,ve.Z)(At,2),Ut=zt[0],ir=zt[1],er=function(){ir(!0)},hr=function(){ir(!1)},Cr={getKey:Fr};function Dr(hn){Xr(function(kn){var Vn;typeof hn=="function"?Vn=hn(kn):Vn=hn;var $n=nn(Vn);return Nr.current.scrollTop=$n,$n})}var Ir=(0,te.useRef)({start:0,end:ar.length}),qt=(0,te.useRef)(),vr=ye(ar,Fr),Ht=(0,ve.Z)(vr,1),Yt=Ht[0];qt.current=Yt;var Xt=te.useMemo(function(){if(!vn)return{scrollHeight:void 0,start:0,end:ar.length-1,offset:void 0};if(!qr){var hn;return{scrollHeight:((hn=Mr.current)===null||hn===void 0?void 0:hn.offsetHeight)||0,start:0,end:ar.length-1,offset:void 0}}for(var kn=0,Vn,$n,Ci,Ei=ar.length,gi=0;gi<Ei;gi+=1){var di=ar[gi],Oi=Fr(di),Di=Yr.get(Oi),En=kn+(Di===void 0?Be:Di);En>=wr&&Vn===void 0&&(Vn=gi,$n=kn),En>wr+pe&&Ci===void 0&&(Ci=gi),kn=En}return Vn===void 0&&(Vn=0,$n=0,Ci=Math.ceil(pe/Be)),Ci===void 0&&(Ci=ar.length-1),Ci=Math.min(Ci+1,ar.length-1),{scrollHeight:kn,start:Vn,end:Ci,offset:$n}},[qr,vn,wr,ar,Fn,pe]),rr=Xt.scrollHeight,gr=Xt.start,Qt=Xt.end,xr=Xt.offset;Ir.current.start=gr,Ir.current.end=Qt,te.useLayoutEffect(function(){var hn=Yr.getRecord();if(hn.size===1){var kn=Array.from(hn.keys())[0],Vn=hn.get(kn),$n=ar[gr];if($n&&Vn===void 0){var Ci=Fr($n);if(Ci===kn){var Ei=Yr.get(kn),gi=Ei-Be;Dr(function(di){return di+gi})}}}Yr.resetRecord()},[rr]);var Lt=te.useState({width:0,height:pe}),Jt=(0,ve.Z)(Lt,2),$t=Jt[0],dr=Jt[1],lr=function(kn){dr({width:kn.offsetWidth,height:kn.offsetHeight})},pr=(0,te.useRef)(),fr=(0,te.useRef)(),Ar=te.useMemo(function(){return qe($t.width,kt)},[$t.width,kt]),Rr=te.useMemo(function(){return qe($t.height,rr)},[$t.height,rr]),Zr=rr-pe,Qr=(0,te.useRef)(Zr);Qr.current=Zr;function nn(hn){var kn=hn;return Number.isNaN(Qr.current)||(kn=Math.min(kn,Qr.current)),kn=Math.max(kn,0),kn}var dn=wr<=0,pn=wr>=Zr,Gr=It<=0,yn=It>=kt,mn=_e(dn,pn,Gr,yn),On=function(){return{x:Un?-It:It,y:wr}},cn=(0,te.useRef)(On()),Sn=(0,le.useEvent)(function(hn){if(ft){var kn=(0,x.Z)((0,x.Z)({},On()),hn);(cn.current.x!==kn.x||cn.current.y!==kn.y)&&(ft(kn),cn.current=kn)}});function gn(hn,kn){var Vn=hn;kn?((0,ae.flushSync)(function(){Tt(Vn)}),Sn()):Dr(Vn)}function Jr(hn){var kn=hn.currentTarget.scrollTop;kn!==wr&&Dr(kn),Mt==null||Mt(hn),Sn()}var Ln=function(kn){var Vn=kn,$n=kt?kt-$t.width:0;return Vn=Math.max(Vn,0),Vn=Math.min(Vn,$n),Vn},Zn=(0,le.useEvent)(function(hn,kn){kn?((0,ae.flushSync)(function(){Tt(function(Vn){var $n=Vn+(Un?-hn:hn);return Ln($n)})}),Sn()):Dr(function(Vn){var $n=Vn+hn;return $n})}),fn=Me(vn,dn,pn,Gr,yn,!!kt,Zn),Hr=(0,ve.Z)(fn,2),Wr=Hr[0],In=Hr[1];tt(vn,Nr,function(hn,kn,Vn,$n){var Ci=$n;return mn(hn,kn,Vn)?!1:!Ci||!Ci._virtualHandled?(Ci&&(Ci._virtualHandled=!0),Wr({preventDefault:function(){},deltaX:hn?kn:0,deltaY:hn?0:kn}),!0):!1}),Ve(qr,Nr,function(hn){Dr(function(kn){return kn+hn})}),(0,me.Z)(function(){function hn(Vn){var $n=dn&&Vn.detail<0,Ci=pn&&Vn.detail>0;vn&&!$n&&!Ci&&Vn.preventDefault()}var kn=Nr.current;return kn.addEventListener("wheel",Wr,{passive:!1}),kn.addEventListener("DOMMouseScroll",In,{passive:!0}),kn.addEventListener("MozMousePixelScroll",hn,{passive:!1}),function(){kn.removeEventListener("wheel",Wr),kn.removeEventListener("DOMMouseScroll",In),kn.removeEventListener("MozMousePixelScroll",hn)}},[vn,dn,pn]),(0,me.Z)(function(){if(kt){var hn=Ln(It);Tt(hn),Sn({x:hn})}},[$t.width,kt]);var bn=function(){var kn,Vn;(kn=pr.current)===null||kn===void 0||kn.delayHidden(),(Vn=fr.current)===null||Vn===void 0||Vn.delayHidden()},Nn=nt(Nr,ar,Yr,Be,Fr,function(){return on(!0)},Dr,bn);te.useImperativeHandle(se,function(){return{nativeElement:Or.current,getScrollInfo:On,scrollTo:function(kn){function Vn($n){return $n&&(0,vt.Z)($n)==="object"&&("left"in $n||"top"in $n)}Vn(kn)?(kn.left!==void 0&&Tt(Ln(kn.left)),Nn(kn.top)):Nn(kn)}}}),(0,me.Z)(function(){if(St){var hn=ar.slice(gr,Qt+1);St(hn,ar)}},[gr,Qt,ar]);var Hn=Oe(ar,Fr,Yr,Be),zn=Ft==null?void 0:Ft({start:gr,end:Qt,virtual:qr,offsetX:It,offsetY:xr,rtl:Un,getSize:Hn}),Dn=we(ar,gr,Qt,kt,It,Ur,bt,Cr),_n=null;pe&&(_n=(0,x.Z)((0,De.Z)({},Xe?"height":"maxHeight",pe),ht),vn&&(_n.overflowY="hidden",kt&&(_n.overflowX="hidden"),Ut&&(_n.pointerEvents="none")));var ci={};return Un&&(ci.dir="rtl"),te.createElement("div",(0,Re.Z)({ref:Or,style:(0,x.Z)((0,x.Z)({},Je),{},{position:"relative"}),className:un},ci,Sr),te.createElement(oe.Z,{onResize:lr},te.createElement(_t,{className:"".concat(ze,"-holder"),style:_n,ref:Nr,onScroll:Jr,onMouseEnter:bn},te.createElement(de,{prefixCls:ze,height:rr,offsetX:It,offsetY:xr,scrollWidth:kt,onInnerResize:on,ref:Mr,innerProps:Nt,rtl:Un,extra:zn},Dn))),qr&&rr>pe&&te.createElement(at,{ref:pr,prefixCls:ze,scrollOffset:wr,scrollRange:rr,rtl:Un,onScroll:gn,onStartMove:er,onStopMove:hr,spinSize:Rr,containerSize:$t.height,style:Zt==null?void 0:Zt.verticalScrollBar,thumbStyle:Zt==null?void 0:Zt.verticalScrollBarThumb,showScrollBar:yr}),qr&&kt>$t.width&&te.createElement(at,{ref:fr,prefixCls:ze,scrollOffset:It,scrollRange:kt,rtl:Un,onScroll:gn,onStartMove:er,onStopMove:hr,spinSize:Ar,containerSize:$t.width,horizontal:!0,style:Zt==null?void 0:Zt.horizontalScrollBar,thumbStyle:Zt==null?void 0:Zt.horizontalScrollBarThumb,showScrollBar:yr}))}var Et=te.forwardRef(Bt);Et.displayName="List";var st=Et,Ge=st},7062:function(sr,Wt,ke){var Re=ke(19637),vt=ke(97573),x=[ke(96627)];sr.exports=Re.createStore(vt,x)},96627:function(sr,Wt,ke){sr.exports=Re;function Re(){return ke(42424),{}}},42424: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(sr){return sr<10?"0"+sr:sr}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(sr){return rx_escapable.lastIndex=0,rx_escapable.test(sr)?'"'+sr.replace(rx_escapable,function(Wt){var ke=meta[Wt];return typeof ke=="string"?ke:"\\u"+("0000"+Wt.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+sr+'"'}function str(sr,Wt){var ke,Re,vt,x,De=gap,ve,re=Wt[sr];switch(re&&typeof re=="object"&&typeof re.toJSON=="function"&&(re=re.toJSON(sr)),typeof rep=="function"&&(re=rep.call(Wt,sr,re)),typeof re){case"string":return quote(re);case"number":return isFinite(re)?String(re):"null";case"boolean":case"null":return String(re);case"object":if(!re)return"null";if(gap+=indent,ve=[],Object.prototype.toString.apply(re)==="[object Array]"){for(x=re.length,ke=0;ke<x;ke+=1)ve[ke]=str(ke,re)||"null";return vt=ve.length===0?"[]":gap?`[
`+gap+ve.join(`,
`+gap)+`
`+De+"]":"["+ve.join(",")+"]",gap=De,vt}if(rep&&typeof rep=="object")for(x=rep.length,ke=0;ke<x;ke+=1)typeof rep[ke]=="string"&&(Re=rep[ke],vt=str(Re,re),vt&&ve.push(quote(Re)+(gap?": ":":")+vt));else for(Re in re)Object.prototype.hasOwnProperty.call(re,Re)&&(vt=str(Re,re),vt&&ve.push(quote(Re)+(gap?": ":":")+vt));return vt=ve.length===0?"{}":gap?`{
`+gap+ve.join(`,
`+gap)+`
`+De+"}":"{"+ve.join(",")+"}",gap=De,vt}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(sr,Wt,ke){var Re;if(gap="",indent="",typeof ke=="number")for(Re=0;Re<ke;Re+=1)indent+=" ";else typeof ke=="string"&&(indent=ke);if(rep=Wt,Wt&&typeof Wt!="function"&&(typeof Wt!="object"||typeof Wt.length!="number"))throw new Error("JSON.stringify");return str("",{"":sr})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(sr,Wt){var ke,Re,vt=sr[Wt];if(vt&&typeof vt=="object")for(ke in vt)Object.prototype.hasOwnProperty.call(vt,ke)&&(Re=walk(vt,ke),Re!==void 0?vt[ke]=Re:delete vt[ke]);return reviver.call(sr,Wt,vt)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(sr){return"\\u"+("0000"+sr.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")})}()},19637:function(sr,Wt,ke){var Re=ke(67039),vt=Re.slice,x=Re.pluck,De=Re.each,ve=Re.bind,re=Re.create,ne=Re.isList,ie=Re.isFunction,oe=Re.isObject;sr.exports={createStore:te};var le={version:"2.0.12",enabled:!1,get:function(ae,ue){var de=this.storage.read(this._namespacePrefix+ae);return this._deserialize(de,ue)},set:function(ae,ue){return ue===void 0?this.remove(ae):(this.storage.write(this._namespacePrefix+ae,this._serialize(ue)),ue)},remove:function(ae){this.storage.remove(this._namespacePrefix+ae)},each:function(ae){var ue=this;this.storage.each(function(de,he){ae.call(ue,ue._deserialize(de),(he||"").replace(ue._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(ae){return this._namespacePrefix=="__storejs_"+ae+"_"},createStore:function(){return te.apply(this,arguments)},addPlugin:function(ae){this._addPlugin(ae)},namespace:function(ae){return te(this.storage,this.plugins,ae)}};function me(){var ae=typeof console=="undefined"?null:console;if(ae){var ue=ae.warn?ae.warn:ae.log;ue.apply(ae,arguments)}}function te(ae,ue,de){de||(de=""),ae&&!ne(ae)&&(ae=[ae]),ue&&!ne(ue)&&(ue=[ue]);var he=de?"__storejs_"+de+"_":"",we=de?new RegExp("^"+he):null,Se=/^[a-zA-Z0-9_\-]*$/;if(!Se.test(de))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var xe={_namespacePrefix:he,_namespaceRegexp:we,_testStorage:function(Ae){try{var Le="__storejs__test__";Ae.write(Le,Le);var Ee=Ae.read(Le)===Le;return Ae.remove(Le),Ee}catch(_e){return!1}},_assignPluginFnProp:function(Ae,Le){var Ee=this[Le];this[Le]=function(){var Me=vt(arguments,0),Oe=this;function Ce(){if(Ee)return De(arguments,function(je,Ze){Me[Ze]=je}),Ee.apply(Oe,Me)}var Ne=[Ce].concat(Me);return Ae.apply(Oe,Ne)}},_serialize:function(Ae){return JSON.stringify(Ae)},_deserialize:function(Ae,Le){if(!Ae)return Le;var Ee="";try{Ee=JSON.parse(Ae)}catch(_e){Ee=Ae}return Ee!==void 0?Ee:Le},_addStorage:function(Ae){this.enabled||this._testStorage(Ae)&&(this.storage=Ae,this.enabled=!0)},_addPlugin:function(Ae){var Le=this;if(ne(Ae)){De(Ae,function(Me){Le._addPlugin(Me)});return}var Ee=x(this.plugins,function(Me){return Ae===Me});if(!Ee){if(this.plugins.push(Ae),!ie(Ae))throw new Error("Plugins must be function values that return objects");var _e=Ae.call(this);if(!oe(_e))throw new Error("Plugins must return an object of function properties");De(_e,function(Me,Oe){if(!ie(Me))throw new Error("Bad plugin property: "+Oe+" from plugin "+Ae.name+". Plugins should only return functions.");Le._assignPluginFnProp(Me,Oe)})}},addStorage:function(Ae){me("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(Ae)}},ye=re(xe,le,{plugins:[]});return ye.raw={},De(ye,function(Ae,Le){ie(Ae)&&(ye.raw[Le]=ve(ye,Ae))}),De(ae,function(Ae){ye._addStorage(Ae)}),De(ue,function(Ae){ye._addPlugin(Ae)}),ye}},67039:function(sr,Wt,ke){var Re=ve(),vt=re(),x=ne(),De=typeof window!="undefined"?window:ke.g;sr.exports={assign:Re,create:vt,trim:x,bind:ie,slice:oe,each:le,map:me,pluck:te,isList:ae,isFunction:ue,isObject:de,Global:De};function ve(){return Object.assign?Object.assign:function(we,Se,xe,ye){for(var Ae=1;Ae<arguments.length;Ae++)le(Object(arguments[Ae]),function(Le,Ee){we[Ee]=Le});return we}}function re(){if(Object.create)return function(Se,xe,ye,Ae){var Le=oe(arguments,1);return Re.apply(this,[Object.create(Se)].concat(Le))};{let we=function(){};var he=we;return function(xe,ye,Ae,Le){var Ee=oe(arguments,1);return we.prototype=xe,Re.apply(this,[new we].concat(Ee))}}}function ne(){return String.prototype.trim?function(we){return String.prototype.trim.call(we)}:function(we){return we.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function ie(he,we){return function(){return we.apply(he,Array.prototype.slice.call(arguments,0))}}function oe(he,we){return Array.prototype.slice.call(he,we||0)}function le(he,we){te(he,function(Se,xe){return we(Se,xe),!1})}function me(he,we){var Se=ae(he)?[]:{};return te(he,function(xe,ye){return Se[ye]=we(xe,ye),!1}),Se}function te(he,we){if(ae(he)){for(var Se=0;Se<he.length;Se++)if(we(he[Se],Se))return he[Se]}else for(var xe in he)if(he.hasOwnProperty(xe)&&we(he[xe],xe))return he[xe]}function ae(he){return he!=null&&typeof he!="function"&&typeof he.length=="number"}function ue(he){return he&&{}.toString.call(he)==="[object Function]"}function de(he){return he&&{}.toString.call(he)==="[object Object]"}},97573:function(sr,Wt,ke){sr.exports=[ke(52496),ke(16436),ke(76673),ke(35701),ke(65578),ke(65300)]},35701:function(sr,Wt,ke){var Re=ke(67039),vt=Re.Global,x=Re.trim;sr.exports={name:"cookieStorage",read:ve,write:ne,each:re,remove:ie,clearAll:oe};var De=vt.document;function ve(me){if(!me||!le(me))return null;var te="(?:^|.*;\\s*)"+escape(me).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(De.cookie.replace(new RegExp(te),"$1"))}function re(me){for(var te=De.cookie.split(/; ?/g),ae=te.length-1;ae>=0;ae--)if(x(te[ae])){var ue=te[ae].split("="),de=unescape(ue[0]),he=unescape(ue[1]);me(he,de)}}function ne(me,te){me&&(De.cookie=escape(me)+"="+escape(te)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function ie(me){!me||!le(me)||(De.cookie=escape(me)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function oe(){re(function(me,te){ie(te)})}function le(me){return new RegExp("(?:^|;\\s*)"+escape(me).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(De.cookie)}},52496:function(sr,Wt,ke){var Re=ke(67039),vt=Re.Global;sr.exports={name:"localStorage",read:De,write:ve,each:re,remove:ne,clearAll:ie};function x(){return vt.localStorage}function De(oe){return x().getItem(oe)}function ve(oe,le){return x().setItem(oe,le)}function re(oe){for(var le=x().length-1;le>=0;le--){var me=x().key(le);oe(De(me),me)}}function ne(oe){return x().removeItem(oe)}function ie(){return x().clear()}},65300:function(sr){sr.exports={name:"memoryStorage",read:ke,write:Re,each:vt,remove:x,clearAll:De};var Wt={};function ke(ve){return Wt[ve]}function Re(ve,re){Wt[ve]=re}function vt(ve){for(var re in Wt)Wt.hasOwnProperty(re)&&ve(Wt[re],re)}function x(ve){delete Wt[ve]}function De(ve){Wt={}}},16436:function(sr,Wt,ke){var Re=ke(67039),vt=Re.Global;sr.exports={name:"oldFF-globalStorage",read:De,write:ve,each:re,remove:ne,clearAll:ie};var x=vt.globalStorage;function De(oe){return x[oe]}function ve(oe,le){x[oe]=le}function re(oe){for(var le=x.length-1;le>=0;le--){var me=x.key(le);oe(x[me],me)}}function ne(oe){return x.removeItem(oe)}function ie(){re(function(oe,le){delete x[oe]})}},76673:function(sr,Wt,ke){var Re=ke(67039),vt=Re.Global;sr.exports={name:"oldIE-userDataStorage",write:ne,read:ie,each:oe,remove:le,clearAll:me};var x="storejs",De=vt.document,ve=ue(),re=(vt.navigator?vt.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function ne(de,he){if(!re){var we=ae(de);ve(function(Se){Se.setAttribute(we,he),Se.save(x)})}}function ie(de){if(!re){var he=ae(de),we=null;return ve(function(Se){we=Se.getAttribute(he)}),we}}function oe(de){ve(function(he){for(var we=he.XMLDocument.documentElement.attributes,Se=we.length-1;Se>=0;Se--){var xe=we[Se];de(he.getAttribute(xe.name),xe.name)}})}function le(de){var he=ae(de);ve(function(we){we.removeAttribute(he),we.save(x)})}function me(){ve(function(de){var he=de.XMLDocument.documentElement.attributes;de.load(x);for(var we=he.length-1;we>=0;we--)de.removeAttribute(he[we].name);de.save(x)})}var te=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function ae(de){return de.replace(/^\d/,"___$&").replace(te,"___")}function ue(){if(!De||!De.documentElement||!De.documentElement.addBehavior)return null;var de="script",he,we,Se;try{we=new ActiveXObject("htmlfile"),we.open(),we.write("<"+de+">document.w=window</"+de+'><iframe src="/favicon.ico"></iframe>'),we.close(),he=we.w.frames[0].document,Se=he.createElement("div")}catch(xe){Se=De.createElement("div"),he=De.body}return function(xe){var ye=[].slice.call(arguments,0);ye.unshift(Se),he.appendChild(Se),Se.addBehavior("#default#userData"),Se.load(x),xe.apply(this,ye),he.removeChild(Se)}}},65578:function(sr,Wt,ke){var Re=ke(67039),vt=Re.Global;sr.exports={name:"sessionStorage",read:De,write:ve,each:re,remove:ne,clearAll:ie};function x(){return vt.sessionStorage}function De(oe){return x().getItem(oe)}function ve(oe,le){return x().setItem(oe,le)}function re(oe){for(var le=x().length-1;le>=0;le--){var me=x().key(le);oe(De(me),me)}}function ne(oe){return x().removeItem(oe)}function ie(){return x().clear()}},25365:function(sr){"use strict";sr.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAA0VJREFUOE+V03lI01EcAPD3fjucs4nmwrXNOY/VdB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T8rqO+UrP8Gpjgw8TngMx8AAAAASUVORK5CYII="},19664:function(sr){"use strict";sr.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAElZJREFUaEPFWwd0VWW2/s5NL4AEBamDSpEhSBGEyFAEpESKgDAIKCgKTx2KyjAMIlVAUIo8Hk2QFXHAR3E9BESQEAJBKUoRlECoShqQAoQkpJwz699/Of8594Sg8+a9u8K69552z9nf/+397YIBAPkpn9UySzDPgNHRMozqBgwYhsF28XeDfacvYrv7nR9nAbAMAz46E7B84hoWnUr7ynv5THYVcT67Iv8DLEu9sy2WRb/Gt9NHfh7bTv/kuWy7ZcKyTNpvsnd2qGmB3bFlymuJY+T54p1d16Cf4efx67PP8ndN/tza8fx+2PX4Pcp97Olpm3av4uns5wPSfTD3GkbAhFqx068YDJySotITBowoGD4bEAkSwwdOkGgLAcf++DnsVjgeBkwvkKTVywHJEAYhY4sHkrByw0swbJDYdm5Euc39mRlUGsxpTEMAxK9bSsaXRtSNzu6LA8T368fIxXN3kPi5dwWJwOSG8sHKNgxfU+PGqbh1sPA8J4oPEiRux/KZRMdLpmnv/zcgSWMKODWQ+OoVK1YyTqx+xz7GJI01gAnLZKyQ7LTBkMdx9jhBUiz3Au93MIlsCnO9cePkmjQA1bmhJTM4Kxwgse8ELR3F2cP9Hnd9LjAd7k5zb8rJ/a8xyWYGLb+7Msl2dzrbyN0p9nEXViaTyAXzle7FJgf4brC0hSJWj+YGpc+w3bkPSDdyT3xiUdwQxubAMKN7gSTcnQdIEiw9dt0dJA7y3V66u6MIwlwZfzKJBbkuf6aIh3TFJXWcBoA0KANJWF1cX4CkALk7kxwuzy8m2WxU8VPcm0nu2QadMZgMw+6RLfqc46stKQQ4GbyYpAkG6cb+H0Cy448QESom8YfixuaMcsYkueI1Q7hZwhWEAom7uH8BJHFvfrFKc3cOseApHEwYuUdXWRTdlVpzKTTFJBskyRLb3dnu8N/i7khx2S9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KUc1u6YqB46bCCnPaBoFASqVaXE0NBlOiqkpATtwWBUkV7KlmtlzGoOdJZgunaIoFndzaNs4f3olD3/wb76LF1qnfSLTt2dfFvP9869xhk4pdVk7K28wg7U6MCR/2PwaTTJBM8cAxiYZIiH2GuxTHKDflgKQafrVjnLxBP/VsIowYKFhNLOcFasSkQHlSneyVFXAVk7wgOXFKJowGSAH7OgFm7hSoQrGZMUkUWN1TquIY77Eqjlk5W/5VVxIUSK6YpBSe2RsSS9sI9ka1gUo2HlAdIBRIXgFijHMZosE7c+cF6WbmGwIHHtGmoM09ziVVmxYTNwmSMV3knZXj2OcadKQOb3B15y0BWdmb5+ValhWvDM6zWEwcZz5O+ikNSjAmqclULdu9DT89GBl4CIWvy0xUSlFGGGMwMhCT9P2peMS0vUEUNJjETXFS+oa7c5gkV7wuchoGl0C62g6GBA/MJHMMWVWunf6PqlZIUPOsnC3zPrV59NeR2WoA3qkocJmh1miWmxmq0h0ihx7lsHwgkHTrXAAlCGlMq3qnWlUcM2KS192p3IqhFa5AJ7dBoXKBJIN7QJCcEWPvpJDAyIhV1N81GOOIAZNJDkhmYZTdrTFUAhtrrOzUt1ujxj4C2E201JZgcZ/VNWkawOh62secBqLWufgcqCvLDs0z3+CAZIwYe9xdLVepXJScFOKWhWQOd1rVoqqDTMGnV2U85AEN2cQw5h245yd7OLo8oxt4wVyYGyQnkXUadIa6K4xARA9+HALJ8vvfsW0kKnen3JQDkptFyiUKAIUrctSaSGh56uZGIGn3ZTLJ+99dlOpz/lcFOSQxrizjSBCQboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(sr){"use strict";sr.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7svWuXJMdxJWgRmVmP7gYIgEOOtLMjUY/R7v//OfthZ85KsyNRIgg0+lFVmRk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BniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},47621:function(sr){"use strict";sr.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+mt8md3ZwBC62gRJRO7z4TuNg1hzuqxB7nEuru9397W2cKXl8EVLSaWhxBVYT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hbGjVZvzm6Utbbxed2eGNY4z5IofWHy7aRjZpu2w0l4udxI3Ce81LFcD3IscHwjH+85olXtHpGZ+yTA1vBVHZgzEZwf1UWSToAKj1Yi7ziIX8Gh3E8hl2H9/LZeiHUXHytHkniFL+8k/0ISO2WLRCIZuI015KOCAgYCDCAingSgQvU8otu9YEsL1zYFWOjW0SUjFiISapNUjDDKIWTY38AXuCALtYt/52lHR8VOC9WDnZ/XB6vTiA7UEB8QlNpHG30Ew3PIM8viGVa28CiSM16WskpraQnHMzInbKZmpmdlLr05dKxRw9sF71WH1Kx+UJRo6ofnxBe6O1tEjexMCk61P5me3GcFVsIa2cs1yar5EGzvG3FRopivTKxnuWGKOyDIdNe/+YbOM8CCLYRHqqpDMyd0p8Is4oC0STt4cZs628wWBbYnBECByU2ty32e5U9kTU7JoOMIGzAVIDuVTbZOOyETtJIz2r35ytseAijkAqz3KQnAQAvf0Kb2Rm1r4Miz470qd10IuBCQ8WrjeCpvH5AZs2GqjHnj5iOmDaiABrs28DSJNizJpTcp3VYd/cKAhVIZWBTjTqR9M2fIQGDFIbLznvV9tHncq8n3XY4cs9c+P0O6vTFw+4dYHW+ONu9veFb4GIm+J/LaXmBtdsEFdgFAA8Up9wTiocZaDRgbuB3DNjNmjQGvQ74fwJl5+NYwSun8H2aBo8h54oZTxALkTR9Zd/uT1Gsoi0bHIRf3l902VNxoWm3ctqzAaaBjmYGLDsTw9gg6XeY7graRINU7FDwtiyyExzvWOA+AneF5t9UF43Rvya0MzrR74jwhAqtE1YdjrUyTrQ5JypT/LI+izkPjTQJ67DEWrh1j/oWACsm/+FryLzaOpzYAg2TFI8kFGoP8Cq+8yTvVE1Chl4PeF1gIizRKgb+rPC5FLHYM72PZRw48cuCRA48ceOTAIwceOTDB2o8MeuTAIwceOfDIgUcOPHLgkQOX4cD/Dy5hqdeaBa56AAAAAElFTkSuQmCC"},48136:function(sr,Wt,ke){"use strict";var Re=Object.defineProperty,vt=Object.defineProperties,x=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,ne=(a,y,b)=>y in a?Re(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,ie=(a,y)=>{for(var b in y||(y={}))ve.call(y,b)&&ne(a,b,y[b]);if(De)for(var b of De(y))re.call(y,b)&&ne(a,b,y[b]);return a},oe=(a,y)=>vt(a,x(y)),le=a=>typeof a=="symbol"?a:a+"",me=(a,y)=>{var b={};for(var z in a)ve.call(a,z)&&y.indexOf(z)<0&&(b[z]=a[z]);if(a!=null&&De)for(var z of De(a))y.indexOf(z)<0&&re.call(a,z)&&(b[z]=a[z]);return b};function te(a){return Array.isArray(a)}var ae={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 ue(){return"window"in globalThis&&"document"in globalThis}function de(){return"matchMedia"in window?window.matchMedia("(pointer: coarse)").matches:"ontouchstart"in window||navigator.maxTouchPoints>0}function he(){return typeof navigator.vibrate=="function"}function we(){var a,y;if(!ue())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(!ue())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 ye={strings:ae,_locale:"",_dirty:!1,_subscribers:[],_numberFormatter:void 0,get locale(){return ye._locale||(ye._locale=ue()?navigator.language.slice(0,5):"en-US"),ye._locale},set locale(a){ye._locale=a,ye._numberFormatter=void 0,ye.dirty=!0},get numberFormatter(){return ye._numberFormatter||(ye._numberFormatter=new Intl.NumberFormat(ye.locale)),ye._numberFormatter},merge(a,y){if(typeof a=="string"&&y)ye.strings[a]=ie(ie({},ye.strings[a]),y),ye.dirty=!0;else for(const b of Object.keys(a))ye.merge(b,a[b])},get dirty(){return ye._dirty},set dirty(a){ye._dirty||ye._dirty===a||(ye._dirty=!0,setTimeout(()=>{ye._dirty=!1,this._subscribers.forEach(y=>y==null?void 0:y())},0))},subscribe(a){return ye._subscribers.push(a),ye._subscribers.length-1},unsubscribe(a){a<0||a>=ye._subscribers.length||(ye._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 ce=Ae(z);ce&&b.setAttribute("data-tooltip",ce)}}y=a.querySelectorAll("[data-l10n-arial-label]");for(const b of y){const z=b.getAttribute("data-l10n-arial-label");if(z){const ce=Ae(z);ce&&b.setAttribute("aria-label",ce)}}}};function Ae(a,...y){if(a===void 0)return;let b="";const z=ye.locale;ye.strings[z]&&(b=ye.strings[z][a]);const ce=z.slice(0,2);if(!b&&ye.strings[ce]&&(b=ye.strings[ce][a]),b||(b=ye.strings.en[a]),!b)return;const Te=/(%@|%([0-9]+)\$@)/g;let Fe=Te.exec(b),rt=0;for(;Fe;){if(y[rt++]){const mt=Fe[2]?parseInt(Fe[2],10)-1:rt-1;let wt=y[mt];typeof wt=="number"&&(wt=ye.numberFormatter.format(wt)),b=b.replace(Fe[1],wt)}Fe=Te.exec(b)}return b=b.replace(/%%/g,"%"),b}var Le={m0:"#3F3D99",m1:"#993D71",m2:"#998B3D",m3:"#3D9956",m4:"#3D5A99",m5:"#993D90",m6:"#996D3D",m7:"#43993D",m8:"#3D7999",m9:"#843D99"},Ee={blue:"#0072BD",orange:"#D95319",yellow:"#EDB120",purple:"#7E2F8E",green:"#77AC30",cyan:"#4DBEEE",red:"#A2142F"},_e={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"},Me={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"},Oe={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"},Ce={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 Ne(a){var y,b,z,ce,Te,Fe;const rt=a.split("!");let ct,mt,wt,Rt=255,Gt=255,nr=255,cr=-1;const Kr=rt.length>0&&rt[0].startsWith("-");Kr&&(rt[0]=rt[0].slice(1));for(let Pn=0;Pn<rt.length;Pn++){ct=Rt,mt=Gt,wt=nr;const zr=(y=rt[Pn].trim().match(/^([A-Za-z\d-]+)/))==null?void 0:y[1],ln=zr==null?void 0:zr.toLowerCase(),jn=zr&&(Fe=(Te=(ce=(z=(b=Me[ln])!=null?b:Me[Oe[zr]])!=null?z:Ee[zr])!=null?ce:Ce[zr])!=null?Te:Le[zr])!=null?Fe:rt[Pn].trim();let wn=jn.match(/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);if(wn!=null&&wn[1]&&wn[2]&&wn[3])Rt=Math.max(0,Math.min(255,Number.parseInt(wn[1],16))),Gt=Math.max(0,Math.min(255,Number.parseInt(wn[2],16))),nr=Math.max(0,Math.min(255,Number.parseInt(wn[3],16)));else if(wn=jn.match(/^#([\da-f]{3})$/i),wn!=null&&wn[1]){const oi=Number.parseInt(wn[1][0],16),hi=Number.parseInt(wn[1][1],16),ui=Number.parseInt(wn[1][2],16);Rt=Math.max(0,Math.min(255,oi*16+oi)),Gt=Math.max(0,Math.min(255,hi*16+hi)),nr=Math.max(0,Math.min(255,ui*16+ui))}else if(wn=jn.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),wn!=null&&wn[1]&&wn[2]&&wn[3])Rt=Math.max(0,Math.min(255,Number.parseInt(wn[1]))),Gt=Math.max(0,Math.min(255,Number.parseInt(wn[2]))),nr=Math.max(0,Math.min(255,Number.parseInt(wn[3])));else return;cr>=0&&(Rt=(1-cr)*Rt+cr*ct,Gt=(1-cr)*Gt+cr*mt,nr=(1-cr)*nr+cr*wt,cr=-1),Pn+1<rt.length&&(cr=Math.max(0,Math.min(100,Number.parseInt(rt[++Pn])))/100)}return cr>=0&&(Rt=cr*Rt+(1-cr)*ct,Gt=cr*Gt+(1-cr)*mt,nr=cr*nr+(1-cr)*wt),Kr&&(Rt=255-Rt,Gt=255-Gt,nr=255-nr),"#"+("00"+Math.round(Rt).toString(16)).slice(-2)+("00"+Math.round(Gt).toString(16)).slice(-2)+("00"+Math.round(nr).toString(16)).slice(-2)}function je(a){var y,b;return a=a.trim(),(b=(y=_e[a.toLowerCase()])!=null?y:_e[Oe[a]])!=null?b:Ne(a)}function Ze(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 Pe(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 Ue(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 ce=z<=.5?z*(b+1):z+b-z*b,Te=z*2-ce;return{r:Math.round(255*Pe(Te,ce,y+2)),g:Math.round(255*Pe(Te,ce,y)),b:Math.round(255*Pe(Te,ce,y-2))}}function Qe(a){return a<0?0:a>255?255:Math.round(a)}function tt(a){const{r:y,g:b,b:z}=a;let ce=((1<<24)+(Qe(y)<<16)+(Qe(b)<<8)+Qe(z)).toString(16).slice(1);return ce[0]===ce[1]&&ce[2]===ce[3]&&ce[4]===ce[5]&&ce[6]===ce[7]&&(ce=ce[0]+ce[2]+ce[4]),"#"+ce}function ot(a){let{r:y,g:b,b:z}=a;y=y/255,b=b/255,z=z/255;const ce=Math.min(y,b,z),Te=Math.max(y,b,z),Fe=Te-ce;let rt,ct;Te===ce?rt=0:y===Te?rt=(b-z)/Fe:b===Te?rt=2+(z-y)/Fe:z===Te&&(rt=4+(y-b)/Fe),rt=Math.min(rt*60,360),rt<0&&(rt+=360);const mt=(ce+Te)/2;return Te===ce?ct=0:mt<=.5?ct=Fe/(Te+ce):ct=Fe/(2-Te-ce),{h:rt,s:ct,l:mt}}function lt(a){let y=Ze(a);if(!y)return a;let{h:b,s:z,l:ce}=ot(y);return z+=.1,ce-=.1,tt(Ue({h:b,s:z,l:ce}))}var Ve={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"},Ye={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},nt=[{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 ce of nt)if((!y||ce.variant===y)&&(!b||ce.style===b)&&z>=ce.offset&&z<ce.offset+ce.len){const Te=ce.start+z-ce.offset;return String.fromCodePoint(Ye[Te]||Te)}return a}function at(a){var y;if((a<119808||a>120831)&&(a<8448||a>8527))return{char:String.fromCodePoint(a)};for(const b in Ye)if(Ye[b]===a){a=(y=b.codePointAt(0))!=null?y:0;break}for(const b of nt)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 et(a){var y;let b="";for(const z of a){if("{}<>[]$&#^_%:'\u02DC".includes(z)){b+=z;continue}const ce=(y=z.codePointAt(0))!=null?y:0;let Te=Ve[ce];if(Te)Te.startsWith("\\")?b+=Te+" ":b+=Te;else{const{char:Fe,variant:rt,style:ct}=at(ce);switch(Te=Fe,rt){case"double-struck":Te=`\\mathbb{${Te}}`;break;case"fraktur":Te=`\\mathfrak{${Te}}`;break;case"script":Te=`\\mathscr{${Te}}`;break;case"sans-serif":Te=`\\mathsf{${Te}}`;break;case"monospace":Te=`\\mathtt{${Te}}`;break;case"calligraphic":Te=`\\mathcal{${Te}}`;break}switch(ct){case"bold":Te=`\\mathbf{${Te}}`;break;case"italic":Te=`\\mathit{${Te}}`;break;case"bolditalic":Te=`\\mathbfit{${Te}}`;break}b+=Te}}return b}function qe(a){return a?Array.isArray(a)?a:typeof a=="object"&&"group"in a?a.group:[]:[]}var it={},yt=ie({},Ve),ht={},Bt={},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}"},st={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}},Ge={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}},We={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:Ge},"amsmath.sty":{package:st,primitive:!0},"texvc.sty":{package:Et,primitive:!1}},se={" ":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},fe=/[\w!@*()-=+{}\[\]\\';:?/.,~<>`|$%#&^" ]/,ze,He;Se()?(ze=new RegExp("\\p{Letter}","u"),He=new RegExp("[0-9\\p{Letter}]","u")):(ze=/[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/,He=/[\da-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/);function pe(a,y,b="mord",z){y!==void 0&&(it[a]={definitionType:"symbol",type:b,variant:z,codepoint:y},yt[y]||(yt[y]=a))}function Be(a,y,b){if(typeof a=="string"){for(let z=0;z<a.length;z++){const ce=a.charAt(z);pe(ce,ce.codePointAt(0))}return}for(const[z,ce,Te,Fe]of a)pe(z,ce,Te!=null?Te:y,Fe!=null?Fe:b)}function Ke(a,y){for(let b=a;b<=y;b++)pe(String.fromCodePoint(b),b)}function Xe(a){var y;return(y=Bt[a])!=null?y:null}function Je(a,y){var b,z;if(y.length===0||y==="\\"||!y.startsWith("\\"))return[];const ce=[];for(const Fe in ht)Fe.startsWith(y)&&!ht[Fe].infix&&ce.push({match:Fe,frequency:(b=ht[Fe].frequency)!=null?b:0});for(const Fe in it)Fe.startsWith(y)&&ce.push({match:Fe,frequency:(z=it[Fe].frequency)!=null?z:0});const Te=y.substring(1);for(const Fe of Object.keys(a.options.macros))Fe.startsWith(Te)&&ce.push({match:"\\"+Fe,frequency:0});return ce.sort((Fe,rt)=>{var ct,mt;return Fe.frequency===rt.frequency?Fe.match.length===rt.match.length?Fe.match<rt.match?-1:1:Fe.match.length-rt.match.length:((ct=rt.frequency)!=null?ct:0)-((mt=Fe.frequency)!=null?mt:0)}),ce.map(Fe=>Fe.match)}function ut(a){let y="auto";const b=a.match(/:([^=]+)/);return b&&(y=b[1].trim()),y}function bt(a){if(!a)return[];const y=[];let b=a.split("]");if(b[0].startsWith("[")){y.push({isOptional:!0,type:ut(b[0].slice(1))});for(let z=1;z<=b.length;z++)y.push(...bt(b[z]))}else if(b=a.split("}"),b[0].startsWith("{")){y.push({isOptional:!1,type:ut(b[0].slice(1))});for(let z=1;z<=b.length;z++)y.push(...bt(b[z]))}return y}function gt(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 Dt(a,y){typeof a=="string"&&(a=[a]);const b={tabular:!1,params:[],createAtom:y};for(const z of a)Bt[z]=b}function Vt(a,y,b){typeof a=="string"&&(a=[a]);const ce={tabular:!0,params:bt(y),createAtom:b};for(const Te of a)Bt[Te]=ce}function kt(a,y,b){var z,ce;b||(b={});const Te={definitionType:"function",params:bt(y),ifMode:b.ifMode,isFunction:(z=b.isFunction)!=null?z:!1,applyMode:b.applyMode,infix:(ce=b.infix)!=null?ce:!1,parse:b.parse,createAtom:b.createAtom,applyStyle:b.applyStyle,serialize:b.serialize,render:b.render};if(typeof a=="string")ht["\\"+a]=Te;else for(const Fe of a)ht["\\"+Fe]=Te}var jt;function _t(a){return jt||(jt=ft(We)),a?ft(ie(ie({},jt),a)):jt}function Mt(a,y){var b,z,ce,Te;if(typeof a=="string"){let Fe=0;const rt=a;return/(^|[^\\])#1/.test(rt)&&(Fe=1),/(^|[^\\])#2/.test(rt)&&(Fe=2),/(^|[^\\])#3/.test(rt)&&(Fe=3),/(^|[^\\])#4/.test(rt)&&(Fe=4),/(^|[^\\])#5/.test(rt)&&(Fe=5),/(^|[^\\])#6/.test(rt)&&(Fe=6),/(^|[^\\])#7/.test(rt)&&(Fe=7),/(^|[^\\])#8/.test(rt)&&(Fe=8),/(^|[^\\])#9/.test(rt)&&(Fe=9),{expand:(b=y==null?void 0:y.expand)!=null?b:!0,captureSelection:(z=y==null?void 0:y.captureSelection)!=null?z:!0,args:Fe,def:rt}}return ie({expand:(ce=y==null?void 0:y.expand)!=null?ce:!0,captureSelection:(Te=y==null?void 0:y.captureSelection)!=null?Te:!0,args:0},a)}function ft(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 ce of Object.keys(z.package))y[ce]=Mt(z.package[ce],{expand:!z.primitive,captureSelection:z.captureSelection});else y[b]=Mt(z)}return y}function St(a,y="math"){if(!a||a.length===0)return null;let b=null;if(a.startsWith("\\")){if(b=ht[a],b)return!b.ifMode||b.ifMode===y?b:null;y==="math"?b=it[a]:se[a]&&(b={definitionType:"symbol",type:"mord",codepoint:se[a]})}else if(y==="math"){if(b=it[a],!b&&a.length===1){const z=Ft("math",a.codePointAt(0));return z.startsWith("\\")?oe(ie({},St(z,"math")),{command:z}):null}}else se[a]?b={definitionType:"symbol",type:"mord",codepoint:se[a]}:y==="text"&&(b={definitionType:"symbol",type:"mord",codepoint:a.codePointAt(0)});return b!=null?b:null}function Nt(a,y){if(!a.startsWith("\\"))return null;const b=a.slice(1);return y[b]}function Ft(a,y){if(y===void 0)return"";if(a==="math"&&yt[y])return yt[y];if(a==="text"){const b=Object.keys(se).find(z=>se[z]===y);return b||String.fromCodePoint(y)}return String.fromCodePoint(y)}var Zt=[0,.68889,0,0,.72222],or=[0,.68889,0,0,.66667],yr=[0,.68889,0,0,.77778],Sr=[0,.68889,0,0,.61111],Fr=[.16667,.68889,0,0,.77778],Vr=[0,.68889,0,0,.55556],Br=[0,0,0,0,.25],Ur=[0,.825,0,0,2.33334],on=[0,.9,0,0,2.33334],Yr=[0,.68889,0,0,.54028],Fn=[-.03598,.46402,0,0,.5],vn=[-.13313,.36687,0,0,1],Tn=[.01354,.52239,0,0,1],qr=[.01354,.52239,0,0,1.11111],Un=[0,.54986,0,0,1],un=[0,.69224,0,0,.5],ar=[0,.43056,0,0,1],Nr=[.08198,.58198,0,0,.77778],Mr=[.19444,.69224,0,0,.41667],Or=[.1808,.675,0,0,1],Pr=[.19444,.69224,0,0,.83334],Tr=[.13667,.63667,0,0,1],wr=[-.064,.437,0,0,1.334],Xr=[.08167,.58167,0,0,.77778],Kt=[0,.69224,0,0,.72222],xt=[0,.69224,0,0,.66667],It=[-.13313,.36687,0,0,.77778],Tt=[.06062,.54986,0,0,.77778],At=[0,.69224,0,0,.77778],zt=[.25583,.75583,0,0,.77778],Ut=[.25142,.75726,0,0,.77778],ir=[.20576,.70576,0,0,.77778],er=[.30274,.79383,0,0,.77778],hr=[.22958,.72958,0,0,.77778],Cr=[.1808,.675,0,0,.77778],Dr=[.13667,.63667,0,0,.77778],Ir=[.13597,.63597,0,0,.77778],qt=[.03517,.54986,0,0,.77778],vr=[0,.675,0,0,.77778],Ht=[.19444,.69224,0,0,.61111],Yt=[0,.54986,0,0,.76042],Xt=[0,.54986,0,0,.66667],rr=[.0391,.5391,0,0,.77778],gr=[.03517,.54986,0,0,1.33334],Qt=[.38569,.88569,0,0,.77778],xr=[.23222,.74111,0,0,.77778],Lt=[.19444,.69224,0,0,.77778],Jt=[0,.37788,0,0,.5],$t=[0,.54986,0,0,.72222],dr=[0,.69224,0,0,.83334],lr=[.11111,.69224,0,0,.66667],pr=[.26167,.75726,0,0,.77778],fr=[.48256,.98256,0,0,.77778],Ar=[.28481,.79383,0,0,.77778],Rr=[.08167,.58167,0,0,.22222],Zr=[.08167,.58167,0,0,.38889],Qr=[0,.43056,.04028,0,.66667],nn=[.41951,.91951,0,0,.77778],dn=[.24982,.74947,0,0,.38865],pn=[.08319,.58283,0,0,.75623],Gr=[0,.10803,0,0,.27764],yn=[0,.47534,0,0,.50181],mn=[.18906,.47534,0,0,.50181],On=[0,.69141,0,0,.50181],cn=[.24982,.74947,0,0,.27764],Sn=[0,.69141,0,0,.21471],gn=[.25,.75,0,0,.44722],Jr=[0,.64444,0,0,.575],Ln=[.08556,.58556,0,0,.89444],Zn=[0,.69444,0,0,.89444],fn=[0,.68611,0,0,.9],Hr=[0,.68611,0,0,.86944],Wr=[.25,.75,0,0,.575],In=[.25,.75,0,0,.31944],bn=[0,.69444,0,0,.63889],Nn=[0,.69444,0,0,.31944],Hn=[0,.44444,0,0,.63889],zn=[0,.44444,0,0,.51111],Dn=[0,.69444,0,0,.575],_n=[.13333,.63333,0,0,.89444],ci=[0,.44444,0,0,.31944],hn=[0,.69444,0,0,.86944],kn=[0,.68611,0,0,.69166],Vn=[0,.68611,0,0,.83055],$n=[0,.68611,0,0,.89444],Ci=[0,.69444,0,0,.60278],Ei=[.19444,.69444,0,0,.51111],gi=[0,.69444,0,0,.83055],di=[-.10889,.39111,0,0,1.14999],Oi=[.19444,.69444,0,0,.575],Di=[.19444,.69444,0,0,1.14999],En=[.19444,.69444,0,0,.70277],An=[.05556,.75,0,0,.575],an=[0,.68611,0,0,.95833],sn=[.08556,.58556,0,0,.76666],ni=[-.02639,.47361,0,0,.575],wi=[0,.44444,0,0,.89444],Si=[0,.55556,0,0,.76666],Ai=[-.10889,.39111,0,0,.89444],vi=[.00222,.50222,0,0,.89444],Ii=[.19667,.69667,0,0,.89444],Ki=[.08556,.58556,0,0,1.14999],Ui=[0,.69444,0,0,.70277],$i=[-.02778,.47222,0,0,.575],li=[.25,.75,0,0,.51111],fi=[-.13889,.36111,0,0,1.14999],Pi=[.19444,.69444,0,0,1.02222],mi=[.12963,.69444,0,0,.89444],ki=[.19444,.69444,0,0,.44722],Er=[0,.64444,.13167,0,.59111],br=[.19444,.64444,.13167,0,.59111],mr=[0,.68611,.17208,0,.8961],jr=[.19444,.44444,.105,0,.53222],en=[0,.44444,.085,0,.82666],tn=[0,.69444,.06709,0,.59111],_r=[0,.69444,.12945,0,.35555],Cn=[0,.69444,0,0,.94888],Gn=[0,.69444,.11472,0,.59111],si=[0,.68611,.10778,0,.88555],Yn=[0,.69444,.07939,0,.62055],xn=[0,.69444,.12417,0,.30667],Xn=[0,.64444,.13556,0,.51111],ei=[.19444,.64444,.13556,0,.51111],xi=[0,.68333,.16389,0,.74333],ti=[.19444,.43056,.08847,0,.46],qn=[0,.43056,.07514,0,.71555],yi=[0,.69444,.06646,0,.51111],Li=[0,.69444,0,0,.83129],Fi=[0,.69444,.1225,0,.51111],ra=[0,.68333,.09403,0,.76666],Ea=[0,.68333,.11111,0,.76666],Lo=[0,.69444,.06961,0,.51444],Za=[0,.69444,0,0,.27778],ma=[.25,.75,0,0,.38889],ca=[0,.64444,0,0,.5],ho=[0,.69444,0,0,.77778],Oa=[0,.68333,0,0,.75],Va=[0,.68333,0,0,.77778],Mo=[0,.68333,0,0,.68056],po=[0,.68333,0,0,.72222],ga=[.25,.75,0,0,.5],ua=[.25,.75,0,0,.27778],Hi=[0,.69444,0,0,.5],mo=[0,.69444,0,0,.55556],zo=[0,.43056,0,0,.44445],so=[0,.43056,0,0,.5],Ri=[.19444,.43056,0,0,.55556],Bi=[0,.43056,0,0,.55556],Qi=[.08333,.58333,0,0,.77778],Ra=[0,.43056,0,0,.27778],na=[0,.66786,0,0,.27778],Ha=[0,.69444,0,0,.75],Ga=[0,.66786,0,0,.5],lo=[0,.68333,0,0,.625],Wa=[.19444,.69444,0,0,.44445],go=[0,.69444,0,0,.72222],vo=[.19444,.69444,0,0,.5],Na=[.19444,.69444,0,0,1],xl=[.011,.511,0,0,1.126],Yo=[.19444,.69444,0,0,.61111],Qs=[.05556,.75,0,0,.5],Hl=[0,.68333,0,0,.83334],Wl=[.0391,.5391,0,0,.66667],Cs=[-.05555,.44445,0,0,.5],Mc=[0,.43056,0,0,.77778],as=[0,.55556,0,0,.66667],wl=[-.03625,.46375,0,0,.77778],Jo=[-.01688,.48312,0,0,.77778],os=[.0391,.5391,0,0,1],Zi=[0,.69444,0,0,.61111],Gi=[-.03472,.46528,0,0,.5],qi=[.25,.75,0,0,.44445],no=[-.14236,.35764,0,0,1],_a=[.244,.744,0,0,.412],ko=[.19444,.69444,0,0,.88889],wo=[.12963,.69444,0,0,.77778],Xa=[.19444,.69444,0,0,.38889],Po=[.011,.511,0,0,1.638],Ro=[.19444,.69444,0,0,0],To=[0,.44444,0,0,.575],ss=[.19444,.44444,0,0,.575],Ul=[0,.68611,0,0,.75555],Sl=[0,.69444,0,0,.66759],Mu=[0,.68611,0,0,.80555],ku=[0,.68611,.08229,0,.98229],Zl=[0,.68611,0,0,.76666],Nd=[0,.44444,0,0,.58472],kc=[.19444,.44444,0,0,.6118],Cl=[.19444,.43056,0,0,.5],Tu=[0,.68333,.02778,.08334,.76278],Tc=[0,.68333,.08125,.05556,.83125],$s=[0,.43056,0,.05556,.48472],Vl=[.19444,.43056,0,.08334,.51702],Ou=[.25,.75,0,0,.42778],ja=[0,.69444,0,0,.55],ls=[0,.69444,0,0,.73334],Es=[0,.69444,0,0,.79445],_d=[0,.69444,0,0,.51945],Gl=[0,.69444,0,0,.70278],Oc=[0,.69444,0,0,.76389],el=[.25,.75,0,0,.34306],tl=[0,.69444,0,0,.56111],jd=[0,.69444,0,0,.25556],Xl=[.19444,.45833,0,0,.56111],Du=[0,.45833,0,0,.56111],As=[0,.69444,0,0,.30556],Iu=[0,.69444,0,0,.58056],Ms=[0,.69444,0,0,.67223],rl=[0,.69444,0,0,.85556],cs=[0,.69444,0,0,.55834],So=[0,.65556,.11156,0,.5],ks=[0,.69444,.08094,0,.70834],Dc=[.17014,0,0,0,.44445],Bu=[0,.69444,.0799,0,.5],Lu=[0,.69444,0,0,.73752],Fd=[0,.69444,.09205,0,.5],Ts=[0,.69444,.09031,0,.77778],us=[0,.69444,.07816,0,.27778],zd=[0,.69444,.00316,0,.5],Kd=[.19444,.69444,0,0,.83334],Hd=[.05556,.75,0,0,.83334],Wd=[0,.75,0,0,.5],Ud=[.125,.08333,0,0,.27778],Zd=[0,.08333,0,0,.27778],xa=[0,.65556,0,0,.5],Da=[0,.69444,0,0,.47222],va=[0,.69444,0,0,.66667],Fa=[0,.69444,0,0,.59722],nl=[0,.69444,0,0,.54167],Pu=[0,.69444,0,0,.70834],Yl=[.25,.75,0,0,.28889],Ru=[0,.69444,0,0,.51667],Vd=[0,.44444,0,0,.44445],Gd=[.19444,.44444,0,0,.51667],Ic=[0,.44444,0,0,.38333],Nu=[0,.44444,0,0,.51667],Bc=[0,.69444,0,0,.83334],Xd=[.35001,.85,0,0,.45834],Lc=[.35001,.85,0,0,.57778],Pc=[.35001,.85,0,0,.41667],_u=[.35001,.85,0,0,.58334],Jl=[0,.72222,0,0,.55556],Rc=[1e-5,.6,0,0,.66667],ju=[1e-5,.6,0,0,.77778],El=[.25001,.75,0,0,.94445],Yd=[.306,.805,.19445,0,.47222],Ql=[.30612,.805,.19445,0,.47222],Ya=[.25001,.75,0,0,.83334],il=[.35001,.85,0,0,.47222],Fu=[.25001,.75,0,0,1.11111],zu=[.65002,1.15,0,0,.59722],Co=[.65002,1.15,0,0,.81111],Ji=[.65002,1.15,0,0,.47222],No=[.65002,1.15,0,0,.66667],Ko=[0,.75,0,0,1],ds=[.55001,1.05,0,0,1.27778],Ku=[.862,1.36,.44445,0,.55556],Nc=[.86225,1.36,.44445,0,.55556],al=[.55001,1.05,0,0,1.11111],_c=[.65002,1.15,0,0,.52778],jc=[.65002,1.15,0,0,.61111],ol=[.55001,1.05,0,0,1.51112],Hu=[.95003,1.45,0,0,.73611],Fc=[.95003,1.45,0,0,1.04445],fs=[.95003,1.45,0,0,.52778],$l=[.95003,1.45,0,0,.75],ql=[0,.75,0,0,1.44445],zc=[.95003,1.45,0,0,.58334],ec=[1.25003,1.75,0,0,.79167],Kc=[1.25003,1.75,0,0,1.27778],Wu=[1.25003,1.75,0,0,.58334],Hc=[1.25003,1.75,0,0,.80556],tc=[0,.825,0,0,1.8889],Wc=[1.25003,1.75,0,0,.63889],Uc=[.64502,1.155,0,0,.875],rc=[1e-5,.6,0,0,.875],Zc=[-99e-5,.601,0,0,.66667],Vc=[.64502,1.155,0,0,.66667],Jd=[1e-5,.9,0,0,.88889],Uu=[.65002,1.15,0,0,.88889],sl=[.90001,0,0,0,.88889],Gc=[-.00499,.605,0,0,1.05556],ll=[0,.12,0,0,.45],ai=[0,.61111,0,0,.525],Oo=[.08333,.69444,0,0,.525],Zu=[-.08056,.53055,0,0,.525],Qd=[-.05556,.55556,0,0,.525],co=[0,.43056,0,0,.525],Ia=[.22222,.43056,0,0,.525],nc=[0,0,0,0,.525],$d={"AMS-Regular":{32:Br,65:Zt,66:or,67:Zt,68:Zt,69:or,70:Sr,71:yr,72:yr,73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:yr,76:or,77:[0,.68889,0,0,.94445],78:Zt,79:Fr,80:Sr,81:Fr,82:Zt,83:Vr,84:or,85:Zt,86:Zt,87:[0,.68889,0,0,1],88:Zt,89:Zt,90:or,107:Vr,160:Br,165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:Vr,295:Yr,710:Ur,732:on,770:Ur,771:on,989:Xr,1008:Qr,8245:[0,.54986,0,0,.275],8463:Yr,8487:Zt,8498:Vr,8502:or,8503:[0,.68889,0,0,.44445],8504:or,8513:[0,.68889,0,0,.63889],8592:Fn,8594:Fn,8602:vn,8603:vn,8606:Tn,8608:Tn,8610:qr,8611:qr,8619:Un,8620:Un,8621:[-.13313,.37788,0,0,1.38889],8622:vn,8624:un,8625:un,8630:ar,8631:ar,8634:Nr,8635:Nr,8638:Mr,8639:Mr,8642:Mr,8643:Mr,8644:Or,8646:Or,8647:Or,8648:Pr,8649:Or,8650:Pr,8651:Tn,8652:Tn,8653:vn,8654:vn,8655:vn,8666:Tr,8667:Tr,8669:[-.13313,.37788,0,0,1],8672:wr,8674:wr,8705:[0,.825,0,0,.5],8708:Vr,8709:Xr,8717:[0,.43056,0,0,.42917],8722:Fn,8724:[.08198,.69224,0,0,.77778],8726:Xr,8733:At,8736:Kt,8737:Kt,8738:[.03517,.52239,0,0,.72222],8739:Rr,8740:[.25142,.74111,0,0,.27778],8741:Zr,8742:[.25142,.74111,0,0,.5],8756:xt,8757:xt,8764:It,8765:[-.13313,.37788,0,0,.77778],8769:It,8770:wl,8774:er,8776:Jo,8778:Xr,8782:Tt,8783:Tt,8785:Nr,8786:Nr,8787:Nr,8790:At,8791:hr,8796:[.08198,.91667,0,0,.77778],8806:zt,8807:zt,8808:Ut,8809:Ut,8812:[.25583,.75583,0,0,.5],8814:ir,8815:ir,8816:er,8817:er,8818:hr,8819:hr,8822:Cr,8823:Cr,8828:Dr,8829:Dr,8830:hr,8831:hr,8832:ir,8833:ir,8840:er,8841:er,8842:Ir,8843:Ir,8847:qt,8848:qt,8858:Nr,8859:Nr,8861:Nr,8862:vr,8863:vr,8864:vr,8865:vr,8872:[0,.69224,0,0,.61111],8873:Kt,8874:[0,.69224,0,0,.88889],8876:Sr,8877:Sr,8878:Zt,8879:Zt,8882:qt,8883:qt,8884:Dr,8885:Dr,8888:[0,.54986,0,0,1.11111],8890:Ri,8891:Ht,8892:Ht,8901:[0,.54986,0,0,.27778],8903:Xr,8905:Xr,8906:Xr,8907:At,8908:At,8909:[-.03598,.46402,0,0,.77778],8910:Yt,8911:Yt,8912:qt,8913:qt,8914:Xt,8915:Xt,8916:xt,8918:rr,8919:rr,8920:gr,8921:gr,8922:Qt,8923:Qt,8926:Dr,8927:Dr,8928:er,8929:er,8934:xr,8935:xr,8936:xr,8937:xr,8938:ir,8939:ir,8940:er,8941:er,8994:Lt,8995:Lt,9416:[.15559,.69224,0,0,.90222],9484:un,9488:un,9492:Jt,9496:Jt,9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:vr,9633:vr,9650:$t,9651:$t,9654:qt,9660:$t,9661:$t,9664:qt,9674:lr,9733:[.19444,.69224,0,0,.94445],10003:dr,10016:dr,10731:lr,10846:[.19444,.75583,0,0,.61111],10877:Dr,10878:Dr,10885:zt,10886:zt,10887:Ir,10888:Ir,10889:pr,10890:pr,10891:fr,10892:fr,10901:Dr,10902:Dr,10933:Ut,10934:Ut,10935:pr,10936:pr,10937:pr,10938:pr,10949:zt,10950:zt,10955:Ar,10956:Ar,57350:Rr,57351:Zr,57352:Xr,57353:Qr,57356:Ut,57357:Ut,57358:nn,57359:er,57360:er,57361:nn,57366:Ut,57367:Ut,57368:Ut,57369:Ut,57370:Ir,57371:Ir},"Caligraphic-Regular":{32:Br,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:Br},"Fraktur-Regular":{32:Br,33:[0,.69141,0,0,.29574],34:Sn,38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:dn,41:dn,42:[0,.62119,0,0,.27764],43:pn,44:Gr,45:pn,46:Gr,47:[.24982,.74947,0,0,.50181],48:yn,49:yn,50:yn,51:mn,52:mn,53:mn,54:On,55:mn,56:On,57:mn,58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:cn,93:cn,94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:Br,8216:Sn,8217:Sn,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:Br,33:[0,.69444,0,0,.35],34:Ci,35:[.19444,.69444,0,0,.95833],36:An,37:[.05556,.75,0,0,.95833],38:Zn,39:Nn,40:gn,41:gn,42:[0,.75,0,0,.575],43:_n,44:[.19444,.15556,0,0,.31944],45:Ic,46:[0,.15556,0,0,.31944],47:Wr,48:Jr,49:Jr,50:Jr,51:Jr,52:Jr,53:Jr,54:Jr,55:Jr,56:Jr,57:Jr,58:ci,59:[.19444,.44444,0,0,.31944],60:Ln,61:Ai,62:Ln,63:[0,.69444,0,0,.54305],64:Zn,65:Hr,66:[0,.68611,0,0,.81805],67:Vn,68:[0,.68611,0,0,.88194],69:Ul,70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:fn,73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:kn,77:[0,.68611,0,0,1.09166],78:fn,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:Hr,89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:In,92:Wr,93:In,94:Dn,95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:bn,99:zn,100:bn,101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:bn,105:Nn,106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:Nn,109:[0,.44444,0,0,.95833],110:Hn,111:To,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:Hn,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:zn,123:Wr,124:In,125:Wr,126:[.35,.34444,0,0,.575],160:Br,163:[0,.69444,0,0,.86853],168:Dn,172:[0,.44444,0,0,.76666],176:hn,177:_n,184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:_n,216:[.04861,.73472,0,0,.89444],223:Fa,230:[0,.44444,0,0,.83055],247:_n,248:[.09722,.54167,0,0,.575],305:ci,338:[0,.68611,0,0,1.16944],339:wi,567:[.19444,.44444,0,0,.35139],710:Dn,711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:Dn,715:Dn,728:Dn,729:Nn,730:hn,732:Dn,733:Dn,915:kn,916:an,920:$n,923:Mu,926:Zl,928:fn,931:Vn,933:$n,934:Vn,936:$n,937:Vn,8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:Nn,8217:Nn,8220:Ci,8221:Ci,8224:Ei,8225:Ei,8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:Sl,8465:gi,8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:gi,8501:Ui,8592:di,8593:Oi,8594:di,8595:Oi,8596:di,8597:Wr,8598:Di,8599:Di,8600:Di,8601:Di,8636:di,8637:di,8640:di,8641:di,8656:di,8657:En,8658:di,8659:En,8660:di,8661:[.25,.75,0,0,.70277],8704:bn,8706:[0,.69444,.06389,0,.62847],8707:bn,8709:An,8711:an,8712:sn,8715:sn,8722:_n,8723:_n,8725:Wr,8726:Wr,8727:$i,8728:ni,8729:ni,8730:[.18,.82,0,0,.95833],8733:wi,8734:[0,.44444,0,0,1.14999],8736:Kt,8739:In,8741:Wr,8743:Si,8744:Si,8745:Si,8746:Si,8747:[.19444,.69444,.12778,0,.56875],8764:Ai,8768:[.19444,.69444,0,0,.31944],8771:vi,8776:[.02444,.52444,0,0,.89444],8781:vi,8801:vi,8804:Ii,8805:Ii,8810:Ki,8811:Ki,8826:Ln,8827:Ln,8834:Ln,8835:Ln,8838:Ii,8839:Ii,8846:Si,8849:Ii,8850:Ii,8851:Si,8852:Si,8853:_n,8854:_n,8855:_n,8856:_n,8857:_n,8866:Ui,8867:Ui,8868:Zn,8869:Zn,8900:ni,8901:[-.02639,.47361,0,0,.31944],8902:$i,8968:li,8969:li,8970:li,8971:li,8994:fi,8995:fi,9651:Pi,9657:$i,9661:Pi,9667:$i,9711:Di,9824:mi,9825:mi,9826:mi,9827:mi,9837:[0,.75,0,0,.44722],9838:ki,9839:ki,10216:gn,10217:gn,10815:fn,10927:Ii,10928:Ii,57376:Ro},"Main-BoldItalic":{32:Br,33:[0,.69444,.11417,0,.38611],34:Yn,35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:_r,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:Er,49:Er,50:Er,51:Er,52:br,53:Er,54:Er,55:br,56:Er,57:Er,58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:Gn,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:mr,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:mr,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:tn,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:jr,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:jr,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:Br,168:[0,.69444,.11473,0,.59111],176:Cn,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:en,248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:en,567:[.19444,.44444,.04611,0,.385],710:tn,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:_r,730:Cn,732:Gn,733:Gn,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:mr,931:[0,.68611,.11431,0,.82666],933:si,934:[0,.68611,.05632,0,.82666],936:si,937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:_r,8217:_r,8220:[0,.69444,.16772,0,.62055],8221:Yn},"Main-Italic":{32:Br,33:xn,34:Lo,35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:xn,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:Xn,49:Xn,50:Xn,51:Xn,52:ei,53:Xn,54:Xn,55:ei,56:Xn,57:Xn,58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:Fi,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:xi,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:xi,79:ra,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:xi,86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:yi,95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:ti,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:ti,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:Br,168:[0,.66786,.10474,0,.51111],176:Li,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:qn,248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:qn,710:yi,711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:Li,732:[0,.66786,.11585,0,.51111],733:Fi,915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:ra,923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:xi,931:[0,.68333,.12028,0,.71555],933:Ea,934:[0,.68333,.05986,0,.71555],936:Ea,937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:xn,8217:xn,8220:[0,.69444,.1685,0,.51444],8221:Lo,8463:Yr},"Main-Regular":{32:Br,33:Za,34:Hi,35:Kd,36:Qs,37:Hd,38:ho,39:Za,40:ma,41:ma,42:Wd,43:Qi,44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:ga,48:ca,49:ca,50:ca,51:ca,52:ca,53:ca,54:ca,55:ca,56:ca,57:ca,58:Ra,59:[.19444,.43056,0,0,.27778],60:rr,61:It,62:rr,63:Da,64:ho,65:Oa,66:[0,.68333,0,0,.70834],67:po,68:[0,.68333,0,0,.76389],69:Mo,70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:Oa,73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:Va,76:lo,77:[0,.68333,0,0,.91667],78:Oa,79:Va,80:Mo,81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:po,85:Oa,86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:Oa,89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:ua,92:ga,93:ua,94:Hi,95:[.31,.12056,.02778,0,.5],97:so,98:mo,99:zo,100:mo,101:zo,102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:mo,105:na,106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:Za,109:[0,.43056,0,0,.83334],110:Bi,111:so,112:Ri,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:Bi,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:zo,123:ga,124:ua,125:ga,126:[.35,.31786,0,0,.5],160:Br,163:[0,.69444,0,0,.76909],167:Wa,168:Ga,172:[0,.43056,0,0,.66667],176:Ha,177:Qi,182:Yo,184:Dc,198:[0,.68333,0,0,.90278],215:Qi,216:[.04861,.73194,0,0,.77778],223:Hi,230:[0,.43056,0,0,.72222],247:Qi,248:[.09722,.52778,0,0,.5],305:Ra,338:[0,.68333,0,0,1.01389],339:Mc,567:[.19444,.43056,0,0,.30556],710:Hi,711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:Hi,715:Hi,728:Hi,729:na,730:Ha,732:Ga,733:Hi,915:lo,916:Hl,920:Va,923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:Oa,931:po,933:Va,934:po,936:Va,937:po,8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:Za,8217:Za,8220:Hi,8221:Hi,8224:Wa,8225:Wa,8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:Yr,8465:go,8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:go,8501:Zi,8592:vn,8593:vo,8594:vn,8595:vo,8596:vn,8597:ga,8598:Na,8599:Na,8600:Na,8601:Na,8614:[.011,.511,0,0,1],8617:xl,8618:xl,8636:vn,8637:vn,8640:vn,8641:vn,8652:[.011,.671,0,0,1],8656:vn,8657:Yo,8658:vn,8659:Yo,8660:vn,8661:[.25,.75,0,0,.61111],8704:mo,8706:[0,.69444,.05556,.08334,.5309],8707:mo,8709:Qs,8711:Hl,8712:Wl,8715:Wl,8722:Qi,8723:Qi,8725:ga,8726:ga,8727:Gi,8728:Cs,8729:Cs,8730:[.2,.8,0,0,.83334],8733:Mc,8734:ar,8736:Kt,8739:ua,8741:ga,8743:as,8744:as,8745:as,8746:as,8747:[.19444,.69444,.11111,0,.41667],8764:It,8768:[.19444,.69444,0,0,.27778],8771:wl,8773:[-.022,.589,0,0,1],8776:Jo,8781:wl,8784:[-.133,.67,0,0,.778],8801:wl,8804:Ir,8805:Ir,8810:os,8811:os,8826:rr,8827:rr,8834:rr,8835:rr,8838:Ir,8839:Ir,8846:as,8849:Ir,8850:Ir,8851:as,8852:as,8853:Qi,8854:Qi,8855:Qi,8856:Qi,8857:Qi,8866:Zi,8867:Zi,8868:ho,8869:ho,8872:[.249,.75,0,0,.867],8900:Cs,8901:[-.05555,.44445,0,0,.27778],8902:Gi,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:qi,8969:qi,8970:qi,8971:qi,8994:no,8995:no,9136:_a,9137:_a,9651:ko,9657:Gi,9661:ko,9667:Gi,9711:Na,9824:wo,9825:wo,9826:wo,9827:wo,9837:[0,.75,0,0,.38889],9838:Xa,9839:Xa,10216:ma,10217:ma,10222:_a,10223:_a,10229:[.011,.511,0,0,1.609],10230:Po,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:Po,10815:Oa,10927:Ir,10928:Ir,57376:Ro},"Math-BoldItalic":{32:Br,48:To,49:To,50:To,51:ss,52:ss,53:ss,54:Jr,55:ss,56:Jr,57:ss,65:Hr,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:ku,73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:Ul,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:Sl,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:Nd,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:Br,915:[0,.68611,.15972,0,.65694],916:an,920:[0,.68611,.03194,0,.86722],923:Mu,926:[0,.68611,.07458,0,.84125],928:ku,931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:Zl,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:Nd,960:[0,.44444,.03704,0,.68241],961:kc,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:kc,1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:Br,48:so,49:so,50:so,51:Cl,52:Cl,53:Cl,54:ca,55:Cl,56:ca,57:Cl,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:Tc,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:Tu,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:$s,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:Br,915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:Tu,923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:Tc,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:$s,960:[0,.43056,.03588,0,.57003],961:Vl,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:Vl,1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:Br,33:[0,.69444,0,0,.36667],34:cs,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:As,40:Ou,41:Ou,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:ja,49:ja,50:ja,51:ja,52:ja,53:ja,54:ja,55:ja,56:ja,57:ja,58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:_d,64:ls,65:ls,66:ls,67:Gl,68:Es,69:[0,.69444,0,0,.64167],70:Zi,71:ls,72:Es,73:[0,.69444,0,0,.33056],74:_d,75:Oc,76:Iu,77:[0,.69444,0,0,.97778],78:Es,79:Es,80:Gl,81:[.10556,.69444,0,0,.79445],82:Gl,83:Zi,84:ls,85:Oc,86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:ls,89:[0,.69444,.0275,0,.73334],90:Ms,91:el,93:el,94:ja,95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:tl,99:[0,.45833,0,0,.48889],100:tl,101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:tl,105:jd,106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:jd,109:[0,.45833,0,0,.86667],110:Du,111:[0,.45833,0,0,.55],112:Xl,113:Xl,114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:Du,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:Br,168:ja,176:ls,180:ja,184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:ja,711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:ja,729:As,730:ls,732:ja,733:ja,915:Iu,916:[0,.69444,0,0,.91667],920:rl,923:Ms,926:ls,928:Es,931:Es,933:rl,934:Es,936:rl,937:Es,8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:As,8217:As,8220:cs,8221:cs},"SansSerif-Italic":{32:Br,33:[0,.69444,.05733,0,.31945],34:zd,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:us,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:Ud,45:[0,.44444,.01946,0,.33333],46:Zd,47:[.25,.75,.13164,0,.5],48:So,49:So,50:So,51:So,52:So,53:So,54:So,55:So,56:So,57:So,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:va,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:ks,73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:nl,77:[0,.69444,.08094,0,.875],78:ks,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:Bu,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:Br,168:[0,.67937,.06385,0,.5],176:Lu,184:Dc,305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:Bu,711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:Fd,715:Hi,728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:Lu,732:[0,.67659,.08826,0,.5],733:Fd,915:[0,.69444,.13372,0,.54167],916:Bc,920:[0,.69444,.07555,0,.77778],923:Zi,926:[0,.69444,.12816,0,.66667],928:ks,931:[0,.69444,.11983,0,.72222],933:Ts,934:[0,.69444,.04603,0,.72222],936:Ts,937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:us,8217:us,8220:[0,.69444,.14205,0,.5],8221:zd},"SansSerif-Regular":{32:Br,33:[0,.69444,0,0,.31945],34:Hi,35:Kd,36:Qs,37:Hd,38:[0,.69444,0,0,.75834],39:Za,40:ma,41:ma,42:Wd,43:Qi,44:Ud,45:[0,.44444,0,0,.33333],46:Zd,47:ga,48:xa,49:xa,50:xa,51:xa,52:xa,53:xa,54:xa,55:xa,56:xa,57:xa,58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:Da,64:va,65:va,66:va,67:bn,68:[0,.69444,0,0,.72223],69:Fa,70:[0,.69444,0,0,.56945],71:va,72:Pu,73:Za,74:Da,75:[0,.69444,0,0,.69445],76:nl,77:[0,.69444,0,0,.875],78:Pu,79:[0,.69444,0,0,.73611],80:bn,81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:mo,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:va,89:[0,.69444,.025,0,.66667],90:Zi,91:Yl,93:Yl,94:Hi,95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:Ru,99:Vd,100:Ru,101:Vd,102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:Ru,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:Nu,111:[0,.44444,0,0,.5],112:Gd,113:Gd,114:[0,.44444,.01389,0,.34167],115:Ic,116:[0,.57143,0,0,.36111],117:Nu,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:Br,168:[0,.67937,0,0,.5],176:va,184:Dc,305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:Hi,711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:Hi,715:Hi,728:Hi,729:[0,.67937,0,0,.27778],730:va,732:[0,.67659,0,0,.5],733:Hi,915:nl,916:Bc,920:ho,923:Zi,926:va,928:Pu,931:go,933:ho,934:go,936:ho,937:go,8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:Za,8217:Za,8220:Hi,8221:Hi},"Script-Regular":{32:Br,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:Br},"Size1-Regular":{32:Br,40:Xd,41:Xd,47:Lc,91:Pc,92:Lc,93:Pc,123:_u,125:_u,160:Br,710:Jl,732:Jl,770:Jl,771:Jl,8214:[-99e-5,.601,0,0,.77778],8593:Rc,8595:Rc,8657:ju,8659:ju,8719:El,8720:El,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:Ql,8748:Yd,8749:Yd,8750:Ql,8896:Ya,8897:Ya,8898:Ya,8899:Ya,8968:il,8969:il,8970:il,8971:il,9168:Zc,10216:il,10217:il,10752:Fu,10753:Fu,10754:Fu,10756:Ya,10758:Ya},"Size2-Regular":{32:Br,40:zu,41:zu,47:Co,91:Ji,92:Co,93:Ji,123:No,125:No,160:Br,710:Ko,732:Ko,770:Ko,771:Ko,8719:ds,8720:ds,8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:Nc,8748:Ku,8749:Ku,8750:Nc,8896:al,8897:al,8898:al,8899:al,8968:_c,8969:_c,8970:_c,8971:_c,10216:jc,10217:jc,10752:ol,10753:ol,10754:ol,10756:al,10758:al},"Size3-Regular":{32:Br,40:Hu,41:Hu,47:Fc,91:fs,92:Fc,93:fs,123:$l,125:$l,160:Br,710:ql,732:ql,770:ql,771:ql,8730:[.95003,1.45,0,0,1],8968:zc,8969:zc,8970:zc,8971:zc,10216:$l,10217:$l},"Size4-Regular":{32:Br,40:ec,41:ec,47:Kc,91:Wu,92:Kc,93:Wu,123:Hc,125:Hc,160:Br,710:tc,732:tc,770:tc,771:tc,8730:[1.25003,1.75,0,0,1],8968:Wc,8969:Wc,8970:Wc,8971:Wc,9115:Uc,9116:rc,9117:Uc,9118:Uc,9119:rc,9120:Uc,9121:Vc,9122:Zc,9123:Vc,9124:Vc,9125:Zc,9126:Vc,9127:Jd,9128:Uu,9129:sl,9130:[0,.3,0,0,.88889],9131:Jd,9132:Uu,9133:sl,9143:[.88502,.915,0,0,1.05556],10216:Hc,10217:Hc,57344:Gc,57345:Gc,57680:ll,57681:ll,57682:ll,57683:ll},"Typewriter-Regular":{32:nc,33:ai,34:ai,35:ai,36:Oo,37:Oo,38:ai,39:ai,40:Oo,41:Oo,42:[0,.52083,0,0,.525],43:Zu,44:[.13889,.125,0,0,.525],45:Zu,46:[0,.125,0,0,.525],47:Oo,48:ai,49:ai,50:ai,51:ai,52:ai,53:ai,54:ai,55:ai,56:ai,57:ai,58:co,59:[.13889,.43056,0,0,.525],60:Qd,61:[-.19549,.41562,0,0,.525],62:Qd,63:ai,64:ai,65:ai,66:ai,67:ai,68:ai,69:ai,70:ai,71:ai,72:ai,73:ai,74:ai,75:ai,76:ai,77:ai,78:ai,79:ai,80:ai,81:[.13889,.61111,0,0,.525],82:ai,83:ai,84:ai,85:ai,86:ai,87:ai,88:ai,89:ai,90:ai,91:Oo,92:Oo,93:Oo,94:ai,95:[.09514,0,0,0,.525],96:ai,97:co,98:ai,99:co,100:ai,101:co,102:ai,103:Ia,104:ai,105:ai,106:[.22222,.61111,0,0,.525],107:ai,108:ai,109:co,110:co,111:co,112:Ia,113:Ia,114:co,115:co,116:[0,.55358,0,0,.525],117:co,118:co,119:co,120:co,121:Ia,122:co,123:Oo,124:Oo,125:Oo,126:ai,127:ai,160:nc,176:ai,184:[.19445,0,0,0,.525],305:co,567:Ia,711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:ai,715:ai,728:ai,730:ai,770:ai,771:ai,776:ai,915:ai,916:ai,920:ai,923:ai,926:ai,928:ai,931:ai,933:ai,934:ai,936:ai,937:ai,8216:ai,8217:ai,8242:ai,9251:[.11111,.21944,0,0,.525]}},qd=/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,cl=10,uo=.25,Xc=1.2,hs=.431,Vu={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[hs,hs,hs],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:[uo,uo,uo],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],Os=5,Gu={"\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 ps(a,y){a===void 0&&(a=77);const b=$d[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 Gu)a=Gu[z].codePointAt(0);else if(qd.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 Jc={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]},ul={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]},ef={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 Al(a){if(ul[a]){const[mt,wt,Rt]=ul[a],Gt=`<span class="stretchy" style="height:${Rt}em"><svg width="100%" height="${Rt}em" viewBox="0 0 ${mt} ${wt}" preserveAspectRatio="none" ><path fill="currentcolor" d="${ef[a]}"></path></svg></span>`;return`<span style="display:inline-block;height:${Math.floor(100*Rt/2)/100}em;min-width:0">${Gt}</span>`}const[y,b,z,ce]=Jc[a];let Te,Fe;const rt=z/1e3;y.length===3?(Te=["slice-1-of-3","slice-2-of-3","slice-3-of-3"],Fe=["xMinYMin","xMidYMin","xMaxYMin"]):y.length===2?(Te=["slice-1-of-2","slice-2-of-2"],Fe=["xMinYMin","xMaxYMin"]):(Te=["slice-1-of-1"],Fe=[ce]);const ct=y.map((mt,wt)=>`<span class="${Te[wt]}" style=height:${rt}em><svg width=400em height=${rt}em viewBox="0 0 400000 ${z}" preserveAspectRatio="${Fe[wt]} slice"><path fill="currentcolor" d="${ef[mt]}"></path></svg></span>`).join("");return`<span style="display:inline-block;height:${rt}em;min-width:${b}em;">${ct}</span>`}function tf(a){return Jc[a]?Jc[a][2]/1e3:ul[a][2]}function rf(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 ce=a.charCodeAt(b+1);if(ce>=56320&&ce<=57343){const Te=z-55296,Fe=ce-56320;z=Js(2,16)+Te*Js(2,10)+Fe,b++}}y.push(z)}return y}var ic=8205,ac=[[ic,1],[65038,2],[127995,5],[129456,4],[917536,96]],Ds,Ml=[127462,127487];function kl(a){var y;if(Ds===void 0){Ds={};for(const b of ac)for(let z=b[0];z<=b[0]+b[1]-1;z++)Ds[z]=!0}return(y=Ds[a])!=null?y:!1}function nf(a){return a>=Ml[0]&&a<=Ml[1]}function af(a){if(/^[\u0020-\u00FF]*$/.test(a))return a;const y=[],b=rf(a);let z=0;for(;z<b.length;){const ce=b[z++],Te=b[z];if(Te===ic){const Fe=z-1;for(z+=2;b[z]===ic;)z+=2;y.push(String.fromCodePoint(...b.slice(Fe,z-Fe+1)))}else if(kl(Te)){const Fe=z-1;for(;kl(b[z]);)z+=b[z]===ic?2:1;y.push(String.fromCodePoint(...b.slice(Fe,2*z-Fe-1)))}else nf(ce)?(z+=1,y.push(String.fromCodePoint(...b.slice(z-2,2)))):y.push(String.fromCodePoint(ce))}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 Is(a,y){var b,z,ce,Te;const Fe=[];let rt=a.next();if(rt&&rt!=="\\relax"){if(rt==="\\noexpand")rt=a.next(),rt&&Fe.push(rt);else if(rt==="\\obeyspaces")a.obeyspaces=!0;else if(rt==="\\bgroup")Fe.push("<{>");else if(rt==="\\egroup")Fe.push("<}>");else if(rt==="\\string"){if(rt=a.next(),rt)if(rt.startsWith("\\"))for(const ct of rt)Fe.push(ct==="\\"?"\\backslash":ct);else rt==="<{>"?Fe.push("\\{"):rt==="<space>"?Fe.push("~"):rt==="<}>"&&Fe.push("\\}")}else if(rt==="\\csname"){for(;a.peek()==="<space>";)a.next();let ct="",mt=!1,wt=[];do{if(wt.length===0)if(/^#[\d?@]$/.test(a.peek())){const Rt=a.get().slice(1);wt=ms((z=(b=y==null?void 0:y(Rt))!=null?b:y==null?void 0:y("?"))!=null?z:"\\placeholder{}",y),rt=wt[0]}else rt=a.next(),wt=rt?[rt]:[];mt=wt.length===0,!mt&&rt==="\\endcsname"&&(mt=!0,wt.shift()),mt||(mt=rt==="<$>"||rt==="<$$>"||rt==="<{>"||rt==="<}>"||typeof rt=="string"&&rt.length>1&&rt.startsWith("\\")),mt||(ct+=wt.shift())}while(!mt);ct&&Fe.push("\\"+ct),Fe.push(...wt)}else if(rt!=="\\endcsname")if(rt.length>1&&rt.startsWith("#")){const ct=rt.slice(1);Fe.push(...ms((Te=(ce=y==null?void 0:y(ct))!=null?ce:y==null?void 0:y("?"))!=null?Te:"\\placeholder{}",y))}else Fe.push(rt)}return Fe}function ms(a,y=null){const b=[];let z="";for(const Fe of a.toString().split(/\r?\n/)){z&&b.push(z),z=" ";const rt=Fe.match(/((?:\\%)|[^%])*/);rt!==null&&b.push(rt[0])}const ce=new of(et(b.join(""))),Te=[];do Te.push(...Is(ce,y));while(!ce.end());return Te}function Ni(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 da(a,...y){return console.assert(a.startsWith("\\")),y.length===0?a:Ni([a,...y.map(b=>`{${b}}`)])}function Bs(a){return Ni(a.map(y=>{var b;return(b={"<space>":" ","<$$>":"$$","<$>":"$","<{>":"{","<}>":"}"}[y])!=null?b:y}))}var sf=class Rd{constructor(y){Rd._registry[y]=this}static createAtom(y,b,z){return Rd._registry[y].createAtom(b,St(b,y),z)}static serialize(y,b){var z;if(!y||y.length===0)return"";if((z=b.skipStyles)!=null&&z){const ce=[];for(const Te of lf(y)){const Fe=Rd._registry[Te[0].mode];ce.push(...Fe.serialize(Te,b))}return Ni(ce)}return Ni(rh(y,b))}static getFont(y,b,z){return Rd._registry[y].getFont(b,z)}};sf._registry={};var Do=sf;function lf(a){const y=[];let b=[],z="NONE";for(const ce of a)ce.type!=="first"&&(ce.mode!==z?(b.length>0&&y.push(b),b=[ce],z=ce.mode):b.push(ce));return b.length>0&&y.push(b),y}function Aa(a,y){const b=[];let z=[],ce;for(const Te of a)if(Te.type!=="first"&&Te.style){let Fe;y==="variant"?(Fe=Te.style.variant,Te.style.variantStyle&&Te.style.variantStyle!=="up"&&(Fe+="-"+Te.style.variantStyle)):Fe=Te.style[y],Fe===ce?z.push(Te):(z.length>0&&b.push(z),z=[Te],ce=Fe)}return z.length>0&&b.push(z),b}function Xu(a,y){var b;const{parent:z}=a[0],ce=z==null?void 0:z.computedStyle.color,Te=[];for(const Fe of lf(a)){const rt=y.defaultMode;for(const ct of Aa(Fe,"color")){const mt=ct[0].computedStyle,wt=Do._registry[ct[0].mode].serialize(ct,oe(ie({},y),{defaultMode:rt==="text"?"text":"math"}));!y.skipStyles&&mt.color&&mt.color!=="none"&&(!z||ce!==mt.color)?Te.push(da("\\textcolor",(b=mt.verbatimColor)!=null?b:mt.color,Ni(wt))):Te.push(Ni(wt))}}return Te}function th(a,y){const{parent:b}=a[0],z=b==null?void 0:b.computedStyle.backgroundColor;return Aa(a,"backgroundColor").map(ce=>{var Te;if(ce.length>0||ce[0].type!=="box"){const Fe=ce[0].computedStyle;if(Fe.backgroundColor&&Fe.backgroundColor!=="none"&&(!b||z!==Fe.backgroundColor))return da("\\colorbox",(Te=Fe.verbatimBackgroundColor)!=null?Te:Fe.backgroundColor,Ni(Xu(ce,oe(ie({},y),{defaultMode:"text"}))))}return Ni(Xu(ce,y))})}function rh(a,y){if(a.length===0)return[];const{parent:b}=a[0],z=b==null?void 0:b.computedStyle.fontSize,ce=[];for(const Te of Aa(a,"fontSize")){const Fe=Te[0].computedStyle.fontSize,rt=th(Te,y);rt&&(Fe&&Fe!=="auto"&&(!b||z!==Fe)?ce.push(["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][Fe],...rt):ce.push(...rt))}return ce}function Yu(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 Tl(a){if(a.length===0)return"ord";const y=Yu(a[0].type),b=Yu(a[a.length-1].type);return y&&y===b?y:"ord"}function Ol(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 Rn=class Am{constructor(y,b){var z,ce,Te,Fe,rt;if(typeof y=="number"?this.value=String.fromCodePoint(y):typeof y=="string"?this.value=y:te(y)?this.children=y.filter(mt=>mt!==null):y&&y instanceof Am&&(this.children=[y]),this.children)for(const mt of this.children)mt.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=(ce=b==null?void 0:b.classes)!=null?ce:"",this.isTight=(Te=b==null?void 0:b.isTight)!=null?Te:!1,b!=null&&b.attributes&&(this.attributes=b.attributes);let ct=b==null?void 0:b.fontFamily;b!=null&&b.style&&this.value&&(ct=(rt=Do.getFont((Fe=b.mode)!=null?Fe:"math",this,oe(ie({variant:"normal"},b.style),{letterShapeStyle:b.letterShapeStyle})))!=null?rt: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),oc(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 ce=Ol(b,z);ce.length>0&&(this.cssProperties||(this.cssProperties={}),this.cssProperties[y]=ce)}setTop(y){Number.isFinite(y)&&Math.abs(y)>.01&&(this.cssProperties||(this.cssProperties={}),this.cssProperties.top=Ol(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"]=Ol(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"]=Ol(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"]=Ol(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 ce=y.backgroundColor;this.isSelected&&(ce=lt(ce)),ce&&ce!==b.backgroundColor&&(this.setStyle("background-color",ce),this.setStyle("display","inline-block"));const Te=y.scalingFactor;return this.scale=Te,this.skew*=Te,this.italic*=Te,this}toMarkup(){var y,b,z,ce;let Te=(y=this.value)!=null?y:"";if(this.children)for(const nr of this.children)Te+=nr.toMarkup();let Fe="";if(this.svgBody)Fe=Al(this.svgBody);else if(this.svgOverlay){Fe='<span style="',Fe+="display: inline-block;",Fe+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`,Fe+=`vertical-align:${Math.floor(100*this.depth)/100}em;`,Fe+='">',Fe+=Te,Fe+="</span>",Fe+='<svg style="position:absolute;overflow:visible;',Fe+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`;const nr=(b=this.cssProperties)==null?void 0:b.padding;nr?(Fe+=`top:${nr};`,Fe+=`left:${nr};`,Fe+=`width:calc(100% - 2 * ${nr} );`):Fe+="top:0;left:0;width:100%;",Fe+="z-index:2;",Fe+='"',this.svgStyle&&(Fe+=this.svgStyle),Fe+=` viewBox="0 0 ${Math.floor(100*this.width)/100} ${Math.floor(100*(this.height+this.depth))/100}"`,Fe+=`>${this.svgOverlay}</svg>`}let rt="";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 mt=ct.length===1?ct[0]:ct.filter((nr,cr,Kr)=>nr.length>0&&Kr.indexOf(nr)===cr).join(" ");if(mt.length>0&&(rt+=` class="${mt}"`),this.id&&(rt+=` data-atom-id=${this.id}`),this.cssId&&(rt+=` id="${this.cssId.replace(/ /g,"-")}" `),this.attributes&&(rt+=" "+Object.keys(this.attributes).map(nr=>`${nr}="${this.attributes[nr]}"`).join(" ")),this.htmlData){const nr=this.htmlData.split(",");for(const cr of nr){const Kr=cr.match(/([^=]+)=(.+$)/);if(Kr){const Pn=Kr[1].trim().replace(/ /g,"-");Pn&&(rt+=` data-${Pn}="${Kr[2]}" `)}else{const Pn=cr.trim().replace(/ /g,"-");Pn&&(rt+=` data-${Pn} `)}}}const wt=(ce=this.cssProperties)!=null?ce:{};this.hasExplicitWidth&&wt.width===void 0&&(wt.width=`${Math.ceil(this._width*100)/100}em`);const Rt=Object.keys(wt).map(nr=>`${nr}:${wt[nr]}`);if(this.scale!==void 0&&this.scale!==1&&(Te.length>0||Fe.length>0)&&Rt.push(`font-size: ${Math.ceil(this.scale*1e4)/100}%`),this.htmlStyle){const nr=this.htmlStyle.split(";");let cr="";for(const Kr of nr){const Pn=Kr.match(/([^=]+):(.+$)/);if(Pn){const zr=Pn[1].trim().replace(/ /g,"-");zr&&(cr+=`${zr}:${Pn[2]};`)}}cr&&(rt+=` style="${cr}"`)}Rt.length>0&&(rt+=` style="${Rt.join(";")}"`);let Gt="";return rt.length>0||Fe.length>0?Gt=`<span${rt}>${Te}${Fe}</span>`:Gt=Te,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 ce=this.cssProperties?Object.keys(this.cssProperties).length:0,Te=y.cssProperties?Object.keys(y.cssProperties).length:0;if(ce!==Te)return!1;if(ce>0){for(const ct of Object.keys(this.cssProperties))if(this.cssProperties[ct]!==y.cssProperties[ct])return!1}const Fe=this.classes.trim().replace(/\s+/g," ").split(" "),rt=y.classes.trim().replace(/\s+/g," ").split(" ");if(Fe.length!==rt.length)return!1;Fe.sort(),rt.sort();for(const[ct,mt]of Fe.entries())if(mt==="vertical-separator"||mt!==rt[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 Ju(a){if(!a||a.length===0)return[];a[0].children=Ju(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=Ju(a[b].children),y.push(a[b]));return y}function Qc(a){return a.children&&(a.children=Ju(a.children)),a}function $c(a,y){if(!a)return new Rn(null,y);const b=new Rn(null,{classes:"ML__strut",type:"ignore"});b.setStyle("height",Math.max(0,a.height),"em");const z=[b];if(a.depth!==0){const ce=new Rn(null,{classes:"ML__strut--bottom",type:"ignore"});ce.setStyle("height",a.height+a.depth,"em"),ce.setStyle("vertical-align",-a.depth,"em"),z.push(ce)}return z.push(a),new Rn(z,oe(ie({},y),{type:"lift"}))}function Ho(a){const y=tf(a)/2,b=new Rn(null,{maxFontSize:0});return b.height=y+.166,b.depth=y-.166,b.svgBody=a,b}function oc(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 ce=ps(a.value.codePointAt(z),y);a.height=Math.max(a.height,ce.height),a.depth=Math.max(a.depth,ce.depth),a._width+=ce.width,a.skew=ce.skew,a.italic=ce.italic}return}if(a.children&&a.children.length>0){let z=-1/0,ce=-1/0,Te=0;for(const Fe of a.children)Fe.height>z&&(z=Fe.height),Fe.depth>ce&&(ce=Fe.depth),Te=Math.max(Te,(b=Fe.maxFontSize)!=null?b:0);a.height=z,a.depth=ce,a._width=a.children.reduce((Fe,rt)=>Fe+rt.width,0),a.maxFontSize=Te}}function qc(a){if("individualShift"in a){const y=a.individualShift;let b=y[0];const z=[b],ce=-b.shift-b.box.depth;let Te=ce;for(let Fe=1;Fe<y.length;Fe++){const rt=y[Fe],ct=-rt.shift-Te-rt.box.depth,mt=ct-(b.box.height+b.box.depth);Te=Te+ct,z.push(mt),z.push(rt),b=rt}return[z,ce]}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 sc(a){var y;const[b,z]=qc(a);if(!b)return[[],0,0];const ce=new Rn(null,{classes:"pstrut"});let Te=0;for(const cr of b)if(typeof cr!="number"){const Kr=cr.box;Te=Math.max(Te,Kr.maxFontSize,Kr.height)}Te+=2,ce.height=Te,ce.setStyle("height",Te,"em");const Fe=[];let rt=z,ct=z,mt=z,wt=0;for(const cr of b){if(typeof cr=="number")mt+=cr;else{const Kr=cr.box,Pn=(y=cr.classes)!=null?y:[],zr=new Rn([ce,Kr],{classes:Pn.join(" "),style:cr.style});Kr.setStyle("height",Kr.height+Kr.depth,"em"),Kr.setStyle("display","inline-block"),zr.setStyle("top",-Te-mt-Kr.depth,"em"),cr.marginLeft&&zr.setStyle("margin-left",cr.marginLeft,"em"),cr.marginRight&&zr.setStyle("margin-right",cr.marginRight,"em"),Fe.push(zr),mt+=Kr.height+Kr.depth,wt=Math.max(wt,zr.width)}rt=Math.min(rt,mt),ct=Math.max(ct,mt)}Fe.forEach(cr=>{cr.softWidth=wt});const Rt=new Rn(Fe,{classes:"vlist"});if(Rt.softWidth=wt,Rt.height=ct,Rt.setStyle("height",ct,"em"),rt>=0)return[[new Rn(Rt,{classes:"vlist-r"})],ct,-rt];const Gt=new Rn(new Rn(null),{classes:"vlist"});Gt.height=-rt,Gt.setStyle("height",-rt,"em");const nr=new Rn(8203,{classes:"vlist-s",maxFontSize:0});return nr.softWidth=0,nr.height=0,nr.depth=0,[[new Rn([Rt,nr],{classes:"vlist-r"}),new Rn(Gt,{classes:"vlist-r"})],ct,-rt]}var ia=class extends Rn{constructor(a,y){var b;const[z,ce,Te]=sc(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=ce,this.depth=Te,this.softWidth=z.reduce((Fe,rt)=>Math.max(Fe,rt.width),0)}};function nh(a,y){var b,z,ce,Te,Fe;const rt=a.metrics,ct=new Rn(y.base),mt=(b=y.baseShift)!=null?b:0,wt=(z=y.slant)!=null?z:0;let Rt=0,Gt=0;y.above&&(Rt=(ce=y.aboveShift)!=null?ce:Math.max(rt.bigOpSpacing1,rt.bigOpSpacing3-y.above.depth)),y.below&&(Gt=(Te=y.belowShift)!=null?Te:Math.max(rt.bigOpSpacing2,rt.bigOpSpacing4-y.below.height));let nr=null;if(y.below&&y.above){const cr=rt.bigOpSpacing5+y.below.height+y.below.depth+Gt+ct.depth+mt;nr=new ia({bottom:cr,children:[rt.bigOpSpacing5,{box:y.below,marginLeft:-wt,classes:["ML__center"]},Gt,{box:ct,classes:["ML__center"]},Rt,{box:y.above,marginLeft:wt,classes:["ML__center"]},rt.bigOpSpacing5]}).wrap(a)}else if(y.below&&!y.above)nr=new ia({top:ct.height-mt,children:[rt.bigOpSpacing5,{box:y.below,marginLeft:-wt,classes:["ML__center"]},Gt,{box:ct,classes:["ML__center"]}]}).wrap(a);else if(!y.below&&y.above){const cr=ct.depth+mt;nr=new ia({bottom:cr,children:[{box:ct,classes:["ML__center"]},Rt,{box:y.above,marginLeft:wt,classes:["ML__center"]},rt.bigOpSpacing5]}).wrap(a)}else{const cr=ct.depth+mt;nr=new ia({bottom:cr,children:[{box:ct},rt.bigOpSpacing5]}).wrap(a)}return new Rn(nr,{type:(Fe=y.type)!=null?Fe:"op"})}var Qu=7,gs=6,lc=5,Ls=4,dl=3,fo=2,_o=1,Ja=0,Qo=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(Vu).reduce((ce,Te)=>oe(ie({},ce),{[Te]:Vu[Te][z]}),{})}getFontSize(a){return Math.max(1,a+this.sizeDelta)}get sup(){return $o[[Ja,_o,Ja,_o,fo,dl,fo,dl][this.id]]}get sub(){return $o[[Ja,Ja,Ja,Ja,fo,fo,fo,fo][this.id]]}get fracNum(){return $o[[Ja,_o,Ja,_o,fo,dl,Ls,lc][this.id]]}get fracDen(){return $o[[Ja,Ja,Ja,Ja,fo,fo,Ls,Ls][this.id]]}get cramp(){return $o[[Ja,Ja,fo,fo,Ls,Ls,gs,gs][this.id]]}get isTight(){return this.sizeDelta<0}},fl={7:new Qo(Qu,0,!1),6:new Qo(gs,0,!0),5:new Qo(lc,0,!1),4:new Qo(Ls,0,!0),3:new Qo(dl,-3,!1),2:new Qo(fo,-3,!0),1:new Qo(_o,-4,!1),0:new Qo(Ja,-4,!0)},$o=oe(ie({},fl),{displaystyle:fl[Qu],textstyle:fl[lc],scriptstyle:fl[dl],scriptscriptstyle:fl[_o]});function Dl(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:cl,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 ce=Js(10,y);return Math.round(a.dimension/cl*z*ce)/ce}return a.dimension*z}function $u(a,y){if(a===null)return 0;const b=Dl(a)/cl;if(Number.isFinite(y)){const z=Js(10,y);return Math.round(b*z)/z}return b}function qu(a){var y;return`${a.dimension}${(y=a.unit)!=null?y:"pt"}`}function cf(a){let y=qu(a.glue);return a.grow&&a.grow.dimension!==0&&(y+=` plus ${qu(a.grow)}`),a.shrink&&a.shrink.dimension!==0&&(y+=` minus ${qu(a.shrink)}`),y}function Ba(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 ce=Math.round(a.number)>>>0;a.base==="hexadecimal"?(z=Number(ce).toString(16).toUpperCase(),ce<=255?z=z.padStart(2,"0"):ce<=65535?z=z.padStart(4,"0"):ce<=16777215?z=z.padStart(6,"0"):z=z.padStart(8,"0"),z=`"${z}`):a.base==="octal"&&(z=Number(ce).toString(8),ce<=63?z=z.padStart(2,"0"):ce<=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 qo(a,y){return a==null?null:"number"in a?oe(ie({},a),{number:a.number*y}):"register"in a?"factor"in a&&a.factor?oe(ie({},a),{factor:a.factor*y}):oe(ie({},a),{factor:y}):"dimension"in a?oe(ie({},a),{dimension:a.dimension*y}):"glue"in a?a.shrink&&a.grow?{glue:qo(a.glue,y),shrink:qo(a.shrink,y),grow:qo(a.grow,y)}:a.shrink?{glue:qo(a.glue,y),shrink:qo(a.shrink,y)}:a.grow?{glue:qo(a.glue,y),grow:qo(a.grow,y)}:{glue:qo(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 Il(){return ie({},ih)}function eu(){return{registers:Il(),smartFence:!1,renderPlaceholder:void 0,placeholderSymbol:"\u25A2",letterShapeStyle:ye.locale.startsWith("fr")?"french":"tex",minFontScale:0,colorMap:Ne,backgroundColorMap:je,getMacro:a=>Nt(a,_t())}}var zi=class Mm{constructor(y,b){var z,ce,Te,Fe,rt,ct,mt,wt,Rt,Gt,nr,cr,Kr,Pn,zr;let ln;y!=null&&y.parent?(this.parent=y.parent,ln=y.parent,this.registers={}):(ln=ie(ie({},eu()),(z=y==null?void 0:y.from)!=null?z:{}),this.registers=ln.registers),ln.atomIdsSettings&&(this.atomIdsSettings=ie({},ln.atomIdsSettings)),this.renderPlaceholder=ln.renderPlaceholder,this.isPhantom=(Fe=(Te=y==null?void 0:y.isPhantom)!=null?Te:(ce=this.parent)==null?void 0:ce.isPhantom)!=null?Fe:!1,this.letterShapeStyle=ln.letterShapeStyle,this.minFontScale=ln.minFontScale,b!=null&&b.color&&b.color!=="none"?this.color=b.color:this.color=(ct=(rt=this.parent)==null?void 0:rt.color)!=null?ct:"",b!=null&&b.backgroundColor&&b.backgroundColor!=="none"?this.backgroundColor=b.backgroundColor:this.backgroundColor=(wt=(mt=this.parent)==null?void 0:mt.backgroundColor)!=null?wt:"",b!=null&&b.fontSize&&b.fontSize!=="auto"&&b.fontSize!==((Rt=this.parent)==null?void 0:Rt.size)?this.size=b.fontSize:this.size=(nr=(Gt=this.parent)==null?void 0:Gt.size)!=null?nr:Os;let jn=(Kr=(cr=this.parent)==null?void 0:cr.mathstyle)!=null?Kr:$o.displaystyle;if(typeof(y==null?void 0:y.mathstyle)=="string"){if(ln instanceof Mm)switch(y.mathstyle){case"cramp":jn=jn.cramp;break;case"superscript":jn=jn.sup;break;case"subscript":jn=jn.sub;break;case"numerator":jn=jn.fracNum;break;case"denominator":jn=jn.fracDen;break}switch(y.mathstyle){case"textstyle":jn=$o.textstyle;break;case"displaystyle":jn=$o.displaystyle;break;case"scriptstyle":jn=$o.scriptstyle;break;case"scriptscriptstyle":jn=$o.scriptscriptstyle;break;case"":case"auto":break}}this.mathstyle=jn,this.smartFence=ln.smartFence,this.placeholderSymbol=ln.placeholderSymbol,this.colorMap=(Pn=ln.colorMap)!=null?Pn:wn=>wn,this.backgroundColorMap=(zr=ln.backgroundColorMap)!=null?zr:wn=>wn,this.getMacro=ln.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===Qu||this.mathstyle.id===gs}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 $u(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 ce=b.getRegister(y.register);if(ce===void 0)return;if(typeof ce=="string")return{string:Number(ce).toString()+ce};if(typeof ce=="number")return{number:z*ce};const Te=b.evaluate(ce);if(Te!==void 0)return"string"in Te?{string:Number(ce).toString()+Te.string}:"number"in Te?{number:z*Te.number}:"dimension"in Te?oe(ie({},Te),{dimension:z*Te.dimension}):"glue"in Te?oe(ie({},Te),{glue:oe(ie({},Te.glue),{dimension:z*Te.glue.dimension}),shrink:Te.shrink?oe(ie({},Te.shrink),{dimension:z*Te.shrink.dimension}):void 0,grow:Te.grow?oe(ie({},Te.grow),{dimension:z*Te.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:Dl(z,b)/cl}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 ce=this.evaluate(y);return ce===void 0?null:"string"in ce?(z=(b=this.colorMap)==null?void 0:b.call(this,ce.string))!=null?z:ce.string:null}toBackgroundColor(y){var b,z;if(y===null)return null;const ce=this.evaluate(y);return ce===void 0?null:"string"in ce?(z=(b=this.backgroundColorMap)==null?void 0:b.call(this,ce.string))!=null?z:ce.string:null}},Bl=["body","above","below","superscript","subscript"];function vs(a){return typeof a=="string"&&Bl.includes(a)}function cc(a){return a!==void 0&&Array.isArray(a)&&a.length===2}var $r=class yl{constructor(y){var b,z,ce,Te,Fe,rt;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=(ce=y.mode)!=null?ce:"math",y.isFunction&&(this.isFunction=!0),y.limits&&(this.subsupPlacement=y.limits),this.style=ie({},y.style),this.displayContainsHighlight=(Te=y.displayContainsHighlight)!=null?Te:!1,this.captureSelection=(Fe=y.captureSelection)!=null?Fe:!1,this.skipBoundary=(rt=y.skipBoundary)!=null?rt:!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 ce;if(!b)return null;const Te=uf(b),Fe=[];for(const ct of Te){const mt=ct[0].style,wt=df(y,ct,{style:{color:mt.color,backgroundColor:mt.backgroundColor,fontSize:mt.fontSize}});wt&&Fe.push(wt)}if(Fe.length===0)return null;const rt=((ce=z==null?void 0:z.classes)!=null?ce:"").trim();return Fe.length===1&&!rt&&!(z!=null&&z.type)?Fe[0].wrap(y):new Rn(Fe,{classes:rt,type:z==null?void 0:z.type}).wrap(y)}static serialize(y,b){return Do.serialize(y,b)}static commonAncestor(y,b){if(y===b||y.parent===b.parent)return y.parent;const z=new WeakSet;let{parent:ce}=y;for(;ce;)z.add(ce),ce=ce.parent;for(ce=b.parent;ce;){if(z.has(ce))return ce;ce=ce.parent}console.assert(!!ce)}static fromJson(y){return typeof y=="string"?new yl({type:"mord",value:y,mode:"math"}):new yl(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=ie({},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=td(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=St(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):this.body&&this.command?Ni([da(this.command,this.bodyToLatex(y)),this.supsubToLatex(y)]):this.body?Ni([this.bodyToLatex(y),this.supsubToLatex(y)]):!this.value||this.value==="\u200B"?"":this.command}bodyToLatex(y){var b;return Do.serialize(this.body,oe(ie({},y),{defaultMode:(b=y.defaultMode)!=null?b:this.latexMode}))}aboveToLatex(y){return Do.serialize(this.above,y)}belowToLatex(y){return Do.serialize(this.below,y)}supsubToLatex(y){let b="";if(y=oe(ie({},y),{defaultMode:"math"}),this.branch("subscript")!==void 0){const z=Do.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=Do.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(vs(y)&&this._branches)return this._branches[y]}get branches(){if(!this._branches)return[];const y=[];for(const b of Bl)this._branches[b]&&y.push(b);return y}createBranch(y){return console.assert(vs(y)),vs(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 cc(this.parentBranch)?this.parentBranch[0]:-1}get col(){return cc(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",ce=typeof this.style.verbatimBackgroundColor=="string",Te=ie(ie({},(b=(y=this.parent)==null?void 0:y.computedStyle)!=null?b:{}),this.style);return delete Te.variant,delete Te.variantStyle,ce||delete Te.verbatimBackgroundColor,z||delete Te.verbatimColor,Te}applyStyle(y){this.isDirty=!0,this.style=ie(ie({},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(vs(b)),!vs(b)))return;console.assert(((z=y[0])==null?void 0:z.type)!=="first");const ce=[this.makeFirstAtom(b),...y];this._branches?this._branches[b]=ce:this._branches={[b]:ce};for(const Te of y)Te.parent=this,Te.parentBranch=b;this.isDirty=!0}makeFirstAtom(y){const b=new yl({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 ce of y)ce.parent=this,ce.parentBranch=b,z.push(ce);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 ce of y)ce.parent=this,ce.parentBranch=b.parentBranch;return y[y.length-1]}removeBranch(y){const b=this.branch(y);if(vs(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 Bl)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=St(this.command,this.mode);if(b!=null&&b.render)return b.render(this,y);const z=new zi({parent:y},this.style);let ce=this.createBox(z,{classes:this.parent?"":"ML__base"});return ce?(!this.subsupPlacement&&(this.superscript||this.subscript)&&(ce=this.attachSupsub(z,{base:ce})),ce.wrap(z)):null}attachSupsub(y,b){var z;const ce=b.base,Te=this.superscript,Fe=this.subscript;if(!Te&&!Fe)return ce;let rt=null,ct=null;const mt=(z=b.isCharacterBox)!=null?z:this.isCharacterBox();let wt=0;if(Te){const Kr=new zi({parent:y,mathstyle:"superscript"});rt=yl.createBox(Kr,Te),mt||(wt=ce.height-y.metrics.supDrop*Kr.scalingFactor)}let Rt=0;if(Fe){const Kr=new zi({parent:y,mathstyle:"subscript"});ct=yl.createBox(Kr,Fe),mt||(Rt=ce.depth+y.metrics.subDrop*Kr.scalingFactor)}let Gt;y.isDisplayStyle?Gt=y.metrics.sup1:y.isCramped?Gt=y.metrics.sup3:Gt=y.metrics.sup2;const nr=.5/cl/y.scalingFactor;let cr=null;if(ct&&rt){wt=Math.max(wt,Gt,rt.depth+.25*y.metrics.xHeight),Rt=Math.max(Rt,y.metrics.sub2);const Kr=y.metrics.defaultRuleThickness;if(wt-rt.depth-(ct.height-Rt)<4*Kr){Rt=4*Kr-(wt-rt.depth)+ct.height;const zr=.8*y.metrics.xHeight-(wt-rt.depth);zr>0&&(wt+=zr,Rt-=zr)}const Pn=this.isExtensibleSymbol&&ce.italic?-ce.italic:0;cr=new ia({individualShift:[{box:ct,shift:Rt,marginLeft:Pn},{box:rt,shift:-wt}]}).wrap(y)}else ct&&!rt?(Rt=Math.max(Rt,y.metrics.sub1,ct.height-.8*hs),cr=new ia({shift:Rt,children:[{box:ct,marginRight:nr,marginLeft:this.isCharacterBox()?-ce.italic:0}]})):!ct&&rt&&(wt=Math.max(wt,Gt,rt.depth+.25*hs),cr=new ia({shift:-wt,children:[{box:rt,marginRight:nr}]}));return new Rn([ce,new Rn(cr,{caret:this.caret,isSelected:this.isSelected,classes:"msubsup"})],{type:b.type})}attachLimits(y,b){const z=this.superscript?yl.createBox(new zi({parent:y,mathstyle:"superscript"},this.style),this.superscript):null,ce=this.subscript?yl.createBox(new zi({parent:y,mathstyle:"subscript"},this.style),this.subscript):null;return!z&&!ce?b.base.wrap(y):nh(y,oe(ie({},b),{above:z,below:ce}))}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,ce,Te,Fe;const rt=(z=this.value)!=null?z:this.body,ct=(ce=b==null?void 0:b.boxType)!=null?ce:Yu(this.type);let mt=(Te=b==null?void 0:b.classes)!=null?Te:"";this.mode==="text"&&(mt+=" ML__text");const wt=typeof rt=="string"||rt===void 0?new Rn(rt!=null?rt:null,{type:ct,isSelected:this.isSelected,mode:this.mode,maxFontSize:y.scalingFactor,style:oe(ie({variant:"normal"},this.style),{fontSize:Math.max(1,y.size+y.mathstyle.sizeDelta)}),letterShapeStyle:y.letterShapeStyle,classes:mt}):(Fe=yl.createBox(y,rt,{type:ct,classes:mt}))!=null?Fe:new Rn(null);return y.isTight&&(wt.isTight=!0),(this.mode!=="math"||this.style.variant==="main")&&(wt.italic=0),wt.right=wt.italic,this.bind(y,wt),this.caret&&!this.superscript&&!this.subscript&&(wt.caret=this.caret),wt}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 ce of a)if(!y&&!ce.style)z.push(ce);else{const Te=ce.computedStyle;y&&Te.color===y.color&&Te.backgroundColor===y.backgroundColor&&Te.fontSize===y.fontSize?z.push(ce):(z.length>0&&b.push(z),z=[ce],y=Te)}return z.length>0&&b.push(z),b}function df(a,y,b){var z,ce,Te,Fe,rt;if(!y||y.length===0)return null;const ct=new zi({parent:a},b.style),mt=!((z=ct.atomIdsSettings)!=null&&z.groupNumbers);let wt=[];if(y.length===1){const Gt=y[0],nr=Gt.render(ct);nr&&(mt&&Gt.isSelected&&nr.selected(!0),wt=[nr])}else{let Gt="",nr=!0;for(const cr of y){(ce=ct.atomIdsSettings)!=null&&ce.groupNumbers&&Gt&&(nr&&cr.isDigit()||!nr&&ed(cr))&&(ct.atomIdsSettings.overrideID=Gt);const Kr=cr.render(ct);ct.atomIdsSettings&&(ct.atomIdsSettings.overrideID=void 0),Kr&&((Te=ct.atomIdsSettings)!=null&&Te.groupNumbers&&((cr.isDigit()||ed(cr))&&(!Gt||nr!==cr.isDigit())&&(nr=cr.isDigit(),Gt=(Fe=cr.id)!=null?Fe:""),Gt&&(!(cr.isDigit()||ed(cr))||!cr.hasEmptyBranch("superscript")||!cr.hasEmptyBranch("subscript"))&&(Gt="")),mt&&cr.isSelected&&Kr.selected(!0),wt.push(Kr))}}if(wt.length===0)return null;const Rt=new Rn(wt,oe(ie({isTight:ct.isTight},b),{type:(rt=b.type)!=null?rt:"lift"}));return Rt.isSelected=wt.every(Gt=>Gt.isSelected),Rt.wrap(ct)}function ed(a){return a.mode==="text"}function td(a){return a.map(y=>y===null?"<null>":Array.isArray(y)&&y[0]instanceof $r?{atoms:y.map(b=>b.toJson())}:typeof y=="object"&&"group"in y?{group:y.group.map(b=>b.toJson())}:y)}var ys=class km extends $r{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:Ft("text",this.value.codePointAt(0))}};function uc(a,y){if(a.direction===y.direction){const b=a.ranges.length;if(y.ranges.length===b){let z=0;for(;z<b&&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 Qa(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 Ps(a){return typeof a=="number"&&!Number.isNaN(a)}function tu(a){return Array.isArray(a)&&a.length===2}function ru(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 ce=b.parent;for(;!z&&ce;)ce&&(z=ce.mode),ce=ce.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,ce=!1,Te=!1,Fe=!1,rt=!1,ct=!1,mt=!1,wt=!1,Rt=!1,Gt=!1,nr=!1,cr=!1,Kr=!1,Pn=!1,zr=a[0],ln=0;for(;zr!=null&&zr.type&&/^(subsup|placeholder)$/.test(zr.type);)ln+=1,zr=a[ln];return b=!zr||zr.type==="first",zr&&(Kr=zr.mode==="text",z=!Kr&&zr.type==="mord"&&ze.test(zr.value),ce=!Kr&&zr.type==="mord"&&/\d+$/.test(zr.value),Te=!Kr&&zr.isFunction,Fe=zr.type==="genfrac",rt=zr.type==="surd",ct=zr.type==="mbin",mt=zr.type==="mrel",wt=zr.type==="mop"||zr.type==="operator"||zr.type==="extensible-symbol",Rt=zr.type==="mpunct"||zr.type==="minner",Gt=zr.type==="array",nr=zr.type==="mopen",cr=zr.type==="mclose"||zr.type==="leftright",Pn=zr.type==="space"),y.after.includes("nothing")&&b||y.after.includes("letter")&&z||y.after.includes("digit")&&ce||y.after.includes("function")&&Te||y.after.includes("frac")&&Fe||y.after.includes("surd")&&rt||y.after.includes("binop")&&ct||y.after.includes("relop")&&mt||y.after.includes("operator")&&wt||y.after.includes("punct")&&Rt||y.after.includes("array")&&Gt||y.after.includes("openfence")&&nr||y.after.includes("closefence")&&cr||y.after.includes("text")&&Kr||y.after.includes("space")&&Pn?y.value:""}function rd(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 dc(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",io(a,{inlineShortcuts:y==null?void 0:y.inlineShortcuts})]):["latex",a]}function io(a,y){var b,z,ce;if(!a)return"";let Te=!1,Fe;const rt=(b=y.inlineShortcuts)!=null?b:hf;if(!Te&&(a.startsWith("^")||a.startsWith("_"))&&(Fe=Rs(a.slice(1),{inlineShortcuts:rt,noWrap:!0}),a=a[0]+"{"+Fe.match+"}",a+=io(Fe.rest,y),Te=!0),Te||(Fe=a.match(/^(sqrt|\u221A)(.*)/),Fe&&(Fe=Rs(Fe[2],{inlineShortcuts:rt,noWrap:!0}),a="\\sqrt{"+((z=Fe.match)!=null?z:"\\placeholder{}")+"}",a+=io(Fe.rest,y),Te=!0)),Te||(Fe=a.match(/^(\\cbrt|\u221B)(.*)/),Fe&&(Fe=Rs(Fe[2],{inlineShortcuts:rt,noWrap:!0}),a="\\sqrt[3]{"+((ce=Fe.match)!=null?ce:"\\placeholder{}")+"}",a+=io(Fe.rest,y),Te=!0)),Te||(Fe=a.match(/^abs(.*)/),Fe&&(Fe=Rs(Fe[1],{inlineShortcuts:rt,noWrap:!0}),a="\\left|"+Fe.match+"\\right|",a+=io(Fe.rest,y),Te=!0)),Te||(Fe=a.match(/^["”“](.*?)["”“](.*)/),Fe&&(a="\\text{"+Fe[1]+"}",a+=io(Fe[2],y),Te=!0)),Te||(Fe=a.match(/^([^a-zA-Z\(\{\[\_\^\\\s"]+)(.*)/),Fe&&(a=pf(Fe[1],rt),a+=io(Fe[2],y),Te=!0)),!Te&&/^([fgh])[^a-zA-Z]/.test(a)&&(Fe=Rs(a.slice(1),{inlineShortcuts:rt,noWrap:!0}),a=a[1]==="("?a[0]+"\\left("+Fe.match+"\\right)":a[0]+Fe.match,a+=io(Fe.rest,y),Te=!0),Te||(Fe=a.match(/^([a-zA-Z]+)(.*)/),Fe&&(a=pf(Fe[1],rt),a+=io(Fe[2],y),Te=!0)),!Te)if(Fe=Rs(a,{inlineShortcuts:rt,noWrap:!0}),Fe.match&&Fe.rest[0]==="/"){const ct=Rs(Fe.rest.slice(1),{inlineShortcuts:rt,noWrap:!0});ct.match&&(a="\\frac{"+Fe.match+"}{"+ct.match+"}"+io(ct.rest,y)),Te=!0}else Fe.match&&(a=a.startsWith("(")?"\\left("+Fe.match+"\\right)"+io(Fe.rest,y):Fe.match+io(Fe.rest,y),Te=!0);return Te||(Fe=a.match(/^(\s+)(.*)$/),Fe&&(a=" "+io(Fe[2],y),Te=!0)),a}function Rs(a,y){let b="";a=a.trim();let z=a,ce=a.charAt(0),Te={"(":")","{":"}","[":"]"}[ce];if(Te){let Fe=1,rt=1;for(;rt<a.length&&Fe>0;)a[rt]===ce&&Fe++,a[rt]===Te&&Fe--,rt++;Fe===0?(y.noWrap&&ce==="("?b=io(a.substring(1,rt-1),y):(ce==="{"&&Te==="}"&&(ce="\\{",Te="\\}"),b="\\left"+ce+io(a.substring(1,rt-1),y)+"\\right"+Te),z=a.slice(Math.max(0,rt))):(b=a.substring(1,rt),z="")}else{let Fe=a.match(/^([a-zA-Z]+)/);if(Fe){let rt=rd(null,a,y.inlineShortcuts);if(rt)return rt=rt.replace("_{#?}",""),rt=rt.replace("^{#?}",""),{match:rt,rest:a.slice(rt.length)}}if(Fe=a.match(/^([a-zA-Z])/),Fe)return{match:Fe[1],rest:a.slice(1)};if(Fe=a.match(/^(-)?\d+(\.\d*)?/),Fe)return{match:Fe[0],rest:a.slice(Fe[0].length)};/^\\(left|right)/.test(a)||(Fe=a.match(/^(\\[a-zA-Z]+)/),Fe&&(z=a.slice(Fe[1].length),b=Fe[1]))}return{match:b,rest:z}}function pf(a,y){let b=rd(null,a,y);return b?(b=b.replace("_{#?}",""),b=b.replace("^{#?}",""),b+=" "):b=a,b}var nd=[["\\[","\\]"],["\\(","\\)"],["$$","$$"],["$","$"],["\\begin{math}","\\end{math}"],["\\begin{displaymath}","\\end{displaymath}"],["\\begin{equation}","\\end{equation}"],["\\begin{equation*}","\\end{equation*}"]];function Ns(a){const y=a.trim();for(const b of nd)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]=Ns(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 nu="$$",sh="$$",lh=(a,y,b)=>(nd.some(z=>y.startsWith(z[0])&&y.endsWith(z[1]))||(y=`${nu} ${y} ${sh}`),y),gf=class eh{constructor(y){eh._modes[y]=this}static onPaste(y,b,z){var ce;if(!b.contentEditable&&b.userSelect==="none")return b.model.announce("plonk"),!1;if(typeof z=="string"){const Fe=new DataTransfer;Fe.setData("text/plain",z),z=Fe}const Te=new ClipboardEvent("paste",{clipboardData:z,cancelable:!0});return(ce=b.host)!=null&&ce.dispatchEvent(Te)?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,ce=z.selectionIsCollapsed?[0,z.lastOffset]:Qa(z.selection),Te=z.getValue(ce,b);navigator.clipboard.writeText(Te).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 ce=y.model,Te=ce.selectionIsCollapsed?[0,ce.lastOffset]:Qa(ce.selection);let Fe=ce.getAtoms(Te);if(Fe.every(rt=>rt.mode==="text"||!rt.mode))b.clipboardData.setData("text/plain",Fe.filter(rt=>rt instanceof ys).map(rt=>rt.value).join(""));else if(Fe.every(rt=>rt.mode==="latex"))b.clipboardData.setData("text/plain",ce.getAtoms(Te,{includeChildren:!0}).map(rt=>{var ct;return(ct=rt.value)!=null?ct:""}).join(""));else{let rt;Fe.length===1&&Fe[0].verbatimLatex!==void 0?rt=Fe[0].verbatimLatex:rt=ce.getValue(Te,"latex-expanded"),b.clipboardData.setData("application/x-latex",rt);try{b.clipboardData.setData("text/plain",y.options.onExport(y,rt,Te))}catch(ct){}if(Fe.length===1){const ct=Fe[0];(ct.type==="root"||ct.type==="group")&&(Fe=ct.body.filter(mt=>mt.type!=="first"))}try{b.clipboardData.setData("application/json+mathlive",JSON.stringify(Fe.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 mt=ct.jsonSerializationOptions;ct.jsonSerializationOptions={metadata:["latex"]};const wt=ct.parse(ce.getValue(Te,"latex-unstyled"));ct.jsonSerializationOptions=mt;const Rt=JSON.stringify(wt.json);Rt&&b.clipboardData.setData("application/json",Rt)}catch(mt){}}}b.preventDefault()}static insert(y,b,z={}){var ce;const Te=z.mode==="auto"?y.mode:(ce=z.mode)!=null?ce:y.mode;return eh._modes[Te].insert(y,b,z)}onPaste(y,b){return!1}insert(y,b,z){return!1}};gf._modes={};var Mi=gf,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","^"]}],id={"\\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 Wo(a){var y;return((y=a.element)==null?void 0:y.mathfield)===a}function Uo(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 _s(a){const y=Uo(a);if(!y)return null;const b=y.getBoundingClientRect();return{x:b.right,y:b.bottom,height:b.height}}function ad(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 od(a,y,b){if(!y)return null;const z=a.field.getBoundingClientRect(),ce=y.right-y.left,Te=y.bottom-y.top,Fe=Math.ceil(y.left-z.left+a.field.scrollLeft*b),rt=Math.ceil(y.top-z.top);return{left:Fe,right:Fe+ce,top:rt,bottom:rt+Te}}function sd(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 ce of a.children)if(ce.nodeType===1&&"atomId"in ce.dataset&&!ce.classList.contains("pstrut")){const Te=sd(ce);z.left=Math.min(z.left,Te.left),z.right=Math.max(z.right,Te.right),z.top=Math.min(z.top,Te.top),z.bottom=Math.max(z.bottom,Te.bottom)}return z}function Ll(a,y){var b,z;if(!y.id)return null;let ce=(z=(b=a.atomBoundsCache)==null?void 0:b.get(y.id))!=null?z:null;if(ce!==null)return ce;const Te=a.field.querySelector(`[data-atom-id="${y.id}"]`);return ce=Te?sd(Te):null,a.atomBoundsCache&&(ce?a.atomBoundsCache.set(y.id,ce):a.atomBoundsCache.delete(y.id)),ce!=null?ce:null}function vf(a,y,b){const z=new Map;for(const ce of a.model.getAtoms(y,{includeChildren:!0})){if(b!=null&&b.excludeAtomsWithBackground&&ce.style.backgroundColor)continue;const Te=a.field,Fe=Te.offsetWidth;let ct=Math.floor(Te.getBoundingClientRect().width)/Fe;ct=isNaN(ct)?1:ct;const mt=od(a,Ll(a,ce),ct);if(mt){const wt=ad(ce);if(z.has(wt)){const Rt=z.get(wt);z.set(wt,{left:Math.min(Rt.left,mt.left),right:Math.max(Rt.right,mt.right),top:Math.min(Rt.top,mt.top),bottom:Math.max(Rt.bottom,mt.bottom)})}else z.set(wt,mt)}}return[...z.values()]}function ld(a,y){return a.model.selection.ranges.reduce((b,z)=>b.concat(...vf(a,z,y)),[])}function cd(a,y){return a==="*"||y==="none"?!0:y==="same-origin"?!window.origin||a===window.origin:typeof y=="function"?y(a):!1}function iu(a){let y=0,b=0;const z=a.offsetWidth,ce=a.offsetHeight;for(;a instanceof HTMLElement;)y+=a.offsetTop,b+=a.offsetLeft,a=a.offsetParent;return new DOMRect(b,y,z,ce)}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;
}
`,ea=`.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;
}
`,Pl=`/* 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));
}
`,au=`: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;
}
`,aa;function hl(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=ea;break;case"mathfield":y=yf;break;case"environment-popover":y=bf;break;case"suggestion-popover":y=uh;break;case"keystroke-caption":y=Pl;break;case"virtual-keyboard":y=dh;break;case"ui":y=au;break;case"menu":y=fh;break;default:debugger}return y}function Rl(a){return aa||(aa={}),aa[a]||(aa[a]=new CSSStyleSheet,aa[a].replaceSync(hl(a))),aa[a]}var bs;function jo(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(hl(a))),window.document.head.appendChild(b);return}if(bs||(bs={}),((y=bs[a])!=null?y:0)!==0)bs[a]+=1;else{const b=Rl(a);document.adoptedStyleSheets=[...document.adoptedStyleSheets,b],bs[a]=1}}function E(a){if("adoptedStyleSheets"in document&&bs!=null&&bs[a]&&(bs[a]-=1,bs[a]<=0)){const y=aa[a];document.adoptedStyleSheets=document.adoptedStyleSheets.filter(b=>b!==y)}}var ee=class Tm extends $r{constructor(y){var b;super(oe(ie({},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 oe(ie({},super.toJson()),{accentChar:this.accent,svgAccent:this.svgAccent})}render(y){var b;const z=new zi({parent:y,mathstyle:"cramp"},this.style),ce=(b=$r.createBox(z,this.body))!=null?b:new Rn("\u25A2",{style:this.style});let Te=0;!this.hasEmptyBranch("body")&&this.body.length===2&&this.body[1].isCharacterBox()&&(Te=ce.skew);let Fe=Math.min(ce.height,hs),rt;if(this.svgAccent)rt=Ho(this.svgAccent),Fe=z.metrics.bigOpSpacing1-Fe;else if(this.accent){const mt=new Rn(this.accent,{fontFamily:"Main-Regular"});mt.italic=0;const wt=this.accent===8407?" ML__accent-vec":"";rt=new Rn(new Rn(mt),{classes:"ML__accent-body"+wt})}rt=new ia({shift:0,children:[{box:new Rn(ce)},-Fe,{box:rt,marginLeft:ce.left+2*Te,classes:["ML__center"]}]});const ct=new Rn(rt,{type:"lift"});return this.caret&&(ct.caret=this.caret),this.bind(z,ct.wrap(z)),this.attachSupsub(z,{base:ct})}},be={"(":")","{":"}","[":"]","|":"|","\\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"},ge=Object.fromEntries(Object.entries(be).map(([a,y])=>[y,a]));function Ie(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 $e(a,y,b,z){var ce;const Fe=new Rn(Ie(a),{fontFamily:"Main-Regular",isSelected:z.isSelected,classes:"ML__small-delim "+((ce=z.classes)!=null?ce:"")}).wrap(y);return b&&Fe.setTop((1-y.scalingFactor)*uo),Fe}function pt(a,y,b,z,ce){var Te,Fe;const rt=new zi({parent:z,mathstyle:"textstyle"},ce==null?void 0:ce.style),ct=new Rn(Ie(a),{fontFamily:`Size${y}-Regular`,isSelected:ce.isSelected,classes:((Te=ce.classes)!=null?Te:"")+` ML__delim-size${y}`,type:(Fe=ce.type)!=null?Fe:"ignore"}).wrap(rt);return b&&ct.setTop((1-rt.scalingFactor)*uo),ct}function Ct(a,y,b,z,ce){var Te;let Fe,rt,ct,mt;Fe=ct=mt=Ie(a),rt=null;let wt="Size1-Regular";a==="\\vert"||a==="\\lvert"||a==="\\rvert"||a==="\\mvert"||a==="\\mid"?ct=Fe=mt=8739:a==="\\Vert"||a==="\\lVert"||a==="\\rVert"||a==="\\mVert"||a==="\\|"?ct=Fe=mt=8741:a==="\\uparrow"?ct=mt=9168:a==="\\Uparrow"?ct=mt=8214:a==="\\downarrow"?Fe=ct=9168:a==="\\Downarrow"?Fe=ct=8214:a==="\\updownarrow"?(Fe=8593,ct=9168,mt=8595):a==="\\Updownarrow"?(Fe=8657,ct=8214,mt=8659):a==="["||a==="\\lbrack"?(Fe=9121,ct=9122,mt=9123,wt="Size4-Regular"):a==="]"||a==="\\rbrack"?(Fe=9124,ct=9125,mt=9126,wt="Size4-Regular"):a==="\\lfloor"||a==="\u230A"?(ct=Fe=9122,mt=9123,wt="Size4-Regular"):a==="\\lceil"||a==="\u2308"?(Fe=9121,ct=mt=9122,wt="Size4-Regular"):a==="\\rfloor"||a==="\u230B"?(ct=Fe=9125,mt=9126,wt="Size4-Regular"):a==="\\rceil"||a==="\u2309"?(Fe=9124,ct=mt=9125,wt="Size4-Regular"):a==="("||a==="\\lparen"?(Fe=9115,ct=9116,mt=9117,wt="Size4-Regular"):a===")"||a==="\\rparen"?(Fe=9118,ct=9119,mt=9120,wt="Size4-Regular"):a==="\\{"||a==="\\lbrace"?(Fe=9127,rt=9128,mt=9129,ct=9130,wt="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(Fe=9131,rt=9132,mt=9133,ct=9130,wt="Size4-Regular"):a==="\\lgroup"||a==="\u27EE"?(Fe=9127,mt=9129,ct=9130,wt="Size4-Regular"):a==="\\rgroup"||a==="\u27EF"?(Fe=9131,mt=9133,ct=9130,wt="Size4-Regular"):a==="\\lmoustache"||a==="\u23B0"?(Fe=9127,mt=9133,ct=9130,wt="Size4-Regular"):a==="\\rmoustache"||a==="\u23B1"?(Fe=9131,mt=9129,ct=9130,wt="Size4-Regular"):a==="\\surd"?(Fe=57345,mt=9143,ct=57344,wt="Size4-Regular"):a==="\\ulcorner"?(Fe=9484,ct=mt=32):a==="\\urcorner"?(Fe=9488,ct=mt=32):a==="\\llcorner"?(mt=9492,ct=Fe=32):a==="\\lrcorner"&&(Fe=9496,ct=Fe=32);const Rt=ps(Fe,wt),Gt=Rt.height+Rt.depth,nr=ps(ct,wt),cr=nr.height+nr.depth,Kr=ps(mt,wt),Pn=Kr.height+Kr.depth;let zr=0,ln=1;if(rt!==null){const to=ps(rt,wt);zr=to.height+to.depth,ln=2}const jn=Gt+Pn+zr,wn=Math.max(0,Math.ceil((y-jn)/(ln*cr))),oi=jn+wn*ln*cr;let hi=uo;b&&(hi=hi*z.scalingFactor);const ui=oi/2-hi,Wi=.008,ta=[];ta.push({box:new Rn(mt,{fontFamily:wt})}),ta.push(-Wi);const Wn=new Rn(ct,{fontFamily:wt});if(rt===null)for(let to=0;to<wn;to++)ta.push({box:Wn});else{for(let to=0;to<wn;to++)ta.push({box:Wn});ta.push(-Wi),ta.push({box:new Rn(rt,{fontFamily:wt})}),ta.push(-Wi);for(let to=0;to<wn;to++)ta.push({box:Wn})}ta.push(-Wi),ta.push({box:new Rn(Fe,{fontFamily:wt})});let Go="";wt==="Size1-Regular"?Go=" delim-size1":wt==="Size4-Regular"&&(Go=" delim-size4");const Zs=new ia({bottom:ui,children:ta},{classes:Go});return new Rn(Zs,oe(ie({},ce!=null?ce:{}),{classes:((Te=ce==null?void 0:ce.classes)!=null?Te:"")+" ML__delim-mult"}))}var Ot=new Set(["(",")","\\lparen","\\rparen","[","]","\\lbrack","\\rbrack","\\{","\\}","\\lbrace","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd","\u230A","\u230B","\u2308","\u2309"]),Pt=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\mvert","\\mid","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","\u27EE","\u27EF","\u23B0","\u23B1"]),tr=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),ur=[0,1.2,1.8,2.4,3];function Lr(a,y,b,z){return a===void 0||a==="."?ii(b,z.classes):(a==="<"||a==="\\lt"||a==="\u27E8"?a="\\langle":(a===">"||a==="\\gt"||a==="\u27E9")&&(a="\\rangle"),Ot.has(a)||tr.has(a)?pt(a,y,!1,b,z):Pt.has(a)?Ct(a,ur[y],!1,b,z):(console.assert(!1,"Unknown delimiter '"+a+"'"),null))}var kr=[{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}],rn=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"stack"}],Mn=[{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 Kn(a){return a.type==="small"?"Main-Regular":a.type==="large"?"Size"+a.size+"-Regular":(console.assert(a.type==="stack"),"Size4-Regular")}function Qn(a,y,b,z){const ce={"-4":0,"-3":1,0:2}[z.mathstyle.sizeDelta];for(let Te=ce;Te<b.length&&b[Te].type!=="stack";Te++){const Fe=ps(a,Kn(b[Te]));if(Fe.defaultMetrics)return{type:"small",mathstyle:"scriptstyle"};let rt=Fe.height+Fe.depth;if(b[Te].type==="small"&&(b[Te].mathstyle==="scriptscriptstyle"?rt*=Math.max(Yc[Math.max(1,z.size-2)],z.minFontScale):b[Te].mathstyle==="scriptstyle"&&(rt*=Math.max(Yc[Math.max(1,z.size-1)],z.minFontScale))),rt>y)return b[Te]}return b[b.length-1]}function ri(a,y,b,z,ce,Te){if(!y||y.length===0||y===".")return ii(ce);y==="<"||y==="\\lt"?y="\\langle":(y===">"||y==="\\gt")&&(y="\\rangle");let Fe;tr.has(y)?Fe=kr:Ot.has(y)?Fe=Mn:Fe=rn;const rt=Qn(Ie(y),b,Fe,ce),ct=new zi({parent:ce,mathstyle:rt.mathstyle},Te==null?void 0:Te.style);return rt.type==="small"?$e(y,ct,z,oe(ie({},Te),{type:a})):rt.type==="large"?pt(y,rt.size,z,ct,oe(ie({},Te),{type:a})):(console.assert(rt.type==="stack"),Ct(y,b,z,ct,oe(ie({},Te),{type:a})))}function Jn(a,y,b,z,ce,Te){if(y===".")return ii(ce,Te==null?void 0:Te.classes);const Fe=uo*ce.scalingFactor,rt=901,ct=5/cl,mt=Math.max(b-Fe,z+Fe),wt=Math.max(mt/500*rt,2*mt-ct);return ri(a,y,wt,!0,ce,Te)}function ii(a,y){const b=new Rn(null,{classes:" nulldelimiter "+(y!=null?y:""),type:"ignore"});return b.width=a.getRegisterAsEm("nulldelimiterspace"),b.wrap(new zi({parent:a,mathstyle:"textstyle"}))}var pi=class Om extends $r{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{}"}},bi=["matrix","matrix*","pmatrix","pmatrix*","bmatrix","bmatrix*","Bmatrix","Bmatrix*","vmatrix","vmatrix*","Vmatrix","Vmatrix*"],_i=["cases","dcases","rcases"],oa=["align","align*","aligned","gather","gathered","split"],Ua=["array","subequations","eqnarray"];function ya(a){return Ua.concat(oa).concat(_i).concat(bi).includes(a)}function yo(a){return bi.includes(a)}function bo(a){return _i.includes(a)}function La(a){return oa.includes(a)}function xo(a,y,b){let z=0;for(const mt of b)"align"in mt&&(z+=1);let ce=0;const Te=[];for(const mt of y){let wt=0;for(ce=Math.max(ce,Math.min(mt.length,z));wt<mt.length;){const Rt=[],Gt=Math.min(mt.length,wt+z);for(;wt<Gt;){const nr=mt[wt];nr.length===0?Rt.push([new $r({type:"first",mode:a.mode})]):nr[0].type!=="first"?Rt.push([new $r({type:"first",mode:a.mode}),...nr]):(console.assert(!nr.slice(1).some(cr=>cr.type==="first")),Rt.push(nr)),wt+=1}Te.push(Rt)}}Te.length>0&&Te[Te.length-1].length===1&&Te[Te.length-1][0].length===1&&Te[Te.length-1][0][0].type==="first"&&Te.pop();const Fe=[];for(const mt of Te){if(mt.length!==ce)for(let wt=mt.length;wt<ce;wt++)mt.push([new $r({type:"first",mode:a.mode}),new pi]);Fe.push(mt)}let rt=0,ct=0;for(const mt of Fe){ct=0;for(const wt of mt){for(const Rt of wt)Rt.parent=a,Rt.parentBranch=[rt,ct];ct+=1}rt+=1}return a.isDirty=!0,Fe}var Ti=class Dm extends $r{constructor(y,b,z,ce={}){var Te;super({type:"array"}),this.environmentName=y,this.rowGaps=z,ce.mathstyleName&&(this.mathstyleName=ce.mathstyleName),ce.columns&&(ce.columns.length===0?this.colFormat=[{align:"l"}]:this.colFormat=ce.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=xo(this,b,this.colFormat),ce.leftDelim&&(this.leftDelim=ce.leftDelim),ce.rightDelim&&(this.rightDelim=ce.rightDelim),ce.arraycolsep!==void 0&&(this.arraycolsep=ce.arraycolsep),this.colSeparationType=ce.colSeparationType,ce.arraystretch!==void 0&&(this.arraystretch=ce.arraystretch),this.minColumns=(Te=ce.minColumns)!=null?Te:1}static fromJson(y){return new Dm(y.environmentName,y.array,y.rowGaps,y)}toJson(){const y=oe(ie({},super.toJson()),{environmentName:this.environmentName,array:this.array.map(b=>b.map(z=>z.map(ce=>ce.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(cc(y))return(b=this.array[y[0]][y[1]])!=null?b:void 0}createBranch(y){var b;return cc(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(vs(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 ce of z)y.push(...ce.children),y.push(ce);return[...y,...super.children]}render(y){var b,z,ce,Te,Fe,rt;const ct=new zi({parent:y,mathstyle:this.mathstyleName},this.style),mt=ct.getRegisterAsEm("arrayrulewidth"),wt=ct.getRegisterAsEm("arraycolsep"),Rt=ct.getRegisterAsEm("doublerulesep"),Gt=(z=(b=this.arraystretch)!=null?b:ct.getRegisterAsNumber("arraystretch"))!=null?z:1;let nr=typeof this.arraycolsep=="number"?this.arraycolsep:wt;this.colSeparationType==="small"&&(nr=.2778*(new zi({parent:y,mathstyle:"scriptstyle"}).scalingFactor/y.scalingFactor));const cr=Gt*Xc,Kr=.7*cr,Pn=.3*cr;let zr=0;const ln=[];let jn=0;const wn=this.array.length;for(let la=0;la<wn;++la){const Ta=this.array[la];jn=Math.max(jn,Ta.length);const ro=new zi({parent:ct,mathstyle:this.mathstyleName},this.style);let Vs=Kr/ro.scalingFactor,Gs=Pn/ro.scalingFactor;const Xs={cells:[],height:0,depth:0,pos:0};for(const Ss of Ta){const tp=(ce=$r.createBox(ro,Ss,{type:"ignore"}))!=null?ce:new Rn(null,{type:"ignore"});Gs=Math.max(Gs,tp.depth),Vs=Math.max(Vs,tp.height),Xs.cells.push(tp)}let Ys=(Te=$u(this.rowGaps[la]))!=null?Te:0;Ys>0&&(Ys+=Pn,Gs=Math.max(Gs,Ys),Ys=0),la<wn-1&&!yo(this.environmentName)&&this.environmentName!=="cases"&&this.environmentName!=="array"&&(Gs+=ct.getRegisterAsEm("jot")),Xs.height=Vs,Xs.depth=Gs,zr+=Vs,Xs.pos=zr,zr+=Gs+Ys,ln.push(Xs)}const oi=zr/2+uo,hi=[];for(let la=0;la<jn;la++){const Ta=[];for(const ro of ln){const Vs=ro.cells[la];Vs.depth=ro.depth,Vs.height=ro.height,Ta.push({box:Vs,shift:ro.pos-oi})}Ta.length>0&&hi.push(new ia({individualShift:Ta}))}const ui=[];let Wi=!1,ta=!1,Wn=0,Go=!this.leftDelim;const{colFormat:Zs}=this;for(const la of Zs){if("align"in la&&Wn>=hi.length)break;if("align"in la)Wi?ui.push(ba(2*nr)):(ta||Go)&&ui.push(ba(nr)),ui.push(new Rn(hi[Wn],{classes:"col-align-"+la.align})),Wn++,Wi=!0,ta=!1,Go=!1;else if("gap"in la){if(typeof la.gap=="number")ui.push(ba(la.gap));else{const Ta=Sa(y,ln,oi,la.gap);Ta&&ui.push(Ta)}Wi=!1,ta=!1,Go=!1}else if("separator"in la){const Ta=new Rn(null,{classes:"vertical-separator"});Ta.height=zr,Ta.setStyle("height",zr,"em"),Ta.setStyle("border-right",`${mt}em ${la.separator} currentColor`),Ta.setStyle("vertical-align",-(zr-oi),"em");let ro=0;ta?ro=Rt-mt:Wi&&(ro=nr-mt),Ta.left=ro,ui.push(Ta),Wi=!1,ta=!0,Go=!1}}Wi&&!this.rightDelim&&ui.push(ba(nr));const ns=new Rn(ui,{classes:"mtable"});if((!this.leftDelim||this.leftDelim===".")&&(!this.rightDelim||this.rightDelim==="."))return this.caret&&(ns.caret=this.caret),this.bind(y,ns);const to=ns.height,Xo=ns.depth,Bo=this.bind(y,new Rn([this.bind(y,Jn("open",(Fe=this.leftDelim)!=null?Fe:".",to,Xo,ct,{isSelected:this.isSelected})),ns,this.bind(y,Jn("close",(rt=this.rightDelim)!=null?rt:".",to,Xo,ct,{isSelected:this.isSelected}))],{type:"ord"}));return Bo?(Bo.setStyle("display","inline-block"),this.caret&&(Bo.caret=this.caret),this.bind(y,this.attachSupsub(y,{base:Bo}))):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 ce of this.colFormat)"align"in ce&&typeof ce.align=="string"?z.push(ce.align):"separator"in ce&&ce.separator==="solid"?z.push("|"):"separator"in ce&&ce.separator==="dashed"&&z.push(":");z.push("}")}for(let ce=0;ce<this.array.length;ce++){for(let Te=0;Te<this.array[ce].length;Te++)Te>0&&z.push(" & "),z.push($r.serialize(this.array[ce][Te],y));if(ce<this.array.length-1){const Te=this.rowGaps[ce];Te!=null&&Te.dimension?z.push(`\\\\[${Te.dimension} ${(b=Te.unit)!=null?b:"pt"}] `):z.push("\\\\ ")}}return this.environmentName==="lines"?z.push("}"):z.push(`\\end{${this.environmentName}}`),Ni(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 Te of this.array[y][b])Te.parent=void 0,Te.parentBranch=void 0;let ce=z;(z.length===0||z[0].type!=="first")&&(ce=[new $r({type:"first",mode:this.mode}),...z]),this.array[y][b]=ce;for(const Te of ce)Te.parent=this,Te.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(wa(this));this.array.splice(y,0,b);for(let z=y;z<this.rowCount;z++)for(let ce=0;ce<this.colCount;ce++){const Te=this.array[z][ce];if(Te)for(const Fe of Te)Fe.parentBranch=[z,ce]}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(wa(this));this.array.splice(y+1,0,b);for(let z=y+1;z<this.rowCount;z++)for(let ce=0;ce<this.colCount;ce++){const Te=this.array[z][ce];if(Te)for(const Fe of Te)Fe.parentBranch=[z,ce]}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 ce of z)if(ce)for(const Te of ce)Te.parent=void 0,Te.parentBranch=void 0;for(let z=y;z<this.rowCount;z++)for(let ce=0;ce<this.colCount;ce++){const Te=this.array[z][ce];if(Te)for(const Fe of Te)Fe.parentBranch=[z,ce]}this.isDirty=!0}addColumnBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y,0,wa(this));for(let b=0;b<this.rowCount;b++)for(let z=y;z<this.colCount;z++){const ce=this.array[b][z];if(ce)for(const Te of ce)Te.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,wa(this));for(let b=0;b<this.rowCount;b++)for(let z=y+1;z<this.colCount;z++){const ce=this.array[b][z];if(ce)for(const Te of ce)Te.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 ce of z)if(ce)for(const Te of ce)Te.parent=void 0,Te.parentBranch=void 0}for(let b=0;b<this.rowCount;b++)for(let z=y;z<this.colCount;z++){const ce=this.array[b][z];if(ce)for(const Te of ce)Te.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(ce=>ce.type!=="first"));return y}};function wa(a){const y=new $r({type:"first",mode:a.mode});y.parent=a;const b=new pi;return b.parent=a,[y,b]}function ba(a){const y=new Rn(null,{classes:"arraycolsep"});return y.width=a,y}function Sa(a,y,b,z){if(!z)return null;const ce=[];for(const Te of y){const Fe=$r.createBox(a,z,{type:"ignore"});Fe&&(Fe.depth=Te.depth,Fe.height=Te.height,ce.push({box:Fe,shift:Te.pos-b}))}return new ia({individualShift:ce}).wrap(a)}var Ma=class Im extends $r{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 oe(ie({},super.toJson()),{framecolor:this.framecolor,backgroundcolor:this.backgroundcolor,padding:this.padding,offset:this.offset,border:this.border})}render(y){var b,z,ce,Te;const Fe=$r.createBox(y,this.body,{type:"lift"});if(!Fe)return null;const rt=y.toEm((b=this.offset)!=null?b:{dimension:0});Fe.depth+=rt,Fe.setStyle("display","inline-block"),Fe.setStyle("position","relative"),Fe.setStyle("height",Math.floor(100*Fe.height+Fe.depth)/100,"em"),Fe.setStyle("vertical-align",-Math.floor(100*Fe.height)/100,"em");const ct=new zi({parent:y},this.style),mt=ct.toEm((z=this.padding)!=null?z:{register:"fboxsep"}),wt=new Rn(null,{classes:"ML__box"});wt.height=Fe.height+mt,wt.depth=Fe.depth+mt,wt.setStyle("box-sizing","border-box"),wt.setStyle("position","absolute"),wt.setStyle("top",-mt+.3,"em"),wt.setStyle("left",0),wt.setStyle("height",wt.height+wt.depth,"em"),wt.setStyle("width","100%"),this.backgroundcolor&&wt.setStyle("background-color",(ce=ct.toColor(this.backgroundcolor))!=null?ce:"transparent"),this.framecolor&&wt.setStyle("border",`${ct.getRegisterAsEm("fboxrule",2)}em solid ${(Te=ct.toColor(this.framecolor))!=null?Te:"black"}`),this.border&&wt.setStyle("border",this.border);const Rt=new Rn([wt,Fe],{type:"lift"});return Rt.setStyle("display","inline-block"),Rt.setStyle("position","relative"),Rt.setStyle("line-height",0),Rt.height=Fe.height+mt+(rt>0?rt:0),Rt.depth=Fe.depth+mt+(rt<0?-rt:0),Rt.setStyle("padding-left",mt,"em"),Rt.setStyle("padding-right",mt,"em"),Rt.setStyle("height",Math.floor(100*(Fe.height+Fe.depth+2*mt+Math.abs(rt)))/100,"em"),Rt.setStyle("margin-top",-mt,"em"),Rt.setStyle("top",Math.floor(100*(Fe.depth-Fe.height+2*mt-rt))/100,"em"),Rt.setStyle("vertical-align",Math.floor(100*(Fe.depth+2*mt))/100,"em"),this.caret&&(Rt.caret=this.caret),this.attachSupsub(y,{base:Rt})}_serialize(y){return y.skipStyles?Ni([this.bodyToLatex(y),this.supsubToLatex(y)]):super._serialize(y)}},pl=class Bm extends $r{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 Bm(y.value,y)}toJson(){return super.toJson()}get computedStyle(){return{}}render(y){const b=new Rn(this.value,{classes:"ML__composition",type:"composition"});return this.bind(y,b),this.caret&&(b.caret=this.caret),b}_serialize(y){return""}},Eo=class Lm extends $r{constructor(y){super({type:"error",value:y,command:y,mode:"math"}),this.verbatimLatex=y}static fromJson(y){return new Lm(y.command)}toJson(){return super.toJson()}render(y){const b=this.createBox(y,{classes:"ML__error"});return this.caret&&(b.caret=this.caret),b}},$a=class Pm extends $r{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 Pm(y.body,y.mode,y.style)}render(y){const b=$r.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=St(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):`{${this.bodyToLatex(y)}}`}},Xi=class Rm extends $r{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 ce=this.matchingRightDelim();return this.variant==="left...right"?Ni(["\\left",(b=this.leftDelim)!=null?b:".",this.bodyToLatex(y),"\\right",ce]):this.variant==="mleft...mright"?Ni(["\\mleft",(z=this.leftDelim)!=null?z:".",this.bodyToLatex(y),"\\mright",ce]):Ni([!this.leftDelim||this.leftDelim==="."?"":this.leftDelim,this.bodyToLatex(y),ce])}matchingRightDelim(){var y,b;if(this.rightDelim&&this.rightDelim!=="?")return this.rightDelim;const z=(y=this.leftDelim)!=null?y:".";return(b=be[z])!=null?b:z}render(y){var b,z;const ce=new zi({parent:y},this.style);console.assert(this.body!==void 0);const Te=new zi({parent:y,mathstyle:"textstyle"},this.style),Fe=(b=$r.createBox(ce,this.body,{type:"inner"}))!=null?b:new Rn(null,{type:"inner"}),rt=Fe.height/Te.scalingFactor,ct=Fe.depth/Te.scalingFactor,mt=[];if(this.leftDelim&&mt.push(this.bind(Te,Jn("open",this.leftDelim,rt,ct,Te,{isSelected:this.isSelected,classes:"ML__open"+(this.containsCaret?" ML__contains-caret":""),mode:this.mode,style:this.style}))),Fe&&(za(Fe.children,this,ce,rt,ct),mt.push(Fe)),this.rightDelim){let nr=this.containsCaret?" ML__contains-caret":"",cr=this.rightDelim;cr==="?"&&(ce.smartFence?(cr=this.matchingRightDelim(),nr+=" ML__smart-fence__close"):cr="."),mt.push(this.bind(Te,Jn("close",cr,rt,ct,Te,{isSelected:this.isSelected,classes:nr+" ML__close",mode:this.mode,style:this.style})))}let wt=this.variant==="mleft...mright";const Rt=this.leftSibling;Rt&&(!wt&&Rt.isFunction&&(wt=!0),!wt&&Rt.type==="subsup"&&((z=Rt.leftSibling)!=null&&z.isFunction)&&(wt=!0));const Gt=new Rn(mt,{type:wt?"close":"inner",classes:"left-right"});return Gt.setStyle("margin-top",`${-Fe.depth}em`),Gt.setStyle("height",`${Fe.height+Fe.depth}em`),this.caret&&(Gt.caret=this.caret),this.bind(ce,Gt.wrap(ce))}};function za(a,y,b,z,ce){if(a)for(let Te=0;Te<a.length;Te++){const Fe=a[Te];Fe.type==="middle"?(a[Te]=y.bind(b,Jn("inner",Fe.value,z,ce,b,{isSelected:y.isSelected})),a[Te].caret=Fe.caret,a[Te].isSelected=Fe.isSelected,a[Te].cssId=Fe.cssId,a[Te].htmlData=Fe.htmlData,a[Te].htmlStyle=Fe.htmlStyle,a[Te].attributes=Fe.attributes,a[Te].cssProperties=Fe.cssProperties):Fe.children&&za(Fe.children,y,b,z,ce)}}var ou=class Nm extends $r{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 Nm(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=$r.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},xs=class _m extends $r{constructor(){super({type:"macro-argument"})}static fromJson(y){return new _m}toJson(){return super.toJson()}_serialize(y){return""}render(y){return null}},js=class jm extends $r{constructor(y,b,z=!1,ce,Te){var Fe;super({type:"prompt",mode:(Fe=Te==null?void 0:Te.mode)!=null?Fe:"math",style:Te==null?void 0:Te.style,command:"\\placeholder"}),this.body=ce,this.correctness=b,this.placeholderId=y,this.locked=z,this.captureSelection=this.locked}static fromJson(y){return new jm(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 zi({parent:y}),z=b.getRegisterAsEm("fboxsep"),ce=z,Te=z,Fe=$r.createBox(y,this.body);if(!Fe)return null;Fe.height||(Fe.height=b.metrics.xHeight),Fe.setStyle("vertical-align",-Fe.height,"em"),this.correctness==="correct"?Fe.setStyle("color","var(--correct-color, var(--ML__correct-color))"):this.correctness==="incorrect"&&Fe.setStyle("color","var(--incorrect-color, var(--ML__incorrect-color))");const rt=new Rn(Fe,{type:"ord"});rt.setStyle("display","inline-block"),rt.setStyle("height",Fe.height+Fe.depth,"em"),rt.setStyle("vertical-align",-Te,"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 mt=new Rn(null,{classes:ct,attributes:{part:"prompt"}});mt.height=rt.height+Te,mt.depth=rt.depth+Te,mt.width=rt.width+2*ce,mt.setStyle("box-sizing","border-box"),mt.setStyle("position","absolute"),mt.setStyle("height",rt.height+rt.depth+2*Te,"em"),ce===0&&mt.setStyle("width","100%"),ce!==0&&(mt.setStyle("width",`calc(100% + ${2*ce}em)`),mt.setStyle("top",z,"em"),mt.setStyle("left",-ce,"em")),(!this.body||this.body.length===1)&&(mt.width=3*ce,mt.setStyle("width",`calc(100% + ${3*ce}em)`),mt.setStyle("left",-1.5*ce,"em"));let wt="";this.correctness==="incorrect"&&(wt+='<line x1="3%" y1="97%" x2="97%" y2="3%" stroke-width="0.5" stroke="var(--incorrect-color, var(--ML__incorrect-color))" stroke-linecap="round" />'),wt&&(mt.svgOverlay=wt);const Rt=new Rn([mt,rt],{classes:"ML__prompt-atom"});return Rt.setStyle("position","relative"),Rt.setStyle("display","inline-block"),Rt.setStyle("line-height",0),Rt.height=rt.height+Te+.2,Rt.depth=rt.depth+Te,Rt.left=ce,Rt.right=ce,Rt.setStyle("height",rt.height+Te,"em"),Rt.setStyle("top",rt.depth-rt.height,"em"),Rt.setStyle("vertical-align",rt.depth+Te,"em"),Rt.setStyle("margin-left",.5,"em"),Rt.setStyle("margin-right",.5,"em"),this.caret&&(Rt.caret=this.caret),this.bind(b,this.attachSupsub(y,{base:Rt}))}_serialize(y){var b;const z=(b=this.bodyToLatex(y))!=null?b:"";if(y.skipPlaceholders)return z;let ce="\\placeholder";return this.placeholderId&&(ce+=`[${this.placeholderId}]`),this.correctness==="correct"?ce+="[correct]":this.correctness==="incorrect"&&(ce+="[incorrect]"),this.locked&&(ce+="[locked]"),da(ce,z)}},es=class Fm extends $r{constructor(y){super({type:"subsup",style:y==null?void 0:y.style}),this.subsupPlacement="auto"}static fromJson(y){const b=new Fm(y);for(const z of Bl)y[z]&&b.setChildren(y[z],z);return b}render(y){var b;const z=new zi({parent:y,isPhantom:!0}),ce=this.leftSibling,Te=(b=ce.render(z))!=null?b:new Rn(null),Fe=new Rn(null);return Fe.height=Te.height,Fe.depth=Te.depth,this.attachSupsub(y,{base:Fe,isCharacterBox:ce.isCharacterBox(),type:"ignore"})}_serialize(y){return this.supsubToLatex(y)}};function Pa(a){return a?!/^(<$$>|<$>|<space>|<{>|<}>|#[0-9\?]|\\.+)$/.test(a):!1}var ml=class{constructor(a,y,b){this.errors=[],this.index=0,this.endCount=0;var z,ce,Te,Fe;b!=null||(b={}),this.tokens=a,this.context=y instanceof zi&&!(b!=null&&b.parseMode)&&!b.mathstyle?y:new zi({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:(ce=b.style)!=null?ce:{},parseMode:(Te=b.parseMode)!=null?Te:"math",mathstyle:(Fe=b.mathstyle)!=null?Fe:"displaystyle",tabular:!1}}beginContext(a){var y,b,z;const ce=this.parsingContext,Te={parent:ce,mathlist:[],style:ie({},ce.style),parseMode:(y=a==null?void 0:a.mode)!=null?y:ce.parseMode,mathstyle:(b=a==null?void 0:a.mathstyle)!=null?b:ce.mathstyle,tabular:(z=a==null?void 0:a.tabular)!=null?z:!1};this.parsingContext=Te}endContext(){this.parsingContext=this.parsingContext.parent}onError(a){this.errors.push(ie({before:Bs(this.tokens.slice(this.index,this.index+10)),after:Bs(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 ie({},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 es({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=St(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?qa(y,{parseMode:this.parseMode,mathstyle:"textstyle"}):[new pi({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 Te=this.get();Pa(Te)?(z+=Te,b=this.end()||z.length>=a.length):b=!0}const ce=a.toUpperCase()===z.toUpperCase();return ce||(this.index=y),ce}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(Pa(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,ce=this.peek();for(;ce==="<space>"||ce==="+"||ce==="-";)this.get(),ce==="-"&&(z=!z),ce=this.peek();a=!!a;let Te=10,Fe=/\d/;if(this.match("'"))Te=8,Fe=/[0-7]/,a=!0;else if(this.match('"'))Te=16,Fe=/[\dA-F]/,a=!0;else if(this.match("x"))Te=16,Fe=/[\dA-Fa-f]/,a=!0;else if(this.match("`"))return ce=this.get(),ce?ce.length===2&&ce.startsWith("\\")?{number:(z?-1:1)*((y=ce.codePointAt(1))!=null?y:0),base:"alpha"}:{number:(z?-1:1)*((b=ce.codePointAt(0))!=null?b:0),base:"alpha"}:null;let rt="";for(;this.hasPattern(Fe);)rt+=this.get();if(!a&&(this.match(".")||this.match(",")))for(rt+=".";this.hasPattern(Fe);)rt+=this.get();const ct=a?Number.parseInt(rt,Te):Number.parseFloat(rt);return Number.isNaN(ct)?null:{number:z?-ct:ct,base:Te===16?"hexadecimal":Te===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 Te=this.peek();if(Te==="-")z=!z;else if(Te!=="+")break;this.next(),this.skipWhitespace()}if(this.match("\\global")){this.skipWhitespace();const Te=this.get();return Te.startsWith("\\")?b?{register:Te,global:!0,factor:(z?-1:1)*b.number}:z?{register:Te,global:!0,factor:-1}:{register:Te,global:!0}:(this.index=y,null)}let ce=this.get();return ce!=null&&ce.startsWith("\\")?(ce=ce.substring(1),this.context.registers[ce]?!z||b!==null?{register:ce,factor:(z?-1:1)*((a=b==null?void 0:b.number)!=null?a:1)}:{register:ce}:(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()||!Pa(this.peek()))return null;const ce=this.scanString();return ce.length>0?{string:ce}: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=Xe(a);if(!y)return this.onError({code:"unknown-environment",arg:a}),null;const b=[];if(y.params)for(const rt of y.params)if(rt.isOptional)b.push(this.scanOptionalArgument(rt.type));else{const ct=this.scanArgument(rt.type);ct||this.onError({code:"missing-argument",arg:a}),b.push(ct)}this.beginContext({tabular:y.tabular});const z=[],ce=[];let Te=[],Fe=!1;do if(this.end()&&(this.onError({code:"unbalanced-environment",arg:a}),Fe=!0),!Fe&&this.match("\\end")&&(this.scanArgument("string")!==a&&this.onError({code:"unbalanced-environment",arg:a}),Fe=!0),!Fe)if(this.matchColumnSeparator())Te.push(this.mathlist),this.mathlist=[];else if(this.matchRowSeparator()){Te.push(this.mathlist),this.mathlist=[];let rt=null;this.skipWhitespace(),this.match("[")&&(rt=this.scanDimen(),this.skipWhitespace(),this.match("]")),ce.push(rt!=null?rt:{dimension:0}),z.push(Te),Te=[]}else this.mathlist.push(...this.scan(rt=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline"].includes(rt)));while(!Fe);return Te.push(this.mathlist),Te.length>0&&z.push(Te),this.endContext(),y.createAtom(a,z,ce,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=Fe=>Fe==="<}>");let y="",b=null,z=[],ce=null;for(;!this.end()&&!a(this.peek());)this.hasInfixCommand()&&!y?(y=this.get(),b=St(y,"math"),b&&(z=this.scanArguments(b)[1]),ce=this.mathlist,this.mathlist=[]):this.parseExpression();let Te;return y?(console.assert(!!b),z.unshift(this.mathlist),ce&&z.unshift(ce),Te=[b.createAtom({command:y,args:z,style:this.style,mode:this.parseMode})]):Te=this.mathlist,this.endContext(),Te}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 $a(y,this.parseMode,this.style);return b.verbatimLatex=Bs(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 Xi("",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(!Pa(a)&&!a.startsWith("\\"))return null;this.next();const y=St(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 Eo("\\right");if(this.match("\\mright"))return this.onError({code:"unbalanced-braces"}),new Eo("\\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 Eo(y==="\\right"?"\\left":"\\mleft");for(this.beginContext();!this.end()&&!this.match(y);)this.parseExpression();const z=this.mathlist;this.endContext();const ce=(a=this.scanDelim())!=null?a:".";return new Xi(y==="\\right"?"left...right":"mleft...mright",z,{leftDelim:b,rightDelim:ce,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 $r({type:"mord",command:"\\doubleprime",mode:"math",value:"\u2032\u2032"}),"superscript"):y.addChild(new $r({type:"mord",command:"\\prime",mode:"math",value:"\u2032"}),"superscript"):(this.match("^")||this.match("_"))&&y.addChildren(qe(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 ce=a.params[z];ce.type==="rest"?b.push(this.scan(Te=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline","\\right"].includes(Te))):ce.isOptional?b.push(this.scanOptionalArgument(ce.type)):ce.type.endsWith("*")?y=ce.type.slice(0,-1):b.push(this.scanArgument(ce.type)),z+=1}return[y,b]}scanSymbolOrLiteral(){const a=this.peek();if(!a)return null;this.next();let y;if(Pa(a)){const b=Do.createAtom(this.parseMode,a,ie({},this.style));return b?[b]:null}if(y=this.scanMacro(a),y)return[y];if(a.startsWith("\\")){const b=St(a,this.parseMode);if(!b)return this.onError({code:"unknown-command",arg:a}),[new Eo(a)];if(b.definitionType==="symbol"){const z=ie({},this.style);b.variant&&(z.variant=b.variant),y=new $r({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 Eo(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 ce=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),ce}if(a==="text"){a!==b&&this.beginContext({mode:"text"});const ce=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),ce}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 ce=this.mathlist;return this.endContext(),{group:ce}}if(a==="math"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ce=this.mathlist;return this.endContext(),{group:ce}}let z=null;if(a==="expression"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ce=this.mathlist;return this.endContext(),{group:ce}}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 ce of z){const Te=ce.match(/^\s*([\d.]+)\s*([a-z]{2})/);if(Te)b.padding={dimension:parseInt(Te[1]),unit:Te[2]};else{const Fe=ce.match(/^\s*border\s*:\s*(.*)/);Fe?b.border=Fe[1]:b.backgroundcolor={string:ce}}}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 rt=this.scanOptionalArgument("string"),ct=this.scanOptionalArgument("math"),mt=$r.serialize(ct,{defaultMode:"math"});let wt=[],Rt;!Rt&&mt==="correct"?Rt="correct":!Rt&&mt==="incorrect"?Rt="incorrect":mt!==""&&(wt=ct);const Gt=this.scanOptionalArgument("string")==="locked",nr=this.scanArgument("auto");let cr;return nr&&Array.isArray(nr)&&nr.length>0?cr=nr:nr&&typeof nr=="object"&&"group"in nr?cr=nr.group:cr=wt,rt?[new js(rt,Rt,Gt,cr!=null?cr:wt,{mode:this.parseMode,style:this.style})]:[new pi({mode:this.parseMode,style:this.style})]}if(a==="\\renewcommand"||a==="\\newcommand"||a==="\\providecommand"||a==="\\def"){const rt=this.index,ct=this.scanLiteralGroup()||this.next();if(!ct)return null;if(this.context.registers[ct.substring(1)]){const mt=this.scanArgument("string");mt!==null&&(this.context.registers[ct.substring(1)]=mt);const wt=Ni([a,Bs(this.tokens.slice(rt,this.index))]);return[new $r({type:"text",value:"",verbatimLatex:wt})]}}let ce=this.scanMacro(a);if(ce)return[ce];const Te=St(a,this.parseMode);if(!Te)return this.parseMode==="text"?(/[a-zA-Z]/.test((y=this.peek())!=null?y:"")&&(a+=" "),[...a].map(rt=>new $r({type:"text",value:rt,mode:"text",style:this.style}))):(this.onError({code:"unknown-command",arg:a}),[new Eo(a)]);const Fe=this.index;if(Te.definitionType==="symbol"){const rt=ie({},this.style);Te.variant&&(rt.variant=Te.variant),ce=new $r({type:Te.type,command:a,style:rt,value:String.fromCodePoint(Te.codepoint),mode:this.parseMode})}else{if(Te.ifMode&&!Te.ifMode.includes(this.parseMode))return[];const rt=this.parseMode;Te.applyMode&&(this.parseMode=Te.applyMode);let ct,mt=[];if(Te.parse?mt=Te.parse(this):[ct,mt]=this.scanArguments(Te),this.parseMode=rt,Te.applyMode&&!Te.applyStyle&&!Te.createAtom)return qe(mt[0]);if(Te.infix)return this.onError({code:"too-many-infix-commands",arg:a}),null;if(typeof Te.createAtom=="function")ce=Te.createAtom({command:a,args:mt,style:this.style,mode:this.parseMode}),ct&&(ce.body=qe(this.scanArgument(ct)));else if(typeof Te.applyStyle=="function"){const wt=ie(ie({},this.style),Te.applyStyle(a,mt,this.context)),Rt=this.parseMode;if(Te.applyMode&&(this.parseMode=Te.applyMode),ct){const Gt=this.style;this.style=wt;const nr=this.scanArgument(ct);return this.style=Gt,this.parseMode=Rt,qe(nr)}this.style=wt}else ce=new $r({type:"mord",command:(b=Te.command)!=null?b:a,style:ie({},this.style),value:a,mode:(z=Te.applyMode)!=null?z:this.parseMode})}if(!ce)return null;if(ce instanceof $r&&ce.verbatimLatex===void 0&&!/^\\(llap|rlap|class|cssId|htmlData)$/.test(a)){const rt=Ni([a,Bs(this.tokens.slice(Fe,this.index))]);rt&&(ce.verbatimLatex=rt)}if(ce.verbatimLatex===null&&(ce.verbatimLatex=void 0),ce.isFunction&&this.smartFence){const rt=this.scanSmartFence();if(rt)return[ce,rt]}return[ce]}scanSymbolCommandOrLiteral(){const a=this.get();if(!a)return null;if(Pa(a)){const y=Do.createAtom(this.parseMode,a,ie({},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 ys(" "," ",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,ce=b.args,Te={"?":(y=this.args)==null?void 0:y.call(this,"?")};for(let Fe=1;Fe<=ce;Fe++){let rt=this.scanLiteralGroup();if(!rt){const ct=this.index;this.scanExpression(),rt=Bs(this.tokens.slice(ct,this.index))}Te[Fe]=rt}return new ou(a,{expand:b.expand,captureSelection:b.captureSelection,args:z===this.index?null:Bs(this.tokens.slice(z,this.index)),style:this.parsingContext.style,body:qa(b.def,{context:this.context,parseMode:this.parseMode,args:Fe=>Te[Fe],mathstyle:this.parsingContext.mathstyle,style:this.parsingContext.style})})}parseExpression(){var a,y,b,z;let ce=(z=(b=(y=(a=this.scanEnvironment())!=null?a:this.scanModeShift())!=null?y:this.scanModeSet())!=null?b:this.scanGroup())!=null?z:this.scanLeftRight();if(ce===null){if(this.parseSupSub()||this.parseLimits())return!0;ce=this.scanSymbolCommandOrLiteral()}return ce?(Array.isArray(ce)?this.mathlist.push(...ce):this.mathlist.push(ce),!0):!1}};function qa(a,y){var b,z,ce,Te;const Fe=(b=y==null?void 0:y.args)!=null?b:void 0,rt=new ml(ms(a,Fe),y==null?void 0:y.context,{args:Fe,mathstyle:(z=y==null?void 0:y.mathstyle)!=null?z:"displaystyle",parseMode:(ce=y==null?void 0:y.parseMode)!=null?ce:"math",style:(Te=y==null?void 0:y.style)!=null?Te:{}}),ct=[];for(;!rt.end();)ct.push(...rt.scan(()=>!1));return ct}function rp(a,y){var b;const z=new ml(ms(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 np=class zm extends $r{constructor(y,b){super({type:"chem"},{command:y,mode:"math"});const z=pa.go(Bn.go(b,y==="\\pu"?"pu":"ce"),!1);this.body=qa(z),this._verbatimLatex=y+"{"+b+"}",this.arg=b,this.captureSelection=!0}static fromJson(y){return new zm(y.command,y.arg)}set verbatimLatex(y){}get verbatimLatex(){return this._verbatimLatex}toJson(){return oe(ie({},super.toJson()),{arg:this.arg})}render(y){const b=$r.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}};kt(["ce","pu"],"{chemformula:balanced-string}",{createAtom:a=>{var y;return new np(a.command,(y=a.args[0])!=null?y:"")}});var Bn={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 ce,Te=10,Fe=[];;){ce!==a?(Te=10,ce=a):Te--;var rt=Bn.stateMachines[y],ct=rt.transitions[b]||rt.transitions["*"];e:for(var mt=0;mt<ct.length;mt++){var wt=Bn.patterns.match_(ct[mt].pattern,a);if(wt){for(var Rt=ct[mt].task,Gt=0;Gt<Rt.action_.length;Gt++){var nr;if(rt.actions[Rt.action_[Gt].type_])nr=rt.actions[Rt.action_[Gt].type_](z,wt.match_,Rt.action_[Gt].option);else if(Bn.actions[Rt.action_[Gt].type_])nr=Bn.actions[Rt.action_[Gt].type_](z,wt.match_,Rt.action_[Gt].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+Rt.action_[Gt].type_+")"];Bn.concatArray(Fe,nr)}if(b=Rt.nextState||b,a.length>0){if(Rt.revisit||(a=wt.remainder),!Rt.toContinue)break e}else return Fe}}if(Te<=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=Bn.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 Bn.patterns.findObserveGroups(a,"^{","","","}")},"^($...$)":function(a){return Bn.patterns.findObserveGroups(a,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(a){return Bn.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(a){return Bn.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(a){return Bn.patterns.findObserveGroups(a,"_{","","","}")},"_($...$)":function(a){return Bn.patterns.findObserveGroups(a,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(a){return Bn.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(a){return Bn.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(a){return Bn.patterns.findObserveGroups(a,"","{","}","")},"{(...)}":function(a){return Bn.patterns.findObserveGroups(a,"{","","","}")},"$...$":function(a){return Bn.patterns.findObserveGroups(a,"","$","$","")},"${(...)}$":function(a){return Bn.patterns.findObserveGroups(a,"${","","","}$")},"$(...)$":function(a){return Bn.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 Bn.patterns.findObserveGroups(a,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(a){return Bn.patterns.findObserveGroups(a,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(a){return Bn.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(a){return Bn.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 Bn.patterns.findObserveGroups(a,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(a){return Bn.patterns.findObserveGroups(a,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(a){return Bn.patterns.findObserveGroups(a,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(a){return Bn.patterns.findObserveGroups(a,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(a){return Bn.patterns.findObserveGroups(a,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(a){return Bn.patterns.findObserveGroups(a,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(a){return Bn.patterns.findObserveGroups(a,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(a){return Bn.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=Bn.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,ce,Te,Fe,rt,ct,mt){var wt=function(zr,ln){if(typeof ln=="string")return zr.indexOf(ln)!==0?null:ln;var jn=zr.match(ln);return jn?jn[0]:null},Rt=function(zr,ln,jn){for(var wn=0;ln<zr.length;){var oi=zr.charAt(ln),hi=wt(zr.substr(ln),jn);if(hi!==null&&wn===0)return{endMatchBegin:ln,endMatchEnd:ln+hi.length};if(oi==="{")wn++;else if(oi==="}"){if(wn===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];wn--}ln++}return wn>0,null},Gt=wt(a,y);if(Gt===null||(a=a.substr(Gt.length),Gt=wt(a,b),Gt===null))return null;var nr=Rt(a,Gt.length,z||ce);if(nr===null)return null;var cr=a.substring(0,z?nr.endMatchEnd:nr.endMatchBegin);if(Te||Fe){var Kr=this.findObserveGroups(a.substr(nr.endMatchEnd),Te,Fe,rt,ct);if(Kr===null)return null;var Pn=[cr,Kr.match_];return{match_:mt?Pn.join(""):Pn,remainder:Kr.remainder}}else return{match_:cr,remainder:a.substr(nr.endMatchEnd)}},match_:function(a,y){var b=Bn.patterns.patterns[a];if(b===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+a+")"];if(typeof b=="function")return Bn.patterns.patterns[a](y);var z=y.match(b);if(z){var ce;return z[2]?ce=[z[1],z[2]]:z[1]?ce=z[1]:ce=z[0],{match_:ce,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 Bn.go(y,"text")},"{text}":function(a,y){var b=["{"];return Bn.concatArray(b,Bn.go(y,"text")),b.push("}"),b},"tex-math":function(a,y){return Bn.go(y,"tex-math")},"tex-math tight":function(a,y){return Bn.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 Bn.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 Bn.go(y,"9,9")}},createTransitions:function(a){var y,b,z,ce,Te={};for(y in a)for(b in a[y])for(z=b.split("|"),a[y][b].stateArray=z,ce=0;ce<z.length;ce++)Te[z[ce]]=[];for(y in a)for(b in a[y])for(z=a[y][b].stateArray||[],ce=0;ce<z.length;ce++){var Fe=a[y][b];if(Fe.action_){Fe.action_=[].concat(Fe.action_);for(var rt=0;rt<Fe.action_.length;rt++)typeof Fe.action_[rt]=="string"&&(Fe.action_[rt]={type_:Fe.action_[rt]})}else Fe.action_=[];for(var ct=y.split("|"),mt=0;mt<ct.length;mt++)if(z[ce]==="*")for(var wt in Te)Te[wt].push({pattern:ct[mt],task:Fe});else Te[z[ce]].push({pattern:ct[mt],task:Fe})}return Te},stateMachines:{}};Bn.stateMachines={ce:{transitions:Bn.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 Bn.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 Bn.concatArray(b,this.output(a)),Bn.concatArray(b,Bn.actions.bond(a,y,"-")),b}else a.d=y},"- after o/d":function(a,y,b){var z=Bn.patterns.match_("orbital",a.o||""),ce=Bn.patterns.match_("one lowercase greek letter $",a.o||""),Te=Bn.patterns.match_("one lowercase latin letter $",a.o||""),Fe=Bn.patterns.match_("$one lowercase latin letter$ $",a.o||""),rt=y==="-"&&(z&&z.remainder===""||ce||Te||Fe);rt&&!a.a&&!a.b&&!a.p&&!a.d&&!a.q&&!z&&Te&&(a.o="$"+a.o+"$");var ct=[];return rt?(Bn.concatArray(ct,this.output(a)),ct.push({type_:"hyphen"})):(z=Bn.patterns.match_("digits",a.d||""),b&&z&&z.remainder===""?(Bn.concatArray(ct,Bn.actions["d="](a,y)),Bn.concatArray(ct,this.output(a))):(Bn.concatArray(ct,this.output(a)),Bn.concatArray(ct,Bn.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:Bn.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"&&Bn.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:Bn.go(a.a,"a"),b:Bn.go(a.b,"bd"),p:Bn.go(a.p,"pq"),o:Bn.go(a.o,"o"),q:Bn.go(a.q,"pq"),d:Bn.go(a.d,a.dType==="oxidation"?"oxidation":"bd"),dType:a.dType}));else{var ce;a.rdt==="M"?ce=Bn.go(a.rd,"tex-math"):a.rdt==="T"?ce=[{type_:"text",p1:a.rd||""}]:ce=Bn.go(a.rd);var Te;a.rqt==="M"?Te=Bn.go(a.rq,"tex-math"):a.rqt==="T"?Te=[{type_:"text",p1:a.rq||""}]:Te=Bn.go(a.rq),z={type_:"arrow",r:a.r,rd:ce,rq:Te}}for(var Fe in a)Fe!=="parenthesisLevel"&&Fe!=="beginsWithBond"&&delete a[Fe];return z},"oxidation-output":function(a,y){var b=["{"];return Bn.concatArray(b,Bn.go(y,"oxidation")),b.push("}"),b},"frac-output":function(a,y){return{type_:"frac-ce",p1:Bn.go(y[0]),p2:Bn.go(y[1])}},"overset-output":function(a,y){return{type_:"overset",p1:Bn.go(y[0]),p2:Bn.go(y[1])}},"underset-output":function(a,y){return{type_:"underset",p1:Bn.go(y[0]),p2:Bn.go(y[1])}},"underbrace-output":function(a,y){return{type_:"underbrace",p1:Bn.go(y[0]),p2:Bn.go(y[1])}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Bn.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:Bn.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:Bn.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:Bn.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:Bn.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:Bn.go(y,"o")}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Bn.go(y[1],"pq")}}}},bd:{transitions:Bn.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:Bn.go(y[1],"bd")}}}},oxidation:{transitions:Bn.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:Bn.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:Bn.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:Bn.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:Bn.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]&&(Bn.concatArray(b,Bn.go(y[1],"pu-9,9")),y[2]&&(y[2].match(/[,.]/)?Bn.concatArray(b,Bn.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]),Bn.concatArray(b,Bn.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=Bn.patterns.match_("{(...)}",a.d||"");b&&b.remainder===""&&(a.d=b.match_);var z=Bn.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 ce={d:Bn.go(a.d,"pu"),q:Bn.go(a.q,"pu")};a.o==="//"?y={type_:"pu-frac",p1:ce.d,p2:ce.q}:(y=ce.d,ce.d.length>1||ce.q.length>1?y.push({type_:" / "}):y.push({type_:"/"}),Bn.concatArray(y,ce.q))}else y=Bn.go(a.d,"pu-2");for(var Te in a)delete a[Te];return y}}},"pu-2":{transitions:Bn.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=Bn.patterns.match_("{(...)}",a.rm||"");b&&b.remainder===""?y=Bn.go(b.match_,"pu"):y={type_:"rm",p1:a.rm}}for(var z in a)delete a[z];return y}}},"pu-9,9":{transitions:Bn.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 ce in a)delete a[ce];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 ce in a)delete a[ce];return y}}}};var pa={go:function(a,y){if(!a)return"";for(var b="",z=!1,ce=0;ce<a.length;ce++){var Te=a[ce];typeof Te=="string"?b+=Te:(b+=pa._go2(Te),Te.type_==="1st-level escape"&&(z=!0))}return!y&&!z&&b&&(b="{"+b+"}"),b},_goInner:function(a){return a&&pa.go(a,!0)},_go2:function(a){var y;switch(a.type_){case"chemfive":y="";var b={a:pa._goInner(a.a),b:pa._goInner(a.b),p:pa._goInner(a.p),o:pa._goInner(a.o),q:pa._goInner(a.q),d:pa._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 "+pa._goInner(a.p1);break;case"state of aggregation subscript":y="\\mskip1mu "+pa._goInner(a.p1);break;case"bond":if(y=pa._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 ce="\\frac{"+pa._goInner(a.p1)+"}{"+pa._goInner(a.p2)+"}";y="\\mathchoice{\\textstyle"+ce+"}{"+ce+"}{"+ce+"}{"+ce+"}";break;case"tex-math":y=a.p1+" ";break;case"frac-ce":y="\\frac{"+pa._goInner(a.p1)+"}{"+pa._goInner(a.p2)+"}";break;case"overset":y="\\overset{"+pa._goInner(a.p1)+"}{"+pa._goInner(a.p2)+"}";break;case"underset":y="\\underset{"+pa._goInner(a.p1)+"}{"+pa._goInner(a.p2)+"}";break;case"underbrace":y="\\underbrace{"+pa._goInner(a.p1)+"}_{"+pa._goInner(a.p2)+"}";break;case"color":y="{\\color{"+a.color1+"}{"+pa._goInner(a.color2)+"}}";break;case"color0":y="\\color{"+a.color+"}";break;case"arrow":var Te={rd:pa._goInner(a.rd),rq:pa._goInner(a.rq)},Fe=pa._getArrow(a.r);Te.rd||Te.rq?a.r==="<=>"||a.r==="<=>>"||a.r==="<<=>"||a.r==="<-->"?(Fe="\\long"+Fe,Te.rd&&(Fe="\\overset{"+Te.rd+"}{"+Fe+"}"),Te.rq&&(a.r==="<-->"?Fe="\\underset{\\lower2mu{"+Te.rq+"}}{"+Fe+"}":Fe="\\underset{\\lower6mu{"+Te.rq+"}}{"+Fe+"}"),Fe=" {}\\mathrel{"+Fe+"}{} "):(Te.rq&&(Fe+="[{"+Te.rq+"}]"),Fe+="{"+Te.rd+"}",Fe=" {}\\mathrel{\\x"+Fe+"}{} "):Fe=" {}\\mathrel{\\long"+Fe+"}{} ",y=Fe;break;case"operator":y=pa._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 Km extends $r{constructor(y){super(oe(ie({},y),{type:"delim"})),this.value=y.delim,this.size=y.size}static fromJson(y){return new Km(y)}toJson(){return oe(ie({},super.toJson()),{delim:this.value,size:this.size})}render(y){return new Rn(this.value,{type:"middle"})}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=St(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):da(this.command,this.value)}},ap=class Hm extends $r{constructor(y){super(oe(ie({},y),{type:"sizeddelim",value:y.delim})),this.delimType=y.delimType,this.size=y.size}static fromJson(y){return new Hm(y)}toJson(){return oe(ie({},super.toJson()),{delim:this.value,size:this.size,delimType:this.delimType})}render(y){let b=Lr(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=St(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):da(this.command,this.value)}},ud=class Wm extends $r{constructor(y,b,z,ce){var Te,Fe;super({type:"enclose",command:y,style:ce.style}),this.body=b,this.backgroundcolor=ce.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=(Te=ce.shadow)!=null?Te:"none",this.strokeWidth=(Fe=ce.strokeWidth)!=null?Fe:"0.06em",this.strokeWidth||(this.strokeWidth="0.06em"),this.strokeStyle=ce.strokeStyle,this.svgStrokeStyle=ce.svgStrokeStyle,this.strokeColor=ce.strokeColor,this.borderStyle=ce.borderStyle,this.padding=ce.padding,this.captureSelection=!1}static fromJson(y){return new Wm(y.command,y.body,y.notation,y)}toJson(){return oe(ie({},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=St(this.command,this.mode);if(z!=null&&z.serialize)return z.serialize(this,y);let ce=(b=this.command)!=null?b:"";if(this.command==="\\enclose"){ce+="{"+Object.keys(this.notation).join(" ")+"}";let Te="",Fe="";this.backgroundcolor&&this.backgroundcolor!=="transparent"&&(Te+=Fe+'mathbackground="'+this.backgroundcolor+'"',Fe=","),this.shadow&&this.shadow!=="auto"&&(Te+=Fe+'shadow="'+this.shadow+'"',Fe=","),this.strokeWidth||this.strokeStyle!=="solid"?(Te+=Fe+this.borderStyle,Fe=","):this.strokeColor&&this.strokeColor!=="currentColor"&&(Te+=Fe+'mathcolor="'+this.strokeColor+'"',Fe=","),Te&&(ce+=`[${Te}]`)}return da(ce,this.bodyToLatex(y))}render(y){const b=new zi({parent:y},this.style),z=$r.createBox(b,this.body);if(!z)return null;const ce=a0(this.borderStyle),Te=b.toEm(!this.padding||this.padding==="auto"?{register:"fboxsep"}:{string:this.padding});z.setStyle("position","relative"),z.setStyle("display","inline-block"),z.setStyle("top",Te,"em"),z.setStyle("height",z.height+z.depth,"em"),z.setStyle("width",z.width,"em");const Fe=new Rn(null,{classes:"ML__notation"});let rt=z.height+z.depth+2*Te;const ct=z.width+2*Te;let mt="";if(this.notation.horizontalstrike&&(mt+=this.line(3,50,97,50)),this.notation.verticalstrike&&(mt+=this.line(50,3,50,97)),this.notation.updiagonalstrike&&(mt+=this.line(3,97,97,3)),this.notation.downdiagonalstrike&&(mt+=this.line(3,3,97,97)),this.notation.updiagonalarrow){mt+=this.line(Te.toString(),(Te+z.depth+z.height).toString(),(Te+z.width).toString(),Te.toString());const cr=.03*Math.sqrt(ct*ct+rt*rt)*1,Kr=z.width*cr,Pn=(z.depth+z.height)*cr,zr=Te+z.width;let ln=Te;ln+Pn-.4*Kr<0&&(ln=.4*Kr-Pn),mt+='<polygon points="',mt+=`${zr},${ln} ${zr-Kr-.4*Pn},${ln+Pn-.4*Kr} `,mt+=`${zr-.7*Kr},${ln+.7*Pn} ${zr-Kr+.4*Pn},${ln+Pn+.4*Kr} `,mt+=`${zr},${ln}`,mt+=`" stroke='none' fill="${this.strokeColor}"`,mt+="/>"}let wt=0;if(this.notation.phasorangle){const Gt=op(b),nr=(z.height+z.depth+2*Gt+Te).toString(),cr=(z.height+z.depth)/2;mt+=this.line(Te.toString(),nr,(Te+cr+z.width).toString(),nr),mt+=this.line(Te.toString(),nr,(Te+cr).toString(),(Te-Gt).toString()),rt+=Gt,wt=cr,z.left+=rt/2-Te}if(this.notation.longdiv){const Gt=op(b);rt+=Gt,mt+=this.line(Te.toString(),Te.toString(),(Te+z.width).toString(),Te.toString());const nr=.3;wt=nr+Gt,z.left+=nr+Gt,z.setTop(Te+Gt),mt+='<path d="',mt+=`M ${Te} ${Te} a${nr} ${(z.depth+z.height+2*Gt)/2}, 0, 1, 1, 0 ${z.depth+z.height+2*Gt} "`,mt+=` stroke-width="${o0(b)}" stroke="${this.strokeColor}" fill="none"`,mt+="/>"}if(Fe.width=z.width+2*Te+wt,Fe.height=z.height+Te,Fe.depth=z.depth+Te,Fe.setStyle("box-sizing","border-box"),Fe.setStyle("left",`calc(-${ce} / 2 )`),Fe.setStyle("height",`${Math.floor(100*rt)/100}em`),Fe.setStyle("top",`calc(${ce} / 2 )`),this.backgroundcolor&&Fe.setStyle("background-color",this.backgroundcolor),this.notation.box&&Fe.setStyle("border","1px solid red"),this.notation.actuarial&&(Fe.setStyle("border-top",this.borderStyle),Fe.setStyle("border-right",this.borderStyle)),this.notation.madruwb&&(Fe.setStyle("border-bottom",this.borderStyle),Fe.setStyle("border-right",this.borderStyle)),this.notation.roundedbox&&(Fe.setStyle("border-radius","8px"),Fe.setStyle("border",this.borderStyle)),this.notation.circle&&(Fe.setStyle("border-radius","50%"),Fe.setStyle("border",this.borderStyle)),this.notation.top&&Fe.setStyle("border-top",this.borderStyle),this.notation.left&&Fe.setStyle("border-left",this.borderStyle),this.notation.right&&Fe.setStyle("border-right",this.borderStyle),this.notation.bottom&&Fe.setStyle("border-bottom",this.borderStyle),mt){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}"`),Fe.svgStyle=Gt,Fe.svgOverlay=mt}const Rt=new Rn([Fe,z]);return Rt.setStyle("position","relative"),Rt.setStyle("vertical-align",Te,"em"),Rt.setStyle("height",`${Math.floor(100*(z.height+z.depth+2*Te))/100}em`),Rt.setStyle("display","inline-block"),Rt.height=Fe.height,Rt.depth=Fe.depth,Rt.width=Fe.width-2*Te,Rt.left=Te,Rt.right=Te,this.caret&&(Rt.caret=this.caret),Rt.wrap(b)}line(y,b,z,ce){return`<line x1="${xf(y)}" y1="${xf(b)}" x2="${xf(z)}" y2="${xf(ce)}" 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?hs:a.metrics.defaultRuleThickness;return a.metrics.defaultRuleThickness+a.scalingFactor*y/4}var su=class Um extends $r{constructor(y,b,z){var ce,Te;super(oe(ie({},z),{type:"genfrac",displayContainsHighlight:!0})),this.above=y,this.below=b,this.hasBarLine=(ce=z==null?void 0:z.hasBarLine)!=null?ce:!0,this.continuousFraction=(Te=z==null?void 0:z.continuousFraction)!=null?Te:!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),ie(ie({},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 ce=new zi({parent:y,mathstyle:this.mathstyleName},this.style),Te=ce.metrics,Fe=new zi({parent:ce,mathstyle:this.continuousFraction?"":"numerator"},this.style),rt=this.numerPrefix?new Rn([new Rn(this.numerPrefix),$r.createBox(Fe,this.above)],{isTight:Fe.isTight,type:"ignore"}):(b=$r.createBox(Fe,this.above,{type:"ignore"}))!=null?b:new Rn(null,{type:"ignore"}),ct=new zi({parent:ce,mathstyle:this.continuousFraction?"":"denominator"},this.style),mt=this.denomPrefix?new Rn([new Rn(this.denomPrefix),$r.createBox(ct,this.below,{type:"ignore"})]):(z=$r.createBox(ct,this.below,{type:"ignore"}))!=null?z:new Rn(null,{type:"ignore"}),wt=this.hasBarLine?Te.defaultRuleThickness:0;let Rt,Gt=0,nr;ce.isDisplayStyle?(Rt=Fe.metrics.num1,Gt=wt>0?3*wt:7*wt,nr=ct.metrics.denom1):(wt>0?(Rt=Fe.metrics.num2,Gt=wt):(Rt=Fe.metrics.num3,Gt=3*Te.defaultRuleThickness),nr=ct.metrics.denom2);const cr=[];this.isSelected&&cr.push("ML__selected");const Kr=rt.depth,Pn=mt.height;let zr;if(wt<=0){const ui=Rt-Kr-(Pn-nr);ui<Gt&&(Rt+=(Gt-ui)/2,nr+=(Gt-ui)/2),zr=new ia({individualShift:[{box:rt,shift:-Rt,classes:[...cr,"ML__center"]},{box:mt,shift:nr,classes:[...cr,"ML__center"]}]}).wrap(ce)}else{const ui=new Rn(null,{classes:"ML__frac-line",mode:this.mode,style:this.style});ui.softWidth=Math.max(rt.width,mt.width),ui.height=wt/2,ui.depth=wt/2;const Wi=uo+wt/2;Rt<Gt+Kr+Wi&&(Rt=Gt+Kr+Wi);const ta=uo-wt/2;nr<Gt+Pn-ta&&(nr=Gt+Pn-ta),zr=new ia({individualShift:[{box:mt,shift:nr,classes:[...cr,"ML__center"]},{box:ui,shift:-ta,classes:cr},{box:rt,shift:-Rt,classes:[...cr,"ML__center"]}]}).wrap(ce)}const ln=ce.isDisplayStyle?Te.delim1:Te.delim2,jn=this.leftDelim?this.bind(y,ri("open",this.leftDelim,ln,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):ii(ce,"open");let wn=null;this.continuousFraction?wn=new Rn(null,{type:"close"}):this.rightDelim?wn=this.bind(y,ri("close",this.rightDelim,ln,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):wn=ii(ce,"close");const oi=new Rn([jn,zr,wn],{isTight:ce.isTight,type:"inner",classes:"mfrac"}),hi=this.bind(y,oi);return this.caret&&(hi.caret=this.caret),this.attachSupsub(y,{base:hi})}},ao=class Zm extends $r{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 Zm(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),ie({type:"latex",value:this.value},y)}get computedStyle(){return{}}render(y){const b=new Rn(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}},dd=class Vm extends $r{constructor(y){super({type:"latexgroup",mode:"latex"}),this.body=[...y].map(b=>new ao(b)),this.skipBoundary=!1}static fromJson(y){return new Vm("")}toJson(){return super.toJson()}render(y){const b=$r.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(ce=>ce.value).join(""))!=null?z:""}},hh=class Gm extends $r{constructor(y,b){super(oe(ie({},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",ce=new Rn(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(!ce)return null;ce.right=ce.italic;const Te=(ce.height-ce.depth)/2-uo*y.scalingFactor,Fe=ce.italic;ce.setTop(Te);let rt=ce;if(this.superscript||this.subscript){const ct=(b=this.subsupPlacement)!=null?b:"auto";rt=ct==="over-under"||ct==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:ce,baseShift:Te,slant:Fe}):this.attachSupsub(y,{base:ce})}return new Rn(this.bind(y,rt),{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=St(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)),Ni(z)}},fc=class Xm extends $r{constructor(y){const b=y.body;super(oe(ie({},y),{type:"overlap",body:typeof b=="string"?[new $r({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),ie(ie({},super.toJson()),y)}render(y){const b=$r.createBox(y,this.body,{classes:"inner"});return b?(this.caret&&(b.caret=this.caret),this.bind(y,new Rn([b,new Rn(null,{classes:"fix"})],{classes:this.align==="right"?"rlap":"llap",type:this.boxType}))):null}},ts=class Ym extends $r{constructor(y){var b,z,ce,Te;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=(ce=y.paddedBody)!=null?ce:!1,this.paddedLabels=(Te=y.paddedLabels)!=null?Te:!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?Ho(this.svgBody):$r.createBox(y,this.body,{type:"ignore"});const z=new zi({parent:y,mathstyle:"scriptstyle"},this.style);let ce=null;this.svgAbove?ce=Ho(this.svgAbove):this.above&&(ce=$r.createBox(z,this.above,{type:"ignore"}));let Te=null;this.svgBelow?Te=Ho(this.svgBelow):this.below&&(Te=$r.createBox(z,this.below,{type:"ignore"})),this.paddedBody&&(b=new Rn([ii(y,"open"),b,ii(y,"close")],{type:"ignore"}));let Fe=s0(y,{base:b,above:ce,below:Te,type:this.boxType==="bin"||this.boxType==="rel"?this.boxType:"ord",paddedAboveBelow:this.paddedLabels});return Fe?(this.subsupPlacement==="over-under"?Fe=this.attachLimits(y,{base:Fe,type:Fe.type}):Fe=this.attachSupsub(y,{base:Fe}),this.caret&&(Fe.caret=this.caret),this.bind(y,Fe)):null}};function s0(a,y){if(!y.base)return null;if(!y.above&&!y.below){const rt=new Rn(y.base,{type:y.type});return rt.setStyle("position","relative"),rt}let b=0;y.above&&(b=a.metrics.bigOpSpacing5);let z=null;const ce=y.base,Te=0,Fe=["ML__center"];if(y.paddedAboveBelow&&Fe.push("ML__label_padding"),y.below&&y.above){const rt=a.metrics.bigOpSpacing5+y.below.height+y.below.depth+ce.depth+Te;z=new ia({bottom:rt,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:Fe},{box:ce,classes:["ML__center"]},b,{box:y.above,classes:Fe},a.metrics.bigOpSpacing5]})}else y.below?z=new ia({top:ce.height-Te,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:Fe},{box:ce,classes:["ML__center"]}]}):y.above&&(z=new ia({bottom:ce.depth+Te,children:[{box:ce,classes:["ML__center"]},b,{box:y.above,classes:Fe},a.metrics.bigOpSpacing5]}));return new Rn(z,{type:y.type})}var fd=class Jm extends $r{constructor(y){var b,z,ce,Te;super(oe(ie({},y),{type:"phantom"})),this.captureSelection=!0,this.isInvisible=(b=y.isInvisible)!=null?b:!1,this.smashDepth=(z=y.smashDepth)!=null?z:!1,this.smashHeight=(ce=y.smashHeight)!=null?ce:!1,this.smashWidth=(Te=y.smashWidth)!=null?Te:!1}static fromJson(y){return new Jm(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),ie(ie({},super.toJson()),y)}render(y){const b=new zi({parent:y,isPhantom:!0});if(!this.smashDepth&&!this.smashHeight&&!this.smashWidth)return console.assert(this.isInvisible),$r.createBox(b,this.body,{classes:"inner"});const z=$r.createBox(this.isInvisible?b:y,this.body);if(!z)return null;if(this.smashWidth){const ce=new Rn(null,{classes:"fix"});return new Rn([z,ce],{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 ce of z.children)this.smashHeight&&(ce.height=0),this.smashDepth&&(ce.depth=0);return new ia({firstBaseline:[{box:z}]},{type:z.type}).wrap(y)}},hd=class Qm extends $r{constructor(y){var b;super(ie({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 Qm(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 Rn(this.mode==="math"?null:" ");let z;if(this.width!==void 0)z=new Rn(null,{classes:"mspace"}),z.left=y.toEm(this.width);else{const ce=(b={"\\qquad":"qquad","\\quad":"quad","\\enspace":"enspace","\\;":"thickspace","\\:":"mediumspace","\\>":"mediumspace","\\,":"thinspace","\\!":"negativethinspace"}[this.command])!=null?b:"mediumspace";z=new Rn(null,{classes:ce})}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=St(this.command,this.mode);if(z!=null&&z.serialize)return z.serialize(this,y);const ce=(b=this.command)!=null?b:"";return this.width===void 0?ce:this._braced&&!("register"in this.width)?`${ce}{${Ba(this.width)}}`:`${ce}${Ba(this.width)}`}},sp=class $m extends $r{constructor(y){var b;super(oe(ie({},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(oe(ie({},y),{index:y.above}))}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=St(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const z=this.command,ce=this.bodyToLatex(y);return this.above&&!this.hasEmptyBranch("above")?da(`${z}[${this.aboveToLatex(y)}]`,ce):/^[0-9]$/.test(ce)?`${z}${ce}`:da(z,ce)}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 zi({parent:y,mathstyle:"cramp"},this.style),ce=(b=$r.createBox(z,this.body,{type:"inner"}))!=null?b:new Rn(null),Te=z.scalingFactor,Fe=z.metrics.defaultRuleThickness/Te,rt=y.isDisplayStyle?hs:Fe,ct=new Rn(null,{classes:"ML__sqrt-line",style:this.style});ct.height=Fe,ct.softWidth=ce.width;let mt=Te*(Fe+rt/4);const Rt=Math.max(Te*2*rt,ce.height+ce.depth)+mt+Fe,Gt=new zi({parent:y},this.style),nr=this.bind(Gt,new Rn(ri("inner","\\surd",Rt,!1,Gt,{isSelected:this.isSelected}),{isSelected:this.isSelected,classes:"ML__sqrt-sign",style:this.style}));if(!nr)return null;const cr=nr.height+nr.depth-Fe;cr>ce.height+ce.depth+mt&&(mt=(mt+cr-(ce.height+ce.depth))/2),nr.setTop(nr.height-ce.height-mt);const Kr=this.bind(y,new ia({firstBaseline:[{box:new Rn(ce)},mt-2*Fe,{box:ct},Fe]})),Pn=$r.createBox(new zi({parent:y,mathstyle:"scriptscriptstyle"}),this.above,{type:"ignore"});if(!Pn){const jn=new Rn([nr,Kr],{classes:this.containsCaret?"ML__contains-caret":"",type:"inner"});return jn.setStyle("display","inline-block"),jn.setStyle("height",jn.height+jn.depth,"em"),this.caret&&(jn.caret=this.caret),this.bind(y,jn)}const zr=new ia({shift:-.6*(Math.max(nr.height,Kr.height)-Math.max(nr.depth,Kr.depth)),children:[{box:Pn}]}),ln=new Rn([new Rn(zr,{classes:"ML__sqrt-index",type:"ignore"}),nr,Kr],{type:"inner",classes:this.containsCaret?"ML__contains-caret":""});return ln.height=nr.height,ln.depth=nr.depth,this.caret&&(ln.caret=this.caret),this.bind(y,ln)}},l0=class extends Rn{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 ce=z-1;for(;ce>=0&&b[ce].type==="ignore";)ce-=1;if(ce<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){md(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 pd(a,y){if(!a.children)return a;const b=a.children;d0(b);const z=y.getRegisterAsEm("thinmuskip"),ce=y.getRegisterAsEm("medmuskip"),Te=y.getRegisterAsEm("thickmuskip");return md(b,(Fe,rt)=>{var ct,mt,wt;if(!Fe)return;const Rt=Fe.type,Gt=rt.isTight?(ct=u0[Rt])!=null?ct:null:(mt=c0[Rt])!=null?mt:null,nr=(wt=Gt==null?void 0:Gt[rt.type])!=null?wt:null;nr===3&&wf(rt,z),nr===4&&wf(rt,ce),nr===5&&wf(rt,Te)}),a}function md(a,y,b=void 0){if(!a)return b;a=[...a];for(const z of a)z.type==="lift"?b=md(z.children,y,b):z.type==="ignore"?md(z.children,y):(y(b,z),md(z.children,y),b=z);return b}var ph=class qm extends $r{constructor(y){super({type:"tooltip",command:y.command,mode:y.mode,style:y.style,body:y.body,displayContainsHighlight:!0}),this.tooltip=new $r({type:"root",mode:y.content,body:y.tooltip,style:{}}),this.skipBoundary=!0,this.captureSelection=!1}static fromJson(y){return new qm(oe(ie({},y),{tooltip:Nl(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 oe(ie({},super.toJson()),{tooltip:b})}render(y){const b=$r.createBox(new zi,this.body);if(!b)return null;const z=new zi({parent:y,mathstyle:"displaystyle"},{fontSize:Os}),ce=Qc(pd(new Rn(this.tooltip.render(z),{classes:"ML__tooltip-content"}),z)),Te=new Rn([ce,b],{classes:"ML__tooltip-container"});return this.caret&&(Te.caret=this.caret),this.bind(y,Te)}},hc=class e0 extends $r{constructor(y,b){super(oe(ie({},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 Rn(this.value,{type:"op",mode:"math",maxFontSize:y.scalingFactor,style:{variant:this.variant,variantStyle:this.variantStyle},isSelected:this.isSelected,letterShapeStyle:y.letterShapeStyle});let ce=z;if(this.superscript||this.subscript){const Te=(b=this.subsupPlacement)!=null?b:"auto";ce=Te==="over-under"||Te==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:z}):this.attachSupsub(y,{base:z})}return new Rn(this.bind(y,ce),{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=St(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)),Ni(z)}};function Nl(a){if(te(a))return a.map(z=>Nl(z));if(typeof a=="string")return $r.fromJson(a);a=ie({},a);for(const z of Bl)a[z]&&(a[z]=Nl(a[z]));a.args&&(a.args=f0(a.args)),a.array&&(a.array=Nl(a.array));const y=a.type;let b;y==="accent"&&(b=ee.fromJson(a)),y==="array"&&(b=Ti.fromJson(a)),y==="box"&&(b=Ma.fromJson(a)),y==="chem"&&(b=np.fromJson(a)),y==="composition"&&(b=pl.fromJson(a)),y==="delim"&&(b=ip.fromJson(a)),y==="enclose"&&(b=ud.fromJson(a)),y==="error"&&(b=Eo.fromJson(a)),y==="extensible-symbol"&&(b=hh.fromJson(a)),y==="genfrac"&&(b=su.fromJson(a)),y==="group"&&(b=$a.fromJson(a)),y==="latex"&&(b=ao.fromJson(a)),y==="latexgroup"&&(b=dd.fromJson(a)),y==="leftright"&&(b=Xi.fromJson(a)),y==="macro"&&(b=ou.fromJson(a)),y==="macro-argument"&&(b=xs.fromJson(a)),y==="operator"&&(b=hc.fromJson(a)),y==="overlap"&&(b=fc.fromJson(a)),y==="overunder"&&(b=ts.fromJson(a)),y==="placeholder"&&(b=pi.fromJson(a)),y==="prompt"&&(b=js.fromJson(a)),y==="phantom"&&(b=fd.fromJson(a)),y==="sizeddelim"&&(b=ap.fromJson(a)),y==="spacing"&&(b=hd.fromJson(a)),y==="subsup"&&(b=es.fromJson(a)),y==="surd"&&(b=sp.fromJson(a)),y==="text"&&(b=ys.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=$r.fromJson(a));for(const z of Bl)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=>Nl(b))}:typeof y=="object"&&"atoms"in y?y.atoms.map(b=>Nl(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"]},g0=class extends Do{constructor(){super("math")}createAtom(a,y,b){var z,ce,Te,Fe;if(y===null)return new $r({type:"mord",mode:"math",command:a,value:a,style:b});const rt=window.MathfieldElement.isFunction((z=y.command)!=null?z:a);if(y.definitionType==="symbol"){const mt=new $r({type:(ce=y.type)!=null?ce:"mord",mode:"math",command:(Te=y.command)!=null?Te:a,value:String.fromCodePoint(y.codepoint),style:b});return rt&&(mt.isFunction=!0),a.startsWith("\\")&&(mt.verbatimLatex=a),mt}const ct=new $r({type:"mord",mode:"math",command:(Fe=y.command)!=null?Fe:a,value:a,style:b});return rt&&(ct.isFunction=!0),a.startsWith("\\")&&(ct.verbatimLatex=a),ct}serialize(a,y){const b=v0(a,oe(ie({},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((rt,ct)=>{var mt;rt.test(a.value)&&m0[(mt=y.letterShapeStyle)!=null?mt:"tex"][ct]==="it"&&(z="italic")}),z==="up"&&(z=void 0);const ce=z?b+"-"+z:b;console.assert(lp[ce]!==void 0);const[Te,Fe]=lp[ce];return mh[b]&&!mh[b].test(a.value)?(a.value=dt(a.value,b,z),null):(cp.test(a.value)&&(a.classes+=" lcGreek"),Fe&&(a.classes+=" "+Fe),Te)}};function v0(a,y){const{parent:b}=a[0],z=up(b);return Aa(a,"variant").map(ce=>{const Te=up(ce[0]);let Fe="";Te&&Te!==z&&(Fe={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"}[Te],console.assert(Fe!==void 0));const rt=Ni(ce.map(ct=>ct._serialize(y)));return Fe?da(Fe,rt):rt})}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 g0;function y0(a,y){return a.map(b=>b._serialize(y))}function b0(a,y){return Aa(a,"fontShape").map(b=>{const z=y0(b,y),{fontShape:ce}=b[0].style;let Te="";return ce==="it"&&(Te="\\textit"),ce==="sl"&&(Te="\\textsl"),ce==="sc"&&(Te="\\textsc"),ce==="n"&&(Te="\\textup"),!Te&&ce?`{${da("\\fontshape",ce)}${Ni(z)}}`:Te?da(Te,Ni(z)):Ni(z)})}function x0(a,y){return Aa(a,"fontSeries").map(b=>{const z=b0(b,y),{fontSeries:ce}=b[0].style;let Te="";return ce==="b"&&(Te="\\textbf"),ce==="l"&&(Te="\\textlf"),ce==="m"&&(Te="\\textmd"),ce&&!Te?`{${da("\\fontseries",ce)}${Ni(z)}}`:Te?da(Te,Ni(z)):Ni(z)})}function w0(a,y){return Aa(a,"fontSize").map(b=>{var z,ce;const Te=x0(b,y),Fe=(ce=["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][(z=b[0].style.fontSize)!=null?z:""])!=null?ce:"";return Fe?`${Fe} ${Ni(Te)}`:Ni(Te)})}function S0(a,y,b){return Aa(a,"fontFamily").map(z=>{var ce,Te;const Fe=w0(z,y),rt=(Te={roman:"textrm",monospace:"texttt","sans-serif":"textsf"}[(ce=z[0].style.fontFamily)!=null?ce:""])!=null?Te:"";return rt?`\\${rt}{${Ni(Fe)}}`:z[0].style.fontFamily?`{\\fontfamily{${z[0].style.fontFamily}} ${Ni(Fe)}}`:b?`\\text{${Ni(Fe)}}`:Ni(Fe)})}var dp={roman:"","sans-serif":"ML__sans",monospace:"ML__tt"},C0=class extends Do{constructor(){super("text")}createAtom(a,y,b){return y&&y.definitionType==="symbol"?new ys(a,String.fromCodePoint(y.codepoint),b!=null?b:{}):null}serialize(a,y){return S0(a,oe(ie({},y),{defaultMode:"text"}),y.defaultMode!=="text")}getFont(a,y){var b,z,ce,Te,Fe;const{fontFamily:rt}=y;if(dp[rt]?a.classes+=" "+dp[rt]:rt&&a.setStyle("font-family",rt),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+=(ce={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?ce:"",a.classes+=" ",a.classes+=(Fe={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"}[(Te=ct[2])!=null?Te:""])!=null?Fe:"")}return"Main-Regular"}};new C0;var E0=class extends Do{constructor(){super("latex")}createAtom(a){return new ao(a)}serialize(a,y){return a.filter(b=>b instanceof ao&&!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:["","=","","="]}},gh={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:[".",".",".","."]}},B0={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"]}},L0={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:["<",">","",""]}},P0={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 lu(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]"},gd=[],vd;function vh(){switch(we()){case"macos":case"ios":return"apple";case"windows":return"windows"}return"linux"}function Zo(a){(!a.platform||a.platform===vh())&&gd.push(a)}function N0(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[ce,Te]of Object.entries(y.mapping)){if(Te[0]===a)return z.key=`[${ce}]`,z;if(Te[1]===a)return z.shift=!0,z.key=`[${ce}]`,z;if(Te[2]===a)return z.alt=!0,z.key=`[${ce}]`,z;if(Te[3]===a)return z.shift=!0,z.alt=!0,z.key=`[${ce}]`,z}return z.key=(b=R0[a])!=null?b:"",z}function _0(a){if(a.code)return a;const y=Object.entries(yd().mapping);let b=!1,z=!1,ce="";for(let Te=0;Te<4;Te++){for(const[Fe,rt]of y)if(rt[Te]===a.key){ce=Fe,Te===3?(b=!0,z=!0):Te===2?b=!0:Te===1&&(z=!0);break}if(ce)break}return new KeyboardEvent(a.type,oe(ie({},a),{altKey:b,shiftKey:z,code:ce}))}function j0(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 ce of gd)((y=ce.mapping[a.code])==null?void 0:y[z])===a.key?ce.score+=1:(b=ce.mapping[a.code])!=null&&b[z]&&(ce.score=0);gd.sort((ce,Te)=>Te.score-ce.score)}function F0(a){vd=gd.find(y=>a.startsWith(y.locale))}function yd(){return vd!=null?vd:gd[0]}function z0(){switch(vh()){case"apple":return gh;case"windows":return fp;case"linux":return hp}return gh}switch(vh()){case"apple":Zo(gh),Zo(M0),Zo(B0),Zo(O0);break;case"windows":Zo(fp),Zo(k0),Zo(L0),Zo(D0);break;case"linux":Zo(hp),Zo(T0),Zo(P0),Zo(I0);break}Zo(A0);function yh(a){var y;const b=/macos|ios/.test(we()),z=a.split("+");let ce="";for(const Te of z)ce&&(ce+=b?"\u2009":'<span class="ML__shortcut-join">+</span>'),Te.startsWith("[Key")?ce+=Te.slice(4,5):Te.startsWith("Key")?ce+=Te.slice(3,4):Te.startsWith("[Digit")?ce+=Te.slice(6,7):Te.startsWith("Digit")?ce+=Te.slice(5,6):ce+=(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"}[Te.toLowerCase()])!=null?y:Te.toUpperCase();return ce}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,ce)=>({x:z.x+ce.clientX,y:z.y+ce.clientY}),{x:0,y:0}),b=a.touches.length;return{x:y.x/b,y:y.y/b}}}function pc(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 K0(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 Fs=class bl{static get scrim(){return bl._scrim||(bl._scrim=new bl),bl._scrim}static open(y){bl.scrim.open(y)}static close(){bl.scrim.close()}static get state(){return bl.scrim.state}static get element(){return bl.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 ce=window.innerWidth-document.documentElement.clientWidth;this.savedMarginRight=document.body.style.marginRight,this.savedOverflow=document.body.style.overflow,document.body.style.overflow="hidden";const Te=Number.parseFloat(getComputedStyle(document.body).marginRight);document.body.style.marginRight=`${Te+ce}px`,y!=null&&y.child&&z.append(y.child),this.state="open"}close(){var y,b,z,ce;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:Te}=this;Te.removeEventListener("click",this),document.removeEventListener("touchmove",this,!1),document.removeEventListener("scroll",this,!1),Te.remove(),document.body.style.overflow=(y=this.savedOverflow)!=null?y:"",document.body.style.marginRight=(b=this.savedMarginRight)!=null?b:"",Ef()!==this.savedActiveElement&&((ce=(z=this.savedActiveElement)==null?void 0:z.focus)==null||ce.call(z)),Te.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,ce=null,Te=!1,Fe=!1,rt=!1;const ct=new AbortController,mt=ct.signal;return a.addEventListener("keydown",wt=>{if(Te||wt.key==="Process"||wt.code==="CapsLock"||/(Control|Meta|Alt|Shift)(Left|Right)/.test(wt.code)){z=null;return}z=wt,ce=null,b.onKeystroke(wt)?a.textContent="":z=null},{capture:!0,signal:mt}),a.addEventListener("keypress",wt=>{Te||(z&&ce&&b.onKeystroke(z),ce=wt)},{capture:!0,signal:mt}),a.addEventListener("compositionstart",wt=>{a.textContent="",Te=!0,b.onCompositionStart(wt.data)},{capture:!0,signal:mt}),a.addEventListener("compositionupdate",wt=>{Te&&b.onCompositionUpdate(wt.data)},{capture:!0,signal:mt}),a.addEventListener("compositionend",wt=>{a.textContent="",Te&&(Te=!1,b.onCompositionEnd(wt.data))},{capture:!0,signal:mt}),a.addEventListener("beforeinput",wt=>wt.stopImmediatePropagation(),{signal:mt}),a.addEventListener("input",wt=>{var Rt;if(!Te&&(a.textContent="",wt.inputType!=="insertCompositionText")){if(wt.inputType==="insertFromPaste"){wt.preventDefault(),wt.stopPropagation();return}b.onInput((Rt=wt.data)!=null?Rt:""),wt.preventDefault(),wt.stopPropagation()}},{signal:mt}),a.addEventListener("paste",wt=>{a.focus({preventScroll:!0}),a.textContent="",b.onPaste(wt)||wt.preventDefault(),wt.stopImmediatePropagation()},{signal:mt}),a.addEventListener("cut",wt=>b.onCut(wt),{capture:!0,signal:mt}),a.addEventListener("copy",wt=>b.onCopy(wt),{capture:!0,signal:mt}),a.addEventListener("blur",wt=>{var Rt,Gt;if(((Gt=(Rt=wt.relatedTarget)==null?void 0:Rt._mathfield)==null?void 0:Gt.element)===y){a.focus({preventScroll:!0}),wt.preventDefault(),wt.stopPropagation();return}const nr=Fs.state;if(nr==="open"||nr==="opening"){wt.preventDefault(),wt.stopPropagation();return}if(wt.relatedTarget===wt.target.getRootNode().host){wt.preventDefault(),wt.stopPropagation();return}rt||Fe||(rt=!0,z=null,ce=null,b.onBlur(),rt=!1)},{capture:!0,signal:mt}),a.addEventListener("focus",wt=>{rt||Fe||(Fe=!0,b.onFocus(),Fe=!1)},{capture:!0,signal:mt}),{dispose:()=>ct.abort(),cancelComposition:()=>{Te&&(a.blur(),requestAnimationFrame(()=>a.focus({preventScroll:!0})))},blur:()=>{typeof a.blur=="function"&&a.blur()},focus:()=>{!Fe&&typeof a.focus=="function"&&a.focus({preventScroll:!0})},hasFocus:()=>Ef()===a,setAriaLabel:wt=>a.setAttribute("aria-label",wt),setValue:wt=>{var Rt;a.textContent=wt,a.style.left="-1000px",(Rt=window.getSelection())==null||Rt.selectAllChildren(a)},moveTo:(wt,Rt)=>{a.style.top=`${Rt}px`,a.style.left=`${wt}px`}}}function cu(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(ue()){const y=we(),b=a.startsWith("!"),z=a.endsWith(y);if(b&&!z||!b&&z)return!0}return a==="!other"?!1:a==="other"}function Z0(a,y,b){if(a.length===0)return"";const z=lu(pp(mp(b))),ce=lu({key:b.key,shift:b.shiftKey,alt:b.altKey,ctrl:b.ctrlKey,meta:b.metaKey||b.ctrlKey&&/macos|ios/.test(we()),cmd:!1,win:!1});for(let Te=a.length-1;Te>=0;Te--)if((a[Te].key===z||a[Te].key===ce)&&(!a[Te].ifMode||a[Te].ifMode===y))return a[Te].command;return""}function gp(a){let y=a;return te(y)&&(y=y.length>0?y[0]+"("+y.slice(1).join("")+")":""),y}function V0(a,y){let b=[];if(typeof y=="string"){const Te=id[y];te(Te)?b=Te.slice():Te&&b.push(Te)}const z=gp(y),ce=new RegExp("^"+z.replace("\\","\\\\").replace("|","\\|").replace("*","\\*").replace("$","\\$").replace("^","\\^")+"([^*a-zA-Z]|$)");for(const Te of a)ce.test(gp(Te.command))&&b.push(Te.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=we()==="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 oe(ie({},a),{key:lu(b)});const ce=N0(b.key,y);if(!ce)return oe(ie({},a),{key:lu(b)});if(ce.shift&&b.shift||ce.alt&&b.alt)throw new Error(`The keybinding ${a.key} (${bh(a.command)}) is conflicting with the key combination ${lu(ce)} using the ${y.displayName} keyboard layout`);return ce.shift=ce.shift||b.shift,ce.alt=ce.alt||b.alt,ce.meta=b.meta,ce.ctrl=b.ctrl,oe(ie({},a),{key:lu(ce)})}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 ce of a)try{const Te=G0(ce,y);if(!Te)continue;const Fe=z.find(rt=>rt.key===Te.key&&rt.ifMode===Te.ifMode);if(Fe)throw new Error(`Ambiguous key binding ${ce.key} (${bh(ce.command)}) matches ${Fe.key} (${bh(Fe.command)}) with the ${y.displayName} keyboard layout`);z.push(Te)}catch(Te){Te instanceof Error&&b.push(Te.message)}return[z,b]}var Y0=class extends Mi{constructor(){super("latex")}createAtom(a){return new ao(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"}),Ca(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 ce=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(Qa(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 Te=[];for(const ct of y)fe.test(ct)&&Te.push(new ao(ct));let Fe=a.at(a.position);if(Fe instanceof dd&&(Fe=Fe.lastChild),!(Fe.parent instanceof dd)){const ct=new dd("");Fe.parent.addChildAfter(ct,Fe),Fe=ct.firstChild}const rt=Fe.parent.addChildrenAfter(Te,Fe);return a.silenceNotifications=ce,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(rt)):rt&&(a.position=a.offsetOf(rt))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=z,!0}};function J0(a){return a.atoms.find(y=>y.type==="latexgroup")}function bd(a){var y,b;const z=a.atoms.find(ce=>ce.type==="latexgroup");return z?(b=(y=z.body)==null?void 0:y.filter(ce=>ce.type==="latex"))!=null?b:[]:[]}function vp(a,y){var b;let z=0,ce=!1;const Te=Number.isFinite(y==null?void 0:y.before)?(b=y==null?void 0:y.before)!=null?b:0:a.lastOffset;for(;z<=Te&&!ce;){const ct=a.at(z);ce=ct instanceof ao&&ct.isSuggestion,ce||z++}if(!ce)return[void 0,void 0];let Fe=z,rt=!1;for(;Fe<=Te&&!rt;){const ct=a.at(Fe);rt=!(ct instanceof ao&&ct.isSuggestion),rt||Fe++}return[z-1,Fe-1]}new Y0;function Af(a){const y=bd(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 xd(a,y){var b;const{model:z}=a;Af(a);for(const wt of bd(z))wt.isError=!1;if(!z.selectionIsCollapsed||a.options.popoverPolicy==="off"){du(a);return}const ce=[];let Te=z.at(z.position);for(;Te&&Te instanceof ao&&/^[a-zA-Z\*]$/.test(Te.value);)Te=Te.leftSibling;if(Te&&Te instanceof ao&&Te.value==="\\")for(ce.push(Te),Te=Te.rightSibling;Te&&Te instanceof ao&&/^[a-zA-Z\*]$/.test(Te.value);)ce.push(Te),Te=Te.rightSibling;const Fe=ce.map(wt=>wt.value).join(""),rt=Je(a,Fe);if(rt.length===0){if(/^\\[a-zA-Z\*]+$/.test(Fe))for(const wt of ce)wt.isError=!0;du(a);return}const ct=(b=y==null?void 0:y.atIndex)!=null?b:0;a.suggestionIndex=ct<0?rt.length-1:ct%rt.length;const mt=rt[a.suggestionIndex];if(mt!==Fe){const wt=ce[ce.length-1];wt.parent.addChildrenAfter([...mt.slice(Fe.length-mt.length)].map(Rt=>new ao(Rt,{isSuggestion:!0})),wt),mc(a,{interactive:!0})}$0(a,rt)}function yp(a){const[y,b]=vp(a,{before:a.position});if(y===void 0||b===void 0)return!1;let z=!1;return a.getAtoms([y,b]).forEach(ce=>{ce.isSuggestion&&(ce.isSuggestion=!1,z=!0)}),z}function uu(a,y="accept",b){var z,ce;du(a);const Te=J0(a.model);if(!Te)return!1;if(y==="accept-suggestion"||y==="accept-all"){const mt=bd(a.model).filter(wt=>wt.isSuggestion);if(mt.length!==0){for(const wt of mt)wt.isSuggestion=!1;a.model.position=a.model.offsetOf(mt[mt.length-1])}if(y==="accept-suggestion")return mt.length!==0}const rt=bd(a.model).filter(mt=>!mt.isSuggestion).map(mt=>mt.value).join(""),ct=Te.leftSibling;return Te.parent.removeChild(Te),a.model.position=a.model.offsetOf(ct),a.switchMode((z=b==null?void 0:b.mode)!=null?z:"math"),y==="reject"||(Mi.insert(a.model,rt,{selectionMode:(ce=b==null?void 0:b.selectItem)!=null&&ce?"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 Q0(a,y){const b=new zi({from:a.context}),z=new $r({mode:"math",type:"root",body:qa(y,{context:b})}),ce=Qc(pd(new Rn(z.render(b),{classes:"ML__base"}),b));return $c(ce,{classes:"ML__latex"}).toMarkup()}function $0(a,y){var b;if(y.length===0){du(a);return}let z="";for(const[Te,Fe]of y.entries()){const rt=Fe,ct=Q0(a,Fe),mt=V0(a.keybindings,rt).join("<br>");z+=`<li role="button" data-command="${rt}" ${Te===a.suggestionIndex?"class=ML__popover__current":""}><span class="ML__popover__latex">${rt}</span><span class="ML__popover__command">${ct}</span>`,mt&&(z+=`<span class="ML__popover__keybinding">${mt}</span>`),z+="</li>"}const ce=q0(a,`<ul>${z}</ul>`);wh()&&((b=ce.querySelector(".ML__popover__current"))==null||b.scrollIntoView({block:"nearest",inline:"nearest"})),setTimeout(()=>{var Te;ce&&!wh()&&(ce.classList.add("is-visible"),kf(a),(Te=ce.querySelector(".ML__popover__current"))==null||Te.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"){du(a);return}if(y!=null&&y.deferred){setTimeout(()=>kf(a),32);return}const z=_s(a.field);if(!z)return;const ce=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,Te=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,Fe=window.innerWidth-document.documentElement.clientWidth,rt=window.innerHeight-document.documentElement.clientHeight,ct=window.mathVirtualKeyboard.boundingRect.height,mt=document.getElementById("mathlive-suggestion-popover");z.x+mt.offsetWidth/2>Te-Fe?mt.style.left=`${Te-mt.offsetWidth-Fe}px`:z.x-mt.offsetWidth/2<0?mt.style.left="0":mt.style.left=`${z.x-mt.offsetWidth/2}px`;const wt=z.y-z.height;ce-rt-ct-z.y<wt?(mt.classList.add("ML__popover--reverse-direction"),mt.classList.remove("top-tip"),mt.classList.add("bottom-tip"),mt.style.top=`${z.y-z.height-mt.offsetHeight-15}px`):(mt.classList.remove("ML__popover--reverse-direction"),mt.classList.add("top-tip"),mt.classList.remove("bottom-tip"),mt.style.top=`${z.y+15}px`)}function du(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"),jo("suggestion-popover"),jo("core"),b.addEventListener("pointerdown",z=>z.preventDefault()),b.addEventListener("click",z=>{let ce=z.target;for(;ce&&!ce.dataset.command;)ce=ce.parentElement;ce&&(uu(a,"reject"),Mi.insert(a.model,ce.dataset.command,{selectionMode:"placeholder",format:"latex",mode:"math"}),a.dirty=!0,a.focus())})),b.innerHTML=window.MathfieldElement.createHTML(y),b}function eg(){document.getElementById("mathlive-suggestion-popover")&&(xh("mathlive-suggestion-popover"),E("suggestion-popover"),E("core"))}function tg(){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)||tg();function wp(a){return Kl(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 rg(a,y,b={}){return new FontFace(a,`url(${y}.woff2) format('woff2')`,b)}var Vo="not-loaded";function ng(){return Kl(this,null,function*(){return Vo="not-loaded",Of()})}function Of(){return Kl(this,null,function*(){var a;if(Vo!=="not-loaded")return;if(Vo="loading",(a=getComputedStyle(document.documentElement).getPropertyValue("--ML__static-fonts"))!=null?a:!1){Vo="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(Fe=>Fe.family);if(b.every(Fe=>z.includes(Fe))){Vo="ready";return}if(!window.MathfieldElement.fontsDirectory){Vo="not-loaded";return}const ce=yield wp(window.MathfieldElement.fontsDirectory);if(!ce){document.body.classList.add("ML__fonts-did-not-load"),Vo="error";return}const Te=[["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(Fe=>rg(Fe[0].replace(/-[a-zA-Z]+$/,""),`${ce}/${Fe[0]}`,Fe[1]));try{(yield Promise.all(Te.map(rt=>{try{return rt.load()}catch(ct){}}))).forEach(rt=>document.fonts.add(rt)),Vo="ready";return}catch(Fe){console.error(`MathLive 0.98.5: The math fonts could not be loaded from "${ce}"`,{cause:Fe}),document.body.classList.add("ML__fonts-did-not-load")}Vo="error"}})}function ig(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 Ca(a,y){a&&(a.dirty||(a.dirty=!0,requestAnimationFrame(()=>{Wo(a)&&a.dirty&&(a.atomBoundsCache=new Map,mc(a,y),a.atomBoundsCache=void 0)})))}function ag(a,y){var b;y=y!=null?y:{};const z=new zi({from:oe(ie({},a.context),{atomIdsSettings:{seed:y.forHighlighting?ig($r.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"}),ce=a.model.root.render(z);return $c(pd(ce,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 ce of b.atoms)ce.caret=void 0,ce.isSelected=!1,ce.containsCaret=!1;if(b.selectionIsCollapsed){const ce=b.at(b.position);ce.caret=a.model.mode;let Te=ce.parent;for(;Te;)Te.containsCaret=!0,Te=Te.parent}else{const ce=b.getAtoms(b.selection,{includeChildren:!0});for(const Te of ce)Te.isSelected=!0}return ag(a,y).toMarkup()}function mc(a,y){if(!Wo(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 ce=a.isSelectionEditable&&a.hasFocus(),Te=z.classList.contains("ML__focused");Te&&!ce?z.classList.remove("ML__focused"):!Te&&ce&&z.classList.add("ML__focused");let Fe=Sp(a,y);const rt=a.element.querySelector("[part=menu-toggle]");if(rt&&(a.model.atoms.length<=1||a.disabled||a.readOnly&&!a.hasEditableContent||a.userSelect==="none"?rt.style.display="none":rt.style.display=""),a.model.atoms.length<=1){const ct=a.options.contentPlaceholder;ct&&(Fe+=`<span part=placeholder class="ML__content-placeholder">${eo(ct)}</span>`)}z.innerHTML=window.MathfieldElement.createHTML(Fe),Df(a,y.interactive),a.dirty=!1}function Df(a,y){const b=a.field;if(!b)return;for(const rt of b.querySelectorAll(".ML__selection, .ML__contains-highlight"))rt.remove();!(y!=null&&y)&&Vo!=="error"&&Vo!=="ready"&&setTimeout(()=>{Vo==="ready"?Df(a):setTimeout(()=>Df(a),128)},32);const z=a.model,ce=b.offsetWidth,Te=b.getBoundingClientRect().width;let Fe=Math.floor(Te)/ce;if(Fe=isNaN(Fe)?1:Fe,z.selectionIsCollapsed){kf(a,{deferred:!0});let rt=z.at(z.position);for(;rt&&rt.type!=="prompt"&&!(rt.containsCaret&&rt.displayContainsHighlight);)rt=rt.parent;if(rt!=null&&rt.containsCaret&&rt.displayContainsHighlight){const ct=od(a,Ll(a,rt),Fe);if(ct){ct.left/=Fe,ct.right/=Fe,ct.top/=Fe,ct.bottom/=Fe;const mt=document.createElement("div");mt.classList.add("ML__contains-highlight"),mt.style.position="absolute",mt.style.left=`${ct.left+1}px`,mt.style.top=`${Math.ceil(ct.top)}px`,mt.style.width=`${Math.ceil(ct.right-ct.left)}px`,mt.style.height=`${Math.ceil(ct.bottom-ct.top)}px`,b.insertBefore(mt,b.childNodes[0])}}return}for(const rt of og(ld(a,{excludeAtomsWithBackground:!0}))){rt.left/=Fe,rt.right/=Fe,rt.top/=Fe,rt.bottom/=Fe;const ct=document.createElement("div");ct.classList.add("ML__selection"),ct.style.position="absolute",ct.style.left=`${rt.left}px`,ct.style.top=`${rt.top}px`,ct.style.width=`${Math.ceil(rt.right-rt.left)}px`,ct.style.height=`${Math.ceil(rt.bottom-rt.top-1)}px`,b.insertBefore(ct,b.childNodes[0])}}function og(a){let y=[];for(const b of a){let z=!1;for(const ce of y)if(b.left===ce.left&&b.right===ce.right&&b.top===ce.top&&b.bottom===ce.bottom){z=!0;break}z||y.push(b)}a=y,y=[];for(const b of a){let z=0;for(const ce of a)if(b.left>=ce.left&&b.right<=ce.right&&b.top>=ce.top&&b.bottom<=ce.bottom&&(z+=1,z>1))break;z===1&&y.push(b)}return y}var Cp=3,zs;function Fo(a,y){y=ie({target:"mathfield",canUndo:!1,audioFeedback:void 0,changeContent:!1,changeSelection:!1},y!=null?y:{}),zs||(zs={});for(const b of Object.keys(a))console.assert(!zs[b],"Selector already defined: ",b),zs[b]=oe(ie({},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()),zs[y]}function fu(a){var y;return(y=Ch(a))==null?void 0:y.target}function sg(a,y){var b;if(!y)return!1;let z,ce=[],Te=!1,Fe=!1;te(y)?(z=y[0],ce=y.slice(1)):z=y,z=z.replace(/-\w/g,mt=>mt[1].toUpperCase());const rt=zs[z],ct=rt==null?void 0:rt.target;if(ct==="model"){if(!a.isSelectionEditable&&(rt!=null&&rt.changeContent))return a.model.announce("plonk"),!1;/^(delete|add)/.test(z)&&(z!=="deleteBackward"&&a.flushInlineShortcutBuffer(),a.snapshot(z)),/^complete/.test(z)||Af(a),zs[z].fn(a.model,...ce),xd(a),Fe=!0,Te=!0}else if(ct==="virtual-keyboard")Fe=(b=window.mathVirtualKeyboard.executeCommand(y))!=null?b:!1,Te=!0;else if(zs[z]){if(!a.isSelectionEditable&&(rt!=null&&rt.changeContent))return a.model.announce("plonk"),!1;/^(undo|redo)/.test(z)&&a.flushInlineShortcutBuffer(),Fe=zs[z].fn(a,...ce),Te=!0}else throw new Error(`Unknown command "${z}"`);return ct!=="virtual-keyboard"&&(!a.model.selectionIsCollapsed||rt!=null&&rt.changeSelection&&y!=="deleteBackward")&&(a.flushInlineShortcutBuffer(),rt!=null&&rt.changeContent||a.stopCoalescingUndo(),a.defaultStyle={}),Fe&&Ca(a),Te}function lg(a,y){var b;if(!a)return!1;a.focus(),ym.keypressVibration&&he()&&navigator.vibrate(Cp);const z=Ch(y);window.MathfieldElement.playSound((b=z==null?void 0:z.audioFeedback)!=null?b:"keypress");const ce=a.executeCommand(y);return a.scrollIntoView(),ce}Fo({performWithFeedback:(a,y)=>lg(a,y)});function cg(a){return xd(a,{atIndex:a.suggestionIndex+1}),!1}function ug(a){return xd(a,{atIndex:a.suggestionIndex-1}),!1}Fo({complete:uu},{target:"mathfield",audioFeedback:"return",canUndo:!0,changeContent:!0,changeSelection:!0}),Fo({nextSuggestion:cg,previousSuggestion:ug},{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 dg=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(!cd(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;fu(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(ie({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]"]]}},Bf={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"}]},wd;function Ap(a,y){var b,z,ce;const Te=_l.singleton;if(!Te)return;const Fe=hu(a),rt=(z=(b=Te.getKeycap(Fe==null?void 0:Fe.id))==null?void 0:b.variants)!=null?z:"";if(typeof rt=="string"&&!Mp(rt)||Array.isArray(rt)&&rt.length===0){y==null||y();return}const ct={};let mt="";for(const Kr of hg(rt)){const Pn=Tp(Kr),zr=Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);ct[zr]=Pn;const[ln,jn]=Lf(Pn);mt+=`<div id=${zr} class="item ${jn}">${ln}</div>`}const wt=document.createElement("div");wt.setAttribute("aria-hidden","true"),wt.className="MLK__variant-panel",wt.style.height="auto";const Rt=Object.keys(ct).length;let Gt=5;Rt===1?Gt=1:Rt===2||Rt===4?Gt=2:Rt===3||Rt===5||Rt===6?Gt=3:Rt>=7&&Rt<14&&(Gt=4),wt.style.width=`calc(var(--variant-keycap-length) * ${Gt} + 12px)`,wt.innerHTML=ym.createHTML(mt),Fs.open({root:(ce=Te==null?void 0:Te.container)==null?void 0:ce.querySelector(".ML__keyboard"),child:wt}),wd=new AbortController;const{signal:nr}=wd,cr=a==null?void 0:a.getBoundingClientRect();if(cr){cr.top-wt.clientHeight<0&&(wt.style.width="auto",Rt<=6?wt.style.height="56px":Rt<=12?wt.style.height="108px":Rt<=18?wt.style.height="205px":wt.classList.add("compact"));const Kr=Math.max(0,Math.min(window.innerWidth-wt.offsetWidth,(cr.left+cr.right-wt.offsetWidth)/2)),Pn=cr.top-wt.clientHeight+5;wt.style.transform=`translate(${Kr}px, ${Pn}px)`,wt.classList.add("is-visible"),requestAnimationFrame(()=>{wt.addEventListener("pointerup",zr=>{const ln=hu(zr.target);!(ln!=null&&ln.id)||!ct[ln.id]||(Ah(ct[ln.id]),Sd(),y==null||y(),zr.preventDefault())},{capture:!0,passive:!1,signal:nr}),wt.addEventListener("pointerenter",zr=>{const ln=hu(zr.target);!(ln!=null&&ln.id)||!ct[ln.id]||ln.classList.add("is-active")},{capture:!0,signal:nr}),wt.addEventListener("pointerleave",zr=>{const ln=hu(zr.target);!(ln!=null&&ln.id)||!ct[ln.id]||ln.classList.remove("is-active")},{capture:!0,signal:nr}),window.addEventListener("pointercancel",()=>{Sd(),y==null||y()},{signal:nr}),window.addEventListener("pointerup",()=>{Sd(),y==null||y()},{signal:nr})})}}function Sd(){wd==null||wd.abort(),wd=null,Fs.state==="open"&&Fs.close()}function fg(a){if(a==="foreground-color"){const y=[];for(const b of Object.keys(Me))y.push({class:"swatch-button",label:'<span style="border: 3px solid '+Me[b]+'"></span>',command:["applyStyle",{color:b}]});return y}if(a==="background-color"){const y=[];for(const b of Object.keys(_e))y.push({class:"swatch-button",label:'<span style="background:'+_e[b]+'"></span>',command:["applyStyle",{backgroundColor:b}]});return y}}function Mp(a){return Bf[a]!==void 0}function hg(a){var y;return typeof a!="string"?a:(Bf[a]||(Bf[a]=(y=fg(a))!=null?y:[]),Bf[a])}function pg(a){return typeof a=="string"?a:Object.entries(a).map(([y,b])=>`${y}:${b} !important`).join(";")}function mg(a){return Object.keys(a).map(y=>`${y} {${pg(a[y])}}`).join("")}function Cd(a){if(!a)return"";const y=new zi,b=new $r({mode:"math",type:"root",body:qa(a,{context:y,args:ce=>ce==="@"?"{\\class{ML__box-placeholder}{\\blacksquare}}":"\\placeholder{}"})}),z=Qc(pd(new Rn(b.render(y),{classes:"ML__base"}),y));return $c(z,{classes:"ML__latex"}).toMarkup()}function Ed(a){var y;if(Array.isArray(a))return a.map(z=>Ed(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(ce=>Tp(ce)))),(y=b.id)!=null||(b.id="ML__layer_"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36)),[b]}function gg(){var a,y;let z=window.mathVirtualKeyboard.alphabeticLayout;if(z==="auto"){const rt=yd();rt&&(z=rt.virtualLayout),(!z||z==="auto")&&(z=(a={fr:"azerty",be:"azerty",al:"qwertz",ba:"qwertz",cz:"qwertz",de:"qwertz",hu:"qwertz",sk:"qwertz",ch:"qwertz"}[ye.locale.slice(0,2)])!=null?a:"qwerty")}const ce={qwerty:["qwertyuiop"," asdfghjkl ","^zxcvbnm~"],azerty:["azertyuiop","qsdfghjklm","^ wxcvbn ~"],qwertz:["qwertzuiop"," asdfghjkl ","^yxcvbnm~"],dvorak:["^ pyfgcrl ","aoeuidhtns","qjkxbmwvz~"],colemak:[" qwfpgjluy ","arstdhneio","^zxcvbkm~"]},Te=(y=ce[z])!=null?y:ce.qwerty,Fe=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 rt of Te){const ct=[];for(const mt of rt)/[a-z]/.test(mt)?ct.push({label:mt,class:"hide-shift",shift:{label:mt.toUpperCase()},variants:Mp(mt)?mt:void 0}):mt==="~"?z!=="dvorak"?ct.push("[backspace]"):ct.push({label:"[backspace]",width:1}):mt==="^"?ct.push("[shift]"):mt===" "&&ct.push("[separator-5]");Fe.push(ct)}return Fe.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:Ed({rows:Fe})}}function kp(a){if(a==="alphabetic")return gg();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 ce=a,{rows:Te}=ce,Fe=me(ce,["rows"]);y=oe(ie({},Fe),{layers:Ed({rows:a.rows})})}else if("markup"in a&&typeof a.markup=="string"){const ce=a,{markup:Te}=ce,Fe=me(ce,["markup"]);y=oe(ie({},Fe),{layers:Ed(a.markup)})}else y=ie({},a),"layers"in a?y.layers=Ed(a.layers):console.error('MathLive 0.98.5: provide either a "rows", "markup" or "layers" property');let b=!1,z=!1;for(const ce of y.layers)if(ce.rows)for(const Te of ce.rows.flat()){pu(Te)&&(b=!0);const Fe=Te.command;typeof Fe=="string"&&["undo","redo","cut","copy","paste"].includes(Fe)&&(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 vg(a,y){var b,z;let ce='<div class="left">';if(a.normalizedLayouts.length>1)for(const[Te,Fe]of a.normalizedLayouts.entries()){const rt=Fe,ct=[Te===y?"selected":"layer-switch"];rt.tooltip&&ct.push("MLK__tooltip"),rt.labelClass&&ct.push(...rt.labelClass.split(" ")),ce+=`<div class="${ct.join(" ")}"`,rt.tooltip&&(ce+=" data-tooltip='"+((b=Ae(rt.tooltip))!=null?b:rt.tooltip)+"' "),Te!==y&&(ce+=`data-layer="${rt.layers[0].id}"`),ce+=`>${(z=rt.label)!=null?z:"untitled"}</div>`}return ce+="</div>",ce}function yg(a,y){let b="";if(a.editToolbar==="none")return"";const ce=[];y.selectionIsCollapsed?ce.push("undo","redo","pasteFromClipboard"):ce.push("cutToClipboard","copyToClipboard","pasteFromClipboard");const Te={undo:`<div class='action ${y.canUndo===!1?"disabled":""}'
data-command='"undo"'
data-tooltip='${Ae("tooltip.undo")}'>
<svg><use xlink:href='#svg-undo' /></svg>
</div>`,redo:`<div class='action ${y.canRedo===!1?"disabled":""}'
data-command='"redo"'
data-tooltip='${Ae("tooltip.redo")}'>
<svg><use xlink:href='#svg-redo' /></svg>
</div>`,cutToClipboard:`
<div class='action'
data-command='"cutToClipboard"'
data-tooltip='${Ae("tooltip.cut to clipboard")}'>
<svg><use xlink:href='#svg-cut' /></svg>
</div>
`,copyToClipboard:`
<div class='action'
data-command='"copyToClipboard"'
data-tooltip='${Ae("tooltip.copy to clipboard")}'>
<svg><use xlink:href='#svg-copy' /></svg>
</div>
`,pasteFromClipboard:`
<div class='action'
data-command='"pasteFromClipboard"'
data-tooltip='${Ae("tooltip.paste from clipboard")}'>
<svg><use xlink:href='#svg-paste' /></svg>
</div>
`};return b+=ce.map(Fe=>Te[Fe]).join(""),b}function bg(a){for(const y of a)xg(y)}function xg(a){const y=_l.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,ce]=Lf(b);a.innerHTML=window.MathfieldElement.createHTML(z)}}function wg(){jo("virtual-keyboard"),jo("core"),Of()}function Sg(){E("core"),E("virtual-keyboard")}var Cg=`<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 Eg(a){a.resetKeycapRegistry(),wg();const y=document.createElement("div");y.className="ML__keyboard";const b=document.createElement("div");b.className="MLK__plate",b.innerHTML=window.MathfieldElement.createHTML(Cg+a.normalizedLayouts.map((Fe,rt)=>Ag(a,Fe,rt)).join(""));const z=document.createElement("div");z.className="MLK__backdrop",z.appendChild(b),y.appendChild(z),y.addEventListener("pointerdown",kg,{passive:!1});const ce=y.querySelectorAll(".ML__edit-toolbar");if(ce)for(const Fe of ce)Fe.addEventListener("click",rt=>{var ct,mt;let wt=rt.target,Rt="";for(;wt&&!Rt;)Rt=(ct=wt==null?void 0:wt.getAttribute("data-command"))!=null?ct:"",wt=(mt=wt==null?void 0:wt.parentElement)!=null?mt:null;Rt&&a.executeCommand(JSON.parse(Rt))});bg(y.querySelectorAll(".MLK__keycap, .action, .fnbutton, .bigfnbutton"));const Te=y.querySelectorAll(".MLK__layer");console.assert(Te.length>0,"No virtual keyboards available");for(const Fe of Te)Fe.addEventListener("pointerdown",rt=>rt.preventDefault());return a.currentLayer=a.latentLayer,y}function Ag(a,y,b){const z=[];if(!("layers"in y))return"";for(const ce of y.layers)z.push(`<div tabindex="-1" class="MLK__layer" id="${ce.id}">`),(a.normalizedLayouts.length>1||y.displayEditToolbar)&&(z.push("<div class='MLK__toolbar' role='toolbar'>"),z.push(vg(a,b)),y.displayEditToolbar&&z.push('<div class="ML__edit-toolbar right"></div>'),z.push("</div>")),z.push(Mg(a,ce)),z.push("</div>");return z.join("")}function Mg(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>${mg(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 ce of z)if(ce){const Te=a.registerKeycap(ce),[Fe,rt]=Lf(ce);/(^|\s)separator/.test(rt)?b+=`<div class="${rt}"`:b+=`<div tabindex="-1" id="${Te}" class="${rt}"`,ce.tooltip&&(b+=` data-tooltip="${ce.tooltip}"`),b+=`>${Fe}</div>`}b+="</div>"}b+="</div>"}else y.markup&&(b+=y.markup);return y.container&&(b+="</div>"),y.backdrop&&(b+="</div>"),b}function Lf(a,y={shifted:!1}){var b,z,ce,Te,Fe,rt,ct;let mt="",wt=(b=a.class)!=null?b:"";if(y.shifted&&pu(a)&&(wt+=" is-active"),y.shifted&&"shift"in a)typeof a.shift=="string"?mt=Cd(a.shift):typeof a.shift=="object"&&(mt=a.shift.label?a.shift.label:(z=Cd(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?z:""),typeof a.shift=="object"&&(wt=(Te=(ce=a.shift.class)!=null?ce:a.class)!=null?Te:"");else{if(mt=a.label?a.label:(Fe=Cd(a.latex||a.insert||"")||a.key)!=null?Fe:"",a.shift){let Rt;typeof a.shift=="string"?Rt=Cd(a.shift):a.shift.label?Rt=a.shift.label:Rt=(rt=Cd(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?rt:"",mt+=`<span class="MLK__shift">${Rt}</span>`}a.aside&&(mt+=`<aside>${a.aside}</aside>`)}return a.layer&&!/layer-switch/.test(wt)&&(wt+=" layer-switch"),/(^|\s)(separator|action|shift|fnbutton|bigfnbutton)($|\s)/.test(wt)||(wt+=" MLK__keycap"),!/\bw[0-9]+\b/.test(wt)&&a.width&&(wt+=(ct={0:" w0",.5:" w5",1.5:" w15",2:" w20",5:" w50"}[a.width])!=null?ct:""),[mt,wt||"MLK__keycap"]}var gc={"[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="[,]"),!gc[a])return{latex:a};a={label:a}}let b;return"label"in a&&a.label&&gc[a.label]&&(b=oe(ie(ie({},gc[a.label]),a),{label:gc[a.label].label})),"key"in a&&a.key&&gc[a.key]&&(b=oe(ie(ie({},gc[a.key]),a),{key:gc[a.key].key})),b?(b.command==="insertDecimalSeparator"&&(b.label=(y=window.MathfieldElement.decimalSeparator)!=null?y:"."),a.label==="[action]"&&(b=ie(ie({},b),window.mathVirtualKeyboard.actionKeycap)),a.label==="[shift]"&&(b=ie(ie({},b),window.mathVirtualKeyboard.shiftKeycap)),a.label==="[backspace]"&&(b=ie(ie({},b),window.mathVirtualKeyboard.backspaceKeycap)),a.label==="[tab]"&&(b=ie(ie({},b),window.mathVirtualKeyboard.tabKeycap)),b):a}var Ad;function kg(a){var y;if(a.button!==0)return;const b=_l.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 ce=hu(a.target);if(!(ce!=null&&ce.id))return;const Te=b.getKeycap(ce.id);if(!Te)return;console.assert(a.type==="pointerdown");const Fe=new AbortController,rt=Fe.signal;ce.classList.add("is-pressed"),ce.addEventListener("pointerenter",Pf(Fe),{capture:!0,signal:rt}),ce.addEventListener("pointerleave",Pf(Fe),{capture:!0,signal:rt}),ce.addEventListener("pointercancel",Pf(Fe),{signal:rt}),ce.addEventListener("pointerup",Pf(Fe),{signal:rt}),pu(Te)&&(ce.classList.add("is-active"),b.shiftPressCount++),Te.variants&&(Ad&&clearTimeout(Ad),Ad=setTimeout(()=>{ce.classList.contains("is-pressed")&&(ce.classList.remove("is-pressed"),ce.classList.add("is-active"),a.target&&"releasePointerCapture"in a.target&&a.target.releasePointerCapture(a.pointerId),Ap(ce,()=>{Fe.abort(),ce==null||ce.classList.remove("is-active")}))},300)),a.preventDefault()}function Pf(a){return y=>{const b=hu(y.target);if(!(b!=null&&b.id))return;const z=_l.singleton;if(!z)return;const ce=z.getKeycap(b.id);if(ce){if(y.type==="pointerenter"&&y.target===b&&y.isPrimary&&b.classList.add("is-pressed"),y.type==="pointercancel"){b.classList.remove("is-pressed"),pu(ce)&&(z.shiftPressCount--,b.classList.toggle("is-active",z.isShifted)),a.abort();return}if(y.type==="pointerleave"&&y.target===b){b.classList.remove("is-pressed"),pu(ce)&&(z.shiftPressCount--,b.classList.toggle("is-active",z.isShifted));return}if(y.type==="pointerup"){Ad&&clearTimeout(Ad),pu(ce)?b.classList.toggle("is-active",z.isShifted):b.classList.contains("is-pressed")&&(b.classList.remove("is-pressed"),z.isShifted&&ce.shift?typeof ce.shift=="string"?z.executeCommand(["insert",ce.shift,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]):Ah(ce.shift):Ah(ce),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=_l.singleton)==null||y.executeCommand(b)}function Tg(a){if(a.nodeType!==1)return!1;const y=a.classList;return y.contains("MLK__keycap")||y.contains("shift")||y.contains("action")||y.contains("fnbutton")||y.contains("bigfnbutton")}function hu(a){if(!a)return;let y=a;for(;y&&!Tg(y);)y=y.parentElement;return y!=null?y:void 0}function pu(a){return!!a.class&&/(^|\s)shift($|\s)/.test(a.class)}var _l=class r0{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(ce=>{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(ce){window.addEventListener("message",this)}document.body.addEventListener("focusin",ce=>{const Te=ce.target;Te!=null&&Te.isConnected&&setTimeout(()=>{const Fe=Op();Fe&&!Fe.readOnly&&Fe.mathVirtualKeyboardPolicy==="auto"&&de()&&this.show({animate:!0})},300)}),document.addEventListener("focusout",ce=>{ce.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 ce of z.layers)if(ce.id===y)return ce}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(ce=>ce==="default");z>=0&&b.splice(z,1,"numeric","symbols","alphabetic","greek"),this._layouts=Object.freeze(b),this._normalizedLayouts=b.map(ce=>kp(ce))}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 r0}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 ce=z-1;this.container.style.paddingBottom=this.originalContainerBottomPadding?`calc(${this.originalContainerBottomPadding} + ${ce}px)`:`${ce}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 ce=this.getKeycap(z.id);if(ce){const[Te,Fe]=Lf(ce,{shifted:this.isShifted});z.innerHTML=window.MathfieldElement.createHTML(Te),z.className=Fe}}}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 ce=this._element.getElementsByClassName("MLK__plate")[0];if(ce&&this.observer.observe(ce),z===window.document.body){const Te=z.style.paddingBottom;this.originalContainerBottomPadding=Te;const Fe=ce.offsetHeight-1;z.style.paddingBottom=Te?`calc(${Te} + ${Fe}px)`:`${Fe}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 ce;return(ce=this._element)==null?void 0:ce.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 ce=this._element.getElementsByClassName("MLK__plate")[0];ce&&this.observer.unobserve(ce),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}),Sd(),Sg(),(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=Eg(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(!cd(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:ce}=y,Te=fu(ce);if(window.top!==void 0&&Te!=="virtual-keyboard")return;this.executeCommand(ce);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:ie({type:If,action:y},b)}));return}if(z)z.postMessage(ie({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 ce=b.command[1].split("");for(const Te of ce)this.dispatchEvent(new KeyboardEvent("keydown",{key:Te,bubbles:!0})),this.dispatchEvent(new KeyboardEvent("keyup",{key:Te,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 ce of z)ce.innerHTML=yg(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=[],ce=fu(y);return te(y)?(b=y[0],b==="performWithFeedback"&&(y=y.slice(1),ce=fu(y)),z=y.slice(1)):b=y,b=b.replace(/-\w/g,Te=>Te[1].toUpperCase()),ce==="virtual-keyboard"?zs[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(ue()&&!("mathVirtualKeyboard"in window))if(window===window.top){const a=_l.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>a})}else Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>dg.singleton,configurable:!0});function Rf(a){const y={};for(const b of Object.keys(a))switch(b){case"scriptDepth":const z=a.scriptDepth;if(te(z))y.scriptDepth=[z[0],z[1]];else if(typeof z=="number")y.scriptDepth=[z,z];else if(typeof z=="string"){const[Te,Fe]=z.split(",").map(rt=>parseInt(rt.trim()));y.scriptDepth=[Te,Fe]}else throw new TypeError("Unexpected value for scriptDepth");break;case"mathVirtualKeyboardPolicy":let ce=a.mathVirtualKeyboardPolicy.toLowerCase();if(ce==="sandboxed"){if(window!==window.top){const Te=_l.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>Te})}ce="manual"}y.mathVirtualKeyboardPolicy=ce;break;case"letterShapeStyle":a.letterShapeStyle==="auto"?ye.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=ft(a.macros);break;default:te(a[b])?y[b]=[...a[b]]:typeof a[b]=="object"&&!(a[b]instanceof Element)&&b!=="computeEngine"?y[b]=ie({},a[b]):y[b]=a[b]}return y}function vc(a,y){let b;typeof y=="string"?b=[y]:y===void 0?b=Object.keys(a):b=y;const z={};for(const ce of b)a[ce]===null?z[ce]=null:te(a[ce])?z[ce]=[...a[ce]]:typeof a[ce]=="object"&&!(a[ce]instanceof Element)&&ce!=="computeEngine"?z[ce]=ie({},a[ce]):z[ce]=a[ce];return typeof y=="string"?z[y]:z}function Nf(){return{readOnly:!1,defaultMode:"math",macros:{},registers:{},colorMap:Ne,backgroundColorMap:je,letterShapeStyle:ye.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 jl(a,y){!a||!y||(te(a)?a.forEach(b=>jl(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),jl(a.body,y),jl(a.above,y),jl(a.below,y),jl(a.subscript,y),jl(a.superscript,y)))}function Mh(a,y,b,z){function ce(Fe,rt){for(const ct of Te)if(ct.style[Fe]!==rt)return!1;return!0}if(y=a.normalizeRange(y),y[0]===y[1])return!1;const Te=a.getAtoms(y,{includeChildren:!0});z.operation==="toggle"&&(b.color&&ce("color",b.color)&&(b.color="none",delete b.verbatimColor),b.backgroundColor&&ce("backgroundColor",b.backgroundColor)&&(b.backgroundColor="none",delete b.verbatimBackgroundColor),b.fontFamily&&ce("fontFamily",b.fontFamily)&&(b.fontFamily="none"),b.fontSeries&&ce("fontSeries",b.fontSeries)&&(b.fontSeries="auto"),b.fontShape&&ce("fontShape",b.fontShape)&&(b.fontShape="auto"),b.fontSize&&ce("fontSize",b.fontSize)&&(b.fontSize=Os),b.variant&&ce("variant",b.variant)&&(b.variant="normal"),b.variantStyle&&ce("variantStyle",b.variantStyle)&&(b.variantStyle=""));for(const Fe of Te)Fe.applyStyle(b);return!0}function Og(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 ce=new pl(y,{mode:b.mode});ce.caret=z,b.parent.addChildAfter(ce,b),a.position+=1}}function Dg(a){const y=a.at(a.position);y.type==="composition"&&(y.parent.removeChild(y),a.position-=1)}Dt(["math","displaymath"],rs),Dt("center",rs),kt("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 Ti("lines",a.args,[],{leftDelim:".",rightDelim:".",columns:[{align:"l"}]})}),Vt("array","{columns:colspec}",(a,y,b,z)=>new Ti(a,kh(y),b,{columns:z[0],mathstyleName:"textstyle"})),Vt(["equation","equation*","subequations"],"",(a,y,b)=>new Ti(a,kh(y),b,{columns:[{align:"c"}]})),Vt(["multline","multline*"],"",rs),Vt(["align","align*","aligned","eqnarray"],"",rs),Vt("split","",rs),Vt(["gather","gathered"],"",rs),Vt(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],"[columns:colspec]",rs),Vt(["smallmatrix","smallmatrix*"],"[columns:colspec]",rs),Vt(["cases","dcases","rcases"],"",rs);function Ig(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 Ig(a)?Array(y).fill([[new $r({type:"first"}),new pi]]):a.map(b=>b.length===0?[[new $r({type:"first"})]]:b.map(z=>z.length===0?[new $r({type:"first"})]:(z[0].type!=="first"&&z.unshift(new $r({type:"first"})),z)))}function rs(a,y=[[[]]],b=[],z=[]){switch(y=kh(y,["split","align","align*","aligned","eqnarray"].includes(a)?2:1),a){case"math":return new Ti(a,y,b,{mathstyleName:"textstyle"});case"displaymath":return new Ti(a,y,b,{mathstyleName:"textstyle"});case"center":return new Ti(a,y,b,{columns:[{align:"c"}]});case"multline":case"multline*":return new Ti(a,y,b,{columns:[{align:"m"}],leftDelim:".",rightDelim:"."});case"split":return new Ti(a,y,b,{columns:[{align:"r"},{align:"l"}],minColumns:2});case"gather":case"gathered":return new Ti(a,y,b,{columns:[{gap:.25},{align:"c"},{gap:0}]});case"pmatrix":case"pmatrix*":return new Ti(a,y,b,{mathstyleName:"textstyle",leftDelim:"(",rightDelim:")",columns:yc(z[0])});case"bmatrix":case"bmatrix*":return new Ti(a,y,b,{mathstyleName:"textstyle",leftDelim:"[",rightDelim:"]",columns:yc(z[0])});case"Bmatrix":case"Bmatrix*":return new Ti(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\lbrace",rightDelim:"\\rbrace",columns:yc(z[0])});case"vmatrix":case"vmatrix*":return new Ti(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\vert",rightDelim:"\\vert",columns:yc(z[0])});case"Vmatrix":case"Vmatrix*":return new Ti(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\Vert",rightDelim:"\\Vert",columns:yc(z[0])});case"matrix":case"matrix*":return new Ti(a,y,b,{mathstyleName:"textstyle",leftDelim:".",rightDelim:".",columns:yc(z==null?void 0:z[0])});case"smallmatrix":case"smallmatrix*":return new Ti(a,y,b,{mathstyleName:"scriptstyle",columns:yc(z==null?void 0:z[0]),colSeparationType:"small",arraystretch:.5});case"cases":case"dcases":return new Ti(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 Ti(a,y,b,{arraystretch:1.2,leftDelim:".",rightDelim:"\\rbrace",columns:[{align:"l"},{gap:1},{align:"l"}]});case"lines":return new Ti(a,y,b,{leftDelim:".",rightDelim:".",columns:[{align:"l"}]});case"align":case"align*":case"aligned":case"eqnarray":{let ce=0;for(const rt of y)ce=Math.max(ce,rt.length);const Te=[{gap:0},{align:"r"},{gap:.25},{align:"l"}];let Fe=2;for(;Fe<ce;)Te.push({gap:1},{align:"r"},{gap:.25},{align:"l"}),Fe+=2;return Te.push({gap:0}),new Ti(a,y,b,{arraycolsep:0,columns:Te,minColumns:2})}}return new Ti(a,y,b,{mathstyleName:"textstyle"})}function yc(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 Bg(a,y){let b=a.at(a.position);for(;b&&!(b.parent instanceof Ti);)b=b.parent;if(b&&b.type==="array"&&b.environmentName,!b||!(b.parent instanceof Ti)){const z=a.at(a.position);if(b=z,!b.parent.parent){let ce=a.extractAtoms([a.position,a.lastOffset]),Te=a.extractAtoms([0,a.position]);Te.length===0&&(Te=Ff()),ce.length===0&&(ce=Ff());let Fe;return y.endsWith("column")?(Fe=rs("split",[[Te,ce]]),a.root=Fe,bc(Fe,0,0)?xc(a,Fe,0,0):bc(Fe,0,1)?xc(a,Fe,0,1):a.position=a.offsetOf(z)):(Fe=rs("lines",[[Te],[ce]]),a.root=Fe,bc(Fe,0,0)?xc(a,Fe,0,0):bc(Fe,1,0)?xc(a,Fe,1,0):a.position=a.offsetOf(z)),[void 0,[0,0]]}if(b.parent instanceof Xi){const ce=b.parent;let Te=a.extractAtoms([a.position,a.offsetOf(ce.lastChild)]),Fe=a.extractAtoms([a.offsetOf(ce.firstChild),a.position]);Fe.length===0&&(Fe=Ff()),Te.length===0&&(Te=Ff());let rt="pmatrix";const ct=ce.leftDelim,mt=ce.rightDelim;ct==="("&&(mt===")"||mt==="?")?rt="pmatrix":(ct==="["||ct==="\\lbrack")&&(mt==="]"||mt==="\\rbrack"||mt==="?")?rt="bmatrix":ct==="\\vert"&&mt==="\\vert"?rt="vmatrix":ct==="\\Vert"&&mt==="\\Vert"?rt="Vmatrix":(ct==="{"||ct==="\\lbrace")&&(mt==="."||mt==="?")&&(rt="cases");const wt=rs(rt,y.endsWith("column")?[[Fe,Te]]:[[Fe],[Te]]);return ce.parent.addChildBefore(wt,ce),ce.parent.removeChild(ce),bc(wt,0,0)?xc(a,wt,0,0):y.endsWith("column")?bc(wt,0,1)?xc(a,wt,0,1):a.position=a.offsetOf(b):bc(wt,1,0)?xc(a,wt,1,0):a.position=a.offsetOf(b),[void 0,[0,0]]}}return b&&b.parent instanceof Ti?[b.parent,b.parentBranch]:[void 0,[0,0]]}function bc(a,y,b){const z=a.getCell(y,b);return!z||z.length!==2?!1:z[1].type==="placeholder"}function Lg(a,y,b,z){const ce=y.getCell(b,z);return ce?[a.offsetOf(ce[0]),a.offsetOf(ce[ce.length-1])]:-1}function xc(a,y,b,z){const ce=Lg(a,y,b,z);typeof ce!="number"&&a.setSelection(ce)}function _f(a,y,b,z,ce){const Te=y.getCell(b,z);Te&&a.setPositionHandlingPlaceholder(a.offsetOf(Te[ce==="start"?0:Te.length-1]))}function jf(a,y){const[b,[z,ce]]=Bg(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(ce),_f(a,b,z,ce+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(ce),_f(a,b,z,ce,"start");break}}function Ip(a){return a.contentWillChange({inputType:"insertText"})?(jf(a,"after row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Pg(a){return a.contentWillChange({inputType:"insertText"})?(jf(a,"before row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Bp(a){return a.contentWillChange({inputType:"insertText"})?(jf(a,"after column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Rg(a){return a.contentWillChange({inputType:"insertText"})?(jf(a,"before column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Lp(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 ce=a.at(a.position),Te=ce.type==="array"?ce:a.parentEnvironment;return Te.environmentName=y,Te.leftDelim=b,Te.rightDelim=z,a.contentDidChange({}),!0}function Pp(a,y){let b=a.at(a.position);for(;b&&!(Array.isArray(b.parentBranch)&&b.parent instanceof Ti);)b=b.parent;if(Array.isArray(b==null?void 0:b.parentBranch)&&(b==null?void 0:b.parent)instanceof Ti){const z=b.parent,ce=b.parentBranch;let Te;switch(y){case"row":if(z.rowCount>1){z.removeRow(ce[0]);const Fe=z.getCell(Math.max(0,ce[0]-1),ce[1]);Te=a.offsetOf(Fe[Fe.length-1])}break;case"column":if(z.colCount>z.minColumns){z.removeColumn(ce[1]);const Fe=z.getCell(ce[0],Math.max(0,ce[1]-1));Te=a.offsetOf(Fe[Fe.length-1])}break}Te&&a.setPositionHandlingPlaceholder(Te)}}function Ng(a){return a.contentWillChange({inputType:"deleteContent"})?(Pp(a,"row"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}function _g(a){return a.contentWillChange({inputType:"deleteContent"})?(Pp(a,"column"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}Fo({addRowAfter:Ip,addColumnAfter:Bp,addRowBefore:Pg,addColumnBefore:Rg,removeRow:Ng,removeColumn:_g,setEnvironment:Lp},{target:"model",canUndo:!0,changeContent:!0,changeSelection:!0});function Ff(){return[new pi]}var Rp=class n0{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>n0.maximumDepth&&(this.stack.shift(),this.index-=1),this.lastOp=y!=null?y:"",!0):!1}};Rp.maximumDepth=1e3;var jg=Rp;function Th(a,y,b){if(a.at(y).mode!=="text")return y;const z=b==="backward"?-1:1;let ce;if(He.test(a.at(y).value)){let Te=y,Fe;do Fe=a.at(Te).mode==="text"&&He.test(a.at(Te).value),Te+=z;while(a.at(Te)&&Fe);ce=a.at(Te)?Te-2*z:Te-z}else if(/\s/.test(a.at(y).value)){let Te=y;for(;a.at(Te)&&a.at(Te).mode==="text"&&/\s/.test(a.at(Te).value);)Te+=z;if(!a.at(Te))ce=Te-z;else{let Fe=!0;do Fe=a.at(Te).mode==="text"&&!/\s/.test(a.at(Te).value),Te+=z;while(a.at(Te)&&Fe);ce=a.at(Te)?Te-2*z:Te-z}}else{let Te=y;for(;a.at(Te)&&a.at(Te).mode==="text"&&!/\s/.test(a.at(Te).value);)Te+=z;ce=a.at(Te)?Te:Te-z;let Fe=!0;for(;a.at(Te)&&Fe;)Fe=a.at(Te).mode==="text"&&/\s/.test(a.at(Te).value),Fe&&(ce=Te),Te+=z;ce=a.at(Te)?Te-2*z:Te-z}return ce-(z>0?0:1)}function mu(a,y,b){var z,ce,Te,Fe,rt,ct,mt;const wt=a.position;(z=b==null?void 0:b.extend)!=null&&z||a.collapseSelection(y);let Rt=a.at(a.position);if(y==="forward"&&(Rt.type==="subsup"?(Rt=Rt.rightSibling,Rt||(Rt=a.at(a.position+1))):Rt=a.at(a.position+1)),!Rt)return a.announce("plonk"),!1;let Gt=a.offsetOf(Rt);if(Rt instanceof ys)Gt=Th(a,Gt,y);else if(Rt instanceof ao)if(Rt.isSuggestion)for(console.assert(y==="forward");Rt&&Rt instanceof ao;)Rt.isSuggestion=!1,Gt=a.offsetOf(Rt),Rt=Rt.rightSibling;else if(y==="forward"){if(Rt=Rt.rightSibling,!Rt||!(Rt instanceof ao))return a.announce("plonk"),!1;for(;Rt&&Rt instanceof ao&&/[a-zA-Z\*]/.test(Rt.value);)Gt=a.offsetOf(Rt),Rt=Rt.rightSibling}else{if(Rt=Rt.leftSibling,!Rt||!(Rt instanceof ao))return a.announce("plonk"),!1;for(;Rt&&Rt instanceof ao&&/[a-zA-Z\*]/.test(Rt.value);)Gt=a.offsetOf(Rt),Rt=Rt.leftSibling}else if(y==="forward"&&Rt.type==="mopen"){let nr=0;do Rt.type==="mopen"?nr+=1:Rt.type==="mclose"&&(nr-=1),Rt=Rt.rightSibling;while(!Rt.isLastSibling&&nr!==0);Gt=a.offsetOf(Rt.leftSibling)}else if(y==="backward"&&Rt.type==="mclose"){let nr=0;do Rt.type==="mopen"?nr+=1:Rt.type==="mclose"&&(nr-=1),Rt=Rt.leftSibling;while(!Rt.isFirstSibling&&nr!==0);Gt=a.offsetOf(Rt)}else if(y==="backward")if(Rt.type==="first")for(;Gt>0&&Rt.type==="first";)Gt-=1,Rt=a.at(Gt);else{const nr=Rt.type;Rt.type==="subsup"&&(Gt=a.offsetOf(a.at(Gt).leftSibling)),Gt-=1;let cr=(ce=a.at(Gt))==null?void 0:ce.type;for(;Gt>=0&&cr===nr;)((Te=a.at(Gt))==null?void 0:Te.type)==="subsup"?Gt=a.offsetOf(a.at(Gt).leftSibling):Gt-=1,cr=a.at(Gt).type}else{const{type:nr}=Rt;let cr=(Fe=a.at(Gt))==null?void 0:Fe.type;const{lastOffset:Kr}=a;for(;Gt<=Kr&&(cr===nr||cr==="subsup");){for(;((rt=a.at(Gt).rightSibling)==null?void 0:rt.type)==="subsup";)Gt=a.offsetOf(a.at(Gt).rightSibling);Gt+=1,cr=(ct=a.at(Gt))==null?void 0:ct.type}Gt-=1}if((mt=b==null?void 0:b.extend)!=null&&mt){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",wt),a.mathfield.stopCoalescingUndo(),!0}function Ks(a,y,b){var z,ce;if(b=b!=null?b:{extend:!1},a.mathfield.adoptStyle=y==="backward"?"right":"left",y!=="forward"){const[rt,ct]=vp(a);rt!==void 0&&ct!==void 0&&a.deleteAtoms([rt,ct])}if(y==="upward")return zg(a,b);if(y==="downward")return Kg(a,b);if(b.extend){let rt=zf(a,a.position,y);rt<0&&(rt=0),rt>a.lastOffset&&(rt=a.lastOffset);const ct=a.setSelection(a.anchor,rt);return a.mathfield.stopCoalescingUndo(),ct}if(a.selectionIsPlaceholder){a.collapseSelection(y);const rt=Ks(a,y);return a.mathfield.stopCoalescingUndo(),rt}let Te=a.position;const Fe=Te;if(a.collapseSelection(y)?(Te=a.position,Np(a,Te)||(Te=zf(a,Te,y))):Te=zf(a,Te,y),Te<0||Te>a.lastOffset){let rt=!0;return a.silenceNotifications||(rt=(ce=(z=a.mathfield.host)==null?void 0:z.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))!=null?ce:!0),rt&&a.announce("plonk"),rt}return a.setPositionHandlingPlaceholder(Te),a.mathfield.stopCoalescingUndo(),a.announce("move",Fe),!0}function zf(a,y,b){return y=y+(b==="forward"?1:-1),y<0||y>a.lastOffset||Np(a,y)?y:zf(a,y,b)}function Np(a,y){var b;const z=a.at(y);let ce=z.parent;for(;ce&&!ce.inCaptureSelection;)ce=ce.parent;return!(ce!=null&&ce.inCaptureSelection||(b=z.parent)!=null&&b.skipBoundary&&(!z.isFirstSibling&&z.isLastSibling||z.type==="first")||a.mathfield.hasEditablePrompts&&!z.parentPrompt)}function Fg(a,y,b){let z=1/0,ce=0;for(;ce<y.length;ce++){const Te=iu(a.getHTMLElement(y[ce])).right,Fe=Math.abs(b-Te);if(Fe<=z)z=Fe;else break}return y[ce-1]}function Kf(a,y,b,z,ce){const Te=a.mathfield.hasEditablePrompts,Fe=Te?b.filter(mt=>mt.type==="prompt"&&!mt.captureSelection):b,rt=iu(a.mathfield.getHTMLElement(y)).right,ct=a.offsetOf(Fg(a.mathfield,Fe,rt))-(Te?1:0);if(z){const[mt,wt]=a.selection.ranges[0];let Rt;ct<(ce==="up"?mt:wt)?Rt={ranges:[[ct,wt]],direction:"backward"}:Rt={ranges:[[mt,ct]],direction:"forward"},a.setSelection(Rt)}else a.setPositionHandlingPlaceholder(ct);a.announce(`move ${ce}`)}function zg(a,y){var b,z;const ce=(b=y==null?void 0:y.extend)!=null?b:!1;ce||a.collapseSelection("backward");const Te=()=>{var ct,mt;let wt=!0;return a.silenceNotifications||(wt=(mt=(ct=a.mathfield.host)==null?void 0:ct.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"upward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?mt:!0),a.announce(wt?"plonk":"line"),wt},Fe=a.at(a.position);let rt=Fe;for(;rt&&rt.parentBranch!=="below"&&!(Array.isArray(rt.parentBranch)&&rt.parent instanceof Ti);)rt=rt.parent;if(Array.isArray(rt==null?void 0:rt.parentBranch)&&rt.parent instanceof Ti){const ct=rt.parent;if(rt.parentBranch[0]<1)return Te();const mt=rt.parentBranch[0]-1,wt=ct.array[mt][rt.parentBranch[1]];if(!wt.some(Gt=>Gt.type==="prompt"&&!Gt.captureSelection)&&a.mathfield.hasEditablePrompts)return Te();Kf(a,Fe,wt,ce,"up")}else if(rt){const ct=(z=rt.parent.branch("above"))!=null?z:rt.parent.createBranch("above");if(!ct.some(wt=>wt.type==="prompt"&&wt.placeholderId)&&a.mathfield.hasEditablePrompts)return Te();Kf(a,Fe,ct,ce,"up")}else return Te();return a.mathfield.stopCoalescingUndo(),!0}function Kg(a,y){var b,z;const ce=(b=y==null?void 0:y.extend)!=null?b:!1;ce||a.collapseSelection("forward");const Te=()=>{var ct,mt;let wt=!0;return a.silenceNotifications||(wt=(mt=(ct=a.mathfield.host)==null?void 0:ct.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"downward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?mt:!0),a.announce(wt?"plonk":"line"),wt},Fe=a.at(a.position);let rt=Fe;for(;rt&&rt.parentBranch!=="above"&&!(Array.isArray(rt.parentBranch)&&rt.parent instanceof Ti);)rt=rt.parent;if(Array.isArray(rt==null?void 0:rt.parentBranch)&&rt.parent instanceof Ti){const ct=rt.parent;if(rt.parentBranch[0]+1>ct.array.length-1)return Te();const mt=rt.parentBranch[0]+1,wt=ct.array[mt][rt.parentBranch[1]];if(!wt.some(Gt=>Gt.type==="prompt"&&!Gt.captureSelection)&&a.mathfield.hasEditablePrompts)return Te();Kf(a,Fe,wt,ce,"down")}else if(rt){const ct=(z=rt.parent.branch("below"))!=null?z:rt.parent.createBranch("below");if(!ct.some(wt=>wt.type==="prompt")&&a.mathfield.hasEditablePrompts)return Te();Kf(a,Fe,ct,ce,"down")}else return Te();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 Hg(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 Wg(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 jp(a){var y;if(a.collapseSelection(),Hg(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 es({style:b.computedStyle}),b),b=b.rightSibling),b.createBranch("superscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.superscript[0]))),!0}function Fp(a){var y;if(a.collapseSelection(),Wg(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 es({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 Ug(){function a(ct){const mt=[],wt=[];return[...ct.querySelectorAll(`input, select, textarea, a[href], button,
[tabindex], audio[controls], video[controls],
[contenteditable]:not([contenteditable="false"]), details>summary`)].filter(y).forEach((Gt,nr)=>{const cr=z(Gt);cr===0?mt.push(Gt):wt.push({documentOrder:nr,tabIndex:cr,node:Gt})}),wt.sort((Gt,nr)=>Gt.tabIndex===nr.tabIndex?Gt.documentOrder-nr.documentOrder:Gt.tabIndex-nr.tabIndex).map(Gt=>Gt.node).concat(mt)}function y(ct){return!(!b(ct)||ce(ct)||z(ct)<0)}function b(ct){return!(ct.disabled||ct.type==="hidden"&&ct.tagName.toUpperCase()==="INPUT"||rt(ct))}function z(ct){var mt;const wt=Number.parseInt((mt=ct.getAttribute("tabindex"))!=null?mt:"NaN",10);return Number.isNaN(wt)?ct.contentEditable==="true"||(ct.nodeName==="AUDIO"||ct.nodeName==="VIDEO")&&ct.getAttribute("tabindex")===null?0:ct.tabIndex:wt}function ce(ct){return ct.tagName.toUpperCase()==="INPUT"&&ct.type==="radio"&&!Fe(ct)}function Te(ct,mt){for(const wt of ct)if(wt.checked&&wt.form===mt)return wt;return null}function Fe(ct){var mt;if(!ct.name)return!0;const Rt=((mt=ct.form)!=null?mt:ct.ownerDocument).querySelectorAll('input[type="radio"][name="'+ct.name+'"]'),Gt=Te(Rt,ct.form);return!Gt||Gt===ct}function rt(ct){if(!ue()||ct===document.activeElement||ct.contains(document.activeElement))return!1;if(getComputedStyle(ct).visibility==="hidden")return!0;const mt=ct.getBoundingClientRect();if(mt.width===0||mt.height===0)return!0;for(;ct;){if(getComputedStyle(ct).display==="none")return!0;ct=ct.parentElement}return!1}return ue()?a(document.body):[]}function Ao(a,y,b="forward"){const z=a.position;if(Array.isArray(y)){const ce=a.offsetOf(y[0]),Te=a.offsetOf(y[y.length-1]);return b==="forward"?a.setSelection(ce,Te):a.setSelection(Te,ce),a.announce("move",z),a.mathfield.stopCoalescingUndo(),!0}return b==="forward"?Ao(a,[y.leftSibling,y]):Ao(a,[y,y.leftSibling])}function ws(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,ce;const Te=y==="forward"?1:-1;a.at(a.anchor).type==="placeholder"&&Ks(a,y);let Fe;const rt=a.at(a.anchor).parentPrompt;rt?y==="forward"?Fe=a.offsetOf(rt)+1:Fe=a.offsetOf(rt.leftSibling):Fe=Math.max(a.position+Te,0);const ct=Oh(a,Fe,y);if(!ct||y==="forward"&&a.offsetOf(ct)<Fe||y==="backward"&&a.offsetOf(ct)>Fe){if(!b||!((ce=(z=a.mathfield.host)==null?void 0:z.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))==null||ce))return a.announce("plonk"),!1;const wt=Ug();if(!document.activeElement||wt.length<=1)return a.announce("plonk"),!1;let Rt=wt.indexOf(document.activeElement)+Te;return Rt<0&&(Rt=wt.length-1),Rt>=wt.length&&(Rt=0),wt[Rt].focus(),a.mathfield.stopCoalescingUndo(),!0}return ws(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)}Fo({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 ce=b.parentBranch;let Te;if(typeof ce=="string"&&(Te=y[ce]),!Te){const rt=b.subsupPlacement?Fp(a):jp(a);return a.mathfield.stopCoalescingUndo(),rt}z.branch(Te)||z.createBranch(Te);const Fe=a.setSelection(a.getBranchRange(a.offsetOf(z),Te));return a.mathfield.stopCoalescingUndo(),Fe},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=>Ks(a,"forward"),moveToPreviousChar:a=>Ks(a,"backward"),moveUp:a=>Ks(a,"upward"),moveDown:a=>Ks(a,"downward"),moveToNextWord:a=>mu(a,"forward"),moveToPreviousWord:a=>mu(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,ce;if(a.position===a.lastOffset&&a.anchor===a.lastOffset)return Hf(a,"forward");const Te=a.at(a.position);if(Te.mode==="text"){if(a.selectionIsCollapsed){let Gt=Te;for(;Gt&&Gt.mode==="text";)Gt=Gt.leftSibling;let nr=Te;for(;((y=nr.rightSibling)==null?void 0:y.mode)==="text";)nr=nr.rightSibling;if(Gt&&nr)return Ao(a,[Gt,nr])}if(Te.rightSibling.mode==="text"){let Gt=Te;for(;Gt&&Gt.mode==="text";)Gt=Gt.rightSibling;return Gt?(ws(a,(b=Gt.leftSibling)!=null?b:Gt),a.mathfield.switchMode("math"),!0):ws(a,a.lastOffset)}}const rt=a.at(a.anchor).parentPrompt,ct=rt?a.offsetOf(rt)+1:Math.max(a.position+1,0),mt=Oh(a,ct,"forward");if(mt)return ws(a,mt);const wt=zp(a,Te,Gt=>Gt.type==="leftright"||Gt.type==="text","forward");if(wt){if(wt.mode==="text"){let Gt=wt;for(;Gt&&Gt.mode==="text";)Gt=Gt.rightSibling;return Ao(a,[(z=wt.leftSibling)!=null?z:wt,(ce=Gt.leftSibling)!=null?ce:Gt])}return Ao(a,wt)}const Rt=Te.parent;if(Rt){if(Rt.type==="leftright"||Rt.type==="surd")return Ao(a,Rt);if(Te.parentBranch==="superscript"&&Rt.subscript)return Ao(a,Rt.subscript);if(Te.parentBranch==="above"&&Rt.below)return Ao(a,Rt.below);if(Te.parentBranch==="superscript"||Te.parentBranch==="subscript")return ws(a,Rt);if(Te.parentBranch==="above"||Te.parentBranch==="below")return Ao(a,Rt)}return ws(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 rt=b;for(;rt&&rt.mode==="text";)rt=rt.leftSibling;let ct=b;for(;((y=ct.rightSibling)==null?void 0:y.mode)==="text";)ct=ct.rightSibling;if(rt&&ct)return Ao(a,[rt,ct])}for(;b&&b.mode==="text";)b=b.leftSibling;return b?ws(a,b):ws(a,0)}const ce=a.at(a.anchor).parentPrompt,Te=ce?a.offsetOf(ce.leftSibling):Math.max(a.position-1,0),Fe=Oh(a,Te,"backward");if(Fe)return ws(a,Fe);if(z==="math"){const rt=zp(a,b,mt=>mt.type==="leftright"||mt.type==="text","backward");if(rt){if(rt.mode==="text"){let mt=rt;for(;mt&&mt.mode==="text";)mt=mt.leftSibling;return Ao(a,[rt,mt])}return Ao(a,rt)}const ct=b.parent;if(ct){if(ct.type==="leftright"||ct.type==="surd")return Ao(a,ct);if(b.parentBranch==="subscript"&&ct.superscript)return Ao(a,ct.superscript);if(b.parentBranch==="below"&&ct.above)return Ao(a,ct.above);if(b.parentBranch==="superscript"||b.parentBranch==="subscript")return ws(a,ct);if(b.parentBranch==="above"||b.parentBranch==="below")return Ao(a,ct)}return ws(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:jp,moveToSubscript:Fp},{target:"model",changeSelection:!0}),Fo({moveToNextPlaceholder:a=>Hf(a,"forward"),moveToPreviousPlaceholder:a=>Hf(a,"backward")},{target:"model",changeSelection:!0,audioFeedback:"return"});function zp(a,y,b,z){if(z==="forward"){let Te=y.rightSibling;for(;Te&&!b(Te);)Te=Te.rightSibling;return Te}let ce=y.leftSibling;for(;ce&&!b(ce);)ce=ce.leftSibling;return ce}function Wf(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let z=a.position,ce=!1,Te="";for(;!ce;){const Fe=a.at(z);ce=y===0||Fe===void 0||Fe.type==="first"||Fe.mode!=="math"||!(Fe.type&&/mord|mpunct|operator/.test(Fe.type)||Fe.type==="mop"&&/[a-zA-Z ]+/.test(Fe.value))||!Fe.hasEmptyBranch("superscript")||!Fe.hasEmptyBranch("subscript")||typeof b=="function"&&!b(Fe),ce||(Fe.mode="text",Fe.command=Fe.value,Fe.verbatimLatex=void 0,Te+=Fe.value),z-=1,y-=1}a.contentDidChange({data:Te,inputType:"insertText"})}function wc(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let z=a.position,ce=!1;const Te=[];for(;!ce;){const Fe=a.at(z);ce=y===0||!Fe||Fe.type==="first"||Fe.isFirstSibling||Fe.mode!=="text"||Fe.value===" "||typeof b=="function"&&!b(Fe),ce||(Te.push($r.serialize([Fe],{defaultMode:"math"})),Fe.mode="math"),z-=1,y-=1}Dh(a),a.contentDidChange({data:Ni(Te),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 Zg(a){let y="",b=a.position,z=!1;for(;!z;){const ce=a.at(b);z=!(ce&&(ce.mode==="text"||ce.mode==="math"&&ce.type&&/mord|mpunct/.test(ce.type))),z||(y=ce.value+y),b-=1}return y}function Vg(a,y,b){const{model:z}=a;if(z.mode==="latex"||!z.at(z.position).isLastSibling||!b||!Cf(b))return!1;const ce=cu(b);if(!z.selectionIsCollapsed)return!!(a.model.mode==="text"&&/[/_^]/.test(ce));const Te=Zg(z)+ce;if(a.model.mode==="text"){if(y==="Esc"||/[/\\]/.test(ce))return!0;if(/[\^_]/.test(ce))return/(^|\s)[a-zA-Z][^_]$/.test(Te)&&wc(z,1),!0;const Fe={")":"(","}":"{","]":"["}[ce],{parent:rt}=z.at(z.position);if(Fe&&rt instanceof Xi&&rt.leftDelim===Fe)return!0;if(/(^|[^a-zA-Z])(a|I) $/.test(Te))return!1;if(/[$€£₤₺¥¤฿¢₡₧₨₹₩₱]/u.test(ce))return!0;if(/(^|[^a-zA-Z'])[a-zA-Z] $/.test(Te))return wc(z,1),!1;if(/\D\.[^\d\s]$/.test(Te)){wc(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(Te)||/\.\d$/.test(Te)||/\([\d+\-.]$/.test(Te))return wc(z,1),!0;if(/\([a-z][,;]$/.test(Te))return wc(z,2),!0;if(/[\d+\-=><*|]$/.test(ce))return Dh(z),!0}else{if(y==="[Space]")return Wf(z,void 0,Fe=>/[a-z][:,;.]$/.test(Fe.value)),!0;if(/[a-zA-Z]{3,}$/.test(Te)&&!/(dxd|abc|xyz|uvw)$/.test(Te))return Wf(z,void 0,Fe=>/[a-zA-Z]/.test(Fe.value)),!0;if(/(^|\W)(if)$/i.test(Te))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(Te)&&!/(αβγ)$/.test(Te))return Wf(z,void 0,Fe=>/(:|,|;|.|\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5)/u.test(Fe.value)),!0;if(ce==="?"||ce==="."&&!/[\d-+]\.$/.test(Te))return!0}return!1}function Gg(a,y){if(!a.isSelectionEditable||!a.keystrokeCaptionVisible)return;const b=Kp(),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 Xg(a){if(a.keystrokeCaptionVisible=!a.keystrokeCaptionVisible,a.keystrokeCaptionVisible){const y=Kp();y.innerHTML=""}else{const y=Mf("mathlive-keystroke-caption-panel");y.style.visibility="hidden"}return!1}function Kp(){const a=document.getElementById("mathlive-keystroke-caption-panel");return a||(jo("keystroke-caption"),jo("core"),Mf("mathlive-keystroke-caption-panel"))}function Yg(){document.getElementById("mathlive-keystroke-caption-panel")&&(xh("mathlive-keystroke-caption-panel"),E("core"),E("keystroke-caption"))}function Hp(a,y){var b,z,ce;const{model:Te}=a,Fe=mp(y);if(y.isTrusted){j0(y);const nr=yd();a.keyboardLayout!==nr.id&&(a.keyboardLayout=nr.id,a._keybindings=void 0)}if(clearTimeout(a.inlineShortcutBufferFlushTimer),a.inlineShortcutBufferFlushTimer=0,Gg(a,Fe),y.isTrusted&&y.defaultPrevented)return a.flushInlineShortcutBuffer(),!1;let rt,ct="",mt;const wt=a.inlineShortcutBuffer;if(a.isSelectionEditable){if(Te.mode==="math")if(Fe==="[Backspace]")wt.pop();else if(!Cf(y))a.flushInlineShortcutBuffer();else{const nr=cu(y),cr=[...(z=(b=wt[wt.length-1])==null?void 0:b.keystrokes)!=null?z:[],nr];wt.push({state:Te.getState(),keystrokes:cr,leftSiblings:Jg(a)});let Kr=0,Pn="";for(;!rt&&Kr<cr.length;)mt=wt.length-(cr.length-Kr),Pn=cr.slice(Kr).join(""),rt=rd(wt[mt].leftSiblings,Pn,a.options.inlineShortcuts),!rt&&/^[a-zA-Z][a-zA-Z0-9]+?([_\^][a-zA-Z0-9\*\+\-]+?)?$/.test(Pn)&&(rt=a.options.onInlineShortcut(a,Pn)),Kr+=1;a.flushInlineShortcutBuffer({defer:!0})}a.options.smartMode&&(rt?a.switchMode("math"):Vg(a,Fe,y)&&(a.switchMode({math:"text",text:"math"}[Te.mode]),ct=""))}if(!rt){if(ct||(ct=Z0(a.keybindings,Te.mode,y)),!ct&&(Fe==="[Enter]"||Fe==="[Return]")){let nr=!1;return Te.contentWillChange({inputType:"insertLineBreak"})&&(a.host&&(nr=!a.host.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),nr||y.preventDefault&&(y.preventDefault(),y.stopPropagation()),Te.contentDidChange({inputType:"insertLineBreak"})),nr}if((!ct||Fe==="[Space]")&&Te.mode==="math"){if(Fe==="[Space]"){if(a.adoptStyle="none",a.flushInlineShortcutBuffer(),a.options.mathModeSpace)return Mi.insert(Te,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 nr=Te.at(Te.position+1),cr=Te.at(Te.position-1);if((nr==null?void 0:nr.mode)==="text"||(cr==null?void 0:cr.mode)==="text")return Mi.insert(Te," ",{mode:"text"}),a.snapshot("insert-space"),a.dirty=!0,a.scrollIntoView(),!1}(ce=Te.at(Te.position))!=null&&ce.isDigit()&&window.MathfieldElement.decimalSeparator===","&&cu(y)===","&&(ct="insertDecimalSeparator")}}if(!rt&&!ct){if(Te.mathfield.smartFence){if(Bh(Te,cu(y),a.effectiveStyle))return a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}else{const{parent:nr}=Te.at(Te.position);if(nr instanceof Xi&&nr.rightDelim==="?"&&Te.at(Te.position).isLastSibling&&/^[)}\]|]$/.test(Fe))return a.snapshot(),nr.isDirty=!0,nr.rightDelim=Fe,Te.position+=1,Te.selectionDidChange(),Te.contentDidChange({data:cu(y),inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1;if(!Te.selectionIsCollapsed){const cr=cu(y);if(cr==="("||cr==="{"||cr==="["){const Kr={"(":"(","{":"\\lbrace","[":"\\lbrack"}[cr],Pn={"(":")","{":"\\rbrace","[":"\\rbrack"}[cr],[zr,ln]=Qa(Te.selection);return a.snapshot(),Te.position=ln,Mi.insert(Te,Pn,{format:"latex"}),Te.position=zr,Mi.insert(Te,Kr,{format:"latex"}),Te.setSelection(zr+1,ln+1),Te.contentDidChange({data:cr,inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}}}return!0}const Rt=Te.at(Math.max(Te.position,Te.anchor)),{parent:Gt}=Rt;if(ct==="moveAfterParent"&&(Gt==null?void 0:Gt.type)==="leftright"&&Rt.isLastSibling&&a.options.smartFence&&Bh(Te,".",a.defaultStyle)&&(ct="",Ca(a)),a.keyboardDelegate.cancelComposition(),ct)a.executeCommand(ct);else if(rt){const nr=a.effectiveStyle;Te.setState(wt[mt].state);const cr=wt[wt.length-1].keystrokes;for(const Kr of cr)Mi.insert(Te,Kr,{silenceNotifications:!0,style:nr});a.snapshot("insert-shortcut"),Te.setState(wt[mt].state),Te.deferNotifications({content:!0,selection:!0,data:rt,type:"insertText"},()=>(Mi.insert(Te,rt,{format:"latex",style:nr}),Dh(a.model),rt.endsWith(" ")&&(a.switchMode("text"),Mi.insert(Te," ",{style:nr,mode:"text"})),a.snapshot(),Te.selectionIsCollapsed||a.flushInlineShortcutBuffer(),!0)),a.dirty=!0,Te.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 ce=af(y);const Te=window.mathVirtualKeyboard;if(Te!=null&&Te.isShifted&&(ce=typeof ce=="string"?ce.toUpperCase():ce.map(ct=>ct.toUpperCase())),b.simulateKeystroke){let ct=!0;for(const mt of ce)Hp(a,new KeyboardEvent("keypress",{key:mt}))&&(ct=!1);if(ct)return}const Fe=z.at(z.position),rt=ie(ie({},Fe.computedStyle),a.defaultStyle);if(z.selectionIsCollapsed||(z.deleteAtoms(Qa(z.selection)),a.snapshot("delete")),z.mode==="latex")z.deferNotifications({content:!0,selection:!0,data:y,type:"insertText"},()=>{Af(a);for(const ct of ce)Mi.insert(z,ct);a.snapshot("insert-latex"),xd(a)});else if(z.mode==="text"){for(const ct of ce)Mi.insert(z,ct,{style:rt});a.snapshot("insert-text")}else if(z.mode==="math")for(const ct of ce)Qg(a,ct,rt,Fe);a.dirty=!0,a.scrollIntoView()}function Jg(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 Qg(a,y,b,z){const ce=a.model;let Te={"^":"moveToSuperscript",_:"moveToSubscript"," ":"moveAfterParent"}[y];if(y===" "&&a.options.mathModeSpace&&(Te=["insert",a.options.mathModeSpace]),Te){a.executeCommand(Te);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){$g(ce),Mi.insert(ce,y,{style:b}),a.snapshot(),_p(ce),a.snapshot();return}if(/[a-zA-Z0-9]/.test(y)&&a.adoptStyle!=="none"){const Fe=a.adoptStyle==="left"?z:z.parent?z.rightSibling:null;(Fe==null?void 0:Fe.type)==="mord"&&/[a-zA-Z0-9]/.test(Fe.value)&&(b=ie({},b),Fe.style.variant&&(b.variant=Fe.style.variant),Fe.style.variantStyle&&(b.variantStyle=Fe.style.variantStyle))}Mi.insert(ce,y,{style:b}),a.snapshot(`insert-${ce.at(ce.position).type}`)}function $g(a){a.selectionIsCollapsed||(a.deleteAtoms(Qa(a.selection)),a.mathfield.snapshot("delete"))}function Bh(a,y,b){if(!y||a.mode!=="math")return!1;const z=a.at(a.position),{parent:ce}=z,Te={"(":"(",")":")","{":"\\lbrace","}":"\\rbrace","[":"\\lbrack","]":"\\rbrack","|":"|"}[y];if(!Te)return!1;const Fe=ge[Te],rt=be[Te];if(!a.selectionIsCollapsed){a.mathfield.snapshot();const[ct,mt]=Qa(a.selection),wt=a.extractAtoms([ct,mt]),Rt=ce.addChildrenAfter([new Xi("left...right",wt,{leftDelim:Te,rightDelim:rt})],a.at(ct));return a.setSelection(a.offsetOf(Rt.firstChild),a.offsetOf(Rt.lastChild)),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:Te,inputType:"insertText"}),!0}if(Te==="|"){const ct=ce instanceof Xi?ce.leftDelim+ce.rightDelim:"";if(ct==="\\lbrace\\rbrace"||ct==="\\{\\}"||ct==="\\lbrace?")return a.mathfield.snapshot(),Mi.insert(a,"\\,\\middle\\vert\\,",{format:"latex",style:b}),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:Te,inputType:"insertText"}),!0}if(rt){if(ce instanceof Xi&&ce.firstChild===z&&(ce.leftDelim==="?"||ce.leftDelim==="."))return ce.leftDelim=Te,ce.isDirty=!0,a.mathfield.snapshot(),a.contentDidChange({data:Te,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(!(ce instanceof Xi)){let Rt=z;for(;Rt&&!(Rt.type==="mclose"&&Rt.value===rt);)Rt=Rt.rightSibling;if(Rt){a.mathfield.snapshot();const Gt=a.extractAtoms([a.offsetOf(z),a.offsetOf(Rt)]);return Gt.pop(),ce.addChildrenAfter([new Xi("left...right",Gt,{leftDelim:Te,rightDelim:rt})],z),a.position=a.offsetOf(ce.firstChild)+1,a.contentDidChange({data:Te,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}}const ct=a.offsetOf(z.lastSibling);let mt;for(mt=a.position;mt<=ct;mt++){const Rt=a.at(mt);if(Rt instanceof Xi&&(Rt.leftDelim==="?"||Rt.leftDelim===".")&&Wp(Te,Rt.rightDelim))break}const wt=a.at(mt);if(mt<=ct&&wt instanceof Xi){wt.leftDelim=Te,a.mathfield.snapshot();let Rt=a.extractAtoms([a.position,mt-1]);return Rt=Rt.filter(Gt=>Gt.type!=="first"),wt.addChildren(Rt,wt.parentBranch),a.position+=1,a.contentDidChange({data:Te,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(ce instanceof Xi&&(ce.leftDelim==="?"||ce.leftDelim===".")&&Wp(Te,ce.rightDelim)){ce.isDirty=!0,ce.leftDelim=Te,a.mathfield.snapshot();const Rt=a.extractAtoms([a.offsetOf(z.firstSibling),a.position]);for(const Gt of Rt)ce.parent.addChildBefore(Gt,ce);return a.contentDidChange({data:Te,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(!(ce instanceof Xi&&ce.leftDelim==="|")){if(a.mathfield.snapshot(),Mi.insert(a,`\\left${Te}\\right?`,{format:"latex",style:b}),z.lastSibling.type!=="first"){const Rt=a.offsetOf(z.lastSibling),Gt=a.extractAtoms([a.position,Rt]);a.at(a.position).body=Gt,a.position-=1}return a.mathfield.snapshot("insert-fence"),!0}}if(Fe){let ct=z;for(;ct;){if(ct.type==="mopen"&&ct.value===Fe){a.mathfield.snapshot();const nr=ct.leftSibling,cr=a.extractAtoms([a.offsetOf(ct.leftSibling),a.offsetOf(z)]);cr.shift();const Kr=new Xi("left...right",cr,{leftDelim:Fe,rightDelim:Te});return ce.addChildrenAfter([Kr],nr),a.position=a.offsetOf(Kr),a.contentDidChange({data:Te,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}ct=ct.leftSibling}if(ce instanceof Xi&&z.isLastSibling&&Lh(ce.leftDelim,Te))return a.mathfield.snapshot(),ce.isDirty=!0,ce.rightDelim=Te,a.position+=1,a.contentDidChange({data:Te,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const mt=a.offsetOf(z.firstSibling);let wt;for(wt=a.position;wt>=mt;wt--){const nr=a.at(wt);if(nr instanceof Xi&&(nr.rightDelim==="?"||nr.rightDelim===".")&&Lh(nr.leftDelim,Te))break}const Rt=a.at(wt);if(wt>=mt&&Rt instanceof Xi)return a.mathfield.snapshot(),Rt.rightDelim=Te,Rt.addChildren(a.extractAtoms([wt,a.position]),Rt.parentBranch),a.contentDidChange({data:Te,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(ce instanceof Xi&&(ce.rightDelim==="?"||ce.rightDelim===".")&&Lh(ce.leftDelim,Te))return a.mathfield.snapshot(),ce.isDirty=!0,ce.rightDelim=Te,ce.parent.addChildren(a.extractAtoms([a.position,a.offsetOf(z.lastSibling)]),ce.parentBranch),a.position=a.offsetOf(ce),a.contentDidChange({data:Te,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const Gt=ce.parent;return Gt instanceof Xi&&(Gt.rightDelim==="?"||Gt.rightDelim===".")&&a.at(a.position).isLastSibling?(a.position=a.offsetOf(Gt),Bh(a,Te,b)):!1}return!1}function Lh(a,y){return a?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a)?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y):be[a]===y:!0}function Wp(a,y){return y?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y)?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a):ge[y]===a:!0}Fo({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:Xg,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 ce="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),Te=0;for(;z.includes(ce)&&Te<100;){if(Te===99)return console.error("could not find a unique ID after 100 tries"),!1;ce="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),Te++}return a.insert(`\\placeholder[${y!=null?y:ce}]{}`,b),!0}}),Fo({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"}),Fo({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})&&(xd(a),a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),Ca(a))):a.model.announce("plonk"),a.startRecording()}),!0))},{target:"mathfield",canUndo:!0,changeContent:!0,changeSelection:!0});function qg(a,y){a.flushInlineShortcutBuffer(),a.stopCoalescingUndo();const b=Ph(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=ie(ie({},a.defaultStyle),b)):a.model.deferNotifications({content:!0,type:"insertText"},()=>{z.selection.ranges.forEach(ce=>Mh(z,ce,b,{operation:"toggle"})),a.snapshot("style-change")}),!0}Fo({applyStyle:qg},{target:"mathfield",canUndo:!0,changeContent:!0});function Ph(a,y){var b,z,ce,Te,Fe,rt,ct,mt,wt,Rt;const Gt={};if(typeof y.color=="string"){const cr=(z=a.colorMap((b=y.color)!=null?b:y.verbatimColor))!=null?z:"none";cr!==y.color&&(Gt.verbatimColor=(ce=y.verbatimColor)!=null?ce:y.color),Gt.color=cr}if(typeof y.backgroundColor=="string"){const cr=(Fe=a.backgroundColorMap((Te=y.backgroundColor)!=null?Te:y.verbatimBackgroundColor))!=null?Fe:"none";cr!==y.backgroundColor&&(Gt.verbatimBackgroundColor=(rt=y.verbatimBackgroundColor)!=null?rt:y.backgroundColor),Gt.backgroundColor=cr}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=(mt={italic:"it",up:"n",upright:"n",normal:"n"}[Gt.fontShape])!=null?mt:Gt.fontShape),y.variant&&(Gt.variant=y.variant.toLowerCase()),y.variantStyle&&(Gt.variantStyle=y.variantStyle.toLowerCase());const nr=(wt=y.size)!=null?wt:y.fontSize;return typeof nr=="number"?Gt.fontSize=Math.max(1,Math.min(10,nr)):typeof nr=="string"&&(Gt.fontSize=(Rt={size1:1,size2:2,size3:3,size4:4,size5:5,size6:6,size7:7,size8:8,size9:9,size10:10}[nr.toLowerCase()])!=null?Rt:{tiny:1,scriptsize:2,footnotesize:3,small:4,normal:5,normalsize:5,large:6,Large:7,LARGE:8,huge:9,Huge:10}[nr]),Gt}function Rh(a){let[y,b]=Qa(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,ce,Te;let Fe=a.at(y);if(!Fe)return y;const rt=b==="forward"?1:-1;if(Fe.mode==="text"){for(;Fe&&!(Fe.mode!=="text"||!He.test(Fe.value));)y+=rt,Fe=a.at(y);return b==="backward"?y-1:y}if(Fe.mode==="latex"){if(/[a-zA-Z\*]/.test(Fe.value))if(b==="backward")for(;Fe&&Fe.mode==="latex"&&Fe.value!=="\\"&&/[a-zA-Z]/.test(Fe.value);)y+=rt,Fe=a.at(y);else for(;Fe&&Fe.mode==="latex"&&/[a-zA-Z\*]/.test(Fe.value);)y+=rt,Fe=a.at(y);else if(Fe.value==="{"){if(b==="forward"){for(;Fe&&Fe.mode==="latex"&&Fe.value!=="}";)y+=rt,Fe=a.at(y);return y}return y-1}else if(Fe.value==="}"){if(b==="backward"){for(;Fe&&Fe.mode==="latex"&&Fe.value!=="{";)y+=rt,Fe=a.at(y);return y-1}return y}return y-1}if(Fe.mode==="math"){if(Fe.isDigit()){for(;(z=a.at(y+rt))!=null&&z.isDigit();)y+=rt;return b==="backward"?y-1:y}if(Fe.style.variant||Fe.style.variantStyle){let ct=(ce=a.at(y))==null?void 0:ce.style;for(;ct&&ct.variant===Fe.style.variant&&ct.variantStyle===Fe.style.variantStyle;)ct=(Te=a.at(y+rt))==null?void 0:Te.style,y+=rt;return b==="backward"?y-1:y}return y}return y}Fo({selectGroup:a=>{const y=Rh(a);return y||a.announce("plonk"),y},selectAll:a=>a.setSelection(0,a.lastOffset),extendSelectionForward:a=>Ks(a,"forward",{extend:!0}),extendSelectionBackward:a=>Ks(a,"backward",{extend:!0}),extendToNextWord:a=>mu(a,"forward",{extend:!0}),extendToPreviousWord:a=>mu(a,"backward",{extend:!0}),extendSelectionUpward:a=>Ks(a,"upward",{extend:!0}),extendSelectionDownward:a=>Ks(a,"downward",{extend:!0}),extendToNextBoundary:a=>mu(a,"forward",{extend:!0}),extendToPreviousBoundary:a=>mu(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 Sc=null,Md=0,Uf=class is{static start(y,b,z,ce){var Te;is.element=y,(Te=is.controller)==null||Te.abort(),is.controller=new AbortController;const Fe={signal:is.controller.signal};"PointerEvent"in window?(y.addEventListener("pointermove",z,Fe),y.addEventListener("pointerup",ce,Fe),y.addEventListener("pointercancel",ce,Fe),Nh(b)&&(is.pointerId=b.pointerId,y.setPointerCapture(b.pointerId))):(window.addEventListener("mousemove",z,Fe),window.addEventListener("blur",ce,Fe),window.addEventListener("mouseup",ce,Fe))}static stop(){var y;(y=is.controller)==null||y.abort(),is.controller=void 0,typeof is.pointerId=="number"&&(is.element.releasePointerCapture(is.pointerId),is.pointerId=void 0)}};function Nh(a){return a!==null&&globalThis.PointerEvent!==void 0&&a instanceof PointerEvent}function Zp(a,y){var b;if(y.buttons>1)return;a.atomBoundsCache=new Map;const z=a;let ce,Te=!1,Fe=!1,rt="none",ct=!1,mt=!1;const wt=y.clientX,Rt=y.clientY,Gt=Date.now(),nr=z.field,cr=setInterval(()=>{ct?nr.scroll({top:0,left:nr.scrollLeft-16}):mt&&nr.scroll({top:0,left:nr.scrollLeft+16})},32);function Kr(){Uf.stop(),Te=!1,clearInterval(cr),a.element.classList.remove("tracking"),y&&y.preventDefault()}function Pn(ln){if(!z.hasFocus()){Kr();return}const jn=ln.clientX,wn=ln.clientY,oi=Nh(ln)&&ln.pointerType==="touch"?20:5;if(Date.now()<Gt+500&&Math.abs(wt-jn)<oi&&Math.abs(Rt-wn)<oi){ln.preventDefault(),ln.stopPropagation();return}const hi=nr.getBoundingClientRect();mt=jn>hi.right,ct=jn<hi.left;let ui=ce;Nh(ln)&&(ln.isPrimary||(ui=kd(z,ln.clientX,ln.clientY,{bias:0})));const Wi=kd(z,jn,wn,{bias:jn<=wt?jn===wt?0:-1:1});ui>=0&&Wi>=0&&(z.model.extendSelectionTo(ui,Wi),Ca(a)),Fe&&Rh(z.model)}Sc&&Math.abs(Sc.x-wt)<5&&Math.abs(Sc.y-Rt)<5&&Date.now()<Sc.time+500?(Md+=1,Sc.time=Gt):(Sc={x:wt,y:Rt,time:Gt},Md=1);const zr=nr.getBoundingClientRect();if(wt>=zr.left&&wt<=zr.right&&Rt>=zr.top&&Rt<=zr.bottom){if(a.flushInlineShortcutBuffer(),a.adoptStyle="left",ce=kd(a,wt,Rt,{bias:0}),ce>=0){if(a.element.classList.add("tracking"),y.shiftKey){const ln=a.model.selectionIsCollapsed;a.model.extendSelectionTo(a.model.anchor,ce),yp(a.model)||ln?rt="all":rt="selection"}else a.model.at(ce).type==="placeholder"?(a.model.setSelection(ce-1,ce),rt="selection"):((b=a.model.at(ce).rightSibling)==null?void 0:b.type)==="placeholder"?(a.model.setSelection(ce,ce+1),rt="selection"):(a.model.position=ce,yp(a.model)?rt="all":rt="selection");a.defaultStyle={},y.detail===3||Md>2?(Kr(),(y.detail===3||Md===3)&&(a.model.selection={ranges:[[0,a.model.lastOffset]]},rt="all")):Te||(Te=!0,Uf.start(nr,y,Pn,Kr),(y.detail===2||Md===2)&&(Fe=!0,Rh(a.model),rt="all"))}a.hasFocus()||(rt="none",a.focus({preventScroll:!0}))}else Sc=null;a.stopCoalescingUndo(),rt!=="none"&&(a.model.selectionIsCollapsed&&(rt="all"),Ca(a)),y.preventDefault()}function ev(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,ce=y-(b.top+b.bottom)/2;return z*z+ce*ce}function Vp(a,y,b,z,ce){if(!b.id)return[1/0,null];if(y.has(b.id))return y.get(b.id);const Te=Ll(a,b);if(!Te)return[1/0,null];let Fe=[1/0,null];if(b.hasChildren&&!b.captureSelection&&z>=Te.left&&z<=Te.right)for(const rt of b.children){const ct=Vp(a,y,rt,z,ce);ct[0]<=Fe[0]&&(Fe=ct)}return Fe[1]||(Fe=[ev(z,ce,Te),b]),y.set(b.id,Fe),Fe}function tv(a,y,b){const[,z]=Vp(a,new Map,a.model.root,y,b);return z}function kd(a,y,b,z){var ce;const Te=a.field.querySelector(".ML__latex").getBoundingClientRect();if(!Te)return 0;if(y>Te.right||b>Te.bottom+8)return a.model.lastOffset;if(y<Te.left||b<Te.top-8)return 0;z=z!=null?z:{},z.bias=(ce=z.bias)!=null?ce:0;let Fe=tv(a,y,b);const rt=[];let ct=Fe;for(;ct;)rt.unshift(ct),ct=ct.parent;for(const wt of rt)if(wt.captureSelection){Fe=wt;break}let mt=a.model.offsetOf(Fe);if(mt<0)return-1;if(Fe.leftSibling)if(z.bias===0&&Fe.type!=="placeholder"){const wt=Ll(a,Fe);wt&&y<(wt.left+wt.right)/2&&(mt=a.model.offsetOf(Fe.leftSibling))}else z.bias<0&&(mt=a.model.offsetOf(Fe.leftSibling));return mt}var rv=class extends Mi{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",ce=typeof y!="string"?y.getData("application/json+mathlive"):"";if(ce)try{const Te=JSON.parse(ce);if(Te&&Array.isArray(Te)){a.snapshot();const Fe=Nl(Te),{model:rt}=a;rt.selectionIsCollapsed||rt.deleteAtoms(Qa(rt.selection));const ct=rt.at(rt.position);if(ct.parent instanceof Ti){console.assert(ct.parentBranch!==void 0);const mt=[];let wt=[];Fe[0].type==="first"&&Fe.shift(),Fe[Fe.length-1].type==="first"&&Fe.pop();for(const cr of Fe)cr.type==="first"&&wt.length>0?(mt.push(wt),wt=[cr]):wt.push(cr);wt.length>0&&mt.push(wt);let Rt=Number(ct.parentBranch[0]),Gt=Number(ct.parentBranch[1]);const nr=ct.parent.maxColumns;for(;ct.parent.colCount-Gt<mt.length&&ct.parent.colCount<nr;)ct.parent.addColumn();ct.parent.addChildrenAfter(mt[0],ct);for(let cr=1;cr<mt.length;cr++)Gt++,Gt>=nr&&(Gt=0,ct.parent.addRowAfter(Rt),Rt++),ct.parent.setCell(Rt,Gt,mt[cr])}else ct.parent.addChildrenAfter(Fe.filter(mt=>mt.type!=="first"),ct);return rt.position=rt.offsetOf(Fe[Fe.length-1]),rt.contentDidChange({inputType:"insertFromPaste"}),Ca(a),!0}}catch(Te){}if(ce=typeof y!="string"?y.getData("application/json"):"",ce&&window.MathfieldElement.computeEngine)try{const Te=JSON.parse(ce);if(typeof Te=="object"&&"latex"in Te&&Te.latex&&(b=Te.latex),!b){const Fe=window.MathfieldElement.computeEngine.box(Te);Fe&&!Fe.has("Error")&&(b=Fe.latex)}b||(z="latex")}catch(Te){}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 Te;return[Te,b]=Ns(b),z==="auto"&&Te&&(z="latex"),a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b,{format:z})&&(a.startRecording(),a.snapshot("paste"),Ca(a)),a.startRecording(),!0}return!1}insert(a,y,b){var z,ce;const Te=typeof y=="string"?y:(ce=(z=window.MathfieldElement.computeEngine)==null?void 0:z.box(y).latex)!=null?ce:"";if(!b.silenceNotifications&&!a.contentWillChange({data:Te,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:Fe}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const rt=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(Qa(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 mt=-1;ct[0]?ct["@"]=ct[0]:typeof y=="string"&&/(^|[^\\])#@/.test(y)&&(mt=iv(a),mt>=0&&(ct["@"]=a.getValue(mt,a.position,"latex"))),ct[0]||(ct[0]=ct["?"]);let wt=!1;const Rt=jn=>(wt=!0,ct[jn]);let[Gt,nr]=Gp(a,y,Rt,b);if(!nr)return!1;const cr=nr.length===1&&nr[0].type==="genfrac";cr&&mt>=0&&typeof a.mathfield.options.isImplicitFunction=="function"&&a.mathfield.options.isImplicitFunction(a.at(a.position).command)?(ct["@"]=ct["?"],wt=!1,[Gt,nr]=Gp(a,y,Rt,b)):mt>=0&&a.deleteAtoms([mt,a.position]);const{parent:Kr}=a.at(a.position),Pn=Kr.hasEmptyBranch("body");if(cr&&Gt!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Kr instanceof Xi&&Kr.leftDelim==="("&&Pn){const jn=Kr.parent,wn=Kr.parentBranch;jn.removeChild(Kr),jn.setChildren(nr,wn)}const zr=a.at(a.position);zr.parent.addChildrenAfter(nr,zr),Gt==="latex"&&typeof y=="string"&&(Kr==null?void 0:Kr.type)==="root"&&Pn&&!wt&&(Kr.verbatimLatex=y),a.silenceNotifications=rt;const ln=nr[nr.length-1];if(b.selectionMode==="placeholder"){const jn=nr.flatMap(wn=>[wn,...wn.children]).find(wn=>wn.type==="placeholder");if(jn){const wn=a.offsetOf(jn);a.setSelection(wn-1,wn),a.announce("move")}else ln&&(a.position=a.offsetOf(ln))}else b.selectionMode==="before"||(b.selectionMode==="after"?ln&&(a.position=a.offsetOf(ln)):b.selectionMode==="item"&&a.setSelection(a.anchor,a.offsetOf(ln)));return a.contentDidChange({data:Te,inputType:"insertText"}),a.silenceNotifications=Fe,!0}};function Gp(a,y,b,z){var ce;let Te,Fe=[];if(typeof y!="string"||z.format==="math-json"){const rt=window.MathfieldElement.computeEngine;if(!rt)return["math-json",[]];[Te,y]=["latex",rt.box(y).latex],Fe=qa(y,{context:a.mathfield.context})}else typeof y=="string"&&z.format==="ascii-math"?([Te,y]=dc(y,{format:"ascii-math",inlineShortcuts:a.mathfield.options.inlineShortcuts}),Fe=qa(y,{context:a.mathfield.context}),Te!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Zf(Fe)):(z.format==="auto"||(ce=z.format)!=null&&ce.startsWith("latex"))&&(z.format==="auto"&&([Te,y]=dc(y,{format:"auto",inlineShortcuts:a.mathfield.options.inlineShortcuts})),z.format==="latex"&&([,y]=Ns(y)),Fe=qa(y,{context:a.mathfield.context,args:b}),z.format!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Zf(Fe));return jl(Fe,z.style),[Te!=null?Te:"latex",Fe]}function nv(a){if(!a||(console.assert(a[0].type==="first"),a.length>1))return null;const y=a[0];return y instanceof Xi&&y.leftDelim==="("&&y.rightDelim===")"?y.removeBranch("body"):null}function Zf(a){if(a){for(let y=0;a[y];y++){const b=a[y];if(b instanceof Xi&&b.leftDelim==="("){let z=0,ce=0,Te=0;for(let Fe=0;b.body[Fe];Fe++)b.body[Fe].type==="genfrac"&&(z++,ce=Fe),Te++;Te===0&&z===1&&(a[y]=b.body[ce])}}for(const y of a){for(const b of y.branches)if(!y.hasEmptyBranch(b)){Zf(y.branch(b));const z=nv(y.branch(b));z&&y.setChildren(z,b)}if(y instanceof Ti)for(const b of y.cells)Zf(b)}}}function iv(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 ce=ge[y.value];for(;!y.isFirstSibling&&!(y.type==="mopen"&&y.value===ce);)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 ce=[];for(;!y.isFirstSibling&&(Xp(y)||ce.length>0);)y.type==="mclose"&&ce.unshift(y.value),y.type==="mopen"&&ce.length>0&&y.value===ge[ce[0]]&&ce.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 rv;var av=class extends Mi{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"),Ca(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 ce=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(Qa(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 Te=ov(y,a.mathfield.context);if(jl(Te,b.style),!Te)return!1;const Fe=a.at(a.position),rt=Fe.parent.addChildrenAfter(Te,Fe);return a.silenceNotifications=ce,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(rt)):rt&&(a.position=a.offsetOf(rt))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=z,!0}};function ov(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 "),qa(a,{context:y,parseMode:"text"})}new av;function Hs(a){return{value:a.model.getValue(),selectionIsCollapsed:a.model.selectionIsCollapsed,canUndo:a.canUndo(),canRedo:a.canRedo(),style:a.selectionStyle,mode:a.model.mode}}var fa=4,Io=20,Ka=2*(Io+fa),Vf=(a,y)=>`
<line x1="${a+Io}" y1="${y+Io}"
x2="${a>y?a+Io:7*Io+10*fa}"
y2="${a<y?y+Io:7*Io+10*fa}"/>
<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+Io}" y1="${y+Io}"
x2="${a>y?a+Io:7*Io+10*fa}"
y2="${a<y?y+Io:7*Io+10*fa}"/>
<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>`,sv=`
<svg class="MLEP__array-buttons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox=
"-2 -2 ${8*Io+10*fa+5} ${8*Io+10*fa+5}">
<rect
class="MLEP__array-insert-background rows"
x="0"
y="${Ka+fa}"
height="${3*Ka}"
width="${Ka}"
rx="${Ka/2}"/>
<rect
class="MLEP__array-insert-background columns"
x="${Ka+fa}"
y="0"
height="${Ka}"
width="${3*Ka}"
rx="${Ka/2}"/>
<g data-command='"moveDown"'>
${Gf(2*(fa+Ka),2*fa+3*Ka,0)}
</g>
<g data-command='"moveUp"'>
${Gf(2*(fa+Ka),2*fa+Ka,180)}
</g>
<g data-command='"moveToNextWord"'>
${Gf(2*fa+3*Ka,2*(fa+Ka),-90)}
</g>
<g data-command='"moveToPreviousWord"'>
${Gf(2*fa+Ka,2*(fa+Ka),90)}
</g>
<g>
<g data-command='"addColumnBefore"'>
${Vf(2*fa+Ka,fa)}
</g>
<g data-command='"removeColumn"'>
${Yp(2*fa+2*Ka,fa)}
</g>
<g data-command='"addColumnAfter"'>
${Vf(2*fa+3*Ka,fa)}
</g>
<g data-command='"addRowBefore"'>
${Vf(fa,2*fa+Ka)}
</g>
<g data-command='"removeRow"'>
${Yp(fa,2*fa+2*Ka)}
</g>
<g data-command='"addRowAfter"'>
${Vf(fa,2*fa+3*Ka)}
</g>
</svg>`,lv=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>`,cv=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>`,Jp=a=>`
<svg id="Bmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","Bmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m6,4c-1.1,0-2,.9-2,2v3c0,1.66-.9,3-2,3,1.1,0,2,1.34,2,3v3c0,1.1.9,2,2,2"/>
<path class="cls-2" d="m22,4c1.1,0,2,.9,2,2v3c0,1.66.9,3,2,3-1.1,0-2,1.34-2,3v3c0,1.1-.9,2-2,2"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/>
</svg>`,uv=a=>`
<svg id="bmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
data-command='["setEnvironment","bmatrix"]'>
<rect class="cls-1" width="28" height="24"/>
<path class="cls-2" d="m6,4h-3v16h3"/>
<path class="cls-2" d="m22,4h3v16h-3"/>
<circle cx="10" cy="8" r="1"/>
<circle cx="14" cy="12" r="1"/>
<circle cx="18" cy="16" r="1"/>
</svg>`,dv=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>`,fv=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>`,hv=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>`,pv=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:lv,pmatrix:cv,bmatrix:uv,Bmatrix:Jp,vmatrix:dv,Vmatrix:fv},jh={cases:hv,rcases:pv,Bmatrix:Jp};function mv(a){var y,b;const z=(y=a.model.parentEnvironment)==null?void 0:y.array;if(!z)return;let ce=0;z.forEach(cr=>{(!ce||cr.length>ce)&&(ce=cr.length)});let Te=document.getElementById("mathlive-environment-popover");Te||(Te=Mf("mathlive-environment-popover"),jo("environment-popover"),jo("core"),Te.setAttribute("aria-hidden","true"));let Fe;const rt=Te.querySelector(".MLEP__environment-controls");rt?Fe=rt:(Fe=document.createElement("div"),Te.innerHTML="",Te.appendChild(Fe)),Fe.className="MLEP__environment-controls",Fe.style.display="flex",Fe.style.width="100%",Fe.style.height="100%",Fe.style.boxSizing="border-box",Fe.innerHTML=sv;let ct=[],mt="";const wt=a.model.parentEnvironment.environmentName;if(yo(wt)){const cr=vv(wt);mt=_h[cr]("active");const Kr=_h,{[cr]:Pn}=Kr,zr=me(Kr,[le(cr)]);ct=Object.values(zr).map(ln=>ln("inactive"))}else if(bo(wt)){const cr=yv(wt);mt=jh[cr]("active");const Kr=jh,{[cr]:Pn}=Kr,zr=me(Kr,[le(cr)]);ct=Object.values(zr).map(ln=>ln("inactive"))}else La(wt)&&(mt=_h.matrix("active"),ct=Object.values(jh).map(cr=>cr("inactive")));const Rt=document.createElement("div");Rt.className="MLEP__environment-delimiter-controls",Rt.style.display="flex",Rt.style.flexDirection="column",Rt.innerHTML=`
<div class='MLEP__array-delimiter-options'>
${mt}
${ct.join("")}
</div>`,mt&&Fe.appendChild(Rt),Fe.querySelectorAll("[data-command]").forEach(cr=>{const Kr=cr.dataset.command;let Pn=Kr;try{Pn=JSON.parse(Kr)}catch(zr){}cr.addEventListener("mousedown",zr=>zr.preventDefault()),Pn&&cr.addEventListener("click",()=>a.executeCommand(Pn))});const nr=(b=a.field)==null?void 0:b.getBoundingClientRect();nr&&(Te.style.top=`${window.scrollY+(nr.top-Te.clientHeight-15)}px`,Te.style.left=`${nr.left+20}px`,Te.classList.add("is-visible"))}function Fh(){const a=document.getElementById("mathlive-environment-popover");a==null||a.classList.remove("is-visible")}function gv(){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&&ya(b.environmentName)){const z=a.options.environmentPopoverPolicy;y=z==="auto"||z==="on"}}y?mv(a):Fh()}function vv(a){return a.replace("*","")}function yv(a){return a==="dcases"?"cases":a}function Qp(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 zh(a,y,b,z){return b==="middle"?a-y/2:b==="start"&&z==="rtl"||b==="end"&&z==="ltr"||b==="top"||b==="right"?Math.max(0,a-y):a}function bv(a,y,b,z){return b==="middle"?a-y/2:b==="start"&&z==="ltr"||b==="end"&&z==="rtl"||b==="top"||b==="right"?a:a-y}function xv(a,y){var b,z,ce;const Te=(b=Qp(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 Fe=a.getBoundingClientRect(),rt=Number.isFinite(y.maxHeight)?Math.min(y.maxHeight,window.innerHeight):window.innerHeight;let ct=Math.min(rt,(z=y.height)!=null?z:Fe.height),mt=zh(y.location.y,ct,y.verticalPos,Te);mt+ct>window.innerHeight-8&&(y.alternateLocation?(mt=zh(y.alternateLocation.y,ct,y.verticalPos,Te),mt+ct>window.innerHeight-8&&(mt=void 0)):mt=void 0),Number.isFinite(mt)||(mt=Math.max(8,window.innerHeight-8-ct),8+ct>window.innerHeight-8&&(a.style.bottom="8px")),ct=Math.min(mt+ct,window.innerHeight-8)-mt;const wt=Number.isFinite(y.maxWidth)?Math.min(y.maxWidth,window.innerWidth):window.innerWidth;let Rt=Math.min(wt,(ce=y.width)!=null?ce:Fe.width),Gt=zh(y.location.x,Rt,y.horizontalPos,Te);Gt+Rt>window.innerWidth-8&&(y.alternateLocation?(Gt=bv(y.alternateLocation.x,Rt,y.verticalPos,Te),Gt+Rt>window.innerWidth-8&&(Gt=void 0)):Gt=void 0),Number.isFinite(Gt)||(Gt=Math.max(8,window.innerWidth-8-Rt),8+Rt>window.innerWidth-8&&(a.style.right="8px")),Rt=Math.min(Gt+Rt,window.innerWidth-8)-Gt,Te==="rtl"?a.style.right=`${Math.ceil(window.innerWidth-Gt-Rt).toString()}px`:a.style.left=`${Math.ceil(Gt).toString()}px`,a.style.top=`${Math.ceil(mt).toString()}px`,ct!==Fe.height&&(a.style.height=`${Math.ceil(ct).toString()}px`),Rt!==Fe.width&&(a.style.width=`${Math.ceil(Rt).toString()}px`)}function wv(a,y){return Math.hypot(y.x-a.x,y.y-a.y)}function gu(a){return"submenu"in a}function Ws(a){return"type"in a&&a.type==="command"||"onMenuSelect"in a||"id"in a}function Kh(a){return"type"in a&&a.type==="divider"}function 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,gu(a)?(this.type="submenu",this.submenu=new rm(a.submenu,{parentMenu:y,submenuClass:a.submenuClass,columnCount:a.columnCount})):this.type=(b=a.type)!=null?b:"command",this.hasCheck=Ws(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 ce=this._declaration;if(Kh(ce)){this.enabled=!1,this.checked=!1;return}Hh(ce)&&(this.enabled=!1,this.checked=!1,this.visible=!0),Ws(ce)&&(this.checked=Ws(ce)&&((y=vu(ce.checked,a))!=null?y:!1)),(Ws(ce)||gu(ce))&&(this.enabled=(b=vu(ce.enabled,a))!=null?b:!0,this.visible=(z=vu(ce.visible,a))!=null?z:!0,this.visible&&this.enabled&&this.submenu&&(this.submenu.updateState(a),this.submenu.visible||(this.visible=!1))),(Ws(ce)||Hh(ce)||gu(ce))&&(this.label=vu(ce.label,a),this.tooltip=vu(ce.tooltip,a),this.ariaLabel=vu(ce.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),Ws(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(Kh(this._declaration)){const b=document.createElement("li");return b.setAttribute("part","menu-divider"),b.setAttribute("role","divider"),this._element=b,b}const a=document.createElement("li");this._element=a,(Ws(this._declaration)||Hh(this._declaration)||gu(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(!Ws(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=Qp(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(Sv(z,y.clientY-a.clientY,b)<=.2)return!1;let Te="right";if(this.submenu.element){const Fe=this.submenu.element.getBoundingClientRect(),rt=this.element.getBoundingClientRect();Fe.left<rt.left+rt.width/2&&(Te="left")}return Te==="right"?z>0:z<0}};function Sv(a,y,b){return Math.hypot(a,y)/b}function vu(a,y){return a===void 0||typeof a!="function"?a:(y!=null||(y={alt:!1,control:!1,shift:!1,meta:!1}),a(y))}var rm=class Au{constructor(y,b){this._element=null,this._activeMenuItem=null,this._dirty=!0;var z,ce;this.parentMenu=(z=b==null?void 0:b.parentMenu)!=null?z:null,this._submenuClass=b==null?void 0:b.submenuClass,this.columnCount=(ce=b==null?void 0:b.columnCount)!=null?ce: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,ce;this._menuItems.forEach(mt=>mt.updateState(y));const Te=this.hasCheck;this.hasCheck=this._menuItems.some(mt=>mt.visible&&mt.hasCheck),this.hasCheck!==Te&&this._menuItems.forEach(mt=>mt.updateState(y));let Fe,rt=0;for(const mt of this._menuItems)mt.type==="heading"?(Fe&&rt===0&&(Fe.visible=!1),Fe=mt,rt=0):mt.type==="divider"&&Fe?(Fe.visible=rt>0,Fe=void 0,rt=0):Fe&&mt.visible&&(rt+=1);Fe&&(Fe.visible=rt>0);let ct=!0;for(const mt of this._menuItems)mt.type==="divider"?(mt.visible=!ct,ct=!0):mt.visible&&(ct=!1);(b=this.activeMenuItem)!=null&&b.visible||(this.activeMenuItem=null),!((z=this.activeMenuItem)!=null&&z.enabled)&&((ce=this.activeMenuItem)==null?void 0:ce.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,ce,Te;if(this.rootMenu.cancelDelayedOperation(),y!==this._activeMenuItem){if(this.activeMenuItem){const Fe=this.activeMenuItem;Fe.active=!1,(b=Fe.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?(ce=y.element)==null||ce.focus({preventScroll:!0}):(Te=this._element)==null||Te.focus({preventScroll:!0})}get firstMenuItem(){this.updateIfDirty();let y=0,b=!1;const z=this._menuItems;for(;!b&&y<=z.length-1;){const ce=z[y];b=ce.type!=="divider"&&ce.visible&&ce.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 ce=y[b];z=ce.type!=="divider"&&ce.visible&&ce.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 ce=this._menuItems.indexOf(this._activeMenuItem),Te=1;for(;ce>=b&&ce<=z;){ce+=y>0?1:-1;const Fe=this._menuItems[ce];if(!Fe)break;if(Fe.visible&&Fe.enabled){if(Te===Math.abs(y))return this._menuItems[ce];Te+=1}}return y>0?this.lastMenuItem:this.firstMenuItem}getMenuItemColumn(y){this.updateIfDirty();const z=this._menuItems.filter(ce=>ce.visible&&ce.enabled).indexOf(y);return z<0?-1:z%this.columnCount}static get collator(){return Au._collator||(Au._collator=new Intl.Collator(void 0,{usage:"search",sensitivity:"base"})),Au._collator}findMenuItem(y){var b;this.updateIfDirty();const z=this._menuItems.filter(rt=>rt.type!=="divider"&&rt.visible&&rt.enabled);if(z.length===0)return null;const ce=Math.max(...z.map(rt=>rt.label.length))-y.length;if(ce<0)return null;let Te=null,Fe=0;for(;Fe<ce&&!Te;)Te=(b=z.find(rt=>Au.collator.compare(y,rt.label.substring(Fe,y.length))===0))!=null?b:null,Fe++;return Te}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&&xv(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,ce,Te;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(),(Te=(ce=this._element)==null?void 0:ce.parentNode)==null||Te.removeChild(this._element)}set openSubmenu(y){var b,z,ce,Te;const Fe=y!==null;((b=this.activeMenuItem)==null?void 0:b.type)==="submenu"&&((z=this.activeMenuItem.element)==null||z.setAttribute("aria-expanded",Fe.toString())),(Te=(ce=this.activeMenuItem)==null?void 0:ce.element)==null||Te.classList.toggle("is-submenu-open",Fe),this.isSubmenuOpen=Fe}},nm=class i0 extends rm{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){K0(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=pc(y)),y.stopImmediatePropagation()}handleKeydownEvent(y){var b,z,ce;if(y.key==="Tab"||y.key==="Escape"){this.hide();return}this.isDynamic&&(this.modifiers=pc(y));let Te=!0;const Fe=this.activeSubmenu,rt=Fe.activeMenuItem;switch(y.key){case" ":case"Space":case"Return":case"Enter":rt==null||rt.select(pc(y));break;case"ArrowRight":if((rt==null?void 0:rt.type)==="submenu")rt.select(pc(y)),this.activeSubmenu.activeMenuItem=this.activeSubmenu.firstMenuItem;else if(!rt)Fe.activeMenuItem=Fe.firstMenuItem;else{const ct=(b=Fe.getMenuItemColumn(rt))!=null?b:-1;if(ct>=0&&ct<((z=Fe.columnCount)!=null?z:1)-1){const mt=Fe.nextMenuItem(1);mt&&(Fe.activeMenuItem=mt)}}break;case"ArrowLeft":if(Fe===this.rootMenu)rt||(Fe.activeMenuItem=Fe.firstMenuItem);else if((rt&&(ce=Fe.getMenuItemColumn(rt))!=null?ce:-1)<=0||!rt){Fe.hide();const mt=Fe.parentMenu.activeMenuItem;if(mt){const{element:wt}=mt;wt==null||wt.focus(),wt==null||wt.classList.remove("is-submenu-open")}}else{const mt=Fe.nextMenuItem(-1);mt&&(Fe.activeMenuItem=mt)}break;case"ArrowDown":Fe.activeMenuItem=Fe.nextMenuItem(Fe.columnCount);break;case"ArrowUp":Fe.activeMenuItem=Fe.nextMenuItem(-Fe.columnCount);break;case"Home":case"PageUp":Fe.activeMenuItem=Fe.firstMenuItem;break;case"End":case"PageDown":Fe.activeMenuItem=Fe.lastMenuItem;break;case"Backspace":if(this.typingBuffer&&(this.typingBuffer=this.typingBuffer.slice(0,-1),this.typingBuffer)){clearTimeout(this.typingBufferResetTimer);const ct=Fe.findMenuItem(this.typingBuffer);ct&&(Fe.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=Fe.findMenuItem(this.typingBuffer);ct&&(Fe.activeMenuItem=ct),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}else Te=!1}Te&&(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 Fs.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),Fs.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),Fs.state==="open"&&Fs.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(oe(ie({},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,Fs.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)}};nm.SUBMENU_DELAY=120;var Cv=nm;function im(a){return Kh(a)?!1:typeof a.label=="function"||typeof a.ariaLabel=="function"||typeof a.tooltip=="function"||(Ws(a)||gu(a))&&(typeof a.enabled=="function"||typeof a.visible=="function")||Ws(a)&&typeof a.checked=="function"?!0:gu(a)?a.submenu.some(im):!1}var Yf=class{};Yf.DELAY=300,Yf.MAX_DISTANCE=10;function Ev(a){return new Promise((y,b)=>{const z=Sf(a);z||y(!1);let ce=z;const Te=setTimeout(()=>{Fe.abort(),y(wv(ce,z)<Yf.MAX_DISTANCE)},Yf.DELAY),Fe=new AbortController,rt=Fe.signal;for(const ct of["pointermove","pointerup","pointercancel"])window.addEventListener(ct,mt=>{if(mt.type==="pointerup"||mt.type==="pointercancel")clearTimeout(Te),Fe.abort(),y(!1);else if(mt.type==="pointermove"){const wt=Sf(mt);wt&&(ce=wt)}},{passive:!0,signal:rt})})}function am(a,y,b){return Kl(this,null,function*(){if(a.type==="contextmenu"){const z=a;if(b.show({target:y,location:Sf(z),modifiers:pc(z)}))return a.preventDefault(),a.stopPropagation(),!0}if(a.type==="keydown"){const z=a;if(z.code==="ContextMenu"||z.code==="F10"&&z.shiftKey){const ce=y==null?void 0:y.getBoundingClientRect();if(ce&&b.show({target:y,location:{x:Math.ceil(ce.left+ce.width/2),y:Math.ceil(ce.top+ce.height/2)},modifiers:pc(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 ce=Sf(a);if(yield Ev(a))return b.state!=="closed"?!1:(b.show({target:y,location:ce}),!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};kt(Object.keys(om),"{body:auto}",{createAtom:a=>new ee(oe(ie({},a),{body:qe(a.args[0]),accentChar:om[a.command.slice(1)]}))}),kt(["widehat","widecheck","widetilde"],"{body:auto}",{createAtom:a=>{const y=gt(qe(a.args[0]));return new ee(oe(ie({},a),{body:qe(a.args[0]),svgAccent:a.command.slice(1)+(y.length>5?"4":["1","1","2","2","3","3"][y.length])}))}}),kt(["overarc","overparen","wideparen"],"{body:auto}",{createAtom:a=>new ee(oe(ie({},a),{body:qe(a.args[0]),svgAccent:"overarc"}))}),kt(["underarc","underparen"],"{body:auto}",{createAtom:a=>new ts(oe(ie({},a),{body:qe(a.args[0]),svgBelow:"underarc"}))}),kt("utilde","{body:auto}",{createAtom:a=>{const y=qe(a.args[0]),b=gt(y),z="widetilde"+(b.length>5?"4":["1","1","2","2","3","3"][b.length]);return new ts(oe(ie({},a),{body:y,svgBelow:z,boxType:Tl(y)}))}}),kt("^","{:string}",{createAtom:a=>{var y;return new $r(oe(ie({},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:"^"}))}}),kt("`","{:string}",{createAtom:a=>{var y;return new $r(oe(ie({},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:"`"}))}}),kt("'","{:string}",{createAtom:a=>{var y;return new $r(oe(ie({},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:"'"}))}}),kt('"',"{:string}",{createAtom:a=>{var y,b;return new $r(oe(ie({},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]:'"'}))}}),kt(".","{:string}",{createAtom:a=>{var y,b;return new $r(oe(ie({},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]:"."}))}}),kt("=","{:string}",{createAtom:a=>{var y,b;return new $r(oe(ie({},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]:"="}))}}),kt("~","{:string}",{createAtom:a=>{var y;return new $r(oe(ie({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"}))}}),kt("c","{:string}",{createAtom:a=>{var y;return new $r(oe(ie({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={c:"\xE7",C:"\xC7"}[a.args[0]])!=null?y:""}))}}),kt("enclose","{notation:string}[style:string]{body:auto}",{createAtom:a=>{var y,b;const z=a.args,ce={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 Fe=z[1].split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const rt of Fe){const ct=rt.match(/\s*(\S+)\s+(\S+)\s+(.*)/);if(ct)ce.strokeWidth=ct[1],ce.strokeStyle=ct[2],ce.strokeColor=ct[3];else{const mt=rt.match(/\s*([a-z]*)\s*=\s*"(.*)"/);mt&&(mt[1]==="mathbackground"?ce.backgroundcolor=mt[2]:mt[1]==="mathcolor"?ce.strokeColor=mt[2]:mt[1]==="padding"?ce.padding=mt[2]:mt[1]==="shadow"&&(ce.shadow=mt[2]))}}ce.strokeStyle==="dashed"?ce.svgStrokeStyle="5,5":ce.strokeStyle==="dotted"&&(ce.svgStrokeStyle="1,5")}ce.borderStyle=`${ce.strokeWidth} ${ce.strokeStyle} ${ce.strokeColor}`;const Te={};return((b=z[0])!=null?b:"").split(/[, ]/).filter(Fe=>Fe.length>0).forEach(Fe=>{Te[Fe.toLowerCase()]=!0}),new ud(a.command,qe(z[2]),Te,ce)}}),kt("cancel","{body:auto}",{createAtom:a=>{var y;return new ud(a.command,qe(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:{}})}}),kt("bcancel","{body:auto}",{createAtom:a=>{var y;return new ud(a.command,qe(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:{}})}}),kt("xcancel","{body:auto}",{createAtom:a=>{var y;return new ud(a.command,qe(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:{}})}}),kt(["overrightarrow","overleftarrow","Overrightarrow","overleftharpoon","overrightharpoon","overleftrightarrow","overlinesegment","overgroup"],"{:auto}",{createAtom:a=>{var y;return new ts(oe(ie({},a),{body:qe((y=a.args)==null?void 0:y[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgAbove:a.command.slice(1)}))}}),kt("overbrace","{:auto}",{createAtom:a=>new ts(oe(ie({},a),{body:qe(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgAbove:a.command.slice(1)}))}),kt(["underrightarrow","underleftarrow","underleftrightarrow","underlinesegment","undergroup"],"{:auto}",{createAtom:a=>new ts(oe(ie({},a),{body:qe(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgBelow:a.command.slice(1)}))}),kt(["underbrace"],"{:auto}",{createAtom:a=>new ts(oe(ie({},a),{body:qe(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgBelow:a.command.slice(1)}))}),kt(["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,ce,Te;return new ts(oe(ie({},a),{svgBody:a.command.slice(1),above:((b=qe((y=a.args)==null?void 0:y[1]))==null?void 0:b.length)===0?void 0:qe((z=a.args)==null?void 0:z[1]),below:(Te=qe((ce=a.args)==null?void 0:ce[0]))!=null?Te: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)}`}),kt(["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 hc(a.command.slice(1),oe(ie({},a),{limits:"adjacent",isFunction:!0,variant:"main",variantStyle:"up"}))}),kt(["liminf","limsup"],"",{ifMode:"math",createAtom:a=>new hc({"\\liminf":"lim inf","\\limsup":"lim sup"}[a.command],oe(ie({},a),{limits:"over-under",variant:"main"}))}),kt(["lim","mod"],"",{ifMode:"math",createAtom:a=>new hc(a.command.slice(1),oe(ie({},a),{limits:"over-under",variant:"main"}))}),kt(["det","max","min"],"",{ifMode:"math",isFunction:!0,createAtom:a=>new hc(a.command.slice(1),oe(ie({},a),{limits:"over-under",isFunction:!0,variant:"main"}))}),kt(["ang"],"{:math}",{ifMode:"math",createAtom:a=>new $r(oe(ie({},a),{body:qe(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 ce=new Rn("\xB0",{style:oe(ie({},a.style),{variant:"normal",variantStyle:"up"})});return new Rn([b,ce],{type:"inner",isSelected:a.isSelected,caret:z})}}),kt("sqrt","[index:auto]{radicand:expression}",{ifMode:"math",createAtom:a=>new sp(oe(ie({},a),{body:qe(a.args[1]),index:a.args[0]?qe(a.args[0]):void 0}))}),kt(["frac","dfrac","tfrac","cfrac","binom","dbinom","tbinom"],"{:expression}{:expression}",{ifMode:"math",createAtom:a=>{const y=ie({},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 su(z[0]?qe(z[0]):[new pi],z[1]?qe(z[1]):[new pi],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}`:da(a.command,b,z)}}),kt(["brace","brack"],"",{infix:!0,createAtom:a=>new su(qe(a.args[0]),qe(a.args[1]),oe(ie({},a),{hasBarLine:!1,leftDelim:a.command==="\\brace"?"\\lbrace":"\\lbrack",rightDelim:a.command==="\\brace"?"\\rbrace":"\\rbrack"})),serialize:(a,y)=>Ni([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),kt(["over","atop","choose"],"",{infix:!0,createAtom:a=>{let y,b;const z=a.args;return a.command==="\\choose"&&(y="(",b=")"),new su(qe(z[0]),qe(z[1]),oe(ie({},a),{hasBarLine:a.command==="\\over",leftDelim:y,rightDelim:b}))},serialize:(a,y)=>Ni([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),kt(["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 su(qe(z[0]),qe(z[1]),oe(ie({},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)}`}),kt("pdiff","{numerator}{denominator}",{ifMode:"math",createAtom:a=>new su(qe(a.args[0]),qe(a.args[1]),oe(ie({},a),{hasBarLine:!0,numerPrefix:"\u2202",denomPrefix:"\u2202"}))}),kt(["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)],oe(ie({},a),{limits:"auto",variant:"main"}))}),kt("smallint","",{ifMode:"math",createAtom:a=>new hc("\u222B",oe(ie({},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"};kt(Object.keys(sm),"",{ifMode:"math",createAtom:a=>{const y=a.command,b=sm[y.slice(1)];return new hh(b,oe(ie({},a),{limits:"adjacent",variant:{"\u22D2":"ams","\u22D3":"ams"}[b]}))}}),kt(["Re","Im"],"",{ifMode:"math",createAtom:a=>new hc({"\\Re":"\u211C","\\Im":"\u2111"}[a.command],oe(ie({},a),{limits:"adjacent",isFunction:!0,variant:"fraktur"}))}),kt("middle","{:delim}",{ifMode:"math",createAtom:a=>{var y;return new ip(oe(ie({},a),{delim:(y=a.args[0])!=null?y:"|",size:1}))}}),kt("the","{:value}",{createAtom:a=>new $r(oe(ie({},a),{captureSelection:!0,verbatimLatex:null})),render:(a,y)=>{var b;const z=new zi({parent:y},a.style);let ce="";a.isSelected&&(ce+=" ML__selected");const Te=z.evaluate(a.args[0]);return new Rn(((b=Ba(Te))!=null?b:"").split("").map(Fe=>new Rn(Fe,{type:"ord",classes:ce,mode:a.mode,isSelected:a.isSelected,style:ie({variant:"main"},a.style)})),{type:"lift",style:a.style,caret:a.caret,isSelected:a.isSelected,classes:ce}).wrap(z)},serialize:a=>{var y;return`\\the${(y=Ba(a.args[0]))!=null?y:"\\relax"}`}}),kt("mathtip","{:auto}{:math}",{createAtom:a=>new ph(oe(ie({},a),{body:qe(a.args[0]),tooltip:qe(a.args[1]),content:"math"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${$r.serialize([a.tooltip],oe(ie({},y),{defaultMode:"math"}))}}`}),kt("texttip","{:auto}{:text}",{createAtom:a=>new ph(oe(ie({},a),{body:qe(a.args[0]),tooltip:qe(a.args[1]),content:"text"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${$r.serialize([a.tooltip],oe(ie({},y),{defaultMode:"text"}))}}`}),kt("error","{:math}",{createAtom:a=>new $r(oe(ie({},a),{body:qe(a.args[0])})),serialize:(a,y)=>`\\error{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__error"})}),kt("ensuremath","{:math}",{createAtom:a=>new $r(oe(ie({},a),{body:qe(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(oe(ie({},y),{defaultMode:"math"}))}}`}),kt("color","{:value}",{applyStyle:(a,y,b)=>{var z,ce;return{verbatimColor:(z=Ba(y[0]))!=null?z:void 0,color:b.toColor((ce=y[0])!=null?ce:{string:"red"})}}}),kt("textcolor","{:value}{content:auto*}",{applyStyle:(a,y,b)=>{var z,ce;return{verbatimColor:(z=Ba(y[0]))!=null?z:void 0,color:b.toColor((ce=y[0])!=null?ce:{string:"red"})}}}),kt("boxed","{content:math}",{createAtom:a=>new Ma(oe(ie({},a),{body:qe(a.args[0]),framecolor:{string:"black"}}))}),kt("colorbox","{:value}{:text*}",{applyStyle:(a,y,b)=>{var z,ce;return{verbatimBackgroundColor:(z=Ba(y[0]))!=null?z:void 0,backgroundColor:b.toBackgroundColor((ce=y[0])!=null?ce:{string:"yellow"})}}}),kt("fcolorbox","{frame-color:value}{background-color:value}{content:text}",{applyMode:"text",createAtom:a=>{var y,b;return new Ma(oe(ie({},a),{body:qe(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(oe(ie({},y),{defaultMode:"text"})):da(a.command,(b=Ba(a.framecolor))!=null?b:"",(z=Ba(a.backgroundcolor))!=null?z:"",a.bodyToLatex(oe(ie({},y),{defaultMode:"text"})))}}),kt("bbox","[:bbox]{body:auto}",{createAtom:a=>{var y;const b=a.args[0],z=qe(a.args[1]);return b?new Ma(oe(ie({},a),{body:z,padding:b.padding,border:b.border,backgroundcolor:(y=b.backgroundcolor)!=null?y:void 0})):new Ma(oe(ie({},a),{body:z}))},serialize:(a,y)=>{var b,z;if(y.skipStyles)return a.bodyToLatex(y);let ce=a.command;if(Number.isFinite(a.padding)||a.border!==void 0||a.backgroundcolor!==void 0){const Te=[];a.padding&&Te.push((b=Ba(a.padding))!=null?b:""),a.border&&Te.push(`border: ${a.border}`),a.backgroundcolor&&Te.push((z=Ba(a.backgroundcolor))!=null?z:""),ce+=`[${Te.join(",")}]`}return da(ce,a.bodyToLatex(y))}}),kt(["displaystyle","textstyle","scriptstyle","scriptscriptstyle"],"{:rest}",{createAtom:a=>new $r(oe(ie({},a),{body:qe(a.args[0])})),render:(a,y)=>{const b=new zi({parent:y,mathstyle:a.command.slice(1)},a.style),z=$r.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):`{${Ni([a.command,a.bodyToLatex(y)])}}`}),kt(["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]})}),kt("fontseries","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontSeries:(b=y[0])!=null?b:"auto"}}}),kt("fontshape","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontShape:(b=y[0])!=null?b:"auto"}}}),kt("fontfamily","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontFamily:(b=y[0])!=null?b:"roman"}}}),kt("selectfont","",{ifMode:"text",applyStyle:()=>({})}),kt("bf","{:rest}",{applyStyle:()=>({fontSeries:"b",fontShape:"n",fontFamily:"roman"})}),kt(["boldsymbol","bm"],"{:math}",{applyMode:"math",createAtom:a=>new $r(oe(ie({},a),{body:qe(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__boldsymbol"})}),kt("bold","{:math*}",{applyMode:"math",applyStyle:()=>({variantStyle:"bold"})}),kt("bfseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),kt("mdseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),kt("upshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),kt("slshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),kt("scshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),kt("textbf","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),kt("textmd","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),kt("textup","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),kt("textnormal","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n",fontSeries:"m"})}),kt("textsl","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),kt("textit","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"it"})}),kt("textsc","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),kt("textrm","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"roman"})}),kt("textsf","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"sans-serif"})}),kt("texttt","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"monospace"})}),kt("mathbf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"bold"})}),kt("mathit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"italic"})}),kt("mathnormal","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"italic"})}),kt("mathbfit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"bolditalic"})}),kt("mathrm","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"up"})}),kt("mathsf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"sans-serif",variantStyle:"up"})}),kt("mathtt","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"monospace",variantStyle:"up"})}),kt("it","{:rest}",{applyStyle:()=>({fontSeries:"m",fontShape:"it",fontFamily:"roman",variantStyle:"italic"})}),kt("rmfamily","",{applyStyle:()=>({fontFamily:"roman"})}),kt("sffamily","",{applyStyle:()=>({fontFamily:"sans-serif"})}),kt("ttfamily","",{applyStyle:()=>({fontFamily:"monospace"})}),kt(["Bbb","mathbb"],"{:math*}",{applyStyle:()=>({variant:"double-struck",variantStyle:"up"})}),kt(["frak","mathfrak"],"{:math*}",{applyStyle:()=>({variant:"fraktur",variantStyle:"up"})}),kt("mathcal","{:math*}",{applyStyle:()=>({variant:"calligraphic",variantStyle:"up"})}),kt("mathscr","{:math*}",{applyStyle:()=>({variant:"script",variantStyle:"up"})}),kt("mbox","{:text}",{ifMode:"math",createAtom:a=>new $r(oe(ie({},a),{type:"mord",body:qe(a.args[0]),mode:"math"})),serialize:(a,y)=>da("\\mbox",a.bodyToLatex(oe(ie({},y),{defaultMode:"text"})))}),kt("text","{:text}",{ifMode:"math",applyMode:"text"}),kt(["class","htmlClass"],"{name:string}{content:auto}",{createAtom:a=>new $r(oe(ie({},a),{body:qe(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:""})}}),kt(["cssId","htmlId"],"{id:string}{content:auto}",{createAtom:a=>new $r(oe(ie({},a),{body:qe(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}}),kt("htmlData","{data:string}{content:auto}",{createAtom:a=>new $r(oe(ie({},a),{body:qe(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}}),kt(["style","htmlStyle"],"{data:string}{content:auto}",{createAtom:a=>new $r(oe(ie({},a),{body:qe(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}}),kt("em","{:rest}",{createAtom:a=>new $r(oe(ie({},a),{body:qe(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"})}),kt("emph","{:auto}",{createAtom:a=>new $r(oe(ie({},a),{body:qe(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}};kt(["bigl","Bigl","biggl","Biggl","bigr","Bigr","biggr","Biggr","bigm","Bigm","biggm","Biggm","big","Big","bigg","Bigg"],"{:delim}",{createAtom:a=>{var y;return new ap(oe(ie({},a),{delim:(y=a.args[0])!=null?y:".",size:lm[a.command].size,delimType:lm[a.command].mclass}))}}),kt(["hspace","hspace*"],"{width:value}",{createAtom:a=>{var y;return new hd(oe(ie({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),kt(["mkern","kern","mskip","hskip","mspace"],"{width:value}",{createAtom:a=>{var y;return new hd(oe(ie({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),kt("mathchoice","{:math}{:math}{:math}{:math}",{createAtom:a=>new $r(a),render:(a,y)=>{let b=0;const z=y.mathstyle.id;(z===lc||z===Ls)&&(b=1),(z===dl||z===fo)&&(b=2),(z===_o||z===Ja)&&(b=3);const ce=qe(a.args[b]);return $r.createBox(y,ce)},serialize:(a,y)=>`\\mathchoice{${$r.serialize(a.args[0],y)}}{${$r.serialize(a.args[1],y)}}{${$r.serialize(a.args[2],y)}}{${$r.serialize(a.args[3],y)}}`}),kt("mathop","{:auto}",{createAtom:a=>new $r(oe(ie({},a),{type:"mop",body:qe(a.args[0]),limits:"over-under",isFunction:!0,captureSelection:!0})),render:(a,y)=>{var b;let z=$r.createBox(y,a.body);if(a.superscript||a.subscript){const ce=(b=a.subsupPlacement)!=null?b:"auto";z=ce==="over-under"||ce==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:z}):a.attachSupsub(y,{base:z})}return new Rn(a.bind(y,z),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[da(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)),Ni(b)}}),kt(["mathbin","mathrel","mathopen","mathclose","mathpunct","mathord","mathinner"],"{:auto}",{createAtom:a=>new $r(oe(ie({},a),{type:{"\\mathbin":"mbin","\\mathrel":"mrel","\\mathopen":"mopen","\\mathclose":"mclose","\\mathpunct":"mpunct","\\mathord":"mord","\\mathinner":"minner"}[a.command],body:qe(a.args[0])}))}),kt(["operatorname","operatorname*"],"{operator:math}",{createAtom:a=>{const y=qe(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 $r(oe(ie({},a),{type:"mop",body:y,isFunction:!0,limits:a.command==="\\operatorname"?"adjacent":"over-under"}))},render:(a,y)=>{var b;let z=$r.createBox(y,a.body);if(a.superscript||a.subscript){const ce=(b=a.subsupPlacement)!=null?b:"auto";z=ce==="over-under"||ce==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:z}):a.attachSupsub(y,{base:z})}return a.caret&&(z.caret=a.caret),new Rn(a.bind(y,z),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[da(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)),Ni(b)}}),kt(["char","unicode"],"{charcode:value}",{createAtom:a=>new $r(oe(ie({},a),{type:a.mode==="text"?"text":"mord"})),serialize:a=>{var y;return`${a.command}${Ba((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)}}),kt("rule","[raise:value]{width:value}{thickness:value}",{createAtom:a=>new $r(a),render:(a,y)=>{var b,z,ce;const Te=new zi({parent:y,mathstyle:"textstyle"},a.style),Fe=Te.toEm((b=a.args[0])!=null?b:{dimension:0}),rt=Te.toEm((z=a.args[1])!=null?z:{dimension:10}),ct=Te.toEm((ce=a.args[2])!=null?ce:{dimension:10}),mt=new Rn(null,{classes:"rule",type:"ord"});return mt.width=rt,mt.height=ct+Fe,mt.depth=-Fe,mt.setStyle("border-right-width",rt,"em"),mt.setStyle("border-top-width",ct,"em"),mt.setStyle("border-color",a.style.color),mt.setStyle("vertical-align",Fe,"em"),a.isSelected&&mt.setStyle("opacity","50%"),a.bind(Te,mt),a.caret&&(mt.caret=a.caret),mt.wrap(y)},serialize:a=>`\\rule${a.args[0]?`[${Ba(a.args[0])}]`:""}{${Ba(a.args[1])}}{${Ba(a.args[2])}}`}),kt(["overline","underline"],"{:auto}",{createAtom:a=>new $r(oe(ie({},a),{body:qe(a.args[0])})),render:(a,y)=>{const b=a.command.substring(1),z=new zi({parent:y,mathstyle:"cramp"},a.style),ce=$r.createBox(z,a.body);if(!ce)return null;const Te=z.metrics.defaultRuleThickness/z.scalingFactor,Fe=new Rn(null,{classes:b+"-line"});Fe.height=Te,Fe.maxFontSize=Te*1.125*z.scalingFactor;let rt;return b==="overline"?rt=new ia({shift:0,children:[{box:ce},3*Te,{box:Fe},Te]}):rt=new ia({top:ce.height,children:[Te,{box:Fe},3*Te,{box:ce}]}),a.caret&&(rt.caret=a.caret),new Rn(rt,{classes:b,type:"ignore"})}}),kt("overset","{:auto}{base:auto}",{createAtom:a=>{const y=qe(a.args[1]);return new ts(oe(ie({},a),{above:qe(a.args[0]),body:y,skipBoundary:!1,boxType:Tl(y)}))},serialize:(a,y)=>da(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),kt("underset","{:auto}{base:auto}",{createAtom:a=>{const y=qe(a.args[1]);return new ts(oe(ie({},a),{below:qe(a.args[0]),body:y,skipBoundary:!1,boxType:Tl(y)}))},serialize:(a,y)=>da(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),kt("overunderset","{above:auto}{below:auto}{base:auto}",{createAtom:a=>{const y=qe(a.args[2]);return new ts(oe(ie({},a),{above:qe(a.args[0]),below:qe(a.args[1]),body:y,skipBoundary:!1,boxType:Tl(y)}))},serialize:(a,y)=>da(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),kt(["stackrel","stackbin"],"[below:auto]{above:auto}{base:auto}",{createAtom:a=>new ts(oe(ie({},a),{body:qe(a.args[2]),above:qe(a.args[1]),below:qe(a.args[0]),skipBoundary:!1,boxType:a.command==="\\stackrel"?"rel":"bin"})),serialize:(a,y)=>da(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),kt("smash","[:string]{:auto}",{createAtom:a=>{var y,b,z,ce;return new fd(oe(ie({},a),{body:qe(a.args[1]),smashHeight:(b=(y=a.args[0])==null?void 0:y.includes("t"))!=null?b:!0,smashDepth:(ce=(z=a.args[0])==null?void 0:z.includes("b"))!=null?ce:!0}))}}),kt(["vphantom"],"{:auto}",{createAtom:a=>new fd(oe(ie({},a),{body:qe(a.args[0]),isInvisible:!0,smashWidth:!0}))}),kt(["hphantom"],"{:auto}",{createAtom:a=>new fd(oe(ie({},a),{body:qe(a.args[0]),isInvisible:!0,smashHeight:!0,smashDepth:!0}))}),kt(["phantom"],"{:auto}",{createAtom:a=>new fd(oe(ie({},a),{body:qe(a.args[0]),isInvisible:!0}))}),kt("not","{:math}",{createAtom:a=>{const y=qe(a.args[0]);return y.length===0?new $r(oe(ie({},a),{type:"mrel",value:"\uE020"})):new $r(oe(ie({},a),{body:[new fc(oe(ie({},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{${$r.serialize(b.group,y)}}`:`\\not${$r.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":Tl(qe(a.args[0])),ce=$r.createBox(y,a.body,{type:z});return a.caret&&(ce.caret=a.caret),a.bind(y,ce)}}),kt(["ne","neq"],"",{createAtom:a=>new $r(oe(ie({},a),{type:"mrel",body:[new fc(oe(ie({},a),{body:"\uE020",align:"right",boxType:"rel"})),new $r(oe(ie({},a),{value:"="}))],captureSelection:!0})),serialize:a=>a.command}),kt("rlap","{:auto}",{createAtom:a=>new fc(oe(ie({},a),{body:qe(a.args[0]),align:"right"}))}),kt("llap","{:auto}",{createAtom:a=>new fc(oe(ie({},a),{body:qe(a.args[0]),align:"left"}))}),kt("mathrlap","{:math}",{createAtom:a=>new fc(oe(ie({},a),{body:qe(a.args[0]),align:"left"}))}),kt("mathllap","{:math}",{createAtom:a=>new fc(oe(ie({},a),{body:qe(a.args[0]),align:"left"}))}),kt("raisebox","{:value}{:text}",{createAtom:a=>{var y;return new Ma(oe(ie({},a),{body:qe(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return da("\\raisebox",(b=Ba(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),kt("raise","{:value}{:auto}",{createAtom:a=>{var y;return new Ma(oe(ie({},a),{body:qe(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return da("\\raise",(b=Ba(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),kt("lower","{:value}{:auto}",{createAtom:a=>{var y;return new Ma(oe(ie({},a),{body:qe(a.args[1]),padding:{dimension:0},offset:(y=qo(a.args[0],-1))!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b,z;return da("\\lower",(z=Ba(qo((b=a.offset)!=null?b:{dimension:0},-1)))!=null?z:"0pt",a.bodyToLatex(y))}}),Be("0123456789/@.?!"),Ke(65,90),Ke(97,122),Be([["\\forall",8704],["\\exists",8707],["\\nexists",8708,"mord","ams"],["\\mid",8739,"mrel"],["\\top",8868],["\\bot",8869]]),Be([["\\#",35],["\\&",38],["\\parallelogram",9649],["\\spadesuit",9824],["\\heartsuit",9825],["\\diamondsuit",9826],["\\clubsuit",9827],["\\flat",9837],["\\natural",9838],["\\sharp",9839]]),Be([["\\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]]),Be([["\\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"),Be([["\\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"]]),Be([["\\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"]]),Be([["\\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"),Be([["+",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"),Be([["\\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"),Be([["\\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]]),Be([["=",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"),Be([["\\lnot",172],["\\neg",172],["\\triangle",9651],["\\subsetneq",8842],["\\varsubsetneq",57370],["\\subsetneqq",10955],["\\varsubsetneqq",57367],["\\nsubset",8836],["\\nsupset",8837],["\\nsubseteq",8840],["\\nsupseteq",8841]],"mrel","ams"),Be([["\\wp",8472],["\\aleph",8501]]),Be([["\\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"),Be([["\\ ",160],["~",160]],"space"),kt(["!",",",":",";",">","enskip","enspace","quad","qquad"],"",{createAtom:a=>new hd(a)}),kt("space","",{createAtom:a=>new hd(a)}),Be([["\\colon",58],["\\cdotp",8901],["\\vdots",8942,"mord"],["\\ldotp",46],[",",44],[";",59]],"mpunct"),Be([["\\cdots",8943],["\\ddots",8945],["\\ldots",8230],["\\mathellipsis",8230]],"minner"),Be([["\\/",47],["|",8739,"mord"],["\\imath",305],["\\jmath",567],["\\degree",176],["'",8242],['"',8221]]);var cm="<mo>&#x2061;</mo>",Jf="<mo>&#8290;</mo>";function Qf(a){return a.replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function sa(a,y){return!a||!y.generateID?"":` extid="${a}"`}function Av(a,y,b){var z,ce,Te,Fe,rt,ct,mt,wt,Rt,Gt,nr;let cr=!1;y=y!=null?y:a.atoms.length;let Kr="",Pn="",zr=a.atoms[a.index];const ln=(ce=(z=zr.style)==null?void 0:z.variant)!=null?ce:"",jn=(Fe=(Te=zr.style)==null?void 0:Te.variantStyle)!=null?Fe:"";let wn="";if(ln||jn){const hi=dt(zr.value,(rt=zr.style)==null?void 0:rt.variant,(ct=zr.style)==null?void 0:ct.variantStyle);if(hi!==zr.value)return a.index+=1,Kr=`<mi${sa(zr.id,b)}>${hi}</mi>`,gl(Kr,a,b)||(a.mathML+=Kr,a.lastType="mi"),!0;wn=(mt={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"}[jn+ln])!=null?mt:"",wn=` mathvariant="${wn}"`}const oi={"\\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(zr.command==="!")return a.index+=1,Kr="<mo>!</mo>",gl(Kr,a,b)||(a.mathML+=Kr,a.lastType="mo"),!0;if(oi[zr.command]){a.index+=1;let hi=`<mi${sa(zr.id,b)}${wn}>${oi[zr.command]}</mi>`;return(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mtext"||a.lastType==="fence")&&(hi=Jf+hi),gl(hi,a,b)||(a.mathML+=hi,a.lastType="mi"),!0}if(zr.command==="\\operatorname")Pn=yu(zr.body),a.index+=1;else if(ln||jn)for(;a.index<y&&(zr.type==="mord"||zr.type==="macro")&&!zr.isDigit()&&ln===((Rt=(wt=zr.style)==null?void 0:wt.variant)!=null?Rt:"")&&jn===((nr=(Gt=zr.style)==null?void 0:Gt.variantStyle)!=null?nr:"");)Pn+=yu([zr]),a.index+=1,zr=a.atoms[a.index];else(zr.type==="mord"||zr.type==="macro")&&!zr.isDigit()&&(Pn+=yu([zr]),a.index+=1);if(Pn.length>0){cr=!0,Kr=`<mi${wn}>${Pn}</mi>`;const hi=a.lastType;Kr.endsWith(">f</mi>")||Kr.endsWith(">g</mi>")?(Kr+=cm,a.lastType="applyfunction"):a.lastType=/^<mo>(.*)<\/mo>$/.test(Kr)?"mo":"mi",gl(Kr,a,b)||((hi==="mi"||hi==="mn"||hi==="mtext"||hi==="fence")&&(Kr=Jf+Kr),a.mathML+=Kr)}return cr}function Mv(a){return a.index<a.atoms.length&&a.atoms[a.index].superscript&&a.atoms[a.index].type==="subsup"}function kv(a){let y=-1,b=a.index,z=!1,ce=!1;for(;b<a.atoms.length&&!z&&!ce;){const Te=a.atoms[b];z=!Te.isDigit(),ce=!z&&Te.superscript!==void 0,b++}return ce&&(y=b-1),y}function gl(a,y,b){var z;let ce=y.atoms[y.index-1];if(!ce)return!1;if(!ce.superscript&&!ce.subscript)if(((z=y.atoms[y.index])==null?void 0:z.type)==="subsup")ce=y.atoms[y.index],y.index+=1;else return!1;const Te=y.lastType;y.lastType="";const Fe=Yi(ce.superscript,b);y.lastType="";const rt=Yi(ce.subscript,b);if(y.lastType=Te,!Fe&&!rt)return!1;let ct="";return Fe&&rt?ct=`<msubsup>${a}${rt}${Fe}</msubsup>`:Fe?ct=`<msup>${a}${Fe}</msup>`:rt&&(ct=`<msub>${a}${rt}</msub>`),y.mathML+=ct,y.lastType="",!0}function Tv(a,y,b){y=y!=null?y:a.atoms.length;const z=a.index;let ce="";for(;a.index<y&&a.atoms[a.index].mode==="text";)ce+=a.atoms[a.index].value?a.atoms[a.index].value:" ",a.index+=1;return ce.length>0?(a.mathML+=`<mtext ${sa(a.atoms[z].id,b)}>${ce}</mtext>`,a.lastType="mtext",!0):!1}function Ov(a,y,b){y=y!=null?y:a.atoms.length;const z=a.index;let ce="",Te=kv(a);for(Te>=0&&Te<y&&(y=Te);a.index<y&&a.atoms[a.index].isDigit();)ce+=a.atoms[a.index].asDigit(),a.index+=1;return ce.length<=0?!1:(ce="<mn"+sa(a.atoms[z].id,b)+">"+ce+"</mn>",Te<0&&Mv(a)&&(Te=a.index,a.index+=1),gl(ce,a,b)||(a.mathML+=ce,a.lastType="mn"),!0)}function Dv(a,y,b){let z=!1;y=y!=null?y:a.atoms.length;let ce="",Te="";if(a.index<y&&a.atoms[a.index].type==="mopen"){let Fe=!1,rt=0;const ct=a.index;let mt=-1,wt=ct+1;for(;wt<y&&!Fe;)a.atoms[wt].type==="mopen"?rt+=1:a.atoms[wt].type==="mclose"&&(rt-=1),rt===-1&&(Fe=!0,mt=wt),wt+=1;Fe&&(ce="<mrow>",ce+=Cc(a.atoms[ct],b),ce+=Yi(a.atoms,b,ct+1,mt),ce+=Cc(a.atoms[mt],b),ce+="</mrow>",a.index=mt+1,(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mfrac"||a.lastType==="fence")&&(a.mathML+=Jf),gl(ce,a,b)&&(z=!0,a.lastType="",ce=""),Te="fence")}return ce.length>0&&(z=!0,a.mathML+=ce,a.lastType=Te),z}function Iv(a,y,b){let z=!1;y=y!=null?y:a.atoms.length;let ce="",Te="";const Fe=a.atoms[a.index];if(!Fe)return!1;const rt={"\\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(rt[Fe.command]){a.index+=1;const ct=`<mo${sa(Fe.id,b)}>${rt[Fe.command]}</mo>`;return gl(ct,a,b)||(a.mathML+=ct,a.lastType="mo"),!0}if(a.index<y&&(Fe.type==="mbin"||Fe.type==="mrel"))ce+=Uh(a.atoms[a.index],b),a.index+=1,Te="mo";else if(a.index<y&&(Fe.type==="mop"||Fe.type==="operator"||Fe.type==="extensible-symbol")){if(Fe.subsupPlacement==="over-under"&&(Fe.superscript||Fe.subscript)){const ct=Cc(Fe,b);return Fe.superscript&&Fe.subscript?(ce+="<munderover>"+ct,ce+=Yi(Fe.subscript,b),ce+=Yi(Fe.superscript,b),ce+="</munderover>"):Fe.superscript?(ce+="<mover>"+ct,ce+=Yi(Fe.superscript,b),ce+="</mover>"):Fe.subscript&&(ce+="<munder>"+ct,ce+=Yi(Fe.subscript,b),ce+="</munder>"),a.mathML+=ce,a.lastType="mo",a.index+=1,!0}{const ct=a.atoms[a.index],mt=ct.value==="\\operatorname",wt=mt?'<mi class="MathML-Unit"'+sa(ct.id,b)+">"+yu(ct.value)+"</mi>":Cc(ct,b);ce+=wt,!mt&&!/^<mo>(.*)<\/mo>$/.test(wt)?(ce+=cm,Te="applyfunction"):Te=mt?"mi":"mo"}(a.lastType==="mi"||a.lastType==="mn")&&!/^<mo>(.*)<\/mo>$/.test(ce)&&(ce=Jf+ce),a.index+=1}return ce.length>0&&(z=!0,gl(ce,a,b)||(a.mathML+=ce,a.lastType=Te)),z}function Yi(a,y,b,z){y!=null||(y={});const ce={atoms:[],index:b!=null?b:0,mathML:"",lastType:""};if(typeof a=="number"||typeof a=="boolean")ce.mathML=a.toString();else if(typeof a=="string")ce.mathML=a;else if(a instanceof $r)ce.mathML=Uh(a,y);else if(Array.isArray(a)){ce.atoms=a;let Te=0;for(z=z||(a?a.length:0);ce.index<z;)if(Tv(ce,z,y)||Ov(ce,z,y)||Av(ce,z,y)||Iv(ce,z,y)||Dv(ce,z,y))Te+=1;else if(ce.index<z){let Fe=Uh(ce.atoms[ce.index],y);ce.lastType==="mn"&&Fe.length>0&&ce.atoms[ce.index].type==="genfrac"&&(Fe="<mo>&#x2064;</mo>"+Fe),ce.atoms[ce.index].type==="genfrac"?ce.lastType="mfrac":ce.lastType="",ce.index+=1,gl(Fe,ce,y)?Te+=1:Fe.length>0&&(ce.mathML+=Fe,Te+=1)}Te>1&&(ce.mathML="<mrow>"+ce.mathML+"</mrow>")}return ce.mathML}function Cc(a,y){let b="";const z=yu(a.value);return z&&(b="<mo"+sa(a.id,y)+">"+z+"</mo>"),b}function yu(a){if(!a)return"";if(typeof a=="string")return Qf(a);if(!Array.isArray(a)&&typeof a.body=="string")return Qf(a.body);let y="";for(const b of a)typeof b.value=="string"&&(y+=b.value);return Qf(y)}function Uh(a,y){var b,z,ce,Te,Fe,rt,ct,mt,wt,Rt,Gt,nr,cr,Kr,Pn,zr,ln,jn,wn,oi,hi,ui;if(a.mode==="text")return`<mi${sa(a.id,y)}>${a.value}</mi>`;const Wi={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"},ta={"\\!":-3/18,"\\ ":6/18,"\\,":3/18,"\\:":4/18,"\\>":4/18,"\\;":5/18,"\\enspace":.5,"\\quad":1,"\\qquad":2,"\\enskip":.5};let Wn="",Go="",Zs,ns,to,Xo,Bo,la;const{command:Ta}=a;if(a.command==="\\error")return`<merror${sa(a.id,y)}>${Yi(a.body,y)}</merror>`;const ro={"\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\lbrack":"[","\\rbrack":"]","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"},Vs={"\\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":Wn=Yi(a.body,y);break;case"array":if((a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(Wn+="<mrow>",a.leftDelim&&a.leftDelim!=="."&&(Wn+="<mo>"+(ro[a.leftDelim]||a.leftDelim)+"</mo>")),Wn+="<mtable",a.colFormat){for(Wn+=' columnalign="',to=0;to<a.colFormat.length;to++)a.colFormat[to].align&&(Wn+={l:"left",c:"center",r:"right"}[a.colFormat[to].align]+" ");Wn+='"'}for(Wn+=">",ns=0;ns<a.array.length;ns++){for(Wn+="<mtr>",Zs=0;Zs<a.array[ns].length;Zs++)Wn+="<mtd>"+Yi(a.array[ns][Zs],y)+"</mtd>";Wn+="</mtr>"}Wn+="</mtable>",(a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(a.rightDelim&&a.rightDelim!=="."&&(Wn+="<mo>"+(ro[a.leftDelim]||a.rightDelim)+"</mo>"),Wn+="</mrow>");break;case"genfrac":(a.leftDelim||a.rightDelim)&&(Wn+="<mrow>"),a.leftDelim&&a.leftDelim!=="."&&(Wn+="<mo"+sa(a.id,y)+">"+(ro[a.leftDelim]||a.leftDelim)+"</mo>"),a.hasBarLine?(Wn+="<mfrac>",Wn+=Yi(a.above,y)||"<mi>&nbsp;</mi>",Wn+=Yi(a.below,y)||"<mi>&nbsp;</mi>",Wn+="</mfrac>"):(Wn+="<mtable"+sa(a.id,y)+">",Wn+="<mtr>"+Yi(a.above,y)+"</mtr>",Wn+="<mtr>"+Yi(a.below,y)+"</mtr>",Wn+="</mtable>"),a.rightDelim&&a.rightDelim!=="."&&(Wn+="<mo"+sa(a.id,y)+">"+(ro[a.rightDelim]||a.rightDelim)+"</mo>"),(a.leftDelim||a.rightDelim)&&(Wn+="</mrow>");break;case"surd":a.hasEmptyBranch("above")?(Wn+="<msqrt"+sa(a.id,y)+">",Wn+=Yi(a.body,y),Wn+="</msqrt>"):(Wn+="<mroot"+sa(a.id,y)+">",Wn+=Yi(a.body,y),Wn+=Yi(a.above,y),Wn+="</mroot>");break;case"leftright":const Gs=a,Xs=Gs.leftDelim;Wn="<mrow>",Xs&&Xs!=="."&&(Wn+=`<mo${sa(a.id,y)}>${(b=ro[Xs])!=null?b:Xs}</mo>`),a.body&&(Wn+=Yi(a.body,y));const Ys=Gs.matchingRightDelim();Ys&&Ys!=="."&&(Wn+=`<mo${sa(a.id,y)}>${(z=ro[Ys])!=null?z:Ys}</mo>`),Wn+="</mrow>";break;case"sizeddelim":case"delim":Wn+=`<mo${sa(a.id,y)}>${ro[a.value]||a.value}</mo>`;break;case"accent":Wn+='<mover accent="true"'+sa(a.id,y)+">",Wn+=Yi(a.body,y),Wn+="<mo>"+(Vs[Ta]||a.accent)+"</mo>",Wn+="</mover>";break;case"line":case"overlap":break;case"overunder":Bo=a.above,Xo=a.below,(a.svgAbove||Bo)&&(a.svgBelow||Xo)?la=a.body:Bo&&Bo.length>0?(la=a.body,(Te=(ce=a.body)==null?void 0:ce[0])!=null&&Te.below?(Xo=a.body[0].below,la=a.body[0].body):((rt=(Fe=a.body)==null?void 0:Fe[0])==null?void 0:rt.type)==="first"&&((mt=(ct=a.body)==null?void 0:ct[1])!=null&&mt.below)&&(Xo=a.body[1].below,la=a.body[1].body)):Xo&&Xo.length>0&&(la=a.body,(Rt=(wt=a.body)==null?void 0:wt[0])!=null&&Rt.above?(Bo=a.body[0].above,la=a.body[0].body):((nr=(Gt=a.body)==null?void 0:Gt[0])==null?void 0:nr.type)==="first"&&((Kr=(cr=a.body)==null?void 0:cr[1])!=null&&Kr.above)&&(Bo=a.body[1].overscript,la=a.body[1].body)),(a.svgAbove||Bo)&&(a.svgBelow||Xo)?(Wn+=`<munderover ${sa(a.id,y)}>`,Wn+=(Pn=Wi[a.svgBody])!=null?Pn:Yi(la,y),Wn+=(zr=Wi[a.svgBelow])!=null?zr:Yi(Xo,y),Wn+=(ln=Wi[a.svgAbove])!=null?ln:Yi(Bo,y),Wn+="</munderover>"):a.svgAbove||Bo?(Wn+=`<mover ${sa(a.id,y)}>`+((jn=Wi[a.svgBody])!=null?jn:Yi(la,y)),Wn+=(wn=Wi[a.svgAbove])!=null?wn:Yi(Bo,y),Wn+="</mover>"):(a.svgBelow||Xo)&&(Wn+=`<munder ${sa(a.id,y)}>`+((oi=Wi[a.svgBody])!=null?oi:Yi(la,y)),Wn+=(hi=Wi[a.svgBelow])!=null?hi:Yi(Xo,y),Wn+="</munder>");break;case"placeholder":Wn+="?";break;case"mord":{Wn=typeof a.value=="string"?a.value:Ta,Ta==="\\char"?Wn="&#x"+("000000"+a.args[0].number.toString(16)).slice(-4)+";":Wn.length>0&&Wn.startsWith("\\")&&(typeof a.value=="string"&&a.value.charCodeAt(0)>255?Wn="&#x"+("000000"+a.value.charCodeAt(0).toString(16)).slice(-4)+";":typeof a.value=="string"?Wn=a.value.charAt(0):(console.error("Did not expect this"),Wn=""));const Ss=/\d/.test(Wn)?"mn":"mi";Wn=`<${Ss}${sa(a.id,y)}>${Qf(Wn)}</${Ss}>`;break}case"mbin":case"mrel":case"minner":Wn=Cc(a,y);break;case"mpunct":Wn='<mo separator="true"'+sa(a.id,y)+">"+Ta+"</mo>";break;case"mop":case"operator":case"extensible-symbol":a.body!=="\u200B"&&(Wn="<mo"+sa(a.id,y)+">",Wn+=Ta==="\\operatorname"?a.body:Ta||a.body,Wn+="</mo>");break;case"box":Wn='<menclose notation="box"',a.backgroundcolor&&(Wn+=' mathbackground="'+a.backgroundcolor+'"'),Wn+=sa(a.id,y)+">"+Yi(a.body,y)+"</menclose>";break;case"spacing":Wn+='<mspace width="'+((ui=ta[Ta])!=null?ui:0)+'em"/>';break;case"enclose":Wn='<menclose notation="';for(const Ss in a.notation)Object.prototype.hasOwnProperty.call(a.notation,Ss)&&a.notation[Ss]&&(Wn+=Go+Ss,Go=" ");Wn+=sa(a.id,y)+'">'+Yi(a.body,y)+"</menclose>";break;case"prompt":Wn='<menclose notation="roundexbox""">'+Yi(a.body,y)+"</menclose>";break;case"space":Wn+="&nbsp;";break;case"subsup":break;case"phantom":break;case"composition":break;case"rule":break;case"chem":break;case"mopen":Wn+=Cc(a,y);break;case"mclose":Wn+=Cc(a,y);break;case"macro":{const Ss=a.command+yu(a.macroArgs);Ss&&(Wn+=`<mo ${sa(a.id,y)}>${Ss}</mo>`)}break;case"latexgroup":Wn+=Yi(a.body,y);break;case"latex":Wn+="<mtext"+sa(a.id,y)+">"+a.value+"</mtext>";break;case"tooltip":Wn+=Yi(a.body,y);break;case"text":Wn+=`<mtext ${sa(a.id,y)}x>${a.value}</mtext>`;break;default:if(a.command==="\\displaystyle")return`<mrow ${sa(a.id,y)} displaystyle="true">${Yi(a.body,y)}</mrow>`;if(a.command==="\\textstyle")return`<mrow ${sa(a.id,y)} displaystyle="false">${Yi(a.body,y)}</mrow>`;console.info("Unexpected element in conversion to MathML:",a)}return Wn}var bu={"\\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"},Zh={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 Bv(a){let y="";return a.startsWith("\\")&&(y=" "+a.replace("\\","")+" "),y}function Td(a){let y=0;if(te(a))for(const b of a)b.type!=="first"&&(y+=1);return y===1}function Lv(a){if(te(a)){for(const y of a)if(y.type!=="first"&&y.id)return y.id.toString()}return""}function um(a){let y="";if(te(a))for(const b of a)b.type!=="first"&&typeof b.value=="string"&&(y+=b.value);return y}function Pv(a){return a?a.map(y=>y.value).join(""):""}function ji(a,y){var b,z,ce,Te,Fe;function rt(wt){return window.MathfieldElement.textToSpeechMarkup?/[a-z]/.test(wt)?` <say-as interpret-as="character">${wt}</say-as>`:/[A-Z]/.test(wt)?`capital <say-as interpret-as="character">${wt.toLowerCase()}</say-as>`:wt:/[a-z]/.test(wt)?" '"+wt.toUpperCase()+"'":/[A-Z]/.test(wt)?" 'capital "+wt.toUpperCase()+"'":wt}function ct(wt){return"<emphasis>"+wt+"</emphasis>"}if(!y)return"";let mt="";if(te(y)){let wt=!1,Rt=!1;for(let Gt=0;Gt<y.length;Gt++)y[Gt].type!=="first"&&(y[Gt].mode!=="text"&&(Rt=!1),Gt<y.length-2&&y[Gt].type==="mopen"&&y[Gt+2].type==="mclose"&&y[Gt+1].type==="mord"?(mt+=" of ",mt+=ct(ji(a,y[Gt+1])),Gt+=2):y[Gt].mode==="text"?Rt?mt+=(b=y[Gt].value)!=null?b:" ":(Rt=!0,mt+=ji("text",y[Gt])):y[Gt].isDigit()?wt?mt+=y[Gt].asDigit():(wt=!0,mt+=ji(a,y[Gt])):(wt=!1,mt+=ji(a,y[Gt])))}else if(y.mode==="text")y.id&&a==="math"&&(mt+='<mark name="'+y.id.toString()+'"/>'),mt+=y.value;else{y.id&&a==="math"&&(mt+='<mark name="'+y.id.toString()+'"/>');let wt="",Rt="",Gt="",nr=!1;const{command:cr}=y;switch(cr){case"\\vec":return"vector "+ji(a,y.body);case"\\acute":return ji(a,y.body)+" acute";case"\\grave":return ji(a,y.body)+" grave";case"\\dot":return"dot over"+ji(a,y.body);case"\\ddot":return"double dot over"+ji(a,y.body);case"\\mathring":return"ring over"+ji(a,y.body);case"\\tilde":case"\\widetilde":return"tilde over"+ji(a,y.body);case"\\bar":return ji(a,y.body)+" bar";case"\\breve":return ji(a,y.body)+" breve";case"\\check":case"\\widecheck":return"check over "+ji(a,y.body);case"\\hat":case"\\widehat":return"hat over"+ji(a,y.body);case"\\overarc":case"\\overparen":case"\\wideparen":return"arc over "+ji(a,y.body);case"\\underarc":case"\\underparen":return"arc under "+ji(a,y.body)}switch(y.type){case"prompt":const Kr=y.body.length>1?'start input . <break time="500ms"/> '+ji(a,y.body)+'. <break time="500ms"/> end input':"blank";mt+=' <break time="300ms"/> '+Kr+'. <break time="700ms"/>'+((z=y.correctness)!=null?z:"")+' . <break time="700ms"/> ';break;case"array":const Pn=y.array,zr=y.environmentName;if(Object.keys(Zh).includes(zr)){mt+=` begin ${Zh[zr]} `;for(let wn=0;wn<Pn.length;wn++){wn>0&&(mt+=","),mt+=` row ${wn+1} `;for(let oi=0;oi<Pn[wn].length;oi++)oi>0&&(mt+=","),mt+=` column ${oi+1}: `,mt+=ji("math",Pn[wn][oi])}mt+=` end ${Zh[zr]} `}break;case"group":cr==="\\ne"?mt+=" not equal ":(cr==="\\not"&&(mt+=" not "),mt+=ji("math",y.body));break;case"root":mt+=ji("math",y.body);break;case"genfrac":if(wt=ji("math",y.above),Rt=ji("math",y.below),Td(y.above)&&Td(y.below)){const oi={"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)];oi?mt=oi:mt+=wt+" over "+Rt}else mt+=' the fraction <break time="150ms"/>'+wt+' over <break time="150ms"/>'+Rt+'.<break time="150ms"/> End fraction.<break time="150ms"/>';break;case"surd":if(Gt=ji("math",y.body),y.hasEmptyBranch("above"))mt+=Td(y.body)?" the square root of "+Gt+" , ":' the square root of <break time="200ms"/>'+Gt+'. <break time="200ms"/> End square root';else{let wn=ji("math",y.above);wn=wn.trim();const oi=wn.replace(/<mark([^/]*)\/>/g,"");oi==="3"?mt+=' the cube root of <break time="200ms"/>'+Gt+'. <break time="200ms"/> End cube root':oi==="n"?mt+=' the nth root of <break time="200ms"/>'+Gt+'. <break time="200ms"/> End root':mt+=' the root with index: <break time="200ms"/>'+wn+', of <break time="200ms"/>'+Gt+'. <break time="200ms"/> End root'}break;case"leftright":{const wn=y;mt+=(ce=wn.leftDelim?bu[wn.leftDelim]:void 0)!=null?ce:wn.leftDelim,mt+=ji("math",y.body),mt+=(Te=wn.rightDelim?bu[wn.rightDelim]:void 0)!=null?Te:wn.rightDelim}break;case"rule":break;case"overunder":break;case"overlap":break;case"macro":const ln=cr.replace(/^\\/g,""),jn=_t()[ln];jn&&(jn!=null&&jn.expand?mt+=ji("math",y.body):mt+=`${ln} `);break;case"placeholder":mt+="placeholder ";break;case"delim":case"sizeddelim":case"mord":case"minner":case"mbin":case"mrel":case"mpunct":case"mopen":case"mclose":{if(cr==="\\mathbin"||cr==="\\mathrel"||cr==="\\mathopen"||cr==="\\mathclose"||cr==="\\mathpunct"||cr==="\\mathord"||cr==="\\mathinner"){mt=ji(a,y.body);break}let wn=y.isDigit()?y.asDigit():y.value,oi=y.command;if((y.type==="delim"||y.type==="sizeddelim")&&(oi=y.value,wn=oi),a==="text")mt+=wn;else{if(y.type==="mbin"&&(mt+='<break time="150ms"/>'),wn){const hi=bu[wn]||(oi?bu[oi.trim()]:"");if(hi)mt+=" "+hi;else{const ui=oi?Bv(oi.trim()):"";mt+=ui||rt(wn)}}else mt+=ji("math",y.body);y.type==="mbin"&&(mt+='<break time="150ms"/>')}break}case"mop":case"operator":case"extensible-symbol":if(y.value!=="\u200B"){const wn=y.command;if(wn==="\\sum")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let oi=ji("math",y.superscript);oi=oi.trim();let hi=ji("math",y.subscript);hi=hi.trim(),mt+=' the summation from <break time="200ms"/>'+hi+'<break time="200ms"/> to <break time="200ms"/>'+oi+'<break time="200ms"/> of <break time="150ms"/>',nr=!0}else if(y.hasEmptyBranch("subscript"))mt+=" the summation of";else{let oi=ji("math",y.subscript);oi=oi.trim(),mt+=' the summation from <break time="200ms"/>'+oi+'<break time="200ms"/> of <break time="150ms"/>',nr=!0}else if(wn==="\\prod")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let oi=ji("math",y.superscript);oi=oi.trim();let hi=ji("math",y.subscript);hi=hi.trim(),mt+=' the product from <break time="200ms"/>'+hi+'<break time="200ms"/> to <break time="200ms"/>'+oi+'<break time="200ms"/> of <break time="150ms"/>',nr=!0}else if(y.hasEmptyBranch("subscript"))mt+=" the product of ";else{let oi=ji("math",y.subscript);oi=oi.trim(),mt+=' the product from <break time="200ms"/>'+oi+'<break time="200ms"/> of <break time="150ms"/>',nr=!0}else if(wn==="\\int")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let oi=ji("math",y.superscript);oi=oi.trim();let hi=ji("math",y.subscript);hi=hi.trim(),mt+=' the integral from <break time="200ms"/>'+ct(hi)+'<break time="200ms"/> to <break time="200ms"/>'+ct(oi)+' <break time="200ms"/> of ',nr=!0}else mt+=' the integral of <break time="200ms"/> ';else if(typeof y.value=="string"){const oi=(Fe=bu[y.value])!=null?Fe:y.command?bu[y.command]:void 0;mt+=oi||" "+y.value}else y.command&&(y.command==="\\mathop"?mt+=ji("math",y.body):y.command==="\\operatorname"?mt+=Pv(y.body):mt+=y.command.startsWith("\\")?" "+y.command.slice(1):" "+y.command)}break;case"enclose":Gt=ji("math",y.body),mt+=" crossed out "+Gt+". End crossed out.";break;case"space":case"spacing":break}if(!nr&&!y.hasEmptyBranch("superscript")){let Kr=ji(a,y.superscript);Kr=Kr.trim();const Pn=Kr.replace(/<[^>]*>/g,"");if(Td(y.superscript)){if(a==="math"){const zr=Lv(y.superscript);zr&&(mt+='<mark name="'+zr+'"/>')}Pn==="\u2032"?mt+=" prime ":Pn==="2"?mt+=" squared ":Pn==="3"?mt+=" cubed ":Number.isNaN(Number.parseInt(Pn))?mt+=" to the "+Kr+"; ":mt+=' to the <say-as interpret-as="ordinal">'+Pn+"</say-as> power; "}else Number.isNaN(Number.parseInt(Pn))?mt+=" raised to the "+Kr+"; ":mt+=' raised to the <say-as interpret-as="ordinal">'+Pn+"</say-as> power; "}if(!nr&&!y.hasEmptyBranch("subscript")){let Kr=ji("math",y.subscript);Kr=Kr.trim(),mt+=Td(y.subscript)?" sub "+Kr:" subscript "+Kr+". End subscript. "}}return mt}function xu(a){var y,b;if(window.MathfieldElement.textToSpeechRules==="sre"&&("sre"in window||"SRE"in window)){const ce=Yi(a);if(ce){window.MathfieldElement.textToSpeechMarkup&&(window.MathfieldElement.textToSpeechRulesOptions=(y=window.MathfieldElement.textToSpeechRulesOptions)!=null?y:{},window.MathfieldElement.textToSpeechRulesOptions=oe(ie({},window.MathfieldElement.textToSpeechRulesOptions),{markup:window.MathfieldElement.textToSpeechMarkup}),window.MathfieldElement.textToSpeechRulesOptions.markup==="ssml"&&(window.MathfieldElement.textToSpeechRulesOptions=oe(ie({},window.MathfieldElement.textToSpeechRulesOptions),{markup:"ssml_step"})),window.MathfieldElement.textToSpeechRulesOptions=oe(ie({},window.MathfieldElement.textToSpeechRulesOptions),{rate:window.MathfieldElement.speechEngineRate}));const Te=(b=window.SRE)!=null?b:window.sre.System.getInstance();window.MathfieldElement.textToSpeechRulesOptions&&Te.setupEngine(window.MathfieldElement.textToSpeechRulesOptions);let Fe="";try{Fe=Te.toSpeech(ce)}catch(rt){console.error("MathLive 0.98.5: `SRE.toSpeech()` runtime error",rt)}return Fe}return""}let z=ji("math",a);if(window.MathfieldElement.textToSpeechMarkup==="ssml"){let ce="";window.MathfieldElement.speechEngineRate&&(ce='<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>'+ce+"<p><s>"+z+"</s></p>"+(ce?"</prosody>":"")+"</amazon:auto-breaths></speak>"}else window.MathfieldElement.textToSpeechMarkup==="mac"&&we()==="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 Od={"\\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"},Dd={"\\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 Rv(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 ka(a){var y,b,z,ce,Te,Fe,rt,ct,mt,wt,Rt,Gt,nr;if(!a)return"";if(te(a)){if(a.length===0)return"";if(a[0].mode==="latex")return a.map(ka).join("");if(a[0].mode==="text"){let jn=0,wn="";for(;((y=a[jn])==null?void 0:y.mode)==="text";)wn+=a[jn].body?ka(a[jn].body):a[jn].value,jn++;return`"${wn}" ${ka(a.slice(jn))}`}let zr=0;const ln=[];for(;a[zr]&&a[zr].mode==="math";){let jn="";for(;a[zr]&&a[zr].type==="mord"&&/\d/.test(a[zr].value);)jn+=a[zr++].value;jn?ln.push(jn):ln.push(ka(a[zr++]))}return ln.push(ka(a.slice(zr))),Rv(ln)}if(a.mode==="text")return`"${a.value}"`;let cr="";const{command:Kr}=a;let Pn;if(Kr==="\\placeholder")return`(${ka(a.body)})`;switch(a.type){case"accent":const zr={"\\vec":"vec","\\dot":"dot","\\ddot":"ddot","\\bar":"bar","\\hat":"hat","\\acute":"acute;","\\grave":"grave","\\tilde":"tilde","\\breve":"breave","\\check":"check"}[Kr];cr=`${zr!=null?zr:""} ${ka(a.body)} `;break;case"first":return"";case"latexgroup":return a.body.map(ui=>ui.value).join("");case"group":case"root":cr=(b=Od[Kr])!=null?b:ka(a.body);break;case"genfrac":{const ui=a;(ui.leftDelim||ui.rightDelim)&&(cr=ui.leftDelim==="."||!ui.leftDelim?"{:":ui.leftDelim),ui.hasBarLine?(cr+="(",cr+=ka(ui.above),cr+=")/(",cr+=ka(ui.below),cr+=")"):(cr+="("+ka(ui.above)+"),",cr+="("+ka(ui.below)+")"),(ui.leftDelim||ui.rightDelim)&&(cr+=ui.rightDelim==="."||!ui.rightDelim?"{:":ui.rightDelim)}break;case"surd":cr+=a.hasEmptyBranch("above")?"sqrt("+ka(a.body)+")":"root("+ka(a.above)+")("+ka(a.body)+")";break;case"latex":cr=a.value;break;case"leftright":{const ui=a,Wi=ui.leftDelim;cr+=Wi==="."||!Wi?"{:":Wi,cr+=ka(ui.body);const ta=ui.matchingRightDelim();cr+=ta==="."||!ta?":}":ta}break;case"sizeddelim":case"delim":cr=a.value;break;case"overlap":break;case"overunder":break;case"mord":cr=(ce=(z=Od[Kr])!=null?z:Kr)!=null?ce:typeof a.value=="string"?a.value:"",cr.startsWith("\\")&&(cr+=" "),Pn=Kr?Kr.match(/{?\\char"([\dabcdefABCDEF]+)}?/):null,Pn?cr=String.fromCodePoint(Number.parseInt("0x"+Pn[1])):cr.length>0&&cr.startsWith("\\")&&(cr=typeof a.value=="string"?a.value.charAt(0):a.command),cr=Nv(cr,a.style);break;case"mbin":case"mrel":case"minner":cr=(Fe=(Te=Od[Kr])!=null?Te:Dd[Kr])!=null?Fe:a.value;break;case"mopen":case"mclose":cr=a.value;break;case"mpunct":cr=(rt=Dd[Kr])!=null?rt:Kr;break;case"mop":case"operator":case"extensible-symbol":a.value!=="\u200B"&&(Dd[Kr]?cr=Dd[Kr]:cr=Kr==="\\operatorname"?ka(a.body):(ct=a.value)!=null?ct:Kr,cr+=" ");break;case"array":const ln=a.array,jn=a.environmentName,wn=(mt={bmatrix:["[","]"],"bmatrix*":["[","]"]}[jn])!=null?mt:["(",")"],oi=[];for(const ui of ln){const Wi=[];for(const ta of ui)Wi.push(wn[0]+ka(ta)+wn[1]);oi.push(Wi.join(","))}const hi=(wt={bmatrix:["[","]"],"bmatrix*":["[","]"],cases:["{",":}"]}[jn])!=null?wt:["(",")"];cr=hi[0]+oi.join(",")+hi[1];break;case"box":break;case"spacing":cr=(Rt=Od[Kr])!=null?Rt:" ";break;case"enclose":cr="("+ka(a.body)+")";break;case"space":cr=" ";break;case"subsup":cr="";break;case"macro":cr=(nr=(Gt=Od[Kr])!=null?Gt:Dd[Kr])!=null?nr:ka(a.body);break}if(!a.hasEmptyBranch("subscript")){cr+="_";const zr=ka(a.subscript);cr+=zr.length!==1?`(${zr})`:zr}if(!a.hasEmptyBranch("superscript")){cr+="^";const zr=ka(a.superscript);cr+=zr.length!==1?`(${zr})`:zr}return cr}function Nv(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 eo(a,y){var b,z;y!=null||(y={}),y.mathstyle=(b=y.mathstyle)!=null?b:"displaystyle";const ce=new zi({from:oe(ie({},eu()),{renderPlaceholder:()=>new Rn(160,{maxFontSize:1}),letterShapeStyle:(z=y==null?void 0:y.letterShapeStyle)!=null?z:"tex"}),mathstyle:y.mathstyle}),Fe=new $r({mode:"math",type:"root",body:qa(a,{context:ce,parseMode:"math",mathstyle:y.mathstyle})}).render(ce);return Fe?(Qc(pd(Fe,ce)),$c(Fe,{classes:"ML__latex"}).toMarkup()):""}function Ty(a){return rp(a,{context:eu()})}function _v(a,y={}){return Yi(qa(a,{parseMode:"math",args:()=>"",mathstyle:"displaystyle"}),y)}function jv(a){const y=qa(a,{parseMode:"math",mathstyle:"displaystyle"});return xu(y)}var $f;function Fv(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 ka(new $r({type:"root",body:qa(a,{parseMode:y})}))}function Dy(a){return dc(a,{format:"ascii-math"})[1]}function Vh(a){if(typeof a=="string"){const y=zv(a);if(!y)throw new Error(`Invalid color: ${a}`);return y}return"C"in a?Hv(a):"a"in a?dm(a):a}function wu(a){return a<0?0:a>255?255:Math.round(a)}function zv(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],ce=z*Math.PI/180,Te={L:y,a:b*Math.cos(ce),b:b*Math.sin(ce)};return a.alpha!==void 0&&(Te.alpha=a.alpha),Te}function Kv(a){const[y,b,z]=[a.L,a.a,a.b],ce=Math.sqrt(b*b+z*z),Fe=Math.atan2(z,b)*180/Math.PI,rt={L:y,C:ce,H:Fe};return a.alpha!==void 0&&(rt.alpha=a.alpha),rt}function Xh(a){const[y,b,z]=[a.L,a.a,a.b],ce=Math.pow(.9999999984505198*y+.39633779217376786*b+.2158037580607588*z,3),Te=Math.pow(1.00000000888176*y-.10556134232365635*b-.0638541747717059*z,3),Fe=Math.pow(y*1.000000054672411-.0894841820949657*b-1.2914855378640917*z,3),rt=4.076741661347994*ce-3.307711590408193*Te+.230969928729428*Fe,ct=-1.2684380040921763*ce+2.6097574006633715*Te-.3413193963102197*Fe,mt=-.004196086541837188*ce-.7034186144594493*Te+1.7076147009309444*Fe,wt=Rt=>{const Gt=Math.abs(Rt);return Gt<=.0031308?Rt*12.92:(Math.sign(Rt)||1)*(1.055*Math.pow(Gt,1/2.4)-.055)};return[wt(rt),wt(ct),wt(mt)]}function Yh(a){const[y,b,z]=a;return y>=0&&y<=1&&b>=0&&b<=1&&z>=0&&z<=1}function Jh(a,y){let[b,z,ce]=a;return b=wu(b*255),z=wu(z*255),ce=wu(ce*255),y!==void 0?{r:b,g:z,b:ce,alpha:y}:{r:b,g:z,b:ce}}function dm(a){let[y,b,z]=Xh(a);if(Yh([y,b,z]))return Jh([y,b,z],a.alpha);const ce=Kv(a);if(ce.C=0,[y,b,z]=Xh(Gh(ce)),!Yh([y,b,z]))return Jh([y,b,z],a.alpha);let Te=0,Fe=a.L,rt=(Te+Fe)/2;ce.C=rt;const ct=.36/Math.pow(2,12);for(;Fe-Te>ct;)rt=(Te+Fe)/2,ce.C=rt,[y,b,z]=Xh(Gh(ce)),Yh([y,b,z])?Te=rt:Fe=rt;return Jh([y,b,z],a.alpha)}function Hv(a){return dm(Gh(a))}function fm(a,y){const b=Vh(a),z=Vh(y),ce=.56,Te=.57,Fe=.62,rt=.65,ct=.022,mt=1.414,wt=.1,Rt=5e-4,Gt=1.14,nr=.027,cr=1.14,Kr=.027;function Pn(ui){return ui>=ct?ui:ui+Js(ct-ui,mt)}function zr(ui){return(ui<0?-1:1)*Math.pow(Math.abs(ui),2.4)}const ln=Pn(zr(z.r/255)*.2126729+zr(z.g/255)*.7151522+zr(z.b/255)*.072175),jn=Pn(zr(b.r/255)*.2126729+zr(b.g/255)*.7151522+zr(b.b/255)*.072175);let wn,oi,hi;return Math.abs(jn-ln)<Rt?oi=0:jn>ln?(wn=Js(jn,ce)-Js(ln,Te),oi=wn*Gt):(wn=Js(jn,rt)-Js(ln,Fe),oi=wn*cr),Math.abs(oi)<wt?hi=0:oi>0?hi=oi-Kr:hi=oi+nr,hi*100}function hm(a,y,b){b!=null||(b="#fff"),y!=null||(y="#000");const z=fm(a,b),ce=fm(a,y);return Math.abs(z)>Math.abs(ce)?b:y}function Wv(a){const y=Vh(a);let b=((1<<24)+(wu(y.r)<<16)+(wu(y.g)<<8)+wu(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 ha(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 Uv(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 Zv(a,y){return ha(a).length>0}function Vv(a){return[Qh(a,"double-struck","mathbb","tooltip.blackboard"),Qh(a,"fraktur","mathfrak","tooltip.fraktur"),Qh(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 Gv(a){return[{label:()=>eo(`\\vec{${ha(a)}}`),visible:()=>ha(a).length===1,onMenuSelect:()=>a.insert("\\vec{#@}",{selectionMode:"item"})},{label:()=>eo(`\\overrightarrow{${ha(a)}}`),visible:()=>ha(a).length>0,onMenuSelect:()=>a.insert("\\overrightarrow{#@}",{selectionMode:"item"})},{label:()=>eo(`\\overleftarrow{${ha(a)}}`),visible:()=>ha(a).length>0,onMenuSelect:()=>a.insert("\\overleftarrow{#@}",{selectionMode:"item"})},{label:()=>eo(`\\dot{${ha(a)}}`),visible:()=>ha(a).length===1,onMenuSelect:()=>a.insert("\\dot{#@}",{selectionMode:"item"})},{label:()=>eo(`\\ddot{${ha(a)}}`),visible:()=>ha(a).length===1,onMenuSelect:()=>a.insert("\\ddot{#@}",{selectionMode:"item"})},{label:()=>eo(`\\bar{${ha(a)}}`),visible:()=>ha(a).length===1,onMenuSelect:()=>a.insert("\\bar{#@}",{selectionMode:"item"})},{label:()=>eo(`\\overline{${ha(a)}}`),visible:()=>ha(a).length>0,onMenuSelect:()=>a.insert("\\overline{#@}",{selectionMode:"item"})},{label:()=>eo(`\\overgroup{${ha(a)}}`),visible:()=>ha(a).length>0,onMenuSelect:()=>a.insert("\\overgroup{#@}",{selectionMode:"item"})},{label:()=>eo(`\\overbrace{${ha(a)}}`),visible:()=>ha(a).length>0,onMenuSelect:()=>a.insert("\\overbrace{#@}",{selectionMode:"item"})},{label:()=>eo(`\\underline{${ha(a)}}`),visible:()=>ha(a).length>0,onMenuSelect:()=>a.insert("\\underline{#@}",{selectionMode:"item"})},{label:()=>eo(`\\undergroup{${ha(a)}}`),visible:()=>ha(a).length>0,onMenuSelect:()=>a.insert("\\undergroup{#@}",{selectionMode:"item"})},{label:()=>eo(`\\underbrace{${ha(a)}}`),visible:()=>ha(a).length>0,onMenuSelect:()=>a.insert("\\underbrace{#@}",{selectionMode:"item"})}]}function Xv(a){return[{label:()=>eo(`\\boxed{${a.getValue(a.model.selection)}}}`),onMenuSelect:()=>a.insert("\\boxed{#@}",{selectionMode:"item"})},{label:()=>eo(`\\bbox[5px, border: 2px solid red]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px solid red]{#@}",{selectionMode:"item"})},{label:()=>eo(`\\bbox[5px, border: 2px dashed black]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px dashed black]{#@}",{selectionMode:"item"})}]}function Yv(a){const y=[];for(const b of Object.keys(_e))y.push({class:(Wv(hm(_e[b]))==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${_e[b]} "></span>`,ariaLabel:()=>{var z;return(z=Ae(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 Jv(a){const y=[];for(const b of Object.keys(Me))y.push({class:(hm(Me[b])==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${Me[b]} "></span>`,ariaLabel:()=>{var z;return(z=Ae(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 Qv=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 $v(a){const y=[];for(let b=1;b<=5;b++)for(let z=1;z<=5;z++)y.push({onCreate:(ce,Te)=>new Qv(ce,Te,b,z),label:"\u2610",tooltip:()=>Ae("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 qv(a){return[{label:()=>Ae("menu.array.add row above"),id:"add-row-above",onMenuSelect:()=>a.executeCommand("addRowBefore"),visible:()=>Ec(a)},{label:()=>Ae("menu.array.add row below"),id:"add-row-below",onMenuSelect:()=>a.executeCommand("addRowAfter"),visible:()=>Ec(a)},{label:()=>Ae("menu.array.add column before"),id:"add-column-before",onMenuSelect:()=>a.executeCommand("addColumnBefore"),visible:()=>Ec(a),enabled:()=>{const y=a.model.parentEnvironment;if(!y)return!1;const[b,z]=ty(a);return b<y.maxColumns}},{label:()=>Ae("menu.array.add column after"),id:"add-column-after",onMenuSelect:()=>a.executeCommand("addColumnAfter"),visible:()=>Ec(a)},{type:"divider"},{label:()=>Ae("menu.array.delete row"),id:"delete-row",onMenuSelect:()=>a.executeCommand("removeRow"),visible:()=>Ec(a)},{label:()=>Ae("menu.array.delete column"),id:"delete-column",onMenuSelect:()=>a.executeCommand("removeColumn"),visible:()=>Ec(a)},{type:"divider"},{label:()=>Ae("menu.borders"),visible:()=>(ey(a)||Ec(a))&&a.isSelectionEditable,submenu:[{label:" \u22F1 ",id:"environment-no-border",onMenuSelect:()=>Id(a,"matrix")},{label:"(\u22F1)",id:"environment-parentheses",onMenuSelect:()=>Id(a,"pmatrix")},{label:"[\u22F1]",id:"environment-brackets",onMenuSelect:()=>Id(a,"bmatrix")},{label:"|\u22F1|",id:"environment-bar",onMenuSelect:()=>Id(a,"vmatrix")},{label:"{\u22F1}",id:"environment-braces",onMenuSelect:()=>Id(a,"Bmatrix")}],submenuClass:"border-submenu"},{type:"divider"},{label:()=>Ae("menu.insert matrix"),id:"insert-matrix",visible:()=>a.isSelectionEditable,submenu:$v(a),submenuClass:"insert-matrix-submenu",columnCount:5},{label:()=>Ae("menu.mode"),id:"mode",visible:()=>a.isSelectionEditable&&a.model.selectionIsCollapsed,submenu:[{label:()=>Ae("menu.mode-math"),id:"mode-math",onMenuSelect:()=>{uu(a,"accept-all"),a.executeCommand(["switchMode","math"])},checked:()=>a.model.mode==="math"},{label:()=>Ae("menu.mode-text"),id:"mode-text",onMenuSelect:()=>{uu(a,"accept-all"),a.executeCommand(["switchMode","text"])},checked:()=>a.model.mode==="text"},{label:()=>Ae("menu.mode-latex"),id:"mode-latex",onMenuSelect:()=>a.executeCommand(["switchMode","latex"]),checked:()=>a.model.mode==="latex"}]},{type:"divider"},{label:()=>Ae("menu.font-style"),id:"variant",visible:()=>a.isSelectionEditable,submenu:Vv(a),submenuClass:"variant-submenu"},{label:()=>Ae("menu.color"),id:"color",visible:()=>a.isSelectionEditable,submenu:Jv(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>Ae("menu.background-color"),id:"background-color",visible:()=>a.isSelectionEditable,submenu:Yv(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>Ae("menu.accent"),id:"accent",visible:()=>a.isSelectionEditable,submenu:Gv(a),submenuClass:"variant-submenu"},{label:()=>Ae("menu.decoration"),id:"decoration",visible:()=>a.isSelectionEditable&&ha(a).length>0,submenu:Xv(a),submenuClass:"variant-submenu"},{type:"divider"},{label:()=>Ae("menu.evaluate"),id:"ce-evaluate",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{const y=ry(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:()=>Ae("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?Ae("menu.solve-for",eo(b)):Ae("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],ce=(y=b.solve(z))==null?void 0:y.map(Te=>{var Fe;return(Fe=Te.simplify().latex)!=null?Fe:""});if(!ce){a.model.announce("plonk");return}a.insert(`${z}=${ce.length===1?ce[0]:"\\left\\lbrace"+(ce==null?void 0:ce.join(", "))+"\\right\\rbrace"}`,{insertionMode:"replaceAll",selectionMode:"item"})}},{type:"divider"},{label:()=>Ae("menu.cut"),onMenuSelect:()=>a.executeCommand("cutToClipboard"),visible:()=>!a.options.readOnly&&a.isSelectionEditable,keyboardShortcut:"meta+X"},{label:()=>Ae("menu.copy"),id:"copy",submenu:[{label:()=>Ae("menu.copy-as-latex"),id:"copy-latex",onMenuSelect:()=>Mi.copyToClipboard(a,"latex"),keyboardShortcut:"meta+C"},{label:()=>Ae("menu.copy-as-ascii-math"),id:"copy-ascii-math",onMenuSelect:()=>Mi.copyToClipboard(a,"ascii-math")},{label:()=>Ae("menu.copy-as-mathml"),id:"copy-math-ml",onMenuSelect:()=>Mi.copyToClipboard(a,"math-ml")}]},{label:()=>Ae("menu.paste"),id:"paste",onMenuSelect:()=>a.executeCommand("pasteFromClipboard"),visible:()=>a.hasEditableContent,keyboardShortcut:"meta+V"},{label:()=>Ae("menu.select-all"),id:"select-all",keyboardShortcut:"meta+A",onMenuSelect:()=>a.executeCommand("selectAll")}]}function Ec(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,ce)=>Math.max(z,ce.length),0)]:[0,0]}function Id(a,y){Af(a),a.flushInlineShortcutBuffer(),Lp(a.model,y),Ca(a)}function ry(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 ce=z.evaluate();return ce.isSame(z)&&(ce=z.N()),ce.latex}function Qh(a,y,b,z){return{label:()=>eo(`\\${b}{${ha(a)}}`),tooltip:()=>{var ce;return(ce=Ae(z))!=null?ce:z},visible:()=>Uv(a,y),checked:()=>{var ce;return{some:"mixed",all:!0}[(ce=a.queryStyle({variant:y}))!=null?ce:!1]},onMenuSelect:()=>{a.applyStyle({variant:y},{operation:"toggle"}),a.adoptStyle="none"}}}function $h(a,y,b,z){return{label:()=>eo(`\\${b}{${ha(a)}}`),tooltip:()=>{var ce;return(ce=Ae(z))!=null?ce:z},visible:()=>Zv(a,y),checked:()=>{var ce;return{some:"mixed",all:!0}[(ce=a.queryStyle({variantStyle:y}))!=null?ce:!1]},onMenuSelect:()=>{a.applyStyle({variantStyle:y},{operation:"toggle"}),a.adoptStyle="none"}}}function Su(a,y){return a+xu(y)}Fo({speak:(a,y,b)=>ny(a,y,b)},{target:"mathfield"});function ny(a,y,b){var z,ce;b=b!=null?b:{withHighlighting:!1};const{model:Te}=a;function Fe(wt){let Rt=null;switch(wt){case"all":Rt=Te.root;break;case"selection":Rt=Te.getAtoms(Te.selection);break;case"left":{Rt=Te.getAtoms(Te.offsetOf(Te.at(Te.position).leftSibling),Te.position);break}case"right":{Rt=Te.getAtoms(Te.position,Te.offsetOf(Te.at(Te.position).rightSibling));break}case"group":Rt=Te.getAtoms(Te.getSiblingsRange(Te.position));break;case"parent":{const{parent:Gt}=Te.at(Te.position);Gt!=null&&Gt.parent?Rt=Gt:Rt=Te.root;break}default:Rt=Te.root}return Rt}function rt(wt){let Rt="";switch(wt){case"all":console.log("Internal failure: speak all failed");break;case"selection":Rt="no selection";break;case"left":Rt="at start";break;case"right":Rt="at end";break;case"group":console.log("Internal failure: speak group failed");break;case"parent":Rt="no parent";break;default:console.log('unknown speak_ param value: "'+wt+'"');break}return Rt}const ct=Fe(y);if(ct===null)return(ce=(z=window.MathfieldElement).speakHook)==null||ce.call(z,rt(y)),!1;(b.withHighlighting||window.MathfieldElement.speechEngine==="amazon")&&(window.MathfieldElement.textToSpeechMarkup=window.sre&&window.MathfieldElement.textToSpeechRules==="sre"?"ssml_step":"ssml");const mt=xu(ct);return ue()&&b.withHighlighting?(zl().readAloudMathfield=a,mc(a,{forHighlighting:!0}),window.MathfieldElement.readAloudHook&&window.MathfieldElement.readAloudHook(a.field,mt)):window.MathfieldElement.speakHook&&window.MathfieldElement.speakHook(mt),!1}function iy(a){var y,b;if(!ue()){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"}),ce={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(ce,(Te,Fe)=>{if(Te)console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${Te}`);else if(Fe!=null&&Fe.AudioStream){const rt=new Uint8Array(Fe.AudioStream),ct=new Blob([rt.buffer],{type:"audio/mpeg"}),mt=URL.createObjectURL(ct);new Audio(mt).play().catch(Rt=>console.log(Rt))}else console.log("polly.synthesizeSpeech():",Fe)})}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 ce="";if(y==="plonk")window.MathfieldElement.playSound("plonk"),a.flushInlineShortcutBuffer();else if(y==="delete")ce=Su("deleted: ",z);else if(y==="focus"||y.includes("move"))ce=oy(a.model,b)+(a.model.selectionIsCollapsed?"":"selected: ")+sy(a.model);else if(y==="replacement")ce=Su("",a.model.at(a.model.position));else if(y==="line"){const Te=Su("",a.model.root);a.keyboardDelegate.setAriaLabel(Te)}else ce=z?Su(y+" ",z):y;if(ce){const Te=a.ariaLiveText.textContent.includes("\xA0")?" \u202F ":" \xA0 ";a.ariaLiveText.textContent=ce+Te}}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="",ce=b.parent;const Te=a.at(a.position).parent;for(;ce!==a.root&&ce!==Te;)z+=`out of ${mm(ce)};`,ce=ce.parent;return z}function sy(a){if(!a.selectionIsCollapsed)return Su("",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+=Su("",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 ce={};if((y==null?void 0:y.type)==="undo"&&(ce={inputType:"historyUndo"}),(y==null?void 0:y.type)==="redo"&&(ce={inputType:"historyRedo"}),this.contentWillChange(ce)){const Te=this.silenceNotifications;this.silenceNotifications=!0,this.mode=a.mode,this.root=Nl(a.content),this.selection=a.selection,this.silenceNotifications=Te,this.contentDidChange(ce)}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,ce;const Te=this.normalizeSelection(a,y);if(Te===void 0)throw new TypeError("Invalid selection");if(Te.ranges.length===1&&Te.ranges[0][0]===Te.ranges[0][1]){const wt=Te.ranges[0][0];if(!this.mathfield.dirty&&!((b=this.at(wt))!=null&&b.parentPrompt)&&this.mathfield.hasEditablePrompts){if((z=this.at(wt-1))!=null&&z.parentPrompt){this._anchor=this.normalizeOffset(wt-1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}if((ce=this.at(wt+1))!=null&&ce.parentPrompt){this._anchor=this.normalizeOffset(wt+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=wt,this._position=wt,this._selection=Te;return}const Fe=Qa(Te);Te.direction==="backward"?[this._position,this._anchor]=Fe:[this._anchor,this._position]=Fe;const rt=this.at(Fe[0]+1),ct=this.at(Fe[1]),mt=$r.commonAncestor(rt,ct);(mt==null?void 0:mt.type)==="array"&&rt.parent===mt&&ct.parent===mt?this._selection={ranges:[Fe],direction:Te.direction}:this._selection={ranges:[Fe],direction:Te.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 ao&&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(ru(a)){if(z=y!=null?y:{},a.ranges.length>1)return a.ranges.reduce((mt,wt)=>[...mt,...this.getAtoms(wt,z)],[]);a=a.ranges[0]}let ce,Te;if(Ps(a)){if(ce=a,!Ps(y))return[];Te=y}else[ce,Te]=a,z=y!=null?y:{};if(!Number.isFinite(ce))return[];z.includeChildren===void 0&&(z.includeChildren=!1),ce<0&&(ce=this.lastOffset-ce+1),Te<0&&(Te=this.lastOffset-Te+1);const Fe=Math.min(ce,Te)+1,rt=Math.max(ce,Te);if(!z.includeChildren&&Fe===1&&rt===this.lastOffset)return[this.root];let ct=[];for(let mt=Fe;mt<=rt;mt++){const wt=this.atoms[mt];gm(this,wt,Fe,rt)&&ct.push(wt)}return z.includeChildren||(ct=ct.filter(mt=>{let wt=!1,{parent:Rt}=mt;for(;Rt&&!wt;)wt=gm(this,Rt,Fe,rt),Rt=Rt.parent;return!wt})),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 ce=this.lastOffset;if(b==="forward"){for(let Te=y;Te<=ce;Te++)if(z=this.atoms[Te],a(z))return z;for(let Te=0;Te<y;Te++)if(z=this.atoms[Te],a(z))return z;return}for(let Te=y;Te>=0;Te--)if(z=this.atoms[Te],a(z))return z;for(let Te=ce;Te>y;Te--)if(z=this.atoms[Te],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 $r({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 $r.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 Yi(a);if(b==="spoken")return xu(a);if(b==="spoken-text"){const z=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="";const ce=xu(a);return window.MathfieldElement.textToSpeechMarkup=z,ce}if(b==="spoken-ssml"||b==="spoken-ssml-with-highlighting"){const z=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="ssml";const ce=xu(a);return window.MathfieldElement.textToSpeechMarkup=z,ce}return b==="ascii-math"?ka(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,ce;if(Ps(a)&&Ps(y)?(z=[this.normalizeRange([a,y])],ce=b):tu(a)?(z=[this.normalizeRange(a)],ce=y):ru(a)?(z=a.ranges,ce=y):(z=[this.normalizeRange([0,-1])],ce=a),ce!=null||(ce="latex"),ce==="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 Te=this.getValue({ranges:z},"latex-unstyled");try{const Fe=window.MathfieldElement.computeEngine.parse(Te);return JSON.stringify(Fe.json)}catch(Fe){return JSON.stringify(["Error",`'${Fe.toString()}'`])}}if(ce.startsWith("latex")){const Te={expandMacro:ce==="latex-expanded",skipStyles:ce==="latex-unstyled",skipPlaceholders:ce==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode};return Ni(z.map(Fe=>$r.serialize(this.getAtoms(Fe),Te)))}return z.map(Te=>this.getAtoms(Te).map(Fe=>this.atomToString(Fe,ce)).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,ce]=b,{parent:Te}=this.at(ce);if(Te&&(Te.type==="genfrac"||Te.type==="subsup"))for(;Te!==this.root&&qh(this,Te,[z,ce]);)ce=this.offsetOf(Te),Te=Te.parent;for(Te=this.at(z).parent;Te!==this.root&&qh(this,Te,[z,ce]);)z=this.offsetOf(Te.leftSibling),Te=Te.parent;if(Te=this.at(ce).parent,(Te==null?void 0:Te.type)==="genfrac")for(;Te!==this.root&&qh(this,Te,[z,ce]);)ce=this.offsetOf(Te),console.assert(ce>=0),Te=Te.parent;this._position=this.normalizeOffset(y),this._selection={ranges:[[z,ce]],direction:"none"}})}announce(a,y,b=[]){var z,ce;((ce=(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?ce:!0)&&ay(this.mathfield,a,y,b)}deferNotifications(a,y){const b=this._selection,z=this._anchor,ce=this._position,Te=this.silenceNotifications;this.silenceNotifications=!0;const Fe=this.root.changeCounter;y();const rt=this.root.changeCounter!==Fe,ct=z!==this._anchor||ce!==this._position||uc(this._selection,b)==="different";return this.silenceNotifications=Te,a.content&&rt&&this.contentDidChange({inputType:a.type}),a.selection&&ct&&this.selectionDidChange(),rt||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(Ps(a)){const ce=this.normalizeOffset(a);if(Ps(y)){const Te=this.normalizeOffset(y);z=ce<=Te?{ranges:[[ce,Te]],direction:"none"}:{ranges:[[Te,ce]],direction:"backward"}}else z={ranges:[[ce,ce]],direction:"none"}}else if(tu(a)){const ce=this.normalizeOffset(a[0]),Te=this.normalizeOffset(a[1]);z=ce<=Te?{ranges:[[ce,Te]],direction:"none"}:{ranges:[[Te,ce]],direction:"backward"}}else ru(a)&&(z={ranges:a.ranges.map(ce=>this.normalizeRange(ce)),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(Hs(this.mathfield)),this.silenceNotifications||!this.mathfield.host||!this.mathfield)return;const b=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.host.dispatchEvent(new InputEvent("input",oe(ie({},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(Hs(this.mathfield)),this.silenceNotifications))return;const a=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.onSelectionDidChange(),this.silenceNotifications=a}};function gm(a,y,b,z){const ce=a.offsetOf(y);if(ce<b||ce>z)return!1;if(!y.hasChildren)return!0;const Te=a.offsetOf(y.firstChild);if(Te>=b&&Te<=z){const Fe=a.offsetOf(y.lastChild);if(Fe>=b&&Fe<=z)return!0}return!1}function qh(a,y,b){if(!(y!=null&&y.hasChildren))return!1;const[z,ce]=b,Te=a.offsetOf(y.firstChild),Fe=a.offsetOf(y.lastChild);return Te>=z&&Te<=ce&&Fe>=Te&&Fe<=ce}function Bd(a,y,b,z){var ce,Te,Fe,rt,ct,mt;const wt=b.parent;if(wt&&b instanceof Xi){const Rt=!z&&y==="forward"||z==="body"&&y==="backward";let Gt=Rt?a.offsetOf(b.firstChild):a.offsetOf(b.lastChild);return Rt?b.rightDelim!=="?"&&b.rightDelim!=="."?(b.leftDelim=".",b.isDirty=!0):(wt.addChildrenAfter(b.removeBranch("body"),b),wt.removeChild(b),Gt--):b.leftDelim!=="?"&&b.leftDelim!=="."?(b.rightDelim=".",b.isDirty=!0):(wt.addChildrenAfter(b.removeBranch("body"),b),wt.removeChild(b),Gt--),a.position=Gt,!0}if(wt&&b.type==="surd"){if(y==="forward"&&!z||y==="backward"&&z==="body"){const Rt=b.leftSibling;b.hasChildren&&wt.addChildrenAfter(b.removeBranch("body"),b),wt.removeChild(b),a.position=a.offsetOf(Rt)}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),wt.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(wt&&(b.type==="box"||b.type==="enclose")){const Rt=z&&y==="backward"||!z&&y==="forward"?b.leftSibling:b.lastChild;return wt.addChildrenAfter(b.removeBranch("body"),b),wt.removeChild(b),a.position=a.offsetOf(Rt),!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 Rt=Ld.fractionNavigationOrder==="numerator-denominator"?"above":"below",Gt=Rt==="above"?"below":"above";if(wt&&(y==="forward"&&z===Rt||y==="backward"&&z===Gt)){const nr=b.removeBranch(Rt),cr=b.removeBranch(Gt);return wt.addChildrenAfter([...nr,...cr],b),wt.removeChild(b),a.position=a.offsetOf(nr.length>0?nr[nr.length-1]:cr[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 Rt=y==="forward"?(Fe=(ce=b.superscript)==null?void 0:ce[0])!=null?Fe:(Te=b.subscript)==null?void 0:Te[0]:(mt=(rt=b.subscript)==null?void 0:rt[0].lastSibling)!=null?mt:(ct=b.superscript)==null?void 0:ct[0].lastSibling;return Rt&&(a.position=a.offsetOf(Rt)),!0}return!1}if(!b.hasChildren&&b.type==="subsup"){const Rt=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);return b.parent.removeChild(b),a.position=Rt,!0}if(z==="superscript")if(y==="backward"){const Rt=a.offsetOf(b.firstChild)-1;console.assert(Rt>=0),a.position=Rt}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 Rt=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);b.parent.removeChild(b),a.position=Rt}return!0}if((wt==null?void 0:wt.type)==="genfrac"&&!z&&b.type!=="first"){let Rt=a.offsetOf(b.leftSibling);return wt.removeChild(b),wt.hasEmptyBranch("above")&&wt.hasEmptyBranch("below")?(Rt=a.offsetOf(wt.leftSibling),wt.parent.removeChild(wt),a.announce("delete",void 0,[wt]),a.position=Rt,!0):(a.announce("delete",void 0,[b]),a.position=Rt,!0)}if(y==="backward"&&((wt==null?void 0:wt.command)==="\\ln"||(wt==null?void 0:wt.command)==="\\log")&&b.parentBranch!=="body"){const Rt=a.offsetOf(wt.leftSibling);return wt.parent.removeChild(wt),a.announce("delete",void 0,[wt]),a.position=Rt,!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&&Bd(a,"backward",y))){if(y!=null&&y.isFirstSibling){if(Bd(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])}}):Us(a,Qa(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&&Bd(a,"forward",z))return;if(z){if(a.at(a.position).isLastSibling&&Bd(a,"forward",z.parent,z.parentBranch))return}else{if(z=a.at(a.position),z.isLastSibling&&Bd(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 ce=(y=a.at(a.position))==null?void 0:y.rightSibling;for(;(ce==null?void 0:ce.type)==="subsup";)ce.parent.removeChild(ce),ce=(b=a.at(a.position))==null?void 0:b.rightSibling;a.announce("delete",void 0,[z])}):Us(a,Qa(a.selection),"deleteContentForward")}function Us(a,y,b){const z=a.getAtoms(y);if(z.length>0&&z[0].parent){let ce=z[0].parent.firstChild;ce.type==="first"&&(ce=ce.rightSibling);const Te=z[z.length-1].parent.lastChild;let Fe=z[0];Fe.type==="first"&&(Fe=Fe.rightSibling);const rt=z[z.length-1];if(Fe===ce&&rt===Te){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,mt=z[0].parentBranch==="below"?"above":"below",wt=a.offsetOf(ct.leftSibling);return a.deferNotifications({content:!0,selection:!0,type:b},()=>{var Rt,Gt;const nr=ct.removeBranch(mt);if(nr.length===1&&nr[0].type==="placeholder")(Gt=ct.parent)==null||Gt.removeChild(ct),a.position=Math.max(0,wt);else{const cr=ct.parent.addChildrenAfter(nr,ct);(Rt=ct.parent)==null||Rt.removeChild(ct),a.position=a.offsetOf(cr)}})}}return a.deferNotifications({content:!0,selection:!0,type:b},()=>a.deleteAtoms(y))}Fo({deleteAll:a=>a.contentWillChange({inputType:"deleteContent"})&&Us(a,[0,-1],"deleteContent"),deleteForward:a=>uy(a),deleteBackward:a=>cy(a),deleteNextWord:a=>a.contentWillChange({inputType:"deleteWordForward"})&&Us(a,[a.anchor,Th(a,a.position,"forward")],"deleteWordForward"),deletePreviousWord:a=>a.contentWillChange({inputType:"deleteWordBackward"})&&Us(a,[a.anchor,Th(a,a.position,"backward")],"deleteWordBackward"),deleteToGroupStart:a=>a.contentWillChange({inputType:"deleteSoftLineBackward"})&&Us(a,[a.anchor,a.offsetOf(a.at(a.position).firstSibling)],"deleteSoftLineBackward"),deleteToGroupEnd:a=>a.contentWillChange({inputType:"deleteSoftLineForward"})&&Us(a,[a.anchor,a.offsetOf(a.at(a.position).lastSibling)],"deleteSoftLineForward"),deleteToMathFieldStart:a=>a.contentWillChange({inputType:"deleteHardLineBackward"})&&Us(a,[a.anchor,0],"deleteHardLineBackward"),deleteToMathFieldEnd:a=>a.contentWillChange({inputType:"deleteHardLineForward"})&&Us(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="${Ae("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="${Ae("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,ce;this.options=ie(oe(ie({},Nf()),{macros:_t(),registers:Il()}),Rf(y)),this.eventController=new AbortController;const Te=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 Fe=(z=(b=y.value)!=null?b:this.element.textContent)!=null?z:"";Fe=Fe.trim();const rt=Dp(this.options),ct=new $r({type:"root",mode:rt,body:qa(Fe,{context:this.context})});this.model=new ly(this,rt,ct),this.undoManager=new jg(this.model);const mt=[];if(mt.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>"),mt.push('<span part=container class=ML__container aria-hidden=true style="visibility:hidden">'),mt.push("<span part=content class=ML__content>"),mt.push(Sp(this)),mt.push("</span>"),window.mathVirtualKeyboard&&(mt.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">`),mt.push(dy),mt.push("</div>")),mt.push('<div part=menu-toggle class=ML__menu-toggle role=button data-l10n-tooltip="tooltip.menu">'),mt.push(fy),mt.push("</div>"),mt.push("</span>"),mt.push("<span class=ML__sr-only>"),mt.push("<span role=status aria-live=assertive aria-atomic=true></span>"),mt.push("</span>"),this.element.innerHTML=window.MathfieldElement.createHTML(mt.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=ye.subscribe(()=>ye.update(this.element)),ye.update(this.element),this.field=this.element.querySelector("[part=content]"),this.field.addEventListener("click",Rt=>Rt.stopImmediatePropagation(),{capture:!1,signal:Te}),this.field.addEventListener("wheel",this,{passive:!1,signal:Te}),"PointerEvent"in window?this.field.addEventListener("pointerdown",this,{signal:Te}):this.field.addEventListener("mousedown",this,{signal:Te}),(ce=this.element.querySelector("[part=virtual-keyboard-toggle]"))==null||ce.addEventListener("click",()=>{window.mathVirtualKeyboard.visible?window.mathVirtualKeyboard.hide():(window.mathVirtualKeyboard.show({animate:!0}),window.mathVirtualKeyboard.update(Hs(this)))},{signal:Te}),this._menu=new Cv(qv(this),{host:this.host}),this.field.addEventListener("contextmenu",this,{signal:Te});const wt=this.element.querySelector("[part=menu-toggle]");wt==null||wt.addEventListener("pointerdown",Rt=>{if(Rt.currentTarget!==wt||this._menu.state!=="closed")return;this.element.classList.add("tracking");const Gt=wt.getBoundingClientRect();this._menu.modifiers=pc(Rt),this._menu.show({target:wt,location:{x:Gt.left,y:Gt.bottom},onDismiss:()=>this.element.classList.remove("tracking")}),Rt.preventDefault(),Rt.stopPropagation()},{signal:Te}),(this.model.atoms.length<=1||this.disabled||this.readOnly&&!this.hasEditableContent||this.userSelect==="none")&&(wt.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:Te}),document.addEventListener("scroll",this,{signal:Te}),this.resizeObserver=new ResizeObserver(()=>Ca(this)),this.resizeObserver.observe(this.field),window.mathVirtualKeyboard.addEventListener("virtual-keyboard-toggle",this,{signal:Te}),vd&&!ye.locale.startsWith(vd.locale)&&F0(ye.locale),Vo!=="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(Hs(this)),Xf(this))}disconnectFromVirtualKeyboard(){this.connectedToVirtualKeyboard&&(window.removeEventListener("message",this),window.mathVirtualKeyboard.disconnect(),this.connectedToVirtualKeyboard=!1,Fh())}showMenu(a){var y,b;const z=(b=(y=a==null?void 0:a.location)!=null?y:_s(this.field))!=null?b:void 0,ce=a==null?void 0:a.modifiers,Te=this.element.querySelector("[part=container]");return this._menu.show({target:Te,location:z,modifiers:ce})}get colorMap(){return a=>{var y,b,z;return(z=(b=(y=this.options).colorMap)==null?void 0:b.call(y,a))!=null?z:Ne(a)}}get backgroundColorMap(){return a=>{var y,b,z,ce,Te,Fe;return(Fe=(Te=(b=(y=this.options).backgroundColorMap)==null?void 0:b.call(y,a))!=null?Te:(ce=(z=this.options).colorMap)==null?void 0:ce.call(z,a))!=null?Fe:je(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=$r.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=ie({},a[0].style);for(const b of a)for(const[z,ce]of Object.entries(b.style))y[z]!==ce&&delete y[z];return y}queryStyle(a){const y=Ph(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 mt=this.queryStyle({[ct]:y[ct]});if(mt==="none")return"none";if(mt==="some")return"some"}return"all"}const z=Object.keys(y)[0],ce=y[z];if(this.model.selectionIsCollapsed)return this.effectiveStyle[z]===ce?"all":"none";const Te=this.model.getAtoms(this.model.selection,{includeChildren:!0});let Fe=Te.length;if(Fe===0)return"none";let rt=0;for(const ct of Te){if(ct.type==="first"){Fe-=1;continue}ct.style[z]===ce&&(rt+=1)}return rt===0?"none":rt===Fe?"all":"some"}get keybindings(){var a,y;if(this._keybindings)return this._keybindings;const[b,z]=X0(this.options.keybindings,(a=yd())!=null?a:z0());return((y=yd())==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=ie(ie({},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=$r.serialize([this.model.root],{expandMacro:!1,defaultMode:this.options.defaultMode});("macros"in a||this.model.getValue()!==z)&&Mi.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)&&Ca(this)}getOptions(a){return vc(this.options,a)}getOption(a){return vc(this.options,a)}handleEvent(a){return Kl(this,null,function*(){var y;if(Wo(this)){if(Eh(a)){if(!cd(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(fu(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"&&Zp(this,a);break;case"pointerdown":this.userSelect!=="none"&&(Zp(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(()=>Wo(this)&&this.onGeometryChange());break;case"scroll":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>Wo(this)&&this.onGeometryChange());break;case"wheel":this.onWheel(a);break;default:console.warn("Unexpected event type",a.type)}}})}dispose(){if(!Wo(this))return;ye.unsubscribe(this._l10Subscription),this.keyboardDelegate.dispose(),this.keyboardDelegate=void 0,this.eventController.abort(),this.eventController=void 0,this.resizeObserver.disconnect(),window.mathVirtualKeyboard.removeEventListener("virtual-keyboard-toggle",this),this.disconnectFromVirtualKeyboard(),this.model.dispose();const a=this.element;delete a.mathfield,this.element=void 0,this.host=void 0,this.field=void 0,this.ariaLiveText=void 0,Yg(),eg(),gv()}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 fu(a)==="virtual-keyboard"?(this.focus({preventScroll:!0}),window.mathVirtualKeyboard.executeCommand(a),requestAnimationFrame(()=>window.mathVirtualKeyboard.update(Hs(this))),!1):sg(this,a)}get errors(){return rp(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();Mi.insert(this.model,a,y)&&(Ca(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,ce=this.host.getBoundingClientRect();ce.bottom>z.top&&((a=window.document.scrollingElement)==null||a.scrollBy(0,ce.bottom-z.top+8))}}this.dirty&&mc(this,{interactive:!0});const y=this.field.getBoundingClientRect();let b=null;if(this.model.selectionIsCollapsed)b=_s(this.field);else{const z=ld(this);if(z.length>0){let ce=-1/0,Te=-1/0;for(const Fe of z)Fe.right>ce&&(ce=Fe.right),Fe.top<Te&&(Te=Fe.top);b={x:ce+y.left-this.field.scrollLeft,y:Te+y.top-this.field.scrollTop,height:0}}}if(this.host&&b){const z=this.host.getBoundingClientRect(),ce=b.y;let Te=this.host.scrollTop;ce<z.top?Te=ce-z.top+this.host.scrollTop:ce>z.bottom&&(Te=ce-z.bottom+this.host.scrollTop+b.height),this.host.scroll({top:Te,left:0})}if(b){const z=b.x-window.scrollX;let ce=this.field.scrollLeft;z<y.left?ce=z-y.left+this.field.scrollLeft-20:z>y.right&&(ce=z-y.right+this.field.scrollLeft+20),this.field.scroll({top:this.field.scrollTop,left:ce})}}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&&he()&&navigator.vibrate(Cp),window.MathfieldElement.playSound("keypress")),a==="\\\\"?Ip(this.model):a==="&"?Bp(this.model):this.model.selectionIsCollapsed?Mi.insert(this.model,a,ie({style:this.model.at(this.model.position).computedStyle},y)):Mi.insert(this.model,a,y),this.snapshot(`insert-${this.model.at(this.model.position).type}`),Ca(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 ce=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=ce;return}const Te=this.model.mode,{model:Fe}=this;Fe.deferNotifications({content:!!b||!!y,selection:!0,type:"insertText"},()=>{let rt=!1;if(this.flushInlineShortcutBuffer(),this.stopCoalescingUndo(),y&&a!=="latex"){const ct=qa(y,{context:this.context,parseMode:a});Fe.collapseSelection("forward");const mt=Fe.at(Fe.position);Fe.position=Fe.offsetOf(mt.parent.addChildrenAfter(ct,mt)),rt=!0}if(this.model.mode=a,a==="latex"){let ct=Fe.selectionIsCollapsed;uu(this,"accept");let mt,wt=Fe.at(Fe.position);if(ct)mt="\\";else{const Gt=Qa(Fe.selection);mt=this.model.getValue(Gt,"latex");const nr=this.model.extractAtoms(Gt);nr.length===1&&nr[0].type==="placeholder"&&(mt=y,ct=!0),wt=Fe.at(Gt[0])}const Rt=new dd(mt);wt.parent.addChildAfter(Rt,wt),ct?Fe.position=Fe.offsetOf(Rt.lastChild):Fe.setSelection(Fe.offsetOf(Rt.firstChild),Fe.offsetOf(Rt.lastChild))}else bd(Fe).forEach(ct=>{ct.isError=!1});if(b){const ct=qa(b,{context:this.context,parseMode:Te});Fe.collapseSelection("forward");const mt=Fe.at(Fe.position);Fe.position=Fe.offsetOf(mt.parent.addChildrenAfter(ct,mt)),rt=!0}return Ca(this),this.undoManager.snapshot(a==="latex"?"insert-latex":"insert"),rt}),this.model.mode=a,window.mathVirtualKeyboard.update(Hs(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 ce={operation:"set",silenceNotifications:!1};tu(y)?ce.range=y:(y.operation==="toggle"&&(ce.operation="toggle"),ce.range=y.range,ce.silenceNotifications=(b=y.silenceNotifications)!=null?b:!1);const Te=Ph(this,a),Fe=(z=ce.operation)!=null?z:"set";if(ce.range===void 0&&this.model.selectionIsCollapsed){if(Fe==="set"){this.defaultStyle=ie(ie({},this.defaultStyle),Te);return}const rt=ie({},this.defaultStyle);for(const ct of Object.keys(Te))rt[ct]===Te[ct]?(ct==="color"&&delete rt.verbatimColor,ct==="backgroundColor"&&delete rt.verbatimBackgroundColor,delete rt[ct]):rt[ct]=Te[ct];this.defaultStyle=rt;return}this.model.deferNotifications({content:!ce.silenceNotifications,type:"insertText"},()=>{if(ce.range===void 0)for(const rt of this.model.selection.ranges)Mh(this.model,rt,Te,{operation:Fe});else Mh(this.model,ce.range,Te,{operation:Fe})}),Ca(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=_s(this.field);return a?{x:a.x,y:a.y}:null}setCaretPoint(a,y){const b=kd(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),Ca(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),ce=this.model.offsetOf(b.lastChild);return this.model.getValue(z,ce,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 ce=this.model.getBranchRange(this.model.offsetOf(z),"body");this.model.setSelection(ce),this.insert(y,oe(ie({},b),{insertionMode:"replaceSelection"}))}b!=null&&b.silenceNotifications&&(this.valueOnFocus=this.getValue()),Ca(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),Ca(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(Hs(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(Hs(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(Hs(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),ce=(a=z.mode)!=null?a:Dp(this.options);this.model.mode!==ce&&(this.model.mode==="latex"?(uu(this,"accept",{mode:ce}),b.position=b.offsetOf(z)):this.switchMode(ce))}(y=this.host)==null||y.dispatchEvent(new Event("selection-change",{bubbles:!0,composed:!0})),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Hs(this)),Xf(this)}onContentWillChange(a){var y,b,z;return(z=(b=this.host)==null?void 0:b.dispatchEvent(new InputEvent("beforeinput",oe(ie({},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(),mc(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="",du(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})),Ca(this),this.focusBlurInProgress=!1,Fh();const z=new AbortController,ce=z.signal;document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&document.addEventListener("visibilitychange",()=>{Wo(this)&&document.visibilityState==="visible"&&this.focus({preventScroll:!0})},{once:!0,signal:ce})},{once:!0,signal:ce}),setTimeout(()=>z.abort(),100)}onInput(a){Ih(this,a)}onKeystroke(a){return Hp(this,a)}onCompositionStart(a){this.model.deleteAtoms(Qa(this.model.selection));const y=_s(this.field);y&&requestAnimationFrame(()=>{mc(this),this.keyboardDelegate.moveTo(y.x,y.y-y.height)})}onCompositionUpdate(a){Og(this.model,a),Ca(this)}onCompositionEnd(a){Dg(this.model),Ih(this,a,{simulateKeystroke:!0})}onCut(a){if(!this.isSelectionEditable){this.model.announce("plonk");return}this.model.contentWillChange({inputType:"deleteByCut"})&&(this.stopCoalescingUndo(),Mi.onCopy(this,a),Us(this.model,Qa(this.model.selection),"deleteByCut"),this.snapshot("cut"),Ca(this))}onCopy(a){Mi.onCopy(this,a)}onPaste(a){let y=this.isSelectionEditable;return y&&(y=Mi.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=>Nt(b,this.options.macros),atomIdsSettings:{seed:"random",groupNumbers:!1}}}};function vm(a){if(a&&(a.classList.remove("ML__highlight"),a.children))for(const y of a.children)vm(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(!ue())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"}),ce={OutputFormat:"json",VoiceId:(b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna",Engine:"standard",Text:y,TextType:"ssml",SpeechMarkTypes:["ssml"]};zl().readAloudElement=a,z.synthesizeSpeech(ce,(Te,Fe)=>{if(Te){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${Te}`);return}if(!(Fe!=null&&Fe.AudioStream)){console.log("polly.synthesizeSpeech():",Fe);return}const rt=new TextDecoder("utf-8").decode(new Uint8Array(Fe.AudioStream));zl().readAloudMarks=rt.split(`
`).map(ct=>ct?JSON.parse(ct):{}),zl().readAloudTokens=[];for(const ct of zl().readAloudMarks)ct.value&&zl().readAloudTokens.push(ct.value);zl().readAloudCurrentMark="",ce.OutputFormat="mp3",ce.SpeechMarkTypes=[],z.synthesizeSpeech(ce,(ct,mt)=>{if(ct){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech("${y}") error:${ct}`);return}if(!(mt!=null&&mt.AudioStream))return;const wt=new Uint8Array(mt.AudioStream),Rt=new Blob([wt.buffer],{type:"audio/mpeg"}),Gt=URL.createObjectURL(Rt),nr=zl();nr.readAloudAudio?nr.readAloudAudio.pause():(nr.readAloudAudio=new Audio,nr.readAloudAudio.addEventListener("ended",()=>{const cr=nr.readAloudMathfield;nr.readAloudStatus="ended",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),cr?(mc(cr),nr.readAloudElement=null,nr.readAloudMathfield=null,nr.readAloudTokens=[],nr.readAloudMarks=[],nr.readAloudCurrentMark=""):vm(nr.readAloudElement)}),nr.readAloudAudio.addEventListener("timeupdate",()=>{let cr="";const Kr=nr.readAloudAudio.currentTime*1e3+100;for(const Pn of nr.readAloudMarks)Pn.time<Kr&&(cr=Pn.value);nr.readAloudCurrentMark!==cr&&(nr.readAloudCurrentToken=cr,cr&&cr===nr.readAloudFinalToken?nr.readAloudAudio.pause():(nr.readAloudCurrentMark=cr,ep(nr.readAloudElement,nr.readAloudCurrentMark)))})),nr.readAloudAudio.src=Gt,nr.readAloudStatus="playing",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),nr.readAloudAudio.play()})})}ue()||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 Vi=new WeakMap,my=.5,Fl={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 = ..."},oo=class Ac extends HTMLElement{static get formAssociated(){return Cu()}static get optionsAttributes(){return{"default-mode":"string","letter-shape-style":"string","min-font-scale":"number","popover-policy":"string","math-mode-space":"string","read-only":"boolean","remove-extraneous-parentheses":"on/off","smart-fence":"on/off","smart-mode":"on/off","smart-superscript":"on/off","inline-shortcut-timeout":"string","script-depth":"string",placeholder:"string","virtual-keyboard-target-origin":"string","math-virtual-keyboard-policy":"string"}}static get observedAttributes(){return[...Object.keys(this.optionsAttributes),"contenteditable","disabled","readonly","read-only"]}static get fontsDirectory(){return this._fontsDirectory}static set fontsDirectory(y){y!==this._fontsDirectory&&(this._fontsDirectory=y,ng())}get fontsDirectory(){throw new Error("Use MathfieldElement.fontsDirectory instead")}set fontsDirectory(y){throw new Error("Use MathfieldElement.fontsDirectory instead")}static get soundsDirectory(){return this._soundsDirectory}static set soundsDirectory(y){this._soundsDirectory=y,this.audioBuffers={}}get soundsDirectory(){throw new Error("Use MathfieldElement.soundsDirectory instead")}set soundsDirectory(y){throw new Error("Use MathfieldElement.soundsDirectory instead")}static get keypressSound(){return this._keypressSound}static set keypressSound(y){var b,z,ce;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:(ce=y.delete)!=null?ce: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 ye.locale}static set locale(y){y==="auto"&&(y=navigator.language.slice(0,5)),ye.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 ye.strings}static set strings(y){ye.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 Kl(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 Te=yield(yield fetch(yield wp(`${z}/${b}`))).arrayBuffer(),Fe=yield this.audioContext.decodeAudioData(Te);this.audioBuffers[y]=Fe}catch(ce){}})}static playSound(y){return Kl(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(Fl[z])if(Fl[z].startsWith("mf."))if(Fl[z].startsWith(`mf.${z}`))b.push(`Option \`${z}\` cannot be used as a constructor option. Use ${Fl[z]}`);else{const ce=Fl[z].match(/([a-zA-Z]+) =/);b.push(`Option \`${z}\` has been renamed \`${ce[1]}\``)}else b.push(`Option \`${z}\` cannot be used as a constructor option. Use ${Fl[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(Cu()&&(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=[Rl("core"),Rl("mathfield"),Rl("mathfield-element"),Rl("ui"),Rl("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>"+hl("core")+hl("mathfield")+hl("mathfield-element")+hl("ui")+hl("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(ce=>ce.nodeType===3?ce.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,ce;return(ce=(z=this._mathfield)==null?void 0:z.getPromptValue(y,b))!=null?ce:""}setPromptValue(y,b,z){var ce;(ce=this._mathfield)==null||ce.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 ce=(z=(b=Ac.computeEngine)==null?void 0:b.box(y).latex)!=null?z:null;ce!==null&&this._mathfield.setValue(ce),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?vc(this._mathfield.options,y):Vi.has(this)?ie({},vc(ie(ie({},Nf()),Rf(Vi.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?vc(this._mathfield.options,y):Vi.has(this)?vc(ie(ie({},Nf()),Rf(Vi.get(this).options)),y):null}reflectAttributes(){const y=Nf(),b=this._getOptions();Object.keys(Ac.optionsAttributes).forEach(z=>{const ce=vl(z);Ac.optionsAttributes[z]==="on/off"?y[ce]!==b[ce]?this.setAttribute(z,b[ce]?"on":"off"):this.removeAttribute(z):y[ce]!==b[ce]&&(Ac.optionsAttributes[z]==="boolean"?b[ce]?this.setAttribute(z,""):this.removeAttribute(z):(typeof b[ce]=="string"||typeof b[ce]=="number")&&this.setAttribute(z,b[ce].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(Vi.has(this)){const b=ie(ie({},Vi.get(this).options),y);Vi.set(this,oe(ie({},Vi.get(this)),{selection:{ranges:b.readOnly?[[0,0]]:[[0,-1]]},options:b}))}else Vi.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))Fl[b]&&console.warn(`\`mf.setOptions({${b}:...})\` -> ${Fl[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 ce,Te;if(this._mathfield)return this._mathfield.model.getValue(y,b,z);if(Vi.has(this)){let Fe,rt,ct;if(ru(y)?([Fe,rt]=y.ranges[0],ct=b):tu(y)?([Fe,rt]=y,ct=b):Ps(y)&&Ps(b)?(Fe=y,rt=b,ct=z):(Fe=0,rt=-1,ct=y),(ct===void 0||ct==="latex")&&Fe===0&&rt===-1)return(Te=(ce=Vi.get(this).value)!=null?ce:this.textContent)!=null?Te:""}return""}setValue(y,b){if(this._mathfield&&y!==void 0){b!=null||(b={silenceNotifications:!0,mode:"math"}),this._mathfield.setValue(y,b);return}if(Vi.has(this)){const ce=Vi.get(this).options;Vi.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:ce,menuItems:void 0});return}const z=Pd(this);Vi.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,ce;return(ce=(z=this._mathfield)==null?void 0:z.insert(y,b))!=null?ce:!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,ce;return(ce=(z=this._mathfield)==null?void 0:z.setCaretPoint(y,b))!=null?ce:!1}offsetFromPoint(y,b,z){return this._mathfield?kd(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=Ll(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,ce,Te;Fs.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"&&((ce=this._mathfield)==null||ce.focus()),y.type==="blur"&&((Te=this._mathfield)==null||Te.blur()))}connectedCallback(){var y,b,z,ce;const Te=window.getComputedStyle(this),Fe=this.shadowRoot,rt=Te.userSelect!=="none";if(rt)Fe.host.addEventListener("pointerdown",this,!0);else{const wt=Fe.querySelector("span");wt.style.pointerEvents="none"}Fe.host.addEventListener("focus",this,!0),Fe.host.addEventListener("blur",this,!0),Cu()||(this.hasAttribute("role")||this.setAttribute("role","math"),this.hasAttribute("aria-label")||this.setAttribute("aria-label","math input field"),this.setAttribute("aria-multiline","false")),rt&&!this.hasAttribute("contenteditable")&&this.setAttribute("contenteditable","true"),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0");const ct=Fe.querySelector("slot:not([name])");if(ct)try{this._style=ct.assignedElements().filter(wt=>wt.tagName.toLowerCase()==="style").map(wt=>wt.textContent).join("")}catch(wt){console.error(wt)}if(this._style){const wt=document.createElement("style");wt.textContent=this._style,Fe.appendChild(wt)}let mt="";if(this.hasAttribute("value")?mt=this.getAttribute("value"):mt=(y=ct==null?void 0:ct.assignedNodes().map(wt=>wt.nodeType===3?wt.textContent:"").join("").trim())!=null?y:"",this._mathfield=new hy(Fe.querySelector(":host > span"),oe(ie({},(z=(b=Vi.get(this))==null?void 0:b.options)!=null?z:Pd(this)),{eventSink:this,value:mt})),!Vi.has(this)){this.upgradeProperty("disabled"),this.upgradeProperty("readonly");for(const wt of Object.keys(Ac.optionsAttributes))this.upgradeProperty(vl(wt))}if(!((ce=this._mathfield)!=null&&ce.model)){this._mathfield=null;return}if(Vi.has(this)){const wt=this._mathfield,Rt=Vi.get(this),Gt=Rt.menuItems;wt.model.deferNotifications({content:!1,selection:!1},()=>{const nr=Rt.value;nr!==void 0&&wt.setValue(nr),wt.model.selection=Rt.selection,Vi.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=vc(this._mathfield.options,Object.keys(Ac.optionsAttributes).map(ce=>vl(ce)));Vi.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 ce=z!==null;switch(y){case"contenteditable":Ca(this._mathfield);break;case"disabled":this.disabled=ce;break;case"read-only":case"readonly":this.readOnly=ce;break;default:}}get readonly(){return this.hasAttribute("readonly")||this.hasAttribute("read-only")}set readonly(y){const b=!!y;b?(this.setAttribute("readonly",""),Cu()?this._internals.ariaReadOnly="true":this.setAttribute("aria-readonly","true"),this.setAttribute("aria-readonly","true")):(Cu()?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"),Cu()?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,ce){return typeof z!="string"?!1:(y._setOptions({registers:oe(ie({},y._getOption("registers")),{[z]:ce})}),!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(ce=>ce.menuItem))!=null?y:[]:(z=(b=Vi.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}Vi.has(this)?Vi.set(this,oe(ie({},Vi.get(this)),{menuItems:y})):Vi.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:Pd(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 ce;(ce=this._mathfield)==null||ce.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:Vi.has(this)?Vi.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,Ca(this._mathfield);return}if(Vi.has(this)){Vi.set(this,oe(ie({},Vi.get(this)),{selection:y}));return}Vi.set(this,{value:void 0,selection:y,options:Pd(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:Vi.has(this)?Vi.get(this).selection.ranges[0][0]:0}set position(y){if(this._mathfield&&(this._mathfield.model.position=y,Ca(this._mathfield)),Vi.has(this)){Vi.set(this,oe(ie({},Vi.get(this)),{selection:{ranges:[[y,y]]}}));return}Vi.set(this,{value:void 0,selection:{ranges:[[y,y]]},options:Pd(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}};oo.version="0.98.5",oo._fontsDirectory="./fonts",oo._soundsDirectory="./sounds",oo.keypressVibration=!0,oo._keypressSound={spacebar:"keypress-spacebar.wav",return:"keypress-return.wav",delete:"keypress-delete.wav",default:"keypress-standard.wav"},oo._plonkSound="plonk.wav",oo.audioBuffers={},oo.createHTML=a=>a,oo._speechEngineRate="100%",oo._speechEngineVoice="Joanna",oo._textToSpeechMarkup="",oo._textToSpeechRules="mathlive",oo._textToSpeechRulesOptions={},oo.speakHook=iy,oo.readAloudHook=py,oo._decimalSeparator=".",oo.fractionNavigationOrder="numerator-denominator",oo._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 Ld=oo;function vl(a){return a.replace(/[^a-zA-Z\d]+(.)/g,(y,b)=>b.toUpperCase())}function Pd(a){const y={readOnly:!1},b=Ld.optionsAttributes;return Object.keys(b).forEach(z=>{if(a.hasAttribute(z)){const ce=a.getAttribute(z);z==="placeholder"?y.contentPlaceholder=ce!=null?ce:"":b[z]==="boolean"?y[vl(z)]=!0:b[z]==="on/off"?ce==="on"?y[vl(z)]=!0:ce==="off"?y[vl(z)]=!1:y[vl(z)]=void 0:b[z]==="number"?y[vl(z)]=Number.parseFloat(ce!=null?ce:"0"):y[vl(z)]=ce}}),y}function Cu(){return!(!("ElementInternals"in window)||!HTMLElement.prototype.attachInternals||!("role"in window.ElementInternals.prototype))}var ym=Ld,bm,xm,wm,Sm;if(ue()&&!((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=Ld,(Sm=window.customElements)==null||Sm.define("math-field",Ld)}function gy(a,y,b){let z=b,ce=0;const Te=a.length;for(;z<y.length;){const Fe=y[z];if(ce<=0&&y.slice(z,z+Te)===a)return z;Fe==="\\"?z++:Fe==="{"?ce++:Fe==="}"&&ce--,z++}return-1}function qf(a,y,b,z,ce="latex"){const Te=[];for(const Fe of a)if(Fe.type==="text"){const rt=Fe.data;let ct=!0,mt=0,wt;wt=rt.indexOf(y),wt!==-1&&(mt=wt,mt>0&&Te.push({type:"text",data:rt.slice(0,mt)}),ct=!1);let Rt=!1;for(;!Rt;){if(ct){if(wt=rt.indexOf(y,mt),wt===-1){Rt=!0;break}mt!==wt&&Te.push({type:"text",data:rt.slice(mt,wt)}),mt=wt}else{if(wt=gy(b,rt,mt+y.length),wt===-1){Rt=!0;break}let Gt=rt.slice(mt+y.length,wt);ce==="ascii-math"&&([,Gt]=dc(Gt,{format:"ascii-math"})),Te.push({type:"math",data:Gt,rawData:rt.slice(mt,wt+b.length),mathstyle:z}),mt=wt+b.length}ct=!ct}mt<rt.length&&Te.push({type:"text",data:rt.slice(mt)})}else Te.push(Fe);return Te}function Cm(a,y,b){let z=[{type:"text",data:a}];return y!=null&&y.inline&&y.inline.forEach(([ce,Te])=>{z=qf(z,ce,Te,"textstyle")}),y!=null&&y.display&&y.display.forEach(([ce,Te])=>{z=qf(z,ce,Te,"displaystyle")}),b!=null&&b.inline&&b.inline.forEach(([ce,Te])=>{z=qf(z,ce,Te,"textstyle","ascii-math")}),b!=null&&b.display&&b.display.forEach(([ce,Te])=>{z=qf(z,ce,Te,"displaystyle","ascii-math")}),z}function vy(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 ce=y.renderToMarkup(a,{mathstyle:b,format:"html"}),Te=document.createElement("span");return Te.dataset.latex=a,Te.style.display=b==="displaystyle"?"flex":"inline-flex",Te.setAttribute("aria-hidden","true"),Te.setAttribute("translate","no"),Te.innerHTML=window.MathfieldElement.createHTML(ce),Te}catch(ce){if(console.error("Could not parse'"+a+"' with ",ce),z)return document.createTextNode(a)}return null}function Eu(a,y,b,z){var ce;const Te=yy(a,b,y||"textstyle",z),Fe=(ce=b.renderAccessibleContent)!=null?ce:"";if(Te&&/\b(mathml|speakable-text)\b/i.test(Fe)){const rt=document.createElement("span");if(/\bmathml\b/i.test(Fe)&&b.renderToMathML&&rt.append(vy(a,b)),/\bspeakable-text\b/i.test(Fe)&&b.renderToSpeakableText){const ct=document.createElement("span");ct.setAttribute("translate","no");const mt=b.renderToSpeakableText(a);ct.innerHTML=window.MathfieldElement.createHTML(mt),ct.className="ML__sr-only",rt.append(ct)}return rt.append(Te),rt}return Te}function by(a,y){var b,z,ce;let Te=null;if((b=y.TeX)!=null&&b.processEnvironments&&/^\s*\\begin/.test(a)){Te=document.createDocumentFragment();const Fe=Eu(a,"",y,!0);Fe&&Te.appendChild(Fe)}else{if(!a.trim())return null;const Fe=Cm(a,(z=y.TeX)==null?void 0:z.delimiters,(ce=y.asciiMath)==null?void 0:ce.delimiters);if(Fe.length===1&&Fe[0].type==="text")return null;Te=document.createDocumentFragment();for(const rt of Fe)if(rt.type==="text")Te.appendChild(document.createTextNode(rt.data));else{const ct=Eu(rt.data,rt.mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);ct&&Te.appendChild(ct)}}return Te}function Em(a,y){var b,z,ce,Te,Fe,rt,ct,mt,wt,Rt,Gt,nr,cr,Kr,Pn,zr;if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const ln=(b=a.childNodes[0].textContent)!=null?b:"";if((z=y.TeX)!=null&&z.processEnvironments&&/^\s*\\begin/.test(ln)){a.textContent="";const wn=Eu(ln,"",y,!0);wn&&a.append(wn);return}const jn=Cm(ln,(ce=y.TeX)==null?void 0:ce.delimiters,(Te=y.asciiMath)==null?void 0:Te.delimiters);if(jn.length===1&&jn[0].type==="math"){a.textContent="";const wn=Eu(jn[0].data,jn[0].mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);wn&&a.append(wn);return}if(jn.length===1&&jn[0].type==="text")return}for(let ln=a.childNodes.length-1;ln>=0;ln--){const jn=a.childNodes[ln];if(jn.nodeType===3){const wn=by((Fe=jn.textContent)!=null?Fe:"",y);wn&&(ln+=wn.childNodes.length-1,jn.replaceWith(wn))}else if(jn.nodeType===1){const wn=jn,oi=jn.nodeName.toLowerCase();if(oi==="script"){const hi=jn;let ui;if((rt=y.processScriptTypePattern)!=null&&rt.test(hi.type))ui=(ct=hi.textContent)!=null?ct:"";else if((mt=y.processMathJSONScriptTypePattern)!=null&&mt.test(hi.type))try{ui=(Rt=y.serializeToLatex)==null?void 0:Rt.call(y,JSON.parse((wt=hi.textContent)!=null?wt:""))}catch(Wi){console.error(Wi)}if(ui){let Wi="textstyle";for(const Wn of hi.type.split(";")){const[Go,Zs]=Wn.toLowerCase().split("=");Go.trim()==="mode"&&(Wi=Zs.trim()==="display"?"displaystyle":"textstyle")}const ta=Eu(ui,Wi,y,!0);ta&&hi.parentNode.replaceChild(ta,hi)}}else if(((nr=(Gt=y.processClassPattern)==null?void 0:Gt.test(wn.className))!=null?nr:!1)||!((Kr=(cr=y.skipTags)==null?void 0:cr.includes(oi))!=null&&Kr||(zr=(Pn=y.ignoreClassPattern)==null?void 0:Pn.test(wn.className))!=null&&zr))if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const ui=a.textContent;a.textContent="";const Wi=Eu(ui!=null?ui:"","displaystyle",y,!0);Wi&&a.append(Wi)}else Em(wn,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,ce,Te;try{const Fe=ie(ie({},xy),y);Fe.ignoreClassPattern=new RegExp((b=Fe.ignoreClass)!=null?b:""),Fe.processClassPattern=new RegExp((z=Fe.processClass)!=null?z:""),Fe.processScriptTypePattern=new RegExp((ce=Fe.processScriptType)!=null?ce:""),Fe.processMathJSONScriptTypePattern=new RegExp((Te=Fe.processMathJSONScriptType)!=null?Te:""),Of(),jo("core"),Em(a,Fe)}catch(Fe){Fe instanceof Error?console.error("renderMathInElement(): "+Fe.message):console.error("renderMathInElement(): Could not render math for element",a)}}function Sy(a,y){const b=_l.singleton;return b?(b.show(),Sd(),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}Fo({switchKeyboardLayer:Sy,toggleVirtualKeyboard:Cy,hideVirtualKeyboard:()=>(window.mathVirtualKeyboard.hide({animate:!0}),!1),showVirtualKeyboard:()=>(window.mathVirtualKeyboard.show({animate:!0}),!1)},{target:"virtual-keyboard"});function zl(){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 By(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,ce,Te;const Fe=Ey(a);if(!Fe)return;const rt=y!=null?y:{};(b=rt.renderToMarkup)!=null||(rt.renderToMarkup=eo),(z=rt.renderToMathML)!=null||(rt.renderToMathML=_v),(ce=rt.renderToSpeakableText)!=null||(rt.renderToSpeakableText=jv),(Te=rt.serializeToLatex)!=null||(rt.serializeToLatex=Fv),wy(Fe,rt)}var Ly={mathlive:"0.98.5"}},16722:function(sr,Wt,ke){"use strict";ke.d(Wt,{Z:function(){return ie}});const Re=oe=>typeof oe=="object"&&oe!=null&&oe.nodeType===1,vt=(oe,le)=>(!le||oe!=="hidden")&&oe!=="visible"&&oe!=="clip",x=(oe,le)=>{if(oe.clientHeight<oe.scrollHeight||oe.clientWidth<oe.scrollWidth){const me=getComputedStyle(oe,null);return vt(me.overflowY,le)||vt(me.overflowX,le)||(te=>{const ae=(ue=>{if(!ue.ownerDocument||!ue.ownerDocument.defaultView)return null;try{return ue.ownerDocument.defaultView.frameElement}catch(de){return null}})(te);return!!ae&&(ae.clientHeight<te.scrollHeight||ae.clientWidth<te.scrollWidth)})(oe)}return!1},De=(oe,le,me,te,ae,ue,de,he)=>ue<oe&&de>le||ue>oe&&de<le?0:ue<=oe&&he<=me||de>=le&&he>=me?ue-oe-te:de>le&&he<me||ue<oe&&he>me?de-le+ae:0,ve=oe=>{const le=oe.parentElement;return le==null?oe.getRootNode().host||null:le},re=(oe,le)=>{var me,te,ae,ue;if(typeof document=="undefined")return[];const{scrollMode:de,block:he,inline:we,boundary:Se,skipOverflowHiddenElements:xe}=le,ye=typeof Se=="function"?Se:at=>at!==Se;if(!Re(oe))throw new TypeError("Invalid target");const Ae=document.scrollingElement||document.documentElement,Le=[];let Ee=oe;for(;Re(Ee)&&ye(Ee);){if(Ee=ve(Ee),Ee===Ae){Le.push(Ee);break}Ee!=null&&Ee===document.body&&x(Ee)&&!x(document.documentElement)||Ee!=null&&x(Ee,xe)&&Le.push(Ee)}const _e=(te=(me=window.visualViewport)==null?void 0:me.width)!=null?te:innerWidth,Me=(ue=(ae=window.visualViewport)==null?void 0:ae.height)!=null?ue:innerHeight,{scrollX:Oe,scrollY:Ce}=window,{height:Ne,width:je,top:Ze,right:Pe,bottom:Ue,left:Qe}=oe.getBoundingClientRect(),{top:tt,right:ot,bottom:lt,left:Ve}=(at=>{const et=window.getComputedStyle(at);return{top:parseFloat(et.scrollMarginTop)||0,right:parseFloat(et.scrollMarginRight)||0,bottom:parseFloat(et.scrollMarginBottom)||0,left:parseFloat(et.scrollMarginLeft)||0}})(oe);let Ye=he==="start"||he==="nearest"?Ze-tt:he==="end"?Ue+lt:Ze+Ne/2-tt+lt,nt=we==="center"?Qe+je/2-Ve+ot:we==="end"?Pe+ot:Qe-Ve;const dt=[];for(let at=0;at<Le.length;at++){const et=Le[at],{height:qe,width:it,top:yt,right:ht,bottom:Bt,left:Et}=et.getBoundingClientRect();if(de==="if-needed"&&Ze>=0&&Qe>=0&&Ue<=Me&&Pe<=_e&&(et===Ae&&!x(et)||Ze>=yt&&Ue<=Bt&&Qe>=Et&&Pe<=ht))return dt;const st=getComputedStyle(et),Ge=parseInt(st.borderLeftWidth,10),We=parseInt(st.borderTopWidth,10),se=parseInt(st.borderRightWidth,10),fe=parseInt(st.borderBottomWidth,10);let ze=0,He=0;const pe="offsetWidth"in et?et.offsetWidth-et.clientWidth-Ge-se:0,Be="offsetHeight"in et?et.offsetHeight-et.clientHeight-We-fe:0,Ke="offsetWidth"in et?et.offsetWidth===0?0:it/et.offsetWidth:0,Xe="offsetHeight"in et?et.offsetHeight===0?0:qe/et.offsetHeight:0;if(Ae===et)ze=he==="start"?Ye:he==="end"?Ye-Me:he==="nearest"?De(Ce,Ce+Me,Me,We,fe,Ce+Ye,Ce+Ye+Ne,Ne):Ye-Me/2,He=we==="start"?nt:we==="center"?nt-_e/2:we==="end"?nt-_e:De(Oe,Oe+_e,_e,Ge,se,Oe+nt,Oe+nt+je,je),ze=Math.max(0,ze+Ce),He=Math.max(0,He+Oe);else{ze=he==="start"?Ye-yt-We:he==="end"?Ye-Bt+fe+Be:he==="nearest"?De(yt,Bt,qe,We,fe+Be,Ye,Ye+Ne,Ne):Ye-(yt+qe/2)+Be/2,He=we==="start"?nt-Et-Ge:we==="center"?nt-(Et+it/2)+pe/2:we==="end"?nt-ht+se+pe:De(Et,ht,it,Ge,se+pe,nt,nt+je,je);const{scrollLeft:Je,scrollTop:ut}=et;ze=Xe===0?0:Math.max(0,Math.min(ut+ze/Xe,et.scrollHeight-qe/Xe+Be)),He=Ke===0?0:Math.max(0,Math.min(Je+He/Ke,et.scrollWidth-it/Ke+pe)),Ye+=ut-ze,nt+=Je-He}dt.push({el:et,top:ze,left:He})}return dt},ne=oe=>oe===!1?{block:"end",inline:"nearest"}:(le=>le===Object(le)&&Object.keys(le).length!==0)(oe)?oe:{block:"start",inline:"nearest"};function ie(oe,le){if(!oe.isConnected||!(ae=>{let ue=ae;for(;ue&&ue.parentNode;){if(ue.parentNode===document)return!0;ue=ue.parentNode instanceof ShadowRoot?ue.parentNode.host:ue.parentNode}return!1})(oe))return;const me=(ae=>{const ue=window.getComputedStyle(ae);return{top:parseFloat(ue.scrollMarginTop)||0,right:parseFloat(ue.scrollMarginRight)||0,bottom:parseFloat(ue.scrollMarginBottom)||0,left:parseFloat(ue.scrollMarginLeft)||0}})(oe);if((ae=>typeof ae=="object"&&typeof ae.behavior=="function")(le))return le.behavior(re(oe,le));const te=typeof le=="boolean"||le==null?void 0:le.behavior;for(const{el:ae,top:ue,left:de}of re(oe,ne(le))){const he=ue-me.top+me.bottom,we=de-me.left+me.right;ae.scroll({top:he,left:we,behavior:te})}}}}]);
}());